Commit graph

753 commits

Author SHA1 Message Date
leppoc 031ceb7e69 Another (better) solution for google maps long copyright strings.
git-svn-id: https://zxing.googlecode.com/svn/trunk@798 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-19 21:28:11 +00:00
leppoc c303242f8a Add a google maps component to the GeoLocation generator.
git-svn-id: https://zxing.googlecode.com/svn/trunk@797 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-19 21:02:36 +00:00
dswitkin f50dcf6d27 Added golden results to all of our result parsing unit tests, uncovering and fixing a few subtle bugs in the process. I also expanded a few of them which were lean.
git-svn-id: https://zxing.googlecode.com/svn/trunk@796 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-19 20:20:54 +00:00
leppoc 280bb12e34 Allow the + character in phone numbers. In the same time, fix a bug where other non allowed characters (such as /, or &) in url attributes would generate a non valid url.
git-svn-id: https://zxing.googlecode.com/svn/trunk@795 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-19 16:24:20 +00:00
dswitkin 48480eba95 Fixed crash and bad parsing of an SMS with a question mark in the subject or message.
git-svn-id: https://zxing.googlecode.com/svn/trunk@794 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-19 15:00:20 +00:00
dswitkin 13432e7bb2 Small change to make the yaml file match the Ant script.
git-svn-id: https://zxing.googlecode.com/svn/trunk@790 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-17 21:00:38 +00:00
dswitkin a4b940e3c7 Created the Ant build file for zxing.appspot.com, which appears to work. All that's left is uploading the site.
git-svn-id: https://zxing.googlecode.com/svn/trunk@789 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-17 18:19:16 +00:00
leppoc 7352202c90 Adding gwt QR Code generator, and appspot configuration files.
git-svn-id: https://zxing.googlecode.com/svn/trunk@788 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-16 23:08:42 +00:00
dswitkin 30f8fa2736 Added a variable for Google Web Toolkit to the globabl build.properties.
git-svn-id: https://zxing.googlecode.com/svn/trunk@787 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-16 21:20:50 +00:00
dswitkin 2d9c5fbc5f Fixed a broken inline image in the HTML help.
git-svn-id: https://zxing.googlecode.com/svn/trunk@786 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-16 20:18:09 +00:00
dswitkin f893649836 Created the front page of the new zxing.appspot.com site.
git-svn-id: https://zxing.googlecode.com/svn/trunk@785 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-12 19:06:32 +00:00
srowen 131cfe4c5c More reckless refactoring and code style tweaks -- mostly adding braces around conditional/loops, and using @Override
git-svn-id: https://zxing.googlecode.com/svn/trunk@784 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-11 23:34:49 +00:00
dswitkin c91265df17 Added two new preferences: vibrate on scan, and copy contents to clipboard on scan.
git-svn-id: https://zxing.googlecode.com/svn/trunk@783 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-11 17:09:12 +00:00
srowen 8a80d1ef46 Use useexternalfile on javadoc task to avoid odd error that only happens on Windows
git-svn-id: https://zxing.googlecode.com/svn/trunk@782 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-10 14:26:24 +00:00
srowen 6c5b6849b7 Another attack on integrating encoder and decoder: Version is done. Attempted to rationalize encoding API to deal with strings, not bytes. More code style changes like removal of 'final' on locals and arguments.
git-svn-id: https://zxing.googlecode.com/svn/trunk@781 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-10 00:22:14 +00:00
srowen 1f2699c196 Small speedups in time-related code
git-svn-id: https://zxing.googlecode.com/svn/trunk@780 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-09 16:20:32 +00:00
dswitkin f265d0872f Made our parsing code handle uppercase prefixes for a variety of loosely-defined formats.
git-svn-id: https://zxing.googlecode.com/svn/trunk@779 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-08 23:08:23 +00:00
srowen 12420b443d Fix apparently-inconsequential typo in QR code encoder test case
git-svn-id: https://zxing.googlecode.com/svn/trunk@778 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-05 16:46:53 +00:00
dswitkin d300a96e7a Updated the permission to read bookmarks to conform to the new Android API.
git-svn-id: https://zxing.googlecode.com/svn/trunk@777 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-05 16:09:36 +00:00
dswitkin 3ef2b0b618 Fixed a bug in geo coordinate display, where we were always tacking on "deg N" and "deg E", which doesn't make sense. Really, N/S/E/W needs to be determined by sign, and the sign removed for W and S. However, since none of that can be translated easily, I removed it, and we now just print lat, long which is an acceptable standard.
I also bumped the Android client to v2.4 final.

git-svn-id: https://zxing.googlecode.com/svn/trunk@776 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-03 16:14:56 +00:00
dswitkin e63f1c843c Update the manifest to 2.4 beta 2.
git-svn-id: https://zxing.googlecode.com/svn/trunk@775 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-02 22:27:12 +00:00
dswitkin 27380eb838 Worked around a bug in Android 1.0 with using gravity and padding at the same time, which broke the Share UI.
git-svn-id: https://zxing.googlecode.com/svn/trunk@774 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-02 22:10:27 +00:00
dswitkin 271c9b2dde New HTML edits from Joseph, and added a fading edge to the WebView to make it more obvious that there is more content the user can scroll to.
git-svn-id: https://zxing.googlecode.com/svn/trunk@773 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-02 20:26:21 +00:00
srowen c74735c1b4 Unify handling of Mode too
git-svn-id: https://zxing.googlecode.com/svn/trunk@771 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-02 01:30:57 +00:00
srowen 784673a241 Unify handling of EC level between encoder and decoder
git-svn-id: https://zxing.googlecode.com/svn/trunk@770 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-02 01:00:18 +00:00
srowen 416193ff9a Big rename of variables and method to have more standard Java names
git-svn-id: https://zxing.googlecode.com/svn/trunk@769 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-02 00:31:10 +00:00
srowen 10a90bfecf Some formatting changes, and a few tiny optimizations
git-svn-id: https://zxing.googlecode.com/svn/trunk@768 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-02 00:10:46 +00:00
srowen 36e9361184 Some formatting changes, and a few tiny optimizations
git-svn-id: https://zxing.googlecode.com/svn/trunk@767 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-01 21:36:58 +00:00
dswitkin 7f5c93a71d Added a specific message for unsearchable books, and changed the Exit button in the help to Done to be a little clearer.
git-svn-id: https://zxing.googlecode.com/svn/trunk@766 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-01 16:10:28 +00:00
dswitkin c3564411fb Added a new QR Code unit test of real world photos of t-shirts. These are notoriously difficult because the barcodes don't lie completely flat. We're able to decode 33/48 which is better than I thought, although most of the images which fail look within reach.
git-svn-id: https://zxing.googlecode.com/svn/trunk@764 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-26 16:39:34 +00:00
dswitkin e52e695dee Bumped the version number to create v2.4 beta 1.
git-svn-id: https://zxing.googlecode.com/svn/trunk@763 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-26 15:30:34 +00:00
dswitkin fd327c94c4 Created an HTML help system, which is hooked up to the Menu/Help button. It also runs automatically the first time a new version of the app is run on a particular device. I wrote up a bunch of pages, which feature great art by Joseph, including a What's New page that we can edit for every release.
git-svn-id: https://zxing.googlecode.com/svn/trunk@761 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-25 22:12:02 +00:00
srowen b300a0a4b4 Reduce alert timeout in J2ME client to 5 seconds from forever
git-svn-id: https://zxing.googlecode.com/svn/trunk@760 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-25 21:14:55 +00:00
dswitkin 4e5aa67970 Made phone numbers hyphenated in the display below the encoded QR Code.
git-svn-id: https://zxing.googlecode.com/svn/trunk@759 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-22 01:20:25 +00:00
dswitkin 8df34ebb42 Added great new artwork from Joseph for the Share UI. Also renamed the Share menu item to be clearer.
git-svn-id: https://zxing.googlecode.com/svn/trunk@758 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-21 21:04:11 +00:00
dswitkin 98b34ae187 Made Java naming changes to BitVector.
git-svn-id: https://zxing.googlecode.com/svn/trunk@757 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-21 17:06:52 +00:00
kev.sully afdc4508b7 ISSUE: http://code.google.com/p/zxing/issues/detail?id=110
Changes to fix high nbr of false positives.
- Removed requirement that the barcode fills the viewfinder
- Extended the check on the lenght of decoded barcode - now only 6, 10 and 14 digit barcodes are supported.

git-svn-id: https://zxing.googlecode.com/svn/trunk@756 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-21 16:40:40 +00:00
kev.sully 85506667a7 ISSUE: http://code.google.com/p/zxing/issues/detail?id=110
Changes to fix high nbr of false positives.
- Fixed up the quiet zone checks.
- Validate that the barcode fills the viewfinder
- Check that decoded barcode is min 6 digits


git-svn-id: https://zxing.googlecode.com/svn/trunk@755 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-21 11:25:45 +00:00
kev.sully 1e9123b0af ISSUE: http://code.google.com/p/zxing/issues/detail?id=110
Commented out references to ITFReader until it is validated as production ready.

git-svn-id: https://zxing.googlecode.com/svn/trunk@754 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-21 09:40:13 +00:00
dswitkin 87e0ba7523 Removed some logging from the QR encoder. Nothing in core should be printf'ing - we can always inspect these with a debugger if needed. Also removed the temporary README about this package not compiling.
git-svn-id: https://zxing.googlecode.com/svn/trunk@753 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-20 22:43:20 +00:00
dswitkin 0f648cd1be Ported and rewrote the Renderer unit test to test QRCodeWriter. We encode several barcodes looking for good behavior, and several others which are compared pixel by pixel to golden results stored in PNGs. I'm happy to say we nail the three images Satoru created to the dot!
Along the way, I added support for encoder hints, and no longer hardcode the error correction level.

git-svn-id: https://zxing.googlecode.com/svn/trunk@752 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-20 22:39:31 +00:00
dswitkin 6d7d507e27 Forced the Android client to only decode the existing 7 formats, thereby excluding ITF for the time being.
git-svn-id: https://zxing.googlecode.com/svn/trunk@751 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-20 21:05:50 +00:00
dswitkin 960a169da7 Added support for encoding multiple email addresses and phone numbers using the new constants I added to the Contacts app for Android 1.1.
git-svn-id: https://zxing.googlecode.com/svn/trunk@750 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-20 19:58:33 +00:00
kev.sully dab0c22347 ISSUE: http://code.google.com/p/zxing/issues/detail?id=110
Renamed test cases dir to itf-1 (removed 14 specific reference)

git-svn-id: https://zxing.googlecode.com/svn/trunk@749 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-20 17:34:23 +00:00
kev.sully 7eb787da2e ISSUE: http://code.google.com/p/zxing/issues/detail?id=110
Renamed test cases dir to itf-1 (removed 14 specific reference)

git-svn-id: https://zxing.googlecode.com/svn/trunk@748 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-20 17:33:20 +00:00
kev.sully 8723de9917 ISSUE: http://code.google.com/p/zxing/issues/detail?id=110
Added more test cases for ITF.

git-svn-id: https://zxing.googlecode.com/svn/trunk@747 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-20 17:29:22 +00:00
kev.sully e851b8d293 ISSUE: http://code.google.com/p/zxing/issues/detail?id=110
Added more test cases for ITF.

git-svn-id: https://zxing.googlecode.com/svn/trunk@746 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-20 17:28:52 +00:00
kev.sully b0ef487b31 ISSUE: http://code.google.com/p/zxing/issues/detail?id=110
Renamed ITF14Reader to ITFReader. ITFReader now reads arbitrary number of digits. Added a QuietZone check. Removed checksum validation. Added more test cases.

git-svn-id: https://zxing.googlecode.com/svn/trunk@745 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-20 17:27:12 +00:00
kev.sully 233ae565fe ISSUE: http://code.google.com/p/zxing/issues/detail?id=110
Renamed ITF14Reader to ITFReader. ITFReader now reads arbitrary number of digits. Added a QuietZone check. Removed checksum validation. Added more test cases.

git-svn-id: https://zxing.googlecode.com/svn/trunk@744 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-20 17:26:34 +00:00
srowen 4928f6bd07 git-svn-id: https://zxing.googlecode.com/svn/trunk@743 59b500cc-1b3d-0410-9834-0bbf25fbcc57 2008-11-20 17:10:44 +00:00