Commit Graph

7807 Commits

Author SHA1 Message Date
postscript-dev 7ace96263e Add SonyMisc(2b|3c) Groups in TIFF files
- Previous version only supported JPEGs.
- Update Python test to use more specific grep, as this prevents
  SonyMisc(2b|3c) from being included. Regression test to be added
  in a different commit.
2021-09-23 12:00:48 +01:00
Kevin Backhouse 7d2eb4ad09 Merge pull request #1905 from postscript-dev/update_website_docs
Update website docs
2021-09-22 10:14:52 +01:00
Kevin Backhouse be296814c1 Merge pull request #1913 from kevinbackhouse/FixIssue1912
Fix integer overflow in print0x0007
2021-09-21 10:52:14 +01:00
Kevin Backhouse cd4316c4f5 Do the calculation in floating point to avoid integer overflow. 2021-09-20 22:06:07 +01:00
Evan Miller 04f4624718 Explicitly test for libproc.h (#1916)
This change adds support for ancient macOS lacking libproc. It also
eliminates a bug where exiv2 could not be built on case-sensitive
file systems (the header file is properly TargetConditionals.h).
2021-09-20 14:42:40 +02:00
Kevin Backhouse 66b40d8823 Merge pull request #1915 from evanmiller/patch-1
Pass `-fstack-protector-strong` to linker
2021-09-20 09:52:31 +01:00
Kevin Backhouse 801e20123a Merge pull request #1902 from kevinbackhouse/FixIssue1901
Comment out bogus code in XMPUtils.cpp
2021-09-19 21:49:56 +01:00
Evan Miller 7700f90786 Pass -fstack-protector-strong to linker
Fixes some older compiler / platform combinations (e.g. GCC7 on PPC Mac)
2021-09-19 13:01:55 -04:00
Kevin Backhouse d92b0a6717 Merge pull request #1910 from kevinbackhouse/PentaxQuadraticPrint
Fix quadratic loops in pentaxmn_int.cpp
2021-09-19 15:40:11 +01:00
Kevin Backhouse 37388c3fd7 Regression test for https://github.com/Exiv2/exiv2/issues/1912 2021-09-18 14:32:48 +01:00
Kevin Backhouse 7cb65d1e25 Merge pull request #1872 from postscript-dev/update_exiv2_manpage
Update exiv2 program and manpage
2021-09-18 13:28:59 +01:00
Kevin Backhouse 1a58f7bea6 Merge pull request #1908 from cjwatson/properties-no-c-format
Annotate some strings with xgettext:no-c-format
2021-09-18 13:28:17 +01:00
Kevin Backhouse 9f1e3e3e72 Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38887
Fix quadratic loops.
2021-09-17 22:31:12 +01:00
Colin Watson f643d9bb5e Annotate some strings with xgettext:no-c-format
Some descriptions of location properties contain the text "100%
overlap".  When extracting text for translation, `xgettext`
misidentifies this as containing the C format string "% o", and tags it
as `c-format`.  Translation tools that are sensitive to this will
require that translations contain matching format strings; since in this
case the format string is nonsensical, that is often not reasonably
possible.  See:

  https://answers.launchpad.net/launchpad/+question/698762

The description of the DotRange tag contains the text "0% dot and 100%
dot", which is similarly misidentified.

To fix this, inform `xgettext` that the messages do not contain C format
strings, as documented here (towards the end):

  https://www.gnu.org/software/gettext/manual/html_node/c_002dformat-Flag.html
2021-09-17 11:35:28 +01:00
postscript-dev bb9fc4098a Add missing Canon/Nikon/Samsung/Sony Groups to docs 2021-09-16 22:10:02 +01:00
postscript-dev 486bf32e75 Merge branch 'update_website_docs' of https://github.com/postscript-dev/exiv2 into update_website_docs 2021-09-16 21:56:10 +01:00
postscript-dev e07451a30d Add Python test for taglist program
Check output of `taglist.exe Exif` contains the correct tag Groups
2021-09-16 21:55:20 +01:00
Peter 098283c1f8 Merge branch 'Exiv2:main' into update_website_docs 2021-09-16 21:42:20 +01:00
postscript-dev c4e73831f2 Add missing MpfInfo group to taglist.exe Exif 2021-09-16 21:38:05 +01:00
Kevin Backhouse 774e6625e3 Merge pull request #1900 from kevinbackhouse/FixOSSFuzzBuildFailure
Remove unused constructor that was causing a build failure in OSS-Fuzz
2021-09-15 22:20:53 +01:00
Peter 982d2609bc Merge pull request #5 from kevinbackhouse/update_exiv2_manpage
Fix test failure
2021-09-15 18:30:57 +01:00
Kevin Backhouse e1e7dddfbd Fix test failure. 2021-09-15 16:32:18 +01:00
postscript-dev 795cfe90ce Update exiv2 program, --help and usage 2021-09-15 14:27:55 +01:00
postscript-dev 5dbdff600f Update manpage
Changes:
+ Swap `EXIV2 GROUPS, TYPES AND VALUES` and `MODIFY` COMMANDS`
+ Move `Exiv2 key syntax` to top of section
+ Swap `AUTHORS` and `SEE ALSO` sections
+ Fix text and formatting
+ Add `PREVIEW IMAGES AND THUMBNAILS`, `ICC PROFILES` and
  `IMAGE COMMENTS` sections
+ Update FILE TABLE
+ Renamed "raw" XMP metadata to "raw" metadata to prevent confusion
  with "raw" XMP
2021-09-15 14:25:26 +01:00
Kevin Backhouse bb9ff53ebe Throw an exception on integer overflow. 2021-09-13 21:43:59 +01:00
postscript-dev decfda43df Update manpage
Changes:
+ Update BMFF types in FILE TYPES section
+ Add text in FILE TYPES explaining formats
+ Change IPTC datasets and XMP properties to IPTC and XMP tags
+ Fix text and formatting
2021-09-12 23:27:39 +01:00
Kevin Backhouse 395389aa15 Add more checks to prevent integer overflow. 2021-09-12 22:48:24 +01:00
postscript-dev d49c4b6e8f Update manpage by converting to markdown
Original manpage file text is replaced with a note pointing to the
Exiv2 website.
2021-09-12 15:13:43 +01:00
Kevin Backhouse 4d55cb6692 Comment out bogus code.
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38189
2021-09-12 14:48:47 +01:00
Kevin Backhouse 4f126806e8 Regression test for https://github.com/Exiv2/exiv2/issues/1901 2021-09-12 14:48:46 +01:00
Kevin Backhouse 9b79b378b1 Remove unused constructor that was causing a build failure in OSS-Fuzz.
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38491
2021-09-12 13:01:01 +01:00
postscript-dev 7a54ec4be8 Update manpage
Update the `COMMANDS` and `EXIV2 GROUPS, TYPES AND VALUES` sections,
including any related sections.

Changes:
+ Add new examples and update text
+ Fix spelling errors
2021-09-12 11:18:35 +01:00
Kevin Backhouse 1b5389975a Merge pull request #1806 from kevinbackhouse/FuzzMore
Call Metadatum::print() to increase fuzzing coverage.
2021-09-09 22:40:09 +01:00
Kevin Backhouse e71b99b236 Merge pull request #1886 from kevinbackhouse/private-pData
Make fields of DataBuf private
2021-09-09 22:21:02 +01:00
Kevin Backhouse 8a08e14a87 Merge pull request #1899 from kevinbackhouse/BuildDoc
Add doc to release workflow
2021-09-09 22:19:36 +01:00
Kevin Backhouse e1b9538ba5 Add doc to release build. 2021-09-09 19:46:34 +01:00
Kevin Backhouse 8e64f4c22d Merge pull request #1898 from kevinbackhouse/DowngradeConan
Standardize on conan 1.39.0
2021-09-09 19:42:22 +01:00
Kevin Backhouse 7a6acc4eca Standardize on conan 1.39.0 2021-09-09 17:15:10 +01:00
Robin Mills 5f2cbdf6b0 Merge pull request #1892 from Exiv2/clanmills-patch-1
Update SECURITY.md
2021-09-05 05:35:24 +01:00
Robin Mills e1cbe3ed58 Update SECURITY.md 2021-09-04 11:50:10 +01:00
Kevin Backhouse 7caf4479c8 Merge pull request #1888 from kevinbackhouse/FixIssue1887
Avoid reading 1 byte off the end when the string does not contain a '\0' byte
2021-09-02 22:50:13 +01:00
Kevin Backhouse bd211a90ac Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37889
Avoid reading 1 byte off the end when the string does not contain a '\0' byte.
2021-09-02 10:26:08 +01:00
Kevin Backhouse 9c4f9c713f Regression test for https://github.com/Exiv2/exiv2/issues/1887 2021-09-01 21:46:01 +01:00
Kevin Backhouse 9ff72e5ca5 Make offset=0 the default parameter. 2021-08-30 12:41:08 +01:00
Kevin Backhouse aec6733df9 Add unit test for methods like DataBuf::read_uint32 and DataBuf::write_uint32. 2021-08-29 22:20:25 +01:00
Kevin Backhouse 61a14c45d1 Fix build failure. 2021-08-29 17:13:15 +01:00
Kevin Backhouse e41f0c2cce Fix build failure on Windows. 2021-08-29 15:49:12 +01:00
Kevin Backhouse c9d0cf3643 Make fields of DataBuf private. 2021-08-29 15:43:10 +01:00
Kevin Backhouse cb16324bcf Merge pull request #1882 from kevinbackhouse/FixIssue1881
Throw an error if the size of the preview is greater than 1MB
2021-08-27 18:17:14 +01:00
Kevin Backhouse ccfdcf84ea Merge pull request #1824 from 1div0/JPEG XL
Corrected JPEG XL file type
2021-08-27 17:47:35 +01:00