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
|
17e0155500
|
Added local variable to appendErrorCorrection() in {Java, C++, JavaScript, Python} language versions to reduce code repetition and synchronize with C version.
|
2017-05-06 17:19:00 +00:00 |
Project Nayuki
|
a712ccc230
|
Added test cases for C function appendErrorCorrection().
|
2017-05-06 16:54:44 +00:00 |
Project Nayuki
|
d11707d06a
|
Added test cases for C function appendBitsToBuffer().
|
2017-05-06 13:37:15 +00:00 |
Project Nayuki
|
d32b2a58fc
|
Improved the behavior of accepting/handling byte-sequence data types in Python code.
|
2017-05-06 12:14:59 +00:00 |
Project Nayuki
|
652ee37f59
|
Updated comment for QrCode.getNumRawDataModules() in all language versions.
|
2017-05-06 11:51:21 +00:00 |
Project Nayuki
|
84dd6f4e07
|
Updated comment for multiply()/finiteFieldMultiply() in C++ and C code.
|
2017-05-06 11:50:31 +00:00 |
Project Nayuki
|
1a2b0065fe
|
Updated comments in C code.
|
2017-05-06 11:43:14 +00:00 |
Project Nayuki
|
0b4dba367a
|
Added line breaks to some long C function prototypes (matching line breaks in the definitions).
|
2017-05-06 11:36:38 +00:00 |
Project Nayuki
|
c99bb61f41
|
Added local variables to a C function to shorten code width.
|
2017-05-06 11:35:44 +00:00 |
Project Nayuki
|
73b05e36fb
|
Added null checks to all public C functions.
|
2017-05-06 11:34:41 +00:00 |
Project Nayuki
|
ed56fcfe8f
|
Tweaked some C++ code to use 'using std::vector;' to reduce verbosity.
|
2017-05-05 21:03:08 +00:00 |
Project Nayuki
|
9840a780a4
|
Added missing #include for QrCode.cpp due to the use of std::abs().
|
2017-05-05 20:57:38 +00:00 |
Project Nayuki
|
d17ff80b1a
|
Updated some C++ implementation code to be stricter by adding appropriate 'using' directives for C standard library types.
|
2017-05-05 20:57:13 +00:00 |
Project Nayuki
|
58046f902f
|
Updated some C++ implementation code to be stricter by prepending std:: prefix for C standard library types.
|
2017-05-05 20:56:32 +00:00 |
Project Nayuki
|
33af4e376e
|
Updated C++ header code to be stricter by prepending std:: prefix for C standard library types.
|
2017-05-05 20:55:32 +00:00 |
Project Nayuki
|
48e0bc00b2
|
Updated readme document example code due to changed C API.
|
2017-04-26 17:32:29 +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
|
fffe81aeb1
|
Added C test case for getModule(), setModule(), etc.
|
2017-04-26 16:58:15 +00:00 |
Project Nayuki
|
0bd7684198
|
Added C test case for initializeFunctionModules().
|
2017-04-26 16:44:41 +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
|
767084b80d
|
Refactored 4 private C functions to move qrsize variable from parameter to local variable, updated callers, without changing behavior.
|
2017-04-25 06:06:43 +00:00 |
Project Nayuki
|
bc12aa1dc6
|
Refactored C demo program code to remove unused parameter, without changing behavior.
|
2017-04-25 06:02:19 +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
|
12bd5401ab
|
Refactored private C function getModule() to read size from QR Code array and remove parameter.
|
2017-04-25 05:41:26 +00:00 |
Project Nayuki
|
2b4bd9ee24
|
Refactored private C function fillRectangle() to remove unused size parameter.
|
2017-04-25 05:38:33 +00:00 |
Project Nayuki
|
e19c42014b
|
Refactored private C functions setModule() and setModuleBounded() to read size from QR Code array and remove parameter.
|
2017-04-25 05:37:20 +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
|
d6080663b9
|
Deleted unused header #include.
|
2017-04-24 20:48:20 +00:00 |
Project Nayuki
|
a9c12dd705
|
Rearranged some overflow comparisons in C++ code for clarity, without changing behavior.
|
2017-04-24 20:48:14 +00:00 |
Project Nayuki
|
3da7c7b7dc
|
Fixed potential overflow in C++ code, in worst case when int type is int16.
|
2017-04-24 20:47:32 +00:00 |
Project Nayuki
|
4bc769e58f
|
Updated text and header comments in Python and HTML code.
|
2017-04-24 20:45:48 +00:00 |
Project Nayuki
|
b6b2bddb59
|
Added SVG text printing to Python demo program, to match C++ and Java demo programs.
|
2017-04-24 20:44:58 +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
|
8d64b3a9bb
|
Updated QR Code JavaScript demo HTML page to improve layout and visual appearance, while retaining same set of features.
|
2017-04-24 17:05:33 +00:00 |
Project Nayuki
|
4bba4c03ed
|
Reduced blank lines in copyright notice.
|
2017-04-23 03:05:37 +00:00 |
Project Nayuki
|
7e72bd8dfb
|
Updated examples in readme, updated text in readme and setup.py.
|
2017-04-22 03:44:57 +00:00 |
Project Nayuki
|
88ad854fd3
|
Added hand-crafted example of kanji mode text encoding to C++, Java, Python demo programs.
|
2017-04-21 16:59:13 +00:00 |
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.
|
2017-04-21 16:09:40 +00:00 |
Project Nayuki
|
f82ee7ab78
|
Changed argument type of applyMask() in C code to the enum for improved clarity.
|
2017-04-21 15:59:59 +00:00 |
Project Nayuki
|
53da031f1f
|
Tweaked casting between int and enum in C code (only affects this code being compiled in C++ mode).
|
2017-04-21 15:56:18 +00:00 |
Project Nayuki
|
d27ee77082
|
Tweaked comments in C code.
|
2017-04-21 15:51:45 +00:00 |
Project Nayuki
|
36f9dc11c4
|
Fixed more integer overflow checks in C++ code to be stricter (related to commit 873652a82f ).
|
2017-04-21 15:49:16 +00:00 |
Project Nayuki
|
ac91c54ce1
|
Fixed QrSegment.getTotalBits() Java logic to catch integer overflow correctly (related to the C++ fix in commit 873652a82f ).
|
2017-04-21 15:37:59 +00:00 |
Project Nayuki
|
407816ea49
|
Updated Python package version number to 1.0.1 for release on PyPI.
|
2017-04-21 06:02:28 +00:00 |
Project Nayuki
|
4a6d2f4555
|
Updated readme document to include the new C language library.
|
2017-04-21 05:43:02 +00:00 |
Project Nayuki
|
dafd93dbdf
|
Reduced redundancy in C++ demo programs with 'using' directives.
|
2017-04-21 05:38:44 +00:00 |
Project Nayuki
|
cc2a5d4ce9
|
Reduced redundancy in C++ code by wrapping .cpp source files in namespace{} blocks.
|
2017-04-21 05:30:59 +00:00 |