CVSROOT: /cvs/gnome Module name: gnome-vfs Changes by: tml 05/04/19 07:54:53
Modified files: . : ChangeLog Makefile.am configure.in libgnomevfs : Makefile.am gnome-vfs-address.c gnome-vfs-mime.c gnome-vfs-private-utils.c gnome-vfs-resolve.c gnome-vfs-utils.c modules : file-method.c imported : Makefile.am Added files: . : gnome-vfs-zip.in imported/fnmatch: Makefile.am fnmatch.c fnmatch.h Log message: 2005-04-19 Tor Lillqvist <[EMAIL PROTECTED]> * gnome-vfs-zip.in: New file, used to build gnome-vfs zipfile distribution for Win32. * configure.in: We do have getaddrinfo() on Win32. * imported/fnmatch/Makefile.am * imported/fnmatch/fnmatch.c * imported/fnmatch/fnmatch.h: Import the fnmatch() from GTK+ for xdgmime's use on Win32. * libgnomevfs/Makefile.am: Use fnmatch() from ../imported/fnmatch on Win32. * libgnomevfs/gnome-vfs-address.c * libgnomevfs/gnome-vfs-resolve.c: Include <ws2tcpip.h> on Win32 for IPv6 support. * libgnomevfs/gnome-vfs-address.c (gnome_vfs_address_new_from_string): Clean up if-else and ifdef mess. Use WSAStringToAddress() on Win32. (gnome_vfs_address_to_string): Use WSAAddressToString() on Win32. * libgnomevfs/gnome-vfs-mime.c (gnome_vfs_mime_type_from_name_or_default): On Win32 look also for a (forward) slash. No need to use g_utf8_strrchr() when looking for single byte characters. * libgnomevfs/gnome-vfs-utils.c (gnome_vfs_get_uri_from_local_path, gnome_vfs_is_executable_command_string, gnome_vfs_make_uri_from_input_internal, gnome_vfs_make_uri_from_input_with_dirs, gnome_vfs_make_uri_canonical, gnome_vfs_make_uri_from_shell_arg): Use g_path_is_absolute() to check for absolute paths. Don't just check first character for being a slash. (gnome_vfs_make_uri_from_input_internal, gnome_vfs_make_uri_from_input_with_dirs): Don't support the tilde convention on Windows. It's not used on Windows, and it would be overly complex to find out the home directory (or what corresponds to it) for another account anyway. * libgnomevfs/gnome-vfs-private-utils.c (_gnome_vfs_socket_set_blocking): Fix typo. * libgnomevfs/gnome-vfs-resolve.c (_gnome_vfs_result_from_gai_error): Conditionalize some errors not present on Win32. * modules/file-method.c: Include g_access() from GLib HEAD if built against GLib < 2.7.0. (get_access_info): Use g_access() for better localized file name support On Win32. Use g_file_test(G_FILE_TEST_IS_EXECUTABLE) instead of access(X_OK) to check for executability. The Microsoft's C library's access() implementation is a bit silly. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-vfs&who=tml&date=explicit&mindate=2005-04-19%2007:53&maxdate=2005-04-19%2007:55 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list