David FORT
12f873f1f9
Fixed MessageQueue and callers
2015-05-29 14:24:14 +02:00
Norbert Federa
1eff1a345e
free can handle NULL perfectly fine
2015-05-11 09:07:39 +02:00
Armin Novak
449929fc35
Fixed NULL dereference.
2015-04-15 10:37:28 +02:00
Armin Novak
e68726400d
Fixed NULL pointer dereference.
2015-03-31 15:18:45 +02:00
Bernhard Miklautz
6a997fad53
cliprdr: ensure stream != NULL
2015-03-30 17:17:36 +02:00
Bernhard Miklautz
74c8400789
coding style fixes
...
Add missing space after if
2015-03-30 17:15:45 +02:00
Bernhard Miklautz
f469e069dc
stream: Stream_Ensure*Capacity: change return type
...
Change the return type of Stream_Ensure*Capacity from void to BOOL to be
able to detect realloc problems easily. Otherwise the only way to detect
this was to check if the capacity after the call was >= the required
size.
In case Stream_Ensure*Capacity fails the old memory is still available
and need to freed outside.
This commit also adds checks to most calls of Stream_Ensure*Capacity to
check if the call was successful.
2015-03-30 16:33:48 +02:00
Armin Novak
b6d0ce797b
Fixed variable initialisation and cleanup.
2015-01-20 12:31:43 +01:00
Armin Novak
3dc1f07847
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:45:36 +01:00
Marc-André Moreau
27a8e50e60
channels: fix drdynvc, patch memory leaks
2014-12-27 15:20:29 -05:00
Marc-André Moreau
08c8c6f285
channels/cliprdr: fix empty clipboard format lists, server-side locking
2014-12-20 13:07:30 -05:00
Marc-André Moreau
265e8b9e9d
cliprdr/server: make channel thread optional
2014-12-18 11:11:36 -05:00
Marc-André Moreau
afce8061b3
cliprdr/server: split add Open/Close callbacks
2014-12-18 10:46:23 -05:00
Marc-André Moreau
724d9f95a1
channels/cliprdr: move server cliprdr read code to separate function
2014-12-18 09:50:02 -05:00
Marc-André Moreau
c3b172352d
cliprdr/cliprdr: add missing server-side cliprdr sending functions
2014-12-15 17:27:20 -05:00
Marc-André Moreau
a69eaddecd
channels/cliprdr: add missing messages in cliprdr server
2014-12-15 17:05:32 -05:00
Marc-André Moreau
0d56e26438
channels/cliprdr: fix server-side cliprdr receive
2014-12-15 15:39:56 -05:00
Armin Novak
6b2790774e
Fixed missing NULL pointer check.
2014-12-07 00:33:37 +01:00
Marc-André Moreau
182dd76037
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-12-04 10:49:01 -05:00
Norbert Federa
12fe822315
cliprdr: fix segfault caused by invalid seek value
2014-12-04 16:07:01 +01:00
Marc-André Moreau
fdd2dc7601
freerdp: patch valgrind leaks, cleanup
2014-12-03 14:17:27 -05:00
Marc-André Moreau
b8f694d8df
mfreerdp: fix cliprdr copy with Windows XP
2014-11-20 16:05:13 -05:00
Marc-André Moreau
c4ab4ad128
channels/cliprdr: partially fix short format names
2014-11-20 14:28:05 -05:00
Armin Novak
abd0abf01b
Fixed allocation size warning.
2014-11-16 23:44:10 +01:00
Armin Novak
d653e6382e
Fixed uninitialized variable.
2014-11-16 16:58:43 +01:00
Armin Novak
6196eb81b2
Fixed free of uninitialized value.
2014-11-16 16:01:08 +01:00
Marc-André Moreau
24a752a708
channels/cliprdr: remove dependency on deprecated eventing system, svc_plugin.c
2014-11-12 12:56:03 -05:00
Martin Fleisz
0be28ba0f6
Merge pull request #1965 from akallabeth/dynamic-addin-naming
...
Dynamic channel library naming
2014-10-31 13:42:16 +01:00
Marc-André Moreau
f76f8e3599
channels/cliprdr: add missing callbacks and message definitions
2014-10-23 18:17:53 -04:00
Marc-André Moreau
a1e660d92e
freerdp: unify clipboard standard format id definitions
2014-10-16 22:20:12 -04:00
Marc-André Moreau
334dec3c1f
winpr: add pragma pack, bitmap + clipboard definitions
2014-10-16 21:45:47 -04:00
Marc-André Moreau
2e82e6d22d
xfreerdp: fix clipboard sync
2014-10-15 22:48:18 -04:00
Marc-André Moreau
38bac22204
xfreerdp: migrate to cliprdr callback interface
2014-10-15 21:30:11 -04:00
Armin Novak
059374457d
Removed library prefix override.
2014-09-17 11:27:11 +02:00
Armin Novak
b1e9ffb655
Using wlog for channel logging now.
...
Fixed compiler warnings and broken callback in urbdrc.
2014-09-15 08:48:46 +02:00
Bernhard Miklautz
0313ca3622
libfreerdp: always build "MONOLITHIC"
...
"libfreerdp" consisted of multiple (small) single libraries. If the cmake
option MONOLITHIC was used only one library was build combining all of
the libfreerdp-* libraries.
The only exceptions to this are libfreerdp-server and libfreerdp-client these
are build as separate libraries.
This commit obsoltes non-monolithic builds and makes monolithic builds
the default. The cmake option MONOLITHIC is also removed.
2014-09-12 00:19:53 +02:00
Armin Novak
6762d73ae1
Fixed winpr_HexDump calls.
2014-09-09 16:33:05 +02:00
Armin Novak
66b8905ac6
Using special log defines for channels now.
2014-08-11 09:12:01 +02:00
Armin Novak
b97099e815
Replaced fprintf(stderr with DEBUG_WARN
2014-08-07 22:20:13 +02:00
Armin Novak
158e1323de
Fixed compiler warnings.
2014-08-07 19:05:48 +02:00
Armin Novak
b252009d36
Replaced custom logging mechanism with WLog wrapper.
2014-08-07 16:51:49 +02:00
Bernhard Miklautz
a9eed46e38
Fix warnings found in Xcode
2014-07-29 05:22:30 +02:00
Vic Lee
29cb8680ce
server: allow partial channel read (fix rdpsnd).
2014-07-14 20:00:38 +08:00
Bernhard Miklautz
6a49bcfe40
winpr: always build "monolitic"
...
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.
The only exception is winpr-makecert-tool which is still build as extra
library.
This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Marc-André Moreau
53639dea0b
channels: reduce dependency on svc_plugin.h
2014-06-11 15:09:28 -04:00
Armin Novak
15ce8c0552
Updated plugins to use new svc_plugin and OnDataReceived API.
2014-06-11 14:42:32 +02:00
Hardening
c076ffb020
Don't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()
...
Nothing in the MSDN API says that setting NULL is safe. And if the
implementation uses WriteFile directly, it crashes.
2014-05-28 17:04:24 +02:00
Marc-André Moreau
769502ec72
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-04-26 13:47:01 -04:00
Vic Lee
08b4976f72
Revert "channels: fix link errors."
...
This reverts commit 2fc7f9c485
.
2014-04-22 15:05:53 +08:00
Marc-André Moreau
13d61f341d
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-04-21 16:28:01 -04:00
Marc-André Moreau
9b01663e9d
channels/cliprdr: fix cliprdr_process_format_data_response callback usage
2014-04-21 15:48:29 -04:00
Vic Lee
2fc7f9c485
channels: fix link errors.
2014-04-21 17:47:12 +08:00
Zhang Zhaolong
bb2e5c5cb9
clipboard: wfreerdp: implement file clipping.
2014-03-10 14:25:59 +08:00
Zhang Zhaolong
edd3bff950
clipboard: implement file clipping on XP.
...
add temp directory.
use %TEMP% directory as file transfering temprorary directory.
if %TEMP% directory is in C:\, driver C:\ should be redirected in order
to enable file clipping on XP.
2014-03-10 14:25:56 +08:00
Zhang Zhaolong
353b4f8ba3
clipboard: add events for file clipping.
2014-03-10 14:25:56 +08:00
Zhang Zhaolong
69296ce3bd
wfreerdp: build fix.
2014-03-04 13:54:25 +08:00
Marc-André Moreau
6e1cdf1b67
libfreerdp-core: expose opaque HANDLE instead of WTSVirtualChannelManager*
2014-02-27 13:30:04 -05:00
Marc-André Moreau
9afddf66ad
libfreerdp-core: implement WTSVirtualChannelOpenEx
2014-02-16 23:00:58 -05:00
Marc-André Moreau
3e546a22a1
channels: start migrating existing server-side channels to WTSAPI
2014-02-16 22:07:00 -05:00
Marc-André Moreau
82b922a70d
channels: rename custom CHANNEL_ENTRY_POINTS_EX to CHANNEL_ENTRY_POINTS_FREERDP to fix conflict
2014-02-16 17:38:59 -05:00
Marc-André Moreau
b833073f57
libfreerdp-core: make client virtual channel API prototypes converge towards original API
2014-02-16 17:27:36 -05:00
Marc-André Moreau
cdcd290c44
wfreerdp: fix most build warnings
2014-02-10 22:12:13 -05:00
Marc-André Moreau
4d6f3b6de4
libfreerdp-client: fix bug in pInterface channel registration
2013-12-05 16:55:28 -05:00
Marc-André Moreau
128fb72ec6
mfreerdp: fix possible crash on gdi termination
2013-11-25 00:25:16 -05:00
Marc-André Moreau
8fa7008435
channels/cliprdr: add callback for data request response
2013-11-24 20:46:56 -05:00
Marc-André Moreau
4fbbc03ac9
channels/cliprdr: fix conflict with CLIPRDR_HEADER
2013-11-24 15:35:26 -05:00
Marc-André Moreau
d7379cd4ff
channels/cliprdr: implement more of the callback interface
2013-11-23 23:45:31 -05:00
Marc-André Moreau
21ec46036b
channels/cliprdr: start implementing clean callback interface
2013-11-23 21:35:44 -05:00
Marc-André Moreau
b4a78c31bb
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-11-06 13:59:03 -05:00
Zhang Zhaolong
870e52ed1d
Add cliprdr on windows. File clipping is not supported yet.
2013-11-05 10:52:17 +08:00
Marc-André Moreau
37450da55d
cmake: fix exporting of targets on pre-2.8.11
2013-10-29 14:47:40 -04:00
Marc-André Moreau
55565e056c
freerdp: export targets
2013-10-28 23:06:39 -04:00
Marc-André Moreau
518995a05e
freerdp: merge with master
2013-09-16 17:10:27 -04:00
Armin Novak
d1c24aa873
Fixed coverity issue 1047640.
2013-09-05 12:14:31 +02:00
Marc-André Moreau
c878200e00
channels/server: refactor to match WTSApi + avoid conflicts
2013-08-20 19:26:36 -04:00
Marc-André Moreau
552cee7431
channels/server: start refactoring to fully match WTSApi
2013-08-20 18:06:19 -04:00
Marc-André Moreau
73c02a7637
channels/cliprdr: fix unicode conversion
2013-08-19 12:21:40 -04:00
Marc-André Moreau
3d0d65e917
channels/rdpdr: server-side device list and user logged on pdu
2013-08-18 20:27:50 -04:00
Marc-André Moreau
af93bee5d2
channels/cliprdr: implement initialization of server-side cliprdr
2013-08-18 15:39:28 -04:00
Marc-André Moreau
bca442a477
channels/cliprdr: start exchanging messages with server-side cliprdr
2013-08-16 21:17:24 -04:00
Marc-André Moreau
0fd705c6c7
channels/cliprdr: start server-side implementation
2013-08-16 16:46:47 -04:00
Armin Novak
d41f2fa2ed
Added links to documentation of message sequences for clipboard data exchange.
2013-08-12 12:47:47 +02:00
Armin Novak
a57f1302f4
Fixed invalid package size allocation and calculation in cliprdr_process_format_list_event
...
Enabled and fixed error handling in cliprdr_process_format_list_response
2013-08-09 16:23:00 +02:00
Marc-André Moreau
8e151409be
libfreerdp-client: export and register successfully interface pointer for channel
2013-05-12 21:23:12 -04:00
Marc-André Moreau
fdf3ddcf9e
freerdp: purge deprecated stream utils
2013-05-08 17:48:30 -04:00
Marc-André Moreau
fd230443c5
freerdp: purge old stream utils
2013-05-08 16:27:21 -04:00
Marc-André Moreau
5b92413843
freerdp: purge deprecated stream utils
2013-05-08 16:09:16 -04:00
Marc-André Moreau
b4cac74136
xfreerdp-server: fix RemoteFX encoding
2013-05-01 18:15:55 -04:00
Marc-André Moreau
51715636a5
freerdp: remove some deprecated stream utils
2013-04-29 22:35:15 -04:00
Marc-André Moreau
f4df4e4b26
channels: partial cleanup
2013-03-29 14:49:09 -04:00
Marc-André Moreau
d187becc28
freerdp: merge with master
2013-03-28 21:20:36 -04:00
Marc-André Moreau
3417a3aab5
freerdp: merge RDP_EVENT type with wMessage
2013-03-28 21:13:56 -04:00
Marc-André Moreau
f757623f7f
channels: replace event_type, event_class with id for events
2013-03-28 20:23:16 -04:00
Marc-André Moreau
72bf8ea032
libfreerdp-utils: start migrating old eventing system
2013-03-28 18:29:57 -04:00
Hardening
7701c9d934
Replace printf(...) by fprintf(stderr, ...)
2013-03-28 23:06:34 +01:00
Marc-André Moreau
8c8a82c31f
libfreerdp-utils: purge old STREAM utils
2013-03-21 16:45:25 -04:00
Marc-André Moreau
a8201b0d1b
libwinpr-utils: combine old and new stream utils
2013-03-21 15:19:33 -04:00
Marc-André Moreau
62eec0c2b5
libfreerdp-utils: rename internal members of STREAM to match new wStream
2013-03-21 15:01:46 -04:00
david
43cb13585d
always initialize lpMultiByteStr parameter when calling ConvertFromUnicode
2013-01-16 01:14:03 +01:00
Marc-André Moreau
d19e2042c3
libfreerdp-utils: remove deprecrated unicode utils in favor of WinPR
2012-12-17 10:20:25 -05:00