Commit Graph

37 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
Corey C
b05bfbb6c1 wfreerdp-server: fixed pointer offset on win8 multimon 2012-10-31 22:10:27 -04:00
Corey C
0905ae6f1f wfreerdp-server: merged upstream 2012-10-11 17:14:55 -04:00
Marc-André Moreau
1bf8a45519 freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16 2012-10-09 03:01:37 -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
d1e1ee9085 wfreerdp-server: added defines for default fps and max peers 2012-10-06 16:25:11 -04:00
Corey C
77c84cd606 wfreerdp-server: win8 code cleanup 2012-09-18 17:25:20 -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
Marc-André Moreau
d315af5feb wfreerdp-server: fix multiple reconnections deadlock 2012-09-16 21:50:15 -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
271aa3edb5 wfreerdp-server: add support for parallel sending to multiple clients 2012-09-07 22:48:30 +02:00
Marc-André Moreau
c59b7dedad wfreerdp-server: add registry key for framerate 2012-09-07 18:01:36 +02:00
Marc-André Moreau
947e9bead7 wfreerdp-server: refactoring and delaying of initialization of encoder 2012-09-07 06:01:16 +02:00
Marc-André Moreau
e5b5b09c38 wfreerdp-server: start handling more than one connected client at once 2012-09-05 20:03:07 -04:00
Marc-André Moreau
9cc69c1f8e wfreerdp-server: wrap select() to make use of windows events and WaitForMultipleObjects 2012-09-03 00:51:02 -04:00
Marc-André Moreau
c1be07aa3d wfreerdp-server: fix encoding accuracy 2012-09-02 19:54:17 -04:00
Marc-André Moreau
7a0a8c3eb2 wfreerdp-server: start cleaning up mutex access 2012-09-02 18:04:41 -04:00
Marc-André Moreau
3a33d63902 wfreerdp-server: get rid of wfInfoSingleton 2012-09-02 17:09:36 -04:00
Marc-André Moreau
12859c7eac wfreerdp-server: merge with latest updates 2012-09-02 14:39:27 -04:00
C-o-r-E
88ad2661bd wfreerdp-server: cleaned up synchronization code 2012-08-30 15:50:46 -04:00
C-o-r-E
fdfc5f8f1c wfreerdp-server: added optional back buffer 2012-08-28 19:28:04 -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
93d57c5219 fixed subsequent connection bug 2012-08-20 18:19:17 -04:00
C-o-r-E
e59f44b9e8 wfreerdp-server: fixed client screen resize 2012-08-20 14:36:59 -04:00
C-o-r-E
5ed441e116 wfreerdp-server: Slightly more stable 2012-08-20 11:45:48 -04:00
C-o-r-E
62b5b3f83b wfreerdp-server: fixed some syncronization bugs 2012-08-19 15:46:47 -04:00
C-o-r-E
1351572985 wfreerdp-server: Nearly completed refactoring 2012-08-18 19:46:42 -04:00
C-o-r-E
c3ee4cc5bb wfreerdp-server: Continued refactoring efforts 2012-08-18 17:49:52 -04:00
C-o-r-E
d3bd93d116 wfreerdp-server: mirr-mon thread refactored 2012-08-18 16:42:17 -04:00
C-o-r-E
c077eb4dc7 Merged 2012-08-18 14:34:24 -04:00