| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Fix (void) function declarations that occur with -Wstrict-prototypes, and the
g_param_spec_get_name() which drops the const from its argument.
|
|
|
|
|
|
|
| |
Add gi_marshalling_tests_param_spec_in_bool(), supplementing the already
existing tests for a GParamSpec out argument and return value.
https://bugzilla.gnome.org/show_bug.cgi?id=682355
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=684059
|
|
|
|
|
|
| |
Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=678401
|
|
|
|
|
|
|
| |
gchar is signed, not unsigned. Add "guchar" alias as unsigned for completeness
(but usually it appears as guint8).
https://bugzilla.gnome.org/show_bug.cgi?id=691524
|
|
|
|
|
|
| |
Add vfunc_array_out_param to GIMarshallingTestsObjectClass.
https://bugzilla.gnome.org/show_bug.cgi?id=690851
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of going down with a for the user inexplicable backtrace,
emit a warning asking said user to file a bug including the
comment block in question.
Thanks to Alexandre Rostovtsev <tetromino@gentoo.org> for
proposing something similar in bug #690850
https://bugzilla.gnome.org/show_bug.cgi?id=690850
|
|
|
|
|
|
|
|
|
|
|
| |
This comment block, as found in the wild via
https://bugzilla.gnome.org/show_bug.cgi?id=690850
has a couple of elements to make it an interesting
test case:
- a colon on the first line
- stuff between parens on the first line
but it still isn't a valid identifier. Add it here
anyway to make sure we don't regress.
|
|
|
|
|
|
|
|
|
|
| |
A completely empty GTK-Doc comment block (/**\n*/) resulted
in an unfriendly backtrace, complaining about an
"AttributeError: 'NoneType' object has no attribute 'comment'"
This fixes the issue and adds a test case.
https://bugzilla.gnome.org/show_bug.cgi?id=690850
|
|
|
|
|
|
| |
Rather than use the glib names like gint/gchar and friends, use the
Python type names. Right now, this is Python 2, but we'll soon be
introducing a special Python 3 formatter.
|
|
|
|
|
|
| |
Instead of cluttering up the giscanner directory, put templates
into their own files, with each language having its own templates
in its own directory for comfort.
|
|
|
|
|
| |
Use join and a genexp instead of manual comma tracking to make
our lives just a little easier.
|
| |
|
|
|
|
|
| |
Add a colon after the def, and add a comment describing what this
is a wrapper for.
|
|
|
|
|
|
| |
This removes us from the need to do path manipulation, and also
allows templates to include or import helpers from another with
the <%include/> or <%namespace/> helper control tags.
|
|
|
|
|
|
|
| |
Support the inline @my_parameter syntax, and translate it to
<code>my_parameter</code>, as Mallard doesn't have anything
more fancy than that. For Python, where we omit the first parameter
of methods like that automatically, force to "self".
|
| |
|
|
|
|
| |
This will be used for @param detection.
|
|
|
|
| |
Simple code cleanups.
|
|
|
|
| |
This can be more accurately retrieved off of the node itself in all cases.
|
|
|
|
| |
Simple cleanup
|
|
|
|
| |
This should now be correct in all cases.
|
|
|
|
|
|
|
|
| |
While testing g-ir-doctool, it's common to generate a directory
full of a large number of small .page files inside the source
directory, which slows down git a lot while searching for untracked
files. Ignore the .page files for now, so git doesn't have to look
in its database for every one.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
I'm building on RHEL6 which doesn't have cairo-gobject. Now, we
tried to support this in that 'make' would succeed, but 'make check'
would blow up.
This patch allows more of 'make check' to succeed - I just need to
figure out how to make the diff against the -expected.gir work.
What's more important though, is this will allow gjs to also #define
_GI_DISABLE_CAIRO.
|
|
|
|
| |
It was missing from girepository.symbols.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=690514
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=691030
|
|
|
|
|
| |
.iterfind() is new in 2.7, but we claim 2.6 support, as I use on
RHEL6.
|
|
|
|
|
|
|
|
| |
We already have tests for "array of simple structs"
(gi_marshalling_tests_array_simple_struct_in) and "array of pointers to
boxed structs" (gi_marshalling_tests_array_struct_in), but were missing
"array of boxed structs", which reproduces
https://bugzilla.gnome.org/show_bug.cgi?id=656312
|
|
|
|
|
|
|
|
| |
Instead of telling the user to do so and failing, we can just install the hook
ourselves. This saves the user some trouble and more importantly avoids
breaking tests in jhbuild continuous integration setups.
https://bugzilla.gnome.org/show_bug.cgi?id=686388
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=690041
|
|
|
|
| |
In favor of GOnce, since we just want initialize-once semantics.
|
|
|
|
|
|
|
|
|
| |
Call $PYTHON-config to determine include and library paths and linker flags
instead of making assumptions about them.
Also drop the unused PYTHON_LIB_LOC macro.
https://bugzilla.gnome.org/show_bug.cgi?id=690347
|
| |
|
|
|
|
|
|
|
|
| |
If CC is defined at "ccache gcc", the expanded command ends up as:
env PATH=... CC=ccache gcc PYTHONPATH=... ./g-ir-scanner
causing compilation errors.
https://bugzilla.gnome.org/show_bug.cgi?id=690074
|
|
|
|
|
|
|
|
|
|
| |
For background,
See https://bugzilla.gnome.org/show_bug.cgi?id=629682
See https://bugzilla.gnome.org/show_bug.cgi?id=689871
Basically we should emit a warning here.
https://bugzilla.gnome.org/show_bug.cgi?id=689998
|
| |
|
| |
|
|
|
|
| |
Previous WarnLib commit was broken.
|
|
|
|
|
|
|
|
|
| |
While we have much larger performance problems right now, using
-Bsymbolic-functions to avoid internal PLT indirection is an easy win.
This is the same code that both GLib and GTK+ have.
https://bugzilla.gnome.org/show_bug.cgi?id=689456
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=689570
|
|
|
|
|
|
|
|
| |
Running make multiple times caused "mkdir" to complain
that it could not create those directories because they
where already there...
https://bugzilla.gnome.org/show_bug.cgi?id=689570
|
|
|
|
|
|
|
|
|
|
|
| |
Both GIMarshallingTests and Regress right now use --warn-error; but
in some cases (e.g. GErrors without a corresponding enum), we still
want bindings to support the functionality.
So add this new library where we can add C API that emits
introspection warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=689488
|
|
|
|
|
|
| |
We don't know how many apps do this, but at least ibus had one.
https://bugzilla.gnome.org/show_bug.cgi?id=689354
|