Commit Graph

226 Commits

Author SHA1 Message Date
Luis Díaz Más 4ed5bdc78b CMake: Supress MSVC PDB warnings 2018-11-27 18:20:20 +01:00
Robin Mills 89375979d8 https://github.com/Exiv2/exiv2/issues/555
I have restored the Macro EXIV2_TEST_VERSION in include/exiv2/version.hpp
I have added an option --version-test to exifprint.cpp to test/validate EXIV2_TEST_VERSION works as documented.
Version strings in Exiv2 v0.27 and later have a fourth digit to indicate the pre-release number of the build.
Pre-release builds should never be used for production purposes.
2018-11-19 11:38:26 +00:00
Luis Díaz Más e20329b8e0 Remove EXV_HAVE_DLL and disable C4251 always on msvc. 2018-11-11 12:27:26 +01:00
Luis Díaz Más 2d1e1fe6ef Reduce the scope of variables 2018-11-07 23:17:26 +01:00
Luis Díaz Más dc7eb5008b Add explicit to constructors with 1 argument 2018-11-07 23:17:26 +01:00
clanmills 4a1d0962fc Fix samples/tags.cpp to call ExifTags::taglist() (https://github.com/Exiv2/exiv2/issues/465) 2018-10-26 17:47:15 +02:00
Robin Mills 12d44f8f17 Fix https://github.com/Exiv2/exiv2/issues/468 2018-10-26 17:47:15 +02:00
Luis Díaz Más c43d998457 Fix cppcheck issues: passedByValue 2018-10-11 13:40:03 +02:00
Luis Díaz Más 989acd18c7 Fix cppcheck issues: uninitMemberVar & uninitVar 2018-10-11 13:40:03 +02:00
Robin Mills 8b9cbc5888 Update taglist sample with more functionality 2018-10-11 12:43:25 +02:00
Luis Díaz Más 18690f4c54 Provide default and copy constructor for AnyError 2018-09-14 13:20:08 +02:00
Luis Díaz Más 2afba9b127 Remove useless cmake information message 2018-09-12 19:22:31 +02:00
Luis Díaz Más 603692a1d8 Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
Luis Díaz Más 320e186f44 Fix -Wmaybe-uninitialized warnings 2018-09-12 19:22:31 +02:00
Luis Díaz Más 2698490584 Delete CRW samples that were not compatible with MinGW 2018-09-02 19:07:33 +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
Luis Diaz Mas a9c9451588 Remove localtime.c and any other trick to handle timegm 2018-08-27 13:33:02 +02:00
Luis Diaz Mas d96b619515 Add braces for the main functions in the new source files at samples 2018-08-26 09:23:08 +02:00
Luis Diaz Mas 00502eabdd Move mrwthumb to samples 2018-08-26 09:23:08 +02:00
Luis Diaz Mas e9a6597a48 Move xmpdump to samples 2018-08-26 09:23:08 +02:00
Luis Diaz Mas ac51fda7b5 Move crwparse to samples 2018-08-26 09:23:08 +02:00
Luis Diaz Mas 32b618b1c7 Move crwedit from exiv2lib to samples 2018-08-26 09:23:08 +02:00
Luis Diaz Mas 0d9065274e Remove redefinition of UNUSED 2018-08-24 16:45:52 +02:00
Luis Diaz Mas 145f8fc456 Port redmine issues from the bash test suite to the python one.
* Port redmine issue 1024
 * Port redmine issue 1026
 * Port redmine issue 1040
 * Port redmine issue 1044
 * Port redmine issue 1053
 * Port redmine issue 1054 (not finished yet; I found some issues there)
 * Port redmine issue 1058
 * Port redmine issue 1062
 * Port redmine issue 1080
 * Port redmine issue 1108
 * Port redmine issue 1112
 * Port redmine issue 1114
 * Port redmine issue 1122
 * Port redmine issue 1140
 * Port redmine issue 1144
 * Port redmine issue 1145
 * Port redmine issue 1153
 * Port redmine issue 1155
 * Port redmine issue 1166
 * Port redmine issue 1167
 * Port redmine issue 1170
 * Replace escaped chars in 1054
 * Add brackets in exiv2json::main()
 * Link all sample apps against exiv2lib
 * Changes in 1054
 * test 1054: fix dates depending on Local time
 * Do not run make with VERBOSE=1
 * Use system_tests.path
 * Fix windows issues with quotes
 * Use system_tests.path
 * Use itertools to simplify test code
2018-07-31 18:18:14 +02:00
Luis Diaz Mas abf6e8ec27 Remove code related with autotools 2018-06-08 14:04:25 +02:00
Luis Díaz Más 8baf07decb Fix warnins reported by -Wunused-variable
This trick is a bit nasty but I do not want to mess up to much with the
XMPSample application at this moment. Once we have more unit tets for
that part of the code, the xmpsample could disappear.
2018-05-31 14:44:24 +02:00
Luis Díaz Más 335607054c Use enforce instead of std::assert to fix warning about unused variable in realease mode 2018-05-31 14:44:24 +02:00
Luis Diaz Mas 773bdfd14e Create a header where to keep an unique definition of UNUSED 2018-05-31 14:44:24 +02:00
Dan Čermák 79f8d63a8b Whitespace cleanup 2018-05-16 10:15:53 +02:00
Dan Čermák 5e36363138 Fix double promotion issues 2018-05-16 10:15:53 +02:00
Dan Čermák bc58752d18 Remove useless casts
This commit removes only casts where type A is cast to the exactly same
type (and not to a platform dependent typedefs)
2018-05-16 10:15:53 +02:00
Luis Díaz Más d55b2b1b65 Remove HAVE_STDLIB_H check and replace stdlib.h by cstdlib 2018-05-04 11:20:43 +02:00
Mario Emmenlauer 548d7688c7 samples/geotag.cpp: fixed debugging code to be in the correct ifdef 2018-04-08 07:45:48 +02:00
Dan Čermák 8b7941b733 [cmake] Add EXTRA_COMPILE_FLAGS to samples & unitTests
Add the additional compiler flags added by -DEXIV2_TEAM_EXTRA_WARNINGS=ON to
the targets in samples/ & unitTests/
This fixes #204
2018-03-29 13:17:24 +02:00
Luis Díaz Más d21e794239 Do not deference value when it does not exist (Thanks D4N) 2018-03-20 21:30:06 +01:00
Dan Čermák efe2ccdcb6 Replaced all hardcoded error codes with ker... constants 2018-02-18 09:28:57 +01:00
Robin Mills 8f5b795eaa Fixes to autotools build to respect mn_int.cpp files (#186)
* Fixes to autotools build to respect mn_int.cpp files

* Changes following Luis' code review.
2017-12-11 16:48:07 +01:00
tbeu 2efc2e79da Remove obsolete id 2017-11-19 11:17:12 +01:00
tbeu 5df8b01b77 Remove obsolete svn revision 2017-11-19 11:17:11 +01:00
Luis Díaz Más 3dbc7c1969 Fix compilation on Windows 2017-10-03 21:07:43 +02:00
Robin Mills 22aaff8682 Fix cmakeBuild.cmd --static to use zlibstatic.lib 2017-09-15 20:15:58 +01:00
clanmills d366943297 Refactoring EXV_USE_CURL and EXV_USE_SSH 2017-09-13 16:54:10 +01:00
Robin Mills 60d436c969 Many changes to CMakeLists.txt and cmakeBuild.cmd to support unicode, static linking, passing shared library build flags. 2017-09-05 21:36:56 +01:00
Robin Mills 78e7cc8f69 Fixing samples/Makefile on linux 2017-08-23 10:07:31 +01:00
Robin Mills b5cac373b1 Merge pull request #39 from Exiv2/autotoolsMacLink
./configure --with-adobe[=2016|2014|2013] for MacOSX
2017-08-23 08:04:48 +01:00
Andreas Sturmlechner a768b85191 Lowercase target_link_libraries 2017-08-22 18:21:28 +02:00
Andreas Sturmlechner 1fc319c0e4 Lowercase add_custom_target, configure_file, install macros 2017-08-22 18:21:28 +02:00
Andreas Sturmlechner 40565761d1 Lowercase add_{definitions,subdirectory}, set{_*} and option macros 2017-08-22 18:21:18 +02:00