Commit graph

986 commits

Author SHA1 Message Date
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 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
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 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 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 e8a23d5085 Aztec updates from fyellin
git-svn-id: https://zxing.googlecode.com/svn/trunk@2834 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-07-01 08:58:45 +00:00
srowen@gmail.com 228f3d20ca AztecWriter improvements from fyellin
git-svn-id: https://zxing.googlecode.com/svn/trunk@2822 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-06-18 20:40:01 +00:00
srowen@gmail.com 732d34cc5a Issue 1712 fix handling of start/stop chars
git-svn-id: https://zxing.googlecode.com/svn/trunk@2820 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-06-18 16:35:40 +00:00
srowen@gmail.com f6df6000d5 We can finally use isEmpty(), given Android 2.3.3+ is required
git-svn-id: https://zxing.googlecode.com/svn/trunk@2819 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-06-17 12:42:56 +00:00
srowen@gmail.com b0ee984ebe Support mirrored QR codes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2815 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-06-06 12:08:08 +00:00
srowen@gmail.com 11dbdde1c5 Issue 1693 Aztec encoder improvements
git-svn-id: https://zxing.googlecode.com/svn/trunk@2814 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-06-01 13:56:31 +00:00
srowen@gmail.com f9bf974d1c More improvements from fyellin
git-svn-id: https://zxing.googlecode.com/svn/trunk@2813 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-05-31 00:04:50 +00:00
srowen@gmail.com 71d7987c28 Issue 1694 NPE when no hints
git-svn-id: https://zxing.googlecode.com/svn/trunk@2812 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-05-29 11:46:20 +00:00
srowen@gmail.com 2ecec34f74 Issue 1605 Frank's patch to improve Aztec detection
git-svn-id: https://zxing.googlecode.com/svn/trunk@2811 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-05-28 21:51:20 +00:00
srowen@gmail.com c35e8e38ea Avoid AIOOBE, again, with over large correction for nudge in corner cases
git-svn-id: https://zxing.googlecode.com/svn/trunk@2809 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-05-23 08:59:39 +00:00
srowen@gmail.com 8968ca75ce Issue 1676 retune ITF slightly to avoid a misread
git-svn-id: https://zxing.googlecode.com/svn/trunk@2808 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-05-23 07:49:23 +00:00
srowen@gmail.com 279cf84a13 Issue 1688 reject unexpected macro block code instead of getting into a loop
git-svn-id: https://zxing.googlecode.com/svn/trunk@2807 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-05-23 07:32:07 +00:00
srowen@gmail.com 6fe6504dad Detect invalid input to Code 39 encoder and reject it more explicitly
git-svn-id: https://zxing.googlecode.com/svn/trunk@2803 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-05-19 15:56:15 +00:00
srowen@gmail.com 2561cb3ce6 Avoid possible NPE when there is no bounding box?
git-svn-id: https://zxing.googlecode.com/svn/trunk@2801 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-05-18 12:52:38 +00:00
srowen@gmail.com 5214bf1840 Tighten up some non-private fields in DM encoder
git-svn-id: https://zxing.googlecode.com/svn/trunk@2800 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-05-17 15:50:51 +00:00
srowen@gmail.com f525aa7ebb v4.4 update notes already, plus a javadoc fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@2797 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-05-15 17:11:11 +00:00
srowen@gmail.com 881e2cb7da Comment out unused encoder code (per Frank Yellin)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2720 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-05-11 18:11:16 +00:00
srowen@gmail.com 8fbcb53126 More PDF417 changes from Guenther
git-svn-id: https://zxing.googlecode.com/svn/trunk@2708 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-05-03 20:57:14 +00:00
srowen@gmail.com a47790e2c9 Minor inspection cleanup
git-svn-id: https://zxing.googlecode.com/svn/trunk@2705 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-05-02 22:43:12 +00:00
srowen@gmail.com 99db7dabec Suppress some spurious warnings and allow javac lint
git-svn-id: https://zxing.googlecode.com/svn/trunk@2701 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-30 18:47:13 +00:00
srowen@gmail.com c2ddf95c8a Fix two other AIOOBE from pure barcode mode, update javadoc
git-svn-id: https://zxing.googlecode.com/svn/trunk@2696 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-26 17:42:51 +00:00
srowen@gmail.com 99e41ef79d Fix an NPE that comes up in full testing from last commit
git-svn-id: https://zxing.googlecode.com/svn/trunk@2695 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-26 17:42:22 +00:00
srowen@gmail.com 4d8700bf07 First take on Guenther's updates for PDF417. Still need to investigate test suite #2 failures
git-svn-id: https://zxing.googlecode.com/svn/trunk@2693 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-26 15:31:42 +00:00
srowen@gmail.com 9d1497fd27 Issue 1673 assert about division algorithm state to avoid strange infinite loop situation
git-svn-id: https://zxing.googlecode.com/svn/trunk@2690 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-25 18:49:01 +00:00
srowen@gmail.com a1ed370597 Restore 48 digit ITF
git-svn-id: https://zxing.googlecode.com/svn/trunk@2680 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-22 20:10:27 +00:00
srowen@gmail.com e6c6c298e5 Issue 1138 reject image with nonsensical right-bottom black pixel in pure barcode mode
git-svn-id: https://zxing.googlecode.com/svn/trunk@2679 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-22 13:44:25 +00:00
srowen@gmail.com 96c8b2a8b6 A few inspection cleanups
git-svn-id: https://zxing.googlecode.com/svn/trunk@2660 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-18 11:26:13 +00:00
srowen@gmail.com ab1c907ad8 Move PDF417, Aztec Writers up a level for consistency
git-svn-id: https://zxing.googlecode.com/svn/trunk@2644 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-10 16:33:21 +00:00
srowen@gmail.com a620bcbc45 Issue 1659 carry through metadata on multiple barcodes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2619 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-05 09:48:17 +00:00
srowen@gmail.com b8873b8007 Issue 1653 consistent interpretation of mask penalty i: applied when 5+i=5 (i=0) consecutive modules are the same
git-svn-id: https://zxing.googlecode.com/svn/trunk@2600 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-03-30 09:27:04 +00:00
srowen@gmail.com fc42aacc43 First cut at specifying hints by Intent from Lachezar
git-svn-id: https://zxing.googlecode.com/svn/trunk@2599 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-03-29 14:39:31 +00:00
srowen@gmail.com 921c0178e0 Patch some possible runtime exceptions in new PDF417 code and remove some no-longer-unsupported test images
git-svn-id: https://zxing.googlecode.com/svn/trunk@2596 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-03-25 22:22:05 +00:00
srowen@gmail.com cae4e9c19d Add hint for GS1
git-svn-id: https://zxing.googlecode.com/svn/trunk@2595 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-03-25 15:51:55 +00:00
srowen@gmail.com a42d32ca15 PDF417 improvements from Hartmut, Christoph
git-svn-id: https://zxing.googlecode.com/svn/trunk@2594 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-03-25 15:06:58 +00:00
srowen@gmail.com 4dc5f1abac Handle Code 128 FNC1 according to GS1-128
git-svn-id: https://zxing.googlecode.com/svn/trunk@2592 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-03-20 22:00:30 +00:00
srowen@gmail.com 4787132564 Typo in last commit
git-svn-id: https://zxing.googlecode.com/svn/trunk@2588 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-03-06 13:18:28 +00:00
srowen@gmail.com 883751b8ba Add more hints for Aztec encoding
git-svn-id: https://zxing.googlecode.com/svn/trunk@2587 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-03-06 13:16:23 +00:00
srowen@gmail.com cd8985336d Make sure strings with a space aren't considered a URI
git-svn-id: https://zxing.googlecode.com/svn/trunk@2586 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-03-05 18:11:09 +00:00
srowen@gmail.com e5d060bfe7 Avoid stack overflow in some odd case in multiple barcode detection, and don't use multiple threads for one image on the command line
git-svn-id: https://zxing.googlecode.com/svn/trunk@2585 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-03-05 18:07:45 +00:00
srowen@gmail.com 33c5bd074b Issue 1638 support for several URLs in contact info, and some incidental test cleanup too
git-svn-id: https://zxing.googlecode.com/svn/trunk@2583 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-03-03 17:06:00 +00:00
srowen@gmail.com b01cff36fa Various changes from IJ12.1 inspections
git-svn-id: https://zxing.googlecode.com/svn/trunk@2581 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-03-01 20:01:40 +00:00
srowen@gmail.com d5342e8e7f Aztec encoder
git-svn-id: https://zxing.googlecode.com/svn/trunk@2577 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-02-25 12:34:50 +00:00
srowen@gmail.com 01e43af170 Better take on InvertedLuminanceSource -- allow possibility of rotation and efficient un-inversion
git-svn-id: https://zxing.googlecode.com/svn/trunk@2576 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-02-19 20:53:30 +00:00
srowen@gmail.com fbb5d02dd6 Issue 1604 Add LuminanceSource.invert() method
git-svn-id: https://zxing.googlecode.com/svn/trunk@2574 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-02-19 11:00:45 +00:00
srowen@gmail.com 3b9b63da18 URL-decode email address in mailto: link
git-svn-id: https://zxing.googlecode.com/svn/trunk@2573 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-02-13 17:27:55 +00:00
srowen@gmail.com 62bd9719a8 Doc an old ByteMatrix method in response to an SO question
git-svn-id: https://zxing.googlecode.com/svn/trunk@2572 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-02-12 20:08:33 +00:00
srowen@gmail.com a642bdd839 Issue 572 port of Data Matrix encoder from barcode4j, adapted for Android, ported by Guillaume Le Biller and stoty47 and adapted a bit more by me
git-svn-id: https://zxing.googlecode.com/svn/trunk@2569 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-02-07 20:17:08 +00:00
srowen 90e1822928 On scan we pass a grayscale image of the scanned image, which is used as a thumbnail. These days this is getting to be 2MB of data to bundle to copy around in memory. Instead scale by 50% and JPEG-encode. This saves some memory and paves the way for later perhaps saving the image data with history.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2561 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-19 20:48:03 +00:00
srowen b89f3d5e35 Support GEO, NICKNAME from vCard (add as a 'note' in Android)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2551 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-09 21:32:05 +00:00
srowen 2d135af9c9 Issue 1477 improve multi QR code finder logic
git-svn-id: https://zxing.googlecode.com/svn/trunk@2550 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-09 21:30:40 +00:00
srowen bcd38aee57 Issue 1455 use H: prefix for hidden
git-svn-id: https://zxing.googlecode.com/svn/trunk@2543 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-12-07 00:31:18 +00:00
srowen cc9a55d1a2 Catch more weird edge cases where readBits fails on bad QR codes and just return FormatException; remove a deprecated PDF417 method
git-svn-id: https://zxing.googlecode.com/svn/trunk@2542 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-12-05 20:37:20 +00:00
srowen 6f18b47af4 Minor style changes, streamline Aztec detector and CommandLineRunner slightly
git-svn-id: https://zxing.googlecode.com/svn/trunk@2521 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-17 13:20:37 +00:00
srowen 29934305d7 Continue recursion even if finding a duplicate of a prior barcode
git-svn-id: https://zxing.googlecode.com/svn/trunk@2519 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-15 12:07:11 +00:00
srowen 6767168801 More optimizations plus some improved RSS expanded misdetection detection
git-svn-id: https://zxing.googlecode.com/svn/trunk@2517 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-13 13:31:50 +00:00
srowen 14b2eeb7ae A few more small optimizations
git-svn-id: https://zxing.googlecode.com/svn/trunk@2516 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-13 09:10:27 +00:00
srowen 6352a421a3 Codabar optimization
git-svn-id: https://zxing.googlecode.com/svn/trunk@2515 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-12 20:12:04 +00:00
srowen ef33d45809 Simplified two loops with goto and fixed (?) a logic error in removing rows. Use raw contents as display text for RSS expanded since not all have a product ID.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2514 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-12 19:39:50 +00:00
srowen f3065f1210 Issue 1434 more sanity checks for RSS expanded
git-svn-id: https://zxing.googlecode.com/svn/trunk@2512 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-12 18:50:25 +00:00
srowen b3839ec5e0 Issue 583 RSS Expanded support, by Pablo Orduna and the Deusto crew, back-ported by ShumovichY
git-svn-id: https://zxing.googlecode.com/svn/trunk@2510 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-12 15:09:25 +00:00
srowen 0e4ef00d34 Issue 1432 errata from GS1 spec and support for additional var length product field 8200
git-svn-id: https://zxing.googlecode.com/svn/trunk@2509 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-10 15:02:49 +00:00
srowen 84a3b27117 Up RSS character variance tolerance a little and tighten up unit test
git-svn-id: https://zxing.googlecode.com/svn/trunk@2501 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-07 14:59:39 +00:00
srowen 786aae487e Issue 1427 fix small off by one in RSS expanded decoder
git-svn-id: https://zxing.googlecode.com/svn/trunk@2500 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-07 14:43:35 +00:00
srowen 0636cb7b08 Small tweak to last commit and test count, enable explicit conversion everywhere and patch a strange Java 7-only (JIT?) issue
git-svn-id: https://zxing.googlecode.com/svn/trunk@2495 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-04 13:35:40 +00:00
srowen eb2d89301f Issue 1417 support VEVENT DURATION property
git-svn-id: https://zxing.googlecode.com/svn/trunk@2480 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-24 17:07:52 +00:00
srowen 91a71dba0b Issue 1376 Check EAN13 checksum when encoding
git-svn-id: https://zxing.googlecode.com/svn/trunk@2454 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-10 20:32:05 +00:00
srowen f309b56557 Add cropping for RGBLuminanceSource. And remove some unrelated dead code.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2394 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-23 23:44:47 +00:00
srowen 5a557bac10 Issue 1343 fix border case version selection
git-svn-id: https://zxing.googlecode.com/svn/trunk@2393 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-20 11:10:43 +00:00
srowen eb0ac26881 Issue 1335 remove dead store
git-svn-id: https://zxing.googlecode.com/svn/trunk@2391 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-14 21:27:23 +00:00
srowen 4aa2358e31 Move RGBLuminanceSource to core/
git-svn-id: https://zxing.googlecode.com/svn/trunk@2389 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-14 09:23:23 +00:00
srowen 9add6f3992 Issue 1332 fix EDIFACT decoding
git-svn-id: https://zxing.googlecode.com/svn/trunk@2387 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-10 10:04:19 +00:00
srowen 5384255cae Issue 1325 Encoder clarifications
git-svn-id: https://zxing.googlecode.com/svn/trunk@2374 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-06 13:19:13 +00:00
srowen e4803b8799 Issue 1218 add possible support for hidden SSIDs
git-svn-id: https://zxing.googlecode.com/svn/trunk@2371 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-06 12:07:52 +00:00
srowen d52fd6879e Issue 1324 Generate proper FormatException on QR code with bad structured append segment
git-svn-id: https://zxing.googlecode.com/svn/trunk@2367 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-03 22:07:05 +00:00
srowen 1fbad444ee Fix small corner case errors from crash logs
git-svn-id: https://zxing.googlecode.com/svn/trunk@2363 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-31 17:06:20 +00:00
srowen 53ace36930 Refactor PlanarYUVLuminanceSource into core/
git-svn-id: https://zxing.googlecode.com/svn/trunk@2362 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-31 15:06:23 +00:00
srowen f653154da3 Issue 1314 add hint to control margin in Writer, and switch to more natural boolean[] representation
git-svn-id: https://zxing.googlecode.com/svn/trunk@2353 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-16 19:17:56 +00:00
srowen 95f42d6340 Issue 1312 fix byte mode compaction with early latch to another compaction
git-svn-id: https://zxing.googlecode.com/svn/trunk@2352 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-16 16:03:05 +00:00
srowen 17a237e88a Issue 1308 allow PDF417 with row height 2
git-svn-id: https://zxing.googlecode.com/svn/trunk@2349 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-09 13:47:48 +00:00
srowen d19176ec5f More inspection stuff, mostly making things final that are not intended for extension
git-svn-id: https://zxing.googlecode.com/svn/trunk@2344 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-07 20:41:00 +00:00
srowen c73aac2f90 Fix placement of ECI segment, which was wrong. Add test. Try to clean up the legacy C++ port a bit more.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2342 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-06 21:57:21 +00:00
srowen cd25a521a4 Issue 1306 Add parsing of vEvent attendee/organizer
git-svn-id: https://zxing.googlecode.com/svn/trunk@2339 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-04 14:16:04 +00:00
srowen 07c8b8282e Consolidate date parsing for calendar events. Use human readable dates in app display. Probably haven't broken anything.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2336 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-29 17:40:55 +00:00
srowen 5e9f84dea2 One final simplification
git-svn-id: https://zxing.googlecode.com/svn/trunk@2323 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-25 21:18:50 +00:00
srowen eacb5bc3ff Add some necessary test changes. Some strange strings are now recognized as URL-like but it isn't a problem. Don't lowercase URI schemes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2321 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-25 20:39:12 +00:00
srowen 585318cb22 Issue 1295 allow broader definition of URI
git-svn-id: https://zxing.googlecode.com/svn/trunk@2318 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-24 15:44:36 +00:00
srowen 8d86437747 Add ability to rotate LuminanceSource 45 degrees, for later use
git-svn-id: https://zxing.googlecode.com/svn/trunk@2314 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-20 14:46:00 +00:00
srowen bc4f114985 Issue 1288 another fix to flip PDF417 over
git-svn-id: https://zxing.googlecode.com/svn/trunk@2312 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-15 11:47:26 +00:00
srowen 14e4aad0fe Issue 1288 PDF417 barcode flipped
git-svn-id: https://zxing.googlecode.com/svn/trunk@2310 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-13 16:18:31 +00:00
srowen 212e611dc3 Issue 1270 better handle tall codes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2295 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-18 13:03:52 +00:00
srowen f1358d6c52 Refactor some duplicated math methods
git-svn-id: https://zxing.googlecode.com/svn/trunk@2294 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-15 20:38:03 +00:00
srowen 785197a625 Issue 1263 small fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@2290 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-10 13:14:33 +00:00
srowen 6ea8a2e6b0 Issue 1263 refactor PDF417 Writer interface
git-svn-id: https://zxing.googlecode.com/svn/trunk@2289 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-10 13:00:29 +00:00
srowen 420ec722fb Now support scanning for 2-digit as well as 5-digit UPC/EAN extension codes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2287 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-10 12:35:00 +00:00
srowen 500872c9ff Avoid a few more rare exceptions
git-svn-id: https://zxing.googlecode.com/svn/trunk@2284 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-10 09:00:48 +00:00
srowen b73efdfba1 Handle bad key-value pairs in URL by ignoring
git-svn-id: https://zxing.googlecode.com/svn/trunk@2283 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-06 19:33:38 +00:00
srowen 437c5f177f Back out PDF417 erasures change; doesn't quite work. But improve test and remove some dead EC code while we're here
git-svn-id: https://zxing.googlecode.com/svn/trunk@2281 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-02 21:52:41 +00:00
srowen 0b005747ff Update black box tests to reflect much better decoding with EC. Add support for correcting erasures plus tests.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2280 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-01 00:02:23 +00:00
srowen a107d0c0a4 Fix QR code encoder to correctly account for size of ECI segment
git-svn-id: https://zxing.googlecode.com/svn/trunk@2279 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-30 19:14:46 +00:00
srowen 60288ac9e4 Hunting an AIOOBE here -- clarified some code a little bit but still not seeing the issue
git-svn-id: https://zxing.googlecode.com/svn/trunk@2277 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-30 07:22:26 +00:00
srowen 4ee80c2150 Back-port more proper PDF417 R-S error correction
git-svn-id: https://zxing.googlecode.com/svn/trunk@2275 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-27 20:22:11 +00:00
srowen 8768f73604 Check for bad dimension every time to produce more meaningful error
git-svn-id: https://zxing.googlecode.com/svn/trunk@2269 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 18:23:25 +00:00
srowen 18c3b38a9a Maybe avoid a string index out of bounds exception here?
git-svn-id: https://zxing.googlecode.com/svn/trunk@2265 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 17:02:45 +00:00
srowen 8c924b470f Support multiple components in ORG
git-svn-id: https://zxing.googlecode.com/svn/trunk@2257 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-23 00:17:58 +00:00
srowen 346de1b561 Minor inspection stuff
git-svn-id: https://zxing.googlecode.com/svn/trunk@2247 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-05 17:41:28 +00:00
srowen cc204e1bde Miscellaneous tweaks from inspection
git-svn-id: https://zxing.googlecode.com/svn/trunk@2244 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-31 12:05:30 +00:00
srowen 94cae7f083 Remove deviation from PDF417 spec and faulty unit test (thanks Anders)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2241 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-30 10:58:24 +00:00
srowen 758c9c38c4 Vladimir's fix for a small typo in rect detection
git-svn-id: https://zxing.googlecode.com/svn/trunk@2239 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-29 18:21:44 +00:00
srowen 75d26706c2 Issue 1225 fix another AIOOBE for bad QR code
git-svn-id: https://zxing.googlecode.com/svn/trunk@2235 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-26 10:50:16 +00:00
srowen 1b0aed9c09 Improve detection especially under rotation
git-svn-id: https://zxing.googlecode.com/svn/trunk@2233 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-23 18:18:38 +00:00
srowen 9f45bab33c Ignore UTF byte order mark when parsing result
git-svn-id: https://zxing.googlecode.com/svn/trunk@2228 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-14 17:09:47 +00:00
srowen 882fef230c Issue 1184 handle escaped semicolons and fix test
git-svn-id: https://zxing.googlecode.com/svn/trunk@2221 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-06 22:47:05 +00:00
srowen 596e4a0871 Avoid a false positive on empty PDF 417
git-svn-id: https://zxing.googlecode.com/svn/trunk@2218 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-05 18:41:20 +00:00
srowen 5287b54bb2 Issue 1184 treat semicolon field separator as newline
git-svn-id: https://zxing.googlecode.com/svn/trunk@2214 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-02 23:41:09 +00:00
srowen 240424bec0 Issue 1193 more small PDF417 fixes and a new test
git-svn-id: https://zxing.googlecode.com/svn/trunk@2213 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-02 23:20:02 +00:00
srowen a88da9d002 Issue 1194 small bug fix in array expanding comparisons
git-svn-id: https://zxing.googlecode.com/svn/trunk@2212 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-02 21:38:34 +00:00
srowen b9cd318822 Issue 1188 fix nudge, to avoid exception in extreme images
git-svn-id: https://zxing.googlecode.com/svn/trunk@2210 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-02 18:53:19 +00:00
srowen ead2b171bf Issue 1170 fix condition for affine-ness
git-svn-id: https://zxing.googlecode.com/svn/trunk@2191 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-16 17:18:56 +00:00
srowen 3dbad7baf6 Issue 1169 PDF417 error correction ground-work. Now actually computes the syndrome to detect errors but doesn't correct. This fixes misreads but takes out 1-2 images that accidentally passed as the erasure was inconsequential.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2190 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-16 13:25:28 +00:00
srowen 7eb6e8437a Send through EAN extension with metadata
git-svn-id: https://zxing.googlecode.com/svn/trunk@2186 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-15 10:23:06 +00:00
srowen f1dc6c6dcd Simplify old multiply logic for GF
git-svn-id: https://zxing.googlecode.com/svn/trunk@2185 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-15 08:35:25 +00:00
srowen 0cf9ec342f Avoid some rare IllegalArgumentException and ArrayIndexOutOfBoundsException on bad input
git-svn-id: https://zxing.googlecode.com/svn/trunk@2184 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-14 09:51:59 +00:00
srowen de25d10e9d Issue 1163 pass hint through multi QR code decoder
git-svn-id: https://zxing.googlecode.com/svn/trunk@2183 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-14 09:47:37 +00:00
srowen e1c71e464b Fix Issue 1133, PDF417 issues with alpha mode after other modes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2181 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-12 19:08:56 +00:00
srowen 6261912024 Issue 1157 support protocols ending with : not :// like bitcoin
git-svn-id: https://zxing.googlecode.com/svn/trunk@2178 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-11 10:25:43 +00:00
srowen 4a6daef483 Port back speedup to C++ from rev 2174
git-svn-id: https://zxing.googlecode.com/svn/trunk@2176 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-10 17:04:06 +00:00
srowen 9d714829c5 Issue 599 PDF 417 fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@2171 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-07 22:45:41 +00:00
srowen faf139e2e8 Issue 1142 fix binary shift in Aztec decoding
git-svn-id: https://zxing.googlecode.com/svn/trunk@2159 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-04 14:58:09 +00:00
srowen 2c84200f64 Issue 1143: enable Codabar after improved decoding avoids false positives
git-svn-id: https://zxing.googlecode.com/svn/trunk@2158 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-04 14:44:05 +00:00
srowen 5d89cc30fc Better encoding guessing from Alex
git-svn-id: https://zxing.googlecode.com/svn/trunk@2157 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-04 12:24:26 +00:00
srowen a39e9d8163 Issue 1124 only allow encoding of even-length ITF input
git-svn-id: https://zxing.googlecode.com/svn/trunk@2118 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-15 18:21:18 +00:00
srowen 5415b12050 Count misreads in the test framework and track. Retune slightly on this basis to pick up a few more images
git-svn-id: https://zxing.googlecode.com/svn/trunk@2116 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-13 14:38:38 +00:00
srowen 748945281c Issue 1122 allow short code 39/93
git-svn-id: https://zxing.googlecode.com/svn/trunk@2114 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-11 22:09:48 +00:00
srowen 01c274cfd1 Fix slight problem in heuristic for detecting URIs: accept a.singleletterdomainelement.com
git-svn-id: https://zxing.googlecode.com/svn/trunk@2108 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-11 14:52:53 +00:00
srowen e4bd93a6e8 QR code "pure barcode" now forgiving of uneven module sizes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2103 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-04 07:53:04 +00:00
srowen 4af95ab471 Use better regex-based test for URI
git-svn-id: https://zxing.googlecode.com/svn/trunk@2098 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-23 15:20:18 +00:00
srowen c77baf34a8 Issue 918 Add MECARD/vCard switch after factoring out and tidying some of the contact encoding logic
git-svn-id: https://zxing.googlecode.com/svn/trunk@2097 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-23 13:59:15 +00:00
srowen 327df794ae Slightly reverse Code 128 change: don't allow length 0 code
git-svn-id: https://zxing.googlecode.com/svn/trunk@2093 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-17 16:47:15 +00:00
srowen 35eecdeb45 Add result point callback to multi QR code detector
git-svn-id: https://zxing.googlecode.com/svn/trunk@2090 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-17 00:45:50 +00:00
srowen 703cc2e8bf Issue 1103 stop excluding 1-char code 128 as it does not seem to be a big deal for false positives now
git-svn-id: https://zxing.googlecode.com/svn/trunk@2085 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-13 15:24:30 +00:00
srowen b164aa4ed8 Issue 1084 one more time
git-svn-id: https://zxing.googlecode.com/svn/trunk@2064 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-30 22:22:35 +00:00
srowen 88fd3dd32f More Issue 1084 -- more aliases for certain encodings
git-svn-id: https://zxing.googlecode.com/svn/trunk@2063 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-30 21:09:30 +00:00
srowen 4c8ec7a70b Issue 1084 add known ECIs and improve encoding names a bit
git-svn-id: https://zxing.googlecode.com/svn/trunk@2058 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-30 09:39:42 +00:00
srowen 8f005274c0 Faster getNextSet; more gains from getNextUnset
git-svn-id: https://zxing.googlecode.com/svn/trunk@2051 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-25 12:37:39 +00:00
srowen b93f68f0db Another half-percent from specializing some operations on bit arrays
git-svn-id: https://zxing.googlecode.com/svn/trunk@2050 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-25 01:17:28 +00:00
srowen 35cf29b720 Avoid some allocation hotspots by reusing arrays
git-svn-id: https://zxing.googlecode.com/svn/trunk@2049 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-23 22:18:45 +00:00
srowen d0850c3baf Issue 1074 fix incorrect decoding of some numeric segments
git-svn-id: https://zxing.googlecode.com/svn/trunk@2048 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-23 19:04:59 +00:00
srowen 39c51ad06b Surprising, but these small changes to avoid allocation of a foreach loop iterator save 1-2% runtime.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2047 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-22 21:52:47 +00:00
srowen 293f565db9 Issue 1067 and more. Add "VALUE=DATE" to encoding of all-day dates. Don't pretend end was specified in original barcode if not present. However for benefit of Android Calendar apps, use +1 hour/day end time for missing end. Fix some error messages in appspot generator too.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2040 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-17 09:35:48 +00:00
srowen 5311b1ce27 Issue 1054 unescape vCard / VEVENT correctly and don't strip semicolon in vCard
git-svn-id: https://zxing.googlecode.com/svn/trunk@2021 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-10 15:01:33 +00:00
srowen 52befe2c8f Issue 894 fix unsigned byte issue in unrandomize 255 state that prevented some codes from working in base 256 mode
git-svn-id: https://zxing.googlecode.com/svn/trunk@2016 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-04 17:16:25 +00:00
srowen 5d47b0f8d0 Issue 1026 PDF417 encoding improvements
git-svn-id: https://zxing.googlecode.com/svn/trunk@2006 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 13:57:49 +00:00
srowen db60385d7d Update all Java code to use Java 6
git-svn-id: https://zxing.googlecode.com/svn/trunk@2002 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 11:16:30 +00:00
dswitkin@google.com f74e806694 Fixed up some comments and formatting.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1979 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-18 19:17:33 +00:00
srowen 8743bb6de2 Update RSS14 test; remove IDE formatting comment (?)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1975 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-15 07:24:19 +00:00
smparkes@smparkes.net 70190f7805 Tweak blackpoints estimates for internal black blocks. Closes Issue 1012.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1973 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-15 00:31:07 +00:00
srowen 359551d6e7 Minor tightening and some new constants (no algo changes)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1969 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-14 07:47:05 +00:00
srowen d0c59c4c16 Issue 727 contributed initial Maxicode support
git-svn-id: https://zxing.googlecode.com/svn/trunk@1949 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-04 10:12:55 +00:00
srowen 8d594c783d Issue 1002 handle case where pure QR code's bottom right module isn't black
git-svn-id: https://zxing.googlecode.com/svn/trunk@1946 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-29 14:51:20 +00:00
srowen eda536772b More small static analysis stuff
git-svn-id: https://zxing.googlecode.com/svn/trunk@1945 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-28 18:27:53 +00:00
srowen 303ed2e6a0 A pile of changes from proper static analysis for nullability issues, with full annotations.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1937 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-26 19:09:45 +00:00
srowen a58c072099 Issue 982 maybe avoid an AIOOBE
git-svn-id: https://zxing.googlecode.com/svn/trunk@1933 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-25 11:30:30 +00:00
srowen faf72f02eb Add support for email/phone/address types, pronunciation, IM handle in contacts with vCard
git-svn-id: https://zxing.googlecode.com/svn/trunk@1931 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-24 16:43:41 +00:00
srowen a035285f2f Some style and related stuff I found in code inspection
git-svn-id: https://zxing.googlecode.com/svn/trunk@1921 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-19 14:04:25 +00:00
srowen 7a38f68e52 Few more PDF417 changes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1912 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-16 20:55:43 +00:00
srowen a335ff5fb7 PDF417 compact from Joseph Lau
git-svn-id: https://zxing.googlecode.com/svn/trunk@1911 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-16 20:44:28 +00:00
srowen 015e2a5915 Style changes to CodaBar writer
git-svn-id: https://zxing.googlecode.com/svn/trunk@1908 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-15 09:22:48 +00:00
dsbnatut 02b0816126 add CodaBarWriter, and make separation from UPCEANWriter to OneDimensionalCodeWriter and UPCEANWriter which inherits OneDimensionalCodeWriter.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1907 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-15 00:45:54 +00:00
srowen c3a5dcce06 Misc improvements: bigger scanner on tablets, anti-aliased drawing, escape HTML in product results, ITF-14 allows 48 digits
git-svn-id: https://zxing.googlecode.com/svn/trunk@1903 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-10 20:30:01 +00:00
srowen 177e8728c9 Add a couple helpful methods
git-svn-id: https://zxing.googlecode.com/svn/trunk@1899 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-01 08:51:04 +00:00
srowen d3700fc3bc PDF417 encoder, modified from Barcode4J
git-svn-id: https://zxing.googlecode.com/svn/trunk@1897 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-29 09:42:52 +00:00
srowen e669aab2af Change order of result points to be consistent with QR / DM: from bottom-left, clockwise
git-svn-id: https://zxing.googlecode.com/svn/trunk@1886 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-14 17:52:37 +00:00
srowen ecd6a7d77d False positive avoidance
git-svn-id: https://zxing.googlecode.com/svn/trunk@1885 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-14 17:45:31 +00:00
srowen 4863e3ed8c Reject short Code 39 -- too likely to be a false positive
git-svn-id: https://zxing.googlecode.com/svn/trunk@1884 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-13 16:58:58 +00:00
srowen 6c87ea3ee6 Fix small bug I saw in bounds checking
git-svn-id: https://zxing.googlecode.com/svn/trunk@1880 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-09 22:22:09 +00:00
srowen 869ddc1dbf Improvement to finder/alignment pattern detection in low-res situations: use averages. It makes it much better on images of this sort, decreasing failure rate by about 60%. (It makes one old image fail, but looks like a fluke)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1875 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-02 16:20:59 +00:00
srowen 0fe6737a76 Translate Data Matrix FNC1 as ASCII 29, as spec suggests that's usual in some cases
git-svn-id: https://zxing.googlecode.com/svn/trunk@1867 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-27 12:07:02 +00:00
srowen 3f1f2188b2 Two small javadoc warnings
git-svn-id: https://zxing.googlecode.com/svn/trunk@1866 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-25 16:36:39 +00:00
srowen 645a03c6a5 Issue 882 few more small DM issues
git-svn-id: https://zxing.googlecode.com/svn/trunk@1865 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-23 14:43:37 +00:00
srowen f8e3cef85d Issue 920 add ITF length 18, make C++ consistent with Java here
git-svn-id: https://zxing.googlecode.com/svn/trunk@1863 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-23 14:09:51 +00:00
srowen 1c564fcf6a Avoid exception in weird image situations
git-svn-id: https://zxing.googlecode.com/svn/trunk@1854 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-12 10:32:47 +00:00
srowen 245d432cd0 Issue 898 be more precise about calculating data size and version
git-svn-id: https://zxing.googlecode.com/svn/trunk@1852 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-11 14:57:55 +00:00
srowen 05455c7b68 Issue 897 tighten URI definition
git-svn-id: https://zxing.googlecode.com/svn/trunk@1851 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-09 09:23:23 +00:00
srowen 61c3e38802 Strengthen check for bad dimension
git-svn-id: https://zxing.googlecode.com/svn/trunk@1845 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-01 07:48:08 +00:00
srowen 10065f8c1c Avoid AIOOBE for corrupt codes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1837 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-28 06:50:37 +00:00
srowen 1f82b11d01 Issue 822 more small DM fixes from user
git-svn-id: https://zxing.googlecode.com/svn/trunk@1832 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-23 16:18:20 +00:00
srowen ce2bfa78f7 Issue 881 fix shift in C40 encodation
git-svn-id: https://zxing.googlecode.com/svn/trunk@1831 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-22 19:58:03 +00:00