platform/upstream/freerdp.git
5 years agoMerge pull request #5269 from anbukart/master
David Fort [Thu, 21 Feb 2019 10:22:40 +0000 (11:22 +0100)]
Merge pull request #5269 from anbukart/master

Embedded window client

5 years agoEmbedded window local fix
anbukart [Thu, 21 Feb 2019 05:33:52 +0000 (11:03 +0530)]
Embedded window local fix

Client width and height getting set as 0 when embedded using ParentWindowId setting

5 years agoMerge pull request #5265 from akallabeth/wayland_mouse_wheel_adjust
David Fort [Wed, 20 Feb 2019 09:24:16 +0000 (10:24 +0100)]
Merge pull request #5265 from akallabeth/wayland_mouse_wheel_adjust

Fixed #5262: Vertical mouse wheel direction and whell step

5 years agoFixed #5262: Vertical mouse wheel direction and whell step
Armin Novak [Wed, 20 Feb 2019 07:56:36 +0000 (08:56 +0100)]
Fixed #5262: Vertical mouse wheel direction and whell step

* Vertical wheel uses the inverted direction of horizontal wheel.
* The wheel step is now calculated from the value provided by wayland.

5 years agoMerge pull request #5248 from akallabeth/naming_fixes
David Fort [Wed, 13 Feb 2019 17:45:17 +0000 (18:45 +0100)]
Merge pull request #5248 from akallabeth/naming_fixes

Replace hard coded xfreerdp program name

5 years agoMerge pull request #5246 from wintersandroid/master
akallabeth [Wed, 13 Feb 2019 07:45:19 +0000 (08:45 +0100)]
Merge pull request #5246 from wintersandroid/master

Resolve Gfx mode missing surface updates from cache.

5 years agoReplaced hardcoded xfreerdp program name
Armin Novak [Tue, 12 Feb 2019 09:53:46 +0000 (10:53 +0100)]
Replaced hardcoded xfreerdp program name

5 years agoReplaced hardcoded xfreerdp program name
Armin Novak [Tue, 12 Feb 2019 09:53:42 +0000 (10:53 +0100)]
Replaced hardcoded xfreerdp program name

5 years agoReplaced hardcoded xfreerdp program name
Armin Novak [Tue, 12 Feb 2019 09:53:37 +0000 (10:53 +0100)]
Replaced hardcoded xfreerdp program name

5 years agoReplaced hardcoded xfreerdp program name
Armin Novak [Tue, 12 Feb 2019 09:53:30 +0000 (10:53 +0100)]
Replaced hardcoded xfreerdp program name

5 years agoMerge pull request #5245 from akallabeth/uwac_zero_init
David Fort [Tue, 12 Feb 2019 08:17:18 +0000 (09:17 +0100)]
Merge pull request #5245 from akallabeth/uwac_zero_init

Fix 5243: Allocate buffers zero in uwac.

5 years agoResolve Gfx mode missing surface updates from cache.
Mathew Winters [Tue, 12 Feb 2019 01:27:11 +0000 (14:27 +1300)]
Resolve Gfx mode missing surface updates from cache.

5 years agoFix 5243: Allocate buffers zero in uwac.
Armin Novak [Mon, 11 Feb 2019 10:54:19 +0000 (11:54 +0100)]
Fix 5243: Allocate buffers zero in uwac.

5 years agoMerge pull request #5219 from akallabeth/wayland_smart_sizing
David Fort [Fri, 8 Feb 2019 15:47:01 +0000 (16:47 +0100)]
Merge pull request #5219 from akallabeth/wayland_smart_sizing

Wayland smart sizing

5 years agoDestroying released cursor buffers.
Armin Novak [Fri, 8 Feb 2019 14:22:06 +0000 (15:22 +0100)]
Destroying released cursor buffers.

5 years agoDon't destroy wayland buffer attached to a surface.
Armin Novak [Fri, 8 Feb 2019 12:42:45 +0000 (13:42 +0100)]
Don't destroy wayland buffer attached to a surface.

5 years agoAdded support for /smart-sizing:<width>x<height> syntax in wayland client.
Armin Novak [Fri, 8 Feb 2019 11:49:32 +0000 (12:49 +0100)]
Added support for /smart-sizing:<width>x<height> syntax in wayland client.

5 years agoFixed duplicate log tag definition in wayland client.
Armin Novak [Fri, 8 Feb 2019 10:50:34 +0000 (11:50 +0100)]
Fixed duplicate log tag definition in wayland client.

5 years agoFixed conversion range checks and cast for use with cairo
Armin Novak [Tue, 29 Jan 2019 16:47:41 +0000 (17:47 +0100)]
Fixed conversion range checks and cast for use with cairo

5 years agoFixed missing initializer.
Armin Novak [Tue, 29 Jan 2019 16:47:30 +0000 (17:47 +0100)]
Fixed missing initializer.

5 years agoRemoved unused variables.
Armin Novak [Tue, 29 Jan 2019 16:38:33 +0000 (17:38 +0100)]
Removed unused variables.

5 years agoFixed color format for wayland mouse pointer.
Armin Novak [Tue, 29 Jan 2019 14:37:49 +0000 (15:37 +0100)]
Fixed color format for wayland mouse pointer.

5 years agoAdded mouse pointer scaling.
Armin Novak [Tue, 29 Jan 2019 12:14:45 +0000 (13:14 +0100)]
Added mouse pointer scaling.

5 years agoImplements #5215: Smart sizing using libcairo
Armin Novak [Fri, 25 Jan 2019 10:47:15 +0000 (11:47 +0100)]
Implements #5215: Smart sizing using libcairo

5 years agoMerge pull request #5242 from akallabeth/rail_regression_fix
Martin Fleisz [Fri, 8 Feb 2019 10:02:26 +0000 (11:02 +0100)]
Merge pull request #5242 from akallabeth/rail_regression_fix

Fixed broken checks in X11 event (RAIL mode)

5 years agoFixed broken checks in X11 event (RAIL mode)
Armin Novak [Fri, 8 Feb 2019 09:46:26 +0000 (10:46 +0100)]
Fixed broken checks in X11 event (RAIL mode)

5 years agoMerge pull request #5230 from akallabeth/sign_compare_fixes
Martin Fleisz [Fri, 8 Feb 2019 08:35:50 +0000 (09:35 +0100)]
Merge pull request #5230 from akallabeth/sign_compare_fixes

Sign compare fixes

5 years agoFixed wide character comparison.
Armin Novak [Fri, 8 Feb 2019 08:20:58 +0000 (09:20 +0100)]
Fixed wide character comparison.

5 years agoMerge pull request #5152 from akallabeth/gw_logging_ext
Martin Fleisz [Fri, 8 Feb 2019 08:14:33 +0000 (09:14 +0100)]
Merge pull request #5152 from akallabeth/gw_logging_ext

Gw logging ext

5 years agoMerge pull request #5131 from akallabeth/cmd_line_error_logging
Martin Fleisz [Fri, 8 Feb 2019 08:11:35 +0000 (09:11 +0100)]
Merge pull request #5131 from akallabeth/cmd_line_error_logging

Added extended error logging for assistance, rdp file and command line parser

5 years agoMerge pull request #5225 from akallabeth/rdprd_caps_read_fix
Martin Fleisz [Fri, 8 Feb 2019 08:05:27 +0000 (09:05 +0100)]
Merge pull request #5225 from akallabeth/rdprd_caps_read_fix

Fixed size checks when reading rdpdr capabilities.

5 years agoMerge pull request #5151 from akallabeth/new_cache_defaults
Bernhard Miklautz [Thu, 7 Feb 2019 09:20:50 +0000 (10:20 +0100)]
Merge pull request #5151 from akallabeth/new_cache_defaults

Updates to default settings

5 years agoEnable server heartbeat PDU by default.
Armin Novak [Fri, 14 Dec 2018 11:40:18 +0000 (12:40 +0100)]
Enable server heartbeat PDU by default.

5 years agoDisabled offscreen and bitmap cache by default.
Armin Novak [Fri, 14 Dec 2018 10:51:50 +0000 (11:51 +0100)]
Disabled offscreen and bitmap cache by default.

5 years agoMerge pull request #5139 from akallabeth/drive_hotplug_shutdown_crash_fix
Bernhard Miklautz [Thu, 7 Feb 2019 09:08:41 +0000 (10:08 +0100)]
Merge pull request #5139 from akallabeth/drive_hotplug_shutdown_crash_fix

Fixed crash on drive hotplug shutdown.

5 years agoMerge pull request #5237 from chipitsine/master
akallabeth [Thu, 7 Feb 2019 08:41:46 +0000 (09:41 +0100)]
Merge pull request #5237 from chipitsine/master

client/common/cmdline.c: remove redundant check

5 years agoclient/common/cmdline.c: remove redundant check
Ilya Shipitsin [Sat, 2 Feb 2019 05:22:19 +0000 (10:22 +0500)]
client/common/cmdline.c: remove redundant check
found by cppcheck

[client/common/cmdline.c:390] -> [client/common/cmdline.c:399]: (warning) Identical inner 'if' condition is always true.

5 years agoMerge pull request #5236 from chipitsine/master
akallabeth [Fri, 1 Feb 2019 07:37:24 +0000 (08:37 +0100)]
Merge pull request #5236 from chipitsine/master

client/Wayland/wlf_cliprdr.c: resolve possible null pointer dereference

5 years agoclient/Wayland/wlf_cliprdr.c: resolve possible null pointer dereference
Ilya Shipitsin [Thu, 31 Jan 2019 22:50:51 +0000 (03:50 +0500)]
client/Wayland/wlf_cliprdr.c: resolve possible null pointer dereference
found by cppcheck

[client/Wayland/wlf_cliprdr.c:143] -> [client/Wayland/wlf_cliprdr.c:158]: (warning) Either the condition 'clipboard' is redundant or there is possible null pointer dereference: clipboard.
[client/Wayland/wlf_cliprdr.c:163] -> [client/Wayland/wlf_cliprdr.c:178]: (warning) Either the condition 'clipboard' is redundant or there is possible null pointer dereference: clipboard.

5 years agoMerge pull request #5223 from akallabeth/scanbuild_null_fixes
David Fort [Wed, 30 Jan 2019 17:22:45 +0000 (18:22 +0100)]
Merge pull request #5223 from akallabeth/scanbuild_null_fixes

Scanbuild null fixes

5 years agoFixed BipBuffer Read/Write, limit to SSIZE_MAX.
Armin Novak [Wed, 30 Jan 2019 14:12:08 +0000 (15:12 +0100)]
Fixed BipBuffer Read/Write, limit to SSIZE_MAX.

5 years agoAdded missing SSIZE_MAX define
Armin Novak [Wed, 30 Jan 2019 14:11:51 +0000 (15:11 +0100)]
Added missing SSIZE_MAX define

5 years agoFixed sign-compare warning
Armin Novak [Wed, 30 Jan 2019 08:51:39 +0000 (09:51 +0100)]
Fixed sign-compare warning

5 years agoFixed use of ASCII function on WCHAR
Armin Novak [Wed, 30 Jan 2019 08:51:24 +0000 (09:51 +0100)]
Fixed use of ASCII function on WCHAR

5 years agoFixed sign-compare warning
Armin Novak [Wed, 30 Jan 2019 08:38:19 +0000 (09:38 +0100)]
Fixed sign-compare warning

5 years agoFixed sign-compare warning
Armin Novak [Wed, 30 Jan 2019 08:36:21 +0000 (09:36 +0100)]
Fixed sign-compare warning

5 years agoFixed sign-compare warning
Armin Novak [Wed, 30 Jan 2019 08:29:56 +0000 (09:29 +0100)]
Fixed sign-compare warning

5 years agoFixed sign-compare warning
Armin Novak [Wed, 30 Jan 2019 08:24:52 +0000 (09:24 +0100)]
Fixed sign-compare warning

5 years agoMerge pull request #5147 from jphein/master
Bernhard Miklautz [Wed, 30 Jan 2019 15:26:41 +0000 (16:26 +0100)]
Merge pull request #5147 from jphein/master

Clarified defaults of /floatbar flag

5 years agoFixed NULL dereferences and uninitialized values
Armin Novak [Mon, 28 Jan 2019 09:56:48 +0000 (10:56 +0100)]
Fixed NULL dereferences and uninitialized values

5 years agoFixed NULL dereferences and uninitialized values
Armin Novak [Mon, 28 Jan 2019 09:56:23 +0000 (10:56 +0100)]
Fixed NULL dereferences and uninitialized values

5 years agoFixed NULL dereferences and uninitialized values
Armin Novak [Mon, 28 Jan 2019 09:55:56 +0000 (10:55 +0100)]
Fixed NULL dereferences and uninitialized values

5 years agoFixed NULL dereferences and uninitialized values
Armin Novak [Mon, 28 Jan 2019 09:55:24 +0000 (10:55 +0100)]
Fixed NULL dereferences and uninitialized values

5 years agoFix FindNextFileA path termination with a single separator.
Armin Novak [Wed, 30 Jan 2019 14:43:46 +0000 (15:43 +0100)]
Fix FindNextFileA path termination with a single separator.

5 years agoFixed rect assignment in geometry channel.
Armin Novak [Wed, 30 Jan 2019 12:46:44 +0000 (13:46 +0100)]
Fixed rect assignment in geometry channel.

5 years agoMerge pull request #5227 from akallabeth/compiler_warnings_fixes
David Fort [Tue, 29 Jan 2019 23:08:55 +0000 (00:08 +0100)]
Merge pull request #5227 from akallabeth/compiler_warnings_fixes

Compiler warnings fixes

5 years agoFixed compiler warnings for TRIO_CONST and limited data type.
Armin Novak [Tue, 29 Jan 2019 16:46:47 +0000 (17:46 +0100)]
Fixed compiler warnings for TRIO_CONST and limited data type.

5 years agoFixed missing initializers
Armin Novak [Tue, 29 Jan 2019 16:48:05 +0000 (17:48 +0100)]
Fixed missing initializers

5 years agoAsserting arg->Value to silence clang analyzer NULL argument checks.
Armin Novak [Tue, 29 Jan 2019 16:24:29 +0000 (17:24 +0100)]
Asserting arg->Value to silence clang analyzer NULL argument checks.

5 years agoFixed clang analyzer false positive memory leaks.
Armin Novak [Tue, 29 Jan 2019 16:16:46 +0000 (17:16 +0100)]
Fixed clang analyzer false positive memory leaks.

Added a justification for each #ifndef __clang_analyzer__

5 years agoFixed clang scanbuild false positive memory leak.
Armin Novak [Tue, 29 Jan 2019 16:06:08 +0000 (17:06 +0100)]
Fixed clang scanbuild false positive memory leak.

The memset did confuse the analyzer. Remove it as the variable
is already initialized to zero.

5 years agoFixed uninitialized return value.
Armin Novak [Tue, 29 Jan 2019 15:53:30 +0000 (16:53 +0100)]
Fixed uninitialized return value.

5 years agoFixed compiler warnings #5210
Armin Novak [Tue, 29 Jan 2019 15:22:46 +0000 (16:22 +0100)]
Fixed compiler warnings #5210

5 years agoFixed compiler warnings #5210
Armin Novak [Tue, 29 Jan 2019 15:15:33 +0000 (16:15 +0100)]
Fixed compiler warnings #5210

5 years agoFixed compiler warnings #5210
Armin Novak [Tue, 29 Jan 2019 15:15:23 +0000 (16:15 +0100)]
Fixed compiler warnings #5210

5 years agoFixed compiler warnings #5210
Armin Novak [Tue, 29 Jan 2019 15:14:55 +0000 (16:14 +0100)]
Fixed compiler warnings #5210

5 years agoFixed compiler warnings #5210
Armin Novak [Tue, 29 Jan 2019 15:14:29 +0000 (16:14 +0100)]
Fixed compiler warnings #5210

5 years agoMerge pull request #5140 from akallabeth/print_custom_component
David Fort [Tue, 29 Jan 2019 14:18:53 +0000 (15:18 +0100)]
Merge pull request #5140 from akallabeth/print_custom_component

Added callback to handle printer custom components in printer backend.

5 years agoMerge pull request #5221 from akallabeth/wayland_mouse_cursor
David Fort [Tue, 29 Jan 2019 14:11:38 +0000 (15:11 +0100)]
Merge pull request #5221 from akallabeth/wayland_mouse_cursor

Added wayland mouse cursor

5 years agoFixed review remarks.
Armin Novak [Tue, 29 Jan 2019 13:21:58 +0000 (14:21 +0100)]
Fixed review remarks.

5 years agoRemoved debug messages.
Armin Novak [Tue, 29 Jan 2019 12:34:27 +0000 (13:34 +0100)]
Removed debug messages.

5 years agoFixed static analyzer warnings for dynamic channel.
Armin Novak [Tue, 29 Jan 2019 11:07:05 +0000 (12:07 +0100)]
Fixed static analyzer warnings for dynamic channel.

5 years agoAdded missing data range checks for geometry channel.
Armin Novak [Tue, 29 Jan 2019 10:57:24 +0000 (11:57 +0100)]
Added missing data range checks for geometry channel.

5 years agoFixed size checks when reading rdpdr capabilities.
Armin Novak [Tue, 29 Jan 2019 10:50:27 +0000 (11:50 +0100)]
Fixed size checks when reading rdpdr capabilities.

5 years agoFixed uninitialized value.
Armin Novak [Tue, 29 Jan 2019 10:07:44 +0000 (11:07 +0100)]
Fixed uninitialized value.

5 years agoMerge pull request #5224 from hardening/serverStatusInfo
akallabeth [Tue, 29 Jan 2019 09:47:36 +0000 (10:47 +0100)]
Merge pull request #5224 from hardening/serverStatusInfo

rdp: add a callback for ServerStatusInfo

5 years agoMerge pull request #5187 from astrand/mingw-part1
akallabeth [Tue, 29 Jan 2019 09:46:21 +0000 (10:46 +0100)]
Merge pull request #5187 from astrand/mingw-part1

Mingw build fixes part1

5 years agordp: add a callback for ServerStatusInfo
David Fort [Tue, 29 Jan 2019 09:33:06 +0000 (10:33 +0100)]
rdp: add a callback for ServerStatusInfo

5 years agoFixed wayland library detection.
Armin Novak [Mon, 28 Jan 2019 14:46:12 +0000 (15:46 +0100)]
Fixed wayland library detection.

5 years agoFixed pointer image update.
Armin Novak [Mon, 28 Jan 2019 14:29:30 +0000 (15:29 +0100)]
Fixed pointer image update.

5 years agoAdded O_TMPFILE support for uwac tempfile generation.
Armin Novak [Fri, 25 Jan 2019 14:46:55 +0000 (15:46 +0100)]
Added O_TMPFILE support for uwac tempfile generation.

5 years agoAdded UWAC_EVENT_OUTPUT_GEOMETRY event
Armin Novak [Fri, 25 Jan 2019 14:38:56 +0000 (15:38 +0100)]
Added UWAC_EVENT_OUTPUT_GEOMETRY event

5 years agoAdded mouse cursor callback stubs.
Armin Novak [Fri, 25 Jan 2019 12:05:51 +0000 (13:05 +0100)]
Added mouse cursor callback stubs.

5 years agoMerge pull request #5149 from akallabeth/cert_deny
David Fort [Fri, 25 Jan 2019 15:59:33 +0000 (16:59 +0100)]
Merge pull request #5149 from akallabeth/cert_deny

New option to disable user certificate dialog

5 years agoMerge pull request #5150 from akallabeth/gw_consent_callback
MartinHaimberger [Fri, 25 Jan 2019 11:33:18 +0000 (12:33 +0100)]
Merge pull request #5150 from akallabeth/gw_consent_callback

Fix #1195: Implement callback for Gateway Messages

5 years agoMerge pull request #5218 from ckelsel/master
akallabeth [Fri, 25 Jan 2019 11:19:56 +0000 (12:19 +0100)]
Merge pull request #5218 from ckelsel/master

May crash if GetCommandLineW failed

5 years agoMerge pull request #5213 from akallabeth/wayland_and_warning_fixes
David Fort [Fri, 25 Jan 2019 10:42:38 +0000 (11:42 +0100)]
Merge pull request #5213 from akallabeth/wayland_and_warning_fixes

Wayland and warning fixes

5 years agoMay crash if GetCommandLineW failed
xie.kunming [Fri, 25 Jan 2019 09:54:25 +0000 (17:54 +0800)]
May crash if GetCommandLineW failed

5 years agoFixed buffer submit and callback cleanup.
Armin Novak [Fri, 25 Jan 2019 09:50:07 +0000 (10:50 +0100)]
Fixed buffer submit and callback cleanup.

* Buffer submit now ignores duplicate buffer submit again.
* Frame callback is cleaned up in the callback function now.
* Damage region is currently ignored as there are screen artifacts otherwise.

5 years agoFixed wayland buffer updates
Armin Novak [Thu, 24 Jan 2019 14:10:08 +0000 (15:10 +0100)]
Fixed wayland buffer updates

The wayland buffer size always matches the current window size.
That might be different from the actual remote framebuffer size,
to when copying always use the correct strides to avoid distorted
screen content.

5 years agoFixed wayland clipboard registration, retry if seat is detected before.
Armin Novak [Thu, 24 Jan 2019 12:15:40 +0000 (13:15 +0100)]
Fixed wayland clipboard registration, retry if seat is detected before.

5 years agoMerge pull request #5216 from ckelsel/master
akallabeth [Fri, 25 Jan 2019 09:01:30 +0000 (10:01 +0100)]
Merge pull request #5216 from ckelsel/master

change SetTimer elapse from 10 to USER_TIMER_MINIMUM

5 years agoIf uElapse is less than USER_TIMER_MINIMUM (0x0000000A), the timeout is set to USER_T...
xie.kunming [Fri, 25 Jan 2019 08:45:52 +0000 (16:45 +0800)]
If uElapse is less than USER_TIMER_MINIMUM (0x0000000A), the timeout is set to USER_TIMER_MINIMUM.

5 years agoRemoved buffer damage tracking in client, let UWAC handle that.
Armin Novak [Thu, 24 Jan 2019 11:01:40 +0000 (12:01 +0100)]
Removed buffer damage tracking in client, let UWAC handle that.

5 years agoFixed warnings found by compiler and static analysis.
Armin Novak [Thu, 24 Jan 2019 10:19:20 +0000 (11:19 +0100)]
Fixed warnings found by compiler and static analysis.

5 years agoFixed warnings found by compiler and static analysis.
Armin Novak [Thu, 24 Jan 2019 10:14:06 +0000 (11:14 +0100)]
Fixed warnings found by compiler and static analysis.

5 years agoFixed warnings found by compiler and static analysis.
Armin Novak [Thu, 24 Jan 2019 10:03:36 +0000 (11:03 +0100)]
Fixed warnings found by compiler and static analysis.

5 years agoFixed warnings found by compiler and static analysis.
Armin Novak [Thu, 24 Jan 2019 10:00:48 +0000 (11:00 +0100)]
Fixed warnings found by compiler and static analysis.

5 years agoFixed warnings found by compiler and static analysis.
Armin Novak [Thu, 24 Jan 2019 09:33:59 +0000 (10:33 +0100)]
Fixed warnings found by compiler and static analysis.

5 years agoMerge pull request #5212 from hardening/ddm_fix
akallabeth [Thu, 24 Jan 2019 10:53:37 +0000 (11:53 +0100)]
Merge pull request #5212 from hardening/ddm_fix

uwac: fix initialization of data_device_manager