platform/upstream/freerdp.git
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 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

7 years agoMerge pull request #3834 from akallabeth/afreerdp_hide_menu
Martin Fleisz [Thu, 2 Mar 2017 12:37:25 +0000 (13:37 +0100)]
Merge pull request #3834 from akallabeth/afreerdp_hide_menu

Fix broken color mapping

7 years agoAdded missing translations for color enumeration.
Armin Novak [Thu, 2 Mar 2017 12:06:10 +0000 (13:06 +0100)]
Added missing translations for color enumeration.

7 years agoRemoved https links in MPL and apache license.
Armin Novak [Thu, 2 Mar 2017 11:29:37 +0000 (12:29 +0100)]
Removed https links in MPL and apache license.

7 years agoMerge pull request #3807 from akallabeth/afreerdp_update
Martin Fleisz [Thu, 2 Mar 2017 11:26:00 +0000 (12:26 +0100)]
Merge pull request #3807 from akallabeth/afreerdp_update

Afreerdp update

7 years agoAdded client name reset if empty.
Armin Novak [Thu, 2 Mar 2017 09:27:13 +0000 (10:27 +0100)]
Added client name reset if empty.

7 years agoUpdated intent filter to open RDP files.
Armin Novak [Thu, 2 Mar 2017 07:49:50 +0000 (08:49 +0100)]
Updated intent filter to open RDP files.

7 years agoThe LongCredentials capability were not parsed or used
David Fort [Wed, 1 Mar 2017 23:39:08 +0000 (00:39 +0100)]
The LongCredentials capability were not parsed or used

7 years agoTake in account and set the LogonNotify flag
David Fort [Wed, 1 Mar 2017 23:29:48 +0000 (00:29 +0100)]
Take in account and set the LogonNotify flag

This flag was not read in the server case and was always sent in the
case of a client.

7 years agoMerge pull request #3823 from akallabeth/ssl_error_check_fix
David Fort [Wed, 1 Mar 2017 10:21:41 +0000 (11:21 +0100)]
Merge pull request #3823 from akallabeth/ssl_error_check_fix

Fixed SSL error checks in transport_ssl_cb

7 years agoFixed SSL error checks in transport_ssl_cb
Armin Novak [Mon, 27 Feb 2017 14:41:27 +0000 (15:41 +0100)]
Fixed SSL error checks in transport_ssl_cb

Fix error define use. The callback is called from
ssl3_dispatch_alert or dtls1_dispatch_alert where the alert define
is left shifted by 8. Additionally ignore close notifcation. (#3814)

7 years agoMerge pull request #3825 from nfedera/getcomputername_test
Norbert Federa [Tue, 28 Feb 2017 10:19:29 +0000 (11:19 +0100)]
Merge pull request #3825 from nfedera/getcomputername_test

Added test for GetComputerName/GetComputerNameEx

7 years agoAdded test for GetComputerName/GetComputerNameEx
Norbert Federa [Mon, 27 Feb 2017 16:14:04 +0000 (17:14 +0100)]
Added test for GetComputerName/GetComputerNameEx

7 years agoMerge pull request #3816 from akallabeth/get_name_fix
Norbert Federa [Tue, 28 Feb 2017 09:29:22 +0000 (10:29 +0100)]
Merge pull request #3816 from akallabeth/get_name_fix

Fixed GetComputerNameExA calls. #3815

7 years agoFixed setting of lpnSize according to spec.
Armin Novak [Tue, 28 Feb 2017 08:39:04 +0000 (09:39 +0100)]
Fixed setting of lpnSize according to spec.

7 years agoFixed GetComputerNameExA return checks.
Armin Novak [Mon, 27 Feb 2017 09:56:19 +0000 (10:56 +0100)]
Fixed GetComputerNameExA return checks.

7 years agoFixed GetComputerNameEx last error.
Armin Novak [Mon, 27 Feb 2017 09:52:59 +0000 (10:52 +0100)]
Fixed GetComputerNameEx last error.

7 years agoFixed memory leaks.
akallabeth [Sat, 25 Feb 2017 07:35:37 +0000 (08:35 +0100)]
Fixed memory leaks.

7 years agoFixed GetComputerNameExA calls. #3815
akallabeth [Fri, 24 Feb 2017 20:58:08 +0000 (21:58 +0100)]
Fixed GetComputerNameExA calls. #3815

7 years agoMerge pull request #3800 from mfleisz/channel_fixes
Norbert Federa [Fri, 24 Feb 2017 12:25:52 +0000 (13:25 +0100)]
Merge pull request #3800 from mfleisz/channel_fixes

Cleanup channel structs in channels_close to allow instance reuse

7 years agoclient: Check if channel has already been added
Martin Fleisz [Wed, 22 Feb 2017 12:46:47 +0000 (13:46 +0100)]
client: Check if channel has already been added

7 years agoMerge pull request #3801 from chipitsine/master
akallabeth [Fri, 24 Feb 2017 11:26:30 +0000 (12:26 +0100)]
Merge pull request #3801 from chipitsine/master

resolve compiler warning

7 years agoMoved construction to onCreate.
Armin Novak [Fri, 24 Feb 2017 10:30:04 +0000 (11:30 +0100)]
Moved construction to onCreate.

7 years agoAll EditTextPreferences are now single lined.
Armin Novak [Fri, 24 Feb 2017 08:48:40 +0000 (09:48 +0100)]
All EditTextPreferences are now single lined.

7 years agoAdded signing configuration.
Armin Novak [Fri, 24 Feb 2017 08:29:26 +0000 (09:29 +0100)]
Added signing configuration.

7 years agoUse HTTPS links in about.
Armin Novak [Thu, 23 Feb 2017 14:20:19 +0000 (15:20 +0100)]
Use HTTPS links in about.

7 years agoUpdated gradle build, allow to configure from file.
Armin Novak [Thu, 23 Feb 2017 14:00:30 +0000 (15:00 +0100)]
Updated gradle build, allow to configure from file.

7 years agoMerge pull request #3791 from akallabeth/kerberos
akallabeth [Thu, 23 Feb 2017 12:46:34 +0000 (13:46 +0100)]
Merge pull request #3791 from akallabeth/kerberos

Kerberos (Rebased #3417)

7 years agoUpdated about pages.
Armin Novak [Thu, 23 Feb 2017 11:37:55 +0000 (12:37 +0100)]
Updated about pages.

7 years agoAdded a H264 availability check.
Armin Novak [Thu, 23 Feb 2017 11:31:08 +0000 (12:31 +0100)]
Added a H264 availability check.

7 years agoFixed initialisation of kerberos context.
Armin Novak [Thu, 23 Feb 2017 10:06:47 +0000 (11:06 +0100)]
Fixed initialisation of kerberos context.

7 years agoFixed asset loading.
Armin Novak [Thu, 23 Feb 2017 09:51:21 +0000 (10:51 +0100)]
Fixed asset loading.

7 years agoUpdated licensing information and data protection clause.
Armin Novak [Wed, 22 Feb 2017 18:09:01 +0000 (19:09 +0100)]
Updated licensing information and data protection clause.

7 years agoRefactored application settings, added client hostname (#1343)
Armin Novak [Wed, 22 Feb 2017 16:55:22 +0000 (17:55 +0100)]
Refactored application settings, added client hostname (#1343)

7 years agoresolve compiler warning
Ilya Shipitsin [Wed, 22 Feb 2017 15:39:32 +0000 (20:39 +0500)]
resolve compiler warning

channels/cliprdr/client/cliprdr_main.c:121:13: warning: ‘cliprdr_print_general_capability_flags’ defined but not used [-Wunused-function]

 static void cliprdr_print_general_capability_flags(UINT32 flags)

             ^

7 years agoRefactored db upgrade code.
Armin Novak [Wed, 22 Feb 2017 14:32:53 +0000 (15:32 +0100)]
Refactored db upgrade code.

7 years agoUsing AppCompatActivity.
Armin Novak [Wed, 22 Feb 2017 14:25:34 +0000 (15:25 +0100)]
Using AppCompatActivity.

7 years agoDeactivated async_transport #3134
Armin Novak [Wed, 22 Feb 2017 14:24:38 +0000 (15:24 +0100)]
Deactivated async_transport #3134

7 years agoReformatted using AndroidStudio coding style.
Armin Novak [Wed, 22 Feb 2017 13:33:40 +0000 (14:33 +0100)]
Reformatted using AndroidStudio coding style.

7 years agoUpdated gradle.
Armin Novak [Wed, 22 Feb 2017 13:29:42 +0000 (14:29 +0100)]
Updated gradle.

7 years agoUpdated OpenSSL version in android script.
Armin Novak [Wed, 22 Feb 2017 12:15:49 +0000 (13:15 +0100)]
Updated OpenSSL version in android script.

7 years agocore: Cleanup channel structs in close to allow instance reuse
Martin Fleisz [Wed, 22 Feb 2017 12:45:25 +0000 (13:45 +0100)]
core: Cleanup channel structs in close to allow instance reuse

7 years agoMerge pull request #3785 from uplusplus/patch-4
Martin Fleisz [Wed, 22 Feb 2017 12:28:29 +0000 (13:28 +0100)]
Merge pull request #3785 from uplusplus/patch-4

tsmf dead lock fixed

7 years agoMerge pull request #3797 from hardening/clientCapabilities
Martin Fleisz [Wed, 22 Feb 2017 11:53:51 +0000 (12:53 +0100)]
Merge pull request #3797 from hardening/clientCapabilities

Misc patches around capabilities

7 years agoMerge pull request #3798 from mfleisz/vc10_comp_fix
akallabeth [Wed, 22 Feb 2017 11:47:52 +0000 (12:47 +0100)]
Merge pull request #3798 from mfleisz/vc10_comp_fix

primitives: Fix compilation with VS 2010

7 years agoMerge pull request #3799 from akallabeth/yuv_fix
Martin Fleisz [Wed, 22 Feb 2017 10:47:34 +0000 (11:47 +0100)]
Merge pull request #3799 from akallabeth/yuv_fix

Fixed argument check of sse2_RGBToRGB_16s8u_P3AC4R

7 years agoFixed argument check of sse2_RGBToRGB_16s8u_P3AC4R
Armin Novak [Wed, 22 Feb 2017 09:59:18 +0000 (10:59 +0100)]
Fixed argument check of sse2_RGBToRGB_16s8u_P3AC4R

7 years agoprimitives: Fix compilation with VS 2010
Martin Fleisz [Wed, 22 Feb 2017 09:21:01 +0000 (10:21 +0100)]
primitives: Fix compilation with VS 2010

7 years agoAdded additional connect errors.
Armin Novak [Wed, 22 Feb 2017 08:50:59 +0000 (09:50 +0100)]
Added additional connect errors.

7 years agoUsing preloaded logger.
Armin Novak [Wed, 22 Feb 2017 08:42:56 +0000 (09:42 +0100)]
Using preloaded logger.

7 years agoUsing SSL defines instead of magic numbers.
Armin Novak [Wed, 22 Feb 2017 08:29:52 +0000 (09:29 +0100)]
Using SSL defines instead of magic numbers.

7 years agoAdd a ClientCapabilities callback
David Fort [Tue, 21 Feb 2017 22:44:47 +0000 (23:44 +0100)]
Add a ClientCapabilities callback

This callback is called when the client capabilities have been received. This callback
appears to be more useful than the Capabilities one that is called just before the server
sends its capabilities.

7 years agoDropped some warnings and fix code style
David Fort [Tue, 21 Feb 2017 22:00:41 +0000 (23:00 +0100)]
Dropped some warnings and fix code style

Dropped some warning that were caused by the DEBUG_CAPABILTIES define.
Also adjusted some lines that were quite ugly after the automatic truncation
to 80 characters.

7 years agoMerge pull request #3795 from hardening/monitor_limit
Norbert Federa [Tue, 21 Feb 2017 16:35:57 +0000 (17:35 +0100)]
Merge pull request #3795 from hardening/monitor_limit

Limit the number of client announced monitors

7 years agoAdded the spec reference for the 16 monitors limit
David Fort [Tue, 21 Feb 2017 14:03:00 +0000 (15:03 +0100)]
Added the spec reference for the 16 monitors limit

7 years agoMerge pull request #3794 from Abhineet-Ayan-Verma/patch-3
akallabeth [Tue, 21 Feb 2017 11:44:33 +0000 (12:44 +0100)]
Merge pull request #3794 from Abhineet-Ayan-Verma/patch-3

Added TAG macro definition

7 years agoMerge pull request #3789 from akallabeth/scan_warning_fixes
Martin Fleisz [Tue, 21 Feb 2017 10:07:57 +0000 (11:07 +0100)]
Merge pull request #3789 from akallabeth/scan_warning_fixes

Scanbuild warning and error fixes

7 years agoLimit the number of client announced monitors
David Fort [Tue, 21 Feb 2017 10:02:12 +0000 (11:02 +0100)]
Limit the number of client announced monitors

The specs says that only 16 are allowed, so let's make that limitation a
reality.

7 years agoEnabled kerberos support on CI
Armin Novak [Tue, 21 Feb 2017 09:59:15 +0000 (10:59 +0100)]
Enabled kerberos support on CI

7 years agoUpdated KRB5 detection, added error case handler
Armin Novak [Tue, 21 Feb 2017 09:52:13 +0000 (10:52 +0100)]
Updated KRB5 detection, added error case handler

* Linking against KRB5 library now, no dynamic usage.
* Added proper CMake detection script for KRB5 detection
* Added some additional error conditions.

7 years agoMerge pull request #3792 from Abhineet-Ayan-Verma/patch-1
akallabeth [Tue, 21 Feb 2017 09:08:55 +0000 (10:08 +0100)]
Merge pull request #3792 from Abhineet-Ayan-Verma/patch-1

Added TAG macro definition

7 years agoMerge pull request #3793 from Abhineet-Ayan-Verma/patch-2
akallabeth [Tue, 21 Feb 2017 09:07:57 +0000 (10:07 +0100)]
Merge pull request #3793 from Abhineet-Ayan-Verma/patch-2

Added TAG macro definition

7 years agoAdded TAG macro definition
Abhineet-Ayan-Verma [Tue, 21 Feb 2017 04:46:17 +0000 (10:16 +0530)]
Added TAG macro definition

Fixed TAG undeclared identifier error

7 years agoAdded TAG macro definition
Abhineet-Ayan-Verma [Tue, 21 Feb 2017 04:43:53 +0000 (10:13 +0530)]
Added TAG macro definition

Fixed TAG undeclared identifier error

7 years agoAdded TAG macro definition
Abhineet-Ayan-Verma [Tue, 21 Feb 2017 04:42:10 +0000 (10:12 +0530)]
Added TAG macro definition

Fixed TAG undeclared identifier error

7 years agoUpdate transport.c
HenryJacques [Mon, 20 Jun 2016 09:49:54 +0000 (11:49 +0200)]
Update transport.c

7 years agoUpdate errconnect.c
HenryJacques [Mon, 20 Jun 2016 09:38:13 +0000 (11:38 +0200)]
Update errconnect.c

7 years agoUpdate error.h
HenryJacques [Mon, 20 Jun 2016 09:35:55 +0000 (11:35 +0200)]
Update error.h

7 years agoUpdate config.h.in
HenryJacques [Mon, 20 Jun 2016 09:31:38 +0000 (11:31 +0200)]
Update config.h.in

7 years agoMerge pull request #3788 from Abhineet-Ayan-Verma/patch-5
akallabeth [Mon, 20 Feb 2017 14:58:29 +0000 (15:58 +0100)]
Merge pull request #3788 from Abhineet-Ayan-Verma/patch-5

Added TAG definition

7 years agoMerge pull request #3786 from Abhineet-Ayan-Verma/patch-3
akallabeth [Mon, 20 Feb 2017 14:20:17 +0000 (15:20 +0100)]
Merge pull request #3786 from Abhineet-Ayan-Verma/patch-3

Undeclared identifiers fixes in wf_update.c

7 years agoMerge pull request #3774 from akallabeth/smartcard_reader_groups
Martin Fleisz [Mon, 20 Feb 2017 13:33:10 +0000 (14:33 +0100)]
Merge pull request #3774 from akallabeth/smartcard_reader_groups

smartcard: implement ListReaderGroups

7 years agoFixed scanbuild warnings.
Armin Novak [Mon, 20 Feb 2017 13:32:54 +0000 (14:32 +0100)]
Fixed scanbuild warnings.

7 years agoFixed scanbuild warnings.
Armin Novak [Mon, 20 Feb 2017 13:28:33 +0000 (14:28 +0100)]
Fixed scanbuild warnings.

7 years agoFixed scanbuild warnings.
Armin Novak [Mon, 20 Feb 2017 13:18:18 +0000 (14:18 +0100)]
Fixed scanbuild warnings.

7 years agoFixed scanbuild issues.
Armin Novak [Mon, 20 Feb 2017 13:15:25 +0000 (14:15 +0100)]
Fixed scanbuild issues.

7 years agoFixed scanbuild warnings.
Armin Novak [Mon, 20 Feb 2017 13:12:39 +0000 (14:12 +0100)]
Fixed scanbuild warnings.

7 years agoMerge pull request #3746 from volth/command-line-action-script-rebased
Bernhard Miklautz [Mon, 20 Feb 2017 13:08:14 +0000 (14:08 +0100)]
Merge pull request #3746 from volth/command-line-action-script-rebased

Add command line option to override action script path

7 years agoAdded TAG definition
Abhineet-Ayan-Verma [Mon, 20 Feb 2017 13:03:52 +0000 (18:33 +0530)]
Added TAG definition

7 years agoUpdate wf_update.c
Abhineet-Ayan-Verma [Mon, 20 Feb 2017 12:50:23 +0000 (18:20 +0530)]
Update wf_update.c

+ TAG definition.
+ Required arguments to rfx_context_reset.
+ Replaced RDP_PIXEL_FORMAT_BGRA32 with PIXEL_FORMAT_BGRA32

7 years agoFixed scanbuild warnings.
Armin Novak [Mon, 20 Feb 2017 12:38:20 +0000 (13:38 +0100)]
Fixed scanbuild warnings.

7 years agoFixed warings #3784
Armin Novak [Mon, 20 Feb 2017 12:30:16 +0000 (13:30 +0100)]
Fixed warings #3784

7 years agoMerge pull request #3783 from chipitsine/master
akallabeth [Mon, 20 Feb 2017 12:07:12 +0000 (13:07 +0100)]
Merge pull request #3783 from chipitsine/master

fix several defects found by cppcheck

7 years agodead lock fixed
joy.you [Mon, 20 Feb 2017 08:54:51 +0000 (16:54 +0800)]
dead lock fixed

As ffmpeg decoder does not have stream->decoder->BufferLevel,So
stream->currentBufferLevel is always equal 1

7 years agoresolve trivial issues found by cppcheck
Ilya Shipitsin [Fri, 17 Feb 2017 13:36:03 +0000 (18:36 +0500)]
resolve trivial issues found by cppcheck

[libfreerdp/primitives/prim_add_opt.c:43]: (error) Uninitialized variable: shifts
[libfreerdp/primitives/prim_andor_opt.c:42]: (error) Uninitialized variable: shifts
[libfreerdp/primitives/prim_andor_opt.c:44]: (error) Uninitialized variable: shifts
[libfreerdp/primitives/prim_shift_opt.c:42]: (error) Uninitialized variable: shifts
[libfreerdp/primitives/prim_shift_opt.c:45]: (error) Uninitialized variable: shifts
[libfreerdp/primitives/prim_shift_opt.c:48]: (error) Uninitialized variable: shifts
[libfreerdp/primitives/prim_shift_opt.c:51]: (error) Uninitialized variable: shifts

7 years agoFixed format specifier and unused variables.
Armin Novak [Fri, 17 Feb 2017 13:25:59 +0000 (14:25 +0100)]
Fixed format specifier and unused variables.