• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

FFFTPのソースコードです。


Commit MetaInfo

Revision4f6c25301dd55d57fd93c360fe1441487f9261bd (tree)
Time2015-11-29 23:11:07
Authors_kawamoto <s_kawamoto@user...>
Commiters_kawamoto

Log Message

Fix bugs of drag-and-drop handling.
Modify documents.

Change Summary

Incremental Difference

Binary files a/FFFTP_Eng_Release/FFFTP.exe and b/FFFTP_Eng_Release/FFFTP.exe differ
Binary files a/FFFTP_Eng_Release_64/FFFTP.exe and b/FFFTP_Eng_Release_64/FFFTP.exe differ
Binary files a/Release/FFFTP.exe and b/Release/FFFTP.exe differ
Binary files a/Release_64/FFFTP.exe and b/Release_64/FFFTP.exe differ
--- a/common.h
+++ b/common.h
@@ -81,7 +81,7 @@
8181 // ソフトウェア自動更新
8282 // リリースバージョンはリリース予定年(10進数4桁)+月(2桁)+日(2桁)+通し番号(0スタート2桁)とする
8383 // 2014年7月31日中の30個目のリリースは2014073129
84-#define RELEASE_VERSION_NUM 2015112900 /* リリースバージョン */
84+#define RELEASE_VERSION_NUM 2015112901 /* リリースバージョン */
8585
8686
8787 // SourceForge.JPによるフォーク
--- a/doc/eng/FFFTP.txt
+++ b/doc/eng/FFFTP.txt
@@ -96,6 +96,11 @@ Changes in Ver.1.99
9696
9797 -- Changed to enable reconnection after transfer errors by default.
9898
99+-- Fixed bugs to fail in controlling UPnP with simultaneous connections.
100+
101+-- Fixed bugs to crash if certain operations are performed immediately after
102+ drag-and-drop from the remote file view.
103+
99104
100105 Outline
101106 -------
--- a/doc/eng/history.txt
+++ b/doc/eng/history.txt
@@ -68,6 +68,11 @@ Changes in Ver.1.99
6868
6969 -- Changed to enable reconnection after transfer errors by default.
7070
71+-- Fixed bugs to fail in controlling UPnP with simultaneous connections.
72+
73+-- Fixed bugs to crash if certain operations are performed immediately after
74+ drag-and-drop from the remote file view.
75+
7176 Changes in Ver.1.98g2
7277 --------------------
7378
--- a/doc/jpn/FFFTP.txt
+++ b/doc/jpn/FFFTP.txt
@@ -100,6 +100,11 @@ Ver 1.99
100100
101101 ・ファイルの転送に失敗した場合に再接続する設定を既定で有効にしました。
102102
103+・同時接続時にUPnPの制御に失敗するバグを修正しました。
104+
105+・リモート側のファイル一覧からドラッグアンドドロップした直後に特定の
106+ 操作を行うとクラッシュするバグを修正しました。
107+
103108
104109 Ver 1.96d以前へ戻す場合
105110 -----------------------
--- a/doc/jpn/history.txt
+++ b/doc/jpn/history.txt
@@ -72,6 +72,11 @@ FFFTP
7272
7373 ・ファイルの転送に失敗した場合に再接続する設定を既定で有効にしました。
7474
75+・同時接続時にUPnPの制御に失敗するバグを修正しました。
76+
77+・リモート側のファイル一覧からドラッグアンドドロップした直後に特定の
78+ 操作を行うとクラッシュするバグを修正しました。
79+
7580 ■Ver 1.98g2
7681
7782 ・インストーラ版にZIP版のファイルが混入していた問題を修正しました。
--- a/filelist.c
+++ b/filelist.c
@@ -528,8 +528,6 @@ static void doTransferRemoteFile(void)
528528 remove(fn);
529529 }
530530
531- // 同時接続対応
532- DisableUserOpe();
533531 // 外部アプリケーションへドロップ後にローカル側のファイル一覧に作業フォルダが表示されるバグ対策
534532 SuppressRefresh = 1;
535533
@@ -567,8 +565,6 @@ static void doTransferRemoteFile(void)
567565 // 外部アプリケーションへドロップ後にローカル側のファイル一覧に作業フォルダが表示されるバグ対策
568566 SuppressRefresh = 0;
569567 GetLocalDirForWnd();
570- // 同時接続対応
571- EnableUserOpe();
572568
573569 remoteFileListBase = FileListBase; // あとでフリーすること
574570 remoteFileListBaseNoExpand = FileListBaseNoExpand; // あとでフリーすること
@@ -916,7 +912,11 @@ static LRESULT FileListCommonWndProc(HWND hWnd, UINT message, WPARAM wParam, LPA
916912 int CancelFlg = NO;
917913 char LocDir[FMAX_PATH+1];
918914 char *PathDir;
919-
915+
916+ // 特定の操作を行うと異常終了するバグ修正
917+ DisableUserOpe();
918+ Dragging = NO;
919+
920920 // 変数が未初期化のバグ修正
921921 FileListBaseNoExpand = NULL;
922922 // ローカル側で選ばれているファイルをFileListBaseに登録
@@ -949,7 +949,10 @@ static LRESULT FileListCommonWndProc(HWND hWnd, UINT message, WPARAM wParam, LPA
949949 }
950950
951951 }
952-
952+
953+ // 特定の操作を行うと異常終了するバグ修正
954+ EnableUserOpe();
955+
953956 #if defined(HAVE_TANDEM)
954957 if(FileListBaseNoExpand == NULL)
955958 pf = FileListBase;
--- a/toolmenu.c
+++ b/toolmenu.c
@@ -879,6 +879,10 @@ void DisableUserOpe(void)
879879 EnableWindow(hWndDirLocal, FALSE);
880880 EnableWindow(hWndDirRemote, FALSE);
881881
882+ // 特定の操作を行うと異常終了するバグ修正
883+ EnableWindow(GetLocalHwnd(), FALSE);
884+ EnableWindow(GetRemoteHwnd(), FALSE);
885+
882886 return;
883887 }
884888
@@ -912,6 +916,10 @@ void EnableUserOpe(void)
912916 EnableWindow(hWndDirLocal, TRUE);
913917 EnableWindow(hWndDirRemote, TRUE);
914918
919+ // 特定の操作を行うと異常終了するバグ修正
920+ EnableWindow(GetLocalHwnd(), TRUE);
921+ EnableWindow(GetRemoteHwnd(), TRUE);
922+
915923 // 選択不可な漢字コードのボタンが表示されるバグを修正
916924 HideHostKanjiButton();
917925 HideLocalKanjiButton();