Commit Graph

891 Commits

Author SHA1 Message Date
clanmills
f9c5eaf580 fix_1046_pt-GPSProcessingMethod 2020-03-22 20:44:37 +00:00
Fredrik Strandin
5360d82c4a Add ID for Tokina atx-i 11-16mm F2.8 CF (Nikon)
Fixes #1078

(cherry picked from commit 2870a1648e86b777afa0ae1540ea4791482d1354)
2020-01-15 09:07:31 +01:00
layderv
49511ae221 Fixes #1014 Two Nikon lenses still not detected
(cherry picked from commit 19d089c5a468efb7c87837b26e6459674965f037)
2019-10-12 15:58:48 +00:00
clanmills
8859209b95 fix_1004_lens_exiftool_compatibility 2019-10-09 09:00:14 +02:00
Robin Mills
c12f91f90f fix_958_usr_bin_env_bash_test 2019-10-08 10:56:11 +02:00
Dan Čermák
0a4fdae360 [tests] Add regression test for #1019
(cherry picked from commit 73b874fb14d02578f876aa7dd404cf7c07b6dc4e)
2019-10-07 22:14:15 +00:00
clanmills
1b917c3f7d Fix #1011 fix_1011_jp2_readmetadata_loop 2019-10-05 07:50:59 +02: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
sat3ll
aef107a9ca
add test case
(cherry picked from commit 4329dfcc177e020eef39fdfc0909187e9470b6b9)
2019-08-28 13:53:12 +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
Luis Díaz Más
a048325e18 Add regression test for #960 2019-07-15 22:35:38 +02:00
Kevin Backhouse
be875ce50f Add a second test for better code coverage. 2019-07-06 16:09:18 +01:00
Kevin Backhouse
cb7dc5a528 Check for integer overflows in mrwimage.cpp 2019-07-05 15:41:14 +01:00
Robin Mills
ab375fb074 Add support for FocusPosition in Sony RAW files (#906)
* Fix 582 Add support for FocusPosition in Sony RAW files
* Thanks to @boardhead sonyFpCrypt() works correctly. Removed debug code. Fixed typos.
* Update doc/templates/Makefile to process Sony2Fp
* Following review by @boardhead. Renamed sonyFpCrypt() as sonyTagDecipher().
* Fixed writing the tag thanks to @boardhead explaining encipher/decipher.
  Sadly, ArrayCfg/crpyt does not know if he's encrypting/decrypting.
  I've added a sniff in TiffEncoder::visitBinaryArrayEnd to avoid changing the API.
* Added URL to discussion concerning sonyTagCipher()
* make sonyTagCipher() a static function with no external visibility.
2019-06-26 21:36:59 +02:00
Robin Mills
b02c80f7e4 fix646_NikonAF22 2019-06-18 21:29:55 +02:00
sat3ll
2beefab719 Add Tamron SP 70-300mm f/4-5.6 Di VC USD (Model: A030) (Nikon Mount)
(cherry picked from commit 1640ac8d0ca8bbb975f7a986bf0537545423fffc)
2019-05-27 07:35:31 +02:00
Robin Mills
2451e7ba56 fix880_NikonEndian 2019-05-21 17:26:27 +02:00
clanmills
b1ed1bf246 fix743_NikonSigmaArtLens 2019-05-21 11:30:33 +01:00
Kevin Backhouse
b35c43e7c2 Remove call to atol, which might read off the end of the buffer. (#870) 2019-05-17 12:45:42 +02:00
Kevin Backhouse
9092b422e6 Prevent out-of-bounds read. (#868) 2019-05-17 07:06:56 +02:00
Kevin Backhouse
6068df4c01 Add better bounds checking in PngImage::printStructure(). (#862) 2019-05-17 05:44:28 +02:00
Kevin Backhouse
109d5df7ab Check bounds of jpg_img_off and jpg_img_len. (#858) 2019-05-16 15:30:12 +02:00
Kevin Backhouse
1c1436e94e Add bounds check of resourceSize. (#856) 2019-05-16 11:24:18 +02:00
Kevin Backhouse
80cd0d2990 Add bounds check on allocation size. (#854) 2019-05-16 09:36:26 +02:00
Kevin Backhouse
fe538e9438 Check bounds in XMP SDK (#852)
* Check bounds of month and day.

* Add some more bounds checks.

* Fix test failure in clang.
2019-05-16 07:40:47 +02:00
Kevin Backhouse
81ae213c71 Check bounds of allocation size. (#848) 2019-05-15 13:00:41 +02:00
Kevin Backhouse
7798ae2557 Throw an exception if the data location is invalid. (#842) 2019-05-15 11:12:02 +02:00
Kevin Backhouse
8dc87a1214 Add bounds check. (#840) 2019-05-15 08:58:38 +02:00
Kevin Backhouse
d3e69f6d2c Add bounds check on allocation size. 2019-05-14 17:31:37 +02:00
Kevin Backhouse
c0ecc2ae36 Avoid integer overflow. 2019-05-13 22:46:25 +02:00
Robin Mills
b0a9cb5624 NetBSD/FreeBSD Support 2019-05-12 16:41:58 +02:00
Kevin Backhouse
caa4e6745a Avoid negative integer overflow when filesize < io_->tell().
This fixes #791.
2019-05-12 14:15:21 +02:00
Kevin Backhouse
8cd95e2218 Avoid negative integer overflow when chunkLength == 0.
This fixes #789.
2019-05-06 06:27:10 +02:00
Kevin Backhouse
6fa2e31206 Avoid negative integer overflow when iccOffset > chunkLength.
This fixes #790.
2019-05-05 12:21:32 +02:00
Luis Diaz Mas
f33d8daaa0 Add regression test for #742
(cherry picked from commit 885dd2a7437b946c975f2a37c9ccaecc1b91fc95)
2019-04-07 18:06:42 +02:00
Dan Čermák
7bd929de31
[tests] Add regression test for #756 2019-03-25 23:56:57 +01:00
Dan Čermák
a557c7f477
[tests] Add regression test for second bug from #590 2019-02-26 00:09:21 +01:00
Luis Díaz Más
704fc56d52 Keep the profileName from readMetadata and use it in writeMetadata 2019-01-24 23:16:25 +01:00
Luis Díaz Más
e385599067 Refactoring to make the doe more readable. Fix icc tests 2019-01-24 22:30:30 +01:00
Robin Mills
62c42695c5 #485 Tweak msvc output to avoid the test suite reporting an issue with conversions.sh 2018-11-30 14:18:17 +01:00
Robin Mills
1b136f0657 Revision to PR#557. Restored XmpData::erase() and added XmpData::eraseFamily(). Restored and augumented conversions.sh 2018-11-30 14:18:17 +01:00
Robin Mills
ccd708df24 Fix: https://github.com/Exiv2/exiv2/issues/521
conversions.sh reveals a (harmless) order change runTest exiv2 -M'set Xmp.xmp.ModifyDate 2015-04-17T18:10:22Z' v.xmp
2018-11-30 14:18:17 +01:00
Luis Díaz Más
dc04cc92eb Add test reproducer for #561 2018-11-26 16:39:00 +01:00
Luis Diaz Mas
b9c079c1ea Remove -pR call from webp-test.sh 2018-11-22 18:19:08 +01:00
Luis Diaz Mas
b07c480a0a Add regression test for #511 2018-11-06 14:40:36 +01:00
Luis Diaz Mas
b6bc4262c4 Add regression test for #426 2018-11-06 13:17:35 +01:00
Robin Mills
5f6ef65695 Update PROJECT_VERSION & add install() commands for CPack
- Version updated to 0.27.0.1.
- Release notes for MacOS-X Package, Linux, CYGWIN, win64 and msvc
- Redmine Release Notes Updated.
2018-10-26 17:47:15 +02:00
Luis Díaz Más
274b65a671 Add reproducer for #460 2018-10-14 11:58:25 +02:00
Luis Díaz Más
3f97960a1c Add reproducer for #457 2018-10-13 11:37:57 +02:00
Dan Čermák
f6d775b400 [testsuite] Add reproducers for #263
This issue got resolved by #180 and #461.
2018-10-12 00:41:46 +02:00
Dan Čermák
d224f897b0 [testsuite] Add reproducer for #216
The bug got resolved by PR #461 (slices).
2018-10-12 00:41:46 +02:00
Dan Čermák
eeb520bf39 [testsuite] Add reproducer for second bug from #159
The bug described in the issue got resolved by PR #461 (slices).
2018-10-12 00:41:46 +02:00
Dan Čermák
1af8e2875e [testsuite] Add reproducers for CVE-2017-17724 & #209, #211 2018-10-11 14:06:16 +02:00
Roberto C. Sánchez
c03f73268f Prevent SIGABRT on excessive subBox length in jp2image.cpp
This fixes CVE-2018-9145
2018-10-10 11:52:39 +02:00
Luis Díaz Más
10a6e6f96c Adapt output in exiv2-test.out 2018-09-14 07:43:21 +02:00
Dan Čermák
19bb57ff25 Add reproducer for #262 to the test suite 2018-09-13 11:18:29 +02:00
Dan Čermák
4090ca475f [testsuite] disable bugfixes-test.sh 2018-09-13 11:18:29 +02:00
Robin Mills
90305cee1e Fix in exiv2-test.sh for Cygwin 2018-09-13 10:58:08 +02:00
Robin Mills
b6a8d39613 Ensure MSYS is detected in functions.source 2018-09-12 20:24:54 +02:00
Luis Díaz Más
d5001f8929 Modify exiv2-test.out to adapt it to the changes 2018-09-12 19:22:31 +02:00
Luis Díaz Más
7d32da890b Add remaining pocs for the issue 428 and adapt the regression test 2018-09-11 09:49:59 +02:00
Luis Díaz Más
f5b40f3e82 Fix more issues in PngChunk::readRawProfile 2018-09-11 09:49:59 +02:00
Luis Díaz Más
a6a1c31140 Add integration test to reproduce the issue 2018-09-11 09:49:59 +02:00
Luis Díaz Más
dce05ac488 Remove occurrences of EXIV2_BUILDDIR and rely in EXIV2_BINDIR 2018-09-11 06:54:44 +02:00
Dan Čermák
dadd1d19f9 Add reproducer for #400 to the test suite 2018-08-21 13:46:53 +02:00
Dan Čermák
f522cbf460 [testsuite] Add reproducer for #378/CVE-2018-14046 to the testsuite 2018-07-16 23:40:23 +02:00
Dan Čermák
b517f2e13b Add regression test for #366 to the testsuite 2018-06-11 22:55:49 +02:00
Dan Čermák
9b08354aca Add reproducer for #365 to the testsuite 2018-06-11 22:55:49 +02:00
Dan Čermák
653814afb0 [testsuite] Allow setting the binary location for make tests 2018-06-07 10:19:59 +02:00
Luis Diaz Mas
8eca055058 Add POC + regression test.
Note that we override here the method check_no_ASAN_UBSAN_errors to also
analyze the last two lines of got_stderr.
2018-05-26 09:59:37 +02:00
Luis Diaz Mas
234e5794f6 Add tests for #306 2018-05-23 10:57:13 +02:00
Daniel Zucchetto
cb5135f772 Add test for Canon M100 ModelID 2018-05-21 23:35:39 +02:00
Robin Mills
4239ff6734 Test for Tamron SP AF 150-600mm F/5-6.3 VC USD G2 (A022) for Nikon 2018-05-06 12:00:20 +01:00
Luis Diaz Mas
ffab622633 Add reproducer for #247 2018-04-02 17:46:29 +02:00
Luis Diaz Mas
08aa27ae37 Add reproducers for #253 and #246 2018-04-01 09:21:20 +02:00
Dan Čermák
e78982c81a [testsuite] simplify test/Makefile 2018-03-28 10:07:41 +02:00
Dan Čermák
48982697b0 Add reproducer for CVE-2017-1000126 to the test suite 2018-03-27 23:46:13 +02:00
Dan Čermák
59b148aee9 Add regression test for CVE-2017-18005 2018-03-20 21:30:06 +01:00
Dan Čermák
cabf756553 Add reproducer for #170 to the test suite 2018-02-22 16:42:51 +01:00
Dan Čermák
73ac02d7f2 Added test for Sigma lenses 2018-02-21 12:57:45 +01:00
Dan Čermák
ead7f309b0 Added reproducer for CVE-2017-1000127 2018-02-07 11:16:23 +01:00
Robin Mills
55001c8ddf
Merge pull request #222 from Exiv2/fix-220
Fix 220
2018-02-03 14:19:59 +00:00
clanmills
7d837d9c86 Changes to test/Makefile following Dan's review. 2018-02-03 12:29:22 +00:00
Dan Čermák
72de0f96f3 Added reproducer for CVE-2018-4868 to the test suite 2018-02-01 17:55:22 +01:00
Robin Mills
a1f1989cb5
Merge branch 'master' into master 2018-02-01 14:55:07 +00:00
clanmills
552247c3d0 Update test/Makefile not to exit on error 2018-01-29 09:13:58 +00:00
clanmills
c082537967 Fix #220 https://github.com/Exiv2/exiv2/issues/220 2018-01-29 09:13:27 +00:00
Dan Čermák
80c4d95171 Add regression test for CVE 2017-17669 2018-01-27 14:51:40 +01:00
Michał Walenciak
dba9fba725 test for issue #208 2018-01-13 15:52:50 +01:00
Dan Čermák
9900f523fe Added reproducer for #201 to the test suite 2018-01-06 00:26:09 +01:00
Luis Díaz Más
22527f0927 Add reproducer for issue #188 2017-12-21 16:33:14 +01:00
Dan Čermák
42090c1625 Updated bugfixes-test.out 2017-12-07 09:09:11 +01:00
Dan Čermák
305d22136c Added reproducer for issue 1305 on exiv2 redmine
http://dev.exiv2.org/issues/1305
2017-12-07 09:09:10 +01:00
Dan Čermák
307138c12c reportTest function returns 3 on failure
the Makefile only aborts if the return value is > 2
2017-11-26 12:14:47 +01:00
tbeu
5df8b01b77 Remove obsolete svn revision 2017-11-19 11:17:11 +01:00
Dan Čermák
78c559475b Testsuite fails with non-zero exit code if a test does not pass 2017-11-19 08:40:55 +01:00
Dan Čermák
c2d1614e7c Updated bugfixes-test.out 2017-11-19 00:29:08 +01:00
Dan Čermák
2b3e3f878b Added reproducers for #138, #139 & #140
the issues correspond to CVE-2017-14858, CVE-2017-14861 and
CVE-2017-14866 respectively
2017-11-19 00:23:57 +01:00
Dan Čermák
7bae890ebf Updated bugfixes-test.out 2017-11-10 15:18:47 +01:00
Dan Čermák
691fca4259 Added reproducer for 159 to the test suite 2017-11-10 15:18:31 +01:00
Dan Čermák
a79774083e Updated bugfixes-test.out 2017-11-04 00:20:38 +01:00
Dan Čermák
c640ea8608 Added reproducer for #144 / CVE-2017-9953 to the testsuite 2017-11-04 00:20:38 +01:00
Dan Čermák
ecfbd58695 Added test output to bugfixes-test.out 2017-10-29 23:30:07 +01:00
Dan Čermák
ec55f74f68 Added reproducer for CVE-2017-14863 / #132 to the test suite 2017-10-29 23:28:57 +01:00
Dan Čermák
673e391797 Addapted bugfixes-test.out 2017-10-29 22:33:23 +01:00
Dan Čermák
f7a403d8d9 Added reproducer for CVE-2017-14865 / #134 to the test suite 2017-10-29 22:31:17 +01:00
Dan Čermák
f4f05001e9 Updated bugfixes-test.out 2017-10-29 10:21:49 +01:00
Dan Čermák
35cb91a9f3 Added reproducer for #54 / CVE-2017-11592 to the test suite 2017-10-29 10:17:04 +01:00
Dan Čermák
091d4edbdb Corrected bugfix test number #54 to #56 2017-10-29 10:17:04 +01:00
Dan Čermák
72b75ddfe4 Updated bugfixes-test.out 2017-10-19 00:42:42 +02:00
Dan Čermák
87e0c6ec53 Added reproducer for #76 to the testsuite 2017-10-19 00:42:11 +02:00
Dan Čermák
de298b8e5d Added reproducers for #73, #74 and #75 to the test suite 2017-10-11 09:50:39 +02:00
Dan Čermák
c884a3b4bf Added the reproducer for CVE-2017-14860 to the test suite 2017-10-11 00:11:15 +02:00
Dan Čermák
751905ccde Add POC3, POC4, POC5, POC6, POC9, POC11, POC12 & POC13 to the test suite
These are files which reproduce the github issues #50, #51, #52, #53,
 #54, #58, #59 and #60
2017-10-03 00:27:20 +02:00
clanmills
c48f7c8e5b Fix https://github.com/Exiv2/exiv2/issues/57 2017-09-29 13:48:14 +01:00
clanmills
7fa8d31302 #49 and #79 Thanks to Dan and Raffael for working with me on this. 2017-09-29 10:00:30 +01:00
clanmills
6e3855aed7 Fix https://github.com/Exiv2/exiv2/issues/55 2017-09-27 09:20:13 +01:00
clanmills
9aad5cd6df Adding missing test file. 2017-09-26 22:53:45 +01:00
clanmills
8a8f60a4e7 Fix https://github.com/Exiv2/exiv2/issues/55 Thank You, Raphaël Hertzog. 2017-09-26 21:37:53 +01:00
clanmills
3755d7c191 #20 Thank You, mfg92 for your contribution. 2017-09-22 07:38:49 +01:00
clanmills
599e555de9 Fix https://github.com/Exiv2/exiv2/pull/20#issuecomment-330859079 2017-09-21 22:28:11 +01:00
clanmills
21ac4ac61a Test suite changes due to https://github.com/Exiv2/exiv2/pull/68 2017-09-19 10:17:46 +01:00
Robin Mills
b679195e52 buildserver maintenance 2017-09-18 16:08:52 +01:00
Robin Mills
320816bb5b buildserver maintenance 2017-09-18 16:08:20 +01:00
clanmills
875be557bd Fix https://github.com/Exiv2/exiv2/issues/45 Update test suite. 2017-08-30 15:29:55 +01:00
clanmills
1e7bc2828e Fixing issues with Cygwin test suite. 2017-08-08 20:34:48 +01:00
clanmills
882c825f1a Fix https://github.com/Exiv2/exiv2/issues/16 2017-07-06 10:38:39 +01:00
clanmills
e345110555 Removing obsolete code in CMakeLists.txt Adding version-test.sh to make tests 2017-06-06 15:02:19 +01:00
clanmills
3450cb1454 Set +x bit on tiff-test.sh 2017-06-04 10:59:43 +01:00
clanmills
5152c80cfb Fix test suite to run from CMake builds. 2017-06-04 10:22:28 +01:00
Robin Mills
e3ddbf5c86 #1179 Correction to r4731 (update test suite reference file) 2017-03-14 12:17:32 +00:00
Robin Mills
2ebacb6b0b #1272 Use in-memory temporary files. 2017-03-05 17:42:12 +00:00
Robin Mills
013771b4c1 #1272 Supplement to r4715 2017-03-04 10:50:54 +00:00
Robin Mills
e593b4c83c #1272 Do not use ReaganLargeTiff.tiff in icc-test.out (see #1272 for discussion) 2017-03-03 19:36:27 +00:00
Robin Mills
a9a612569e #1231 Added regression detector to test suite. Thanks very much to Ayke for providing the test data and the patch to implement the fix for #1231. 2016-12-04 06:11:59 +00:00
Robin Mills
9ad811150d #1230 Removing incorrect 2-byte pad following JPEG ICC_PROFILE. 2016-11-24 12:24:12 +00:00
Robin Mills
1a0095ff4a #1252 Patch submitted. Thank You to Markus for the patch and test files. Test suite updated appropriately. 2016-11-13 11:51:54 +00:00
Robin Mills
e490f2a90a #1108 Add test file for use in this document: http://dev.exiv2.org/projects/exiv2/wiki/The_Metadata_in_TIFF_files 2016-11-13 09:33:24 +00:00
Robin Mills
81265684f0 #1108 Fixed bugs in printStructure(kpsRecursive) handling of RATIONAL data. 2016-11-12 22:08:10 +00:00
Robin Mills
a3f62e3d94 #1226 Rename msvc2005 as msvc. msvc2003 will be removed from trunk when development of v0.27 begins. 2016-10-25 23:14:43 +00:00
Robin Mills
dd39d165e2 #1247 Fix Linux/GCC compilation warning. Added Hanno's file to the test suite. 2016-10-21 19:19:06 +00:00
Robin Mills
06740532a3 #855 Fix submitted. 2016-10-19 19:27:18 +00:00
Robin Mills
f3342c8912 #1080 Added the file BLANK.JPG to test suite as exiv2-bug1080.jpg 2016-10-19 19:18:07 +00:00
Robin Mills
5664393767 #1246 Fix submitted. 2016-10-19 14:57:18 +00:00
Robin Mills
50e53e893b #1230 Fixing issues with test suite on MinGW/32. 2016-10-18 18:27:07 +00:00
Robin Mills
551223ec92 #1240 Strengthened test/http-test. 2016-10-18 16:07:22 +00:00
Robin Mills
2e9138cf91 #1243 Work-in-progress. Still to add code to writeMetadata for icc profiles. 2016-10-13 11:03:39 +00:00
Robin Mills
ebea8991e5 #1243 Work-in-progress. Added test/data/relax.jp2 which has an embedded ICC profile. 2016-10-13 08:54:00 +00:00
Robin Mills
442b0155d0 #1243 Added XMP and IPTC data to Reagan.jp2. Corrected printStructure() appropriately.
Will add jp2image::writeMetadata()/iccProfile tomorrow and update tests.
2016-10-12 21:26:37 +00:00
Robin Mills
163f9281d6 #1242 Test harness update to use test/data/Reagan.jp2 2016-10-12 10:43:06 +00:00
Robin Mills
32fbaf63d1 test/tiff-test.sh. Change she-bang to run bash4 on Mac. (tiff-test.sh requires bash4). 2016-10-11 21:58:07 +00:00
Robin Mills
ed63a113e1 #1242 Work in progress. Fixing src/jp2image.cpp. Added test file. Test suite to be updated to use Reagan.jp2 (and hopefully additional test files) 2016-10-11 21:04:54 +00:00
Robin Mills
f291d535df #1230 Fix MinGW test suite. 2016-10-08 20:30:21 +00:00
Robin Mills
bea89ba81a #1230. Rollback 4604. I knew webp-test was sometimes failing. Fixed. Always use runTest exiv2 to be sure of executing the hot build of exiv2(.exe). 2016-10-04 15:16:56 +00:00
Robin Mills
ceaa92704f #1230 Adding --verbose to print action to dump more information (to debug something on the buildserver) 2016-10-04 12:39:36 +00:00
Robin Mills
dbd7e7de10 #1023 Fix http-test.sh to detect support for https. This isn't working very well. I think the jenkins/https support is suspect. 2016-09-29 19:38:12 +00:00
Robin Mills
c10bc003a7 #1023 Fix getDataByRange CURLOPT_SSL_VERIFYHOST. Fix http-test.sh (and associated test/data/http-test.out). 2016-09-29 15:30:55 +00:00
Robin Mills
5c3973991e #1023 HTTP and HTTPS test support. 2016-09-29 13:05:39 +00:00
Robin Mills
86028dd46e #1233 Fixed issue on MacOS-X 10.4 (32 big big-endian PPC, 2003 OS) with realpath() and added additional images for future testing. 2016-09-27 18:47:54 +00:00
Robin Mills
e57a9e103b #1233 Fixes for the test suite on msvc. 2016-09-27 17:31:01 +00:00
Robin Mills
80fd8ee333 #1233 geotag.cpp added option -ascii. The degree sign in the output was upsetting test harness on some platforms. 2016-09-27 13:56:03 +00:00
Robin Mills
7a22bfb585 #1230. Correction to r4569. Forgot to update test/data/geotag-test.out 2016-09-27 11:19:53 +00:00
Robin Mills
24c032c2a2 #1233 Changes to geotag-test to avoid full paths. Added make geotag-test. Sanitized geotag.cpp code 2016-09-27 08:53:35 +00:00
Robin Mills
bd16f3441e #1233 Thank You to Anton for reporting this and providing a patch. I've updated the test suite. 2016-09-26 22:53:42 +00:00
Robin Mills
3cfecd4918 #1230 Extended test/stdin-test.sh to pipe .exv and .icc file structures 2016-09-26 17:47:32 +00:00
Robin Mills
5f1d52e497 #1230 Added stdin-test and fixing issue identified by the test. 2016-09-25 22:43:40 +00:00
Robin Mills
5823290488 #1230 Test suite review and maintenance 2016-09-24 11:04:39 +00:00
Robin Mills
b8021f4517 #1074 Correction to r4540. Rollback changes to actions.cpp which should not have been submitted. Resubmitted test/data/icc-test.out 2016-09-22 20:58:58 +00:00
Robin Mills
88b3f77796 #1074 Fix bug in TiffImage printStructure() for large icc profiles. 2016-09-22 20:52:02 +00:00
Robin Mills
f4feff0864 #1229. Fix submitted (and appropriate update to test harness). Fix an error in jpgimage::doWriteMetadata for large (>64k) ICC profiles. 2016-09-22 18:20:43 +00:00
Robin Mills
13a990d3d9 #1109 MinGW/32 daily build. Avoid -svn-0-date builds. Changes to test suite for mingw. 2016-09-22 11:20:32 +00:00
Robin Mills
55ee286480 #1215 Update test suite to respect format changes introduced by r4511 (Exif.CanonSi.SubjectDistance) 2016-09-19 12:38:50 +00:00
Robin Mills
d321dad695 #1108 Fixing issue with pngimage::printStructure() and the "Software" string in test/data/imagemagick.png 2016-09-16 11:19:07 +00:00
Robin Mills
e84f38e73c Use md5sum in test/functions.source checkSum() 2016-09-16 09:25:04 +00:00
Robin Mills
eb3db93e4a #1074 Tests for webp, png, tiff and jpg 2016-09-15 14:52:59 +00:00
Robin Mills
1bea0c6aeb #1108 Better string formatting (and associated test/data changes). Tweaks to code layout for r4497. 2016-09-15 14:09:43 +00:00
Robin Mills
f2ec4ce36a #1074 Work in progress. fixed pngimage.cpp doWriteMetadata(). 2016-09-15 12:20:51 +00:00
draekko
e84513dbf4 Adding ReaganSmall.png to test/data using small.icc created using GIMP 2.9.x 2016-09-15 10:37:26 +00:00
Robin Mills
5edc759cc9 #1074 For discussion see: http://dev.exiv2.org/issues/1074#note-23 2016-09-14 10:02:51 +00:00
draekko
10d92d82c7 Adding GIMP generated images for ReaganLarge.png and .tiff variant created using the big.icc profile 2016-09-13 16:47:18 +00:00
Robin Mills
a8c51889b8 #1074. Fix bug in jpgimage.cpp/readMetadata() concerning ICC profile 2016-09-13 09:47:02 +00:00
Robin Mills
c7bca0ce00 #1224 crw-test.sh refactored to use test/functions.source, no long reference sample program crwparse and avoid crash in crwimage.cpp 2016-09-11 15:47:47 +00:00
Robin Mills
14f64998ac #1225 Fix 2016-09-11 03:19:24 +00:00
Robin Mills
2de6968227 #1223 Thank you to Alexey for reporting this and providing the patch. 2016-09-09 08:26:01 +00:00
Robin Mills
bfa8b15947 #1074 Omitted from previous commit. 2016-09-07 13:18:30 +00:00
Robin Mills
d7463fd114 #1074 and #1057 Fixing build breakers on Cygwin and msvc MinGW to be further investigaged. add checkSum to test functions 2016-09-07 13:17:47 +00:00
Robin Mills
57ee93886a #2120 Fix submitted and appropriate changes to test/icc-test.sh (rewritting ICC in JPG was corrupting file) 2016-09-05 14:43:13 +00:00
Robin Mills
87e9c996a6 #1220 and #1074 Work in progress. Improved -pS for JPEG. #1220 is due to a bug in writing the ICC profile in jpgimage.cpp/doWriteMetadata() 2016-09-05 11:39:29 +00:00
Robin Mills
191e232865 #825 Adding regression detector to test suite. 2016-09-05 10:32:59 +00:00
Robin Mills
b7c90140c7 #1074 ICC support in jpgimage.cpp. Add test/icc-test.sh 2016-09-01 16:44:29 +00:00
Robin Mills
fc74393029 #1074 Correction to r4455 where in updated test/bugfixes-test.sh instead of test/data/bugfixes-test.out 2016-09-01 14:32:20 +00:00
Robin Mills
9026954816 #1074 Work in progress for ICC/jpg - changes to readMetadata() and printStructure() 2016-09-01 14:17:25 +00:00
Robin Mills
7e09d250f1 #1060 Resequenced tests in alphabetic order. 2016-08-30 16:58:13 +00:00
Robin Mills
97e7905a8b #1060 Thank you to Thomas B for working on this and providing the patch. 2016-08-30 16:33:57 +00:00
Robin Mills
5f9807cbef #1216. Rollback r4448/6/2/1 r4439/38 to restabilize test suite on trunk. r4449 is copy of r4448 to branches/develop 2016-08-30 16:05:45 +00:00
Robin Mills
23841e3d58 #1218 Work-in-progress on test/exifdata-test.sh 2016-08-30 10:53:35 +00:00
Robin Mills
4a75d4f472 #1203 test/webp-test.sh - silence warning about time format. 2016-08-30 07:32:14 +00:00
Robin Mills
c7dfa4f032 #1203 Fixing test suite to respect changes introduced by r4438 2016-08-30 06:58:50 +00:00
Robin Mills
13be017d12 #922 exiv2 -dI deletes all IPTC chunks in a JPEG. 2016-08-25 16:20:38 +00:00
Robin Mills
8b9265b80d #1064 Fix -iX to merge (not replace) metadata from source to destination. 2016-08-23 19:40:56 +00:00
Robin Mills
fa24a8a614 #1199 Fixing webp-test.sh. Use -iXX to inject XMP into file without XMP->Exif/IPTC conversion 2016-08-22 20:54:24 +00:00
Robin Mills
027b3917ec #1199 Spit'n'polish on the loops in printStructure(), metadataRead() and doWriteMetadata(). Added tests with even byte count for ICCP and XMP Chunks. 2016-08-20 14:11:54 +00:00
Robin Mills
9a061d895e #1199 Fix WebP printStructure(), readMetadata() and doWriteMetadata() to handle payload padding byte. Extended webp-test to cover -iX, -ix and -ie 2016-08-20 09:43:34 +00:00
Robin Mills
d369aa67d5 #1199 Test suite changes and associate fixes to the code. 2016-08-19 18:59:28 +00:00
Robin Mills
79e81f0b68 #1199. Cosmetic corrections to r4413 2016-08-19 10:16:22 +00:00
Robin Mills
0462d2bf0f #1199. Adding tests for -iC. Fixed bug in -pC. Test code added for -ix and -ie, however I don't think the options are working correctly. 2016-08-19 10:10:06 +00:00
Robin Mills
591b43e77b #1199 Adding tests for -dC -de -dx 2016-08-19 07:08:27 +00:00
Robin Mills
30c85bc833 Fixing issues in test suite introduced by Thomas in r4379-r4396 2016-08-17 20:07:15 +00:00
Robin Mills
715e947764 #1199 WebP support. Changes to test suite. See http://dev.exiv2.org/issues/1199#note-79 for discussion. 2016-08-17 19:58:18 +00:00
Robin Mills
e01c2cad03 #1199. Correction to r4377 (webp tests). Also fixed test output changes introduced by Thomas' changes r4379-r4396 2016-08-17 15:50:01 +00:00
Robin Mills
51c06fafc3 #1199 Adding webp tests (work in progress, more tests will be added). 2016-08-14 07:25:03 +00:00
Robin Mills
d52674432b #1202 Update test suite. The test jpg was originally test/tmp/20030925_201850.jpg 2016-08-13 09:10:56 +00:00
Robin Mills
0cc97c7f23 #1189 Use in-memory file to dump Nikon MakerNote tag 0x927c 2016-06-13 05:49:40 +00:00
Robin Mills
ae17a16bea #1108. Correction to r4285 2016-04-22 14:30:12 +00:00
Robin Mills
58c5ffdedc #1108. Fixed issue with printing short strings which are stored in the directory offset field. 2016-04-22 14:11:09 +00:00
Robin Mills
a547679a2b #1179. Correction to r4279 (adding omitted test file). 2016-04-19 20:14:53 +00:00
Robin Mills
c8674eb102 #1179. Thank You to Pascal for reporting this, providing the patch and test data. 2016-04-17 17:08:01 +00:00
Robin Mills
d2e52f23a4 Correction to r4240 Fix test suite Cygwin errors 2016-03-23 17:50:27 +00:00
Robin Mills
7cf3cb1fbf #1074 #1108 Added ICC profile to test/data/Reagan.jpg 2016-03-23 13:49:52 +00:00
Robin Mills
c90073ccf5 Fix test suite Cygwin errors 2016-03-23 10:34:23 +00:00
Robin Mills
5251323a7e #1108 Corrections to test suite. 2016-03-22 16:17:20 +00:00
Robin Mills
460e17df07 #1170 Correction to r4236 2016-03-22 15:36:06 +00:00
Robin Mills
60b0b842cf #1170. Thank you, Marcus for reporting this and providing the test data. 2016-03-22 15:03:34 +00:00
Robin Mills
5182c06c22 #1074 Added Max's file to the test suite. 2016-03-17 22:56:22 +00:00
Robin Mills
bdf8d3ad5b #1108 Added photoshop/iptc parser to png/jpeg parser. 2016-03-11 20:48:36 +00:00
Robin Mills
e1f4174fa6 Correction to r4218. Added missed test/data file. 2016-03-09 07:49:49 +00:00
Robin Mills
69bb0fe1b4 #1167. Updated test suite. Thanks to Phillippe for providing the test data (and report and patch). 2016-03-05 23:50:01 +00:00
nkbj
328ebcf462 Fix a couple of lens names to be consistent across lens mounts. 2016-03-05 03:23:36 +00:00
nkbj
e2f05aa19e Update various lists to match ExifTool version 10.12. 2016-03-04 17:24:19 +00:00
Robin Mills
cc0ec825ec #1166. Thank You, Phillippe for reporting this and providing a patch and test data. 2016-03-04 08:33:08 +00:00
Robin Mills
90ae9abf60 #1153. Added missing file to test suite 2016-02-27 15:02:05 +00:00
Robin Mills
e99a3687f3 #1155. Fixes submitted. Thank You, Hannu for reporting this and providing test data. 2016-01-20 20:22:39 +00:00
Robin Mills
e02d142e4d #1155. Fix summitted. 2016-01-18 08:30:17 +00:00
Robin Mills
28083d6667 #1153 Fixes for "Sony E PZ 16-50mm F3.5-5.6 OSS" 2016-01-13 12:21:49 +00:00
Robin Mills
32af620713 #1153 Fix submitted. Thank You, Tim for reporting this and providing test data. 2016-01-12 10:18:09 +00:00
Robin Mills
3c896e7e80 #1074 Correction to r4169. Use cksum (better than wc) to test extracted profile correctness. wc is platform dependant. 2016-01-07 21:48:20 +00:00
Robin Mills
c271235d3e #1074 Correction to r4169 to fix test suite for platform/wc dependencies on Linux. 2016-01-07 21:15:37 +00:00
Robin Mills
d81e552cb7 #1074 -pC now works on tiff files. Added test convenience targets to Makefile 2016-01-07 19:05:06 +00:00
Robin Mills
4617dc3728 #1108 and #1074 -pC and -pR (print Color Profile, print Recursively) now work on png. 2016-01-07 16:13:28 +00:00
Robin Mills
a54cfca9d6 #1145 Test harness update. 2015-12-31 09:27:20 +00:00
Robin Mills
46d723b788 #1144 Fix submitted. Thank You, Simon for the test files on dropbox. I have extracted the metadata and added it to the test suite. 2015-12-28 06:24:13 +00:00
Robin Mills
2f6188a713 #1144. Correction to r4151 and update to test suite. 2015-12-27 19:28:23 +00:00
Robin Mills
e07eecd689 #816. Fix for Pentax K-3 Camera. 2015-12-20 21:31:41 +00:00
Robin Mills
b92dc7c8c9 #1140 Fix submitted. 2015-12-20 16:49:01 +00:00
Robin Mills
ab9ee2c6df #1024. Support for C++11 #include <regex>. --grep keys may have an optional trailer /i to indicate to ignore case. 2015-12-08 09:27:38 +00:00
Robin Mills
4bceac15f8 #1137. Correction to r4045. 2015-11-26 18:44:44 +00:00
Robin Mills
43fb05f201 #1137. Correction to r4045. 2015-11-23 20:08:30 +00:00
Robin Mills
43b467f4da #1137. Correction to r4045. 2015-11-23 16:25:44 +00:00
Robin Mills
ada018f3b8 #1137. Updated manpage to document -m- and -pV and Added regression detector for both new options to test suite. 2015-11-23 16:03:44 +00:00
Robin Mills
c6ed7dfe35 #816 Correction to r4018 to deal with segmentation fault on test file _IGP9034.JPG 2015-11-13 19:32:46 +00:00