Commit Graph

75 Commits (2515a4213cce689f853f8cc9ca0d8ba78e796f5e)

Author SHA1 Message Date
Project Nayuki 2515a4213c 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 e476134828 Changed the words "white"->"light" and "black"->"dark" in comments and local variables, in order to match the vocabulary in the QR Code specification document.
3 years ago
Project Nayuki 219d04a247 Simplified code to remove unnecessary `this`, also improving consistency with other field assignments, enabled by a local variable renaming in commit 8dabf86641.
3 years ago
Project Nayuki db2d52116a Simplified QrCode.getPenalty().
3 years ago
Project Nayuki 8dabf86641 Renamed some method parameters to completely avoid variable shadowing.
5 years ago
Project Nayuki 1edf83109f Updated readme text, synchronized package-info Javadoc text with the readme.
5 years ago
Project Nayuki f05a8f9098 Replaced the finder-like pattern detection algorithm with a more sophisticated and accurate one, synchronizing with the parent project.
5 years ago
Project Nayuki 42c357ae1c Renamed a local variable.
5 years ago
Project Nayuki 4671dca0ad Tweaked a bit of code for simplicity.
5 years ago
Project Nayuki afc12dc9d2 Synchronized some code with the parent project, without changing behavior.
5 years ago
Project Nayuki 6d6e0f3fde Added and updated many comments, almost all at the member level (rarely within functions), some with original wording, some synchronizing with the main qrcodegen project.
5 years ago
Project Nayuki 960b9cd32d Deleted some static imports.
5 years ago
Project Nayuki fa7a092672 Deleted some section comments.
5 years ago
Project Nayuki f8f01c4d4e Refactored logic in QrTemplate and ReedSolomonGenerator into new Memozier class.
5 years ago
Project Nayuki df55fd6504 Rearranged variables, updated comment.
6 years ago
Project Nayuki 47541e1b29 Simplified some code in getPenaltyScore().
6 years ago
Project Nayuki 655bb970ce Completely rewrote the algorithm for detecting finder-like patterns, making it more accurate and compliant with the QR Code specification.
6 years ago
Project Nayuki f4f971f384 Inverted some if-else statements in getPenaltyScore().
6 years ago
Project Nayuki b2671166ce Renamed many variables in getPenaltyScore(), in preparation for future changes.
6 years ago
Project Nayuki 8551314425 Added/updated/deleted some comments.
6 years ago
Project Nayuki df729db98b Added "data too long" exception class, changed code to make use of it, updated Javadoc comments.
6 years ago
Project Nayuki 2f4b0e8fd8 Tweaked drawFormatBits() and drawDummyFormatBits() to use end-exclusive range in second copy for clarity.
6 years ago
Project Nayuki badeca0dc9 Imported QrSegmentAdvanced from the parent project, changed a constant to be package-private, updated readme.
6 years ago
Project Nayuki 5657ba274b Added package summary Javadoc comment.
6 years ago
Project Nayuki 72d350e3a0 Added and updated comments.
6 years ago
Project Nayuki b967ae4aae Added and updated some strict overflow checks.
6 years ago
Project Nayuki 83a3c3b957 Added and updated comments.
6 years ago
Project Nayuki eb072ba84e Simplified small pieces of logic.
6 years ago
Project Nayuki 3e6381cea8 Renamed loop variables and swapped commutative arguments for clarity.
6 years ago
Project Nayuki 6124187248 Refactored QrTemplate to use QrCode.getBit().
6 years ago
Project Nayuki b669311c2e Added Javadoc and informal comments to some members, which differ from the parent project.
6 years ago
Project Nayuki f6e7b17602 Tweaked small pieces of code, synchronizing from the parent "QR Code generator library" project.
6 years ago
Project Nayuki 132c8f32e2 Added and updated many Javadoc and informal comments, synchronizing from the parent "QR Code generator library" project.
6 years ago
Project Nayuki 509881ea9f Slightly tweaked demo program for clarity.
6 years ago
Project Nayuki 735994ed2a Aligned main comments in demo program.
6 years ago
Project Nayuki 820b2ca60a Moved QrCode class's max/min version constants, tweaked associated comments and blank lines.
6 years ago
Project Nayuki 6a5fdc5687 Tweaked whitespace for consistency.
6 years ago
Project Nayuki 6f79d4c68e Tweaked comments and statement order in QrCode constructor.
6 years ago
Project Nayuki b0a7a4240a Added private helper function to reduce occurrences of low-level bit arithmetic.
6 years ago
Project Nayuki 1027ad5b65 Reformatted some whitespace for alignment.
6 years ago
Project Nayuki 6d5164fa0e Added and updated comments.
6 years ago
Project Nayuki 4cddfddb66 Simplified small pieces of code.
6 years ago
Project Nayuki b3949f6fc4 Changed QrTemplate.getAlignmentPatternPositions() from static function to instance method, and updated comment.
6 years ago
Project Nayuki a268c93ec5 Clarified some assertions and code.
6 years ago
Project Nayuki 518850d81a Updated various comments - Javadoc, method-level, intra-method.
6 years ago
Project Nayuki 943b8815ee Deleted unused parameter and simplified code in ReedSolomonGenerator.getRemainder().
6 years ago
Project Nayuki f8e59274f6 Simplified and renamed addEccAndInterleave(), based on the slow QR library C version algorithm.
6 years ago
Project Nayuki ccd7f3e9e8 Simplified Reed-Solomon generator algorithms, without changing behavior.
6 years ago
Project Nayuki 567dbbb067 De-optimized Reed-Solomon generator to not store one step of precomputing multiplication tables, in preparation for next change.
6 years ago
Project Nayuki 3e2770d6c0 Somewhat simplified black/white balance penalty calculation.
6 years ago