summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* examples: Convert to Python 3Simon McVittie2021-07-2010-73/+113
| | | | | | | | | | Python 2 reached EOL more than 18 months ago. For the gconf example, which is only still here because it provides an example of implementing a FallbackObject, use a mock implementation if the deprecated gconf module is no longer available. Signed-off-by: Simon McVittie <smcv@collabora.com>
* Add clearer licensing information in SPDX formatSimon McVittie2019-07-1510-0/+20
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Use gi instead of gobject, everywhere except dbus.gobject_serviceSimon McVittie2016-01-206-15/+15
|
* Use non-recursive make for everything except testsSimon McVittie2016-01-201-11/+0
|
* gconf examples: add brief documentationSimon McVittie2015-12-042-0/+9
|
* Use a name in example.com for our example GConf proxySimon McVittie2015-12-042-2/+2
| | | | | | dbus-python is not a GNOME project, so we should not use their namespace. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=85720
* Install all examplesBen Longbons2015-12-041-2/+5
| | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=85720 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> [smcv: separated out from a previous commit]
* Consistently make examples executableBen Longbons2015-12-046-0/+0
| | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=85720 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> [smcv: separated out from a previous commit]
* Fix GConf examplesBen Longbons2015-12-042-25/+23
| | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=85720 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> [smcv: separate out some changes into separate commits]
* Use Python 3 syntax to catch exceptionsBarry Warsaw2011-12-131-1/+1
| | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* unix-fd-service example: also exercise returning UnixFd(int)Simon McVittie2011-05-181-6/+11
| | | | | Also, cycle through the three possible return types deterministically, rather than choosing at random.
* Added Unix Fd support to dbus-pythonElvis Pfützenreuter2011-05-182-0/+146
|
* example-async-client: remove duplicate handle_hello_error()Simon McVittie2011-05-171-12/+0
| | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=22560
* License examples under MIT/X11.Simon McVittie2007-09-288-0/+185
| | | | | | According to history of dbus-core before the bindings split, the examples were written by Red Hat employees, so we should be OK to relicense them; and it's good to have copyright headers.
* examples/list-system-services.py: Make more exemplarySimon McVittie2007-05-031-5/+9
|
* Split up Makefile.am between subdirectoriesSimon McVittie2007-01-221-0/+8
| | | | | | As well as being conventional, this seems to be necessary to avoid having dbus_py_test.so installed, while still having it be a Libtool shared library (noinst libraries are helpfully made static).
* examples: Don't load a main loop when only making blocking callsSimon McVittie2007-01-162-4/+1
|
* Remove old .cvsignore filesSimon McVittie2007-01-101-2/+0
|
* Correct usage in example-async-client: you need to use example-client (or ↵Simon McVittie2007-01-091-1/+1
| | | | kill(1) of course) to shut down the example service
* Add an example of asynchronous calls. Run the examples during 'make check'.Simon McVittie2007-01-094-1/+125
|
* list-system-services.py: Use the NULL_MAIN_LOOPSimon McVittie2006-12-131-1/+3
|
* dbus/examples: Move to examples/ (it's not part of the library and isn't ↵Simon McVittie2006-12-138-0/+322
installed)