Commit Graph

45 Commits

Author SHA1 Message Date
Armin Novak
90cd2a8a45 Fixed color pointer. 2016-10-06 13:43:06 +02:00
Armin Novak
fbdb00aa0c Simplified windows context. 2016-10-06 13:43:06 +02:00
Armin Novak
71a73068ec Reformatted client code. 2016-10-06 13:43:06 +02:00
Armin Novak
0b6c7a3df5 Fixed windows color cursor. 2016-10-06 13:43:05 +02:00
Armin Novak
d1a3362a8f Fixed windows software GDI issues. 2016-10-06 13:43:05 +02:00
Armin Novak
7818ca1250 Fixed windows compile. 2016-10-06 13:43:04 +02:00
zihao.jiang
e7d9e91864 channels/rdpgfx: Make freerdp_client_codecs_prepare calls codec reset. It fix broken h264 client from #3328. Also it doesn't make sense that we don't need width and height for codec initialization while we need them for codec reset 2016-05-30 02:00:05 +08:00
Marc-André Moreau
30dd40e10a wfreerdp: fix and improve remote assistance 2015-05-07 14:20:49 -04: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
Marc-André Moreau
2a5192b027 Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
Conflicts:
	client/Windows/wf_cliprdr.h
	client/Windows/wf_event.h
	client/X11/xf_client.c
	client/X11/xf_gdi.c
	libfreerdp/gdi/gdi.c
	server/Mac/mf_input.c
2014-09-17 19:09:56 -04:00
Marc-André Moreau
73471eb1f0 libfreerdp-gdi: fix 8bpp mode 2014-09-17 18:30:09 -04:00
Marc-André Moreau
1b7a84419c xfreerdp: partial fix for X11 16bpp mode 2014-09-16 19:12:26 -04:00
Armin Novak
7913a57bc5 Using wlog for logging in clients now. 2014-09-15 08:55:00 +02:00
Marc-André Moreau
ff2df7489d wfreerdp: fix gdi usage 2014-09-12 11:34:30 -04:00
Marc-André Moreau
7e4b3b13b1 Merge pull request #2091 from ptsekov/software-gdi-improvements
Fix #2090
2014-09-11 13:52:16 -04:00
Pavel Tsekov
9be7293bac Fix #2090
* client/Windows/wf_graphics.c (wf_register_graphics): Do not register
custom bitmap handler when using freerdp's own GDI implementation.
2014-09-11 16:40:10 +03:00
Marc-André Moreau
89e5fef11f wfreerdp: fix build on Windows 2014-09-10 11:38:38 -04:00
Marc-André Moreau
c71e4e18a1 libfreerdp-core: refactor codec context management 2014-09-10 00:42:41 -04:00
Armin Novak
0780c0993e Replaced fprintf(stderr with DEBUG_WARN 2014-08-07 22:21:07 +02:00
Marc-André Moreau
ac7d23b9a3 libfreerdp-gdi: migrate to _aligned_malloc/_aligned_free 2014-07-08 15:07:19 -04:00
Marc-André Moreau
c76efec345 wfreerdp: update client with new API 2013-06-15 22:57:21 -04:00
Hardening
7701c9d934 Replace printf(...) by fprintf(stderr, ...) 2013-03-28 23:06:34 +01:00
Marc-André Moreau
ac4cb24a68 wfreerdp: clean separation of client core and controlling code 2013-03-18 21:54:50 -04:00
Vic Lee
7871a2d433 wfreerdp: fix color cursor support. 2012-12-21 20:29:47 +08:00
Vic Lee
e568c8e466 wfreerdp: fix a stack corruption when processing cursor. 2012-12-20 21:06:07 +08:00
Marc-André Moreau
8a32de3801 libfreerdp: purged source tree from deprecated memory utils 2012-11-21 21:22:06 -05:00
Jay Sorg
e0e61e078d win32: no logic, just white space changes 2012-10-16 11:20:04 -07:00
Jay Sorg
e4307a547a win32: added cursor shape support(mono) 2012-10-16 11:06:23 -07: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
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
9909a12af5 libfreerdp-utils: get rid of xmalloc, xrealloc and xfree 2012-10-08 23:21:26 -04:00
Marc-André Moreau
e60a092d81 freerdp: fix headers 2012-10-08 23:02:04 -04:00
Marc-André Moreau
8c5ea19391 wfreerdp: fix RemoteFX 2012-09-03 17:38:22 -04:00
Marc-André Moreau
90bd43f26e wfreerdp: fix memory leaks 2012-08-29 17:50:13 -04:00
Marc-André Moreau
f1fa98c997 wfreerdp: fix compilation warnings on Windows 2012-08-14 18:39:07 -04:00
Marc-André Moreau
faa4311232 libwinpr: add proper config.h inclusions 2012-08-14 17:20:53 -04:00
Marc-André Moreau
8203876838 wfreerdp: fix 16bpp colors 2012-07-28 21:37:34 -04:00
Julien Ropé
de3a6b6070 Replace malloc by xmalloc calls 2012-05-09 14:10:54 +02:00
Norbert Federa
b224126cc7 Completed (almost) System Pointer Update (MS-RDPBCGR 2.2.9.1.1.4.3)
Todo:
- Windows client: wf_Pointer_SetNull and wf_Pointer_SetDefault are just skeletons like all the other wf_Pointer functions.
- DirectFB client: only df_Pointer_SetNull is implemented and tested
2012-02-24 13:44:23 +01:00
Marc-André Moreau
2bde041788 wfreerdp: fix RemoteFX 2012-02-08 21:44:22 -05:00
Marc-André Moreau
8bb1554851 wfreerdp: fix RemoteFX 2011-12-16 14:43:14 -05:00
Marc-André Moreau
a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
Marc-André Moreau
d0b9478f45 wfreerdp: fix bitmap decompression 2011-10-26 15:38:50 -04:00
Marc-André Moreau
82ea77158c wfreerdp: fix compilation on windows 2011-10-21 16:45:35 -04:00