Commit Graph

  • 8cb33d44d8 Added comments to C code. Project Nayuki 2017-04-20 17:13:13 +0000
  • af67fe1c0b Refactored C code to split out text properties into new function, and tweaked logic for clarity. Project Nayuki 2017-04-20 16:23:01 +0000
  • 2ffc439340 Updated comments in drawFunctionPatterns() of all other language versions to synchronize with C code. Project Nayuki 2017-04-20 06:39:59 +0000
  • 9a100aed7d Updated and added numerous comments in C code. Project Nayuki 2017-04-20 06:39:03 +0000
  • c91d29dcee Tweaked blank lines in C code for clarity. Project Nayuki 2017-04-20 06:05:34 +0000
  • c3edfaa877 Tweaked small bits of C code for clarity, without changing behavior. Project Nayuki 2017-04-20 06:05:26 +0000
  • 02399cfd0b Updated C code to remove checked arithmetic functions but retain overflow checks (related to commit 481a1c0de3). Project Nayuki 2017-04-20 05:43:13 +0000
  • cb6835fecb Updated C code to consolidate logic for finding minimum fitting version number, also tweaked arithmetic and control flow. Project Nayuki 2017-04-20 05:36:03 +0000
  • 481a1c0de3 Added C functions to do basic arithmetic with overflow checks, updated code to use these functions. Project Nayuki 2017-04-20 05:12:55 +0000
  • 6229fa48cd Moved more shared logic of C code into encodeQrCodeTail(), without changing behavior. Project Nayuki 2017-04-20 04:55:28 +0000
  • 7eb3095acf Refactored a C function to add local variable for frequently used value. Project Nayuki 2017-04-20 04:35:48 +0000
  • 35da4ef7bc Renamed all local variables 'size' to 'qrsize' in C library code, without changing behavior. Project Nayuki 2017-04-20 04:34:18 +0000
  • 4d9b73c443 Tweaked C code to avoid unnecessary use of uint16_t type, without changing behavior. Project Nayuki 2017-04-20 04:29:42 +0000
  • 79a56065f9 Renamed private function initializeFunctionModules() in C code. Project Nayuki 2017-04-20 04:19:15 +0000
  • 7c173b79b4 Simplified code for 'upward' variable in all language versions, without changing behavior. Project Nayuki 2017-04-20 04:18:22 +0000
  • 21212ba617 Fixed integer overflow checks in C code. Project Nayuki 2017-04-20 04:10:53 +0000
  • 31634fc05c Fixed potential overflow in C and C++ code, in worst case when int type is int16. Project Nayuki 2017-04-20 04:08:26 +0000
  • 3e634c9f26 Renamed variable 'upwards' to 'upward' in drawCodewords() of all language versions, without changing behavior. Project Nayuki 2017-04-20 04:06:46 +0000
  • f020833cd4 Simplified code in all language versions of the library (C, C++, Java, JavaScript, Python) and reduced table size, without changing behavior. Project Nayuki 2017-04-19 23:06:40 +0000
  • 26b4cf557c Added new integer constants to C code, updated existing code to make use of them. Project Nayuki 2017-04-19 22:17:07 +0000
  • c81354658b Added C demo main program. Project Nayuki 2017-04-19 22:14:08 +0000
  • df52f793fa Simplified C code's initializeFunctionalModules(). Project Nayuki 2017-04-19 21:59:25 +0000
  • 0cfed8c5de Updated function-level comments in C code. Project Nayuki 2017-04-19 21:40:14 +0000
  • a799abe654 Refactored C code to deduplicate logic into a new function. Project Nayuki 2017-04-19 21:23:21 +0000
  • d704cc074b Added and updated section comments in C code. Project Nayuki 2017-04-19 21:08:05 +0000
  • 9f9747de3e Refactored C code to use size instead of version in drawCodewords(). Project Nayuki 2017-04-19 20:59:02 +0000
  • be2e9e7a3a Continued implementing C library by adding logic to support boosting ECC level. Project Nayuki 2017-04-19 20:46:32 +0000
  • 47fc47938a Continued implementing C library by adding main QR Code encoding function for text, including support for alphanumeric and numeric mode segments. Project Nayuki 2017-04-19 20:45:50 +0000
  • 53359d7ef2 Deleted text-testing functions in C library code. Project Nayuki 2017-04-19 20:28:25 +0000
  • 9db04d77db Continued implementing C library by adding and updating code to support automatic mask selection and penalty calculation. Project Nayuki 2017-04-19 19:32:27 +0000
  • d332c4a91c Continued implementing C library by adding a main QR Code encoding function and auxiliary functions. Project Nayuki 2017-04-19 18:07:02 +0000
  • 316bb588f2 Fixed C code logic for drawing 3*6 blocks of version information, tweaked another piece of similar logic for consistency without changing behavior. Project Nayuki 2017-04-19 17:56:36 +0000
  • 703fcf587d Continued implementing C library by adding functions to append Reed-Solomon ECC and interleave blocks. Project Nayuki 2017-04-19 16:42:21 +0000
  • b2328ad199 Merge 25acd91cc8 into 654520d0d4 #4 Xijian Yan 2017-04-18 02:20:32 +0000
  • 3f6916d43e Continued implementing C library by adding functions to draw codewords and apply masking. Project Nayuki 2017-04-17 20:36:38 +0000
  • a0033275e3 Continued implementing C library by adding functions to draw QR Code function patterns. Project Nayuki 2017-04-17 20:02:51 +0000
  • 5e415ae08b Continued implementing C library by adding enums and macros. Project Nayuki 2017-04-17 19:22:55 +0000
  • f49bee7a2d Fixed and tweaked some pieces of C library code. Project Nayuki 2017-04-17 19:15:40 +0000
  • 261d57607b Continued implementing C library by adding functions to fill QR Code function patterns. Project Nayuki 2017-04-17 18:26:29 +0000
  • f18ababe0d Continued implementing C library by adding low-level QR Code get/set functions. Project Nayuki 2017-04-17 18:02:14 +0000
  • 18a10b6b99 Continued implementing C library by adding header file and text-testing functions. Project Nayuki 2017-04-17 17:43:38 +0000
  • b9e3476420 Began writing new port of this library in C by implementing Reed-Solomon functions. Project Nayuki 2017-04-17 17:34:21 +0000
  • 501d254a0f Deleted unused header #include. Project Nayuki 2017-04-17 16:41:41 +0000
  • ceb51372d3 Updated C++ QrCode private methods to replace some int variables with long to prevent overflow. Project Nayuki 2017-04-17 16:41:20 +0000
  • 873652a82f Updated C++ ByteBuffer and QrSegment code to check and handle integer overflow strictly. Project Nayuki 2017-04-17 16:32:14 +0000
  • b7a4605e44 Fixed potential overflow in C++ code, in worst case when int type is int16. Project Nayuki 2017-04-17 02:02:33 +0000
  • 5071995ab7 Replaced '>>' with '> >' in C++ code using templates, for robustness in parsing. Project Nayuki 2017-04-17 02:01:32 +0000
  • e07c5d4f34 Merge fcab3ea7f4 into 654520d0d4 #8 Mariotaku 2017-04-12 07:59:45 +0000
  • 654520d0d4 Changed syntax so that every class member is explicitly prefixed with public/private like in Java/C# style, without changing any functionality. Project Nayuki 2017-04-08 22:54:11 +0000
  • fcab3ea7f4
    fixed class references #8 Mariotaku Lee 2017-04-05 12:42:34 +0800
  • 8bc3053cb5
    fixed demo compile error Mariotaku Lee 2017-04-05 11:54:20 +0800
  • dfc5591800
    removed core module Mariotaku Lee 2017-04-05 11:53:00 +0800
  • a2ce2c4ac5
    made java implementation a separate library Mariotaku Lee 2017-04-05 11:48:52 +0800
  • 9655cbc12a Updated text in Python setup script (related to commit 78d32b455f). Project Nayuki 2017-03-21 18:22:51 +0000
  • fab251ece6 Add a CMakeList.txt #6 #24 swannyPeng 2017-03-06 15:52:53 +0800
  • 43987c0f28 Deleted unused arguments for main(), replaced return code with named constant. Project Nayuki 2017-02-25 19:24:56 +0000
  • 78d32b455f Updated the readme introduction text. Project Nayuki 2017-02-17 23:08:32 +0000
  • 12360bec33 Added and updated a few comments in QrSegmentAdvanced. Project Nayuki 2017-02-10 03:31:03 +0000
  • e062a386d0 Deleted copyright year in all source files, updated year in readme document. Project Nayuki 2017-02-10 03:19:39 +0000
  • 8033f9cec0 Fixed a constant value in QrSegmentAdvanced, which affects how the optimal segment switching is selected. Project Nayuki 2017-02-10 03:17:18 +0000
  • 25acd91cc8 Add support for Visual Studio 2010 #4 Xijian Yan 2017-02-09 10:38:39 +0800
  • 047ea220f0 Reduced x and y bounds to stop (not) drawing borders in drawCanvas #3 George MacKerron 2017-01-27 19:39:05 +0000
  • 737d98f74f Merge pull request #1 from jawj/jawj-patch-1 George MacKerron 2017-01-25 12:01:26 +0000
  • 977f32b76d Colour options and optimizations for drawCanvas George MacKerron 2017-01-25 12:00:00 +0000
  • bd470926ca Tweaked all Java code to replace explicit null checks with calls to Objects.requireNonNull() (requires Java SE 7+). Project Nayuki 2017-01-25 01:13:57 +0000
  • b2e7844a94 Updated wording of documentation comments in {C++, JavaScript, Python} versions - changed the word "specified" to "given" for consistency. Project Nayuki 2017-01-03 18:31:49 +0000
  • 26caba3572 Tweaked documentation comment and blank line in JavaScript code. Project Nayuki 2016-10-24 07:28:30 +0000
  • 941dd14cc7 Simplified Python code, without changing behavior. Project Nayuki 2016-10-24 07:27:48 +0000
  • 18834e548b Deleted a trailing whitespace. Project Nayuki 2016-10-05 17:36:45 +0000
  • 1d5e77d4fc Simplified some code in QrCode.getAlignmentPatternPositions() in most language versions. Project Nayuki 2016-06-14 17:28:32 +0000
  • ff9fbba9cf Renamed loop variable from j to i in ReedSolomonGenerator.getRemainder() in most language versions. Project Nayuki 2016-06-14 17:10:55 +0000
  • fb702fd46e Added some explicit header #includes to C++ demo code for clarity. Project Nayuki 2016-05-24 18:50:22 +0000
  • a9a5cdbb58 Updated documentation comments for 3 functions in all language versions. Project Nayuki 2016-05-24 18:41:34 +0000
  • 924b590c32 Tweaked readme document to make the C++ code example more correct. Project Nayuki 2016-05-24 18:27:17 +0000
  • 2de9610756 Added comment about remainder bits in QR symbol in all language versions. Nayuki Minase 2016-05-07 19:02:11 +0000
  • 0cc355344d Updated Python packaging code to create Wheel packages - changed distribution script to use setuptools instead of distutils, added setup.cfg. Nayuki Minase 2016-04-25 22:11:47 +0000
  • 83aae7263f Added setup.py script for Distutils packaging. v1.0.0 Nayuki Minase 2016-04-24 05:34:49 +0000
  • 2e485a3808 Updated readme to remove semicolons from example Python code. Nayuki Minase 2016-04-24 05:01:04 +0000
  • 9a832a200d Added QrCode.drawCanvas() to JavaScript version of the library, by moving it from the demo program. Nayuki Minase 2016-04-22 16:10:35 +0000
  • 671237fff2 Added project readme markdown document. Nayuki Minase 2016-04-21 23:08:42 +0000
  • 0f71a9f818 Added an experimental advanced QR segment encoder class in Java for kanji mode encoding and optimal segment mode switching, changed a statistics helper function in QrCode.java to package-private to support the new class. Nayuki Minase 2016-04-21 21:42:35 +0000
  • 85703de600 Fixed subtle logic bug in QrSegment.java to match the API promise of a fully mutable list being returned. Nayuki Minase 2016-04-21 18:39:47 +0000
  • def528043e Added an assertion check to C++ code. Nayuki Minase 2016-04-21 02:31:09 +0000
  • 7622a9d799 Fixed field reference errors in Python code. Nayuki Minase 2016-04-21 02:19:50 +0000
  • 4fcf02d1f9 Added comments and renamed variables in QrCode.appendErrorCorrection() in all language versions. Nayuki Minase 2016-04-21 01:57:58 +0000
  • 1fb0283189 Added robustness checks to JavaScript, Python, C++ code without changing functionality in normal operation. Nayuki Minase 2016-04-20 21:00:23 +0000
  • 8bdecc51a3 Fixed simple errors in C++ and Python code. Nayuki Minase 2016-04-20 20:59:31 +0000
  • fc5f11b3b2 Tweaked line breaking, whitespace, and declaration ordering without changing behavior. Nayuki Minase 2016-04-20 20:50:42 +0000
  • 3c995fa096 Updated some comments to note public and private members in JavaScript, Python, C++ code. Nayuki Minase 2016-04-20 20:46:46 +0000
  • a4cccee0b3 Changed 2 members to public in JavaScript code, changed 1 member to explicitly private in Python code. Nayuki Minase 2016-04-20 20:45:18 +0000
  • 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. Nayuki Minase 2016-04-20 20:40:49 +0000
  • be316029aa Added and updated code comments for members (mostly) and within functions (a few), in all languages. Nayuki Minase 2016-04-20 20:27:41 +0000
  • 1df147943e Tweaked section comments and blank lines for better uniformity across all language versions. Nayuki Minase 2016-04-20 20:19:57 +0000
  • a8d8b6ddbe Refactored JavaScript code to replace get*() methods with read-only fields created by Object.defineProperty(). Nayuki Minase 2016-04-19 00:29:24 +0000
  • 549f4bb38b Added HTML elements and JavaScript demo code to support QR Code output as an SVG vector image. Nayuki Minase 2016-04-18 20:48:40 +0000
  • fc705efac3 Added white background rectangle to SVG XML code output, in all language versions. Nayuki Minase 2016-04-18 20:44:02 +0000
  • 1d27211497 Updated JavaScript demo code to show no canvas if QR Code generation failed. Nayuki Minase 2016-04-18 19:40:21 +0000
  • c55751e7bd Fixed JavaScript code for detecting the need for a larger QR Code version, due to incorrect code simplification in commit 5692e951dd. Nayuki Minase 2016-04-18 19:39:32 +0000
  • 3878c12a81 Added HTML and JavaScript code to support advanced QR Code generation parameters. Nayuki Minase 2016-04-18 19:30:53 +0000
  • f325bfe638 Moved {encodeText(), encodeBinary(), encodeSegments()} into class QrCode in Python and JavaScript implementations, for consistency with Java implementation. Nayuki Minase 2016-04-18 18:40:14 +0000