Commit graph

2350 commits

Author SHA1 Message Date
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
smparkes@smparkes.net 6e492e54de correctly copy cropped image (Conrad Kramer)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2242 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-30 20:18:03 +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 73345ae493 Another try at CLOSE_WAIT: simplify by removing HttpClient, always consume every byte of input in all cases, and force GCs to clear stuck sockets
git-svn-id: https://zxing.googlecode.com/svn/trunk@2240 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-30 10:50:47 +00:00
srowen 758c9c38c4 Vladimir's fix for a small typo in rect detection
git-svn-id: https://zxing.googlecode.com/svn/trunk@2239 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-29 18:21:44 +00:00
srowen 65efebdc97 More drastic changes to prevent CLOSE_WAIT - defensive socket settings, ban a troublesome IP
git-svn-id: https://zxing.googlecode.com/svn/trunk@2238 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-29 18:18:19 +00:00
srowen bd1d0c4bef Update zxing.org libs, update NOTICE, try again to fix CLOSE_WAIT issue with simpler HTTP client handling
git-svn-id: https://zxing.googlecode.com/svn/trunk@2237 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-29 14:32:35 +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 75d26706c2 Issue 1225 fix another AIOOBE for bad QR code
git-svn-id: https://zxing.googlecode.com/svn/trunk@2235 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-26 10:50:16 +00:00
srowen 1b2cd0f442 Touch up javadoc target
git-svn-id: https://zxing.googlecode.com/svn/trunk@2234 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-26 05:32:28 +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 b980bd71b6 Lint check: remove unused things
git-svn-id: https://zxing.googlecode.com/svn/trunk@2232 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-22 12:14:59 +00:00
srowen a670311585 Updated proguard.cfg to match new default for SDK 17 / Proguard 4.7
git-svn-id: https://zxing.googlecode.com/svn/trunk@2231 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-22 11:26:14 +00:00
srowen 80f273976e Quote hex-like SSIDs as (at least) they must appear this way in Android or else it will be interpreted as a hex SSID. Assuming that nobody actually wants to generate such an SSID in 2012.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2230 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-21 17:52:25 +00:00
srowen f74fc09d54 Issue 1213 add 'raw' param to send back raw barcode text not processed form
git-svn-id: https://zxing.googlecode.com/svn/trunk@2229 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-15 14:46:03 +00:00
srowen 9f45bab33c Ignore UTF byte order mark when parsing result
git-svn-id: https://zxing.googlecode.com/svn/trunk@2228 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-14 17:09:47 +00:00
srowen 7399f24735 Issue 1136 more cleanup of Actionscript compile issues
git-svn-id: https://zxing.googlecode.com/svn/trunk@2227 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-14 16:35:21 +00:00
srowen 60df2dba0c Issue 1215 clear a little redundant code
git-svn-id: https://zxing.googlecode.com/svn/trunk@2226 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-14 16:14:49 +00:00
srowen bb809c736e Issue 1210 fix toBitmap handling of stride
git-svn-id: https://zxing.googlecode.com/svn/trunk@2225 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-13 16:07:41 +00:00
srowen 64b3f0ee79 Issue 1136 touch up AS compilation
git-svn-id: https://zxing.googlecode.com/svn/trunk@2224 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-13 11:13:55 +00:00
srowen 0ba3c24aa2 Small Russian translation fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@2223 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-11 20:50:02 +00:00
smparkes@smparkes.net fb4af6f42c don't maintain xcode workspace artifacts in svn
git-svn-id: https://zxing.googlecode.com/svn/trunk@2222 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-08 04:04:06 +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
smparkes@smparkes.net c4b7431a44 NO_ICONV support in aztec decoder
git-svn-id: https://zxing.googlecode.com/svn/trunk@2220 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-06 16:41:08 +00:00
smparkes@smparkes.net b10e1c6b0e incorrect case fix; remove uint8_t use since doesn't fit style; remove old debugging cruft
git-svn-id: https://zxing.googlecode.com/svn/trunk@2219 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-06 16:22:41 +00:00
srowen 596e4a0871 Avoid a false positive on empty PDF 417
git-svn-id: https://zxing.googlecode.com/svn/trunk@2218 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-05 18:41:20 +00:00
srowen 99d4b42b91 Issue 1175 fix toBitmap() to ignore padding bytes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2217 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-03 16:54:25 +00:00
srowen b73a4af77b Issue 1195 fix accounting for DST when target time DST status differs from now
git-svn-id: https://zxing.googlecode.com/svn/trunk@2216 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-03 16:36:37 +00:00
srowen 776984bb8f Issue 1177 add title field
git-svn-id: https://zxing.googlecode.com/svn/trunk@2215 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-03 15:57:48 +00:00
srowen 5287b54bb2 Issue 1184 treat semicolon field separator as newline
git-svn-id: https://zxing.googlecode.com/svn/trunk@2214 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-02 23:41:09 +00:00