Commit Graph

1242 Commits

Author SHA1 Message Date
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
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
Martin Fleisz
c7486fc47b Merge pull request #10801 from akallabeth/cleanups
Cleanups
2024-11-07 13:03:36 +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
ecc84158b7 [client,common] include binary name in client buildconfig 2024-11-04 08:42:13 +01:00
akallabeth
dcf5a8e28c [warnings] fix -Wswitch-default 2024-10-31 11:42:24 +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
akallabeth
f0d0105d50 [client,common] tighten /vmconnect checks
Fixes #5300:
* abort if +/-nego is used, /vmconnect overrides these.
* only set custom port if no /port or /v:host:port is in use allowing
  overriding default port
2024-10-28 09:44:21 +01:00
akallabeth
7ab30a1b18 [client,common] const correct pointer array arguments 2024-10-24 11:32:08 +02:00
akallabeth
1675d926d2 Merge pull request #10776 from akallabeth/packaging-tests
[cmake] split tests
2024-10-24 11:26:17 +02:00
Armin Novak
527db6783b [cmake] split tests
* Keep BUILD_TESTING, but only run tests compatible with API (for
  packaging)
* Add BUILD_TESTING_INTERNAL for all tests including internal function
  tests that modify API to be run on our CI
2024-10-24 09:45:44 +02:00
Armin Novak
d3f8cd3073 [client,common] fix data race 2024-10-23 11:39:29 +02:00
akallabeth
9caf38bbb6 [warnings] unify CommandLineParseCommaSeparatedValues
CommandLineParseCommaSeparatedValues does some internal hack to allow
the allocated char** to be cleaned up by free.
This enforces compiler warnings as the pointer types do not match.
Use a new free function CommandLineParserFree instead
2024-10-22 21:11:58 +02:00