summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release v1.12.16dbus-python-1.2.16Simon McVittie2020-01-142-2/+4
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Update NEWSSimon McVittie2020-01-111-1/+10
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* build: Forbid unexpanded AX_ macros more selectivelySimon McVittie2020-01-111-1/+1
| | | | | | | The autoconf-archive macros do not guarantee not to use $AX_foo names for shell variables (see dbus/dbus#249, dbus/dbus!86). Signed-off-by: Simon McVittie <smcv@collabora.com>
* Add support for testing without tappySimon McVittie2020-01-119-63/+68
| | | | | | | The latest version of tappy dropped Python 2 support, but I want to be able to continue to run dbus-python tests on Python 2 for now. Signed-off-by: Simon McVittie <smcv@collabora.com>
* Post-release micro version bumpSimon McVittie2020-01-112-1/+6
|
* 1.2.14dbus-python-1.2.14Simon McVittie2019-11-252-3/+14
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Disable compiler errors for -WinlineSimon McVittie2019-11-211-0/+2
| | | | | | | Being told that a `static inline` function was not inlined is not particularly useful as a way to detect bugs. Signed-off-by: Simon McVittie <smcv@collabora.com>
* Run CI for Python 3.8Simon McVittie2019-11-213-11/+50
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* test: Expand test coverage for int(), str(), unicode() of our typesSimon McVittie2019-11-211-3/+79
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* abstract: Stringify float subclasses using float's reprSimon McVittie2019-11-211-1/+14
| | | | | | | | Python 3.8 removes the tp_str for various built-in types, so we would print Double values as their repr (for example dbus.Double(0.5)), which is a regression. Print them as 0.5 instead. Signed-off-by: Simon McVittie <smcv@collabora.com>
* int: Ensure we stringify Booleans as 0 or 1Simon McVittie2019-11-211-1/+7
| | | | | | | | | | Python 3.8 removes the tp_str for various built-in types, so we would print Boolean values as their repr (for example dbus.Boolean(True)), which is a regression. Print them as 0 or 1 instead, which was the historical behaviour (arguably False or True would be better, but that would be a behaviour change). Signed-off-by: Simon McVittie <smcv@collabora.com>
* abstract: Stringify long subclasses using long's reprSimon McVittie2019-11-211-1/+14
| | | | | | | | | | Python 3.8 removes the tp_str for various built-in types, so we would print long-derived values as their repr (for example dbus.Int64(42)), which is a regression. Print them as 42 instead. Co-authored-by: matclab <mathieu@clabaut.net> Signed-off-by: Simon McVittie <smcv@collabora.com> Fixes: https://gitlab.freedesktop.org/dbus/dbus-python/issues/31
* Post-release version bumpSimon McVittie2019-09-122-1/+6
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Prepare version 1.2.12dbus-python-1.2.12Simon McVittie2019-09-122-3/+12
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Revert "Consistently save/restore exception indicator when called from C code"Simon McVittie2019-09-123-43/+16
| | | | | | | | | | Saving and restoring the exception indicator breaks users of dbus-python that rely on being able to raise SystemExit (or call sys.exit()) from a dbus-python method, such as libsecret's test suite. This reverts commit dbc0f7ef463922c026f1183a07368aa61ffe98dc. Signed-off-by: Simon McVittie <smcv@collabora.com>
* Merge commit 'c786e961343b1acd9ac78c035b8e335bf1f3e634'Simon McVittie2019-09-022-1/+6
|\
| * Post-release version bumpSimon McVittie2019-09-022-1/+6
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Document how to release dbus-pythonSimon McVittie2019-09-021-2/+23
|/ | | | | | Otherwise I'll probably forget a step, usually updating PyPI. Signed-off-by: Simon McVittie <smcv@collabora.com>
* 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
|\