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
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
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
Marc-André Moreau
9b01663e9d
channels/cliprdr: fix cliprdr_process_format_data_response callback usage
2014-04-21 15:48:29 -04: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
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
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
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
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
Marc-André Moreau
af9be28000
libfreerdp-utils: purge deprecated freerdp_UnicodeToAsciiAlloc util in favor of WinPR ConvertFromUnicode
2012-12-16 23:34:07 -05:00
Marc-André Moreau
808fc210e3
libfreerdp-utils: remove hexdump utils in favor of WinPR utils
2012-12-13 23:54:54 -05:00
Marc-André Moreau
8a32de3801
libfreerdp: purged source tree from deprecated memory utils
2012-11-21 21:22:06 -05:00
Marc-André Moreau
e14aeb1d8a
libfreerdp-core: fix gateway command-line settings
2012-11-08 19:56:37 -05:00
Marc-André Moreau
6882b1fa9d
mfreerdp-server: initial commit
2012-10-31 23:04:31 -04:00
Marc-André Moreau
2f1711c506
libwinpr-path: make tests pass on Windows
2012-10-18 21:11:12 -04:00
Marc-André Moreau
81e485736f
channels: refactoring of channels cmake scripts with macros
2012-10-17 02:14:19 -04:00
Marc-André Moreau
0c1fd59d5f
cmake: fix client add library macro
2012-10-16 17:33:07 -04:00
Marc-André Moreau
d0314a569e
libfreerdp-channels: refactoring of cmake static entry table generation
2012-10-15 16:31:41 -04:00
Marc-André Moreau
010761055e
libfreerdp-channels: refactoring of channels cmake scripts with macros
2012-10-15 14:44:46 -04:00
Marc-André Moreau
d3b505b008
channels: fix linking of channels
2012-10-14 03:22:58 -04:00
Marc-André Moreau
0feebdbc37
cmake: refactoring of channel scripts
2012-10-14 02:38:58 -04:00
Marc-André Moreau
9d064171a7
freerdp: get rid of old types
2012-10-09 03:26:39 -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
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
2df7aaad39
libfreerdp-utils: get rid of xstrdup in favor of WinPR _strdup
2012-10-08 23:42:01 -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
40eea7c76b
cmake: rename WITH_MONOLITHIC_BUILD to MONOLITHIC_BUILD
2012-10-08 22:55:06 -04:00
Marc-André Moreau
ac7e1a3aea
channels: make rail, drdynvc, cliprdr and rdpsnd built-in channels
2012-10-08 22:48:17 -04:00
Marc-André Moreau
837cc777ce
channels: move include/freerdp/plugins to include/freerdp/client
2012-10-08 20:33:58 -04:00
Marc-André Moreau
11aa251fca
channels: modify plugins to become optionally built-in
2012-10-08 20:26:11 -04:00
Marc-André Moreau
3d98273185
channels: fix export of symbols on Windows
2012-10-07 10:21:54 -04:00
Marc-André Moreau
e0693c8f4c
cmake: refactoring of channels cmake scripts
2012-10-04 16:54:16 -04:00
Marc-André Moreau
58e1fd325a
libfreerdp-utils: get rid of freerdp_uniconv_in
2012-09-23 20:11:50 -04:00
Marc-André Moreau
44f18159c4
libfreerdp-utils: get rid of UNICONV unicode conversion context
2012-09-23 18:41:07 -04:00