Commit Graph

1345 Commits

Author SHA1 Message Date
Armin Novak
df64d00a97 [warnings,api] fix -Wunused-result
With marking publid API [[nodiscard]] some problematic error checks in
the core library were uncovered. This commit addresses these
shortcomings.
2026-02-17 11:07:08 +01:00
Armin Novak
f4b0549c5b [client,warnings] properly handle function return 2026-02-16 09:18:38 +01:00
Armin Novak
9ecfb268fe [freerdp,client] mark function pointers [[nodiscard]] 2026-02-16 09:18:35 +01:00
Armin Novak
dac2c20800 [client,common] use application details for messages 2026-02-10 11:20:14 +01:00
akallabeth
fe9a1b0eed [client,sdl] add error checks and logs 2026-01-28 21:31:54 +01:00
akallabeth
495a82c463 [client] mark all WINPR_ATTR_MALLOC also nodiscard 2026-01-26 13:22:28 +01:00
akallabeth
d4ae1a546f [client,common] add FREERDP_TOUCH_CANCEL
* Add flag FREERDP_TOUCH_CANCEL
* Add function freerdp_handle_touch_cancel
2026-01-25 08:56:03 +01:00
akallabeth
ea419300b7 [client,common] fix memory leak in rdpParser
When duplicate lines are found in a RDP file the old entry was not freed
up.
2026-01-23 22:34:11 +01:00
akallabeth
3194bd7023 [client,common] fix /sec: help text
One of rdp|tls|nla|... is required, remove the optional braces.
2026-01-20 14:58:40 +01:00
akallabeth
cc1f3c28b3 [c,printf] fix wlog format string to match arguments 2026-01-16 11:40:47 +01:00
akallabeth
17fb44d508 [c,printf] fix wlog format string to match arguments 2026-01-16 11:40:44 +01:00
akallabeth
88ea351a27 Merge pull request #12115 from akallabeth/rguard-fix
[client,common] fix /remoteGuard
2026-01-09 09:58:01 +01:00
Armin Novak
164dfef442 [warnings] fix signed/unsigned compare warnings 2026-01-09 09:24:19 +01:00
akallabeth
3743a097cf [client,common] fix /remoteGuard
The #ifdef condition was inverted, fix it.
2026-01-09 08:30:59 +01:00
Armin Novak
d006d2eff6 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:36 +01:00
Armin Novak
de00daba43 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:36 +01:00
Armin Novak
71b113ceb0 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:36 +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
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
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
6c7b798cb5 [client,common] improve multitouch mouse emulation 2025-10-31 09:07:01 +01: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
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
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
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
25b5b38d32 [CMake,client] add pkg-config dependencies 2025-09-11 07:17:52 +02:00
akallabeth
142fa5b9ba [client,common] fix TestClientRdpFile 2025-09-01 09:18:50 +02:00
akallabeth
3a34545a75 [sspi,negotiate] improve /auth-pkg-list parsing
* add 'none' keyword to allow disabling all methods, selectively
  enabling by adding
* improve option description
* fix reading of ini file settings
2025-08-29 12:18:20 +02:00
akallabeth
ec9e74f5c8 [client,x11] add global config file support 2025-08-29 10:53:29 +02:00
Armin Novak
4fadd12047 fix clang-tidy warnings 2025-08-20 11:28:18 +02:00