| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=647796
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
We should not be disting it, because it contains values derived
from configure. Extract it out of STATIC_GIRSOURCES, and also
move it to a Makefile rule rather than AC_SUBST as it should be
so it gets cleaned properly.
|
|
|
|
|
| |
Now fetches all sections correctly, with updated glib code base
and an updated annotation tool.
|
| |
|
|
|
|
|
|
| |
And set library-name and package accordingly in the cairo .gir
https://bugzilla.gnome.org/show_bug.cgi?id=639831
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
We need these references to correctly handle when an API (say GTK3)
uses the cairo-gobject boxed types in a signal (like "draw").
API consumers need to be using g-i for signal handling to make
this all work.
https://bugzilla.gnome.org/show_bug.cgi?id=636646
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cairo.RectangleInt is a very tricky case; it's (as of now)
boxed in cairo-gobject. We're trying to fix a few bugs here. First,
we want to make (out caller-allocates) work. In order to do that,
we need to explicitly specify the fields so that the typelib
has the right size.
Also, add the boxed type now so that we pick up the right thing
from GObject signal parameters.
See history in bug 623222 and bug 636393.
https://bugzilla.gnome.org/show_bug.cgi?id=636617
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Modify the lexer to consider all "trigraph" comments specially, and
parse them for "flags" as well as "private" and "public" (which were
previously hardcoded). This change allows for future support of
multiple annotations inside a single trigraph comment.
- Change the parser to consider the additional field "flags" set by
the lexer when constructing enums.
- Add a test case for the "flags" trigraph comment to the scanner
annotation tests.
See <https://bugzilla.gnome.org/show_bug.cgi?id=631530>.
|
| |
|
| |
|
|
|
|
|
| |
This is cleaner and faster, and prepares us better for an incoming
import of CMPH.
|
|
|
|
|
| |
This was broken with the last commit to remove a lot of the special
hacks to link to girepository in the dumper.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Imports gtk-doc comment from gio. In the future comments
should go into the gio sources instead of here, wer're we will
use the annotation-tool to update the extracted sources.
|
| |
|
|
|
|
|
|
|
| |
Add 'transfer mode' annotations for GAction, GActionGroup, GAppInfo,
GApplication and GAsyncInitable
https://bugzilla.gnome.org/show_bug.cgi?id=629790
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=629708
|
| |
|
| |
|
|
|
|
| |
Add annotations fixing warnings in in GVolume and GVolumeMonitor
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add some more (transfer full) annotations left out in commit cd0de25.
|
|
|
|
|
| |
Add (transfer full) and (array zero-terminated=1) to various GLib
and Gio functions.
|
|
|
|
|
| |
This enables glib documentation to be added to the generated gir using the original source
eg. --with-glib-src=/usr/src/glib
|
| |
|
|
|
|
| |
It has been broken for a while and nobody uses it.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
Rather than have the scanner/parser handle both e.g. "glong" and
"long", simply use the GLib types everywhere.
This commit adds TYPE_LONG_LONG and TYPE_LONG_DOUBLE to the
scanner types; however, rather than add them to the typelib,
they're just marked as not-introspectable.
|