gitlost
7cc2095d3c
UPCE/UPCE_CC: allow check digit (same as UPCA/UPCA_CC) so selecting composite doesn't give error
...
composite.c: warning wasn't been passed back
zint.h/library.c: add const to char pointer args; move func defs around a bit
2021-07-12 22:27:16 +01:00
gitlost
3c1869b032
library: compat symbology 39 fix; ISBN: "X" check
...
WARN_FAIL_ALL: always return error: ZINT_ERROR_USES_ECI/NON_COMPLIANT
Fuller error messages; more comments zint.h
mainwindow.cpp: replace metaobject ENUM with array
(suppresses virtual in constructor warning)
2021-07-06 19:53:31 +01:00
gitlost
52c00e59ba
C25/DBAR: use new func gs1_check_digit() for common GS1 check digit calc
...
CODE11/CODE39/EXCODE39/CODE93/PZN/CHANNEL/VIN/DBAR/UPCEAN: fuller error messages
DATAMATRIX: look_ahead_test debug counts
DBAR: consolidate option_2 cols_per_row
CMakeLists.txt: restore -fno-var-tracking-assignments for gcc no DEBUG
overall: suppress various warnings on various configs
testcommon.c: clean-up
2021-06-27 11:47:55 +01:00
gitlost
c693482aa1
Change height and row_height array to floats; DAFT tracker ratio
2021-06-19 13:11:23 +01:00
gitlost
7f8c8114f3
#218 Prevent buffer overflow in ean_leading_zeroes by checking max lengths
2021-02-25 17:14:49 +00:00
gitlost
bee5f08f50
#209 rss.c, composite.c; DBAR_EXP encodation methods; symbol NO_PNG out.gif
2020-12-21 19:30:07 +00:00
gitlost
943ba79866
AZTEC: fix bit-stuffing; AZTECRUNE: fix >= 128; DATAMATRIX: eod shift -> 0 pad; Qt6
2020-10-26 12:21:43 +00:00
gitlost
90012ab23f
EANX_CC: allow for check digit + buffer overflow for too long add-on; GUI text colour; cmake 3.0
2020-10-05 23:22:06 +01:00
gitlost
36c19053d7
vector.c: string halign; POSTNET/PLANET: 1 module space; ZBarcode_Cap(); GUI settings
2020-09-30 12:19:12 +01:00
gitlost
2a19b883a5
UPC/EAN, ITF14: quiet zones, addongap; raster/vector: sync code, use double
2020-07-15 19:00:12 +01:00
gitlost
c1fb51ba42
rss.c: some fixes for separators, allow check digit, refactoring; bwipp_dump.ps
2020-07-10 19:39:32 +01:00
gitlost
62995f18d2
#181 OSS-Fuzz UPC/EAN fix, allow max 6 chars add-on in ean_leading_zeroes()
2020-03-26 09:35:04 +00:00
Robin Stuart
ee291e45d6
UPCEAN: Check for multiple + characters in input
...
Fixes #181 reported by Christian Hartlage
2020-02-15 21:28:40 +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
793a990c01
EANX/UPCA/UPCE_CHK handling + various raster/vector fixes; ISBNX add-ons
2019-11-11 21:38:21 +00:00
gitlost
d8b576164f
Use zero-padded field to determine EANX type for composites
2019-10-14 22:20:16 +01:00
Robin Stuart
ae737ea019
Don't include LeftRAP with CC-A
...
Implement missed rule from ISO 24723 section 8.2 - 3-column CC-A components have the left Row Address Pattern omitted.
Partially resolves #146 reported by Gregory Van Vooren
2019-10-05 11:08:58 +01:00
gitlost
d76cdd615b
Fixes for eci, binary div, upce, other
2019-09-01 20:23:15 +01:00
Boris Zentner
31cc0ae78a
Remove spaces before EOL
2017-10-25 17:23:57 +01:00
Robin Stuart
1882d76b70
Update version to 2.6.1
2017-08-27 09:31:02 +01:00
Robin Stuart
608b4b9134
Audit of error codes
2017-07-27 16:01:53 +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
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
4561a66067
Add identifiers to error messages
...
To ease the debug process
2016-10-28 22:40:40 +01:00
Robin Stuart
d875318b3d
Add option to include check digit in UPC/EAN data, and validate before encoding
...
Fixes #5
2016-10-28 19:43:08 +01:00
Robin Stuart
f17f10fa7c
Replace local concat() and roundup() with C library defaults
...
Patch by Oxy (Michael) <virtual_worlds@gmx.de>
Ref: https://sourceforge.net/p/zint/mailman/message/34896811/
2016-03-02 21:12:38 +00:00
Robin Stuart
660d8148bd
Code format and audit, part 3
...
Update copyright info, remove unused code, etc.
2016-02-20 11:29:19 +00:00
Robin Stuart
2e59058615
Avoid possible confusion with Windows error code
...
Bugfix by Oxy Genic
Ref: https://sourceforge.net/p/zint/mailman/message/34857131/
2016-02-17 10:37:20 +00:00
Harald Oehlmann
f1f6d4ffc6
Remove unreachable statements.
...
From
8d2ab1bfcf
2015-10-16 14:26:13 +02:00
oxygenic
1a7863520b
license changed with permission of original copyright holders (see mailing list for details)
2013-05-16 19:26:38 +02:00
openapc
bf2dbe7494
code reworked
2012-12-29 19:37:03 +01:00
Robin Stuart
5fe18d0ffa
Correct ISBN13 check digit
...
ISBN-13 check digit now correctly identifies '0'.
Thanks to Kévin Sailly.
2011-05-09 09:02:01 +01:00
Robin Stuart
7da2041cfd
More code cleanup
...
Patch 7 of 7 from "Ismael Luceno" <ismael.luceno@gmail.com>
2010-09-14 11:36:00 +01:00
hooper114
93d65a910c
Various minor bugfixes
2010-05-16 21:58:18 +00:00
hooper114
35cacaef67
Update version number to 2.3.0
2009-11-08 22:17:11 +00:00
hooper114
1ff9c0d472
Add corrections from tgotic
2009-10-06 19:03:00 +00:00
hooper114
04b9a99241
API overhaul part 1: removal of nullchar
2009-09-29 09:45:46 +00:00
hooper114
f185e85cb9
Disallow EAN2 and EAN5 with addon
2009-07-08 09:14:15 +00:00
hooper114
cec3babc89
Check digit corrections from Massimo
2009-07-04 20:49:17 +00:00
hooper114
84b0118c04
Bug fix: Leading zeroes make ISBN wrong length
2009-06-07 09:43:37 +00:00
hooper114
cb0e4e27e8
Converted zint_symbol structure usage to a more compressed format
2009-05-31 20:33:54 +00:00
hooper114
90d301a6dc
Add leading zeroes to UPC/EAN
2009-05-27 09:06:28 +00:00
hooper114
636a18c74f
Allow Unicode in SVG output text
2009-02-19 19:09:57 +00:00
hooper114
88cc19bab1
Change of e-mail address
2008-11-17 08:47:42 +00:00
hooper114
285c2c8555
Added double buffered strings
2008-10-06 07:15:07 +00:00
hooper114
844dfdebef
Updated error handling
2008-10-05 05:51:58 +00:00
taipanromania
414bc1c82b
Buffer over-flow --
...
warnings --
2008-10-03 08:05:56 +00:00
hooper114
5b10d056c2
Reduced warnings about signedness
2008-09-30 15:05:53 +00:00
factor
52aa6fdb27
Initial revision
2008-07-13 21:15:55 +00:00