Commit Graph

61 Commits

Author SHA1 Message Date
Project Nayuki 13a25580a3 Simplified QrCode.getPenalty() in all language versions except Rust, related to commit 1439e8e4a5. 2020-01-29 17:52:21 +00:00
Project Nayuki 096c70cd4d Reorganized C++ library code into one implementation source file and one header file (instead of 3+3), changing some spacing and ordering, without changing functionality. 2020-01-11 18:26:12 +00:00
Project Nayuki 67c62461d3 Renamed some method parameters to completely avoid variable shadowing, in C++ and Java versions. 2019-10-14 00:20:16 +00:00
Project Nayuki b5aaadf758 Demoted ReedSolomonGenerator from a class to a set of functions, and changed some names and comments, in all languages except C. This reduces code verbosity but doesn't change public APIs or visible behavior. The code organization is similar to the finder-like-pattern-detector feature. 2019-07-14 16:54:00 +00:00
Project Nayuki c5ad557eea Updated the finder pattern detector logic in the other 6 language versions to match Java code. 2019-07-06 03:30:51 +00:00
Project Nayuki ec729bf269 Moved an #include in C++ code for correctness. 2019-01-03 23:31:07 +00:00
Project Nayuki 2359d68243 Tweaked C++ code to inline handleConstructorMasking() because the mask field is private instead of public const. 2018-11-04 19:16:28 +00:00
Project Nayuki af872343c0 Completely rewrote the algorithm for detecting finder-like patterns, making it more accurate and compliant with the QR Code specification, in all languages. 2018-10-26 06:53:12 +00:00
Project Nayuki 4635e8a8a8 Added new unused "data too long" exception/error class to Java, C++, Python, Rust code. 2018-10-26 02:39:46 +00:00
Project Nayuki 8c262c00dd Added and synchronized documentation comments for QrCode's scalar field accessor methods in C++ and Python with existing comments in Rust. 2018-10-06 03:46:20 +00:00
Project Nayuki f4b16f25b0 Updated documentation comment for field QrCode.modules, in most languages. 2018-10-06 03:40:31 +00:00
Project Nayuki f011e52770 Updated and synchronized documentation comments for QrCode's instance methods, in all languages. 2018-10-06 03:26:54 +00:00
Project Nayuki 76f97dd0b8 Updated and synchronized documentation comments for QrCode class's constructor and static factory functions, in all languages. 2018-10-06 03:11:03 +00:00
Project Nayuki 95e5f14c36 Updated and synchronized QrCode class's top-level documentation comment, in all languages. 2018-10-05 21:17:52 +00:00
Project Nayuki a5b6c28a1f Updated and synchronized documentation comments for QrCode class's fields and constants, in all languages. 2018-10-05 20:56:50 +00:00
Project Nayuki eebae19fb2 Reduced the use of the word "symbol" when referring to QR Codes, in all languages. 2018-10-05 20:30:26 +00:00
Project Nayuki 179f7be089 Updated and synchronized QrCode.Ecc and QrSegment.Mode enums' documentation comments, in all languages. 2018-10-05 17:58:16 +00:00
Project Nayuki b89bb889a5 Tweaked C++ and Rust code to not use character entities (left over from copying Javadoc). 2018-10-05 07:29:20 +00:00
Project Nayuki eab76f20d6 Updated class QrCode's field comments, in most languages. 2018-10-05 00:40:49 +00:00
Project Nayuki 028b377472 Updated a section comment in class QrCode, in most languages. 2018-10-05 00:30:10 +00:00
Project Nayuki 49e0902d9f Updated, added, synchronized section comments to show abstraction level in classes QrCode and QrSegment, in all languages except C. 2018-10-04 19:56:07 +00:00
Project Nayuki 859438d183 Moved QrCode class's max/min version constants, tweaked associated comments and blank lines, in all languages except C. 2018-10-04 19:40:43 +00:00
Project Nayuki 667c744d8b Updated and synchronized the QrCode class top-level documentation comment, in all languages except C. 2018-10-04 18:48:29 +00:00
Project Nayuki 3ead3dbb84 Updated up to 8 comments in all language versions, but somewhat differently in each language. 2018-08-28 21:08:00 +00:00
Project Nayuki b9f69cf7bd Updated documentation comment in 4 languages to change word "specified" to "given", related to commit d8b66fcbf1. 2018-08-28 20:59:24 +00:00
Project Nayuki 4ede209d9a Changed QrCode.getAlignmentPatternPositions() from static function to instance method, tweaked its logic, and updated comment - in all languages but differently in each. 2018-08-28 19:10:47 +00:00
Project Nayuki 0ee6c41c9c Renamed QrCode.appendErrorCorrection() to addEccAndInterleave() in all language versions. 2018-08-26 01:33:06 +00:00
Project Nayuki 62930ef455 Updated and added 5 comments in all language versions except C. 2018-08-22 19:23:40 +00:00
Project Nayuki d1f53e6e7d Added and updated 4 comments in all language versions. 2018-08-22 19:22:00 +00:00
Project Nayuki 80797f449e Tweaked pluralization in section comments, in multiple languages. 2018-06-23 16:21:40 +00:00
Project Nayuki 693304b8c3 Updated all language versions to add getBit() helper function and refactor existing arithmetic code to use it. 2018-04-13 19:48:59 +00:00
Project Nayuki 18f9b7c6ce Tweaked C++ code for style and robustness. 2018-02-26 20:21:23 +00:00
Project Nayuki 3208954e81 Changed and simplified C++ code by converting Ecc from class to enum, updated related code. 2018-02-26 19:53:57 +00:00
Project Nayuki 5a5626edb2 Added integer constants for QR Code min/max version numbers, made use of new constants in library and example applications, in all language versions except C. 2017-10-23 04:42:53 +00:00
Project Nayuki b86466ecd5 - Deleted constructors/functions/code for remasking existing QrCode object (due to doubtful real-world usefulness): C++, Java, JavaScript, Python, Rust.
- Tweaked code and comments due to feature removal: JavaScript, Python.
- Updated demo programs to reflect new API usage and add new example: C, C++, Java, Python, Rust.
2017-10-23 03:45:24 +00:00
Project Nayuki 8bbfa3938b Tweaked usages of C++ QrCode::Ecc class to be passed by value instead of const reference. 2017-09-06 04:21:56 +00:00
Project Nayuki a138e6fbc3 Changed C++ QrCode class to eliminate const from fields, updated related code. 2017-09-06 04:03:52 +00:00
Project Nayuki 71a69dd3d9 Changed C++ QrCode::Ecc class to eliminate const from fields, updated related code. 2017-09-06 03:48:43 +00:00
Project Nayuki 9c1a25aba4 Changed QrCode.getModule() in {Java, JavaScript, Python, C++} language versions to return Boolean instead of 0/1 - to match {C, Rust} language versions - and updated comments and usages. 2017-08-31 20:39:29 +00:00
Project Nayuki 1d5ceab068 Split long lines in a comment in {Java, JavaScript, C++, Python, Rust} language versions, without changing wording. 2017-08-31 20:18:41 +00:00
Project Nayuki 2fd05cc7ef Split long lines in 2 comments in {Java, JavaScript, Python, C++} language versions, without changing wording. 2017-08-31 20:13:05 +00:00
Project Nayuki d8b66fcbf1 Updated 2 API documentation comments in {Java, JavaScript, Python, C++} language versions, though not identically. 2017-08-31 19:51:31 +00:00
Project Nayuki 9f2c8d9e96 Simplified and tweaked various small pieces of C++ code. 2017-08-18 00:17:11 +00:00
Project Nayuki 2794dbc179 Added private helper function to C++ code to abstract how modules are stored. 2017-08-17 23:41:01 +00:00
Project Nayuki 652ee37f59 Updated comment for QrCode.getNumRawDataModules() in all language versions. 2017-05-06 11:51:21 +00:00
Project Nayuki 84dd6f4e07 Updated comment for multiply()/finiteFieldMultiply() in C++ and C code. 2017-05-06 11:50:31 +00:00
Project Nayuki 33af4e376e Updated C++ header code to be stricter by prepending std:: prefix for C standard library types. 2017-05-05 20:55:32 +00:00
Project Nayuki b0123fee3d Reduced lines in copyright notice of each source file (related to commit 4bba4c03ed). 2017-04-24 20:41:54 +00:00
Project Nayuki f020833cd4 Simplified code in all language versions of the library (C, C++, Java, JavaScript, Python) and reduced table size, without changing behavior. 2017-04-19 23:06:40 +00:00
Project Nayuki ceb51372d3 Updated C++ QrCode private methods to replace some int variables with long to prevent overflow. 2017-04-17 16:41:20 +00:00