| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This fix getting directories when builddir!=srcdir which is always the
case with Meson.
|
|
|
|
| |
Use the 'required' flags for mandatory args. Drop some dest flags where not needed.
|
|
|
|
|
| |
Like before in perl one can set this envar to get verbose log output. The output
is meant for developers.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=780789
|
| |
|
| |
|
|
|
|
| |
Avoids needless rebuilds when people use --rebuild-sections.
|
|
|
|
|
|
| |
As discussed in #753052, the special case for '_' is not very useful. The '_'
macro is not part of the library API anyway. Further this is inconsitent w.r.t
the _N() macros and others. Hence remove the special case.
|
| |
|
|
|
|
| |
Sort symbols by name before printing them to the decl file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The regexp /(void|)/ was apparently trying to look for "(void)" or "()",
but in fact, the parens here were only acting as (redundant) grouping,
so the expression would match any string containing either "void" or "",
which is every string.
It turns out that we don't want to look for parens anyway, since they
are already stripped out above. We do want to look for exactly "void"
or "", however, so add ^ and $.
Unfortunately, some code above also replaces all whitespace surrounding
newlines with a single space character, and a trailing newline is left
at the end of the declaration by another regular expression above,
resulting in seeing "void " at this point. Fix that expression up to
also clean up the newline at the end, by adding /s as a regexp flag.
This fixes the inappropriate matching of non-void functions, such as
g_io_extension_get_type().
https://bugzilla.gnome.org/show_bug.cgi?id=746118
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=743879
|
|
|
|
|
| |
Instead of allowing none or one, allow any number of decorator matches at the end of prototypes.
Fixes #741941
|
|
|
|
|
|
|
| |
GParamFlags should not be declared deprecated just because it has a
value called G_PARAM_DEPRECATED.
https://bugzilla.gnome.org/show_bug.cgi?id=730658
|
|
|
|
|
|
| |
These should not be automatically deprecated.
https://bugzilla.gnome.org/show_bug.cgi?id=731417
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=657444
|
|
|
|
| |
While /o is not so much recommened, we're still using it. Lets be atleast consitent.
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
> Use of uninitialized value $6 in concatenation (.) or string at
> /opt/gnome3/build/bin/gtkdoc-scan line 552, <INPUT> line X.
This was caused by re-using the numbered match variables from one regexp
after running another regexp.
https://bugzilla.gnome.org/show_bug.cgi?id=724002
|
|
|
|
| |
Join the prefix + type name to make the code easier to read.
|
|
|
|
|
| |
We track which symbols are docuemnted in the headers and use that to place gobject related
entries in the appropriate subsection.
|
|
|
|
| |
Fix detecting global exported variables.
|
|
|
|
|
|
|
| |
With 0.1 bump whenever we see _DEPRECATED, we can now enter
the nesting calculation with a counter value that is between
0 and 1. Therefore, change the checks to look for >=1 instead
of >0. This fixes parsing of an #ifdef in gtkstock.h.
|
|
|
|
|
|
|
|
|
|
|
| |
If we see something that looks like a macro for an attribute-based
deprecation (ie: some string matching /_DEPRECATED/) then mark the next
single declaration as <DEPRECATED/> in the -decl.txt. This avoids the
warning for missing deprecation guards.
Add Deprecated: tags to the doc-blobs of the existing tests to verify
that we don't get the warnings.
Fixes: #624001
|
|
|
|
|
|
|
|
| |
Remove the \b after the IGNORE_DECORATORS regexp to allow passing a
decorator containing parentheses like in deprecation macros such as
G_DEPRECATED_FOR().
https://bugzilla.gnome.org/show_bug.cgi?id=711598
|
|
|
|
|
|
|
|
| |
Previously, adding "SomeSymbol" using AddSymbolToList() didn't work
if <TITLE>SomeSymbol</TITLE> was already there, due to regexp in
AddSymbolToList. I fixed the order, rather than the regexp.
https://bugzilla.gnome.org/show_bug.cgi?id=705633
|
| |
|
|
|
|
|
| |
Developers can arrange symbols by shuffling them inside the header file.
Fixes #676685.
|
|
|
|
|
|
|
|
|
|
| |
gtk-doc was explicitly ignoring only G_GNUC_*, which is good enough
for G_GNUC_MALLOC, G_GNUC_PRINTF etc. But for deprecation annotations,
we want to be able to change these on a per-module basis, so we
need to be able to wrap G_GNUC_DEPRECATED in, say, a GTK_DEPRECATED
macro. And it would be good if gtk-doc would not stumble over it.
https://bugzilla.gnome.org/show_bug.cgi?id=624001
|
| |
|
| |
|
|
|
|
|
| |
Run code that detects a gtype and moves the standard symbols to the standard
section in a loop to e.g. handle enums defined in the same header.
|
|
|
|
| |
The last commit that added sorting also added an extran blank line.
|
|
|
|
| |
Sort the section and the symbols with the section.
|
|
|
|
| |
Improve the parser to handle more type variants. Add a test. Fixes #656946
|
|
|
|
| |
Don't drop type details in gtkdoc-mkdb. Improve the layout and add more tests.
|
|
|
|
|
| |
An extern of the form "extern const type const name" was not recognised. Add a
test for this as well. Fixes #656773
|
|
|
|
| |
Eliminate groups of braces on the same line.
|
|
|
|
| |
Fix preliminary ending of structs/unions. Add a test.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Aparently ignore-headers can be used to skip whole dirs as well.
|
| |
|
| |
|
|
|
|
|
| |
This unfortunately does not work yet. If a header has multiple different
declarations of a symbol, we would like to only use the first.
|
|
|
|
|
| |
Allow to use #ifndef __GTK_DOC_IGNORE__ to mark unparseable code.
Fixes #512565.
|
|
|
|
|
|
| |
We need to fully parse them, but omit them from the docs. We did that for
macros, but we also need to handle functions that way. Use an extra flag-var
instead of extra '-skip' states. Add tests.
|
|
|
|
| |
Also fix the test case - G_INLINE_FUNC != static inline
|