851 Commits

Author SHA1 Message Date
openharmony_ci c08fca786e !1 Add issue and PR template for master
Merge pull request !1 from 马明帅/add_issus_pr_template_for_master
2021-04-30 15:04:07 +08:00
mamingshuai 0c829584aa add issue and pr template 2021-04-07 15:09:30 +08:00
mamingshuai ef7ebfe2c8 update openharmony 1.0.1 OpenHarmony_release_v1.1.0 2021-03-11 18:38:29 +08:00
马明帅 e155f03448 Initial commit 2021-03-11 17:38:13 +08:00
Project Nayuki 8518684c0f Moved comments in Python code from field assignments to field declarations. 2021-01-25 23:23:00 +00:00
Project Nayuki a807ee27db Added type annotations to instance fields in Python code. 2021-01-25 23:15:49 +00:00
Project Nayuki f9d1172e29 Fixed the names of some methods in comments. 2021-01-25 23:11:54 +00:00
Project Nayuki 8cbd1f506a Changed Rust API to move the version min/max values into associated constants for its type. 2020-10-14 02:09:27 +00:00
Project Nayuki bafd258293 Clarified a few pieces of Rust code. 2020-10-14 02:02:06 +00:00
Project Nayuki d00cbd3585 Added static types to some variables in Rust code. 2020-10-14 01:58:56 +00:00
Project Nayuki 43020cbd67 Fixed Rust code to avoid arithmetic overflow when a segment's bit length is very near usize::MAX. 2020-10-14 01:38:21 +00:00
Project Nayuki 705ce44efd Fixed arithmetic overflow in Rust code on platforms where usize is 16 bits wide. 2020-10-14 01:34:20 +00:00
Project Nayuki 98963e5cba Tweaked Rust code to narrow the bit width of QrCodeEcc.format_bits(). 2020-10-14 01:27:54 +00:00
Project Nayuki 455e0b2427 Merged. 2020-09-12 16:29:56 +00:00
Neil Haran 0df0908723 In C++ version, use const-reference in QrSegment ctor rather than deep copy. 2020-07-18 13:06:14 +01:00
Igor Guerrero 68f492ae38 Update README to add syntax highlighting to each example 2020-06-25 23:29:27 -04:00
Project Nayuki 08ac806145 Updated Python setup files due to commit f93ce5217e. 2020-06-09 17:52:12 +00:00
Project Nayuki c3a72b7333 Fixed handling of type annotations in Python code (due to commit 55dd3c881e). 2020-06-09 15:05:02 +00:00
Project Nayuki 6951a7e49e Fixed regex usage in Python code (due to commit 9ed47110a5). 2020-06-09 15:04:21 +00:00
Project Nayuki 9ed47110a5 Simplified regular expressions for Python 3. 2020-05-08 16:02:06 +00:00
Project Nayuki 55dd3c881e Added type annotations to all Python functions and methods, and almost all global variables. 2020-04-24 18:07:59 +00:00
Project Nayuki 49f9ea0890 Tweaked Python code to allow static type checking, without changing behavior. 2020-04-24 18:06:22 +00:00
Project Nayuki 979de6d335 Simplified a bit of Python code. 2020-04-24 17:57:23 +00:00
Project Nayuki f93ce5217e Simplified code by removing support for Python 2, leaving only support for Python 3. 2020-04-24 17:40:17 +00:00
Project Nayuki 71c75cfeb0 Tweaked Java Maven POM configuration. 2020-03-05 19:00:48 +00:00
Project Nayuki fd849b188c Updated package version numbers. 2020-03-05 17:46:11 +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 ae22a368bb De-optimized a bit of Java code to tighten scope at the expense of allocating more temporary memory. 2020-01-29 17:23:44 +00:00
Project Nayuki 2da5091674 Tweaked Rust code to add useful auto-derived traits to almost all structs. 2020-01-29 17:07:07 +00:00
Project Nayuki fd6917601d Fixed path in batch tester, due to commit f759146df3. 2020-01-27 01:01:37 +00:00
Project Nayuki 1439e8e4a5 Simplified some Rust code. 2020-01-27 00:53:27 +00:00
Project Nayuki fd8720cd31 Simplified a bit of TypeScript code. 2020-01-27 00:41:13 +00:00
Project Nayuki ec65e32037 Updated copyright year in readme document. 2020-01-27 00:41:07 +00:00
Project Nayuki 6ea933f159 Refactored Rust code to collect some private functions into new private struct. 2020-01-20 03:22:04 +00:00
Project Nayuki 29119d3f2e Fixed typo, added blank line. 2020-01-20 03:06:05 +00:00
Project Nayuki 096c70cd4d Reorganized C++ library code into one implementation source file and one header file (instead of 3+3), changing some spacing and ordering, without changing functionality. 2020-01-11 18:26:12 +00:00
Project Nayuki 67c62461d3 Renamed some method parameters to completely avoid variable shadowing, in C++ and Java versions. 2019-10-14 00:20:16 +00:00
Project Nayuki 8dabf86641 Renamed some method parameters to completely avoid variable shadowing. 2019-10-14 00:19:03 +00:00
Project Nayuki fe992753d2 Tweaked Rust code to convert more integer casts from 'as' to 'from'. 2019-09-18 20:40:23 +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 585e80e4f5 Slightly simplified Rust code so that for-loops and lambdas capture variables as value-copy instead of reference. 2019-09-13 04:03:32 +00:00
Project Nayuki e83ac1cd62 Simplified and clarified various pieces of Rust code. 2019-09-13 04:02:23 +00:00
Project Nayuki 2136d88ac8 Tweaked Rust code to use inclusive-range for-loops where appropriate. 2019-09-13 03:44:56 +00:00
Project Nayuki 9fdd05e64d Simplified some pieces of Rust code. 2019-09-12 17:26:51 +00:00
Project Nayuki 765527895c Tightened some Rust variable scopes, simplified a bit of code. 2019-09-12 17:25:32 +00:00
Project Nayuki 6007d92aaa Tweaked Rust code to reduce redundant type declarations. 2019-09-12 17:19:39 +00:00
Project Nayuki eb115a9931 Tweaked Rust code to convert more integer casts from 'as' to 'from'. 2019-09-12 16:24:41 +00:00
Project Nayuki c5d4709e0e Tweaked a C++ integer cast. 2019-09-10 19:25:21 +00:00
Project Nayuki 6431ef47fd Tweaked Rust code to have safer integer lossless upcasts, thanks to clippy's diagnostics. 2019-08-10 02:47:22 +00:00