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

2011-03-15 Thread Alexander Kojevnikov
On 16 March 2011 13:49, Anatol Pomozov wrote: > On Tue, Mar 15, 2011 at 10:46 PM, Alexander Kojevnikov > wrote: >> On 16 March 2011 12:07, Anatol Pomozov wrote: >>> While you are here you might want to fix tests/testrunner.sh that also >>> uses GNU extension (xargs -r). See line 167. >> >> Which

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

2011-03-15 Thread Anatol Pomozov
Hi On Tue, Mar 15, 2011 at 10:46 PM, Alexander Kojevnikov wrote: > On 16 March 2011 12:07, Anatol Pomozov wrote: >> While you are here you might want to fix tests/testrunner.sh that also >> uses GNU extension (xargs -r). See line 167. > > Which Unix are you using? macosx 10.6.4 > FreeBSD's xarg

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

2011-03-15 Thread Alexander Kojevnikov
On 16 March 2011 12:07, Anatol Pomozov wrote: > While you are here you might want to fix tests/testrunner.sh that also > uses GNU extension (xargs -r). See line 167. Which Unix are you using? FreeBSD's xarg works fine with or without the -r option: -r Compatibility with GNU xargs. The

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

2011-03-15 Thread Anatol Pomozov
Hi On Tue, Mar 15, 2011 at 12:05 PM, 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, Windo

[Vala] Vala broken on non-gnu systems

2011-03-15 Thread pancake
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 probably all BSD systems. It would be great if someone

[Vala] Non global vars outside classes

2011-03-15 Thread pancake
I have noticed that vala always generates a extern definition of the vars defined outside the class. I would like to define them private in some way and make them 'static' at C level. Am i doing something? Is this intentional? ___ vala-list mailing lis

Re: [Vala] Vala HEAD is broken on MacOSX

2011-03-15 Thread Anatol Pomozov
On Tue, Mar 15, 2011 at 2:58 PM, pancake wrote: > Just fyi.. It was originally a gnu extension ( as reported in my archlinux > manpage) but its defined as posix now. Netbsd, openbsd and freebsd have this > (only recent versions). If this is added to POSIX then some of the future macosx version

Re: [Vala] Vala HEAD is broken on MacOSX

2011-03-15 Thread pancake
Just fyi.. It was originally a gnu extension ( as reported in my archlinux manpage) but its defined as posix now. Netbsd, openbsd and freebsd have this (only recent versions). The place for this should be glib. But looks like glibc have some sse optimizations for this function.. And that would

Re: [Vala] Vala HEAD is broken on MacOSX

2011-03-15 Thread pancake
I just reported this in the irc few hours ago. The commit was in 10th of february. And jurg ha no plans to remove that claiming for optimization issues. So the idea would be to fix this on the affected platforms: Osx, iphone and windows. I have just appended the inline definition of strnlen in

[Vala] Vala HEAD is broken on MacOSX

2011-03-15 Thread Anatol Pomozov
Hi, I just tried to compile HEAD from git and it is broken on MacOSX. Here is the error: CCLD libvala-0.12.la Undefined symbols: "_strnlen", referenced from: _string_substring in valaccodebasemodule.o _string_substring in valaccodemethodmodule.o _string_substring in valad

Re: [Vala] Vala syntax highlight plugin for gtksourceview updated

2011-03-15 Thread Fabian Deutsch
Hey, Am Sonntag, den 13.03.2011, 21:51 +0100 schrieb Marco Trevisan (Treviño): > The vala language plugin for libgtksourceview is quite old and it misses > some features and it has some bugs. > > I've updated it to get a better experience in all gtk editors/viewers > using this library (like GEdi

Re: [Vala] [ANNOUNCE] Vala Toys for gEdit development version 0.11.0

2011-03-15 Thread Maciej Piechotka
On Fri, 2011-03-11 at 18:53 +0100, Andrea Del Signore wrote: > On Mon, 2011-03-07 at 14:19 +, Maciej Piechotka wrote: > > > > Great. VTG is what I'm missing in gedit 2.9x. > > No more: http://gitorious.org/vala-toys/vala-toys/trees/gnome-3.0 > > First port, testing is welcomed! :) > > > Reg

Re: [Vala] gtkaml 0.4.2 released

2011-03-15 Thread Vlad Grecescu
2011/3/14 Гаврилов Максим : > 14/03/2011 в 21:32 +0200, Vlad Grecescu wrote: >> Hello, >> We are proud to announce the 0.4.2 version of Gtkaml with the new Gtkon >> syntax. > > Included in Vala overlay for Gentoo. > http://code.google.com/p/gentoo-vala/ > > I didn't find any information about exac