Commit Graph

  • 3ec7318fb2
    Merge 84b5a639d8 into c9909d3d91 trifle 7 2024-11-15 21:29:20 +0500
  • c9909d3d91 tests: BWIPP: update CODE128/MAXICODE to use "newencoder" BWIPP: update to latest AZTEC/CODE16K/DATAMATRIX: harmonize GS1 and READER_INIT error messages master gitlost 2024-11-12 11:25:22 +0000
  • 88155343bf MAXICODE: maintain current set between segments to prevent invalid encodation; use code set E for padding as well, saves codeword, props Bue Jensen (BWIPP PR #279); add padding after all segments and limit loops to length to make NS compression work better; all the above temporary fixes until Bue Jensen's merge request with the BWIPP PR #279 algorithm GUI: expand linux "xcb" platform hack for >= Qt 5.1 gitlost 2024-11-08 16:54:38 +0000
  • f1f283d6a1 docs: update doc images and ChangeLog for last commit [705b72] gitlost 2024-11-05 23:18:42 +0000
  • 705b7254f2 UPCA/UPCE: descend add-ons to same level as guards following ISO/IEC 15420:2009 4.3.5 (and BWIPP) and adjust righthand outside digit to be 4X/2X instead of 5X/3X (ISO/IEC 15420:2009 Annex A.2) away from main symbol so as not to touch add-on TODO: revisit when standard clarified gitlost 2024-11-05 22:50:03 +0000
  • 71b2dc50b7 library: move check for valid UTF-8 after de-escaping CODE128: fix bad index 0 -> i in c128_glyph_count() gitlost 2024-10-30 16:37:42 +0000
  • 7e6da28761 tests: test_library: fix snafus from previous commit [5e2044] (Windows) gitlost 2024-10-27 22:19:43 +0000
  • 5e2044ff2e CODE128: reduce extended latch cut-off from 5 to 4 for better encodation in certain cases (and no pessimizations found so far), props lyngklip (BWIPP); fix extended char latching when exactly 3 extended chars at end; count code set C (not digits) in loop deciding when to shift/latch to extended for better estimate AZTEC: return warning if ECC < 5% (due to bit-stuffing when version given); return error if > 22 layers (Zint 26) for Reader Initialisation symbol requested for better error message AZTEC/HANXIN/QRCODE: consolidate different ECC data size tables into one indexed by ECC DBAR_EXP: check for reduced length <= 77 up front for better error message HANXIN: use malloc() rather than z_alloca() for large binary array QRCODE: ecc_level now 0-based (not 1-based) MICROQR: consolidate different version end routines into one microqr_end() and use new microqr_data table to simplify code MICROPDF417: use table for max codewords per column library: centralize all error messages using new errtxt(), errtxtf(), errtxt_adj() funcs that protect symbol->errtxt from overflow, & try to make error messages more consistent thru-out, adding more feedback info to many, & use positional args "%n$" in prep for l10n (maybe); is_sane/is_sane_lookup() -> not_sane/not_sane_lookup(), returning 1-based position (zero on failure) instead of bool; long ints -> plain int (except those dealing with ftell(), fread() etc) as depend on int being 32-bits already GUI: in "grpDATF.ui" use "PlainText" rather than "RichText" for tracker ratio examples as height of text messing up sometimes manual: clarify Codablock-F length maximum & add examples docs: README: pandoc 3.5, Ubuntu 24.04 CMake: use "-Wpedantic" for Clang only as GNU complains about errtxtf() positional args "%n$" gitlost 2024-10-27 21:33:33 +0000
  • 752c1fae5d MAXICODE: Zero-pad US postcodes that lack "+4" (Annex B.1.4a) Adapted from OkapiBarcode, with stricter interpretation (only pad if "+4" totally absent), props Daniel Gredler gs1: update to latest gs1-syntax-dictionary (linter mm -> mi) bwipp: update to latest gitlost 2024-10-09 18:25:38 +0100
  • c1666cf350 GUI: use X11 (xcb) as platform instead of Wayland on Linux to avoid various weird behaviours tests: disable GUI-dependent tests (TestQZint::renderTest()) if ZINT_SANITIZE and on Linux for later versions of Qt (5 and 6) to avoid ASAN "detected memory leaks" errors on exit gitlost 2024-10-07 16:04:22 +0100
  • 34be69d241 library: check d/o escape seq value <= 255, better error messages GUI: cliwindow: #if _WIN32 -> #ifdef _WIN32, add "-Wundef" check to cmake cmake: backend: add C90 (C89) compat compiler check docs: update "README" pandoc, "README.linux" (Fedora 39 -> 40) tests: test_png: add some more text examples gitlost 2024-09-29 15:18:56 +0100
  • b42d5baf4c gs1: New AIs 7041 (GSCN 23-272) (packagetype) and 716 (GSCN-24-157) CODE49: Better error message on ZINT_ERROR_TOO_LONG manual: Use floating pt notation for floating pt args on options backend/tools/data: Remove overlooked "GB2312.TXT" from git raster: size2 -> prev_size; one line malloc()s C25/CODE128: some code fiddling tests/PNG: Add some more text examples gitlost 2024-09-18 03:40:45 +0100
  • 93c3e27fba CODE128: Add minimal encodation algorithm (non-extended ASCII only) from ZXing (props Alex Geller) - about 25-60% slower depending on data & stack heavy but does improve some outcomes when FNC1s present (GS1_MODE or manual) although not much else it appears (the previous algorithm was very good), but has a logical clarity the other lacked - funcs c128_dxsmooth() etc shared with CODE16K now moved there and renamed as c16k_; also fix extended char latching when exactly 4 extended chars at end also manual code set switching now honoured exactly even if immediate shift required; manual: make explicit that AI "(00)" and "(01)" prefixes added by Zint are HRT-only general: add extern "C" wrappers to a few header files gitlost 2024-09-07 12:44:16 +0100
  • 10747d6385 CODE128: Add new extra escape \^1 for manual insertion of FNC1s, ticket #324, props Jim Shank; also improve encodation for a few limited cases; also some code fiddling BWIPP: update to latest raster: check for overflow on size + size2 in raster_malloc() vector: put malloc()s on one line for grep ease docs: pandoc-3.3, clang-tidy-20 gitlost 2024-09-03 11:55:55 +0100
  • 7f4ccccb98 GS1: update to latest gs1-syntax-dictionary, new AI 8014 (GSCN 21-283) MUDI, and AI 03 MTO GTIN); hhmm -> hh,mm, mmoptss -> mm,ss, yymmddhh obsolete gitlost 2024-07-30 13:11:15 +0100
  • 3c7a702169 test: BWIPP: add fixedeclevel to PDF417/QRCODE variants when eclevel given; update BWIPP to latest gitlost 2024-07-22 23:29:37 +0100
  • 9c701f1009 2nd attempt to fix [857021] - add ZINT_NO_PNG define to tests gitlost 2024-07-18 01:38:29 +0100
  • b3a8680a90 Fix previous commit [857021] - allow for ZINT_NO_PNG gitlost 2024-07-18 01:26:31 +0100
  • 857021de84 png: allow for use of zlib-ng, a zlib replacement, by Fedora 40, by avoiding binary comparison in tests gitlost 2024-07-18 01:04:50 +0100
  • fb3b3001aa - GS1: fix square brackets treated as FNC1 in GS1PARENS_MODE by changing internal FNC1 marker '[' -> '\x1D' (GS), ticket #319, props Moli Sojet; also fix non-AI square brackets -> round brackets in GS1_128 HRT - BWIPP: update to latest gitlost 2024-07-11 00:35:13 +0100
  • 7246d67175 gs1/gs1_lint: update to latest gs1-syntax-dictionary, removing iso3166list linter and adjusting all others to allow for multiple optional linters (by checking data_len vs offset) library: change invalid input_mode reset to return warning; split func table into 2 - func declarations without prototype will be error in C23; make invalid symbology check a separate function using a table and call near beginning of ZBarcode_Encode_Segs(); in ZBarcode_BarcodeName() save some bytes by simplifying name table and removing "BARCODE_" prefix from entries output: fix pack logic to use pragma by default (actually more portable than __attribute__) common.h: remove C99 detection which was artifice of specifying "-std=", and rejig layout to be more logical BWIPP: update to latest version general: change ZINT_VERSION_BUILD tests to #ifs general: further fiddling with some tables to save a few bytes CLI: change function arg optarg -> arg so doesn't shadow global general: library now compilable with Comp Cert C (though as it doesn't support alloca() will have multiple memory leaks) gitlost 2024-06-27 23:00:13 +0100
  • d70edce067 iso4217: new ISO 4217 currency code 924 for ZWG (amendment no. 177) (gs1-syntax-dictionary commit [d64e28d]) TODO: remove 932 ZWL 1 Sept 2024 gitlost 2024-06-21 16:31:19 +0100
  • d97fc7e110 CMake: use "GNUInstallDirs" instead of old (2008) KDE "SetPaths.cmake" (removed) - resolves absolute paths in "zint-targets.cmake", ticket #318, props John Alexander; also remove "FindZint.cmake" install as not best practice (Daniel Pfeifer “Effective CMake"), but retain in tree for now; also remove APPLE stuff re UNIVERSAL build, obsolete, and setting of CMAKE_OSX_SYSROOT, seems unnecessary gitlost 2024-06-21 15:18:00 +0100
  • 04e8cacb81 gs1: Update to latest version of gs1-syntax-dictionary with new AIs 7250-7259 (GSCN 22-246), new checkers yyyymmdd(), iso5218(), posinseqslash(); allow for new "?" flag in "gen_gs1_lint.php" gitlost 2024-05-29 22:52:34 +0100
  • 83fe2f3fee getopt: fix previous #ifdef 1 -> #if 1 gitlost 2024-05-28 02:48:08 +0100
  • a1aefdc50b test_library: suppress size_t -> int warning getopt: suppress -Wdeprecated-non-prototype warnings gitlost 2024-05-28 02:39:49 +0100
  • eb035a6372 GUI: fix foreground/background picker invocations (broken [f3a982c1dd]) AZTEC/CODE16K/CODEONE/DATAMATRIX/DBAR_EXP/GRIDMATRIX/HANXIN /MAILMARK_4S/PDF417/MSI_PLESSEY/QRCODE/RMQR/TIF/ULTRA/USPS_IMAIL: lessen storage of some tables by using least integral size required (saves ~3K); reformat some tables, comments AUSPOST/AZTEC: remove unnecessary int casts on array indexing CODE11/CODE39: move start/stop chars into one entry in tables to save a few bytes; some reformatting, comments CODEONE: add c1_ prefixes common: more precise compiler/version checks composite: add cc_ prefixes; UINT -> unsigned short; use sizeof() instead of strlen() for in_linear_comp static; some reformatting, comments EMF: use table instead of string for ultra_chars[] GIF: remove unnecessary cast library: use sizeof() instead of strlen() for static; add consts to escape_char_process() & use unsigned for ch DBAR: use dbar_, dbar_ltd_, dbar_exp_ prefixes docs: update pandoc version gitlost 2024-05-27 23:19:45 +0100
  • 0a00d04ccc CMakeLists.txt: check against c not c++ (CheckCXX -> CheckC etc) BMP/EMF/PCX/TIF: use more portable packed attribute instead of pragma if not MSVC CHANNEL: pass ptr not struct to channel_copy_precalc() gitlost 2024-05-27 20:55:04 +0100
  • 3960dfdbfc AZTEC: workaround MSVC optimizer deciding not to emit code for inner top/right/bottom/left loops of az_populate_map() by jiggling them around a bit, ticket #317, props Andre Maute frontend/tests: clean up any directories created in test_input(), ticket #316, props Andre Maute gitlost 2024-05-27 03:06:27 +0100
  • c8bb299908 Fix legacy width and security level getters/setters in Qt backend Philip Ye 2024-05-23 22:12:39 +1200
  • 84b5a639d8
    Update zint-qt.desktop trifle 7 2024-04-11 13:22:53 +0100
  • 0eaa9f3e7d GUI: about box: display QSettings config location gitlost 2024-03-07 17:03:56 +0000
  • 5390c0df92 GUI: factory reset: reset preview background colour also gitlost 2024-03-07 14:16:22 +0000
  • bdb4fcbcf8 README.macos/windows: fix modified date year 2014 -> 2024 gitlost 2024-03-07 13:59:09 +0000
  • 55a7369cd8 output: out_fopen() fix _WIN32 def check (ticket #313, props Axel Waggershauser) gitlost 2024-03-05 22:15:00 +0000
  • 624574a64c As get_best_eci() can no longer return 0 remove caller checks library: simplify dealing one-letter escapes into one case; other fiddlings (first_err -> warn_number) gitlost 2024-03-05 22:09:05 +0000
  • 11b3c18aed ECI: get_best_eci(): just assert is_valid_utf8() as checked prior to being called manual: update to latest GS1 General Specifications (v24), pandoc (3.1.12.1) gitlost 2024-02-28 02:57:43 +0000
  • f0d8901d9e QRCODE: check fopen() return in ZINTLOG debugging code (ticket #181, props Stf Ortm) CODE128: suppress gcc -Wmaybe-uninitialized false positive (Release only) CLI: add "isbn" synonym; save a few bytes using char[] rather than char * gitlost 2024-02-27 13:36:13 +0000
  • f312cdf630 CODE128: simplify bitmask in qr_add_version_info() (ticket #110, props Daniel Gredler); check for next shift rather than next in c128_dxsmooth() to improve encodation on A/B shifting, props Daniel Gredler (Okapi) gitlost 2024-02-10 16:08:18 +0000
  • e167f5b534 test suite: zxing-cpp: adjust for returnCodabarStartEnd no-op; allow for old "libpng" (png_set_scale_16() not available) general: Solaris compat library: use proper function ptr instead of void * for function table; warning suppression "-Wpedantic" -> "-Wstrict-prototypes" GRIDMATRIX/HANXIN/QRCODE: xx_define_mode(): multi-dim char_modes gitlost 2024-02-06 13:01:35 +0000
  • 7b41dfbee2 - ITF14/DPLEIT/DPIDENT: ignore option_2 (check digit options) - GUI: scalewindow: fix cropping resolution on initial setup (spnResolution max 1000 -> 254000) and bound X-dim to <= 10 in set_maxima() - GUI: mainwindow: bound X-dim as above and clamp m_xdimdpVars members on initial load from INI - GUI: undo QString::mid() -> QString::midRef() from clazy & explicitly include "QObject" in "qzint.h" (not Qt6 compatible) gitlost 2024-01-25 00:10:34 +0000
  • 7c1bdba8ae output: use doubles when converting in out_colour_get_rgb() and out_colour_get_cmyk(), to lessen chances of rounding errors (in particular for VC6) test_large: fix regression in change to test for formatting uint64_t for printf() win32/README: update MinGW/MSYS Qt version gitlost 2024-01-19 09:28:03 +0000
  • 57fac4048d frontend/CMake: fix HAVE_GETOPT -> HAVE_GETOPT_LONG_ONLY gitlost 2024-01-17 22:04:18 +0000
  • 1449866d18 CMake: check for getopt_long_only() instead of just getopt() so behaviour of CLI same general: AIX compat, suppress some warnings gitlost 2024-01-17 21:55:11 +0000
  • bead450f38 - BMP/EMF/PCX/TIF: fix endianness on big-endian machines (note TIF now always written as little-endian - simplifies testing) - READMEs: add date updated gitlost 2024-01-17 01:45:45 +0000
  • cf04ac15b0 general: use explicit float consts rather than calced ones manual: remove extra tags from "manual.txt" and clean up table captions gitlost 2024-01-09 18:38:21 +0000
  • f3a982c1dd fuzz.h: fix upper/lowercase flags GUI: suppress clazy warnings gitlost 2024-01-05 22:55:57 +0000
  • d42eb13841 AZTEC: change max byte count from assert() to if as overlong data can trigger it (fuzz_data (1st)) gitlost 2024-01-04 22:43:41 +0000
  • 3cb724253b Add fuzz stuff ("backend/tests/fuzz"), including OSS-Fuzz "Dockerfile" etc PDF417: lessen some debug verbosity gif: use "gif_" prefix; some code fiddling gitlost 2024-01-04 20:11:04 +0000
  • 2a55ba0cef GUI/manual/man page: bump year 2023 -> 2024 gitlost 2024-01-01 13:26:49 +0000
  • f37831bfef GUI: About box: make smaller so fits on screen in most situations by removing "Currently supported standards" box (which was pretty unreadable anyway) gitlost 2024-01-01 13:07:53 +0000
  • 3950b49050 filemem: fix fwrite() return check in fm_write(); test ferror() also in fm_err() if err zero and file NetBSD: add instructions and some workarounds (getopt_long_only() in particular) qzint: check __GNUC__ version for "-Wstringop-truncation" suppression gitlost 2023-12-29 19:34:44 +0000
  • 98f86727cc Add BARCODE_MEMORY_FILE to symbol->output_options to allow outputting to in-memory buffer symbol->memfile instead of to file symbol->outfile, ticket #301 Add "README.clang-tidy" and ".clang-tidy" options file Suppress some warnings gitlost 2023-12-27 19:20:19 +0000
  • 070162214b - raster/BMP/GIF/PCX/TIF: fix dealing with very large data (use size_t as appropriate) - BMP: lessen heap memory usage by only malloc()ing a row, not whole file - GIF: lessen heap memory usage by paging (also simplifies some function returns); use standard colour char map - raster: add raster_malloc() to fail > 1GB (avoids very large output files that most systems can't handle; also lessens to some degree chances of being victim of OOM killer on Linux) - GUI: printing scale dialog: set maxima on X-dim and resolution to keep scale <= 200 gitlost 2023-12-22 21:29:54 +0000
  • 6ff485e6fa Bump version to 2.13.0.9 (dev) gitlost 2023-12-18 10:28:14 +0000
  • a9b526be08 Version 2.13.0 2.13.0 gitlost 2023-12-18 09:44:47 +0000
  • aba04df25e backend_tcl: add USE_TCL_STUBS & USE_TK_STUBS defines to "zint_tcl.dsp"; remove previous note added to "readme.txt", props Harald Oehlmann gitlost 2023-12-18 08:57:49 +0000
  • 27465451e2 backend_tcl: add "licence.txt"; add note to "readme.txt" re LINK32 tcl/tk libs update_version.php: add year replace for "licence.txt" above gitlost 2023-12-16 16:44:02 +0000
  • 29a602c465 win32: add missing "zint.sln", "zint.vcxproj", "libzint.vcxproj" update_version.php: remove "win32/vs2015/vsx/libzintMD.vcxproj" gitlost 2023-12-16 14:54:20 +0000
  • f59bad1e6d win32: update README, changing Visual Studio example from 2017 -> 2022 (2017 moved to "vs2017") and simplifying lpng build (use "nmake" - "libpng16_static.lib" -> "libpng.lib"); update various ".sln", ".vcxproj" & "*.pro" files update_version.php: update copyright year also in "*.rc" files manual: note Ultracode 2023 now released but not yet supported gitlost 2023-12-16 13:06:48 +0000
  • c9f0e61d78 emf/eps: fix previous gws_left/right_fudge hack gitlost 2023-12-15 18:52:41 +0000
  • 40a4bb9da0 vector: make sure BIND_TOP trumps BIND/BOX always (fixes extraneous whjitespace at bottom of CODABLOCKF/CODE16K/CODE49 if BIND_TOP set); add left/right fudge to guard whitespace placements so appear closer to edge for SVG/qzint (undone by EMF/EPS) gitlost 2023-12-15 10:51:51 +0000
  • ecbd582cae manual: pandoc latest release (3.1.10) test suite: UPNQR: input zxing-cpp gitlost 2023-12-14 11:03:50 +0000
  • 2e350232de Extend stubs require string to an open string Harald Oehlmann 2023-12-11 19:03:24 +0100
  • 03948c1d28 Comply to TCL/Tk 9 C library. See https://core.tcl-lang.org/tcl/wiki?name=Migrating+C+extensions+to+Tcl+9 Harald Oehlmann 2023-12-11 18:51:21 +0100
  • 406fa0b086 test suite: zxing_cpp: -hints -> -opts BWIPP: update to latest version gitlost 2023-12-11 12:21:31 +0000
  • 0a6280dd80 HANXIN/QRCODE: fix incorrect numeric costings (out-by-1) in qr_in_numeric()/hx_in_numeric() (restrict to 3, not 4), ticket #300 (#16), props Andre Maute manual: "Maxicode" -> "MaxiCode"; add max capacities for matrix barcodes gitlost 2023-12-09 10:07:11 +0000
  • 4a340ab614 manual: CODABLOCKF: min/max for rows/cols gitlost 2023-12-07 13:53:26 +0000
  • de90de99ae man page: line separate --vers matrix tables test suite: zxingcpp "rMQR" -> "RMQRCode" gitlost 2023-12-06 12:05:45 +0000
  • fe56c030b0 QRCODE: refactor last commit to separate out GS1 branch in qr_in_alpha() gitlost 2023-12-05 22:47:46 +0000
  • 885cf0610d QRCODE: fix qr_in_alpha() uneven percent check to be gs1 only, causing incorrect mode costings leading to version 40 binlen < lower version, triggering assert, ticket #300 (#15), props Andre Maute gitlost 2023-12-05 19:00:01 +0000
  • ff992a4265 manual: fix rMQR dimension typo tests: RMQR: do_zxingcpp gitlost 2023-12-04 19:22:00 +0000
  • 5e0458cb65 Unconditionaly include <stdio.h> Schaich, Alonso 2023-12-01 07:52:12 +0900
  • 888db0bf00 QRCODE: fix out-of-bounds crash due to incorrect mode costings for GS1 percents in qr_in_alpha(), ticket #300, props Andre Maute; also defensively re-calc version 40 mode to prevent possible further crashes common: move debug_print_escape() from library to common gitlost 2023-11-30 09:12:11 +0000
  • db92c7de57 UPCA_CC/EANX_CC: fix out-of-bounds crash in AI resolve loop in gs1_verify() by checking length before to_int(), ticket #300 (#11), props Andre Maute CODEONE: fix out-of-bounds crash for Version T by upping buffer size to same as for A to H, ticket #300 (#12), props Andre Maute GS1_128_CC: fix divide-by-zero crash in calc_padding_ccc() by allowing for min linear width 68 in cc_width calc, ticket #300 (#13), props Andre Maute BWIPP: update bwipp_dump.ps to latest version, update gen_gs1_lint.php to accommodate req "+" PDF417: change liste[] int -> short to lessen stack usage Some variable name and code fiddlings gitlost 2023-11-28 08:58:56 +0000
  • e9203439b7 backend/tests: some tabs -> spaces gitlost 2023-11-27 13:47:38 +0000
  • a14fe77aa0 EANX_CC/UPCA_CC: fix crash in dbar_date() on not checking length in cc_binary_string(), ticket #300 (#5 & #6), props Andre Maute; add other checks for length on processing encoding mode PDF417: fix out-of-bounds crash on overrunning string and codeword buffers by tripling size (convert to short instead of int to guard against too much stack), ticket #300 (#7 & #10), props Andre Maute; (TODO: add some checks instead to bail out earlier?) CODEONE: fix looping on latch crash in c1_encode(), ticket #300 (#8), props Andre Maute CODABLOCKF: fix crash on negative overflow of columns (option_2), ticket #300 (#9), props Andre Maute library: add debug_print_escape() helper for ZINT_DEBUG_PRINT gitlost 2023-11-27 12:55:53 +0000
  • 77c1ef1139 CODEONE: fix out-of-bounds crash in c1_c40text_cnt() not accounting for extended ASCII shifts, ticket #300 (no. 4), props Andre Maute gitlost 2023-11-25 16:31:48 +0000
  • dfc4049932 API: add ZBarcode_Reset() to clear and restore zint_symbol to its default state library: fix dealing with ZINT_WARN_HRT_TRUNCATED in error_tag() when WARN_FAIL_ALL set gitlost 2023-11-24 18:04:33 +0000
  • 0601b580b2 aztec: GUI: fix layers calc from width; add overrun check of adjusted_string before padding in user-specified size case but probably can't happen; various fiddlings with code to make a bit more concise gitlost 2023-11-24 15:34:08 +0000
  • 86748999a4 AZTEC: fix another out-of-bounds crash when user-specified size given ticket #300 (no. 3), props Andre Maute gitlost 2023-11-24 10:30:57 +0000
  • 7c4a538248 AZTEC: fix out-of-bounds crash when user-specified size given, ticket #300, props Andre Maute; fix 4-layer compact block max (76 -> 64); fix encoding of byte-blocks > 11-bit limit library: fix 21-bit Unicode conversion in escape_char_process(); fix restricting escaped data length by using de-escaped length to check (escape_char_process() adapted to do length only calc also) gitlost 2023-11-23 16:31:44 +0000
  • 06ae7c1b7a CODE11/C25XXX/CODE39/EXCODE39/HIBC_39/CODE93/CODABAR/PLESSEY/ MSI_PLESSEY/FLAT/DAFT/TELEPEN/TELEPEN_NUM: increase allowed lengths to max or near-max possible in 1152 modules for most (all?) variable length input linear barcodes USPS_IMAIL: suppress bogus clang-tidy warning re garbage value (doesn't take strlen() into account?) gitlost 2023-11-22 00:45:30 +0000
  • 4b57fb8021 PDF417: fix out-of-bounds crash in pdf_text_submode_length() by changing pdf_num_stay() to not call it if previous/next block is BYT; also extend pdf_asciix[] to full 256 byte range (defensive & also can use directly rather than checking range, ticket #300, props Andre Maute gitlost 2023-11-21 22:39:07 +0000
  • 323b34502b zint.h: increase symbol->text size 160 -> 200; rename ZINT_CAP_EXTENDABLE -> ZINT_CAP_EANUPC (ZINT_CAP_EXTENDABLE marked as legacy) CODE128: increase no. symbol chars max 60 -> 99 EAN-2/EAN-5: fix BARCODE_BIND_TOP/BIND/BOX output GS1_128: warn if data > 48 (GS1 General Specifications max) common: is_extendable() -> is_ucpean() raster: add ZFONT_HALIGN_CENTRE/LEFT/RIGHT flags and process in draw_string() (for drawing EAN/UPC outside digits), and for ZFONT_HALIGN_CENTRE round when calculating centre (shifts some texts 1 pixel left) raster/vector: use offsets into symbol->text for EAN/UPC instead of out_upcean_split_text() (removed) BMP/EMF/GIF/PCX/PNG/PS/SVG/TIF: use new out_colour_get_rgb() routine (replaces colour_to_XXX()) general: simplify/fix some error_number handling/returning frontend: truncate overlong --primary instead of ignoring; negative floating pt option (for --textgap) man page: list size detail for matrix symbols (--vers) manual: further fiddling with scaling text; some typos gitlost 2023-11-19 19:39:54 +0000
  • ca964f9098 DATAMATRIX: add DM_ISO_144 (--dmiso144) option for ISO placement of ECC codewords instead of default "de facto" gitlost 2023-10-30 20:28:00 +0000
  • b343409fb4 gs1: update to latest gs1-syntax-dictionary (new AIs 4330-4333, hyphen) gitlost 2023-10-27 13:51:32 +0100
  • 7080918350 Fix compilation errors when using CMake to add a project through add_subdirectory. ShiXiaodi 2023-10-17 15:19:49 +0800
  • 2287b9ab0a backend/tools/gen_eci_?b_h.php: get data from web (where possible) and remove *.TXT from backend/tools/data, adding GB2312.TXT README manual: try to make scaling info more exact, and re-iterate no text printed for raster with scale < 1; move CLI HRT section up; add one-page docs/manual.html to git - should do same for 3.1M manual.pdf?? other: remove some no longer used backend/tools, readme-cmake gitlost 2023-07-24 12:56:40 +0100
  • 255107b588 github: ok give up on 32-bit Ubuntu again gitlost 2023-07-20 11:07:09 +0100
  • 189f115d13 github: try just installing 32-bit library gitlost 2023-07-20 10:50:59 +0100
  • 20b2b98a01 github: try re-enabling the Ubuntu 32-bit build gitlost 2023-07-19 16:20:29 +0100
  • 0b653d0d6a vector: strip excess precision on text_gap + antialias_fudge (ticket #293, props Andre Maute) test suite: output: suppress some clang run-time exceptions MemorySanitizer: use-of-uninitialized-value (ticket #292, props Andre Maute gitlost 2023-07-19 15:21:49 +0100
  • 3e96336970 GUI: fix symbology-specific groupbox accelerators gitlost 2023-07-18 12:36:51 +0100
  • 32c9e6a98e Remove bitmap_byte_length member from zint_symbol (was only set on BMP output to length of BMP pixel array) EXCODE39: change to display check digit in HRT by default CODE39/EXCODE39/LOGMARS: new hidden check digit option (option_2 = 2) qr.c: suppress bogus gcc-13 warning (only appears on optimize) GUI: move some symbology-specific options into Data Tab so separate tab unnecessary (those with few options and no Composite/ECI), namely: all C25XXX, CODE39/EXCODE39/LOGMARS, MSI_PLESSEY, CODABAR, DAFT, DPD, MAILMARK_2D, ITF-14, PZN, UPNQR, CHANNEL, CODE93 and VIN, adjusting grp uis. change Data dialog button (ellipsis) QToolButton -> QPushButton & vice versa zap/clear/eye/swap/scale buttons QPushButton -> QToolButton for better mac compat (also makes sense); remove some mac hacks that no longer seem necessary; use folder icon for Export dialog directory button manual: document new Symbology-specific groupbox & CODE39/etc hidden check digit option; add annexes on Qt and Tcl backends; narrow some tables for better txt output; remove echoed image tags in txt (pandoc 3.1.5 regression?); add one-page HTML output to Makefile; also tex output (debug); add class attributes to images to aid HTML styling; various other fiddlings gitlost 2023-07-18 11:11:50 +0100
  • d05373e7fc GUI: settings: fix embed_vector_font default 1 -> 0 manual: expand size/alpha details in Section "5.4 Buffering Symbols in Memory (raster)" (cf ticket #291); add BSD info (TODO: NetBSD); variable -> member (struct zint_symbol) frontend: fix missing static on validate_structapp() test suite: update to latest BWIPP (PDF417 needed adjusting) Changelog: trim some more uninteresting changes gitlost 2023-07-12 19:00:17 +0100
  • bbad6d3d83 CODEONE: fix S/T quiet zone 1X bottom (props BWIPP issue #245 doc) GUI: fix Text Gap suffix, add "in X-dimensions" to tooltip; save/restore Preview Background color dialog geometry & dynamically show colour in preview on changing manual: Composite -> GS1 Composite; add some verbiage re Symbology tab & Sequence Dialog gitlost 2023-07-08 01:02:51 +0100
  • 71914ba99f ps.c: fix some clang-tidy-17 warnings gitlost 2023-07-05 21:55:59 +0100
  • 6733e76be4 gs1: update to latest gs1-syntax-dictionary (cset64, separate latitude/longitude, mediatype, new AIs 7241, 7242, 8030) TODO: integrate gs1-syntax-engine BWIPP: update to latest (bwipp_dump.ps) manual: README: pandoc latest gitlost 2023-07-05 21:26:16 +0100
  • a324fe90f6 vector: reduce SMALL_TEXT font height 6 -> 5 to be more like raster; reduce antialiasing allowance for textoffset; adjust text to baseline using values for Arimo rather than percentage GUI: fix not enabling font combo "Small Bold (vector only)" by default raster/vector: rename text_height -> font_height gitlost 2023-06-22 17:48:54 +0100