platform/upstream/freerdp.git
7 years agoprimitives: Fix compiler error
Martin Fleisz [Fri, 25 Nov 2016 09:47:00 +0000 (10:47 +0100)]
primitives: Fix compiler error

7 years agoMerge pull request #3619 from akallabeth/image_copy_ignore_alpha
Martin Fleisz [Fri, 25 Nov 2016 09:38:56 +0000 (10:38 +0100)]
Merge pull request #3619 from akallabeth/image_copy_ignore_alpha

Ignore alpha channel in freerdp_image_copy

7 years agoMerge pull request #3618 from akallabeth/x11_scanline_full_fix
Martin Fleisz [Fri, 25 Nov 2016 09:21:26 +0000 (10:21 +0100)]
Merge pull request #3618 from akallabeth/x11_scanline_full_fix

Unified X11 scanline calculation

7 years agoMerge pull request #3591 from akallabeth/android_load_library_workaround
Martin Fleisz [Thu, 24 Nov 2016 14:45:23 +0000 (15:45 +0100)]
Merge pull request #3591 from akallabeth/android_load_library_workaround

Fixed library loader paths for android

7 years agoFixed addin loader, prefer system library paths.
Armin Novak [Thu, 10 Nov 2016 09:18:55 +0000 (10:18 +0100)]
Fixed addin loader, prefer system library paths.

7 years agoMerge pull request #3563 from akallabeth/android_update
Martin Fleisz [Thu, 24 Nov 2016 11:59:30 +0000 (12:59 +0100)]
Merge pull request #3563 from akallabeth/android_update

Android fix warnings, visibility and formatting

7 years agoMerge pull request #3621 from akallabeth/optimized_tests
Bernhard Miklautz [Thu, 24 Nov 2016 11:09:35 +0000 (12:09 +0100)]
Merge pull request #3621 from akallabeth/optimized_tests

Reduced number of test runs. Fixes #3617.

7 years agoMerge pull request #3620 from mfleisz/wtsapi_fix
Bernhard Miklautz [Thu, 24 Nov 2016 10:58:01 +0000 (11:58 +0100)]
Merge pull request #3620 from mfleisz/wtsapi_fix

wtsapi: Fix issue with setting custom API table

7 years agoReduced number of test runs. Fixes 3617.
Armin Novak [Thu, 24 Nov 2016 09:50:16 +0000 (10:50 +0100)]
Reduced number of test runs. Fixes 3617.

7 years agoAdded optimized write functions.
Armin Novak [Thu, 24 Nov 2016 09:37:21 +0000 (10:37 +0100)]
Added optimized write functions.

7 years agoAdded optimized write functions.
Armin Novak [Thu, 24 Nov 2016 09:36:57 +0000 (10:36 +0100)]
Added optimized write functions.

7 years agowtsapi: Fix issue with setting custom API table
Martin Fleisz [Thu, 24 Nov 2016 09:35:36 +0000 (10:35 +0100)]
wtsapi: Fix issue with setting custom API table

7 years agoMoved format size calculation out of loop.
Armin Novak [Thu, 24 Nov 2016 09:01:45 +0000 (10:01 +0100)]
Moved format size calculation out of loop.

7 years agoMerge pull request #3610 from FreeRDP/mh-channels-new-api
akallabeth [Thu, 24 Nov 2016 08:42:30 +0000 (09:42 +0100)]
Merge pull request #3610 from FreeRDP/mh-channels-new-api

Channels - use new VirtualChannelEx api

7 years agoIgnore alpha channel in freerdp_image_copy
Armin Novak [Thu, 24 Nov 2016 08:27:19 +0000 (09:27 +0100)]
Ignore alpha channel in freerdp_image_copy

When copying image data consider formats that only differ on use
of alpha data equal. This allows using the optimized copy routine
instead of the slower color conversion routine. Fixes #3616

7 years agoUnified scanline padding function.
Armin Novak [Thu, 24 Nov 2016 08:02:06 +0000 (09:02 +0100)]
Unified scanline padding function.

7 years agoMerge pull request #3612 from akallabeth/align_fix
Norbert Federa [Wed, 23 Nov 2016 16:57:47 +0000 (17:57 +0100)]
Merge pull request #3612 from akallabeth/align_fix

Fixed broken scanline alignment.

7 years agoMerge pull request #3603 from realjiangms/fix_shadow_resize
Martin Fleisz [Wed, 23 Nov 2016 14:47:32 +0000 (15:47 +0100)]
Merge pull request #3603 from realjiangms/fix_shadow_resize

X11/client: call gdi resize on hw desktop resize.

7 years agofixed error
Martin Haimberger [Wed, 23 Nov 2016 12:22:03 +0000 (04:22 -0800)]
fixed error

7 years agovirtualChannel: removed static variable usage from
Martin Haimberger [Wed, 23 Nov 2016 12:17:56 +0000 (04:17 -0800)]
virtualChannel: removed static variable usage from

VirtualChannelApi

7 years agoFixed broken scanline alignment.
Armin Novak [Wed, 23 Nov 2016 11:54:20 +0000 (12:54 +0100)]
Fixed broken scanline alignment.

7 years agordpsnd: using new VirtualChannelEx api
Martin Haimberger [Tue, 22 Nov 2016 13:47:20 +0000 (05:47 -0800)]
rdpsnd: using new VirtualChannelEx api

7 years agordpdr: using new VirtualChannelEx api
Martin Haimberger [Tue, 22 Nov 2016 11:33:41 +0000 (03:33 -0800)]
rdpdr: using new VirtualChannelEx api

7 years agoremdesk: Using new VirtualChannelEx api
Martin Haimberger [Tue, 22 Nov 2016 11:27:05 +0000 (03:27 -0800)]
remdesk: Using new VirtualChannelEx api

7 years agorail: using new VirtualChannelEx api
Martin Haimberger [Tue, 22 Nov 2016 11:18:38 +0000 (03:18 -0800)]
rail: using new VirtualChannelEx api

7 years agoencomsp: using new VirtualChannelEx api
Martin Haimberger [Tue, 22 Nov 2016 11:08:33 +0000 (03:08 -0800)]
encomsp: using new VirtualChannelEx api

7 years agoMerge pull request #3608 from mfleisz/msvc10_fixes
Martin Fleisz [Tue, 22 Nov 2016 13:00:08 +0000 (14:00 +0100)]
Merge pull request #3608 from mfleisz/msvc10_fixes

codec: Fix compilation with VS2010

7 years agocodec: Fix compilation with VS2010
Martin Fleisz [Tue, 22 Nov 2016 11:12:08 +0000 (12:12 +0100)]
codec: Fix compilation with VS2010

7 years agocliprdr: using new VirtualChannelEx api
Martin Haimberger [Tue, 22 Nov 2016 10:33:23 +0000 (02:33 -0800)]
cliprdr: using new VirtualChannelEx api

7 years agoMerge pull request #3594 from akallabeth/line_draw_color_format
Martin Fleisz [Fri, 18 Nov 2016 11:46:14 +0000 (12:46 +0100)]
Merge pull request #3594 from akallabeth/line_draw_color_format

Fixed line drawing color format #3592

7 years agoMerge pull request #3581 from akallabeth/alignment_fix
Martin Fleisz [Thu, 17 Nov 2016 14:41:17 +0000 (15:41 +0100)]
Merge pull request #3581 from akallabeth/alignment_fix

Fixed surface alignment.

7 years agoX11/client: call gdi resize on hw desktop resize. The gdi primary buffer is used...
zihao.jiang [Thu, 17 Nov 2016 06:36:02 +0000 (14:36 +0800)]
X11/client: call gdi resize on hw desktop resize. The gdi primary buffer is used in client/X11/xf_gdi.c, it should be big enough to hold the full screen update

7 years agoMerge pull request #3593 from ccpp/gateway-http-bugfix
akallabeth [Wed, 16 Nov 2016 18:27:55 +0000 (19:27 +0100)]
Merge pull request #3593 from ccpp/gateway-http-bugfix

Bugfix in RDP Gateway HTTP: read/skip full HTTP body

7 years agoMerge pull request #3597 from awakecoding/tls_channel_fix
Marc-André Moreau [Wed, 16 Nov 2016 16:37:14 +0000 (11:37 -0500)]
Merge pull request #3597 from awakecoding/tls_channel_fix

Virtual Channel Mapping Fix

7 years agochannels: properly handle VirtualChannelEntryEx in static virtual channel loading
Marc-André Moreau [Wed, 16 Nov 2016 14:52:24 +0000 (09:52 -0500)]
channels: properly handle VirtualChannelEntryEx in static virtual channel loading

7 years agochannels/drdynvc: fix channel entry point name
Marc-André Moreau [Tue, 15 Nov 2016 17:37:50 +0000 (12:37 -0500)]
channels/drdynvc: fix channel entry point name

7 years agochannels: remove thread-local storage usage
Marc-André Moreau [Tue, 15 Nov 2016 16:41:01 +0000 (11:41 -0500)]
channels: remove thread-local storage usage

7 years agochannels: migrate drdynvc to extended virtual channel API
Marc-André Moreau [Tue, 15 Nov 2016 15:58:38 +0000 (10:58 -0500)]
channels: migrate drdynvc to extended virtual channel API

7 years agochannels: prepare virtual channel system for extended virtual channel API
Marc-André Moreau [Tue, 15 Nov 2016 14:09:30 +0000 (09:09 -0500)]
channels: prepare virtual channel system for extended virtual channel API

7 years agochannels: start working on extended virtual channel API
Marc-André Moreau [Mon, 14 Nov 2016 21:44:45 +0000 (16:44 -0500)]
channels: start working on extended virtual channel API

7 years agochannels: restore global tables for initHandle, openHandle mappings instead of thread...
Marc-André Moreau [Mon, 14 Nov 2016 20:23:05 +0000 (15:23 -0500)]
channels: restore global tables for initHandle, openHandle mappings instead of thread local storage

7 years agoFixed line drawing color format #3592
Armin Novak [Mon, 14 Nov 2016 08:36:16 +0000 (09:36 +0100)]
Fixed line drawing color format #3592

7 years agoBugfix in RDP Gateway HTTP: read/skip full HTTP body for non-RPC responses
Christian Plattner [Sun, 13 Nov 2016 02:26:01 +0000 (03:26 +0100)]
Bugfix in RDP Gateway HTTP: read/skip full HTTP body for non-RPC responses

This fixes issues #3300 and #3479, but it reveals that there might be a timeout issue with /gt:http and /gt:auto

7 years agoMerge pull request #3572 from rjcorrig/maclogin
akallabeth [Thu, 10 Nov 2016 07:56:34 +0000 (08:56 +0100)]
Merge pull request #3572 from rjcorrig/maclogin

client/mac: Run password dialog as a modal sheet and set window title to server:port

8 years agoMerge pull request #3578 from realjiangms/fix_server_for_limit_frames
David Fort [Thu, 3 Nov 2016 21:50:08 +0000 (22:50 +0100)]
Merge pull request #3578 from realjiangms/fix_server_for_limit_frames

Fix server side code to be aware of rereadEvent

8 years agoMerge pull request #3584 from awakecoding/master
Bernhard Miklautz [Thu, 3 Nov 2016 14:57:35 +0000 (15:57 +0100)]
Merge pull request #3584 from awakecoding/master

Fix issue #3422, ignore some dynamic virtual channel messages with invalid ids

8 years agodrdynvc: ignore some messages sent for invalid channel ids with MMR and Windows Serve...
Marc-André Moreau [Thu, 3 Nov 2016 14:12:48 +0000 (10:12 -0400)]
drdynvc: ignore some messages sent for invalid channel ids with MMR and Windows Server 2012 R2, fix issue #3422

8 years agoMerge pull request #3577 from akallabeth/error_message_channel_thread
Martin Fleisz [Wed, 2 Nov 2016 16:58:47 +0000 (17:58 +0100)]
Merge pull request #3577 from akallabeth/error_message_channel_thread

Error message channel thread

8 years agoScanline alignment for GFX cache.
Armin Novak [Mon, 31 Oct 2016 06:56:10 +0000 (07:56 +0100)]
Scanline alignment for GFX cache.

8 years agocleanup unnecessary code per comments
zihao.jiang [Sat, 29 Oct 2016 05:18:17 +0000 (13:18 +0800)]
cleanup unnecessary code per comments

8 years agokeeping the old callback and adding the new one at the end of the struct, so that...
zihao.jiang [Fri, 28 Oct 2016 16:28:10 +0000 (00:28 +0800)]
keeping the old callback and adding the new one at the end of the struct, so that it can be potentially binary compatible.

8 years agoFixed surface alignment.
Armin Novak [Thu, 27 Oct 2016 20:59:16 +0000 (22:59 +0200)]
Fixed surface alignment.

8 years agoFix server side code to be aware of rereadEvent
zihao.jiang [Thu, 27 Oct 2016 15:43:09 +0000 (23:43 +0800)]
Fix server side code to be aware of rereadEvent

8 years agoImproved error handling if channel is missing.
Armin Novak [Thu, 27 Oct 2016 12:41:05 +0000 (14:41 +0200)]
Improved error handling if channel is missing.

8 years agoAdded log messages for invalid function call.
Armin Novak [Thu, 27 Oct 2016 12:36:48 +0000 (14:36 +0200)]
Added log messages for invalid function call.

8 years agoMerge pull request #3560 from akallabeth/gfx_10_2
David Fort [Fri, 21 Oct 2016 07:29:51 +0000 (09:29 +0200)]
Merge pull request #3560 from akallabeth/gfx_10_2

Gfx 10.2 caps and deactivate GDI unsupported functions

8 years agoCode style fixes
Robert Corrigan [Thu, 20 Oct 2016 15:22:08 +0000 (11:22 -0400)]
Code style fixes

8 years agoMerge pull request #3364 from hardening/limit_frames
akallabeth [Thu, 20 Oct 2016 10:53:23 +0000 (12:53 +0200)]
Merge pull request #3364 from hardening/limit_frames

Limit the time passed in transport check loop

8 years agoAdded reference to capability specifications
Armin Novak [Thu, 20 Oct 2016 07:59:54 +0000 (09:59 +0200)]
Added reference to capability specifications

8 years agoRun password dialog as a modal sheet and set window title to server:port
Robert Corrigan [Fri, 14 Oct 2016 22:24:14 +0000 (18:24 -0400)]
Run password dialog as a modal sheet and set window title to server:port

8 years agoMerge pull request #3571 from akallabeth/clang_fixes
Martin Fleisz [Wed, 19 Oct 2016 13:45:17 +0000 (15:45 +0200)]
Merge pull request #3571 from akallabeth/clang_fixes

Clang fixes

8 years agoMerge pull request #3554 from akallabeth/color_refactor
Martin Fleisz [Wed, 19 Oct 2016 11:31:54 +0000 (13:31 +0200)]
Merge pull request #3554 from akallabeth/color_refactor

Replaced _VF formats with copy flags.

8 years agodirectly using FREERDP_PIXEL_FORMAT.
Armin Novak [Wed, 19 Oct 2016 10:41:43 +0000 (12:41 +0200)]
directly using FREERDP_PIXEL_FORMAT.

8 years agoFixed NULL dereferences.
Armin Novak [Wed, 19 Oct 2016 09:10:35 +0000 (11:10 +0200)]
Fixed NULL dereferences.

8 years agoFixed uninitialized return.
Armin Novak [Wed, 19 Oct 2016 09:06:47 +0000 (11:06 +0200)]
Fixed uninitialized return.

8 years agoFixed missing NULL checks.
Armin Novak [Wed, 19 Oct 2016 09:06:25 +0000 (11:06 +0200)]
Fixed missing NULL checks.

8 years agoFixed NULL pointer dereferences.
Armin Novak [Wed, 19 Oct 2016 09:05:12 +0000 (11:05 +0200)]
Fixed NULL pointer dereferences.

8 years agoMerge pull request #3570 from rjcorrig/tz201610
Martin Fleisz [Wed, 19 Oct 2016 08:26:01 +0000 (10:26 +0200)]
Merge pull request #3570 from rjcorrig/tz201610

winpr: Updates time zone data to October 2016

8 years agoUpdates time zone data to October 2016
Robert Corrigan [Tue, 18 Oct 2016 19:28:44 +0000 (15:28 -0400)]
Updates time zone data to October 2016

8 years agoMerge pull request #3568 from hardening/wayland_fixes
Martin Fleisz [Tue, 18 Oct 2016 15:06:41 +0000 (17:06 +0200)]
Merge pull request #3568 from hardening/wayland_fixes

Implement callbacks for version 5 of wl_pointer

8 years agoMerge pull request #3569 from akallabeth/gdi_resize_fix
Martin Fleisz [Tue, 18 Oct 2016 13:45:15 +0000 (15:45 +0200)]
Merge pull request #3569 from akallabeth/gdi_resize_fix

Fixed invalid arguments for gdi_resize_ex

8 years agoFixed invalid arguments for gdi_resize_ex
Armin Novak [Tue, 18 Oct 2016 13:16:58 +0000 (15:16 +0200)]
Fixed invalid arguments for gdi_resize_ex

8 years agoAdded a command line parameter to set the time passed in packet loop
David Fort [Mon, 17 Oct 2016 16:56:52 +0000 (18:56 +0200)]
Added a command line parameter to set the time passed in packet loop

8 years agoImplement callbacks for version 5 of wl_pointer
David Fort [Mon, 17 Oct 2016 09:27:10 +0000 (11:27 +0200)]
Implement callbacks for version 5 of wl_pointer

This should prevent crash with compositor that implement this version.

8 years agoMerge pull request #3567 from mfleisz/file_mode_fix
David Fort [Mon, 17 Oct 2016 13:34:17 +0000 (15:34 +0200)]
Merge pull request #3567 from mfleisz/file_mode_fix

crypto: Remove unneeded update (+) flag from file open mode

8 years agocrypto: Remove unneeded update (+) flag from file open mode
Martin Fleisz [Mon, 17 Oct 2016 12:49:26 +0000 (14:49 +0200)]
crypto: Remove unneeded update (+) flag from file open mode

8 years agoAndroid: fixed visibility, reformatted
Armin Novak [Mon, 17 Oct 2016 08:24:30 +0000 (10:24 +0200)]
Android: fixed visibility, reformatted

8 years agoAndroid: fixed warnings, reformatted.
Armin Novak [Mon, 17 Oct 2016 08:21:05 +0000 (10:21 +0200)]
Android: fixed warnings, reformatted.

8 years agoUpdated symbol visibility of GFX channel.
Armin Novak [Mon, 17 Oct 2016 07:05:54 +0000 (09:05 +0200)]
Updated symbol visibility of GFX channel.

8 years agoDeactivated unsupported operations.
Armin Novak [Sun, 16 Oct 2016 13:08:47 +0000 (15:08 +0200)]
Deactivated unsupported operations.

8 years agoGFX: support 10.2 stack.
Armin Novak [Sun, 16 Oct 2016 08:28:06 +0000 (10:28 +0200)]
GFX: support 10.2 stack.

8 years agoApplied astyle formatting
David Fort [Thu, 13 Oct 2016 20:02:25 +0000 (22:02 +0200)]
Applied astyle formatting

8 years agoUpdated the astyle formatting
David Fort [Thu, 13 Oct 2016 20:01:53 +0000 (22:01 +0200)]
Updated the astyle formatting

8 years agoRelease the reread event on transport_free
David Fort [Sun, 9 Oct 2016 20:36:04 +0000 (22:36 +0200)]
Release the reread event on transport_free

8 years agoTook in account comment remarks
David Fort [Sat, 8 Oct 2016 20:37:31 +0000 (22:37 +0200)]
Took in account comment remarks

8 years agotest-connect: use a random port instead of always 3389
David Fort [Wed, 6 Jul 2016 16:31:22 +0000 (18:31 +0200)]
test-connect: use a random port instead of always 3389

Doing so we have less chances to have a failure when we run 2 tests in parallel
on the same host (as sfrerdp-server listen on a socket).

8 years agosample-server: add a "local only" option to just listen on an UNIX socket
David Fort [Wed, 6 Jul 2016 16:30:12 +0000 (18:30 +0200)]
sample-server: add a "local only" option to just listen on an UNIX socket

This makes things nicer for tests that don't need internet access.

8 years agoLimit the time passed in transport check loop
David Fort [Tue, 3 May 2016 15:24:07 +0000 (17:24 +0200)]
Limit the time passed in transport check loop

This patch make it possible to limit the time that is passed when we call
XXX_check_fds functions. This should smooth the treatment between handling inputs
and handling incoming bitmap updates.
The default maximum time is set to 100 ms.

8 years agoAdjusted non X11 implementations.
Armin Novak [Fri, 14 Oct 2016 10:50:04 +0000 (12:50 +0200)]
Adjusted non X11 implementations.

8 years agoReplaced _VF formats with copy flags.
Armin Novak [Fri, 14 Oct 2016 08:01:02 +0000 (10:01 +0200)]
Replaced _VF formats with copy flags.

8 years agoMerge pull request #3497 from realjiangms/fix_gfx_win10
akallabeth [Fri, 14 Oct 2016 08:12:27 +0000 (10:12 +0200)]
Merge pull request #3497 from realjiangms/fix_gfx_win10

server/shadow: Fix black screen with win10 mstsc

8 years agoMerge pull request #3544 from akallabeth/multi_warn_fixes
Bernhard Miklautz [Fri, 14 Oct 2016 08:10:45 +0000 (10:10 +0200)]
Merge pull request #3544 from akallabeth/multi_warn_fixes

Fix multiple warnings

8 years agoAdapt makefile specific file paths
Bernhard Miklautz [Wed, 12 Oct 2016 09:24:29 +0000 (11:24 +0200)]
Adapt makefile specific file paths

Try to use relative file paths only when building a release (build types
Release and RelWithDebInfo) with the Unix Makefile generator.

Before it was tried to do this with all generators causing multiple
problems.

8 years agoRemoved unused variable.
Armin Novak [Tue, 11 Oct 2016 09:21:13 +0000 (11:21 +0200)]
Removed unused variable.

8 years agoFixed uninitialized variable.
Armin Novak [Tue, 11 Oct 2016 09:20:54 +0000 (11:20 +0200)]
Fixed uninitialized variable.

8 years agoFixed uninitialized variable.
Armin Novak [Tue, 11 Oct 2016 09:20:26 +0000 (11:20 +0200)]
Fixed uninitialized variable.

8 years agoFixed uninitialized variables.
Armin Novak [Tue, 11 Oct 2016 09:17:22 +0000 (11:17 +0200)]
Fixed uninitialized variables.

8 years agoFixed uninitialized arguments, WLog tag.
Armin Novak [Tue, 11 Oct 2016 09:14:49 +0000 (11:14 +0200)]
Fixed uninitialized arguments, WLog tag.

8 years agoProperly escaping __FILE__ replacement.
Armin Novak [Tue, 11 Oct 2016 09:13:54 +0000 (11:13 +0200)]
Properly escaping __FILE__ replacement.

8 years agoMerge pull request #3545 from akallabeth/legacy_rfx_fixes
Bernhard Miklautz [Thu, 13 Oct 2016 11:01:53 +0000 (13:01 +0200)]
Merge pull request #3545 from akallabeth/legacy_rfx_fixes

Fixed Windows 7 RFX issues.