Commit graph

1783 commits

Author SHA1 Message Date
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
smparkes@smparkes.net 492d773f59 formatting cleanup before trying to make the last failing C++ qr blackbox test pass
git-svn-id: https://zxing.googlecode.com/svn/trunk@1965 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-13 15:20:47 +00:00
smparkes@smparkes.net beeef242b2 formatting cleanup before trying to make the last failing C++ qr blackbox test pass
git-svn-id: https://zxing.googlecode.com/svn/trunk@1964 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-13 15:20:25 +00:00
smparkes@smparkes.net 9558d83d71 port relevant parts of r1937 to C++
git-svn-id: https://zxing.googlecode.com/svn/trunk@1962 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-12 18:11:40 +00:00
smparkes@smparkes.net ccf08aabe8 port r1921 java changes to C++
git-svn-id: https://zxing.googlecode.com/svn/trunk@1961 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-12 17:41:05 +00:00
smparkes@smparkes.net c7e2f62050 port r1899 java changes to C++
git-svn-id: https://zxing.googlecode.com/svn/trunk@1960 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-12 17:02:48 +00:00
smparkes@smparkes.net b72031d6e8 port r1875 to C++
git-svn-id: https://zxing.googlecode.com/svn/trunk@1959 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-12 16:41:57 +00:00
srowen d2ed7976ef Merge from "Barcode Scanner Plus": avoid deprecated AndroidHttpClient and use java.net for networking; better HTTP headers, better redirect handling
git-svn-id: https://zxing.googlecode.com/svn/trunk@1958 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-12 11:53:54 +00:00
smparkes@smparkes.net 3bd4e1e903 trying to cleanup/stabalize the xcode settings, remove a few deprectations, and plug some small leaks
git-svn-id: https://zxing.googlecode.com/svn/trunk@1957 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-11 19:46:52 +00:00
smparkes@smparkes.net e1457f76a7 remove some dead code
git-svn-id: https://zxing.googlecode.com/svn/trunk@1956 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-11 19:39:56 +00:00
smparkes@smparkes.net 57c61ae22d fix file modes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1955 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-09 19:25:17 +00:00
smparkes@smparkes.net 3a180d077e add i386 arch for simulator pre-xc4.2
git-svn-id: https://zxing.googlecode.com/svn/trunk@1954 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-09 18:55:59 +00:00
smparkes@smparkes.net 7762515c59 fix objc init signatures
git-svn-id: https://zxing.googlecode.com/svn/trunk@1953 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-09 18:55:44 +00:00
smparkes@smparkes.net f395cd4a48 tweak target sdk and force llvm-gcc
git-svn-id: https://zxing.googlecode.com/svn/trunk@1952 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-09 18:55:33 +00:00
srowen b6128650bb Issue 1009 typo fix; remove unused catch variables
git-svn-id: https://zxing.googlecode.com/svn/trunk@1951 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-08 10:38:07 +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 468ec159b8 Remove 2 unnecessary wi-fi permissions; thread configuration and wait for wi-fi to enable
git-svn-id: https://zxing.googlecode.com/svn/trunk@1947 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-30 05:20:44 +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 6a2c4e8d2f Go back to 75% reticle size
git-svn-id: https://zxing.googlecode.com/svn/trunk@1944 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-28 18:27:36 +00:00
srowen dc5f292c21 Manifest changes I think we want: no state needed with one exception; always restart from scanning from Home
git-svn-id: https://zxing.googlecode.com/svn/trunk@1943 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-28 05:26:29 +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 e76c5785c7 Issue 997 fixes for Bulgarian strings
git-svn-id: https://zxing.googlecode.com/svn/trunk@1936 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-26 19:06:32 +00:00
dswitkin@google.com 08218b7a90 Updated the Market URLs we use to conform to:
http://developer.android.com/guide/publishing/publishing.html#marketintent


git-svn-id: https://zxing.googlecode.com/svn/trunk@1935 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-26 16:46:01 +00:00
srowen 72b52f32c0 Group and label share/wi-fi permissions for Market users benefit
git-svn-id: https://zxing.googlecode.com/svn/trunk@1934 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-25 12:39:04 +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 92adf1a6d5 Further simplification; correct-er handling of ASCII vs hex SSID, and password
git-svn-id: https://zxing.googlecode.com/svn/trunk@1932 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-25 11:23:33 +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 db08da3bb1 Reticle is getting quite small with new larger boundaries for tablets -- go to 60%, to help focus too
git-svn-id: https://zxing.googlecode.com/svn/trunk@1930 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-24 16:43:04 +00:00
srowen 4add23c286 Issue 987 chop down most of the wi-fi functionality so that it triggers the network change and moves on; seems much less fragile in the face of Android device strangeness
git-svn-id: https://zxing.googlecode.com/svn/trunk@1929 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-24 15:46:17 +00:00
srowen 6a85049428 Issue 993 more zh-tw translation updates
git-svn-id: https://zxing.googlecode.com/svn/trunk@1928 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-23 08:35:15 +00:00
srowen b2f6743ed4 Issue 991 tiny Chinese translation fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1927 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-22 16:20:16 +00:00
ftylitak@gmail.com 7f1462994c small fix (forgotten invalid resource elements)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1926 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-21 20:52:04 +00:00
ftylitak@gmail.com f0e371d622 Updated QQrDecoder (ZXing + Qt).
Added zoom functionality + autofocus + automatic detection (at the immediate previous version the user had to press a button to initiate decoding).

git-svn-id: https://zxing.googlecode.com/svn/trunk@1925 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-21 08:15:08 +00:00
smparkes@smparkes.net f2e3fdc5e3 add armv6 arch and remove redundant build settings
git-svn-id: https://zxing.googlecode.com/svn/trunk@1924 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-20 22:02:45 +00:00
smparkes@smparkes.net b5c1f5e96d add armv6
git-svn-id: https://zxing.googlecode.com/svn/trunk@1923 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-20 18:04:22 +00:00
smparkes@smparkes.net 8491949707 remove llvm overrides
git-svn-id: https://zxing.googlecode.com/svn/trunk@1922 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-20 18:04:15 +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
ftylitak@gmail.com e1aab01022 Updated Symbian project QQrDecoder. It now supports the latest devices and Symbian OSs (Symbian^3, Belle, Anna).
Uses Qt SDK + Camera APIs from Qt Mobility.

Updated the tutorial which shows how to use it.

Updated the installation file included to test without compiling (also advice the tutorial for details).

git-svn-id: https://zxing.googlecode.com/svn/trunk@1920 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-19 10:32:17 +00:00
srowen 5596e81085 Explicitly don't require touchscreen, wifi, autofocus -- think Market was assuming touchscreen/wifi due to permissions
git-svn-id: https://zxing.googlecode.com/svn/trunk@1919 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-18 09:14:58 +00:00
vikrama e0b5697fa0 Remove an unused variable from the WifiReceiver class.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1918 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-18 03:50:16 +00:00
vikrama 44046e24c6 Adding minor comments
git-svn-id: https://zxing.googlecode.com/svn/trunk@1917 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-17 19:43:25 +00:00
vikrama b87bc99393 Minor whitespace and comment cleanup
git-svn-id: https://zxing.googlecode.com/svn/trunk@1916 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-17 19:36:00 +00:00
vikrama ae8dc933dc Adding a helpful README. I keep forgetting the appspot workflow if I don't
use it for a week.



git-svn-id: https://zxing.googlecode.com/svn/trunk@1915 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-17 18:00:25 +00:00
srowen a0f08df51e Japanese language strings better as "values-ja", and other small translator tweaks
git-svn-id: https://zxing.googlecode.com/svn/trunk@1914 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-17 16:23:36 +00:00
srowen 3a08978654 Issue 986 remove maps link as it no longer works on maps links
git-svn-id: https://zxing.googlecode.com/svn/trunk@1913 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-16 21:52:49 +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 ea218233b9 Improvements to string translation
git-svn-id: https://zxing.googlecode.com/svn/trunk@1910 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-16 20:35:28 +00:00