Skip to content
Commits on Nov 15, 2012
  1. win32: remove old "locale encoded filename parameter" dll abi compati…

    committed Oct 1, 2012
    …bility exports
    All code compiled agains GLib 2.6 uses the utf8() variants.
    The dll abi compatibility non-utf8() variants where only provided
    with 32-bit builds. Unfortunately, abi has been broken on at
    least one location so we are pretty sure binaries compiled agains
    a GLib version older than 2.6 will not work with current GLib
    binaries at all. So there is no longer a reason to export these
    at all.
    Make sure code compiled from now on stops using the _utf8 suffixed
    versions and alias _utf8 versions so binaries compiled agains GLib 2.6
    up until this commit continue working.
    As a side-effect, this fixes an introspection bug on win32 where
    only the _utf8 versions where available in the typelibs. Meaning
    code written on Linux (which never had the _utf8 suffix for these
    functions to begin with) didn't work on Windows.
  2. win32: define WINVER and _WIN32_WINNT to 0x0501 by default when build…

    committed Sep 12, 2012
    …ing glib
    This formally raises the minimum supported Windows version
    to Windows XP.
Commits on Nov 5, 2012
  1. @desrt

    gtype: disallow adding interfaces after the fact

    desrt committed Nov 5, 2012
    Add a check to prevent adding an interface to a class that has already
    had its class_init done.
    This is an incompatible change but it is suspected that there are not
    many users of this functionality.  Two known exceptions are pygobject
    (fixed in bug 686149) and our own testsuite (affected tests have been
    temporarily disabled by this patch).
    Once we confirm that nobody else is using this functionality we can
    remove a rather large amount of code for dealing with this case.
Commits on Nov 4, 2012
  1. @sfeltman
Commits on Nov 2, 2012
  1. @cgwalters

    Use (void) for no parameters, not ()

    cgwalters committed Nov 1, 2012
    This ensures we build with -Werror=missing-parameter-type.
  2. @cgwalters

    build: Prototype GType accessors for private classes

    cgwalters committed Nov 1, 2012
    Otherwise we fail to build with -Werror=missing-prototypes.
  3. @cgwalters

    build: Ensure we #include header files for glib-genmarshal code

    cgwalters committed Nov 1, 2012
    Otherwise we fail with -Werror=missing-prototypes.
Commits on Oct 31, 2012
  1. @cgwalters

    tests/signals: Disable large enumeration value test that is failing o…

    cgwalters committed Oct 25, 2012
    …n PPC64
    Basically due to a combination of va_args semantics around
    signed/unsigned ints, this test case fails on ppc64.  At the moment,
    we have as yet to find any real-world consumer with such a large
    enumeration value.
    Unfortunately, the possible fixes for this are extremely invasive;
    we would have to define a new enum API.
    Given both of these facts, we believe it makes the most sense at the
    current time to simply not test this. If we at a later time determine
    there is such a real-world consumer, we can look at doing the
    necessary fixes.
Commits on Oct 25, 2012
  1. Revert "Box GPollFD to make it introspectable"

    Martin Pitt committed Oct 25, 2012
    This reverts commit 932f425.
    This got pushed accidentally and has not been accepted yet. It's also not clear
    whether we want this in the first place.
Commits on Oct 16, 2012
  1. @desrt

    Properly deprecate g_type_init()

    desrt committed Oct 15, 2012
    Now that all internal users of it are gone.
  2. @desrt

    Remove g_type_init() calls

    desrt committed Oct 15, 2012
    Very many testcases, some GLib tools (resource compiler, etc) and
    GApplication were calling g_type_init().
    Remove those uses, as they are no longer required.
  3. @desrt

    Convert g_type_init() to a ctor

    desrt committed Oct 15, 2012
    Move the guts of g_type_init() into a ctor and turn g_type_init() itself
    into a do-nothing function.
    g_type_init_with_debug_flags() now ignores its arguments, but it has
    always been possible to achieve the same effect via environment
Commits on Oct 15, 2012
  1. Add missing semicolons to gobject_probes.d

    Matthias Clasen committed Oct 15, 2012
Commits on Oct 13, 2012
  1. @desrt

    gsignal: really fix closure invalidation

    desrt committed Oct 13, 2012
    Commit 66b0d95 missed this part of the
Commits on Oct 9, 2012
  1. @desrt

    [gsignal] Fix closure invalidation

    desrt committed Oct 8, 2012
    If the closure is invalidated we drop the ref on the signal handler
    node, but if the signal is currently being dispatched, the ref could be
    held elsewhere.
    Flag that we no longer have an outstanding invalidation handler so that
    we don't try to unregister ourselves when the other ref drops.
    Add a testcase that catches this situation.
Commits on Oct 8, 2012
  1. @desrt

    [gobject] set all properties before constructed()

    desrt committed Oct 8, 2012
    Move the constructed() call to happen after all of the properties are
    set (not just the construct properties).
    This is an incompatible change but we are making it under the belief
    that it should be safe.  If this change impacts you in a negative way
    please comment on the bug.
  2. @desrt

    fix g_signal_connect_object() documentation

    desrt committed Oct 8, 2012
    g_signal_connect_object() now works properly, so we can remove the note
    in the docs about it being broken.
  3. @desrt

    [gsignal] fix up a crasher in previous commit

    desrt committed Oct 8, 2012
    The previous commit introduced a new variable in the Handler struct but
    didn't initialise it.  This was causing some tests to crash.
  4. @desrt

    [gsignal] disconnect invalidated closures

    Matthias Clasen committed with desrt Jun 23, 2004
    Modify gsignal to automatically disconnect a GClosure that becomes
    invalid (in the g_closure_invalidate() sense).
    Previously, when g_signal_connect_object() was used with a GObject as
    the user_data and that object was destroyed, the handler would no longer
    be called but the signal handler was itself was not disconnected (ie:
    the bookkeeping data was kept around).
    The main effect of this patch is that these signal handlers will now
    be automatically disconnected (and fully freed).
    The documentation for g_signal_connect_object() has anticipated this
    change for over 10 years and has advised the following workaround when
    disconnecting signal handlers connected with g_signal_connect_object():
     if (g_signal_handler_is_connected (instance, id))
       g_signal_handler_disconnect (instance, id);
    If your code follows this practice then it will continue to work.
    If your code never disconnects the signal handler then it was wasting
    memory before (and this commit fixes that).
    If your code unconditionally disconnects the signal handler then you
    will start to see (harmless) g_critical() warnings about this and you
    should fix them.
Commits on Sep 23, 2012
  1. Clarify g_type_init docs

    Matthias Clasen committed Sep 23, 2012
    Mention that there's no way to undo it.
Commits on Sep 6, 2012
Commits on Sep 3, 2012
  1. @danwinship

    update .gitignore

    danwinship committed Sep 3, 2012
  2. @danwinship
  3. @danwinship
Commits on Sep 2, 2012
  1. Add a threaded test for g_object_replace_data

    Matthias Clasen committed Sep 1, 2012
    This is the threaded atomic add test from glib/tests/atomic.c,
    redone using qdata instead of an atomic int to store the values.
  2. Add some tests for new object data api

    Matthias Clasen committed Aug 28, 2012
    These are non-threaded, but the do test dup and destroy somewhat.
  3. Add an atomic compare-and-exchange operation for object data

    Matthias Clasen committed Aug 28, 2012
    This is useful when using object data in thread-safe libraries.
Commits on Aug 28, 2012
  1. @cgwalters

    Switch all open() calls to use g_open()

    cgwalters committed Aug 27, 2012
    Because it now handles EINTR.  And we should do so.  While most people
    use Linux, which tries very hard to avoid propagating EINTR back up
    into userspace, it can still happen.
Commits on Aug 19, 2012
  1. It is 'registered', not 'registred'

    Matthias Clasen committed Aug 18, 2012
  2. Exterminate 'the the'

    Matthias Clasen committed Aug 18, 2012
Commits on Aug 5, 2012
  1. @tp-m
Something went wrong with that request. Please try again.