Petr Sumbera
17df42e4b5
Fixes some build issues on Solaris 11.
2015-02-02 08:48:54 -08:00
Marc-André Moreau
bfe1c31529
libfreerdp-core: remove receive queue, make tsg connection sequence more event-driven
2015-02-02 08:19:07 -05:00
Bernhard Miklautz
d625edbe97
gfx/pointer: add support to set pointer
...
Extend rdp_pointer with function SetPosition. Can then be used by
clients support setting pointer by server which might be used in
shadowing scenarios.
2015-02-02 10:57:31 +01:00
Marc-André Moreau
4239a1d4f4
libfreerdp-core: remove TS Gateway send queue
2015-02-01 20:47:43 -05:00
Marc-André Moreau
4eeabba933
libfreerdp-core: restructure RPC connection sequence
2015-02-01 18:50:21 -05:00
Marc-André Moreau
90a429e43c
libfreerdp-core: refactor tsg connection sequence towards better state machine usage
2015-02-01 17:55:24 -05:00
Marc-André Moreau
0a97a5fc4e
libfreerdp-core: fix possible lost signal in tsg_connect
2015-02-01 17:06:50 -05:00
Marc-André Moreau
4f173ae52a
libfreerdp-core: remove usage of magic 60-byte pad in TsProxyCreateTunnelWriteRequest
2015-02-01 15:58:32 -05:00
Marc-André Moreau
9406ac188c
libfreerdp-core: use ringbuffer for TS Gateway receive pipe
2015-02-01 13:09:28 -05:00
Giovanni Panozzo
7ceafe190e
Fix channels_free for multiple connected clients
...
When a client disconnects from a server and its channel structures are removed, the global hash g_OpenHandles should not be destroyed. Only freed channels must be removed from the hash.
2015-02-01 10:57:54 +01:00
Marc-André Moreau
85191391d5
libfreerdp-core: simplify TS Gateway RPC fragment receiving
2015-01-31 16:56:25 -05:00
Marc-André Moreau
5cdc464933
libfreerdp-core: warn but do not fail in freerdp_tcp_set_keep_alive_mode
2015-01-30 11:34:09 -05:00
Marc-André Moreau
7c6948cd5c
xfreerdp: make use of freerdp_get_event_handles
2015-01-30 09:47:02 -05:00
Marc-André Moreau
3a906caa4a
freerdp: add event handle usage instead of file descriptors
2015-01-29 22:57:58 -05:00
Marc-André Moreau
ef71181897
libfreerdp-core: fix Win32 gateway authentication
2015-01-29 14:07:02 -05:00
Marc-André Moreau
b387708069
libfreerdp-core: fix Win32 socket event handle
2015-01-29 11:35:52 -05:00
Marc-André Moreau
bb67968141
libfreerdp-core: cleanup transport debug output
2015-01-28 15:37:20 -05:00
Marc-André Moreau
977cd21919
libfreerdp-core: don't enable GatewayBypassLocal by default
2015-01-28 15:16:31 -05:00
Marc-André Moreau
a9df86ab16
libfreerdp-core: update gateway code for Windows
2015-01-28 14:54:03 -05:00
Marc-André Moreau
5bf8b1509e
libfreerdp-core: improve socket BIO handling
2015-01-28 13:46:17 -05:00
Marc-André Moreau
32a991c165
libfreerdp-core: move socket event and nonblock options to socket BIO
2015-01-27 21:18:26 -05:00
Armin Novak
34b700dd0f
Preventing channels from being loaded twice
...
Skipping channels already loaded in freerdp_channels_client_load
This prevents channels already loaded in a context to be added a
second time to the channel list.
2015-01-20 18:01:33 +01:00
Marc-André Moreau
4fe932f21f
libfreerdp-core: cleanup redirection debug output
2015-01-20 10:46:32 -05:00
Armin Novak
cbadeb4dd3
Fixed variable initialisation and cleanup.
2015-01-20 12:31:11 +01:00
Armin Novak
b07cded5d2
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:58:45 +01:00
Armin Novak
015bfeb897
Prettiefied WLog messages.
2015-01-20 11:08:41 +01:00
Armin Novak
4f42a7955f
Prettiefied WLog messages.
2015-01-20 11:06:26 +01:00
Norbert Federa
344362a8a3
clients: fix "focus in event" issues
...
The input->FocusInEvent callback implementations (normal and fast-path) have
always sent the mouse position even if the pointer was outside of the freerdp
client area. In addition xfreerdp used the wrong pointer coordinates which
were relative to the root window instead of its own.
On focus-in the pointer position must only be sent if the pointer is
currently within the program's client area. However, the clients had no way
to pass that information to input->FocusInEvent which required an API change.
- removed mouse pointer x, y parameters from input interface's FocusInEvent
- clients are responsible to call input->MouseEvent on focus-in if necessary
- fixed xfreerdp and wfreerdp accordingly
2015-01-16 18:40:57 +01:00
Marc-André Moreau
fa538911ca
libfreerdp-core: fix build on Windows
2015-01-15 15:04:35 -05:00
Marc-André Moreau
701186e461
libfreerdp-core: silence false error on server disconnect
2015-01-15 14:52:35 -05:00
Marc-André Moreau
d8ddfd83c3
libfreerdp-core: parse gateway idle timeout + final status code
2015-01-14 16:49:21 -05:00
Marc-André Moreau
94f828a873
libfreerdp-core: fix detection of TS Gateway transport disconnection
2015-01-14 15:39:35 -05:00
Marc-André Moreau
580de466fc
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-01-14 11:24:13 -05:00
Marc-André Moreau
620694c10a
Merge pull request #2301 from akallabeth/disconnect_fix
...
Disconnect / Reconnect fix
2015-01-14 08:56:54 -05:00
Armin Novak
b3eafca85b
Fixed return type for nego_transport_connect and nego_transport_disconnect.
2015-01-14 11:35:19 +01:00
Marc-André Moreau
f79deaff7b
libfreerdp-core: partial OUT channel recycling support
2015-01-13 16:35:34 -05:00
Marc-André Moreau
43fe94d939
libfreerdp-core: fix identification of OUT R1/A2 RTS PDU
2015-01-13 15:01:07 -05:00
Marc-André Moreau
fc38dcc775
libfreerdp-core: gateway cleanup
2015-01-13 13:50:46 -05:00
Martin Haimberger
bba342a6be
added set_error_info function
...
if an error_info is set, a TS_SET_ERROR_INFO_PDU
will be sent to the client on disconnect with
the error_info
2015-01-13 08:09:36 -08:00
Armin Novak
b5281b7877
Fixed broken state reset, now gateway works again.
2015-01-13 16:35:06 +01:00
Armin Novak
5f2105b930
Added prototype for freerdp_client_disconnect.
2015-01-13 12:44:16 +01:00
Armin Novak
524e4635fd
Fixed typos.
...
gdi_free now done on disconnect.
2015-01-13 12:00:51 +01:00
Armin Novak
600074373c
Fixed rdp_reset.
2015-01-12 13:47:04 +01:00
Armin Novak
e3df1d3d5b
Fixed freerdp_disconnect and freerdp_reconnect.
2015-01-12 13:44:34 +01:00
Armin Novak
e0139fc4d8
Added nego_disconnect.
2015-01-12 13:44:04 +01:00
Armin Novak
8a1f9c321c
Added nego_disconnect function.
2015-01-12 13:43:29 +01:00
Armin Novak
9274de4921
Fixed rdp_client_disconnect and rdp_reset.
2015-01-12 13:36:38 +01:00
Armin Novak
5d3091bd1c
Fixed transport cleanup on disconnect.
2015-01-12 13:32:59 +01:00
Norbert Federa
765b25933e
license: fix for corrupted licensing packets
...
Since commit a228952 FreeRDP generates corrupt licensing packets if the rdp
security layer is used and the peer did not indicate that it is capable of
processing encrypted licensing packets:
That commit changed rdp->sec_flags after the rdp stream was already initialized
with encryption enabled which placed the PDU payload at an incorrect offset.
Instead of directly modifying the rdp->sec_flags this patch temporarily
disables rdp->do_crypt during rdp stream initialization if the client has not
advertised support for encrypted licensing packets.
2015-01-12 11:31:18 +01:00
Marc-André Moreau
51554ff16c
channels: patch rdpdr/smartcard valgrind leaks, fix hang on disconnect
2014-12-28 14:56:13 -05:00