Project Nayuki
|
c42fd75b77
|
Tweaked C demo code to be more correct by declaring nullary functions with '(void)'.
|
8 years ago |
Project Nayuki
|
377af20c1a
|
Updated Python package version number to 1.1.0 for release on PyPI.
|
8 years ago |
Project Nayuki
|
e0e48e0cf7
|
Updated top-level readme document and package description within setup.py.
|
8 years ago |
Project Nayuki
|
7727d371e1
|
Simplified Java and Python demo code slightly.
|
8 years ago |
Project Nayuki
|
a610a3d8df
|
Added support for making Extended Channel Interpretation (ECI) segments - in Java, C++, JavaScript, and Python language versions.
|
8 years ago |
Project Nayuki
|
0482a1ec5b
|
Simplified a small bit of variables and logic of QrCode.getPenaltyScore() in all language versions, but in a subtly different way per language.
|
8 years ago |
Project Nayuki
|
e28c1d718e
|
Simplified a few small pieces of Python code.
|
8 years ago |
Project Nayuki
|
d416d5cb3e
|
Renamed a Python method to be private for consistency.
|
8 years ago |
Project Nayuki
|
84ab01d23a
|
Added a few comments to Python code.
|
8 years ago |
Project Nayuki
|
cc6855f045
|
Clarified Python code by adding parentheses around compound expressions containing chained comparisons.
|
8 years ago |
Project Nayuki
|
52694b5327
|
Simplified/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.
|
8 years ago |
Project Nayuki
|
106e31d9c7
|
Simplified/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).
|
8 years ago |
Project Nayuki
|
50c1a6b8af
|
Simplified a few lines of code in constructor of ReedSolomonGenerator in all language versions.
|
8 years ago |
Project Nayuki
|
5d1069a93c
|
Added 'extern "C"' directives to make the C header file usable in C++ code.
|
8 years ago |
Project Nayuki
|
17e0155500
|
Added local variable to appendErrorCorrection() in {Java, C++, JavaScript, Python} language versions to reduce code repetition and synchronize with C version.
|
8 years ago |
Project Nayuki
|
a712ccc230
|
Added test cases for C function appendErrorCorrection().
|
8 years ago |
Project Nayuki
|
d11707d06a
|
Added test cases for C function appendBitsToBuffer().
|
8 years ago |
Project Nayuki
|
d32b2a58fc
|
Improved the behavior of accepting/handling byte-sequence data types in Python code.
|
8 years ago |
Project Nayuki
|
652ee37f59
|
Updated comment for QrCode.getNumRawDataModules() in all language versions.
|
8 years ago |
Project Nayuki
|
84dd6f4e07
|
Updated comment for multiply()/finiteFieldMultiply() in C++ and C code.
|
8 years ago |
Project Nayuki
|
1a2b0065fe
|
Updated comments in C code.
|
8 years ago |
Project Nayuki
|
0b4dba367a
|
Added line breaks to some long C function prototypes (matching line breaks in the definitions).
|
8 years ago |
Project Nayuki
|
c99bb61f41
|
Added local variables to a C function to shorten code width.
|
8 years ago |
Project Nayuki
|
73b05e36fb
|
Added null checks to all public C functions.
|
8 years ago |
Project Nayuki
|
ed56fcfe8f
|
Tweaked some C++ code to use 'using std::vector;' to reduce verbosity.
|
8 years ago |
Project Nayuki
|
9840a780a4
|
Added missing #include for QrCode.cpp due to the use of std::abs().
|
8 years ago |
Project Nayuki
|
d17ff80b1a
|
Updated some C++ implementation code to be stricter by adding appropriate 'using' directives for C standard library types.
|
8 years ago |
Project Nayuki
|
58046f902f
|
Updated some C++ implementation code to be stricter by prepending std:: prefix for C standard library types.
|
8 years ago |
Project Nayuki
|
33af4e376e
|
Updated C++ header code to be stricter by prepending std:: prefix for C standard library types.
|
8 years ago |
Project Nayuki
|
48e0bc00b2
|
Updated readme document example code due to changed C API.
|
8 years ago |
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 |