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

1904 Commits

Author SHA1 Message Date
Simon Tatham
09815b5050 Ahem, and restore the missing & from that checkin. Arrgh.
[originally from svn r2741]
2003-01-28 09:30:14 +00:00
Simon Tatham
54f033ace0 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]
2003-01-28 09:26:32 +00:00
Ben Harris
6f43ffc13c Don't log every keypress by default here either.
[originally from svn r2739]
2003-01-28 00:35:54 +00:00
Ben Harris
b29a64c760 Fix a minor oversight in the new 16-colour code for the Mac, which was
calculating the background colour wrongly.

[originally from svn r2738]
2003-01-28 00:25:20 +00:00
Ben Harris
28edf621aa 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]
2003-01-28 00:17:17 +00:00
Ben Harris
d5e459f9dd Add myself to the list of copyright holders, largely for term_key().
[originally from svn r2736]
2003-01-27 23:46:03 +00:00
Simon Tatham
2877af56bb 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]
2003-01-27 23:18:16 +00:00
Simon Tatham
c370336a92 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]
2003-01-27 23:03:31 +00:00
Simon Tatham
6aa4211f6e 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]
2003-01-27 18:02:24 +00:00
Simon Tatham
70f8e2cd74 Blinking text was broken on pterm. This should fix it.
[originally from svn r2732]
2003-01-27 15:44:48 +00:00
Ben Harris
de34bdac6d 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]
2003-01-27 00:39:01 +00:00
Ben Harris
b415d9e225 Remove some fossils.
[originally from svn r2727]
2003-01-27 00:33:49 +00:00
Ben Harris
146ff8f190 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]
2003-01-25 19:23:03 +00:00
Ben Harris
58c9d21f58 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]
2003-01-25 19:21:56 +00:00
Ben Harris
787fcd3eb7 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]
2003-01-25 17:20:54 +00:00
Simon Tatham
063469571a Fix Unix breakage from term_mouse() revamp too.
[originally from svn r2723]
2003-01-25 16:23:48 +00:00
Simon Tatham
d08f9e8fce Fix minor breakage on Windows as a result of term_mouse revamp.
[originally from svn r2722]
2003-01-25 16:22:49 +00:00
Ben Harris
af4be2e83e 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]
2003-01-25 16:16:45 +00:00
Ben Harris
3f01fc87ec The PowerPC build works on Owen's Mac, which doesn't have AppearanceLib, so
that bug's definitely fixed.

[originally from svn r2720]
2003-01-25 15:21:54 +00:00
Ben Harris
58091f6971 Duplicate Session is done.
[originally from svn r2719]
2003-01-25 15:18:51 +00:00
Ben Harris
9812db5f1f Add support for "Duplicate Session", moving back-end selection into
mac_startsession() in the process.

[originally from svn r2718]
2003-01-25 15:15:40 +00:00
Ben Harris
2aa3b8e154 Ensure that development snapshots have a version number higher than the
preceding release.

[originally from svn r2717]
2003-01-25 14:09:47 +00:00
Ben Harris
db014f112a We now have _some_ useful AE support, so mention what's missing specifically.
Also mentio lack of Duplicate Session.

[originally from svn r2716]
2003-01-25 14:07:50 +00:00
Ben Harris
75f393a4be AEGetNthPtr() is stupid and counts from 1. Allowing for this gets aevt/odoc
working.

[originally from svn r2715]
2003-01-25 14:04:47 +00:00
Jacob Nevins
4004de9163 Change website refs from putty/wishlist.html to putty/wishlist/
[originally from svn r2714]
2003-01-24 14:12:31 +00:00
Ben Harris
ba6a959e69 We'd like full-screen mode too.
[originally from svn r2705]
2003-01-24 00:37:27 +00:00
Ben Harris
583c313d43 Add a bug and a missing feature.
[originally from svn r2704]
2003-01-24 00:28:57 +00:00
Ben Harris
6993486b43 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]
2003-01-24 00:25:33 +00:00
Ben Harris
596f6e9787 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]
2003-01-23 22:57:43 +00:00
Jacob Nevins
5b79eedce2 Add {Question} to faq-psftp-slow
[originally from svn r2697]
2003-01-23 17:01:27 +00:00
Jacob Nevins
f757326608 Mention Ctrl-PgUp/PgDn
[originally from svn r2683]
2003-01-23 12:30:26 +00:00
Jacob Nevins
c801a1f3c5 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]
2003-01-23 11:37:54 +00:00
Simon Tatham
dbee2d886f 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]
2003-01-22 20:22:39 +00:00
Jacob Nevins
25d65cd5b5 accel.pl knows about the accelerators added by winctrls.c:prefslist().
(I'm amazed this still works...)

[originally from svn r2675]
2003-01-21 21:05:35 +00:00
Jacob Nevins
36f133b374 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]
2003-01-21 19:18:06 +00:00
Ben Harris
30347e5313 We'll need the event log to work, too.
[originally from svn r2671]
2003-01-21 00:28:20 +00:00
Ben Harris
802ae23334 Remove stray debugging printfs.
[originally from svn r2670]
2003-01-21 00:27:24 +00:00
Ben Harris
486d91c77c More unimplemented features.
[originally from svn r2669]
2003-01-20 22:55:54 +00:00
Ben Harris
85334a8317 Add minimal Apple Event support -- we handle the 'aevt'/'quit' event.
[originally from svn r2668]
2003-01-20 22:55:08 +00:00
Ben Harris
3e09c5afa1 Enable -Werror in GTK builds (we already have -Wall, so more GCCisms aren't
_that_ evil).

[originally from svn r2667]
2003-01-20 20:15:28 +00:00
Ben Harris
81ada5f24f Add a stub "free" routine for pterm. Thanks to rjk.
[originally from svn r2666]
2003-01-20 20:10:07 +00:00
Jacob Nevins
1512f68602 Run through contrib/accel.pl 1.1 [r1585]:
- Fix accelerator clash on SSH panel (D)
 - Fix accelerator comments

[originally from svn r2665]
[r1585 == 6bcc8e85e8]
2003-01-20 18:05:13 +00:00
Ben Harris
e8ef8452c2 Sync with reality and add more things that need fixing.
[originally from svn r2660]
2003-01-20 01:07:13 +00:00
Ben Harris
979366683d unitab_xterm is now basically right.
SC's optimiser seems to do something nasty to ssh.c.

[originally from svn r2652]
2003-01-19 00:00:53 +00:00
Ben Harris
03dee4b07d 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]
2003-01-18 23:26:56 +00:00
Ben Harris
eaf6cce661 Remove stray debugging code that got in with the last commit.
[originally from svn r2650]
2003-01-18 22:02:22 +00:00
Ben Harris
35f3ef5cc9 Clear kex_ctx in a new session so we can safely free an ssh session without
one.

[originally from svn r2649]
2003-01-18 21:56:33 +00:00
Ben Harris
3afb0f5da8 Remember which file a session was opened from, so it can be the default one
to save back to.

[originally from svn r2648]
2003-01-18 20:52:59 +00:00
Ben Harris
99c1029649 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]
2003-01-18 20:09:21 +00:00
Ben Harris
c66d95c0b1 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]
2003-01-18 17:24:21 +00:00