platform/upstream/freerdp.git
9 years agopkg/rpm: add initial version of freerdp-nightly
Bernhard Miklautz [Fri, 23 Jan 2015 01:06:12 +0000 (02:06 +0100)]
pkg/rpm: add initial version of freerdp-nightly

9 years agoMerge pull request #2320 from nfedera/fix-2015-01-20-01
Marc-André Moreau [Thu, 22 Jan 2015 21:05:55 +0000 (16:05 -0500)]
Merge pull request #2320 from nfedera/fix-2015-01-20-01

build/win32: fix static build

9 years agoMerge pull request #2322 from akallabeth/channel_load_once
Marc-André Moreau [Thu, 22 Jan 2015 21:05:41 +0000 (16:05 -0500)]
Merge pull request #2322 from akallabeth/channel_load_once

Preventing channels from being loaded twice

9 years agoMerge pull request #2330 from akallabeth/h264_decoder_fix
Marc-André Moreau [Thu, 22 Jan 2015 21:05:09 +0000 (16:05 -0500)]
Merge pull request #2330 from akallabeth/h264_decoder_fix

Fixed buffer size checks in h264_decompress

9 years agoMerge pull request #2327 from akallabeth/dynamic_channel_cleanup_fix
Marc-André Moreau [Thu, 22 Jan 2015 21:04:39 +0000 (16:04 -0500)]
Merge pull request #2327 from akallabeth/dynamic_channel_cleanup_fix

Fixes cleanup when closing a dynamic channel.

9 years agoMerge pull request #2328 from bmiklautz/pkg_deb
Marc-André Moreau [Thu, 22 Jan 2015 18:00:56 +0000 (13:00 -0500)]
Merge pull request #2328 from bmiklautz/pkg_deb

initially add .deb packaging

9 years agoUpdated h264_decompress arguments.
Armin Novak [Thu, 22 Jan 2015 12:24:33 +0000 (13:24 +0100)]
Updated h264_decompress arguments.

9 years agoUpdated h264_decompress arguments.
Armin Novak [Thu, 22 Jan 2015 12:24:15 +0000 (13:24 +0100)]
Updated h264_decompress arguments.

9 years agoAdded destination buffer width to h264_decompress.
Armin Novak [Thu, 22 Jan 2015 12:23:59 +0000 (13:23 +0100)]
Added destination buffer width to h264_decompress.

9 years agoAdded destination buffer width to h264_decompress.
Armin Novak [Thu, 22 Jan 2015 12:22:53 +0000 (13:22 +0100)]
Added destination buffer width to h264_decompress.
Added proper region limit checks in h264_decompress.

9 years agoRemoved broken buffer size check.
Armin Novak [Thu, 22 Jan 2015 12:06:37 +0000 (13:06 +0100)]
Removed broken buffer size check.

To check the decoded h264 frame size against the output buffer is wrong.
The size of the output buffer must only hold the data defined by the
region rectangles.

9 years agopkg/deb: add workaround for cmake <= 2.8.10
Bernhard Miklautz [Thu, 22 Jan 2015 00:57:32 +0000 (01:57 +0100)]
pkg/deb: add workaround for cmake <= 2.8.10

PACKAGES are not exported with cmake <= 2.8.10 therefore always create
lib/cmake directory that install doesn't fail

9 years agopkg/deb: install libraries to lib
Bernhard Miklautz [Thu, 22 Jan 2015 00:35:38 +0000 (01:35 +0100)]
pkg/deb: install libraries to lib

Recent cmake versions (starting with 3.0) don't use multiarch
libdir when the install prefix is not /usr. To have the same library
directory for all packages explicitly set CMAKE_INSTALL_LIBDIR to lib.

9 years agopackaging/deb: add prepare_deb_freerdp-nightly.sh
Bernhard Miklautz [Wed, 21 Jan 2015 23:03:19 +0000 (00:03 +0100)]
packaging/deb: add prepare_deb_freerdp-nightly.sh

* this script is used to prepare the source tree for freerdp-nightly
 packaing
* update .gitignore accordingly

9 years agopackaging/deb: initial version of freerdp-nightly
Bernhard Miklautz [Wed, 21 Jan 2015 23:00:02 +0000 (00:00 +0100)]
packaging/deb: initial version of freerdp-nightly

9 years agoMoved arraylist remove to dvcman_close_channel
Armin Novak [Wed, 21 Jan 2015 13:16:23 +0000 (14:16 +0100)]
Moved arraylist remove to dvcman_close_channel

This ensures, that the resources are also cleaned up if no channel
listener was registered.

9 years agoFixes cleanup when closing a dynamic channel.
Armin Novak [Wed, 21 Jan 2015 11:58:18 +0000 (12:58 +0100)]
Fixes cleanup when closing a dynamic channel.

The resource cleanup was executed twice for each dynamic channel.
Now cleaning up the resources by array list free callback and only
when closing the channel.

9 years agoMerge pull request #2326 from bmiklautz/wl_version_fix
Marc-André Moreau [Wed, 21 Jan 2015 11:45:54 +0000 (06:45 -0500)]
Merge pull request #2326 from bmiklautz/wl_version_fix

build: set minimum wayland version to 1.3.0

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 agoPreventing channels from being loaded twice
Armin Novak [Tue, 20 Jan 2015 17:01:33 +0000 (18:01 +0100)]
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.

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 agobuild/win32: fix static build
Norbert Federa [Tue, 20 Jan 2015 15:23:05 +0000 (16:23 +0100)]
build/win32: fix static build

version.rc must only be included in client executable

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.