zxing.git
13 years agoa set of synthetic version 40 tests at each ECC level
smparkes@smparkes.net [Mon, 16 Aug 2010 21:02:27 +0000 (21:02 +0000)]
a set of synthetic version 40 tests at each ECC level

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

13 years agofix log to reflect reality
smparkes@smparkes.net [Mon, 16 Aug 2010 20:54:15 +0000 (20:54 +0000)]
fix log to reflect reality

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

13 years agoIssue 519
srowen [Mon, 16 Aug 2010 20:19:09 +0000 (20:19 +0000)]
Issue 519

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

13 years agoFixed the double delete problem remaining in issue 503.
dswitkin@google.com [Mon, 16 Aug 2010 15:34:00 +0000 (15:34 +0000)]
Fixed the double delete problem remaining in issue 503.

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

13 years agoRemoved as many exceptions as possible from the C++ product readers
dswitkin@google.com [Mon, 16 Aug 2010 15:17:39 +0000 (15:17 +0000)]
Removed as many exceptions as possible from the C++ product readers
to improve performance. There is no change in the number of images
which pass the unit tests.

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

13 years agoPreserve line breaks into XHTML
srowen [Mon, 16 Aug 2010 11:09:49 +0000 (11:09 +0000)]
Preserve line breaks into XHTML

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

13 years agoIssue 492
srowen [Sat, 14 Aug 2010 19:11:49 +0000 (19:11 +0000)]
Issue 492

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

13 years agoWeird, Android doesn't have TimeUnit.MINUTES
srowen [Sat, 14 Aug 2010 19:00:54 +0000 (19:00 +0000)]
Weird, Android doesn't have TimeUnit.MINUTES

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

13 years agoChanged OneDReader::recordPattern to not throw exceptions. For now it just
dswitkin@google.com [Fri, 13 Aug 2010 19:47:13 +0000 (19:47 +0000)]
Changed OneDReader::recordPattern to not throw exceptions. For now it just
moves them up a level to the callers.

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

13 years agoRemove another -Xint, and use -Djava.awt.headless=true to avoid Apple JDK annoyance
srowen [Fri, 13 Aug 2010 17:20:42 +0000 (17:20 +0000)]
Remove another -Xint, and use -Djava.awt.headless=true to avoid Apple JDK annoyance

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

13 years agoIssue 460, auto timeout of CaptureActivity after inactivity, for testing. Also break...
srowen [Fri, 13 Aug 2010 17:18:53 +0000 (17:18 +0000)]
Issue 460, auto timeout of CaptureActivity after inactivity, for testing. Also break out some code from CaptureActivity to reduce its size.

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

13 years agoTiny style bits
srowen [Fri, 13 Aug 2010 17:17:47 +0000 (17:17 +0000)]
Tiny style bits

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

13 years agoBegan removing the excessive use of exceptions in the 1D readers by drawing
dswitkin@google.com [Fri, 13 Aug 2010 16:20:03 +0000 (16:20 +0000)]
Began removing the excessive use of exceptions in the 1D readers by drawing
a line in the sand: no one may throw an exception from decodeRow(). Next up
is to throw fewer exceptions internally.

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

13 years agoWorkaround for Hotspot bug that lets tests run without -Xint, from Steven Parkes
srowen [Fri, 13 Aug 2010 03:30:58 +0000 (03:30 +0000)]
Workaround for Hotspot bug that lets tests run without -Xint, from Steven Parkes

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

13 years agoIssue 509
srowen [Thu, 12 Aug 2010 20:54:54 +0000 (20:54 +0000)]
Issue 509

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

13 years agoIssue 505
srowen [Thu, 12 Aug 2010 20:51:09 +0000 (20:51 +0000)]
Issue 505

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

13 years agoIssue 508
srowen [Thu, 12 Aug 2010 20:24:38 +0000 (20:24 +0000)]
Issue 508

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

13 years agoIssue 511
srowen [Thu, 12 Aug 2010 20:18:08 +0000 (20:18 +0000)]
Issue 511

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

13 years agoFixed issue 503, adding support for getMatrix() in GreyscaleLuminanceSource. Also...
dswitkin@google.com [Wed, 11 Aug 2010 22:10:29 +0000 (22:10 +0000)]
Fixed issue 503, adding support for getMatrix() in GreyscaleLuminanceSource. Also clarified
that getRow() and getMatrix() require the caller to delete the allocated memory.

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

13 years agoRemoved an extra BitArray, honored the result of LuminanceSource.getRow(), and fixed
dswitkin@google.com [Wed, 11 Aug 2010 15:17:35 +0000 (15:17 +0000)]
Removed an extra BitArray, honored the result of LuminanceSource.getRow(), and fixed
a bunch of formatting.

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

13 years agoAdd result points for UPC EAN metadata extension
srowen [Wed, 11 Aug 2010 13:59:48 +0000 (13:59 +0000)]
Add result points for UPC EAN metadata extension

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

13 years agoIssue 507 remove company
srowen [Wed, 11 Aug 2010 13:44:38 +0000 (13:44 +0000)]
Issue 507 remove company

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

13 years agoIssue 512
srowen [Wed, 11 Aug 2010 13:42:39 +0000 (13:42 +0000)]
Issue 512

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

13 years ago[iphone] temporary fix because still not valid for app store. ScanTest now builds...
rpechayr [Mon, 9 Aug 2010 04:46:06 +0000 (04:46 +0000)]
[iphone] temporary fix because still not valid for app store. ScanTest now builds and run ad decodes QRCode. Does not work yet on iPhone 4. Next step is to completely change ZXingWidget to make it use AVFoundation

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

13 years agoIssue 497
srowen [Sat, 7 Aug 2010 13:22:47 +0000 (13:22 +0000)]
Issue 497

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

13 years agoPreserve query in geo URI
srowen [Sat, 7 Aug 2010 13:21:35 +0000 (13:21 +0000)]
Preserve query in geo URI

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

13 years agoSlight refinement to last change - a cached row which
dswitkin [Sat, 7 Aug 2010 12:50:16 +0000 (12:50 +0000)]
Slight refinement to last change - a cached row which
failed should throw an exception, not return NULL.

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

13 years agoFixed a bug which prevented this binarizer from caching rows.
dswitkin [Fri, 6 Aug 2010 23:33:48 +0000 (23:33 +0000)]
Fixed a bug which prevented this binarizer from caching rows.

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

13 years agoC++ port: add header file change
flyashi [Fri, 6 Aug 2010 19:04:19 +0000 (19:04 +0000)]
C++ port: add header file change

Commit the matching header for the Code39Reader.cpp change in r1510

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

13 years agoC++ port: some memory leak cleanups
flyashi [Fri, 6 Aug 2010 18:59:07 +0000 (18:59 +0000)]
C++ port: some memory leak cleanups

Closes Issue 499 and Issue 496.

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

13 years agoFixes two virtual calls and one local variable reference. Closes issue 493 and issue...
flyashi [Fri, 6 Aug 2010 14:28:47 +0000 (14:28 +0000)]
Fixes two virtual calls and one local variable reference. Closes issue 493 and issue 498 and makes UPC-E work.

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

13 years agoIssue 495: Renamed DATAMATRIX to DATA_MATRIX for consistency.
dswitkin@google.com [Thu, 5 Aug 2010 15:22:30 +0000 (15:22 +0000)]
Issue 495: Renamed DATAMATRIX to DATA_MATRIX for consistency.

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

13 years agoC++ port: add changes to HybridBinarizer
flyashi [Wed, 4 Aug 2010 14:09:09 +0000 (14:09 +0000)]
C++ port: add changes to HybridBinarizer

This closes Issue 490.

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

13 years agoC++ port: Make sure #indef/#define/#endif's and copyright information on all header...
flyashi [Wed, 4 Aug 2010 13:36:20 +0000 (13:36 +0000)]
C++ port: Make sure #indef/#define/#endif's and copyright information on all header files is in a common format.

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

13 years agoC++ port: Hints infrastructure was added in r1499. This changeset implements reader...
flyashi [Wed, 4 Aug 2010 13:35:44 +0000 (13:35 +0000)]
C++ port: Hints infrastructure was added in r1499. This changeset implements reader selection support.

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

13 years agoUpdated Dutch translation from Sven Klinkhamer.
dswitkin [Mon, 2 Aug 2010 17:02:49 +0000 (17:02 +0000)]
Updated Dutch translation from Sven Klinkhamer.

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

13 years agoIssue 488
srowen [Mon, 2 Aug 2010 10:57:11 +0000 (10:57 +0000)]
Issue 488

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

13 years agoIssue 489 update the port
srowen [Mon, 2 Aug 2010 04:52:06 +0000 (04:52 +0000)]
Issue 489 update the port

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

13 years agoIssue 469 -- tweak to special case of all-black 8x8 region. Parse it as black. Other...
srowen [Sat, 31 Jul 2010 15:07:16 +0000 (15:07 +0000)]
Issue 469 -- tweak to special case of all-black 8x8 region. Parse it as black. Other near-uniform regions remain parsed as all white.

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

13 years agoC++ port: update test binary with more flags and add barcode format names next to...
flyashi [Thu, 29 Jul 2010 19:41:52 +0000 (19:41 +0000)]
C++ port: update test binary with more flags and add barcode format names next to the enum for printing (right know the only way to tell what result->getBarcodeFormat() is is by comparing one by one against the enum entries.)

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

13 years agoC++ port: add decode hints system
flyashi [Thu, 29 Jul 2010 19:39:44 +0000 (19:39 +0000)]
C++ port: add decode hints system

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

13 years agoC++ port: fix memory leak in LuminanceSource::getMatrix()
flyashi [Thu, 29 Jul 2010 19:01:45 +0000 (19:01 +0000)]
C++ port: fix memory leak in LuminanceSource::getMatrix()

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

13 years agoJava CommandLineRunner: print result points
flyashi [Thu, 29 Jul 2010 18:54:36 +0000 (18:54 +0000)]
Java CommandLineRunner: print result points

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

13 years agoC++ port: UPCEAN reader fixes
flyashi [Thu, 29 Jul 2010 18:52:24 +0000 (18:52 +0000)]
C++ port: UPCEAN reader fixes

 - make UPCEANReader fail if there's no quiet zone after the end marker, vastly reducing UPC_E false positives

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

13 years agoC++ port: minor code and comment cleanups all over the place
flyashi [Thu, 29 Jul 2010 18:50:33 +0000 (18:50 +0000)]
C++ port: minor code and comment cleanups all over the place

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

13 years agoC++: ITFReader.cpp was throwing wrong exception
flyashi [Tue, 27 Jul 2010 23:02:28 +0000 (23:02 +0000)]
C++: ITFReader.cpp was throwing wrong exception

ITFReader.cpp:75 was catching and re-throwing Exception instead of ReaderException, causing scanning to terminate prematurely in some cases (i.e. core/test/data/blackbox/ean13-1/23.JPG). The calling function, MultiFormatOneDReader::doDecode, is only catching ReaderException's. An Exception would be passed all the way up to the caller, even if scanning hasn't finished yet for other decoders for other rows.

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

13 years agoAdded a Google Shopper icon to the result buton for products and ISBNs.
dswitkin@google.com [Wed, 21 Jul 2010 23:15:23 +0000 (23:15 +0000)]
Added a Google Shopper icon to the result buton for products and ISBNs.

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

13 years agoFinal Barcode Scanner 3.4 changes:
dswitkin@google.com [Tue, 20 Jul 2010 22:43:38 +0000 (22:43 +0000)]
Final Barcode Scanner 3.4 changes:

- Cleaned up the sharing UI
- Removed a piece of black artwork
- Fixed the Froyo bug with the Help screen appearing blank
- Made external URLs in Help launch in the Browser
- Updated some help text

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

13 years agoBreak out click listener class and make duplicate scans always result in new entry...
srowen [Mon, 19 Jul 2010 21:28:57 +0000 (21:28 +0000)]
Break out click listener class and make duplicate scans always result in new entry at top

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

13 years agoC++: binarizer updates
flyashi [Mon, 19 Jul 2010 20:56:17 +0000 (20:56 +0000)]
C++: binarizer updates
 - ported the HybridBinarizer from Java for improved 2D binarization
 - updated BinaryBitmap to report if it supports cropping and rotation
 - test binary updates to compare both binarizers like it used to

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

13 years agoC++: added GreyscaleLuminanceSource
flyashi [Mon, 19 Jul 2010 20:53:17 +0000 (20:53 +0000)]
C++: added GreyscaleLuminanceSource

It takes a block of greyscale data, width, height, and cropping parameters, and provides a LuminanceSource interface, with rotation (although only 1D is supported for the rotated object at the moment.)

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

13 years agoIssue 475, comment fix
srowen [Sat, 17 Jul 2010 10:39:34 +0000 (10:39 +0000)]
Issue 475, comment fix

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

13 years agoUpdated the version to 3.4 beta 3, and removed the reinstall target, making the insta...
dswitkin@google.com [Fri, 16 Jul 2010 21:10:37 +0000 (21:10 +0000)]
Updated the version to 3.4 beta 3, and removed the reinstall target, making the install target do either.

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

13 years agoRemove unused string
srowen [Thu, 15 Jul 2010 15:55:09 +0000 (15:55 +0000)]
Remove unused string

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

13 years agoRemove progress dialog to avoid rare exception
srowen [Thu, 15 Jul 2010 15:18:31 +0000 (15:18 +0000)]
Remove progress dialog to avoid rare exception

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

13 years agoFix corner case - pure barcode, 1 pixel module
srowen [Wed, 14 Jul 2010 20:49:13 +0000 (20:49 +0000)]
Fix corner case - pure barcode, 1 pixel module

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

13 years agoSome updates to the C++ test binary:
flyashi [Wed, 14 Jul 2010 18:38:59 +0000 (18:38 +0000)]
Some updates to the C++ test binary:
 - calls MultiFormatReader directly
 - code cleanup, removing parts of the QR-specific framework
 - associated change to blackboxtest

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

13 years agoUpdated with the latest version of the library. Uses MultiFormatReader instead of...
ftylitak [Wed, 14 Jul 2010 09:32:32 +0000 (09:32 +0000)]
Updated with the latest version of the library. Uses MultiFormatReader instead of QRCodeReader. DataMatrixReader is still not supported.

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

13 years agoUpdates to C++ port:
flyashi [Tue, 13 Jul 2010 18:43:54 +0000 (18:43 +0000)]
Updates to C++ port:
 - updated Binarizer, BinaryBitmap, and LuminanceSource implementations to match Java
 - updated Magick client

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

13 years agoMake sure checkboxes are enabled correctly on first load
srowen [Tue, 13 Jul 2010 10:34:13 +0000 (10:34 +0000)]
Make sure checkboxes are enabled correctly on first load

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

13 years agoAdd WAKE_LOCK for wifi as it appears necessary on older Android
srowen [Tue, 13 Jul 2010 07:56:52 +0000 (07:56 +0000)]
Add WAKE_LOCK for wifi as it appears necessary on older Android

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

13 years agoStyle bits on wi-fi code
srowen [Sat, 10 Jul 2010 05:59:14 +0000 (05:59 +0000)]
Style bits on wi-fi code

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

13 years agoUpdated the version to 3.4 beta 2.
dswitkin@google.com [Fri, 9 Jul 2010 21:36:59 +0000 (21:36 +0000)]
Updated the version to 3.4 beta 2.

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

13 years agoFixed: pause -> onPause, resume -> onResume
vikrama [Fri, 9 Jul 2010 17:14:04 +0000 (17:14 +0000)]
Fixed: pause -> onPause, resume -> onResume

Make sure the ssid we are connected to is not null.  This happens when
a network has been updated/removed while we are still connected to it.

Make errorCount an instance variable.

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

13 years agoC++ port Binarizer and BinaryBitmap weren't caching rows correctly.
flyashi [Fri, 9 Jul 2010 15:15:01 +0000 (15:15 +0000)]
C++ port Binarizer and BinaryBitmap weren't caching rows correctly.

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

13 years agoFixed C++ port's handling of reversed barcodes:
flyashi [Fri, 9 Jul 2010 15:12:46 +0000 (15:12 +0000)]
Fixed C++ port's handling of reversed barcodes:
 - BitArray.reverse() was inverting, not reversing, bits.
 - OneDReader wasn't reversing x coordinates of the result points.
 - OneDReader wasn't catching Binarizer exceptions properly.

Issue 470 can be closed by this.

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

13 years agoRenamed the receiver, but forgot in the previous commit.
vikrama [Fri, 9 Jul 2010 05:55:08 +0000 (05:55 +0000)]
Renamed the receiver, but forgot in the previous commit.

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

13 years agoSome error checking put in. When a new network is created and the
vikrama [Fri, 9 Jul 2010 05:49:42 +0000 (05:49 +0000)]
Some error checking put in. When a new network is created and the
connection fails, an alert message is displayed, and connection
attempts cease.  Retrying with a correct barcode works.  Not perfect
yet, but in my testing I have found this version much better than the
previous setup: at least errors are detected and the user is informed.

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

13 years agoRemoved some commented code, and general code cleanup. Turned many
vikrama [Thu, 8 Jul 2010 05:12:51 +0000 (05:12 +0000)]
Removed some commented code, and general code cleanup.  Turned many
variables into finals.  Change the UI to display network name and type
more clearly.

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

13 years agoBug Fix:
vikrama [Mon, 5 Jul 2010 22:25:20 +0000 (22:25 +0000)]
Bug Fix:

When a 64 bit hex password is entered, wpa_supplicant fails with the
error:

 "wpa_supplicant (pid) Line 0: Invalid passphrase length 64 (expected:
  8..63)"

The fix is to not quote 64 char long hexadecimal passwords.  Tested
dd-wrt on a 64 char hex password.

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

13 years agoMaybe solve issue 465 simply: add an empty libs directory
srowen [Sat, 3 Jul 2010 10:59:46 +0000 (10:59 +0000)]
Maybe solve issue 465 simply: add an empty libs directory

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

13 years agoMake sure cancel is handled properly in a few cases, where app must exit after dialog
srowen [Wed, 30 Jun 2010 08:07:05 +0000 (08:07 +0000)]
Make sure cancel is handled properly in a few cases, where app must exit after dialog

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

13 years agoAdded two missing authors.
dswitkin@google.com [Tue, 29 Jun 2010 21:23:41 +0000 (21:23 +0000)]
Added two missing authors.

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

13 years ago- Bumped version to 3.4 beta 1.
dswitkin@google.com [Tue, 29 Jun 2010 21:11:27 +0000 (21:11 +0000)]
- Bumped version to 3.4 beta 1.
- Fixed two crashes on low DPI devices because of missing/stale views in layout-ldpi/capture.xml.
- Added support for apps on SD card on Froyo.
- Updated SDK to 8.
- Tweaked some font sizes.
- Updated the What's New page.

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

13 years agoOn the way to deploy new verison, add favicon
srowen [Tue, 29 Jun 2010 16:18:34 +0000 (16:18 +0000)]
On the way to deploy new verison, add favicon

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

13 years ago[cpp] added const qualifiers that had been removed (accidentaly\?) to LuminanceSourse...
rpechayr [Thu, 24 Jun 2010 05:04:36 +0000 (05:04 +0000)]
[cpp] added const qualifiers that had been removed (accidentaly\?) to LuminanceSourse pure virtual methods. Fixed build problem of ScanTest. Please check that ScanTest builds if you revert this, it will consist of removing const qualifyers to implementation these methods in sublass of LuminancesSource

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

13 years agoConnected, turned into a resource
vikrama [Wed, 23 Jun 2010 22:26:43 +0000 (22:26 +0000)]
Connected, turned into a resource

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

13 years agoChange another string to a resource.
vikrama [Wed, 23 Jun 2010 22:16:53 +0000 (22:16 +0000)]
Change another string to a resource.

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

13 years agoSmall style things
srowen [Wed, 23 Jun 2010 10:23:09 +0000 (10:23 +0000)]
Small style things

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

13 years ago1. Set up all strings in res/*/strings.xml rather than as string
vikrama [Wed, 23 Jun 2010 06:00:57 +0000 (06:00 +0000)]
1. Set up all strings in res/*/strings.xml rather than as string
   literals.
2. Using a very handy script for this purpose, and checking it
   into utils/ since it saved me some headache.
3. Turned tabs -> spaces for WifiResultHandler.
4. Better error handling on network types: look for exact matches
   rather than substrings.

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

13 years ago1. Instead of killing the activity when done, load up a URL in a browser instead.
vikrama [Wed, 23 Jun 2010 04:08:35 +0000 (04:08 +0000)]
1. Instead of killing the activity when done, load up a URL in a browser instead.
2. More error checking:
   a. Missing SSID
   b. Incorrect network type (hey, it's just a string, and the user could get creative)

TODOs:
1. Localize the strings this is introducing.
2. Errors not handled:
   a. Tell if network not found.
   b. Incorrect SSID codes still crash the app: WIFI:S:winders;T:WPA;P:secret;badjunk;;
   c. For an open network, giving a password crashes:  WIFI:S:winders;T:nopass;P:secret;;
3. When connected, it should say, "Connected to <ssid>".

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

13 years agoFixing some issues in C++ port regarding 1D barcode readers
luizcroc [Wed, 23 Jun 2010 03:05:34 +0000 (03:05 +0000)]
Fixing some issues in C++ port regarding 1D barcode readers

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

13 years agoDo not broadcast the intent
vikrama [Wed, 23 Jun 2010 03:01:43 +0000 (03:01 +0000)]
Do not broadcast the intent

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

13 years agoRemove use of methods not in J2ME
srowen [Tue, 22 Jun 2010 06:23:20 +0000 (06:23 +0000)]
Remove use of methods not in J2ME

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

13 years agoBlacklist Evo too for camera issue
srowen [Mon, 21 Jun 2010 23:24:13 +0000 (23:24 +0000)]
Blacklist Evo too for camera issue

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

13 years agoDanish fixes from rasmussch
srowen [Sun, 20 Jun 2010 23:00:37 +0000 (23:00 +0000)]
Danish fixes from rasmussch

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

13 years ago[iphone][ScanTest] updated after update of ZingWidgetController
rpechayr [Sat, 19 Jun 2010 16:58:19 +0000 (16:58 +0000)]
[iphone][ScanTest] updated after update of ZingWidgetController

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

13 years ago[iphone][ZXingWidgetController] delegate API changed to conform to standard delagate...
rpechayr [Sat, 19 Jun 2010 16:57:05 +0000 (16:57 +0000)]
[iphone][ZXingWidgetController] delegate API changed to conform to standard delagate APIs, bug fixed regarding status bar displaying upon success of scanning

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

13 years ago- Made sure barcode scanning always restarts when the activity is resumed.
dswitkin@google.com [Fri, 18 Jun 2010 16:17:12 +0000 (16:17 +0000)]
- Made sure barcode scanning always restarts when the activity is resumed.
- Fixed a potential ANR - we can never sleep on the main thread.
- Bumped the version number.
- Minor cleanup and 100 columns fixes.

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

13 years agoIssues 155.2 -- add %f for format
srowen [Fri, 18 Jun 2010 12:58:57 +0000 (12:58 +0000)]
Issues 155.2 -- add %f for format

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

13 years ago[iphone] updated README to clearly advise to make .mm files whenever including files...
rpechayr [Thu, 17 Jun 2010 18:16:53 +0000 (18:16 +0000)]
[iphone] updated README to clearly advise to make .mm files whenever including files from ZXing

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

13 years agoAdd bulk scan mode with preference (and rearrange prefs a bit). Reorder main strings...
srowen [Thu, 17 Jun 2010 12:26:41 +0000 (12:26 +0000)]
Add bulk scan mode with preference (and rearrange prefs a bit). Reorder main strings file, add new pref string and remove probably-incorrect ellipses from Asian language translations

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

13 years agoAdd auto-translation tool to help update strings with Google Translate. Let it reorde...
srowen [Thu, 17 Jun 2010 10:55:00 +0000 (10:55 +0000)]
Add auto-translation tool to help update strings with Google Translate. Let it reorder (but not change) existing translations alphabetically by key. Add bulk-scan strings along the way as a test.

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

13 years agoEscape the semicolons: this was easier than I imagined. Tested with an ssid containi...
vikrama [Thu, 17 Jun 2010 05:24:42 +0000 (05:24 +0000)]
Escape the semicolons: this was easier than I imagined.  Tested with an ssid containing multiple semicolons.  Also some minor code cleanups.

Still to be done:
1. Rename 'nopass' to something cleaner, so it looks crisp in Android's Barcode Scanner UI.

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

13 years agoAdd the nopass handling in the Android client.
vikrama [Thu, 17 Jun 2010 04:33:59 +0000 (04:33 +0000)]
Add the nopass handling in the Android client.

TODO:
1. Document the encoding.
2. Test out the interaction with appspot.com with escaped semicolons and colons

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

13 years agoInitial checkin of wifi generator.
vikrama [Thu, 17 Jun 2010 04:31:26 +0000 (04:31 +0000)]
Initial checkin of wifi generator.

TODO:
1. Semicolons need to be escaped
2. In the android code, need much better error checking.  Incorrect barcodes crash Barcode Scanner!
3. Add network type NOPASS to the android code.  This is ready, and will be a separate checkin.

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

13 years agoDisplay possible country origin info on product scan
srowen [Wed, 16 Jun 2010 21:13:47 +0000 (21:13 +0000)]
Display possible country origin info on product scan

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

13 years agoAvoid possible AIOOBE on bad input
srowen [Wed, 16 Jun 2010 21:12:43 +0000 (21:12 +0000)]
Avoid possible AIOOBE on bad input

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

13 years agoAdd support for UPC/EAN +5 extensions, plus basic tests, and display the content...
srowen [Wed, 16 Jun 2010 19:49:22 +0000 (19:49 +0000)]
Add support for UPC/EAN +5 extensions, plus basic tests, and display the content in Android client as metadata

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

13 years agoAdding strings converted using Google Translate. Feeling bad about all the Engrish...
vikrama [Wed, 16 Jun 2010 04:11:54 +0000 (04:11 +0000)]
Adding strings converted using Google Translate.  Feeling bad about all the Engrish jokes I made in the past.

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