Commit Graph

18124 Commits

Author SHA1 Message Date
Armin Novak
6e1bb4e1c3 [channels,gfx] default reply to cache import offer
by default we do not use the cache, so reply with 0 imported messages by default.
can be overridden by server implementations, but provides a sane default
if not.
2023-12-20 11:26:54 +01:00
Armin Novak
7ba84737ba [client,sdl] wrap sdl windows in c++ class
use RAII for SDL window creation/destruction by wrapping it in
SdlWindow constructor/destructor
2023-12-20 11:24:31 +01:00
Armin Novak
2b3d6dbe7b [ci,nightly] fix fedora dependencies
allow ffmpeg-devel or ffmpeg-free-devel
2023-12-20 11:22:58 +01:00
Armin Novak
3b3389227f [ci,nightly] 2023-12-20 11:22:58 +01:00
Armin Novak
b02d4a81b5 [core,update] reset invalid regions at BeginPaint
The client must handle graphics updates in EndPaint.
If we already reached BeginPaint again reset the invalidated regions
as they are already processed and start anew. Fixes #9672
2023-12-20 09:28:53 +01:00
Armin Novak
65da185275 [client,sdl] respect -decorations
Disable window borders if requested, fixes #9673
2023-12-20 09:27:39 +01:00
Armin Novak
a7eeb8e1ba [cmake] simplify manpage generation 2023-12-20 09:21:31 +01:00
Armin Novak
4dc7399fbc deactivate man pages on windows 2023-12-20 09:21:31 +01:00
Pascal Nowack
966ad9777e cmake: Fix man page generation
Archlinux has used this patch for three years already to fix the man
page generation. Cherry-pick it to include the fix upstream too.

See also: https://bugs.archlinux.org/task/64814

Co-authored-by: David Runge <dvzrv@archlinux.org>
2023-12-20 09:21:31 +01:00
Armin Novak
000f32d48a [client,x11] rename project to binary 2023-12-20 09:21:31 +01:00
Armin Novak
c064d54cb1 [client,sdl] add manpage 2023-12-20 09:21:31 +01:00
Armin Novak
07d7d35731 [server,proxy] add manpage 2023-12-20 09:21:31 +01:00
Armin Novak
a446c53ef3 [freerdp,proxy] add version command 2023-12-20 09:21:31 +01:00
Armin Novak
8df97272b7 [client,sdl] correctly handle AuthenticateEx 2023-12-20 09:07:35 +01:00
Armin Novak
0af308c1b5 [core,test] adjust TestConnect timeouts
when run on qemu systems for alternate architectures we need to lower
our speed expectations and increase the failure timeouts
2023-12-20 09:03:58 +01:00
Armin Novak
ac629faef0 [cmake] set preload verbose makefile 2023-12-20 09:03:58 +01:00
Armin Novak
f9a4bd44ba [codec,test] better error logging for progressive 2023-12-20 09:03:58 +01:00
Armin Novak
ab9462151e [cmake] deactivate WITH_SSE and WITH_NEON by default
the SIMDI extensions are hard to reliably detect, so deactivate by
default and let the distributor enable them.
2023-12-20 09:03:58 +01:00
Armin Novak
5b0ee107bf [winpr,crt] fix wcstok_s 2023-12-20 09:03:58 +01:00
Armin Novak
9575f386cd fixed WCHAR constants, use endian safe definitions 2023-12-20 09:03:58 +01:00
Armin Novak
28e5167435 [unicode] fix definition of _wcschr search char 2023-12-20 09:03:58 +01:00
Armin Novak
da49127a78 [unicode] remove obsolete bigendian defines 2023-12-20 09:03:58 +01:00
Armin Novak
10e3942993 [primitives] skip benchmarking if only one available 2023-12-20 07:27:43 +01:00
Armin Novak
3735440166 [server,shadow] force relative mouse disabled
Since we do not implement the required callbacks ensure we do not send
the capability for it to connecting clients.
2023-12-19 21:26:46 +01:00
Armin Novak
8613613913 [client,common] fix relative mouse event detect
Only send relative mouse events, if the client explicitely enabled them,
the calling function is reporting the events as relative and the server
announced support for it.
2023-12-19 21:26:46 +01:00
Armin Novak
198774c035 [compat,libressl] fix compilation issues 2023-12-19 20:44:39 +01:00
Armin Novak
2f6cf5809c [ci,rpm] disable build-id, update dependencies
see https://stackoverflow.com/questions/2777737/how-to-set-the-rpmbuild-destination-folder
2023-12-19 17:00:13 +01:00
David Fort
8d461f40ab [build] fix some warnings 2023-12-19 16:34:41 +01:00
David Fort
4e97cc4dbe [build] fix build without AINPUT channel
If the option was disabled, it was not building.
2023-12-19 16:34:41 +01:00
Marc-André Moreau
6fbd447342 migrate to mbedtls 3.x with mbedtls 2.x backward compatibility 2023-12-19 11:34:24 +01:00
Joan Torres
2079455eec [proxy,modules] allow compiling with old c++ compiler
For dyn-channel-dump.

On C++17 there's the filesystem standard library.
Newer c++ compilers use it with <filesystem>.
However, older c++ compilers use it with <experimental/filesystem>.
2023-12-18 14:11:37 +01:00
Nicolas Höft
396e13a928 [client,sdl] Do not disable compositing on Linux
This can be overridden by setting the environment variable
SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR=1
2023-12-16 20:57:53 +01:00
Armin Novak
736658a2d1 [server,shadow] fix missing set NULL after free 2023-12-15 23:21:37 +01:00
David Fort
6a31820363 [core] allow to specify the hostname used for AAD
The previous code was assuming that the host name used for doing AAD was
ServerHostname parameter. But when you connect directly to Azure hosts you most
likely connect by IP and use short name for the AAD host, so you need to be able
to give ServerHostname=<IP of host> and AadServerHostname=<shortname>.
2023-12-15 14:37:15 +01:00
Armin Novak
ed4c1e1685 [client,sdl] unify dialog result wait 2023-12-15 09:11:33 +01:00
Armin Novak
f4bc5e69c2 [client,sdl] handle smartcard logon dialog error 2023-12-15 09:11:33 +01:00
Armin Novak
749da7eefc [client,sdl] add smartcard chooser dialog 2023-12-15 09:11:33 +01:00
st0ne77
8dc01cebb0 [client,sdl] propagate error from auth dialog 2023-12-15 09:11:33 +01:00
Armin Novak
f791cf6308 [proxy,modules] explicitly build shared libraries
The proxy modules must always be shared libraries. To have the proper
system extension, use keyword SHARED instead of MOUDLE
2023-12-14 14:05:39 +01:00
Armin Novak
36137a00e2 [build,mac] fix rpath of libs and binaries 2023-12-14 14:05:39 +01:00
Armin Novak
e69cbb0930 [build,mac] build with default lib/bin location
* first build with default locations (works around buggy libraries)
* then remove files that can not be deactivated to be build
* at last move all files to final destination
2023-12-14 14:05:39 +01:00
Armin Novak
9506d269ec [build,mac] fix artifacts and RPATH
* Remove static libraries from bundle
* Fix RPATH for broken library locations
2023-12-14 14:05:39 +01:00
Armin Novak
35697c0292 [client,x11] fix segfault due to wrong print function 2023-12-14 14:05:39 +01:00
Armin Novak
da15f0f89a [build,mac] enable ffmpeg build 2023-12-14 14:05:39 +01:00
Armin Novak
05786f4763 [build,mac] add faac to build 2023-12-14 14:05:39 +01:00
Armin Novak
9b7fa92521 [libfreerdp] prefer opus CMake file over pkg-config 2023-12-14 14:05:39 +01:00
Armin Novak
e355b64059 [build,mac] add faad2 to build 2023-12-14 14:05:39 +01:00
Armin Novak
b3858c9274 [build,mac] add opus to bundle 2023-12-14 14:05:39 +01:00
Armin Novak
2208402b0d [build,mac] add build script arguments 2023-12-14 14:05:39 +01:00
Armin Novak
459c57ae2e [build.mac] ignore /Library and ~/Library 2023-12-14 14:05:39 +01:00