Armin Novak
943e295714
WLog using C99 compatible variadic macros.
2016-10-07 14:05:27 +02:00
Armin Novak
71a73068ec
Reformatted client code.
2016-10-06 13:43:06 +02:00
Marc-André Moreau
0d1553942e
wfreerdp: fix Windows XP clipboard missing imports
2016-03-30 10:31:34 -04:00
Armin Novak
b4dbe23d91
Fixed mixed declaration.
2015-10-27 10:44:32 +01:00
Armin Novak
57c90eacc6
Fixed clipboard format for directory copy.
2015-10-27 10:44:32 +01:00
Armin Novak
5de53096ed
Fixed directory copy from remote to local.
2015-10-27 10:44:32 +01:00
Armin Novak
d5385471a5
Disabled file locking, added response checks.
2015-10-27 10:44:32 +01:00
Armin Novak
34191cdafc
Fixed clipboard file transfer.
2015-10-27 10:44:32 +01:00
Martin Haimberger
52405a3e79
Remove WIN32ERROR type
...
All return values are UINT now.
2015-08-27 05:38:20 -07:00
Martin Haimberger
6e4e1c2773
Merge remote-tracking branch 'upstream/master' into mh-stream-fix
...
Conflicts:
client/Windows/wf_cliprdr.c
2015-06-18 03:06:40 -07:00
Martin Haimberger
e5d5cd3c94
hardend cliprdr
...
hardend cliprdr server and client
also updated all callbacks in the server and client
implementations
2015-06-18 03:04:31 -07:00
Norbert Federa
87683ec87b
client/windows: invalid usage of S_FALSE HRESULT
...
S_FALSE is a success code and not an error (note the S_)
2015-06-03 16:06:01 +02:00
Norbert Federa
77769f10b6
winpr: fixed HRESULT & SCODE types, added a ctest
...
- HRESULT was unsigned which means that until now all usages of the
SUCCEDED(hr) and FAILED(hr) macros never detected any errors
- Also fixed the (unused) SCODE typedef
- Added new ctest TestTypes
2015-06-02 19:52:52 +02:00
Norbert Federa
1eff1a345e
free can handle NULL perfectly fine
2015-05-11 09:07:39 +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
Zhang Zhaolong
5b2a8ee873
wr_cliprdr: fix uninitialized variable
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-13 10:32:21 +08:00
Zhang Zhaolong
7016847e3b
wf_cliprdr: fix potential memory leak.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 16:37:28 +08:00
Zhang Zhaolong
3754cfad34
wf_cliprdr: fix incorrect usage of realloc.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 11:27:39 +08:00
Armin Novak
a3c8dec121
Prettiefied WLog messages.
2015-01-20 11:26:08 +01:00
Marc-André Moreau
ddeffce2db
wfreerdp: eliminate dependency on deprecated freerdp event system
2014-10-24 10:30:54 -04:00
Marc-André Moreau
295123e7d5
wfreerdp: fix cliprdr with callback interface
2014-10-24 10:16:55 -04:00
Marc-André Moreau
2d612b332e
wfreerdp: partially migrate cliprdr to callback interface
2014-10-24 09:55:48 -04:00
Marc-André Moreau
f76f8e3599
channels/cliprdr: add missing callbacks and message definitions
2014-10-23 18:17:53 -04:00
Marc-André Moreau
1c7ed224b6
wfreerdp: start preparing cliprdr code for migration to cliprdr callback interface
2014-10-23 15:38:19 -04:00
Marc-André Moreau
3d0f9e8e89
wfreerdp: consolidate cliprdr code
2014-10-23 13:11:20 -04:00
Marc-André Moreau
ce7302a999
wfreerdp: cleanup clipboard
2014-10-22 22:32:55 -04: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
Armin Novak
7913a57bc5
Using wlog for logging in clients now.
2014-09-15 08:55:00 +02:00
Marc-André Moreau
342d37aea0
wfreerdp: add RDP8 graphics pipeline support
2014-09-12 16:30:57 -04:00
Marc-André Moreau
2ea151e136
Merge pull request #1983 from ntwerdochlib/fileclip-updates
...
clipboard: File clipping updates
2014-08-11 19:00:00 -04:00
Armin Novak
0780c0993e
Replaced fprintf(stderr with DEBUG_WARN
2014-08-07 22:21:07 +02:00
Nicholas Twerdochlib
15ddbb0881
clipboard: Update disabling call of cliprdr_send_tempdir() since there is now guarantee the TEMP path on the client will be accessible by the server.
...
Perhaps this should be a command line option?
2014-07-23 09:37:24 -04:00
Nicholas Twerdochlib
53b86829b0
clipboard: Update to file clipping to remove use of old style clipboard chain.
2014-07-23 09:35:42 -04:00
Marc-André Moreau
ee282a931b
freerdp: fix build warnings on Windows
2014-05-10 09:50:36 -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
Maks Naumov
012a729878
fix "mcode" check in cliprdr_thread_func()
...
Priority of the '!=' is higher than '=' operator
2014-03-05 15:24:42 +02:00
Marc-André Moreau
d64f86d52c
wfreerdp: fix 64-bit build
2014-02-10 00:34:17 -05:00
Marc-André Moreau
21ec46036b
channels/cliprdr: start implementing clean callback interface
2013-11-23 21:35:44 -05:00
Zhang Zhaolong
f7cf0eace7
check return value.
2013-11-21 14:26:29 +08:00
Zhang Zhaolong
304fb6d137
reformat coding styles.
2013-11-21 13:45:16 +08:00
Zhang Zhaolong
c196e0b2c1
fix name length to copy.
2013-11-21 13:35:21 +08:00
Zhang Zhaolong
b79ce07137
fix memory realloc size error.
2013-11-21 13:28:54 +08: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
c76efec345
wfreerdp: update client with new API
2013-06-15 22:57:21 -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
8c8a82c31f
libfreerdp-utils: purge old STREAM utils
2013-03-21 16:45:25 -04:00
Marc-André Moreau
d19e2042c3
libfreerdp-utils: remove deprecrated unicode utils in favor of WinPR
2012-12-17 10:20:25 -05:00