simon-git: putty (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sat Apr 10 10:06:14 BST 2021
TL;DR:
1276c13e dialog system: add a side-by-side alignment feature.
0f9e0d6e New GUI for protocol selection.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2021-04-10 10:06:14
commit 1276c13e6a0c06041b4d58ae2e2ac7ce5ddd2528
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=1276c13e6a0c06041b4d58ae2e2ac7ce5ddd2528;hp=d33f889a560f64e22d4729ec04e227ee8ebc72a6
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Apr 3 17:45:31 2021 +0100
dialog system: add a side-by-side alignment feature.
This will let us put two controls side by side (e.g. in disjoint
columns of a multi-col layout) and indicate that instead of the
default behaviour of aligning their top edges, their centreline (or,
even better if available, font baseline) should be aligned.
NFC: nothing uses this yet.
dialog.c | 1 +
dialog.h | 15 ++++++++++++-
unix/gtkdlg.c | 22 +++++++++++++++++++
windows/winctrls.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++---
windows/winstuff.h | 6 ++++++
5 files changed, 103 insertions(+), 4 deletions(-)
commit 0f9e0d6e4127faf60abda9a0246552b75bf9668d
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=0f9e0d6e4127faf60abda9a0246552b75bf9668d;hp=1276c13e6a0c06041b4d58ae2e2ac7ce5ddd2528
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Apr 10 09:51:29 2021 +0100
New GUI for protocol selection.
This replaces the pure radio-button setup that we've always had on the
Session config panel.
Since the last release, that set of radio buttons has been getting out
of hand. We've added two new protocols (SUPDUP, and the 'bare
ssh-connection' aka psusan protocol), neither of which is mainstream
enough to be a sensible thing to wave at all users on the front page
of the config GUI, so that they perhaps start wondering if that's the
protocol they want to use, or get sidetracked by going and looking it
up.
The replacement UI still has radio buttons, but only for the most
common protocols, which will typically be SSH and serial. Everything
else is relegated to a drop-down list sitting next to a third radio
button labelled "Other".
In every be_* module providing a backends[] list, there's also a
variable n_ui_backends which indicates how many of the backends ought
to appear as first-level radio buttons.
(Credit where due: this patch is a joint effort between Jacob and me,
and is one of those rare cases where it would be nice to be able to
put both our names into the Author field of the commit. Failing that,
I can at least mention it here.)
be_all.c | 2 +
be_all_s.c | 4 +-
be_none.c | 2 +
be_nos_s.c | 4 +-
be_nossh.c | 2 +
be_ssh.c | 2 +
config.c | 249 ++++++++++++++++++++++++++++++++++++++++++++++---------------
putty.h | 6 ++
8 files changed, 207 insertions(+), 64 deletions(-)
More information about the tartarus-commits
mailing list