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

80 Commits

Author SHA1 Message Date
Ben Harris
cd60f004eb Since Proff doesn't like me, I'll just print the number of elapsed ticks at the
end of the test data.

[originally from svn r106]
1999-03-14 20:43:51 +00:00
Ben Harris
6537147dd9 Scrollbar now updates if a character appears while scrolled back.
[originally from svn r105]
1999-03-14 20:09:03 +00:00
Ben Harris
e74609fa1c externed backends so I can safely turn on duplicate-symbol warnings.
[originally from svn r104]
1999-03-14 20:08:09 +00:00
Ben Harris
d256c6c5eb Tweaked build procedure.
[originally from svn r103]
1999-03-14 20:07:04 +00:00
Ben Harris
c7c358fa3f Attribute masking implemented. The variable attr_mask stored the current
set of "interesting" attributes, and do_paint only takes those ones into
account when deciding when to break style runs.  Makes redraw quite a bit
faster on displays which don't do ANSI colour.

[originally from svn r102]
1999-03-14 17:43:35 +00:00
Ben Harris
61504ef68c Cursor painting is now _right_ and scrollbar removal works better.
[originally from svn r101]
1999-03-14 15:51:34 +00:00
Ben Harris
0494727737 Slightly corrected TMPL for pSET, but it still doesn't work properly.
[originally from svn r100]
1999-03-14 15:50:19 +00:00
Ben Harris
07cf20654b There's something going wrong here. Occasional builds have difficulty loading
the wordness resource.  I've added extra diagnostics, but I haven't worked out
what's going on.

[originally from svn r99]
1999-03-14 15:48:35 +00:00
Ben Harris
eb79017bff Drag-select now autoscrolls more sensibly.
Selected text now ends up in the clipboard.

[originally from svn r98]
1999-03-14 13:08:44 +00:00
Ben Harris
a5f734f8e4 Auto-scrolling now works properly.
[originally from svn r97]
1999-03-13 18:23:24 +00:00
Ben Harris
13d3a23263 Sane version number
[originally from svn r96]
1999-03-13 18:22:47 +00:00
Ben Harris
937c4f739f Works now.
[originally from svn r95]
1999-03-13 18:20:14 +00:00
Ben Harris
828339be2e Oops. Don't forget to rename the Makefile...
[originally from svn r94]
1999-03-13 16:57:30 +00:00
Ben Harris
ce30477a77 Mac OS Makefile renamed to not have a >8.3 file name. Since this stops
BuildProgram working, I've created a modified BuildProgram as mkputty.mpw.

[originally from svn r93]
1999-03-13 16:51:46 +00:00
Ben Harris
12064f2245 First attempt at copying to the clipboard -- doesn't seem to work.
Also a bug-fix in auto-scrolling when drag-selecting off the top.

[originally from svn r91]
1999-03-11 23:23:45 +00:00
Ben Harris
84f1e71fad Menu items now turn on and off in a vaguely useful way.
Dragging to select now works.

[originally from svn r90]
1999-03-11 21:40:32 +00:00
Ben Harris
d801319d6c Oh, and we'll have <string.h> back too...
[originally from svn r89]
1999-03-11 15:07:16 +00:00
Ben Harris
d295d01217 merged changes up to terminal.c 1.6 [r85]
[originally from svn r88]
[r85 == 9a5b63aa03]
1999-03-11 12:03:18 +00:00
Ben Harris
825297641d pasting now sends \015 rather than \r
[originally from svn r87]
1999-03-11 11:10:53 +00:00
git migration script
a9b6f0b18f Begin 'ben-mac-port' branch.
This commit reflects the start of the 'ben-mac-port' branch in CVS.
Due to CVS's ability to branch files independently, most of the tree
comes from the tip of 'ben-early-mac-port', but terminal.c is the
version from r70

[originally from svn r86]
[r70 == a9b471d5b3]
1999-03-11 11:10:53 +00:00
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