smparkes@smparkes.net
af53906502
1d support for most C++ decoders; n.b. not pdf417 and rss
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2608 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-01 06:00:29 +00:00
smparkes@smparkes.net
b323e601b7
readd a couple of members not in tests
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2607 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-01 06:00:21 +00:00
smparkes@smparkes.net
913f87b1ce
1d complete; tests pass; need to valgrind
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2606 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-01 06:00:11 +00:00
smparkes@smparkes.net
71df521610
remove unsafe/error-prone constructor
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2605 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-01 06:00:04 +00:00
smparkes@smparkes.net
9eaaccc985
fix a case that causes a variable not used warning/error
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2604 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-01 05:59:57 +00:00
smparkes@smparkes.net
4d28115073
C++ 1D/cleanup first pass
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2603 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-04-01 05:59:09 +00:00
smparkes@smparkes.net
64e69a3e35
tweak for stricter warnings
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2567 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-02-06 22:21:35 +00:00
smparkes@smparkes.net
c55079baf7
update for xcode 4.6 warnings. Closes 1494
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2566 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-02-06 22:11:37 +00:00
srowen
890db6b427
Issue 1437 part 2, use cmath but use abs() again
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2557 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-17 20:45:39 +00:00
srowen
dc37cbadba
Issue 1437 use fabs()
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2556 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-17 19:52:40 +00:00
srowen
2287365f7a
Issue 1436 use return value from function to have an effect
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2555 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-17 19:50:16 +00:00
smparkes@smparkes.net
885856bbc4
Fix typo in Aztec. Tests match Java.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2491 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-30 22:00:23 +00:00
smparkes@smparkes.net
c8e2721f7d
Bring C++ datamatrix to parity w/Java wrt to the blackbox test
...
Plus a little whitespace cleanup and make resultpoint immutable.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2490 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-30 21:03:31 +00:00
smparkes@smparkes.net
7a82d685a3
tweak formating
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2489 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-29 22:33:26 +00:00
smparkes@smparkes.net
1cb7380961
tweak formating
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2488 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-29 22:33:20 +00:00
smparkes@smparkes.net
036918d4c0
tabs to spaces
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2487 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-29 22:33:14 +00:00
smparkes@smparkes.net
eb7b65365b
crlf -> lf
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2486 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-29 21:50:31 +00:00
smparkes@smparkes.net
b86a687f0f
fix EDIFACT decoding in C++
...
C++ version of http://code.google.com/p/zxing/source/detail?r=2387
Issue http://code.google.com/p/zxing/issues/detail?id=1332
The DM code is not totally up to date; some other changes were required to
modernize this one section but there may be other changes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2485 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-29 19:27:01 +00:00
smparkes@smparkes.net
3e1491d850
Generate proper FormatException on QR code with bad structured append segment
...
C++ port of http://code.google.com/p/zxing/source/detail?r=2367 /
http://code.google.com/p/zxing/issues/detail?id=1324
git-svn-id: https://zxing.googlecode.com/svn/trunk@2484 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-29 18:48:55 +00:00
srowen
6c2c27cb39
Issue 1326 DM memory leaks
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2417 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-26 11:37:30 +00:00
srowen
eb0ac26881
Issue 1335 remove dead store
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2391 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-14 21:27:23 +00:00
srowen
ea08f0348c
Issue 1333 fix off by one when not cropped
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2390 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-14 21:23:09 +00:00
smparkes@smparkes.net
88a46d0773
c++ version of r2344
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2346 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-08 17:28:20 +00:00
smparkes@smparkes.net
024829cea4
fix incorrectly applied java port in j2239
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2334 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-27 16:02:48 +00:00
smparkes@smparkes.net
f6840498b3
C++ fixes for r2239. Closes 1299
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2333 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-26 18:19:57 +00:00
smparkes@smparkes.net
afb81b1625
C++ changes for r2294
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2332 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-26 18:14:23 +00:00
smparkes@smparkes.net
7890d40026
C++ changes for 2281
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2331 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-26 17:44:25 +00:00
smparkes@smparkes.net
9a36418805
C++ changes for r2277
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2330 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-26 17:41:34 +00:00
smparkes@smparkes.net
67e77e3b88
update
...
C++ changes for r2269
git-svn-id: https://zxing.googlecode.com/svn/trunk@2329 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-26 17:30:48 +00:00
smparkes@smparkes.net
53e6b62f9f
update
...
C++ changes from r2247
git-svn-id: https://zxing.googlecode.com/svn/trunk@2328 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-26 17:21:13 +00:00
smparkes@smparkes.net
57b62766c6
new project files for cpp and objc, new sample apps for objc
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2313 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-20 02:39:31 +00:00
gln%google.com@gtempaccount.com
7541fcda65
Fix code where a string literal and an integer are added to together. This is treated as pointer arithmetic since the string literal is a pointer to a const char.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2246 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-02 17:45:07 +00:00
smparkes@smparkes.net
b1dfc23418
r2235 for C++
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2243 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-30 20:18:11 +00:00
smparkes@smparkes.net
c4b7431a44
NO_ICONV support in aztec decoder
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2220 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-06 16:41:08 +00:00
smparkes@smparkes.net
b10e1c6b0e
incorrect case fix; remove uint8_t use since doesn't fit style; remove old debugging cruft
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2219 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-06 16:22:41 +00:00
smparkes@smparkes.net
a3c1f26330
port recent GF tweak to C++
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2206 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-20 16:21:56 +00:00
smparkes@smparkes.net
2b01d912d3
ahti333's port of aztec and gfpoly + some fixes + Xcode tweaks for recent ECI updates
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2204 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-18 02:14:45 +00:00
smparkes@smparkes.net
3b4a8bcd52
port r2064 to C++
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2203 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-17 21:05:44 +00:00
smparkes@smparkes.net
8fde7556cf
C++ port of r2157
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2202 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-17 20:52:49 +00:00
smparkes@smparkes.net
e57ed43976
C++ changes to match Issue 1084/rev r2058 (and earlier)
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2201 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-17 20:30:43 +00:00
srowen
17af5d13e3
Issue 1170 also fix cpp version
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2192 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-16 17:21:45 +00:00
evansepdx@gmail.com
a3f11f293c
Decent speed improvement for HybridBinarizer::calculateBlackPoints(). The
...
approach is to stop testing for min/max values once the dynamic range
condition is satisfied.
On "typical" images, the function is about 20% faster. Worst-case images
(low contrast images) can be slower but they are less likely to be read
successfully.
This change makes no change to test results, only performance.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2174 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-10 01:43:47 +00:00
smparkes@smparkes.net
f3f5720a8e
Syntax error in C++ builds under DEBUG. Closes issue 1105.
...
From evansepdx. I thought I fixed this a long time ago. Thanks!
git-svn-id: https://zxing.googlecode.com/svn/trunk@2087 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-13 22:34:53 +00:00
smparkes@smparkes.net
d7a9a8b96a
added unit tests for C++ BitArray::reverse(). Closes issue 1104
...
From evansepdx. Thanks!
git-svn-id: https://zxing.googlecode.com/svn/trunk@2086 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-13 20:58:25 +00:00
smparkes@smparkes.net
a569f179ff
improve profiled performance of C++ BitArray::get(). Closes issue 1101
...
From evansepdx. Thanks!
git-svn-id: https://zxing.googlecode.com/svn/trunk@2083 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-12 22:54:51 +00:00
smparkes@smparkes.net
1cd49dbcb1
Update C++ code from Java implementation, binarizer and ReedSolomon. Closes issue 1099.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2082 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-12 22:38:50 +00:00
smparkes@smparkes.net
fefe0a466f
Fixes from evansepdx for FormatInformationTest.cpp. Closes issue 1066.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2060 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-30 15:47:36 +00:00
smparkes@smparkes.net
1a53f4f875
Fix a few issues in test raised by the stricter gcc flags. Closes issue 1085.
...
- Some of the cpp tests still fail to compile, but that's covered in issue 1066.
- I tweaked the SConscript to be a little happier with OS X and cppunit and imagemagick
in /opt/local. These should be benign on other systems but let me know if they aren't
and I'll back tweak them or back them out.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2057 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-30 00:47:33 +00:00
smparkes@smparkes.net
06ac4a110d
Turn on more conservative warnings in C++ and a few related cleanups.
...
Not quite gcc -pedantic clean: there are some variable-length auto arrays that aren't
standard C++. I don't want to touch those at this point.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2056 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-29 19:58:18 +00:00
smparkes@smparkes.net
5e3fdcb31e
fix signed/unsigned diff from java from the last patch
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2055 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-29 19:18:53 +00:00