Re: [Vala] Autovala: new program for developers

2013-04-14 Thread rastersoft
Yes, I was, precisely, the one with the problem :D El 14/04/13 04:18, Jonas Kulla escribió: > 2013/4/14 Francis Giraldeau >> I have some problem to compile configuration.vala, seems related to Posix: >> >> >> /home/francis/workspace-vala/autovala/src/autovala_lib/configuration.c:2264:2: >> error:

[Vala] Using uninitialized Glib.TimeVal

2013-04-14 Thread Alexander Krivács Schrøder
Hi. I'm trying to use Glib.TimeVal with its from_iso8601() initializer, but I can't get the generated C code not to contain a call to g_get_current_time() first. At first, I tried this Vala code: string iso8601_date = "1999-05-31T11:20:00"; TimeVal time_val; time_val.from_iso8601(iso8601_date);

Re: [Vala] Autovala: new program for developers

2013-04-14 Thread Alexander Krivács Schrøder
On 30.03.2013 02:34, rastersoft wrote: > Hi all: > > Several days ago, another user commented in Elementary Dev list that > using CMake with Vala was quite hard and difficult. > > After thinking about it, I reached the conclusion that using CMake is > quite boring and repetitive, so I said to mysel

Re: [Vala] Autovala: new program for developers

2013-04-14 Thread rastersoft
I'm fully open to suggestions... El 14/04/13 18:48, Alexander Krivács Schrøder escribió: > On 30.03.2013 02:34, rastersoft wrote: >> Hi all: >> >> Several days ago, another user commented in Elementary Dev list that >> using CMake with Vala was quite hard and difficult. >> >> After thinking about

Re: [Vala] Using uninitialized Glib.TimeVal

2013-04-14 Thread Jonas Kulla
2013/4/14 Alexander Krivács Schrøder > Hi. > > I'm trying to use Glib.TimeVal with its from_iso8601() initializer, but > I can't get the generated C code not to contain a call to > g_get_current_time() first. At first, I tried this Vala code: > > string iso8601_date = "1999-05-31T11:20:00"; > Tim

Re: [Vala] Using uninitialized Glib.TimeVal

2013-04-14 Thread Alexander Krivács Schrøder
On 14.04.2013 21:31, Jonas Kulla wrote: > 2013/4/14 Alexander Krivács Schrøder > > > Hi. > > I'm trying to use Glib.TimeVal with its from_iso8601() > initializer, but > I can't get the generated C code not to contain a call to > g_get_current_time()

[Vala] [Genie] Dict/List as properties

2013-04-14 Thread Alex Stefan Kaye
Hi all, I'm wondering if/how I can use dicts and lists in class properties, for example: prop private channel_map:dict of string,list of Gst.ChannelPosition Gives this error: error: syntax error, expected line end or semicolon but got `of'   prop private channel_map:dict of string,list of Gst

Re: [Vala] Using uninitialized Glib.TimeVal

2013-04-14 Thread Evan Nemerson
On Sun, 2013-04-14 at 18:38 +0200, Alexander Krivács Schrøder wrote: > Hi. > > I'm trying to use Glib.TimeVal with its from_iso8601() initializer, but > I can't get the generated C code not to contain a call to > g_get_current_time() first. At first, I tried this Vala code: > > string iso8601_dat

Re: [Vala] Using uninitialized Glib.TimeVal

2013-04-14 Thread Alexander Krivács Schrøder
On 14.04.2013 23:09, Evan Nemerson wrote: > On Sun, 2013-04-14 at 18:38 +0200, Alexander Krivács Schrøder wrote: >> Hi. >> >> I'm trying to use Glib.TimeVal with its from_iso8601() initializer, but >> I can't get the generated C code not to contain a call to >> g_get_current_time() first. At first,

[Vala] array_length_cname not working?

2013-04-14 Thread Alexander Krivács Schrøder
Hi. I have a property in my class like so: public Line[] lines { owned get { ... } } The signature of the generated C code looks like this: Line** class_name_get_lines (ClassName* self, int* result_length1); I'm not particularly fond of the "result_length1" parameter name,