[Vala] this is a test

2011-04-03 Thread 琉璃井
newly subscribed___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] how can I get the number of unicode points in a string?

2011-04-03 Thread 琉璃井
I see that since 0.11.0 vala string.length returns number of bytes rather than that of unicode characters, and string[i] returns only one byte. I wonder how to deal with east Asian character strings.___ vala-list mailing list vala-list@gnome.org

Re: [Vala] how can I get the number of unicode points in a string?

2011-04-03 Thread Luca Bruno
On Sun, Apr 03, 2011 at 03:59:23PM +0800, 琉璃井 wrote: I see that since 0.11.0 vala string.length returns number of bytes rather than that of unicode characters, and string[i] returns only one byte. I wonder how to deal with east Asian character strings. There are other methods in string that

Re: [Vala] how can I get the number of unicode points in a string?

2011-04-03 Thread 琉璃井
From: 琉璃井 pharaoh...@163.com Date: 2011-04-03 18:15:12 To: Luca Bruno lethalma...@gmail.com Subject: Re:Re: [Vala] how can I get the number of unicode points in a string? At 2011-04-03 16:06:32,Luca Bruno lethalma...@gmail.com wrote: On Sun, Apr 03, 2011 at 03:59:23PM +0800, 琉璃井 wrote: I see

Re: [Vala] how can I get the number of unicode points in a string?

2011-04-03 Thread Adam Dingle
On 04/03/2011 06:08 AM, ?? wrote: From: ??pharaoh...@163.com Date: 2011-04-03 18:15:12 To: Luca Brunolethalma...@gmail.com Subject: Re:Re: [Vala] how can I get the number of unicode points in a string? At 2011-04-03 16:06:32??Luca Brunolethalma...@gmail.com wrote: On Sun, Apr 03,

Re: [Vala] how can I get the number of unicode points in a string?

2011-04-03 Thread 琉璃井
At 2011-04-03 16:06:32,Luca Bruno lethalma...@gmail.com wrote: On Sun, Apr 03, 2011 at 03:59:23PM +0800, 琉璃井 wrote: I see that since 0.11.0 vala string.length returns number of bytes rather than that of unicode characters, and string[i] returns only one byte. I wonder how to deal with east

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

2011-04-03 Thread Jürg Billeter
We are pleased to announce version 0.12.0 of Vala, a compiler for the GObject type system. Vala 0.12.0 is now available for download at: http://download.gnome.org/sources/vala/0.12/ Changes since 0.11.7 * Add get_next_char to string class. * Many bug fixes and binding updates. Vala is a

[Vala] [PATCH] Implement alias functionality for 'using' directive

2011-04-03 Thread Jim Peters
Required to disambiguate symbol references in case of matches from multiple 'using' statements. --- tests/namespaces/aliases.vala | 30 vala/valacodewriter.vala |6 ++- vala/valamemberaccess.vala| 26 +++ vala/valaparser.vala | 17 ++-

Re: [Vala] [PATCH] Implement alias functionality for 'using' directive

2011-04-03 Thread Jim Peters
Jim Peters wrote: Required to disambiguate symbol references in case of matches from multiple 'using' statements. I've implemented the alias functionality missing from 'using'. It took 3 tries before I found a way that worked and didn't upset the existing code too much. As Vala tries to

Re: [Vala] how can I get the number of unicode points in a string?

2011-04-03 Thread 琉璃井
发件人: 琉璃井 pharaoh...@163.com 发送时间: 2011-04-04 11:00 主 题: Re: [Vala] how can I get the number of unicode points in a string? 收件人:vala-list@gnome.org 于 2011/4/3 21:30, Adam Dingle 写道: On 04/03/2011 06:08 AM, 琉璃井 wrote: From: 琉璃井pharaoh...@163.com Date: 2011-04-03 18:15:12 To: Luca

Re: [Vala] how can I get the number of unicode points in a string?

2011-04-03 Thread Adam Dingle
于 2011/4/3 21:30, Adam Dingle 写道: On Sun, Apr 03, 2011 at 03:59:23PM +0800, 琉璃井 wrote: At 2011-04-03 16:06:32,Luca Brunolethalma...@gmail.com wrote: On Sun, Apr 03, 2011 at 03:59:23PM +0800, 琉璃井 wrote: I see that since 0.11.0 vala string.length returns number of bytes rather