| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
This way we don't do this for each file.
|
|
|
|
|
| |
Add a bunch of tests for this.
Fixes #90
|
| |
|
| |
|
|
|
|
| |
Fixes #93
|
|
|
|
|
|
|
| |
This version is more generic and simpler too. The previous version did handle
cases where the first '{' was on the same or new lien differnetly.
Fixes #90
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
'86-gtkdoc-fixxref-script-fails-at-runtime-because-pygments-python3-module-is-not-found' into 'master'
meson: Check for required Python 3 modules
Closes #86
See merge request GNOME/gtk-doc!35
|
| |
| |
| |
| |
| |
| |
| | |
and also port to the new Meson Python module:
https://mesonbuild.com/Python-module.html
Fixes #86
|
|\ \
| | |
| | |
| | |
| | | |
Add support for GLIB_DEPRECATED_ decorators
See merge request GNOME/gtk-doc!32
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
GLib wraps its name in parenthesis to avoid macro expansion. A few other
functions does the same pattern in glib.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
GLib recently introduced new kind of deprecation macros, to annotate
types and enum values.
For example: `typedef _MyType MyType DEPRECATED_FOR(MyOtherType);`
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
--ignore-decorator takes a regex such as `DEPRECATED_FOR\(.*\)` but that
leads to escaping nightmares and doesn't work when using Meson. The
ninja backend translates every `\` to `/` otherwise it breaks paths on
Windows, it is a know bug in Meson's ninja backend that cannot (easily)
be fixed.
Workaround this by allowing `DEPRECATED_FOR()` syntax and internally
translate that to the proper regex. That's the only use-case I'm aware
of.
|
| |
| |
| |
| |
| |
| | |
This is essentially a revert of 070acc5.
Fixes #92
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
'wip/lantw/scangobj-reset-locale-environment-variables-before-running' into 'master'
scangobj: reset locale environment variables before running
See merge request GNOME/gtk-doc!31
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
GNU gettext runtime doesn't always honor the locale controlled by libc.
On non-glibc platforms, if per-thread locale isn't set, it may try to
read environment variables by itself in order to figure out the locale.
Therefore, even if setlocale is never called, gettext may still decide
to translate text based on environment variables, causing the content of
the documentation to be irreproducible because it depends on the
environment on the build machine. Furthermore, since setlocale isn't
called, LC_CTYPE defaults to C and non-ASCII characters coming from
translations get converted to question marks. The result is that the
documentation for GObject properties without gtk-doc comments becomes
unreadable because blurbs of properties are translated in a broken way.
To avoid gettext from doing unnecessary translation during building the
documentation, we should set LC_MESSAGES environment variable to C
before running the main program. LC_ALL is unset because it overrides
LC_MESSAGES. Doing so should be harmless because the program already
operates in C locale on systems using glibc.
|
| |
| |
| |
| |
| | |
Fixed one test and removed the other one as is was non-sense one. Add code
to handle the exception one level up.
|
| |
| |
| |
| | |
Fixes #90.
|
| |
| |
| |
| | |
Add more variants to debugs #90.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
ci: Use the docker registry
See merge request GNOME/gtk-doc!33
|
|/ /
| |
| |
| |
| |
| |
| | |
The CI currently rebuild from scratch 3 times a debian docker image. It
is much faster to upload a pre-built image.
This is a copy/paste of scripts from glib.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Show property owners
See merge request GNOME/gtk-doc!29
|
| |/
| |
| |
| |
| | |
This helps identify properties on pages with
multiple objects.
|
|\ \
| |/
|/|
| |
| | |
scangobj: Child properties are gone
See merge request GNOME/gtk-doc!28
|
|/
|
|
|
| |
If we are handling GTK >= 3.96.0, child properties
don't exist anymore, so don't try to introspect them.
|
|
|
|
| |
This makes us use one global variable less and simplifies the code.
|
|
|
|
| |
Fixes #83
|
|
|
|
|
|
|
|
|
|
|
| |
This is required for make dist-check and some distro-packages. But now
pick sensible permissions.
Revert "Revert "highlight: make style-file writable before appending""
This reverts commit 9467f121fb728866a2366df65805aea1a587ac7e.
See #84
|
| |
|
|
|
| |
This reverts commit f87317d0981e3a4711cd394834a67eb419d399fe
|
|
|
| |
This reverts commit 6ad3606155976ec7e246d02e39d21eb8bd4511b0
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Allow disabling the test suite
See merge request GNOME/gtk-doc!26
|
| |
| |
| |
| |
| |
| | |
The GTK-Doc test suite depends on GLib/GObject, which creates a circular
dependency between GLib and GTK-Doc. By adding an option to build
GTK-Doc without its test suite, we can break the circular dependency.
|
| |
| |
| |
| | |
The build uses features fro 0.50 and I don't know how to satisfy them for 0.48.
|
|/
|
|
| |
Fixes #79
|
| |
|
|
|
|
| |
We now use pygments in fixxref too.
|
|
|
|
| |
We dropped this already.
|
| |
|
|
|
|
| |
We now require this for fixxref as well.
|