Commit graph

864 commits

Author SHA1 Message Date
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 87b7a44c8f Add some newer plugin versions
git-svn-id: https://zxing.googlecode.com/svn/trunk@2554 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-16 07:26:41 +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 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 66b776e0c0 (Committed old pom updates along the way)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2545 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-12-26 01:40:30 +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 d085872bad Update to JUnit 4.11
git-svn-id: https://zxing.googlecode.com/svn/trunk@2534 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-26 22:51:07 +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 155bc2eb79 MVN plugin version update
git-svn-id: https://zxing.googlecode.com/svn/trunk@2529 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-24 11:11:11 +00:00
srowen 703ce0d8e4 Add test config to pom.xml
git-svn-id: https://zxing.googlecode.com/svn/trunk@2522 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-18 11:50:25 +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
smparkes@smparkes.net 2581409353 add rss tests to the default blackbox test target
git-svn-id: https://zxing.googlecode.com/svn/trunk@2498 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-04 14:49:51 +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 6950a78274 Update to Junit 4.10
git-svn-id: https://zxing.googlecode.com/svn/trunk@2478 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-22 14:18:46 +00:00
srowen 64bce22867 Update Maven config and advance to v2.2
git-svn-id: https://zxing.googlecode.com/svn/trunk@2477 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-22 14:13:57 +00:00
srowen 6eeb6bdf00 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://zxing.googlecode.com/svn/trunk@2469 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-22 13:24:52 +00:00
srowen 6ef0076d50 [maven-release-plugin] prepare release core-2.1
git-svn-id: https://zxing.googlecode.com/svn/trunk@2467 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-22 13:24:37 +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