Commit Graph

8704 Commits

Author SHA1 Message Date
Kevin Backhouse
ba258cb1ae
cmake fatal error if inih library is not found. 2022-12-29 13:04:07 -06:00
Kevin Backhouse
cccf265eab
Update .github/workflows/on_PR_windows_matrix.yml 2022-12-28 10:44:36 -05:00
Kevin Backhouse
a4164ce866
Remove libinih from codebase and add it as a dependency instead. 2022-12-28 09:33:08 -06:00
Luis Díaz Más
13ecfbc233
Update ubuntu-latest tag to ubuntu-22.04 (#2439)
* Update ubuntu-latest tag to ubuntu-22.04

Everytime a CI service such a GitHub actions update the images
corresponding to their 'latest' tags, pipelines tend to have some
hipcups due to changes in the distribution default packages.

By fixing the images to a specific one, we should be more resilient to
changes in the Github actions environment.

* Use same build directory used in CMake presets
2022-12-23 08:36:47 +01:00
Robin Mills
aa635fddc8
Merge pull request #2437 from Exiv2/codesee-arch-diagram-workflow-1671443521697
Install the CodeSee workflow.
2022-12-19 09:55:16 +00:00
codesee-maps[bot]
519b56e050
Install the CodeSee workflow. Learn more at https://docs.codesee.io 2022-12-19 09:52:02 +00:00
Luis Díaz Más
3dd881fb12
Merge pull request #2433 from Exiv2/fixCygwin
Replace cygwin github action
2022-11-30 19:16:17 +01:00
Luis Diaz Mas
773265b6dc Replace cygwin github action 2022-11-30 18:46:50 +01:00
Luis Díaz Más
cabcd5eee9
Merge pull request #2431 from Exiv2/ciEnableWorkflowDispatchOnWindowsBuilds
Enable Workflow dispatch on Windows CI jobs
2022-11-29 22:38:04 +01:00
Luis Diaz Mas
665e1cfb5c Enable Workflow dispatch on Windows CI jobs 2022-11-29 21:53:55 +01:00
Kevin Backhouse
3551cebd76
Merge pull request #2428 from kevinbackhouse/fix-issue-2427
Fix memory leak in BmffImage::brotliUncompress
2022-11-27 18:10:16 +00:00
Kevin Backhouse
2739d90073
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=52767
Add wrapper class to automatically call BrotliDecoderDestroyInstance() on exit.
2022-11-27 15:36:00 +00:00
Kevin Backhouse
9a133856ba
Regression test for https://github.com/Exiv2/exiv2/issues/2427 2022-11-27 15:35:57 +00:00
Kevin Backhouse
dcc203b2bf
Merge pull request #2424 from kevinbackhouse/fix-issue-2423
Fix long-running loop in QuickTimeVideo::sampleDesc
2022-11-27 13:52:40 +00:00
Kevin Backhouse
9d044d30b1
Use Safe::add 2022-11-23 12:37:09 +00:00
Kevin Backhouse
292082df6f
Add break to loop to fix issue 2423, plus some other cleanups. 2022-11-23 12:37:09 +00:00
Kevin Backhouse
7d9deba071
Regression test for https://github.com/Exiv2/exiv2/issues/2423 2022-11-23 12:37:08 +00:00
Luis Díaz Más
a700a9c1ab
Merge pull request #2426 from Exiv2/ciConan
Remove deprecated option in conan
2022-11-21 22:41:58 +01:00
Luis Diaz Mas
861625c4e7 Remove deprecated option in conan 2022-11-21 21:52:54 +01:00
Rosen Penev
67df85135d early exit
less indentation

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-20 20:00:15 -08:00
Miloš Komarčević
cf15cc52e0
Merge pull request #2417 from Exiv2/kmilos-patch-1
Add Canon R6m2 ID
2022-11-18 09:06:31 +01:00
norbertwg
74720d8044
Remove duplicate tag info entries fujifilm (#2412)
* remove duplicate Fuijifilm TagInfo entries

* test data added for some Fujifilm tags

* remove unknown tag 0x1200

* fix typo: SzeneRecognition to SceneRecognition
2022-11-13 19:26:57 +00:00
Peter
83d7915d00
Update Exif.SonyMisc3c.* and Exif.Sony(1|2).SonyModelID (#2420)
* Update `Exif.SonyMisc3c group`

* Update `Exif.Sony(1|2).SonyModelID`
2022-11-13 08:56:49 +00:00
Miloš Komarčević
026cee3e6a
Merge pull request #2419 from Exiv2/ci_concurrency
CI: improved in-progress job canceling
2022-11-09 17:10:43 +01:00
Miloš Komarčević
74e41d982d CI: bump clang-format actions 2022-11-09 16:44:47 +01:00
Miloš Komarčević
66b009a57b CI: bump conan version 2022-11-09 16:23:57 +01:00
Miloš Komarčević
4915a6ba8c CI: improved in-progress job canceling 2022-11-09 16:17:38 +01:00
Miloš Komarčević
5949ec9293
Add Canon R6m2 ID 2022-11-07 17:03:42 +01:00
Peter
faa7cc36a9
Update README.md wrt BMFF (#2405)
* Update README.md wrt BMFF

* Fix minor issues in documentation
2022-11-03 08:00:49 +00:00
Peter
1f364be1fa
Fix seg fault when using iconv_open() (#2403)
* Fix seg fault when using `iconv_open()`

- Fix failure condition for `iconv_open()`
- Add new exception when failing to change the text encoding of an
Exif comment

* Add testing for `iconv_open()` seg fault bug

* Fix Python test by changing log level
2022-11-01 13:33:36 +00:00
Kevin Backhouse
dc5dc0d2e3 clang-format 2022-10-31 17:17:37 -07:00
Rosen Penev
436cdf0a7e Use std::enable_if_t and std::is_signed_v. 2022-10-31 17:17:37 -07:00
Kevin Backhouse
ddd7ccf722 Use std::is_signed and std::enable_if. 2022-10-31 17:17:37 -07:00
Kevin Backhouse
335e13251e Add #error so the build fails if mmap isn't supported. 2022-10-31 03:01:26 -07:00
Kevin Backhouse
5cabd97373 Fix issue 2380: bug in (unused) non-mmap code. 2022-10-31 03:01:26 -07:00
Kevin Backhouse
abd817d181 Use size_t for sizes and offsets. 2022-10-31 03:00:47 -07:00
Kevin Backhouse
c96bc47509 Change return type of getFileLength() to int64_t. 2022-10-31 02:59:34 -07:00
Kevin Backhouse
d599d36f8b
Merge pull request #2394 from kevinbackhouse/fix-issue-2393
stop looping when eof is hit
2022-10-30 14:24:32 +00:00
Rosen Penev
28d1880176 replace find/rfind with startsWith
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-10-28 11:05:23 -07:00
Kevin Backhouse
771ead8732
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=52731
Stop looping when eof is hit.
2022-10-26 22:07:11 +01:00
Kevin Backhouse
951247edcc
Regression test for https://github.com/Exiv2/exiv2/issues/2393 2022-10-26 22:02:01 +01:00
Miloš Komarčević
761acafd69
Merge pull request #2216 from Exiv2/add_rf_lenses
Add more Canon RF lenses
2022-10-26 15:58:07 +02:00
Miloš Komarčević
c077a06ada Add more Canon RF lenses and camera IDs 2022-10-26 14:24:01 +02:00
Miloš Komarčević
75f7285487 Remove translatable mark from RF lenses 2022-10-26 14:12:53 +02:00
Miloš Komarčević
7efc733bf2 Add an RF lens regression test 2022-10-26 14:12:53 +02:00
Miloš Komarčević
ecfdaca525 Add more Canon RF lenses 2022-10-26 14:12:53 +02:00
Miloš Komarčević
1f5bc3b8a5
Avoid buffer reallocation (#2392) 2022-10-25 16:30:45 +02:00
Kevin Backhouse
fb6b769817
Merge pull request #2390 from kevinbackhouse/tiffvisitor-safe-add
Use Safe::add() in tiffvisitor_int.cpp
2022-10-24 12:59:37 +01:00
Miloš Komarčević
1ae3a83fcc
Merge pull request #2381 from Exiv2/jxl_brotli
Support brotli compressed boxes in JPEG XL
2022-10-24 13:13:54 +02:00
Miloš Komarčević
a58e52ed70 Use safe add to prevent overflow
Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com>

Use safe add to prevent overflow

Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com>
2022-10-24 12:32:52 +02:00