[Vala] [LibGee] LinkedList does not increase stamp

2009-08-02 Thread Quikee
Hi, In the add and insert methods of LinkedList I saw this two line: // Adding items to the list during iterations is allowed. //++this._stamp; Additionally remove_at and/or remove also does not increase the stamp. But this is the wrong way to do this! Stamp should be increased always but the

[Vala] [LigGee] remove_all behavior at removing same items

2009-08-02 Thread Quikee
Hi, In what way should remove_all work in case of removing the same items. Currently there is an inconsistency in this behavior from remove_all on AbstractCollection and the implementation in ArrayList. The AbstractCollection implementation will call remove for every element which will in case of

Re: [Vala] wish for Type Inference working for weak local variables

2009-08-02 Thread Jiří Zárevúcky
On 08/01/2009 08:14 PM, Hans Vercammen wrote: Hi, On Sat, 2009-08-01 at 16:53 +0200, Jiří Zárevúcky wrote: On 08/01/2009 04:36 PM, Łukasz Pankowski wrote: Finally Vala has a mechanism called Type Inference, whereby a local variable may be defined using var instead of giving a type,

Re: [Vala] [LigGee] remove_all behavior at removing same items

2009-08-02 Thread Didier Ptitjes
Hi Tomaž! Quikee wrote: In what way should remove_all work in case of removing the same items. Currently there is an inconsistency in this behavior from remove_all on AbstractCollection and the implementation in ArrayList. The AbstractCollection implementation will call remove for every

[Vala] [LibModulo] Dependency injection

2009-08-02 Thread Alexander Teinum
I wrote a mail to Didier, but I think it's a good idea to post it here, so that more people can benefit from it. I've watched the video about Guice at http://code.google.com/p/google-guice/. I'm currently reading the book about dependency injection by Dhanji R. Prasanna. It seems like a really

[Vala] [ANNOUNCE] Vala 0.7.5 - Compiler for the GObject type system

2009-08-02 Thread Jürg Billeter
We are pleased to announce version 0.7.5 of Vala, a compiler for the GObject type system. Vala 0.7.5 is now available for download at: http://download.gnome.org/sources/vala/0.7/ Changes since 0.7.4 * Add support for static properties. * Add support for delegate properties. * Support

Re: [Vala] wish for Type Inference working for weak local variables

2009-08-02 Thread Jürg Billeter
On Sun, 2009-08-02 at 16:20 +0200, Jiří Zárevúcky wrote: Yet, I'm kinda wondering about one thing. It seems to me some people were, are and will be wanting inference for weak variables, regardless the real benefits may be negligible. Even if it were just to have nice C code where the