| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Add namespacing prefixes to the static .gir files. Support the empty
prefix, as is needed for xlib.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One of the first big changes in this rewrite is changing the Type
object to have separate target_fundamental and target_giname properties,
rather than just being strings. Previously in the scanner, it was
awful because we used heuristics around strings.
The ast.py is refactored so that not everything is a Node - that
was a rather useless abstraction. Now, only things which can have
a GIName are Node. E.g. Type and Field are no longer Node.
More things were merged from glibast.py into ast.py, since it isn't
a very useful split.
transformer.py gains more intelligence and will e.g. turn GLib.List
into a List() object earlier. The namespace processing is a lot
cleaner now; since we parse the included .girs, we know the C
prefix for each namespace, and have functions to parse both
C type names (GtkFooBar) and symbols gtk_foo_bar into their
symbols cleanly. Type resolution is much, much saner because
we know Type(target_giname=Gtk.Foo) maps to the namespace Gtk.
glibtransformer.py now just handles the XML processing from the dump,
and a few miscellaneous things.
The major heavy lifting now lives in primarytransformer.py, which
is a combination of most of annotationparser.py and half of
glibtransformer.py.
annotationparser.py now literally just parses annotations; it's
no longer in the business of e.g. guessing transfer too.
finaltransformer.py is a new file which does post-analysis for
"introspectability" mainly.
girparser.c is fixed for some introspectable=0 processing.
|
| |
|
|
|
|
| |
For PangoXft.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-27 Johan Dahlin <jdahlin@async.com.br>
* gir/cairo-1.0.gir:
* gir/fontconfig-2.0.gir:
* gir/freetype2-2.0.gir:
* gir/libxml2-2.0.gir:
* gir/xfixes-4.0.gir:
* gir/xft-2.0.gir:
* gir/xlib-2.0.gir:
Remove shared-library tags for these too.
svn path=/trunk/; revision=1073
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-15 Johan Dahlin <jdahlin@async.com.br>
* gir/freetype2-2.0.gir: add FT_Int32
* gir/xft-2.0.gir: add XftFont
* girepository/gdump.c (g_irepository_dump):
Report errors when an invalid type is encountered
* giscanner/glibtransformer.py:
Make the error message a bit nicer.
Part of preparating for gir generating inside pango.
svn path=/trunk/; revision=1050
|
|
2009-01-15 Johan Dahlin <jdahlin@async.com.br>
* gir/GL-1.0.gir:
* gir/Makefile.am:
* gir/cairo-1.0.gir:
* gir/fontconfig-2.0.gir:
* gir/freetype2-2.0.gir:
* gir/libxml2-2.0.gir:
* gir/xfixes-4.0.gir:
* gir/xft-2.0.gir:
* gir/xlib-2.0.gir:
Move over the hand-written girs from gir-repository
so upstream libraries depending on these can avoid
a gir-repository dependency.
svn path=/trunk/; revision=1047
|