Commit Graph

31 Commits (a078f19cf447ae9756e70056938e8bfc7685031a)

Author SHA1 Message Date
Project Nayuki a078f19cf4 Renamed a C library internal function setModuleBounded() to setModuleUnbounded(). 3 years ago
Project Nayuki a06aef7c62 Added null checks and error termination logic to runnable main C code after calls to malloc()/calloc(), removed an unnecessary non-null assertion. 3 years ago
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. 4 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. 4 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.) 6 years ago
Project Nayuki 1a254cf67f Refactored C qrcodegen-test's testCalcSegmentBitLength() to add a test case struct. 6 years ago
Project Nayuki ae0ff71ff1 Clarified C qrcodegen-test testAddEccAndInterleave() so that its internals use size_t instead of int. 6 years ago
Project Nayuki 68d4cb5217 Clarified C qrcodegen-test addEccAndInterleaveReference() so that its internals use size_t instead of int. 6 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". 6 years ago
Project Nayuki 76127b8bfe Renamed functions and variables, and updated comments, thus synchronizing the C language version with the previous changeset. 6 years ago
Project Nayuki 67bb2b4267 Removed C macros for MALLOC() to not support compiling code verbatim in C++ mode (undoing commit eb536b43c5). 7 years ago
Project Nayuki 2c055c2e67 Renamed some related variables in C code to match other language versions. 7 years ago
Project Nayuki 0ee6c41c9c Renamed QrCode.appendErrorCorrection() to addEccAndInterleave() in all language versions. 7 years ago
Project Nayuki 13c136db8b Made C function getTotalBits() testable, added test cases. 8 years ago
Project Nayuki 9e9eaf488e Deleted 3 unused C private functions, deleted 1 associated test case. 8 years ago
Project Nayuki fb544495e7 Added C functions to make numeric and alphanumeric segments, added test cases. 8 years ago
Project Nayuki d126f7b1ed Added C functions to make byte and ECI segments, added test cases. 8 years ago
Project Nayuki ec24c428ba Added C functions to test whether strings can be encoded in certain segment modes, added test cases. 8 years ago
Project Nayuki 08108ee6d8 Added C functions to calculate segment buffer size and bit length, added test cases. 8 years ago
Project Nayuki eb536b43c5 Tweaked C test program sto be more C++-friendly by adding macro to cast malloc(), refactored existing code to use the macro. 8 years ago
Project Nayuki f089897e04 Tweaked C test suite code to make test vectors immutable (const). 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 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 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 b0123fee3d Reduced lines in copyright notice of each source file (related to commit 4bba4c03ed). 8 years ago
Project Nayuki d27ee77082 Tweaked comments in C code. 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
Project Nayuki 822c339b4e Added simple test program and suite of cases for C library. 8 years ago