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
2aed7af53e
Updated field and method in C++ code in order to store `Mode` objects by pointer instead of value.
3 years ago
Neil Haran
0df0908723
In C++ version, use const-reference in QrSegment ctor rather than deep copy.
4 years ago
Project Nayuki
13a25580a3
Simplified QrCode.getPenalty() in all language versions except Rust, related to commit 1439e8e4a5
.
5 years ago
Project Nayuki
096c70cd4d
Reorganized C++ library code into one implementation source file and one header file (instead of 3+3), changing some spacing and ordering, without changing functionality.
5 years ago
Project Nayuki
67c62461d3
Renamed some method parameters to completely avoid variable shadowing, in C++ and Java 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
ec729bf269
Moved an #include in C++ code for correctness.
6 years ago
Project Nayuki
2359d68243
Tweaked C++ code to inline handleConstructorMasking() because the mask field is private instead of public const.
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
4635e8a8a8
Added new unused "data too long" exception/error class to Java, C++, Python, Rust code.
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
179f7be089
Updated and synchronized QrCode.Ecc and QrSegment.Mode enums' documentation comments, in all languages.
6 years ago
Project Nayuki
b89bb889a5
Tweaked C++ and Rust code to not use character entities (left over from copying Javadoc).
6 years ago
Project Nayuki
eab76f20d6
Updated class QrCode's field comments, in most languages.
6 years ago
Project Nayuki
028b377472
Updated a section comment in class QrCode, in most languages.
6 years ago
Project Nayuki
49e0902d9f
Updated, added, synchronized section comments to show abstraction level in classes QrCode and QrSegment, in all languages except C.
6 years ago
Project Nayuki
859438d183
Moved QrCode class's max/min version constants, tweaked associated comments and blank lines, in all languages except C.
6 years ago
Project Nayuki
667c744d8b
Updated and synchronized the QrCode class top-level documentation comment, in all languages except C.
6 years ago
Project Nayuki
3ead3dbb84
Updated up to 8 comments in all language versions, but somewhat differently in each language.
6 years ago
Project Nayuki
b9f69cf7bd
Updated documentation comment in 4 languages to change word "specified" to "given", related to commit d8b66fcbf1
.
6 years ago
Project Nayuki
4ede209d9a
Changed QrCode.getAlignmentPatternPositions() from static function to instance method, tweaked its logic, and updated comment - in all languages but differently in each.
6 years ago
Project Nayuki
0ee6c41c9c
Renamed QrCode.appendErrorCorrection() to addEccAndInterleave() in all language versions.
6 years ago
Project Nayuki
62930ef455
Updated and added 5 comments in all language versions except C.
6 years ago
Project Nayuki
d1f53e6e7d
Added and updated 4 comments in all language versions.
6 years ago
Project Nayuki
80797f449e
Tweaked pluralization in section comments, in multiple languages.
7 years ago
Project Nayuki
693304b8c3
Updated all language versions to add getBit() helper function and refactor existing arithmetic code to use it.
7 years ago
Project Nayuki
18f9b7c6ce
Tweaked C++ code for style and robustness.
7 years ago
Project Nayuki
3208954e81
Changed and simplified C++ code by converting Ecc from class to enum, updated related code.
7 years ago
Project Nayuki
5a5626edb2
Added integer constants for QR Code min/max version numbers, made use of new constants in library and example applications, in all language versions except C.
7 years ago
Project Nayuki
b86466ecd5
- Deleted constructors/functions/code for remasking existing QrCode object (due to doubtful real-world usefulness): C++, Java, JavaScript, Python, Rust.
...
- Tweaked code and comments due to feature removal: JavaScript, Python.
- Updated demo programs to reflect new API usage and add new example: C, C++, Java, Python, Rust.
7 years ago
Project Nayuki
8bbfa3938b
Tweaked usages of C++ QrCode::Ecc class to be passed by value instead of const reference.
7 years ago
Project Nayuki
a138e6fbc3
Changed C++ QrCode class to eliminate const from fields, updated related code.
7 years ago
Project Nayuki
71a69dd3d9
Changed C++ QrCode::Ecc class to eliminate const from fields, updated related code.
7 years ago
Project Nayuki
9c1a25aba4
Changed QrCode.getModule() in {Java, JavaScript, Python, C++} language versions to return Boolean instead of 0/1 - to match {C, Rust} language versions - and updated comments and usages.
7 years ago
Project Nayuki
1d5ceab068
Split long lines in a comment in {Java, JavaScript, C++, Python, Rust} language versions, without changing wording.
7 years ago
Project Nayuki
2fd05cc7ef
Split long lines in 2 comments in {Java, JavaScript, Python, C++} language versions, without changing wording.
7 years ago
Project Nayuki
d8b66fcbf1
Updated 2 API documentation comments in {Java, JavaScript, Python, C++} language versions, though not identically.
7 years ago
Project Nayuki
9f2c8d9e96
Simplified and tweaked various small pieces of C++ code.
7 years ago
Project Nayuki
2794dbc179
Added private helper function to C++ code to abstract how modules are stored.
7 years ago
Project Nayuki
652ee37f59
Updated comment for QrCode.getNumRawDataModules() in all language versions.
8 years ago
Project Nayuki
84dd6f4e07
Updated comment for multiply()/finiteFieldMultiply() in C++ and C code.
8 years ago