Commit graph

812 commits

Author SHA1 Message Date
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 5e9f84dea2 One final simplification
git-svn-id: https://zxing.googlecode.com/svn/trunk@2323 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-25 21:18:50 +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 bc4f114985 Issue 1288 another fix to flip PDF417 over
git-svn-id: https://zxing.googlecode.com/svn/trunk@2312 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-15 11:47:26 +00:00
srowen 14e4aad0fe Issue 1288 PDF417 barcode flipped
git-svn-id: https://zxing.googlecode.com/svn/trunk@2310 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-13 16:18:31 +00:00
srowen d2fcfb0606 Update some Maven version stuff
git-svn-id: https://zxing.googlecode.com/svn/trunk@2306 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-08 18:26:20 +00:00
srowen 212e611dc3 Issue 1270 better handle tall codes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2295 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-18 13:03:52 +00:00
srowen f1358d6c52 Refactor some duplicated math methods
git-svn-id: https://zxing.googlecode.com/svn/trunk@2294 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-15 20:38:03 +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 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 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 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 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 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 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 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 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
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 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 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 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 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 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 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 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
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
srowen a88da9d002 Issue 1194 small bug fix in array expanding comparisons
git-svn-id: https://zxing.googlecode.com/svn/trunk@2212 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-02 21:38:34 +00:00
srowen b9cd318822 Issue 1188 fix nudge, to avoid exception in extreme images
git-svn-id: https://zxing.googlecode.com/svn/trunk@2210 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-02 18:53:19 +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 ead2b171bf Issue 1170 fix condition for affine-ness
git-svn-id: https://zxing.googlecode.com/svn/trunk@2191 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-16 17:18:56 +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 7eb6e8437a Send through EAN extension with metadata
git-svn-id: https://zxing.googlecode.com/svn/trunk@2186 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-15 10:23:06 +00:00
srowen f1dc6c6dcd Simplify old multiply logic for GF
git-svn-id: https://zxing.googlecode.com/svn/trunk@2185 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-15 08:35:25 +00:00
srowen 0cf9ec342f Avoid some rare IllegalArgumentException and ArrayIndexOutOfBoundsException on bad input
git-svn-id: https://zxing.googlecode.com/svn/trunk@2184 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-14 09:51:59 +00:00
srowen de25d10e9d Issue 1163 pass hint through multi QR code decoder
git-svn-id: https://zxing.googlecode.com/svn/trunk@2183 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-14 09:47:37 +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