Re: [Vala] Vala Toys 0.10.3 beta 1

2010-09-30 Thread Bob Hazard
hehe no, it's just lots of people have 'Sent from my iPad' or iPhone. I think it is set by default to excuse a short response without a full keyboard, but it looks so pretentious. -- Sent from my Amiga ___ vala-list mailing list vala-list@gnome.org ht

Re: [Vala] Vala Toys 0.10.3 beta 1

2010-09-30 Thread Andrea Del Signore
On Thu, 2010-09-30 at 09:48 +0100, Bob Hazard wrote: > The arms race between VTG, Valencia and ValIDE is really good for end > users, keep it up guys! :) > -- > Sent from my Amiga Is this really true?!? Ciao, Andrea ___ vala-list mailin

Re: [Vala] Vala Toys 0.10.3 beta 1

2010-09-30 Thread Bob Hazard
The arms race between VTG, Valencia and ValIDE is really good for end users, keep it up guys! -- Sent from my Amiga ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Vala Toys 0.10.3 beta 1

2010-09-29 Thread Andrea Del Signore
On Wed, 2010-09-29 at 14:52 -0700, Robert Powell wrote: > > > On Wed, Sep 29, 2010 at 2:44 PM, Andrea Del Signore > wrote: > > > > yes I'm using it but I don't think that my memory consumption > problems > are related to that vapi. > >

Re: [Vala] Vala Toys 0.10.3 beta 1

2010-09-29 Thread Robert Powell
On Wed, Sep 29, 2010 at 2:44 PM, Andrea Del Signore wrote: > > yes I'm using it but I don't think that my memory consumption problems > are related to that vapi. > > On a quick look, I see in vtgutils.vala calls TextIter.get_text. The vapi says it is unowned, but perhaps it should be owned. val

Re: [Vala] Vala Toys 0.10.3 beta 1

2010-09-29 Thread Andrea Del Signore
On Wed, 2010-09-29 at 14:30 -0700, Robert Powell wrote: > Hi Andrea, > > On Wed, Sep 29, 2010 at 2:22 PM, Andrea Del Signore > wrote: > Hi all, > > I just uploaded a tarball of Vala Toys with some huge > refactoring I've > done in afrodite in order to redu

Re: [Vala] Vala Toys 0.10.3 beta 1

2010-09-29 Thread Robert Powell
Hi Andrea, On Wed, Sep 29, 2010 at 2:22 PM, Andrea Del Signore wrote: > Hi all, > > I just uploaded a tarball of Vala Toys with some huge refactoring I've > done in afrodite in order to reduce its memory consumption. > > Are you using the gedit vapi? There are some problems with that vapi. I'v

Re: [Vala] Vala Tutorial Issue

2010-09-28 Thread Jiří Zárevúcky
Matt Harrison píše v Út 28. 09. 2010 v 16:56 -0400: > I get this Error when trying to compile: > > warning: passing argument 4 of 'g_source_set_callback' from incompatible > pointer type > /usr/include/glib-2.0/glib/gmain.h:199: note: expected 'GDestroyNotify' but > argument is of type 'void (*)(s

Re: [Vala] Vala Tutorial Issue

2010-09-28 Thread JM
That is a typical warning for vala programs using closures. Looks like correct. > In this code section of "The Main Loop" portion of the Vala tutorial. > > void main() {var loop = new MainLoop();var time = new > TimeoutSource(2000);time.set_callback(() => { > stdout.printf("Time!\n");

Re: [Vala] Vala - Clutter bindings

2010-09-26 Thread Jonathan Ryan
I submitted a patch or two. I think it works. I've been using it. https://bugzilla.gnome.org/show_bug.cgi?id=630679 Jonathan Ryan ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Vala - Clutter bindings

2010-09-25 Thread Emmanuele Bassi
On Sat, 2010-09-25 at 08:12 -0400, Jonathan Ryan wrote: > If you look in the vala source tree > http://git.gnome.org/browse/vala/tree/vapi/packages/clutter-1.0 > There is a good example of how to get things to work. I think they're > moving over to using gir's > soon (in the switch-to-gir branch:

Re: [Vala] Vala - Clutter bindings

2010-09-25 Thread Jonathan Ryan
If you look in the vala source tree http://git.gnome.org/browse/vala/tree/vapi/packages/clutter-1.0 There is a good example of how to get things to work. I think they're moving over to using gir's soon (in the switch-to-gir branch: http://git.gnome.org/browse/vala/log/?h=switch-to-gir). Which

Re: [Vala] Vala compilation fails

2010-09-18 Thread Anatol Pomozov
Hi On Fri, Sep 17, 2010 at 11:37 PM, Luca Bruno wrote: > On Fri, Sep 17, 2010 at 06:39:05PM -0700, Anatol Pomozov wrote: > > It seems that master is broken. I checked out 0.10 tag and now it > compiles > > fine, although it fails on "make check" http://pastie.org/1166017 > > Expected if you don'

Re: [Vala] Vala compilation fails

2010-09-18 Thread Jürg Billeter
Hi Anatol, On Fri, 2010-09-17 at 18:01 -0700, Anatol Pomozov wrote: > I just started learning Vala. I cloned vala repo from git:// > git.gnome.org/vala and run ./autogem.sh (See log here > http://pastie.org/1165976). > > Everything looks fine, but when I run make - compilation fails Building Va

Re: [Vala] Vala compilation fails

2010-09-17 Thread Luca Bruno
On Fri, Sep 17, 2010 at 06:39:05PM -0700, Anatol Pomozov wrote: > It seems that master is broken. I checked out 0.10 tag and now it compiles > fine, although it fails on "make check" http://pastie.org/1166017 Expected if you don't have latest glib development installed. Tests target glib 2.26 (unr

Re: [Vala] Vala compilation fails

2010-09-17 Thread Anatol Pomozov
Hi On Fri, Sep 17, 2010 at 6:01 PM, Anatol Pomozov wrote: > Hi, > > I just started learning Vala. I cloned vala repo from git:// > git.gnome.org/vala and run ./autogem.sh (See log here > http://pastie.org/1165976). > > Everything looks fine, but when I run make - compilation fails > > anatol:val

Re: [Vala] Vala - Unreviewed patches.

2010-08-04 Thread Jürg Billeter
On Wed, 2010-08-04 at 11:15 +0200, geert.jorda...@telenet.be wrote: > Currently a lot of unreviewed patches exist. Could somebody review > them? (IMHO) Feedback on the patches is important to get more people > involved or familiar with the development process. I'll try to review pending patches a

Re: [Vala] vala and actors model

2010-07-29 Thread Fabien CELLIER
Thanks a lot for your feedback. Thanks to your advice, I learn new things. >A fully scalable actor model needs a work stealing thread pool I don't understand, if you have a threadpool which share threads, why we need work stealing? I know that if we want highly optimized code, we need it, but the

Re: [Vala] vala autocomplete with monodevelop

2010-07-29 Thread Bob Hazard
I use the Nemiver debugger which is a graphical frontend to gdb, It seems to handle Vala source pretty well and jumps between the .vala and .c files as you step through the program (make sure you use the "-g --save-temps" flags in your makefile to enable debugging info and keep the C files). I am

Re: [Vala] vala autocomplete with monodevelop

2010-07-28 Thread Harry Van Haaren
On Thu, Jul 29, 2010 at 1:16 AM, Nigel Griffin wrote: > Thanks for the input. I did try valide, but I couldn't find any kind > vala-level source code debugging. Do you know if valide offers that, and if > so, how do I access it? > Just about every debugger available in linux is based on gdb in

Re: [Vala] vala autocomplete with monodevelop

2010-07-28 Thread Nigel Griffin
gnome.org Sent: Wednesday, July 28, 2010 4:53:27 PM Subject: Re: [Vala] vala autocomplete with monodevelop On Wed, Jul 28, 2010 at 11:31 PM, Nigel Griffin < ngrif...@vuze.com > wrote: I'm wondering if anyone knows how to enable autocomplete with monodevelop-vala. If my random go

Re: [Vala] vala autocomplete with monodevelop

2010-07-28 Thread Harry Van Haaren
On Wed, Jul 28, 2010 at 11:31 PM, Nigel Griffin wrote: > I'm wondering if anyone knows how to enable autocomplete with > monodevelop-vala. If my random google searches are to be believed, it seems > as though this can be accomplished somehow withe a afrodite library in vtg, > but I can't find in

Re: [Vala] vala and actors model

2010-07-28 Thread Mikkel Kamstrup Erlandsen
On 20 July 2010 18:28, Fabien CELLIER wrote: > Hello everybody, > > I created a small wrapper for actor model in vala (just a poc for a friend, > in order to show that multithreading could be easy with glib ). > The code is small and contains, probably, bugs but I won't delete the repo > before ne

Re: [Vala] Vala: JACK Audio Binding

2010-06-27 Thread JM
Hello Writing it like this should help: public int get_aliases(ref string[] aliases); Same for Data[]. Unfortunately that doesn't check the size of the string array. Regards ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailm

Re: [Vala] Vala: JACK Audio Binding

2010-06-26 Thread Harry Van Haaren
Cheers for the reply & the commit! Its a help anyway, I was at 12 errors, now down to 6 errors. (+ 5 warnings). All the errors seem to be of the same kind. (Something due to accessing array[2] ?) I've never written a .vapi and dont really understand all the fancy tricks you do... So best job is p

Re: [Vala] Vala command completion in MonoDevelop 2.4

2010-06-25 Thread Kamen Bundev
Done, I hope you'll be able to reproduce and fix it. http://code.google.com/p/vtg/issues/detail?id=136 Regards: Bundyo On Fri, Jun 25, 2010 at 10:10 PM, Andrea Del Signore wrote: > Hi, > > can you retry with svn trunk please? > > If the issue is still present can you file a bug here > > http:/

Re: [Vala] Vala command completion in MonoDevelop 2.4

2010-06-25 Thread Andrea Del Signore
Hi, can you retry with svn trunk please? If the issue is still present can you file a bug here http://code.google.com/p/vtg/issues/list and attach your vala source so I can try to eventually fix it? Thank, Andrea On Fri, 2010-06-25 at 08:49 +0300, Kamen Bundev wrote: > I'm using SVN

Re: [Vala] [vala] for loop

2010-06-25 Thread Jürg Billeter
Hi, On Fri, 2010-06-25 at 10:27 +, gerhard.gru...@documatrix.com wrote: > Why do you write a for loop in this way? I think there are some > reasons, but I did not find them. > But when it is necessary to write a while loop instead a for loop > would it not be better, if the generated code look

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

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 wrote: > I am using valencia with gedit, and that works quite well. > http://www.yorba.org/valencia/ > > >

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, Jun

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 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 ‘dbusbasic_t

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 bu

Re: [Vala] vala on mac

2010-06-23 Thread celil
On 6/23/10 3:24 AM, Abderrahim Kitouni wrote: I don't have a mac but your error suggests that pkg-config is not properly installed (if at all). Make sure pkg-config is installed and look for a file named pkg.m4 (here it is /usr/share/aclocal/pkg.m4 but I'm using linux). If it's there and you stil

Re: [Vala] vala on mac

2010-06-23 Thread Abderrahim Kitouni
Hi, 2010/6/22, celil : > I just tried to unsuccessfully build the development version of Vala from > the git repository on a Snow Leopard 10.6.4 machine. > > Doing the usual steps > > git clone git://git.gnome.org/vala > cd vala > ./autogen.sh > > results in an error > > checking

Re: [Vala] vala 8.1 cannot build valencia

2010-05-22 Thread john aman
On Fri, 2010-05-21 at 22:36 -0700, Robert Powell wrote: > Hi John, > > Using 8.1 and valencia trunk (svn://svn.yorba.org/valencia/trunk), I > can build without these errors. Trunk is very stable at the moment. > > Hope that helps, > > Rob That was it, thanks Rob! I am very excited now to lear

Re: [Vala] vala 8.1 cannot build valencia

2010-05-21 Thread Robert Powell
Hi John, Using 8.1 and valencia trunk (svn://svn.yorba.org/valencia/trunk), I can build without these errors. Trunk is very stable at the moment. Hope that helps, Rob On Fri, May 21, 2010 at 7:51 PM, john aman wrote: > downloaded and installed vala 8.1 w only minor faults > > tried to build

Re: [Vala] Vala team PPA: missing vala 0.8.1

2010-05-16 Thread Bob Hazard
Thank you! On 17 May 2010 00:05, Bob Hazard wrote: > Thank you! > > On 16 May 2010 21:46, Bob Hazard wrote: >> Thank you! >> >> On 16 May 2010 12:38, Nicolas Joseph wrote: >>> Package updated, thank's! >>> >>> 2010/5/13 Matteo : On Wed, May 12, 2010 at 2:19 AM, Nicolas Joseph wrote:

Re: [Vala] Vala team PPA: missing vala 0.8.1

2010-05-16 Thread Nicolas Joseph
Package updated, thank's! 2010/5/13 Matteo : > On Wed, May 12, 2010 at 2:19 AM, Nicolas Joseph > wrote: >> Hi, >> >> Someone can create the package for the latest version of vala, please? >> >> -- >> Nicolas Joseph > > vala 0.8.1 in the Ubuntu PPA would be much appreciated :) > Thanks > > > -- >

Re: [Vala] Vala GIO sample remark

2010-05-14 Thread Alexander Semenov
Okay, thanks for the response. Now it's clear. And yes I get "Equality operation: `null' and `GLib.List' are incompatible" error while compiling with --enable-experimental-non-null. On Fri, 2010-05-14 at 17:34 +0200, Jan Hudec wrote: > Hello, > > On Thu, May 13, 2010 16:06, Alexander Semenov w

Re: [Vala] Vala GIO sample remark

2010-05-14 Thread Jan Hudec
Hello, On Thu, May 13, 2010 16:06, Alexander Semenov wrote: > I'm looking at Vala GIO samples here: > http://live.gnome.org/Vala/GIOSamples > > Don't you think that null-check like > > var files = yield e.next_files_async (10, Priority.DEFAULT, null); > if (files == null) { > break; > } > > is

Re: [Vala] Vala team PPA: missing vala 0.8.1

2010-05-13 Thread Matteo
On Wed, May 12, 2010 at 2:19 AM, Nicolas Joseph wrote: > Hi, > > Someone can create the package for the latest version of vala, please? > > -- > Nicolas Joseph vala 0.8.1 in the Ubuntu PPA would be much appreciated :) Thanks -- Matteo Scotuzzi ___ va

Re: [Vala] Vala-0.8.1 build failed on arm

2010-04-28 Thread Michael 'Mickey' Lauer
Try my tarball @ http://downloads.freesmartphone.org/vala-0.8.0.95-e7a7.tar.bz2 - contrary to the name it's 0.8.1++. -- :M: ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Vala on CentOS?

2010-04-02 Thread Joseph Montanez
Jan, Setting the LD_LIBRARY_PATH worked perfectly! I do have two versions of glib the newest being in /usr/local/lib. So setting that with: # export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig # export LD_LIBRARY_PATH=/usr/local/lib # valac --pkg=gee-1.0 --pkg=json-glib-1.0 main.vala taxonomy.vala C

Re: [Vala] Vala on CentOS?

2010-04-02 Thread Jan Hudec
On Fri, Apr 02, 2010 at 09:44:47 -0700, Joseph Montanez wrote: > [...] > ./main: symbol lookup error: ./main: undefined symbol: > g_compute_checksum_for_string > > [...] > ./main: symbol lookup error: ./main: undefined symbol: g_once_init_enter_impl Hm, the linker looks up all the symbols at comp

Re: [Vala] Vala on CentOS?

2010-04-02 Thread Joseph Montanez
Jürg, Hmm... So I tried a lower glib target and its missing the checksum which i guess is in the newer glib. # valac --target-glib=2.12 --pkg=gee-1.0 --pkg=json-glib-1.0 main.vala taxonomy.vala ./main: symbol lookup error: ./main: undefined symbol: g_compute_checksum_for_string Abderrahim, I did t

Re: [Vala] Vala on CentOS?

2010-04-02 Thread Jürg Billeter
On Thu, 2010-04-01 at 22:16 -0700, Joseph Montanez wrote: > I am trying to deploy a vala application on a web server running > CentOS 5. I've been fighting to get it compile let alone run. Here is > the current command I am running to get it to compile: > valac --Xcc=-I/usr/local/include/gee-1.0 --

Re: [Vala] [vala 0.8.0] construct properties in interface

2010-04-01 Thread Nicolas Joseph
Thank's! Sorry for this late bug report. 2010/4/1 Jürg Billeter > On Thu, 2010-04-01 at 11:01 +0200, Nicolas Joseph wrote: > > Hello, > > > > I have a compilation error with vala 0.8.0: > > > > public interface Valide.Plugin : Object > > > { > > > public abstract string path { get; construct s

Re: [Vala] [vala 0.8.0] construct properties in interface

2010-04-01 Thread Jürg Billeter
On Thu, 2010-04-01 at 11:01 +0200, Nicolas Joseph wrote: > Hello, > > I have a compilation error with vala 0.8.0: > > public interface Valide.Plugin : Object > > { > > public abstract string path { get; construct set; } > > public abstract Window window { get; construct set; } > > } > > > >

Re: [Vala] Vala 0.7.10.262 pre-release

2010-03-31 Thread Nicolas Joseph
Hi, I tried to compile Val(a)IDE with this version and I have some errors: libvalide/libyaml-glib/src/builder.vala:111.32-111.40: warning: deprecated > syntax, use [CCode (has_target = false)] > libvalide/libyaml-glib/src/builder.vala:520.32-520.39: warning: deprecated > syntax, use [CCode (has_t

Re: [Vala] Vala 0.7.10.262 pre-release

2010-03-31 Thread jp0409
Hi, Please, apply the patch in https://bugzilla.gnome.org/show_bug.cgi?id=613943 Regards, JP A new Vala version will be released shortly. To make sure that we have not introduced serious regressions, we'd like to invite everyone to test the following pre-release and report any regressions or

Re: [Vala] Vala 0.7.10.262 pre-release

2010-03-31 Thread Nizovtsev Sergey
Would you please review bug 613918 too before release? В Чтв, 25/03/2010 в 11:19 +0100, Jürg Billeter wrote: > A new Vala version will be released shortly. To make sure that we have > not introduced serious regressions, we'd like to invite everyone to test > the following pre-release and report an

Re: [Vala] Vala 0.7.10.262 pre-release

2010-03-31 Thread Luca Dionisi
On Thu, Mar 25, 2010 at 11:19 AM, Jürg Billeter wrote: > A new Vala version will be released shortly. Will the new release sport an update to this page? http://live.gnome.org/Vala/RoadMap Thanks Luca ___ Vala-list mailing list Vala-list@gnome.org http:

Re: [Vala] Vala 0.7.10.262 pre-release

2010-03-31 Thread Yu Feng
Would you please look at Bug 614494 if it is not yet too late for the new release? Yu On Thu, 2010-03-25 at 11:19 +0100, Jürg Billeter wrote: > A new Vala version will be released shortly. To make sure that we have > not introduced serious regressions, we'd like to invite everyone to test > the f

Re: [Vala] Vala does not register string[] properties

2010-03-28 Thread Abderrahim Kitouni
Hello, 2010/3/26 Julian Andres Klode : > On Thu, Mar 25, 2010 at 08:18:14PM +0100, Abderrahim Kitouni wrote: >> Hi, >> >> 2010/3/25 Julian Andres Klode : >> > Hi, >> > >> > string[] properties are not installed via g_object_class_install_property >> > (), >> > which makes it impossible for json-g

Re: [Vala] Vala does not register string[] properties

2010-03-25 Thread Abderrahim Kitouni
Hi, 2010/3/25 Julian Andres Klode : > Hi, > > string[] properties are not installed via g_object_class_install_property (), > which makes it impossible for json-glib to deserialize objects with array > members. I'm having the exact problem, with the exact use case [1], I was just too lazy to post

Re: [Vala] Vala Coding Style

2010-02-23 Thread Frederik
Maria Rodriguez wrote: > Hi, > > I was looking for some advices of vala coding style. Specifically on the > following issues > > *Indentation (reading preview posts, it is still not clear for me, if it > is 8 or 4 spaces) This coding style is only for hacking on the Vala compiler itself. For yo

Re: [Vala] Vala Coding Style

2010-02-23 Thread Jiří Zárevúcky
Maria Rodriguez píše v Út 23. 02. 2010 v 15:44 -0600: > Hi, > > I was looking for some advices of vala coding style. Specifically on the > following issues > > *Indentation (reading preview posts, it is still not clear for me, if it > is 8 or 4 spaces) > In Vala itself tabs are used for indent

Re: [Vala] Vala Coding Style

2010-02-23 Thread Michael B. Trausch
On 02/23/2010 04:44 PM, Maria Rodriguez wrote: I was looking for some advices of vala coding style. Specifically on the following issues Personally, I write like this: [attribute] public class Thing : GLib.Object { private OtherThing[] things; public Thing() { return; } } That is:

Re: [Vala] Vala - generates code at runtime

2010-02-11 Thread Jan Hudec
On Tue, Feb 09, 2010 at 23:29:39 +0100, jideel wrote: > It was quite seductive to be able to code as easily as with C#/Java while > having C performance/size. If you have most of the code in a compiled library (that can be written in Vala or C or C++) and just generate a bit of glue to put it toge

Re: [Vala] Vala - generates code at runtime

2010-02-09 Thread jideel
Thanks for your response. You're probably right, perhaps it's not the right tool. It was quite seductive to be able to code as easily as with C#/Java while having C performance/size. The project is about a kind of distributed UUID generator, available through different interfaces (socket, soap, r

Re: [Vala] Vala - generates code at runtime

2010-02-09 Thread Jan Hudec
On Tue, Feb 09, 2010 at 15:36:56 +0100, jideel wrote: > I'm wondering what would be the "right" way to generates code/classes at > runtime, and reload it into the running program. Well, is Vala the right tool than? It's a completely static language which needs to be compiled with C compiler and t

Re: [Vala] Vala - generates code at runtime

2010-02-09 Thread jideel
Well, generate classes and load/reload them without recompiling anything would be perfect, but perhaps it's not possible in a system like Vala (i mean, without an underlying runtime). Compiling some plugin/library on-the-fly and reload them is an acceptable solution, but it's not a very beautifu

Re: [Vala] Vala - generates code at runtime

2010-02-09 Thread Denis Kuzmenok
hi, the simpliest way i've found - to make .so libraries, but that is not the way i wanted to use them, dynamic linking , etc.. you want to have add functions and reload module without recompiling? > Hi all, > I'm wondering what would be the "right" way to generates > code/classes at runtime, a

Re: [Vala] Vala Journal, Issue #1

2010-02-03 Thread Jiří Zárevúcky
pancake píše v St 03. 02. 2010 v 18:45 +0100: > can you put the full post in main page? :) its anoying click to read > What for? Use an RSS reader if you don't like clicking ;) signature.asc Description: Toto je digitálně podepsaná část zprávy ___

Re: [Vala] Vala Journal, Issue #1

2010-02-03 Thread pancake
can you put the full post in main page? :) its anoying click to read Jiří Zárevúcky wrote: Alessandro Pellizzari píše v St 03. 02. 2010 v 18:23 +0100: Il giorno mer, 03/02/2010 alle 17.52 +0100, Jiří Zárevúcky ha scritto: Based on a few requests, I've created a blog for this. Hope you

Re: [Vala] Vala Journal, Issue #1

2010-02-03 Thread Jiří Zárevúcky
Alessandro Pellizzari píše v St 03. 02. 2010 v 18:23 +0100: > Il giorno mer, 03/02/2010 alle 17.52 +0100, Jiří Zárevúcky ha scritto: > > > Based on a few requests, I've created a blog for this. Hope you'll like > > it :) > > > > http://valajournal.blogspot.com/ > > Thank you. I subscribed to the

Re: [Vala] Vala Journal, Issue #1

2010-02-03 Thread Alessandro Pellizzari
Il giorno mer, 03/02/2010 alle 17.52 +0100, Jiří Zárevúcky ha scritto: > Based on a few requests, I've created a blog for this. Hope you'll like > it :) > > http://valajournal.blogspot.com/ Thank you. I subscribed to the feed. But could you please switch the default language to english? :) --

Re: [Vala] Vala Journal, Issue #1

2010-02-03 Thread Xavier Bestel
On Wed, 2010-02-03 at 17:50 +0100, Jiří Zárevúcky wrote: > Xavier Bestel píše v Po 01. 02. 2010 v 12:24 +0100: > > On Mon, 2010-02-01 at 14:44 +0800, Nor Jaidi Tuah wrote: > > > > Coalesce operator (??) is now implemented in master. ;) > > > > https://bugzilla.gnome.org/show_bug.cgi?id=580816 > > >

Re: [Vala] Vala Journal, Issue #1

2010-02-03 Thread Frederik
Xavier Bestel wrote: > On Mon, 2010-02-01 at 14:44 +0800, Nor Jaidi Tuah wrote: >>> Coalesce operator (??) is now implemented in master. ;) >>> https://bugzilla.gnome.org/show_bug.cgi?id=580816 >> May I suggest adding ??=, as in >> x ??= y; > > Too bad C# choose ?? as the coalescing operator. GCC

Re: [Vala] Vala Journal, Issue #1

2010-02-03 Thread Jiří Zárevúcky
Luca Bruno píše v Po 01. 02. 2010 v 20:51 +0100: > On Mon, Feb 01, 2010 at 02:15:38AM +0100, Jiří Zárevúcky wrote: > > Hello everyone. Seeing the subject of this message, you probably started > > to wonder what the heck this is. > > Here's the plan: Each weekend, I'm going to sumarize what is going

Re: [Vala] Vala Journal, Issue #1

2010-02-03 Thread Jiří Zárevúcky
Xavier Bestel píše v Po 01. 02. 2010 v 12:24 +0100: > On Mon, 2010-02-01 at 14:44 +0800, Nor Jaidi Tuah wrote: > > > Coalesce operator (??) is now implemented in master. ;) > > > https://bugzilla.gnome.org/show_bug.cgi?id=580816 > > > > May I suggest adding ??=, as in > > x ??= y; > > Too bad C#

Re: [Vala] Vala Journal, Issue #1

2010-02-03 Thread Jiří Zárevúcky
Nor Jaidi Tuah píše v Po 01. 02. 2010 v 14:44 +0800: > > Coalesce operator (??) is now implemented in master. ;) > > https://bugzilla.gnome.org/show_bug.cgi?id=580816 > > May I suggest adding ??=, as in > x ??= y; > That would be quite logical I think. I've opened an enhancement request on the

Re: [Vala] Vala Clutter example segfaults

2010-02-02 Thread Adam B
Thanks for the fix, Jürg. On Mon, Feb 1, 2010 at 12:43 PM, Jürg Billeter wrote: > On Mon, 2010-02-01 at 12:33 -0800, Adam B wrote: > > Hello all, > > > > I compiled the clutter example linked from the Vala website and it > segfaults > > near the end of the animation. > > http://live.gnome.org/Va

Re: [Vala] Vala Clutter example segfaults

2010-02-01 Thread Jürg Billeter
On Mon, 2010-02-01 at 12:33 -0800, Adam B wrote: > Hello all, > > I compiled the clutter example linked from the Vala website and it segfaults > near the end of the animation. > http://live.gnome.org/Vala/ClutterSamples > > If I comment out this code it works: > > animations[i] =

Re: [Vala] Vala Journal, Issue #1

2010-02-01 Thread Luca Bruno
On Mon, Feb 01, 2010 at 02:15:38AM +0100, Jiří Zárevúcky wrote: > Hello everyone. Seeing the subject of this message, you probably started > to wonder what the heck this is. > Here's the plan: Each weekend, I'm going to sumarize what is going on > around Vala. This includes recently included featur

Re: [Vala] Vala Journal, Issue #1

2010-02-01 Thread Xavier Bestel
On Mon, 2010-02-01 at 02:15 +0100, Jiří Zárevúcky wrote: > Here's the plan: Each weekend, I'm going to sumarize what is going on > around Vala. This includes recently included features, open discussions, > fixed issues, etcetera. I may even drop in some unintrusive > advertisement of interesting pr

Re: [Vala] Vala Journal, Issue #1

2010-02-01 Thread Xavier Bestel
On Mon, 2010-02-01 at 14:44 +0800, Nor Jaidi Tuah wrote: > > Coalesce operator (??) is now implemented in master. ;) > > https://bugzilla.gnome.org/show_bug.cgi?id=580816 > > May I suggest adding ??=, as in > x ??= y; Too bad C# choose ?? as the coalescing operator. GCC already has it and simply

Re: [Vala] Vala Journal, Issue #1

2010-02-01 Thread Alessandro Pellizzari
Il giorno lun, 01/02/2010 alle 02.15 +0100, Jiří Zárevúcky ha scritto: > Here's the plan: Each weekend, I'm going to sumarize what is going on > around Vala. This includes recently included features, open discussions, > fixed issues, etcetera. I may even drop in some unintrusive > advertisement of

Re: [Vala] Vala Journal, Issue #1

2010-01-31 Thread Nor Jaidi Tuah
> Coalesce operator (??) is now implemented in master. ;) > https://bugzilla.gnome.org/show_bug.cgi?id=580816 May I suggest adding ??=, as in x ??= y; hand Nor Jaidi Tuah ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/li

Re: [Vala] [vala] how to call mem_set_vtable?

2010-01-11 Thread JM
Yes. I realized that too late. I already sent a patch to Jürg on Saturday. But as you seem to need it now I'll also post it here on the mailing list. This patch swaps the generation of the g_thread_init and the g_mem_set_vtable. This is needed for multithreaded programs. Regards Jörn Am Montag,

Re: [Vala] Vala safe to use for development?

2010-01-09 Thread Jürg Billeter
On Fri, 2010-01-08 at 17:51 +0100, Dr. Michael Lauer wrote: > As far as I know (Jürg, please speak up if I'm wrong) the core Vala syntax > is to stay like it is until 1.0 except some possible additions, such as the > new > array slice syntax or the string templates. We will hopefully see > tuples

Re: [Vala] Vala safe to use for development?

2010-01-08 Thread Frederik
Rob Kendrick wrote: > Hi guys, > > Just a quick question; are any changes planned between the current > release version and a 1.0 milestone that would cause code written with > the current release non-functional? > > I ask because I'm about to undertake a project at work, and I'd love to > use Va

Re: [Vala] Vala safe to use for development?

2010-01-08 Thread Dr. Michael Lauer
As far as I know (Jürg, please speak up if I'm wrong) the core Vala syntax is to stay like it is until 1.0 except some possible additions, such as the new array slice syntax or the string templates. We will hopefully see tuples as well. We will see more changes in the bindings though, which can l

Re: [Vala] Vala-list Digest, Vol 26, Issue 8

2010-01-06 Thread Ali Sabil
On Wed, Jan 6, 2010 at 10:20 AM, golnaz nilieh wrote: >> >> On Wed, Jan 6, 2010 at 7:28 AM, Jan Hudec wrote: >> > >> > >> > On Tue, January 5, 2010 13:12, Frederik wrote: >> >> Non-value-type static class variables are only initialized after the >> >> class was instantiated at least once. This be

Re: [Vala] Vala-list Digest, Vol 26, Issue 8

2010-01-06 Thread Frederik
golnaz nilieh wrote: > Thanks to all. I defined an empty constructor for Global, and called it in > main function. also I changed dataDir to a constant variable. > But a new question: Is there a way to pass the installation path to dataDir? > I use this macro in configure.ac: > > AC_PREFIX_DEFAULT

Re: [Vala] Vala-list Digest, Vol 26, Issue 8

2010-01-06 Thread golnaz nilieh
> > > On Wed, Jan 6, 2010 at 7:28 AM, Jan Hudec wrote: > > > > > > On Tue, January 5, 2010 13:12, Frederik wrote: > >> Non-value-type static class variables are only initialized after the > >> class was instantiated at least once. This behaviour is a little bit > >> counter-intuitive, and I hope i

Re: [Vala] vala-list.gnome.org

2009-12-06 Thread Jürg Billeter
On Wed, 2009-11-18 at 12:34 +0100, Julian Andres Klode wrote: > On Wed, Nov 18, 2009 at 10:04:20AM +0100, pancake wrote: > > Something like this will be good to have in the language: > > > > using Gee (ArrayList); > > > > So if you useArrayList in the code. The compiler will get it from > > Gee.

Re: [Vala] Vala Bugfix Hackathon (was: when will vala 0.8 be released?)

2009-12-06 Thread Jürg Billeter
On Mon, 2009-11-30 at 20:25 +0100, Michael 'Mickey' Lauer wrote: > Am Freitag, den 20.11.2009, 17:36 +0100 schrieb Michael 'Mickey' > Lauer: > > How can we move on with the hackathon? > > > > I guess the central question is who apart from Jürg (who seems to be > > very busy these days) has the kno

Re: [Vala] Vala owned array of unowned objects

2009-12-03 Thread Marc-André Lureau
Hi On Thu, Dec 3, 2009 at 6:40 PM, aaron andersen wrote: > Is there a way to return an array of unowned objects without using pointers? > > > This returns an unowned array to owned/refcounted objects, but how to return > array to unowned objects? > > unowned Object[] get_array_of_unowned_objects

Re: [Vala] Vala Bugfix Hackathon

2009-12-02 Thread Evan Nemerson
I don't want to speak for Jürg, but AFAIK he is just really busy right now and has no intention of abandoning Vala. I seem to remember him saying he thought he would be busy through November, but hoped to have some more time to dedicate to Vala in December. I think pancake is on the right track he

Re: [Vala] Vala Bugfix Hackathon

2009-12-02 Thread Frederik
pancake wrote: > Yes, it's really sad to see that no one of the main developers can > review patches, > reply mails or so... > > I have more unreported bugs of vala-core, because I'm really losing the > interest > of publishing them if there is no interest to fix them (...) > > I really think a h

Re: [Vala] Vala Bugfix Hackathon

2009-12-02 Thread Andrés G. Aragoneses
pancake escribió: > Michael 'Mickey' Lauer wrote: >> Am Freitag, den 20.11.2009, 17:36 +0100 schrieb Michael 'Mickey' Lauer: >> >>> How can we move on with the hackathon? >>> >>> I guess the central question is who apart from Jürg (who seems to be >>> very busy these days) has the knowledge to ed

Re: [Vala] Vala Bugfix Hackathon

2009-12-02 Thread pancake
Michael 'Mickey' Lauer wrote: Am Freitag, den 20.11.2009, 17:36 +0100 schrieb Michael 'Mickey' Lauer: How can we move on with the hackathon? I guess the central question is who apart from Jürg (who seems to be very busy these days) has the knowledge to educate us how to fix certain things in

Re: [Vala] Vala Bugfix Hackathon (was: when will vala 0.8 be released?)

2009-11-30 Thread Michael 'Mickey' Lauer
Am Freitag, den 20.11.2009, 17:36 +0100 schrieb Michael 'Mickey' Lauer: > How can we move on with the hackathon? > > I guess the central question is who apart from Jürg (who seems to be > very busy these days) has the knowledge to educate us how to fix certain > things in an upstream-acceptable wa

Re: [Vala] Vala Code Samples

2009-11-26 Thread Emad Al-Bloushi
have discovered most references in GNOME libraries for professional C developers only so in Vala we can use different approach (step by step). Best regards, > To: al3om...@live.com > Subject: Re: [Vala] Vala Code Samples > Date: Thu, 26 Nov 2009 16:38:51 +0100 > From: gege2.

Re: [Vala] Vala Code Samples

2009-11-26 Thread Emad Al-Bloushi
> Date: Thu, 26 Nov 2009 16:15:56 +0100 > From: scumm_fr...@gmx.net > To: vala-list@gnome.org > Subject: Re: [Vala] Vala Code Samples > > Emad Al-Bloushi wrote: > > Peace be upon you all , > > > > Regarding to Vala Code Sample I would like to thank you fo

Re: [Vala] Vala Code Samples

2009-11-26 Thread Nicolas Joseph
> How do you keep them updated? > copy/paste :( > Can we edit them? (to fix them from time to time) > Of course, just sign in. -- Nicolas Joseph http://www.valaide.org ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/

Re: [Vala] Vala Code Samples

2009-11-26 Thread Marc-André Lureau
Hi On Thu, Nov 26, 2009 at 4:38 PM, Nicolas Joseph wrote: > Have you visited http://code.valaide.org/ ? Looks like some examples come fresh from the wiki. How do you keep them updated? Can we edit them? (to fix them from time to time) Would that make sense to have the wiki and valadoc pointing

<    1   2   3   4   5   6   7   >