Re: [Vala] Vala broken on non-gnu systems

2011-03-16 Thread Alexander Kojevnikov
On 16 March 2011 13:49, Anatol Pomozov anatol.pomo...@gmail.com wrote: On Tue, Mar 15, 2011 at 10:46 PM, Alexander Kojevnikov alexan...@kojevnikov.com wrote: On 16 March 2011 12:07, Anatol Pomozov anatol.pomo...@gmail.com wrote: While you are here you might want to fix tests/testrunner.sh that

Re: [Vala] Vala broken on non-gnu systems

2011-03-16 Thread Anatol Pomozov
Hi On Tue, Mar 15, 2011 at 11:43 PM, Alexander Kojevnikov alexan...@kojevnikov.com wrote: On 16 March 2011 13:49, Anatol Pomozov anatol.pomo...@gmail.com wrote: On Tue, Mar 15, 2011 at 10:46 PM, Alexander Kojevnikov alexan...@kojevnikov.com wrote: On 16 March 2011 12:07, Anatol Pomozov

Re: [Vala] Vala broken on non-gnu systems

2011-03-16 Thread Anatol Pomozov
Hi On Wed, Mar 16, 2011 at 1:37 AM, Alexander Kojevnikov alexan...@kojevnikov.com wrote: On 16 March 2011 16:33, Anatol Pomozov anatol.pomo...@gmail.com wrote: But now tests are broken because of other error: make  check-TESTS TEST: Building...                                                

Re: [Vala] Vala broken on non-gnu systems

2011-03-16 Thread pancake
/* Result of the benchmark: $ time ./a.out 1 real0m0.225s user0m0.223s sys 0m0.000s $ time ./a.out 0 real0m0.380s user0m0.377s sys 0m0.000s */ #include string.h #include sys/types.h #define ITERS 10 int slen = ; char *str; static inline size_t mystrnlen(const

[Vala] badly generated code

2011-03-16 Thread Raul Gutierrez Segales
Hi, the following test program (which for me looks correct) generates bad C code (treats void as an actual assignable type): /* * valac --pkg gio-2.0 ./test.vala */ using GLib; [DBus (name = com.meego.libsocialweb.ItemView)] public interface ItemView : GLib.DBusProxy { public abstract

Re: [Vala] Non global vars outside classes

2011-03-16 Thread pancake
As discussed in the IRC.. I have opened a bug for this issue. it's more a design problem than a bug in itself. it needs some work to add support for modules in Vala. https://bugzilla.gnome.org/show_bug.cgi?id=644920 On 03/16/11 02:33, pancake wrote: I have noticed that vala always generates

[Vala] subclasses in vapi

2011-03-16 Thread Pavol Klačanský
Hi, is there way to define them? signature.asc Description: This is a digitally signed message part ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] subclasses in vapi

2011-03-16 Thread pancake
On 03/16/11 17:29, Pavol Klačanský wrote: Hi, is there way to define them? yeah, just in the same way you do it in Vala ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] subclasses in vapi

2011-03-16 Thread Jonathan Ryan
On 03/16/2011 12:29 PM, Pavol Klačanský wrote: Hi, is there way to define them? ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list http://live.gnome.org/Vala/Tutorial#Inheritance -- Jonathan Ryan

Re: [Vala] Vala broken on non-gnu systems

2011-03-16 Thread Jürg Billeter
On Tue, 2011-03-15 at 20:05 +0100, pancake wrote: The commit a2s2120.. dated at 2011-02-10 adds the use of strnlen function in glib-2.0.vapi. This function is a gnu extension on libc. This is not glib and this function is only available in GNU LibC. Do the build breaks on OSX, Windows and

Re: [Vala] badly generated code

2011-03-16 Thread Jürg Billeter
On Wed, 2011-03-16 at 13:54 +, Raul Gutierrez Segales wrote: /tmp/test.vala.c:239:7: error: variable or field ‘_tmp1_’ declared void /tmp/test.vala.c:248:155: error: ‘g_dbus_connection_get_proxy’ undeclared (first use in this function) This is now fixed in master. Jürg

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

2011-03-16 Thread Jürg Billeter
We are pleased to announce version 0.11.7 of Vala, a compiler for the GObject type system. Vala 0.11.7 is now available for download at: http://download.gnome.org/sources/vala/0.11/ This is a development release leading toward 0.12. Changes since 0.11.6 * Add support for async signal

[Vala] [Genie] I can't create a new widget Gtk.Switch (from Gtk3) Vala 0.11.7

2011-03-16 Thread Dmitriy Kovalenko
Hi all, Button description: -- http://library.gnome.org/devel/gtk3/stable/GtkSwitch.html gtk+-3.0.vapi - [CCode (cheader_filename = gtk/gtk.h)] public class Switch : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {

Re: [Vala] [Genie] I can't create a new widget Gtk.Switch (from Gtk3) Vala 0.11.7

2011-03-16 Thread Luca Bruno
On Thu, Mar 17, 2011 at 01:11:45AM +0200, Dmitriy Kovalenko wrote: /home/dmitriy/source/valagenie/gtk3switch.c:93: error: ‘GtkSwitch’ undeclared (first use in this function) /home/dmitriy/source/valagenie/gtk3switch.c:93: error: (Each undeclared identifier is reported only once

[Vala] Looking for vapi for gimp

2011-03-16 Thread Nor Jaidi Tuah
Anybody working on vala binding for gimp? hand Nor Jaidi Tuah ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list