Commit Graph

9033 Commits

Author SHA1 Message Date
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
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
Miloš Komarčević
8af248f098 Add DCP regression test 2023-04-10 15:34:49 -07:00
Miloš Komarčević
0db191257d Support for parsing DCP files 2023-04-10 15:34:49 -07:00
dependabot[bot]
b16afb082e Bump cygwin/cygwin-install-action from 3 to 4
Bumps [cygwin/cygwin-install-action](https://github.com/cygwin/cygwin-install-action) from 3 to 4.
- [Release notes](https://github.com/cygwin/cygwin-install-action/releases)
- [Commits](https://github.com/cygwin/cygwin-install-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: cygwin/cygwin-install-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 15:32:30 -07:00
Gribouilleuse
a76da551a4
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 20:30:54 +02:00
Rosen Penev
e2686569bf meson CI: test all features enabled and disabled
That was the original intention with wrap-mode.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-04-07 11:08:37 -07:00
Rosen Penev
63b5ea47f9 meson CI: remove /analyze
slows down CI massively. Not too useful as most issues have been fixed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-04-07 11:08:37 -07:00
Rosen Penev
c4ad51077a meson CI: test oldest and newest compilers only
No need for the ones in the middle.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-04-07 11:08:37 -07:00
Rosen Penev
a681b2425e meson CI: move clang workflow to the same file
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-04-07 11:08:37 -07:00
Rosen Penev
a6766b208e meson: only define MinGW stuff for non UCRT
time_t is 64-bit with UCRT.

__USE_MINGW_ANSI_STDIO is used only to get proper printf formats under
msvcrt. UCRT has them. Hence why it's deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-04-07 11:08:37 -07:00
Rosen Penev
3aa872dd4c meson: add libobsd wrap
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-04-07 11:08:37 -07:00
Rosen Penev
c8c289613d remove EXIV2API from src
Already declared in include

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-04-07 11:08:37 -07:00
Miloš Komarčević
64556b02d2
Merge pull request #2582 from Exiv2/sony_arw_401
Update Sony file format table
2023-04-07 17:13:58 +02:00