[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [gftp] a new svn repo with recent updates



hi list

I have been constantly making updates to the gFTP code
to this local svn repo. In the past week, there were
over 10 bugs and wish items were fixed or implemented.
Highlights of these changes include

1. a better drag/drop support (no more "can not change dir error")
2. when browsing folders without executable permission, give warnings
   but keep the connection
3. to make operations easier by adding tool buttons above the file list
4. shortcut improvement, home/end/alt+up key for better navigation
5. some basic support for broken file names (by guessing the encoding)

the updated gftp GUI can be found here (notice the new tool buttons):
http://bbs.dartmouth.edu/~fangq/blog/upload/gftp_ui_update1.png

I've compiled and ran the code under Ubuntu 9.10 and CentOS 5.3 with
no problem. I am eager to get your feedback and test for other
distributions or platforms. Meanwhile, I will continue to make it
easier to use by fine tuning the GUI.

Qianqian


PS: the detailed svn commit log can be found below.


------------------------------------------------------------------------
r996 | fangq | 2010-03-25 14:34:06 -0400 (Thu, 25 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/gftp-gtk.c
   M /trunk/src/gtk/gftp-gtk.h

add support for type-ahead search, see http://bit.ly/9Y0f6W
------------------------------------------------------------------------
r997 | fangq | 2010-03-25 14:35:37 -0400 (Thu, 25 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/gftp-gtk.c

allow Ctrl+V for paste, fix duplicated Ctrl+P shortcuts
------------------------------------------------------------------------
r998 | fangq | 2010-03-25 14:52:49 -0400 (Thu, 25 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/gftp-gtk.c

free/thaw to update focus frame, simplify clist reference
------------------------------------------------------------------------
r999 | fangq | 2010-03-25 16:09:29 -0400 (Thu, 25 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/gftp-gtk.c

right click to select (Bug#565977)
------------------------------------------------------------------------
r1000 | fangq | 2010-03-25 17:04:22 -0400 (Thu, 25 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/gtkui.c

test file exist before rename (Bug#565382)
------------------------------------------------------------------------
r1001 | fangq | 2010-03-25 17:14:53 -0400 (Thu, 25 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/gftp-gtk.c

fix duplicated Ctrl+D shortcut (Bug#577505)
------------------------------------------------------------------------
r1002 | fangq | 2010-03-25 17:54:45 -0400 (Thu, 25 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/view_dialog.c

open default file browser when browsing a folder (Bug#341659)
------------------------------------------------------------------------
r1003 | fangq | 2010-03-25 18:08:15 -0400 (Thu, 25 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/view_dialog.c

do not view remote folders
------------------------------------------------------------------------
r1004 | fangq | 2010-03-26 11:09:21 -0400 (Fri, 26 Mar 2010) | 1 line
Changed paths:
   A /trunk/m4/glib.m4
   A /trunk/m4/gtk.m4

add gtk.m4 and glib.m4 to avoid AC_PATH error
------------------------------------------------------------------------
r1005 | fangq | 2010-03-26 12:23:16 -0400 (Fri, 26 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/gftp-gtk.c

Alt+Up short cut for moving to the parent dir
------------------------------------------------------------------------
r1006 | fangq | 2010-03-26 12:24:24 -0400 (Fri, 26 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/gftp-gtk.c

remove unused variables in navi_up_dir
------------------------------------------------------------------------
r1007 | fangq | 2010-03-26 17:52:39 -0400 (Fri, 26 Mar 2010) | 1 line
Changed paths:
   M /trunk/lib/charset-conv.c
   M /trunk/src/gtk/misc-gtk.c

simulate G_BROKEN_FILENAMES only for clist captions
------------------------------------------------------------------------
r1008 | fangq | 2010-03-28 11:14:34 -0400 (Sun, 28 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/gftp-gtk.c

right click on selected items keeps the selection
------------------------------------------------------------------------
r1009 | fangq | 2010-03-28 15:43:12 -0400 (Sun, 28 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/gftp-gtk.c

cancel GTK_CLIST and type casting
------------------------------------------------------------------------
r1010 | fangq | 2010-03-29 23:54:27 -0400 (Mon, 29 Mar 2010) | 1 line
Changed paths:
   M /trunk/lib/protocols.c

allow to drag a single file between Local and Remote
------------------------------------------------------------------------
r1011 | fangq | 2010-03-30 13:45:34 -0400 (Tue, 30 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/dnd.c

fix: drag-n-drop a directory ends with st_mode=0
------------------------------------------------------------------------
r1012 | fangq | 2010-03-31 00:01:11 -0400 (Wed, 31 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/dnd.c

fix crash when dragging a single file
------------------------------------------------------------------------
r1013 | fangq | 2010-03-31 01:19:34 -0400 (Wed, 31 Mar 2010) | 1 line
Changed paths:
   M /trunk/lib/gftp.h
   M /trunk/lib/sshv2.c
   M /trunk/src/gtk/gftp-gtk.c
   M /trunk/src/gtk/transfer.c
   M /trunk/src/uicommon/gftpui.c

ignore permission error and unlistable directories
------------------------------------------------------------------------
r1014 | fangq | 2010-03-31 01:35:02 -0400 (Wed, 31 Mar 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/misc-gtk.c

fix a bug in broken file string processing
------------------------------------------------------------------------
r1015 | fangq | 2010-04-01 22:27:25 -0400 (Thu, 01 Apr 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/delete_dialog.c
   M /trunk/src/gtk/gftp-gtk.h

delete confirmation without loading file or dir structures Bug#439624
------------------------------------------------------------------------
r1016 | fangq | 2010-04-01 22:41:31 -0400 (Thu, 01 Apr 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/gftp-gtk.c
   M /trunk/src/gtk/transfer.c

reduce wakeups by using g_timeout_add_seconds, patch by Arunan Balasubramaniam, Bug#573727
------------------------------------------------------------------------
r1017 | fangq | 2010-04-01 23:33:16 -0400 (Thu, 01 Apr 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/gftp-gtk.c

respond Home and End keys
------------------------------------------------------------------------
r1018 | fangq | 2010-04-02 21:09:09 -0400 (Fri, 02 Apr 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/gftp-gtk.c

port number field can only fit two digits, need more, Bug#570149
------------------------------------------------------------------------
r1019 | fangq | 2010-04-02 21:28:11 -0400 (Fri, 02 Apr 2010) | 1 line
Changed paths:
   M /trunk/src/gtk/gftp-gtk.c
   M /trunk/src/gtk/gftp-gtk.h
   M /trunk/src/gtk/gtkui.c

get things done easier with more tool buttons
------------------------------------------------------------------------
r1020 | fangq | 2010-04-03 00:06:02 -0400 (Sat, 03 Apr 2010) | 1 line
Changed paths:
   M /trunk/lib/gftp.h
   M /trunk/lib/protocols.c
   M /trunk/src/gtk/gftp-gtk.c

create functions for list toolbuttons - Home and New folder btn
------------------------------------------------------------------------
r1021 | fangq | 2010-04-03 00:18:45 -0400 (Sat, 03 Apr 2010) | 1 line
Changed paths:
   M /trunk/po/ChangeLog
   M /trunk/po/ar.po
   M /trunk/po/ca.po
   M /trunk/po/da.po
   M /trunk/po/de.po
   M /trunk/po/dz.po
   M /trunk/po/el.po
   M /trunk/po/en_GB.po
   M /trunk/po/es.po
   M /trunk/po/fi.po
   M /trunk/po/fr.po
   M /trunk/po/gl.po
   M /trunk/po/gu.po
   M /trunk/po/he.po
   M /trunk/po/hu.po
   M /trunk/po/ko.po
   M /trunk/po/lv.po
   M /trunk/po/mk.po
   M /trunk/po/mr.po
   M /trunk/po/nb.po
   M /trunk/po/ne.po
   M /trunk/po/oc.po
   M /trunk/po/pa.po
   M /trunk/po/pt.po
   M /trunk/po/pt_BR.po
   M /trunk/po/ru.po
   M /trunk/po/sv.po
   M /trunk/po/te.po
   M /trunk/po/zh_CN.po
   M /trunk/src/gtk/gftp-gtk.c

fix spelling error for Permissions Bug#612787 Bug#612191
------------------------------------------------------------------------


On 03/29/2010 03:31 AM, Helmut Jarausch wrote:
On 28 Mar, Qianqian Fang wrote:
On 03/28/2010 07:35 AM, Helmut Jarausch wrote:
Hi Qianqian,

I've tried your patched version of gftp.
I think I've found a small bug.

When I select more than one file and then
use the right mouse button to display the menu,
the selection gets lost except the one on which
I pressed the right mouse button.

That's a regression w.r.t. to the original version of gftp.

hi Helmut

The only item in the popup menu that works for multiple
selection is Delete. All other options raise an error.

To keep this option, I made the following change:
when you right click on a selected item (can be one
of the multiple selected items), the original selection
will be kept. Otherwise, the old selection is destroyed.

please update from svn and test this. the diff can be
found at
https://orbit.nmr.mgh.harvard.edu/plugins/scmsvn/viewcvs.php?root=gftp&rev=1008&view=rev

Many thanks Qianqian, it works again.
Cheers,
Helmut.