34 Commits (aefd901befd375da7fdedfe031e818fcbc63dd67)

Author SHA1 Message Date
Mohamed Ali Chebbi 1c764358bb
Encapsulate video support with compilation variable EXV_ENABLE_VIDEO (#2448)
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO

* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: add variable to unit test files

* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: encapsulate in makefile

* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: fix PR windows matrix

* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: activate only for concerned CI tests

* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: desable for linux release

* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: add to Fuzz PR
2 years ago
Kevin Backhouse a4164ce866
Remove libinih from codebase and add it as a dependency instead. 3 years ago
Luis Díaz Más 13ecfbc233
Update ubuntu-latest tag to ubuntu-22.04 (#2439)
* Update ubuntu-latest tag to ubuntu-22.04

Everytime a CI service such a GitHub actions update the images
corresponding to their 'latest' tags, pipelines tend to have some
hipcups due to changes in the distribution default packages.

By fixing the images to a specific one, we should be more resilient to
changes in the Github actions environment.

* Use same build directory used in CMake presets
3 years ago
Miloš Komarčević 66b009a57b CI: bump conan version 3 years ago
Miloš Komarčević 4915a6ba8c CI: improved in-progress job canceling 3 years ago
Kevin Backhouse e97dc16738
Bump conan version to 1.52.0 3 years ago
Luis Diaz Mas dea611c2a0 ci: Upgrade conan to version 1.51.0 3 years ago
Miloš Komarčević 8001807f4d CI: cancel running jobs on updates 3 years ago
Luis Diaz 0309cb01cb ci: update conan version in all jobs 3 years ago
Luis Diaz e1ed1df0d7 Definition of new CMake presets & usage in CI jobs
Additional interesting changes in this commit:
- conan: use cmake-conan for better CMake-Conan integration
- cmake+doc: Remove deprecated EXIV2_ENABLE_WIN_UNICODE
- Ignore CMakeUserPresets.json
- doc: Add notes about the usage of CMake presets
3 years ago
Miloš Komarčević 7aae68e34e
Update CI actions (#2143) 3 years ago
Luis Díaz Más 18ba4e575c ci: Do not run CI jobs on documentation changes 3 years ago
Luis Diaz f2279e6b41 ci: do not stop on failure 3 years ago
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
3 years ago
Luis Diaz b9677f64d7 ci: use conan cache in other windows builds 3 years ago
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
3 years ago
Luis Díaz Más b0318c36be
Upgrade C++ standard to c++17 (#2052)
* Enable C++17 and use new inline specifier for const variable members

* Silence deprecation warning on MSVC

* Disable samples by default

* improvements after review
3 years ago
Luis Diaz d18889883e Rename GHA workflows for having more intuitive navigation 4 years ago
Luis Díaz Más 1b533035d9
ci: upgrade conan version on github actions (#2021) 4 years ago
Kevin Backhouse e87e440045
Remove Conan from MacOS build. 4 years ago
Kevin Backhouse a0cff1258c
Use same Conan version on macOS as on other platforms. 4 years ago
Kevin Backhouse c9638bb36b
Fix Conan on macOS 4 years ago
Kevin Backhouse e6ce13729b
Add workaround for conan outage: https://github.com/conan-io/conan/issues/9695 4 years ago
Kevin Backhouse 7a6acc4eca
Standardize on conan 1.39.0 4 years ago
Luis Díaz Más f30022d73d
Fix issues detected with PVS-Studio + other little improvements (#1689)
* avoid re-declaration of constant variables

* Replace pthreads critical section with std::mutex

* ci - better naming

* cmake - increase minimum version to 3.11. Use project DESCRIPTION

* fix - do not treat string::find() return type as bool

* remove conditions that were always true

* remove condition that were always false

* Remove EXV_HAVE_GMTIME_R which is not used anymore

* pixelWidth_ was inherited from Exiv2::Image

The width & height variables in the TiffImage class need to be mutable
to be able to change their values on the getters pixelHeight() and
pixelWidth() ... Do not ask me why ...

* Remove superfluous if

* pvs:V766 item with identical key added already

* pvs:V730 not all members were initialized (time)

* pvs:V730 not all members are initialized

* pvs:v668 no point in testing pointer against null after new

* pvs:V1048 variable assigned the same value

* replace c-style dynamic vector with std one

* pvs:547 fakeData is always true

* Remove useless constructor in derived class

* pvs:V690 modern way to disable copy-ctor

* Replace malloc/free with new/delete. No need to check for null

* pvs:V1028 cast operands and not result

* Remove custom MIN/MAX functions

* pvs:V595 pointer used before verified against null

* pvs: index used before being checked

* pvs:V1028 possible overflow. Cast operands

* pvs:v575 potential null pointer passed to other functions

* pvs:V547 deal with always true/false expressions

* pvs:V560 part of conditional expressions always false or true

* pvs:V701 possible break in realloc -> move to std::vector

* Make some classes 'final'

* Replace sprintf with std::to_string()

* fix compilation on windows
4 years ago
Luis Díaz Más 59a80eba2e mac - cmake_paths does not work directly on mac 4 years ago
Luis Díaz Más 4f057a84ee ci - Win builds without unicode + with warnings as errors 4 years ago
Luis Díaz Más f956a398ad ci - Use CTest in all the ci jobs 4 years ago
Luis Diaz Mas b163158100 ci - Use ctest 4 years ago
Luis Díaz Más d2083b3190 ci - Use generic cmake way to compile and install 4 years ago
Luis Diaz Mas e6bfa8eb7d ci - Use Ninja in rest of builds 4 years ago
Luis Diaz Mas fb17e75539 ci - mac uses ninja 4 years ago
Luis Diaz Mas 1769d8988a ci - Linux uses ninja 4 years ago
Luis Díaz Más 776d3a3efc Rename github workflows 4 years ago