| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gir/gimarshallingtests.[hc]: Add a test for GStrv in function args and
as struct fields.
* girepository/giroffsets.c: Correctly compute the size of structs with
array fields
* girepository/girparser.c: Set is_pointer to FALSE for arrays with
fixed size that are inside structs.
* giscanner/glibtransformer.py: Special case GStrv as arrays of utf8.
* giscanner/annotationparser.py: Make full transfer the default for
arrays of char* returned by functions.
https://bugzilla.gnome.org/show_bug.cgi?id=620170
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
We're installing the headers without the girepository/ prefix,
so remove that in all internal headers to not break the out of
tree scanning.
|
|
|
|
| |
Move out GIFunctionInfo to gifunctioninfo.[ch]
|
| |
|
|
|
|
|
| |
Rename gtypelib.h -> gitypelib-internal.h and rename
gtypelib.c to gitypelib.c
|
|
|
|
|
|
|
|
|
| |
Split out GIBaseInfo to a separate source file.
Move out definitions to gibaseinfo.h/gitypelib.h/gitypes.h
and girepository-private.h
Install gibaseinfo.h/gitypelib.h and gitypes.h as well, but
require users to include girepository.h
|
|
|
|
|
| |
The gtk-doc parser is a big stricter now, which
changed the weird comments written in everything.c
|
|
|
|
|
| |
This is needed to be able to find the public headers without
having them installed.
|
| |
|
|
|
|
| |
Regenerate PNG
|
|
|
|
|
| |
Add an overview page for the documentation with a simple
diagram explaining the relationship between the main components.
|
|
|
|
| |
A GIEnumInfo represents either an enum or a set of flags
|
|
|
|
| |
Document GIEnumInfo and GIValueInfo
|
| |
|
|
|
|
|
| |
It's been broken for some time, remove it instead of letting
it bitrot.
|
| |
|
| |
|
|
|
|
| |
Document GITypeInfo and check the info type in all functions.
|
| |
|
|
|
|
|
| |
Check the info types for functions, callable and args.
Verifies that the right type is sent in
|
|
|
|
|
| |
Add macros for checking the sub-struct type. These are
similar to the standard GObject macros.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add type annotation syntax for GObject properties. This makes
it possible to override the type of a property. For instance,
this will allow function pointers with a G_TYPE_POINTER type set
to be used from a language binding which reads the typelib information
in addition g_object_class_find_property.
https://bugzilla.gnome.org/show_bug.cgi?id=618318
|
|
|
|
| |
For GLib arrays, write out the array type to the tgir
|
|
|
|
|
|
|
| |
Add support for (element-type) annotations for G*Array
types.
https://bugzilla.gnome.org/show_bug.cgi?id=619545
|
| |
|
|
|
|
| |
It wasn't useful, the new g_arg_info_is_caller_allocates is.
|
|
|
|
|
|
| |
We need to support parsing older .girs for inclusion purposes. (But
we should probably have an explicit .gir version, and require the
attribute for newer versions)
|
|
|
|
|
|
|
| |
They are now required with the updated Makefile.introspection rules,
as the path to cairo-1.0.gir is no longer absolute we will have to add
the src manually as it's references when srcdir != builddir, for instance
in make distcheck.
|
|
|
|
|
| |
Just define the ones we need, that are actually used by
the other makefiles.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
People have wanted support for marking (out) on functions of the
form:
/**
* clutter_color_from_pixel:
* @pixel: A pixel
* @color: (out): Color to initialize with value of @pixel
*/
void
clutter_color_from_pixel (guint32 pixel, ClutterColor *color);
Where the caller is supposed to have allocated the argument; the
C function just initializes it. This patch adds support for this
argument passing style to introspection. In this case, we see the
(out), and notice that there's only a single indirection (*) on
the argument, and assume that this means (out caller-allocates).
https://bugzilla.gnome.org/show_bug.cgi?id=604749
|
| |
|
|
|
|
|
| |
Add line numbers to symbols, which can be useful
in later stages of the scanner.
|
| |
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=619450
|
| |
|
|
|
|
| |
Make docs more consistent and also fix a couple of broken links
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=616425
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the .gir-building rule, use "$^" to refer to the source files,
since that automatically looks in both $(srcdir) and $(builddir). This
is particularly important since certain generated files will be in
$(builddir) when building from git, but in $(srcdir) when building
from tarballs
If you were previously prefixing $(srcdir) to the Foo_gir_FILES
members by hand, you should stop now.
(Also, removed the dependencies on $(INTROSPECTION_SCANNER) and
$(INTROSPECTION_COMPILER) for the .gir/.typelib rules, since the
scanner one was broken anyway, and we don't have that kind of
dependency for other rules (eg, making .o files depend on
/usr/bin/gcc).)
https://bugzilla.gnome.org/show_bug.cgi?id=616425
|
|
|
|
|
|
| |
Use g_slice to allocate instead of g_new(x, 1); It uses a memory
pool internally and should be faster, especially for GBaseInfo/GRealInfo,
structs which are tiny.
|
|
|
|
|
|
| |
Make the language we use in the gtk-doc comments
more consistent. Add transfer annotation for all functions
returning a struct and mention how they should be freed.
|
|
|
|
|
|
| |
Mark macros as standard and a couple of structs
as private. Remove multiple defintion of GITypelib to reduce
gtk-doc spew.
|