zxing.git
14 years agoRemove getBits()
srowen [Mon, 22 Jun 2009 17:48:37 +0000 (17:48 +0000)]
Remove getBits()

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

14 years agoUsed IntelliJ's amazing refactoring functions to change the argument ordering of...
dswitkin [Mon, 22 Jun 2009 15:50:08 +0000 (15:50 +0000)]
Used IntelliJ's amazing refactoring functions to change the argument ordering of ByteMatrix. I want to standardize this across ZXing: the first component should always be horizontal and the second vertical, whether supplying an x, y point or a width, height pair. Also, we should always use x and y as variables with x being the horizontal component to avoid confusion.

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

14 years agoModified some comments to reflect that these objects are thread-safe but not reentrant.
dswitkin [Mon, 22 Jun 2009 15:32:59 +0000 (15:32 +0000)]
Modified some comments to reflect that these objects are thread-safe but not reentrant.

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

14 years agoUpdated some comments about thread safety and fixed one easy case. Sean, please have...
dswitkin [Fri, 19 Jun 2009 19:08:31 +0000 (19:08 +0000)]
Updated some comments about thread safety and fixed one easy case. Sean, please have a look.

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

14 years agoIssue 198
srowen [Fri, 19 Jun 2009 13:23:09 +0000 (13:23 +0000)]
Issue 198

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

14 years agoWrote a quick command line app to calculate how many total images are passing our...
dswitkin [Thu, 18 Jun 2009 20:55:42 +0000 (20:55 +0000)]
Wrote a quick command line app to calculate how many total images are passing our blackbox unit tests. This could use some improvement but it's a start.

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

14 years agoChanged "Search book" back to "Search book contents" for clarity, since it's too...
dswitkin [Thu, 18 Jun 2009 15:51:18 +0000 (15:51 +0000)]
Changed "Search book" back to "Search book contents" for clarity, since it's too confusing next to the "Book Search" button. The "Custom search" button will wrap in this case but it still fits fine.

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

14 years agoAdded a new blackbox test with extreme shadows and highlights. We do pretty poorly...
dswitkin [Tue, 16 Jun 2009 18:47:34 +0000 (18:47 +0000)]
Added a new blackbox test with extreme shadows and highlights. We do pretty poorly on this, but I've been experimenting with local thresholding algorithms which are a night and day improvement.

Also made the ImageConverter app ignore some kinds of files.

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

14 years agoAdded getBlackDiagonal() which I likely want to use later
srowen [Thu, 11 Jun 2009 13:42:39 +0000 (13:42 +0000)]
Added getBlackDiagonal() which I likely want to use later

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

14 years agoIssue 155: allow custom product search, and, other small tweaks I think nobody will...
srowen [Wed, 10 Jun 2009 16:40:56 +0000 (16:40 +0000)]
Issue 155: allow custom product search, and, other small tweaks I think nobody will yell at me for

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

14 years agoCalculated total time taken by the benchmark, and also reported it in the UI (in...
dswitkin [Mon, 8 Jun 2009 19:17:34 +0000 (19:17 +0000)]
Calculated total time taken by the benchmark, and also reported it in the UI (in addition to logcat).

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

14 years agoDon't use books.google.cn for Book Search -- doesn't exist. Also a few tiny tweaks.
srowen [Mon, 8 Jun 2009 17:00:09 +0000 (17:00 +0000)]
Don't use books.google.cn for Book Search -- doesn't exist. Also a few tiny tweaks.

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

14 years agoUpdates to compile against 1.5; figuring we will shortly need to be 1.5-friendly
srowen [Sat, 6 Jun 2009 19:50:27 +0000 (19:50 +0000)]
Updates to compile against 1.5; figuring we will shortly need to be 1.5-friendly

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

14 years agoAdded hypest who apparently actually wrote the C# port
srowen [Fri, 29 May 2009 00:05:48 +0000 (00:05 +0000)]
Added hypest who apparently actually wrote the C# port

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

14 years agoWrote a usage message for the CommandLineRunner.
dswitkin [Thu, 28 May 2009 18:59:11 +0000 (18:59 +0000)]
Wrote a usage message for the CommandLineRunner.

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

14 years agoCreated a new QR blackbox test with difficult exposures, mostly self-shadowing cases...
dswitkin [Thu, 28 May 2009 18:45:48 +0000 (18:45 +0000)]
Created a new QR blackbox test with difficult exposures, mostly self-shadowing cases. We only get 34 out of 120 tests, which is about what I expected. To fix these we will have to move away from a global black point and towards a more sophisticated local thresholding algorithm.

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

14 years agoCut Barcode Scanner v2.8 for Android.
dswitkin [Thu, 28 May 2009 16:03:28 +0000 (16:03 +0000)]
Cut Barcode Scanner v2.8 for Android.

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

14 years agoSmall tweaks, use more friendly content type
srowen [Thu, 28 May 2009 12:05:01 +0000 (12:05 +0000)]
Small tweaks, use more friendly content type

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

14 years agoOnly allocate a StringBuffer if the start pattern has been found successfully in...
dswitkin [Wed, 27 May 2009 21:11:10 +0000 (21:11 +0000)]
Only allocate a StringBuffer if the start pattern has been found successfully in the ITFReader.

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

14 years agoMade the Android Test app debuggable so I can examine memory allocation patterns...
dswitkin [Wed, 27 May 2009 18:10:47 +0000 (18:10 +0000)]
Made the Android Test app debuggable so I can examine memory allocation patterns using DDMS (part of the Android SDK).

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

14 years agoFixed an old misspelling and a few tiny tweaks
srowen [Wed, 27 May 2009 10:03:23 +0000 (10:03 +0000)]
Fixed an old misspelling and a few tiny tweaks

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

14 years agoImprovement to Shift_JIS encoding detector to avoid detecting some UTF-8 strings...
srowen [Wed, 27 May 2009 09:14:17 +0000 (09:14 +0000)]
Improvement to Shift_JIS encoding detector to avoid detecting some UTF-8 strings as Shift_JIS

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

14 years agoYou can now dump the black point for URLs to the pwd.
dswitkin [Tue, 26 May 2009 18:12:22 +0000 (18:12 +0000)]
You can now dump the black point for URLs to the pwd.

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

14 years agoExtended the command line tool to dump the results of black point calculation. You...
dswitkin [Tue, 26 May 2009 16:39:00 +0000 (16:39 +0000)]
Extended the command line tool to dump the results of black point calculation. You can now use the flag --dump_black_point to generate a PNG which contains the original image, the row scanning monochrome version, and the 2D scanning monochrome version side by side. It will be saved as originalfilename.mono.png.

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

15 years agoOops, one more fix to rotateCounterClockwise() here
srowen [Sun, 24 May 2009 13:06:51 +0000 (13:06 +0000)]
Oops, one more fix to rotateCounterClockwise() here

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

15 years agoMore intelligence to avoid very deep recursion
srowen [Sat, 23 May 2009 10:33:53 +0000 (10:33 +0000)]
More intelligence to avoid very deep recursion

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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