Dan Fandrich [Thu, 22 Jan 2009 07:27:57 +0000 (23:27 -0800)]
Reduce the recursion limit
Dan Fandrich [Wed, 21 Jan 2009 00:27:41 +0000 (16:27 -0800)]
Fix an endless loop that occurs when the compiler makes enums less than the
width of an int. This occurs with Open Watcom C and gcc with the -fshort-enums
option.
Dan Fandrich [Wed, 21 Jan 2009 00:09:44 +0000 (16:09 -0800)]
Tie the IFD table to the IFD enum to force the two to stay in sync at compile
time.
Dan Fandrich [Tue, 20 Jan 2009 20:40:07 +0000 (12:40 -0800)]
Removed some commented-out debug code.
Jan Patera [Sun, 18 Jan 2009 09:56:01 +0000 (10:56 +0100)]
Minor optimizations, fixing some 64-bit warnings
Jan Patera [Sun, 18 Jan 2009 09:38:29 +0000 (10:38 +0100)]
Consistency: all tag titles are capitalized
Jan Patera [Sun, 18 Jan 2009 09:36:38 +0000 (10:36 +0100)]
InteroperabilityIndex, InteroperabilityVersion & MaxApertureValue are now localizable
Dan Fandrich [Fri, 16 Jan 2009 07:32:18 +0000 (23:32 -0800)]
Changed a data type from short to long in the last submission.
Replaced all C99-style // comments with ANSI C comments.
Dan Fandrich [Fri, 16 Jan 2009 07:07:23 +0000 (23:07 -0800)]
Interpret more Sanyo MakerNote tags
Dan Fandrich [Wed, 14 Jan 2009 09:22:22 +0000 (01:22 -0800)]
Added some more Olympus/Sanyo image quality descriptions
Dan Fandrich [Wed, 14 Jan 2009 08:46:44 +0000 (00:46 -0800)]
Added descriptions for the remaining Pentax MakerNote tags.
Dan Fandrich [Wed, 14 Jan 2009 07:56:52 +0000 (23:56 -0800)]
Fixed a bug where Pentax v2 & v3 MakerNotes were indicated as being v1
internally. This turned out to be harmless because Pentax MakerNotes
cannot currently be saved.
Added logging during MakerNote parsing.
Dan Fandrich [Wed, 14 Jan 2009 07:22:14 +0000 (23:22 -0800)]
Uncomment this to fix a problem with Sanyo MakerNotes. It's probably best
not to in most cases because it seems to only affect the thumbnail tag
which is duplicated in IFD 1, and fixing the offset could actually cause
problems with other software that expects the broken form.
Also, don't log such detected corruption with EXIF_LOG_CODE_CORRUPT_DATA
as the exif front-end currently aborts when it gets such logs. It might be
better to change that behaviour of the front-end instead.
Dan Fandrich [Wed, 14 Jan 2009 06:31:18 +0000 (22:31 -0800)]
Log a message when corrupted MakerNotes are found for Canon and Fuji
Dan Fandrich [Wed, 14 Jan 2009 06:27:35 +0000 (22:27 -0800)]
Added the TIFF tag TimeZoneOffset which was spotted in an EXIF file in the
wild. It's marked as EXIF_SUPPORT_LEVEL_UNKNOWN but that's enough to
convince libexif not to drop it when rewriting the EXIF tags.
Dan Fandrich [Tue, 13 Jan 2009 08:26:41 +0000 (00:26 -0800)]
Added support for Epson MakerNotes, which have the identical
tag format and namespace of the Olympus ones.
Dan Fandrich [Tue, 13 Jan 2009 02:36:59 +0000 (18:36 -0800)]
Added missing support level tags for a bunch of EXIF tags to mark them
as optional in the EXIF IFD.
Dan Fandrich [Tue, 13 Jan 2009 01:48:39 +0000 (17:48 -0800)]
Log when a subsidiary IFD (EXIF, GPS, Interoperability, thumbnail) is found
Dan Fandrich [Tue, 13 Jan 2009 01:46:13 +0000 (17:46 -0800)]
Fixed the interpretation of some tags as being optional in IFD 1
(to match the EXIF 2.2 spec) which stops them from being erroneously removed
from a file
Dan Fandrich [Fri, 9 Jan 2009 05:26:15 +0000 (21:26 -0800)]
Jan Patera pointed out that referencing appendices, tables and sections of the
EXIF spec within the tag descriptions didn't make much sense.
Dan Fandrich [Fri, 9 Jan 2009 05:03:16 +0000 (21:03 -0800)]
Fixed a typo in the EXIF_TAG_GPS_DEST_DISTANCE_REF tag description (thanks
to Jan Patera for catching it).
Dan Fandrich [Wed, 7 Jan 2009 07:28:43 +0000 (23:28 -0800)]
libexif/exif-tags.c: Added remaining GPS tags from the EXIF 2.2
spec to the tag table.
Dan Fandrich [Sat, 3 Jan 2009 08:19:20 +0000 (00:19 -0800)]
Updated Doxygen comments
Dan Fandrich [Sat, 3 Jan 2009 08:17:37 +0000 (00:17 -0800)]
contrib/examples/photographer.c: Added example program to show how
to display EXIF and MakerNote tags
Dan Fandrich [Tue, 23 Dec 2008 08:33:55 +0000 (00:33 -0800)]
Changed a few comments
Dan Fandrich [Tue, 23 Dec 2008 08:24:46 +0000 (00:24 -0800)]
Fixed bug #1946138 to stop ignoring CFLAGS in the sqrt configure test
Dan Fandrich [Tue, 23 Dec 2008 04:56:03 +0000 (20:56 -0800)]
po/vi.po: Updated Vietnamese translation by Clytie Siddall
Dan Fandrich [Thu, 11 Dec 2008 07:08:49 +0000 (23:08 -0800)]
Improved documentation
Dan Fandrich [Thu, 11 Dec 2008 06:57:41 +0000 (22:57 -0800)]
A couple problems with corrupted Olympus-style MakerNote tags are fixed.
First, corrupted MakerNote tags are dropped instead of causing the tag
to be filled with garbage data. Second, a bug in some Sanyo cameras
causes the MNOTE_OLYMPUS_TAG_THUMBNAILIMAGE data offset to be stored
as an absolute offset in the file instead of relative to the IFD. An
attempt is now made to detect and work around this problem.
Jan Patera [Wed, 10 Dec 2008 10:57:23 +0000 (11:57 +0100)]
Eliminated unreferenced variable
Dan Fandrich [Fri, 5 Dec 2008 20:52:53 +0000 (12:52 -0800)]
Fixed interpretation of the Olympus MNOTE_OLYMPUS_TAG_MODE tag
Dan Fandrich [Fri, 5 Dec 2008 07:08:43 +0000 (23:08 -0800)]
Made a log entry translatable.
Dan Fandrich [Fri, 5 Dec 2008 07:07:17 +0000 (23:07 -0800)]
Improved Doxygen documentation.
Dan Fandrich [Tue, 2 Dec 2008 19:59:03 +0000 (11:59 -0800)]
Enabled QT_AUTOBRIEF to automatically produce function summaries.
Removed an obsolete Doxygen entry.
Dan Fandrich [Thu, 27 Nov 2008 06:54:45 +0000 (22:54 -0800)]
Improved Doxygen documentation.
Dan Fandrich [Tue, 25 Nov 2008 18:54:43 +0000 (10:54 -0800)]
po/sk.po: Updated Slovak translation by Ivan Masár
Dan Fandrich [Tue, 25 Nov 2008 09:30:38 +0000 (01:30 -0800)]
Added Doxygen documentation
Dan Fandrich [Sat, 22 Nov 2008 07:08:56 +0000 (23:08 -0800)]
Added Doxygen comments for the main API entry points and data
structures
Dan Fandrich [Wed, 19 Nov 2008 08:14:44 +0000 (00:14 -0800)]
Document that libexif is now thread safe (when used appropriately).
Also, clarify the string encoding issue since gettext takes care of converting
strings into the appropriate locale's encoding.
Dan Fandrich [Wed, 19 Nov 2008 08:11:11 +0000 (00:11 -0800)]
Ignore the generated makefiles
Dan Fandrich [Wed, 19 Nov 2008 06:23:11 +0000 (22:23 -0800)]
The code for Swedish is sv, not se
Dan Fandrich [Wed, 19 Nov 2008 06:19:10 +0000 (22:19 -0800)]
Cleaned up the code a bit
Dan Fandrich [Tue, 18 Nov 2008 23:41:35 +0000 (15:41 -0800)]
Made a static table const
Dan Fandrich [Tue, 18 Nov 2008 20:48:53 +0000 (12:48 -0800)]
Mention example programs, libexif-gtk, autoreconf
Dan Fandrich [Tue, 18 Nov 2008 20:42:13 +0000 (12:42 -0800)]
contrib/examples/*: Added a couple of simple example programs
to show how to use libexif. One was written by Naysawn Naderi
and the other one I wrote. Closes bug #1246824.
Dan Fandrich [Tue, 18 Nov 2008 20:28:37 +0000 (12:28 -0800)]
po/nl.po: Updated Dutch translation by Erwin Poeze
po/pl.po: Updated Polish translation by Jakub Bogusz
Dan Fandrich [Tue, 18 Nov 2008 10:15:50 +0000 (02:15 -0800)]
libexif/exif-entry.c & configure.ac: use localtime_r when available
to be more thread safe
Dan Fandrich [Tue, 18 Nov 2008 09:42:58 +0000 (01:42 -0800)]
Internalized some strings into a const struct to make it smaller and
reduce the amount of run-time linking required
Dan Fandrich [Thu, 6 Nov 2008 08:38:46 +0000 (00:38 -0800)]
Prepare for development of the next release
Dan Fandrich [Thu, 6 Nov 2008 08:33:45 +0000 (00:33 -0800)]
Prepare for 0.6.17 release
Dan Fandrich [Thu, 6 Nov 2008 08:14:17 +0000 (00:14 -0800)]
Save some bandwidth and use the .bz2 archive by default
Dan Fandrich [Thu, 6 Nov 2008 07:31:28 +0000 (23:31 -0800)]
Removed some bogus Doxygen comments
Dan Fandrich [Thu, 6 Nov 2008 07:19:26 +0000 (23:19 -0800)]
libexif.spec.in: changed default release number to 1; added NEWS,
AUTHORS and COPYING files to package; moved libexif.so file to -devel
package; corrected license to LGPL
Dan Fandrich [Thu, 6 Nov 2008 06:54:50 +0000 (22:54 -0800)]
Added contrib/watcom/ directory to the source tarball now that
Jan Patera brought it up-to-date.
Dan Fandrich [Thu, 6 Nov 2008 06:49:23 +0000 (22:49 -0800)]
This file isn't generated by autoconf, it's checked in to CVS
Dan Fandrich [Thu, 6 Nov 2008 01:38:00 +0000 (17:38 -0800)]
Czech translation is no longer done through translationproject.org
Dan Fandrich [Wed, 5 Nov 2008 19:16:03 +0000 (11:16 -0800)]
po/de.po: Updated German translation by Marcus Meissner
Jan Patera [Wed, 5 Nov 2008 07:30:42 +0000 (08:30 +0100)]
1) Added fuji makernote support
2) fixed CR/LF
Dan Fandrich [Wed, 5 Nov 2008 07:29:53 +0000 (23:29 -0800)]
Moved aolserver/* to contrib/aolserver/* (these files have gone untouched
since 2002)
Dan Fandrich [Wed, 5 Nov 2008 07:21:42 +0000 (23:21 -0800)]
Document the camera types for which maker notes are supported
Dan Fandrich [Wed, 5 Nov 2008 07:20:29 +0000 (23:20 -0800)]
Updated non-translationproject.org translations ru and en_CA to latest
.pot file.
Dan Fandrich [Tue, 4 Nov 2008 23:17:06 +0000 (15:17 -0800)]
Removed .cvsignore file since the rest of the directory is empty
Dan Fandrich [Tue, 4 Nov 2008 15:20:13 +0000 (07:20 -0800)]
This is actually the libexif project...
Dan Fandrich [Tue, 4 Nov 2008 07:19:04 +0000 (23:19 -0800)]
Fixed typo
Dan Fandrich [Tue, 4 Nov 2008 07:18:06 +0000 (23:18 -0800)]
Expanded the Building section
Dan Fandrich [Mon, 3 Nov 2008 20:46:46 +0000 (12:46 -0800)]
Include sys/types.h to make sure ssize_t is defined (required for Open Watcom C)
Jan Patera [Mon, 20 Oct 2008 07:52:43 +0000 (09:52 +0200)]
Please don't crash in mnote_pentax_tag_get_description & mnote_olympus_tag_get_description
on unknown tags.
Jan Patera [Thu, 9 Oct 2008 09:47:30 +0000 (11:47 +0200)]
Fixed interpretation of Auto ISO and Self-Timer entries
Jan Patera [Wed, 8 Oct 2008 05:23:37 +0000 (07:23 +0200)]
Patch by Aric Blumer <aricblumer@users.sourceforge.net>:
GPS tags EXIF_TAG_GPS_IMG_DIRECTION_REF and EXIF_TAG_GPS_IMG_DIRECTION are now recognized
Jan Patera [Sat, 4 Oct 2008 11:45:17 +0000 (13:45 +0200)]
Added fixed bug number 2071600.
Jan Patera [Sat, 4 Oct 2008 11:36:09 +0000 (13:36 +0200)]
2008-10-04 Jan Patera <patera@users.sourceforge.net>
* libexif/olympus/exif-mnote-data-olympus.c: bug #,
gnome Bug #549029: Original v1 Nikon makernotes
are always parsed using MM order, regardless of
main EXIF data word order.
2008-10-04 Louis Strous <louis_strous@users.sourceforge.net>
* libexif/exif-loader.c: DHT & DQT markers are now properly
skipped when searching for APP1 marker in JPEG stream.
Apparently such files are created by Gisteq PhotoTrackr SW
used to add GPS tags.
Jan Patera [Sat, 4 Oct 2008 11:31:27 +0000 (13:31 +0200)]
Heuristic fix of bug #2071600 and gnome Bug #549029:
Corrupted Nikon D1H file resaved in II order with original v1 makernote in MM order.
Original v1 makernotes are always in MM order. Such makernotes are now always
expected to be in MM order (the way we detect this makernote version ensures it really
is in the MM order), regardless of the parent exif data order.
Jan Patera [Sat, 4 Oct 2008 11:22:29 +0000 (13:22 +0200)]
Patch by Louis Strous:
DQT and DHT markers before APP1 marker were making libexif refusing images
and claiming there is no EXIF data present.
Both makers are now properly skipped.
Marcus Meissner [Thu, 2 Oct 2008 06:15:50 +0000 (08:15 +0200)]
Replaced unsigned int by size_t in some places
Added some checks on sizes, makernotes shouldn't
be larger than 64kb.
Dan Fandrich [Thu, 4 Sep 2008 19:38:43 +0000 (12:38 -0700)]
po/nl.po: Updated Dutch translation by Erwin Poeze
Jörg Hoh [Sat, 26 Jul 2008 20:15:30 +0000 (22:15 +0200)]
gracefully return 0 when the name has not been found
Jan Patera [Sat, 26 Jul 2008 16:06:49 +0000 (18:06 +0200)]
Hopefully finally correct ;-)
Marcus Meissner [Sat, 26 Jul 2008 14:26:43 +0000 (16:26 +0200)]
do not memmove if i was the last slot, since it
is already gone (and we get -1*sizeof(ExifEntry*)
as size)
Jan Patera [Sat, 26 Jul 2008 07:56:45 +0000 (09:56 +0200)]
exif_content_remove_entry:
1) don't unref entry that was not removed from entries
2) don't reorder entries if removal fails
3) use memmove and not memcpy, the latter is not safe for overlapping buffers
P.S. Aren't we paranoic with expecting realloc to a slightly smaller buffer to fail???
Marcus Meissner [Fri, 25 Jul 2008 21:25:58 +0000 (23:25 +0200)]
handle the case where we realloc to 0 entries,
triggered for instance by GIMP or EOG which clean their data.
Jan Patera [Fri, 27 Jun 2008 11:19:16 +0000 (13:19 +0200)]
Avoid compiler warning - use the correct type
Jan Patera [Fri, 27 Jun 2008 07:42:16 +0000 (09:42 +0200)]
Fixed typo
Jan Patera [Thu, 26 Jun 2008 19:19:49 +0000 (21:19 +0200)]
Better support for MNOTE_OLYMPUS_TAG_FLASHDEVICE,
MNOTE_OLYMPUS_TAG_SENSORTEMPERATURE, MNOTE_OLYMPUS_TAG_LENSTEMPERATURE
(Olympus E10, E20, u20D)
Lutz Mueller [Mon, 23 Jun 2008 18:12:45 +0000 (20:12 +0200)]
2008-06-23 Lutz Mueller <lutz@users.sourceforge.net>
Patch by Mika Raento <mikie@google.com>:
* libexif/exif-loader.c: (exif_loader_free) Don't forget the logger.
Lutz Mueller [Sun, 15 Jun 2008 15:41:44 +0000 (17:41 +0200)]
2008-06-15 Lutz Mueller <lutz@users.sourceforge.net>
* configure.ac: Revert previous commit
* po/zh_CN.po: Remove.
* po/[sk,vi].po: Revert.
Lutz Mueller [Sun, 15 Jun 2008 14:29:05 +0000 (16:29 +0200)]
2008-06-15 Lutz Mueller <lutz@users.sourceforge.net>
* configure.ac: New po-file: zh_CN
* po/zh_CN.po: New
* po/[sk,vi].po: Updated.
Marcus Meissner [Tue, 6 May 2008 07:59:56 +0000 (09:59 +0200)]
exif_content removal
Marcus Meissner [Tue, 6 May 2008 07:58:13 +0000 (09:58 +0200)]
added a safety net in content_remove, so we do not loop
endless. Fixes a problem caused by EOG on certain JPEG files.
Dan Fandrich [Tue, 8 Apr 2008 17:32:22 +0000 (10:32 -0700)]
Updated Slovak translation from Ivan Masár
Dan Fandrich [Thu, 3 Apr 2008 17:29:48 +0000 (10:29 -0700)]
po/sk.po: Updated Slovak translation by Ivan Masár
Jan Patera [Fri, 22 Feb 2008 07:06:11 +0000 (08:06 +0100)]
Match remembered buffer size to really allocated size
Lutz Mueller [Wed, 20 Feb 2008 19:02:26 +0000 (20:02 +0100)]
2008-02-20 Lutz Mueller <lutz@users.sourceforge.net>
Follow-up on #1774591:
* libexif/exif-data.c: (exif_data_save_data_content) Remove check for
now impossible NULL value.
Lutz Mueller [Sun, 17 Feb 2008 18:31:57 +0000 (19:31 +0100)]
2008-02-17 Lutz Mueller <lutz@users.sourceforge.net>
Fix #1865046:
* COPYING:
* libexif/...: Use 'ue' instead of some strange German character.
Lutz Mueller [Sun, 17 Feb 2008 18:08:00 +0000 (19:08 +0100)]
2008-02-17 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-loader.c: (exif_loader_get_data) Return NULL if no
EXIF data has been found.
Lutz Mueller [Sat, 16 Feb 2008 19:11:41 +0000 (20:11 +0100)]
2008-02-16 Lutz Mueller <lutz@users.sourceforge.net>
Jan Patera <patera@pictview.com> spotted a problem with my last fix
for #1774591:
* libexif/exif-content.c: (exif_content_remove_entry) Recover
correctly in case of error by remembering the original size of the
realloc'ed data.
* libexif/exif-data.c: (exif_data_save_data_entry),
(exif_data_save_data_content) Same here.
* libexif/canon/exif-mnote-data-canon.c:
(exif_mnote_data_canon_save), (exif_mnote_data_canon_load) Same here.
* libexif/fuji/exif-mnote-data-fuji.c:
(exif_mnote_data_fuji_save), (exif_mnote_data_fuji_load) Same here.
* libexif/olympus/exif-mnote-data-olympus.c:
(exif_mnote_data_olympus_save) Same here.
Lutz Mueller [Fri, 15 Feb 2008 04:38:32 +0000 (05:38 +0100)]
2008-02-15 Lutz Mueller <lutz@users.sourceforge.net>
* Changelog
* README: use 'ue' instead of some stange German character.
Lutz Mueller [Thu, 14 Feb 2008 19:20:22 +0000 (20:20 +0100)]
2008-02-14 Lutz Mueller <lutz@users.sourceforge.net>
Fix #1774591 (partially):
* libexif/exif-content.c: (exif_content_remove_entry) Check the
return value of exif_mem_realloc.
* libexif/exif-data.c: (exif_data_save_data_entry),
(exif_data_save_data_content) Same here.
* libexif/canon/exif-mnote-data-canon.c:
(exif_mnote_data_canon_save), (exif_mnote_data_canon_load) Same here.
* libexif/fuji/exif-mnote-data-fuji.c:
(exif_mnote_data_fuji_save), (exif_mnote_data_fuji_load) Same here.
* libexif/olympus/exif-mnote-data-olympus.c:
(exif_mnote_data_olympus_save) Same here.
Lutz Mueller [Thu, 14 Feb 2008 18:52:29 +0000 (19:52 +0100)]
2008-02-14 Lutz Mueller <lutz@users.sourceforge.net>
Fix #1884609 (partially):
* libexif/exif-entry.c: (exif_entry_initialize) Initialize
EXIF_TAG_FLASH and EXIF_TAG_COLOR_SPACE.
Dan Fandrich [Sun, 10 Feb 2008 06:12:54 +0000 (22:12 -0800)]
Fixed an out of memory handling issue.
Dan Fandrich [Fri, 1 Feb 2008 23:14:50 +0000 (15:14 -0800)]
Fixed an error checking weakness reported in bug #1536244. It looks like
that particular bug was actually solved earlier, but this doesn't hurt.