summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Prepare releasedbus-python-1.2.10Simon McVittie2019-09-022-2/+4
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Update NEWSSimon McVittie2019-09-021-0/+3
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Consistently save/restore exception indicator when called from C codeSimon McVittie2019-09-023-16/+43
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Fix NO_REPLY test for Python 3Simon McVittie2019-09-021-1/+2
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* NEWS: Mention corner-case incompatibilitySimon McVittie2019-09-021-0/+3
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Update NEWSSimon McVittie2019-09-021-0/+18
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Configure test bus to allow unrequested repliesSimon McVittie2019-09-021-0/+2
| | | | | | | This lets us catch them in the test code. Fixes: e9f658d9d57b97395545c5ed2eaf9a85436f135d Signed-off-by: Simon McVittie <smcv@collabora.com>
* Don't reply to NO_REPLY method callsSimon McVittie2019-09-021-2/+4
| | | | | | | | | This avoids unnecessary bus traffic, and when used on the system bus it also avoids system log spam from the dbus-daemon rejecting the unexpected reply. Closes: https://gitlab.freedesktop.org/dbus/dbus-python/issues/26 Signed-off-by: Simon McVittie <smcv@collabora.com>
* Add a test for NO_REPLY method callsSimon McVittie2019-09-022-0/+80
| | | | | | See https://gitlab.freedesktop.org/dbus/dbus-python/issues/26 Signed-off-by: Simon McVittie <smcv@collabora.com>
* TRACE: Fix NULL argument to format stringSimon McVittie2019-09-021-1/+1
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* test-p2p: Add test coverage for sending and receiving fdsSimon McVittie2019-09-022-0/+33
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Add basic test coverage for UnixFdSimon McVittie2019-09-021-0/+31
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* unixfd: Adjust docstringSimon McVittie2019-09-021-2/+2
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Merge remote-tracking branch 'origin/merge-requests/3'Simon McVittie2019-09-021-3/+27
|\
| * Add variant_level to UnixFd typeJohn Baublitz2019-08-301-3/+27
| |
* | Replace doc/HACKING.txt with a Gitlab-style CONTRIBUTING.mdSimon McVittie2019-07-295-78/+180
|/ | | | | | | | As with dbus-glib and dbus-gmain, much of the text here was taken from Wayland's contributing guide (thanks to Ander Conselvan de Oliveira, Bryce Harrington, Eric Engestrom, Pekka Paalanen and Daniel Stone). Signed-off-by: Simon McVittie <smcv@collabora.com>
* doc: Include inherited members when documenting objectsSimon McVittie2019-07-2912-0/+13
| | | | | | epydoc did this by default, but sphinx apparently doesn't. Signed-off-by: Simon McVittie <smcv@collabora.com>
* NEWS: UpdateSimon McVittie2019-07-231-4/+35
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Remove ChangeLog from source releasesSimon McVittie2019-07-232-7/+2
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Add Gitlab-CI integrationSimon McVittie2019-07-232-2/+82
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* CI: Explicitly install python*-devSimon McVittie2019-07-231-0/+1
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* uninstall: Delete dbus/__pycache__Simon McVittie2019-07-231-0/+5
| | | | | | This fixes distcheck on python3.7. Signed-off-by: Simon McVittie <smcv@collabora.com>
* Silence -Wcast-function-type with gcc 8Simon McVittie2019-07-238-47/+50
| | | | | | | | | 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 <smcv@collabora.com>
* CI: Use Debian 10 'buster' to test Python 3.7Simon McVittie2019-07-152-1/+8
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* CI: Try to use a system copy of sphinx and tap.pySimon McVittie2019-07-151-2/+40
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Don't set deprecated tp_print to NULL on Python 3Simon McVittie2019-07-157-1/+40
| | | | | | | This has apparently never actually done anything in the Python 3 series. Signed-off-by: Simon McVittie <smcv@collabora.com>
* Stop supporting Debian 8 'jessie' or Python 3.4Simon McVittie2019-07-153-10/+8
| | | | | | | These are no longer under mainstream security support from their respective vendors. Signed-off-by: Simon McVittie <smcv@collabora.com>
* with-session-bus.sh: Remove unused scriptSimon McVittie2019-07-152-107/+0
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Add clearer licensing information in SPDX formatSimon McVittie2019-07-1580-1/+160
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Update CI build infrastructure from dbusSimon McVittie2019-07-155-55/+195
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Remove remaining support for Ubuntu 14.04 'trusty'Simon McVittie2019-07-154-39/+13
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Merge remote-tracking branch 'dbus-gmain/dbus-gmain' into HEADSimon McVittie2019-07-1512-37/+143
|\
| * Add clearer licensing information using SPDX-License-IdentifierSimon McVittie2019-07-159-2/+21
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * Use Markdown for documentationSimon McVittie2018-10-033-10/+12
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * CONTRIBUTING: RewriteSimon McVittie2018-10-031-12/+97
| | | | | | | | | | | | | | | | | | | | This resembles a similar change in dbus-glib. Much of the text here was taken from Wayland's contributing guide (thanks to Ander Conselvan de Oliveira, Bryce Harrington, Eric Engestrom, Pekka Paalanen and Daniel Stone). Signed-off-by: Simon McVittie <smcv@collabora.com>
* | README: fix Qt Website urlRalf Habacker2018-08-231-1/+1
| |
* | HACKING: Update git URLsSimon McVittie2018-08-231-3/+3
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Update NEWSSimon McVittie2018-05-091-1/+4
| |
* | cross-test-server: Avoid a race condition in the clientSimon McVittie2018-05-091-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | cross-test-client: Wait until default method timeout for Exit()Simon McVittie2018-05-091-2/+0
| | | | | | | | | | | | | | | | On a slow machine under load, communication might legitimately take time. After the default method-call timeout (25 seconds) we'll go into quit_error_handler() and exit anyway. Bug-Debian: https://bugs.debian.org/898158
* | Start 1.2.10 developmentSimon McVittie2018-05-042-1/+6
| |
* | Merge commit '8270955fa969d86ec4cdc036801a7798a4983baf'Simon McVittie2018-05-040-0/+0
|\ \ | |/
| * dbus-gmain: Ignore more generated filesSimon McVittie2018-05-041-2/+5
| | | | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com> (cherry picked from commit f78b1afbc01efbe58eff8d3fe5040733124027d5)
* | 1.2.8dbus-python-1.2.8Simon McVittie2018-05-042-2/+4
| |
* | Revert "Generate a devhelp index for the HTML documentation"Simon McVittie2018-05-041-1/+1
| | | | | | | | | | This reverts commit c57180785096f4271d45ccb1488086c468abcec1. The devhelp mode produces different HTML, and currently breaks Debian's dh_sphinxdoc.
* | Generate a devhelp index for the HTML documentationSimon McVittie2018-05-031-1/+1
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Travis-CI: Use system Python to run pip for system PythonSimon McVittie2018-05-032-31/+54
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Travis-CI: Install sphinx from PyPISimon McVittie2018-05-031-3/+2
| | | | | | | | | | | | | | The one in Ubuntu 14.04 is too old for "python -m sphinx", and we weren't installing it at all for non-system Pythons. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | build: Don't install redirect pages intended for dbus.freedesktop.orgSimon McVittie2018-05-031-4/+8
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | build: Don't install stamp file for documentation buildSimon McVittie2018-05-031-4/+4
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>