Project Nayuki
|
40d24f38aa
|
Fixed argument type of qrcodegen_encodeSegmentsAdvanced() mask in C code.
|
6 years ago |
Project Nayuki
|
a072562461
|
Simplified an integer comparison in C code.
|
6 years ago |
Project Nayuki
|
3a28ba7dfd
|
Added missing null check in C code after malloc.
|
6 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
|
76de28378e
|
Added a const to C code for safety.
|
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
|
f2ea49b7d4
|
Tweaked QrCode.drawFormatBits() to use end-exclusive range in second copy for clarity, in most languages.
|
6 years ago |
Project Nayuki
|
7dbfabd388
|
Reordered functions and sections in C code for better flow for human readers, without changing functionality.
|
6 years ago |
Project Nayuki
|
614169fc88
|
Fixed a comment in C code.
|
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
|
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 |
Project Nayuki
|
7d49af97e1
|
Updated documentation comments for three QrSegment members, in all language versions.
|
6 years ago |
Project Nayuki
|
4ee7f6df96
|
Updated documentation comments for two QrSegment.Mode members, in all language versions.
|
6 years ago |
Project Nayuki
|
af6a247121
|
Tweaked logic in QrSegment.makeEci() to reduce redundancy, in all languages except Rust.
|
6 years ago |
Project Nayuki
|
0cded0ba36
|
Aligned main comments in demo programs.
|
6 years ago |
Project Nayuki
|
dd47ef10c7
|
Split long text constants in demo programs.
|
6 years ago |
Project Nayuki
|
dce44caf8f
|
Tweaked BitBuffer.appendBits() comment in several language versions.
|
6 years ago |
Project Nayuki
|
aa264f5a4d
|
Simplified the arithmetic of an internal C function.
|
6 years ago |
Project Nayuki
|
a19c7aa21b
|
Reformatted a bit of whitespace in C code, to match other languages (commit 5a5626edb2 ).
|
6 years ago |
Project Nayuki
|
6903d28c90
|
Swapped {dy,dx} variables in commutative operations for clarity, in all languages.
|
6 years ago |
Project Nayuki
|
87868d7920
|
Renamed loop variables in QrCode.{drawFinderPattern(),drawAlignmentPattern()} for clarity, in all languages (but somewhat differently in C).
|
6 years ago |
Project Nayuki
|
440efef8bf
|
Tweaked C code to avoid unnecessary array initialization.
|
6 years ago |
Project Nayuki
|
0920922a32
|
Tweaked qrcodegen.c to not be compilable in C++ mode (undoing commit 88cc1c05fd ).
|
6 years ago |
Project Nayuki
|
30aed54c47
|
Simplified C code to directly assign useful values to the segment mode enum.
|
6 years ago |
Project Nayuki
|
be143456be
|
Revamped C and C++ makefiles by copying structure from another library of mine, removed shared library output from C library (from commit a3dcc36dd4 ) due to problematic linkage in some enviroments.
|
6 years ago |
Project Nayuki
|
070daf8c9e
|
Tweaked C header file to be friendly to C++.
|
6 years ago |
Project Nayuki
|
67bb2b4267
|
Removed C macros for MALLOC() to not support compiling code verbatim in C++ mode (undoing commit eb536b43c5 ).
|
6 years ago |
Project Nayuki
|
957219dc91
|
Reformatted some whitespace for alignment in all language versions.
|
6 years ago |
Project Nayuki
|
e7854eb797
|
Reformatted some whitespace for alignment in all language versions.
|
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
|
362d552c92
|
Simplified QrSegment.Mode.numCharCountBits() in all language versions.
|
6 years ago |
Project Nayuki
|
16b59e207d
|
Deleted unnecessary version range check in two private functions, in all language versions except Rust.
|
6 years ago |
Project Nayuki
|
9c670453a8
|
Tweaked small pieces of code.
|
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
|
4c882636bb
|
Updated comments for QrSegment.getTotalBits() in all language versions, but somewhat differently per language.
|
6 years ago |
Project Nayuki
|
0bf2d3306b
|
Simplified some code.
|
6 years ago |
Project Nayuki
|
669585590b
|
Added an assertion to QrCode.encodeSegmentsAdvanced() in all language versions.
|
6 years ago |
Project Nayuki
|
87cab22ffc
|
Revamped addEccAndInterleave() in C code for simplicity and robustness.
|
6 years ago |
Project Nayuki
|
2c055c2e67
|
Renamed some related variables in C code to match other language versions.
|
6 years ago |