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
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