platform/upstream/libexif.git
15 years agoAdded contrib/examples/write-exif.c
Dan Fandrich [Sat, 2 May 2009 06:24:30 +0000 (23:24 -0700)]
Added contrib/examples/write-exif.c

15 years agoUpdated Czech translation
Jan Patera [Mon, 20 Apr 2009 10:07:36 +0000 (12:07 +0200)]
Updated Czech translation

15 years agoAdded some more Doxygen comments.
Dan Fandrich [Tue, 14 Apr 2009 06:00:15 +0000 (23:00 -0700)]
Added some more Doxygen comments.

15 years ago2009-03-21 Lutz Mueller <lutz@users.sourceforge.net>
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)

15 years ago2009-03-16 Lutz Mueller <lutz@users.sourceforge.net>
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.

15 years agoAdded AC_C_INLINE to configure.ac to define the inline keyword
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.

15 years agoUpdated to latest POT file
Dan Fandrich [Sat, 31 Jan 2009 23:39:26 +0000 (15:39 -0800)]
Updated to latest POT file

15 years agoSeparated the MNOTE_SANYO_TAG_SELFTIMER 2 sec. case from the other
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.

15 years agoDecode the value for EXIF_TAG_LIGHT_SOURCE and EXIF_TAG_SCENE_TYPE
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

15 years agoRemoved a C99ism
Dan Fandrich [Sat, 24 Jan 2009 00:50:13 +0000 (16:50 -0800)]
Removed a C99ism

15 years agoAdded test-tagtable to do some tests on the static EXIF tag
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.

15 years agoFix exif_tag_get_support_level_in_ifd() to handle the case where two tags
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.

15 years agoDocument the Microsoft XP tags as being in UTF-16LE
Dan Fandrich [Thu, 22 Jan 2009 23:28:22 +0000 (15:28 -0800)]
Document the Microsoft XP tags as being in UTF-16LE

15 years agoWhen the data type is not known in exif_tag_get_support_level_in_ifd
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.

15 years agoDefault EXIF_TAG_COLOR_SPACE to 0xffff (uncalibrated)
Dan Fandrich [Thu, 22 Jan 2009 07:29:14 +0000 (23:29 -0800)]
Default EXIF_TAG_COLOR_SPACE to 0xffff (uncalibrated)

15 years agoReduce the recursion limit
Dan Fandrich [Thu, 22 Jan 2009 07:27:57 +0000 (23:27 -0800)]
Reduce the recursion limit

15 years agoFix an endless loop that occurs when the compiler makes enums less than the
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.

15 years agoTie the IFD table to the IFD enum to force the two to stay in sync at compile
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.

15 years agoRemoved some commented-out debug code.
Dan Fandrich [Tue, 20 Jan 2009 20:40:07 +0000 (12:40 -0800)]
Removed some commented-out debug code.

15 years agoMinor optimizations, fixing some 64-bit warnings
Jan Patera [Sun, 18 Jan 2009 09:56:01 +0000 (10:56 +0100)]
Minor optimizations, fixing some 64-bit warnings

15 years agoConsistency: all tag titles are capitalized
Jan Patera [Sun, 18 Jan 2009 09:38:29 +0000 (10:38 +0100)]
Consistency: all tag titles are capitalized

15 years agoInteroperabilityIndex, InteroperabilityVersion & MaxApertureValue are now localizable
Jan Patera [Sun, 18 Jan 2009 09:36:38 +0000 (10:36 +0100)]
InteroperabilityIndex, InteroperabilityVersion & MaxApertureValue are now localizable

15 years agoChanged a data type from short to long in the last submission.
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.

15 years agoInterpret more Sanyo MakerNote tags
Dan Fandrich [Fri, 16 Jan 2009 07:07:23 +0000 (23:07 -0800)]
Interpret more Sanyo MakerNote tags

15 years agoAdded some more Olympus/Sanyo image quality descriptions
Dan Fandrich [Wed, 14 Jan 2009 09:22:22 +0000 (01:22 -0800)]
Added some more Olympus/Sanyo image quality descriptions

15 years agoAdded descriptions for the remaining Pentax MakerNote tags.
Dan Fandrich [Wed, 14 Jan 2009 08:46:44 +0000 (00:46 -0800)]
Added descriptions for the remaining Pentax MakerNote tags.

15 years agoFixed a bug where Pentax v2 & v3 MakerNotes were indicated as being v1
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.

15 years agoUncomment this to fix a problem with Sanyo MakerNotes. It's probably best
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.

15 years agoLog a message when corrupted MakerNotes are found for Canon and Fuji
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

15 years agoAdded the TIFF tag TimeZoneOffset which was spotted in an EXIF file in the
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.

15 years agoAdded support for Epson MakerNotes, which have the identical
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.

15 years agoAdded missing support level tags for a bunch of EXIF tags to mark them
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.

15 years agoLog when a subsidiary IFD (EXIF, GPS, Interoperability, thumbnail) is found
Dan Fandrich [Tue, 13 Jan 2009 01:48:39 +0000 (17:48 -0800)]
Log when a subsidiary IFD (EXIF, GPS, Interoperability, thumbnail) is found

15 years agoFixed the interpretation of some tags as being optional in IFD 1
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

15 years agoJan Patera pointed out that referencing appendices, tables and sections of the
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.

15 years agoFixed a typo in the EXIF_TAG_GPS_DEST_DISTANCE_REF tag description (thanks
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).

15 years agolibexif/exif-tags.c: Added remaining GPS tags from the EXIF 2.2
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.

15 years agoUpdated Doxygen comments
Dan Fandrich [Sat, 3 Jan 2009 08:19:20 +0000 (00:19 -0800)]
Updated Doxygen comments

15 years agocontrib/examples/photographer.c: Added example program to show how
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

15 years agoChanged a few comments
Dan Fandrich [Tue, 23 Dec 2008 08:33:55 +0000 (00:33 -0800)]
Changed a few comments

15 years agoFixed bug #1946138 to stop ignoring CFLAGS in the sqrt configure test
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

15 years agopo/vi.po: Updated Vietnamese translation by Clytie Siddall
Dan Fandrich [Tue, 23 Dec 2008 04:56:03 +0000 (20:56 -0800)]
po/vi.po: Updated Vietnamese translation by Clytie Siddall

15 years agoImproved documentation
Dan Fandrich [Thu, 11 Dec 2008 07:08:49 +0000 (23:08 -0800)]
Improved documentation

15 years agoA couple problems with corrupted Olympus-style MakerNote tags are fixed.
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.

15 years agoEliminated unreferenced variable
Jan Patera [Wed, 10 Dec 2008 10:57:23 +0000 (11:57 +0100)]
Eliminated unreferenced variable

15 years agoFixed interpretation of the Olympus MNOTE_OLYMPUS_TAG_MODE tag
Dan Fandrich [Fri, 5 Dec 2008 20:52:53 +0000 (12:52 -0800)]
Fixed interpretation of the Olympus MNOTE_OLYMPUS_TAG_MODE tag

15 years agoMade a log entry translatable.
Dan Fandrich [Fri, 5 Dec 2008 07:08:43 +0000 (23:08 -0800)]
Made a log entry translatable.

15 years agoImproved Doxygen documentation.
Dan Fandrich [Fri, 5 Dec 2008 07:07:17 +0000 (23:07 -0800)]
Improved Doxygen documentation.

15 years agoEnabled QT_AUTOBRIEF to automatically produce function summaries.
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.

15 years agoImproved Doxygen documentation.
Dan Fandrich [Thu, 27 Nov 2008 06:54:45 +0000 (22:54 -0800)]
Improved Doxygen documentation.

15 years agopo/sk.po: Updated Slovak translation by Ivan Masár
Dan Fandrich [Tue, 25 Nov 2008 18:54:43 +0000 (10:54 -0800)]
po/sk.po: Updated Slovak translation by Ivan Masár

15 years agoAdded Doxygen documentation
Dan Fandrich [Tue, 25 Nov 2008 09:30:38 +0000 (01:30 -0800)]
Added Doxygen documentation

15 years agoAdded Doxygen comments for the main API entry points and data
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

15 years agoDocument that libexif is now thread safe (when used appropriately).
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.

15 years agoIgnore the generated makefiles
Dan Fandrich [Wed, 19 Nov 2008 08:11:11 +0000 (00:11 -0800)]
Ignore the generated makefiles

15 years agoThe code for Swedish is sv, not se
Dan Fandrich [Wed, 19 Nov 2008 06:23:11 +0000 (22:23 -0800)]
The code for Swedish is sv, not se

15 years agoCleaned up the code a bit
Dan Fandrich [Wed, 19 Nov 2008 06:19:10 +0000 (22:19 -0800)]
Cleaned up the code a bit

15 years agoMade a static table const
Dan Fandrich [Tue, 18 Nov 2008 23:41:35 +0000 (15:41 -0800)]
Made a static table const

15 years agoMention example programs, libexif-gtk, autoreconf
Dan Fandrich [Tue, 18 Nov 2008 20:48:53 +0000 (12:48 -0800)]
Mention example programs, libexif-gtk, autoreconf

15 years agocontrib/examples/*: Added a couple of simple example programs
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.

15 years agopo/nl.po: Updated Dutch translation by Erwin Poeze
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

15 years agolibexif/exif-entry.c & configure.ac: use localtime_r when available
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

15 years agoInternalized some strings into a const struct to make it smaller and
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

15 years agoPrepare for development of the next release
Dan Fandrich [Thu, 6 Nov 2008 08:38:46 +0000 (00:38 -0800)]
Prepare for development of the next release

15 years agoPrepare for 0.6.17 release
Dan Fandrich [Thu, 6 Nov 2008 08:33:45 +0000 (00:33 -0800)]
Prepare for 0.6.17 release

15 years agoSave some bandwidth and use the .bz2 archive by default
Dan Fandrich [Thu, 6 Nov 2008 08:14:17 +0000 (00:14 -0800)]
Save some bandwidth and use the .bz2 archive by default

15 years agoRemoved some bogus Doxygen comments
Dan Fandrich [Thu, 6 Nov 2008 07:31:28 +0000 (23:31 -0800)]
Removed some bogus Doxygen comments

15 years agolibexif.spec.in: changed default release number to 1; added NEWS,
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

15 years agoAdded contrib/watcom/ directory to the source tarball now that
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.

15 years agoThis file isn't generated by autoconf, it's checked in to CVS
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

15 years agoCzech translation is no longer done through translationproject.org
Dan Fandrich [Thu, 6 Nov 2008 01:38:00 +0000 (17:38 -0800)]
Czech translation is no longer done through translationproject.org

15 years agopo/de.po: Updated German translation by Marcus Meissner
Dan Fandrich [Wed, 5 Nov 2008 19:16:03 +0000 (11:16 -0800)]
po/de.po: Updated German translation by Marcus Meissner

16 years ago1) Added fuji makernote support
Jan Patera [Wed, 5 Nov 2008 07:30:42 +0000 (08:30 +0100)]
1) Added fuji makernote support
2) fixed CR/LF

16 years agoMoved aolserver/* to contrib/aolserver/* (these files have gone untouched
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)

16 years agoDocument the camera types for which maker notes are supported
Dan Fandrich [Wed, 5 Nov 2008 07:21:42 +0000 (23:21 -0800)]
Document the camera types for which maker notes are supported

16 years agoUpdated non-translationproject.org translations ru and en_CA to latest
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.

16 years agoRemoved .cvsignore file since the rest of the directory is empty
Dan Fandrich [Tue, 4 Nov 2008 23:17:06 +0000 (15:17 -0800)]
Removed .cvsignore file since the rest of the directory is empty

16 years agoThis is actually the libexif project...
Dan Fandrich [Tue, 4 Nov 2008 15:20:13 +0000 (07:20 -0800)]
This is actually the libexif project...

16 years agoFixed typo
Dan Fandrich [Tue, 4 Nov 2008 07:19:04 +0000 (23:19 -0800)]
Fixed typo

16 years agoExpanded the Building section
Dan Fandrich [Tue, 4 Nov 2008 07:18:06 +0000 (23:18 -0800)]
Expanded the Building section

16 years agoInclude sys/types.h to make sure ssize_t is defined (required for Open Watcom C)
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)

16 years agoPlease don't crash in mnote_pentax_tag_get_description & mnote_olympus_tag_get_descri...
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.

16 years agoFixed interpretation of Auto ISO and Self-Timer entries
Jan Patera [Thu, 9 Oct 2008 09:47:30 +0000 (11:47 +0200)]
Fixed interpretation of Auto ISO and Self-Timer entries

16 years agoPatch by Aric Blumer <aricblumer@users.sourceforge.net>:
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

16 years agoAdded fixed bug number 2071600.
Jan Patera [Sat, 4 Oct 2008 11:45:17 +0000 (13:45 +0200)]
Added fixed bug number 2071600.

16 years ago2008-10-04 Jan Patera <patera@users.sourceforge.net>
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.

16 years agoHeuristic fix of bug #2071600 and gnome Bug #549029:
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.

16 years agoPatch by Louis Strous:
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.

16 years agoReplaced unsigned int by size_t in some places
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.

16 years agopo/nl.po: Updated Dutch translation by Erwin Poeze
Dan Fandrich [Thu, 4 Sep 2008 19:38:43 +0000 (12:38 -0700)]
po/nl.po: Updated Dutch translation by Erwin Poeze

16 years agogracefully return 0 when the name has not been found
Jörg Hoh [Sat, 26 Jul 2008 20:15:30 +0000 (22:15 +0200)]
gracefully return 0 when the name has not been found

16 years agoHopefully finally correct ;-)
Jan Patera [Sat, 26 Jul 2008 16:06:49 +0000 (18:06 +0200)]
Hopefully finally correct ;-)

16 years agodo not memmove if i was the last slot, since it
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)

16 years agoexif_content_remove_entry:
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???

16 years agohandle the case where we realloc to 0 entries,
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.

16 years agoAvoid compiler warning - use the correct type
Jan Patera [Fri, 27 Jun 2008 11:19:16 +0000 (13:19 +0200)]
Avoid compiler warning - use the correct type

16 years agoFixed typo
Jan Patera [Fri, 27 Jun 2008 07:42:16 +0000 (09:42 +0200)]
Fixed typo

16 years agoBetter support for MNOTE_OLYMPUS_TAG_FLASHDEVICE,
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)

16 years ago2008-06-23 Lutz Mueller <lutz@users.sourceforge.net>
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.

16 years ago2008-06-15 Lutz Mueller <lutz@users.sourceforge.net>
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.