summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: Pass address-sanitizer options when building GObject scannerwip/smcv/qsort-null-testSimon McVittie2020-08-211-0/+19
| | | | | | | | 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>
* Updated Czech help translationMarek Černocký2020-03-081-564/+438
|
* Merge branch 'fix_es' into 'master'Daniel Mustieles García2020-03-071-2/+2
|\ | | | | | | | | | | | | es: do not translate '<_:example-1/>' Closes #115 See merge request GNOME/gtk-doc!46
| * es: do not translate '<_:example-1/>'Christian Rauch2020-03-071-2/+2
|/
* Fix broken markup in Gujarati help translationAndre Klapper2020-03-071-1/+1
|
* Updated Spanish translationDaniel Mustieles2020-02-121-6902/+6853
|
* Fix broken markup in Spanish help translationAndre Klapper2020-02-011-6902/+6902
| | | | Fixes #115
* Merge branch 'DeprecatedStructMember' into 'master'Stefan Sauer2020-01-272-2/+27
|\ | | | | | | | | scan: support deprecated struct members See merge request GNOME/gtk-doc!43
| * scan: support deprecated struct membersJason Crain2020-01-262-2/+27
|/ | | | | | | | | | | | | | | | | | 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.
* Merge branch 'gnuc_ignore_deprecation' into 'master'Stefan Sauer2020-01-252-14/+23
|\ | | | | | | | | Fixes to build latest glib See merge request GNOME/gtk-doc!42
| * Ignore failing test swith meson for nowXavier Claessens2020-01-031-1/+1
| |
| * typedef can be followed by decoratorXavier Claessens2020-01-031-13/+17
| |
| * Skip G_GNUC_(BEGIN|END)_IGNORE_DEPRECATIONS linesXavier Claessens2020-01-021-0/+5
| | | | | | | | | | For some reason, glib has to put empty line before and after each of these lines otherwise the symbol following it is undeclared.
* | Updated Spanish translationDaniel Mustieles2020-01-231-58/+103
| |
* | Updated Spanish translationDaniel Mustieles2020-01-221-26/+39
|/
* Merge branch 'wip/swilmet/scangobj-fix-warnings' into 'master'Stefan Sauer2019-12-231-3/+3
|\ | | | | | | | | scangobj: fix -Wdouble-promotion warnings See merge request GNOME/gtk-doc!41
| * scangobj: fix -Wdouble-promotion warningsSébastien Wilmet2019-12-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'python3-dev' into 'master'Stefan Sauer2019-12-231-3/+0
|\ \ | | | | | | | | | | | | Remove unused libpython3 dependency See merge request GNOME/gtk-doc!39
| * | Remove unused libpython3 dependencyXavier Claessens2019-12-131-3/+0
| |/ | | | | | | | | | | 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.
* | mkdb: ensure deterministic index files.Stefan Sauer2019-12-231-1/+1
| |
* | mkhtml2: add a fake resolver to improve speedStefan Sauer2019-12-231-4/+18
| | | | | | | | | | This is a workaround for missing dtd caching in libxml2 that turns into extrem overhead for documents with many xincludes.
* | Merge branch 'reproducible-output-946331' into 'master'Stefan Sauer2019-12-231-1/+1
|\ \ | | | | | | | | | | | | Please make the output reproducible See merge request GNOME/gtk-doc!37
| * | Please make the output reproducibleChris Lamb2019-12-071-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge branch 'tests' into 'master'Stefan Sauer2019-12-234-18/+22
|\ \ | |/ |/| | | | | meson: Fix running tests See merge request GNOME/gtk-doc!40
| * meson: Fix running testsXavier Claessens2019-12-234-18/+22
|/
* Updated Spanish translationDaniel Mustieles2019-10-021-416/+448
|
* Update Brazilian Portuguese translationRafael Fontenelle2019-09-081-425/+501
|
* mkdb: only output object_index.sgml if not emptyStefan Sauer2019-09-083-20/+26
| | | | | Only output the index if the library provices gobjects. We already do this for the tree_index.sgml.
* tests: fix the suppression codeStefan Sauer2019-09-081-5/+5
| | | | I could not get multi-line alternatives to work.
* mkhtml2: create output-dir if it does not existStefan Sauer2019-09-051-0/+2
|
* mkhtml: add --output-dir paramStefan Sauer2019-09-052-1/+5
| | | | This gives build systems more flexibility.
* mkdb: restore the --output-dir parameterStefan Sauer2019-09-051-1/+1
| | | | This was not used since we converted to python.
* Update Swedish translationAnders Jonsson2019-08-181-396/+465
|
* README: mention dblatex dependecy for pdf generationStefan Sauer2019-08-161-0/+5
|
* tests: skip pdf check if no pdf tools are installedStefan Sauer2019-08-161-4/+7
| | | | Fixes #87
* tests: calculate time differences with date instead of bcStefan Sauer2019-08-162-9/+8
| | | | Fixes #99
* config: fix regression from last merge.Stefan Sauer2019-08-161-1/+2
| | | | | Replace the '*' import with what we use and correctly reference the fields. Fixes #101
* HACKING: streamline release process moreStefan Sauer2019-08-161-26/+28
|
* tests: fix one meson test where we passed the wrong html dirStefan Sauer2019-08-161-2/+2
| | | | See #97
* Merge branch 'uninstalled' into 'master'Stefan Sauer2019-08-1520-65/+108
|\ | | | | | | | | Meson: Fix running tools uninstalled See merge request GNOME/gtk-doc!36
| * Meson: Fix running tools uninstalledXavier Claessens2019-08-1520-65/+108
|/ | | | | This fix getting directories when builddir!=srcdir which is always the case with Meson.
* release: bump versions and back to developmentStefan Sauer2019-08-154-2/+13
|
* release: update news and date in manualGTK_DOC_1_32Stefan Sauer2019-08-154-5/+31
|
* Makefile.am: add workarounds for 'make distcheck'Stefan Sauer2019-08-151-2/+11
| | | | This fixes an automake regression wrt pycache files.
* mkdb: extract a last db templateStefan Sauer2019-08-151-35/+35
| | | | | This will further change colnames in the generated db a bit, with no visual impact though.
* Also bump version in meson.buildMichael Catanzaro2019-08-061-1/+1
|
* Prepare 1.31GTK_DOC_1_31Michael Catanzaro2019-08-052-3/+3
|
* mkdb: extract another text stripping helperStefan Sauer2019-07-291-18/+31
|
* mkdb: extract common formatting codeStefan Sauer2019-07-291-126/+83
| | | | Unclutter OutputDB() by extracting xml templates and parametizing them.
* ci: bump meson deps in dockerfileStefan Sauer2019-07-283-4/+4
|