Commit Graph

1430 Commits

Author SHA1 Message Date
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
Cosmin Marc
cd65154a36 Update gitignore.
Add to libzint.vcxproj missing files.
Fix missing include in emf.c.
Add x64 configuration.
Change paths to point to extern folder for external libs(lipbng, zlib).
Updated version in rc file.
2017-05-25 20:17:43 +03:00
Robin Stuart
b46bc1f45e Accept UFT-8 input data for UPNQR 2017-05-21 09:20:03 +01:00
Robin Stuart
b426877a4f Add new symbology UPNQR 2017-05-20 23:37:50 +01:00
Robin Stuart
847fa6f332 Update DotCode to latest draft (April 24, 2017) 2017-05-19 21:30:31 +01:00
Robin Stuart
fd8a4f4d35 Add option to copy to clipboard as BMP 2017-05-15 21:12:19 +01:00
Robin Stuart
a1327cbd0d Bugfix: Insertion of unlatch character in EDIFACT mode will unlatch immediately, not at the end of the 24-bit block
Fixes #60, Ref: ISO para 5.2.8.2.
Bug report thanks to ice4x800@sf
2017-05-14 18:46:43 +01:00
Robin Stuart
4c8de6399f Deduplicate GB18030 lookup table 2017-05-14 14:43:49 +01:00
Robin Stuart
6d5fcd14f8 Merge branch 'master' of ssh://git.code.sf.net/p/zint/code 2017-05-14 08:15:55 +01:00
Robin Stuart
19c3755ed0 Simplify conversion to binary with common function
No change to functionality
2017-05-14 08:15:08 +01:00
Harald Oehlmann
c52032acb2 Update win c6 makefile and tcl backend to version 2.6.0 2017-05-12 14:16:59 +02:00
Robin Stuart
19ba8a34c4 Update to version 2.6.0 and update copyright to 2017 2017-05-11 21:14:38 +01:00
Robin Stuart
eef59d150e Prevent control characters from corrupting SVG
Bug fix by Maikel Houthuijzen
2017-05-11 20:15:10 +01:00
Robin Stuart
1ec0873caa Extend Unicode support in Han Xin to Supplementary planes (>= U+10000) 2017-04-23 20:15:50 +01:00
Robin Stuart
fa40676691 Make clipboard image scalable (SVG) 2017-04-22 12:44:32 +01:00
Robin Stuart
536f217e78 Add option to copy to clipboard 2017-04-22 12:21:27 +01:00
Robin Stuart
92f02c8a67 Kanji works better if data is read to symbol :) 2017-04-21 20:38:19 +01:00
Robin Stuart
a8077535b2 Correct Kanji processing in QR Code
Bugfix by Milton Neal <miltonneal@bigpond.com>
2017-04-21 19:55:17 +01:00
Robin Stuart
c6b9ee375d Update About GUI window 2017-04-11 10:31:18 +01:00
Robin Stuart
6f4610aa98 Add verbose mode to output debug info without recompiling 2017-04-11 10:05:38 +01:00
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
ff6995070b Merge branch 'qt5' 2017-04-11 07:54:28 +01:00
Robin Stuart
b199bc8ee6 CLI should not ignore --eci flag
Bug found thanks to Marjan Leden
2017-04-10 22:14:35 +01:00
Robin Stuart
7b4dac7e16 Clarification of bitmap array usage
Incorporating suggestions by JohnK <john.kamp@globalgraphics.com>
2017-04-10 09:06:07 +01:00
Robin Stuart
1ac5298190 Perform calculations on real rather than estimated binary length...
...and get correct values for ECC encoding from table D1.
Bugfixes by Milton Neal
2017-04-10 08:06:53 +01:00
Harald Oehlmann
f7753564cf Codablock: Code A/B character set change corrected 2017-04-03 11:47:39 +02:00
Harald Oehlmann
7494a241ca Bug fix for Ticket 56: Codablock F: [StartA] was coded as [StartA][SHIFT] resulting in wrong Code and illegal memory access to wrong Code128 pattern 2017-03-30 15:23:14 +02:00
Harald Oehlmann
e921172f7a Also removed DMRE sizes from documentation 2017-03-30 12:04:48 +02:00
Harald Oehlmann
6bc50a943c Delete to rectangular DMRE formats 24x32, 24x36, 26x32, 26x40 which will probably not be in ISO/IEC 21741 2017-03-29 19:48:44 +02:00
Harald Oehlmann
bcec2718ee Static QT build documented 2017-03-29 19:21:49 +02:00
Harald Oehlmann
ac044bacc5 Added emf and tif modules to qt backend makefile 2017-03-29 17:34:23 +02:00
Harald Oehlmann
eeb921d575 Added emf and tif extension to the qt frontend save dialog 2017-03-29 17:32:19 +02:00
Harald Oehlmann
6ac21c39b8 Add files emf.c and tif.c to tcl makefiles 2017-03-29 12:08:05 +02: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