Commit graph

2372 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 434a1bb6c5 Add Bruce for C# report
git-svn-id: https://zxing.googlecode.com/svn/trunk@2560 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-19 08:55:28 +00:00
bruceallenfb@gmail.com cc5706a72c remove obsolete files
git-svn-id: https://zxing.googlecode.com/svn/trunk@2559 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-18 22:05:20 +00:00
bruceallenfb@gmail.com 7616c4d06d re-port to c#, picking up 3 years of changes. Client folder classes may need some work
git-svn-id: https://zxing.googlecode.com/svn/trunk@2558 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-18 20:14:03 +00:00
srowen 890db6b427 Issue 1437 part 2, use cmath but use abs() again
git-svn-id: https://zxing.googlecode.com/svn/trunk@2557 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-17 20:45:39 +00:00
srowen dc37cbadba Issue 1437 use fabs()
git-svn-id: https://zxing.googlecode.com/svn/trunk@2556 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-17 19:52:40 +00:00
srowen 2287365f7a Issue 1436 use return value from function to have an effect
git-svn-id: https://zxing.googlecode.com/svn/trunk@2555 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-17 19:50:16 +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 4b2237aeec Changes from lint inspection
git-svn-id: https://zxing.googlecode.com/svn/trunk@2553 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-15 13:17:58 +00:00
srowen 65be855649 I keep forgetting that you can't use the normal IOException constructor in old Android
git-svn-id: https://zxing.googlecode.com/svn/trunk@2552 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-15 13:10:11 +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 835f744a9d Avoid another apparent rare bug in the HTTP implementation
git-svn-id: https://zxing.googlecode.com/svn/trunk@2547 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-12-29 17:28:45 +00:00
srowen 32c7369fce Add VERSION:3.0 to vCard encoding
git-svn-id: https://zxing.googlecode.com/svn/trunk@2546 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-12-28 19:26:38 +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 8370fa5535 Download from list of selected target apps only; require ordered list of target apps (List not Collection)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2544 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-12-26 01:27:08 +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 02e0dcece1 Use Android 4.2 libs for javadoc
git-svn-id: https://zxing.googlecode.com/svn/trunk@2541 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-28 22:15:35 +00:00
srowen 99e0f8d61b Minor touch ups of HTML, show full output for uploads, add more explanatory text and links, update to servlet 3 / JSP 2.2
git-svn-id: https://zxing.googlecode.com/svn/trunk@2540 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-28 22:12:37 +00:00
srowen 69167c6bdc Work around a weird NPE inside the clipboard library
git-svn-id: https://zxing.googlecode.com/svn/trunk@2539 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-28 21:45:57 +00:00
srowen 126f33815e Make light thresholds less sensitive to avoid rapid on/off on some devices
git-svn-id: https://zxing.googlecode.com/svn/trunk@2538 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-28 00:14:57 +00:00
srowen 6698e919e9 More changes for Elastic Beanstalk -- logging, no need for DoS
git-svn-id: https://zxing.googlecode.com/svn/trunk@2537 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-27 23:57:07 +00:00
srowen ceca8b4ff7 Update zxing.org web app for Amazon Elastic Beanstalk
git-svn-id: https://zxing.googlecode.com/svn/trunk@2536 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-27 23:34:04 +00:00
gln%google.com@gtempaccount.com 16eaa62bfa Revert previous change setting ONLY_ACTIVE_ARCH.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2535 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-26 23:47:34 +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
gln%google.com@gtempaccount.com 05446a4c9e Allow ZXingWidget to compile all architectures for Debug configuration
git-svn-id: https://zxing.googlecode.com/svn/trunk@2533 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-26 19:12:08 +00:00
srowen 491102ba93 Catch rare SecurityException when accessing HTTP
git-svn-id: https://zxing.googlecode.com/svn/trunk@2532 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-25 11:33:13 +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 e17d1c16ce Should make android-v4 dependency optional since not every dependent project needs it
git-svn-id: https://zxing.googlecode.com/svn/trunk@2530 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-24 16:58:19 +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 876518a856 Avoid possible NPE from early callback
git-svn-id: https://zxing.googlecode.com/svn/trunk@2528 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-20 18:20:32 +00:00
srowen 3bad6fc4c5 Changes from code inspection
git-svn-id: https://zxing.googlecode.com/svn/trunk@2526 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-20 08:29:02 +00:00
srowen 0288f08c1c Also use application context with Toast consistently
git-svn-id: https://zxing.googlecode.com/svn/trunk@2525 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-20 07:47:20 +00:00
srowen 4f93e88db1 Avoid Toast that won't go away by posting on UI thread
git-svn-id: https://zxing.googlecode.com/svn/trunk@2524 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-20 07:45:31 +00:00
srowen 42dcca3ccf Warn about using Google product results
git-svn-id: https://zxing.googlecode.com/svn/trunk@2523 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-20 06:48:39 +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 f41a07ebcd Raise history limit to 2000
git-svn-id: https://zxing.googlecode.com/svn/trunk@2520 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-15 19:48:16 +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 cfbabe908b Use Android 4.2 SDK consitently; don't target it for apps though
git-svn-id: https://zxing.googlecode.com/svn/trunk@2518 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-13 21:18: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 bbeafcb82e Enable RSS expanded
git-svn-id: https://zxing.googlecode.com/svn/trunk@2513 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-12 19:12:09 +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 b22642a0b0 Issue 538 credit Ian Davis for much of the RSS Expanded Stacked changes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2511 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-12 15:30:03 +00:00