Commit Graph

94 Commits

Author SHA1 Message Date
Armin Novak
e8bfa29bd2 Replaced registry keys with cmake defines. 2015-06-24 14:02:48 +02:00
Bernhard Miklautz
06502e6a91 misc: integrate pull request feedback 2015-06-22 19:24:30 +02:00
Bernhard Miklautz
bf73f4e4f1 Fix unchecked strdups
* add missing checks
* adapt function return values where necessary
* add initial test for settings
2015-06-22 19:09:59 +02:00
Norbert Federa
25fc866a58 Fix unchecked CreateThread calls and misc fixes 2015-05-05 13:55:48 +02:00
Norbert Federa
ef1fd12b15 Fix unchecked CreateEvent calls and misc fixes
1)
Added missing checks for CreateEvent which also required the
following related changes:

- changed freerdp_context_new API to BOOL
- changed freerdp_peer_context_new API to BOOL
- changed pRdpClientNew callback to BOOL
- changed pContextNew callback to BOOL
- changed psPeerAccepted callback to BOOL
- changed psPeerContextNew callback to BOOL

2)
Fixed lots of missing alloc and error checks in the
changed code's neighbourhood.

3)
Check freerdp_client_codecs_prepare result to avoid segfaults
caused by using non-initialized codecs.

4)
Fixed deadlocks in x11 caused by missing xf_unlock_x11() calls
in some error handlers

5)
Some fixes in thread pool:
- DEFAULT_POOL assignment did not match TP_POOL definition
- don't free the pool pointer if it points to the static DEFAULT_POOL
- added error handling and cleanup in InitializeThreadpool
2015-04-29 18:18:39 +02:00
Armin Novak
5b5791c8d7 Using wlog for server now. 2014-09-15 08:55:00 +02:00
Marc-André Moreau
90d202ab87 server: fix build on Windows 2014-08-11 19:31:38 -04:00
Marc-André Moreau
e4a4aa4d3a Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
Conflicts:
	channels/encomsp/client/encomsp_main.c
	libfreerdp/core/tcp.c
	libfreerdp/crypto/certificate.c
	server/Windows/CMakeLists.txt
	server/X11/xf_cursor.c
	server/X11/xf_input.c
	server/X11/xf_interface.c
	server/X11/xf_monitors.c
	server/X11/xf_peer.c
2014-08-11 19:22:33 -04:00
Armin Novak
8d8719e101 Replaced fprintf with DEBUG_WARN 2014-08-11 09:19:47 +02:00
Marc-André Moreau
a732045c91 wfreerdp-server: restore Win8 DXGI 1.2 support 2014-07-17 18:27:40 -04:00
Marc-André Moreau
fd8bbfd3b9 wfreerdp-server: update and fix core functionality 2014-02-28 15:27:05 -05:00
Marc-André Moreau
8510ad3171 freerdp: remove rdpChannel definition in favor of CHANNEL_DEF 2014-02-28 12:07:22 -05:00
Marc-André Moreau
6e1cdf1b67 libfreerdp-core: expose opaque HANDLE instead of WTSVirtualChannelManager* 2014-02-27 13:30:04 -05:00
Marc-André Moreau
f3011492d8 freerdp-server: remove usage of deprecated custom server-side channel API 2014-02-16 23:09:21 -05:00
Marc-André Moreau
208c9f844a freerdp: fix core API bugs 2013-06-13 21:34:46 -04:00
Marc-André Moreau
8fb7e80919 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-03-21 16:46:35 -04:00
Marc-André Moreau
8c8a82c31f libfreerdp-utils: purge old STREAM utils 2013-03-21 16:45:25 -04:00
Corey C
bf7a370760 wfreerdp-server: Fixed screen detection issue and home directory issue 2013-03-21 16:31:55 -04:00
Corey C
f990fbe303 wfreerdp-server: cleanup output 2013-03-12 17:03:13 -04:00
Marc-André Moreau
d8afffd3a8 libfreerdp-core: fix server-side color depth negotiation 2013-01-27 17:17:04 -05:00
Corey C
17cd760e0d wfreerdp-server: merge upstream 2013-01-14 14:22:07 -05:00
Marc-André Moreau
92bf3e4ae0 libfreerdp-utils: remove sleep utils in favor of WinPR 2012-12-14 00:58:48 -05:00
Corey C
ca89be3c91 wfreerdp-server: small packaging patch 2012-11-16 22:54:31 -05:00
C-o-r-E
b5d3a493aa mfreerdp-server: merged wf_peer.c 2012-11-14 11:05:07 -05:00
Marc-André Moreau
1c4a587ef1 windows: fix build 2012-11-11 17:23:57 -05:00
Marc-André Moreau
410b7ab867 libfreerdp-core: rdpSettings refactoring (part 4) 2012-11-07 23:29:24 -05:00
Marc-André Moreau
6427c9dd90 libfreerdp-core: rdpSettings refactoring (part 2) 2012-11-07 15:13:14 -05:00
C-o-r-E
4841b05008 wfreerdp-server: refactored monitor related data structures 2012-10-31 17:24:14 -04:00
Corey C
7f2dcf3257 wfreerdp-server: fixed crash with selected zero resolution displays 2012-10-23 20:43:39 -04:00
Corey C
94ea05cb57 wfreerdp-server: initial cli multimon support 2012-10-23 20:32:29 -04:00
Corey C
270a562b77 wfreerdp-server: fixed crash after disconnect 2012-10-12 21:02:42 -04:00
Corey C
0905ae6f1f wfreerdp-server: merged upstream 2012-10-11 17:14:55 -04:00
Marc-André Moreau
007f5ec073 wfreerdp-server: registry rdpsnd channel 2012-10-10 21:42:18 -04:00
Marc-André Moreau
9d064171a7 freerdp: get rid of old types 2012-10-09 03:26:39 -04:00
Marc-André Moreau
1ed644786c freerdp: change boolean type to BOOL type 2012-10-09 02:38:39 -04:00
Marc-André Moreau
5612bc43f8 freerdp: change true/false to TRUE/FALSE 2012-10-09 02:31:28 -04:00
Marc-André Moreau
e60a092d81 freerdp: fix headers 2012-10-08 23:02:04 -04:00
Corey C
36394b3c23 wfreerdp-server: generalized managed api callbacks, peer tracking bug fixes, code cleanup 2012-10-08 22:31:40 -04:00
Corey C
5d0a53a3b3 wfreerdp-server: improved peer tracking, added ability to disconnect individual peers 2012-10-08 15:46:01 -04:00
Corey C
4c790d8253 wfreerdp-server: fixed stop server api 2012-10-05 15:25:30 -04:00
Marc-André Moreau
58525ca415 wfreerdp-server: fix encoder on Windows 7 2012-09-20 00:22:13 -04:00
Corey C
71e01880d3 wfreerdp-server: replaced OS detection with preprocessor macro 2012-09-18 19:00:03 -04:00
Corey C
052896eb3d wfreerdp-server: refactoring and stabilizing windows 8 parts 2012-09-18 14:07:38 -04:00
Corey C
909e617ce0 wfreerdp-server: partially merged from cleanup 2012-09-17 17:57:21 -04:00
Corey C
8dd6624fae wfreerdp-server: Less hackish win8 support 2012-09-17 17:05:42 -04:00
Marc-André Moreau
1a011fee45 wfreerdp-server: fix race condition in encoder reset 2012-09-16 23:09:36 -04:00
Marc-André Moreau
d315af5feb wfreerdp-server: fix multiple reconnections deadlock 2012-09-16 21:50:15 -04:00
Marc-André Moreau
2026d3079e libfreerdp-core: code restructuration 2012-09-16 21:05:51 -04:00
Corey C
6bb014a46d wfreerdp-server: dxgi encoding 2012-09-16 18:37:14 -04:00
Corey C
2a07ebec23 wfreerdp-server: win8 dxgi initial support 2012-09-16 17:38:33 -04:00