guanzengkun
16f7e447e6
Description: upgrade qrcode from 1.7.0 to 1.8.0
...
IssueNo: https://gitee.com/openharmony/third_party_qrcodegen/issues/I6O20W
Feature or Bugfix: Feature
Binary Source:from third patry
Signed-off-by: guanzengkun <guanzengkun@huawei.com>
2023-04-27 15:39:15 +08:00
Project Nayuki
f3705873ab
Rewrote comments for top-level QR-encoding functions in C, to correspond better to other language ports.
2022-01-08 04:26:56 +00:00
Project Nayuki
33af976bba
Fixed a misspelled word in C comments.
2022-01-08 03:42:50 +00:00
pssea
e9104a60b9
Description: upgrade qrcode from 1.6.0 to 1.7.0
...
IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I4NPYK
Feature or Bugfix: Feature
Binary Source:No
Signed-off-by: lizhiqi <lizhiqi1@huawei.com>
2021-12-22 21:00:55 +08:00
Project Nayuki
52a3273d8c
Updated documentation comments for QrCode::{encode_text(),encode_binary()} in Rust-no-heap and C ports.
2021-12-03 06:05:20 +00:00
Project Nayuki
d4085a443a
Revamped documentation comments about argument arrays in the C and Rust-no-heap ports.
2021-12-03 05:56:54 +00:00
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.
2021-12-01 06:01:50 +00:00
Project Nayuki
c99a727c8b
Updated function-level comments in the C language port.
2021-11-14 21:34:10 +00:00
Project Nayuki
c7ab2582aa
Added value range assertions to QrCode.getPenaltyScore(), in all language ports.
2021-11-06 06:15:19 +00:00
Project Nayuki
c53c754acf
Added/tweaked comments in C code to correspond to the other language ports.
2021-11-06 05:31:06 +00:00
Project Nayuki
359c42557c
Renamed a C library internal function getModule() to getModuleBounded().
2021-11-06 05:17:02 +00:00
Project Nayuki
94aca572e4
Renamed a C library internal function setModule() to setModuleBounded().
2021-11-06 05:16:30 +00:00
Project Nayuki
a078f19cf4
Renamed a C library internal function setModuleBounded() to setModuleUnbounded().
2021-11-06 05:15:25 +00:00
Project Nayuki
2fc287904a
Tweaked C code to avoid unused-parameter warning when compiling without asserts.
2021-11-04 14:45:44 +00:00
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.
2021-10-20 01:56:33 +00:00
Project Nayuki
0e80f23c04
Reordered QrSegment.{isNumeric(),isAlphanumeric()} in {C, C++, Rust} versions.
2021-07-28 19:45:54 +00:00
Project Nayuki
764749bd8a
Added spaces around multiplication operators in QrCode.getAlignmentPatternPositions() for all language versions, for consistency with other code.
2021-07-28 17:32:33 +00:00
Project Nayuki
42bc11c763
Updated C API comments to match the existing code logic requiring non-overlapping array buffers.
2021-07-28 17:21:25 +00:00
Project Nayuki
2261248957
Removed the test worker program in every language and the Python batch tester, because this is not core functionality and is hard to explain.
2021-07-28 17:09:18 +00:00
Project Nayuki
1fd0216dfe
Changed the word "black" to "dark" in {comments, local variables,} in order to match the vocabulary in the QR Code specification document.
2021-07-27 23:35:06 +00:00
Project Nayuki
99e7d59383
Changed the word "white" to "light" in {comments, local variables, a private C function} in order to match the vocabulary in the QR Code specification document.
2021-07-27 23:34:00 +00:00
mamingshuai
ef7ebfe2c8
update openharmony 1.0.1
2021-03-11 18:38:29 +08:00
Project Nayuki
455e0b2427
Merged.
2020-09-12 16:29:56 +00:00
Thomas Klausner
5217af7cf6
Honor LDFLAGS when building executables.
2020-02-08 18:48:32 +01:00
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
6e088f72d3
Added an assertion to QrCode.getNumRawDataModules() in all language versions.
2019-09-13 04:09:42 +00:00
Project Nayuki
7eac8beffe
Updated C and C++ makefiles to exclude warnings and sanitizers by default, instead recommending extra flags for manually doing a diagnostic/debug build.
2019-08-09 23:00:13 +00:00
Project Nayuki
0ebd221a27
Updated C test suite for an internal function because the parameter is size_t and not int. (The function and test were introduced in commit 08108ee6d8ae.)
2019-07-22 17:56:28 +00:00
Project Nayuki
1a254cf67f
Refactored C qrcodegen-test's testCalcSegmentBitLength() to add a test case struct.
2019-07-22 17:44:19 +00:00
Project Nayuki
42f753cfcf
Fixed indentation in a line of C code.
2019-07-22 17:31:19 +00:00
Project Nayuki
a492346364
Clarified C qrcodegen-worker so that two internal variables use size_t instead of int.
2019-07-22 17:30:40 +00:00
Project Nayuki
ae0ff71ff1
Clarified C qrcodegen-test testAddEccAndInterleave() so that its internals use size_t instead of int.
2019-07-22 17:26:56 +00:00
Project Nayuki
68d4cb5217
Clarified C qrcodegen-test addEccAndInterleaveReference() so that its internals use size_t instead of int.
2019-07-22 17:07:09 +00:00
Project Nayuki
9312480978
In C version, added many explicit integer type casts for signedness, with the help of GCC's "-Wsign-conversion" and "-Wconversion".
2019-07-22 16:31:22 +00:00
Project Nayuki
76127b8bfe
Renamed functions and variables, and updated comments, thus synchronizing the C language version with the previous changeset.
2019-07-14 17:09:51 +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
1ca214499b
Renamed a local variable in all language versions (although the Java version has different logic).
2019-07-06 01:43:20 +00:00
Project Nayuki
40d24f38aa
Fixed argument type of qrcodegen_encodeSegmentsAdvanced() mask in C code.
2019-02-14 01:53:57 +00:00
Project Nayuki
a072562461
Simplified an integer comparison in C code.
2019-02-14 01:47:14 +00:00
Project Nayuki
3a28ba7dfd
Added missing null check in C code after malloc.
2018-12-04 23:46:38 +00:00
Project Nayuki
fd083f70e8
Reordered calls to applyMask()/drawFormatBits() for conceptual clarity, without changing output (because masks don't affect format bits), in all language versions.
2018-11-04 19:26:33 +00:00
Project Nayuki
76de28378e
Added a const to C code for safety.
2018-11-04 18:56:47 +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
5ac0e2a938
Inverted some if-else statements in QrCode.getPenaltyScore() without changing behavior, in all languages.
2018-10-26 05:24:21 +00:00
Project Nayuki
111b20b2b9
Tweaked logic in QrCode.getPenaltyScore() for future expansion, without changing behavior, in all languages.
2018-10-26 05:21:34 +00:00
Project Nayuki
a14de3d959
Renamed colorX, colorY local variables in QrCode.getPenaltyScore() to just color, in all language versions.
2018-10-26 03:47:04 +00:00
Project Nayuki
f2ea49b7d4
Tweaked QrCode.drawFormatBits() to use end-exclusive range in second copy for clarity, in most languages.
2018-10-13 19:54:30 +00:00
Project Nayuki
7dbfabd388
Reordered functions and sections in C code for better flow for human readers, without changing functionality.
2018-10-08 18:01:14 +00:00
Project Nayuki
614169fc88
Fixed a comment in C code.
2018-10-08 03:02:56 +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