Commit graph

3574 commits

Author SHA1 Message Date
gitlost a7c3516826
Update DMRE versions to ISO/IEC 21471:2020 (#1369) 2021-03-17 18:12:40 -05:00
dehnhard 4426711598
Update dimension ratio change to new location (updates DMRE PR #323) (#1350)
* Update dimension ratio change to new location

* changing threshold to 6

as discussed in #1350
2021-01-19 13:40:59 -06:00
Sean Owen 395dc6b83f Initial support for DMRE 2021-01-15 17:14:02 -06:00
Sean Owen 3374aed3fd Tweak DoS limits and logging; update dependencies 2021-01-15 17:03:12 -06:00
Sean Owen 6dd0776b96 Prevent MaxiCode sampler from sampling off the edge of the image. 2020-12-30 15:44:03 -06:00
Sean Owen fd364d9338 Improve test coverage 2020-12-09 11:29:07 -06:00
Sean Owen e7ed6aee2f Misc dead code cleanup, plugin updates 2020-12-08 11:55:33 -06:00
Daniel Pfeffer 820d091073
Update strings.xml (#1336)
Better German
2020-11-19 06:48:45 -06:00
Sean Owen 5e689afc47
Create codeql-analysis.yml 2020-11-18 12:09:06 -06:00
Dan Lenski 20405981dc
PDF417 detector: try 90 and 270 rotations also (#1333) 2020-11-09 07:29:59 -06:00
Dan Lenski 515688992b
Aztec encode with ECI for non-default character sets (#1330)
* 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-11-07 16:26:24 -06:00
Sean Owen 28d339e67d Fix snapshot version in android components 2020-11-07 09:08:01 -06:00
Dan Lenski 6e349275f7
Aztec Code: decode ECI and FNC1 (#1328)
* 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-10-27 20:04:41 -05:00
dependabot[bot] b1c85db64e
Bump junit from 4.13 to 4.13.1 (#1322)
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 14:10:50 -05:00
Sean Owen d3922dff99 Set theme jekyll-theme-midnight 2020-10-01 08:34:53 -05:00
Sean Owen e82fbab5da Set theme jekyll-theme-slate 2020-10-01 08:34:00 -05:00
Sean Owen c7cb59044a Fix android checkstyle 2020-09-30 09:10:00 -05:00
Sean Owen 09b0bdd3f5 Update site for 3.4.1 2020-09-29 20:14:41 -05:00
Sean Owen 32158ee504 [maven-release-plugin] prepare for next development iteration 2020-09-29 19:53:40 -05:00
Sean Owen 272d9561b5 [maven-release-plugin] prepare release zxing-3.4.1 2020-09-29 19:53:33 -05:00
Sean Owen cff1a21291 [maven-release-plugin] rollback the release of zxing-3.4.1 2020-09-29 19:50:02 -05:00
Sean Owen c30aa535e7 [maven-release-plugin] prepare release zxing-3.4.1 2020-09-29 19:48:52 -05:00
Sean Owen 41cbab0bac Fix release plugin settings 2020-09-29 11:51:48 -05:00
Sean Owen 06e3cd4967 [maven-release-plugin] rollback the release of zxing-3.4.1 2020-09-29 11:44:20 -05:00
Sean Owen 09f1a7eea2 [maven-release-plugin] prepare for next development iteration 2020-09-29 11:39:45 -05:00
Sean Owen 3eafc5d447 [maven-release-plugin] prepare release zxing-3.4.1 2020-09-29 11:39:38 -05:00
Sean Owen 3d8068009f Update CHANGES for 3.4.1; misc plugin updates 2020-09-29 11:23:54 -05:00
yerar 6fe3a775a0
Make MultiFinderPatternFinder a public class (#1313)
* Make MultiFinderPatternFinder a public class

* Make MultiFinderPatternFinder constructor public

Co-authored-by: Gerard Finol <gfinol@color-sensing.com>
2020-09-14 10:03:09 -05:00
Sean Owen 40c2e2e9af
Many small updates from code analysis; remove unused files; tune server params (#1311) 2020-09-06 18:21:05 -05:00
Sean Owen da049f21d9
Update proguard to 7. Remove unused slf4j. Minor code tweaks and dep updates. (#1307) 2020-08-26 13:09:20 -05:00
Sean Owen 85e37821a5 Fix missing import 2020-07-22 13:00:29 -05:00
Sean Owen 07fdff4df7 Remove some old unuseful Android logs 2020-07-22 12:51:41 -05:00
Sean Owen 9c181f2de5 Remove reference to 'beta' quality formats 2020-07-15 15:14:10 -05:00
Davod a826fbd3af
Corrections in translation (#1296)
* Update about1d.html

* Update about2d.html

* Update license.html

* Update scanning.html

* Corrections by Amitie10g
2020-06-26 10:32:28 -05:00
Sean Owen 1903b13064 Not working ; disable ARM 2020-06-20 10:08:37 -05:00
Sean Owen 549e0d17c9 RAT -> warning 2020-06-20 10:04:13 -05:00
Sean Owen 1b77f8a800 Try installing maven on ARM 2020-06-20 09:57:17 -05:00
Sean Owen b3c9107cfa Try ARM + OpenJDK11 2020-06-20 09:48:27 -05:00
Sean Owen 0797e6ad71 Add ARM testing 2020-06-20 09:34:50 -05:00
Sean Owen 64ff80128d
Try reenabling javadoc on travis (#1294)
Reenable javadoc on travis and set `<source>` to make it work on Java 11+. Closes #1293
2020-06-06 17:35:38 -05:00
Sean Owen 9aa4db5c1f Misc code simplification and edits 2020-06-05 21:34:13 -05:00
Sean Owen c89470b2b0 Issue #862 : avoid invalid codeword from bad EC number estimate 2020-06-03 11:50:14 -05:00
Chenjie Xu 9068f64eb5
add a Python wrapper to ZXing library (#1290)
add pyzxing in ZXing-based third-party open source projects table
2020-05-28 22:29:01 -05:00
Sean Owen 3c96923276 Minor dep updates 2020-05-13 14:12:53 -05:00
Sean Owen f8df5f0ca2 Avoid tiny Array.sort; a bottleneck 2020-05-13 14:12:34 -05:00
Sean Owen 05abe0f7aa Minor HTML standards improvement per Chrome 2020-05-13 14:12:15 -05:00
Sean Owen 78ccf2323f Dynamic request capping system for web app plus minor optimization 2020-05-13 14:11:54 -05:00
Andrej Shadura 639f51d340
License and copyrights (#1281)
* Add SPDX copyright and license metadata according to REUSE

Specify copyrights and licenses for individual bits of the code
according to the REUSE Specification 3.0 using the Debian
machine-readable copyright format.

See https://reuse.software/spec/ for the details.

Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>

* Add .reuse to the ignore list of Apache Rat

Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
2020-05-07 09:06:26 -05:00
Sean Owen 54d0a37832
Minor Travis updates, including JDK 14 (#1276) 2020-04-13 13:37:10 -05:00
Sean Owen 24a5f9c654 setPackage on encode intent internally 2020-02-16 08:46:36 -06:00