]> asedeno.scripts.mit.edu Git - PuTTY.git/log
PuTTY.git
21 years agoColin's and my fixes to connection_fatal().
Simon Tatham [Sun, 4 May 2003 14:14:10 +0000 (14:14 +0000)]
Colin's and my fixes to connection_fatal().

[originally from svn r3161]

21 years agoAsynchronous agent requests on Windows. Actually, I've kept the
Simon Tatham [Mon, 28 Apr 2003 13:59:32 +0000 (13:59 +0000)]
Asynchronous agent requests on Windows. Actually, I've kept the
ability to do synchronous ones as well, because PSCP and PSFTP don't
really need async ones and it would have been a serious pain to
implement them. Also, Pageant itself when run as a client of its
primary instance doesn't benefit noticeably from async agent
requests.

[originally from svn r3154]

21 years agoFirst half of `pageant-async' work. agent_query() is now passed a
Simon Tatham [Mon, 28 Apr 2003 11:41:39 +0000 (11:41 +0000)]
First half of `pageant-async' work. agent_query() is now passed a
callback function; it may return 0 to indicate that it doesn't have
an answer _yet_, in which case it will call the callback later on
when it does, or it may return 1 to indicate that it's got an answer
right now. The Windows agent_query() implementation is functionally
unchanged and still synchronous, but the Unix one is async (since
that one was really easy to do via uxsel). ssh.c copes cheerfully
with either return value, so other ports are at liberty to be sync
or async as they choose.

[originally from svn r3153]

21 years agoAdd puttytel binary to .cvsignore
Simon Tatham [Sun, 27 Apr 2003 11:11:35 +0000 (11:11 +0000)]
Add puttytel binary to .cvsignore

[originally from svn r3152]

21 years agoSupport for non-ISO-8859-1 X keysyms. So in particular, pterm in a
Simon Tatham [Sun, 27 Apr 2003 11:10:48 +0000 (11:10 +0000)]
Support for non-ISO-8859-1 X keysyms. So in particular, pterm in a
Euro-supporting font with a Euro-enabled X key map will now actually
generate a Euro character rather than shrugging and doing nothing.

[originally from svn r3151]

21 years agoradioline() was broken after the portable-dialog stuff got added, so
Simon Tatham [Sun, 27 Apr 2003 10:02:21 +0000 (10:02 +0000)]
radioline() was broken after the portable-dialog stuff got added, so
PuTTYgen was lacking its key type selector. Fixed.

[originally from svn r3150]

21 years agoTake the random number generator back out of Pageant: the `random'
Simon Tatham [Sun, 27 Apr 2003 09:45:35 +0000 (09:45 +0000)]
Take the random number generator back out of Pageant: the `random'
numbers needed for RSA blinding are now done deterministically by
hashes of the private key, much the same way we do it for DSA.

[originally from svn r3149]

21 years agoRemove the TODO comment at the top of uxputty.c; I'm now not aware
Simon Tatham [Sat, 26 Apr 2003 14:37:49 +0000 (14:37 +0000)]
Remove the TODO comment at the top of uxputty.c; I'm now not aware
of anything that makes the Unix port of PuTTY proper significantly
unfinished. That's quite a milestone :-)

[originally from svn r3148]

21 years agoMight as well provide PuTTYtel for Unix. It's not much effort!
Simon Tatham [Sat, 26 Apr 2003 14:36:48 +0000 (14:36 +0000)]
Might as well provide PuTTYtel for Unix. It's not much effort!

[originally from svn r3147]

21 years agoFiner granularity of config box handling. SSH packet logging should
Simon Tatham [Sat, 26 Apr 2003 14:35:34 +0000 (14:35 +0000)]
Finer granularity of config box handling. SSH packet logging should
now not show up when it's meaningless (in PuTTYtel, in pterm, and
in the middle of any non-SSH session), and the Connection panel is
inhibited completely in pterm.

[originally from svn r3146]

21 years agoMake the `vtmode' config option work under X. In the process I've
Simon Tatham [Sat, 26 Apr 2003 14:22:42 +0000 (14:22 +0000)]
Make the `vtmode' config option work under X. In the process I've
had to move another of its values out into wincfg.c - paradoxically,
this was the `font has X encoding' option! (Because the Unix font
handling code expects to be able to tell for _itself_ whether it has
a font with X-encoded line drawing glyphs.)

[originally from svn r3145]

21 years agoAha, _that's_ why the icon title didn't work properly in pterm:
Simon Tatham [Sat, 26 Apr 2003 13:55:47 +0000 (13:55 +0000)]
Aha, _that's_ why the icon title didn't work properly in pterm:
gtk_window_set_title() overwrote both titles at once. Icon title is
now working properly under X, and since X was the reason for the
whole icon/window title separation _anyway_ they default to being
separate.

[originally from svn r3144]

21 years agoThe line-drawing paste config option has changed its meaning since
Simon Tatham [Sat, 26 Apr 2003 13:22:25 +0000 (13:22 +0000)]
The line-drawing paste config option has changed its meaning since
it was first designed. Alter the wording and documentation to match.

[originally from svn r3143]

21 years agoThe new ssh_do_close() function itself causes a segfault if the
Simon Tatham [Fri, 25 Apr 2003 17:44:09 +0000 (17:44 +0000)]
The new ssh_do_close() function itself causes a segfault if the
connection goes foom before ssh->channels is set up. Oops. Fixed.

[originally from svn r3141]

21 years agoFix another segfault on abrupt X connection shutdown. This should
Simon Tatham [Fri, 25 Apr 2003 16:42:36 +0000 (16:42 +0000)]
Fix another segfault on abrupt X connection shutdown. This should
have happened in rev 1.5 [r996] but didn't! Now we never call
sk_get_private_ptr() on a socket unless we've ensured it's non-NULL.

[originally from svn r3140]
[r996 == 7b0e082700583907770555212db89299e5f51a44]

21 years agoDon't block SIGPIPE until _after_ pterm forks, since otherwise the
Simon Tatham [Fri, 25 Apr 2003 15:44:01 +0000 (15:44 +0000)]
Don't block SIGPIPE until _after_ pterm forks, since otherwise the
blockage will propagate to the child process.

[originally from svn r3139]

21 years agoRobustness in the face of sudden connection closures: we now make a
Simon Tatham [Fri, 25 Apr 2003 11:48:24 +0000 (11:48 +0000)]
Robustness in the face of sudden connection closures: we now make a
credible effort to shut down open forwardings cleanly when the
owning SSH connection terminates abruptly (for whatever reason).

[originally from svn r3137]

21 years agoForce gcc to use x86's built-in 64/32->32,32 division instruction
Simon Tatham [Wed, 23 Apr 2003 15:25:45 +0000 (15:25 +0000)]
Force gcc to use x86's built-in 64/32->32,32 division instruction
rather than swanning off to a helper function. This seems to make
woefully little actual performance difference, which annoys me, but
it's a just-about-detectable improvement so I'll leave it in.

[originally from svn r3136]

21 years agoAdded framework to sshbn.c to make it possible to vary the
Simon Tatham [Wed, 23 Apr 2003 14:48:57 +0000 (14:48 +0000)]
Added framework to sshbn.c to make it possible to vary the
underlying integer type forming the Bignum. Using this, arranged
that gcc/x86 uses 32-bit chunks rather than the guaranteed ANSI-
portable 16-bit chunks. This has gained another 30% on key exchanges
by my measurements, but I'm not yet convinced that it's all
perfectly robust - it seems to work fine for SSH1 and SSH2/RSA but
I haven't ensured that every bignum routine is actually being
tested, so it may yet show up problems in DSA or key generation.

[originally from svn r3135]

21 years agoUnix makefile now uses -O2, which massively cuts down key exchange
Simon Tatham [Wed, 23 Apr 2003 13:48:09 +0000 (13:48 +0000)]
Unix makefile now uses -O2, which massively cuts down key exchange
time. This gives rise to a whole bunch of spare warnings, one or two
of which might have been actual bugs; now all resolved.

[originally from svn r3134]

21 years agoMissing bits for colour selection support.
Ben Harris [Fri, 18 Apr 2003 13:09:46 +0000 (13:09 +0000)]
Missing bits for colour selection support.

[originally from svn r3132]

21 years agoMissing bits for System 7 listbox support.
Ben Harris [Fri, 18 Apr 2003 13:09:08 +0000 (13:09 +0000)]
Missing bits for System 7 listbox support.

[originally from svn r3131]

21 years agoRemoving items from a list box using gtk_container_remove is nasty,
Simon Tatham [Fri, 18 Apr 2003 09:14:54 +0000 (09:14 +0000)]
Removing items from a list box using gtk_container_remove is nasty,
because when the selected item is removed the selection moves on to
another item. Thus, calling dlg_listbox_clear causes repeated
selchanges in the list, which in turn cause repeated valchanges if
the list is attached to a combo box. This has been completely
scuppering the Translation panel.

[originally from svn r3130]

21 years agoOops; we _do_ need to set dport even when doing dynamic forwarding,
Simon Tatham [Fri, 18 Apr 2003 09:06:11 +0000 (09:06 +0000)]
Oops; we _do_ need to set dport even when doing dynamic forwarding,
because otherwise the `if (sport && dport)' statement runs the risk
of not working.

[originally from svn r3129]

21 years agoMissed out a couple of uxsel_tell() which were hanging forwarded X
Simon Tatham [Fri, 18 Apr 2003 09:00:37 +0000 (09:00 +0000)]
Missed out a couple of uxsel_tell() which were hanging forwarded X
connections in at least some situations. Oops.

[originally from svn r3128]

21 years agoFix obvious foulup in X forwarding: my recent `how did this ever
Simon Tatham [Fri, 18 Apr 2003 09:00:16 +0000 (09:00 +0000)]
Fix obvious foulup in X forwarding: my recent `how did this ever
work' change to port forwarding completely broke it, by failing to
set peeraddr{,len} before reading them. Oops.

[originally from svn r3127]

21 years agoReplace use of FIONBIO with POSIX-approved O_NONBLOCK (set using fcntl()).
Ben Harris [Wed, 16 Apr 2003 23:58:59 +0000 (23:58 +0000)]
Replace use of FIONBIO with POSIX-approved O_NONBLOCK (set using fcntl()).
This should save us having to worry about different OSs' defining it in
different headers.

[originally from svn r3126]

21 years agoMake IPv6 support for Unix work, and make it a lot simpler in the process.
Ben Harris [Wed, 16 Apr 2003 23:33:44 +0000 (23:33 +0000)]
Make IPv6 support for Unix work, and make it a lot simpler in the process.
At the moment, we have to assume that getaddrinfo() will only return AF_INET
and AF_INET6 addresses, since we patch in the port number into the sockaddr
later.  Fixing this is probably best done by redesigning the PuTTY network
abstraction a little.

[originally from svn r3125]

21 years agoRemove all those horrid fprintfs.
Ben Harris [Mon, 14 Apr 2003 23:47:07 +0000 (23:47 +0000)]
Remove all those horrid fprintfs.

[originally from svn r3123]

21 years agoSet the space required by a listbox sensibly as well.
Ben Harris [Mon, 14 Apr 2003 23:28:58 +0000 (23:28 +0000)]
Set the space required by a listbox sensibly as well.

[originally from svn r3122]

21 years agoMinor fixes:
Ben Harris [Mon, 14 Apr 2003 23:25:04 +0000 (23:25 +0000)]
Minor fixes:
 - Erase the background of System 7 editboxes before drawing them.
 - Set the height of listboxes correctly.
 - Set the panel-selection listbox to 20 items high.

[originally from svn r3121]

21 years agoDon't call GetColor() if we don't have Color Quickdraw -- no good will come
Ben Harris [Mon, 14 Apr 2003 22:55:12 +0000 (22:55 +0000)]
Don't call GetColor() if we don't have Color Quickdraw -- no good will come
of it.

[originally from svn r3120]

21 years agoSupport for colour selection in the Mac OS.
Ben Harris [Mon, 14 Apr 2003 22:42:44 +0000 (22:42 +0000)]
Support for colour selection in the Mac OS.

[originally from svn r3119]

21 years agoKeyboard events in Mac OS 8 list boxes should generate EVENT_SELCHANGE,
Ben Harris [Mon, 14 Apr 2003 21:34:46 +0000 (21:34 +0000)]
Keyboard events in Mac OS 8 list boxes should generate EVENT_SELCHANGE,
not EVENT_VALCHANGE.

[originally from svn r3118]

21 years agoEnlarge the settings window so as to fill a 640x480 display. This makes
Ben Harris [Mon, 14 Apr 2003 21:15:39 +0000 (21:15 +0000)]
Enlarge the settings window so as to fill a 640x480 display.  This makes
enough space to actually fit all of the panels.  I'll have to do a version
with smaller fonts for 9" screens.

[originally from svn r3117]

21 years agoAdd a list box to the config dialogue to switch between panels. Now I don't
Ben Harris [Sun, 13 Apr 2003 14:37:07 +0000 (14:37 +0000)]
Add a list box to the config dialogue to switch between panels.  Now I don't
have to recompile to change panels!

[originally from svn r3116]

21 years agoSupport for list boxes under System 7. There are some horrible kludges in
Ben Harris [Sun, 13 Apr 2003 13:52:44 +0000 (13:52 +0000)]
Support for list boxes under System 7.  There are some horrible kludges in
this code to do with the handling of the scroll bar, but it doesn actually
work better than the Mac OS 8 version.

[originally from svn r3115]

21 years agosocks5_negotiate(): rather than using an uninitialised value when passed
Ben Harris [Sat, 12 Apr 2003 21:23:58 +0000 (21:23 +0000)]
socks5_negotiate(): rather than using an uninitialised value when passed
an address of an invalid type, assert() that it will never happen.
Do something similar for SOCKS4 as well.

[originally from svn r3114]

21 years agoDon't use an uninitialised value when we get an unsupported ATYP in a
Ben Harris [Sat, 12 Apr 2003 21:15:43 +0000 (21:15 +0000)]
Don't use an uninitialised value when we get an unsupported ATYP in a
SOCKS5 request.  Spotted by GCC.

[originally from svn r3113]

21 years agoRemove a couple of spurious semicolons.
Ben Harris [Sat, 12 Apr 2003 21:07:25 +0000 (21:07 +0000)]
Remove a couple of spurious semicolons.

[originally from svn r3112]

21 years agoUpdate for Simon's from_backend changes.
Ben Harris [Sat, 12 Apr 2003 21:06:34 +0000 (21:06 +0000)]
Update for Simon's from_backend changes.

[originally from svn r3111]

21 years agoSupport for New Session, Duplicate Session and the Saved Sessions
Simon Tatham [Sat, 12 Apr 2003 17:37:15 +0000 (17:37 +0000)]
Support for New Session, Duplicate Session and the Saved Sessions
submenu in Unix PuTTY, and Duplicate Session also in pterm. You do
_not_ want to know how this is done. Be warned.

[originally from svn r3110]

21 years agoFurther fiddlings with the size reconfiguration stuff; now
Simon Tatham [Sat, 12 Apr 2003 11:03:44 +0000 (11:03 +0000)]
Further fiddlings with the size reconfiguration stuff; now
everything seems to work right even when the only thing changed was
the window border.

[originally from svn r3109]

21 years agoMid-session reconfiguration of scrollback was failing (in Unix)
Simon Tatham [Sat, 12 Apr 2003 10:44:14 +0000 (10:44 +0000)]
Mid-session reconfiguration of scrollback was failing (in Unix)
except when width or height had _also_ been changed. Fixed.

[originally from svn r3108]

21 years agoImplement the ldisc `special' mechanism in Unix, without which local
Simon Tatham [Sat, 12 Apr 2003 09:27:56 +0000 (09:27 +0000)]
Implement the ldisc `special' mechanism in Unix, without which local
line editing didn't work at all.

[originally from svn r3107]

21 years agoFix from yesterday's frontend-handle upheaval: ldisc calls
Simon Tatham [Sat, 12 Apr 2003 09:19:09 +0000 (09:19 +0000)]
Fix from yesterday's frontend-handle upheaval: ldisc calls
from_backend(), and must now pass its frontend handle rather than
its terminal handle.

[originally from svn r3106]

21 years agoMid-session BCE reconfiguration wasn't taking effect immediately
Simon Tatham [Sat, 12 Apr 2003 09:05:28 +0000 (09:05 +0000)]
Mid-session BCE reconfiguration wasn't taking effect immediately
because I forgot to set term->erase_char in response to the change
in term->use_bce. Oops.

[originally from svn r3105]

21 years agoDisable window title reporting by default, since it's a security
Simon Tatham [Sat, 12 Apr 2003 08:59:06 +0000 (08:59 +0000)]
Disable window title reporting by default, since it's a security
hazard. I considered removing it completely, but I can't rule out
the possibility of an OS that actually takes security of its
terminal devices seriously, and which might be able to make sensible
and safe use of this feature.

[originally from svn r3103]

21 years agoClose On Exit and Warn On Close fixes: (a) pty_reconfig needs to
Simon Tatham [Sat, 12 Apr 2003 08:27:03 +0000 (08:27 +0000)]
Close On Exit and Warn On Close fixes: (a) pty_reconfig needs to
remember changes in COE so it knows whether to print a message, and
(b) once the session has already ended, Warn On Close should shut up.

[originally from svn r3102]

21 years agoWhen I implemented the GTK messagebox() function and everything that
Simon Tatham [Fri, 11 Apr 2003 18:44:05 +0000 (18:44 +0000)]
When I implemented the GTK messagebox() function and everything that
needed to use it, I completely forgot about askappend(). D'oh.

[originally from svn r3101]

21 years agoRationalisation of the system of frontend handles. Most modular bits
Simon Tatham [Fri, 11 Apr 2003 18:36:27 +0000 (18:36 +0000)]
Rationalisation of the system of frontend handles. Most modular bits
of PuTTY (terminal, backend, logctx etc) take a `void *' handle
passed to them from the frontend, and used as a context for all
their callbacks. Most of these point at the frontend structure
itself (on platforms where this is meaningful), except that the
handle passed to the backend has always pointed at the terminal
because from_backend() was implemented in terminal.c. This has
finally bitten Unix PuTTY, because both backend and logctx have
been passing their respective and very different frontend handles to
logevent(), so I've fixed it.
from_backend() is now a function supplied by the _frontend_ itself,
in all cases, and the frontend handle passed to backends must be the
same as that passed to everything else. What was from_backend() in
terminal.c is now called term_data(), and the typical implementation
of from_backend() in a GUI frontend will just extract the terminal
handle from the frontend structure and delegate to that.
This appears to work on Unix and Windows, but has most likely broken
the Mac build.

[originally from svn r3100]

21 years agoImplement Warn On Close.
Simon Tatham [Fri, 11 Apr 2003 18:15:47 +0000 (18:15 +0000)]
Implement Warn On Close.

[originally from svn r3099]

21 years ago`Copy All' ought to de-highlight any existing selection, in line
Simon Tatham [Fri, 11 Apr 2003 18:10:13 +0000 (18:10 +0000)]
`Copy All' ought to de-highlight any existing selection, in line
with any other operation that shifts the X selection to stuff other
than the highlighted text.

[originally from svn r3098]

21 years ago`Copy All' context-menu item, for what it's worth.
Simon Tatham [Fri, 11 Apr 2003 17:59:36 +0000 (17:59 +0000)]
`Copy All' context-menu item, for what it's worth.

[originally from svn r3097]

21 years agoSaving of Default Settings under Unix was broken, because mungestr()
Simon Tatham [Fri, 11 Apr 2003 17:42:52 +0000 (17:42 +0000)]
Saving of Default Settings under Unix was broken, because mungestr()
was translating NULL into "Default Settings" but not doing the same
to "". Now fixed.

[originally from svn r3096]

21 years agoCutting and pasting from the Unix Event Log.
Simon Tatham [Fri, 11 Apr 2003 17:40:52 +0000 (17:40 +0000)]
Cutting and pasting from the Unix Event Log.

[originally from svn r3095]

21 years agoA poster on comp.security.ssh mentions that he had expected to find
Simon Tatham [Fri, 11 Apr 2003 17:39:48 +0000 (17:39 +0000)]
A poster on comp.security.ssh mentions that he had expected to find
the location of PuTTY's data storage mentioned in the manual section
about loading and storing sessions. This seems not unreasonable, so
I've put it there.

[originally from svn r3094]

21 years agoImplemented Change Settings under Unix. We are gradually getting there.
Simon Tatham [Thu, 10 Apr 2003 18:00:50 +0000 (18:00 +0000)]
Implemented Change Settings under Unix. We are gradually getting there.

[originally from svn r3092]

21 years agoAll the stderr messages in this file now use appname rather than
Simon Tatham [Thu, 10 Apr 2003 11:57:11 +0000 (11:57 +0000)]
All the stderr messages in this file now use appname rather than
guessing wrongly.

[originally from svn r3089]

21 years agoMinor improvements to subsidiary window placement; with any luck the
Simon Tatham [Thu, 10 Apr 2003 08:53:43 +0000 (08:53 +0000)]
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]

21 years agoEvent Log for Unix PuTTY. Doesn't yet allow X selection of its
Simon Tatham [Wed, 9 Apr 2003 18:46:45 +0000 (18:46 +0000)]
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]

21 years agoRemote-to-local port forwarding in SSH2 was apparently completely
Simon Tatham [Wed, 9 Apr 2003 11:19:39 +0000 (11:19 +0000)]
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]

21 years ago`dynamic' was uninitialised in other types of port forwarding. Oops.
Simon Tatham [Wed, 9 Apr 2003 11:18:41 +0000 (11:18 +0000)]
`dynamic' was uninitialised in other types of port forwarding. Oops.

[originally from svn r3082]

21 years agoChas Honton's patch to dynamic port forwarding: should allow longer
Simon Tatham [Wed, 9 Apr 2003 09:09:57 +0000 (09:09 +0000)]
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]

21 years agoRename pterm's -T option to -title, to avoid clashing with PuTTY's
Simon Tatham [Tue, 8 Apr 2003 14:02:34 +0000 (14:02 +0000)]
Rename pterm's -T option to -title, to avoid clashing with PuTTY's
-T (don't allocate a pty) option.

[originally from svn r3079]

21 years agoWhile writing gtkdlg.c I learned how to specify a window's initial
Simon Tatham [Tue, 8 Apr 2003 13:49:12 +0000 (13:49 +0000)]
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]

21 years agoNow that we have `appname', make much wider use of it. In
Simon Tatham [Sun, 6 Apr 2003 14:11:33 +0000 (14:11 +0000)]
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]

21 years agoTo avoid gratuitous flicker, if a control already has the focus when it's
Ben Harris [Sun, 6 Apr 2003 13:27:40 +0000 (13:27 +0000)]
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]

21 years agoConst fallout, as predicted.
Ben Harris [Sat, 5 Apr 2003 22:12:44 +0000 (22:12 +0000)]
Const fallout, as predicted.

[originally from svn r3071]

21 years agoBring list of applications and architectures up to date.
Ben Harris [Sat, 5 Apr 2003 22:10:13 +0000 (22:10 +0000)]
Bring list of applications and architectures up to date.

[originally from svn r3070]

21 years agodd support for list boxes in Mac OS 8. Not entirely solid, but largely
Ben Harris [Sat, 5 Apr 2003 22:03:06 +0000 (22:03 +0000)]
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]

21 years agoAdd support for list boxes in Mac OS 8. Not entirely solid, but largely
Ben Harris [Sat, 5 Apr 2003 22:00:57 +0000 (22:00 +0000)]
Add support for list boxes in Mac OS 8.  Not entirely solid, but largely
working.

[originally from svn r3068]

21 years agoBah. There's always one I forget to `cvs add'.
Simon Tatham [Sat, 5 Apr 2003 19:52:12 +0000 (19:52 +0000)]
Bah. There's always one I forget to `cvs add'.

[originally from svn r3067]

21 years agoOn System 7, draw the default ring in grey if the window is disabled.
Ben Harris [Sat, 5 Apr 2003 18:00:46 +0000 (18:00 +0000)]
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]

21 years agoHandle Return and Escape keys in dialogue box, triggering the default and
Ben Harris [Sat, 5 Apr 2003 17:19:38 +0000 (17:19 +0000)]
Handle Return and Escape keys in dialogue box, triggering the default and
cancel buttons respectively.

[originally from svn r3065]

21 years agoFixed the printing and charset combo boxes in Unix PuTTY. (The
Simon Tatham [Sat, 5 Apr 2003 16:36:11 +0000 (16:36 +0000)]
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]

21 years agoUnix can't sensibly enumerate printers (since they're defined as
Simon Tatham [Sat, 5 Apr 2003 16:12:52 +0000 (16:12 +0000)]
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]

21 years agoCtrl+rightclick now pops up a context menu in Unix PuTTY and pterm.
Simon Tatham [Sat, 5 Apr 2003 16:05:00 +0000 (16:05 +0000)]
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]

21 years agoCope with NULL labels in every control where it makes sense, and assert that
Ben Harris [Sat, 5 Apr 2003 15:55:22 +0000 (15:55 +0000)]
Cope with NULL labels in every control where it makes sense, and assert that
all other labels are != NULL.

[originally from svn r3061]

21 years agoSend EVENT_VALCHANGE when a System 7 editbox gets typed in.
Ben Harris [Sat, 5 Apr 2003 15:08:17 +0000 (15:08 +0000)]
Send EVENT_VALCHANGE when a System 7 editbox gets typed in.

[originally from svn r3060]

21 years agoImplement dlg_end().
Ben Harris [Sat, 5 Apr 2003 15:01:16 +0000 (15:01 +0000)]
Implement dlg_end().

[originally from svn r3059]

21 years agoImplement update_special_menu(), which calls mac_adjustmenus() as appropriate.
Ben Harris [Sat, 5 Apr 2003 14:34:06 +0000 (14:34 +0000)]
Implement update_special_menu(), which calls mac_adjustmenus() as appropriate.
Eventually, mac_adjustmenus() will handle populating the Specials menu.

[originally from svn r3058]

21 years agoAdd null_get_specials(), for both null and loop backends.
Ben Harris [Sat, 5 Apr 2003 14:32:58 +0000 (14:32 +0000)]
Add null_get_specials(), for both null and loop backends.

[originally from svn r3057]

21 years ago... of course, it would help if I remembered to _document_ dynamic
Simon Tatham [Sat, 5 Apr 2003 11:52:42 +0000 (11:52 +0000)]
... of course, it would help if I remembered to _document_ dynamic
port forwarding. Ahem.

[originally from svn r3056]

21 years agoDynamic port forwarding by means of a local SOCKS server. Fully
Simon Tatham [Sat, 5 Apr 2003 11:45:21 +0000 (11:45 +0000)]
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]

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]