| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Flags and enums with a GType have a value_nick and value_name
strings available in the class struct. But for flags and enums
without GType, we need to get this information from introspection.
g_base_info_get_name() gives the string for value_nick. In the GIR,
the attribute "c:identifier" is the string neede for value_name.
This patch adds the "c:identifier" from GIR to the typelib for all
flags and enum values. It can be retireved using
g_base_info_get_attribute(info, "c:identifier").
https://bugzilla.gnome.org/show_bug.cgi?id=642757
|
|
|
|
|
| |
This allows bindings to test the ability to clean up (in)
parameters after a GError is set by the wrapped function.
|
|
|
|
|
|
|
| |
Glib uses flag aliases, multiple flag names with the same int
value. For example G_IO_FLAG_MASK and G_IO_FLAG_GET_MASK. We need
these flag values to test that gi bindings don't assume that all
flags have the same value.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=641347
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=641347
|
| |
|
|
|
|
|
|
|
|
| |
Different types of array have different type nodes, so they should
produce different keys in the cache of already seen type nodes, to
avoid turning a GByteArray into a reference to a GPtrArray.
https://bugzilla.gnome.org/show_bug.cgi?id=642300
|
| |
|
|
|
|
|
|
|
| |
The argument was called 'ctx' but the macro was using 'context'.
This wasn't causing the build to fail because the variable
'context' was already defined in all the scopes where this macro
was used.
|
|
|
|
| |
The cairo/ directory is searched for header files anyway.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=641647
|
| |
|
|
|
|
|
| |
Hit this race in practice with two g-ir-scanner invocations
in Fedora's koji.
|
|
|
|
|
|
| |
So methods such as gtk_drag_dest_set() can be put inside Gtk.Widget
https://bugzilla.gnome.org/show_bug.cgi?id=639945
|
|
|
|
|
| |
Now fetches all sections correctly, with updated glib code base
and an updated annotation tool.
|
|
|
|
|
| |
Preserve the section names and write them out on the class/record/
interface.
|
| |
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=561264
|
| |
|
|
|
|
|
|
| |
Because it already has the lib prefix and the .so postfix
https://bugzilla.gnome.org/show_bug.cgi?id=639961
|
|
|
|
|
|
| |
So the element type has the correct is_pointer flag
https://bugzilla.gnome.org/show_bug.cgi?id=638929
|
| |
|
| |
|
|
|
|
|
|
| |
And set library-name and package accordingly in the cairo .gir
https://bugzilla.gnome.org/show_bug.cgi?id=639831
|
|
|
|
|
| |
so we can test conflicts when two bases have a vfunc with the
same name.
|
| |
|
| |
|
|
|
|
|
|
| |
handling in bindings.
https://bugzilla.gnome.org/show_bug.cgi?id=639834
|
|
|
|
|
|
| |
* guint8 can be interpreted as array characters that can be memcpyied
during marshalling so add a test to check if we are correctly handling
this codepath
|
|
|
|
|
|
|
|
| |
enums.
There was a bug in pygi in which non-gtype enums shared values between themselves.
That is, if there was an attribute Enum.THE_VALUE, it would be available on as OtherEnum.THE_VALUE as well.
To make a test case for this bug, we need a second non-gtype enum in GIMarshallingTests to compare with.
|
|
|
|
|
|
| |
A new test to expose a bug in pygobject
https://bugzilla.gnome.org/show_bug.cgi?id=638915
|
|
|
|
|
|
|
|
|
|
|
|
| |
Scanner tries to detect caller-allocates attribute automatically if
not explicitly specified by checking that parameter is not double-referenced
and is struct or union. This patch adds resolving of aliases when
checking whether parameter is struct or union.
Also removes old incorrect method transformer.follow_aliases, which
was never used in current code.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=639081
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=634838
|
| |
|
|
|
|
|
|
|
| |
for calling the native implementation of a virtual function. Refactors
the code common with g_function_info_invoke in _g_callable_info_invoke.
https://bugzilla.gnome.org/show_bug.cgi?id=637145
|
| |
|
|
|
|
| |
This reverts commit 88553b4cd6776b7eff9a3b1d63eb8e49be0bd8f2.
|
|
|
|
| |
This reverts commit bedd7dd61508684b78bd1e95fed8025d48661b48.
|
| |
|
|
|
|
|
| |
This avoids a naming conflict when compiling GiRepository.gir, where
g_irepository_dump() was defined in an included header.
|
|
|
|
|
| |
- include gio-unix headers properly into Gio gir
- don't include gsettingsbackend.h
|
|
|
|
| |
Instead, rely on the c_includes. See the previous commit for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This avoids warnings about undefined functions when using init sections
and it removes the requirement to predeclare the get_type functions that
should be called. For an example for this problem with GStreamer, see
https://bugzilla.gnome.org/show_bug.cgi?id=639039
We can now also use gcc's error checking to ensure that users
- specify the correct C includes in the gir file (because otherwise we
get errors when compiling the dumper).
- the types do actually exist (because again, the compiler will
complain).
|
|
|
|
|
|
|
|
|
| |
Use pkgconfig files from --pkg when compiling the dump binary.
This helps avoiding linker errors when init sections are provided that
use code from those packages.
https://bugzilla.gnome.org/show_bug.cgi?id=639039
|
|
|
|
|
|
|
| |
* don't skip those associated to a signal
* don't warn if it doesn't have an invoker
https://bugzilla.gnome.org/show_bug.cgi?id=637215
|
|
|
|
|
|
| |
* gdumpparser.py was incorrectly passing the ctype for transfer
* Property constructor wasn't actually doing anything with passed transfer
* Parse transfer-ownership in girparser
|
|
|
|
|
|
|
| |
Previously we were just looking for <type> inside a GLib.List,
but it may be <array>.
See bug 637262 for code that triggered this.
|