Re: [Vala] Port Tomboy?

2009-07-01 Thread Yu Feng
On Sat, 2009-06-27 at 14:24 +0200, Jiří Zárevúcky wrote: > 2009/6/27 Yu Feng : > > On Sat, 2009-06-27 at 08:03 +0100, Sam Liddicott wrote: > >> > >> 4. Port Tomboy as a show-case project port > >> > > > > 4 seems to be very fun; how large is the codebase of tomboy? > > > > BTW: What is the lar

Re: [Vala] Working with GLib.List and memory management

2009-07-01 Thread Yu Feng
On Wed, 2009-07-01 at 01:24 +0400, Кутейников Дмитрий wrote: > It is some sort of a bug (or a feature). Vala inserts g_object_ref in > generated C-code after myList.prepend(myWidget); but it doesn't > decrease ref_counter after remove. The only way is to use > g_object_unref manually. What you sai

Re: [Vala] Port Tomboy?

2009-07-01 Thread Christian Hergert
> Nonetheless I still think if VALA needs bigger, live projects to > increase the level awareness which it deserves. At least among the > open-source vala projects tracked by ohloh, I don't see any of them a > critical application(by critical I mean a real develop team, active > development and lar

Re: [Vala] Port Tomboy?

2009-07-01 Thread Sam Liddicott
* Yu Feng wrote, On 01/07/09 08:38: > On Sat, 2009-06-27 at 14:24 +0200, Jiří Zárevúcky wrote: > >> 2009/6/27 Yu Feng : >> >>> On Sat, 2009-06-27 at 08:03 +0100, Sam Liddicott wrote: >>> 4. Port Tomboy as a show-case project port >>> 4 seems to be very fu

Re: [Vala] Working with GLib.List and memory management

2009-07-01 Thread Sam Liddicott
* Yu Feng wrote, On 01/07/09 08:50: > On Wed, 2009-07-01 at 01:24 +0400, Кутейников Дмитрий wrote: > >> It is some sort of a bug (or a feature). Vala inserts g_object_ref in >> generated C-code after myList.prepend(myWidget); but it doesn't >> decrease ref_counter after remove. The only way is t

Re: [Vala] Port Tomboy?

2009-07-01 Thread Jiří Zárevúcky
Dne 1. červenec 2009 9:38 Yu Feng napsal(a): > > I agree with you. Porting for the porting's sake is nothing but harmful. > > Nonetheless I still think if VALA needs bigger, live projects to > increase the level awareness which it deserves. Yes, it definitely does. But it also needs to be somethi

Re: [Vala] Port Tomboy?

2009-07-01 Thread Jiří Zárevúcky
2009/7/1 Sam Liddicott : > I think you are right, and that the Vala project must be kept unconnected > from the politics this struggle; but when the women get the bandages and > basins of water ready, it is not to join in the fight, but to be prepared > for the inevitable outcome. That would sugge

[Vala] GStreamer binding problems

2009-07-01 Thread Éric ALBER
Hello, I'm currently playing with Gtk, GStreamer and vala and I found some issues (I think) in the binding: For example, considering these two methods: http://valadoc.org/?pkg=gstreamer-0.10&element=Gst.XML.get_element http://valadoc.org/?pkg=gstreamer-0.10&element=Gst.XML.parse_file They take a

[Vala] Interface distinction in class definition?

2009-07-01 Thread Jiří Zárevúcky
Hello. In Vala, derived class and implemented interfaces are defined the same say, like in C#. As this way there is no syntactical difference, C# convention states that interface names always start with "I". For example, interface Foo would have name IFoo in C#. However, there is no such convention