5990e6a99c- In the project (top-level) readme file, kept one language's code example and moved all others out to language-specific readme files. - Added a readme file for each programming language implementation (port) if it didn't already have one, mostly by copying the project readme text, and then added/edited a couple of feature points.
Project Nayuki
2021-12-01 06:01:50 +0000
d02fe511ccUpdated the content of language-specific readme files and package-level documentation comments.
Project Nayuki
2021-12-01 05:58:37 +0000
df44e259d1Added a paragraph to partially synchronize all readme files and package-level documentation comments.
Project Nayuki
2021-12-01 05:56:12 +0000
7a052cc5b2Removed references to other programming languages within language-specific overview/readme text.
Project Nayuki
2021-11-25 04:45:32 +0000
f39234b755Clarified the Rust-no-heap documentation example code.
Project Nayuki
2021-11-25 04:43:16 +0000
d0d0474e4cMerged two separate but related projects: - QR Code generator library (6 languages) (commit d8ea85f2e2) - Fast QR Code generator library (Java) (commit e3e8276149)
Project Nayuki
2021-11-14 21:40:35 +0000
e3e8276149Renamed directory, moved file.
Project Nayuki
2021-11-14 21:39:35 +0000
d8ea85f2e2Added another implementation in Rust, distinguished by performing no heap allocations and enabling no_std.
Project Nayuki
2021-11-14 21:37:26 +0000
c99a727c8bUpdated function-level comments in the C language port.
Project Nayuki
2021-11-14 21:34:10 +0000
8bd5ed46b5Revamped the DataTooLong error type in Rust to change from string to enum and remove Error.description().
Project Nayuki
2021-11-12 04:44:46 +0000
fb9638d591Reformatted a long function signature in Rust.
Project Nayuki
2021-11-12 03:43:07 +0000
253ef19a4dReformatted some Rust code so that the expressions surrounding `..` have no spaces around operators.
Project Nayuki
2021-11-12 03:31:18 +0000
50f0c4b5bcTweaked some of QrSegment.makeEci()'s integer literals to binary notations in most language ports.
Project Nayuki
2021-11-12 03:28:41 +0000
86a49ba597Tweaked Rust code to use `T::try_from(x).unwrap()` instead of `x as T`, in some cases for safety.
Project Nayuki
2021-11-06 23:11:39 +0000
67ddbb6304Clarified a few bits of Rust code.
Project Nayuki
2021-11-06 23:09:37 +0000
d239c32c45Simplified a few comparisons in Rust code.
Project Nayuki
2021-11-06 23:08:44 +0000
cb4cecf5e3Refactored TypeScript code to add assert() function to make it easier to read the intent and compare to other language ports.
Project Nayuki
2021-11-06 17:10:14 +0000
ad537b93d9Changed C++, Rust, Python code to use debug-mode assertions that can be disabled, similar to Java's assert, corresponding to the logic in the Java language port.
Project Nayuki
2021-11-06 17:03:16 +0000
68cddb816dImproved some assertion error messages, corresponding to Rust's unreachable!().
Project Nayuki
2021-11-06 16:59:04 +0000
845eab6f36Simplified a bit of code.
Project Nayuki
2021-11-06 06:32:34 +0000
c7ab2582aaAdded value range assertions to QrCode.getPenaltyScore(), in all language ports.
Project Nayuki
2021-11-06 06:15:19 +0000
97b2d9d71cAdded class section comments to C++ code, related to commit 096c70cd4d.
Project Nayuki
2021-11-06 05:49:12 +0000
edc91c622eRenamed a local variable in Rust code for consistency with other language ports.
Project Nayuki
2021-11-06 05:45:29 +0000
f0945bc682Tweaked Python, Rust, TypeScript code to rename the constructor `mask` parameter to `msk` for consistency with Java and C++ language ports (related to commit 67c62461d3), and to avoid potential confusion with the object field named `mask`.
Project Nayuki
2021-11-06 05:42:47 +0000
d6be9c5e44Slightly tweaked code and comments to correspond to other language ports.
Project Nayuki
2021-11-06 05:34:38 +0000
41b90335d9Inlined Java handleConstructorMasking() and tweaked comments to correspond to other language ports.
Project Nayuki
2021-11-06 05:33:44 +0000
c53c754acfAdded/tweaked comments in C code to correspond to the other language ports.
Project Nayuki
2021-11-06 05:31:06 +0000
359c42557cRenamed a C library internal function getModule() to getModuleBounded().
Project Nayuki
2021-11-06 05:17:02 +0000
94aca572e4Renamed a C library internal function setModule() to setModuleBounded().
Project Nayuki
2021-11-06 05:16:30 +0000
a078f19cf4Renamed a C library internal function setModuleBounded() to setModuleUnbounded().
Project Nayuki
2021-11-06 05:15:25 +0000
c6fcc212d1Simplified a bit of internal Rust code.
Project Nayuki
2021-11-04 15:34:49 +0000
2fc287904aTweaked C code to avoid unused-parameter warning when compiling without asserts.
Project Nayuki
2021-11-04 14:45:44 +0000
9fa45a66deFix C compilation with -Werror=unused-parameter and without asserts.
#127
Martin Milata
2021-11-04 11:51:56 +0100
a06aef7c62Added null checks and error termination logic to runnable main C code after calls to malloc()/calloc(), removed an unnecessary non-null assertion.
Project Nayuki
2021-10-20 01:56:33 +0000
c6cbb388a7Made TypeScript code more robust by adding Readonly<> wrapper around appropriate array types in function parameters.
Project Nayuki
2021-10-14 15:30:31 +0000
a6f886f6ffFixed example Rust code in readme, related to commit c8e1b0caed.
Project Nayuki
2021-10-01 18:08:11 +0000
599b637c73Fixed example Rust code in documentation comments, due to commit 6c1f967894.
Project Nayuki
2021-10-01 18:04:48 +0000
df548a379dRefactored Rust code to use {Range,RangeInclusive}.contains() instead of primitive operations.
Project Nayuki
2021-09-16 16:21:19 +0000
3301b07c21Simplified small pieces of Rust code.
Project Nayuki
2021-09-16 16:19:25 +0000
ce5efd15b5add no_std support
Florian Blasius
2021-09-13 14:05:29 +0200
6c1f967894Changed Rust functions to take &str instead of &[char] because that type is more natural to use, removed intermediate step of making Vec<char>, updated demo program to fit.
Project Nayuki
2021-09-09 18:11:43 +0000
3185c310e3Refactored a repeated expression in Rust code.
Project Nayuki
2021-09-09 18:08:14 +0000
5615dbab5dHyphenated a phrase.
Project Nayuki
2021-09-05 04:13:10 +0000
db4ad0bda8Hyphenated a phrase.
Project Nayuki
2021-09-05 03:23:30 +0000
4c74eea03eGeneralized the Java API to accept CharSequence instead of String, which can be helpful if the input is a temporary StringBuilder. This is possible because almost all functions read characters and convert them to another representation in a new buffer instead of storing the input string immutably.
Project Nayuki
2021-08-29 17:30:33 +0000
72037f3047Added string length limit and integer value range assertions to QrSegmentAdvanced.computeCharacterModes(). This fixes int32 overflow for ridiculously long input strings (somewhere around 2^23 characters), which are impossible to put in a QR Code anyway.
Project Nayuki
2021-08-29 17:23:12 +0000
0b7843db6crefactor: todo comment and align coding style
#119
Billy Yip
2021-08-19 22:19:30 +0800
447bf989b5refactor: add error bound example
Billy Yip
2021-08-19 21:50:16 +0800
5e8f5810b7refactor: code style alignment
Billy Yip
2021-08-19 20:51:00 +0800
a455af6e91feat: golang implementation from rust version
Billy Yip
2021-08-19 17:45:38 +0800
48a7b018f3Add clean test and fix paths-ignore in CI
#118
Bensuperpc
2021-08-11 19:54:59 +0200
24bebbf02bAdd github workflow for C and C++ version
Bensuperpc
2021-08-11 19:50:56 +0200
4d13c303dcUpdated package version numbers.
v1.7.0
Project Nayuki
2021-08-08 17:21:08 +0000
10c094f99bTweaked Rust configuration to exclude example programs from crate package.
Project Nayuki
2021-08-08 17:20:56 +0000
c614fd1ff8Added Java module declaration, updated POM to compile module as Java 9 but all other classes as Java 8.
Project Nayuki
2021-08-08 17:01:51 +0000
4eb5dfaa25Moved QrCodeGeneratorDemo.java out of the package because it's an informal demo and not a core library feature; this also simplifies the Maven build process.
Project Nayuki
2021-08-08 16:21:49 +0000
3562aceb20Added more blank lines to Java POM file.
Project Nayuki
2021-08-08 04:56:01 +0000
da7ad83c5cUpdated Java POM configuration to exclude QrCodeGeneratorDemo because it's not core library functionality.
Project Nayuki
2021-08-01 01:22:45 +0000
5300e400ecRenamed C++ output library file, avoiding conflict with C library if both get installed system-wide.
Project Nayuki
2021-08-01 00:58:25 +0000
11972825b8Tweaked TypeScript example code in readme to use more modern const/let instead of var.
Project Nayuki
2021-08-01 00:48:11 +0000
0feda2c009Imported changes to the readme document from the master branch.
Project Nayuki
2021-08-01 00:44:41 +0000
272bae5773Tweaked Markdown language info in readme document.
Project Nayuki
2021-08-01 00:42:44 +0000
c8e1b0caedFixed example code in Rust documentation, related to commits a88f0942af and 3da57e5aa0.
Project Nayuki
2021-08-01 00:18:51 +0000
cb4643510cImproved the memoizer by adding fast path and slightly simplified existing logic, updated copyright year in readme document.
Project Nayuki
2021-07-31 23:42:43 +0000
8f9c1be974Added new public functions QrSegment.{isNumeric(),isAlphanumeric()} and privatized the regexes in {Java, TypeScript, Python}, because the regexes are awkward compared to a clean abstraction.
Project Nayuki
2021-07-28 19:55:24 +0000
fd425bf995Publicized the Rust functions QrSegment.{is_numeric(),is_alphanumeric()}.
Project Nayuki
2021-07-28 19:53:05 +0000
04dd0fc06cTweaked QrCodeGeneratorDemo code to use QrSegmentAdvanced.makeKanji() instead of hard-coding the data words, while maintaining identical output image.
Project Nayuki
2021-07-28 19:15:14 +0000
bff4ea078cAdded parameters for custom module colors when rendering to SVG.
Project Nayuki
2021-07-28 19:12:53 +0000
02d182ebc2Added parameters for custom module colors when rendering to BufferedImage, changed some demo code to use non-black/white colors.
Project Nayuki
2021-07-28 19:09:20 +0000
8640ddf8a5Added spaces around multiplication operators in QrTemplate.getAlignmentPatternPositions(), for consistency with other code.
Project Nayuki
2021-07-28 19:04:14 +0000
07725617d7Removed the test worker program, because this is not core functionality and is hard to explain.
Project Nayuki
2021-07-28 19:03:31 +0000
1954c534bfMoved QrCode.toSvgString() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
Project Nayuki
2021-07-28 19:02:39 +0000
2515a4213cMoved QrCode.toImage() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
Project Nayuki
2021-07-28 19:00:32 +0000
e476134828Changed the words "white"->"light" and "black"->"dark" in comments and local variables, in order to match the vocabulary in the QR Code specification document.
Project Nayuki
2021-07-28 18:50:30 +0000
219d04a247Simplified code to remove unnecessary `this`, also improving consistency with other field assignments, enabled by a local variable renaming in commit 8dabf86641.
Project Nayuki
2021-07-28 18:47:30 +0000
6fb34fddc1Slightly improved the visual appearance of web pages for TypeScript/JavaScript demos, also tweaked a bit of HTML code.
Project Nayuki
2021-07-28 18:31:33 +0000
f29c84a2e7Added custom colors support to the TypeScript input demo web page and program.
Project Nayuki
2021-07-28 18:11:31 +0000
201993945dIn Java and TypeScript versions, added parameters for custom module colors when rendering to SVG.
Project Nayuki
2021-07-28 18:01:41 +0000
d8f0074fabIn TypeScript version, added parameters for custom module colors when rendering to canvas, changed some demo code to use non-black/white colors.
Project Nayuki
2021-07-28 17:55:59 +0000
bfd18b2fb8In Java version, added parameters for custom module colors when rendering to BufferedImage, changed some demo code to use non-black/white colors.
Project Nayuki
2021-07-28 17:48:21 +0000
87db45ef9cTweaked TypeScript code to correspond with other implementations for ease of auditing, without changing behavior.
Project Nayuki
2021-07-28 17:38:03 +0000
764749bd8aAdded spaces around multiplication operators in QrCode.getAlignmentPatternPositions() for all language versions, for consistency with other code.
Project Nayuki
2021-07-28 17:32:33 +0000
42bc11c763Updated C API comments to match the existing code logic requiring non-overlapping array buffers.
Project Nayuki
2021-07-28 17:21:25 +0000
2261248957Removed the test worker program in every language and the Python batch tester, because this is not core functionality and is hard to explain.
Project Nayuki
2021-07-28 17:09:18 +0000
d4080974f2Renamed the C++ library source files to qrcodegen, because there's no longer a file per class, related to commit 096c70cd4d.
Project Nayuki
2021-07-28 17:09:18 +0000
89895daf1dChanged Java classpath in Python batch tester to match Maven's convention.
Project Nayuki
2021-07-28 17:09:18 +0000
cd037d9149In C++ version: moved QrCode.toSvgString() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
Project Nayuki
2021-07-28 17:09:16 +0000
5bc7bce3c3In Rust version: moved QrCode.to_svg_string() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
Project Nayuki
2021-07-28 17:09:05 +0000
3dcac1db78In Python version: moved QrCode.to_svg_string() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
Project Nayuki
2021-07-28 17:09:05 +0000
3531fda14fIn TypeScript version: moved QrCode.toSvgString() out of the library and into a demo program, slightly adapted some code, updated documentation comments.
Project Nayuki
2021-07-28 17:09:02 +0000
1cc4617d57In TypeScript version: moved QrCode.drawCanvas() out of the library and into demo programs, slightly adapted some code, updated documentation comments.
Project Nayuki
2021-07-28 17:06:31 +0000
6cd17bb9fbIn Java version: moved QrCode.toSvgString() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
Project Nayuki
2021-07-28 17:06:27 +0000
010410be02In Java version: moved QrCode.toImage() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
Project Nayuki
2021-07-28 17:05:35 +0000