- 13 Sep, 2018 1 commit
-
-
Jehan authored
g_icon_new_for_string() docs states that it should return a single name when created with a single name. I add a second condition to this case: the themed icon must not include default fallbacks (i.e. it must not have been created with `g_themed_icon_new_with_default_fallbacks()`). Otherwise the return value of `g_icon_new_for_string()` would not recreate the same icon list when passed to `g_icon_new_for_string()` (which would be another documentation inconsistency). g_icon_new_for_string() is now back to old behavior for this specific case. I also revert the unit test for this case, and add a new unit test when using g_themed_icon_new_with_default_fallbacks() with a single name as well. Closes #1513.
-
- 05 Sep, 2018 6 commits
-
-
Philip Withnall authored
Document that GTimeVal is subject to the year 2038 problem on 32-bit systems See merge request GNOME/glib!302
-
Philip Withnall authored
liststore: Simplify code See merge request GNOME/glib!303
-
Emmanuele Bassi authored
gclosure: Clarify when destroy notifiers are called in documentation Closes #277 See merge request GNOME/glib!246
-
Emmanuele Bassi authored
dtrace: Add missing const attributes to types in glib_probes.d See merge request GNOME/glib!272
-
Emmanuele Bassi authored
tests: Add more tests to finish branch coverage of GHashTable See merge request GNOME/glib!289
-
Emmanuele Bassi authored
build: Set -Wformat when testing for -Wformat-security Closes #656 See merge request GNOME/glib!300
-
- 04 Sep, 2018 13 commits
-
-
Philip Withnall authored
Add G_GNUC_FALLTHROUGH for __attribute__(fallthrough)) See merge request GNOME/glib!296
-
Philip Withnall authored
Remove all ChangeLog files See merge request GNOME/glib!292
-
Benjamin Otte authored
This is also faster, though I doubt anyone's able to measure it. The previous code was a more complicted way to do the same thing and it was likely written the more complicated way because it fell out commit 758d7073 when fixing https://bugzilla.gnome.org/show_bug.cgi?id=795307
-
Benjamin Otte authored
-
Benjamin Otte authored
-
Benjamin Otte authored
Expands to the GNU C fallthrough statement attribute if the compiler is gcc. This allows declaring case statement to explicitly fall through in switch statements. To enable this feature, use -Wimplicit-fallthrough during compilation.
-
Christoph Reiter authored
We have git for that. automake requires a ChangLog file in gnu mode so switch to the less strict foreign mode instead.
-
Christoph Reiter authored
They only contain old information which is also available in git
-
Iain Lane authored
It might not be immediately obvious that this is the case. Let's record it in the description of `GTimeVal` itself and also in `g_time_val_from_iso8601`. We also drop an incorrect statement in the documentation for `g_time_val_from_iso8601` stating that years up to 3000 were supported; this is also not true for the same reason. Related: #1509
-
Iain Lane authored
tests/timer: Skip test_timeval_to_iso8601_overflow if we can't overflow a GTimeVal Closes #1509 See merge request GNOME/glib!299
-
Iain Lane authored
On 32 bit systems, the size of a long might be the same as the size of an int. In that case, we won't be able to get an overflow when converting from a GTimeVal to a time_t. Skip the test for this in that case. Closes #1509
-
Philip Withnall authored
We already set -Wformat=2, which implies -Wformat-security, so there’s no need to test for and set -Wformat-security separately. The test for -Wformat-security never worked anyway, since gcc complains if it’s specified without also setting -Wformat to some value. The complaint causes configure.ac/meson.build to assume the option doesn’t work. Signed-off-by:
Philip Withnall <withnall@endlessm.com> GNOME/glib#656
-
Ondrej Holy authored
Document new volume class `loop` See merge request GNOME/glib!293
-
- 03 Sep, 2018 12 commits
-
-
Christoph Reiter authored
build: Drop AC_C_CONST from configure.ac See merge request GNOME/glib!297
-
Philip Withnall authored
gtlsbackend: add support for setting the default TLS database Closes glib-networking#35 See merge request GNOME/glib!273
-
Philip Withnall authored
meson: fix typo See merge request GNOME/glib!295
-
Philip Withnall authored
portal network monitor: Always emit changed signal on changed See merge request GNOME/glib!294
-
Philip Withnall authored
build: fix installation dir of glib-gettextize See merge request GNOME/glib!290
-
Philip Withnall authored
Any compiler we care about now supports the `const` keyword, so we no longer need to check for it. autoconf has recommended this macro is obsolete: https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/C-Compiler.html#index-AC_005fC_005fCONST-755 Signed-off-by:
Philip Withnall <withnall@endlessm.com> GNOME/glib#1313
-
Philip Withnall authored
gspawn: Fix build on systems without O_CLOEXEC See merge request GNOME/glib!286
-
Philip Withnall authored
gio: Don't redefine GKqueueFileMonitor Closes #1506 See merge request GNOME/glib!291
-
(cherry picked from commit 6a3fb343)
-
Matthew Waters authored
-
Matthew Waters authored
There are many cases where a default TLS database is not able to be defined within the constraints of a system. For example glib-networking (or glib-openssl) cannot retrieve the default certificate store on iOS or Android and need to be initialized from a cert file of certificates bundled with the application. Previously GStreamer was relying on a custom patch to glib-networking to populate the default database from the file pointed to by the CA_CERTIFICATES environment variable however the mechanism that enabled this was recently remove from glib-networking. Adding a more generic g_tls_backend_set_default_database() API allows application developers to override the default database using their own certificates as well as allowing equivalent functionality on Android/iOS (or others) as on the default database handling Linux. Fixes GNOME/glib-networking#35
-
Matthew Waters authored
-
- 02 Sep, 2018 3 commits
-
-
Ask Hjorth Larsen authored
-
Jan Tojnar authored
-
Jan Tojnar authored
-
- 01 Sep, 2018 3 commits
-
-
(cherry picked from commit 1d6909c23424dcdfdeb244004d31fa30becb09d9)
-
Florian Müllner authored
The ::network-changed signal is documented to indicate any change in network configuration, which doesn't necessarily imply a property change - additional services becoming available after connecting to a VPN comes to mind for instance. In order to match the "native" network monitor's behavior, always emit the signal when it's in response to the 'changed' D-Bus signal. Also emit the signal unconditionally when loading the initial property values, to allow clients to differentiate between "offline" meaning "offline" and "offline" meaning "uninitialized".
-
(cherry picked from commit 2a64690cd9c63c44b05342fb37e1133ef347117c)
-
- 31 Aug, 2018 2 commits
-
-
segfault3 authored
-
Ryan Schmidt authored
Fixes build on old compilers that don't allow type redefinitions. Closes: GNOME/glib#1506
-