platform/upstream/freerdp.git
5 years agoFixed mac server compile issue.
Armin Novak [Wed, 1 Aug 2018 08:04:00 +0000 (10:04 +0200)]
Fixed mac server compile issue.

5 years agoMerge pull request #4773 from akallabeth/drive_multi_fix
MartinHaimberger [Tue, 31 Jul 2018 11:35:05 +0000 (13:35 +0200)]
Merge pull request #4773 from akallabeth/drive_multi_fix

Remember if drive was added by automout.

5 years agoMerge pull request #4774 from akallabeth/audin_leak_fix
Martin Fleisz [Tue, 31 Jul 2018 09:13:29 +0000 (11:13 +0200)]
Merge pull request #4774 from akallabeth/audin_leak_fix

Fixed leak in audio format processing.

5 years agoMerge pull request #4240 from akallabeth/wl_client_fixes
Martin Fleisz [Tue, 31 Jul 2018 09:03:39 +0000 (11:03 +0200)]
Merge pull request #4240 from akallabeth/wl_client_fixes

Fixed wayland issues.

5 years agoAdded default return value.
Armin Novak [Tue, 31 Jul 2018 08:45:04 +0000 (10:45 +0200)]
Added default return value.

5 years agoFixed leak in audio format processing.
Armin Novak [Tue, 31 Jul 2018 08:33:19 +0000 (10:33 +0200)]
Fixed leak in audio format processing.

5 years agoMerge pull request #4758 from akallabeth/dsp_fix
MartinHaimberger [Tue, 31 Jul 2018 08:22:22 +0000 (10:22 +0200)]
Merge pull request #4758 from akallabeth/dsp_fix

Audio/microphone fixes

5 years agoMerge pull request #4762 from mmattes/issue/4757
akallabeth [Mon, 30 Jul 2018 11:31:32 +0000 (13:31 +0200)]
Merge pull request #4762 from mmattes/issue/4757

Fix for #4757

5 years agoRemoved obsolete winodws path hack.
Armin Novak [Mon, 30 Jul 2018 11:16:45 +0000 (13:16 +0200)]
Removed obsolete winodws path hack.

5 years agoFixed windows automount drive arguments.
Armin Novak [Mon, 30 Jul 2018 10:58:15 +0000 (12:58 +0200)]
Fixed windows automount drive arguments.

5 years agoAdded automount flag for windows and macos implementations.
Armin Novak [Mon, 30 Jul 2018 10:37:19 +0000 (12:37 +0200)]
Added automount flag for windows and macos implementations.

5 years agoRemember if drive was added by automout.
Armin Novak [Mon, 30 Jul 2018 10:31:11 +0000 (12:31 +0200)]
Remember if drive was added by automout.

5 years agoMerge pull request #4741 from akallabeth/find_file_fix
Martin Fleisz [Mon, 30 Jul 2018 10:29:18 +0000 (12:29 +0200)]
Merge pull request #4741 from akallabeth/find_file_fix

Prevent FindFirstFileA from accessing parent directory

5 years agoMerge pull request #4755 from akallabeth/dyn_resize_fix
Martin Fleisz [Mon, 30 Jul 2018 10:28:38 +0000 (12:28 +0200)]
Merge pull request #4755 from akallabeth/dyn_resize_fix

Fixed #4679, #4753 dynamic resizing

5 years agoFixed callback parameter checks.
Armin Novak [Mon, 30 Jul 2018 09:22:11 +0000 (11:22 +0200)]
Fixed callback parameter checks.

5 years agoMerge pull request #4765 from mmattes/fix/double-import-xinput2
akallabeth [Mon, 30 Jul 2018 08:47:34 +0000 (10:47 +0200)]
Merge pull request #4765 from mmattes/fix/double-import-xinput2

Removed double ifdef WITH_XI, XInput2.h already included

5 years agoFixed missing argument checks.
Armin Novak [Mon, 30 Jul 2018 08:46:20 +0000 (10:46 +0200)]
Fixed missing argument checks.

5 years agoMerge pull request #4772 from Mandar-Shinde/master
akallabeth [Mon, 30 Jul 2018 08:37:50 +0000 (10:37 +0200)]
Merge pull request #4772 from Mandar-Shinde/master

macosx: Bring newly launched freerdp window to front

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 agoRemoved double ifdef WITH_XI, XInput2.h already included
Markus Mattes [Tue, 24 Jul 2018 12:03:45 +0000 (14:03 +0200)]
Removed double ifdef WITH_XI, XInput2.h already included

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 agoFix for #4757
Markus Mattes [Sun, 22 Jul 2018 18:00:25 +0000 (20:00 +0200)]
Fix for #4757

6 years agoCode Cleanup
Armin Novak [Thu, 19 Jul 2018 14:21:03 +0000 (16:21 +0200)]
Code Cleanup

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 agoUpdated experimental list.
Armin Novak [Thu, 19 Jul 2018 13:38:44 +0000 (15:38 +0200)]
Updated experimental list.

6 years agoFixed FFMPEG backend: Do not drop samples for package alignment.
Armin Novak [Thu, 19 Jul 2018 13:17:54 +0000 (15:17 +0200)]
Fixed FFMPEG backend: Do not drop samples for package alignment.

6 years agoFixed mixed declaration.
Armin Novak [Thu, 19 Jul 2018 10:20:14 +0000 (12:20 +0200)]
Fixed mixed declaration.

6 years agoFixed winmm backend logging.
Armin Novak [Thu, 19 Jul 2018 09:53:36 +0000 (11:53 +0200)]
Fixed winmm backend logging.

6 years agoFixed opensles compilation errors.
Armin Novak [Thu, 19 Jul 2018 09:46:54 +0000 (11:46 +0200)]
Fixed opensles compilation errors.

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 agoFix #4752: Provide message free function for channel queue.
Armin Novak [Wed, 18 Jul 2018 13:16:50 +0000 (15:16 +0200)]
Fix #4752: Provide message free function for channel queue.

6 years agoFix #4752: Unsubscirbe all PubSub in dynamic channel.
Armin Novak [Wed, 18 Jul 2018 12:29:22 +0000 (14:29 +0200)]
Fix #4752: Unsubscirbe all PubSub in dynamic channel.

6 years agoFixed number of samples returned.
Armin Novak [Wed, 18 Jul 2018 10:33:52 +0000 (12:33 +0200)]
Fixed number of samples returned.

6 years agoFixed DVI_ADPCM mapping.
Armin Novak [Wed, 18 Jul 2018 10:33:39 +0000 (12:33 +0200)]
Fixed DVI_ADPCM mapping.

6 years agoFixed alignment issues.
Armin Novak [Wed, 18 Jul 2018 10:14:37 +0000 (12:14 +0200)]
Fixed alignment issues.

6 years agoFixed #4679, #4753 dynamic resizing
Armin Novak [Wed, 18 Jul 2018 07:31:04 +0000 (09:31 +0200)]
Fixed #4679, #4753 dynamic resizing

Simplified resize logic, do not check before setting current resolution.

6 years agoFixed alsa and pulse backend receive buffer sizes
Armin Novak [Tue, 17 Jul 2018 12:55:19 +0000 (14:55 +0200)]
Fixed alsa and pulse backend receive buffer sizes

6 years agoFixed ima_adpcm encoder bug.
Armin Novak [Tue, 17 Jul 2018 10:57:57 +0000 (12:57 +0200)]
Fixed ima_adpcm encoder bug.

6 years agoUsing dynamic logger again.
Armin Novak [Tue, 17 Jul 2018 08:57:08 +0000 (10:57 +0200)]
Using dynamic logger again.

6 years agoFixed override of stream data in dsp_encode methods.
Armin Novak [Tue, 17 Jul 2018 08:30:35 +0000 (10:30 +0200)]
Fixed override of stream data in dsp_encode methods.

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 agoRemoved debug log messages.
Armin Novak [Wed, 11 Jul 2018 14:37:29 +0000 (16:37 +0200)]
Removed debug log messages.

6 years agoFixed errno reset.
Armin Novak [Wed, 11 Jul 2018 14:27:14 +0000 (16:27 +0200)]
Fixed errno reset.

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 agoFixed pattern detection if path is already a directory.
Armin Novak [Wed, 11 Jul 2018 08:58:37 +0000 (10:58 +0200)]
Fixed pattern detection if path is already a directory.

6 years agoCode cleanups and more logging.
Armin Novak [Wed, 11 Jul 2018 08:53:26 +0000 (10:53 +0200)]
Code cleanups and more logging.

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