Commit Graph

8686 Commits

Author SHA1 Message Date
norbertwg
5d0d08fc36 silence compiler warnings 2022-11-19 11:28:13 +01:00
norbertwg
60661303a4 handling of zero; more precision for focal length 2022-11-19 11:05:12 +01:00
norbertwg
511659809b add two lens tags to EasyAccess API
Exif.Photo.LensSpecification and Exif.Nikon3.Lens
2022-11-15 13:35:16 +01:00
norbertwg
eb47fcf088 interpretation for ExifPhoto.LensSpecification
printLensSpecification is copied from old Nikon3MakerNote::print0x0084
call of Nikon3MakerNote::print0x0084 replaced by printLensSpecification
2022-11-14 17:32:14 +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
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
Miloš Komarčević
23cdcc48d7 Install deps for and bump CodeQL action 2022-10-24 12:32:52 +02:00
Miloš Komarčević
557a5cebd5 Make brotli dependency controllable 2022-10-24 12:32:52 +02:00
Miloš Komarčević
c334fa3ce9 Use local cmake module path the last 2022-10-24 12:32:52 +02:00
Miloš Komarčević
eada606992 Match Conan's cmake find module case for Brotli 2022-10-24 12:32:51 +02:00
Miloš Komarčević
1e395ff98f Update README for brotli dependency 2022-10-24 12:32:51 +02:00
Miloš Komarčević
9a6ee59421 Support brotli compressed boxes in JPEG XL 2022-10-24 12:32:51 +02:00
Miloš Komarčević
ee698689b4 Exif start can be at any byte in payload, not word aligned 2022-10-24 12:32:51 +02:00
Kevin Backhouse
62705a6615
Use Safe::add() in tiffvisitor_int.cpp 2022-10-23 20:04:42 +01:00
Peter
9767e375af
Update makernote model ID tags (#2389)
* Update `Exif.Sony(1|2).SonyModelID` values

* Update `Exif.Pentax.ModelID` values

* Update `Exif.Canon.ModelID` values

* Purge duplicates in `Exif.Canon.ModelID`

* Correct text in `Exif.Canon.ModelID`
2022-10-23 14:35:35 +01:00
Kevin Backhouse
3897f17b1e Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=52355
Avoid integer overflow when temp == INT_MIN.
2022-10-22 10:41:11 -07:00
Kevin Backhouse
f3f66c56db Regression test for https://github.com/Exiv2/exiv2/issues/2385 2022-10-22 10:41:11 -07:00
Kevin Backhouse
03abb2c109
Merge pull request #2384 from kevinbackhouse/fix-issue-2383
Avoid null pointer deref
2022-10-22 17:03:26 +01:00
Kevin Backhouse
222c45c154
Merge pull request #2374 from norbertwg/update_easyAccessAPI
several keys added to easyaccess
2022-10-22 16:29:55 +01:00
Kevin Backhouse
6bb956ad80
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=52382
Avoid null pointer deref.
2022-10-22 15:55:02 +01:00
Kevin Backhouse
baf1969ec7
Regression test for https://github.com/Exiv2/exiv2/issues/2383 2022-10-22 15:54:20 +01:00
Kevin Backhouse
b90426dda9
Merge pull request #2378 from kevinbackhouse/fix-issue-2376-2377
Fix bugs in QuickTimeVideo::userDataDecoder
2022-10-10 11:32:38 +01:00
norbertwg
3c87d82cd0 fix for GCC compiler error, test reference file 2022-10-09 15:55:58 +02:00
Kevin Backhouse
597e372b1c
clang-format 2022-10-08 22:33:48 +01:00