platform/upstream/freerdp.git
7 years agoclient/x11: fix gfx drawing bug with /multimon
Norbert Federa [Tue, 11 Apr 2017 10:30:37 +0000 (12:30 +0200)]
client/x11: fix gfx drawing bug with /multimon

The surface's damage region is not relative to the output but
lives in its own universe starting at origin 0,0.

Also fixed the drawing coordinates used in the XRENDER code path
which is used with /smart-sizing

7 years agoMerge pull request #3864 from DavBfr/rewrite-disk-redirection
David Fort [Thu, 6 Apr 2017 15:32:21 +0000 (17:32 +0200)]
Merge pull request #3864 from DavBfr/rewrite-disk-redirection

Rewrite disk redirection using WinPR

7 years agoMerge pull request #3897 from akallabeth/mac_os_fix
Bernhard Miklautz [Thu, 6 Apr 2017 07:54:26 +0000 (09:54 +0200)]
Merge pull request #3897 from akallabeth/mac_os_fix

OSX: Updated RPATH settings for each lib.

7 years agoFixed RPATH settings for OS X
Armin Novak [Thu, 6 Apr 2017 06:05:39 +0000 (08:05 +0200)]
Fixed RPATH settings for OS X

7 years agoFix indentation
David PHAM-VAN [Wed, 5 Apr 2017 22:35:03 +0000 (15:35 -0700)]
Fix indentation

7 years agoMerge pull request #3899 from akallabeth/neon_fix
Norbert Federa [Wed, 5 Apr 2017 10:36:38 +0000 (12:36 +0200)]
Merge pull request #3899 from akallabeth/neon_fix

Fixed NEON YUV to RGB conversion issues.

7 years agoFixed NEON YUV to RGB conversion issues.
Armin Novak [Wed, 5 Apr 2017 09:37:48 +0000 (11:37 +0200)]
Fixed NEON YUV to RGB conversion issues.

7 years agoMerge pull request #3896 from nfedera/fix_gfx_progressive_decoding
Bernhard Miklautz [Tue, 4 Apr 2017 05:44:38 +0000 (07:44 +0200)]
Merge pull request #3896 from nfedera/fix_gfx_progressive_decoding

rdpegfx: fix RemoteFX Progressive Codec decoding

7 years agordpegfx: fix RemoteFX Progressive Codec decoding
Norbert Federa [Mon, 3 Apr 2017 16:59:58 +0000 (18:59 +0200)]
rdpegfx: fix RemoteFX Progressive Codec decoding

Since this comes via a Wire-To-Surface-2 PDU we don't have
any left/top/right/bottom destination values.
The current code has always dealt with zeros when updating the
invalid region which resulted in black rectangles.
The correct update region is determined during decompression.

7 years agoFix FindFirstFile return values
David PHAM-VAN [Fri, 31 Mar 2017 22:33:28 +0000 (15:33 -0700)]
Fix FindFirstFile return values

7 years agoMerge pull request #3892 from akallabeth/x11_gfx_surface_update
Norbert Federa [Fri, 31 Mar 2017 11:24:10 +0000 (13:24 +0200)]
Merge pull request #3892 from akallabeth/x11_gfx_surface_update

Update changed rectangles instead of extent.

7 years agoMerge pull request #3894 from akallabeth/cache_to_surface_fix
Norbert Federa [Fri, 31 Mar 2017 10:27:34 +0000 (12:27 +0200)]
Merge pull request #3894 from akallabeth/cache_to_surface_fix

Use exclusive coordinates in CacheToSurface.

7 years agoUse exclusive coordinates in CacheToSurface.
Armin Novak [Fri, 31 Mar 2017 10:06:21 +0000 (12:06 +0200)]
Use exclusive coordinates in CacheToSurface.

7 years agoUpdate changed rectangles instead of extent.
Armin Novak [Thu, 30 Mar 2017 15:23:04 +0000 (17:23 +0200)]
Update changed rectangles instead of extent.

7 years agoMerge pull request #3891 from nfedera/fix-rdpegfx-gdisw-drawing
David Fort [Thu, 30 Mar 2017 14:59:39 +0000 (16:59 +0200)]
Merge pull request #3891 from nfedera/fix-rdpegfx-gdisw-drawing

improve rdpegfx drawing for software gdi

7 years agoimprove rdpegfx drawing for software gdi
Norbert Federa [Thu, 30 Mar 2017 13:42:13 +0000 (15:42 +0200)]
improve rdpegfx drawing for software gdi

process the region's rectangles individually instead of
just copying the extents

7 years agoMerge pull request #3865 from DavBfr/unicode-printer-name
David Fort [Wed, 29 Mar 2017 12:54:57 +0000 (14:54 +0200)]
Merge pull request #3865 from DavBfr/unicode-printer-name

Bugfix: Wrong encoding method used for printer name

7 years agoMerge pull request #3886 from akallabeth/warning_fixes_and_tests
Martin Fleisz [Wed, 29 Mar 2017 10:42:32 +0000 (12:42 +0200)]
Merge pull request #3886 from akallabeth/warning_fixes_and_tests

Fixes for AVC420, Warnings and tests

7 years agoFixed memory leak and return value check issue.
Armin Novak [Tue, 28 Mar 2017 15:56:44 +0000 (17:56 +0200)]
Fixed memory leak and return value check issue.

7 years agoFixed AVC420 SSE implementation and test.
Armin Novak [Tue, 28 Mar 2017 15:42:35 +0000 (17:42 +0200)]
Fixed AVC420 SSE implementation and test.

7 years agoFixed tests and dead store warnings.
Armin Novak [Tue, 28 Mar 2017 14:18:00 +0000 (16:18 +0200)]
Fixed tests and dead store warnings.

7 years agoMerge pull request #3884 from akallabeth/memleak_fix
David Fort [Tue, 28 Mar 2017 13:06:10 +0000 (15:06 +0200)]
Merge pull request #3884 from akallabeth/memleak_fix

Fixed leak of client random.

7 years agoFixed leak of client random.
Armin Novak [Tue, 28 Mar 2017 12:33:02 +0000 (14:33 +0200)]
Fixed leak of client random.

7 years agoMerge pull request #3883 from akallabeth/gfx_x11_speedup
Norbert Federa [Tue, 28 Mar 2017 10:35:30 +0000 (12:35 +0200)]
Merge pull request #3883 from akallabeth/gfx_x11_speedup

Gfx x11 speedup

7 years agoLet bitmaps keep XBitmap during lifetime.
Armin Novak [Tue, 28 Mar 2017 09:49:47 +0000 (11:49 +0200)]
Let bitmaps keep XBitmap during lifetime.

7 years ago X11 GFX: Restrict to region, ignore alpha
Armin Novak [Tue, 28 Mar 2017 09:49:13 +0000 (11:49 +0200)]
 X11 GFX: Restrict to region, ignore alpha

* Restrict the screen update to the changed region
* Ignore differences in color format alpha

7 years agoFixed invalid return from xf_rail_window_icon
Armin Novak [Tue, 28 Mar 2017 09:47:46 +0000 (11:47 +0200)]
Fixed invalid return from xf_rail_window_icon

7 years agoMerge pull request #3882 from nfedera/fix-x11-client-perf
akallabeth [Tue, 28 Mar 2017 06:44:29 +0000 (08:44 +0200)]
Merge pull request #3882 from nfedera/fix-x11-client-perf

some performance fixes

7 years agoFix memory leaks, Mixed declarations
David PHAM-VAN [Mon, 27 Mar 2017 18:11:54 +0000 (11:11 -0700)]
Fix memory leaks, Mixed declarations

7 years agosome performance fixes
Norbert Federa [Mon, 27 Mar 2017 07:00:27 +0000 (09:00 +0200)]
some performance fixes

- draw only the updated region in the gdi and x11 surface bits implementation
- don't repeatedly call IsProcessorFeaturePresentEx in rfx rlgr decoder
- fix ugly and unaligned profiler print layout and remove an unnecessary value

7 years agoRemove unused variable and check return codes
David PHAM-VAN [Tue, 14 Mar 2017 16:37:17 +0000 (09:37 -0700)]
Remove unused variable and check return codes

7 years agoMerge pull request #3875 from hardening/client_random
Martin Fleisz [Fri, 24 Mar 2017 09:34:12 +0000 (10:34 +0100)]
Merge pull request #3875 from hardening/client_random

Client random

7 years agoStore client_random in server mode
David Fort [Tue, 21 Mar 2017 09:32:17 +0000 (10:32 +0100)]
Store client_random in server mode

We need the client_random in server mode when the client does RDP security and
tries to reconnect using the cookie.

7 years agoFixed typo
David Fort [Tue, 21 Mar 2017 09:31:21 +0000 (10:31 +0100)]
Fixed typo

7 years agoMerge pull request #3871 from akallabeth/logon_error_info_log
Martin Fleisz [Mon, 20 Mar 2017 10:21:58 +0000 (11:21 +0100)]
Merge pull request #3871 from akallabeth/logon_error_info_log

Print logon error info.

7 years agoMerge pull request #3870 from akallabeth/mouse_cursor_23bpp
Bernhard Miklautz [Mon, 20 Mar 2017 09:09:23 +0000 (10:09 +0100)]
Merge pull request #3870 from akallabeth/mouse_cursor_23bpp

Ignore AND mask for 32bpp cursor. #3863

7 years agoMerge pull request #3873 from lluixhi/master
David Fort [Mon, 20 Mar 2017 07:59:05 +0000 (08:59 +0100)]
Merge pull request #3873 from lluixhi/master

Support LibreSSL

7 years agoSupport LibreSSL
Aric Belsito [Sun, 19 Mar 2017 20:58:24 +0000 (13:58 -0700)]
Support LibreSSL

Broken by the addition of OpenSSL 1.1.0 support.

7 years agoMisc Fixes
David PHAM-VAN [Fri, 17 Mar 2017 21:05:21 +0000 (14:05 -0700)]
Misc Fixes

7 years agoPrint logon error info.
Armin Novak [Fri, 17 Mar 2017 12:48:32 +0000 (13:48 +0100)]
Print logon error info.

7 years agoIgnore AND mask for 32bpp cursor. #3863
Armin Novak [Fri, 17 Mar 2017 08:42:20 +0000 (09:42 +0100)]
Ignore AND mask for 32bpp cursor. #3863

7 years agoVerify ConvertFromUnicode return values
David PHAM-VAN [Thu, 16 Mar 2017 21:48:02 +0000 (14:48 -0700)]
Verify ConvertFromUnicode return values

7 years agoFix Windows build
David PHAM-VAN [Wed, 15 Mar 2017 17:28:27 +0000 (10:28 -0700)]
Fix Windows build

7 years agoFix FileGetMode writable detection
David PHAM-VAN [Tue, 14 Mar 2017 19:41:11 +0000 (12:41 -0700)]
Fix FileGetMode writable detection

7 years agoFix Android build
David PHAM-VAN [Tue, 14 Mar 2017 17:48:10 +0000 (10:48 -0700)]
Fix Android build

7 years agoMerge pull request #3867 from akallabeth/wlog_format_nightly_fix
Bernhard Miklautz [Tue, 14 Mar 2017 10:20:36 +0000 (11:20 +0100)]
Merge pull request #3867 from akallabeth/wlog_format_nightly_fix

Fix format string is not a string literal

7 years agoFix format string is not a string literal
Armin Novak [Tue, 14 Mar 2017 09:56:00 +0000 (10:56 +0100)]
Fix format string is not a string literal

7 years agoBugfix: Wrong encoding method used for printer name.
David PHAM-VAN [Mon, 13 Mar 2017 21:55:34 +0000 (14:55 -0700)]
Bugfix: Wrong encoding method used for printer name.

7 years agoFix WinPR FindFirstFile/FindNextFile functions
David PHAM-VAN [Wed, 30 Nov 2016 21:54:03 +0000 (13:54 -0800)]
Fix WinPR FindFirstFile/FindNextFile functions

7 years agoFix WinPR File creation functions
David PHAM-VAN [Wed, 30 Nov 2016 21:53:10 +0000 (13:53 -0800)]
Fix WinPR File creation functions

7 years agoAdd Windows Errors to File operations
David PHAM-VAN [Wed, 30 Nov 2016 21:51:26 +0000 (13:51 -0800)]
Add Windows Errors to File operations

7 years agoAdd specific Xrdp workarounds
David PHAM-VAN [Wed, 30 Nov 2016 22:22:24 +0000 (14:22 -0800)]
Add specific Xrdp workarounds

This reverts commit 36d95d73715bd081019538c55f74294aa9faffba.

7 years agoRewrite drive channel using WinPR functions
David PHAM-VAN [Wed, 30 Nov 2016 21:48:33 +0000 (13:48 -0800)]
Rewrite drive channel using WinPR functions

7 years agoadd _wcsrchr function
David PHAM-VAN [Wed, 30 Nov 2016 21:56:10 +0000 (13:56 -0800)]
add _wcsrchr function

7 years agoAdd missing functions to WinPR
David PHAM-VAN [Wed, 30 Nov 2016 21:47:06 +0000 (13:47 -0800)]
Add missing functions to WinPR

7 years agoMerge pull request #3862 from uglym8/fix_stack_peek
Martin Fleisz [Mon, 13 Mar 2017 14:11:34 +0000 (15:11 +0100)]
Merge pull request #3862 from uglym8/fix_stack_peek

Fix Stack_Peek

7 years agoMerge pull request #3861 from akallabeth/afreerdp-fix 2.0.0-beta1+android11
Martin Fleisz [Mon, 13 Mar 2017 12:46:23 +0000 (13:46 +0100)]
Merge pull request #3861 from akallabeth/afreerdp-fix

Afreerdp fix database test server

7 years agoFix Stack_Peek
Alexander Zakharov [Mon, 13 Mar 2017 12:45:27 +0000 (15:45 +0300)]
Fix Stack_Peek

7 years agoCleaned up database access code.
Armin Novak [Mon, 13 Mar 2017 11:05:49 +0000 (12:05 +0100)]
Cleaned up database access code.

7 years agoUsing plain HTTP links for freerdp.com
Armin Novak [Mon, 13 Mar 2017 08:21:07 +0000 (09:21 +0100)]
Using plain HTTP links for freerdp.com

7 years agoMerge pull request #3856 from hardening/rail_capabilities
Bernhard Miklautz [Fri, 10 Mar 2017 10:41:28 +0000 (11:41 +0100)]
Merge pull request #3856 from hardening/rail_capabilities

Don't forget to send the RAIL capabilities in server mode

7 years agoAdd more RAIL option flags
David Fort [Fri, 10 Mar 2017 09:36:26 +0000 (10:36 +0100)]
Add more RAIL option flags

7 years agoDon't forget to send the RAIL capabilities in server mode
David Fort [Thu, 9 Mar 2017 20:57:55 +0000 (21:57 +0100)]
Don't forget to send the RAIL capabilities in server mode

7 years agoMerge pull request #3855 from akallabeth/afreerdp_help_v2
Martin Fleisz [Thu, 9 Mar 2017 15:10:37 +0000 (16:10 +0100)]
Merge pull request #3855 from akallabeth/afreerdp_help_v2

Readded css for phone layout.

7 years agoReadded css for phone layout.
Armin Novak [Thu, 9 Mar 2017 14:08:01 +0000 (15:08 +0100)]
Readded css for phone layout.

7 years agoMerge pull request #3854 from akallabeth/afreerdp_help_unify
Martin Fleisz [Thu, 9 Mar 2017 13:24:00 +0000 (14:24 +0100)]
Merge pull request #3854 from akallabeth/afreerdp_help_unify

Afreerdp help unify

7 years agoFixed help pages.
Armin Novak [Thu, 9 Mar 2017 12:55:19 +0000 (13:55 +0100)]
Fixed help pages.

7 years agoFixed keyboard show/hide
Armin Novak [Thu, 9 Mar 2017 12:55:05 +0000 (13:55 +0100)]
Fixed keyboard show/hide

7 years agoMerge pull request #3853 from akallabeth/afreerdp_script_update
Martin Fleisz [Thu, 9 Mar 2017 10:59:47 +0000 (11:59 +0100)]
Merge pull request #3853 from akallabeth/afreerdp_script_update

Update for android scripts, per arch includes.

7 years agoMerge pull request #3847 from akallabeth/ffmpeg_define_fix
Martin Fleisz [Thu, 9 Mar 2017 10:35:31 +0000 (11:35 +0100)]
Merge pull request #3847 from akallabeth/ffmpeg_define_fix

Fixed #3782 and #2953: Using new libav defines.

7 years agoUpdate for android scripts, per arch includes.
Armin Novak [Thu, 9 Mar 2017 08:30:38 +0000 (09:30 +0100)]
Update for android scripts, per arch includes.

7 years agoMerge pull request #3851 from akallabeth/about_line_breaks
Martin Fleisz [Thu, 9 Mar 2017 10:27:10 +0000 (11:27 +0100)]
Merge pull request #3851 from akallabeth/about_line_breaks

aFreeRDP about page cleanup and parameter validation

7 years agoRemoved unused strings, translated missing ones.
Armin Novak [Thu, 9 Mar 2017 09:51:38 +0000 (10:51 +0100)]
Removed unused strings, translated missing ones.

7 years agoValidating advanced and screen settings.
Armin Novak [Thu, 9 Mar 2017 09:22:50 +0000 (10:22 +0100)]
Validating advanced and screen settings.

7 years agoValidating advanced settings before use.
Armin Novak [Thu, 9 Mar 2017 09:11:39 +0000 (10:11 +0100)]
Validating advanced settings before use.

7 years agoUpdated gradle and config printout.
Armin Novak [Thu, 9 Mar 2017 09:04:31 +0000 (10:04 +0100)]
Updated gradle and config printout.

7 years agoCSS to external file, fixed license linebreaks.
Armin Novak [Thu, 9 Mar 2017 09:01:36 +0000 (10:01 +0100)]
CSS to external file, fixed license linebreaks.

7 years agoMerge pull request #3842 from uplusplus/patch-5
akallabeth [Thu, 9 Mar 2017 07:20:48 +0000 (08:20 +0100)]
Merge pull request #3842 from uplusplus/patch-5

frame_size fixed

7 years agoMerge pull request #3845 from akallabeth/afreerdp_db_upgrade
Norbert Federa [Wed, 8 Mar 2017 08:35:52 +0000 (09:35 +0100)]
Merge pull request #3845 from akallabeth/afreerdp_db_upgrade

Afreerdp db upgrade

7 years agoFixed #3782 and #2953: Using new libav defines.
Armin Novak [Wed, 8 Mar 2017 08:00:13 +0000 (09:00 +0100)]
Fixed #3782 and #2953: Using new libav defines.

7 years agoUpdate tsmf_ffmpeg.c
joy.you [Wed, 8 Mar 2017 02:25:36 +0000 (10:25 +0800)]
Update tsmf_ffmpeg.c

7 years agoAsync transport removed, H264 check for support.
Armin Novak [Tue, 7 Mar 2017 15:09:24 +0000 (16:09 +0100)]
Async transport removed, H264 check for support.

7 years agoMerge pull request #3843 from manio/patch-1
akallabeth [Tue, 7 Mar 2017 14:29:25 +0000 (15:29 +0100)]
Merge pull request #3843 from manio/patch-1

Manual: remove a space in examples

7 years agoValidating log level.
Armin Novak [Tue, 7 Mar 2017 14:08:24 +0000 (15:08 +0100)]
Validating log level.

7 years agoFixed issues with database upgrade code.
Armin Novak [Tue, 7 Mar 2017 13:42:44 +0000 (14:42 +0100)]
Fixed issues with database upgrade code.

7 years agoFixed cursor empty checks.
Armin Novak [Tue, 7 Mar 2017 12:17:37 +0000 (13:17 +0100)]
Fixed cursor empty checks.

7 years agoManual: remove a space in examples
Mariusz Białończyk [Mon, 6 Mar 2017 13:28:30 +0000 (14:28 +0100)]
Manual: remove a space in examples

7 years agoframe_size fixed
joy.you [Mon, 6 Mar 2017 02:27:27 +0000 (10:27 +0800)]
frame_size fixed

if got_frame is not set, set frame_size to 0.

7 years agoMerge pull request #3796 from akallabeth/scan_warning_fixes_v2 2.0.0-beta1+android10
Norbert Federa [Fri, 3 Mar 2017 13:41:11 +0000 (14:41 +0100)]
Merge pull request #3796 from akallabeth/scan_warning_fixes_v2

Scan warning fixes v2

7 years agoMerge pull request #3838 from akallabeth/afreerdp_disconnect_fix
Norbert Federa [Fri, 3 Mar 2017 13:18:20 +0000 (14:18 +0100)]
Merge pull request #3838 from akallabeth/afreerdp_disconnect_fix

Fixed disconnect handling.

7 years agoFixed WLog_PrintMessagePrefixVA
Armin Novak [Fri, 3 Mar 2017 12:49:29 +0000 (13:49 +0100)]
Fixed WLog_PrintMessagePrefixVA

WLog_PrintMessagePrefixVA is called with format being a stack variable.
Always copy the data to message->PrefixString otherwise the information
will be lost whenever the stack is destroyed.

7 years agoFixed argument checks, formatting.
Armin Novak [Fri, 3 Mar 2017 12:44:07 +0000 (13:44 +0100)]
Fixed argument checks, formatting.

7 years agoFixed GetEnvironmentVariable.
Armin Novak [Fri, 3 Mar 2017 11:37:27 +0000 (12:37 +0100)]
Fixed GetEnvironmentVariable.

7 years agoFixed disconnect handling.
Armin Novak [Fri, 3 Mar 2017 11:06:37 +0000 (12:06 +0100)]
Fixed disconnect handling.

7 years agoMerge pull request #3829 from akallabeth/logon_error_info_string
Martin Fleisz [Fri, 3 Mar 2017 08:39:24 +0000 (09:39 +0100)]
Merge pull request #3829 from akallabeth/logon_error_info_string

String representation of logon_error_info

7 years agoMerge pull request #3836 from akallabeth/avc_444_neon_fix
Martin Fleisz [Thu, 2 Mar 2017 17:19:05 +0000 (18:19 +0100)]
Merge pull request #3836 from akallabeth/avc_444_neon_fix

Fixed index for YUV filter in NEON path.

7 years agoScanbuild warning, argument checks and leak fixes.
Armin Novak [Mon, 20 Feb 2017 17:31:58 +0000 (18:31 +0100)]
Scanbuild warning, argument checks and leak fixes.

* Added Stream_GetRemainingCapacity to check remaining stream size
  before writes.
* Fixed shadow server memory leak.
* Fixed lots of scanbuild warnings
* Added missing argument checks in many functions
* Added missing static function declarations

7 years agoString representation of logon_error_info
Armin Novak [Wed, 1 Mar 2017 10:38:37 +0000 (11:38 +0100)]
String representation of logon_error_info

7 years agoFixed index for YUV filter in NEON path.
Armin Novak [Thu, 2 Mar 2017 16:56:23 +0000 (17:56 +0100)]
Fixed index for YUV filter in NEON path.

7 years agoMerge pull request #3831 from hardening/logon_notify
Martin Fleisz [Thu, 2 Mar 2017 16:20:53 +0000 (17:20 +0100)]
Merge pull request #3831 from hardening/logon_notify

Handle the LogonNotify and longCredentials flag