8446 Commits (ad4e13b8271908aad8efeaff29a1ea66ea3373e2)
 

Author SHA1 Message Date
Kevin Backhouse ad4e13b827
Change return type of BasicIo::tell() to size_t. 3 years ago
Kevin Backhouse 7ebf2a184e
Merge pull request #2231 from kevinbackhouse/exiv2app-types-cleanup
types cleanup exiv2app.hpp
3 years ago
Kevin Backhouse ddbae1ebd0
Merge pull request #2244 from kevinbackhouse/adjustDateTime
More bounds checking in Adjust::adjustDateTime
3 years ago
Kevin Backhouse 1ceddb2962
Replace long with int64_t in exiv2app.hpp 3 years ago
Kevin Backhouse 2e0ab1a037
More bounds checking in Adjust::adjustDateTime 3 years ago
Luis Díaz Más 6e56ec1cae
Merge pull request #2245 from neheb/2
clang-tidy 14 fixes
3 years ago
Rosen Penev cf963e9e4d clang-tidy: C casts to C++
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev a98954a98e clang-tidy: add missing special member functions
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev b4c90b5e16 clang-tidy: replace pointer magic with data()
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Miloš Komarčević 93dc63b389
Merge pull request #2215 from Exiv2/add_f_lenses
Add some F mount lenses
3 years ago
Luis Díaz Más 4a5c7adc04
Merge pull request #2242 from Exiv2/mainSpecialBuilds
Fix special builds for main
3 years ago
Luis Díaz Más bf7a33c1fe Fix special builds for main 3 years ago
Luis Díaz Más 0594f8670c
Merge pull request #2240 from Exiv2/mainConanUpdate
Fix CI jobs - Update conan packages
3 years ago
Luis Diaz 0309cb01cb ci: update conan version in all jobs 3 years ago
Luis Diaz 3cd39b789a Update versions of conan dependencies 3 years ago
Luis Diaz e1ed1df0d7 Definition of new CMake presets & usage in CI jobs
Additional interesting changes in this commit:
- conan: use cmake-conan for better CMake-Conan integration
- cmake+doc: Remove deprecated EXIV2_ENABLE_WIN_UNICODE
- Ignore CMakeUserPresets.json
- doc: Add notes about the usage of CMake presets
3 years ago
Miloš Komarčević d4c7e1168d
Merge pull request #2234 from Exiv2/fix_2233
Account for header bytes for Exif and XMP boxes
3 years ago
Miloš Komarčević 4f9bed24e1 Add more JXL tests 3 years ago
Miloš Komarčević e00422ae52 Account for header bytes for Exif and XMP boxes 3 years ago
Viktor Schneider 1ff09506e0 add missing header for std::unique_ptr in values.hpp
76f01fd4d3 removes the <memory> header
which is required to use std::unique_ptr for some builds
(e.g. archlinux using gcc 12.1.0).
3 years ago
mousepotato 056139269e
Fix UNIX-like system installation script (#2232) 3 years ago
Rosen Penev 19dc566889 use _v
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev 0dcd8605c9 fix mmap compilation
CI doesn't catch all cases failing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Luis Díaz Más c9bdd6ed94
Merge pull request #2209 from Exiv2/mainTODOs
Improvements around TODO comments
3 years ago
Rosen Penev d59e1433c0 replace readlink with std::filesystem
Simpler.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Miloš Komarčević 707e22c577 Add some F mount lenses 3 years ago
Luis Díaz Más 6438305234
Merge pull request #2212 from neheb/1
1
3 years ago
Rosen Penev bd1758c3c5 remove some double pointer stuff
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev 65c5b772c9 fix misplaced const
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev c9c2a1847b remove const std::function
std::move is used.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev a86bc386da reference conversions
There's no nullptr here.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev 48f848f5bb clang-tidy: remove const params in decls
Found with readability-avoid-const-params-in-decls

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev 2e721a716e std::function conversions
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
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>
3 years ago
Luis Díaz Más 471b816491
Merge pull request #2211 from neheb/1
clang-tidy: default member init
3 years ago
Rosen Penev 3a8a8b29a2 std::pair conversion
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev a8061e7ee9 clang-tidy: default member init
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev 151b54ab3e remove default constructor
This is rule of zero.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Luis Díaz Más f3f6ffb855 ci: move pvsStudio job to its own workflow & use new flag
The license will expire in approximately 1 month. I disabled the
expiration check.
3 years ago
Luis Díaz Más 2b74cc885d Revert some boilerplate which is not needed 3 years ago
Luis Díaz Más d4ffcb9497 utils are in Internal namespace 3 years ago
Luis Díaz Más cc79051b79 Move 1-liner to header file 3 years ago
Luis Díaz Más 74da8a394f Remove deprecated todo 3 years ago
Luis Díaz Más ee855c0e71 Reduce amount of string transformations 3 years ago
Luis Díaz Más d5742f449b Move string helpers to utils 3 years ago
Luis Díaz Más 1a3e93856b More tests for rational convertions 3 years ago
Luis Díaz Más 8da71e7133 Test parseUint32 and fix it when number is out of limits 3 years ago
Luis Díaz Más 331924612e Remove duplication by using templates 3 years ago
Luis Díaz Más 2b91b5daf9 More tests for DataBuf read/write functions 3 years ago
Luis Díaz Más 6964f5f9f2 DataBuf::c_data() returns nullptr when empty + avoid duplication
After the previous commit, I realized that std::vector::data() also
returns nullptr when the vector is empty. So I decided to emulate this
behavior in DataBuf::c_data().

Anyways, the changes done in the previous commit are valid and allow us
to avoid some processing when the DataBuf is empty.
3 years ago