platform/upstream/freerdp.git
8 years agoImplemented temporary certificate accept.
Armin Novak [Mon, 14 Dec 2015 13:02:49 +0000 (14:02 +0100)]
Implemented temporary certificate accept.

Certificates can now be accepted temporarily.
The callbacks for certificate validation have been
modified to extend the information presented to the user.

8 years agoFixed allocation issue with common_name.
Armin Novak [Mon, 14 Dec 2015 13:01:12 +0000 (14:01 +0100)]
Fixed allocation issue with common_name.

8 years agoMerge pull request #3097 from akallabeth/android_api_upgrade_v4
Martin Fleisz [Thu, 4 Feb 2016 15:20:59 +0000 (16:20 +0100)]
Merge pull request #3097 from akallabeth/android_api_upgrade_v4

Android api upgrade and restructuring

8 years agoRemoved android SDK dependency for native build.
Armin Novak [Thu, 4 Feb 2016 15:09:49 +0000 (16:09 +0100)]
Removed android SDK dependency for native build.

8 years agoMerge pull request #3108 from akallabeth/log_leve_adjust
Bernhard Miklautz [Thu, 4 Feb 2016 14:05:07 +0000 (15:05 +0100)]
Merge pull request #3108 from akallabeth/log_leve_adjust

Log level adjustments

8 years agoRemoved hardcoded debug mode.
Armin Novak [Thu, 4 Feb 2016 13:33:28 +0000 (14:33 +0100)]
Removed hardcoded debug mode.

8 years agoFixed argument for freerdp source.
Armin Novak [Thu, 4 Feb 2016 12:56:33 +0000 (13:56 +0100)]
Fixed argument for freerdp source.

8 years agoMerge pull request #3109 from nfedera/fix-x11-xdgh-types-collision
Norbert Federa [Thu, 4 Feb 2016 12:04:41 +0000 (13:04 +0100)]
Merge pull request #3109 from nfedera/fix-x11-xdgh-types-collision

fix X11/Xdg.h typedef collision fix

8 years agofix X11/Xdg.h typedef collision fix
Norbert Federa [Wed, 3 Feb 2016 20:32:55 +0000 (21:32 +0100)]
fix X11/Xdg.h typedef collision fix

8 years agordp_print_errinfo now uses INFO log level.
Armin Novak [Thu, 4 Feb 2016 10:41:54 +0000 (11:41 +0100)]
rdp_print_errinfo now uses INFO log level.

8 years agoFunction freerdp_set_error_info fix
Armin Novak [Thu, 4 Feb 2016 10:40:42 +0000 (11:40 +0100)]
Function freerdp_set_error_info fix

The public function did not wrap rdp_set_error_info.

8 years agoDisconnect log message now uses debug level.
Armin Novak [Thu, 4 Feb 2016 10:39:57 +0000 (11:39 +0100)]
Disconnect log message now uses debug level.

8 years agoMerge pull request #3107 from ccpp/tls-sni
akallabeth [Thu, 4 Feb 2016 08:56:52 +0000 (09:56 +0100)]
Merge pull request #3107 from ccpp/tls-sni

Enable support for SNI on client side

8 years agoMerge pull request #3079 from akallabeth/drive_hotplug_fix
Hardening [Thu, 4 Feb 2016 08:06:43 +0000 (09:06 +0100)]
Merge pull request #3079 from akallabeth/drive_hotplug_fix

Fixed argument checks for drive channel.

8 years agoEnable support for SNI on client side
Christian Plattner [Thu, 4 Feb 2016 07:34:51 +0000 (08:34 +0100)]
Enable support for SNI on client side

8 years agoMerge pull request #3105 from nfedera/fix-cmake-include-names
akallabeth [Wed, 3 Feb 2016 12:55:37 +0000 (13:55 +0100)]
Merge pull request #3105 from nfedera/fix-cmake-include-names

appropriate names in server & client cmake exports

8 years agoappropriate names in server & client cmake exports
Norbert Federa [Wed, 3 Feb 2016 12:37:35 +0000 (13:37 +0100)]
appropriate names in server & client cmake exports

8 years agoMerge pull request #3104 from akallabeth/sign_mismatch_fixes
Norbert Federa [Wed, 3 Feb 2016 11:56:45 +0000 (12:56 +0100)]
Merge pull request #3104 from akallabeth/sign_mismatch_fixes

Sign mismatch warnings fixed

8 years agoFixed inverted check.
Armin Novak [Wed, 3 Feb 2016 11:46:02 +0000 (12:46 +0100)]
Fixed inverted check.

8 years agoRemoved unused variable.
Armin Novak [Wed, 3 Feb 2016 11:45:49 +0000 (12:45 +0100)]
Removed unused variable.

8 years agoFixed initialization warning.
Armin Novak [Wed, 3 Feb 2016 11:45:31 +0000 (12:45 +0100)]
Fixed initialization warning.

8 years agoMerge pull request #3094 from DavBfr/mac-adpcm
akallabeth [Wed, 3 Feb 2016 11:11:27 +0000 (12:11 +0100)]
Merge pull request #3094 from DavBfr/mac-adpcm

Add ADPCM codec for Mac client
@DavBfr Thx for this nice addition!

8 years agoFixed flac caps creation.
Armin Novak [Wed, 3 Feb 2016 10:55:23 +0000 (11:55 +0100)]
Fixed flac caps creation.

8 years agoFixed constant definition.
Armin Novak [Wed, 3 Feb 2016 10:51:31 +0000 (11:51 +0100)]
Fixed constant definition.

8 years agoFixed _socket error check.
Armin Novak [Wed, 3 Feb 2016 10:45:22 +0000 (11:45 +0100)]
Fixed _socket error check.

8 years agoFixed error check.
Armin Novak [Wed, 3 Feb 2016 10:43:01 +0000 (11:43 +0100)]
Fixed error check.

8 years agoFixed unsigned underflow.
Armin Novak [Wed, 3 Feb 2016 10:30:15 +0000 (11:30 +0100)]
Fixed unsigned underflow.

8 years agoFixed invalid boolean check.
Armin Novak [Wed, 3 Feb 2016 10:23:41 +0000 (11:23 +0100)]
Fixed invalid boolean check.

8 years agoFixed unused check.
Armin Novak [Wed, 3 Feb 2016 10:22:27 +0000 (11:22 +0100)]
Fixed unused check.

8 years agoUse ERROR_INVALID_DATA for short buffers.
Armin Novak [Wed, 3 Feb 2016 10:04:35 +0000 (11:04 +0100)]
Use ERROR_INVALID_DATA for short buffers.

8 years agoMerge pull request #3103 from llyzs/memfix
Martin Fleisz [Wed, 3 Feb 2016 08:46:16 +0000 (09:46 +0100)]
Merge pull request #3103 from llyzs/memfix

gcc: assigned string must not be freed.

8 years agogcc: assigned string must not be freed.
Vic Lee [Wed, 3 Feb 2016 05:34:58 +0000 (13:34 +0800)]
gcc: assigned string must not be freed.

8 years agoActivate WITH_MACAUDIO flag if the build is for OS X
David PHAM-VAN [Tue, 2 Feb 2016 19:58:05 +0000 (11:58 -0800)]
Activate WITH_MACAUDIO flag if the build is for OS X

8 years agoMerge pull request #3101 from akallabeth/stdbool_detection_fix
Martin Fleisz [Tue, 2 Feb 2016 17:47:26 +0000 (18:47 +0100)]
Merge pull request #3101 from akallabeth/stdbool_detection_fix

Stdbool detection fix

8 years agoFixed stdint.h and stdbool.h detection.
Armin Novak [Tue, 2 Feb 2016 17:24:30 +0000 (18:24 +0100)]
Fixed stdint.h and stdbool.h detection.

8 years agoFixed length check issue.
Armin Novak [Tue, 2 Feb 2016 16:59:56 +0000 (17:59 +0100)]
Fixed length check issue.

8 years agoFixed stdbool.h and stdint.h detection.
Armin Novak [Tue, 2 Feb 2016 15:10:33 +0000 (16:10 +0100)]
Fixed stdbool.h and stdint.h detection.

When one of those headers is not detected the CMake
variable is undefined. Using it for a #define did break
things.

8 years agoMerge pull request #3099 from akallabeth/mac_fullscreen
Martin Fleisz [Tue, 2 Feb 2016 09:02:00 +0000 (10:02 +0100)]
Merge pull request #3099 from akallabeth/mac_fullscreen

Mac fullscreen

8 years agoReformatted patch.
Armin Novak [Tue, 2 Feb 2016 08:50:23 +0000 (09:50 +0100)]
Reformatted patch.

8 years agoMac Fullscreen + window title
“John [Mon, 23 Mar 2015 12:54:04 +0000 (13:54 +0100)]
Mac Fullscreen + window title

* Set Mac window title according to command line
* Hände fullscreen command line switch

8 years agoUpdated documentation and default build config.
Armin Novak [Mon, 1 Feb 2016 15:01:32 +0000 (16:01 +0100)]
Updated documentation and default build config.

8 years agoRestructured client project, moved to gradle build.
Armin Novak [Mon, 1 Feb 2016 14:25:40 +0000 (15:25 +0100)]
Restructured client project, moved to gradle build.

8 years agoAdded new android build scripts.
Armin Novak [Mon, 1 Feb 2016 14:22:10 +0000 (15:22 +0100)]
Added new android build scripts.

8 years agoFixed android build issues.
Armin Novak [Mon, 1 Feb 2016 14:21:07 +0000 (15:21 +0100)]
Fixed android build issues.

8 years agoFixed error checks for command line parser.
Armin Novak [Mon, 1 Feb 2016 14:09:51 +0000 (15:09 +0100)]
Fixed error checks for command line parser.

8 years agoMerge pull request #3076 from akallabeth/remove_fixed_size_heap_strings
Bernhard Miklautz [Mon, 1 Feb 2016 12:02:38 +0000 (13:02 +0100)]
Merge pull request #3076 from akallabeth/remove_fixed_size_heap_strings

Removed fixed size strings.

8 years agoMerge pull request #3096 from bmiklautz/fix/nightlies
akallabeth [Mon, 1 Feb 2016 12:00:23 +0000 (13:00 +0100)]
Merge pull request #3096 from bmiklautz/fix/nightlies

pkg/deb: fix nightly builds

8 years agopkg/deb: fix nightly builds
Bernhard Miklautz [Mon, 1 Feb 2016 11:47:00 +0000 (12:47 +0100)]
pkg/deb: fix nightly builds

with the latest cmake changes related to static channels builds fail on
wheezy and precise this fixes the problem.

8 years agoRefactor format_supported with a nice switch() statement
David PHAM-VAN [Fri, 29 Jan 2016 17:58:48 +0000 (09:58 -0800)]
Refactor format_supported with a nice switch() statement

8 years agoAdd ADPCM codec for Mac client
David PHAM-VAN [Mon, 25 Jan 2016 21:53:19 +0000 (13:53 -0800)]
Add ADPCM codec for Mac client

8 years agoMerge pull request #3093 from hardening/last_write_checks
MartinHaimberger [Thu, 28 Jan 2016 14:26:04 +0000 (15:26 +0100)]
Merge pull request #3093 from hardening/last_write_checks

Check more Stream_EnsureCapacity results when writing capabilities

8 years agoMerge pull request #3092 from akallabeth/get_build_config
MartinHaimberger [Thu, 28 Jan 2016 14:23:24 +0000 (15:23 +0100)]
Merge pull request #3092 from akallabeth/get_build_config

Added get_build_config functions.

8 years agoCheck more Stream_EnsureCapacity results when writing capabilities
David FORT [Thu, 28 Jan 2016 14:12:26 +0000 (15:12 +0100)]
Check more Stream_EnsureCapacity results when writing capabilities

8 years agoMerge pull request #3091 from akallabeth/wlog_warning_fix
MartinHaimberger [Thu, 28 Jan 2016 13:36:50 +0000 (14:36 +0100)]
Merge pull request #3091 from akallabeth/wlog_warning_fix

Fixed return value of WLog_FileAppender_WriteImageMessage

8 years agoMerge pull request #3090 from akallabeth/drdynvc_size_checks
akallabeth [Thu, 28 Jan 2016 13:30:18 +0000 (14:30 +0100)]
Merge pull request #3090 from akallabeth/drdynvc_size_checks

Fixed size checks (thanks to @virtman)

8 years agoMerge pull request #3067 from akallabeth/reset_abort_event
Hardening [Thu, 28 Jan 2016 13:28:51 +0000 (14:28 +0100)]
Merge pull request #3067 from akallabeth/reset_abort_event

Resetting abort event on freerdp_connect.

8 years agoAdded get_build_config functions.
Armin Novak [Thu, 28 Jan 2016 13:26:50 +0000 (14:26 +0100)]
Added get_build_config functions.

8 years agoUsing Stream_ReminingLength for read checks.
Armin Novak [Thu, 28 Jan 2016 11:25:44 +0000 (12:25 +0100)]
Using Stream_ReminingLength for read checks.

8 years agoFixed return value of WLog_FileAppender_WriteImageMessage
Armin Novak [Thu, 28 Jan 2016 11:08:57 +0000 (12:08 +0100)]
Fixed return value of WLog_FileAppender_WriteImageMessage

8 years agoCleared up error code usage.
Armin Novak [Thu, 28 Jan 2016 11:05:14 +0000 (12:05 +0100)]
Cleared up error code usage.

8 years agoFixed size checks (thanks to @virtman)
Armin Novak [Thu, 28 Jan 2016 10:45:06 +0000 (11:45 +0100)]
Fixed size checks (thanks to @virtman)

8 years agoChecking capability read return.
Armin Novak [Thu, 28 Jan 2016 10:12:20 +0000 (11:12 +0100)]
Checking capability read return.
Updated copyright headers.

8 years agoMerge pull request #3078 from akallabeth/wlog_cmd_options
Martin Fleisz [Thu, 28 Jan 2016 09:33:17 +0000 (10:33 +0100)]
Merge pull request #3078 from akallabeth/wlog_cmd_options

Added new command line options for logger.

8 years agoMerge pull request #3088 from clangm/patch-1
Martin Fleisz [Thu, 28 Jan 2016 09:32:14 +0000 (10:32 +0100)]
Merge pull request #3088 from clangm/patch-1

fix typo

8 years agofix typo
clangm [Wed, 27 Jan 2016 22:40:08 +0000 (15:40 -0700)]
fix typo

Pretty sure that's supposed to be __MACOSX__, not __MAXOSX__

8 years agoMerge pull request #3087 from DavBfr/fix-png-load
Hardening [Wed, 27 Jan 2016 22:02:11 +0000 (23:02 +0100)]
Merge pull request #3087 from DavBfr/fix-png-load

Fix png image loading that needed write access

8 years agoFix png image loading that needed write access
David PHAM-VAN [Wed, 13 Jan 2016 23:09:03 +0000 (15:09 -0800)]
Fix png image loading that needed write access

8 years agoImproved error checks.
Armin Novak [Wed, 27 Jan 2016 18:26:52 +0000 (19:26 +0100)]
Improved error checks.

8 years agoFixed realloc check, renamed filter variable.
Armin Novak [Wed, 27 Jan 2016 10:21:04 +0000 (11:21 +0100)]
Fixed realloc check, renamed filter variable.

8 years agoMerge pull request #3073 from davewheel/cert_key_in_memory
Hardening [Wed, 27 Jan 2016 09:50:38 +0000 (10:50 +0100)]
Merge pull request #3073 from davewheel/cert_key_in_memory

Allow to specify the raw content of crypto materials

8 years agoMerge pull request #3083 from akallabeth/capability_set_fix
Hardening [Wed, 27 Jan 2016 09:45:54 +0000 (10:45 +0100)]
Merge pull request #3083 from akallabeth/capability_set_fix

Fix #3081, set client string encoding.

8 years agoFix #3081, client string encoding.
Armin Novak [Tue, 26 Jan 2016 20:35:16 +0000 (21:35 +0100)]
Fix #3081, client string encoding.

8 years agoMerge pull request #3069 from davewheel/4upstream-1
Martin Fleisz [Wed, 27 Jan 2016 09:18:30 +0000 (10:18 +0100)]
Merge pull request #3069 from davewheel/4upstream-1

Improve monitor support

8 years agoMerge pull request #3082 from hardening/check_client_and_server_capabilities
Martin Fleisz [Wed, 27 Jan 2016 09:13:32 +0000 (10:13 +0100)]
Merge pull request #3082 from hardening/check_client_and_server_capabilities

Check server and client capabilities

8 years agoCheck server and client capabilities
David FORT [Tue, 26 Jan 2016 15:14:48 +0000 (16:14 +0100)]
Check server and client capabilities

Most of the capabilities are sent by both the client and the server. But for some
the specs specify that they are only supposed to be only send by the server or the client.
This patch ensures this. Without this patch a malicious client can change server settings
and a malicious server can modify client settings.

8 years agoMerge pull request #3080 from hardening/capa_write
Martin Fleisz [Tue, 26 Jan 2016 08:56:01 +0000 (09:56 +0100)]
Merge pull request #3080 from hardening/capa_write

Stream_EnsureCapacity return value aren't checked in capabilities_write

8 years agoFixed clientNameLen initialization.
Armin Novak [Tue, 26 Jan 2016 08:34:22 +0000 (09:34 +0100)]
Fixed clientNameLen initialization.

8 years agoStream_EnsureCapacity return value aren't checked in capabilities_write
David FORT [Mon, 25 Jan 2016 18:11:35 +0000 (19:11 +0100)]
Stream_EnsureCapacity return value aren't checked in capabilities_write

8 years agoFixed argument checks for drive channel.
Armin Novak [Sun, 24 Jan 2016 14:21:06 +0000 (15:21 +0100)]
Fixed argument checks for drive channel.

8 years agoAdded new command line options for logger.
Armin Novak [Sat, 23 Jan 2016 14:16:13 +0000 (15:16 +0100)]
Added new command line options for logger.

The new command line options /log-level:<level> and
/log-filters:<filter>:<level> allow setting default log
level and log module filter to be set.

8 years agoMerge pull request #3072 from giox069/master
Hardening [Sat, 23 Jan 2016 13:42:20 +0000 (14:42 +0100)]
Merge pull request #3072 from giox069/master

Improve error logging after calling some BIO_ functions

8 years agoImprove error logging after calling some BIO_ functions
Giovanni Panozzo [Wed, 20 Jan 2016 11:22:32 +0000 (12:22 +0100)]
Improve error logging after calling some BIO_ functions

8 years agoMerge pull request #3070 from davewheel/ntlm_attrs
Hardening [Fri, 22 Jan 2016 23:00:18 +0000 (00:00 +0100)]
Merge pull request #3070 from davewheel/ntlm_attrs

Handle more NTLM attributes

8 years agoMerge pull request #3075 from akallabeth/winpr_header_install_fix
Bernhard Miklautz [Thu, 21 Jan 2016 20:29:42 +0000 (21:29 +0100)]
Merge pull request #3075 from akallabeth/winpr_header_install_fix

Added cmake patch from @david-geiger

8 years agoRemoved fixed size strings.
Armin Novak [Thu, 21 Jan 2016 13:47:10 +0000 (14:47 +0100)]
Removed fixed size strings.

8 years agoAdded cmake patch from @david-geiger
Armin Novak [Thu, 21 Jan 2016 14:26:32 +0000 (15:26 +0100)]
Added cmake patch from @david-geiger

8 years agoAllow to specify the raw content of crypto materials
davewheel [Wed, 20 Jan 2016 23:17:59 +0000 (00:17 +0100)]
Allow to specify the raw content of crypto materials

Sometime it's possible that your server application doesn't have access to files
(when running in a very restricted environment for example). This patch allows
to ship the private key and certificate as a string.

Sponsored by: Wheel Systems (http://www.wheelsystems.com)

8 years agoHandle more NTLM attributes
davewheel [Wed, 20 Jan 2016 21:21:05 +0000 (22:21 +0100)]
Handle more NTLM attributes

This patch adds the management of more NTLM attributes.

Sponsored by: Wheel Systems (http://www.wheelsystems.com)

8 years agoAdd better handling of monitors
davewheel [Wed, 20 Jan 2016 15:54:15 +0000 (16:54 +0100)]
Add better handling of monitors

This patch makes FreeRDP announce the support for monitor layout PDU. It also
adds support for servers to announce the monitors layout.

8 years agoFix a security issue in monitors packet handling
davewheel [Thu, 14 Jan 2016 20:00:41 +0000 (21:00 +0100)]
Fix a security issue in monitors packet handling

The number of announced monitors was not checked, so if a client was announcing
a big number, it could override other fields in settings and more...

8 years agoMerge pull request #3014 from bmiklautz/winpr_nt_file
Martin Fleisz [Tue, 19 Jan 2016 08:28:40 +0000 (09:28 +0100)]
Merge pull request #3014 from bmiklautz/winpr_nt_file

winpr: create a specific winpr nt file handle

8 years agoMerge pull request #3059 from akallabeth/zlib_memleak_fix
Martin Fleisz [Tue, 19 Jan 2016 08:27:50 +0000 (09:27 +0100)]
Merge pull request #3059 from akallabeth/zlib_memleak_fix

Fix memory leak in lodepng_zlib_compress

8 years agoMerge pull request #3066 from akallabeth/srccopy_fix
Martin Fleisz [Tue, 19 Jan 2016 08:25:42 +0000 (09:25 +0100)]
Merge pull request #3066 from akallabeth/srccopy_fix

Fixed SRCCOPY, using memmove now.

8 years agoMerge pull request #3068 from akallabeth/pkg_config_fix
Martin Fleisz [Tue, 19 Jan 2016 08:24:22 +0000 (09:24 +0100)]
Merge pull request #3068 from akallabeth/pkg_config_fix

Fix pkg-config generation.

8 years agoFix pkg-config generation.
Armin Novak [Mon, 18 Jan 2016 21:45:40 +0000 (22:45 +0100)]
Fix pkg-config generation.

8 years agoResetting abort event on freerdp_connect.
Armin Novak [Mon, 18 Jan 2016 09:08:12 +0000 (10:08 +0100)]
Resetting abort event on freerdp_connect.

8 years agoFixed memory overlap check.
Armin Novak [Mon, 18 Jan 2016 08:32:34 +0000 (09:32 +0100)]
Fixed memory overlap check.

8 years agoFixed SRCCOPY, using memmove now.
Armin Novak [Mon, 18 Jan 2016 08:18:42 +0000 (09:18 +0100)]
Fixed SRCCOPY, using memmove now.

memcpy is not defined, if source and destination overlap.

8 years agoMerge pull request #3062 from bmiklautz/build_fix
akallabeth [Fri, 15 Jan 2016 15:32:54 +0000 (16:32 +0100)]
Merge pull request #3062 from bmiklautz/build_fix

build: fix a problem with cmake version 2.8.11

8 years agobuild: fix a problem with cmake version 2.8.11
Bernhard Miklautz [Fri, 15 Jan 2016 12:23:45 +0000 (13:23 +0100)]
build: fix a problem with cmake version 2.8.11

Starting with cmake 2.8.10 FreeRDP exports a cmake find module. With 2.8.12
the PRIVATE/PUBLIC keywords were introduced in cmake. When building with
2.8.11 it is not possible to mark link dependencies as private and
therefore they need to be exported.