Commit graph

753 commits

Author SHA1 Message Date
srowen a39e9d8163 Issue 1124 only allow encoding of even-length ITF input
git-svn-id: https://zxing.googlecode.com/svn/trunk@2118 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-15 18:21:18 +00:00
srowen 5415b12050 Count misreads in the test framework and track. Retune slightly on this basis to pick up a few more images
git-svn-id: https://zxing.googlecode.com/svn/trunk@2116 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-13 14:38:38 +00:00
srowen 748945281c Issue 1122 allow short code 39/93
git-svn-id: https://zxing.googlecode.com/svn/trunk@2114 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-11 22:09:48 +00:00
srowen 01c274cfd1 Fix slight problem in heuristic for detecting URIs: accept a.singleletterdomainelement.com
git-svn-id: https://zxing.googlecode.com/svn/trunk@2108 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-11 14:52:53 +00:00
srowen e4bd93a6e8 QR code "pure barcode" now forgiving of uneven module sizes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2103 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-04 07:53:04 +00:00
srowen 4af95ab471 Use better regex-based test for URI
git-svn-id: https://zxing.googlecode.com/svn/trunk@2098 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-23 15:20:18 +00:00
srowen c77baf34a8 Issue 918 Add MECARD/vCard switch after factoring out and tidying some of the contact encoding logic
git-svn-id: https://zxing.googlecode.com/svn/trunk@2097 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-23 13:59:15 +00:00
srowen 327df794ae Slightly reverse Code 128 change: don't allow length 0 code
git-svn-id: https://zxing.googlecode.com/svn/trunk@2093 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-17 16:47:15 +00:00
srowen 35eecdeb45 Add result point callback to multi QR code detector
git-svn-id: https://zxing.googlecode.com/svn/trunk@2090 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-17 00:45:50 +00:00
srowen 703cc2e8bf Issue 1103 stop excluding 1-char code 128 as it does not seem to be a big deal for false positives now
git-svn-id: https://zxing.googlecode.com/svn/trunk@2085 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-13 15:24:30 +00:00
srowen a12326f2d4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://zxing.googlecode.com/svn/trunk@2077 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-09 17:53:43 +00:00
srowen 99bad83632 [maven-release-plugin] prepare release core-20-beta
git-svn-id: https://zxing.googlecode.com/svn/trunk@2075 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-09 17:53:31 +00:00
srowen 5ef08d7719 More pom changes - may need later plugin versions to proceed
git-svn-id: https://zxing.googlecode.com/svn/trunk@2073 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-09 11:55:42 +00:00
srowen 130dc89beb Few more pom fixes for new OSS config
git-svn-id: https://zxing.googlecode.com/svn/trunk@2072 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-09 10:47:11 +00:00
srowen 6796e12bff pom changes I believe are necessary to get this into oss.sonatype.org correctly
git-svn-id: https://zxing.googlecode.com/svn/trunk@2071 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-08 17:23:11 +00:00
srowen b164aa4ed8 Issue 1084 one more time
git-svn-id: https://zxing.googlecode.com/svn/trunk@2064 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-30 22:22:35 +00:00
srowen 88fd3dd32f More Issue 1084 -- more aliases for certain encodings
git-svn-id: https://zxing.googlecode.com/svn/trunk@2063 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-30 21:09:30 +00:00
srowen 4c8ec7a70b Issue 1084 add known ECIs and improve encoding names a bit
git-svn-id: https://zxing.googlecode.com/svn/trunk@2058 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-30 09:39:42 +00:00
srowen 8f005274c0 Faster getNextSet; more gains from getNextUnset
git-svn-id: https://zxing.googlecode.com/svn/trunk@2051 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-25 12:37:39 +00:00
srowen b93f68f0db Another half-percent from specializing some operations on bit arrays
git-svn-id: https://zxing.googlecode.com/svn/trunk@2050 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-25 01:17:28 +00:00
srowen 35cf29b720 Avoid some allocation hotspots by reusing arrays
git-svn-id: https://zxing.googlecode.com/svn/trunk@2049 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-23 22:18:45 +00:00
srowen d0850c3baf Issue 1074 fix incorrect decoding of some numeric segments
git-svn-id: https://zxing.googlecode.com/svn/trunk@2048 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-23 19:04:59 +00:00
srowen 39c51ad06b Surprising, but these small changes to avoid allocation of a foreach loop iterator save 1-2% runtime.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2047 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-22 21:52:47 +00:00
srowen 293f565db9 Issue 1067 and more. Add "VALUE=DATE" to encoding of all-day dates. Don't pretend end was specified in original barcode if not present. However for benefit of Android Calendar apps, use +1 hour/day end time for missing end. Fix some error messages in appspot generator too.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2040 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-17 09:35:48 +00:00
srowen 5311b1ce27 Issue 1054 unescape vCard / VEVENT correctly and don't strip semicolon in vCard
git-svn-id: https://zxing.googlecode.com/svn/trunk@2021 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-10 15:01:33 +00:00
srowen f328cb618e Update ZXingTest to work on 3.x+, mostly by removing the camera capture bit for now. It can come back after android/ is updated and can be cloned again. Updated android-integration with better API and ability to specify package. Now ZXingTest uses our integration code. It's updated for Android 2.x and reports camera params in a slightly better form. Also fixed a few Android 2.x issues and related intent integration stuff left over from other recent changes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2020 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-10 11:16:24 +00:00
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