Tagging the 0.74.3.1 release of the kitty project.

This commit is contained in:
cyd01
2020-11-06 18:37:06 +01:00
parent 7f7fac22e9
commit c558736424
13 changed files with 58 additions and 5 deletions
+4
View File
@@ -4094,6 +4094,10 @@ if( !GetPuttyFlag() ) {
HELPCTX(no_help),
conf_editbox_handler, I(CONF_winscprawsettings),
I(1));
ctrl_editbox(s, "Shell (scp mode only)", NO_SHORTCUT, 100,
HELPCTX(no_help),
conf_editbox_handler, I(CONF_pscpshell),
I(1));
}
#endif
+1
View File
@@ -1548,6 +1548,7 @@ NORETURN void cleanup_exit(int);
X(INT, NONE, winscpprot) \
X(STR, NONE, sftpconnect) \
X(STR, NONE, pscpoptions) \
X(STR, NONE, pscpshell) \
X(STR, NONE, pscpremotedir) \
X(STR, NONE, winscpoptions) \
X(STR, NONE, winscprawsettings) \
+2
View File
@@ -891,6 +891,7 @@ void save_open_settings(settings_w *sesskey, Conf *conf)
write_setting_i(sesskey, "WinSCPProtocol", conf_get_int(conf, CONF_winscpprot) );
write_setting_s(sesskey, "SFTPConnect", conf_get_str(conf, CONF_sftpconnect) );
write_setting_s(sesskey, "PSCPOptions", conf_get_str(conf, CONF_pscpoptions) );
write_setting_s(sesskey, "PSCPShell", conf_get_str(conf, CONF_pscpshell) );
write_setting_s(sesskey, "PSCPRemoteDir", conf_get_str(conf, CONF_pscpremotedir) );
write_setting_s(sesskey, "WinSCPOptions", conf_get_str(conf, CONF_winscpoptions) );
write_setting_s(sesskey, "WinSCPRawSettings", conf_get_str(conf, CONF_winscprawsettings) );
@@ -1553,6 +1554,7 @@ void load_open_settings(settings_r *sesskey, Conf *conf)
gppi(sesskey, "WinSCPProtocol", 1, conf, CONF_winscpprot );
gpps(sesskey, "SFTPConnect", "", conf, CONF_sftpconnect );
gpps(sesskey, "PSCPOptions", "-r", conf, CONF_pscpoptions );
gpps(sesskey, "PSCPShell", "", conf, CONF_pscpshell );
gpps(sesskey, "PSCPRemoteDir", "", conf, CONF_pscpremotedir );
gpps(sesskey, "WinSCPOptions", "", conf, CONF_winscpoptions );
gpps(sesskey, "WinSCPRawSettings", "", conf, CONF_winscprawsettings );
+1 -1
View File
@@ -1,5 +1,5 @@
#define RELEASE 0.74
#define TEXTVER "Release 0.74"
#define SSHVER "-Release-0.74"
#define BINARY_VERSION 0,74,2,8
#define BINARY_VERSION 0,74,3,1
#define SOURCE_COMMIT "unavailable"
+1 -1
View File
@@ -1 +1 @@
"0.74.2"
"0.74.3"
+1 -1
View File
@@ -1 +1 @@
8
1
+7 -1
View File
@@ -62,6 +62,7 @@ extern char BuildVersionTime[256] ;
void CenterDlgInParent(HWND hDlg) ;
int get_param( const char * val ) ;
void CheckVersionFromWebSite( HWND hwnd ) ;
bool SessPathIsInitial( void );
#ifndef TIMER_SLIDEBG
//#define TIMER_SLIDEBG 12343
@@ -723,8 +724,13 @@ static INT_PTR CALLBACK GenericMainDlgProc(HWND hwnd, UINT msg,
hw = GetDesktopWindow();
if (GetWindowRect(hw, &rs) && GetWindowRect(hwnd, &rd))
MoveWindow(hwnd,
#ifdef MOD_PERSO
GetConfigBoxLeft()>0 ? GetConfigBoxLeft() : (rs.right + rs.left + rd.left - rd.right) / 2,
GetConfigBoxTop()>0 ? GetConfigBoxTop() : (rs.bottom + rs.top + rd.top - rd.bottom) / 2,
#else
(rs.right + rs.left + rd.left - rd.right) / 2,
(rs.bottom + rs.top + rd.top - rd.bottom) / 2,
#endif
rd.right - rd.left, rd.bottom - rd.top, true);
}
@@ -863,7 +869,7 @@ static INT_PTR CALLBACK GenericMainDlgProc(HWND hwnd, UINT msg,
*/
SetWindowLongPtr(hwnd, GWLP_USERDATA, 1);
#ifdef MOD_PERSO
ShowWindow(hwnd,SW_HIDE);
//ShowWindow(hwnd,SW_HIDE);
ShowWindow(hwnd,SW_SHOW);
#endif
return 0;
+1 -1
View File
@@ -1 +1 @@
0.74.2.8
0.74.3.1
+21
View File
@@ -276,6 +276,16 @@ static int ConfigBoxNoExitFlag = 0 ;
int GetConfigBoxNoExitFlag(void) { return ConfigBoxNoExitFlag ; }
void SetConfigBoxNoExitFlag( const int flag ) { ConfigBoxNoExitFlag = flag ; }
// ConfigBox X-position
static int ConfigBoxLeft = -1 ;
int GetConfigBoxLeft() { return ConfigBoxLeft ; }
void SetConfigBoxLeft( const int val ) { ConfigBoxLeft = val ; }
// ConfigBox Y-position
static int ConfigBoxTop = -1 ;
int GetConfigBoxTop() { return ConfigBoxTop ; }
void SetConfigBoxTop( const int val ) { ConfigBoxTop= val ; }
// Flag pour inhiber la gestion du CTRL+TAB
static int CtrlTabFlag = 1 ;
int GetCtrlTabFlag(void) { return CtrlTabFlag ; }
@@ -4011,6 +4021,11 @@ void StartWinSCP( HWND hwnd, char * directory, char * host, char * user ) {
strcat( cmd, " " ) ; strcat( cmd, conf_get_str(conf, CONF_winscprawsettings) ) ;
}
if( !strcmp(proto,"scp") && (strlen(conf_get_str(conf, CONF_pscpshell))>0) ) {
if( raw == 0 ) { strcat( cmd, " /rawsettings" ) ; raw++ ; }
strcat( cmd, " " ) ; strcat( cmd, "Shell=\"" ) ; strcat( cmd, conf_get_str(conf, CONF_pscpshell) ) ; strcat( cmd, "\"" ) ;
}
if( debug_flag ) { debug_logevent( "Run: %s", cmd ) ; }
RunCommand( hwnd, cmd ) ;
memset(cmd,0,strlen(cmd));
@@ -5301,6 +5316,12 @@ void LoadParameters( void ) {
if( readINI( KittyIniFile, "ConfigBox", "defaultsettings", buffer ) ) {
if( !stricmp( buffer, "NO" ) ) DefaultSettingsFlag = 0 ;
}
if( readINI( KittyIniFile, "ConfigBox", "left", buffer ) ) {
SetConfigBoxLeft( atoi(buffer) ) ;
}
if( readINI( KittyIniFile, "ConfigBox", "top", buffer ) ) {
SetConfigBoxTop( atoi(buffer) ) ;
}
// Param RandomActiveFlag défini dans kitty_commun.c
// Pour gérer le bug sur certaines machines: https://github.com/cyd01/KiTTY/issues/113
+8
View File
@@ -23,6 +23,14 @@ void SetPuttyFlag( const int flag ) ;
// extern int ConfigBoxNoExitFlag ;
int GetConfigBoxNoExitFlag(void) ;
// ConfigBox X-position
int GetConfigBoxLeft() ;
void SetConfigBoxLeft( const int val ) ;
// ConfigBox Y-position
int GetConfigBoxTop();
void SetConfigBoxTop( const int val ) ;
// Flag pour inhiber la gestion du CTRL+TAB
int GetCtrlTabFlag(void) ;
void SetCtrlTabFlag( const int flag ) ;
+6
View File
@@ -32,9 +32,15 @@ filter=yes
; height: the number of visible lines into the saved sessions selection box (in main window)
height=21
; left: X position of the confuguration box (-1 means center)
;left=-1
; noexit: if set to yes, return to the configuration box at main program exit
;noexit=no
; top: Y position of the confuguration box (-1 means center)
;top=-1
; windowheight: the size of the configuration box
;windowheight=800
+3
View File
@@ -548,6 +548,7 @@ void SaveDumpConfig( FILE *fp, Conf * conf ) {
fprintf( fp, "winscpprot=%d\n", conf_get_int(conf,CONF_winscpprot) ) ;
fprintf( fp, "sftpconnect=%s\n", conf_get_str(conf,CONF_sftpconnect) ) ;
fprintf( fp, "pscpoptions=%s\n", conf_get_str(conf,CONF_pscpoptions) ) ;
fprintf( fp, "pscpshell=%s\n", conf_get_str(conf,CONF_pscpshell) ) ;
fprintf( fp, "pscpremotedir=%s\n", conf_get_str(conf,CONF_pscpremotedir) ) ;
fprintf( fp, "winscpoptions=%s\n", conf_get_str(conf,CONF_winscpoptions) ) ;
fprintf( fp, "winscprawsettings=%s\n", conf_get_str(conf,CONF_winscprawsettings) ) ;
@@ -690,6 +691,8 @@ void SaveDumpConfig( FILE *fp, Conf * conf ) {
fprintf( fp,"BackgroundImageFlag=%d\n",GetBackgroundImageFlag() );
fprintf( fp,"RandomActiveFlag=%d\n",GetRandomActiveFlag() );
fprintf( fp,"CryptSaltFlag=%d\n",GetCryptSaltFlag() );
fprintf( fp, "ConfigBoxLeft=%d\n",GetConfigBoxLeft());
fprintf( fp, "ConfigBoxTop=%d\n",GetConfigBoxTop());
#ifdef MOD_RECONNECT
fprintf( fp,"AutoreconnectFlag=%d\nReconnectDelay=%d\n",AutoreconnectFlag,ReconnectDelay );
#endif
+2
View File
@@ -397,6 +397,7 @@ void save_open_settings_forced(char *filename, Conf *conf) {
write_setting_i_forced(sesskey, "WinSCPProtocol", conf_get_int(conf, CONF_winscpprot) );
write_setting_s_forced(sesskey, "SFTPConnect", conf_get_str(conf, CONF_sftpconnect) );
write_setting_s_forced(sesskey, "PSCPOptions", conf_get_str(conf, CONF_pscpoptions) );
write_setting_s_forced(sesskey, "PSCPShell", conf_get_str(conf, CONF_pscpshell) );
write_setting_s_forced(sesskey, "PSCPRemoteDir", conf_get_str(conf, CONF_pscpremotedir) );
write_setting_s_forced(sesskey, "WinSCPOptions", conf_get_str(conf, CONF_winscpoptions) );
write_setting_s_forced(sesskey, "WinSCPRawSettings", conf_get_str(conf, CONF_winscprawsettings) );
@@ -1024,6 +1025,7 @@ void load_open_settings_forced(char *filename, Conf *conf) {
gppi_forced(sesskey, "WinSCPProtocol", 1, conf, CONF_winscpprot );
gpps_forced(sesskey, "SFTPConnect", "", conf, CONF_sftpconnect );
gpps_forced(sesskey, "PSCPOptions", "-r", conf, CONF_pscpoptions );
gpps_forced(sesskey, "PSCPShell", "", conf, CONF_pscpshell );
gpps_forced(sesskey, "PSCPRemoteDir", "", conf, CONF_pscpremotedir );
gpps_forced(sesskey, "WinSCPOptions", "", conf, CONF_winscpoptions );
gpps_forced(sesskey, "WinSCPRawSettings", "", conf, CONF_winscprawsettings );