Commit Graph

24 Commits (3185c310e35dbe8100a5724d9bad8019aebc67d6)

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 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 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 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 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 a2704103bb Added new HTML+TypeScript demo program, corresponding to the command line demos of all other languages.
5 years ago
Project Nayuki 146105007c Simplified some new TypeScript demo code.
5 years ago
Project Nayuki cf612ec2dc Changed internal name of the HTML demo program.
5 years ago
Project Nayuki e9f7133692 Indented the HTML file fully.
5 years ago
Project Nayuki e20059b9ca Renamed demo HTML and TypeScript files.
5 years ago
Project Nayuki 588d1a6b87 Tweaked HTML application to add warning message if scripts aren't loaded.
5 years ago
Project Nayuki f759146df3 Deleted hand-written JavaScript code in favor of compiling from TypeScript, updated directories and readme.
5 years ago