Re: [Vala] Release testing

2008-11-30 Thread Jürg Billeter
On Sun, 2008-11-30 at 06:48 -0500, Samuel Cormier-Iijima wrote: > This used to work before and now gives an error: > > int main(string[] args) { > size_t x = 3; > > string[] arr = new string[x]; > > return 0; > } Fixed in r2105. Jürg ___

Re: [Vala] Re : Release testing

2008-11-30 Thread Jürg Billeter
On Sun, 2008-11-30 at 02:00 +0100, Thomas Chust wrote: > fdsdœ Fsfsd schrieb: > > [...] > > Code: > > Gtk.ListStore model = (Gtk..ListStore) combobox.get_model(); > > GLib.Value content_type = Value(typeof(string));; > > model.get_value(iter, 2, ref content_type); > > Message at runtime: > > GLib-G

Re: [Vala] Interface properties: private accessors

2008-11-30 Thread Ildar Mulyukov
On 27.11.2008 10:39:27, Ildar Mulyukov wrote: % valac cl1.vala if2.vala /tmp/.private/ildar/cc8mGVTD.o: In function `ns1_cl1_constructor': cl1.c:(.text+0x160): undefined reference to `ns1_i1_set_str1' Why this stupid compiler tries to use _interface's_accessor_? Any comments? This is what happ

Re: [Vala] DBus Dictionary Binding? (was: Gee.HashMap - uncaught error: No demarshaller registered for type "GeeHashMap")

2008-11-30 Thread Gilles Filippini
Hello again, Gilles Filippini a écrit : > I'm very new to vala, and while trying to use the Gee.HashMap int> type to handle a DBus dictionary I encountered the following error: > > uncaught error: No demarshaller registered for type "GeeHashMap" > > How should I proceed to register a demarshalle

[Vala] [Bindings] Adding new wrapper classes?

2008-11-30 Thread Mihail Naydenov
Hi, Is it possible to add new classes to the vapi - such as that they do not bind to any cname in the headers of the original library? If I try this now, it results in undeclared identifier, because these are not defined anywhere in the c code. Im asking because it is often convenient to add wr

[Vala] [VALA] copy HashMap object

2008-11-30 Thread Frédéric Gaudy
Hi, I want to create a copy of a HashMap object. I could iterate the hash and insert value into new Hash object. But are there a copy mechanism for HashMap or even Glib.Object? Thanks. ___ Vala-list mailing list Vala-list@gnome.org http://mail

Re: [Vala] Release testing

2008-11-30 Thread Samuel Cormier-Iijima
This used to work before and now gives an error: int main(string[] args) { size_t x = 3; string[] arr = new string[x]; return 0; } Compilation fails with the following errors: test.vala:4.30-4.30: error: Expression of integer type expected string[] array = new string[x];

Re: [Vala] Release testing

2008-11-30 Thread Andrea Del Signore
On Sun, 2008-11-30 at 12:06 +0100, Andrea Del Signore wrote: > On Sat, 2008-11-29 at 20:25 +0100, Jürg Billeter wrote: > > Hi all, > > > > I'm planning to release Vala 0.5.2 on Monday evening. As there have been > > a lot of changes since 0.5.1, I'd appreciate it if people working on > > Vala appl

Re: [Vala] Release testing

2008-11-30 Thread Andrea Del Signore
On Sat, 2008-11-29 at 20:25 +0100, Jürg Billeter wrote: > Hi all, > > I'm planning to release Vala 0.5.2 on Monday evening. As there have been > a lot of changes since 0.5.1, I'd appreciate it if people working on > Vala applications or libraries can do a test run with Vala trunk, so we > can fix

[Vala] Gee.HashMap - uncaught error: No demarshaller registered for type "GeeHashMap"

2008-11-30 Thread Gilles Filippini
Hello, I'm very new to vala, and while trying to use the Gee.HashMap type to handle a DBus dictionary I encountered the following error: uncaught error: No demarshaller registered for type "GeeHashMap" How should I proceed to register a demarshaller? Thanks in advance, _Gilles. __