Commit graph

301 commits

Author SHA1 Message Date
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 674783b8dd Fix RS encoder test, per hwkns
git-svn-id: https://zxing.googlecode.com/svn/trunk@2236 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-28 18:01:52 +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 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 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
smparkes@smparkes.net e402d1ca92 rename a couple of test files that have names that confuse some OSes/filesytems
git-svn-id: https://zxing.googlecode.com/svn/trunk@2196 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-17 04:58:22 +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 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 d6dc4bb237 Cancel one old test case
git-svn-id: https://zxing.googlecode.com/svn/trunk@2180 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-12 19:01:16 +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 7cc411eb9b Test from issue 1112
git-svn-id: https://zxing.googlecode.com/svn/trunk@2160 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-04 16:03:09 +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 d75a7467f9 Update generator version and add one more test
git-svn-id: https://zxing.googlecode.com/svn/trunk@2123 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-20 16:45:39 +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 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 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 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 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 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
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 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 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 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 fa5c84a0cf Let RSS tests succeed even when run from project root
git-svn-id: https://zxing.googlecode.com/svn/trunk@1883 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-13 16:58:32 +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 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
dswitkin@google.com dbc98a7a22 Made sure otpauth: is recognized as a valid URI.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1811 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-07 15:24:31 +00:00
srowen df65c5b83e A bunch of code style related changes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1795 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-21 03:36:39 +00:00
srowen 2d7ef9faf4 Issue 742 at least parse iCal GEO in core library
git-svn-id: https://zxing.googlecode.com/svn/trunk@1787 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-20 07:12:49 +00:00
dswitkin@google.com 8ff9e7f4fa Standardized the naming of our barcode formats and alphabetized them.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1775 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-17 15:46:09 +00:00
dswitkin@google.com 8f924716f0 Created a new blackbox test of real world Aztec images taken with a mobile phone. We're only decoding 9% at the moment.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1771 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-13 21:42:52 +00:00
srowen 0e28aa0e4c Fix previous update to PDF417 regarding AS vs AL
git-svn-id: https://zxing.googlecode.com/svn/trunk@1764 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-10 20:10:11 +00:00
srowen e1fda03246 Another user-suggested fix - misdetecting rectangular matrices in corner cases
git-svn-id: https://zxing.googlecode.com/svn/trunk@1761 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-08 14:57:15 +00:00
srowen 2e4e0d0c77 Issue 820 second format info was read incorrectly
git-svn-id: https://zxing.googlecode.com/svn/trunk@1751 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-04-29 08:35:13 +00:00
dswitkin@google.com ff5a939fbf Added two new blackbox tests of blurry barcodes taken with a fixed-focus mobile phone. Also fixed several other 1D blackbox tests that were off by an image here and there.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1721 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-02-23 23:47:01 +00:00
srowen 7a6cc4c3d0 Various user-contributed fixes (Issue 701, Issue 710, Issue 714, Issue 718)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1717 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-02-15 13:23:14 +00:00
srowen e6d969b6f4 Issue 675 commit Lachezars great fix for large DM decoding
git-svn-id: https://zxing.googlecode.com/svn/trunk@1699 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-01-11 15:40:47 +00:00
srowen 99d09e0a44 Style stuff mostly but fix a problem between Aztec and J2ME too
git-svn-id: https://zxing.googlecode.com/svn/trunk@1681 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-12-15 14:42:17 +00:00
srowen 8c172f4891 Issue 658
git-svn-id: https://zxing.googlecode.com/svn/trunk@1678 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-12-12 22:31:51 +00:00
dav.olivier@gmail.com e1c047c54b Support for aztec codes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1668 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-20 21:21:34 +00:00
dav.olivier@gmail.com 5ec9b84660 Generator polynomial for reed-Solomon algorithm can now have coefficients in any Gallois fields rather than GF(256) only
git-svn-id: https://zxing.googlecode.com/svn/trunk@1666 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-20 21:18:04 +00:00
srowen e9ae6dd4d3 Issue 582
git-svn-id: https://zxing.googlecode.com/svn/trunk@1625 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-13 14:13:55 +00:00
srowen c3f4602678 Issue 581, Hanzi mode support from Shiyuan Guo
git-svn-id: https://zxing.googlecode.com/svn/trunk@1623 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-12 16:01:31 +00:00