[Vala] Plugable Code Generators

2012-08-08 Thread Andrea Del Signore
Hi all, recently with these two commits [1], [2] support for the posix and dova profiles was removed from the vala compiler. I fully agree with this decision, for a number of reason starting from the fact that these profiles were incomplete and somewhat broken. Anyway as I said I like the idea

Re: [Vala] Plugable Code Generators

2012-08-08 Thread Luca Bruno
On Wed, Aug 8, 2012 at 12:40 PM, Andrea Del Signore seje...@gmail.comwrote: Hi all, recently with these two commits [1], [2] support for the posix and dova profiles was removed from the vala compiler. I fully agree with this decision, for a number of reason starting from the fact that

Re: [Vala] Plugable Code Generators

2012-08-08 Thread Andrea Del Signore
On Wed, Aug 8, 2012 at 12:47 PM, Luca Bruno lethalma...@gmail.com wrote: On Wed, Aug 8, 2012 at 12:40 PM, Andrea Del Signore seje...@gmail.com wrote: Hi all, recently with these two commits [1], [2] support for the posix and dova profiles was removed from the vala compiler. I fully agree

Re: [Vala] Plugable Code Generators

2012-08-08 Thread Luca Bruno
On Wed, Aug 8, 2012 at 12:57 PM, Andrea Del Signore seje...@gmail.comwrote: can you elaborate a little why the transform branch should be merged before? What's its purpose? Anyway we are talking about experimental stuff and we shouldn't be worried about compatibility and such, so why not

Re: [Vala] Plugable Code Generators

2012-08-08 Thread Andrea Del Signore
On Wed, Aug 8, 2012 at 1:58 PM, Luca Bruno lethalma...@gmail.com wrote: On Wed, Aug 8, 2012 at 12:57 PM, Andrea Del Signore seje...@gmail.com wrote: can you elaborate a little why the transform branch should be merged before? What's its purpose? Anyway we are talking about experimental

Re: [Vala] Plugable Code Generators

2012-08-08 Thread Jürg Billeter
On Wed, 2012-08-08 at 12:57 +0200, Andrea Del Signore wrote: Anyway we are talking about experimental stuff and we shouldn't be worried about compatibility and such, so why not include a simple patch like mine and after go for the full solution? If this is just for experimental stuff, I'm

Re: [Vala] Single instance...

2012-08-08 Thread Luis L. Rodríguez Oro
El 03/08/12 14:11, Luis L. Rodríguez Oro escribió: When I try to run this code show error Violación de segmento. Any ideas to fix it? I want to run a single instance of my app. //valac valac --pkg unique-1.0 using Unique; int main(string[] args){ Unique.App app = new

[Vala] C code generator

2012-08-08 Thread Luis Santos
I'm trying to use vala to create plugins (shared libraries) for another program. I would like to write some attributes on my classes and add extra C code in compile time based on those attributes. How can i write my custom attributes? and parse and execute them. And how can i generate custom