3ffa33825b
Build the API references with the generated GIR data
...
Gate the API reference on the availability of the introspection data as
well, so we don't accidentally try and generate the documentation
without a description of our API.
2023-10-23 11:26:53 +01:00
b9c90c3a3e
GApplicationCommandLine: add print[err]_literal()
...
GJS (and likely other language bindigs relying on introspection)
can't use `g_application_command_line_print()`/`_printerr()`.
2023-10-18 01:20:23 +03:00
95717eacea
docs: Move the signal SECTION
...
Move the content to the new signals.md file.
Helps: #3037
2023-10-16 23:34:35 +01:00
f3eac349f9
docs: Move the GType SECTION
...
Move the contents to the new types.md files.
Helps: #3037
2023-10-16 23:34:29 +01:00
027f4b4c73
Cleanup and add content to glib debugging using gdb scripts
2023-10-16 08:50:39 +00:00
bc4ba05d34
gstrvbuilder: Add g_strv_builder_take
...
g_strv_builder_take() allows to transfer ownership of the passed in
string.
This can be useful to avoid additional allocations when using functions
that transfer ownership to the caller like g_strdup_printf().
The testcase uses g_strv_builder_take and g_strv_builder_add to demo
that calls can be mixed.
2023-10-15 15:45:58 +02:00
f27af99233
docs: Move the unicode SECTION
...
Move the content to the new unicode.md file.
Helps: #3037
2023-10-11 17:38:31 +01:00
97cb9fa220
docs: Move the refstring SECTION
...
Move the contents to the data-structures.md file.
Helps: #3037
2023-10-11 17:38:30 +01:00
8164220213
docs: Move the sequence SECTION
...
Add the contents to the data-structures.md file.
Helps: #3037
2023-10-11 17:38:30 +01:00
c226088028
docs: Move the GNode SECTION
...
Move the contents to the data-structures.md file.
Helps: #3037
2023-10-11 17:38:30 +01:00
2191c6024a
docs: Move the tree SECTION
...
Move the content to the new data-structures.md file.
Helps: #3037
2023-10-11 17:38:30 +01:00
0ce33a6fee
docs: Move the asyncqueue SECTION
...
Move the contents to the new data-structures.md file.
Helps: #3037
2023-10-11 17:38:30 +01:00
25aeddd2a7
docs: Move the queue SECTION
...
Add the content to the new data-structures.md file.
Helps: #3037
2023-10-11 17:38:30 +01:00
f88d96e2ad
docs: Move the GHashTable SECTION
...
Move the content to the new data-structures.md file.
Helps: #3037
2023-10-11 17:38:30 +01:00
ed1bc3228b
docs: Move list SECTIONs
...
Move the content to the data-structures.md file.
Helps: #3037
2023-10-11 17:38:30 +01:00
09733b6531
docs: Move the array SECTIONs
...
Move the content to the new data-structures.md file.
Helps: #3037
2023-10-11 17:38:30 +01:00
ab066d4856
docs: Move the GOption SECTION
...
Move the content to the new goption.md file.
Helps: #3037
2023-10-11 14:01:29 +01:00
8b9c4cfb87
docs: Move the GMarkup SECTION
...
Move the content to the new markup.md file.
Helps: #3037
2023-10-11 14:01:29 +01:00
3d55be0b82
docs: Move the GObject tutorial to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
682e9c9f56
docs: Move migrating-gdbus.xml to Markdown
...
This copies the test code inline into the Markdown, which means it could
diverge from the test code which is compiled and run as part of the
tests. That needs improving, but that can happen in a subsequent commit.
Helps: #3037
2023-10-11 14:01:29 +01:00
e1d6168e5b
docs: Move the auto-cleanup documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
c2798e6c2a
docs: Move building documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
abf99f533f
docs: Move compiling documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
4784bb10b1
docs: Move the cross-compilation documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
057f4fa2a5
docs: Move GVariant Format Strings documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
5d80471d4b
docs: Move the GVariant Text Format documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
758c5de24e
docs: Move the ‘running GLib’ documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
7c5fc4eb26
docs: Move the GSlice documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
0d05b87b9f
docs: Move GObject concepts/intro to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
390d9a446d
docs: Move GModule documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
fc29022f0b
docs: Move GIO overview to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
c09f48bb28
docs: Move migrating-gnome-vfs.xml to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
221ba4e211
docs: Move migrating-gconf.xml to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
4411023462
docs: Move GValue documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
e298f1a078
docs: Move floating refs documentation to Markdown
...
And add some new sections on strategies for avoiding designing APIs
around floating refs.
Helps: #3037
2023-10-11 14:01:29 +01:00
58019515d6
docs: Move enum type documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
24e93078d3
docs: Move boxed type documentation to Markdown
...
And add some additional new content and examples.
Helps: #3037
2023-10-11 14:01:29 +01:00
1a090564d2
docs: Move GTest/test framework documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
d8b25ecda3
docs: Move GMainLoop documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
6c6337aa27
docs: Move macros documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
48c70b557e
docs: Move logging documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
7b954a8d15
docs: Move i18n documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
46eed6009b
docs: Move GError documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
a73d3d7b8f
docs: Move byte conversion macro documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:28 +01:00
9725c012b1
docs: Move character set conversion docs to Markdown
...
Helps: #3037
2023-10-11 14:01:28 +01:00
0b56387ad5
docs: Move GThread documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:28 +01:00
c3713e1b67
docs: Move GRcBox/GArcBox and refcounting docs to Markdown
...
Helps: #3037
2023-10-11 14:01:28 +01:00
6107f50cc7
build: Disable gtk-doc unit tests
...
As we start moving documentation over from gtk-doc to gi-docgen, the
gtk-doc coverage is going to go down and things are going to start
breaking. That’s OK; we don’t need to test it any more.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org >
Helps: #3037
2023-10-11 14:01:28 +01:00
39e9ef54be
docs: Add initial support for using gi-docgen for docs
...
The files here are copied from the docs-gtk-org
branch of gtk.
This adds gi-docgen to the CI Dockerfiles and ensures the new versions
(including the OS upgrades from the previous commit) are used during CI.
Helps: #3037
2023-10-11 14:01:28 +01:00
26c7b308ba
tests: Break out assert_fd_was_closed() into a header
...
Signed-off-by: Simon McVittie <smcv@collabora.com >
2023-10-09 18:44:38 +01:00