FreeRDP/server/Mac
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
..
.gitignore mfreerdp-server: cleanup binaries 2012-10-31 23:30:52 -04:00
CMakeLists.txt libfreerdp: always build "MONOLITHIC" 2014-09-12 00:19:53 +02:00
ModuleOptions.cmake freerdp: remove vendor-specific options from build system, add automatic ways of including external clients/servers 2013-09-03 20:37:04 -04:00
mf_audin.c Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow 2014-09-17 20:15:01 -04:00
mf_audin.h Fixed missing includes and invalid replacement. 2014-08-11 09:38:08 +02:00
mf_event.c Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow 2014-09-17 20:15:01 -04:00
mf_event.h shadow: stub Mac subsystem 2014-07-15 23:01:56 -04:00
mf_info.c Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow 2014-09-17 20:15:01 -04:00
mf_info.h Fixed missing includes and invalid replacement. 2014-08-11 09:38:08 +02:00
mf_input.c Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow 2014-09-17 20:15:01 -04:00
mf_input.h mfreerdp-server: input skeleton 2013-02-20 19:20:49 -05:00
mf_interface.c mfreerdp-server: more refactoring; added info singleton 2012-11-15 15:43:58 -05:00
mf_interface.h libfreerdp-core: expose opaque HANDLE instead of WTSVirtualChannelManager* 2014-02-27 13:30:04 -05:00
mf_mountain_lion.c Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow 2014-09-17 20:15:01 -04:00
mf_mountain_lion.h Fixed compilation with -Wstrict-prototypes 2013-02-14 22:20:43 +01:00
mf_peer.c Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
mf_peer.h Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
mf_rdpsnd.c Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow 2014-09-17 20:15:01 -04:00
mf_rdpsnd.h Fixed missing includes and invalid replacement. 2014-08-11 09:38:08 +02:00
mfreerdp.c Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
mfreerdp.h Fixed missing includes and invalid replacement. 2014-08-11 09:38:08 +02:00
server.crt mfreerdp-server: initial commit 2012-10-31 23:04:31 -04:00
server.key mfreerdp-server: initial commit 2012-10-31 23:04:31 -04:00