Hello community,

here is the log from the commit of package gmime for openSUSE:Factory checked 
in at 2013-08-10 11:42:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gmime (Old)
 and      /work/SRC/openSUSE:Factory/.gmime.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gmime"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gmime/gmime.changes      2013-07-05 
15:03:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gmime.new/gmime.changes 2013-08-10 
11:42:06.000000000 +0200
@@ -1,0 +2,14 @@
+Thu Aug  8 14:55:57 UTC 2013 - dims...@opensuse.org
+
+- Update to version 2.6.17:
+  + If no Content-Type header exists and the parent is a
+    multipart/digest, default to message/rfc822 instead of
+    text/plain.
+  + If the Content-Type header didn't exist, use the default
+    content-type values instead of assuming text/plain.
+  + According to Rfc2046 Section 5.1.1, boundary markers may
+    optionally be followed by lwsp (bgo#705612).
+  + Fixed to properly handle a 0-byte substream at the end of the
+    very last source stream (bgo#701572).
+
+-------------------------------------------------------------------

Old:
----
  gmime-2.6.16.tar.xz

New:
----
  gmime-2.6.17.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gmime.spec ++++++
--- /var/tmp/diff_new_pack.bY6DDe/_old  2013-08-10 11:42:08.000000000 +0200
+++ /var/tmp/diff_new_pack.bY6DDe/_new  2013-08-10 11:42:08.000000000 +0200
@@ -19,7 +19,7 @@
 %bcond_without mono
 
 Name:           gmime
-Version:        2.6.16
+Version:        2.6.17
 Release:        0
 Url:            http://spruce.sourceforge.net/gmime/
 Summary:        MIME Parser and Utility Library

++++++ gmime-2.6.16.tar.xz -> gmime-2.6.17.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gmime-2.6.16/ChangeLog new/gmime-2.6.17/ChangeLog
--- old/gmime-2.6.16/ChangeLog  2013-06-30 19:35:03.000000000 +0200
+++ new/gmime-2.6.17/ChangeLog  2013-08-08 14:22:30.000000000 +0200
@@ -1,3 +1,36 @@
+2013-08-08  Jeffrey Stedfast  <f...@gnome.org>
+
+       * README: Bumped version
+
+       * configure.ac: Bumped version to 2.6.17
+
+2013-08-08  Jeffrey Stedfast  <f...@gnome.org>
+
+       * gmime/gmime-parser.c (parser_content_type): If no Content-Type
+       header exists and the parent is a multipart/digest, default to
+       message/rfc822 instead of text/plain.
+       (parser_construct_leaf_part): If the Content-Type header didn't
+       exist, use the default content-type values instead of assuming
+       text/plain.
+
+2013-08-07  Jeffrey Stedfast  <f...@gnome.org>
+
+       According to Rfc2046 Section 5.1.1, boundary markers may optionally
+       be followed by lwsp.
+
+       * gmime/gmime-parser.c (is_boundary): New convenience function to
+       check that the text matches a boundary, possibly followed by lwsp.
+       (check_boundary): Use is_boundary().
+       (found_immediate_boundary): Use is_boundary().
+
+       Fixes bug #705612
+
+2013-07-02  Jeffrey Stedfast  <f...@gnome.org>
+
+       * gmime/gmime-stream-cat.c (stream_substream): Fixed to properly
+       handle a 0-byte substream at the end of the very last source
+       stream. Fixes bug #701572.
+
 2013-06-30  Jeffrey Stedfast  <f...@gnome.org>
 
        * README: Bumped version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gmime-2.6.16/README new/gmime-2.6.17/README
--- old/gmime-2.6.16/README     2013-06-30 18:53:42.000000000 +0200
+++ new/gmime-2.6.17/README     2013-08-08 14:22:38.000000000 +0200
@@ -1,4 +1,4 @@
-                            GMime, version 2.6.16
+                            GMime, version 2.6.17
                    by Jeffrey Stedfast <f...@gnome.org>
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gmime-2.6.16/build/vs2008/config-win32.h 
new/gmime-2.6.17/build/vs2008/config-win32.h
--- old/gmime-2.6.16/build/vs2008/config-win32.h        2013-06-30 
18:56:58.000000000 +0200
+++ new/gmime-2.6.17/build/vs2008/config-win32.h        2013-08-08 
15:14:47.000000000 +0200
@@ -5,7 +5,7 @@
 /* #undef ENABLE_WARNINGS */
 
 /* Define to the GMime version */
-#define GMIME_VERSION "2.6.16"
+#define GMIME_VERSION "2.6.17"
 
 /* Define if libc defines an altzone variable */
 /* #undef HAVE_ALTZONE */
@@ -145,13 +145,13 @@
 #define PACKAGE_NAME "gmime"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "gmime 2.6.16"
+#define PACKAGE_STRING "gmime 2.6.17"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gmime"
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.6.16"
+#define PACKAGE_VERSION "2.6.17"
 
 /* The size of `off_t', as computed by sizeof. */
 #define SIZEOF_OFF_T 4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gmime-2.6.16/build/vs2010/config-win32.h 
new/gmime-2.6.17/build/vs2010/config-win32.h
--- old/gmime-2.6.16/build/vs2010/config-win32.h        2013-06-30 
18:56:58.000000000 +0200
+++ new/gmime-2.6.17/build/vs2010/config-win32.h        2013-08-08 
15:14:48.000000000 +0200
@@ -5,7 +5,7 @@
 /* #undef ENABLE_WARNINGS */
 
 /* Define to the GMime version */
-#define GMIME_VERSION "2.6.16"
+#define GMIME_VERSION "2.6.17"
 
 /* Define if libc defines an altzone variable */
 /* #undef HAVE_ALTZONE */
@@ -145,13 +145,13 @@
 #define PACKAGE_NAME "gmime"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "gmime 2.6.16"
+#define PACKAGE_STRING "gmime 2.6.17"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gmime"
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.6.16"
+#define PACKAGE_VERSION "2.6.17"
 
 /* The size of `off_t', as computed by sizeof. */
 #define SIZEOF_OFF_T 4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gmime-2.6.16/configure new/gmime-2.6.17/configure
--- old/gmime-2.6.16/configure  2013-06-30 18:56:31.000000000 +0200
+++ new/gmime-2.6.17/configure  2013-08-08 14:25:06.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for gmime 2.6.16.
+# Generated by GNU Autoconf 2.69 for gmime 2.6.17.
 #
 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gmime>.
 #
@@ -591,8 +591,8 @@
 # Identity of this package.
 PACKAGE_NAME='gmime'
 PACKAGE_TARNAME='gmime'
-PACKAGE_VERSION='2.6.16'
-PACKAGE_STRING='gmime 2.6.16'
+PACKAGE_VERSION='2.6.17'
+PACKAGE_STRING='gmime 2.6.17'
 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gmime'
 PACKAGE_URL=''
 
@@ -1449,7 +1449,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures gmime 2.6.16 to adapt to many kinds of systems.
+\`configure' configures gmime 2.6.17 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1520,7 +1520,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of gmime 2.6.16:";;
+     short | recursive ) echo "Configuration of gmime 2.6.17:";;
    esac
   cat <<\_ACEOF
 
@@ -1666,7 +1666,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-gmime configure 2.6.16
+gmime configure 2.6.17
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2272,7 +2272,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by gmime $as_me 2.6.16, which was
+It was created by gmime $as_me 2.6.17, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3209,7 +3209,7 @@
 
 # Define the identity of the package.
  PACKAGE='gmime'
- VERSION='2.6.16'
+ VERSION='2.6.17'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3400,11 +3400,11 @@
 
 GMIME_MAJOR_VERSION=2
 GMIME_MINOR_VERSION=6
-GMIME_MICRO_VERSION=16
-GMIME_INTERFACE_AGE=16
-GMIME_BINARY_AGE=616
+GMIME_MICRO_VERSION=17
+GMIME_INTERFACE_AGE=17
+GMIME_BINARY_AGE=617
 GMIME_API_VERSION=2.6
-GMIME_VERSION=2.6.16
+GMIME_VERSION=2.6.17
 
 
 
@@ -3415,13 +3415,13 @@
 
 
 
-$as_echo "#define GMIME_VERSION \"2.6.16\"" >>confdefs.h
+$as_echo "#define GMIME_VERSION \"2.6.17\"" >>confdefs.h
 
 
 # libtool versioning
 LT_RELEASE=2.6
 LT_CURRENT=600
-LT_REVISION=16
+LT_REVISION=17
 LT_AGE=600
 LT_CURRENT_MINUS_AGE=0
 
@@ -14308,7 +14308,7 @@
 Report bugs to <bug-libt...@gnu.org>."
 
 lt_cl_version="\
-gmime config.lt 2.6.16
+gmime config.lt 2.6.17
 configured by $0, generated by GNU Autoconf 2.69.
 
 Copyright (C) 2011 Free Software Foundation, Inc.
@@ -20326,7 +20326,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by gmime $as_me 2.6.16, which was
+This file was extended by gmime $as_me 2.6.17, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -20392,7 +20392,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-gmime config.status 2.6.16
+gmime config.status 2.6.17
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gmime-2.6.16/configure.ac 
new/gmime-2.6.17/configure.ac
--- old/gmime-2.6.16/configure.ac       2013-06-30 18:53:42.000000000 +0200
+++ new/gmime-2.6.17/configure.ac       2013-08-08 14:23:08.000000000 +0200
@@ -12,8 +12,8 @@
 #
 m4_define([gmime_major_version], [2])
 m4_define([gmime_minor_version], [6])
-m4_define([gmime_micro_version], [16])
-m4_define([gmime_interface_age], [16])
+m4_define([gmime_micro_version], [17])
+m4_define([gmime_interface_age], [17])
 m4_define([gmime_binary_age],
           [m4_eval(100 * gmime_minor_version + gmime_micro_version)])
 m4_define([gmime_version],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gmime-2.6.16/docs/reference/html/ch01.html 
new/gmime-2.6.17/docs/reference/html/ch01.html
--- old/gmime-2.6.16/docs/reference/html/ch01.html      2013-06-30 
20:11:18.000000000 +0200
+++ new/gmime-2.6.17/docs/reference/html/ch01.html      2013-08-08 
15:15:59.000000000 +0200
@@ -21,7 +21,7 @@
 </tr></table>
 <div class="chapter">
 <div class="titlepage"><div><div><h2 class="title">
-<a name="idp8210064"></a>Class hierarchy</h2></div></div></div>
+<a name="idp8824304"></a>Class hierarchy</h2></div></div></div>
 <pre class="screen">
     GMimeHeader
     <a class="link" href="gmime-GMimeParam.html#GMimeParam" title="struct 
GMimeParam">GMimeParam</a>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gmime-2.6.16/docs/reference/html/gmime-changes-2-0.html 
new/gmime-2.6.17/docs/reference/html/gmime-changes-2-0.html
--- old/gmime-2.6.16/docs/reference/html/gmime-changes-2-0.html 2013-06-30 
20:11:18.000000000 +0200
+++ new/gmime-2.6.17/docs/reference/html/gmime-changes-2-0.html 2013-08-08 
15:15:59.000000000 +0200
@@ -31,7 +31,7 @@
 <td valign="top" align="right"></td>
 </tr></table></div>
 <div class="refsect1">
-<a name="idp4710544"></a><h2>Incompatible changes from 1.0 to 2.0</h2>
+<a name="idp5313568"></a><h2>Incompatible changes from 1.0 to 2.0</h2>
 <p>
 See also the PORTING document in the toplevel GMime source directory.
 </p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gmime-2.6.16/docs/reference/html/gmime-changes-2-2.html 
new/gmime-2.6.17/docs/reference/html/gmime-changes-2-2.html
--- old/gmime-2.6.16/docs/reference/html/gmime-changes-2-2.html 2013-06-30 
20:11:18.000000000 +0200
+++ new/gmime-2.6.17/docs/reference/html/gmime-changes-2-2.html 2013-08-08 
15:15:59.000000000 +0200
@@ -29,7 +29,7 @@
 <td valign="top" align="right"></td>
 </tr></table></div>
 <div class="refsect1">
-<a name="idp4797696"></a><h2>Incompatible changes from 2.0 to 2.2</h2>
+<a name="idp5396320"></a><h2>Incompatible changes from 2.0 to 2.2</h2>
 <p>See also the PORTING document in the toplevel GMime source directory.</p>
 <p>There are no incompatible changes between 2.0 and 2.2.</p>
 <p>GMime 2.2 is both API and ABI compatible with GMime 2.0 meaning
@@ -41,7 +41,7 @@
 be deprecated in some future version, probably 3.0).</p>
 </div>
 <div class="refsect1">
-<a name="idp4843200"></a><h2>Replacement interfaces from 2.0 to 2.2</h2>
+<a name="idp5441808"></a><h2>Replacement interfaces from 2.0 to 2.2</h2>
 <div class="itemizedlist"><ul class="itemizedlist" type="disc">
 <li class="listitem"><p>
 <code class="function">g_mime_utils_8bit_header_decode()</code> has been split
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gmime-2.6.16/docs/reference/html/gmime-changes-2-4.html 
new/gmime-2.6.17/docs/reference/html/gmime-changes-2-4.html
--- old/gmime-2.6.16/docs/reference/html/gmime-changes-2-4.html 2013-06-30 
20:11:18.000000000 +0200
+++ new/gmime-2.6.17/docs/reference/html/gmime-changes-2-4.html 2013-08-08 
15:15:59.000000000 +0200
@@ -29,7 +29,7 @@
 <td valign="top" align="right"></td>
 </tr></table></div>
 <div class="refsect1">
-<a name="idp4832192"></a><h2>Changes from 2.2 to 2.4</h2>
+<a name="idp5423120"></a><h2>Changes from 2.2 to 2.4</h2>
 <p>GMime 2.4 has had a number of API changes since GMime
 2.2. To start, ALL public APIs that used to use off_t in GMime 2.2 now
 use gint64 so that the API and ABI do not change based on whether or
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gmime-2.6.16/docs/reference/html/gmime-changes-2-6.html 
new/gmime-2.6.17/docs/reference/html/gmime-changes-2-6.html
--- old/gmime-2.6.16/docs/reference/html/gmime-changes-2-6.html 2013-06-30 
20:11:18.000000000 +0200
+++ new/gmime-2.6.17/docs/reference/html/gmime-changes-2-6.html 2013-08-08 
15:15:59.000000000 +0200
@@ -29,7 +29,7 @@
 <td valign="top" align="right"></td>
 </tr></table></div>
 <div class="refsect1">
-<a name="idp4901312"></a><h2>Changes from 2.4 to 2.6</h2>
+<a name="idp5476688"></a><h2>Changes from 2.4 to 2.6</h2>
 <p>After releasing GMime 2.4, it was discovered that
 g_mime_stream_length() still returned ssize_t which, on 32bit systems,
 meant that the function was useless if the actual stream was larger
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gmime-2.6.16/docs/reference/html/gmime-compiling.html 
new/gmime-2.6.17/docs/reference/html/gmime-compiling.html
--- old/gmime-2.6.16/docs/reference/html/gmime-compiling.html   2013-06-30 
20:11:18.000000000 +0200
+++ new/gmime-2.6.17/docs/reference/html/gmime-compiling.html   2013-08-08 
15:15:59.000000000 +0200
@@ -31,7 +31,7 @@
 <td valign="top" align="right"></td>
 </tr></table></div>
 <div class="refsect1">
-<a name="idp1904832"></a><h2>Compiling GMime Applications on UNIX</h2>
+<a name="idp5293968"></a><h2>Compiling GMime Applications on UNIX</h2>
 <p>
 To compile a GMime application, you need to tell the compiler where to 
 find the GMime header files and libraries. This is done with the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gmime-2.6.16/docs/reference/html/gmime-gmime.html 
new/gmime-2.6.17/docs/reference/html/gmime-gmime.html
--- old/gmime-2.6.16/docs/reference/html/gmime-gmime.html       2013-06-30 
20:11:18.000000000 +0200
+++ new/gmime-2.6.17/docs/reference/html/gmime-gmime.html       2013-08-08 
15:15:59.000000000 +0200
@@ -78,7 +78,7 @@
 <hr>
 <div class="refsect2">
 <a name="GMIME-MICRO-VERSION:CAPS"></a><h3>GMIME_MICRO_VERSION</h3>
-<pre class="programlisting">#define GMIME_MICRO_VERSION (16)
+<pre class="programlisting">#define GMIME_MICRO_VERSION (17)
 </pre>
 <p>
 GMime's micro version.
@@ -96,7 +96,7 @@
 <hr>
 <div class="refsect2">
 <a name="GMIME-BINARY-AGE:CAPS"></a><h3>GMIME_BINARY_AGE</h3>
-<pre class="programlisting">#define GMIME_BINARY_AGE    (616)
+<pre class="programlisting">#define GMIME_BINARY_AGE    (617)
 </pre>
 <p>
 GMime's binary age.
@@ -105,7 +105,7 @@
 <hr>
 <div class="refsect2">
 <a name="GMIME-INTERFACE-AGE:CAPS"></a><h3>GMIME_INTERFACE_AGE</h3>
-<pre class="programlisting">#define GMIME_INTERFACE_AGE (16)
+<pre class="programlisting">#define GMIME_INTERFACE_AGE (17)
 </pre>
 <p>
 GMime's interface age.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gmime-2.6.16/docs/reference/html/gmime-question-index.html 
new/gmime-2.6.17/docs/reference/html/gmime-question-index.html
--- old/gmime-2.6.16/docs/reference/html/gmime-question-index.html      
2013-06-30 20:11:18.000000000 +0200
+++ new/gmime-2.6.17/docs/reference/html/gmime-question-index.html      
2013-08-08 15:15:59.000000000 +0200
@@ -31,22 +31,22 @@
 <td valign="top" align="right"></td>
 </tr></table></div>
 <div class="refsect1">
-<a name="idp4958768"></a><h2>Questions and Answers</h2>
+<a name="idp5557408"></a><h2>Questions and Answers</h2>
 <p>This is an "index" of the reference manual
     organized by common "How do I..." questions. If you
     aren't sure which documentation to read for the question you have,
     this list is a good place to start.
     </p>
 <div class="qandaset">
-<a name="idp4936448"></a><table border="0" width="100%" summary="Q and A Set">
+<a name="idp5535168"></a><table border="0" width="100%" summary="Q and A Set">
 <col align="left" width="1%">
 <col>
 <tbody>
 <tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 
class="title">
-<a name="idp4936704"></a>1. General</h5></td></tr>
+<a name="idp5535424"></a>1. General</h5></td></tr>
 <tr class="question">
 <td align="left" valign="top">
-<a name="idp4937376"></a><a name="idp4937632"></a><p><b>1.1.</b></p>
+<a name="idp5536096"></a><a name="idp5536352"></a><p><b>1.1.</b></p>
 </td>
 <td align="left" valign="top"><p>Where can I get help with GMime, submit a bug 
report, or make a feature request?</p></td>
 </tr>
@@ -57,7 +57,7 @@
 </tr>
 <tr class="question">
 <td align="left" valign="top">
-<a name="idp4940080"></a><a name="idp4990688"></a><p><b>1.2.</b></p>
+<a name="idp5589328"></a><a name="idp5589584"></a><p><b>1.2.</b></p>
 </td>
 <td align="left" valign="top"><p>How do I port from one GMime version to 
another?</p></td>
 </tr>
@@ -68,7 +68,7 @@
 </tr>
 <tr class="question">
 <td align="left" valign="top">
-<a name="idp4992720"></a><a name="idp4992976"></a><p><b>1.3.</b></p>
+<a name="idp5591616"></a><a name="idp5591872"></a><p><b>1.3.</b></p>
 </td>
 <td align="left" valign="top"><p>How does memory management work in GMime? 
Should I free data returned from functions?</p></td>
 </tr>
@@ -88,7 +88,7 @@
 </tr>
 <tr class="question">
 <td align="left" valign="top">
-<a name="idp4996768"></a><a name="idp4997024"></a><p><b>1.4.</b></p>
+<a name="idp5595664"></a><a name="idp5595920"></a><p><b>1.4.</b></p>
 </td>
 <td align="left" valign="top"><p>How do I use GMime with threads?</p></td>
 </tr>
@@ -110,7 +110,7 @@
 </tr>
 <tr class="question">
 <td align="left" valign="top">
-<a name="idp5002464"></a><a name="idp5002720"></a><p><b>1.5.</b></p>
+<a name="idp5601280"></a><a name="idp5601536"></a><p><b>1.5.</b></p>
 </td>
 <td align="left" valign="top"><p>How do I use GMime with C++?</p></td>
 </tr>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gmime-2.6.16/docs/reference/html/gmime-resources.html 
new/gmime-2.6.17/docs/reference/html/gmime-resources.html
--- old/gmime-2.6.16/docs/reference/html/gmime-resources.html   2013-06-30 
20:11:18.000000000 +0200
+++ new/gmime-2.6.17/docs/reference/html/gmime-resources.html   2013-08-08 
15:15:59.000000000 +0200
@@ -31,7 +31,7 @@
 <td valign="top" align="right"></td>
 </tr></table></div>
 <div class="refsect1">
-<a name="idp4907360"></a><h2>Filing a bug report or feature request</h2>
+<a name="idp5506016"></a><h2>Filing a bug report or feature request</h2>
 <p>
 If you encounter a bug, misfeature, or missing feature in GMime, please
 file a bug report at 
@@ -47,7 +47,7 @@
 </p>
 </div>
 <div class="refsect1">
-<a name="idp4960016"></a><h2>Submitting Patches</h2>
+<a name="idp5558736"></a><h2>Submitting Patches</h2>
 <p>
 If you develop a bugfix or enhancement for GMime, please file that in
 Bugzilla as well. Bugzilla allows you to attach files; please attach a
@@ -67,7 +67,7 @@
 </p>
 </div>
 <div class="refsect1">
-<a name="idp4964896"></a><h2>Mailing lists</h2>
+<a name="idp5563408"></a><h2>Mailing lists</h2>
 <p>There is currently only one mailing-list devoted to GMime
     itself which is for both the development of and development with
     GMime. You can subscribe to this list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gmime-2.6.16/docs/reference/html/index.html 
new/gmime-2.6.17/docs/reference/html/index.html
--- old/gmime-2.6.16/docs/reference/html/index.html     2013-06-30 
20:11:18.000000000 +0200
+++ new/gmime-2.6.17/docs/reference/html/index.html     2013-08-08 
15:15:59.000000000 +0200
@@ -25,7 +25,7 @@
 </div></div></div>
 <div><p class="copyright">Copyright © 2000-2011 Jeffrey Stedfast</p></div>
 <div><div class="legalnotice">
-<a name="idp3971904"></a><p>
+<a name="idp911632"></a><p>
         This library is free software; you can redistribute it and/or
         modify it under the terms of the GNU Lesser General Public
         License as published by the Free Software Foundation; either
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gmime-2.6.16/gmime/gmime-parser.c 
new/gmime-2.6.17/gmime/gmime-parser.c
--- old/gmime-2.6.16/gmime/gmime-parser.c       2013-06-29 18:32:12.000000000 
+0200
+++ new/gmime-2.6.17/gmime/gmime-parser.c       2013-08-08 15:00:39.000000000 
+0200
@@ -1234,7 +1234,7 @@
 }
 
 static ContentType *
-parser_content_type (GMimeParser *parser)
+parser_content_type (GMimeParser *parser, GMimeContentType *parent)
 {
        struct _GMimeParserPrivate *priv = parser->priv;
        ContentType *content_type;
@@ -1244,8 +1244,13 @@
        
        if (!(value = header_raw_find (priv->headers, "Content-Type", NULL)) ||
            !g_mime_parse_content_type (&value, &content_type->type, 
&content_type->subtype)) {
-               content_type->type = g_strdup ("text");
-               content_type->subtype = g_strdup ("plain");
+               if (parent != NULL && g_mime_content_type_is_type (parent, 
"multipart", "digest")) {
+                       content_type->type = g_strdup ("message");
+                       content_type->subtype = g_strdup ("rfc822");
+               } else {
+                       content_type->type = g_strdup ("text");
+                       content_type->subtype = g_strdup ("plain");
+               }
        }
        
        content_type->exists = value != NULL;
@@ -1353,6 +1358,33 @@
                          ((scan_from && len >= 5 && !strncmp (start, ">From ", 
5)) ||  \
                          (len >= 2 && (start[0] == '-' && start[1] == '-')))
 
+static gboolean
+is_boundary (const char *text, size_t len, const char *boundary, size_t 
boundary_len)
+{
+       const char *inptr = text + boundary_len;
+       const char *inend = text + len;
+       
+       if (boundary_len > len)
+               return FALSE;
+       
+       /* make sure that the text matches the boundary */
+       if (strncmp (text, boundary, boundary_len) != 0)
+               return FALSE;
+       
+       if (!strncmp (text, "From ", 5))
+               return TRUE;
+       
+       /* the boundary may be optionally followed by linear whitespace */
+       while (inptr < inend) {
+               if (!is_lwsp (*inptr))
+                       return FALSE;
+               
+               inptr++;
+       }
+       
+       return TRUE;
+}
+
 static int
 check_boundary (struct _GMimeParserPrivate *priv, const char *start, size_t 
len)
 {
@@ -1368,19 +1400,14 @@
                
                s = priv->bounds;
                while (s) {
-                       /* we use >= here because From lines are > 5 chars */
                        if (offset >= s->content_end &&
-                           len >= s->boundarylenfinal &&
-                           !strncmp (s->boundary, start,
-                                     s->boundarylenfinal)) {
+                           is_boundary (start, len, s->boundary, 
s->boundarylenfinal)) {
                                d(printf ("found %s\n", s->content_end != -1 && 
offset >= s->content_end ?
                                          "end of content" : "end boundary"));
                                return FOUND_END_BOUNDARY;
                        }
                        
-                       if (len == s->boundarylen &&
-                           !strncmp (s->boundary, start,
-                                     s->boundarylen)) {
+                       if (is_boundary (start, len, s->boundary, 
s->boundarylen)) {
                                d(printf ("found boundary\n"));
                                return FOUND_BOUNDARY;
                        }
@@ -1398,10 +1425,16 @@
 found_immediate_boundary (struct _GMimeParserPrivate *priv, gboolean end)
 {
        BoundaryStack *s = priv->bounds;
-       size_t len = end ? s->boundarylenfinal : s->boundarylen;
+       size_t boundary_len = end ? s->boundarylenfinal : s->boundarylen;
+       register char *inptr = priv->inptr;
+       char *inend = priv->inend;
+       
+       /* Note: see optimization comment [1] */
+       *inend = '\n';
+       while (*inptr != '\n')
+               inptr++;
        
-       return !strncmp (priv->inptr, s->boundary, len)
-               && (priv->inptr[len] == '\n' || priv->inptr[len] == '\r');
+       return is_boundary (priv->inptr, inptr - priv->inptr, s->boundary, 
boundary_len);
 }
 
 /* Optimization Notes:
@@ -1619,7 +1652,7 @@
                header = header->next;
        }
        
-       content_type = parser_content_type (parser);
+       content_type = parser_content_type (parser, NULL);
        if (content_type_is_type (content_type, "multipart", "*"))
                object = parser_construct_multipart (parser, content_type, 
TRUE, found);
        else
@@ -1651,7 +1684,7 @@
        if (!content_type->exists) {
                GMimeContentType *mime_type;
                
-               mime_type = g_mime_content_type_new ("text", "plain");
+               mime_type = g_mime_content_type_new (content_type->type, 
content_type->subtype);
                _g_mime_object_set_content_type (object, mime_type);
                g_object_unref (mime_type);
        }
@@ -1776,7 +1809,7 @@
                        break;
                }
                
-               content_type = parser_content_type (parser);
+               content_type = parser_content_type (parser, ((GMimeObject *) 
multipart)->content_type);
                if (content_type_is_type (content_type, "multipart", "*"))
                        subpart = parser_construct_multipart (parser, 
content_type, FALSE, &found);
                else
@@ -1875,7 +1908,7 @@
                        return NULL;
        }
        
-       content_type = parser_content_type (parser);
+       content_type = parser_content_type (parser, NULL);
        if (content_type_is_type (content_type, "multipart", "*"))
                object = parser_construct_multipart (parser, content_type, 
TRUE, &found);
        else
@@ -1950,7 +1983,7 @@
                        priv->bounds->content_end = parser_offset (priv, NULL) 
+ content_length;
        }
        
-       content_type = parser_content_type (parser);
+       content_type = parser_content_type (parser, NULL);
        if (content_type_is_type (content_type, "multipart", "*"))
                object = parser_construct_multipart (parser, content_type, 
TRUE, &found);
        else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gmime-2.6.16/gmime/gmime-stream-cat.c 
new/gmime-2.6.17/gmime/gmime-stream-cat.c
--- old/gmime-2.6.16/gmime/gmime-stream-cat.c   2013-05-05 19:26:57.000000000 
+0200
+++ new/gmime-2.6.17/gmime/gmime-stream-cat.c   2013-07-02 15:51:20.000000000 
+0200
@@ -580,6 +580,9 @@
                if ((offset + len) > start)
                        break;
                
+               if (end != -1 && (offset + len) >= end)
+                       break;
+               
                offset += len;
                
                n = n->next;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gmime-2.6.16/gmime/gmime-version.h 
new/gmime-2.6.17/gmime/gmime-version.h
--- old/gmime-2.6.16/gmime/gmime-version.h      2013-06-30 18:56:59.000000000 
+0200
+++ new/gmime-2.6.17/gmime/gmime-version.h      2013-08-08 15:14:48.000000000 
+0200
@@ -41,21 +41,21 @@
  *
  * GMime's micro version.
  **/
-#define GMIME_MICRO_VERSION (16)
+#define GMIME_MICRO_VERSION (17)
 
 /**
  * GMIME_BINARY_AGE:
  *
  * GMime's binary age.
  **/
-#define GMIME_BINARY_AGE    (616)
+#define GMIME_BINARY_AGE    (617)
 
 /**
  * GMIME_INTERFACE_AGE:
  *
  * GMime's interface age.
  **/
-#define GMIME_INTERFACE_AGE (16)
+#define GMIME_INTERFACE_AGE (17)
 
 
 /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gmime-2.6.16/gmime.spec new/gmime-2.6.17/gmime.spec
--- old/gmime-2.6.16/gmime.spec 2013-06-30 20:11:19.000000000 +0200
+++ new/gmime-2.6.17/gmime.spec 2013-08-08 15:16:00.000000000 +0200
@@ -1,5 +1,5 @@
 # Note that this is NOT a relocatable package
-%define ver      2.6.16
+%define ver      2.6.17
 %define prefix   /usr
 %define enable_mono 0
 %define enable_gtk_doc 0

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to