| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
The new missing-element-type warning triggers for these.
|
|
|
|
|
|
|
|
|
| |
It should be safe for bindings to assume that GPtrArrays hold only
pointers (or values as big as it), so there is no need to go through
hoops for converting smaller integers when marshalling.
Libraries that need arrays of integers should use GArray.
https://bugzilla.gnome.org/show_bug.cgi?id=652753
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=652256
|
| |
|
|
|
|
| |
We don't actually support nested container types in practice.
|
|
|
|
|
|
|
| |
Previously gjs supported only arrays of integers. Now that this
changed, we need tests to avoid regressions.
https://bugzilla.gnome.org/show_bug.cgi?id=646632
|
|
|
|
|
|
|
|
| |
Add some tests with parameters on either side of an out array length
parameter, to ensure that bindings that omit the length parameter
don't mess up any other parameters.
https://bugzilla.gnome.org/show_bug.cgi?id=651558
|
|
|
|
|
|
|
| |
gjs has always supported zero-terminated arrays of strings, and
nothing else. Now that this changed, we need to test it.
https://bugzilla.gnome.org/show_bug.cgi?id=634253
|
| |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
First, (inout) doesn't mean "mutates the argument". It means "I take an
input argument here, and will also return a *new* argument in this position."
C API which mutates e.g. structures is just unannotated. Mutation of
containers like GList, GHashTable is simply disallowed.
Secondly, we can't support C API which returns non-boxed structures with
a transfer other than (none). The scanner will warn about this in the future.
|
|
For backwards compatibility with tests, for now resurrect these
test cases (also, fix the namespacing on them while we're here).
Like Everything, these get installed in source form.
|