Commit Graph

7692 Commits

Author SHA1 Message Date
Luis Díaz Más
faa3a607ab CMake: Remove FREEBSD variable + Remove commented code
- Plus: EXV_LOCALEDIR is now defined only when needed.
2018-11-14 19:53:59 +01:00
Luis Díaz Más
5fc905a799 CMake: remove variable EXIV2_SRC 2018-11-14 19:53:59 +01:00
Luis Díaz Más
fa5f057f8c CMake: Remove useless source_group commands 2018-11-14 19:53:59 +01:00
Luis Díaz Más
b208bcef7d CMake: CURL does not need to be propagated 2018-11-14 19:53:59 +01:00
Luis Díaz Más
37538399d6 CMake: Modernize src/CMakeLists.txt by using target_sources. 2018-11-14 19:53:59 +01:00
Luis Díaz Más
9980107586 Only include zlib directory when building the exiv2lib 2018-11-14 19:53:59 +01:00
Luis Díaz Más
4d47b08a16 CMake: Move gtest finding to unitTests folder 2018-11-14 19:53:59 +01:00
Luis Diaz Mas
e397f8f053 Fix #533 - Apply patch proposed by Dominique Nerriec 2018-11-14 07:55:21 +01:00
Luis Diaz Mas
83bb4aa80a code formatting 2018-11-14 07:55:21 +01:00
Luis Diaz Mas
ad7754d89c CI: Do not install gettext. Disable NLS on OSX 2018-11-13 20:12:58 +01:00
Luis Díaz Más
38b60a3e8e CMake: Simplify Intl finding 2018-11-13 20:12:58 +01:00
Luis Díaz Más
fecf313715 Automatic update of .po files after resolving #536 2018-11-13 20:12:58 +01:00
Luis Díaz Más
b91c0a8898 resolve #536 2018-11-13 20:12:58 +01:00
Luis Díaz Más
4ffc577e4e CMake: remove useless directory inclusions for exiv2
Note that ${CMAKE_SOURCE_DIR}/include is already passed to exiv2
through the exiv2lib target.
2018-11-13 20:12:58 +01:00
Luis Díaz Más
185bcaca05 Link exiv2 app againts libintl 2018-11-13 20:12:58 +01:00
Luis Díaz Más
aae84e4643 Add missing inclusions of cstdio and cstdarg 2018-11-11 12:27:26 +01:00
Luis Díaz Más
44a01863be Include unistd.h only where it is needed 2018-11-11 12:27:26 +01:00
Luis Díaz Más
38ed6de05d MSVC: Move compile definitions from config.h to CMake.
+ Also remove inclusion of <Windows.h> from config.h
2018-11-11 12:27:26 +01:00
Luis Díaz Más
8bf9ca8e6d MSVC: Delete deprecated stuff related to MSVC < 2008 2018-11-11 12:27:26 +01:00
Luis Díaz Más
e84b812d8a Tests: increase timeout 2018-11-11 12:27:26 +01:00
Luis Díaz Más
48f50342a8 conan: fix typo. Use libiconv for windows with the proper option 2018-11-11 12:27:26 +01:00
Luis Díaz Más
d1c2e2f64f bindtextdomain point to relative path to bin directory 2018-11-11 12:27:26 +01:00
Luis Díaz Más
7485bb54d7 Create function getProcessPath and add unit test for it
Debugging: Relative and Absolute path alternatives
2018-11-11 12:27:26 +01:00
Luis Díaz Más
3009cc4c0c Fix definition of EXV_ENABLE_NLS 2018-11-11 12:27:26 +01: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
307cb27d31 Move find_package(MSGFMT) to po/CMakeLists.txt.
We do not want to find the package unless the PO option is enabled.
2018-11-11 12:27:26 +01:00
Luis Díaz Más
274ef04f7e CMake: Proper way to require c++98 standard 2018-11-08 17:26:02 +01:00
Luis Díaz Más
417ad89e4b Pass argument by const reference 2018-11-07 23:17:26 +01:00
Luis Díaz Más
2203dce828 Fix compilation in clang 2018-11-07 23:17:26 +01:00
Luis Díaz Más
59ba209fe8 Move BlockMap to .cpp file (Remove it from API)
- Also make some BlockMap methods const
2018-11-07 23:17:26 +01:00
Luis Díaz Más
fab770887b Initialize member variables not initialized in the constructor 2018-11-07 23:17:26 +01:00
Luis Díaz Más
20a29cc9c4 Initialize variable in constructor initialization list 2018-11-07 23:17:26 +01:00
Luis Díaz Más
58a96d5908 Fix - Exception thrown in function that was declared not to throw 2018-11-07 23:17:26 +01:00
Luis Díaz Más
cd09cda6ff Clarify calculation precedence for >> and ? 2018-11-07 23:17: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
Luis Díaz Más
2ea9039879 Adapt fujifilm regression tests 2018-11-07 12:56:23 +01:00
Luis Díaz Más
1620198568 Update fujiColor tag with descriptions for new Fujifilm monochrome modes 2018-11-07 12:56:23 +01:00
Robin Mills
ac951622f4 Update DateTimeOriginal in NEF images 2018-11-06 19:28:11 +01:00
Luis Díaz Más
8026e39d66 CI: Update conan version to 1.9.0 2018-11-06 17:42:53 +01:00
Luis Diaz Mas
b07c480a0a Add regression test for #511 2018-11-06 14:40:36 +01:00
Luis Díaz Más
ae49250942 Check in Image::printIFDStructure if seek and reads are OK 2018-11-06 14:40:36 +01:00
Luis Díaz Más
59013f2e2f Formatting code 2018-11-06 14:40:36 +01:00
Luis Diaz Mas
b7c71f3ad0 PSD: enforce Length of image resource section < file size 2018-11-06 13:17:35 +01:00
Luis Diaz Mas
6896693251 PSD: Use Safe::add for preventing overflows in PSD files 2018-11-06 13:17:35 +01:00
Luis Diaz Mas
b6bc4262c4 Add regression test for #426 2018-11-06 13:17:35 +01:00
Luis Díaz Más
244f00bf3a CMake: Do not add conan global compiler flags
+ Add conan-gtest compile definitions for the unit_tests target
2018-11-06 08:02:33 +01:00
Luis Diaz Mas
ea5ae1b94c CMake: Do not use project(DESCRIPTION) (only available from CMake 3.9) 2018-11-05 19:28:29 +01:00
Luis Díaz Más
933ce589a6 Fix infinite loop in getopt.cpp
Note that the getopt code was looping forever when one of the argument
options was incorrect. Example:
./exiv2 -A 20:00:00 -Y 2018 -O 11 -D 01 ad myImage.tiff
2018-11-04 20:50:48 +01:00
Luis Díaz Más
09ad415f1f CMake: Define PROJECT_DESCRIPTION 2018-11-03 09:37:32 +01:00