zxing.git
14 years agoChanged the 2D histogram calculation to sample four rows spread across the image...
dswitkin [Fri, 22 May 2009 20:59:15 +0000 (20:59 +0000)]
Changed the 2D histogram calculation to sample four rows spread across the image rather than taking a diagonal. We get a net increase of 63 blackbox tests with this change.

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

14 years agoOff by one error in last change
srowen [Fri, 22 May 2009 08:19:11 +0000 (08:19 +0000)]
Off by one error in last change

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

14 years agoMake some stuff to public to compile
srowen [Fri, 22 May 2009 07:55:32 +0000 (07:55 +0000)]
Make some stuff to public to compile

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

14 years agoAdded better logging for our blackbox tests. It now displays the number of images...
dswitkin [Thu, 21 May 2009 21:18:27 +0000 (21:18 +0000)]
Added better logging for our blackbox tests. It now displays the number of images which passes per test out of the total, and the percentage. It also warns when a blackbox test is too lax (i.e. we've made decoding improvements but haven't raised the high water mark).

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

14 years agoFixed a typo in our golden results.
dswitkin [Thu, 21 May 2009 20:29:56 +0000 (20:29 +0000)]
Fixed a typo in our golden results.

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

14 years agoI moved a chunk of the histogram/black point code out of BaseMonochromeBitmapSource...
dswitkin [Thu, 21 May 2009 19:56:25 +0000 (19:56 +0000)]
I moved a chunk of the histogram/black point code out of BaseMonochromeBitmapSource and into BlackPointEstimator which makes a lot more sense. Unfortunately I had to expose three new methods and touch a bunch of files. But I did manage to reuse an array on subsequent calls, which was being allocated on every row scanned, so that might be a bit faster. It will also be easier to convert this code to JNI in the future if we want to, and/or do more advanced thresholding.

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

14 years agoMoved CroppedMonochromeBitmapSource into the common package and fixed some more 100...
dswitkin [Thu, 21 May 2009 18:46:53 +0000 (18:46 +0000)]
Moved CroppedMonochromeBitmapSource into the common package and fixed some more 100 column issues.

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

14 years agoStopped sending the decode duration in a message, which no one was looking at, and...
dswitkin [Thu, 21 May 2009 16:02:24 +0000 (16:02 +0000)]
Stopped sending the decode duration in a message, which no one was looking at, and logged it instead.

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

14 years agoCleaned up some code to fit in 100 columns.
dswitkin [Thu, 21 May 2009 15:36:51 +0000 (15:36 +0000)]
Cleaned up some code to fit in 100 columns.

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

14 years agoRemove some DEBUG blocks that apparently do not compile
srowen [Thu, 21 May 2009 14:33:23 +0000 (14:33 +0000)]
Remove some DEBUG blocks that apparently do not compile

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

14 years agoBe smarter about recursion to avoid infinite loop
srowen [Thu, 21 May 2009 14:26:29 +0000 (14:26 +0000)]
Be smarter about recursion to avoid infinite loop

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

15 years agoAdd toString() for easy debugging
srowen [Mon, 11 May 2009 21:51:20 +0000 (21:51 +0000)]
Add toString() for easy debugging

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

15 years agoRemoved deprecation of 'cropping' constructor -- in the end replacing it introduced...
srowen [Mon, 11 May 2009 21:42:07 +0000 (21:42 +0000)]
Removed deprecation of 'cropping' constructor -- in the end replacing it introduced some non-trivial performance hit, not worth it

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

15 years agoMarginal improvement to datamatrix decoder
srowen [Mon, 11 May 2009 21:02:08 +0000 (21:02 +0000)]
Marginal improvement to datamatrix decoder

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

15 years agoFix Contact qrcode generator on appengine.
leppoc [Mon, 11 May 2009 18:16:40 +0000 (18:16 +0000)]
Fix Contact qrcode generator on appengine.

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

15 years agoAdded simplified and traditional Chinese translations for the Android client from...
dswitkin [Mon, 11 May 2009 14:58:14 +0000 (14:58 +0000)]
Added simplified and traditional Chinese translations for the Android client from Kevin Xue.

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

15 years agoFix issue 189. Need to guard against 'false positive' success in reading version...
srowen [Wed, 6 May 2009 21:50:13 +0000 (21:50 +0000)]
Fix issue 189. Need to guard against 'false positive' success in reading version info.

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

15 years agoAlternate multi QR Code reader from Hannes
srowen [Tue, 5 May 2009 09:52:46 +0000 (09:52 +0000)]
Alternate multi QR Code reader from Hannes

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

15 years agoAllow empty URL
srowen [Mon, 4 May 2009 20:05:10 +0000 (20:05 +0000)]
Allow empty URL

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

15 years agoForge ahead with detection even if we missed an alignment pattern -- can still decode...
srowen [Sun, 3 May 2009 19:52:03 +0000 (19:52 +0000)]
Forge ahead with detection even if we missed an alignment pattern -- can still decode in some cases without it

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

15 years agoAdded 'shareText' integration code from Isaac
srowen [Sun, 3 May 2009 05:59:49 +0000 (05:59 +0000)]
Added 'shareText' integration code from Isaac

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

15 years agoAdd MultipleBarcodeReader interface to allow for more implementations
srowen [Sun, 3 May 2009 05:56:51 +0000 (05:56 +0000)]
Add MultipleBarcodeReader interface to allow for more implementations

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

15 years agoRestore shutdown of connection manager
srowen [Fri, 1 May 2009 19:13:47 +0000 (19:13 +0000)]
Restore shutdown of connection manager

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

15 years agoStreamline contact encoding and avoid encoding a line break
srowen [Fri, 1 May 2009 17:25:42 +0000 (17:25 +0000)]
Streamline contact encoding and avoid encoding a line break

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

15 years agoPossible small bug fix and cleanup of unneeded code
srowen [Fri, 1 May 2009 17:23:17 +0000 (17:23 +0000)]
Possible small bug fix and cleanup of unneeded code

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

15 years agoFinal changes for v2.7 of Barcode Scanner, including sending product lookups to the...
dswitkin [Fri, 1 May 2009 14:36:57 +0000 (14:36 +0000)]
Final changes for v2.7 of Barcode Scanner, including sending product lookups to the mobile version of Google Product Search.

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

15 years agoOops fixed invalid use of java.net classes
srowen [Thu, 30 Apr 2009 20:19:20 +0000 (20:19 +0000)]
Oops fixed invalid use of java.net classes

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

15 years agoMoved MultipleBarcodeReader and added ByQuadrantReader to try to accommodate many...
srowen [Thu, 30 Apr 2009 19:12:32 +0000 (19:12 +0000)]
Moved MultipleBarcodeReader and added ByQuadrantReader to try to accommodate many QR codes in an image

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

15 years agoAdd address line 2 support to generator
srowen [Wed, 29 Apr 2009 12:46:29 +0000 (12:46 +0000)]
Add address line 2 support to generator

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

15 years agoAdding a few test images from a defunct issue report
srowen [Tue, 28 Apr 2009 22:29:30 +0000 (22:29 +0000)]
Adding a few test images from a defunct issue report

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

15 years agoIssue 183: Adds support for detecting multiple barcodes, and simplifies ResultPoint...
srowen [Tue, 28 Apr 2009 17:35:33 +0000 (17:35 +0000)]
Issue 183: Adds support for detecting multiple barcodes, and simplifies ResultPoint abstraction

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

15 years agoOops new HTTP lib has a slightly difference exception signature in one method
srowen [Sun, 26 Apr 2009 13:51:58 +0000 (13:51 +0000)]
Oops new HTTP lib has a slightly difference exception signature in one method

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

15 years agoWorkaround for NPE on some Nokias from webblaz...
srowen [Thu, 23 Apr 2009 07:01:00 +0000 (07:01 +0000)]
Workaround for NPE on some Nokias from webblaz...

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

15 years agoUpdate to more recent HttpClient
srowen [Sun, 19 Apr 2009 15:58:27 +0000 (15:58 +0000)]
Update to more recent HttpClient

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

15 years agoImprove URL detection rule to exclude stuff like "Hi."
srowen [Sat, 18 Apr 2009 08:57:32 +0000 (08:57 +0000)]
Improve URL detection rule to exclude stuff like "Hi."

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

15 years agoImprove URL detection rule to exclude stuff like "Hi."
srowen [Sat, 18 Apr 2009 08:02:08 +0000 (08:02 +0000)]
Improve URL detection rule to exclude stuff like "Hi."

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

15 years agoWe should be to 1.4 now right?
srowen [Fri, 17 Apr 2009 21:33:31 +0000 (21:33 +0000)]
We should be to 1.4 now right?

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

15 years agoIn extreme decoder failure case, make sure not to let an IAE propagate up. Turn it...
srowen [Fri, 17 Apr 2009 21:30:36 +0000 (21:30 +0000)]
In extreme decoder failure case, make sure not to let an IAE propagate up. Turn it into ReaderException.

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

15 years agoTry to resolve CLOSE_WAIT issue on zxing.org
srowen [Wed, 15 Apr 2009 10:51:14 +0000 (10:51 +0000)]
Try to resolve CLOSE_WAIT issue on zxing.org

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

15 years agoTweak to compile with Android 1.5 but still work in 1.1
srowen [Wed, 15 Apr 2009 09:58:54 +0000 (09:58 +0000)]
Tweak to compile with Android 1.5 but still work in 1.1

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

15 years agoFixed or removed a bunch of TODOs, and enforced the 100 columns limit in a bunch...
dswitkin [Mon, 13 Apr 2009 21:20:11 +0000 (21:20 +0000)]
Fixed or removed a bunch of TODOs, and enforced the 100 columns limit in a bunch of places. Also allowed QR Codes to be encoded of contacts without names.

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

15 years agoRemoved a bunch of logging cruft from the network code which we don't need.
dswitkin [Mon, 13 Apr 2009 20:33:28 +0000 (20:33 +0000)]
Removed a bunch of logging cruft from the network code which we don't need.

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

15 years agoFixed encoding geo locations in a QR code. Some floats got converted to doubles by...
dswitkin [Mon, 13 Apr 2009 20:09:51 +0000 (20:09 +0000)]
Fixed encoding geo locations in a QR code. Some floats got converted to doubles by accident in a previous cleanup pass.

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

15 years agoEnable DataMatrix in the web app / other small tweaks (forgot one class!); also fix...
srowen [Sun, 12 Apr 2009 06:39:10 +0000 (06:39 +0000)]
Enable DataMatrix in the web app / other small tweaks (forgot one class!); also fix a small bug in QRCodeWriter

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

15 years agoEnable DataMatrix in the web app / other small tweaks
srowen [Fri, 10 Apr 2009 13:46:11 +0000 (13:46 +0000)]
Enable DataMatrix in the web app / other small tweaks

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

15 years agoIssue 166
srowen [Mon, 6 Apr 2009 21:59:03 +0000 (21:59 +0000)]
Issue 166

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

15 years agoIssue 165
srowen [Mon, 6 Apr 2009 21:56:31 +0000 (21:56 +0000)]
Issue 165

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

15 years agoIssue 165
srowen [Mon, 6 Apr 2009 21:56:06 +0000 (21:56 +0000)]
Issue 165

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

15 years agoIssue 164
srowen [Mon, 6 Apr 2009 21:51:33 +0000 (21:51 +0000)]
Issue 164

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

15 years agoIssue 164
srowen [Mon, 6 Apr 2009 21:46:02 +0000 (21:46 +0000)]
Issue 164

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

15 years agoIssue 163
srowen [Mon, 6 Apr 2009 21:41:21 +0000 (21:41 +0000)]
Issue 163

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

15 years agoIssue 161
srowen [Mon, 6 Apr 2009 21:38:48 +0000 (21:38 +0000)]
Issue 161

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

15 years agoIssue 158: Correct some off-by-one problems in Data Matrix detector and a few more...
srowen [Mon, 6 Apr 2009 21:22:07 +0000 (21:22 +0000)]
Issue 158: Correct some off-by-one problems in Data Matrix detector and a few more improvements, ignore unsupported DM symbols

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

15 years agoFixed tiny javadoc glitches
srowen [Thu, 12 Mar 2009 21:17:06 +0000 (21:17 +0000)]
Fixed tiny javadoc glitches

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

15 years agoSlightly smarter version of last change
srowen [Thu, 12 Mar 2009 21:10:53 +0000 (21:10 +0000)]
Slightly smarter version of last change

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

15 years agoCreated a page at http://zxing.appspot.com/scan which is the fall-through if Barcode...
dswitkin [Thu, 12 Mar 2009 19:11:28 +0000 (19:11 +0000)]
Created a page at zxing.appspot.com/scan which is the fall-through if Barcode Scanner is not installed and a web app tried to launch it. It contains a simple explanation and a link to Market, as well as a link for other platforms to the GetTheReader Wiki page.

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

15 years agoTry to do a better job of understanding if the phone supports video capture, and...
srowen [Wed, 11 Mar 2009 21:43:04 +0000 (21:43 +0000)]
Try to do a better job of understanding if the phone supports video capture, and what formats, to provide better errors when it won't work

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

15 years agoWhoops, forgot to mention the C# port, I thought it was present in v1.2.
dswitkin [Wed, 11 Mar 2009 19:47:25 +0000 (19:47 +0000)]
Whoops, forgot to mention the C# port, I thought it was present in v1.2.

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

15 years agoWrote version notes for v1.3.
dswitkin [Wed, 11 Mar 2009 19:44:43 +0000 (19:44 +0000)]
Wrote version notes for v1.3.

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

15 years agoCreated v2.6 final, and added the ability for web apps to launch Barcode Scanner...
dswitkin [Wed, 11 Mar 2009 19:35:23 +0000 (19:35 +0000)]
Created v2.6 final, and added the ability for web apps to launch Barcode Scanner by linking to zxing.appspot.com/scan.

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

15 years agoFixed a bad build target, and added two missing packages.
dswitkin [Tue, 10 Mar 2009 17:10:19 +0000 (17:10 +0000)]
Fixed a bad build target, and added two missing packages.

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

15 years ago- Added a new unit test of 13 ITF images I took with a T-Mobile G1.
dswitkin [Mon, 9 Mar 2009 20:48:48 +0000 (20:48 +0000)]
- Added a new unit test of 13 ITF images I took with a T-Mobile G1.
- Added upside down unit tests for the existing ITF images.
- Removed the temporary format code from these tests now that ITF is on by default.

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

15 years agoChanges to create Barcode Scanner 2.6 beta 1.
dswitkin [Mon, 9 Mar 2009 20:06:14 +0000 (20:06 +0000)]
Changes to create Barcode Scanner 2.6 beta 1.

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

15 years agoTurned on ITF support in the Android client, and fixed a bug in the ITF result points...
dswitkin [Mon, 9 Mar 2009 15:57:57 +0000 (15:57 +0000)]
Turned on ITF support in the Android client, and fixed a bug in the ITF result points, which by convention should draw across the whole body of the barcode, not just the start range.

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

15 years agoTiny optimization to reverse()
srowen [Mon, 9 Mar 2009 15:56:08 +0000 (15:56 +0000)]
Tiny optimization to reverse()

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

15 years agoTurned on ITF support by default. The typical overhead in real world scanning on...
dswitkin [Mon, 9 Mar 2009 15:46:27 +0000 (15:46 +0000)]
Turned on ITF support by default. The typical overhead in real world scanning on an Android device is 3-8 ms.

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

15 years agoFixed decodeEnd() situation whereby row might not be re-reversed, and fixed an old...
srowen [Sat, 7 Mar 2009 10:51:03 +0000 (10:51 +0000)]
Fixed decodeEnd() situation whereby row might not be re-reversed, and fixed an old NPE I caused

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

15 years agoSome clever, perhaps too-clever optimization of masking code
srowen [Fri, 6 Mar 2009 22:55:19 +0000 (22:55 +0000)]
Some clever, perhaps too-clever optimization of masking code

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

15 years agoRemoved getWidth() and getHeight() which I added by mistake. They are already present...
dswitkin [Fri, 6 Mar 2009 19:06:06 +0000 (19:06 +0000)]
Removed getWidth() and getHeight() which I added by mistake. They are already present on the base class.

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

15 years ago- Added the version number to the about box in a robust way which will not get stale.
dswitkin [Fri, 6 Mar 2009 18:31:45 +0000 (18:31 +0000)]
- Added the version number to the about box in a robust way which will not get stale.
- Moved the Book Search user agent into that class, which will continue to get stale, but never belonged in the XML, as it does not need translation.
- Added a try/catch block around firing off intents, and an error dialog, so that we don't crash on bad  intents like TEL: in the future (even though that particular one was fixed in core).

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

15 years agoChanged the order of the BaseMonochromeBitmapSource constructor arguments to be width...
dswitkin [Fri, 6 Mar 2009 16:52:35 +0000 (16:52 +0000)]
Changed the order of the BaseMonochromeBitmapSource constructor arguments to be width, height to match the rest of the codebase, and added two apparently missing methods to the J2ME subclass, although I can't test it.

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

15 years agoNormalize GEO: to geo:
srowen [Fri, 6 Mar 2009 15:25:26 +0000 (15:25 +0000)]
Normalize GEO: to geo:

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

15 years agoFix #150 again by moving towards a more RFC 2822-compliant definition of valid syntax
srowen [Fri, 6 Mar 2009 15:17:38 +0000 (15:17 +0000)]
Fix #150 again by moving towards a more RFC 2822-compliant definition of valid syntax

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

15 years agoBacked out last 'fix' to email address parsing -- isn't going to work. Needs a better...
srowen [Thu, 5 Mar 2009 02:28:57 +0000 (02:28 +0000)]
Backed out last 'fix' to email address parsing -- isn't going to work. Needs a better, real fix.

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

15 years agoNormalize TEL: to tel: to make sure it works with Android
srowen [Thu, 5 Mar 2009 02:26:21 +0000 (02:26 +0000)]
Normalize TEL: to tel: to make sure it works with Android

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

15 years agoAddress Issue 152
srowen [Thu, 5 Mar 2009 02:19:48 +0000 (02:19 +0000)]
Address Issue 152

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

15 years agoFix for #148 and possibly #149 plus a few code polishes here and there
srowen [Sun, 1 Mar 2009 12:40:43 +0000 (12:40 +0000)]
Fix for #148 and possibly #149 plus a few code polishes here and there

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

15 years agoTiny optimizations to boolean logic to avoid extra byte code and branches in semi...
srowen [Mon, 23 Feb 2009 13:52:45 +0000 (13:52 +0000)]
Tiny optimizations to boolean logic to avoid extra byte code and branches in semi-critical sections

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

15 years agoRevised the What's New help page, and bumped the version to 2.5 final.
dswitkin [Fri, 20 Feb 2009 19:04:13 +0000 (19:04 +0000)]
Revised the What's New help page, and bumped the version to 2.5 final.

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

15 years ago- Fixed issue 146, QR Codes get clipped when encoding very large amount of data,...
dswitkin [Tue, 17 Feb 2009 17:10:23 +0000 (17:10 +0000)]
- Fixed issue 146, QR Codes get clipped when encoding very large amount of data, by adding a ScrollView.
- Also added support for sharing multiple email addresses and phone numbers.

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

15 years agoAdded small android-integration module
srowen [Tue, 17 Feb 2009 12:27:14 +0000 (12:27 +0000)]
Added small android-integration module

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

15 years agogit-svn-id: http://zxing.googlecode.com/svn/trunk@859 59b500cc-1b3d-0410-9834-0bbf25f...
srowen [Sun, 15 Feb 2009 12:38:12 +0000 (12:38 +0000)]
git-svn-id: zxing.googlecode.com/svn/trunk@859 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoA fixed fix for email parsing
srowen [Sun, 15 Feb 2009 12:00:52 +0000 (12:00 +0000)]
A fixed fix for email parsing

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

15 years agoTighten email check logic a little
srowen [Sun, 15 Feb 2009 09:45:52 +0000 (09:45 +0000)]
Tighten email check logic a little

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

15 years agoTightened a condition to reduce accidentally detecting the alignment pattern as a...
srowen [Sun, 15 Feb 2009 09:43:40 +0000 (09:43 +0000)]
Tightened a condition to reduce accidentally detecting the alignment pattern as a finder pattern

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

15 years agogit-svn-id: http://zxing.googlecode.com/svn/trunk@853 59b500cc-1b3d-0410-9834-0bbf25f...
eray.ince [Thu, 12 Feb 2009 12:13:28 +0000 (12:13 +0000)]
git-svn-id: zxing.googlecode.com/svn/trunk@853 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agogit-svn-id: http://zxing.googlecode.com/svn/trunk@852 59b500cc-1b3d-0410-9834-0bbf25f...
eray.ince [Thu, 12 Feb 2009 12:06:32 +0000 (12:06 +0000)]
git-svn-id: zxing.googlecode.com/svn/trunk@852 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agogit-svn-id: http://zxing.googlecode.com/svn/trunk@851 59b500cc-1b3d-0410-9834-0bbf25f...
eray.ince [Thu, 12 Feb 2009 12:06:01 +0000 (12:06 +0000)]
git-svn-id: zxing.googlecode.com/svn/trunk@851 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agogit-svn-id: http://zxing.googlecode.com/svn/trunk@850 59b500cc-1b3d-0410-9834-0bbf25f...
eray.ince [Thu, 12 Feb 2009 12:00:58 +0000 (12:00 +0000)]
git-svn-id: zxing.googlecode.com/svn/trunk@850 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoChanged the Intent to send emails to address issue 145.
dswitkin [Tue, 10 Feb 2009 20:08:20 +0000 (20:08 +0000)]
Changed the Intent to send emails to address issue 145.

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

15 years agoRefactored width/height values into superclass and enabled construction of RGBMonochr...
srowen [Mon, 9 Feb 2009 21:25:45 +0000 (21:25 +0000)]
Refactored width/height values into superclass and enabled construction of RGBMonochromeBitmapSource from a Bitmap

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

15 years agogit-svn-id: http://zxing.googlecode.com/svn/trunk@845 59b500cc-1b3d-0410-9834-0bbf25f...
srowen [Mon, 9 Feb 2009 20:25:16 +0000 (20:25 +0000)]
git-svn-id: zxing.googlecode.com/svn/trunk@845 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoMake public to enable reuse; add convenience constructor for no cropping, or cropping...
srowen [Fri, 6 Feb 2009 14:06:05 +0000 (14:06 +0000)]
Make public to enable reuse; add convenience constructor for no cropping, or cropping without a Rect object. Also optimize a few things.

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

15 years agoFix Issue 143, failure on invalid geo: URIs
srowen [Fri, 6 Feb 2009 13:30:10 +0000 (13:30 +0000)]
Fix Issue 143, failure on invalid geo: URIs

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

15 years agoConvert asserts to exceptions where the conditions could be false in a correct, bug...
srowen [Thu, 5 Feb 2009 13:06:19 +0000 (13:06 +0000)]
Convert asserts to exceptions where the conditions could be false in a correct, bug-free program -- makes sure caller errors are caught and reported meaningfully

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

15 years agoIssue 141 -- add flash control for JSR 234 phones
srowen [Tue, 3 Feb 2009 10:15:23 +0000 (10:15 +0000)]
Issue 141 -- add flash control for JSR 234 phones

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

15 years agoCommit Simon's changes for Issue 134
srowen [Sun, 1 Feb 2009 11:44:56 +0000 (11:44 +0000)]
Commit Simon's changes for Issue 134

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

15 years agoMore changes in the direction of supporting ECI in the encoder
srowen [Sat, 31 Jan 2009 20:17:43 +0000 (20:17 +0000)]
More changes in the direction of supporting ECI in the encoder

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

15 years agoAdded basic support for caller-specified character encoding
srowen [Sat, 31 Jan 2009 00:40:04 +0000 (00:40 +0000)]
Added basic support for caller-specified character encoding

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

15 years agogit-svn-id: http://zxing.googlecode.com/svn/trunk@835 59b500cc-1b3d-0410-9834-0bbf25f...
srowen [Fri, 30 Jan 2009 18:19:16 +0000 (18:19 +0000)]
git-svn-id: zxing.googlecode.com/svn/trunk@835 59b500cc-1b3d-0410-9834-0bbf25fbcc57