Commit Graph

  • 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
  • d02fe511cc Updated the content of language-specific readme files and package-level documentation comments. Project Nayuki 2021-12-01 05:58:37 +0000
  • df44e259d1 Added a paragraph to partially synchronize all readme files and package-level documentation comments. Project Nayuki 2021-12-01 05:56:12 +0000
  • 7a052cc5b2 Removed references to other programming languages within language-specific overview/readme text. Project Nayuki 2021-11-25 04:45:32 +0000
  • f39234b755 Clarified the Rust-no-heap documentation example code. Project Nayuki 2021-11-25 04:43:16 +0000
  • d0d0474e4c Merged 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
  • e3e8276149 Renamed directory, moved file. Project Nayuki 2021-11-14 21:39:35 +0000
  • d8ea85f2e2 Added another implementation in Rust, distinguished by performing no heap allocations and enabling no_std. Project Nayuki 2021-11-14 21:37:26 +0000
  • c99a727c8b Updated function-level comments in the C language port. Project Nayuki 2021-11-14 21:34:10 +0000
  • 8bd5ed46b5 Revamped 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
  • fb9638d591 Reformatted a long function signature in Rust. Project Nayuki 2021-11-12 03:43:07 +0000
  • 253ef19a4d Reformatted some Rust code so that the expressions surrounding `..` have no spaces around operators. Project Nayuki 2021-11-12 03:31:18 +0000
  • 50f0c4b5bc Tweaked some of QrSegment.makeEci()'s integer literals to binary notations in most language ports. Project Nayuki 2021-11-12 03:28:41 +0000
  • 86a49ba597 Tweaked 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
  • 67ddbb6304 Clarified a few bits of Rust code. Project Nayuki 2021-11-06 23:09:37 +0000
  • d239c32c45 Simplified a few comparisons in Rust code. Project Nayuki 2021-11-06 23:08:44 +0000
  • cb4cecf5e3 Refactored 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
  • ad537b93d9 Changed 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
  • 68cddb816d Improved some assertion error messages, corresponding to Rust's unreachable!(). Project Nayuki 2021-11-06 16:59:04 +0000
  • f6f91e4a7f Removed unhelpful assertion error messages from Rust code. Project Nayuki 2021-11-06 16:48:52 +0000
  • 845eab6f36 Simplified a bit of code. Project Nayuki 2021-11-06 06:32:34 +0000
  • c7ab2582aa Added value range assertions to QrCode.getPenaltyScore(), in all language ports. Project Nayuki 2021-11-06 06:15:19 +0000
  • 97b2d9d71c Added class section comments to C++ code, related to commit 096c70cd4d. Project Nayuki 2021-11-06 05:49:12 +0000
  • edc91c622e Renamed a local variable in Rust code for consistency with other language ports. Project Nayuki 2021-11-06 05:45:29 +0000
  • f0945bc682 Tweaked 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
  • d6be9c5e44 Slightly tweaked code and comments to correspond to other language ports. Project Nayuki 2021-11-06 05:34:38 +0000
  • 41b90335d9 Inlined Java handleConstructorMasking() and tweaked comments to correspond to other language ports. Project Nayuki 2021-11-06 05:33:44 +0000
  • c53c754acf Added/tweaked comments in C code to correspond to the other language ports. Project Nayuki 2021-11-06 05:31:06 +0000
  • 359c42557c Renamed a C library internal function getModule() to getModuleBounded(). Project Nayuki 2021-11-06 05:17:02 +0000
  • 94aca572e4 Renamed a C library internal function setModule() to setModuleBounded(). Project Nayuki 2021-11-06 05:16:30 +0000
  • a078f19cf4 Renamed a C library internal function setModuleBounded() to setModuleUnbounded(). Project Nayuki 2021-11-06 05:15:25 +0000
  • c6fcc212d1 Simplified a bit of internal Rust code. Project Nayuki 2021-11-04 15:34:49 +0000
  • 3ae4141666 Slightly deoptimized Rust code for clarity, partly undoing commit 6c1f967894. Project Nayuki 2021-11-04 15:18:34 +0000
  • 2fc287904a Tweaked C code to avoid unused-parameter warning when compiling without asserts. Project Nayuki 2021-11-04 14:45:44 +0000
  • 9fa45a66de Fix C compilation with -Werror=unused-parameter and without asserts. #127 Martin Milata 2021-11-04 11:51:56 +0100
  • a06aef7c62 Added 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
  • c6cbb388a7 Made TypeScript code more robust by adding Readonly<> wrapper around appropriate array types in function parameters. Project Nayuki 2021-10-14 15:30:31 +0000
  • a6f886f6ff Fixed example Rust code in readme, related to commit c8e1b0caed. Project Nayuki 2021-10-01 18:08:11 +0000
  • 599b637c73 Fixed example Rust code in documentation comments, due to commit 6c1f967894. Project Nayuki 2021-10-01 18:04:48 +0000
  • df548a379d Refactored Rust code to use {Range,RangeInclusive}.contains() instead of primitive operations. Project Nayuki 2021-09-16 16:21:19 +0000
  • 3301b07c21 Simplified small pieces of Rust code. Project Nayuki 2021-09-16 16:19:25 +0000
  • fb6d7f11db remove build files #123 Florian Blasius 2021-09-13 14:07:25 +0200
  • ce5efd15b5 add no_std support Florian Blasius 2021-09-13 14:05:29 +0200
  • 6c1f967894 Changed 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
  • 3185c310e3 Refactored a repeated expression in Rust code. Project Nayuki 2021-09-09 18:08:14 +0000
  • 5615dbab5d Hyphenated a phrase. Project Nayuki 2021-09-05 04:13:10 +0000
  • db4ad0bda8 Hyphenated a phrase. Project Nayuki 2021-09-05 03:23:30 +0000
  • 4c74eea03e Generalized 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
  • 72037f3047 Added 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
  • 0b7843db6c refactor: todo comment and align coding style #119 Billy Yip 2021-08-19 22:19:30 +0800
  • 447bf989b5 refactor: add error bound example Billy Yip 2021-08-19 21:50:16 +0800
  • 5e8f5810b7 refactor: code style alignment Billy Yip 2021-08-19 20:51:00 +0800
  • a455af6e91 feat: golang implementation from rust version Billy Yip 2021-08-19 17:45:38 +0800
  • 48a7b018f3 Add clean test and fix paths-ignore in CI #118 Bensuperpc 2021-08-11 19:54:59 +0200
  • 24bebbf02b Add github workflow for C and C++ version Bensuperpc 2021-08-11 19:50:56 +0200
  • 233b4ee331 Fixed static typing omissions in Python code. Project Nayuki 2021-08-11 17:07:32 +0000
  • 4d13c303dc Updated package version numbers. v1.7.0 Project Nayuki 2021-08-08 17:21:08 +0000
  • 10c094f99b Tweaked Rust configuration to exclude example programs from crate package. Project Nayuki 2021-08-08 17:20:56 +0000
  • c614fd1ff8 Added 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
  • 4eb5dfaa25 Moved 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
  • 3562aceb20 Added more blank lines to Java POM file. Project Nayuki 2021-08-08 04:56:01 +0000
  • da7ad83c5c Updated Java POM configuration to exclude QrCodeGeneratorDemo because it's not core library functionality. Project Nayuki 2021-08-01 01:22:45 +0000
  • 5300e400ec Renamed C++ output library file, avoiding conflict with C library if both get installed system-wide. Project Nayuki 2021-08-01 00:58:25 +0000
  • 11972825b8 Tweaked TypeScript example code in readme to use more modern const/let instead of var. Project Nayuki 2021-08-01 00:48:11 +0000
  • 6f68c21b1b Merged. Project Nayuki 2021-08-01 00:45:26 +0000
  • 0feda2c009 Imported changes to the readme document from the master branch. Project Nayuki 2021-08-01 00:44:41 +0000
  • 272bae5773 Tweaked Markdown language info in readme document. Project Nayuki 2021-08-01 00:42:44 +0000
  • c8e1b0caed Fixed example code in Rust documentation, related to commits a88f0942af and 3da57e5aa0. Project Nayuki 2021-08-01 00:18:51 +0000
  • cb4643510c Improved 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
  • 8f9c1be974 Added 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
  • fd425bf995 Publicized the Rust functions QrSegment.{is_numeric(),is_alphanumeric()}. Project Nayuki 2021-07-28 19:53:05 +0000
  • 0e80f23c04 Reordered QrSegment.{isNumeric(),isAlphanumeric()} in {C, C++, Rust} versions. Project Nayuki 2021-07-28 19:45:54 +0000
  • 04dd0fc06c Tweaked 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
  • bff4ea078c Added parameters for custom module colors when rendering to SVG. Project Nayuki 2021-07-28 19:12:53 +0000
  • 02d182ebc2 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 19:09:20 +0000
  • 8640ddf8a5 Added spaces around multiplication operators in QrTemplate.getAlignmentPatternPositions(), for consistency with other code. Project Nayuki 2021-07-28 19:04:14 +0000
  • 07725617d7 Removed the test worker program, because this is not core functionality and is hard to explain. Project Nayuki 2021-07-28 19:03:31 +0000
  • 1954c534bf 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 19:02:39 +0000
  • 2515a4213c 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 19:00:32 +0000
  • e476134828 Changed 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
  • 219d04a247 Simplified 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
  • db2d52116a Simplified QrCode.getPenalty(). Project Nayuki 2021-07-28 18:45:28 +0000
  • 6fb34fddc1 Slightly 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
  • f29c84a2e7 Added custom colors support to the TypeScript input demo web page and program. Project Nayuki 2021-07-28 18:11:31 +0000
  • 201993945d In Java and TypeScript versions, added parameters for custom module colors when rendering to SVG. Project Nayuki 2021-07-28 18:01:41 +0000
  • d8f0074fab In 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
  • bfd18b2fb8 In 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
  • 87db45ef9c Tweaked TypeScript code to correspond with other implementations for ease of auditing, without changing behavior. Project Nayuki 2021-07-28 17:38:03 +0000
  • 764749bd8a Added 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
  • 42bc11c763 Updated C API comments to match the existing code logic requiring non-overlapping array buffers. Project Nayuki 2021-07-28 17:21:25 +0000
  • 2261248957 Removed 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
  • d4080974f2 Renamed 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
  • 89895daf1d Changed Java classpath in Python batch tester to match Maven's convention. Project Nayuki 2021-07-28 17:09:18 +0000
  • cd037d9149 In 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
  • 5bc7bce3c3 In 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
  • 3dcac1db78 In 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
  • 3531fda14f In 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
  • 1cc4617d57 In 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
  • 6cd17bb9fb In 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
  • 010410be02 In 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