commit gssdp for openSUSE:Factory
Hello community, here is the log from the commit of package gssdp for openSUSE:Factory checked in at 2013-11-07 09:53:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gssdp (Old) and /work/SRC/openSUSE:Factory/.gssdp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gssdp" Changes: -------- --- /work/SRC/openSUSE:Factory/gssdp/gssdp.changes 2013-09-11 12:00:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gssdp.new/gssdp.changes 2013-11-07 09:53:53.000000000 +0100 @@ -1,0 +2,10 @@ +Fri Nov 1 10:11:59 UTC 2013 - dimstar@opensuse.org + +- Update to version 0.14.6: + + Add msearch-property to GSSDPClient to use a fixed UDP + listening port. + + Doc changes. + + Marshalling fixes for GSSDPClient::message-received signal. + + Bugs fixed: bgo#711015. + +------------------------------------------------------------------- Old: ---- gssdp-0.14.5.tar.xz New: ---- gssdp-0.14.6.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gssdp.spec ++++++ --- /var/tmp/diff_new_pack.6ub9vP/_old 2013-11-07 09:53:54.000000000 +0100 +++ /var/tmp/diff_new_pack.6ub9vP/_new 2013-11-07 09:53:54.000000000 +0100 @@ -17,7 +17,7 @@ Name: gssdp -Version: 0.14.5 +Version: 0.14.6 Release: 0 Summary: Library for resource discovery and announcement over SSDP License: LGPL-2.0+ ++++++ gssdp-0.14.5.tar.xz -> gssdp-0.14.6.tar.xz ++++++ ++++ 2144 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/gssdp-0.14.5/NEWS new/gssdp-0.14.6/NEWS --- old/gssdp-0.14.5/NEWS 2013-09-03 13:38:04.000000000 +0200 +++ new/gssdp-0.14.6/NEWS 2013-10-30 15:11:49.000000000 +0100 @@ -1,3 +1,17 @@ +0.14.6 +====== + +- Add msearch-property to GSSDPClient to use a fixed UDP listening port. +- Doc changes. +- Marshalling fixes for GSSDPClient::message-received signal. + + +Bugs fixed in this release: + - https://bugzilla.gnome.org/show_bug.cgi?id=711015 + +All contributors to this release: + - Jens Georg <jensg@openismus.com> + 0.14.5 ====== 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/gssdp-0.14.5/configure.ac new/gssdp-0.14.6/configure.ac --- old/gssdp-0.14.5/configure.ac 2013-09-03 13:38:48.000000000 +0200 +++ new/gssdp-0.14.6/configure.ac 2013-10-30 14:53:33.000000000 +0100 @@ -1,6 +1,6 @@ AC_PREREQ([2.64]) AC_INIT([gssdp], - [0.14.5], + [0.14.6], [http://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gssdp], [gssdp], [http://www.gupnp.org/]) 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/gssdp-0.14.5/doc/html/GSSDPClient.html new/gssdp-0.14.6/doc/html/GSSDPClient.html --- old/gssdp-0.14.5/doc/html/GSSDPClient.html 2013-09-03 13:41:11.000000000 +0200 +++ new/gssdp-0.14.6/doc/html/GSSDPClient.html 2013-10-30 15:13:46.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GSSDPClient</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="index.html" title="GSSDP Reference Manual"> <link rel="up" href="ch01.html" title="GSSDP"> <link rel="prev" href="ch01.html" title="GSSDP"> @@ -81,6 +81,7 @@ "<a class="link" href="GSSDPClient.html#GSSDPClient--host-ip" title='The "host-ip" property'>host-ip</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read "<a class="link" href="GSSDPClient.html#GSSDPClient--interface" title='The "interface" property'>interface</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only "<a class="link" href="GSSDPClient.html#GSSDPClient--main-context" title='The "main-context" property'>main-context</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only + "<a class="link" href="GSSDPClient.html#GSSDPClient--msearch-port" title='The "msearch-port" property'>msearch-port</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only "<a class="link" href="GSSDPClient.html#GSSDPClient--network" title='The "network" property'>network</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct "<a class="link" href="GSSDPClient.html#GSSDPClient--server-id" title='The "server-id" property'>server-id</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write "<a class="link" href="GSSDPClient.html#GSSDPClient--socket-ttl" title='The "socket-ttl" property'>socket-ttl</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only @@ -111,8 +112,11 @@ <pre class="programlisting"><a class="link" href="GSSDPClient.html" title="GSSDPClient"><span class="returnvalue">GSSDPClient</span></a> * gssdp_client_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a> *main_context</code></em>, <em class="parameter"><code>const <span class="type">char</span> *iface</code></em>, <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>main_context</code></em> :</span></p></td> @@ -122,7 +126,8 @@ </tr> <tr> <td><p><span class="term"><em class="parameter"><code>iface</code></em> :</span></p></td> -<td>The name of the network interface, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for auto-detection.</td> +<td>The name of the network interface, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for auto-detection. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> +</td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td> @@ -148,8 +153,11 @@ <p> Sets the server ID of <em class="parameter"><code>client</code></em> to <em class="parameter"><code>server_id</code></em>. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> @@ -167,8 +175,11 @@ <div class="refsect2"> <a name="gssdp-client-get-server-id"></a><h3>gssdp_client_get_server_id ()</h3> <pre class="programlisting">const <span class="returnvalue">char</span> * gssdp_client_get_server_id (<em class="parameter"><code><a class="link" href="GSSDPClient.html" title="GSSDPClient"><span class="type">GSSDPClient</span></a> *client</code></em>);</pre> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> @@ -189,8 +200,11 @@ <p> Get the name of the network interface associated to <em class="parameter"><code>client</code></em>. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> @@ -211,8 +225,11 @@ <p> Get the IP address we advertise ourselves as using. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> @@ -234,8 +251,11 @@ <p> Sets the network identification of <em class="parameter"><code>client</code></em> to <em class="parameter"><code>network</code></em>. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> @@ -256,8 +276,11 @@ <p> Get the network this client is associated with. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> @@ -275,8 +298,11 @@ <div class="refsect2"> <a name="gssdp-client-get-active"></a><h3>gssdp_client_get_active ()</h3> <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gssdp_client_get_active (<em class="parameter"><code><a class="link" href="GSSDPClient.html" title="GSSDPClient"><span class="type">GSSDPClient</span></a> *client</code></em>);</pre> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> @@ -337,6 +363,18 @@ </div> <hr> <div class="refsect2"> +<a name="GSSDPClient--msearch-port"></a><h3>The <code class="literal">"msearch-port"</code> property</h3> +<pre class="programlisting"> "msearch-port" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre> +<p> +UDP port to use for sending multicast M-SEARCH requests on the +network. If not set (or set to 0) a random port will be used. +This property can be only set during object construction. +</p> +<p>Allowed values: <= 65535</p> +<p>Default value: 0</p> +</div> +<hr> +<div class="refsect2"> <a name="GSSDPClient--network"></a><h3>The <code class="literal">"network"</code> property</h3> <pre class="programlisting"> "network" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct</pre> <p> @@ -375,21 +413,47 @@ <a name="GSSDPClient.signal-details"></a><h2>Signal Details</h2> <div class="refsect2"> <a name="GSSDPClient-message-received"></a><h3>The <code class="literal">"message-received"</code> signal</h3> -<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GSSDPClient.html" title="GSSDPClient"><span class="type">GSSDPClient</span></a> *arg0, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg1, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg2, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> arg3, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> arg4, +<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GSSDPClient.html" title="GSSDPClient"><span class="type">GSSDPClient</span></a> *client, + <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *from_ip, + <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> from_port, + <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> type, + <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> headers, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> <p> Internal signal. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> -<tbody><tr> +<col> +</colgroup> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> +<td>The <a class="link" href="GSSDPClient.html" title="GSSDPClient"><span class="type">GSSDPClient</span></a> that received the message.</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>from_ip</code></em> :</span></p></td> +<td>The IP address of the source.</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>from_port</code></em> :</span></p></td> +<td>The UDP port used by the sender.</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> +<td>The <span class="type">_GSSDPMessageType</span>.</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>headers</code></em> :</span></p></td> +<td>Parsed <a href="/opt/rygel-stable/share/gtk-doc/html/libsoup-2.4/SoupMessageHeaders.html#SoupMessageHeaders"><span class="type">SoupMessageHeaders</span></a> from the message. <span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> SoupMessageHeaders]</span> +</td> +</tr> +<tr> <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> <td>user data set when the signal handler was connected.</td> -</tr></tbody> +</tr> +</tbody> </table></div> <p class="stability">Stability Level: Private</p> </div> 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/gssdp-0.14.5/doc/html/GSSDPResourceBrowser.html new/gssdp-0.14.6/doc/html/GSSDPResourceBrowser.html --- old/gssdp-0.14.5/doc/html/GSSDPResourceBrowser.html 2013-09-03 13:41:11.000000000 +0200 +++ new/gssdp-0.14.6/doc/html/GSSDPResourceBrowser.html 2013-10-30 15:13:46.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GSSDPResourceBrowser</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="index.html" title="GSSDP Reference Manual"> <link rel="up" href="ch01.html" title="GSSDP"> <link rel="prev" href="GSSDPClient.html" title="GSSDPClient"> @@ -117,7 +117,7 @@ <em class="parameter"><code>target</code></em> is a generic string the resource browser listens for on the SSDP bus. There are several possible targets such as </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"><p>"ssdp:all" for everything</p></li> <li class="listitem"><p> "upnp:rootdevice" for UPnP device entry points, not caring about the @@ -130,8 +130,11 @@ </ul></div> <p> </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> @@ -152,8 +155,11 @@ <div class="refsect2"> <a name="gssdp-resource-browser-get-client"></a><h3>gssdp_resource_browser_get_client ()</h3> <pre class="programlisting"><a class="link" href="GSSDPClient.html" title="GSSDPClient"><span class="returnvalue">GSSDPClient</span></a> * gssdp_resource_browser_get_client (<em class="parameter"><code><a class="link" href="GSSDPResourceBrowser.html" title="GSSDPResourceBrowser"><span class="type">GSSDPResourceBrowser</span></a> *resource_browser</code></em>);</pre> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_browser</code></em> :</span></p></td> @@ -176,8 +182,11 @@ <p> Sets the browser target of <em class="parameter"><code>resource_browser</code></em> to <em class="parameter"><code>target</code></em>. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_browser</code></em> :</span></p></td> @@ -195,8 +204,11 @@ <div class="refsect2"> <a name="gssdp-resource-browser-get-target"></a><h3>gssdp_resource_browser_get_target ()</h3> <pre class="programlisting">const <span class="returnvalue">char</span> * gssdp_resource_browser_get_target (<em class="parameter"><code><a class="link" href="GSSDPResourceBrowser.html" title="GSSDPResourceBrowser"><span class="type">GSSDPResourceBrowser</span></a> *resource_browser</code></em>);</pre> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_browser</code></em> :</span></p></td> @@ -218,8 +230,11 @@ <p> Sets the used MX value of <em class="parameter"><code>resource_browser</code></em> to <em class="parameter"><code>mx</code></em>. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_browser</code></em> :</span></p></td> @@ -237,8 +252,11 @@ <div class="refsect2"> <a name="gssdp-resource-browser-get-mx"></a><h3>gssdp_resource_browser_get_mx ()</h3> <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gushort"><span class="returnvalue">gushort</span></a> gssdp_resource_browser_get_mx (<em class="parameter"><code><a class="link" href="GSSDPResourceBrowser.html" title="GSSDPResourceBrowser"><span class="type">GSSDPResourceBrowser</span></a> *resource_browser</code></em>);</pre> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_browser</code></em> :</span></p></td> @@ -260,8 +278,11 @@ <p> (De)activates <em class="parameter"><code>resource_browser</code></em>. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_browser</code></em> :</span></p></td> @@ -270,7 +291,8 @@ </tr> <tr> <td><p><span class="term"><em class="parameter"><code>active</code></em> :</span></p></td> -<td>TRUE to activate <em class="parameter"><code>resource_browser</code></em> +<td> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to activate <em class="parameter"><code>resource_browser</code></em> </td> </tr> </tbody> @@ -280,8 +302,11 @@ <div class="refsect2"> <a name="gssdp-resource-browser-get-active"></a><h3>gssdp_resource_browser_get_active ()</h3> <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gssdp_resource_browser_get_active (<em class="parameter"><code><a class="link" href="GSSDPResourceBrowser.html" title="GSSDPResourceBrowser"><span class="type">GSSDPResourceBrowser</span></a> *resource_browser</code></em>);</pre> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_browser</code></em> :</span></p></td> @@ -290,7 +315,8 @@ </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>TRUE if <em class="parameter"><code>resource_browser</code></em> is active.</td> +<td> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>resource_browser</code></em> is active.</td> </tr> </tbody> </table></div> @@ -303,8 +329,11 @@ Begins discovery if <em class="parameter"><code>resource_browser</code></em> is active and no discovery is performed. Otherwise does nothing. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_browser</code></em> :</span></p></td> @@ -371,8 +400,11 @@ The ::resource-available signal is emitted whenever a new resource has become available. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_browser</code></em> :</span></p></td> @@ -406,8 +438,11 @@ The ::resource-unavailable signal is emitted whenever a resource is not available any more. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_browser</code></em> :</span></p></td> 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/gssdp-0.14.5/doc/html/GSSDPResourceGroup.html new/gssdp-0.14.6/doc/html/GSSDPResourceGroup.html --- old/gssdp-0.14.5/doc/html/GSSDPResourceGroup.html 2013-09-03 13:41:11.000000000 +0200 +++ new/gssdp-0.14.6/doc/html/GSSDPResourceGroup.html 2013-10-30 15:13:46.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GSSDPResourceGroup</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="index.html" title="GSSDP Reference Manual"> <link rel="up" href="ch01.html" title="GSSDP"> <link rel="prev" href="GSSDPResourceBrowser.html" title="GSSDPResourceBrowser"> @@ -103,8 +103,11 @@ <div class="refsect2"> <a name="gssdp-resource-group-new"></a><h3>gssdp_resource_group_new ()</h3> <pre class="programlisting"><a class="link" href="GSSDPResourceGroup.html" title="GSSDPResourceGroup"><span class="returnvalue">GSSDPResourceGroup</span></a> * gssdp_resource_group_new (<em class="parameter"><code><a class="link" href="GSSDPClient.html" title="GSSDPClient"><span class="type">GSSDPClient</span></a> *client</code></em>);</pre> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> @@ -121,8 +124,11 @@ <div class="refsect2"> <a name="gssdp-resource-group-get-client"></a><h3>gssdp_resource_group_get_client ()</h3> <pre class="programlisting"><a class="link" href="GSSDPClient.html" title="GSSDPClient"><span class="returnvalue">GSSDPClient</span></a> * gssdp_resource_group_get_client (<em class="parameter"><code><a class="link" href="GSSDPResourceGroup.html" title="GSSDPResourceGroup"><span class="type">GSSDPResourceGroup</span></a> *resource_group</code></em>);</pre> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_group</code></em> :</span></p></td> @@ -145,8 +151,11 @@ <p> Sets the number of seconds advertisements are valid to <em class="parameter"><code>max_age</code></em>. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_group</code></em> :</span></p></td> @@ -164,8 +173,11 @@ <div class="refsect2"> <a name="gssdp-resource-group-get-max-age"></a><h3>gssdp_resource_group_get_max_age ()</h3> <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gssdp_resource_group_get_max_age (<em class="parameter"><code><a class="link" href="GSSDPResourceGroup.html" title="GSSDPResourceGroup"><span class="type">GSSDPResourceGroup</span></a> *resource_group</code></em>);</pre> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_group</code></em> :</span></p></td> @@ -189,8 +201,11 @@ <em class="parameter"><code>resource_group</code></em>s availability causes it to announce its new state to listening SSDP clients. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_group</code></em> :</span></p></td> @@ -199,7 +214,8 @@ </tr> <tr> <td><p><span class="term"><em class="parameter"><code>available</code></em> :</span></p></td> -<td>TRUE if <em class="parameter"><code>resource_group</code></em> should be available (advertised)</td> +<td> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>resource_group</code></em> should be available (advertised)</td> </tr> </tbody> </table></div> @@ -208,8 +224,11 @@ <div class="refsect2"> <a name="gssdp-resource-group-get-available"></a><h3>gssdp_resource_group_get_available ()</h3> <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gssdp_resource_group_get_available (<em class="parameter"><code><a class="link" href="GSSDPResourceGroup.html" title="GSSDPResourceGroup"><span class="type">GSSDPResourceGroup</span></a> *resource_group</code></em>);</pre> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_group</code></em> :</span></p></td> @@ -232,8 +251,11 @@ <p> Sets the minimum time between each SSDP message. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_group</code></em> :</span></p></td> @@ -252,8 +274,11 @@ <a name="gssdp-resource-group-get-message-delay"></a><h3>gssdp_resource_group_get_message_delay ()</h3> <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gssdp_resource_group_get_message_delay (<em class="parameter"><code><a class="link" href="GSSDPResourceGroup.html" title="GSSDPResourceGroup"><span class="type">GSSDPResourceGroup</span></a> *resource_group</code></em>);</pre> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_group</code></em> :</span></p></td> @@ -278,12 +303,15 @@ Adds a resource with target <em class="parameter"><code>target</code></em>, USN <em class="parameter"><code>usn</code></em>, and locations <em class="parameter"><code>locations</code></em> to <em class="parameter"><code>resource_group</code></em>. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_group</code></em> :</span></p></td> -<td>An <em class="parameter"><code>GSSDPResourceGroup</code></em> +<td>A <a class="link" href="GSSDPResourceGroup.html" title="GSSDPResourceGroup"><span class="type">GSSDPResourceGroup</span></a> </td> </tr> <tr> @@ -318,12 +346,15 @@ Adds a resource with target <em class="parameter"><code>target</code></em>, USN <em class="parameter"><code>usn</code></em>, and location <em class="parameter"><code>location</code></em> to <em class="parameter"><code>resource_group</code></em>. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_group</code></em> :</span></p></td> -<td>An <em class="parameter"><code>GSSDPResourceGroup</code></em> +<td>A <a class="link" href="GSSDPResourceGroup.html" title="GSSDPResourceGroup"><span class="type">GSSDPResourceGroup</span></a> </td> </tr> <tr> @@ -354,12 +385,15 @@ <p> Removes the resource with ID <em class="parameter"><code>resource_id</code></em> from <em class="parameter"><code>resource_group</code></em>. </p> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>resource_group</code></em> :</span></p></td> -<td>An <em class="parameter"><code>GSSDPResourceGroup</code></em> +<td>A <a class="link" href="GSSDPResourceGroup.html" title="GSSDPResourceGroup"><span class="type">GSSDPResourceGroup</span></a> </td> </tr> <tr> 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/gssdp-0.14.5/doc/html/annotation-glossary.html new/gssdp-0.14.6/doc/html/annotation-glossary.html --- old/gssdp-0.14.5/doc/html/annotation-glossary.html 2013-09-03 13:41:11.000000000 +0200 +++ new/gssdp-0.14.6/doc/html/annotation-glossary.html 2013-10-30 15:13:46.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Annotation Glossary</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="index.html" title="GSSDP Reference Manual"> <link rel="up" href="index.html" title="GSSDP Reference Manual"> <link rel="prev" href="index.html" title="GSSDP Reference Manual"> @@ -29,23 +29,19 @@ </td></tr> </table> <div class="glossary"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="annotation-glossary"></a>Annotation Glossary</h2></div></div></div> +<div class="titlepage"><div><div><h1 class="title"> +<a name="annotation-glossary"></a>Annotation Glossary</h1></div></div></div> <a name="glsA"></a><h3 class="title">A</h3> -<dt> -<a name="annotation-glossterm-allow-none"></a>allow-none</dt> -<dd><p>NULL is ok, both for passing and for returning.</p></dd> +<dt><span class="glossterm"><a name="annotation-glossterm-allow-none"></a>allow-none</span></dt> +<dd class="glossdef"><p>NULL is ok, both for passing and for returning.</p></dd> <a name="glsE"></a><h3 class="title">E</h3> -<dt> -<a name="annotation-glossterm-element-type"></a>element-type</dt> -<dd><p>Generics and defining elements of containers and arrays.</p></dd> +<dt><span class="glossterm"><a name="annotation-glossterm-element-type"></a>element-type</span></dt> +<dd class="glossdef"><p>Generics and defining elements of containers and arrays.</p></dd> <a name="glsT"></a><h3 class="title">T</h3> -<dt> -<a name="annotation-glossterm-type"></a>type</dt> -<dd><p>Override the parsed C type with given type.</p></dd> -<dt> -<a name="annotation-glossterm-transfer%20none"></a>transfer none</dt> -<dd><p>Don't free data after the code is done.</p></dd> +<dt><span class="glossterm"><a name="annotation-glossterm-type"></a>type</span></dt> +<dd class="glossdef"><p>Override the parsed C type with given type.</p></dd> +<dt><span class="glossterm"><a name="annotation-glossterm-transfer%20none"></a>transfer none</span></dt> +<dd class="glossdef"><p>Don't free data after the code is done.</p></dd> </div> <div class="footer"> <hr> 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/gssdp-0.14.5/doc/html/ch01.html new/gssdp-0.14.6/doc/html/ch01.html --- old/gssdp-0.14.5/doc/html/ch01.html 2013-09-03 13:41:11.000000000 +0200 +++ new/gssdp-0.14.6/doc/html/ch01.html 2013-10-30 15:13:46.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GSSDP</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="index.html" title="GSSDP Reference Manual"> <link rel="up" href="index.html" title="GSSDP Reference Manual"> <link rel="prev" href="annotation-glossary.html" title="Annotation Glossary"> @@ -20,9 +20,9 @@ <td><a accesskey="n" href="GSSDPClient.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> </tr></table> <div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="id419383"></a>GSSDP</h2></div></div></div> -<div class="toc"><dl> +<div class="titlepage"><div><div><h1 class="title"> +<a name="id-1.3"></a>GSSDP</h1></div></div></div> +<div class="toc"><dl class="toc"> <dt> <span class="refentrytitle"><a href="GSSDPClient.html">GSSDPClient</a></span><span class="refpurpose"> — SSDP "bus" wrapper.</span> </dt> 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/gssdp-0.14.5/doc/html/gssdp-Error-codes.html new/gssdp-0.14.6/doc/html/gssdp-Error-codes.html --- old/gssdp-0.14.5/doc/html/gssdp-Error-codes.html 2013-09-03 13:41:11.000000000 +0200 +++ new/gssdp-0.14.6/doc/html/gssdp-Error-codes.html 2013-10-30 15:13:46.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Error codes</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="index.html" title="GSSDP Reference Manual"> <link rel="up" href="ch01.html" title="GSSDP"> <link rel="prev" href="GSSDPResourceGroup.html" title="GSSDPResourceGroup"> @@ -58,8 +58,11 @@ GSSDP_ERROR_FAILED } GSSDPError; </pre> -<div class="variablelist"><table border="0"> +<div class="variablelist"><table border="0" class="variablelist"> +<colgroup> <col align="left" valign="top"> +<col> +</colgroup> <tbody> <tr> <td><p><a name="GSSDP-ERROR-NO-IP-ADDRESS:CAPS"></a><span class="term"><code class="literal">GSSDP_ERROR_NO_IP_ADDRESS</code></span></p></td> 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/gssdp-0.14.5/doc/html/gssdp.devhelp2 new/gssdp-0.14.6/doc/html/gssdp.devhelp2 --- old/gssdp-0.14.5/doc/html/gssdp.devhelp2 2013-09-03 13:41:11.000000000 +0200 +++ new/gssdp-0.14.6/doc/html/gssdp.devhelp2 2013-10-30 15:13:46.000000000 +0100 @@ -25,6 +25,7 @@ <keyword type="property" name="The "host-ip" property" link="GSSDPClient.html#GSSDPClient--host-ip"/> <keyword type="property" name="The "interface" property" link="GSSDPClient.html#GSSDPClient--interface"/> <keyword type="property" name="The "main-context" property" link="GSSDPClient.html#GSSDPClient--main-context"/> + <keyword type="property" name="The "msearch-port" property" link="GSSDPClient.html#GSSDPClient--msearch-port"/> <keyword type="property" name="The "network" property" link="GSSDPClient.html#GSSDPClient--network"/> <keyword type="property" name="The "server-id" property" link="GSSDPClient.html#GSSDPClient--server-id"/> <keyword type="property" name="The "socket-ttl" property" link="GSSDPClient.html#GSSDPClient--socket-ttl"/> 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/gssdp-0.14.5/doc/html/index.html new/gssdp-0.14.6/doc/html/index.html --- old/gssdp-0.14.5/doc/html/index.html 2013-09-03 13:41:11.000000000 +0200 +++ new/gssdp-0.14.6/doc/html/index.html 2013-10-30 15:13:46.000000000 +0100 @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GSSDP Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="index.html" title="GSSDP Reference Manual"> <link rel="next" href="annotation-glossary.html" title="Annotation Glossary"> <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> @@ -14,14 +14,14 @@ <div class="titlepage"> <div> <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GSSDP Reference Manual</p></th></tr></table></div> -<div><p class="releaseinfo">Version 0.14.5 +<div><p class="releaseinfo">Version 0.14.6 <a class="ulink" href="http://developer.gnome.org/gssdp/stable/" target="_top">http://developer.gnome.org/gssdp/stable/</a> </p></div> <div><p class="copyright">Copyright © 2007 OpenedHand LTD</p></div> <div><p class="copyright">Copyright © 2009, 2010, 2011 Nokia Corporation</p></div> <div><div class="legalnotice"> -<a name="id394335"></a><p> +<a name="id-1.2.5"></a><p> Permission is granted to copy, distribute and/or modify this document under the terms of the <em class="citetitle">GNU Free Documentation License</em>, Version 1.1 or any later @@ -45,7 +45,7 @@ </div> <hr> </div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="glossary"><a href="annotation-glossary.html">Annotation Glossary</a></span></dt> <dt><span class="chapter"><a href="ch01.html">GSSDP</a></span></dt> <dd><dl> 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/gssdp-0.14.5/doc/html/index.sgml new/gssdp-0.14.6/doc/html/index.sgml --- old/gssdp-0.14.5/doc/html/index.sgml 2013-09-03 13:41:11.000000000 +0200 +++ new/gssdp-0.14.6/doc/html/index.sgml 2013-10-30 15:13:46.000000000 +0100 @@ -26,6 +26,7 @@ <ANCHOR id="GSSDPClient--host-ip" href="gssdp/GSSDPClient.html#GSSDPClient--host-ip"> <ANCHOR id="GSSDPClient--interface" href="gssdp/GSSDPClient.html#GSSDPClient--interface"> <ANCHOR id="GSSDPClient--main-context" href="gssdp/GSSDPClient.html#GSSDPClient--main-context"> +<ANCHOR id="GSSDPClient--msearch-port" href="gssdp/GSSDPClient.html#GSSDPClient--msearch-port"> <ANCHOR id="GSSDPClient--network" href="gssdp/GSSDPClient.html#GSSDPClient--network"> <ANCHOR id="GSSDPClient--server-id" href="gssdp/GSSDPClient.html#GSSDPClient--server-id"> <ANCHOR id="GSSDPClient--socket-ttl" href="gssdp/GSSDPClient.html#GSSDPClient--socket-ttl"> 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/gssdp-0.14.5/doc/version.xml new/gssdp-0.14.6/doc/version.xml --- old/gssdp-0.14.5/doc/version.xml 2013-09-03 13:39:11.000000000 +0200 +++ new/gssdp-0.14.6/doc/version.xml 2013-10-30 15:13:26.000000000 +0100 @@ -1 +1 @@ -0.14.5 +0.14.6 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/gssdp-0.14.5/libgssdp/Makefile.am new/gssdp-0.14.6/libgssdp/Makefile.am --- old/gssdp-0.14.5/libgssdp/Makefile.am 2013-09-02 20:35:27.000000000 +0200 +++ new/gssdp-0.14.6/libgssdp/Makefile.am 2013-10-30 14:57:17.000000000 +0100 @@ -76,7 +76,7 @@ if HAVE_INTROSPECTION GSSDP-1.0.gir: libgssdp-1.0.la -GSSDP_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0 +GSSDP_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0 Soup-2.4 GSSDP_1_0_gir_CFLAGS = $(INCLUDES) GSSDP_1_0_gir_LIBS = libgssdp-1.0.la GSSDP_1_0_gir_FILES = $(introspection_sources) 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/gssdp-0.14.5/libgssdp/gssdp-client.c new/gssdp-0.14.6/libgssdp/gssdp-client.c --- old/gssdp-0.14.5/libgssdp/gssdp-client.c 2013-09-02 20:35:27.000000000 +0200 +++ new/gssdp-0.14.6/libgssdp/gssdp-client.c 2013-10-30 14:56:50.000000000 +0100 @@ -1,10 +1,12 @@ /* * Copyright (C) 2006, 2007, 2008 OpenedHand Ltd. * Copyright (C) 2009 Nokia Corporation. + * Copyright (C) 2013 Intel Corporation. * * Author: Jorn Baayen <jorn@openedhand.com> * Zeeshan Ali (Khattak) <zeeshanak@gnome.org> * <zeeshan.ali@nokia.com> + * Jens Georg <jensg@openismus.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -106,6 +108,7 @@ char *server_id; guint socket_ttl; + guint msearch_port; GSSDPNetworkDevice device; GSSDPSocketSource *request_socket; @@ -125,6 +128,7 @@ PROP_HOST_IP, PROP_ACTIVE, PROP_SOCKET_TTL, + PROP_MSEARCH_PORT, }; enum { @@ -242,11 +246,16 @@ /* Setup send socket. For security reasons, it is not recommended to * send M-SEARCH with source port == SSDP_PORT */ - client->priv->search_socket = gssdp_socket_source_new - (GSSDP_SOCKET_SOURCE_TYPE_SEARCH, - gssdp_client_get_host_ip (client), - client->priv->socket_ttl, - &internal_error); + client->priv->search_socket = GSSDP_SOCKET_SOURCE (g_initable_new + (GSSDP_TYPE_SOCKET_SOURCE, + NULL, + &internal_error, + "type", GSSDP_SOCKET_SOURCE_TYPE_SEARCH, + "host-ip", gssdp_client_get_host_ip (client), + "ttl", client->priv->socket_ttl, + "port", client->priv->msearch_port, + NULL)); + if (client->priv->search_socket != NULL) { gssdp_socket_source_set_callback (client->priv->search_socket, @@ -331,6 +340,9 @@ case PROP_SOCKET_TTL: g_value_set_uint (value, client->priv->socket_ttl); break; + case PROP_MSEARCH_PORT: + g_value_set_uint (value, client->priv->msearch_port); + break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; @@ -369,6 +381,9 @@ case PROP_SOCKET_TTL: client->priv->socket_ttl = g_value_get_uint (value); break; + case PROP_MSEARCH_PORT: + client->priv->msearch_port = g_value_get_uint (value); + break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; @@ -571,7 +586,32 @@ G_PARAM_STATIC_BLURB)); /** + * GSSDPClient:msearch-port: + * + * UDP port to use for sending multicast M-SEARCH requests on the + * network. If not set (or set to 0) a random port will be used. + * This property can be only set during object construction. + */ + g_object_class_install_property + (object_class, + PROP_MSEARCH_PORT, + g_param_spec_uint + ("msearch-port", + "M-SEARCH port", + "UDP port to use for M-SEARCH requests", + 0, G_MAXUINT16, + 0, + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS)); + + /** * GSSDPClient::message-received: (skip) + * @client: The #GSSDPClient that received the message. + * @from_ip: The IP address of the source. + * @from_port: The UDP port used by the sender. + * @type: The #_GSSDPMessageType. + * @headers: (type SoupMessageHeaders): Parsed #SoupMessageHeaders from the message. * * Internal signal. * @@ -583,7 +623,7 @@ G_SIGNAL_RUN_LAST, 0, NULL, NULL, - gssdp_marshal_VOID__STRING_UINT_INT_POINTER, + gssdp_marshal_VOID__STRING_UINT_INT_BOXED, G_TYPE_NONE, 4, G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE, @@ -596,7 +636,7 @@ * gssdp_client_new: * @main_context: (allow-none): Deprecated: 0.11.2: Always set to NULL. If you want to * specify a context use g_main_context_push_thread_default() - * @iface: The name of the network interface, or %NULL for auto-detection. + * @iface: (allow-none): The name of the network interface, or %NULL for auto-detection. * @error: Location to store error, or NULL * * Return value: A new #GSSDPClient object. @@ -618,11 +658,34 @@ NULL); } +/** + * gssdp_client_new_with_port: + * @iface: (allow-none): The name of the network interface, or %NULL for + * auto-detection. + * @msearch_port: The network port to use for M-SEARCH requests or 0 for + * random. + * @error: (allow-none): Location to store error, or %NULL. + * + * Return value: A new #GSSDPClient object. + **/ +GSSDPClient * +gssdp_client_new_with_port (const char *iface, + guint16 msearch_port, + GError **error) +{ + return g_initable_new (GSSDP_TYPE_CLIENT, + NULL, + error, + "interface", iface, + "msearch-port", msearch_port, + NULL); +} + /* * gssdp_client_get_main_context: (skip) * @client: A #GSSDPClient * - * Returns: (transfer none): The #GMainContext @client is associated with, or NULL. + * Returns: (transfer none): The #GMainContext @client is associated with, or %NULL. * Deprecated: 0.11.2: Returns g_main_context_get_thread_default() **/ GMainContext * @@ -760,8 +823,8 @@ /** * _gssdp_client_send_message: * @client: A #GSSDPClient - * @dest_ip: The destination IP address, or NULL to broadcast - * @dest_port: The destination port, or NULL for default + * @dest_ip: (allow-none): The destination IP address, or %NULL to broadcast + * @dest_port: (allow-none): The destination port, or %NULL for default * @message: The message to send * * Sends @message to @dest_ip. 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/gssdp-0.14.5/libgssdp/gssdp-marshal.c new/gssdp-0.14.6/libgssdp/gssdp-marshal.c --- old/gssdp-0.14.5/libgssdp/gssdp-marshal.c 2013-09-03 13:39:46.000000000 +0200 +++ new/gssdp-0.14.6/libgssdp/gssdp-marshal.c 2013-10-30 15:13:31.000000000 +0100 @@ -53,28 +53,28 @@ #endif /* !G_ENABLE_DEBUG */ -/* VOID:STRING,UINT,INT,POINTER (./gssdp-marshal.list:1) */ -extern void gssdp_marshal_VOID__STRING_UINT_INT_POINTER (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); +/* VOID:STRING,UINT,INT,BOXED (./gssdp-marshal.list:1) */ +extern void gssdp_marshal_VOID__STRING_UINT_INT_BOXED (GClosure *closure, + GValue *return_value, + guint n_param_values, + const GValue *param_values, + gpointer invocation_hint, + gpointer marshal_data); void -gssdp_marshal_VOID__STRING_UINT_INT_POINTER (GClosure *closure, - GValue *return_value G_GNUC_UNUSED, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint G_GNUC_UNUSED, - gpointer marshal_data) +gssdp_marshal_VOID__STRING_UINT_INT_BOXED (GClosure *closure, + GValue *return_value G_GNUC_UNUSED, + guint n_param_values, + const GValue *param_values, + gpointer invocation_hint G_GNUC_UNUSED, + gpointer marshal_data) { - typedef void (*GMarshalFunc_VOID__STRING_UINT_INT_POINTER) (gpointer data1, - gpointer arg_1, - guint arg_2, - gint arg_3, - gpointer arg_4, - gpointer data2); - register GMarshalFunc_VOID__STRING_UINT_INT_POINTER callback; + typedef void (*GMarshalFunc_VOID__STRING_UINT_INT_BOXED) (gpointer data1, + gpointer arg_1, + guint arg_2, + gint arg_3, + gpointer arg_4, + gpointer data2); + register GMarshalFunc_VOID__STRING_UINT_INT_BOXED callback; register GCClosure *cc = (GCClosure*) closure; register gpointer data1, data2; @@ -90,13 +90,13 @@ data1 = g_value_peek_pointer (param_values + 0); data2 = closure->data; } - callback = (GMarshalFunc_VOID__STRING_UINT_INT_POINTER) (marshal_data ? marshal_data : cc->callback); + callback = (GMarshalFunc_VOID__STRING_UINT_INT_BOXED) (marshal_data ? marshal_data : cc->callback); callback (data1, g_marshal_value_peek_string (param_values + 1), g_marshal_value_peek_uint (param_values + 2), g_marshal_value_peek_int (param_values + 3), - g_marshal_value_peek_pointer (param_values + 4), + g_marshal_value_peek_boxed (param_values + 4), data2); } 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/gssdp-0.14.5/libgssdp/gssdp-marshal.h new/gssdp-0.14.6/libgssdp/gssdp-marshal.h --- old/gssdp-0.14.5/libgssdp/gssdp-marshal.h 2013-09-03 13:39:46.000000000 +0200 +++ new/gssdp-0.14.6/libgssdp/gssdp-marshal.h 2013-10-30 15:13:31.000000000 +0100 @@ -6,13 +6,13 @@ G_BEGIN_DECLS -/* VOID:STRING,UINT,INT,POINTER (./gssdp-marshal.list:1) */ -extern void gssdp_marshal_VOID__STRING_UINT_INT_POINTER (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); +/* VOID:STRING,UINT,INT,BOXED (./gssdp-marshal.list:1) */ +extern void gssdp_marshal_VOID__STRING_UINT_INT_BOXED (GClosure *closure, + GValue *return_value, + guint n_param_values, + const GValue *param_values, + gpointer invocation_hint, + gpointer marshal_data); /* VOID:STRING,POINTER (./gssdp-marshal.list:2) */ extern void gssdp_marshal_VOID__STRING_POINTER (GClosure *closure, 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/gssdp-0.14.5/libgssdp/gssdp-marshal.list new/gssdp-0.14.6/libgssdp/gssdp-marshal.list --- old/gssdp-0.14.5/libgssdp/gssdp-marshal.list 2010-07-16 17:12:41.000000000 +0200 +++ new/gssdp-0.14.6/libgssdp/gssdp-marshal.list 2013-10-30 14:55:44.000000000 +0100 @@ -1,3 +1,3 @@ -VOID:STRING,UINT,INT,POINTER +VOID:STRING,UINT,INT,BOXED VOID:STRING,POINTER VOID:STRING 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/gssdp-0.14.5/libgssdp/gssdp-resource-browser.c new/gssdp-0.14.6/libgssdp/gssdp-resource-browser.c --- old/gssdp-0.14.5/libgssdp/gssdp-resource-browser.c 2013-09-03 12:24:47.000000000 +0200 +++ new/gssdp-0.14.6/libgssdp/gssdp-resource-browser.c 2013-10-30 14:53:34.000000000 +0100 @@ -563,7 +563,7 @@ /** * gssdp_resource_browser_set_active: * @resource_browser: A #GSSDPResourceBrowser - * @active: TRUE to activate @resource_browser + * @active: %TRUE to activate @resource_browser * * (De)activates @resource_browser. **/ @@ -593,7 +593,7 @@ * gssdp_resource_browser_get_active: * @resource_browser: A #GSSDPResourceBrowser * - * Return value: TRUE if @resource_browser is active. + * Return value: %TRUE if @resource_browser is active. **/ gboolean gssdp_resource_browser_get_active (GSSDPResourceBrowser *resource_browser) 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/gssdp-0.14.5/libgssdp/gssdp-resource-group.c new/gssdp-0.14.6/libgssdp/gssdp-resource-group.c --- old/gssdp-0.14.5/libgssdp/gssdp-resource-group.c 2013-05-28 11:23:55.000000000 +0200 +++ new/gssdp-0.14.6/libgssdp/gssdp-resource-group.c 2013-10-30 14:53:34.000000000 +0100 @@ -515,7 +515,7 @@ /** * gssdp_resource_group_set_available: * @resource_group: A #GSSDPResourceGroup - * @available: TRUE if @resource_group should be available (advertised) + * @available: %TRUE if @resource_group should be available (advertised) * * Sets @resource_group<!-- -->s availability to @available. Changing * @resource_group<!-- -->s availability causes it to announce its new state @@ -593,7 +593,7 @@ /** * gssdp_resource_group_add_resource: - * @resource_group: An @GSSDPResourceGroup + * @resource_group: A #GSSDPResourceGroup * @target: The resource's target * @usn: The resource's USN * @locations: (element-type utf8): A #GList of the resource's locations @@ -658,7 +658,7 @@ /** * gssdp_resource_group_add_resource_simple: - * @resource_group: An @GSSDPResourceGroup + * @resource_group: A #GSSDPResourceGroup * @target: The resource's target * @usn: The resource's USN * @location: The resource's location @@ -687,7 +687,7 @@ /** * gssdp_resource_group_remove_resource: - * @resource_group: An @GSSDPResourceGroup + * @resource_group: A #GSSDPResourceGroup * @resource_id: The ID of the resource to remove * * Removes the resource with ID @resource_id from @resource_group. 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/gssdp-0.14.5/libgssdp/gssdp-socket-source.c new/gssdp-0.14.6/libgssdp/gssdp-socket-source.c --- old/gssdp-0.14.5/libgssdp/gssdp-socket-source.c 2013-05-28 11:25:51.000000000 +0200 +++ new/gssdp-0.14.6/libgssdp/gssdp-socket-source.c 2013-10-30 14:53:34.000000000 +0100 @@ -50,6 +50,7 @@ char *host_ip; guint ttl; + guint port; }; enum { @@ -57,6 +58,7 @@ PROP_TYPE, PROP_HOST_IP, PROP_TTL, + PROP_PORT }; static void @@ -114,6 +116,9 @@ case PROP_TTL: self->priv->ttl = g_value_get_uint (value); break; + case PROP_PORT: + self->priv->port = g_value_get_uint (value); + break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; @@ -256,9 +261,11 @@ } else { guint port = SSDP_PORT; - /* Chose random port For the socket source used by M-SEARCH */ + /* Use user-supplied or random port for the socket source used + * by M-SEARCH */ if (self->priv->type == GSSDP_SOCKET_SOURCE_TYPE_SEARCH) - port = 0; + port = self->priv->port; + bind_address = g_inet_socket_address_new (iface_address, port); } @@ -449,4 +456,16 @@ G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); + + g_object_class_install_property + (object_class, + PROP_PORT, + g_param_spec_uint + ("port", + "UDP port", + "UDP port to use for TYPE_SEARCH sockets", + 0, G_MAXUINT16, + 0, + G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_STRINGS)); } 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/gssdp-0.14.5/libgssdp/gssdp-socket-source.h new/gssdp-0.14.6/libgssdp/gssdp-socket-source.h --- old/gssdp-0.14.5/libgssdp/gssdp-socket-source.h 2013-04-18 10:06:28.000000000 +0200 +++ new/gssdp-0.14.6/libgssdp/gssdp-socket-source.h 2013-10-30 14:53:34.000000000 +0100 @@ -30,6 +30,9 @@ G_BEGIN_DECLS +G_GNUC_INTERNAL GType +gssdp_socket_source_get_type (void) G_GNUC_CONST; + #define GSSDP_TYPE_SOCKET_SOURCE \ (gssdp_socket_source_get_type ()) #define GSSDP_SOCKET_SOURCE(obj) \ @@ -59,8 +62,6 @@ GSSDP_SOCKET_SOURCE_TYPE_SEARCH } GSSDPSocketSourceType; - - typedef struct _GSSDPSocketSource { GObject parent; @@ -76,6 +77,7 @@ const char *host_ip, guint ttl, GError **error); + G_GNUC_INTERNAL GSocket* gssdp_socket_source_get_socket (GSSDPSocketSource *socket_source); 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/gssdp-0.14.5/vala/Makefile.am new/gssdp-0.14.6/vala/Makefile.am --- old/gssdp-0.14.5/vala/Makefile.am 2012-12-13 20:25:34.000000000 +0100 +++ new/gssdp-0.14.6/vala/Makefile.am 2013-10-30 15:02:04.000000000 +0100 @@ -7,7 +7,7 @@ $(srcdir)/GSSDP-1.0.metadata \ $(srcdir)/gssdp-1.0-custom.vala $(AM_V_GEN)$(VAPIGEN) --metadatadir=$(srcdir) \ - --library=gssdp-1.0 --pkg=gio-2.0 \ + --library=gssdp-1.0 --pkg=gio-2.0 --pkg=libsoup-2.4 \ $(top_builddir)/libgssdp/GSSDP-1.0.gir \ $(srcdir)/gssdp-1.0-custom.vala && \ echo timestmap > $(@F) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de