Skip to content

Commit 10747d6

Browse files
committed
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
1 parent 7f4cccc commit 10747d6

19 files changed

+415
-267
lines changed

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Version 2.13.0.9 (dev) not released yet
66
- New `memfile` & `memfile_size` fields in `symbol` for use with new output
77
option `BARCODE_MEMORY_FILE`
88
- Invalid `input_mode` now returns warning
9+
- New CODE128-only special extra escape `\^1` for manually inserting FNC1s
910

1011
Changes
1112
-------
@@ -21,6 +22,8 @@ Changes
2122
iso4217: new ISO 4217 currency code 924
2223
- AZTEC: workaround MSVC 2022 optimizer bug in `az_populate_map()` loops,
2324
ticket #317, props Andre Maute
25+
- CODE128: Add new extra escape `\^1` for manual insertion of FNC1s, ticket
26+
#324, props Jim Shank
2427

2528
Bugs
2629
----

README.clang-tidy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
% README.clang-tidy 2024-03-03
2-
% Current as of latest clang-tidy-19 from Ubuntu 22.04 apt package
1+
% README.clang-tidy 2024-09-03
2+
% Current as of latest clang-tidy-20 from Ubuntu 22.04 apt package
33

44
Requires cmake in "build" sub-directory with -DCMAKE_EXPORT_COMPILE_COMMANDS=ON (for "build/compile_commands.json")
55
and -DCMAKE_BUILD_TYPE=Debug (so `assert()`s defined), and then make (for Qt generated includes).
66

77
In project root directory (warning, slow):
88

9-
clang-tidy-19 backend/*.c frontend/*.c backend_qt/*.cpp frontend_qt/*.cpp -p build/compile_commands.json
9+
clang-tidy-20 backend/*.c frontend/*.c backend_qt/*.cpp frontend_qt/*.cpp -p build/compile_commands.json
1010

1111
For "backend_tcl", which has no "compile_commands.json", specify the tcl include directory, e.g.
1212

13-
clang-tidy-19 backend_tcl/*.c -- -I/usr/include/tcl8.6
13+
clang-tidy-20 backend_tcl/*.c -- -I/usr/include/tcl8.6
1414

1515
Options are in ".clang-tidy" (in the project root directory). The excluded checks are
1616
`clang-analyzer-security.insecureAPI.strcpy` (for `strcpy()`, `strcat()` etc), and
1717
`clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling` (for `sprintf()`).
1818

1919
The test suite (cmake given -DZINT_TEST=ON) can also be analysed with an additional check disabled:
2020

21-
clang-tidy-19 backend/tests/*.c frontend/tests/*.c backend_qt/tests/*.cpp \
21+
clang-tidy-20 backend/tests/*.c frontend/tests/*.c backend_qt/tests/*.cpp \
2222
-checks='-clang-analyzer-optin.performance.Padding' -p build/compile_commands.json

0 commit comments

Comments
 (0)