Permalink
Commits on Nov 21, 2011
  1. release glib 2.31.2

    desrt committed Nov 21, 2011
  2. dist gio/tests/key8.pem

    desrt committed Nov 21, 2011
  3. Add test case for #662395

    smcv committed Nov 1, 2011
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
  4. GDBus tests: factor out TestIOStream, test_pipe and test_bidi_pipe

    smcv committed Nov 1, 2011
    These might even make useful public API if they grew a Windows
    implementation, but for now they can be Unix-only test API.
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
  5. _g_dbus_worker_flush_sync: always flush if we need to

    smcv committed Nov 21, 2011
    We didn't previously flush in a couple of cases where we should have
    done:
    
    * a write is running when flush is called: we should flush after it
      finishes
    
    * writes have been made since the last flush, but none are pending or
      running right now: we should flush the underlying transport straight
      away
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
  6. GDBusWorker: move flush async op into continue_writing()

    smcv committed Nov 21, 2011
    This makes it easier to schedule a flush, by putting it on the same code
    path as writing and closing.
    
    Also change message_written to expect the lock to be held, since all
    that's left in that function either wants to hold the lock or doesn't
    care, and it's silly to release the lock immediately before calling
    message_written, which just takes it again.
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
  7. schedule_write_in_worker_thread: require caller to lock; rename accor…

    smcv committed Nov 21, 2011
    …dingly
    
    When we use this function to schedule a flush, it'll be called
    with the lock held. Releasing and immediately re-taking the lock would
    be pointless.
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
  8. GDBusWorker: rename some functions

    smcv committed Oct 21, 2011
    maybe_write_next_message now also closes, and I'm about to make it
    consider whether to flush as well, so its name is increasingly
    inappropriate. Similarly, write_message_in_idle_cb is a wrapper around
    it which could do any of those things.
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
  9. GDBusWorker: distinguish between 3 sorts of output that might be pending

    smcv committed Nov 21, 2011
    If the user calls flush_sync() with no messages in the queue, but an
    async write call pending, then we ought to flush after that async write
    returns (although we don't currently do that). If it was an async close
    or flush that was pending, there's no need to flush (again) afterwards.
    So, we need to distinguish.
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
  10. Drop last uses of @returns:

    desrt committed Nov 21, 2011
  11. Missed a couple of @returns

    desrt committed Nov 21, 2011
  12. GVariant: drop use of @returns

    desrt committed Nov 21, 2011
  13. gbitlock: Drop @returns syntax from doc comments

    Matthias Clasen
    Matthias Clasen committed Nov 21, 2011
  14. GBuffer: Drop @returns syntax from doc comments

    Matthias Clasen
    Matthias Clasen committed Nov 21, 2011
  15. GSocketClient: Drop @returns syntax from doc comments

    Matthias Clasen
    Matthias Clasen committed Nov 21, 2011
  16. GSimplePermission: Drop @returns syntax in doc comments

    Matthias Clasen
    Matthias Clasen committed Nov 21, 2011
  17. GPermission: Drop @returns syntax from doc comments

    Matthias Clasen
    Matthias Clasen committed Nov 21, 2011
  18. Improve test coverage

    Matthias Clasen
    Matthias Clasen committed Nov 21, 2011
  19. Improve mainloop test coverage slightly

    Matthias Clasen
    Matthias Clasen committed Nov 21, 2011
  20. Improve test coverage

    Matthias Clasen
    Matthias Clasen committed Nov 21, 2011
  21. Fix a case conversion bug

    Matthias Clasen
    Matthias Clasen committed Nov 21, 2011
    For titlecase chars without uppercase variant, we were returning
    0, contrary to the docs.
  22. Improve test coverage

    Matthias Clasen
    Matthias Clasen committed Nov 21, 2011
  23. Add a test for g_unichar_isdefined

    Matthias Clasen
    Matthias Clasen committed Nov 21, 2011
  24. gio/Makefile.am

    fanc999 committed Nov 21, 2011
    Filter out yet another *nix only source file from the Visual C++ project
    file completion rules.
  25. Update GLib Visual C++ projects

    fanc999 committed Nov 21, 2011
    Also link to WinMM.lib since timeGetTime is used (commit 8d023c2).
Commits on Nov 20, 2011
  1. GFile: Add some introspection annotations

    Matthias Clasen
    Matthias Clasen committed Nov 20, 2011
    progress_callback in g_file_copy and g_file_copy_async may be NULL.
    Annotations should reflect that. Pointed out by Carlo Teubner.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=664415
  2. Document that g_list_sort is a stable sort.

    Josselin Mouette
    Josselin Mouette committed Nov 20, 2011
    This is a guarantee for the future so that applications can rely on it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=531973
  3. Updated Spanish translation

    Jorge González
    Jorge González committed Nov 20, 2011
Commits on Nov 19, 2011
  1. Trivial doc typo fix

    Matthias Clasen
    Matthias Clasen committed Nov 19, 2011
  2. Updated Norwegian bokmål translation

    Kjartan Maraas
    Kjartan Maraas committed Nov 19, 2011
  3. GTlsCertificate: support unencrypted PKCS#8 private keys

    danwinship committed Nov 18, 2011
    PKCS#8 is the "right" way to encode private keys. Although the APIs do
    not currently support encrypted keys, we should at least support
    unencrypted PKCS#8 keys.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=664321
Commits on Nov 18, 2011
  1. [gio] Terminate connect call when application proxy is used

    ndufresne committed Nov 17, 2011
    The connect_async() calls would never terminated when an application side
    proxy was being used. Note we also skip over TLS handshake in this case,
    as the application may have to do some proxy handshake before.
  2. GMain: allow NULL context to g_source_attach

    gcampax committed Nov 17, 2011
    Documentation says it's fine and means default context, but the annotations
    are missing (and thus bindings would complain).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=664302