Commit Graph

206 Commits

Author SHA1 Message Date
Michael Jumper
bb5f4d61d9 Undef not needed as define is within .c, not header. 2012-05-17 11:57:54 -07:00
Michael Jumper
2807b6dea9 Using embedded bitmap rather than raster-drawn cursor. 2012-05-17 00:48:05 -07:00
Michael Jumper
d7c5ec5ed0 Implement default pointer (currently drawn with draw instructions - not an embedded bitmap). 2012-05-16 19:52:43 -07:00
Michael Jumper
2056ab9619 Log when no equivalence between keysym and Unicode. Remove debug log. 2012-05-16 10:29:43 -07:00
Michael Jumper
13415ebcdb Remove now unused altcode function. 2012-05-16 01:33:34 -07:00
Michael Jumper
6da3c29606 Use direct translation between keysym and Unicode, rather than table (see http://www.x.org/wiki/KeySyms, same translation used from Unicode to keysym by the Guacmole JS client). Remove related files. 2012-05-16 01:26:18 -07:00
Michael Jumper
8a8924dc7d Check for freerdp/locale/keyboard.h before using it, default to old freerdp/kbd/layouts.h if missing. 2012-05-16 00:40:07 -07:00
Jocelyn DELALANDE
156422c473 licensing fix
Signed-off-by: Michael Jumper <zhangmaike@users.sourceforge.net>
2012-05-15 14:41:28 -07:00
Jocelyn DELALANDE
bf15e05cb8 cosmetic and comments for guacamole integration
Signed-off-by: Michael Jumper <zhangmaike@users.sourceforge.net>
2012-05-15 14:41:28 -07:00
Jocelyn DELALANDE
8978181316 fixed include path for freerdp >= 1.0
Signed-off-by: Michael Jumper <zhangmaike@users.sourceforge.net>
2012-05-15 14:41:28 -07:00
Jocelyn DELALANDE
7736e8f7aa Added support for all keysyms, even over 0xFFFF
Signed-off-by: Michael Jumper <zhangmaike@users.sourceforge.net>
2012-05-15 14:41:28 -07:00
Jocelyn DELALANDE
4d0ed19243 First working implementation with special characters handled by unicodekeyboardevents.
Signed-off-by: Michael Jumper <zhangmaike@users.sourceforge.net>
2012-05-15 14:41:28 -07:00
Jocelyn DELALANDE
12d7353fb7 Added keysym to unicode translation mechanisms.
Signed-off-by: Michael Jumper <zhangmaike@users.sourceforge.net>
2012-05-15 14:41:28 -07:00
Michael Jumper
ed5e57ae71 Fix leaks - free clipboard and glyph surfaces. 2012-05-04 13:37:32 -07:00
Michael Jumper
325e4dfdb1 Style corrections, add domain parameter. 2012-05-04 01:11:07 -07:00
Michael Jumper
cb28ced171 Embed RDP keyboard layout within keymap (see ticket #126). 2012-05-01 09:09:39 -07:00
Michael Jumper
71b1a2e0cc Free clipboard data properly. 2012-04-29 23:33:27 -07:00
Michael Jumper
11303e0813 Write support in clipboard. 2012-04-29 23:28:29 -07:00
Michael Jumper
61ee76bf16 Store clipboard data in client data. 2012-04-29 23:12:58 -07:00
Michael Jumper
f57e4f05ab Read support for clipboard. 2012-04-29 23:09:00 -07:00
Michael Jumper
e691bfb51b Merge branch 'unstable' into clipboard 2012-04-12 01:19:56 -07:00
Michael Jumper
79d388e0ec Fix boundary overflow. 2012-04-10 21:40:05 -07:00
Michael Jumper
e659fca922 Only cache within memblt if not already cached. 2012-04-10 16:25:05 -07:00
Michael Jumper
82c2594320 Implement deferred cache via memblt. 2012-04-10 14:23:37 -07:00
Michael Jumper
8d9a0211d3 Defer caching. 2012-04-10 13:21:13 -07:00
Michael Jumper
4de910748d Fix artifacts. 2012-04-10 11:51:46 -07:00
Michael Jumper
18a1996f6b Allocate buffers conservatively. 2012-04-10 11:04:38 -07:00
Michael Jumper
7211513001 Fix color order regression. 2012-04-05 23:03:19 -07:00
Michael Jumper
a0cdb35b3b Fix transparent glyphs 2012-04-05 22:55:46 -07:00
Michael Jumper
6781338aaa Working glyph rendering (except for transparent text) 2012-04-05 22:38:10 -07:00
Michael Jumper
6659af55c2 Render all glyphs server-side. 2012-04-05 16:45:04 -07:00
Michael Jumper
ec66c2b1b6 Implement EndPaint. 2012-04-03 17:58:31 -07:00
Michael Jumper
e75e6bbb53 Only cache bitmap on client if not ephemeral. 2012-04-03 14:03:52 -07:00
Michael Jumper
4710994bc3 Do NOT flush the socket after EVERY GLYPH! 2012-04-03 11:19:37 -07:00
Michael Jumper
a3d07903fc Added clipboard event stubs. 2012-03-30 11:26:52 -07:00
Michael Jumper
583273994e Send name after connect. 2012-03-25 21:49:58 -07:00
Michael Jumper
59a32064d4 Handle RDP disconnect. 2012-03-25 21:46:20 -07:00
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
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
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
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