Commit Graph

839 Commits

Author SHA1 Message Date
Project Nayuki
98963e5cba Tweaked Rust code to narrow the bit width of QrCodeEcc.format_bits(). 2020-10-14 01:27:54 +00:00
Project Nayuki
455e0b2427 Merged. 2020-09-12 16:29:56 +00:00
Neil Haran
0df0908723 In C++ version, use const-reference in QrSegment ctor rather than deep copy. 2020-07-18 13:06:14 +01:00
Igor Guerrero
4fae48a99a
Update README to add syntax highlighting to each example 2020-06-25 23:29:27 -04:00
Project Nayuki
08ac806145 Updated Python setup files due to commit f93ce5217e. 2020-06-09 17:52:12 +00:00
Project Nayuki
c3a72b7333 Fixed handling of type annotations in Python code (due to commit 55dd3c881e). 2020-06-09 15:05:02 +00:00
Project Nayuki
6951a7e49e Fixed regex usage in Python code (due to commit 9ed47110a5). 2020-06-09 15:04:21 +00:00
Project Nayuki
9ed47110a5 Simplified regular expressions for Python 3. 2020-05-08 16:02:06 +00:00
Project Nayuki
55dd3c881e Added type annotations to all Python functions and methods, and almost all global variables. 2020-04-24 18:07:59 +00:00
Project Nayuki
49f9ea0890 Tweaked Python code to allow static type checking, without changing behavior. 2020-04-24 18:06:22 +00:00
Project Nayuki
979de6d335 Simplified a bit of Python code. 2020-04-24 17:57:23 +00:00
Project Nayuki
f93ce5217e Simplified code by removing support for Python 2, leaving only support for Python 3. 2020-04-24 17:40:17 +00:00
Project Nayuki
71c75cfeb0 Tweaked Java Maven POM configuration. 2020-03-05 19:00:48 +00:00
Project Nayuki
fd849b188c Updated package version numbers. 2020-03-05 17:46:11 +00:00
Thomas Klausner
5217af7cf6 Honor LDFLAGS when building executables. 2020-02-08 18:48:32 +01:00
Project Nayuki
13a25580a3 Simplified QrCode.getPenalty() in all language versions except Rust, related to commit 1439e8e4a5. 2020-01-29 17:52:21 +00:00
Project Nayuki
ae22a368bb De-optimized a bit of Java code to tighten scope at the expense of allocating more temporary memory. 2020-01-29 17:23:44 +00:00
Project Nayuki
2da5091674 Tweaked Rust code to add useful auto-derived traits to almost all structs. 2020-01-29 17:07:07 +00:00
Project Nayuki
fd6917601d Fixed path in batch tester, due to commit f759146df3. 2020-01-27 01:01:37 +00:00
Project Nayuki
1439e8e4a5 Simplified some Rust code. 2020-01-27 00:53:27 +00:00
Project Nayuki
fd8720cd31 Simplified a bit of TypeScript code. 2020-01-27 00:41:13 +00:00
Project Nayuki
ec65e32037 Updated copyright year in readme document. 2020-01-27 00:41:07 +00:00
Project Nayuki
6ea933f159 Refactored Rust code to collect some private functions into new private struct. 2020-01-20 03:22:04 +00:00
Project Nayuki
29119d3f2e Fixed typo, added blank line. 2020-01-20 03:06:05 +00:00
Project Nayuki
096c70cd4d Reorganized C++ library code into one implementation source file and one header file (instead of 3+3), changing some spacing and ordering, without changing functionality. 2020-01-11 18:26:12 +00:00
Project Nayuki
67c62461d3 Renamed some method parameters to completely avoid variable shadowing, in C++ and Java versions. 2019-10-14 00:20:16 +00:00
Project Nayuki
8dabf86641 Renamed some method parameters to completely avoid variable shadowing. 2019-10-14 00:19:03 +00:00
Project Nayuki
fe992753d2 Tweaked Rust code to convert more integer casts from 'as' to 'from'. 2019-09-18 20:40:23 +00:00
Project Nayuki
6e088f72d3 Added an assertion to QrCode.getNumRawDataModules() in all language versions. 2019-09-13 04:09:42 +00:00
Project Nayuki
585e80e4f5 Slightly simplified Rust code so that for-loops and lambdas capture variables as value-copy instead of reference. 2019-09-13 04:03:32 +00:00
Project Nayuki
e83ac1cd62 Simplified and clarified various pieces of Rust code. 2019-09-13 04:02:23 +00:00
Project Nayuki
2136d88ac8 Tweaked Rust code to use inclusive-range for-loops where appropriate. 2019-09-13 03:44:56 +00:00
Project Nayuki
9fdd05e64d Simplified some pieces of Rust code. 2019-09-12 17:26:51 +00:00
Project Nayuki
765527895c Tightened some Rust variable scopes, simplified a bit of code. 2019-09-12 17:25:32 +00:00
Project Nayuki
6007d92aaa Tweaked Rust code to reduce redundant type declarations. 2019-09-12 17:19:39 +00:00
Project Nayuki
eb115a9931 Tweaked Rust code to convert more integer casts from 'as' to 'from'. 2019-09-12 16:24:41 +00:00
Project Nayuki
c5d4709e0e Tweaked a C++ integer cast. 2019-09-10 19:25:21 +00:00
Project Nayuki
6431ef47fd Tweaked Rust code to have safer integer lossless upcasts, thanks to clippy's diagnostics. 2019-08-10 02:47:22 +00:00
Project Nayuki
621a77757e Simplified miscellaneous Rust code, due to clippy linting. 2019-08-10 02:41:40 +00:00
Project Nayuki
78ee34f9a6 Simplified some Rust methods to be pass-by-copy-value instead of pass-by-reference, thanks to clippy (linter)'s suggestions. 2019-08-10 02:39:13 +00:00
Project Nayuki
1424d9f332 Simplified a bit of TypeScript and Rust code using for-each looping. 2019-08-10 02:36:56 +00:00
Project Nayuki
7eac8beffe Updated C and C++ makefiles to exclude warnings and sanitizers by default, instead recommending extra flags for manually doing a diagnostic/debug build. 2019-08-09 23:00:13 +00:00
Project Nayuki
50d00ebf76 Simplified Rust code using ?-operator on Option (Rust 1.22). 2019-08-08 06:58:20 +00:00
Project Nayuki
20e904578e Updated readme text in multiple programming language versions. 2019-07-30 20:44:38 +00:00
Project Nayuki
f9c8183f64 Merged. 2019-07-30 19:04:05 +00:00
Project Nayuki
c22fc2f8f6 Tweaked readme text slightly. 2019-07-30 19:03:49 +00:00
Project Nayuki
a2704103bb Added new HTML+TypeScript demo program, corresponding to the command line demos of all other languages. 2019-07-30 19:03:10 +00:00
Project Nayuki
d5d431a2d4 Renamed a local variable in Python code. 2019-07-30 18:54:51 +00:00
Project Nayuki
146105007c Simplified some new TypeScript demo code. 2019-07-30 18:12:56 +00:00
Project Nayuki
cf612ec2dc Changed internal name of the HTML demo program. 2019-07-30 18:11:21 +00:00