summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* 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)