Commit Graph

515 Commits

Author SHA1 Message Date
Michael Jumper
c29c43e056 Initial selection support. 2013-05-06 01:02:23 -07:00
Michael Jumper
cb21322745 Fix wrong location value for collisions. 2013-05-03 12:45:15 -07:00
Michael Jumper
95810fbb76 Clear glyph region before sending PNG. 2013-05-03 12:10:38 -07:00
Michael Jumper
5df2f66fae Remove FIXME status. 2013-05-03 11:53:06 -07:00
Michael Jumper
857498fc19 Fix buffer copy_rows logic. 2013-05-03 11:49:08 -07:00
Michael Jumper
3a32e7084c Implement more console codes and reverse linefeed, de-stub buffer functions. 2013-05-03 02:50:05 -07:00
Michael Jumper
edc4c223bb Restore scroll down. 2013-05-02 22:50:33 -07:00
Michael Jumper
5e51f361ee Fix unicode support (wrong lengths). 2013-05-02 15:06:21 -07:00
Michael Jumper
356e3945e9 Unicode support. 2013-05-02 14:56:20 -07:00
Michael Jumper
de5b945f73 Redraw from buffer as necessary during resize (finish resize support). 2013-05-02 12:35:20 -07:00
Michael Jumper
ac52c8fb64 Proper handling of new rows and removed rows. 2013-05-02 03:18:10 -07:00
Michael Jumper
22ee486019 Remove more FIXME and STUB status. 2013-05-02 01:28:31 -07:00
Michael Jumper
ed777d0a76 Remove stub status - no longer stubs. 2013-05-02 01:22:50 -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
1af2aa2f03 Probably about time the title changed from SSH TEST. 2013-04-28 01:33:42 -07:00
Michael Jumper
0c99978160 Fix handling of length in buffer. 2013-04-28 01:28:49 -07:00
Michael Jumper
3a50c9572d Clear cells when resizing or scrolling. 2013-04-26 14:52:51 -07:00
Michael Jumper
6092badb3b Handle display size properly, start out empty. 2013-04-26 14:14:19 -07:00
Michael Jumper
dd4862f59a Implement basic terminal scroll. 2013-04-26 10:55:55 -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
cb4abb9115 Assume UTF-8 for incoming bytes. 2013-04-15 15:24:21 -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
2eeb9263c5 Start with blank pointer, show pointer when moving mouse, hide pointer when typing. 2013-04-09 14:09:41 -07:00
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
3e4199f90a Add missing AUTHORS (apologies to Alex DEVELY for mispelling his last name in his commit), clean up German keymap. 2013-03-29 22:04:46 -07:00
Michael Jumper
80f0b7e1e1 Remove Unicode translation warnings, as the functionality is intentional. 2013-03-29 18:27:27 -07:00
Michael Jumper
1ce5e85939 Rename "layout" to "server-layout" to help reduce confusion. 2013-03-29 13:34:45 -07:00
Michael Jumper
6bf9a0a9e0 Fix comments. 2013-03-29 13:19:25 -07:00
Michael Jumper
7ba047f5a8 Add French and German keymaps to build, add failsafe keymap, parse layout parameter, cleanup contributed keymaps, add missing declarations. 2013-03-29 13:08:14 -07:00
Michael Jumper
b6effd3d4f Merge branch 'french-keymap' into more-keymaps 2013-03-29 12:46:52 -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
b736f13d32 Merge keymap source provided by Trac use on #141. 2013-03-26 13:22:56 -07:00
Michael Jumper
9b00ce9f28 German keyboard stub. 2013-03-26 13:19:40 -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
Alexandre Duvaly
e6414039a3 Added French keymap (not yet used). 2013-03-23 01:43:16 -07:00
Michael Jumper
b7af1d45f5 Initial conversion to new architecture, stub out deltas. 2013-03-19 22:48:43 -07:00
Michael Jumper
e8d8d60485 Bump version. 2013-03-17 22:05:16 -07:00
Michael Jumper
15a0e44474 Ensure m4/ directory is present. 2013-03-15 13:19:27 -07:00
James Muehlner
83d8630f84 Ticket #255: Changed input param of convert() to const char*. 2013-03-10 16:38:56 -07:00
James Muehlner
b1c13e1fa6 Ticket #255: Added comments about the functionality of convert() 2013-03-09 15:56:01 -08:00
James Muehlner
0494fba58f Ticket #255: Replaced tabs with spaces. 2013-03-09 15:39:15 -08:00
James Muehlner
5a1266abbc Ticket #255: Now converting ascii->utf8 when recieving clipboard text from vnc, and converting utf8->ascii when sending clipboard text to vnc. This should fix the tunnel disconnecting problem. 2013-03-08 21:47:02 -08: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
808b8ed405 Bump version number. 2013-02-09 17:55:40 -08:00
Michael Jumper
db4a1ed85e Update AUTHORS and ChangeLog. 2013-02-09 17:51:52 -08:00
Michael Jumper
7fbd425610 Fix formatting issues introduced through previous commit (cf630f). 2013-02-09 16:46:29 -08:00
Saul Gio Perez
50ed651c1f Implement #272. 2013-02-09 16:39:31 -08:00
Michael Jumper
9faf4b0bf2 Ensure width is divisible by 4 (fixes #262) 2013-01-23 01:34:51 -08:00
Michael Jumper
40954430dc Use enum to determine arg length. 2013-01-15 20:57:45 -08:00
Michael Jumper
89fa8f1680 Fixed strcmp() logic around console and console-audio parameters. 2012-12-26 15:29:54 -08:00
Michael Jumper
411c21adbc Fix AUTHORS. 2012-12-25 20:50:35 -08:00
Michael Jumper
e675088842 Update email addresses. 2012-12-25 20:49:57 -08:00
Michael Jumper
0bff3ac8d1 Bump version number. 2012-12-25 19:36:40 -08:00
Michael Jumper
00401147ba Implement console arguments (fixes #227) 2012-12-25 19:36:19 -08:00
Michael Jumper
baa6d98724 Ignore unknown keys (fixes #162). 2012-12-16 17:51:49 -08:00
Michael Jumper
7a2a9a3e64 Update changelog, bump version. 2012-12-13 16:12:47 -08:00
Michael Jumper
e0a08b5461 Ignore ROP, assume invert unless ROP an easy operation. 2012-12-13 15:01:11 -08:00
Michael Jumper
e0f4ed892b Implement PAT ops. 2012-12-13 14:56:45 -08:00
Michael Jumper
cf71ae25a0 Implement PATBLT fallback (pay attention to ROP, ignore brush). Fixes #238. 2012-12-13 14:35:00 -08:00
Michael Jumper
bd4a440957 Add config.h hackery header to distributed headers. 2012-12-02 01:14:02 -08:00
Michael Jumper
e5decbed9e Bump version. 2012-12-01 13:08:26 -08:00
Michael Jumper
58a0422008 Bump version nuber representing compatibility. 2012-12-01 13:04:54 -08:00
Michael Jumper
51c11ca572 Fix threading issues with FreeRDP. 2012-11-27 10:51:26 -08:00
Michael Jumper
b606aa2f7b Update ChangeLog 2012-11-22 19:10:10 -08:00
Michael Jumper
dceda44d67 Add disable-audio option. 2012-11-22 19:07:03 -08:00
Michael Jumper
0459299569 Rearrange test for libvorbis. 2012-11-22 18:55:11 -08:00
Michael Jumper
9e9ecca022 Make vorbis support conditional. 2012-11-22 18:42:27 -08:00
Michael Jumper
6e3f04536b Completely rewrite guac_rdpsnd based on knowledge gained from inspection and modification of the FreeRDP rdpsnd plugin (plus reading MS docs), update license. 2012-11-02 03:14:25 -07:00
Michael Jumper
fccec2e5e4 Use double for calculating duration. 2012-11-02 00:21:59 -07:00
Michael Jumper
19de4b2187 Fix comments. 2012-11-01 14:29:25 -07:00
Michael Jumper
3163825568 Add check+load for wav encoder. 2012-11-01 14:26:36 -07:00
Michael Jumper
c1a4951363 Implement wav encoder. 2012-11-01 14:25:34 -07:00
Michael Jumper
ef0eace8c5 Remove hard-coded mimetype. 2012-11-01 12:55:00 -07:00
Michael Jumper
8f1b86586a Add RDP message lock. 2012-10-31 21:52:16 -07:00
Michael Jumper
c5e4dcabf2 Remove hard-coded values. 2012-10-31 17:44:23 -07:00
Michael Jumper
9207d7c89e Lock output with mutex (otherwise, instructions collide and break the stream). 2012-10-31 01:05:43 -07:00
Michael Jumper
cf16398927 Fix bytes-written calculation. 2012-10-29 23:11:33 -07:00
Michael Jumper
5886074bc0 Fix conversion. 2012-10-29 13:47:55 -07:00
Michael Jumper
face237d8d Actually output sound. 2012-10-29 12:48:33 -07:00
Michael Jumper
e14265ab46 Implement part of vorbis encoder. 2012-10-29 11:53:08 -07:00
Michael Jumper
5ea7f5589d Check for libvorbisenc. 2012-10-29 11:26:38 -07:00
Michael Jumper
65752f689c Actually send audio messages. 2012-10-29 11:12:49 -07:00
Michael Jumper
4daa2123ba Add encoded data to audio_stream. 2012-10-29 10:56:13 -07:00
Michael Jumper
7346817669 Refactored audio API. 2012-10-29 10:51:56 -07:00
Michael Jumper
bcde14d270 Fix realloc, add convenience buffer to audio stream. 2012-10-28 01:14:19 -07:00
Michael Jumper
0114621de3 Set client in audio_stream. 2012-10-28 00:33:58 -07:00
Michael Jumper
2960331884 Pass stream to guac_rdpsnd. 2012-10-28 00:23:44 -07:00
Michael Jumper
f417f37f5f Add audio encoding API. 2012-10-27 20:52:48 -07:00
Michael Jumper
a1ed00728c Regroup source. 2012-10-27 20:03:18 -07:00
Michael Jumper
c440cd21a0 Removed useless Makefile.am 2012-10-27 19:50:20 -07:00
Michael Jumper
41b4a30042 Added client parameter. 2012-10-27 19:46:07 -07:00
Michael Jumper
45e083985e Add guac_rdpsnd freerdp plugin. 2012-10-27 18:36:21 -07:00
Michael Jumper
4d007e7e78 Automatically fit to screen. 2012-10-23 01:38:10 -07:00
Michael Jumper
a5142f4e38 Updated ChangeLog 2012-10-22 15:50:26 -07:00
Michael Jumper
4758595e23 Use width/height from client if not specified in args. 2012-10-22 15:02:58 -07:00
Michael Jumper
7c96d13d0d Fix includes. 2012-10-20 21:05:36 -07:00
Michael Jumper
db373e876b Update ChangeLog, bump version. 2012-10-15 10:33:50 -07:00
Michael Jumper
f6764487c8 Update ChangeLog, bump version. 2012-10-15 10:29:30 -07:00
Michael Jumper
94c8076f5c Add Laurent Meunier as contributor. 2012-10-02 14:11:39 -07:00
Michael Jumper
3fd9323a94 Add macros for constants, clean up validation. 2012-10-02 14:09:57 -07:00
Michael Jumper
99ec71dcde Fix comment formatting. 2012-09-27 22:04:33 -07:00
Laurent Meunier
c45ff69dca Use the configured color-depth
The 'color-depth' parameter is now used to define the color depth for
the RDP session.
2012-09-27 21:38:04 -07:00
Michael Jumper
734cfb4217 Ensure m4/ directory exists, while automatically-added files are not included in commits. 2012-08-11 13:25:32 -07:00
Michael Jumper
5ec7f6970d Ensure m4/ directory exists, while automatically-added files are not included in commits. 2012-08-11 13:24:06 -07:00
Michael Jumper
5128165cd1 Updated changelog. 2012-06-09 21:16:30 -07:00
Michael Jumper
a775ab8d77 Bumping version to 0.6.1 2012-06-09 20:37:49 -07:00
Michael Jumper
31a5c8b486 Marking default/null handlers as stubs. 2012-06-09 20:36:34 -07:00
Michael Jumper
36def67dfd Test for SetDefault and SetNull before using them (not present in FreeRDP 1.0.1), fix naming conflict with default pointer setting functions. 2012-05-25 00:21:00 -07:00
Michael Jumper
e710287196 Fixed license list of contributors. 2012-05-25 00:02:35 -07:00
David PHAM-VAN
4239a4e690 Add SetNull and SetDefault functions to pointer managment to avoyd segfault with windows 2008r2
Signed-off-by: Michael Jumper <zhangmaike@users.sourceforge.net>
2012-05-25 00:00:37 -07:00
Michael Jumper
9549a19ab5 Do not init username with default static string - cannot be free'd later (see ticket #137) 2012-05-17 22:51:57 -07:00