Permalink
Commits on May 21, 2011
  1. Updates

    Matthias Clasen committed May 21, 2011
  2. 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.
    desrt committed with Matthias Clasen May 18, 2011
  3. gatomic: #include gthread.h to fix compilation on nonoptimized archit…

    …ectures
    
    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
    jasperla committed with Matthias Clasen May 18, 2011
  4. gtype: Remove unused variable

    cgwalters committed with Matthias Clasen May 18, 2011
  5. 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
    desrt committed with Matthias Clasen May 17, 2011
  6. 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.
    Benjamin Otte committed with Matthias Clasen May 17, 2011
  7. 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
    John Lindgren committed with Matthias Clasen May 17, 2011
  8. 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
    John Lindgren committed with Matthias Clasen May 17, 2011
  9. 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
    Matthias Clasen committed May 16, 2011
  10. 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.
    desrt committed with Matthias Clasen May 4, 2011
  11. Bug 648966 - Update g_unichar_iswide and g_unichar_iswide_cjk

    Add tests.
    behdad committed with Matthias Clasen May 2, 2011
  12. Bug 648966 - Update g_unichar_iswide and g_unichar_iswide_cjk

    Update to Unicode 6.0.  Also attach Python script that generates
    the tables.
    behdad committed with Matthias Clasen Apr 29, 2011
  13. 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.
    alexlarsson committed with Matthias Clasen Apr 29, 2011
  14. Fix mailing list link in README

    Patch by Thomas Andersen, bug 647594
    Matthias Clasen committed Apr 27, 2011
  15. Fix up some harmless FALSE <> NULL confusions

    Reported in bug 643134.
    Matthias Clasen committed Apr 27, 2011
  16. 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.
    Matthias Clasen committed Apr 27, 2011
Commits on May 18, 2011
  1. Update Visual C++ README.txt

    Correct the unpacking path of GLib sources...
    fanc999 committed May 18, 2011
Commits on May 8, 2011
  1. [gi] Add missing allow-none annotations to GDBusConnection

    Cherrypicked from master commit 21c2291.
    martinpitt committed May 8, 2011
Commits on May 5, 2011
  1. Update VS 2010 "install" project

    The dependencies on gsettings and glib-compile-schemas were missed.
    Made up for them here.
    fanc999 committed May 5, 2011
Commits on May 1, 2011
  1. Added UG translation

    Abduxukur Abdurixit committed May 1, 2011
  2. Update VS2008/2010 README.txt

    Tell people about the usage of ZLib to avoid the problem
    such as the one mentioned in Bug 633977
    fanc999 committed May 1, 2011
Commits on Apr 25, 2011
  1. Updated Turkish translation

    senol committed with mrkara Apr 25, 2011
  2. Added UG translation

    Abduxukur Abdurixit committed Apr 25, 2011
  3. 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
    fanc999 committed Apr 25, 2011
  4. 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
    fanc999 committed Apr 25, 2011
Commits on Apr 22, 2011
  1. 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.
    fanc999 committed Apr 22, 2011
  2. Bug 643161: VS2010 Projects (autotools part)

    These files are changed to enable distribution of VS2010
    project files..
    fanc999 committed Apr 22, 2011
  3. 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"
    fanc999 committed Apr 22, 2011
  4. Update config.h.win32(.in) for VS 2010

    VS 2010 ships with stdint.h, so update the file.
    fanc999 committed Apr 22, 2011
Commits on Apr 16, 2011
  1. 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.
    desrt committed Apr 16, 2011
Commits on Apr 15, 2011
  1. 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
    desrt committed Apr 15, 2011
  2. 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>
    michaelkuhn committed with David Zeuthen Dec 22, 2010