Commit Graph

7822 Commits

Author SHA1 Message Date
postscript-dev 0da5603b11 Fix long code block lines in exiv2.md
Fix will help when file is converted to PDF for the website.
2021-09-26 16:17:34 +01:00
postscript-dev 2004aeb8d8 Update manpage URLs 2021-09-26 16:17:34 +01:00
postscript-dev cb1b632263 Update markdown files with changes to manpage 2021-09-26 16:17:33 +01:00
postscript-dev 9cbbd12aec Move exiv2.md - easier to find 2021-09-26 16:17:33 +01:00
postscript-dev 862e6198f5 Fix markdown manpage formatting
GitHub flavored markdown uses `- ` for a bullet point, instead of a
`+ `.
2021-09-26 16:17:32 +01:00
Kevin Backhouse b27aa0b82c Merge pull request #1922 from postscript-dev/fix_sony_tags
Add SonyMisc(2b|3c) Groups for Sony TIFF files
2021-09-25 18:14:00 +01:00
Kevin Backhouse e2f3d6d2d7 Merge pull request #1918 from rabauke/my_fix_01
fix out of range access, minor performance improvement
2021-09-24 10:55:45 +01:00
Kevin Backhouse 41543e99b5 Merge pull request #1907 from cjwatson/update-pot-target
Add custom update-pot target
2021-09-24 07:34:47 +01:00
Heiko Bauke d9294ebe38 Merge pull request #1 from kevinbackhouse/my_fix_01
Add regression test to https://github.com/Exiv2/exiv2/pull/1918
2021-09-24 07:35:36 +02:00
Colin Watson 38e836d96f Merge pull request #1 from kevinbackhouse/update-pot-target
Update copyright and bug-address
2021-09-23 23:25:58 +01:00
Kevin Backhouse 78fcfff497 Update copyright and bug-address 2021-09-23 23:02:59 +01:00
Kevin Backhouse 2ec128f479 Add regression test to https://github.com/Exiv2/exiv2/pull/1918 2021-09-23 22:49:21 +01:00
postscript-dev 827f31ad8d Add test for SonyMisc(2b|3c) Groups in TIFF files 2021-09-23 12:01:07 +01:00
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
Heiko Bauke 8a1e949bff fix out of range access, minor performance improvement 2021-09-22 19:48:00 +02: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
Colin Watson ec58aec960 Add custom update-pot target
While working on a separate localization bug, I noticed that
`po/exiv2.pot` hasn't been updated since 2017, and that with the removal
of the autotools build system there's no longer any way to update it.
Add a simple `update-pot` target to do so, and bring `po/POTFILES.in` up
to date with the current source tree.

I haven't updated `po/exiv2.pot` itself because that would be a large
diff, though I've checked that the output looks reasonable.  I suggest
that maintainers do this.
2021-09-17 11:22:34 +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