Package: zxing-cpp / 2.3.0-5

Metadata

Package Version Patches format
zxing-cpp 2.3.0-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
backport/3adaebc1a8a198d1e3b8eed169621a03d81cf387.patch | (download)

core/src/oned/ODDataBarLimitedReader.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] databarlimited: fix crash on specific input

This is fixes #928.

backport/82806f5f92173b8cb4e1e9bee13a2d07a33fb69f.patch | (download)

core/src/HybridBinarizer.cpp | 12 6 + 6 - 0 !
core/src/oned/ODDataBarCommon.h | 2 1 + 1 - 0 !
test/unit/datamatrix/DMEncodeDecodeTest.cpp | 2 1 + 1 - 0 !
3 files changed, 8 insertions(+), 8 deletions(-)

 [patch] c++: fix improper use of ndebug

Thanks to Antonio Rojas for pointing it out to me.

backport/93175e071d1719c44c0ad1193539141eb846999f.patch | (download)

core/src/Content.cpp | 4 2 + 2 - 0 !
core/src/Content.h | 3 2 + 1 - 0 !
core/src/aztec/AZDecoder.cpp | 9 4 + 5 - 0 !
3 files changed, 8 insertions(+), 8 deletions(-)

 [patch] azdecoder: use `content::erase()` in
 `ParseStructuredAppend()` to   keep ECI positions in sync Content: fix
 `erase()`/`insert()` typos `pos` -> `e.pos` SymbologyIdentifier: allow for
 modifier >= 10 in `toString()` AZDecoderTest: add helper `check_si()` for
 `SymbologyIdentifier()`   and add ECI test cases

Modified in Debian to revert context changes around core/src/aztec/AZDecoder.cpp.

Also drop test/unit/aztec/AZDecoderTest.cpp completely.

backport/f3e36d0297d434a9c4b87035583760afda953360.patch | (download)

core/src/oned/ODDataBarCommon.h | 25 17 + 8 - 0 !
1 file changed, 17 insertions(+), 8 deletions(-)

 [patch] databar: fix #935 (regression introduced in 2.3.0)

Details see issue report and code comments.

Modified for Debian to delete the test/unit/WriteBarcodeTest.cpp file.

backport/ba3b61feb918a2371b2a991e759bde7c380b6a23.patch | (download)

core/src/qrcode/QRDataBlock.cpp | 29 22 + 7 - 0 !
1 file changed, 22 insertions(+), 7 deletions(-)

 [patch] qrcode: fix decoding of model 1 symbols with more than 1 data
 block

This is a fix for #940.

Modified in Debian to remove test file changes.

backport/68c5727ba30bccf93056f8d19ba9cfc55994f2b5.patch | (download)

core/src/oned/ODITFReader.cpp | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch] itf: actually check what the comment already said (both quiet
 zone sizes)

This should fix the issue with a cropped left quiet zone reported by
@synedra-mpe here: https://github.com/zxing-cpp/zxing-cpp/issues/869#issuecomment-2830261819

Modified in Debian to delete files from test/samples/ directory.

backport/36495ef0358c3d56d2e06e8a8ffdaac6afafcdb8.patch | (download)

core/src/oned/ODDataBarLimitedReader.cpp | 2 1 + 1 - 0 !
core/src/oned/ODDataBarReader.cpp | 5 3 + 2 - 0 !
test/unit/oned/ODDataBarReaderTest.cpp | 2 1 + 1 - 0 !
3 files changed, 5 insertions(+), 4 deletions(-)

 [patch] databar: fix inconsistency / plain spec violation (missing
 "(01)" prefix)

The GS1 DataBar ISO specification clearly states in Section 9 that our two
BarcodeFormats DataBar and DataBarLimited always implicitly encode the AI
"01" prefix. This has been implemented in the new DataBarLimited version
but not in the old DataBar variant.

Also to make the HRI of all DataBar variants (including the Expanded
variant) consistent, all of them are now reported to contain GS1 data and
hence be rendered as "(01)0123...." instead of "010123....".

Modified in Debian to delete files from test/samples/ directory.

backport/b46534d9bca0ce1832ee192c80e7395b999341b7.patch | (download)

core/src/ConcentricFinder.cpp | 10 8 + 2 - 0 !
core/src/ConcentricFinder.h | 2 2 + 0 - 0 !
core/src/qrcode/QRDetector.cpp | 6 4 + 2 - 0 !
3 files changed, 14 insertions(+), 4 deletions(-)

 [patch] qrcode: improve detection rate for circular finder patterns

Those are actually invalid according to the spec but quite popular. This is
related to #910 and also #892, the latter still does not scan, though.

Modified in Debian to delete changes for tests.

backport/f45c1f0b4bf48c80fb7fb6ce42c7457eba379013.patch | (download)

core/src/ReedSolomonDecoder.cpp | 19 13 + 6 - 0 !
test/unit/ReedSolomonTest.cpp | 29 27 + 2 - 0 !
2 files changed, 40 insertions(+), 8 deletions(-)

 [patch] reedsolomondecoder: add an extra check to validate message
 after

This reduces the false positives that can happen if more than the
recoverable number of errors occur by half (at least in the minimal testing
setup).

This has been discussed in #940 as a discovery separate from the original
issue. So instead of reporting a valid DataMatrix symbol with the wrong
content, zxing-cpp now reports a checksum error.

0010 Disable test unit aztec AZDecoderTest.cpp.patch | (download)

test/unit/CMakeLists.txt | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 disable test/unit/aztec/azdecodertest.cpp

Needed to properly use 93175e071d1719c44c0ad1193539141eb846999f.patch