Commit graph

335 commits

Author SHA1 Message Date
srowen@gmail.com 14fb273dcf More PDF417 test cases
git-svn-id: https://zxing.googlecode.com/svn/trunk@2591 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-03-13 10:26:16 +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 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 86671ab226 Missed a test improvement
git-svn-id: https://zxing.googlecode.com/svn/trunk@2582 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-03-01 20:07:55 +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 7a39922b30 Remove target temp dir creation
git-svn-id: https://zxing.googlecode.com/svn/trunk@2578 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-02-25 13:52:42 +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 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 067321b68a Change some tests that used .jpg in path to use .png now
git-svn-id: https://zxing.googlecode.com/svn/trunk@2549 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-12-31 15:23:21 +00:00
smparkes@smparkes.net 51d3596dd9 convert jpg to png
git-svn-id: https://zxing.googlecode.com/svn/trunk@2548 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-12-31 01:41:30 +00:00
srowen caf7734595 Use logging instead of System.out for finer-grained control
git-svn-id: https://zxing.googlecode.com/svn/trunk@2531 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-25 10:40:44 +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 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 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
smparkes@smparkes.net 033a3fe9f1 Revert "Promote RSS blackbox tests to com.google.zxing.oned"
This reverts commit 38e95ce456.

git-svn-id: https://zxing.googlecode.com/svn/trunk@2497 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-04 14:49:35 +00:00
smparkes@smparkes.net 38e95ce456 Promote RSS blackbox tests to com.google.zxing.oned
Promote RSS blackbox tests to com.google.zxing.oned so they get picked up and run by the blackbox test infrastructure.

git-svn-id: https://zxing.googlecode.com/svn/trunk@2496 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-04 14:21:03 +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
smparkes@smparkes.net 33cb6a0745 Optionally use explict luminance conversion instead of AWT builtin conversion
git-svn-id: https://zxing.googlecode.com/svn/trunk@2494 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-04 01:21:38 +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 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