Project Nayuki
|
6fb34fddc1
|
Slightly improved the visual appearance of web pages for TypeScript/JavaScript demos, also tweaked a bit of HTML code.
|
3 years ago |
Project Nayuki
|
f29c84a2e7
|
Added custom colors support to the TypeScript input demo web page and program.
|
3 years ago |
Project Nayuki
|
201993945d
|
In Java and TypeScript versions, added parameters for custom module colors when rendering to SVG.
|
3 years ago |
Project Nayuki
|
d8f0074fab
|
In TypeScript version, added parameters for custom module colors when rendering to canvas, changed some demo code to use non-black/white colors.
|
3 years ago |
Project Nayuki
|
bfd18b2fb8
|
In Java version, added parameters for custom module colors when rendering to BufferedImage, changed some demo code to use non-black/white colors.
|
3 years ago |
Project Nayuki
|
87db45ef9c
|
Tweaked TypeScript code to correspond with other implementations for ease of auditing, without changing behavior.
|
3 years ago |
Project Nayuki
|
764749bd8a
|
Added spaces around multiplication operators in QrCode.getAlignmentPatternPositions() for all language versions, for consistency with other code.
|
3 years ago |
Project Nayuki
|
42bc11c763
|
Updated C API comments to match the existing code logic requiring non-overlapping array buffers.
|
3 years ago |
Project Nayuki
|
2261248957
|
Removed the test worker program in every language and the Python batch tester, because this is not core functionality and is hard to explain.
|
3 years ago |
Project Nayuki
|
d4080974f2
|
Renamed the C++ library source files to qrcodegen, because there's no longer a file per class, related to commit 096c70cd4d .
|
3 years ago |
Project Nayuki
|
89895daf1d
|
Changed Java classpath in Python batch tester to match Maven's convention.
|
3 years ago |
Project Nayuki
|
cd037d9149
|
In C++ version: moved QrCode.toSvgString() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
|
3 years ago |
Project Nayuki
|
5bc7bce3c3
|
In Rust version: moved QrCode.to_svg_string() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
|
3 years ago |
Project Nayuki
|
3dcac1db78
|
In Python version: moved QrCode.to_svg_string() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
|
3 years ago |
Project Nayuki
|
3531fda14f
|
In TypeScript version: moved QrCode.toSvgString() out of the library and into a demo program, slightly adapted some code, updated documentation comments.
|
3 years ago |
Project Nayuki
|
1cc4617d57
|
In TypeScript version: moved QrCode.drawCanvas() out of the library and into demo programs, slightly adapted some code, updated documentation comments.
|
3 years ago |
Project Nayuki
|
6cd17bb9fb
|
In Java version: moved QrCode.toSvgString() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
|
3 years ago |
Project Nayuki
|
010410be02
|
In Java version: moved QrCode.toImage() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
|
3 years ago |
Project Nayuki
|
1fd0216dfe
|
Changed the word "black" to "dark" in {comments, local variables,} in order to match the vocabulary in the QR Code specification document.
|
3 years ago |
Project Nayuki
|
99e7d59383
|
Changed the word "white" to "light" in {comments, local variables, a private C function} in order to match the vocabulary in the QR Code specification document.
|
3 years ago |
Project Nayuki
|
0532c7a237
|
Merged.
|
3 years ago |
Project Nayuki
|
2aed7af53e
|
Updated field and method in C++ code in order to store `Mode` objects by pointer instead of value.
|
3 years ago |
Project Nayuki
|
2c76b0a170
|
Updated copyright year in readme document.
|
3 years ago |
Project Nayuki
|
aa32fe1235
|
Added more type annotations to Python tester programs.
|
3 years ago |
Project Nayuki
|
27dd722961
|
Parenthesized most clauses of `and`/`or` expressions in Python code for clarity.
|
3 years ago |
Project Nayuki
|
1ca1d43f1c
|
Deleted Python module summary comment because static type hints make it redundant.
|
3 years ago |
Project Nayuki
|
0ff7b57a81
|
Added type annotations to nearly all local variables in Python library code.
|
3 years ago |
Project Nayuki
|
3c3aec6b9c
|
Relaxed some Python function parameters from List[int] to Sequence[int].
|
3 years ago |
Project Nayuki
|
83300fd619
|
Updated private Python functions to operate on bytes instead of lists of integers, thus conveying the constrained value range more clearly.
|
3 years ago |
Project Nayuki
|
e5d21aee09
|
Updated Python code so that public functions accept bytes or sequences of integers, removed some run-time type checks.
|
3 years ago |
Project Nayuki
|
d11eb098cb
|
Added more type annotations to class-level members in Python library code, continuing the work of commit 55dd3c881e .
|
3 years ago |
Project Nayuki
|
772a311c56
|
Tweaked a bit of C++ code to use strict bounds checking for consistency.
|
3 years ago |
Project Nayuki
|
68b2b7782b
|
Simplified Java and C++ code to remove unnecessary `this`, also improving consistency with other field assignments, enabled by a local variable renaming in commit 67c62461d3 .
|
3 years ago |
Project Nayuki
|
a999dca15f
|
Simplified an expression because C++11 natively supports for-each over a braced list, without needing to construct a typed object.
|
3 years ago |
Project Nayuki
|
8518684c0f
|
Moved comments in Python code from field assignments to field declarations.
|
4 years ago |
Project Nayuki
|
a807ee27db
|
Added type annotations to instance fields in Python code.
|
4 years ago |
Project Nayuki
|
f9d1172e29
|
Fixed the names of some methods in comments.
|
4 years ago |
Project Nayuki
|
8cbd1f506a
|
Changed Rust API to move the version min/max values into associated constants for its type.
|
4 years ago |
Project Nayuki
|
bafd258293
|
Clarified a few pieces of Rust code.
|
4 years ago |
Project Nayuki
|
d00cbd3585
|
Added static types to some variables in Rust code.
|
4 years ago |
Project Nayuki
|
43020cbd67
|
Fixed Rust code to avoid arithmetic overflow when a segment's bit length is very near usize::MAX.
|
4 years ago |
Project Nayuki
|
705ce44efd
|
Fixed arithmetic overflow in Rust code on platforms where usize is 16 bits wide.
|
4 years ago |
Project Nayuki
|
98963e5cba
|
Tweaked Rust code to narrow the bit width of QrCodeEcc.format_bits().
|
4 years ago |
Project Nayuki
|
455e0b2427
|
Merged.
|
4 years ago |
Neil Haran
|
0df0908723
|
In C++ version, use const-reference in QrSegment ctor rather than deep copy.
|
4 years ago |
Project Nayuki
|
08ac806145
|
Updated Python setup files due to commit f93ce5217e .
|
5 years ago |
Project Nayuki
|
c3a72b7333
|
Fixed handling of type annotations in Python code (due to commit 55dd3c881e ).
|
5 years ago |
Project Nayuki
|
6951a7e49e
|
Fixed regex usage in Python code (due to commit 9ed47110a5 ).
|
5 years ago |
Project Nayuki
|
9ed47110a5
|
Simplified regular expressions for Python 3.
|
5 years ago |
Project Nayuki
|
55dd3c881e
|
Added type annotations to all Python functions and methods, and almost all global variables.
|
5 years ago |