Project Nayuki
|
8329a7108f
|
Slightly simplified the calculation of alignment pattern spacing in a non-obvious way, adapted from David Evans's "Lean QR" project.
|
3 months ago |
Project Nayuki
|
942f4319a6
|
Changed calls of the non-standard method String.substr() to substring().
|
2 years ago |
Project Nayuki
|
d524de6153
|
Changed to standard error classes in TypeScript code.
|
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
|
cb4cecf5e3
|
Refactored TypeScript code to add assert() function to make it easier to read the intent and compare to other language ports.
|
3 years ago |
Project Nayuki
|
68cddb816d
|
Improved some assertion error messages, corresponding to Rust's unreachable!().
|
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
|
c6cbb388a7
|
Made TypeScript code more robust by adding Readonly<> wrapper around appropriate array types in function parameters.
|
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
|
87db45ef9c
|
Tweaked TypeScript code to correspond with other implementations for ease of auditing, without changing behavior.
|
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
|
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
|
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
|
13a25580a3
|
Simplified QrCode.getPenalty() in all language versions except Rust, related to commit 1439e8e4a5 .
|
5 years ago |
Project Nayuki
|
fd8720cd31
|
Simplified a bit of TypeScript code.
|
5 years ago |
Project Nayuki
|
6e088f72d3
|
Added an assertion to QrCode.getNumRawDataModules() in all language versions.
|
5 years ago |
Project Nayuki
|
1424d9f332
|
Simplified a bit of TypeScript and Rust code using for-each looping.
|
5 years ago |
Project Nayuki
|
f9c8183f64
|
Merged.
|
5 years ago |
Project Nayuki
|
f759146df3
|
Deleted hand-written JavaScript code in favor of compiling from TypeScript, updated directories and readme.
|
5 years ago |