Project Nayuki
8329a7108f
Slightly simplified the calculation of alignment pattern spacing in a non-obvious way, adapted from David Evans's "Lean QR" project.
3 months ago
Project Nayuki
42a886d784
Changed type hints to use native types (Python 3.9+) instead of the typing module.
6 months ago
Project Nayuki
76c1a7c62b
Added missing generic type parameters.
6 months ago
Project Nayuki
e6d80f7661
Added a missing optional type hint.
6 months ago
Project Nayuki
99f057910d
Fixed the package name in documentation comments for the qrcode-no-heap crate.
10 months ago
Corvus
9e15962898
Updated heapless example with new name
10 months ago
Project Nayuki
49a66a2b8b
Added missing metadata to Rust-no-heap's Cargo.toml, bumped the version because qrcodegen-no-heap 1.8.0 was already published on Crates.io.
1 year ago
Project Nayuki
5fb88bfa67
Renamed the Rust-no-heap implementation in Cargo.toml.
1 year ago
Project Nayuki
22fac31bdf
Changed the TypeScript input demo to add a download link for bitmap and vector output formats, and stop displaying the SVG XML code.
2 years ago
Project Nayuki
957e4ce5fa
Fixed TypeScript code style.
2 years ago
Project Nayuki
2643e824eb
Enabled constant evaluation of Rust Version/Mask functions/methods.
2 years ago
Project Nayuki
5d9ec8dfdd
Replaced some Rust object method calls with primitive arithmetic in order to support constant evaluation.
2 years ago
Project Nayuki
13e37016bd
Added directives to Rust code to suppress a stylistic lint check.
2 years ago
Project Nayuki
c147f7e328
Clarified a magic value in C code and reflowed some associated comments.
2 years ago
Project Nayuki
0dbd3b2133
Simplified Unicode string handling logic in TypeScript code thanks to ES6 features.
2 years ago
Project Nayuki
942f4319a6
Changed calls of the non-standard method String.substr() to substring().
2 years ago
Project Nayuki
720f62bddb
Updated package version numbers.
3 years ago
Project Nayuki
4e41cb2c72
Copied paragraphs in Rust comments for top-level QR-encoding functions for consistency.
3 years ago
Project Nayuki
f3705873ab
Rewrote comments for top-level QR-encoding functions in C, to correspond better to other language ports.
3 years ago
Project Nayuki
33af976bba
Fixed a misspelled word in C comments.
3 years ago
Project Nayuki
d524de6153
Changed to standard error classes in TypeScript code.
3 years ago
Project Nayuki
17e1a8a6d4
Marked Rust code to forbid unsafe.
3 years ago
Project Nayuki
33442ea74a
Updated copyright year in readme document.
3 years ago
Project Nayuki
9e81969139
Added a comment in Java QrSegmentAdvanced.makeSegmentsOptimally() functions to be consistent with QrCode.encodeSegments().
3 years ago
Project Nayuki
daa3114dcf
Replaced str.format() with f-strings in Python code.
3 years ago
Project Nayuki
e6ef02e0f5
Removed run-time type assertions in Python code in favor of static type hints.
3 years ago
Project Nayuki
52a3273d8c
Updated documentation comments for QrCode::{encode_text(),encode_binary()} in Rust-no-heap and C ports.
3 years ago
Project Nayuki
d4085a443a
Revamped documentation comments about argument arrays in the C and Rust-no-heap ports.
3 years ago
Project Nayuki
5990e6a99c
- In the project (top-level) readme file, kept one language's code example and moved all others out to language-specific readme files.
...
- Added a readme file for each programming language implementation (port) if it didn't already have one, mostly by copying the project readme text, and then added/edited a couple of feature points.
3 years ago
Project Nayuki
d02fe511cc
Updated the content of language-specific readme files and package-level documentation comments.
3 years ago
Project Nayuki
df44e259d1
Added a paragraph to partially synchronize all readme files and package-level documentation comments.
3 years ago
Project Nayuki
7a052cc5b2
Removed references to other programming languages within language-specific overview/readme text.
3 years ago
Project Nayuki
f39234b755
Clarified the Rust-no-heap documentation example code.
3 years ago
Project Nayuki
d0d0474e4c
Merged two separate but related projects:
...
- QR Code generator library (6 languages) (commit d8ea85f2e2
)
- Fast QR Code generator library (Java) (commit e3e8276149
)
3 years ago
Project Nayuki
e3e8276149
Renamed directory, moved file.
3 years ago
Project Nayuki
d8ea85f2e2
Added another implementation in Rust, distinguished by performing no heap allocations and enabling no_std.
3 years ago
Project Nayuki
c99a727c8b
Updated function-level comments in the C language port.
3 years ago
Project Nayuki
8bd5ed46b5
Revamped the DataTooLong error type in Rust to change from string to enum and remove Error.description().
3 years ago
Project Nayuki
fb9638d591
Reformatted a long function signature in Rust.
3 years ago
Project Nayuki
253ef19a4d
Reformatted some Rust code so that the expressions surrounding `..` have no spaces around operators.
3 years ago
Project Nayuki
50f0c4b5bc
Tweaked some of QrSegment.makeEci()'s integer literals to binary notations in most language ports.
3 years ago
Project Nayuki
86a49ba597
Tweaked Rust code to use `T::try_from(x).unwrap()` instead of `x as T`, in some cases for safety.
3 years ago
Project Nayuki
67ddbb6304
Clarified a few bits of Rust code.
3 years ago
Project Nayuki
d239c32c45
Simplified a few comparisons in Rust code.
3 years ago
Project Nayuki
cb4cecf5e3
Refactored TypeScript code to add assert() function to make it easier to read the intent and compare to other language ports.
3 years ago
Project Nayuki
ad537b93d9
Changed C++, Rust, Python code to use debug-mode assertions that can be disabled, similar to Java's assert, corresponding to the logic in the Java language port.
3 years ago
Project Nayuki
68cddb816d
Improved some assertion error messages, corresponding to Rust's unreachable!().
3 years ago
Project Nayuki
f6f91e4a7f
Removed unhelpful assertion error messages from Rust code.
3 years ago
Project Nayuki
845eab6f36
Simplified a bit of code.
3 years ago
Project Nayuki
c7ab2582aa
Added value range assertions to QrCode.getPenaltyScore(), in all language ports.
3 years ago