Commit graph

2032 commits

Author SHA1 Message Date
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 22e0f8daa2 Issue 1046 better Hungarian strings
git-svn-id: https://zxing.googlecode.com/svn/trunk@2019 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-05 21:58:26 +00:00
srowen 8e74f87264 Fix top build.xml
git-svn-id: https://zxing.googlecode.com/svn/trunk@2017 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-04 21:54:45 +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 957e179e63 Issue 933 handle multi-day all-day events
git-svn-id: https://zxing.googlecode.com/svn/trunk@2015 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-04 16:31:22 +00:00
srowen e7781ae3d8 Another bug fix to go with Issue 1044 -- this one only cropped up on my tablet though
git-svn-id: https://zxing.googlecode.com/svn/trunk@2014 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-04 16:27:14 +00:00
srowen c3659d2b94 Real fix for Issue 1044 - don't use static CameraManager
git-svn-id: https://zxing.googlecode.com/svn/trunk@2013 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-04 11:21:21 +00:00
srowen 86034a4442 More for Issue 1044 -- avoid another possible NPE though I don't think the underlyling issue has been found yet
git-svn-id: https://zxing.googlecode.com/svn/trunk@2010 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 20:02:32 +00:00
dswitkin@google.com c79fb8474b Added build targets for IntelliJ which can't see the built-in Android targets.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2009 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 19:58:54 +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 6f5841d8bb Issue 1044 maybe avoid NPE in onDraw() before CaptureActivity.onResume()
git-svn-id: https://zxing.googlecode.com/svn/trunk@2007 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 17:04:54 +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 d148e9ff9d Issue 1029 Can now override device locale for purposes of determining which Google to search
git-svn-id: https://zxing.googlecode.com/svn/trunk@2005 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 13:33:50 +00:00
srowen ce014a5ffc Fixed potential bug in not recycling bitmaps that I spied from BS+
git-svn-id: https://zxing.googlecode.com/svn/trunk@2004 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 11:31:10 +00:00
srowen b972ba85ac Better Portuguese translation from BS+ (from professional translator)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2003 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 11:30:50 +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 8683a96213 Fixed Market thinking Barcode Scanner was not compatible with any devices.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2001 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-01 21:51:30 +00:00
dswitkin a4b22a4183 Fixed typo in effort to build new ZXingTest binary.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2000 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-01 20:45:08 +00:00
dswitkin 914b22c8a0 Bumped Barcode Scanner to 3.7 final.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1999 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-01 19:50:14 +00:00
dswitkin@google.com e85b7095c0 OK, last time, promise.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1998 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-01 19:36:33 +00:00
dswitkin@google.com d58a7bbe1a One more small build change.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1997 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-01 19:31:36 +00:00
dswitkin@google.com 25cbc8b74e Reverted accidental build changes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1996 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-01 19:25:47 +00:00
smparkes@smparkes.net 90f7e7b865 Correctly set rotated points values. Closes Issue 1041.
The rotate code was setting the rotated points in a copy of the vector of points, rather than
in the vector owned by the result. Use a reference instead of a copy so changes persist.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1995 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-28 18:31:35 +00:00
smparkes@smparkes.net 274dd52968 add new files used by the datamatrix decoder; closes Issue 1040
git-svn-id: https://zxing.googlecode.com/svn/trunk@1994 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-28 17:49:47 +00:00
luizcroc@gmail.com 41daacd233 Issue 1022: updating cpp port and making DataMatrixReader almost as good as java
git-svn-id: https://zxing.googlecode.com/svn/trunk@1992 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-28 11:24:50 +00:00
dswitkin@google.com d65dd54e03 Some small Bulgarian fixes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1991 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-27 16:27:02 +00:00
srowen 92b240a5c1 Issue 1021 command line encoder
git-svn-id: https://zxing.googlecode.com/svn/trunk@1990 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-22 17:07:57 +00:00
srowen 352dc25139 Merge miscellaneous additional changes from my near-identical version of hiding text while encoding QR codes: redact menu bar title, and some javadoc improvements in Intents
git-svn-id: https://zxing.googlecode.com/svn/trunk@1989 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-21 23:30:39 +00:00
dswitkin@google.com deea2105b7 Added an option to hide the contents when encoding a barcode via Intent.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1988 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-21 21:09:13 +00:00
dswitkin@google.com d7c5cc9b38 One small change to the release notes before cutting 3.7 beta 1.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1987 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-20 21:34:24 +00:00
smparkes@smparkes.net 709f7f060a Port multi reader from Java. Closes Issue 1027.
I tweaked things a little, small formatting (to help me diff) and
made some of the protection levels match the Java code. Nothing
semantic.

Great work. Thanks!

git-svn-id: https://zxing.googlecode.com/svn/trunk@1986 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-20 19:11:33 +00:00
smparkes@smparkes.net 0e6aad1092 tighten iphone readme wording
git-svn-id: https://zxing.googlecode.com/svn/trunk@1985 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-20 15:20:19 +00:00
srowen 8cc8d7b078 Hindi auto-translation
git-svn-id: https://zxing.googlecode.com/svn/trunk@1984 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-19 16:26:58 +00:00
smparkes@smparkes.net e0dda55c37 add new files to cpp xcode ios project
git-svn-id: https://zxing.googlecode.com/svn/trunk@1983 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-19 15:11:38 +00:00
smparkes@smparkes.net c6f8ef2272 add default base to quiet llvm-gcc warning
git-svn-id: https://zxing.googlecode.com/svn/trunk@1982 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-19 14:26:01 +00:00
smparkes@smparkes.net b910002170 make line endings consistent
git-svn-id: https://zxing.googlecode.com/svn/trunk@1981 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-19 14:25:51 +00:00
smparkes@smparkes.net a71d01c4a3 minor xcode cleanup
git-svn-id: https://zxing.googlecode.com/svn/trunk@1980 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-19 12:59:03 +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
dswitkin@google.com 4dfe5d7828 Made some changes for Ice Cream Sandwich and bumped the version
to 3.7 beta 1.


git-svn-id: https://zxing.googlecode.com/svn/trunk@1978 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-18 18:45:31 +00:00
srowen bfbcf2b796 Use new translate v2 API; v1 is deprecated and we should probably not have been encouraging people to access it automatically as it was apparently quite abused. v2 is for-pay; bring your own key. But, no more rate limiting.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1977 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-18 10:04:57 +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 31cb655de2 minor C++ optimizations
This is mostly just inlining a couple of getter/setter pairs that are in the tightest loops.
The only semantic change is making the retain() and release() methods of the reference counted
objects non-virtual, which allows them to be inlined.

See also http://groups.google.com/group/zxing/browse_thread/thread/6ea93730a7093199

git-svn-id: https://zxing.googlecode.com/svn/trunk@1974 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-15 00:58:10 +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
smparkes@smparkes.net 69988df528 C++ changes that match r1969
git-svn-id: https://zxing.googlecode.com/svn/trunk@1972 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-14 13:03:03 +00:00
smparkes@smparkes.net 6d2e7ab5ca minor C++ build tweaks
git-svn-id: https://zxing.googlecode.com/svn/trunk@1971 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-14 12:34:33 +00:00
srowen 27a047ebe2 Guess at avoiding an NPE reported by a user
git-svn-id: https://zxing.googlecode.com/svn/trunk@1970 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-14 08:41:14 +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
dswitkin@google.com a75bc5d021 Minor whitespace and comment cleanup.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1968 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-13 19:09:31 +00:00
smparkes@smparkes.net e65b139447 add new files to xcode project file
git-svn-id: https://zxing.googlecode.com/svn/trunk@1967 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-13 15:22:16 +00:00
smparkes@smparkes.net 2c787d8440 Port r1623 changes to C++
This provide C++ support for Hanzi from issue 582. With it the C++
qrcode blackbox test results again match the Java results.

The changes are mostly a re-port of various pieces of the Java code
for supporting modes and bit stream parsing in QR codes. It expands
the modes/parsing including ECI and FNC, refactors StringUtils as was
done in Java, and makes DecoderResult include the fields that the Java
code has.

Although the non-qrcode blackbox tests don't all match the Java code
(a known issue) the entire blackbox suite was run under valgrind and
has no errors, including invalid memory references and leaks.

This commit also includes a few cleanups for things like files that
had mixed line endings, i.e., a combination of LF and CR-LF.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1966 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-13 15:21:13 +00:00