Commit graph

1223 commits

Author SHA1 Message Date
Florian Schrag dbfd5520e9 Improve support for Macro PDF417 (#973)
* Improve support for Macro PDF417

* cleanup and move license to it's proper place

* add .editorconfig + proper indentation / add optionalFields array

* rename variables and use Arrays instead of System

* replaced length with to

* restore spaces & switch to package private
2018-03-15 14:44:55 -05:00
Michael Jahn a3bbebccba ZXing 3.3.2 snapshot still creates wrong barcode for text with leadin… (#967)
* ZXing 3.3.2 snapshot still creates wrong barcode for text with leading asterisk #960

* missing spaces
2018-03-04 15:17:40 -06:00
Christoph Läubrich c8da0c1a94 Fix #957 - Provide OSGi Metadata in Manifest (#958)
* Fix #957 - Provide OSGi Metadata in Manifest

* replace tabs by whitespaces

* Try once again to fix whitespace/indentation
2018-02-16 17:35:41 -06:00
Sean Owen 80fd5b1a1c [maven-release-plugin] prepare for next development iteration 2018-01-30 22:10:20 -06:00
Sean Owen 588e6ae4bd [maven-release-plugin] prepare release zxing-3.3.2 2018-01-30 22:10:15 -06:00
Sean Owen 229e5e34db Update plugins 2018-01-28 10:42:05 -06:00
Lakshmikant Avasarala 1861cf4f01 Proposed fix for Issue #836 - height and width parameters ignored when barcode_format is DATA_MATRIX (#933)
* Proposed fix for Issue #836 - height and width parameters ignored when barcode_format is DATA_MATRIX

* Adding requested changes for PR #933

* Wording change in Javadoc to make the description more sensible
2017-12-28 09:42:17 -06:00
Damian Peckett e54e0c781b Add support for encoding GS1 formatted QR (#927)
* Add support for encoding GS1 formatted QR

* Place FNC1 mode header after ECI header
2017-12-18 09:13:53 -06:00
Sean Owen a3018f8768 Remove obsolete unrolled loops 2017-11-20 14:12:13 -06:00
Sean Owen 3ae6b336e1 Issue #914: increase heuristic to allow version 11-20 in non-try-harder mode 2017-11-20 07:19:18 -06:00
Sean Owen 63bcf0ca9c Closes #909 2017-11-16 11:53:40 -06:00
Sean Owen 5409e6b6fd Closes #912 2017-11-16 11:40:33 -06:00
Sean Owen ea3b04289d Fixes issue #908 2017-11-13 19:36:57 -06:00
Aldracor 72a21d158b Add QRCode lenient diagonal check (#906)
* Add QRCode lenient diagonal check

Adding diagonal check to solve #897 to prevent false positives for centers

* update tests to expect the increased number of successes
2017-11-08 10:11:25 +00:00
Sean Owen 7eae23f659 Guard against a few rare errors from Play logs 2017-11-02 11:54:25 +00:00
Steffen Kieß 49d90b6457 Implement support for WPA2 Enterprise (EAP) (#865) 2017-10-29 20:40:53 +00:00
Sean Owen 5284daa336 Restore changed protected method to satisfy clirr, just in case something extends it. 2017-10-29 10:26:45 +00:00
Sean Owen c2a2245bb9 Remove unused cross-check-diagonal logic 2017-10-29 09:56:47 +00:00
Sean Owen 550afd451c [maven-release-plugin] prepare for next development iteration 2017-10-25 18:28:09 +01:00
Sean Owen 0edfaa0318 [maven-release-plugin] prepare release zxing-3.3.1 2017-10-25 18:28:02 +01:00
Sean Owen f4d5b1f785 [maven-release-plugin] rollback the release of zxing-3.3.1 2017-10-25 18:22:03 +01:00
Sean Owen cd97b100fa [maven-release-plugin] prepare for next development iteration 2017-10-25 18:12:27 +01:00
Sean Owen 06eb69b579 [maven-release-plugin] prepare release zxing-3.3.1 2017-10-25 18:12:21 +01:00
Sean Owen 05093ed3d2 Disable Android, proguard, appspot for JDK 9 2017-09-22 17:50:34 +01:00
Michael Jahn 24f170efb3 Add codeset A support to Code 128 (#877)
* add support of Codeset A for Code 128

* simplification, everything from 0 to 127 is supported by Codeset A and B
2017-09-20 07:44:23 +01:00
Michael Jahn 437db89b45 Code39 extended mode encoding support (#876)
* asterisk isn't a valid character which can be encoded with Code 39.
the following sample content results in an unreadable barcode: *123456789
because the asterisk is the start-stop character (special meaning, not valid in content)
the really encoded value is **123456789*. The barcode reader stops after reading the second asterisk
and throw the content away.

* remove wrong private modifier for ALPHABET_STRING

* cleanup comments

* add support for Code 39 extended mode encoding

* add support for Code 39 extended mode encoding

* clean ups

* clean ups
2017-09-18 17:17:38 +01:00
Michael Jahn 76d9dd5cf6 Fix extended mode decoding code39 (#873)
* fix extended mode decoding of Code 39

* beautification

* tests for Code 39 extended mode decoding, full supported ascii table
2017-09-17 21:31:40 +01:00
Michael Jahn 1d66d793ed asterisk isn't a valid character and should not be encoded as content with Code 39. (#872)
* asterisk isn't a valid character which can be encoded with Code 39.
the following sample content results in an unreadable barcode: *123456789
because the asterisk is the start-stop character (special meaning, not valid in content)
the really encoded value is **123456789*. The barcode reader stops after reading the second asterisk
and throw the content away.

* remove wrong private modifier for ALPHABET_STRING

* cleanup comments
2017-09-15 07:23:29 +01:00
Sean Owen 04595508b6 Require Android API 19, so fully use Java 7 try-with-resources, as well as a few other Java 7 features. Reduce deprecation warning count in android 2017-09-11 14:05:37 +01:00
Sean Owen 4ddc8c9e49 Issue 863: add limited support for VALUE=uri in vCard 2017-09-02 08:57:14 +01:00
Sean Owen ae6b9f4426 A few more touch-ups from Codacy 2017-06-16 13:51:08 +01:00
Sean Owen 3c64fa1e62 Fix Codacy warnings 2017-06-14 18:50:03 +01:00
Sean Owen 458923c3cd Closes issue #806: bad encodation switch in non-ASCII DataMatrix encodation (credit micjahn) 2017-05-31 10:49:41 +01:00
David Sanders 7df4aa6694 Clean up whitespace (#800) 2017-05-14 17:54:32 +01:00
David Sanders 5a5237b4a8 Drop debugging code from UPCEWriter (#803) 2017-05-14 17:53:42 +01:00
Sean Owen 5b14d23194 Update plugins/deps, fix bug in base64 decoding 2017-04-06 14:31:14 +01:00
David Sanders 8d12dc4155 Minor performance improvements to HybridBinarizer (#762) 2017-02-27 18:21:59 +00:00
David Sanders 6546dc5863 Add basic test case for ITFWriter (#758) 2017-02-25 01:18:12 +00:00
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