Commit Graph

8244 Commits

Author SHA1 Message Date
Luis Díaz Más
f894ee0568 Fix debug builds 2022-03-08 10:13:22 +01:00
Luis Díaz Más
cca6f74200 windows.h 2022-03-08 10:07:25 +01:00
Luis Díaz Más
c0a3242e73 C++-style headers 2022-03-08 10:05:27 +01:00
Luis Díaz Más
c146ae5215 Fix mac build 2022-03-07 22:27:25 +01:00
Luis Díaz Más
bbc99ae581 Use auto for unique pointers 2022-03-07 22:25:51 +01:00
Luis Díaz Más
f156af46f3 Fix build on Windows 2022-03-07 22:25:51 +01:00
Luis Díaz Más
5a6ec65315 Use SPDX identifiers in more files 2022-03-07 22:25:51 +01:00
Luis Díaz Más
b3a216310a Removing unused headers thanks to IWYU 2022-03-07 22:25:51 +01:00
Luis Díaz Más
22064c957d Add missing header to the CMake configuration 2022-03-07 22:25:51 +01:00
Luis Díaz Más
2834fa5f05 Use [[maybe_unused]] 2022-03-07 22:25:51 +01:00
Luis Díaz Más
5508e6f466 hexdump to size_t 2022-03-07 22:25:51 +01:00
Luis Díaz Más
8b1fe379a1 Removing unused headers thanks to IWYU 2022-03-07 22:25:47 +01:00
Luis Díaz Más
3f3b651c04 Remove unused stuff 2022-03-07 22:25:35 +01:00
Luis Díaz Más
867132f7c7 _fileno is only for Windows 2022-03-07 22:25:35 +01:00
Luis Díaz Más
15697fcd1e Remove unused file 2022-03-07 22:25:35 +01:00
Luis Díaz Más
23da0c3955 Do not define not needed stuff 2022-03-07 22:25:35 +01:00
Michael Allman
7ed43037e3 Guard against parsing "inf" into an int64 in the EasyAccess/ISO API.
(Diff authored by clanmills)
2022-03-07 12:35:58 -08:00
Michael Allman
7241e90855 Add a workflow build/test for macOS+Sanitizers 2022-03-07 12:35:58 -08:00
Luis Díaz Más
02b0541bbf
Merge pull request #2130 from neheb/1
misc stuff
2022-03-07 10:45:59 +01:00
Luis Díaz Más
ffb5cdf721
Merge pull request #2127 from neheb/21
use make_unsigned_t
2022-03-07 08:45:19 +01:00
Rosen Penev
f0d23eca9b clang-tidy: add some missing operators
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-06 01:17:12 -08:00
Rosen Penev
daf7c890e2 misc stuff
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-06 01:17:12 -08:00
Luis Díaz Más
206514f002
Merge pull request #2125 from neheb/1
some clang-tidy
2022-03-06 08:51:09 +01:00
Rosen Penev
09e0ea83f6 use make_unsigned_t
Simpler

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-05 23:35:48 -08:00
Rosen Penev
def782fb65 replace several typedefs with using
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-05 17:49:22 -08:00
Rosen Penev
95355fe214 clang-tidy: remove C casts
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-05 16:21:26 -08:00
Rosen Penev
8cda090e58 clang-tidy: get rid of compare() usage
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-05 16:21:26 -08:00
Rosen Penev
63e41c3aeb clang-tidy: simplify bool
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-05 16:21:26 -08:00
Rosen Penev
133849c394 clang-tidy: remove pointless get()
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-05 16:21:26 -08:00
Rosen Penev
6d1fa2ecea clang-tidy: use empty() instead of size()
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-05 16:21:26 -08:00
Rosen Penev
5833101b9b manual nullptr conversions
Mostly not caught because I'm not running clang-tidy on Windows.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-05 16:21:25 -08:00
Rosen Penev
e6d3315160 clang-tidy: use emplace_back
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-05 01:10:01 -08:00
Rosen Penev
77e79b32f5 manual braced init conversion
clang-tidy's not converting these for some reason.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-05 01:07:36 -08:00
Luis Díaz Más
88b1c96aee
Merge pull request #2124 from neheb/1
mostly clang-tidy cleanups
2022-03-05 09:57:40 +01:00
Rosen Penev
a25bbe133f constexpr string conversions
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-04 15:54:05 -08:00
Rosen Penev
3a2309bfea clang-tidy: replace typedef with using
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-04 15:54:05 -08:00
Rosen Penev
887b08b0b7 clang-tidy: range loop conversion
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-04 15:54:05 -08:00
Rosen Penev
04bacdedd6 clang-tidy: use auto
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-04 15:54:05 -08:00
Rosen Penev
962e3b7369 clang-tidy: use default
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-04 15:54:05 -08:00
Rosen Penev
a5c094b85f clang-tidy: use concat namespaces
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-04 15:54:05 -08:00
Rosen Penev
118aa78aa0 clang-tidy: use braced init list
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-04 15:54:05 -08:00
Rosen Penev
f65848a590 simplify ReplaceStringInPlace slightly
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-04 15:54:05 -08:00
Rosen Penev
5d60a91ebc move initializations to class
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-04 15:54:05 -08:00
Rosen Penev
a67e0d525f move namespace fs below includes
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-04 15:54:05 -08:00
Rosen Penev
ae3e28c62a make array constexpr
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-04 15:54:03 -08:00
Luis Díaz Más
b17828b454
Use SPDX for licenses (#2122)
* Use SPDX identifier in header files

* Use SPDX identifier in rest of source files

* Fix usage of SPDX for files with 2 licenses

* Add global license file

* Fix compilation
2022-03-04 11:44:39 +01:00
Luis Díaz Más
5ca423d292
Merge pull request #2118 from Exiv2/main_NewDelete
Refactoring & Cleanup (Moving to size_t usage & less naked new/deletes)
2022-03-04 08:23:46 +01:00
Peter
30a1609838
Add tag website build text to README.md (#2113) 2022-03-03 15:06:47 +00:00
Luis Díaz Más
a5b6db171c
Merge pull request #1919 from dimin/viqi
fix for reading jpeg-xr images
2022-02-28 09:42:43 +01:00
Luis Díaz Más
ac9b9e2c95
Merge pull request #2071 from Sturmflut/nikon-improve-lens-docs
[nikon] Add instructions for adding new Nikon F mount lenses
2022-02-28 09:34:16 +01:00