Skip to content

Commit

Permalink
Tagging the 0.76.1.13 release of the KiTTY project.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyd01 committed Sep 17, 2023
1 parent 0301dd4 commit 75fa2ab
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions 0.76b_My_PuTTY/putty.h
Original file line number Diff line number Diff line change
Expand Up @@ -1842,6 +1842,7 @@ NORETURN void cleanup_exit(int);
X(BOOL, NONE, no_focus_rep) /* totally disable mouse reporting */ \
X(INT, NONE, scrolllines) /* Options for Scroll Lines per Wheel */ \
X(BOOL, NONE, ssh_tunnel_print_in_title) /* print dynamic port number in window title */ \
X(BOOL, NONE, osc52_warn_before_cliboard_sync) /* Warn before clipboard sync */ \
/* #endif */ \
/* #ifdef MOD_PROXY */ \
X(STR, NONE, proxyselection) /* Options for proxy selection */ \
Expand Down
2 changes: 2 additions & 0 deletions 0.76b_My_PuTTY/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,7 @@ void save_open_settings(settings_w *sesskey, Conf *conf)
write_setting_b(sesskey, "NoFocusReporting", conf_get_bool(conf, CONF_no_focus_rep));
write_setting_i(sesskey, "LinesAtAScroll", conf_get_int(conf, CONF_scrolllines));
write_setting_b(sesskey, "SSHTunnelInTitle", conf_get_bool(conf, CONF_ssh_tunnel_print_in_title));
write_setting_b(sesskey, "OSC52WarnBeforeClipboardSync", conf_get_bool(conf, CONF_osc52_warn_before_cliboard_sync));
#endif
#ifdef MOD_PORTKNOCKING
write_setting_s(sesskey, "PortKnocking", conf_get_str(conf, CONF_portknockingoptions) );
Expand Down Expand Up @@ -1640,6 +1641,7 @@ void load_open_settings(settings_r *sesskey, Conf *conf)
gppb(sesskey, "NoFocusReporting", true, conf, CONF_no_focus_rep);
gppi(sesskey, "LinesAtAScroll", -1, conf, CONF_scrolllines);
gppb(sesskey, "SSHTunnelInTitle", false, conf, CONF_ssh_tunnel_print_in_title);
gppb(sesskey, "OSC52WarnBeforeClipboardSync", false, conf, CONF_osc52_warn_before_cliboard_sync);
#endif
#ifdef MOD_PORTKNOCKING
gpps(sesskey, "PortKnocking", "", conf, CONF_portknockingoptions );
Expand Down
2 changes: 1 addition & 1 deletion 0.76b_My_PuTTY/terminal/terminal.c
Original file line number Diff line number Diff line change
Expand Up @@ -3861,7 +3861,7 @@ static void do_osc(Terminal *term)
char *env_check = getenv("OSC52ALLOWED");
int status = IDOK; // Default to IDOK

if (!env_check || strlen(env_check) == 0) {
if( conf_get_bool(term->conf, CONF_osc52_warn_before_cliboard_sync) && (!env_check || strlen(env_check) == 0)) {
status = MessageBox(NULL,
"Allow OSC52 clipboard sync?", "PyTTY", MB_OKCANCEL);
}
Expand Down
2 changes: 1 addition & 1 deletion 0.76b_My_PuTTY/version.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define RELEASE 0.76
#define TEXTVER "Release 0.76"
#define SSHVER "-Release-0.76"
#define BINARY_VERSION 0,76,1,12
#define BINARY_VERSION 0,76,1,13
#define SOURCE_COMMIT "unavailable"
4 changes: 4 additions & 0 deletions 0.76b_My_PuTTY/windows/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,10 @@ void win_setup_config_box(struct controlbox *b, HWND *hwndp, bool has_help,
HELPCTX(no_help),
conf_checkbox_handler,
I(CONF_ctrl_tab_switch));
ctrl_checkbox(s, "Warn before OSC52 clipboard sync", NO_SHORTCUT,
HELPCTX(no_help),
conf_checkbox_handler, I(CONF_osc52_warn_before_cliboard_sync));

}
#endif
ctrl_checkbox(s, "Full screen on Alt-Enter", 'f',
Expand Down
2 changes: 1 addition & 1 deletion 0.76b_My_PuTTY/windows/version_minor.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12
13
2 changes: 2 additions & 0 deletions docs/pages/KeyConfirmation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ Then load this key into you **Kageant**.
When the session that needs to use this key starts, and connects to **Kageant** a pop-up shows up and ask for usage confirmation:

![](../img/ex_kageant.jpg)

>Thanks to [Patrick Cernko](https://people.mpi-klsb.mpg.de/~pcernko/pageant.html) for this patch.
2 changes: 1 addition & 1 deletion docs/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.76.1.12
0.76.1.13
2 changes: 2 additions & 0 deletions kitty_settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ void save_open_settings_forced(char *filename, Conf *conf) {
write_setting_b_forced(sesskey, "NoFocusReporting", conf_get_bool(conf, CONF_no_focus_rep));
write_setting_i_forced(sesskey, "LinesAtAScroll", conf_get_int(conf, CONF_scrolllines));
write_setting_b_forced(sesskey, "SSHTunnelInTitle", conf_get_bool(conf, CONF_ssh_tunnel_print_in_title));
write_setting_b_forced(sesskey, "OSC52WarnBeforeClipboardSync", conf_get_bool(conf, CONF_osc52_warn_before_cliboard_sync));
#endif
#ifdef MOD_PORTKNOCKING
write_setting_s_forced(sesskey, "PortKnocking", conf_get_str(conf, CONF_portknockingoptions) );
Expand Down Expand Up @@ -1102,6 +1103,7 @@ void load_open_settings_forced(char *filename, Conf *conf) {
gppb_forced(sesskey, "NoFocusReporting", true, conf, CONF_no_focus_rep);
gppi_forced(sesskey, "LinesAtAScroll", 5, conf, CONF_scrolllines);
gppb_forced(sesskey, "SSHTunnelInTitle", false, conf, CONF_ssh_tunnel_print_in_title);
gppb_forced(sesskey, "OSC52WarnBeforeClipboardSync", false, conf, CONF_osc52_warn_before_cliboard_sync);
#endif
#ifdef MOD_PORTKNOCKING
gpps_forced(sesskey, "PortKnocking", "", conf, CONF_portknockingoptions );
Expand Down

0 comments on commit 75fa2ab

Please sign in to comment.