- Mar 11, 2017
-
-
This is an implementation of most of GAppInfo using the OS X NSBundle APIs. Missing at this point are things that don't have equivalents in OS X, such as hidden desktop files, last-used, manual type associations, and g_app_info_get_all(). https://bugzilla.gnome.org/show_bug.cgi?id=734946
-
This is an implementation of most of GContentType using the OS X UTType APIs. Missing at this point is an implementation of g_content_types_get_registered() and g_content_type_guess_for_tree(). https://bugzilla.gnome.org/show_bug.cgi?id=734946
-
- Mar 10, 2017
-
-
Matthias Clasen authored
-
- Mar 09, 2017
-
-
Previously, _kh_cancel_sub assumed that it only needed to call _km_remove if sub did not exist in subs_hash_table. This is erroneous because the complementary operation, _km_add_missing, can be called from process_kqueue_notifications, in which context sub can *only* have come from subs_hash_table. Since _km_remove is implemented using g_slist_remove, which is documented to be a noop if the list does not contain the element to be removed, it is safe to call _km_remove unconditionally here. https://bugzilla.gnome.org/show_bug.cgi?id=778515
-
Emmanuele Bassi authored
Use gnulibg-tool --lgpl to import the vasnprintf module using the correct GNU Lesser General Public License, version 2.1 or later, like the rest of GLib. https://bugzilla.gnome.org/show_bug.cgi?id=777203
-
Chun-wei Fan authored
Update the location from GLib's source tree on where this file can be found.
-
Convenience wrapper around g_content_type_is_a(). https://bugzilla.gnome.org/show_bug.cgi?id=734946
-
This ixes bug #673047.
-
Matthias Clasen authored
-
Matthias Clasen authored
One of the types in this function was not wrapped in a g_type_ensure_call, an obvious oversight.
-
This changes the configure checks to check for what is actually required to build this code. https://bugzilla.gnome.org/show_bug.cgi?id=747146
-
- Mar 07, 2017
-
-
- Mar 05, 2017
-
-
-
Matthias Clasen authored
These came up on irc today.
-
-
Philip Withnall authored
Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
-
- Mar 04, 2017
-
-
Simon McVittie authored
This should be helpful for reproducible builds <https://reproducible-builds.org/ >. Perl's sorting is not locale-sensitive unless the lexical scope has 'use locale', which this one does not, so we do not need to force locale-agnostic sorting. Signed-off-by: Simon McVittie <smcv@debian.org> Bug: https://bugzilla.gnome.org/show_bug.cgi?id=769983 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809152
-
Paolo Borelli authored
-
Aurimas Černius authored
-
- Mar 03, 2017
-
-
Simon McVittie authored
They do not start with the #!/usr/bin/python that would be necessary to make them run with Python rather than a shell, and they would not be useful to run anyway: they are libraries to be imported, not scripts to be run. Signed-off-by: Simon McVittie <smcv@debian.org>
-
-
- Mar 02, 2017
-
-
Ask Hjorth Larsen authored
-
Paolo Borelli authored
g_utf8_make_valid was turned into a public API this cycle. However now that it is public we should make the API more generic, allowing the caller to specify the length. This is especially useful if the function is called with a string that has \0 in the middle or for chunks of a strings that are not nul terminated. This is also consistent with most of the other utf8 utils. Callers inside glib are updated to the new signature. https://bugzilla.gnome.org/show_bug.cgi?id=779456
-
Chun-wei Fan authored
In my previous attempt to improve colored console output on Windows, we called GetFileInformationByHandleEx() directly if we target Vista or later, but the check macro for doing so via LoadLibrary() had a typo. Fix this by correcting the check macro. Pointed out by Ignacio Casal Quinteiro.
-
- Mar 01, 2017
-
-
Matthias Clasen authored
-
David King authored
-
- Feb 28, 2017
-
-
Philip Withnall authored
Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=779265
-
Philip Withnall authored
g_settings_schema_source_get_default() is (transfer none), not (transfer full). Spotted by Marvin Schmidt. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=779265
-
Philip Withnall authored
Every GSettingsAction was leaking its schema key (a few tens of bytes). Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=779265
-
Philip Withnall authored
On the warning/critical error handling paths for g_settings_set(), the GVariant value was not ref-sunk, and the schema key was leaked. This won’t affect code in production (unless it’s seriously buggy), but eliminates some leaks from the error testing paths in the GSettings tests. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=779265
-
Philip Withnall authored
Spotted while running `make check` under Valgrind. While it’s not necessary to fix memory leaks in glib-compile-schemas (since it’s a utility which runs briefly then exits), fixing them makes more legitimate leaks in the Valgrind output more obvious, and means we can be sure there aren’t leaks in the underlying GLib/GIO code which glib-compile-schemas is calling. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=779265
-
- Feb 27, 2017
-
-
Matthias Clasen authored
-
When unregistered extension point (i.e. NULL pointer) is passed to `g_io_extension_point_get_extensions`, it causes a segfault. This commit adds an assertion, to prevent this. https://bugzilla.gnome.org/show_bug.cgi?id=779183
-
Patrick Griffis authored
This is useful with Meson where files are generated in subdirs https://bugzilla.gnome.org/show_bug.cgi?id=778801
-
Philip Withnall authored
This fixes the unit tests after commit 3e32350b rearranged the enum order. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=771997
-
- Feb 26, 2017
-
-
Igor Gnatenko authored
Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
-
Igor Gnatenko authored
Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
-
Мирослав Николић authored
-
- Feb 22, 2017
-
-
- Feb 21, 2017
-
-