Commit Graph

  • 2359d68243 Tweaked C++ code to inline handleConstructorMasking() because the mask field is private instead of public const. Project Nayuki 2018-11-04 19:16:28 +00:00
  • 76de28378e Added a const to C code for safety. Project Nayuki 2018-11-04 18:56:47 +00:00
  • 19c73fcaea Merged. v1.4.0 Project Nayuki 2018-11-02 00:40:31 +00:00
  • 86149fa1b2 Updated Python and Rust package version number. Project Nayuki 2018-11-02 00:40:17 +00:00
  • 8e54f6ffa6 Added a working Maven pom.xml file, in order to release the library on The Central Repository. The POM content was made with tremendous help from these reference documentation: - https://maven.apache.org/pom.html - https://central.sonatype.org/pages/apache-maven.html Project Nayuki 2018-11-02 00:37:35 +00:00
  • 2cfcd5e859 Tweaked some names and types in TypeScript code. Project Nayuki 2018-11-01 18:00:22 +00:00
  • 08886d2a3e Simplified a bit of code in JavaScript, TypeScript, Python. Project Nayuki 2018-11-01 18:00:02 +00:00
  • a24466089b Tweaked TypeScript code to change 'let' declarations to 'const' wherever possible; but avoiding variables where objects are internally mutated (i.e. strict C++/Rust-style constness). Project Nayuki 2018-11-01 17:52:48 +00:00
  • 313b93d5b0 Tweaked JavaScript code to use String.substring() instead of the deprecated non-standard substr(). Project Nayuki 2018-10-28 18:27:12 +00:00
  • 5483653b53 Moved Java source files into new subdirectories for Maven standard layout. Project Nayuki 2018-10-27 03:02:36 +00:00
  • 52b885fae1 Updated Java code - changed QrSegmentAdvanced.makeSegmentsOptimally() to throw DataTooLongException and synchronize logic and Javadoc with QrCode class, changed Javadoc of DataTooLongException. Project Nayuki 2018-10-27 02:14:52 +00:00
  • af872343c0 Completely rewrote the algorithm for detecting finder-like patterns, making it more accurate and compliant with the QR Code specification, in all languages. Project Nayuki 2018-10-26 06:53:12 +00:00
  • 5ac0e2a938 Inverted some if-else statements in QrCode.getPenaltyScore() without changing behavior, in all languages. Project Nayuki 2018-10-26 05:24:21 +00:00
  • 111b20b2b9 Tweaked logic in QrCode.getPenaltyScore() for future expansion, without changing behavior, in all languages. Project Nayuki 2018-10-26 05:21:34 +00:00
  • a14de3d959 Renamed colorX, colorY local variables in QrCode.getPenaltyScore() to just color, in all language versions. Project Nayuki 2018-10-26 03:47:04 +00:00
  • 025400e706 Tweaked a package-private Rust function to not be public. Project Nayuki 2018-10-26 02:42:49 +00:00
  • c36c4a28eb Updated Java, C++, Python, Rust worker programs to catch the new exception; removed error message string comparisons. Project Nayuki 2018-10-26 02:42:35 +00:00
  • 8da8107cc2 Updated QrCode.encodeSegments() to throw DataTooLongException - in Java, C++, Python, Rust code. Rust code also changes return types from Option to Result. Updated Java and Rust documentation. Project Nayuki 2018-10-26 02:42:04 +00:00
  • 4635e8a8a8 Added new unused "data too long" exception/error class to Java, C++, Python, Rust code. Project Nayuki 2018-10-26 02:39:46 +00:00
  • 3da57e5aa0 Fixed Rust code examples in multiple files (due to commit 9628e25971). Project Nayuki 2018-10-14 05:03:33 +00:00
  • f2ea49b7d4 Tweaked QrCode.drawFormatBits() to use end-exclusive range in second copy for clarity, in most languages. Project Nayuki 2018-10-13 19:54:30 +00:00
  • e883e31f0a Updated Rust crate version number. v1.3.1 Project Nayuki 2018-10-13 03:24:57 +00:00
  • d234e1c73b Added Rust documentation comments for Version and Mask struct+impl. Project Nayuki 2018-10-13 03:20:42 +00:00
  • 38d8d3377f Added Rust crate summary documentation comment. Project Nayuki 2018-10-13 01:41:45 +00:00
  • d2e2f8b596 Tweaked comments in Rust code to end in a period, for enum constants. Project Nayuki 2018-10-13 01:32:29 +00:00
  • 40858c7b11 Tweaked comments in Rust code to reflow the hard line wrapping, without changing HTML output. Project Nayuki 2018-10-13 01:31:28 +00:00
  • 7d84b8b128 Tweaked comments in Rust code to fix Rust-specific facts. Project Nayuki 2018-10-13 01:27:50 +00:00
  • 0810860b57 Tweaked comments in Rust code to use Markdown formatting. Project Nayuki 2018-10-13 01:27:28 +00:00
  • a8039110d7 Tweaked comments in Rust code to add new paragraph breaks. Project Nayuki 2018-10-13 01:13:10 +00:00
  • b8e8658de9 Tweaked comments in Rust code to add paragraph breaks to correspond to Javadoc. Project Nayuki 2018-10-13 01:10:59 +00:00
  • aef9d3dc4c Tweaked comments in Rust code to start new paragraph after first sentence, just like Javadoc. Project Nayuki 2018-10-13 01:05:16 +00:00
  • 4b6e151955 Tweaked comments in Rust code to convert all public members to real documentation comments. Project Nayuki 2018-10-13 00:57:13 +00:00
  • 2f77345d24 Simplified a bit of JavaScript and TypeScript code. Project Nayuki 2018-10-09 01:41:05 +00:00
  • 4e774437b3 Simplified some Rust code. Project Nayuki 2018-10-08 22:39:18 +00:00
  • 0723ac0d17 Updated Python and Rust package version number. v1.3.0 Project Nayuki 2018-10-08 18:38:22 +00:00
  • 7dbfabd388 Reordered functions and sections in C code for better flow for human readers, without changing functionality. Project Nayuki 2018-10-08 18:01:14 +00:00
  • 614169fc88 Fixed a comment in C code. Project Nayuki 2018-10-08 03:02:56 +00:00
  • 13e4b5b310 Added Java package summary Javadoc comment. Project Nayuki 2018-10-07 20:43:23 +00:00
  • 35f3b292e7 Converted Javadoc comments of non-public members of Java QrSegment class to informal comments. Project Nayuki 2018-10-07 06:12:46 +00:00
  • a6ef65d237 Fixed initialization order in C++ code (due to commit 06d80aade3). Project Nayuki 2018-10-06 04:49:29 +00:00
  • 950955a4c5 Renamed QrSegment.getBits() to getData() in {Java, JavaScript, TypeScript, Python} code, to match C++ and Rust. Project Nayuki 2018-10-06 04:49:04 +00:00
  • b7922a8dce Tweaked code slightly. Project Nayuki 2018-10-06 04:48:47 +00:00
  • c7bc281e18 Inlined BitBuffer.getBytes() into its single usage (with simplification because the bit length is a multiple of 8) in most language versions, synchronized comment and variable name in Rust version. Project Nayuki 2018-10-06 04:44:03 +00:00
  • 8c262c00dd Added and synchronized documentation comments for QrCode's scalar field accessor methods in C++ and Python with existing comments in Rust. Project Nayuki 2018-10-06 03:46:20 +00:00
  • f4b16f25b0 Updated documentation comment for field QrCode.modules, in most languages. Project Nayuki 2018-10-06 03:40:31 +00:00
  • 1c9a9cf60c Tweaked a few documentation comments. Project Nayuki 2018-10-06 03:37:21 +00:00
  • efed57782e Updated Javadoc-specific sections of the Java QrSegment class to add not-null qualifications. Project Nayuki 2018-10-06 03:29:57 +00:00
  • 012d4a3e5f Updated Javadoc-specific sections of documentation comments in Java classes. Project Nayuki 2018-10-06 03:29:38 +00:00
  • f011e52770 Updated and synchronized documentation comments for QrCode's instance methods, in all languages. Project Nayuki 2018-10-06 03:26:54 +00:00
  • 76f97dd0b8 Updated and synchronized documentation comments for QrCode class's constructor and static factory functions, in all languages. Project Nayuki 2018-10-06 03:11:03 +00:00
  • fe2c384e97 Moved and tweaked a comment in TypeScript code. Project Nayuki 2018-10-05 21:20:09 +00:00
  • 95e5f14c36 Updated and synchronized QrCode class's top-level documentation comment, in all languages. Project Nayuki 2018-10-05 21:17:52 +00:00
  • a5b6c28a1f Updated and synchronized documentation comments for QrCode class's fields and constants, in all languages. Project Nayuki 2018-10-05 20:56:50 +00:00
  • eebae19fb2 Reduced the use of the word "symbol" when referring to QR Codes, in all languages. Project Nayuki 2018-10-05 20:30:26 +00:00
  • 7d31874345 Updated Javadoc-specific sections of the Java QrSegment class to add not-null qualifications. Project Nayuki 2018-10-05 19:45:46 +00:00
  • 2d12b392e8 Updated Javadoc-specific sections of the Java QrSegment class. Project Nayuki 2018-10-05 19:45:35 +00:00
  • 79796901ea Updated and synchronized documentation comments for QrSegment class's {top-level, constructor, makeBytes()}, in all languages. Project Nayuki 2018-10-05 19:38:36 +00:00
  • 85eb6493fd Updated and synchronized documentation comments for QrSegment's constants/functions involving character sets, in all languages. Project Nayuki 2018-10-05 19:34:42 +00:00
  • aa39108f0d Added/updated/synchronized documentation comments for QrSegment's accessor methods, in all languages except C. Project Nayuki 2018-10-05 19:30:21 +00:00
  • 139e67eee2 Updated and synchronized documentation comments for QrSegment's fields, in all languages. Project Nayuki 2018-10-05 19:27:11 +00:00
  • 3e1454ab72 Revamped Java QrSegmentAdvanced's documentation comments. Project Nayuki 2018-10-05 18:13:41 +00:00
  • 179f7be089 Updated and synchronized QrCode.Ecc and QrSegment.Mode enums' documentation comments, in all languages. Project Nayuki 2018-10-05 17:58:16 +00:00
  • 29479efedf Updated class BitBuffer's documentation comments, in all languages. Project Nayuki 2018-10-05 17:35:18 +00:00
  • 1f2de4bbba Tweaked Java QrSegmentAdvanced to be non-instantiable. Project Nayuki 2018-10-05 07:32:35 +00:00
  • b89bb889a5 Tweaked C++ and Rust code to not use character entities (left over from copying Javadoc). Project Nayuki 2018-10-05 07:29:20 +00:00
  • c3992b646f Tweaked Javadoc HTML code to convert all non-XML-predefined character entities to numeric form, for better compatibility with XHTML. Project Nayuki 2018-10-05 07:28:19 +00:00
  • 492ebeb5ab Fixed Javadoc syntax errors. Project Nayuki 2018-10-05 04:35:08 +00:00
  • b6bbaddf4f Updated QrCode constructor argument checks in most languages to synchronize logic. Project Nayuki 2018-10-05 02:27:00 +00:00
  • 06d80aade3 Tweaked comments and statement order in QrCode constructor, in most languages. Project Nayuki 2018-10-05 02:14:43 +00:00
  • d060e97e03 Tweaked two comments in QrCode constructor, in all languages except C. Project Nayuki 2018-10-05 01:47:05 +00:00
  • f63f7f79a6 Tweaked comment and blank line in QrCode constructor in some languages. Project Nayuki 2018-10-05 01:44:06 +00:00
  • 0a0ac19f9b Aligned code involving QrCode grid fields, in most languages. Project Nayuki 2018-10-05 01:42:57 +00:00
  • fd64af3e50 Rearranged QrCode constructor parameters in JavaScript/TypeScript/Python code to match order in Java/C++/Rust. Project Nayuki 2018-10-05 00:56:29 +00:00
  • ae7b5296f2 Renamed a constructor parameter in JavaScript and TypeScript code. Project Nayuki 2018-10-05 00:50:31 +00:00
  • eab76f20d6 Updated class QrCode's field comments, in most languages. Project Nayuki 2018-10-05 00:40:49 +00:00
  • 028b377472 Updated a section comment in class QrCode, in most languages. Project Nayuki 2018-10-05 00:30:10 +00:00
  • 00fb83d4d5 Added and updated miscellaneous comments. Project Nayuki 2018-10-05 00:23:28 +00:00
  • ac6ef8fe31 Tweaked some miscellaneous code. Project Nayuki 2018-10-05 00:23:09 +00:00
  • 7d49af97e1 Updated documentation comments for three QrSegment members, in all language versions. Project Nayuki 2018-10-05 00:21:12 +00:00
  • 4ee7f6df96 Updated documentation comments for two QrSegment.Mode members, in all language versions. Project Nayuki 2018-10-04 22:16:25 +00:00
  • f9a40a31db Updated and mostly synchronized comment for BitBuffer.appendBits(), in all languages except C. Project Nayuki 2018-10-04 20:07:10 +00:00
  • 49e0902d9f Updated, added, synchronized section comments to show abstraction level in classes QrCode and QrSegment, in all languages except C. Project Nayuki 2018-10-04 19:56:07 +00:00
  • 859438d183 Moved QrCode class's max/min version constants, tweaked associated comments and blank lines, in all languages except C. Project Nayuki 2018-10-04 19:40:43 +00:00
  • af6a247121 Tweaked logic in QrSegment.makeEci() to reduce redundancy, in all languages except Rust. Project Nayuki 2018-10-04 19:26:21 +00:00
  • 55f410cc66 Slightly tweaked demo programs for clarity. Project Nayuki 2018-10-04 19:09:26 +00:00
  • 0cded0ba36 Aligned main comments in demo programs. Project Nayuki 2018-10-04 19:08:23 +00:00
  • dd47ef10c7 Split long text constants in demo programs. Project Nayuki 2018-10-04 19:06:54 +00:00
  • 667c744d8b Updated and synchronized the QrCode class top-level documentation comment, in all languages except C. Project Nayuki 2018-10-04 18:48:29 +00:00
  • c8c29cc116 Renamed variables in C++ demo program to start from 0. Project Nayuki 2018-10-04 01:50:26 +00:00
  • 59e3933e8b Added and updated comments in Java QrSegmentAdvanced. Project Nayuki 2018-10-03 21:14:45 +00:00
  • 98741eb09a Slightly tweaked logic in Java QrSegmentAdvanced for robustness and efficiency. Project Nayuki 2018-10-03 21:14:02 +00:00
  • 46b6425838 Simplified some logic in Java QrSegmentAdvanced using Java SE 8 streams and lambdas. Project Nayuki 2018-10-03 21:10:13 +00:00
  • 18ff8dc0e5 Refactored Java QrSegmentAdvanced to move a piece of logic to a new function. Project Nayuki 2018-10-03 21:01:23 +00:00
  • 012d469ca5 Inlined some Java functions - refactored QrSegmentAdvanced, increased visibility of a constant in QrSegment. Project Nayuki 2018-10-03 20:59:02 +00:00
  • 4f61adf9ba Deleted section comments in TypeScript demo code. Project Nayuki 2018-10-03 02:54:29 +00:00
  • 6d79c97c42 Tweaked {JavaScript, TypeScript, HTML} code to encapsulate the application members. Project Nayuki 2018-10-03 02:53:48 +00:00
  • 3ab5e7827c Tweaked {HTML, JavaScript, TypeScript} code to move repetitive event handler registration from HTML to script. Project Nayuki 2018-10-03 02:49:37 +00:00
  • ef09729331 Reformatted long line and whitespace in HTML code, without changing behavior. Project Nayuki 2018-10-03 02:34:51 +00:00
  • a3da832fc7 Changed Rust QrCode and QrSegment structs to be cloneable. Project Nayuki 2018-10-02 09:10:20 +00:00
  • ddc29b89d7 Simplified some local numeric variable types in Rust code. Project Nayuki 2018-10-02 09:03:50 +00:00