Commit Graph

135 Commits

Author SHA1 Message Date
Dan Čermák
efe2ccdcb6 Replaced all hardcoded error codes with ker... constants 2018-02-18 09:28:57 +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
Robin Mills
6d5c2c3256 Getting ready to release v0.26 2017-03-08 20:42:28 +00:00
Andreas Huggel
fd80993ab0 Updated copyright notice. 2015-05-02 11:55:40 +00:00
Robin Mills
ce1d4cfc75 #1058. Calming the test suite. LangAltValue comparator causes harmless changes in order of lang reporting. 2015-04-20 18:07:25 +00:00
Robin Mills
f2986148b5 CID: 982053/4. Restore os format 2014-07-13 20:09:35 +00:00
Andreas Huggel
f09fceda6b Updated copyright year in a few files, version in runner.txt. 2013-12-01 12:13:42 +00:00
Andreas Huggel
8e325e1c32 #876: Reverted changes made with r2966, r2976 and r2973 and added a fix to only output characters up to the first \0 in ASCII values. 2013-10-06 14:04:48 +00:00
Robin Mills
a297d2b69e Rollback 3089 - somehow it's broken the build! 2013-07-24 05:05:52 +00:00
Robin Mills
da1ed8c536 Bumping the copyright notice in src &samples from 2012 to 2013 2013-07-24 03:12:38 +00:00
Robin Mills
e6e6d7b45c Issue: #876 Fix for Exiv.Canon.LensModel displaying garbage bytes. 2013-01-13 01:31:18 +00:00
Robin Mills
64ea16eb92 Issue: #876. Garbage in Exif.Canon.LensModel. Thanks to Markus for reporting this and providing test data. 2013-01-12 18:58:46 +00:00
Andreas Huggel
0d397b95c7 Updated copyright message for 2012. 2012-03-22 15:19:35 +00:00
Andreas Huggel
4fda7ac1e0 #799: Fixed type-determination for nested properties,
XmpBag::read: don't do anything if the string is empty,
      Added Iptc4xmpCore and Iptc4xmpExt as possible prefixes
2012-01-11 14:24:23 +00:00
Andreas Huggel
7770151915 Updated Copyright message for 2011. 2011-02-13 14:08:44 +00:00
Andreas Huggel
dc264bc00d #476, #614: Introduced class LogMsg for enhanced logging, migrated all existing warnings and error messages (not the exceptions) to use the new logic. Every log message now has a type (debug, info, warning, error). Applications can set a logging level to determine which messages are processed and supply a custom log message handler at runtime. (Based on a contribution by Simson Garfinkel.) 2010-09-10 14:02:09 +00:00
Andreas Huggel
238ab136ae #717: Retain TIFF IFD type when writing, removed unnecessary ValueType constructors. 2010-08-07 11:19:51 +00:00
Andreas Huggel
55ffbd9eb9 Added DoubleValue to deal with TIFF Double values (see #711). 2010-08-05 01:46:27 +00:00
Andreas Huggel
bc54748634 #711: Added FloatValue to deal with TIFF Float values. (Nice one! :) 2010-07-22 02:41:02 +00:00
Andreas Huggel
06ce0d18b6 - Introduced exiv2.hpp as a wrapper to include all Exiv2 objects. (Renamed existing exiv2.hpp to exiv2app.hpp)
- Changed Sony/Minolta pretty-print function to print EV value
- Renamed rcsid.hpp to rcsid_int.hpp, do not publish it anymore
2010-06-27 10:04:39 +00:00
Andreas Huggel
f821caf029 Another fix similar to r2073 and a minor conversion fix that was exposed by the former. 2010-04-14 16:17:55 +00:00
Andreas Huggel
6d496a4888 Updated Copyright notice for 2010. 2010-04-03 07:53:30 +00:00
Andreas Huggel
6c0ecf66fb #662: Added new option -n and action fixcom to exiv2 utility. 2010-02-12 15:37:28 +00:00
Andreas Huggel
0bc517b545 #662: Detect and interpret a BOM. 2010-01-20 12:07:40 +00:00
Andreas Huggel
e43a11f7b2 #662: Code tweak and updated expected test results. 2010-01-19 14:04:09 +00:00
Andreas Huggel
dab01e73e9 #662: Added CommentValue::detectCharset and an optional parameter for the encoding to CommentValue::comment(). 2010-01-15 11:29:55 +00:00
Andreas Huggel
41b3365ad1 #662: Charset conversion on read and write (and if needed on copy). 2010-01-14 16:54:57 +00:00
Andreas Huggel
3a76ca8ad7 #662: Mostly formatting changes and a few tweaks. Move exifcomment tests to bugfixes-test.sh 2010-01-12 16:29:10 +00:00
Andreas Huggel
52f8c366c2 #662: Patch exiv2-exifcomment-unicode.patch from Leo Sutic (unmodified, without exiv2-bug662.jpg). 2010-01-12 14:06:54 +00:00
Andreas Huggel
c5b1793ef7 Minor fix. (Fulvio Senore) 2010-01-02 01:15:28 +00:00
Andreas Huggel
370af5c8a3 Merged all changes from the unstable branch into the trunk. 2009-11-27 05:59:23 +00:00
Andreas Huggel
8a6d9dbc42 Updated Copyright notice for 2009. 2009-02-16 14:30:51 +00:00
Andreas Huggel
5ffbab1713 Added missing #includes for g++ 4.4 (Debian bug 505023, patch from Martin Michlmayr). 2008-11-13 12:28:20 +00:00
Andreas Huggel
7efd36d244 Removed trailing whitespace. 2008-11-05 15:23:49 +00:00
Andreas Huggel
27d9c0487f Added type tiffIfd, made decoding of OlympusCs tags work. 2008-09-19 15:26:57 +00:00
Andreas Huggel
667d10ef93 Removed inline functions from class hierarchies (Patrick Spendrin). 2008-09-17 15:25:11 +00:00
Andreas Huggel
8f167ee426 Improved/fixed Exif (TIFF) type handling. 2008-07-31 03:59:30 +00:00
Andreas Huggel
b759193273 Removed trailing whitespace. 2008-07-16 04:38:32 +00:00
Andreas Huggel
0d55992e2f Merged unstable branch to trunk. 2008-06-21 10:28:17 +00:00
Andreas Huggel
d1a305e30f Added LangAltValue::toString(const std::string&) to get the value for a specific language qualifier (suggested by Marco Piovanelli). 2008-05-01 08:22:26 +00:00
Andreas Huggel
e878166f0d Improved XMP value toLong, toFloat and toRational using new functions parseLong, parseFloat and parseRational. (Vladimir Nadvornik) 2008-03-05 07:45:16 +00:00
Andreas Huggel
3ac665a305 Added 2008 to Copyright notice. 2008-01-09 16:44:09 +00:00
Andreas Huggel
f51e7e0512 Added type keyword to XmpTextValue, added test with a command file that generates the same XMP packet as xmpsample. 2007-10-16 15:57:27 +00:00
Andreas Huggel
595665be33 Added reg command to utility, fixed set command to wrok better with XMP arrays, modified LangAlt write method to write default first, fixed registerNs bug. 2007-10-15 10:07:39 +00:00
Andreas Huggel
185ae8b8c0 #529, patch from Michal Cihar: Added Pentax makernote support (AOC\0 type). 2007-09-27 15:36:10 +00:00
Andreas Huggel
52ddfc5938 Minor cleanup (memset -> std::memset, memcpy -> std::memcpy). 2007-09-24 14:30:10 +00:00
Andreas Huggel
91c4dafbf9 Fixed compiler issues (gcc-4.3, msvc 7.1) 2007-09-24 06:33:17 +00:00
Andreas Huggel
9beec8880d Added XMP sample (incomplete), bugfixes. 2007-09-22 15:28:49 +00:00
Andreas Huggel
71c87ce89e Bugfixes for XMP array handling. 2007-09-20 18:17:57 +00:00
Andreas Huggel
a9fa6688bf Changed from xmpArray to xmpBag, xmpSeq and xmpAlt. 2007-09-20 13:34:48 +00:00
Andreas Huggel
97956266e6 Utility: Implemented modify action for XMP properties. Library: Bugfixes, tweaks. 2007-09-19 15:21:50 +00:00
Andreas Huggel
bc2fa9a4de Merged rev. 1198-1213 from branches/xmp. 2007-09-16 10:30:21 +00:00
Andreas Huggel
ac314ddfbc Intermediate state: Merged rev. 1153-1196 from branches/xmp. 2007-09-16 09:30:30 +00:00
Andreas Huggel
771738b475 Added includes required to compile with gcc 4.3 (prereleases) 2007-04-03 02:09:41 +00:00
Andreas Huggel
da6266da3b Copyright updates for 2007 2007-02-02 10:09:31 +00:00
Andreas Huggel
2c82879afe Added second attempt to parse an IPTC field into a string value, if parsing the actual type fails. Fixes bug #501. 2006-12-18 12:44:03 +00:00
Andreas Huggel
9daaaa3f6d Fixed compiler warnings 2006-06-21 09:16:36 +00:00
Andreas Huggel
8761340ed7 Check C-string pointer before using it. Fixes bug #456 2006-03-13 03:55:26 +00:00
Andreas Huggel
99b4e71459 Updated copyright and fsf address 2006-01-17 14:53:57 +00:00
Andreas Huggel
fc11d18013 Make sure the str argument to sscanf() is a 0 terminated C-string. Fixes Bug #447. 2005-12-10 10:36:36 +00:00
Andreas Huggel
c32e706c36 Changed Value::read() to return an int indicating success instead of throwing. Added Support for HHMMSS and H:M:S formats to TimeValue (assumes timezone is UTC). Fixes bug #440. 2005-10-08 11:34:32 +00:00
Andreas Huggel
06e5c0719e Removed trailing whitespace from source files 2005-10-08 11:25:44 +00:00
Andreas Huggel
1a2183c2ea This should fix 'unused parameter' warnings reported on Mac OS 10.4.1 Tiger / gcc4. To be confirmed. 2005-07-24 04:09:51 +00:00
Andreas Huggel
55aebc0686 Overhauled exception handling. The new class Error has a list of error messages, which is selected based on the error code provided in the constructor.
Image::read/writeMetadata and ImageFactory::open now throw Error in case of failure. Applications therefore now need an exception handler for the error handling of such function calls. This should result in shorter and simpler application code.
2005-04-17 11:51:32 +00:00
Andreas Huggel
8521dead83 Added 2005 to Copyright lines 2005-03-12 16:43:06 +00:00
Andreas Huggel
b8a7b77ade Removed void AsciiValue::read(const byte*, long, ByteOrder); instead use that of the baseclass, which does not add a trailing null.
Adding a null can cause a metacopy operation to write from metadata instead of simply copying the metadata.
2005-03-08 13:59:22 +00:00
Andreas Huggel
423825593c Added CommentValue 2005-01-16 13:48:52 +00:00
brad
6d3cb17189 right align output stream for date and time writes. bug #397 2004-11-13 10:06:30 +00:00
brad
77d3d5621a added subversion style keywords 2004-11-09 19:10:37 +00:00
Andreas Huggel
44d0deac92 Converted Value hierarchy to use std::auto_ptr where appropriate 2004-10-16 06:43:40 +00:00
Andreas Huggel
a25763d070 Replaced custom integer types with C99 types 2004-09-15 13:14:52 +00:00
Andreas Huggel
701f8fc9bc Minor change 2004-08-21 15:57:57 +00:00
Andreas Huggel
e3b114a9f5 Implemented StringValueBase and derived AsciiValue and StringValue from that 2004-08-16 09:30:37 +00:00
Andreas Huggel
166e6f7928 Added full IPTC read and write support (Brad, bs_3.patch) 2004-08-12 03:57:27 +00:00
Andreas Huggel
62de167ce7 Fixed DataValue read() and write() 2004-08-01 15:34:24 +00:00
Andreas Huggel
de0bb2246b Added IPTC tags and random fixes (Brad, bs_2.patch) 2004-08-01 14:55:05 +00:00
Andreas Huggel
9d72b7d1ec Revamped image and introduced byte* interface (Brad, bs_1.patch with minor modifications by ahu) 2004-07-26 08:11:38 +00:00
Andreas Huggel
34d27c8b0c Fixed MSVC errors and warnings (Steve, sking_3.patch with minor changes) 2004-06-04 02:36:39 +00:00
Andreas Huggel
0c14d79ad1 clone() of concrete a value returns a pointer to the actual type (relaxed return value) 2004-05-24 01:48:07 +00:00
Andreas Huggel
cbb1c15810 Changed namespace name Exif to Exiv2 2004-05-08 09:25:17 +00:00
Andreas Huggel
0a774bbe4d Change to invalidTypeId 2004-03-18 16:07:33 +00:00
Andreas Huggel
c1ff9cd64c Strip all trailing 0s in AsciiValue::write 2004-02-21 12:04:22 +00:00
Andreas Huggel
e97918b15f Added operator=, clarified documentation 2004-02-12 15:54:01 +00:00
Andreas Huggel
6749046e40 Divided exif.[ch]pp into components 2004-02-11 06:39:36 +00:00