platform/upstream/freerdp.git
9 years agolibfreerdp-core: improve http parsing
Marc-André Moreau [Mon, 2 Feb 2015 22:16:32 +0000 (17:16 -0500)]
libfreerdp-core: improve http parsing

9 years agolibfreerdp-core: make tsg threadless
Marc-André Moreau [Mon, 2 Feb 2015 16:50:56 +0000 (11:50 -0500)]
libfreerdp-core: make tsg threadless

9 years agolibfreerdp-core: remove receive queue, make tsg connection sequence more event-driven
Marc-André Moreau [Mon, 2 Feb 2015 13:19:07 +0000 (08:19 -0500)]
libfreerdp-core: remove receive queue, make tsg connection sequence more event-driven

9 years agolibfreerdp-core: remove TS Gateway send queue
Marc-André Moreau [Mon, 2 Feb 2015 01:47:43 +0000 (20:47 -0500)]
libfreerdp-core: remove TS Gateway send queue

9 years agolibfreerdp-core: restructure RPC connection sequence
Marc-André Moreau [Sun, 1 Feb 2015 23:50:21 +0000 (18:50 -0500)]
libfreerdp-core: restructure RPC connection sequence

9 years agolibfreerdp-core: refactor tsg connection sequence towards better state machine usage
Marc-André Moreau [Sun, 1 Feb 2015 22:55:24 +0000 (17:55 -0500)]
libfreerdp-core: refactor tsg connection sequence towards better state machine usage

9 years agolibfreerdp-core: fix possible lost signal in tsg_connect
Marc-André Moreau [Sun, 1 Feb 2015 22:06:50 +0000 (17:06 -0500)]
libfreerdp-core: fix possible lost signal in tsg_connect

9 years agolibfreerdp-core: remove usage of magic 60-byte pad in TsProxyCreateTunnelWriteRequest
Marc-André Moreau [Sun, 1 Feb 2015 20:58:32 +0000 (15:58 -0500)]
libfreerdp-core: remove usage of magic 60-byte pad in TsProxyCreateTunnelWriteRequest

9 years agolibfreerdp-core: use ringbuffer for TS Gateway receive pipe
Marc-André Moreau [Sun, 1 Feb 2015 18:09:28 +0000 (13:09 -0500)]
libfreerdp-core: use ringbuffer for TS Gateway receive pipe

9 years agolibfreerdp-core: simplify TS Gateway RPC fragment receiving
Marc-André Moreau [Sat, 31 Jan 2015 21:56:25 +0000 (16:56 -0500)]
libfreerdp-core: simplify TS Gateway RPC fragment receiving

9 years agochannels/smartcard: fix SCardTransmit pioRecvPci parsing
Marc-André Moreau [Sat, 31 Jan 2015 17:27:48 +0000 (12:27 -0500)]
channels/smartcard: fix SCardTransmit pioRecvPci parsing

9 years agolibfreerdp-core: warn but do not fail in freerdp_tcp_set_keep_alive_mode
Marc-André Moreau [Fri, 30 Jan 2015 16:34:09 +0000 (11:34 -0500)]
libfreerdp-core: warn but do not fail in freerdp_tcp_set_keep_alive_mode

9 years agoMerge pull request #2348 from awakecoding/socket
Marc-André Moreau [Fri, 30 Jan 2015 16:10:58 +0000 (11:10 -0500)]
Merge pull request #2348 from awakecoding/socket

FreeRDP Wait Events

9 years agoxfreerdp: make use of freerdp_get_event_handles
Marc-André Moreau [Fri, 30 Jan 2015 14:47:02 +0000 (09:47 -0500)]
xfreerdp: make use of freerdp_get_event_handles

9 years agofreerdp: add event handle usage instead of file descriptors
Marc-André Moreau [Fri, 30 Jan 2015 03:57:58 +0000 (22:57 -0500)]
freerdp: add event handle usage instead of file descriptors

9 years agoMerge pull request #2346 from awakecoding/gateway
Marc-André Moreau [Thu, 29 Jan 2015 20:00:37 +0000 (15:00 -0500)]
Merge pull request #2346 from awakecoding/gateway

Win32 Gateway Fix

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

9 years agoMerge pull request #2337 from bmiklautz/ci/preloads
Bernhard Miklautz [Thu, 29 Jan 2015 19:48:06 +0000 (20:48 +0100)]
Merge pull request #2337 from bmiklautz/ci/preloads

ci update cmake preloads and build fix

9 years agolibfreerdp-core: fix Win32 gateway authentication
Marc-André Moreau [Thu, 29 Jan 2015 19:07:02 +0000 (14:07 -0500)]
libfreerdp-core: fix Win32 gateway authentication

9 years agolibfreerdp-core: fix Win32 socket event handle
Marc-André Moreau [Thu, 29 Jan 2015 16:35:52 +0000 (11:35 -0500)]
libfreerdp-core: fix Win32 socket event handle

9 years agolibfreerdp-core: cleanup transport debug output
Marc-André Moreau [Wed, 28 Jan 2015 20:37:20 +0000 (15:37 -0500)]
libfreerdp-core: cleanup transport debug output

9 years agolibfreerdp-core: don't enable GatewayBypassLocal by default
Marc-André Moreau [Wed, 28 Jan 2015 20:16:31 +0000 (15:16 -0500)]
libfreerdp-core: don't enable GatewayBypassLocal by default

9 years agolibfreerdp-core: update gateway code for Windows
Marc-André Moreau [Wed, 28 Jan 2015 19:54:03 +0000 (14:54 -0500)]
libfreerdp-core: update gateway code for Windows

9 years agolibfreerdp-core: improve socket BIO handling
Marc-André Moreau [Wed, 28 Jan 2015 18:46:17 +0000 (13:46 -0500)]
libfreerdp-core: improve socket BIO handling

9 years agolibfreerdp-core: move socket event and nonblock options to socket BIO
Marc-André Moreau [Wed, 28 Jan 2015 02:18:26 +0000 (21:18 -0500)]
libfreerdp-core: move socket event and nonblock options to socket BIO

9 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Tue, 27 Jan 2015 20:55:52 +0000 (15:55 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

9 years agoMerge branch 'master' of github.com:awakecoding/FreeRDP
Marc-André Moreau [Tue, 27 Jan 2015 19:54:49 +0000 (14:54 -0500)]
Merge branch 'master' of github.com:awakecoding/FreeRDP

9 years agobuild: Disable ALSA on OS X
Bernhard Miklautz [Tue, 27 Jan 2015 00:16:24 +0000 (01:16 +0100)]
build: Disable ALSA on OS X

9 years agoci: update os x preload
Bernhard Miklautz [Tue, 27 Jan 2015 00:04:53 +0000 (01:04 +0100)]
ci: update os x preload

* enable testing
* build cups
* enable x11

9 years agoci: add cmake preload for linux
Bernhard Miklautz [Mon, 26 Jan 2015 23:24:21 +0000 (00:24 +0100)]
ci: add cmake preload for linux

Enable debugging and most features to cover as much code paths as
possible.

9 years agoMerge pull request #2335 from nfedera/fix-2015-01-26-01
Marc-André Moreau [Mon, 26 Jan 2015 19:54:08 +0000 (14:54 -0500)]
Merge pull request #2335 from nfedera/fix-2015-01-26-01

drdynvc: fix segfaults and a compiler warning

9 years agodrdynvc: fix segfaults and a compiler warning
Norbert Federa [Mon, 26 Jan 2015 18:26:38 +0000 (19:26 +0100)]
drdynvc: fix segfaults and a compiler warning

If we send a negative creation status while processing the DVC create
response pdu in drdynvc_process_create_request() we must also close
the created channel. Otherwise we will get duplicated channel IDs
in the channel manager's array list because the server will
eventually reuse the channel ids which we have reported as failed in
previous creation responses.
In order to protect the client from duplicated IDs sent by buggy or
malicious servers I've added an appropriate check in
dvcman_channel_new() which will now return NULL in this case.
Also added a missing NULL check for the result of dvcman_channel_new()
in dvcman_create_channel().

9 years agochannels/smartcard: fix buffer read alignment in SCardTransmit parsing
Marc-André Moreau [Fri, 23 Jan 2015 19:19:15 +0000 (14:19 -0500)]
channels/smartcard: fix buffer read alignment in SCardTransmit parsing

9 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Thu, 22 Jan 2015 21:07:25 +0000 (16:07 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

9 years agolibwinpr-utils: fix Win32 undefined function write error
Marc-André Moreau [Thu, 22 Jan 2015 21:06:18 +0000 (16:06 -0500)]
libwinpr-utils: fix Win32 undefined function write error

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 agolibwinpr-smartcard: stub new transaction system
Marc-André Moreau [Wed, 21 Jan 2015 02:40:45 +0000 (21:40 -0500)]
libwinpr-smartcard: stub new transaction system

9 years agolibwinpr-smartcard: remove unused (and useless) pcsc-lite static link option
Marc-André Moreau [Wed, 21 Jan 2015 01:15:10 +0000 (20:15 -0500)]
libwinpr-smartcard: remove unused (and useless) pcsc-lite static link option

9 years agolibwinpr-winscard: add WINPR_WINSCARD_LOCK_TRANSACTIONS environment variable, fix...
Marc-André Moreau [Tue, 20 Jan 2015 20:29:05 +0000 (15:29 -0500)]
libwinpr-winscard: add WINPR_WINSCARD_LOCK_TRANSACTIONS environment variable, fix winpr_HexDump line feeds

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 agochannels/smartcard: cleanup debug output
Marc-André Moreau [Tue, 20 Jan 2015 16:16:37 +0000 (11:16 -0500)]
channels/smartcard: cleanup debug output

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