Re: [Vala] empty ListT is null - bug or feature?

2009-04-07 Thread Yu Feng
Filed under Bug #578198 with a patch. On Tue, 2009-04-07 at 00:27 +0200, Jan Spurny wrote: Hi Yu, thanks for reply - that's exactly what I did in order to get it working now. I know empty list is null in glib, but I'm still a bit troubled by the fact that (as some Java programmer may

[Vala] How do I call functions which have a ref variable as one of their argument

2009-04-07 Thread Jaap A. Haitsma
Hi, I've wanted to restart working on my vala branch of cheese. In the meantime vala has received quite some changes. Therefore it does not compile anymore. The main problem I have are ref variables. For example with the text_extents method of Cairo TextExtents extents;

Re: [Vala] How do I call functions which have a ref variable as one of their argument

2009-04-07 Thread Martin Olsson
Maybe you should use out instead of ref? A semi ugly way to work around the first error (if out doesn't work for some strange reason) is to just initialize the variable to something before using it. Not sure about the second issue, as far as I understand the native function dbus_error_init

Re: [Vala] How do I call functions which have a ref variable as one of their argument

2009-04-07 Thread Jürg Billeter
On Tue, 2009-04-07 at 15:19 +0200, Jaap A. Haitsma wrote: I've wanted to restart working on my vala branch of cheese. In the meantime vala has received quite some changes. Therefore it does not compile anymore. The main problem I have are ref variables. For example with the text_extents method

Re: [Vala] [PATCH] more posix patches

2009-04-07 Thread Jürg Billeter
On Sun, 2009-04-05 at 10:27 +0200, Michael 'Mickey' Lauer wrote: http://git.freesmartphone.org/?p=vala- lang.git;a=shortlog;h=refs/heads/mickey/0.6/posix Please pick the top three, if you find suitable. They're on top of the 0.6 branch. Thanks, pushed to master. Jürg

Re: [Vala] [ANNOUNCE] Vala 0.7.0 - Compiler for the GObject type system

2009-04-07 Thread Jürg Billeter
On Tue, 2009-04-07 at 01:50 -0400, Yu Feng wrote: Vala 0.7.0 is affected by Bug 578191 which may interfere with many programs written in VALA. Would you please take a look at the patch before the next major/minor release? The master branch is self-compilable with the patch applied. This

Re: [Vala] [ANNOUNCE] Vala 0.7.0 - Compiler for the GObject type system

2009-04-07 Thread Jürg Billeter
On Mon, 2009-04-06 at 01:52 -0400, Yu Feng wrote: On Sun, 2009-04-05 at 17:54 +0200, Jürg Billeter wrote: * Support conditional compilation. and the usage of the conditional compilation? The FAQ[1] has been updated with an example. Jürg [1]

Re: [Vala] Vala support for automake

2009-04-07 Thread Jürg Billeter
Hi Ralf, On Tue, 2009-04-07 at 23:08 +0200, Ralf Wildenhues wrote: Other than that, I haven't yet gotten around to get my system up to date in order to support Vala 0.7 yet. Would you be so nice as to post verbose log output for all the vala tests? That is, just cd tests for t in

Re: [Vala] Vala support for automake

2009-04-07 Thread Ralf Wildenhues
Hello Jürg, very nice. Thanks again for working on this. At a first glance, all I could find while reading the patch was a trivial s/_SOURCE/_SOURCES/ in the manual. Other than that, I haven't yet gotten around to get my system up to date in order to support Vala 0.7 yet. Would you be so nice

Re: [Vala] [ANNOUNCE] Vala 0.7.0 - Compiler for the GObject type system

2009-04-07 Thread Yu Feng
On Tue, 2009-04-07 at 17:53 +0200, Jürg Billeter wrote: On Tue, 2009-04-07 at 01:50 -0400, Yu Feng wrote: Vala 0.7.0 is affected by Bug 578191 which may interfere with many programs written in VALA. Would you please take a look at the patch before the next major/minor release? The master

[Vala] Problems manipulating Gtk Treeview in Genie

2009-04-07 Thread GALLOWAY Stuart J (SVHM)
Hi, The problem: I am converting a list managing program from pyGtk to Genie. I want to clear and reconstruct columns dynamically to suit various 2 dimensional tables. I want to use Gtk.TreeView.get_columns to clear the columns I cant get this to compile: I am using the windows port