Re: [Vala] How to use GIR files

2011-05-05 Thread Daniel Espinosa
I'm searching a way to use autogenerated GIR, by libgda source code compilation, to generate vapi automatically as new libgda version is released. Please tell me the steps to do and I'll reproduce them in libgda sourcecode, or at least sent the updated vapi. I want to use new API on libgda 4.2 an

Re: [Vala] Support for custom attribute introspection/reflection?

2011-05-05 Thread Ricardo Gladwell
On 5 May 2011 15:15, Jonathan Ryan wrote: > Excerpts from Ricardo Gladwell's message of 2011-05-05 03:29:11 -0400: >> Given this, it would seem unlikely GObject-Introspection will support >> executables or namespaces, both of which would be needed for a full >> introspection API for Vala. > > As o

Re: [Vala] Support for custom attribute introspection/reflection?

2011-05-05 Thread Alexandre Rosenfeld
Hi Ricardo, Could you tell why you need to get the annotated attributes? I had a similar issue where I wanted to know the namespace of an object at runtime and I found no way to it. I solved it partially by using static constants in classes and GObject's type information

Re: [Vala] Support for custom attribute introspection/reflection?

2011-05-05 Thread Jonathan Ryan
Excerpts from Ricardo Gladwell's message of 2011-05-05 03:29:11 -0400: > On Wed, 2011-05-04 at 17:03 -0400, Jonathan Ryan wrote: > > Isn't GObject-Introspection's focus narrower than providing metadata? > Reading around the subject, it seems it's to provide metadata for public > API/shared librari

Re: [Vala] Support for custom attribute introspection/reflection?

2011-05-05 Thread Ricardo Gladwell
On 5 May 2011 11:14, Maciej Marcin Piechotka wrote: > You mean nested namespaces - not namespaces itself. Yes, GIR does not support nested namespaces which is a problem. -- Ricardo Gladwell http://www.google.com/profiles/ricardo.gladwell Twitter: @rgladwell - MSN: axo...@gmail.com _

Re: [Vala] Support for custom attribute introspection/reflection?

2011-05-05 Thread Maciej Marcin Piechotka
On Thu, 2011-05-05 at 10:36 +0100, Ricardo Gladwell wrote: > Hi Maciej > > On 5 May 2011 09:09, Maciej Marcin Piechotka > wrote: > > On Thu, 2011-05-05 at 08:29 +0100, Ricardo Gladwell wrote: > >> > Excerpts from Ricardo Gladwell's message of 2011-05-04 16:42:55 -0400: > >> Given this, it would

Re: [Vala] Support for custom attribute introspection/reflection?

2011-05-05 Thread Ricardo Gladwell
Hi Maciej On 5 May 2011 09:09, Maciej Marcin Piechotka wrote: > On Thu, 2011-05-05 at 08:29 +0100, Ricardo Gladwell wrote: >> > Excerpts from Ricardo Gladwell's message of 2011-05-04 16:42:55 -0400: >> Given this, it would seem unlikely GObject-Introspection will support >> executables or namespa

Re: [Vala] Support for custom attribute introspection/reflection?

2011-05-05 Thread Maciej Marcin Piechotka
On Thu, 2011-05-05 at 08:29 +0100, Ricardo Gladwell wrote: > On Wed, 2011-05-04 at 17:03 -0400, Jonathan Ryan wrote: > > Excerpts from Ricardo Gladwell's message of 2011-05-04 16:42:55 -0400: > > > On 4 May 2011 18:08, Jonathan Ryan > > > wrote: > > > > The GObject API currently does not provide

Re: [Vala] Support for custom attribute introspection/reflection?

2011-05-05 Thread Ricardo Gladwell
On Wed, 2011-05-04 at 17:03 -0400, Jonathan Ryan wrote: > Excerpts from Ricardo Gladwell's message of 2011-05-04 16:42:55 -0400: > > On 4 May 2011 18:08, Jonathan Ryan wrote: > > > The GObject API currently does not provide attributes. > > > > Would the GLib team be receptive to changes to suppor