Hello community, here is the log from the commit of package libwpd for openSUSE:Factory checked in at 2013-08-21 13:45:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libwpd (Old) and /work/SRC/openSUSE:Factory/.libwpd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libwpd" Changes: -------- --- /work/SRC/openSUSE:Factory/libwpd/libwpd.changes 2013-05-16 11:10:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libwpd.new/libwpd.changes 2013-08-21 13:45:25.000000000 +0200 @@ -1,0 +2,8 @@ +Mon Aug 19 14:49:39 UTC 2013 - [email protected] + +- upgrade to version 0.9.8 + - implement WPX_SEEK_END for WPXMemoryStream: fixes an infinite + loop in libmwaw when using WPXBinaryData over its stream + interface. + +------------------------------------------------------------------- Old: ---- libwpd-0.9.8.tar.xz New: ---- libwpd-0.9.9.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libwpd.spec ++++++ --- /var/tmp/diff_new_pack.Ip97Tg/_old 2013-08-21 13:45:26.000000000 +0200 +++ /var/tmp/diff_new_pack.Ip97Tg/_new 2013-08-21 13:45:26.000000000 +0200 @@ -24,7 +24,7 @@ BuildRequires: pkgconfig BuildRequires: xz BuildRequires: zlib-devel -Version: 0.9.8 +Version: 0.9.9 Release: 0 Summary: Library for Importing WordPerfect (tm) Documents License: LGPL-2.1+ and MPL-2.0+ ++++++ libwpd-0.9.8.tar.xz -> libwpd-0.9.9.tar.xz ++++++ ++++ 2413 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libwpd-0.9.8/CREDITS new/libwpd-0.9.9/CREDITS --- old/libwpd-0.9.8/CREDITS 2011-08-31 19:12:04.000000000 +0200 +++ new/libwpd-0.9.9/CREDITS 2013-06-01 08:28:25.000000000 +0200 @@ -31,7 +31,7 @@ considerably libwpd stability. Andrew Ziem <[email protected]> Fix memory leak in standalone WordPerfect converters. -David Hislop <[email protected]> Build fixed on MSVC++ and project +David Hislop <[email protected]> Build fixed on MSVC++ and project files to build wpd2foo converters with MSVC++ compilers. Edward Mendelson <[email protected]> Miscellaneous character conversion fixes. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libwpd-0.9.8/ChangeLog new/libwpd-0.9.9/ChangeLog --- old/libwpd-0.9.8/ChangeLog 2013-05-14 12:11:39.000000000 +0200 +++ new/libwpd-0.9.9/ChangeLog 2013-08-13 10:44:11.000000000 +0200 @@ -1,3 +1,58 @@ +2013-08-13 Fridrich Štrba <[email protected]> [3a4573800034721e14d6464bd74f0d2970c37a15] + + Stuff-up the NEWS + + +2013-08-13 Fridrich Štrba <[email protected]> [c760f2744dcc249bf39c318f26243bba07ff7897] + + Bump version + + +2013-07-26 David Tardon <[email protected]> [f547e459dbb518370c1185882b906d58dd39dfbc] + + drop unused private attribute + + +2013-07-06 David Tardon <[email protected]> [b73de15e1cc8486634709636a07b130be107f20d] + + coverity: uninitialized variable + + +2013-07-06 David Tardon <[email protected]> [b91d47ee5475f5f0965a7936e6395600a46803c1] + + astyle + + +2013-07-06 David Tardon <[email protected]> [198caca8231359526d8e9a927b123e6e6cabe3fc] + + coverity: check ret. value of stat + + +2013-06-14 Laurent Alonso <[email protected]> [56551719b9e0bca766427cbd8e97de0b7d0468c9] + + WPX_SEEK_END for memory input stream + Fixes + + +2013-06-06 Fridrich Štrba <[email protected]> [909ad451758f8a8a2d7ba9502fc57820eb757c1e] + + Adapt the doxygen goodness to the new directory layout + + +2013-05-24 David Hislop <[email protected]> [4a3500e3628f238959114095b4fc2678e5c9d026] + + Metadata for wpd2html + + +2013-05-24 Fridrich Štrba <[email protected]> [bee6927a233f6fec1d9804e9376a9a36a53f01a8] + + Cleanup + + +2013-05-18 Fridrich Štrba <[email protected]> [f3b99eee07d7cef4c2d1c2af98a5641fdfd50f3f] + + Appease older autotools + + 2013-05-14 Fridrich Štrba <[email protected]> [a0b19757df23875fe3c27e59154420a70a34fdb2] Adapt the VS2010 project files diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libwpd-0.9.8/Makefile.am new/libwpd-0.9.9/Makefile.am --- old/libwpd-0.9.8/Makefile.am 2013-05-10 22:00:48.000000000 +0200 +++ new/libwpd-0.9.9/Makefile.am 2013-06-01 08:28:25.000000000 +0200 @@ -25,6 +25,7 @@ NEWS \ README \ TODO + distclean-local: rm -rf *.cache *~ *.pc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libwpd-0.9.8/NEWS new/libwpd-0.9.9/NEWS --- old/libwpd-0.9.8/NEWS 2013-05-14 08:51:36.000000000 +0200 +++ new/libwpd-0.9.9/NEWS 2013-08-13 10:40:12.000000000 +0200 @@ -1,4 +1,10 @@ CHANGES: +0.9.8 - 0.9.9 +- Miscellaneous coverity fixes (David Tardon) +- WPX_SEEK_END for WPXMemoryInputStream (Laurent Alonso) +- Metadata for wpd2html (David Hislop) +- Cleanup and build fixes (Fridrich Strba) + 0.9.7 - 0.9.8 - Fix buffer allocation in WPXString::sprintf that can lead to crash - Fix crash reading invalid OLE stream diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libwpd-0.9.8/configure.ac new/libwpd-0.9.9/configure.ac --- old/libwpd-0.9.8/configure.ac 2013-05-14 08:25:35.000000000 +0200 +++ new/libwpd-0.9.9/configure.ac 2013-08-13 10:36:26.000000000 +0200 @@ -7,7 +7,7 @@ # ==================== m4_define([libwpd_version_major],[0]) m4_define([libwpd_version_minor],[9]) -m4_define([libwpd_version_micro],[8]) +m4_define([libwpd_version_micro],[9]) m4_define([libwpd_version],[libwpd_version_major.libwpd_version_minor.libwpd_version_micro]) # ============= @@ -17,7 +17,7 @@ AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE([1.11 foreign dist-xz dist-bzip2]) -AM_SILENT_RULES([yes]) +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_LANG([C++]) # =========================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libwpd-0.9.8/docs/doxygen/doxygen.cfg new/libwpd-0.9.9/docs/doxygen/doxygen.cfg --- old/libwpd-0.9.8/docs/doxygen/doxygen.cfg 2011-11-29 10:03:48.000000000 +0100 +++ new/libwpd-0.9.9/docs/doxygen/doxygen.cfg 2013-08-12 16:58:23.000000000 +0200 @@ -598,7 +598,7 @@ # directories like "/usr/src/myproject". Separate the files or directories # with spaces. -INPUT = ../../src/lib +INPUT = ../../src/lib ../../inc/libwpd ../../inc/libwpd-stream # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libwpd-0.9.8/libwpd.spec new/libwpd-0.9.9/libwpd.spec --- old/libwpd-0.9.8/libwpd.spec 2013-05-14 12:11:33.000000000 +0200 +++ new/libwpd-0.9.9/libwpd.spec 2013-08-13 10:41:46.000000000 +0200 @@ -1,5 +1,5 @@ %define name libwpd -%define version 0.9.8 +%define version 0.9.9 %define RELEASE 1 %define release %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libwpd-0.9.8/src/conv/html/HtmlDocumentGenerator.cpp new/libwpd-0.9.9/src/conv/html/HtmlDocumentGenerator.cpp --- old/libwpd-0.9.8/src/conv/html/HtmlDocumentGenerator.cpp 2013-04-18 13:10:53.000000000 +0200 +++ new/libwpd-0.9.9/src/conv/html/HtmlDocumentGenerator.cpp 2013-08-12 16:56:45.000000000 +0200 @@ -56,22 +56,27 @@ void HtmlDocumentGenerator::setDocumentMetaData(const WPXPropertyList &propList) { - if (propList["author"]) - *m_pOutputStream << "<meta name=\"author\" content=\"" << propList["author"]->getStr().cstr() << "\">" << std::endl; - if (propList["subject"]) - *m_pOutputStream << "<meta name=\"subject\" content=\"" << propList["subject"]->getStr().cstr() << "\">" << std::endl; - if (propList["publisher"]) - *m_pOutputStream << "<meta name=\"publisher\" content=\"" << propList["publisher"]->getStr().cstr() << "\">" << std::endl; - if (propList["keywords"]) - *m_pOutputStream << "<meta name=\"keywords\" content=\"" << propList["keywords"]->getStr().cstr() << "\">" << std::endl; - if (propList["language"]) - *m_pOutputStream << "<meta name=\"language\" content=\"" << propList["language"]->getStr().cstr() << "\">" << std::endl; - if (propList["abstract"]) - *m_pOutputStream << "<meta name=\"abstract\" content=\"" << propList["abstract"]->getStr().cstr() << "\">" << std::endl; - if (propList["descriptive-name"]) - *m_pOutputStream << "<meta name=\"descriptive-name\" content=\"" << propList["descriptive-name"]->getStr().cstr() << "\">" << std::endl; - if (propList["descriptive-type"]) - *m_pOutputStream << "<meta name=\"descriptive-type\" content=\"" << propList["descriptive-type"]->getStr().cstr() << "\">" << std::endl; + if (propList["meta:initial-creator"]) + *m_pOutputStream << "<meta name=\"author\" content=\"" << propList["meta:initial-creator"]->getStr().cstr() << "\">" << std::endl; + if (propList["dc:creator"]) + *m_pOutputStream << "<meta name=\"typist\" content=\"" << propList["dc:creator"]->getStr().cstr() << "\">" << std::endl; + if (propList["dc:subject"]) + *m_pOutputStream << "<meta name=\"subject\" content=\"" << propList["dc:subject"]->getStr().cstr() << "\">" << std::endl; + if (propList["dc:publisher"]) + *m_pOutputStream << "<meta name=\"publisher\" content=\"" << propList["dc:publisher"]->getStr().cstr() << "\">" << std::endl; + if (propList["meta:keyword"]) + *m_pOutputStream << "<meta name=\"keywords\" content=\"" << propList["meta:keyword"]->getStr().cstr() << "\">" << std::endl; + if (propList["dc:language"]) + *m_pOutputStream << "<meta name=\"language\" content=\"" << propList["dc:language"]->getStr().cstr() << "\">" << std::endl; + if (propList["dc:description"]) + *m_pOutputStream << "<meta name=\"abstract\" content=\"" << propList["dc:description"]->getStr().cstr() << "\">" << std::endl; + if (propList["libwpd:descriptive-name"]) + { + *m_pOutputStream << "<meta name=\"descriptive-name\" content=\"" << propList["libwpd:descriptive-name"]->getStr().cstr() << "\">" << std::endl; + *m_pOutputStream << "<title>" << propList["libwpd:descriptive-name"]->getStr().cstr() << "</title>" << std::endl; + } + if (propList["libwpd:descriptive-type"]) + *m_pOutputStream << "<meta name=\"descriptive-type\" content=\"" << propList["libwpd:descriptive-type"]->getStr().cstr() << "\">" << std::endl; } void HtmlDocumentGenerator::startDocument() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libwpd-0.9.8/src/conv/text/TextDocumentGenerator.cpp new/libwpd-0.9.9/src/conv/text/TextDocumentGenerator.cpp --- old/libwpd-0.9.8/src/conv/text/TextDocumentGenerator.cpp 2013-04-18 13:10:34.000000000 +0200 +++ new/libwpd-0.9.9/src/conv/text/TextDocumentGenerator.cpp 2013-08-12 16:58:23.000000000 +0200 @@ -31,7 +31,6 @@ #define UCS_TAB 0x0009 TextDocumentGenerator::TextDocumentGenerator(const bool isInfo) : - m_currentListLevel(0), m_isInfo(isInfo) { } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libwpd-0.9.8/src/conv/text/TextDocumentGenerator.h new/libwpd-0.9.9/src/conv/text/TextDocumentGenerator.h --- old/libwpd-0.9.8/src/conv/text/TextDocumentGenerator.h 2013-05-10 22:29:51.000000000 +0200 +++ new/libwpd-0.9.9/src/conv/text/TextDocumentGenerator.h 2013-08-12 16:58:23.000000000 +0200 @@ -100,7 +100,6 @@ virtual void insertEquation(const WPXPropertyList & /* propList */, const WPXString & /* data */) {} private: - unsigned int m_currentListLevel; bool m_isInfo; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libwpd-0.9.8/src/lib/WPXMemoryStream.cpp new/libwpd-0.9.9/src/lib/WPXMemoryStream.cpp --- old/libwpd-0.9.8/src/lib/WPXMemoryStream.cpp 2013-04-18 13:19:43.000000000 +0200 +++ new/libwpd-0.9.9/src/lib/WPXMemoryStream.cpp 2013-08-12 17:04:09.000000000 +0200 @@ -71,6 +71,8 @@ m_offset += offset; else if (seekType == WPX_SEEK_SET) m_offset = offset; + else if (seekType == WPX_SEEK_END) + m_offset = m_size+offset; if (m_offset < 0) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libwpd-0.9.8/src/lib/WPXOLEStream.cpp new/libwpd-0.9.9/src/lib/WPXOLEStream.cpp --- old/libwpd-0.9.8/src/lib/WPXOLEStream.cpp 2013-05-14 10:02:03.000000000 +0200 +++ new/libwpd-0.9.9/src/lib/WPXOLEStream.cpp 2013-08-12 16:58:23.000000000 +0200 @@ -584,7 +584,7 @@ return size >= m_header.m_threshold; } //! returns the maximum size of a big/small block - unsigned long getMaximumSize(bool isBig) const + static unsigned long getMaximumSize(bool isBig) { return isBig ? 512 : 64; } @@ -1076,7 +1076,7 @@ if (!p) { WPD_DEBUG_MSG(("DirTree::setInRedBlackTreeForm: OOPS can not find tree to modified\n")); - GenericException(); + throw GenericException(); } unsigned newH = height==0 ? 0 : height-1; if (height==0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libwpd-0.9.8/src/lib/WPXStreamImplementation.cpp new/libwpd-0.9.9/src/lib/WPXStreamImplementation.cpp --- old/libwpd-0.9.8/src/lib/WPXStreamImplementation.cpp 2013-05-10 22:24:26.000000000 +0200 +++ new/libwpd-0.9.9/src/lib/WPXStreamImplementation.cpp 2013-08-12 16:58:23.000000000 +0200 @@ -116,8 +116,8 @@ } struct stat status; - stat( filename, &status ); - if ( !S_ISREG(status.st_mode) ) + const int retval = stat( filename, &status ); + if ( (0 != retval) || !S_ISREG(status.st_mode) ) { delete d; d = 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libwpd-0.9.8/src/lib/libwpd_internal.cpp new/libwpd-0.9.9/src/lib/libwpd_internal.cpp --- old/libwpd-0.9.8/src/lib/libwpd_internal.cpp 2013-05-10 22:04:45.000000000 +0200 +++ new/libwpd-0.9.9/src/lib/libwpd_internal.cpp 2013-08-12 16:58:23.000000000 +0200 @@ -31,7 +31,7 @@ uint8_t readU8(WPXInputStream *input, WPXEncryption *encryption) { - unsigned long numBytesRead; + unsigned long numBytesRead = 0; uint8_t const *p = (encryption ? encryption->readAndDecrypt(input, sizeof(uint8_t), numBytesRead) : input->read(sizeof(uint8_t), numBytesRead)); @@ -44,7 +44,7 @@ uint16_t readU16(WPXInputStream *input, WPXEncryption *encryption, bool bigendian) { - unsigned long numBytesRead; + unsigned long numBytesRead = 0; uint8_t const *p = (encryption ? encryption->readAndDecrypt(input, sizeof(uint16_t), numBytesRead) : input->read(sizeof(uint16_t), numBytesRead)); @@ -64,7 +64,7 @@ uint32_t readU32(WPXInputStream *input, WPXEncryption *encryption, bool bigendian) { - unsigned long numBytesRead; + unsigned long numBytesRead = 0; uint8_t const *p = (encryption ? encryption->readAndDecrypt(input, sizeof(uint32_t), numBytesRead) : input->read(sizeof(uint32_t), numBytesRead)); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
