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
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
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
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
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
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
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
Ben Harris
56209f1741
Add "Save" and "Save As..." items to the menus. No code behind them yet.
...
[originally from svn r2642]
2003-01-18 17:14:34 +00:00
Ben Harris
2dc0bf7a60
Move mac_opensession() from macterm.c to macdlg.c.
...
[originally from svn r2641]
2003-01-18 16:54:25 +00:00
Ben Harris
06a48a0c06
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]
2003-01-18 16:10:21 +00:00
Ben Harris
a8c33d8e12
Correct an incorrect black pixel in the PuTTY icon that's been annoying me
...
for some time.
[originally from svn r2638]
2003-01-18 12:25:43 +00:00
Ben Harris
ca7651538e
It would help if everything agreed on the type of PuTTY random seed files.
...
[originally from svn r2636]
2003-01-18 12:18:04 +00:00
Ben Harris
1cbd489c5b
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]
2003-01-18 12:03:28 +00:00
Ben Harris
fda52aad66
Add some icons for saved sessions and random seeds.
...
[originally from svn r2617]
2003-01-16 00:35:11 +00:00
Ben Harris
658e31a3c3
"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]
2003-01-15 23:46:11 +00:00
Ben Harris
694aafa071
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]
2003-01-15 23:30:21 +00:00
Ben Harris
7a9c7f3d68
Make this compile again.
...
[originally from svn r2614]
2003-01-15 22:37:58 +00:00
Jacob Nevins
e8ebb4c879
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]
2003-01-15 20:47:50 +00:00
Ben Harris
c6920b01c4
MacTCP returns canonical names with a trailing dot. We don't want this, so
...
strip it off.
[originally from svn r2612]
2003-01-15 18:47:41 +00:00
Ben Harris
55a996614b
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]
2003-01-14 19:57:36 +00:00
Ben Harris
1d92c2b783
Update for Unicode deglobalisations.
...
[originally from svn r2600]
2003-01-14 19:42:00 +00:00
Ben Harris
94fdeb2317
Update the "known bugs" and "missing features" sections.
...
[originally from svn r2599]
2003-01-14 19:41:19 +00:00
Ben Harris
902fbc43c2
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]
2003-01-14 19:29:18 +00:00
Ben Harris
34b400a131
const fallout.
...
[originally from svn r2597]
2003-01-14 19:09:24 +00:00
Ben Harris
0edb75b696
Remove debugging printfs from mac_workoutfontscale().
...
[originally from svn r2595]
2003-01-14 18:44:34 +00:00
Ben Harris
1f39efb94d
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]
2003-01-14 18:43:26 +00:00
Ben Harris
a185e16467
request_resize() needs to call term_size() to tell the terminal emulator
...
that its resize request has been approved.
[originally from svn r2591]
2003-01-14 15:24:51 +00:00
Ben Harris
0e52f05217
Set the window title to the canonical host name when we connect.
...
[originally from svn r2574]
2003-01-12 16:25:58 +00:00
Ben Harris
b4d37df579
Consequences of Simon's recent deglobalisation changes.
...
[originally from svn r2573]
2003-01-12 16:11:27 +00:00
Ben Harris
6fbf5d8540
When receiving data, only pass up to the backend as much as we received.
...
[originally from svn r2572]
2003-01-12 15:46:33 +00:00
Ben Harris
cf2bcad348
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]
2003-01-12 14:45:33 +00:00
Ben Harris
80c29aa16f
Don't fatalbox() unconditionally when opening a connection, since that makes
...
it a little difficult to do anything.
[originally from svn r2559]
2003-01-12 14:44:12 +00:00
Ben Harris
c81fa2ff24
COmpiling _before_ committing is usually a good idea.
...
[originally from svn r2556]
2003-01-12 14:23:00 +00:00
Ben Harris
05ae857752
Correct code to insert into a doubly-linked list.
...
[originally from svn r2553]
2003-01-12 13:50:04 +00:00