Project Nayuki
|
3185c310e3
|
Refactored a repeated expression in Rust code.
|
3 years ago |
Project Nayuki
|
db4ad0bda8
|
Hyphenated a phrase.
|
3 years ago |
Project Nayuki
|
4c74eea03e
|
Generalized the Java API to accept CharSequence instead of String, which can be helpful if the input is a temporary StringBuilder. This is possible because almost all functions read characters and convert them to another representation in a new buffer instead of storing the input string immutably.
|
3 years ago |
Project Nayuki
|
72037f3047
|
Added string length limit and integer value range assertions to QrSegmentAdvanced.computeCharacterModes(). This fixes int32 overflow for ridiculously long input strings (somewhere around 2^23 characters), which are impossible to put in a QR Code anyway.
|
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
|
10c094f99b
|
Tweaked Rust configuration to exclude example programs from crate package.
|
3 years ago |
Project Nayuki
|
c614fd1ff8
|
Added Java module declaration, updated POM to compile module as Java 9 but all other classes as Java 8.
|
3 years ago |
Project Nayuki
|
4eb5dfaa25
|
Moved QrCodeGeneratorDemo.java out of the package because it's an informal demo and not a core library feature; this also simplifies the Maven build process.
|
3 years ago |
Project Nayuki
|
3562aceb20
|
Added more blank lines to Java POM file.
|
3 years ago |
Project Nayuki
|
da7ad83c5c
|
Updated Java POM configuration to exclude QrCodeGeneratorDemo because it's not core library functionality.
|
3 years ago |
Project Nayuki
|
5300e400ec
|
Renamed C++ output library file, avoiding conflict with C library if both get installed system-wide.
|
3 years ago |
Project Nayuki
|
11972825b8
|
Tweaked TypeScript example code in readme to use more modern const/let instead of var.
|
3 years ago |
Project Nayuki
|
6f68c21b1b
|
Merged.
|
3 years ago |
Project Nayuki
|
0feda2c009
|
Imported changes to the readme document from the master branch.
|
3 years ago |
Project Nayuki
|
272bae5773
|
Tweaked Markdown language info in readme document.
|
3 years ago |
Project Nayuki
|
c8e1b0caed
|
Fixed example code in Rust documentation, related to commits a88f0942af and 3da57e5aa0 .
|
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
|
fd425bf995
|
Publicized the Rust functions QrSegment.{is_numeric(),is_alphanumeric()}.
|
3 years ago |
Project Nayuki
|
0e80f23c04
|
Reordered QrSegment.{isNumeric(),isAlphanumeric()} in {C, C++, Rust} versions.
|
3 years ago |
Project Nayuki
|
6fb34fddc1
|
Slightly improved the visual appearance of web pages for TypeScript/JavaScript demos, also tweaked a bit of HTML code.
|
3 years ago |
Project Nayuki
|
f29c84a2e7
|
Added custom colors support to the TypeScript input demo web page and program.
|
3 years ago |
Project Nayuki
|
201993945d
|
In Java and TypeScript versions, added parameters for custom module colors when rendering to SVG.
|
3 years ago |
Project Nayuki
|
d8f0074fab
|
In TypeScript version, added parameters for custom module colors when rendering to canvas, changed some demo code to use non-black/white colors.
|
3 years ago |
Project Nayuki
|
bfd18b2fb8
|
In Java version, added parameters for custom module colors when rendering to BufferedImage, changed some demo code to use non-black/white colors.
|
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
|
42bc11c763
|
Updated C API comments to match the existing code logic requiring non-overlapping array buffers.
|
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
|
d4080974f2
|
Renamed the C++ library source files to qrcodegen, because there's no longer a file per class, related to commit 096c70cd4d .
|
3 years ago |
Project Nayuki
|
89895daf1d
|
Changed Java classpath in Python batch tester to match Maven's convention.
|
3 years ago |
Project Nayuki
|
cd037d9149
|
In C++ 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
|
5bc7bce3c3
|
In Rust 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
|
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
|
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 |