Dan Fandrich [Wed, 30 Sep 2009 06:56:16 +0000 (23:56 -0700)]
Added EXIF_DATA_TYPE_UNKNOWN as a backwards-compatible
replacement for most uses of EXIF_DATA_TYPE_COUNT since that's
a clearer name for how it's being used.
Dan Fandrich [Tue, 29 Sep 2009 00:33:21 +0000 (17:33 -0700)]
Updated the FSF's address
Dan Fandrich [Mon, 28 Sep 2009 23:09:14 +0000 (16:09 -0700)]
Removed some redundant code. Renamed a variable to prevent shadowing another.
Dan Fandrich [Sun, 27 Sep 2009 04:48:56 +0000 (21:48 -0700)]
Sped up exif_content_fix() considerably by splitting the one giant
loop into two much smaller & faster loops.
Jan Patera [Sat, 26 Sep 2009 08:18:20 +0000 (10:18 +0200)]
Avoid compiler warning signed/unsigned int mismatch.
But do we really need the checks "if ((i+1)*4 > entry->size)"?
Dan Fandrich [Sat, 26 Sep 2009 05:04:12 +0000 (22:04 -0700)]
libexif/exif-data.c: Added more error log messages and improved
a few data boundary checks.
Dan Fandrich [Fri, 25 Sep 2009 22:01:53 +0000 (15:01 -0700)]
Jan Patera's keen eyes noticed that my MakerNote unification changes
introduced a case where a NULL pointer would be dereferenced before
being checked for NULL.
Dan Fandrich [Fri, 25 Sep 2009 06:35:48 +0000 (23:35 -0700)]
Fixed some problems in MakerNote parsing that could cause a
read past the end of a buffer and therefore a segfault.
Allow MakerNote parsing to continue even if one tag parses
incorrectly.
Log an error whenever memory allocation fails in MakerNote parsing.
Dan Fandrich [Wed, 23 Sep 2009 18:00:16 +0000 (11:00 -0700)]
Removed bogus "APEX" value from shutter speed display (thanks to
Jef Driesen for confirming this)
Fixed a couple of off-by-one unnecessary string truncations
Define M_PI for those systems that don't have it
Jan Patera [Wed, 23 Sep 2009 06:47:09 +0000 (08:47 +0200)]
Updated Czech translation by Jan Patera
Jan Patera [Wed, 23 Sep 2009 06:45:19 +0000 (08:45 +0200)]
Updated Czech translation
Dan Fandrich [Tue, 22 Sep 2009 22:08:24 +0000 (15:08 -0700)]
po/de.po: Updated German translation by Marcus Meissner
Dan Fandrich [Tue, 22 Sep 2009 05:44:22 +0000 (22:44 -0700)]
Added a few characters from the extended ISO-8859-1 range that make sense
Dan Fandrich [Sat, 19 Sep 2009 05:16:04 +0000 (22:16 -0700)]
Added support for writing Pentax and Casio v2 MakerNotes
Now displaying all components in Pentax and Casio v2 MakerNotes
when a tag has more than one
Dan Fandrich [Sat, 19 Sep 2009 04:07:41 +0000 (21:07 -0700)]
po/de.po: Updated German translation by Marcus Meissner
po/sv.po: Updated Swedish translation by Daniel Nylander
po/vi.po: Updated Vietnamese translation by Clytie Siddall
Dan Fandrich [Fri, 18 Sep 2009 04:40:08 +0000 (21:40 -0700)]
po/pl.po: Updated Polish translation by Jakub Bogusz
Dan Fandrich [Thu, 17 Sep 2009 22:33:01 +0000 (15:33 -0700)]
Make a few format strings untranslatable. Made some Canon MakerNote
entries translatable.
Dan Fandrich [Thu, 17 Sep 2009 05:40:19 +0000 (22:40 -0700)]
po/en_CA.po: Updated Canadian English translation
Dan Fandrich [Wed, 26 Aug 2009 21:44:46 +0000 (14:44 -0700)]
Modified the footer on Doxygen-generated pages to add the SourceForge logo.
Dan Fandrich [Thu, 13 Aug 2009 07:56:37 +0000 (00:56 -0700)]
Decode EXIF_TAG_ISO_SPEED_RATINGS as an integer, not an enumerated type.
Lutz Mueller [Wed, 12 Aug 2009 21:38:33 +0000 (23:38 +0200)]
2009-08-12 Lutz Mueller <lutz@users.sourceforge.com>
Patch by Vladimir Petrov <vppetrov@mm-sol.com> plus some whitespace
fixes by myself:
* libexif/exif-entry.c: (exif_entry_[fix,get_value,initialize]):
Support EXIF_TAG_ISO_SPEED_RATINGS.
Dan Fandrich [Wed, 17 Jun 2009 19:07:45 +0000 (12:07 -0700)]
Minor comment changes
Dan Fandrich [Wed, 17 Jun 2009 19:06:36 +0000 (12:06 -0700)]
More Danish translation updates from the Translation Project
Dan Fandrich [Tue, 16 Jun 2009 06:30:15 +0000 (23:30 -0700)]
po/da.po: Danish translation corrections by Lars Christian Jensen
Dan Fandrich [Wed, 3 Jun 2009 19:21:26 +0000 (12:21 -0700)]
po/da.po: Added Danish translation by Joe Hansen
Dan Fandrich [Fri, 29 May 2009 04:43:41 +0000 (21:43 -0700)]
Fixed negative exposure values in Canon makernotes (bug #2797280)
Dan Fandrich [Sat, 2 May 2009 06:28:22 +0000 (23:28 -0700)]
Create a valid default for EXIF_TAG_COMPONENTS_CONFIGURATION
Dan Fandrich [Sat, 2 May 2009 06:24:30 +0000 (23:24 -0700)]
Added contrib/examples/write-exif.c
Jan Patera [Mon, 20 Apr 2009 10:07:36 +0000 (12:07 +0200)]
Updated Czech translation
Dan Fandrich [Tue, 14 Apr 2009 06:00:15 +0000 (23:00 -0700)]
Added some more Doxygen comments.
Lutz Mueller [Sat, 21 Mar 2009 22:03:09 +0000 (23:03 +0100)]
2009-03-21 Lutz Mueller <lutz@users.sourceforge.net>
Meder Kydyraliev <meder.k@gmail.com> suggested to add some sanity
checks:
* libexif/exif-data.c (exif_data_load_entry),
(exif_data_load_data_thumbnail)
* libexif/canon/exif_mnote-data-canon.c
(exif_mnote_data_canon_load)
* libexif/fuji/exif-mnote-data-fuji.c
(exif_mnote_data_fuji_load)
* libexif/olympus/exif-mnote-data-olympus.c
(exif_mnote_data_olympus_load)
* libexif/pentax/exif-mnote-data-pentax.c
(exif_mnote_data_pentax_load)
Lutz Mueller [Mon, 16 Mar 2009 22:36:13 +0000 (23:36 +0100)]
2009-03-16 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/canon/exif-mnote-data-canon.c:
(exif_mnote_data_canon_load): Fix the coding style in this function
to make it easier to read.
Dan Fandrich [Tue, 3 Feb 2009 04:43:12 +0000 (20:43 -0800)]
Added AC_C_INLINE to configure.ac to define the inline keyword
if the compiler doesn't handle it already.
Dan Fandrich [Sat, 31 Jan 2009 23:39:26 +0000 (15:39 -0800)]
Updated to latest POT file
Dan Fandrich [Sat, 31 Jan 2009 23:36:18 +0000 (15:36 -0800)]
Separated the MNOTE_SANYO_TAG_SELFTIMER 2 sec. case from the other
On/Off cases
Renamed MNOTE_NIKON_TAG_PREVIEWIMAGE_IFD_POINTERS to show that it's
an IFD. The case of IFDs in MakerNotes needs to be handled better
because right now, those MakerNote IFD tags are corrupted since
the sub-IFDs aren't being read and written.
Dan Fandrich [Sat, 31 Jan 2009 23:32:39 +0000 (15:32 -0800)]
Decode the value for EXIF_TAG_LIGHT_SOURCE and EXIF_TAG_SCENE_TYPE
Split out the generic ExifEntry formatting code into a new function
exif_entry_format_value()
Fixed some signed vs unsigned formatting errors
Format the EXIF_TAG_GPS_TIME_STAMP & EXIF_TAG_GPS_ALTITUDE_REF tags
Improved the wrong data type fixup
Dan Fandrich [Sat, 24 Jan 2009 00:50:13 +0000 (16:50 -0800)]
Removed a C99ism
Dan Fandrich [Fri, 23 Jan 2009 00:12:27 +0000 (16:12 -0800)]
Added test-tagtable to do some tests on the static EXIF tag
information table.
Dan Fandrich [Fri, 23 Jan 2009 00:06:36 +0000 (16:06 -0800)]
Fix exif_tag_get_support_level_in_ifd() to handle the case where two tags
with the same number exist in different IFDs.
Dan Fandrich [Thu, 22 Jan 2009 23:28:22 +0000 (15:28 -0800)]
Document the Microsoft XP tags as being in UTF-16LE
Dan Fandrich [Thu, 22 Jan 2009 07:38:19 +0000 (23:38 -0800)]
When the data type is not known in exif_tag_get_support_level_in_ifd
check the support level for all data types and if it's all the same,
return that. This means that fixing a new EXIF tag block will
actually create some tags in it now.
Dan Fandrich [Thu, 22 Jan 2009 07:29:14 +0000 (23:29 -0800)]
Default EXIF_TAG_COLOR_SPACE to 0xffff (uncalibrated)
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