summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-07-23Add Gitlab-CI integrationHEADmasterSimon McVittie1-0/+80
Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-23Silence -Wcast-function-type with gcc 8Simon McVittie8-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>
2019-07-15CI: Use Debian 10 'buster' to test Python 3.7Simon McVittie2-1/+8
Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-15CI: Try to use a system copy of sphinx and tap.pySimon McVittie1-2/+40
Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-15Don't set deprecated tp_print to NULL on Python 3Simon McVittie7-1/+40
This has apparently never actually done anything in the Python 3 series. Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-15Stop supporting Debian 8 'jessie' or Python 3.4Simon McVittie3-10/+8
These are no longer under mainstream security support from their respective vendors. Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-15with-session-bus.sh: Remove unused scriptSimon McVittie2-107/+0
Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-15Add clearer licensing information in SPDX formatSimon McVittie80-1/+160
Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-15Update CI build infrastructure from dbusSimon McVittie5-55/+195
Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-15Remove remaining support for Ubuntu 14.04 'trusty'Simon McVittie4-39/+13
Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-07-15Merge remote-tracking branch 'dbus-gmain/dbus-gmain' into HEADSimon McVittie12-37/+143
2019-07-15Add clearer licensing information using SPDX-License-IdentifierSimon McVittie9-2/+21
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-10-03Use Markdown for documentationSimon McVittie3-10/+12
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-10-03CONTRIBUTING: RewriteSimon McVittie1-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>
2018-08-23README: fix Qt Website urlRalf Habacker1-1/+1
2018-08-23HACKING: Update git URLsSimon McVittie1-3/+3
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-09Update NEWSSimon McVittie1-1/+4
2018-05-09cross-test-server: Avoid a race condition in the clientSimon McVittie1-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
2018-05-09cross-test-client: Wait until default method timeout for Exit()Simon McVittie1-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
2018-05-04Start 1.2.10 developmentSimon McVittie2-1/+6
2018-05-04Merge commit '8270955fa969d86ec4cdc036801a7798a4983baf'Simon McVittie0-0/+0
2018-05-04dbus-gmain: Ignore more generated filesSimon McVittie1-2/+5
Signed-off-by: Simon McVittie <smcv@collabora.com> (cherry picked from commit f78b1afbc01efbe58eff8d3fe5040733124027d5)
2018-05-041.2.8Simon McVittie2-2/+4
2018-05-04Revert "Generate a devhelp index for the HTML documentation"Simon McVittie1-1/+1
This reverts commit c57180785096f4271d45ccb1488086c468abcec1. The devhelp mode produces different HTML, and currently breaks Debian's dh_sphinxdoc.
2018-05-03Generate a devhelp index for the HTML documentationSimon McVittie1-1/+1
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-03Travis-CI: Use system Python to run pip for system PythonSimon McVittie2-31/+54
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-03Travis-CI: Install sphinx from PyPISimon McVittie1-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>
2018-05-03build: Don't install redirect pages intended for dbus.freedesktop.orgSimon McVittie1-4/+8
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-03build: Don't install stamp file for documentation buildSimon McVittie1-4/+4
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-03build: Install Sphinx documentationSimon McVittie1-12/+14
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-03build: Enable Sphinx documentation if dependencies are availableSimon McVittie1-5/+7
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-02Travis-CI: Pull in setuptoolsSimon McVittie1-0/+1
distcheck now requires it, to generate the egg_info. Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-02Remove remnants of old documentationSimon McVittie3-81/+4
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-02Travis-CI: Install sphinxSimon McVittie1-4/+5
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-02Use README as the long descriptionSimon McVittie1-0/+1
PyPI no longer renders README by default. Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-02Update NEWSSimon McVittie1-1/+18
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-02Fix distcheckSimon McVittie1-3/+6
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-02Add redirection from the old epydoc documentation to the new versionsSimon McVittie3-3/+190
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-02Improve documentation for SphinxSimon McVittie8-93/+63
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-02doc: Be more clear about bytes vs. unicodeSimon McVittie3-45/+84
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-02Improve UTF8String documentationSimon McVittie1-9/+8
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-02dbus-gmain: Ignore more generated filesSimon McVittie1-2/+5
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-02Convert documentation from epydoc to SphinxSimon McVittie35-193/+519
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-05-02.gitignore: Ignore more test logsSimon McVittie1-0/+2
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-04-21Remove obsolete COMPAT.txtSimon McVittie1-47/+0
This was about compatibility with the rename and rewrite of dbus_bindings as _dbus_bindings, which took place over a decade ago. If any projects are still not compatible with the "new" dbus-python then there is no hope for them. Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-04-21Include PKG-INFO and egg_info in dist tarballsSimon McVittie2-0/+5
PyPI no longer accepts uploads without these. Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-01-30Create directories to hold .test filesSimon McVittie1-0/+3
Some of the corresponding test scripts are in $(srcdir)/test, so there is no guarantee that $(builddir)/test will exist before these recipes run. This usually works, but can cause highly parallel builds to fail. Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-01-29Start towards 1.2.8Simon McVittie2-1/+6
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-01-29Prepare 1.2.6Simon McVittie2-2/+4
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-01-29Add a note on how to update dbus-gmainSimon McVittie1-0/+6
Signed-off-by: Simon McVittie <smcv@collabora.com>