Re: [Vala] Vala team PPA: missing vala 0.8.1

2010-05-16 Thread Nicolas Joseph
Package updated, thank's! 2010/5/13 Matteo gtla...@gmail.com: On Wed, May 12, 2010 at 2:19 AM, Nicolas Joseph gege2...@redaction-developpez.com wrote: Hi, Someone can create the package for the latest version of vala, please? -- Nicolas Joseph vala 0.8.1 in the Ubuntu PPA would be much

[Vala] help with vapi

2010-05-16 Thread pancake
I'm working on the xmlrpc vapi, but i have some questions about what's the best way to define such abstractions on C. Attached is the vapi file and a example program. Please, tell me which things will you change, and how can I avoid using cname for each function, because looks like cprefix is

Re: [Vala] help with vapi

2010-05-16 Thread pancake
Hi Thanks for the tips. I have done some modifications acording to your tips. The problem i'm facing now is with the mapping of the basic types to the language ones. I've read dbus.vapi 270 [CCode (cname = char, const_cname = const char, copy_function = g_strdup, free_function =

Re: [Vala] Vala team PPA: missing vala 0.8.1

2010-05-16 Thread Bob Hazard
Thank you! On 17 May 2010 00:05, Bob Hazard linuxoflon...@gmail.com wrote: Thank you! On 16 May 2010 21:46, Bob Hazard linuxoflon...@gmail.com wrote: Thank you! On 16 May 2010 12:38, Nicolas Joseph nicolas.jos...@valaide.org wrote: Package updated, thank's! 2010/5/13 Matteo

[Vala] [Genie] valac 0.8.x bug with const arrays?

2010-05-16 Thread Arc Riley
The following (pretty much a direct copy from http://live.gnome.org/Genie) worked in 0.7.10 but not 0.8.0 or 0.8.1: class Options : Object config : static string = config.xml version : static bool license : static bool const entries : array of OptionEntry = { { config, 'c',

Re: [Vala] [Genie] valac 0.8.x bug with const arrays?

2010-05-16 Thread Arc Riley
Oops, sorry, the .c file line 134 has nothing to do with this. I reverted back to 0.7.10 and confirmed, this code compiles fine until 0.8.0. On Mon, May 17, 2010 at 12:17 AM, Arc Riley arcri...@gmail.com wrote: The following (pretty much a direct copy from http://live.gnome.org/Genie) worked