Tagging the 0.73.2.2 release of the kitty project.
This commit is contained in:
@@ -3191,8 +3191,8 @@ static inline void term_keyinput_internal(
|
||||
bufchain_add(&term->inbuf, buf, true_len);
|
||||
term_added_data(term);
|
||||
}
|
||||
if (interactive)
|
||||
term_bracketed_paste_stop(term);
|
||||
if (interactive)
|
||||
term_bracketed_paste_stop(term);
|
||||
if (term->ldisc)
|
||||
ldisc_send(term->ldisc, buf, len, interactive);
|
||||
term_seen_key_event(term);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#define RELEASE 0.73
|
||||
#define TEXTVER "Release 0.73"
|
||||
#define SSHVER "-Release-0.73"
|
||||
#define BINARY_VERSION 0,73,2,1
|
||||
#define BINARY_VERSION 0,73,2,3
|
||||
#define SOURCE_COMMIT "unavailable"
|
||||
|
||||
@@ -142,7 +142,8 @@ RCFLAGS += -I ../../ -DMOD_PERSO -D$(FDJFLAG)
|
||||
|
||||
CFLAGS += -DNO_SECUREZEROMEMORY -DCOVERITY -DNO_HTMLHELP
|
||||
CFLAGS += -D$(FDJFLAG)
|
||||
CFLAGS += -DMOD_PERSO \
|
||||
CFLAGS += -D__WINE__ \
|
||||
-DMOD_PERSO \
|
||||
-DMOD_STARTBUTTON \
|
||||
-DMOD_SAVEDUMP \
|
||||
-DMOD_DISABLEALTGR \
|
||||
@@ -179,7 +180,7 @@ CFLAGS += -DMOD_PERSO \
|
||||
# MOD_INTEGRATED_KEYGEN: intègre le key generator directement
|
||||
|
||||
CFLAGS_PLINK = -Wall -O2 -D_WINDOWS -DWIN32S_COMPAT \
|
||||
-DMOD_PERSO -DPUTTYCYG -DMOD_RECONNECT -DNO_MOD_RUTTY \
|
||||
-DMOD_PERSO -DMOD_RECONNECT -DNO_MOD_RUTTY \
|
||||
-D_NO_OLDNAMES -DNO_HTMLHELP -I../. \
|
||||
-I../charset -I../windows -I../unix -I../mac -I.\
|
||||
-I../macosx \
|
||||
|
||||
@@ -1 +1 @@
|
||||
1
|
||||
2
|
||||
|
||||
@@ -29,7 +29,11 @@
|
||||
#include "tree234.h"
|
||||
|
||||
#ifndef NO_MULTIMON
|
||||
#ifdef MOD_PERSO
|
||||
#include <winuser.h>
|
||||
#else
|
||||
#include <multimon.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <imm.h>
|
||||
@@ -3207,8 +3211,23 @@ else if((UINT_PTR)wParam == TIMER_INIT) { // Initialisation
|
||||
|
||||
if( (conf_get_int(conf,CONF_protocol) == PROT_SSH) && (!is_backend_connected) ) break ; // On sort si en SSH on n'est pas connecte
|
||||
// Lancement d'une (ou plusieurs separees par \\n) commande(s) automatique(s) a l'initialisation
|
||||
|
||||
KillTimer( hwnd, TIMER_INIT ) ;
|
||||
|
||||
// Fullscreen automatic
|
||||
if( conf_get_int(conf,CONF_fullscreen) ) { PostMessage( hwnd, WM_COMMAND, IDM_FULLSCREEN, (LPARAM)NULL ) ; }
|
||||
|
||||
// Maximize automatic
|
||||
if( conf_get_int(conf,CONF_maximize) ) { PostMessage( hwnd, WM_SYSCOMMAND, SC_MAXIMIZE, (LPARAM)NULL ) ; }
|
||||
|
||||
// Affichage d'une note de la session s'il y en a une
|
||||
if( GetSessionField( conf_get_str( conf, CONF_sessionname), conf_get_str( conf, CONF_folder), "Notes", buffer ) )
|
||||
{ if( strlen( buffer ) > 0 ) MessageBox( hwnd, buffer, "Notes", MB_OK ) ; }
|
||||
|
||||
// Envoi automatiquement dans le systeme tray si besoin
|
||||
if( GetAutoSendToTray() ) ManageToTray( hwnd ) ;
|
||||
|
||||
// Si telnet on essaie d'envoyer le password
|
||||
if( conf_get_int(conf,CONF_protocol) == PROT_TELNET ) {
|
||||
if( strlen( conf_get_str(conf,CONF_username) ) > 0 ) {
|
||||
if( strlen( conf_get_str(conf,CONF_password) ) > 0 ) {
|
||||
@@ -3227,21 +3246,9 @@ else if((UINT_PTR)wParam == TIMER_INIT) { // Initialisation
|
||||
}
|
||||
}
|
||||
|
||||
// Envoi automatiquement dans le systeme tray si besoin
|
||||
if( GetAutoSendToTray() ) ManageToTray( hwnd ) ;
|
||||
|
||||
// Maximize automatic
|
||||
if( conf_get_int(conf,CONF_maximize) ) { PostMessage( hwnd, WM_SYSCOMMAND, SC_MAXIMIZE, (LPARAM)NULL ) ; }
|
||||
|
||||
// Fullscreen automatic
|
||||
if( conf_get_int(conf,CONF_fullscreen) ) { PostMessage( hwnd, WM_COMMAND, IDM_FULLSCREEN, (LPARAM)NULL ) ; }
|
||||
|
||||
// Affichage d'une note de la session s'il y en a une
|
||||
if( GetSessionField( conf_get_str( conf, CONF_sessionname), conf_get_str( conf, CONF_folder), "Notes", buffer ) )
|
||||
{ if( strlen( buffer ) > 0 ) MessageBox( hwnd, buffer, "Notes", MB_OK ) ; }
|
||||
|
||||
RenewPassword( conf ) ;
|
||||
|
||||
// On envoie l'autocommand
|
||||
if( strlen( conf_get_str(conf,CONF_autocommand) ) > 0 ) {
|
||||
SetTimer(hwnd, TIMER_AUTOCOMMAND, autocommand_delay, NULL) ;
|
||||
}
|
||||
|
||||
@@ -5358,9 +5358,13 @@ void InitWinMain( void ) {
|
||||
if( GetValueData( HKEY_CURRENT_USER, TEXT(PUTTY_REG_POS), "Notes", buffer ) )
|
||||
{ if( strlen( buffer ) > 0 ) MessageBox( NULL, buffer, "Notes", MB_OK ) ; }
|
||||
|
||||
// Genere un fichier d'initialisation de toute les Sessions
|
||||
// Genere un fichier (4096ko max) d'initialisation de toute les Sessions
|
||||
sprintf( buffer, "%s\\%s.ses.updt", InitialDirectory, appname ) ;
|
||||
if( existfile( buffer ) ) { InitAllSessions( HKEY_CURRENT_USER, TEXT(PUTTY_REG_POS), "Sessions", buffer ) ; }
|
||||
/* Format: registry like
|
||||
"ProxyUsername"="mylogin"
|
||||
"ProxyPassword"="mypassword"
|
||||
*/
|
||||
|
||||
// Initialise les logs
|
||||
char hostname[4096], username[4096] ;
|
||||
|
||||
+3
-4
@@ -624,20 +624,19 @@ void CreateFileAssoc() {
|
||||
RegTestOrCreate( HKEY_CLASSES_ROOT, ".ktx", "OpenWithProgids", "kitty.connect.1") ;
|
||||
}
|
||||
|
||||
// Vérifie l'existance de la clé de KiTTY sinon la copie depuis PuTTY
|
||||
// Check for KiTTY registry key. If not, copy from PuTTY one
|
||||
void TestRegKeyOrCopyFromPuTTY( HKEY hMainKey, char * KeyName ) {
|
||||
HKEY hKey ;
|
||||
if( RegOpenKeyEx( hMainKey, TEXT(KeyName), 0, KEY_READ, &hKey) == ERROR_SUCCESS ) {
|
||||
RegCloseKey( hKey ) ;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
RegCreateKey( hMainKey, TEXT(KeyName), &hKey ) ;
|
||||
RegCloseKey( hKey ) ;
|
||||
#ifndef FDJ
|
||||
RegCopyTree( hMainKey, "Software\\SimonTatham\\PuTTY", TEXT(KeyName) ) ;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user