| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
anytree isn't currently available in Debian or Ubuntu, and seems like
a lot of code just to get a tree data structure. Reimplement just the
bits we need, with a compatible API.
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|\
| |
| |
| |
| | |
Run tests under Meson again
See merge request GNOME/gtk-doc!52
|
| |
| |
| |
| | |
This reverts commit 1f0a7303b5158f811cea29fedd0832d333367deb.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Two tests rely on symbols in <SUBSECTION Private> and
<SUBSECTION Standard> being ignored. The Autotools build automatically
copies -sections.txt into the build directory where gtk-doc will find
it, but the Meson build does not, resulting in gtk-doc generating a
new -sections.txt that does not know which symbols to ignore, and
complaining that the private symbols are now undocumented.
Signed-off-by: Simon McVittie <smcv@debian.org>
|
| |
| |
| |
| |
| |
| | |
Otherwise tests will fail when we can't load external entities from it.
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|\ \
| |/
|/|
| |
| | |
Install the same files with Meson as with Autotools
See merge request GNOME/gtk-doc!48
|
| |
| |
| |
| | |
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|/
|
|
|
|
|
| |
Previously, these were installed when building with Autotools but not
when building with Meson.
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.
|
| |
|
| |
|