Mercurial > gftp.yaz
changeset 832:f2772ac00751
2006-10-19 Brian Masney <masneyb@gftp.org>
WARNING: The CVS version of gFTP is currently broken, especially for
international users. This will be fixed in a few days.
* lib/fsp.c lib/gftp.h lib/local.c lib/protocols.c lib/rfc2068.c
lib/rfc959.c lib/sshv2.c - added use_local_encoding variable to the
gftp_request structure. This will determine if the filename should
be converted to the local or remote character set.
author | masneyb |
---|---|
date | Thu, 19 Oct 2006 12:39:44 +0000 |
parents | 739462d1bfb5 |
children | 65986285ac4d |
files | ChangeLog lib/fsp.c lib/gftp.h lib/local.c lib/protocols.c lib/rfc2068.c lib/rfc959.c lib/sshv2.c |
diffstat | 8 files changed, 15 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Oct 19 12:32:11 2006 +0000 +++ b/ChangeLog Thu Oct 19 12:39:44 2006 +0000 @@ -2,6 +2,11 @@ WARNING: The CVS version of gFTP is currently broken, especially for international users. This will be fixed in a few days. + * lib/fsp.c lib/gftp.h lib/local.c lib/protocols.c lib/rfc2068.c + lib/rfc959.c lib/sshv2.c - added use_local_encoding variable to the + gftp_request structure. This will determine if the filename should + be converted to the local or remote character set. + * lib/local.c - convert the file or directory to the proper locale * src/gtk/gtkui.c src/gtk/gtkui_transfer.c src/gtk/misc-gtk.c lib/gftp.h @@ -3651,7 +3656,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.486 2006/10/19 12:32:10 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.487 2006/10/19 12:39:43 masneyb Exp $ tags * debian/* - updated files from Debian maintainer
--- a/lib/fsp.c Thu Oct 19 12:32:11 2006 +0000 +++ b/lib/fsp.c Thu Oct 19 12:39:44 2006 +0000 @@ -632,6 +632,7 @@ request->need_password = 0; request->use_cache = 1; request->always_connected = 0; + request->use_local_encoding = 0; lpd = g_malloc0 (sizeof (*lpd)); request->protocol_data = lpd;
--- a/lib/gftp.h Thu Oct 19 12:32:11 2006 +0000 +++ b/lib/gftp.h Thu Oct 19 12:39:44 2006 +0000 @@ -402,7 +402,8 @@ cached : 1, /* Is this directory listing cached? */ cancel : 1, /* If a signal is received, should we cancel this operation */ - stopable : 1; + stopable : 1, + use_local_encoding : 1; off_t gotbytes;
--- a/lib/local.c Thu Oct 19 12:32:11 2006 +0000 +++ b/lib/local.c Thu Oct 19 12:39:44 2006 +0000 @@ -756,6 +756,7 @@ request->need_password = 0; request->use_cache = 0; request->always_connected = 1; + request->use_local_encoding = 1; lpd = g_malloc0 (sizeof (*lpd)); request->protocol_data = lpd;
--- a/lib/protocols.c Thu Oct 19 12:32:11 2006 +0000 +++ b/lib/protocols.c Thu Oct 19 12:39:44 2006 +0000 @@ -510,6 +510,8 @@ if (request == NULL) return (NULL); + /* FIXME - use request->use_local_encoding */ + /* If the string isn't in UTF-8 format, assume it is already in the current locale... */ if (!g_utf8_validate (str, -1, NULL))
--- a/lib/rfc2068.c Thu Oct 19 12:32:11 2006 +0000 +++ b/lib/rfc2068.c Thu Oct 19 12:39:44 2006 +0000 @@ -931,6 +931,7 @@ request->need_password = 0; request->use_cache = 1; request->always_connected = 1; + request->use_local_encoding = 0; request->protocol_data = g_malloc0 (sizeof (rfc2068_params)); params = request->protocol_data;
--- a/lib/rfc959.c Thu Oct 19 12:32:11 2006 +0000 +++ b/lib/rfc959.c Thu Oct 19 12:39:44 2006 +0000 @@ -1912,6 +1912,7 @@ request->need_password = 1; request->use_cache = 1; request->always_connected = 0; + request->use_local_encoding = 0; request->protocol_data = g_malloc0 (sizeof (rfc959_parms)); parms = request->protocol_data;
--- a/lib/sshv2.c Thu Oct 19 12:32:11 2006 +0000 +++ b/lib/sshv2.c Thu Oct 19 12:39:44 2006 +0000 @@ -2126,6 +2126,7 @@ request->need_password = 1; request->use_cache = 1; request->always_connected = 0; + request->use_local_encoding = 0; request->protocol_data = g_malloc0 (sizeof (sshv2_params)); request->server_type = GFTP_DIRTYPE_UNIX;