Commit Graph

861 Commits

Author SHA1 Message Date
Marc-André Moreau
e569991ba8 libfreerdp-core: add support for loading server settings from registry 2012-07-24 20:46:21 -04:00
Marc-André Moreau
e4c920c946 Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-06-29 08:55:58 -04:00
Vic Lee
f76a50c53b libfreerdp-core/server: fix a corrupted memory access issue.
The peer context memory block should not be freed by the server
implementation because it still needs to be accessed after the
context free callback has been called. It should be the core's
responsibility to free it.
2012-06-28 14:53:43 +08:00
Vic Lee
8a47893eb2 server/audin: remove a debug message. 2012-06-28 14:45:39 +08:00
Vic Lee
596f04cd67 server: fix audio input buffer issue. 2012-06-28 13:16:03 +08:00
Vic Lee
a20f7b21ff server/test: integrate audio input testing. 2012-06-26 14:51:22 +08:00
Vic Lee
364166a672 server: add audio input server channel. 2012-06-26 14:49:39 +08:00
Marc-André Moreau
0c191bb315 libfreerdp-crypto: fix OpenSSL workarounds on client and server 2012-06-25 11:17:47 -04:00
Vic Lee
3fae14f2ef wtsvc: add server dvc creation and closure. 2012-06-25 16:41:59 +08:00
Marc-André Moreau
58d6e11b85 Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-06-15 10:38:18 -04:00
Marc-André Moreau
33d0d59306 wfreerdp-server: fix server-side TLS on Windows 2012-06-12 23:09:30 -04:00
Marc-André Moreau
209d44e843 wfreerdp-server: cleanup names 2012-06-10 22:52:01 -04:00
Marc-André Moreau
a43e5daebd wfreerdp-server: fix connection sequence 2012-06-10 21:41:17 -04:00
Marc-André Moreau
d72f235ffc wfreerdp-server: initial commit 2012-06-07 19:51:00 -04:00
Vic Lee
106b20cbb0 server/rdpsnd: add SetVolume support. 2012-05-29 22:22:38 +08:00
Vic Lee
3477f34479 server: support RefreshRect and SuppressOutput. 2012-05-26 21:34:09 +08:00
Marc-André Moreau
ae6f331570 Merge branch 'master' of github.com:FreeRDP/FreeRDP into winpr 2012-05-25 18:45:12 -04:00
Vic Lee
e50983fdff dsp: add MS ADPCM codec. 2012-05-24 23:09:30 +08:00
Vic Lee
052f841d7f server: add rdpsnd server channel library. 2012-05-24 14:03:21 +08:00
Vic Lee
ada9936a66 libfreerdp-core/server: add local flag for unix connection. 2012-05-22 23:10:52 +08:00
Vic Lee
f4c8ebf13f libfreerdp-core: add server unix domain socket. 2012-05-22 18:53:11 +08:00
Marc-André Moreau
a7a007bed8 libwinpr-sspi: start using server-side NLA by default 2012-05-20 20:36:57 -04:00
Vic Lee
4050944f6e server: implement frame acknowledge PDU. 2012-05-11 16:35:11 +08:00
Marc-André Moreau
85eaf79239 cunit: fix compilation 2012-05-05 20:45:13 -04:00
Vic Lee
3a407c24b8 server: implement user-initiated disconnection sequence on server. 2012-04-13 15:58:28 +08:00
Mads Kiilerich
d3b32f59c5 server: fix building without XTest 2012-03-29 01:10:58 +02:00
Marc-André Moreau
c71f5206aa Merge pull request #506 from llyzs/nsc
NSCodec encoder
2012-03-19 21:09:24 -07:00
Marc-André Moreau
4d665b116d xfreerdp-server: set TCP_NODELAY 2012-03-18 13:13:34 -04:00
Vic Lee
80ffbb878d nsc: add nsc encoder to test server. 2012-03-18 16:36:38 +08:00
Vic Lee
b74d324592 rfx: rename pixel format constants. 2012-03-13 19:02:19 +08:00
Marc-André Moreau
c208c5a899 libfreerdp-sspi: rename from libfreerdp-auth 2012-03-05 17:11:15 -05:00
Aaron Small
62d6f8f024 Test server requires RemoteFX, so make that explicit, instead of sending
out corrupt updates to clients that do not.
2012-03-04 18:01:31 -05:00
Marc-André Moreau
bb3ac48895 xfreerdp-server: disable NLA by default 2012-02-20 21:45:57 -05:00
Marc-André Moreau
e85bfb4fd4 libfreerdp-locale: refactoring of XKB-based detection 2012-02-19 20:24:06 -05:00
Marc-André Moreau
4af3ecd4cd libfreerdp-locale: refactoring step 1 2012-02-18 22:04:28 -05:00
Marc-André Moreau
61da01973d libfreerdp-locale: rename from libfreerdp-kbd, will contain all localization code 2012-02-17 17:43:00 -05:00
Marc-André Moreau
b8882a8ad2 libfreerdp-crypto: taking crypto code out of libfreerdp-core 2012-02-17 00:58:30 -05:00
Asbjørn Heid
774dac17df xfreerdp-server: Fixed screen capture using SHM extension. 2012-02-15 08:48:37 +01:00
Asbjørn Heid
151182cbc8 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-02-15 08:22:12 +01:00
Marc-André Moreau
4fe4cd35e3 libfreerdp-server: added server-side CredSSP stubs 2012-02-13 22:27:59 -05:00
Asbjørn Heid
2642bda7d1 xfreerdp-server: Fixed issue with high idle CPU usage.
The pipe used for signalling in the event queue was not properly
cleared when popping events, causing the select() in the main
loop to return immediately after the first event was queued,
instead of blocking for the next event.
2012-02-11 06:24:32 +01:00
Asbjørn Heid
772ca6f99d xfreerdp-server: Proper shutdown of helper threads when a client disconnects. 2012-02-11 00:09:00 +01: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
Vic Lee
8a2bfe6a03 server/test: add desktop resize test. 2011-09-06 17:19:59 +08:00
Marc-André Moreau
0c7abe3e57 server: replay RemoteFX session in original time 2011-08-31 20:56:17 -04:00
Vic Lee
9f98b55087 server/test: accept one argument to enable replay session. 2011-08-29 11:39:04 +08:00
Marc-André Moreau
5fd35f0402 libfreerdp-core: added --play-rfx option to play RemoteFX data from a file 2011-08-28 15:51:49 -04:00
Marc-André Moreau
53aa938683 libfreerdp-core: fix potential overflow in parsing of fragmented RemoteFX packets 2011-08-28 15:12:33 -04:00
Marc-André Moreau
9ed52746e6 libfreerdp-core: refactoring of fast-path updates 2011-08-28 13:36:56 -04:00
Marc-André Moreau
793de462fc server: improved replaying of RemoteFX data 2011-08-27 17:11:20 -04:00
Marc-André Moreau
25e761e58b libfreerdp-core: got the server to send some dumped RemoteFX frames 2011-08-26 21:44:37 -04:00
Vic Lee
27d403e01a server/test: add a pointer check. 2011-08-26 17:24:17 +08:00
Vic Lee
64cd43ab3b server/test: final updates to support mstsc. 2011-08-25 17:38:51 +08:00
Vic Lee
413824d134 server/test: add SIGPIPE handler. 2011-08-25 13:18:01 +08:00
Vic Lee
7731d28787 server/test: add background and icon. 2011-08-24 23:10:23 +08:00
Vic Lee
ebe94ce0b6 server/test: update the test server to show a background color. 2011-08-24 21:59:32 +08:00
Vic Lee
6ac8e3215d server: update test server settings. 2011-08-24 16:25:18 +08:00
Vic Lee
52b5aeda9d server: update test server to send the first RemoteFX frame. 2011-08-23 23:28:54 +08:00
Vic Lee
2d4f10038e server: process client input events. 2011-08-23 15:51:51 +08:00
Vic Lee
57ac9a59eb server: add input callbacks. 2011-08-23 11:52:35 +08:00
Vic Lee
ab7a53ea51 server: add PostConnect callback. 2011-08-23 11:52:34 +08:00
Vic Lee
0607a08b61 server: send MCS Connect Response PDU. 2011-08-19 23:56:47 +08:00
Vic Lee
10f8aab40b server: accept TLS connection from the client. 2011-08-19 13:35:29 +08:00
Vic Lee
8cced27d17 libfreerdp/peer: initial protocol negotiation. 2011-08-18 23:15:28 +08:00
Vic Lee
5fc87c25cf server: create initial server API. 2011-08-18 16:06:32 +08:00