Commit Graph

8265 Commits

Author SHA1 Message Date
Luis Díaz Más
c115d4daf7
Merge pull request #2131 from Exiv2/mainCleanups
Include what you use + more SPDX identifiers + few other cleanups
2022-03-11 21:02:45 +01:00
Miloš Komarčević
7aae68e34e
Update CI actions (#2143) 2022-03-11 15:46:43 +01:00
Luis Díaz Más
5c36c690f9
Merge pull request #2137 from Exiv2/mainRecoverRecordId
Recover IptDataSets::recordId in the API
2022-03-10 17:35:59 +01:00
Luis Díaz Más
a009ac1f61
Merge pull request #2135 from neheb/1
manual nullptr removals
2022-03-10 17:29:09 +01:00
Miloš Komarčević
1e2b9daf3f
Merge pull request #2133 from Exiv2/fix_2126_xml_term
Strip XMP raw packet before decoding
2022-03-10 13:16:40 +01:00
Luis Diaz
c1ae1bcb03 Recover IptDataSets::recordId in the API 2022-03-10 09:05:49 +01:00
Rosen Penev
8dadcdf72a manual nullptr removals
unique_ptr has a bool overload. It's also easier to reason about.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-09 17:12:29 -08:00
Rosen Penev
784cbe2965 manual move conversions
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-09 17:12:24 -08:00
Miloš Komarčević
134c4767b1 Update tests after XMP stripping 2022-03-09 18:03:03 +01:00
Miloš Komarčević
eb49d66caf Strip XMP raw packet before decoding 2022-03-09 17:43:20 +01:00
Rosen Penev
b8304fffa4 clang-tidy: don't use C casts
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-08 19:22:46 -08:00
Luis Díaz Más
85d6082d7f Should fix build in some Linux distros 2022-03-08 11:21:24 +01:00
Luis Díaz Más
89e66ffd37
Merge pull request #2132 from neheb/2
misc cleanups
2022-03-08 10:19:09 +01:00
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
d8482b20af
Merge pull request #2129 from neheb/23
conversions to make_unique
2022-03-08 09:51:05 +01:00
Rosen Penev
c2bcd4b08e replace EXV_COUNTOF with std::size
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-08 00:26:33 -08:00
Rosen Penev
61a5d8594c remove some new
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-08 00:15:07 -08:00
Rosen Penev
17a13072e6 manual unimplemented operator = delete
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-07 23:10:09 -08:00
Rosen Penev
b3823f4c8d conversions to make_unique
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-07 17:30:17 -08:00
Rosen Penev
b6bdbf5574 clang-tidy: don't use else after return/throw
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-07 14:42:33 -08:00
Rosen Penev
9f949195e4 clang-tidy: add ending namespace comment
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-07 14:38:05 -08:00
Rosen Penev
09ca3ca1f2 manual namespace concatenations
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-07 14:17:25 -08: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