Commit Graph

177 Commits (e0e48e0cf790d91b4a288511b0be124f3145aea6)
 

Author SHA1 Message Date
Project Nayuki 88ad854fd3 Added hand-crafted example of kanji mode text encoding to C++, Java, Python demo programs.
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 d27ee77082 Tweaked comments in C code.
8 years ago
Project Nayuki 36f9dc11c4 Fixed more integer overflow checks in C++ code to be stricter (related to commit 873652a82f).
8 years ago
Project Nayuki ac91c54ce1 Fixed QrSegment.getTotalBits() Java logic to catch integer overflow correctly (related to the C++ fix in commit 873652a82f).
8 years ago
Project Nayuki 407816ea49 Updated Python package version number to 1.0.1 for release on PyPI.
8 years ago
Project Nayuki 4a6d2f4555 Updated readme document to include the new C language library.
8 years ago
Project Nayuki dafd93dbdf Reduced redundancy in C++ demo programs with 'using' directives.
8 years ago
Project Nayuki cc2a5d4ce9 Reduced redundancy in C++ code by wrapping .cpp source files in namespace{} blocks.
8 years ago
Project Nayuki 771bdaf069 Updated C worker program code to properly check return value of scanf() (due to GCC warning).
8 years ago
Project Nayuki e1f8c2df7a Added and deleted some comments in Python and C programs.
8 years ago
Project Nayuki ccca906299 Added makefiles for C and C++ code bundles.
8 years ago
Project Nayuki 4f901df4fa Added test worker program for C++, added program name to Python batch tester.
8 years ago
Project Nayuki 6c5f8d087b Added test worker programs for Java, Python, C; added batch tester in Python.
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 7bd3e8b8d9 Fixed regexes in Python code to fully match to end of string, which affects the case when a string ends with a newline character.
8 years ago
Project Nayuki 7f20791aa8 Tweaked comment formatting in C demo code.
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
Project Nayuki e1596c3b07 Fixed bug in C code due to implicit non-Boolean conditions and incorrect refactoring (related to commit af67fe1c0b).
8 years ago
Project Nayuki 18b7180580 Added doVarietyDemo() to C demo program code.
8 years ago
Project Nayuki aa50d1906d Heavily rearranged functions in C code without making internal changes, also added/updated section heading comments.
8 years ago
Project Nayuki 8cb33d44d8 Added comments to C code.
8 years ago
Project Nayuki af67fe1c0b Refactored C code to split out text properties into new function, and tweaked logic for clarity.
8 years ago
Project Nayuki 2ffc439340 Updated comments in drawFunctionPatterns() of all other language versions to synchronize with C code.
8 years ago
Project Nayuki 9a100aed7d Updated and added numerous comments in C code.
8 years ago
Project Nayuki c91d29dcee Tweaked blank lines in C code for clarity.
8 years ago
Project Nayuki c3edfaa877 Tweaked small bits of C code for clarity, without changing behavior.
8 years ago
Project Nayuki 02399cfd0b Updated C code to remove checked arithmetic functions but retain overflow checks (related to commit 481a1c0de3).
8 years ago
Project Nayuki cb6835fecb Updated C code to consolidate logic for finding minimum fitting version number, also tweaked arithmetic and control flow.
8 years ago
Project Nayuki 481a1c0de3 Added C functions to do basic arithmetic with overflow checks, updated code to use these functions.
8 years ago
Project Nayuki 6229fa48cd Moved more shared logic of C code into encodeQrCodeTail(), without changing behavior.
8 years ago
Project Nayuki 7eb3095acf Refactored a C function to add local variable for frequently used value.
8 years ago
Project Nayuki 35da4ef7bc Renamed all local variables 'size' to 'qrsize' in C library code, without changing behavior.
8 years ago
Project Nayuki 4d9b73c443 Tweaked C code to avoid unnecessary use of uint16_t type, without changing behavior.
8 years ago
Project Nayuki 79a56065f9 Renamed private function initializeFunctionModules() in C code.
8 years ago
Project Nayuki 7c173b79b4 Simplified code for 'upward' variable in all language versions, without changing behavior.
8 years ago
Project Nayuki 21212ba617 Fixed integer overflow checks in C code.
8 years ago
Project Nayuki 31634fc05c Fixed potential overflow in C and C++ code, in worst case when int type is int16.
8 years ago
Project Nayuki 3e634c9f26 Renamed variable 'upwards' to 'upward' in drawCodewords() of all language versions, without changing behavior.
8 years ago
Project Nayuki f020833cd4 Simplified code in all language versions of the library (C, C++, Java, JavaScript, Python) and reduced table size, without changing behavior.
8 years ago
Project Nayuki 26b4cf557c Added new integer constants to C code, updated existing code to make use of them.
8 years ago
Project Nayuki c81354658b Added C demo main program.
8 years ago
Project Nayuki df52f793fa Simplified C code's initializeFunctionalModules().
8 years ago
Project Nayuki 0cfed8c5de Updated function-level comments in C code.
8 years ago
Project Nayuki a799abe654 Refactored C code to deduplicate logic into a new function.
8 years ago
Project Nayuki d704cc074b Added and updated section comments in C code.
8 years ago