Commit Graph

812 Commits (d524de615364fe630040b208b4caa14b6cd8e526)
 

Author SHA1 Message Date
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.
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:
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
Project Nayuki 97b2d9d71c Added class section comments to C++ code, related to commit 096c70cd4d.
3 years ago
Project Nayuki edc91c622e Renamed a local variable in Rust code for consistency with other language ports.
3 years ago
Project Nayuki f0945bc682 Tweaked Python, Rust, TypeScript code to rename the constructor `mask` parameter to `msk` for consistency with Java and C++ language ports (related to commit 67c62461d3), and to avoid potential confusion with the object field named `mask`.
3 years ago
Project Nayuki d6be9c5e44 Slightly tweaked code and comments to correspond to other language ports.
3 years ago
Project Nayuki 41b90335d9 Inlined Java handleConstructorMasking() and tweaked comments to correspond to other language ports.
3 years ago
Project Nayuki c53c754acf Added/tweaked comments in C code to correspond to the other language ports.
3 years ago
Project Nayuki 359c42557c Renamed a C library internal function getModule() to getModuleBounded().
3 years ago
Project Nayuki 94aca572e4 Renamed a C library internal function setModule() to setModuleBounded().
3 years ago
Project Nayuki a078f19cf4 Renamed a C library internal function setModuleBounded() to setModuleUnbounded().
3 years ago
Project Nayuki c6fcc212d1 Simplified a bit of internal Rust code.
3 years ago
Project Nayuki 3ae4141666 Slightly deoptimized Rust code for clarity, partly undoing commit 6c1f967894.
3 years ago
Project Nayuki 2fc287904a Tweaked C code to avoid unused-parameter warning when compiling without asserts.
3 years ago
Project Nayuki a06aef7c62 Added null checks and error termination logic to runnable main C code after calls to malloc()/calloc(), removed an unnecessary non-null assertion.
3 years ago
Project Nayuki c6cbb388a7 Made TypeScript code more robust by adding Readonly<> wrapper around appropriate array types in function parameters.
3 years ago
Project Nayuki a6f886f6ff Fixed example Rust code in readme, related to commit c8e1b0caed.
3 years ago
Project Nayuki 599b637c73 Fixed example Rust code in documentation comments, due to commit 6c1f967894.
3 years ago
Project Nayuki df548a379d Refactored Rust code to use {Range,RangeInclusive}.contains() instead of primitive operations.
3 years ago
Project Nayuki 3301b07c21 Simplified small pieces of Rust code.
3 years ago
Project Nayuki 6c1f967894 Changed Rust functions to take &str instead of &[char] because that type is more natural to use, removed intermediate step of making Vec<char>, updated demo program to fit.
3 years ago
Project Nayuki 3185c310e3 Refactored a repeated expression in Rust code.
3 years ago