summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* scan: update comment after refactoringStefan Sauer2019-07-261-9/+9
|
* scan: extract function to init the scanner from optionsStefan Sauer2019-07-252-65/+86
| | | | This way we don't do this for each file.
* mkdb: fix skipping of inline function bodiesStefan Sauer2019-07-242-12/+97
| | | | | Add a bunch of tests for this. Fixes #90
* scan: extract block skipping to helper function to make it testableStefan Sauer2019-07-241-21/+37
|
* scan: turn old comment blobs into python docstringsStefan Sauer2019-07-241-28/+48
|
* mkdb: fix annotation docs for 'out callee-allocates'Stefan Sauer2019-07-231-1/+1
| | | | Fixes #93
* scan: rewrite brace skipping for inline functionsStefan Sauer2019-07-211-29/+18
| | | | | | | 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
* Merge branch ↵Stefan Sauer2019-07-181-3/+16
|\ | | | | | | | | | | | | | | | | '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
| * meson: Check for required Python 3 modulesNelson Benítez León2019-07-171-3/+16
| | | | | | | | | | | | | | and also port to the new Meson Python module: https://mesonbuild.com/Python-module.html Fixes #86
* | Merge branch 'glib-deprecated' into 'master'Xavier Claessens2019-07-176-15/+172
|\ \ | | | | | | | | | | | | Add support for GLIB_DEPRECATED_ decorators See merge request GNOME/gtk-doc!32
| * | Add scanner unit tests for deprecation decoratorsXavier Claessens2019-07-171-0/+67
| | |
| * | Fix parsing of g_set_object()Xavier Claessens2019-07-173-2/+19
| | | | | | | | | | | | | | | GLib wraps its name in parenthesis to avoid macro expansion. A few other functions does the same pattern in glib.
| * | Support type/enum deprecation decoratorsXavier Claessens2019-07-175-12/+85
| | | | | | | | | | | | | | | | | | | | | GLib recently introduced new kind of deprecation macros, to annotate types and enum values. For example: `typedef _MyType MyType DEPRECATED_FOR(MyOtherType);`
| * | scanner: avoid passing regex in command lineXavier Claessens2019-07-173-3/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | --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.
* | scan: enable having '_' as a public api in glibStefan Sauer2019-07-162-5/+8
| | | | | | | | | | | | This is essentially a revert of 070acc5. Fixes #92
* | Merge branch ↵Stefan Sauer2019-07-141-3/+7
|\ \ | | | | | | | | | | | | | | | | | | '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
| * | scangobj: reset locale environment variables before runningTing-Wei Lan2019-07-141-3/+7
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | scan: enable the new exceptionStefan Sauer2019-07-132-20/+21
| | | | | | | | | | Fixed one test and removed the other one as is was non-sense one. Add code to handle the exception one level up.
* | scan: fix a regression when scanning over inline functionsStefan Sauer2019-07-131-0/+9
| | | | | | | | Fixes #90.
* | tests/scan: add another test for internal inline functionsStefan Sauer2019-07-111-3/+12
| | | | | | | | Add more variants to debugs #90.
* | Update ci README.Stefan Sauer2019-07-111-7/+5
| |
* | Merge branch 'docker-ci' into 'master'Stefan Sauer2019-07-124-12/+202
|\ \ | | | | | | | | | | | | ci: Use the docker registry See merge request GNOME/gtk-doc!33
| * | ci: Use the docker registryXavier Claessens2019-07-094-12/+202
|/ / | | | | | | | | | | | | 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.
* | Updated Spanish translationDaniel Mustieles2019-07-021-407/+452
| |
* | Merge branch 'multiple-object-props' into 'master'Stefan Sauer2019-06-231-1/+3
|\ \ | | | | | | | | | | | | Show property owners See merge request GNOME/gtk-doc!29
| * | Show property ownersmultiple-object-propsMatthias Clasen2019-06-221-1/+3
| |/ | | | | | | | | This helps identify properties on pages with multiple objects.
* | Merge branch 'gtk4-fixes' into 'master'Stefan Sauer2019-06-231-0/+2
|\ \ | |/ |/| | | | | scangobj: Child properties are gone See merge request GNOME/gtk-doc!28
| * scangobj: Child properties are gonegtk4-fixesMatthias Clasen2019-06-221-0/+2
|/ | | | | If we are handling GTK >= 3.96.0, child properties don't exist anymore, so don't try to introspect them.
* mkdb: use a tuple for source code locationsStefan Sauer2019-05-311-44/+29
| | | | This makes us use one global variable less and simplifies the code.
* Update bug-report url.Stefan Sauer2019-05-271-1/+1
| | | | Fixes #83
* Reapply and fix previous change.Stefan Sauer2019-05-271-0/+2
| | | | | | | | | | | 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
* NEWS: strip some html entitiesStefan Sauer2019-05-271-1/+1
|
* Revert "highlight: make style-file writable before appending"Michael Catanzaro2019-05-211-2/+0
| | | This reverts commit f87317d0981e3a4711cd394834a67eb419d399fe
* Revert "highlight: my pylint happy"Michael Catanzaro2019-05-211-2/+1
| | | This reverts commit 6ad3606155976ec7e246d02e39d21eb8bd4511b0
* HACKING: update release procedureStefan Sauer2019-05-091-7/+7
|
* release: bump versions and back to developmentStefan Sauer2019-05-094-2/+13
|
* meson: Also bump version in meson.buildStefan Sauer2019-05-082-5/+5
|
* highlight: my pylint happyGTK_DOC_1_30Stefan Sauer2019-05-081-1/+2
|
* highlight: make style-file writable before appendingStefan Sauer2019-05-081-0/+2
|
* release: update news and date in manualStefan Sauer2019-05-083-8/+37
|
* scangobj: add a note for future cleanupsStefan Sauer2019-05-081-7/+20
|
* Merge branch 'tests-option' into 'master'Stefan Sauer2019-05-064-16/+23
|\ | | | | | | | | Allow disabling the test suite See merge request GNOME/gtk-doc!26
| * Allow disabling the test suiteEmmanuele Bassi2019-05-064-16/+23
| | | | | | | | | | | | 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.
* | meson: bump meson dep atleast to 0.48Stefan Sauer2019-05-051-1/+1
| | | | | | | | The build uses features fro 0.50 and I don't know how to satisfy them for 0.48.
* | docs: document hwo to hint the source code languageStefan Sauer2019-05-051-5/+9
|/ | | | Fixes #79
* highlight: add a trivial testStefan Sauer2019-04-163-1/+39
|
* meson: drop checks for highlightersStefan Sauer2019-04-162-29/+0
| | | | We now use pygments in fixxref too.
* README: remove SGML reference.Stefan Sauer2019-04-161-2/+0
| | | | We dropped this already.
* meson: also add highlight.py to meson.buildStefan Sauer2019-04-151-0/+1
|
* configure.ac: check for python3-pygmentsStefan Sauer2019-04-152-0/+61
| | | | We now require this for fixxref as well.