Rosen Penev
|
d856ca7d82
|
cland-tidy: simplify booleans
Found with readability-simplify-boolean-expr
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-09-27 06:40:37 -07:00 |
|
Rosen Penev
|
71dc04ebb1
|
misc sonarlint stuff
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-08-22 23:00:32 -07:00 |
|
Rosen Penev
|
2fa84f4bab
|
remove using
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-08-21 14:37:18 -07:00 |
|
Rosen Penev
|
b6c2062fae
|
std::to_string conversions
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-08-17 02:25:10 -07:00 |
|
Rosen Penev
|
6cf06c6534
|
remove constructor
It can be implicitly generated.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-08-08 23:23:31 -07:00 |
|
Rosen Penev
|
fc840405cc
|
revert std::function back to function pointers
The former has too much overhead. No point in it.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-08-08 19:24:47 -07:00 |
|
Rosen Penev
|
5c90684441
|
simplify some defines
As far as I can tell, _WIN32 is defined for true Windows platforms.
Cygwin is a POSIX platform.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-08-08 15:31:05 -07:00 |
|
Rosen Penev
|
e74feff4d8
|
strcmp to == conversions
Does the same thing.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-08-03 01:36:19 -07:00 |
|
Rosen Penev
|
1d0530f04d
|
misc sonarlint changes
Mostly const changes.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-07-31 20:51:12 -07:00 |
|
Rosen Penev
|
d873af44a5
|
clang-tidy: avoid C casts
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-07-27 11:29:57 -07:00 |
|
Rosen Penev
|
5b737ca541
|
sonarlint: add an empty do while loop
Avoids warnings regarding unnecessary semicolons.
Remove _fileno as it is unused.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-07-27 11:29:57 -07:00 |
|
Rosen Penev
|
aae02babba
|
sonarlint: replace lock_guard with scoped_lock
C++17 allows scoped_lock, which sonarlint recommends.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-07-27 11:29:57 -07:00 |
|
Rosen Penev
|
3ae1d3b48e
|
return make_unique directly
Simpler
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-07-24 23:00:02 -07:00 |
|
Peter
|
dc4ae73013
|
Add tag description option to exiv2 app (#2279)
* Add `tagDesc()` to (Exif|Xmp|Iptc) Datums and Keys
* Add `--Print d` option to exiv2 app
* Add testing for all exiv2 application `--Print` options
* Update manpage
|
2022-07-12 15:31:43 +01:00 |
|
Kevin Backhouse
|
97e58a4573
|
Merge pull request #2267 from neheb/clang
mostly clang-tidy fixes
|
2022-07-09 21:50:50 +01:00 |
|
Kevin Backhouse
|
7f673c766d
|
Fix some "signed shift" warnings
|
2022-07-06 22:22:30 +01:00 |
|
Rosen Penev
|
3e37c17f51
|
clang-tidy: missing override
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-07-05 17:41:12 -07:00 |
|
Rosen Penev
|
9f989e4228
|
clang-tidy: use auto
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-07-05 17:41:12 -07:00 |
|
Rosen Penev
|
84555f1ad5
|
clang-tidy: no else after return
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-07-05 15:29:42 -07:00 |
|
Rosen Penev
|
c2be02145d
|
clang-tidy: use C++ casts
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-07-05 15:29:42 -07:00 |
|
Kevin Backhouse
|
7ebf2a184e
|
Merge pull request #2231 from kevinbackhouse/exiv2app-types-cleanup
types cleanup exiv2app.hpp
|
2022-05-23 10:24:01 +01:00 |
|
Kevin Backhouse
|
ddbae1ebd0
|
Merge pull request #2244 from kevinbackhouse/adjustDateTime
More bounds checking in Adjust::adjustDateTime
|
2022-05-23 10:21:22 +01:00 |
|
Kevin Backhouse
|
1ceddb2962
|
Replace long with int64_t in exiv2app.hpp
|
2022-05-22 19:59:11 +01:00 |
|
Kevin Backhouse
|
2e0ab1a037
|
More bounds checking in Adjust::adjustDateTime
|
2022-05-22 19:55:01 +01:00 |
|
Rosen Penev
|
cf963e9e4d
|
clang-tidy: C casts to C++
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-05-21 17:58:10 -07:00 |
|
Rosen Penev
|
a98954a98e
|
clang-tidy: add missing special member functions
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-05-21 17:39:26 -07:00 |
|
Luis Díaz Más
|
c9bdd6ed94
|
Merge pull request #2209 from Exiv2/mainTODOs
Improvements around TODO comments
|
2022-04-29 09:04:46 +02:00 |
|
Rosen Penev
|
2e721a716e
|
std::function conversions
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-04-18 13:02:32 -07:00 |
|
Rosen Penev
|
d466c1e9eb
|
minor clang-tidy fixes (#2213)
* clang-tidy: add const to member function
Signed-off-by: Rosen Penev <rosenp@gmail.com>
* clang-tidy: remove duplicate access specifier
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-04-16 11:29:15 +02:00 |
|
Rosen Penev
|
3a8a8b29a2
|
std::pair conversion
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-04-14 18:06:04 -07:00 |
|
Rosen Penev
|
a8061e7ee9
|
clang-tidy: default member init
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-04-14 18:01:55 -07:00 |
|
Luis Díaz Más
|
c3d0100d48
|
Fixing bad usages of DataBuf (when it is empty)
|
2022-04-14 10:40:58 +02:00 |
|
Luis Díaz Más
|
f942ba89bd
|
Move Photoshopb class to internal namespace
|
2022-04-10 10:55:10 +02:00 |
|
Rosen Penev
|
fafe999c6e
|
remove unused var from deleted stuff
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-03-31 08:47:37 +02:00 |
|
Rosen Penev
|
043547cbd0
|
remove various usages of memset
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-03-27 01:47:02 -07:00 |
|
Luis Díaz Más
|
d7f35e33f0
|
Remove useless static_casts
|
2022-03-25 08:43:37 +01:00 |
|
Luis Díaz Más
|
ae4df71233
|
Remove DataBuf::copyBytes and use std::copy instead
|
2022-03-23 17:17:29 +01:00 |
|
Luis Díaz Más
|
c5c315b6e7
|
Usage of EXIT_SUCCESS/FAILURE instead of hard-coded values
|
2022-03-23 16:55:18 +01:00 |
|
Luis Díaz Más
|
b05573fadc
|
Remove most of the asserts from codebase
|
2022-03-23 16:55:18 +01:00 |
|
Luis Díaz Más
|
734b909721
|
Help for formatting enums & arrays with clang-format
|
2022-03-23 16:55:18 +01:00 |
|
Luis Díaz Más
|
1bf7f44f53
|
Rename variables for better readability
|
2022-03-23 16:55:18 +01:00 |
|
Luis Díaz Más
|
30bf563f4d
|
Update .clang-format file & apply clang-format to whole project
|
2022-03-16 22:30:53 +01:00 |
|
Rosen Penev
|
b2b6d834ba
|
some std::array conversions (#2148)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2022-03-15 10:17:06 +01:00 |
|
Luis Diaz
|
7576a2757b
|
More size_t for sizes
|
2022-03-14 11:50:42 +01:00 |
|
Luis Díaz Más
|
7119b7676f
|
remove templating & simplify error message
+ clang-format in Error files
+ Remove AnyError
|
2022-03-12 16:58:41 +01:00 |
|
Luis Díaz Más
|
96f7f2e4c5
|
Convert Exiv2::ErrorCode into an enum class
|
2022-03-12 16:58:40 +01:00 |
|
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 |
|
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 |
|
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
|
cca6f74200
|
windows.h
|
2022-03-08 10:07:25 +01:00 |
|