Commit Graph

33 Commits

Author SHA1 Message Date
Project Nayuki e2789cd5c4 Updated and added comments in C code. 2018-08-28 04:55:34 +00:00
Project Nayuki c8f05d24d1 Tweaked comments about inclusive ranges so that the word is consistently parenthesized. 2018-08-26 02:33:20 +00:00
Project Nayuki 202fdd39d3 Edited and added numerous comments for C library members. 2017-09-09 06:09:17 +00:00
Project Nayuki 2b9770f54a Added comments to numerous new C functions. 2017-09-09 05:46:11 +00:00
Project Nayuki 66f6500220 Added unused C functions to make a QR Code based on a list of segments. 2017-09-09 04:33:31 +00:00
Project Nayuki fb544495e7 Added C functions to make numeric and alphanumeric segments, added test cases. 2017-09-08 07:06:22 +00:00
Project Nayuki d126f7b1ed Added C functions to make byte and ECI segments, added test cases. 2017-09-08 06:43:25 +00:00
Project Nayuki ec24c428ba Added C functions to test whether strings can be encoded in certain segment modes, added test cases. 2017-09-08 06:13:16 +00:00
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 4f823c3039 Added new unused enum and struct to C library code to represent segments. 2017-09-08 03:16:43 +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 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 5d1069a93c Added 'extern "C"' directives to make the C header file usable in C++ code. 2017-05-07 21:51:08 +00:00
Project Nayuki 1a2b0065fe Updated comments in C code. 2017-05-06 11:43:14 +00:00
Project Nayuki c82c6f478b Tweaked C code to give explicit value to Ecc enum, to approve of casting enum values to/from int. 2017-04-26 17:21:44 +00:00
Project Nayuki 23244832b5 Heavily edited (and slightly fixed) public API comments for C library. 2017-04-26 17:20:38 +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 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 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 4bba4c03ed). 2017-04-24 20:41:54 +00:00
Project Nayuki 9a100aed7d Updated and added numerous comments in C code. 2017-04-20 06:39:03 +00:00
Project Nayuki 26b4cf557c Added new integer constants to C code, updated existing code to make use of them. 2017-04-19 22:17:07 +00:00
Project Nayuki 0cfed8c5de Updated function-level comments in C code. 2017-04-19 21:40:14 +00:00
Project Nayuki d704cc074b Added and updated section comments in C code. 2017-04-19 21:08:05 +00:00
Project Nayuki be2e9e7a3a Continued implementing C library by adding logic to support boosting ECC level. 2017-04-19 20:46:32 +00:00
Project Nayuki 47fc47938a Continued implementing C library by adding main QR Code encoding function for text, including support for alphanumeric and numeric mode segments. 2017-04-19 20:45:50 +00:00
Project Nayuki 53359d7ef2 Deleted text-testing functions in C library code. 2017-04-19 20:28:25 +00:00
Project Nayuki d332c4a91c Continued implementing C library by adding a main QR Code encoding function and auxiliary functions. 2017-04-19 18:07:02 +00:00
Project Nayuki 5e415ae08b Continued implementing C library by adding enums and macros. 2017-04-17 19:22:55 +00:00
Project Nayuki f49bee7a2d Fixed and tweaked some pieces of C library code. 2017-04-17 19:15:40 +00:00
Project Nayuki f18ababe0d Continued implementing C library by adding low-level QR Code get/set functions. 2017-04-17 18:02:14 +00:00
Project Nayuki 18a10b6b99 Continued implementing C library by adding header file and text-testing functions. 2017-04-17 17:43:38 +00:00