226 Commits (b9d94e61fe20dd42bd4ab721e570e40bce9e18a0)

Author SHA1 Message Date
Luis Diaz Mas e87424b5e0 Add CTest support 4 years ago
Luis Diaz Mas 8035b7f320 cmake: Add target for obtaining local covarage reports 4 years ago
Luis Díaz Más 53f18cf408 conan: use cmake_paths generator instead of cmake
We also upgraded the xcode version on Travis-CI
4 years ago
Luis Díaz Más c480be5814 cmake: disable -Wuseless-cast 4 years ago
Luis Díaz Más 75bf666d3b Remove typedef to Dictionary::const_iterator 4 years ago
Luis Díaz Más 6c0059b5a0 cmake: Treat xmpsdk headers as system ones
This is done so that when we use EXIV2_TEAM_EXTRA_WARNINGS we do not get
warnings about XMPSDK (we do not want to deal with those)
4 years ago
Luis Díaz Más 83dda6ccd7 Fix warnings related to -Wdeprecated-copy 4 years ago
Robin Mills 33d38dc472 Fix Cygwin64 to use -std=gnu++11 (instead of -std=c++11). MinGW/msys2 remains broken on CI. It's OK on my machine. 4 years ago
Luis Díaz Más 2f3989518a cmake: new toolchain file for MinGW cross-compilation on Ubuntu 4 years ago
Luis Díaz Más 2de3bad869 Remove EXIV2_ENABLE_VIDEO and related stuff 4 years ago
Luis Díaz Más 94b87a8dec Remove deprecated SSH support 4 years ago
Luis Díaz Más cd5c8fba49 remove some cmake old checks + newer gtest version 4 years ago
Luis Díaz Más 0bbaa6eff3 cpp: Replace auto_ptr by unique_ptr 4 years ago
Miloš Komarčević b92002b304 Match closing statement, doh 4 years ago
Miloš Komarčević d49affaec5 Check for symlinks when uninstalling
Partly addresses #1501
4 years ago
Robin Mills b975ad4cbb Push change in PR #1500. Thank you @kmilos. 4 years ago
Miloš Komarčević e3c78623f7 Include HEIC type explicitly 4 years ago
Miloš Komarčević 0da1a50afe Revert style changes 4 years ago
Miloš Komarčević e09d093ccf Minor whitespace formatting 4 years ago
Robin Mills 1b47e1e8f6 Fix linux/CI build breaker. 4 years ago
Robin Mills ea968149f2 Fix linux/CI build breaker. 4 years ago
Peter Kovář f0a321dedb [WIP] Base Media File Format 4 years ago
Peter Kovář 92469f4c27 [WIP] Add ISO/IEC Base Media File Format 4 years ago
Miloš Komarčević 8d06265470 Fix MinGW build for Ninja generator 4 years ago
Robin Mills ec3d6faacf New profiles as documented in README-CONAN.md 5 years ago
Robin Mills fded2da978 Documentation revision in response to #1394 5 years ago
Luis Díaz Más 30773c92a3 WIN32_LEAN_AND_MEAN propagated with exiv2lib target 5 years ago
Robin Mills a82bcebaab fix_cygwin_stack_protection_0.27 5 years ago
Luis Díaz Más f39b23806b Assume existence of stdint.h 5 years ago
Luis Diaz Mas bfd0e0593b Use check_cxx_compiler_flags instead of C version 5 years ago
Robin Mills 0005edf2f9 fix_solaris_stack_protection_0.27 5 years ago
Robin Mills ff0671ccb7
Merge pull request #1275 from jtojnar/fix-paths-0.27
cmake: Fix paths with absolute GNUInstallDirs
5 years ago
Jan Tojnar 48f2c9dbba
cmake: Fix paths with absolute GNUInstallDirs
It is not generally true that `CMAKE_INSTALL_<dir>` variables are relative paths:

https://github.com/jtojnar/cmake-snips#concatenating-paths-when-building-pkg-config-files
https://github.com/jtojnar/cmake-snips#assuming-cmake_install_dir-is-relative-path

Let's join them properly as paths, not strings.

On Windows, the absolute paths will likely remain unsupported as neither the CMake function,
nor the C++ code is able to detect absolute paths.

Signed-off-by: Jan Tojnar <jtojnar@gmail.com>
5 years ago
clanmills 1a2300565a fix_1276_BUILD_PO_0.27 5 years ago
Thomas Petazzoni bbe0b70840
Properly detect availability of flags in cmake/compilerFlags.cmake (#1252)
Instead of relying on fragile and complex logic to decide if a
compiler flag is available or not, use the check_c_compiler_flag()
macro provided by the CMake standard library.

This for example avoids using -fcf-protection on architectures that
don't support this option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

(cherry picked from commit dd2d181755a6e642c0a8e3225ef5407fff49eb3a)

When resolving the conflict from applying the patch, I also took the liberty
of re-indenting the snippet correcly and fixing mismatching
HAS_FCF_PROTECTION and HAS_FSTACK_PROTECTOR_STRONG variables
(the conditionals used GCC_ prefix but the variables were definded without it).

Signed-off-by: Jan Tojnar <jtojnar@gmail.com>
5 years ago
Robin Mills c85e504faf Disable libiconv support when building with Visual Studio. 5 years ago
clanmills 6d7a5266ea fix_1219_mingw_crw_date_0.27 5 years ago
Luis Díaz Más 9893d291b2 Prevent conflicts with uninstall target 5 years ago
Luis Díaz Más 6667e13c4b Only use __cplusplus trick from VS2017 5 years ago
clanmills 4511817028 MSVC Changes. Leave CMake to set /std:. Only set /Zc:__cplusplus for VS2019+. Updated README.md 5 years ago
Robin Mills cd5512e761 WIP. C++11 support 5 years ago
clanmills da91f04692 Don't report CMAKE_CXX_COMPILER - it's on the previous line of output. 5 years ago
clanmills 40602989eb Print summary to report compiler and c++ standard. 5 years ago
clanmills b22d1de8b1 Remove add_compile_options(-std=gnu++98) 5 years ago
clanmills 65dde52cf9 Updated documentation. Removed -DEXIV2_BUILD_USE_C++11 5 years ago
clanmills 63a13e8620 Adding option -DEXIV2_BUILD_USE_C++11 5 years ago
Robin Mills c51a8aa8ed Explicitly set compiler option -std=gnu++98 on Solaris 5 years ago
Robin Mills 47d89a56bb
Merge pull request #1176 from Exiv2/0.27_cxx_standard
fix_1163 Require c++98 privately only in library target
5 years ago
Robin Mills 1da92b2146
Merge pull request #1185 from Exiv2/update_release_notes_0.27
Update release notes v0.27.3 RC1
5 years ago
Robin Mills 920a03886e Use PROJECT_VERSION_TWEAK to identify RC# 5 years ago
clanmills 5f36bf46e8 Fix for issue identified in #1175 5 years ago
Luis Diaz Mas fabfcac274 Require c++98 privately only in the library target 5 years ago
clanmills b50d6503bc fix_1102_msysGCC93_0.27 5 years ago
Robin Mills 98adf41df9 Documentation maintenance 5 years ago
Robin Mills fab9effd52 Fix definitions of VM, VN, VD and VR 5 years ago
Robin Mills 759d8ba022 enhanced_release_docs1_v0.27 5 years ago
clanmills f9b83fc7c6 put test log into the build log. 5 years ago
clanmills 66d1bd7476 Fixing Solaris packaging. 5 years ago
clanmills f6edeaea63 Add packaging support for Solaris 5 years ago
clanmills 13565be3d2 Change for solaris. 5 years ago
clanmills e62bd8b94e fix_1158_0.27 5 years ago
Robin Mills f0b15d40ef fix_packaging_0.27 5 years ago
clanmills 7658d8aefd fix_macOS_0.27 5 years ago
Robin Mills d3444d4547 fix_GCC48 5 years ago
Andreas Sturmlechner 0890d66a6e EXIV2_ENABLE_SSH: Fix compatibility with >=libssh-0.9.2
0.9.1 remains broken regardless and is beyond fixing in this place.

Build-tested with both libssh 0.9.0 and 0.9.2.

Solution copied from KDE's kio-extras commit 24506c2af8d1904a99538543804306c6c2b81ca2
6 years ago
Luis Diaz a62e35edb6 Remove compiler flag which is causing issues in Fedora_MinGW 6 years ago
Luis Diaz 907a5aef3b clang guard for -fstack-protector-strong 6 years ago
Luis Díaz Más 9a0889c744 FORTIFY not used on OSX 6 years ago
Luis Díaz Más 006dcde403 Better usage of --coverage flags 6 years ago
Luis Díaz Más 9c7c3c6d22 Allow to use new compiler flags in clang 6 years ago
Luis Díaz Más 1fa5839c8e cmake: use add_compile_option & add new security flags
- Replacement of CMAKE_CXX_FLAGS by add_compile_option where it was
  possible
- Addition of new compiler flags which are interesting in terms of
  software security
- Do not mix coverage flags with -O0 and -g
6 years ago
Robin Mills de9ce41a14 Add README-SAMPLES.md to packages 6 years ago
Robin Mills 73c592cdc9 Change EXIV2_ENABLE_NLS default to Off, removed EXIV2_BUILD_PO. Documentation Update. Restored find_package(Intl REQUIRED) 6 years ago
Robin Mills 3ad2c8a525 fix_966_macosx_libintl_mono_framework 6 years ago
Andreas Sturmlechner 89d8160a41
Drop now obsolete FindSSH.cmake 6 years ago
Andreas Sturmlechner e85ce17fc9
Switch to libssh's own libssh-config.cmake
This is provided by libssh since 2013.
6 years ago
Robin Mills f4a37c63f2 version.cpp Pragma removed. Platform includes simplified.
cmake/packaging.cmake        Changed comment about VS version numbers
6 years ago
Robin Mills 955962eaa8 Code revisions after review by @piponazo 6 years ago
Robin Mills b0a9cb5624 NetBSD/FreeBSD Support 6 years ago
Robin Mills 514ae0fa89 Fix #780 6 years ago
Luis Díaz Más 00f31f2d35 Replace check_function_exists by check_cxx_symbol_exist 6 years ago
Dan Čermák d58ad1d056 [Doxygen] define PARSED_BY_DOXYGEN when building the documentation
This allows us to hide internal namespaces and some template magic which serves
little purpose to have in the API documentation
6 years ago
Luis Diaz Mas aea51f5d41 [doxygen] disable generation of TODO list 6 years ago
Luis Diaz Mas 84baf3cec0 Update doxygen template to doxygen 1.8.13 6 years ago
Luis Diaz Mas 3b2e2cc442 Generate doxygen.hpp page 6 years ago
Michał Walenciak 6887822243 removing unused header generation 6 years ago
Luis Diaz Mas eca3eb711a Do not tread deprecation warnings as errors 7 years ago
Luis Diaz Mas 25bfeb4245 Print deprecation warning in CMake report 7 years ago
Luis Diaz Mas 0e02d46aa8 CMake: add mechanism to deprecate code 7 years ago
Luis Díaz Más 04c9b181cc Fix #644. Export specializations of BasicError
- Only export BasicError::setMsg which is the only implementation present in the .cpp
- Only export BasicError specialization on __APPLE__

It seems that gcc automatically adds the attribute when the visibility
settings are set to hidden. See this link for more information:
https://reviews.llvm.org/D35388
7 years ago
Luis Diaz Mas e706cca190 Fixes in .pc file for being compatible with more distributions 7 years ago
Luis Diaz Mas acc9fa012d Reliable detection of strerror_r variants 7 years ago
Andreas Schneider ad95969a08 cmake: Use correct installation dir for generated docs
Fixes #623

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit f8f63a8b4033549d47384c6e2b1972ae1a2775fc)
7 years ago
Robin Mills 38e2fb7ca7 Fix video/webready package name. 7 years ago
Robin Mills 6e14f4a3ba Fixing another typo! 7 years ago
Robin Mills e7c9fc2d83 Fix typos is cmake/packaging.cmake 7 years ago
Robin Mills 97292aef66 Update packaging to respect Video, Webready and Edition of MSVC 7 years ago
Robin Mills c32b413f74 Fix: https://github.com/Exiv2/exiv2/issues/575 7 years ago
Robin Mills d8a15e1d13 Do not put "Clang" in the Darwin build bundle name. 7 years ago
Robin Mills 2ba7866f22 Restore cpack_source_generator 7 years ago