simon-git: putty (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Wed Aug 24 19:21:41 BST 2022
TL;DR:
697ba0f5 Reorganise the stubs collection.
3af538ac Replace integer context2 encoding in conf_editbox_handler.
42736edd platform_start_subprocess
982993fa Refactor
56ac1607 authplugin
e95e9ee8 test plugin
ee4d392c TODO
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: 2022-08-24 19:21:41
commit 697ba0f55b31102fcfe63dd1f449e4b2552d9c73
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=697ba0f55b31102fcfe63dd1f449e4b2552d9c73;hp=55d19f62951f6fd91350728fd3573bad87e663c6
Author: Simon Tatham <anakin at pobox.com>
Date: Tue Aug 23 18:57:58 2022 +0100
Reorganise the stubs collection.
I made a specific subdirectory 'stubs' to keep all the link-time stub
modules in, like notiming.c. And I put _one_ run-time stub in it,
namely nullplug.c. But the rest of the runtime stubs went into utils.
I think it's better to keep all the stubs together, so I've moved all
the null*.c in utils into stubs (with the exception of nullstrcmp.c,
which means the 'null' in a different sense). Also, fiddled with the
naming to be a bit more consistent, and stated in the new CMakeLists
the naming policy that distinguishes no-*.c from null-*.c.
CMakeLists.txt | 7 ++++---
stubs/CMakeLists.txt | 30 ++++++++++++++++++++++++++++++
stubs/{nocmdline.c => no-cmdline.c} | 2 +-
stubs/{nogss.c => no-gss.c} | 0
stubs/{noprint.c => no-print.c} | 0
stubs/{norand.c => no-rand.c} | 0
stubs/{noterm.c => no-term.c} | 0
stubs/{notiming.c => no-timing.c} | 2 +-
utils/nullcipher.c => stubs/null-cipher.c | 0
utils/nullkey.c => stubs/null-key.c | 0
utils/null_lp.c => stubs/null-lp.c | 0
utils/nullmac.c => stubs/null-mac.c | 0
stubs/{nullplug.c => null-plug.c} | 0
utils/nullseat.c => stubs/null-seat.c | 0
unix/CMakeLists.txt | 22 +++++++++++-----------
utils/CMakeLists.txt | 5 -----
windows/CMakeLists.txt | 10 +++++-----
17 files changed, 52 insertions(+), 26 deletions(-)
commit 3af538ac23f8f539ffc0a7246d3ebf9553de7408
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=3af538ac23f8f539ffc0a7246d3ebf9553de7408;hp=697ba0f55b31102fcfe63dd1f449e4b2552d9c73
Author: Simon Tatham <anakin at pobox.com>
Date: Wed Aug 24 07:56:45 2022 +0100
Replace integer context2 encoding in conf_editbox_handler.
I was just about to add another ordinary edit box control, and found I
couldn't remember what went in the context2 argument to conf_editbox.
When I looked it up, I realised it was one of those horrid integer
encodings of the form '1 means this, -1 means that, less than -1 means
some parametrised property where the parameter is obtained by negating
the encoded integer'.
Those are always awkward to remember, and worse to extend. So I've
replaced the integer context2 used with conf_editbox_handler with a
pointer to a small struct type in which the types and parameters have
sensible names and are documented.
(To avoid annoying const warnings everywhere, this also meant
extending the 'intorptr' union to have a const void * branch as well
as a 'void *'. Surprised I haven't needed that before. But if I
introduce any more of these parameter structures, it'll come in useful
again.)
config.c | 103 ++++++++++++++++++++++++++++--------------------------
dialog.h | 4 ++-
putty.h | 35 +++++++++++++++++++
unix/config-gtk.c | 4 +--
4 files changed, 93 insertions(+), 53 deletions(-)
commit 42736edd0542e8a2488722533f00580da55416c4
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=42736edd0542e8a2488722533f00580da55416c4;hp=3af538ac23f8f539ffc0a7246d3ebf9553de7408
Author: Simon Tatham <anakin at pobox.com>
Date: Mon Aug 22 18:46:32 2022 +0100
platform_start_subprocess
network.h | 4 ++++
putty.h | 10 ++++++++++
stubs/CMakeLists.txt | 1 +
stubs/null-opener.c | 20 ++++++++++++++++++++
unix/fd-socket.c | 7 +++++++
unix/local-proxy.c | 18 ++++++++++++++++++
unix/platform.h | 1 +
utils/log_proxy_stderr.c | 11 +++++++++--
windows/handle-socket.c | 7 +++++++
windows/local-proxy.c | 18 ++++++++++++++++++
windows/platform.h | 1 +
11 files changed, 96 insertions(+), 2 deletions(-)
commit 982993fad8a4c6e15778481c5e07ebd0ed274ebb
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=982993fad8a4c6e15778481c5e07ebd0ed274ebb;hp=42736edd0542e8a2488722533f00580da55416c4
Author: Simon Tatham <anakin at pobox.com>
Date: Mon Aug 22 17:48:22 2022 +0100
Refactor
ssh/userauth2-client.c | 276 +++++++++++++++++++++++++------------------------
1 file changed, 143 insertions(+), 133 deletions(-)
commit 56ac16076850ac4a82b7d8bbc8f88a36e50eb29b
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=56ac16076850ac4a82b7d8bbc8f88a36e50eb29b;hp=982993fad8a4c6e15778481c5e07ebd0ed274ebb
Author: Simon Tatham <anakin at pobox.com>
Date: Tue Aug 23 17:24:31 2022 +0100
authplugin
config.c | 7 +
putty.h | 1 +
settings.c | 2 +
ssh.h | 29 ++++
ssh/ppl.h | 3 +-
ssh/ssh.c | 6 +-
ssh/userauth2-client.c | 409 ++++++++++++++++++++++++++++++++++++++++++-------
7 files changed, 399 insertions(+), 58 deletions(-)
commit e95e9ee817886fd848a119315be92bc2f5e502c0
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=e95e9ee817886fd848a119315be92bc2f5e502c0;hp=56ac16076850ac4a82b7d8bbc8f88a36e50eb29b
Author: Simon Tatham <anakin at pobox.com>
Date: Tue Aug 23 17:24:36 2022 +0100
test plugin
contrib/authplugin-example.py | 263 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 263 insertions(+)
commit ee4d392c45e200b4a500bb78881d12472473c034
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=ee4d392c45e200b4a500bb78881d12472473c034;hp=e95e9ee817886fd848a119315be92bc2f5e502c0
Author: Simon Tatham <anakin at pobox.com>
Date: Tue Aug 23 18:53:44 2022 +0100
TODO
TODO.jotting | 11 +++++++++++
1 file changed, 11 insertions(+)
More information about the tartarus-commits
mailing list