platform/upstream/freerdp.git
5 years agoAdded drivestoredirect option value parser
Armin Novak [Fri, 23 Aug 2019 07:57:26 +0000 (09:57 +0200)]
Added drivestoredirect option value parser

5 years agoMerge pull request #5540 from akallabeth/auto_codec_support
Martin Fleisz [Thu, 22 Aug 2019 15:01:14 +0000 (17:01 +0200)]
Merge pull request #5540 from akallabeth/auto_codec_support

Auto codec support

5 years agoadded BandwidthAutoDetect parsing.
Armin Novak [Thu, 22 Aug 2019 14:00:46 +0000 (16:00 +0200)]
added BandwidthAutoDetect parsing.

5 years agoAutomatically activate GFX and RFX codec support on autodetect.
Armin Novak [Thu, 22 Aug 2019 13:56:10 +0000 (15:56 +0200)]
Automatically activate GFX and RFX codec support on autodetect.

5 years agoAdded winpr version macro (same as freerdp version)
Armin Novak [Thu, 22 Aug 2019 13:54:18 +0000 (15:54 +0200)]
Added winpr version macro (same as freerdp version)

5 years agoMerge pull request #5539 from akallabeth/ssl_warning_fix
Martin Fleisz [Thu, 22 Aug 2019 09:13:30 +0000 (11:13 +0200)]
Merge pull request #5539 from akallabeth/ssl_warning_fix

Fixed type of sk_* macro.

5 years agoFixed type of sk_* macro.
Armin Novak [Thu, 22 Aug 2019 08:40:25 +0000 (10:40 +0200)]
Fixed type of sk_* macro.

5 years agoMerge pull request #5538 from akallabeth/mac_sound_latency
Martin Fleisz [Thu, 22 Aug 2019 08:32:39 +0000 (10:32 +0200)]
Merge pull request #5538 from akallabeth/mac_sound_latency

Added rdpsnd latency calculation.

5 years agoAdded rdpsnd latency calculation.
Armin Novak [Thu, 22 Aug 2019 07:07:33 +0000 (09:07 +0200)]
Added rdpsnd latency calculation.

5 years agoMerge pull request #5537 from akallabeth/win_plugin_path
Martin Fleisz [Wed, 21 Aug 2019 11:44:49 +0000 (13:44 +0200)]
Merge pull request #5537 from akallabeth/win_plugin_path

Setting plugin paths for windows install.

5 years agoSetting plugin paths for windows install.
Armin Novak [Wed, 21 Aug 2019 10:21:12 +0000 (12:21 +0200)]
Setting plugin paths for windows install.

5 years agoMerge pull request #5523 from akallabeth/rdp_parser_null_checks
Martin Fleisz [Tue, 20 Aug 2019 14:50:55 +0000 (16:50 +0200)]
Merge pull request #5523 from akallabeth/rdp_parser_null_checks

Rdp parser null checks

5 years agocore: Fix handling of PromptForCredentials setting
Martin Fleisz [Tue, 20 Aug 2019 12:52:39 +0000 (14:52 +0200)]
core: Fix handling of PromptForCredentials setting

The prompt for credentials setting was incorrectly used in FreeRDP. If
this setting is set to 1 in a rdp file the client should prompt for
credentials even if it has credentials stored for this connection. If
the setting is set to 0 the client should either use the stored
credentials (if present) or ask for username/password otherwise.
This PR changes the old handling (if PromptForCredentials was set to 0
no credential prompting was done) to the desired behavior.

5 years agoclient: proxy: allow passing SOCKS5 proxies as env. vars
Louis Sautier [Mon, 12 Aug 2019 14:57:51 +0000 (16:57 +0200)]
client: proxy: allow passing SOCKS5 proxies as env. vars

5 years agoclient/common: Remove incorrect prompt for creds parsing (#5528)
Martin Fleisz [Tue, 20 Aug 2019 08:07:10 +0000 (10:07 +0200)]
client/common: Remove incorrect prompt for creds parsing (#5528)

"prompt for credentials on client" was incorrectly merged together with
"prompt for credentials" into a single setting. However the first option
determines if the client should prompt for credentials if the remote
server does not support server authentication. "prompt for credentials"
on the other hand determines if the client should use any previously
stored credentials or if it should always prompt for them.

5 years agoMerge pull request #5508 from akallabeth/french_kbd_fix
David Fort [Mon, 19 Aug 2019 21:38:25 +0000 (23:38 +0200)]
Merge pull request #5508 from akallabeth/french_kbd_fix

Fixed #5496: Canadian keyboard mapping issue reported by @renaudn1981

5 years agoserver: proxy: sync cliprdr opening
kubistika [Mon, 19 Aug 2019 13:27:58 +0000 (16:27 +0300)]
server: proxy: sync cliprdr opening

5 years ago(FreeBSD) Build fixes for urbdrc
Kyle Evans [Mon, 19 Aug 2019 14:25:43 +0000 (09:25 -0500)]
(FreeBSD) Build fixes for urbdrc

5 years agoserver: proxy: load proxy clipboard config
kubistika [Mon, 12 Aug 2019 12:11:09 +0000 (15:11 +0300)]
server: proxy: load proxy clipboard config

5 years agoProper parsing of clipboard capability sets.
Armin Novak [Mon, 12 Aug 2019 11:14:46 +0000 (13:14 +0200)]
Proper parsing of clipboard capability sets.

5 years agoClipboard server callback arguments const
Armin Novak [Mon, 12 Aug 2019 07:22:25 +0000 (09:22 +0200)]
Clipboard server callback arguments const

5 years agoserver: proxy: cliprdr support
kubistika [Sun, 4 Aug 2019 14:41:43 +0000 (17:41 +0300)]
server: proxy: cliprdr support

5 years agochannels: cliprdr: server: add autoInitializationSequence
kubistika [Sun, 4 Aug 2019 14:37:56 +0000 (17:37 +0300)]
channels: cliprdr: server: add autoInitializationSequence

5 years agochannels: cliprdr: server: call ClientCapabilities callback
kubistika [Sun, 4 Aug 2019 14:35:41 +0000 (17:35 +0300)]
channels: cliprdr: server: call ClientCapabilities callback

5 years agochannels: cliprdr: add lastRequestedFormatId
kubistika [Sun, 4 Aug 2019 14:32:12 +0000 (17:32 +0300)]
channels: cliprdr: add lastRequestedFormatId

This one is for proxy use. The proxy must know what format is requested by the other side
of the connection, for determining if the message should be passed
or ignore (for example, if we want to allow only text, the proxy must
verify that the requested format received in Format Data Request PDU is
a text format.

5 years agoserver: proxy: pf_context.c: Fix nla crash
kubistika [Tue, 13 Aug 2019 12:06:45 +0000 (15:06 +0300)]
server: proxy: pf_context.c: Fix nla crash

Because the proxy uses freerdp_settings_copy to do re-negotiation after
first connection to remote server, all redirection information
(RedirectionPassword, RedirectionDomain, etc.) pointers were duplicated
(to both client and server settings structs). Then, at disconnection, a
double-free occured.

5 years agolibfreerdp: core: copy redirection info in freerdp_settings_copy
kubistika [Wed, 14 Aug 2019 10:34:12 +0000 (13:34 +0300)]
libfreerdp: core: copy redirection info in freerdp_settings_copy

5 years agoMove FoundCairo module include where is referenced
Antenore Gatta [Wed, 14 Aug 2019 14:39:27 +0000 (16:39 +0200)]
Move FoundCairo module include where is referenced

5 years agoBetter libcairo dependencies handling though cmake
Antenore Gatta [Wed, 14 Aug 2019 13:58:08 +0000 (15:58 +0200)]
Better libcairo dependencies handling though cmake

5 years agoMerge pull request #5524 from akallabeth/winpr_disable_tools
Martin Fleisz [Wed, 14 Aug 2019 13:59:27 +0000 (15:59 +0200)]
Merge pull request #5524 from akallabeth/winpr_disable_tools

Allow build without WinPR tools

5 years agoAllow build without WinPR tools
Armin Novak [Wed, 14 Aug 2019 13:10:00 +0000 (15:10 +0200)]
Allow build without WinPR tools

5 years agoMerge pull request #5510 from akallabeth/mac_realtime_sound
Martin Fleisz [Wed, 14 Aug 2019 10:54:54 +0000 (12:54 +0200)]
Merge pull request #5510 from akallabeth/mac_realtime_sound

Mac realtime sound

5 years agoMerge pull request #5518 from akallabeth/redirect_error_propagation_fix
Martin Fleisz [Wed, 14 Aug 2019 10:54:10 +0000 (12:54 +0200)]
Merge pull request #5518 from akallabeth/redirect_error_propagation_fix

Return a proper error if redirection fails.

5 years agoMerge pull request #5517 from akallabeth/winmm_latency
Martin Fleisz [Wed, 14 Aug 2019 10:48:21 +0000 (12:48 +0200)]
Merge pull request #5517 from akallabeth/winmm_latency

Added proper latency estimation for winmm sound backend.

5 years agoFixed NULL buffer access and alignment warnings.
Armin Novak [Wed, 14 Aug 2019 07:46:47 +0000 (09:46 +0200)]
Fixed NULL buffer access and alignment warnings.

5 years agoserver: proxy: client: before loading client addins, wait for serve's dynvc to be...
kubistika [Tue, 6 Aug 2019 08:49:04 +0000 (11:49 +0300)]
server: proxy: client: before loading client addins, wait for serve's dynvc to be in ready state

5 years agoserver: proxy: client: set glyph support level to NONE
kubistika [Tue, 6 Aug 2019 08:48:26 +0000 (11:48 +0300)]
server: proxy: client: set glyph support level to NONE

5 years agoFix server compile against _WIN32_WINNT=0x601
Armin Novak [Tue, 13 Aug 2019 08:11:33 +0000 (10:11 +0200)]
Fix server compile against _WIN32_WINNT=0x601

5 years agoUse GetSystemTimeAsFileTime to emulate GetTickCount64
Armin Novak [Tue, 13 Aug 2019 07:52:42 +0000 (09:52 +0200)]
Use GetSystemTimeAsFileTime to emulate GetTickCount64

5 years agoAdded proper latency estimation for winmm sound backend.
Armin Novak [Mon, 12 Aug 2019 09:12:21 +0000 (11:12 +0200)]
Added proper latency estimation for winmm sound backend.

5 years agoDo not try to free a colormap that FreeRDP did not create.
rbarnett [Mon, 12 Aug 2019 15:13:14 +0000 (10:13 -0500)]
Do not try to free a colormap that FreeRDP did not create.

5 years agoReturn a proper error if redirection fails.
Armin Novak [Mon, 12 Aug 2019 10:33:06 +0000 (12:33 +0200)]
Return a proper error if redirection fails.

5 years agoConvert input PCM to float format.
Armin Novak [Fri, 2 Aug 2019 12:18:12 +0000 (14:18 +0200)]
Convert input PCM to float format.

5 years agoMerge pull request #5512 from kubistika/proxy/config-loader-refactor
David Fort [Tue, 6 Aug 2019 10:34:05 +0000 (12:34 +0200)]
Merge pull request #5512 from kubistika/proxy/config-loader-refactor

Proxy/config loader refactor

5 years agoMerge pull request #5511 from kubistika/xf-unused-var
David Fort [Mon, 5 Aug 2019 20:19:58 +0000 (22:19 +0200)]
Merge pull request #5511 from kubistika/xf-unused-var

client: xf_channels: remove unused settings variable

5 years agoserver: proxy: print configuration on startup
kubistika [Sun, 4 Aug 2019 07:08:43 +0000 (10:08 +0300)]
server: proxy: print configuration on startup

5 years agoserver: proxy: channels: only open allowed channels
kubistika [Sat, 3 Aug 2019 13:46:20 +0000 (16:46 +0300)]
server: proxy: channels: only open allowed channels

5 years agoserver: proxy: filters: demo: log instead of dropping the connection
kubistika [Sat, 3 Aug 2019 13:45:24 +0000 (16:45 +0300)]
server: proxy: filters: demo: log instead of dropping the connection

5 years agoserver: proxy: filters: make sure filter_init is exported in filters compilation
kubistika [Sat, 3 Aug 2019 13:44:39 +0000 (16:44 +0300)]
server: proxy: filters: make sure filter_init is exported in filters compilation

5 years agoserver: proxy: refactor configuration loader
kubistika [Sat, 3 Aug 2019 13:46:59 +0000 (16:46 +0300)]
server: proxy: refactor configuration loader

5 years agoclient: xf_channels: remove unused settings variable
kubistika [Fri, 2 Aug 2019 17:10:56 +0000 (20:10 +0300)]
client: xf_channels: remove unused settings variable

5 years agoMostly working AVAudio backend.
Armin Novak [Fri, 2 Aug 2019 09:31:37 +0000 (11:31 +0200)]
Mostly working AVAudio backend.

5 years agoserver: proxy: ensure client termination
kubistika [Thu, 1 Aug 2019 14:01:11 +0000 (17:01 +0300)]
server: proxy: ensure client termination

5 years agoserver: proxy: sync server and client channels
kubistika [Thu, 1 Aug 2019 13:55:50 +0000 (16:55 +0300)]
server: proxy: sync server and client channels

when disconnections/redirections occured, sometimes server/client
channels were not synced, meaning that for example the gfx server
received a message, then tried to use gfx client that was already freed.

5 years agoFixed #5496: Canadian keyboard mapping issue reported by @renaudn1981
Armin Novak [Thu, 1 Aug 2019 09:09:57 +0000 (11:09 +0200)]
Fixed #5496: Canadian keyboard mapping issue reported by @renaudn1981

5 years agoMerge pull request #5506 from akallabeth/scale_desktop_and_device
Martin Fleisz [Tue, 30 Jul 2019 10:53:13 +0000 (12:53 +0200)]
Merge pull request #5506 from akallabeth/scale_desktop_and_device

With /scale:<value> scale desktop and device.

5 years agoMerge pull request #5505 from akallabeth/rdp_sound
Martin Fleisz [Tue, 30 Jul 2019 10:53:02 +0000 (12:53 +0200)]
Merge pull request #5505 from akallabeth/rdp_sound

Rdp sound

5 years agoFixed loading of microphone channel
Armin Novak [Tue, 30 Jul 2019 10:30:15 +0000 (12:30 +0200)]
Fixed loading of microphone channel

Ensure microphone channel is loaded if settings require it in freerdp_client_load_addins

5 years agoWith /scale:<value> scale desktop and device.
Armin Novak [Tue, 30 Jul 2019 10:03:23 +0000 (12:03 +0200)]
With /scale:<value> scale desktop and device.

5 years agoMerge pull request #5487 from akallabeth/rdp_parser_cleanup
Martin Fleisz [Tue, 30 Jul 2019 09:58:39 +0000 (11:58 +0200)]
Merge pull request #5487 from akallabeth/rdp_parser_cleanup

Fixed a bunch of conversion warnings.

5 years agoFixed loading of sound channel
Armin Novak [Tue, 30 Jul 2019 07:39:45 +0000 (09:39 +0200)]
Fixed loading of sound channel

Ensure sound channel is loaded if settings require it in freerdp_client_load_addins

5 years agoFixed a bunch of conversion warnings.
Armin Novak [Thu, 18 Jul 2019 11:53:30 +0000 (13:53 +0200)]
Fixed a bunch of conversion warnings.

5 years agoserver: proxy: fix rdpgfx close race
kubistika [Sun, 21 Jul 2019 09:19:26 +0000 (12:19 +0300)]
server: proxy: fix rdpgfx close race

5 years agofix [channels/smartcard]: fix StatusW_Call
Bernhard Miklautz [Wed, 10 Jul 2019 16:36:34 +0000 (18:36 +0200)]
fix [channels/smartcard]: fix StatusW_Call

According to 2.2.2.18 Status_Call cbAtrLen is unused an must be ignored
upon receipt.

5 years agouwac: Only submit dirty buffers
Kenny Levinsen [Thu, 25 Jul 2019 16:56:28 +0000 (18:56 +0200)]
uwac: Only submit dirty buffers

5 years agouwac: Make damage tracking more readable
Kenny Levinsen [Thu, 25 Jul 2019 16:44:25 +0000 (18:44 +0200)]
uwac: Make damage tracking more readable

5 years agouwac: Do not memcpy when we swap drawing buffers
Kenny Levinsen [Thu, 25 Jul 2019 16:17:04 +0000 (18:17 +0200)]
uwac: Do not memcpy when we swap drawing buffers

The compositor only samples rects that we damage (and have therefore
been overwritten). As we are doing damage tracking and reporting,
memcpy of our old drawing buffer serves no purpose.

5 years agouwac: Re-enable damage tracking
Kenny Levinsen [Thu, 25 Jul 2019 12:14:59 +0000 (14:14 +0200)]
uwac: Re-enable damage tracking

5 years agouwac: Do not unconditionally set pendingBuffer on configure
Kenny Levinsen [Thu, 25 Jul 2019 11:53:44 +0000 (13:53 +0200)]
uwac: Do not unconditionally set pendingBuffer on configure

If pendingBuffer is set when it was otherwise NULL, then
UwacWindowSubmitBuffer will forever bail early, waiting for a frame
callback that will never come.

5 years agouwac: Acknowledge xdg_surface configure messages
Kenny Levinsen [Mon, 22 Jul 2019 22:00:47 +0000 (00:00 +0200)]
uwac: Acknowledge xdg_surface configure messages

This is necessary for the surface to have its role configured.

5 years agocommon: Fix parsing of devicestoredirect setting in rdp files
Martin Fleisz [Mon, 29 Jul 2019 14:37:06 +0000 (16:37 +0200)]
common: Fix parsing of devicestoredirect setting in rdp files

If devicestoredirect was found in an rdp file we incorrectly enabled
drive redirection (which has nothing to do with device redirection).

5 years agoMerge pull request #5498 from ligurio/patch-1
Bernhard Miklautz [Mon, 29 Jul 2019 08:07:13 +0000 (10:07 +0200)]
Merge pull request #5498 from ligurio/patch-1

Typo: neigter -> neither

5 years agoMerge pull request #5478 from kubistika/proxy/refactor
Bernhard Miklautz [Fri, 26 Jul 2019 08:36:34 +0000 (10:36 +0200)]
Merge pull request #5478 from kubistika/proxy/refactor

Proxy/refactor

5 years agoMerge pull request #5501 from ligurio/typo
Bernhard Miklautz [Fri, 26 Jul 2019 08:31:32 +0000 (10:31 +0200)]
Merge pull request #5501 from ligurio/typo

Fixed typo: RAW_VERSTION_STRING -> RAW_VERSION_STRING

5 years agoFixed typo: RAW_VERSTION_STRING -> RAW_VERSION_STRING
Sergey Bronnikov [Thu, 25 Jul 2019 13:07:40 +0000 (16:07 +0300)]
Fixed typo: RAW_VERSTION_STRING -> RAW_VERSION_STRING

5 years agoTypo: neigter -> neither
Sergey Bronnikov [Wed, 24 Jul 2019 07:22:05 +0000 (10:22 +0300)]
Typo: neigter -> neither

5 years agoMerge pull request #5480 from akallabeth/xfreerdp_clip_fix
Martin Fleisz [Thu, 18 Jul 2019 10:20:28 +0000 (12:20 +0200)]
Merge pull request #5480 from akallabeth/xfreerdp_clip_fix

Fix broken clipboard after file copy

5 years agoFix rdp file writer
Martin Fleisz [Thu, 18 Jul 2019 08:59:59 +0000 (10:59 +0200)]
Fix rdp file writer

The RDP file writer was based on previously parsed lines from an
existing rdp file. If you created a new rdpFile, populated it from
settings and tried to write it to a file you just got an error. This PR
fixes this issue by creating the data from the rdpFile properties rather
than the parsed lines.

5 years agoReformatting
Martin Fleisz [Wed, 17 Jul 2019 13:48:26 +0000 (15:48 +0200)]
Reformatting

5 years agoMerge pull request #5484 from akallabeth/alternate_full_address
Martin Fleisz [Thu, 18 Jul 2019 08:59:20 +0000 (10:59 +0200)]
Merge pull request #5484 from akallabeth/alternate_full_address

Added alternate full address to rdp file parser.

5 years agoAdded alternate full address to rdp file parser.
Armin Novak [Thu, 18 Jul 2019 07:29:06 +0000 (09:29 +0200)]
Added alternate full address to rdp file parser.

5 years agolibfreerdp: core: fix const correctness of freerdp_settings_clone
kubistika [Wed, 17 Jul 2019 12:51:11 +0000 (15:51 +0300)]
libfreerdp: core: fix const correctness of freerdp_settings_clone

5 years agoFix broken clipboard after file copy
Armin Novak [Wed, 17 Jul 2019 08:10:04 +0000 (10:10 +0200)]
Fix broken clipboard after file copy

5 years agoMerge pull request #5481 from akallabeth/pem_intermediate_fix
Martin Fleisz [Wed, 17 Jul 2019 13:06:28 +0000 (15:06 +0200)]
Merge pull request #5481 from akallabeth/pem_intermediate_fix

Extract whole certificate chain to PEM format.

5 years agoExtract whole certificate chain to PEM format.
Armin Novak [Wed, 17 Jul 2019 12:00:29 +0000 (14:00 +0200)]
Extract whole certificate chain to PEM format.

5 years agoserver: proxy: Add logs, call client->Close to send disconnection ultimatum
kubistika [Tue, 16 Jul 2019 13:19:15 +0000 (16:19 +0300)]
server: proxy: Add logs, call client->Close to send disconnection ultimatum

5 years agoserver: proxy: remove unnecessary function handle_client_disconnection
kubistika [Tue, 16 Jul 2019 13:18:26 +0000 (16:18 +0300)]
server: proxy: remove unnecessary function handle_client_disconnection

5 years agoserver: proxy: adjust log levels
kubistika [Tue, 16 Jul 2019 13:14:38 +0000 (16:14 +0300)]
server: proxy: adjust log levels

5 years agoserver: proxy: set nla fallback flag flag only if NLASecurity is enabled
kubistika [Tue, 16 Jul 2019 13:14:06 +0000 (16:14 +0300)]
server: proxy: set nla fallback flag flag only if NLASecurity is enabled

5 years agoserver: proxy: naming refactor
kubistika [Tue, 16 Jul 2019 13:13:12 +0000 (16:13 +0300)]
server: proxy: naming refactor

5 years agoserver: proxy: remove unnecessary files
kubistika [Tue, 16 Jul 2019 13:08:45 +0000 (16:08 +0300)]
server: proxy: remove unnecessary files

5 years agoserver: proxy: use freerdp_settings_copy
kubistika [Tue, 16 Jul 2019 10:28:14 +0000 (13:28 +0300)]
server: proxy: use freerdp_settings_copy

5 years agolibfreerdp: settings: Fix formatting in freerdp_settings_copy
kubistika [Tue, 16 Jul 2019 10:27:39 +0000 (13:27 +0300)]
libfreerdp: settings: Fix formatting in freerdp_settings_copy

5 years agolibfreerdp: settings: call key_clone in freerdp_settings_copy
kubistika [Tue, 16 Jul 2019 10:27:11 +0000 (13:27 +0300)]
libfreerdp: settings: call key_clone in freerdp_settings_copy

5 years agolibfreerdp: certificate: Add key_clone
kubistika [Tue, 16 Jul 2019 10:26:26 +0000 (13:26 +0300)]
libfreerdp: certificate: Add key_clone

5 years agoAdded freerdp_settings_copy
Armin Novak [Tue, 16 Jul 2019 07:54:31 +0000 (09:54 +0200)]
Added freerdp_settings_copy

5 years agoMerge pull request #5475 from akallabeth/tls_fail_status
Martin Fleisz [Tue, 16 Jul 2019 09:22:14 +0000 (11:22 +0200)]
Merge pull request #5475 from akallabeth/tls_fail_status

Pass on cert validation failure, set freerdp error in all use cases.

5 years agoPass on cert validation failure, set freerdp error in all use cases.
Armin Novak [Mon, 15 Jul 2019 13:51:46 +0000 (15:51 +0200)]
Pass on cert validation failure, set freerdp error in all use cases.

5 years agoMerge pull request #5472 from akallabeth/rdp_parser_fixes
Martin Fleisz [Mon, 15 Jul 2019 11:09:28 +0000 (13:09 +0200)]
Merge pull request #5472 from akallabeth/rdp_parser_fixes

Rdp parser fixes

5 years agoFixed freerdp_client_rdp_file_set_integer standard flag set.
Armin Novak [Mon, 15 Jul 2019 09:08:02 +0000 (11:08 +0200)]
Fixed freerdp_client_rdp_file_set_integer standard flag set.