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
|
455e0b2427
|
Merged.
|
4 years ago |
Thomas Klausner
|
5217af7cf6
|
Honor LDFLAGS when building executables.
|
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
|
7eac8beffe
|
Updated C and C++ makefiles to exclude warnings and sanitizers by default, instead recommending extra flags for manually doing a diagnostic/debug build.
|
5 years ago |
Project Nayuki
|
0ebd221a27
|
Updated C test suite for an internal function because the parameter is size_t and not int. (The function and test were introduced in commit 08108ee6d8ae.)
|
5 years ago |
Project Nayuki
|
1a254cf67f
|
Refactored C qrcodegen-test's testCalcSegmentBitLength() to add a test case struct.
|
5 years ago |
Project Nayuki
|
42f753cfcf
|
Fixed indentation in a line of C code.
|
5 years ago |
Project Nayuki
|
a492346364
|
Clarified C qrcodegen-worker so that two internal variables use size_t instead of int.
|
5 years ago |
Project Nayuki
|
ae0ff71ff1
|
Clarified C qrcodegen-test testAddEccAndInterleave() so that its internals use size_t instead of int.
|
5 years ago |
Project Nayuki
|
68d4cb5217
|
Clarified C qrcodegen-test addEccAndInterleaveReference() so that its internals use size_t instead of int.
|
5 years ago |
Project Nayuki
|
9312480978
|
In C version, added many explicit integer type casts for signedness, with the help of GCC's "-Wsign-conversion" and "-Wconversion".
|
5 years ago |
Project Nayuki
|
76127b8bfe
|
Renamed functions and variables, and updated comments, thus synchronizing the C language version with the previous changeset.
|
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
|
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 |