Commit Graph

6778 Commits

Author SHA1 Message Date
LeoHsiao
eb4bc191fc Refactor xmpparser-test.sh to xmpparser_test() 2020-09-19 15:54:25 +08:00
LeoHsiao
88671a6da7 Refactor write2-test.sh to write2_test() 2020-09-19 14:57:18 +08:00
LeoHsiao
184af474d0 Refactor write-test.sh to write_test() 2020-09-19 14:54:36 +08:00
LeoHsiao
7c45ce4dec Optimize diff() 2020-09-19 14:47:19 +08:00
LeoHsiao
03ba77ddfd Refactor webp-test.sh to webp_test() 2020-09-18 21:34:37 +08:00
LeoHsiao
069cfc6c66 Refactor version_test.sh to version_test() 2020-09-18 21:32:49 +08:00
LeoHsiao
2d72d9aac5 Add description for the module lxml 2020-09-16 22:41:01 +08:00
LeoHsiao
ae1d95d4fa Refactor tiff-test.sh to tiff_test() 2020-09-16 22:22:08 +08:00
LeoHsiao
c121fbeb38 Refactor stringto-test.sh to stringto_test() 2020-09-14 20:04:58 +08:00
LeoHsiao
65927f5ce1 Refactor stdin-test.sh to stdin_test() 2020-09-14 20:00:40 +08: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
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
LeoHsiao
4457056157 Mainly optimize utils.py:
- Correct the function name excute() to execute(), and add the stdin parameter to it
- Add logs to class 'HttpServer'
- Adjust the code order in utils.py
2020-08-30 22:15:11 +08:00
Robin Mills
da1b02d644 fix_1268_GPSProcessingMethod 2020-08-29 12:10:50 +01:00
Robin Mills
963c91fe8a fix_1266_GPSProcessingMethod 2020-08-29 10:22:23 +01:00
LeoHsiao
b6bf32bd5f Rename test cases from 'test*()' format to '*test()' format 2020-08-27 23:12:10 +08:00
LeoHsiao
ca06206f50 Rename class 'Conf' to 'Config' 2020-08-27 20:40:34 +08:00
LeoHsiao
cfaf4e6fa2 Refactor imagetest.sh to test_image() 2020-08-25 22:37:21 +08:00
LeoHsiao
b900cea6cf Rewrite diff() to simulate the output of GNU diff 2020-08-24 22:25:35 +08:00
LeoHsiao
bdf350a2a9 Refactor exiv2-test.sh to test_exiv2() 2020-08-24 00:13:51 +08:00