Commit Graph

5743 Commits

Author SHA1 Message Date
Luis Díaz Más
320e186f44 Fix -Wmaybe-uninitialized warnings 2018-09-12 19:22:31 +02:00
Luis Díaz Más
18ded9ccf3 Use static version of libcurl.
Note that this will simplify the packaging/deployment
2018-09-12 19:22:31 +02:00
Luis Díaz Más
f47b0546ac Make clear separation between linker and compiler flags 2018-09-12 19:22:31 +02:00
Luis Díaz Más
e3a75ede85 Disable verbosity in make call 2018-09-12 19:22:31 +02:00
Luis Díaz Más
0bfa0168df Cleanup some of the PACKAGE_XXX variables and rely in the ones given by the project() command 2018-09-12 19:22:31 +02:00
Luis Díaz Más
14ab688b7f Provide more CPack variables 2018-09-12 19:22:31 +02:00
Luis Díaz Más
b2b04fe2d6 Use project() command to provide project version
- Note that we cannot find libiconv without saying that Exiv2 is also a C project
2018-09-12 19:22:31 +02:00
Luis Díaz Más
68f7c5e047 Use Cpack for generating the tarballs (TODO: document) 2018-09-12 19:22:31 +02:00
Luis Díaz Más
980f2e9462 Use isnan(f) as an alternative to isinf() on __APPLE__ 2018-09-12 08:11:54 +02:00
Luis Díaz Más
7d32da890b Add remaining pocs for the issue 428 and adapt the regression test 2018-09-11 09:49:59 +02:00
Robin Mills
6d1c318fc6 Fixes in PngChunk::readRawProfile 2018-09-11 09:49:59 +02:00
Luis Díaz Más
f5b40f3e82 Fix more issues in PngChunk::readRawProfile 2018-09-11 09:49:59 +02:00
Luis Díaz Más
847da051c0 Fix bug in PngChunk::readRawProfile
- Now it takes into account text.size_ when searching for a newline
char.
2018-09-11 09:49:59 +02:00
Luis Díaz Más
a6a1c31140 Add integration test to reproduce the issue 2018-09-11 09:49:59 +02:00
Luis Díaz Más
dce05ac488 Remove occurrences of EXIV2_BUILDDIR and rely in EXIV2_BINDIR 2018-09-11 06:54:44 +02:00
Luis Díaz Más
3d558be1aa Fix architecture setting in conan 2018-09-10 10:31:00 +02:00
Luis Díaz Más
7f111be2d0 Do not run unit tests with VS2008 and VS2010. Too much templating magic there ... 2018-09-10 10:31:00 +02:00
Luis Díaz Más
6b77e9f6c8 Do not use std::vector::data() which is not part of c++98 2018-09-10 10:31:00 +02:00
Luis Díaz Más
1f244b84e0 Use architecture x86 for VS2008 and VS2010 (In CMake generators) 2018-09-10 10:31:00 +02:00
Luis Díaz Más
20f7d24bc4 Use architecture x86 for VS2008 and VS2010 2018-09-10 10:31:00 +02:00
Luis Díaz Más
552f1e25c3 Fix vcvarsall paths for 2008 and 2010 2018-09-10 10:31:00 +02:00
Luis Díaz Más
333ae8a8b1 Try to compile the project also with VS2008 and VS2010 2018-09-10 10:31:00 +02:00
Luis Díaz Más
24be5a514e [Appveyor] Build exiv2 with Visual Studio 2012 and 2013
- Integration tests had to be disabled with 2012 and 2013. There were
few (4) tests failing for these cases.
- Only bring libiconv with conan when a windows subsystem is detected.
- libiconv can be enabled now with a conan option.
- Use infinity instead of INFINITY
- Use conan_basic_setup(). Fixes a problem with gtest is VS2012
- call vcvarsall.bat for each compiler version so that nmake can be
found.
2018-09-10 10:31:00 +02:00
Luis Díaz Más
2ae0cffe18 isinf for Visual Studio versions previous to 2013 2018-09-10 10:31:00 +02:00
Luis Díaz Más
4161099b91 Fix warnings reported by MSVC 2018-09-10 10:31:00 +02:00
Luis Díaz Más
da24df0ba0 snprintf versions for VS versions previous to 2015 2018-09-10 10:31:00 +02:00
Luis Diaz Mas
67e448669e Use -Wno-format-overflow when compiling value.cpp to skip false positive warning 2018-09-10 08:40:55 +02:00
Luis Diaz Mas
0cf7d4fad8 Add unit tests for the TimeValue class 2018-09-10 08:40:55 +02:00
Robin Mills
59e84ed1ae
Merge pull request #431 from piponazo/removeCrwSamples
Remove crw samples + Fix build with MinGW
2018-09-02 20:39:10 +01:00
Luis Díaz Más
2698490584 Delete CRW samples that were not compatible with MinGW 2018-09-02 19:07:33 +02:00
Luis Díaz Más
597b17fff5 Simplify timegm.h and make it usable with MINGW 2018-09-02 19:05:01 +02:00
Dan Čermák
1e23238fa4 Fix memory leak in Params::getopt() 2018-09-01 20:19:45 +02:00
clanmills
3c42fdddeb Fix include <exiv2/exiv2.hpp> to include exiv2/config.h (and consequential changes)
Fix cltest.cpp and version.cpp to report MSVC 2017 in which _MSC_VER == 1910
2018-09-01 20:19:45 +02:00
Robin Mills
6f5c339859 Fix getopt-test to build on MSVC (which does not have unistd/getopt()) 2018-09-01 20:19:45 +02:00
Robin Mills
74bc0e0535 Changes for cross-platform getopt 2018-09-01 20:19:45 +02:00
Hombre
a226d6a650 Fixing typo in cmakefiles and removing REGEX dependencie for Cygwin 2018-08-31 08:31:20 +02:00
Hombre
28da26f174 Adding MINGW32 toolchain support 2018-08-31 08:31:20 +02:00
D4N
7812043b7d
Merge pull request #419 from D4N/testsuite_api
Testsuite improvements
2018-08-30 22:50:06 +02:00
Dan Čermák
7d9ed33bde Initialize DataBuf with 0s => fix valgrind error 2018-08-30 16:26:56 +02:00
Dan Čermák
0f43d0f49d [Travis CI] Add new matrix entry: run test suite under Valgrind 2018-08-30 16:26:56 +02:00
Dan Čermák
ed28e15152 [testsuite] Add option to run all commands under valgrind 2018-08-30 16:26:56 +02:00
Dan Čermák
c7a3a57aff [testsuite] Port redmine issue #1137 (requires stdin passing) 2018-08-30 16:26:56 +02:00
Dan Čermák
992877bb39 [testsuite] Implement the supplying of stdin to commands 2018-08-30 16:26:56 +02:00
Dan Čermák
872e158173 [testsuite] Port redmine issue 1043
This test used shell wildcards, which we work around by creating the
list of files to process manually.
2018-08-30 16:26:56 +02:00
Dan Čermák
bf43cbbccc [testsuite] Set env var TZ in redmine issue 1054 & remove skip
The manual export TZ=UTC in run.sh is thereby no longer needed
2018-08-30 16:26:27 +02:00
Dan Čermák
9cfcfb98a2 [testsuite] Add feature to set environment variables 2018-08-30 12:33:31 +02:00
Dan Čermák
116f5fe5bd [testsuite] Port redmine issue 1074 using the binary output feature 2018-08-30 12:33:31 +02:00
Dan Čermák
4f8c150582 [testsuite] Added binary output checking to the test suite 2018-08-30 12:33:16 +02:00
Dan Čermák
bf50b582cb [testsuite] Improve PEP8 compliance 2018-08-27 23:28:11 +02:00
Dan Čermák
deb9c23df8 [testsuite] Add option to run tests from a single file only 2018-08-27 23:28:03 +02:00