zxing.git
15 years agoFactor out ECI-related code for reuse with Data Matrix later.
srowen [Thu, 24 Jul 2008 21:37:37 +0000 (21:37 +0000)]
Factor out ECI-related code for reuse with Data Matrix later.

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

15 years agoFactor out and clarify cross product computation and its use, so it can be reused...
srowen [Wed, 23 Jul 2008 18:54:35 +0000 (18:54 +0000)]
Factor out and clarify cross product computation and its use, so it can be reused elsewhere.

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

15 years agoAdded support for "05 Macro" and "06 Macro" in ASCII encodation
srowen [Wed, 23 Jul 2008 18:25:16 +0000 (18:25 +0000)]
Added support for "05 Macro" and "06 Macro" in ASCII encodation

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

15 years agoModified the library entry point in a way which lets continuous scan clients reuse...
dswitkin [Tue, 22 Jul 2008 16:16:21 +0000 (16:16 +0000)]
Modified the library entry point in a way which lets continuous scan clients reuse the same decoding objects at each pass. This is source and semantically compatible with the previous version, so you have to choose to call decodeWithState() to get the benefits. The unit tests cannot use this because they test each image in normal and then try harder mode, which requires changing the hints object.

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

15 years agoQuick shortening of a method in FinderPatternFinder that I just noticed
srowen [Mon, 21 Jul 2008 21:52:43 +0000 (21:52 +0000)]
Quick shortening of a method in FinderPatternFinder that I just noticed

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

15 years agoEnhance GenericResultPoint and move some logic out of qrcode packages for reuse with...
srowen [Mon, 21 Jul 2008 21:48:32 +0000 (21:48 +0000)]
Enhance GenericResultPoint and move some logic out of qrcode packages for reuse with datamatrix soon

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

15 years agoMore refactoring, fixed a small issue in X12 encodation of \r
srowen [Mon, 21 Jul 2008 21:45:37 +0000 (21:45 +0000)]
More refactoring, fixed a small issue in X12 encodation of \r

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

15 years agoTiny improvement to toString() visualization of BitMatrix
srowen [Fri, 18 Jul 2008 22:46:26 +0000 (22:46 +0000)]
Tiny improvement to toString() visualization of BitMatrix

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

15 years agoFixed problem that is unclear from spec: shift apparently resets after being used...
srowen [Fri, 18 Jul 2008 22:40:33 +0000 (22:40 +0000)]
Fixed problem that is unclear from spec: shift apparently resets after being used in C40/Text encodation. Introduced some locals to reduce array accesses, change char to int where we are really using a numeric type, and tweaked javadoc indentation

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

15 years agoUpdate to latest HTTP Core/Client libs
srowen [Tue, 15 Jul 2008 23:41:24 +0000 (23:41 +0000)]
Update to latest HTTP Core/Client libs

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

15 years agoone last typo fix
srowen [Thu, 10 Jul 2008 22:11:12 +0000 (22:11 +0000)]
one last typo fix

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

15 years agoMore fixes to the build files after trying to build the whole thing again for release
srowen [Thu, 10 Jul 2008 20:25:42 +0000 (20:25 +0000)]
More fixes to the build files after trying to build the whole thing again for release

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

15 years agoOops, fix RIM build script to not depend on old "javame-basic" target
srowen [Thu, 10 Jul 2008 20:05:03 +0000 (20:05 +0000)]
Oops, fix RIM build script to not depend on old "javame-basic" target

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

15 years agoUpdates for 0.9
srowen [Thu, 10 Jul 2008 20:00:57 +0000 (20:00 +0000)]
Updates for 0.9

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

15 years agoSmall thread-safety correctness fix which may not matter in J2ME: "done" field should...
srowen [Thu, 10 Jul 2008 19:59:46 +0000 (19:59 +0000)]
Small thread-safety correctness fix which may not matter in J2ME: "done" field should be volatile so that changes from other threads are definitely seen.

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

15 years agoSmall improvement to unit test results output.
dswitkin [Thu, 10 Jul 2008 19:45:50 +0000 (19:45 +0000)]
Small improvement to unit test results output.

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

15 years agoAdded a reflective UPC-E unit test. We cannot decode any of these silver on silver...
dswitkin [Wed, 9 Jul 2008 21:46:27 +0000 (21:46 +0000)]
Added a reflective UPC-E unit test. We cannot decode any of these silver on silver barcodes.

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

15 years agoAdded 41 real world UPC-E tests. We need to improve regular decoding here: it gets...
dswitkin [Wed, 9 Jul 2008 21:37:09 +0000 (21:37 +0000)]
Added 41 real world UPC-E tests. We need to improve regular decoding here: it gets 17/41, but try harder gets 28/41.

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

15 years agoAdded some very difficult reflective UPC-A images - we get 8/21. We would probably...
dswitkin [Wed, 9 Jul 2008 20:50:03 +0000 (20:50 +0000)]
Added some very difficult reflective UPC-A images - we get 8/21. We would probably have to do something very special to handle soda cans with those silver on silver barcodes.

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

15 years agoAll the positive test cases now track normal and try harder success rates separately...
dswitkin [Wed, 9 Jul 2008 20:15:53 +0000 (20:15 +0000)]
All the positive test cases now track normal and try harder success rates separately. This lets us monitor regressions separately, and gives an idea of how much better try harder actually is.

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

15 years agoAdded 52 real world UPC-A greyscale test images. We get 26/52, but more with try...
dswitkin [Wed, 9 Jul 2008 19:00:33 +0000 (19:00 +0000)]
Added 52 real world UPC-A greyscale test images. We get 26/52, but more with try harder. I think I'm going to break try harder results into their own test so we can track these separately.

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

15 years agoOops, fix an error introduced in recent change
srowen [Wed, 9 Jul 2008 17:25:44 +0000 (17:25 +0000)]
Oops, fix an error introduced in recent change

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

15 years agoMinor style tweaks
srowen [Wed, 9 Jul 2008 17:24:02 +0000 (17:24 +0000)]
Minor style tweaks

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

15 years agoAdd iCal support, plus many small changes suggested by code inspection -- mostly...
srowen [Tue, 8 Jul 2008 04:11:24 +0000 (04:11 +0000)]
Add iCal support, plus many small changes suggested by code inspection -- mostly making things less visible for now

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

15 years agoRename some methods so that they're not technically overloading one another -- maybe...
srowen [Mon, 7 Jul 2008 18:25:19 +0000 (18:25 +0000)]
Rename some methods so that they're not technically overloading one another -- maybe slightly better style-wise in Java but reduces complication in port to C++

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

15 years agoTry looking up multimedia controls under alternate names to potentially improve inter...
srowen [Mon, 7 Jul 2008 16:19:04 +0000 (16:19 +0000)]
Try looking up multimedia controls under alternate names to potentially improve interoperability

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

15 years agoAdded another phone type field to BIZCARD implementation
srowen [Thu, 3 Jul 2008 20:36:06 +0000 (20:36 +0000)]
Added another phone type field to BIZCARD implementation

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

15 years agoDon't add a newline at the front of a ParsedResult.
dswitkin [Thu, 3 Jul 2008 16:35:00 +0000 (16:35 +0000)]
Don't add a newline at the front of a ParsedResult.

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

15 years agoAdded 'Build All' and 'Test All' targets for Pulse build
christian.brunschen [Wed, 2 Jul 2008 14:26:30 +0000 (14:26 +0000)]
Added 'Build All' and 'Test All' targets for Pulse build

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

15 years agoUI improvements
christian.brunschen [Wed, 2 Jul 2008 14:22:23 +0000 (14:22 +0000)]
UI improvements

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

15 years agoAdd BIZCARD support and a little refactoring
srowen [Tue, 1 Jul 2008 19:02:03 +0000 (19:02 +0000)]
Add BIZCARD support and a little refactoring

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

15 years agoNow we can support BDAY in DoCoMo MECARD format
srowen [Fri, 27 Jun 2008 19:38:24 +0000 (19:38 +0000)]
Now we can support BDAY in DoCoMo MECARD format

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

15 years agoOops, make sure to XML-escape results
srowen [Fri, 27 Jun 2008 19:31:40 +0000 (19:31 +0000)]
Oops, make sure to XML-escape results

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

15 years agoBetter bytes-to-String method for verbose output
srowen [Fri, 27 Jun 2008 19:19:18 +0000 (19:19 +0000)]
Better bytes-to-String method for verbose output

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

15 years agoStandardize getDisplayResult() implementation in parsed results, and fix up web site...
srowen [Fri, 27 Jun 2008 18:55:00 +0000 (18:55 +0000)]
Standardize getDisplayResult() implementation in parsed results, and fix up web site download page to show one J2ME download

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

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