Commit Graph

69 Commits

Author SHA1 Message Date
Michael Jumper
f4475b4f00 Move flags to generic function, add charset handler stubs. 2013-05-23 23:12:01 -07:00
Michael Jumper
b1622413a9 Implement mode set/reset. Implement DECCKM mode. 2013-05-22 11:08:38 -07:00
Michael Jumper
266f4e8d1b Implement DECALGN (fill screen with E's) 2013-05-21 23:38:35 -07:00
Michael Jumper
142b526a97 Move write_all convenience function to common. 2013-05-21 22:09:42 -07:00
Michael Jumper
5a0b8b2ea7 Move pipes to terminal scope. 2013-05-21 22:02:11 -07:00
Michael Jumper
b38412fd3d Implement save/restore cursor. 2013-05-21 00:19:53 -07:00
Michael Jumper
80825072fe Reinstate SSH client. 2013-05-20 01:23:21 -07:00
Michael Jumper
0f978393a6 Implement prompts, do not actually redirect real STDIN/STDOUT. 2013-05-20 00:33:17 -07:00
Michael Jumper
0057460c44 Add echo flag. 2013-05-18 22:24:09 -07:00
Michael Jumper
5009d1c280 Revert "Use input/output threads for SSH client."
Should actually have one main thread, which then spawns an input thread after connection successful.

This reverts commit 6a099b4176fb732b7281128100fe66bb0a72da1a.
2013-05-17 20:58:47 -07:00
Michael Jumper
8f0c2f3723 Use input/output threads for SSH client. 2013-05-17 20:53:16 -07:00
Michael Jumper
96edfad7c0 Add stub client thread. 2013-05-17 20:47:05 -07:00
Michael Jumper
0dbcdabe40 General naming cleanup. 2013-05-17 20:28:26 -07:00
Michael Jumper
ec845a812a Remove core SSH client code. Refactor message handler to handle pipe for STDOUT. Refactor key and clipboard handlers to handle pipe for STDIN. 2013-05-17 20:20:51 -07:00
Michael Jumper
9b0a210c12 Improve cursor rendering, ensure display not affected if cursor does not move. Repurpose unused "selected" attribute for marking the cursor. 2013-05-15 12:46:26 -07:00
Michael Jumper
b5e3c2e721 Clear with NULL character. Do not include NULLs in copied text. 2013-05-15 10:11:47 -07:00
Michael Jumper
d89453e342 Keep highlight displayed until text beneath highlight is touched (low-level logic is stubbed). 2013-05-14 13:26:22 -07:00
Michael Jumper
547966b63d Add missing newline before last line of copied text. Add Unicode support to copied text. 2013-05-06 12:18:56 -07:00
Michael Jumper
3d1ca93b3a Initial actual support for copying of text. 2013-05-06 11:06:21 -07:00
Michael Jumper
c29c43e056 Initial selection support. 2013-05-06 01:02:23 -07:00
Michael Jumper
356e3945e9 Unicode support. 2013-05-02 14:56:20 -07:00
Michael Jumper
8c81cae871 Initial screen resize support. 2013-05-01 16:54:29 -07:00
Michael Jumper
ca17560328 Limit display updates to visible area. 2013-04-30 00:20:21 -07:00
Michael Jumper
6092badb3b Handle display size properly, start out empty. 2013-04-26 14:14:19 -07:00
Michael Jumper
e1b45733a3 Remove old functions, implement display copies. 2013-04-26 10:36:02 -07:00
Michael Jumper
b64aaa72ee Partial restoration of display functionality. Modify get_row to expand row as necessary. 2013-04-26 02:29:30 -07:00
Michael Jumper
d3db89d3b9 Fix compile errors. Add logs to stubs. 2013-04-26 01:53:19 -07:00
Michael Jumper
bed877c2fe Add get_row function. 2013-04-25 12:10:01 -07:00
Michael Jumper
32e6a07f59 Rename delta to display. 2013-04-25 11:55:50 -07:00
Michael Jumper
396bba6ea3 Initial stab at rearchitecting - will not compile as is. Partial. 2013-04-25 11:54:00 -07:00
Michael Jumper
0dabb97f01 Initial selection support - does not yet affect clipboard, nor work properly when scrolled. 2013-04-15 01:22:05 -07:00
Michael Jumper
d3efaeee6e Add blank cursor. 2013-04-09 14:02:52 -07:00
Michael Jumper
21f109fdeb Migrate to cacheable cursors. 2013-04-09 13:54:23 -07:00
Michael Jumper
c20fe79ace Remove scroll logging, reset scroll upon typing. 2013-04-08 00:47:08 -07:00
Michael Jumper
342824914a Exclude simultaneous access to the terminal structure by the input and output threads. 2013-04-07 16:55:06 -07:00
Michael Jumper
43f42cbb4c Use pre-allocated scratch area, rather than constantly-reallocated scratch area. 2013-04-05 13:15:19 -07:00
Michael Jumper
84d45097d0 Simplify scrolling logic. 2013-04-05 11:31:46 -07:00
Michael Jumper
f7143be78b Initial scrollback implementation (missing buffer redraw and several necessary graphical ops). 2013-04-05 01:32:33 -07:00
Michael Jumper
8140a5cc3d Initial I-bar cursor. 2013-03-29 03:14:08 -07:00
Michael Jumper
c95c51a9c1 Clear with current attributes (not just background color), use real cursor (not layer). 2013-03-29 02:51:31 -07:00
Michael Jumper
95923b2752 Add terminal character buffer, update buffer with each operation. 2013-03-29 01:56:27 -07:00
Michael Jumper
38794ed94b Revert "Refactor delta to display."
This reverts commit 4b34bbbf3feb2c0053a64f978e9890824b2e8320.

Conflicts:
	src/ssh_handlers.c
2013-03-27 12:44:40 -07:00
Michael Jumper
c2e80bda81 Restore cursor redraw function. 2013-03-27 04:11:56 -07:00
Michael Jumper
f1844ec555 Revert "Remove cursor layer."
This reverts commit 16a77db63bcc1455b2ec3b9939f50a70b7e03c21.
2013-03-27 04:03:54 -07:00
Michael Jumper
2c78613821 Refactor delta to display. 2013-03-27 03:06:45 -07:00
Michael Jumper
17a4d141de Remove cursor layer. 2013-03-25 03:01:51 -07:00
Michael Jumper
a102ba4a86 Add set_rect, use it in clear. 2013-03-24 18:05:15 -07:00
Michael Jumper
96b12c7722 Replace drawing with calls to delta functions, document terminal functions. 2013-03-24 16:56:17 -07:00
Michael Jumper
10cac18b41 Implement delta alloc and free. 2013-03-23 17:43:35 -07:00
Michael Jumper
38907abc1e Move delta.* into terminal.* (interdependent). 2013-03-23 17:06:02 -07:00