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

484 Commits

Author SHA1 Message Date
Simon Tatham
0d0c8a5e2e Jacob's patch to fix all the accelerators. AGAIN.
[originally from svn r899]
2001-01-26 09:48:37 +00:00
Simon Tatham
23dbd2d8f5 Fix build errors in PSCP after line discipline upheaval
[originally from svn r898]
2001-01-26 09:33:12 +00:00
Simon Tatham
9a31bb3905 Use default_port' rather than 22' when loading a default session.
[originally from svn r896]
2001-01-24 14:55:48 +00:00
Simon Tatham
7a79df8fe6 Rethink the whole line discipline architecture. Instead of having
multiple switchable line disciplines, we now have a single unified
one which changes its behaviour based on option settings. Each
option setting can be suggested by the back end and/or the terminal
handler, and can be forcibly overridden by the configuration. Local
echo and local line editing are separate, independently switchable,
options.

[originally from svn r895]
2001-01-24 14:08:20 +00:00
Simon Tatham
89505459e3 Improve socket error handling so that a socket error isn't an
automatic fatalbox(). Instead, the error is passed to the receiver
routine, which can decide just how fatal the problem really is.

[originally from svn r894]
2001-01-24 10:11:18 +00:00
Simon Tatham
3082f7e8be Ahem. The log-file Browse button should set cfg.logfilename and not
cfg.keyfile. Next time I copy and paste a huge chunk of code, I
should take more care about it :-/

[originally from svn r893]
2001-01-24 09:29:55 +00:00
Simon Tatham
34af1c4f1a Roman Pompejus's suggestion: do sensible things with focus when the
event log window appears or disappears.

[originally from svn r892]
2001-01-23 17:40:51 +00:00
Simon Tatham
bde2f9ac8a Roman Pompejus's fix for the TAB-not-working-in-Event-Log bug
[originally from svn r891]
2001-01-23 17:37:52 +00:00
Simon Tatham
d58d2cc2bb When the SSH panel disappears in puttytel, the Tunnels panel should too!
[originally from svn r890]
2001-01-23 14:20:04 +00:00
Simon Tatham
1eb0308ad7 Remove the entirely pointless fourth parameter from x11_init().
[originally from svn r889]
2001-01-23 11:02:02 +00:00
Simon Tatham
c171bb0a2c Fix a subtle bug affecting multiple-socket handling in Plink. (Was
interfering with X forwarding.)
Details of bug: the event object used as the target of
WSAEventSelect is created in such a way that it is automatically
reset when it releases a thread from WaitFor*Objects. Subsequently,
a read on the first socket in the list causes another network event
if not all the available data was read; thus the event object is set
again. Then, WSAEnumNetworkEvents is called again for the _second_
socket, and is passed the network event, which it therefore resets.
So an event has been dropped, and things only get restarted when
some more data arrives on the first socket.

[originally from svn r888]
2001-01-23 10:19:17 +00:00
Simon Tatham
f2b218078f Update puttygen GUI code to use Jeremy Sawicki's better group boxes
[originally from svn r887]
2001-01-22 17:25:20 +00:00
Simon Tatham
ae353f6dcb Add dependencies for puttygen.c
[originally from svn r886]
2001-01-22 17:24:58 +00:00
Simon Tatham
477c66fc64 Clean up a couple of trivial compiler warnings.
[originally from svn r885]
2001-01-22 17:24:38 +00:00
Simon Tatham
5c8e6a5295 Jeremy Sawicki's fix for the multiple-conflicting-accelerators
problems: controls are now destroyed and recreated on a panel
switch. In addition, this patch also introduces a better means of
doing the group boxes.

[originally from svn r884]
2001-01-22 17:17:26 +00:00
Simon Tatham
beeaa85fc5 Ability to hide the mouse pointer on a keypress a la Word
[originally from svn r883]
2001-01-22 16:38:43 +00:00
Simon Tatham
83066d174c Bring the SSH2 channel architecture up to scratch, enabling X
forwarding to work under SSH2. Also - surprise! - implement X
forwarding under SSH2.

[originally from svn r882]
2001-01-22 15:36:07 +00:00
Simon Tatham
b2cbee69cf Update the file list in .cvsignore
[originally from svn r881]
2001-01-22 13:32:05 +00:00
Simon Tatham
a9ff0485c0 Add a title to the Tunnels panel
[originally from svn r880]
2001-01-22 13:15:52 +00:00
Simon Tatham
c9c214d1e4 Try the blindingly-obvious fix for the hidden-controls-are-still-
accessible GUI bug.

[originally from svn r879]
2001-01-22 12:35:16 +00:00
Simon Tatham
4a339ef430 Add X11 forwarding, mainly thanks to Andreas Schultz
[originally from svn r878]
2001-01-22 11:34:52 +00:00
Simon Tatham
7edcb497cc Make sure it's SSH, and not Rlogin, which gets omitted from the
PuTTYtel config box. Oops!

[originally from svn r877]
2001-01-20 11:00:07 +00:00
Simon Tatham
ca90be26a8 Experimental Rlogin support, thanks to Delian Delchev. Local flow
control is unsupported, and server-to-client comms may fail for want
of working TCP Urgent.

[originally from svn r875]
2001-01-19 10:10:37 +00:00
Simon Tatham
72cdcc611a Keepalives are now in seconds not minutes
[originally from svn r874]
2001-01-19 09:01:50 +00:00
Simon Tatham
20397a174f Add a .cvsignore file
[originally from svn r873]
2001-01-18 17:29:01 +00:00
Simon Tatham
d9de560388 The `wrapnext' variable now states whether we _would_ wrap next
character if we were wrapping, not whether we _will_ wrap next
character. Makes for saner behaviour with vertical-line cursor and
also when changing autowrap mode while on rightmost column. Does
entail small behavioural changes to backspace and destructive-
backspace when in rightmost column with Auto Wrap off, but I don't
think they should be catastrophic, or indeed that there's a well
defined Right Behaviour.

[originally from svn r872]
2001-01-17 17:25:58 +00:00
Simon Tatham
d199d419fa Tidy up that latest checkin. PS_DOTTED is spelled PS_DOT and in any
case doesn't really cut it; we have to SetPixel every other one
manually because although PS_ALTERNATE exists it only works under
NT. Meanwhile, IDC_CURSTATIC was already used, for the cursor
_keys_. Duh.

[originally from svn r871]
2001-01-17 17:20:28 +00:00
Simon Tatham
c68959b584 Introduce alternative cursor shapes: underline, vertical line
[originally from svn r870]
2001-01-17 16:57:33 +00:00
Simon Tatham
e364010d4f Trivial fix for when the two directions select different encryption
algorithms

[originally from svn r869]
2001-01-17 16:57:15 +00:00
Simon Tatham
0990485276 Further work on writing the manual
[originally from svn r868]
2001-01-17 16:33:26 +00:00
Simon Tatham
4e3d39135e Continue writing documentation. Looks like a long job :-(
[originally from svn r867]
2001-01-17 12:46:50 +00:00
Simon Tatham
54a4337c6a Initial checkin of an outline for the PuTTY user manual.
[originally from svn r865]
2001-01-17 10:11:16 +00:00
Simon Tatham
cd9bab9b52 Remove rogue debug statement
[originally from svn r855]
2001-01-11 13:19:11 +00:00
Simon Tatham
3f7bf81cf6 IPv4 numeric addresses were broken thanks to IPv6 patch
[originally from svn r854]
2001-01-09 17:25:06 +00:00
Simon Tatham
43dff68308 Oops - accidentally undid rev 1.82 [r844]
[originally from svn r853]
[r844 == eac718ee1b]
2001-01-09 17:16:43 +00:00
Simon Tatham
e4532bb582 Enable explicit changing of the window title after session start
[originally from svn r852]
2001-01-08 16:28:21 +00:00
Simon Tatham
48b368d3ed Disable logging completely if the user selects Cancel when told the
file already exists

[originally from svn r851]
2001-01-08 16:24:13 +00:00
Simon Tatham
609593e119 Ensure ssh specials (EOF and PING) don't occur except in connection
states where they're meaningful. In case Plink misses an EOF by
attempting to send it before reaching SSH_STATE_SESSION, it is
buffered and sent later. PINGs can be sent during any part of the
initialisation phase _except_ before deciding whether to use
protocol 1 or 2.

[originally from svn r850]
2001-01-08 13:57:45 +00:00
Simon Tatham
c57d524298 Jeroen Massar's IPv6 patch. Disabled by default, for now.
[originally from svn r849]
2001-01-07 19:16:16 +00:00
Simon Tatham
170a75b520 Fix for spurious Space getting sent when alt_space and alt_only are
both set and you bring up the Sysmenu with an alt_space and dispatch
it with an alt_only. (The SYSKEYDOWN for alt_only is never received,
but we get the SYSKEYUP which PostMessages the space since it
expects to be triggering the _creation_ of a sysmenu. Solution: set
alt_state to 0 when an alt_space triggers a sysmenu, so that the
final SYSKEYUP will be seen as spurious, which it is. Perhaps we
could do this better.)

[originally from svn r848]
2001-01-07 19:15:59 +00:00
Simon Tatham
0026e5ada7 Kestutis Kupciunas's Lithuanian-friendliness patch to TranslateKey
[originally from svn r847]
2001-01-07 18:28:01 +00:00
Simon Tatham
3a2a06b1fc Improved session logging courtesy of Roman Pompejus
[originally from svn r846]
2001-01-07 18:24:59 +00:00
Simon Tatham
947c03869e Squelch some spurious resize events.
[originally from svn r845]
2001-01-07 17:18:24 +00:00
Simon Tatham
eac718ee1b Adam D Ligas's segfault: one form of connection closure was failing
to set SSH_STATE_CLOSED, causing subsequent resize events to go foom.

[originally from svn r844]
2001-01-07 17:18:12 +00:00
Simon Tatham
1f22416c3c Oops - that do-we-need-to-resize-window check failed to spot font changes
[originally from svn r843]
2001-01-07 16:38:35 +00:00
Simon Tatham
175d849778 Fix the System Caret so it really is invisible, and the right size
too.

[originally from svn r842]
2001-01-07 16:35:44 +00:00
Simon Tatham
f2b13650c8 `Change Settings' now behaves sensibly w.r.t. window size.
[originally from svn r841]
2001-01-07 16:27:48 +00:00
Simon Tatham
fc478e6cad Turn a rogue malloc to smalloc
[originally from svn r840]
2001-01-07 15:27:19 +00:00
Simon Tatham
5a908bb1d7 Apply `getservbyname' to the Port Number field in case it's
non-numeric. Patch due to Christian Biesinger.

[originally from svn r839]
2001-01-07 15:12:20 +00:00
Simon Tatham
a24c502f4f AltGr should now work again even when Compose key disabled
[originally from svn r838]
2001-01-07 14:30:00 +00:00