simon-git: putty (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Mon May 29 15:59:07 BST 2023
TL;DR:
dfa91dfa Cleanup: make an enum for the values of CONF_cursor_type.
fd9bc8c8 Cleanup: make symbolic names for CONF_bold_style bits.
5e055a37 Cleanup: make an enum for the values of CONF_mouse_is_xterm.
68d89b0e Add lots more stub versions of standard code modules.
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: 2023-05-29 15:59:07
commit dfa91dfa8f90582a742669e8b0ec0b2d4f3a62c6
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=dfa91dfa8f90582a742669e8b0ec0b2d4f3a62c6;hp=8bd75b85eda6e4d89a3773e003591f1602577c82
Author: Simon Tatham <anakin at pobox.com>
Date: Mon May 29 15:51:17 2023 +0100
Cleanup: make an enum for the values of CONF_cursor_type.
These have been magic numbers 0, 1 and 2 in the source for ages. I
think it's about time they had actual names, to make all the points of
use clearer.
config.c | 6 +++---
putty.h | 4 ++++
unix/window.c | 8 ++++----
windows/window.c | 17 ++++++++++-------
4 files changed, 21 insertions(+), 14 deletions(-)
commit fd9bc8c86aa3bb7fbe141c281d200f2b5e7f79c3
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=fd9bc8c86aa3bb7fbe141c281d200f2b5e7f79c3;hp=dfa91dfa8f90582a742669e8b0ec0b2d4f3a62c6
Author: Simon Tatham <anakin at pobox.com>
Date: Mon May 29 15:51:56 2023 +0100
Cleanup: make symbolic names for CONF_bold_style bits.
CONF_bold_style is a pair of bit flags rather than an enum, so its
values aren't just BOLD_STYLE_FONT and BOLD_STYLE_COLOUR but also the
bitwise OR of them. (Hopefully not neither.)
config.c | 6 +++---
putty.h | 6 ++++++
unix/window.c | 6 +++---
windows/window.c | 6 ++++--
4 files changed, 16 insertions(+), 8 deletions(-)
commit 5e055a374f02127efdb5fdb6a1f6c809d7e17dc7
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=5e055a374f02127efdb5fdb6a1f6c809d7e17dc7;hp=fd9bc8c86aa3bb7fbe141c281d200f2b5e7f79c3
Author: Simon Tatham <anakin at pobox.com>
Date: Mon May 29 15:52:32 2023 +0100
Cleanup: make an enum for the values of CONF_mouse_is_xterm.
Again, there's no sensible reason why these should be written at the
point of use as bare integers.
putty.h | 7 +++++++
windows/window.c | 6 +++---
2 files changed, 10 insertions(+), 3 deletions(-)
commit 68d89b0e69d52dc7079d1c243a946045d4c8a9c4
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=68d89b0e69d52dc7079d1c243a946045d4c8a9c4;hp=5e055a374f02127efdb5fdb6a1f6c809d7e17dc7
Author: Simon Tatham <anakin at pobox.com>
Date: Mon May 29 15:54:34 2023 +0100
Add lots more stub versions of standard code modules.
These are all going to be used by a test program I have in the works,
which will need to link against a lot more of the code base than any
so far. So we need a pile of new stubs.
The trickiest of these was stubs/no-network.c, which had to
conditionally define a couple of extra network functions, because
there are Windows-specific plug_closing_system_error and
plug_closing_winsock_error functions.
stubs/no-agent.c | 11 ++++
stubs/no-callback.c | 33 ++++++++++++
stubs/no-gss.c | 19 +++++++
stubs/no-ldisc.c | 37 +++++++++++++
stubs/no-network.c | 144 ++++++++++++++++++++++++++++++++++++++++++++++++++
stubs/no-timing.c | 5 ++
unix/stubs/no-uxsel.c | 31 +++++++++++
7 files changed, 280 insertions(+)
More information about the tartarus-commits
mailing list