Git log: commit fb5f03c052e4767494e41f42508a31c282059132
Author: yangfl <yangfl@users.noreply.github.com>
Date: Mon May 16 23:36:29 2022 +0800
debian: update to 1.8.0
commit de6b83ffbf7f0e25bfc5080c12347923c5a2a904
Merge: 52b7c97 720f62b
Author: yangfl <yangfl@users.noreply.github.com>
Date: Mon May 16 23:34:25 2022 +0800
Merge tag 'v1.8.0'
commit 720f62bddb7226106071d4728c292cb1df519ceb
Author: Project Nayuki <me@nayuki.io>
Date: Sun Apr 17 04:14:51 2022 +0000
Updated package version numbers.
commit 4e41cb2c721a5e06eff75e79fd47a4274f6bb8b0
Author: Project Nayuki <me@nayuki.io>
Date: Sat Jan 8 04:28:10 2022 +0000
Copied paragraphs in Rust comments for top-level QR-encoding functions for consistency.
commit f3705873ab6cc5e4ff64400d227dba2b5164ce74
Author: Project Nayuki <me@nayuki.io>
Date: Sat Jan 8 04:26:56 2022 +0000
Rewrote comments for top-level QR-encoding functions in C, to correspond better to other language ports.
commit 33af976bba734668a55e4c71e1b611261d17667a
Author: Project Nayuki <me@nayuki.io>
Date: Sat Jan 8 03:42:50 2022 +0000
Fixed a misspelled word in C comments.
commit d524de615364fe630040b208b4caa14b6cd8e526
Author: Project Nayuki <me@nayuki.io>
Date: Fri Jan 7 17:42:50 2022 +0000
Changed to standard error classes in TypeScript code.
commit 17e1a8a6d42fbbd66e63ddca204fb267610e8e88
Author: Project Nayuki <me@nayuki.io>
Date: Fri Jan 7 17:40:03 2022 +0000
Marked Rust code to forbid unsafe.
commit 33442ea74a4f750243954227c3020993f1410e52
Author: Project Nayuki <me@nayuki.io>
Date: Fri Jan 7 17:25:27 2022 +0000
Updated copyright year in readme document.
commit 9e81969139268938134aa68dc984c5fb666f5741
Author: Project Nayuki <me@nayuki.io>
Date: Fri Jan 7 06:04:32 2022 +0000
Added a comment in Java QrSegmentAdvanced.makeSegmentsOptimally() functions to be consistent with QrCode.encodeSegments().
commit daa3114dcfc6f6f8136488730c64edabf884e4eb
Author: Project Nayuki <me@nayuki.io>
Date: Fri Jan 7 06:00:18 2022 +0000
Replaced str.format() with f-strings in Python code.
commit e6ef02e0f5281cf269fefd97962efc3d56e0ffdd
Author: Project Nayuki <me@nayuki.io>
Date: Fri Jan 7 05:54:28 2022 +0000
Removed run-time type assertions in Python code in favor of static type hints.
commit 52a3273d8cf2d50729d123e399c41a3c53de5042
Author: Project Nayuki <me@nayuki.io>
Date: Fri Dec 3 06:05:20 2021 +0000
Updated documentation comments for QrCode::{encode_text(),encode_binary()} in Rust-no-heap and C ports.
commit d4085a443a680aa4acfbe067de2a3226f3b909b6
Author: Project Nayuki <me@nayuki.io>
Date: Fri Dec 3 05:56:54 2021 +0000
Revamped documentation comments about argument arrays in the C and Rust-no-heap ports.
commit 5990e6a99c7984074dff600ab7cd73164711e16e
Author: Project Nayuki <me@nayuki.io>
Date: Wed Dec 1 06:01:50 2021 +0000
- 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.
commit d02fe511ccf819f6b02a045445600ed10dffa113
Author: Project Nayuki <me@nayuki.io>
Date: Wed Dec 1 05:58:37 2021 +0000
Updated the content of language-specific readme files and package-level documentation comments.
commit df44e259d1dabad66b4450aa657c0b2d91202f88
Author: Project Nayuki <me@nayuki.io>
Date: Wed Dec 1 05:56:12 2021 +0000
Added a paragraph to partially synchronize all readme files and package-level documentation comments.
commit 7a052cc5b230ab7d661f70ca0589d98cce425af0
Author: Project Nayuki <me@nayuki.io>
Date: Thu Nov 25 04:45:32 2021 +0000
Removed references to other programming languages within language-specific overview/readme text.
commit f39234b755a38b79f9c2922d2de0d8897bbb747f
Author: Project Nayuki <me@nayuki.io>
Date: Thu Nov 25 04:43:16 2021 +0000
Clarified the Rust-no-heap documentation example code.
commit d0d0474e4c097717e1d846a357e4f165ae309ca8
Merge: d8ea85f e3e8276
Author: Project Nayuki <me@nayuki.io>
Date: Sun Nov 14 21:40:35 2021 +0000
Merged two separate but related projects:
- QR Code generator library (6 languages) (commit d8ea85f2e2a6)
- Fast QR Code generator library (Java) (commit e3e827614941)
commit e3e82761494184a0b5848b1e2593b39f624ef0f4
Author: Project Nayuki <me@nayuki.io>
Date: Sun Nov 14 21:39:35 2021 +0000
Renamed directory, moved file.
commit d8ea85f2e2a62852217b71151029cee7cc019139
Author: Project Nayuki <me@nayuki.io>
Date: Sun Nov 14 21:37:26 2021 +0000
Added another implementation in Rust, distinguished by performing no heap allocations and enabling no_std.
commit c99a727c8b2a518f6556efc6e40fda4ed7d870a6
Author: Project Nayuki <me@nayuki.io>
Date: Sun Nov 14 21:34:10 2021 +0000
Updated function-level comments in the C language port.
commit 8bd5ed46b5b78f1144ef2b298168fcb793142419
Author: Project Nayuki <me@nayuki.io>
Date: Fri Nov 12 04:44:46 2021 +0000
Revamped the DataTooLong error type in Rust to change from string to enum and remove Error.description().
commit fb9638d591283939d0d889724c275bbe6b96c0ac
Author: Project Nayuki <me@nayuki.io>
Date: Fri Nov 12 03:43:07 2021 +0000
Reformatted a long function signature in Rust.
commit 253ef19a4d9230031c5cbd1e8a56b5930758c3e0
Author: Project Nayuki <me@nayuki.io>
Date: Fri Nov 12 03:31:18 2021 +0000
Reformatted some Rust code so that the expressions surrounding `..` have no spaces around operators.
commit 50f0c4b5bc87618c8ea2416a00b647c0746a3188
Author: Project Nayuki <me@nayuki.io>
Date: Fri Nov 12 03:28:41 2021 +0000
Tweaked some of QrSegment.makeEci()'s integer literals to binary notations in most language ports.
commit 86a49ba597884bd3fc83395c97a26250a1586077
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 23:11:39 2021 +0000
Tweaked Rust code to use `T::try_from(x).unwrap()` instead of `x as T`, in some cases for safety.
commit 67ddbb6304dd9e680f2173b10d89db5c5ac1b9e5
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 23:09:37 2021 +0000
Clarified a few bits of Rust code.
commit d239c32c45d10655f3a37753a83af0a96a33332b
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 23:08:44 2021 +0000
Simplified a few comparisons in Rust code.
commit cb4cecf5e3ab6d1197637e6a93598ab24d037c9f
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 17:10:14 2021 +0000
Refactored TypeScript code to add assert() function to make it easier to read the intent and compare to other language ports.
commit ad537b93d98c1e0422c88d9ce3d40fddccc69903
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 17:03:16 2021 +0000
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.
commit 68cddb816d71d5413687c422b90769660e6d8888
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 16:59:04 2021 +0000
Improved some assertion error messages, corresponding to Rust's unreachable!().
commit f6f91e4a7fd51dd736497e64535f2d82a5b6c0c5
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 16:48:52 2021 +0000
Removed unhelpful assertion error messages from Rust code.
commit 845eab6f36d8b7fff368ce1afd4a7da7323ef629
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 06:32:34 2021 +0000
Simplified a bit of code.
commit c7ab2582aafe095daaa13e9cd8c712090dfcef7d
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 06:15:19 2021 +0000
Added value range assertions to QrCode.getPenaltyScore(), in all language ports.
commit 97b2d9d71cba93e9db059db5aafda5ef63e7c7f4
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 05:49:12 2021 +0000
Added class section comments to C++ code, related to commit 096c70cd4d4b.
commit edc91c622e1cbfcdd82380aa48ce7b559cf4b72b
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 05:45:29 2021 +0000
Renamed a local variable in Rust code for consistency with other language ports.
commit f0945bc682766bd46647f7be54ff34a5f2f8dc70
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 05:42:47 2021 +0000
Tweaked Python, Rust, TypeScript code to rename the constructor `mask` parameter to `msk` for consistency with Java and C++ language ports (related to commit 67c62461d380), and to avoid potential confusion with the object field named `mask`.
commit d6be9c5e446a0de099ac9b1ce99a832136317194
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 05:34:38 2021 +0000
Slightly tweaked code and comments to correspond to other language ports.
commit 41b90335d976be992a669f69d571dc12888c3dea
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 05:33:44 2021 +0000
Inlined Java handleConstructorMasking() and tweaked comments to correspond to other language ports.
commit c53c754acf3c53904dd9ce9b797f1bdd578f06c9
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 05:31:06 2021 +0000
Added/tweaked comments in C code to correspond to the other language ports.
commit 359c42557caa9f54d53268ce6c4a30b049f1b976
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 05:17:02 2021 +0000
Renamed a C library internal function getModule() to getModuleBounded().
commit 94aca572e4fef6227da83cdfc83f61407e031457
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 05:16:30 2021 +0000
Renamed a C library internal function setModule() to setModuleBounded().
commit a078f19cf447ae9756e70056938e8bfc7685031a
Author: Project Nayuki <me@nayuki.io>
Date: Sat Nov 6 05:15:25 2021 +0000
Renamed a C library internal function setModuleBounded() to setModuleUnbounded().
commit c6fcc212d14ebd60620e2e06428fc309e87836ca
Author: Project Nayuki <me@nayuki.io>
Date: Thu Nov 4 15:34:49 2021 +0000
Simplified a bit of internal Rust code.
commit 3ae414166691845408171ad924c657c0494306e7
Author: Project Nayuki <me@nayuki.io>
Date: Thu Nov 4 15:18:34 2021 +0000
Slightly deoptimized Rust code for clarity, partly undoing commit 6c1f96789429.
commit 2fc287904a8c2f2cb504c5710ee58684dd2bf697
Author: Project Nayuki <me@nayuki.io>
Date: Thu Nov 4 14:45:44 2021 +0000
Tweaked C code to avoid unused-parameter warning when compiling without asserts.
commit a06aef7c6269caa528d760ed360ad30837139bd3
Author: Project Nayuki <me@nayuki.io>
Date: Wed Oct 20 01:56:33 2021 +0000
Added null checks and error termination logic to runnable main C code after calls to malloc()/calloc(), removed an unnecessary non-null assertion.
commit c6cbb388a70d2906520a4f15dbd67561aa296da9
Author: Project Nayuki <me@nayuki.io>
Date: Thu Oct 14 15:30:31 2021 +0000
Made TypeScript code more robust by adding Readonly<> wrapper around appropriate array types in function parameters.
commit a6f886f6ffcf96e4a6e4f779f85c777cde54a22b
Author: Project Nayuki <me@nayuki.io>
Date: Fri Oct 1 18:08:11 2021 +0000
Fixed example Rust code in readme, related to commit c8e1b0caed50.
commit 599b637c73fbb1c2e729581652a6b4196e953ad3
Author: Project Nayuki <me@nayuki.io>
Date: Fri Oct 1 18:04:48 2021 +0000
Fixed example Rust code in documentation comments, due to commit 6c1f96789429.
commit df548a379d654ba36a0632ba0f01f07b3310f607
Author: Project Nayuki <me@nayuki.io>
Date: Thu Sep 16 16:21:19 2021 +0000
Refactored Rust code to use {Range,RangeInclusive}.contains() instead of primitive operations.
commit 5615dbab5d88a59a15c7d4b69d4b837bdb3c2a41
Author: Project Nayuki <me@nayuki.io>
Date: Sun Sep 5 04:13:10 2021 +0000
Hyphenated a phrase.
commit cb4643510cc8a5793b87d09140842f2e62ef86c9
Author: Project Nayuki <me@nayuki.io>
Date: Sat Jul 31 23:42:43 2021 +0000
Improved the memoizer by adding fast path and slightly simplified existing logic, updated copyright year in readme document.
commit 04dd0fc06c9bf977fed68c0e96100d60b54edf58
Author: Project Nayuki <me@nayuki.io>
Date: Wed Jul 28 19:15:14 2021 +0000
Tweaked QrCodeGeneratorDemo code to use QrSegmentAdvanced.makeKanji() instead of hard-coding the data words, while maintaining identical output image.
commit bff4ea078c0434416ea07155dc5dde3acfc40630
Author: Project Nayuki <me@nayuki.io>
Date: Wed Jul 28 19:12:53 2021 +0000
Added parameters for custom module colors when rendering to SVG.
commit 02d182ebc2c57968762bd612660dade7f0aedc1f
Author: Project Nayuki <me@nayuki.io>
Date: Wed Jul 28 19:09:20 2021 +0000
Added parameters for custom module colors when rendering to BufferedImage, changed some demo code to use non-black/white colors.
commit 8640ddf8a53f81b72f7dfa08e2e764e86732f160
Author: Project Nayuki <me@nayuki.io>
Date: Wed Jul 28 19:04:14 2021 +0000
Added spaces around multiplication operators in QrTemplate.getAlignmentPatternPositions(), for consistency with other code.
commit 07725617d7b7302341fe1be6ba8c8609b91d5ae1
Author: Project Nayuki <me@nayuki.io>
Date: Wed Jul 28 19:03:31 2021 +0000
Removed the test worker program, because this is not core functionality and is hard to explain.
commit 1954c534bf59c133bc7481aad866390b622775fe
Author: Project Nayuki <me@nayuki.io>
Date: Wed Jul 28 19:02:39 2021 +0000
Moved QrCode.toSvgString() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
commit 2515a4213cce689f853f8cc9ca0d8ba78e796f5e
Author: Project Nayuki <me@nayuki.io>
Date: Wed Jul 28 19:00:32 2021 +0000
Moved QrCode.toImage() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
commit e4761348282ced2e90c7d67da43a255d852859f5
Author: Project Nayuki <me@nayuki.io>
Date: Wed Jul 28 18:50:30 2021 +0000
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.
commit 219d04a2477ea9c022c201c96d97bfbad8ac7586
Author: Project Nayuki <me@nayuki.io>
Date: Wed Jul 28 18:47:30 2021 +0000
Simplified code to remove unnecessary `this`, also improving consistency with other field assignments, enabled by a local variable renaming in commit 8dabf8664130.
commit db2d52116a9e587785a80b1ba05825009db1fdfa
Author: Project Nayuki <me@nayuki.io>
Date: Wed Jul 28 18:45:28 2021 +0000
Simplified QrCode.getPenalty().
commit 8dabf86641301b1de0fb91e083fea5a6c529814f
Author: Project Nayuki <me@nayuki.io>
Date: Mon Oct 14 00:19:03 2019 +0000
Renamed some method parameters to completely avoid variable shadowing.
commit 1edf83109fabbbe6c6a2aa044bdd63540078c2eb
Author: Project Nayuki <me@nayuki.io>
Date: Sun Jul 21 17:18:03 2019 +0000
Updated readme text, synchronized package-info Javadoc text with the readme.
commit f05a8f9098bd1bbad12b04bf87d783bb4f192c99
Author: Project Nayuki <me@nayuki.io>
Date: Sun Jul 21 00:04:52 2019 +0000
Replaced the finder-like pattern detection algorithm with a more sophisticated and accurate one, synchronizing with the parent project.
commit 42c357ae1c73633a73b26ac6de7f297e00a78956
Author: Project Nayuki <me@nayuki.io>
Date: Sun Jul 21 00:01:11 2019 +0000
Renamed a local variable.
commit 4671dca0ad45c3d0915e0c0cd9453da4afd51409
Author: Project Nayuki <me@nayuki.io>
Date: Sat Jul 20 23:56:18 2019 +0000
Tweaked a bit of code for simplicity.
commit afc12dc9d22fa08ad91654c2023253247a238a87
Author: Project Nayuki <me@nayuki.io>
Date: Sat Jul 20 23:56:02 2019 +0000
Synchronized some code with the parent project, without changing behavior.
commit 6d6e0f3fded0d5ac0f0e69fd2e8a759c340873ab
Author: Project Nayuki <me@nayuki.io>
Date: Sat Jul 20 23:54:55 2019 +0000
Added and updated many comments, almost all at the member level (rarely within functions), some with original wording, some synchronizing with the main qrcodegen project.
commit 960b9cd32dd9c8fb8580f57c5cdee0f6aa1b181b
Author: Project Nayuki <me@nayuki.io>
Date: Sat Jul 20 19:13:46 2019 +0000
Deleted some static imports.
commit fa7a0926729a297cce99e670e12fc1b1449fb26f
Author: Project Nayuki <me@nayuki.io>
Date: Sat Jul 20 19:13:19 2019 +0000
Deleted some section comments.
commit f8f01c4d4e930a77e2e237dbbaf3b2c627319de0
Author: Project Nayuki <me@nayuki.io>
Date: Sat Jul 20 19:12:00 2019 +0000
Refactored logic in QrTemplate and ReedSolomonGenerator into new Memozier class.
commit df55fd6504a367f0648e573424b3d844e838ed86
Author: Project Nayuki <me@nayuki.io>
Date: Mon Nov 5 05:18:03 2018 +0000
Rearranged variables, updated comment.
commit 47541e1b29df1aad8010d81af144fc1bc44fae72
Author: Project Nayuki <me@nayuki.io>
Date: Mon Nov 5 05:17:45 2018 +0000
Simplified some code in getPenaltyScore().
commit 655bb970ce1b2d658f3a7603532c8b78b0c0ccd2
Author: Project Nayuki <me@nayuki.io>
Date: Mon Nov 5 05:16:26 2018 +0000
Completely rewrote the algorithm for detecting finder-like patterns, making it more accurate and compliant with the QR Code specification.
commit f4f971f3847c6f9b9d498cd22e66ebbe850078d6
Author: Project Nayuki <me@nayuki.io>
Date: Mon Nov 5 05:10:33 2018 +0000
Inverted some if-else statements in getPenaltyScore().
commit b2671166cec80ba8deda8077e30e4fbfc43254af
Author: Project Nayuki <me@nayuki.io>
Date: Mon Nov 5 05:09:58 2018 +0000
Renamed many variables in getPenaltyScore(), in preparation for future changes.
commit 8551314425dac9130a99c016d91360c72de63d7b
Author: Project Nayuki <me@nayuki.io>
Date: Mon Nov 5 04:38:11 2018 +0000
Added/updated/deleted some comments.
commit df729db98bb9a4a7dbf1b18bb30891d634e820a4
Author: Project Nayuki <me@nayuki.io>
Date: Mon Nov 5 04:37:57 2018 +0000
Added "data too long" exception class, changed code to make use of it, updated Javadoc comments.
commit 2f4b0e8fd8749341c064bc73ab7d2f6fd4bf07a7
Author: Project Nayuki <me@nayuki.io>
Date: Mon Nov 5 04:37:27 2018 +0000
Tweaked drawFormatBits() and drawDummyFormatBits() to use end-exclusive range in second copy for clarity.
commit badeca0dc9c0eb84ed72585448cb090f7510b192
Author: Project Nayuki <me@nayuki.io>
Date: Sat Oct 13 21:22:52 2018 +0000
Imported QrSegmentAdvanced from the parent project, changed a constant to be package-private, updated readme.