1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 18:07:59 +00:00
Commit Graph

6753 Commits

Author SHA1 Message Date
Simon Tatham
8e7a270f7f Miscellaneous cleanups and reorgs in preparation for building
PuTTYgen. In particular, moved self-managing controls stuff out of
windlg.c into the new and reusable winctrls.c.

[originally from svn r714]
2000-10-18 15:36:32 +00:00
Simon Tatham
f543b08ca5 Add some more commented-out diagnostics for ssh1
[originally from svn r713]
2000-10-18 15:33:05 +00:00
Simon Tatham
e41344c544 RSA key generation routines, and the bignum enhancements required to
support them. A key generation tool will be forthcoming soon.

[originally from svn r712]
2000-10-18 15:00:36 +00:00
Simon Tatham
633ae5a22b Add an "Add Key" option to the systray menu in Pageant
[originally from svn r710]
2000-10-12 15:26:40 +00:00
Simon Tatham
95697270b5 Implement MD5 MAC for the benefit of old SSH2 servers
[originally from svn r709]
2000-10-12 14:24:58 +00:00
Simon Tatham
fd3e15f328 Miscellaneous fixes for better interoperation with commercial SSH 2
[originally from svn r708]
2000-10-12 13:34:46 +00:00
Simon Tatham
e67f143e61 Implement a much more visually appealing, but much more internally
grotty, hack to get around Explorer maximising the config box.

[originally from svn r707]
2000-10-12 12:56:33 +00:00
Simon Tatham
3e83d75154 Add a config option to emulate the HMAC bug in commercial SSH v2.3.x
and earlier (namely, it uses only 16 bytes of key rather than 20).

[originally from svn r706]
2000-10-12 12:39:44 +00:00
Simon Tatham
421aafb4c0 Stop the SSH panel appearing in PuTTYtel
[originally from svn r705]
2000-10-12 09:10:45 +00:00
Simon Tatham
d6a97056a1 Stop plink's key verification locking up on input
[originally from svn r704]
2000-10-12 09:10:31 +00:00
Simon Tatham
fa731eaf82 Add UNE 10053 to the cleartext ones
[originally from svn r703]
2000-10-11 19:56:22 +00:00
Simon Tatham
fe2ee468e6 Turn off paste-as-poorman for line drawing chars until it's configurable
[originally from svn r702]
2000-10-10 16:02:08 +00:00
Simon Tatham
cc306c6d9d ISO8859-2 to CP852 output translation wants to have Win1250 to ISO8859-2
input translation as its counterpart, not CP852 to ISO8859-2. Because the
reason you want this translation is if your _font_ is coded CP852 - in which
case your keymap will not follow suit but will still be in Win1250.

[originally from svn r701]
2000-10-10 12:43:24 +00:00
Simon Tatham
b5957e5732 Scroll regions of two lines are allowed
[originally from svn r700]
2000-10-10 10:50:14 +00:00
Simon Tatham
fff1053350 Trivial bug with the function-key radio buttons
[originally from svn r699]
2000-10-10 09:17:13 +00:00
Simon Tatham
6b620323e0 Now when a saved session is loaded, its name appears in the
IDC_SESSEDIT box, so that clicking Save will save over it. Useful
for people who want to load, modify, and re-save. Special case: this
doesn't apply to Default Settings, because I think people will be
more likely to load DS, modify it, and save under a _different_
name, so it's good not to allow a single mouse click to screw them
up.

[originally from svn r698]
2000-10-10 09:03:20 +00:00
Simon Tatham
ef5965e430 Move initialisation of the saved session box outside init_dlg_ctrls() so
that you don't end up with twice as many items after clicking Load

[originally from svn r697]
2000-10-10 08:33:49 +00:00
Simon Tatham
a453e02987 Rename IDC_FUNCTILDE from "VT400" to "ESC[n~" because another VT400 now
exists!

[originally from svn r696]
2000-10-10 08:20:26 +00:00
Simon Tatham
7b444de332 Add ISO8859-2 / CP852 translation courtesy of Jaromir Filsak
[originally from svn r695]
2000-10-09 16:29:12 +00:00
Simon Tatham
3e7c4813d7 Work around horrifyingly nonportable use of unions in <commctrl.h>
[originally from svn r694]
2000-10-09 16:12:51 +00:00
Simon Tatham
ceab40ec49 Abandon the tab control in favour of a tree view
[originally from svn r693]
2000-10-09 15:51:14 +00:00
Simon Tatham
fd5588d087 Robert de Bath's big patch:
- cope with strange WinSock wrappers not supporting SIOCATMARK
  - define yet more terminal compatibility modes
  - support UK-ASCII (just like US-ASCII but # is a sterling sign)
  - support connection keepalives at a configurable interval

[originally from svn r692]
2000-10-09 12:53:32 +00:00
Simon Tatham
e48981def4 Miscellaneous fixes to try to make other compilers happier
[originally from svn r691]
2000-10-09 12:19:09 +00:00
Simon Tatham
5e71961719 Remove the hierarchical dialog structure
[originally from svn r690]
2000-10-09 12:16:27 +00:00
Simon Tatham
b8967e5231 Add a compile option so that anyone who really wants to can build a
Win95-only (securityless) version of Pageant. This will refuse to
run at all under NT, so as to avoid the risk of people accidentally
running an insecure binary on a security-requiring system.

[originally from svn r688]
2000-10-09 09:10:09 +00:00
Simon Tatham
f7d6cd2059 Alt-Enter was fouling up on Win95; added explicit handler
[originally from svn r687]
2000-10-07 08:10:32 +00:00
Simon Tatham
82dcef256f Fix sorting of saved sessions list box so Default Settings is back at
the top of the list instead of being filed under D

[originally from svn r686]
2000-10-06 16:19:44 +00:00
Simon Tatham
0129f94d1c Stop throwing out the Connection panel during midsession reconfig.
Instead, only throw out the useless parts of it. See, the new auto-
layout features bear fruit immediately!

[originally from svn r685]
2000-10-06 16:01:09 +00:00
Simon Tatham
942d7f0533 Update Makefile generation and ensure everything works with Borland 5.5
[originally from svn r684]
2000-10-06 15:54:04 +00:00
Simon Tatham
b584238186 Create settings.c and move the load/save session code out of
windlg.c into it. Allows plink and pscp to no longer link with
windlg.c, meaning they lose some of the sillier stub functions and
also can provide a console-based form of verify_ssh_host_key().

[originally from svn r683]
2000-10-06 13:21:36 +00:00
Simon Tatham
43abfd1783 Move omission of SSH protocol setting in PuTTYtel into windlg.c and
remove nosshres.rc accordingly

[originally from svn r682]
2000-10-06 12:43:19 +00:00
Simon Tatham
7b6106d62a Add a parameter to write_clip() so that windlg.c need not call term_deselect
[originally from svn r681]
2000-10-06 12:32:25 +00:00
Simon Tatham
bbe7ece71f Re-enable copying the Event Log. (rev 1.39 [r661] accidentally disabled it)
[originally from svn r680]
[r661 == 7fc8ef792f]
2000-10-06 12:31:54 +00:00
Simon Tatham
91ca2edb40 Cross-reference cleanup: winstore.c should not use fatalbox()
[originally from svn r679]
2000-10-06 12:10:26 +00:00
Simon Tatham
a46e11406e Mistaken identity in sesssaver() was breaking saved-session edit box
[originally from svn r678]
2000-10-06 11:49:40 +00:00
Simon Tatham
8c169b0c6d Tighten up use of "static" throughout. Module-internal things should NOT
be exported willy-nilly. It encourages people to use them.

[originally from svn r677]
2000-10-06 11:42:30 +00:00
Simon Tatham
38a6322cec Localise control IDs in each dialog procedure, for maintainability
[originally from svn r676]
2000-10-06 09:06:33 +00:00
Simon Tatham
0a42aa2090 Add LBS_STANDARD on saved session list box, so you can double-click
[originally from svn r675]
2000-10-06 08:10:53 +00:00
Simon Tatham
1be5191965 Remove rogue debug statement
[originally from svn r674]
2000-10-06 08:06:23 +00:00
Simon Tatham
5d359d9528 Revamp the auto-layout of PuTTY configuration box controls. They are
now auto-laid-out at runtime instead of compile time. Byebye
win_res.inp and mkres.c; byebye most of win_res.rc; hello a whole
new load of control-creation functions in windlg.c. Also, now that
we're creating the tab control at runtime, we can check to see if it
succeeded and use an alternative if so. This _should_ enable the
config box to work on Win32s, although at the time of checkin that's
untested.

[originally from svn r673]
2000-10-05 17:19:04 +00:00
Simon Tatham
76746a7d61 Remove /DWIN32S_COMPAT by detecting presence of GetSystemPowerStatus at
runtime using GetProcAddress

[originally from svn r672]
2000-10-05 16:48:37 +00:00
Simon Tatham
8805d0b50e We now honour the PLINK_PROTOCOL environment variable if it's set.
Also we are able to notice when a backend is instantly sendok(),
rather than waiting until after the first successful socket read.
(This was zogging raw connections. They're still slightly zogged but
not as badly as they were.)

[originally from svn r671]
2000-10-05 12:15:22 +00:00
Simon Tatham
2b9707fcf8 Enable protocol prefix on [user@]host argument in Plink
[originally from svn r670]
2000-10-04 14:35:31 +00:00
Simon Tatham
9a9bd54197 Store default port number in each back end
[originally from svn r669]
2000-10-04 14:35:15 +00:00
Simon Tatham
1139bbddd0 Plink now honours the Default Settings protocol and supports -l for username.
Also removed a diagnostic which had got in by mistake.

[originally from svn r668]
2000-10-04 14:13:17 +00:00
Simon Tatham
e424247802 Fix a typo; thanks to Al Sutton
[originally from svn r667]
2000-10-04 10:02:25 +00:00
Simon Tatham
01ca2d8077 Work around DSA formatting bug in commercial-SSH 2.0.13
[originally from svn r665]
2000-10-03 09:05:56 +00:00
Simon Tatham
e9caa5e3b6 Ability to specify a remote command in PuTTY proper
[originally from svn r664]
2000-10-02 15:22:41 +00:00
Simon Tatham
c1e5815add Make the new test suite's comment more accurate :-)
[originally from svn r663]
2000-10-02 13:57:41 +00:00
Simon Tatham
ab68fc8a96 Local remove of first key in list wasn't working
[originally from svn r662]
2000-10-02 12:38:12 +00:00