Commit graph

315 commits

Author SHA1 Message Date
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 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 7bc138ed7a Avoid check for transparency when there is no alpha channel
git-svn-id: https://zxing.googlecode.com/svn/trunk@2327 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-26 10:23:54 +00:00
srowen 845b3d81e1 Issue 1296 Faster check for transparent pixels
git-svn-id: https://zxing.googlecode.com/svn/trunk@2324 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-25 21:33:18 +00:00
srowen f47ca41725 Forgot one more test change
git-svn-id: https://zxing.googlecode.com/svn/trunk@2322 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-25 21:13:12 +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 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 9a168f5994 Forgot tests for PDF417 EC
git-svn-id: https://zxing.googlecode.com/svn/trunk@2278 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-30 18:43:40 +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 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