f6e1276b08Updated Java QrSegment fields from array to BitBuffer, changed methods and updated code that depended on this design.
Project Nayuki
2017-08-17 20:34:52 +0000
05d470fccaAdded BitBuffer-based constructor to Java QrSegment class, updated existing library and demo code to use it.
Project Nayuki
2017-08-17 20:28:28 +0000
7a2555816bUpdated Java BitBuffer code to add methods and make the class public.
Project Nayuki
2017-08-17 20:12:42 +0000
493d3c31f2Slightly simplified Java code by making BitBuffer use BitSet instead of manual array manipulation.
Project Nayuki
2017-08-17 20:08:28 +0000
a341901d94Simplified Python code by making BitBuffer subclass list, updated internal usages.
Project Nayuki
2017-08-17 20:03:19 +0000
ac10dc21ceSimplified JavaScript code to use single quotes for XML code generation, so that double quotes within text don't need escape.
Project Nayuki
2017-07-26 20:38:34 +0000
d785ecb598Simplified the no-stroke declaration in SVG output code - in Java, C++, JavaScript, Python language versions.
Project Nayuki
2017-07-26 20:34:29 +0000
7075db21d1Changed C makefile rules to use the shared library when possible, and to fix library build rule if there is more than one .c source file.
Project Nayuki
2017-07-21 19:00:43 -0400
c936e2c1deAdded variable for library file name, added library to the default build - in the C makefile.
Project Nayuki
2017-07-21 18:57:09 -0400
ea59bedc93Reordered definition and added comment to C makefile.
Project Nayuki
2017-07-21 18:55:02 -0400
a3dcc36dd4Add shared library make target for C library
#13
Ben Kelly
2017-07-21 12:22:17 +0300
09d16eb6dcUsing cmake to generate a dynamic library
Bechir MGHIRBI
2017-07-12 21:03:11 +0200
88cc1c05fdFully fixed C library code to be compilable in C++ mode (polyglot).
Project Nayuki
2017-07-04 06:18:14 +0000
ce58036cb2Tweaked C library code to not use gotos, to make it more friendly to compile in C++ mode.
Project Nayuki
2017-07-04 06:18:00 +0000
eb536b43c5Tweaked C test program sto be more C++-friendly by adding macro to cast malloc(), refactored existing code to use the macro.
Project Nayuki
2017-07-04 06:17:08 +0000
f089897e04Tweaked C test suite code to make test vectors immutable (const).
Project Nayuki
2017-07-04 05:42:05 +0000
047f85d164Tweaked C code to be more correct regarding #include <stddef.h> for size_t.
Project Nayuki
2017-07-04 05:27:18 +0000
c42fd75b77Tweaked C demo code to be more correct by declaring nullary functions with '(void)'.
Project Nayuki
2017-06-26 04:45:51 +0000
a610a3d8dfAdded support for making Extended Channel Interpretation (ECI) segments - in Java, C++, JavaScript, and Python language versions.
Project Nayuki
2017-05-08 18:04:10 +0000
0482a1ec5bSimplified a small bit of variables and logic of QrCode.getPenaltyScore() in all language versions, but in a subtly different way per language.
Project Nayuki
2017-05-08 07:30:53 +0000
e28c1d718eSimplified a few small pieces of Python code.
Project Nayuki
2017-05-08 06:41:17 +0000
d416d5cb3eRenamed a Python method to be private for consistency.
Project Nayuki
2017-05-08 06:40:58 +0000
84ab01d23aAdded a few comments to Python code.
Project Nayuki
2017-05-08 06:40:28 +0000
cc6855f045Clarified Python code by adding parentheses around compound expressions containing chained comparisons.
Project Nayuki
2017-05-08 06:22:53 +0000
52694b5327Simplified/deoptimized Java and JavaScript code to use string search instead of lookup table for alphanumeric mode encoding, without changing functionality. This is similar to the previous commit 106e31d9c7. By comparison, the Python code had always used a proper dictionary, and the C code implemented string search from the start.
Project Nayuki
2017-05-08 06:20:50 +0000
106e31d9c7Simplified/deoptimized C++ code to use string search instead of lookup table for alphanumeric mode encoding. Also tightened the error checking in QrSegment::makeAlphanumeric(). As a side effect this now makes text encoding correct on non-ASCII systems (e.g. EBCDIC).
Project Nayuki
2017-05-08 06:10:56 +0000
50c1a6b8afSimplified a few lines of code in constructor of ReedSolomonGenerator in all language versions.
Project Nayuki
2017-05-08 05:21:05 +0000
5d1069a93cAdded 'extern "C"' directives to make the C header file usable in C++ code.
Project Nayuki
2017-05-07 21:51:08 +0000
17e0155500Added local variable to appendErrorCorrection() in {Java, C++, JavaScript, Python} language versions to reduce code repetition and synchronize with C version.
Project Nayuki
2017-05-06 17:19:00 +0000
a712ccc230Added test cases for C function appendErrorCorrection().
Project Nayuki
2017-05-06 16:54:44 +0000
d11707d06aAdded test cases for C function appendBitsToBuffer().
Project Nayuki
2017-05-06 13:37:15 +0000
d32b2a58fcImproved the behavior of accepting/handling byte-sequence data types in Python code.
Project Nayuki
2017-05-06 12:14:59 +0000
652ee37f59Updated comment for QrCode.getNumRawDataModules() in all language versions.
Project Nayuki
2017-05-06 11:51:21 +0000
84dd6f4e07Updated comment for multiply()/finiteFieldMultiply() in C++ and C code.
Project Nayuki
2017-05-06 11:50:31 +0000
1a2b0065feUpdated comments in C code.
Project Nayuki
2017-05-06 11:43:14 +0000
0b4dba367aAdded line breaks to some long C function prototypes (matching line breaks in the definitions).
Project Nayuki
2017-05-06 11:36:38 +0000
c99bb61f41Added local variables to a C function to shorten code width.
Project Nayuki
2017-05-06 11:35:44 +0000
73b05e36fbAdded null checks to all public C functions.
Project Nayuki
2017-05-06 11:34:41 +0000
ed56fcfe8fTweaked some C++ code to use 'using std::vector;' to reduce verbosity.
Project Nayuki
2017-05-05 21:03:08 +0000
9840a780a4Added missing #include for QrCode.cpp due to the use of std::abs().
Project Nayuki
2017-05-05 20:57:38 +0000
d17ff80b1aUpdated some C++ implementation code to be stricter by adding appropriate 'using' directives for C standard library types.
Project Nayuki
2017-05-05 20:57:13 +0000
58046f902fUpdated some C++ implementation code to be stricter by prepending std:: prefix for C standard library types.
Project Nayuki
2017-05-05 20:56:32 +0000
33af4e376eUpdated C++ header code to be stricter by prepending std:: prefix for C standard library types.
Project Nayuki
2017-05-05 20:55:32 +0000
48e0bc00b2Updated readme document example code due to changed C API.
Project Nayuki
2017-04-26 17:32:29 +0000
c82c6f478bTweaked C code to give explicit value to Ecc enum, to approve of casting enum values to/from int.
Project Nayuki
2017-04-26 17:21:44 +0000
23244832b5Heavily edited (and slightly fixed) public API comments for C library.
Project Nayuki
2017-04-26 17:20:38 +0000
fffe81aeb1Added C test case for getModule(), setModule(), etc.
Project Nayuki
2017-04-26 16:58:15 +0000
0bd7684198Added C test case for initializeFunctionModules().
Project Nayuki
2017-04-26 16:44:41 +0000
546029090cChanged 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.
Project Nayuki
2017-04-25 06:15:11 +0000
767084b80dRefactored 4 private C functions to move qrsize variable from parameter to local variable, updated callers, without changing behavior.
Project Nayuki
2017-04-25 06:06:43 +0000
bc12aa1dc6Refactored C demo program code to remove unused parameter, without changing behavior.
Project Nayuki
2017-04-25 06:02:19 +0000
454534ee33Changed C API function qrcodegen_getSize() to receive array instead of int, updated runnable programs, deleted test cases for this function.
Project Nayuki
2017-04-25 06:00:39 +0000
df1c49cc39Changed C API function qrcodegen_getModule() to remove version argument, updated runnable programs.
Project Nayuki
2017-04-25 05:46:01 +0000
12bd5401abRefactored private C function getModule() to read size from QR Code array and remove parameter.
Project Nayuki
2017-04-25 05:41:26 +0000
2b4bd9ee24Refactored private C function fillRectangle() to remove unused size parameter.
Project Nayuki
2017-04-25 05:38:33 +0000
e19c42014bRefactored private C functions setModule() and setModuleBounded() to read size from QR Code array and remove parameter.
Project Nayuki
2017-04-25 05:37:20 +0000
339efc46b8Changed 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.
Project Nayuki
2017-04-25 05:31:15 +0000
a9c12dd705Rearranged some overflow comparisons in C++ code for clarity, without changing behavior.
Project Nayuki
2017-04-24 20:48:14 +0000
3da7c7b7dcFixed potential overflow in C++ code, in worst case when int type is int16.
Project Nayuki
2017-04-24 20:47:32 +0000
4bc769e58fUpdated text and header comments in Python and HTML code.
Project Nayuki
2017-04-24 20:45:48 +0000
b6b2bddb59Added SVG text printing to Python demo program, to match C++ and Java demo programs.
Project Nayuki
2017-04-24 20:44:58 +0000
b0123fee3dReduced lines in copyright notice of each source file (related to commit 4bba4c03ed).
Project Nayuki
2017-04-24 20:41:54 +0000
8d64b3a9bbUpdated QR Code JavaScript demo HTML page to improve layout and visual appearance, while retaining same set of features.
Project Nayuki
2017-04-24 17:05:33 +0000
7e72bd8dfbUpdated examples in readme, updated text in readme and setup.py.
Project Nayuki
2017-04-22 03:44:57 +0000
88ad854fd3Added hand-crafted example of kanji mode text encoding to C++, Java, Python demo programs.
Project Nayuki
2017-04-21 16:59:13 +0000
cfb4caa377Updated 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.
Project Nayuki
2017-04-21 16:09:40 +0000
f82ee7ab78Changed argument type of applyMask() in C code to the enum for improved clarity.
Project Nayuki
2017-04-21 15:59:59 +0000
53da031f1fTweaked casting between int and enum in C code (only affects this code being compiled in C++ mode).
Project Nayuki
2017-04-21 15:56:18 +0000
d27ee77082Tweaked comments in C code.
Project Nayuki
2017-04-21 15:51:45 +0000
36f9dc11c4Fixed more integer overflow checks in C++ code to be stricter (related to commit 873652a82f).
Project Nayuki
2017-04-21 15:49:16 +0000
ac91c54ce1Fixed QrSegment.getTotalBits() Java logic to catch integer overflow correctly (related to the C++ fix in commit 873652a82f).
Project Nayuki
2017-04-21 15:37:59 +0000
407816ea49Updated Python package version number to 1.0.1 for release on PyPI.
v1.0.1
Project Nayuki
2017-04-21 06:02:28 +0000
4a6d2f4555Updated readme document to include the new C language library.
Project Nayuki
2017-04-21 05:43:02 +0000
dafd93dbdfReduced redundancy in C++ demo programs with 'using' directives.
Project Nayuki
2017-04-21 05:38:44 +0000
cc2a5d4ce9Reduced redundancy in C++ code by wrapping .cpp source files in namespace{} blocks.
Project Nayuki
2017-04-21 05:30:59 +0000
771bdaf069Updated C worker program code to properly check return value of scanf() (due to GCC warning).
Project Nayuki
2017-04-21 05:07:14 +0000
e1f8c2df7aAdded and deleted some comments in Python and C programs.
Project Nayuki
2017-04-21 05:06:44 +0000
ccca906299Added makefiles for C and C++ code bundles.
Project Nayuki
2017-04-21 05:06:18 +0000
4f901df4faAdded test worker program for C++, added program name to Python batch tester.
Project Nayuki
2017-04-21 05:04:39 +0000
6c5f8d087bAdded test worker programs for Java, Python, C; added batch tester in Python.
Project Nayuki
2017-04-21 00:15:07 +0000
55c5510057Fixed C code fitVersionToData() to check version upper bound correctly on every iteration.
Project Nayuki
2017-04-20 23:55:26 +0000
7580ee38e0Added more standard library header #includes to C code to be strict.
Project Nayuki
2017-04-20 23:17:48 +0000
7bd3e8b8d9Fixed regexes in Python code to fully match to end of string, which affects the case when a string ends with a newline character.
Project Nayuki
2017-04-20 22:48:13 +0000
7f20791aa8Tweaked comment formatting in C demo code.
Project Nayuki
2017-04-20 19:35:58 +0000
9b57973245Added C test cases for 5 functions.
Project Nayuki
2017-04-20 19:35:48 +0000
822c339b4eAdded simple test program and suite of cases for C library.
Project Nayuki
2017-04-20 18:34:44 +0000
e1596c3b07Fixed bug in C code due to implicit non-Boolean conditions and incorrect refactoring (related to commit af67fe1c0b).
Project Nayuki
2017-04-20 18:11:22 +0000
18b7180580Added doVarietyDemo() to C demo program code.
Project Nayuki
2017-04-20 17:58:05 +0000
aa50d1906dHeavily rearranged functions in C code without making internal changes, also added/updated section heading comments.
Project Nayuki
2017-04-20 17:36:42 +0000