platform/upstream/freerdp.git
9 years agobuild: set minimum wayland version to 1.3.0
Bernhard Miklautz [Wed, 21 Jan 2015 11:33:39 +0000 (12:33 +0100)]
build: set minimum wayland version to 1.3.0

9 years agoMerge pull request #2321 from awakecoding/master
Marc-André Moreau [Tue, 20 Jan 2015 15:55:15 +0000 (10:55 -0500)]
Merge pull request #2321 from awakecoding/master

SmartCard Robustness, Revert broken channel loading

9 years agolibfreerdp-core: cleanup redirection debug output
Marc-André Moreau [Tue, 20 Jan 2015 15:46:32 +0000 (10:46 -0500)]
libfreerdp-core: cleanup redirection debug output

9 years agoRevert "Moved channel loading, now only loading before connect."
Marc-André Moreau [Tue, 20 Jan 2015 15:15:37 +0000 (10:15 -0500)]
Revert "Moved channel loading, now only loading before connect."

This reverts commit f7756efca6f8b9d885842f4b0954afa04d19271e.

9 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Tue, 20 Jan 2015 14:29:21 +0000 (09:29 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

9 years agoMerge pull request #2319 from akallabeth/channel_reconnect_fix
Marc-André Moreau [Tue, 20 Jan 2015 12:22:25 +0000 (07:22 -0500)]
Merge pull request #2319 from akallabeth/channel_reconnect_fix

Channel reconnect fix

9 years agoFixed iOS undeclared identifier error.
Armin Novak [Tue, 20 Jan 2015 11:42:02 +0000 (12:42 +0100)]
Fixed iOS undeclared identifier error.

9 years agoFixed variable initialisation and cleanup.
Armin Novak [Tue, 20 Jan 2015 11:31:43 +0000 (12:31 +0100)]
Fixed variable initialisation and cleanup.

9 years agoFixed variable initialisation and cleanup.
Armin Novak [Tue, 20 Jan 2015 11:31:39 +0000 (12:31 +0100)]
Fixed variable initialisation and cleanup.

9 years agoFixed variable initialisation and cleanup.
Armin Novak [Tue, 20 Jan 2015 11:31:37 +0000 (12:31 +0100)]
Fixed variable initialisation and cleanup.

9 years agoFixed variable initialisation and cleanup.
Armin Novak [Tue, 20 Jan 2015 11:31:30 +0000 (12:31 +0100)]
Fixed variable initialisation and cleanup.

9 years agoFixed variable initialisation and cleanup.
Armin Novak [Tue, 20 Jan 2015 11:31:26 +0000 (12:31 +0100)]
Fixed variable initialisation and cleanup.

9 years agoFixed variable initialisation and cleanup.
Armin Novak [Tue, 20 Jan 2015 11:31:21 +0000 (12:31 +0100)]
Fixed variable initialisation and cleanup.

9 years agoFixed variable initialisation and cleanup.
Armin Novak [Tue, 20 Jan 2015 11:31:16 +0000 (12:31 +0100)]
Fixed variable initialisation and cleanup.

9 years agoFixed variable initialisation and cleanup.
Armin Novak [Tue, 20 Jan 2015 11:31:11 +0000 (12:31 +0100)]
Fixed variable initialisation and cleanup.

9 years agoMoved channel loading, now only loading before connect.
Armin Novak [Tue, 20 Jan 2015 11:13:08 +0000 (12:13 +0100)]
Moved channel loading, now only loading before connect.

9 years agoFixed resource cleanup locations.
Armin Novak [Tue, 20 Jan 2015 10:59:13 +0000 (11:59 +0100)]
Fixed resource cleanup locations.
Additional error checks and logging.

9 years agoAdded CHANNEL_EVENT_DISCONNECTED handling.
Armin Novak [Tue, 20 Jan 2015 10:58:45 +0000 (11:58 +0100)]
Added CHANNEL_EVENT_DISCONNECTED handling.
Additional error checks and logging.

9 years agoAdded CHANNEL_EVENT_DISCONNECTED handling.
Armin Novak [Tue, 20 Jan 2015 10:58:09 +0000 (11:58 +0100)]
Added CHANNEL_EVENT_DISCONNECTED handling.
Additional error checks and logging.

9 years agoAdded CHANNEL_EVENT_DISCONNECTED handling.
Armin Novak [Tue, 20 Jan 2015 10:58:04 +0000 (11:58 +0100)]
Added CHANNEL_EVENT_DISCONNECTED handling.
Additional error checks and logging.

9 years agoAdded CHANNEL_EVENT_DISCONNECTED handling.
Armin Novak [Tue, 20 Jan 2015 10:55:50 +0000 (11:55 +0100)]
Added CHANNEL_EVENT_DISCONNECTED handling.
Additional error checks and logging.

9 years agoAdded CHANNEL_EVENT_DISCONNECTED handling.
Armin Novak [Tue, 20 Jan 2015 10:55:22 +0000 (11:55 +0100)]
Added CHANNEL_EVENT_DISCONNECTED handling.
Additional error checks and logging.

9 years agoFixed resource cleanup locations.
Armin Novak [Tue, 20 Jan 2015 10:53:12 +0000 (11:53 +0100)]
Fixed resource cleanup locations.
Additional error checks and logging.

9 years agoAdded CHANNEL_EVENT_DISCONNECTED handling.
Armin Novak [Tue, 20 Jan 2015 10:47:47 +0000 (11:47 +0100)]
Added CHANNEL_EVENT_DISCONNECTED handling.
Additional error checks and logging.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:46:25 +0000 (11:46 +0100)]
Prettiefied WLog messages.

9 years agoAdded CHANNEL_EVENT_DISCONNECTED handling.
Armin Novak [Tue, 20 Jan 2015 10:45:36 +0000 (11:45 +0100)]
Added CHANNEL_EVENT_DISCONNECTED handling.
Additional error checks and logging.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:39:33 +0000 (11:39 +0100)]
Prettiefied WLog messages.

9 years agoRemoved duplicated close call
Armin Novak [Tue, 20 Jan 2015 10:39:13 +0000 (11:39 +0100)]
Removed duplicated close call

9 years agoFixed argument for freerdp_channels_client_load, using proper type now.
Armin Novak [Tue, 20 Jan 2015 10:32:04 +0000 (11:32 +0100)]
Fixed argument for freerdp_channels_client_load, using proper type now.

9 years agoResetting DynamicChannelCount on addin load now.
Armin Novak [Tue, 20 Jan 2015 10:26:53 +0000 (11:26 +0100)]
Resetting DynamicChannelCount on addin load now.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:26:08 +0000 (11:26 +0100)]
Prettiefied WLog messages.

9 years agoUsing freerdp_channels_disconnect now.
Armin Novak [Tue, 20 Jan 2015 10:26:00 +0000 (11:26 +0100)]
Using freerdp_channels_disconnect now.

9 years agoUsing freerdp_channels_disconnect now.
Armin Novak [Tue, 20 Jan 2015 10:25:14 +0000 (11:25 +0100)]
Using freerdp_channels_disconnect now.

9 years agoUsing freerdp_channels_disconnect now.
Armin Novak [Tue, 20 Jan 2015 10:24:58 +0000 (11:24 +0100)]
Using freerdp_channels_disconnect now.

9 years agoUsing freerdp_channels_disconnect now.
Armin Novak [Tue, 20 Jan 2015 10:24:36 +0000 (11:24 +0100)]
Using freerdp_channels_disconnect now.

9 years agoUsing freerdp_channels_disconnect now.
Armin Novak [Tue, 20 Jan 2015 10:24:26 +0000 (11:24 +0100)]
Using freerdp_channels_disconnect now.

9 years agoUsing freerdp_channels_disconnect now.
Armin Novak [Tue, 20 Jan 2015 10:24:14 +0000 (11:24 +0100)]
Using freerdp_channels_disconnect now.

9 years agoUsing freerdp_channels_disconnect now.
Armin Novak [Tue, 20 Jan 2015 10:24:03 +0000 (11:24 +0100)]
Using freerdp_channels_disconnect now.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:23:12 +0000 (11:23 +0100)]
Prettiefied WLog messages.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:20:38 +0000 (11:20 +0100)]
Prettiefied WLog messages.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:20:09 +0000 (11:20 +0100)]
Prettiefied WLog messages.

9 years agoAdded freerdp_channels_disconnect
Armin Novak [Tue, 20 Jan 2015 10:10:39 +0000 (11:10 +0100)]
Added freerdp_channels_disconnect

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:10:16 +0000 (11:10 +0100)]
Prettiefied WLog messages.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:10:03 +0000 (11:10 +0100)]
Prettiefied WLog messages.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:09:54 +0000 (11:09 +0100)]
Prettiefied WLog messages.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:08:41 +0000 (11:08 +0100)]
Prettiefied WLog messages.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:06:26 +0000 (11:06 +0100)]
Prettiefied WLog messages.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:05:56 +0000 (11:05 +0100)]
Prettiefied WLog messages.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:05:45 +0000 (11:05 +0100)]
Prettiefied WLog messages.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:05:32 +0000 (11:05 +0100)]
Prettiefied WLog messages.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:05:18 +0000 (11:05 +0100)]
Prettiefied WLog messages.

9 years agoPrettiefied WLog messages.
Armin Novak [Tue, 20 Jan 2015 10:04:23 +0000 (11:04 +0100)]
Prettiefied WLog messages.

9 years agoAdded function WTSErrorToString to get a string from an error code.
Armin Novak [Tue, 20 Jan 2015 10:03:21 +0000 (11:03 +0100)]
Added function WTSErrorToString to get a string from an error code.

9 years agolibwinpr-smartcard: add SCARD_ATTR_CHANNEL_ID
Marc-André Moreau [Mon, 19 Jan 2015 19:56:02 +0000 (14:56 -0500)]
libwinpr-smartcard: add SCARD_ATTR_CHANNEL_ID

9 years agochannels/smartcard: minor robustness fixes
Marc-André Moreau [Mon, 19 Jan 2015 17:04:23 +0000 (12:04 -0500)]
channels/smartcard: minor robustness fixes

9 years agoMerge pull request #2316 from nfedera/fix-2015-01-16-01
Marc-André Moreau [Mon, 19 Jan 2015 12:43:44 +0000 (07:43 -0500)]
Merge pull request #2316 from nfedera/fix-2015-01-16-01

clients: fix "focus in event" issues

9 years agoMerge pull request #2317 from bmiklautz/wayland_detection
Marc-André Moreau [Mon, 19 Jan 2015 12:43:00 +0000 (07:43 -0500)]
Merge pull request #2317 from bmiklautz/wayland_detection

build: improve wayland detection

9 years agobuild: improve wayland detection
Bernhard Miklautz [Sun, 18 Jan 2015 21:23:50 +0000 (22:23 +0100)]
build: improve wayland detection

* add support to check wayland client version
* set minimum required version to 0.95

9 years agoclients: fix "focus in event" issues
Norbert Federa [Fri, 16 Jan 2015 17:40:57 +0000 (18:40 +0100)]
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

9 years agoMerge pull request #2312 from bmiklautz/cmd_line_tests
Marc-André Moreau [Fri, 16 Jan 2015 12:30:10 +0000 (07:30 -0500)]
Merge pull request #2312 from bmiklautz/cmd_line_tests

Command line tests and fixes

9 years agoMerge pull request #2313 from akallabeth/test_fix
Marc-André Moreau [Fri, 16 Jan 2015 12:29:17 +0000 (07:29 -0500)]
Merge pull request #2313 from akallabeth/test_fix

Fixed SetLastError test.

9 years agoMerge pull request #2314 from akallabeth/synch_test_fix
Marc-André Moreau [Fri, 16 Jan 2015 12:28:48 +0000 (07:28 -0500)]
Merge pull request #2314 from akallabeth/synch_test_fix

Fixed a race condition at thread creation

9 years agoFixed a race condition at thread creation
Armin Novak [Fri, 16 Jan 2015 10:26:31 +0000 (11:26 +0100)]
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.

9 years agoFixed SetLastError test.
Armin Novak [Fri, 16 Jan 2015 09:11:50 +0000 (10:11 +0100)]
Fixed SetLastError test.

WLog initialisation checks environment variables, which may not exist
and therefore set an error. So initialise it before doing tests.

9 years agoTestClientCmdLine: fix formating
Bernhard Miklautz [Thu, 15 Jan 2015 23:54:45 +0000 (00:54 +0100)]
TestClientCmdLine: fix formating

9 years agoFix clang compiler warnings
Bernhard Miklautz [Thu, 15 Jan 2015 23:41:57 +0000 (00:41 +0100)]
Fix clang compiler warnings

9 years agoAdd test for client command line
Bernhard Miklautz [Thu, 15 Jan 2015 23:25:13 +0000 (00:25 +0100)]
Add test for client command line

TestClientCmdLine tests if the client command line parsing
works for new and legacy command line syntax.

9 years agoxfreerdp: fix crash with /monitor-list
Bernhard Miklautz [Thu, 15 Jan 2015 20:38:52 +0000 (21:38 +0100)]
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.

9 years agoMerge pull request #2311 from awakecoding/master
Marc-André Moreau [Thu, 15 Jan 2015 20:11:48 +0000 (15:11 -0500)]
Merge pull request #2311 from awakecoding/master

Gateway Disconnect, Ring Buffer Fixes

9 years agolibfreerdp-core: fix build on Windows
Marc-André Moreau [Thu, 15 Jan 2015 20:04:35 +0000 (15:04 -0500)]
libfreerdp-core: fix build on Windows

9 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Thu, 15 Jan 2015 19:55:32 +0000 (14:55 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

9 years agoMerge pull request #2310 from akallabeth/compatibility_cmdline_fix
Marc-André Moreau [Thu, 15 Jan 2015 19:55:13 +0000 (14:55 -0500)]
Merge pull request #2310 from akallabeth/compatibility_cmdline_fix

Compatibility cmdline fix

9 years agoMerge pull request #2309 from akallabeth/x11_utf8_fix
Marc-André Moreau [Thu, 15 Jan 2015 19:53:49 +0000 (14:53 -0500)]
Merge pull request #2309 from akallabeth/x11_utf8_fix

Added patch for UTF8 window titles, fixes #1364

9 years agolibfreerdp-core: silence false error on server disconnect
Marc-André Moreau [Thu, 15 Jan 2015 19:52:35 +0000 (14:52 -0500)]
libfreerdp-core: silence false error on server disconnect

9 years agoFixed memory leak.
Armin Novak [Thu, 15 Jan 2015 16:19:39 +0000 (17:19 +0100)]
Fixed memory leak.

9 years agoFixed multiple parsing errors for compatibility command line.
Armin Novak [Thu, 15 Jan 2015 16:14:29 +0000 (17:14 +0100)]
Fixed multiple parsing errors for compatibility command line.

9 years agoFixed windows command line
Armin Novak [Thu, 15 Jan 2015 15:01:57 +0000 (16:01 +0100)]
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

9 years agoFixed typo.
Armin Novak [Thu, 15 Jan 2015 14:26:43 +0000 (15:26 +0100)]
Fixed typo.

9 years agoAdded patch for UTF8 window titles, fixes #1364
Armin Novak [Thu, 15 Jan 2015 13:25:43 +0000 (14:25 +0100)]
Added patch for UTF8 window titles, fixes #1364

9 years agoFixed missing NULL pointer check.
Armin Novak [Thu, 15 Jan 2015 13:08:33 +0000 (14:08 +0100)]
Fixed missing NULL pointer check.

9 years agoFixed clang warnings.
Armin Novak [Thu, 15 Jan 2015 12:57:28 +0000 (13:57 +0100)]
Fixed clang warnings.
Fixed check for compatibility command line.

9 years agoFixed command line pre filter, now returning 2 to skip argument.
Armin Novak [Thu, 15 Jan 2015 12:56:54 +0000 (13:56 +0100)]
Fixed command line pre filter, now returning 2 to skip argument.

9 years agolibfreerdp-core: parse gateway idle timeout + final status code
Marc-André Moreau [Wed, 14 Jan 2015 21:49:21 +0000 (16:49 -0500)]
libfreerdp-core: parse gateway idle timeout + final status code

9 years agolibfreerdp-core: fix detection of TS Gateway transport disconnection
Marc-André Moreau [Wed, 14 Jan 2015 20:39:35 +0000 (15:39 -0500)]
libfreerdp-core: fix detection of TS Gateway transport disconnection

9 years agolibfreerdp-crypto: fix tls_write_all ringbuffer usage
Marc-André Moreau [Wed, 14 Jan 2015 18:25:54 +0000 (13:25 -0500)]
libfreerdp-crypto: fix tls_write_all ringbuffer usage

9 years agolibfreerdp-utils: add ringbuffer debug output
Marc-André Moreau [Wed, 14 Jan 2015 18:15:57 +0000 (13:15 -0500)]
libfreerdp-utils: add ringbuffer debug output

9 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Wed, 14 Jan 2015 16:24:13 +0000 (11:24 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

9 years agoMerge pull request #2299 from bmiklautz/fix/osx_build
Marc-André Moreau [Wed, 14 Jan 2015 16:23:35 +0000 (11:23 -0500)]
Merge pull request #2299 from bmiklautz/fix/osx_build

mfreerdp: fix build with latest cmake

9 years agoMerge pull request #2301 from akallabeth/disconnect_fix
Marc-André Moreau [Wed, 14 Jan 2015 13:56:54 +0000 (08:56 -0500)]
Merge pull request #2301 from akallabeth/disconnect_fix

Disconnect / Reconnect fix

9 years agoMerge pull request #2303 from MartinHaimberger/mh-error-info
Marc-André Moreau [Wed, 14 Jan 2015 13:56:25 +0000 (08:56 -0500)]
Merge pull request #2303 from MartinHaimberger/mh-error-info

added set_error_info function

9 years agoFixed return type for nego_transport_connect and nego_transport_disconnect.
Armin Novak [Wed, 14 Jan 2015 10:35:19 +0000 (11:35 +0100)]
Fixed return type for nego_transport_connect and nego_transport_disconnect.

9 years agolibfreerdp-core: partial OUT channel recycling support
Marc-André Moreau [Tue, 13 Jan 2015 21:35:34 +0000 (16:35 -0500)]
libfreerdp-core: partial OUT channel recycling support

9 years agolibfreerdp-core: fix identification of OUT R1/A2 RTS PDU
Marc-André Moreau [Tue, 13 Jan 2015 20:01:07 +0000 (15:01 -0500)]
libfreerdp-core: fix identification of OUT R1/A2 RTS PDU

9 years agolibfreerdp-core: gateway cleanup
Marc-André Moreau [Tue, 13 Jan 2015 18:50:46 +0000 (13:50 -0500)]
libfreerdp-core: gateway cleanup

9 years agoadded set_error_info function
Martin Haimberger [Tue, 13 Jan 2015 16:09:36 +0000 (08:09 -0800)]
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

9 years agoFixed broken state reset, now gateway works again.
Armin Novak [Tue, 13 Jan 2015 15:35:06 +0000 (16:35 +0100)]
Fixed broken state reset, now gateway works again.

9 years agoAdded prototype for freerdp_client_disconnect.
Armin Novak [Tue, 13 Jan 2015 11:44:16 +0000 (12:44 +0100)]
Added prototype for freerdp_client_disconnect.

9 years agoResetting disconnect flag on client start.
Armin Novak [Tue, 13 Jan 2015 11:43:27 +0000 (12:43 +0100)]
Resetting disconnect flag on client start.
Fixed initialisation of variable to avoid NULL dereference.

9 years agoFixed typos.
Armin Novak [Tue, 13 Jan 2015 11:00:51 +0000 (12:00 +0100)]
Fixed typos.
gdi_free now done on disconnect.

9 years agoFixed rdp_reset.
Armin Novak [Mon, 12 Jan 2015 12:47:04 +0000 (13:47 +0100)]
Fixed rdp_reset.