Commit graph

1105 commits

Author SHA1 Message Date
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
srowen 4a6daef483 Port back speedup to C++ from rev 2174
git-svn-id: https://zxing.googlecode.com/svn/trunk@2176 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-10 17:04:06 +00:00
srowen 9d714829c5 Issue 599 PDF 417 fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@2171 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-07 22:45:41 +00:00
srowen 7cc411eb9b Test from issue 1112
git-svn-id: https://zxing.googlecode.com/svn/trunk@2160 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-04 16:03:09 +00:00
srowen faf139e2e8 Issue 1142 fix binary shift in Aztec decoding
git-svn-id: https://zxing.googlecode.com/svn/trunk@2159 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-04 14:58:09 +00:00
srowen 2c84200f64 Issue 1143: enable Codabar after improved decoding avoids false positives
git-svn-id: https://zxing.googlecode.com/svn/trunk@2158 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-04 14:44:05 +00:00
srowen 5d89cc30fc Better encoding guessing from Alex
git-svn-id: https://zxing.googlecode.com/svn/trunk@2157 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-04 12:24:26 +00:00
srowen 1c68060c6f [maven-release-plugin] prepare for next development iteration
git-svn-id: https://zxing.googlecode.com/svn/trunk@2142 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-04 10:52:39 +00:00
srowen 18639f28a5 [maven-release-plugin] prepare release core-2.0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2140 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-04 10:52:26 +00:00
srowen d75a7467f9 Update generator version and add one more test
git-svn-id: https://zxing.googlecode.com/svn/trunk@2123 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-20 16:45:39 +00:00
srowen a39e9d8163 Issue 1124 only allow encoding of even-length ITF input
git-svn-id: https://zxing.googlecode.com/svn/trunk@2118 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-15 18:21:18 +00:00
srowen 5415b12050 Count misreads in the test framework and track. Retune slightly on this basis to pick up a few more images
git-svn-id: https://zxing.googlecode.com/svn/trunk@2116 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-13 14:38:38 +00:00
srowen 748945281c Issue 1122 allow short code 39/93
git-svn-id: https://zxing.googlecode.com/svn/trunk@2114 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-11 22:09:48 +00:00
srowen 01c274cfd1 Fix slight problem in heuristic for detecting URIs: accept a.singleletterdomainelement.com
git-svn-id: https://zxing.googlecode.com/svn/trunk@2108 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-11 14:52:53 +00:00
srowen e4bd93a6e8 QR code "pure barcode" now forgiving of uneven module sizes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2103 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-04 07:53:04 +00:00
srowen 4af95ab471 Use better regex-based test for URI
git-svn-id: https://zxing.googlecode.com/svn/trunk@2098 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-23 15:20:18 +00:00
srowen c77baf34a8 Issue 918 Add MECARD/vCard switch after factoring out and tidying some of the contact encoding logic
git-svn-id: https://zxing.googlecode.com/svn/trunk@2097 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-23 13:59:15 +00:00
srowen 327df794ae Slightly reverse Code 128 change: don't allow length 0 code
git-svn-id: https://zxing.googlecode.com/svn/trunk@2093 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-17 16:47:15 +00:00
srowen 35eecdeb45 Add result point callback to multi QR code detector
git-svn-id: https://zxing.googlecode.com/svn/trunk@2090 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-17 00:45:50 +00:00
srowen 703cc2e8bf Issue 1103 stop excluding 1-char code 128 as it does not seem to be a big deal for false positives now
git-svn-id: https://zxing.googlecode.com/svn/trunk@2085 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-13 15:24:30 +00:00
srowen a12326f2d4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://zxing.googlecode.com/svn/trunk@2077 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-09 17:53:43 +00:00
srowen 99bad83632 [maven-release-plugin] prepare release core-20-beta
git-svn-id: https://zxing.googlecode.com/svn/trunk@2075 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-09 17:53:31 +00:00
srowen 5ef08d7719 More pom changes - may need later plugin versions to proceed
git-svn-id: https://zxing.googlecode.com/svn/trunk@2073 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-09 11:55:42 +00:00
srowen 130dc89beb Few more pom fixes for new OSS config
git-svn-id: https://zxing.googlecode.com/svn/trunk@2072 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-09 10:47:11 +00:00
srowen 6796e12bff pom changes I believe are necessary to get this into oss.sonatype.org correctly
git-svn-id: https://zxing.googlecode.com/svn/trunk@2071 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-08 17:23:11 +00:00
srowen b164aa4ed8 Issue 1084 one more time
git-svn-id: https://zxing.googlecode.com/svn/trunk@2064 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-30 22:22:35 +00:00
srowen 88fd3dd32f More Issue 1084 -- more aliases for certain encodings
git-svn-id: https://zxing.googlecode.com/svn/trunk@2063 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-30 21:09:30 +00:00
srowen 4c8ec7a70b Issue 1084 add known ECIs and improve encoding names a bit
git-svn-id: https://zxing.googlecode.com/svn/trunk@2058 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-30 09:39:42 +00:00
srowen 8f005274c0 Faster getNextSet; more gains from getNextUnset
git-svn-id: https://zxing.googlecode.com/svn/trunk@2051 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-25 12:37:39 +00:00
srowen b93f68f0db Another half-percent from specializing some operations on bit arrays
git-svn-id: https://zxing.googlecode.com/svn/trunk@2050 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-25 01:17:28 +00:00
srowen 35cf29b720 Avoid some allocation hotspots by reusing arrays
git-svn-id: https://zxing.googlecode.com/svn/trunk@2049 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-23 22:18:45 +00:00
srowen d0850c3baf Issue 1074 fix incorrect decoding of some numeric segments
git-svn-id: https://zxing.googlecode.com/svn/trunk@2048 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-23 19:04:59 +00:00
srowen 39c51ad06b Surprising, but these small changes to avoid allocation of a foreach loop iterator save 1-2% runtime.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2047 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-22 21:52:47 +00:00
srowen 293f565db9 Issue 1067 and more. Add "VALUE=DATE" to encoding of all-day dates. Don't pretend end was specified in original barcode if not present. However for benefit of Android Calendar apps, use +1 hour/day end time for missing end. Fix some error messages in appspot generator too.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2040 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-17 09:35:48 +00:00
srowen 5311b1ce27 Issue 1054 unescape vCard / VEVENT correctly and don't strip semicolon in vCard
git-svn-id: https://zxing.googlecode.com/svn/trunk@2021 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-10 15:01:33 +00:00
srowen f328cb618e Update ZXingTest to work on 3.x+, mostly by removing the camera capture bit for now. It can come back after android/ is updated and can be cloned again. Updated android-integration with better API and ability to specify package. Now ZXingTest uses our integration code. It's updated for Android 2.x and reports camera params in a slightly better form. Also fixed a few Android 2.x issues and related intent integration stuff left over from other recent changes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2020 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-10 11:16:24 +00:00
srowen 52befe2c8f Issue 894 fix unsigned byte issue in unrandomize 255 state that prevented some codes from working in base 256 mode
git-svn-id: https://zxing.googlecode.com/svn/trunk@2016 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-04 17:16:25 +00:00
srowen 79add84a5a Recreate build files for android, androidtest, for latest SDK
git-svn-id: https://zxing.googlecode.com/svn/trunk@2008 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 19:34:19 +00:00
srowen 5d47b0f8d0 Issue 1026 PDF417 encoding improvements
git-svn-id: https://zxing.googlecode.com/svn/trunk@2006 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 13:57:49 +00:00
srowen db60385d7d Update all Java code to use Java 6
git-svn-id: https://zxing.googlecode.com/svn/trunk@2002 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 11:16:30 +00:00
dswitkin@google.com f74e806694 Fixed up some comments and formatting.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1979 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-18 19:17:33 +00:00
srowen 8743bb6de2 Update RSS14 test; remove IDE formatting comment (?)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1975 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-15 07:24:19 +00:00
smparkes@smparkes.net 70190f7805 Tweak blackpoints estimates for internal black blocks. Closes Issue 1012.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1973 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-15 00:31:07 +00:00
srowen 359551d6e7 Minor tightening and some new constants (no algo changes)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1969 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-14 07:47:05 +00:00
srowen b5be6c68cf Issue 1006 touch up pom.xml files and add new contributed one for android-integration
git-svn-id: https://zxing.googlecode.com/svn/trunk@1950 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-06 16:43:20 +00:00
srowen d0c59c4c16 Issue 727 contributed initial Maxicode support
git-svn-id: https://zxing.googlecode.com/svn/trunk@1949 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-04 10:12:55 +00:00
srowen 8d594c783d Issue 1002 handle case where pure QR code's bottom right module isn't black
git-svn-id: https://zxing.googlecode.com/svn/trunk@1946 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-29 14:51:20 +00:00
srowen eda536772b More small static analysis stuff
git-svn-id: https://zxing.googlecode.com/svn/trunk@1945 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-28 18:27:53 +00:00
srowen 303ed2e6a0 A pile of changes from proper static analysis for nullability issues, with full annotations.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1937 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-26 19:09:45 +00:00
srowen a58c072099 Issue 982 maybe avoid an AIOOBE
git-svn-id: https://zxing.googlecode.com/svn/trunk@1933 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-25 11:30:30 +00:00
srowen faf72f02eb Add support for email/phone/address types, pronunciation, IM handle in contacts with vCard
git-svn-id: https://zxing.googlecode.com/svn/trunk@1931 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-24 16:43:41 +00:00
srowen a035285f2f Some style and related stuff I found in code inspection
git-svn-id: https://zxing.googlecode.com/svn/trunk@1921 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-19 14:04:25 +00:00
srowen 7a38f68e52 Few more PDF417 changes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1912 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-16 20:55:43 +00:00
srowen a335ff5fb7 PDF417 compact from Joseph Lau
git-svn-id: https://zxing.googlecode.com/svn/trunk@1911 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-16 20:44:28 +00:00
srowen 015e2a5915 Style changes to CodaBar writer
git-svn-id: https://zxing.googlecode.com/svn/trunk@1908 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-15 09:22:48 +00:00
dsbnatut 02b0816126 add CodaBarWriter, and make separation from UPCEANWriter to OneDimensionalCodeWriter and UPCEANWriter which inherits OneDimensionalCodeWriter.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1907 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-15 00:45:54 +00:00
srowen c3a5dcce06 Misc improvements: bigger scanner on tablets, anti-aliased drawing, escape HTML in product results, ITF-14 allows 48 digits
git-svn-id: https://zxing.googlecode.com/svn/trunk@1903 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-10 20:30:01 +00:00
srowen 177e8728c9 Add a couple helpful methods
git-svn-id: https://zxing.googlecode.com/svn/trunk@1899 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-01 08:51:04 +00:00
srowen d3700fc3bc PDF417 encoder, modified from Barcode4J
git-svn-id: https://zxing.googlecode.com/svn/trunk@1897 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-29 09:42:52 +00:00
srowen e669aab2af Change order of result points to be consistent with QR / DM: from bottom-left, clockwise
git-svn-id: https://zxing.googlecode.com/svn/trunk@1886 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-14 17:52:37 +00:00
srowen ecd6a7d77d False positive avoidance
git-svn-id: https://zxing.googlecode.com/svn/trunk@1885 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-14 17:45:31 +00:00
srowen 4863e3ed8c Reject short Code 39 -- too likely to be a false positive
git-svn-id: https://zxing.googlecode.com/svn/trunk@1884 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-13 16:58:58 +00:00
srowen fa5c84a0cf Let RSS tests succeed even when run from project root
git-svn-id: https://zxing.googlecode.com/svn/trunk@1883 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-13 16:58:32 +00:00
srowen 6c87ea3ee6 Fix small bug I saw in bounds checking
git-svn-id: https://zxing.googlecode.com/svn/trunk@1880 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-09 22:22:09 +00:00
srowen 869ddc1dbf Improvement to finder/alignment pattern detection in low-res situations: use averages. It makes it much better on images of this sort, decreasing failure rate by about 60%. (It makes one old image fail, but looks like a fluke)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1875 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-02 16:20:59 +00:00
srowen 0fe6737a76 Translate Data Matrix FNC1 as ASCII 29, as spec suggests that's usual in some cases
git-svn-id: https://zxing.googlecode.com/svn/trunk@1867 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-27 12:07:02 +00:00
srowen 3f1f2188b2 Two small javadoc warnings
git-svn-id: https://zxing.googlecode.com/svn/trunk@1866 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-25 16:36:39 +00:00
srowen 645a03c6a5 Issue 882 few more small DM issues
git-svn-id: https://zxing.googlecode.com/svn/trunk@1865 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-23 14:43:37 +00:00
srowen f8e3cef85d Issue 920 add ITF length 18, make C++ consistent with Java here
git-svn-id: https://zxing.googlecode.com/svn/trunk@1863 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-23 14:09:51 +00:00
srowen 1c564fcf6a Avoid exception in weird image situations
git-svn-id: https://zxing.googlecode.com/svn/trunk@1854 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-12 10:32:47 +00:00
srowen 245d432cd0 Issue 898 be more precise about calculating data size and version
git-svn-id: https://zxing.googlecode.com/svn/trunk@1852 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-11 14:57:55 +00:00
srowen 05455c7b68 Issue 897 tighten URI definition
git-svn-id: https://zxing.googlecode.com/svn/trunk@1851 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-09 09:23:23 +00:00
srowen 61c3e38802 Strengthen check for bad dimension
git-svn-id: https://zxing.googlecode.com/svn/trunk@1845 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-01 07:48:08 +00:00
srowen 10065f8c1c Avoid AIOOBE for corrupt codes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1837 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-28 06:50:37 +00:00
srowen 1f82b11d01 Issue 822 more small DM fixes from user
git-svn-id: https://zxing.googlecode.com/svn/trunk@1832 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-23 16:18:20 +00:00
srowen ce2bfa78f7 Issue 881 fix shift in C40 encodation
git-svn-id: https://zxing.googlecode.com/svn/trunk@1831 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-22 19:58:03 +00:00
srowen d0fb1435b1 Issue 880 treat EDIFACT as ASCII correctly when appending to result
git-svn-id: https://zxing.googlecode.com/svn/trunk@1830 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-22 19:49:23 +00:00
srowen 1d80e8abf5 Use \u escape syntax for Latin-1 chars to avoid weird encoding issue
git-svn-id: https://zxing.googlecode.com/svn/trunk@1825 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-14 19:04:49 +00:00
srowen 8a1c720221 Issue 865 user patch for support of control codes in Code 128 encoding (and output in decoding)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1822 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-14 07:38:18 +00:00
srowen 7f06b18976 Rationalize the black-run counting to avoid AIOOBE but also get the right answer still
git-svn-id: https://zxing.googlecode.com/svn/trunk@1820 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-10 08:43:38 +00:00
dswitkin@google.com 127839b2b7 Fixed a few crashes and added a FIXME for another which needs some refactoring.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1814 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-08 16:15:29 +00:00
dswitkin@google.com e04e3ef2c1 - Prevented secure URIs from being added to History or copied to the clipboard.
- Made the History display parsed entries instead of raw contents.
- Some minor cleanup and comments.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1813 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-07 22:37:13 +00:00
dswitkin@google.com dbc98a7a22 Made sure otpauth: is recognized as a valid URI.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1811 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-07 15:24:31 +00:00
srowen e9d5024e46 Issue 849, adjusted fix to Code128Writer
git-svn-id: https://zxing.googlecode.com/svn/trunk@1803 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-30 18:50:56 +00:00
srowen fb65c5b791 Enable Aztec, PDF 417 by default in core (not clients) mostly to further test them during unit tests
git-svn-id: https://zxing.googlecode.com/svn/trunk@1801 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-26 12:52:04 +00:00
srowen 7e710dd6ec Oops, amendment to last change
git-svn-id: https://zxing.googlecode.com/svn/trunk@1800 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-26 12:50:16 +00:00
srowen ce30fae7be Remove unnecessary dependency from common to qrcode package
git-svn-id: https://zxing.googlecode.com/svn/trunk@1799 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-26 12:42:07 +00:00
srowen df65c5b83e A bunch of code style related changes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1795 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-21 03:36:39 +00:00
srowen 2d7ef9faf4 Issue 742 at least parse iCal GEO in core library
git-svn-id: https://zxing.googlecode.com/svn/trunk@1787 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-20 07:12:49 +00:00
dswitkin@google.com ab003c1686 More TODO cleanup on longstanding comments which aren't going to be addressed.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1779 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-17 20:44:44 +00:00
dswitkin@google.com 8ff9e7f4fa Standardized the naming of our barcode formats and alphabetized them.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1775 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-17 15:46:09 +00:00
dswitkin@google.com 8f924716f0 Created a new blackbox test of real world Aztec images taken with a mobile phone. We're only decoding 9% at the moment.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1771 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-13 21:42:52 +00:00
srowen 0e28aa0e4c Fix previous update to PDF417 regarding AS vs AL
git-svn-id: https://zxing.googlecode.com/svn/trunk@1764 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-10 20:10:11 +00:00
srowen 3de06bcf41 Avoid an AIOOBE seen in the wild. A bit of polish.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1763 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-10 13:50:37 +00:00
srowen e1fda03246 Another user-suggested fix - misdetecting rectangular matrices in corner cases
git-svn-id: https://zxing.googlecode.com/svn/trunk@1761 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-08 14:57:15 +00:00
srowen 379ee79702 Used-supplied workaround for encoders which append spurious latch to ASCII at end of bit stream
git-svn-id: https://zxing.googlecode.com/svn/trunk@1759 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-07 13:43:23 +00:00
srowen 2e4e0d0c77 Issue 820 second format info was read incorrectly
git-svn-id: https://zxing.googlecode.com/svn/trunk@1751 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-04-29 08:35:13 +00:00
srowen dc1ae195ec Added 8 digit iTF by user request
git-svn-id: https://zxing.googlecode.com/svn/trunk@1744 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-04-14 21:06:25 +00:00
srowen eccab60446 Issue 801 User contributed typo fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1743 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-04-14 16:31:15 +00:00
srowen c24fefe747 Issue 797 user patch for code c support
git-svn-id: https://zxing.googlecode.com/svn/trunk@1739 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-04-11 17:20:38 +00:00
srowen 4b84ad8a40 Add length 20 per user request
git-svn-id: https://zxing.googlecode.com/svn/trunk@1736 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-04-05 08:20:47 +00:00
srowen 9e8fb1e2ff Issue 735 commit user patch for AAIOBE
git-svn-id: https://zxing.googlecode.com/svn/trunk@1723 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-03-06 19:23:15 +00:00
dswitkin@google.com ff5a939fbf Added two new blackbox tests of blurry barcodes taken with a fixed-focus mobile phone. Also fixed several other 1D blackbox tests that were off by an image here and there.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1721 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-02-23 23:47:01 +00:00
srowen ea813c3f88 User-contributed doc fixes and Issue 725
git-svn-id: https://zxing.googlecode.com/svn/trunk@1718 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-02-21 14:53:11 +00:00
srowen 7a6cc4c3d0 Various user-contributed fixes (Issue 701, Issue 710, Issue 714, Issue 718)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1717 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-02-15 13:23:14 +00:00
srowen a55e645bfe Issue 706 user-suggested patch for trimming bad whitespace on URI
git-svn-id: https://zxing.googlecode.com/svn/trunk@1712 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-02-02 13:55:44 +00:00
srowen e6d969b6f4 Issue 675 commit Lachezars great fix for large DM decoding
git-svn-id: https://zxing.googlecode.com/svn/trunk@1699 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-01-11 15:40:47 +00:00
srowen 99d09e0a44 Style stuff mostly but fix a problem between Aztec and J2ME too
git-svn-id: https://zxing.googlecode.com/svn/trunk@1681 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-12-15 14:42:17 +00:00
srowen 8c172f4891 Issue 658
git-svn-id: https://zxing.googlecode.com/svn/trunk@1678 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-12-12 22:31:51 +00:00
srowen e8bafc49f9 Minor fix to carry shift value across input triads
git-svn-id: https://zxing.googlecode.com/svn/trunk@1670 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-25 17:39:17 +00:00
srowen c4dede3689 Style changes to Aztec, enable in web app and command line
git-svn-id: https://zxing.googlecode.com/svn/trunk@1669 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-21 20:47:00 +00:00
dav.olivier@gmail.com e1c047c54b Support for aztec codes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1668 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-20 21:21:34 +00:00
dav.olivier@gmail.com 0c3a1650d2 Generator polynomial for reed-Solomon algorithm can now have coefficients in any Gallois fields rather than GF(256) only
git-svn-id: https://zxing.googlecode.com/svn/trunk@1667 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-20 21:18:54 +00:00
dav.olivier@gmail.com 5ec9b84660 Generator polynomial for reed-Solomon algorithm can now have coefficients in any Gallois fields rather than GF(256) only
git-svn-id: https://zxing.googlecode.com/svn/trunk@1666 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-20 21:18:04 +00:00
srowen c977f184e3 Issue 630, allow 16 digits
git-svn-id: https://zxing.googlecode.com/svn/trunk@1662 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-19 10:01:52 +00:00
srowen 207b5e294d Fix for shift handling
git-svn-id: https://zxing.googlecode.com/svn/trunk@1660 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-17 07:15:46 +00:00
srowen b19fbf3d4b Allow 24-digit ITF
git-svn-id: https://zxing.googlecode.com/svn/trunk@1655 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-15 19:58:23 +00:00
srowen 33999a3afa Part 1 of a fix from Jeremiah
git-svn-id: https://zxing.googlecode.com/svn/trunk@1634 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-03 19:50:30 +00:00
srowen 5108924d05 Use includeantruntime=false to avoid Ant 1.8 warning
git-svn-id: https://zxing.googlecode.com/svn/trunk@1631 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-25 21:03:11 +00:00
srowen 2874ed0988 Overhaul 'extractPureBits' implementations and standardize. Improve by looking for bottom-right black pixel. Fix PDF417 pure barcode mode along the way.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1628 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-23 19:14:03 +00:00
srowen e9ae6dd4d3 Issue 582
git-svn-id: https://zxing.googlecode.com/svn/trunk@1625 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-13 14:13:55 +00:00
srowen c3f4602678 Issue 581, Hanzi mode support from Shiyuan Guo
git-svn-id: https://zxing.googlecode.com/svn/trunk@1623 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-12 16:01:31 +00:00
srowen eaecf26bf6 Small style stuff
git-svn-id: https://zxing.googlecode.com/svn/trunk@1622 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-12 11:38:43 +00:00
srowen 345a55c6c7 Guard against exception case discovered in new DM code, clean up its formatting a bit
git-svn-id: https://zxing.googlecode.com/svn/trunk@1620 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-10 21:26:44 +00:00
srowen aa6c437d71 Adjust formatting on last change. Simplify GridSampler
git-svn-id: https://zxing.googlecode.com/svn/trunk@1618 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-07 08:29:41 +00:00
dav.olivier@gmail.com 94679de34d Issue 563: Support non-rectangular Data Matrix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1616 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-05 20:19:53 +00:00
srowen 8f2ddd96e7 At last update to JUnit 4.x
git-svn-id: https://zxing.googlecode.com/svn/trunk@1611 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-30 22:26:48 +00:00
srowen c01ee70804 Support SMTP URLs
git-svn-id: https://zxing.googlecode.com/svn/trunk@1609 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-30 15:44:39 +00:00
srowen 5abef2f3aa Fix small display problem when extension starts with 9
git-svn-id: https://zxing.googlecode.com/svn/trunk@1608 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-30 15:44:12 +00:00
srowen 0be168eb9a Tiny change "DataMatrix" to "Data Matrix"
git-svn-id: https://zxing.googlecode.com/svn/trunk@1592 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-16 07:24:25 +00:00
srowen 89c421c2bb Small fixes for 1.6 release
git-svn-id: https://zxing.googlecode.com/svn/trunk@1587 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-13 10:58:48 +00:00
srowen fd3c38bf70 Another minor change to WhiteRectangleDetector and update "about" screen in Android to mention Data Matrix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1586 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-13 09:12:02 +00:00
srowen 05582c4975 Replace Math.round() with simple workalike -- faster, and needed to work in JavaME
git-svn-id: https://zxing.googlecode.com/svn/trunk@1585 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-13 09:05:15 +00:00
srowen ce3d27ed69 Turn on Data Matrix, including separate scan option in Android
git-svn-id: https://zxing.googlecode.com/svn/trunk@1579 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-09 07:30:57 +00:00
srowen 2526ea8713 Reformat, and implement some performance optimization
git-svn-id: https://zxing.googlecode.com/svn/trunk@1578 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-07 23:53:33 +00:00
dav.olivier@gmail.com 674a5c6f91 Minor deletion of code that shouldn't have been committed
git-svn-id: https://zxing.googlecode.com/svn/trunk@1576 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-05 11:28:12 +00:00
dav.olivier@gmail.com dca6c9a353 corrected possibilities of crashing while detecting a datamatrix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1575 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-04 18:07:09 +00:00
dav.olivier@gmail.com a573e789d2 Improved datamatrix reader with new algorithm
git-svn-id: https://zxing.googlecode.com/svn/trunk@1574 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-03 20:49:22 +00:00
srowen 47d2f3c798 David Olivier's Data Matrix improvements
git-svn-id: https://zxing.googlecode.com/svn/trunk@1573 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-03 07:50:47 +00:00
srowen 14a03f40b1 Issue 537, don't return UPC-A for EAN-13 starting with 0 when UPC-A isn't allowed
git-svn-id: https://zxing.googlecode.com/svn/trunk@1572 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-01 10:26:37 +00:00
smparkes@smparkes.net d98d2af1ab Issue 524
git-svn-id: https://zxing.googlecode.com/svn/trunk@1570 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-31 03:18:56 +00:00
dswitkin@google.com b14a77502d One more change to accommodate differences in jpeg libraries. Some machines will report this test as too lax by one image.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1568 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-26 14:58:03 +00:00
dswitkin@google.com 1ba5eceeb2 Updated the negative blackbox test values.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1567 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-26 14:55:17 +00:00
dswitkin@google.com 226bf1a1a6 Added rounding code to getRow() as well and updated the tests accordingly.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1564 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-26 14:06:44 +00:00
dswitkin@google.com 7db3546ea6 Created new false positives blackbox test. We definitely have a problem with EAN_8 firing too often.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1560 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-25 18:23:00 +00:00
smparkes@smparkes.net 4836a3e28c Issue 494 round luminance values rather than truncate
git-svn-id: https://zxing.googlecode.com/svn/trunk@1558 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-25 15:54:19 +00:00
dswitkin@google.com a080a85cdd Created new UPC-A blackbox test.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1554 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-23 15:47:13 +00:00
smparkes@smparkes.net dd1336d0cf Tweak svn/git ignores
Add OS X libzxing.a project
Include a copy of scons-local for cpp


git-svn-id: https://zxing.googlecode.com/svn/trunk@1549 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-20 00:41:26 +00:00
smparkes@smparkes.net 6e3b219023 cleaned up versions of new tests; hopefully no EOL issues
git-svn-id: https://zxing.googlecode.com/svn/trunk@1542 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-17 00:10:33 +00:00
smparkes@smparkes.net 6220f46c94 remove CRLF files before readding them (in an attempt to not confuse SVN with EOL stuff)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1541 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-17 00:09:09 +00:00
srowen 346d163125 Issue 520
git-svn-id: https://zxing.googlecode.com/svn/trunk@1540 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-16 21:55:33 +00:00
smparkes@smparkes.net b2cf605bc9 a set of synthetic version 40 tests at each ECC level
git-svn-id: https://zxing.googlecode.com/svn/trunk@1539 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-16 21:02:27 +00:00
srowen 5d34f3a55d Issue 519
git-svn-id: https://zxing.googlecode.com/svn/trunk@1537 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-16 20:19:09 +00:00
srowen aee6be71f3 Issue 492
git-svn-id: https://zxing.googlecode.com/svn/trunk@1533 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-14 19:11:49 +00:00
srowen d096810e67 Remove another -Xint, and use -Djava.awt.headless=true to avoid Apple JDK annoyance
git-svn-id: https://zxing.googlecode.com/svn/trunk@1530 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-13 17:20:42 +00:00
srowen f2ac4e651b Tiny style bits
git-svn-id: https://zxing.googlecode.com/svn/trunk@1528 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-13 17:17:47 +00:00
srowen 073a3033fc Workaround for Hotspot bug that lets tests run without -Xint, from Steven Parkes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1526 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-13 03:30:58 +00:00
srowen 0a6cac9820 Issue 508
git-svn-id: https://zxing.googlecode.com/svn/trunk@1523 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-12 20:24:38 +00:00
srowen 6c9812e9bb Issue 511
git-svn-id: https://zxing.googlecode.com/svn/trunk@1522 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-12 20:18:08 +00:00
srowen 09b0039530 Add result points for UPC EAN metadata extension
git-svn-id: https://zxing.googlecode.com/svn/trunk@1519 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-11 13:59:48 +00:00
srowen 14712eff37 Issue 512
git-svn-id: https://zxing.googlecode.com/svn/trunk@1517 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-11 13:42:39 +00:00
srowen 0a5e8e9298 Preserve query in geo URI
git-svn-id: https://zxing.googlecode.com/svn/trunk@1514 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-07 13:21:35 +00:00
dswitkin@google.com 2cb4f5f82b Issue 495: Renamed DATAMATRIX to DATA_MATRIX for consistency.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1508 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-05 15:22:30 +00:00
srowen 6b5616e7dd Issue 469 -- tweak to special case of all-black 8x8 region. Parse it as black. Other near-uniform regions remain parsed as all white.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1500 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-07-31 15:07:16 +00:00
srowen 273220b3f8 Fix corner case - pure barcode, 1 pixel module
git-svn-id: https://zxing.googlecode.com/svn/trunk@1483 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-07-14 20:49:13 +00:00
srowen b3993e7d51 Remove use of methods not in J2ME
git-svn-id: https://zxing.googlecode.com/svn/trunk@1452 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-22 06:23:20 +00:00
srowen 2d7b4138ab Display possible country origin info on product scan
git-svn-id: https://zxing.googlecode.com/svn/trunk@1438 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-16 21:13:47 +00:00
srowen 627cd6cab0 Avoid possible AIOOBE on bad input
git-svn-id: https://zxing.googlecode.com/svn/trunk@1437 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-16 21:12:43 +00:00
srowen 8cbe558ec3 Add support for UPC/EAN +5 extensions, plus basic tests, and display the content in Android client as metadata
git-svn-id: https://zxing.googlecode.com/svn/trunk@1436 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-16 19:49:22 +00:00
vikrama 58fefb095c Core library changes to include wifi type. One measly test included as well.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1421 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-10 03:49:18 +00:00
srowen 51970aa020 Issue 439: be more lax and don't look for END
git-svn-id: https://zxing.googlecode.com/svn/trunk@1416 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-08 05:20:00 +00:00
bas5winkel d818288177 Changed validation method in order to prevent false positives on other 1D barcodes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1407 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-01 14:39:24 +00:00
bas5winkel 97060619fe Renamed Codabar files and added text files for testing purposes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1406 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-01 14:35:38 +00:00
srowen 492492b591 Update Codabar style and disable it as its causing too many false positives
git-svn-id: https://zxing.googlecode.com/svn/trunk@1403 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-31 12:49:29 +00:00
bas5winkel@gmail.com e5a9d43849 Added support for codabar format
git-svn-id: https://zxing.googlecode.com/svn/trunk@1401 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-31 12:39:48 +00:00
bas5winkel@gmail.com 9a3da71c4c Added support for codabar format
git-svn-id: https://zxing.googlecode.com/svn/trunk@1399 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-31 12:18:49 +00:00
srowen 05e8181ef5 Add Code 93 support. Update tests to reflect new (better) number of successes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1398 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-30 14:37:08 +00:00
srowen a86b0e7cf3 Small speedup, per issue 422
git-svn-id: https://zxing.googlecode.com/svn/trunk@1395 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-28 15:39:11 +00:00
srowen 1ef423bf68 More encoding related changes for encoding Chinese chars in QR codes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1392 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-27 11:25:00 +00:00
srowen@gmail.com a189e6c00c Issue 412
git-svn-id: https://zxing.googlecode.com/svn/trunk@1376 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-20 10:50:34 +00:00
srowen cd06f524d8 Issue 411
git-svn-id: https://zxing.googlecode.com/svn/trunk@1375 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-19 18:36:59 +00:00
srowen 88788a8b7e Issue 408 comment fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1371 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-19 07:20:28 +00:00
srowen 737e0de917 Move character encoding logic out to common, try again to improve its handling of UTF8 for Chinese market, per manufacturer request, added test cases
git-svn-id: https://zxing.googlecode.com/svn/trunk@1364 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-15 11:21:03 +00:00
srowen 74c8744e8c Big RSS Expanded changelist -- thank you authors
git-svn-id: https://zxing.googlecode.com/svn/trunk@1350 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-10 19:18:50 +00:00
srowen 87b0b9c8aa Tighten up some stuff I saw from the logs
git-svn-id: https://zxing.googlecode.com/svn/trunk@1344 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-08 20:56:31 +00:00
srowen 8763063b7b Typo fix, thanks Ken
git-svn-id: https://zxing.googlecode.com/svn/trunk@1328 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-02 16:41:55 +00:00
srowen 816d6b81e0 Replace tabs with spaces ( part of accepting another big patch); fix one failing test due to typo
git-svn-id: https://zxing.googlecode.com/svn/trunk@1326 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-02 06:49:18 +00:00
srowen 8a46200c72 Add ENCODING=QUOTED-PRINTABLE support
git-svn-id: https://zxing.googlecode.com/svn/trunk@1317 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-24 09:28:10 +00:00
srowen 33bbcab859 Issue 357
git-svn-id: https://zxing.googlecode.com/svn/trunk@1313 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-19 20:49:54 +00:00
srowen e51dbb3c53 Use RSS14 on the command line; scan more lines since RSS14 stacked kind of needs this; fix VerifyError when RSS14 is enabled on Android
git-svn-id: https://zxing.googlecode.com/svn/trunk@1311 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-19 09:23:43 +00:00
srowen 88649bb0d4 Allow 12-digit ITF
git-svn-id: https://zxing.googlecode.com/svn/trunk@1308 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-16 06:45:10 +00:00
srowen 2e9afb3673 Add description support, as well as handle VEVENT line continuation. Get rid of unused 'title' property
git-svn-id: https://zxing.googlecode.com/svn/trunk@1304 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-13 10:46:31 +00:00
srowen 3a415a4994 Fix small compile error in javame/, update for Java ME SDK 3.x layout, finally disentangle Proguard location from WTK
git-svn-id: https://zxing.googlecode.com/svn/trunk@1302 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-12 08:59:41 +00:00
srowen 047c932fcb Recognize LOCATION in VEVENT
git-svn-id: https://zxing.googlecode.com/svn/trunk@1301 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-11 16:42:11 +00:00
srowen c7d5c2af5a Noticed we should just use BarcodeFormat constants in the client for simplicity
git-svn-id: https://zxing.googlecode.com/svn/trunk@1295 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-10 15:30:22 +00:00
srowen 06a6a35ce1 Pure-barcode mode can now deal with asymmetric borders instead of assuming it's pure generator output with equal borders
git-svn-id: https://zxing.googlecode.com/svn/trunk@1288 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 21:30:53 +00:00
srowen 634273cfdb Use jar packaging
git-svn-id: https://zxing.googlecode.com/svn/trunk@1287 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 19:58:40 +00:00
srowen be71fb0613 Back up and restore poms to prerelease state
git-svn-id: https://zxing.googlecode.com/svn/trunk@1285 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 12:38:26 +00:00
srowen 8eb728e9c9 [maven-release-plugin] prepare release core-1.5
git-svn-id: https://zxing.googlecode.com/svn/trunk@1283 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 11:59:11 +00:00
srowen e3fd5a55f8 [maven-release-plugin] rollback the release of core-1.5
git-svn-id: https://zxing.googlecode.com/svn/trunk@1282 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 11:57:56 +00:00
srowen 916c5a4d70 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://zxing.googlecode.com/svn/trunk@1281 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 09:37:46 +00:00
srowen 8d4feb5eff [maven-release-plugin] prepare release core-1.5
git-svn-id: https://zxing.googlecode.com/svn/trunk@1279 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 09:37:27 +00:00
srowen 7410fd3082 Issue 361
git-svn-id: https://zxing.googlecode.com/svn/trunk@1268 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-30 22:53:34 +00:00
srowen 0b74dfc7fe Update sms: and geo: handling to better respect new RFCs
git-svn-id: https://zxing.googlecode.com/svn/trunk@1266 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-30 18:33:54 +00:00
srowen 0b2f7dcd2e Add timestamp to result screen
git-svn-id: https://zxing.googlecode.com/svn/trunk@1261 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-26 22:40:09 +00:00
srowen 48a74e2b14 Turn down depth of recursion
git-svn-id: https://zxing.googlecode.com/svn/trunk@1256 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-25 17:23:55 +00:00
srowen 53dcdf4ffc Quick patch to make this work with current writer API
git-svn-id: https://zxing.googlecode.com/svn/trunk@1253 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-25 15:16:33 +00:00
srowen 6e05578429 Add basic Code 128, Code 39, ITF writers, per Erik
git-svn-id: https://zxing.googlecode.com/svn/trunk@1252 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-25 12:49:27 +00:00
srowen a0381b760d Avoid RSS-14 false positive issue, which temporarily hurts its scanning a lot, but will work more later. Readjust unit test pass counts, which seem to have drifted. The change is net neutral in any event.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1251 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-25 11:42:08 +00:00
srowen 59fbd6564e Issue 327. Relax decoder assumptions
git-svn-id: https://zxing.googlecode.com/svn/trunk@1243 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-10 11:10:49 +00:00
srowen 70933a7ffd To fix http://groups.google.com/group/zxing/browse_thread/thread/bf1d150a7ed44ee8#, try a little harder on 1D, which is fine
git-svn-id: https://zxing.googlecode.com/svn/trunk@1239 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-05 10:41:51 +00:00
srowen d273ab5dbc Prevent an array out of bounds exception I noticed in the web logs
git-svn-id: https://zxing.googlecode.com/svn/trunk@1238 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-04 21:15:39 +00:00
srowen 0c54a9f45b Caught a few J2ME incompatibilities in build
git-svn-id: https://zxing.googlecode.com/svn/trunk@1235 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-04 18:53:58 +00:00
srowen 0cf89d0402 Preliminary RSS-14 support. Not enabled yet in Android client.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1233 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-04 18:38:58 +00:00
srowen 4f072f67ee Per Brad Threatt -- don't fail early on NotFoundException when finding multiple finder patterns
git-svn-id: https://zxing.googlecode.com/svn/trunk@1232 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-02 14:58:18 +00:00
srowen 508697a318 Related to Issue 205, but not the direct issue: read both copies of the format info and use both in determining the right one. This avoids a close, but incorrect first match throwing off the decoding. Also fix creating an image from ByteMatrix -- was inverted
git-svn-id: https://zxing.googlecode.com/svn/trunk@1226 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-01 11:04:22 +00:00
srowen 5ef5f3b02d "Split" ReaderException into subclasses to enable more useful error reporting
git-svn-id: https://zxing.googlecode.com/svn/trunk@1195 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-02 08:23:46 +00:00
srowen f9b648c131 Fixed old unit test compile problem I probaby introduced
git-svn-id: https://zxing.googlecode.com/svn/trunk@1194 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-02 07:34:35 +00:00
srowen 87f2fada9a Pre-RSS-14 changes. Necessary code changes, but not the decoder. Committing this since it does no harm and clears out my client so I can modify these files for other purposes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1193 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-01 19:41:17 +00:00
srowen 171bd88c5d Issue 331
git-svn-id: https://zxing.googlecode.com/svn/trunk@1191 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-29 10:27:07 +00:00
dswitkin 04d5b85502 This is a set of mobile image taken at 480x360 with difficult lighting.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1187 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-17 23:12:21 +00:00
dswitkin 395f145067 Deleted the old ean13-2 test data which contained high resolution blurry images. These are not the focus of ZXing and not worth testing against. I'm going to replace them shortly with more relevant test images.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1186 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-17 22:19:59 +00:00
srowen c2a6255e19 Fix/improvement from Jiayong
git-svn-id: https://zxing.googlecode.com/svn/trunk@1184 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-11 06:08:20 +00:00
srowen 719ed5b883 Undo the ^= true thing in more files
git-svn-id: https://zxing.googlecode.com/svn/trunk@1182 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-10 12:41:04 +00:00
srowen 2d0b3bc83a Issue 316
git-svn-id: https://zxing.googlecode.com/svn/trunk@1181 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-10 09:59:54 +00:00
srowen ae379e56e9 Better version of revision 1166 and 1165 -- corrects behavior, by changing code such that points are always within image. Happens to make one test image fail at one rotation, but think that was a 'false gain' so accepted that tiny step backwards.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1178 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-06 14:02:16 +00:00
srowen e44cc99359 Maybe avoid weird Proguard issue by removing inner class?
git-svn-id: https://zxing.googlecode.com/svn/trunk@1177 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-06 12:13:46 +00:00
srowen c7a5b5f0a9 Issue 311 fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1174 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-05 09:40:54 +00:00
srowen bfaa68426b Issue 309, don't fail if birthday is bad
git-svn-id: https://zxing.googlecode.com/svn/trunk@1172 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-04 20:02:33 +00:00
srowen d71f40fef6 Two tiny improvements to make code more consistent
git-svn-id: https://zxing.googlecode.com/svn/trunk@1170 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-03 16:15:39 +00:00
srowen a38b0123f6 Tighten up detection of URLs on some garbage strings
git-svn-id: https://zxing.googlecode.com/svn/trunk@1167 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-22 18:30:09 +00:00
srowen 00c49493c0 Oops realized DM decoder also benefits from that last possible fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1166 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-22 12:24:02 +00:00
srowen 18002649eb Guess of a fix at array index out of bounds problem observed in the wild
git-svn-id: https://zxing.googlecode.com/svn/trunk@1165 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-22 12:19:31 +00:00
srowen 2736b6e19e Unit test for some reason too stringent by one? was breaking in a clean build
git-svn-id: https://zxing.googlecode.com/svn/trunk@1164 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-22 12:18:32 +00:00
dswitkin 539f890acf Added a new build-optimized target to core for applications which want the library to be optimized but don't want to run ProGuard themselves against the entire app.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1162 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-20 20:08:32 +00:00
dswitkin e779586745 Made a small performance tweak (about 1% faster).
git-svn-id: https://zxing.googlecode.com/svn/trunk@1158 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-13 21:36:38 +00:00
dswitkin 5cc1df3c92 Finished work on the local binarizer and renamed it to HybridBinarizer. It uses the old histogram for 1D and the new approach for 2D. The unit tests don't fully demonstrate how much better this is in real-world lighting, but it pretty much solves the situation of pointing at a QR Code for 30 seconds without scanning, due to a shadow or gradient.
HybridBinarizer is now the default across all the fast clients and the unit tests.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1157 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-13 21:08:57 +00:00
dswitkin 8ba08bb916 Added the ability to track who is throwing exceptions and how often in the core library. Uncomment to enable it.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1155 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-13 17:10:02 +00:00
dswitkin fbff1b9718 Eliminated up to 700 execeptions being thrown per image by changing one method to return -1 on failure.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1154 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-13 16:58:28 +00:00
dswitkin b21dd14d9b Added a check so that the PDF417 reader can get through the partial blackbox test.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1152 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-13 15:02:33 +00:00
srowen ef4cdf1969 Issue 295 and Issue 294, treat ADR as wholly different addresses, not 2 lines of 1 address
git-svn-id: https://zxing.googlecode.com/svn/trunk@1150 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-10 15:50:54 +00:00
srowen 6271b86315 Issue 294, add support for several address lines in parsed results
git-svn-id: https://zxing.googlecode.com/svn/trunk@1148 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-10 00:34:54 +00:00
srowen 9f3ee05fe1 Opening up the Detector a little to allow extension, such as per Ralf
git-svn-id: https://zxing.googlecode.com/svn/trunk@1143 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-08 19:58:01 +00:00
srowen 27be3fb930 Oops, last change meant to include this -- changelist got split
git-svn-id: https://zxing.googlecode.com/svn/trunk@1142 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-08 19:49:52 +00:00
srowen 1e5964024b Make finder pattern detection a little more tolerant, per Ralf. Increases accuracy slightly.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1141 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-08 19:47:50 +00:00
srowen e0fc79fda0 Small bug fix from Ralf
git-svn-id: https://zxing.googlecode.com/svn/trunk@1140 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-08 15:51:32 +00:00
srowen edddb45040 Remove use of Hashtable.clone(), doesn't work in J2ME
git-svn-id: https://zxing.googlecode.com/svn/trunk@1139 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-08 12:02:35 +00:00
dswitkin bdc25cf5bc Removed three interfaces which weren't doing any good and were making the 1D class hierarchy even more complicated than it already is.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1138 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-08 02:15:35 +00:00
dswitkin 5c627db289 Added some comments and fixed up lines over 100 columns.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1134 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-03 20:35:10 +00:00
srowen efd5cc819f Issue 287
git-svn-id: https://zxing.googlecode.com/svn/trunk@1131 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-30 16:01:20 +00:00
srowen d1973dce0a Draft of 'thinking' visualization for barcode scanning. Works for 1D and QR codes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1125 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-23 16:42:31 +00:00
srowen 88c77b18b8 Fixed unit test fail from vCard change
git-svn-id: https://zxing.googlecode.com/svn/trunk@1122 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-23 09:37:58 +00:00
srowen f75a6ec766 Loosen BDAY parsing for vCard results
git-svn-id: https://zxing.googlecode.com/svn/trunk@1118 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-22 11:14:39 +00:00
srowen b710e257eb More fixes, to cropping BufferedImages
git-svn-id: https://zxing.googlecode.com/svn/trunk@1109 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-13 10:46:04 +00:00
srowen 431ace93e1 Oops fixed typo in last patch
git-svn-id: https://zxing.googlecode.com/svn/trunk@1108 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-13 09:57:14 +00:00
srowen ac64595afa Be more conservative about choosing Kanji mode. Since we don't support mixed mode, can only use it when the input is all double-byte Kanji.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1107 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-13 09:49:49 +00:00
srowen 0debee9c71 Issue 271
git-svn-id: https://zxing.googlecode.com/svn/trunk@1106 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-13 09:17:18 +00:00
srowen 8e4824da68 Fix some double-reversed i-j problems in this code
git-svn-id: https://zxing.googlecode.com/svn/trunk@1104 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-12 22:18:25 +00:00
srowen 9fd4391f8e Added Code 39 check digit hint
git-svn-id: https://zxing.googlecode.com/svn/trunk@1098 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-04 22:00:27 +00:00
srowen e913ff5990 Remove some redundant 'throws'; allocate more reasonably sized StringBuffers for performance
git-svn-id: https://zxing.googlecode.com/svn/trunk@1093 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-02 10:16:03 +00:00
dswitkin 0fd5a2c506 - Created Barcode Scanner 3.0 beta 1, for Donut and above only.
- Added support for ACTION_SEND intent for encoding a QR from Contacts.
- Made VCARD parsing a little less strict.
- Updated help and fixed a minor UI issue.
- Removed vestigial intent support using the old package name.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1075 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-19 18:04:57 +00:00
srowen a9788f0419 Oops passing somewhat too large values for width / height -- were being used as right/bottom coordinates.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1074 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-13 17:20:25 +00:00
srowen fbcafd74c8 Issue 249, fix references to methods not in MIDP 2
git-svn-id: https://zxing.googlecode.com/svn/trunk@1073 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-13 17:16:19 +00:00
srowen 29b88b66e3 Improved history function
git-svn-id: https://zxing.googlecode.com/svn/trunk@1066 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-29 22:33:03 +00:00
srowen 63b8253e10 Remove MobileTag support -- outdated, unused, and not clear we support the direction MobileTag is going
git-svn-id: https://zxing.googlecode.com/svn/trunk@1060 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-23 13:33:45 +00:00
srowen 938c44c17a Another shot at TCP CLOSE_WAIT issue, and tiny code tweak
git-svn-id: https://zxing.googlecode.com/svn/trunk@1057 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-18 10:27:17 +00:00
srowen 3b557e6229 Run tests with -Xint to work around weird JIT bug in Java 6, which causes ArithmeticException failure in a few QR code tests
git-svn-id: https://zxing.googlecode.com/svn/trunk@1054 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-15 09:06:45 +00:00
srowen 5b041daad0 Spell checker fixes, narrowed scope / made less visible where possible. Little stuff
git-svn-id: https://zxing.googlecode.com/svn/trunk@1053 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-15 09:03:05 +00:00
srowen eef79f730b Fix for old logic error in seeking format information -- actually was comparing unmasked rather than masked values, though it ended up working
git-svn-id: https://zxing.googlecode.com/svn/trunk@1052 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-14 10:17:17 +00:00
srowen c02bd97b6a Tiny code adjustments from inspection
git-svn-id: https://zxing.googlecode.com/svn/trunk@1041 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-25 21:29:39 +00:00
srowen 46640620e9 Issue 230
git-svn-id: https://zxing.googlecode.com/svn/trunk@1040 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-24 06:49:57 +00:00
srowen e1dd41a115 Improve detector logic to throw out false positive finder patterns in a more reasonable manner. Current logic didn't quite achieve its goal in some corner cases and needed rethinking and some simplification. Fixes a reported failure from the group list. Net change in passed test cases is -1 otherwise (for 270 degree rotation -- not vital) so I consider it a net tiny win.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1039 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-23 15:32:01 +00:00
srowen 362236564e Miscellaneous changes from FindBugs analysis
git-svn-id: https://zxing.googlecode.com/svn/trunk@1038 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-22 15:16:36 +00:00
srowen 6dbf893cb0 Add MatrixToImageWriter convenience class, small code tweaks in javase/, make ByteMatrix width/height property getters names standard
git-svn-id: https://zxing.googlecode.com/svn/trunk@1028 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-30 08:58:57 +00:00
dswitkin d8b1011324 Fixed some long lines over 100 columns.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1027 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-23 22:10:43 +00:00
srowen 4331605913 Added error correction level to Result
git-svn-id: https://zxing.googlecode.com/svn/trunk@1026 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-22 10:40:18 +00:00
srowen 91d8e04d86 Re-enable ProGuard, and finally identified the workaround that seems to make 4.4 work with our code without a VerifyError
git-svn-id: https://zxing.googlecode.com/svn/trunk@1025 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-22 10:36:11 +00:00
srowen 9f475ac33e Small detector simplification that addresses issue 215 and picks up a net +4 more images decoded in tests
git-svn-id: https://zxing.googlecode.com/svn/trunk@1022 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-21 09:39:31 +00:00
srowen 636c00e844 Another tweak to get some valid ISO-8859-1 strings like "frédéric" to be guessed correctly
git-svn-id: https://zxing.googlecode.com/svn/trunk@1021 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-17 09:30:46 +00:00
dswitkin 54e6ed418a More x, y cleanup and 100 column fixes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1017 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-08 21:17:52 +00:00
dswitkin 402880798c Modified my skew correction code to also work upside down, meaning we now decode three more inverted PDF 417 images.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1016 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-08 20:38:21 +00:00
dswitkin b238cb7828 I noticed that the codeword coordinates in PDF 417 barcodes were a few pixels off if there was skew or rotation in the image. I added a simple method to correct the vertical component of these points, and the units tests went from 8/23 to 11/23.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1015 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-02 20:07:09 +00:00
dswitkin 0944a2bb18 Got 180 degree rotation working for PDF 417, and turned on the appropriate unit tests as a result.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1014 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-01 19:42:52 +00:00
dswitkin af2ce46c37 Cleaned up a number of comments and code to fit in 100 columns and added some TODO items.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1013 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-01 16:35:05 +00:00
dswitkin e44f00ba75 Converted the last user of the old MonochromeBitmapSource-style calls over to BitMatrix, and removed these deprecated methods.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1012 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-01 16:13:25 +00:00
dswitkin c31b489efe Added the second PDF 417 test to the AllPositiveBlackBoxTester.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1011 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-01 15:13:44 +00:00
dswitkin 01eed5266e - Converted parts of the PDF 417 reader to use BitMatrix.
- Changed the PDF 417 detector to search the image more broadly, instead of assuming the barcode starts in the left 1/4 and ends in the right 1/4. We now get 8/23 on the real-world blackbox test, and we'll probably do even better with further improvements here.
- Added a quiet zone to two of the unit test images and updated a golden result for one of them. We now get 3/7 on the first test.
- Tried to fix some bugs in the upside down code but it still doesn't work.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1010 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-30 21:55:19 +00:00
dswitkin 0667b29155 Added the PDF 417 blackbox tests to the test-blackbox Ant target.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1009 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-30 18:51:43 +00:00
dswitkin f5124cec37 Created a new blackbox unit test of real-world PDF 417 images taken with an Android device. Currently we decode 0/23.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1008 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-30 18:47:34 +00:00
dswitkin 2397216901 Added a few computer-generated PDF 417 barcodes to the blackbox tests. The current code doesn't seem to handle more advanced error correction modes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1007 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-30 17:32:12 +00:00
dswitkin eb8b9677cf Added the previous Android benchmark I've been using to track performance, as well as a new one which uses wider images and therefore twice as many pixels.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1006 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-29 22:08:38 +00:00
dswitkin e2324bc2ae Added slightly better blackbox unit test stats.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1005 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-29 21:57:59 +00:00
dswitkin 10dfe7789b - Got the DataMatrix decoder compiling again with a quick bandaid.
- Fixed two bugs in the LocalBlockBinarizer sharpening routine. It can now decode 2132 images in our blackbox tests, compared to 2103 using the global histogram approach.
- Added the PDF 417 blackbox test to AllPositiveBlackBoxTester, and allowed it to complete even if the tests fail.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1004 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-29 15:49:42 +00:00
srowen 597fcfb23d Code analysis tweaks
git-svn-id: https://zxing.googlecode.com/svn/trunk@1003 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-28 16:33:02 +00:00
srowen 550511d760 Remove use of BinaryBitmap in QR Code, DM
git-svn-id: https://zxing.googlecode.com/svn/trunk@999 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-26 19:22:48 +00:00
dswitkin ce1badea71 Sean had a good idea to add @deprecated Javadoc comments to these three methods to help track down their usage. We can't use a Java @Deprecated annotation because core builds against Java 1.2.
git-svn-id: https://zxing.googlecode.com/svn/trunk@998 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-26 19:04:12 +00:00
dswitkin 167197ec7a Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, Binarizer, and BinaryBitmap classes. The unit tests pass and I believe the change is complete, but there are some clients like J2ME and Bug that I can't build.
This change will allow new thresholding algorithms to be developed and tested, as well as implemented per platform if needed (e.g. in JNI on Android). It should also perform better when multiple 2D Readers are installed, because the underlying image will only be converted to 1 bit once. It also allows some platforms to return luminance data without a copy.

The current state of this checkin is to use the old black point algorithm, which now lives in GlobalHistogramBinarizer. This will be our benchmark and fallback for slower platforms. Going forward we will begin to use LocalBlockBinarizer as I shake out the edge cases and tune it for performance. Currently it is unused.

IMPORTANT: I have temporarily included three methods from MonochromeBitmapSource at the end of BinaryBitmap as a way to make this change in stages. They are deprecated and will be removed soon. All of the Reader classes will need to change the way they examine 1 bit pixels to use the new getBlackRow() and getBlackMatrix() calls.

git-svn-id: https://zxing.googlecode.com/svn/trunk@993 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-26 17:49:45 +00:00
kev.sully 974fb5e403 ISSUE: http://code.google.com/p/zxing/issues/detail?id=42
Added PDF417 to list of readers. Will be used only if its specified in a Hint.

git-svn-id: https://zxing.googlecode.com/svn/trunk@987 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-26 14:34:16 +00:00
dswitkin da4f56b022 Fixed some code which was ignoring the result of MonochromeBitmapSource calls, which may work in some cases but isn't legal and failed and in some experiments.
git-svn-id: https://zxing.googlecode.com/svn/trunk@986 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-25 19:46:49 +00:00
srowen 969088fa82 Style changes mostly
git-svn-id: https://zxing.googlecode.com/svn/trunk@985 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-24 13:19:53 +00:00
kev.sully 372dfa1145 ISSUE: http://code.google.com/p/zxing/issues/detail?id=42
Added PDF417 to list of readers. Will be used only if its specified in a Hint.

git-svn-id: https://zxing.googlecode.com/svn/trunk@984 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-24 10:03:37 +00:00
kev.sully ffbbda2086 ISSUE: http://code.google.com/p/zxing/issues/detail?id=42
Added PDF417 to list of readers. Will be used only if its specified in a Hint.

git-svn-id: https://zxing.googlecode.com/svn/trunk@983 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-24 10:02:58 +00:00
kev.sully db23e7c3b1 ISSUE: http://code.google.com/p/zxing/issues/detail?id=42
Added PDF417 to list of readers. Will be used only if its specified in a Hint.

git-svn-id: https://zxing.googlecode.com/svn/trunk@982 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-24 10:02:27 +00:00
kev.sully 36db720dac ISSUE: http://code.google.com/p/zxing/issues/detail?id=42
Added PDF417 to list of readers. Will be used only if its specified in a Hint.

git-svn-id: https://zxing.googlecode.com/svn/trunk@981 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-24 10:02:04 +00:00
kev.sully f80399966f ISSUE: http://code.google.com/p/zxing/issues/detail?id=42
Added PDF417 to list of readers. Will be used only if its specified in a Hint.

git-svn-id: https://zxing.googlecode.com/svn/trunk@980 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-24 10:01:47 +00:00
dswitkin 6367973b49 Added a clear() method to BitMatrix.
git-svn-id: https://zxing.googlecode.com/svn/trunk@979 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-23 21:05:09 +00:00
dswitkin b613112615 Rewrote BitMatrix to allow rectangular 2D arrays, and so that every row begins with a new int, which makes it fast to copy out rows into BitArrays. This will be the basis of the upcoming bitmap refactoring for 1D Readers.
git-svn-id: https://zxing.googlecode.com/svn/trunk@978 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-22 21:03:34 +00:00
dswitkin 7fec06465a Continuing with the x, y coordinate push, BitMatrix is now standardized. I also converted DataMask back to i, j for now to be consistent with the rest of the QR module, and made sure all the tests still pass.
git-svn-id: https://zxing.googlecode.com/svn/trunk@977 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-22 19:52:51 +00:00