platform/upstream/freerdp.git
7 years agoMerge pull request #4099 from mmeyer724/wayland-fullscreen
David Fort [Sat, 26 Aug 2017 08:13:42 +0000 (10:13 +0200)]
Merge pull request #4099 from mmeyer724/wayland-fullscreen

wlfreerdp: mirror display resolution in fullscreen mode

7 years agowlfreerdp: mirror display resolution in fullscreen mode
Michael Meyer [Thu, 17 Aug 2017 17:33:44 +0000 (13:33 -0400)]
wlfreerdp: mirror display resolution in fullscreen mode

7 years agoMerge pull request #4098 from akallabeth/fix_rsa_generation
Bernhard Miklautz [Thu, 17 Aug 2017 13:18:04 +0000 (15:18 +0200)]
Merge pull request #4098 from akallabeth/fix_rsa_generation

Fixed RSA generation for OpenSSL >= 1.1

7 years agoFixed RSA generation for OpenSSL >= 1.1
Armin Novak [Thu, 17 Aug 2017 11:16:32 +0000 (13:16 +0200)]
Fixed RSA generation for OpenSSL >= 1.1

7 years agoMerge pull request #4095 from mmeyer724/wayland-scrolling
Bernhard Miklautz [Thu, 17 Aug 2017 08:46:16 +0000 (10:46 +0200)]
Merge pull request #4095 from mmeyer724/wayland-scrolling

Fix scrolling crash in wayland client

7 years agoFixes scrolling crash in wlfreerdp
Michael Meyer [Wed, 16 Aug 2017 17:54:45 +0000 (17:54 +0000)]
Fixes scrolling crash in wlfreerdp

An "axis discrete" handler is required since protocol version 5:
https://code.woboq.org/qt5/include/wayland-client-protocol.h.html
Crash output: "listener function for opcode 8 of wl_pointer is NULL"

7 years agoandroid: fix a regression with remote program (#4091)
Bernhard Miklautz [Wed, 16 Aug 2017 11:28:11 +0000 (13:28 +0200)]
android: fix a regression with remote program (#4091)

Commit 54a7d799d1e9dc7698425b7172a8bf81a4147168 introduced a problem
where /app was used instead of /shell causing a black screen when remote
programs were used. The Android client doesn't support remote apps
therefore /app can't work. "Remote program" just sets the selected
program as shell to run.

7 years agoMerge pull request #4092 from akallabeth/afreerdp_no_client_name_escape
Bernhard Miklautz [Wed, 16 Aug 2017 11:26:47 +0000 (13:26 +0200)]
Merge pull request #4092 from akallabeth/afreerdp_no_client_name_escape

Do not add quotes to client hostname.

7 years agoDo not add quotes to client hostname.
Armin Novak [Wed, 16 Aug 2017 09:31:33 +0000 (11:31 +0200)]
Do not add quotes to client hostname.

7 years agoMerge pull request #4088 from akallabeth/file_api_64bit_fixes
Bernhard Miklautz [Wed, 16 Aug 2017 08:04:13 +0000 (10:04 +0200)]
Merge pull request #4088 from akallabeth/file_api_64bit_fixes

fseeko and ftello for 64bit file support.

7 years agoMerge pull request #4085 from akallabeth/file_warn_fix
Bernhard Miklautz [Wed, 16 Aug 2017 06:09:31 +0000 (08:09 +0200)]
Merge pull request #4085 from akallabeth/file_warn_fix

Fixed FileSetFilePointer warnings

7 years agoClient/X11: Fix h264 context leak when DeleteSurface (#4089)
Jiang, Zihao [Mon, 14 Aug 2017 08:16:14 +0000 (16:16 +0800)]
Client/X11: Fix h264 context leak when DeleteSurface (#4089)

7 years agoPossible fix for #4081 and #2707 (#4087)
Kai [Mon, 14 Aug 2017 08:10:53 +0000 (10:10 +0200)]
Possible fix for #4081 and #2707 (#4087)

* detect openbox automatically

* format code

* copyright update

* free prop at the end of the function

7 years agofseeko and ftello for 64bit file support.
Armin Novak [Fri, 11 Aug 2017 08:07:46 +0000 (10:07 +0200)]
fseeko and ftello for 64bit file support.

7 years agoMerge pull request #4084 from psumbera/master
Bernhard Miklautz [Thu, 10 Aug 2017 15:39:34 +0000 (17:39 +0200)]
Merge pull request #4084 from psumbera/master

On Solaris use standard conforming getpwnam_r().

7 years agoFixed FileSetFilePointer warnings
Armin Novak [Thu, 10 Aug 2017 14:51:55 +0000 (16:51 +0200)]
Fixed FileSetFilePointer warnings

7 years agoOn Solaris use standard conforming getpwnam_r().
Petr Sumbera [Thu, 10 Aug 2017 14:36:25 +0000 (07:36 -0700)]
On Solaris use standard conforming getpwnam_r().

7 years agoMerge pull request #4076 from akallabeth/SetFilePointer_fix
MartinHaimberger [Wed, 9 Aug 2017 08:35:37 +0000 (10:35 +0200)]
Merge pull request #4076 from akallabeth/SetFilePointer_fix

Set file pointer fix

7 years agoMerge pull request #4070 from yurashek/master
Bernhard Miklautz [Tue, 8 Aug 2017 19:17:01 +0000 (21:17 +0200)]
Merge pull request #4070 from yurashek/master

Sun keyboard - cursor keys

7 years agoFixed file seek.
Armin Novak [Tue, 8 Aug 2017 08:52:11 +0000 (10:52 +0200)]
Fixed file seek.

7 years agoFixed SetFilePointer, added SetFilePointerEx
Armin Novak [Tue, 8 Aug 2017 08:51:50 +0000 (10:51 +0200)]
Fixed SetFilePointer, added SetFilePointerEx

7 years agoSun keyboard
Jura Sasek [Wed, 2 Aug 2017 11:52:45 +0000 (04:52 -0700)]
Sun keyboard

7 years agoMerge pull request #4071 from bmiklautz/debian_fixes
David Fort [Thu, 3 Aug 2017 07:32:29 +0000 (09:32 +0200)]
Merge pull request #4071 from bmiklautz/debian_fixes

Fixes from the Debian project

7 years agoFix warning in man pages
Mike Gabriel [Thu, 3 Aug 2017 06:41:50 +0000 (08:41 +0200)]
Fix warning in man pages

"warning: can't find macro file `www.tmac))'""`"

7 years agoFix typos in some error messages
Mike Gabriel [Thu, 3 Aug 2017 06:38:05 +0000 (08:38 +0200)]
Fix typos in some error messages

7 years agoMerge pull request #4066 from akallabeth/input_event_fixes
David Fort [Wed, 2 Aug 2017 09:25:08 +0000 (11:25 +0200)]
Merge pull request #4066 from akallabeth/input_event_fixes

Fixed capability checks for mouse and unicode input.

7 years agoMerge pull request #4069 from yurashek/master
David Fort [Wed, 2 Aug 2017 07:53:38 +0000 (09:53 +0200)]
Merge pull request #4069 from yurashek/master

Build on Solaris

7 years agoFixed capability checks for mouse and unicode input.
Armin Novak [Mon, 31 Jul 2017 10:16:47 +0000 (12:16 +0200)]
Fixed capability checks for mouse and unicode input.

7 years agoMerge pull request #4064 from floppym/gst-detect
David Fort [Sat, 29 Jul 2017 06:33:33 +0000 (08:33 +0200)]
Merge pull request #4064 from floppym/gst-detect

Fix gstreamer-1.0 detection

7 years agoFix gstreamer-1.0 detection
Mike Gilbert [Fri, 28 Jul 2017 20:31:41 +0000 (16:31 -0400)]
Fix gstreamer-1.0 detection

7 years agoMerge pull request #4061 from vakartel/master
David Fort [Thu, 27 Jul 2017 08:55:00 +0000 (10:55 +0200)]
Merge pull request #4061 from vakartel/master

Fix build with LibreSSL

7 years agoFix build with LibreSSL
Valery Kartel [Wed, 26 Jul 2017 14:12:14 +0000 (17:12 +0300)]
Fix build with LibreSSL

7 years agoMerge pull request #4056 from akallabeth/disable_jpeg
Bernhard Miklautz [Mon, 24 Jul 2017 13:47:49 +0000 (15:47 +0200)]
Merge pull request #4056 from akallabeth/disable_jpeg

Disable JPEG codec support if not compiled in.

7 years agoDisable JPEG codec support if not compiled in.
Armin Novak [Mon, 24 Jul 2017 13:23:36 +0000 (15:23 +0200)]
Disable JPEG codec support if not compiled in.

7 years agoMerge pull request #4055 from akallabeth/talos_v3 2.0.0-rc0
Norbert Federa [Mon, 24 Jul 2017 08:46:54 +0000 (10:46 +0200)]
Merge pull request #4055 from akallabeth/talos_v3

Security fixes and code cleanups

7 years agoclipboard: fix possible invalid memory access
Bernhard Miklautz [Mon, 17 Jul 2017 13:21:58 +0000 (15:21 +0200)]
clipboard: fix possible invalid memory access

Fix an possible issue found by Sébastien Duquette.

7 years agoFixed missing include.
Armin Novak [Thu, 13 Jul 2017 11:29:00 +0000 (13:29 +0200)]
Fixed missing include.

7 years agoFixed resource cleanup.
Armin Novak [Thu, 13 Jul 2017 11:28:00 +0000 (13:28 +0200)]
Fixed resource cleanup.

7 years agoFixed uninitialized values.
Armin Novak [Thu, 13 Jul 2017 10:19:10 +0000 (12:19 +0200)]
Fixed uninitialized values.

7 years agoFixed double free.
Armin Novak [Thu, 13 Jul 2017 10:08:25 +0000 (12:08 +0200)]
Fixed double free.

7 years agoFixed wrong type for AuthenticationLevel.
Armin Novak [Thu, 13 Jul 2017 09:42:50 +0000 (11:42 +0200)]
Fixed wrong type for AuthenticationLevel.

Replaced type BOOL with INT32 as according to MSDN they are typedefed.
This keeps the ABI compatible and fixes the wrong data type.

7 years agoFixed use of reserved keywords for include guards.
Armin Novak [Tue, 6 Jun 2017 12:01:41 +0000 (14:01 +0200)]
Fixed use of reserved keywords for include guards.

7 years agoFixed clang malloc integer overflow warnings.
Armin Novak [Tue, 30 May 2017 08:46:43 +0000 (10:46 +0200)]
Fixed clang malloc integer overflow warnings.

7 years agoFix TALOS issues
Armin Novak [Mon, 29 May 2017 08:50:22 +0000 (10:50 +0200)]
Fix TALOS issues

Fix the following issues identified by the CISCO TALOS project:
 * TALOS-2017-0336 CVE-2017-2834
 * TALOS-2017-0337 CVE-2017-2834
 * TALOS-2017-0338 CVE-2017-2836
 * TALOS-2017-0339 CVE-2017-2837
 * TALOS-2017-0340 CVE-2017-2838
 * TALOS-2017-0341 CVE-2017-2839

7 years agoMerge pull request #3956 from dodo040/smartcard
akallabeth [Thu, 20 Jul 2017 06:52:54 +0000 (08:52 +0200)]
Merge pull request #3956 from dodo040/smartcard

redirect specific smartcard readers

7 years agofix format code
dodo040 [Thu, 22 Jun 2017 08:35:51 +0000 (10:35 +0200)]
fix format code

7 years agofix smartcard argument parsing
dodo040 [Tue, 20 Jun 2017 15:59:58 +0000 (17:59 +0200)]
fix smartcard argument parsing

7 years agofix wrong declaration
dodo040 [Mon, 15 May 2017 15:17:08 +0000 (17:17 +0200)]
fix wrong declaration

7 years agoredirect specific smartcard readers
dodo040 [Mon, 15 May 2017 11:43:51 +0000 (13:43 +0200)]
redirect specific smartcard readers

7 years agoMerge pull request #4044 from akallabeth/disable_h264_if_not_compiled
Bernhard Miklautz [Wed, 19 Jul 2017 10:02:53 +0000 (12:02 +0200)]
Merge pull request #4044 from akallabeth/disable_h264_if_not_compiled

Disable h264 if no backend compiled in

7 years agoFixed variable assignment.
Armin Novak [Wed, 19 Jul 2017 09:36:28 +0000 (11:36 +0200)]
Fixed variable assignment.

7 years agoMerge pull request #4047 from akallabeth/win_gfx_fix
Bernhard Miklautz [Wed, 19 Jul 2017 09:24:57 +0000 (11:24 +0200)]
Merge pull request #4047 from akallabeth/win_gfx_fix

Always use software GFX for windows client.

7 years agoAdded warning on GFX channel load that it does not support acceleration.
Armin Novak [Wed, 19 Jul 2017 07:54:42 +0000 (09:54 +0200)]
Added warning on GFX channel load that it does not support acceleration.

7 years agoDon't use an option for WITH_GFX_H264
Bernhard Miklautz [Tue, 18 Jul 2017 14:17:37 +0000 (16:17 +0200)]
Don't use an option for WITH_GFX_H264

CMAKE_DEPENDENT_OPTION the option is initialized on the first run and
then saved. Later configuration changes are not considered anymore.
Therefor use an variable instead of an option here.

7 years agoAlways use software GFX for windows client.
Armin Novak [Tue, 18 Jul 2017 06:27:14 +0000 (08:27 +0200)]
Always use software GFX for windows client.

7 years agoReordered backends with regard to feature completeness.
Armin Novak [Tue, 18 Jul 2017 05:46:51 +0000 (07:46 +0200)]
Reordered backends with regard to feature completeness.

7 years agoMerge pull request #4041 from wayk/PathMakePathA
akallabeth [Mon, 17 Jul 2017 10:26:48 +0000 (12:26 +0200)]
Merge pull request #4041 from wayk/PathMakePathA

Fixed PathMakePathA (returned true even if it can't create the last f…

7 years agoReadded H264 struct pointers, keep API compatible.
Armin Novak [Mon, 17 Jul 2017 09:38:06 +0000 (11:38 +0200)]
Readded H264 struct pointers, keep API compatible.

7 years agoAdd 10.3 capability check.
Armin Novak [Mon, 17 Jul 2017 09:37:53 +0000 (11:37 +0200)]
Add 10.3 capability check.

7 years agoFixed config option.
Armin Novak [Mon, 17 Jul 2017 08:56:45 +0000 (10:56 +0200)]
Fixed config option.

7 years agoMerge pull request #4043 from rjcorrig/kb4020322
David Fort [Mon, 17 Jul 2017 08:45:32 +0000 (10:45 +0200)]
Merge pull request #4043 from rjcorrig/kb4020322

winpr: Updates time zone data to July 2017

7 years agoDeactivated all H264 related code paths.
Armin Novak [Mon, 17 Jul 2017 08:37:15 +0000 (10:37 +0200)]
Deactivated all H264 related code paths.

7 years agoDisable WITH_GFX_H264 if no backend compiled in.
Armin Novak [Mon, 17 Jul 2017 07:32:34 +0000 (09:32 +0200)]
Disable WITH_GFX_H264 if no backend compiled in.

7 years agoRemoved H264 dummy, did not work (crash on use)
Armin Novak [Mon, 17 Jul 2017 07:28:08 +0000 (09:28 +0200)]
Removed H264 dummy, did not work (crash on use)

7 years agoDisable GFX H264 if no backend compiled in.
Armin Novak [Mon, 17 Jul 2017 07:00:57 +0000 (09:00 +0200)]
Disable GFX H264 if no backend compiled in.

7 years agoUpdate time zone data to July 2017
Robert Corrigan [Fri, 14 Jul 2017 21:16:08 +0000 (17:16 -0400)]
Update time zone data to July 2017

7 years agoChange documented source of windowsZones.xml file
Robert Corrigan [Fri, 14 Jul 2017 21:15:32 +0000 (17:15 -0400)]
Change documented source of windowsZones.xml file

7 years agoFixed PathMakePathA (returned true even if it can't create the last folder of the...
François Dubois [Wed, 12 Jul 2017 18:47:08 +0000 (14:47 -0400)]
Fixed PathMakePathA (returned true even if it can't create the last folder of the path)

7 years agoMerge pull request #4039 from nfedera/fix-misc-compiler-warnings
Norbert Federa [Mon, 10 Jul 2017 16:23:01 +0000 (18:23 +0200)]
Merge pull request #4039 from nfedera/fix-misc-compiler-warnings

Fixed a few compiler warnings

7 years agoFixed a few compiler warnings
Norbert Federa [Mon, 10 Jul 2017 13:29:09 +0000 (15:29 +0200)]
Fixed a few compiler warnings

7 years agoMerge pull request #4038 from nfedera/fix-sample-server-pixmap-format
David Fort [Mon, 10 Jul 2017 10:04:02 +0000 (12:04 +0200)]
Merge pull request #4038 from nfedera/fix-sample-server-pixmap-format

Fixed sample server's wrong rfx pixel format

7 years agoFixed sample server's wrong rfx pixel format
Norbert Federa [Mon, 10 Jul 2017 09:31:42 +0000 (11:31 +0200)]
Fixed sample server's wrong rfx pixel format

7 years agoMerge pull request #4021 from scroogie/master
David Fort [Fri, 7 Jul 2017 13:08:06 +0000 (15:08 +0200)]
Merge pull request #4021 from scroogie/master

Fix compilation on RHEL 6.x by macro-guarding two functions

7 years agoMerge pull request #4029 from realjiangms/fix_shadow_fragment_size
David Fort [Fri, 7 Jul 2017 13:07:13 +0000 (15:07 +0200)]
Merge pull request #4029 from realjiangms/fix_shadow_fragment_size

server/shadow: Fix incorrect bitmap fragment update.

7 years agoMerge pull request #4033 from blino/wayland-fullscreen
akallabeth [Fri, 7 Jul 2017 07:14:15 +0000 (09:14 +0200)]
Merge pull request #4033 from blino/wayland-fullscreen

Add fullscreen support in Wayland clients

7 years agoMerge pull request #3992 from johnjmullen/fix-barcode-scanner
akallabeth [Fri, 7 Jul 2017 06:53:21 +0000 (08:53 +0200)]
Merge pull request #3992 from johnjmullen/fix-barcode-scanner

  Fix issue #3229 Barcode Scanner USB - missing double characters

7 years agoMerge pull request #4032 from blino/clipboard-build
David Fort [Wed, 5 Jul 2017 20:00:33 +0000 (22:00 +0200)]
Merge pull request #4032 from blino/clipboard-build

Fix clipboard POSIX build because of basename conflict

7 years agoFix clipboard POSIX build because of basename conflict
Olivier Blin [Mon, 3 Jul 2017 17:57:41 +0000 (19:57 +0200)]
Fix clipboard POSIX build because of basename conflict

FreeRDP/winpr/libwinpr/clipboard/posix.c:397:20: error: conflicting types for ‘basename’
 static const char* basename(const char* name)
                    ^
In file included from FreeRDP/winpr/include/winpr/collections.h:25:0,
                 from FreeRDP/winpr/libwinpr/clipboard/posix.c:37:
/usr/include/string.h:599:14: note: previous declaration of ‘basename’ was here
 extern char *basename (const char *__filename) __THROW __nonnull ((1));

7 years agoSupport fullscreen setting in wayland client
Olivier Blin [Mon, 3 Jul 2017 17:09:01 +0000 (19:09 +0200)]
Support fullscreen setting in wayland client

7 years agoImplement fullscreen for wayland shell surface
Olivier Blin [Mon, 3 Jul 2017 17:03:18 +0000 (19:03 +0200)]
Implement fullscreen for wayland shell surface

7 years agoserver/shadow: Fix incorrect bitmap fragment update.
zihao.jiang [Tue, 4 Jul 2017 15:48:07 +0000 (23:48 +0800)]
server/shadow: Fix incorrect bitmap fragment update.
Legacy bitmap update might fail with 'fast path update size (xxxxx) exceeds the client's maximum request size (xxxxx)'
Original code might update last fragment with exceeded fragment size incorrectly. Fix the logic to prevent it.

7 years agoMerge pull request #4024 from bmiklautz/fix_4022
David Fort [Thu, 29 Jun 2017 09:55:55 +0000 (11:55 +0200)]
Merge pull request #4024 from bmiklautz/fix_4022

Fix a regression introduced with PR #4013

7 years agoFix a regression introduced with PR #4013
Bernhard Miklautz [Thu, 29 Jun 2017 09:24:36 +0000 (11:24 +0200)]
Fix a regression introduced with PR #4013

If numWindowRects/numVisibilityRects is zero a realloc might either
return NULL or a free able memory. In the first case the introduced
regression caused a double free.
As 0 is a possible value that can be received in both cases rail was
broken.

Fixes #4022

7 years agoMerge pull request #4008 from hardening/h264_split
Bernhard Miklautz [Thu, 29 Jun 2017 08:29:03 +0000 (10:29 +0200)]
Merge pull request #4008 from hardening/h264_split

Split h264 subsystems in different files

7 years agoFix compilation on RHEL 6.x by macro-guarding two functions that were
Andre Gemuend [Tue, 27 Jun 2017 15:12:23 +0000 (17:12 +0200)]
Fix compilation on RHEL 6.x by macro-guarding two functions that were
added in gstreamer 0.10.31 (RHEL 6.x being on 0.10.29).

7 years agoMerge pull request #4013 from weizhenwei/master
David Fort [Fri, 23 Jun 2017 15:02:40 +0000 (17:02 +0200)]
Merge pull request #4013 from weizhenwei/master

fix FreeRDP some memory leak problem

7 years agocode format adjustment
weizhenwei [Fri, 23 Jun 2017 01:50:56 +0000 (09:50 +0800)]
code format adjustment

7 years agoremove redundant NULL pointer check
weizhenwei [Fri, 23 Jun 2017 01:44:40 +0000 (09:44 +0800)]
remove redundant NULL pointer check

7 years agoremove duplicate code when freeing drive
weizhenwei [Fri, 23 Jun 2017 01:28:42 +0000 (09:28 +0800)]
remove duplicate code when freeing drive

7 years agoremove useless NULL pointer check before free
weizhenwei [Fri, 23 Jun 2017 01:21:16 +0000 (09:21 +0800)]
remove useless NULL pointer check before free

7 years agoadd NULL pointer check and set freed pointers to NULL afterward
weizhenwei [Thu, 22 Jun 2017 09:53:51 +0000 (17:53 +0800)]
add NULL pointer check and set freed pointers to NULL afterward

7 years agorefactor to remove duplicate code and replace free+malloc with realloc
weizhenwei [Thu, 22 Jun 2017 02:21:20 +0000 (10:21 +0800)]
refactor to remove duplicate code and replace free+malloc with realloc

7 years agorefactor on redundant code copy
weizhenwei [Wed, 21 Jun 2017 14:07:07 +0000 (22:07 +0800)]
refactor on redundant code copy

7 years agofix compile error on win64.vs2010 platform
weizhenwei [Wed, 21 Jun 2017 07:43:41 +0000 (15:43 +0800)]
fix compile error on win64.vs2010 platform

7 years agofix memroy leak of window_icon->iconInfo at update_read_window_icon_order()
weizhenwei [Tue, 13 Jun 2017 09:12:20 +0000 (17:12 +0800)]
fix memroy leak of window_icon->iconInfo at update_read_window_icon_order()

7 years agofix memory leak of pKeys at xf_rail_invalidate_region()
weizhenwei [Tue, 13 Jun 2017 08:49:51 +0000 (16:49 +0800)]
fix memory leak of pKeys at xf_rail_invalidate_region()

7 years agofix memroy leak of fd at FindFirstFileW()
weizhenwei [Tue, 13 Jun 2017 08:46:37 +0000 (16:46 +0800)]
fix memroy leak of fd at FindFirstFileW()

7 years agofix memory leak at update->window->window_state.windowRects/visibilityRects at update...
weizhenwei [Tue, 13 Jun 2017 08:27:28 +0000 (16:27 +0800)]
fix memory leak at update->window->window_state.windowRects/visibilityRects at update_read_window_state_order()

7 years agofix memory leak at update->window->window_state.titleInfo.string at update_read_windo...
weizhenwei [Tue, 13 Jun 2017 08:08:20 +0000 (16:08 +0800)]
fix memory leak at update->window->window_state.titleInfo.string at update_read_window_state_order()

7 years agofix memory leak on rail_virtual_channel_event_data_received() -> StreamNew()
weizhenwei [Tue, 13 Jun 2017 07:51:14 +0000 (15:51 +0800)]
fix memory leak on rail_virtual_channel_event_data_received() -> StreamNew()