Kevin Backhouse
4410f46214
Change the return type of the 2Data functions to size_t.
3 years ago
Viktor Schneider
d62220a858
apply clang-format to src/fujimn_int.cpp
3 years ago
Viktor Schneider
73a1a0ec21
Merge remote-tracking branch 'origin'
3 years ago
Rosen Penev
1d0530f04d
misc sonarlint changes
...
Mostly const changes.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Kevin Backhouse
8ba9003f19
Fix clang-tidy warning about double move.
3 years ago
Kevin Backhouse
b0040e3bbe
Convert type of depth parameter to size_t.
3 years ago
Kevin Backhouse
0f1ea7571b
Refactor printTiffStructure depth increment
3 years ago
Kevin Backhouse
46f2ef8009
Refactor printIFDStructure depth increment
3 years ago
Kevin Backhouse
39239cef68
Merge pull request #2296 from kevinbackhouse/tiff-offset-size_t
...
Use size_t for the offset argument in TiffComponent
3 years ago
Kevin Backhouse
89040ad1de
Fix implicit type conversions.
3 years ago
Kevin Backhouse
d8bd05f4e8
Use size_t
3 years ago
Kevin Backhouse
beaee05062
Change type of sizeDataArea_
3 years ago
Kevin Backhouse
30debd2635
Use size_t for the offset.
3 years ago
Rosen Penev
e34395e095
replace shared_ptr with make_shared
...
The former creates a nullptr. The latter actually allocates.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
c03af98725
clang-tidy: use auto
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
5a08e33fd8
sonarlint: replace loop with find_if
...
Sonarlint complains about this loop for some reason. Convert to find_if
to fix.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
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>
3 years ago
Rosen Penev
5d2d47032b
replace [0] with front() where applicable
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Kevin Backhouse
1958e70a71
Use int32_t in TimeValue
3 years ago
Kevin Backhouse
3db7598e29
Don't use long in floatToRationalCast
3 years ago
Rosen Penev
49679640e8
make_unique conversions
...
Requires pointer hack for MSVC.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
3ae1d3b48e
return make_unique directly
...
Simpler
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
9ca7f861cf
remove string_view from headers
...
This should allow usage with C++11 projects. It's also wrong. The only
user of this assigns an std::string from a string_view, which is not
safe.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
5479792d50
remove pointless &*
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
f3b08d506e
const ref conversions
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
a6c30dd1dd
make upper the same as lower
...
Small cleanup
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
b8eaae649d
use some auto
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
b793409eb6
find_if and lambda conversions
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
932d59a984
find_if conversion
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
9766c4532d
fix some gcc -Weffc++ warnings
...
Mostly deleted member functions
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
543c951bde
clang-tidy: use '' for find
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Miloš Komarčević
4544fd826c
Add more Nikon Z lenses
3 years ago
Miloš Komarčević
ca5f88d519
Add Nikon LensData v0802
3 years ago
Rosen Penev
176210567f
remove friend operator
...
Seems to be unused. It's also inconsistent between various clang-format
versions.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Peter
94f8889cd3
Update olympus tags ( #2246 ) ( #2249 )
...
Update translation output of `Exif.OlympusCs.ArtFilter`/`Exif.OlympusCs.MagicFilter`, `Exif.OlympusCs.ImageStabilization` and `Exif.OlympusCs.WhiteBalance` tags.
Fix `Exif.OlympusCs.ImageStabilization` type from `unsignedShort` to `unsignedLong`.
Closes #2246 .
Ref: Exiftool Olympus tags and Olympus E-M10 Mark II instuction manual.
3 years ago
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
3 years ago
Kevin Backhouse
05586628b2
Merge pull request #2276 from kevinbackhouse/TagInfo-enums
...
Move enums from tags_int.hpp to tags.hpp
3 years ago
Kevin Backhouse
3ef783e02a
Convert IfdId and SectionId to enum classes.
3 years ago
Kevin Backhouse
90f794f13e
Merge pull request #2277 from kevinbackhouse/iptcDataSegs
...
Simplify the iptcDataSegs logic in jpgimage.cpp
3 years ago
Kevin Backhouse
97e58a4573
Merge pull request #2267 from neheb/clang
...
mostly clang-tidy fixes
3 years ago
Kevin Backhouse
8e5b8113e7
Use emplace_back
3 years ago
Kevin Backhouse
2c31430ecd
Merge pull request #2275 from kevinbackhouse/vector-access
...
Fix some "unsafe vector access" warnings
3 years ago
Kevin Backhouse
a608138f5f
Simplify the iptcDataSegs logic
3 years ago
Kevin Backhouse
62043c18ab
clang-format
3 years ago
Kevin Backhouse
b9b2d7741b
Fix some "unsafe vector access" warnings.
3 years ago
Kevin Backhouse
3f7cb78a3b
Move enums from tags_int.hpp to tags.hpp
3 years ago
Kevin Backhouse
0c3da129f2
Replace assert with enforce. (Fix for https://github.com/Exiv2/exiv2/issues/2268 )
3 years ago
Kevin Backhouse
7f673c766d
Fix some "signed shift" warnings
3 years ago
Rosen Penev
5be42f132c
try to fix some fanalyzer warnings
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
c0083d6788
clang-tidy: fix mismatching declaration variable
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
7f9242afc6
clang-tidy: replace + with append()
...
Silences clang-tidy performance warning
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
fc1a398488
clang-tidy: remove const
...
It doesn't do what it's supposed to here.
Found with misc-misplaced-const
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
84555f1ad5
clang-tidy: no else after return
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Kevin Backhouse
a5c521ea57
Merge pull request #2252 from neheb/2
...
clang-tidy: use default member init
3 years ago
Kevin Backhouse
60b3e28e0b
Merge pull request #2266 from kevinbackhouse/signed-shift
...
Fix some "signed shift" warnings
3 years ago
Kevin Backhouse
1ada360774
Fix some incorrect format specifiers.
3 years ago
Kevin Backhouse
b3f2ab5988
Fix some "signed shift" warnings.
3 years ago
Kevin Backhouse
08a68c3606
Merge pull request #2251 from kevinbackhouse/basicio-ftell
...
Change return type of BasicIo::tell() to size_t
3 years ago
Kevin Backhouse
5e4eab0012
Merge pull request #2248 from Exiv2/hassec_fix_2247
...
fix naming of canon EF 35-80mm. closes #2247
3 years ago
Rosen Penev
bae7da19ca
clang-tidy: use default member init
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Miloš Komarčević
c2fbff291e
PNG: always strip the existing iCCP chunk
3 years ago
Kevin Backhouse
ad4e13b827
Change return type of BasicIo::tell() to size_t.
3 years ago
Christoph Hasse
16d72c9945
fix naming of canon EF 35-80mm.closes #2247
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
Miloš Komarčević
e00422ae52
Account for header bytes for Exif and XMP boxes
3 years ago
Viktor Schneider
e185c5843f
use correct type for element counter in printFujiFaceElementTypes
3 years ago
Viktor Schneider
6bbaa31409
apply clang-format rules to fujimn_int.cpp
3 years ago
Viktor Schneider
f3258027f4
fix some rebase issues
3 years ago
Viktor Schneider
88bc575b7b
add comment that fujiColor value 512 differs from exiftool
3 years ago
Viktor Schneider
b8e378b85e
fix typo in fujiSharpness and prevent undefined behaviour when shifting signed values
3 years ago
Viktor Schneider
040b106b0a
remove TODO entries
3 years ago
Viktor Schneider
f9cbf2438a
add some fujifilm tags from exiftool and extend TagDetails
3 years ago
Viktor Schneider
967f6a6265
remove redundant TagDetails and fix formatting
...
Co-authored-by: Miloš Komarčević <4973094+kmilos@users.noreply.github.com>
3 years ago
Viktor Schneider
21d07634ae
print newer labels first when interpreting Fujifilm tags
3 years ago
Viktor Schneider
c4ba70caeb
remove auto range for DynamicRangeAuto setting
3 years ago
Viktor Schneider
4a3cf6b3de
add support for more fujifilm tags
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
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
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
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
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
Luis Díaz Más
c3d0100d48
Fixing bad usages of DataBuf (when it is empty)
3 years ago
Luis Díaz Más
4a4a8c544c
Throwing when trying to access TooFar elements in DataBuf
3 years ago
Luis Díaz Más
941017d281
Fix issues on ARM builds ( #2205 )
...
* Specify base class initialization in Copy Constructor
* Fix printing of uint64_t variable in ARM 32bits
Use cinttypes
* Fix alignment issues on ARM 32 bits
* tests: add assertion with custom message
3 years ago
Rosen Penev
6203ded16f
add constexpr constructor
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
8d2e1926ca
remove unused class declarations
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Luis Díaz Más
25c47cd1cf
Merge pull request #2197 from Exiv2/mainRefactoringFormats
...
Refactoring in JpegImage and Photoshop classes
3 years ago
Luis Díaz Más
f07c88de5d
Use .front() to avoid warning from static analysis
3 years ago
Luis Díaz Más
4d99c2aca1
Use std::pair to return multiple values
3 years ago
Luis Díaz Más
4ee9c35799
Include missing iostream header in photoshop.cpp
3 years ago
Luis Díaz Más
f942ba89bd
Move Photoshopb class to internal namespace
3 years ago
Luis Diaz
047f6b733e
Change logic to determine if segment has size
...
Note that the failing tests that had to be adapted were bad formed files
from FUZZERs. We should not consider invalid markers like 0x00 or 0x52
but only undefined APPn markers.
3 years ago
Luis Diaz
400632f27b
Factor out function readSegmentSize()
3 years ago
Luis Diaz
24d2a7b8f0
JpegBase::markerHasLength moved to implementation details
3 years ago
Luis Diaz
23fe743d4d
Move private constants to .cpp
3 years ago
Luis Diaz
b00e460d76
Move static functions to anonymous namespace
3 years ago
Rosen Penev
c997b09a81
algorithm conversions
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
d789968e90
replace malloc/free with new/delete
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
a20ace20fc
clang-tidy: manual clang-tidy fixes
...
clang-tidy has issues applying these.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
ae66ecec0d
clang-tidy: use nullptr
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
49bf7e1387
clang-tidy: use delete
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
e654b2931c
clang-tidy: replace throw() with noexcept
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
1f05448d0e
clang-tidy: default member init
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
0d971e98e4
remove some unique_ptrs
...
They're not really used as pointers.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
89b8d4ea4e
try to actually fix null pointer deref
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
25ef5d7e77
replace ret variable with return statement
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
7bc9861301
clang-tidy: use strcmmp properly
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
7a826ac529
clang-tidy: add parentheses to macros
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
cacb54eaba
use auto
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
fdfcde5e4b
structured binding conversions
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Luis Diaz
a505d6f06c
More unit tests for Photoshop methods
3 years ago
Luis Diaz
8ab7800477
Remove 2nd param from Photoshop::isIrb() since it is always hardcoded
3 years ago
Luis Díaz Más
e715243aa5
Fix integer overflow #2179
3 years ago
Luis Díaz Más
6e9eca445a
Merge pull request #2177 from neheb/1
...
clang-tidy and manual stuff
3 years ago
Luis Díaz Más
bd68c14de5
Detect integer-overflow and throw in that case
3 years ago
Rosen Penev
262d0ee4b3
struct to std::pair conversions
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
e82be13b73
C to std::function
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
e9896d1f99
clang-tidy: fix inconsistent decleration
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
d190baac6c
clang-tidy: do not use using namespace
...
Found with google-build-using-namespace
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
c35fb7104b
clang-tidy: use any_of
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
3298fcf656
some chrono
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
b25e75dd7b
replace Sleep with sleep_for
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
dfb93dd8cd
clang-tidy: use C++ headers
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
aa41d557b2
function move
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
06d977d7bc
clang-tidy: use default
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
9f67620503
clang-tidy: add more nodiscard
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
b72e4b0e44
clang-tidy: use auto
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Luis Díaz Más
d16ca65b01
Fix out of bounds read in isValidBoxFileType()
3 years ago
Luis Díaz Más
3b9fcb4b3d
Update .clang-format to align pointers to the types
3 years ago
Luis Díaz Más
790fc465f4
Merge pull request #2172 from Exiv2/mergify/bp/main/pr-2167
...
Initial support for OM System MakerNote (backport #2167 )
3 years ago
Rosen Penev
fafe999c6e
remove unused var from deleted stuff
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Miloš Komarčević
8fa30d66b4
Initial support for OM System MakerNote
...
(manually adapted from 916436903d34b88ea0d49c5084c51e02cfae9bfb)
3 years ago
Rosen Penev
c0868aff31
std::function
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
389501462a
delete
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
043547cbd0
remove various usages of memset
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
bad4712df8
static constexpr conversions
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
9dc35e7380
find to std::find
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
9cb1fcef5c
std::array conversions
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Luis Díaz Más
d7f35e33f0
Remove useless static_casts
3 years ago
Luis Díaz Más
ae4df71233
Remove DataBuf::copyBytes and use std::copy instead
3 years ago
Luis Díaz Más
5b0418d136
Improve compare function: no need to count chars
3 years ago
Luis Díaz Más
b05573fadc
Remove most of the asserts from codebase
3 years ago
Luis Díaz Más
1ad9e52f3c
Fix windows build
3 years ago
Luis Díaz Más
1545a1bc4a
JP2 - stronger checks on Signatuer and FileType boxes
3 years ago
Luis Díaz Más
e7478f744d
Jp2Image: Implement more checks from JP2 standard + fix bug
...
- add debug info when parsing Signature box
- Move definitions & static stuff to anonymous namespace
- cleanup while studying code
- Make exceptions more similar to other formats
3 years ago
Luis Diaz
b48e8e9379
Add unit tests for Jp2Image revealing bugs (see #2147 )
3 years ago
Rosen Penev
5d5354edee
clang-tidy: C array to std::array conversions
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Luis Díaz Más
30bf563f4d
Update .clang-format file & apply clang-format to whole project
3 years ago
Rosen Penev
b2b6d834ba
some std::array conversions ( #2148 )
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Luis Díaz Más
573c3c79fc
Merge pull request #2145 from Exiv2/mainSizeT_n
...
More migration to size_t
3 years ago
Jim Easterbrook
04ae6c2c4c
Add key name to "Value not set" error message ( #2149 )
...
The error typically occurs when writeMetadata() is called. It's easier
to find the problem if you know which datum hasn't had a value set.
3 years ago
Luis Diaz
4355d635d4
More conversions to size_t while removing static_casts
3 years ago
Luis Diaz
7576a2757b
More size_t for sizes
3 years ago
Luis Diaz
137ea080b5
Change Metadatum::size() return value from long to size_t
3 years ago
Luis Diaz
62aad98d0b
Change Metadatum::copy return value from long to size_t
3 years ago
Luis Diaz
fa24fb22ca
Use compiler deduction guides for error list
3 years ago
Luis Díaz Más
7119b7676f
remove templating & simplify error message
...
+ clang-format in Error files
+ Remove AnyError
3 years ago
Luis Díaz Más
96f7f2e4c5
Convert Exiv2::ErrorCode into an enum class
3 years ago
Luis Díaz Más
5d08bb9bec
Merge pull request #2146 from Exiv2/mainDatesWithZeros
...
DateValue is now a bit more permissive with malformed dates
3 years ago
Luis Díaz Más
c115d4daf7
Merge pull request #2131 from Exiv2/mainCleanups
...
Include what you use + more SPDX identifiers + few other cleanups
3 years ago
Luis Diaz
56c52be8b5
DateValue is now a bit more permissive with malformed dates
3 years ago
Luis Díaz Más
5c36c690f9
Merge pull request #2137 from Exiv2/mainRecoverRecordId
...
Recover IptDataSets::recordId in the API
3 years ago
Luis Díaz Más
a009ac1f61
Merge pull request #2135 from neheb/1
...
manual nullptr removals
3 years ago
Luis Diaz
c1ae1bcb03
Recover IptDataSets::recordId in the API
3 years ago
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>
3 years ago
Rosen Penev
784cbe2965
manual move conversions
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Miloš Komarčević
eb49d66caf
Strip XMP raw packet before decoding
3 years ago
Rosen Penev
b8304fffa4
clang-tidy: don't use C casts
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Luis Díaz Más
89e66ffd37
Merge pull request #2132 from neheb/2
...
misc cleanups
3 years ago
Luis Díaz Más
f894ee0568
Fix debug builds
3 years ago
Luis Díaz Más
c0a3242e73
C++-style headers
3 years ago
Rosen Penev
c2bcd4b08e
replace EXV_COUNTOF with std::size
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
61a5d8594c
remove some new
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
17a13072e6
manual unimplemented operator = delete
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
b3823f4c8d
conversions to make_unique
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
b6bdbf5574
clang-tidy: don't use else after return/throw
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
9f949195e4
clang-tidy: add ending namespace comment
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
09ca3ca1f2
manual namespace concatenations
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Luis Díaz Más
c146ae5215
Fix mac build
3 years ago
Luis Díaz Más
bbc99ae581
Use auto for unique pointers
3 years ago
Luis Díaz Más
f156af46f3
Fix build on Windows
3 years ago
Luis Díaz Más
b3a216310a
Removing unused headers thanks to IWYU
3 years ago
Luis Díaz Más
22064c957d
Add missing header to the CMake configuration
3 years ago
Luis Díaz Más
2834fa5f05
Use [[maybe_unused]]
3 years ago
Luis Díaz Más
5508e6f466
hexdump to size_t
3 years ago
Luis Díaz Más
8b1fe379a1
Removing unused headers thanks to IWYU
3 years ago
Luis Díaz Más
3f3b651c04
Remove unused stuff
3 years ago
Luis Díaz Más
15697fcd1e
Remove unused file
3 years ago
Luis Díaz Más
23da0c3955
Do not define not needed stuff
3 years ago
Michael Allman
7ed43037e3
Guard against parsing "inf" into an int64 in the EasyAccess/ISO API.
...
(Diff authored by clanmills)
3 years ago
Rosen Penev
f0d23eca9b
clang-tidy: add some missing operators
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
daf7c890e2
misc stuff
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
95355fe214
clang-tidy: remove C casts
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
8cda090e58
clang-tidy: get rid of compare() usage
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
63e41c3aeb
clang-tidy: simplify bool
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
133849c394
clang-tidy: remove pointless get()
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
6d1fa2ecea
clang-tidy: use empty() instead of size()
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
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>
3 years ago
Rosen Penev
e6d3315160
clang-tidy: use emplace_back
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
77e79b32f5
manual braced init conversion
...
clang-tidy's not converting these for some reason.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
a25bbe133f
constexpr string conversions
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
887b08b0b7
clang-tidy: range loop conversion
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
04bacdedd6
clang-tidy: use auto
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
962e3b7369
clang-tidy: use default
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
a5c094b85f
clang-tidy: use concat namespaces
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
118aa78aa0
clang-tidy: use braced init list
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
f65848a590
simplify ReplaceStringInPlace slightly
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
5d60a91ebc
move initializations to class
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
a67e0d525f
move namespace fs below includes
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
ae3e28c62a
make array constexpr
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
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
3 years ago
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)
3 years ago
Luis Díaz Más
a5b6db171c
Merge pull request #1919 from dimin/viqi
...
fix for reading jpeg-xr images
3 years ago
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
3 years ago
Luis Díaz Más
208ec70df8
Fix windows builds
3 years ago
Luis Díaz Más
e07c3771da
Fix more issues found by fuzzer
3 years ago
Luis Díaz Más
12738214f2
Fix warnings and place return statements separated from if
3 years ago
Luis Díaz Más
f6b17d2a4d
Fix issues found by fuzzer
3 years ago
Luis Díaz Más
b9f9d041ea
Several transformations on DataBuf + migration to size_t
...
- Provide begin/end iterators to DataBuf and simplify code
- Adapt test output after last changes
- Replacing long by size_t in value.hpp
- Use size_t in some Photoshop functions
- Remove some static_casts
3 years ago
Luis Díaz Más
7dea0050b1
Factor out duplicated piece of code
3 years ago
Luis Díaz Más
5d627433fc
Remove useless DataBuf::clear()
3 years ago
Luis Díaz Más
3a749e6861
No need to define copy & move ctors
3 years ago
Luis Díaz Más
2bacff0f5c
Simplify DataBuf
3 years ago
Luis Díaz Más
615ccff5ab
Fix another case revealed by tests
3 years ago
Luis Díaz Más
6e50714726
Replace c style arrays by std::array
3 years ago
Luis Díaz Más
f1e04ee866
Replace DataBuf internal buffer with std::vector
3 years ago
Luis Díaz Más
aec36f86d7
Replace naked new operators
3 years ago
Robin Mills
9bf4967e5c
Merge pull request #2110 from mallman/nikon_ContrastDetectAFInFocus
...
Make Nikon ContrastDetectAFInFocus tags Bytes that print as "Yes" or "No"
3 years ago
Michael Allman
5ff7d89a4c
Document origin of data size specifications for Nikon maker note tag 0xb7
3 years ago
Michael Allman
54eab964a6
When selecting which version of nikonAf2 metadata to parse, include the
...
size of the data declared in the tag header as part of the lookup
3 years ago
Luis Díaz Más
c5a9dfd9af
Merge pull request #2109 from Exiv2/main_StringView
...
Refactoring & cleanup
3 years ago
Michael Allman
a3e2410b88
Print value of ContrastDetectAFInFocus as Yes/No. Change internal
...
selection logic for NikonAf2* from tag data length to group version
3 years ago
Kevin Backhouse
5d86044c71
Merge pull request #2107 from kevinbackhouse/MetadataToLong
...
Replace Metadatum::toLong() with Metadatum::toInt64().
3 years ago
Luis Díaz Más
21eb0cec4f
Fix build when EXIV2_BUILD_MESSAGES is ON
3 years ago
Luis Díaz Más
8b3da36f42
Improvements from code review
3 years ago
Kevin Backhouse
a7ce4ee846
Move Metadatum::toUint32() implementation out of header file.
3 years ago
Michael Allman
9541a89b13
Make Exif.NikonAf2.ContrastDetectAFInFocus and
...
Exif.NikonAf22.ContrastDetectAFInFocus byte types
3 years ago
Kevin Backhouse
5db9a25b19
Fix compiler warnings.
3 years ago
Kevin Backhouse
90aa007188
Convert type of pixelHeight/pixelWidth to platform-independent uint32_t.
3 years ago
Luis Díaz Más
f774a3b25e
Fix build on linux
3 years ago
Luis Díaz Más
9fb43f28e0
Use standard [[maybe_unused]]
3 years ago
Luis Díaz Más
76f01fd4d3
Clean more header inclusions
3 years ago
Luis Díaz Más
7e5ba7cb23
Remove many redundant or not needed header inclusions
3 years ago
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
3 years ago
Luis Díaz Más
476a5e23f9
Replace raw loop for any_of
3 years ago
Luis Díaz Más
59f4d0de27
cppcheck: reduce scope of variables
3 years ago
Luis Díaz Más
d11479e53c
Replace dynamic C array by std::vector
3 years ago
Luis Díaz Más
ea201ce613
Remove dead code
3 years ago
Luis Díaz Más
1d243ed40e
Remove dead code: copyXattrFrom
3 years ago
Luis Díaz Más
c0b663b7ea
Remove dead code (LSTAT)
3 years ago
Luis Díaz Más
798cf9baeb
Remove dead code (winNumberOfLinks)
3 years ago
Luis Díaz Más
a6185d29c6
Image::setComment now takes string_view
3 years ago
Luis Díaz Más
56b5ab9a29
Use remove from filesystem
3 years ago
Luis Díaz Más
9b3a643d33
Use rename from filesystem
3 years ago
Luis Díaz Más
8b2d17312e
ReplaceStringInPlace does it in-place now
3 years ago
Luis Díaz Más
45300ad667
BasicIo::path() returns const ref
3 years ago
Luis Díaz Más
0726104b1a
Hide pathOfFileUrl in the only place where it is used
3 years ago
Luis Díaz Más
6f762b4e66
Use std::filesystem for fileExist
3 years ago
Luis Díaz Más
f1ff3aaa4c
Make urldecode in-place
3 years ago
Luis Díaz Más
3d370cc2ae
Improvements in urlencode
3 years ago
Luis Diaz
8e0e00c459
make startsWith constexpr and use string_view
3 years ago
Luis Díaz Más
f5c89a4e62
Fix build on Windows
3 years ago
Luis Díaz Más
405f4b5f1b
Remove Util::dirname and finally the util files
3 years ago
Luis Díaz Más
1b912fa887
get rid of suffix
3 years ago
Luis Díaz Más
dad3e7f5c4
Replace suffix implementation with std::filesystem
3 years ago
Luis Díaz Más
2c51208622
Replace basename implementation with std::filesystem
3 years ago
Luis Díaz Más
d64c2aad67
Replace dirname implementation with std::filesystem
3 years ago
Luis Díaz Más
f1c8d5bbb4
Remove unused headers
3 years ago
Luis Díaz Más
7c6a7aefc2
Utils::strtol only used in the app
3 years ago
Luis Díaz Más
8c6e22e6aa
replace is only used in actions.cpp
3 years ago
Luis Díaz Más
49fbfb44a3
Remove startsWith from utils
3 years ago
Luis Díaz Más
d1524e3d96
simpler implementation of startsWith
3 years ago
Luis Díaz Más
a725d22ea5
add characterisation tests for utils
3 years ago
Luis Díaz Más
a8bb38ab6f
Move exiv2 app into its own folder
3 years ago
Kevin Backhouse
256365830a
Replace Metadatum::toLong() with Metadatum::toInt64().
3 years ago
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
3 years ago
Luis Diaz
38254be55e
Install new image_types.h header
3 years ago
Luis Diaz
b7d5c7e22a
Link against stdc++fs on Linux when it is needed
3 years ago
Robin Mills
287744fa12
Merge pull request #2087 from Exiv2/update_canon_tags_2
...
Update canon tags 2
3 years ago
Luis Díaz Más
408d80bce8
Change order of ImageType values
3 years ago
Luis Díaz Más
f10283f118
bug: Fix crash when calling ImageFactory::create(none)
3 years ago
Luis Díaz Más
5a9799ffb2
Replace ImageType namespace by a enum class
3 years ago
Christoph Hasse
0aa34c3098
fix(canon): cleanup canonAf2 and canonAf3 related code
3 years ago
Robin Mills
800ed8959f
Rewire Canon MakerNote 0x0026 (AFInfo) to allow TiffDecoder::decodeCanonAFInfo to handle this tag.
...
Minor changes to test script.
Cosmetic code changes.
3 years ago
Luis Díaz Más
d19e2d42df
Use AutoRotate
3 years ago
Luis Díaz Más
e625f331f9
Include CanonFlashInfo (somehow missing after cherry-picking)
3 years ago
Luis Díaz Más
de036b2b2a
Fix remaining wrong brackets
3 years ago
Alex Esseling
4977b7d5c3
controlmode added
3 years ago
Alex Esseling
f247014ee6
AEB Bracket Value added
3 years ago
Alex Esseling
5800942a9b
OpticalZoomCode added
3 years ago
Alex Esseling
d72ca6806c
ExposureCompensation added
3 years ago
Alex Esseling
50390717f7
fix wrong brackets
3 years ago
Alex Esseling
c6b8be5498
wrong brackets fixed
3 years ago
Alex Esseling
b70a3fb572
Canon AF Info 2 Tag
3 years ago
Alex Esseling
5cc52feb4b
Adding Canon RawBurst Tag
3 years ago
Alex Esseling
cf36feaa61
Adding Canon AF Config Tag
3 years ago
Alex Esseling
56a455422d
Adding LensSerialNumber Tag
3 years ago
Alex Esseling
e3311b9a4f
canon filter options
3 years ago
Alex Esseling
d6f1f7c614
Adding of Canon Vignetting Correction Tag 2
3 years ago
Alex Esseling
8b174900fa
Adding Canon Lighting Optimization Tag
3 years ago
Alex Esseling
524b33e5df
Canon MultiExposure tag added
3 years ago
Alex Esseling
e2b1028973
Adding tag Canon AFMicroAdj
3 years ago
Alex Esseling
80d67b89c6
Adding Ambience Selection to tag list
3 years ago
Christoph Hasse
3ffe9938f8
Decoding of Canon HDRInfo tag
3 years ago
Alex Esseling
b589ced049
update to tags
3 years ago
Alex Esseling
5f2dee4d40
update canonrf tags, new lenses
3 years ago
Alex Esseling
081f458bf1
update tags ID
3 years ago
Alex Esseling
f41e7e59e3
second rund
3 years ago
Alex Esseling
23293064bb
work on canon tags
3 years ago
Luis Díaz Más
23f089a1b6
Apply suggestions from code review
...
Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com>
3 years ago
Luis Díaz Más
f59a9abfe3
Remove unused PRINTUCS2 CMake option
3 years ago
Luis Díaz Más
432555eae8
Replace platform specific code with std::filesystem
3 years ago
Luis Díaz Más
fdfb295cc4
windows: Trick to get UTF-8 encoded argv in main entry point
...
- Adapt exifprint to the new wmain strategy
- Delete have_unicode_path
- wmain does not work with MSYS & MinGW
- cmake: entry point via cmake instead of pragma
- cmake: better doc for MSVC flags
- Fix entry point in sample apps
- Adapt CMake code to work with MSVC & MinGW
3 years ago
Luis Díaz Más
7933ff401d
Remove dead code around EXV_UNICODE_PATH
3 years ago
Kevin Backhouse
2a3dd2def9
Replace Value::toLong with Value::toInt64. ( #2062 )
...
* Replace Value::toLong with Value::toInt64.
* Fix compiler warning.
* Fix compile error.
* Fix declaration of canonEv
* Fix compiler warning.
* Fix compiler warning.
* Use int64_t for offsets in tiffcomposite_int.cpp
* Fix compiler warning.
* Fix compiler warnings.
* Fix compiler warning.
* Fix compiler warning.
* Fix compiler warning.
* Fix compiler warning.
* Remove static_cast<long int> in TagDetails initializer.
3 years ago
Sturmflut
f2385a35aa
[nikon] Add Tokina ATX-i 11-20mm F2.8 CF lens ( #2072 )
...
* [nikon] Add Tokina ATX-i 11-20mm F2.8 CF lens
* [nikon] Add test for Tokina ATX-i 11-20mm F2.8 CF lens
Co-authored-by: Sturmflut <Simon Raffeiner>
Co-authored-by: Luis Díaz Más <piponazo@gmail.com>
3 years ago
Sturmflut
50f34f4561
[nikon] Add instructions for adding new Nikon F mount lenses
...
- Also cleans up a dead link
3 years ago
Sturmflut
eeb1e1d5f7
[nikon] Add Tokina AT-X 14-20 F2 PRO DX lens
3 years ago
Luis Díaz Más
1f07715141
Revert "Delete dead code"
...
This reverts commit 1d6bac61f2
.
3 years ago
Luis Díaz Más
b96091880a
Merge pull request #2061 from Exiv2/main_pvs
...
Adding static analysis with PVS-Studio
3 years ago
Luis Díaz Más
ac9439e931
Merge pull request #2063 from Exiv2/main_iterators
...
Modernise code around iterators & smart pointers
3 years ago
Peter
46c329081f
Fix `exiv2`: verbose extract stdout mutli-file ( #2068 )
...
When using `exiv2 --verbose --extract` with stdout and multiple files, the output is concatenated together.
3 years ago
Luis Díaz Más
524fad42e1
Remove useless ops
3 years ago
Luis Díaz Más
93fe2086e4
Simplify TaskFactory
3 years ago
Luis Díaz Más
f18d04cb8f
Modern implementation of Singleton
...
With this implementation we also make the initialization of the Singleton instance thread-safe
3 years ago
Luis Díaz Más
d20f014807
Simplify cloning in actions
3 years ago
Luis Díaz Más
b67dee8a57
Fix build on linux
3 years ago
Luis Díaz Más
0f03e77634
Simplify code around UniquePtr(s) & use make_unique over new
3 years ago
Luis Díaz Más
db4b63937e
Add some TODO comments
3 years ago
Luis Díaz Más
9d8dd86945
Use auto to reduce verbosity around code dealing with iterators
3 years ago
Sturmflut
3b1d31e0af
Add Sigma 12-24mm F4 DG HSM Art lens for Nikon
3 years ago
Luis Díaz Más
a42501864a
Recover some documentation strings
3 years ago
Luis Díaz Más
c531c4abf5
More tests for IptcDataSets
3 years ago
Luis Díaz Más
476a254dfc
Remove dead code
...
No way to obtain nullptr DataSet* when we are checking already the 2
only existing DataSets above.
3 years ago
Luis Díaz Más
9b40f948eb
More tests
3 years ago
Luis Díaz Más
15e8c75a38
Delete unused IptcKey copy operator
3 years ago
Luis Díaz Más
d8fcbc4562
Add new tests for Iptc classes
3 years ago
Luis Díaz Más
df0b7c450d
Hide public details
3 years ago
Luis Díaz Más
8f9a780375
clang-format on datasets.cpp
3 years ago
Luis Díaz Más
1d6bac61f2
Delete dead code
3 years ago
Luis Díaz Más
071e73fa4d
Add many tests for datasets
3 years ago
Luis Díaz Más
a94d648d05
Rest of tests to have 100% coverage in BMP class
3 years ago
Luis Diaz
edf39e00dd
Add new BMP tests
3 years ago
Josh Soref
e56abfa10a
Spelling ( #2067 )
...
* spelling: accelerometer
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: address
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: anonymous
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: available
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: baby
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: buffer
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: build
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: builds
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: by inclusion
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: byte order
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: camera
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: command
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: consistency
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: constructor
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: continuous
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: continuously
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: correspond
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: decompression
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: dedicated
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: denominator
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: dependencies
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: detector
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: dlighting
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: dragging
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: duplicate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: dynamic
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: empty
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: enable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: endianness
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: examining
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: exceed
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: extension
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: fact
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: fails
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: fixed
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: fluorescent
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: focuspoint
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: focuspoints
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: from
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: happened
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: hierarchy
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: initiate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: interesting
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: internal
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: javascript
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: language
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: libiconv
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: libraries
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: library
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: localization
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: macros
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: member
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: members
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: metadata
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: miscellaneous
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: mnemonic
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: modified
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: multiple
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: multithreaded
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: mysterious
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: photoshop
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: platforms
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: preliminary
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: priority
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: properties
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: qualifier
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: recognition
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: recognized
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: reentrancy
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: remaining
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: remotetest
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: requested
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: sensitivity
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: standardize
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: successful
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: such
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: tags
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: temperature
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: test
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: the
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: these
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: third
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: this
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: transparent
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: underwater
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: uninterpreted
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: using
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: utc - coordinated universal time
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: which
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: with
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
3 years ago
postscript-dev
da320f35a7
Remove experimental code from pr#2053
3 years ago
postscript-dev
6c59437319
Add IPTC 2021.1 source comments for pr#2053
3 years ago
postscript-dev
fe83240bb8
Update XMP IPTC tags to 2021.1 standard
...
Changes:
1. Add/update tags.
2. According to the standard, several tags in
`Xmp.iptc.<property>` and `Xmp.iptcExt.<property>`, had been
wrongly added, as they only exist as part of a struct used by a
tag. The incorrect tags have been marked as deprecated in the
label and description.
3. Update existing test with translated output.
Ref: [IPTC Photo Metadata Standard 2021.1](https://www.iptc.org/std/photometadata/specification/IPTC-PhotoMetadata-2021.1.html )
4 years ago
Luis Díaz Más
b0318c36be
Upgrade C++ standard to c++17 ( #2052 )
...
* Enable C++17 and use new inline specifier for const variable members
* Silence deprecation warning on MSVC
* Disable samples by default
* improvements after review
4 years ago
Peter
629442df9d
Merge pull request #1929 from postscript-dev/fix_exiv2_-pR
...
Fix `exiv2 -pR` for Sony images (#1805 )
4 years ago
Luis Díaz Más
825c0c72bc
Check array index before inspecting it
4 years ago
Luis Díaz Más
240a72468e
Clang-format in pngchunk_int.cpp
4 years ago
Luis Díaz Más
ec21f65dca
Replace magicValue with constant variable
4 years ago
Luis Díaz Más
ceae86899d
Initialize uninitialized variables
4 years ago
Luis Díaz Más
b96f5af037
Remove dead code
4 years ago
Luis Díaz Más
061df50cea
keyTXTChunk improvement
4 years ago
Luis Diaz
c19425f6a4
Add unit tests for PngChunk::keyTXTChunk
4 years ago
Luis Diaz
c898f56ab2
cmake: Add missing source file
4 years ago
Luis Díaz Más
813566526c
Revisiting cmake code for generating coverage reports ( #2047 )
...
* cmake: better usage of gcovr for coverage reports
* Add test for FileIo::setPath
* Remove useless seek() overload
* Add missing override specifiers
* ignore .vs folder
* Small refactors in BasicIo implementations
* Remove duplicated doxygen doc
* Refactor & add tests for MemIO
* Fix compilation warnings on windows
4 years ago
Kevin Backhouse
a094dde1de
Merge pull request #2040 from kevinbackhouse/TiffEntryBaseStorage
...
Use std::shared_ptr for storage in TiffEntryBase
4 years ago
Facundo
b52b6db39f
Output of -PV was not suitable for inputting to -m-, key was missing. ( #1970 )
...
* Output of -PV was not suitable for inputting to -m-, key was missing.
Fix #1969
* Make V flag to -P also print the type
This makes -PV work also for non-built-in tags (of which their type is
not known by exiv2).
* Adjust man to accomodate for the V flag change
4 years ago
Kevin Backhouse
9268279b47
Add comments.
4 years ago
Kevin Backhouse
b6a4fd1c67
Add storage parameter to setData.
4 years ago
Kevin Backhouse
29f7d0ccf0
Remove DataBuf::release() which is no longer used.
4 years ago
Kevin Backhouse
9f3240c91c
Delete TiffEntryBase::isMalloced_ field and use a std::shared_ptr instead.
4 years ago
Kevin Backhouse
29cc981180
Merge pull request #2028 from kevinbackhouse/FixIssue2027
...
Use memmove in TiffEncoder::updateDirEntry
4 years ago
Robin Mills
13a2cf336d
fix_1416_iptc_DateCreated ( #1547 )
...
* fix_1416_iptc_DateCreated
* Fix unit tests
* DateValue:read 2nd iteration on pre-condition
* test with ISO_8601 date format
* Use std::regex for ISO 8601 basic & extended date formats
* Use std::regex for ISO 8601 basic & extended time formats
* Add more tests & notes for DateValue & TimeValue
* Comment tests using local calendar times
* DateValue::write also adds padding to year field
Co-authored-by: Luis Díaz Más <piponazo@gmail.com>
4 years ago
Kevin Backhouse
e34eacc467
Use memmove, rather than memcpy, because memory regions might overlap.
4 years ago
Miloš Komarčević
fd8447129c
Add more DNG 1.6 tags ( #2023 )
...
* Add more DNG 1.6 tags
* Update CinemaDNG, add more spec links
4 years ago
Kevin Backhouse
65fad9db0e
Merge pull request #2007 from kevinbackhouse/FixIssue2006
...
Fix integer overflow in PanasonicMakerNote::printAccelerometer
4 years ago
Kevin Backhouse
aebb3fb2c0
Merge pull request #2015 from kevinbackhouse/SonyPreviewUndefined
...
Treat Exif.Sony1.PreviewImage as undefined tag
4 years ago
Kevin Backhouse
0a1fa497d5
Merge pull request #1999 from jim-easterbrook/bug_1998
...
Restore modified tags after TZ manipulation
4 years ago
Kevin Backhouse
a1ad29edf3
Treat Exif.Sony1.PreviewImage as undefined tag.
4 years ago
Kevin Backhouse
35f48ae5c9
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41438
...
Replace weird sign-conversion code with a simple static_cast.
4 years ago
Kevin Backhouse
6758e7288d
Merge branch 'main' into fix_exiv2_-pR
4 years ago
Peter
797f86c226
Fix minor whitespace formatting
...
Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com>
4 years ago
postscript-dev
9c294ef4fd
Fix exiv2: verbose extract to stdout (see #1934 )
...
Fix ignores `--verbose` when extracting to stdout.
4 years ago
Jim Easterbrook
02ce7e9aff
Restore modified tags after TZ manipulation
...
This ensures that Xmp date/times that have been set by the user aren't
over written by the TZ restoration efforts. This fixes bug #1998
4 years ago
Kevin Backhouse
fde8ed07b3
Merge pull request #1967 from kevinbackhouse/ReadOrThrow
...
Add readOrThrow and seekOrThrow to BasicIo
4 years ago
Peter
1ae9f42cd8
Add camera models for NikonFl3 makernotes group ( #1994 )
...
* Add camera models for NikonFl3
* Python test for new NikonFl3 camera models
4 years ago
postscript-dev
562b10f2c7
Fix Exif.NikonFl7.FlashCompensation
4 years ago