Commit graph

14 commits

Author SHA1 Message Date
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 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 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
flyashi ca1cf153d6 GreyscaleRotatedLuminanceSource: implemented getMatrix()
BitMatrix: implemented getRow


git-svn-id: https://zxing.googlecode.com/svn/trunk@1551 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-20 20:24:20 +00:00
flyashi 313fc8e90e C++ port: Make sure #indef/#define/#endif's and copyright information on all header files is in a common format.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1506 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-04 13:36:20 +00:00
dmaclach 505af10197 Cleaned up the iPhone code so that it compiles with the 3.1.2 SDK. Also tightened up warnings and cleaned up the C++ code that violated the warnings.
Fixed up some memory issues.



git-svn-id: https://zxing.googlecode.com/svn/trunk@1334 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-04 21:44:53 +00:00
ralf.kistner@gmail.com d2aacefff2 C++ port made more compatible with uSTL (no functional changes).
git-svn-id: https://zxing.googlecode.com/svn/trunk@1271 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-02 14:11:53 +00:00
ralf.kistner@gmail.com 34607d71ee Many changes to the C++ port.
- Refactoring:
 - All the files are now in a zxing folder,
 - Changed the namespaces so that everything is either in zxing or
zxing::qrcode.
 - Moved most function implementations from the headers to source
files.
- Ported the new design from the Java code with LuminanceSource,
BinaryBitmap, Binarizer, GlobalHistogramBinarizer and
LocalBlockBinarizer.
- Fixed two rare segmentation faults: one in
GridSampler::checkAndNudgePoints, and one in
ReedSolomonDecoder::decode. These would simply cause
ArrayIndexOutOfBoundsExceptions in Java, but have to be checked
explicitly in C++.
- With help from Erno Mäkinen, used std::vector instead of ArrayRef in
many places, as ArrayRef causes problems on Symbian phones.
- Added scons build files.
- Added a test application using ImageMagick.
- More small changes.



git-svn-id: https://zxing.googlecode.com/svn/trunk@1092 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-01 17:30:30 +00:00
christian.brunschen f09b742ea2 * Throw the actual exception objects, rather than pointers to them, i.e.:
- replace |throw new FooException()| with |throw FooException()|
  - replace |catch (FooException *ex)| with |catch (FooExceptio ex)|
  - update all uses of caught exceptions appropriately:
    . replace |ex->foo| with |ex.foo|
    . remove all attempts to delete the caught exception(s)
* Add 'const' to the 'char *' declarations for character encoding names



git-svn-id: https://zxing.googlecode.com/svn/trunk@1002 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-27 13:22:03 +00:00
christian.brunschen 0fe5931684 fixed CountedTest compilation problem attempting to access a private variable. Also fixed TestRunner exit status.
git-svn-id: https://zxing.googlecode.com/svn/trunk@543 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-02 08:36:54 +00:00
srowen e0db8f9271 Standardize and update all copyright statements to name "ZXing authors" as suggested by open-source team to correctly attribute copyright in a project with contributions from several sources.
git-svn-id: https://zxing.googlecode.com/svn/trunk@455 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 20:56:24 +00:00
christian.brunschen d02ea4bd84 First version of the iphone client that actually works, for at least a subset
of the intended functionality.



git-svn-id: https://zxing.googlecode.com/svn/trunk@444 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 08:52:37 +00:00