summaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* 2004-12-30 John (J5) Palmieri <johnp@redhat.com>John (J5) Palmieri2004-12-301-1/+1
| | | | * python/dbus.py: s/ACTIVATION_REPLY_ACTIVE/ACTIVATION_REPLY_ACTIVATED
* 2004-12-30 John (J5) Palmieri <johnp@redhat.com>John (J5) Palmieri2004-12-301-2/+3
| | | | | | | * python/dbus_bindings.pyx.in: Change DBUS_ACTIVATION_REPLY_ACTIVATED and DBUS_ACTIVATION_REPLY_ALREADY_ACTIVE to match the values in dbus-protocol.h. Because they are defines and not enums they are not autogenerated.
* 2004-12-26 John (J5) Palmieri <johnp@redhat.com>John (J5) Palmieri2004-12-272-0/+23
| | | | | | | | * python/dbus_bindings.pyx.in (bus_activate_service): Bind dbus_bus_activate_service * python/dbus.py (Bus.activate_service): activate a service on the bus.
* * patch from Rob Taylor <robtaylor@fastmail.fm>John (J5) Palmieri2004-12-233-2/+18
| | | | | | - wrap bus_get_unix_user method in low level bindings - add get_unix_user method to the Bus class - fix extract.py so it can handle unsigned long return types
* 2004-09-16 David Zeuthen <david@fubar.dk>David Zeuthen2004-09-161-1/+65
| | | | * python/dbus_bindings.pyx.in: Add support for int64 and uint64
* 2004-07-28 Anders Carlsson <andersca@gnome.org>Anders Carlsson2004-07-282-1/+16
| | | | | | | * python/dbus.py: * python/dbus_bindings.pyx.in: Add dbus.init_gthreads (), allow emit_signal to pass arguments to the signal.
* 2004-07-18 Seth Nickell <seth@gnome.org>Seth Nickell2004-07-183-12/+21
| | | | | | | | | | | | * python/dbus.py: * python/dbus_bindings.pyx.in: * python/tests/test-client.py: Add dbus.ByteArray and dbus_bindings.ByteArray types so that byte streams can be passed back. Give jdahlin the heaps of credit that are so rightfully his.
* 2004-07-12 Seth Nickell <seth@gnome.org>Seth Nickell2004-07-122-13/+17
| | | | | | | | | | | | | | * python/dbus.py: Add message argument to the default object_method_handler function. * python/dbus_bindings.pyx.in: Automatically return NIL when passed an empty list (we can't pass back a list since lists are typed and we don't have any idea what type the the client intended the list to be... :-( )
* 2004-07-10 Seth Nickell <seth@gnome.org>Seth Nickell2004-07-111-8/+9
| | | | | | * python/examples/Makefile.am: Fix distcheck breakage caused by new examples.
* 2004-07-10 Seth Nickell <seth@gnome.org>Seth Nickell2004-07-117-63/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | * python/dbus.py: Add "message" argument to service-side dbus.Object methods. This will break existing services written using the python bindings, but will allow extraction of all the message information (e.g. who its from). Add improved "object oriented" signal handling/emission. * python/examples/example-service.py: Nix this example. * python/examples/example-signal-emitter.py: * python/examples/example-signal-recipient.py: Two new examples that show how to emit and receive signals using the new APIs. * python/examples/example-signals.py: * python/examples/gconf-proxy-service.py: * python/examples/gconf-proxy-service2.py: Add "message" argument to service methods.
* * switched include directory from glib/ to dbus/John (J5) Palmieri2004-06-231-1/+1
| | | | since dbus-glib.h moved
* Fixed typo for python/examples makeOwen Fraser-Green2004-06-101-1/+1
|
* * Python bindings are updated to reflect C API changes which nowJohn (J5) Palmieri2004-06-081-32/+3
| | | | accept plain path strings instead of an array of path elements.
* Update .cvsignore filesSeth Nickell2004-06-012-0/+8
|
* 2004-06-01 Seth Nickell <seth@gnome.org>Seth Nickell2004-06-012-25/+103
| | | | | | | | | | | | * python/dbus_bindings.pyx.in: * python/tests/test-client.py: Round off basic type support. Add dicts (yay!), and remaining array types. Make MessageIter more general so it works for dicts too. Mark all loop variables as C integers.
* * python/dbus_bindings.pyx.in:Seth Nickell2004-06-012-14/+88
| | | | | | | | | * python/tests/test-client.py: Test Suite: 1 Python Bindings: 0 (fix string array memory trashing bug... oops)
* 2004-05-30 Seth Nickell <seth@gnome.org>Seth Nickell2004-05-306-41/+94
| | | | | | | | | | | | | | | | | | | | | | | | * python/dbus.py: Add a nicer-but-less-flexible alternate API for handling calls to virtual objects in dbus.ObjectTree. Screw up the argument order to the dbus.Object constructor for consistency with dbus.ObjectTree (and to make dbus_methods optional for future extension) * python/examples/Makefile.am: * python/examples/gconf-proxy-service.py: * python/examples/gconf-proxy-service2.py: Alternate implementation of gconf-proxy-service using the nicer dbus.ObjectTree API. * python/examples/example-service.py: * python/tests/test-server.py Reverse the argument order to deal with dbus.Object constructor changes.
* 2004-05-30 Seth Nickell <seth@gnome.org>Seth Nickell2004-05-302-3/+3
| | | | | | | | | * python/examples/example-client.py: * python/examples/example-service.py: Take it back. Lists seem to work but they're broken in the test suite. Make the base examples use lists (works fine).
* 2004-05-30 Seth Nickell <seth@gnome.org>Seth Nickell2004-05-302-21/+46
| | | | | | | | | * python/dbus_bindings.pyx.in: * python/tests/test-client.py: Add some more tests and fix errors that crop up. Unfortunately, currently it seems like marshalling and unmarshalling of lists is completely broken :-(
* 2004-05-30 Seth Nickell <seth@gnome.org>Seth Nickell2004-05-304-43/+126
| | | | | | | | | | | | | | | | * python/dbus_bindings.pyx.in: Add support for ObjectPath type. * python/dbus.py: Refactor message handling code to a common function. * python/tests/test-client.py: * python/tests/test-server.py: Add tests that check to make sure values of all types can be echoed from a service w/o mangling.
* 2004-05-29 Seth Nickell <seth@gnome.org>Seth Nickell2004-05-304-1/+112
| | | | | | | | | | | | | | | * python/dbus.py: Add ObjectTree class which allows implementation of trees of "virtual" objects. Basically the python wrapper for "register_fallback". * python/examples/Makefile.am * python/examples/gconf-proxy-client.py: * python/examples/gconf-proxy-service.py: Implement a simple GConf proxy service that supports get/set on string and int GConf keys using the ObjectTree.
* 2004-05-29 Seth Nickell <seth@gnome.org>Seth Nickell2004-05-294-4/+23
| | | | | | | | | | | * python/dbus.py: * python/examples/example-client.py: * python/examples/example-service.py: * python/examples/list-system-services.py: Add SessionBus, SystemBus and ActivationBus classes so you don't need to know the special little BUS_TYPE flag.
* * python/examples/Makefile.am:Seth Nickell2004-05-281-0/+9
| | | | Forget to add Makefile.am. Do not pass go.
* * configure.in:Seth Nickell2004-05-282-0/+26
| | | | | | | | | | | * python/Makefile.am: Include the example python apps in the tarball. * python/examples/list-system-services.py Add a python new example that fetches the list of services from the system bus.
* 2004-05-27 Seth Nickell <seth@gnome.org>Seth Nickell2004-05-282-2/+6
| | | | | | | | * python/dbus.py: * python/dbus_bindings.pyx.in: Fix failure to notify that a signal was not handled, resulted in hung functions.
* * Fixed python bindings by defining all need parameter and variable typesJohn (J5) Palmieri2004-05-101-64/+128
|
* hush.Michael Meeks2004-03-291-0/+3
|
* 2004-03-19 Havoc Pennington <hp@redhat.com>dbus-0.21Havoc Pennington2004-03-191-1/+2
| | | | | | | | | | | | | | * NEWS: 0.21 updates * configure.in: 0.21 * doc/Makefile.am: add all XMLTO usage to DBUS_XML_DOCS_ENABLED * python/Makefile.am: change to avoid dist of dbus_bindings.c so you don't need pyrex to make dist * qt/Makefile.am (libdbus_qt_1_la_SOURCES): add integrator.h to sources; run moc
* 2003-12-01 David Zeuthen <david@fubar.dk>David Zeuthen2003-12-011-2/+10
| | | | | | * python/dbus.py: Add the actual message when calling the reciever of a signal such that parameters can be inspected. Add the method remove_signal_receiver
* 2003-10-28 David Zeuthen <david@fubar.dk>David Zeuthen2003-10-291-1/+24
| | | | | * python/dbus_bindings.pyx.in: add get_dict to handle dictionaries return types. Fixup TYPE_* to reflect changes in dbus/dbus-protocol.h
* 2003-10-14 David Zeuthen <david@fubar.dk>David Zeuthen2003-10-151-2/+2
| | | | | | | * python/dbus_bindings.pyx.in (MessageIter.get): fixed typo in argtype to arg_type when raising unknown arg type exception. Changed type list to reflect the changes in dbus-protocol.h so the bindings actually work.
* Fix makefile.amSeth Nickell2003-10-151-0/+1
|
* 2003-10-13 Seth Nickell <seth@gnome.org>Seth Nickell2003-10-131-3/+1
| | | | | | | * python/Makefile.am: Pass "make distcheck": remove a couple files from DIST_FILES that weren't included in the final version.
* add examplesHavoc Pennington2003-09-303-0/+57
|
* forgot to add files...Havoc Pennington2003-09-305-0/+1452