Luis Díaz Más
9fb43f28e0
Use standard [[maybe_unused]]
2022-02-18 22:48:01 +01:00
Luis Díaz Más
76f01fd4d3
Clean more header inclusions
2022-02-18 22:48:01 +01:00
Luis Díaz Más
7e5ba7cb23
Remove many redundant or not needed header inclusions
2022-02-18 19:01:24 +01:00
Luis Díaz Más
b543f3e973
Use filesystem in getExiv2ConfigPath
...
It seems to have an important impact in performance. The execution of
ctest on Windows passed from 48.5 secs to 43.8. Check if this is the
same on Linux
2022-02-18 18:45:31 +01:00
Luis Díaz Más
476a5e23f9
Replace raw loop for any_of
2022-02-18 18:16:03 +01:00
Luis Díaz Más
59f4d0de27
cppcheck: reduce scope of variables
2022-02-18 18:01:02 +01:00
Luis Díaz Más
d11479e53c
Replace dynamic C array by std::vector
2022-02-18 18:01:02 +01:00
Luis Díaz Más
ea201ce613
Remove dead code
2022-02-18 18:01:02 +01:00
Luis Díaz Más
1d243ed40e
Remove dead code: copyXattrFrom
2022-02-18 18:01:02 +01:00
Luis Díaz Más
c0b663b7ea
Remove dead code (LSTAT)
2022-02-18 18:01:02 +01:00
Luis Díaz Más
798cf9baeb
Remove dead code (winNumberOfLinks)
2022-02-18 18:01:02 +01:00
Luis Díaz Más
a6185d29c6
Image::setComment now takes string_view
2022-02-18 18:01:02 +01:00
Luis Díaz Más
56b5ab9a29
Use remove from filesystem
2022-02-18 18:01:02 +01:00
Luis Díaz Más
9b3a643d33
Use rename from filesystem
2022-02-18 18:00:55 +01:00
Luis Díaz Más
8b2d17312e
ReplaceStringInPlace does it in-place now
2022-02-18 17:54:04 +01:00
Luis Díaz Más
45300ad667
BasicIo::path() returns const ref
2022-02-18 17:54:04 +01:00
Luis Díaz Más
0726104b1a
Hide pathOfFileUrl in the only place where it is used
2022-02-18 17:54:04 +01:00
Luis Díaz Más
6f762b4e66
Use std::filesystem for fileExist
2022-02-18 17:54:04 +01:00
Luis Díaz Más
f1ff3aaa4c
Make urldecode in-place
2022-02-18 17:54:04 +01:00
Luis Díaz Más
3d370cc2ae
Improvements in urlencode
2022-02-18 17:54:04 +01:00
Luis Diaz
8e0e00c459
make startsWith constexpr and use string_view
2022-02-18 13:51:39 +01:00
Luis Díaz Más
f5c89a4e62
Fix build on Windows
2022-02-18 13:51:38 +01:00
Luis Díaz Más
405f4b5f1b
Remove Util::dirname and finally the util files
2022-02-18 13:51:38 +01:00
Luis Díaz Más
1b912fa887
get rid of suffix
2022-02-18 13:51:38 +01:00
Luis Díaz Más
dad3e7f5c4
Replace suffix implementation with std::filesystem
2022-02-18 13:51:38 +01:00
Luis Díaz Más
2c51208622
Replace basename implementation with std::filesystem
2022-02-18 13:51:38 +01:00
Luis Díaz Más
d64c2aad67
Replace dirname implementation with std::filesystem
2022-02-18 13:51:38 +01:00
Luis Díaz Más
f1c8d5bbb4
Remove unused headers
2022-02-18 13:51:38 +01:00
Luis Díaz Más
7c6a7aefc2
Utils::strtol only used in the app
2022-02-18 13:51:38 +01:00
Luis Díaz Más
8c6e22e6aa
replace is only used in actions.cpp
2022-02-18 13:51:38 +01:00
Luis Díaz Más
49fbfb44a3
Remove startsWith from utils
2022-02-18 13:51:37 +01:00
Luis Díaz Más
d1524e3d96
simpler implementation of startsWith
2022-02-18 13:51:37 +01:00
Luis Díaz Más
a725d22ea5
add characterisation tests for utils
2022-02-18 13:51:37 +01:00
Luis Díaz Más
a8bb38ab6f
Move exiv2 app into its own folder
2022-02-18 13:51:37 +01:00
Luis Díaz Más
15c91b4cc9
Merge pull request #2101 from Exiv2/main_LinuxDistrosOnPRs
...
Linux distros jobs on PRs + Fix linking issues on some platforms
2022-02-18 09:16:12 +01:00
Luis Diaz
38254be55e
Install new image_types.h header
2022-02-17 08:53:44 +01:00
Luis Diaz
b7d5c7e22a
Link against stdc++fs on Linux when it is needed
2022-02-16 14:39:10 +01:00
Robin Mills
287744fa12
Merge pull request #2087 from Exiv2/update_canon_tags_2
...
Update canon tags 2
2022-02-15 22:41:37 -08:00
Luis Díaz Más
408d80bce8
Change order of ImageType values
2022-02-14 17:08:50 +01:00
Luis Díaz Más
f10283f118
bug: Fix crash when calling ImageFactory::create(none)
2022-02-14 17:08:50 +01:00
Luis Díaz Más
5a9799ffb2
Replace ImageType namespace by a enum class
2022-02-14 17:08:50 +01:00
Christoph Hasse
0aa34c3098
fix(canon): cleanup canonAf2 and canonAf3 related code
2022-02-14 16:30:00 +01:00
Robin Mills
800ed8959f
Rewire Canon MakerNote 0x0026 (AFInfo) to allow TiffDecoder::decodeCanonAFInfo to handle this tag.
...
Minor changes to test script.
Cosmetic code changes.
2022-02-14 16:30:00 +01:00
Luis Díaz Más
d19e2d42df
Use AutoRotate
2022-02-14 16:29:58 +01:00
Luis Díaz Más
e625f331f9
Include CanonFlashInfo (somehow missing after cherry-picking)
2022-02-14 16:29:57 +01:00
Luis Díaz Más
de036b2b2a
Fix remaining wrong brackets
2022-02-14 16:29:56 +01:00
Alex Esseling
4977b7d5c3
controlmode added
2022-02-14 16:29:56 +01:00
Alex Esseling
f247014ee6
AEB Bracket Value added
2022-02-14 16:29:54 +01:00
Alex Esseling
5800942a9b
OpticalZoomCode added
2022-02-14 16:29:53 +01:00
Alex Esseling
d72ca6806c
ExposureCompensation added
2022-02-14 16:29:45 +01:00