Commit graph

864 commits

Author SHA1 Message Date
srowen a58c072099 Issue 982 maybe avoid an AIOOBE
git-svn-id: https://zxing.googlecode.com/svn/trunk@1933 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-25 11:30:30 +00:00
srowen faf72f02eb Add support for email/phone/address types, pronunciation, IM handle in contacts with vCard
git-svn-id: https://zxing.googlecode.com/svn/trunk@1931 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-24 16:43:41 +00:00
srowen a035285f2f Some style and related stuff I found in code inspection
git-svn-id: https://zxing.googlecode.com/svn/trunk@1921 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-19 14:04:25 +00:00
srowen 7a38f68e52 Few more PDF417 changes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1912 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-16 20:55:43 +00:00
srowen a335ff5fb7 PDF417 compact from Joseph Lau
git-svn-id: https://zxing.googlecode.com/svn/trunk@1911 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-16 20:44:28 +00:00
srowen 015e2a5915 Style changes to CodaBar writer
git-svn-id: https://zxing.googlecode.com/svn/trunk@1908 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-15 09:22:48 +00:00
dsbnatut 02b0816126 add CodaBarWriter, and make separation from UPCEANWriter to OneDimensionalCodeWriter and UPCEANWriter which inherits OneDimensionalCodeWriter.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1907 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-15 00:45:54 +00:00
srowen c3a5dcce06 Misc improvements: bigger scanner on tablets, anti-aliased drawing, escape HTML in product results, ITF-14 allows 48 digits
git-svn-id: https://zxing.googlecode.com/svn/trunk@1903 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-10 20:30:01 +00:00
srowen 177e8728c9 Add a couple helpful methods
git-svn-id: https://zxing.googlecode.com/svn/trunk@1899 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-01 08:51:04 +00:00
srowen d3700fc3bc PDF417 encoder, modified from Barcode4J
git-svn-id: https://zxing.googlecode.com/svn/trunk@1897 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-29 09:42:52 +00:00
srowen e669aab2af Change order of result points to be consistent with QR / DM: from bottom-left, clockwise
git-svn-id: https://zxing.googlecode.com/svn/trunk@1886 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-14 17:52:37 +00:00
srowen ecd6a7d77d False positive avoidance
git-svn-id: https://zxing.googlecode.com/svn/trunk@1885 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-14 17:45:31 +00:00
srowen 4863e3ed8c Reject short Code 39 -- too likely to be a false positive
git-svn-id: https://zxing.googlecode.com/svn/trunk@1884 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-13 16:58:58 +00:00
srowen fa5c84a0cf Let RSS tests succeed even when run from project root
git-svn-id: https://zxing.googlecode.com/svn/trunk@1883 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-13 16:58:32 +00:00
srowen 6c87ea3ee6 Fix small bug I saw in bounds checking
git-svn-id: https://zxing.googlecode.com/svn/trunk@1880 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-09 22:22:09 +00:00
srowen 869ddc1dbf Improvement to finder/alignment pattern detection in low-res situations: use averages. It makes it much better on images of this sort, decreasing failure rate by about 60%. (It makes one old image fail, but looks like a fluke)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1875 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-02 16:20:59 +00:00
srowen 0fe6737a76 Translate Data Matrix FNC1 as ASCII 29, as spec suggests that's usual in some cases
git-svn-id: https://zxing.googlecode.com/svn/trunk@1867 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-27 12:07:02 +00:00
srowen 3f1f2188b2 Two small javadoc warnings
git-svn-id: https://zxing.googlecode.com/svn/trunk@1866 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-25 16:36:39 +00:00
srowen 645a03c6a5 Issue 882 few more small DM issues
git-svn-id: https://zxing.googlecode.com/svn/trunk@1865 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-23 14:43:37 +00:00
srowen f8e3cef85d Issue 920 add ITF length 18, make C++ consistent with Java here
git-svn-id: https://zxing.googlecode.com/svn/trunk@1863 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-23 14:09:51 +00:00
srowen 1c564fcf6a Avoid exception in weird image situations
git-svn-id: https://zxing.googlecode.com/svn/trunk@1854 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-12 10:32:47 +00:00
srowen 245d432cd0 Issue 898 be more precise about calculating data size and version
git-svn-id: https://zxing.googlecode.com/svn/trunk@1852 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-11 14:57:55 +00:00
srowen 05455c7b68 Issue 897 tighten URI definition
git-svn-id: https://zxing.googlecode.com/svn/trunk@1851 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-09 09:23:23 +00:00
srowen 61c3e38802 Strengthen check for bad dimension
git-svn-id: https://zxing.googlecode.com/svn/trunk@1845 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-07-01 07:48:08 +00:00
srowen 10065f8c1c Avoid AIOOBE for corrupt codes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1837 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-28 06:50:37 +00:00
srowen 1f82b11d01 Issue 822 more small DM fixes from user
git-svn-id: https://zxing.googlecode.com/svn/trunk@1832 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-23 16:18:20 +00:00
srowen ce2bfa78f7 Issue 881 fix shift in C40 encodation
git-svn-id: https://zxing.googlecode.com/svn/trunk@1831 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-22 19:58:03 +00:00
srowen d0fb1435b1 Issue 880 treat EDIFACT as ASCII correctly when appending to result
git-svn-id: https://zxing.googlecode.com/svn/trunk@1830 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-22 19:49:23 +00:00
srowen 1d80e8abf5 Use \u escape syntax for Latin-1 chars to avoid weird encoding issue
git-svn-id: https://zxing.googlecode.com/svn/trunk@1825 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-14 19:04:49 +00:00
srowen 8a1c720221 Issue 865 user patch for support of control codes in Code 128 encoding (and output in decoding)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1822 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-14 07:38:18 +00:00
srowen 7f06b18976 Rationalize the black-run counting to avoid AIOOBE but also get the right answer still
git-svn-id: https://zxing.googlecode.com/svn/trunk@1820 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-10 08:43:38 +00:00
dswitkin@google.com 127839b2b7 Fixed a few crashes and added a FIXME for another which needs some refactoring.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1814 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-08 16:15:29 +00:00
dswitkin@google.com e04e3ef2c1 - Prevented secure URIs from being added to History or copied to the clipboard.
- Made the History display parsed entries instead of raw contents.
- Some minor cleanup and comments.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1813 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-07 22:37:13 +00:00
dswitkin@google.com dbc98a7a22 Made sure otpauth: is recognized as a valid URI.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1811 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-07 15:24:31 +00:00
srowen e9d5024e46 Issue 849, adjusted fix to Code128Writer
git-svn-id: https://zxing.googlecode.com/svn/trunk@1803 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-30 18:50:56 +00:00
srowen fb65c5b791 Enable Aztec, PDF 417 by default in core (not clients) mostly to further test them during unit tests
git-svn-id: https://zxing.googlecode.com/svn/trunk@1801 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-26 12:52:04 +00:00
srowen 7e710dd6ec Oops, amendment to last change
git-svn-id: https://zxing.googlecode.com/svn/trunk@1800 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-26 12:50:16 +00:00
srowen ce30fae7be Remove unnecessary dependency from common to qrcode package
git-svn-id: https://zxing.googlecode.com/svn/trunk@1799 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-26 12:42:07 +00:00
srowen df65c5b83e A bunch of code style related changes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1795 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-21 03:36:39 +00:00
srowen 2d7ef9faf4 Issue 742 at least parse iCal GEO in core library
git-svn-id: https://zxing.googlecode.com/svn/trunk@1787 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-20 07:12:49 +00:00
dswitkin@google.com ab003c1686 More TODO cleanup on longstanding comments which aren't going to be addressed.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1779 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-17 20:44:44 +00:00
dswitkin@google.com 8ff9e7f4fa Standardized the naming of our barcode formats and alphabetized them.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1775 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-17 15:46:09 +00:00
dswitkin@google.com 8f924716f0 Created a new blackbox test of real world Aztec images taken with a mobile phone. We're only decoding 9% at the moment.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1771 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-13 21:42:52 +00:00
srowen 0e28aa0e4c Fix previous update to PDF417 regarding AS vs AL
git-svn-id: https://zxing.googlecode.com/svn/trunk@1764 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-10 20:10:11 +00:00
srowen 3de06bcf41 Avoid an AIOOBE seen in the wild. A bit of polish.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1763 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-10 13:50:37 +00:00
srowen e1fda03246 Another user-suggested fix - misdetecting rectangular matrices in corner cases
git-svn-id: https://zxing.googlecode.com/svn/trunk@1761 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-08 14:57:15 +00:00
srowen 379ee79702 Used-supplied workaround for encoders which append spurious latch to ASCII at end of bit stream
git-svn-id: https://zxing.googlecode.com/svn/trunk@1759 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-07 13:43:23 +00:00
srowen 2e4e0d0c77 Issue 820 second format info was read incorrectly
git-svn-id: https://zxing.googlecode.com/svn/trunk@1751 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-04-29 08:35:13 +00:00
srowen dc1ae195ec Added 8 digit iTF by user request
git-svn-id: https://zxing.googlecode.com/svn/trunk@1744 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-04-14 21:06:25 +00:00
srowen eccab60446 Issue 801 User contributed typo fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1743 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-04-14 16:31:15 +00:00
srowen c24fefe747 Issue 797 user patch for code c support
git-svn-id: https://zxing.googlecode.com/svn/trunk@1739 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-04-11 17:20:38 +00:00
srowen 4b84ad8a40 Add length 20 per user request
git-svn-id: https://zxing.googlecode.com/svn/trunk@1736 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-04-05 08:20:47 +00:00
srowen 9e8fb1e2ff Issue 735 commit user patch for AAIOBE
git-svn-id: https://zxing.googlecode.com/svn/trunk@1723 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-03-06 19:23:15 +00:00
dswitkin@google.com ff5a939fbf Added two new blackbox tests of blurry barcodes taken with a fixed-focus mobile phone. Also fixed several other 1D blackbox tests that were off by an image here and there.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1721 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-02-23 23:47:01 +00:00
srowen ea813c3f88 User-contributed doc fixes and Issue 725
git-svn-id: https://zxing.googlecode.com/svn/trunk@1718 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-02-21 14:53:11 +00:00
srowen 7a6cc4c3d0 Various user-contributed fixes (Issue 701, Issue 710, Issue 714, Issue 718)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1717 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-02-15 13:23:14 +00:00
srowen a55e645bfe Issue 706 user-suggested patch for trimming bad whitespace on URI
git-svn-id: https://zxing.googlecode.com/svn/trunk@1712 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-02-02 13:55:44 +00:00
srowen e6d969b6f4 Issue 675 commit Lachezars great fix for large DM decoding
git-svn-id: https://zxing.googlecode.com/svn/trunk@1699 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-01-11 15:40:47 +00:00
srowen 99d09e0a44 Style stuff mostly but fix a problem between Aztec and J2ME too
git-svn-id: https://zxing.googlecode.com/svn/trunk@1681 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-12-15 14:42:17 +00:00
srowen 8c172f4891 Issue 658
git-svn-id: https://zxing.googlecode.com/svn/trunk@1678 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-12-12 22:31:51 +00:00
srowen e8bafc49f9 Minor fix to carry shift value across input triads
git-svn-id: https://zxing.googlecode.com/svn/trunk@1670 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-25 17:39:17 +00:00
srowen c4dede3689 Style changes to Aztec, enable in web app and command line
git-svn-id: https://zxing.googlecode.com/svn/trunk@1669 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-21 20:47:00 +00:00
dav.olivier@gmail.com e1c047c54b Support for aztec codes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1668 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-20 21:21:34 +00:00
dav.olivier@gmail.com 0c3a1650d2 Generator polynomial for reed-Solomon algorithm can now have coefficients in any Gallois fields rather than GF(256) only
git-svn-id: https://zxing.googlecode.com/svn/trunk@1667 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-20 21:18:54 +00:00
dav.olivier@gmail.com 5ec9b84660 Generator polynomial for reed-Solomon algorithm can now have coefficients in any Gallois fields rather than GF(256) only
git-svn-id: https://zxing.googlecode.com/svn/trunk@1666 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-20 21:18:04 +00:00
srowen c977f184e3 Issue 630, allow 16 digits
git-svn-id: https://zxing.googlecode.com/svn/trunk@1662 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-19 10:01:52 +00:00
srowen 207b5e294d Fix for shift handling
git-svn-id: https://zxing.googlecode.com/svn/trunk@1660 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-17 07:15:46 +00:00
srowen b19fbf3d4b Allow 24-digit ITF
git-svn-id: https://zxing.googlecode.com/svn/trunk@1655 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-15 19:58:23 +00:00
srowen 33999a3afa Part 1 of a fix from Jeremiah
git-svn-id: https://zxing.googlecode.com/svn/trunk@1634 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-03 19:50:30 +00:00
srowen 5108924d05 Use includeantruntime=false to avoid Ant 1.8 warning
git-svn-id: https://zxing.googlecode.com/svn/trunk@1631 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-25 21:03:11 +00:00
srowen 2874ed0988 Overhaul 'extractPureBits' implementations and standardize. Improve by looking for bottom-right black pixel. Fix PDF417 pure barcode mode along the way.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1628 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-23 19:14:03 +00:00
srowen e9ae6dd4d3 Issue 582
git-svn-id: https://zxing.googlecode.com/svn/trunk@1625 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-13 14:13:55 +00:00
srowen c3f4602678 Issue 581, Hanzi mode support from Shiyuan Guo
git-svn-id: https://zxing.googlecode.com/svn/trunk@1623 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-12 16:01:31 +00:00
srowen eaecf26bf6 Small style stuff
git-svn-id: https://zxing.googlecode.com/svn/trunk@1622 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-12 11:38:43 +00:00
srowen 345a55c6c7 Guard against exception case discovered in new DM code, clean up its formatting a bit
git-svn-id: https://zxing.googlecode.com/svn/trunk@1620 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-10 21:26:44 +00:00
srowen aa6c437d71 Adjust formatting on last change. Simplify GridSampler
git-svn-id: https://zxing.googlecode.com/svn/trunk@1618 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-07 08:29:41 +00:00
dav.olivier@gmail.com 94679de34d Issue 563: Support non-rectangular Data Matrix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1616 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-05 20:19:53 +00:00
srowen 8f2ddd96e7 At last update to JUnit 4.x
git-svn-id: https://zxing.googlecode.com/svn/trunk@1611 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-30 22:26:48 +00:00
srowen c01ee70804 Support SMTP URLs
git-svn-id: https://zxing.googlecode.com/svn/trunk@1609 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-30 15:44:39 +00:00
srowen 5abef2f3aa Fix small display problem when extension starts with 9
git-svn-id: https://zxing.googlecode.com/svn/trunk@1608 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-30 15:44:12 +00:00
srowen 0be168eb9a Tiny change "DataMatrix" to "Data Matrix"
git-svn-id: https://zxing.googlecode.com/svn/trunk@1592 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-16 07:24:25 +00:00
srowen 89c421c2bb Small fixes for 1.6 release
git-svn-id: https://zxing.googlecode.com/svn/trunk@1587 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-13 10:58:48 +00:00
srowen fd3c38bf70 Another minor change to WhiteRectangleDetector and update "about" screen in Android to mention Data Matrix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1586 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-13 09:12:02 +00:00
srowen 05582c4975 Replace Math.round() with simple workalike -- faster, and needed to work in JavaME
git-svn-id: https://zxing.googlecode.com/svn/trunk@1585 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-13 09:05:15 +00:00
srowen ce3d27ed69 Turn on Data Matrix, including separate scan option in Android
git-svn-id: https://zxing.googlecode.com/svn/trunk@1579 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-09 07:30:57 +00:00
srowen 2526ea8713 Reformat, and implement some performance optimization
git-svn-id: https://zxing.googlecode.com/svn/trunk@1578 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-07 23:53:33 +00:00
dav.olivier@gmail.com 674a5c6f91 Minor deletion of code that shouldn't have been committed
git-svn-id: https://zxing.googlecode.com/svn/trunk@1576 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-05 11:28:12 +00:00
dav.olivier@gmail.com dca6c9a353 corrected possibilities of crashing while detecting a datamatrix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1575 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-04 18:07:09 +00:00
dav.olivier@gmail.com a573e789d2 Improved datamatrix reader with new algorithm
git-svn-id: https://zxing.googlecode.com/svn/trunk@1574 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-03 20:49:22 +00:00
srowen 47d2f3c798 David Olivier's Data Matrix improvements
git-svn-id: https://zxing.googlecode.com/svn/trunk@1573 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-03 07:50:47 +00:00
srowen 14a03f40b1 Issue 537, don't return UPC-A for EAN-13 starting with 0 when UPC-A isn't allowed
git-svn-id: https://zxing.googlecode.com/svn/trunk@1572 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-01 10:26:37 +00:00
smparkes@smparkes.net d98d2af1ab Issue 524
git-svn-id: https://zxing.googlecode.com/svn/trunk@1570 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-31 03:18:56 +00:00
dswitkin@google.com b14a77502d One more change to accommodate differences in jpeg libraries. Some machines will report this test as too lax by one image.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1568 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-26 14:58:03 +00:00
dswitkin@google.com 1ba5eceeb2 Updated the negative blackbox test values.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1567 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-26 14:55:17 +00:00
dswitkin@google.com 226bf1a1a6 Added rounding code to getRow() as well and updated the tests accordingly.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1564 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-26 14:06:44 +00:00
dswitkin@google.com 7db3546ea6 Created new false positives blackbox test. We definitely have a problem with EAN_8 firing too often.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1560 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-25 18:23:00 +00:00
smparkes@smparkes.net 4836a3e28c Issue 494 round luminance values rather than truncate
git-svn-id: https://zxing.googlecode.com/svn/trunk@1558 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-25 15:54:19 +00:00
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
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 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
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
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 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 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
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 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
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 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
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@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
srowen 6b5616e7dd 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: https://zxing.googlecode.com/svn/trunk@1500 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-07-31 15:07:16 +00:00
srowen 273220b3f8 Fix corner case - pure barcode, 1 pixel module
git-svn-id: https://zxing.googlecode.com/svn/trunk@1483 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-07-14 20:49:13 +00:00
srowen b3993e7d51 Remove use of methods not in J2ME
git-svn-id: https://zxing.googlecode.com/svn/trunk@1452 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-22 06:23:20 +00:00
srowen 2d7b4138ab Display possible country origin info on product scan
git-svn-id: https://zxing.googlecode.com/svn/trunk@1438 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-16 21:13:47 +00:00
srowen 627cd6cab0 Avoid possible AIOOBE on bad input
git-svn-id: https://zxing.googlecode.com/svn/trunk@1437 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-16 21:12:43 +00:00
srowen 8cbe558ec3 Add support for UPC/EAN +5 extensions, plus basic tests, and display the content in Android client as metadata
git-svn-id: https://zxing.googlecode.com/svn/trunk@1436 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-16 19:49:22 +00:00
vikrama 58fefb095c Core library changes to include wifi type. One measly test included as well.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1421 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-10 03:49:18 +00:00
srowen 51970aa020 Issue 439: be more lax and don't look for END
git-svn-id: https://zxing.googlecode.com/svn/trunk@1416 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-08 05:20:00 +00:00
bas5winkel d818288177 Changed validation method in order to prevent false positives on other 1D barcodes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1407 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-01 14:39:24 +00:00
bas5winkel 97060619fe Renamed Codabar files and added text files for testing purposes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1406 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-01 14:35:38 +00:00
srowen 492492b591 Update Codabar style and disable it as its causing too many false positives
git-svn-id: https://zxing.googlecode.com/svn/trunk@1403 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-31 12:49:29 +00:00
bas5winkel@gmail.com e5a9d43849 Added support for codabar format
git-svn-id: https://zxing.googlecode.com/svn/trunk@1401 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-31 12:39:48 +00:00
bas5winkel@gmail.com 9a3da71c4c Added support for codabar format
git-svn-id: https://zxing.googlecode.com/svn/trunk@1399 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-31 12:18:49 +00:00
srowen 05e8181ef5 Add Code 93 support. Update tests to reflect new (better) number of successes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1398 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-30 14:37:08 +00:00
srowen a86b0e7cf3 Small speedup, per issue 422
git-svn-id: https://zxing.googlecode.com/svn/trunk@1395 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-28 15:39:11 +00:00
srowen 1ef423bf68 More encoding related changes for encoding Chinese chars in QR codes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1392 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-27 11:25:00 +00:00
srowen@gmail.com a189e6c00c Issue 412
git-svn-id: https://zxing.googlecode.com/svn/trunk@1376 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-20 10:50:34 +00:00
srowen cd06f524d8 Issue 411
git-svn-id: https://zxing.googlecode.com/svn/trunk@1375 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-19 18:36:59 +00:00
srowen 88788a8b7e Issue 408 comment fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1371 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-19 07:20:28 +00:00
srowen 737e0de917 Move character encoding logic out to common, try again to improve its handling of UTF8 for Chinese market, per manufacturer request, added test cases
git-svn-id: https://zxing.googlecode.com/svn/trunk@1364 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-15 11:21:03 +00:00
srowen 74c8744e8c Big RSS Expanded changelist -- thank you authors
git-svn-id: https://zxing.googlecode.com/svn/trunk@1350 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-10 19:18:50 +00:00
srowen 87b0b9c8aa Tighten up some stuff I saw from the logs
git-svn-id: https://zxing.googlecode.com/svn/trunk@1344 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-08 20:56:31 +00:00
srowen 8763063b7b Typo fix, thanks Ken
git-svn-id: https://zxing.googlecode.com/svn/trunk@1328 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-02 16:41:55 +00:00
srowen 816d6b81e0 Replace tabs with spaces ( part of accepting another big patch); fix one failing test due to typo
git-svn-id: https://zxing.googlecode.com/svn/trunk@1326 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-02 06:49:18 +00:00
srowen 8a46200c72 Add ENCODING=QUOTED-PRINTABLE support
git-svn-id: https://zxing.googlecode.com/svn/trunk@1317 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-24 09:28:10 +00:00
srowen 33bbcab859 Issue 357
git-svn-id: https://zxing.googlecode.com/svn/trunk@1313 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-19 20:49:54 +00:00
srowen e51dbb3c53 Use RSS14 on the command line; scan more lines since RSS14 stacked kind of needs this; fix VerifyError when RSS14 is enabled on Android
git-svn-id: https://zxing.googlecode.com/svn/trunk@1311 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-19 09:23:43 +00:00
srowen 88649bb0d4 Allow 12-digit ITF
git-svn-id: https://zxing.googlecode.com/svn/trunk@1308 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-16 06:45:10 +00:00
srowen 2e9afb3673 Add description support, as well as handle VEVENT line continuation. Get rid of unused 'title' property
git-svn-id: https://zxing.googlecode.com/svn/trunk@1304 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-13 10:46:31 +00:00
srowen 3a415a4994 Fix small compile error in javame/, update for Java ME SDK 3.x layout, finally disentangle Proguard location from WTK
git-svn-id: https://zxing.googlecode.com/svn/trunk@1302 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-12 08:59:41 +00:00
srowen 047c932fcb Recognize LOCATION in VEVENT
git-svn-id: https://zxing.googlecode.com/svn/trunk@1301 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-11 16:42:11 +00:00
srowen c7d5c2af5a Noticed we should just use BarcodeFormat constants in the client for simplicity
git-svn-id: https://zxing.googlecode.com/svn/trunk@1295 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-10 15:30:22 +00:00
srowen 06a6a35ce1 Pure-barcode mode can now deal with asymmetric borders instead of assuming it's pure generator output with equal borders
git-svn-id: https://zxing.googlecode.com/svn/trunk@1288 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 21:30:53 +00:00
srowen 634273cfdb Use jar packaging
git-svn-id: https://zxing.googlecode.com/svn/trunk@1287 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 19:58:40 +00:00
srowen be71fb0613 Back up and restore poms to prerelease state
git-svn-id: https://zxing.googlecode.com/svn/trunk@1285 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 12:38:26 +00:00
srowen 8eb728e9c9 [maven-release-plugin] prepare release core-1.5
git-svn-id: https://zxing.googlecode.com/svn/trunk@1283 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 11:59:11 +00:00
srowen e3fd5a55f8 [maven-release-plugin] rollback the release of core-1.5
git-svn-id: https://zxing.googlecode.com/svn/trunk@1282 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 11:57:56 +00:00
srowen 916c5a4d70 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://zxing.googlecode.com/svn/trunk@1281 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 09:37:46 +00:00
srowen 8d4feb5eff [maven-release-plugin] prepare release core-1.5
git-svn-id: https://zxing.googlecode.com/svn/trunk@1279 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 09:37:27 +00:00
srowen 7410fd3082 Issue 361
git-svn-id: https://zxing.googlecode.com/svn/trunk@1268 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-30 22:53:34 +00:00
srowen 0b74dfc7fe Update sms: and geo: handling to better respect new RFCs
git-svn-id: https://zxing.googlecode.com/svn/trunk@1266 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-30 18:33:54 +00:00
srowen 0b2f7dcd2e Add timestamp to result screen
git-svn-id: https://zxing.googlecode.com/svn/trunk@1261 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-26 22:40:09 +00:00
srowen 48a74e2b14 Turn down depth of recursion
git-svn-id: https://zxing.googlecode.com/svn/trunk@1256 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-25 17:23:55 +00:00
srowen 53dcdf4ffc Quick patch to make this work with current writer API
git-svn-id: https://zxing.googlecode.com/svn/trunk@1253 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-25 15:16:33 +00:00
srowen 6e05578429 Add basic Code 128, Code 39, ITF writers, per Erik
git-svn-id: https://zxing.googlecode.com/svn/trunk@1252 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-25 12:49:27 +00:00
srowen a0381b760d Avoid RSS-14 false positive issue, which temporarily hurts its scanning a lot, but will work more later. Readjust unit test pass counts, which seem to have drifted. The change is net neutral in any event.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1251 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-25 11:42:08 +00:00
srowen 59fbd6564e Issue 327. Relax decoder assumptions
git-svn-id: https://zxing.googlecode.com/svn/trunk@1243 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-10 11:10:49 +00:00
srowen 70933a7ffd To fix http://groups.google.com/group/zxing/browse_thread/thread/bf1d150a7ed44ee8#, try a little harder on 1D, which is fine
git-svn-id: https://zxing.googlecode.com/svn/trunk@1239 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-05 10:41:51 +00:00
srowen d273ab5dbc Prevent an array out of bounds exception I noticed in the web logs
git-svn-id: https://zxing.googlecode.com/svn/trunk@1238 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-04 21:15:39 +00:00
srowen 0c54a9f45b Caught a few J2ME incompatibilities in build
git-svn-id: https://zxing.googlecode.com/svn/trunk@1235 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-04 18:53:58 +00:00
srowen 0cf89d0402 Preliminary RSS-14 support. Not enabled yet in Android client.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1233 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-04 18:38:58 +00:00
srowen 4f072f67ee Per Brad Threatt -- don't fail early on NotFoundException when finding multiple finder patterns
git-svn-id: https://zxing.googlecode.com/svn/trunk@1232 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-02 14:58:18 +00:00
srowen 508697a318 Related to Issue 205, but not the direct issue: read both copies of the format info and use both in determining the right one. This avoids a close, but incorrect first match throwing off the decoding. Also fix creating an image from ByteMatrix -- was inverted
git-svn-id: https://zxing.googlecode.com/svn/trunk@1226 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-01 11:04:22 +00:00
srowen 5ef5f3b02d "Split" ReaderException into subclasses to enable more useful error reporting
git-svn-id: https://zxing.googlecode.com/svn/trunk@1195 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-02 08:23:46 +00:00
srowen f9b648c131 Fixed old unit test compile problem I probaby introduced
git-svn-id: https://zxing.googlecode.com/svn/trunk@1194 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-02 07:34:35 +00:00
srowen 87f2fada9a Pre-RSS-14 changes. Necessary code changes, but not the decoder. Committing this since it does no harm and clears out my client so I can modify these files for other purposes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1193 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-01 19:41:17 +00:00
srowen 171bd88c5d Issue 331
git-svn-id: https://zxing.googlecode.com/svn/trunk@1191 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-29 10:27:07 +00:00
dswitkin 04d5b85502 This is a set of mobile image taken at 480x360 with difficult lighting.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1187 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-17 23:12:21 +00:00
dswitkin 395f145067 Deleted the old ean13-2 test data which contained high resolution blurry images. These are not the focus of ZXing and not worth testing against. I'm going to replace them shortly with more relevant test images.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1186 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-17 22:19:59 +00:00
srowen c2a6255e19 Fix/improvement from Jiayong
git-svn-id: https://zxing.googlecode.com/svn/trunk@1184 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-11 06:08:20 +00:00
srowen 719ed5b883 Undo the ^= true thing in more files
git-svn-id: https://zxing.googlecode.com/svn/trunk@1182 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-10 12:41:04 +00:00
srowen 2d0b3bc83a Issue 316
git-svn-id: https://zxing.googlecode.com/svn/trunk@1181 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-10 09:59:54 +00:00
srowen ae379e56e9 Better version of revision 1166 and 1165 -- corrects behavior, by changing code such that points are always within image. Happens to make one test image fail at one rotation, but think that was a 'false gain' so accepted that tiny step backwards.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1178 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-06 14:02:16 +00:00
srowen e44cc99359 Maybe avoid weird Proguard issue by removing inner class?
git-svn-id: https://zxing.googlecode.com/svn/trunk@1177 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-06 12:13:46 +00:00
srowen c7a5b5f0a9 Issue 311 fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1174 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-05 09:40:54 +00:00
srowen bfaa68426b Issue 309, don't fail if birthday is bad
git-svn-id: https://zxing.googlecode.com/svn/trunk@1172 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-04 20:02:33 +00:00
srowen d71f40fef6 Two tiny improvements to make code more consistent
git-svn-id: https://zxing.googlecode.com/svn/trunk@1170 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-03 16:15:39 +00:00
srowen a38b0123f6 Tighten up detection of URLs on some garbage strings
git-svn-id: https://zxing.googlecode.com/svn/trunk@1167 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-22 18:30:09 +00:00
srowen 00c49493c0 Oops realized DM decoder also benefits from that last possible fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1166 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-22 12:24:02 +00:00
srowen 18002649eb Guess of a fix at array index out of bounds problem observed in the wild
git-svn-id: https://zxing.googlecode.com/svn/trunk@1165 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-22 12:19:31 +00:00
srowen 2736b6e19e Unit test for some reason too stringent by one? was breaking in a clean build
git-svn-id: https://zxing.googlecode.com/svn/trunk@1164 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-22 12:18:32 +00:00
dswitkin 539f890acf Added a new build-optimized target to core for applications which want the library to be optimized but don't want to run ProGuard themselves against the entire app.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1162 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-20 20:08:32 +00:00
dswitkin e779586745 Made a small performance tweak (about 1% faster).
git-svn-id: https://zxing.googlecode.com/svn/trunk@1158 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-13 21:36:38 +00:00
dswitkin 5cc1df3c92 Finished work on the local binarizer and renamed it to HybridBinarizer. It uses the old histogram for 1D and the new approach for 2D. The unit tests don't fully demonstrate how much better this is in real-world lighting, but it pretty much solves the situation of pointing at a QR Code for 30 seconds without scanning, due to a shadow or gradient.
HybridBinarizer is now the default across all the fast clients and the unit tests.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1157 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-13 21:08:57 +00:00
dswitkin 8ba08bb916 Added the ability to track who is throwing exceptions and how often in the core library. Uncomment to enable it.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1155 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-13 17:10:02 +00:00
dswitkin fbff1b9718 Eliminated up to 700 execeptions being thrown per image by changing one method to return -1 on failure.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1154 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-13 16:58:28 +00:00
dswitkin b21dd14d9b Added a check so that the PDF417 reader can get through the partial blackbox test.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1152 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-13 15:02:33 +00:00
srowen ef4cdf1969 Issue 295 and Issue 294, treat ADR as wholly different addresses, not 2 lines of 1 address
git-svn-id: https://zxing.googlecode.com/svn/trunk@1150 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-10 15:50:54 +00:00
srowen 6271b86315 Issue 294, add support for several address lines in parsed results
git-svn-id: https://zxing.googlecode.com/svn/trunk@1148 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-10 00:34:54 +00:00
srowen 9f3ee05fe1 Opening up the Detector a little to allow extension, such as per Ralf
git-svn-id: https://zxing.googlecode.com/svn/trunk@1143 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-08 19:58:01 +00:00
srowen 27be3fb930 Oops, last change meant to include this -- changelist got split
git-svn-id: https://zxing.googlecode.com/svn/trunk@1142 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-08 19:49:52 +00:00
srowen 1e5964024b Make finder pattern detection a little more tolerant, per Ralf. Increases accuracy slightly.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1141 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-08 19:47:50 +00:00
srowen e0fc79fda0 Small bug fix from Ralf
git-svn-id: https://zxing.googlecode.com/svn/trunk@1140 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-08 15:51:32 +00:00
srowen edddb45040 Remove use of Hashtable.clone(), doesn't work in J2ME
git-svn-id: https://zxing.googlecode.com/svn/trunk@1139 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-08 12:02:35 +00:00
dswitkin bdc25cf5bc Removed three interfaces which weren't doing any good and were making the 1D class hierarchy even more complicated than it already is.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1138 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-08 02:15:35 +00:00
dswitkin 5c627db289 Added some comments and fixed up lines over 100 columns.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1134 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-03 20:35:10 +00:00