CVSROOT: /cvs/gnome
Module name: gnome-vfs
Changes by: tml 05/04/20 19:58:15
Modified files:
. : ChangeLog
libgnomevfs : gnome-vfs-application-registry.c
gnome-vfs-configuration.c gnome-vfs-method.c
gnome-vfs-mime-info-cache.c
gnome-vfs-mime-info.c gnome-vfs-mime.c
gnome-vfs-module-shared.c gnome-vfs-utils.c
gnome-vfs-volume-monitor.c
modules : file-method.c
test : test-mime.c
Log message:
2005-04-20 Tor Lillqvist <[EMAIL PROTECTED]>
Further Win32 work. Please note that also changes to the xdgmime
files are necessary for improved functionality on Win32. Those
have been submitted upstream. Hopefully they will get accepted,
and then propagate here.
* imported/fnmatch/fnmatch.c (fnmatch_utf8): The fnmatch() lifted
from GTK+ returns TRUE on a match, while the "standard" fnmatch()
should return zero on a match. Thus we must negate the return
value.
* libgnomevfs/*.c: Use GDir functions instead of dirent functions,
for Win32 UTF-8 file name support. Use gstdio wrappers in more
places, for the same reason. Use g_build_filename() instead of
g_strconcat() when constructing file names. Use
G_SEARCHPATH_SEPARATOR instead of hardcoded ':'. Use g_file_test()
where applicable instead of stat() and/or access().
* libgnomevfs/gnome-vfs-utils.c (const guchar acceptable[]):
Improve comments: Put each char in a comment line above its
corresponding table entry.
(gnome_vfs_escape_path_string): Separate code for Windows. Turn
backslashes into forward slashes, and use a leading slash even if
the path is absolute and includes a drive letter. Don't escape the
colon after the drive letter. This matches the syntax used in
Inter Shortcut (.url) files.
Still have to investigate more what encoding to use for non-ASCII
characters for best interoperability with native Win32
applications. Explorer seems to use UTF-7 for file: URLs pointing
to files with non-ASCII names.
* modules/file-method.c (get_path_from_uri): Check also that there
actually is an initial slash in front of the drive letter and
colon.
* test/test-mime.c (is_uri): Check for absolute file path earlier
not to mistake drive letters for methods.
(main): Use g_path_is_absolute() instead of checking if first char
is a slash. Use g_build_filename() instead of g_strconcat().
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-vfs&who=tml&date=explicit&mindate=2005-04-20%2019:57&maxdate=2005-04-20%2019:59
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list