Commit Graph

227 Commits

Author SHA1 Message Date
Michael Jumper
8a771d2cd9 Use guac_error appropriately. 2012-03-25 13:07:31 -07:00
Michael Jumper
b1cb271351 Fix memory leaks. 2012-03-22 10:27:57 -07:00
Michael Jumper
b41f925fed Finish base keymap. 2012-03-22 00:16:36 -07:00
Michael Jumper
d3c8377c26 Add remaining modifier strings, fix unshifted en-us mappings. 2012-03-21 23:45:37 -07:00
Michael Jumper
6443ffc0c2 Adding quotes around keymap in log message. 2012-03-21 12:35:20 -07:00
Michael Jumper
02bd90e4fb Moved non-printable keys into base keymap. 2012-03-21 12:34:21 -07:00
Michael Jumper
f5b4b0ca00 Add shift to keysyms that require it. 2012-03-21 10:53:13 -07:00
Michael Jumper
2eb1d05704 Major refactor of keymap - now using simple keysym description lists, which can be hierarchical, and are loaded at connect time into the client's static keymapping. 2012-03-21 10:45:40 -07:00
Michael Jumper
af4d4681e1 Removed Alt-code mapping, using convenient identity relationship between keysyms and Alt-codes instead. 2012-03-20 22:48:18 -07:00
Michael Jumper
52eddf515a Added translation for entirety of CP1252. 2012-03-20 22:11:50 -07:00
Michael Jumper
65ee5e86b4 Fix padding for comment-only lines. 2012-03-20 21:10:15 -07:00
Michael Jumper
c6b4967877 Add padding after NULLs for sake of formatting when Alt-codes are added. 2012-03-20 21:09:16 -07:00
Michael Jumper
f278bacfa0 Automatically release and re-press any active modifier keys before sending Alt-codes. 2012-03-20 21:06:18 -07:00
Michael Jumper
b9a1652049 Added keysym strings for alt and all modifiers. 2012-03-20 21:03:34 -07:00
Michael Jumper
7290c2fe89 Forgot to restore the increment of current keysym. 2012-03-20 20:10:22 -07:00
Michael Jumper
9f94d48c65 Automatically clear/set keysyms depending on original state for scancode prereqs. 2012-03-20 20:03:51 -07:00
Michael Jumper
1fc7a9a8cd Do not use addressof in lookup macro. Update keysym state in event handler. 2012-03-20 19:47:41 -07:00
Michael Jumper
d5c00f628c Add per-client keysym state mapping. 2012-03-20 19:43:40 -07:00
Michael Jumper
0b65bec8cc Rearrange into private key functions. 2012-03-20 19:26:23 -07:00
Michael Jumper
e347aad3dc Add keysym string to $ for testing. 2012-03-20 19:13:17 -07:00
Michael Jumper
29e479c845 Implement initial sending of keysym strings - beware this still does not track the current state of keysyms. 2012-03-20 18:57:35 -07:00
Michael Jumper
9030d675b7 Add function for sending Alt-codes. Send Alt-code if scancode undefined. Beware that the current status of Alt is ignored... if it's already pressed, it will be pressed again, and then released. 2012-03-20 16:39:00 -07:00
Michael Jumper
8d2f658bf7 Add scancodes for keypad numbers. 2012-03-20 16:38:02 -07:00
Michael Jumper
dcafe2cd46 Use const char* rather than static array. 2012-03-20 16:03:49 -07:00
Michael Jumper
1990269f99 Add Alt-code map. 2012-03-20 15:50:40 -07:00
Michael Jumper
705c8c037b Use new typedef. 2012-03-20 15:36:19 -07:00
Michael Jumper
a366c189c5 Simplified mapping and lookups, added required structuring for future selectable keymaps. 2012-03-20 15:33:08 -07:00
Michael Jumper
b984832687 Added alt-code mapping structures. 2012-03-20 14:18:48 -07:00
Michael Jumper
6eb3e6d297 Augmented keymap struct to support prerequisite keysyms. 2012-03-20 14:13:17 -07:00
Michael Jumper
acb573b965 Refactor supporting new instruction set. 2012-03-11 21:32:06 -07:00
Michael Jumper
01ad7ea86e Added Matt Hortman to list of contributors. 2012-03-08 08:12:48 -08:00
Matt Hortman
17c7561b3a added scancodes for Menu, Alt, and Super keys 2012-03-08 09:57:08 -05:00
Michael Jumper
d4a3b76015 Added missing brace... 2012-03-07 15:36:31 -08:00
Michael Jumper
ea26d99b44 Implement constant and copy/NOP raster operations without transfer. 2012-03-07 15:35:38 -08:00
Michael Jumper
7414b9cfc7 Add other raster operations (all having only src and dst). 2012-03-07 15:28:35 -08:00
Michael Jumper
4e04a670af Reformatted comments, fixed ticket #107 (background not being drawn). 2012-03-07 13:57:49 -08:00
Michael Jumper
76df678e75 Adding Matt Hortman to list of contributors. 2012-03-05 12:15:35 -08:00
Michael Jumper
a9330ad737 Fixed initializer. 2012-03-05 12:10:56 -08:00
Michael Jumper
c10d653607 Fixed whitespace, moved timeout declaration. 2012-03-05 12:10:03 -08:00
Matt Hortman
92b799bdad fixed color mapping in glyph_begindraw 2012-03-05 10:13:08 -05:00
Matt Hortman
1a196fb37d paint background in glyph_begindraw 2012-03-01 15:37:00 -05:00
Matt Hortman
0e2db03ade fix ROP mapping 2012-03-01 15:31:06 -05:00
Matt Hortman
e041afc835 get bitmap size from bounding box (not given width/height) 2012-03-01 15:27:25 -05:00
Matt Hortman
f85b3e4d05 pass port to FreeRDP settings 2012-02-28 15:42:58 -05:00
Matt Hortman
b0c3e77203 disable PATBLT order (since it's not implemented yet) 2012-02-28 15:40:45 -05:00
Matt Hortman
4c3bd35193 added timeout to select waiting on FreeRDP 2012-02-28 15:39:19 -05:00
Michael Jumper
b672cf4004 Use transfer, not copy. 2012-02-27 12:39:13 -08:00
Michael Jumper
28a6bada49 Move ROP3 translation code into function, use hex for constants, add comments. 2012-02-27 10:53:45 -08:00
Michael Jumper
5016e56bf1 Changed tabs to spaces, removed execute permissions from source. 2012-02-27 10:36:14 -08:00
Michael Jumper
13696d2c7c Merge remote branch 'matthortman/MBH' into raster 2012-02-27 10:34:51 -08:00
Michael Jumper
23918c6087 Bumped version number to 0.6.0. Added LICENSE to dist tarball. 2012-02-23 14:51:00 -08:00
Matt Hortman
201fdfd881 added raster operations 2012-02-23 15:38:17 -05:00
Matt Hortman
bf2fd7a996 change to build with latest FreeRDP 2012-02-23 14:37:23 -05:00
Matt Hortman
a647eca634 additional RDP parameters 2012-02-23 14:27:23 -05:00
Michael Jumper
0f593bb47f freerdp_color_convert is now freerdp_color_convert_var as of FreeRDP 1.0.1 release. 2012-02-23 10:01:41 -08:00
Michael Jumper
4f90feb8cf Implement DstBlt for ROP3==0 (blackness) 2012-02-17 13:57:27 -08:00
Michael Jumper
1fb9eead92 Free surface image buffer after use. 2012-02-17 10:04:00 -08:00
Michael Jumper
6fe448edf8 Cache and use pointers. 2012-02-16 14:46:08 -08:00
Michael Jumper
5af15f965c Added layer to pointer structure. 2012-02-16 14:32:23 -08:00
Michael Jumper
f0bf432541 Migrate to 0.6.0 libguac API. 2012-02-11 19:10:56 -08:00
Michael Jumper
64b65baee6 Implement scrblt. 2012-02-09 10:30:38 -08:00
Michael Jumper
1067effa70 Colorize glyphs. 2012-02-09 10:25:06 -08:00
Michael Jumper
d874058a8c Initial glyph support. 2012-02-09 10:09:14 -08:00
Michael Jumper
fd8b76b410 Fix image corruption (was using wrong buffer for surface). 2012-02-08 17:13:45 -08:00
Michael Jumper
a7b087f59c Send real client size. 2012-02-08 15:22:52 -08:00
Michael Jumper
72497211d9 Restored handling of ephemeral, fixed allocation of buffer in bitmap new. 2012-02-08 15:09:12 -08:00
Michael Jumper
1bb82d68f8 Implement SetBounds. 2012-02-08 14:16:05 -08:00
Michael Jumper
f7928c2574 Non-static clrconv, handle palette updates. 2012-02-08 12:32:27 -08:00
Michael Jumper
058c3cf55a Handle primary set surface, handle ephemeral buffers based on xfreerdp's handling. 2012-02-08 12:11:32 -08:00
Michael Jumper
c9fd83c77b Implemented set surface, removed unneeded debug logs. 2012-01-10 23:31:24 -08:00
Michael Jumper
6f059097cd Added BeginDraw and EndDraw stubs of glyph rendering. 2012-01-08 19:23:37 -08:00
Michael Jumper
d3302341e7 Add cache and bitmap decompress stub. 2012-01-08 15:18:31 -08:00
Michael Jumper
b138d3bfbc Removed handle_messages() debug lines. 2012-01-03 19:10:41 -08:00
Michael Jumper
8fe7443663 GDI stubs, working rect. 2012-01-03 19:09:33 -08:00
Michael Jumper
ff51f39436 More settings and debug logs. 2012-01-03 15:41:42 -08:00
Michael Jumper
408503084e Added glyph and pointer stubs. 2012-01-03 13:48:20 -08:00
Michael Jumper
091a51f6f5 Added prototypes and init for glyphs and pointers. 2012-01-03 13:39:59 -08:00
Michael Jumper
1042225ef5 Fixed usage of freerdp funcs (now return boolean), added debug logging. 2012-01-03 13:20:24 -08:00
Michael Jumper
04625d4492 Added free for bitmaps + stub for bitmap paint. 2012-01-03 13:04:50 -08:00
Michael Jumper
c1a9d84028 Add default no-auth, RDP encryption. 2012-01-03 01:05:21 -08:00
Michael Jumper
c39e00a129 Fixed handlers and segfaults. 2012-01-03 01:01:33 -08:00
Michael Jumper
54d815f258 Added missing .c file to Makefile.am, fix guac_handlers.c 2012-01-03 00:24:03 -08:00
Michael Jumper
bd14fe2dab Test for and use libfreerdp-codec. 2012-01-02 23:36:29 -08:00
Michael Jumper
149ea16a6f Init bitmap handlers, use xzalloc (part of libfreerdp-utils). 2012-01-02 23:31:13 -08:00
Michael Jumper
cf4d9b0c5e Defined guac_rdp_bitmap. 2012-01-02 18:25:04 -08:00
Michael Jumper
22d6231aeb Update constants in keymap to 1.0 2012-01-02 18:08:30 -08:00
Michael Jumper
f8ee9a0c2c Fixed typo in Makefile.am, removed non-existant include file. 2012-01-02 18:03:12 -08:00
Michael Jumper
cc66c86fdd Removed old handler functions. 2012-01-02 18:00:37 -08:00
Michael Jumper
dd9ea3cec5 Moved bitmap handler into own files. 2012-01-02 17:59:52 -08:00
Michael Jumper
5b020614bd Added incomplete but somewhat compliant bitmap-new function. 2012-01-02 16:34:59 -08:00
Michael Jumper
6a1994484c Refactored, removed functionality. Fixed most errors on compile. Will likely not actually work in current state. 2011-12-30 00:10:28 -08:00
Michael Jumper
e3c4c858d1 Updated README to point to new Trac. 2011-12-11 14:50:31 -08:00
Michael Jumper
a360430189 Bumped version number, migrated to new libguac API. 2011-11-26 15:47:11 -08:00
Michael Jumper
88d7b8ef70 Revert "Migrated to new location for default layer."
This reverts commit dd43edd7ae8d965483ff2c1b178a5e1d86dc1c52.
2011-10-25 17:29:11 -07:00
Michael Jumper
e9b20e37d3 Migrated to new location for default layer. 2011-10-23 23:34:53 -07:00
Michael Jumper
31268c3f6c Altered glyph drawing order. 2011-09-13 10:02:32 -07:00
Michael Jumper
bfdd7f325f Fixed keyboard event, added missing init. 2011-08-18 10:44:34 -07:00
Michael Jumper
eb613bd71e Restored missing functions (palette). 2011-08-17 12:31:20 -07:00
Michael Jumper
e1fb51f222 Minimal changes to work with FreeRDP 0.8.2 2011-08-15 19:31:53 -07:00
Michael Jumper
96fe9047dc Working mouse support. 2011-07-27 10:06:12 -07:00
Michael Jumper
afcb7a63e3 Fixed paint_bitmap (was not using cx,cy, leading to black rectangles), proper bpp calculations, using SRC instead of OVER for create_bitmap operations. 2011-07-26 13:40:00 -07:00
Michael Jumper
b32a2cce22 screenblt must always copy from default layer to target, not target to target 2011-07-26 13:01:34 -07:00
Michael Jumper
024a732c8d More keysyms, log unmapped keysyms. 2011-07-25 20:16:56 -07:00
Michael Jumper
ceb76aa744 Fixed flag passing 2011-07-25 15:55:39 -07:00
Michael Jumper
344b215554 Fixed mouse drag handling. 2011-07-25 14:57:40 -07:00
Michael Jumper
3e9bfbf79d Fixed arrow keys 2011-07-25 13:54:55 -07:00
Michael Jumper
2c09b070c0 Cleaned up keymap. 2011-07-25 13:37:09 -07:00
Michael Jumper
50c80a7685 Added flags to keymap. 2011-07-24 23:35:54 -07:00
Michael Jumper
1ecbf7bbef Fixed some scancodes 2011-07-24 01:05:10 -07:00
Michael Jumper
bd8c2f596f Added handling for keyboard events 2011-07-24 00:47:38 -07:00
Michael Jumper
ca34e0c536 Fixed stub, added rudimentary mouse support, support for clip, coloring of text. 2011-07-21 15:17:16 -07:00
Michael Jumper
d4fb4b0a32 Using composite operations to set foreground/background of glyph. 2011-07-21 01:40:44 -07:00
Michael Jumper
5781eb8764 Transparent glyphs. 2011-07-21 01:16:55 -07:00
Michael Jumper
b9727f9d56 Using rect instruction, initial partial-stub for glyphs and rendering 2011-07-21 00:28:35 -07:00
Michael Jumper
9b05cf5f67 Initial working drawing support for rect and bitmap 2011-07-20 16:15:32 -07:00
Michael Jumper
9032357965 Using new layer/buffer alloc/free for bitmap/glyph/surface create/destroy. 2011-07-20 12:48:11 -07:00
Michael Jumper
b4fb6d9198 Updated to latest freerdp, using guac_log_info for stubs, de-stubbed some handlers, now simulating allocation of bitmaps/glyphs/etc. 2011-07-20 08:44:14 -07:00
Michael Jumper
8f6ad5039b Moved headers into own dir. 2011-03-27 20:58:01 -07:00
Michael Jumper
a636a073f0 Moved struct, etc. into own header. 2011-03-27 20:56:14 -07:00
Michael Jumper
e79d34f974 Using cairo instead of libpng (as required by libguac), now handling RDP messages. 2011-03-27 19:04:05 -07:00
Michael Jumper
f3da13556b RDP handler stubs 2011-03-26 21:37:32 -07:00
Michael Jumper
9f49741013 Handler placeholders 2011-03-26 19:14:39 -07:00
Michael Jumper
c4734b6c23 Error handler, actual connection 2011-03-25 23:48:39 -07:00
Michael Jumper
5f6188ee25 Client data and free handler. 2011-03-25 22:59:39 -07:00
Michael Jumper
ff6d6fc404 Actual calls to freerdp functions 2011-03-25 22:49:48 -07:00
Michael Jumper
fb953b0892 Stub code and build files. 2011-03-25 21:58:46 -07:00
Michael Jumper
32d73ec5bd Initial commit. 2011-03-25 21:57:21 -07:00