Commit graph

2279 commits

Author SHA1 Message Date
srowen b0ba223c90 Issue 1267 a little C# code simplification
git-svn-id: https://zxing.googlecode.com/svn/trunk@2293 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-14 20:02:01 +00:00
dswitkin@google.com 20424b0e4e Created Barcode Scanner v4.11 beta 1 based on CL 2284.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2292 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-14 17:52:09 +00:00
srowen 704f6c34fb Issue 1261 autoFocus() on macro mode too
git-svn-id: https://zxing.googlecode.com/svn/trunk@2291 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-12 19:42:40 +00:00
srowen 785197a625 Issue 1263 small fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@2290 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-10 13:14:33 +00:00
srowen 6ea8a2e6b0 Issue 1263 refactor PDF417 Writer interface
git-svn-id: https://zxing.googlecode.com/svn/trunk@2289 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-10 13:00:29 +00:00
srowen 9fa7d9aba4 Let camera use continuous-picture focus mode if available. API-wise it's 100% legal, which means there's only a 50% chance it will break a bunch of ICS devices
git-svn-id: https://zxing.googlecode.com/svn/trunk@2288 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-10 12:36:52 +00:00
srowen 420ec722fb Now support scanning for 2-digit as well as 5-digit UPC/EAN extension codes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2287 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-10 12:35:00 +00:00
srowen 1b90db519e Now can turn light on/off with volume buttons
git-svn-id: https://zxing.googlecode.com/svn/trunk@2286 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-10 10:56:50 +00:00
srowen 8cc93b521b Back-port rewritten auto-focus cycle; allow disabling of auto focus
git-svn-id: https://zxing.googlecode.com/svn/trunk@2285 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-10 10:40:55 +00:00
srowen 500872c9ff Avoid a few more rare exceptions
git-svn-id: https://zxing.googlecode.com/svn/trunk@2284 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-10 09:00:48 +00:00
srowen b73efdfba1 Handle bad key-value pairs in URL by ignoring
git-svn-id: https://zxing.googlecode.com/svn/trunk@2283 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-06 19:33:38 +00:00
srowen 4a907a6201 Running underneath the dialer doesn't work. Quit the app if leaving to dial a number.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2282 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-03 07:39:40 +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 a107d0c0a4 Fix QR code encoder to correctly account for size of ECI segment
git-svn-id: https://zxing.googlecode.com/svn/trunk@2279 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-30 19:14:46 +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 60288ac9e4 Hunting an AIOOBE here -- clarified some code a little bit but still not seeing the issue
git-svn-id: https://zxing.googlecode.com/svn/trunk@2277 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-30 07:22:26 +00:00
srowen 224568c732 These state-sensitive methods ought to be synchronized, at least to ensure memory is written back immediately
git-svn-id: https://zxing.googlecode.com/svn/trunk@2276 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-28 10:35:57 +00:00
srowen 4ee80c2150 Back-port more proper PDF417 R-S error correction
git-svn-id: https://zxing.googlecode.com/svn/trunk@2275 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-27 20:22:11 +00:00
srowen 3926c96fc1 Another protection against early view calls before camera init (issue 1254)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2274 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-27 11:31:09 +00:00
srowen 9a94f713db Look out for early preview frame before complete configuration
git-svn-id: https://zxing.googlecode.com/svn/trunk@2273 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-27 11:27:37 +00:00
srowen 7825e5bb49 Avoid another possible NPE. Adjust obfuscation to produce less ambiguous mappings
git-svn-id: https://zxing.googlecode.com/svn/trunk@2272 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-27 11:17:11 +00:00
srowen 3e2dce9bd7 Issue 1256 Avoid crash clearing Empty message
git-svn-id: https://zxing.googlecode.com/svn/trunk@2271 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 19:09:36 +00:00
srowen 3e0ec6f708 Issue 1254 guess at what may be an NPE in here
git-svn-id: https://zxing.googlecode.com/svn/trunk@2270 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 18:34:56 +00:00
srowen 8768f73604 Check for bad dimension every time to produce more meaningful error
git-svn-id: https://zxing.googlecode.com/svn/trunk@2269 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 18:23:25 +00:00
srowen 9de4dd7256 Don't fail on bad network type input. Log it.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2268 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 18:22:57 +00:00
srowen a23a2b8adb More reliable method for reading vCard, may avoid OOME in weird stream behavior case
git-svn-id: https://zxing.googlecode.com/svn/trunk@2267 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 17:57:07 +00:00
srowen 5af1cad965 Don't crash on unsupported barcode format like CODE_93
git-svn-id: https://zxing.googlecode.com/svn/trunk@2266 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 17:15:28 +00:00
srowen 18c3b38a9a Maybe avoid a string index out of bounds exception here?
git-svn-id: https://zxing.googlecode.com/svn/trunk@2265 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 17:02:45 +00:00
srowen a1601d1bb8 Avoid NPE is options menu gets called before onResume (?)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2264 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 16:53:42 +00:00
srowen b81971bf74 Avoid NPE in case of strange query failure for bookmarks; log it and quit
git-svn-id: https://zxing.googlecode.com/svn/trunk@2263 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 16:41:26 +00:00
srowen 6573f932a1 Avoid NPE on null action
git-svn-id: https://zxing.googlecode.com/svn/trunk@2262 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 16:34:51 +00:00
srowen 9ad25e25b7 Double-check to avoid exception clicking on stale item
git-svn-id: https://zxing.googlecode.com/svn/trunk@2261 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 16:31:31 +00:00
srowen 8f461afd09 Let callers specify more extras to IntentIntegrator. Use it in test app, so we can use it in all cases, and avoid ActivityNotFoundException
git-svn-id: https://zxing.googlecode.com/svn/trunk@2260 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 16:22:24 +00:00
srowen 6067089669 Slightly increase max preview size, preclude very small preview sizes unless no other choice, properly favor large preview sizes in general and correctly prioritize on aspect ratio in all cases
git-svn-id: https://zxing.googlecode.com/svn/trunk@2259 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-25 19:45:53 +00:00
srowen 26d5ff4355 Add a double-check for null SurfaceHolder
git-svn-id: https://zxing.googlecode.com/svn/trunk@2258 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-25 11:51:45 +00:00
srowen 8c924b470f Support multiple components in ORG
git-svn-id: https://zxing.googlecode.com/svn/trunk@2257 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-23 00:17:58 +00:00
srowen 23ce7f4584 Add crop()
git-svn-id: https://zxing.googlecode.com/svn/trunk@2256 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-22 23:52:20 +00:00
srowen e4fcc8ee02 Issue 1249 add note about enabling experimental formats
git-svn-id: https://zxing.googlecode.com/svn/trunk@2255 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-18 20:20:36 +00:00
dswitkin@google.com 1204c7d7fa Created Barcode Scanner v4.1 beta 1.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2254 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-16 21:54:57 +00:00
srowen 7a0f55da30 Fix error in AppPickerActivity when it is quickly cancelled (hat tip to Asus)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2252 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-12 00:25:01 +00:00
srowen c29cd1d2ef Basque translation from Asier
git-svn-id: https://zxing.googlecode.com/svn/trunk@2251 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-08 16:02:38 +00:00
srowen 9a33192652 Issue 1236 let history answer an Intent
git-svn-id: https://zxing.googlecode.com/svn/trunk@2250 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-06 11:14:38 +00:00
srowen 41c4e34063 Fix problem blocking access to javadoc
git-svn-id: https://zxing.googlecode.com/svn/trunk@2249 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-06 07:33:00 +00:00
srowen 2cd86d8001 Javadoc fixes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2248 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-06 07:17:15 +00:00
srowen 346de1b561 Minor inspection stuff
git-svn-id: https://zxing.googlecode.com/svn/trunk@2247 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-05 17:41:28 +00:00
gln%google.com@gtempaccount.com 7541fcda65 Fix code where a string literal and an integer are added to together. This is treated as pointer arithmetic since the string literal is a pointer to a const char.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2246 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-02 17:45:07 +00:00
srowen 9f07c47941 Apparently some of the default disabled optimizations are only there for Donut
git-svn-id: https://zxing.googlecode.com/svn/trunk@2245 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-31 23:13:16 +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
smparkes@smparkes.net b1dfc23418 r2235 for C++
git-svn-id: https://zxing.googlecode.com/svn/trunk@2243 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-30 20:18:11 +00:00