Project Nayuki
98d1f0cc91
Reformatted a comment in all language versions (related to commit 5073db4487
).
6 years ago
Project Nayuki
5073db4487
Somewhat simplified black/white balance penalty calculation in all language versions.
6 years ago
Project Nayuki
7d7a9b4820
Tweaked some Java code.
6 years ago
Project Nayuki
1edde0571a
Simplified some Java code regarding Objects.requireNonNull().
6 years ago
Project Nayuki
c8f05d24d1
Tweaked comments about inclusive ranges so that the word is consistently parenthesized.
6 years ago
Project Nayuki
ccd571624e
Tweaked QrCode constructor to dispose of the isFunction array in all languages except C, but somewhat differently in each language.
6 years ago
Project Nayuki
c86dacacb7
Tweaked code and comment in QrCode.encodeSegments() in all language versions.
6 years ago
Project Nayuki
c9553ead71
Simplified code in QrCode.drawFunctionPatterns() in all language versions, but differently in Python.
6 years ago
Project Nayuki
0ee6c41c9c
Renamed QrCode.appendErrorCorrection() to addEccAndInterleave() in all language versions.
6 years ago
Project Nayuki
8d6dcf2631
Simplified and reformatted QrCode.getAlignmentPatternPositions() in different ways in all language versions.
6 years ago
Project Nayuki
f5be9d38f6
Updated Javadoc and informal comments in Java code.
6 years ago
Project Nayuki
bc372054e2
Tweaked Java QrCode.toSvgString() to avoid overflow entirely.
6 years ago
Project Nayuki
6f45d3b573
Clarified code in QrCode.drawVersion() in 4 language versions.
6 years ago
Project Nayuki
62e73f787a
Renamed variable in QrCode.drawVersion() in all language versions.
6 years ago
Project Nayuki
23ae555dde
Added variable for clarity to QrCode.drawFormatBits() in all language versions.
6 years ago
Project Nayuki
ea29e58e9c
Simplified Java code to use StringBuilder method chaining.
6 years ago
Project Nayuki
f3ba9c0837
Simplified QrCode.toSvgString() loop ranges in all language versions except C.
6 years ago
Project Nayuki
62930ef455
Updated and added 5 comments in all language versions except C.
6 years ago
Project Nayuki
d1f53e6e7d
Added and updated 4 comments in all language versions.
6 years ago
Project Nayuki
a2977e6351
Refactored a Java method to reduce indirection.
6 years ago
Project Nayuki
bf62065700
Simplified and clarified small pieces of Java code, without changing behavior.
6 years ago
Project Nayuki
0e2ecff58e
Tweaked Java code to convert most explicit assertion checks to native assert statements, for compactness and because the code quality ensures that the checks shouldn't fail in normal usage.
6 years ago
Project Nayuki
d8d2da49e4
Tweaked Javadoc to use the word "constructs" instead of "creates" for constructors.
6 years ago
Project Nayuki
80797f449e
Tweaked pluralization in section comments, in multiple languages.
7 years ago
Project Nayuki
693304b8c3
Updated all language versions to add getBit() helper function and refactor existing arithmetic code to use it.
7 years ago
Project Nayuki
9728f19f59
Added integer overflow checks to toSvgString() in Java, C++, Rust code; added checks to toImage() in Java code.
7 years ago
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.
7 years ago
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.
7 years ago
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.
7 years ago
Project Nayuki
3d4d941da3
Updated a few documentation comments.
7 years ago
Project Nayuki
272ca8bb54
Split long lines in various {Java, JavaScript, Python, C++, C, Rust} code, without changing behavior.
7 years ago
Project Nayuki
1d5ceab068
Split long lines in a comment in {Java, JavaScript, C++, Python, Rust} language versions, without changing wording.
7 years ago
Project Nayuki
2fd05cc7ef
Split long lines in 2 comments in {Java, JavaScript, Python, C++} language versions, without changing wording.
7 years ago
Project Nayuki
d8b66fcbf1
Updated 2 API documentation comments in {Java, JavaScript, Python, C++} language versions, though not identically.
7 years ago
Project Nayuki
16f504be67
Inlined the 'size' variable in getAlignmentPatternPositions() in 3 language versions.
7 years ago
Project Nayuki
49f6538682
Updated a comment in getAlignmentPatternPositions() in most language versions (except JavaScript).
7 years ago
Project Nayuki
d785ecb598
Simplified the no-stroke declaration in SVG output code - in Java, C++, JavaScript, Python language versions.
7 years ago
Project Nayuki
0482a1ec5b
Simplified a small bit of variables and logic of QrCode.getPenaltyScore() in all language versions, but in a subtly different way per language.
8 years ago
Project Nayuki
50c1a6b8af
Simplified a few lines of code in constructor of ReedSolomonGenerator in all language versions.
8 years ago
Project Nayuki
17e0155500
Added local variable to appendErrorCorrection() in {Java, C++, JavaScript, Python} language versions to reduce code repetition and synchronize with C version.
8 years ago
Project Nayuki
652ee37f59
Updated comment for QrCode.getNumRawDataModules() in all language versions.
8 years ago
Project Nayuki
b0123fee3d
Reduced lines in copyright notice of each source file (related to commit 4bba4c03ed
).
8 years ago
Project Nayuki
2ffc439340
Updated comments in drawFunctionPatterns() of all other language versions to synchronize with C code.
8 years ago
Project Nayuki
7c173b79b4
Simplified code for 'upward' variable in all language versions, without changing behavior.
8 years ago
Project Nayuki
3e634c9f26
Renamed variable 'upwards' to 'upward' in drawCodewords() of all language versions, without changing behavior.
8 years ago
Project Nayuki
f020833cd4
Simplified code in all language versions of the library (C, C++, Java, JavaScript, Python) and reduced table size, without changing behavior.
8 years ago
Project Nayuki
e062a386d0
Deleted copyright year in all source files, updated year in readme document.
8 years ago
Project Nayuki
bd470926ca
Tweaked all Java code to replace explicit null checks with calls to Objects.requireNonNull() (requires Java SE 7+).
8 years ago
Project Nayuki
ff9fbba9cf
Renamed loop variable from j to i in ReedSolomonGenerator.getRemainder() in most language versions.
9 years ago
Project Nayuki
a9a5cdbb58
Updated documentation comments for 3 functions in all language versions.
9 years ago