Commit Graph

6288 Commits

Author SHA1 Message Date
Robin Mills
7844b11e4b
[xmpsdk] Add XMP Initialisation/Cleanup code to all main() programs
- update documentation
- Removed redundant calls to Exiv2::XmpParser::terminate() (legacy of our
  discusssion with @tester0077).
- this fixes #976
2019-10-05 10:19:53 +02:00
D4N
a82098f4f9
Fix #1011 fix_1011_jp2_readmetadata_loop (#1013)
Fix #1011 fix_1011_jp2_readmetadata_loop
2019-10-05 09:58:31 +02:00
clanmills
1b917c3f7d Fix #1011 fix_1011_jp2_readmetadata_loop 2019-10-05 07:50:59 +02:00
D4N
a30027c64a
Merge pull request #1012 from Exiv2/mergify/bp/0.27-maintenance/pr-1002
Bump ci containers (bp #1002)
2019-10-02 00:39:30 +02:00
Dan Čermák
78fc0dc5d0
[ci] Stop symlinking python36 to python3 on CentOS
CentOS recently started to provide python3 by default obsoleted python36. Our
manual hack broke the test suite and is no longer required.

(cherry picked from commit e22c97e1cee806b9e7ecf7a06c31dab959c6c31c)
2019-10-01 23:39:17 +02:00
Dan Čermák
49970cd820
[ci] Bump version of the GitLab CI containers and Vagrant boxes
(cherry picked from commit dc338f9341925740a2f4903a62e0aba3cc0bf722)
2019-10-01 23:39:11 +02:00
tester0077
ee31327551
Merge pull request #989 from Exiv2/fix_987
Fix 987 (taglist.cpp changes)
2019-10-01 14:28:24 -07:00
clanmills
ca4396ddb7 Updated test suite to respect changes introduced by #988 2019-09-17 18:33:40 +01:00
Luis Díaz Más
398139ec54
Usage of EXIT_SUCCESS and EXIT_FAILURE 2019-09-15 23:00:26 +02:00
Luis Díaz Más
23eb91aa6e
Replace for-loop with while to improve readability.
Note that I also moved the std::string out of the loop so that we do not
need to allocate/deallocate the string several times.
2019-09-15 23:00:19 +02:00
clanmills
c44188db9a
Exiv2 Man Page update to describe Exif TagNames and Groups. 2019-09-15 23:00:13 +02:00
clanmills
4cf040ac4a
Install man page from man/man1/exiv2.1 2019-09-15 23:00:07 +02:00
clanmills
de1f4926b6
[tests] Add tests for taglist 2019-09-15 23:00:00 +02:00
clanmills
34f10994fb
fix 987: Added options all and ALL to samples/taglist 2019-09-15 22:59:54 +02:00
Robin Mills
961409a4e4
Merge pull request #988 from Exiv2/fix981
New PR to replace fix981_canonAutoFocus2 which will be closed.
2019-09-15 08:44:24 +01:00
clanmills
90f9f0bc19
Add support for Exif.Canon.AF tags to be read from images
This PR (and fix981_canonAutoFocus2) use a decoder listed in TiffMappingInfo to
decode Exif.Canon.AFInfo. The decoding function "manufactures" Exif tags such as
Exif.Canon.AFNumPoints from the data in Exif.Canon.AFInfo. These tags must never
be written to file and are removed from the metadata in
exif.cpp/ExifParser::encode().

Three of the tags created (AFPointsInFocus,AFPointsSelected, AFPrimaryPoint) are
bitmasks. As the camera can have up to 64 focus points, the tags are a 64 bit
mask to say which points are active. The function printBitmask() reports data
such as 1,2,3 or (none).

This decoding function decodeCanonAFInfo() added to TiffMappingInfo manufactures
the new tags. Normally, tags are processed by the binary tag decoder and that
approach was taken in branch fix981_canonAf. However, the binary tag decoder
cannot deal with AFInfo because the size of some metadata arrays cannot be
determined at compile time.
2019-09-14 11:28:18 +02:00
Luis Díaz Más
db70528190
Merge pull request #993 from Exiv2/fix_992
Fix 992
2019-09-12 17:54:14 +02:00
sat3ll
aef107a9ca
add test case
(cherry picked from commit 4329dfcc177e020eef39fdfc0909187e9470b6b9)
2019-08-28 13:53:12 +02:00
sat3ll
d59d929eb2
add ID for Sigma APO MACRO 180mm F3.5 EX DG (nikon)
(cherry picked from commit 9852e21761d962a7deb1e5e9673b3b5f5018dbfb)
2019-08-28 13:53:06 +02:00
D4N
023401a843
Merge pull request #994 from Exiv2/mergify/bp/0.27-maintenance/pr-990
Remove AF designator from Tamron 70-200 G1 (bp #990)
2019-08-28 09:43:36 +02:00
clanmills
93eea3c544 [tests] Add regression test for Tamron 70-200 G1 lens name
(cherry picked from commit e3477fc7714fe0f0b26752b65aedcb497cf5f81f)
2019-08-27 22:12:59 +00:00
Marek Kubica
515569030b Remove AF designator from Tamron 70-200 G1
This removes the AF from the name of the lens thus matching the name
that lensfun and exiftool determine.

(cherry picked from commit a573f9795baa1cf8a68296a80114fdc575f84319)
2019-08-27 22:12:59 +00:00
Luis Diaz Mas
a1860b22bd appveyor: use ninja + give priority to more recent compilers 2019-08-02 23:47:23 +02:00
Robin Mills
70f9405faf
Merge pull request #974 from Exiv2/0.27.2_Final
Final documentation change for 0.27.2
2019-07-29 06:09:35 +01:00
Robin Mills
b53a733e8b Final documentation change for 0.27.2 2019-07-28 22:08:52 +01:00
Luis Díaz Más
8f085704ec
Merge pull request #940 from Exiv2/v0.27.2
v0.27.2
2019-07-28 16:41:17 +02:00
Robin Mills
220e578b2f Document changes from 0.27.2.3 to 0.27.2 2019-07-28 15:07:41 +02:00
Robin Mills
07c0b7f51e Bump Revision Number. 2019-07-28 15:06:31 +02:00
Robin Mills
e4c5c913a1 Documentation Changes 2019-07-28 15:06:08 +02:00
Robin Mills
de9ce41a14 Add README-SAMPLES.md to packages 2019-07-28 15:03:38 +02:00
Luis Díaz Más
735fabf2dd
Merge pull request #961 from Exiv2/mergify/bp/0.27-maintenance/pr-944
Add bounds check to MemIo::seek(). (bp #944)
2019-07-28 14:34:15 +02:00
Luis Diaz Mas
48d68c8271 Fix sign-compare warnings & use gtestwrapper.h 2019-07-28 12:43:40 +02:00
Kevin Backhouse
edb4bf78ca Add bounds check to MemIo::seek(). (#944)
- Regression test for missing bounds check in MemIo::seek()
- Add bounds check to MemIo::seek(), this fixes CVE-2019-13504

(cherry picked from commit bd0afe0390439b2c424d881c8c6eb0c5624e31d9)

Additional fixes for 0.27:
- Add fix for the linux variant of MemIo::seek
- Change type of variable from unsigned to signed
2019-07-28 12:43:06 +02:00
Luis Díaz Más
1090cff7d5
Merge pull request #967 from Exiv2/fix_966_macosx_linintl_mono_framework
fix_966_macosx_libintl_mono_framework
2019-07-28 08:42:21 +02:00
Luis Diaz Mas
1e2d08a2e2 appveyor: remove cache 2019-07-27 23:43:50 +02:00
Robin Mills
73c592cdc9 Change EXIV2_ENABLE_NLS default to Off, removed EXIV2_BUILD_PO. Documentation Update. Restored find_package(Intl REQUIRED) 2019-07-27 17:11:16 +02:00
Robin Mills
3ad2c8a525 fix_966_macosx_libintl_mono_framework 2019-07-27 17:11:16 +02:00
Luis Díaz Más
15f25a1906
Merge pull request #968 from Exiv2/027_update_conan
027 update conan
2019-07-27 17:09:58 +02:00
Luis Diaz Mas
ef4315fe28 appveyor: upgrate to python 3.7 and conan 1.17.2
- Also upgrade travis builder to the same conan version
- Different versions of libcurl/libopenssl for appveyor/travis
2019-07-27 08:18:57 +02:00
Robin Mills
fd0cab155b
Merge pull request #965 from Exiv2/v0.27.2-RC3
v0.27.2-RC3
2019-07-19 17:37:31 +01:00
Robin Mills
500b76a54b Defer #922 for v0.27.3 2019-07-19 16:21:43 +01:00
Robin Mills
3138f51fea Update release notes 2019-07-19 07:50:53 +01:00
Robin Mills
88b5dd6151 Bump Revision Number 2019-07-19 07:00:32 +01:00
Luis Díaz Más
cc000ceb1c
Merge pull request #959 from Exiv2/fix947_FreeBSD_BasicError_typeinfo
fix947_FreeBSD_BasicError_typeinfo
2019-07-18 14:25:44 +02:00
Luis Díaz Más
0058dd1099 Use compile definitions only if they are available 2019-07-17 22:34:15 +02:00
Robin Mills
0c282f8373 Looking better all the time, Gentlemen. I believe the only changes between the patches are in unitTests/CMakeLists.txt.
This build passes the test suite and jens.cpp on MacOS-X.  I'll submit and see what the CI has to say.  With the changes only relating to unitTests (which I didn't run on FreeBSD), we should not have disturbed Linux/FreeBSD/jens.cpp.
2019-07-17 22:30:18 +02:00
Robin Mills
76d2798172 Pushing very helpful suggestion by @lantw44 2019-07-17 22:30:18 +02:00
clanmills
94a777609e fix947_FreeBSD_BasicError_typeinfo 2019-07-17 22:30:18 +02:00
D4N
a51980898b
Fix integer overflow in WebPImage::getHeaderOffset (#962)
Fix integer overflow in WebPImage::getHeaderOffset
2019-07-16 00:49:12 +02:00
Luis Díaz Más
e925bc5add Fix integer overflow by checking size against header_size
Note that the problem occurs when data_size is less than header_size
what causes a buffer overflow in &data[i]

Co-Authored-By: D4N <dan.cermak@cgc-instruments.com>
2019-07-15 22:35:51 +02:00