Commits on Jul 6, 2009
  1. 2.21.3

    Matthias Clasen committed Jul 6, 2009
  2. Document support_thread_contexts

    Matthias Clasen committed Jul 6, 2009
  3. Minor doc fix

    Matthias Clasen committed Jul 6, 2009
  4. Fix a segfault in g_cancellable_cancel

    Matthias Clasen committed Jul 6, 2009
  5. Updates

    Matthias Clasen committed Jul 6, 2009
  6. Revert "Move gio tests from gio/tests/ to tests/gio/"

    This reverts commit 2262d76.
    Move GIO tests back to where they belong.
    Matthias Clasen committed Jul 6, 2009
  7. Move comment to the right place

    Matthias Clasen committed Jul 6, 2009
  8. Register ids for new file attributes

    Matthias Clasen committed Jul 6, 2009
  9. Ignore gfileinfo-priv.h

    Matthias Clasen committed Jul 6, 2009
  10. Allow interaction when unmounting mounts

    For details, see bug 587482. The new api:
     - Provide new _with_operation() variants of all unmount and eject methods
     - Add GMountOperation::show-processes signal
       - this can be used to show processes blocking an unmount operation
     - Deprecate all unmount and eject methods
     - Add g_drive_can_start_degraded() method
       - this is to avoid auto-starting degraded drives
     - Make g_drive_stop() resp. g_file_stop_mountable() take a GMountOperation
       - these ops were recently added and not yet public API so it's fine
         to change how they work
     - Provide a way to poll mountable files, e.g. g_file_poll_mountable()
     - Add some missing file attributes for mountable files
        - needed for the GDU Nautilus extensions to format a volume
        - mimics g_drive_can_start_degraded()
        - mimics g_drive_can_poll_for_media()
        - mimics g_drive_is_media_check_automatic()
    David Zeuthen committed with Matthias Clasen Jul 6, 2009
Commits on Jul 5, 2009
  1. [gio] minor improvements to g_cancellable_cancel()

    - make this function not crash when cancellable is NULL
    - avoid locking when the cancellable has already been cancelled
    benjamin-otte committed Jul 5, 2009
  2. Updated Hebrew translation

    yarons committed with markkr125 Jul 5, 2009
Commits on Jul 3, 2009
  1. Add @basename@ substitution to glib-mkenums

    Move man page addition to the right place. Bug #587307.
    Christian Persch committed Jul 3, 2009
  2. Add @basename@ substitution to glib-mkenums

    Since @filename@ contains the full filename as given to the glib-mkenum
    command, possibly including path elements (e.g. when using a non-srcdir
    build), it is unsuitable to use in a #include statement in the generated
    file if one wants to distribute it. This patch adds @basename@ which
    expands to the base name of the input filename. Bug #587307.
    Christian Persch committed Jun 29, 2009
Commits on Jul 2, 2009
  1. Updating Estonian translation

    Mattias Põldaru committed with plaes Jul 2, 2009
Commits on Jul 1, 2009
  1. Two "make check" fixes for late changes to the thread-context patch

    g_simple_async_result_complete() now checks that it's being run from
    the correct main loop, so tests/gio/simple-async-result was failing,
    because it called it from outside any main loop. (And gio's pltcheck
    was failing because I hadn't added g_main_current_source() to it.)
    danwinship committed Jul 1, 2009
  2. Move gio tests from gio/tests/ to tests/gio/

    This avoids getting tests built every time when working on libgio and
    running make in the gio/ directory.
    benjamin-otte committed Jul 1, 2009
  3. Support g_main_context_push_thread_default() in gio

    GFile allows for the possibility that external implementations may not
    support thread-default contexts yet, via
    g_file_supports_thread_contexts(). GVolumeMonitor is not yet
    thread-default-context aware.
    Add a test program to verify that basic gio async ops work correctly
    in non-default contexts.
    danwinship committed Jun 17, 2009
  4. Add g_main_context_push_thread_default() etc

    This allows applications to use async methods from other threads, or
    in multiple independent main loops.
    danwinship committed Jun 5, 2009
  5. Use low-level GSource methods in a few more places

    (in preparation for thread-default context support)
    danwinship committed Jun 19, 2009
Commits on Jun 30, 2009
  1. Remove some unused code

    danwinship committed Jun 17, 2009
  2. Fix GResolver for g_simple_async_result_set_op_res_gpointer change

    Previously, re-setting the pointer value would cause the old
    GDestroyNotify to be lost; now it causes it to be run.
    danwinship committed Jun 23, 2009
  3. Bug 587434 – regression tests fail

    make this test not only compile, but also run successfully with mad
    benjamin-otte committed Jun 30, 2009
  4. Bug 587434 – regression tests fail

    I missed one s/tmpfile/tmp_file/ which caused crashes.
    benjamin-otte committed Jun 30, 2009
  5. Add GCancellables to GSocket ops

    Currently, to implement cancellability correctly, all synchronous
    calls to GSocket must be preceded by a g_socket_condition_wait() call,
    (even though GSocket does this internally as well) and all
    asynchronous calls must do occasional manual
    g_cancellable_is_cancelled() checks. Since it's trivial to do these
    checks inside GSocket instead, and we don't particularly want to
    encourage people to use the APIs non-cancellably, move the
    cancellation support into GSocket and simplify the existing callers.
    danwinship committed Jun 23, 2009
Commits on Jun 29, 2009
  1. remove unused label

    complained about by -Wall
    benjamin-otte committed Jun 29, 2009
  2. add g_file_attribute_set_*_by_id() and use them

    This patch and the previous ones fixes the performance issues noted in
    Bug 587089 – lookup_attribute() takes too much CPU
    It increases performance for querying attributes by ~15% in my tests.
    benjamin-otte committed Jun 29, 2009
  3. add private header with attribute ids

    attribute ids are generated when the attribute hash is initialized. This
    way we can guarantee that the ids match every time.
    benjamin-otte committed Jun 29, 2009
Commits on Jun 28, 2009
  1. Display '-h' in --help output and accept '-h' and -?'

    '-h' is the preferred short version of '--help' now and displayed
    in '--help' but for backwards compatibility '-?' is still supported.
    If existing code uses '-h' for something else, GOptionContext will
    not override it.
    Fixes bug 556706.
    kalikiana committed Jun 28, 2009
Commits on Jun 27, 2009
  1. Fix C++ warnings in g_error() code

    Put space before ending semicolon in for(;;) ; to avoid C++ build warnings.
    Closes bug 586928.
    janimo committed Jun 27, 2009
  2. Move some uri functions to a better place

    Matthias Clasen committed Jun 27, 2009