Re: [Vala] sending structs containing lists over dbus

2010-01-22 Thread markus korn
This is the 'client.c' created by valac, maybe this helps to debug this further (just in case it's a bug). /* client.c generated by valac, the Vala compiler * generated from client.vala, do not modify */ #include glib.h #include glib-object.h #include stdlib.h #include string.h #include

[Vala] Regular expression literals for Vala

2010-01-22 Thread jp0409
Hi, I have written a patch that adds regular expression literal support for Vala. See more details in https://bugzilla.gnome.org/show_bug.cgi?id=607702 The following example demonstrates the feature: --- using GLib; static int main (string[] args) { MatchInfo info;

[Vala] Gtk.Dialog.show crashes app

2010-01-22 Thread Nor Jaidi Tuah
I don't know if this is a vala bug or I have missed something. In the following code I'm creating a Gtk.Dialog and keeping it handy to be shown non-modal using show(). The trouble is, after the dialog is closed, reopening it will crash the application with Segmentation fault no less. Replacing

Re: [Vala] for loop and closure (bug or big gotcha?)

2010-01-22 Thread Sam Liddicott
I used a language called charamel for controlling 3d figurs. It's closures supported variables in 2 ways. Like valĂ a reference to the instantaneous value of the variable, and fixing it's value (making a copy) at the time the closure was made. Perhaps some [ attributes ] to the closure could