Commit graph

3817 commits

Author SHA1 Message Date
Sean Owen 4e110ecdbb Minor code inspection: Use Math.min, Arrays.fill. No point in keeping opts from J2ME days 2019-07-29 14:36:16 -05:00
Sean Owen 1cc5cbe961 Don't run Aztec test 1000 times pointlessly 2019-07-29 14:33:58 -05:00
Sean Owen 4d94ac22eb Add addition wifi: QR code test case from mailing list 2019-07-29 14:33:58 -05:00
Ebrahim Byagowi 48aba96999 Fix use of unicodes and punctuations in Persian translation (#1191) 2019-07-17 08:19:13 -04:00
Wang Han 4199e41fb8 Default to allow focusing in continuous-picture mode (#1186)
* This is supported on almost all devices now, and they handle this pretty
   well. Additionally, this workarounds a bug in some devices which auto mode
   will hang forever for unknown reason.
2019-07-04 14:55:58 -05:00
MakKi (makki_d) ae6d7e55af findFinderPattern()[1] points the outside pixel of the finder pattern (#1179) 2019-06-16 10:10:23 -05:00
anrcode 6075d5b2f6 Minor change to enable manual selection of the QR code mask pattern (#1176)
* Minor change to enable manual selection of the QR code mask pattern via encoding hints. Manual selection of the mask pattern greatly improves performance.

* fixed style
2019-06-13 07:02:10 -05:00
Sean Owen 723b65fe3d Refactor checking of write format in 1D writers 2019-05-31 10:53:24 -05:00
MakKi (makki_d) 2d77cec7c8 check format param in CodaBarWriter::encode (#1173) 2019-05-31 10:32:53 -05:00
Sean Owen 4b573da62a Android app needs to use 3.3.3 as it can't use Java 8 features only supported in API 24+ 2019-05-22 08:39:05 -05:00
Sean Owen e28ead1030 Test vs Java 11 instead of 9 2019-05-18 19:24:16 -05:00
Sean Owen d806131020 Oops, Android app artifacts weren't updated to SNAPSHOT parent 2019-05-18 08:18:03 -05:00
Sean Owen 9fa56f5db0 Update site for 3.4.0 2019-05-17 22:50:25 -05:00
Sean Owen 8f1a751ea5 [maven-release-plugin] prepare for next development iteration 2019-05-17 19:36:16 -05:00
Sean Owen 67138cedc8 [maven-release-plugin] prepare release zxing-3.4.0 2019-05-17 19:36:09 -05:00
Sean Owen 413210434b Update Android modules to 3.4.0 2019-05-17 19:29:33 -05:00
Sean Owen 785c6632e9 3.4.0 release notes 2019-05-17 19:26:20 -05:00
Sean Owen 80e72418a4 Add module name to javase 2019-05-15 20:37:26 -05:00
Sean Owen f1683e1f4f Bump to 3.4.0. Require Java 8. Various code simplifications and plugin / dep updates 2019-05-13 18:44:57 -05:00
Sean Owen 39d50c1053 Move 'Translator' classes to .client.j2se subpackage in order to allow a Java 9 module for javase 2019-05-13 11:21:13 -05:00
MakKi (makki_d) 653ac2a3be Improve FinderPatternFinder.selectBestPatterns (#1158)
* rewrite FinderPatternFinder.selectBestPatterns
2019-04-18 06:42:52 -07:00
Sean Gilligan 0e8c46e262 core JAR Automatic-Module-Name: com.google.zxing (#1155)
Add Automatic-Module-Name entry of com.google.zxing
to the core JAR for Java Platform Module System.

See Issue #1154
2019-04-08 07:43:00 -05:00
MakKi (makki_d) fedfa7a16c Remove duplicate results when it has structured append header. (#1147)
* remove duplicate results in processStructuredAppend

* add whitespace

* remove illegal import
2019-03-22 05:51:06 -05:00
Sean Owen 8a53ade692 More sophisticated load protection, plus tests 2019-03-12 13:25:15 -05:00
Sean Owen bc645c50bb Small fixes, dep updates, removed warning about Android app, made web app params into annotations 2019-03-09 17:18:31 -06:00
Sean Owen 096cae7fcb Use nanoTime for elapsed time 2019-02-10 17:46:32 -06:00
Sean Owen fc5774ff13 Add note about Play store removal 2019-02-10 11:55:58 -06:00
fitchfuloffun eb6bea6ed3 Fixing checksum error in UPC-E barcodes (#1130)
* Converting to UPC-A before checking for matching check digits
2019-02-04 08:54:41 -06:00
Sean Owen 5e8c3d490f Disable checkstyle check 2019-01-25 22:22:12 -06:00
Sean Owen 9617a90616 Minor updates to plugins and from code inspection 2019-01-25 21:20:56 -06:00
Sean Owen a81dda90ba Small code improvements from inspections 2019-01-19 20:58:09 -06:00
Davod d897ad7f72 Corrections (#1125)
* Update about1d.html

* Update about2d.html

* Update license.html

* Update scanning.html

* Corrections by Amitie10g
2018-12-30 18:30:27 -06:00
Sean Owen d6d1a223bf Add nu-book/zxing-cpp 2018-12-17 11:28:49 -06:00
Sean Owen 3a6891d268 Clarify CONTRIBUTING.md 2018-12-07 07:04:48 -06:00
John Hall 1765887315 Avoid book search crash on invalid intent (#1114) 2018-12-05 13:05:12 -06:00
Sean Owen 22b8a0a983 Clarify project is in maintenance mode 2018-11-27 12:44:57 -08:00
MakKi (makki_d) 6b3bf9ea40 fix typo (#1111) 2018-11-23 05:58:29 -06:00
MakKi (makki_d) 79bdb2c84e Continue in codeset A when character encoded single number or FNC1-4 in Code128Writer (#1108)
* Continue in code A when character encodes FNC1-4 in Code128Writer

* FNC1 in codeset A

* Single number also can continue in codeset A
2018-11-15 09:00:01 -06:00
MakKi (makki_d) e636498b5e Support Full-ASCII in Code93Writer (#1104)
* support extended characters in Code93Writer

* remove redundancy

* add test for convertToExtended

* thanks for review

* fix comment, use package-private for testing
2018-11-09 08:05:07 -06:00
MakKi (makki_d) b31e090239 Optimize code width calculation in Code39Writer (#1103)
Every code39 character has 9 bars containing 3 wide bars, and separated by a white bar.
(9-3)*1 + 3*2 + 1 = 13
2018-11-04 09:57:58 -06:00
MakKi (makki_d) 58feb44536 fix code93 extended character decoder (#1101) 2018-11-02 10:51:39 -05:00
Sean Owen 1f4aaad628 Minor dependency and inspection changes 2018-10-25 07:43:35 -05:00
Pasan Manudul Amarasiri 71f5773d8e Added a null check for relative points (#1096) 2018-10-23 07:36:11 -05:00
MakKi (makki_d) c13216ce08 Rewrite DataMatrix Detector (#1080)
* rewrite datamatrix detector

* comments

* remove unused

* modify test

* fix CI errors
2018-10-04 04:24:38 -05:00
Ben John c7c016a20f Corrected exception message in EAN8Writer (#1073)
- according to EAN13Writer, both possibilities should be reflected within the message
2018-09-24 07:54:10 -05:00
Ben John e6937d25e8 Corrected exception message in UPCEWriter (#1074)
- according to EAN13Writer, both possibilities should be reflected within the message
2018-09-24 07:53:11 -05:00
Sean Owen e9b9fa23fd Make DoS test case possibly less flaky 2018-09-22 11:49:46 -05:00
Ben John 5a282c5e05 Fixed duplicated assertion (#1072) 2018-09-21 19:55:15 -05:00
Sean Owen ea0a9a670f Barcode Scanner 4.7.8 2018-09-11 08:59:25 -05:00
Sean Owen 36f38c5beb Many more changes from recent IJ inspections 2018-09-03 15:18:54 -05:00