- 22 Mar, 2022 1 commit
-
-
Benjamin Berg authored
Try to move the spawned executable into its own systemd scope. To avoid possible race conditions and ensure proper accounting, we delay the execution of the real command until after the DBus call to systemd has finished. From the two approaches we can take here, this is better in the sense that we have a child that the API consumer can watch. API consumers should not be doing this, however, gnome-session needs to watch children during session startup. Until gnome-session is fixed, we will not be able to change this. The alternative approach is to delegate launching itself to systemd by creating a transient .service unit instead. This is cleaner and has e.g. the advantage that systemd will take care of log redirection and similar issues.
-
- 21 Mar, 2022 8 commits
-
-
Benjamin Berg authored
Doing this is faster and also means that the mainloop will be iterated while the test is waiting for file creation. The mainloop iteration is necessary as GLib may need to wait for a DBus reply from systemd before the application is executed.
-
Philip Withnall authored
glib: Format GDateTime ISO8601 years as %C%y See merge request !2563
-
Carlos Garnacho authored
Poke near the limits (years 9 and 9990) to ensure these also result in a correct ISO8601 format.
-
Carlos Garnacho authored
The current use of %Y does not take into account that %Y will not pad the year with 0's, meanwhile ISO8601 does expect a full YYYY format for all dates. This breaks the formatting with dates prior to the year 1000. Split this into %C%y so 2-digit, 0-padded century and year are printed separately, this gives the expected YYYY format.
-
-
Philip Withnall authored
Various win32 tests skip & fixes See merge request !2540
-
Philip Withnall authored
Move unit test on g_basename() function to glib/tests/fileutils.c See merge request !2558
-
Philip Withnall authored
Move tests/relation-test.c to glib/tests/relation.c See merge request !2559
-
- 19 Mar, 2022 2 commits
-
-
Andre Klapper authored
-
-
- 18 Mar, 2022 8 commits
-
-
Sebastian Dröge authored
ci: Update Coverity, mingw and Android CI images to Fedora 34 See merge request !2560
-
Philip Withnall authored
gpowerprofilemonitor: Tweak wording of documentation to make more sense See merge request !2534
-
Philip Withnall authored
Don’t take the opportunity to add support for Android API 31 or update the version of the Android NDK we’re using to r23b, though, as I couldn’t quickly get that to work and ran out of time. Bumping the Fedora version will at least reduce our CI repository disk usage through sharing the base image. Signed-off-by:
Philip Withnall <pwithnall@endlessos.org> Helps: #2605
-
Philip Withnall authored
Signed-off-by:
Philip Withnall <pwithnall@endlessos.org>
-
Philip Withnall authored
Signed-off-by:
Philip Withnall <pwithnall@endlessos.org>
-
Sebastian Dröge authored
ci: Update the Fedora CI image to Fedora 34 See merge request !2543
-
Sebastian Dröge authored
gdbusmethodinvocation: Fix a leak on an early return path See merge request !2557
-
Sebastian Dröge authored
gdbusconnection: Use g_strv_contains() rather than a home-grown version See merge request !2556
-
- 17 Mar, 2022 21 commits
-
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
GLib:ERROR:../glib/tests/timer.c:41:test_timer_basic: assertion failed (micros == ((guint64)(elapsed * 1e6)) % 1000000): (11 == 10) Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
The test still requires dbus-daemon. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Philip Withnall authored
These should cover everything to do with returning a value or error from a `GDBusMethodInvocation` object. Signed-off-by:
Philip Withnall <pwithnall@endlessos.org>
-
Philip Withnall authored
Signed-off-by:
Philip Withnall <pwithnall@endlessos.org>
-
Philip Withnall authored
`property_info` is only ever set for `Get` and `Set` calls, not for `GetAll`, as it only represents a single property. So this code was never reachable. Move it out so that it is reachable. Signed-off-by:
Philip Withnall <pwithnall@endlessos.org>
-
Philip Withnall authored
When doing an early return from `g_dbus_method_invocation_return_*()` due to passing in the wrong type (or no return value when one was expected), the parameters were not correctly sunk and were leaked. Fix that. A unit test will be added in a following commit. Signed-off-by:
Philip Withnall <pwithnall@endlessos.org> Coverity CID: #1474536
-
Emmanuel Fleury authored
Related to issue #1434
-
Emmanuel Fleury authored
-
Emmanuel Fleury authored
g_basename() function is defined in glib/gfileutils.c which is tested by glib/tests/fileutils.c test set. Until now, g_basename() test was in glib/test/utils.c. This patch move the unit test to the proper file.
-
Philip Withnall authored
The public `g_strv_contains()` API didn’t exist at the time this code was originally written. Now, happily, it does. Signed-off-by:
Philip Withnall <pwithnall@endlessos.org>
-
Philip Withnall authored
The public `g_strv_contains()` API didn’t exist at the time this code was originally written. Now, happily, it does. Signed-off-by:
Philip Withnall <pwithnall@endlessos.org>
-
Philip Withnall authored
Various contenttype-related test fixes on win32 See merge request !2499
-
Philip Withnall authored
Cleanup warnings split 6 See merge request !2495
-
Philip Withnall authored
meson: simplify lookup of python command See merge request !2541
-
Philip Withnall authored
tests: Fix a leak in gdbus-test-codegen test Closes #2312 See merge request !2546
-