1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-07 03:57:43 +00:00

- 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
This commit is contained in:
gitlost
2025-04-03 16:08:15 +01:00
parent 2370fbfbb7
commit a74871a7de
60 changed files with 3509 additions and 3267 deletions

View File

@@ -1,4 +1,4 @@
% backend/tests/README 2024-11-18
% backend/tests/README 2025-04-03
Zint backend test suite
-----------------------
@@ -125,6 +125,18 @@ To run a test against ZXing-C++ (if any), use '-d 512':
backend/tests/test_rss -d 512
------------------------------------------------------------------------
For testing against ZXing-C++, the "diagnostics2" branch from
https://github.com/gitlost/zxing-cpp is required, built with
ZXING_EXAMPLE_DECODER defined, and "zxingcppdecoder" placed in PATH,
e.g.:
git clone --branch diagnostics2 https://github.com/gitlost/zxing-cpp \
zxing-cpp-diagnostics2
cd zxing-cpp-diagnostics2 && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DZXING_EXAMPLE_DECODER=ON ..
make && sudo make install
------------------------------------------------------------------------
(see also <project-dir>/backend/tests/tools/run_zxingcpp_tests.sh)
To generate test data (if available), use '-g':