Commit Graph

1213 Commits

Author SHA1 Message Date
Sebastian Rachner
20ccbcd4e4 Check compiler before including malloc.h 2017-10-15 12:29:46 +02:00
Robin Stuart
bfb183e5df Strip BOM from Unicode input data
Fixes #76, reported by Shmupsik
2017-10-09 19:59:02 +01:00
Robin Stuart
7f8a461f72 Merge /u/jmortlock/zint/ branch master into master
https://sourceforge.net/p/zint/code/merge-requests/3/
2017-10-09 16:18:38 +00:00
Robin Stuart
4dd31fb674 Reallign bullseye in Maxicode
Centre of bullseye in Maxicode symbols drifted from desired position
when printing scale was increased. Affects raster plotted images (BMP, GIF etc.).
Changes how centre position of bullseye is calculated.
2017-10-09 11:17:11 +01:00
John Mortlock
bf73227f31 Allow rotation in batch processing mode 2017-10-09 20:35:10 +10:30
Robin Stuart
5bc7399252 Fix problems encoding binary in Aztec mode
Bugs found by John Mortlock
Fixes #71
2017-10-04 05:05:58 +01:00
Robin Stuart
4c1c180fbf Protect DotCode from dimensions smaller than 5 2017-09-30 17:14:45 +01:00
Robin Stuart
411f083f57 Fix Aztec grid population error
Resolves X-Y coord flipping reported by John Mortlock
Fixes #70
2017-09-30 13:09:21 +01:00
Robin Stuart
947b548fd0 Merge branch 'master' of ssh://git.code.sf.net/p/zint/code 2017-09-11 19:24:03 +01:00
Rodrigo Torres
4963a772db Refactor 2017-09-11 19:21:33 +01:00
Harald Oehlmann
1d44670642 Update TCL zint to framework 2.6.1 2017-08-29 22:19:55 +02:00
Robin Stuart
1882d76b70 Update version to 2.6.1 2017-08-27 09:31:02 +01:00
Robin Stuart
86a0071f09 Show correct ECC in function information 2017-08-14 07:47:50 +01:00
Robin Stuart
670242a3fe Feed back results of batch process to user in Studio 2017-08-11 22:36:40 +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
50ec72527b Minor tweaks, no change of function 2017-08-07 08:37:02 +01:00
Robin Stuart
1f503f2aca Dedupe error correction code in Aztec 2017-08-06 09:10:00 +01:00
Robin Stuart
2da42d1733 fix for uninitialized variables in qzint.cpp
Bug found and fixed by Holger Schröder <holger@holgis.net>
2017-08-06 07:02:07 +01:00
Robin Stuart
608b4b9134 Audit of error codes 2017-07-27 16:01:53 +01:00
Robin Stuart
58e80a9ff7 Remember file suffix, and add suffix to file name if not provided 2017-07-27 12:02:30 +01:00
Robin Stuart
468f44f298 Always remember previously used directory 2017-07-27 10:21:46 +01:00
Robin Stuart
b9f37ebceb Remember more settings between sessions 2017-07-26 21:57:47 +01:00
Robin Stuart
f4f7e1936a Make GUI more consistent 2017-07-26 15:44:14 +01:00
Robin Stuart
e81a90bb58 Avoid SIGSEGV on Code 128 input too long 2017-07-26 11:44:47 +01:00
Robin Stuart
24f175b6f6 Flag if DM_SQUARE is used at the same time as symbol size selection 2017-07-26 11:16:54 +01:00
Robin Stuart
6fa66d5554 typo-- 2017-07-25 11:19:05 +01:00
oxy
2e6fb6a109 compile error fixed 2017-07-24 13:44:27 +01:00
oxygenic
91f66ec57d backported 2017-07-24 13:44:27 +01:00
oxygenic
d8330f5d96 back-merged 2017-07-24 13:44:27 +01:00
Robin Stuart
6413351fd6 Add UPNQR to Studio 2017-07-23 18:09:30 +01:00
Robin Stuart
8ca1329fcf Allow ECI 26 in Unicode mode 2017-07-23 18:04:58 +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
d818d1aecc Improved Aztec Code bit compression
Somewhat fixes #30 reported by Francois Grieu
2017-07-21 17:56:36 +01:00
Julien Nabet
3257a5c0af cppcheck: fix reports
[backend/bmp.c:133]: (error) Memory leak: bitmap
[backend/bmp.c:126]: (error) Memory leak: bitmap
[backend/composite.c:464]: (error) Array index -1 is out of bounds.
[backend/composite.c:507]: (error) Array index -1 is out of bounds.
[backend/dmatrix.c:962]: (style) Redundant condition: i!=0. 'i==0 || (i!=0 && binary[i-1]!='b')' is equivalent to 'i==0 || binary[i-1]!='b''
[backend/raster.c:122]: (error) Memory leak: rotated_pixbuf
[backend/raster.c:506]: (error) Memory leak: pixelbuf
[frontend/main.c:273]: (error) Uninitialized variable: format_string
[frontend_qt/exportwindow.cpp:103]: (style) Array index 'j' is used before limits check.
2017-07-01 09:49:47 +01:00
Robin Stuart
0d6716a773 Add method for dynamically checking version info
Suggestion by aragon@phat.za.net for python-zint
2017-07-01 09:06:47 +01:00
Robin Stuart
6306228fed Remove unnecessary debug code 2017-06-18 13:03:25 +01:00
Robin Stuart
a085bca168 Revion of ECI number encoding 2017-06-18 13:00:22 +01:00
Robin Stuart
37ac5e9c54 Ignore change of colour if user has cancelled
Fixes #68, Bug report by Jim R
2017-06-17 15:34:41 +01:00
Robin Stuart
3a24230cd0 Change default borderwidth to 0 in Qt front end
Also correctly draw boxes and binding for Code 49, ITF-14 etc.
Fixes #67, Bug reported by Jim R
2017-06-17 15:17:24 +01:00
Robin Stuart
c0e95684a9 Reduce size of Code 49 bit pattern table (no change of functionality) 2017-06-10 10:45:42 +01:00
Robin Stuart
17be0440cc Review of data types to reduce memory usage (no change of functionality) 2017-06-10 10:08:27 +01:00
Robin Stuart
3f7f909644 Simplify PDF binary handling, remove TTF array (no change of functionality) 2017-06-09 22:00:22 +01:00
Robin Stuart
dd2f9e65ba Further tweaks to binary conversion in QR Code 2017-06-06 21:31:03 +01:00
Robin Stuart
47a64047af Harmonise binary conversion and expand ECI support in QR Code 2017-06-06 21:11:11 +01:00
Robin Stuart
241bcedaa1 Remove unnecessary estimate of binary bitlength 2017-06-05 20:05:58 +01:00
Robin Stuart
30272dd955 Use more accurate guess of bit length when calculating smallest available version
Fixes #66, Bug report by jthie
2017-06-05 19:17:22 +01:00
Robin Stuart
7b53fc3469 Include version information in UPNQR symbols
Fixes #65, Bug report by Primož Cerar
2017-05-30 08:40:08 +01:00
Robin Stuart
ffcfe965d1 Merge Update Visual Studio sln
Code by Cosmic Marc https://sourceforge.net/u/cosmarc/
cd65154a36/
Fixes https://sourceforge.net/p/zint/code/merge-requests/2/
2017-05-29 11:11:04 +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
d08237d06e Fix typo in manual
Bugfix by Branko Ferk, Fixes #64
2017-05-26 21:48:39 +01:00