Commit Graph

826 Commits

Author SHA1 Message Date
729b55b607 _MSC_VER malloc.h missing from common.c, gb18030.c, gb2312.c, sjis.c 2020-05-02 01:02:37 +01:00
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
0aa55f8945 composite.c: #191 suppress clang-tidy warnings 2020-04-28 22:41:05 +01:00
2189201e95 raster.c: #191 suppress clang-tidy warnings 2020-04-28 22:19:32 +01:00
74beb5c50a QRCODE: #191 suppress clang-tidy warnings 2020-04-28 21:10:54 +01:00
344ec06723 ULTRA: #191 suppress clang-tidy 11.0.0 warning 2020-04-28 21:00:43 +01:00
107d64b5de ULTRA: #191 suppress clang-tidy warnings 2020-04-28 14:11:49 +01:00
194a30e6c5 AZTEC #190 count only B-1 bits; #191 suppress valgrind, clang-tidy warnings 2020-04-28 13:45:36 +01:00
737ffd4ce0 Improved method for avoiding illegal codewords in Aztec
Fixes #190 reported by Milton Neal
2020-04-26 14:39:44 +01:00
27e211f9d3 ULTRA: C43 latch, shift; double digit; ECI; tests, refresh EMFs 2020-04-20 19:17:15 +01:00
99cd6a3391 Set font only once in EMF
Correct fault which led to wrong bytecount - multiple declarations of font not needed
Also included HeaderExtension1 and HeaderExtension2 objects for better compatability with GDI
As suggested by Alex Roy in #185
2020-04-19 18:46:14 +01:00
bd654647c0 ULTRA: include secondary vertical clock track in DCC; ECC count, maxsize adjustment 2020-04-16 01:35:37 +01:00
9e2b6716f4 ULTRA: fix tests (update expected, remove duplicate, some mode comments) 2020-04-11 10:37:39 +01:00
ff8d8d3fb1 Call to "debug_test_codeword_dump_init" does not resolve without ZINT_TEST defined 2020-04-10 11:28:45 +02:00
e04f662dc0 ULTRA: enable compression for GS1_MODE; compression changes; fixes; tests 2020-04-09 22:08:54 +01:00
e01d73a2ee Tests: fix README (Robin); refresh print GIFs after palette optimize 2020-04-08 21:19:30 +01:00
752b1511b6 Allow user to select bgcolour in Ultracode 2020-04-08 20:53:58 +01:00
d99bda9385 GIF palette optimization added. 2020-04-08 21:36:22 +02:00
22570f6c73 Tests: add extra examples #189 aztec; refresh gifs print test 2020-04-08 11:22:01 +01:00
9795ffe641 Ultracode missing parens around alloca length * sizeof 2020-04-08 10:42:05 +01:00
327d6ec88b Add 10 colours plus transparency ("T") to gif export. 2020-04-07 20:36:49 +02:00
6d9c8e2b04 Merge branch 'master' of ssh://git.code.sf.net/p/zint/code 2020-04-07 18:44:00 +02:00
92cfd65b56 Allow GS1 mode in Ultracode symbols 2020-04-07 17:41:21 +01:00
15eb21944c Merge branch 'master' of ssh://git.code.sf.net/p/zint/code 2020-04-07 18:39:45 +02:00
f23e13b09d Add error message when PNG is called but disabled on compile time. 2020-04-07 18:39:02 +02:00
0628e3ee4d Update version 2.7.1 > 2.8.0 2020-04-07 17:27:45 +01:00
fe517a7a58 Make ultra.c compile on MS-VC 6 2020-04-07 17:54:21 +02:00
111c819e43 ULTRA_COMPRESSION option_1 -> option_3 typo 2020-04-07 12:48:29 +01:00
129fa81c41 Fix PCX issue with odd bitmap width; tests; comment GRIDMATRIX byte count 2020-04-06 21:26:13 +01:00
0d26948baa Merge branch Ultra 2020-04-06 17:05:22 +01:00
6205878b1f Merge /u/gitlost/zint/ branch full_multibyte into master
https://sourceforge.net/p/zint/code/merge-requests/48/
2020-04-05 22:38:08 +00:00
9199a51a75 #189 AZTEC gs1 FLG(0) missing after FLG(n) fix from Milton Neal; tests 2020-04-05 23:32:08 +01:00
5d60d67a84 emf free malloc bufs; tif don't free alloca bufs (Win); -Wextra; tests 2020-04-04 16:53:29 +01:00
2d0b966de6 CODABLOCKF inter-row bindings too short fix; -Wextra; tests 2020-04-03 19:40:59 +01:00
dc56c5ed0f CODE128 Fix/suppress -Wextra warnings (signedness); tests 2020-04-02 21:55:58 +01:00
61cd413fe4 Full multibyte option_3 for QR, HANXIN, GRIDMATRIX 2020-04-02 14:41:13 +01:00
94fe73ebfd Adjust size of Maxicode symbols when output as EMF
Size and position of elements in EMF files is stored as an integer, therefore Maxicode does not render properly
Increasing scale for these images ensures proper rendering
Fixes #185 reported by Alex Roy
2020-04-01 20:01:02 +01:00
b4182cbc19 Remove unneccessary length checks in Code1
Revokes commit #024490 and re-establishes commit #0c00ec
Relating to #184 thanks to Milton Neal and Git Lost
2020-04-01 19:27:49 +01:00
f5149990eb #181 OSS-Fuzz DOTCODE codeword_array buffer overrun fix 2020-03-31 13:02:53 +01:00
22354a81f1 HANXIN fix wrong func call gb2312_utf8tosb() -> gb18030_utf8tosb() 2020-03-30 11:59:16 +01:00
9b771dba3a Make zint-static build optional 2020-03-30 10:54:21 +01:00
c23b4b9ef1 Ultra: typos-- 2020-03-29 22:35:25 +01:00
b572bb513d Ultra: Disable code compression by default
Ensures symbols are valid until better version of specification is available
2020-03-29 22:23:07 +01:00
e2cd96924d Test for #183 Databar Stacked separator 2020-03-29 20:04:47 +01:00
afe0c96476 OSS-Fuzz add zint-static rule to backend/CMakeLists.txt 2020-03-29 15:51:56 +01:00
0244904c1f Prevent buffer overrun in Code One
Fixes #184 reported by Milton Neal
2020-03-29 14:23:31 +01:00
52214c5a1c Change bitmap signedness to allow conversion to other data types
Buffered bitmap array should have been type unsigned char not type char
Includes change to manual
In response to (and hopefully fixing) #182 reported by Marcelo Antunes
2020-03-29 13:42:33 +01:00
e8b56faa11 #181 OSS-Fuzz DOTCODE test for correct encoding of HT/FS/GS/RS 2020-03-29 12:34:56 +01:00
56f0616747 #181 OSS-Fuzz AZTEC fix, check binary_string buffer not full using az_binary_append() func 2020-03-28 22:50:55 +00:00
20d5dcc50f Update GS-1 DataBar Stacked seperator
Expected behaviour found to slightly differ from what was implemented
Discovered and documented by Daniel Gredler. Fixes #183
2020-03-28 16:09:24 +00:00