3194 Commits

Author SHA1 Message Date
akallabeth
92488d5a3c Use freerdp_settings_[s|g]et* api to access proxy vaiables.
Fixes #6414

(cherry picked from commit 44ea09e7ad0123b8486428c1ceaeeb96b5c01d35)
2020-08-05 11:48:39 +02:00
Martin Fleisz
3522179074 Add GatewayMessageType to public API
(cherry picked from commit 174f3257c9213e77663020d0b8a41220889848fd)
2020-08-05 10:59:50 +02:00
Martin Fleisz
c424322be3 Implement gateway message callback for Windows, Wayland and X11 clients
(cherry picked from commit 2fe8e762d2b6765b486513159d18ffd98e267873)
2020-08-05 10:59:50 +02:00
akallabeth
757b4106e6 Updated version information for 2.2.0 release 2020-07-07 10:56:21 +02:00
Armin Novak
894d926a29 Fixed #6335: windows client title length
(cherry picked from commit dfbeeb1e16d61734319dd32d25ee12e8715a1bc1)
2020-07-06 11:14:35 +02:00
akallabeth
6565326bcd Use CMake to detect availability of getlogin_r
(cherry picked from commit 3a5bfd2bd0eee134dbac4a98dcb3ed5227a8c6dc)
2020-07-06 11:13:51 +02:00
Armin Novak
93bed51ae2 Updated versions to 2.1.2 2020-06-22 12:26:08 +02:00
akallabeth
3606dfa921 Replaced getlogin with getlogin_r
(cherry picked from commit 36478d3d0b3d7fa378a875f60170a08e94747226)
2020-06-22 12:12:02 +02:00
akallabeth
4d6a800850 Fixed missing lock during buffer submit.
(cherry picked from commit c902f583d0911c1e8938c5f14f3f257eb9737745)
2020-06-22 09:30:52 +02:00
Bernhard Miklautz
7f2de8419a fix [client channels]: move exported API calls to client/common
The functions mappedGeometryRef and mappedGeometryUnref are API
functions ([1]) but were implemented in the geometry channel.
In case FreeRDP was built with BUILTIN_CHANNELS=OFF those functions
weren't available globally but used by the video channel.

Now the functions are fixed part of the freerdp-client library and
therefore available for all channels.

[1] exported in freerdp/client/geometry.h

Fixes #6236

(cherry picked from commit 1628939227fa82fa492f068f178f0cc0a42c518b)
2020-06-22 09:30:42 +02:00
akallabeth
809a86f0fb Lock wayland buffer updates
(cherry picked from commit 7361f75d11b77f998cf7dee08c8aa619df98754a)
2020-06-22 09:30:15 +02:00
makki_d
0121f726d8 fix +unmap-buttons option having the opposite effect
(cherry picked from commit 4607a2766afd2875696b7b7febd9dc63f778b8d7)
2020-06-16 11:19:41 +02:00
Ondrej Holy
9a7180cf90 wlfreerdp: Fix array overrun
This fixes the following defects reported by covscan tool:
 - client/Wayland/wlf_input.c:251: overrun-local: Overrunning array "contacts" of 10 32-byte elements at element index 10 (byte offset 351) using index "i" (which evaluates to 10).
 - client/Wayland/wlf_input.c:308: overrun-local: Overrunning array "contacts" of 10 32-byte elements at element index 10 (byte offset 351) using index "i" (which evaluates to 10).
 - client/Wayland/wlf_input.c:360: overrun-local: Overrunning array "contacts" of 10 32-byte elements at element index 10 (byte offset 351) using index "i" (which evaluates to 10).
 - client/Wayland/wlf_input.c:251: error[arrayIndexOutOfBounds]: Array 'contacts[10]' accessed at index 10, which is out of bounds.
 - client/Wayland/wlf_input.c:308: error[arrayIndexOutOfBounds]: Array 'contacts[10]' accessed at index 10, which is out of bounds.
 - client/Wayland/wlf_input.c:360: error[arrayIndexOutOfBounds]: Array 'contacts[10]' accessed at index 10, which is out of bounds.
 - client/Wayland/wlf_input.c:246: uninit_use_in_call: Using uninitialized value "y" when calling "wlf_scale_coordinates".
 - client/Wayland/wlf_input.c:246: uninit_use_in_call: Using uninitialized value "x" when calling "wlf_scale_coordinates".

The maximal number of touches can be higher then 10, see:
https://wayland.freedesktop.org/libinput/doc/latest/touchpads.html

Let's increse the MAX_CONTACTS count and add checks to prevent usage of
uninitialized values.

(cherry picked from commit 6ab79961ef09bc0340633319c388b6b7517b1f3d)
2020-06-16 09:08:22 +02:00
Simon Tatham
dc735d3d36 [generate_argument_docbook] Fix typo in XML entity.
The character '>' was being rendered as < instead of >.

(cherry picked from commit 98930bf2759905f2290e5d777f57a79e7589f220)
2020-06-16 09:07:48 +02:00
Armin Novak
ce6f2a271b Fixed #6221: Update floatbar position with multitouch input
(cherry picked from commit 004910ce5d76e114f4f8cfec6429004b26bc4443)
2020-06-16 09:05:31 +02:00
akallabeth
b83f79c3b3 Read newline from stdio on certificate accept
(cherry picked from commit 5b842bc7a78621218b1179923c002d32c41f15fe)
2020-06-16 09:05:01 +02:00
akallabeth
3c33c6e1a2 Prepared version for 2.1.1 2020-05-20 15:55:52 +02:00
akallabeth
8d9464fbc5 Fixed BehaviourSanitizer warning in rdp parser
(cherry picked from commit 771332c04e2dbad964d0cb11a86ff561e792bc35)
2020-05-18 17:10:01 +02:00
Victor K
899df25246 Windows Authentication - Then launced with username argument prefill the name in the authentication box.
(cherry picked from commit 318075676b5ea610b1ba47da600eb418812951cb)
2020-05-18 16:56:03 +02:00
akallabeth
64bec7586d Replaced strtok with strtok_s
(cherry picked from commit 7890833af8a891765a475bd7ae2a756aeddd4977)
2020-05-18 16:56:03 +02:00
akallabeth
dd156de828 Fixed NULL access of context struct on screen draw
Added a log message to fix occurances later on.

(cherry picked from commit cfea3fc6ed01aa33c1a935da42572577ba832feb)
2020-05-18 16:56:03 +02:00
akallabeth
472eece629 Fixed sample client resource cleanup
(cherry picked from commit e716f823115463fc66d94dd6c044ba7c47c43fe1)
2020-05-18 16:56:03 +02:00
akallabeth
2d5ce618bf 2.1.0 release version. 2020-05-08 11:23:05 +02:00
akallabeth
63730ab349 Fixed warning messages for RDP file options
networkautodetect and bandwidthautodetect are both boolean options
which must match each other. Added adequate warnings.

(cherry picked from commit 5f5bf10703276be3ddb0c5d184e078c0a6a857bb)
2020-05-08 11:06:02 +02:00
akallabeth
8b37e7fa11 Fixed primary monitor index for wayland fullscreen 2020-05-08 11:06:02 +02:00
akallabeth
00b5ff301f Fixed clipboard 'called with invalid type' warning 2020-05-05 07:46:10 +02:00
Armin Novak
bc4615e5ed Added expert settings /tune and /tune-list 2020-05-05 07:46:10 +02:00
akallabeth
55ee2cce34 Fixed #6087: Inconsistend scroll on wayland
Thanks to @yol and @SaschaWessel a bug in scroll step conversion
was uncovered. The RDP value ranges are inverted when scrolling
in negative direction.
2020-05-05 07:46:10 +02:00
akallabeth
c0a17eb342 Fixed #6121: Use correct destination color format 2020-05-05 07:46:10 +02:00
Sascha Wessel
fe9a5ae5a9 wlfreerdp/cliprdr: Initialize pointer before use
In `wlf_cliprdr_server_format_data_request()` `ConvertToUnicode()` may return 0
while not allocating memory for `cdata` and not setting `cdata` to a valid
address. In this case, `data` points to a random address.

Settting `cdata` to NULL before calling `ConvertToUnicode()` fixes this issues.
2020-05-05 07:46:09 +02:00
Lukas Fink
c668d66e88 Added ability to add usb devs via id and addr simultaneously
It is now possible to add usb devices both via vid+pid and via bus+addr
at the same time. To do this, the ids are directly
given to the corresponding command line options:
/usb🆔<vid+pids>,addr:<bus+addrs>
The dev option still works like before: /usb:id,dev:<vid+pids> or
/usb:addr,dev:<bus+addrs>
2020-05-05 07:46:09 +02:00
Allan Nordhøy
cf13402baf Spelling fixes for iOS strings 2020-05-05 07:46:09 +02:00
akallabeth
973731824b Fixed #6099: Add a flag for legacy hash entries
If a legacy entry is found in certificate hash store print
additional information to the user informing about the change
with FreeRDP 2.0
2020-04-28 14:03:19 +02:00
akallabeth
ccaad04876 Fix initialization of LargePointer flags
Capability exchange is first reading server capabilities,
mask these with local settings and send only what both support.
2020-04-28 14:03:19 +02:00
David Fort
56ca7a6e3a uwac, wlfreerdp: corrected API for UwacOutput and added monitor listing 2020-04-28 14:03:19 +02:00
akallabeth
216f03c849 Fix #6085: Java string comparison should prefer equals 2020-04-28 14:03:19 +02:00
Allan Nordhøy
64de28cabc Language fixes for aFreeRDP 2020-04-28 14:03:19 +02:00
Allan Nordhøy
ffbe0ae078 Add Norwegian Bokmål translation 2020-04-28 14:03:19 +02:00
Julian Albrecht
ccd7c26ad5 Adds the title options to wlfreerdp 2020-04-28 14:03:19 +02:00
Nathan Loewen
b29bdf5984 Make use of percent scale if available when calculating monitor sizes 2020-04-28 14:03:19 +02:00
akallabeth
29b1429cb6 Made xf_OutputExpose non blocking.
In case xf_OutputExpose is called with GFX or async-update a race
condition occured in combination with dynamic-resolution.
To prevent the deadlock update the screen on a best effort basis.
2020-04-18 10:18:45 +02:00
akallabeth
a4a6b3ef83 Started 2.1 development cycle. 2020-04-10 07:40:04 +02:00
akallabeth
d7795c892b Allow old openssl name in android client. 2020-04-09 10:03:20 +02:00
akallabeth
1c77db0a94 Used default openssl library names. 2020-04-09 10:03:20 +02:00
Martin Fleisz
9223eea61e
Merge pull request #5974 from akallabeth/cmd_avc420_fix
Cmd avc420 fix
2020-04-02 08:41:47 +02:00
akallabeth
9ef1e81c55 Formatted patch. 2020-03-27 14:16:18 +01:00
Julian Albrecht
7ecce5acbe Adds touch support to wlfreerdp 2020-03-27 14:16:18 +01:00
LatinSuD
a6ccd38b68 Free clipboard respond to fix bug
Fixes #5997 (clipboard stops responding in the middle of a session)
2020-03-27 09:13:38 +01:00
Martin Fleisz
ca34fe4c12
Merge pull request #5985 from akallabeth/log_version_debug
Added buildconfig output to debug log level.
2020-03-26 09:55:46 +01:00
Martin Fleisz
43d3f89ce7
Merge pull request #5988 from akallabeth/rdp_parser_leak
Fixed memory leak in rdp file parser.
2020-03-24 12:17:05 +01:00