Jan Patera [Fri, 2 Apr 2004 15:55:51 +0000 (17:55 +0200)]
A few changes & fixes of the code compaction dated 2004-03-15:
1) maxlen instead of maxlen-1 (it has been decreased by one for that reason)
2) items[i].elem[j] searched while items[i].elem[j].string is not NULL and not index (nothing would have been found)
3) MNOTE_PENTAX_TAG_ISO_SPEED: value of 100: used to get printed as "100", now it was unknown value -> added to items.elem
I am afraid 200 would also have the same problem (I don't have any sample file) -> also added to items.elem
4) items.elem[10] -> items.elem[7]: 7 is enough, less static memory & smaller executable
Jörg Hoh [Thu, 1 Apr 2004 20:37:39 +0000 (22:37 +0200)]
do include inttypes.h not stdint.h
Jörg Hoh [Thu, 1 Apr 2004 20:24:22 +0000 (22:24 +0200)]
- use types of appropriate size if stdint.h is available
Hans Ulrich Niedermann [Sat, 20 Mar 2004 11:24:25 +0000 (12:24 +0100)]
No gettextize messages, please
Jörg Hoh [Fri, 19 Mar 2004 19:57:30 +0000 (20:57 +0100)]
- Code simplification
- sizeof(char) == 1 (according to the C standard)
Lutz Mueller [Mon, 15 Mar 2004 23:14:49 +0000 (00:14 +0100)]
2004-03-16 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/pentax/exif-mnote-data-pentax.c: Another suggestion by
Joerg Hoh <joerg@devone.org>.
Lutz Mueller [Mon, 15 Mar 2004 21:42:20 +0000 (22:42 +0100)]
2004-03-15 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/pentax/mnote-pentax-entry.c: Joerg Hoh <joerg@devone.org>
did it again.
Lutz Mueller [Wed, 3 Mar 2004 20:45:16 +0000 (21:45 +0100)]
2004-03-03 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-entry.c: Patch by Joerg Hoh <joerg@devone.org>,
enhanced by myself.
Jan Patera [Wed, 3 Mar 2004 15:41:06 +0000 (16:41 +0100)]
2004-03-03 Jan Patera <patera@users.sourceforge.net>
* libexif/exif-entry.c: C-compilability & fix of the 2004/03/02 code
Jan Patera [Wed, 3 Mar 2004 15:38:36 +0000 (16:38 +0100)]
Fixes of changes "2004-03-02 Joerg Hoh<joerg@devone.org>":
1) EXIF_TAG_SUBJECT_DISTANCE_RANGE: entries made global static
to be compilable with C
2) all values of the new code were shifted by one
Lutz Mueller [Tue, 2 Mar 2004 18:11:06 +0000 (19:11 +0100)]
2004-03-02 Lutz Mueller <lutz@users.sourceforge.net>
* configure.in: No version on GETTEXT_PACKAGE. Requested by
gernot@bigpond.com.
* libexif/exif-entry.c: Some formatting.
2004-03-02 Joerg Hoh<joerg@devone.org>
* libexif/exif-entry.c: moved redundant code into a static structure
Jan Patera [Mon, 1 Mar 2004 11:58:34 +0000 (12:58 +0100)]
* libexif/pentax/exif-mnote-data-pentax.c: Fixed flipped inequation
causing all value requests to be denied as invalid
Jan Patera [Mon, 1 Mar 2004 11:56:37 +0000 (12:56 +0100)]
exif_mnote_data_pentax_get_value: Fixed flipped inequation causing all value requests to be denied as invalid
Jan Patera [Mon, 2 Feb 2004 15:39:37 +0000 (16:39 +0100)]
2004-02-02 Jan Patera <patera@users.sourceforge.net>
* libexif/exif-loader.c: propper skipping of JPEG_MARKER_COM when
searching for JPEG_MARKER_APP1 with exif data
Jan Patera [Mon, 2 Feb 2004 15:36:40 +0000 (16:36 +0100)]
propper skipping of JPEG_MARKER_COM when searching for JPEG_MARKER_APP1 with exif data
Lutz Mueller [Mon, 19 Jan 2004 21:49:50 +0000 (22:49 +0100)]
2004-01-19 Lutz Mueller <lutz@users.sourceforge.net>
* contrib/c++: Files contributed by Hans Meine <hans_meine@gmx.net>.
Completely untested.
Hans Ulrich Niedermann [Sat, 10 Jan 2004 19:24:33 +0000 (20:24 +0100)]
undo changes breaking build
Lutz Mueller [Wed, 7 Jan 2004 23:36:46 +0000 (00:36 +0100)]
2004-01-08 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-entry.c (exif_entry_get_value_brief): merge into
(exif_entry_get_value) and remove.
* tests/test-mnote.c: Make it compile again.
* tests/test-value.c: New.
* configure.in: API-changes -> increment version.
Jan Patera [Wed, 7 Jan 2004 15:21:49 +0000 (16:21 +0100)]
2004-01-07 Jan Patera <patera@users.sourceforge.net>
Thread-safety, elimination of static variables, fixes of memory
corruption (writing beyond provided space), no more memory leaks
in mnote, 2 new args of exif_entry_get_value,
exif_entry_get_value_brief, exif_mnote_data_get_value.
* libexif, libexif/canon, libexif/olympus, libexif/pentax
Jan Patera [Wed, 7 Jan 2004 15:16:59 +0000 (16:16 +0100)]
EXIF_TAG_COMPONENTS_CONFIGURATION, EXIF_TAG_COPYRIGHT:
do not write beyond provided space in val:
3arg of every strncat() fixed
Jan Patera [Wed, 7 Jan 2004 15:12:12 +0000 (16:12 +0100)]
1) Two new arguments (char *val, unsinged int maxlen) added to the
following functions and macros:
exif_entry_get_value
exif_entry_get_value_brief
exif_mnote_data_get_value
exif_mnote_data_pentax_get_value
macros:
exif_content_get_value
exif_content_get_value_brief
The functions return either NULL (in case of error) or val.
2) All static variables eliminated.
3) memset(val, 0, maxlen); is in all functions, followed by maxlen--;
which ensures all returned strings will always be NULL-terminated.
All this should make the library thread-safe.
Jan Patera [Wed, 7 Jan 2004 15:01:39 +0000 (16:01 +0100)]
exif_mnote_data_pentax_get_value(), mnote_pentax_entry_get_value():
1) 2 new args: val & maxlen
2) no static variables
Jan Patera [Wed, 7 Jan 2004 14:57:38 +0000 (15:57 +0100)]
exif_mnote_data_olympus_get_value(), mnote_olympus_entry_get_value():
1) 2 new args: val & maxlen
2) no static variables
3) do not duplicate string on return
4) proper NULL-termination of long strings
Jan Patera [Wed, 7 Jan 2004 14:53:04 +0000 (15:53 +0100)]
exif_mnote_data_canon_get_value(), mnote_canon_entry_get_value():
1) 2 new args value & maxlen
2) no static variables
3) does not duplicate string on return
Lutz Mueller [Tue, 9 Dec 2003 19:50:00 +0000 (20:50 +0100)]
2003-12-09 Lutz Mueller <lutz@users.sourceforge.net>
A couple of fixes by Jan Patera <patera@pictview.com>:
* libexif
Lutz Mueller [Sun, 7 Dec 2003 23:26:05 +0000 (00:26 +0100)]
2003-12-08 Lutz Mueller <lutz@users.sourceforge.net>
Suggestion by Jan Patera <patera@pictview.com>:
* libexif/exif-entry.c: Do not read beyond e->size.
Lutz Mueller [Mon, 1 Dec 2003 18:27:50 +0000 (19:27 +0100)]
2003-12-01 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/olympus/mnote-olympus-entry.c: Now that EXIF_FORMAT_SSHORT
is in exif-format.h, we do not need to define it any longer.
Lutz Mueller [Mon, 1 Dec 2003 18:09:29 +0000 (19:09 +0100)]
2003-12-01 Lutz Mueller <lutz@users.sourceforge.net>
* libexif: Various improvements by Jan Patera <patera@pictview.com>.
Lutz Mueller [Thu, 30 Oct 2003 22:10:45 +0000 (23:10 +0100)]
*** empty log message ***
Lutz Mueller [Thu, 30 Oct 2003 21:26:30 +0000 (22:26 +0100)]
2003-10-30 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-loader.c: Handle APP13.
Lutz Mueller [Thu, 30 Oct 2003 21:10:35 +0000 (22:10 +0100)]
2003-10-30 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-loader.c: Fix APP0-bug. Patch by Jan Patera
<patera@pictview.com>.
Lutz Mueller [Thu, 30 Oct 2003 17:43:52 +0000 (18:43 +0100)]
2003-10-30 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-data.c: Add explicit typecasts to ExifShort.
Suggested by Jan Patera <patera@pictview.com>.
Lutz Mueller [Tue, 28 Oct 2003 22:50:07 +0000 (23:50 +0100)]
2003-10-28 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/olympus: Fix. I've got one Olympus file and this gets
parsed now.
Lutz Mueller [Tue, 28 Oct 2003 18:53:44 +0000 (19:53 +0100)]
2003-10-28 Lutz Mueller <lutz@users.sourceforge.net>
* libjpeg/jpeg-data.c: Do not depend on unistd.h. Reported by
Jan Patera <patera@pictview.com>.
Lutz Mueller [Tue, 28 Oct 2003 18:49:47 +0000 (19:49 +0100)]
2003-10-28 Lutz Mueller <lutz@users.sourceforge.net>
* libjpeg/jpeg-data.c: Do not depend on unistd.h. Reported by
Jan Patera <patera@pictview.com>.
Hans Ulrich Niedermann [Mon, 27 Oct 2003 22:46:21 +0000 (23:46 +0100)]
no relative files in .cvsignore
Hans Ulrich Niedermann [Mon, 27 Oct 2003 22:46:08 +0000 (23:46 +0100)]
use $(top_builddir) instead of .../
Lutz Mueller [Mon, 27 Oct 2003 22:34:30 +0000 (23:34 +0100)]
2003-10-27 Lutz Mueller <lutz@users.sourceforge.net>
* libexif: Canon maker notes seem to work now (both loading and
saving).
Lutz Mueller [Mon, 27 Oct 2003 20:07:11 +0000 (21:07 +0100)]
2003-10-27 Lutz Mueller <lutz@users.sourceforge.net>
* libexif: The code now compiles and loads the canon maker note,
but crashes if you query its contents.
Hans Ulrich Niedermann [Mon, 27 Oct 2003 17:32:32 +0000 (18:32 +0100)]
intl subdir gets added by gettextize
Hans Ulrich Niedermann [Mon, 27 Oct 2003 17:31:14 +0000 (18:31 +0100)]
po/Makefile.in gets added by gettextize
Lutz Mueller [Sun, 26 Oct 2003 22:30:27 +0000 (23:30 +0100)]
2003-10-26 Lutz Mueller <lutz@users.sourceforge.net>
* test/test-mnote.c: New.
* libexif: The code now both compiles and doesn't crash,
but at least the canon maker note still doesn't get parsed.
Lutz Mueller [Sun, 26 Oct 2003 10:24:26 +0000 (11:24 +0100)]
*** empty log message ***
Lutz Mueller [Sun, 26 Oct 2003 10:18:31 +0000 (11:18 +0100)]
2003-10-26 Lutz Mueller <lutz@users.sourceforge.net>
* configure.in
* Makefile.am: Remove PO_DIRS. Otherwise, automake complains about
po and intl not being in SUBDIRS
Lutz Mueller [Sun, 26 Oct 2003 10:11:32 +0000 (11:11 +0100)]
2003-10-26 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/olympus
* libexif/canon
* libexif/pentax: Merge libmnote with libexif. The code compiles but
is completely untested.
Lutz Mueller [Sun, 26 Oct 2003 10:06:17 +0000 (11:06 +0100)]
2003-10-26 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/olympus
* libexif/canon
* libexif/pentax: Merge libmnote with libexif. The code compiles but
is completely untested.
Lutz Mueller [Wed, 15 Oct 2003 18:04:03 +0000 (20:04 +0200)]
2003-10-15 Lutz Mueller <lutz@users.sourceforge.net>
* libexif.spec.in: Patches by Peter Bieringer <pb@bieringer.de>.
Lutz Mueller [Wed, 8 Oct 2003 18:08:01 +0000 (20:08 +0200)]
2003-10-08 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-data.c: Patch by Jan Patera <patera@pictview.com>.
Lutz Mueller [Wed, 8 Oct 2003 16:40:11 +0000 (18:40 +0200)]
2003-10-08 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-entry.c: Patch by Jan Patera <patera@pictview.com>.
Lutz Mueller [Sun, 28 Sep 2003 18:00:06 +0000 (20:00 +0200)]
*** empty log message ***
Lutz Mueller [Sun, 28 Sep 2003 17:35:13 +0000 (19:35 +0200)]
2003-09-28 Lutz Mueller <lutz@users.sourceforge.net>
* Makefile.am
* configure.in: Patch #813420 by Chris Meyer <cmeyer@mac.com>.
Arnaud Launay [Wed, 17 Sep 2003 11:31:06 +0000 (13:31 +0200)]
Drop EOL blanks and // comments
Lutz Mueller [Fri, 5 Sep 2003 14:36:44 +0000 (16:36 +0200)]
2003-09-05 Lutz Mueller <lutz@users.sourceforge.net>
* libjpeg/jpeg-data.c: Fix memory leak (discovered by
Ralph Heidelberg <RHeidelberg@Pinnaclesys.com)
Lutz Mueller [Mon, 25 Aug 2003 04:44:30 +0000 (06:44 +0200)]
2003-08-25 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-data.c: Fill unneeded bytes with 0. Suggestion by
Roberto Costa <roberto.costa@ensta.org>.
Hans Ulrich Niedermann [Sun, 24 Aug 2003 17:40:02 +0000 (19:40 +0200)]
working towards working build
Hans Ulrich Niedermann [Sun, 24 Aug 2003 17:33:35 +0000 (19:33 +0200)]
po
Hans Ulrich Niedermann [Sun, 24 Aug 2003 17:30:05 +0000 (19:30 +0200)]
fix build system
Lutz Mueller [Wed, 6 Aug 2003 19:47:53 +0000 (21:47 +0200)]
2003-08-06 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-entry.c (exif_entry_initialize): Support some more
tags.
* libexif/exif-tag.[c,h]: Cosmetic fix.
* libexif/exif-utils.h: Do not let above cosmetic fix break the API.
Lutz Mueller [Mon, 4 Aug 2003 19:51:53 +0000 (21:51 +0200)]
2003-08-04 Lutz Mueller <lutz@users.sourceforge.net>
* po/*.po: Updated.
* Makefile.am: Add m4 and intl to SUBDIRS. automake complains
otherwise.
* configure.in: Add m4/Makefile. make distcheck complains otherwise.
Version 0.5.12
Lutz Mueller [Wed, 30 Jul 2003 20:39:28 +0000 (22:39 +0200)]
2003-07-30 Lutz Mueller <lutz@users.sourceforge.net>
* configure.in: Version 0.5.11
Lutz Mueller [Tue, 29 Jul 2003 22:45:10 +0000 (00:45 +0200)]
2003-07-30 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-data.c: Patch by Torgeir Hansen <torgeir@trenger.ro>
to prevent endless loops.
Lutz Mueller [Tue, 29 Jul 2003 22:19:40 +0000 (00:19 +0200)]
2003-07-30 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-entry.c: Don't crash if entries are totally insane.
Lutz Mueller [Sun, 20 Jul 2003 19:27:40 +0000 (21:27 +0200)]
2003-07-20 Lutz Mueller <lutz@users.sourceforge.net>
* configure.in: Version 0.5.10
Lutz Mueller [Wed, 30 Apr 2003 23:51:44 +0000 (01:51 +0200)]
2003-05-01 Lutz Mueller <lutz@users.sourceforge.net>
Suggestion by Gernot Jander <gernot@bigpond.com>:
* libexif/exif-entry.c: Ignore " " in EXIF_TAG_COPYRIGHT.
Lutz Mueller [Tue, 29 Apr 2003 20:13:50 +0000 (22:13 +0200)]
2003-04-29 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-loader.c: Set ref_count to 1 on exif_loader_new.
Lutz Mueller [Tue, 29 Apr 2003 04:57:31 +0000 (06:57 +0200)]
2003-04-29 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-entry.c: Another attempt to fix EXIF_TAG_COPYRIGHT.
Lutz Mueller [Mon, 28 Apr 2003 18:34:19 +0000 (20:34 +0200)]
2003-04-28 Lutz Mueller <lutz@users.sourceforge.net>
Bug discovered by Jay Love <jslove@users.sourceforge.net>
* libexif/exif-entry.c: Don't crash if EXIF_TAG_COPYRIGHT is NULL.
Lutz Mueller [Mon, 28 Apr 2003 18:22:19 +0000 (20:22 +0200)]
2003-04-28 Lutz Mueller <lutz@users.sourceforge.net>
Patch by Gernot Jander <gernot@bigpond.com>:
* libexif/exif-tag.c: Add call to bind_textdomain_codeset
* po/*.UTF-8: New.
Lutz Mueller [Sun, 13 Apr 2003 20:48:33 +0000 (22:48 +0200)]
2003-03-13 Lutz Mueller <lutz@users.sourceforge.net>
* libjpeg/jpeg-data.c: Aravind <aravinds1@users.sourceforge.net>
found a bug there.
Lutz Mueller [Sun, 13 Apr 2003 20:45:07 +0000 (22:45 +0200)]
2003-03-13 Lutz Mueller <lutz@users.sourceforge.net>
* libjpeg/jpeg-data.c: Aravind <aravinds1@users.sourceforge.net>
found a bug there.
Arnaud Launay [Sat, 22 Mar 2003 21:09:56 +0000 (22:09 +0100)]
adapt autogen to gettext 0.12
Lutz Mueller [Tue, 18 Mar 2003 07:13:24 +0000 (08:13 +0100)]
2003-03-18 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-data.c (exif_data_new_from_file): Use the new
ExifLoader. It seems to work.
Lutz Mueller [Mon, 17 Mar 2003 20:39:20 +0000 (21:39 +0100)]
2003-03-17 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-loader.[c,h]: New. Mostly written by Jens Finke
<jens@triq.net>. Not tested at all.
Lutz Mueller [Tue, 11 Feb 2003 21:07:05 +0000 (22:07 +0100)]
2003-02-11 Lutz Mueller <lutz@users.sourceforge.net>
* libexif/exif-tag.c: Fix typo.
Hans Ulrich Niedermann [Mon, 3 Feb 2003 16:20:01 +0000 (17:20 +0100)]
added overdue note about gettextize and pressing Return
Lutz Mueller [Wed, 22 Jan 2003 06:34:41 +0000 (07:34 +0100)]
2003-01-22 Lutz Mller <lutz@users.sourceforge.net>
* libexif/exif-entry.c (exif_entry_get_value): Support USER_COMMENT.
Arnaud Launay [Fri, 3 Jan 2003 14:06:46 +0000 (15:06 +0100)]
Patch from Daniel Resare <noa@metamatrix.se>:
- corrects Makefile.am for empty CONFIG_CLEAN_FILES
- new spec file, without version dep
Lutz Mueller [Tue, 31 Dec 2002 10:11:23 +0000 (11:11 +0100)]
2002-12-31 Lutz Müller <lutz@users.sourceforge.net>
* README: Some information by Sander van Geloven
<svgeloven@zonnet.nl>.
Arnaud Launay [Sun, 15 Dec 2002 11:41:11 +0000 (12:41 +0100)]
replace (c) and (C) by ©
Arnaud Launay [Thu, 12 Dec 2002 08:02:07 +0000 (09:02 +0100)]
i18n fix
Lutz Mueller [Wed, 11 Dec 2002 21:37:35 +0000 (22:37 +0100)]
2002-12-11 Lutz Müller <lutz@users.sourceforge.net>
* libexif/exif-entry.c (exif_entry_initialize): Fix last commit.
Lutz Mueller [Wed, 11 Dec 2002 20:23:05 +0000 (21:23 +0100)]
2002-12-11 Lutz Müller <lutz@users.sourceforge.net>
* libexif/exif-entry.c (exif_entry_initialize): Support USER_COMMENT.
* configure.in: Version 0.5.9
Lutz Mueller [Mon, 9 Dec 2002 01:41:56 +0000 (02:41 +0100)]
2002-12-09 Lutz Müller <lutz@users.sourceforge.net>
* README: New frontend 'thirdeye'.
Arnaud Launay [Sat, 7 Dec 2002 05:58:45 +0000 (06:58 +0100)]
Fuck Lütz gently with a chainsaw ('n yes, I'm drunk)
Lutz Mueller [Fri, 6 Dec 2002 23:26:55 +0000 (00:26 +0100)]
gettext is driving me crazy.
Lutz Mueller [Fri, 6 Dec 2002 23:23:13 +0000 (00:23 +0100)]
2002-12-07 Lutz Müller <lutz@users.sourceforge.net>
* configure.in: Version 0.5.8
Arnaud Launay [Tue, 3 Dec 2002 07:48:10 +0000 (08:48 +0100)]
reflects Lutz changes to po files
Lutz Mueller [Mon, 2 Dec 2002 22:29:54 +0000 (23:29 +0100)]
2002-12-02 Lutz Müller <lutz@users.sourceforge.net>
* libexif/Makefile.am: Forgot to remove the some subdirs.
Lutz Mueller [Mon, 2 Dec 2002 22:22:03 +0000 (23:22 +0100)]
2002-12-02 Lutz Müller <lutz@users.sourceforge.net>
* configure.in: Remove some Makefiles
Lutz Mueller [Mon, 2 Dec 2002 22:20:32 +0000 (23:20 +0100)]
2002-12-02 Lutz Müller <lutz@users.sourceforge.net>
* configure.in: Reflect removal of exif-note.h in version.
Lutz Mueller [Mon, 2 Dec 2002 22:17:25 +0000 (23:17 +0100)]
2002-12-02 Lutz Müller <lutz@users.sourceforge.net>
* libexif/exif-note.[c,h]: Removed. Now in libmnote.
Hans Ulrich Niedermann [Sun, 1 Dec 2002 20:19:26 +0000 (21:19 +0100)]
release
Arnaud Launay [Sun, 1 Dec 2002 19:58:52 +0000 (20:58 +0100)]
add ChangeLog
Arnaud Launay [Sun, 1 Dec 2002 19:45:04 +0000 (20:45 +0100)]
corrects fuzzy
Arnaud Launay [Sun, 1 Dec 2002 19:42:23 +0000 (20:42 +0100)]
update-po
Arnaud Launay [Sat, 30 Nov 2002 08:48:15 +0000 (09:48 +0100)]
Some autom4te versions don't use their number
Hans Ulrich Niedermann [Sat, 30 Nov 2002 00:17:00 +0000 (01:17 +0100)]
0.5.7-rc4
Arnaud Launay [Wed, 27 Nov 2002 08:01:09 +0000 (09:01 +0100)]
Update. The remaining fuzzy and untranslated msg are technical one
I don't know how to translate cleanly.
Arnaud Launay [Tue, 26 Nov 2002 19:31:29 +0000 (20:31 +0100)]
remove Id tag
Arnaud Launay [Fri, 22 Nov 2002 23:56:13 +0000 (00:56 +0100)]
no branches, ooops