gitlost
b015e38da0
composite: fix buffer overflow for large linear, small composite (500 -> 1000)
...
composite: clear errtxt when bumping from CC-A -> CC-B -> CC-C
composite: CC-C adjustment 53 -> 52 (same as BWIPP) with proper explanation
composite: remove unneeded > 11805 length check
CODEONE: remove unneeded extended ASCII check in C40 count
GS1_128/CODE16K: remove unneeded initial GS1 mode '[' check
PDF417: remove unneeded second option_2 > 30 check
Document some "Not reached" lines (code coverage)
Update bwipp_dump.ps
GUI: window/tab height +5 so 2 full lines for composite edit box (Ubuntu)
manual: dash -> hyphen, PDF417 "check digit" -> "error correction", DMRE ref
tests: further test cases for CODEONE/CODE16K/common/composite/DATAMATRIX/
DOTCODE/gs1/MAXICODE/PDF417/postal/QRCODE
2021-08-05 16:34:45 +01:00
gitlost
2e84fd5157
Replace WARN_ZPL_COMPAT with GS1NOCHECK_MODE
2021-07-13 17:39:03 +01:00
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
c693482aa1
Change height and row_height array to floats; DAFT tracker ratio
2021-06-19 13:11:23 +01:00
gitlost
79d3c1dc7a
Add GS1PARENS_MODE (input_mode) to allow inputting GS1 AIs in parentheses
2021-05-15 12:23:46 +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
f9300cb37e
gs1_verify: validate AIs from BWIPP gs1-format-spec.txt
2021-01-18 20:10:52 +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
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
b440692ee3
composite: EANX/UPCA/UPCE_CC addongap (option_2) not being passed to linear
2020-08-05 00:14:11 +01:00
Robin Stuart
0004cfb35a
Change symbol names e.g. RSS > GS-1 DataBar
...
Preserves old names in zint.h to retain backwards compatability.
2020-07-29 20:43:08 +01:00
gitlost
74ad80976e
PDF417TRUNC: stop pattern; PDF417: no default mode codeword 900 if 1st
2020-07-17 16:39:01 +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
0aa55f8945
composite.c: #191 suppress clang-tidy warnings
2020-04-28 22:41:05 +01:00
gitlost
bca82ecc0d
libzint.so: suppress exporting INTERNAL functions to the shared library; ZINT_TEST
2019-12-19 00:37:55 +00:00
gitlost
3b87cd4ec6
EAN128_CC ecc, cc_width, rows and alignment adjustments
2019-11-05 14:16:48 +00:00
gitlost
03d99ceb23
Composite changes encodation 10, 11, general field, CC-A/B shift
2019-10-29 22:54:18 +00:00
gitlost
739793a215
Always parse input as GS1 for EAN128 and RSS_EXP
2019-10-17 10:06:21 +01:00
gitlost
d8b576164f
Use zero-padded field to determine EANX type for composites
2019-10-14 22:20:16 +01:00
Robin Stuart
ff2ceea361
Allow selection of GS1 mode on GS1 symbols
...
Because some symbols require GS1 data, selecting GS1 mode for them would result in GS1 parsing being done twice, corrupting the data.
Fixes #165 reported by Gregory Van Vooren
2019-10-06 11:30:21 +01:00
Robin Stuart
eb3a004ace
Always latch to non-numeric in general-purpose field
...
Would not include latch to alphanumeric or ISO/IEC mode if required at the beginning of a general-purpose compaction field.
Fixes #146 reported by Gregory Van Vooren
2019-10-05 12:48:55 +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
Robin Stuart
8bb4d2ce86
Improved binary multiplication for large numbers
2018-02-11 08:00:32 +00:00
Boris Zentner
31cc0ae78a
Remove spaces before EOL
2017-10-25 17:23:57 +01:00
Boris Zentner
45441a6da7
Fix mixed unix / windows EOL
2017-10-25 17:15:35 +01:00
Jojakim Stahl
6b1421b895
Fixed general_rules declaration in composite.c after refactor in commit [4963a7]
2017-10-18 11:40:20 +02:00
Harald Oehlmann
f83e5b1501
Make compile with MS-VC6
2017-10-16 19:26:54 +02:00
Rodrigo Torres
4963a772db
Refactor
2017-09-11 19:21:33 +01:00
Robin Stuart
50ec72527b
Minor tweaks, no change of function
2017-08-07 08:37:02 +01:00
Robin Stuart
608b4b9134
Audit of error codes
2017-07-27 16:01:53 +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
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
3f7f909644
Simplify PDF binary handling, remove TTF array (no change of functionality)
2017-06-09 22:00:22 +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
4561a66067
Add identifiers to error messages
...
To ease the debug process
2016-10-28 22:40:40 +01:00
Robin Stuart
f8b56002c9
Improved processing of CC-C
2016-09-25 11:09:20 +01:00
Robin Stuart
2c2200a7cb
modifications for VS2015, some
...
additional static/const's and a few bugfixes for HanXin and DotStream.
Patch by Michael <virtual_worlds@gmx.de>
2016-09-05 22:06:50 +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
5d9ce6f684
Improvements from Oxy patch
...
Original email reads...
It does not contain any fundamental changes or new functions but a lot of improvements which I have done over time (added several const/static specifiers, replaced repeated if-conditions by if-else, removed some warnings).
2016-02-29 19:42:32 +00:00
Robin Stuart
9372aa4e48
Remove int declarations in for loops for Visual Studio
2016-02-23 19:21:48 +00:00
Robin Stuart
77cdf77690
Code format and audit, part 1
...
Update copyright info, remove unused code, etc.
2016-02-20 09:38:03 +00:00
Robin Stuart
97a7afa246
Update GS1 Composite name
...
Code now checked against ISO/IEC 24723:2010
2016-02-17 14:33:17 +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
oxygenic
1a7863520b
license changed with permission of original copyright holders (see mailing list for details)
2013-05-16 19:26:38 +02:00
oxygenic
1d241cca05
code cleanup and minor fixes
2012-12-31 14:41:59 +01:00