platform/upstream/freerdp.git
5 years agordpgfx: Fix GFX v10.6 PDUs parsing and naming according to the spec
kubistika [Sun, 5 May 2019 09:34:57 +0000 (12:34 +0300)]
rdpgfx: Fix GFX v10.6 PDUs parsing and naming according to the spec

5 years agoMerge pull request #5308 from akallabeth/fix_win32_overlinking
Bernhard Miklautz [Fri, 3 May 2019 10:01:51 +0000 (12:01 +0200)]
Merge pull request #5308 from akallabeth/fix_win32_overlinking

Fixed windows overlinking.

5 years agoFix smartcard segfault when no devices are present (#5364)
r-barnett [Thu, 2 May 2019 04:11:57 +0000 (23:11 -0500)]
Fix smartcard segfault when no devices are present (#5364)

* Don't assume smartcard reader list is not empty.

* Check status of retrieval of smartcard device list before trying to filter it

* style fixes

5 years agoandroid_freerdp.c: fixed wrong registered signature (#5371)
amratsingh [Thu, 2 May 2019 03:59:52 +0000 (09:29 +0530)]
android_freerdp.c: fixed wrong registered signature (#5371)

5 years agoMerge pull request #5260 from akallabeth/rail_spec_update
Martin Fleisz [Mon, 29 Apr 2019 09:27:26 +0000 (11:27 +0200)]
Merge pull request #5260 from akallabeth/rail_spec_update

Rail spec update

5 years agoMerge pull request #5306 from akallabeth/gfx_server_caps_input_checks
Martin Fleisz [Mon, 29 Apr 2019 09:27:06 +0000 (11:27 +0200)]
Merge pull request #5306 from akallabeth/gfx_server_caps_input_checks

Fixed input stream length checks in rdpgfx_recv_caps_advertise_pdu

5 years agoFixed typo in RAIL_ZORDER_SYNC
Armin Novak [Fri, 26 Apr 2019 11:14:30 +0000 (13:14 +0200)]
Fixed typo in RAIL_ZORDER_SYNC

5 years agoFixed input stream length checks in rdpgfx_recv_caps_advertise_pdu
Armin Novak [Fri, 15 Mar 2019 07:39:46 +0000 (08:39 +0100)]
Fixed input stream length checks in rdpgfx_recv_caps_advertise_pdu

5 years ago5360 segfault using smartcard without any readers (#5361)
Pascal J. Bourguignon [Fri, 26 Apr 2019 07:10:41 +0000 (09:10 +0200)]
5360 segfault using smartcard without any readers (#5361)

* Fix: corrected test for astyle.

* Fix: added test for NULL readers returned by ConvertFromUnicode.

5 years agorail_orders.c: Fix wrong callback call on server handshake ex recv (#5345)
Mati Shabtay [Thu, 25 Apr 2019 08:55:24 +0000 (11:55 +0300)]
rail_orders.c: Fix wrong callback call on server handshake ex recv (#5345)

5 years agoxf_cliprdr: detect null terminators more reliably. (#5353)
sgtatham [Thu, 25 Apr 2019 08:54:10 +0000 (09:54 +0100)]
xf_cliprdr: detect null terminators more reliably. (#5353)

Clipboard formats containing plain text are specified to be terminated
by a \0 character in MS's documentation on standard clipboard formats:
https://docs.microsoft.com/en-us/windows/desktop/dataxchg/standard-clipboard-formats

xf_cliprdr_server_format_data_response receives pasted data from the
server to transfer to the client, in a sufficiently raw form that the
\0 terminator is still present, so it has to remove it. It does so by
checking only at the very end of the data. But I've observed that when
pasting out of at least one Windows program (namely Outlook 1903 on
Windows 10), the intended paste data arrives in this function followed
by \0 and then a spurious \n. In that situation the null-terminator
removal will fail to notice the \0, and will leave both bogus
characters on the end of the paste.

Fixed by using memchr to find the _first_ \0 in the paste data, which
should not lose any actually intentional data because it's in
accordance with the spec above.

5 years agoMerge pull request #5354 from ffontaine/master
David Fort [Tue, 23 Apr 2019 07:56:16 +0000 (09:56 +0200)]
Merge pull request #5354 from ffontaine/master

xf_floatbar.c: fix build without Xfixes

5 years agoxf_floatbar.c: fix build without Xfixes
Fabrice Fontaine [Thu, 18 Apr 2019 21:40:52 +0000 (23:40 +0200)]
xf_floatbar.c: fix build without Xfixes

Remove unneeded include on Xfixes.h as it is not always available and
not used in xf_floatbar.c

Fixes:
 - http://autobuild.buildroot.org/results/69245e574787bada718c52c805ec137041dc233d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
5 years agoFreeRDP#5329 if using OldLicenseBehaviour, don't try to save the Cal since we're...
byteboon [Mon, 8 Apr 2019 07:42:02 +0000 (00:42 -0700)]
FreeRDP#5329 if using OldLicenseBehaviour, don't try to save the Cal since we're not going to try to load it (#5330)

5 years agoFix segfault when IniFile_Load is called with invalid input (#5331)
Kubistika [Mon, 8 Apr 2019 07:26:46 +0000 (10:26 +0300)]
Fix segfault when IniFile_Load is called with invalid input (#5331)

* Fix segfault when IniFile_Load is called with invalid input

* Fix leak in TestIni.c third testcase

* TestIni.c: Refactor in order to avoid some old compilers errors

5 years agoMerge pull request #5240 from akallabeth/sign_compare_fixes_v2
David Fort [Fri, 5 Apr 2019 12:13:03 +0000 (14:13 +0200)]
Merge pull request #5240 from akallabeth/sign_compare_fixes_v2

Sign compare fixes v2

5 years agoAdded optional PreFrameAck callback to RdpgfxClientContext (#5303)
Mati Shabtay [Fri, 5 Apr 2019 11:37:51 +0000 (14:37 +0300)]
Added optional PreFrameAck callback to RdpgfxClientContext  (#5303)

* RdpgfxClientContext: Add PreFrameAck callback

* client/rdpgfx_main.c: Call PreFrameAck callback before acking frame

* client/rdpgfx_main.c: Fix windows_msbuild_vs2010 CI build

* client/rdpgfx_main.c: Fix error logs log level

5 years agoRemove unnecessary clipboard data copy.
Armin Novak [Fri, 5 Apr 2019 08:04:01 +0000 (10:04 +0200)]
Remove unnecessary clipboard data copy.

5 years agoclipboard: correctly handle flags during renegociatiion (#5323)
David Fort [Fri, 5 Apr 2019 07:36:53 +0000 (09:36 +0200)]
clipboard: correctly handle flags during renegociatiion (#5323)

5 years agoFixed ntlm_av_pair_get_len return, no signed value required
Armin Novak [Fri, 5 Apr 2019 07:28:09 +0000 (09:28 +0200)]
Fixed ntlm_av_pair_get_len return, no signed value required

5 years agoFixed argument pointer type cast
Armin Novak [Fri, 5 Apr 2019 07:22:50 +0000 (09:22 +0200)]
Fixed argument pointer type cast

5 years agoFixed sign issues
Armin Novak [Fri, 5 Apr 2019 07:22:35 +0000 (09:22 +0200)]
Fixed sign issues

5 years agoFixed unnecessary casts in freerdp_image_copy.
Armin Novak [Thu, 21 Feb 2019 15:32:19 +0000 (16:32 +0100)]
Fixed unnecessary casts in freerdp_image_copy.

5 years agoDisabled -Wimplicit-fallthrough for instances where its use is intended.
Armin Novak [Wed, 20 Feb 2019 12:53:25 +0000 (13:53 +0100)]
Disabled -Wimplicit-fallthrough for instances where its use is intended.

5 years agoFixed broken implicit fallthrough
Armin Novak [Wed, 20 Feb 2019 12:52:39 +0000 (13:52 +0100)]
Fixed broken implicit fallthrough

5 years agoRemoved duplicate argument checks.
Armin Novak [Fri, 8 Feb 2019 12:45:01 +0000 (13:45 +0100)]
Removed duplicate argument checks.

5 years agoFixed GetModuleFileNameW.
Armin Novak [Fri, 8 Feb 2019 11:19:57 +0000 (12:19 +0100)]
Fixed GetModuleFileNameW.

5 years agoFixed review remarks.
Armin Novak [Fri, 8 Feb 2019 11:01:33 +0000 (12:01 +0100)]
Fixed review remarks.

5 years agoFixed SleepEx return value and added log messages for unimplemented features.
Armin Novak [Fri, 8 Feb 2019 10:46:02 +0000 (11:46 +0100)]
Fixed SleepEx return value and added log messages for unimplemented features.

5 years agoFixed unused argument warnings for tests.
Armin Novak [Fri, 8 Feb 2019 08:18:16 +0000 (09:18 +0100)]
Fixed unused argument warnings for tests.

5 years agoFixed NULL argument warning.
Armin Novak [Fri, 8 Feb 2019 08:15:04 +0000 (09:15 +0100)]
Fixed NULL argument warning.

5 years agoAdded event name to handle.
Armin Novak [Fri, 8 Feb 2019 08:05:59 +0000 (09:05 +0100)]
Added event name to handle.

5 years agoFixed NULL argument warning.
Armin Novak [Fri, 8 Feb 2019 08:05:36 +0000 (09:05 +0100)]
Fixed NULL argument warning.

5 years agoFixed unused argument warnings.
Armin Novak [Thu, 7 Feb 2019 16:53:32 +0000 (17:53 +0100)]
Fixed unused argument warnings.

5 years agoFixed unused argument warnings.
Armin Novak [Thu, 7 Feb 2019 16:53:21 +0000 (17:53 +0100)]
Fixed unused argument warnings.

5 years agoSilenced unused parameter warnings, added log messages.
Armin Novak [Thu, 7 Feb 2019 16:42:11 +0000 (17:42 +0100)]
Silenced unused parameter warnings, added log messages.

5 years agoSilenced unused parameter warnings, added log messages.
Armin Novak [Thu, 7 Feb 2019 16:41:34 +0000 (17:41 +0100)]
Silenced unused parameter warnings, added log messages.

5 years agoImplemented GetModuleFileNameW
Armin Novak [Thu, 7 Feb 2019 16:41:01 +0000 (17:41 +0100)]
Implemented GetModuleFileNameW

5 years agoImproved timer implementation and error messages.
Armin Novak [Thu, 7 Feb 2019 16:26:26 +0000 (17:26 +0100)]
Improved timer implementation and error messages.

5 years agoImproved error logging for wait functions.
Armin Novak [Thu, 7 Feb 2019 16:13:21 +0000 (17:13 +0100)]
Improved error logging for wait functions.

5 years agoImproved implementation of LoadLibrary functions.
Armin Novak [Thu, 7 Feb 2019 16:08:18 +0000 (17:08 +0100)]
Improved implementation of LoadLibrary functions.

5 years agoImproved mutex and event functions
Armin Novak [Thu, 7 Feb 2019 15:43:55 +0000 (16:43 +0100)]
Improved mutex and event functions

* Added name for debugging to handle.
* Implemented *Ex functions

5 years agoFixed unicode key down and up messages.
Armin Novak [Thu, 7 Feb 2019 14:58:55 +0000 (15:58 +0100)]
Fixed unicode key down and up messages.

5 years agoFixed dead store warnings
Armin Novak [Thu, 7 Feb 2019 14:37:14 +0000 (15:37 +0100)]
Fixed dead store warnings

5 years agoFixed dead store warnings
Armin Novak [Thu, 7 Feb 2019 14:36:56 +0000 (15:36 +0100)]
Fixed dead store warnings

5 years agoFixed dead store warnings
Armin Novak [Thu, 7 Feb 2019 14:35:50 +0000 (15:35 +0100)]
Fixed dead store warnings

5 years agoFixed dead store warnings
Armin Novak [Thu, 7 Feb 2019 14:35:33 +0000 (15:35 +0100)]
Fixed dead store warnings

5 years agoFixed sign-compare warnings.
Armin Novak [Thu, 7 Feb 2019 14:09:47 +0000 (15:09 +0100)]
Fixed sign-compare warnings.

5 years agoFixed unused store warnings.
Armin Novak [Thu, 7 Feb 2019 14:09:36 +0000 (15:09 +0100)]
Fixed unused store warnings.

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:40:36 +0000 (14:40 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:39:15 +0000 (14:39 +0100)]
Fixed sign-compare warnings

5 years agoFixed unchecked return warning.
Armin Novak [Thu, 7 Feb 2019 13:38:55 +0000 (14:38 +0100)]
Fixed unchecked return warning.

5 years agoFixed unused variable warnings.
Armin Novak [Thu, 7 Feb 2019 13:38:37 +0000 (14:38 +0100)]
Fixed unused variable warnings.

5 years agoFixed sign-compare warnings, removed internal functions from API
Armin Novak [Thu, 7 Feb 2019 13:38:16 +0000 (14:38 +0100)]
Fixed sign-compare warnings, removed internal functions from API

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:37:23 +0000 (14:37 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:37:02 +0000 (14:37 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:36:50 +0000 (14:36 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:36:41 +0000 (14:36 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:36:33 +0000 (14:36 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:36:17 +0000 (14:36 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:36:06 +0000 (14:36 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:35:58 +0000 (14:35 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:35:40 +0000 (14:35 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:35:21 +0000 (14:35 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:35:10 +0000 (14:35 +0100)]
Fixed sign-compare warnings

5 years agoFixed _config_size return
Armin Novak [Thu, 7 Feb 2019 13:34:49 +0000 (14:34 +0100)]
Fixed _config_size return

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:34:37 +0000 (14:34 +0100)]
Fixed sign-compare warnings

5 years agoFixed const free warning.
Armin Novak [Thu, 7 Feb 2019 13:34:03 +0000 (14:34 +0100)]
Fixed const free warning.

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:33:59 +0000 (14:33 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:33:39 +0000 (14:33 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:33:30 +0000 (14:33 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:33:18 +0000 (14:33 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:33:08 +0000 (14:33 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:32:55 +0000 (14:32 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:32:38 +0000 (14:32 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:31:17 +0000 (14:31 +0100)]
Fixed sign-compare warnings

5 years agoCast SEC_* return values to HRESULT (Same as WIN32 API)
Armin Novak [Thu, 7 Feb 2019 13:25:23 +0000 (14:25 +0100)]
Cast SEC_* return values to HRESULT (Same as WIN32 API)

5 years agoCase SCARD_* return values to HRESULT (Same as WIN32 API)
Armin Novak [Thu, 7 Feb 2019 13:24:54 +0000 (14:24 +0100)]
Case SCARD_* return values to HRESULT (Same as WIN32 API)

5 years agoCast E_* errors to HRESULT (same as defined in WIN32 API)
Armin Novak [Thu, 7 Feb 2019 13:23:50 +0000 (14:23 +0100)]
Cast E_* errors to HRESULT (same as defined in WIN32 API)

5 years agoAddin function pointers now expect const strings
Armin Novak [Thu, 7 Feb 2019 13:23:14 +0000 (14:23 +0100)]
Addin function pointers now expect const strings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:22:28 +0000 (14:22 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:21:04 +0000 (14:21 +0100)]
Fixed sign-compare warnings

5 years agoFixed unused variable warnings.
Armin Novak [Thu, 7 Feb 2019 13:20:53 +0000 (14:20 +0100)]
Fixed unused variable warnings.

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:20:24 +0000 (14:20 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:19:59 +0000 (14:19 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:19:40 +0000 (14:19 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:19:23 +0000 (14:19 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:18:53 +0000 (14:18 +0100)]
Fixed sign-compare warnings

5 years agoFixed missing return value check.
Armin Novak [Thu, 7 Feb 2019 13:18:28 +0000 (14:18 +0100)]
Fixed missing return value check.

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:18:02 +0000 (14:18 +0100)]
Fixed sign-compare warnings

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:17:35 +0000 (14:17 +0100)]
Fixed sign-compare warnings

5 years agoFixed free checks to eliminate bad free warnings.
Armin Novak [Thu, 7 Feb 2019 13:16:21 +0000 (14:16 +0100)]
Fixed free checks to eliminate bad free warnings.

5 years agoFixed sign-compare warnings
Armin Novak [Thu, 7 Feb 2019 13:15:35 +0000 (14:15 +0100)]
Fixed sign-compare warnings

5 years agoFixed NSC SSE argument checks.
Armin Novak [Thu, 7 Feb 2019 11:02:28 +0000 (12:02 +0100)]
Fixed NSC SSE argument checks.

5 years agoMerge pull request #5285 from akallabeth/urbdrc_preparations
David Fort [Thu, 4 Apr 2019 16:21:47 +0000 (18:21 +0200)]
Merge pull request #5285 from akallabeth/urbdrc_preparations

Channel, log debug and semaphore related fixes

5 years agoMerge pull request #5309 from smaeul/patch/ntlm
David Fort [Thu, 4 Apr 2019 16:19:56 +0000 (18:19 +0200)]
Merge pull request #5309 from smaeul/patch/ntlm

Fix NTLM AvPair lists

5 years agoMerge pull request #5318 from akallabeth/filetime_fix
David Fort [Thu, 4 Apr 2019 16:06:22 +0000 (18:06 +0200)]
Merge pull request #5318 from akallabeth/filetime_fix

Fix #5317: Change file attributes before modifying file time.

5 years agoMerge pull request #5251 from akallabeth/wayland_cursor_handling_fix
David Fort [Thu, 4 Apr 2019 16:05:28 +0000 (18:05 +0200)]
Merge pull request #5251 from akallabeth/wayland_cursor_handling_fix

Moved wayland cursor handling to seat.

5 years agoMerge pull request #5273 from akallabeth/mac_compile_warning_fix
David Fort [Thu, 4 Apr 2019 16:03:50 +0000 (18:03 +0200)]
Merge pull request #5273 from akallabeth/mac_compile_warning_fix

Fixed mac compilation warnings.

5 years agoMerge pull request #5319 from akallabeth/clip_file_fix
David Fort [Thu, 4 Apr 2019 16:02:41 +0000 (18:02 +0200)]
Merge pull request #5319 from akallabeth/clip_file_fix

Fixed \0 terimination of clipboard file list