Commit Graph

242 Commits

Author SHA1 Message Date
clanmills
92f2458229 fix_1180_date_separator 2020-04-25 14:31:26 +01:00
clanmills
7658d8aefd fix_macOS_0.27 2020-03-28 08:08:28 +00:00
clanmills
db1be4ae8e fix_1046_pt-GPSProcessingMethod 2020-03-22 20:56:38 +00:00
Luis Díaz Más
20a9e5affe Fix format-overflow warnings by using bigger buffer 2019-10-09 12:37:38 +02:00
Luis Díaz Más
113136e134 Replace DEBUG with EXIV2_DEBUG_MESSAGES
Fixes #926
2019-07-12 11:14:35 +02:00
clanmills
db870755b9 fix #818. Restore 0.25 behaviour of $ exiv2 -g image ... to apply grep to keys. 2019-05-11 07:35:26 +02:00
clanmills
c22a38cfb4 Fix for https://github.com/Exiv2/exiv2/issues/560 (eraseFamily() crashes in MSVC/Debug). 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
ac951622f4 Update DateTimeOriginal in NEF images 2018-11-06 19:28:11 +01:00
Luis Díaz Más
97379dec1d Add braces around try-catch block. Apply clang-format to the function. 2018-10-11 13:40:03 +02:00
Luis Díaz Más
4216dcd0c2 Fix cppcheck issues: knownConditionTrueFalse 2018-10-11 13:40:03 +02:00
Luis Díaz Más
b118192f94 Fix cppcheck issues: redundantAssignment 2018-10-11 13:40:03 +02:00
Luis Díaz Más
1871ce5acd Remove 'version.hpp' inclusion from places where it is not needed
By removing the inclusion from types.hpp we avoid lots of recompilation
of source files.
2018-09-14 07:43:21 +02:00
Luis Díaz Más
603692a1d8 Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
Luis Diaz Mas
a9c9451588 Remove localtime.c and any other trick to handle timegm 2018-08-27 13:33:02 +02:00
Luis Díaz Más
88ba920962 Extract out common code for two switch-cases into a function to fix warning
The warning was caused by -Wimplicit-fallthrough:
https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/

I also realized that the method printStructure was duplicated in the
classes Print and Erase. By moving the implementation to a free function
into the cpp file, I could remove the duplication in the code.
2018-05-31 14:44:24 +02:00
Luis Díaz Más
01a5d863ad Apply clang-format to Print::printMetadatum 2018-03-20 21:30:06 +01:00
Luis Díaz Más
45fe44aa2f Move condition in if statement to discard work earlier 2018-03-20 21:30:06 +01:00
Luis Díaz Más
d82b9434e1 Only print items (Params::prValue) when size > 0 2018-03-20 21:30:06 +01:00
Luis Díaz Más
00f32316b2 Add missing header 2017-12-21 16:33:14 +01:00
Luis Díaz Más
14ff034fb4 Catch std::overflow_error exception in Print::run 2017-12-21 16:33:14 +01:00
tbeu
5b5987a596 Remove obsolete EXIV2_RCSID 2017-11-19 11:17:12 +01:00
tbeu
5df8b01b77 Remove obsolete svn revision 2017-11-19 11:17:11 +01:00
tbeu
849f416771 Avoid self-assignment 2017-11-04 21:01:35 +01:00
Luis Díaz Más
93bbf0cab1 Merge pull request #104 from piponazo/removeCpp11Feature
Remove cpp11 features
2017-10-06 05:40:39 +02:00
Luis Díaz Más
5b8894908b Remove all references to EXV_HAVE_REGEX and related code 2017-10-04 19:27:01 +02:00
A. Wilcox
d775683f57
Amend fix for #9 to apply to other Unix systems
At least the musl libc on Linux has the same issue as Mac OS X: the
PTHREAD_RECURSIVE_* static initialiser does not exist.  This is a
documented and purposeful omission:

http://www.openwall.com/lists/musl/2017/02/20/3

This commit uses similar logic to the Apple test on other Unixes.
2017-10-04 00:17:48 -05:00
clanmills
2828b11cf7 Build changes to support EXV_HAVE_REGEX and EXV_HAVE_REGEX_H 2017-09-11 16:09:24 +01:00
clanmills
935421c855 Refactoring autotools to support ADOBE_XMPSDK (Work in Progress) 2017-08-15 20:00:09 +01:00
Robin Mills
8592c10a3e Merge pull request #21 from piponazo/configFileFromCMake
New way to generate the include/exiv2/exv_conf.h file
2017-08-09 22:26:05 +01:00
clanmills
011f2b5259 Fixing bug in test harness on Linux. 2017-08-09 12:55:04 +01:00
Luis Diaz Mas
22efdffd1d Use #ifdef instead of #if for EXV_HAVE_REGEX 2017-08-08 22:15:17 +02:00
Robin Mills
b8bbacd196 Fix submitted. https://github.com/Exiv2/exiv2/issues/10
This is not a good fix because temporaryFile() is a bad idea and requires a lock to be thread safe.  However, the lock is in the sample code and not in the library.  I considered in v0.26 to rewrite this to use a temporary (MemIo) file and decided against that to save time.  My sin.  The correct fix usually requires less effort in the long run.
2017-06-29 23:26:01 +01:00
clanmills
620ef04e96 https://github.com/Exiv2/exiv2/issues/9 Fix submitted. 2017-06-20 20:41:30 +01:00
Robin Mills
6d5c2c3256 Getting ready to release v0.26 2017-03-08 20:42:28 +00:00
Robin Mills
2ebacb6b0b #1272 Use in-memory temporary files. 2017-03-05 17:42:12 +00:00
Robin Mills
9f06ff2971 #1272 Submitting modified version of Ben's patch. 2017-02-15 20:53:58 +00:00
Robin Mills
b1a9d4493f #1230 Eliminate linux compiler warning. 2016-09-29 16:31:34 +00:00
Robin Mills
b0ff549cb7 #1230 Correction to r4565 to fix msvc build breaker. 2016-09-26 20:12:20 +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
e808cdff3e #1109 MinGW/32. Correction to r4543 for systems which are neither MINGW nor MSVC 2016-09-22 23:22:40 +00:00
Robin Mills
66cfbe3214 #1109 MinGW/32. Correction to r4543 for systems which are neither MINGW nor MSVC 2016-09-22 23:06:39 +00:00
Robin Mills
c78a76c45c #1109 MinGW/32. Correction to r4538 for all versions of msvc. 2016-09-22 22:46:44 +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
52f0bd2ea1 #1109 Work in Progress on MinGW/32. Put stdout into binary mode for options -pC -pX, -eABC-, -eABC- 2016-09-22 14:34:01 +00:00
Robin Mills
f2ec4ce36a #1074 Work in progress. fixed pngimage.cpp doWriteMetadata(). 2016-09-15 12:20:51 +00:00
Robin Mills
7bd874049e #1074 Work in progress. -eC -pC -eC- work for JPG/PNG/TIFF/WEBP. pngimage::doWriteMetadata() does not update iCCP chunk. 2016-09-14 20:25:21 +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