summaryrefslogtreecommitdiff
path: root/core/src
AgeCommit message (Collapse)AuthorFilesLines
2021-10-09fix(core): do not evaluate out of index as white on qrcode mask evaluation ↵Choi Su Beom3-151/+172
(#1446) * fix(core): do not evaluate out of index as white on qrcode mask evaluation
2021-10-09Added experimental version of QR-Code compaction (#1445)AlexGeller15-52/+1268
* Added experimental version of QR-Code compaction which can be activated via EncodeHintType.QR_COMPACT
2021-10-08Optimization for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39707Sean Owen1-11/+3
2021-10-05Enforce line length and indent in checkstyle (#1448)Sean Owen60-841/+927
2021-09-28Fix decoding of FNC1 in AztecCode. (#1441)Anders Hammarquist2-9/+12
* Fix decoding of FNC1 in AztecCode. Flush buffer to make sure FNC1 is output in the correct position in the stream. * Simplify. Flush buffers outside switch, as it happens for all non-error cases anyway.
2021-09-18Fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38913Sean Owen1-2/+3
2021-09-12Optimization for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38541Sean Owen3-26/+23
2021-09-11Possible fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38486Sean Owen1-2/+10
2021-09-09Possible fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38309Sean Owen1-2/+5
2021-09-07Possible fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38197 ↵Sean Owen1-181/+134
; refactor FieldParser data impl
2021-09-06Possible fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38181 ↵Sean Owen1-5/+5
; disallow encodings not supported by the JVM
2021-09-05fix valid `y` range (#1430)MakKi (makki_d)1-1/+1
2021-09-04Possible fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38086Sean Owen1-2/+3
2021-09-02Fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38010Sean Owen2-0/+6
2021-09-02Minor hack to fix corner case from ↵Sean Owen1-2/+3
https://oss-fuzz.com/testcase-detail/5178194588729344
2021-09-02Another possible improvement against ↵Sean Owen1-2/+3
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37905&q=label%3AProj-zxing
2021-09-01Possible fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37905Sean Owen1-5/+7
2021-08-31Another possible fix for ↵Sean Owen1-2/+5
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37858
2021-08-31Possible fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37868Sean Owen1-0/+3
2021-08-30Possible fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37858Sean Owen1-1/+1
2021-08-30Possible fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37853Sean Owen1-2/+2
2021-08-30Possible fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37811Sean Owen1-4/+4
2021-07-29Introduce hint to force specific code set for Code-128 encoding (#1411)gschwaer4-13/+171
* Introduce hint to force specific code set for Code-128 encoding * Address review comments * Make character check more readable; address review comments * Address review comments Co-authored-by: Gero Schwäricke <gero@schwaericke.email>
2021-07-27Minor changes from code inspectionSean Owen6-59/+35
2021-07-27Fix typo in ResultMetadataType.java (#1410)Ikko Ashimine1-1/+1
identifer -> identifier
2021-07-16Fix possible AIOOBE from fuzz testSean Owen1-4/+6
2021-06-07Fix symbology identifier tests (#1396)MakKi (makki_d)12-4/+5
* rename metadata test files * implement symbology identifier on ITFReader * add metadata test * remove unused code
2021-05-23Minor code and dep changes; return better HTTP status codes from web appSean Owen3-4/+4
2021-04-12PDF417 Macro: fileId numeric decode; allow Macro only symbol (#1379)gitlost2-8/+95
* PDF417 Macro: fileId numeric decode; allow Macro only symbol * PDF417 Macro: additional FormatException unit tests
2021-04-06Update ResultMetadataType.java (#1376)dehnhard1-0/+1
2021-04-04MaxiCode decoding: add missing NS to Set C (#1375)gitlost4-3/+3
2021-04-02Update dependencies and add one new testSean Owen1-0/+1
2021-04-02Add support for guessing UTF-16 encoding based on BOMSean Owen2-2/+31
2021-04-02Symbology Identifier support (#1372)dehnhard28-24/+175
* decoder support for symbology identifier metadata Co-authored-by: Daniel Dehnhard <daniel@dehnhard.it>
2021-04-02inverted barcode support (#1371)dehnhard8-1/+106
* also decodes inverted barcode on hint Co-authored-by: Daniel Dehnhard <daniel@dehnhard.it>
2021-03-18Aztec Detector::getDimension() fix for layers 27 (131x131) (#1370)gitlost4-8/+6
2021-03-18Update DMRE versions to ISO/IEC 21471:2020 (#1369)gitlost40-29/+88
2021-01-19Update dimension ratio change to new location (updates DMRE PR #323) (#1350)dehnhard1-1/+1
* Update dimension ratio change to new location * changing threshold to 6 as discussed in #1350
2021-01-16Initial support for DMRESean Owen3-7/+44
2020-12-31Prevent MaxiCode sampler from sampling off the edge of the image.Sean Owen1-1/+5
2020-12-09Improve test coverageSean Owen3-1/+70
2020-12-08Misc dead code cleanup, plugin updatesSean Owen20-211/+57
2020-11-09PDF417 detector: try 90 and 270 rotations also (#1333)Dan Lenski4-7/+56
2020-11-08Aztec encode with ECI for non-default character sets (#1330)Dan Lenski16-129/+244
* Aztec encoder: add ECI codes according to character set Added redundant methods to avoid modifying existing tests. * fix testAztecWriter - ISO-8859-1 cannot actually encode Euro symbol ('€'); this test case only passed before because the Decoder wasn't actually doing the bytes→String decode, but simply round-tripping an unknown byte. - Add extra test cases for implicit ISO-8859-1 (without ECI code), explicit ISO-8559-1 (with ECI code), and Shift_JIS * remove unnecessary conversion between String and byte[] in Aztec EncoderTest and DetectorTest * Aztec DecoderTest: use constants for charsets * Aztec Code: remove unnecessary conversion between Charset and Charset.name() strings * PDF417, QR, DataMatrix: remove unnecessary conversion between Charset and Charset.name() strings Includes replacing StringUtils.guessEncoding() with .guessCharset(), to return Charset rather than String. This change makes the tacit assumption that Shift_JIS charset *will* be available. There are existing comments suggesting that it might not always be available… but the existing *tests* assume it will be.
2020-10-28Aztec Code: decode ECI and FNC1 (#1328)Dan Lenski4-28/+149
* decode Aztec FLG(n) Per https://en.wikipedia.org/wiki/Aztec_Code#Character_set, FLG(0) → FNC1, FLG(1-6) → ECI identifier Decode FNC1 as 0x1d (ASCII escape character; same as Code128, DataMatrix, others) Not doing anything with ECI yet, but this at least fixes the mis-synchronization of the bit stream that comes from ignoring the bits that follow it. * include ecLevel (percentage) in DecoderResult for Aztec * Aztec decoder: follow character set indicated by ECI codes Modeled on PDF417's DecodedBitStreamParser * add testAztecResultECI and testHighLevelDecode to aztec.decoder.DecoderTest The latter includes non-ECI, ECI, and mixed test cases.
2020-09-14Make MultiFinderPatternFinder a public class (#1313)yerar1-2/+2
* Make MultiFinderPatternFinder a public class * Make MultiFinderPatternFinder constructor public Co-authored-by: Gerard Finol <gfinol@color-sensing.com>
2020-09-07Many small updates from code analysis; remove unused files; tune server ↵Sean Owen12-61/+51
params (#1311)
2020-08-26Update proguard to 7. Remove unused slf4j. Minor code tweaks and dep ↵Sean Owen5-30/+23
updates. (#1307)
2020-06-06Misc code simplification and editsSean Owen2-7/+9
2020-06-03Issue #862 : avoid invalid codeword from bad EC number estimateSean Owen1-2/+4