Commit Graph

125 Commits

Author SHA1 Message Date
Michael Jumper
d3efaeee6e Add blank cursor. 2013-04-09 14:02:52 -07:00
Michael Jumper
a855af8608 Free cursors when done. 2013-04-09 13:58:55 -07:00
Michael Jumper
21f109fdeb Migrate to cacheable cursors. 2013-04-09 13:54:23 -07:00
Michael Jumper
f74c4b851d Implement CSI command 'X', clean up a bit. 2013-04-08 02:14:58 -07:00
Michael Jumper
c20fe79ace Remove scroll logging, reset scroll upon typing. 2013-04-08 00:47:08 -07:00
Michael Jumper
7897be9316 Check write location on rect operations (copy, etc.) 2013-04-08 00:14:25 -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
b8ec48d179 Offset by scroll amount. 2013-04-05 13:12:18 -07:00
Michael Jumper
77b427a2f0 Pull from buffer if row non-negative. 2013-04-05 12:54:59 -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
06fb3b5a2e Stub out scroll wheel handling. 2013-04-01 01:59:15 -07:00
Michael Jumper
320255ade1 Partially implement copy for buffers, add logging to simulate scrollback push. 2013-04-01 01:10:47 -07:00
Michael Jumper
bd45a8e5f6 Hotspot in middle, halve width of I-bar, clean up edges, shade. 2013-03-29 03:20:35 -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
fa0522503b Revert "Keep current character status updated."
This reverts commit 449637998c1fa4dfcddc1ed0a88562bb0a81d14a.
2013-03-27 12:43:21 -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
436387edae Keep current character status updated. 2013-03-27 03:49:40 -07:00
Michael Jumper
2c78613821 Refactor delta to display. 2013-03-27 03:06:45 -07:00
Michael Jumper
87c36ca2a5 Increate font size (needs to be arg). 2013-03-25 03:04:14 -07:00
Michael Jumper
17a4d141de Remove cursor layer. 2013-03-25 03:01:51 -07:00
Michael Jumper
7ea73559be Partial implementation of copy. 2013-03-25 02:56:59 -07:00
Michael Jumper
06fee87073 Unstub set_rect, properly handle reverse color in clear. 2013-03-25 02:32:23 -07:00
Michael Jumper
91bf5e7e3b Implement clear. 2013-03-25 01:54:44 -07:00
Michael Jumper
1408248282 Partial implementation of flush (set only). 2013-03-24 18:46:47 -07:00
Michael Jumper
3e21d1c3c7 Implement delta set. 2013-03-24 18:16:04 -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
73d1cb4285 Remove cursor redraw function. 2013-03-23 18:39:23 -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
Michael Jumper
b7af1d45f5 Initial conversion to new architecture, stub out deltas. 2013-03-19 22:48:43 -07:00
Michael Jumper
15a0e44474 Ensure m4/ directory is present. 2013-03-15 13:19:27 -07:00
Michael Jumper
80a56bc9fd Clean up code ... rename ssh_guac_terminal to guac_terminal (preparing for generic). 2013-03-06 01:54:14 -08:00
Michael Jumper
baa6d98724 Ignore unknown keys (fixes #162). 2012-12-16 17:51:49 -08:00
Michael Jumper
4d007e7e78 Automatically fit to screen. 2012-10-23 01:38:10 -07:00
Michael Jumper
3251976799 Convert to new instruction set. 2012-03-11 21:46:43 -07:00
Michael Jumper
5122386c81 Bumped version number to 0.6.0. Added LICENSE to dist tarball. 2012-02-23 14:49:45 -08:00
Michael Jumper
19564cd133 Move cursor layer rather than redraw. 2012-02-20 11:04:08 -08:00
Michael Jumper
cdae593fc5 Migrate to 0.6.0 libguac API. 2012-02-11 19:12:40 -08:00
James Muehlner
2ea9718167 removed debug lines 2012-01-03 09:09:50 -08:00
James Muehlner
e6a6780591 implemented clipboard paste and free handlers 2011-12-30 14:34:04 -08:00
Michael Jumper
4b0bbd8f4d Updated README to point to new Trac. 2011-12-11 14:51:05 -08:00
Michael Jumper
3515ec9021 Conversion to new libguac API. 2011-11-26 15:35:45 -08:00
Michael Jumper
ff8e245028 Using safe composite ops. 2011-09-06 00:01:37 -07:00
Michael Jumper
e7607b1e9b Ctrl button 2011-08-21 23:24:40 -07:00
Michael Jumper
7b09948842 Much faster drawing method (complete). 2011-08-18 18:09:20 -07:00
Michael Jumper
e5619531a6 Improved palette (more contrast). Started move to more efficient drawing. 2011-08-17 12:30:53 -07:00
Michael Jumper
31e8e8432a More CSI, moving to faster drawing technique. 2011-08-10 11:03:38 -07:00
Michael Jumper
52e14322a3 Handler for CSI P (delete characters at cursor) 2011-08-10 09:31:12 -07:00
Michael Jumper
f9d42c7182 Handle CSI M (delete lines) 2011-08-10 00:16:50 -07:00
Michael Jumper
15ae8d79a2 Using ssh_select (works) instead of channel_select (doesn't work). 2011-08-10 00:02:06 -07:00
Michael Jumper
f695f5c629 Support for downward scrolling and CSI operation L 2011-08-09 18:32:54 -07:00
Michael Jumper
d57bdb06e4 Added scrollback buffer storage. 2011-08-09 12:31:03 -07:00
Michael Jumper
93d93a64eb More CSI, scroll region 2011-08-05 22:59:42 -07:00
Michael Jumper
9de0e18d11 More CSI handlers. 2011-08-05 17:09:44 -07:00
Michael Jumper
57bb593ea8 Only scroll when DISPLAYING a character. 2011-08-05 14:46:35 -07:00
Michael Jumper
adb59fe341 Proper handling of cursor reset. Clear argv[] when done. 2011-08-05 14:39:11 -07:00
Michael Jumper
8892c018e0 Handle bold, underscore. Proper handling of reverse video (should not be in *_set()) 2011-08-05 14:30:10 -07:00
Michael Jumper
e0f38ded99 Reverse video 2011-08-05 13:49:47 -07:00
Michael Jumper
18cdf2808d Working colors in CSI 2011-08-05 12:41:21 -07:00
Michael Jumper
5f59ccf5c1 Color palette 2011-08-05 12:14:15 -07:00
Michael Jumper
fc1683da30 Removed unnecessary includes from term handlers. 2011-08-05 00:22:26 -07:00
Michael Jumper
638776e700 Added more abstract terminal functions, refactored away use of guac_send_* in terminial handlers, simplified code. 2011-08-05 00:20:09 -07:00
Michael Jumper
f2732acc5a Switching to per-state static variables rather than per-terminal instance variables (states need not be thread safe) 2011-08-04 19:36:04 -07:00
Michael Jumper
e3d1a3f023 Switching to handler functions rather than state values. 2011-08-04 19:17:44 -07:00
Michael Jumper
974aa93e90 Moved terminal code into ssh-independent implementation, separated handlers from client auth and init. 2011-08-04 11:46:21 -07:00
Michael Jumper
4f7c8c98e7 Actual SSH connection and terminal emulation (testing) 2011-08-01 13:31:48 -07:00
Michael Jumper
69dbead349 Pango + working print() function 2011-07-31 20:51:19 -07:00
Michael Jumper
0195a6ad1c Initial commit (stubs) 2011-07-30 15:12:28 -07:00