<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/dbus-python.git/dbus/gobject_service.py, branch dbus-python-1.2.4</title>
<subtitle>gitlab.freedesktop.org: dbus/dbus-python.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/'/>
<entry>
<title>Use GObject.__class__ instead of GObjectMeta</title>
<updated>2013-04-22T16:40:51+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2013-04-22T16:40:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=423ee853dfbb4ee9ed89a21e1cf2b6a928e2fc4d'/>
<id>423ee853dfbb4ee9ed89a21e1cf2b6a928e2fc4d</id>
<content type='text'>
In pygobject 3.8, GObjectMeta is no longer available via
gi.repository.GObject. What we actually want is "the metaclass of
GObject", so, say so.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In pygobject 3.8, GObjectMeta is no longer available via
gi.repository.GObject. What we actually want is "the metaclass of
GObject", so, say so.
</pre>
</div>
</content>
</entry>
<entry>
<title>1.1.0</title>
<updated>2012-05-09T14:47:48+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-05-09T14:47:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=4a4bce958b3257b7cb2adc050022879660aface1'/>
<id>4a4bce958b3257b7cb2adc050022879660aface1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate dbus.gobject_service and make it vaguely compatible with 1.0</title>
<updated>2012-05-02T09:44:13+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-05-02T09:44:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=2f59718a4bf22cbea28e0c7b2f880f86d4497a7a'/>
<id>2f59718a4bf22cbea28e0c7b2f880f86d4497a7a</id>
<content type='text'>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48904
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48904
</pre>
</div>
</content>
</entry>
<entry>
<title>Reinstate the old dbus.gobject_service, but only for Python 2</title>
<updated>2012-05-02T09:41:27+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-05-02T09:41:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=5b9f87676802f04ebc339fd16a4a30dc42e33c91'/>
<id>5b9f87676802f04ebc339fd16a4a30dc42e33c91</id>
<content type='text'>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48904
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48904
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename gobject_service (PyGI version) to gi_service</title>
<updated>2012-05-02T09:39:29+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2012-05-02T09:39:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=ba3f3ff253982c9ad3b5a33df5b120e5692c9d29'/>
<id>ba3f3ff253982c9ad3b5a33df5b120e5692c9d29</id>
<content type='text'>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48904
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48904
</pre>
</div>
</content>
</entry>
<entry>
<title>More Python 3 porting, this time primarily to get test-client.py working.</title>
<updated>2011-12-16T22:07:07+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-16T22:07:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=f8dab5af0bef5d26a51df41a564a5285c16a9cb5'/>
<id>f8dab5af0bef5d26a51df41a564a5285c16a9cb5</id>
<content type='text'>
Changes include:

- DBusException.get_dbus_message(): In Python 3, the str of the exception will
  already be a unicode, so don't try to decode it unless it's a bytes object
  (a.k.a. 8-bit str in Python 2).
- gobject_service.py: Switch to pygi and rewrite the metaclass instantiation
  code to be portable between Python 2 and Python 3.
- run-test.sh: echo a few more useful environment variables
- test-client.py:
  - Globally replace deprecated assertEquals with assertEqual
  - Globally replace deprecated assert_ with assertTrue
  - Use bytes objects for both 'ay' signatured methods on the server
  - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3
    and a unicode in Python 2.  Python 3 has no `unicode` built-in.
  - Reformat some long lines for debugging.
- test-service.py:
  - Open the log file in 'a' mode for easier tailing.
  - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3
    and a unicode in Python 2.  Python 3 has no `unicode` built-in.
  - reformat some long lines for debugging.
  - Put module-scope code into a main() function and add a bunch of logger
    output for better debugging.  `session_bus` must still be global though.
    Wrap main() in a bit try/except to log all top-level exceptions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changes include:

- DBusException.get_dbus_message(): In Python 3, the str of the exception will
  already be a unicode, so don't try to decode it unless it's a bytes object
  (a.k.a. 8-bit str in Python 2).
- gobject_service.py: Switch to pygi and rewrite the metaclass instantiation
  code to be portable between Python 2 and Python 3.
- run-test.sh: echo a few more useful environment variables
- test-client.py:
  - Globally replace deprecated assertEquals with assertEqual
  - Globally replace deprecated assert_ with assertTrue
  - Use bytes objects for both 'ay' signatured methods on the server
  - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3
    and a unicode in Python 2.  Python 3 has no `unicode` built-in.
  - Reformat some long lines for debugging.
- test-service.py:
  - Open the log file in 'a' mode for easier tailing.
  - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3
    and a unicode in Python 2.  Python 3 has no `unicode` built-in.
  - reformat some long lines for debugging.
  - Put module-scope code into a main() function and add a bunch of logger
    output for better debugging.  `session_bus` must still be global though.
    Wrap main() in a bit try/except to log all top-level exceptions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Relicense Collabora code under the MIT/X11 license proposed for dbus core, removing all references to the LGPL as a result</title>
<updated>2007-09-27T12:57:49+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-09-27T12:57:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=d8c154284ca464f493c81a4d3b5a37890d68acec'/>
<id>d8c154284ca464f493c81a4d3b5a37890d68acec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dbus/gobject_service.py: Make ExportedGObject __init__ accept GObject properties</title>
<updated>2007-05-07T15:44:11+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-05-07T14:53:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=46d28550bbe03ccf9853f072743d879ae7d621ff'/>
<id>46d28550bbe03ccf9853f072743d879ae7d621ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dbus/gobject_service.py: Make ExportedGObject work correctly.</title>
<updated>2007-05-03T11:11:31+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-05-03T11:11:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=e6d5bb0209c9cba4d42f12a448bd708a2cabaa9f'/>
<id>e6d5bb0209c9cba4d42f12a448bd708a2cabaa9f</id>
<content type='text'>
Also add a simple unit test for it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also add a simple unit test for it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement ExportedGObject, a convenience class to export GObjects on the bus.</title>
<updated>2007-03-02T18:46:12+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-03-02T18:46:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/dbus-python.git/commit/?id=a7110d5ee20f04f17346079a6a824a7c017fe124'/>
<id>a7110d5ee20f04f17346079a6a824a7c017fe124</id>
<content type='text'>
This is non-trivial because dbus.service.Object and GObject both use
metaclasses, so we need to implement a metaclass inheriting from both their
metaclasses - it might as well go in dbus-python to avoid everyone having to
reinvent this solution.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is non-trivial because dbus.service.Object and GObject both use
metaclasses, so we need to implement a metaclass inheriting from both their
metaclasses - it might as well go in dbus-python to avoid everyone having to
reinvent this solution.
</pre>
</div>
</content>
</entry>
</feed>
