Ben Harris
43e84b26ef
Ha! Nasty intermittent bug nailed (I think)!
...
"That word, resLocked: I do not think it means what you think it means."
HLock seems to be my friend though.
[originally from svn r127]
1999-03-23 21:00:05 +00:00
Ben Harris
03b194de40
Fonts with leading and/or the wrong widMax now work.
...
[originally from svn r124]
1999-03-23 00:43:46 +00:00
Ben Harris
1353b2a903
Pointer-shape canging added -- we now have an I-beam cursor in the terminal
...
window.
Pasting works!
[originally from svn r123]
1999-03-21 23:23:43 +00:00
Ben Harris
986977ac9e
Backends now seem to work. Pasting still doesn't.
...
macterm.c now uses UPPs for a few things so that it should work if compiled
natively for the PowerPC. Not tested it yet though.
[originally from svn r122]
1999-03-18 00:04:34 +00:00
Ben Harris
6b3cebe59a
ignore ILink state files
...
[originally from svn r121]
1999-03-17 21:53:34 +00:00
Ben Harris
e43dc5ecd4
The edit menu is now mostly functional. I'm not sure about paste, since I
...
haven't got a working backend at the moment, but it all looks OK.
[originally from svn r118]
1999-03-16 20:27:31 +00:00
Ben Harris
fc69aeef23
added term_copy and term_paste
...
[originally from svn r110]
1999-03-15 22:27:36 +00:00
Ben Harris
b3a06b30ae
Split off copy and paste functionality from term_mouse.c so it can be used from
...
menu items without faking up a term_mouse call.
[originally from svn r109]
1999-03-15 22:27:04 +00:00
Ben Harris
f5741e4364
macterm.c
...
[originally from svn r108]
1999-03-15 14:22:45 +00:00
Ben Harris
0e1e0363cd
Colour icons, allegedly.
...
[originally from svn r107]
1999-03-15 00:40:55 +00:00
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