Luca Bacci
5400f4e128
glib/gmessages.c: Remove unused function
...
Fixes the follwing warning on CLang:
../glib/glib/gmessages.c:433:1: warning: unused function 'dowrite' [-Wunused-function]
dowrite (int fd,
^
2023-10-12 11:44:56 +02:00
Luca Bacci
f075db637a
glib/giowin32.c: Add G_GNUC_FALLTHROUGH annotation
...
Fixes the following warning on CLang:
../glib/glib/giowin32.c:1665:7: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
default:
^
../glib/glib/giowin32.c:1665:7: note: insert '__attribute__((fallthrough));' to silence this warning
default:
^
__attribute__((fallthrough));
../glib/glib/giowin32.c:1665:7: note: insert 'break;' to avoid fall-through
default:
^
break;
2023-10-12 11:44:48 +02:00
Luca Bacci
985cab7737
gio/gregistrysettingsbackend.c: Use unsigned data type for bitfields that are only one-bit wide
...
Fixes the following warnings on CLang:
../glib/gio/gregistrysettingsbackend.c:1503:32: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
child_item->readable = TRUE;
^ ~~~~
../glib/gio/gregistrysettingsbackend.c:1567:28: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
child_item->readable = TRUE;
^ ~~~~
2023-10-12 11:44:37 +02:00
Philip Withnall
20b0d292ca
Merge branch 'migrate-to-gi-docgen2' into 'main'
...
Switch to using gi-docgen for docs (batch 2)
See merge request GNOME/glib!3634
2023-10-11 16:54:27 +00:00
Matthias Clasen
f679a784d2
docs: Drop the GQuark SECTION
...
Move the content to the struct docs.
Helps: #3037
2023-10-11 17:38:31 +01:00
Matthias Clasen
5a2a0aeaf9
docs: Move the GStringChunk SECTION
...
Move the contents to the struct docs.
Helps: #3037
2023-10-11 17:38:31 +01:00
Matthias Clasen
57219c14a0
docs: Move the GTimer SECTION
...
Move the contents to the struct docs.
Helps: #3037
2023-10-11 17:38:31 +01:00
Matthias Clasen
a47bdb2638
docs: Move GRegex SECTION
...
Move the contents to the struct docs.
Helps: #3037
2023-10-11 17:38:31 +01:00
Matthias Clasen
45f6f43fc6
docs: Mark all GWakeup docs as private
...
This is not public API.
Helps: #3037
2023-10-11 17:38:31 +01:00
Matthias Clasen
ccfedf08cb
docs: Move the GPatternSpec SECTION
...
Move the contents to the struct docs.
Helps: #3037
2023-10-11 17:38:31 +01:00
Matthias Clasen
f2b1e4d936
docs: Move the GKeyFile SECTION
...
Move the contents to the struct docs.
Helps: #3037
2023-10-11 17:38:31 +01:00
Matthias Clasen
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
Matthias Clasen
6052639a5c
docs: Update Unicode version history
...
Unicode 14 and 15 were missing from this list.
2023-10-11 17:38:31 +01:00
Matthias Clasen
55a844a465
docs: Move the GDate SECTION
...
Move the contents to the struct docs.
Helps: #3037
2023-10-11 17:38:31 +01:00
Matthias Clasen
1dae4fc618
docs: Move the GPathBuf SECTION
...
Move the contents to the struct docs.
Helps: #3037
2023-10-11 17:38:31 +01:00
Matthias Clasen
be9a463a10
docs: Move the GStrvBuilder SECTION
...
Move the contents to the struct docs.
Helps: #3037
2023-10-11 17:38:31 +01:00
Matthias Clasen
c50f94e41e
docs: Move the GScanner SECTION
...
Not much here to begin with.
Helps: #3037
2023-10-11 17:38:31 +01:00
Matthias Clasen
5a415ee93f
docs: Move the GTimeZone SECTION
...
Move the contents to the struct docs.
Helps: #3037
2023-10-11 17:38:31 +01:00
Matthias Clasen
7b4d00e0a4
docs: Move GDateTime SECTION
...
Move the contents to the struct comment.
Helps: #3037
2023-10-11 17:38:30 +01:00
Matthias Clasen
7fd50be9d0
docs: Move bookmarkfile SECTION
...
Move the content to the struct docs.
Helps: #3037
2023-10-11 17:38:30 +01:00
Matthias Clasen
d028759903
docs: Drop the threadpool SECTION
...
Move the contents to the GThreadPool struct docs.
Helps: #3037
2023-10-11 17:38:30 +01:00
Matthias Clasen
2e47610560
docs: Drop the GString SECTION
...
Move the contents to the GString struct docs.
Helps: #3037
2023-10-11 17:38:30 +01:00
Matthias Clasen
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
Matthias Clasen
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
Matthias Clasen
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
Matthias Clasen
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
Matthias Clasen
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
Matthias Clasen
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
Matthias Clasen
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
Matthias Clasen
ed1bc3228b
docs: Move list SECTIONs
...
Move the content to the data-structures.md file.
Helps: #3037
2023-10-11 17:38:30 +01:00
Matthias Clasen
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
Philip Withnall
fd7396ee29
ci: Add an additional git config to avoid permissions warnings
...
And tidy up the existing one for consistency.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2023-10-11 17:38:30 +01:00
Philip Withnall
d96695fef9
fixup! ci: Upgrade CI images to the new oldest-supported OS versions
...
This was accidentally missed out of the above commit, due to pushing
a new version of the image to test, without also pushing the git branch.
2023-10-11 16:34:20 +01:00
Philip Withnall
c140f83922
Merge branch 'migrate-to-gi-docgen' into 'main'
...
Switch to using gi-docgen for docs (batch 1)
See merge request GNOME/glib!3591
2023-10-11 15:21:10 +00:00
Philip Withnall
eed0b26de3
Merge branch 'no-enums-in-bitfields' into 'main'
...
Stop using enums in bitfields
See merge request GNOME/glib!3632
2023-10-11 13:21:02 +00:00
Matthias Clasen
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
Matthias Clasen
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
Matthias Clasen
3d55be0b82
docs: Move the GObject tutorial to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
Matthias Clasen
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
Matthias Clasen
e1d6168e5b
docs: Move the auto-cleanup documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
Matthias Clasen
c2798e6c2a
docs: Move building documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
Matthias Clasen
abf99f533f
docs: Move compiling documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
Matthias Clasen
4784bb10b1
docs: Move the cross-compilation documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
Matthias Clasen
057f4fa2a5
docs: Move GVariant Format Strings documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
Matthias Clasen
5d80471d4b
docs: Move the GVariant Text Format documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
Matthias Clasen
758c5de24e
docs: Move the ‘running GLib’ documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
Matthias Clasen
7c5fc4eb26
docs: Move the GSlice documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
Matthias Clasen
0d05b87b9f
docs: Move GObject concepts/intro to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
Matthias Clasen
390d9a446d
docs: Move GModule documentation to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00
Matthias Clasen
fc29022f0b
docs: Move GIO overview to Markdown
...
Helps: #3037
2023-10-11 14:01:29 +01:00