Commit Graph

9045 Commits

Author SHA1 Message Date
c3e0a79359 build mac-arm 2023-06-02 15:46:21 +08:00
Ryan
22b65ccfea
Sort and remove duplicates (#2631)
* python3 was duplicated

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-19 11:47:34 +02:00
Miloš Komarčević
05ccb5ae58
Merge pull request #2613 from cytrinox/fuji_xmp_fix
Extract XMP data from embedded JPEG preview inside RAF files
2023-05-19 09:25:04 +02:00
Daniel Vogelbacher
c493e38d5a RAF: Copy comment from embedded JPEG image 2023-05-19 08:45:35 +02:00
Ryan Friedman
445757a3d1 Remove extra build directories that are no longer needed
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-17 20:51:50 +03:00
Ryan Friedman
ce242fc00a Preserve existing behavior with removing build dir
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-17 20:51:50 +03:00
Ryan Friedman
f0785018c0 Bump minimum cmake and stop creating build directory
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-17 20:51:50 +03:00
Daniel Vogelbacher
f5f1f30f5b RAF: Ignore JPEG decoder errors if the JPEG offsets are invalid 2023-05-17 18:26:24 +02:00
Thomas Klausner
d92fb10cdb Fix build on NetBSD. 2023-05-17 10:10:19 +02:00
Thomas Klausner
b0eefcda75 Adapt for NetBSD iconv() prototype change. 2023-05-17 09:50:39 +02:00
Miloš Komarčević
ec6c806717 Fix MinGW shared library name in readme 2023-05-16 20:32:21 +03:00
Miloš Komarčević
c04dcc8341 Remove exiv2-xmp from CMake exported config 2023-05-16 20:32:21 +03:00
Miloš Komarčević
972795741b Remove exiv2-xmp from pkg-config file 2023-05-16 20:32:21 +03:00
Miloš Komarčević
3d0ef18160 Remove exiv2-xmp from readme 2023-05-16 20:32:21 +03:00
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>
2023-05-16 20:30:23 +03:00
Miloš Komarčević
56b2ba8933 Update .mergify.yml 2023-05-16 20:28:44 +03:00
Daniel Vogelbacher
d27c5ac838 RAF: Simplify metadata extraction
Remove manual TiffParser usage for reading APP1 segement,
instead use JpegImage for proper parsing.
2023-05-15 19:25:35 +02:00
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.
2023-05-11 20:18:42 +02:00
Ben McCann
0c093e91fe docs: add 0.28.0 to list of supported versions 2023-05-11 20:57:54 +03:00
Miloš Komarčević
53fe85b2c4 BMFF: fix handling of boxes w/ zero length or type
(cherry picked from commit f80403767b34818f3298d7ae54e6b36315f3b0a5)
2023-05-11 20:56:28 +03:00
Rosen Penev
c319699ac5 use variadic template
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-05-10 12:56:39 +03:00
Rosen Penev
954153a4ec replace inline with coonstexpr
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-05-10 12:56:39 +03:00
Rosen Penev
4c66b4440a pair noexcept with move operations
Typically done with noexcept.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-05-10 12:56:39 +03:00
Rosen Penev
37184fd713 fix print format
Allows the compiler to actually diagnose formats.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-05-10 12:56:39 +03:00
Miloš Komarčević
c86ae6acf5
Merge pull request #2600 from Exiv2/kmilos-summary
Make CMake summary for samples depend on app
2023-05-03 10:21:37 +02:00
Miloš Komarčević
5f46dcaff5
Make CMake summary for samples depend on app
Makes https://github.com/Exiv2/exiv2/issues/2592 more obvious
2023-05-02 18:09:30 +02:00
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>
2023-04-24 22:17:01 +02:00
Miloš Komarčević
b4179adab8
Merge pull request #2472 from Exiv2/fix_soversion
Fix shared object versioning
2023-04-17 21:36:18 +02:00
Miloš Komarčević
a5d51666ae
Merge pull request #2587 from Exiv2/test_2542
Add test case (complements #2567)
2023-04-17 16:00:01 +02:00
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>
2023-04-17 16:15:52 +03:00
Miloš Komarčević
b4170f4462 Add regression test output 2023-04-17 15:03:09 +02:00
Miloš Komarčević
c44eaa7064 Add test case for #2542
(cherry picked from commit aa1001309897e9b6870c136e30c186951b699080)
2023-04-17 14:36:00 +02:00
Mohamed Ali Chebbi
2df5b59c9f Current master fails with image #2565: segmentation fault when trying to access outofband offest: add test files 2023-04-13 20:22:25 -07:00
Mohamed Ali Chebbi
7ab4554c41 Update src/jpgimage.cpp
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-04-13 20:22:25 -07:00
Mohamed Ali Chebbi
a530cf9d03 Current master fails with image #2565: segmentation fault when trying to access outofband offest: check all locations 2023-04-13 20:22:25 -07:00
Mohamed Ali Chebbi
e403f3a4c4 Current master fails with image #2565: segmentation fault when trying to access outofband offest 2023-04-13 20:22:25 -07:00
Mohamed Ali Chebbi
c4e514cff8 Current master fails with image #2565 2023-04-13 20:22:25 -07:00
Rosen Penev
498f4ce273 simplify loops
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-04-12 09:01:53 -07:00
Rosen Penev
df91578250 clang-tidy: replace defines with enum
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-04-12 09:01:53 -07:00
Rosen Penev
2526dcf5a1 const ref to ref conversions 2023-04-12 09:01:53 -07:00
Rosen Penev
64bb7820a0 clang-tidy: add nodiscard
Found with modernize-use-nodiscard

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-04-12 09:01:53 -07:00
Rosen Penev
6fd143d6a4 sonarlint cleanups
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-04-12 09:01:53 -07:00
Rosen Penev
25189ef1e6 remove some unused defines.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-04-12 09:01:53 -07:00
Rosen Penev
d50d9527b5 convert manual loop to find 2023-04-12 09:01:53 -07:00
Rosen Penev
e00c1f5529 meson: fix UCRT check
get_define() is broken for C++ compilers.
2023-04-12 09:01:53 -07:00
Miloš Komarčević
fbc0b21550
Merge pull request #2585 from gribouilleuse/patch-1
Uppercase Pentax to PENTAX at lines 819 to 822
2023-04-11 15:04:50 +02:00
Gribouilleuse
bd1e3c9acb
Uppercase Pentax to PENTAX at lines 819 to 822 2023-04-11 13:30:59 +02:00
Gribouilleuse
a714596b49
Merge branch 'Exiv2:main' into patch-1 2023-04-11 13:02:23 +02:00
Gribouilleuse
4074873146 Addition of 4 lenses Pentax
Addition of 4 lenses Pentax :
HD Pentax-D FA* 50mm F1.4 SDM AW
HD Pentax-D FA 70-210mm F4 ED SDM WR
HD Pentax-D FA* 85mm F1.4 SDM AW
HD Pentax-D FA 21mm F2.4 ED Limited DC WR
2023-04-10 15:36:21 -07:00
Miloš Komarčević
5b85e31b07 Add DCP to list of supported file types 2023-04-10 15:34:49 -07:00