zxing.git
15 years agoCorrect a few more things about ECI parsing
srowen [Thu, 19 Jun 2008 16:49:04 +0000 (16:49 +0000)]
Correct a few more things about ECI parsing

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

15 years agoAdded rotation to unit test output for clarification.
dswitkin [Thu, 19 Jun 2008 16:41:40 +0000 (16:41 +0000)]
Added rotation to unit test output for clarification.

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

15 years agoTrying to add image 26 back to the false positives unit test.
dswitkin [Thu, 19 Jun 2008 15:51:04 +0000 (15:51 +0000)]
Trying to add image 26 back to the false positives unit test.

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

15 years agoDeleting image 26 which somehow arrived at the server with a length of zero bytes.
dswitkin [Thu, 19 Jun 2008 15:49:51 +0000 (15:49 +0000)]
Deleting image 26 which somehow arrived at the server with a length of zero bytes.

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

15 years agoFixed the build.
dswitkin [Thu, 19 Jun 2008 15:46:39 +0000 (15:46 +0000)]
Fixed the build.

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

15 years agoadded a default image to show while the application starts
christian.brunschen [Thu, 19 Jun 2008 15:37:19 +0000 (15:37 +0000)]
added a default image to show while the application starts

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

15 years agoRemoved redundant RotatingNavigationController class
christian.brunschen [Thu, 19 Jun 2008 14:02:47 +0000 (14:02 +0000)]
Removed redundant RotatingNavigationController class

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

15 years agoFirst version of the iphone client that actually works, for at least a subset
christian.brunschen [Thu, 19 Jun 2008 08:52:37 +0000 (08:52 +0000)]
First version of the iphone client that actually works, for at least a subset
of the intended functionality.

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

15 years agoAdded, at least, parsing of ECI mode in QR Code
srowen [Thu, 19 Jun 2008 01:37:49 +0000 (01:37 +0000)]
Added, at least, parsing of ECI mode in QR Code

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

15 years agoSimple check in Code 39 reader to determine wide bars vary in width a lot, to cut...
srowen [Wed, 18 Jun 2008 22:52:45 +0000 (22:52 +0000)]
Simple check in Code 39 reader to determine wide bars vary in width a lot, to cut out most false positives

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

15 years agoImproved approach to 1D decoding -- better use of integer math by scaling pattern...
srowen [Wed, 18 Jun 2008 22:12:59 +0000 (22:12 +0000)]
Improved approach to 1D decoding -- better use of integer math by scaling pattern ratios up to expected number of pixels, rather than the other way. Modified constants accordingly. Also introduced notion of maxium variance that any one bar in a pattern can have and stiill be accepted. Finally, adjusted false-positives test failure limit downward due to recent improvements.

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

15 years agoFix pretty clear bug on Code 128 and 39 readers: reject empty barcodes as a false...
srowen [Wed, 18 Jun 2008 21:56:30 +0000 (21:56 +0000)]
Fix pretty clear bug on Code 128 and 39 readers: reject empty barcodes as a false positive.

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

15 years agoMake optimization of core.jar as a library more conservative -- no shrinking, obfuscation
srowen [Wed, 18 Jun 2008 21:44:09 +0000 (21:44 +0000)]
Make optimization of core.jar as a library more conservative -- no shrinking, obfuscation

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

15 years agoAdded raw bytes to human readable output of zxing.org decoder
srowen [Wed, 18 Jun 2008 17:56:29 +0000 (17:56 +0000)]
Added raw bytes to human readable output of zxing.org decoder

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

15 years agoRenamed core OSGi bundle to "ZXing"; removed "level=" attribute on <jar> tasks since...
srowen [Wed, 18 Jun 2008 17:40:14 +0000 (17:40 +0000)]
Renamed core OSGi bundle to "ZXing"; removed "level=" attribute on <jar> tasks since it singlehandly introduces a depence on Ant 1.7 and doesn't buy much. OS X for example does not ship with Ant 1.7 yet.

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

15 years agoCreated a library of images which do not contain barcodes, or contain barcodes we...
dswitkin [Tue, 17 Jun 2008 18:35:16 +0000 (18:35 +0000)]
Created a library of images which do not contain barcodes, or contain barcodes we don't yet support. Wrote a new unit test designed to identify false positives, and set a benchmark which we can improve over time. Out of these 26 images, tested in all four rotations, we currently find 44/104 false positives. The Code 39 decoder in particular seems to be too lenient.

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

15 years agoAdd support for core.jar as OSGi bundle, component in BugLabs's BUG platform
srowen [Mon, 16 Jun 2008 18:25:56 +0000 (18:25 +0000)]
Add support for core.jar as OSGi bundle, component in BugLabs's BUG platform

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

15 years agoMake sure to clean up generated web.xml with password!
srowen [Mon, 16 Jun 2008 17:32:16 +0000 (17:32 +0000)]
Make sure to clean up generated web.xml with password!

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

15 years agoUpdate with notes for 0.8
srowen [Mon, 16 Jun 2008 16:42:29 +0000 (16:42 +0000)]
Update with notes for 0.8

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

15 years agoFinal updates to use local test images rather than remote
srowen [Mon, 16 Jun 2008 16:29:48 +0000 (16:29 +0000)]
Final updates to use local test images rather than remote

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

15 years agoMore updates to use local test images rather than remote
srowen [Mon, 16 Jun 2008 16:13:12 +0000 (16:13 +0000)]
More updates to use local test images rather than remote

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

15 years agoFirst set of updates to use local test images rather than remote
srowen [Mon, 16 Jun 2008 16:00:51 +0000 (16:00 +0000)]
First set of updates to use local test images rather than remote

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

15 years agoMinor style tweaks
srowen [Fri, 13 Jun 2008 12:15:49 +0000 (12:15 +0000)]
Minor style tweaks

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

15 years agoAdjust optimization options: make sure to actually exclude more unused code, but...
srowen [Thu, 12 Jun 2008 17:11:07 +0000 (17:11 +0000)]
Adjust optimization options: make sure to actually exclude more unused code, but keep what Android client needs; this means tests have to run against unoptimized version

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

15 years agoRemove compile-time reference to DataMatrixReader
srowen [Thu, 12 Jun 2008 16:30:01 +0000 (16:30 +0000)]
Remove compile-time reference to DataMatrixReader

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

15 years agoMade this more like RGBMonochromBitmapSource, caching a row instead of the whole...
srowen [Thu, 12 Jun 2008 16:29:04 +0000 (16:29 +0000)]
Made this more like RGBMonochromBitmapSource, caching a row instead of the whole image

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

15 years agoUpdated for 0.8, remove references to android-m3
srowen [Thu, 12 Jun 2008 15:57:07 +0000 (15:57 +0000)]
Updated for 0.8, remove references to android-m3

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

15 years agoAdded build-optimized target to produce optimized core.jar; tests now test optimized...
srowen [Thu, 12 Jun 2008 15:55:42 +0000 (15:55 +0000)]
Added build-optimized target to produce optimized core.jar; tests now test optimized version; also removed the dependency from core to MIDP 2.0 as it was just depending on silly IllegalStateException

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

15 years agoNow use integer math in patternMatchVariance for performance, plus a few other simila...
srowen [Thu, 12 Jun 2008 15:17:53 +0000 (15:17 +0000)]
Now use integer math in patternMatchVariance for performance, plus a few other similar style and speed tweaks

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

15 years agoOops one more style change
srowen [Thu, 12 Jun 2008 12:52:18 +0000 (12:52 +0000)]
Oops one more style change

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

15 years agoSmall tweaks on top of Daniel's excellent refactoring
srowen [Thu, 12 Jun 2008 12:51:26 +0000 (12:51 +0000)]
Small tweaks on top of Daniel's excellent refactoring

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

15 years agoMissed one place that needs to cache the luminance data.
dswitkin [Wed, 11 Jun 2008 23:58:04 +0000 (23:58 +0000)]
Missed one place that needs to cache the luminance data.

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

15 years agoRefactored the MonochromeBitmapSource hierarchy to share a great deal of code and...
dswitkin [Wed, 11 Jun 2008 23:52:35 +0000 (23:52 +0000)]
Refactored the MonochromeBitmapSource hierarchy to share a great deal of code and shrink the derived classes considerably.

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

15 years agoFix bad logic black point estimator, improving threshold estimation performance ...
srowen [Wed, 11 Jun 2008 19:59:38 +0000 (19:59 +0000)]
Fix bad logic black point estimator, improving threshold estimation performance (and adjust some == to .equals())

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

15 years agoUnify UPC-A reader into EAN-13 reader since EAN-13 is a superset and we can take...
srowen [Wed, 11 Jun 2008 19:30:57 +0000 (19:30 +0000)]
Unify UPC-A reader into EAN-13 reader since EAN-13 is a superset and we can take advantage of the commonality to improve performance.

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

15 years agoAdd sharpening filter to this implementation too
srowen [Wed, 11 Jun 2008 18:12:41 +0000 (18:12 +0000)]
Add sharpening filter to this implementation too

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

15 years agoA few more cleanups while I'm at it in GUIRunner
srowen [Wed, 11 Jun 2008 13:26:05 +0000 (13:26 +0000)]
A few more cleanups while I'm at it in GUIRunner

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

15 years agoFixed a tiny deprecation warning
srowen [Wed, 11 Jun 2008 13:21:02 +0000 (13:21 +0000)]
Fixed a tiny deprecation warning

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

15 years agoRemoving android-m3 since it is no longer in active development (but we have it in...
srowen [Wed, 11 Jun 2008 12:51:38 +0000 (12:51 +0000)]
Removing android-m3 since it is no longer in active development (but we have it in SVN of course)

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

15 years ago- Added support for rotation in our blackbox test framework, and refactored the ways...
dswitkin [Wed, 11 Jun 2008 00:05:51 +0000 (00:05 +0000)]
- Added support for rotation in our blackbox test framework, and refactored the ways tests are created and run.
- Turned on 0 and 180 degree rotation for all 1D formats.
- Turned on 0, 90, 180, and 270 degree rotation for QR.
- Changed the 1D code to re-enable upside down scanning, with a dramatic improvement in barcodes found and fewer false positives.

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

15 years agoTiny bug fix, need to deal with no query params case correctly
srowen [Tue, 10 Jun 2008 19:44:47 +0000 (19:44 +0000)]
Tiny bug fix, need to deal with no query params case correctly

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

15 years agogit-svn-id: http://zxing.googlecode.com/svn/trunk@404 59b500cc-1b3d-0410-9834-0bbf25f...
srowen [Tue, 27 May 2008 17:58:59 +0000 (17:58 +0000)]
git-svn-id: zxing.googlecode.com/svn/trunk@404 59b500cc-1b3d-0410-9834-0bbf25fbcc57

15 years agoSnapshotThread now Runnable instead of a Thread, to dodge an odd override problem...
srowen [Tue, 27 May 2008 17:51:46 +0000 (17:51 +0000)]
SnapshotThread now Runnable instead of a Thread, to dodge an odd override problem with stop() method

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

15 years agoAdded SMSTO support, added subject/body param support in mailto:, improved handling...
srowen [Fri, 23 May 2008 22:40:13 +0000 (22:40 +0000)]
Added SMSTO support, added subject/body param support in mailto:, improved handling of mailto: and tel: URIs

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

15 years agoAdded handy toString() methods
srowen [Fri, 23 May 2008 22:20:10 +0000 (22:20 +0000)]
Added handy toString() methods

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

16 years agoImprovements and refinements to web site
srowen [Sun, 11 May 2008 18:01:23 +0000 (18:01 +0000)]
Improvements and refinements to web site

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

16 years agoA simple GUI interface -- still needs work
srowen [Sat, 10 May 2008 23:53:19 +0000 (23:53 +0000)]
A simple GUI interface -- still needs work

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

16 years agoDetector is now a little more skeptical once it has found 3 confirmed finder patterns...
srowen [Thu, 8 May 2008 15:12:44 +0000 (15:12 +0000)]
Detector is now a little more skeptical once it has found 3 confirmed finder patterns -- one may be a false positive, so it also checks to see if the estimated module sizes are "pretty similar". If not, keeps looking.

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

16 years agoUpdates for 0.7
srowen [Mon, 5 May 2008 18:12:19 +0000 (18:12 +0000)]
Updates for 0.7

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

16 years agoUpdate Analytics tag for javadoc too
srowen [Mon, 5 May 2008 18:05:00 +0000 (18:05 +0000)]
Update Analytics tag for javadoc too

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

16 years agoFix some minor javadoc issues
srowen [Mon, 5 May 2008 17:56:47 +0000 (17:56 +0000)]
Fix some minor javadoc issues

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

16 years agoOops, one more compile problem fixed. Also delete redundant copies of core and javase...
srowen [Mon, 5 May 2008 17:54:15 +0000 (17:54 +0000)]
Oops, one more compile problem fixed. Also delete redundant copies of core and javase jars.

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

16 years agoReformatted code, updated to new Analytics tags, fixed a problem with EmailAuthenticator
srowen [Mon, 5 May 2008 17:39:33 +0000 (17:39 +0000)]
Reformatted code, updated to new Analytics tags, fixed a problem with EmailAuthenticator

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

16 years agoChecking in somewhat ugly 'fix' for ArrayIndexOutOfBoundsException in rare cases
srowen [Mon, 5 May 2008 17:31:31 +0000 (17:31 +0000)]
Checking in somewhat ugly 'fix' for ArrayIndexOutOfBoundsException in rare cases

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

16 years agoMerged revisions 378,380,382 via svnmerge from
dswitkin [Sat, 3 May 2008 16:10:16 +0000 (16:10 +0000)]
Merged revisions 378,380,382 via svnmerge from
https://zxing.googlecode.com/svn/trunk/android-m3

........
  r378 | dswitkin | 2008-04-28 21:27:27 -0400 (Mon, 28 Apr 2008) | 4 lines

  - Added Joseph's excellent supermarket checkout beep. There seems to be a bug in the M3 framework where it sometimes plays twice or hiccups.
  - Changed the status bar to flash green for a second when the result points are drawn.
  - Added install as a target to the build file.
  - Fixed a crashing bug when decoding from preview mode (driver problem).
........
  r380 | srowen | 2008-05-02 14:39:03 -0400 (Fri, 02 May 2008) | 2 lines

  Added preliminary support for MobileTag formats; not enabled yet.
  Added "sms:" URI support.
........
  r382 | srowen | 2008-05-02 15:18:14 -0400 (Fri, 02 May 2008) | 1 line

  Many more little tweaks from IntelliJ inspections
........

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

16 years agoAdded source code to zxing.org
srowen [Fri, 2 May 2008 22:18:38 +0000 (22:18 +0000)]
Added source code to zxing.org

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

16 years agoMany more little tweaks from IntelliJ inspections
srowen [Fri, 2 May 2008 19:18:14 +0000 (19:18 +0000)]
Many more little tweaks from IntelliJ inspections

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

16 years agoFix typo introduced at the last second before commit. Watch that 'a' key!
srowen [Fri, 2 May 2008 18:41:05 +0000 (18:41 +0000)]
Fix typo introduced at the last second before commit. Watch that 'a' key!

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

16 years agoAdded preliminary support for MobileTag formats; not enabled yet.
srowen [Fri, 2 May 2008 18:39:03 +0000 (18:39 +0000)]
Added preliminary support for MobileTag formats; not enabled yet.
Added "sms:" URI support.

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

16 years ago- Added Joseph's excellent supermarket checkout beep. There seems to be a bug in...
dswitkin [Tue, 29 Apr 2008 01:27:27 +0000 (01:27 +0000)]
- Added Joseph's excellent supermarket checkout beep. There seems to be a bug in the M3 framework where it sometimes plays twice or hiccups.
- Changed the status bar to flash green for a second when the result points are drawn.
- Added install as a target to the build file.
- Fixed a crashing bug when decoding from preview mode (driver problem).

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

16 years agoRemove experimental shell code for now
srowen [Wed, 23 Apr 2008 14:38:43 +0000 (14:38 +0000)]
Remove experimental shell code for now

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

16 years agoFirst version of iPhone skeleton app using official iPhone SDK.
christian.brunschen [Wed, 23 Apr 2008 13:05:17 +0000 (13:05 +0000)]
First version of iPhone skeleton app using official iPhone SDK.
Very much unpolished & a work in progress.

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

16 years agoFixed a typo in the Android build file.
dswitkin [Mon, 21 Apr 2008 23:16:48 +0000 (23:16 +0000)]
Fixed a typo in the Android build file.

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

16 years agoMerged revisions 321,327,330,332,334,342-343,352-353,355-358,361-363,365,372 via...
dswitkin [Mon, 21 Apr 2008 22:44:40 +0000 (22:44 +0000)]
Merged revisions 321,327,330,332,334,342-343,352-353,355-358,361-363,365,372 via svnmerge from
https://zxing.googlecode.com/svn/trunk/android-m3

........
  r321 | srowen | 2008-03-28 09:57:55 -0700 (Fri, 28 Mar 2008) | 1 line

  Updates for 0.6; set aside a different android-m3-home variable for android-m3 build
........
  r327 | srowen | 2008-03-31 12:04:38 -0700 (Mon, 31 Mar 2008) | 1 line

  Made the RGB to luminance approximation/optimization a little faster -- one less shift
........
  r330 | dswitkin | 2008-03-31 13:55:38 -0700 (Mon, 31 Mar 2008) | 1 line

  Changed the project names for the two Android clients to disambiguate them.
........
  r332 | dswitkin | 2008-04-01 09:11:36 -0700 (Tue, 01 Apr 2008) | 1 line

  Added some debugging features to the M3 Android client. You can now press 'C' to capture a photo, 'U' to decode only UPC/1D barcodes, and 'Q' to decode only QR Codes.
........
  r334 | dswitkin | 2008-04-01 12:23:05 -0700 (Tue, 01 Apr 2008) | 1 line

  Added latency measurement in milliseconds to the Android client.
........
  r342 | dswitkin | 2008-04-03 14:13:50 -0700 (Thu, 03 Apr 2008) | 1 line

  Improved the Android M3 viewfinder display, by making the framing box larger and zooming in. Also fixed a bug when restarting the activity where the camera params were stale. Fixed handling of geo and tel URIs.
........
  r343 | srowen | 2008-04-03 15:18:16 -0700 (Thu, 03 Apr 2008) | 1 line

  Moved the "geo:" fix to the 'right' place
........
  r352 | dswitkin | 2008-04-08 08:25:13 -0700 (Tue, 08 Apr 2008) | 1 line

  Rewrote the Android M3 client to do continuous decoding, which means you no longer have to push the shutter button. Now you can just place the barcode in the viewfinder and it will display the contents as soon as it decodes them. That also means you no longer get "barcode not found" error dialogs which is a big improvement. Also made sure that capturing debug JPEGs uses unique filenames.
........
  r353 | dswitkin | 2008-04-08 09:06:13 -0700 (Tue, 08 Apr 2008) | 1 line

  Improved the CameraThread state machine, and fixed a bug where preview would not continue after capture.
........
  r355 | dswitkin | 2008-04-10 13:57:37 -0700 (Thu, 10 Apr 2008) | 1 line

  Made sure the BitmapSource subclasses do not reuse a BitArray which is too small.
........
  r356 | dswitkin | 2008-04-11 12:30:54 -0700 (Fri, 11 Apr 2008) | 1 line

  Changed ProGuard settings so it will inline methods which use private members. This eliminates tens of thousands of function calls to BitArray.get() on a typical decode, and lots of other work as well. Overall we're roughly 20% faster by using ProGuard than turning it off.
........
  r357 | dswitkin | 2008-04-11 13:25:09 -0700 (Fri, 11 Apr 2008) | 1 line

  Made the worker threads shut down synchronously to fix a race condition where the CameraManager could close the camera driver too soon.
........
  r358 | dswitkin | 2008-04-11 14:16:08 -0700 (Fri, 11 Apr 2008) | 1 line

  Added 'T' as a shortcut to toggle debug method tracing using android.os.Debug and traceview for analysis. The traces are written to /sdcard, which means the SD Card must not be mounted as a volume by USB at the time. Tracing can slow down decoding by a factor of 5 or more but gives very useful insights into where the time is going.
........
  r361 | dswitkin | 2008-04-15 15:34:49 -0700 (Tue, 15 Apr 2008) | 1 line

  A couple small improvements to the CameraManager.
........
  r362 | srowen | 2008-04-15 17:27:36 -0700 (Tue, 15 Apr 2008) | 1 line

  Small simplification of build file condition properties using else attribute
........
  r363 | srowen | 2008-04-15 17:34:13 -0700 (Tue, 15 Apr 2008) | 1 line

  Fix Issue 50, not building on Windows, by adding some small workarounds for Windows paths in build files for Android
........
  r365 | dswitkin | 2008-04-17 13:09:17 -0700 (Thu, 17 Apr 2008) | 1 line

  Converted the Android client to use a status bar on the bottom of the screen instead of dialogs for a much better, less interrupting user experience.
........
  r372 | dswitkin | 2008-04-21 11:11:02 -0700 (Mon, 21 Apr 2008) | 1 line

  Added some simple sharpening for 1D decoding which allowed a couple more blackbox images to pass. There were a few cases where the format or content is now misdetected, but since the net gain was positive I decided to make those non-fatal errors. In real world use the sharpening seems to help, and I think we can do even better with a better algorithm.
........

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

16 years agoInitialized merge tracking via "svnmerge" with revisions "1-319" from
dswitkin [Mon, 21 Apr 2008 19:58:44 +0000 (19:58 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-319" from
https://zxing.googlecode.com/svn/trunk/android-m3

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

16 years agoAdded some simple sharpening for 1D decoding which allowed a couple more blackbox...
dswitkin [Mon, 21 Apr 2008 18:11:02 +0000 (18:11 +0000)]
Added some simple sharpening for 1D decoding which allowed a couple more blackbox images to pass. There were a few cases where the format or content is now misdetected, but since the net gain was positive I decided to make those non-fatal errors. In real world use the sharpening seems to help, and I think we can do even better with a better algorithm.

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

16 years agoImproved the command line test app to accept multiple arguments, a --try_harder flag...
dswitkin [Mon, 21 Apr 2008 14:43:32 +0000 (14:43 +0000)]
Improved the command line test app to accept multiple arguments, a --try_harder flag, and to skip hidden files and text files.

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

16 years agoReplaced the smaller, resized EAN13-2 test images with the full-size originals.
dswitkin [Sat, 19 Apr 2008 18:38:52 +0000 (18:38 +0000)]
Replaced the smaller, resized EAN13-2 test images with the full-size originals.

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

16 years agoSeparate out test-unit and test-blackbox targets for running different sorts of tests
srowen [Fri, 18 Apr 2008 17:03:04 +0000 (17:03 +0000)]
Separate out test-unit and test-blackbox targets for running different sorts of tests

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

16 years agoAdded a new test library of 16 blurry EAN-13 barcodes. Currently we cannot decode...
dswitkin [Fri, 18 Apr 2008 15:51:39 +0000 (15:51 +0000)]
Added a new test library of 16 blurry EAN-13 barcodes. Currently we cannot decode any of them. I'm checking these in as a baseline so we can evaluate various sharpening techniques.

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

16 years agoChanged the black box tests to require an absolute number of images to decode success...
dswitkin [Fri, 18 Apr 2008 14:43:56 +0000 (14:43 +0000)]
Changed the black box tests to require an absolute number of images to decode successfully, instead of a percentage, and set the high water mark for each test.

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

16 years agoChanged the parsing logic to refer to EAN-8 and EAN-13 as UPCs as well, so that the...
dswitkin [Fri, 18 Apr 2008 14:30:02 +0000 (14:30 +0000)]
Changed the parsing logic to refer to EAN-8 and EAN-13 as UPCs as well, so that the clients can recognize them as product barcodes and offer to do a product search.

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

16 years agoConverted the Android client to use a status bar on the bottom of the screen instead...
dswitkin [Thu, 17 Apr 2008 20:09:17 +0000 (20:09 +0000)]
Converted the Android client to use a status bar on the bottom of the screen instead of dialogs for a much better, less interrupting user experience.

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

16 years agoAdded workaround for NoSuchMethodError on some Nokia JVMs with a superfluous abstract...
srowen [Wed, 16 Apr 2008 00:38:54 +0000 (00:38 +0000)]
Added workaround for NoSuchMethodError on some Nokia JVMs with a superfluous abstract method (thanks Marnix)

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

16 years agoFix Issue 50, not building on Windows, by adding some small workarounds for Windows...
srowen [Wed, 16 Apr 2008 00:34:13 +0000 (00:34 +0000)]
Fix Issue 50, not building on Windows, by adding some small workarounds for Windows paths in build files for Android

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

16 years agoSmall simplification of build file condition properties using else attribute
srowen [Wed, 16 Apr 2008 00:27:36 +0000 (00:27 +0000)]
Small simplification of build file condition properties using else attribute

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

16 years agoA couple small improvements to the CameraManager.
dswitkin [Tue, 15 Apr 2008 22:34:49 +0000 (22:34 +0000)]
A couple small improvements to the CameraManager.

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

16 years agoAdded 'T' as a shortcut to toggle debug method tracing using android.os.Debug and...
dswitkin [Fri, 11 Apr 2008 21:16:08 +0000 (21:16 +0000)]
Added 'T' as a shortcut to toggle debug method tracing using android.os.Debug and traceview for analysis. The traces are written to /sdcard, which means the SD Card must not be mounted as a volume by USB at the time. Tracing can slow down decoding by a factor of 5 or more but gives very useful insights into where the time is going.

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

16 years agoMade the worker threads shut down synchronously to fix a race condition where the...
dswitkin [Fri, 11 Apr 2008 20:25:09 +0000 (20:25 +0000)]
Made the worker threads shut down synchronously to fix a race condition where the CameraManager could close the camera driver too soon.

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

16 years agoChanged ProGuard settings so it will inline methods which use private members. This...
dswitkin [Fri, 11 Apr 2008 19:30:54 +0000 (19:30 +0000)]
Changed ProGuard settings so it will inline methods which use private members. This eliminates tens of thousands of function calls to BitArray.get() on a typical decode, and lots of other work as well. Overall we're roughly 20% faster by using ProGuard than turning it off.

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

16 years agoMade sure the BitmapSource subclasses do not reuse a BitArray which is too small.
dswitkin [Thu, 10 Apr 2008 20:57:37 +0000 (20:57 +0000)]
Made sure the BitmapSource subclasses do not reuse a BitArray which is too small.

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

16 years agoChanged how many rows we scan while detecting QR finder patterns. The mobile case...
dswitkin [Thu, 10 Apr 2008 20:26:42 +0000 (20:26 +0000)]
Changed how many rows we scan while detecting QR finder patterns. The mobile case dynamically calculates this based on the height of the image, and ranges from a small speedup to a big difference for large inputs. Also changed the try harder case to scan every 3rd line for a 3x speedup. The unit tests have the same success rate as before: 16/20 on qr1, 10/10 on qr2.

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

16 years agoImproved the CameraThread state machine, and fixed a bug where preview would not...
dswitkin [Tue, 8 Apr 2008 16:06:13 +0000 (16:06 +0000)]
Improved the CameraThread state machine, and fixed a bug where preview would not continue after capture.

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

16 years agoRewrote the Android M3 client to do continuous decoding, which means you no longer...
dswitkin [Tue, 8 Apr 2008 15:25:13 +0000 (15:25 +0000)]
Rewrote the Android M3 client to do continuous decoding, which means you no longer have to push the shutter button. Now you can just place the barcode in the viewfinder and it will display the contents as soon as it decodes them. That also means you no longer get "barcode not found" error dialogs which is a big improvement. Also made sure that capturing debug JPEGs uses unique filenames.

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

16 years agoWorkaround for codes that fail to include (required) final TERMINATOR mode indicator
srowen [Mon, 7 Apr 2008 22:05:40 +0000 (22:05 +0000)]
Workaround for codes that fail to include (required) final TERMINATOR mode indicator

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

16 years agoOops, off-by-one bug fix, and some more comments
srowen [Mon, 7 Apr 2008 20:32:17 +0000 (20:32 +0000)]
Oops, off-by-one bug fix, and some more comments

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

16 years agoCan now instantiate this to represent a region of a BufferedImage rather than the...
srowen [Mon, 7 Apr 2008 20:05:11 +0000 (20:05 +0000)]
Can now instantiate this to represent a region of a BufferedImage rather than the whole thing.

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

16 years agoStandardize array initializer syntax to use the form without "new type[]", to be...
srowen [Mon, 7 Apr 2008 19:42:35 +0000 (19:42 +0000)]
Standardize array initializer syntax to use the form without "new type[]", to be consistent and make translation to C++ easier

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

16 years agoMake two methods public for easier reuse by third-party implementaitons
srowen [Fri, 4 Apr 2008 16:34:42 +0000 (16:34 +0000)]
Make two methods public for easier reuse by third-party implementaitons

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

16 years agoForward-porting Daniel's fix
srowen [Thu, 3 Apr 2008 22:43:56 +0000 (22:43 +0000)]
Forward-porting Daniel's fix

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

16 years agoMoved the "geo:" fix to the 'right' place
srowen [Thu, 3 Apr 2008 22:18:16 +0000 (22:18 +0000)]
Moved the "geo:" fix to the 'right' place

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

16 years agoImproved the Android M3 viewfinder display, by making the framing box larger and...
dswitkin [Thu, 3 Apr 2008 21:13:50 +0000 (21:13 +0000)]
Improved the Android M3 viewfinder display, by making the framing box larger and zooming in. Also fixed a bug when restarting the activity where the camera params were stale. Fixed handling of geo and tel URIs.

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

16 years agosmall typo fix.
mschulkind [Thu, 3 Apr 2008 20:34:30 +0000 (20:34 +0000)]
small typo fix.

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

16 years agoAt last, removing SKIP_N_BARCODES and separating this logic out in a way that individ...
srowen [Thu, 3 Apr 2008 16:39:44 +0000 (16:39 +0000)]
At last, removing SKIP_N_BARCODES and separating this logic out in a way that individual projects can implement it on their own. It's a bit too onerous and project-specific to live on in the main code.

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

16 years agoParsing wasn't correctly ignoring the ':' in prefix!
srowen [Thu, 3 Apr 2008 16:12:08 +0000 (16:12 +0000)]
Parsing wasn't correctly ignoring the ':' in prefix!

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

16 years agoAnother fix to ensure that 2 barcodes with the same info are counted separately.
srowen [Thu, 3 Apr 2008 15:39:06 +0000 (15:39 +0000)]
Another fix to ensure that 2 barcodes with the same info are counted separately.

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

16 years ago"Skip 0 barcodes" was incorrectly not returning the first barcode found
srowen [Wed, 2 Apr 2008 14:03:02 +0000 (14:03 +0000)]
"Skip 0 barcodes" was incorrectly not returning the first barcode found

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

16 years agoFixed same ResultPoint bug in Code 128 and Code 39 reader; added convenient toString...
srowen [Wed, 2 Apr 2008 13:40:29 +0000 (13:40 +0000)]
Fixed same ResultPoint bug in Code 128 and Code 39 reader; added convenient toString() to Result and GenericResultPoint; added arg checking for Result constructor too

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

16 years agoFixed the result points for 1D decoding so that we once again get a green line in...
dswitkin [Tue, 1 Apr 2008 21:23:14 +0000 (21:23 +0000)]
Fixed the result points for 1D decoding so that we once again get a green line in the Android client across the successful row.

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

16 years agoAdded latency measurement in milliseconds to the Android client.
dswitkin [Tue, 1 Apr 2008 19:23:05 +0000 (19:23 +0000)]
Added latency measurement in milliseconds to the Android client.

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