Project Nayuki
|
9312480978
|
In C version, added many explicit integer type casts for signedness, with the help of GCC's "-Wsign-conversion" and "-Wconversion".
|
2019-07-22 16:31:22 +00:00 |
Project Nayuki
|
76127b8bfe
|
Renamed functions and variables, and updated comments, thus synchronizing the C language version with the previous changeset.
|
2019-07-14 17:09:51 +00:00 |
Project Nayuki
|
c5ad557eea
|
Updated the finder pattern detector logic in the other 6 language versions to match Java code.
|
2019-07-06 03:30:51 +00:00 |
Project Nayuki
|
1ca214499b
|
Renamed a local variable in all language versions (although the Java version has different logic).
|
2019-07-06 01:43:20 +00:00 |
Project Nayuki
|
40d24f38aa
|
Fixed argument type of qrcodegen_encodeSegmentsAdvanced() mask in C code.
|
2019-02-14 01:53:57 +00:00 |
Project Nayuki
|
a072562461
|
Simplified an integer comparison in C code.
|
2019-02-14 01:47:14 +00:00 |
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.
|
2018-11-04 19:26:33 +00:00 |
Project Nayuki
|
76de28378e
|
Added a const to C code for safety.
|
2018-11-04 18:56:47 +00:00 |
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.
|
2018-10-26 06:53:12 +00:00 |
Project Nayuki
|
5ac0e2a938
|
Inverted some if-else statements in QrCode.getPenaltyScore() without changing behavior, in all languages.
|
2018-10-26 05:24:21 +00:00 |
Project Nayuki
|
111b20b2b9
|
Tweaked logic in QrCode.getPenaltyScore() for future expansion, without changing behavior, in all languages.
|
2018-10-26 05:21:34 +00:00 |
Project Nayuki
|
a14de3d959
|
Renamed colorX, colorY local variables in QrCode.getPenaltyScore() to just color, in all language versions.
|
2018-10-26 03:47:04 +00:00 |
Project Nayuki
|
f2ea49b7d4
|
Tweaked QrCode.drawFormatBits() to use end-exclusive range in second copy for clarity, in most languages.
|
2018-10-13 19:54:30 +00:00 |
Project Nayuki
|
7dbfabd388
|
Reordered functions and sections in C code for better flow for human readers, without changing functionality.
|
2018-10-08 18:01:14 +00:00 |
Project Nayuki
|
614169fc88
|
Fixed a comment in C code.
|
2018-10-08 03:02:56 +00:00 |
Project Nayuki
|
eebae19fb2
|
Reduced the use of the word "symbol" when referring to QR Codes, in all languages.
|
2018-10-05 20:30:26 +00:00 |
Project Nayuki
|
85eb6493fd
|
Updated and synchronized documentation comments for QrSegment's constants/functions involving character sets, in all languages.
|
2018-10-05 19:34:42 +00:00 |
Project Nayuki
|
29479efedf
|
Updated class BitBuffer's documentation comments, in all languages.
|
2018-10-05 17:35:18 +00:00 |
Project Nayuki
|
4ee7f6df96
|
Updated documentation comments for two QrSegment.Mode members, in all language versions.
|
2018-10-04 22:16:25 +00:00 |
Project Nayuki
|
af6a247121
|
Tweaked logic in QrSegment.makeEci() to reduce redundancy, in all languages except Rust.
|
2018-10-04 19:26:21 +00:00 |
Project Nayuki
|
dce44caf8f
|
Tweaked BitBuffer.appendBits() comment in several language versions.
|
2018-10-02 08:55:34 +00:00 |
Project Nayuki
|
aa264f5a4d
|
Simplified the arithmetic of an internal C function.
|
2018-09-18 08:58:30 +00:00 |
Project Nayuki
|
6903d28c90
|
Swapped {dy,dx} variables in commutative operations for clarity, in all languages.
|
2018-09-17 03:51:57 +00:00 |
Project Nayuki
|
87868d7920
|
Renamed loop variables in QrCode.{drawFinderPattern(),drawAlignmentPattern()} for clarity, in all languages (but somewhat differently in C).
|
2018-09-17 03:47:58 +00:00 |
Project Nayuki
|
440efef8bf
|
Tweaked C code to avoid unnecessary array initialization.
|
2018-09-17 03:40:08 +00:00 |
Project Nayuki
|
0920922a32
|
Tweaked qrcodegen.c to not be compilable in C++ mode (undoing commit 88cc1c05fd ).
|
2018-09-17 03:39:40 +00:00 |
Project Nayuki
|
30aed54c47
|
Simplified C code to directly assign useful values to the segment mode enum.
|
2018-09-17 03:31:00 +00:00 |
Project Nayuki
|
957219dc91
|
Reformatted some whitespace for alignment in all language versions.
|
2018-08-31 17:57:57 +00:00 |
Project Nayuki
|
e7854eb797
|
Reformatted some whitespace for alignment in all language versions.
|
2018-08-31 17:23:16 +00:00 |
Project Nayuki
|
3ead3dbb84
|
Updated up to 8 comments in all language versions, but somewhat differently in each language.
|
2018-08-28 21:08:00 +00:00 |
Project Nayuki
|
362d552c92
|
Simplified QrSegment.Mode.numCharCountBits() in all language versions.
|
2018-08-28 20:11:05 +00:00 |
Project Nayuki
|
16b59e207d
|
Deleted unnecessary version range check in two private functions, in all language versions except Rust.
|
2018-08-28 19:45:09 +00:00 |
Project Nayuki
|
9c670453a8
|
Tweaked small pieces of code.
|
2018-08-28 19:32:44 +00:00 |
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.
|
2018-08-28 19:10:47 +00:00 |
Project Nayuki
|
4c882636bb
|
Updated comments for QrSegment.getTotalBits() in all language versions, but somewhat differently per language.
|
2018-08-28 16:36:07 +00:00 |
Project Nayuki
|
0bf2d3306b
|
Simplified some code.
|
2018-08-28 07:18:56 +00:00 |
Project Nayuki
|
669585590b
|
Added an assertion to QrCode.encodeSegmentsAdvanced() in all language versions.
|
2018-08-28 06:22:22 +00:00 |
Project Nayuki
|
87cab22ffc
|
Revamped addEccAndInterleave() in C code for simplicity and robustness.
|
2018-08-28 05:31:35 +00:00 |
Project Nayuki
|
2c055c2e67
|
Renamed some related variables in C code to match other language versions.
|
2018-08-28 05:30:18 +00:00 |
Project Nayuki
|
08f7bba796
|
Simplified C code to eliminate a loop variable.
|
2018-08-28 05:08:27 +00:00 |
Project Nayuki
|
de2603ab5f
|
Simplified some C code for overflow-safe calculation.
|
2018-08-28 05:08:03 +00:00 |
Project Nayuki
|
f1a1ab189b
|
Clarified and simplified some pieces of C code.
|
2018-08-28 04:58:20 +00:00 |
Project Nayuki
|
536a881416
|
Reformatted small pieces of C code.
|
2018-08-28 04:57:03 +00:00 |
Project Nayuki
|
e2789cd5c4
|
Updated and added comments in C code.
|
2018-08-28 04:55:34 +00:00 |
Project Nayuki
|
d3fbf3173b
|
Tweaked C code to change dummy value initializations to early exits (return statements).
|
2018-08-28 04:42:24 +00:00 |
Project Nayuki
|
45c4ac7f2e
|
Added new private constant to C code.
|
2018-08-28 04:41:21 +00:00 |
Project Nayuki
|
e7d2449957
|
Deleted comment and calculated the constant in QrCode.getNumRawDataModules() in all language versions except Java, because only the Java code explains the calculation in detail.
|
2018-08-28 03:53:17 +00:00 |
Project Nayuki
|
98d1f0cc91
|
Reformatted a comment in all language versions (related to commit 5073db4487 ).
|
2018-08-26 03:55:03 +00:00 |
Project Nayuki
|
5073db4487
|
Somewhat simplified black/white balance penalty calculation in all language versions.
|
2018-08-26 03:20:12 +00:00 |
Project Nayuki
|
c86dacacb7
|
Tweaked code and comment in QrCode.encodeSegments() in all language versions.
|
2018-08-26 02:03:27 +00:00 |