Permalink
Commits on Jul 17, 2012
  1. More updates

    Matthias Clasen committed Jul 17, 2012
  2. GIOScheduler: Fix access after free in "cancelled" handler

     * GCancellable can be "cancelled" more than once if
       g_cancellable_reset() is called.
     * Don't assume that because the "cancelled" signal fired
       it won't fire again.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=680111
    stefwalter committed with Matthias Clasen Jul 17, 2012
  3. 2.33.6

    Matthias Clasen committed Jul 17, 2012
  4. GAsyncInitable: partially revert the init_finish changes

    g_async_initable_real_init_finish() was previously handling all
    GSimpleAsyncResults, even if they weren't created by
    g_async_initable_real_init_async(), and libnm-glib accidentally relied
    on that behavior. So remove the g_simple_async_result_is_valid()
    check.
    danwinship committed Jul 17, 2012
Commits on Jul 16, 2012
  1. GVariantType: Add (constructor) annotation for some constructors.

    This are mistaken by g-ir-scanner as GVariantType's methods, because
    they take a GVariantType* as a first parameter.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679968
    krnowak committed Jul 15, 2012
  2. Updated Spanish translation

    dmustieles committed Jul 16, 2012
  3. win32: g_getenv() should return "" if variable exists and empty

    On Windows, GetEnvironmentVariable() returns 0 for empty variables.
    Checking GetLastError() == ERROR_ENVVAR_NOT_FOUND helps make a
    difference between a variable that does not exist or an empty one
    which should return "".
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679617
    elmarco committed Jul 9, 2012
  4. win32: fix g_get_environ()

    The current code create the strv array incorrectly, it is too big and
    leaves invalid holes. This may result in crashes when freeing the
    returned value.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679617
    elmarco committed Jul 9, 2012
  5. Bump version

    Matthias Clasen committed Jul 16, 2012
  6. More updates

    Matthias Clasen committed Jul 16, 2012
Commits on Jul 15, 2012
  1. Updated Belarusian translation.

    booxter committed Jul 15, 2012
Commits on Jul 14, 2012
  1. Updated Polish translation

    piotrdrag committed Jul 14, 2012
Commits on Jul 13, 2012
  1. Fix GModule documentation a bit

    The documentation for g_module_make_resident was for some reason
    in the doc comment for g_module_name.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679813
    Matthias Clasen committed Jul 13, 2012
  2. Fix doc build

    Matthias Clasen committed Jul 13, 2012
  3. Assamese translation updated

    nilamdyuti committed Jul 13, 2012
  4. Update NEWS

    Matthias Clasen committed Jul 13, 2012
  5. win32: fix build g_spawn_check_exit_status() with mingw

    With mingw, only gspawn-win32.c is compiled, but it is missing some
    new symbols.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679691
    elmarco committed with cgwalters Jul 11, 2012
Commits on Jul 12, 2012
  1. GRegex, GConvert: Add some missing annotations.

    Also, removed pointless (allow-none) return annotation.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679762
    krnowak committed Jul 12, 2012
Commits on Jul 11, 2012
  1. mount-operation: add show-unmount-progress signal

    The actual implementation will be in gvfs.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=676111
    cosimoc committed Jul 6, 2012
  2. Updated Greek translation

    thanostx committed Jul 11, 2012
Commits on Jul 10, 2012
  1. Add g_spawn_check_exit_status()

    Many (if not "almost all") programs that spawn other programs via
    g_spawn_sync() or the like simply want to check whether or not the
    child exited successfully, but doing so requires use of
    platform-specific functionality and there's actually a fair amount of
    boilerplate involved.
    
    This new API will help drain a *lot* of mostly duplicated code in
    GNOME, from gnome-session to gdm.  And we can see that some bits even
    inside GLib were doing it wrong; for example checking the exit status
    on Unix, but ignoring it on Windows.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679691
    cgwalters committed Jul 10, 2012
  2. gio: add g_async_result_is_tagged()

    Rather than doing a two step first-check-the-GAsyncResult-subtype-then-
    check-the-tag, add a GAsyncResult-level method so that you can do them
    both at once, simplifying the code for "short-circuit" async return
    values where the vmethod never gets called.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=661767
    danwinship committed May 10, 2012
  3. gio: Add g_async_result_legacy_propagate_error()

    Finish deprecating the "handle GSimpleAsyncResult errors in the
    wrapper function" idiom (and protect against future GSimpleAsyncResult
    deprecation warnings) by adding a "legacy" GAsyncResult method
    to do it in those classes/methods where it had been traditionally
    done.
    
    (This applies only to wrapper methods; in cases where an _async
    vmethod explicitly uses GSimpleAsyncResult, its corresponding _finish
    vmethod still uses g_simple_async_result_propagate_error.)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=667375
    https://bugzilla.gnome.org/show_bug.cgi?id=661767
    danwinship committed May 10, 2012
  4. gio: handle GSimpleAsyncResult errors in _finish vmethods

    Originally, the standard idiom with GSimpleAsyncResult was to handle
    all errors in the _finish wrapper function, so that vmethods only had
    to deal with successful results. But this means that chaining up to a
    parent _finish vmethod won't work correctly. Fix this by also checking
    for errors in all the relevant vmethods. (We have to redundantly check
    in both the vmethod and the wrapper to preserve compatibility.)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=667375
    https://bugzilla.gnome.org/show_bug.cgi?id=661767
    danwinship committed Jun 11, 2012
  5. GFile: remove some unnecessary code

    The "mainloop_barrier" in copy_async_thread() is unnecessary, since
    the g_simple_async_result_complete_in_idle() will be queued after all
    of the g_io_scheduler_job_send_to_mainloop_async()s, and sources with
    the same priority will run in the order in which they were queued.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=661767
    danwinship committed Apr 17, 2012
Commits on Jul 9, 2012
  1. GVariant: fix string validation

    String validation was done by checking if the string was valid utf8 and
    ensuring that the first non-utf8 character was the last character (ie:
    the nul terminator).
    
    No check was actually done to make sure that this byte actually
    contained a nul, however, so it was possible that you could have a
    string like "hello\xff" with length 6 that would correctly validate.
    
    Fix that, and test it.
    desrt committed Jul 9, 2012
  2. Fix up GObject interface documentation

     * Document how to override interfaces already implemented
       in a base class, and also call those base class implementations
       from a derived reimplementation.
     * Don't recomend people use base_init() style functions to
       initialize interface signals and properties, use default_init()
       aka class_init() instead (as G_DEFINE_INTERFACE() uses).
     * The above solves the interface init called multiple times
       problem, so remove some needless naysaying about that.
     * Document default_init() in the interface initialization discussion
     * Linkify more stuff.
     * Remove some crud and typos
    
    https://bugzilla.gnome.org/show_bug.cgi?id=675504
    stefwalter committed May 5, 2012
Commits on Jul 8, 2012
  1. OpenBSD: explicitely define nitems

    nitems is never guaranteed to be defined in sys/params.h as it is meant
    to be defined within a protected ifdef __KERNEL condition.
    ajacoutot committed Jul 8, 2012
Commits on Jul 7, 2012