This is probably not ready yet, but open for review. The new script probably needs some more cleanup but since I'm not sure anyone is interested in reviewing ruby code I decided to PR'ify.
Description: This PR does some prep work, then enables generating xml output from doxygen, and lastly generate gtkdoc'ized headers from the xml output. The gtkdoc'ized headers in turn are input to g-ir-scanner and g-ir-compile but that's not port of the PR yet (but I have it working on my side).
If we decide to not ship the actual .gir and .typelib files for gobject-introspection yet, then we should at least ship the gtkdoc headers so that I can use it to generate .gir and .typelib on my own in my plugin for now.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/890
-- Commit Summary --
* doxygen: generate xml too in preparation for gtkdoc generation
* doxygen: various doxygen-related fixes in preparation for gtkdoc generation
* api: add script to generate {geany,geany-scintilla}-gtkdoc.h
-- File Changes --
M .gitignore (1)
M configure.ac (1)
M doc/Doxyfile.in (16)
M doc/Makefile.am (40)
M doc/pluginsymbols.c (4)
M m4/geany-docutils.m4 (16)
A scripts/gen-api-gtkdoc.rb (490)
M src/document.c (18)
M src/editor.c (2)
M src/editor.h (2)
M src/encodingsprivate.h (6)
M src/filetypes.c (19)
M src/filetypes.h (3)
M src/keybindings.c (10)
M src/plugindata.h (4)
M src/pluginutils.c (16)
M src/spawn.c (1)
M src/stash.c (2)
M src/ui_utils.c (29)
M src/utils.c (15)
M tagmanager/src/tm_workspace.c (4)
-- Patch Links --
https://github.com/geany/geany/pull/890.patchhttps://github.com/geany/geany/pull/890.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/890
The syntax highlighter does not recognize multi-line comments in Ruby and highlights the comment, as if it were executable code. Example
=begin
......
for class
......
=end
_for_ and _class_ are colored like reserved words.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/927