zxing.git
15 years agoFinished renaming UPC --> Product in a few places.
dswitkin [Thu, 6 Nov 2008 16:25:39 +0000 (16:25 +0000)]
Finished renaming UPC --> Product in a few places.

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

15 years agoAdded support for supplying a postal address when encoding a QR Code.
dswitkin [Thu, 6 Nov 2008 16:13:16 +0000 (16:13 +0000)]
Added support for supplying a postal address when encoding a QR Code.

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

15 years agoMade some temporary changes to make throwing ReaderExceptions more efficient. Long...
dswitkin [Wed, 5 Nov 2008 19:16:27 +0000 (19:16 +0000)]
Made some temporary changes to make throwing ReaderExceptions more efficient. Long term, we need to delete this class and change the decoders to return errors instead of throwing.

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

15 years agoRenamed UPC result type to Product, and introduced an idea of 'product ID' and 'norma...
srowen [Tue, 4 Nov 2008 12:08:19 +0000 (12:08 +0000)]
Renamed UPC result type to Product, and introduced an idea of 'product ID' and 'normalized product ID' to account for UPC-E, where the actual visible ID is different from what we may want to search for as a key. Updated clients to use this too.

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

15 years agoFixed Search Book Contents when built under ProGuard.
dswitkin [Mon, 3 Nov 2008 16:13:56 +0000 (16:13 +0000)]
Fixed Search Book Contents when built under ProGuard.

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

15 years agoFixed the ZXing Test camera mode when using ProGuard.
dswitkin [Sun, 2 Nov 2008 16:10:54 +0000 (16:10 +0000)]
Fixed the ZXing Test camera mode when using ProGuard.

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

15 years agoAnother round of optimization, focused on reusing arrays and small objects.
dswitkin [Sun, 2 Nov 2008 16:07:36 +0000 (16:07 +0000)]
Another round of optimization, focused on reusing arrays and small objects.

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

15 years agoRevamp the character encoding detection to use a more complicated but still crude...
srowen [Sun, 2 Nov 2008 12:22:33 +0000 (12:22 +0000)]
Revamp the character encoding detection to use a more complicated but still crude algorithm that detects more Shift_JIS sequences correctly.

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

15 years agoUpdated qrcode-2 with corrected output for some Japanese-language results. Also stand...
srowen [Sun, 2 Nov 2008 11:06:20 +0000 (11:06 +0000)]
Updated qrcode-2 with corrected output for some Japanese-language results. Also standardized on UTF-8 encoding for test result files and enabled --dump_results for single-file case.

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

15 years agoNow more lenient in detecting Shift_JIS to detect more byte sequences as Shift_JIS
srowen [Sun, 2 Nov 2008 10:30:09 +0000 (10:30 +0000)]
Now more lenient in detecting Shift_JIS to detect more byte sequences as Shift_JIS

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

15 years agoDiscovered that our 1D Readers were being reallocated for every row scanned - yikes...
dswitkin [Sat, 1 Nov 2008 02:31:05 +0000 (02:31 +0000)]
Discovered that our 1D Readers were being reallocated for every row scanned - yikes! I made them reusable across both rows and different scans. This saved 26 ms on the worst case rejection. We can now consistently reject any 240x240 image on Android in 150 ms or less, checking all 7 formats.

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

15 years agoWhoops, the benchmarks are in microseconds, not milliseconds.
dswitkin [Sat, 1 Nov 2008 00:40:07 +0000 (00:40 +0000)]
Whoops, the benchmarks are in microseconds, not milliseconds.

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

15 years agoAllow up to 3 superfluous bits at end of stream
srowen [Fri, 31 Oct 2008 18:49:54 +0000 (18:49 +0000)]
Allow up to 3 superfluous bits at end of stream

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

15 years agoAdded 17 new, unusual QR Codes to the blackbox tests. We can decode the majority...
dswitkin [Fri, 31 Oct 2008 18:09:24 +0000 (18:09 +0000)]
Added 17 new, unusual QR Codes to the blackbox tests. We can decode the majority OK, but some of the contents are not agreeing with the golden results because of a text encoding issue.

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

15 years agoAdded a --dump_results flag to the J2SE client, which will create a text file of...
dswitkin [Fri, 31 Oct 2008 17:57:31 +0000 (17:57 +0000)]
Added a --dump_results flag to the J2SE client, which will create a text file of the contents of each file scanned. This is very useful for adding golden results for new blackbox images tests.

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

15 years agoDid a big refactoring on the MonochromeBitmapSource. I removed all the caching lumina...
dswitkin [Thu, 30 Oct 2008 18:44:10 +0000 (18:44 +0000)]
Did a big refactoring on the MonochromeBitmapSource. I removed all the caching luminance calls and converted them to getting luminance data on demand. This saved another 33,000 function calls per rejected scan, good for another 15 ms savings. I also moved the luminance calls to BaseMonochromeBitmapSource and made them protected, to indicate that the decoders shouldn't use them.

Overall the recent optimizations took one rejected scan from 307 to 135 ms, which is definitely noticeable.

WARNING: I am not able to build the Bug or J2ME clients, but I believe they are correct.

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

15 years agoFixed a crash in calendar parsing when encountering an illegal VEVENT without newlines.
dswitkin [Thu, 30 Oct 2008 16:35:26 +0000 (16:35 +0000)]
Fixed a crash in calendar parsing when encountering an illegal VEVENT without newlines.

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

15 years agoFixed the Android client when using ProGuard. The ViewfinderView constructor is loade...
dswitkin [Thu, 30 Oct 2008 15:41:52 +0000 (15:41 +0000)]
Fixed the Android client when using ProGuard. The ViewfinderView constructor is loaded dynamically by the XML view inflation code, which requires explicitly preserving it.

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

15 years agoMade the data members of BitArray public so they will be inlined. This saves about...
dswitkin [Wed, 29 Oct 2008 21:16:46 +0000 (21:16 +0000)]
Made the data members of BitArray public so they will be inlined. This saves about 60,000 function calls per rejected scan. We can make these private again once we figure out the ProGuard problems with -allowaccessmodification.

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

15 years agoLooks like -allowaccessmodification to ProGuard results in a bogus binary. It compile...
dswitkin [Wed, 29 Oct 2008 20:38:33 +0000 (20:38 +0000)]
Looks like -allowaccessmodification to ProGuard results in a bogus binary. It compiles, but the Dalvik verifier rejects it at runtime. I'm removing this flag for now, which means we lose inlining on some important getters and setters.

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

15 years agoAdded androidtest to the top-level clean target and set it up for ProGuard too. Made...
dswitkin [Wed, 29 Oct 2008 20:13:05 +0000 (20:13 +0000)]
Added androidtest to the top-level clean target and set it up for ProGuard too. Made both Android builds depend on clean so they work when switching between normal and ProGuard builds, and made install and reinstall use the latest binary instead of recompiling.

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

15 years agoAdded another target for building a debug key signed Android client, and removed...
dswitkin [Wed, 29 Oct 2008 19:50:37 +0000 (19:50 +0000)]
Added another target for building a debug key signed Android client, and removed the old optimized target from core.

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

15 years agomoved ProGuard optimization into Android build file since it's the only way to fully...
srowen [Wed, 29 Oct 2008 15:42:22 +0000 (15:42 +0000)]
moved ProGuard optimization into Android build file since it's the only way to fully optimize the final build product (inlining of key methods). Also always dump proguard results.

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

15 years agoMade a change to the QR detector which cuts the worst case rejection time from 300...
dswitkin [Wed, 29 Oct 2008 14:22:44 +0000 (14:22 +0000)]
Made a change to the QR detector which cuts the worst case rejection time from 300 ms to 160 ms, with almost no penalty in decoding ability. Given that we're emphasizing continuous decoding, I feel it's much better to reject the occasional borderline image in half the time, and get on with the next scan.

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

15 years agoInner class elements now not private since it is pointless and confuses Proguard
srowen [Tue, 28 Oct 2008 15:59:51 +0000 (15:59 +0000)]
Inner class elements now not private since it is pointless and confuses Proguard

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

15 years agoAdd back basic link
srowen [Tue, 28 Oct 2008 10:30:32 +0000 (10:30 +0000)]
Add back basic link

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

15 years agoUpdated the Android benchmark with more accurate timing and better results output...
dswitkin [Mon, 27 Oct 2008 16:30:36 +0000 (16:30 +0000)]
Updated the Android benchmark with more accurate timing and better results output. Also fixed walking the tree to use a consistent order to make comparison between the device and emulator easier.

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

15 years agoGoing back to old approach of using JSR-234 directly, then compiling with different...
srowen [Sun, 26 Oct 2008 13:29:46 +0000 (13:29 +0000)]
Going back to old approach of using JSR-234 directly, then compiling with different code to produce a non-JSR-234 version. This approach isn't working on some phones -- including JSR-234 phones.

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

15 years agoWrote a benchmark activity for Android which reads images recursively from the SD...
dswitkin [Fri, 24 Oct 2008 22:05:07 +0000 (22:05 +0000)]
Wrote a benchmark activity for Android which reads images recursively from the SD card, decodes each 10 times, and prints the average time to decode in milliseconds. The UI is extremely minimal, as the results are written to the log, but this is a good start towards measuring our performance under Dalvik on a platform without floating point hardware. This should run fine on the emulator but I haven't tested it yet.

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

15 years agoupdated app version to 1.0.1
christian.brunschen [Fri, 24 Oct 2008 10:12:40 +0000 (10:12 +0000)]
updated app version to 1.0.1

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

15 years agoinitialize valarrays with explicit contents (zero)
christian.brunschen [Fri, 24 Oct 2008 09:53:01 +0000 (09:53 +0000)]
initialize valarrays with explicit contents (zero)

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

15 years agoAdded support for a title when searching for an address, for example a business name...
dswitkin [Thu, 23 Oct 2008 18:34:35 +0000 (18:34 +0000)]
Added support for a title when searching for an address, for example a business name. Also changed snipppets --> snippet in book search.

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

15 years agoPutting the final touches on the 1.1 release.
dswitkin [Wed, 22 Oct 2008 14:30:32 +0000 (14:30 +0000)]
Putting the final touches on the 1.1 release.

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

15 years agoAdd column caching to MonochromeBitmapSources and use it to improve Data Matrix speed
srowen [Wed, 22 Oct 2008 08:43:56 +0000 (08:43 +0000)]
Add column caching to MonochromeBitmapSources and use it to improve Data Matrix speed

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

15 years agoChecked in the ZXing Test app for Android under androidtest. This application exercis...
dswitkin [Tue, 21 Oct 2008 21:55:15 +0000 (21:55 +0000)]
Checked in the ZXing Test app for Android under androidtest. This application exercises all the intents we support including scanning, encoding, and searching books. It also has a special camera mode which saves greyscale images to the SD card which I use to generate blackbox images.

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

15 years agoPrepping the CHANGES file for 1.1.
dswitkin [Tue, 21 Oct 2008 20:55:47 +0000 (20:55 +0000)]
Prepping the CHANGES file for 1.1.

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

15 years agoAdded versionName and versionCode to the Android client manifest.
dswitkin [Sat, 18 Oct 2008 19:27:43 +0000 (19:27 +0000)]
Added versionName and versionCode to the Android client manifest.

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

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