Commit Graph

61 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
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
c99a727c8b Updated function-level comments in the C language port. 2021-11-14 21:34:10 +00:00
Project Nayuki
0e80f23c04 Reordered QrSegment.{isNumeric(),isAlphanumeric()} in {C, C++, Rust} versions. 2021-07-28 19:45:54 +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
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
40d24f38aa Fixed argument type of qrcodegen_encodeSegmentsAdvanced() mask in C code. 2019-02-14 01:53:57 +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
f011e52770 Updated and synchronized documentation comments for QrCode's instance methods, in all languages. 2018-10-06 03:26:54 +00:00
Project Nayuki
76f97dd0b8 Updated and synchronized documentation comments for QrCode class's constructor and static factory functions, in all languages. 2018-10-06 03:11:03 +00:00
Project Nayuki
95e5f14c36 Updated and synchronized QrCode class's top-level documentation comment, in all languages. 2018-10-05 21:17:52 +00:00
Project Nayuki
a5b6c28a1f Updated and synchronized documentation comments for QrCode class's fields and constants, in all languages. 2018-10-05 20:56:50 +00:00
Project Nayuki
eebae19fb2 Reduced the use of the word "symbol" when referring to QR Codes, in all languages. 2018-10-05 20:30:26 +00:00
Project Nayuki
79796901ea Updated and synchronized documentation comments for QrSegment class's {top-level, constructor, makeBytes()}, in all languages. 2018-10-05 19:38:36 +00:00
Project Nayuki
85eb6493fd Updated and synchronized documentation comments for QrSegment's constants/functions involving character sets, in all languages. 2018-10-05 19:34:42 +00:00
Project Nayuki
139e67eee2 Updated and synchronized documentation comments for QrSegment's fields, in all languages. 2018-10-05 19:27:11 +00:00
Project Nayuki
179f7be089 Updated and synchronized QrCode.Ecc and QrSegment.Mode enums' documentation comments, in all languages. 2018-10-05 17:58:16 +00:00
Project Nayuki
7d49af97e1 Updated documentation comments for three QrSegment members, in all language versions. 2018-10-05 00:21:12 +00:00
Project Nayuki
a19c7aa21b Reformatted a bit of whitespace in C code, to match other languages (commit 5a5626edb2). 2018-09-17 04:15:29 +00:00
Project Nayuki
30aed54c47 Simplified C code to directly assign useful values to the segment mode enum. 2018-09-17 03:31:00 +00:00
Project Nayuki
070daf8c9e Tweaked C header file to be friendly to C++. 2018-09-17 03:00:01 +00:00
Project Nayuki
3ead3dbb84 Updated up to 8 comments in all language versions, but somewhat differently in each language. 2018-08-28 21:08:00 +00:00
Project Nayuki
e2789cd5c4 Updated and added comments in C code. 2018-08-28 04:55:34 +00:00
Project Nayuki
c8f05d24d1 Tweaked comments about inclusive ranges so that the word is consistently parenthesized. 2018-08-26 02:33:20 +00:00
Project Nayuki
202fdd39d3 Edited and added numerous comments for C library members. 2017-09-09 06:09:17 +00:00
Project Nayuki
2b9770f54a Added comments to numerous new C functions. 2017-09-09 05:46:11 +00:00
Project Nayuki
66f6500220 Added unused C functions to make a QR Code based on a list of segments. 2017-09-09 04:33:31 +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
4f823c3039 Added new unused enum and struct to C library code to represent segments. 2017-09-08 03:16:43 +00:00
Project Nayuki
88cc1c05fd Fully fixed C library code to be compilable in C++ mode (polyglot). 2017-07-04 06:18:14 +00:00
Project Nayuki
047f85d164 Tweaked C code to be more correct regarding #include <stddef.h> for size_t. 2017-07-04 05:27:18 +00:00
Project Nayuki
5d1069a93c Added 'extern "C"' directives to make the C header file usable in C++ code. 2017-05-07 21:51:08 +00:00
Project Nayuki
1a2b0065fe Updated comments in C code. 2017-05-06 11:43:14 +00:00
Project Nayuki
c82c6f478b Tweaked C code to give explicit value to Ecc enum, to approve of casting enum values to/from int. 2017-04-26 17:21:44 +00:00
Project Nayuki
23244832b5 Heavily edited (and slightly fixed) public API comments for C library. 2017-04-26 17:20:38 +00:00
Project Nayuki
546029090c Changed C API functions qrcodegen_encodeText() and qrcodegen_encodeBinary() to return boolean status instead of integer version number, updated runnable programs to work with modified API. 2017-04-25 06:15:11 +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
df1c49cc39 Changed C API function qrcodegen_getModule() to remove version argument, updated runnable programs. 2017-04-25 05:46:01 +00:00
Project Nayuki
339efc46b8 Changed C code to prepend a size info byte to beginning of QR Code arrays. This has no visible behavioral change when using qrcodegen APIs, but the array data will be different and all buffers need one extra byte. Old code using the API needs to be recompiled because the buffer length calculation macros changed. 2017-04-25 05:31:15 +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
9a100aed7d Updated and added numerous comments in C code. 2017-04-20 06:39:03 +00:00