Commit Graph

21 Commits

Author SHA1 Message Date
Armin Novak 8b9e3fa51e Fixed use of reserved keywords for include guards. 2017-07-20 09:35:41 +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 784696c1cd Fixed missing includes and invalid replacement. 2014-08-11 09:38:08 +02:00
hardening 865ff2a5f8 Fixed compilation with -Wstrict-prototypes 2013-02-14 22:20:43 +01: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 e60a092d81 freerdp: fix headers 2012-10-08 23:02:04 -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
Corey C 2a07ebec23 wfreerdp-server: win8 dxgi initial support 2012-09-16 17:38:33 -04:00
Marc-André Moreau efe82e6ede wfreerdp-server: build CLI interface separate from server library 2012-09-15 22:19:26 -04:00
Marc-André Moreau 05d6725c65 wfreerdp-server: split code with external library interface 2012-09-15 20:29:33 -04:00
Marc-André Moreau e5b5b09c38 wfreerdp-server: start handling more than one connected client at once 2012-09-05 20:03:07 -04:00
Corey C a32636b877 wfreerdp-server: added OS version detection for windows 2012-09-03 18:38:51 -04:00
Marc-André Moreau 3a33d63902 wfreerdp-server: get rid of wfInfoSingleton 2012-09-02 17:09:36 -04:00
Marc-André Moreau c60c013d5e wfreerdp-server: fix crash with out of bound coordinates 2012-08-23 17:10:22 -04:00
C-o-r-E 1351572985 wfreerdp-server: Nearly completed refactoring 2012-08-18 19:46:42 -04:00
C-o-r-E c077eb4dc7 Merged 2012-08-18 14:34:24 -04:00
C-o-r-E 39c2e93562 wfreerdp-server: partly reorganized rfx encoding process 2012-08-17 16:24:56 -04:00
C-o-r-E 0b87c927ea wfreerdp-server: added experimental rfx encoding 2012-08-15 18:01:06 -04:00
Marc-André Moreau a1c5768dc8 wfreerdp-server: code structure cleanup 2012-07-30 21:32:44 -04:00