Commit Graph

  • 6d79c97c42 Tweaked {JavaScript, TypeScript, HTML} code to encapsulate the application members. Project Nayuki 2018-10-03 02:53:48 +0000
  • 3ab5e7827c Tweaked {HTML, JavaScript, TypeScript} code to move repetitive event handler registration from HTML to script. Project Nayuki 2018-10-03 02:49:37 +0000
  • ef09729331 Reformatted long line and whitespace in HTML code, without changing behavior. Project Nayuki 2018-10-03 02:34:51 +0000
  • a3da832fc7 Changed Rust QrCode and QrSegment structs to be cloneable. Project Nayuki 2018-10-02 09:10:20 +0000
  • ddc29b89d7 Simplified some local numeric variable types in Rust code. Project Nayuki 2018-10-02 09:03:50 +0000
  • cdd1d0150d Tweaked BitBuffer.appendBits() comment and code in a few language versions. Project Nayuki 2018-10-02 08:56:07 +0000
  • dce44caf8f Tweaked BitBuffer.appendBits() comment in several language versions. Project Nayuki 2018-10-02 08:55:34 +0000
  • 34408d66aa Tweaked the BitBuffer class top-level comment in all languages except C. Project Nayuki 2018-10-02 00:21:19 +0000
  • b32c467031 Tweaked JavaScript code to implement inheritance more correctly. Project Nayuki 2018-10-02 00:06:15 +0000
  • 4eee2d43e6 Tweaked radio/checkbox spacing in HTML page. Project Nayuki 2018-10-01 23:59:19 +0000
  • aa264f5a4d Simplified the arithmetic of an internal C function. Project Nayuki 2018-09-18 08:58:30 +0000
  • a19c7aa21b Reformatted a bit of whitespace in C code, to match other languages (commit 5a5626edb2). Project Nayuki 2018-09-17 04:15:29 +0000
  • bc6f776429 Updated JavaScript code for type purity to ensure the modules array is actually Boolean (instead of numeric) after masking, tweaked TypeScript code to correspond to new JS code. Project Nayuki 2018-09-17 03:59:20 +0000
  • 6903d28c90 Swapped {dy,dx} variables in commutative operations for clarity, in all languages. Project Nayuki 2018-09-17 03:51:57 +0000
  • 87868d7920 Renamed loop variables in QrCode.{drawFinderPattern(),drawAlignmentPattern()} for clarity, in all languages (but somewhat differently in C). Project Nayuki 2018-09-17 03:47:58 +0000
  • 440efef8bf Tweaked C code to avoid unnecessary array initialization. Project Nayuki 2018-09-17 03:40:08 +0000
  • 0920922a32 Tweaked qrcodegen.c to not be compilable in C++ mode (undoing commit 88cc1c05fd). Project Nayuki 2018-09-17 03:39:40 +0000
  • 30aed54c47 Simplified C code to directly assign useful values to the segment mode enum. Project Nayuki 2018-09-17 03:31:00 +0000
  • be143456be Revamped C and C++ makefiles by copying structure from another library of mine, removed shared library output from C library (from commit a3dcc36dd4) due to problematic linkage in some enviroments. Project Nayuki 2018-09-17 03:26:41 +0000
  • 070daf8c9e Tweaked C header file to be friendly to C++. Project Nayuki 2018-09-17 03:00:01 +0000
  • 67bb2b4267 Removed C macros for MALLOC() to not support compiling code verbatim in C++ mode (undoing commit eb536b43c5). Project Nayuki 2018-09-17 02:41:39 +0000
  • 72deb2855a Tweaked syntax for top-level demo functions in TypeScript code. Project Nayuki 2018-09-04 04:48:39 +0000
  • a443f7bf6b Deleted HTML file for TypeScript demo because it has the same code as the JavaScript version. Project Nayuki 2018-09-04 04:45:08 +0000
  • f4d325725a Updated readme because C supports ECI segments (due to commits d126f7b1ed and 66f6500220), and Java supports kanji optimization (due to commit 8800acf003). Project Nayuki 2018-09-03 05:57:10 +0000
  • e70b3b347f Fixed incorrect constant in QrSegmentAdvanced.computeCharacterModes() (which caused kanji mode to be used less often than it should be). Project Nayuki 2018-09-03 04:38:36 +0000
  • f1ec2a8f43 Tweaked QrCode.getPenaltyScore() to use binary literals for clarity, for Java (SE 7+) and TypeScript (ES6+). Project Nayuki 2018-08-31 19:50:40 +0000
  • 957219dc91 Reformatted some whitespace for alignment in all language versions. Project Nayuki 2018-08-31 17:57:57 +0000
  • 1027ad5b65 Reformatted some whitespace for alignment. Project Nayuki 2018-08-31 17:56:33 +0000
  • 3e642cf468 Simplified QrSegment.makeNumeric() logic in {Java, JavaScript, TypeScript, Python} language versions. Project Nayuki 2018-08-31 17:54:39 +0000
  • 8db3cfef81 Simplified TypeScript code by using constructor parameter properties to replace most fields. Project Nayuki 2018-08-31 17:41:20 +0000
  • e7854eb797 Reformatted some whitespace for alignment in all language versions. Project Nayuki 2018-08-31 17:23:16 +0000
  • 46443ecf22 Tweaked integer casts and types in C++ code for robustness and simplicity. Project Nayuki 2018-08-31 17:20:14 +0000
  • 7217de3eee Refactored TypeScript code to use for-of loop instead of Array.forEach(), for simplicity and clarity. Project Nayuki 2018-08-31 17:03:51 +0000
  • 0a96eec52e Simplified small pieces of TypeScript and JavaScript code. Project Nayuki 2018-08-31 17:00:52 +0000
  • 0b89eef361 Fixed incorrect default argument in TypeScript QrCode.encodeSegments(). Project Nayuki 2018-08-31 16:06:08 +0000
  • 566ca1f930 Fixed readme example code for TypeScript, due to commit bed21e3c64. Project Nayuki 2018-08-30 17:03:31 +0000
  • 6d5164fa0e Added and updated comments. Project Nayuki 2018-08-28 21:44:39 +0000
  • 4cddfddb66 Simplified small pieces of code. Project Nayuki 2018-08-28 21:44:28 +0000
  • b3949f6fc4 Changed QrTemplate.getAlignmentPatternPositions() from static function to instance method, and updated comment. Project Nayuki 2018-08-28 21:35:31 +0000
  • b59c181162 Simplified QrCode.toSvgString() in C++ and Rust, related to Java change in commit 9c670453a8. Project Nayuki 2018-08-28 21:12:38 +0000
  • 3ead3dbb84 Updated up to 8 comments in all language versions, but somewhat differently in each language. Project Nayuki 2018-08-28 21:08:00 +0000
  • b9f69cf7bd Updated documentation comment in 4 languages to change word "specified" to "given", related to commit d8b66fcbf1. Project Nayuki 2018-08-28 20:59:24 +0000
  • e9e7363c55 Tweaked Java comments and added assert. Project Nayuki 2018-08-28 20:27:51 +0000
  • 362d552c92 Simplified QrSegment.Mode.numCharCountBits() in all language versions. Project Nayuki 2018-08-28 20:11:05 +0000
  • 16b59e207d Deleted unnecessary version range check in two private functions, in all language versions except Rust. Project Nayuki 2018-08-28 19:45:09 +0000
  • 7fe69730c4 Tweaked comments for QrSegment.getTotalBits() to express package-private access control in some languages. Project Nayuki 2018-08-28 19:40:35 +0000
  • 9c670453a8 Tweaked small pieces of code. Project Nayuki 2018-08-28 19:32:44 +0000
  • 4ede209d9a Changed QrCode.getAlignmentPatternPositions() from static function to instance method, tweaked its logic, and updated comment - in all languages but differently in each. Project Nayuki 2018-08-28 19:10:47 +0000
  • 565f1d7481 Removed static imports from Java QrSegmentAdvanced for clarity. Project Nayuki 2018-08-28 18:34:06 +0000
  • 8800acf003 Revamped Java QrSegmentAdvanced code to implement optimization of kanji text, and simplify existing algorithms. Project Nayuki 2018-08-28 18:31:44 +0000
  • ce1f7d4c4d Refactored handling of zero-length text in Java QrSegmentAdvanced. Project Nayuki 2018-08-28 17:49:24 +0000
  • b3a34bdd3d Upgraded some of Java QrSegmentAdvanced's private methods to handle full Unicode code points instead of UTF-16 code units. Project Nayuki 2018-08-28 16:54:58 +0000
  • a2fe36e1c0 Added an inner class import to Java QrSegmentAdvanced to shorten names. Project Nayuki 2018-08-28 16:51:20 +0000
  • 4c882636bb Updated comments for QrSegment.getTotalBits() in all language versions, but somewhat differently per language. Project Nayuki 2018-08-28 16:36:07 +0000
  • b095504d5c Tweaked and simplified QrSegment.getTotalBits() to use infinity value, in JavaScript and TypeScript code. Project Nayuki 2018-08-28 16:20:01 +0000
  • 719caf4d99 Added private helper method to Java QrSegmentAdvanced. Project Nayuki 2018-08-28 07:52:42 +0000
  • 0bf2d3306b Simplified some code. Project Nayuki 2018-08-28 07:18:56 +0000
  • a268c93ec5 Clarified some assertions and code. Project Nayuki 2018-08-28 07:18:27 +0000
  • 518850d81a Updated various comments - Javadoc, method-level, intra-method. Project Nayuki 2018-08-28 07:17:45 +0000
  • 943b8815ee Deleted unused parameter and simplified code in ReedSolomonGenerator.getRemainder(). Project Nayuki 2018-08-28 06:59:00 +0000
  • f8e59274f6 Simplified and renamed addEccAndInterleave(), based on the slow QR library C version algorithm. Project Nayuki 2018-08-28 06:54:54 +0000
  • 669585590b Added an assertion to QrCode.encodeSegmentsAdvanced() in all language versions. Project Nayuki 2018-08-28 06:22:22 +0000
  • 87cab22ffc Revamped addEccAndInterleave() in C code for simplicity and robustness. Project Nayuki 2018-08-28 05:31:35 +0000
  • 2c055c2e67 Renamed some related variables in C code to match other language versions. Project Nayuki 2018-08-28 05:30:18 +0000
  • 08f7bba796 Simplified C code to eliminate a loop variable. Project Nayuki 2018-08-28 05:08:27 +0000
  • de2603ab5f Simplified some C code for overflow-safe calculation. Project Nayuki 2018-08-28 05:08:03 +0000
  • f1a1ab189b Clarified and simplified some pieces of C code. Project Nayuki 2018-08-28 04:58:20 +0000
  • 536a881416 Reformatted small pieces of C code. Project Nayuki 2018-08-28 04:57:03 +0000
  • e2789cd5c4 Updated and added comments in C code. Project Nayuki 2018-08-28 04:55:34 +0000
  • d3fbf3173b Tweaked C code to change dummy value initializations to early exits (return statements). Project Nayuki 2018-08-28 04:42:24 +0000
  • 45c4ac7f2e Added new private constant to C code. Project Nayuki 2018-08-28 04:41:21 +0000
  • ccd7f3e9e8 Simplified Reed-Solomon generator algorithms, without changing behavior. Project Nayuki 2018-08-28 04:25:48 +0000
  • 567dbbb067 De-optimized Reed-Solomon generator to not store one step of precomputing multiplication tables, in preparation for next change. Project Nayuki 2018-08-28 04:17:28 +0000
  • e7d2449957 Deleted comment and calculated the constant in QrCode.getNumRawDataModules() in all language versions except Java, because only the Java code explains the calculation in detail. Project Nayuki 2018-08-28 03:53:17 +0000
  • f83f201b8d Tweaked TypeScript code to properly move array constants into QrCode class. Project Nayuki 2018-08-27 03:13:48 +0000
  • bed21e3c64 Updated TypeScript code so that QrCode_Ecc and QrSegment_Mode are changed to nested classes, thus making the API fully compatible with the JavaScript version. Project Nayuki 2018-08-27 03:10:17 +0000
  • dae06a30aa Synchronized example Python code in setup.py with main readme (related to commit 7e72bd8dfb). Project Nayuki 2018-08-27 02:56:17 +0000
  • 391c5fcc20 Synchronized readme text to add TypeScript to the list of languages (related to commit 88ff414a24). Project Nayuki 2018-08-27 02:51:37 +0000
  • 0860fee6be Simplified example Rust code in readme. Project Nayuki 2018-08-27 02:47:33 +0000
  • 98d1f0cc91 Reformatted a comment in all language versions (related to commit 5073db4487). Project Nayuki 2018-08-26 03:55:03 +0000
  • 3e2770d6c0 Somewhat simplified black/white balance penalty calculation. Project Nayuki 2018-08-26 03:53:36 +0000
  • c3aeb24757 Tweaked TypeScript code to use static read-only fields instead of property getters. Project Nayuki 2018-08-26 03:45:39 +0000
  • 85072b3126 Fixed TypeScript code's QrSegment_Mode constants to make the demo work correctly. Project Nayuki 2018-08-26 03:41:25 +0000
  • 868b387d9a Fixed C++ worker program due to changing exceptions from string to object (related to commit 4ca232b949). Project Nayuki 2018-08-26 03:31:09 +0000
  • 5073db4487 Somewhat simplified black/white balance penalty calculation in all language versions. Project Nayuki 2018-08-26 03:20:12 +0000
  • 7d7a9b4820 Tweaked some Java code. Project Nayuki 2018-08-26 02:33:49 +0000
  • 1edde0571a Simplified some Java code regarding Objects.requireNonNull(). Project Nayuki 2018-08-26 02:33:36 +0000
  • c8f05d24d1 Tweaked comments about inclusive ranges so that the word is consistently parenthesized. Project Nayuki 2018-08-26 02:33:20 +0000
  • ccd571624e Tweaked QrCode constructor to dispose of the isFunction array in all languages except C, but somewhat differently in each language. Project Nayuki 2018-08-26 02:17:47 +0000
  • c86dacacb7 Tweaked code and comment in QrCode.encodeSegments() in all language versions. Project Nayuki 2018-08-26 02:03:27 +0000
  • c9553ead71 Simplified code in QrCode.drawFunctionPatterns() in all language versions, but differently in Python. Project Nayuki 2018-08-26 01:49:27 +0000
  • 0ee6c41c9c Renamed QrCode.appendErrorCorrection() to addEccAndInterleave() in all language versions. Project Nayuki 2018-08-26 01:33:06 +0000
  • 206618d71c Updated Python test script to enable assertions for Java worker program. Project Nayuki 2018-08-26 00:09:48 +0000
  • 593ff051bf Clarified and simplified some code. Project Nayuki 2018-08-26 00:01:00 +0000
  • b7f8d3a239 Tweaked some bit-drawing code for clarity. Project Nayuki 2018-08-26 00:00:32 +0000
  • 0e5e3c1b61 Tweaked code to convert most explicit assertion checks to native assert statements. Project Nayuki 2018-08-25 23:52:36 +0000
  • 887b6255ed Updated and simplified Reed-Solomon ECC computation to reduce temporary buffers and copying. Project Nayuki 2018-08-25 23:47:47 +0000
  • cdb9172032 Simplified some code, without changing behavior. Project Nayuki 2018-08-25 23:46:06 +0000
  • 7fa8becaf7 Tweaked code to avoid overflow entirely. Project Nayuki 2018-08-25 23:24:16 +0000
  • e2050c3e03 Simplified code to use StringBuilder method chaining. Project Nayuki 2018-08-25 23:23:26 +0000