Andreas Huggel
fcd7b2ca45
Fixed test whether data area is outside of the data buffer (partially tested).
2008-10-19 15:05:53 +00:00
Andreas Huggel
7b6652a910
Added ExifData pointer to Metadatum::write et al, added CanonCs.LensType and pretty-print function, changed exiv2 tool to use the new methods to print interpreted values (which allows it to refer to other metadata).
2008-10-17 14:34:29 +00:00
Andreas Huggel
ec1ea1fe80
#568 : Check for empty value when creating thumbnail and preventively also in a number of other places.
2008-09-05 14:49:44 +00:00
Andreas Huggel
b759193273
Removed trailing whitespace.
2008-07-16 04:38:32 +00:00
Andreas Huggel
8489cec20c
Filter unwanted tags in ExifParser::encode.
2008-06-26 15:35:16 +00:00
Andreas Huggel
de403e5933
Reinstated sortByKey and sortByTag.
2008-06-23 11:35:44 +00:00
HumanDynamo
fbf2b0281e
sortByKey is missing. just to fix linking. Still todo..
2008-06-22 19:47:34 +00:00
Andreas Huggel
0d55992e2f
Merged unstable branch to trunk.
2008-06-21 10:28:17 +00:00
Andreas Huggel
81ff0d6a7c
Fixed g++-4.3 errors and warnings.
2008-04-04 15:50:11 +00:00
Andreas Huggel
d8e6b51c69
Refactored op<< for Metadatum, introduced std::string Metadatum::print(). Fixes #474 .
2008-02-16 18:08:44 +00:00
Andreas Huggel
3ac665a305
Added 2008 to Copyright notice.
2008-01-09 16:44:09 +00:00
Andreas Huggel
3478a05df9
Tweak
2007-12-14 17:13:21 +00:00
Andreas Huggel
1e6db63ae9
#534 : Prevent integer overflow.
2007-12-14 17:05:53 +00:00
Andreas Huggel
52ddfc5938
Minor cleanup (memset -> std::memset, memcpy -> std::memcpy).
2007-09-24 14:30:10 +00:00
Andreas Huggel
ac314ddfbc
Intermediate state: Merged rev. 1153-1196 from branches/xmp.
2007-09-16 09:30:30 +00:00
Andreas Huggel
da6266da3b
Copyright updates for 2007
2007-02-02 10:09:31 +00:00
Andreas Huggel
687f9d9432
Added test for the type of the entries to decide if non-intrusive writing is possible. Fixes bug #452 .
2006-12-29 02:32:03 +00:00
Andreas Huggel
0723a62899
Removed trailing whitespace
2006-12-15 05:07:05 +00:00
Andreas Huggel
f381cb6966
Do not write TIFF header to JPEG images if the Exif data is empty. Fixes bug #498 .
2006-11-25 15:38:38 +00:00
Andreas Huggel
592ca5c711
Improved loading of JPEG data in case of problems. Existing Exif data is not modified until the new IFD0 is read successfully. Improved ExifData::clear()
2006-11-25 10:47:52 +00:00
Andreas Huggel
9daaaa3f6d
Fixed compiler warnings
2006-06-21 09:16:36 +00:00
Andreas Huggel
73c6be0749
Stripped trailing whitespace
2006-06-01 15:09:39 +00:00
Andreas Huggel
521cf5eb01
Added support for Minolta CameraSettings, part 2
2006-05-09 19:42:23 +00:00
Andreas Huggel
5b57a1749b
TIFF parser checkpoint (experimental): Improved CR2 support (changes in the TIFF structure table), added support for Jpeg thumbnails, enhanced TiffDirectory so that the next pointer is optional.
2006-04-23 08:05:55 +00:00
Andreas Huggel
1311ff7b10
Fixed buffer overflow in ExifData::load() when called with an empty buffer; marked the function as deprecated, as it will eventually disappear.
2006-04-10 12:23:49 +00:00
Andreas Huggel
ab10daa6d9
Removed trailing whitespace
2006-03-29 10:43:54 +00:00
Andreas Huggel
a1a5ff02b8
Fixed invalid type id for user comment tag, bug #451
2006-02-03 04:41:44 +00:00
Andreas Huggel
99b4e71459
Updated copyright and fsf address
2006-01-17 14:53:57 +00:00
Andreas Huggel
f4adc6528b
Changed Exif parser to skip broken Ifds if possible. Fixes bug #443 .
2005-11-12 17:10:47 +00:00
Andreas Huggel
8c623635e9
Changed hasMakerNote to return an IfdId instead of bool
2005-10-09 05:00:43 +00:00
Andreas Huggel
260b9af10b
Removed hasMakerNote() from ExifData and made it a free function. Added setting to generate an XML tagfile to Doxyfile.
2005-10-08 16:30:21 +00:00
Andreas Huggel
06e5c0719e
Removed trailing whitespace from source files
2005-10-08 11:25:44 +00:00
Andreas Huggel
489fff191d
Canon CRW read support, first try. Introduces a new approach to parsing metadata. Cluttered by some related additions to the Canon makernote note and a bit of cleanup.
2005-09-11 08:41:54 +00:00
Andreas Huggel
47aad1f393
Added experimental bool ExifData::hasMakerNote() method
2005-07-31 09:35:15 +00:00
Andreas Huggel
5823ceaff3
Changed Ifd::read() to allow it to access the complete Exif data buffer. Corresponding changes done to makernotes. Fixes bug #424 .
2005-07-31 08:50:09 +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
043a4a348b
Added #ifndef SUPPRESS_WARNINGS blocks around all output from the library: compile with -DSUPPRESS_WARNINGS for a quiet library
2005-07-09 10:38:09 +00:00
Andreas Huggel
7d3f50c244
Minor changes (moved inline functions which throw to *.cpp files)
2005-07-08 15:50:52 +00:00
Andreas Huggel
a70511cc4a
Changed MakerNoteFactory according to ImageFactory. Removes the need to link applications with mn.o. Fixes bug #427
2005-05-28 05:48:43 +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
90a707fa2e
Fixed bugs found on MinGW and with MSVC. iotest still misteriously fails.
2005-04-10 09:00:47 +00:00
Andreas Huggel
6a675f3d82
Added support for Canon Camera settings 1/2 and Custom Functions tags
2005-04-10 04:06:05 +00:00
Andreas Huggel
1f82dffcfa
Added type information to Exif tag tables. Updated comment example, documentation and tests. Implements feature #425
2005-03-26 17:25:52 +00:00
Andreas Huggel
adb618fcf9
More clean-up, updated component dependency graph
2005-03-19 14:56:47 +00:00
Andreas Huggel
2347ae9e0a
Cleaned up exif.hpp dependencies
2005-03-19 10:59:49 +00:00
Andreas Huggel
59e1a6f29f
Added an EXV_ prefix to precompiler defines (still not to all yet - I don't like the idea of "exv_size_t" or "exv_const" - but hopefully to those more likely to create conflicts). Fixes bug #420
2005-03-19 06:50:19 +00:00
Andreas Huggel
54a42fc1f7
Generalized and cleaned-up makernote handling
2005-03-13 12:52:56 +00:00
Andreas Huggel
8521dead83
Added 2005 to Copyright lines
2005-03-12 16:43:06 +00:00
Andreas Huggel
2a0149184a
Fixes and cosmetic changes; all tests now pass again, finally!
2005-03-12 10:54:52 +00:00
Andreas Huggel
8221293072
Completed ExifData assignment operator and copy constructor, added related code and tests. Fixes bug #417
2005-02-21 15:57:10 +00:00