commit 46b83a838cd272395fcf2a6db49ed33e4ff3c7af
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Sat May 21 00:14:42 2011 -0400

    Updates

 NEWS |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

commit 89908908d50c5a5d3c7d73fc9a63a19d9a681cf3
Author: Ryan Lortie <desrt@desrt.ca>
Date:   Wed May 18 17:53:07 2011 -0400

    GApplication: fix remote action states

    Fix up remote_action_info_new_from_iter() to do its job better and use
    it from all places that it's appropriate.

    Closes #650236.

 gio/gapplicationimpl-dbus.c |   55
 ++++++++++++++++++++++++------------------
 1 files changed, 31 insertions(+), 24 deletions(-)

commit bb488d4c4ff5d18f5f0f45ca8aae1863b3ca8b1a
Author: Jasper Lievisse Adriaanse <jasper@humppa.nl>
Date:   Wed May 18 12:01:44 2011 -0400

    gatomic: #include gthread.h to fix compilation on nonoptimized
    architectures

    The fallback case of implementing atomic integers with mutexes needs
    gthread.h.

    Commit message written by Colin Walters <walters@verbum.org>

    https://bugzilla.gnome.org/show_bug.cgi?id=631153

 glib/gatomic.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit dee6ef109e6027f381fc9c674ed37c6b9a120585
Author: Colin Walters <walters@verbum.org>
Date:   Wed May 18 11:57:21 2011 -0400

    gtype: Remove unused variable

 gobject/gtype.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit 2ab5d96fa64436f3fd034039dd439d4a7b06b7ce
Author: Ryan Lortie <desrt@desrt.ca>
Date:   Tue May 17 11:58:46 2011 -0400

    Fix gsettings tool string handling

    There are some bugs caused by the way that gsettings-tool currently
    attempts to help the user when they leave the quotes off of a string
    value that they are setting.

    Simplify the code to make it more robust and add some comments
    about why
    it should be done this way.

    https://bugzilla.gnome.org/show_bug.cgi?id=649915

 gio/gsettings-tool.c |   36 ++++++++++++++++++++++++------------
 1 files changed, 24 insertions(+), 12 deletions(-)

commit e46332dc49d67206ad4d5ac66cc6aa211552952b
Author: Benjamin Otte <otte@redhat.com>
Date:   Tue May 17 14:58:39 2011 +0200

    gobject: Speed up g_type_from_name()

    The hash table used exclusively for looking up types by name used
    to map
    quarks => types. But we can easily make it map strings => types, which
    avoids the quark lookup. And that in trun avoids taking a lock and
    consulting another hash table. So this change should make
    g_type_from_name() roughly twice as fast.

 gobject/gtype.c |   18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

commit 317a249d82340e423b686deca4a6851fa81ce4c2
Author: John Lindgren <john.lindgren@tds.net>
Date:   Mon May 16 23:03:30 2011 -0400

    keyfile: fill parse buffer in line sized chunks

    When loading a keyfile the incoming bytes are fed
    to a line buffer to get parsed each time a new line
    is encountered.

    The code that fills the line buffer does it inefficiently,
    one byte at a time.

    This commit changes that code to look ahead at the incoming
    bytes for the next '\n' character and then fill the line buffer
    all at once.

    https://bugzilla.gnome.org/show_bug.cgi?id=650211

 glib/gkeyfile.c |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

commit 7cb768f890459427a8a131d431bbd9021430bed9
Author: John Lindgren <john.lindgren@tds.net>
Date:   Mon May 16 22:27:11 2011 -0400

    keyfile: avoid needless allocations on file load

    When loading a key file, the keys and values of individual lines
    are allocated once when copied and trimmed from the parse buffer
    and allocated/copied again when added to the lookup map.

    This commit avoids the second pair of allocations by introducing
    a new function g_key_file_add_key_value_pair that gives the
    lookup map direct ownership of the key and value copied from the
    parse buffer.

    https://bugzilla.gnome.org/show_bug.cgi?id=650211

 glib/gkeyfile.c |   36 +++++++++++++++++++++++++++++-------
 1 files changed, 29 insertions(+), 7 deletions(-)

commit 8e5f5d40b706198e150d43fd373dd0cb956abfe3
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Mon May 16 14:38:45 2011 -0400

    Rename a problematic test binary

    Having a binary called printf is apparently asking for trouble,
    so lets not do that.

    http://bugzilla.gnome.org/show_bug.cgi?id=650078

 glib/tests/Makefile.am   |    6 +-
 glib/tests/printf.c      |  945
 ----------------------------------------------
 glib/tests/test-printf.c |  945
 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 948 insertions(+), 948 deletions(-)

commit 5367f90c670a7fb18ebf47769bbe87e346da7afc
Author: Ryan Lortie <desrt@desrt.ca>
Date:   Wed May 4 18:12:31 2011 +0200

    GVariant: Better handling of invalid UTF-8

    g_variant_new_string() hits a g_return_if_fail() when given invalid
    UTF-8.  That's certainly the right thing to do, but
    g_variant_builder_add() uses this function internally and crashes when
    it returns NULL due to the user passing a non-utf8 string.

    We can protect the internal code by returning "[Invalid UTF-8]"
    in this
    case while also making the problem easier to debug (and less fatal).

    Closes #632631.

 glib/gvariant.c |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

commit 76c8e94637b86d1c139cae9e5b3aed3707682357
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Mon May 2 11:43:02 2011 -0400

    Bug 648966 - Update g_unichar_iswide and g_unichar_iswide_cjk

    Add tests.

 glib/tests/utf8-misc.c |   91
 +++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 87 insertions(+), 4 deletions(-)

commit 029b1fc03621026e2b2cdb7c3fb5d8c947f2923d
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Fri Apr 29 16:14:49 2011 -0400

    Bug 648966 - Update g_unichar_iswide and g_unichar_iswide_cjk

    Update to Unicode 6.0.  Also attach Python script that generates
    the tables.

 glib/Makefile.am         |    1 +
 glib/gen-iswide-table.py |   58 +++++++++++++++++++++++++++++++++
 glib/guniprop.c          |   81
 +++++++++++++++++++++++++++-------------------
 3 files changed, 107 insertions(+), 33 deletions(-)

commit c7271d2184adb5f0eb3ab8ddfb0834ab496e0a6e
Author: Alexander Larsson <alexl@redhat.com>
Date:   Fri Apr 29 16:14:17 2011 +0200

    GFilterInputStream: close-base-stream should not be construct-only

    This is a runtime changable property (by the methods for it), must
    be a cut and paste error.

 gio/gfilterinputstream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit ca5d9d7a22e8e5ad706d1a16ea3513ef6c43a8b7
Author: David Schleef <ds@schleef.org>
Date:   Mon Feb 21 18:58:09 2011 -0800

    Fix %z in g_date_time_format()

    https://bugzilla.gnome.org/show_bug.cgi?id=642935

 glib/gdatetime.c       |    5 ++---
 glib/tests/gdatetime.c |   19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

commit a50f18cdf04ffd7d253b6b2293865826d21ea562
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Tue Apr 26 23:26:58 2011 -0400

    Fix mailing list link in README

    Patch by Thomas Andersen, bug 647594

 README.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 486e6d3eb4a2b086ebf539809de8974c54df5028
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Tue Apr 26 22:51:54 2011 -0400

    Fix up some harmless FALSE <> NULL confusions

    Reported in bug 643134.

 gio/gdbusconnection.c |    2 +-
 gio/gdbusmessage.c    |    7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

commit 0278acbc6984acef38b7be89dd1952aafe47e0f8
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Tue Apr 26 22:08:24 2011 -0400

    GSequence: Make g_sequence_iter_move behave as documented

    As pointed out in bug 658313, moving before the begin iter is
    supposed to return the begin iter, not the end iter. Also add
    a test for this behaviour.

 glib/gsequence.c      |    8 +++++++-
 glib/tests/sequence.c |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+), 1 deletions(-)

commit 859c8f7ed74c7760906ac27b835a0e1269c42388
Author: Michael Terry <michael.terry@canonical.com>
Date:   Mon Apr 25 08:29:35 2011 -0400

    Don't ignore SUPPORTS_STARTUP_NOTIFICATION for commandline GAppInfos

    https://bugzilla.gnome.org/show_bug.cgi?id=648416

 gio/gdesktopappinfo.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 1209c923365dd3f4f9cf4bfca47e4d5a89abe361
Author: Gabor Kelemen <kelemeng@gnome.hu>
Date:   Wed May 18 12:39:31 2011 +0200

    Fix short day names in Hungarian translation

 po/hu.po |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

commit 35004746190934848a7d4be3287c9440af028871
Author: Chun-wei Fan <fanchunwei@src.gnome.org>
Date:   Wed May 18 11:15:56 2011 +0800

    Update Visual C++ README.txt

    Correct the unpacking path of GLib sources...

 build/win32/vs10/README.txt |    4 ++--
 build/win32/vs9/README.txt  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 5deeb94970c54ef41962795864d03b27507c6133
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date:   Sun May 8 14:12:23 2011 +0200

    [gi] Add missing allow-none annotations to GDBusConnection

    Cherrypicked from master commit 21c2291.

 gio/gdbusconnection.c |   72
 ++++++++++++++++++++++++++++--------------------
 1 files changed, 42 insertions(+), 30 deletions(-)

commit 09f7c3307e5b5fc1eccbbb076a3c11a7172a297d
Author: Chun-wei Fan <fanchunwei@src.gnome.org>
Date:   Thu May 5 15:11:18 2011 +0800

    Update VS 2010 "install" project

    The dependencies on gsettings and glib-compile-schemas were missed.
    Made up for them here.

 build/win32/vs10/install.vcxproj |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

commit 5d406412e971cc3f8578d53521556df4645429e0
Author: Abduxukur Abdurixit <abdurixit@gmail.com>
Date:   Sun May 1 20:08:04 2011 +0200

    Added UG translation

 po/ug.po | 7598
 +++++++++++++++++++++++++++++++-------------------------------
 1 files changed, 3793 insertions(+), 3805 deletions(-)

commit cb8143163d8d4fe3797d5aaa3b6d7b8a37939371
Author: Chun-wei Fan <fanchunwei@src.gnome.org>
Date:   Sun May 1 09:49:21 2011 +0800

    Update VS2008/2010 README.txt

    Tell people about the usage of ZLib to avoid the problem
    such as the one mentioned in Bug 633977

 build/win32/vs10/README.txt |    6 +++++-
 build/win32/vs9/README.txt  |    4 ++++
 2 files changed, 9 insertions(+), 1 deletions(-)

commit 4c09b4783e8003209c43b51f57a8d908f2e83844
Author: Şenol Korkmaz <mail@senolkorkmaz.info>
Date:   Tue Apr 26 02:50:30 2011 +0300

    Updated Turkish translation

 po/tr.po | 2682
 +++++++++++++++++++++++++++++++++++++++++---------------------
 1 files changed, 1798 insertions(+), 884 deletions(-)

commit 9b2cfd5f597b4a7473d9032f90e53f16fa5b3189
Author: Abduxukur Abdurixit <abdurixit@gmail.com>
Date:   Mon Apr 25 10:37:58 2011 +0200

    Added UG translation

 po/ug.po | 2054
 +++++++++++++++++++++++++++++++++++---------------------------
 1 files changed, 1162 insertions(+), 892 deletions(-)

commit a0b9585b500e9ed1cee7ff2f7ec8020a27bde544
Author: Chun-wei Fan <fanchunwei@src.gnome.org>
Date:   Mon Apr 25 13:16:28 2011 +0800

    Add VS 2010 compilation support for some utilities

    -Added projects to compile the glib-compile-schemas and gsettings
    utilities
    -Update .vsprops to install these in "install" phase
    -Distribute these projects also

 build/win32/vs10/Makefile.am                       |    4 +
 build/win32/vs10/glib-compile-schemas.vcxproj      |  174
 ++++++++++++++++++++
 .../vs10/glib-compile-schemas.vcxproj.filters      |   17 ++
 build/win32/vs10/glib.props                        |    8 +
 build/win32/vs10/glib.sln                          |   36 ++++
 build/win32/vs10/gsettings.vcxproj                 |  174
 ++++++++++++++++++++
 build/win32/vs10/gsettings.vcxproj.filters         |   14 ++
 7 files changed, 427 insertions(+), 0 deletions(-)

commit 53298de608112843c309973851fa2828959b59da
Author: Chun-wei Fan <fanchunwei@src.gnome.org>
Date:   Mon Apr 25 12:33:43 2011 +0800

    Add VS 2008 compilation support for some utilities

    -Added projects to compile the glib-compile-schemas and gsettings
    utilities
    -Update .vsprops to install these in "install" phase
    -Distribute these projects also

 build/win32/vs9/Makefile.am                 |    2 +
 build/win32/vs9/glib-compile-schemas.vcproj |  152
 +++++++++++++++++++++++++++
 build/win32/vs9/glib.sln                    |   48 +++++++++
 build/win32/vs9/glib.vsprops                |    5 +
 build/win32/vs9/gsettings.vcproj            |  152
 +++++++++++++++++++++++++++
 5 files changed, 359 insertions(+), 0 deletions(-)

commit 2a1514a29fa4ad3d74d022b12167cc5364bb344c
Author: Chun-wei Fan <fanchunwei@src.gnome.org>
Date:   Fri Apr 22 19:09:38 2011 +0800

    Bug 643161: VS 2010 Project files (autotools)

    Added rules in GLib, GIO and GObject to
    expand the respective project files and templates
    during "make dist" so that the source file listing
    is up-to-date in releases, so to simplify their maintenance.

 gio/Makefile.am     |   24 +++++++++++++++++++++++-
 glib/Makefile.am    |   27 ++++++++++++++++++++++++++-
 gobject/Makefile.am |   23 ++++++++++++++++++++++-
 3 files changed, 71 insertions(+), 3 deletions(-)

commit 2aa3098933809d407defdf7def5ecbce27c02f9a
Author: Chun-wei Fan <fanchunwei@src.gnome.org>
Date:   Fri Apr 22 19:06:09 2011 +0800

    Bug 643161: VS2010 Projects (autotools part)

    These files are changed to enable distribution of VS2010
    project files..

 build/win32/Makefile.am      |    3 ++-
 build/win32/vs10/Makefile.am |   29 +++++++++++++++++++++++++++++
 configure.ac                 |    1 +
 3 files changed, 32 insertions(+), 1 deletions(-)

commit 57278be01c4d1571f8d161ee1a4c8e1cf99799a8
Author: Chun-wei Fan <fanchunwei@src.gnome.org>
Date:   Fri Apr 22 19:04:16 2011 +0800

    Bug 643161: Visual C++ 2010 Project Files

    These are the VS 2010 project files to compile GLib.

    Like the VS2008 files, the GLib, GIO and GObject
    projects and filters are expanded from templates
    during "make dist"

 build/win32/vs10/README.txt                        |   52 ++
 build/win32/vs10/gio.vcxproj.filtersin             |   51 ++
 build/win32/vs10/gio.vcxprojin                     |  223 ++++++++
 build/win32/vs10/glib-genmarshal.vcxproj           |  170 ++++++
 build/win32/vs10/glib-genmarshal.vcxproj.filters   |   22 +
 build/win32/vs10/glib.props                        |  538
 ++++++++++++++++++++
 build/win32/vs10/glib.sln                          |  199 ++++++++
 build/win32/vs10/glib.vcxproj.filtersin            |  114 ++++
 build/win32/vs10/glib.vcxprojin                    |  476
 +++++++++++++++++
 build/win32/vs10/gmodule.vcxproj                   |  201 ++++++++
 build/win32/vs10/gmodule.vcxproj.filters           |   32 ++
 build/win32/vs10/gobject.vcxproj.filtersin         |   30 ++
 build/win32/vs10/gobject.vcxprojin                 |  207 ++++++++
 .../win32/vs10/gspawn-win32-helper-console.vcxproj |  172 +++++++
 .../gspawn-win32-helper-console.vcxproj.filters    |   22 +
 build/win32/vs10/gspawn-win32-helper.vcxproj       |  172 +++++++
 .../win32/vs10/gspawn-win32-helper.vcxproj.filters |   22 +
 build/win32/vs10/gthread.vcxproj                   |  188 +++++++
 build/win32/vs10/gthread.vcxproj.filters           |   32 ++
 build/win32/vs10/install.vcxproj                   |  137 +++++
 build/win32/vs10/testglib.vcxproj                  |  170 ++++++
 build/win32/vs10/testglib.vcxproj.filters          |   22 +
 22 files changed, 3252 insertions(+), 0 deletions(-)

commit 41de9eff2ce5a65ae2f915bb466c2b8dcc8a51a5
Author: Chun-wei Fan <fanchunwei@src.gnome.org>
Date:   Fri Apr 22 18:57:49 2011 +0800

    Update config.h.win32(.in) for VS 2010

    VS 2010 ships with stdint.h, so update the file.

 config.h.win32.in |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

commit e781c26b2516d2131f9b830e174e5e2b41e91d81
Author: Ryan Lortie <desrt@desrt.ca>
Date:   Sat Apr 16 10:52:12 2011 -0400

    GTimeZone: fix non-threadsafe refcounting

    In the previous code, if the timezone was pulled out of the cache
    again
    just as the last reference was being dropped, the cache code will
    increase its refcount and return it while the unref code was
    freeing it.

    Protect against that.

    Note that this patch is not a straight cherry-pick of the one from
    master.  It follows closer to the solution that was originally
    recommended in the bug and holds the mutex during every unref
    operation.
    Because we don't have the GTimeZoneMonitor changes involved here,
    it's a
    little bit more elegant (due to no early exit condition).  Also, it's
    the stable release, and I have more confidence in it (even if it's
    probably slower).

    Closes #646435.

 glib/gtimezone.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 8c24ea5f49164722357a666c1e4a88016069656f
Author: Ryan Lortie <desrt@desrt.ca>
Date:   Fri Apr 15 09:27:38 2011 -0400

    builder: do not include <unistd.h> on win32

    Spotted by Kean Johnston <kean.johnston@gmail.com>.

    https://mail.gnome.org/archives/gtk-devel-list/2011-April/msg00010.html

 gio/gvdb/gvdb-builder.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit c06be2051541644938616e0da6f1a02b71bc56d5
Author: Michael Kuhn <suraia@ikkoku.de>
Date:   Wed Dec 22 10:11:11 2010 +0100

    Bug 637561 - Crash when using G_DBUS_SERVER_FLAGS_RUN_IN_THREAD

    https://bugzilla.gnome.org/show_bug.cgi?id=637561

    Signed-off-by: David Zeuthen <davidz@redhat.com>

 gio/gdbusserver.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

commit eb70e543707b6c300a46d867968c2b3745cd7c24
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date:   Thu Mar 31 13:58:55 2011 +0100

    /gdbus/message-serialize-invalid test: be compatible with D-Bus 1.4.8

    Older versions of libdbus would let you construct an invalid
    DBusMessage, but that's a bug, which will be fixed in 1.4.8/1.5.0.
    Instead, construct a valid message of the same length, then replace
    substrings in the serialized blob with their invalid counterparts.

    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=646326

    Signed-off-by: David Zeuthen <davidz@redhat.com>

 gio/tests/gdbus-serialization.c |   43
 ++++++++++++++++++++++++++++++--------
 1 files changed, 34 insertions(+), 9 deletions(-)

commit fc80ec9d0c244d0db8625f67c2d3c39acaec3fd6
Author: David Zeuthen <davidz@redhat.com>
Date:   Wed Apr 13 18:40:47 2011 -0400

    GDBus: If an authentication method fail, don't give up, just try
    the next one

    This problem was reported in bug 647602.

    https://bugzilla.gnome.org/show_bug.cgi?id=647602

    Signed-off-by: David Zeuthen <davidz@redhat.com>

 gio/gdbusauth.c |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

commit 69c4e81d0a3fd752bd261131816112b749acdb12
Author: David Zeuthen <davidz@redhat.com>
Date:   Wed Apr 13 18:19:57 2011 -0400

    GDBus: Nuke debug spew from the ANONYMOUS authentication method

    Signed-off-by: David Zeuthen <davidz@redhat.com>

 gio/gdbusauthmechanismanon.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

commit 3ea204ccf704167dcbf1c0ae1ecd690c795ca99c
Author: Colin Walters <walters@verbum.org>
Date:   Wed Apr 13 14:03:58 2011 -0400

    gdbusconnection: Avoid tripping assertion if we fail to authenticate
    twice

    If g_bus_get_sync() fails in authentication (because e.g. the process
    uid, doesn't match the expected in EXTERNAL), a secondary call to
    g_bus_get_sync() would notice we aren't initialized, and try
    to initialize.

    The assertion here is just wrong; we now explicitly and clearly handle
    both cases where we already have an error, or we already succeeded.

    https://bugzilla.gnome.org/show_bug.cgi?id=635694
    Signed-off-by: David Zeuthen <davidz@redhat.com>

 gio/gdbusconnection.c |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

commit 3a2d5c40892406b58323019adac521000eefa4d6
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Thu Apr 14 00:26:56 2011 -0400

    Bump version

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)