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.
Dan Fandrich [Thu, 31 Jan 2008 08:25:34 +0000 (00:25 -0800)]
GNU gettext behaves strangely when given an empty string, so make sure
not to do that.
Dan Fandrich [Fri, 25 Jan 2008 03:51:30 +0000 (19:51 -0800)]
Make sure a buffer is NUL-terminated even in an error condition.
Dan Fandrich [Thu, 24 Jan 2008 22:35:06 +0000 (14:35 -0800)]
Bring Czech translation in line with the newly-submitted
translationproject.org version.
Dan Fandrich [Thu, 24 Jan 2008 21:45:35 +0000 (13:45 -0800)]
Make sure to initialize every tag entry to something sane, even if the specific
tag isn't known.
Dan Fandrich [Thu, 24 Jan 2008 18:45:22 +0000 (10:45 -0800)]
Added Internationalization section.
Dan Fandrich [Thu, 24 Jan 2008 01:16:27 +0000 (17:16 -0800)]
Mention the security fixes.
Dan Fandrich [Thu, 24 Jan 2008 00:43:48 +0000 (16:43 -0800)]
Updated nl translation by Freek de Kruijf.
Enabled nl and sv translations in configure.ac
Marcus Meissner [Wed, 9 Jan 2008 13:19:41 +0000 (14:19 +0100)]
Fixed rounding of exposure time to match better.
(Patch from Thorsten Kukuk, https://bugzilla.novell.com/show_bug.cgi?id=223752)
Lutz Mueller [Thu, 27 Dec 2007 16:22:57 +0000 (17:22 +0100)]
2007-12-27 Lutz Mueller <lutz@users.sourceforge.net>
Suggestion by Andreas Kleinert <Andreas_Kleinert@gmx.de>:
* libexif/exif-entry.c: (exif_entry_get_value) Use %lf for double
instead of %f (which is for float).
Lutz Mueller [Fri, 21 Dec 2007 09:15:51 +0000 (10:15 +0100)]
Skip some more files.
Lutz Mueller [Thu, 20 Dec 2007 18:19:07 +0000 (19:19 +0100)]
2007-12-20 Lutz Mueller <lutz@users.sourceforge.net>
Updated translations by Translation Project Robot
<robot@translationproject.org>:
* po/[vi,pl].po: Updated files.
Lutz Mueller [Tue, 18 Dec 2007 20:18:22 +0000 (21:18 +0100)]
2007-12-18 Lutz Mueller <lutz@users.sourceforge.net>
Dan Fandrich <dan@coneharvesters.com> pointed out the following:
* configure.ac: Keep gettext requirement as low as 0.14.1.
gettextize changes it automatically to 0.17, but as long as we don't
know why, there is no need to enforce this version.
Lutz Mueller [Sun, 16 Dec 2007 16:59:30 +0000 (17:59 +0100)]
2007-12-16 Lutz Mueller <lutz@users.sourceforge.net>
Marcus Meissner <marcus@jet.franken.de> pointed out the following:
* libexif/exif-data.c: (exif_data_load_data_thumbnail) ExifLong is
unsigned. Therefore no need to check for negative values. Check for
sane offset instead.
Jan Patera [Sat, 15 Dec 2007 16:56:27 +0000 (17:56 +0100)]
Some items did not get translated
Jan Patera [Sat, 15 Dec 2007 16:51:13 +0000 (17:51 +0100)]
Updated Czech translation
Jan Patera [Sat, 15 Dec 2007 16:47:47 +0000 (17:47 +0100)]
Some items did not get translated
Jan Patera [Sat, 15 Dec 2007 16:42:15 +0000 (17:42 +0100)]
Some items did not get translated
Lutz Mueller [Sat, 15 Dec 2007 07:56:35 +0000 (08:56 +0100)]
2007-12-15 Lutz Mueller <lutz@users.sourceforge.net>
* po/*.po: Updated po-files.
* libexif/exif-data.c: (exif_data_load_data_thumbnail) guard against
negative size (in addition to negative offset), too.
Lutz Mueller [Fri, 14 Dec 2007 20:32:35 +0000 (21:32 +0100)]
2007-12-14 Lutz Mueller <lutz@users.sourceforge.net>
Bug pointed out by Meder Kydyraliev, Google Security Team:
* libexif/exif-data.c: (exif_data_load_data_thumbnail) Ignore bugus
data.
Lutz Mueller [Fri, 14 Dec 2007 20:06:32 +0000 (21:06 +0100)]
2007-12-14 Lutz Mueller <lutz@users.sourceforge.net>
* README: Point users to some tools needed to build libexif.
* configure.ac: It looks like po/Makefile.in is already registered
with AC_CONFIG_FILES (whatever this means).
Lutz Mueller [Fri, 14 Dec 2007 19:53:53 +0000 (20:53 +0100)]
2007-12-14 Lutz Mueller <lutz@users.sourceforge.net>
Bug pointed out by Meder Kydyraliev, Google Security Team:
* libexif/exif-loader.c: (exif_loader_write) Ignore buffers of
zero length.
Dan Fandrich [Fri, 14 Dec 2007 08:38:28 +0000 (00:38 -0800)]
Enabled i18n on Fuji files and updated en_CA translation.
Dan Fandrich [Fri, 14 Dec 2007 08:28:33 +0000 (00:28 -0800)]
Fixed a couple of typos
Hans Ulrich Niedermann [Fri, 7 Dec 2007 12:43:56 +0000 (13:43 +0100)]
There is no separate LOCALEDIR for mnotes
This fixes the build failure in the fuji mnotes.
Jan Patera [Fri, 7 Dec 2007 09:13:49 +0000 (10:13 +0100)]
Added support for Fuji makernotes
Jan Patera [Fri, 7 Dec 2007 08:46:49 +0000 (09:46 +0100)]
Added support for Fuji makernotes
Dan Fandrich [Fri, 7 Dec 2007 01:08:48 +0000 (17:08 -0800)]
Added more quality types. Removed redundant table entry.
Dan Fandrich [Wed, 14 Nov 2007 05:27:19 +0000 (21:27 -0800)]
* Added support for a new macro NO_VERBOSE_TAG_DATA to allow
some size reduction but still retain the ability to properly
interpret each tag.
* Added an end-of-table marker in the Canon color_information
makernote table that could otherwise potentially cause a crash
on a bad image.
Jan Patera [Tue, 13 Nov 2007 07:30:12 +0000 (08:30 +0100)]
Various minor fixes and improvements
Dan Fandrich [Tue, 13 Nov 2007 02:31:23 +0000 (18:31 -0800)]
* Added support for more Olympus makernotes, based on data on
Phil Harvey's ExifTool page at
http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/
and sanity checked by the pel-images in the libexif test suite.
* Added support for Sanyo makernotes, which have the identical
tag format and (so it seems) namespace of the Olympus tags.
Dan Fandrich [Sat, 10 Nov 2007 08:02:33 +0000 (00:02 -0800)]
Added support for Sanyo makernotes, which are identical to Olympus
Dan Fandrich [Fri, 9 Nov 2007 22:21:56 +0000 (14:21 -0800)]
Clarified the help message for POPT_LIBS
Dan Fandrich [Fri, 9 Nov 2007 21:47:05 +0000 (13:47 -0800)]
Show a generic message for all unknown, undefined data.
Dan Fandrich [Thu, 8 Nov 2007 21:43:27 +0000 (13:43 -0800)]
* Added Canadian English translation, eh?
Dan Fandrich [Thu, 8 Nov 2007 06:45:30 +0000 (22:45 -0800)]
Be consistent and call it "color space" (two words).
Dan Fandrich [Wed, 7 Nov 2007 06:53:20 +0000 (22:53 -0800)]
Renamed EXIF_TAG_UNKNOWN_C4A5 to EXIF_TAG_PRINT_IMAGE_MATCHING
The PIM entry seems to have a format consisting of an 8 byte
magic number, 6 byte version number, 2 byte record count field,
then a series of 6 byte records consisting of a 2 byte tag field
and an 4 byte data field.
Jan Patera [Thu, 1 Nov 2007 06:39:02 +0000 (07:39 +0100)]
1) Fixed typos
2) Synchronized capitalization
3) Updated Czech translation
Dan Fandrich [Tue, 30 Oct 2007 06:45:23 +0000 (23:45 -0700)]
When NO_VERBOSE_TAG_STRINGS is used, don't set
EXIF_DATA_OPTION_IGNORE_UNKNOWN_TAGS by default or else no tags at all will
be loaded. Also, properly terminate the ExifTagTable.
Dan Fandrich [Tue, 30 Oct 2007 05:03:05 +0000 (22:03 -0700)]
* Support compiling away the detailed tag tables and log messages when
the NO_VERBOSE_TAG_STRINGS macro is defined to reduce the size of
the library for use in embedded applications where space is at
a premium
* Display the raw value of a tag when the tag is unknown
Dan Fandrich [Tue, 30 Oct 2007 04:15:15 +0000 (21:15 -0700)]
Fixed some typos in messages.
Dan Fandrich [Tue, 30 Oct 2007 03:23:29 +0000 (20:23 -0700)]
Fixed some typos in messages.
Made some structs const.
Dan Fandrich [Tue, 30 Oct 2007 02:46:54 +0000 (19:46 -0700)]
Moved the AM_PO_SUBDIRS macro before AM_GNU_GETTEXT to avoid an error
with gettext 0.16.1 and automake 1.10
Hans Ulrich Niedermann [Wed, 17 Oct 2007 02:58:49 +0000 (04:58 +0200)]
Handle installation of API docs with lots of long filenames
Jan Patera [Wed, 12 Sep 2007 06:03:31 +0000 (08:03 +0200)]
* Enhancements to Canon makernote parsers submitted by Thorsten Kukuk
* Added Dutch and Swedish translations, updated Slovak translation