diff --git a/config/configure.ac b/config/configure.ac index 7e4cba79..9f931d94 100644 --- a/config/configure.ac +++ b/config/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(Exiv2, 0.6.1, ahuggel@gmx.net) +AC_INIT(Exiv2, 0.6.2, ahuggel@gmx.net) AC_CONFIG_SRCDIR([src/exif.cpp]) AC_CONFIG_HEADER([./config/config.h]) AC_CONFIG_AUX_DIR([./config]) diff --git a/doc/ChangeLog b/doc/ChangeLog index b087d74e..6e65204b 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,27 @@ +Changes from version 0.6.1 to 0.6.2 +----------------------------------- + +* Exiv2 utility + - [feature] New -M option to run modification commands directly + from the command line. + - 0000421: [tools] Command parser fails if no type is specified with a + modify command. + - 0000416: [exif] Fix Exiv2 modify action to use non-intrusive writing + whenever possible. + - 0000418: [feature] Add Exiv2 option to specify path of extracted. + and inserted files. (Suggested by Brian Pugh) + +* Exiv2 library + - 0000408: [build environment] 0.6.1 does not build on OS X: Add libtool + support for automatic library creation (see README). + (Reported by Thomas Lunde and others) + - 0000409: [build environment] compiling emits type warnings. (Thomas Lunde + and others) + - 0000410: [build environment] config.h must be installed, -DHAVE_CONFIG_H + flag should not be necessary. (Daniel Foote and others) + - 0000411: [exif] Support non-standard Ifd layout. (Jeffrey J. Early) + + Changes from version 0.6 to 0.6.1 --------------------------------- @@ -8,7 +32,7 @@ Changes from version 0.6 to 0.6.1 * Exiv2 library * Fixed bug #407: Writing metadata to image after modifications may - loose thumbnail + lose thumbnail. Thanks to Jeffrey J. Early for pointing out this bug. * Added CommentValue diff --git a/src/Makefile b/src/Makefile index 7fb55b39..1c2f8788 100644 --- a/src/Makefile +++ b/src/Makefile @@ -208,11 +208,11 @@ install-header: else :; fi; \ done -install-lib: install-header +install-lib: lib install-header $(INSTALL_DIRS) $(libdir) @$(LIBTOOL) --mode=install $(INSTALL_DATA) $(LIBRARY) $(libdir)/$(LIBRARY) -install: install-lib +install: $(EXIV2BIN) install-lib $(INSTALL_DIRS) $(bindir) @$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(EXIV2EXE) $(bindir)/$(EXIV2EXE) diff --git a/src/cmd.txt b/src/cmd.txt index b4bce149..6083d474 100644 --- a/src/cmd.txt +++ b/src/cmd.txt @@ -35,10 +35,12 @@ add Iptc.Application2.Credit String "mee too! (1)" add Iptc.Application2.Credit mee too! (2) del Iptc.Application2.Headline +set Iptc.Application2.Headline Filename + add Exif.Image.WhitePoint Short 32 12 4 5 6 - set Exif.Image.DateTime Ascii "Zwanzig nach fuenf" +set Exif.Image.DateTime Ascii "Zwanzig nach fuenf" set Exif.Image.Artist Ascii nobody - set Exif.Image.Artist "Vincent van Gogh" + set Exif.Image.Artist "Vincent van Gogh" set Exif.Photo.UserComment Comment charset=Ascii This is an ASCII Exif comment diff --git a/src/doxygen.hpp b/src/doxygen.hpp index 39b66058..c2f25bf3 100644 --- a/src/doxygen.hpp +++ b/src/doxygen.hpp @@ -8,7 +8,7 @@ @date 07-Feb-04, ahu: created */ /*! - @mainpage Exif and Iptc metadata manipulation library and tools v0.6 + @mainpage Exif and Iptc metadata manipulation library and tools v0.6.2 @section overview Exiv2 Overview @@ -80,18 +80,18 @@
$ svn checkout svn://dev.robotbattle.com/exiv2/trunk .
To download the test data and test drivers for version 0.6 from - the repository, change to your local exiv2-0.6 directory and use the +
To download the test data and test drivers for version 0.6.2 from + the repository, change to your local exiv2-0.6.2 directory and use the following command:
-$ svn export svn://dev.robotbattle.com/exiv2/tags/Exiv2-0_6_041212/test
$ svn export svn://dev.robotbattle.com/exiv2/tags/0.6.2/test
If you'd like to contribute code, please contact me. @section license License -
Copyright (C) 2004 Andreas Huggel
Copyright (C) 2004, 2005 Andreas Huggel
%Exiv2 is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as
diff --git a/src/exiv2.cpp b/src/exiv2.cpp
index 7a16c591..86e170d4 100644
--- a/src/exiv2.cpp
+++ b/src/exiv2.cpp
@@ -736,8 +736,8 @@ namespace {
}
std::string value;
- Exiv2::TypeId type = Exiv2::invalidTypeId;
- bool explicitType = true;
+ Exiv2::TypeId type = defaultType;
+ bool explicitType = false;
if (cmdId != del) {
// Get type and value
std::string::size_type typeStart
@@ -749,29 +749,24 @@ namespace {
if ( keyEnd == std::string::npos
|| typeStart == std::string::npos
- || typeEnd == std::string::npos
|| valStart == std::string::npos) {
throw Exiv2::Error(Exiv2::toString(num)
- + ": Invalid command line");
+ + ": Invalid command line ");
}
- std::string typeStr(line.substr(typeStart, typeEnd-typeStart));
- type = Exiv2::TypeInfo::typeId(typeStr);
- if (type != Exiv2::invalidTypeId) {
- valStart = line.find_first_not_of(delim, typeEnd+1);
- if (valStart == std::string::npos) {
- throw Exiv2::Error(Exiv2::toString(num)
- + ": Invalid command line");
+ if (typeEnd != std::string::npos) {
+ std::string typeStr(line.substr(typeStart, typeEnd-typeStart));
+ Exiv2::TypeId tmpType = Exiv2::TypeInfo::typeId(typeStr);
+ if (tmpType != Exiv2::invalidTypeId) {
+ valStart = line.find_first_not_of(delim, typeEnd+1);
+ if (valStart == std::string::npos) {
+ throw Exiv2::Error(Exiv2::toString(num)
+ + ": Invalid command line ");
+ }
+ type = tmpType;
+ explicitType = true;
}
}
- else {
- type = defaultType;
- explicitType = false;
- }
- if (type == Exiv2::invalidTypeId) {
- throw Exiv2::Error(Exiv2::toString(num)
- + ": Invalid type");
- }
value = line.substr(valStart, valEnd+1-valStart);
std::string::size_type last = value.length()-1;
diff --git a/src/exv_msvc.h b/src/exv_msvc.h
index 5d3fe955..e6a140ef 100644
--- a/src/exv_msvc.h
+++ b/src/exv_msvc.h
@@ -1,6 +1,6 @@
-// ******************************************************************* -*- C -*-
+/* ***************************************************************** -*- C -*- */
/*!
- @file exv_msvc.hpp
+ @file exv_msvc.h
@brief Configuration settings for MSVC
@version $Rev$
@author Andreas Huggel (ahu)
@@ -23,13 +23,13 @@
#define PACKAGE_NAME "Exiv2"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "Exiv2 0.6.1"
+#define PACKAGE_STRING "Exiv2 0.6.2"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "exiv2"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "0.6.1"
+#define PACKAGE_VERSION "0.6.2"
/* Define to `int' if