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
|
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
|
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
|
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
|
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 |
Project Nayuki
|
49f9ea0890
|
Tweaked Python code to allow static type checking, without changing behavior.
|
5 years ago |
Project Nayuki
|
f93ce5217e
|
Simplified code by removing support for Python 2, leaving only support for Python 3.
|
5 years ago |
Project Nayuki
|
13a25580a3
|
Simplified QrCode.getPenalty() in all language versions except Rust, related to commit 1439e8e4a5 .
|
5 years ago |
Project Nayuki
|
6e088f72d3
|
Added an assertion to QrCode.getNumRawDataModules() in all language versions.
|
5 years ago |
Project Nayuki
|
b7c9ccfff9
|
Simplified and clarified a few bits of code, without changing behavior.
|
5 years ago |
Project Nayuki
|
ee5e4ca121
|
Tweaked a few comments.
|
5 years ago |
Project Nayuki
|
b6aa563812
|
Tweaked a comment in QrCode.reedSolomonComputeDivisor() in 4 language versions.
|
5 years ago |
Project Nayuki
|
b5aaadf758
|
Demoted ReedSolomonGenerator from a class to a set of functions, and changed some names and comments, in all languages except C. This reduces code verbosity but doesn't change public APIs or visible behavior. The code organization is similar to the finder-like-pattern-detector feature.
|
5 years ago |
Project Nayuki
|
c5ad557eea
|
Updated the finder pattern detector logic in the other 6 language versions to match Java code.
|
5 years ago |
Project Nayuki
|
1ca214499b
|
Renamed a local variable in all language versions (although the Java version has different logic).
|
5 years ago |
Project Nayuki
|
fd083f70e8
|
Reordered calls to applyMask()/drawFormatBits() for conceptual clarity, without changing output (because masks don't affect format bits), in all language versions.
|
6 years ago |
Project Nayuki
|
08886d2a3e
|
Simplified a bit of code in JavaScript, TypeScript, Python.
|
6 years ago |
Project Nayuki
|
af872343c0
|
Completely rewrote the algorithm for detecting finder-like patterns, making it more accurate and compliant with the QR Code specification, in all languages.
|
6 years ago |
Project Nayuki
|
5ac0e2a938
|
Inverted some if-else statements in QrCode.getPenaltyScore() without changing behavior, in all languages.
|
6 years ago |
Project Nayuki
|
111b20b2b9
|
Tweaked logic in QrCode.getPenaltyScore() for future expansion, without changing behavior, in all languages.
|
6 years ago |
Project Nayuki
|
a14de3d959
|
Renamed colorX, colorY local variables in QrCode.getPenaltyScore() to just color, in all language versions.
|
6 years ago |
Project Nayuki
|
8da8107cc2
|
Updated QrCode.encodeSegments() to throw DataTooLongException - in Java, C++, Python, Rust code. Rust code also changes return types from Option to Result. Updated Java and Rust documentation.
|
6 years ago |
Project Nayuki
|
4635e8a8a8
|
Added new unused "data too long" exception/error class to Java, C++, Python, Rust code.
|
6 years ago |
Project Nayuki
|
950955a4c5
|
Renamed QrSegment.getBits() to getData() in {Java, JavaScript, TypeScript, Python} code, to match C++ and Rust.
|
6 years ago |
Project Nayuki
|
c7bc281e18
|
Inlined BitBuffer.getBytes() into its single usage (with simplification because the bit length is a multiple of 8) in most language versions, synchronized comment and variable name in Rust version.
|
6 years ago |
Project Nayuki
|
8c262c00dd
|
Added and synchronized documentation comments for QrCode's scalar field accessor methods in C++ and Python with existing comments in Rust.
|
6 years ago |
Project Nayuki
|
f4b16f25b0
|
Updated documentation comment for field QrCode.modules, in most languages.
|
6 years ago |
Project Nayuki
|
f011e52770
|
Updated and synchronized documentation comments for QrCode's instance methods, in all languages.
|
6 years ago |
Project Nayuki
|
76f97dd0b8
|
Updated and synchronized documentation comments for QrCode class's constructor and static factory functions, in all languages.
|
6 years ago |
Project Nayuki
|
95e5f14c36
|
Updated and synchronized QrCode class's top-level documentation comment, in all languages.
|
6 years ago |
Project Nayuki
|
a5b6c28a1f
|
Updated and synchronized documentation comments for QrCode class's fields and constants, in all languages.
|
6 years ago |
Project Nayuki
|
eebae19fb2
|
Reduced the use of the word "symbol" when referring to QR Codes, in all languages.
|
6 years ago |
Project Nayuki
|
79796901ea
|
Updated and synchronized documentation comments for QrSegment class's {top-level, constructor, makeBytes()}, in all languages.
|
6 years ago |
Project Nayuki
|
85eb6493fd
|
Updated and synchronized documentation comments for QrSegment's constants/functions involving character sets, in all languages.
|
6 years ago |
Project Nayuki
|
aa39108f0d
|
Added/updated/synchronized documentation comments for QrSegment's accessor methods, in all languages except C.
|
6 years ago |
Project Nayuki
|
139e67eee2
|
Updated and synchronized documentation comments for QrSegment's fields, in all languages.
|
6 years ago |
Project Nayuki
|
179f7be089
|
Updated and synchronized QrCode.Ecc and QrSegment.Mode enums' documentation comments, in all languages.
|
6 years ago |
Project Nayuki
|
29479efedf
|
Updated class BitBuffer's documentation comments, in all languages.
|
6 years ago |