Commit Graph

22 Commits (669585590be62b98f6612f8d8211d9ade46a8445)

Author SHA1 Message Date
Project Nayuki 18f9b7c6ce Tweaked C++ code for style and robustness.
7 years ago
Project Nayuki 236a999637 Tweaked usages of C++ QrSegment::Mode class to be passed by value instead of const reference.
7 years ago
Project Nayuki 70a181753a Changed C++ QrSegment class to eliminate const from fields, updated related code.
7 years ago
Project Nayuki e0e905e3d1 Changed C++ QrSegment::Ecc class to eliminate const from fields, updated related code.
7 years ago
Project Nayuki dfe960aa60 Split a long line in a comment in {Java, JavaScript, C++} 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 3305d230c1 Added rvalue reference (xvalue) constructor version for C++ QrSegment, updated code to use it.
7 years ago
Project Nayuki 5279a4c88b Updated C++ QrSegment class to accept and store std::vector<bool> instead of BitBuffer.
7 years ago
Project Nayuki 4a62fb138a Updated C++ QrSegment's constructor and fields to use BitBuffer instead of vector<uint8_t>.
7 years ago
Project Nayuki 20a05141ec Added C++ QrSegment constructor taking BitBuffer argument, updated existing code to use it.
7 years ago
Project Nayuki a610a3d8df Added support for making Extended Channel Interpretation (ECI) segments - in Java, C++, JavaScript, and Python language versions.
8 years ago
Project Nayuki 106e31d9c7 Simplified/deoptimized C++ code to use string search instead of lookup table for alphanumeric mode encoding. Also tightened the error checking in QrSegment::makeAlphanumeric(). As a side effect this now makes text encoding correct on non-ASCII systems (e.g. EBCDIC).
8 years ago
Project Nayuki 33af4e376e Updated C++ header code to be stricter by prepending std:: prefix for C standard library types.
8 years ago
Project Nayuki b0123fee3d Reduced lines in copyright notice of each source file (related to commit 4bba4c03ed).
8 years ago
Project Nayuki 654520d0d4 Changed syntax so that every class member is explicitly prefixed with public/private like in Java/C# style, without changing any functionality.
8 years ago
Project Nayuki e062a386d0 Deleted copyright year in all source files, updated year in readme document.
8 years ago
Nayuki Minase f63f890235 Changed ~4 members to package-private in all language versions, updating code in Java version but only updating comments in JavaScript, Python, C++ versions.
9 years ago
Nayuki Minase be316029aa Added and updated code comments for members (mostly) and within functions (a few), in all languages.
9 years ago
Nayuki Minase 1df147943e Tweaked section comments and blank lines for better uniformity across all language versions.
9 years ago
Nayuki Minase 5692e951dd Revamped QrCode.encodeSegments() to add parameters to make a much richer API, in all language versions; updated JavaScript demo script to handle new semantics.
9 years ago
Nayuki Minase ca7e7a60a7 Moved QrCode.encodeTextToSegment() to QrSegment.makeSegments() and changed the function's code somewhat, in all language versions; updated JavaScript demo script to handle new semantics.
9 years ago
Nayuki Minase 008fddf4be Added C++ port of the library.
9 years ago