| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
Add --all option, which is intended to show some information not
usually included in the GIR.
Currently, it shows the size of structs and unions.
Signed-off-by: Andreas Rottmann <a.rottmann@gmx.at>
|
|
|
|
|
|
|
| |
Add a signal and a "bare" member (i.e. a member without getter/setter)
to TestObj.
Signed-off-by: Andreas Rottmann <a.rottmann@gmx.at>
|
|
|
|
|
|
|
| |
This reverts commit 4470a24e8cf3827efaddcfe240c3271cf1a0d6c0.
Needs more work as it turns out, we need to figure out the binding
story.
|
|
|
|
|
|
|
|
| |
Make the callback grouping heuristic more lax: consider all pointer
parameters ending in 'data' to be the user_data parameter (instead of
requiring an exact 'user_data' name).
Signed-off-by: Andreas Rottmann <a.rottmann@gmx.at>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
In order to determine whether a method is virtual, by default we look
at the class table to find a callback field. This should be fairly reliable,
but we may also later need annotations to more finely control this
in the case of a name clash with a signal.
|
|/
|
|
|
| |
This fixes a cache issue where the pickle in the cache doesn't
have self._pkgconfig_packages set in its instance
|
|
|
|
|
|
|
|
| |
Similar to GObject class structs, we pair up GInterfaces with
their C structures.
Also, move some GLib-specific things into glibast.py, and make
the naming more generic.
|
|
|
|
|
|
| |
Previously we just supported int and string, add double to this.
Technically we should probably differentiate between float and
double, but it's not likely to be very useful in practice to do so.
|
|\ |
|
| |
| |
| |
| | |
This makes the dumper not fail for people who set $CC to e.g. "distcc gcc".
|
| |
| |
| |
| |
| | |
We keep track of the source filename for every symbol. This enables
us to later filter symbols based on that name.
|
| |
| |
| |
| |
| | |
girepository/ginvoke.c: handle the case where n_param_values == 0.
tests/invoke/genericmarshaller.c: add a test case for this.
|
| |
| |
| |
| |
| | |
gvariant uses va_list *; we were previously skipping va_list, we should
skip indirect variants as well.
|
| |
| |
| |
| |
| |
| | |
patching hard
We'll just require 1.12, which is the version fixed to work with shave.
|
| |
| |
| |
| | |
This fixes the build with gtk-doc enabled.
|
|/ |
|
|
|
|
|
| |
Avoids a compilation warning (unused function)
in the generated lexer output.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Which let's us focus on the important warnings.
|
|
|
|
|
| |
This makes it easier to add more over time without changing lots
of unrelated code.
|
|
|
|
|
| |
This option is for specifying inside the .gir what C header files should
be included by C consumers (as opposed to parsed by the scanner).
|
| |
|
|
|
|
| |
This gives us nice stack traces.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to reference the get_type() functions we are going to dlsym
or otherwise the linker may not include them in the introspection
binary.
giscanner/dumper.py: Accept a list of _get_type() functions
and write an array referencing them into the introspection
binary.
giscanner/glibtransformer.py: Break parsing into too stages -
the stage where we compute the _get_type() functions and the
stage where we invoke the introspection binary.
tools/g-ir-scanner: Pass _get_type() functions from the
scanner when creating the introspection binary.
http://bugzilla.gnome.org/show_bug.cgi?id=572075
|
| |
|
| |
|
|
|
|
|
| |
This fixes the build on Hurd. If anyone ever actually uses Hurd with
filenames longer than 4096, they can open a new bug.
|
| |
|
|
|
|
|
|
| |
Expand various typelib objects to ensure we have at least 16 bits
left for each one to add another string indirection or directory offset,
and also that we have at least a few bits for more flags.
|
|
|
|
|
|
| |
Where appropriate we now use G_STRUCT_OFFSET and sizeof()
instead of hardcoded integers. Add comments for some special
cases.
|
|
|
|
|
| |
In a few places we had hardcoded sizes for accessing structure members
and computing into variable size arrays. Remove those.
|
|
|
|
|
| |
This not only makes it easier to change these structures, it becomes
clearer exactly what each magic number is just for reference.
|
|
|
|
|
|
| |
typelib-format.txt was growing out of date; a good solution to this is
to move it closer to the code it's documenting. By doing this we also
gain the ability to use gtk-doc on it.
|
|
|
|
| |
The latter option seems to be what others are doing, so we do too.
|
|
|
|
| |
section title
|
|
|
|
|
|
|
| |
The gtk-doc manual suggests using inline comments:
http://library.gnome.org/devel/gtk-doc-manual/stable/documenting.html.en
So we'll do that.
|
|
|
|
|
|
|
|
|
|
| |
to SUBDIRS
The gtk-doc introductory commit introduced some generated files; remove those.
We apparently only require 1.11, so downgrade to that.
Finally, the docs directory was missing from the toplevel SUBDIRS.
|
|
|
|
|
| |
This was suggested during a refactoring of the affected code for
bug 567906.
|
|
|
|
| |
This ensures we're stable on a macro level.
|
|\ |
|