Commit Graph

27 Commits (d00cbd35857b26d987f40417b8716f69c0cd7f36)

Author SHA1 Message Date
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 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 67bb2b4267 Removed C macros for MALLOC() to not support compiling code verbatim in C++ mode (undoing commit eb536b43c5).
6 years ago
Project Nayuki 2c055c2e67 Renamed some related variables in C code to match other language versions.
6 years ago
Project Nayuki 0ee6c41c9c Renamed QrCode.appendErrorCorrection() to addEccAndInterleave() in all language versions.
6 years ago
Project Nayuki 13c136db8b Made C function getTotalBits() testable, added test cases.
7 years ago
Project Nayuki 9e9eaf488e Deleted 3 unused C private functions, deleted 1 associated test case.
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 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