platform/upstream/freerdp.git
5 years agomacos: Bring RDP window to front
Mandar [Fri, 27 Jul 2018 10:24:57 +0000 (15:54 +0530)]
macos: Bring RDP window to front

To bring RDP window on top of all the windows

5 years agoMerge pull request #4759 from mfleisz/audin_srv_fix
David Fort [Mon, 23 Jul 2018 20:06:09 +0000 (22:06 +0200)]
Merge pull request #4759 from mfleisz/audin_srv_fix

audin: Fix server-side dsp decoding

6 years agoaudin: Fix server-side dsp decoding
Martin Fleisz [Thu, 19 Jul 2018 13:54:40 +0000 (15:54 +0200)]
audin: Fix server-side dsp decoding

The decoder format was never set and so dsp_decode always failed
on the server side.

6 years agoMerge pull request #4754 from akallabeth/expose_cert_redirection_flag
Martin Fleisz [Wed, 18 Jul 2018 14:32:53 +0000 (16:32 +0200)]
Merge pull request #4754 from akallabeth/expose_cert_redirection_flag

Expose redirection flag for certificate.

6 years agoExpose redirection flag for certificate.
Armin Novak [Mon, 16 Jul 2018 15:08:26 +0000 (17:08 +0200)]
Expose redirection flag for certificate.

6 years agoMerge pull request #4745 from akallabeth/redirect_fix_follow_up
Martin Fleisz [Fri, 13 Jul 2018 11:54:03 +0000 (13:54 +0200)]
Merge pull request #4745 from akallabeth/redirect_fix_follow_up

Fixed channel reconnect after redirect.

6 years agoFixed channel reconnect after redirect.
Armin Novak [Fri, 13 Jul 2018 11:11:38 +0000 (13:11 +0200)]
Fixed channel reconnect after redirect.

6 years agoMerge pull request #4742 from mfleisz/fix_wave2
Martin Fleisz [Wed, 11 Jul 2018 13:41:05 +0000 (15:41 +0200)]
Merge pull request #4742 from mfleisz/fix_wave2

rdpsnd: Fix sending of wave2 PDU

6 years agordpsnd: Fix sending of wave2 PDU
Martin Fleisz [Wed, 11 Jul 2018 13:06:31 +0000 (15:06 +0200)]
rdpsnd: Fix sending of wave2 PDU

According to MS-RDPEA 2.2.3.10 the Wave2 PDU's header BodySize field
should be equal the size of the PDU minus the header (4 Bytes).

6 years agoMerge pull request #4738 from akallabeth/connect_timeout_retry
Martin Fleisz [Tue, 10 Jul 2018 15:31:08 +0000 (17:31 +0200)]
Merge pull request #4738 from akallabeth/connect_timeout_retry

Automatic timeout reconnect after callbacks

6 years agoFixed PEM certificate reading.
Armin Novak [Tue, 10 Jul 2018 12:57:13 +0000 (14:57 +0200)]
Fixed PEM certificate reading.

6 years agoMoved automatic reconnect after timeout to freerdp_connect.
Armin Novak [Tue, 10 Jul 2018 11:26:25 +0000 (13:26 +0200)]
Moved automatic reconnect after timeout to freerdp_connect.

6 years agoAdded automatic reconnect if freerdp_connect fails due to timeout.
Armin Novak [Tue, 10 Jul 2018 10:49:46 +0000 (12:49 +0200)]
Added automatic reconnect if freerdp_connect fails due to timeout.

6 years agoMade internal functions static to help compiler optimize.
Armin Novak [Tue, 10 Jul 2018 10:21:38 +0000 (12:21 +0200)]
Made internal functions static to help compiler optimize.

6 years agoUpdated reconnect to handle cases where PostConnect was not called
Armin Novak [Tue, 10 Jul 2018 10:04:27 +0000 (12:04 +0200)]
Updated reconnect to handle cases where PostConnect was not called

freerdp_reconnect might be called after a freerdp_connect failed due
to a TCP timeout waiting for user input.
In such cases we need to know if PostConect was already called and
do that if not.

6 years agoRemember accepted PEM cert to avoid unnecessary user input.
Armin Novak [Tue, 10 Jul 2018 08:03:49 +0000 (10:03 +0200)]
Remember accepted PEM cert to avoid unnecessary user input.

6 years agoFixed async input return value check.
Armin Novak [Mon, 9 Jul 2018 15:45:50 +0000 (17:45 +0200)]
Fixed async input return value check.

6 years agoMerge pull request #4727 from akallabeth/new_error
Martin Fleisz [Thu, 5 Jul 2018 14:37:15 +0000 (16:37 +0200)]
Merge pull request #4727 from akallabeth/new_error

Added no or missing credentail error.

6 years agoAdded no or missing credentail error.
Armin Novak [Thu, 5 Jul 2018 13:20:52 +0000 (15:20 +0200)]
Added no or missing credentail error.

6 years agoMerge pull request #4726 from akallabeth/bitmap_cache_fix
Martin Fleisz [Thu, 5 Jul 2018 07:50:03 +0000 (09:50 +0200)]
Merge pull request #4726 from akallabeth/bitmap_cache_fix

Fix #4725: Need to copy data.

6 years agoFix #4725: Need to copy data.
Armin Novak [Thu, 5 Jul 2018 06:44:42 +0000 (08:44 +0200)]
Fix #4725: Need to copy data.

6 years agoMerge pull request #4530 from akallabeth/order_refactor
Martin Fleisz [Wed, 4 Jul 2018 12:21:36 +0000 (14:21 +0200)]
Merge pull request #4530 from akallabeth/order_refactor

[leak fixes] Refactored order updates

6 years agoFixed indentation.
Armin Novak [Wed, 4 Jul 2018 11:44:38 +0000 (13:44 +0200)]
Fixed indentation.

6 years agoMerge pull request #4724 from akallabeth/wave2_server
David Fort [Wed, 4 Jul 2018 11:10:38 +0000 (13:10 +0200)]
Merge pull request #4724 from akallabeth/wave2_server

Wave2 server side support

6 years agoFixed remarks
Armin Novak [Wed, 4 Jul 2018 09:03:32 +0000 (11:03 +0200)]
Fixed remarks

6 years agoMerge pull request #4645 from akallabeth/mac_ports_removed
David Fort [Wed, 4 Jul 2018 08:50:41 +0000 (10:50 +0200)]
Merge pull request #4645 from akallabeth/mac_ports_removed

Fix #2617: Removed MacPorts from CMake (default) search path.

6 years agoMerge pull request #4700 from informatimago/rdpsettings-script
Martin Fleisz [Tue, 3 Jul 2018 14:07:05 +0000 (16:07 +0200)]
Merge pull request #4700 from informatimago/rdpsettings-script

Rdpsettings script

6 years agoApplied autoformat.sh manually to settings.h
Pascal J. Bourguignon [Tue, 3 Jul 2018 12:35:57 +0000 (14:35 +0200)]
Applied autoformat.sh manually to settings.h

6 years agoUse tabs to indent the comment in rdp_settings too.
Pascal J. Bourguignon [Tue, 3 Jul 2018 11:33:05 +0000 (13:33 +0200)]
Use tabs to indent the comment in rdp_settings too.

6 years agoMerge pull request #4706 from khvMX/master
Martin Fleisz [Tue, 3 Jul 2018 10:45:15 +0000 (12:45 +0200)]
Merge pull request #4706 from khvMX/master

X11: fixed Right-Ctrl ungrab feature (PR #3622)

6 years agoKeep extra data of audio format locally cached.
Armin Novak [Tue, 3 Jul 2018 07:54:29 +0000 (09:54 +0200)]
Keep extra data of audio format locally cached.

6 years agoAdded target dependencies.
Armin Novak [Mon, 2 Jul 2018 14:46:03 +0000 (16:46 +0200)]
Added target dependencies.

6 years agoFixed empty lib.
Armin Novak [Mon, 2 Jul 2018 14:38:21 +0000 (16:38 +0200)]
Fixed empty lib.

6 years agoAdded automatic format support filter.
Armin Novak [Mon, 2 Jul 2018 14:33:50 +0000 (16:33 +0200)]
Added automatic format support filter.

6 years agoFixed warning.
Armin Novak [Mon, 2 Jul 2018 14:09:27 +0000 (16:09 +0200)]
Fixed warning.

6 years agoAdded support for WAVE2 PDU in server side audio channel.
Armin Novak [Mon, 2 Jul 2018 14:08:47 +0000 (16:08 +0200)]
Added support for WAVE2 PDU in server side audio channel.

6 years agoMerge pull request #4681 from akallabeth/wording_consistent
Martin Fleisz [Tue, 26 Jun 2018 08:19:41 +0000 (10:19 +0200)]
Merge pull request #4681 from akallabeth/wording_consistent

Fixed #4636: Consistent wording for boolean options depending on default

6 years agoMerge pull request #4710 from akallabeth/reconnect_fixes
David Fort [Mon, 25 Jun 2018 22:02:58 +0000 (00:02 +0200)]
Merge pull request #4710 from akallabeth/reconnect_fixes

Reconnect fixes

6 years agoAdded enum for client connection state.
Armin Novak [Tue, 19 Jun 2018 15:28:22 +0000 (17:28 +0200)]
Added enum for client connection state.

6 years agoFixed missing variable type
Armin Novak [Tue, 19 Jun 2018 14:57:45 +0000 (16:57 +0200)]
Fixed missing variable type

6 years agoMerge pull request #4711 from akallabeth/command_line_cleanup_rework
David Fort [Tue, 19 Jun 2018 14:48:05 +0000 (16:48 +0200)]
Merge pull request #4711 from akallabeth/command_line_cleanup_rework

Command line cleanup rework

6 years agoFixed memory leak in command line value parsing.
Armin Novak [Tue, 19 Jun 2018 10:55:29 +0000 (12:55 +0200)]
Fixed memory leak in command line value parsing.

6 years agoFixed memory leak in command line value parsing.
Armin Novak [Tue, 19 Jun 2018 10:55:29 +0000 (12:55 +0200)]
Fixed memory leak in command line value parsing.

6 years agoMerge remote-tracking branch 'origin/pr/4701' into reconnect_fixes
Armin Novak [Tue, 19 Jun 2018 10:46:58 +0000 (12:46 +0200)]
Merge remote-tracking branch 'origin/pr/4701' into reconnect_fixes

6 years agoFollow up fix for #4631
Armin Novak [Mon, 18 Jun 2018 08:44:35 +0000 (10:44 +0200)]
Follow up fix for #4631

Remember the callback state to avoid calling reerdp_channels_post_connect
before the corresponding client callback has benn called.
This might happen during redirection and reconnection.

6 years agoRemoved duplicate resource free.
Armin Novak [Mon, 18 Jun 2018 08:23:57 +0000 (10:23 +0200)]
Removed duplicate resource free.

6 years agoX11: fixed Right-Ctrl ungrab feature (PR #3622)
Viktor Mukha [Fri, 8 Jun 2018 09:35:02 +0000 (11:35 +0200)]
X11: fixed Right-Ctrl ungrab feature (PR #3622)

6 years agoFIX: moved declarations above the statements for strict C 90 compliance.
Pascal J. Bourguignon [Thu, 7 Jun 2018 11:29:44 +0000 (13:29 +0200)]
FIX: moved declarations above the statements for strict C 90 compliance.

6 years agoCorrected update-rdpSettings according to PR comments.
Pascal J. Bourguignon [Wed, 6 Jun 2018 15:08:52 +0000 (17:08 +0200)]
Corrected update-rdpSettings according to PR comments.
Updated settings.h with it.

6 years agoCleaned up const char** -> char** for argv, since we definitely do modify the argv!
Pascal J. Bourguignon [Wed, 6 Jun 2018 14:43:09 +0000 (16:43 +0200)]
Cleaned up const char** -> char** for argv, since we definitely do modify the argv!
(we overwrite the password and pin arguments).
This implies changes in the argument parsing tests that now must pass a mutable argv
(copied from the statically declared test argvs).
Some other const inconsistency have been dealt with too.

6 years agoCreated script to update the #define from rdp_settings fields.
Pascal J. Bourguignon [Fri, 25 May 2018 12:51:55 +0000 (14:51 +0200)]
Created script to update the #define from rdp_settings fields.

Created scripts/update-rdpSettings script to update the
rdpSettings #defines from the rdpSettings structure.

6 years agoAligned columns in rdpSettings structure declaration.
Pascal J. Bourguignon [Wed, 23 May 2018 08:27:39 +0000 (10:27 +0200)]
Aligned columns in rdpSettings structure declaration.

6 years agoMerge pull request #4694 from akallabeth/mic_crash_fix
David Fort [Mon, 4 Jun 2018 09:29:01 +0000 (11:29 +0200)]
Merge pull request #4694 from akallabeth/mic_crash_fix

Fixed #4693: Fix integer underflow in encoder loop.

6 years agoFixed #4693: Fix integer underflow in encoder loop.
Armin Novak [Mon, 4 Jun 2018 08:14:29 +0000 (10:14 +0200)]
Fixed #4693: Fix integer underflow in encoder loop.

6 years agoMerge pull request #4683 from akallabeth/ffmpeg_found_fix
Martin Fleisz [Wed, 30 May 2018 10:39:17 +0000 (12:39 +0200)]
Merge pull request #4683 from akallabeth/ffmpeg_found_fix

Nightly build fix

6 years agoFixed case of variable names.
Armin Novak [Wed, 30 May 2018 10:13:24 +0000 (12:13 +0200)]
Fixed case of variable names.

6 years agoMerge pull request #4677 from akallabeth/build_dep_fix
Martin Fleisz [Tue, 29 May 2018 10:10:53 +0000 (12:10 +0200)]
Merge pull request #4677 from akallabeth/build_dep_fix

Fix #4672: Check if FFMPEG and OpenH264 detected

6 years agoFix #4672: Check if FFMPEG and OpenH264 detected
Armin Novak [Mon, 28 May 2018 13:30:50 +0000 (15:30 +0200)]
Fix #4672: Check if FFMPEG and OpenH264 detected

When FFMPEG or OpenH264 was requested but not detected abort
the cmake run with an error.

6 years agoMerge pull request #4665 from FreeRDP/akallabeth-patch-1
Martin Fleisz [Tue, 22 May 2018 14:22:10 +0000 (16:22 +0200)]
Merge pull request #4665 from FreeRDP/akallabeth-patch-1

Update issue templates

6 years agoUpdate issue templates
akallabeth [Fri, 18 May 2018 07:03:30 +0000 (09:03 +0200)]
Update issue templates

6 years agoFixed #4636: Consistent wording for boolean options depending on default.
Armin Novak [Thu, 17 May 2018 08:08:05 +0000 (10:08 +0200)]
Fixed #4636: Consistent wording for boolean options depending on default.

6 years agoprimitives: ensure primitives_get() returns a populated struct
Mike Gilbert [Wed, 16 May 2018 20:15:50 +0000 (16:15 -0400)]
primitives: ensure primitives_get() returns a populated struct

Fixes: https://github.com/FreeRDP/FreeRDP/issues/4658

6 years agoMerge pull request #4654 from akallabeth/alsa_latency_patch
David Fort [Wed, 16 May 2018 07:53:30 +0000 (09:53 +0200)]
Merge pull request #4654 from akallabeth/alsa_latency_patch

Return real alsa latency if buffer is filled.

6 years agoReturn real alsa latency if buffer is filled.
Armin Novak [Wed, 16 May 2018 06:45:17 +0000 (08:45 +0200)]
Return real alsa latency if buffer is filled.

6 years agoMerge pull request #4653 from rjcorrig/kb4093753
akallabeth [Wed, 16 May 2018 06:01:09 +0000 (08:01 +0200)]
Merge pull request #4653 from rjcorrig/kb4093753

winpr: Updates time zone data to April 2018

6 years agoUpdate time zone data to April 2018
Robert Corrigan [Tue, 15 May 2018 19:53:36 +0000 (15:53 -0400)]
Update time zone data to April 2018

6 years agoMerge pull request #4651 from akallabeth/loadepng_memleak_fix
Martin Fleisz [Tue, 15 May 2018 14:29:27 +0000 (16:29 +0200)]
Merge pull request #4651 from akallabeth/loadepng_memleak_fix

Fixed loadepng memory leak.

6 years agoMerge pull request #4648 from akallabeth/nsc_free_fix
Martin Fleisz [Tue, 15 May 2018 13:09:49 +0000 (15:09 +0200)]
Merge pull request #4648 from akallabeth/nsc_free_fix

Fixed #4647: nsc_context_free must not access possibly uninitialized fields

6 years agoFix missing sound arrival time for wave2 PDU
Armin Novak [Tue, 15 May 2018 12:57:00 +0000 (14:57 +0200)]
Fix missing sound arrival time for wave2 PDU

6 years agoFixed loadepng memory leak.
Armin Novak [Tue, 15 May 2018 12:30:04 +0000 (14:30 +0200)]
Fixed loadepng memory leak.

6 years agoMerge pull request #4637 from akallabeth/win_ninja_support
Martin Fleisz [Tue, 15 May 2018 11:47:28 +0000 (13:47 +0200)]
Merge pull request #4637 from akallabeth/win_ninja_support

VS2017 support: set pdb output directory for Ninja generator.

6 years agoMerge pull request #4631 from akallabeth/santizer_fixes
Martin Fleisz [Tue, 15 May 2018 11:46:57 +0000 (13:46 +0200)]
Merge pull request #4631 from akallabeth/santizer_fixes

Fix #4628: CommandLineFindNextArgumentA must check the current argument

6 years agoFixed #4647: nsc_context_free must not access possibly uninitialized fields.
Armin Novak [Tue, 15 May 2018 07:13:00 +0000 (09:13 +0200)]
Fixed #4647: nsc_context_free must not access possibly uninitialized fields.

6 years agoMerge pull request #4638 from akallabeth/known_hosts_comment_support
David Fort [Mon, 14 May 2018 13:04:34 +0000 (15:04 +0200)]
Merge pull request #4638 from akallabeth/known_hosts_comment_support

Added comment support for known_hosts format.

6 years agoAdded comment support for known_hosts format.
Armin Novak [Fri, 11 May 2018 09:09:54 +0000 (11:09 +0200)]
Added comment support for known_hosts format.

6 years agoFix #2617: Removed MacPorts from CMake (default) search path.
Armin Novak [Mon, 14 May 2018 08:39:12 +0000 (10:39 +0200)]
Fix #2617: Removed MacPorts from CMake (default) search path.

6 years agoFixed invalid function argument for ntlm_compute_message_integrity_check
Armin Novak [Fri, 11 May 2018 09:00:46 +0000 (11:00 +0200)]
Fixed invalid function argument for ntlm_compute_message_integrity_check

6 years agoFixed compiler warnings (unused)
Armin Novak [Fri, 11 May 2018 09:00:01 +0000 (11:00 +0200)]
Fixed compiler warnings (unused)

6 years agoFixed #4629: Only call freerdp_channels_post_connect when it was connected.
Armin Novak [Sun, 6 May 2018 09:17:08 +0000 (11:17 +0200)]
Fixed #4629: Only call freerdp_channels_post_connect when it was connected.

In rdp_client_redirect or rdp_client_reconnect freerdp_channels_post_connect must
be called if the channels were connected previously.
This might not be the case, skip that call then.

6 years agoVS2017 support: set pdb output directory for Ninja generator.
Armin Novak [Fri, 11 May 2018 08:37:50 +0000 (10:37 +0200)]
VS2017 support: set pdb output directory for Ninja generator.

6 years agoFix #4628: CommandLineFindNextArgumentA must check the current argument
Armin Novak [Sun, 6 May 2018 08:49:05 +0000 (10:49 +0200)]
Fix #4628: CommandLineFindNextArgumentA must check the current argument

When determining if there is a next argument first check the current one
for abort criteria.

6 years agoMerge pull request #4610 from akallabeth/cmd_strtol_fix
Martin Fleisz [Fri, 4 May 2018 11:28:18 +0000 (13:28 +0200)]
Merge pull request #4610 from akallabeth/cmd_strtol_fix

Fix #4597: Do string argument checks before a possible strtol

6 years agoMerge pull request #4623 from akallabeth/mac_sound_backend_fix
Martin Fleisz [Fri, 4 May 2018 11:08:45 +0000 (13:08 +0200)]
Merge pull request #4623 from akallabeth/mac_sound_backend_fix

Fixed mac sound backend initialization.

6 years agoMerge pull request #4627 from akallabeth/clang_warning_fixes
Martin Fleisz [Fri, 4 May 2018 11:07:01 +0000 (13:07 +0200)]
Merge pull request #4627 from akallabeth/clang_warning_fixes

Clang warning fixes

6 years agoFixed NULL dereferences.
Armin Novak [Fri, 4 May 2018 10:03:26 +0000 (12:03 +0200)]
Fixed NULL dereferences.

6 years agoFixed uninitialized return and early resource cleanup.
Armin Novak [Fri, 4 May 2018 10:36:29 +0000 (12:36 +0200)]
Fixed uninitialized return and early resource cleanup.

6 years agoFixed uninitialized value.
Armin Novak [Fri, 4 May 2018 10:36:18 +0000 (12:36 +0200)]
Fixed uninitialized value.

6 years agoFixed missing NULL pointer checks.
Armin Novak [Fri, 4 May 2018 10:35:51 +0000 (12:35 +0200)]
Fixed missing NULL pointer checks.

6 years agoMerge pull request #4624 from akallabeth/pth_fix
Martin Fleisz [Fri, 4 May 2018 09:59:21 +0000 (11:59 +0200)]
Merge pull request #4624 from akallabeth/pth_fix

Fixed /pth: Consistently treat the hash offset to password length.

6 years agoFixed memory leak.
Armin Novak [Fri, 4 May 2018 09:46:46 +0000 (11:46 +0200)]
Fixed memory leak.

6 years agoDo not set password to identity if pth is used.
Armin Novak [Fri, 4 May 2018 07:54:49 +0000 (09:54 +0200)]
Do not set password to identity if pth is used.

6 years agoMerge pull request #4611 from akallabeth/argument_warnings
Martin Fleisz [Fri, 4 May 2018 08:06:42 +0000 (10:06 +0200)]
Merge pull request #4611 from akallabeth/argument_warnings

Argument warnings

6 years agoMerge pull request #4625 from dualmoon/fix-hisher-pronouns
akallabeth [Fri, 4 May 2018 08:04:37 +0000 (10:04 +0200)]
Merge pull request #4625 from dualmoon/fix-hisher-pronouns

First person "they" pronouns in logoff message

6 years agoFixed formats supported by backend.
Armin Novak [Fri, 4 May 2018 07:44:06 +0000 (09:44 +0200)]
Fixed formats supported by backend.

6 years agoAdded error log messages.
Armin Novak [Fri, 4 May 2018 07:10:31 +0000 (09:10 +0200)]
Added error log messages.

6 years agoFirst person "they" pronouns in logoff message
Ashley Davis [Thu, 3 May 2018 16:11:13 +0000 (12:11 -0400)]
First person "they" pronouns in logoff message

6 years agoFixed /pth: Consistently treat the hash offset to password length.
Armin Novak [Thu, 3 May 2018 15:49:14 +0000 (17:49 +0200)]
Fixed /pth: Consistently treat the hash offset to password length.

6 years agoFixed mac sound backend initialization.
Armin Novak [Thu, 3 May 2018 14:12:12 +0000 (16:12 +0200)]
Fixed mac sound backend initialization.

6 years agoMerge pull request #4620 from akallabeth/bio_ctrl_fix
Martin Fleisz [Thu, 3 May 2018 11:35:20 +0000 (13:35 +0200)]
Merge pull request #4620 from akallabeth/bio_ctrl_fix

Bio ctrl fix

6 years agoFixed formatting.
Armin Novak [Thu, 3 May 2018 10:25:52 +0000 (12:25 +0200)]
Fixed formatting.