Re: [Vala] Interesting bug...

2009-10-18 Thread pHilipp Zabel
On Sat, Oct 17, 2009 at 3:31 PM, Magnus Therning wrote: > Here's a piece of code I'm having some problems with: > >  int main( string[] args ) { >      var res = store_password_sync( NETWORK_PASSWORD, DEFAULT, >                                     "Vala Test key", "the password", 0 ); > >      ret

[Vala] Parsing with Vala

2009-10-18 Thread Xavier Bestel
Hi, I'd like to do some script parsing with Vala, and I wonder if anyone of you had done something like that. I'm mostly interested in the lexical parsing (strings, keywords, numbers, etc.). Thanks, Xav ___ Vala-list mailing list Vala-list@gn

Re: [Vala] Who updates references.valadoc.org?

2009-10-18 Thread Didier 'Ptitjes'
Hi Magnus, Magnus Therning wrote: On 16/10/09 08:29, Didier 'Ptitjes' wrote: Florian told me he would update it this WE. Excellent. I have no problems making do with the .vapi file in the meantime ;) This may finally take a little more time. So as an interim, I published the generated do

Re: [Vala] Parsing with Vala

2009-10-18 Thread Abderrahim Kitouni
Hi, 2009/10/18 Xavier Bestel : > Hi, > > I'd like to do some script parsing with Vala, and I wonder if anyone of > you had done something like that. I'm mostly interested in the lexical > parsing (strings, keywords, numbers, etc.). You might want to look at GScanner, I haven't used it myself, but

Re: [Vala] Who updates references.valadoc.org?

2009-10-18 Thread Magnus Therning
On 18/10/09 19:14, Didier 'Ptitjes' wrote: Hi Magnus, Magnus Therning wrote: On 16/10/09 08:29, Didier 'Ptitjes' wrote: Florian told me he would update it this WE. Excellent. I have no problems making do with the .vapi file in the meantime ;) This may finally take a little more time. So as

Re: [Vala] Parsing with Vala

2009-10-18 Thread JM
Hi Xav I don't know if this is what you are looking for but there is that sparql scanner in tracker written by Jürg Billeter. It parses sparql statements: http://git.gnome.org/cgit/tracker/tree/src/libtracker-data/tracker-sparql-scanner.vala Regards, Jörn Am Sonntag, den 18.10.2009, 19:13 +0200 s

Re: [Vala] Parsing with Vala

2009-10-18 Thread Xavier Bestel
Le dimanche 18 octobre 2009 à 19:26 +0100, Abderrahim Kitouni a écrit : > Hi, > > 2009/10/18 Xavier Bestel : > > Hi, > > > > I'd like to do some script parsing with Vala, and I wonder if anyone of > > you had done something like that. I'm mostly interested in the lexical > > parsing (strings, keyw

[Vala] Problem compiling some example of - gnome panel applet...

2009-10-18 Thread Arkadi Viner
Hello, *I am trying to compile this code example :* using Panel; public class MainApplet : GLib.Object { public static bool panel_factory (Applet applet, string iid) { var button = new Gtk.Button.with_label ("Vala Panel"); applet.add (button); applet.show_all ();