Commit graph

727 commits

Author SHA1 Message Date
srowen 52befe2c8f Issue 894 fix unsigned byte issue in unrandomize 255 state that prevented some codes from working in base 256 mode
git-svn-id: https://zxing.googlecode.com/svn/trunk@2016 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-04 17:16:25 +00:00
srowen 79add84a5a Recreate build files for android, androidtest, for latest SDK
git-svn-id: https://zxing.googlecode.com/svn/trunk@2008 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 19:34:19 +00:00
srowen 5d47b0f8d0 Issue 1026 PDF417 encoding improvements
git-svn-id: https://zxing.googlecode.com/svn/trunk@2006 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 13:57:49 +00:00
srowen db60385d7d Update all Java code to use Java 6
git-svn-id: https://zxing.googlecode.com/svn/trunk@2002 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 11:16:30 +00:00
dswitkin@google.com f74e806694 Fixed up some comments and formatting.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1979 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-18 19:17:33 +00:00
srowen 8743bb6de2 Update RSS14 test; remove IDE formatting comment (?)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1975 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-15 07:24:19 +00:00
smparkes@smparkes.net 70190f7805 Tweak blackpoints estimates for internal black blocks. Closes Issue 1012.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1973 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-15 00:31:07 +00:00
srowen 359551d6e7 Minor tightening and some new constants (no algo changes)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1969 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-14 07:47:05 +00:00
srowen b5be6c68cf Issue 1006 touch up pom.xml files and add new contributed one for android-integration
git-svn-id: https://zxing.googlecode.com/svn/trunk@1950 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-06 16:43:20 +00:00
srowen d0c59c4c16 Issue 727 contributed initial Maxicode support
git-svn-id: https://zxing.googlecode.com/svn/trunk@1949 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-04 10:12:55 +00:00
srowen 8d594c783d Issue 1002 handle case where pure QR code's bottom right module isn't black
git-svn-id: https://zxing.googlecode.com/svn/trunk@1946 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-29 14:51:20 +00:00
srowen eda536772b More small static analysis stuff
git-svn-id: https://zxing.googlecode.com/svn/trunk@1945 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-28 18:27:53 +00:00
srowen 303ed2e6a0 A pile of changes from proper static analysis for nullability issues, with full annotations.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1937 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-26 19:09:45 +00:00
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