Commit Graph

7362 Commits

Author SHA1 Message Date
Kevin Backhouse
b0c16eb89d
Merge pull request #1564 from kevinbackhouse/SecurityContact
Update security process
2021-05-07 16:11:40 +01:00
Luis Díaz Más
b675c58bab Move include/CMake to src 2021-05-04 12:36:14 +02:00
Luis Díaz Más
1b4577904b Fix MSVC build 2021-05-03 17:41:55 +02:00
tbeu
bf0d8114c9 #525: Update comment and fix variable name 2021-05-03 17:41:55 +02:00
tbeu
94420ab591 Remove custom rwlock in favor of std::mutex of C++11
Current design on Windows was broken anyway, since legacy class `RWLock` does not implement a proper rwlock (shared read and exclusive write)

Once we are allowed using C++14 features, we can replace the `std::mutex` by `std::shared_timed_mutex` and the read-access locks by `std::shared_lock`.
Once we are allowed using C++17 features, we can replace the `std::mutex` by `std::shared_mutex` and the read-acces locks by `std::shared_lock`.
2021-05-03 17:41:55 +02:00
Miloš Komarčević
bc37a6ccb4 Update bmffimage.hpp include order and path
No need to treat it differently since 206a2c495c

(could even back-port to 0.27 if there is RC3 coming)
2021-05-03 14:50:20 +02:00
Rosen Penev
4ceb325c8f clang-tidy: range for loop conversions
Found with modernize-loop-convert

Ran through git clang-format.

Also removed several questionable loops and replaced with simpler
algorithms.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-03 14:50:04 +02:00
Rosen Penev
5a4c3cd057 convert Pair to std::pair
This is C++11 now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-03 07:16:51 +02:00
Rosen Penev
e93ad82734 clang-tidy: use braced init list
Found with modernize-return-braced-init-list

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-03 06:55:09 +02:00
Luis Díaz Más
294372f2ad cmake: revert change due to old cmake versions on CentOS & debian9 2021-05-03 06:40:02 +02:00
Luis Díaz Más
582edd399c cmake: ignore PDBs warnings on Win/Debug/Static buils 2021-05-03 06:40:02 +02:00
Luis Díaz Más
a3d2c23eaa appveyor: build BMFF + enable cache again 2021-05-03 06:40:02 +02:00
Luis Díaz Más
9de534976f msvc: fix compiler warning on x86 2021-05-03 06:40:02 +02:00
Luis Díaz Más
0bd2ff32ad increase timeout 2021-05-03 06:40:02 +02:00
Luis Díaz Más
8265fc46ed conan - gtest debug_postfix only used in Debug mode 2021-05-03 06:40:02 +02:00
Luis Díaz Más
34164b2cf5 ci: old expat & tune gtest options for windows 2021-05-03 06:40:02 +02:00
Luis Díaz Más
90dde02359 Win - Disable UNICODE which is failing at the moment 2021-05-03 06:40:02 +02:00
Luis Díaz Más
ce7ebc11ed ci: rescue appveyor config from old-master and backup others 2021-05-03 06:40:02 +02:00
Rosen Penev
84220855b2 clang-tidy: use = delete
Found with modernize-use-equals-delete

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-03 06:34:47 +02:00
Luis Díaz Más
ff180b05a6 ci-travis: trying to fix valgrind build 2021-05-03 06:34:31 +02:00
Christoph Hasse
404024791c fix archlinux ci build 2021-05-02 17:27:31 +02:00
Kevin Backhouse
ad5bac9863
Add clarification about reproducibility requirements. 2021-04-24 12:09:15 +01:00
Luis Díaz Más
7975b6402a conan: put win dlls into bin directory 2021-04-23 14:53:08 +02:00
Luis Díaz Más
53f18cf408 conan: use cmake_paths generator instead of cmake
We also upgraded the xcode version on Travis-CI
2021-04-23 14:53:08 +02:00
Luis Díaz Más
8de2d7a34e conan: fixes for Windows 2021-04-23 14:53:08 +02:00
Luis Díaz Más
72266e71e1 ci: use -Wno-deprecated-declarations for avoiding gtest 1.10 warnings 2021-04-23 14:53:08 +02:00
Luis Díaz Más
5a8511545f unitTests - use internal library object instead of recompiling sources 2021-04-23 14:53:08 +02:00
Luis Díaz Más
18ab34b030 ci: update conan version 2021-04-23 14:53:08 +02:00
Luis Díaz Más
db4ece70cc gtest - remove wrapper which is not needed anymore 2021-04-23 14:53:08 +02:00
Luis Díaz Más
f601d23d5e conan: update conan recipe versions 2021-04-23 14:53:08 +02:00
Kevin Backhouse
c372f2677d Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-8949-hhfh-j7rj 2021-04-22 21:14:50 +02:00
Kevin Backhouse
b3de96f4b4 Add more bounds checks in Jp2Image::encodeJp2Header 2021-04-22 21:14:50 +02:00
Luis Díaz Más
e366c786b9 Fix -Werror=shadow warning after recovering EPS 2021-04-22 20:24:59 +02:00
Luis Díaz Más
e53da674d9 ci: add again arch linux & disable compilation&run of unit tests 2021-04-22 18:40:03 +02:00
Luis Díaz Más
9eae9014b1 ci: trying to fix centos:8 build 2021-04-22 18:40:03 +02:00
Luis Díaz Más
7d8cd00778 fix tests expectations for alpine linux 2021-04-22 18:40:03 +02:00
Luis Díaz Más
3dbe445fbf ci: alpine linux support 2021-04-22 18:40:03 +02:00
Luis Díaz Más
6c5c2278cb ci: warnings_as_errors OFF 2021-04-22 18:40:03 +02:00
Luis Díaz Más
c33c6abc82 Remove useless explicit constructor 2021-04-22 18:40:03 +02:00
Luis Díaz Más
f77607ee8a ci: fix issues on Github actions 2021-04-22 18:40:03 +02:00
Luis Díaz Más
1cac0c3963 Do not treat warnings as errors 2021-04-22 18:40:03 +02:00
Luis Díaz Más
9b9154d137 fix warning (hiding local variable) 2021-04-22 18:40:03 +02:00
Luis Díaz Más
c480be5814 cmake: disable -Wuseless-cast 2021-04-22 18:40:03 +02:00
Luis Díaz Más
390f5ee49d ci: fix installation of gtest on ubuntu 20.04 2021-04-22 18:40:03 +02:00
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
2021-04-22 18:40:03 +02:00
Kevin Backhouse
8e38b37fcb Add windows_distribution_check GitHub Action. 2021-04-22 18:40:03 +02:00
D4N
9a4eb0c624 Add linux_distribution_check github action 2021-04-22 18:40:03 +02:00
Luis Díaz Más
d5240a4bda eps: Fix code after usage of unique_ptr. Remove deprecation tags 2021-04-22 18:39:31 +02:00
Luis Díaz Más
e8181a2bec Revert "Remove EPS tests"
This reverts commit 6d7d85a1ec988287ec2362e6c6b267860cab89e2.
2021-04-22 18:39:31 +02:00
Luis Díaz Más
ed6cbf77b4 Revert "eps - do not install header"
This reverts commit 8f16196ad3.
2021-04-22 18:39:31 +02:00