Re: [gnome-db] Include Gir file with constant "[;31;1m"



Generated docs are here for seed using introspection. (still in beta though)
http://www.akbkhome.com:7080/seed/Gda.shtml

there's a couple of other small bugs in git head.
a) threadwrapper is spelt wrong
          $(addprefix $(srcdir)/, $(threadwrapper)) \
          $(addprefix $(srcdir)/, $(threadwraper)) \

b) libgda_sources should be used rather than gda_sources
libgda/Makefile.in:@HAVE_INTROSPECTION_TRUE@ $(addprefix $(srcdir)/, $(gda_sources)) \
should be
libgda/Makefile.in:@HAVE_INTROSPECTION_TRUE@ $(addprefix $(srcdir)/, $(libgda_sources)) \

c) g-ir-scanner is not picking up much of the documentation lines as the comments block title does not end with a colon ':'

eg
This works
/**
* gda_connection_event_set_event_type:
* @event: a #GdaConnectionEvent object
* @type: the severity of the event
*
* Sets @event's severity (from a simple notice to a fatal event)
* This function should not be called directly.
*/
this fails.
/**
* gda_connection_event_get_event_type
* @event: a #GdaConnectionEvent object
*
* Get @event's severity (from a simple notice to a fatal event)
*
* Returns: the event type
*/



Regards
Alan

Daniel Espinosa wrote:
I had made some basic test using seed for the backported GIO for
LibGDA 4.0 series, and it works!!!!

Then I think this is the initial support for GObject Introspection for
GDA 4.0!!!

2010/3/1 Daniel Espinosa <esodan gmail com>:
I'm near, but I can fine the way to make compile and generate gir and
typedef files for Gda UI, some thing is missing to include, I don't
know if some headers files or the Gda-4.0.gir file. I'll test
different ways to make it work. For know including Gda-4.0.gir file
throws an exception due to some constants defined in Gda 4.1.x, I'll
check them on 4.0.x too, witch if I delete them from the parsing to
generate gir file compilations fails.

I hope to have some thing working, as soon as I receive retrofit from
gtk-devel-list about the g-ir-scanner parser, or I can manage to
generate the gir file with out GDA gir file. Actually
parsing/compilation fails because it doesn't fine GdaSet object, may
be this is the only one object I have to skip to have a partially
support for Gda-UI API.

2010/3/1 Vivien Malerba <vmalerba gmail com>:
On 1 March 2010 17:01, Daniel Espinosa <esodan gmail com> wrote:
I'll test it as soon as possible, by using JavaScript and may be Vala.

Very thanks.

Ok, thanks a lot.

BTW, you were working on Gobject introspection for Libgda-ui, do you
have something working? If so I can integrate it into the current
trunk and release it with the next 4.1.x version.

Regards,

Vivien


--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los
cuates: LIBRE)







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]