Commit Graph

252 Commits

Author SHA1 Message Date
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
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
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
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
Michael Jumper
7328ee303f Embed format information along with default cursor image data. Refactor default cursor set function out of rdp_pointer.h and into default_pointer.h. Add documentation. 2012-05-17 13:04:38 -07:00
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
c667219fe7 Added missing noinst_HEADERS 2012-05-05 13:30:23 -07:00
Michael Jumper
7bafe4af2e Update ChangeLog 2012-05-04 15:43:26 -07:00
Michael Jumper
a5cc062a78 Update AUTHORS. 2012-05-04 15:42:35 -07:00
Michael Jumper
21d4ca5b2c Final comments. 2012-05-04 15:41:08 -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