platform/upstream/freerdp.git
6 years agobitmap free now always deallocating all resources.
Armin Novak [Tue, 13 Feb 2018 09:18:43 +0000 (10:18 +0100)]
bitmap free now always deallocating all resources.

6 years agoMerge pull request #4421 from akallabeth/x11_asan_fix_v2
David Fort [Mon, 12 Feb 2018 12:51:57 +0000 (13:51 +0100)]
Merge pull request #4421 from akallabeth/x11_asan_fix_v2

Fixed accidental free of XImage data.

6 years agoFixed accidental free of XImage data.
Armin Novak [Mon, 12 Feb 2018 10:14:54 +0000 (11:14 +0100)]
Fixed accidental free of XImage data.

6 years agoMerge pull request #4420 from akallabeth/x11_memleak_fix
MartinHaimberger [Mon, 12 Feb 2018 09:27:19 +0000 (10:27 +0100)]
Merge pull request #4420 from akallabeth/x11_memleak_fix

Fixed #4412: XImage must be freed with XDestroyImage

6 years agoFixed #4412: XImage must be freed with XDestroyImage
Armin Novak [Mon, 12 Feb 2018 09:02:35 +0000 (10:02 +0100)]
Fixed #4412: XImage must be freed with XDestroyImage

6 years agoMerge pull request #4413 from akallabeth/memlead_queue_fixes
Martin Fleisz [Fri, 9 Feb 2018 11:42:43 +0000 (12:42 +0100)]
Merge pull request #4413 from akallabeth/memlead_queue_fixes

Memleak queue fixes

6 years agoFixed cleanup of xfc->drawable.
Armin Novak [Fri, 9 Feb 2018 10:42:18 +0000 (11:42 +0100)]
Fixed cleanup of xfc->drawable.

6 years agoPrevent malloc of size 0
Armin Novak [Fri, 9 Feb 2018 10:41:53 +0000 (11:41 +0100)]
Prevent malloc of size 0

6 years agoAdded client channel queue object free function.
Armin Novak [Fri, 9 Feb 2018 09:39:46 +0000 (10:39 +0100)]
Added client channel queue object free function.

6 years agoAdd dynamic channel queue object free function.
Armin Novak [Fri, 9 Feb 2018 09:29:31 +0000 (10:29 +0100)]
Add dynamic channel queue object free function.

6 years agoClear message queue on free.
Armin Novak [Fri, 9 Feb 2018 09:29:18 +0000 (10:29 +0100)]
Clear message queue on free.

6 years agoFixed a memory leak.
Armin Novak [Fri, 9 Feb 2018 09:23:48 +0000 (10:23 +0100)]
Fixed a memory leak.

6 years agoMerge pull request #4411 from akallabeth/resolve_ipv6_fix
Martin Fleisz [Fri, 9 Feb 2018 08:40:00 +0000 (09:40 +0100)]
Merge pull request #4411 from akallabeth/resolve_ipv6_fix

Fixed IPv4/IPv6 to string

6 years agoFixed IPv4/IPv6 to string
Armin Novak [Thu, 8 Feb 2018 15:31:26 +0000 (16:31 +0100)]
Fixed IPv4/IPv6 to string

6 years agoMerge pull request #4380 from akallabeth/output_suppress_minimize
Norbert Federa [Thu, 8 Feb 2018 15:25:21 +0000 (16:25 +0100)]
Merge pull request #4380 from akallabeth/output_suppress_minimize

  Fixed SuppressOutput update.

6 years agoFixed GFX output expose.
Armin Novak [Thu, 8 Feb 2018 12:55:36 +0000 (13:55 +0100)]
Fixed GFX output expose.

6 years agoDo not update client if output suppressed.
Armin Novak [Thu, 8 Feb 2018 09:34:49 +0000 (10:34 +0100)]
Do not update client if output suppressed.

6 years agoFixed formatting.
Armin Novak [Thu, 8 Feb 2018 10:55:57 +0000 (11:55 +0100)]
Fixed formatting.

6 years agoFixed SuppressOutput update.
Armin Novak [Wed, 24 Jan 2018 15:26:27 +0000 (16:26 +0100)]
Fixed SuppressOutput update.

6 years agoMerge pull request #4408 from vinzent/rpm_spec_rhel7
Bernhard Miklautz [Wed, 7 Feb 2018 14:19:16 +0000 (15:19 +0100)]
Merge pull request #4408 from vinzent/rpm_spec_rhel7

Update rpm spec to support RHEL 7

6 years agoMerge pull request #4347 from akallabeth/h264_log
Martin Fleisz [Wed, 7 Feb 2018 14:03:35 +0000 (15:03 +0100)]
Merge pull request #4347 from akallabeth/h264_log

Using dynamic logger for GFX-H264 backend.

6 years agoMerge pull request #4409 from akallabeth/init_once_return
David Fort [Wed, 7 Feb 2018 13:33:02 +0000 (14:33 +0100)]
Merge pull request #4409 from akallabeth/init_once_return

Fixed init once return.

6 years agoFixed FFMPEG log messages.
Armin Novak [Wed, 7 Feb 2018 12:32:01 +0000 (13:32 +0100)]
Fixed FFMPEG log messages.

6 years agoUse dynamic logger in MediaFoundation backend
Armin Novak [Wed, 7 Feb 2018 09:45:28 +0000 (10:45 +0100)]
Use dynamic logger in MediaFoundation backend

6 years agoFixed obsolete TAG definitions and use.
Armin Novak [Fri, 19 Jan 2018 13:26:04 +0000 (14:26 +0100)]
Fixed obsolete TAG definitions and use.

6 years agoFix OpenH264 trace logging, set up context first
Armin Novak [Wed, 17 Jan 2018 14:35:11 +0000 (15:35 +0100)]
Fix OpenH264 trace logging, set up context first

6 years agoUsing dynamic logger for GFX-H264 backend.
Armin Novak [Tue, 9 Jan 2018 16:22:56 +0000 (17:22 +0100)]
Using dynamic logger for GFX-H264 backend.

6 years agoFixed init once return.
Armin Novak [Wed, 7 Feb 2018 12:13:02 +0000 (13:13 +0100)]
Fixed init once return.

6 years agoUpdate rpm spec to support RHEL 7
Thomas Mueller [Wed, 7 Feb 2018 08:33:44 +0000 (09:33 +0100)]
Update rpm spec to support RHEL 7

* fix bogus date in %changelog
* add/extend %if conditions for %{rhel}
* disable wayland on rhel <= 7
* enable GSSAPI and add krb5-devel build dep
* don't add provides information for libs of this package
  to prevent messing with packages depending on libs
  provided by system freerdp packages

6 years agoMerge pull request #4392 from akallabeth/yuv_asm
Norbert Federa [Wed, 7 Feb 2018 12:00:00 +0000 (13:00 +0100)]
Merge pull request #4392 from akallabeth/yuv_asm

Fixed AVC444v1 luma UV averaging

6 years agoMerge pull request #4397 from SriRamanujam/vaapi
Bernhard Miklautz [Wed, 7 Feb 2018 11:56:31 +0000 (12:56 +0100)]
Merge pull request #4397 from SriRamanujam/vaapi

Use libavcodec's VA-API to accelerate H.264 decoding.

6 years agoMerge pull request #4400 from hardening/defines_clean
Bernhard Miklautz [Wed, 7 Feb 2018 11:34:27 +0000 (12:34 +0100)]
Merge pull request #4400 from hardening/defines_clean

set some define consistency

6 years agoFixed AVC444 YUV conversion matrix
Armin Novak [Wed, 7 Feb 2018 09:17:10 +0000 (10:17 +0100)]
Fixed AVC444 YUV conversion matrix

6 years agoRefactored RGB to AVC444v2
Armin Novak [Fri, 2 Feb 2018 07:45:13 +0000 (08:45 +0100)]
Refactored RGB to AVC444v2

6 years agoAdded SSSE3 UV average to AVC444v1
Armin Novak [Wed, 31 Jan 2018 10:33:55 +0000 (11:33 +0100)]
Added SSSE3 UV average to AVC444v1

6 years agoAdded UV average to AVC444v1
Armin Novak [Tue, 30 Jan 2018 15:16:39 +0000 (16:16 +0100)]
Added UV average to AVC444v1

6 years agoMerge pull request #4340 from akallabeth/init_once
David Fort [Wed, 7 Feb 2018 09:34:18 +0000 (10:34 +0100)]
Merge pull request #4340 from akallabeth/init_once

Fix remaining issues with #2006

6 years agoMerge pull request #4395 from akallabeth/afreerdp_clipboard_fix
MartinHaimberger [Wed, 7 Feb 2018 09:33:33 +0000 (10:33 +0100)]
Merge pull request #4395 from akallabeth/afreerdp_clipboard_fix

[aFreeRDP] Check length of string returned by ClipboardGetData

6 years agoMerge pull request #4387 from akallabeth/hotplug_fix
MartinHaimberger [Wed, 7 Feb 2018 09:32:05 +0000 (10:32 +0100)]
Merge pull request #4387 from akallabeth/hotplug_fix

Fixed #4384: Drive hotplug detection

6 years agoMerge pull request #4394 from akallabeth/shadow_avc444
MartinHaimberger [Wed, 7 Feb 2018 09:30:26 +0000 (10:30 +0100)]
Merge pull request #4394 from akallabeth/shadow_avc444

Added AVC444 chroma support to shadow server.

6 years agoMerge pull request #4406 from rozhuk-im/master
akallabeth [Wed, 7 Feb 2018 07:34:49 +0000 (08:34 +0100)]
Merge pull request #4406 from rozhuk-im/master

Fix: #define ConvertColor FreeRDPFreeRDPConvertColor -> FreeRDPConvertColor

6 years agoFix: #define ConvertColor FreeRDPFreeRDPConvertColor -> FreeRDPConvertColor
rim [Wed, 7 Feb 2018 00:15:58 +0000 (03:15 +0300)]
Fix: #define ConvertColor FreeRDPFreeRDPConvertColor -> FreeRDPConvertColor

6 years agofixed include path
David Fort [Mon, 5 Feb 2018 13:34:49 +0000 (14:34 +0100)]
fixed include path

It was working because of multiple include directories.

6 years agoset some define consistency
David Fort [Sun, 4 Feb 2018 22:16:12 +0000 (23:16 +0100)]
set some define consistency

This patch cleanup the defines to make then consistent.

6 years agoTO BE SQUASHED: use hw_frames_ctx to set up vaapi on older versions of libavcodec
Sri Ramanujam [Fri, 2 Feb 2018 20:49:59 +0000 (15:49 -0500)]
TO BE SQUASHED: use hw_frames_ctx to set up vaapi on older versions of libavcodec

6 years agoTO BE SQUASHED: initial changes from code review
Sri Ramanujam [Fri, 2 Feb 2018 19:30:31 +0000 (14:30 -0500)]
TO BE SQUASHED: initial changes from code review

6 years agoIncreased target bitrate for shadow server.
Armin Novak [Fri, 2 Feb 2018 12:57:00 +0000 (13:57 +0100)]
Increased target bitrate for shadow server.

The target bitrate (1Mbit) was much too small for proper shadowing
on devices with higher resolutions. Increased to 10Mbit to improve
image quality.

6 years agoTuned FFMPEG encoder settings.
Armin Novak [Fri, 2 Feb 2018 10:03:27 +0000 (11:03 +0100)]
Tuned FFMPEG encoder settings.

Using preset medium with zerolatency.

6 years agoAdded return checks.
Armin Novak [Fri, 2 Feb 2018 09:41:20 +0000 (10:41 +0100)]
Added return checks.

6 years agoFixed AVC444v2 detection.
Armin Novak [Fri, 2 Feb 2018 07:13:44 +0000 (08:13 +0100)]
Fixed AVC444v2 detection.

6 years agoAlign YUV buffer strides and height.
Armin Novak [Fri, 2 Feb 2018 07:06:32 +0000 (08:06 +0100)]
Align YUV buffer strides and height.

6 years agoAdded AVC444 chroma support to shadow server.
Armin Novak [Wed, 31 Jan 2018 14:08:11 +0000 (15:08 +0100)]
Added AVC444 chroma support to shadow server.

6 years agoUse libavcodec's VA-API decoding.
Sri Ramanujam [Sat, 27 Jan 2018 06:10:51 +0000 (01:10 -0500)]
Use libavcodec's VA-API decoding.

Leverages libavcodec's hw decode support to provide VA-API based
hardware decoding. Depends on the local build of ffmpeg having hardware
VA-API support compiled in and the appropriate libva drivers and
libraries installed.

6 years agoMerge pull request #4396 from bmiklautz/fix_nightlies
David Fort [Thu, 1 Feb 2018 17:43:15 +0000 (18:43 +0100)]
Merge pull request #4396 from bmiklautz/fix_nightlies

Fix nightly builds

6 years agofix deb/freerdp-nightly: disable ASAN on i386
Bernhard Miklautz [Thu, 1 Feb 2018 16:10:36 +0000 (17:10 +0100)]
fix deb/freerdp-nightly: disable ASAN on i386

The nightly packages fail on some distributions on i386 if address
sanitizer is active (mostly due to oder libasan versions). Disable it
for now for i386.

6 years agocmdline refactor: move cmd struct to extra file
Bernhard Miklautz [Thu, 1 Feb 2018 15:59:55 +0000 (16:59 +0100)]
cmdline refactor: move cmd struct to extra file

Move the cmd struct to a extra header file. This allows it to only
include the header file in generate_argument_docbook.c and therefore
remove a linker dependencies.

6 years agoCheck length of string returned by ClipboardGetData
Armin Novak [Thu, 1 Feb 2018 08:34:07 +0000 (09:34 +0100)]
Check length of string returned by ClipboardGetData

6 years agoMerge pull request #4393 from nfedera/fix-remove-expensive-channel-send-debug
Norbert Federa [Wed, 31 Jan 2018 12:31:21 +0000 (13:31 +0100)]
Merge pull request #4393 from nfedera/fix-remove-expensive-channel-send-debug

disabled expensive debug call in channel send

6 years agodisabled expensive debug call in channel send
Norbert Federa [Wed, 31 Jan 2018 11:44:45 +0000 (12:44 +0100)]
disabled expensive debug call in channel send

6 years agoMerge pull request #4391 from akallabeth/yuv_asm
David Fort [Tue, 30 Jan 2018 15:16:44 +0000 (16:16 +0100)]
Merge pull request #4391 from akallabeth/yuv_asm

SSSE3 optimized RGB to AVC444 YUV conversion

6 years agoDeactiveate optimized primitives if no implementation compiled.
Armin Novak [Tue, 30 Jan 2018 13:51:56 +0000 (14:51 +0100)]
Deactiveate optimized primitives if no implementation compiled.

6 years agoAdded SSE optimized RGB to AVC444 frame split and test.
Armin Novak [Fri, 26 Jan 2018 11:53:08 +0000 (12:53 +0100)]
Added SSE optimized RGB to AVC444 frame split and test.

6 years agoAdded optimized C function for specific color format.
Armin Novak [Fri, 26 Jan 2018 11:52:16 +0000 (12:52 +0100)]
Added optimized C function for specific color format.

6 years agoSplit optimized YUV implementations to separate files.
Armin Novak [Thu, 25 Jan 2018 08:43:48 +0000 (09:43 +0100)]
Split optimized YUV implementations to separate files.

6 years agoMerge pull request #4389 from hardening/primitives
akallabeth [Mon, 29 Jan 2018 07:44:13 +0000 (08:44 +0100)]
Merge pull request #4389 from hardening/primitives

primitives: use INIT_ONCE instead of static booleans

6 years agoprimitives: use INIT_ONCE instead of static booleans
David Fort [Sun, 28 Jan 2018 21:15:54 +0000 (22:15 +0100)]
primitives: use INIT_ONCE instead of static booleans

This may prevent some race conditions

6 years agoFixed #4384: Drive hotplug detection
Armin Novak [Thu, 25 Jan 2018 14:43:53 +0000 (15:43 +0100)]
Fixed #4384: Drive hotplug detection

6 years agoMerge pull request #4381 from bmiklautz/suse_asan
akallabeth [Wed, 24 Jan 2018 16:42:23 +0000 (17:42 +0100)]
Merge pull request #4381 from bmiklautz/suse_asan

fix freerdp-nightly on suse: disable asan

6 years agofix freerdp-nightly on suse: disable asan
Bernhard Miklautz [Wed, 24 Jan 2018 15:56:03 +0000 (16:56 +0100)]
fix freerdp-nightly on suse: disable asan

Compilation fails on 42.3 (gcc 4.8) when address sanitizer is on.

6 years agoMerge pull request #4379 from akallabeth/memleak_fix
Bernhard Miklautz [Wed, 24 Jan 2018 14:57:33 +0000 (15:57 +0100)]
Merge pull request #4379 from akallabeth/memleak_fix

Fixed memory leak.

6 years agoFixed memory leak.
Armin Novak [Wed, 24 Jan 2018 13:11:33 +0000 (14:11 +0100)]
Fixed memory leak.

6 years agoMerge pull request #4328 from akallabeth/nightly_sanitize_address
Bernhard Miklautz [Tue, 23 Jan 2018 16:57:47 +0000 (17:57 +0100)]
Merge pull request #4328 from akallabeth/nightly_sanitize_address

Activated address sanitizer for nightly builds.

6 years agoMerge pull request #4375 from akallabeth/memleak
David Fort [Mon, 22 Jan 2018 22:00:40 +0000 (23:00 +0100)]
Merge pull request #4375 from akallabeth/memleak

Fixed memory leak.

6 years agoFixed memory leak.
Armin Novak [Mon, 22 Jan 2018 14:45:27 +0000 (15:45 +0100)]
Fixed memory leak.

6 years agoMerge pull request #4373 from akallabeth/warning_fixes2
Martin Fleisz [Fri, 19 Jan 2018 09:34:08 +0000 (10:34 +0100)]
Merge pull request #4373 from akallabeth/warning_fixes2

Fixes some warnings introduced with last pull

6 years agoFixes argument size type, function static where appropriate.
Armin Novak [Fri, 19 Jan 2018 08:13:40 +0000 (09:13 +0100)]
Fixes argument size type, function static where appropriate.

6 years agoMerge pull request #4367 from akallabeth/android_version_next
Bernhard Miklautz [Wed, 17 Jan 2018 18:31:29 +0000 (19:31 +0100)]
Merge pull request #4367 from akallabeth/android_version_next

Updated gradle build version and dependencies.

6 years agoMerge pull request #4369 from akallabeth/openh264_update
Bernhard Miklautz [Wed, 17 Jan 2018 18:29:09 +0000 (19:29 +0100)]
Merge pull request #4369 from akallabeth/openh264_update

[android] Openh264 update scripts

6 years agoUpdated OpenSSL version for android.
Armin Novak [Wed, 17 Jan 2018 14:26:33 +0000 (15:26 +0100)]
Updated OpenSSL version for android.

6 years agoUpdated to OpenH264 1.7 and relocatable binaries.
Armin Novak [Wed, 17 Jan 2018 14:23:19 +0000 (15:23 +0100)]
Updated to OpenH264 1.7 and relocatable binaries.

6 years agoUpdated gradle build version and dependencies.
Armin Novak [Wed, 17 Jan 2018 11:03:05 +0000 (12:03 +0100)]
Updated gradle build version and dependencies.

6 years agoMerge pull request #4365 from akallabeth/negociate_context_reset_fix
David Fort [Wed, 17 Jan 2018 10:05:04 +0000 (11:05 +0100)]
Merge pull request #4365 from akallabeth/negociate_context_reset_fix

Negociate context reset fix

6 years agoFixed missing packageName setup in server NLA
Armin Novak [Wed, 17 Jan 2018 08:09:58 +0000 (09:09 +0100)]
Fixed missing packageName setup in server NLA

6 years agoSimplified package name comparisons.
Armin Novak [Wed, 17 Jan 2018 07:17:33 +0000 (08:17 +0100)]
Simplified package name comparisons.

6 years agoChanged length arguments and return to size_t
Armin Novak [Wed, 17 Jan 2018 07:12:54 +0000 (08:12 +0100)]
Changed length arguments and return to size_t

6 years agoRefactored NTLM, functions static where approprate
Armin Novak [Tue, 16 Jan 2018 10:34:07 +0000 (11:34 +0100)]
Refactored NTLM, functions static where approprate

6 years agoRefactored kerberos SSPI
Armin Novak [Tue, 16 Jan 2018 09:58:30 +0000 (10:58 +0100)]
Refactored kerberos SSPI
* Functions static where approrpriate
* Variables static const where appropriate

6 years agoFixed ICU support for CP_ACP
Armin Novak [Tue, 16 Jan 2018 09:37:19 +0000 (10:37 +0100)]
Fixed ICU support for CP_ACP

6 years agoFix #4306:
Armin Novak [Tue, 16 Jan 2018 09:31:08 +0000 (10:31 +0100)]
Fix #4306:
* Do not reset context when changing package.
* All functions not exported static.

6 years agoMerge pull request #4362 from akallabeth/ifdef_fix
Martin Fleisz [Mon, 15 Jan 2018 10:18:59 +0000 (11:18 +0100)]
Merge pull request #4362 from akallabeth/ifdef_fix

Fixed broken #ifdef

6 years agoFixed broken #ifdef
Armin Novak [Mon, 15 Jan 2018 09:18:03 +0000 (10:18 +0100)]
Fixed broken #ifdef

6 years agoMerge pull request #4359 from MartinHaimberger/yuvfix
akallabeth [Mon, 15 Jan 2018 09:13:26 +0000 (10:13 +0100)]
Merge pull request #4359 from MartinHaimberger/yuvfix

YUV conversation: fixed luma frame creation

6 years agoMerge pull request #4358 from akallabeth/ntlm_debug_fix
David Fort [Mon, 15 Jan 2018 08:57:23 +0000 (09:57 +0100)]
Merge pull request #4358 from akallabeth/ntlm_debug_fix

Fixed #4357: NTLM debug message.

6 years agoFixed bitmap capability debug.
Armin Novak [Fri, 12 Jan 2018 08:00:59 +0000 (09:00 +0100)]
Fixed bitmap capability debug.

6 years agoFixed #4357: NTLM debug message.
Armin Novak [Fri, 12 Jan 2018 07:57:20 +0000 (08:57 +0100)]
Fixed #4357: NTLM debug message.

6 years agoYUV conversation: fixed luma frame creation
Martin Haimberger [Fri, 12 Jan 2018 08:08:56 +0000 (00:08 -0800)]
YUV conversation: fixed luma frame creation

in the conversation function general_RGBToAVC444YUVv2_ANY

6 years agoMerge pull request #4355 from jukeks/topic/smartcard_status_cbAtrLen
akallabeth [Thu, 11 Jan 2018 16:46:12 +0000 (17:46 +0100)]
Merge pull request #4355 from jukeks/topic/smartcard_status_cbAtrLen

Fix smartcard login by ignoring Status_Call.cbAtrLen as is required by [MS-RDPESC]

6 years ago[MS-RDPESC] 2.2.2.18 Status_Call.cbAtrLen: Unused. MUST be ignored upon receipt.
Jukka-Pekka Virtanen [Thu, 11 Jan 2018 14:19:02 +0000 (16:19 +0200)]
[MS-RDPESC] 2.2.2.18 Status_Call.cbAtrLen: Unused. MUST be ignored upon receipt.

The [MS-RDPESC] clearly states in section 2.2.2.18 that Status_Call's
cbAtrLen must not be used when generating Status_Return response. This
is also how FreeRDP 1.1 behaves.

6 years agoMerge pull request #4349 from akallabeth/primitives_update
MartinHaimberger [Wed, 10 Jan 2018 14:33:13 +0000 (15:33 +0100)]
Merge pull request #4349 from akallabeth/primitives_update

Added new and optimized YUV primitives.

6 years agoAdded new and optimized YUV primitives.
Armin Novak [Wed, 10 Jan 2018 08:16:59 +0000 (09:16 +0100)]
Added new and optimized YUV primitives.

* RGBToAVC444YUVv2: Split a RGB frame in luma and/or chroma v2 YUV420 frames
* RGBX specific versions of RGBToAVC444YUV and RGBToYUV420_8u_P3AC4R