1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00
putty-source/windows
Simon Tatham cc3e4992d5 Break up x11fwd.c.
This is a module that I'd noticed in the past was too monolithic.
There's a big pile of stub functions in uxpgnt.c that only have to be
there because the implementation of true X11 _forwarding_ (i.e.
actually managing a channel within an SSH connection), which Pageant
doesn't need, was in the same module as more general X11-related
utility functions which Pageant does need.

So I've broken up this awkward monolith. Now x11fwd.c contains only
the code that really does all go together for dealing with SSH X
forwarding: the management of an X forwarding channel (including the
vtables to make it behave as Channel at the SSH end and a Plug at the
end that connects to the local X server), and the management of
authorisation for those channels, including maintaining a tree234 of
possible auth values and verifying the one we received.

Most of the functions removed from this file have moved into the utils
subdir, and also into the utils library (i.e. further down the link
order), because they were basically just string and data processing.

One exception is x11_setup_display, which parses a display string and
returns a struct telling you everything about how to connect to it.
That talks to the networking code (it does name lookups and makes a
SockAddr), so it has to live in the network library rather than utils,
and therefore it's not in the utils subdirectory either.

The other exception is x11_get_screen_number, which it turned out
nothing called at all! Apparently the job it used to do is now done as
part of x11_setup_display. So I've just removed it completely.
2021-04-18 08:18:27 +01:00
..
utils New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
CMakeLists.txt Break up x11fwd.c. 2021-04-18 08:18:27 +01:00
installer.wxs Whitespace rationalisation of entire code base. 2019-09-08 20:29:21 +01:00
make_install_images.sh Remove white dialog background in MSI user interface. 2020-06-21 16:39:47 +01:00
msifixup.py Remove white dialog background in MSI user interface. 2020-06-21 16:39:47 +01:00
pageant-rc.h winpgnt: add GUI button to re-encrypt an SSH-2 key. 2021-04-04 09:44:00 +01:00
pageant.ico Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
pageant.mft Whitespace rationalisation of entire code base. 2019-09-08 20:29:21 +01:00
pageant.rc winpgnt: add GUI button to re-encrypt an SSH-2 key. 2021-04-04 09:44:00 +01:00
pageants.ico Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
plink.rc `win-versioninfo': all builds of all Windows binaries now contain 2005-10-04 14:13:28 +00:00
pscp.ico Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
pscp.rc `win-versioninfo': all builds of all Windows binaries now contain 2005-10-04 14:13:28 +00:00
psftp.rc `win-versioninfo': all builds of all Windows binaries now contain 2005-10-04 14:13:28 +00:00
putty.ico Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
putty.mft Windows 10: add per monitor DPI awareness support. 2021-04-02 19:04:19 +01:00
putty.rc Fix typo in application description. 2021-02-21 23:07:02 +00:00
puttycfg.ico Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
puttygen-rc.h PuTTYgen: option to control Argon2 flavour. 2021-02-23 18:26:50 +00:00
puttygen.ico Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
puttygen.mft Whitespace rationalisation of entire code base. 2019-09-08 20:29:21 +01:00
puttygen.rc Windows PuTTYgen: support configurable fingerprint type. 2021-03-13 11:01:35 +00:00
puttyins.ico `installer.ico' doesn't fit into 8.3, so gets truncated to INSTALLE.ICO in 2007-02-06 22:39:15 +00:00
puttytel.mft Windows 10: add per monitor DPI awareness support. 2021-04-02 19:04:19 +01:00
puttytel.rc Tweak version string resources for EMBED_CHM. 2019-03-16 12:25:23 +00:00
rcstuff.h Replace mkfiles.pl with a CMake build system. 2021-04-17 13:53:02 +01:00
README-msi.txt Remove note about .CHM on network drives. 2019-03-18 21:53:45 +00:00
sizetip.c Formatting change to braces around one case of a switch. 2020-02-16 11:26:21 +00:00
version.rc2 FIXME about Windows resource CHMfulness hint. 2019-03-18 22:02:13 +00:00
website.url Switch chiark URLs to https. 2017-05-07 16:29:01 +01:00
win_res.h GUI host key prompts: add 'More info' subdialog. 2021-03-13 13:54:59 +00:00
win_res.rc2 GUI host key prompts: add 'More info' subdialog. 2021-03-13 13:54:59 +00:00
wincapi.h Remove the NO_SECURITY compile-time option. 2021-04-17 13:53:02 +01:00
wincfg.c Rework per-backend GUI configuration. 2020-03-10 21:27:57 +00:00
wincliloop.c Fix a few memory leaks spotted by Coverity. 2021-04-10 08:59:27 +01:00
wincons.c Console host key prompts: add 'more info' action. 2021-03-13 13:54:59 +00:00
winctrls.c dialog system: add a side-by-side alignment feature. 2021-04-10 09:43:25 +01:00
windlg.c Fix a mismatch of GetWindowLong with GWLP_*. 2021-04-11 09:55:21 +01:00
window.c Replace mkfiles.pl with a CMake build system. 2021-04-17 13:53:02 +01:00
wingss.c Replace mkfiles.pl with a CMake build system. 2021-04-17 13:53:02 +01:00
winhandl.c Fix a few 'triple letter in place of double' typos. 2021-01-17 09:18:42 +00:00
winhelp.c Remove most traces of WinHelp support. 2019-03-26 00:27:04 +00:00
winhelp.h winpgnt: add context help for 'Add Key (encrypted)' button. 2021-04-04 09:35:27 +01:00
winhelp.rc2 Replace mkfiles.pl with a CMake build system. 2021-04-17 13:53:02 +01:00
winhsock.c Replace mkfiles.pl with a CMake build system. 2021-04-17 13:53:02 +01:00
winjump.c Make dupcat() into a variadic macro. 2019-10-14 19:42:37 +01:00
winnet.c Remove #ifdef COVERITY. 2021-04-10 14:45:24 +01:00
winnohlp.c Stop looking for putty.chm alongside the binary. 2019-03-16 12:25:23 +00:00
winnoise.c Whitespace rationalisation of entire code base. 2019-09-08 20:29:21 +01:00
winnojmp.c Fix up svn:eol-style and svn:keywords on new files. 2010-12-27 00:24:48 +00:00
winnpc.c Remove the NO_SECURITY compile-time option. 2021-04-17 13:53:02 +01:00
winnps.c Remove the NO_SECURITY compile-time option. 2021-04-17 13:53:02 +01:00
winpgen.c No border on Windows Pageant/PuTTYgen About boxes. 2021-04-06 21:14:51 +01:00
winpgnt.c Remove the NO_SECURITY compile-time option. 2021-04-17 13:53:02 +01:00
winpgntc.c Remove the NO_SECURITY compile-time option. 2021-04-17 13:53:02 +01:00
winplink.c winplink: create an Ldisc for the backend to use. 2021-04-08 12:43:35 +01:00
winprint.c Whitespace rationalisation of entire code base. 2019-09-08 20:29:21 +01:00
winproxy.c Make the plug_log type code into an enum. 2020-02-07 19:17:45 +00:00
winseat.h GUI PuTTY: stop using the global 'hwnd'. 2020-02-02 10:02:10 +00:00
winsecur.h Remove the NO_SECURITY compile-time option. 2021-04-17 13:53:02 +01:00
winselcli.c Const-correctness in do_select() return value. 2020-01-04 13:52:22 +00:00
winselgui.c Const-correctness in do_select() return value. 2020-01-04 13:52:22 +00:00
winser.c Fixes from an attempted winelib build. 2021-04-09 12:26:15 +01:00
winsftp.c winsftp.c: avoid creating multiple netevents. 2020-02-09 08:19:21 +00:00
winshare.c Remove the NO_SECURITY compile-time option. 2021-04-17 13:53:02 +01:00
winsocks.c Auxiliary application: 'psocks', a simple SOCKS server. 2020-02-23 16:36:27 +00:00
winstore.c Make dupcat() into a variadic macro. 2019-10-14 19:42:37 +01:00
winstuff.h New library-style 'utils' subdirectories. 2021-04-18 08:18:27 +01:00
winucs.c Whitespace rationalisation of entire code base. 2019-09-08 20:29:21 +01:00
winx11.c Whitespace rationalisation of entire code base. 2019-09-08 20:29:21 +01:00