Commit Graph

72 Commits

Author SHA1 Message Date
hardening 32cb59df28 Register a RDP key file to have RDP security functionnal 2013-02-26 22:30:15 +01:00
hardening 11c46d804d Fixed more function declarations that aren't prototypes 2013-02-14 21:49:58 +01:00
Asbjørn Heid 8139fdb392 xfreerdp-server: Fixed deadlock issue in event queue.
Writing to the pipe may block if the pipe is full. Holding the mutex while writing prevents listeners from
aquiring the mutex and unblocking the write. This leads to a deadlock situation.
2012-03-25 06:55:47 -05:00
Marc-André Moreau 0975c0f07e libfreerdp-core: improve error checking in certificate validation 2012-02-07 22:16:57 -05:00
Pawel Jakub Dawidek 1fa1331a54 Modify the UnicodeKeyboardEvent callback to also include flags argument.
According to the specification first two bytes contain keyboardFlags.
Those keyboardFlags are a bit different than in the regular (non-unicode)
Keyboard Event. There is no KBD_FLAGS_EXTENDED here and also when
key is pressed there is neither KBD_FLAGS_DOWN nor KBD_FLAGS_RELEASE flag
set. When key is released the KBD_FLAGS_RELEASE flag is set.
2012-02-07 12:22:01 +01:00
Marc-André Moreau 66cd849229 xfreerdp-server: improve XShm encoding 2012-02-04 18:18:46 -05:00
Marc-André Moreau 0c7703d293 xfreerdp-server: adjust capture settings for better performance 2012-02-01 22:40:36 -05:00
Marc-André Moreau abad646414 xfreerdp-server: control frame rate per second 2012-02-01 22:05:01 -05:00
Marc-André Moreau ca8b92a247 xfreerdp-server: added frame tick event 2012-02-01 21:37:01 -05:00
Marc-André Moreau 5ee606cf10 xfreerdp-server: optimize screen region encoding 2012-01-31 21:05:47 -05:00
Marc-André Moreau cfd54a4e38 xfreerdp-server: fix event queuing 2012-01-31 16:28:23 -05:00
Marc-André Moreau 636f9fa402 xfreerdp-server: fix memory leak for snapshots 2012-01-31 14:09:55 -05:00
Marc-André Moreau 589e9e1142 xfreerdp-server: add event queue 2012-01-30 22:46:02 -05:00
Marc-André Moreau 5356e5a44e xfreerdp-server: adding xf_event.c and xf_input.c, refactoring 2012-01-30 21:35:15 -05:00
Marc-André Moreau 603e600bdb xfreerdp-server: add better path detection support for finding server keys 2012-01-30 20:35:33 -05:00
Bernhard Miklautz 668c8c8cef build: use WITH_XXX instead of XXX_FOUND
To check if something should be en- or disabled WITH_XXX
should be used and not XXX_FOUND.

If XXX_FOUND is used and something gets disabled afterwards (by setting
WITH_XXX to OFF) it will be compiled in as long as XXX_FOUND is found in
cmake's cache file. So disabling a feature, or option, without
clearing the CMakeCache.txt might result in builds with unwanted
configuration.
2012-01-23 14:40:05 +01:00
Marc-André Moreau c3186a9281 xfreerdp-server: start work on XShm 2012-01-09 22:08:25 -05:00
Marc-André Moreau 20cacf5f29 xfreerdp-server: added support for mouse wheel events 2012-01-08 21:22:50 -05:00
Marc-André Moreau 843ab55223 xfreerdp-server: add server-side keyboard mapping 2012-01-08 20:32:50 -05:00
Marc-André Moreau b20e76f7e4 xfreerdp-server: basic mouse input 2012-01-07 21:57:42 -05:00
Marc-André Moreau a3459eeb5b xfreerdp-server: improved RemoteFX encoding 2012-01-07 21:36:12 -05:00
Marc-André Moreau 95206bc7a1 xfreerdp-server: send updated regions using xdamage 2012-01-03 01:56:08 -05:00
Marc-André Moreau 9ef0995fda xfreerdp-server: add missing FindXfixes.cmake 2012-01-02 23:13:54 -05:00
Marc-André Moreau 3a8c439837 xfreerdp-server: xdamage initialization 2012-01-02 22:33:35 -05:00
Vic Lee 0975b4555c libfreerdp-core: move os type settings to the client.
Moving the osMajorType and osMinorType settings to the client so that the
client can set a real os type constant. This will give a more useful hint
to the server.
2011-12-24 15:48:33 +08:00
Marc-André Moreau 0ed4709167 libfreerdp-core: add server-side capabilities callback 2011-12-14 15:08:09 -05:00
Vic Lee fd806cfdd2 server/test: add debug channel thread for channel testing. 2011-12-12 22:37:48 +08:00
Vic Lee 228ebb83cd wtsvc: implement channel writing. 2011-12-12 18:16:49 +08:00
Vic Lee b1ee431a3e wtsvc: implement channel open/close. 2011-12-12 16:23:42 +08:00
Bernhard Miklautz 3dd19782fe xfreerdp-server: fix compilation when xdamage is disabled 2011-12-05 15:31:16 +01:00
Marc-André Moreau 587cc8eaaf update: move secondary drawing orders to sub-interface 2011-11-21 19:41:49 -05:00
Marc-André Moreau a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
Marc-André Moreau 99a89bfcad xfreerdp-server: resize to server session resolution 2011-11-07 17:20:00 -05:00
Vic Lee 4b6dd6f14d server: follow context_size change. 2011-10-30 13:43:04 +08:00
Vic Lee 19f818a089 rfx: add rfx_context_set_cpu_opt() APi to replace passing rdpSettings. 2011-10-29 22:01:50 +08:00
Alan Pearson 66126377fe Add sys/signal.h to header list. 2011-10-27 10:50:09 -07:00
Alan Pearson ca7fdb870b More compilation warning cleanup: header file reorganization, include <sys/select.h> or <unistd.h> to define select where it is used. 2011-10-27 10:41:39 -07:00
Anthony Tong ce59c2226f cmake/sse2: initial sse2 detect 2011-10-25 00:32:06 -05:00
Norbert Federa 12245abfc8 pcap: fix several segfaults with NULL pcap file handle
- pcap_open did not return NULL if fopen failed
- libfreerdp-core, tfreerdp-serer and xfreerdp-server did not check the pcap_open result
- also fixed the sleep calculation in the xfreerdp-server
2011-10-20 14:25:25 +02:00
Norbert Federa ff3fef9490 pcap: fix timstamps to use gettimeofday
pcap used utils/stopwatch to save a record's timestamp which is not suitable because stopwatch measures cpu time and not the wall-clock time
also fixed the sleep calculation in the tfreerdp test server
2011-10-18 18:36:34 +02:00
Vic Lee 296d5ea753 server: use rdpContext for server-side components. 2011-10-18 15:10:12 +08:00
Marc-André Moreau 0401f7c17e libfreerdp-codec: merge with libfreerdp-nsc 2011-10-02 20:52:17 -04:00
Marc-André Moreau 3297db7062 libfreerdp-codec: merge with libfreerdp-rfx 2011-10-02 20:28:20 -04:00
Marc-André Moreau 8a52695ed0 xfreerdp-server: improve RemoteFX pcap replay timing 2011-09-30 19:22:22 -04:00
Marc-André Moreau 95c2aede06 tfreerdp-server: fix compilation on Mac OS X 2011-09-15 17:39:23 -04:00
Marc-André Moreau 882f6d49a6 xfreerdp-server: encode larger portion of the screen 2011-09-13 20:35:22 -04:00
Marc-André Moreau 5c25717eae xfreerdp-server: encode a single tile from X11 at a hardcoded position 2011-09-13 19:03:06 -04:00
Marc-André Moreau a08908c602 xfreerdp-server: initial commit 2011-09-13 16:30:16 -04:00
Marc-André Moreau 2c80d2c3a5 tfreerdp-server: cleanup 2011-09-13 15:53:28 -04:00
Vic Lee 906a600f63 server/test: update demo server to correctly handle reactivation. 2011-09-06 18:55:11 +08:00