Commit Graph

4885 Commits

Author SHA1 Message Date
Armin Novak
223d589949 [client,sdl] set touch and pen hints
Prefer the touch API events from SDL.
FreeRDP can handle fallback to mouse events fine in case multitouch is
not available, but fails to map mouse events to touch events.
2025-12-17 10:58:53 +01:00
Martin Fleisz
2c559627f7 [client,common]: Fix loading of rdpsnd channel 2025-12-15 15:26:20 +01:00
akallabeth
b160ea80e8 [mingw] fix type incompatibilities
The integer types with MINGW do not always match. Ensure the correct
32bit interger base type is used when passing pointers
2025-12-12 19:09:30 +01:00
akallabeth
44ab77c035 Merge pull request #12055 from akallabeth/sanitize-hostname
[crypto,certificate] sanitize hostnames
2025-12-09 09:01:19 +01:00
akallabeth
e763541d8d [client,common] add vsock:// syntax to help 2025-12-09 08:42:31 +01:00
akallabeth
7973abe51c [client,sdl] rename member variables 2025-12-07 10:09:05 +01:00
akallabeth
266bf0e153 [client,sdl] position active input
When querying for credentials position the selected input field to the
first element not already containing a value.
2025-12-07 08:51:06 +01:00
akallabeth
0f5c53d3e5 [client,common] handle AUTH_RDSTLS separate
The requirements for that authentication type are different, so handle
it not like the rest.
2025-12-07 08:16:16 +01:00
Armin Novak
7ccb5994c0 [c++] replace std::lock_guard with std::scoped_lock 2025-12-03 15:10:56 +01:00
Armin Novak
81bdebdd09 [client,SDL] use freerdp_GetConfigFilePath 2025-12-03 14:21:46 +01:00
Armin Novak
f533089b98 [client,SDL] use CStringPtr to guard allocated C strings 2025-12-03 14:21:46 +01:00
Armin Novak
29f5901e25 [client,SDL] add CStringPtr type
Allows wrapping allocated C strings to automatically free them when no
longer used.
2025-12-03 14:21:40 +01:00
David Fort
0c06dd98e5 Fix inverted ifdef 2025-12-02 07:31:39 +01:00
David Fort
8df50f44b6 Fix remote credential guard channel loading
This patch fixes the loading of the RCG channel. It also adds a guard so the
/remoteGuard cmdline doesn't work if the channel is not built in.
2025-12-01 18:13:05 +01:00
Nathan Pratta Teodosio
b9776e02ee [common,test] Adjust AVC and H264 expectations.
Closes #11950, https://launchpad.net/bugs/2132293.
2025-11-24 12:20:24 +01:00
Alex Iribarren
64f9637fcb Update command line usage for gateway option 2025-11-18 16:01:39 +01:00
akallabeth
5223fd55cb [client,common] fix retry counter
The counter must start at 0 and be incremented afer use
2025-11-13 15:06:30 +01:00
akallabeth
6414d81a58 codespell 2025-11-11 08:48:22 +01:00
akallabeth
4cafbf7944 [client,sdl] sdl2 dialog auth: remove std::move 2025-11-10 09:09:48 +01:00
akallabeth
6c7b798cb5 [client,common] improve multitouch mouse emulation 2025-10-31 09:07:01 +01:00
Armin Novak
24cc3627da [client,x11] deactivate MotionNotify, ButtonPress and ButtonRelease
* If there are XI_* or XI_Raw* events available and activated
* If conditions for relative mouse are met
2025-10-29 14:02:50 +01:00
Armin Novak
00ccc2a1dc [client,x11] use dynamic logger 2025-10-29 13:36:59 +01:00
Armin Novak
3bee94c141 [client,x11] log mouse event types and call stack 2025-10-29 13:36:59 +01:00
Olivier Blin
859df133fc [client,wayland] remove now unused rdpei include
Fixes: d66b165b8e ("[client,common] common touch handling")
2025-10-21 14:27:02 +02:00
Olivier Blin
1a33e4dea3 [client,common] do not attempt to load channels disabled at build time 2025-10-21 14:27:02 +02:00
Olivier Blin
8587684401 [client,common] fix build without client channels 2025-10-21 14:27:02 +02:00
Loïc Yhuel
8bbc31eb53 [client,common] fix build without RDPEI channel
Also fix existing error messages to mention CHANNEL_RDPEI_CLIENT instead of
WITH_CHANNELS to be more specific.
2025-10-21 14:26:18 +02:00
akallabeth
03fc896b7a [client,sdl] fix smart-sizing
the scaling was not applied properly, revert these parts of
ac981843c9
2025-10-19 08:06:07 +02:00
akallabeth
113e6397ce [client,android] fix wrong type of variable 2025-10-19 07:48:04 +02:00
Armin Novak
c7e35d9b81 [client,android] fix command line
adjust to new syntax, fix #11932
2025-10-15 09:15:23 +02:00
akallabeth
14f065617c [timer] fix too short interval
with migrating to freerdp_timer_add the timer values should have been
adjusted to be in ns instead of µs
2025-10-10 17:40:29 +02:00
akallabeth
625376a937 [client,common] adjust settings test results
the change in the rdp file parser changes expected output after rdp file
parsing. Adjust results accordingly
2025-10-03 13:44:50 +02:00
akallabeth
d7c1ce80d9 [client,common] fix parsing of enablerdsaadauth
Only change FreeRDP_AadSecurity and do not touch other options
2025-10-03 13:25:53 +02:00
Armin Novak
c0da27476f [client,common] improve retry handling
* Log each return path
* Correctly apply the returned delay
2025-10-01 09:13:47 +02:00
akallabeth
a5ba33eb68 [client,common] remove useless printf 2025-09-29 11:46:06 +02:00
akallabeth
9677931343 [core,arm] fix domain setting
While AzureAD seems to be required for many setups, some need an empty
domain (or maybe a different all together?)
So only provide a sane default and allow user override.
2025-09-29 10:17:01 +02:00
akallabeth
74648eb3a9 [c,standard] use C99 inline 2025-09-26 11:29:26 +02:00
akallabeth
8377048057 Merge pull request #11889 from akallabeth/target-booting
[core,arm] add TARGET_BOOTING error code
2025-09-26 11:16:09 +02:00
akallabeth
53d63b3120 [core,arm] add TARGET_BOOTING error code
Propagate the error code for a VM still booting to client.
2025-09-26 10:13:46 +02:00
akallabeth
07c2c39972 [client,sdl] set metadata after command line parsing
This allows to apply a user provided /wm-class setting.
2025-09-26 10:11:22 +02:00
akallabeth
571916a40f Merge pull request #11882 from akallabeth/entra-fixes
Entra fixes
2025-09-24 18:07:00 +02:00
akallabeth
5eb9b1e8c7 Merge pull request #11884 from akallabeth/warn-fixes-cast
Warn fixes cast
2025-09-24 14:40:13 +02:00
Armin Novak
da08eb3d75 [client,x11] fix missing prototype
due to X11 type definition conflicts the header can not be included. Add
a function definition to silence warnigns.
2025-09-24 14:31:05 +02:00
Armin Novak
96fb0e5aa8 [client,common] fix test warnings 2025-09-24 14:29:19 +02:00
Armin Novak
1150c888f9 [client,common] fix AAD/RDSTLS rdp file tests
Update the expected authentication methods enabled/disabled
2025-09-24 14:01:15 +02:00
Armin Novak
c5133def8a [client] add prompt for AUTH_RDSTLS
the authentication type uses a fixed domain, so don't query it.
2025-09-24 14:01:12 +02:00
Armin Novak
5bb6e82321 [client,file] enable RDSTLS for entra resources
if enablerdsaadauth is part of a rdp file disable RDP, TLS and NLA and
enable RDSTLS
2025-09-23 16:05:31 +02:00
Armin Novak
45c7df6d61 [core,utils] add auth type AUTH_RDSTLS 2025-09-23 16:05:31 +02:00
Armin Novak
6cfdf9e43e [json] use WINPR_JSON_GetObjectItemCaseSensitive
Prefer usage of case sensitive functions that are faster.
2025-09-23 12:38:23 +02:00
akallabeth
74a3a7695c [cmake,pkg-config] properly set requires fields 2025-09-21 19:07:16 +02:00