Project Nayuki
|
7a052cc5b2
|
Removed references to other programming languages within language-specific overview/readme text.
|
3 years ago |
Project Nayuki
|
50f0c4b5bc
|
Tweaked some of QrSegment.makeEci()'s integer literals to binary notations in most language ports.
|
3 years ago |
Project Nayuki
|
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.
|
3 years ago |
Project Nayuki
|
c7ab2582aa
|
Added value range assertions to QrCode.getPenaltyScore(), in all language ports.
|
3 years ago |
Project Nayuki
|
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`.
|
3 years ago |
Project Nayuki
|
d6be9c5e44
|
Slightly tweaked code and comments to correspond to other language ports.
|
3 years ago |
Project Nayuki
|
db4ad0bda8
|
Hyphenated a phrase.
|
3 years ago |
Project Nayuki
|
233b4ee331
|
Fixed static typing omissions in Python code.
|
3 years ago |
Project Nayuki
|
4d13c303dc
|
Updated package version numbers.
|
3 years ago |
Project Nayuki
|
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.
|
3 years ago |
Project Nayuki
|
764749bd8a
|
Added spaces around multiplication operators in QrCode.getAlignmentPatternPositions() for all language versions, for consistency with other code.
|
3 years ago |
Project Nayuki
|
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.
|
3 years ago |
Project Nayuki
|
89895daf1d
|
Changed Java classpath in Python batch tester to match Maven's convention.
|
3 years ago |
Project Nayuki
|
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.
|
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
|
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
|
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
|
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
|
fd849b188c
|
Updated package version numbers.
|
5 years ago |
Project Nayuki
|
13a25580a3
|
Simplified QrCode.getPenalty() in all language versions except Rust, related to commit 1439e8e4a5 .
|
5 years ago |
Project Nayuki
|
fd6917601d
|
Fixed path in batch tester, due to commit f759146df3 .
|
5 years ago |
Project Nayuki
|
6e088f72d3
|
Added an assertion to QrCode.getNumRawDataModules() in all language versions.
|
5 years ago |
Project Nayuki
|
20e904578e
|
Updated readme text in multiple programming language versions.
|
5 years ago |
Project Nayuki
|
d5d431a2d4
|
Renamed a local variable in Python code.
|
5 years ago |
Project Nayuki
|
907813a82c
|
Fixed reStructuredText syntax for describing the Python package.
|
5 years ago |
Project Nayuki
|
8407d37839
|
Updated package version numbers.
|
5 years ago |
Project Nayuki
|
b7c9ccfff9
|
Simplified and clarified a few bits of code, without changing behavior.
|
5 years ago |
Project Nayuki
|
ee5e4ca121
|
Tweaked a few comments.
|
5 years ago |
Project Nayuki
|
b6aa563812
|
Tweaked a comment in QrCode.reedSolomonComputeDivisor() in 4 language versions.
|
5 years ago |
Project Nayuki
|
b5aaadf758
|
Demoted ReedSolomonGenerator from a class to a set of functions, and changed some names and comments, in all languages except C. This reduces code verbosity but doesn't change public APIs or visible behavior. The code organization is similar to the finder-like-pattern-detector feature.
|
5 years ago |
Project Nayuki
|
bf03981d7e
|
Tweaked batch tester to avoid Python children generating .pyc files.
|
5 years ago |
Project Nayuki
|
5ec3109cb9
|
Added TypeScript command line worker program, updated its build script.
|
5 years ago |
Project Nayuki
|
9c337e5329
|
Simplified Python worker program, mainly due to bytearray.
|
5 years ago |