platform/upstream/freerdp.git
5 years agowinpr: add some functions to use wStream in a static way
David Fort [Tue, 16 Oct 2018 09:33:03 +0000 (11:33 +0200)]
winpr: add some functions to use wStream in a static way

It's sometime useful to create a stream aliasing a buffer on the stack, and
it's nice if we don't need some extra malloc for this.

Example use:
   BYTE buffer[20];
   wStream s;

   Stream_StaticInit(&s, buffer, sizeof(buffer));
   Stream_Write_UINT16(&s, 0xff01);
   Stream_Free(&s, FALSE);

5 years agoMerge pull request #4889 from akallabeth/shadow_server_audin_refactor
Martin Fleisz [Mon, 8 Oct 2018 10:56:09 +0000 (12:56 +0200)]
Merge pull request #4889 from akallabeth/shadow_server_audin_refactor

Shadow server audin refactor

5 years agoMerge pull request #4913 from akallabeth/audin_opensles
Martin Fleisz [Mon, 8 Oct 2018 08:13:51 +0000 (10:13 +0200)]
Merge pull request #4913 from akallabeth/audin_opensles

Fixed audio recording with opensles.

5 years agoMerge pull request #4918 from byteboon/master
akallabeth [Mon, 8 Oct 2018 06:39:27 +0000 (08:39 +0200)]
Merge pull request #4918 from byteboon/master

Regression: added back kerberos signature fix that was lost in a recent refactor #4801

5 years agoRegression: added back kerberos signature fix that was lost in a recent refactor...
byteboon [Fri, 5 Oct 2018 16:43:00 +0000 (09:43 -0700)]
Regression: added back kerberos signature fix that was lost in a recent refactor #4801

5 years agoMerge pull request #4912 from akallabeth/swresample
akallabeth [Fri, 5 Oct 2018 09:00:13 +0000 (11:00 +0200)]
Merge pull request #4912 from akallabeth/swresample

Swresample support with avresample fallback

5 years agoMerge pull request #4916 from Devolutions/ios-path-fix
Martin Fleisz [Fri, 5 Oct 2018 07:50:27 +0000 (09:50 +0200)]
Merge pull request #4916 from Devolutions/ios-path-fix

Fix iOS path detection functions

5 years agoMerge pull request #4917 from Devolutions/array-list-equals-fix
akallabeth [Fri, 5 Oct 2018 07:05:57 +0000 (09:05 +0200)]
Merge pull request #4917 from Devolutions/array-list-equals-fix

Use fnObjectEquals in ArrayList_Remove.

5 years agoUse fnObjectEquals in ArrayList_Remove.
Sébastien Duquette [Fri, 21 Jul 2017 19:57:34 +0000 (15:57 -0400)]
Use fnObjectEquals in ArrayList_Remove.

5 years agofreerdp - fix iOS directory paths
Richard Markiewicz [Fri, 6 Oct 2017 21:55:34 +0000 (14:55 -0700)]
freerdp - fix iOS directory paths

5 years ago[audin] Abort version exchange if server version is not supported.
Armin Novak [Thu, 4 Oct 2018 11:53:18 +0000 (13:53 +0200)]
[audin] Abort version exchange if server version is not supported.

5 years agoFixed audio recording with opensles.
Armin Novak [Thu, 4 Oct 2018 10:21:28 +0000 (12:21 +0200)]
Fixed audio recording with opensles.

5 years agoMerge pull request #4910 from akallabeth/warning_fixes
Bernhard Miklautz [Thu, 4 Oct 2018 07:42:31 +0000 (09:42 +0200)]
Merge pull request #4910 from akallabeth/warning_fixes

Fixed compiler warnings.

5 years agoReadded AVRESAMPLE support as fallback.
Armin Novak [Thu, 4 Oct 2018 06:57:54 +0000 (08:57 +0200)]
Readded AVRESAMPLE support as fallback.

5 years agoMove from libavresample to libswresample
Vladimir Lomov [Thu, 4 Oct 2018 01:56:20 +0000 (09:56 +0800)]
Move from libavresample to libswresample

  - The libavresample as part of FFmpeg was declared as deprecated in
    favor of libswresample on Dec 25 2017 in commit "lavr: deprecate the
    entire library"
    (https://github.com/FFmpeg/FFmpeg/commit/c29038f3041a4080342b2e333c1967d136749c0f
    ;
    https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/c29038f3041a4080342b2e333c1967d136749c0f).
    As major Linux distributions (RPM, DEB and Archlinux) provide now
    FFmpeg and libswresample as its part use the libswresample instead of
    libavresample.

Signed-off-by: Vladimir Lomov <vladimir@smoon7.vl-lomov.ru>
5 years agoFixed compiler warnings.
Armin Novak [Wed, 3 Oct 2018 13:16:59 +0000 (15:16 +0200)]
Fixed compiler warnings.

5 years agoMerge pull request #4885 from akallabeth/autoreconnect_handle_window_events
David Fort [Wed, 3 Oct 2018 07:42:16 +0000 (09:42 +0200)]
Merge pull request #4885 from akallabeth/autoreconnect_handle_window_events

Fixed #3423: Process xevents when in reconnect mode.

6 years agoMerge pull request #4906 from FeLvi-zzz/japanese-patch
akallabeth [Tue, 2 Oct 2018 13:46:17 +0000 (15:46 +0200)]
Merge pull request #4906 from FeLvi-zzz/japanese-patch

Japanese patch #4905

6 years agoremove untranslatable strings in Japanese translation
FeLvi_zzz [Tue, 2 Oct 2018 12:53:55 +0000 (21:53 +0900)]
remove untranslatable strings in Japanese translation

6 years agofixed typo in Japanese translation
FeLvi_zzz [Tue, 2 Oct 2018 12:47:08 +0000 (21:47 +0900)]
fixed typo in Japanese translation

6 years agoReworked checks in xf_disp.c
Armin Novak [Tue, 2 Oct 2018 10:33:52 +0000 (12:33 +0200)]
Reworked checks in xf_disp.c

6 years agomodified Japanese translation #4905
FeLvi_zzz [Tue, 2 Oct 2018 09:36:58 +0000 (18:36 +0900)]
modified Japanese translation #4905

6 years agoadded Japanese translation
FeLvi_zzz [Tue, 2 Oct 2018 09:00:29 +0000 (18:00 +0900)]
added Japanese translation

6 years agoRelease stream in transport_write in all error cases.
Armin Novak [Tue, 2 Oct 2018 08:28:28 +0000 (10:28 +0200)]
Release stream in transport_write in all error cases.

6 years agoMerge pull request #4901 from akallabeth/cmd_line_flag_no_value_check
Bernhard Miklautz [Tue, 2 Oct 2018 08:04:21 +0000 (10:04 +0200)]
Merge pull request #4901 from akallabeth/cmd_line_flag_no_value_check

Check if a boolean or flag argument has additional data.

6 years agoMerge pull request #4904 from akallabeth/floatbar_x11_leak
Martin Fleisz [Mon, 1 Oct 2018 12:45:45 +0000 (14:45 +0200)]
Merge pull request #4904 from akallabeth/floatbar_x11_leak

Fixed floatbar X11 leak.

6 years agoFixed floatbar X11 leak.
Armin Novak [Mon, 1 Oct 2018 08:49:30 +0000 (10:49 +0200)]
Fixed floatbar X11 leak.

6 years agoCheck if a boolean or flag argument has additional data.
Armin Novak [Fri, 28 Sep 2018 10:59:20 +0000 (12:59 +0200)]
Check if a boolean or flag argument has additional data.
Treat it as an error.

6 years agoAdded default rdpsnd formats.
Armin Novak [Tue, 25 Sep 2018 15:13:25 +0000 (17:13 +0200)]
Added default rdpsnd formats.

6 years agofixed stuff
Armin Novak [Tue, 25 Sep 2018 15:09:45 +0000 (17:09 +0200)]
fixed stuff

6 years agoUnified format support for rdpsnd.
Armin Novak [Tue, 25 Sep 2018 15:05:12 +0000 (17:05 +0200)]
Unified format support for rdpsnd.

6 years agoAdded export define.
Armin Novak [Tue, 25 Sep 2018 14:52:27 +0000 (16:52 +0200)]
Added export define.

6 years agoMoved server-common to public header.
Armin Novak [Tue, 25 Sep 2018 14:45:08 +0000 (16:45 +0200)]
Moved server-common to public header.

6 years agoFixed server format selection.
Armin Novak [Tue, 25 Sep 2018 14:32:37 +0000 (16:32 +0200)]
Fixed server format selection.

6 years agoFixed server audin callback, provide more information.
Armin Novak [Tue, 25 Sep 2018 14:25:35 +0000 (16:25 +0200)]
Fixed server audin callback, provide more information.

6 years agoFixed dst_format
Armin Novak [Tue, 25 Sep 2018 14:00:30 +0000 (16:00 +0200)]
Fixed dst_format

6 years agoFixed default format.
Armin Novak [Tue, 25 Sep 2018 13:56:05 +0000 (15:56 +0200)]
Fixed default format.

6 years agoFixed format debug message.
Armin Novak [Tue, 25 Sep 2018 13:53:35 +0000 (15:53 +0200)]
Fixed format debug message.

6 years agoUsing common audio formats for input.
Armin Novak [Tue, 25 Sep 2018 13:53:10 +0000 (15:53 +0200)]
Using common audio formats for input.

6 years agoUnified format selection.
Armin Novak [Tue, 25 Sep 2018 13:50:48 +0000 (15:50 +0200)]
Unified format selection.

6 years agoMac fixes
Armin Novak [Tue, 25 Sep 2018 13:46:36 +0000 (15:46 +0200)]
Mac fixes

6 years agoFixed mac callbacks.
Armin Novak [Tue, 25 Sep 2018 13:18:37 +0000 (15:18 +0200)]
Fixed mac callbacks.

6 years agoFixed shadow server callbacks.
Armin Novak [Tue, 25 Sep 2018 13:17:19 +0000 (15:17 +0200)]
Fixed shadow server callbacks.

6 years agoCleaned up defaults.
Armin Novak [Tue, 25 Sep 2018 12:56:25 +0000 (14:56 +0200)]
Cleaned up defaults.

6 years agoWorking mic redirection for shadow server.
Armin Novak [Tue, 25 Sep 2018 12:34:14 +0000 (14:34 +0200)]
Working mic redirection for shadow server.

6 years agoRefactored audio_format* functions.
Armin Novak [Tue, 25 Sep 2018 10:04:10 +0000 (12:04 +0200)]
Refactored audio_format* functions.

6 years agoMerge pull request #4874 from r-barnett/fix-MonitorLocalShift
David Fort [Wed, 26 Sep 2018 08:02:49 +0000 (10:02 +0200)]
Merge pull request #4874 from r-barnett/fix-MonitorLocalShift

MonitorLocalShiftX,Y should be set when 1st monitor from MonitorIds s…

6 years agoMerge pull request #4879 from akallabeth/clip_fix
Martin Fleisz [Wed, 26 Sep 2018 07:37:41 +0000 (09:37 +0200)]
Merge pull request #4879 from akallabeth/clip_fix

Fixes for clipboard #4876

6 years agoMerge pull request #4862 from akallabeth/printer_warning_fix
Martin Fleisz [Wed, 26 Sep 2018 07:37:23 +0000 (09:37 +0200)]
Merge pull request #4862 from akallabeth/printer_warning_fix

Fixed a warning in printer channel.

6 years agoMerge pull request #4882 from akallabeth/no_proxy_cidr
Martin Fleisz [Wed, 26 Sep 2018 07:20:54 +0000 (09:20 +0200)]
Merge pull request #4882 from akallabeth/no_proxy_cidr

Fixed #4878: Added cidr support for proxy exception check.

6 years agoMerge pull request #4865 from mmattes/feature/floatbar
akallabeth [Tue, 25 Sep 2018 14:34:20 +0000 (16:34 +0200)]
Merge pull request #4865 from mmattes/feature/floatbar

Feature/floatbar for X11

6 years agoMerge pull request #4888 from akallabeth/shadow_server_audin
Martin Fleisz [Tue, 25 Sep 2018 12:38:09 +0000 (14:38 +0200)]
Merge pull request #4888 from akallabeth/shadow_server_audin

Added microphone support to shadow server.

6 years agoAdded microphone support to shadow server.
Armin Novak [Tue, 25 Sep 2018 09:13:32 +0000 (11:13 +0200)]
Added microphone support to shadow server.

6 years agoMerge pull request #4887 from akallabeth/rail_string_allow_empty
David Fort [Tue, 25 Sep 2018 08:58:53 +0000 (10:58 +0200)]
Merge pull request #4887 from akallabeth/rail_string_allow_empty

Allow empty rail strings.

6 years agoAllow empty rail strings.
Armin Novak [Tue, 25 Sep 2018 07:54:47 +0000 (09:54 +0200)]
Allow empty rail strings.

6 years agoFixed load/unload for display channel.
Armin Novak [Mon, 24 Sep 2018 14:44:25 +0000 (16:44 +0200)]
Fixed load/unload for display channel.

6 years agoFixed #3423: Process xevents when in reconnect mode.
Armin Novak [Mon, 24 Sep 2018 14:24:32 +0000 (16:24 +0200)]
Fixed #3423: Process xevents when in reconnect mode.

Fixed crashes due to unloaded disp channel in reconnect mode.

6 years agoMerge pull request #4501 from akallabeth/drive_file_size_fix
David Fort [Mon, 24 Sep 2018 14:00:27 +0000 (16:00 +0200)]
Merge pull request #4501 from akallabeth/drive_file_size_fix

Removed xrdp workarounds.

6 years agoMerge pull request #4880 from akallabeth/auto_reconnect_unify
David Fort [Mon, 24 Sep 2018 12:09:10 +0000 (14:09 +0200)]
Merge pull request #4880 from akallabeth/auto_reconnect_unify

Unified auto_reconnect functions for all clients.

6 years agoSkip empty server format response.
Armin Novak [Mon, 24 Sep 2018 07:53:28 +0000 (09:53 +0200)]
Skip empty server format response.

6 years agoFix NULL function pointer BeginPaint
Armin Novak [Mon, 24 Sep 2018 07:38:01 +0000 (09:38 +0200)]
Fix NULL function pointer BeginPaint

6 years agoFixed freerdp_keyboard_layouts_free
Armin Novak [Mon, 24 Sep 2018 07:08:50 +0000 (09:08 +0200)]
Fixed freerdp_keyboard_layouts_free

6 years agoFree RDP_KEYBOARD_LAYOUT with freerdp_keyboard_layouts_free
Armin Novak [Mon, 24 Sep 2018 07:07:59 +0000 (09:07 +0200)]
Free RDP_KEYBOARD_LAYOUT with freerdp_keyboard_layouts_free

6 years agoFixed domain and regex match.
Armin Novak [Mon, 24 Sep 2018 10:24:15 +0000 (12:24 +0200)]
Fixed domain and regex match.

6 years agoFixed #4878: Added cidr support for proxy exception check.
Armin Novak [Mon, 24 Sep 2018 09:42:23 +0000 (11:42 +0200)]
Fixed #4878: Added cidr support for proxy exception check.

6 years agoUnified auto_reconnect functions for all clients.
Armin Novak [Mon, 24 Sep 2018 08:30:59 +0000 (10:30 +0200)]
Unified auto_reconnect functions for all clients.

6 years agoMerge pull request #4869 from akallabeth/clear_fix
David Fort [Mon, 24 Sep 2018 07:46:33 +0000 (09:46 +0200)]
Merge pull request #4869 from akallabeth/clear_fix

Fix #4868: Separate codec reset from initial setup

6 years agoMonitorLocalShiftX,Y should be set when 1st monitor from MonitorIds selected as primary
rbarnett [Fri, 21 Sep 2018 18:40:48 +0000 (13:40 -0500)]
MonitorLocalShiftX,Y should be set when 1st monitor from MonitorIds selected as primary

6 years agoMerge pull request #4872 from akallabeth/sw_gdi_default
Martin Fleisz [Fri, 21 Sep 2018 11:02:39 +0000 (13:02 +0200)]
Merge pull request #4872 from akallabeth/sw_gdi_default

Fix #4851: Software GDI is now default

6 years agoMerge pull request #4871 from akallabeth/drdynvc_checks
Martin Fleisz [Fri, 21 Sep 2018 11:01:58 +0000 (13:01 +0200)]
Merge pull request #4871 from akallabeth/drdynvc_checks

Fix for #4866: Added additional length checks

6 years agoMerge pull request #4873 from akallabeth/leak_fix
Martin Fleisz [Thu, 20 Sep 2018 11:14:24 +0000 (13:14 +0200)]
Merge pull request #4873 from akallabeth/leak_fix

Fixed use after free and leak.

6 years agoMerge pull request #4855 from r-barnett/fix-logoff-exit-code
akallabeth [Thu, 20 Sep 2018 10:07:36 +0000 (12:07 +0200)]
Merge pull request #4855 from r-barnett/fix-logoff-exit-code

Map a particular disconnect situation triggered by a user logging off…

6 years agoFixed use after free and leak.
Armin Novak [Thu, 20 Sep 2018 09:04:20 +0000 (11:04 +0200)]
Fixed use after free and leak.

6 years agoFix #4851: Software GDI is now default
Armin Novak [Thu, 20 Sep 2018 08:44:03 +0000 (10:44 +0200)]
Fix #4851: Software GDI is now default

6 years agoFix for #4866: Added additional length checks
Armin Novak [Thu, 20 Sep 2018 07:06:01 +0000 (09:06 +0200)]
Fix for #4866: Added additional length checks

6 years agoReplace cryptic names; move the disconnect ultimatum reasons enum into public API...
rbarnett [Wed, 19 Sep 2018 14:36:39 +0000 (09:36 -0500)]
Replace cryptic names; move the disconnect ultimatum reasons enum into public API and rename; remove setter

6 years agoMerge pull request #4870 from corux/patch-1
Martin Fleisz [Wed, 19 Sep 2018 14:20:32 +0000 (16:20 +0200)]
Merge pull request #4870 from corux/patch-1

[NLA] Password prompt is shown even if empty password is provided

6 years agoDo not prompt if blank password was provided
Tobias [Wed, 19 Sep 2018 13:36:24 +0000 (15:36 +0200)]
Do not prompt if blank password was provided

6 years agoFixed clear codec reset and test cases.
Armin Novak [Wed, 19 Sep 2018 12:10:50 +0000 (14:10 +0200)]
Fixed clear codec reset and test cases.

6 years agoFixed buffer size for clear_decompress test.
Armin Novak [Wed, 19 Sep 2018 11:02:29 +0000 (13:02 +0200)]
Fixed buffer size for clear_decompress test.

6 years agoFix #4868: Allow empty bands data.
Armin Novak [Wed, 19 Sep 2018 10:03:07 +0000 (12:03 +0200)]
Fix #4868: Allow empty bands data.

6 years agoMerge pull request #4867 from akallabeth/empty_smartcard_filter_fix
Martin Fleisz [Wed, 19 Sep 2018 11:45:15 +0000 (13:45 +0200)]
Merge pull request #4867 from akallabeth/empty_smartcard_filter_fix

Fixed smartcard filter for empty arguments.

6 years agoFixed smartcard filter for empty arguments.
Armin Novak [Wed, 19 Sep 2018 09:13:02 +0000 (11:13 +0200)]
Fixed smartcard filter for empty arguments.

6 years agoStore the disconnect provider ulimatum reason in a new field in struct rdp_context...
rbarnett [Tue, 18 Sep 2018 20:31:10 +0000 (15:31 -0500)]
Store the disconnect provider ulimatum reason in a new field in struct rdp_context and move the test for a logoff reason to xf_client.c

6 years agofix hidden floatbar consumes a lot of cpu
Markus Mattes [Tue, 18 Sep 2018 19:46:02 +0000 (21:46 +0200)]
fix hidden floatbar consumes a lot of cpu

6 years agoimplemented floatbar for x11
Markus Mattes [Tue, 18 Sep 2018 19:25:51 +0000 (21:25 +0200)]
implemented floatbar for x11

6 years agoFixed a warning in printer channel.
Armin Novak [Tue, 18 Sep 2018 12:45:25 +0000 (14:45 +0200)]
Fixed a warning in printer channel.

6 years agoMerge pull request #4859 from akallabeth/autoreconnect_gfx_fix
Martin Fleisz [Tue, 18 Sep 2018 08:59:15 +0000 (10:59 +0200)]
Merge pull request #4859 from akallabeth/autoreconnect_gfx_fix

Fixed #4857: Properly reset clear codec.

6 years agoFixed #4857: Properly reset clear codec.
Armin Novak [Tue, 18 Sep 2018 07:51:50 +0000 (09:51 +0200)]
Fixed #4857: Properly reset clear codec.

6 years agoMerge pull request #4842 from akallabeth/smartcard_rdp_logon
Martin Fleisz [Mon, 17 Sep 2018 07:08:47 +0000 (09:08 +0200)]
Merge pull request #4842 from akallabeth/smartcard_rdp_logon

Added /smartcard-logon option to set flag. (Stripped version of #4837…

6 years agoMerge pull request #4840 from akallabeth/smartcard_filter
Martin Fleisz [Mon, 17 Sep 2018 07:08:32 +0000 (09:08 +0200)]
Merge pull request #4840 from akallabeth/smartcard_filter

Added multi filter for smartcard. (based on #4837 by @informatimago)

6 years agoMap a particular disconnect situation triggered by a user logging off to a user logof...
rbarnett [Fri, 14 Sep 2018 14:54:35 +0000 (09:54 -0500)]
Map a particular disconnect situation triggered by a user logging off to a user logoff code.

6 years agoMerge pull request #4853 from r-barnett/add-nego-fail-exit-code
Martin Fleisz [Fri, 14 Sep 2018 08:59:31 +0000 (10:59 +0200)]
Merge pull request #4853 from r-barnett/add-nego-fail-exit-code

Add an exit code for a security protocol negotiation failure

6 years agoMerge pull request #4854 from akallabeth/rail_exec_arguments_fix
Martin Fleisz [Fri, 14 Sep 2018 08:58:36 +0000 (10:58 +0200)]
Merge pull request #4854 from akallabeth/rail_exec_arguments_fix

Fixed rail unicode string conversion and const correctness.

6 years agoFixed macro _stream_read_n16_le and _stream_read_n16_be
Armin Novak [Fri, 14 Sep 2018 08:08:38 +0000 (10:08 +0200)]
Fixed macro _stream_read_n16_le and _stream_read_n16_be

Cast to appropriate type to avoid integer truncation warnings.

6 years agoFixed const correctness for RAIL callbacks.
Armin Novak [Fri, 14 Sep 2018 08:07:22 +0000 (10:07 +0200)]
Fixed const correctness for RAIL callbacks.

6 years agoFixed rail unicode string conversion and const correctness.
Armin Novak [Fri, 14 Sep 2018 08:04:16 +0000 (10:04 +0200)]
Fixed rail unicode string conversion and const correctness.

6 years agoAdd an exit code for a security protocol negotiation failure
rbarnett [Thu, 13 Sep 2018 15:29:23 +0000 (10:29 -0500)]
Add an exit code for a security protocol negotiation failure

6 years agoMerge pull request #4852 from r-barnett/fix-net-disconnect-exit-code
akallabeth [Thu, 13 Sep 2018 07:57:16 +0000 (09:57 +0200)]
Merge pull request #4852 from r-barnett/fix-net-disconnect-exit-code

Set an error exit code for an unsuccessful reconnect

6 years agoSet an error exit code for an unsuccessful reconnect
rbarnett [Wed, 12 Sep 2018 15:16:27 +0000 (10:16 -0500)]
Set an error exit code for an unsuccessful reconnect