Luis Díaz Más
1545a1bc4a
JP2 - stronger checks on Signatuer and FileType boxes
3 years ago
Luis Díaz Más
2b9f6ccf6b
Adapt tests to changes in JP2
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
8a37d6a927
Merge pull request #2152 from Exiv2/mainClangFormat
...
clang-format whole project + new CI workflow for checking style
3 years ago
Dmitry Fedorov
98f982215e
Added JPEG-XR test file ( #1946 )
...
This file is in JPEG-XR format and contains IPTC, XMP, geotag and ICC profile metadata
3 years ago
Luis Díaz Más
9111801b3c
doc: add clang-format notes to CONTRIBUTING.md
3 years ago
Luis Díaz Más
30bf563f4d
Update .clang-format file & apply clang-format to whole project
3 years ago
Luis Díaz Más
0641a5f539
Add bash script to format whole project
3 years ago
Luis Díaz Más
c0aadda37e
Remove dead sample apps
3 years ago
Luis Díaz Más
f0e5ecdf98
CI: Add new workflow to check clang-format
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 Díaz Más
173ebb2931
Merge pull request #2141 from Exiv2/mainErrorType
...
Improvements in the Error class
3 years ago
Luis Diaz
fa24fb22ca
Use compiler deduction guides for error list
3 years ago
Luis Diaz
8d6901c592
remove werror-test from README
3 years ago
Luis Diaz
bc7f08b3c4
Remove obsolete werror sample
3 years ago
Luis Diaz
65568b056e
Add unit tests for Error class
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
Miloš Komarčević
7aae68e34e
Update CI actions ( #2143 )
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
Miloš Komarčević
1e2b9daf3f
Merge pull request #2133 from Exiv2/fix_2126_xml_term
...
Strip XMP raw packet before decoding
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ć
134c4767b1
Update tests after XMP stripping
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
85d6082d7f
Should fix build in some Linux distros
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
cca6f74200
windows.h
3 years ago
Luis Díaz Más
c0a3242e73
C++-style headers
3 years ago
Luis Díaz Más
d8482b20af
Merge pull request #2129 from neheb/23
...
conversions to make_unique
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