summaryrefslogtreecommitdiffstats
path: root/mono
Commit message (Collapse)AuthorAgeFilesLines
* 2005-02-11 Joe Shaw <joeshaw@novell.com>Joe Shaw2005-02-122-47/+69
| | | | | | | | | | * 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-02-10 Joe Shaw <joeshaw@novell.com>Joe Shaw2005-02-101-3/+30
| | | | | | | | | | | | | | | | | | | | | | | | * dbus/dbus-connection.c (_dbus_connection_queue_received_message_link, _dbus_connection_message_sent): Add the path to the verbose output. (_dbus_connection_send_preallocated_and_unlock): Added. Calls _dbus_connection_send_preallocated_unlocked(), updated the dispatch status, and unlocks. Fixes a bug where certain situations (like a broken pipe) could cause a Disconnect message to not be sent, tricking the bus into thinking a service was still there when the process had quit. (_dbus_connection_send_preallocated): Call _dbus_connection_send_preallocated_and_unlock(). (_dbus_connection_send_and_unlock): Added. Calls _dbus_connection_send_preallocated_and_unlock(). (dbus_connection_send): Call _dbus_connection_send_and_unlock(). (dbus_connection_send_with_reply): Update the dispatch status and unlock. * mono/Service.cs (~Service): Added. Removes the filter so that we don't get unmanaged code calling back into a GCed delegate. (RemoveFilter); Added.
* 2005-01-25 Joe Shaw <joeshaw@novell.com>Joe Shaw2005-01-2519-293/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2005-01-12 Joe Shaw <joeshaw@novell.com>Joe Shaw2005-01-122-2/+2
| | | | | | * mono/Makefile.am, mono/example/Makefile.am: Always build the dbus DLL with --debug. Clean up after the .mdb files this leaves behind.
* 2005-01-12 Joe Shaw <joeshaw@novell.com>Joe Shaw2005-01-122-2/+2
| | | | | | * mono/Makefile.am, mono/example/Makefile.am: Always build the dbus DLL with --debug. Clean up after the .mdb files this leaves behind.
* 2005-01-12 Joe Shaw <joeshaw@novell.com>Joe Shaw2005-01-121-0/+5
| | | | | * mono/doc/Makefile.am: Need to uninstall the docs on "make uninstall"
* 2005-01-12 Joe Shaw <joeshaw@novell.com>Joe Shaw2005-01-121-3/+3
| | | | | * mono/Makefile.am, mono/example/Makefile.am: Always build the dbus DLL with --debug.
* 2005-01-12 Joe Shaw <joeshaw@novell.com>Joe Shaw2005-01-122-2/+4
| | | | | | | | * mono/Makefile.am: Always build the dbus DLL with --debug. * mono/Arguments.cs (GetDBusTypeConstructor): If the type is an enum, get the enum's underlying type. Another mono 1.1.3 fix.
* 2005-01-11 Joe Shaw <joeshaw@novell.com>Joe Shaw2005-01-112-4/+0
| | | | | | | Patch from Sjoerd Simons <sjoerd@luon.net> * mono/Makefile.am, mono/example/Makefile.am: Don't redefine DESTDIR. It breaks stuff.
* 2005-01-11 Joe Shaw <joeshaw@novell.com>Joe Shaw2005-01-112-1/+5
| | | | | | | | | | | | Patch from Tambet Ingo <tambet@ximian.com> * mono/DBusType/Array.cs (Get): Get the underlying element type by calling type.GetElementType(). The code previously depended on broken Mono behavior, which was fixed in Mono 1.1.3. * mono/DBusType/Dict.cs (constructor): Fix the parameters for Activator.CreateInstance() so that the class's constructor is called with the right parameters.
* 2004-12-17 Joe Shaw <joeshaw@novell.com>Joe Shaw2004-12-175-5/+5
| | | | | | | | | * mono/DBusType/Byte.cs, mono/DBusType/Int32.cs, mono/DBusType/Int64.cs, mono/DBusType/UInt32.cs, mono/DBusType/UInt64.cs: Use Enum.GetUnderlyingType() instead of Type.UnderlyingSystemType to get the actual system type underneath. This code previously depended on the broken Mono behavior, which was fixed in 1.1.3.
* Patch from Johan Fischer to make mono doc install create the doc dir.Owen Fraser-Green2004-11-021-0/+1
|
* 2004-10-29 Colin Walters <walters@redhat.com>Colin Walters2004-10-291-3/+3
| | | | | | | Patch from Ed Catmur <ed@catmur.co.uk> * mono/doc/Makefile.am (install-data-local): Handle DESTDIR.
* 2004-10-27 Joe Shaw <joeshaw@novell.com>Joe Shaw2004-10-271-1/+8
| | | | | | | * mono/Arguments.cs (GetDBusTypeConstructor): type.UnderlyingSystemType will return "System.Byte" if you do it on "byte[]", which is not what we want. So check the type.IsArray property and use System.Array instead.
* 2004-09-28 Jon Trowbridge <trow@ximian.com>Jon Trowbridge2004-09-294-8/+55
| | | | | | | | | | | | | * mono/BusDriver.cs: Changed BusDriver struct to remove the ServiceCreated and ServiceDeleted events and replace them with the new ServiceOwnerChanged event. * mono/example/BusListener.cs: Added a new example program, which listens for and reports any ServiceOwnerChanged events on the bus driver. * mono/example/Makefile.am (DESTDIR): Build changes for the new BusListener.cs example.
* 2004-09-20 Jon Trowbridge <trow@ximian.com>Jon Trowbridge2004-09-203-42/+44
| | | | | | | | | | | | | | Patch from Nat Friedman <nat@novell.com> * mono/Makefile.am: A number of small build fixes to allow "make distcheck" to succeed. * mono/example/Makefile.am: "make distcheck" fixes. * mono/AssemblyInfo.cs.in: When signing the assembly, look for the key in @srcdir@. * test/Makefile.am: "make distcheck" fixes.
* 2004-08-30 Jon Trowbridge <trow@ximian.com>Jon Trowbridge2004-08-316-0/+95
| | | | | | | | | | | | | | | | | | | * 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.
* Mapped CRLF -> LF for consistency.Jon Trowbridge2004-08-291-1/+8
|
* 2004-08-17 Joe Shaw <joeshaw@novell.com>Joe Shaw2004-08-171-4/+4
| | | | | | | | * configure.in: If --enable-mono is passed in, if we can't find mono error out. * mono/Makefile.am: Use /gacutil to install assemblies into the GAC and not /root.
* 2004-07-06 Colin Walters <walters@redhat.com>Colin Walters2004-07-061-1/+4
| | | | | | | * doc/Makefile.am, qt/Makefile.am: mono/doc/Makefile.am: Allow 'make dist' without doc building of various sorts or QT support enabled.
* Changes in-line with new object_path param changes. Also bumped required ↵Owen Fraser-Green2004-06-074-32/+19
| | | | mono version and use new -pkg flag.
* Added UnregisterObject method.Owen Fraser-Green2004-05-232-6/+44
|
* Shhh...Owen Fraser-Green2004-05-181-0/+3
|
* Shhh...Owen Fraser-Green2004-05-151-12/+2
|
* Various mono related changes to facilitate GAC support.Owen Fraser-Green2004-05-155-12/+38
|
* Fixed another typo! Grrrr...Owen Fraser-Green2004-05-151-2/+2
|
* Fixed typeoOwen Fraser-Green2004-05-151-2/+2
|
* Added mono documentation.Owen Fraser-Green2004-05-1536-0/+4121
|
* Added documentation directoryOwen Fraser-Green2004-05-151-0/+2
|
* Removed test-dbus-sharp.exe from all target.Owen Fraser-Green2004-05-021-1/+1
|
* Handle empty iterators properly!Owen Fraser-Green2004-05-013-9/+9
|
* Handle empty iterators.Owen Fraser-Green2004-05-013-32/+39
|
* Made proxy DLL names uniqueOwen Fraser-Green2004-04-033-9/+10
|
* hush.Michael Meeks2004-03-291-0/+3
|
* Added signal support.Owen Fraser-Green2004-03-2610-114/+552
|
* Added support for enumerations with marshalling to/from their underlying ↵Owen Fraser-Green2004-03-255-2/+41
| | | | system type (Byte, Int32, UInt32, Int64, UInt64)
* Modified to support char type.Owen Fraser-Green2004-03-241-0/+11
|
* Fixed bug preventing creating multiple proxy objects of the same type.Owen Fraser-Green2004-03-241-33/+37
|
* Made all DBusTypes take Service in the constructor because Array also needed ↵Owen Fraser-Green2004-03-2416-54/+48
| | | | it in the case of an array of OBJECT_PATH objects.
* Changed Suits method to not look recursively for Interface attributesOwen Fraser-Green2004-03-241-1/+1
|
* Added InterfaceProxy to Mono bindings to avoid having to generate a proxy ↵Owen Fraser-Green2004-03-238-177/+206
| | | | for every registered object. Also added object_path functions to dbus-message.
* First checkin of the Mono bindings.Owen Fraser-Green2004-03-2340-333/+3620
|
* 2003-06-29 Havoc Pennington <hp@pobox.com>dbus-object-names-branchpointHavoc Pennington2003-07-033-16/+42
| | | | | | | | | | | * 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-253-20/+20
| | | | * mono/*.cs: Use IntPtr.Zero instead of ((IntPtr) 0)
* 2003-06-22 Havoc Pennington <hp@pobox.com>Havoc Pennington2003-06-235-24/+118
| | | | | | | * 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-226-12/+181
| | | | | * mono/Connection.cs, mono/DBus.cs, mono/Error.cs: Start wrapping more stuff.
* 2003-06-22 Havoc Pennington <hp@pobox.com>Havoc Pennington2003-06-221-5/+81
| | | | | | | | | | | * mono/Message.cs: implement Message.Wrap() that ensures we only have a single C# wrapper per DBusMessage, assuming it works which it probably doesn't. * dbus/dbus-message.c (dbus_message_allocate_data_slot): new (dbus_message_free_data_slot): new (dbus_message_set_data): new (dbus_message_get_data): new
* 2003-06-22 Havoc Pennington <hp@pobox.com>Havoc Pennington2003-06-224-0/+101
* mono/*, gcj/*, configure.in, Makefile.am: Check in makefiles and subdirs for mono and gcj bindings. Neither binding actually exists, just trying to get through all the build and other boring bits.