diff options
author | Tor Lillqvist <tml@iki.fi> | 2004-04-22 05:08:19 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2004-04-22 05:08:19 +0000 |
commit | 215cabd938150ecfa32d50ac48ac43d00819e596 (patch) | |
tree | 25e0315dfdf0c9fd1ee3e57b572ea878107bdc19 /ChangeLog.pre-2-4 | |
parent | 5a8701523c19fc66c2a05135aa80c16d2e9606a3 (diff) | |
download | gtk+-215cabd938150ecfa32d50ac48ac43d00819e596.tar.gz |
Fix the file chooser on Windows. I can't make it misbehave or crash any
2004-04-22 Tor Lillqvist <tml@iki.fi>
Fix the file chooser on Windows. I can't make it misbehave or
crash any more now. But presumably there are still corner cases
not handled. I haven't really checked behaviour of UNC paths, for
instance.
* gtk/gtkfilesystemwin32.c: Accept both backslash and slash in
several places. Use G_IS_DIR_SEPARATOR macro (which could be added
to GLib in 2.6).
(gtk_file_system_win32_get_parent): Like the Unix version, assert
filename is absolute, and avoid one unnecessary string allocation
and freeing.
(canonicalize_filename,gtk_file_system_win32_parse): Handle drive
letters more correctly.
(gtk_file_system_win32_render_icon): Assure correct syntax is used
for root folder of a drive. (#137962, Morten Welinder)
(filename_is_some_root): New function that accepts also root
without any drive specified.
(filename_is_drive_root): Rename from filename_is_root.
* gtk/gtkfilechooserentry.c (completion_match_func): Casefold on
Windows.
Diffstat (limited to 'ChangeLog.pre-2-4')
-rw-r--r-- | ChangeLog.pre-2-4 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index f72369a377..65e1c69bdb 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,32 @@ +2004-04-22 Tor Lillqvist <tml@iki.fi> + + Fix the file chooser on Windows. I can't make it misbehave or + crash any more now. But presumably there are still corner cases + not handled. I haven't really checked behaviour of UNC paths, for + instance. + + * gtk/gtkfilesystemwin32.c: Accept both backslash and slash in + several places. Use G_IS_DIR_SEPARATOR macro (which could be added + to GLib in 2.6). + + (gtk_file_system_win32_get_parent): Like the Unix version, assert + filename is absolute, and avoid one unnecessary string allocation + and freeing. + + (canonicalize_filename,gtk_file_system_win32_parse): Handle drive + letters more correctly. + + (gtk_file_system_win32_render_icon): Assure correct syntax is used + for root folder of a drive. (#137962, Morten Welinder) + + (filename_is_some_root): New function that accepts also root + without any drive specified. + + (filename_is_drive_root): Rename from filename_is_root. + + * gtk/gtkfilechooserentry.c (completion_match_func): Casefold on + Windows. + 2004-04-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentry.c (gtk_entry_completion_timeout): Pop down the |