Project Nayuki
|
08108ee6d8
|
Added C functions to calculate segment buffer size and bit length, added test cases.
|
2017-09-08 05:57:10 +00:00 |
|
Project Nayuki
|
272ca8bb54
|
Split long lines in various {Java, JavaScript, Python, C++, C, Rust} code, without changing behavior.
|
2017-08-31 20:19:41 +00:00 |
|
Project Nayuki
|
7e512971df
|
Fixed some arithmetic checks in Java and C code.
|
2017-08-18 03:31:35 +00:00 |
|
Project Nayuki
|
16f504be67
|
Inlined the 'size' variable in getAlignmentPatternPositions() in 3 language versions.
|
2017-08-18 00:44:24 +00:00 |
|
Project Nayuki
|
49f6538682
|
Updated a comment in getAlignmentPatternPositions() in most language versions (except JavaScript).
|
2017-08-18 00:39:30 +00:00 |
|
Project Nayuki
|
88cc1c05fd
|
Fully fixed C library code to be compilable in C++ mode (polyglot).
|
2017-07-04 06:18:14 +00:00 |
|
Project Nayuki
|
ce58036cb2
|
Tweaked C library code to not use gotos, to make it more friendly to compile in C++ mode.
|
2017-07-04 06:18:00 +00:00 |
|
Project Nayuki
|
047f85d164
|
Tweaked C code to be more correct regarding #include <stddef.h> for size_t.
|
2017-07-04 05:27:18 +00:00 |
|
Project Nayuki
|
0482a1ec5b
|
Simplified a small bit of variables and logic of QrCode.getPenaltyScore() in all language versions, but in a subtly different way per language.
|
2017-05-08 07:30:53 +00:00 |
|
Project Nayuki
|
50c1a6b8af
|
Simplified a few lines of code in constructor of ReedSolomonGenerator in all language versions.
|
2017-05-08 05:21:05 +00:00 |
|
Project Nayuki
|
a712ccc230
|
Added test cases for C function appendErrorCorrection().
|
2017-05-06 16:54:44 +00:00 |
|
Project Nayuki
|
d11707d06a
|
Added test cases for C function appendBitsToBuffer().
|
2017-05-06 13:37:15 +00:00 |
|
Project Nayuki
|
652ee37f59
|
Updated comment for QrCode.getNumRawDataModules() in all language versions.
|
2017-05-06 11:51:21 +00:00 |
|
Project Nayuki
|
84dd6f4e07
|
Updated comment for multiply()/finiteFieldMultiply() in C++ and C code.
|
2017-05-06 11:50:31 +00:00 |
|
Project Nayuki
|
1a2b0065fe
|
Updated comments in C code.
|
2017-05-06 11:43:14 +00:00 |
|
Project Nayuki
|
0b4dba367a
|
Added line breaks to some long C function prototypes (matching line breaks in the definitions).
|
2017-05-06 11:36:38 +00:00 |
|
Project Nayuki
|
c99bb61f41
|
Added local variables to a C function to shorten code width.
|
2017-05-06 11:35:44 +00:00 |
|
Project Nayuki
|
73b05e36fb
|
Added null checks to all public C functions.
|
2017-05-06 11:34:41 +00:00 |
|
Project Nayuki
|
fffe81aeb1
|
Added C test case for getModule(), setModule(), etc.
|
2017-04-26 16:58:15 +00:00 |
|
Project Nayuki
|
0bd7684198
|
Added C test case for initializeFunctionModules().
|
2017-04-26 16:44:41 +00:00 |
|
Project Nayuki
|
546029090c
|
Changed C API functions qrcodegen_encodeText() and qrcodegen_encodeBinary() to return boolean status instead of integer version number, updated runnable programs to work with modified API.
|
2017-04-25 06:15:11 +00:00 |
|
Project Nayuki
|
767084b80d
|
Refactored 4 private C functions to move qrsize variable from parameter to local variable, updated callers, without changing behavior.
|
2017-04-25 06:06:43 +00:00 |
|
Project Nayuki
|
454534ee33
|
Changed C API function qrcodegen_getSize() to receive array instead of int, updated runnable programs, deleted test cases for this function.
|
2017-04-25 06:00:39 +00:00 |
|
Project Nayuki
|
df1c49cc39
|
Changed C API function qrcodegen_getModule() to remove version argument, updated runnable programs.
|
2017-04-25 05:46:01 +00:00 |
|
Project Nayuki
|
12bd5401ab
|
Refactored private C function getModule() to read size from QR Code array and remove parameter.
|
2017-04-25 05:41:26 +00:00 |
|
Project Nayuki
|
2b4bd9ee24
|
Refactored private C function fillRectangle() to remove unused size parameter.
|
2017-04-25 05:38:33 +00:00 |
|
Project Nayuki
|
e19c42014b
|
Refactored private C functions setModule() and setModuleBounded() to read size from QR Code array and remove parameter.
|
2017-04-25 05:37:20 +00:00 |
|
Project Nayuki
|
339efc46b8
|
Changed C code to prepend a size info byte to beginning of QR Code arrays. This has no visible behavioral change when using qrcodegen APIs, but the array data will be different and all buffers need one extra byte. Old code using the API needs to be recompiled because the buffer length calculation macros changed.
|
2017-04-25 05:31:15 +00:00 |
|
Project Nayuki
|
b0123fee3d
|
Reduced lines in copyright notice of each source file (related to commit 4bba4c03edce).
|
2017-04-24 20:41:54 +00:00 |
|
Project Nayuki
|
cfb4caa377
|
Updated encodeText() C code to generate zero segments when given zero-length string, to synchronize the output behavior with all other language implementations of encodeText(); adjusted/tweaked some surrounding code and comments for clarity.
|
2017-04-21 16:09:40 +00:00 |
|
Project Nayuki
|
f82ee7ab78
|
Changed argument type of applyMask() in C code to the enum for improved clarity.
|
2017-04-21 15:59:59 +00:00 |
|
Project Nayuki
|
53da031f1f
|
Tweaked casting between int and enum in C code (only affects this code being compiled in C++ mode).
|
2017-04-21 15:56:18 +00:00 |
|
Project Nayuki
|
55c5510057
|
Fixed C code fitVersionToData() to check version upper bound correctly on every iteration.
|
2017-04-20 23:55:26 +00:00 |
|
Project Nayuki
|
7580ee38e0
|
Added more standard library header #includes to C code to be strict.
|
2017-04-20 23:17:48 +00:00 |
|
Project Nayuki
|
9b57973245
|
Added C test cases for 5 functions.
|
2017-04-20 19:35:48 +00:00 |
|
Project Nayuki
|
822c339b4e
|
Added simple test program and suite of cases for C library.
|
2017-04-20 18:34:44 +00:00 |
|
Project Nayuki
|
e1596c3b07
|
Fixed bug in C code due to implicit non-Boolean conditions and incorrect refactoring (related to commit af67fe1c0b2a).
|
2017-04-20 18:11:22 +00:00 |
|
Project Nayuki
|
aa50d1906d
|
Heavily rearranged functions in C code without making internal changes, also added/updated section heading comments.
|
2017-04-20 17:36:42 +00:00 |
|
Project Nayuki
|
8cb33d44d8
|
Added comments to C code.
|
2017-04-20 17:13:13 +00:00 |
|
Project Nayuki
|
af67fe1c0b
|
Refactored C code to split out text properties into new function, and tweaked logic for clarity.
|
2017-04-20 16:23:01 +00:00 |
|
Project Nayuki
|
9a100aed7d
|
Updated and added numerous comments in C code.
|
2017-04-20 06:39:03 +00:00 |
|
Project Nayuki
|
c91d29dcee
|
Tweaked blank lines in C code for clarity.
|
2017-04-20 06:05:34 +00:00 |
|
Project Nayuki
|
c3edfaa877
|
Tweaked small bits of C code for clarity, without changing behavior.
|
2017-04-20 06:05:26 +00:00 |
|
Project Nayuki
|
02399cfd0b
|
Updated C code to remove checked arithmetic functions but retain overflow checks (related to commit 481a1c0de3b2).
|
2017-04-20 05:43:13 +00:00 |
|
Project Nayuki
|
cb6835fecb
|
Updated C code to consolidate logic for finding minimum fitting version number, also tweaked arithmetic and control flow.
|
2017-04-20 05:36:03 +00:00 |
|
Project Nayuki
|
481a1c0de3
|
Added C functions to do basic arithmetic with overflow checks, updated code to use these functions.
|
2017-04-20 05:12:55 +00:00 |
|
Project Nayuki
|
6229fa48cd
|
Moved more shared logic of C code into encodeQrCodeTail(), without changing behavior.
|
2017-04-20 04:55:28 +00:00 |
|
Project Nayuki
|
7eb3095acf
|
Refactored a C function to add local variable for frequently used value.
|
2017-04-20 04:35:48 +00:00 |
|
Project Nayuki
|
35da4ef7bc
|
Renamed all local variables 'size' to 'qrsize' in C library code, without changing behavior.
|
2017-04-20 04:34:18 +00:00 |
|
Project Nayuki
|
4d9b73c443
|
Tweaked C code to avoid unnecessary use of uint16_t type, without changing behavior.
|
2017-04-20 04:29:42 +00:00 |
|