Commit Graph

974 Commits

Author SHA1 Message Date
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
Boris Zentner
81cadc3cf9 Fix buffer over run, source is similar to local_source but smaller.
So it might be possible to find a plus character in random data behind source.
2017-02-14 19:08:34 +00:00
Boris Zentner
45633751ee Fix of by one error and check only data. Not the zero at the end. 2017-02-14 19:08:20 +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
Boris Zentner
319c7791bc Fix of by one error in maxi_text_process 2017-01-26 19:44:20 +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
Harald Oehlmann
ffc9c441f7 Make png work 2017-01-18 18:07:17 +01:00
Harald Oehlmann
1863399956 Finalize Win Build including instructions and setup script 2017-01-18 17:39:41 +01:00
Harald Oehlmann
877201bcfe 2017-01-18 Tried to compile QT5 on windows: - no PNG (64 bit issues), exe does not run ;-) 2017-01-18 15:53:50 +01:00
Robin Stuart
ce5c637a6d Remember settings between sessions
Relates to #40
2017-01-14 16:34:03 +00:00
Robin Stuart
c0f6139f86 Update Debian package files 2017-01-13 22:46:52 +00:00
Robin Stuart
f4852b11a8 Calculate addresses correctly if last TIFF strip is full 2016-12-31 10:44:09 +00:00
Robin Stuart
ec8cfcbb76 Add TIFF output option 2016-12-30 20:25:58 +00:00
Robin Stuart
5810252ab9 Merge branch 'master' of ssh://git.code.sf.net/p/zint/code 2016-12-23 16:48:37 +00:00
Robin Stuart
d1e406b7d2 Add enhanced metafile format (EMF) support 2016-12-23 16:48:03 +00:00
Robin Stuart
f479a68ccd Calculate correct size of Maxicode in GUI 2016-12-15 19:41:20 +00:00
Robin Stuart
28ea2f1c69 Make GUI scalable 2016-12-14 23:33:17 +00:00
Harald Oehlmann
5fdecd20bd Set Version 2.5.3 for TCL ZINT and 2.5.1 for zint.exe 2016-12-12 15:38:38 +01:00
Robin Stuart
0f9a326398 Update to Qt5 2016-12-11 15:29:06 +00:00
Robin Stuart
ca88e089ea Tidy up stub qt5 files 2016-12-10 09:11:51 +00:00
Robin Stuart
e7858dfe98 Add version information to zint.h and increment release version
Relates to #51
2016-12-10 09:04:06 +00:00
Robin Stuart
6115a3f8b6 Avoid trying to encode non-EDIFACT characters in EDIFACT mode
Bug report by brunt, revokes commit [dc3626], tickets #44 and #50
2016-11-26 20:10:51 +00:00
Robin Stuart
0dc3b60c2b Counteract inaccuracy of float values in look ahead test
Bug report by brunt, ticket #49
2016-11-26 13:58:54 +00:00
Robin Stuart
08aefa6aea Include string terminator when keeping track of b256 encoded characters
bug report and patch by brunt, ticket #48
2016-11-26 11:38:00 +00:00
Robin Stuart
1d503c54fe Unlatch EDIFACT encodation when buffer is empty
bug report and patch by brunt, ticket #46
2016-11-26 11:28:43 +00:00
Robin Stuart
6af035ba98 Unlatch X12 encodation when there are 2 codewords left in the buffer
bug report by brunt, ticket #45
2016-11-26 11:18:37 +00:00
Robin Stuart
dc36261030 Force unlatch from EDIFACT on illegal character
Bug report and patch by brunt, ticket #44
2016-11-26 09:00:41 +00:00
Robin Stuart
1155683be1 Include last input character in look ahead test
Bug and patch by brunt, ticket #43
2016-11-26 08:44:59 +00: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
658cdd7a69 Check for too many codewords after remainder in 144x144 symbols
Bug report and patch by brunt, ticket #42
2016-11-25 20:50:35 +00:00
Robin Stuart
886e789090 Add unlatch if C40/Text buffer is empty
also don't read binary marker beyond end of input

Relates to #38 and #41
2016-11-22 22:03:28 +00:00
Robin Stuart
a0493a0d0c Force flush of last two C40 or Text values in buffer
Relates to #38
2016-11-22 20:24:33 +00:00
Robin Stuart
4ea35b9082 Revert last commit, and use more standard compliant solution 2016-11-19 10:16:10 +00:00
Robin Stuart
1d4cead56e Handle partial C40 or Text buffer properly when using Shift characters
Relates to ticket #38 created by Brunt
2016-11-17 22:32:06 +00:00
Harald Oehlmann
5d12d72074 Corrected version number in vc6 makefile 2016-11-14 09:46:22 +01:00
Robin Stuart
a1fd5bd832 Malloc declaration needed for Visual Studio 2016-11-05 21:06:58 +00:00
Robin Stuart
5992bbf6e5 Malloc declaration needed for Visual Studio 2016-11-05 16:46:24 +00:00
Harald Oehlmann
06dafdce3c Remove maxihex.h reference 2016-11-01 11:38:37 +01:00
Boris Zentner
b13645fd16 Remove non standard #include <malloc.h> 2016-10-30 20:00:09 +00:00
Robin Stuart
1bd7783968 Bugfix: Correctly handle --filetype input 2016-10-30 19:22:50 +00:00
Robin Stuart
3fad793aeb Replace missing \n 2016-10-30 18:54:26 +00:00
Robin Stuart
184fb71fe5 [PATCH] Remove non standard #include <malloc.h> 2016-10-30 17:43:10 +00:00
Boris Zentner
8851884ea1 Clear symbol->text without a constant. 2016-10-30 17:41:56 +00:00
Boris Zentner
02c0df93e6 sym->row_height is 200 now clear it more reliable. 2016-10-30 17:41:50 +00:00
Boris Zentner
696b99b1d2 Fix typos 2016-10-30 17:41:21 +00:00
Boris Zentner
1911b28865 Fix off by one error in code_49 2016-10-30 17:10:40 +00:00
Boris Zentner
63a252a573 Remove superfluous code 2016-10-30 17:10:36 +00:00
Boris Zentner
bfb4d3284b nRead is not used on error 2016-10-30 17:10:30 +00:00