9331 Commits (main)
 

Author SHA1 Message Date
Jim Easterbrook e46d908d39 Update tests with Exif.CanonLe.LensSerialNumber
All of them have all-zero serial numbers, so they aren't testing this
PR directly.

Signed-off-by: Jim Easterbrook <jim@jim-easterbrook.me.uk>
2 years ago
Jim Easterbrook 9832e682d7 Another lint checker molifying tweak 2 years ago
Jim Easterbrook d3fb45b134 Minor tweak to satisfy lint checker 2 years ago
Jim Easterbrook 0811c80101 Decode Exif.CanonLe.LensSerialNumber
The first 5 bytes of the CanonLe block give the serial number when
converted to hexadecimal. This PR also fixes bug 2138 as it stops
the 30 byte length of the block being truncated to a multiple of 4
bytes.

Signed-off-by: Jim Easterbrook <jim@jim-easterbrook.me.uk>
2 years ago
dependabot[bot] bc18c2a22c Bump actions/download-artifact from 3 to 4
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot] 2a3c11c457 Bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot] c2ff6c017f Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Miloš Komarčević 6c29ccc8a9
Merge pull request #2863 from Gitoffthelawn/patch-3
Update links to HTTPS where possible
2 years ago
Miloš Komarčević 4891da70c0
Update README.md 2 years ago
Gitoffthelawn 935e964171
Merge branch 'main' into patch-3 2 years ago
Gitoffthelawn 59b3cdaef3 Update Doxygen link 2 years ago
Gitoffthelawn ffdf9130ce Update Expat XML parrser link 2 years ago
Gitoffthelawn 7f79e5dd99
Update links to HTTPS where possible 2 years ago
Pino Toscano 130064dc76 cmake: restore a "exiv2lib" target
Commit a8c3455e5c and
commit eb05551ed2 changed the target of
the exiv2 library ("exiv2lib"), exporting it in the "Exiv2" namespace,
so making it usable as "Exiv2::exiv2lib" instead. An ALIAS to "exiv2lib"
was added, however cmake does not install or export ALIAS targets [1].

Hence, restore compatibility with the existing cmake users of exiv2:
manually create an ALIAS target in the cmake config files after all the
targets are loaded and checked.

[1] https://cmake.org/cmake/help/latest/command/add_library.html
2 years ago
Christoph Hasse 81b0f36e43 add release workflow badge to readme 2 years ago
Miguel Borges de Freitas 582664c3b0 ci: add noFilesystemAccess special build 2 years ago
Miguel Borges de Freitas aa88bc4a43 Add EXIV2_ENABLE_FILESYSTEM_ACCESS option 2 years ago
Miguel Borges de Freitas 9f90144e89 Set conditional HTTP depending on EXIV2_ENABLE_WEBREADY 2 years ago
dependabot[bot] 2a5587785f Bump mymindstorm/setup-emsdk from 12 to 13
Bumps [mymindstorm/setup-emsdk](https://github.com/mymindstorm/setup-emsdk) from 12 to 13.
- [Release notes](https://github.com/mymindstorm/setup-emsdk/releases)
- [Commits](https://github.com/mymindstorm/setup-emsdk/compare/v12...v13)

---
updated-dependencies:
- dependency-name: mymindstorm/setup-emsdk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Rosen Penev 55fffbb97e cppcheck: add const to pointers
Found with constVariablePointer

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev f9845b35e7 cppcheck: use auto when copies are cheap
Found with constVariableReference

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev 0432a6ed3c cppcheck: remove initialization
Found with redundantInitialization

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev 6e6f709276 cppcheck: small bool simplification
Found with duplicateConditionalAssign

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev 40c0ca6fc4 cppcheck: use try_emplace
Found with stlFindInsert

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev 6b4732365b remove boilerplate
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev 3f083197fd remove some regex to avoid slowdown
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Miloš Komarčević f551534e17 RAF: get actual sensor dimensions 2 years ago
Miloš Komarčević 38adc8e603 Add test for image/hej2k 2 years ago
Miloš Komarčević 5645fe6c8c Add support for HEJ2K mime type 2 years ago
Miloš Komarčević 13c7d81a43 Add support for HTJ2K mime type 2 years ago
Miloš Komarčević 42328889b5 Add more Canon RF lenses 2 years ago
Miloš Komarčević 9fe6ded530
Merge pull request #2838 from norbertwg/translate-Exif.NikonAf2.AFAreaMode-
Translate exif.nikon af2.af area mode - enhanced
2 years ago
norbertwg a1d2139a7a enhance translation for Exif.NikonAf2.AFAreaMode 2 years ago
norbertwg d8b4e5396a Merge branch 'main' of https://github.com/norbertwg/exiv2 2 years ago
norbertwg e8326ba5e6 translation for Exif.NikonAf2.AFAreaMode 2 years ago
Miloš Komarčević bcb75b6404 Add Tamron 35-150mm F/2-2.8 Di III VXD for Nikon Z 2 years ago
Rosen Penev 7cccca2660 github CI: new vmactions needs ubuntu
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
dependabot[bot] 5070d757e7 Bump vmactions/freebsd-vm from 0 to 1
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0 to 1.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0...v1)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
norbertwg 203722b2c9 Merge branch 'main' of https://github.com/norbertwg/exiv2 2 years ago
dependabot[bot] f6c8e7630f Bump actions/github-script from 6 to 7
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Miloš Komarčević e9ba89411b Use appropriate print format specifiers and constants 2 years ago
Miloš Komarčević de8f1bd849 Apply suggestions from code review
Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com>
2 years ago
Miloš Komarčević 10d233dad2 RAF: extract more details when printing structure 2 years ago
Pino Toscano 5f4ffdd483 tests: fix parsing w/ path containing "-pa" or "-pS"
The OutputTagExtract test case for tiff_test runs exiv2 two times,
with "-pa" and "-pS", and parses their outputs. To know which output to
parse, it checks for "-pa" and "-pS" in the string of the command being
run; considering that the command string contains the full path to the
test data, which is a subdirectory of the sources, this means that a
wrong parser will be used in case the full source path contains any of
"-pa" or "-pS" (e.g. "/build/some-path/exiv2/...").

Cheap fix for this: since "-pa"/"-pS" are options in the command string,
check for them using spaces around.
2 years ago
Miloš Komarčević 9002797011 Add Sony 9M3 ID 2 years ago
Tomasz Kłoczko 3e977c5cf0 install exiv2 cmake module in LIBDIR
installed cmake module contains arch dependent library description.
It should be installed not in DATADIR but in LIBDIR.

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
2 years ago
Kevin Backhouse a1f254358d Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61675
Avoid integer overflow in the calculation of available_out.
2 years ago
Kevin Backhouse 78642f786a Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-hrw9-ggg3-3r4r 2 years ago
Kevin Backhouse 8512c4fd62 Fix test failure on Mac.
(cherry picked from commit ad8b80659ce8f4104a65833d408938ce2c322e0d)
2 years ago
norbertwg 9a068a3712 easy access: Tag sequence changed
for serialNumber and lensName
2 years ago