1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-05-03 12:45:42 +00:00

Commit Graph

  • 5669addf01 CMake: allow ctest to be run without having to install zint or manually set LD_LIBRARY_PATH and PATH (ticket #279, props Alexey Dokuchaev) gitlost 2023-01-09 01:14:42 +00:00
  • be0d9bc663 manual: fix macOS instructions gitlost 2022-12-26 15:40:46 +00:00
  • 9e06845c93 library: alloca local_segs after seg_count check; fix octal comment gitlost 2022-12-21 16:04:53 +00:00
  • b0db61efe1 Fix exported target include directories Todor Prokopov 2022-12-19 18:35:16 +02:00
  • 2d2b221306 Fix Windows static build Todor Prokopov 2022-12-19 18:34:43 +02:00
  • 268fdd7fc2 - BMP/EMF/EPS/GIF/PCX/PNG/SVG/TIF/TXT: check for errors on writing to output file; ZBarcode_Encode_File: check fseek() for errors (ticket #275) - man page: fix Code 11 check digit info - manual/man page: document octal escape; Code 128 subset/mode -> Code Set gitlost 2022-12-19 16:28:15 +00:00
  • a54bdc0299 CEPNET: fix no HRT (library: has_hrt()) gitlost 2022-12-16 13:20:44 +00:00
  • a437f80d01 Bump version to 2.12.0.9 (dev) gitlost 2022-12-12 21:45:16 +00:00
  • 9cfc2a85b0 Version 2.12.0 2.12.0 gitlost 2022-12-12 21:06:08 +00:00
  • c50ddc6cd8 out_maybe_mkdir: explicit CreateDirectoryA() & GetFileAttributesA() gitlost 2022-12-09 19:46:53 +00:00
  • ab7da62a3a UPU_S10/GS1: properly expose iso3166_alpha2(); add UPU_S10 to tcl gitlost 2022-12-09 15:56:13 +00:00
  • 53769c6ed1 - Add new symbology BARCODE_UPU_S10 - PZN: allow check digit to be given; add space after hyphen in HRT; PZN7 option - backend_qt: add encodedHeight() read-only gitlost 2022-12-09 14:51:26 +00:00
  • 25dacb2949 - Add new symbology BARCODE_MAILMARK_2D (Royal Mail 2D Mailmark), renaming previous BARCODE_MAILMARK (Royal Mail 4-State Mailmark) to BARCODE_MAILMARK_4S - backend_tcl: update TEA gitlost 2022-12-08 13:48:31 +00:00
  • 1daa1ab0ab GS1: add new AI 7011 (GSCN 22-163) gitlost 2022-12-07 10:54:36 +00:00
  • 2230c3a2ec test_output BMP/EMF/EPS/GIF/PCX/PNG/SVG/TIF: skip read-only test if root (ticket #274) gitlost 2022-12-06 15:09:06 +00:00
  • 831c704b7b CLI: mirror: use -o directory if any (ticket #193) gitlost 2022-12-05 12:55:28 +00:00
  • ad1b091ed1 QROCDE/UPNQR: add FAST_MODE (try 4 not 8 masks automatically) gitlost 2022-12-05 10:11:36 +00:00
  • 5499e9d71f test_output: fix MSVC warning strlen() -> int gitlost 2022-12-02 22:53:20 +00:00
  • ff18ff1cbc test_library: try stripf()ing a few calcs to get github 32-bit CI to pass (although works as was locally) gitlost 2022-12-02 22:42:04 +00:00
  • 309c4a5279 test_tif: pixel_plot: disable running identify on 2 datasets for now as failing github CI (although work locally) gitlost 2022-12-02 22:30:47 +00:00
  • c8033695d9 - API: add new zint_symbol dpmm field for output resolution (BMP/ EMF/PCX/PNG/TIF only, i.e. excluding EPS, GIF & SVG) - Add support for specifying scale by X-dimension and resolution with new option --scalexdimdp for CLI/Tcl & new API function ZBarcode_Scale_From_XdimDp() (+ ZBarcode_XdimDp_From_Scale() & ZBarcode_Default_Xdim()) and new GUI popup; manual: document - BMP/EMF/PCX/PNG/TIF: use new dpmm resolution field (for EMF following Inkscape) - backend_qt: add dpmm(), vectorWidth(), vectorHeight(), noPng(), getVersion(), takesGS1AIData(), & XdimDp stuff incl. new QZintXdimDp struct for passing around scale vars & use in getAsCLI(); add comments - Raise scale limit to 200 (from 100) to allow for large dpmm - output: create directories & subdirectories as necessary for output path using new function out_fopen() and use in BMP/EMF/ EPS/GIF/PCX/PNG/SVG/TIF - DPLEIT/DPIDENT: format HRT according to (incomplete) documentation, and set default height to 72X (from 50X) - CODE128B renamed to CODE128AB as can use subsets A and/or B - CODABAR: fix minimum height calc - EMF: fix indexing of handles (zero-based not 1-based) - GUI: fix symbology zap (previous technique of clearing and re-loading settings without doing a sync no longer works); fix UPCEAN guard descent enable - MAILMARK: better error message if input < 14 characters - GUI: add "Default" button for DAFT tracker ratio & enable/disable various default buttons; use new takesGS1AIData() to enable/disable GS1-specific checkboxes - CLI: use new validate_float() to parse float options (7 significant digits allowed only, no scientific notation) - DATAMATRIX/GRIDMATRIX/PDF417/QR/ULTRA: micro-optimize structapp ID parse - library/CLI: fiddle with static asserts (make CHAR_BIT sensitive, supposedly) - win32/README: update building libpng (assembly removed) - README.linux: document incompatibility of Qt6 >= 6.3 - manual: expand Barcode Studio waffle - test suite: change range separator to hyphen and allow multiple excludes gitlost 2022-12-02 21:39:01 +00:00
  • 6393813cff - cmake: remove zintconfig.h.in for now as incompatible with MSVC project builds (will add back in future if go fully CMake) - NO_PNG -> ZINT_NO_PNG and new API function Zint_NoPng() to determine if no PNG support in libzint; replace use in GUI with backend_qt method noPng() gitlost 2022-11-24 14:18:31 +00:00
  • 536a581d9e Install CMake export Todor Prokopov 2022-11-21 16:56:52 +02:00
  • 66431d8ec1 Add ZINT_SHARED CMake option Todor Prokopov 2022-11-21 13:41:29 +02:00
  • 2f8681b21a - API/CLI/Tcl/GUI: new output option BARCODE_BIND_TOP/--bindtop/ -bindtop/"Bind Top" - DPD: add top boundary (width 3X) by default, using new BARCODE_BIND_TOP; "relabel" option; some compliance checks - GUI: only skip encoded/errored signal processing if active modal ExportDialog (wasn't clearing/setting error text bar correctly for DataDialog) - CODE128: debug print checksum - CODE49/DATAMATRIX/QR/ULTRA: fix uniqueness of errtxt nos - manual: fuller DPD doc; some spelling typos, formatting gitlost 2022-11-10 22:13:41 +00:00
  • e515f63fab - PDF417/MICROPDF417: use latch not ps shift for padding when spanning Text segments to avoid affecting 1st char of 2nd segment - PDF417/MICROPDF417: add optimized encoding, FAST_MODE for previous scheme; formatting changes - common.c/h: add cnt_digits(), comments in include and make more consistent, minor code fiddling - DOTCODE: replace dc_n_digits() with new cnt_digits() - test_qr: fix test_qr_perf() - composite: minor code fiddling - library: debug dump HIBC-processed input - BWIPP: update to latest gitlost 2022-11-06 22:25:19 +00:00
  • fbfaabf004 CODE128: use int for glyph_count gitlost 2022-10-14 15:05:33 +01:00
  • 2c95718d4f ChangeLog: fix some miscategorizing, typos gitlost 2022-10-13 13:44:34 +01:00
  • ada19fc079 CODE128: allow for extended latching (double FNC4) spanning intermediate CodeC sequence by setting f_state only if in CodeA/B & checking before adding extended mode switch (cf OkapiBarcode commit [9ce6dcc], props Daniel Gredler) DATAMATRIX: in FAST_MODE re-process any buffered X12 characters when mode changes from X12 (cf OkapiBarcode commit [fb7981e], props Daniel Gredler) CODABLOCKF: allow for FNC4 when estimating no. of rows required CODE16K: make sure row calculation accurate by dispensing with glyph estimate & using actual codeword count CODE16K: ensure initial mode selection allows for extended characters vector.c: add z_alloca() cast for first_row_rects (ticket #272) MSVC project files: remove incorrect "CompileACpp" setting from libzint project files (ticket #272) bwipp_dump.ps: fix 2/4-track processing; update to latest BWIPP manual/man page/GUI: Code 16k -> Code 16K gitlost 2022-10-13 13:33:59 +01:00
  • 92a4a25ed2 - DOTCODE, QRCODE, RMQR: return warning if ECI or Structured Append used in GS1 mode, ticket #271 - CLI: improve getopt_long_only() processing, printing own message if bad arg and returning error if so rather than continuing to process - manual: MSE typo -> MSI, a few other changes; adjust SVG scaling for PDF manual; pandoc 2.19.2 gitlost 2022-09-28 21:58:57 +01:00
  • 39c47b8927 CLI: allow for d, o and U escapes in mirror; make C89 compat (except for -Woverlength-strings) gitlost 2022-09-14 20:23:47 +01:00
  • d0cfabba84 common.h: define ZINT_IS_C89 as __STDC_VERSION__ not defined by MSVC zintconfig.h: edit generator file zintconfig.h.in gitlost 2022-09-14 14:48:57 +01:00
  • 102c2f3a69 manual.pmd: fix DataBar Stacked difference from Omnidirectional comment gitlost 2022-09-13 22:19:39 +01:00
  • a6cc4f5203 backend: standard lib includes before local (fixes [[e1522e]]) gitlost 2022-09-13 22:08:08 +01:00
  • e1522e0808 backend: non-functional code-fiddling: format codablock.c (clang-format + manual); add SPDX to all files; prefix include guards with Z_; move vim comment to bottom; remove some trailing spaces gitlost 2022-09-13 21:16:31 +01:00
  • ee23f92151 common.h: only include alloca.h if C89 or NuttX gitlost 2022-09-13 17:29:15 +01:00
  • 67fc381198 github ci: add ubuntu debug & 32-bit, Windows 32/64-bit, macOS & sanitize gitlost 2022-09-12 19:49:37 +01:00
  • 70df380b83 Actually try Windows 32-bit build (+ 64-bit) github_ci gitlost 2022-09-12 20:22:05 +01:00
  • 64498c5a7e Merge branch 'master' into github_ci gitlost 2022-09-12 20:20:36 +01:00
  • 3728dd9309 test suite: suppress some Windows warnings (strlen) gitlost 2022-09-12 20:19:41 +01:00
  • 1b0f94aa77 Merge branch 'master' into github_ci gitlost 2022-09-12 20:07:38 +01:00
  • d2664f8fc0 test suite: remove getopt.h include gitlost 2022-09-12 20:06:16 +01:00
  • 515ecb0c6a Try Windows 32-bit gitlost 2022-09-12 20:00:53 +01:00
  • e89d6b6bc2 ZINT_STATIC and ubuntu-debug gitlost 2022-09-12 19:49:37 +01:00
  • 90dfbdb5d9 test suite: convert to use test context p_ctx instead of individual args; new -x exclude option and ranges; no longer use getopt(); make C89 compat gitlost 2022-09-12 19:26:04 +01:00
  • 0d4aa6cce3 common.h: allow for no alloca.h on BSD gitlost 2022-09-12 17:27:42 +01:00
  • b4a20b24a2 fix warning: "_MSC_VER" is not defined, evaluates to 0 [-Wundef] Xiang Xiao 2022-09-09 05:06:35 +08:00
  • 62f788ce03 fix warning: implicit declaration of function 'alloca' Xiang Xiao 2022-09-09 05:06:01 +08:00
  • defb4587de telepen_num: strcpy -> memcpy to ensure temp buffer filled (#270) common: ensure stripf() not inlined to prevent optimizations undoing effect (#269), undo previous volatile temps workaround ([ac80b3]) gitlost 2022-09-06 15:58:53 +01:00
  • ac80b33c3c common: set_height() workaround gcc 12.2.1 issue using temp volatiles (#269) test_library: skip test_encode_file_unreadable() if root (#268, #269) test_args: clean up out.gif/png in test_checks/other_opts() (#268, #269) gitlost 2022-09-05 15:11:46 +01:00
  • c790f36815 Convert bwipp_dump.ps patch to append (.diff -> .cat) gitlost 2022-09-04 16:31:14 +01:00
  • ac421144c9 Bump version to 2.11.1.9 (dev) gitlost 2022-08-25 17:58:13 +01:00
  • fd1dc20216 zint.1.pmd: Manual.aspx -> manual/ gitlost 2022-08-25 13:03:04 +01:00
  • 8d8abe62cc Update URL for manual (no longer ASPX) In the correct branch this time! Robin Stuart 2022-08-23 10:53:56 +01:00
  • 85f99c1dc7 Update URL for manual (no longer ASPX) Second commit to work around strange git behaviour cepnet Robin Stuart 2022-08-23 10:45:16 +01:00
  • 9c561d4586 Update URL for manual (no longer ASPX) Robin Stuart 2022-08-23 10:40:30 +01:00
  • 8310a4b938 Release 2.11.1 2.11.1 gitlost 2022-08-22 16:28:22 +01:00
  • 25c9582ae2 Update bwipp_dump; README: mention doc; some other tweaks gitlost 2022-08-21 15:15:27 +01:00
  • b42f456b88 CEPNET: height/quiet zones, backend_tcl, test suite gitlost 2022-08-20 20:45:51 +01:00
  • 400f124a04 Merge branch 'cepnet' gitlost 2022-08-20 17:37:26 +01:00
  • d0e5878dce Suppress old gcc -Wpedantic const warnings ([1a2592]) gitlost 2022-08-18 22:33:27 +01:00
  • 1a25927b73 PDF417: some tweaks to MR #151 [e8a125], update test suite gitlost 2022-08-18 22:25:09 +01:00
  • 35c207edd4 Add Brizilian CEPNet (almost identical to POSTNET) using Symbol #54 Robin Stuart 2022-08-16 16:17:39 +01:00
  • e8a125a2e1 PDF417 enhancements: - Switched mode selection to better optimized method listed in Appendix D of the AIM PDF417 specification. - Removed extraneous text latch after a byte shift. - Removed invalid numeric->byte shift transitions. Jeff Skaistis 2022-08-10 13:40:40 -05:00
  • c0ec67f99e - vector: ensure separators don't overlap with other rectangles so that they render correctly when have RGBA alpha channel - GUI: update_preview() after Data Dialog return to ensure preview in sync - GUI: add automatic info feedback to "Automatic" combo item of size/row/height comboboxes - backend_qt: always call getMaxRectsRightBottom() for render fudge; use ZBarcode_Clear() instead of ZBarcode_Delete() after 1st call - update BWIPP to latest & add some MICROQR tests to exercise optimize change gitlost 2022-08-07 22:43:49 +01:00
  • c0a5c7b125 manual: Deutshe -> Deutsche (#266) gitlost 2022-08-05 23:51:24 +01:00
  • 516e4ddd49 manual/GUI: correct MaxiCode space padding description/tooltip (mode 3 only) gitlost 2022-07-28 22:18:16 +01:00
  • a1d7fae90b github ci add frontend to PATH gitlost 2022-07-26 03:49:24 +01:00
  • 68ed293942 github ci give up on Qt gitlost 2022-07-26 03:45:10 +01:00
  • 8c66735281 github ci try a few more random xcb libs gitlost 2022-07-26 03:36:22 +01:00
  • 6a0a567910 github ci install libxkbcommon-x11-0 gitlost 2022-07-26 03:32:32 +01:00
  • 961c20ae47 github ci install xcb (for Qt) gitlost 2022-07-26 03:20:50 +01:00
  • e8feea5c70 github ci install mesa (for Qt) gitlost 2022-07-26 03:15:54 +01:00
  • 767740e1f8 github ci add backend_qt to LD_LIBRARY_PATH gitlost 2022-07-26 03:08:23 +01:00
  • 5accbe5901 github ci add LD_LIBRARY_PATH for ctest gitlost 2022-07-26 03:01:27 +01:00
  • a6b3fe42cf Create ci.yml gitlost 2022-07-26 02:52:31 +01:00
  • 4bf8d2c29d Try github ci; update BWIPP gitlost 2022-07-26 02:48:48 +01:00
  • f4f3219128 manual: BC412 barcode number 140 -> 146 gitlost 2022-07-23 10:23:30 +01:00
  • 65eb2f075c update_version.php: fix README.linux replacement regex various .rc: http -> https, 2021 -> 2022 GUI: Sourceforge -> SourceForge gitlost 2022-07-21 23:10:39 +01:00
  • 294238ac0f man page: RMRE -> DMRE gitlost 2022-07-21 19:53:48 +01:00
  • 2a55f15135 BC412: height calc, table typo fix, tests, manual gitlost 2022-07-21 12:29:53 +01:00
  • 4e2c467718 test_maxicode: add Set A/B char tests; // -> /* gitlost 2022-07-19 20:56:07 +01:00
  • c017bbb7ff manual: logo -> is derived, full stop. gitlost 2022-07-19 19:38:33 +01:00
  • 415bce003f Transition to Python script for HTML generation, also correcting pandoc theme issue Robin Stuart 2022-07-19 17:11:33 +01:00
  • bc0c745a93 Harmonise manual versions and add auto-formatting tool for Zint.org.uk website Robin Stuart 2022-07-19 12:33:51 +01:00
  • 78bda3b359 test suite: update to latest BWIPP (add dontlint, rebase patch file) common.h: remove TRUE/FALSE (barely used) test suite: gs1: proper val for longitude test; some comments // -> /* gitlost 2022-07-18 20:30:31 +01:00
  • 799503f0ef test suite: remove DBAR_EXP hack for zxingcpp (now returns non-HRI) libzint: Windows: BSD license in .rc -> BSD-3-Clause gitlost 2022-07-15 02:49:08 +01:00
  • a48434c19c GS1: update for new AI 4309 with latlong validator, plus new GS1 syntax dictionary format (pre-release) iso4217: new currency code 925 gitlost 2022-07-14 20:44:48 +01:00
  • 930f458979 backend: define z_alloca() and use for both Unix and Windows; replace double-slash comments with old-skool slash asterisk ones; define uint16_t etc for Windows ourselves and remove ms_stdint.h & stdint_msvc.h as no longer used; (backend (excepting test suite) now C89 compatible) LICENSE: move from backend to root and move COPYING to frontend, with copies in frontend_qt & backend_qt, so in where it applies; add LICENSE section from manual to root README gitlost 2022-07-14 16:01:30 +01:00
  • 5ee3895bca Update to latest BWIPP; add ZINT_QT6 option to cmake docs: RM4SCC 4-State -> 4-State Customer code; man page, ChangeLog gitlost 2022-07-08 19:16:02 +01:00
  • 9870fc6a61 GUI: undo Windows * -> + change as formatting data, not filenames, doh gitlost 2022-07-05 01:35:24 +01:00
  • 8525597b81 frontend: batch: for @ use + instead of * on Windows as * not allowed in filenames GUI: sequence: similarly for * use + instead of * on Windows gitlost 2022-07-04 21:55:06 +01:00
  • d6dddfa2ce frontend: batch mode: fix default "~~~~~" output (github issue #65) gitlost 2022-07-04 20:14:20 +01:00
  • f0fc8f9fae README: update links, explicit link to tickets (& put before mailing list) test_library: fix Windows warning gitlost 2022-07-04 13:19:07 +01:00
  • 471aed7a69 BC412: add to backend_tcl; add skeleton test GUI: allow for Qt not parsing #if's in slots (copy_to_clipboard_png()) gitlost 2022-07-03 23:54:42 +01:00
  • dc4c258ece Correct pattern BC412 for 'S' bc412 Robin Stuart 2022-07-03 17:06:30 +01:00
  • 7c4afa49c9 Add symbology BC412 Robin Stuart 2022-07-03 15:47:56 +01:00
  • 0b3fe8db93 GUI: remove sizeConstraint so squashable again (sigh) - make Sequence Format textbox bigger (on own line) - suppress question mark in Windows dialogs AUSPOST: more standard error messages backend: add & use z_isdigit/upper/lower() macros docs: 20-bit Unicode -> 21-bit Unicode gitlost 2022-06-24 14:38:48 +01:00
  • 07772094d5 GUI: restore tabMain minimizeSize (preview wasn't updating correctly) - manually adjust Windows min/max sizes; use grpC39 for LOGMARS gitlost 2022-06-18 23:41:27 +01:00
  • 18ede09761 GUI: primaryScreen -> primaryScreen() gitlost 2022-06-16 17:27:19 +01:00