OSDN Git Service

Fix bugs of drag-and-drop handling.
authors_kawamoto <s_kawamoto@users.sourceforge.jp>
Sun, 29 Nov 2015 14:11:07 +0000 (23:11 +0900)
committers_kawamoto <s_kawamoto@users.sourceforge.jp>
Sun, 29 Nov 2015 14:11:07 +0000 (23:11 +0900)
Modify documents.

FFFTP_Eng_Release/FFFTP.exe
FFFTP_Eng_Release_64/FFFTP.exe
Release/FFFTP.exe
Release_64/FFFTP.exe
common.h
doc/eng/FFFTP.txt
doc/eng/history.txt
doc/jpn/FFFTP.txt
doc/jpn/history.txt
filelist.c
toolmenu.c

index 4fd66c8..68bea7a 100644 (file)
Binary files a/FFFTP_Eng_Release/FFFTP.exe and b/FFFTP_Eng_Release/FFFTP.exe differ
index dccf0ce..e550cfb 100644 (file)
Binary files a/FFFTP_Eng_Release_64/FFFTP.exe and b/FFFTP_Eng_Release_64/FFFTP.exe differ
index 29ed893..d3ad4ab 100644 (file)
Binary files a/Release/FFFTP.exe and b/Release/FFFTP.exe differ
index 2c617c5..dc64807 100644 (file)
Binary files a/Release_64/FFFTP.exe and b/Release_64/FFFTP.exe differ
index b63e510..c6bc37a 100644 (file)
--- a/common.h
+++ b/common.h
@@ -81,7 +81,7 @@
 // ソフトウェア自動更新\r
 // リリースバージョンはリリース予定年(10進数4桁)+月(2桁)+日(2桁)+通し番号(0スタート2桁)とする\r
 // 2014年7月31日中の30個目のリリースは2014073129\r
-#define RELEASE_VERSION_NUM            2015112900      /* リリースバージョン */\r
+#define RELEASE_VERSION_NUM            2015112901      /* リリースバージョン */\r
 \r
 \r
 // SourceForge.JPによるフォーク\r
index e4c285f..813c03f 100644 (file)
@@ -96,6 +96,11 @@ Changes in Ver.1.99
 \r
 -- Changed to enable reconnection after transfer errors by default.\r
 \r
+-- Fixed bugs to fail in controlling UPnP with simultaneous connections.\r
+\r
+-- Fixed bugs to crash if certain operations are performed immediately after\r
+   drag-and-drop from the remote file view.\r
+\r
 \r
 Outline\r
 -------\r
index 22bd641..393176a 100644 (file)
@@ -68,6 +68,11 @@ Changes in Ver.1.99
 \r
 -- Changed to enable reconnection after transfer errors by default.\r
 \r
+-- Fixed bugs to fail in controlling UPnP with simultaneous connections.\r
+\r
+-- Fixed bugs to crash if certain operations are performed immediately after\r
+   drag-and-drop from the remote file view.\r
+\r
 Changes in Ver.1.98g2\r
 --------------------\r
 \r
index 72ad142..78038a0 100644 (file)
@@ -100,6 +100,11 @@ Ver 1.99
 \r
 \81E\83t\83@\83C\83\8b\82Ì\93]\91\97\82É\8e¸\94s\82µ\82½\8fê\8d\87\82É\8dÄ\90Ú\91±\82·\82é\90Ý\92è\82ð\8aù\92è\82Å\97L\8cø\82É\82µ\82Ü\82µ\82½\81B\r
 \r
+\81E\93¯\8e\9e\90Ú\91±\8e\9e\82ÉUPnP\82Ì\90§\8cä\82É\8e¸\94s\82·\82é\83o\83O\82ð\8fC\90³\82µ\82Ü\82µ\82½\81B\r
+\r
+\81E\83\8a\83\82\81[\83g\91¤\82Ì\83t\83@\83C\83\8b\88ê\97\97\82©\82ç\83h\83\89\83b\83O\83A\83\93\83h\83h\83\8d\83b\83v\82µ\82½\92¼\8cã\82É\93Á\92è\82Ì\r
+\81@\91\80\8dì\82ð\8ds\82¤\82Æ\83N\83\89\83b\83V\83\85\82·\82é\83o\83O\82ð\8fC\90³\82µ\82Ü\82µ\82½\81B\r
+\r
 \r
 Ver 1.96d\88È\91O\82Ö\96ß\82·\8fê\8d\87\r
 -----------------------\r
index 0a149b9..59854e5 100644 (file)
@@ -72,6 +72,11 @@ FFFTP
 \r
 \81E\83t\83@\83C\83\8b\82Ì\93]\91\97\82É\8e¸\94s\82µ\82½\8fê\8d\87\82É\8dÄ\90Ú\91±\82·\82é\90Ý\92è\82ð\8aù\92è\82Å\97L\8cø\82É\82µ\82Ü\82µ\82½\81B\r
 \r
+\81E\93¯\8e\9e\90Ú\91±\8e\9e\82ÉUPnP\82Ì\90§\8cä\82É\8e¸\94s\82·\82é\83o\83O\82ð\8fC\90³\82µ\82Ü\82µ\82½\81B\r
+\r
+\81E\83\8a\83\82\81[\83g\91¤\82Ì\83t\83@\83C\83\8b\88ê\97\97\82©\82ç\83h\83\89\83b\83O\83A\83\93\83h\83h\83\8d\83b\83v\82µ\82½\92¼\8cã\82É\93Á\92è\82Ì\r
+\81@\91\80\8dì\82ð\8ds\82¤\82Æ\83N\83\89\83b\83V\83\85\82·\82é\83o\83O\82ð\8fC\90³\82µ\82Ü\82µ\82½\81B\r
+\r
 \81¡Ver 1.98g2\r
 \r
 \81E\83C\83\93\83X\83g\81[\83\89\94Å\82ÉZIP\94Å\82Ì\83t\83@\83C\83\8b\82ª\8d¬\93ü\82µ\82Ä\82¢\82½\96â\91è\82ð\8fC\90³\82µ\82Ü\82µ\82½\81B\r
index 2fc00a1..591ddd6 100755 (executable)
@@ -528,8 +528,6 @@ static void doTransferRemoteFile(void)
                remove(fn);\r
        }\r
 \r
-       // 同時接続対応\r
-       DisableUserOpe();\r
        // 外部アプリケーションへドロップ後にローカル側のファイル一覧に作業フォルダが表示されるバグ対策\r
        SuppressRefresh = 1;\r
 \r
@@ -567,8 +565,6 @@ static void doTransferRemoteFile(void)
        // 外部アプリケーションへドロップ後にローカル側のファイル一覧に作業フォルダが表示されるバグ対策\r
        SuppressRefresh = 0;\r
        GetLocalDirForWnd();\r
-       // 同時接続対応\r
-       EnableUserOpe();\r
 \r
        remoteFileListBase = FileListBase;  // あとでフリーすること\r
        remoteFileListBaseNoExpand = FileListBaseNoExpand;  // あとでフリーすること\r
@@ -916,7 +912,11 @@ static LRESULT FileListCommonWndProc(HWND hWnd, UINT message, WPARAM wParam, LPA
                                        int CancelFlg = NO;\r
                                        char LocDir[FMAX_PATH+1];\r
                                        char *PathDir;\r
\r
+\r
+                                       // 特定の操作を行うと異常終了するバグ修正\r
+                                       DisableUserOpe();\r
+                                       Dragging = NO;\r
+\r
                                        // 変数が未初期化のバグ修正\r
                                        FileListBaseNoExpand = NULL;\r
                                        // ローカル側で選ばれているファイルをFileListBaseに登録\r
@@ -949,7 +949,10 @@ static LRESULT FileListCommonWndProc(HWND hWnd, UINT message, WPARAM wParam, LPA
                                                }\r
  \r
                                        } \r
\r
+\r
+                                       // 特定の操作を行うと異常終了するバグ修正\r
+                                       EnableUserOpe();\r
+\r
 #if defined(HAVE_TANDEM)\r
                                        if(FileListBaseNoExpand == NULL)\r
                                                pf = FileListBase;\r
index 3298f56..dcc408b 100644 (file)
@@ -879,6 +879,10 @@ void DisableUserOpe(void)
        EnableWindow(hWndDirLocal, FALSE);\r
        EnableWindow(hWndDirRemote, FALSE);\r
 \r
+       // 特定の操作を行うと異常終了するバグ修正\r
+       EnableWindow(GetLocalHwnd(), FALSE);\r
+       EnableWindow(GetRemoteHwnd(), FALSE);\r
+\r
        return;\r
 }\r
 \r
@@ -912,6 +916,10 @@ void EnableUserOpe(void)
                EnableWindow(hWndDirLocal, TRUE);\r
                EnableWindow(hWndDirRemote, TRUE);\r
 \r
+               // 特定の操作を行うと異常終了するバグ修正\r
+               EnableWindow(GetLocalHwnd(), TRUE);\r
+               EnableWindow(GetRemoteHwnd(), TRUE);\r
+\r
                // 選択不可な漢字コードのボタンが表示されるバグを修正\r
                HideHostKanjiButton();\r
                HideLocalKanjiButton();\r