| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
requires "handle unsigned properly for type of defined size" patch.
|
| |
|
|
|
|
|
|
|
|
|
| |
This let the macro expands to its value as gint64/guint64.
Also
- fix lexer identifier/typdef detection for macro and misc
- do not discard cast
|
|
|
|
|
|
| |
Convert the simple g_assert() statements into g_assert_cmp*, to show what the
actual value is in case of a failure. This makes it easier to port
g-i/pygobject/etc. to new architectures which exhibit bugs, like powerpc64.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=675985
Moving the early annotation pass is needed to avoid
the first type resolve pass to resolve to the not-renamed type.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=675985
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679981
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679981
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new interface GIMarshallingTestsInterface3 with a method that takes an
array of variants as argument. This can be used for testing the passing of
array of variants from C to introspection clients, which is not otherwise
covered in the tests for arrays of variants.
https://bugzilla.gnome.org/show_bug.cgi?id=667244
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
|
|
|
|
|
| |
This used the non-existing G_TYPE_INSTANCE_GET_INTERFACE2 macro, likely a
copy&paste error.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679160
|
|
|
|
|
|
|
|
| |
anonymous unions
The previous patch introduced a regression where we would crash on
encountering an anonymous union. Work around this by just writing out
'gpointer' in this case, and add a regression test.
|
|
|
|
|
|
|
|
| |
That is - write also type qualifiers (const and volatile here). Update
existing tests and add a new struct to regress.h having members with
type qualifiers.
https://bugzilla.gnome.org/show_bug.cgi?id=656445
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=656445
|
|
|
|
|
|
|
|
|
|
|
|
| |
They were parsed in wrong order resulting in having wrong pointer
being const. For example - g_settings_list_schemas return type is
normally 'const gchar *const *', but parsing result was
'const gchar ** const'.
This was unnoticed, because pointer constness information is rather
not used by gobject-introspection now.
https://bugzilla.gnome.org/show_bug.cgi?id=656445
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=656445
|
|
|
|
|
|
|
|
|
| |
Previous fix was wrong, as it called to_underscores_noprefix on a
prefixed type name. The actual fix is to call the transformer to
do the prefix / type_name split, and turn the latter to underscores.
Test case included.
https://bugzilla.gnome.org/show_bug.cgi?id=634202
|
| |
|
|
|
|
| |
See https://bugzilla.gnome.org/show_bug.cgi?id=637025 for motivation.
|
|
|
|
|
|
|
| |
This test case has a single-letter symbol prefix, which triggers
edge cases in the difference between prefix handling.
See https://bugzilla.gnome.org/show_bug.cgi?id=637025
|
| |
|
|
|
|
| |
We don't need a basic getter for a private field - this isn't Java.
|
|
|
|
| |
This is a general code cleanup.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=635128
|
|
|
|
|
|
| |
This is incorrect -- the type name that's passed to the function
should contain a prefix. This fixes error domains for GLib errors.
Don't revert doc changes or test additions.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Turns out that the problem was not only in the wrong matching
to GType enums, but also that the non-GType heuristics used
to_underscores instead of to_underscores_noprefix, turning DBusError
into D_Bus_Error instead of DBus_Error.
Complete with various tests.
https://bugzilla.gnome.org/show_bug.cgi?id=669350
|
|
|
|
|
|
|
|
|
|
| |
_uscore_type_names maps from the c_symbol_prefix, which has the
global ns prefix removed, so we need to split the function symbol
before the lookup. Previously it worked because it used the heuristics
for unregistered enums (and failed for GDBusError, which has two
uppercase letters in succession)
https://bugzilla.gnome.org/show_bug.cgi?id=669350
|
| |
|
| |
|
|
|
|
|
|
|
| |
Also make the _copy()/_free() methods for GIMarshallingTestsBoxedStruct get
along with NULL values.
https://bugzilla.gnome.org/show_bug.cgi?id=676603
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=677249
|
|
|
|
|
| |
This reproduces
https://bugzilla.gnome.org/show_bug.cgi?id=653151
|
|
|
|
|
| |
This came up as a side issue in
https://bugzilla.gnome.org/show_bug.cgi?id=653151
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the scanner found a function with _new in its name, but not
prefixed by the name of a known type, it would assume that the
function was a constructor, and then complain that it couldn't figure
out what it was a constructor for, and mark it introspectable=0.
Instead, just assume that the function is not actually a constructor
in that case (unless it's explicitly tagged as such).
https://bugzilla.gnome.org/show_bug.cgi?id=676815
|
|
|
|
| |
The field info wasn't being freed after it was used
|
|
|
|
|
|
|
| |
We need to unref the cairo surface here, as we are making the context
be the sole owner of it.
https://bugzilla.gnome.org/show_bug.cgi?id=671687
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=671687
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=671687
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
It appears that cmph library can return (n+1) when querying item not
present in its original n-item-sized set. Adjust code so that it
detects this condition and do not chase stray pointers resulting from
this bogus(?) hash result.
https://bugzilla.gnome.org/show_bug.cgi?id=675939
|