Commit Graph

1256 Commits

Author SHA1 Message Date
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
6314e93939 [cmake] drop legacy and unused cmake_policy
Some cmake_policy settings have long been active by default (3.13 is our
current baseline) or simply unused. Due to issues with CMake 4.0 lets
drop them
2025-04-03 08:31:36 +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
akallabeth
14b2dc08eb [client,common] fix rdp parser
freerdp_client_file_string_reset used a return type but did not return
any value.
2025-03-18 17:32:22 +01:00
Martin Fleisz
22ace7e5c6 client: Fix population of string settings in rdp file
When calling `freerdp_client_populate_rdp_file_from_settings` you should
expect that all settings are populated to the rdp file instance. However
certain settings (i.e. cameras to redirect) where only updated if they
had a value but did not reset the setting.

This causes trouble if the file instance was used to load settings,
settings were altered and then populated back to the file instance.
2025-03-18 14:27:26 +01:00
Armin Novak
3e6707c443 [warnings] fix issues from ci builder 2025-03-12 12:02:04 +01:00
Martin Fleisz
3ec89323c8 client: Fix reading/writing of dynamic resolution RDP file setting 2025-03-10 12:48:14 +01:00
Martin Fleisz
87af371f72 [client] Fix writing incorrect type for integer values in RDP file 2025-03-07 09:46:54 +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
Martin Fleisz
f2db1ffe94 client: Move buffer pointer after writing settings 2025-03-05 10:32:06 +01:00
akallabeth
6d541c8691 [warnings] eliminate dead code 2025-03-04 09:53:05 +01:00
akallabeth
031dd16079 [warnings] clean up unused parameter and dead code 2025-03-03 12:08:35 +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
770c0fde54 [client,common] improve docs for /kbd:remap option 2025-02-21 10:49:16 +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
02f59fa3ae [client,file] fix missing NULL check 2025-02-14 13:26:02 +01:00
akallabeth
36c5826f45 [client,warnings] fix -Wunused-parameter for common 2025-02-13 15:54:04 +01:00
Armin Novak
e9fd6a33b6 [client,common] fix rdp file parser 2025-02-12 09:50:56 +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
45bb63652f [client,common] split freerdp_client_write_rdp_file_buffer 2025-02-11 10:14:56 +01:00
akallabeth
00e61074b2 [unused] eliminate unused functions 2025-02-10 09:32:19 +01:00
fossdd
38aebbca64 [client,common] Avoid use of reserved types
__off_t is a internal type of glibc and does not exist on other libc's.
2025-02-07 19:12:04 +01:00
akallabeth
4538cefd74 [warnings] remove dead code 2025-02-04 14:55:46 +01:00
akallabeth
44f5b6c409 [warnings] fix various clang warnings 2025-02-04 11:22:00 +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
df12907099 [client,common] fix leak in client_cli_get_rdsaad_access_token 2024-12-16 14:01:49 +01:00
Armin Novak
16a7378c3c [client,common] improve /printer help 2024-12-11 14:33:54 +01:00
akallabeth
f2f81eaac2 Merge pull request #10944 from akallabeth/cmake-clean-fix
[cmake,configure_file] fix change checks
2024-12-10 16:21:37 +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
f92984b234 [client,aad] use configurable redirection url
Create the redirection URL for AAD auth from the endpoint configuration.
2024-12-10 15:12:36 +01:00
akallabeth
9fb721b8be [client,common] add parameters for aad auth 2024-12-10 15:12:34 +01:00
akallabeth
b2756842b2 [core,aad] fetch wellknown before GetAccessToken
All of the URL we need for AAD authentication are dependent on a tenantid.
Fetch the wellknown file for the desired tenantid from
https://login.microsoftonline.com/{tenantid}/v2.0/.well-known/openid-configuration
and parse as JSON to have them available later on.
2024-12-10 15:12:30 +01:00
akallabeth
787c49bdbe [client,common] fix call of helper binary
use target output directory instead of manually combined path
2024-12-10 15:10:03 +01:00
akallabeth
285a6961fa [client,common] deactivate -fsanitize with helper
when compiling manpage generation helper deactivate -fsanitize options
to avoid link/runtime issues.
2024-12-09 07:31:31 +01:00
akallabeth
ac27fdaada [client,common] fix manpage generation
strip all compile/link flags for the manpage helper tool. This avoids
linking/runtime issues with e.g. ASAN and other such tools used by
nightly builds and others.
2024-12-08 14:15:08 +01:00
akallabeth
344841714c Merge pull request #10844 from akallabeth/cmake-mulitconfig
Cmake multiconfig
2024-12-07 17:43:05 +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
ba8fd2ada5 [cmake] force configuration options
limit multiconfiguration options to supported types
2024-12-05 09:36:23 +01:00
Armin Novak
e12f3fd15a [common,man] eliminate exit() calls 2024-12-04 16:22:28 +01:00
akallabeth
faae38120c [cmake,format] reformat all cmake files 2024-11-27 20:41:48 +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