Commit graph

1185 commits

Author SHA1 Message Date
David Sanders 0ec5b9a260 Add new matrix tests in RGBLuminanceSourceTestCase (#757) 2017-02-20 05:58:12 -08:00
David Sanders 25776d82d9 Correct size of array in ITFWriter (#756) 2017-02-19 03:51:20 +00:00
Sean Owen 06ccbf72ae
Issue #751 fix misparsing of vCard phone vs type in case of blank value or type 2017-02-10 16:50:40 +00:00
Sebastian dcde8a30a6 Fix two typos in Javadocs (#750) 2017-02-02 17:28:13 +00:00
Sean Owen b8c3d08e19
Closes #738 : fix UPC-E encoding with system 1 2017-01-06 14:17:48 +00:00
Sean Owen f5b5c3a97e
Factor out boolean[][] -> BitMatrix parsing 2017-01-06 13:29:10 +00:00
Sean Owen dfe4819691
Minor updates / optimization from inspection; minor plugin / dependency updates 2016-12-12 15:50:30 +00:00
Sean Owen 0dfda08078
Fix typos; avoid use of java.util.Date; other small improvements from inspection; deprecate some accidentally-public methods 2016-11-29 12:16:07 +00:00
Sean Owen 28f8bd37f3
Update deps including Guava 20; use switch in pref to chained if-else for slightly more consistent style 2016-11-11 20:20:46 +00:00
Sean Owen c219e28d56
More on #679 : convert UPC-E to A before getting check digit 2016-10-01 08:48:55 -05:00
Sean Owen 24681e8488
Partial fix for #679: UPC/EAN min quiet zone is 9 modules for encoding 2016-09-30 20:04:34 -05:00
Sean Owen 2d02cb05ea
Partial fix for #679: add check digit if absent in UPC-A/E EAN-13/8 encoding, and reject those with invalid check digit 2016-09-30 17:41:40 -05:00
Sean Owen 75c51f93fe
Update lax count for qr code 2 2016-09-30 17:41:01 -05:00
Sean Owen 2434efd625
Add ECI segment whenever encoding is explicitly given, even when it's the default encoding 2016-09-29 23:53:22 -05:00
Sean Owen ec383d2411 [maven-release-plugin] prepare for next development iteration 2016-09-16 15:20:51 +01:00
Sean Owen 6b6ad7ff0b [maven-release-plugin] prepare release zxing-3.3.0 2016-09-16 15:20:45 +01:00
Sean Owen 47459f4bd7 Bump SNAPSHOT to 3.3.0 for next release 2016-09-11 22:07:04 +01:00
Sean Owen 1a444601d9 Move gh-pages branch into docs/, fix/overhaul site gen and javadoc, and regenerate site for 3.2.2-SNAPSHOT 2016-09-11 20:52:01 +01:00
Sean Owen 30dc420bab More coverage for Code93/39 writers, and for multiple barcode detection 2016-09-11 13:44:13 +01:00
Sean Owen 0718d8a45f A little more coverage for PDF417 writer and multi QR code 2016-09-11 09:51:20 +01:00
Sean Owen 28c3288094 Add more tests to better cover DataMatrix, Maxicode decoding 2016-09-10 17:36:02 +01:00
Sean Owen 75d6000c1d Add 'getNumBits' to Result objects to return when not all bits of the raw byte representation are valid (#664) 2016-09-09 18:44:09 +01:00
Sean Owen b639d5748d Deprecate MonochromeRectangleDetector and more coverage-related improvements 2016-09-05 21:00:59 +01:00
Sean Owen 0895b3cefa Improve code coverage in some core classes, plus fix a small BitMatrix bug 2016-09-05 17:29:59 +01:00
fgrieu e9e2bd280b Update DataMask.java (#653)
Further micro-optimize QR data mask recognition; more comment for earlier such changes.
2016-08-28 23:12:25 +01:00
Sean Owen 7b1e1ccadb Fix some warnings from new inspection tool 2016-08-26 16:21:05 +01:00
Sean Owen 33fd85e0c2 Minor changes from inspection 2016-08-22 10:46:41 +01:00
Sebastian Buchwald 70db62d11b Optimize QR data mask recognition (#652) 2016-08-22 10:33:43 +01:00
Sebastian Buchwald 7805a7551c Fix some typos (#651) 2016-08-22 10:29:31 +01:00
Sean Owen ba6ce9fb25 Minor follow on to last QR code version hint commit 2016-08-08 11:30:18 +01:00
germinator d60c0f14bd Add ability to specify a QR code version hint. (#637)
* Add ability to specify a QR code version hint.

* Checkstyle.
2016-08-08 11:22:35 +01:00
Sean Owen f6a1e20e1b Fix one code warning; update plugins 2016-08-08 11:16:57 +01:00
fgrieu b708f95a87 Aztec decoder fix: return to Upper mode after U/S B/S sequence. (#643)
* Update Decoder.java

* Add files via upload

dlusbs.png and dlusbs.txt is a test case for the D/L [digit] U/S B/S sequence, which should end in Upper mode, not Digit mode

* Update number of test cases

* Comment logic of the fix

* Mention fixed issue #642
2016-08-08 09:09:53 +01:00
Sean Owen 2f11529aa3 A bunch of inspection changes, including some dead code removal and tightening visibility, removing unnecessary casts 2016-07-24 18:29:42 +01:00
Sean Owen d3dd1827ba Don't interpret very long strings.with.dots.like.this to be interpreted as URIs 2016-07-08 15:21:18 +01:00
Sean Owen 7e2d7c0b21 Crush some PNGs that could benefit from it 2016-07-02 14:13:11 +01:00
Sean Owen a1a51de290 Oops, fix fat finger typo from last change 2016-06-24 10:48:25 +01:00
Sean Owen 08e5431d99 Implement more style checks around whitespace 2016-06-24 10:28:00 +01:00
Sebastian Buchwald ee150757ec Fix typo (#615) 2016-06-21 21:20:16 +01:00
Sean Owen 1a5b739cdc Closes #610 : avoid AIOOBE in pure-barcode mode for obviously wrong case 2016-06-20 09:20:16 +01:00
Sean Owen 5927f6ef09 Redirect to https://zxing.org directly, and touch up a build warning 2016-06-20 09:13:21 +01:00
Sean Owen c044a946e9 Put optimization behind a profile as it won't currently work with JDK9 2016-06-13 10:25:49 +01:00
Sean Owen 3d18e3e449 Update proguard plugin to 2.0.13 2016-06-10 13:59:08 +01:00
Sean Owen 6cdc7493d5 Closes Issue #607 : guard against very narrow images which would otherwise cause an exception 2016-06-10 13:58:51 +01:00
Sean Owen b1f4b5a269 Try local-only Proguard optimization for core library 2016-06-08 18:40:27 +01:00
Sean Owen 58f748a451 Remove unneeded .gitignore, and unneeded libs copy step for Android targets. Update plugins. Fix javadoc warning / checkstyle problem. 2016-06-08 15:15:06 +01:00
Sean Owen 032e1547ae Enable some additional checkstyle rules 2016-06-04 22:40:48 +01:00
Sean Owen 389f69f4b2 Add minimal javadoc to all classes (and enforce with checkstyle); minor refactoring to of array sum code 2016-06-04 15:36:32 +01:00
Nayuki 7cf49565c2 Simplified pieces of code (#601)
* Simplify code in bit-twiddling methods, using APIs introduced in Java 5.

* Align code by adjusting whitespace and adding `+0`.

* Convert qrcode DataMask to enum to reduce source code size, which shouldn't change behavior.

* Simplify lists of character constants using string initializer instead of array.

* Remove redundant `+ 0` operations from a recent change.

* Delete the function DataMask.forReference() and inline the logic into all its callers.
2016-05-25 06:46:44 -05:00
Sean Owen c2eb20d976 Compute locale-specific expected date strings in test for JDK 9 compatibility 2016-05-23 07:18:48 -05:00