Commit Graph

1583 Commits

Author SHA1 Message Date
Michael Jumper
859395022f Move palette functions into own files. 2012-04-01 21:49:15 -07:00
Michael Jumper
4974f5a082 Handle formats, basic palette mapping implementation. 2012-04-01 21:20:08 -07:00
Michael Jumper
3cae4f016f Use libpng for writing of PNGs (currently only works with RGB/RGBA surfaces, and only writes RGB) 2012-04-01 20:19:12 -07:00
Michael Jumper
bd864f3f8f Check for pngstruct.h 2012-04-01 19:25:33 -07:00
Michael Jumper
9118f593b3 Restore checks for libpng. 2012-04-01 19:22:26 -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
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
6373580830 Pull logging prefix from program name from argv[0] 2012-03-15 22:23:55 -07:00
Michael Jumper
a1397c53dc Changed non-errors to info. 2012-03-15 19:29:02 -07:00
Michael Jumper
ab061e1417 Remove unnecessary newline from log messages. 2012-03-15 19:25:46 -07:00
Michael Jumper
8ff25f503a Use args list only once. Probably better to use an intermediate buffer anyway. 2012-03-15 19:24:16 -07:00
Michael Jumper
86bc39b65a Use guacd_log_*() for all logging. Replace use of syslog. Only use fprintf() for usage information. 2012-03-15 19:11:51 -07:00
Michael Jumper
9f24a3f377 New logging functions which log to both syslog and STDERR. 2012-03-15 19:08:12 -07:00
Michael Jumper
1aa594bd8b __guac_fill_instructionbuf() should report errors. 2012-03-15 11:30:52 -07:00
Michael Jumper
eb73b52e69 Fix output of arc instruction. 2012-03-13 19:12:37 -07:00
Michael Jumper
b71eca8183 Add new negative parameter to arc. 2012-03-13 19:07:24 -07:00
Michael Jumper
a5fdb711c5 Fix documentation of log handlers. 2012-03-13 15:54:55 -07:00
Michael Jumper
82694ec45f Use new form of guac_client_plugin_get_client(). 2012-03-13 15:53:08 -07:00
Michael Jumper
7f293df34c Modify guac_client_plugin_get_client() to allow logging to be set up before guac_client_init is called (fixes ticket #85). 2012-03-13 15:45:22 -07:00
Michael Jumper
fa27d7b11e Added layer to set instruction. 2012-03-13 12:06:11 -07:00