Commit Graph

36 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
67bb2b4267 Removed C macros for MALLOC() to not support compiling code verbatim in C++ mode (undoing commit eb536b43c5). 2018-09-17 02:41:39 +00:00
Project Nayuki
2c055c2e67 Renamed some related variables in C code to match other language versions. 2018-08-28 05:30:18 +00:00
Project Nayuki
0ee6c41c9c Renamed QrCode.appendErrorCorrection() to addEccAndInterleave() in all language versions. 2018-08-26 01:33:06 +00:00
Project Nayuki
13c136db8b Made C function getTotalBits() testable, added test cases. 2017-09-09 05:27:18 +00:00
Project Nayuki
9e9eaf488e Deleted 3 unused C private functions, deleted 1 associated test case. 2017-09-09 04:37:41 +00:00
Project Nayuki
fb544495e7 Added C functions to make numeric and alphanumeric segments, added test cases. 2017-09-08 07:06:22 +00:00
Project Nayuki
d126f7b1ed Added C functions to make byte and ECI segments, added test cases. 2017-09-08 06:43:25 +00:00
Project Nayuki
ec24c428ba Added C functions to test whether strings can be encoded in certain segment modes, added test cases. 2017-09-08 06:13:16 +00:00
Project Nayuki
08108ee6d8 Added C functions to calculate segment buffer size and bit length, added test cases. 2017-09-08 05:57:10 +00:00
Project Nayuki
eb536b43c5 Tweaked C test program sto be more C++-friendly by adding macro to cast malloc(), refactored existing code to use the macro. 2017-07-04 06:17:08 +00:00
Project Nayuki
f089897e04 Tweaked C test suite code to make test vectors immutable (const). 2017-07-04 05:42:05 +00:00
Project Nayuki
a712ccc230 Added test cases for C function appendErrorCorrection(). 2017-05-06 16:54:44 +00:00
Project Nayuki
d11707d06a Added test cases for C function appendBitsToBuffer(). 2017-05-06 13:37:15 +00:00
Project Nayuki
fffe81aeb1 Added C test case for getModule(), setModule(), etc. 2017-04-26 16:58:15 +00:00
Project Nayuki
0bd7684198 Added C test case for initializeFunctionModules(). 2017-04-26 16:44:41 +00:00
Project Nayuki
454534ee33 Changed C API function qrcodegen_getSize() to receive array instead of int, updated runnable programs, deleted test cases for this function. 2017-04-25 06:00:39 +00:00
Project Nayuki
b0123fee3d Reduced lines in copyright notice of each source file (related to commit 4bba4c03ed). 2017-04-24 20:41:54 +00:00
Project Nayuki
d27ee77082 Tweaked comments in C code. 2017-04-21 15:51:45 +00:00
Project Nayuki
7580ee38e0 Added more standard library header #includes to C code to be strict. 2017-04-20 23:17:48 +00:00
Project Nayuki
9b57973245 Added C test cases for 5 functions. 2017-04-20 19:35:48 +00:00
Project Nayuki
822c339b4e Added simple test program and suite of cases for C library. 2017-04-20 18:34:44 +00:00