[Vala] D-Bus server testing
Hi all, due to various issues and limitations with type marshalling of dbus-glib, I've rewritten D-Bus server support to directly use libdbus to read and write D-Bus messages. The rewrite is not yet in trunk as it hasn't been tested extensively yet. I've attached a patch to bug 560034[1]. The libdbus-based marshalling code is shared with the experimental static D-Bus client support, which was introduced in Vala 0.5.2. I'd like you to test this patch with your existing D-Bus server code and report regressions. If we can get the rewrite to a usable state this weekend, it will be part of the 0.5.3 release on Monday. Otherwise, I'll commit it to trunk after the release. There is also a new feature included in the patch. If the first parameter of your D-Bus server method is a DBus.BusName, Vala will pass the bus name of the sender as argument. BusName is a subclass of string. The dynamic D-Bus client code is not affected by this patch, it still uses dbus-glib. However, migrating the D-Bus client support will be the next step after landing D-Bus server support. Jürg [1] http://bugzilla.gnome.org/show_bug.cgi?id=560034 ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] D-Bus server testing
Awesome, glad to hear this. As a consequence of this, both async. and sync. operation both client and server side will be supported then? Do we have any other showstoppers left in dbus support then or would you consider it feature complete? Thanks a lot! -- :M: ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] D-Bus server testing
On Sat, 2008-12-13 at 11:36 +0100, Michael 'Mickey' Lauer wrote: Awesome, glad to hear this. As a consequence of this, both async. and sync. operation both client and server side will be supported then? Do we have any other showstoppers left in dbus support then or would you consider it feature complete? Async D-Bus server support will be implemented on top of the patch, so it's not there yet but will hopefully follow soon. The plan is to use the coroutine based async method support I mentioned in the 0.5.1 release announcement. Other than that, I'd like to complete the static D-Bus client support and move the dynamic D-Bus client support to the same code base. Async D-Bus method calls will be supported in coroutines, which should simplify non-blocking D-Bus clients. Jürg ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list