FreeRDP/libfreerdp/gdi
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
..
include Fix GDI return values and other fixes 2015-04-21 14:18:07 +02:00
test Fix GDI return values and other fixes 2015-04-21 14:18:07 +02:00
8bpp.c Fix GDI return values and other fixes 2015-04-21 14:18:07 +02:00
16bpp.c Fix GDI return values and other fixes 2015-04-21 14:18:07 +02:00
32bpp.c Fix GDI return values and other fixes 2015-04-21 14:18:07 +02:00
bitmap.c Fix GDI return values and other fixes 2015-04-21 14:18:07 +02:00
brush.c change return types of callbacks to BOOL 2015-04-21 14:18:07 +02:00
clipping.c freerdp: fix headers 2012-10-08 23:02:04 -04:00
CMakeLists.txt Merge pull request #2097 from awakecoding/egfx 2014-09-12 15:12:52 -04:00
dc.c gdi: fix problem with gdi_SelectObject check(s) 2015-04-26 22:28:49 +02:00
drawing.c libfreerdp-codec: fix unit test compilation 2014-03-29 12:37:16 -04:00
gdi.c Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
gdi.h freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16 2012-10-09 03:01:37 -04:00
gfx.c Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
graphics.c Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
graphics.h change return types of callbacks to BOOL 2015-04-21 14:18:07 +02:00
line.c freerdp: fix headers 2012-10-08 23:02:04 -04:00
palette.c libfreerdp-gdi: disable broken BitBlt tests 2015-03-16 08:55:06 -04:00
pen.c change return types of callbacks to BOOL 2015-04-21 14:18:07 +02:00
region.c Fix GDI return values and other fixes 2015-04-21 14:18:07 +02:00
shape.c freerdp: get rid of old types 2012-10-09 03:26:39 -04:00