Re: [Vala] An elegant way to concatenate integers into a string.

2010-06-24 Thread Martin DeMello
On Tue, Jun 15, 2010 at 6:17 AM, Celil celil...@gmail.com wrote: I would like to translate the following python code snippet to vala:        x = [1,2,3]        print ,.join(map(str, x)) So far I have this:        int[] x = {1,2,3};        string[] y = {};        foreach (var e in x) { y

Re: [Vala] vala on mac

2010-06-24 Thread celil
I haven't been able to resolve the autoconfiguration problem yet. So I just proceeded to download http://download.gnome.org/sources/vala/0.9/vala-0.9.2.tar.bz2 and I ran ./configure make to build. And just to check everything works correctly, I tried to run make test

Re: [Vala] vala on mac

2010-06-24 Thread celil
Trying to make test under Ubuntu, I get a different error TEST: Building... FAIL /home/drufat/Desktop/Dev/vala-samples/vala-0.9.2/tests/_test/main.c:1109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before

[Vala] Genie, subclassing and some help!

2010-06-24 Thread Andrew
Hi guys, I am a programmer coming form python and I am trying to get to grips with Genie. One problem I am having is as follows: Say I have a class called Gerrard and to create a new version of this class, I use the following: var g = new Gerrard(arg1, arg2, arg3) Now I wish to subclass

Re: [Vala] Genie, subclassing and some help!

2010-06-24 Thread Abderrahim Kitouni
Hi, 2010/6/24, Andrew rugby...@gmail.com: Hi guys, I am a programmer coming form python and I am trying to get to grips with Genie. One problem I am having is as follows: Say I have a class called Gerrard and to create a new version of this class, I use the following: var g = new

[Vala] Vala command completion in MonoDevelop 2.4

2010-06-24 Thread Ben Lafreniere
Has anyone managed to successfully get Vala command completion working in MonoDevelop 2.4? Some background: I'm running Ubuntu, and using the Vala Team PPA to keep up to date with vala (as of this post, I have valac 0.9.1 installed). Also, I've installed the recently-released MonoDevelop 2.4

Re: [Vala] Vala command completion in MonoDevelop 2.4

2010-06-24 Thread celil
I am using valencia with gedit, and that works quite well. http://www.yorba.org/valencia/ ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Vala command completion in MonoDevelop 2.4

2010-06-24 Thread Ben Lafreniere
I've tried running it in the terminal, but there's no indication of why it's becoming unresponsive, and when it crashes there's no error message beforehand to indicate why. Which version of valac are you using, and which version of vtg did you compile to get libafrodite? Thanks! Ben On Fri,

Re: [Vala] Vala command completion in MonoDevelop 2.4

2010-06-24 Thread Kamen Bundev
My libafrodite works. My advice is - run MonoDevelop through terminal and check the output to see if there is any problem running it. Regards: Bundyo On Fri, Jun 25, 2010 at 7:52 AM, celil celil...@gmail.com wrote: I am using valencia with gedit, and that works quite well.

Re: [Vala] Vala command completion in MonoDevelop 2.4

2010-06-24 Thread Kamen Bundev
I'm using SVN checkout from 30.04. I remember having some problems with 0.7.0 beforehand. Valac is 0.8.1, openSUSE 11.2 64bit. I just tried - it seems opening a single vala file triggers some resource heavy operation on all 4 of my cores, the whole machine grinds to a halt. Interestingly though I