Commit graph

38 commits

Author SHA1 Message Date
Joe Shaw
b360305cda 2004-12-17 Joe Shaw <joeshaw@novell.com>
* 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.
2004-12-17 22:21:16 +00:00
Owen Fraser-Green
c7417009b1 Patch from Johan Fischer to make mono doc install create the doc dir. 2004-11-02 10:19:20 +00:00
Colin Walters
fbc29a8a78 2004-10-29 Colin Walters <walters@redhat.com>
Patch from Ed Catmur <ed@catmur.co.uk>

	* mono/doc/Makefile.am (install-data-local): Handle
	DESTDIR.
2004-10-29 19:22:59 +00:00
Joe Shaw
d8c8992b40 2004-10-27 Joe Shaw <joeshaw@novell.com>
* 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-10-27 22:35:03 +00:00
Jon Trowbridge
0c168e3e15 2004-09-28 Jon Trowbridge <trow@ximian.com>
* 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-29 01:46:45 +00:00
Jon Trowbridge
64b63e84b7 2004-09-20 Jon Trowbridge <trow@ximian.com>
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-09-20 11:24:38 +00:00
Jon Trowbridge
4a77a2dd97 2004-08-30 Jon Trowbridge <trow@ximian.com>
* 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.
2004-08-31 03:59:14 +00:00
Jon Trowbridge
3a78ce1795 Mapped CRLF -> LF for consistency. 2004-08-29 18:14:30 +00:00
Joe Shaw
00f0e76788 2004-08-17 Joe Shaw <joeshaw@novell.com>
* 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-08-17 17:08:32 +00:00
Colin Walters
3d0f1fb1b6 2004-07-06 Colin Walters <walters@redhat.com>
* doc/Makefile.am, qt/Makefile.am:
	mono/doc/Makefile.am: Allow 'make dist'
	without doc building of various sorts or
	QT support enabled.
2004-07-06 15:15:59 +00:00
Owen Fraser-Green
41a369c333 Changes in-line with new object_path param changes. Also bumped required mono version and use new -pkg flag. 2004-06-07 11:40:20 +00:00
Owen Fraser-Green
e55e38d8df Added UnregisterObject method. 2004-05-23 21:33:14 +00:00
Owen Fraser-Green
da36a58bb0 Shhh... 2004-05-18 13:51:19 +00:00
Owen Fraser-Green
52907e3a8a Shhh... 2004-05-15 21:10:46 +00:00
Owen Fraser-Green
8bc62a2864 Various mono related changes to facilitate GAC support. 2004-05-15 19:31:12 +00:00
Owen Fraser-Green
a3942cbc6f Fixed another typo! Grrrr... 2004-05-15 13:24:00 +00:00
Owen Fraser-Green
5cc3edb30b Fixed typeo 2004-05-15 13:22:18 +00:00
Owen Fraser-Green
d1b264b031 Added mono documentation. 2004-05-15 11:44:44 +00:00
Owen Fraser-Green
375d665f74 Added documentation directory 2004-05-15 11:37:59 +00:00
Owen Fraser-Green
c9528c10af Removed test-dbus-sharp.exe from all target. 2004-05-02 16:15:52 +00:00
Owen Fraser-Green
3c6ef3df27 Handle empty iterators properly! 2004-05-01 19:59:58 +00:00
Owen Fraser-Green
e16dafeb5f Handle empty iterators. 2004-05-01 19:56:27 +00:00
Owen Fraser-Green
8056390e00 Made proxy DLL names unique 2004-04-03 22:00:40 +00:00
Michael Meeks
d7a044a138 hush. 2004-03-29 12:50:45 +00:00
Owen Fraser-Green
45277e93d8 Added signal support. 2004-03-26 15:25:59 +00:00
Owen Fraser-Green
7dd5704023 Added support for enumerations with marshalling to/from their underlying system type (Byte, Int32, UInt32, Int64, UInt64) 2004-03-25 14:04:43 +00:00
Owen Fraser-Green
e29f0448ec Modified to support char type. 2004-03-24 17:02:08 +00:00
Owen Fraser-Green
a745a709d0 Fixed bug preventing creating multiple proxy objects of the same type. 2004-03-24 14:42:41 +00:00
Owen Fraser-Green
f334538967 Made all DBusTypes take Service in the constructor because Array also needed it in the case of an array of OBJECT_PATH objects. 2004-03-24 13:15:20 +00:00
Owen Fraser-Green
93aa620356 Changed Suits method to not look recursively for Interface attributes 2004-03-24 10:28:15 +00:00
Owen Fraser-Green
632d54e0db Added InterfaceProxy to Mono bindings to avoid having to generate a proxy for every registered object. Also added object_path functions to dbus-message. 2004-03-23 18:07:48 +00:00
Owen Fraser-Green
c916037773 First checkin of the Mono bindings. 2004-03-23 12:10:32 +00:00
Havoc Pennington
a7560f4567 2003-06-29 Havoc Pennington <hp@pobox.com>
* 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-07-03 01:48:31 +00:00
Havoc Pennington
6fba6839f5 2003-06-24 Havoc Pennington <hp@pobox.com>
* mono/*.cs: Use IntPtr.Zero instead of ((IntPtr) 0)
2003-06-25 01:05:46 +00:00
Havoc Pennington
cef11442f6 2003-06-22 Havoc Pennington <hp@pobox.com>
* mono/Connection.cs: add more bindings

	* dbus/dbus-threads.c (dbus_threads_init): allow calling this
	more than once.
2003-06-23 02:12:19 +00:00
Havoc Pennington
1cc184b4a8 2003-06-22 Havoc Pennington <hp@pobox.com>
* mono/Connection.cs, mono/DBus.cs, mono/Error.cs:
	Start wrapping more stuff.
2003-06-22 22:59:31 +00:00
Havoc Pennington
9588054183 2003-06-22 Havoc Pennington <hp@pobox.com>
* 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 20:46:17 +00:00
Havoc Pennington
93b5a19c9f 2003-06-22 Havoc Pennington <hp@pobox.com>
* 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.
2003-06-22 05:53:06 +00:00