Commit Graph

13 Commits (10c094f99b39fc917130c83b1d5052d9897ce883)

Author SHA1 Message Date
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