Luis Diaz Mas
72798028f6
Less CI jobs on push
4 years ago
Rosen Penev
674fdcd38b
clang-tidy: fix declartation names
...
Found with readability-inconsistent-declaration-parameter-name
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
2e73aa9dc0
default con/destructors in headers
...
Helps to optimize trivially destructable stuff.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
428c436629
clang-tidy: simplify boolean expression
...
Found with readability-simplify-boolean-expr
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
5d716c7df4
clang-tidy: empty() conversions
...
Found with readability-container-size-empty
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
9642e3cceb
clang-tidy: remove pointless string init
...
Found with readability-redundant-string-init
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
143a1fbbe2
clang-tidy: don't use string compare
...
Found with readability-string-compare
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
8337462032
clang-tidy: use empty() instead of comparing size
...
Found with readability-container-size-empty
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
af7b2430c5
clang-tidy: use override
...
Found with modernize-use-override
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Jakub Wilk
45a6916546
READMEs: Add whitespace around atx-style headers
...
The extra whitespace is necessary for GitHub to render the headers
correctly.
4 years ago
Rosen Penev
15f0a600ed
clang-tidy: use default member init
...
Found with modernize-use-default-member-init
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Kevin Backhouse
170b18db74
Merge pull request #1621 from Exiv2/mergify/bp/main/pr-1591
...
Fix infinite loop caused by subBox with zero size. (backport #1591 )
4 years ago
Luis Díaz Más
b4b8061478
Early access is always compiled
4 years ago
Kevin Backhouse
566ea272a1
Prevent large allocation.
...
(cherry picked from commit f154f0ae540deeb9251467187d01c2a5846d27b5)
4 years ago
Kevin Backhouse
aac34630d4
Fix infinite loop caused by subBox with zero size.
...
(cherry picked from commit 2736126e7b92c5654f56620c097f9a4580c0f73b)
4 years ago
Luis Díaz Más
9dbffa719b
Add missing public headers to install target
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 Díaz Más
4b9b7bf99f
Archive appveyor ci configurations
4 years ago
Luis Diaz Mas
429ab8679a
CiActions: Increasing matrix build for Windows
4 years ago
Rosen Penev
5a9c29303e
clang-tidy: remove pointless static
...
Found with readability-static-definition-in-anonymous-namespace
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
bd6a996181
clang-tidy: use using
...
Found with modernize-use-using
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
b3040da54c
clang-tidy: don't check for NULL with delete
...
Found with readability-delete-null-pointer
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
1dc1186760
clang-tidy: simplify boolean expressions
...
Found with readability-simplify-boolean-expr
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
8128716287
clang-tidy: use = default
...
Found with modernize-use-equals-default
Ran through git clang-format
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Kevin Backhouse
e0c7d64d93
Merge pull request #1612 from Exiv2/mergify/bp/main/pr-1587
...
Add bounds check in Jp2Image::doWriteMetadata() (backport #1587 )
4 years ago
Kevin Backhouse
57cad2619b
Add bounds check in Jp2Image::doWriteMetadata().
...
(cherry picked from commit e6a0982f7cd9282052b6e3485a458d60629ffa0b)
4 years ago
Kevin Backhouse
766111f48d
Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-7569-phvm-vwc2
...
(cherry picked from commit f0ff11f044b2c8ddf4792415beb91fd815c633a1)
4 years ago
Kevin Backhouse
b0c16eb89d
Merge pull request #1564 from kevinbackhouse/SecurityContact
...
Update security process
4 years ago
Luis Díaz Más
b675c58bab
Move include/CMake to src
4 years ago
Luis Díaz Más
1b4577904b
Fix MSVC build
4 years ago
tbeu
bf0d8114c9
#525 : Update comment and fix variable name
4 years ago
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`.
4 years ago
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)
4 years ago
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>
4 years ago
Rosen Penev
5a4c3cd057
convert Pair to std::pair
...
This is C++11 now.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
e93ad82734
clang-tidy: use braced init list
...
Found with modernize-return-braced-init-list
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Luis Díaz Más
294372f2ad
cmake: revert change due to old cmake versions on CentOS & debian9
4 years ago
Luis Díaz Más
582edd399c
cmake: ignore PDBs warnings on Win/Debug/Static buils
4 years ago
Luis Díaz Más
a3d2c23eaa
appveyor: build BMFF + enable cache again
4 years ago
Luis Díaz Más
9de534976f
msvc: fix compiler warning on x86
4 years ago
Luis Díaz Más
0bd2ff32ad
increase timeout
4 years ago
Luis Díaz Más
8265fc46ed
conan - gtest debug_postfix only used in Debug mode
4 years ago
Luis Díaz Más
34164b2cf5
ci: old expat & tune gtest options for windows
4 years ago
Luis Díaz Más
90dde02359
Win - Disable UNICODE which is failing at the moment
4 years ago
Luis Díaz Más
ce7ebc11ed
ci: rescue appveyor config from old-master and backup others
4 years ago
Rosen Penev
84220855b2
clang-tidy: use = delete
...
Found with modernize-use-equals-delete
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Luis Díaz Más
ff180b05a6
ci-travis: trying to fix valgrind build
4 years ago
Christoph Hasse
404024791c
fix archlinux ci build
4 years ago
Kevin Backhouse
ad5bac9863
Add clarification about reproducibility requirements.
4 years ago