9310 Commits (9999608d349338230b19a384460eaa929b09ce4c)
 

Author SHA1 Message Date
Kevin Backhouse 3664f5b826
Merge pull request #2665 from kevinbackhouse/metadata-null-checks
Check if the metadata is NULL
2 years ago
Kevin Backhouse a89c02f927 Add support for indirect null-pointer dereferences. 2 years ago
Kevin Backhouse 79ffedcbb5 Add CodeQL query to warn about null pointer exceptions in the print functions. 2 years ago
Kevin Backhouse 1119a68a1e
Check if the metadata is NULL. 2 years ago
Kevin Backhouse 360c6cd41f
Check if the metadata is NULL. 2 years ago
Miloš Komarčević 6b186a4cd2 Add new Exif 3.0 tags
(cherry picked from commit eb303ae63e79bf680901951c2ddcc7386f15e71b)
2 years ago
Kevin Backhouse 0e1ef67fc2 Enable CodeQL analysis of workflow yaml files. 2 years ago
luzpaz 39a4b9b930 Fix various typos
Found via `codespell -q 3 -S *.po,*.pot,*.ts,./doc/ChangeLog,./xmpsdk -L alis,discus,filetest,ist,nd,ois,optio,siz,te,tempdate`
Excluded 3rd-party code (ie ./xmpsdk)
2 years ago
Kevin Backhouse 3202e86e73 Avoid triggering assertion in std::vector::operator[] 2 years ago
Kevin Backhouse 33071f33b2 Fix unit test failure. 2 years ago
Kevin Backhouse 96d0e5faf1 Allow c_data() to return zero byte buffer. 2 years ago
Miloš Komarčević b66ebd9481 Fix regression parsing PNG text chunks with zero length payload
(cherry picked from commit 16c1cd7da0cd159ee2d53c39088564edaf046c77)
2 years ago
Rosen Penev d234d63c28 optimize toString slightly
Also get rid of if constexpr for C++11 compatibility. The else condition
results in extra generated code as compilers are not free to promote if
to if constexpr.
2 years ago
Rosen Penev 6ee4a168ca reduce nesting of operator
Easier to read

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
norbertwg f7de846909 clang format 2 years ago
norbertwg 31620a6522 adjust descriptions in canonLiOpId to fit tag name 2 years ago
Ryan 22b65ccfea
Sort and remove duplicates (#2631)
* python3 was duplicated

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2 years ago
Miloš Komarčević 05ccb5ae58
Merge pull request #2613 from cytrinox/fuji_xmp_fix
Extract XMP data from embedded JPEG preview inside RAF files
2 years ago
Daniel Vogelbacher c493e38d5a RAF: Copy comment from embedded JPEG image 2 years ago
Ryan Friedman 445757a3d1 Remove extra build directories that are no longer needed
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2 years ago
Ryan Friedman ce242fc00a Preserve existing behavior with removing build dir
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2 years ago
Ryan Friedman f0785018c0 Bump minimum cmake and stop creating build directory
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2 years ago
Daniel Vogelbacher f5f1f30f5b RAF: Ignore JPEG decoder errors if the JPEG offsets are invalid 2 years ago
Thomas Klausner d92fb10cdb Fix build on NetBSD. 2 years ago
Thomas Klausner b0eefcda75 Adapt for NetBSD iconv() prototype change. 2 years ago
Miloš Komarčević ec6c806717 Fix MinGW shared library name in readme 2 years ago
Miloš Komarčević c04dcc8341 Remove exiv2-xmp from CMake exported config 2 years ago
Miloš Komarčević 972795741b Remove exiv2-xmp from pkg-config file 2 years ago
Miloš Komarčević 3d0ef18160 Remove exiv2-xmp from readme 2 years ago
Rosen Penev 3caa9fc098 meson: increase minimum version to 0.54.1
0.54.1 fixed a bug with cmake config files which meson 1.1.0 warns on.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Miloš Komarčević 56b2ba8933 Update .mergify.yml 2 years ago
Daniel Vogelbacher d27c5ac838 RAF: Simplify metadata extraction
Remove manual TiffParser usage for reading APP1 segement,
instead use JpegImage for proper parsing.
2 years ago
Daniel Vogelbacher 6c4b6d9d7f Extract XMP data from embedded JPEG preview inside RAF files
The Fujifilm X-T5 camera stores in-camera rating for RAF images
by using XMP. But the XMP data is not directly encoded into the
RAF structure - instead it is attached as a second APP1 segment
to the embedded JPEG preview file.

This patch extracts the JPEG preview and parses it like a standalone
JPEG file.
2 years ago
Ben McCann 0c093e91fe docs: add 0.28.0 to list of supported versions 2 years ago
Miloš Komarčević 53fe85b2c4 BMFF: fix handling of boxes w/ zero length or type
(cherry picked from commit f80403767b34818f3298d7ae54e6b36315f3b0a5)
2 years ago
Rosen Penev c319699ac5 use variadic template
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev 954153a4ec replace inline with coonstexpr
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev 4c66b4440a pair noexcept with move operations
Typically done with noexcept.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev 37184fd713 fix print format
Allows the compiler to actually diagnose formats.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Miloš Komarčević c86ae6acf5
Merge pull request #2600 from Exiv2/kmilos-summary
Make CMake summary for samples depend on app
2 years ago
Miloš Komarčević 5f46dcaff5
Make CMake summary for samples depend on app
Makes https://github.com/Exiv2/exiv2/issues/2592 more obvious
2 years ago
dependabot[bot] 5708bee1e6 Bump DoozyX/clang-format-lint-action from 0.15 to 0.16
Bumps [DoozyX/clang-format-lint-action](https://github.com/DoozyX/clang-format-lint-action) from 0.15 to 0.16.
- [Release notes](https://github.com/DoozyX/clang-format-lint-action/releases)
- [Commits](https://github.com/DoozyX/clang-format-lint-action/compare/v0.15...v0.16)

---
updated-dependencies:
- dependency-name: DoozyX/clang-format-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Miloš Komarčević b4179adab8
Merge pull request #2472 from Exiv2/fix_soversion
Fix shared object versioning
2 years ago
Miloš Komarčević a5d51666ae
Merge pull request #2587 from Exiv2/test_2542
Add test case (complements #2567)
2 years ago
Rosen Penev b2cd60eeac fix asfvideo unicode handling
Use convertStringCharset to convert instead of reimplementing.

Some data is UTF-32 and other is UTF-16. Instead of implementing another
function for Windows, convert from UCS2-LE to UTF-8 twice.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Miloš Komarčević b4170f4462 Add regression test output 2 years ago
Miloš Komarčević c44eaa7064 Add test case for #2542
(cherry picked from commit aa1001309897e9b6870c136e30c186951b699080)
2 years ago
Mohamed Ali Chebbi 2df5b59c9f Current master fails with image #2565: segmentation fault when trying to access outofband offest: add test files 2 years ago
Mohamed Ali Chebbi 7ab4554c41 Update src/jpgimage.cpp
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2 years ago
Mohamed Ali Chebbi a530cf9d03 Current master fails with image #2565: segmentation fault when trying to access outofband offest: check all locations 2 years ago