Commit Graph

8059 Commits

Author SHA1 Message Date
Luis Díaz Más
690dde3440 Add tests for ImageFactory::checkMode (for all the supported image types) 2022-02-14 17:08:50 +01:00
Luis Díaz Más
335b4a71ed test ImageFactory::load with existing images in test/data 2022-02-14 17:08:50 +01:00
Luis Díaz Más
f10283f118 bug: Fix crash when calling ImageFactory::create(none) 2022-02-14 17:08:50 +01:00
Luis Díaz Más
012ce835c2 New tests to check what happens with ImageFactory::create(crazyValue) 2022-02-14 17:08:50 +01:00
Luis Díaz Más
fd92ed0a31 No need anymore to include each image header to use the ImageFactory 2022-02-14 17:08:50 +01:00
Luis Díaz Más
5a9799ffb2 Replace ImageType namespace by a enum class 2022-02-14 17:08:50 +01:00
Luis Díaz Más
c499d02dbf Add characterisation test for ImageFactory::create(type)
- Split test identifying which Images can be created and which not
- Add tests for the ImageFactory::create(type, filePath)
2022-02-14 17:04:55 +01:00
Luis Díaz Más
e450c49b07
Merge pull request #2090 from Exiv2/main_WinUtf8
Get argv from main entry point encoded as UTF-8
2022-02-14 16:37:36 +01:00
Luis Diaz
f2279e6b41 ci: do not stop on failure 2022-02-14 12:16:34 +01:00
Luis Díaz Más
23f089a1b6 Apply suggestions from code review
Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com>
2022-02-13 22:51:00 +01:00
Luis Díaz Más
f59a9abfe3 Remove unused PRINTUCS2 CMake option 2022-02-13 22:51:00 +01:00
Luis Díaz Más
4fcbb7ad11 doc: update notes about MSYS 2022-02-13 22:51:00 +01:00
Luis Díaz Más
7e024033a6 ci: Use MSYS UCRT environment
- Use the CMake generator 'MSYS Makefiles' for MSYS builds
- Run CI build in parallel
- MSYS with NLS OFF
2022-02-13 22:50:58 +01:00
Luis Díaz Más
432555eae8 Replace platform specific code with std::filesystem 2022-02-13 22:49:32 +01:00
Luis Díaz Más
fdfb295cc4 windows: Trick to get UTF-8 encoded argv in main entry point
- Adapt exifprint to the new wmain strategy
- Delete have_unicode_path
- wmain does not work with MSYS & MinGW
- cmake: entry point via cmake instead of pragma
- cmake: better doc for MSVC flags
- Fix entry point in sample apps
- Adapt CMake code to work with MSVC & MinGW
2022-02-13 22:49:32 +01:00
Luis Díaz Más
7933ff401d Remove dead code around EXV_UNICODE_PATH 2022-02-13 22:49:32 +01:00
Luis Díaz Más
50fc40bb7c Add system test to reproduce issue with special characters 2022-02-13 22:49:32 +01:00
Christoph Hasse
e3ca59b01f move test_regression_allfiles.py into its own subdirectory and add the test to cmakelists.txt 2022-02-13 22:46:54 +01:00
Christoph Hasse
b318b9de65 feat(testing): add a new extensive regression test that runs exiv2 over every test file we have 2022-02-13 22:46:54 +01:00
Christoph Hasse
d0131ebb75 move test reference files into their own subdirectory 2022-02-13 22:46:54 +01:00
Christoph Hasse
87bdcb4127
fix(testing): codecov reports (#2094)
* fix(testing): fix codecov.yml

* fix(testing): make code coverage procedure for main and PRs identical

* fix(testing): make codecov ignore the right folders
2022-02-13 22:40:07 +01:00
Luis Díaz Más
cfbe0b48ac
ci: remove conanCache from release workflow. Use newer python (#2092) 2022-02-13 12:16:52 +01:00
Kevin Backhouse
2a3dd2def9
Replace Value::toLong with Value::toInt64. (#2062)
* Replace Value::toLong with Value::toInt64.

* Fix compiler warning.

* Fix compile error.

* Fix declaration of canonEv

* Fix compiler warning.

* Fix compiler warning.

* Use int64_t for offsets in tiffcomposite_int.cpp

* Fix compiler warning.

* Fix compiler warnings.

* Fix compiler warning.

* Fix compiler warning.

* Fix compiler warning.

* Fix compiler warning.

* Remove static_cast<long int> in TagDetails initializer.
2022-02-12 21:16:18 +00:00
Luis Díaz Más
a8a995f546
Upgrade documentation regarding CMake & Tests (#2088)
* doc: remove section about C++11 compilation

Now we are hardcoding the C++17 requirement into cmake/compilerFlags.cmake

* doc: upgrade doc notes regarding CMake & test execution

* Replace cmake to CMake

* doc: cosmetics in README

* doc: recommend usage of cmake --install .

* doc: Remove hard-coded section numbers

* doc: review markdown section levels

* doc: link to latest MSYS2 installer and update notes about CI pipelines
2022-02-11 14:37:02 +01:00
Luis Díaz Más
99f363ce6b
Merge pull request #2086 from Exiv2/main_FixRelease
Fix Release pipeline
2022-02-10 10:29:20 +01:00
Luis Diaz
b9677f64d7 ci: use conan cache in other windows builds 2022-02-10 09:50:58 +01:00
Luis Diaz
fa9c9bd4cc Fix release build (see #2085) 2022-02-10 09:34:27 +01:00
Luis Díaz Más
8d2f6ad33d
Merge pull request #2080 from Exiv2/main_revisePythonTest
Revise python test and dependencies to sample applications
2022-02-10 08:07:46 +01:00
Luis Díaz Más
40a59abef8 cmake: warning message when python3 is not found 2022-02-09 22:19:49 +01:00
Luis Díaz Más
3e0a5b97a3 Remove deprecated bash tests 2022-02-09 22:19:49 +01:00
Luis Díaz Más
c7185c71db Move all tests depending on sample applications to bash_tests 2022-02-09 22:19:49 +01:00
Luis Díaz Más
2a818e924d remove usage of exiv2json in a test (#199) 2022-02-09 22:19:49 +01:00
Luis Díaz Más
40f84182b8 Remove deprecated test file 2022-02-09 22:19:49 +01:00
Luis Díaz Más
1b90036cf2
ci-conan: be more explicit about desired compiler in conan profile (#2085)
* ci-conan: be more explicit about desired compiler in conan profile

* conan: upgrade to latest version
2022-02-09 19:30:34 +01:00
Sturmflut
f2385a35aa
[nikon] Add Tokina ATX-i 11-20mm F2.8 CF lens (#2072)
* [nikon] Add Tokina ATX-i 11-20mm F2.8 CF lens

* [nikon] Add test for Tokina ATX-i 11-20mm F2.8 CF lens

Co-authored-by: Sturmflut <Simon Raffeiner>
Co-authored-by: Luis Díaz Más <piponazo@gmail.com>
2022-02-09 17:41:51 +01:00
Luis Díaz Más
f44c307905
Merge pull request #2073 from Sturmflut/tokina-at-x-14-20-f2-pro-dx
[nikon] Add Tokina AT-X 14-20 F2 PRO DX lens
2022-02-08 22:58:19 +01:00
Sturmflut
d53080c820
[tests] Add test for Tokina AT-X 14-20 F2 PRO DX lens on Nikon bodies 2022-02-08 20:46:48 +01:00
Sturmflut
eeb1e1d5f7 [nikon] Add Tokina AT-X 14-20 F2 PRO DX lens 2022-02-08 19:49:23 +01:00
Luis Díaz Más
4ae42b107d
Merge pull request #2078 from Exiv2/main_recoverDatasetLists
Revert "Delete dead code"
2022-02-08 13:31:53 +01:00
Luis Díaz Más
1f07715141 Revert "Delete dead code"
This reverts commit 1d6bac61f2.
2022-02-08 07:57:22 +01:00
Luis Díaz Más
275bcb99a7
Merge pull request #2076 from postscript-dev/update_docs
Update markdown documentation
2022-02-06 19:23:17 +01:00
Luis Díaz Más
0f9bb53fc8
Merge pull request #2075 from Sturmflut/fix-git-guidelines-md
Fix branch names in GIT_GUIDELINES.md (master was renamed to main)
2022-02-06 18:59:32 +01:00
Luis Díaz Más
b96091880a
Merge pull request #2061 from Exiv2/main_pvs
Adding static analysis with PVS-Studio
2022-02-06 18:52:45 +01:00
Luis Díaz Más
ac9439e931
Merge pull request #2063 from Exiv2/main_iterators
Modernise code around iterators & smart pointers
2022-02-06 18:40:53 +01:00
postscript-dev
09f566dbde
Update README-TESTS.md with test file policy 2022-02-06 13:00:14 +00:00
postscript-dev
559914d41d
Fix markdown header formatting 2022-02-06 10:46:45 +00:00
Sturmflut
d9a41ad71c Fix branch names in GIT_GUIDELINES.md (master was renamed to main) 2022-02-05 18:32:08 +01:00
Peter
46c329081f
Fix exiv2: verbose extract stdout mutli-file (#2068)
When using `exiv2 --verbose --extract` with stdout and multiple files, the output is concatenated together.
2022-02-05 16:43:34 +00:00
Luis Díaz Más
4746bb46af cmake: export compile commands 2022-02-05 11:25:51 +01:00
Luis Díaz Más
87f0708bc7 Be more explicit in codecov.yml 2022-02-05 11:08:13 +01:00