zxing-cpp 3.0.0__tar.gz → 3.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- zxing_cpp-3.1.0/.gitignore +68 -0
- zxing_cpp-3.1.0/CMakeLists.txt +93 -0
- {zxing_cpp-3.0.0/zxing_cpp.egg-info → zxing_cpp-3.1.0}/PKG-INFO +10 -16
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/README.md +4 -8
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/CMakeLists.txt +53 -18
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/ZXingConfig.cmake.in +1 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/Barcode.cpp +6 -5
- zxing_cpp-3.1.0/core/src/Barcode.h +191 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/BarcodeData.h +4 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/BarcodeFormat.cpp +7 -3
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/BarcodeFormat.h +42 -29
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/BinaryBitmap.cpp +20 -10
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/BinaryBitmap.h +1 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/BitArray.h +0 -17
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/BitMatrix.h +6 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/BitMatrixCursor.h +33 -10
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/CharacterSet.cpp +0 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/Content.cpp +3 -6
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/Content.h +1 -4
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ContentType.h +3 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/CreateBarcode.cpp +13 -4
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/CreateBarcode.h +30 -15
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/Error.h +13 -2
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/Flags.h +0 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/GTIN.cpp +3 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/GlobalHistogramBinarizer.cpp +36 -7
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/GridSampler.cpp +36 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/GridSampler.h +7 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/HybridBinarizer.cpp +2 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ImageView.h +29 -9
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/JSON.h +12 -1
- zxing_cpp-3.1.0/core/src/LocalGrid.cpp +242 -0
- zxing_cpp-3.1.0/core/src/LocalGrid.h +91 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/LogMatrix.h +3 -2
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/Matrix.h +10 -3
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/MultiFormatReader.cpp +4 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/Pattern.h +89 -30
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/Point.h +38 -17
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/Quadrilateral.h +16 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/Range.h +0 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ReadBarcode.cpp +3 -5
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ReadBarcode.h +2 -2
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ReaderOptions.h +42 -29
- zxing_cpp-3.1.0/core/src/ReedSolomon.cpp +100 -0
- zxing_cpp-3.1.0/core/src/ReedSolomon.h +65 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/StdGenerator.h +1 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/TextEncoder.cpp +2 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/WriteBarcode.cpp +2 -3
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/WriteBarcode.h +9 -29
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ZXAlgorithms.h +62 -22
- zxing_cpp-3.1.0/core/src/ZXConfig.h +17 -0
- zxing_cpp-3.1.0/core/src/ZXVersion.h +14 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ZXingC.cpp +31 -39
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ZXingC.h +28 -12
- zxing_cpp-3.1.0/core/src/ZXingCpp.h +76 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ZXingQt.h +15 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZDecoder.cpp +20 -21
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZDetector.cpp +82 -28
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZDetector.h +2 -2
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZEncoder.cpp +2 -15
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZHighLevelEncoder.cpp +1 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZReader.cpp +3 -2
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMDecoder.cpp +14 -29
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMDetector.cpp +285 -18
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMECEncoder.cpp +1 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMHighLevelEncoder.cpp +10 -15
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMVersion.h +3 -1
- zxing_cpp-3.1.0/core/src/librscpp/README.md +65 -0
- zxing_cpp-3.1.0/core/src/librscpp/decode.h +258 -0
- zxing_cpp-3.1.0/core/src/librscpp/encode.h +124 -0
- zxing_cpp-3.1.0/core/src/librscpp/field.h +158 -0
- zxing_cpp-3.1.0/core/src/librscpp/poly.h +194 -0
- zxing_cpp-3.1.0/core/src/libzint/2of5inter.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/2of5inter_based.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/aztec.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/aztec.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/big5.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/codabar.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/code.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/code128.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/code128.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/common.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/common.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/dmatrix.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/dmatrix.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/dxfilmedge.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/eci.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/eci.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/eci_sb.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/filemem.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/filemem.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/fonts/normal_woff2.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/fonts/upcean_woff2.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/gb18030.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/gb2312.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/gbk.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/general_field.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/general_field.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/gs1.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/gs1.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/gs1_lint.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/iso3166.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/iso4217.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/ksx1001.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/large.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/large.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/library.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/maxicode.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/maxicode.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/medical.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/output.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/output.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/pdf417.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/pdf417.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/pdf417_tabs.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/qr.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/qr.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/raster.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/raster_font.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/reedsol.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/reedsol.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/reedsol_logs.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/rss.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/rss.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/sjis.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/svg.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/telepen.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/upcean.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/vector.c +1 -0
- zxing_cpp-3.1.0/core/src/libzint/zfiletypes.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/zint.h +1 -0
- zxing_cpp-3.1.0/core/src/libzint/zintconfig.h +1 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/maxicode/MCDecoder.cpp +2 -3
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCodabarReader.cpp +8 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCodabarWriter.cpp +1 -1
- zxing_cpp-3.0.0/core/src/oned/ODCode128Patterns.cpp → zxing_cpp-3.1.0/core/src/oned/ODCode128Patterns.h +11 -2
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCode128Reader.cpp +11 -23
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCode128Writer.cpp +1 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCode39Reader.cpp +10 -7
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCode93Patterns.h +20 -3
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCode93Reader.cpp +6 -29
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODDXFilmEdgeReader.cpp +13 -4
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODDataBarCommon.cpp +3 -2
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODDataBarCommon.h +6 -5
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODDataBarExpandedBitDecoder.cpp +2 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODDataBarExpandedReader.cpp +2 -2
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODDataBarLimitedReader.cpp +7 -7
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODDataBarReader.cpp +16 -8
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODITFReader.cpp +1 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODMultiUPCEANReader.cpp +6 -8
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODMultiUPCEANReader.h +9 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODReader.cpp +3 -0
- zxing_cpp-3.1.0/core/src/oned/ODTelepenReader.cpp +199 -0
- zxing_cpp-3.1.0/core/src/oned/ODTelepenReader.h +25 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODWriterHelper.cpp +0 -23
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODWriterHelper.h +8 -3
- zxing_cpp-3.1.0/core/src/pdf417/MicroPDFReader.cpp +793 -0
- zxing_cpp-3.1.0/core/src/pdf417/MicroPDFReader.h +23 -0
- zxing_cpp-3.1.0/core/src/pdf417/PDF417.cpp +85 -0
- zxing_cpp-3.1.0/core/src/pdf417/PDF417.h +81 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFCodewordDecoder.cpp +40 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFCodewordDecoder.h +2 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFDecoder.cpp +25 -9
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFDetector.cpp +1 -3
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFEncoder.cpp +10 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFHighLevelEncoder.cpp +2 -7
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFScanningDecoder.cpp +8 -200
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFScanningDecoder.h +2 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/ZXBigInteger.cpp +2 -3
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRDecoder.cpp +7 -27
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRDetector.cpp +147 -55
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRDetector.h +4 -1
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QREncoder.cpp +4 -8
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRMaskUtil.cpp +2 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRReader.cpp +5 -3
- zxing_cpp-3.1.0/core/version.rc.in +34 -0
- zxing_cpp-3.1.0/demo_reader.py +14 -0
- zxing_cpp-3.1.0/demo_writer.py +24 -0
- zxing_cpp-3.1.0/init.py +3 -0
- zxing_cpp-3.1.0/pyproject.toml +78 -0
- zxing_cpp-3.1.0/test.py +210 -0
- zxing_cpp-3.1.0/zint/backend/2of5.c +142 -0
- zxing_cpp-3.1.0/zint/backend/CMakeLists.txt +158 -0
- zxing_cpp-3.1.0/zint/backend/DEVELOPER +158 -0
- zxing_cpp-3.1.0/zint/backend/Makefile.mingw +80 -0
- zxing_cpp-3.1.0/zint/backend/auspost.c +291 -0
- zxing_cpp-3.1.0/zint/backend/bc412.c +157 -0
- zxing_cpp-3.1.0/zint/backend/bmp.c +174 -0
- zxing_cpp-3.1.0/zint/backend/bmp.h +81 -0
- zxing_cpp-3.1.0/zint/backend/channel.c +263 -0
- zxing_cpp-3.1.0/zint/backend/channel_precalcs.h +112 -0
- zxing_cpp-3.1.0/zint/backend/codablock.c +898 -0
- zxing_cpp-3.1.0/zint/backend/code1.c +1547 -0
- zxing_cpp-3.1.0/zint/backend/code1.h +130 -0
- zxing_cpp-3.1.0/zint/backend/code11.c +162 -0
- zxing_cpp-3.1.0/zint/backend/code128_based.c +349 -0
- zxing_cpp-3.1.0/zint/backend/code16k.c +609 -0
- zxing_cpp-3.1.0/zint/backend/code49.c +383 -0
- zxing_cpp-3.1.0/zint/backend/code49.h +568 -0
- zxing_cpp-3.1.0/zint/backend/composite.c +1510 -0
- zxing_cpp-3.1.0/zint/backend/composite.h +145 -0
- zxing_cpp-3.1.0/zint/backend/dllversion.c +67 -0
- zxing_cpp-3.1.0/zint/backend/dmatrix_trace.h +148 -0
- zxing_cpp-3.1.0/zint/backend/dotcode.c +1554 -0
- zxing_cpp-3.1.0/zint/backend/emf.c +836 -0
- zxing_cpp-3.1.0/zint/backend/emf.h +249 -0
- zxing_cpp-3.1.0/zint/backend/fonts/OCRB-16.bdf +2442 -0
- zxing_cpp-3.1.0/zint/backend/fonts/OCRB-18.bdf +2615 -0
- zxing_cpp-3.1.0/zint/backend/fonts/normal_ttf.h +1772 -0
- zxing_cpp-3.1.0/zint/backend/fonts/upcean_ttf.h +211 -0
- zxing_cpp-3.1.0/zint/backend/gif.c +473 -0
- zxing_cpp-3.1.0/zint/backend/gridmtx.c +1217 -0
- zxing_cpp-3.1.0/zint/backend/gridmtx.h +181 -0
- zxing_cpp-3.1.0/zint/backend/hanxin.c +1709 -0
- zxing_cpp-3.1.0/zint/backend/hanxin.h +474 -0
- zxing_cpp-3.1.0/zint/backend/imail.c +459 -0
- zxing_cpp-3.1.0/zint/backend/libzint.rc +45 -0
- zxing_cpp-3.1.0/zint/backend/mailmark.c +677 -0
- zxing_cpp-3.1.0/zint/backend/pcx.c +167 -0
- zxing_cpp-3.1.0/zint/backend/pcx.h +74 -0
- zxing_cpp-3.1.0/zint/backend/pdf417_trace.h +129 -0
- zxing_cpp-3.1.0/zint/backend/plessey.c +385 -0
- zxing_cpp-3.1.0/zint/backend/png.c +333 -0
- zxing_cpp-3.1.0/zint/backend/postal.c +802 -0
- zxing_cpp-3.1.0/zint/backend/ps.c +528 -0
- zxing_cpp-3.1.0/zint/backend/telepen.c +230 -0
- zxing_cpp-3.1.0/zint/backend/tif.c +612 -0
- zxing_cpp-3.1.0/zint/backend/tif.h +72 -0
- zxing_cpp-3.1.0/zint/backend/tif_lzw.h +382 -0
- zxing_cpp-3.1.0/zint/backend/ultra.c +1271 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/zxing.cmake +27 -17
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/zxing.cpp +289 -228
- zxing_cpp-3.0.0/CMakeLists.txt +0 -56
- zxing_cpp-3.0.0/MANIFEST.in +0 -4
- zxing_cpp-3.0.0/PKG-INFO +0 -79
- zxing_cpp-3.0.0/core/src/Barcode.h +0 -211
- zxing_cpp-3.0.0/core/src/GenericGF.cpp +0 -109
- zxing_cpp-3.0.0/core/src/GenericGF.h +0 -114
- zxing_cpp-3.0.0/core/src/GenericGFPoly.cpp +0 -163
- zxing_cpp-3.0.0/core/src/GenericGFPoly.h +0 -153
- zxing_cpp-3.0.0/core/src/ReedSolomonDecoder.cpp +0 -150
- zxing_cpp-3.0.0/core/src/ReedSolomonDecoder.h +0 -47
- zxing_cpp-3.0.0/core/src/ReedSolomonEncoder.cpp +0 -54
- zxing_cpp-3.0.0/core/src/ReedSolomonEncoder.h +0 -39
- zxing_cpp-3.0.0/core/src/ZXConfig.h +0 -17
- zxing_cpp-3.0.0/core/src/ZXingCpp.h +0 -18
- zxing_cpp-3.0.0/core/src/oned/ODCode128Patterns.h +0 -15
- zxing_cpp-3.0.0/core/src/pdf417/PDFModulusGF.cpp +0 -56
- zxing_cpp-3.0.0/core/src/pdf417/PDFModulusGF.h +0 -92
- zxing_cpp-3.0.0/core/src/pdf417/PDFModulusPoly.cpp +0 -192
- zxing_cpp-3.0.0/core/src/pdf417/PDFModulusPoly.h +0 -81
- zxing_cpp-3.0.0/pyproject.toml +0 -46
- zxing_cpp-3.0.0/setup.cfg +0 -4
- zxing_cpp-3.0.0/setup.py +0 -41
- zxing_cpp-3.0.0/zxing_cpp.egg-info/SOURCES.txt +0 -345
- zxing_cpp-3.0.0/zxing_cpp.egg-info/dependency_links.txt +0 -1
- zxing_cpp-3.0.0/zxing_cpp.egg-info/top_level.txt +0 -2
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/LICENSE +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/Version.h.in +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/BitArray.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/BitMatrix.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/BitMatrixIO.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/BitMatrixIO.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/BitSource.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/BitSource.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ByteArray.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/CharacterSet.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ConcentricFinder.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ConcentricFinder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/DecoderResult.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/DetectorResult.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ECI.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ECI.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/Error.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/GTIN.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/GlobalHistogramBinarizer.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/HRI.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/HRI.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/HybridBinarizer.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/JSON.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/MultiFormatReader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/MultiFormatWriter.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/MultiFormatWriter.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/PerspectiveTransform.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/PerspectiveTransform.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/Reader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/RegressionLine.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ResultPoint.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ResultPoint.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/StdPrint.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/StdScope.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/StructuredAppend.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/SymbologyIdentifier.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/TextDecoder.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/TextDecoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/TextEncoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ThresholdBinarizer.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/TritMatrix.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/Utf.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/Utf.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/WhiteRectDetector.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/WhiteRectDetector.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ZXTestSupport.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/ZXingCpp.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZDecoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZDetectorResult.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZEncoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZEncodingState.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZHighLevelEncoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZReader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZToken.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZToken.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZWriter.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/aztec/AZWriter.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMBitLayout.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMBitLayout.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMDataBlock.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMDataBlock.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMDecoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMDetector.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMECEncoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMEncoderContext.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMHighLevelEncoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMReader.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMReader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMSymbolInfo.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMSymbolInfo.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMSymbolShape.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMVersion.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMWriter.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/datamatrix/DMWriter.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/libzint/stubs.c +2 -2
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/libzueci/README.md +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/libzueci/zueci.c +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/libzueci/zueci.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/libzueci/zueci_big5.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/libzueci/zueci_common.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/libzueci/zueci_gb18030.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/libzueci/zueci_gb2312.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/libzueci/zueci_gbk.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/libzueci/zueci_ksx1001.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/libzueci/zueci_sb.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/libzueci/zueci_sjis.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/maxicode/MCBitMatrixParser.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/maxicode/MCBitMatrixParser.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/maxicode/MCDecoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/maxicode/MCReader.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/maxicode/MCReader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCodabarReader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCodabarWriter.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCode128Reader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCode128Writer.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCode39Reader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCode39Writer.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCode39Writer.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCode93Reader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCode93Writer.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODCode93Writer.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODDXFilmEdgeReader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODDataBarExpandedBitDecoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODDataBarExpandedReader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODDataBarLimitedReader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODDataBarReader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODEAN13Writer.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODEAN13Writer.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODEAN8Writer.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODEAN8Writer.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODITFReader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODITFWriter.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODITFWriter.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODReader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODRowReader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODUPCAWriter.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODUPCAWriter.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODUPCEANCommon.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODUPCEANCommon.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODUPCEWriter.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/oned/ODUPCEWriter.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFBarcodeMetadata.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFBarcodeValue.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFBarcodeValue.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFBoundingBox.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFBoundingBox.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFCodeword.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFCompaction.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFCustomData.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFDecoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFDetectionResult.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFDetectionResult.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFDetectionResultColumn.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFDetectionResultColumn.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFDetector.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFEncoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFHighLevelEncoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFReader.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFReader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFWriter.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/PDFWriter.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/ZXBigInteger.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/pdf417/ZXNullable.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRBitMatrixParser.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRBitMatrixParser.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRCodecMode.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRCodecMode.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRDataBlock.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRDataBlock.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRDataMask.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRDecoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRECB.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QREncodeResult.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QREncoder.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRErrorCorrectionLevel.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRErrorCorrectionLevel.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRFormatInformation.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRFormatInformation.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRMaskUtil.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRMatrixUtil.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRMatrixUtil.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRReader.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRVersion.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRVersion.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRWriter.cpp +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/src/qrcode/QRWriter.h +0 -0
- {zxing_cpp-3.0.0 → zxing_cpp-3.1.0}/core/zxing.pc.in +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/2of5inter.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/2of5inter_based.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/aztec.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/aztec.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/big5.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/codabar.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/code.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/code128.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/code128.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/common.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/common.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/dmatrix.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/dmatrix.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/dxfilmedge.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/eci.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/eci.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/eci_sb.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/filemem.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/filemem.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/fonts/normal_woff2.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/fonts/upcean_woff2.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/gb18030.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/gb2312.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/gbk.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/general_field.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/general_field.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/gs1.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/gs1.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/gs1_lint.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/iso3166.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/iso4217.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/ksx1001.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/large.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/large.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/library.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/maxicode.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/maxicode.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/medical.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/output.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/output.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/pdf417.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/pdf417.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/pdf417_tabs.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/qr.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/qr.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/raster.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/raster_font.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/reedsol.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/reedsol.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/reedsol_logs.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/rss.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/rss.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/sjis.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/svg.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/upcean.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/vector.c +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/zfiletypes.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/zint.h +0 -0
- {zxing_cpp-3.0.0/core/src/libzint → zxing_cpp-3.1.0/zint/backend}/zintconfig.h +0 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
pip-wheel-metadata/
|
|
24
|
+
share/python-wheels/
|
|
25
|
+
*.egg-info/
|
|
26
|
+
.installed.cfg
|
|
27
|
+
*.egg
|
|
28
|
+
MANIFEST
|
|
29
|
+
|
|
30
|
+
# PyInstaller
|
|
31
|
+
# Usually these files are written by a python script from a template
|
|
32
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
33
|
+
*.manifest
|
|
34
|
+
*.spec
|
|
35
|
+
|
|
36
|
+
# Installer logs
|
|
37
|
+
pip-log.txt
|
|
38
|
+
pip-delete-this-directory.txt
|
|
39
|
+
|
|
40
|
+
# Unit test / coverage reports
|
|
41
|
+
htmlcov/
|
|
42
|
+
.tox/
|
|
43
|
+
.nox/
|
|
44
|
+
.coverage
|
|
45
|
+
.coverage.*
|
|
46
|
+
.cache
|
|
47
|
+
nosetests.xml
|
|
48
|
+
coverage.xml
|
|
49
|
+
*.cover
|
|
50
|
+
*.py,cover
|
|
51
|
+
.hypothesis/
|
|
52
|
+
.pytest_cache/
|
|
53
|
+
|
|
54
|
+
# Sphinx documentation
|
|
55
|
+
docs/_build/
|
|
56
|
+
docs/source/api
|
|
57
|
+
|
|
58
|
+
# PyBuilder
|
|
59
|
+
target/
|
|
60
|
+
|
|
61
|
+
# Environments
|
|
62
|
+
.env
|
|
63
|
+
.venv
|
|
64
|
+
env/
|
|
65
|
+
venv/
|
|
66
|
+
ENV/
|
|
67
|
+
env.bak/
|
|
68
|
+
venv.bak/
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 3.18)
|
|
2
|
+
project(ZXingPython)
|
|
3
|
+
|
|
4
|
+
# check if we are called from the top-level ZXing project
|
|
5
|
+
get_directory_property(hasParent PARENT_DIRECTORY)
|
|
6
|
+
if (NOT hasParent)
|
|
7
|
+
# TODO: replace with symlinks once https://github.com/scikit-build/scikit-build-core/issues/801 is resolved
|
|
8
|
+
message(STATUS "Copying files from parent folder needed for sdist")
|
|
9
|
+
foreach(NAME zxing.cmake LICENSE)
|
|
10
|
+
if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${NAME}")
|
|
11
|
+
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
|
12
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/../../${NAME}"
|
|
13
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/${NAME}"
|
|
14
|
+
)
|
|
15
|
+
endif()
|
|
16
|
+
endforeach()
|
|
17
|
+
|
|
18
|
+
set(CMAKE_CXX_STANDARD 20) # required here for the module itself
|
|
19
|
+
|
|
20
|
+
option (BUILD_SHARED_LIBS "Link python module to shared lib" OFF)
|
|
21
|
+
option (ZXING_READERS "Build with reader support (decoders)" ON)
|
|
22
|
+
set (ZXING_WRITERS "NEW" CACHE STRING "Build with old and/or new writer (encoder) backend (OFF/ON/OLD/NEW)")
|
|
23
|
+
set (ZXING_DEPENDENCIES "AUTO" CACHE STRING "Fetch from github or use locally installed (AUTO/GITHUB/LOCAL)")
|
|
24
|
+
option (ZXING_EXPERIMENTAL_API "Build with experimental API" ON)
|
|
25
|
+
|
|
26
|
+
set(CORE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/core)
|
|
27
|
+
if(IS_SYMLINK ${CORE_PATH})
|
|
28
|
+
# This is needed because otherwise GCC resolves the symlink which causes paths to randomly
|
|
29
|
+
# be prefixed by /core or by /wrappers/python/core depending on include order.
|
|
30
|
+
set(CORE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../core)
|
|
31
|
+
endif()
|
|
32
|
+
|
|
33
|
+
if(EXISTS ${CORE_PATH})
|
|
34
|
+
add_subdirectory(${CORE_PATH} ZXing EXCLUDE_FROM_ALL)
|
|
35
|
+
include(${CMAKE_CURRENT_SOURCE_DIR}/zxing.cmake)
|
|
36
|
+
else()
|
|
37
|
+
message(FATAL_ERROR "Unable to locate zxing source code")
|
|
38
|
+
endif()
|
|
39
|
+
endif()
|
|
40
|
+
|
|
41
|
+
# Try to import all Python components potentially needed by nanobind
|
|
42
|
+
find_package(Python 3.10
|
|
43
|
+
REQUIRED COMPONENTS Interpreter Development.Module
|
|
44
|
+
OPTIONAL_COMPONENTS Development.SABIModule)
|
|
45
|
+
zxing_add_package(nanobind nanobind https://github.com/wjakob/nanobind.git v2.11.0)
|
|
46
|
+
|
|
47
|
+
nanobind_add_module(zxingcpp STABLE_ABI FREE_THREADED zxing.cpp)
|
|
48
|
+
target_link_libraries(zxingcpp PRIVATE ZXing::ZXing)
|
|
49
|
+
|
|
50
|
+
# Copy ZXing.dll alongside zxingcpp.pyd to solve ImportError during stub generation
|
|
51
|
+
if (WIN32 AND BUILD_SHARED_LIBS)
|
|
52
|
+
add_custom_command(TARGET zxingcpp POST_BUILD
|
|
53
|
+
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
|
54
|
+
$<TARGET_FILE:ZXing::ZXing>
|
|
55
|
+
$<TARGET_FILE_DIR:zxingcpp>
|
|
56
|
+
VERBATIM
|
|
57
|
+
)
|
|
58
|
+
endif()
|
|
59
|
+
|
|
60
|
+
nanobind_add_stub(
|
|
61
|
+
zxingcpp_stub
|
|
62
|
+
MODULE zxingcpp
|
|
63
|
+
OUTPUT zxingcpp.pyi
|
|
64
|
+
PYTHON_PATH $<TARGET_FILE_DIR:zxingcpp>
|
|
65
|
+
DEPENDS zxingcpp
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
if (ZXING_READERS AND ZXING_WRITERS)
|
|
69
|
+
add_test(NAME PythonTest COMMAND ${Python_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test.py -v)
|
|
70
|
+
set_property(TEST PythonTest PROPERTY ENVIRONMENT PYTHONPATH=$<TARGET_FILE_DIR:zxingcpp>)
|
|
71
|
+
endif()
|
|
72
|
+
|
|
73
|
+
# Default package install directory ("zxingcpp"), enables 'import zxingcpp'
|
|
74
|
+
if (NOT DEFINED ZXING_PYTHON_INSTALL_LIBDIR)
|
|
75
|
+
set(ZXING_PYTHON_INSTALL_LIBDIR "zxingcpp")
|
|
76
|
+
endif()
|
|
77
|
+
|
|
78
|
+
# Create py.typed marker file for type checking
|
|
79
|
+
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/py.typed" "")
|
|
80
|
+
|
|
81
|
+
install(TARGETS zxingcpp
|
|
82
|
+
COMPONENT python
|
|
83
|
+
LIBRARY DESTINATION "${ZXING_PYTHON_INSTALL_LIBDIR}")
|
|
84
|
+
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/init.py
|
|
85
|
+
COMPONENT python
|
|
86
|
+
RENAME __init__.py
|
|
87
|
+
DESTINATION "${ZXING_PYTHON_INSTALL_LIBDIR}")
|
|
88
|
+
install(FILES
|
|
89
|
+
${CMAKE_CURRENT_BINARY_DIR}/zxingcpp.pyi
|
|
90
|
+
${CMAKE_CURRENT_BINARY_DIR}/py.typed
|
|
91
|
+
COMPONENT python
|
|
92
|
+
DESTINATION "${ZXING_PYTHON_INSTALL_LIBDIR}")
|
|
93
|
+
|
|
@@ -1,43 +1,37 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: zxing-cpp
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python bindings for the zxing-cpp barcode library
|
|
5
|
-
Author-email: zxing-cpp community <zxingcpp@gmail.com>
|
|
6
|
-
License-Expression: Apache-2.0
|
|
7
|
-
Project-URL: Homepage, https://github.com/zxing-cpp/zxing-cpp
|
|
8
|
-
Project-URL: Repository, https://github.com/zxing-cpp/zxing-cpp.git
|
|
9
|
-
Project-URL: Issues, https://github.com/zxing-cpp/zxing-cpp/issues
|
|
10
5
|
Keywords: barcode
|
|
6
|
+
Author-Email: zxing-cpp community <zxingcpp@gmail.com>
|
|
7
|
+
License-Expression: Apache-2.0
|
|
11
8
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
9
|
Classifier: Intended Audience :: Developers
|
|
13
10
|
Classifier: Programming Language :: Python :: 3
|
|
14
11
|
Classifier: Operating System :: OS Independent
|
|
15
12
|
Classifier: Topic :: Multimedia :: Graphics
|
|
13
|
+
Project-URL: Homepage, https://github.com/zxing-cpp/zxing-cpp
|
|
14
|
+
Project-URL: Repository, https://github.com/zxing-cpp/zxing-cpp.git
|
|
15
|
+
Project-URL: Issues, https://github.com/zxing-cpp/zxing-cpp/issues
|
|
16
16
|
Requires-Python: >=3.9
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
|
-
License-File: LICENSE
|
|
19
|
-
Dynamic: license-file
|
|
20
18
|
|
|
21
19
|
# Python bindings for zxing-cpp
|
|
22
20
|
|
|
23
21
|
[](https://pypi.org/project/zxing-cpp/)
|
|
24
22
|
|
|
23
|
+
The package uses [scikit-build-core](https://scikit-build-core.readthedocs.io/) as its build backend and [nanobind](https://nanobind.readthedocs.io/) for the Python bindings.
|
|
25
24
|
|
|
26
25
|
## Installation
|
|
27
26
|
|
|
28
27
|
```bash
|
|
29
28
|
pip install zxing-cpp
|
|
30
29
|
```
|
|
31
|
-
or
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
python setup.py install
|
|
35
|
-
```
|
|
36
30
|
|
|
37
|
-
|
|
31
|
+
To build from a checked out / extracted soruce tree, a suitable [build environment](https://github.com/zxing-cpp/zxing-cpp#build-instructions) including a C++20 compiler is required:
|
|
38
32
|
|
|
39
33
|
```bash
|
|
40
|
-
pip install
|
|
34
|
+
pip install .
|
|
41
35
|
```
|
|
42
36
|
|
|
43
37
|
|
|
@@ -76,4 +70,4 @@ with open("test.svg", "w") as svg_file:
|
|
|
76
70
|
svg_file.write(svg)
|
|
77
71
|
```
|
|
78
72
|
|
|
79
|
-
To get a full list of available parameters for `read_barcodes` and `create_barcode` as well as the properties of the Barcode objects, have a look at the `
|
|
73
|
+
To get a full list of available parameters for `read_barcodes` and `create_barcode` as well as the properties of the Barcode objects, have a look at the `nanobind` module definition in [this C++ source file](https://github.com/zxing-cpp/zxing-cpp/blob/master/wrappers/python/zxing.cpp).
|
|
@@ -2,22 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://pypi.org/project/zxing-cpp/)
|
|
4
4
|
|
|
5
|
+
The package uses [scikit-build-core](https://scikit-build-core.readthedocs.io/) as its build backend and [nanobind](https://nanobind.readthedocs.io/) for the Python bindings.
|
|
5
6
|
|
|
6
7
|
## Installation
|
|
7
8
|
|
|
8
9
|
```bash
|
|
9
10
|
pip install zxing-cpp
|
|
10
11
|
```
|
|
11
|
-
or
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
python setup.py install
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
In case there is no pre-build wheel available for your platform or python version or if you use `setup.py` directly, a suitable [build environment](https://github.com/zxing-cpp/zxing-cpp#build-instructions) including a c++20 compiler is required. To build from source, you can call:
|
|
13
|
+
To build from a checked out / extracted soruce tree, a suitable [build environment](https://github.com/zxing-cpp/zxing-cpp#build-instructions) including a C++20 compiler is required:
|
|
18
14
|
|
|
19
15
|
```bash
|
|
20
|
-
pip install
|
|
16
|
+
pip install .
|
|
21
17
|
```
|
|
22
18
|
|
|
23
19
|
|
|
@@ -56,4 +52,4 @@ with open("test.svg", "w") as svg_file:
|
|
|
56
52
|
svg_file.write(svg)
|
|
57
53
|
```
|
|
58
54
|
|
|
59
|
-
To get a full list of available parameters for `read_barcodes` and `create_barcode` as well as the properties of the Barcode objects, have a look at the `
|
|
55
|
+
To get a full list of available parameters for `read_barcodes` and `create_barcode` as well as the properties of the Barcode objects, have a look at the `nanobind` module definition in [this C++ source file](https://github.com/zxing-cpp/zxing-cpp/blob/master/wrappers/python/zxing.cpp).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
cmake_minimum_required(VERSION 3.16)
|
|
2
2
|
|
|
3
|
-
project (ZXing VERSION "3.
|
|
4
|
-
set (ZXING_VERSION_SUFFIX "")
|
|
3
|
+
project (ZXing VERSION "3.1.0")
|
|
4
|
+
set (ZXING_VERSION_SUFFIX "") # e.g. "-rc1"
|
|
5
5
|
set (ZXING_SONAME 4) # see https://github.com/zxing-cpp/zxing-cpp/issues/333
|
|
6
6
|
|
|
7
7
|
option (ZXING_USE_BUNDLED_ZINT "Use the bundled libzint for barcode creation/writing" ON)
|
|
@@ -81,7 +81,7 @@ if(HAS_FILE_PREFIX_ARG)
|
|
|
81
81
|
list (APPEND ZXING_PRIVATE_FLAGS "${FILE_PREFIX_ARG}")
|
|
82
82
|
endif()
|
|
83
83
|
|
|
84
|
-
|
|
84
|
+
# MARK: - COMMON_FILES
|
|
85
85
|
|
|
86
86
|
set (COMMON_FILES
|
|
87
87
|
src/Barcode.h
|
|
@@ -120,6 +120,8 @@ set (COMMON_FILES
|
|
|
120
120
|
src/ReaderOptions.h
|
|
121
121
|
src/ReadBarcode.h
|
|
122
122
|
src/ReadBarcode.cpp
|
|
123
|
+
src/ReedSolomon.h
|
|
124
|
+
src/ReedSolomon.cpp
|
|
123
125
|
src/SymbologyIdentifier.h
|
|
124
126
|
src/Utf.h
|
|
125
127
|
src/Utf.cpp
|
|
@@ -131,6 +133,7 @@ set (COMMON_FILES
|
|
|
131
133
|
src/ZXAlgorithms.h
|
|
132
134
|
src/ZXConfig.h
|
|
133
135
|
src/ZXTestSupport.h
|
|
136
|
+
src/ZXVersion.h
|
|
134
137
|
$<$<BOOL:${ZXING_C_API}>:src/ZXingC.h>
|
|
135
138
|
$<$<BOOL:${ZXING_C_API}>:src/ZXingC.cpp>
|
|
136
139
|
)
|
|
@@ -138,10 +141,6 @@ if (ZXING_READERS OR ZXING_WRITERS_OLD)
|
|
|
138
141
|
set (COMMON_FILES ${COMMON_FILES}
|
|
139
142
|
src/BitArray.h
|
|
140
143
|
src/BitArray.cpp
|
|
141
|
-
src/GenericGF.h
|
|
142
|
-
src/GenericGF.cpp
|
|
143
|
-
src/GenericGFPoly.h
|
|
144
|
-
src/GenericGFPoly.cpp
|
|
145
144
|
)
|
|
146
145
|
endif()
|
|
147
146
|
if (ZXING_READERS OR ZXING_WRITERS_NEW)
|
|
@@ -164,6 +163,8 @@ if (ZXING_READERS)
|
|
|
164
163
|
src/GridSampler.h
|
|
165
164
|
src/GridSampler.cpp
|
|
166
165
|
src/LogMatrix.h
|
|
166
|
+
src/LocalGrid.h
|
|
167
|
+
src/LocalGrid.cpp
|
|
167
168
|
src/HybridBinarizer.h
|
|
168
169
|
src/HybridBinarizer.cpp
|
|
169
170
|
src/MultiFormatReader.h
|
|
@@ -172,8 +173,6 @@ if (ZXING_READERS)
|
|
|
172
173
|
src/PerspectiveTransform.h
|
|
173
174
|
src/PerspectiveTransform.cpp
|
|
174
175
|
src/Reader.h
|
|
175
|
-
src/ReedSolomonDecoder.h
|
|
176
|
-
src/ReedSolomonDecoder.cpp
|
|
177
176
|
src/RegressionLine.h
|
|
178
177
|
src/ResultPoint.h
|
|
179
178
|
src/ResultPoint.cpp
|
|
@@ -199,13 +198,13 @@ endif()
|
|
|
199
198
|
|
|
200
199
|
if (ZXING_WRITERS_OLD)
|
|
201
200
|
set (COMMON_FILES ${COMMON_FILES}
|
|
202
|
-
src/ReedSolomonEncoder.h
|
|
203
|
-
src/ReedSolomonEncoder.cpp
|
|
204
201
|
src/MultiFormatWriter.h
|
|
205
202
|
src/MultiFormatWriter.cpp
|
|
206
203
|
)
|
|
207
204
|
endif()
|
|
208
205
|
|
|
206
|
+
# MARK: - PUBLIC_HEADERS
|
|
207
|
+
|
|
209
208
|
# define subset of public headers that get distributed with the binaries
|
|
210
209
|
set (PUBLIC_HEADERS
|
|
211
210
|
src/Barcode.h
|
|
@@ -222,6 +221,7 @@ set (PUBLIC_HEADERS
|
|
|
222
221
|
src/ReaderOptions.h
|
|
223
222
|
src/WriteBarcode.h
|
|
224
223
|
src/ZXingCpp.h
|
|
224
|
+
${CMAKE_CURRENT_SOURCE_DIR}/src/ZXVersion.h # deprecated, but keep it for now to not break old clients
|
|
225
225
|
${CMAKE_CURRENT_SOURCE_DIR}/src/ZXingQt.h
|
|
226
226
|
$<$<BOOL:${ZXING_C_API}>:${CMAKE_CURRENT_SOURCE_DIR}/src/ZXingC.h>
|
|
227
227
|
)
|
|
@@ -239,6 +239,8 @@ if (ZXING_WRITERS_OLD)
|
|
|
239
239
|
endif()
|
|
240
240
|
# end of public header set
|
|
241
241
|
|
|
242
|
+
# MARK: - READERS/WRITERS
|
|
243
|
+
|
|
242
244
|
if (ZXING_READERS AND ZXING_ENABLE_AZTEC)
|
|
243
245
|
set (AZTEC_FILES ${AZTEC_FILES}
|
|
244
246
|
src/aztec/AZDecoder.h
|
|
@@ -319,7 +321,6 @@ if ((ZXING_READERS OR ZXING_WRITERS_OLD) AND ZXING_ENABLE_1D)
|
|
|
319
321
|
src/oned/ODUPCEANCommon.cpp
|
|
320
322
|
src/oned/ODCode93Patterns.h
|
|
321
323
|
src/oned/ODCode128Patterns.h
|
|
322
|
-
src/oned/ODCode128Patterns.cpp
|
|
323
324
|
)
|
|
324
325
|
endif()
|
|
325
326
|
if (ZXING_READERS AND ZXING_ENABLE_1D)
|
|
@@ -346,6 +347,8 @@ if (ZXING_READERS AND ZXING_ENABLE_1D)
|
|
|
346
347
|
src/oned/ODDXFilmEdgeReader.cpp
|
|
347
348
|
src/oned/ODITFReader.h
|
|
348
349
|
src/oned/ODITFReader.cpp
|
|
350
|
+
src/oned/ODTelepenReader.h
|
|
351
|
+
src/oned/ODTelepenReader.cpp
|
|
349
352
|
src/oned/ODMultiUPCEANReader.h
|
|
350
353
|
src/oned/ODMultiUPCEANReader.cpp
|
|
351
354
|
src/oned/ODReader.h
|
|
@@ -387,6 +390,8 @@ if ((ZXING_READERS OR ZXING_WRITERS_OLD) AND ZXING_ENABLE_PDF417)
|
|
|
387
390
|
endif()
|
|
388
391
|
if (ZXING_READERS AND ZXING_ENABLE_PDF417)
|
|
389
392
|
set (PDF417_FILES ${PDF417_FILES}
|
|
393
|
+
src/pdf417/PDF417.h
|
|
394
|
+
src/pdf417/PDF417.cpp
|
|
390
395
|
src/pdf417/PDFBarcodeMetadata.h
|
|
391
396
|
src/pdf417/PDFBarcodeValue.h
|
|
392
397
|
src/pdf417/PDFBarcodeValue.cpp
|
|
@@ -404,15 +409,13 @@ if (ZXING_READERS AND ZXING_ENABLE_PDF417)
|
|
|
404
409
|
src/pdf417/PDFDetectionResultColumn.cpp
|
|
405
410
|
src/pdf417/PDFDetector.h
|
|
406
411
|
src/pdf417/PDFDetector.cpp
|
|
407
|
-
src/pdf417/PDFModulusGF.h
|
|
408
|
-
src/pdf417/PDFModulusGF.cpp
|
|
409
|
-
src/pdf417/PDFModulusPoly.h
|
|
410
|
-
src/pdf417/PDFModulusPoly.cpp
|
|
411
412
|
src/pdf417/PDFReader.h
|
|
412
413
|
src/pdf417/PDFReader.cpp
|
|
413
414
|
src/pdf417/PDFScanningDecoder.h
|
|
414
415
|
src/pdf417/PDFScanningDecoder.cpp
|
|
415
416
|
src/pdf417/ZXNullable.h
|
|
417
|
+
src/pdf417/MicroPDFReader.h
|
|
418
|
+
src/pdf417/MicroPDFReader.cpp
|
|
416
419
|
)
|
|
417
420
|
endif()
|
|
418
421
|
if (ZXING_WRITERS_OLD AND ZXING_ENABLE_PDF417)
|
|
@@ -478,6 +481,8 @@ source_group (Sources\\oned FILES ${ONED_FILES})
|
|
|
478
481
|
source_group (Sources\\pdf417 FILES ${PDF417_FILES})
|
|
479
482
|
source_group (Sources\\qrcode FILES ${QRCODE_FILES})
|
|
480
483
|
|
|
484
|
+
# MARK: - Library target
|
|
485
|
+
|
|
481
486
|
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
|
|
482
487
|
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
|
|
483
488
|
find_package(Threads REQUIRED)
|
|
@@ -517,8 +522,19 @@ if (ZXING_READERS OR ZXING_WRITERS_OLD)
|
|
|
517
522
|
)
|
|
518
523
|
target_sources(ZXing PRIVATE ${LIBZUECI_FILES})
|
|
519
524
|
source_group (Sources\\libzueci FILES ${LIBZUECI_FILES})
|
|
525
|
+
|
|
526
|
+
set (LIBRSCPP_FILES
|
|
527
|
+
src/librscpp/field.h
|
|
528
|
+
src/librscpp/poly.h
|
|
529
|
+
src/librscpp/encode.h
|
|
530
|
+
src/librscpp/decode.h
|
|
531
|
+
)
|
|
532
|
+
target_sources(ZXing PRIVATE ${LIBRSCPP_FILES})
|
|
533
|
+
source_group (Sources\\librscpp FILES ${LIBRSCPP_FILES})
|
|
520
534
|
endif()
|
|
521
535
|
|
|
536
|
+
# MARK: - ZINT
|
|
537
|
+
|
|
522
538
|
if (ZXING_WRITERS_NEW)
|
|
523
539
|
if (ZXING_USE_BUNDLED_ZINT)
|
|
524
540
|
set (LIBZINT_FILES
|
|
@@ -565,6 +581,7 @@ if (ZXING_WRITERS_NEW)
|
|
|
565
581
|
list(APPEND LIBZINT_FILES
|
|
566
582
|
src/libzint/2of5inter.c
|
|
567
583
|
src/libzint/2of5inter_based.c
|
|
584
|
+
src/libzint/telepen.c
|
|
568
585
|
src/libzint/codabar.c
|
|
569
586
|
src/libzint/code128.c
|
|
570
587
|
src/libzint/code128.h
|
|
@@ -615,7 +632,7 @@ if (ZXING_WRITERS_NEW)
|
|
|
615
632
|
else()
|
|
616
633
|
include(../zxing.cmake)
|
|
617
634
|
zxing_add_package(zint zint https://github.com/zint/zint.git 2.16.0)
|
|
618
|
-
target_link_libraries (ZXing PRIVATE $<IF:$<BOOL:${ZINT_STATIC}>,zint-static,zint>)
|
|
635
|
+
target_link_libraries (ZXing PRIVATE $<IF:$<BOOL:${ZINT_STATIC}>,zint::zint-static,zint::zint>)
|
|
619
636
|
endif()
|
|
620
637
|
endif()
|
|
621
638
|
|
|
@@ -633,13 +650,29 @@ if (PROJECT_VERSION)
|
|
|
633
650
|
set_target_properties(ZXing PROPERTIES SOVERSION ${ZXING_SONAME})
|
|
634
651
|
endif()
|
|
635
652
|
|
|
653
|
+
# Add Windows resource file for version information
|
|
654
|
+
if (WIN32 AND BUILD_SHARED_LIBS)
|
|
655
|
+
# Convert version to comma-separated format for Windows resources
|
|
656
|
+
string(REPLACE "." "," FILE_VERSION_COMMA "${PROJECT_VERSION}.0")
|
|
657
|
+
set(FILE_VERSION_STR "${PROJECT_VERSION}.0")
|
|
658
|
+
configure_file(
|
|
659
|
+
${CMAKE_CURRENT_SOURCE_DIR}/version.rc.in
|
|
660
|
+
${CMAKE_CURRENT_BINARY_DIR}/version.rc
|
|
661
|
+
@ONLY
|
|
662
|
+
)
|
|
663
|
+
target_sources(ZXing PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/version.rc)
|
|
664
|
+
endif()
|
|
665
|
+
|
|
636
666
|
# TODO: use FILE_SET HEADERS instead of PUBLIC_HEADER and target_sources, once CMake 3.23+ is required
|
|
637
667
|
set_target_properties(ZXing PROPERTIES PUBLIC_HEADER "${PUBLIC_HEADERS}")
|
|
638
668
|
|
|
669
|
+
# MARK: - Precompiled headers
|
|
670
|
+
|
|
639
671
|
set(PRECOMPILE_HEADERS ${PUBLIC_HEADERS})
|
|
640
672
|
list(REMOVE_ITEM PRECOMPILE_HEADERS
|
|
641
673
|
"$<$<BOOL:${ZXING_C_API}>:${CMAKE_CURRENT_SOURCE_DIR}/src/ZXingC.h>"
|
|
642
|
-
"${CMAKE_CURRENT_SOURCE_DIR}/src/ZXingQt.h"
|
|
674
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/src/ZXingQt.h"
|
|
675
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/src/ZXVersion.h")
|
|
643
676
|
list(APPEND PRECOMPILE_HEADERS "src/BarcodeData.h" "src/Content.h" "src/Range.h")
|
|
644
677
|
if (NOT ZXING_DISABLE_PCH)
|
|
645
678
|
target_precompile_headers(ZXing PRIVATE ${PRECOMPILE_HEADERS})
|
|
@@ -681,6 +714,8 @@ if(CMAKE_BUILD_TYPE MATCHES "Release|RelWithDebInfo")
|
|
|
681
714
|
endif()
|
|
682
715
|
endif()
|
|
683
716
|
|
|
717
|
+
# MARK: - Installation
|
|
718
|
+
|
|
684
719
|
include (GNUInstallDirs)
|
|
685
720
|
|
|
686
721
|
set(ZX_INSTALL_TARGETS ZXing)
|
|
@@ -3,7 +3,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/ZXingTargets.cmake")
|
|
|
3
3
|
|
|
4
4
|
# this does not work: add_library(ZXing::Core ALIAS ZXing::ZXing)
|
|
5
5
|
# this is a workaround available since 3.11 :
|
|
6
|
-
if(
|
|
6
|
+
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.11 AND NOT TARGET ZXing::Core)
|
|
7
7
|
add_library(ZXing::Core INTERFACE IMPORTED)
|
|
8
8
|
target_link_libraries(ZXing::Core INTERFACE ZXing::ZXing)
|
|
9
9
|
endif()
|
|
@@ -69,7 +69,7 @@ std::string Barcode::text(TextMode mode) const
|
|
|
69
69
|
|
|
70
70
|
std::string Barcode::text() const
|
|
71
71
|
{
|
|
72
|
-
return text(d->
|
|
72
|
+
return text(d->defaultTextMode);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
ContentType Barcode::contentType() const
|
|
@@ -126,7 +126,7 @@ Barcode& Barcode::setReaderOptions(const ReaderOptions& opts)
|
|
|
126
126
|
{
|
|
127
127
|
if (opts.characterSet() != CharacterSet::Unknown)
|
|
128
128
|
d->content.defaultCharset = opts.characterSet();
|
|
129
|
-
d->
|
|
129
|
+
d->defaultTextMode = opts.textMode();
|
|
130
130
|
return *this;
|
|
131
131
|
}
|
|
132
132
|
|
|
@@ -151,7 +151,7 @@ std::string Barcode::extra(std::string_view key) const
|
|
|
151
151
|
auto res =
|
|
152
152
|
StrCat("{", JsonProp("Text", text(TextMode::Plain)), JsonProp("HRI", text(TextMode::HRI)),
|
|
153
153
|
JsonProp("TextECI", text(TextMode::ECI)), JsonProp("Bytes", text(TextMode::Hex)),
|
|
154
|
-
JsonProp("Identifier", symbologyIdentifier()), JsonProp("
|
|
154
|
+
JsonProp("Identifier", symbologyIdentifier()), JsonProp("Format", Name(format())),
|
|
155
155
|
JsonProp("Symbology", Name(Symbology(format()))), JsonProp("ContentType", isValid() ? ToString(contentType()) : ""),
|
|
156
156
|
JsonProp("Position", ToString(position())), JsonProp("HasECI", hasECI()), JsonProp("IsMirrored", isMirrored()),
|
|
157
157
|
JsonProp("IsInverted", isInverted()), d->extra, JsonProp("Error", ToString(error())));
|
|
@@ -175,10 +175,11 @@ bool BarcodeData::operator==(const BarcodeData& o) const
|
|
|
175
175
|
|
|
176
176
|
// handle MatrixCodes first
|
|
177
177
|
if (!(format & BarcodeFormat::AllLinear)) {
|
|
178
|
-
if (
|
|
178
|
+
if (content.bytes != o.content.bytes)
|
|
179
179
|
return false;
|
|
180
180
|
|
|
181
|
-
//
|
|
181
|
+
// At this point both are valid with the same content or both are in error.
|
|
182
|
+
// Treat them as equal if their positions are about the same (center of one is inside the other).
|
|
182
183
|
return IsInside(Center(o.position), position);
|
|
183
184
|
}
|
|
184
185
|
|