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

1765 Commits

Author SHA1 Message Date
Simon Tatham
406d2d8a32 Minor improvements to subsidiary window placement; with any luck the
Event Log should go off the side of the screen rather less often now.

[originally from svn r3088]
2003-04-10 08:53:43 +00:00
Simon Tatham
b49980b953 Event Log for Unix PuTTY. Doesn't yet allow X selection of its
contents, and doesn't automatically maintain scroll position at the
bottom when new entries are added while the list is open, but it's a
start.

[originally from svn r3087]
2003-04-09 18:46:45 +00:00
Simon Tatham
65fab07ad0 Remote-to-local port forwarding in SSH2 was apparently completely
broken! We were expecting the peer address/port in the incoming
packet _before_ the connected address/port, which is just wrong. I
wonder how I managed to mess that up.

[originally from svn r3083]
2003-04-09 11:19:39 +00:00
Simon Tatham
3540d6b2dd `dynamic' was uninitialised in other types of port forwarding. Oops.
[originally from svn r3082]
2003-04-09 11:18:41 +00:00
Simon Tatham
ab7e6fa1cd Chas Honton's patch to dynamic port forwarding: should allow longer
host names in SOCKS 4A, up to 255 characters (which is apparently
the DNS limit anyway).

[originally from svn r3080]
2003-04-09 09:09:57 +00:00
Simon Tatham
98a608c2e4 Rename pterm's -T option to -title, to avoid clashing with PuTTY's
-T (don't allocate a pty) option.

[originally from svn r3079]
2003-04-08 14:02:34 +00:00
Simon Tatham
fe666b2432 While writing gtkdlg.c I learned how to specify a window's initial
position in GTK, so I can now implement the other half of -geometry
which I'd previously believed to be impossible in GTK. It's still
not perfect, because GTK apparently provides no way for us to get
hold of the X reparent event in order to support negative geometries
in a manner which takes account of the WM borders; but for positive
position it's at least an improvement on the previous version!

[originally from svn r3078]
2003-04-08 13:49:12 +00:00
Simon Tatham
b0ee81ab32 Now that we have `appname', make much wider use of it. In
particular, the config box uses it in place of the word `PuTTY',
which means mid-session reconfig in pterm will look less strange
once I implement it. Also, while I'm at it, I've personalised all
the dialog boxes and menu items and suchlike so that PuTTYtel
actually claims to be PuTTYtel rather than PuTTY.

[originally from svn r3074]
2003-04-06 14:11:33 +00:00
Ben Harris
f48a3189fe To avoid gratuitous flicker, if a control already has the focus when it's
clicked in, don't attempt to move the focus at all.

[originally from svn r3073]
2003-04-06 13:27:40 +00:00
Ben Harris
9675063d38 Const fallout, as predicted.
[originally from svn r3071]
2003-04-05 22:12:44 +00:00
Ben Harris
98583ce217 Bring list of applications and architectures up to date.
[originally from svn r3070]
2003-04-05 22:10:13 +00:00
Ben Harris
9117b20d18 dd support for list boxes in Mac OS 8. Not entirely solid, but largely
working.
[ bits missed in the first commit ]

[originally from svn r3069]
2003-04-05 22:03:06 +00:00
Ben Harris
f51cc630c2 Add support for list boxes in Mac OS 8. Not entirely solid, but largely
working.

[originally from svn r3068]
2003-04-05 22:00:57 +00:00
Simon Tatham
3faede1ec3 Bah. There's always one I forget to `cvs add'.
[originally from svn r3067]
2003-04-05 19:52:12 +00:00
Ben Harris
6de4a868ff On System 7, draw the default ring in grey if the window is disabled.
This isn't _quite_ right, since it uses a b/w dither everywhere, whereas
it should use grey on colour screens.  That would involve mucking around
with DeviceLoop, though, and I'm not sure I can be bothered.

[originally from svn r3066]
2003-04-05 18:00:46 +00:00
Ben Harris
dddcb9ceda Handle Return and Escape keys in dialogue box, triggering the default and
cancel buttons respectively.

[originally from svn r3065]
2003-04-05 17:19:38 +00:00
Simon Tatham
cf08c5a64a Fixed the printing and charset combo boxes in Unix PuTTY. (The
former by simply removing it; the latter by adding an enumeration
function to libcharset.) This has had slight `const' repercussions
on cp_name() and cp_enumerate() which might break the Mac build.

[originally from svn r3064]
2003-04-05 16:36:11 +00:00
Simon Tatham
09c9f31289 Unix can't sensibly enumerate printers (since they're defined as
being lpr commands), so the Unix config box now replaces the printer
combo box with an ordinary edit box.

[originally from svn r3063]
2003-04-05 16:12:52 +00:00
Simon Tatham
30497ff683 Ctrl+rightclick now pops up a context menu in Unix PuTTY and pterm.
This menu is not yet fully populated, but it has an About box (yet
another licence location :-/ ) and supports the new configurable
specials menu (thus making Unix PuTTY do one tiny thing which
OpenSSH-in-a-pterm can't :-).

[originally from svn r3062]
2003-04-05 16:05:00 +00:00
Ben Harris
f9f5154e76 Cope with NULL labels in every control where it makes sense, and assert that
all other labels are != NULL.

[originally from svn r3061]
2003-04-05 15:55:22 +00:00
Ben Harris
d077cbb088 Send EVENT_VALCHANGE when a System 7 editbox gets typed in.
[originally from svn r3060]
2003-04-05 15:08:17 +00:00
Ben Harris
277ca3a397 Implement dlg_end().
[originally from svn r3059]
2003-04-05 15:01:16 +00:00
Ben Harris
000edf3233 Implement update_special_menu(), which calls mac_adjustmenus() as appropriate.
Eventually, mac_adjustmenus() will handle populating the Specials menu.

[originally from svn r3058]
2003-04-05 14:34:06 +00:00
Ben Harris
2e29590470 Add null_get_specials(), for both null and loop backends.
[originally from svn r3057]
2003-04-05 14:32:58 +00:00
Simon Tatham
3f83c3b140 ... of course, it would help if I remembered to _document_ dynamic
port forwarding. Ahem.

[originally from svn r3056]
2003-04-05 11:52:42 +00:00
Simon Tatham
8a3ff2bf3e Dynamic port forwarding by means of a local SOCKS server. Fully
supports SOCKS 4, SOCKS 4A and SOCKS 5 (well, actually IPv6 in SOCKS
5 isn't supported, but it'll be no difficulty once I actually get
round to it). Thanks to Chas Honton for his `stone soup' patch: I
didn't end up actually using any of his code, but it galvanised me
into doing it properly myself :-)

[originally from svn r3055]
2003-04-05 11:45:21 +00:00
Simon Tatham
3bd0415579 Turned the old `Telnet Command' System-submenu into a more general
`Special Command' menu, in which any backend can place its own list
of magical things the user might want to ask the backend to do. In
particular I've implemented the recently proposed "break" extension
in SSH2 using this mechanism.
NB this checkin slightly breaks the Mac build, since it needs to
provide at least a stub form of update_specials_menu().

[originally from svn r3054]
2003-04-04 20:21:05 +00:00
Jacob Nevins
e322770ab5 This script has been unnecessary for some time; since the config box revamp,
accelerator clashes have been checked for at run-time.

[originally from svn r3053]
2003-04-04 11:22:14 +00:00
Ben Harris
87229cbf79 Implement columns, based loosely on Simon's Windows implementation. Now this
actually _looks_ like PuTTY.

[originally from svn r3052]
2003-04-03 23:18:06 +00:00
Simon Tatham
3880344edf Another item for the release checklist: don't forget to save the
link maps of the release binaries.

[originally from svn r3045]
2003-04-02 09:20:58 +00:00
Simon Tatham
a05d4fdbd0 Further .cvsignore updates.
[originally from svn r3044]
2003-04-02 09:14:38 +00:00
Simon Tatham
14fa6023f1 Extra bit of pre-release fiddling for the checklist.
[originally from svn r3043]
2003-04-02 09:14:05 +00:00
Simon Tatham
6504c5c894 Improvements to .cvsignore, to attempt to reduce the huge number of
? lines I see when running `cvs update', which in turn might help
deal with my tendency to forget to `cvs add' new files before a big
checkin :-)

[originally from svn r3042]
2003-04-02 08:44:05 +00:00
Simon Tatham
7706da5e17 Various error-handling fixes, mostly in Unix PuTTY but one (failure
to save a session) crosses over into the platform-independent side.

[originally from svn r3041]
2003-04-01 18:10:25 +00:00
Simon Tatham
09ba8ca111 Make sure the socket is closed properly in the various SSH exit paths.
[originally from svn r3037]
2003-03-31 13:15:51 +00:00
Simon Tatham
ec6d5edb62 Trivial segfault fix from Richard B.
[originally from svn r3036]
2003-03-31 12:57:36 +00:00
Simon Tatham
2487fdd9b4 Ahem; update the TODO to reflect the cmdline changes :-)
[originally from svn r3035]
2003-03-31 12:11:21 +00:00
Simon Tatham
62844b4590 Support for PuTTY-style command-line arguments in Unix PuTTY. I
think it's now actually usable as a day-to-day SSH client, even if
things like the Event Log are still missing. So I call that a decent
lunch hour's work :-)

[originally from svn r3034]
2003-03-31 12:10:53 +00:00
Simon Tatham
9e59f4534b pterm.c now relies on backend `exitcode' functions returning <0 when
the session is still connected, and not returning an exit code until
after it's finished.

[originally from svn r3033]
2003-03-31 12:10:08 +00:00
Simon Tatham
3a41ec782e And everyone's favourite cosmetic change: Unix PuTTY now doesn't
claim to be pterm in the window title :-)

[originally from svn r3032]
2003-03-31 11:42:45 +00:00
Simon Tatham
0ec4f0620d Can now save and load settings under Unix.
[originally from svn r3031]
2003-03-31 11:36:14 +00:00
Simon Tatham
b044c350f4 Ahem; fix `bombout' so it passes the correct frontend handle to
connection_fatal().

[originally from svn r3030]
2003-03-31 11:22:30 +00:00
Simon Tatham
a7e6d60915 Fix a _very_ subtle segfault in my two GTK container classes: the
`forall' function has to be prepared for the list of widgets to
change along the way if (for example) the callback function destroys
its input widget.

[originally from svn r3029]
2003-03-31 11:22:06 +00:00
Simon Tatham
823f52c540 Checkin of last night's work on GTK message boxes. Unix PuTTY now
has proper GUI prompts for host keys etc, so it should now be usable
without a controlling tty.

[originally from svn r3028]
2003-03-31 11:21:07 +00:00
Ben Harris
38e6887ad1 Correct the size of editboxes under Mac OS 8.
[originally from svn r3027]
2003-03-30 14:24:20 +00:00
Ben Harris
82502df284 Crude keyboard support for System 7 editboxes.
[originally from svn r3026]
2003-03-30 00:45:00 +00:00
Ben Harris
3ee06b8cc3 The entropy pool is full of unsigned ints, not longs.
[originally from svn r3025]
2003-03-29 23:57:55 +00:00
Ben Harris
f599817d78 Move the Mac port over to using snew/snewn/sresize.
[originally from svn r3024]
2003-03-29 23:07:55 +00:00
Ben Harris
3e4386d810 In a couple of places, snewn() was being asked for an array of char which was
then assigned to an unsigned char * variabe.  This fixes that.

[originally from svn r3023]
2003-03-29 23:05:36 +00:00
Ben Harris
c1c7f5eb49 Convert the System 7 static text control to be a read-only version of the
editbox control.  This means that it has a persistent edit record, can have
its height measured and uses the system font by default, all of which are good.

[originally from svn r3022]
2003-03-29 22:04:21 +00:00