133 Commits (aefd901befd375da7fdedfe031e818fcbc63dd67)

Author SHA1 Message Date
Luis Díaz Más 5e9e31f1a8
Upgrade centos:8 to centos-stream (#2066)
* Upgrade from CentOS-8 to CentOS Stream

* Drop ccache and python from dependencies

Co-authored-by: Luis Díaz Más <luis.diaz.ld2@roche.com>
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
Miloš Komarčević 4d44f9cfee Forward CI changes 4 years ago
Luis Díaz Más 1b533035d9
ci: upgrade conan version on github actions (#2021) 4 years ago
Kevin Backhouse 5dca23bddc
Merge pull request #1987 from kevinbackhouse/RemoveTumbleweed
Remove opensuse/tumbleweed
4 years ago
postscript-dev 3a1a9db425
Fix label: `ISSUE_TEMPLATE/feature_request.md` 4 years ago
postscript-dev f09ea6a75a
Update Exiv2 GitHub issue templates 4 years ago
Kevin Backhouse befb890e7d
Remove opensuse/tumbleweed, because the docker image is broken. 4 years ago
postscript-dev 118a1de509
Add issue templates from `old-master` branch 4 years ago
Kevin Backhouse e87e440045
Remove Conan from MacOS build. 4 years ago
Kevin Backhouse d91cb9dd1e
Try a newer version of Conan. 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 0548a6cfd7
Fix Conan on macOS 4 years ago
Kevin Backhouse be5a01f0b2
Merge pull request #1921 from kevinbackhouse/FixIssue1920
Fix UBSAN failure caused by left-shift of negative number
4 years ago
Kevin Backhouse e6ce13729b
Add workaround for conan outage: https://github.com/conan-io/conan/issues/9695 4 years ago
Kevin Backhouse fc07f18644
Add CodeQL query to detect variants of issue #1920. 4 years ago
Kevin Backhouse e1b9538ba5
Add doc to release build. 4 years ago
Kevin Backhouse 7a6acc4eca
Standardize on conan 1.39.0 4 years ago
Kevin Backhouse 5bfa568b63
Add OSS-Fuzz status badge and CIFuzz integration. 4 years ago
Christoph Hasse dcb65d91ec workaround for softprops/action-gh-release#139 4 years ago
Kevin Backhouse 89abcad124
Add LSAN suppressions. 4 years ago
Christoph Hasse c65941c4cd check integrity of codecov executable
Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com>
4 years ago
Christoph Hasse a18aa137bc check integrity of codecov executable
Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com>
4 years ago
Christoph Hasse f3d2ed3f86 update codecov coverage github action and remove use of deprecated bash uploader 4 years ago
Kevin Backhouse 593fcbd865
Add fuzzing dictionary and test all printStructure() options 4 years ago
Kevin Backhouse 8c80d060f0
Ignore results in the xmpsdk directory. 4 years ago
Kevin Backhouse 0208b508a0
Merge pull request #1773 from kevinbackhouse/fuzz
Add fuzz target
4 years ago
Kevin Backhouse e157fd63cb
Add -workers option to use all cores. 4 years ago
Kevin Backhouse 7eef360295
Try with sudo. 4 years ago
Kevin Backhouse b4448fcd52
Fix indentation 4 years ago
Kevin Backhouse f4a0335d79
Add workflow_dispatch for manual trigger 4 years ago
Kevin Backhouse 95397cc17a
Action that runs fuzzer for short amount of time on PRs. 4 years ago
Kevin Backhouse a2854f358a
CodeQL query to detect unsafe uses of std::vector::operator[]. 4 years ago
Kevin Backhouse fb824ac052
Add custom CodeQL query for null iterator deref. 4 years ago
Kevin Backhouse 695d22c27a
feat: Codeql analysis (#1747)
* Create codeql-analysis.yml

* Add main branch.

* Update to latest boilerplate.

* Replace schedule with workflow_dispatch, so that it can be triggered manually.

Co-authored-by: Robin Mills <robin@clanmills.com>
4 years ago
Christoph Hasse f8962224fd fix: prevent creation of nightly release with draf==true
Sometime the nightly pre-release would be in "draft" status on github.
It's hard to reproduce but I had the guess that maybe the deletion of
old tag and release on the github side wasn't quite done when the
new release was being created. Of course only speculation...
But, moving the download of the artifacts in betweent these two steps
seems to have fixed the symptom.
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
Christoph Hasse 024830a72c
feat: Setup github actions workflow to build tagged release and nightly pre-release (#1676) 4 years ago
Luis Díaz Más b83b2197c1 ci - Linux distros jobs being more explicit about options used 4 years ago
Luis Díaz Más 0d45de7519 ci - Replace debian:9 with debian:10 4 years ago
Luis Díaz Más 44256e8c5d ci - Win matrix jobs will also run on:push for main
The idea is to generate a conan cache on main that could be reused in
future PRs to main.
4 years ago
Luis Díaz Más 9241f60880 win - Only run tests on x64
On CI, pythonTests fail more or less consistently in the configuration
Arch:x86, BuildType:Relase, Shared:ON. I tried to reproduce this locally,
but I could not.

Since Win-x86 is marginal for Exiv2, we disable it from CI until
somebody raise concerns about it.
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 34945e39c4 ci - Use CTest for coverage builds 4 years ago
Luis Díaz Más 8d596283b1 ci - install tar in opensuse before checkout action 4 years ago
Luis Diaz Mas d5782ea8fb ci - distros - fastTrue=False 4 years ago
Luis Díaz Más f956a398ad ci - Use CTest in all the ci jobs 4 years ago
Luis Díaz Más 381a33b12d ci - Add new special build with all project options enabled 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 Diaz Mas 44eb56102b ci - Add coverage run on main branch 4 years ago
Luis Díaz Más 9e43a89d1d ci - Do not create conanCache dir 4 years ago
Luis Diaz Mas ad57cb4293 ci - cache conan packages on Windows builds 4 years ago
Luis Diaz Mas f969fe88fc Fedora-MinGW build to Github Workflows 4 years ago
Luis Díaz Más 5e13f30104 ci - Add BMFF to windows matrix 4 years ago
Luis Díaz Más e6e6c3c296 ci - coverage build - deal with SHA issue 4 years ago
Luis Díaz Más 1a383c46f5 ci - Special builds on Github actions 4 years ago
Luis Díaz Más 776d3a3efc Rename github workflows 4 years ago
Luis Díaz Más 012f05f9a1 ci - MacOS Matrix 4 years ago
Luis Díaz Más 2c3fcd3a59 No exe in executables 4 years ago
Luis Díaz Más 0d0c8ba0f3 Fixes in github actions 4 years ago
Luis Díaz Más 33facf01aa Github Actions - More builds on PRs 4 years ago
Luis Díaz Más bfa297d587 MacOS build 4 years ago
Luis Diaz Mas 72798028f6 Less CI jobs on push 4 years ago
Luis Díaz Más 988fbe5653 ci - win: Use ninja and Visual Studio shell 4 years ago
Luis Díaz Más 102eef8097 Also test installation on Windows 4 years ago
Luis Diaz Mas 429ab8679a CiActions: Increasing matrix build for Windows 4 years ago
Christoph Hasse 404024791c fix archlinux ci build 4 years ago
Luis Díaz Más e53da674d9 ci: add again arch linux & disable compilation&run of unit tests 4 years ago
Luis Díaz Más 3dbe445fbf ci: alpine linux support 4 years ago
Luis Díaz Más 6c5c2278cb ci: warnings_as_errors OFF 4 years ago
Luis Díaz Más 1cac0c3963 Do not treat warnings as errors 4 years ago
Luis Díaz Más 0e19de936d ci: update github actions
- Disable arch case which is suffering of a weird situation in which
CMake when trying to find GTest, it is failing with some error related
with GMock (which we do not use or install!)
- Updated ubuntu image to 20.04
- Use same CMake flags as we use on Travis
4 years ago
Kevin Backhouse 8e38b37fcb Add windows_distribution_check GitHub Action. 4 years ago
D4N 9a4eb0c624 Add linux_distribution_check github action 4 years ago
Robin Mills 848e580961 Fixed issue spotted in review. 5 years ago
Robin Mills 444a2680a3 fix_1121_CODEOWNERS_0.27 5 years ago