Commit Graph

24626 Commits

Author SHA1 Message Date
Loic Le Page
2885cbd737 Fix global variable name hidden by local variables in glib/tests/option-context.c 2022-02-21 12:42:22 +01:00
Loic Le Page
fb939a0029 Fix redefinition of local variable in glib/tests/sequence.c 2022-02-21 12:42:22 +01:00
Loic Le Page
5804fa1680 Fix global variable name hidden by local variables in glib/tests/spawn-multithreaded.c 2022-02-21 12:42:22 +01:00
Loic Le Page
22b7182d2a Fix redefinition of local variable in glib/tests/strfuncs.c 2022-02-21 12:42:15 +01:00
Loïc Le Page
cbc3d65f6d Fix global variable name hidden by local variables in glib/tests/utf8-validate.c 2022-02-21 12:38:11 +01:00
Aurimas Černius
8f241c46b9 Updated Lithuanian translation 2022-02-20 15:07:02 +02:00
Philip Withnall
ae903744ee Merge branch 'environment-test-fixes' into 'main'
tests: Fix various small memory leaks

See merge request GNOME/glib!2509
2022-02-20 12:09:00 +00:00
Sebastian Dröge
53dc7e2d53 Merge branch 'document-main-priorities' into 'main'
gmain: Expand documentation about GSource priorities a little

See merge request GNOME/glib!2513
2022-02-20 12:06:24 +00:00
Philip Withnall
9ee583a387 gmain: Expand documentation about GSource priorities a little
Prompted by https://stackoverflow.com/q/71173668/2931197

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-02-20 11:44:09 +00:00
Philip Withnall
2bc1036f80 tests: Fix a memory leak in the mainloop test
The source needs to be removed from the `GMainContext` before being
unreffed, otherwise the main context and main loop will be kept around.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-02-20 10:43:26 +00:00
Philip Withnall
ba556e6d34 tests: Fix a memory leak in the keyfile test
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-02-20 10:43:26 +00:00
Philip Withnall
a389227fb9 tests: Fix a memory leak in the fileutils test
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-02-20 10:43:26 +00:00
Philip Withnall
c60a0a45de tests: Fix a memory leak in the tls-certificate test
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-02-20 10:43:26 +00:00
Philip Withnall
a4ce8399cd tests: Fix memory leaks in the g-file-info-filesystem-readonly test
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-02-20 10:43:26 +00:00
Philip Withnall
d007fdb079 tests: Fix a memory leak in the resources test
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-02-20 10:43:26 +00:00
Philip Withnall
9434e4a40c tests: Use g_assert_*() rather than g_assert() in resources.c
`g_assert()` is compiled out with `G_DISABLE_ASSERT`.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-02-20 10:43:26 +00:00
Philip Withnall
12a4fcdbed tests: Fix a leak in environment.c with undefined behaviour tests on
`g_environ_setenv()` and `g_environ_unsetenv()` were correctly returning
`NULL` when their preconditions failed (as the test is supposed to be
exercising). That overwrote the value of `env` without freeing it,
resulting in a leak.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-02-20 10:43:26 +00:00
Philip Withnall
cb18e6b969 Merge branch 'empty-argv' into 'main'
Various minor fixes for empty argv handling

See merge request GNOME/glib!2466
2022-02-20 09:36:41 +00:00
Jordi Mas
f61187428e Update Catalan translation 2022-02-20 08:58:58 +01:00
Emmanuele Bassi
056d0dc7f3 Merge branch 'doc-declare' into 'main'
doc: Extend a bit G_DECLARE_* documentation example

See merge request GNOME/glib!2512
2022-02-19 20:52:21 +00:00
Xavier Claessens
893ff61176 doc: Extend a bit G_DECLARE_* documentation example 2022-02-19 14:23:37 -05:00
Christian Kirbach
bccc99b5ac Update German translation
(cherry picked from commit 6fb1aaccbd)
2022-02-19 13:48:26 +00:00
Daniel Șerbănescu
ed51073305 Update Romanian translation
(cherry picked from commit 9df5e573a2)
2022-02-19 13:42:36 +00:00
Aleksandr Melman
99ac2634a6 Update Russian translation 2022-02-18 19:30:44 +00:00
Philip Withnall
a57c33fc1d Merge branch 'cleanup-warnings-split-3' into 'main'
Cleanup warnings split 3

See merge request GNOME/glib!2492
2022-02-18 13:45:42 +00:00
Philip Withnall
5ac86e21b3 Merge branch 'cleanup-warnings-split-2' into 'main'
Cleanup warnings split 2

See merge request GNOME/glib!2491
2022-02-18 13:39:25 +00:00
Philip Withnall
2801f7383a Merge branch 'ci-updates' into 'main'
ci: Drop custom dependency builds from installed-tests

See merge request GNOME/glib!2507
2022-02-18 12:07:10 +00:00
Philip Withnall
10e5c21102 Merge branch 'desktop-app-info-leak' into 'main'
gdesktopappinfo: Fix a leak when launching URIs over D-Bus

See merge request GNOME/glib!2510
2022-02-18 12:06:13 +00:00
Philip Withnall
e80569bd86 Merge branch 'iochannel-test' into 'main'
tests: Merge iochannel-test into io-channel tests in glib directory

See merge request GNOME/glib!2502
2022-02-18 10:39:43 +00:00
Philip Withnall
a60424b644 Merge branch 'backtrace-unused-variable' into 'main'
gbacktrace: Fix a set-but-not-used variable

See merge request GNOME/glib!2503
2022-02-18 10:39:22 +00:00
Philip Withnall
3583526c2d Merge branch 'disable-assert-fix' into 'main'
gresource-tool: Fix unused-but-set-variable warn with G_DISABLE_ASSERT

See merge request GNOME/glib!2506
2022-02-18 10:38:44 +00:00
Philip Withnall
5046dd8679 Merge branch 'fix-style-check' into 'main'
codegen: Reformat parser.py according to black

See merge request GNOME/glib!2508
2022-02-18 10:38:05 +00:00
Philip Withnall
f6aafcd028 gdesktopappinfo: Fix a leak when launching URIs over D-Bus
If any platform data is set, the temporary `GVariantDict` was being
leaked.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-02-18 10:35:10 +00:00
Philip Withnall
d551e81812 Merge branch 'fix-compile-resources-leak' into 'main'
glib-compile-resources: Fix a memory leak of the compiler option

See merge request GNOME/glib!2501
2022-02-18 10:34:25 +00:00
Philip Withnall
019aed7bc5 Merge branch 'cleanup-warnings-split-1' into 'main'
Cleanup warnings split 1

See merge request GNOME/glib!2490
2022-02-18 10:23:34 +00:00
Philip Withnall
2249da981a tests: Use g_assert_*() rather than g_assert() in environment.c
`g_assert()` is compiled out with `G_DISABLE_ASSERT`.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-02-18 10:18:40 +00:00
Philip Withnall
e30787d604 ci: Drop custom dependency builds from installed-tests
They were needed for `GMemoryMonitor` support. That was first included
in the gobject-introspection 1.63.2 release and the xdg-desktop-portal
1.5.4 release. The Fedora 33 image we’re using for CI has versions
1.66.1 and 1.8.1.

This should speed up the `installed-tests` CI jobs a bit.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-02-18 10:18:27 +00:00
Philip Withnall
51b707bdc6 Merge branch 'debugcontroller-test-fix' into 'main'
gdebugcontrollerdbus: Track pending tasks with weak refs

See merge request GNOME/glib!2504
2022-02-18 10:10:56 +00:00
Loic Le Page
800457e102 Fix non-initialized variable in glib/garray.c 2022-02-18 10:59:30 +01:00
Loic Le Page
112ad3d591 Fix too small array definition in glib/gconvert.c (no room for the '\0') 2022-02-18 10:59:30 +01:00
Loic Le Page
d5580edfa7 Fix non-initialized variable in glib/gdatetime.c 2022-02-18 10:59:30 +01:00
Loic Le Page
7304e4de17 Fix non-initialized variable in glib/giowin32.c 2022-02-18 10:59:30 +01:00
Loic Le Page
c118fd5e37 Fix non-initialized variable in glib/gmarkup.c 2022-02-18 10:59:30 +01:00
Loic Le Page
51e54f64c1 Fix global variable name hidden by local variables in glib/gslice.c 2022-02-18 10:53:35 +01:00
Loic Le Page
eaf37d63d0 Fix non-initialized variable in glib/gspawn-win32.c 2022-02-18 10:53:35 +01:00
Loic Le Page
499cb2cd1a Fix non-initialized variable and signed/unsigned mismatch in glib/gtimezone.c 2022-02-18 10:53:35 +01:00
Loic Le Page
e8761bb4df Fix non-initialized variable and signed/unsigned mismatch in glib/gunicollate.c 2022-02-18 10:53:35 +01:00
Loic Le Page
eb961b02d6 Fix too small array definition in glib/guri.c (no room for the '\0') 2022-02-18 10:52:39 +01:00
Loic Le Page
bdf1a0ba80 Fix non-initialized variable in glib/gutils.c 2022-02-18 10:52:39 +01:00
Loic Le Page
28fa4325a4 Fix non-initialized variable in glib/gvariant-parser.c 2022-02-18 10:52:38 +01:00