Commit graph

1106 commits

Author SHA1 Message Date
Sean Owen 4050f5c2f3 Fix some issues flagged by Coverity static analysis 2014-04-22 22:20:58 +01:00
Sean Owen 391e85ea51 Remove unnecessary lazy init of QR code GF classes, and avoid accessing null field during construction 2014-04-22 22:18:41 +01:00
Sean Owen 2894c094f5 Issue #118 (supplemental) Fix logic error on a null encoding 2014-04-22 21:24:20 +01:00
Sean Owen 27cff89316 [maven-release-plugin] prepare for next development iteration 2014-04-18 14:30:03 +01:00
Sean Owen 32fcad21c3 [maven-release-plugin] prepare release zxing-3.0.1 2014-04-18 14:27:03 +01:00
Sean Owen 7d878d701e Issue #116 add range check and simplify some conditions 2014-04-18 11:06:08 +01:00
Sean Owen 252a9e34cf Fix other Java 8 javadoc warnings 2014-04-13 22:16:08 +01:00
Sean Owen a4af21a0fe Issue #108 : avoid accessing system property directly to avoid a potential security exception 2014-03-31 13:57:48 +01:00
Sean Owen b09290c7dc Issue #105 avoid accessing Charset Cp437 until absolutely necessary, as it won't work on Android sometimes 2014-03-28 14:14:27 +01:00
Sean Owen fabd9f6473 Minimal changes to build successfully with Java 8, plus optional profile to enable it 2014-03-25 18:01:01 +00:00
Sean Owen f0532a2730 Issue #86 : Fix logic error in Code 39 that was requiring too much quiet zone 2014-03-13 14:19:08 +00:00
Sean Owen 6545971a7e Disable strangely flaky test for now 2014-03-06 13:42:37 +00:00
Sean Owen f1c385ba93 [maven-release-plugin] prepare for next development iteration 2014-02-28 12:27:11 +00:00
Sean Owen 47b3d63d97 [maven-release-plugin] prepare release zxing-3.0.0 2014-02-28 12:20:21 +00:00
Sean Owen cef513e790 Correctly configure findbugs, add excludes, fix a few simple warnings 2014-02-26 22:47:32 +00:00
Sean Owen e9ff0501c7 Disable test that is flaky on OpenJDK 7 only for now 2014-02-25 11:42:23 +00:00
Chris Gulley a4a9817065 Build barcode from left to right instead of right to left. 2014-02-24 09:37:19 -06:00
Sean Owen c77b79d690 Handle VEVENT with malformed GEO 2014-02-22 13:06:32 +00:00
Sean Owen 1b898320ac Issue #67 : Avoid rare AIOOBE on PDF417 misread 2014-02-21 08:10:42 +00:00
Sean Owen bd4536f077 Issue #63 : minor formatting and doc changes 2014-02-18 12:49:30 +00:00
Ralf Kistner 1baa8f3311 Specify allowed EAN extensions as a hint. 2014-02-18 12:26:50 +02:00
Sean Owen 9d4b8b9565 Issue #61 : touch up style in test and simplify new logic 2014-02-17 22:56:49 +00:00
Sean Owen 525774a953 Merge pull request #61 from ColinxLLC/master
Support for Code B FNC characters
2014-02-17 22:03:55 +00:00
mkicinski e45d175829 Unit test FNC1 and FNC2 2014-02-17 15:57:13 -05:00
mkicinski c064fe21de Add support for Code B FNC characters 2014-02-17 15:12:08 -05:00
Sean Owen 3faef2804c Issue #52 : add AUTHORS credit and touch up some whitespace 2014-02-12 23:42:55 +00:00
Sean Owen a8cd708508 Merge pull request #52 from tgibson11/master
Reduce possibility of detecting white rectangles within barcodes
2014-02-12 23:32:46 +00:00
Sean Owen e3d6c3e49f Allow all long-ish ITF code lengths, as the result is very unlikely to be a false positive, and there are apparently a number of uses of long-ish ITF codes of various lengths out there. Allowed lengths are now interpreted as allowing those lengths and anything longer than the largest allowd length. 2014-02-12 17:50:57 +00:00
tgibson11 670e238cfc Modified WhiteRectangleDetector
Continue expanding the rectangle until at least one black point has been
found on each side, instead of stopping immediately when all sides are
white - which might still be inside the barcode.
2014-02-12 10:18:22 -07:00
tgibson11 78e2ac4522 Update WhiteRectangleDetector.java
Changed image-only version of the constructor to calculate an appropriate initSize based on the image dimensions.
2014-02-10 15:03:49 -07:00
Sean Owen 937d087365 Delete old test gen code 2014-02-08 09:41:38 -05:00
Sean Owen 5d5a8e20fc Handle invalid VIN-like data in Code 39 barcodes 2014-02-06 00:00:20 -05:00
Sean Owen dddc1c4e19 Move to use of Java 7 NIO2 APIs 2014-01-31 13:01:18 +00:00
Sean Owen c42131e866 Issue #41 : Handle null barcode metadata in PDF417 in corner case 2014-01-29 13:22:32 +00:00
Sean Owen 7199f4ad17 Closes Issue #27 : add basic character set ECI support in PDF417 2014-01-27 09:17:47 +00:00
Sean Owen 7169d1ad18 More FindBugs changes as part of test 2014-01-26 22:54:26 +00:00
Sean Owen 9567698f63 Small commit for issue #27, and part of a test 2014-01-26 22:47:13 +00:00
Sean Owen 077ae83bc3 FindBugs inspection -- part of a test commit 2014-01-26 22:38:57 +00:00
Sean Owen 42cfa9ca3e Closes Issue #37 : don't respond to (invalid?) UPC-E codes that aren't 8 digits 2014-01-23 22:14:26 +00:00
Sean Owen d7c78074ec Refactor a little bit of result parsing (mostly, a test commit) 2014-01-23 21:56:09 +00:00
Sean Owen be038c7eef Try a diagonal cross check in PURE_BARCODE mode for QR codes to avoid false positives. HT fics.danmark 2014-01-23 20:27:30 +00:00
Sean Owen 9983ccc428 Add VIN result type 2014-01-18 19:42:06 +00:00
Sean Owen 3f6ee7f789 Update project site references to Github 2014-01-18 14:06:46 +00:00
Sean Owen 3bd1c7c5ff Update .gitignores everywhere for IDEA files, etc 2014-01-17 11:13:30 +00:00
srowen 6463455d26 Issue 1825. PDF417Reader can't modify the image. When it doesn't, it actually reduces the number of images that pass unfortunately.
git-svn-id: https://zxing.googlecode.com/svn/trunk@3001 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-20 16:44:39 +00:00
srowen 10c2f71671 Handle smaller images in WhiteRectangleDetector
git-svn-id: https://zxing.googlecode.com/svn/trunk@3000 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-19 16:16:08 +00:00
srowen 373f4f5c39 Suppress ignorable unchecked cast warning
git-svn-id: https://zxing.googlecode.com/svn/trunk@2997 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-19 14:39:00 +00:00
srowen 17f3ab9c7e Issue 1823: fix handling of initial alt Codabar char, and improve tests
git-svn-id: https://zxing.googlecode.com/svn/trunk@2996 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-19 14:35:03 +00:00
srowen 9a5391b653 Issue 1821: structured append support in QR code from mike06j
git-svn-id: https://zxing.googlecode.com/svn/trunk@2994 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-13 15:50:26 +00:00
srowen cce6d80637 Issue 1820 add Code 128 FNC4 support
git-svn-id: https://zxing.googlecode.com/svn/trunk@2992 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-12 13:37:09 +00:00
srowen da9d32846a Whitespace cleanup and other inspections from IDEA 13
git-svn-id: https://zxing.googlecode.com/svn/trunk@2989 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-06 11:17:57 +00:00
srowen@gmail.com 8d7eb91faa Remove explicit luminance conversion option -- always do it in tests
git-svn-id: https://zxing.googlecode.com/svn/trunk@2983 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-02 22:26:59 +00:00
srowen@gmail.com a53c659b0e Boldly move to Java 7 for everything, including Android.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2981 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-12-02 18:18:46 +00:00
srowen@gmail.com 1a2a011cc7 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://zxing.googlecode.com/svn/trunk@2971 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 18:39:36 +00:00
srowen@gmail.com 9a0b6cec39 [maven-release-plugin] prepare release zxing-parent-2.3.0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2969 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 18:39:24 +00:00
srowen@gmail.com 1ce4516d00 [maven-release-plugin] rollback the release of zxing-parent-2.3.0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2966 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 18:31:32 +00:00
srowen@gmail.com 54a3bfabab [maven-release-plugin] prepare for next development iteration
git-svn-id: https://zxing.googlecode.com/svn/trunk@2965 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 18:22:18 +00:00
srowen@gmail.com ca14065f0d [maven-release-plugin] prepare release zxing-parent-2.3.0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2963 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 18:22:07 +00:00
srowen@gmail.com 0a89cdddf2 [maven-release-plugin] rollback the release of zxing-parent-2.3.0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2960 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 18:14:42 +00:00
srowen@gmail.com b852b82042 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://zxing.googlecode.com/svn/trunk@2959 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:59:41 +00:00
srowen@gmail.com 5fc526df04 [maven-release-plugin] prepare release zxing-parent-2.3.0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2957 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:59:31 +00:00
srowen@gmail.com 1b6986abe3 [maven-release-plugin] rollback the release of zxing-parent-2.3.0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2954 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:52:28 +00:00
srowen@gmail.com d7f11da90b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://zxing.googlecode.com/svn/trunk@2953 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:26:37 +00:00
srowen@gmail.com e1949f057d [maven-release-plugin] prepare release zxing-parent-2.3.0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2951 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:26:27 +00:00
srowen@gmail.com a7f213f060 [maven-release-plugin] rollback the release of zxing-2.3.0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2949 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:19:30 +00:00
srowen@gmail.com 39899fd9aa [maven-release-plugin] prepare release zxing-2.3.0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2948 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:17:35 +00:00
srowen@gmail.com 7d988572d4 [maven-release-plugin] rollback the release of zxing-parent-2.3.0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2947 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:11:59 +00:00
srowen@gmail.com d01ddc6d70 [maven-release-plugin] prepare release zxing-parent-2.3.0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2946 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 17:02:40 +00:00
srowen@gmail.com a741181e8d Roll back to 2.3.0-SNAPSHOT again
git-svn-id: https://zxing.googlecode.com/svn/trunk@2944 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 16:57:21 +00:00
srowen@gmail.com afe159b22e [maven-release-plugin] prepare release zxing-parent-2.3.0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2943 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 16:49:00 +00:00
srowen@gmail.com 13a092262b Roll back to 2.3.0-SNAPSHOT for another attempt
git-svn-id: https://zxing.googlecode.com/svn/trunk@2941 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 16:41:16 +00:00
srowen@gmail.com 8d846457e0 [maven-release-plugin] prepare release zxing-parent-2.3.0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2934 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-29 14:37:04 +00:00
srowen@gmail.com 1bcc298ad3 Move resources to match Maven standard directory structure
git-svn-id: https://zxing.googlecode.com/svn/trunk@2915 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-21 23:01:31 +00:00
srowen@gmail.com cc8254bfc3 Reduce test warning about newlines to info
git-svn-id: https://zxing.googlecode.com/svn/trunk@2914 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-21 12:34:36 +00:00
srowen@gmail.com 8e909ddb51 Version should really be in x.y.z form. Simplify dir location config, and actually generate source/javadoc artifacts
git-svn-id: https://zxing.googlecode.com/svn/trunk@2913 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-21 12:00:37 +00:00
srowen@gmail.com 59ea393a08 Try again to introduce one parent pom for all modules
git-svn-id: https://zxing.googlecode.com/svn/trunk@2910 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-17 01:34:42 +00:00
srowen@gmail.com 7cb18ee813 Update plugin versions
git-svn-id: https://zxing.googlecode.com/svn/trunk@2905 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-05 11:58:53 +00:00
srowen@gmail.com f03b60ef0d Make start symbol a part of returned raw byte representation of Code 128
git-svn-id: https://zxing.googlecode.com/svn/trunk@2904 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-11-01 03:28:26 +00:00
srowen@gmail.com 65ce3f0896 Issue 1788 additional fix for vCard delimited name parsing
git-svn-id: https://zxing.googlecode.com/svn/trunk@2900 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-10-13 23:05:14 +00:00
srowen@gmail.com ad24a551aa Simple changes from code inspection
git-svn-id: https://zxing.googlecode.com/svn/trunk@2899 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-10-13 22:15:01 +00:00
srowen@gmail.com 6d7a77d73f Handle ; separators in N vCard field
git-svn-id: https://zxing.googlecode.com/svn/trunk@2897 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-10-03 08:22:40 +00:00
srowen@gmail.com 0b56d79d00 Issue 1789 PDF417 encoding fix for 1-character latch into byte mode
git-svn-id: https://zxing.googlecode.com/svn/trunk@2896 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-10-02 15:17:22 +00:00
srowen@gmail.com f84c8470a4 Don't throw IllegalArgumentException in RSS reader; use checked FormatException to fit into BS error checking mechanism correctly
git-svn-id: https://zxing.googlecode.com/svn/trunk@2893 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-09-13 12:01:50 +00:00
srowen@gmail.com 6c103e7840 Issue 1778 maybe avoid NPE
git-svn-id: https://zxing.googlecode.com/svn/trunk@2892 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-09-09 20:23:30 +00:00
srowen@gmail.com c43cf419c2 Fix issues similar to 1776
git-svn-id: https://zxing.googlecode.com/svn/trunk@2887 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-09-08 20:50:01 +00:00
srowen@gmail.com 7807214bbd Issue 1776 fix bad location of Code 39 end pattern when followed by lots of white space
git-svn-id: https://zxing.googlecode.com/svn/trunk@2886 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-09-08 20:42:29 +00:00
srowen@gmail.com 1d086a09af Type weakening and dead code commenting again
git-svn-id: https://zxing.googlecode.com/svn/trunk@2876 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-26 17:27:54 +00:00
srowen@gmail.com e23507a825 Issue 1764 bit reverse speedup
git-svn-id: https://zxing.googlecode.com/svn/trunk@2875 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-20 08:13:25 +00:00
srowen@gmail.com 558dad051e Issue 1758 try again with better rule implementation that counts all exterior regions as white
git-svn-id: https://zxing.googlecode.com/svn/trunk@2873 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-19 12:15:24 +00:00
srowen@gmail.com a582958cc3 Issue 1736 reject UPC/EAN less than 8 chars
git-svn-id: https://zxing.googlecode.com/svn/trunk@2871 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-19 10:24:59 +00:00
srowen@gmail.com 5fd33bb9d2 Issue 1762 PDF417 speed up and back-port to Java
git-svn-id: https://zxing.googlecode.com/svn/trunk@2870 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-19 08:54:10 +00:00
srowen@gmail.com 23ab47533b Issue 1758: revert last change, applying penalty at edge is necessary. Try new change from original code to avoid applying in the "2 1 3 1 1" case
git-svn-id: https://zxing.googlecode.com/svn/trunk@2867 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-17 09:08:25 +00:00
srowen@gmail.com 8d18bab224 Issue 1758 correct corner case of mask pattern penalty 3
git-svn-id: https://zxing.googlecode.com/svn/trunk@2866 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-16 13:51:03 +00:00
srowen@gmail.com 4e1a2acf82 More misc inspection stuff
git-svn-id: https://zxing.googlecode.com/svn/trunk@2862 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-08-08 08:44:02 +00:00
srowen@gmail.com 289cc0f66f Allow less quiet zone to start an ITF barcode when it is near the edge
git-svn-id: https://zxing.googlecode.com/svn/trunk@2852 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-07-30 06:39:56 +00:00
srowen@gmail.com 2935184135 Issue 1742 fix back-tick in text encodation set
git-svn-id: https://zxing.googlecode.com/svn/trunk@2850 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-07-28 09:49:23 +00:00
srowen@gmail.com 20193fda16 Issue 1737: Add hint to not strip Codabar start/end
git-svn-id: https://zxing.googlecode.com/svn/trunk@2847 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-07-24 08:08:37 +00:00
srowen@gmail.com ef96893525 Issue 1738 Add support for margin hint in PDF417
git-svn-id: https://zxing.googlecode.com/svn/trunk@2846 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-07-23 22:06:06 +00:00
srowen@gmail.com dd79103734 Fix parsing of '12756.501'
git-svn-id: https://zxing.googlecode.com/svn/trunk@2841 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-07-17 09:58:11 +00:00
srowen@gmail.com d037febeeb Update javadoc plugin
git-svn-id: https://zxing.googlecode.com/svn/trunk@2838 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-07-05 23:27:37 +00:00