Commit Graph

7925 Commits

Author SHA1 Message Date
Robin Mills
82371c4d09 Adding version_test.py. 2021-12-19 12:13:15 +00:00
Robin Mills
56939796a0 Restored test lensTest. Minimized differences between main/README.md and 0.27-maintenance/README.md. 2021-12-19 12:02:18 +00:00
Robin Mills
122fb95eb3 Updating documentation to respect ctest. 2021-12-17 16:05:33 +00:00
Kevin Backhouse
29cc981180
Merge pull request #2028 from kevinbackhouse/FixIssue2027
Use memmove in TiffEncoder::updateDirEntry
2021-12-14 11:44:53 +00:00
Robin Mills
13a2cf336d
fix_1416_iptc_DateCreated (#1547)
* fix_1416_iptc_DateCreated

* Fix unit tests

* DateValue:read 2nd iteration on pre-condition

* test with ISO_8601 date format

* Use std::regex for ISO 8601 basic & extended date formats

* Use std::regex for ISO 8601 basic & extended time formats

* Add more tests & notes for DateValue & TimeValue

* Comment tests using local calendar times

* DateValue::write also adds padding to year field

Co-authored-by: Luis Díaz Más <piponazo@gmail.com>
2021-12-14 11:20:02 +01:00
Kevin Backhouse
e34eacc467
Use memmove, rather than memcpy, because memory regions might overlap. 2021-12-13 12:22:54 +00:00
Kevin Backhouse
4aa701f47f
PoC image file for https://github.com/Exiv2/exiv2/issues/2027 2021-12-13 11:57:07 +00:00
Miloš Komarčević
fd8447129c
Add more DNG 1.6 tags (#2023)
* Add more DNG 1.6 tags

* Update CinemaDNG, add more spec links
2021-12-11 09:29:53 +01:00
Luis Díaz Más
1b533035d9
ci: upgrade conan version on github actions (#2021) 2021-12-10 14:28:49 +01:00
Kevin Backhouse
65fad9db0e
Merge pull request #2007 from kevinbackhouse/FixIssue2006
Fix integer overflow in PanasonicMakerNote::printAccelerometer
2021-12-06 10:31:20 +00:00
Kevin Backhouse
aebb3fb2c0
Merge pull request #2015 from kevinbackhouse/SonyPreviewUndefined
Treat Exif.Sony1.PreviewImage as undefined tag
2021-12-05 19:16:30 +00:00
Kevin Backhouse
0a1fa497d5
Merge pull request #1999 from jim-easterbrook/bug_1998
Restore modified tags after TZ manipulation
2021-12-05 15:02:46 +00:00
Kevin Backhouse
889e1c6001
Merge pull request #2000 from postscript-dev/fix_version_param_in_exiv2
Fix exiv2: verbose extract to stdout (see #1934)
2021-12-05 14:58:20 +00:00
Kevin Backhouse
a1ad29edf3
Treat Exif.Sony1.PreviewImage as undefined tag. 2021-12-05 14:41:57 +00:00
Jim Easterbrook
2e2dd887e3 Use \" instead of ' for exiv2 command string
The original failed on some Windows test runs.
2021-12-01 10:17:25 +00:00
Jim Easterbrook
da3b36f242 Add test files for PR 1999 / issue 1998 2021-12-01 10:02:59 +00:00
Kevin Backhouse
35f48ae5c9
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41438
Replace weird sign-conversion code with a simple static_cast.
2021-11-28 14:41:22 +00:00
Kevin Backhouse
5444fcea33
Regression test for https://github.com/Exiv2/exiv2/issues/2006 2021-11-28 14:34:35 +00:00
Peter
797f86c226
Fix minor whitespace formatting
Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com>
2021-11-17 11:14:35 +00:00
postscript-dev
985e963055
Update documentation for pr #2000 2021-11-16 19:15:56 +00:00
postscript-dev
5efb17539d
Add tests for pr #2000 2021-11-16 19:15:55 +00:00
postscript-dev
9c294ef4fd
Fix exiv2: verbose extract to stdout (see #1934)
Fix ignores `--verbose` when extracting to stdout.
2021-11-16 19:15:44 +00:00
Jim Easterbrook
02ce7e9aff Restore modified tags after TZ manipulation
This ensures that Xmp date/times that have been set by the user aren't
over written by the TZ restoration efforts. This fixes bug #1998
2021-11-15 10:18:05 +00:00
Kevin Backhouse
fde8ed07b3
Merge pull request #1967 from kevinbackhouse/ReadOrThrow
Add readOrThrow and seekOrThrow to BasicIo
2021-11-08 22:33:23 +00:00
Peter
1ae9f42cd8
Add camera models for NikonFl3 makernotes group (#1994)
* Add camera models for NikonFl3

* Python test for new NikonFl3 camera models
2021-11-08 17:45:14 +01:00
Kevin Backhouse
7c8e6fc4c9
Merge pull request #1963 from postscript-dev/add_FlashInfo0107_makernote_group
Add NikonFl7 makernotes group
2021-11-07 19:06:55 +00:00
postscript-dev
562b10f2c7
Fix Exif.NikonFl7.FlashCompensation 2021-11-03 17:39:05 +00:00
Shawn Baker
b95e19e72a
libcurl is now optional. Updated to the latest versions of libcurl and expat. (#1992)
* libcurl is now optional.
Updated to the latest versions of libcurl and expat.

* No need for a libcurl option, libcurl is now only required if webready is.

Co-authored-by: shawn <shawn@frozen.ca>
2021-11-03 10:42:32 +01:00
postscript-dev
277b1875f7
Fix Exif.NikonFl7.FlashGroupBCControlData output 2021-11-02 16:02:24 +00:00
postscript-dev
b3ca98c1e7
Fix Exif.NikonFl7.FlashCompensation pretty print 2021-11-02 16:02:23 +00:00
postscript-dev
8ebf10f921
Fix condition in Exif.NikonFl7.FlashCompensation 2021-11-02 16:02:23 +00:00
postscript-dev
f23d965643
Add limits check: Exif.NikonFl7.FlashCompensation 2021-11-02 16:02:23 +00:00
postscript-dev
f0f3c7e8a2
Fix compile issues for NikonFl7 makernotes group
+ Fix fuzzing CI errors of `exp2` and `round` not being in `std` by adding
  `#include <cmath>`
+ Fix Windows CI warning C4305 by explicitly defining value as a float
2021-11-02 16:02:22 +00:00
postscript-dev
8cd7dba847
Add documentation for NikonFl7 makernotes group 2021-11-02 16:02:22 +00:00
postscript-dev
eb134d1946
Add testing for NikonFl7 makernotes group 2021-11-02 16:02:21 +00:00
postscript-dev
eb78a2feae
Add NikonFl7 makernotes group source code
This differs from other `NikonFl` groups as it uses `bigEndian` format. This
is because `Exif.NikonFl7.ExternalFlashFirmware` is a short and was
incorrectly output when using `invalidByteOrder` or `littleEndian`. The other
groups use `invalidByteOrder` which may be wrong. Sadly all of Exiv2s
2021-11-02 16:02:21 +00:00
Kevin Backhouse
5dca23bddc
Merge pull request #1987 from kevinbackhouse/RemoveTumbleweed
Remove opensuse/tumbleweed
2021-10-27 14:37:20 +01:00
Miloš Komarčević
a97d74727e
Merge pull request #1988 from postscript-dev/add_git_templates
Add/Update git templates from `old-master`
2021-10-27 09:36:07 +02:00
postscript-dev
3a1a9db425
Fix label: ISSUE_TEMPLATE/feature_request.md 2021-10-26 15:50:23 +01:00
postscript-dev
f09ea6a75a
Update Exiv2 GitHub issue templates 2021-10-26 12:59:12 +01:00
Kevin Backhouse
befb890e7d
Remove opensuse/tumbleweed, because the docker image is broken. 2021-10-26 11:57:49 +01:00
Kevin Backhouse
ab90d430c7
Merge pull request #1979 from postscript-dev/fix_exiv2_sample_thumb_stdout
Add exiv2 extract thumb to stdout (#1934)
2021-10-26 11:56:33 +01:00
postscript-dev
118a1de509
Add issue templates from old-master branch 2021-10-26 11:12:21 +01:00
Kevin Backhouse
76a9377c71
Merge pull request #1986 from kevinbackhouse/MacOS-no-Conan
Remove Conan from MacOS build
2021-10-25 11:57:39 +01:00
Kevin Backhouse
e87e440045
Remove Conan from MacOS build. 2021-10-24 15:20:01 +01:00
Kevin Backhouse
68473d9d10
Remove static functions readOrThrow and seekOrThrow. 2021-10-21 10:18:21 +01:00
Kevin Backhouse
44542a9f94
Add readOrThrow and seekOrThrow to BasicIo. 2021-10-21 10:18:21 +01:00
Miloš Komarčević
c5101e0844
Merge pull request #1978 from Exiv2/cr3_previews_version_check
Improve CR3 previews handling
2021-10-21 11:05:49 +02:00
Miloš Komarčević
8b7d8729b7 Expose unsupported CR3 previews as binary 2021-10-20 22:15:44 +02:00
postscript-dev
4798c6bedc
Add exiv2 extract thumb to stdout (#1934): test 2021-10-20 15:49:23 +01:00