<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/examples/python/gi/firewall-zone.py, branch th/strsplit</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>python: use gi.require_version() in generate-setting-docs.py and examples</title>
<updated>2015-11-11T09:56:05+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2015-11-11T09:37:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=8d1233e67e0db2c53717d9bd1bf9935958ffd79a'/>
<id>8d1233e67e0db2c53717d9bd1bf9935958ffd79a</id>
<content type='text'>
gi now emits a warning when not loading a specific library
version [1]:

  ./generate-setting-docs.py:21: PyGIWarning: NM was imported without specifying a version first. Use gi.require_version(NM, 1.0) before import to ensure that the right version gets loaded.
    from gi.repository import NM, GObject

Seems require_version() is reasonably old to just always use it without
breaking on older versions [2].

[1] Related: https://bugzilla.gnome.org/show_bug.cgi?id=727379
[2] https://git.gnome.org/browse/pygobject/commit/?id=76758efb6579752237a0dc4d56cf9518de6c6e55
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gi now emits a warning when not loading a specific library
version [1]:

  ./generate-setting-docs.py:21: PyGIWarning: NM was imported without specifying a version first. Use gi.require_version(NM, 1.0) before import to ensure that the right version gets loaded.
    from gi.repository import NM, GObject

Seems require_version() is reasonably old to just always use it without
breaking on older versions [2].

[1] Related: https://bugzilla.gnome.org/show_bug.cgi?id=727379
[2] https://git.gnome.org/browse/pygobject/commit/?id=76758efb6579752237a0dc4d56cf9518de6c6e55
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: python: print into stderr</title>
<updated>2015-03-10T11:17:59+00:00</updated>
<author>
<name>Petr Vorel</name>
<email>petr.vorel@gmail.com</email>
</author>
<published>2015-03-10T05:18:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=4213c17b44dd058344757465c5cff00cd6e990ac'/>
<id>4213c17b44dd058344757465c5cff00cd6e990ac</id>
<content type='text'>
https://mail.gnome.org/archives/networkmanager-list/2015-March/msg00024.html

Signed-off-by: Petr Vorel &lt;petr.vorel@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://mail.gnome.org/archives/networkmanager-list/2015-March/msg00024.html

Signed-off-by: Petr Vorel &lt;petr.vorel@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: update python examples</title>
<updated>2014-11-15T14:31:49+00:00</updated>
<author>
<name>Dan Winship</name>
<email>danw@gnome.org</email>
</author>
<published>2014-11-13T19:27:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=66936decfa411105191f4f2324745586440e8e80'/>
<id>66936decfa411105191f4f2324745586440e8e80</id>
<content type='text'>
Update the raw D-Bus python examples to use newer APIs where
appropriate (and split the add-connection example into 1.0-only and
0.9-compatible versions). Update the gi-based python examples for the
various API changes since they were last updated.

Also add a comment to the ruby add-connection example pointing out
that it's still using the old settings APIs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the raw D-Bus python examples to use newer APIs where
appropriate (and split the add-connection example into 1.0-only and
0.9-compatible versions). Update the gi-based python examples for the
various API changes since they were last updated.

Also add a comment to the ruby add-connection example pointing out
that it's still using the old settings APIs.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: fix python GI examples to work after libnm changes</title>
<updated>2014-09-05T11:48:56+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2014-09-05T11:48:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=85909d080f74c85f91f418909def3997fc4e898f'/>
<id>85909d080f74c85f91f418909def3997fc4e898f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>all: port everything to libnm</title>
<updated>2014-08-01T18:34:05+00:00</updated>
<author>
<name>Dan Winship</name>
<email>danw@gnome.org</email>
</author>
<published>2014-05-19T17:44:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=a7c4d53d036c0f75b0903c95de7cb8fbdc47413f'/>
<id>a7c4d53d036c0f75b0903c95de7cb8fbdc47413f</id>
<content type='text'>
Since the API has not changed at this point, this is mostly just a
matter of updating Makefiles, and changing references to the library
name in comments.

NetworkManager cannot link to libnm due to the duplicated type/symbol
names. So it links to libnm-core.la directly, which means that
NetworkManager gets a separate copy of that code from libnm.so.
Everything else links to libnm.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the API has not changed at this point, this is mostly just a
matter of updating Makefiles, and changing references to the library
name in comments.

NetworkManager cannot link to libnm due to the duplicated type/symbol
names. So it links to libnm-core.la directly, which means that
NetworkManager gets a separate copy of that code from libnm.so.
Everything else links to libnm.
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: update documentation links</title>
<updated>2013-12-17T18:07:51+00:00</updated>
<author>
<name>William Jon McCann</name>
<email>william.jon.mccann@gmail.com</email>
</author>
<published>2013-12-17T17:51:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=74372f9f11de11db655cf1031a7da645da7b0777'/>
<id>74372f9f11de11db655cf1031a7da645da7b0777</id>
<content type='text'>
Various GNOME services moved around so links need updating.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Various GNOME services moved around so links need updating.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: use GLib.MainLoop instead of deprecated GObject.MainLoop in python</title>
<updated>2013-09-24T11:33:37+00:00</updated>
<author>
<name>Jiri Popelka</name>
<email>jpopelka@redhat.com</email>
</author>
<published>2013-09-24T10:58:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=a20fd994f442e6c30a4e3af3ab9bb8deb3955f89'/>
<id>a20fd994f442e6c30a4e3af3ab9bb8deb3955f89</id>
<content type='text'>
jklimes:
made the change for new firewall-zone.py example as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
jklimes:
made the change for new firewall-zone.py example as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: group python examples - dbus vs. gi</title>
<updated>2013-09-24T10:52:33+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2013-09-24T10:35:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=8a04ab9135e6905d376cdbe95cf4fc6910e337c1'/>
<id>8a04ab9135e6905d376cdbe95cf4fc6910e337c1</id>
<content type='text'>
Move examples using dbus-python ('dbus' module) and GObject introspection into
their own directories.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move examples using dbus-python ('dbus' module) and GObject introspection into
their own directories.
</pre>
</div>
</content>
</entry>
</feed>
