| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This allows a Meson build with -Db_sanitize=address,undefined to
succeed (when combined with !52 to make the tests pass).
Reproduces: #125
Signed-off-by: Simon McVittie <smcv@debian.org>
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
es: do not translate '<_:example-1/>'
Closes #115
See merge request GNOME/gtk-doc!46
|
|/ |
|
| |
|
| |
|
|
|
|
| |
Fixes #115
|
|\
| |
| |
| |
| | |
scan: support deprecated struct members
See merge request GNOME/gtk-doc!43
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc allows deprecating members of structs. For example:
struct data {
int x G_GNUC_DEPRECATED_FOR(replacement);
};
However, this currently causes the entire struct to be marked as
deprecated and confuses mkdb because it doesn't understand the
G_GNUC_DEPRECATED_FOR symbol.
Fix this by having the whole struct only be marked as deprecated if the
'_DEPRECATED' is after the closing bracket of the struct, similar to how
it already does for enums, and having scan automatically remove all
G_GNUC_* decorators from struct members, similar to how it already does
for functions.
|
|\
| |
| |
| |
| | |
Fixes to build latest glib
See merge request GNOME/gtk-doc!42
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
For some reason, glib has to put empty line before and after each of
these lines otherwise the symbol following it is undeclared.
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
scangobj: fix -Wdouble-promotion warnings
See merge request GNOME/gtk-doc!41
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If a project passes the -Wdouble-promotion CFLAG when compiling the
generated *scan.c file, then it emits some warnings. For example in the
Devhelp project:
```
Building documentation for devhelp-3
devhelp-3-scan.c: In function ‘describe_double_constant’:
devhelp-3-scan.c:595:39: warning: implicit conversion from ‘float’ to
‘gdouble’ {aka ‘double’} to match other operand of binary expression
[-Wdouble-promotion]
595 | #define GTKDOC_COMPARE_FLOAT(x, y) (x <= y && x >= y
| ^~
devhelp-3-scan.c:608:12: note: in expansion of macro ‘GTKDOC_COMPARE_FLOAT’
608 | else if (GTKDOC_COMPARE_FLOAT (value, G_MAXFLOAT))
| ^~~~~~~~~~~~~~~~~~~~
[...]
```
An example where the -Wdouble-promotion CFLAG is used is with the
AX_COMPILER_FLAGS Autotools macro, part of autoconf-archive.
-----
In the diff, the `value` variable is of type gdouble.
|
|\ \
| | |
| | |
| | |
| | | |
Remove unused libpython3 dependency
See merge request GNOME/gtk-doc!39
|
| |/
| |
| |
| |
| |
| | |
gtk-doc only requires the interpreter, and Meson itself already depends
on python3 >= 3.5, so that check we useless and breaks build on CI
docker that doesn't contain libpython3-dev.
|
| | |
|
| |
| |
| |
| |
| | |
This is a workaround for missing dtd caching in libxml2 that turns into
extrem overhead for documents with many xincludes.
|
|\ \
| | |
| | |
| | |
| | | |
Please make the output reproducible
See merge request GNOME/gtk-doc!37
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Whilst working on the Reproducible Builds effort [0] we noticed that
gtk-doc generates unreproducible output.
There will likely be more issues but this one is at least fairly
simple in that it iterates over a set structure when printing
some .devhelp2 headers, for example:
│ │ │ │ - <sub name="Index of new API in 0.99.5" link="api-index-0-99-5.html"/>
│ │ │ │ - <sub name="Index of new API in 0.9.22" link="api-index-0-9-22.html"/>
│ │ │ │ <sub name="Index of new API in 0.9.0" link="api-index-0-9-0.html"/>
│ │ │ │ - <sub name="Index of new API in 0.9.1" link="api-index-0-9-1.html"/>
│ │ │ │ + <sub name="Index of new API in 0.9.19" link="api-index-0-9-19.html"/>
│ │ │ │ <sub name="Index of new API in 0.99.8" link="api-index-0-99-8.html"/>
│ │ │ │ + <sub name="Index of new API in 0.99.5" link="api-index-0-99-5.html"/>
│ │ │ │ <sub name="Index of new API in 1.0" link="api-index-1-0.html"/>
│ │ │ │ - <sub name="Index of new API in 0.9.19" link="api-index-0-9-19.html"/>
│ │ │ │ <sub name="Index of new API in 0.9.2" link="api-index-0-9-2.html"/>
│ │ │ │ + <sub name="Index of new API in 0.9.1" link="api-index-0-9-1.html"/>
│ │ │ │ + <sub name="Index of new API in 0.9.22" link="api-index-0-9-22.html"/>
This was originally filed in Debian as #946311 [1].
[0] https://reproducible-builds.org/
[1] https://bugs.debian.org/946331
Signed-off-by: Chris Lamb <lamby@debian.org>
|
|\ \
| |/
|/|
| |
| | |
meson: Fix running tests
See merge request GNOME/gtk-doc!40
|
|/ |
|
| |
|
| |
|
|
|
|
|
| |
Only output the index if the library provices gobjects. We already do this
for the tree_index.sgml.
|
|
|
|
| |
I could not get multi-line alternatives to work.
|
| |
|
|
|
|
| |
This gives build systems more flexibility.
|
|
|
|
| |
This was not used since we converted to python.
|
| |
|
| |
|
|
|
|
| |
Fixes #87
|
|
|
|
| |
Fixes #99
|
|
|
|
|
| |
Replace the '*' import with what we use and correctly reference the fields.
Fixes #101
|
| |
|
|
|
|
| |
See #97
|
|\
| |
| |
| |
| | |
Meson: Fix running tools uninstalled
See merge request GNOME/gtk-doc!36
|
|/
|
|
|
| |
This fix getting directories when builddir!=srcdir which is always the
case with Meson.
|
| |
|
| |
|
|
|
|
| |
This fixes an automake regression wrt pycache files.
|
|
|
|
|
| |
This will further change colnames in the generated db a bit, with no visual
impact though.
|
| |
|
| |
|
| |
|
|
|
|
| |
Unclutter OutputDB() by extracting xml templates and parametizing them.
|
| |
|