Age | Commit message (Collapse) | Author | Files | Lines |
|
Move filename-related functions to gfileutils, and move
size formatting functions to gutils.
|
|
|
|
|
|
Split win32 functions off into their own section, instead
of having large and unwieldy ifdef sections inside each function.
Also move the compat versions of env functions over from gutils.c
|
|
This was used as an optimisation for the macro hackery that used to live
in gthread.h. If a particular library or program knew that it could
rely on thread support being enabled, it would allow for static
evaluation of conditionals in some of those macros.
Since the macros are dead and thread support is now always-on, we can
get rid of this bit of legacy.
|
|
|
|
g_thread_init() is now a deprecated API, so drop G_DISABLE_DEPRECATED
from the CFLAGS for gthread/. Add the missing declaration for
g_thread_init_with_errorcheck_mutexes() back to deprecated/gthread.h.
|
|
This function was never put in a header and was only used internally
from libgthread, but we should keep the symbol around to avoid
triggering any false-positives on ABI checkers.
For -Wmissing-prototypes compatibility with this unusual case, we should
add a private prototype in the .c file just before.
|
|
|
|
|
|
|
|
No dead code found this time...
|
|
|
|
This has uncovered two unused testcases in option-context.c. They are
currently broken and require more investigation (which is probably why
they are unused).
|
|
|
|
|
|
GObject no longer uses gthread, so libgthread should no longer be
included in the linker flags of programs built against GObject.
|
|
These were meant to provide the ability to use GLib directly out of its
build tree but have a couple of rather serious limitations that prevent
their serious use:
- these files only worked with programs built using libtool
- for non-trivial uses, other environment variables will need to be
setup to allow GLib to function properly
- the system doesn't stack well when attempting to use multiple
libraries all uninstalled
The jhbuild --prefix= style system works much better in every way, so we
remove this old hack.
|
|
|
|
|
|
|
|
|
|
|
|
They did not really belong into either gutils or gutf8.
|
|
|
|
Just another cleanup.
|
|
Reducing the mess in gutils, and moving docs inline
at the same time. Double win.
|
|
This was pointed out by John Ralls in bug 653052.
He also provided the test case.
|
|
Document the previously uncovered case of calling g_spawn_async_with_pipes()
without a full path but no G_SPAWN_SEARCH_PATH. This runs programs from the
current directory, which might be unexpected and even dangerous in some corner
cases.
https://bugzilla.gnome.org/show_bug.cgi?id=656621
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=656621
|
|
|
|
|
|
|
|
|
|
|
|
g_get_codeset is a close relatove to g_get_charset, and up to now
it lived a shadowy existence without any header presence.
|
|
|
|
|
|
|
|
|
|
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661679
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=656679
|
|
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=659916
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=661257
|
|
Ensure that all methods that take or return arrays are annotated
(including length). Mark ref, unref and free methods as (skip).
https://bugzilla.gnome.org/show_bug.cgi?id=590808
|
|
Using the new refcounting API, introduce a boxed type wrapping
GKeyFile and expose it introspection bindings in glib-types.h.
|
|
Adds g_key_file_ref and g_key_file_unref, to be used by a future
GKeyFile boxed type for language bindings.
Based on the patch by Christian Persch and Emmanuele Bassi.
Author: Christian Persch
Signed-off-by: Johan Dahlin
Signed-off-by: Giovanni Campagna
https://bugzilla.gnome.org/show_bug.cgi?id=590808
|
|
|
|
Add functions for manipulating the environment under which a
GAppLaunchContext will launch its children, to avoid thread-related
bugs with using setenv() directly.
FIXME: win32 side isn't implemented yet
https://bugzilla.gnome.org/show_bug.cgi?id=659326
|
|
|