zxing.git
15 years agoThe new Android client, featuring:
dswitkin [Sat, 18 Oct 2008 16:23:24 +0000 (16:23 +0000)]
The new Android client, featuring:

- a completely new result UI with multiple actions per barcode
- Search Book Contents, powered by Google Book Search
- support for calendar events
- support for URLs and addresses in contact info
- many other small improvements, like making URLs hyperlinked

git-svn-id: http://zxing.googlecode.com/svn/trunk@625 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoRemoved the old Android client in preparation for the new one.
dswitkin [Sat, 18 Oct 2008 13:31:08 +0000 (13:31 +0000)]
Removed the old Android client in preparation for the new one.

git-svn-id: http://zxing.googlecode.com/svn/trunk@624 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoReordered the address book fields to something a little more standard/reasonable.
dswitkin [Fri, 17 Oct 2008 20:21:29 +0000 (20:21 +0000)]
Reordered the address book fields to something a little more standard/reasonable.

git-svn-id: http://zxing.googlecode.com/svn/trunk@623 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded support for URL to MECARD and VCARD.
dswitkin [Fri, 17 Oct 2008 16:12:10 +0000 (16:12 +0000)]
Added support for URL to MECARD and VCARD.

git-svn-id: http://zxing.googlecode.com/svn/trunk@622 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoReformatting and minor code tweaks
srowen [Fri, 17 Oct 2008 14:48:22 +0000 (14:48 +0000)]
Reformatting and minor code tweaks

git-svn-id: http://zxing.googlecode.com/svn/trunk@621 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoMade a change to 1D decoding which looks for 100% instead of 150% of the start and...
dswitkin [Wed, 15 Oct 2008 19:47:34 +0000 (19:47 +0000)]
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: http://zxing.googlecode.com/svn/trunk@620 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoWorkaround (I think) for bizarre array corruption problem on Sun WTK and some SE...
srowen [Wed, 15 Oct 2008 11:29:22 +0000 (11:29 +0000)]
Workaround (I think) for bizarre array corruption problem on Sun WTK and some SE phones

git-svn-id: http://zxing.googlecode.com/svn/trunk@619 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoCreated 40 new blackbox images which are partial shots of a very large QR code. In...
dswitkin [Tue, 14 Oct 2008 22:08:48 +0000 (22:08 +0000)]
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: http://zxing.googlecode.com/svn/trunk@618 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded a bit of defensive programming in the AlignmentPattern code. There were real...
dswitkin [Tue, 14 Oct 2008 18:24:23 +0000 (18:24 +0000)]
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: http://zxing.googlecode.com/svn/trunk@617 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoExpanded calendar parsing to allow more date formats, added some unit tests for ISBN...
dswitkin [Tue, 14 Oct 2008 15:56:03 +0000 (15:56 +0000)]
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: http://zxing.googlecode.com/svn/trunk@616 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoimproved image cropping, also work around iPhone OS 2.1 bug when picking from photo...
christian.brunschen [Mon, 13 Oct 2008 16:09:09 +0000 (16:09 +0000)]
improved image cropping, also work around iPhone OS 2.1 bug when picking from photo roll

git-svn-id: http://zxing.googlecode.com/svn/trunk@614 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded the missing AndroidHttpClient to the package, which fixes the Android client...
dswitkin [Mon, 13 Oct 2008 16:08:58 +0000 (16:08 +0000)]
Added the missing AndroidHttpClient to the package, which fixes the Android client build using the 1.0 SDK.

git-svn-id: http://zxing.googlecode.com/svn/trunk@613 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoPrevented ISBN parsing from happening twice.
dswitkin [Thu, 9 Oct 2008 18:46:21 +0000 (18:46 +0000)]
Prevented ISBN parsing from happening twice.

git-svn-id: http://zxing.googlecode.com/svn/trunk@610 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoCamel-cased log_table, exp_table vars
srowen [Thu, 9 Oct 2008 12:17:37 +0000 (12:17 +0000)]
Camel-cased log_table, exp_table vars

git-svn-id: http://zxing.googlecode.com/svn/trunk@609 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoFixing a comment.
mschulkind [Wed, 8 Oct 2008 20:52:58 +0000 (20:52 +0000)]
Fixing a comment.

git-svn-id: http://zxing.googlecode.com/svn/trunk@607 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoRenaming two member variables so they no longer share names with their getters.
mschulkind [Wed, 8 Oct 2008 20:42:04 +0000 (20:42 +0000)]
Renaming two member variables so they no longer share names with their getters.

git-svn-id: http://zxing.googlecode.com/svn/trunk@606 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoMade calendar event parsing more robust, and also reject non-calendar contents a...
dswitkin [Wed, 8 Oct 2008 15:37:38 +0000 (15:37 +0000)]
Made calendar event parsing more robust, and also reject non-calendar contents a little faster.

git-svn-id: http://zxing.googlecode.com/svn/trunk@604 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded 13 new blackbox images.
dswitkin [Tue, 7 Oct 2008 18:57:15 +0000 (18:57 +0000)]
Added 13 new blackbox images.

git-svn-id: http://zxing.googlecode.com/svn/trunk@603 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdd check for minimal whitespace before/after Code 128, Code 39; a few code tweaks...
srowen [Tue, 7 Oct 2008 09:53:53 +0000 (09:53 +0000)]
Add check for minimal whitespace before/after Code 128, Code 39; a few code tweaks as well

git-svn-id: http://zxing.googlecode.com/svn/trunk@601 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded redundant abstract method declarations to maybe work around problems on Nokias
srowen [Mon, 6 Oct 2008 11:43:19 +0000 (11:43 +0000)]
Added redundant abstract method declarations to maybe work around problems on Nokias

git-svn-id: http://zxing.googlecode.com/svn/trunk@600 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded redundant abstract method declarations to maybe work around problems on Nokias
srowen [Sat, 4 Oct 2008 14:46:15 +0000 (14:46 +0000)]
Added redundant abstract method declarations to maybe work around problems on Nokias

git-svn-id: http://zxing.googlecode.com/svn/trunk@599 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoImproved error message when file/URI is mistyped.
srowen [Sat, 4 Oct 2008 10:12:17 +0000 (10:12 +0000)]
Improved error message when file/URI is mistyped.

git-svn-id: http://zxing.googlecode.com/svn/trunk@598 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded notes about how to comment out anything that might possibly lead to JSR-234...
srowen [Sat, 4 Oct 2008 10:11:19 +0000 (10:11 +0000)]
Added notes about how to comment out anything that might possibly lead to JSR-234 problems.

git-svn-id: http://zxing.googlecode.com/svn/trunk@597 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoRenamed 'zxing-icon-128.png' to 'ZxingLarge.png' to get the App Store to accept the...
christian.brunschen [Thu, 2 Oct 2008 10:12:13 +0000 (10:12 +0000)]
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: http://zxing.googlecode.com/svn/trunk@596 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoResurrected 128-pixel icon for About page
christian.brunschen [Wed, 1 Oct 2008 20:19:55 +0000 (20:19 +0000)]
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: http://zxing.googlecode.com/svn/trunk@595 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoRecent bug fix uncovered some bugs in test case -- fixing those
srowen [Wed, 1 Oct 2008 16:17:03 +0000 (16:17 +0000)]
Recent bug fix uncovered some bugs in test case -- fixing those

git-svn-id: http://zxing.googlecode.com/svn/trunk@594 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded two more UPC-A blackbox images submitted by the community.
dswitkin [Wed, 1 Oct 2008 14:17:17 +0000 (14:17 +0000)]
Added two more UPC-A blackbox images submitted by the community.

git-svn-id: http://zxing.googlecode.com/svn/trunk@593 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years ago- Fixed a crash when parsing a particular VCard with a blank entry.
dswitkin [Mon, 29 Sep 2008 18:45:00 +0000 (18:45 +0000)]
- 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: http://zxing.googlecode.com/svn/trunk@592 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoremoved now-redundant PNG version of zxing-512
christian.brunschen [Thu, 25 Sep 2008 09:50:57 +0000 (09:50 +0000)]
removed now-redundant PNG version of zxing-512

git-svn-id: http://zxing.googlecode.com/svn/trunk@591 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoCFRelease some objects when adding a contact to the contacts
christian.brunschen [Thu, 25 Sep 2008 09:50:28 +0000 (09:50 +0000)]
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: http://zxing.googlecode.com/svn/trunk@590 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded rudimentary handling of address information. Since we can't really parse
christian.brunschen [Wed, 24 Sep 2008 15:38:40 +0000 (15:38 +0000)]
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: http://zxing.googlecode.com/svn/trunk@589 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoFinally actually fix the Code-128 bug and add tests
srowen [Wed, 24 Sep 2008 12:16:41 +0000 (12:16 +0000)]
Finally actually fix the Code-128 bug and add tests

git-svn-id: http://zxing.googlecode.com/svn/trunk@588 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoMore UPC-A tests: interesting clear but low-res images that don't decode
srowen [Tue, 23 Sep 2008 17:24:03 +0000 (17:24 +0000)]
More UPC-A tests: interesting clear but low-res images that don't decode

git-svn-id: http://zxing.googlecode.com/svn/trunk@587 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAnother fix -- account for CODE_STOP. Add some comments.
srowen [Mon, 22 Sep 2008 09:08:57 +0000 (09:08 +0000)]
Another fix -- account for CODE_STOP. Add some comments.

git-svn-id: http://zxing.googlecode.com/svn/trunk@585 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoFix bug that would cut out part of result string if final checksum value happened...
srowen [Sun, 21 Sep 2008 11:14:48 +0000 (11:14 +0000)]
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: http://zxing.googlecode.com/svn/trunk@584 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoGenerate simple .alx file with RIM build
srowen [Sun, 21 Sep 2008 11:12:41 +0000 (11:12 +0000)]
Generate simple .alx file with RIM build

git-svn-id: http://zxing.googlecode.com/svn/trunk@583 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoMade a couple utility methods public.
dswitkin [Fri, 19 Sep 2008 01:10:25 +0000 (01:10 +0000)]
Made a couple utility methods public.

git-svn-id: http://zxing.googlecode.com/svn/trunk@582 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agogit-svn-id: http://zxing.googlecode.com/svn/trunk@580 59b500cc-1b3d-0410-9834-0bbf25f...
srowen [Fri, 12 Sep 2008 15:04:37 +0000 (15:04 +0000)]
git-svn-id: zxing.googlecode.com/svn/trunk@580 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoFixed missing "Send SMS" button in Android client. We showed the SMS number but were...
dswitkin [Thu, 11 Sep 2008 15:37:17 +0000 (15:37 +0000)]
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: http://zxing.googlecode.com/svn/trunk@579 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoUpdating 1.0 release notes.
dswitkin [Thu, 11 Sep 2008 14:14:25 +0000 (14:14 +0000)]
Updating 1.0 release notes.

git-svn-id: http://zxing.googlecode.com/svn/trunk@578 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoSmall updates and improvements to the Android client.
dswitkin [Thu, 11 Sep 2008 14:02:28 +0000 (14:02 +0000)]
Small updates and improvements to the Android client.

git-svn-id: http://zxing.googlecode.com/svn/trunk@577 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded an ISBN parsed result type courtesy of jbreiden.
dswitkin [Mon, 8 Sep 2008 20:54:52 +0000 (20:54 +0000)]
Added an ISBN parsed result type courtesy of jbreiden.

git-svn-id: http://zxing.googlecode.com/svn/trunk@576 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoremoved erraneous reference to 'oned' directory; added 'photolib.png' image file
christian.brunschen [Tue, 2 Sep 2008 21:39:49 +0000 (21:39 +0000)]
removed erraneous reference to 'oned' directory; added 'photolib.png' image file

git-svn-id: http://zxing.googlecode.com/svn/trunk@575 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agogit-svn-id: http://zxing.googlecode.com/svn/trunk@574 59b500cc-1b3d-0410-9834-0bbf25f...
srowen [Mon, 1 Sep 2008 00:33:53 +0000 (00:33 +0000)]
git-svn-id: zxing.googlecode.com/svn/trunk@574 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoupdated icons
christian.brunschen [Sun, 31 Aug 2008 13:34:32 +0000 (13:34 +0000)]
updated icons

git-svn-id: http://zxing.googlecode.com/svn/trunk@573 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded a new unit test of real world QR codes. We get 29/42 - pretty good, but room...
dswitkin [Mon, 25 Aug 2008 17:44:23 +0000 (17:44 +0000)]
Added a new unit test of real world QR codes. We get 29/42 - pretty good, but room for improvement.

git-svn-id: http://zxing.googlecode.com/svn/trunk@571 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoURIParsedResult now has isPossiblyMaliciousURI() to check for username in host, which...
srowen [Thu, 21 Aug 2008 04:33:42 +0000 (04:33 +0000)]
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: http://zxing.googlecode.com/svn/trunk@570 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoThe new 0.9 SDK Android client (for real this time).
dswitkin [Tue, 19 Aug 2008 19:14:09 +0000 (19:14 +0000)]
The new 0.9 SDK Android client (for real this time).

git-svn-id: http://zxing.googlecode.com/svn/trunk@569 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoThe new 0.9 SDK Android client.
dswitkin [Tue, 19 Aug 2008 18:53:35 +0000 (18:53 +0000)]
The new 0.9 SDK Android client.

git-svn-id: http://zxing.googlecode.com/svn/trunk@568 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoDeleted the M5 Android client in preparation for an up-to-date version for the 0...
dswitkin [Tue, 19 Aug 2008 16:26:01 +0000 (16:26 +0000)]
Deleted the M5 Android client in preparation for an up-to-date version for the 0.9 SDK.

git-svn-id: http://zxing.googlecode.com/svn/trunk@567 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoPer dominik.wild, added support for "sms:number:body" format URIs
srowen [Fri, 15 Aug 2008 16:35:47 +0000 (16:35 +0000)]
Per dominik.wild, added support for "sms:number:body" format URIs

git-svn-id: http://zxing.googlecode.com/svn/trunk@565 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded version number and list of supported barcode format(s) in About screen. Cleaned...
christian.brunschen [Thu, 14 Aug 2008 12:49:52 +0000 (12:49 +0000)]
Added version number and list of supported barcode format(s) in About screen. Cleaned up MessageViewController's loading of data.

git-svn-id: http://zxing.googlecode.com/svn/trunk@563 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoReverted accidental build.properties change
christian.brunschen [Thu, 14 Aug 2008 11:04:21 +0000 (11:04 +0000)]
Reverted accidental build.properties change

git-svn-id: http://zxing.googlecode.com/svn/trunk@562 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded 'About' screen, localized application name
christian.brunschen [Thu, 14 Aug 2008 11:00:48 +0000 (11:00 +0000)]
Added 'About' screen, localized application name

git-svn-id: http://zxing.googlecode.com/svn/trunk@561 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoBetter separated out email decoding functionality
srowen [Tue, 12 Aug 2008 20:09:21 +0000 (20:09 +0000)]
Better separated out email decoding functionality

git-svn-id: http://zxing.googlecode.com/svn/trunk@558 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years ago(Thanks to John White) Make UPC/EAN decoder less picky about white space bordering...
srowen [Tue, 12 Aug 2008 18:29:29 +0000 (18:29 +0000)]
(Thanks to John White) Make UPC/EAN decoder less picky about white space bordering 1D code

git-svn-id: http://zxing.googlecode.com/svn/trunk@557 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoPer Matt, fix use of FieldLabelProvider since it is not actually available to apps...
srowen [Mon, 11 Aug 2008 14:51:48 +0000 (14:51 +0000)]
Per Matt, fix use of FieldLabelProvider since it is not actually available to apps as a public API

git-svn-id: http://zxing.googlecode.com/svn/trunk@555 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded 55 EAN-13 real world test images. For mobile we get 49/55 of these, 55/55 with...
dswitkin [Fri, 8 Aug 2008 15:26:21 +0000 (15:26 +0000)]
Added 55 EAN-13 real world test images. For mobile we get 49/55 of these, 55/55 with try harder.

git-svn-id: http://zxing.googlecode.com/svn/trunk@554 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agomessage field & hint button rotation issue fixes. Added Joe Wain's 'Photo Roll' icon.
christian.brunschen [Thu, 7 Aug 2008 15:03:21 +0000 (15:03 +0000)]
message field & hint button rotation issue fixes. Added Joe Wain's 'Photo Roll' icon.

git-svn-id: http://zxing.googlecode.com/svn/trunk@553 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoParallelize black box tests
srowen [Wed, 6 Aug 2008 20:26:05 +0000 (20:26 +0000)]
Parallelize black box tests

git-svn-id: http://zxing.googlecode.com/svn/trunk@552 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoUpdated Alasdair's ImageConverter tool to take -row and -2d arguments to evaluate...
dswitkin [Wed, 6 Aug 2008 17:53:12 +0000 (17:53 +0000)]
Updated Alasdair's ImageConverter tool to take -row and -2d arguments to evaluate our black point estimators. Also converted the output format to png and added red lines when the dynamic range was insufficient to calculate a meaningful black point.

git-svn-id: http://zxing.googlecode.com/svn/trunk@551 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoUse unicode escapes to avoid apparent source file encoding issues here
srowen [Wed, 6 Aug 2008 16:21:47 +0000 (16:21 +0000)]
Use unicode escapes to avoid apparent source file encoding issues here

git-svn-id: http://zxing.googlecode.com/svn/trunk@549 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoReverted inadvertent Detector changes that broke unit tests. Fixed test target to...
srowen [Wed, 6 Aug 2008 16:07:46 +0000 (16:07 +0000)]
Reverted inadvertent Detector changes that broke unit tests. Fixed test target to definitely exclude non-TestCase classes from tests.

git-svn-id: http://zxing.googlecode.com/svn/trunk@548 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoInitial checkin of RIM client from LifeMarks, after initial refactorings and style...
srowen [Mon, 4 Aug 2008 18:39:26 +0000 (18:39 +0000)]
Initial checkin of RIM client from LifeMarks, after initial refactorings and style changes, etc. May still need work.

git-svn-id: http://zxing.googlecode.com/svn/trunk@546 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoInitial checkin of Data Matrix detector. Still needs work, and is not enabled by...
srowen [Mon, 4 Aug 2008 18:37:42 +0000 (18:37 +0000)]
Initial checkin of Data Matrix detector. Still needs work, and is not enabled by default.

git-svn-id: http://zxing.googlecode.com/svn/trunk@545 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoCommitting some changes for next release in advance
srowen [Mon, 4 Aug 2008 18:28:35 +0000 (18:28 +0000)]
Committing some changes for next release in advance

git-svn-id: http://zxing.googlecode.com/svn/trunk@544 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agofixed CountedTest compilation problem attempting to access a private variable. Also...
christian.brunschen [Sat, 2 Aug 2008 08:36:54 +0000 (08:36 +0000)]
fixed CountedTest compilation problem attempting to access a private variable. Also fixed TestRunner exit status.

git-svn-id: http://zxing.googlecode.com/svn/trunk@543 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded hints for taking pictures, improved localizations into English, German & Swedish
christian.brunschen [Fri, 1 Aug 2008 13:04:23 +0000 (13:04 +0000)]
Added hints for taking pictures, improved localizations into English, German & Swedish

git-svn-id: http://zxing.googlecode.com/svn/trunk@542 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAnother light hack attempt to work around Issue 70
srowen [Thu, 31 Jul 2008 19:21:34 +0000 (19:21 +0000)]
Another light hack attempt to work around Issue 70

git-svn-id: http://zxing.googlecode.com/svn/trunk@541 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoISSUE 70: Catch NoClassDefFoundError too
srowen [Thu, 31 Jul 2008 14:24:13 +0000 (14:24 +0000)]
ISSUE 70: Catch NoClassDefFoundError too

git-svn-id: http://zxing.googlecode.com/svn/trunk@540 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoRe-add ECI test case and groundwork for more tests of DecodedBitStreamParser
srowen [Wed, 30 Jul 2008 23:01:37 +0000 (23:01 +0000)]
Re-add ECI test case and groundwork for more tests of DecodedBitStreamParser

git-svn-id: http://zxing.googlecode.com/svn/trunk@539 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoSome small improvements in error handling based on exceptions observed at zxing.org
srowen [Wed, 30 Jul 2008 21:58:17 +0000 (21:58 +0000)]
Some small improvements in error handling based on exceptions observed at zxing.org

git-svn-id: http://zxing.googlecode.com/svn/trunk@538 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoMinor style changes; optimized nested loops at end to avoid some redundant computation
srowen [Fri, 25 Jul 2008 15:24:59 +0000 (15:24 +0000)]
Minor style changes; optimized nested loops at end to avoid some redundant computation

git-svn-id: http://zxing.googlecode.com/svn/trunk@537 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoRemove dead files
srowen [Thu, 24 Jul 2008 21:43:40 +0000 (21:43 +0000)]
Remove dead files

git-svn-id: http://zxing.googlecode.com/svn/trunk@536 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoRemove dead files (why doesn't this happen automatically on a move?)
srowen [Thu, 24 Jul 2008 21:39:34 +0000 (21:39 +0000)]
Remove dead files (why doesn't this happen automatically on a move?)

git-svn-id: http://zxing.googlecode.com/svn/trunk@535 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoFactor out ECI-related code for reuse with Data Matrix later.
srowen [Thu, 24 Jul 2008 21:37:37 +0000 (21:37 +0000)]
Factor out ECI-related code for reuse with Data Matrix later.

git-svn-id: http://zxing.googlecode.com/svn/trunk@534 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoFactor out and clarify cross product computation and its use, so it can be reused...
srowen [Wed, 23 Jul 2008 18:54:35 +0000 (18:54 +0000)]
Factor out and clarify cross product computation and its use, so it can be reused elsewhere.

git-svn-id: http://zxing.googlecode.com/svn/trunk@527 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded support for "05 Macro" and "06 Macro" in ASCII encodation
srowen [Wed, 23 Jul 2008 18:25:16 +0000 (18:25 +0000)]
Added support for "05 Macro" and "06 Macro" in ASCII encodation

git-svn-id: http://zxing.googlecode.com/svn/trunk@526 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoModified the library entry point in a way which lets continuous scan clients reuse...
dswitkin [Tue, 22 Jul 2008 16:16:21 +0000 (16:16 +0000)]
Modified the library entry point in a way which lets continuous scan clients reuse the same decoding objects at each pass. This is source and semantically compatible with the previous version, so you have to choose to call decodeWithState() to get the benefits. The unit tests cannot use this because they test each image in normal and then try harder mode, which requires changing the hints object.

git-svn-id: http://zxing.googlecode.com/svn/trunk@524 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoQuick shortening of a method in FinderPatternFinder that I just noticed
srowen [Mon, 21 Jul 2008 21:52:43 +0000 (21:52 +0000)]
Quick shortening of a method in FinderPatternFinder that I just noticed

git-svn-id: http://zxing.googlecode.com/svn/trunk@523 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoEnhance GenericResultPoint and move some logic out of qrcode packages for reuse with...
srowen [Mon, 21 Jul 2008 21:48:32 +0000 (21:48 +0000)]
Enhance GenericResultPoint and move some logic out of qrcode packages for reuse with datamatrix soon

git-svn-id: http://zxing.googlecode.com/svn/trunk@522 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoMore refactoring, fixed a small issue in X12 encodation of \r
srowen [Mon, 21 Jul 2008 21:45:37 +0000 (21:45 +0000)]
More refactoring, fixed a small issue in X12 encodation of \r

git-svn-id: http://zxing.googlecode.com/svn/trunk@521 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoTiny improvement to toString() visualization of BitMatrix
srowen [Fri, 18 Jul 2008 22:46:26 +0000 (22:46 +0000)]
Tiny improvement to toString() visualization of BitMatrix

git-svn-id: http://zxing.googlecode.com/svn/trunk@520 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoFixed problem that is unclear from spec: shift apparently resets after being used...
srowen [Fri, 18 Jul 2008 22:40:33 +0000 (22:40 +0000)]
Fixed problem that is unclear from spec: shift apparently resets after being used in C40/Text encodation. Introduced some locals to reduce array accesses, change char to int where we are really using a numeric type, and tweaked javadoc indentation

git-svn-id: http://zxing.googlecode.com/svn/trunk@519 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoUpdate to latest HTTP Core/Client libs
srowen [Tue, 15 Jul 2008 23:41:24 +0000 (23:41 +0000)]
Update to latest HTTP Core/Client libs

git-svn-id: http://zxing.googlecode.com/svn/trunk@518 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoone last typo fix
srowen [Thu, 10 Jul 2008 22:11:12 +0000 (22:11 +0000)]
one last typo fix

git-svn-id: http://zxing.googlecode.com/svn/trunk@515 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoMore fixes to the build files after trying to build the whole thing again for release
srowen [Thu, 10 Jul 2008 20:25:42 +0000 (20:25 +0000)]
More fixes to the build files after trying to build the whole thing again for release

git-svn-id: http://zxing.googlecode.com/svn/trunk@514 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoOops, fix RIM build script to not depend on old "javame-basic" target
srowen [Thu, 10 Jul 2008 20:05:03 +0000 (20:05 +0000)]
Oops, fix RIM build script to not depend on old "javame-basic" target

git-svn-id: http://zxing.googlecode.com/svn/trunk@513 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoUpdates for 0.9
srowen [Thu, 10 Jul 2008 20:00:57 +0000 (20:00 +0000)]
Updates for 0.9

git-svn-id: http://zxing.googlecode.com/svn/trunk@512 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoSmall thread-safety correctness fix which may not matter in J2ME: "done" field should...
srowen [Thu, 10 Jul 2008 19:59:46 +0000 (19:59 +0000)]
Small thread-safety correctness fix which may not matter in J2ME: "done" field should be volatile so that changes from other threads are definitely seen.

git-svn-id: http://zxing.googlecode.com/svn/trunk@511 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoSmall improvement to unit test results output.
dswitkin [Thu, 10 Jul 2008 19:45:50 +0000 (19:45 +0000)]
Small improvement to unit test results output.

git-svn-id: http://zxing.googlecode.com/svn/trunk@510 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded a reflective UPC-E unit test. We cannot decode any of these silver on silver...
dswitkin [Wed, 9 Jul 2008 21:46:27 +0000 (21:46 +0000)]
Added a reflective UPC-E unit test. We cannot decode any of these silver on silver barcodes.

git-svn-id: http://zxing.googlecode.com/svn/trunk@509 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded 41 real world UPC-E tests. We need to improve regular decoding here: it gets...
dswitkin [Wed, 9 Jul 2008 21:37:09 +0000 (21:37 +0000)]
Added 41 real world UPC-E tests. We need to improve regular decoding here: it gets 17/41, but try harder gets 28/41.

git-svn-id: http://zxing.googlecode.com/svn/trunk@508 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded some very difficult reflective UPC-A images - we get 8/21. We would probably...
dswitkin [Wed, 9 Jul 2008 20:50:03 +0000 (20:50 +0000)]
Added some very difficult reflective UPC-A images - we get 8/21. We would probably have to do something very special to handle soda cans with those silver on silver barcodes.

git-svn-id: http://zxing.googlecode.com/svn/trunk@507 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAll the positive test cases now track normal and try harder success rates separately...
dswitkin [Wed, 9 Jul 2008 20:15:53 +0000 (20:15 +0000)]
All the positive test cases now track normal and try harder success rates separately. This lets us monitor regressions separately, and gives an idea of how much better try harder actually is.

git-svn-id: http://zxing.googlecode.com/svn/trunk@506 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdded 52 real world UPC-A greyscale test images. We get 26/52, but more with try...
dswitkin [Wed, 9 Jul 2008 19:00:33 +0000 (19:00 +0000)]
Added 52 real world UPC-A greyscale test images. We get 26/52, but more with try harder. I think I'm going to break try harder results into their own test so we can track these separately.

git-svn-id: http://zxing.googlecode.com/svn/trunk@505 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoOops, fix an error introduced in recent change
srowen [Wed, 9 Jul 2008 17:25:44 +0000 (17:25 +0000)]
Oops, fix an error introduced in recent change

git-svn-id: http://zxing.googlecode.com/svn/trunk@504 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoMinor style tweaks
srowen [Wed, 9 Jul 2008 17:24:02 +0000 (17:24 +0000)]
Minor style tweaks

git-svn-id: http://zxing.googlecode.com/svn/trunk@503 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoAdd iCal support, plus many small changes suggested by code inspection -- mostly...
srowen [Tue, 8 Jul 2008 04:11:24 +0000 (04:11 +0000)]
Add iCal support, plus many small changes suggested by code inspection -- mostly making things less visible for now

git-svn-id: http://zxing.googlecode.com/svn/trunk@502 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoRename some methods so that they're not technically overloading one another -- maybe...
srowen [Mon, 7 Jul 2008 18:25:19 +0000 (18:25 +0000)]
Rename some methods so that they're not technically overloading one another -- maybe slightly better style-wise in Java but reduces complication in port to C++

git-svn-id: http://zxing.googlecode.com/svn/trunk@501 59b500cc-1b3d-0410-9834-0bbf25fbcc57