Re: [Vala] Building a build tool

2009-09-30 Thread Ali Sabil
On Tue, Sep 29, 2009 at 11:30 PM, Phil Housley wrote: > I've been messing around with a little build tool recently (well, > actually not that recently, but I've not had any time for a couple of > months,) aiming to build primarily Vala apps and libraries. Generally > it's a bit inspired by Maven,

[Vala] How to debug vala program?

2009-09-30 Thread John -
I try to debug Vala program with Nemiver : http://projects.gnome.org/nemiver , that It recomends in Debugging chapter from http://live.gnome.org/Vala/Tutorial But It give me this message : "Could not find file test.vala.c" when I try to see what happens in clicked button signal. I use Builder

[Vala] Builder member variable of a class problem

2009-09-30 Thread John -
I have this code : public class TestWindow : GLib.Object { private Builder builder; public TestWindow () { this.builder = new Builder(); try { this.builder.add_from_file ("test.ui"); }

Re: [Vala] Builder member variable of a class problem

2009-09-30 Thread Frederik
John - wrote: > I get : > "The application was terminated by a signal: SIGSEGV" when program enters > into activate signal. > > I try to do : > stdout.printf(this.builder.ref_count.to_string()); > > But also I get the same error, I think Builder object is null ... You should be able to track d

Re: [Vala] How to debug vala program?

2009-09-30 Thread Ildar Mulyukov
On 30.09.2009 14:25:53, John - wrote: I try to debug Vala program with Nemiver : http://projects.gnome.org/nemiver , that It recomends in Debugging chapter from http://live.gnome.org/Vala/Tutorial But It give me this message : "Could not find file test.vala.c" when I try to see what happen

Re: [Vala] Builder member variable of a class problem

2009-09-30 Thread John -
>> I get : >> "The application was terminated by a signal: SIGSEGV" when program enters >> into activate signal. >> >> I try to do : >> stdout.printf(this.builder.ref_count.to_string()); >> >> But also I get the same error, I think Builder object is null ... > >You should be able to track down

Re: [Vala] Gtk.TreeView: void* in vapi

2009-09-30 Thread qnull
Thanks for your reply! I will test it and then file a bug. Regards Jörn Am Mittwoch, den 30.09.2009, 06:12 +0200 schrieb Jan Hudec: > On Tue, Sep 29, 2009 at 09:16:24 +0200, JM wrote: > > I need some help with the binding for TreeViewRowSeparatorFunc. > > Something is wrong here. > > If I use > >

Re: [Vala] Builder member variable of a class problem

2009-09-30 Thread Frederik
John - wrote: > Now I get this error : > > ERROR:test.vala:27:test_window_on_testButton_activate: assertion failed: > (self->priv->builder != NULL) > Aborted (core dumped) I guess your instance of 'TestWindow' (Vala: 'this' / C: 'self') is already freed. Try to assign it to a variable that does

[Vala] Forum for Vala/Genie

2009-09-30 Thread Markus Mangold
Hi, I recently learned about the Vala Compiler and I am really amazed about it. Unfortunately there is no "place" where one can share questions on Vala or Genie but this mailing list. Of course there is nothing wrong with a mailing list but I think there are some people who don't like this kind of

[Vala] Impossible to subclass from gio stream classes?

2009-09-30 Thread Philipp Zabel
Hi, I'd like to subclass GLib.BufferedInputStream. Vala doesn't like the following construct: class MyStream : GLib.BufferedInputStream { MyStream (GLib.InputStream base_stream) { base (base_stream); } } $ valac mystream.vala --pkg gio-2.0 mystream.vala:3.3-3.20: error: chain up

Re: [Vala] Forum for Vala/Genie

2009-09-30 Thread Jan Hudec
On Wed, Sep 30, 2009 at 15:52:48 +0200, Markus Mangold wrote: > I recently learned about the Vala Compiler and I am really amazed about > it. Unfortunately there is no "place" where one can share questions on > Vala or Genie but this mailing list. And one(1) is exactly the right number of places.

Re: [Vala] Impossible to subclass from gio stream classes?

2009-09-30 Thread Jan Hudec
On Wed, Sep 30, 2009 at 18:58:54 +0200, Philipp Zabel wrote: > I'd like to subclass GLib.BufferedInputStream. > Vala doesn't like the following construct: > > class MyStream : GLib.BufferedInputStream { > MyStream (GLib.InputStream base_stream) { > base (base_stream); > } > } > >

Re: [Vala] Forum for Vala/Genie

2009-09-30 Thread Michael B. Trausch
On Wed, 2009-09-30 at 19:25 +0200, Jan Hudec wrote: > On Wed, Sep 30, 2009 at 15:52:48 +0200, Markus Mangold wrote: > > I recently learned about the Vala Compiler and I am really amazed about > > it. Unfortunately there is no "place" where one can share questions on > > Vala or Genie but this maili

Re: [Vala] Forum for Vala/Genie

2009-09-30 Thread Jiří Zárevúcky
All the important things were said so I'll simply say that I agree with Jan and Michael. We don't need forums and we probably never will. On Wed, Sep 30, 2009 at 8:14 PM, Michael B. Trausch wrote: > On Wed, 2009-09-30 at 19:25 +0200, Jan Hudec wrote: >> On Wed, Sep 30, 2009 at 15:52:48 +0200, Ma