Commit Graph

2149 Commits

Author SHA1 Message Date
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
ecec3a1099 Fix size of palette hash table (should be 0x1000, not 0xFFF), don't free palette until AFTER done... 2012-04-02 13:27:28 -07:00
Michael Jumper
71de5606bf Should not install palette.h 2012-04-01 23:27:57 -07:00
Michael Jumper
d2523c062c Restore Cairo PNG support. 2012-04-01 23:16:58 -07:00
Michael Jumper
b4ad24ccd6 Use appropriate BPP and packing. 2012-04-01 23:10:52 -07:00
Michael Jumper
d300688a5b Fix palette find. 2012-04-01 23:01:53 -07:00
Michael Jumper
e8833857b9 Removed debug fprintf. 2012-04-01 22:37:25 -07:00
Michael Jumper
ec652af924 Store palette in libpng format, add PLTE section. 2012-04-01 22:36:55 -07:00
Michael Jumper
969f96f1b7 Use libpng if palette possible, otherwise use Cairo (stub). 2012-04-01 22:28:45 -07:00
Michael Jumper
1489ae902d Store sequential array of colors in palette. 2012-04-01 22:06:34 -07:00
Michael Jumper
314e8c9222 Add palette find function. 2012-04-01 21:57:19 -07:00
Michael Jumper
e22323c4d9 Function rename + palette alloc test. 2012-04-01 21:54:03 -07:00
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