Commit Graph

629 Commits (83300fd61925771e1aa880089039d1a28b566339)
 

Author SHA1 Message Date
Project Nayuki 83300fd619 Updated private Python functions to operate on bytes instead of lists of integers, thus conveying the constrained value range more clearly.
3 years ago
Project Nayuki e5d21aee09 Updated Python code so that public functions accept bytes or sequences of integers, removed some run-time type checks.
3 years ago
Project Nayuki d11eb098cb Added more type annotations to class-level members in Python library code, continuing the work of commit 55dd3c881e.
3 years ago
Project Nayuki 772a311c56 Tweaked a bit of C++ code to use strict bounds checking for consistency.
3 years ago
Project Nayuki 68b2b7782b Simplified Java and C++ code to remove unnecessary `this`, also improving consistency with other field assignments, enabled by a local variable renaming in commit 67c62461d3.
3 years ago
Project Nayuki a999dca15f Simplified an expression because C++11 natively supports for-each over a braced list, without needing to construct a typed object.
3 years ago
Project Nayuki 8518684c0f Moved comments in Python code from field assignments to field declarations.
4 years ago
Project Nayuki a807ee27db Added type annotations to instance fields in Python code.
4 years ago
Project Nayuki f9d1172e29 Fixed the names of some methods in comments.
4 years ago
Project Nayuki 8cbd1f506a Changed Rust API to move the version min/max values into associated constants for its type.
4 years ago
Project Nayuki bafd258293 Clarified a few pieces of Rust code.
4 years ago
Project Nayuki d00cbd3585 Added static types to some variables in Rust code.
4 years ago
Project Nayuki 43020cbd67 Fixed Rust code to avoid arithmetic overflow when a segment's bit length is very near usize::MAX.
4 years ago
Project Nayuki 705ce44efd Fixed arithmetic overflow in Rust code on platforms where usize is 16 bits wide.
4 years ago
Project Nayuki 98963e5cba Tweaked Rust code to narrow the bit width of QrCodeEcc.format_bits().
4 years ago
Project Nayuki 455e0b2427 Merged.
4 years ago
Project Nayuki 08ac806145 Updated Python setup files due to commit f93ce5217e.
5 years ago
Project Nayuki c3a72b7333 Fixed handling of type annotations in Python code (due to commit 55dd3c881e).
5 years ago
Project Nayuki 6951a7e49e Fixed regex usage in Python code (due to commit 9ed47110a5).
5 years ago
Project Nayuki 9ed47110a5 Simplified regular expressions for Python 3.
5 years ago
Project Nayuki 55dd3c881e Added type annotations to all Python functions and methods, and almost all global variables.
5 years ago
Project Nayuki 49f9ea0890 Tweaked Python code to allow static type checking, without changing behavior.
5 years ago
Project Nayuki 979de6d335 Simplified a bit of Python code.
5 years ago
Project Nayuki f93ce5217e Simplified code by removing support for Python 2, leaving only support for Python 3.
5 years ago
Project Nayuki 71c75cfeb0 Tweaked Java Maven POM configuration.
5 years ago
Project Nayuki fd849b188c Updated package version numbers.
5 years ago
Thomas Klausner 5217af7cf6 Honor LDFLAGS when building executables.
5 years ago
Project Nayuki 13a25580a3 Simplified QrCode.getPenalty() in all language versions except Rust, related to commit 1439e8e4a5.
5 years ago
Project Nayuki ae22a368bb De-optimized a bit of Java code to tighten scope at the expense of allocating more temporary memory.
5 years ago
Project Nayuki 2da5091674 Tweaked Rust code to add useful auto-derived traits to almost all structs.
5 years ago
Project Nayuki fd6917601d Fixed path in batch tester, due to commit f759146df3.
5 years ago
Project Nayuki 1439e8e4a5 Simplified some Rust code.
5 years ago
Project Nayuki fd8720cd31 Simplified a bit of TypeScript code.
5 years ago
Project Nayuki ec65e32037 Updated copyright year in readme document.
5 years ago
Project Nayuki 6ea933f159 Refactored Rust code to collect some private functions into new private struct.
5 years ago
Project Nayuki 29119d3f2e Fixed typo, added blank line.
5 years ago
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.
5 years ago
Project Nayuki 67c62461d3 Renamed some method parameters to completely avoid variable shadowing, in C++ and Java versions.
5 years ago
Project Nayuki fe992753d2 Tweaked Rust code to convert more integer casts from 'as' to 'from'.
5 years ago
Project Nayuki 6e088f72d3 Added an assertion to QrCode.getNumRawDataModules() in all language versions.
5 years ago
Project Nayuki 585e80e4f5 Slightly simplified Rust code so that for-loops and lambdas capture variables as value-copy instead of reference.
5 years ago
Project Nayuki e83ac1cd62 Simplified and clarified various pieces of Rust code.
5 years ago
Project Nayuki 2136d88ac8 Tweaked Rust code to use inclusive-range for-loops where appropriate.
5 years ago
Project Nayuki 9fdd05e64d Simplified some pieces of Rust code.
5 years ago
Project Nayuki 765527895c Tightened some Rust variable scopes, simplified a bit of code.
5 years ago
Project Nayuki 6007d92aaa Tweaked Rust code to reduce redundant type declarations.
5 years ago
Project Nayuki eb115a9931 Tweaked Rust code to convert more integer casts from 'as' to 'from'.
5 years ago
Project Nayuki c5d4709e0e Tweaked a C++ integer cast.
5 years ago
Project Nayuki 6431ef47fd Tweaked Rust code to have safer integer lossless upcasts, thanks to clippy's diagnostics.
5 years ago
Project Nayuki 621a77757e Simplified miscellaneous Rust code, due to clippy linting.
5 years ago