platform/upstream/libexif.git
20 years ago2004-06-23 Serge Droz <serge.droz@psi.ch>
Lutz Mueller [Wed, 23 Jun 2004 17:35:27 +0000 (19:35 +0200)]
2004-06-23  Serge Droz <serge.droz@psi.ch>

(committed by Lutz Mueller <lutz@users.sourceforge.net>)

        * libexif/olympus/mnote-olympus-entry.c: Reapply Jan Patera's
          change.

20 years ago2004-06-22 Lutz Mueller <lutz@users.sourceforge.net>
Lutz Mueller [Tue, 22 Jun 2004 18:25:40 +0000 (20:25 +0200)]
2004-06-22  Lutz Mueller <lutz@users.sourceforge.net>

* libexif/olympus/mnote-olympus-entry.c: Correct the usage of
  strncat. Fix pointed out by Serge Droz <serge.droz@psi.ch>.

20 years ago2004-06-22 Lutz Mueller <lutz@users.sourceforge.net>
Lutz Mueller [Tue, 22 Jun 2004 18:10:48 +0000 (20:10 +0200)]
2004-06-22  Lutz Mueller <lutz@users.sourceforge.net>

* libexif/olympus/mnote-olympus-tag.[c,h]: New tags discovered by
  Serge Droz <serge.droz@psi.ch>.

20 years agolibexif/olympus/mnote-olympus-entry.c: MNOTE_OLYMPUS_TAG_INFO
Jan Patera [Tue, 15 Jun 2004 16:23:09 +0000 (18:23 +0200)]
libexif/olympus/mnote-olympus-entry.c: MNOTE_OLYMPUS_TAG_INFO

20 years agoMNOTE_OLYMPUS_TAG_INFO: handle length 53 (in addition to 52) & extract the string
Jan Patera [Tue, 15 Jun 2004 16:21:56 +0000 (18:21 +0200)]
MNOTE_OLYMPUS_TAG_INFO: handle length 53 (in addition to 52) & extract the string

20 years agoPrevent crashes on too many unknown bytes:
Jan Patera [Mon, 7 Jun 2004 14:08:57 +0000 (16:08 +0200)]
Prevent crashes on too many unknown bytes:
man strncat: only the first n characters of src are appended to dest.

20 years ago2004-06-06 Lutz Mueller <lutz@users.sourceforge.net>
Lutz Mueller [Sun, 6 Jun 2004 03:04:21 +0000 (05:04 +0200)]
2004-06-06  Lutz Mueller <lutz@users.sourceforge.net>

* libexif/olympus/exif-mnote-data-olympus.c: More documentation,
  additional case (Nikon, 02 0a 00).
* Makefile.am: s/LIBMNOTE/LIBEXIF

20 years agoMention pel.
Lutz Mueller [Fri, 4 Jun 2004 19:48:02 +0000 (21:48 +0200)]
Mention pel.

20 years ago2004-05-27 Lutz Mueller <lutz@users.sourceforge.net>
Lutz Mueller [Thu, 27 May 2004 17:56:23 +0000 (19:56 +0200)]
2004-05-27  Lutz Mueller <lutz@users.sourceforge.net>

* configure.in: 0.6.10 as 0.6.9 has just been released.

20 years ago2004-05-27 Lutz Mueller <lutz@users.sourceforge.net>
Lutz Mueller [Thu, 27 May 2004 17:11:40 +0000 (19:11 +0200)]
2004-05-27  Lutz Mueller <lutz@users.sourceforge.net>

* libexif/exif-entry.c: Jan Patera pointed me to the fact that
  last change is pointless.

20 years ago2004-05-27 Lutz Mueller <lutz@users.sourceforge.net>
Lutz Mueller [Wed, 26 May 2004 22:27:06 +0000 (00:27 +0200)]
2004-05-27  Lutz Mueller <lutz@users.sourceforge.net>

* libexif/exif-entry.c: According to Ralf Holzer <rholzer@cmu.edu>,
  the user comment field does not have to be NULL terminated.

20 years ago2004-05-25 Lutz Mueller <lutz@users.sourceforge.net>
Lutz Mueller [Tue, 25 May 2004 22:30:53 +0000 (00:30 +0200)]
2004-05-25  Lutz Mueller <lutz@users.sourceforge.net>

* libexif/olympus/mnote-olympus-entry.c: Print bytes if tag is not
  known.

20 years ago2004-05-24 Jan Patera <patera@users.sourceforge.net>
Jan Patera [Mon, 24 May 2004 12:28:49 +0000 (14:28 +0200)]
2004-05-24  Jan Patera <patera@users.sourceforge.net>

* libjpeg/jpeg-data.[c,h]: jpeg_data_append_section changed
  from static to public
* libexif/olumpus/mnote-olympus-entry.c: support of several
  known but previously not supported Nikon (& 1 Olympus) tags
* libexif/exif-entry.c: rational values printed as %2.2f and not %i/%i

20 years agoSome rational values are printed as %2.2f and not %i/%i because some cameras
Jan Patera [Mon, 24 May 2004 12:13:20 +0000 (14:13 +0200)]
Some rational values are printed as %2.2f and not %i/%i because some cameras
and SW tend to write both the numerator and denominator prescaled with
some (huge) value  (I have several such Photoshop-edited images taken by kodak DX4900).

20 years ago1) New 3 values of MNOTE_NIKON1_TAG_QUALITY
Jan Patera [Mon, 24 May 2004 12:08:17 +0000 (14:08 +0200)]
1) New 3 values of MNOTE_NIKON1_TAG_QUALITY
2) ASCII numeric value of MNOTE_NIKON_TAG_FIRMWARE displays as ASCII and not hex
3) support for MNOTE_NIKON_TAG_DIGITALZOOM, MNOTE_NIKON1_TAG_DIGITALZOOM, MNOTE_NIKON1_TAG_FOCUS & MNOTE_NIKON1_TAG_CONVERTER
4) support of rational value of MNOTE_OLYMPUS_TAG_DIGIZOOM (not only SHORT)
5) double instead of float to avoid precision problems (like 0xFFFFFFFF / 0xFFFFFFFF)

20 years agojpeg_data_append_section changed from static to public
Jan Patera [Mon, 24 May 2004 12:06:09 +0000 (14:06 +0200)]
jpeg_data_append_section changed from static to public

20 years agoproper size of memblock to clear
Jan Patera [Fri, 21 May 2004 14:28:56 +0000 (16:28 +0200)]
proper size of memblock to clear

20 years agostrnicmp was not a typo. *nix compilers don't like it therefore
Jan Patera [Fri, 21 May 2004 14:23:07 +0000 (16:23 +0200)]
strnicmp was not a typo. *nix compilers don't like it therefore
I changed it to strncasecmp. Hopefully non-*nix developers will
be able to replace it with strnicmp (e.g. via define in their config.h)

20 years ago2004-05-15 Lutz Mueller <lutz@users.sourceforge.net>
Lutz Mueller [Thu, 20 May 2004 10:50:36 +0000 (12:50 +0200)]
2004-05-15  Lutz Mueller <lutz@users.sourceforge.net>

* libexif/exif-log.[c,h]: New. Proposal for handling of debugging
  messages.

20 years agofixed typo (typical vi failure)
Jörg Hoh [Tue, 18 May 2004 12:27:38 +0000 (14:27 +0200)]
fixed typo (typical vi failure)

20 years agoadded error handling on realloc
Jörg Hoh [Sun, 16 May 2004 14:06:37 +0000 (16:06 +0200)]
added error handling on realloc
added a missing realloc when removing entries

20 years agoadded error handling on malloc/realloc
Jörg Hoh [Sun, 16 May 2004 13:48:29 +0000 (15:48 +0200)]
added error handling on malloc/realloc

20 years agowe know how much memory we need so we don't need to call realloc() all the time
Jörg Hoh [Sat, 15 May 2004 20:29:19 +0000 (22:29 +0200)]
we know how much memory we need so we don't need to call realloc() all the time

20 years ago2004-05-13 Jan Patera <patera@users.sourceforge.net>
Jan Patera [Thu, 13 May 2004 13:58:23 +0000 (15:58 +0200)]
2004-05-13  Jan Patera <patera@users.sourceforge.net>

* libexif/exif-data.c: Fill tag data with zeros on save even
  if 0 components (buggy Kodak-210)

20 years ago2004-05-12 Jan Patera <patera@users.sourceforge.net>
Jan Patera [Wed, 12 May 2004 12:03:47 +0000 (14:03 +0200)]
2004-05-12  Jan Patera <patera@users.sourceforge.net>

* libexif/exif-utils.h: definition of MIN
* libexif/pentax/mnote-pentax-entry.c: min -> MIN
  (found by Serge Droz <serge.droz@psi.ch>)

20 years ago2004-05-11 Jan Patera <patera@users.sourceforge.net>
Jan Patera [Tue, 11 May 2004 15:17:58 +0000 (17:17 +0200)]
2004-05-11  Jan Patera <patera@users.sourceforge.net>

* libjpeg/jpeg-data.c: memory leak in jpeg_data_set_exif_data,
  return type of jpeg_data_save_file
* libexif/exif-entry.c: proper mnote size on save
* libexif/olympus: saving Nikon mnote

20 years agoA fix of storing maker note on save. If the new mnote was longer than
Jan Patera [Tue, 11 May 2004 15:15:26 +0000 (17:15 +0200)]
A fix of storing maker note on save. If the new mnote was longer than
in the original file, the created file was corrupted. If it was shorter
than originally, random rubbish was stored (could be viewed also as "padding").

20 years agoSaving of Nikon v2 maker note
Jan Patera [Tue, 11 May 2004 15:11:17 +0000 (17:11 +0200)]
Saving of Nikon v2 maker note

20 years agojpeg_data_set_exif_data unreferences previous exif info to prevent memory leak.
Jan Patera [Tue, 11 May 2004 14:25:15 +0000 (16:25 +0200)]
jpeg_data_set_exif_data unreferences previous exif info to prevent memory leak.
jpeg_data_save_file now returns 1 if success and 0 if failure. Incomplete file is now deleted.

20 years agoA CR/LF problem killed output of processing MNOTE_NIKON_TAG_LENS
Jan Patera [Mon, 10 May 2004 12:57:17 +0000 (14:57 +0200)]
A CR/LF problem killed output of processing MNOTE_NIKON_TAG_LENS

20 years ago2004-05-10 Jan Patera <patera@users.sourceforge.net>
Jan Patera [Mon, 10 May 2004 12:31:01 +0000 (14:31 +0200)]
2004-05-10  Jan Patera <patera@users.sourceforge.net>

* libexif: Support of Nikon maker note

20 years ago2004-05-10 Jan Patera <patera@users.sourceforge.net>
Jan Patera [Mon, 10 May 2004 12:29:48 +0000 (14:29 +0200)]
2004-05-10  Jan Patera <patera@users.sourceforge.net>

* Support of Nikon maker note

20 years agoI've extended support of Nikon maker note in the "Olympus" part,
Jan Patera [Mon, 10 May 2004 12:28:48 +0000 (14:28 +0200)]
I've extended support of Nikon maker note in the "Olympus" part,
where Lutz originally put the first code.
It appears there are at least 3 versions of Nikon mnote:
1) IFD with 0x1B items - was confused w/ Pentax-made mnote
2) 'Nikon',0,1,0,IFD
3) 'Nikon',0,2,0,0,0, 8-byte TIFF header, IFD

In addition to that, there are 2 sets of tags:
a) 'Version 1' is used by cases 1)+2)
b) 'Version 2' is used by case 3)
A bad thing is that both sets use the same ids.
Furthermore, while v1 uses SHORT values, v2 uses ASCII values
containing the actual string representations of the numeric values.
To distinguish v1 & v2 tags, MNOTE_NIKON1_TAG_BASE (0x8000)
is added to every tag if reading a v1 file - this is done in
exif_mnote_data_olympus_load().
Some of the tags are explained here:
http://park2.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html
most of other tags are work (?) of Serge Droz <serge.droz@psi.ch>
who submitted the original code enhancing now obsolete libmnote.
Meaning of many tags remains unknown.

20 years ago2004-05-07 Jan Patera <patera@users.sourceforge.net>
Jan Patera [Fri, 7 May 2004 14:40:31 +0000 (16:40 +0200)]
2004-05-07  Jan Patera <patera@users.sourceforge.net>

* libexif/exif-entry.c: fix of EXIF_TAG_COLOR_SPACE,
  value 9 of EXIF_TAG_FLASH.
* libexif/exif-entry.c: Fix of bug #937505 submitted by Hubert
  Verstraete <hubs@users.sourceforge>: value 0x0058 of
  EXIF_TAG_FLASH.

20 years ago2004-05-07 Jan Patera <patera@users.sourceforge.net>
Jan Patera [Fri, 7 May 2004 14:37:53 +0000 (16:37 +0200)]
2004-05-07  Jan Patera <patera@users.sourceforge.net>

Fixes of recent changes:
1) EXIF_TAG_COLOR_SPACE moved from list to list2 because of value 0xffff
2) EXIF_TAG_SUBJECT_DISTANCE_RANGE removed from list because its duplicate in list2 was used anyway
3) missing value 0x0009 of EXIF_TAG_FLASH added as "Flash fired, compulsatory flash mode"

Fix of bug #937505 submitted by Hubert Verstraete <hubs@users.sourceforge>:
4) value 0x0058 of EXIF_TAG_FLASH added as "Flash did not fire, auto mode, red-eye reduction mode"

20 years ago|| instead of && caused rejecting all mnotes
Jan Patera [Wed, 5 May 2004 18:02:23 +0000 (20:02 +0200)]
|| instead of && caused rejecting all mnotes

20 years ago2004-05-04 Lutz Mueller <lutz@users.sourceforge.net>
Lutz Mueller [Tue, 4 May 2004 21:27:01 +0000 (23:27 +0200)]
2004-05-04  Lutz Mueller <lutz@users.sourceforge.net>

* libexif/olympus: Make it support Nikon maker notes, too.
  Code based on work by Serge Droz <serge.droz@psi.ch>.

20 years ago2004-05-03 Lutz Mueller <lutz@users.sourceforge.net>
Lutz Mueller [Mon, 3 May 2004 20:07:26 +0000 (22:07 +0200)]
2004-05-03  Lutz Mueller <lutz@users.sourceforge.net>

* libexif/exif-entry.c (exif_entry_initialize):
  Added EXIF_TAG_PIXEL_[X,Y]_DIMENSION (thanks to Antonio Scuri
  <scuri@tecgraf.puc-rio.br>).

20 years ago2004-05-03 Lutz Mueller <lutz@users.sourceforge.net>
Lutz Mueller [Mon, 3 May 2004 19:01:18 +0000 (21:01 +0200)]
2004-05-03  Lutz Mueller <lutz@users.sourceforge.net>

* libexif/exif-tag.c: Hide some functions there that have been
  requested by Antonio Scuri <scuri@tecgraf.puc-rio.br>.

20 years ago2004-05-02 Lutz Mueller <lutz@users.sourceforge.net>
Lutz Mueller [Sun, 2 May 2004 20:59:23 +0000 (22:59 +0200)]
2004-05-02  Lutz Mueller <lutz@users.sourceforge.net>

* configure.in: GETTEXT_PACKAGE=${PACKAGE}-${LIBEXIF_CURRENT}
  on request of Ilya Konstantinov <future@shiny.co.il>
  (Debian needs it).

20 years ago2004-05-02 Lutz Mueller <lutz@users.sourceforge.net>
Lutz Mueller [Sun, 2 May 2004 20:39:20 +0000 (22:39 +0200)]
2004-05-02  Lutz Mueller <lutz@users.sourceforge.net>

* libjpeg/jpeg-marker.h: No implicit enum declaration. Seen by
  Antonio Scuri <scuri@tecgraf.puc-rio.br>.

20 years agoactually ship our _stdint.h
Hans Ulrich Niedermann [Wed, 7 Apr 2004 00:39:10 +0000 (02:39 +0200)]
actually ship our _stdint.h

20 years agoCreate and use _stdint.h
Hans Ulrich Niedermann [Tue, 6 Apr 2004 19:31:55 +0000 (21:31 +0200)]
Create and use _stdint.h

20 years agoprepare versions for 0.7.0 release
Hans Ulrich Niedermann [Tue, 6 Apr 2004 13:16:19 +0000 (15:16 +0200)]
prepare versions for 0.7.0 release

20 years ago2004-04-04 Lutz Mueller lutz@users.sourceforge.net
Lutz Mueller [Sun, 4 Apr 2004 09:01:01 +0000 (11:01 +0200)]
2004-04-04  Lutz Mueller lutz@users.sourceforge.net

* libexif/exif-data.c: If we don't know a tag we are going to parse,
  stop loading. This should fix bug #138238.

20 years agoPlease don't crash whenever calling memset
Jan Patera [Fri, 2 Apr 2004 16:10:30 +0000 (18:10 +0200)]
Please don't crash whenever calling memset

20 years agoFix of a recently introduced typo: "Stanard" -> "Standard"
Jan Patera [Fri, 2 Apr 2004 16:09:12 +0000 (18:09 +0200)]
Fix of a recently introduced typo: "Stanard" -> "Standard"

20 years ago2004-04-02 Jan Patera <patera@users.sourceforge.net>
Jan Patera [Fri, 2 Apr 2004 15:59:34 +0000 (17:59 +0200)]
2004-04-02  Jan Patera <patera@users.sourceforge.net>

* libexif/pentax/exif-mnote-data-pentax.c: correct search for values

20 years agoA few changes & fixes of the code compaction dated 2004-03-15:
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

20 years agodo include inttypes.h not stdint.h
Jörg Hoh [Thu, 1 Apr 2004 20:37:39 +0000 (22:37 +0200)]
do include inttypes.h not stdint.h

20 years ago- use types of appropriate size if stdint.h is available
Jörg Hoh [Thu, 1 Apr 2004 20:24:22 +0000 (22:24 +0200)]
- use types of appropriate size if stdint.h is available

20 years agoNo gettextize messages, please
Hans Ulrich Niedermann [Sat, 20 Mar 2004 11:24:25 +0000 (12:24 +0100)]
No gettextize messages, please

20 years ago- Code simplification
Jörg Hoh [Fri, 19 Mar 2004 19:57:30 +0000 (20:57 +0100)]
- Code simplification
- sizeof(char) == 1 (according to the C standard)

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

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

20 years ago2004-03-03 Lutz Mueller <lutz@users.sourceforge.net>
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.

20 years ago2004-03-03 Jan Patera <patera@users.sourceforge.net>
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

20 years agoFixes of changes "2004-03-02 Joerg Hoh<joerg@devone.org>":
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

20 years ago2004-03-02 Lutz Mueller <lutz@users.sourceforge.net>
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

20 years ago * libexif/pentax/exif-mnote-data-pentax.c: Fixed flipped inequation
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

20 years agoexif_mnote_data_pentax_get_value: Fixed flipped inequation causing all value requests...
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

20 years ago2004-02-02 Jan Patera <patera@users.sourceforge.net>
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

20 years agopropper skipping of JPEG_MARKER_COM when searching for JPEG_MARKER_APP1 with exif...
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

20 years ago2004-01-19 Lutz Mueller <lutz@users.sourceforge.net>
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.

20 years agoundo changes breaking build
Hans Ulrich Niedermann [Sat, 10 Jan 2004 19:24:33 +0000 (20:24 +0100)]
undo changes breaking build

20 years ago2004-01-08 Lutz Mueller <lutz@users.sourceforge.net>
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.

20 years ago2004-01-07 Jan Patera <patera@users.sourceforge.net>
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

20 years agoEXIF_TAG_COMPONENTS_CONFIGURATION, EXIF_TAG_COPYRIGHT:
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

20 years ago1) Two new arguments (char *val, unsinged int maxlen) added to the
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.

20 years agoexif_mnote_data_pentax_get_value(), mnote_pentax_entry_get_value():
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

20 years agoexif_mnote_data_olympus_get_value(), mnote_olympus_entry_get_value():
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

20 years agoexif_mnote_data_canon_get_value(), mnote_canon_entry_get_value():
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

20 years ago2003-12-09 Lutz Mueller <lutz@users.sourceforge.net>
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

20 years ago2003-12-08 Lutz Mueller <lutz@users.sourceforge.net>
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.

20 years ago2003-12-01 Lutz Mueller <lutz@users.sourceforge.net>
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.

20 years ago2003-12-01 Lutz Mueller <lutz@users.sourceforge.net>
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>.

20 years ago*** empty log message ***
Lutz Mueller [Thu, 30 Oct 2003 22:10:45 +0000 (23:10 +0100)]
*** empty log message ***

20 years ago2003-10-30 Lutz Mueller <lutz@users.sourceforge.net>
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.

20 years ago2003-10-30 Lutz Mueller <lutz@users.sourceforge.net>
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>.

20 years ago2003-10-30 Lutz Mueller <lutz@users.sourceforge.net>
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>.

20 years ago2003-10-28 Lutz Mueller <lutz@users.sourceforge.net>
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.

20 years ago2003-10-28 Lutz Mueller <lutz@users.sourceforge.net>
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>.

20 years ago2003-10-28 Lutz Mueller <lutz@users.sourceforge.net>
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>.

20 years agono relative files in .cvsignore
Hans Ulrich Niedermann [Mon, 27 Oct 2003 22:46:21 +0000 (23:46 +0100)]
no relative files in .cvsignore

20 years agouse $(top_builddir) instead of .../
Hans Ulrich Niedermann [Mon, 27 Oct 2003 22:46:08 +0000 (23:46 +0100)]
use $(top_builddir) instead of .../

20 years ago2003-10-27 Lutz Mueller <lutz@users.sourceforge.net>
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).

20 years ago2003-10-27 Lutz Mueller <lutz@users.sourceforge.net>
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.

20 years agointl subdir gets added by gettextize
Hans Ulrich Niedermann [Mon, 27 Oct 2003 17:32:32 +0000 (18:32 +0100)]
intl subdir gets added by gettextize

20 years agopo/Makefile.in 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

20 years ago2003-10-26 Lutz Mueller <lutz@users.sourceforge.net>
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.

20 years ago*** empty log message ***
Lutz Mueller [Sun, 26 Oct 2003 10:24:26 +0000 (11:24 +0100)]
*** empty log message ***

20 years ago2003-10-26 Lutz Mueller <lutz@users.sourceforge.net>
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

20 years ago2003-10-26 Lutz Mueller <lutz@users.sourceforge.net>
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.

20 years ago2003-10-26 Lutz Mueller <lutz@users.sourceforge.net>
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.

20 years ago2003-10-15 Lutz Mueller <lutz@users.sourceforge.net>
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>.

20 years ago2003-10-08 Lutz Mueller <lutz@users.sourceforge.net>
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>.

20 years ago2003-10-08 Lutz Mueller <lutz@users.sourceforge.net>
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>.

20 years ago*** empty log message ***
Lutz Mueller [Sun, 28 Sep 2003 18:00:06 +0000 (20:00 +0200)]
*** empty log message ***

20 years ago2003-09-28 Lutz Mueller <lutz@users.sourceforge.net>
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>.

20 years agoDrop EOL blanks and // comments
Arnaud Launay [Wed, 17 Sep 2003 11:31:06 +0000 (13:31 +0200)]
Drop EOL blanks and // comments