Commits on Oct 16, 2008
  1. 2.19.0

    svn path=/trunk/; revision=7611
    Matthias Clasen committed Oct 16, 2008
  2. Don't specify multiple directories in DOC_SOURCE_DIR. It doesn't work.

    2008-10-16  Matthias Clasen  <mclasen@redhat.com>
    
            * glib/Makefile.am: Don't specify multiple directories in
            DOC_SOURCE_DIR. It doesn't work.
    
    
    svn path=/trunk/; revision=7607
    Matthias Clasen committed with Matthias Clasen Oct 16, 2008
  3. Updates

    svn path=/trunk/; revision=7604
    Matthias Clasen committed Oct 16, 2008
  4. Bug 556422 – g_file_enumerator_next_file: unclear whether return value

    2008-10-16  Matthias Clasen  <mclasen@redhat.com>
    
            Bug 556422 – g_file_enumerator_next_file: unclear whether return
            value needs to be freed
    
            * gfileenumerator.c (g_file_enumerate_next_file): Clarify
            the return value docs. Pointed out by Armin Burgmeier
    
    svn path=/trunk/; revision=7603
    Matthias Clasen committed with Matthias Clasen Oct 16, 2008
Commits on Oct 15, 2008
  1. Bug 556334 – Warning when building without selinux support

    2008-10-14  Matthias Clasen  <mclasen@redhat.com>
    
            Bug 556334 – Warning when building without selinux support
    
            * glocalfileinfo.c: Avoid compiler warnings when selinux is
            disabled. Patch by Pascal Terjan
    
    
    svn path=/trunk/; revision=7601
    Matthias Clasen committed with Matthias Clasen Oct 15, 2008
  2. Fix make check

    svn path=/trunk/; revision=7600
    Matthias Clasen committed Oct 15, 2008
Commits on Oct 14, 2008
  1. Bug 556186 – gpoll.h breaks gmain.h inclusion

    svn path=/trunk/; revision=7599
    Christian Persch committed Oct 14, 2008
Commits on Oct 13, 2008
  1. Bug 556101 – static mutex yields warnings with g++ Reviewed by Tim Janik

    2008-10-13  Sven Herzberg  <sven@imendio.com>
    
    	Bug 556101 – static mutex yields warnings with g++
    	Reviewed by Tim Janik
    
    	* configure.in: added an intermediate cast to gpointer
    
    
    svn path=/trunk/; revision=7598
    Sven Herzberg committed with Sven Herzberg Oct 13, 2008
  2. Bug 555311 – format not a string literal and no format arguments

    svn path=/trunk/; revision=7597
    Christian Persch committed Oct 13, 2008
  3. @alexlarsson

    When adding an application as handling a mime type (but not as the

    2008-10-13  Alexander Larsson  <alexl@redhat.com>
    
            * gdesktopappinfo.c:
    	When adding an application as handling a mime type (but
    	not as the default), copy the full list of desktop ids handling
    	that type in before adding the new one on the end of the list.
    	This means we're not accidentally changing the default by overriding
    	the info from the later directories in the search path.
    	
    	Also, fixes small leak of removed_entries.
    
    
    
    svn path=/trunk/; revision=7595
    alexlarsson committed with Alexander Larsson Oct 13, 2008
Commits on Oct 12, 2008
  1. Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).

    2008-10-12  David Zeuthen  <davidz@redhat.com>
    
            * gio.symbols:
            * gunionvolumemonitor.c:
            * gvolumemonitor.h:
            Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
    
    
    svn path=/trunk/; revision=7594
    David Zeuthen committed with David Zeuthen Oct 12, 2008
Commits on Oct 11, 2008
  1. @behdad

    Bug 551355 – [PATCH] Make glib build with libtool 2.2

    2008-10-10  Behdad Esfahbod  <behdad@gnome.org>
    
            Bug 551355 – [PATCH] Make glib build with libtool 2.2
    
            * autogen.sh: Accept libtool 2.2.   We are moving towards having
            it working.
    
    
    svn path=/trunk/; revision=7593
    behdad committed with Behdad Esfahbod Oct 11, 2008
Commits on Oct 10, 2008
  1. @behdad

    With libtool 2.x, regenerate libtool early. Based on bug 552107, patc…

    …h by
    
    2008-10-10  Behdad Esfahbod  <behdad@gnome.org>
    
            * configure.in: With libtool 2.x, regenerate libtool early.
            Based on bug 552107, patch by Patryk Zawadzki
    
    
    svn path=/trunk/; revision=7592
    behdad committed with Behdad Esfahbod Oct 10, 2008
  2. @alexlarsson

    Upper half of byte is >> 4, not >> 8. Found by Kjartan Maraas via sparse

    2008-10-10  Alexander Larsson  <alexl@redhat.com>
    
    	* gfileattribute.c (escape_byte_string):
    	Upper half of byte is >> 4, not >> 8.
    	Found by Kjartan Maraas via sparse
    
    
    svn path=/trunk/; revision=7590
    alexlarsson committed with Alexander Larsson Oct 10, 2008
  3. Bug 555711 – Wrong fallback order of mimetype icons

            * gcontenttype.c: Don't prefer generic icons over
            default mimetype icons.
    
            * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
            * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
            to generic icons.
            Patch by Krysztof Kosiński
    
    
    svn path=/trunk/; revision=7587
    Matthias Clasen committed Oct 10, 2008
  4. Bug 555121 – Improved build-time handling of gio module-dir

    2008-10-10  Matthias Clasen  <mclasen@redhat.com>
    
            Bug 555121 – Improved build-time handling of gio module-dir
    
            * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
            * Makefile.am: Create the module dir.
    
    
    svn path=/trunk/; revision=7586
    Matthias Clasen committed with Matthias Clasen Oct 10, 2008
  5. Fix gcc warnings

    svn path=/trunk/; revision=7585
    Matthias Clasen committed Oct 10, 2008
  6. Bug 552861 – glib-2.0.m4 calls system(3) without storing its result

    2008-10-10  Matthias Clasen  <mclasen@redhat.com>
    
            Bug 552861 – glib-2.0.m4 calls system(3) without storing its result
    
            * m4macros/glib-2.0.m4: Cosmetic change to make -Werror happy.
            Patch by Andreas Köhler
    
    
    svn path=/trunk/; revision=7584
    Matthias Clasen committed with Matthias Clasen Oct 10, 2008
Commits on Oct 9, 2008
  1. @alexlarsson

    Actually return -1 in case of cancelled, not old res value.

    2008-10-09  Alexander Larsson  <alexl@redhat.com>
    
    	* gunixinputstream.c (g_unix_input_stream_read):
    	Actually return -1 in case of cancelled, not old res value.
    
    
    
    svn path=/trunk/; revision=7583
    alexlarsson committed with Alexander Larsson Oct 9, 2008
Commits on Oct 8, 2008
  1. Bug 555313 – GFileAttribute boxed type get_type function should use

    usual get_type pattern
    
    svn path=/trunk/; revision=7580
    Christian Persch committed Oct 8, 2008
  2. Bug 555314 – mem leak in gmarkup

    svn path=/trunk/; revision=7579
    Christian Persch committed Oct 8, 2008
  3. Bug 554790 - g_convert() misbehaves with winiconv versions

    2008-10-08  Tor Lillqvist  <tml@novell.com>
    
    	Bug 554790 - g_convert() misbehaves with winiconv versions
    
    	* glib/win_iconv.c (kernel_mbtowc): If converting from ASCII,
    	explicitly check for and reject 8bit chars. MultiByteToWideChar()
    	doesn't, at least not on XP.
    
    
    svn path=/trunk/; revision=7578
    Tor Lillqvist committed with Tor Lillqvist Oct 8, 2008
Commits on Oct 7, 2008
  1. Properly include gmacros.h

    svn path=/trunk/; revision=7575
    Matthias Clasen committed Oct 7, 2008
Commits on Oct 6, 2008
  1. @behdad

    Bug 555309 – giochannel breaks on error Patch from Christian Persch

    2008-10-06  Behdad Esfahbod  <behdad@gnome.org>
    
            Bug 555309 – giochannel breaks on error
            Patch from Christian Persch
    
            * glib/giounix.c (g_io_unix_read), (g_io_unix_write),
            (g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags):
            Don't shadow err.  Oops!
    
    
    svn path=/trunk/; revision=7574
    behdad committed with Behdad Esfahbod Oct 6, 2008
  2. @cgwalters

    Bug 554745 - GFileAttributeInfoList should be boxed

    2008-10-06  Colin Walters  <walters@verbum.org>
    
    	Bug 554745 - GFileAttributeInfoList should be boxed
    
    	* gio/gfileattribute.c: Define a boxed type for GFileAttributeList
    	for convenience of bindings.
    	* gio/gfileattribute.h: Prototype it.
    
    
    svn path=/trunk/; revision=7573
    cgwalters committed with Colin Walters Oct 6, 2008
  3. Bug 555224 – Improve g_format_size_for_display doc

    * glib/gfileutils.c: change g_format_size_for_display API doc to
    explicitly say that the returned string has to be freed. Change
    spelling of "newly allocated" to "newly-allocated" in g_file_read_link
    API doc to be more consistent with what is done in that file.
    
    svn path=/trunk/; revision=7572
    Christophe Fergeau committed Oct 6, 2008
Commits on Oct 5, 2008
  1. @pterjan @pterjan

    Bug 554970 – segfault when update-desktop-database is not available

    2008-10-05  Pascal Terjan  <pterjan@linuxfr.org>
    
    	Bug 554970 – segfault when update-desktop-database is not available
    	on the system
    
    	* gdesktopappinfo.c (run_update_command): Have the error set before 
    	using it.
    
    
    svn path=/trunk/; revision=7570
    pterjan committed with pterjan Oct 5, 2008
Commits on Oct 4, 2008
  1. Updated Brazilian Portuguese translation.

    svn path=/trunk/; revision=7568
    Og B. Maciel committed Oct 4, 2008
Commits on Oct 1, 2008
  1. If possible, always pass FUSE file:// URIs (such as

    2008-10-01  David Zeuthen  <davidz@redhat.com>
    
    	* gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
    	file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
    	instead of the gio URI (such as sftp://foo/file.avi) when using
    	g_app_info_launch() and friends. With a sufficiently recent gvfs,
    	apps using gio+gvfs will map the FUSE file:// URI back to the gio
    	URI (and thus bypass the fuse daemon) thanks the patch from bug
    	#530654.  Since Nautilus is an user of g_app_info_launch() it
    	means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
    	when launced via the file manager. Win. Fixes bug #528670.
    
    	* gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
    	mapping to the description of GAppInfo.
    
    2008-10-01  David Zeuthen  <davidz@redhat.com>
    
    	* README.in: Add "Notes about glib 2.20" section detailing the
    	ramifications of the patch from bug #528670.
    
    
    svn path=/trunk/; revision=7566
    David Zeuthen committed with David Zeuthen Oct 1, 2008
Commits on Sep 30, 2008
  1. @behdad

    Bug 554092 – glib doesn't return G_FILE_ERROR_NOENT et al on OS X

    2008-09-30  Behdad Esfahbod  <behdad@gnome.org>
    
            Bug 554092 – glib doesn't return G_FILE_ERROR_NOENT et al on OS X
    
            * glib/giounix.c (g_io_unix_read), (g_io_unix_write),
            (g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags),
            (g_io_unix_get_flags), (g_io_channel_new_file):
            Like mclasen says: "well, thats the way errno works...,
            save it or loose it".  Save errno.
    
    
    svn path=/trunk/; revision=7565
    behdad committed with Behdad Esfahbod Sep 30, 2008
  2. Makefile.decl Bypass gtester related stuff on Windows.

    2008-09-30  Tor Lillqvist  <tml@novell.com>
    
    	* Makefile.decl
    	* glib/tests/Makefile.am: Bypass gtester related stuff on Windows.
    
    
    svn path=/trunk/; revision=7564
    Tor Lillqvist committed with Tor Lillqvist Sep 30, 2008
  3. glib/gprintf.c Don't define _GNU_SOURCE on Windows, as _GNU_SOURCE has

    2008-09-30  Tor Lillqvist  <tml@novell.com>
    
    	* glib/gprintf.c
    	* glib/gnulib/vasnprintf.c: Don't define _GNU_SOURCE on Windows,
    	as _GNU_SOURCE has unintended side effects when compiling against
    	newest mingw headers.
    
    
    svn path=/trunk/; revision=7563
    Tor Lillqvist committed with Tor Lillqvist Sep 30, 2008
  4. Build desktop-app-info only on Unix.

    2008-09-30  Tor Lillqvist  <tml@novell.com>
    
    	* tests/Makefile.am: Build desktop-app-info only on Unix.
    
    
    svn path=/trunk/; revision=7562
    Tor Lillqvist committed with Tor Lillqvist Sep 30, 2008
  5. Avoid a g_critical(). Pass a large enough result buffer to

    2008-09-30  Tor Lillqvist  <tml@novell.com>
    
    	* glocalfile.c (get_volume_for_path) [Win32]: Avoid a
    	g_critical(). Pass a large enough result buffer to
    	GetVolumePathNameW(). Just use MAX_PATH.
    
    
    svn path=/trunk/; revision=7561
    Tor Lillqvist committed with Tor Lillqvist Sep 30, 2008
Commits on Sep 29, 2008
  1. Clarify semantics of g_volume_mount_finish() (#552168)

    2008-09-29  David Zeuthen  <davidz@redhat.com>
    
            * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
    
    
    svn path=/trunk/; revision=7559
    David Zeuthen committed with David Zeuthen Sep 29, 2008