Commit Graph

599 Commits (fd6917601d0a77b6b6df81599118212d8cdb9a27)
 

Author SHA1 Message Date
Project Nayuki c82c6f478b Tweaked C code to give explicit value to Ecc enum, to approve of casting enum values to/from int.
8 years ago
Project Nayuki 23244832b5 Heavily edited (and slightly fixed) public API comments for C library.
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 bc12aa1dc6 Refactored C demo program code to remove unused parameter, 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 d6080663b9 Deleted unused header #include.
8 years ago
Project Nayuki a9c12dd705 Rearranged some overflow comparisons in C++ code for clarity, without changing behavior.
8 years ago
Project Nayuki 3da7c7b7dc Fixed potential overflow in C++ code, in worst case when int type is int16.
8 years ago
Project Nayuki 4bc769e58f Updated text and header comments in Python and HTML code.
8 years ago
Project Nayuki b6b2bddb59 Added SVG text printing to Python demo program, to match C++ and Java demo programs.
8 years ago
Project Nayuki b0123fee3d Reduced lines in copyright notice of each source file (related to commit 4bba4c03ed).
8 years ago
Project Nayuki 8d64b3a9bb Updated QR Code JavaScript demo HTML page to improve layout and visual appearance, while retaining same set of features.
8 years ago
Project Nayuki 4bba4c03ed Reduced blank lines in copyright notice.
8 years ago
Project Nayuki 7e72bd8dfb Updated examples in readme, updated text in readme and setup.py.
8 years ago
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