Commit Graph

102 Commits

Author SHA1 Message Date
Robin Stuart
5acbffff0d Consistently throw an error if data does not fit in specified size symbol
See ticket #57
2017-04-11 09:26:39 +01:00
Robin Stuart
b003627908 Interpret 4-bit codewords as big-endian for error correction
affects microQR symbol sizes M1 and M3
bug reported by Milton Neal
2016-11-25 22:21:30 +00:00
Robin Stuart
4561a66067 Add identifiers to error messages
To ease the debug process
2016-10-28 22:40:40 +01:00
Robin Stuart
b13efe334a Slight code reduction - use loops when converting to or from binary 2016-09-17 18:22:26 +01:00
Robin Stuart
9d1c20201d Add ECI encoding 2016-08-16 12:43:41 +01:00
Robin Stuart
f17f10fa7c Replace local concat() and roundup() with C library defaults
Patch by Oxy (Michael) <virtual_worlds@gmx.de>
Ref: https://sourceforge.net/p/zint/mailman/message/34896811/
2016-03-02 21:12:38 +00:00
Robin Stuart
5d9ce6f684 Improvements from Oxy patch
Original email reads...
It does not contain any fundamental changes or new functions but a lot of improvements which I have done over time (added several const/static specifiers, replaced repeated if-conditions by if-else, removed some warnings).
2016-02-29 19:42:32 +00:00
Harald Oehlmann
0d7ee10ef5 Avoid type definition outside of blocks to be VC6 compatible. 2016-02-24 08:42:15 +01:00
Robin Stuart
7d6050bd3b Allocate memory in Visual Studio friendly way 2016-02-23 19:33:21 +00:00
Robin Stuart
660d8148bd Code format and audit, part 3
Update copyright info, remove unused code, etc.
2016-02-20 11:29:19 +00:00
Robin Stuart
653105b81d Improved data compression algorithm for QR Code 2016-02-18 12:17:50 +00:00
Robin Stuart
001a0a88d9 Revised data mask scoring
Revision of 4 tests from Table 11, reflecting clarification given in ISO/IEC 18004:2015
2016-02-17 20:31:50 +00:00
Robin Stuart
0c42a2473e Revert to UNIX style EOL 2016-02-17 10:52:48 +00:00
Robin Stuart
2e59058615 Avoid possible confusion with Windows error code
Bugfix by Oxy Genic
Ref: https://sourceforge.net/p/zint/mailman/message/34857131/
2016-02-17 10:37:20 +00:00
Harald Oehlmann
cb6a126bf2 Ticket #4: Instabilities in QR and Micro-QR Codes - fixed by Patch from Philipe Leuba 2016-01-05 10:19:35 +01:00
Harald Oehlmann
4c9570176b Ticket #7: Silence compiler warnings for unused variables 2016-01-05 10:10:52 +01:00
Harald Oehlmann
b7b7564457 Make command line version compile with MS-VC6 and QT-Version with MS-VC8 2015-08-18 13:50:42 +02:00
Benjamin Kunz
2e5fe31ebf Evaluate QR codes in accordance with ISO 18004 6.8 2013-11-15 16:03:00 +01:00
oxygenic
1a7863520b license changed with permission of original copyright holders (see mailing list for details) 2013-05-16 19:26:38 +02:00
oxygenic
1d241cca05 code cleanup and minor fixes 2012-12-31 14:41:59 +01:00
Robin Stuart
ae44cf2d33 Another QR Code bugfix
QR Code should encode all of the given data, never leave off the last digit!
2010-12-19 16:16:13 +00:00
Robin Stuart
08a24d9f94 Correct bug in QR Code
Correction of version number bug.
Version information was encoded backwards in QR Code symbols > version 7.
Thanks to Chew Boon Heng and Giovanni Pedruzzi for reporting,
and thanks to Sean Owen from the ZXing group for working out the problem.
2010-12-16 09:54:56 +00:00
Robin Stuart
6792246fe9 Correct bug in QR Code
Correct bug in numeric encoding of QR Code data
reported by John Hennessy.
2010-10-22 10:44:05 +01:00
Robin Stuart
2853b473f6 Reduce Warnings in Debian
A number of adjustments to reduce the warnings when building .deb packages in Debian
2010-10-07 17:03:41 +01:00
Robin Stuart
7da2041cfd More code cleanup
Patch 7 of 7 from "Ismael Luceno" <ismael.luceno@gmail.com>
2010-09-14 11:36:00 +01:00
hooper
93c678e1cf Performance improvement
Simplifies the QR code and improves performance
Adds a new --dump option to output binary to stdout
With thanks to Ismael Luceno
2010-09-12 14:52:44 +01:00
hooper114
1695eae7dd Structural changes and updates from tgotic 2009-11-17 22:36:04 +00:00
hooper114
242e57f536 Minor bugfixes 2009-11-02 15:47:08 +00:00
hooper114
6beac47e8d Tidy up loose ends 2009-10-31 22:42:10 +00:00
hooper114
56e75788c2 Rebuilt Micro QR Code to allow mode switching, Kanji characters and correct format information. 2009-10-31 13:18:27 +00:00
hooper114
fbf2a30fa5 Corrections to Micro QR Code, Unified Reed-Solomon Code 2009-10-25 14:42:30 +00:00
hooper114
1542cf5680 Patches from tgotic 2009-10-22 22:02:02 +00:00
hooper114
de7219126a QR Code Lives! 2009-10-11 19:52:13 +00:00
hooper114
1ff9c0d472 Add corrections from tgotic 2009-10-06 19:03:00 +00:00
hooper114
04b9a99241 API overhaul part 1: removal of nullchar 2009-09-29 09:45:46 +00:00
hooper114
467433f0d0 Disable GS1 in QR Code (to allow building against official qrencode) and compress bullseye in Maxicode to save memory. 2009-09-05 06:48:10 +00:00
hooper114
06cc245516 Add GS1data support 2009-08-09 08:45:58 +00:00
hooper114
0695eed70c Add NULL character support to QR Code 2009-08-08 15:25:17 +00:00
hooper114
b65cd26527 Merge Windows platform patches by tgotic 2009-06-02 20:23:38 +00:00
hooper114
cb0e4e27e8 Converted zint_symbol structure usage to a more compressed format 2009-05-31 20:33:54 +00:00
hooper114
de4f39782f Improved Kanji support - Now converts from Unicode to Shift JIS 2009-02-22 14:13:32 +00:00
taipanromania
e13b2cbd5e warning-- 2009-01-15 09:06:13 +00:00
hooper114
bc88024f04 Add Input mode support for Unicode, GS1 and Kanji 2009-01-11 09:11:03 +00:00
hooper114
88cc19bab1 Change of e-mail address 2008-11-17 08:47:42 +00:00
hooper114
b005aea25a Fix (simple) QR Code bug 2008-10-15 18:22:29 +00:00
hooper114
0400d9d280 Overflow bug fix 2008-10-12 20:03:22 +00:00
hooper114
844dfdebef Updated error handling 2008-10-05 05:51:58 +00:00
taipanromania
b1b43da367 warnings -- 2008-10-03 09:26:27 +00:00
hooper114
5b10d056c2 Reduced warnings about signedness 2008-09-30 15:05:53 +00:00
taipanromania
abd4ced7d7 change WITH_QR to NO_QR 2008-09-18 14:37:45 +00:00
hooper114
6306a97f22 merge qr.c and no_qr.c 2008-09-02 19:49:08 +00:00
factor
52aa6fdb27 Initial revision 2008-07-13 21:15:55 +00:00