From e8ec2007b80adf3ea41c24e8dc735f86f71afde5 Mon Sep 17 00:00:00 2001 From: cyd01 Date: Mon, 12 Apr 2021 15:13:29 +0200 Subject: [PATCH] Tagging the 0.74.4.8 release of the KiTTY project. --- 0.74_My_PuTTY/config.c | 2 ++ 0.74_My_PuTTY/ssh2userauth.c | 2 +- 0.74_My_PuTTY/version.h | 2 +- 0.74_My_PuTTY/windows/version_minor.txt | 2 +- 0.74_My_PuTTY/windows/window.c | 5 ++++- docs/version.txt | 2 +- kitty.c | 1 + kitty.h | 2 +- 8 files changed, 12 insertions(+), 6 deletions(-) diff --git a/0.74_My_PuTTY/config.c b/0.74_My_PuTTY/config.c index f043a71..d5242d7 100644 --- a/0.74_My_PuTTY/config.c +++ b/0.74_My_PuTTY/config.c @@ -1209,7 +1209,9 @@ static void sessionsaver_handler(union control *ctrl, dlgparam *dlg, memset( buffer, 0, strlen(buffer) ) ; } if( GetDblClickFlag()==1 ) { +#if (!defined FLJ) && (defined MOD_STARTBUTTON) sessionsaver_handler( ssd->startbutton, dlg, data, EVENT_ACTION ) ; +#endif sessionsaver_handler( ssd->clearbutton, dlg, data, EVENT_ACTION ) ; sessionsaver_handler( ctrlSessionList, dlg, data, EVENT_REFRESH ) ; } else diff --git a/0.74_My_PuTTY/ssh2userauth.c b/0.74_My_PuTTY/ssh2userauth.c index 08fce8b..59f9d17 100644 --- a/0.74_My_PuTTY/ssh2userauth.c +++ b/0.74_My_PuTTY/ssh2userauth.c @@ -264,7 +264,7 @@ static void ssh2_userauth_process_queue(PacketProtocolLayer *ppl) PktIn *pktin; #ifdef MOD_RECONNECT - SetSSHConnected(0); + //SetSSHConnected(0); #endif ssh2_userauth_filter_queue(s); /* no matter why we were called */ diff --git a/0.74_My_PuTTY/version.h b/0.74_My_PuTTY/version.h index 36599ee..0e7de03 100644 --- a/0.74_My_PuTTY/version.h +++ b/0.74_My_PuTTY/version.h @@ -1,5 +1,5 @@ #define RELEASE 0.74 #define TEXTVER "Release 0.74" #define SSHVER "-Release-0.74" -#define BINARY_VERSION 0,74,4,7 +#define BINARY_VERSION 0,74,4,8 #define SOURCE_COMMIT "unavailable" diff --git a/0.74_My_PuTTY/windows/version_minor.txt b/0.74_My_PuTTY/windows/version_minor.txt index 7f8f011..45a4fb7 100644 --- a/0.74_My_PuTTY/windows/version_minor.txt +++ b/0.74_My_PuTTY/windows/version_minor.txt @@ -1 +1 @@ -7 +8 diff --git a/0.74_My_PuTTY/windows/window.c b/0.74_My_PuTTY/windows/window.c index a4bae9e..fe19e2a 100644 --- a/0.74_My_PuTTY/windows/window.c +++ b/0.74_My_PuTTY/windows/window.c @@ -776,7 +776,10 @@ static void close_session(void *ignored_context) #ifdef MOD_RECONNECT void RestartSession( void ) { - if( backend ) { SetSSHConnected(0) ; queue_toplevel_callback(close_session, NULL) ; backend = NULL ; } + if( backend ) { + SetSSHConnected(0) ; + queue_toplevel_callback(close_session, NULL) ; backend = NULL ; + } if( GetAutoreconnectFlag() ) { lp_eventlog(default_logpolicy, "User request session restart..." ) ; } else { diff --git a/docs/version.txt b/docs/version.txt index cd55636..5182070 100644 --- a/docs/version.txt +++ b/docs/version.txt @@ -1 +1 @@ -0.74.4.7 \ No newline at end of file +0.74.4.8 \ No newline at end of file diff --git a/kitty.c b/kitty.c index 0d09870..5bf8dc3 100644 --- a/kitty.c +++ b/kitty.c @@ -385,6 +385,7 @@ extern char puttystr[1024] ; // Handle sur la fenetre principale HWND MainHwnd ; +HWND GetMainHwnd(void) { return MainHwnd ; } // Decompte du nombre de fenetres en cours de KiTTY static int NbWindows = 0 ; diff --git a/kitty.h b/kitty.h index 98c3fd7..37b14ee 100644 --- a/kitty.h +++ b/kitty.h @@ -7,7 +7,7 @@ // Handle sur la fenetre principale extern HWND MainHwnd ; - +HWND GetMainHwnd(void) ; /*****************************************************