2008-06-10 Matthias Clasen <mclasen@redhat.com>
Bug 537392 – Additional colon in xattr name
* glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
too. Reported by Alessandro Morandi
svn path=/branches/glib-2-16/; revision=7121
* gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
is no parent. (Owen Taylor, patch by Christian Neumair)
svn path=/branches/glib-2-16/; revision=7119
* glib/gtestutils.c (g_assertion_message_cmpnum): Actually print
hex numbers in hex.
Pointed out by Tor Lillqvist
svn path=/branches/glib-2-16/; revision=7115
file
* glib/gunicollate.c (g_utf8_collate_key): Handle strfxrm returning
-1 a little better. Problem pointed out by Takao Fujiwara
svn path=/branches/glib-2-16/; revision=7114
* configure.in:
* glib/gthread.h: Revert previous patch as it doesn't improve the
situation and results in other warnings.
svn path=/branches/glib-2-16/; revision=7063
2008-06-19 Tor Lillqvist <tml@novell.com>
Bug 539074 - Cannot get exit status with g_spawn_command_line_sync()
* glib/gspawn-win32-helper.c (main): Write also the exit status of
the spawned process to the error report pipe. Patch by Hiroyuki
Ikezoe.
svn path=/branches/glib-2-16/; revision=7061
* gtype.c (g_type_class_ref): fixed race condition where references to
partially initialized classes could be handed out.
svn path=/branches/glib-2-16/; revision=7054
2008-05-30 Tor Lillqvist <tml@novell.com>
* glib/gstdio.c (g_access) [Win32]: Mask out X_OK to avoid problem
on Vista. X_OK was just ignored by access() in earlier Microsoft C
libraries. (Which is fine as executability has little meaning on
Windows.) The one on Vista returns an error if X_OK is passed.
svn path=/branches/glib-2-16/; revision=6962
2008-05-29 Tor Lillqvist <tml@novell.com>
* glib/gnulib/printf-args.c (printf_fetchargs): wint_t is short on
Windows, and gcc warns: "wint_t is promoted to int when passed
through ... (so you should pass int not wint_t to va_arg)." And
indeed g_print("%C", L'a') crashes. So do as gcc says then.
svn path=/branches/glib-2-16/; revision=6958
2008-05-17 Wouter Bolsterlee <wbolster@svn.gnome.org>
* build: Fixup Tor's "build" svn:external commit. The
svn:external was not actually removed, so this caused
errors when updating.
svn path=/branches/glib-2-16/; revision=6904
2008-05-17 Tor Lillqvist <tml@novell.com>
* build: Don't include the "build" module with svn:externals any
longer. Instead add the still relevant directories and files from
it for real here in GLib.
svn path=/branches/glib-2-16/; revision=6896
2008-05-14 Michael Natterer <mitch@imendio.com>
Merged from trunk:
* glib/gatomic.c: #include "config.h" before using G_ATOMIC_ARM.
svn path=/branches/glib-2-16/; revision=6890
2008-05-13 Bastien Nocera <hadess@hadess.net>
* gfile.c (has_valid_scheme): A URI scheme must start with a
letter, even if later more characters are allowed (#532852)
svn path=/branches/glib-2-16/; revision=6886
2008-05-09 Alexander Shopov <ash@contact.bg>
* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>
svn path=/branches/glib-2-16/; revision=6881
2008-04-28 David Zeuthen <davidz@redhat.com>
* gunixmounts.c (g_unix_mount_guess_should_display): Avoid
displaying mounts in a subdirectory not accessible to the
user (#526320).
svn path=/branches/glib-2-16/; revision=6873
2008-04-21 Tor Lillqvist <tml@novell.com>
Bug 528752 - Win32 build and SSL not working
This bug report against libsoup points out an issue with the use
of bitfields in the GIOChannel struct that should really be taken
care of here in GLib.
* configure.in: Add Autoconf variable GLIB_EXTRA_CFLAGS which will
contain the -mms-bitfields flag on Windows.
* glib-2.0.pc.in: Add it to Cflags.
svn path=/branches/glib-2-16/; revision=6867
2008-04-16 Matthias Clasen <mclasen@redhat.com>
* xdgmime/xdgmime.c: Rework the timestamp checking code
to protect against duplicate directories in XDG_DATA_DIRS.
Fixes fd.o bug 12513, reported by Joe Shaw.
svn path=/branches/glib-2-16/; revision=6860
2008-04-16 Matthias Clasen <mclasen@redhat.com>
Partically revert the last commit after realizing that
xdg_mime_media_type_equal doesn't have to init at all.
* xdgmime/xdgmime.h:
* xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
* xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
svn path=/branches/glib-2-16/; revision=6858
2008-04-16 Matthias Clasen <mclasen@redhat.com>
Avoid possible memory corruption in xdgmime, fd.o bug 12512,
reported by Joe Shaw and Federico Mena Quintero.
* xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
(xdg_mime_media_type_equal): Turn into a wrapper around the
_-prefixed version.
* xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
functions throughout.
svn path=/branches/glib-2-16/; revision=6855
2008-04-16 Michael Meeks <michael.meeks@novell.com>
* gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
tolerate an empty TryExec= line without failing; nautilus used
to create launchers with these in previous versions. Fixes#528433
svn path=/branches/glib-2-16/; revision=6852
2008-04-11 Tor Lillqvist <tml@novell.com>
* configure.in
* glibconfig.h.win32.in
* glib/gutils.c: Revert my changes for static build for Win32
from 2008-04-03--04. They were not complete and it's not
apropriate to do changes like that in the stable branch anyway. I
will continue that effort in trunk.
svn path=/branches/glib-2-16/; revision=6849
2008-04-09 Federico Mena Quintero <federico@novell.com>
Merged from trunk:
* glib/gbookmarkfile.c (bookmark_metadata_free): Don't leak
the apps_by_name hash table if the applications list is empty.
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/branches/glib-2-16/; revision=6847
2008-04-07 Matthias Clasen <mclasen@redhat.com>
Bug 526796 – Wrong order of arguments in g_file_copy's fallback
* gfile.c (file_copy_fallback): Fix the argument order. Patch
by Christian Kellner.
svn path=/branches/glib-2-16/; revision=6831
2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
* gunixmounts.c: (g_unix_mount_guess_should_display):
Don't list the user directory as a mount, fix potential issue
when other users have a similar naming and don't special case the
gvfs mounts there since that's not required (#525866)
svn path=/branches/glib-2-16/; revision=6824