zxing.git
15 years agoAdd minimal support for FNC1 mode in QR Code
srowen [Fri, 27 Jun 2008 18:47:31 +0000 (18:47 +0000)]
Add minimal support for FNC1 mode in QR Code

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

15 years agoAdded mms:, mmsto: support and tests, plus basic tests for vCard format
srowen [Fri, 27 Jun 2008 18:14:19 +0000 (18:14 +0000)]
Added mms:, mmsto: support and tests, plus basic tests for vCard format

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

15 years agoMore refactoring of parsed results / result parsers; added basic vCard support
srowen [Fri, 27 Jun 2008 17:50:47 +0000 (17:50 +0000)]
More refactoring of parsed results / result parsers; added basic vCard support

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

15 years agoAnd fixed the "270" issue: logic error in computing the "skip" allowed after finding...
srowen [Thu, 26 Jun 2008 22:58:08 +0000 (22:58 +0000)]
And fixed the "270" issue: logic error in computing the "skip" allowed after finding two finder patterns when the QR Code was inverted.

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

15 years agoSwitch to integer math in a critical QR Code detector method for speed and tweak...
srowen [Thu, 26 Jun 2008 22:14:53 +0000 (22:14 +0000)]
Switch to integer math in a critical QR Code detector method for speed and tweak a few things before I start investigating this method and the infamous "270 issue"

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

15 years agoTake advantage of new parsed result fields in Android client
srowen [Thu, 26 Jun 2008 20:20:27 +0000 (20:20 +0000)]
Take advantage of new parsed result fields in Android client

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

15 years agoMinor change to standardize on more canonical "UTF8" name for encoding in Java
srowen [Thu, 26 Jun 2008 20:02:30 +0000 (20:02 +0000)]
Minor change to standardize on more canonical "UTF8" name for encoding in Java

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

15 years agoBig refactoring of ParsedResult: now split into ResultParser and ParsedResult classes...
srowen [Thu, 26 Jun 2008 19:49:38 +0000 (19:49 +0000)]
Big refactoring of ParsedResult: now split into ResultParser and ParsedResult classes, per Christian's suggestion. This unifies the parsed results that are produced from various input, simplifying client handling of different types.

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

15 years agoImplemented Paul's solution to the basic/regular build problem -- a sort of pseudo...
srowen [Thu, 26 Jun 2008 15:35:39 +0000 (15:35 +0000)]
Implemented Paul's solution to the basic/regular build problem -- a sort of pseudo-reflection approach that works in J2ME. Now we have only a build target, not separate products for the basic version.

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

15 years agoRemove level="9" here (oops) and add a dump target for debugging
srowen [Wed, 25 Jun 2008 19:40:13 +0000 (19:40 +0000)]
Remove level="9" here (oops) and add a dump target for debugging

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

15 years agoadded icon png files
christian.brunschen [Wed, 25 Jun 2008 14:59:57 +0000 (14:59 +0000)]
added icon png files

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

15 years agoRefactored ParsedResult classes into ResultParsers & ParsedResults, to allow multiple...
christian.brunschen [Wed, 25 Jun 2008 13:17:06 +0000 (13:17 +0000)]
Refactored ParsedResult classes into ResultParsers & ParsedResults, to allow multiple different formats to generate the same result type

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

15 years agoAdded new test of unsupported barcodes, to make sure we don't decode them.
dswitkin [Wed, 25 Jun 2008 01:26:22 +0000 (01:26 +0000)]
Added new test of unsupported barcodes, to make sure we don't decode them.

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

15 years agoAdded blackbox test of partial barcodes which should not decode.
dswitkin [Wed, 25 Jun 2008 01:10:52 +0000 (01:10 +0000)]
Added blackbox test of partial barcodes which should not decode.

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

15 years agoReworked the false positives unit tests to track each rotation separately, and to...
dswitkin [Wed, 25 Jun 2008 00:51:37 +0000 (00:51 +0000)]
Reworked the false positives unit tests to track each rotation separately, and to allow new tests to be added. I also removed four images which are going to live in another test.

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

15 years agoAUTHORS file, build file changes and improvements
srowen [Tue, 24 Jun 2008 19:57:41 +0000 (19:57 +0000)]
AUTHORS file, build file changes and improvements

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

15 years agoInitial checkin of bug client code from buglabs
srowen [Tue, 24 Jun 2008 19:00:09 +0000 (19:00 +0000)]
Initial checkin of bug client code from buglabs

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

15 years agodebug printout cleanup
christian.brunschen [Tue, 24 Jun 2008 16:27:52 +0000 (16:27 +0000)]
debug printout cleanup

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

15 years agoscan archive UI improvements, phase 3
christian.brunschen [Tue, 24 Jun 2008 16:24:36 +0000 (16:24 +0000)]
scan archive UI improvements, phase 3

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

15 years agoscan archive UI improvements, phase 2
christian.brunschen [Tue, 24 Jun 2008 14:18:11 +0000 (14:18 +0000)]
scan archive UI improvements, phase 2

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

15 years agoscan archive UI improvements, phase 1
christian.brunschen [Tue, 24 Jun 2008 10:04:08 +0000 (10:04 +0000)]
scan archive UI improvements, phase 1

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

15 years agoAdded ECI for values 0-2 and also standardize character encoding names throughout...
srowen [Mon, 23 Jun 2008 17:11:53 +0000 (17:11 +0000)]
Added ECI for values 0-2 and also standardize character encoding names throughout the code to use the canonical values for java.lang and java.io

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

15 years agoAdded some degree of support for Character Set ECIs
srowen [Fri, 20 Jun 2008 22:38:35 +0000 (22:38 +0000)]
Added some degree of support for Character Set ECIs

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

15 years agoChanged the core build file to run clean before building each time, which is necessar...
dswitkin [Fri, 20 Jun 2008 21:50:46 +0000 (21:50 +0000)]
Changed the core build file to run clean before building each time, which is necessary when switching between debug and optimized versions.

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

15 years agoTuned the Code 128 parameters:
dswitkin [Fri, 20 Jun 2008 19:57:48 +0000 (19:57 +0000)]
Tuned the Code 128 parameters:

Right-side up went from 9/40 to 33/40
Upside down went from 8/40 to 34/40

and try harder now gets 39/40.

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

15 years agoAdded 40 real world Code 128 images. We decode 9/40 right-side up, and 8/40 upside...
dswitkin [Fri, 20 Jun 2008 19:24:02 +0000 (19:24 +0000)]
Added 40 real world Code 128 images. We decode 9/40 right-side up, and 8/40 upside down. A fix will follow shortly to get these numbers up - we overtightened the pattern matching in the first round of false positive changes.

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

15 years agoAdded 17 real world Code 39 images to our unit tests. We decode all 17, upside down...
dswitkin [Fri, 20 Jun 2008 19:20:27 +0000 (19:20 +0000)]
Added 17 real world Code 39 images to our unit tests. We decode all 17, upside down and right-side up.

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

15 years agoAdded which format was decoded to the CommandLineRunner output.
dswitkin [Fri, 20 Jun 2008 18:35:42 +0000 (18:35 +0000)]
Added which format was decoded to the CommandLineRunner output.

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

15 years agoMore updated to build-optimized to work correctly with dex -- now really doesn't...
srowen [Fri, 20 Jun 2008 15:22:45 +0000 (15:22 +0000)]
More updated to build-optimized to work correctly with dex -- now really doesn't generate local var info

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

15 years agoLocalized application into English, German & Swedish
christian.brunschen [Fri, 20 Jun 2008 13:50:07 +0000 (13:50 +0000)]
Localized application into English, German & Swedish

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

15 years agoFixed a bug in patternMatchVariance() which caused the max individual variance to...
dswitkin [Thu, 19 Jun 2008 21:38:48 +0000 (21:38 +0000)]
Fixed a bug in patternMatchVariance() which caused the max individual variance to never eliminate any patterns. As a result, the false positives unit test dropped from 15 to 4. Also did some other minor cleanup.

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

15 years agoStandardize and update all copyright statements to name "ZXing authors" as suggested...
srowen [Thu, 19 Jun 2008 20:56:24 +0000 (20:56 +0000)]
Standardize and update all copyright statements to name "ZXing authors" as suggested by open-source team to correctly attribute copyright in a project with contributions from several sources.

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

15 years agoAnother possible fix for issues between ProGuard and Android's dex -- don't output...
srowen [Thu, 19 Jun 2008 20:48:12 +0000 (20:48 +0000)]
Another possible fix for issues between ProGuard and Android's dex -- don't output local var symbols

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

15 years agoAdd 26.jpg back with the command line client
dswitkin [Thu, 19 Jun 2008 20:00:13 +0000 (20:00 +0000)]
Add 26.jpg back with the command line client

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

15 years agoDelete 26.jpg again.
dswitkin [Thu, 19 Jun 2008 19:59:23 +0000 (19:59 +0000)]
Delete 26.jpg again.

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

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