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

Commit Graph

  • 14d1140d09 CODABLOCKF: prevent cols > 62; fix pTestList buffer overflow RMQR: update to new draft ISO/IEC JTC1/SC31N000 (Draft 2019-6-24); allow for righthand vertical timing pattern in populate_grid() ULTRA: update max size and min cols based on BWIPP 2021-07-14 update backend_tcl/zint_tcl.dsp: use /MD instead of /MT for tcl lib compat; change include/lib path to more standard one manual.txt: highlight that rMQR is still in development GUI: use cross-platform smaller font func instead of explicit values for notes gitlost 2021-08-10 12:04:25 +01:00
  • 4d0fff7cf5 Changelog: update gitlost 2021-08-05 18:24:51 +01:00
  • 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 gitlost 2021-08-05 16:34:45 +01:00
  • f0bfb8d920 zint-qt: About: thanks to Alonso Schaich, Andre Maute gitlost 2021-07-27 10:25:17 +01:00
  • aa964ef91a emf.c: suppress clang-tidy warning gitlost 2021-07-26 15:55:34 +01:00
  • 3f33ed3eb9 CMakeLists.txt: cmake min required 3.13 -> 3.5 using CMAKE_REQUIRED_LIBRARIES; add ZINT_COVERAGE option bmp/emf/ps.c: allow for foreground colour in ULTRA bmp/gif/pcx.c: allow for BARCODE_STDOUT (fflush/fclose) emf.c: hexagon rotation field not used; dont't use float index in font loop; Windows stdout binary mode png.c: remove unused 8-bit; simplify libpng error handling and fclose outfile on error ps.c: fix buffer overflow on colour_to_pscolor() CMYK tif.c: fix BLACKISZERO indexes CODE39: simplify check digit setting reedsol.c: rs_uint_init_gf() log/alog tables must be zeroed ZBarcode_Encode: debug: fix access out-of-bounds on non-NUL-terminated source if length < 10 manual.txt/zint.h: document NUL-terminated strings tests: cover further cases for output (bmp/emf/etc), eci/gb18030/gb2312/sjis, reedsol, AZTEC, CODE39 gitlost 2021-07-26 15:29:05 +01:00
  • 059abdf6a1 Merge /u/gitlost/zint/ branch gs1_nocheck_mode into master b'Git Lost 2021-07-20 09:08:25 +00:00
  • 141cc0b866 cmake min 3.9 -> 3.13 so LINK_LIBRARIES available in try_compile() cmake: hardcode -fsanitize=address for MSVC 2019 cmake: non-MSVC simplify setting sanitize address, undefined test_code128: test_hibc_input: extra tests gitlost 2021-07-19 15:58:44 +01:00
  • ef6e1ca1e3 POSTNET/PLANET: allow up to 38 chars (ZINT_WARN_NONCOMPLIANT) (see [d7ac9c]) gitlost 2021-07-13 19:56:53 +01:00
  • 2e84fd5157 Replace WARN_ZPL_COMPAT with GS1NOCHECK_MODE gitlost 2021-07-13 17:39:03 +01:00
  • 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 gitlost 2021-07-12 22:27:16 +01:00
  • 58420f3dde CMakeLists.txt: re-enable ZINT_SANITIZE for MSVC, though warning issues + works? gitlost 2021-07-12 17:06:49 +01:00
  • 7a1500afeb backend/CMakeLists.txt: output dir for zintconfig.h, props Andre Maute (#238); copyright/guard gitlost 2021-07-12 16:57:32 +01:00
  • d7d787383e backend/tests/CMakeLists.txt: cmake min 3.18 -> 3.9, bwipp_dump.ps tar (#235) gitlost 2021-07-08 12:08:59 +01:00
  • 3046690d98 Merge /u/gitlost/zint/ branch changelog into master b'Git Lost 2021-07-07 21:55:23 +00:00
  • e1f22e0e72 CODE128: make cppcheck out-of-bounds suppression clearer (#233), props Andre Maute gitlost 2021-07-07 15:46:02 +01:00
  • 4d9aa96453 testUtilDataPath: use CMAKE_CURRENT_SOURCE_DIR env to work out-of-tree (#234) gitlost 2021-07-07 14:47:25 +01:00
  • 7379acd4a4 backend/tests/CMakeLists.txt: fix bwipp_dump.ps tar (#235), props Alonso Schaich, Andre Maute gitlost 2021-07-07 14:42:16 +01:00
  • f03da2f4ba CODE128: suppress cppcheck out-of-bounds warning; plus others (#233) gitlost 2021-07-07 13:58:04 +01:00
  • 37cb277397 Move project history/version from manual.txt, backend/README into new ChangeLog gitlost 2021-07-07 10:46:26 +01:00
  • 3e995c70fb Simpily CMakeLists atom 2021-07-06 18:35:04 +03:00
  • 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) gitlost 2021-07-06 19:53:31 +01:00
  • 7cd0d9ae22 CODABLOCKF: suppress cppcheck warning (#233) gitlost 2021-07-06 17:21:42 +01:00
  • 4d3aae45d0 testcommon: fix sizeof bug; AZTEC/QR: suppress cppcheck warnings (#233) gitlost 2021-07-06 12:13:34 +01:00
  • 9b02cd5221 CODEONE: is_last_single_ascii() out-of-bounds sp + 1, #232 CI-Fuzz, props Jan Schrewe gitlost 2021-07-05 11:52:43 +01:00
  • bcf6eff93c testUtilDataPath: fix running from build subdir (#230) gitlost 2021-07-02 16:13:48 +01:00
  • a312cd8e8e raster/output: use new isfintf() to test floats integral (CodeQL) gitlost 2021-06-30 11:57:21 +01:00
  • 37fac73cb1 DATAMATRIX/CODEONE: Use LCM in look ahead tests to avoid floats (#228) gitlost 2021-06-29 22:02:24 +01:00
  • 368633bda4 malloc/calloc: check for NULL always (11.1.0 gcc -fanalyzer -c backend/*.c) ZBarcode_Encode: don't reinit symbol->outfile, props Alonso Schaich frontend/test_args: skip long filename tests on Windows, props Alonso Schaich gitlost 2021-06-29 15:43:42 +01:00
  • 8c419ab4fb DATAMATRIX/DBAR_LTD: some hacks to get around MSVC 2015/2019 x64 optimizer bugs gitlost 2021-06-27 15:58:27 +01:00
  • 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 gitlost 2021-06-27 11:47:55 +01:00
  • 33ebcea30c Disable ZINT_SANITIZE for MSVC for now; use RESULT_VAR (MR #124, commit [ee3f25]) gitlost 2021-06-26 00:50:56 +01:00
  • 542fed1d4f DATAMATRIX: strip extra precision in loop also (#228); AZTEC: move assert after error check (#229) gitlost 2021-06-26 00:27:04 +01:00
  • ee3f25fada Detect Sanitizer support Schaich 2021-06-18 22:27:59 +09:00
  • 54947fb435 Restore backend_qt - static only now; qzint: legacy support for renamed methods gitlost 2021-06-24 18:31:08 +01:00
  • 70801d8932 tests: VC6 compatible; plot_raster_dotty: avoid float rounding difference gitlost 2021-06-23 15:00:49 +01:00
  • e5115bad07 Change height and row_height array to floats: VC6, CodeQL fixes gitlost 2021-06-20 00:05:45 +01:00
  • c693482aa1 Change height and row_height array to floats; DAFT tracker ratio gitlost 2021-06-19 13:11:23 +01:00
  • 22a6c583af test_raster/vector: add height test in prep for float height MR; AZTEC: suppress clang-tidy warning gitlost 2021-06-18 01:03:33 +01:00
  • 21a4e2c1f6 data file tests: fix [32af28] generate data directory test gitlost 2021-06-16 17:56:32 +01:00
  • f6a90c5a48 AZTEC: re MR #122, use printf .* for debug, remove unneeded inits gitlost 2021-06-16 17:45:25 +01:00
  • 6673289944 Initialize local variable Schaich 2021-06-14 22:37:25 +09:00
  • 32af280254 testcommon: add testUtilDataPath() (uses getcwd()) so generate works for data files, remove copy gitlost 2021-06-14 00:48:29 +01:00
  • 8ff15d805a CODABAR: fix [69c1b4] errtxt; CLI: _WIN32, fuller error messages; win32/README: Administrat-or gitlost 2021-06-12 16:01:16 +01:00
  • 69c1b4cbf0 CODABAR: better error messages; win32/README, zint_cmdline_vc6/readme.txt: fixes gitlost 2021-06-10 18:04:27 +01:00
  • ede1234b8f Re MR #121 calcium -> static; reinstate STATIC_UNLESS_ZINT_TEST error_tag/strip_bom; whitespace gitlost 2021-06-10 16:20:14 +01:00
  • 43d7493cf2 Remove unused variable Schaich 2021-06-10 22:46:10 +09:00
  • dce51ceb6d Use "human readable" file mode Schaich 2021-06-10 21:01:34 +09:00
  • afea0ad2c3 Get test_library compiled on windows Schaich 2021-06-10 18:42:36 +09:00
  • e7947dc9a4 Merge String Constant Schaich 2021-06-09 22:37:16 +09:00
  • 4a8cac2a5a CODEONE/DATAMATRIX/MAILMARK/PLESSEY: fix some 32-bit/portability bugs PLESSEY: add options NCR weighted mod-10, hide check digit(s) in HRT test suite: now runnable under MSVC 2019, 2017, 2015, MinGW/MSYS win32/README: update with MSVC 2019 and CMake instructions gitlost 2021-06-10 11:15:39 +01:00
  • f471bb6e50 Export the INTERNAL functions Schaich 2021-04-27 00:07:55 +09:00
  • 00199c7ef5 The zint library always is shared Schaich 2021-04-26 22:47:53 +09:00
  • 2221cb1e83 Fix "most" compilation issues MSVC has Schaich 2021-03-30 20:18:40 +09:00
  • 88bbeb862b Move getopt out of the frontend, because it's used in the backend's test, too Schaich 2021-03-30 19:00:24 +09:00
  • 779a318c93 The testRun function uses getopt(), which is troublesome because the bundled implementation is part of the front-end Schaich 2021-03-30 18:45:23 +09:00
  • 443e696411 Document the need to set PATH correctly Schaich 2021-03-30 18:12:20 +09:00
  • 3114a6697b Factor out the zint_add_test macro Schaich 2021-03-29 23:46:13 +09:00
  • b69df5ad91 Apply all changes done to the backend test to the front-end test, too Schaich 2021-03-29 23:39:40 +09:00
  • 9ff3f13c19 Optionalize the PNG and the Qt dependencies Schaich 2021-03-29 23:35:57 +09:00
  • fd656358a3 Add zint-test's testcommon include directory to consumers of the library Schaich 2021-03-29 23:30:30 +09:00
  • 386a8059d3 don't manually setup a library path Schaich 2021-03-24 21:45:13 +09:00
  • cfd43478eb Remove the explicit dependency of the frontend against the library Schaich 2021-03-24 21:33:55 +09:00
  • 5a8e9a86ad [Untested] Remove odd looking libpng global link flag expansion Schaich 2021-03-24 21:16:45 +09:00
  • 3f7356e262 Adapt the README Schaich 2021-03-22 22:56:57 +09:00
  • eabaf54d74 Test both the dynamic and the static library Schaich 2021-03-22 21:58:34 +09:00
  • e5cd0e4ee8 Remove superfluous commas Schaich 2021-03-22 21:54:57 +09:00
  • 6de8fe1c62 Move only downwards in the filesystem hierarchy Schaich 2021-03-22 21:15:00 +09:00
  • 98cd7b231f Copy the test data into the build directory (just in case) Schaich 2021-03-22 20:39:37 +09:00
  • 4c524838f5 Add enable_testing to the top level project Schaich 2021-03-22 20:26:00 +09:00
  • c84915e212 Linking the tests against zint-static if available Schaich 2021-03-22 20:23:31 +09:00
  • acd12e1754 Add and use helper to set all flags to both the shared and the static library Schaich 2021-03-22 20:20:44 +09:00
  • 3e89058051 Turn zint tests into a subproject of backend Schaich 2021-03-22 19:44:05 +09:00
  • 83bac8c8a5 Bind macro definitions to the zint library target Schaich 2021-03-22 19:33:05 +09:00
  • 3b7bdcaf90 manual: move gs1parens example to GS1-128 (1st use); remove dup line gitlost 2021-05-30 16:53:13 +01:00
  • 88eb576951 DOTCODE: allow for max 200 cols - update manual gitlost 2021-05-28 15:16:39 +01:00
  • 9b63e2ae22 DOTCODE: allow for max 200 cols in CLI, GUI, Tcl; more detailed size error messages gitlost 2021-05-28 15:05:06 +01:00
  • dfb9345b75 png: ULTRA: allow for fgcolour if bind/box, bug introduced by [ed3cc5] (MR #111) gitlost 2021-05-28 14:37:57 +01:00
  • 0337548c77 AZTEC: optimize populate_map (good for small data) gitlost 2021-05-27 18:33:19 +01:00
  • ba273b40dd Add whitespace_height - remove DEBUG from tcl; manual.txt input_mode gitlost 2021-05-26 13:10:34 +01:00
  • 00e8cb0904 Add whitespace_height to zint_symbol (vertical whitespace) gitlost 2021-05-25 20:42:26 +01:00
  • ed761e897d Use zint-64.svg - add missing frontend_qt/res/zint-qt.ico gitlost 2021-05-23 13:19:54 +01:00
  • 52f1c7a64b Use zint-64.svg - add back renamed zint-qt.png gitlost 2021-05-20 18:55:00 +01:00
  • 8e9e007b52 Use zint-64.svg - add zint-qt.svg and zint_black.svg gitlost 2021-05-20 18:47:41 +01:00
  • cfcb586f4b Use zint-64.svg from https://github.com/frhun/flathub for smoother icons, props frhun gitlost 2021-05-20 18:22:57 +01:00
  • f3a94f0c0c C25STANDARD/C25INTER/C25IATA/C25LOGIC/C25IND: add check digit option (#216) gitlost 2021-05-17 20:04:00 +01:00
  • 29d761c795 MAXICODE: Rejig raster output to more closely match ISO 16023:2000 gitlost 2021-05-16 16:34:42 +01:00
  • 79d3c1dc7a Add GS1PARENS_MODE (input_mode) to allow inputting GS1 AIs in parentheses gitlost 2021-05-15 12:23:46 +01:00
  • 6fb0d077bc EAN14, NVE18: fix checksum calc for zero-filled input gitlost 2021-05-14 16:04:34 +01:00
  • d9e8ae582d tests: small additions for AZTEC READER_INIT, PDF417, Big5 gitlost 2021-04-20 11:49:14 +01:00
  • 5187f2226d MAXICODE: fix shifting from sets C/D/E to A/B (only latch available) gitlost 2021-03-28 21:31:45 +01:00
  • 89518c4f01 tif.c: fix endianness detection, props Schaich Alonso gitlost 2021-03-23 15:37:18 +00:00
  • 6dc8a242df test_tif: fix, use tiffinfo if available (big speedup) gitlost 2021-03-21 21:20:16 +00:00
  • 2d962c6321 get_best_eci: check UTF-8 before returning 26; move is_valid_utf8 to common gitlost 2021-03-21 17:35:52 +00:00
  • 7f74414666 eci.c: fix bad bug in Korean, return EUC-KR instead of raw KS X 1001 gitlost 2021-03-20 14:36:21 +00:00
  • 2c053c325a tif.c: Use palette/bilevel/LZW to reduce file size, alpha/CMYK support gitlost 2021-03-19 13:09:21 +00:00
  • badd9e59ad Fix UPCEAN small font ignored/disabled (introduced [1adba1]) gitlost 2021-03-19 00:12:13 +00:00
  • 4e501c77da MAXICODE: fix mask typos for ECI 3/4 bytes gitlost 2021-03-18 16:21:22 +00:00
  • 14f67331c2 #223 Use cmake options to interface command line parameters, props Schaich Alonso gitlost 2021-03-16 23:38:47 +00:00
  • 20663b4eed Update gen_gs1_lint.php re new Digital Link dlpkey in gs1-format-spec.txt gitlost 2021-03-15 15:27:20 +00:00