]> asedeno.scripts.mit.edu Git - PuTTY.git/log
PuTTY.git
21 years agoAdd myself to the list of copyright holders, largely for term_key().
Ben Harris [Mon, 27 Jan 2003 23:46:03 +0000 (23:46 +0000)]
Add myself to the list of copyright holders, largely for term_key().

[originally from svn r2736]

21 years agoOf course, that cleanup I did earlier in which I rationalised all
Simon Tatham [Mon, 27 Jan 2003 23:18:16 +0000 (23:18 +0000)]
Of course, that cleanup I did earlier in which I rationalised all
the various `yes/no/maybe' enums into one common one missed a vital
point: all those enums mapped on to integers in different ways,
which affected the format of stored settings. Arrgh. So now
settings.c contains yet more painful warts and I'm _really_ starting
to think it's about time we designed a new set of human-usable
config keywords and retired this lot to the status of Unpleasant
Backwards-Compatibility Relic.

[originally from svn r2735]

21 years agoxterm apparently supports ESC[90m through ESC[97m to set bright
Simon Tatham [Mon, 27 Jan 2003 23:03:31 +0000 (23:03 +0000)]
xterm apparently supports ESC[90m through ESC[97m to set bright
foreground colours, and ESC[100m through ESC[107m to set bright
background colours. Hence, so do we. Bright-foreground is
distinguishable from bold, and bright-background distinguishable
from blink, when it leaves terminal.c; the front end may then choose
to display them in the same way if it's configured to do so. This
change makes the xterm backend for Turbo Vision (!!!) work properly.
Untested on Mac.

[originally from svn r2734]

21 years agoRemove all `enum'-typed variables from the Config structure.
Simon Tatham [Mon, 27 Jan 2003 18:02:24 +0000 (18:02 +0000)]
Remove all `enum'-typed variables from the Config structure.
Everything in there which is integral is now an actual int, which
means my forthcoming revamp of the config box will be able to work
with `int *' pointers without fear of doom.

[originally from svn r2733]

21 years agoBlinking text was broken on pterm. This should fix it.
Simon Tatham [Mon, 27 Jan 2003 15:44:48 +0000 (15:44 +0000)]
Blinking text was broken on pterm. This should fix it.

[originally from svn r2732]

21 years agoFirst attempt at a platform-independent keyboard handler. This isn't complete
Ben Harris [Mon, 27 Jan 2003 00:39:01 +0000 (00:39 +0000)]
First attempt at a platform-independent keyboard handler.  This isn't complete
yet -- there's no Alt+keypad support, and no way for the front-end to find
out what it should do with the Num Lock light.  It's also not fully tested.
Nonetheless, it's at least as good as the previous Mac keyboard handler.
Other platforms probably shouldn't adopt it just yet.

[originally from svn r2728]

21 years agoRemove some fossils.
Ben Harris [Mon, 27 Jan 2003 00:33:49 +0000 (00:33 +0000)]
Remove some fossils.

[originally from svn r2727]

21 years agoSupport for pasting 'TEXT', ie text in the local character set. At the moment,
Ben Harris [Sat, 25 Jan 2003 19:23:03 +0000 (19:23 +0000)]
Support for pasting 'TEXT', ie text in the local character set.  At the moment,
we assume it's in the system script -- later we should check for 'styl' scrap
in case it isn't.

[originally from svn r2726]

21 years agoDon't pass NULL to strcmp. Instead, if the user passes a font of NULL,
Ben Harris [Sat, 25 Jan 2003 19:21:56 +0000 (19:21 +0000)]
Don't pass NULL to strcmp.  Instead, if the user passes a font of NULL,
only match table entries where the font is NULL.

[originally from svn r2725]

21 years agoAdd support for copying non-Unicode text to the clipboard. We also send a
Ben Harris [Sat, 25 Jan 2003 17:20:54 +0000 (17:20 +0000)]
Add support for copying non-Unicode text to the clipboard.  We also send a
simple 'styl' record along with it to specify the font and suchlike.  I'm
not sure it's worth making this optional in the way the RTF is in Windows.

[originally from svn r2724]

21 years agoFix Unix breakage from term_mouse() revamp too.
Simon Tatham [Sat, 25 Jan 2003 16:23:48 +0000 (16:23 +0000)]
Fix Unix breakage from term_mouse() revamp too.

[originally from svn r2723]

21 years agoFix minor breakage on Windows as a result of term_mouse revamp.
Simon Tatham [Sat, 25 Jan 2003 16:22:49 +0000 (16:22 +0000)]
Fix minor breakage on Windows as a result of term_mouse revamp.

[originally from svn r2722]

21 years agoChange the term_mouse interface a little so that it gets passed
Ben Harris [Sat, 25 Jan 2003 16:16:45 +0000 (16:16 +0000)]
Change the term_mouse interface a little so that it gets passed
both the raw and the cooked mouse button, with the mapping being done in
advance by the front-end.  This is useful because it allows the front-end to
use information other than the raw button (e.g. the modifier state) to decide
which cooked button to generate.
.
Front ends other than the Mac one are untested, but they just call
translate_button() themselves and pass the result to term_mouse().

[originally from svn r2721]

21 years agoThe PowerPC build works on Owen's Mac, which doesn't have AppearanceLib, so
Ben Harris [Sat, 25 Jan 2003 15:21:54 +0000 (15:21 +0000)]
The PowerPC build works on Owen's Mac, which doesn't have AppearanceLib, so
that bug's definitely fixed.

[originally from svn r2720]

21 years agoDuplicate Session is done.
Ben Harris [Sat, 25 Jan 2003 15:18:51 +0000 (15:18 +0000)]
Duplicate Session is done.

[originally from svn r2719]

21 years agoAdd support for "Duplicate Session", moving back-end selection into
Ben Harris [Sat, 25 Jan 2003 15:15:40 +0000 (15:15 +0000)]
Add support for "Duplicate Session", moving back-end selection into
mac_startsession() in the process.

[originally from svn r2718]

21 years agoEnsure that development snapshots have a version number higher than the
Ben Harris [Sat, 25 Jan 2003 14:09:47 +0000 (14:09 +0000)]
Ensure that development snapshots have a version number higher than the
preceding release.

[originally from svn r2717]

21 years agoWe now have _some_ useful AE support, so mention what's missing specifically.
Ben Harris [Sat, 25 Jan 2003 14:07:50 +0000 (14:07 +0000)]
We now have _some_ useful AE support, so mention what's missing specifically.
Also mentio lack of Duplicate Session.

[originally from svn r2716]

21 years agoAEGetNthPtr() is stupid and counts from 1. Allowing for this gets aevt/odoc
Ben Harris [Sat, 25 Jan 2003 14:04:47 +0000 (14:04 +0000)]
AEGetNthPtr() is stupid and counts from 1.  Allowing for this gets aevt/odoc
working.

[originally from svn r2715]

21 years agoChange website refs from putty/wishlist.html to putty/wishlist/
Jacob Nevins [Fri, 24 Jan 2003 14:12:31 +0000 (14:12 +0000)]
Change website refs from putty/wishlist.html to putty/wishlist/

[originally from svn r2714]

21 years agoWe'd like full-screen mode too.
Ben Harris [Fri, 24 Jan 2003 00:37:27 +0000 (00:37 +0000)]
We'd like full-screen mode too.

[originally from svn r2705]

21 years agoAdd a bug and a missing feature.
Ben Harris [Fri, 24 Jan 2003 00:28:57 +0000 (00:28 +0000)]
Add a bug and a missing feature.

[originally from svn r2704]

21 years agoRedesign the macnet.c infrastructure, largely so as to avoid using Gestalt(),
Ben Harris [Fri, 24 Jan 2003 00:25:33 +0000 (00:25 +0000)]
Redesign the macnet.c infrastructure, largely so as to avoid using Gestalt(),
which didn't detect the MacTCP emulation in Owen's Open Transport.

[originally from svn r2703]

21 years agoAdd Apple Event handlers for 'aevt'/'oapp', 'aevt'/'odoc' and 'aevt'/'pdoc'.
Ben Harris [Thu, 23 Jan 2003 22:57:43 +0000 (22:57 +0000)]
Add Apple Event handlers for 'aevt'/'oapp', 'aevt'/'odoc' and 'aevt'/'pdoc'.
None of them does anything useful yet (though the odoc one tries to).

[originally from svn r2700]

21 years agoAdd {Question} to faq-psftp-slow
Jacob Nevins [Thu, 23 Jan 2003 17:01:27 +0000 (17:01 +0000)]
Add {Question} to faq-psftp-slow

[originally from svn r2697]

21 years agoMention Ctrl-PgUp/PgDn
Jacob Nevins [Thu, 23 Jan 2003 12:30:26 +0000 (12:30 +0000)]
Mention Ctrl-PgUp/PgDn

[originally from svn r2683]

21 years agoIn pursuance of `icon-title-default-change':
Jacob Nevins [Thu, 23 Jan 2003 11:37:54 +0000 (11:37 +0000)]
In pursuance of `icon-title-default-change':
Change the sense of cfg.win_name_always' representation in the UI (from
`Avoid ever using icon title' to `Separate window and icon titles').
Also update the docs to match reality.

[originally from svn r2681]

21 years agoNext instalment of the Great Incompatible Defaults Change: `avoid
Simon Tatham [Wed, 22 Jan 2003 20:22:39 +0000 (20:22 +0000)]
Next instalment of the Great Incompatible Defaults Change: `avoid
ever using icon title' now defaults to On, because in general it
seems to cause more problems than it solves.

[originally from svn r2679]

21 years agoaccel.pl knows about the accelerators added by winctrls.c:prefslist().
Jacob Nevins [Tue, 21 Jan 2003 21:05:35 +0000 (21:05 +0000)]
accel.pl knows about the accelerators added by winctrls.c:prefslist().
(I'm amazed this still works...)

[originally from svn r2675]

21 years agoFix "-v" in the Windows console utilities (plink, pscp, psftp).
Jacob Nevins [Tue, 21 Jan 2003 19:18:06 +0000 (19:18 +0000)]
Fix "-v" in the Windows console utilities (plink, pscp, psftp).
I'm not convinced I've done this the right way (I've introduced a static for
logctx in console.c) but it will do for now.

[originally from svn r2674]

21 years agoWe'll need the event log to work, too.
Ben Harris [Tue, 21 Jan 2003 00:28:20 +0000 (00:28 +0000)]
We'll need the event log to work, too.

[originally from svn r2671]

21 years agoRemove stray debugging printfs.
Ben Harris [Tue, 21 Jan 2003 00:27:24 +0000 (00:27 +0000)]
Remove stray debugging printfs.

[originally from svn r2670]

21 years agoMore unimplemented features.
Ben Harris [Mon, 20 Jan 2003 22:55:54 +0000 (22:55 +0000)]
More unimplemented features.

[originally from svn r2669]

21 years agoAdd minimal Apple Event support -- we handle the 'aevt'/'quit' event.
Ben Harris [Mon, 20 Jan 2003 22:55:08 +0000 (22:55 +0000)]
Add minimal Apple Event support -- we handle the 'aevt'/'quit' event.

[originally from svn r2668]

21 years agoEnable -Werror in GTK builds (we already have -Wall, so more GCCisms aren't
Ben Harris [Mon, 20 Jan 2003 20:15:28 +0000 (20:15 +0000)]
Enable -Werror in GTK builds (we already have -Wall, so more GCCisms aren't
_that_ evil).

[originally from svn r2667]

21 years agoAdd a stub "free" routine for pterm. Thanks to rjk.
Ben Harris [Mon, 20 Jan 2003 20:10:07 +0000 (20:10 +0000)]
Add a stub "free" routine for pterm.  Thanks to rjk.

[originally from svn r2666]

21 years agoRun through contrib/accel.pl 1.1 [r1585]:
Jacob Nevins [Mon, 20 Jan 2003 18:05:13 +0000 (18:05 +0000)]
Run through contrib/accel.pl 1.1 [r1585]:
 - Fix accelerator clash on SSH panel (D)
 - Fix accelerator comments

[originally from svn r2665]
[r1585 == 6bcc8e85e80197df41a60d5eb8cf02f4efb81b0a]

21 years agoSync with reality and add more things that need fixing.
Ben Harris [Mon, 20 Jan 2003 01:07:13 +0000 (01:07 +0000)]
Sync with reality and add more things that need fixing.

[originally from svn r2660]

21 years agounitab_xterm is now basically right.
Ben Harris [Sun, 19 Jan 2003 00:00:53 +0000 (00:00 +0000)]
unitab_xterm is now basically right.
SC's optimiser seems to do something nasty to ssh.c.

[originally from svn r2652]

21 years agoUse the correct ProcInfo for AddrToStr. This makes the MacTCP code work in
Ben Harris [Sat, 18 Jan 2003 23:26:56 +0000 (23:26 +0000)]
Use the correct ProcInfo for AddrToStr.  This makes the MacTCP code work in
PowerPC builds.  Well, makes it not crash, anyway -- AddrToStr doesn't seem
to be returning amything very useful.

[originally from svn r2651]

21 years agoRemove stray debugging code that got in with the last commit.
Ben Harris [Sat, 18 Jan 2003 22:02:22 +0000 (22:02 +0000)]
Remove stray debugging code that got in with the last commit.

[originally from svn r2650]

21 years agoClear kex_ctx in a new session so we can safely free an ssh session without
Ben Harris [Sat, 18 Jan 2003 21:56:33 +0000 (21:56 +0000)]
Clear kex_ctx in a new session so we can safely free an ssh session without
one.

[originally from svn r2649]

21 years agoRemember which file a session was opened from, so it can be the default one
Ben Harris [Sat, 18 Jan 2003 20:52:59 +0000 (20:52 +0000)]
Remember which file a session was opened from, so it can be the default one
to save back to.

[originally from svn r2648]

21 years agoSupport for saving sessions on the Mac. This is slightly useful even in the
Ben Harris [Sat, 18 Jan 2003 20:09:21 +0000 (20:09 +0000)]
Support for saving sessions on the Mac.  This is slightly useful even in the
absence of a config dialogue, since it allows me to get Default Settings out.

[originally from svn r2646]

21 years agoPuTTY doesn't remember which file it got a saved session from, so it's
Ben Harris [Sat, 18 Jan 2003 17:24:21 +0000 (17:24 +0000)]
PuTTY doesn't remember which file it got a saved session from, so it's
as stationery-pad-aware as it needs to be.

[originally from svn r2643]

21 years agoAdd "Save" and "Save As..." items to the menus. No code behind them yet.
Ben Harris [Sat, 18 Jan 2003 17:14:34 +0000 (17:14 +0000)]
Add "Save" and "Save As..." items to the menus.  No code behind them yet.

[originally from svn r2642]

21 years agoMove mac_opensession() from macterm.c to macdlg.c.
Ben Harris [Sat, 18 Jan 2003 16:54:25 +0000 (16:54 +0000)]
Move mac_opensession() from macterm.c to macdlg.c.

[originally from svn r2641]

21 years agoVarious things to make the Finder like us:
Ben Harris [Sat, 18 Jan 2003 16:10:21 +0000 (16:10 +0000)]
Various things to make the Finder like us:
 - Change the creator of files we don't want the user to open to 'pTTI' (for
   "PuTTY internal"), and give them application-missing strings.
 - Provide missing-application names for saved sessions.
 - Provide a ResEdit 'TMPL' resource for integers in saved sessions.
 - Provide an icon for saved session stationery pads (maybe "Default Settings"
   should be one of these by default).  No code to handle this yet.

[originally from svn r2640]

21 years agoCorrect an incorrect black pixel in the PuTTY icon that's been annoying me
Ben Harris [Sat, 18 Jan 2003 12:25:43 +0000 (12:25 +0000)]
Correct an incorrect black pixel in the PuTTY icon that's been annoying me
for some time.

[originally from svn r2638]

21 years agoClear the "Inited" bit when we finish building each executable, in a bid
Ben Harris [Sat, 18 Jan 2003 12:19:04 +0000 (12:19 +0000)]
Clear the "Inited" bit when we finish building each executable, in a bid
to get the Finder to look at the new 'BNDL' resource.

[originally from svn r2637]

21 years agoIt would help if everything agreed on the type of PuTTY random seed files.
Ben Harris [Sat, 18 Jan 2003 12:18:04 +0000 (12:18 +0000)]
It would help if everything agreed on the type of PuTTY random seed files.

[originally from svn r2636]

21 years agoSimplify the random-seed-saving code: There's no need to take great care to
Ben Harris [Sat, 18 Jan 2003 12:03:28 +0000 (12:03 +0000)]
Simplify the random-seed-saving code:  There's no need to take great care to
preserve the old file in case the update is interrupted and replace it
atomically, so we just overwrite in place.  Much simpler.

[originally from svn r2635]

21 years agoWhen voting for items already on the wishlist, a stonking new reason that
Jacob Nevins [Fri, 17 Jan 2003 13:32:51 +0000 (13:32 +0000)]
When voting for items already on the wishlist, a stonking new reason that
we hadn't already thought of might help.

[originally from svn r2627]

21 years agoSteven Shockley points out that the .PPK extension is far from obvious to
Jacob Nevins [Thu, 16 Jan 2003 15:43:18 +0000 (15:43 +0000)]
Steven Shockley points out that the .PPK extension is far from obvious to
users. Update the file selection dialogs to mention it per the usual Windows
convention, and also sprinkle references to it throughout the docs. I've
also scattered hints that most tools need PuTTY's native format; perhaps this
will reduce the frequency with which FAQ A.1.2 trips people up.

[originally from svn r2625]

21 years agoStatements after declarations, dammit
Jacob Nevins [Thu, 16 Jan 2003 00:52:28 +0000 (00:52 +0000)]
Statements after declarations, dammit

[originally from svn r2618]

21 years agoAdd some icons for saved sessions and random seeds.
Ben Harris [Thu, 16 Jan 2003 00:35:11 +0000 (00:35 +0000)]
Add some icons for saved sessions and random seeds.

[originally from svn r2617]

21 years ago"I don't think that bit means what I think it means", if you see what I mean.
Ben Harris [Wed, 15 Jan 2003 23:46:11 +0000 (23:46 +0000)]
"I don't think that bit means what I think it means", if you see what I mean.

In other words, turn off the useTextEditServices bit in our 'SIZE' resource.

[originally from svn r2616]

21 years agoAdd the ability to close sessions. This adds *_free() functions to most
Ben Harris [Wed, 15 Jan 2003 23:30:21 +0000 (23:30 +0000)]
Add the ability to close sessions.  This adds *_free() functions to most
areas of the code.  Not all back-ends have been tested, but Telnet and SSH
behave reasonably.

Incidentally, almost all of this patch was written through Mac PuTTY,
admittedly over a Telnet connection.

[originally from svn r2615]

21 years agoMake this compile again.
Ben Harris [Wed, 15 Jan 2003 22:37:58 +0000 (22:37 +0000)]
Make this compile again.

[originally from svn r2614]

21 years agoImplement Simon's suggestion of moving DEFAULT_PROTOCOL into a per-backend-
Jacob Nevins [Wed, 15 Jan 2003 20:47:50 +0000 (20:47 +0000)]
Implement Simon's suggestion of moving DEFAULT_PROTOCOL into a per-backend-
link-module const variable `be_default_protocol' which suggests a sensible
default to the front end (which can ignore it). (DEFAULT_PORT is replaced by a
lookup in the backend[] table.)
Still not pretty, but it does mean that the recent fix for `ssh-default'
doesn't break PuTTYtel.

[originally from svn r2613]

21 years agoMacTCP returns canonical names with a trailing dot. We don't want this, so
Ben Harris [Wed, 15 Jan 2003 18:47:41 +0000 (18:47 +0000)]
MacTCP returns canonical names with a trailing dot.  We don't want this, so
strip it off.

[originally from svn r2612]

21 years agoPuTTYtel should use be_nossh, not be_none.
Ben Harris [Wed, 15 Jan 2003 18:45:42 +0000 (18:45 +0000)]
PuTTYtel should use be_nossh, not be_none.
While we're here, also comment the meaning of [M].

[originally from svn r2611]

21 years agoFix small breakages as a result of yesterday's upheavals. Oops.
Simon Tatham [Wed, 15 Jan 2003 16:16:36 +0000 (16:16 +0000)]
Fix small breakages as a result of yesterday's upheavals. Oops.

[originally from svn r2610]

21 years ago`ssh-default': change the /DSSH_DEFAULT flag to a /DTELNET_DEFAULT one
Jacob Nevins [Wed, 15 Jan 2003 15:22:58 +0000 (15:22 +0000)]
`ssh-default': change the /DSSH_DEFAULT flag to a /DTELNET_DEFAULT one
and note its existence in Recipe. As far as I can tell there are no
documentation changes required.

[originally from svn r2608]

21 years agoUse set_icon and set_title rather than SetWindowText. Should fix
Owen Dunn [Wed, 15 Jan 2003 14:51:54 +0000 (14:51 +0000)]
Use set_icon and set_title rather than SetWindowText.  Should fix
inactive-title.

[originally from svn r2606]

21 years agoUse the standard linedraw->Unicode mapping from unicode.c to generate
Ben Harris [Tue, 14 Jan 2003 19:57:36 +0000 (19:57 +0000)]
Use the standard linedraw->Unicode mapping from unicode.c to generate
unitab_xterm.  Most linedraw characters display correctly, but it's clear
that RDB and Apple disagree on some of the mappings.

[originally from svn r2601]

21 years agoUpdate for Unicode deglobalisations.
Ben Harris [Tue, 14 Jan 2003 19:42:00 +0000 (19:42 +0000)]
Update for Unicode deglobalisations.

[originally from svn r2600]

21 years agoUpdate the "known bugs" and "missing features" sections.
Ben Harris [Tue, 14 Jan 2003 19:41:19 +0000 (19:41 +0000)]
Update the "known bugs" and "missing features" sections.

[originally from svn r2599]

21 years agoAdd constants to mac_res.r to set the binary version number.
Ben Harris [Tue, 14 Jan 2003 19:29:18 +0000 (19:29 +0000)]
Add constants to mac_res.r to set the binary version number.
Mention this in CHECKLST as a location where the version number has to be set.

[originally from svn r2598]

21 years agoconst fallout.
Ben Harris [Tue, 14 Jan 2003 19:09:24 +0000 (19:09 +0000)]
const fallout.

[originally from svn r2597]

21 years agoRemove debugging printfs from mac_workoutfontscale().
Ben Harris [Tue, 14 Jan 2003 18:44:34 +0000 (18:44 +0000)]
Remove debugging printfs from mac_workoutfontscale().

[originally from svn r2595]

21 years agoMiscellaneous fixes to finish up `remove-statics'. rlogin.c had a
Simon Tatham [Tue, 14 Jan 2003 18:43:45 +0000 (18:43 +0000)]
Miscellaneous fixes to finish up `remove-statics'. rlogin.c had a
holdout static I hadn't noticed; unicode.c had one too; and a large
number of statics that were perfectly OK due to being constants have
been made `const', with assorted `const' repercussions all over the
place. I now declare `remove-statics' to be fixed.

[originally from svn r2594]

21 years agoAdd double width/height support. This passes all the relevant parts of
Ben Harris [Tue, 14 Jan 2003 18:43:26 +0000 (18:43 +0000)]
Add double width/height support.  This passes all the relevant parts of
vttest apart from the "mad programmer" screen, which I think is a linedraw
problem.
This also intorduces proper clipping of the drawn text for good measure.

[originally from svn r2593]

21 years agoDeglobalise the Unicode module. Despite all my grand plans, I've
Simon Tatham [Tue, 14 Jan 2003 18:28:23 +0000 (18:28 +0000)]
Deglobalise the Unicode module. Despite all my grand plans, I've
just done this the very simple way - bundle all the globals into a
data structure and pass pointers around. One particularly ugly wart
is that wc_to_mb now takes a pointer to this structure as an
argument (optional, may be NULL, and unused in any Unicode layer
that's even marginally less of a mess than the Windows one). I do
need to do this properly at some point, but for now this should just
about be adequate. As usual, the Mac port has not been updated.

[originally from svn r2592]

21 years agorequest_resize() needs to call term_size() to tell the terminal emulator
Ben Harris [Tue, 14 Jan 2003 15:24:51 +0000 (15:24 +0000)]
request_resize() needs to call term_size() to tell the terminal emulator
that its resize request has been approved.

[originally from svn r2591]

21 years agoIt's impossible to write a checklist from scratch without leaving
Simon Tatham [Tue, 14 Jan 2003 15:01:18 +0000 (15:01 +0000)]
It's impossible to write a checklist from scratch without leaving
one or two things out of the first version.

[originally from svn r2590]

21 years agoAfter the New Year copyright-dates fiasco, I think it's about time
Simon Tatham [Tue, 14 Jan 2003 14:19:35 +0000 (14:19 +0000)]
After the New Year copyright-dates fiasco, I think it's about time
we had one or two official checklists. This file lists the locations
of _all_ the copies of the licence and the copyright dates, all the
files in CVS which need to know the current version number, and also
lays out the release procedure since I always find it terribly
fiddly to do it all in the right order.
PLEASE KEEP THESE LISTS UP TO DATE, people! Anyone adds a new copy
of the licence or the copyright notice, shout about it in here.
Likewise any file that needs to know the current release number and
can't get away with referencing LATEST.VER.

[originally from svn r2589]

21 years agoCtrl-PgUp and Ctrl-PgDn now scroll by one line on Unix and Windows
Owen Dunn [Tue, 14 Jan 2003 11:24:26 +0000 (11:24 +0000)]
Ctrl-PgUp and Ctrl-PgDn now scroll by one line on Unix and Windows

[originally from svn r2582]

21 years agoOops - put the right `void *' in back->reconfig.
Simon Tatham [Mon, 13 Jan 2003 18:03:55 +0000 (18:03 +0000)]
Oops - put the right `void *' in back->reconfig.

[originally from svn r2579]

21 years agoMake ^/ do the same as ^_ (wish control-slash)
Owen Dunn [Mon, 13 Jan 2003 15:06:56 +0000 (15:06 +0000)]
Make ^/ do the same as ^_ (wish control-slash)

[originally from svn r2576]

21 years agoSet the window title to the canonical host name when we connect.
Ben Harris [Sun, 12 Jan 2003 16:25:58 +0000 (16:25 +0000)]
Set the window title to the canonical host name when we connect.

[originally from svn r2574]

21 years agoConsequences of Simon's recent deglobalisation changes.
Ben Harris [Sun, 12 Jan 2003 16:11:27 +0000 (16:11 +0000)]
Consequences of Simon's recent deglobalisation changes.

[originally from svn r2573]

21 years agoWhen receiving data, only pass up to the backend as much as we received.
Ben Harris [Sun, 12 Jan 2003 15:46:33 +0000 (15:46 +0000)]
When receiving data, only pass up to the backend as much as we received.

[originally from svn r2572]

21 years agoAhem. Doing loads of stuff to inst->cfg would probably be best done
Simon Tatham [Sun, 12 Jan 2003 15:45:29 +0000 (15:45 +0000)]
Ahem. Doing loads of stuff to inst->cfg would probably be best done
_after_ allocating inst. Oops.

[originally from svn r2571]

21 years agoMake this compile again.
Ben Harris [Sun, 12 Jan 2003 15:42:24 +0000 (15:42 +0000)]
Make this compile again.

[originally from svn r2570]

21 years agoAhem. Global replace of `cfg' with `inst->cfg' is all very well, but
Simon Tatham [Sun, 12 Jan 2003 15:36:05 +0000 (15:36 +0000)]
Ahem. Global replace of `cfg' with `inst->cfg' is all very well, but
let's try to make sure it doesn't happen inside any strings! The
-cfg option for cursor foreground colour nearly had a nasty accident
there.

[originally from svn r2569]

21 years agoHaving laid all the groundwork, we can now remove the global `cfg'
Simon Tatham [Sun, 12 Jan 2003 15:32:31 +0000 (15:32 +0000)]
Having laid all the groundwork, we can now remove the global `cfg'
completely from putty.h. It's now static in each of the command-line
front ends, shared only between window.c and windlg.c in PuTTY
proper (I've tested this by doing #define cfg cfgsillyname in those
two files only, and it still links so nobody else is using that
symbol!), and part of the `inst' structure in pterm. I think that
only leaves the Unicode module as the last stubborn holdout in the
anti-global-variables campaign.

[originally from svn r2568]

21 years agoproxy.c now no longer refers to `cfg'. Instead, each of the three
Simon Tatham [Sun, 12 Jan 2003 15:26:10 +0000 (15:26 +0000)]
proxy.c now no longer refers to `cfg'. Instead, each of the three
proxy-indirection network functions (name_lookup, new_connection,
new_listener) takes a `const Config *' as an argument, and extracts
enough information from it before returning to handle that
particular network operation in accordance with the proxy settings
it specifies. This involved {win,ux}net.c due to a `const'
repercussion.

[originally from svn r2567]

21 years agoThe logging module now contains a local copy of cfg too.
Simon Tatham [Sun, 12 Jan 2003 15:10:27 +0000 (15:10 +0000)]
The logging module now contains a local copy of cfg too.

[originally from svn r2566]

21 years agoThe Unicode module no longer depends on `cfg', since it gets the
Simon Tatham [Sun, 12 Jan 2003 14:59:54 +0000 (14:59 +0000)]
The Unicode module no longer depends on `cfg', since it gets the
relevant bits of it passed in to init_ucs(). (Actually I pass in all
of it in the Windows version, since it's a bit hairy in there.)

[originally from svn r2565]

21 years agoThere's no real need for portfwd.c to reference `cfg' directly, when
Simon Tatham [Sun, 12 Jan 2003 14:56:19 +0000 (14:56 +0000)]
There's no real need for portfwd.c to reference `cfg' directly, when
it only needs one item from it and that can easily be passed in from
the call site in ssh.c.

[originally from svn r2564]

21 years agoprinter_start_job shouldn't need to refer to cfg.printer, since it's
Simon Tatham [Sun, 12 Jan 2003 14:50:34 +0000 (14:50 +0000)]
printer_start_job shouldn't need to refer to cfg.printer, since it's
getting the printer name passed in anyway! Oops.

[originally from svn r2563]

21 years agoJust like under Windows, cleanup_exit() shouldn't need to check
Simon Tatham [Sun, 12 Jan 2003 14:49:44 +0000 (14:49 +0000)]
Just like under Windows, cleanup_exit() shouldn't need to check
before calling random_save_seed().

[originally from svn r2562]

21 years agoThe back ends now contain their own copies of the Config structure,
Simon Tatham [Sun, 12 Jan 2003 14:48:29 +0000 (14:48 +0000)]
The back ends now contain their own copies of the Config structure,
and have a function to pass in a new one. (Well, actually several
back ends don't actually bother to do this because they need nothing
out of Config after the initial setup phase, but they could if they
wanted to.)

[originally from svn r2561]

21 years agoCall ot_poll as appropriate.
Ben Harris [Sun, 12 Jan 2003 14:45:33 +0000 (14:45 +0000)]
Call ot_poll as appropriate.
Also use cleanup_exit() in preference to exit() so that MacTCP gets shut down
even on unclean exits.

[originally from svn r2560]

21 years agoDon't fatalbox() unconditionally when opening a connection, since that makes
Ben Harris [Sun, 12 Jan 2003 14:44:12 +0000 (14:44 +0000)]
Don't fatalbox() unconditionally when opening a connection, since that makes
it a little difficult to do anything.

[originally from svn r2559]

21 years agoForgot to match the cmdline changes in the Unix port.
Simon Tatham [Sun, 12 Jan 2003 14:37:26 +0000 (14:37 +0000)]
Forgot to match the cmdline changes in the Unix port.

[originally from svn r2558]

21 years agoterm->cfg is now a full copy of the Config structure, not a pointer;
Simon Tatham [Sun, 12 Jan 2003 14:30:02 +0000 (14:30 +0000)]
term->cfg is now a full copy of the Config structure, not a pointer;
and term_reconfig() now passes in a new structure which is copied
over the top. This means that the old and new structures can be
compared, and the _current_ as well as default states of auto wrap
mode, DEC origin mode, BCE, blinking text and character classes can
be conveniently reconfigured in mid-session without requiring a
terminal reset.

[originally from svn r2557]

21 years agoCOmpiling _before_ committing is usually a good idea.
Ben Harris [Sun, 12 Jan 2003 14:23:00 +0000 (14:23 +0000)]
COmpiling _before_ committing is usually a good idea.

[originally from svn r2556]

21 years agoThe command-line routines now take a pointer to `cfg' as an
Simon Tatham [Sun, 12 Jan 2003 14:17:03 +0000 (14:17 +0000)]
The command-line routines now take a pointer to `cfg' as an
argument, so they don't depend on it being a global any more.

[originally from svn r2555]