Commit Graph

644 Commits (3531fda14fa22b5a252b15f65233a41b629da011)
 

Author SHA1 Message Date
Project Nayuki 3531fda14f In TypeScript version: moved QrCode.toSvgString() out of the library and into a demo program, slightly adapted some code, updated documentation comments.
3 years ago
Project Nayuki 1cc4617d57 In TypeScript version: moved QrCode.drawCanvas() out of the library and into demo programs, slightly adapted some code, updated documentation comments.
3 years ago
Project Nayuki 6cd17bb9fb In Java version: moved QrCode.toSvgString() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
3 years ago
Project Nayuki 010410be02 In Java version: moved QrCode.toImage() out of the library and into the runnable demo program, slightly adapted some code, updated documentation comments.
3 years ago
Project Nayuki 1fd0216dfe Changed the word "black" to "dark" in {comments, local variables,} in order to match the vocabulary in the QR Code specification document.
3 years ago
Project Nayuki 99e7d59383 Changed the word "white" to "light" in {comments, local variables, a private C function} in order to match the vocabulary in the QR Code specification document.
3 years ago
Project Nayuki 0532c7a237 Merged.
3 years ago
Project Nayuki 2aed7af53e Updated field and method in C++ code in order to store `Mode` objects by pointer instead of value.
3 years ago
Project Nayuki 2c76b0a170 Updated copyright year in readme document.
3 years ago
Project Nayuki aa32fe1235 Added more type annotations to Python tester programs.
3 years ago
Project Nayuki 27dd722961 Parenthesized most clauses of `and`/`or` expressions in Python code for clarity.
3 years ago
Project Nayuki 1ca1d43f1c Deleted Python module summary comment because static type hints make it redundant.
3 years ago
Project Nayuki 0ff7b57a81 Added type annotations to nearly all local variables in Python library code.
3 years ago
Project Nayuki 3c3aec6b9c Relaxed some Python function parameters from List[int] to Sequence[int].
3 years ago
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
Neil Haran 0df0908723 In C++ version, use const-reference in QrSegment ctor rather than deep copy.
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