Commit graph

2143 commits

Author SHA1 Message Date
dswitkin 77d29c3d7a Added support for URL to MECARD and VCARD.
git-svn-id: https://zxing.googlecode.com/svn/trunk@622 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-17 16:12:10 +00:00
srowen 394fb04c81 Reformatting and minor code tweaks
git-svn-id: https://zxing.googlecode.com/svn/trunk@621 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-17 14:48:22 +00:00
dswitkin 8cb804ec9e Made a change to 1D decoding which looks for 100% instead of 150% of the start and end patterns when searching for quiet zones, but in exchange for that reduction, we reject rows whose quiet zones would run off either edge of the image.
The result is complete elimination of all false positives in the new batch of 40 images I just checked in. Bettter than that, we come up with a net gain of 38 new barcodes decoded (counting rotation and try harder variations). We even get some of the reflective images that were impossible up to this point.

git-svn-id: https://zxing.googlecode.com/svn/trunk@620 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-15 19:47:34 +00:00
srowen 09ce5db11d Workaround (I think) for bizarre array corruption problem on Sun WTK and some SE phones
git-svn-id: https://zxing.googlecode.com/svn/trunk@619 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-15 11:29:22 +00:00
dswitkin edcf34f0c5 Created 40 new blackbox images which are partial shots of a very large QR code. In mobile mode we do OK, but in try harder we find bogus 1D results in almost half of these. I'm checking this in as a baseline, and will work on improving the situation in a subsequent change.
git-svn-id: https://zxing.googlecode.com/svn/trunk@618 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-14 22:08:48 +00:00
dswitkin c91f427a8b Added a bit of defensive programming in the AlignmentPattern code. There were real world examples where the width passed to AlignmentPatternFinder was zero, which causes BitArray to throw when built with a size of zero. I'm going a little bit farther and not searching extremely small areas either.
Sean, please review.

git-svn-id: https://zxing.googlecode.com/svn/trunk@617 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-14 18:24:23 +00:00
dswitkin ef2f3f8ce0 Expanded calendar parsing to allow more date formats, added some unit tests for ISBN and VEVENTS, and fixed the EAN13-1 test which was failing by one image.
git-svn-id: https://zxing.googlecode.com/svn/trunk@616 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-14 15:56:03 +00:00
christian.brunschen 73ff54e3cb improved image cropping, also work around iPhone OS 2.1 bug when picking from photo roll
git-svn-id: https://zxing.googlecode.com/svn/trunk@614 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-13 16:09:09 +00:00
dswitkin 0d7dfdbfae Added the missing AndroidHttpClient to the package, which fixes the Android client build using the 1.0 SDK.
git-svn-id: https://zxing.googlecode.com/svn/trunk@613 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-13 16:08:58 +00:00
dswitkin 7fe2c1c60c Prevented ISBN parsing from happening twice.
git-svn-id: https://zxing.googlecode.com/svn/trunk@610 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-09 18:46:21 +00:00
srowen 83c01f0cee Camel-cased log_table, exp_table vars
git-svn-id: https://zxing.googlecode.com/svn/trunk@609 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-09 12:17:37 +00:00
mschulkind 76b4fa1910 Fixing a comment.
git-svn-id: https://zxing.googlecode.com/svn/trunk@607 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-08 20:52:58 +00:00
mschulkind af555d2409 Renaming two member variables so they no longer share names with their getters.
git-svn-id: https://zxing.googlecode.com/svn/trunk@606 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-08 20:42:04 +00:00
dswitkin 45677f2bb2 Made calendar event parsing more robust, and also reject non-calendar contents a little faster.
git-svn-id: https://zxing.googlecode.com/svn/trunk@604 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-08 15:37:38 +00:00
dswitkin 13c08aedaf Added 13 new blackbox images.
git-svn-id: https://zxing.googlecode.com/svn/trunk@603 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-07 18:57:15 +00:00
srowen 773409ed6a Add check for minimal whitespace before/after Code 128, Code 39; a few code tweaks as well
git-svn-id: https://zxing.googlecode.com/svn/trunk@601 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-07 09:53:53 +00:00
srowen 089df8eb7b Added redundant abstract method declarations to maybe work around problems on Nokias
git-svn-id: https://zxing.googlecode.com/svn/trunk@600 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-06 11:43:19 +00:00
srowen b0b0afc172 Added redundant abstract method declarations to maybe work around problems on Nokias
git-svn-id: https://zxing.googlecode.com/svn/trunk@599 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-04 14:46:15 +00:00
srowen 7e022edf66 Improved error message when file/URI is mistyped.
git-svn-id: https://zxing.googlecode.com/svn/trunk@598 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-04 10:12:17 +00:00
srowen 6f8a5f49ca Added notes about how to comment out anything that might possibly lead to JSR-234 problems.
git-svn-id: https://zxing.googlecode.com/svn/trunk@597 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-04 10:11:19 +00:00
christian.brunschen f0a2d5778e Renamed 'zxing-icon-128.png' to 'ZxingLarge.png' to get the App Store to accept the uploaded binary. Updated the 'About.html'
page (in all three localizations) to match.


git-svn-id: https://zxing.googlecode.com/svn/trunk@596 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-02 10:12:13 +00:00
christian.brunschen c0763525b4 Resurrected 128-pixel icon for About page
Removed UI autorotation support, since UIImagePickerController
doe not gracefully handle being showin in non-portrait
orientation and there is not at the moment a supported way to
force the UI into a specified orientation.


git-svn-id: https://zxing.googlecode.com/svn/trunk@595 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-01 20:19:55 +00:00
srowen 8c3b727bd4 Recent bug fix uncovered some bugs in test case -- fixing those
git-svn-id: https://zxing.googlecode.com/svn/trunk@594 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-01 16:17:03 +00:00
dswitkin 16bdeac581 Added two more UPC-A blackbox images submitted by the community.
git-svn-id: https://zxing.googlecode.com/svn/trunk@593 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-01 14:17:17 +00:00
dswitkin bacd1469af - Fixed a crash when parsing a particular VCard with a blank entry.
- Trimmed whitespace around many fields to sanitize the results (this is very useful upstream, for example we hyphenate phone numbers on Android but can't tolerate extra whitespace).
- Fixed a bug with 1D result points when scanning upside down - they needed to be mirrored to draw correctly.

git-svn-id: https://zxing.googlecode.com/svn/trunk@592 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-29 18:45:00 +00:00
christian.brunschen 1040c3188c removed now-redundant PNG version of zxing-512
git-svn-id: https://zxing.googlecode.com/svn/trunk@591 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-25 09:50:57 +00:00
christian.brunschen d92399201a CFRelease some objects when adding a contact to the contacts
Rename 'zxing-57.png' to 'icon.png' to make App Store accept the upload
Convert 'zxing-512' to TIFF, so App Store will accept it


git-svn-id: https://zxing.googlecode.com/svn/trunk@590 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-25 09:50:28 +00:00
christian.brunschen c7949c34d1 Added rudimentary handling of address information. Since we can't really parse
it into the detailed format the iPhone's Address Book API wants, we punt a bit
and instead just break it into multiple pieces, each on a separate line, and
store that as the 'street' part of the 'Home' address for the contact we're
creating. That way, at least the information is captured rather than lost, and
the user can sync it to their computer, copy-and-paste it into the appropriate
fields, and then sync it back to the iPhone. Not idea, but better than 
nothing, which is what we had before.


git-svn-id: https://zxing.googlecode.com/svn/trunk@589 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-24 15:38:40 +00:00
srowen 6db50e0b79 Finally actually fix the Code-128 bug and add tests
git-svn-id: https://zxing.googlecode.com/svn/trunk@588 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-24 12:16:41 +00:00
srowen 78af16ca34 More UPC-A tests: interesting clear but low-res images that don't decode
git-svn-id: https://zxing.googlecode.com/svn/trunk@587 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-23 17:24:03 +00:00
srowen e2b141e1a3 Another fix -- account for CODE_STOP. Add some comments.
git-svn-id: https://zxing.googlecode.com/svn/trunk@585 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-22 09:08:57 +00:00
srowen b29b4d2070 Fix bug that would cut out part of result string if final checksum value happened to be the code for a non-printable character
git-svn-id: https://zxing.googlecode.com/svn/trunk@584 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-21 11:14:48 +00:00
srowen e57cf71874 Generate simple .alx file with RIM build
git-svn-id: https://zxing.googlecode.com/svn/trunk@583 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-21 11:12:41 +00:00
dswitkin 1ab0f14f41 Made a couple utility methods public.
git-svn-id: https://zxing.googlecode.com/svn/trunk@582 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-19 01:10:25 +00:00
srowen 8583883e5a git-svn-id: https://zxing.googlecode.com/svn/trunk@580 59b500cc-1b3d-0410-9834-0bbf25fbcc57 2008-09-12 15:04:37 +00:00
dswitkin 39bc2d9bdd Fixed missing "Send SMS" button in Android client. We showed the SMS number but were unable to launch the SMS app without this.
git-svn-id: https://zxing.googlecode.com/svn/trunk@579 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-11 15:37:17 +00:00
dswitkin 40d1a24e50 Updating 1.0 release notes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@578 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-11 14:14:25 +00:00
dswitkin db58d130a8 Small updates and improvements to the Android client.
git-svn-id: https://zxing.googlecode.com/svn/trunk@577 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-11 14:02:28 +00:00
dswitkin d45123da9e Added an ISBN parsed result type courtesy of jbreiden.
git-svn-id: https://zxing.googlecode.com/svn/trunk@576 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-08 20:54:52 +00:00
christian.brunschen 853ab5cdaa removed erraneous reference to 'oned' directory; added 'photolib.png' image file
git-svn-id: https://zxing.googlecode.com/svn/trunk@575 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-02 21:39:49 +00:00
srowen 67d139dadb git-svn-id: https://zxing.googlecode.com/svn/trunk@574 59b500cc-1b3d-0410-9834-0bbf25fbcc57 2008-09-01 00:33:53 +00:00
christian.brunschen 56fa39f734 updated icons
git-svn-id: https://zxing.googlecode.com/svn/trunk@573 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-31 13:34:32 +00:00
dswitkin f344098895 Added a new unit test of real world QR codes. We get 29/42 - pretty good, but room for improvement.
git-svn-id: https://zxing.googlecode.com/svn/trunk@571 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-25 17:44:23 +00:00
srowen 8b5d15cc5c URIParsedResult now has isPossiblyMaliciousURI() to check for username in host, which may be an attempt to mask the host of the URI
git-svn-id: https://zxing.googlecode.com/svn/trunk@570 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-21 04:33:42 +00:00
dswitkin fecaba26de The new 0.9 SDK Android client (for real this time).
git-svn-id: https://zxing.googlecode.com/svn/trunk@569 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-19 19:14:09 +00:00
dswitkin de73980d99 The new 0.9 SDK Android client.
git-svn-id: https://zxing.googlecode.com/svn/trunk@568 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-19 18:53:35 +00:00
dswitkin b8eef13b00 Deleted the M5 Android client in preparation for an up-to-date version for the 0.9 SDK.
git-svn-id: https://zxing.googlecode.com/svn/trunk@567 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-19 16:26:01 +00:00
srowen 7dbc556789 Per dominik.wild, added support for "sms:number:body" format URIs
git-svn-id: https://zxing.googlecode.com/svn/trunk@565 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-15 16:35:47 +00:00
christian.brunschen a16084242c Added version number and list of supported barcode format(s) in About screen. Cleaned up MessageViewController's loading of data.
git-svn-id: https://zxing.googlecode.com/svn/trunk@563 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-14 12:49:52 +00:00
christian.brunschen 8d90db8c1c Reverted accidental build.properties change
git-svn-id: https://zxing.googlecode.com/svn/trunk@562 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-14 11:04:21 +00:00