Commit Graph

71 Commits

Author SHA1 Message Date
akallabeth
43eae6029f [clang-tidy] fix various review warnings 2024-02-22 12:31:50 +01:00
akallabeth
d7ebec5a65 [tidy] move loop variable declaration to loop 2024-02-22 12:31:50 +01:00
Armin Novak
4d03d7c0bf Freerdp remove #ifdef HAVE_CONFIG_H 2022-03-03 11:26:48 +01:00
Armin Novak
b2ad47a809 Reorganized FreeRDP headers 2022-03-03 11:26:48 +01:00
Armin Novak
3a609fb920 Fixed mingw build warnings 2022-02-18 08:38:28 +01:00
Armin Novak
72ca88f49c Reformatted to new style 2019-11-07 10:53:54 +01:00
Armin Novak
26b83ea74e Reenabled and fixed windows server compile. 2018-11-15 09:01:53 +01:00
Norbert Federa
f71b6b46e8 fix string format specifiers
- fixed invalid, missing or additional arguments
- removed all type casts from arguments
- added missing (void*) typecasts for %p arguments
- use inttypes defines where appropriate
2016-12-16 13:48:43 +01:00
Bernhard Miklautz
d73c4898c1 Add build-config.h
build-config.h should contain configure/compile time settings that are
relevant for projects that use FreeRDP.

For example the compiled in plugin search paths.
2015-11-09 15:54:22 +01:00
Armin Novak
e8bfa29bd2 Replaced registry keys with cmake defines. 2015-06-24 14:02:48 +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
Bernhard Miklautz
12e1d94567 winpr: fixes and cleanup
Integrated notes and issues for the pending pull request
* wf_info:
 * cleanup: remove unnecessary breaks
 * fix typo
 * change usage of calloc
* print.c: fix incorrect check
* makecert.c: cleanup includes
2015-04-08 11:34:37 +02:00
Bernhard Miklautz
850de59b55 winpr: add checks for *alloc
Add missing checks if memory allocation was successful. Also adapt
caller(s) when possible.
2015-04-08 11:34:37 +02:00
Armin Novak
5b5791c8d7 Using wlog for server now. 2014-09-15 08:55:00 +02:00
Marc-André Moreau
90d202ab87 server: fix build on Windows 2014-08-11 19:31:38 -04:00
Marc-André Moreau
e4a4aa4d3a Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
Conflicts:
	channels/encomsp/client/encomsp_main.c
	libfreerdp/core/tcp.c
	libfreerdp/crypto/certificate.c
	server/Windows/CMakeLists.txt
	server/X11/xf_cursor.c
	server/X11/xf_input.c
	server/X11/xf_interface.c
	server/X11/xf_monitors.c
	server/X11/xf_peer.c
2014-08-11 19:22:33 -04:00
Armin Novak
8d8719e101 Replaced fprintf with DEBUG_WARN 2014-08-11 09:19:47 +02:00
Marc-André Moreau
a732045c91 wfreerdp-server: restore Win8 DXGI 1.2 support 2014-07-17 18:27:40 -04:00
Marc-André Moreau
fd8bbfd3b9 wfreerdp-server: update and fix core functionality 2014-02-28 15:27:05 -05:00
Corey C
f83aa371aa wfreerdp-server: more error handling improvements 2013-03-12 17:56:45 -04:00
Corey C
a9f09bb9e2 wfreerdp-server: fixed reconnection issue 2013-02-26 19:25:48 -05:00
C-o-r-E
c48cb01e36 wfreerdp-server: fix default screen bug in multimon setup (win7) 2012-11-01 17:51:48 -04:00
C-o-r-E
dd477a6a18 wfreerdp-server: multimon working on win7 2012-11-01 17:12:05 -04:00
Corey C
85c111834d wfreerdp-server: fix default screen issue 2012-10-31 22:17:40 -04:00
Corey C
b05bfbb6c1 wfreerdp-server: fixed pointer offset on win8 multimon 2012-10-31 22:10:27 -04:00
C-o-r-E
4841b05008 wfreerdp-server: refactored monitor related data structures 2012-10-31 17:24:14 -04:00
Corey C
5f713c6b9c wfreerdp-server: fixed 2 bugs
First a bug where in the case that on windows 8, there is only a mouse pointer update, the frame does not get released. Second an incorrect timeout value was being passed.
2012-10-17 18:39:04 -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
ecad702c98 wfreerdp-server: fix parallel send 2012-10-06 17:09:53 -04:00
Corey C
715a172fe8 wfreerdp-server: improved tracking of peers by id 2012-10-06 16:57:58 -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
a2cd04e3f7 wfreerdp-server: added connect/disconnect event callback support 2012-10-05 23:25:18 -04:00
Corey C
4c790d8253 wfreerdp-server: fixed stop server api 2012-10-05 15:25:30 -04:00
Marc-André Moreau
58525ca415 wfreerdp-server: fix encoder on Windows 7 2012-09-20 00:22:13 -04:00
Marc-André Moreau
34b59653dd wfreerdp-server: code style cleanup 2012-09-19 18:16:49 -04:00
Marc-André Moreau
25f05d38e8 libfreerdp-channels: fix semaphore usage 2012-09-19 16:16:24 -04:00
Corey C
71e01880d3 wfreerdp-server: replaced OS detection with preprocessor macro 2012-09-18 19:00:03 -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
Marc-André Moreau
2026d3079e libfreerdp-core: code restructuration 2012-09-16 21:05:51 -04:00
Corey C
2a07ebec23 wfreerdp-server: win8 dxgi initial support 2012-09-16 17:38:33 -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