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
8d32a86318
Merge pull request #2312 from bmiklautz/cmd_line_tests
...
Command line tests and fixes
2015-01-16 07:30:10 -05:00
Marc-André Moreau
4a3488a224
Merge pull request #2313 from akallabeth/test_fix
...
Fixed SetLastError test.
2015-01-16 07:29:17 -05:00
Marc-André Moreau
c7961a8e91
Merge pull request #2314 from akallabeth/synch_test_fix
...
Fixed a race condition at thread creation
2015-01-16 07:28:48 -05:00
Armin Novak
44904ad5d2
Fixed a race condition at thread creation
...
The thread structure was incorrectly updated after the thread
function was already running. This caused a race condition with
thread exiting. When the thread function returned before the structure
was correctly updated, the exit routine cleaned up the handle as
it was incorrectly marked not started.
2015-01-16 11:26:31 +01:00
Armin Novak
052b4b4365
Fixed SetLastError test.
...
WLog initialisation checks environment variables, which may not exist
and therefore set an error. So initialise it before doing tests.
2015-01-16 10:45:34 +01:00
Bernhard Miklautz
1b18e97d7e
TestClientCmdLine: fix formating
2015-01-16 00:54:45 +01:00
Bernhard Miklautz
c70293aa60
Fix clang compiler warnings
2015-01-16 00:41:57 +01:00
Bernhard Miklautz
ddd96d0968
Add test for client command line
...
TestClientCmdLine tests if the client command line parsing
works for new and legacy command line syntax.
2015-01-16 00:25:13 +01:00
Bernhard Miklautz
5d4de15401
xfreerdp: fix crash with /monitor-list
...
Catch the case when /monitor-list was used but the X display couldn't
be opened or wasn't available.
2015-01-16 00:10:36 +01:00
Marc-André Moreau
5046b1d035
Merge pull request #2311 from awakecoding/master
...
Gateway Disconnect, Ring Buffer Fixes
2015-01-15 15:11:48 -05:00
Marc-André Moreau
fa538911ca
libfreerdp-core: fix build on Windows
2015-01-15 15:04:35 -05:00
Marc-André Moreau
1fc70fd3e1
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-01-15 14:55:32 -05:00
Marc-André Moreau
31f3c7278b
Merge pull request #2310 from akallabeth/compatibility_cmdline_fix
...
Compatibility cmdline fix
2015-01-15 14:55:13 -05:00
Marc-André Moreau
54f3f304ec
Merge pull request #2309 from akallabeth/x11_utf8_fix
...
Added patch for UTF8 window titles, fixes #1364
2015-01-15 14:53:49 -05:00
Marc-André Moreau
701186e461
libfreerdp-core: silence false error on server disconnect
2015-01-15 14:52:35 -05:00
Armin Novak
9863ccfe66
Fixed memory leak.
2015-01-15 17:19:39 +01:00
Armin Novak
dfb6176df6
Fixed multiple parsing errors for compatibility command line.
2015-01-15 17:14:29 +01:00
Armin Novak
f86ed3ffef
Fixed windows command line
...
freerdp_detect_windows_style_command_line_syntax returns negative values
in error but also in help and version case... oh boy
2015-01-15 16:01:57 +01:00
Armin Novak
e10b42e305
Fixed typo.
2015-01-15 15:26:43 +01:00
Armin Novak
9767f7f042
Added patch for UTF8 window titles, fixes #1364
2015-01-15 14:25:43 +01:00
Armin Novak
241848038c
Fixed missing NULL pointer check.
2015-01-15 14:08:33 +01:00
Armin Novak
20f7e4d301
Fixed clang warnings.
...
Fixed check for compatibility command line.
2015-01-15 13:57:28 +01:00
Armin Novak
1d4403cbbe
Fixed command line pre filter, now returning 2 to skip argument.
2015-01-15 13:56:54 +01: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
81e190eccb
libfreerdp-crypto: fix tls_write_all ringbuffer usage
2015-01-14 13:25:54 -05:00
Marc-André Moreau
98cd697cad
libfreerdp-utils: add ringbuffer debug output
2015-01-14 13:15:57 -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
1d8d363b7a
Merge pull request #2299 from bmiklautz/fix/osx_build
...
mfreerdp: fix build with latest cmake
2015-01-14 11:23:35 -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
Marc-André Moreau
d5cf0fe334
Merge pull request #2303 from MartinHaimberger/mh-error-info
...
added set_error_info function
2015-01-14 08:56:25 -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
7dda510dda
Resetting disconnect flag on client start.
...
Fixed initialisation of variable to avoid NULL dereference.
2015-01-13 12:43:27 +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
Bernhard Miklautz
df79781f3e
Merge pull request #2300 from nfedera/fix-2015-01-12-01
...
license: fix for corrupted licensing packets
2015-01-12 12:12:36 +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
Bernhard Miklautz
9ab95adf0d
mfreerdp: fix build with latest cmake
...
Newer versions of cmake seem to use CMAKE_C_FLAGS for objective-c.
Now both flags are set for compatibility.
2015-01-11 19:29:50 +01:00