gitlost
52d08fd9b9
#191 clang-tidy reduce NOLINTs using asserts, remove DeadStores
2020-07-19 10:31:12 +01:00
gitlost
3bda3b6213
DOTCODE: score_array Rev 4; initial HT/FS/GS/RS, macro fixes; CR/LF; #191 clang-tidy warnings; gs1 DEL
2020-05-02 00:38:35 +01:00
gitlost
5d60d67a84
emf free malloc bufs; tif don't free alloca bufs (Win); -Wextra; tests
2020-04-04 16:53:29 +01:00
gitlost
f5149990eb
#181 OSS-Fuzz DOTCODE codeword_array buffer overrun fix
2020-03-31 13:02:53 +01:00
Robin Stuart
53d5187853
Dotcode: correct encoding of HT/FS/GS/RS when shifting to code set B
...
Also updated references to specification annex to match latest version
Bug reported by Nico Gunkel as part of #181
2020-03-28 15:28:11 +00:00
gitlost
bee8794cda
#181 OSS-Fuzz DOTCODE fix, check length before accessing in binary()
2020-03-25 22:31:59 +00:00
Robin Stuart
2faff4e76f
Correct ECI but in DotCode
...
Avoid creating codewords > 112
Fixes #174 reported by Milton Neal
2019-12-26 17:57:29 +00:00
gitlost
bca82ecc0d
libzint.so: suppress exporting INTERNAL functions to the shared library; ZINT_TEST
2019-12-19 00:37:55 +00:00
gitlost
fed7378675
Handle UNICODE_MODE ECI conversion for reduced charset barcodes and QRCODE/MICROQR
2019-11-27 16:16:14 +00:00
Robin Stuart
1a5eb573cf
Minor Dotcode tweaks
...
Slight modification brings code inline with latest version of draft standard.
Thanks to input from Terry Burton at BWIPP
2019-10-31 13:27:36 +00:00
Robin Stuart
15ae99ee11
Allow explicit ECI 3
...
Setting ECI to 3 now causes Zint to include ECI 3 in symbol, and allows entry of data formatted in ISO 8859_1
Fixes #127 requested by Harald Oehlmann
2019-10-06 17:39:54 +01:00
Robin Stuart
91d933adb7
Select symbol with unforced corners if none meets threshold
2018-06-20 00:40:36 +01:00
Robin Stuart
053c83d036
Implement new mask grading with forced corners in Dot Code
2018-06-20 00:10:30 +01:00
Boris Zentner
31cc0ae78a
Remove spaces before EOL
2017-10-25 17:23:57 +01:00
Robin Stuart
4c1c180fbf
Protect DotCode from dimensions smaller than 5
2017-09-30 17:14:45 +01:00
Rodrigo Torres
4963a772db
Refactor
2017-09-11 19:21:33 +01:00
Robin Stuart
1ca01e9322
Make data types for tables consistent across symbologies
...
..and reduce library binary size slightly
2017-08-09 09:13:37 +01:00
Robin Stuart
608b4b9134
Audit of error codes
2017-07-27 16:01:53 +01:00
oxygenic
d8330f5d96
back-merged
2017-07-24 13:44:27 +01:00
Robin Stuart
451f0150d8
Expand ECI support and enforce binary mode when ECI is set
2017-07-23 17:59:51 +01:00
Robin Stuart
b3a1b24d18
help the compiler create more efficient code
...
Patch from Michael <virtual_worlds@gmx.de>
Full text: As usual I have modified only minor things to remove warnigs when compiled as C++ code, have added some const-specifiers where possible to help the compiler create more efficient code and added some static-specifiers to make functions invisible to other modules.
2017-05-29 10:43:47 +01:00
Robin Stuart
847fa6f332
Update DotCode to latest draft (April 24, 2017)
2017-05-19 21:30:31 +01:00
Robin Stuart
19c3755ed0
Simplify conversion to binary with common function
...
No change to functionality
2017-05-14 08:15:08 +01:00
Robin Stuart
6f4610aa98
Add verbose mode to output debug info without recompiling
2017-04-11 10:05:38 +01:00
Harald Oehlmann
480e514754
Make bakcend/dotcode.c, emf.c and tif.c compile with MS-VC6
2017-03-28 18:06:08 +02:00
Robin Stuart
cddf469ac6
Allow encoding HT FS GS RS and CRLF in code set B
...
Bug reported by Milton Neil <miltonneal@bigpond.com>
2017-02-19 00:09:24 +00:00
Robin Stuart
6a69e97dfe
Improved pad character handling routine
...
Bugfix and code by Milton Neil <miltonneal@bigpond.com>
2017-02-18 22:17:49 +00:00
Robin Stuart
025a485ddf
Pad only with character 109 when finishing in binary mode
...
Bug report by Milton Neil
2017-02-14 18:01:48 +00:00
Robin Stuart
a77e448df5
Correctly determine symbol size accoding to section 5.2.2
...
Bug fix by Milton Neil <miltonneal@bigpond.com>
2017-02-14 11:04:58 +00:00
Robin Stuart
ecb10e6b7d
Don't initialise roots beyond end of field
...
AKA don't use code from draft standards without testing it!
Bug reported by Christian Sakowski
2017-01-22 19:12:11 +00:00
Robin Stuart
4561a66067
Add identifiers to error messages
...
To ease the debug process
2016-10-28 22:40:40 +01:00
Harald Oehlmann
2cf489eac2
Make compile with MS-VC6
2016-09-12 13:24:18 +02:00
Robin Stuart
2c2200a7cb
modifications for VS2015, some
...
additional static/const's and a few bugfixes for HanXin and DotStream.
Patch by Michael <virtual_worlds@gmx.de>
2016-09-05 22:06:50 +01:00
Robin Stuart
3cf8a142b8
Bugfix: Ouput binding in raster images
...
Also: tidy up use of output_options
2016-08-26 15:13:40 +01:00
Harald Oehlmann
3893f6f158
Make compile with MSVC6++
2016-08-22 18:58:32 +02:00
Robin Stuart
eedb4c638a
Expand symbol memory to allow biggest Han Xin without crashing
2016-08-21 21:58:38 +01:00
Robin Stuart
2e11b5f8d3
Bugfix: Crash on setting option_2 for DotCode
...
Bug report by Michael
2016-08-19 18:22:16 +01:00
Robin Stuart
3b366bbbd2
Stop crashing with large DotCode symbols
2016-08-17 17:22:31 +01:00
Robin Stuart
9d1c20201d
Add ECI encoding
2016-08-16 12:43:41 +01:00
Robin Stuart
30b8bebf82
Remove compiler warnings
2016-08-07 21:00:27 +01:00
Robin Stuart
674a491a56
Dotcode: Add custom height setting and format code
2016-08-07 20:11:51 +01:00
Robin Stuart
0c5f9191e6
DotCode: Place data in symbol and evaluate bitmask
2016-08-06 22:03:36 +01:00
Robin Stuart
70fb17fcb4
DotCode: Calculate masks and Reed-Solomon error bytes
2016-07-27 12:18:53 +01:00
Robin Stuart
340bcd2833
DotCode: New symbology added and encoding to codewords as set out in Annex F
...
Does not produce DotCode symbols yet
2016-07-25 22:52:29 +01:00