<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/dbus-python.git/test, branch dbus-python-1.2.12</title>
<subtitle>gitlab.freedesktop.org: dbus/dbus-python.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/'/>
<entry>
<title>Fix NO_REPLY test for Python 3</title>
<updated>2019-09-02T13:24:36+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-09-02T13:24:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=5e3a97992b206037c137a8cfda1a2c2f18fac45a'/>
<id>5e3a97992b206037c137a8cfda1a2c2f18fac45a</id>
<content type='text'>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Configure test bus to allow unrequested replies</title>
<updated>2019-09-02T12:59:41+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-09-02T12:58:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=416dd1461cb68e0648382722832e7a22025d3683'/>
<id>416dd1461cb68e0648382722832e7a22025d3683</id>
<content type='text'>
This lets us catch them in the test code.

Fixes: e9f658d9d57b97395545c5ed2eaf9a85436f135d
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This lets us catch them in the test code.

Fixes: e9f658d9d57b97395545c5ed2eaf9a85436f135d
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a test for NO_REPLY method calls</title>
<updated>2019-09-02T12:45:44+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-09-02T12:10:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=e9f658d9d57b97395545c5ed2eaf9a85436f135d'/>
<id>e9f658d9d57b97395545c5ed2eaf9a85436f135d</id>
<content type='text'>
See https://gitlab.freedesktop.org/dbus/dbus-python/issues/26

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://gitlab.freedesktop.org/dbus/dbus-python/issues/26

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test-p2p: Add test coverage for sending and receiving fds</title>
<updated>2019-09-02T12:04:57+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-09-02T12:04:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=d1d876399be089bd94343140da8d41479f0c1fd1'/>
<id>d1d876399be089bd94343140da8d41479f0c1fd1</id>
<content type='text'>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add basic test coverage for UnixFd</title>
<updated>2019-09-02T11:39:32+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-09-02T11:39:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=5b0af53bbb3f4e12af4d979d8501ff6fa10af051'/>
<id>5b0af53bbb3f4e12af4d979d8501ff6fa10af051</id>
<content type='text'>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Silence -Wcast-function-type with gcc 8</title>
<updated>2019-07-23T10:14:14+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-07-23T10:14:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=b24fd92dcaac567568641df0490acac334dd94c9'/>
<id>b24fd92dcaac567568641df0490acac334dd94c9</id>
<content type='text'>
Casting via void (*)(void) is the documented way to suppress this
warning. This is required because the CPython API treats function
pointers as generic, with flags to indicate different calling
conventions.

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Casting via void (*)(void) is the documented way to suppress this
warning. This is required because the CPython API treats function
pointers as generic, with flags to indicate different calling
conventions.

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>with-session-bus.sh: Remove unused script</title>
<updated>2019-07-15T14:51:05+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-07-15T12:48:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=5aa311eca9b3226e033030ce78a3d60abd4ea092'/>
<id>5aa311eca9b3226e033030ce78a3d60abd4ea092</id>
<content type='text'>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add clearer licensing information in SPDX format</title>
<updated>2019-07-15T14:51:05+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-07-15T12:08:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=28734ae1661ea029fa2ed06fab6a4d6cf6ade098'/>
<id>28734ae1661ea029fa2ed06fab6a4d6cf6ade098</id>
<content type='text'>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove remaining support for Ubuntu 14.04 'trusty'</title>
<updated>2019-07-15T12:47:08+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2018-12-17T17:27:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=745230046f0497582e2ee4b3648b32624451e754'/>
<id>745230046f0497582e2ee4b3648b32624451e754</id>
<content type='text'>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cross-test-server: Avoid a race condition in the client</title>
<updated>2018-05-09T07:53:34+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@debian.org</email>
</author>
<published>2018-05-08T08:18:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=62789b8dd79f2b29252f31c1f424cc43e4ca5ec5'/>
<id>62789b8dd79f2b29252f31c1f424cc43e4ca5ec5</id>
<content type='text'>
There is a race condition here between these chains of events, which as
far as I can tell has existed for at least 10 years:

* server receives Tests.Trigger() and schedules SignalTests.Triggered
* server returns to main loop
* server emits SignalTests.Triggered
* client receives SignalTests.Triggered

and

* server receives Tests.Trigger() and replies with success
* client receives success and emits SignalTests.Trigger
* server receives SignalTests.Trigger and calls CallbackTests.Response()
* client receives CallbackTests.Response() and calls Tests.Exit()
* server receives Tests.Exit() and replies with success
* client quits its main loop

If we don't reply to Tests.Trigger() until after the SignalTests.Triggered
signal has been sent, because the client called Tests.Trigger()
asynchronously, messages are not re-ordered and the reply arrives after
the signal; so the whole chain of events leading up to
"client receives SignalTests.Triggered" happens before
"client receives success and emits SignalTests.Trigger" and there is
no race condition.

Bug-Debian: https://bugs.debian.org/898158
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is a race condition here between these chains of events, which as
far as I can tell has existed for at least 10 years:

* server receives Tests.Trigger() and schedules SignalTests.Triggered
* server returns to main loop
* server emits SignalTests.Triggered
* client receives SignalTests.Triggered

and

* server receives Tests.Trigger() and replies with success
* client receives success and emits SignalTests.Trigger
* server receives SignalTests.Trigger and calls CallbackTests.Response()
* client receives CallbackTests.Response() and calls Tests.Exit()
* server receives Tests.Exit() and replies with success
* client quits its main loop

If we don't reply to Tests.Trigger() until after the SignalTests.Triggered
signal has been sent, because the client called Tests.Trigger()
asynchronously, messages are not re-ordered and the reply arrives after
the signal; so the whole chain of events leading up to
"client receives SignalTests.Triggered" happens before
"client receives success and emits SignalTests.Trigger" and there is
no race condition.

Bug-Debian: https://bugs.debian.org/898158
</pre>
</div>
</content>
</entry>
</feed>
