19 Commits

Author SHA1 Message Date
Benjamin Dobell
bc1f054246 Remove commented out code 2015-05-26 13:22:29 +10:00
Benjamin Dobell
d34acfd518 Merge pull request #15 from dushibaiyu/master
change cstdlib abs to cmath abs(float). in mingw 4.9.1 abs(in castlib…
2015-05-26 13:19:47 +10:00
渡世白玉
c4fd6e223c change cstdlib abs to cmath abs(float). in mingw 4.9.1 abs(in castlib) is erro 2015-05-26 10:48:23 +08:00
Benjamin Dobell
5f630c50d5 Merge pull request #6 from SebGDev/master
Some bugfixes
2015-05-15 18:29:29 +10:00
Benjamin Dobell
caf0dfdbf8 Merge pull request #7 from mojodna/build-docs
Clarify how to build with make
2015-05-14 02:07:40 +10:00
SebGDev
5785b6d76f compatibility for c++ standard version less than 11
Signed-off-by: SebGDev <Sebastian_Goebel@gmx.net>
2015-05-11 13:51:20 +02:00
Seth Fitzsimmons
70b49eebe2 Clarify how to build with make 2015-02-24 10:42:01 -08:00
SebGDev
03c3fa63d1 Fixed memory leak
Old zxing issue:
https://code.google.com/p/zxing/issues/detail?id=1796

This is really strange, because GenericGF has a GenericGFPoly reference and
GenericGFPoly has a GenericGF reference the zxing:Ref "garbage collection" is
not working properly.
The bugfix replaced GenericGF zxing:Ref in GenericGFPoly with a normal reference.
The same trick is used at ModulusPoly.h (pdf417\decoder\ec).
2015-02-10 17:29:00 +01:00
SebGDev
103489879a Fixed memory leak
Old zxing issue 1795:
https://code.google.com/p/zxing/issues/detail?id=1795
2015-02-10 17:18:53 +01:00
SebGDev
49db77659e Microsoft visual studio compiler 2012 compatibility
http://blogs.msdn.com/b/vcblog/archive/2013/06/28/c-11-14-stl-features-fixes-and-breaking-changes-in-vs-2013.aspx
--> You must #include <algorithm> when calling std::min() or std::max()
2015-02-10 17:09:47 +01:00
SebGDev
f082e12bc5 Remove of unnecessary bytes array 2015-01-21 10:47:47 +01:00
SebGDev
f44fe7b6d2 Memory leak 2015-01-20 15:03:04 +01:00
SebGDev
975b67b248 Bugfix UPCAReader: The maybeReturnResult function checks whether the Result
is UPCA or EAN13. The old version returned an uninitialised Ref<Result>
(at the EAN13 case) which let MultiFormatUPCEANReader::decodeRow (line 90)
crash because a Result is assumed.

The bugfix is technically oriented at the java version.

Note: This error doesn't appear at normal tests because the MultiFormatUPCEANReader
uses the EAN13 reader for UPC-A detection. The UPCAReader is only used if
DecodeHints BarcodeFormat::UPC_A ist set.
2015-01-20 14:28:17 +01:00
Benjamin Dobell
4675f70e66 Merge pull request #3 from SebGDev/master
bugfix: qrcode, fixed several memory leaks (cleanup before throw)
2015-01-20 19:16:02 +07:00
SebGDev
9cba60be8f bugfix: qrcode, fixed several memory leaks (cleanup before throw) 2015-01-20 13:05:45 +01:00
Benjamin Dobell
cfd33a7014 Add /build/ to .gitignore 2014-12-17 02:10:18 +11:00
Benjamin Dobell
a6abe5e6d3 Do not force library to be static 2014-12-17 01:09:48 +11:00
Benjamin Dobell
e4d48e0da3 Fixed incorrect header guard macro definition 2014-12-16 21:26:45 +11:00
Benjamin Dobell
b80a24cc6e Initial commit 2014-12-16 20:25:55 +11:00