- 29 Jul, 2019 13 commits
-
-
Philip Withnall authored
GTimeVal is not year-2038-safe. Signed-off-by:
Philip Withnall <withnall@endlessm.com> Helps: #1438
-
Philip Withnall authored
Signed-off-by:
Philip Withnall <withnall@endlessm.com> Helps: #1438
-
Philip Withnall authored
The former is now deprecated, so it makes sense to base its implementation on the latter, rather than the other way around. This introduces no functional changes. Signed-off-by:
Philip Withnall <withnall@endlessm.com> Helps: #1438
-
Philip Withnall authored
GTimeVal is not year-2038-safe. Signed-off-by:
Philip Withnall <withnall@endlessm.com> Helps: #1438
-
Philip Withnall authored
GTimeVal is not year-2038-safe. Signed-off-by:
Philip Withnall <withnall@endlessm.com> Helps: #1438
-
Philip Withnall authored
GTimeVal is not year-2038-safe. Signed-off-by:
Philip Withnall <withnall@endlessm.com> Helps: #1438
-
Philip Withnall authored
Signed-off-by:
Philip Withnall <withnall@endlessm.com>
-
Philip Withnall authored
GTimeVal is subject to the year 2038 problem, since its `tv_sec` field is a `glong`, which is 32 bits on 32-bit platforms. Use `guint64` to represent microsecond-precision time since the Unix epoch; or use `GDateTime` for full date/time representation. Signed-off-by:
Philip Withnall <withnall@endlessm.com> Fixes: #1438
-
Philip Withnall authored
Signed-off-by:
Philip Withnall <withnall@endlessm.com>
-
Philip Withnall authored
It’s not Y2038-safe, as it’s 32-bit. While it was previously deprecated in the documentation, now add the deprecation annotation for the compiler. Signed-off-by:
Philip Withnall <withnall@endlessm.com> Helps: #1438
-
Philip Withnall authored
This is a simple wrapper around g_date_time_format_iso8601() which always produces ISO 8601 dates, without people having to remember the format string for them (and with the convenience of terminating UTC dates with ‘Z’ rather than ‘+00’). Signed-off-by:
Philip Withnall <withnall@endlessm.com> Helps: #1438
-
Philip Withnall authored
windows: fix multicast socket binding to specific network interfaces Closes #1635 See merge request !887
-
Philip Withnall authored
gapplication: remove inactivity_timeout source on finalize See merge request !1009
-
- 28 Jul, 2019 1 commit
-
-
Emmanuele Bassi authored
gmessages: Only use structured logs if GLIB_VERSION_MAX_ALLOWED is ≥2.56 Closes #1847 See merge request !1008
-
- 27 Jul, 2019 1 commit
-
-
Ting-Wei Lan authored
The event source used to handle inactivity_timeout doesn't hold a reference on the application. Therefore, it is possible for callback function of the event source to run after the application has been freed, leading to use-after-free problem. To avoid the problem, we should remove the event source before the application is freed. This should fix SIGBUS crash of gio/tests/gapplication on FreeBSD. #1846 (comment 566550)
-
- 26 Jul, 2019 5 commits
-
-
Philip Withnall authored
Only redefine g_message() and friends to use structured logging if the compiling code is OK with depending on GLib functionality from ≥2.56. Signed-off-by:
Philip Withnall <withnall@endlessm.com> Fixes: #1847
-
Philip Withnall authored
Resubmission of !832 “Try to create the complete path right away and fall back” See merge request !1007
-
Try to create the complete path right away and fall back to creating all path elements one by one. This also helps to avoid TOCTTOU problems and avoids walking the path all the time, providing a nice performance gain, by avoiding syscalls.
-
Ignore ENOENT errors up until the last element while trying to create each of the path elements in case a restricted file-system is being used where path elements can be hidden or non-accessible.
-
Emmanuele Bassi authored
Small array test fixes See merge request !996
-
- 25 Jul, 2019 5 commits
-
-
Philip Withnall authored
gobject: Add a g_assert_finalize_object() macro Closes #1780 and #488 See merge request !859
-
Philip Withnall authored
Signed-off-by:
Philip Withnall <withnall@endlessm.com>
-
With modifications by Philip Withnall. Fixes: #488
-
Emmanuele Bassi authored
Fix tests creating coredumps Closes #436 See merge request !959
-
Emmanuele Bassi authored
gcontenttype: Add no-op versions of {get,set}_mime_dirs() on win32/macOS Closes #1791 See merge request !927
-
- 24 Jul, 2019 12 commits
-
-
Philip Withnall authored
These are here to prevent linker errors, since `gcontenttype.[ch]` aren’t compiled on Windows or macOS. The implementations are stubs to be filled out by someone who knows each platform, at some point in the future. Signed-off-by:
Philip Withnall <withnall@endlessm.com> Fixes: #1791
-
Philip Withnall authored
Bump the required version of Meson See merge request !924
-
Emmanuele Bassi authored
All non-build jobs must share the same Docker image with the Fedora build job.
-
Emmanuele Bassi authored
We cannot bump to the latest stable version of Meson, even if it would make our life easier. We can, though, use the version of Meson shipped by the next, soon to be released Debian stable.
-
Emmanuele Bassi authored
-
Emmanuele Bassi authored
-
Emmanuele Bassi authored
-
Emmanuele Bassi authored
-
Emmanuele Bassi authored
-
Emmanuele Bassi authored
Match the version of Meson we install with the one we require.
-
Emmanuele Bassi authored
New stable release of Debian is out, and we need to bump the version of Meson to match our requirements.
-
Emmanuele Bassi authored
We're using the `install` argument for configure_file() all over the place. The support for an `install` argument for configure_file() was added in Meson 0.50, but we haven't bumped the minimum version of Meson we require, yet; which means we're getting compatibility warnings when using recent versions of Meson, and undefined behaviour when using older versions. The configure_file() object defaults to `install: false`, unless an install directory is used. This means that all instances of an `install` argument with an explicit `true` or `false` value can be removed, whereas all instances of `install` with a value determined from a configuration option must be turned into an explicit conditional.
-
- 23 Jul, 2019 3 commits
-
-
Simon McVittie authored
Allow guid key in dbus addresses Closes #1018 See merge request !995
-
Nirbheek Chauhan authored
Add (out) annotation to (optional) parameters Closes #1837 See merge request !999
-
Дилян Палаузов authored
… as the parameters are not (inout). Closes #1837
-