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

1569 Commits

Author SHA1 Message Date
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
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
ff0d8bae10 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]
2003-01-18 12:19:04 +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
Jacob Nevins
870ccbef8c 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]
2003-01-17 13:32:51 +00:00
Jacob Nevins
57610f8580 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]
2003-01-16 15:43:18 +00:00
Jacob Nevins
123ff82f7a Statements after declarations, dammit
[originally from svn r2618]
2003-01-16 00:52: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
7b70ed6205 PuTTYtel should use be_nossh, not be_none.
While we're here, also comment the meaning of [M].

[originally from svn r2611]
2003-01-15 18:45:42 +00:00
Simon Tatham
abfe064c7b Fix small breakages as a result of yesterday's upheavals. Oops.
[originally from svn r2610]
2003-01-15 16:16:36 +00:00
Jacob Nevins
b5e348c872 `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]
2003-01-15 15:22:58 +00:00
Owen Dunn
8cb6506cd3 Use set_icon and set_title rather than SetWindowText. Should fix
inactive-title.

[originally from svn r2606]
2003-01-15 14:51:54 +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
Simon Tatham
f6cc852c5d 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]
2003-01-14 18:43:45 +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
Simon Tatham
b2374a64fd 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]
2003-01-14 18:28:23 +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
Simon Tatham
1bfd89d722 It's impossible to write a checklist from scratch without leaving
one or two things out of the first version.

[originally from svn r2590]
2003-01-14 15:01:18 +00:00
Simon Tatham
ed2e68643c 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]
2003-01-14 14:19:35 +00:00
Owen Dunn
5c7bc54022 Ctrl-PgUp and Ctrl-PgDn now scroll by one line on Unix and Windows
[originally from svn r2582]
2003-01-14 11:24:26 +00:00
Simon Tatham
527c081a2e Oops - put the right `void *' in back->reconfig.
[originally from svn r2579]
2003-01-13 18:03:55 +00:00
Owen Dunn
011542a9d5 Make ^/ do the same as ^_ (wish control-slash)
[originally from svn r2576]
2003-01-13 15:06:56 +00:00