1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00
Commit Graph

60 Commits

Author SHA1 Message Date
Ben Harris
69352c87fc IND no longer notices lfhascr.
I've actually got the fix in term_mouse right now (or less wrong).
Yeah.

[originally from svn r83]
1999-03-09 12:10:05 +00:00
Ben Harris
1bfbaadd93 Removed support for Line Feed/New Line Mode on the grounds that it doesn't
do the same as lfhascr -- it also changes the "return" key to send CR/LF, which
lfhascr doesn't do (and shouldn't do).  Also, Line Feed/New Line mode isn't
meant to affect IND, which lfhascr currently does (but arguably shouldn't).

[originally from svn r82]
1999-03-09 11:57:13 +00:00
Ben Harris
b5e2bf461b Beginnings of support for selecting text -- clicking mostly does the right
thing, but dragging doesn't work at all.

[originally from svn r81]
1999-03-09 00:09:50 +00:00
Ben Harris
9a54b6278f Tiny \n/\r fix in term_mouse.
[originally from svn r80]
1999-03-09 00:08:41 +00:00
Ben Harris
c8269d4441 Tanslation tables to Mac OS written, though nothing uses them yet.
[originally from svn r79]
1999-03-09 00:06:34 +00:00
Ben Harris
ffc478a772 Changes for updates elsewhere.
[originally from svn r78]
1999-03-07 23:25:43 +00:00
Ben Harris
5134080a41 Attempt at some back-ends useful for testing purposes.
[originally from svn r77]
1999-03-07 23:23:38 +00:00
Ben Harris
1146737c60 Keyboard handling and a visible cursor.
[originally from svn r76]
1999-03-07 23:22:23 +00:00
Ben Harris
85ea86e361 Pass keyboard events to the terminal front-end.
[originally from svn r75]
1999-03-07 23:20:20 +00:00
Ben Harris
4336d540db Lots of things, notably:
* Tidied state machine, with better handling of unknown escape and control
   sequences.
 * Support for automatic newline mode, with lfhascr now being a session
   variable.
 * #include <string.h> for mem*() and str*().

[originally from svn r74]
1999-03-07 23:19:02 +00:00
Ben Harris
a403857032 Added testback.c (not that it works).
Now compile with strict prototypes and optimisation (whee!).

[originally from svn r73]
1999-03-07 23:15:56 +00:00
Ben Harris
c53d7fa688 Resizing of terminal windows added. Seems to work, but term_size might benefit
from calling scroll_display.  This is where my scroll-optimisations look less
useful than Simon's.

[originally from svn r72]
1999-03-03 22:03:54 +00:00
Ben Harris
a9b471d5b3 No longer assume the values of '\n' and '\r', so CR and LF don't get swapped on
the Mac.

[originally from svn r70]
1999-03-03 11:34:43 +00:00
Ben Harris
f4d6dbcc0e Scroll optimisations are now controlled by #ifdef OPTIMISE_SCROLL.
Scroll-bar manipulation now uses scroll optimisation more sensibly.

[originally from svn r69]
1999-03-02 23:47:23 +00:00
Ben Harris
23634d10df We now have saner handling of 4-bit modes (disable colour, get the Palette
Manager to give us bg, fg, bold fg and cursor).
I've also removed some traces of the old scroll-optimiser.

[originally from svn r68]
1999-03-02 23:19:20 +00:00
Ben Harris
2145f64798 Right, I think we now hove scrolling optimisations. They should probably be
conditional on something, but I can't be bothered right now.

[originally from svn r67]
1999-03-02 21:51:55 +00:00
Ben Harris
0ce1d562c6 Scroll bar no longer glitches when a new line is added to the window.
[originally from svn r66]
1999-03-02 14:52:35 +00:00
Ben Harris
d763b173be We now use DeviceLoop for redraws, which allows for depth-specific tweaks.
The first of these is that in 1-bit modes we ignore colour attributes entirely,
which has nice effects on some of Fragments efforts if nothing else.
We still seem to be a lot slower than BetterTelnet, which is a bit worrying.

[originally from svn r65]
1999-03-01 23:43:29 +00:00
Ben Harris
409d80171a Right, so that's a hook for scroll optimisations (when Simon gets round to
them) and a vaguely-working scrollbar.  Next stop: faster and more sensible
redraw in 1-bit modes at least.  Waiting five minutes for the test case
to scroll past is _tedious_.

[originally from svn r64]
1999-03-01 22:26:50 +00:00
Ben Harris
eddbb40cf8 Erm, major change at the moment is a new test case. You need a file called
'fragment' to build it, but its licence prevents me distributing it at present.
Now, about those scrolling optimisations...

[originally from svn r63]
1999-02-28 17:05:11 +00:00
Ben Harris
df4ff91c0e Right, we now have:
* The ability to load the configuration from the current resource file (ie the
   application for now).
 * A scroll bar and size box that look right, even if they don't actually _do_
   anything yet.
 * A load of other minor tweaks.

[originally from svn r62]
1999-02-28 02:38:41 +00:00
Ben Harris
013a8acfd0 Ah. We seem to be working with the Palette Manager again. Good.
[originally from svn r61]
1999-02-24 21:17:06 +00:00
Ben Harris
eae4545aea Now uses the Palette Manager for everything. Unfortunately this seems to
have killed colour entirely.  It was working earlier today.  Really!

[originally from svn r60]
1999-02-24 01:29:10 +00:00
Ben Harris
ebff493cc8 Slight optimisation of do_text so we don't do anything if the entire string's
invisible.

[originally from svn r59]
1999-02-21 23:49:04 +00:00
Ben Harris
ccf2a78172 Most attributes work now.
Palette changes aren't yet done (but should be easy).
Character-set attributes aren't done.
QuickDraw is too clever by half.

[originally from svn r58]
1999-02-21 22:05:00 +00:00
Ben Harris
ee6148a952 Added mac.h for stuff that's only used by the Mac port.
[originally from svn r57]
1999-02-21 18:11:35 +00:00
Ben Harris
8ac1a08339 Bloody Hell! It just managed to say "Hello, world" in a terminal window!
I'd better check this lot in before something bad happens to it.

[originally from svn r56]
1999-02-21 18:09:41 +00:00
Ben Harris
7c491e865f putty.r renamed to mac_res.r for consistency with Windows version.
[originally from svn r55]
1999-02-21 10:29:13 +00:00
Ben Harris
a7fd167471 Start of a Mac front-end to the terminal emulator.
[originally from svn r54]
1999-02-20 23:57:58 +00:00
Ben Harris
29f26a1050 End of a night's work. Not a very useful state, but this is my branch and
I'll do what I want with it.

Anyway, made a start on a Mac display for the terminal emulator, and the
enumeration of the global variables that will have to die.

Oh, and the licence is now in a TEXT resource -- I just have to work out
how to display it...

[originally from svn r53]
1999-02-20 23:55:55 +00:00
Ben Harris
e230e36e2f We now have a fairly minimal Mac application.
I'm about to try lashing in the terminal emulator...

[originally from svn r52]
1999-02-20 22:10:34 +00:00
Ben Harris
36cbe625d4 We now have an event loop, albeit one which ignores everything going on
around it, then proclaims itself to be bored and leaves in a huff.  I
suspect this coulbe be turned into a satirical comment on someone, but I
can't be bothered right now.

[originally from svn r50]
1999-02-19 23:51:21 +00:00
Ben Harris
c00d54bd95 OK, so why did I think a fatal alert box should be silent?
[originally from svn r49]
1999-02-19 23:41:24 +00:00
Ben Harris
34743b9ef4 Now with added menus
[originally from svn r48]
1999-02-19 23:03:29 +00:00
Ben Harris
4e2815c91f added SIZE resource
[originally from svn r47]
1999-02-19 22:06:36 +00:00
Ben Harris
96b834257c Don\'t bother compiling bits I haven\'t got round to yet.
[originally from svn r46]
1999-02-19 21:44:14 +00:00
Ben Harris
f192c33a67 Various cleanups, mostly Mac-related.
[originally from svn r45]
1999-02-19 21:39:25 +00:00
Ben Harris
45bf5aa9eb Now ignoring various Macish things too.
(Is that how you spell "Macish"?  Or is it "Mackish", or even "Maccish"?)

[originally from svn r44]
1999-02-19 21:38:05 +00:00
Ben Harris
fadb1e0f54 Now initialises enough to be able to generate fatal errors.
[originally from svn r43]
1999-02-19 21:35:12 +00:00
Ben Harris
90d4bdc508 Initial version -- most of the Finder resources and the fatalbox.
[originally from svn r42]
1999-02-19 20:52:58 +00:00
Ben Harris
bbe07f437a get line-endings right
[originally from svn r41]
1999-02-19 15:28:27 +00:00
Ben Harris
24c7f9b058 Removed windowsism: now uses fatalbox rather than MessageBox.
[originally from svn r40]
1999-02-19 15:24:15 +00:00
Ben Harris
a7dc00c788 initial, pretty much as generated by CreateMake
[originally from svn r39]
1999-02-19 15:05:41 +00:00
Simon Tatham
4e55406a19 Cause irritating ? markers in cvs update/commit to disappear
[originally from svn r35]
1999-02-10 11:13:28 +00:00
Simon Tatham
ac015f51e0 Add DeleteObject calls to go with the CreatePen calls in do_text. Should
fix a fairly nasty-looking resource leak. Thanks to Andrew Mobbs.

[originally from svn r34]
1999-02-10 11:11:11 +00:00
Simon Tatham
37f49f0adf Improve nasty version.obj hack so it doesn't actually do two compiles
[originally from svn r33]
1999-02-10 10:30:17 +00:00
Simon Tatham
114d7b1d13 Attempt to fix problems with version.obj in some nmakes
[originally from svn r32]
1999-02-10 09:48:29 +00:00
Simon Tatham
aa410406aa Replaced ICON line which was accidentally removed *blush*
[originally from svn r31]
1999-02-10 09:48:15 +00:00
Simon Tatham
ee9e246617 Fix various segfaults and heap trashes. Thanks to Andrew Mobbs.
[originally from svn r29]
1999-02-09 15:39:08 +00:00
Simon Tatham
3b1389a474 Added automatic version distinguishing code, to differentiate releases
from nightly builds from random development builds

[originally from svn r28]
1999-02-09 15:18:34 +00:00