]> asedeno.scripts.mit.edu Git - PuTTY.git/log
PuTTY.git
21 years agoThe long-awaited config box revamp! I've taken the whole config box
Simon Tatham [Wed, 5 Mar 2003 22:07:40 +0000 (22:07 +0000)]
The long-awaited config box revamp! I've taken the whole config box
to pieces, and put it back together in a new table-driven form.
config.c sets up a data structure describing most of the config box;
wincfg.c adds in the Windows-specific options (so that config.c can
also form the basis for Mac and Unix config boxes). Then winctrls.c
contains a shiny new layout engine which consumes that data
structure, and windlg.c passes all WM_COMMAND and similar messages
to a driver alongside that layout engine. In the process I've sorted
out nicer-looking panel titles and finally fixed the list-boxes-are-
never-the-right-size bug (turned out to be Windows's fault, of
course). I _believe_ it should do everything the old config box did,
including context help. Now everyone has to test it thoroughly...

[originally from svn r2908]

21 years agoAdd 'what does "PuTTY" mean?', and add some IPA to the shortened pronunciation
Ben Harris [Tue, 4 Mar 2003 14:14:17 +0000 (14:14 +0000)]
Add 'what does "PuTTY" mean?', and add some IPA to the shortened pronunciation
answer.

[originally from svn r2904]

21 years agoI've been meaning to get round to this for _ages_: in front of my
Simon Tatham [Mon, 3 Mar 2003 16:35:45 +0000 (16:35 +0000)]
I've been meaning to get round to this for _ages_: in front of my
coroutine macros, I now include a comment linking to my web article
that explains what they do.

[originally from svn r2902]

21 years agoImprove scheduling on the Mac:
Ben Harris [Sat, 1 Mar 2003 15:12:03 +0000 (15:12 +0000)]
Improve scheduling on the Mac:
1: Only update the screen when there's nothing else to do.  This means that
it's a lot harder for a fast typist to outrun PuTTY.
2: Only sleep for at most 100ms at a time.  This is a kludge to work around
the WakeUpProcess caused by incoming data can happen before the
WaitNextEvent it's meant to interrupt, leading to PuTTY sleeping forever
because it doesn't know there's network data pending.

[originally from svn r2901]

21 years agoIn merging the username and password input functions I inadvertently
Simon Tatham [Fri, 28 Feb 2003 20:28:03 +0000 (20:28 +0000)]
In merging the username and password input functions I inadvertently
removed the support for control characters in passwords. Replaced.

[originally from svn r2900]

21 years agoHandle the Aqua menu layout, in which the system provides a "quit" option
Ben Harris [Thu, 27 Feb 2003 23:34:59 +0000 (23:34 +0000)]
Handle the Aqua menu layout, in which the system provides a "quit" option
for us, correctly.

[originally from svn r2899]

21 years agoAdd 'plst' 0 resources to help Mac OS X do magic things.
Ben Harris [Thu, 27 Feb 2003 23:21:23 +0000 (23:21 +0000)]
Add 'plst' 0 resources to help Mac OS X do magic things.
These aren't actually compiled yet because they must only be present in
the Carbon build, and I don't currently compile the resources separately for
each platform.

[originally from svn r2898]

21 years agoAdd some parentheses for general robustness. (In particular I just
Simon Tatham [Mon, 24 Feb 2003 22:39:14 +0000 (22:39 +0000)]
Add some parentheses for general robustness. (In particular I just
tried to run mkfiles.pl on Perl 5.005_03 and it didn't work without
them.)

[originally from svn r2885]

21 years agoSet the executable fragment name (in CFM builds) to the name of the target
Ben Harris [Sun, 23 Feb 2003 13:42:34 +0000 (13:42 +0000)]
Set the executable fragment name (in CFM builds) to the name of the target
pgram, rather than to "PuTTY" unconditionally.

[originally from svn r2883]

21 years agoI think the Carbon build now works well enough to be worth turning on by
Ben Harris [Sun, 23 Feb 2003 13:34:14 +0000 (13:34 +0000)]
I think the Carbon build now works well enough to be worth turning on by
default.  It's not particularly useful, but it runs.

[originally from svn r2882]

21 years agoHandle suspend and resume events in PuTTYgen as well.
Ben Harris [Sun, 23 Feb 2003 13:31:12 +0000 (13:31 +0000)]
Handle suspend and resume events in PuTTYgen as well.

[originally from svn r2881]

21 years agoDon't open the event log whenever an event is logged; instead handle the
Ben Harris [Sun, 23 Feb 2003 13:00:38 +0000 (13:00 +0000)]
Don't open the event log whenever an event is logged; instead handle the
"Show Event Log" menu entry sensibly.  Similarly, make it possible to close
(hide) the event log.

[originally from svn r2880]

21 years agoScroll the event log to the end after adding a line if it was looking at the
Ben Harris [Sun, 23 Feb 2003 12:41:44 +0000 (12:41 +0000)]
Scroll the event log to the end after adding a line if it was looking at the
end before the line was added.

[originally from svn r2879]

21 years agoAdd handling for suspend and resume events, and set the flags in our 'SIZE'
Ben Harris [Sun, 23 Feb 2003 11:58:59 +0000 (11:58 +0000)]
Add handling for suspend and resume events, and set the flags in our 'SIZE'
resource that say we can handle them.  This seems to avoid a crash when PuTTY's
switched away from, and is necessary for Carbon anyway.

[originally from svn r2878]

21 years agoWork around an SC bug that causes it to try to use the same register for
Ben Harris [Sun, 23 Feb 2003 00:13:17 +0000 (00:13 +0000)]
Work around an SC bug that causes it to try to use the same register for
two purposes in s_wrpkt_prepare().  This makes SSH1 work on 68K Macs, at
least until I deactivate the terminal window...

[originally from svn r2876]

21 years agoAdd a mechanism for collecting entropy, and displaying how much we've got,
Ben Harris [Thu, 20 Feb 2003 22:55:09 +0000 (22:55 +0000)]
Add a mechanism for collecting entropy, and displaying how much we've got,
based on the Windows version.  We don't _do_ anything with the entropy yet,
though.

[originally from svn r2875]

21 years agoBe careful not to try to get information from windows we don't own, or that
Ben Harris [Thu, 20 Feb 2003 22:31:52 +0000 (22:31 +0000)]
Be careful not to try to get information from windows we don't own, or that
don't exist at all.  Also a small PuTTYgen change that I can't be bothered
to filter out of this commit.

[originally from svn r2874]

21 years agoChange some of the blocks of cut&pasted code into loops.
Ben Harris [Thu, 20 Feb 2003 22:22:14 +0000 (22:22 +0000)]
Change some of the blocks of cut&pasted code into loops.

[originally from svn r2873]

21 years agoAsk for traceback tables in PowerPC objects, since that should make
Ben Harris [Thu, 20 Feb 2003 00:40:39 +0000 (00:40 +0000)]
Ask for traceback tables in PowerPC objects, since that should make
tracking down crashes easier.

[originally from svn r2872]

21 years agoFix documentation for `ssh2-keyderive-nonbug'.
Jacob Nevins [Wed, 19 Feb 2003 09:54:45 +0000 (09:54 +0000)]
Fix documentation for `ssh2-keyderive-nonbug'.

[originally from svn r2868]

21 years agoMake this compile in Carbon.
Ben Harris [Wed, 19 Feb 2003 01:03:47 +0000 (01:03 +0000)]
Make this compile in Carbon.

[originally from svn r2867]

21 years agoFix `ssh2.0.11-keyderive-nonbug' on the strength of Ben's analysis.
Jacob Nevins [Tue, 18 Feb 2003 20:10:24 +0000 (20:10 +0000)]
Fix `ssh2.0.11-keyderive-nonbug' on the strength of Ben's analysis.
Not tested it myself.

[originally from svn r2861]

21 years agoBring PuTTYgen into the world of object-oriented event handling.
Ben Harris [Sun, 16 Feb 2003 14:27:37 +0000 (14:27 +0000)]
Bring PuTTYgen into the world of object-oriented event handling.
Also add a non-functional "generate" button the the key window.

[originally from svn r2857]

21 years agoMake it possible to close the "about" and "licence" boxes again.
Ben Harris [Sun, 16 Feb 2003 13:44:18 +0000 (13:44 +0000)]
Make it possible to close the "about" and "licence" boxes again.

[originally from svn r2856]

21 years agoActually use macabout.c.
Ben Harris [Sun, 16 Feb 2003 13:03:33 +0000 (13:03 +0000)]
Actually use macabout.c.

[originally from svn r2855]

21 years agoStub code for handling key windows in PuTTYgen. This file will eventually
Ben Harris [Sun, 16 Feb 2003 13:03:12 +0000 (13:03 +0000)]
Stub code for handling key windows in PuTTYgen.  This file will eventually
include all the stuff that does actual work in PuTTYgen.

[originally from svn r2854]

21 years agofaq-support:
Jacob Nevins [Sat, 15 Feb 2003 18:47:22 +0000 (18:47 +0000)]
faq-support:
Modified text to reflect the fact that the wishlist now shows bugs fixed
recently (FSVO "recently"). Hopefully I haven't made it too confusing.

[originally from svn r2852]

21 years agoRather than increasing the size of my switch statements yet further, have
Ben Harris [Sat, 15 Feb 2003 16:22:15 +0000 (16:22 +0000)]
Rather than increasing the size of my switch statements yet further, have
a bunch of function pointers associated with each window to do things like
updates and click handling.  This is all looking disturbingly object-oriented.
.
While I'm here, separate out the about box into its own file, shared by PuTTY
and PuTTYgen.

[originally from svn r2850]

21 years agoTiny amount of infrastructure for having actual keys in PuTTYgen.
Ben Harris [Sat, 15 Feb 2003 14:20:43 +0000 (14:20 +0000)]
Tiny amount of infrastructure for having actual keys in PuTTYgen.

[originally from svn r2849]

21 years ago<OpenTransportInternet.h> seems to want <Files.h>. Silly thing.
Ben Harris [Sat, 15 Feb 2003 14:20:04 +0000 (14:20 +0000)]
<OpenTransportInternet.h> seems to want <Files.h>.  Silly thing.

[originally from svn r2848]

21 years agoMake various internal functions static.
Ben Harris [Sat, 15 Feb 2003 13:29:26 +0000 (13:29 +0000)]
Make various internal functions static.

[originally from svn r2847]

21 years agoMove the 'vers' resources for Mac OS into their own file, to be shared
Ben Harris [Thu, 13 Feb 2003 12:30:10 +0000 (12:30 +0000)]
Move the 'vers' resources for Mac OS into their own file, to be shared
by the various applications.

[originally from svn r2843]

21 years agoMinimal shell of PuTTYgen for Mac. No actual PuTTYgen-specific code there
Ben Harris [Wed, 12 Feb 2003 23:53:15 +0000 (23:53 +0000)]
Minimal shell of PuTTYgen for Mac.  No actual PuTTYgen-specific code there
yet, but an absence of PuTTY-specific code.

[originally from svn r2842]

21 years agoDeal with a "possible extraneous ';'" warning.
Ben Harris [Wed, 12 Feb 2003 23:21:38 +0000 (23:21 +0000)]
Deal with a "possible extraneous ';'" warning.

[originally from svn r2841]

21 years agoConvert implicit (char *) and (unsigned char *) casts to explicit ones.
Ben Harris [Wed, 12 Feb 2003 23:06:40 +0000 (23:06 +0000)]
Convert implicit (char *) and (unsigned char *) casts to explicit ones.

[originally from svn r2840]

21 years agoUpdate list of Telnet options to match what IANA currently have.
Ben Harris [Wed, 12 Feb 2003 19:49:25 +0000 (19:49 +0000)]
Update list of Telnet options to match what IANA currently have.

[originally from svn r2839]

21 years agoClip host resize requests to the size of the desktop.
Ben Harris [Tue, 11 Feb 2003 23:10:34 +0000 (23:10 +0000)]
Clip host resize requests to the size of the desktop.

[originally from svn r2835]

21 years agoRemove another `please pester ssh.com for their agent protocol' bit.
Simon Tatham [Tue, 11 Feb 2003 14:10:20 +0000 (14:10 +0000)]
Remove another `please pester ssh.com for their agent protocol' bit.

[originally from svn r2832]

21 years agoThe event log is implemented; remove it from the list.
Ben Harris [Mon, 10 Feb 2003 23:49:58 +0000 (23:49 +0000)]
The event log is implemented; remove it from the list.

[originally from svn r2830]

21 years agoSet some parent windows on PuTTYgen and Pageant About/Licence dialog to
Jacob Nevins [Fri, 7 Feb 2003 14:22:19 +0000 (14:22 +0000)]
Set some parent windows on PuTTYgen and Pageant About/Licence dialog to
improve window management behaviour.

[originally from svn r2822]

21 years agoGive PuTTYgen an icon.
Jacob Nevins [Fri, 7 Feb 2003 13:54:34 +0000 (13:54 +0000)]
Give PuTTYgen an icon.

[originally from svn r2821]

21 years agoCrude Event Log implementation for the Mac. I'm fairly convinced now that
Ben Harris [Fri, 7 Feb 2003 01:38:12 +0000 (01:38 +0000)]
Crude Event Log implementation for the Mac.  I'm fairly convinced now that
using the List Manager was entirely the wrong decision on my part, so I'll
probably rewrite this to use TextEdit at some point, but it's better than
stderr even so.

[originally from svn r2811]

21 years agoClean up Carbon build procedures somewhat. I still don't have anything that
Ben Harris [Fri, 7 Feb 2003 01:33:24 +0000 (01:33 +0000)]
Clean up Carbon build procedures somewhat.  I still don't have anything that
actually works, but I think I'm getting closer.

[originally from svn r2810]

21 years agoMove net_service_lookup() to macnet.c, since that's where it belongs.
Ben Harris [Thu, 6 Feb 2003 01:01:27 +0000 (01:01 +0000)]
Move net_service_lookup() to macnet.c, since that's where it belongs.

[originally from svn r2806]

21 years agoOops; overzealous copy-and-paste in the Windows Help context names.
Simon Tatham [Wed, 5 Feb 2003 09:05:35 +0000 (09:05 +0000)]
Oops; overzealous copy-and-paste in the Windows Help context names.

[originally from svn r2805]

21 years agoAdd a level of indirection to make it rather easier to work out which of a
Ben Harris [Tue, 4 Feb 2003 23:39:26 +0000 (23:39 +0000)]
Add a level of indirection to make it rather easier to work out which of a
session's windows we're dealing with.

[originally from svn r2804]

21 years agoAdd another bug workaround, this one for old OpenSSH (<2.3) servers
Simon Tatham [Tue, 4 Feb 2003 13:02:51 +0000 (13:02 +0000)]
Add another bug workaround, this one for old OpenSSH (<2.3) servers
which have a strange idea of what data should be signed in a PK auth
request. This actually got in my way while doing serious things at
work! :-)

[originally from svn r2800]

21 years agoFurther fallout from the introduction of the Filename type. (Memo to
Simon Tatham [Tue, 4 Feb 2003 13:00:54 +0000 (13:00 +0000)]
Further fallout from the introduction of the Filename type. (Memo to
self: if you change the type of a variable and everything compiles
without type-checking errors, that doesn't mean it's all fixed,
because variadic functions aren't type-checked! Oops.)

[originally from svn r2799]

21 years agoIf we're compiling for Carbon, define OTCARBONAPPLICATION so that we get
Ben Harris [Tue, 4 Feb 2003 02:15:18 +0000 (02:15 +0000)]
If we're compiling for Carbon, define OTCARBONAPPLICATION so that we get
the simplified (and backward-compatible) application-only interfaces.

[originally from svn r2793]

21 years agoCarbonise, or at least disable MacTCP support under Carbon.
Ben Harris [Tue, 4 Feb 2003 02:10:42 +0000 (02:10 +0000)]
Carbonise, or at least disable MacTCP support under Carbon.

[originally from svn r2792]

21 years agoI can only quote the comment in <Scrap.h> which prompted this commit:
Ben Harris [Tue, 4 Feb 2003 02:08:03 +0000 (02:08 +0000)]
I can only quote the comment in <Scrap.h> which prompted this commit:
/*
    Newsflash! After 15 years of arduous toil, it's finally possible
    for specially trained typists wielding advanced text editing
    technology to define symbolic names for commonly used scrap
    flavor type constants! Apple triumphs again!
*/

[originally from svn r2791]

21 years agoFix various breakages my Carbonisation caused in the Classic build, notably
Ben Harris [Tue, 4 Feb 2003 02:03:53 +0000 (02:03 +0000)]
Fix various breakages my Carbonisation caused in the Classic build, notably
that outside Carbon, CGrafPtr and GrafPtr are different types, even though
they're mostly interchangeable, so we need to interpose a cast between
GetWindowPort and SetPort.

[originally from svn r2790]

21 years agoCarbonise. Currently, size tips and copy/paste won't work in Carbon.
Ben Harris [Tue, 4 Feb 2003 01:53:50 +0000 (01:53 +0000)]
Carbonise.  Currently, size tips and copy/paste won't work in Carbon.

[originally from svn r2789]

21 years agoSlightly improve Carbon handling: we still have to deal with the "About..."
Ben Harris [Tue, 4 Feb 2003 00:33:11 +0000 (00:33 +0000)]
Slightly improve Carbon handling: we still have to deal with the "About..."
menu entry, even if the rest of the Apple Menu is done for us.

[originally from svn r2788]

21 years agoConvert keyboard events into Unicode properly. I can now type all manner of
Ben Harris [Tue, 4 Feb 2003 00:01:33 +0000 (00:01 +0000)]
Convert keyboard events into Unicode properly.  I can now type all manner of
interesting characters and have them work properly.

[originally from svn r2787]

21 years agoUpdate to match reality.
Ben Harris [Sun, 2 Feb 2003 16:02:50 +0000 (16:02 +0000)]
Update to match reality.

[originally from svn r2780]

21 years agoAdd support for using Navigation Services to open saved sessions.
Ben Harris [Sun, 2 Feb 2003 15:59:00 +0000 (15:59 +0000)]
Add support for using Navigation Services to open saved sessions.
Support for saving sessions using Navigation Services will come later.

[originally from svn r2779]

21 years agoCarbonise, mostly by replacing addresource() with c2pstrcpy() and
Ben Harris [Sun, 2 Feb 2003 00:04:36 +0000 (00:04 +0000)]
Carbonise, mostly by replacing addresource() with c2pstrcpy() and
AddResource(), and similar.

[originally from svn r2775]

21 years agoCarbonise. Until we support Navigation Services, loading and saving sessions
Ben Harris [Sat, 1 Feb 2003 23:55:00 +0000 (23:55 +0000)]
Carbonise.  Until we support Navigation Services, loading and saving sessions
is tricky.

[originally from svn r2774]

21 years agoMake this compile in a Carbon world (while still supporting everything else).
Ben Harris [Sat, 1 Feb 2003 23:42:30 +0000 (23:42 +0000)]
Make this compile in a Carbon world (while still supporting everything else).

[originally from svn r2773]

21 years agoAdd some glue to allow building a Carbon version of PuTTY. It won't
Ben Harris [Sat, 1 Feb 2003 22:20:53 +0000 (22:20 +0000)]
Add some glue to allow building a Carbon version of PuTTY.  It won't
work, but it's nice to have the infrastructure in place.

[originally from svn r2772]

21 years agoRather more natural (if much more complex) Mac Filename implementation.
Ben Harris [Sat, 1 Feb 2003 21:44:05 +0000 (21:44 +0000)]
Rather more natural (if much more complex) Mac Filename implementation.
Filenames are represented as a FSSpec, which is converted to and from an
alias record ('alis' resource) when saving and loading sessions.
.
It might be an idea to allow in-core Filenames to contain alias records too,
so that they can refer to directories that don't exist on the current system,
but that requires Filenames to be dynamically allocated, which is likely to be
a pain.

[originally from svn r2771]

21 years agoIn xlatlognam(), use the start of the destination buffer as the destination
Ben Harris [Sat, 1 Feb 2003 21:39:59 +0000 (21:39 +0000)]
In xlatlognam(), use the start of the destination buffer as the destination
filename, not the end.

[originally from svn r2770]

21 years agoInitialise a variable that might otherwise have caused trouble.
Simon Tatham [Sat, 1 Feb 2003 17:25:06 +0000 (17:25 +0000)]
Initialise a variable that might otherwise have caused trouble.
Thanks to Ross Younger.

[originally from svn r2769]

21 years agoOops, Ben is quite right about the rather appalling design of
Simon Tatham [Sat, 1 Feb 2003 17:24:27 +0000 (17:24 +0000)]
Oops, Ben is quite right about the rather appalling design of
filename_from_str. Here's a better fix, with some const
repercussions too.

[originally from svn r2768]

21 years agoTidy up Simon's FontSpec abstraction.
Ben Harris [Sat, 1 Feb 2003 15:44:08 +0000 (15:44 +0000)]
Tidy up Simon's FontSpec abstraction.
Also, make fontspec_to_str not return the address of an automatic variable.
It now has a memory leak instead.

[originally from svn r2767]

21 years agoMake save_scroll() static.
Ben Harris [Sat, 1 Feb 2003 15:42:01 +0000 (15:42 +0000)]
Make save_scroll() static.

[originally from svn r2766]

21 years agoCreated new data types `Filename' and `FontSpec', intended to be
Simon Tatham [Sat, 1 Feb 2003 12:54:40 +0000 (12:54 +0000)]
Created new data types `Filename' and `FontSpec', intended to be
opaque to all platform-independent modules and only handled within
per-platform code. `Filename' is there because the Mac has a magic
way to store filenames (though currently this checkin doesn't
support it!); `FontSpec' is there so that all the auxiliary stuff
such as font height and charset and so on which is needed under
Windows but not Unix can be kept where it belongs, and so that I can
have a hope in hell of dealing with a font chooser in the forthcoming
cross-platform config box code, and best of all it gets the horrid
font height wart out of settings.c and into the Windows code where
it should be.
The Mac part of this checkin is a bunch of random guesses which will
probably not quite compile, but which look roughly right to me.
Sorry if I screwed it up, Ben :-)

[originally from svn r2765]

21 years agoFix the gcc warnings in this module (since we now seem to be
Simon Tatham [Sat, 1 Feb 2003 12:28:43 +0000 (12:28 +0000)]
Fix the gcc warnings in this module (since we now seem to be
building -Werror under Unix this is quite important!).

[originally from svn r2764]

21 years agoRichard's lazy-scrolling patch. This builds up scroll operations in a list,
Ben Harris [Sat, 1 Feb 2003 12:26:33 +0000 (12:26 +0000)]
Richard's lazy-scrolling patch.  This builds up scroll operations in a list,
combining adjacent ones for the same region, and runs them all in do_paint.
I'm not sure it's entirely right, but it works on my Mac in every case I've
tested.

[originally from svn r2763]

21 years agoMisc tweaks to proxy section
Jacob Nevins [Sat, 1 Feb 2003 02:09:02 +0000 (02:09 +0000)]
Misc tweaks to proxy section

[originally from svn r2762]

21 years agoBe slightly less negative about other people's setting up PuTTY-related
Ben Harris [Sat, 1 Feb 2003 00:29:38 +0000 (00:29 +0000)]
Be slightly less negative about other people's setting up PuTTY-related
fora.

[originally from svn r2760]

21 years agoMention the slightly odd "too many authentication attempts" message you
Ben Harris [Fri, 31 Jan 2003 23:18:44 +0000 (23:18 +0000)]
Mention the slightly odd "too many authentication attempts" message you
get from OpenSSH if you overfill Pageant.

[originally from svn r2757]

21 years agoSmall amount of extra noise gathering -- slurp the process list in
Ben Harris [Thu, 30 Jan 2003 23:11:07 +0000 (23:11 +0000)]
Small amount of extra noise gathering -- slurp the process list in
noise_get_heavy().

[originally from svn r2755]

21 years agoYet more fallout from the 16-colour changes. I think by this time
Simon Tatham [Thu, 30 Jan 2003 13:39:24 +0000 (13:39 +0000)]
Yet more fallout from the 16-colour changes. I think by this time
these fiddly little changes are no longer bugs I introduced
recently, they're bugs that have been around all along and I've only
just smoked out by altering the ATTR_* definitions.

[originally from svn r2754]

21 years agoAntonin Brothanek points out that `Incoming packet was garbled on
Simon Tatham [Thu, 30 Jan 2003 10:19:05 +0000 (10:19 +0000)]
Antonin Brothanek points out that `Incoming packet was garbled on
decryption' could be a result of the wrong setting of the
`Miscomputes SSH2 encryption keys' bug workaround option.

[originally from svn r2751]

21 years agoFurther cosmetic tweaks to file-selection boxes per observed conventions
Jacob Nevins [Wed, 29 Jan 2003 16:39:18 +0000 (16:39 +0000)]
Further cosmetic tweaks to file-selection boxes per observed conventions
on Windows:
 - Change "AllFiles" to "All Files (*.*)"
 - Extensions in lower case

[originally from svn r2748]

21 years agoAnd another bit missing from the settings changes: pterm's platform
Simon Tatham [Tue, 28 Jan 2003 12:06:37 +0000 (12:06 +0000)]
And another bit missing from the settings changes: pterm's platform
default for CloseOnExit was encoded wrongly. Hopefully this should
be everything now; I'm really starting to get sick of picking up the
pieces after my two checkins yesterday. Perhaps I should have waited
until I had a brain before doing them in the first place.

[originally from svn r2746]

21 years agoGaah, another missing bit from the 16-colour support: Ben points out
Simon Tatham [Tue, 28 Jan 2003 12:05:38 +0000 (12:05 +0000)]
Gaah, another missing bit from the 16-colour support: Ben points out
an out-of-date comment in putty.h.

[originally from svn r2745]

21 years agoNeither do we do non-block cursors.
Ben Harris [Tue, 28 Jan 2003 11:57:08 +0000 (11:57 +0000)]
Neither do we do non-block cursors.

[originally from svn r2744]

21 years agoWe don't do blinking text/cursor yet.
Ben Harris [Tue, 28 Jan 2003 11:56:32 +0000 (11:56 +0000)]
We don't do blinking text/cursor yet.

[originally from svn r2743]

21 years agoAhem, and restore the missing & from that checkin. Arrgh.
Simon Tatham [Tue, 28 Jan 2003 09:30:14 +0000 (09:30 +0000)]
Ahem, and restore the missing & from that checkin. Arrgh.

[originally from svn r2741]

21 years agoOh, _that's_ why that `if' had the sense it did. Good grief.
Simon Tatham [Tue, 28 Jan 2003 09:26:32 +0000 (09:26 +0000)]
Oh, _that's_ why that `if' had the sense it did. Good grief.
Apparently I used to rely on the fact that the same `erase_char'
used to wipe parts of the screen was also a good value to use for
resetting line attributes. Should now be more robust against future
reorganisations of the ATTR_* bit fields.

[originally from svn r2740]

21 years agoDon't log every keypress by default here either.
Ben Harris [Tue, 28 Jan 2003 00:35:54 +0000 (00:35 +0000)]
Don't log every keypress by default here either.

[originally from svn r2739]

21 years agoFix a minor oversight in the new 16-colour code for the Mac, which was
Ben Harris [Tue, 28 Jan 2003 00:25:20 +0000 (00:25 +0000)]
Fix a minor oversight in the new 16-colour code for the Mac, which was
calculating the background colour wrongly.

[originally from svn r2738]

21 years agoSecurity fascists might claim that logging every keypress to stderr is a bad
Ben Harris [Tue, 28 Jan 2003 00:17:17 +0000 (00:17 +0000)]
Security fascists might claim that logging every keypress to stderr is a bad
idea, so stop doing that (only in the Mac port, so not actually much of a
problem).

[originally from svn r2737]

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]