Project Nayuki
|
908dbbfb31
|
Added initial values to some variables in C and C++ code to avoid potential compiler warnings.
|
7 years ago |
Project Nayuki
|
7e18dfe885
|
Tweaked C code to be slightly more efficient by using static constant data.
|
7 years ago |
Project Nayuki
|
30a9474596
|
Added initial values to some variables in C code to avoid potential compiler warnings.
|
7 years ago |
Project Nayuki
|
e36f6953dc
|
Simplified a bit of C code.
|
7 years ago |
Project Nayuki
|
2b9770f54a
|
Added comments to numerous new C functions.
|
7 years ago |
Project Nayuki
|
55b0056f38
|
Added some assertions to new C functions.
|
7 years ago |
Project Nayuki
|
13c136db8b
|
Made C function getTotalBits() testable, added test cases.
|
7 years ago |
Project Nayuki
|
dcdd743ef5
|
Simplified C library's numCharCountBits() function, updated dependent code.
|
7 years ago |
Project Nayuki
|
9e9eaf488e
|
Deleted 3 unused C private functions, deleted 1 associated test case.
|
7 years ago |
Project Nayuki
|
562f478d26
|
Rewrote and simplified C functions encodeText() and encodeBinary() to use new encodeSegmentsAdvanced(), without changing behavior (except for bugs).
|
7 years ago |
Project Nayuki
|
66f6500220
|
Added unused C functions to make a QR Code based on a list of segments.
|
7 years ago |
Project Nayuki
|
ad46d5e434
|
Added some argument null checks to C code.
|
7 years ago |
Project Nayuki
|
fb544495e7
|
Added C functions to make numeric and alphanumeric segments, added test cases.
|
7 years ago |
Project Nayuki
|
d126f7b1ed
|
Added C functions to make byte and ECI segments, added test cases.
|
7 years ago |
Project Nayuki
|
ec24c428ba
|
Added C functions to test whether strings can be encoded in certain segment modes, added test cases.
|
7 years ago |
Project Nayuki
|
08108ee6d8
|
Added C functions to calculate segment buffer size and bit length, added test cases.
|
7 years ago |
Project Nayuki
|
272ca8bb54
|
Split long lines in various {Java, JavaScript, Python, C++, C, Rust} code, without changing behavior.
|
7 years ago |
Project Nayuki
|
7e512971df
|
Fixed some arithmetic checks in Java and C code.
|
7 years ago |
Project Nayuki
|
16f504be67
|
Inlined the 'size' variable in getAlignmentPatternPositions() in 3 language versions.
|
7 years ago |
Project Nayuki
|
49f6538682
|
Updated a comment in getAlignmentPatternPositions() in most language versions (except JavaScript).
|
7 years ago |
Project Nayuki
|
88cc1c05fd
|
Fully fixed C library code to be compilable in C++ mode (polyglot).
|
8 years ago |
Project Nayuki
|
ce58036cb2
|
Tweaked C library code to not use gotos, to make it more friendly to compile in C++ mode.
|
8 years ago |
Project Nayuki
|
047f85d164
|
Tweaked C code to be more correct regarding #include <stddef.h> for size_t.
|
8 years ago |
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.
|
8 years ago |
Project Nayuki
|
50c1a6b8af
|
Simplified a few lines of code in constructor of ReedSolomonGenerator in all language versions.
|
8 years ago |
Project Nayuki
|
a712ccc230
|
Added test cases for C function appendErrorCorrection().
|
8 years ago |
Project Nayuki
|
d11707d06a
|
Added test cases for C function appendBitsToBuffer().
|
8 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 |
Project Nayuki
|
1a2b0065fe
|
Updated comments in C code.
|
8 years ago |
Project Nayuki
|
0b4dba367a
|
Added line breaks to some long C function prototypes (matching line breaks in the definitions).
|
8 years ago |
Project Nayuki
|
c99bb61f41
|
Added local variables to a C function to shorten code width.
|
8 years ago |
Project Nayuki
|
73b05e36fb
|
Added null checks to all public C functions.
|
8 years ago |
Project Nayuki
|
fffe81aeb1
|
Added C test case for getModule(), setModule(), etc.
|
8 years ago |
Project Nayuki
|
0bd7684198
|
Added C test case for initializeFunctionModules().
|
8 years ago |
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.
|
8 years ago |
Project Nayuki
|
767084b80d
|
Refactored 4 private C functions to move qrsize variable from parameter to local variable, updated callers, without changing behavior.
|
8 years ago |
Project Nayuki
|
454534ee33
|
Changed C API function qrcodegen_getSize() to receive array instead of int, updated runnable programs, deleted test cases for this function.
|
8 years ago |
Project Nayuki
|
df1c49cc39
|
Changed C API function qrcodegen_getModule() to remove version argument, updated runnable programs.
|
8 years ago |
Project Nayuki
|
12bd5401ab
|
Refactored private C function getModule() to read size from QR Code array and remove parameter.
|
8 years ago |
Project Nayuki
|
2b4bd9ee24
|
Refactored private C function fillRectangle() to remove unused size parameter.
|
8 years ago |
Project Nayuki
|
e19c42014b
|
Refactored private C functions setModule() and setModuleBounded() to read size from QR Code array and remove parameter.
|
8 years ago |
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.
|
8 years ago |
Project Nayuki
|
b0123fee3d
|
Reduced lines in copyright notice of each source file (related to commit 4bba4c03ed ).
|
8 years ago |
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.
|
8 years ago |
Project Nayuki
|
f82ee7ab78
|
Changed argument type of applyMask() in C code to the enum for improved clarity.
|
8 years ago |
Project Nayuki
|
53da031f1f
|
Tweaked casting between int and enum in C code (only affects this code being compiled in C++ mode).
|
8 years ago |
Project Nayuki
|
55c5510057
|
Fixed C code fitVersionToData() to check version upper bound correctly on every iteration.
|
8 years ago |
Project Nayuki
|
7580ee38e0
|
Added more standard library header #includes to C code to be strict.
|
8 years ago |
Project Nayuki
|
9b57973245
|
Added C test cases for 5 functions.
|
8 years ago |