Commit Graph

6786 Commits

Author SHA1 Message Date
Luis Díaz Más
f39b23806b Assume existence of stdint.h 2020-09-16 21:53:49 +02:00
Luis Díaz Más
b7ee13eb63 Use ctime instead of time.h 2020-09-16 21:39:27 +02:00
Luis Diaz Mas
bfd0e0593b Use check_cxx_compiler_flags instead of C version 2020-09-16 11:53:11 +02:00
Robin Mills
f518b41afb
Merge pull request #1296 from Exiv2/fix_ci
Fix_ci_0.27
2020-09-16 06:47:32 +01:00
clanmills
7c895dd69f Disable Fedora/CentOS/Archlinux on gitlab/CI. 2020-09-15 17:14:03 +01:00
clanmills
d4db8e4e42 -DCMAKE fix. Thanks @piponazo 2020-09-15 14:38:19 +01:00
Robin Mills
e2500bc744
Merge pull request #1294 from jtojnar/includedir
cmake: Fix include_directories for exiv2lib target (0.27->master)
2020-09-15 10:29:43 +01:00
clanmills
84400dbac0 Don't use ASAN on CI. 2020-09-15 09:34:55 +01:00
clanmills
b4aa32988a Simplify ci/run.sh 2020-09-13 14:48:10 +01:00
clanmills
c50cf7d88d -CMAKE_CXX_STANDARD=98 and Disable UNIT_TESTS. 2020-09-13 14:23:57 +01:00
clanmills
15f8050158 Remove .. from CMAKE_OPTIONS. 2020-09-13 13:57:20 +01:00
clanmills
79c83d1852 Use ubuntu on CI 2020-09-13 11:08:44 +01:00
clanmills
14e8c708ed Fix #1300 2020-09-13 10:27:02 +01:00
clanmills
f483ed03a7 Tweak conversion.sh for TZ conversion error in MSVC. 2020-09-11 14:33:44 +01:00
LeoHsiao
d98d30ced2
Merge pull request #1289 from kmilos/0.27-rm-exiv2_ext
Remove EXIV2_EXT variable references
2020-09-11 16:41:34 +08:00
clanmills
9fb0df5f53 Disable coverage (see #1297) 2020-09-11 09:29:52 +01:00
clanmills
6ddb1f63df Build with C++11 2020-09-11 09:02:41 +01:00
clanmills
534b0c9941 Do not build WebReady with Visual Studio. 2020-09-11 09:02:08 +01:00
Jan Tojnar
306c8a6fd4
cmake: Fix include_directories for exiv2lib target
The headers are installed to ${CMAKE_INSTALL_INCLUDEDIR} but the CMake config was hardcoded to include directory.
2020-09-10 22:23:39 +02:00
Robin Mills
b60325a2ea fix_solaris_stack_protection_0.27 2020-09-10 15:05:04 +02:00
Miloš Komarčević
92fbfc9f7f Remove remaining vestiges of binary_extension 2020-09-10 12:05:46 +02:00
Robin Mills
bb771e5ea9
Merge pull request #1290 from Exiv2/fix_solaris_stack_protection_0.27
fix_solaris_stack_protection_0.27
2020-09-09 17:27:08 +01:00
Robin Mills
0005edf2f9 fix_solaris_stack_protection_0.27 2020-09-09 17:23:02 +01:00
Miloš Komarčević
8a68658f18 Remove EXIV2_EXT variable references 2020-09-09 11:25:44 +02:00
Robin Mills
2b807703c0
Merge pull request #1257 from LeoHsiao1/0.27-maintenance
Rewrite the bash test scripts into Python scripts
2020-09-09 06:41:19 +01:00
LeoHsiao
f99db7d61b Refactor preview-test.sh to preview_test() 2020-09-06 23:06:19 +08:00
LeoHsiao
478f0e9635 Add find() 2020-09-06 23:04:48 +08:00
LeoHsiao
9e8eae0639 Refactor modify-test.sh to modify_test() 2020-09-06 21:45:46 +08:00
LeoHsiao
cec472132d Refactor function execute() to class Executer 2020-09-06 21:43:31 +08:00
LeoHsiao
147ed39b3f Adjust code spacing 2020-09-06 16:01:27 +08:00
LeoHsiao
99be739a9a Refactor path-test.sh to path_test() 2020-09-06 15:42:38 +08:00
LeoHsiao
356a575b5a Refactor modify-test.sh to iso65k_test() 2020-09-06 15:14:39 +08:00
LeoHsiao
63b074d690 Deprecated Config.exiv2_ext 2020-09-06 13:11:20 +08:00
Robin Mills
ff0671ccb7
Merge pull request #1275 from jtojnar/fix-paths-0.27
cmake: Fix paths with absolute GNUInstallDirs
2020-09-05 12:46:48 +01:00
Robin Mills
7573f66cd7
Merge pull request #1277 from Exiv2/fix_1276_BUILD_PO_0.27
fix_1276_BUILD_PO_0.27
2020-09-05 12:44:27 +01:00
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>
2020-09-05 11:18:46 +02:00
clanmills
1a2300565a fix_1276_BUILD_PO_0.27 2020-09-05 07:28:51 +01:00
Robin Mills
124c46379c
Merge pull request #1271 from jtojnar/fix-aarch64
Properly detect availability of flags in cmake/compilerFlags.cmake (#1252)
2020-09-04 19:36:34 +01:00
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>
2020-09-04 06:45:00 +02:00
LeoHsiao
65a0ab1827 Ignore .vscode 2020-09-03 23:33:57 +08:00
LeoHsiao
e976d3795a Ignore conversions_test() output differences on Windows 2020-09-03 23:31:09 +08:00
LeoHsiao
daa2a6fda5 Ignore printTest() output differences on Windows 2020-09-03 23:00:19 +08:00
LeoHsiao
caa1acf197 Adjust the format of the command on Windows 2020-09-03 22:29:20 +08:00
LeoHsiao
c7bf5dd12a Adjust line breaks, binary extension on Windows 2020-09-02 23:07:57 +08:00
LeoHsiao
7fc960c520 Add environment variables: EXIV2_HTTP, EXIV2_PORT 2020-09-01 23:19:11 +08:00
Robin Mills
ab6c91dd64
Merge pull request #1267 from Exiv2/fix_1266_GPSProcessingMethod
fix_1266_GPSProcessingMethod
2020-09-01 10:23:54 +01:00
Robin Mills
f5c069bede
Merge pull request #1268 from Exiv2/fix_1268_GPSProcessingMethod
fix_1268_GPSProcessingMethod
2020-09-01 10:23:21 +01:00
LeoHsiao
788f78987c Modify printTest(): Ignore the difference of data_dir 2020-08-31 01:10:10 +08:00
LeoHsiao
23b759bffa Refactor iptctest.sh to iptc_test() 2020-08-30 22:18:47 +08:00
LeoHsiao
ae6976e3e2 Add functions: diff_byte(), diffCheck() 2020-08-30 22:16:06 +08:00