Re: [Vala] Openssl vapi

2012-09-20 Thread Stefano Debenedetti
Hi Shawn, your mail prompted me to post an OpenSSL vapi I did a while ago here: https://bugzilla.gnome.org/show_bug.cgi?id=684446 Please attach yours there too, it seems we tackled different parts of OpenSSL API so our two vapis are not overlapping and could easily be merged. Hopefully

Re: [Vala] Openssl vapi

2012-09-20 Thread Shawn Ferris
On Thu, Sep 20, 2012 at 3:41 AM, Stefano Debenedetti s...@demaledetti.net wrote: Please attach yours there too, it seems we tackled different parts of OpenSSL API so our two vapis are not overlapping and could easily be merged. That's a great idea.. I'll wait 'til the end of the day, in case

[Vala] How to substitude header_free_param_list() with Vala 0.12.x

2012-09-20 Thread Olivier Duchateau
Hi, With Vala = 0.14.x and libsoup-2.4 there's method, which calls 'header_free_param_list()'. I wonder how I can replace this method under Vala 0.12.x. I can't see a 'free' method for this old version of Vala. I can't upgrade Vala, because it's official version in FreeBSD's ports tree. Regards

Re: [Vala] Rv: C to Vala

2012-09-20 Thread Mario Daniel Ruiz Saavedra
valac takes Vala code, analyzes it, and generates C code accordingly. What hinders it from making it the other way (taking c code which heavily uses GLib, and turning it into Vala Code)? Also, whould prove correctness, as doing Vala to C and then C to Vala should produce similar code. -

Re: [Vala] Rv: C to Vala

2012-09-20 Thread Mario Daniel Ruiz Saavedra
Once the Vala to C rules are defined, the inverse rules should work for C to vala, at least in a 80% - Mensaje original - De: Landon Blake sunburned.surve...@gmail.com Para: Mario Daniel Ruiz Saavedra desideran...@rocketmail.com CC: Enviado: Jueves, 20 de septiembre, 2012 12:47:10

Re: [Vala] Rv: C to Vala

2012-09-20 Thread Jonas Kulla
2012/9/20 Mario Daniel Ruiz Saavedra desideran...@rocketmail.com What hinders it from making it the other way (taking c code which heavily uses GLib, and turning it into Vala Code)? The same thing that hinders an oven from producing flour and water from bread I suppose.

Re: [Vala] Rv: C to Vala

2012-09-20 Thread Mario Daniel Ruiz Saavedra
Unlikely. You are confusing translate with transform. Please argue properly. De: Jonas Kulla nyocu...@gmail.com Para: Mario Daniel Ruiz Saavedra desideran...@rocketmail.com CC: Vala List vala-list@gnome.org Enviado: Jueves, 20 de septiembre, 2012 13:55:50

Re: [Vala] Rv: C to Vala

2012-09-20 Thread Eric Gregory
On Thu, Sep 20, 2012 at 12:01 PM, Mario Daniel Ruiz Saavedra desideran...@rocketmail.com wrote: Unlikely. You are confusing translate with transform. Please argue properly. He's right though -- the relationship between C and Vala is not 1:1 unless the C code was generated by valac.