| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Allow closures without annotations to avoid having
to duplicate the parameter name.
|
| |
|
|
|
|
|
| |
All option annotations, which uses parenthesis are now
properly validated for number of values they expect
|
| |
|
| |
|
|
|
|
|
| |
Refactor and improve the warning messages for the transfer
warnings as well
|
| |
|
| |
|
|
|
|
|
|
|
| |
Don't parse annotations on lines such as:
'@param: This is a foo (eg, bar) else: x'
Where there's content between the last ) and the :.
|
|
|
|
|
|
| |
Warn for invalid annotations.
Change so that custom attributes have to use the annotation
keyword.
|
|
|
|
|
|
|
| |
Add $(top_builddir)/gir to the include path, like we do in
Makefile.introspection.
https://bugzilla.gnome.org/show_bug.cgi?id=630160
|
|
|
|
|
| |
Try a bit harder to find the block where the type resolving
errors originate from
|
|
|
|
|
| |
Send in block postions so we can get accurate line numbers
for warnings emitted from this class.
|
| |
|
|
|
|
| |
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=594125
|
| |
|
| |
|
|
|
|
|
|
|
| |
For that we also need to read the annotations for foreign structs
before guessing the transfer mode of return values.
https://bugzilla.gnome.org/show_bug.cgi?id=629188
|
|
|
|
|
|
| |
Allow varargs "..." to be documented without warning
https://bugzilla.gnome.org/show_bug.cgi?id=629759
|
|
|
|
|
|
|
| |
Warn when using an annotation which will end up as
unresolved.
https://bugzilla.gnome.org/show_bug.cgi?id=629004
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=629708
|
|
|
|
| |
Instead just take them in the order they are in the file
|
|
|
|
| |
It makes it a little less confusing reading the error messages
|
|
|
|
|
|
|
| |
We weren't doing this consistently, which broke nsname != cprefix
cases.
https://bugzilla.gnome.org/show_bug.cgi?id=629683
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=629359
|
|
|
|
|
|
|
|
| |
* Explicitly check for ast.Alias in annotation pass
* Add "generic" attribs handling for aliases like docs, introspectable=0
etc.
https://bugzilla.gnome.org/show_bug.cgi?id=629668
|
|
|
|
|
| |
Our Type creation from GType names didn't know how to handle
the GObject boxeds for GHashTable, GArray etc.
|
|
|
|
|
|
|
|
| |
The "c_name" is really a fallback; use "ctype" if available which
matches the C structure name.
This fixes scanning at least TelepathyGLib where the namespace is
different from the C prefix "Tp".
|
|
|
|
| |
Similar to TelepathyGlib.
|
|
|
|
| |
The gir name got renamed, update the rules to reflect that
|
|
|
|
| |
So they are removed during uninstall
|
|
|
|
| |
Since it sets the PYTHONPATH properly
|
|
|
|
| |
Instead use xxxdir + xxx_DATA which uninstalls correctly
|
| |
|
|
|
|
| |
So make dist passes again
|
| |
|
| |
|
|
|
|
|
| |
Multiple modules have '_' prefixed symbols in "public" headers
meaning "don't use this in your app".
|
|
|
|
|
| |
Typically these contain reserved callbacks; in any case we take
a leading underscore to mean 'private'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was a stupid abstraction split, we only support GObject.
* Clean up how we handle c:type - we only set it if we've actually
seen a corresponding structure.
* Add a warning if we don't see the structure typedef for an
interface, since that's pretty bogus. (And fix regress.h to have
one)
* Rename the "type_name" attribute internally to "gtype_name"
for clarity.
|
|
|
|
|
| |
If the first parameter matches the origin, don't scan as a constructor.
Happened in practice with meta_screen_append_new_workspace from mutter.
|
|
|
|
| |
See test case, hit in practice in gnome-shell.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of handling constants by lower-casing them, stripping the
lower-case prefix and upper-casing them again, leave them in the
original case and check against upper-cased versions of
namespace.symbol_prefixes.
Wwe detect what version to test against by looking at the first character
of the identifier, so we assume that --symbol-prefix options are always
in lowercase. If that needs to be relaxed, then we'll have to check all
symbols against both sets of prefixes.
Add tests for constants to Regress.h and fix tests/warn/unresolved-type.h
for a warning message that improved with this change.
https://bugzilla.gnome.org/show_bug.cgi?id=629007
|
|
|
|
|
| |
For legacy library author convenience, propagate (skip) on e.g.
structures to all callables which use them.
|
| |
|
| |
|
|
|
|
| |
This reverts commit 144cb10d51888a9565721088d2b61794468742e9.
|
|
|
|
|
| |
Static method pairing changes the API and should be futher
discussed in https://bugzilla.gnome.org/show_bug.cgi?id=572408
|
|
|
|
|
|
| |
To avoid undefined references to gi_cclosure_marshal_generic
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=625995
|