]> asedeno.scripts.mit.edu Git - PuTTY.git/log
PuTTY.git
21 years agoTurned the old `Telnet Command' System-submenu into a more general
Simon Tatham [Fri, 4 Apr 2003 20:21:05 +0000 (20:21 +0000)]
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]

21 years agoThis script has been unnecessary for some time; since the config box revamp,
Jacob Nevins [Fri, 4 Apr 2003 11:22:14 +0000 (11:22 +0000)]
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]

21 years agoImplement columns, based loosely on Simon's Windows implementation. Now this
Ben Harris [Thu, 3 Apr 2003 23:18:06 +0000 (23:18 +0000)]
Implement columns, based loosely on Simon's Windows implementation.  Now this
actually _looks_ like PuTTY.

[originally from svn r3052]

21 years agoAnother item for the release checklist: don't forget to save the
Simon Tatham [Wed, 2 Apr 2003 09:20:58 +0000 (09:20 +0000)]
Another item for the release checklist: don't forget to save the
link maps of the release binaries.

[originally from svn r3045]

21 years agoFurther .cvsignore updates.
Simon Tatham [Wed, 2 Apr 2003 09:14:38 +0000 (09:14 +0000)]
Further .cvsignore updates.

[originally from svn r3044]

21 years agoExtra bit of pre-release fiddling for the checklist.
Simon Tatham [Wed, 2 Apr 2003 09:14:05 +0000 (09:14 +0000)]
Extra bit of pre-release fiddling for the checklist.

[originally from svn r3043]

21 years agoImprovements to .cvsignore, to attempt to reduce the huge number of
Simon Tatham [Wed, 2 Apr 2003 08:44:05 +0000 (08:44 +0000)]
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]

21 years agoVarious error-handling fixes, mostly in Unix PuTTY but one (failure
Simon Tatham [Tue, 1 Apr 2003 18:10:25 +0000 (18:10 +0000)]
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]

21 years agoMake sure the socket is closed properly in the various SSH exit paths.
Simon Tatham [Mon, 31 Mar 2003 13:15:51 +0000 (13:15 +0000)]
Make sure the socket is closed properly in the various SSH exit paths.

[originally from svn r3037]

21 years agoTrivial segfault fix from Richard B.
Simon Tatham [Mon, 31 Mar 2003 12:57:36 +0000 (12:57 +0000)]
Trivial segfault fix from Richard B.

[originally from svn r3036]

21 years agoAhem; update the TODO to reflect the cmdline changes :-)
Simon Tatham [Mon, 31 Mar 2003 12:11:21 +0000 (12:11 +0000)]
Ahem; update the TODO to reflect the cmdline changes :-)

[originally from svn r3035]

21 years agoSupport for PuTTY-style command-line arguments in Unix PuTTY. I
Simon Tatham [Mon, 31 Mar 2003 12:10:53 +0000 (12:10 +0000)]
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]

21 years agopterm.c now relies on backend `exitcode' functions returning <0 when
Simon Tatham [Mon, 31 Mar 2003 12:10:08 +0000 (12:10 +0000)]
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]

21 years agoAnd everyone's favourite cosmetic change: Unix PuTTY now doesn't
Simon Tatham [Mon, 31 Mar 2003 11:42:45 +0000 (11:42 +0000)]
And everyone's favourite cosmetic change: Unix PuTTY now doesn't
claim to be pterm in the window title :-)

[originally from svn r3032]

21 years agoCan now save and load settings under Unix.
Simon Tatham [Mon, 31 Mar 2003 11:36:14 +0000 (11:36 +0000)]
Can now save and load settings under Unix.

[originally from svn r3031]

21 years agoAhem; fix `bombout' so it passes the correct frontend handle to
Simon Tatham [Mon, 31 Mar 2003 11:22:30 +0000 (11:22 +0000)]
Ahem; fix `bombout' so it passes the correct frontend handle to
connection_fatal().

[originally from svn r3030]

21 years agoFix a _very_ subtle segfault in my two GTK container classes: the
Simon Tatham [Mon, 31 Mar 2003 11:22:06 +0000 (11:22 +0000)]
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]

21 years agoCheckin of last night's work on GTK message boxes. Unix PuTTY now
Simon Tatham [Mon, 31 Mar 2003 11:21:07 +0000 (11:21 +0000)]
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]

21 years agoCorrect the size of editboxes under Mac OS 8.
Ben Harris [Sun, 30 Mar 2003 14:24:20 +0000 (14:24 +0000)]
Correct the size of editboxes under Mac OS 8.

[originally from svn r3027]

21 years agoCrude keyboard support for System 7 editboxes.
Ben Harris [Sun, 30 Mar 2003 00:45:00 +0000 (00:45 +0000)]
Crude keyboard support for System 7 editboxes.

[originally from svn r3026]

21 years agoThe entropy pool is full of unsigned ints, not longs.
Ben Harris [Sat, 29 Mar 2003 23:57:55 +0000 (23:57 +0000)]
The entropy pool is full of unsigned ints, not longs.

[originally from svn r3025]

21 years agoMove the Mac port over to using snew/snewn/sresize.
Ben Harris [Sat, 29 Mar 2003 23:07:55 +0000 (23:07 +0000)]
Move the Mac port over to using snew/snewn/sresize.

[originally from svn r3024]

21 years agoIn a couple of places, snewn() was being asked for an array of char which was
Ben Harris [Sat, 29 Mar 2003 23:05:36 +0000 (23:05 +0000)]
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]

21 years agoConvert the System 7 static text control to be a read-only version of the
Ben Harris [Sat, 29 Mar 2003 22:04:21 +0000 (22:04 +0000)]
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]

21 years agoAdd support for labels on editboxes and radios.
Ben Harris [Sat, 29 Mar 2003 20:16:51 +0000 (20:16 +0000)]
Add support for labels on editboxes and radios.

[originally from svn r3021]

21 years agoHaving created and used uxsel, it actually turns out to be
Simon Tatham [Sat, 29 Mar 2003 19:52:50 +0000 (19:52 +0000)]
Having created and used uxsel, it actually turns out to be
practically trivial to put all the pieces together and create a
working prototype of Unix PuTTY! It's missing a lot of things -
notably GUI request boxes for host keys and logfiles and so forth,
the Event Log, mid-session reconfiguration, session loading and
saving, sensible population of the character sets drop-down list and
probably other fiddly little things too - but it will put up a
config box and then create a GUI window containing an SSH connection
to the host you specified, so it's _basically_ there. Woo!

[originally from svn r3020]

21 years agoAdd input-focus support for System 7, where the Control Manager can't do
Ben Harris [Sat, 29 Mar 2003 18:32:36 +0000 (18:32 +0000)]
Add input-focus support for System 7, where the Control Manager can't do
it itself.
Also clean up Carbon builds.

[originally from svn r3019]

21 years agoAdd the System 7 editbox CDEF, which I seem to have forgotten.
Ben Harris [Sat, 29 Mar 2003 18:31:09 +0000 (18:31 +0000)]
Add the System 7 editbox CDEF, which I seem to have forgotten.

[originally from svn r3018]

21 years agopterm now uses the new uxsel module, so it's one step closer to
Simon Tatham [Sat, 29 Mar 2003 18:30:14 +0000 (18:30 +0000)]
pterm now uses the new uxsel module, so it's one step closer to
being able to be a PuTTY as well as a pterm. In the process I've
also moved icky things like actually reading from the pty fd and
printing the `terminated on signal' messages into pty.c where they
obviously should have been in the first place. Also there's been one
interesting repercussion in the terminal code: terminal.c's
from_backend now calls term_out() directly rather than expecting the
front end to call it afterwards. This has had the entertaining side
effect of fixing a Windows-specific bug whereby activity in a port
forwarding through a PuTTY with a blinking cursor caused the cursor
to blink to ON (!!!!). So, a surprisingly far-reaching checkin as it
turns out...

[originally from svn r3017]

21 years agoI'm sick of having to type (cd ..; perl mkfiles.pl) when I'm working
Simon Tatham [Sat, 29 Mar 2003 17:07:31 +0000 (17:07 +0000)]
I'm sick of having to type (cd ..; perl mkfiles.pl) when I'm working
on Unix. So now mkfiles.pl will look in .. as well as . when
searching for Recipe, so I can run `perl ../mkfiles.pl' and it will
Just Work.

[originally from svn r3016]

21 years agoAdded uxsel.c, into which I've moved those parts of the uxnet.c
Simon Tatham [Sat, 29 Mar 2003 16:47:06 +0000 (16:47 +0000)]
Added uxsel.c, into which I've moved those parts of the uxnet.c
functionality that deal with selectable fds in general. The idea is
that pty.c will stop passing its fd straight to pterm.c and hand it
to this module instead, and pterm.c will start requesting a general
list of fds from this module rather than expecting a single one from
pty.c, with the ultimate aim of pterm.c being able to form the basis
of a Unix PuTTY as well as pterm proper.

[originally from svn r3015]

21 years agoIntroduced wrapper macros snew(), snewn() and sresize() for the
Simon Tatham [Sat, 29 Mar 2003 16:14:26 +0000 (16:14 +0000)]
Introduced wrapper macros snew(), snewn() and sresize() for the
malloc functions, which automatically cast to the same type they're
allocating the size of. Should prevent any future errors involving
mallocing the size of the wrong structure type, and will also make
life easier if we ever need to turn the PuTTY core code from real C
into C++-friendly C. I haven't touched the Mac frontend in this
checkin because I couldn't compile or test it.

[originally from svn r3014]

21 years agoFix off-by-one in selection update while scrolling. Thanks Richard B.
Simon Tatham [Sat, 29 Mar 2003 13:54:11 +0000 (13:54 +0000)]
Fix off-by-one in selection update while scrolling. Thanks Richard B.

[originally from svn r3013]

21 years agoUpdate text about ports, hopefully not too controversial.
Owen Dunn [Sat, 29 Mar 2003 01:44:39 +0000 (01:44 +0000)]
Update text about ports, hopefully not too controversial.

[originally from svn r3012]

21 years agoTidy up dlg_editbox_set() and implemen dlg_editbox_get() for System 7.
Ben Harris [Fri, 28 Mar 2003 00:50:04 +0000 (00:50 +0000)]
Tidy up dlg_editbox_set() and implemen dlg_editbox_get() for System 7.

[originally from svn r3011]

21 years agoDisplay half of a System 7 edit text CDEF, using TextEdit directly. This
Ben Harris [Fri, 28 Mar 2003 00:06:17 +0000 (00:06 +0000)]
Display half of a System 7 edit text CDEF, using TextEdit directly.  This
is the easy bit.

[originally from svn r3010]

21 years agoopen_settings_r() and open_settings_w() need to cope with a NULL session name.
Ben Harris [Thu, 27 Mar 2003 22:46:28 +0000 (22:46 +0000)]
open_settings_r() and open_settings_w() need to cope with a NULL session name.

[originally from svn r3009]

21 years agoDECCOLM fix, take 2. It turns out that my last fix wasn't causing crashes,
Ben Harris [Thu, 27 Mar 2003 00:22:59 +0000 (00:22 +0000)]
DECCOLM fix, take 2.  It turns out that my last fix wasn't causing crashes,
but PuTTY was running out of memory, which is both easy and fatal under Mac OS
at present.  Having fixed that, I've re-instated the screen-clearing and
cursor-homing on DECCOLM, and added resetting the scroll region, since this
seems to help VTL's keypad diagram display correctly.

[originally from svn r3006]

21 years agoGet preferred and minimum sizes in the right order.
Ben Harris [Wed, 26 Mar 2003 23:52:21 +0000 (23:52 +0000)]
Get preferred and minimum sizes in the right order.

[originally from svn r3005]

21 years agoRevert last change. It seems to cause crashes when DECCOLM actually changes
Ben Harris [Wed, 26 Mar 2003 23:13:41 +0000 (23:13 +0000)]
Revert last change.  It seems to cause crashes when DECCOLM actually changes
the width of the window.

[originally from svn r3003]

21 years agoDECCOLM should clear the screen and home the cursor, so it does now.
Ben Harris [Wed, 26 Mar 2003 21:14:39 +0000 (21:14 +0000)]
DECCOLM should clear the screen and home the cursor, so it does now.
Correct interactions with DECOM and DECSTBM not investigated.
Should fix bug "deccolm-cls", but I'll leave it open till I've checked the
interactions.

[originally from svn r3001]

21 years agoRename dlg_listbox_addwithindex() to dlg_listbox_addwithid(), since the old
Ben Harris [Tue, 25 Mar 2003 23:45:56 +0000 (23:45 +0000)]
Rename dlg_listbox_addwithindex() to dlg_listbox_addwithid(), since the old
name was, not to put too fine a point on it, wrong.

[originally from svn r2997]

21 years agoUse CountMenuItems() rather than CountMItems() since the latter isn't
Ben Harris [Tue, 25 Mar 2003 23:23:03 +0000 (23:23 +0000)]
Use CountMenuItems() rather than CountMItems() since the latter isn't
available in Carbon.

[originally from svn r2996]

21 years agoAdd support for editbox controls on Mac OS 8, and for per-control private data.
Ben Harris [Tue, 25 Mar 2003 23:18:59 +0000 (23:18 +0000)]
Add support for editbox controls on Mac OS 8, and for per-control private data.

[originally from svn r2995]

21 years agoClean out some #ifdef'ed out junk.
Ben Harris [Mon, 24 Mar 2003 22:46:11 +0000 (22:46 +0000)]
Clean out some #ifdef'ed out junk.

[originally from svn r2985]

21 years agoInitialise the "next menu ID" counter for pop-up menus. This stops crashes
Ben Harris [Mon, 24 Mar 2003 22:41:38 +0000 (22:41 +0000)]
Initialise the "next menu ID" counter for pop-up menus.  This stops crashes
on Mac OS 8.
Also re-do support for activate events so as not to depend on embedding
hierarchies, and thus to work on System 7.

[originally from svn r2984]

21 years agoSlightly improve radio button layout to more closely match the Mac OS 8 HI
Ben Harris [Mon, 24 Mar 2003 21:55:51 +0000 (21:55 +0000)]
Slightly improve radio button layout to more closely match the Mac OS 8 HI
Guidelines.

[originally from svn r2983]

21 years agoThe general blurb on using Plink in batch mode ought to mention the
Simon Tatham [Mon, 24 Mar 2003 10:49:01 +0000 (10:49 +0000)]
The general blurb on using Plink in batch mode ought to mention the
host key prompt, and specifically mention how to ensure it won't
bite you.

[originally from svn r2981]

21 years agoAdd support for pop-up menus (drop-down lists in Windows parlance).
Ben Harris [Sun, 23 Mar 2003 14:11:39 +0000 (14:11 +0000)]
Add support for pop-up menus (drop-down lists in Windows parlance).
For some reason, these explode horribly with the Appearance Manager present,
but work fine in bare System 7.  Investigations are ongoing.

[originally from svn r2980]

21 years agoVarious cosmetic fixes to the GTK config box: vertical alignment of
Simon Tatham [Sat, 22 Mar 2003 17:00:06 +0000 (17:00 +0000)]
Various cosmetic fixes to the GTK config box: vertical alignment of
edit box labels, Left/Right on the treeview to collapse and expand
branches, a window title, and the best treatment of wrapping text
widgets I could think of within the product-order-oriented GTK
layout model. I think this thing is now pretty much as good as it's
going to get before GTK v2 (which should fix one or two remaining
minor nasties which I really couldn't be bothered to work around in
GTK 1.2), so the next step is to actually start _using_ it.

[originally from svn r2979]

21 years agoThe GTK colour selector does not provide full 8-bit resolution in
Simon Tatham [Sat, 22 Mar 2003 11:07:59 +0000 (11:07 +0000)]
The GTK colour selector does not provide full 8-bit resolution in
the RGB values (it deals in floats with 2 d.p. instead). Hence I've
replaced the static RGB text item in the Colours panel with three
little edit boxes, so that a user can type in exact 0-255 RGB values
if necessary. This should have the additional advantage of being
quicker than faffing with the colour selector if you already know
exactly what you want and are in a hurry!

[originally from svn r2978]

21 years agoFiddle with the cmdline_saved mechanism: the `-load' option is now
Simon Tatham [Sat, 22 Mar 2003 10:36:28 +0000 (10:36 +0000)]
Fiddle with the cmdline_saved mechanism: the `-load' option is now
never deferred, but is evaluated instantly. This _should_ fix all
the irritating problems with (for example) proxy settings and saved
sessions not playing nicely. Or it may have some other ghastly side-
effect I haven't considered; really I ought to have been keeping
better track of all the problems in this area :-(

[originally from svn r2976]

21 years agoWindows file selectors contain an edit box as well as the Browse
Simon Tatham [Sat, 22 Mar 2003 10:05:10 +0000 (10:05 +0000)]
Windows file selectors contain an edit box as well as the Browse
button; we must send EVENT_VALCHANGE when the edit box is manually
changed as well as when the file selector successfully completes.

[originally from svn r2975]

21 years agoYikes - saving of Default Settings must have been broken for some
Simon Tatham [Sat, 22 Mar 2003 09:49:20 +0000 (09:49 +0000)]
Yikes - saving of Default Settings must have been broken for some
time! The load code in settings.c was translating an empty string
into "Default Settings" to pass to {win,ux}store, whereas the save
code was passing the empty string straight down and expecting it to
be dealt with. So, a policy decision: the precise name of the
"Default Settings" special session _at the storage level_ is up to
the individual platform storage code to decide, and all platforms
MUST assume Default Settings is meant if they receive NULL or the
empty string as a session name.

[originally from svn r2974]

21 years agoMake sure one of the Local/Remote port forwarding radio buttons
Simon Tatham [Sat, 22 Mar 2003 09:32:49 +0000 (09:32 +0000)]
Make sure one of the Local/Remote port forwarding radio buttons
actually starts off selected!

[originally from svn r2973]

21 years agoFixed the bug whereby PuTTYgen went into generation mode as soon as
Simon Tatham [Sat, 22 Mar 2003 09:22:52 +0000 (09:22 +0000)]
Fixed the bug whereby PuTTYgen went into generation mode as soon as
it started up. The problem was that I was accepting _any_ event on
IDC_GENERATE to trigger this, not just the `clicked' event, and some
uninteresting event like `initialise' must have occurred. Quite why
this only showed up as a result of the config box revamp I can't
imagine.

[originally from svn r2972]

21 years agoAdd crude support for multiple panels in the config dialogue box. There's
Ben Harris [Fri, 21 Mar 2003 00:24:17 +0000 (00:24 +0000)]
Add crude support for multiple panels in the config dialogue box.  There's
no way to switch between panels yet, though, so you're stuck on the first one.

[originally from svn r2971]

21 years agoPass a pointer to the entire dialog box structure to event handlers, rather
Ben Harris [Thu, 20 Mar 2003 23:15:25 +0000 (23:15 +0000)]
Pass a pointer to the entire dialog box structure to event handlers, rather
than just the individual control pointer, because otherwise event handlers
can't modify other controls.

[originally from svn r2970]

21 years agoMention xterm mouse reporting in the section on copy and paste.
Ben Harris [Thu, 20 Mar 2003 22:12:12 +0000 (22:12 +0000)]
Mention xterm mouse reporting in the section on copy and paste.

[originally from svn r2969]

21 years agoAdd support for drawing a ring around the default button in System 7.
Ben Harris [Wed, 19 Mar 2003 00:40:15 +0000 (00:40 +0000)]
Add support for drawing a ring around the default button in System 7.

[originally from svn r2967]

21 years agoAdd support for changing the contents of a pre-Appearance static text control.
Ben Harris [Tue, 18 Mar 2003 23:47:33 +0000 (23:47 +0000)]
Add support for changing the contents of a pre-Appearance static text control.

[originally from svn r2966]

21 years agoTag the "Cancel" button appropriately, in case anyone's using a theme that
Ben Harris [Tue, 18 Mar 2003 23:41:14 +0000 (23:41 +0000)]
Tag the "Cancel" button appropriately, in case anyone's using a theme that
pays attention to it.

[originally from svn r2965]

21 years agoBetter appearance and positioning for dlg_error_msg box, and also
Simon Tatham [Tue, 18 Mar 2003 19:47:28 +0000 (19:47 +0000)]
Better appearance and positioning for dlg_error_msg box, and also
I've just found out that it's easy to ask for the config box to be
centred on the screen by default, which is kinda cool.

[originally from svn r2962]

21 years agoChange the token for HTTP Basic Authentication from "basic" to "Basic".
Ben Harris [Tue, 18 Mar 2003 19:12:40 +0000 (19:12 +0000)]
Change the token for HTTP Basic Authentication from "basic" to "Basic".
According to RFC 2617, it should be case-insensitive, but some proxies
(Microsoft Proxy Server in particular) erroneously reject "basic".
Should fix semi-bug msproxy-denied.

[originally from svn r2959]

21 years agoBig sprawling dialog-box commit covering all sorts of things.
Simon Tatham [Tue, 18 Mar 2003 19:06:51 +0000 (19:06 +0000)]
Big sprawling dialog-box commit covering all sorts of things.
Buttons now have an `iscancel' flag to go with `isdefault';
dlg_last_focused() now explicitly passes the control it _doesn't_
care about (`I want the last control that had focus and isn't this
one'); and in the GTK implementation, various fixes have happened,
notably including arrow keys working sensibly in list boxes and the
treeview and short font aliases being expanded correctly to
initialise the font selectors.

[originally from svn r2958]

21 years agoGah, another duplicate keyword. I must stop creating new docs
Simon Tatham [Tue, 18 Mar 2003 09:03:31 +0000 (09:03 +0000)]
Gah, another duplicate keyword. I must stop creating new docs
sections by cut and paste.

[originally from svn r2956]

21 years agoMy First CDEF: A terribly trivial static text control for System 7.
Ben Harris [Tue, 18 Mar 2003 00:35:40 +0000 (00:35 +0000)]
My First CDEF:  A terribly trivial static text control for System 7.
Needs work.

[originally from svn r2955]

21 years agoInsert a missing ampersand that meant that the last version didn't even
Ben Harris [Mon, 17 Mar 2003 22:38:18 +0000 (22:38 +0000)]
Insert a missing ampersand that meant that the last version didn't even
compile.

[originally from svn r2954]

21 years agoPartial implementation of the platform-independent dialogue-box interface
Ben Harris [Mon, 17 Mar 2003 21:40:37 +0000 (21:40 +0000)]
Partial implementation of the platform-independent dialogue-box interface
for the Mac OS.  This isn't anywhere near complete, and is wrong in a few
important regards, but I think it's heading in the right direction.

[originally from svn r2953]

21 years agoIf I() and S() aren't inline, provide a prototype even if we're defining
Ben Harris [Mon, 17 Mar 2003 21:36:13 +0000 (21:36 +0000)]
If I() and S() aren't inline, provide a prototype even if we're defining
them.  This is useful for compilers that warn about un-prototyped functions.

[originally from svn r2952]

21 years agoWhen running on a system with Aqua menu layout, delete the separator line
Ben Harris [Mon, 17 Mar 2003 19:00:36 +0000 (19:00 +0000)]
When running on a system with Aqua menu layout, delete the separator line
above "Quit" as well as "Quit" itself.

[originally from svn r2951]

21 years agoError messages update. It's now abundantly clear that WSAECONNABORTED
Simon Tatham [Mon, 17 Mar 2003 16:57:23 +0000 (16:57 +0000)]
Error messages update. It's now abundantly clear that WSAECONNABORTED
is not the same thing as ECONNABORTED, so I've removed the `we're a
bit confused about this, send us details' text. And someone has just
been confused by `connection timed out', so I've added that too.

[originally from svn r2950]

21 years agotypo
Jacob Nevins [Sun, 16 Mar 2003 20:18:11 +0000 (20:18 +0000)]
typo

[originally from svn r2948]

21 years agoRSA blinding requires random numbers. Hence, Pageant now needs to
Simon Tatham [Sun, 16 Mar 2003 13:28:48 +0000 (13:28 +0000)]
RSA blinding requires random numbers. Hence, Pageant now needs to
have the random number generator linked in.

[originally from svn r2945]

21 years agoFurther work on the GTK config box; mostly implemented keyboard
Simon Tatham [Sun, 16 Mar 2003 12:37:48 +0000 (12:37 +0000)]
Further work on the GTK config box; mostly implemented keyboard
shortcuts now (only treeviews and list boxes to go, which currently
do very weird things and I need to overhaul them completely).

[originally from svn r2944]

21 years agoFixed accelerator clash in the Unix-specific config, since gtkdlg.c
Simon Tatham [Sun, 16 Mar 2003 12:36:33 +0000 (12:36 +0000)]
Fixed accelerator clash in the Unix-specific config, since gtkdlg.c
is now competent to detect them :-)

[originally from svn r2943]

21 years agoMy comment about RSA blinding was talking slight tosh. Fixed in case
Simon Tatham [Sat, 15 Mar 2003 18:39:10 +0000 (18:39 +0000)]
My comment about RSA blinding was talking slight tosh. Fixed in case
anyone ever actually reads it :-)

[originally from svn r2942]

21 years agoImplement RSA blinding, to defeat Brumley and Boneh's RSA timing
Simon Tatham [Sat, 15 Mar 2003 17:51:05 +0000 (17:51 +0000)]
Implement RSA blinding, to defeat Brumley and Boneh's RSA timing
attacks. In the PuTTY suite I'm pretty sure they're only applicable
to a forwarded Pageant, and if your remote sysadmin is abusing your
Pageant then you're shafted _anyway_; but it can't hurt to take
precautions now, just in case things change in future.

[originally from svn r2941]

21 years agoWhen a piece of text overflows its column in a tabbed list box, I
Simon Tatham [Sat, 15 Mar 2003 15:56:51 +0000 (15:56 +0000)]
When a piece of text overflows its column in a tabbed list box, I
think on balance I rather like the natural behaviour of the way I've
done it, except that non-zero separation between the columns would
be even nicer. Accordingly, here is some.

[originally from svn r2940]

21 years agoThe Telnet ENVIRON configurer also had a list box with an implicit
Simon Tatham [Sat, 15 Mar 2003 15:55:03 +0000 (15:55 +0000)]
The Telnet ENVIRON configurer also had a list box with an implicit
tab stop. Fixed this one too.

[originally from svn r2939]

21 years agoEvent handling in the GTK dialog engine is now basically present and
Simon Tatham [Sat, 15 Mar 2003 15:50:42 +0000 (15:50 +0000)]
Event handling in the GTK dialog engine is now basically present and
correct. All the callbacks are getting called, all the dialog
actions are working (the port forwarding, colour and charclass
configurers are all completely functional), file, font and colour
selectors happen, and it's all looking pretty cool.

[originally from svn r2938]

21 years agoWindows sets automatic tabs in list boxes, but GTK doesn't, so we
Simon Tatham [Sat, 15 Mar 2003 15:49:04 +0000 (15:49 +0000)]
Windows sets automatic tabs in list boxes, but GTK doesn't, so we
should make the tab stop in the forwarded-ports list explicit.

[originally from svn r2937]

21 years agoMissed a couple of the Unix-specific settings out of settings.c. One
Simon Tatham [Sat, 15 Mar 2003 09:42:15 +0000 (09:42 +0000)]
Missed a couple of the Unix-specific settings out of settings.c. One
of these days I'll have to separate the platform-specific settings
out into winsett and uxsett modules, but for now it's not too urgent.

[originally from svn r2936]

21 years agoWhile I'm adding explanatory comments by the coroutine macros, it
Simon Tatham [Fri, 14 Mar 2003 21:20:32 +0000 (21:20 +0000)]
While I'm adding explanatory comments by the coroutine macros, it
occurs to me that would also be a good place to put a copy of the
instructions for disabling Edit and Continue debugging. Nobody
_actually_ reads the README, after all...

[originally from svn r2935]

21 years agoThe divisor in the bell timing boxes should be TICKSPERSEC, not 1000.
Simon Tatham [Fri, 14 Mar 2003 21:18:13 +0000 (21:18 +0000)]
The divisor in the bell timing boxes should be TICKSPERSEC, not 1000.

[originally from svn r2934]

21 years agoContinuing work on the GTK config box. Created uxcfg.c for the
Simon Tatham [Fri, 14 Mar 2003 18:35:01 +0000 (18:35 +0000)]
Continuing work on the GTK config box. Created uxcfg.c for the
Unix-specific config items; moved a stray Windows-specific config
item (scrollbar-in-fullscreen) out into wincfg.c to stop it
appearing on Unix; continued updates to gtkdlg.c. I now believe the
GTK config box looks basically correct (modulo minor cosmetic issues
and keyboard accelerators). Next step, add the event handling so
it's actually functional.

[originally from svn r2933]

21 years agoFirst stab at a GTK layout engine. It's missing all sorts of stuff
Simon Tatham [Thu, 13 Mar 2003 19:52:28 +0000 (19:52 +0000)]
First stab at a GTK layout engine. It's missing all sorts of stuff
(list boxes are particularly conspicuously absent), it has no event
handling at all, and it isn't in any way integrated into pterm - you
have to build it specially using the test stubs in gtkdlg.c. But
what there is so far seems to work plausibly well, so it's a start.
Rather than browbeat the existing GTK container/layout widgets into
doing what I wanted, I decided to implement two subclasses of
GtkContainer myself, which implement precisely the layout model
assumed by the config box specification; this has the rather cool
consequence that the box can be resized and will maintain the same
layout at all times that it would have had if initially created at
that size.

[originally from svn r2931]

21 years agoIncrease PuTTY's default partition size to 2 MB. 1 MB just isn't enough.
Ben Harris [Tue, 11 Mar 2003 22:35:07 +0000 (22:35 +0000)]
Increase PuTTY's default partition size to 2 MB.  1 MB just isn't enough.

[originally from svn r2928]

21 years agoNever pass a `char' to a ctype function. I had relied on gcc -Wall
Simon Tatham [Tue, 11 Mar 2003 09:30:31 +0000 (09:30 +0000)]
Never pass a `char' to a ctype function. I had relied on gcc -Wall
letting me know about instances of this, but it turns out that my
ctype.h explicitly casts input values to `int' to evade the
`subscript has type char' warning, so it had been carefully not
letting me know! Found them all by compiling with a doctored
ctype.h, and hopefully fixed them all too.

[originally from svn r2927]

21 years agoAdd the ability to allocate extra per-dialog-instance private data
Simon Tatham [Sat, 8 Mar 2003 11:46:42 +0000 (11:46 +0000)]
Add the ability to allocate extra per-dialog-instance private data
in the portable dialog interface. This has allowed me to remove
`ssd->savedsession' in config.c, which was (I believe) the only
out-of-place piece of per-instance data in the dialog template
stuff. Now we should actually be able to run more than one config
box in the same process at the same time (for platforms that'll find
that useful).

[originally from svn r2925]

21 years agoRichard B's patch for resize behaviour. The scrollback now contains
Simon Tatham [Fri, 7 Mar 2003 18:18:38 +0000 (18:18 +0000)]
Richard B's patch for resize behaviour. The scrollback now contains
a marker which defines everything before it as `permanent'
scrollback and everything after it as `temporary'; only temporary
scrollback lines are returned to the main screen when the window
height is increased. Screen clears mark the lines pushed into the
scrollback as permanent; so lines explicitly cleared off the screen
by ESC[2J are never returned to it by mistake. This patch also fixes
the incorrect state the primary screen is left in when the window is
resized while the alternate screen is active.

[originally from svn r2923]

21 years agoOvernight docs build found a duplicate section keyword. Oops. Fixed.
Simon Tatham [Fri, 7 Mar 2003 09:03:11 +0000 (09:03 +0000)]
Overnight docs build found a duplicate section keyword. Oops. Fixed.

[originally from svn r2921]

21 years agoAlert box to support host-key checking.
Ben Harris [Thu, 6 Mar 2003 23:46:06 +0000 (23:46 +0000)]
Alert box to support host-key checking.

[originally from svn r2920]

21 years agoSlightly better than null verify_ssh_host_key(). It's broken in more ways
Ben Harris [Thu, 6 Mar 2003 23:44:47 +0000 (23:44 +0000)]
Slightly better than null verify_ssh_host_key().  It's broken in more ways
than I can comfortably enumerate (see the comments in the code), but it's
better than always assuming everything's OK.

[originally from svn r2919]

21 years agoJust for Jacob, the ciphers drag list is now six lines high instead
Simon Tatham [Thu, 6 Mar 2003 19:20:33 +0000 (19:20 +0000)]
Just for Jacob, the ciphers drag list is now six lines high instead
of five, so that the scroll bar doesn't show up when it's active.

[originally from svn r2918]

21 years agoGot a bit of a better handle on the whole GDI `logical units' mess,
Simon Tatham [Thu, 6 Mar 2003 19:18:25 +0000 (19:18 +0000)]
Got a bit of a better handle on the whole GDI `logical units' mess,
and sorted out the static-control text wrapping rather better. Now
it works under both large fonts and small fonts on Win2K, so I have
high hopes that it's actually correct this time.

[originally from svn r2917]

21 years agoFix a couple of stupid typos in the session-saving code.
Simon Tatham [Thu, 6 Mar 2003 18:49:05 +0000 (18:49 +0000)]
Fix a couple of stupid typos in the session-saving code.

[originally from svn r2916]

21 years agoJacob points out that TS_EOL is broken in BINARY mode.
Simon Tatham [Thu, 6 Mar 2003 13:25:48 +0000 (13:25 +0000)]
Jacob points out that TS_EOL is broken in BINARY mode.

[originally from svn r2915]

21 years agoReorganisation of misc.c: Minefield has moved out to winmisc.c, and
Simon Tatham [Thu, 6 Mar 2003 13:24:02 +0000 (13:24 +0000)]
Reorganisation of misc.c: Minefield has moved out to winmisc.c, and
so has the Windows dputs() - which has also acquired a Unix
counterpart in uxmisc.c. -DDEBUG should now work on Unix.

[originally from svn r2914]

21 years agoOops, another missing forward-struct-declaration.
Simon Tatham [Thu, 6 Mar 2003 12:58:01 +0000 (12:58 +0000)]
Oops, another missing forward-struct-declaration.

[originally from svn r2913]