Commit graph

118 commits

Author SHA1 Message Date
srowen b18107391b Nope, disable link from geo: URL to Google Maps. Does not quite work in the browser yet.
git-svn-id: https://zxing.googlecode.com/svn/trunk@287 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 16:50:03 +00:00
srowen 4af9453acf First checkin of support for basic NDEF message types -- not enabled yet
git-svn-id: https://zxing.googlecode.com/svn/trunk@286 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 15:35:27 +00:00
srowen 444ec0b00f Add client support for geo URIs
git-svn-id: https://zxing.googlecode.com/svn/trunk@285 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 15:16:59 +00:00
srowen fab1e27971 Add geo: URL support (oh and removed an old moved file)
git-svn-id: https://zxing.googlecode.com/svn/trunk@284 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 14:57:56 +00:00
srowen bf29a16253 "Try harder" now examines a lot more lines in the image
git-svn-id: https://zxing.googlecode.com/svn/trunk@282 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-14 20:54:12 +00:00
srowen 1215cc3512 Added result metadata mechanism: now, reports orientation for 1D barcodes if it's not an upright orientation
git-svn-id: https://zxing.googlecode.com/svn/trunk@281 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-14 20:49:46 +00:00
srowen b6e14d880d Oops, delete old files that were moved
git-svn-id: https://zxing.googlecode.com/svn/trunk@280 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-14 18:54:09 +00:00
srowen 94e3009849 Changed signature of parse() to take in more general Result
git-svn-id: https://zxing.googlecode.com/svn/trunk@279 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-14 18:53:25 +00:00
srowen 34cc1d2b9d Move GridSampler into common package and refactor to ready it for use with Data Matrix
git-svn-id: https://zxing.googlecode.com/svn/trunk@278 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-14 18:44:41 +00:00
srowen 40e039302d This URL seems dead, removing the test
git-svn-id: https://zxing.googlecode.com/svn/trunk@277 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-14 18:43:41 +00:00
srowen 3219223f9d Trying out a new user-requested decode hint, allowing a caller to skip the first n barcodes found.
git-svn-id: https://zxing.googlecode.com/svn/trunk@276 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-13 19:32:08 +00:00
srowen 5f9237e9d0 Javadoc typo fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@273 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-12 19:27:17 +00:00
srowen d31305c5f6 Temporarily turning off Data Matrix in MultiFormatReader until it's done
git-svn-id: https://zxing.googlecode.com/svn/trunk@271 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-12 19:19:02 +00:00
srowen ea13f8b052 Refactorings to allow raw bytes to be passed back with reader result, where applicable
git-svn-id: https://zxing.googlecode.com/svn/trunk@270 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-12 18:51:46 +00:00
srowen 727cc95858 Fixed a few more extractPureBits() gotchas that came up, and added a couple tests for UPC-E
git-svn-id: https://zxing.googlecode.com/svn/trunk@269 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11 17:43:32 +00:00
srowen 0be4184870 Added overdue EAN-8 tests
git-svn-id: https://zxing.googlecode.com/svn/trunk@268 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11 15:28:23 +00:00
srowen df4e3ac853 Added some needed bounds checking in Data Matrix, QR Code extractPureBits() methods
git-svn-id: https://zxing.googlecode.com/svn/trunk@267 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11 15:26:45 +00:00
srowen fd1620e753 Small tweaks on this test too
git-svn-id: https://zxing.googlecode.com/svn/trunk@266 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11 15:05:10 +00:00
srowen 1b36bc820e Completed some modest tweaks to new Data Matrix code based on IntelliJ suggestions
git-svn-id: https://zxing.googlecode.com/svn/trunk@265 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11 15:01:02 +00:00
briangbrown 916edd548e Added code for the Data Matrix decoder.
Added initial ASCII tests for Data Matrix.
Added test symbols for DataMatrix.
Modified MultiFormatReader to try the DataMatrixReader after 1D and QRCode.



git-svn-id: https://zxing.googlecode.com/svn/trunk@264 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11 03:48:12 +00:00
srowen 600e93c174 Overdue unit tests for some QR code classes
git-svn-id: https://zxing.googlecode.com/svn/trunk@260 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-10 20:38:00 +00:00
srowen 7a6f72bad4 Move BitSource to common package so that it can be reused by Data Matrix decoder
git-svn-id: https://zxing.googlecode.com/svn/trunk@259 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-10 20:16:57 +00:00
srowen 7d3abc8896 Add support for Android Intent URIs encoded in a barcode
git-svn-id: https://zxing.googlecode.com/svn/trunk@251 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-06 16:05:56 +00:00
srowen f7306489b6 Now supports KDDI/AU / Softbank address book format
git-svn-id: https://zxing.googlecode.com/svn/trunk@249 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-06 15:43:31 +00:00
srowen 513479cf20 More minor code improvements
git-svn-id: https://zxing.googlecode.com/svn/trunk@248 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-05 21:55:18 +00:00
srowen a78f7f40d5 Various code tweaks and refactorings suggested by IntelliJ
git-svn-id: https://zxing.googlecode.com/svn/trunk@246 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-05 17:26:44 +00:00
srowen c82d0790c3 Try more possible finder patterns, but be stricter about vetting them. Produces about a 30% increase in accuracy on our test cases.
git-svn-id: https://zxing.googlecode.com/svn/trunk@244 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-04 20:42:34 +00:00
srowen e3d418f458 Minor change to avoid using synthetic accessor for private member
git-svn-id: https://zxing.googlecode.com/svn/trunk@243 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-04 16:35:22 +00:00
srowen 778e3ef688 Typo in Version 25 spec (thanks Brian)
git-svn-id: https://zxing.googlecode.com/svn/trunk@242 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-04 16:26:55 +00:00
srowen bdcf60913b Disallow BufferedImage of type TYPE_CUSTOM -- not decoding properly, and is kind of a weird case from ImageIO anyway
git-svn-id: https://zxing.googlecode.com/svn/trunk@241 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-03 22:45:52 +00:00
srowen 36a5e32021 Refactored to avoid use of exceptions in parsing, at the suggestion of Jeff Griffin (thanks). These "exceptional cases" are frequent and are expensive; a static parse() / private constructor approach proves no more complex, and a smidge more efficient.
git-svn-id: https://zxing.googlecode.com/svn/trunk@239 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-03 21:37:40 +00:00
srowen 905b1f7676 Fix typo in method "isRotate*d*Supported"; don't attempt to rotate images of unknown format
git-svn-id: https://zxing.googlecode.com/svn/trunk@238 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-03 21:36:03 +00:00
srowen 7c475c5cad New rotated 1D barcode test case
git-svn-id: https://zxing.googlecode.com/svn/trunk@237 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-03 20:50:41 +00:00
srowen 7c1d8184f3 Tries TRY_HARDER too in tests now, to confirm it only improves accuracy, never hurts
git-svn-id: https://zxing.googlecode.com/svn/trunk@236 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-03 20:21:22 +00:00
srowen c4ee6727d6 Use TRY_HARDER hint in javase CommandLineRunner. TRY_HARDER now tries rotating the image when dealing with 1D barcodes. Clarified and fixed value type of several items in the "hints" Hashtables.
git-svn-id: https://zxing.googlecode.com/svn/trunk@235 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-03 19:48:08 +00:00
srowen 3e5b13abeb Take more advantage of TRY_HARDER
git-svn-id: https://zxing.googlecode.com/svn/trunk@233 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-25 23:22:01 +00:00
srowen 1f442884aa Added BarcodeFormat to Result, indicating what type of barcode was detected. Added TRY_HARDER hint. Improved logicalness of results when reading UPC-A code / EAN-13 code starting with 0.
git-svn-id: https://zxing.googlecode.com/svn/trunk@230 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-25 23:02:50 +00:00
srowen 848609c0c5 Added "URLTO" format support
git-svn-id: https://zxing.googlecode.com/svn/trunk@229 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-25 22:15:36 +00:00
srowen acad53f39b Oops, not clearing row counters when we shift down by two buckets. Fixed.
git-svn-id: https://zxing.googlecode.com/svn/trunk@225 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-22 19:18:29 +00:00
srowen 9af91c0cf1 Removed bad test cases -- for now considering this image too blurred for the "easy" test suite
git-svn-id: https://zxing.googlecode.com/svn/trunk@224 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-22 19:17:49 +00:00
srowen 5d8e64fdbf Oops, another code typo fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@223 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-22 19:13:15 +00:00
srowen 556225ab0a Improved GridSampler API -- no need for reflection anymore. Reintroduced Android GridSampler implementation, which still doesn't quite work yet.
git-svn-id: https://zxing.googlecode.com/svn/trunk@221 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-22 17:01:38 +00:00
srowen 4525328e45 Little bug fix affecting QR Codes that run all the way to the left/top edge of an image
git-svn-id: https://zxing.googlecode.com/svn/trunk@215 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-19 21:49:26 +00:00
srowen 82bc8e437a Add some basic Code 39, Code 128 tests
git-svn-id: https://zxing.googlecode.com/svn/trunk@214 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-19 21:09:55 +00:00
srowen 8c3045d9eb Added "extended mode" to optionally support Extended Code 39
git-svn-id: https://zxing.googlecode.com/svn/trunk@213 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-19 19:36:29 +00:00
srowen c09cb7d381 Fixed typo on pattern for "I"
git-svn-id: https://zxing.googlecode.com/svn/trunk@212 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-19 19:08:28 +00:00
srowen f363480487 Improved notion of pattern variance in 1D barcode elements, improving decode accuracy slightly. Also fixed a small issue in Code 128 decoder.
git-svn-id: https://zxing.googlecode.com/svn/trunk@211 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-19 17:29:16 +00:00
srowen cde4d22ece Refactored Reed-Solomon so it can be used with different GF(256) primitive polynomials
git-svn-id: https://zxing.googlecode.com/svn/trunk@209 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-19 16:14:34 +00:00
srowen 833a8b03f7 Another fix to UTF-8 / Shift_JIS guessing
git-svn-id: https://zxing.googlecode.com/svn/trunk@208 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-19 16:11:54 +00:00
srowen febdcf8d15 Fixed UTF-8 detection, again, and added unit test
git-svn-id: https://zxing.googlecode.com/svn/trunk@204 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-15 16:21:55 +00:00