Package: zxing-cpp / 2.2.1-3

Metadata

Package Version Patches format
zxing-cpp 2.2.1-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 DecodeHints limit the 2.2.1 c ABI fix to shared libr.patch | (download)

core/CMakeLists.txt | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 decodehints: limit the 2.2.1 c   abi fix to shared library builds

This should fix the problem with building libreoffice with enabled
precompiled headers. See #685.

backport/ac88bce74311fdbf376faf0bc88e90d0990d048a.patch | (download)

core/src/qrcode/QRBitMatrixParser.cpp | 20 1 19 - 0 !
1 file changed, 1 insertion( ), 19 deletions(-)

 [patch] qrcode: skip extra version check

The version bits have already been parsed during detection. If they would
have been wrong then, we would not have ended up here. If we did, there is
no point in reading them again.

This fixes #688.

backport/e607eb72b70e3c774821213184e1f546964db593.patch | (download)

README.md | 2 2 0 - 0 !
1 file changed, 2 insertions( )

 [patch] readme: add note about minimum c   version (fix #689)


backport/handling/82be565c80495dd8c5c186a26eaeb95e3b2a0513.patch | (download)

core/src/BitMatrix.h | 2 1 1 - 0 !
core/src/Matrix.h | 2 1 1 - 0 !
core/src/ReadBarcode.cpp | 5 4 1 - 0 !
3 files changed, 6 insertions( ), 3 deletions(-)

 [patch] error: add check for empty imageview in readbardcodes

Also: make error messages consistently start with capital letter.

backport/handling/d6177733db1e5af6b010de08079476dc045af76f.patch | (download)

core/src/ImageView.h | 4 2 2 - 0 !
1 file changed, 2 insertions( ), 2 deletions(-)

 [patch] imageview: add overflow handling for left/top cropping params


backport/handling/89cac928c62c3fe833504dcef2e7f1af53b0786b.patch | (download)

core/src/ReadBarcode.cpp | 3 3 0 - 0 !
1 file changed, 3 insertions( )

 [patch] readbarcode: add check for downscalefactor


backport/crashfix/d1c34452b0a0a9a4936666e969c88f774f399c78.patch | (download)

core/src/qrcode/QRDetector.cpp | 11 6 5 - 0 !
1 file changed, 6 insertions( ), 5 deletions(-)

 [patch] qrcode: fix crash reported in #700


backport/crashfix/6ab17fdce1b8f0e605c1eb0266da63eca261529a.patch | (download)

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

 [patch] odcode128writer: make sure a std::exception::what() string is
 valid UTF8

This should fix the root cause of the iOS crash discussed in the #717.

backport/cmdline/c580d1e0c0c53a58cea1789b5a9dd8e78b5a53e1.patch | (download)

example/ZXingReader.cpp | 13 13 0 - 0 !
1 file changed, 13 insertions( )

 [patch] zxingreader: add `-binarizer <local|global|fixed>` command
 line option


backport/cmdline/e01f2d4f8f5550f63f25e236be7058327895ecc7.patch | (download)

example/ZXingReader.cpp | 3 3 0 - 0 !
1 file changed, 3 insertions( )

 [patch] zxingreader: add `-single` option to
 `setMaxNumberOfSymbols(1)`


backport/performance/fb617df67f497e5da13c8cad7e5d5e71bcb36a3f.patch | (download)

core/CMakeLists.txt | 7 0 7 - 0 !
1 file changed, 7 deletions(-)

 [patch] cmake: drop the `-ffloat-store` handling

I can't reproduce the issues that this setting was fixing when originally
introduced. And here comes the kicker: removing it make the g   Release
build on my Core i9 machine 20% faster!?! (Insert eye popping emoji here.)

The decode time for the full ReaderTest goes down from 5.2s to 4.2s.
While the clang   build takes 4.7s either way (does not support that
setting at all).

backport/performance/19470ad786d534ba78025ae88b82013820721c26.patch | (download)

core/src/ReadBarcode.cpp | 9 8 1 - 0 !
1 file changed, 8 insertions( ), 1 deletion(-)

 [patch] readbarcode: help gcc's auto-vectorizer with the rgb->lum
 conversion

This makes the `RGBToLum` loop 2-3 times faster with gcc but does currently
not help llvm. No idea what msvc is able to make of this.

For very specific use cases, like
`ZXingReader samples/falsepositives-1/09.png -s -format qrcode -nos -bin global`