Commit Graph

3299 Commits

Author SHA1 Message Date
Armin Novak
cce52d2cc1 Updated version to 2.9.0 2022-11-16 15:06:20 +01:00
Armin Novak
30a056835f [client,x11] Fixed #8397: Clamp scaled cursor sizes
If a cursor is scaled, ensure the result size is at least 1x1 pixel
wide.

(cherry picked from commit 0ebc468d12)
2022-11-16 15:06:20 +01:00
Armin Novak
36247e3a48 Updated version to 2.8.1 2022-10-12 12:21:22 +02:00
James Fu
f1807e6a1c Send resize on window state change
(cherry picked from commit abbd1cd380)
2022-10-07 10:53:13 +02:00
Armin Novak
114fdfc4b9 Fix #8176: Check fullscreen state and not setting
Timer based dynamic resolution updates are disabled in fullscreen
state. Check current value and not (permanent) setting

(cherry picked from commit a47dcd3705)
2022-10-07 10:53:13 +02:00
Bernhard Miklautz
e3fc97feb5
Release 2.8.0 (#8096) 2022-07-28 15:12:43 +02:00
Siva Gudivada
7a2215fd40
Backport TLS1.2 enforcement and version control from master to stable2.0 (#8094)
* Add a new command line arg to enforce tls1.2

* Add better explanation of FreeRDP_EnforceTLSv1_2

(cherry picked from commit ce2e3ab0c7)

* Regenerated settings helpers

* backport prev cherry-pick

* Cleanup tls_prepare

* TLS version control

* added settings for minimal and maximal TLS versions supported
* refactorisation of the force TLSv1.2 setting

* cleanup from prev cherry-pick

* updated change log

Co-authored-by: akallabeth <akallabeth@posteo.net>
Co-authored-by: David Véron <david.veron@rubycat.eu>
2022-07-28 14:12:12 +02:00
Armin Novak
88c09ff697 Fixed xf_Pointer_GetCursorForCurrentScale double free 2022-07-07 15:07:15 +00:00
Pascal Nowack
28d968a4d6 client/X11: Relieve CLIPRDR filename restriction when possible
Microsoft Windows imposes strict filename restrictions on its platform.
As RDP is developed by Microsoft and the RDS in MS Windows is typically
used as remote desktop server for the RDP protocol, these filename
restrictions are also enforced in WinPR, when copy-pasting files over
the clipboard.
However, in some connections no peer on MS Windows is involved and in
these situations, these filename restrictions are just an annoyance.

With a recent API addition in WinPR, it is now possible to override the
callback, where the filename is checked, whether it is valid.
So, use this new API to relieve the filename restriction, when the
connected remote desktop server is not on MS Windows.
2022-07-07 13:47:25 +00:00
akallabeth
e535601d27 Updated pointer debug log messages
(cherry picked from commit 73251193c2)
2022-07-04 16:15:09 +02:00
akallabeth
ecb04b781a Update scaled pointer on FocusIn
(cherry picked from commit 5f0d4fb9f7)
2022-07-04 16:15:09 +02:00
akallabeth
cbafee032f Fixed xf_Pointer_GetCursorForCurrentScale check
(cherry picked from commit a993db8e59)
2022-07-04 16:15:09 +02:00
akallabeth
a4c86723a3 Unifiy string append functions
(cherry picked from commit f25261e271)
2022-06-29 14:42:22 +02:00
akallabeth
430a1ef7bd Removed recursive xf_lock_x11 warning
(cherry picked from commit 298d32164c)
2022-05-31 11:02:10 +02:00
akallabeth
0220ccdf39 Updated gradle 2022-05-13 12:56:18 +02:00
akallabeth
51e39d34d3 Remove android version from freeRDPCore 2022-05-13 12:56:18 +02:00
akallabeth
7f35f29546 Fixed compilation warnings 2022-05-13 12:56:18 +02:00
akallabeth
f1efd1cacd Android auto version code
(cherry picked from commit 6b7e1679cc)
2022-05-13 12:56:18 +02:00
2fly2
b8be481a56 fix moving a window shrinks it 14x7 when connect to server 2019
Signed-off-by: 2fly2 <wjatchd@163.com>
(cherry picked from commit e1e2eef4e1)
2022-05-08 09:39:51 +02:00
akallabeth
dfd5abc42b Follow up to #7832: Add NULL checks
(cherry picked from commit 8b9ab80ef4)
2022-04-27 23:29:48 +02:00
2fly2
b5dbe5f14d fix restore a maximized window when it is minimized
Signed-off-by: 2fly2 <wjatchd@163.com>
(cherry picked from commit ee8cf9e023)
2022-04-27 18:32:13 +02:00
Guillaume Démurgé
396ed987d1 Added app_id on wayland client
(cherry picked from commit eaae90998c)
2022-04-27 08:16:49 +02:00
Armin Novak
40ee5d3bcc Updated for 2.7.0 release 2022-04-25 15:04:48 +02:00
2fly2
4308d8e91e fix x11 black RAIL window when connect to server 2019
Signed-off-by: 2fly2 <wjatchd@163.com>
(cherry picked from commit cb66a4c0df)
2022-04-22 11:06:44 +02:00
Armin Novak
0f9efe1972 Fixed /gt:xxx settings
* Disable websocket support with RPC
* Use settings getter/setter

(cherry picked from commit 882b91d986)
2022-04-19 15:00:28 +02:00
Kazuki Oikawa
572c63a9f1 Supports 10bit X11 color (BGRX32 only)
(cherry picked from commit 8a86a4e8d9)
2022-04-19 08:54:32 +02:00
Armin Novak
2008751c04 Replaced WINPR_ASSERT defines, use include 2022-03-28 12:08:51 +02:00
Armin Novak
baf35cece9 Implemented #4341: Default to /network:auto
If no arguments are supplied, default to the behaviour of
/network:auto. This ensures the default experience is using the
best available graphics options.
As soon as any /network, /bpp, /rfx, /gfx, ... argument is used
only use these.

(cherry picked from commit d3168a1436)
2022-03-09 16:19:34 +01:00
Armin Novak
658a72980f Abort autoreconnect if a user cancel action was triggered.
(cherry picked from commit 15e7647f20)
2022-03-07 15:24:08 +01:00
Armin Novak
5e4347681d Changelog & version 2022-03-07 15:24:08 +01:00
akallabeth
de805f8565 Decreased logging verbosity for INFO level
(cherry picked from commit e6b0373859)
2022-03-03 10:52:00 +01:00
Armin Novak
9e497c22a9 Updated chanelog and version 2022-02-22 12:41:11 +01:00
akallabeth
409ed441c1 Make mac native client build configuratble
(cherry picked from commit 32e01fe652)
2022-02-17 10:06:06 +00:00
Armin Novak
a633ae3532 Fixed #7636: GetStringUTFLength requires jstring argument
(cherry picked from commit f46f48dcd6)
2022-02-14 09:21:41 +00:00
Armin Novak
d807f6dbbc Added better way to check for H264 support
* Added a function that actually tests, if H264 is working.

(cherry picked from commit 95db33af44)
2022-01-26 12:38:11 +01:00
akallabeth
00900c5cbb Updated version and changelog. 2022-01-26 12:10:47 +01:00
akallabeth
6ea43d1d73 Increased required android version to 6.0 (API 23)
There are library loader issues with OpenSSL below that API version.
(Undefined symbols most likely due to versioning mismatches of the
OpenSSL build)
2022-01-26 12:10:47 +01:00
akallabeth
3e3e1f0293 Skip library version from android glue library 2022-01-26 12:10:47 +01:00
akallabeth
12357dbe81 Fixed build tool version
(cherry picked from commit abcc0fcf9e)
2022-01-26 12:10:47 +01:00
akallabeth
e586bace21 Fixed #7541: maximum resolution, removed unused strings
(cherry picked from commit 29f2e52618)
2022-01-26 12:10:47 +01:00
akallabeth
1cfd658545 Updated build tools
(cherry picked from commit 4f451fe617)
2022-01-26 12:10:47 +01:00
akallabeth
f703947f56 Updated android build dependencies
(cherry picked from commit aa89d01af4)
2022-01-26 12:10:47 +01:00
akallabeth
de95335701 Added support for getpwuid_r, replaced duplicate code
* Use GetUserNameExA to get current user name when required.
* Add support for getpwuid_r if available

(cherry picked from commit 8a155db877)
2022-01-25 15:34:15 +01:00
Armin Novak
fd4876a087 Updated changelog 2022-01-12 09:30:05 +01:00
Armin Novak
569bee2161 Fixed leaks and type mismatches for wayland client
(cherry picked from commit 366c893d2a)
2022-01-11 11:45:01 +01:00
Armin Novak
4fb4652117 Fixed #7529: Adjust windows client update area
When scrollbars are used, the update area needs to be adjusted.

(cherry picked from commit be5ace1123)
2022-01-10 13:12:04 +01:00
Ely Ronnen
3a842a6383 fixing android pointer not initialized when calling realloc
(cherry picked from commit 4053ac37f3)
2021-11-29 08:18:25 +01:00
akallabeth
ada22bc925 Incremented android build version. 2021-11-05 14:57:11 +01:00
akallabeth
d39a7ba5c3
Stable 2.0 backports (#7366)
* Fixed typo in changelog

* Fix FIPS mode support and build with OpenSSL 3.0

FreeRDP fails to build with OpenSSL 3.0 because of usage of the `FIPS_mode`
and `FIPS_mode_set` functions, which were removed there. Just a note that
the FIPS mode is not supported by OpenSSL 1.1.* although the mentioned
functions are still there (see https://wiki.openssl.org/index.php/FIPS_modules).
Let's make FreeRDP build with OpenSSL 3.0 and fix the FIPS mode support.

See: https://bugzilla.redhat.com/show_bug.cgi?id=1952937
(cherry picked from commit 26bf2816c3)

* winpr: avoid calling FIPS_mode() with OpenSSL 3.0

Fixes: 26bf2816c3
(cherry picked from commit 0c81c73c8d)

* winpr/crypto: Load legacy provider to fix rc4 with OpenSSL 3.0 (#7210)

* winpr/crypto: Exit cleanly when EVP_EncryptInit_ex fails

The `EVP_EncryptInit_ex` function may fail in certain configurations.
Consequently, FreeRDP segfaults in `EVP_CIPHER_CTX_set_key_length`.
Let's handle the `EVP_EncryptInit_ex` failures and exit cleanly in
such case.

* winpr/crypto: Load legacy provider to fix rc4 with OpenSSL 3.0

Currently, the `EVP_EncryptInit_ex` function fails for rc4 with OpenSSL 3.0.
This is becuase rc4 is provided by the legacy provider which is not loaded
by default. Let's explicitly load the legacy provider to make FreeRDP work
with OpenSSL 3.0.

Relates: https://github.com/openssl/openssl/issues/14392
Fixes: https://github.com/FreeRDP/FreeRDP/issues/6604
(cherry picked from commit 67f3fff2c8)

Conflicts:
	winpr/libwinpr/crypto/cipher.c

* Fix TestUnicodeConversion on big endian machines (#7219)

Wide character literals are stored in native byte order.
Use an array of bytes as a reference instead.

Fixes: https://github.com/FreeRDP/FreeRDP/issues/6968
(cherry picked from commit 5208a67ea7)

* Fixed async-input quit

* Fix data write on usb channel

* Bitmap update fix (#7349)

* Added checks for bitmap width and heigth values

Data received from the server might have invalid values for bitmap
with or height. Abort parsing if such a value is found.
Reported by Sunglin from the Knownsec 404 team & 0103 sec team

* Added checks for glyph width & height

* Fixed #7363: Length checks in ConvertUTF8toUTF16

(cherry picked from commit 623a77258a)

* Implemented missing TSG debug functions

(cherry picked from commit c06c463806)

* Refactored RPC gateway parser

Utilize wStream instead of custom binary parsing code, add proper
input validation.
Reported by Sunglin from the Knownsec 404 team & 0103 sec team

(cherry picked from commit f0b44da67c)

* Replaced chmod with safer fchmod

* Use fchmod so the file may not change underneath
* Add unit tests for SetFileAttributesA
* Add warning logs for unsupported flags

(cherry picked from commit c8571dd5fd)

* Updated changelog and version

* Added more explicit warning for deprecated command line

* Add exit codes for more errors

(cherry picked from commit aa4c3dfb8a)

* Updated changelog.

Co-authored-by: Ondrej Holy <oholy@redhat.com>
Co-authored-by: Mike Gilbert <floppym@gentoo.org>
Co-authored-by: Ondrej Holy <ondrejholy@users.noreply.github.com>
Co-authored-by: Ian Weir <mr.weir@me.com>
2021-10-21 08:30:50 +02:00
Armin Novak
301d84c62e Fixed async-input quit 2021-08-24 13:44:53 +02:00