Commit Graph

720 Commits

Author SHA1 Message Date
Armin Novak
b724ba546d [checks,return] fix various unchecked return values 2026-03-03 09:40:27 +01:00
Armin Novak
465a6353d5 [c23,client] replace NULL with nullptr 2026-02-26 15:42:59 +01:00
Armin Novak
e58819830a [c23] simplify boolean checks 2026-02-26 11:51:05 +01:00
Armin Novak
48267edf2f [winpr] add WINPR_C_ARRAY_INIT
since C23 allows c++ style initializing replace direct use with this
macro
2026-02-25 19:23:08 +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
cc1f3c28b3 [c,printf] fix wlog format string to match arguments 2026-01-16 11:40:47 +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
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
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
Alex Iribarren
64f9637fcb Update command line usage for gateway option 2025-11-18 16:01:39 +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
Armin Novak
651de64c88 [client,common] use _strdup 2025-08-18 14:32:09 +02:00
Armin Novak
7b7cc538dd [client,common] fix type mismatch warnings 2025-08-18 14:05:54 +02:00
akallabeth
e8b45fb8dc [client,common] fix tenantid command line parsing 2025-08-13 22:09:27 +02:00
akallabeth
c3e507a82e [winpr,wlog] Replace WLog_PrintMessage calls
Prefer WLog_PrintTextMessage to have proper format string checks in
place.
2025-08-13 15:08:01 +02:00
akallabeth
0206da4b96 [client,common] do not log success
when parsing command line options, do not log success result
2025-08-10 09:29:21 +02:00
Armin Novak
2f617c9e39 [client,common] Unescape /gateway option values
To support escaped characters with /gateway all values are now
unuescaped before use.
2025-07-09 09:56:55 +02:00
akallabeth
40c988e2da [client,common] warn on insecure argument passing
When credentials or other secrets are passed via command line print out
a warning presenting more secure alternatives
2025-06-18 10:16:56 +02:00
akallabeth
6168a7bfd1 [client,common] make all azure settings configurable 2025-06-10 16:30:06 +02:00
akallabeth
8be64a066c [client,common] add documentation for /v: formats
* Add short description of default formats (url, hostname, IPv4, IPv6)
* Add pipe example
* Add socket example
2025-06-03 17:10:37 +02:00
akallabeth
7e11df73ba [client,common] add setting FreeRDP_MonitorOverrideFlags
use this mask to mark monitor settings set from command line.
2025-04-10 08:31:56 +02:00
akallabeth
4fcc44fe72 [client,cmdline] fix rdp2tcp parsing
allow command lines without this channel to succeed as well.
2025-03-20 17:45:47 +01:00
akallabeth
1f26225f69 [client,cmdline] fix rdp2tcp argument passing 2025-03-20 17:31:20 +01:00
Michael Tokarev
19f129654e spelling: dont 2025-03-06 13:24:29 +03:00
Armin Novak
9be8518873 [client,common] fix gateway parameter parsing
Abort if an invalid /gateway:type:xxx parameter was passed.
2025-03-05 14:06:19 +01:00
Thore Sommer
30054052cc [client,cmdline] fix port parsing for gateway 2025-02-25 13:41:48 +01:00
akallabeth
51685ea1bd [client,common] improve parsing of TLS options 2025-02-24 13:31:09 +01:00
akallabeth
4e111874de [client,sdl] mark SDL2 as deprecated.
SDL2 client is a dead end due to lacking API (clipboard support, ...) so
mark the SDL2 client deprecated and point out there is a SDL3 version
available
2025-02-21 09:17:16 +01:00
akallabeth
36c5826f45 [client,warnings] fix -Wunused-parameter for common 2025-02-13 15:54:04 +01:00
akallabeth
9f8ed06f9a [client,cmdling] use a typedef for callback function
typedef freerdp_command_line_handle_option_t to have a common type for
callback functions
2025-02-11 12:21:41 +01:00
akallabeth
a569fc9ea1 [client,common] split freerdp_client_settings_parse_command_line_arguments_int 2025-02-11 11:04:57 +01:00
akallabeth
4538cefd74 [warnings] remove dead code 2025-02-04 14:55:46 +01:00
akallabeth
bbd16d922b [client,cmdline] fix vmconnect checks 2025-01-08 21:05:24 +01:00
akallabeth
6701359cc1 [warnings] fix integer casting
* use WINPR_ASSERTING_INT_CAST where possible
* clean up client code
2024-12-19 12:45:23 +01:00
akallabeth
f25be351b1 [core,gateway] Make tenantid use optional 2024-12-10 15:13:16 +01:00
Armin Novak
f17c1830b7 [aad,avx] improve AzureAD support
* New setting GatewayAzureActiveDirectory to fetch wellknown from
* Clean up command line arguments, rename to make function better
  understandable
2024-12-10 15:12:41 +01:00
akallabeth
9fb721b8be [client,common] add parameters for aad auth 2024-12-10 15:12:34 +01:00
akallabeth
83f2f21ad3 [warnigns] fix lots of bugprone warnings
* update-settings-tests: properly cast types in getter/setter
* wtypes: fix PHANDLE definition
* wStream: fix INT64 write function warnings
* Simplify HANDLE copy in channels, just assign after proper cast
2024-12-06 09:15:48 +01:00
akallabeth
40cbf65dff [cmdline] fix drive parsing 2024-12-06 08:38:18 +01:00
akallabeth
cd1330be80 [client,common] const correct variable declaration 2024-11-22 11:01:01 +01:00
akallabeth
b5f95e0f87 [codespell] fix spelling mistakes 2024-11-21 11:28:06 +01:00
stephanebill
4f2afa8c47 spell check with codespell 2024-11-20 16:53:40 -05:00
akallabeth
78acedb40e [warnigns] fix Wshorten-64-to-32 2024-11-11 10:22:37 +01:00
Martin Fleisz
1520d94d33 Merge pull request #10797 from akallabeth/warn-fixes
Warn fixes
2024-11-07 13:50:51 +01:00
akallabeth
fb3a127d00 [common,cmdline] add new functions
* Add freerdp_client_print_version_ex and
  freerdp_client_print_buildconfig_ex to print version and build
  configuration along with the binary name calling it
* Use these new functions instead of the ones that only print out
  version and/or buildconfig
2024-11-04 09:06:12 +01:00
akallabeth
dc76879e0b [warnings] fix some compiler warnings
* fix compiler warnings found in a lot of places
* add missing enum type for clipboard channel
* mark deallocator for winpr image function
2024-10-30 16:12:20 +01:00
akallabeth
aa954d9be9 [warnings] fix various compiler warnings 2024-10-29 15:49:43 +01:00