1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-11 05:55:58 +00:00

Commit Graph

  • 64aa8e654c QRCODE: implement pre-calculated QR/MICROQR masks ala BWIPP for a slight performance gain (2-3%), see https://sourceforge.net/p/zint/mailman/message/59278637/ - generated by "backend/tools/gen_qr_masks.php" test suite: update BWIPP to latest master gitlost 2026-01-06 11:50:06 +00:00
  • 973594a624 GUI: DAFT: re-squash tracker examples back to 2 lines so should always fit (wasn't on Fedora/GNONE) but make non-wrap CMake: remove Qt6 regex detect nonsense and note must specify -DZINT_QT6=ON in "README.linux" gitlost 2026-01-01 18:53:30 +00:00
  • c1d5024031 CLI: test: suppress clang-tidy warning gitlost 2025-12-31 15:35:28 +00:00
  • 848b364df0 CLI: fix bug in "--scalexdimdp" in converting from "in" to "mm" (was dividing instead of multiplying doh); make "--scalexdimdp" units check error messages better; add more "--test" tests & have validate_units() etc take errbuf arg to make them more test-friendly GUI: copy_to_clipboard() unshadow data -> fdata test suite: make utf8_to_wide() same as "backend/output.c" & fix return vals; add QZint::save_to_memfile() test gitlost 2025-12-31 14:57:13 +00:00
  • b434202817 backend_qt: new method save_as_memfile() to save as BARCODE_MEMORY_FILE and use in GUI for pasting to clipboard instead of creating temporary file CLI: allow fully case-insensitive "tiff" as filetype (saved as ".tif"), processing up to 4-letter extensions and hopefully making filetype handling more expected; simplify validate_float() (unneeded 2nd fractional max test); add some more internal "--test" tests BWIPP: update to latest (change from ctx to global VM) - zint tests work as-is, no change gitlost 2025-12-29 17:46:24 +00:00
  • a3f6c75bc0 CLI: add ZINT_TEST-only "--test" option (currently just ensures the barcode name table is sorted so binary chop works), adding ZINT_HAVE_GS1SE define to "zint_add_test.cmake" - allows test_barcode_symbology() in "test_args.c" to be a lot less verbose; const-up various variables; manual: use better MAILMAKE_4S example data and mention special fixed string international destination gitlost 2025-12-26 18:22:48 +00:00
  • e8d9b7195a win32/vs2015: fix Release/Release_LIB sln files for MSVC2015, copying from VS output, removing Debug configs gitlost 2025-12-19 21:24:20 +00:00
  • b2ad19a455 Bump to version 2.16.0.9 (dev) gitlost 2025-12-19 20:36:40 +00:00
  • 55541e139e Version 2.16.0 2.16.0 gitlost 2025-12-19 19:42:13 +00:00
  • fe02f2dd17 frontend: workaround musl getopt_long_only() bug, see - https://www.openwall.com/lists/musl/2025/12/19/1 gitlost 2025-12-19 17:40:08 +00:00
  • 0ce46686b8 backend_tcl: readme.txt: mention distributed DLLs bitness gitlost 2025-12-19 15:15:50 +00:00
  • 3e1bb593d1 backend_tcl: make GS1 Syntax Engine non-optional for simplicity gitlost 2025-12-19 14:21:35 +00:00
  • c0d3260d1f GS1 syntax engine for TCL backend: - make option available without backend - add MSVC build system Harald Oehlmann 2025-12-18 10:03:54 +01:00
  • 89e49bb157 backend_tcl: enable "-gs1strict" for Unix gitlost 2025-12-17 16:26:05 +00:00
  • 4f2b977a93 Add -gs1strict to TCL backend Harald Oehlmann 2025-12-17 15:09:30 +01:00
  • 2ac0e508b8 GS1: update to latest gs1-syntax-dictionary (new AIs 717 (GSCN 25-199) and 8040-3 (GSCN 25-047) manual: fix grammar "chose" -> "choose" win32/README: add missing "of" pandoc: update to latest bwipp: update to latest testcommon: allow for GS1PARENS_MODE now implying ESCAPE_MODE; allow for input_mode option GS1SYNTAXENGINE_MODE CI: freebsd: use latest version 1 gitlost 2025-12-09 16:43:57 +00:00
  • f0c7248b62 general: raw_segs -> content_segs, BARCODE_RAW_TEXT -> BARCODE_CONTENT_SEGS, z_rt_XXX() -> z_ct_XXX(); move encoded_data/row_height to end of zint_symbol (see ZXing-C++ issue #883) manual: update re content_segs; my_symbol -> symbol; improve MicroPDF417 description gitlost 2025-11-04 23:02:10 +00:00
  • 543696cb06 ECI: ECI 899 binary in UNICODE_MODE now converted from UTF-8, not treated literally as it was before, which was inconsistent (literal interpretation now requires DATA_MODE) gitlost 2025-10-16 18:23:48 +01:00
  • dc4ba75eb0 manual: use modified "haddock.theme" for nicer syntax highlighting; use tcolorbox instead of framed for latex code blocks, works much better, especially as now when using a background colour; reduce gap after figures and force footnotes to bottom of page; move most symbology figures to after some text to lessen chance of subsection headers being orphaned on their own at end of page: required a number of rewordings; use named barcodes in example commands, rather than numbered; fix "lua-crossrefs" filter to allow parentheses around references; various other fixes and rephrasings gitlost 2025-10-12 22:17:14 +01:00
  • a3cca33f32 general: suppress clang-tidy-21/22 warnings; some code fiddling on affected files manual: use new lua filter "lua-crossrefs.lua" hacked from https://github.com/rnwst/pandoc-lua-crossrefs as replacement for tablenos which broke with pandoc 2.8.2 (get nicer output anyway); fix "excode39.svg" data $ -> # to avoid shell processing; document ZBarcode_HaveGS1SyntaxEngine() gitlost 2025-10-08 12:21:29 +01:00
  • d413255c93 CI: windows: try env_path backslashing semicolons hack gitlost 2025-10-02 12:57:07 +01:00
  • d149df7360 CI: windows: try adding backend_qt to PATH gitlost 2025-10-02 12:05:19 +01:00
  • 3b1bc7191a test_qzint: try setting CMAKE_CURRENT_SOURCE_DIR gitlost 2025-10-02 12:00:54 +01:00
  • 70070587ad test suite: Windows: use old-fashioned setting of ENVIROMENT PATH instead of ENVIRONMENT_MODIFICATION/path_list_prepend as latter doesn't seem to work (ticket #340, props Ulrich Becker) gitlost 2025-10-02 11:43:33 +01:00
  • d2b4904401 gs1: Use new gs1_encoders_init_ex() API; remove refs to EXCLUDE_GS1_SYNTAX_DICTIONARY gitlost 2025-10-02 11:34:45 +01:00
  • 4d301ea560 win32: add "zint_dll_vc6" sub-directory with VC6 workspace for creating "zint.dll" compatible with Windows XP (see ticket #339) win32: rename README and HOWTO files to uppercase and update "win32\README.txt" general: suppress some VC6 warnings README.bsd: update gitlost 2025-09-26 13:52:55 +01:00
  • 4956989405 CI: macOS: use homebrew Qt PATH gitlost 2025-09-17 22:50:30 +01:00
  • a481612631 CI: macOS: add Qt PATH gitlost 2025-09-17 22:41:54 +01:00
  • 361c63184e CI: Windows: try GS1 Syntax Engine with fixed CMakeLists.txt; try Qt gitlost 2025-09-17 19:26:53 +01:00
  • d8a7a04675 CI: Windows: leave GS1 Syntax Engine out gitlost 2025-09-17 03:37:36 +01:00
  • 063fd925b2 CI: Windows: fix GS1SE_ROOT; free-bsd: try offscreen for qt test gitlost 2025-09-17 03:17:34 +01:00
  • 2427f63d79 CI: free-bsd: remove -C from ctest gitlost 2025-09-17 03:07:31 +01:00
  • 469ae97879 CI: macos: try qt; free-bsd: try explicit --config Release gitlost 2025-09-17 03:01:12 +01:00
  • e35a72fd18 CI: macos: try homebrew; free-bsd: fix build, try ctest gitlost 2025-09-17 02:44:42 +01:00
  • a79eefa857 CI: macos: try LD_LIBRARY_PATH; free-bsd: try building gitlost 2025-09-17 02:22:38 +01:00
  • 9216411f7f CI: Windows: shell missing?; macos: shared zlib/lpng install gitlost 2025-09-17 02:11:29 +01:00
  • 287070217d CI: Windows: try with updated CMakeLists.txt; macos: try with PNG gitlost 2025-09-17 01:49:56 +01:00
  • 6b58074b47 CI: Windows: try with BUILD_TYPE gitlost 2025-09-17 01:34:55 +01:00
  • c2b198a079 CI: Windows: try no BUILD_TYPE gitlost 2025-09-17 01:20:32 +01:00
  • 4901036c2e CI: Windows: GS1 Syntax Engine cmake gitlost 2025-09-17 01:07:36 +01:00
  • 40379fb093 CI: Windows: fix ${} syntax gitlost 2025-09-17 01:04:02 +01:00
  • 9b9142adaf CI: Windows: try GS1 Syntax Engine install again gitlost 2025-09-17 01:01:18 +01:00
  • 1321571f46 CI: Windows: try non-relative XXX_ROOTs gitlost 2025-09-17 00:40:52 +01:00
  • 35e35b6aa5 CI: Windows: don'try GS1 Syntax Engine install gitlost 2025-09-16 23:50:56 +01:00
  • 826bf11bb7 CI: Windows: try GS1 Syntax Engine install gitlost 2025-09-16 23:27:36 +01:00
  • 1d44330ea9 CI: Windows: specify WIN32 for zlib/libpng gitlost 2025-09-16 22:33:45 +01:00
  • b4633af6e1 CI: Windows: try using libpng gitlost 2025-09-16 22:22:45 +01:00
  • fa8800f094 CI: Windows: try slashes gitlost 2025-09-16 22:11:27 +01:00
  • f30a58c6f6 CI: Windows: try ZLIB_ROOT gitlost 2025-09-16 22:05:54 +01:00
  • e5d9aa7cb6 CI: Windows: try installing libpng gitlost 2025-09-16 21:49:39 +01:00
  • 39915dbb3f CI: Windows: wot's in build? gitlost 2025-09-16 21:30:25 +01:00
  • 3cea9c502f CI: Windows: leave out zconf.h mv gitlost 2025-09-16 20:47:13 +01:00
  • 1f9df62afd CI: Windows: separate cmds gitlost 2025-09-16 20:40:07 +01:00
  • 9c67499033 CI: Windows: try zlib again gitlost 2025-09-16 20:30:45 +01:00
  • 5cb193dce5 CI: Windows: leave for now gitlost 2025-09-16 11:41:54 +01:00
  • 55e89ae01f CI: Windows: try installing zlib gitlost 2025-09-16 11:04:36 +01:00
  • 5138d0703c CLI: --gs1XXX args now imply `--gs1 GUI: fix chkGS1Strict enabling on startup regression from previous commit; update CLI equivalence with --gs1strict & adjust for implied --gs1; add tests CMake: allow lpng/zlib and gs1encoders to take paths (for Windows) win32/README: simplify locating lpng/zlib/gs1encoders for cmake using above; add note on 64-bit build manual/man page: adjust for various above changes gitlost 2025-09-16 10:10:30 +01:00
  • e4e6143d87 GS1 Syntax Engine: update Windows README and various project files to get working using nmake "makefile.vcwin32", added to fork at https://github.com/gitlost/gs1-syntax-engine; small updates to Linux, macOS READMEs GUI: change "chkGS1Strict" to be hidden instead of manually adding pandoc: latest version gitlost 2025-09-16 02:19:50 +01:00
  • 008dff4aec Suppress gcc-15 warning -Wunterminated-string-initialization ci: macOS: try GS1 Syntax Engine agin gitlost 2025-09-12 22:49:28 +01:00
  • 7bccfc4915 github: macos: forget it gitlost 2025-09-12 05:17:14 +01:00
  • 95be8d1ae9 github ci: macos: try hack around ldconfig not found gitlost 2025-09-12 05:15:09 +01:00
  • fdbd728867 github ci: macos: try installing GS1 Syntax Engine gitlost 2025-09-12 04:58:32 +01:00
  • fd6948db8f github ci: ubuntu: try installing GS1 Syntax Engine gitlost 2025-09-12 04:48:54 +01:00
  • e340a60adb And in tests cmake gitlost 2025-09-12 04:40:03 +01:00
  • 2084b33d5e cmake: fix GS1SE NOTFOUND test gitlost 2025-09-12 04:32:52 +01:00
  • 0650d5798e Integrate GS1 Syntax Engine gitlost 2025-09-12 04:20:55 +01:00
  • ad95d8f2b0 general: fix some typos using https://github.com/crate-ci/typos (see gs1-syntax-engine PR #15, props Viktor Szépe) gitlost 2025-09-07 17:40:43 +01:00
  • 9b4d097516 RAW_TEXT: change source to be unconverted, i.e. UTF-8 (unless DATA_MODE); allows ZXing-C++ to be built in writer-only mode without needing "libzueci" library: in GS1 mode check that ECI if any is ASCII compatible general: some code fiddling, mode -> modes gitlost 2025-09-05 17:23:18 +01:00
  • 44e2099a65 library: use "filemem" for TXT dump_plot() -> txt_hex_plot() filemem: remove NOLINTS (clang-tidy-20 bug fixed) QRCODE: eliminate NOLINTs using some more asserts (clang-tidy-20); some "de-branching" of loops general: various code fiddlings, in particular lessen no. of redundant parenthesized expressions, especially in conditionals, which reduce rather than aid readibility IMNSHO manual: mention "--dump" option gitlost 2025-08-28 20:34:56 +01:00
  • 36364b4912 Tcl: run "autoconfig" and "./configure" after committing PR #9 "changes to build for non-standard Tcl/TkF", props Oleh Oliinyk gitlost 2025-08-27 00:25:36 +01:00
  • 5699dae022 backend_tcl: add tcl 9.0 compatibility define (CONST) ooa64 2025-07-27 11:42:15 +03:00
  • be10559208 backend_tcl: configure tk ooa64 2025-07-27 11:33:26 +03:00
  • 39380d6767 general: prefix all INTERNAL funcs/tables with zint_, except those in "backend/common.h", which are prefixed by z_ - makes symbol clashes more unlikely when zint is statically linked (ticket #337, props Ulrich Becker) DOTCODE: fix padding allowance (10 -> 52 - probable max 35) to cover cases with large no. of columns requested and little data, to prevent codeword_array buffer overflow AZTEC/CODEONE: some code fiddling general_field: prefix defines with GF_, shorten static funcs prefix general_field_ -> gf_ gitlost 2025-08-26 23:48:00 +01:00
  • e18b047a45 gs1: update to latest gs1-syntax-dictionary (key -> gcppos1, keyoff1 -> gcppos2) gitlost 2025-06-05 13:48:50 +01:00
  • 766fbd98bb gs1: update to latest gs1-syntax-dictionary (keyoff1 for 8006/8026) gitlost 2025-05-31 15:21:27 +01:00
  • 18096a25a7 AZTEC/PDF417: stripf ecc feedback (was getting 32-bit difference) test suite: test for arc4random_uniform() before including "test_bwipp" & "test_random" in build github/ci: try enabling Qt test for ubuntu gitlost 2025-05-24 02:51:18 +01:00
  • 578d3e4df9 iso4217: add 396 (XAD) ISO 4217 AMENDMENT NUMBER 179 gitlost 2025-05-19 14:35:40 +01:00
  • effb13cab8 DBAR_OMN/LTD: replace unnecessary large_uint with uint64_t DBAR_OMN/LTD/EXP: add helpers dbar_xxx_group() to calc groups; dbar_widths() -> dbar_getWidths() & make noNarrow boolean; new helper dbar_widths() interleaves; various other refactorings, fiddlings etc. DBAR_EXP: dbar_date() -> dbar_exp_date() upcean: make cc_rows` const gitlost 2025-04-28 16:18:13 +01:00
  • fcb3f9b422 GS1PARENS_MODE: allow parentheses in AI data if backslashed and in ESCAPE_MODE composite: empty primary now returns ZINT_ERROR_INVALID_DATA rather than ZINT_ERROR_INVALID_OPTION; check that primary NUL-terminated library: check that outfile NUL-terminated gs1: preface all routines and linters with "gs1_" general: some code fiddling gitlost 2025-04-24 18:40:50 +01:00
  • 51ebca182c Re commit [789e04] and [86363f] allow prefixes without check digit gitlost 2025-04-21 18:45:23 +01:00
  • 3592edd64e - Add new symbologies BARCODE_EAN8, BARCODE_EAN_2ADDON, BARCODE_EAN_5ADDON, BARCODE_EAN13, BARCODE_EAN8_CC and BARCODE_EAN13_CC as replacements for BARCODE_EANX, BARCODE_EANX_CHK and BARCODE_EANX_CC and use in CLI/GUI (BARCODE_EANX etc. marked as legacy) - For EAN/UPC accept space as alternative add-on separator to '+', and accept GTIN-13 format with & without 2-digit or 5-digit add-on (no separator) - Buffer length of member errtxt in zint_symbol extended 100 -> 160 (will be sufficient for eventual translation and gs1-syntax-dictionary errors hopefully) - UPC-E: warn if first digit of 7 (or 8 if check digit given) not '0' or '1' - manual: update for new EAN symbologies and mention EANX now legacy but still supported gitlost 2025-04-16 22:26:43 +01:00
  • 9265abd9e1 Fix installation of cmake files Sandro Jäckel 2025-04-11 03:24:38 +02:00
  • 8758ebd420 test suite: testcommon.c: NOLINT clang-tidy-20.1.2 false positive gitlost 2025-04-13 17:45:19 +01:00
  • 0b7103e21e EAN-8: specify in check digit error test suite: deal with ZXing-C++ changes re DBAR and EAN/UPC with add-ons gitlost 2025-04-13 17:25:13 +01:00
  • 26805338f8 RAW_TEXT: expand UPC-A, UPC-E to EAN-13, and EAN-8 if has add-on, and place any add-on data directly after (no separator) EAN-8 + add-on: warn as non-compliant (see ZXing-C++ issue #883, https://github.com/zxing-cpp/zxing-cpp/issues/883) test suite: BWIPP: use new EAN-8 + add-on option "permitaddon"; fix dumps of RAW_TEXT memcmp()s fails; various re-formatting bwipp_dump.ps: update to latest BWIPP gitlost 2025-04-11 13:02:59 +01:00
  • 182c84fa4d MAILMARK_2D: fix postcode validation: no limited alphanumerics, spaced-out DPS "outward"-only allowed, all-blank DPS allowed (ticket #334, props Milton Neal) gitlost 2025-04-09 00:10:51 +01:00
  • 86363ff0f7 ITF-14/EAN-14/NVE-18: allow check digit to be given and then verified; allow and ignore prefixes "01", "[01]" and "(01)" (or "00" etc if NVE-18) if check digit given, following commit [789e04] (ticket #333) gitlost 2025-04-07 17:25:44 +01:00
  • d886ecf5c7 test suite: test_upcean: fix test_hrt not actually testing BARCODE_RAW_TEXT gitlost 2025-04-07 13:32:56 +01:00
  • 8c09123d8b Re last commit, keep line length <= 118. gitlost 2025-04-05 01:35:42 +01:00
  • b423e260b9 dxfilmedge: make raw_segs consistent with zxing-cpp Axel Waggershauser 2025-04-04 23:36:33 +02:00
  • 789e049945 DBAR_OMN/DBAR_LTD/DBAR_STK/DBAR_OMNSTK: prefix raw_segs with implicit "01" prefix (see ZXing-C++ issue 883); allow and ignore prefixes "01", "[01]" and "(01)" if check digit given (ticket #333, props Axel Waggershauser); CODE128/PDF417: suppress some clang-tidy-20.1 warnings general: add ZUCP(), ZCUCP(), ZCCP() macro shorthands to cast away char pointer signedness gitlost 2025-04-05 00:19:13 +01:00
  • 01c9b82504 Revert "[[fallthrough]]" -> "fall through" to avoid gcc warning gitlost 2025-04-04 09:35:55 +01:00
  • 5b74903da4 ZINT_CAP_STACKABLE: missed CODABLOCKF/HIBC_BLOCKF previously - not stackable gitlost 2025-04-03 17:21:44 +01:00
  • a74871a7de - CODABLOCKF: fix misencodation of extended ASCII 0xB0-0xB9 when followed by digit (ignore 2nd byte of FNC4 when categorizing Code C characters) - New ZBarcode_Cap() flag ZINT_CAP_BINDABLE, differentiated from ZINT_CAP_STACKABLE, and new Qt Backend method isBindable() - CLI: fix separator check to use new ZINT_CAP_BINDABLE instead of ZINT_CAP_STACKABLE - ZBarcode_Cap: add missing symbologies to ZINT_CAP_BINDABLE (was ZINT_CAP_STACKABLE) - DOTCODE: pad rows if given number of columns instead of failing if rows below min (5) - DBAR/composites: ensure stacked symbologies and composites are not stacked (set symbol->rows to 0) - test suite: move test_perf routines into single test "test_perf"; new "test_random" (based on "test_bwipp") to test various symbologies with random binary - discovered CODABLOCKF bug; expand "test_bwipp" manual: Feeback: mention AZTEC -1 meaning min & MICROPDF417: doc new ZINT_CAP_BINDABLE general: various code fiddlings and re-formattings gitlost 2025-04-03 16:08:15 +01:00
  • 2370fbfbb7 test_common: rt_cpy etc.: zeroize symbol gitlost 2025-03-28 11:19:40 +00:00
  • 59becc6e0a github: macOS: ctest -VV gitlost 2025-03-28 10:49:05 +00:00
  • a6c225447e general: change BARCODE_RAW_TEXT to write to new zint_symbol fields raw_segs and raw_seg_count instead of text, and to do so for all symbologies, using new common funcs rt_cpy() etc. MICROPDF417: return ECC percentage in top byte of option_1 DBAR_EXP_STK: return option_2/option_3 feedback CLI: change warning text "ignoring" -> "**IGNORED**" GUI: show feedback for DBAR_EXP_STK, MICROPDF417, UPNQR ctest: fix recent inability to run tests via "ctest" on Windows (MSVC) by using cmake 3.22 feature ENVIRONMENT_MODIFICATION manual: document feedback and RAW_TEXT in new "Feedback" section; rephrase some symbology descriptions test suite: new general-use arg "-a"; add func_name to context; new "test_bwipp" test for testing BWIPP against ZXing-C++ gitlost 2025-03-28 10:02:19 +00:00
  • d1bf02e156 gs1: csumalpha: improve warning, report both checksum chars (ticket #332, props Harald Oehlmann) gitlost 2025-03-18 18:47:04 +00:00
  • de8a62ca2a UPU_S10: fix Service Indicator warning re "H" (ticket #331, props Milton Neal), which is valid; quote invalid Service Indicator, Country Code in warnings gitlost 2025-03-18 03:03:27 +00:00
  • e12c5ed3ba DBAR_STK/DBAR_OMNSTK/DBAR_EXPSTK (including composites): output HRT if BARCODE_RAW_TEXT manual: default to always making html gitlost 2025-03-10 01:22:52 +00:00