Commit graph

1349 commits

Author SHA1 Message Date
dswitkin@google.com a080a85cdd Created new UPC-A blackbox test.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1554 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-23 15:47:13 +00:00
dswitkin@google.com aa94b2a633 Updated the ZXingText Ant file to match the Barcode Scanner one.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1553 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-23 15:39:33 +00:00
srowen 273d2eea97 Issue 521, avoid an NPE
git-svn-id: https://zxing.googlecode.com/svn/trunk@1552 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-22 21:58:11 +00:00
flyashi ca1cf153d6 GreyscaleRotatedLuminanceSource: implemented getMatrix()
BitMatrix: implemented getRow


git-svn-id: https://zxing.googlecode.com/svn/trunk@1551 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-20 20:24:20 +00:00
smparkes@smparkes.net 124ef03ca9 Allow a few build-time arguments to the C++ build
Add DEBUG and PIC flags to scons so you can now build without debug, e.g.,
  scons DEBUG=false lib
or with -fPIC forced, e.g,.
  scons PIC=true lib

Defaults haven't changed.


git-svn-id: https://zxing.googlecode.com/svn/trunk@1550 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-20 18:46:05 +00:00
smparkes@smparkes.net dd1336d0cf Tweak svn/git ignores
Add OS X libzxing.a project
Include a copy of scons-local for cpp


git-svn-id: https://zxing.googlecode.com/svn/trunk@1549 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-20 00:41:26 +00:00
smparkes@smparkes.net 1c9f770e52 svn:ignore java build artifacts
git-svn-id: https://zxing.googlecode.com/svn/trunk@1548 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-20 00:17:50 +00:00
dswitkin@google.com f9bc448926 Fixed a bug I introduced while removing exceptions, which caused the
x coordinate of 1D barcodes to always be flipped, as if they had been
read upside down.


git-svn-id: https://zxing.googlecode.com/svn/trunk@1547 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-18 18:31:49 +00:00
smparkes@smparkes.net 439ff92bd9 Issue 479
Note, the audio no longer plays. I'm pretty sure this is because the widget is dismissed immediately
and the sound is released before it is played. I'm thinkng audio feedback should be done by the caller.


git-svn-id: https://zxing.googlecode.com/svn/trunk@1546 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-17 21:18:56 +00:00
smparkes@smparkes.net 3f8639c67e Issue 520
git-svn-id: https://zxing.googlecode.com/svn/trunk@1545 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-17 20:12:10 +00:00
srowen d70e368ef0 Minor change to make javadoc work with new Android SDK
git-svn-id: https://zxing.googlecode.com/svn/trunk@1544 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-17 17:34:32 +00:00
smparkes@smparkes.net a251967f55 Issue 519
git-svn-id: https://zxing.googlecode.com/svn/trunk@1543 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-17 16:19:57 +00:00
smparkes@smparkes.net 6e3b219023 cleaned up versions of new tests; hopefully no EOL issues
git-svn-id: https://zxing.googlecode.com/svn/trunk@1542 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-17 00:10:33 +00:00
smparkes@smparkes.net 6220f46c94 remove CRLF files before readding them (in an attempt to not confuse SVN with EOL stuff)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1541 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-17 00:09:09 +00:00
srowen 346d163125 Issue 520
git-svn-id: https://zxing.googlecode.com/svn/trunk@1540 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-16 21:55:33 +00:00
smparkes@smparkes.net b2cf605bc9 a set of synthetic version 40 tests at each ECC level
git-svn-id: https://zxing.googlecode.com/svn/trunk@1539 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-16 21:02:27 +00:00
smparkes@smparkes.net d09cad7863 fix log to reflect reality
git-svn-id: https://zxing.googlecode.com/svn/trunk@1538 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-16 20:54:15 +00:00
srowen 5d34f3a55d Issue 519
git-svn-id: https://zxing.googlecode.com/svn/trunk@1537 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-16 20:19:09 +00:00
dswitkin@google.com 56e9cef5b3 Fixed the double delete problem remaining in issue 503.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1536 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-16 15:34:00 +00:00
dswitkin@google.com e68b2951f4 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: https://zxing.googlecode.com/svn/trunk@1535 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-16 15:17:39 +00:00
srowen c194eb915c Preserve line breaks into XHTML
git-svn-id: https://zxing.googlecode.com/svn/trunk@1534 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-16 11:09:49 +00:00
srowen aee6be71f3 Issue 492
git-svn-id: https://zxing.googlecode.com/svn/trunk@1533 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-14 19:11:49 +00:00
srowen eee9068f2a Weird, Android doesn't have TimeUnit.MINUTES
git-svn-id: https://zxing.googlecode.com/svn/trunk@1532 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-14 19:00:54 +00:00
dswitkin@google.com 2476762007 Changed OneDReader::recordPattern to not throw exceptions. For now it just
moves them up a level to the callers.


git-svn-id: https://zxing.googlecode.com/svn/trunk@1531 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-13 19:47:13 +00:00
srowen d096810e67 Remove another -Xint, and use -Djava.awt.headless=true to avoid Apple JDK annoyance
git-svn-id: https://zxing.googlecode.com/svn/trunk@1530 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-13 17:20:42 +00:00
srowen 5951e1dac3 Issue 460, auto timeout of CaptureActivity after inactivity, for testing. Also break out some code from CaptureActivity to reduce its size.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1529 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-13 17:18:53 +00:00
srowen f2ac4e651b Tiny style bits
git-svn-id: https://zxing.googlecode.com/svn/trunk@1528 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-13 17:17:47 +00:00
dswitkin@google.com 56ad5f5554 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: https://zxing.googlecode.com/svn/trunk@1527 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-13 16:20:03 +00:00
srowen 073a3033fc Workaround for Hotspot bug that lets tests run without -Xint, from Steven Parkes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1526 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-13 03:30:58 +00:00
srowen b868c6e3ae Issue 509
git-svn-id: https://zxing.googlecode.com/svn/trunk@1525 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-12 20:54:54 +00:00
srowen 00322f3873 Issue 505
git-svn-id: https://zxing.googlecode.com/svn/trunk@1524 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-12 20:51:09 +00:00
srowen 0a6cac9820 Issue 508
git-svn-id: https://zxing.googlecode.com/svn/trunk@1523 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-12 20:24:38 +00:00
srowen 6c9812e9bb Issue 511
git-svn-id: https://zxing.googlecode.com/svn/trunk@1522 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-12 20:18:08 +00:00
dswitkin@google.com b7f70012ca 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: https://zxing.googlecode.com/svn/trunk@1521 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-11 22:10:29 +00:00
dswitkin@google.com be31406b94 Removed an extra BitArray, honored the result of LuminanceSource.getRow(), and fixed
a bunch of formatting.


git-svn-id: https://zxing.googlecode.com/svn/trunk@1520 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-11 15:17:35 +00:00
srowen 09b0039530 Add result points for UPC EAN metadata extension
git-svn-id: https://zxing.googlecode.com/svn/trunk@1519 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-11 13:59:48 +00:00
srowen 6f3d6a0eff Issue 507 remove company
git-svn-id: https://zxing.googlecode.com/svn/trunk@1518 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-11 13:44:38 +00:00
srowen 14712eff37 Issue 512
git-svn-id: https://zxing.googlecode.com/svn/trunk@1517 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-11 13:42:39 +00:00
rpechayr d4765a6afd [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: https://zxing.googlecode.com/svn/trunk@1516 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-09 04:46:06 +00:00
srowen 438746649d Issue 497
git-svn-id: https://zxing.googlecode.com/svn/trunk@1515 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-07 13:22:47 +00:00
srowen 0a5e8e9298 Preserve query in geo URI
git-svn-id: https://zxing.googlecode.com/svn/trunk@1514 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-07 13:21:35 +00:00
dswitkin ffb33d4c74 Slight refinement to last change - a cached row which
failed should throw an exception, not return NULL.


git-svn-id: https://zxing.googlecode.com/svn/trunk@1513 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-07 12:50:16 +00:00
dswitkin a2226af690 Fixed a bug which prevented this binarizer from caching rows.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1512 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-06 23:33:48 +00:00
flyashi 2eb3d191b5 C++ port: add header file change
Commit the matching header for the Code39Reader.cpp change in r1510

git-svn-id: https://zxing.googlecode.com/svn/trunk@1511 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-06 19:04:19 +00:00
flyashi 5a4f5c901d C++ port: some memory leak cleanups
Closes Issue 499 and Issue 496.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1510 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-06 18:59:07 +00:00
flyashi 2de913d220 Fixes two virtual calls and one local variable reference. Closes issue 493 and issue 498 and makes UPC-E work.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1509 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-06 14:28:47 +00:00
dswitkin@google.com 2cb4f5f82b Issue 495: Renamed DATAMATRIX to DATA_MATRIX for consistency.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1508 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-05 15:22:30 +00:00
flyashi 17b9952822 C++ port: add changes to HybridBinarizer
This closes Issue 490.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1507 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-04 14:09:09 +00:00
flyashi 313fc8e90e C++ port: Make sure #indef/#define/#endif's and copyright information on all header files is in a common format.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1506 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-04 13:36:20 +00:00
flyashi c3b1380ad8 C++ port: Hints infrastructure was added in r1499. This changeset implements reader selection support.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1505 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-04 13:35:44 +00:00