summaryrefslogtreecommitdiffstats
path: root/mono/Connection.cs
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'dbus-0.23.2'.dbus-0.23.2Ryan Lortie2005-02-181-3/+3
|
* 2005-02-11 Joe Shaw <joeshaw@novell.com>Joe Shaw2005-02-121-0/+66
| | | | | | | | | | * mono/Connection.cs: The unpredictability of finalizers in mono prevents us from deterministically disconnecting the filters from the Service class's finalizer, so move tracking of filters and matches here. Add API for that. * mono/Service.cs: Remove the code, add code which calls the methods now on the Connection class.
* 2005-01-25 Joe Shaw <joeshaw@novell.com>Joe Shaw2005-01-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Land the mono binding changes to conform to the new APIs. * mono/Makefile.am: Remove Custom.cs, DBusType/Custom.cs, DBusType/Dict.cs, and DBusType/Nil.cs from the build. * mono/Arguments.cs (GetCodeAsString): Added. Returns the dbus type code as a string. (InitAppending): Rename dbus_message_append_iter_init() to dbus_message_iter_init_append(). * mono/BusDriver.cs: Rename ServiceEventHandler to NameOwnerChangedHandler. Rename GetServiceOwner to GetOwner. Rename ServiceOwnerChanged to NameOwnerChanged. * mono/Connection.cs: Rename BaseService to UniqueName, and the underlying C call. * mono/Custom.cs: Removed. The CUSTOM type has been removed. * mono/Service.cs: Rename Exists to HasOwner, internally rename dbus_bus_acquire_service() to dbus_bus_request_name(). * mono/DBusType/Array.cs (ctor): Use Type.GetElementType() instead of Type.UnderlyingSystemType to get the correct element type for the array. (ctor): Update code for new APIs: use dbus_message_iter_recurse(), dbus_message_get_{element|arg}_type() instead of dbus_message_iter_init_array_iterator(). (Append): Replace dbus_message_iter_append_array() with dbus_message_iter_open_container() and dbus_message_iter_close_container(). * mono/DBusType/Custom.cs, mono/DBusType/Nil.cs: Removed. These types have been removed. * mono/DBusType/*.cs: Replace calls of dbus_message_iter_get_[type]() to dbus_message_iter_get_basic(), but specify the type in the DllImport extern declaration. Ditto for dbus_message_iter_append_[type]() -> dbus_message_iter_append_basic(). * mono/example/BusListener.cs: Update for ServiceEventHandler -> NameOwnerChangedHandler.
* 2004-08-30 Jon Trowbridge <trow@ximian.com>Jon Trowbridge2004-08-311-0/+11
| | | | | | | | | | | | | | | | | | | * mono/BusDriver.cs: Added. This is a class for interacting with the org.freedesktop.DBus service. * mono/Message.cs: Added a mechanism to expose the message that is currently being dispatched via the static Message.Current property. Added Message.Sender and Message.Destination properties. * mono/Handler.cs: Expose the dispatched message via Message.Current when handling method calls. * mono/Service.cs: Expose the dispatched message via Message.Current when handling signal emissions. * mono/Connection.cs: Bind dbus_bus_get_base_service via the Connection.BaseService property.
* Made proxy DLL names uniqueOwen Fraser-Green2004-04-031-7/+8
|
* Added signal support.Owen Fraser-Green2004-03-261-0/+5
|
* First checkin of the Mono bindings.Owen Fraser-Green2004-03-231-161/+149
|
* 2003-06-29 Havoc Pennington <hp@pobox.com>dbus-object-names-branchpointHavoc Pennington2003-07-031-0/+1
| | | | | | | | | | | * mono/Test.cs (class Test): fire up a main loop and run it * mono/DBus.cs (DBus): don't g_thread_init since it can only be done once, the app has to do it 2003-06-26 Havoc Pennington <hp@pobox.com> * mono/Connection.cs: set up connection with the glib main loop
* 2003-06-24 Havoc Pennington <hp@pobox.com>Havoc Pennington2003-06-251-11/+11
| | | | * mono/*.cs: Use IntPtr.Zero instead of ((IntPtr) 0)
* 2003-06-22 Havoc Pennington <hp@pobox.com>Havoc Pennington2003-06-231-8/+76
| | | | | | | * mono/Connection.cs: add more bindings * dbus/dbus-threads.c (dbus_threads_init): allow calling this more than once.
* 2003-06-22 Havoc Pennington <hp@pobox.com>Havoc Pennington2003-06-221-0/+123
* mono/Connection.cs, mono/DBus.cs, mono/Error.cs: Start wrapping more stuff.