60 Commits

Author SHA1 Message Date
Armin Novak
465a6353d5 [c23,client] replace NULL with nullptr 2026-02-26 15:42:59 +01:00
Armin Novak
fd9d199fd5 [client,sdl] use bounds checking vector accessors 2026-02-10 19:27:48 +01:00
akallabeth
4c15ec1b99 [client,sdl] add nodiscard to functions 2026-01-27 15:22:17 +01:00
Armin Novak
81bdebdd09 [client,SDL] use freerdp_GetConfigFilePath 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
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
1a492b8a3d [client,sdl] update manpage
reflect SDL_KeyModMask changes in manpage.
2025-09-15 09:11:19 +02:00
akallabeth
fa71856627 [client,sdl] fix global config evaluation
* fix recursive calls, split getters
* fix fallback to system configuration in case user configuration does
  not provide a key
2025-08-29 11:18:18 +02:00
akallabeth
fc1af9a87a [client,sdl] add global config file for SDL clients 2025-08-29 10:53:32 +02:00
akallabeth
ded07fa31e [client,man] improve manpages (see #11357) 2025-06-16 11:56:06 +02:00
akallabeth
6168a7bfd1 [client,common] make all azure settings configurable 2025-06-10 16:30:06 +02:00
akallabeth
b2b2952510 [client,sdl] simplify webview build 2025-06-03 21:09:05 +02:00
akallabeth
a769ac3441 [client,sdl] add metadata to binary 2025-06-03 19:30:07 +02:00
akallabeth
4f4c3e6366 [client,sdl] use new JSON config reader 2025-05-26 19:36:40 +02:00
akallabeth
80a499a4db [client,sdl] build webview without docs/tests/examples 2025-05-15 10:03:37 +02:00
Armin Novak
30c2744151 [ci,nighty] update deb/rpm scripts to package webview
the ci builder does not allow downloading of external sources, so bundle
the webview beforehand.
2025-05-14 10:01:43 +02:00
akallabeth
d67ef1fb6f [cmake,sdl] remove redundant variable 2025-05-13 09:08:47 +02:00
akallabeth
5f173e7f37 [client,sdl] drop support for qt webview
* The implementation is lacking (blocking Qt main loop)
* Just too many dependencies that are pulled in
2025-05-05 17:58:46 +02:00
akallabeth
f013785548 [client,sdl] use FetchContent for webview 2025-05-05 17:58:44 +02:00
akallabeth
dde00a3646 [cmake] group project targes 2025-04-07 11:09:41 +02:00
Armin Novak
9a1f455e02 [client,sdl] fix constructor and keyword consistency 2025-03-19 19:00:07 +01:00
akallabeth
3551459e2c sdl-common 2025-03-06 16:22:15 +01:00
akallabeth
86a21d461e [client,warnings] fix -Wunused-parameter for SDL 2025-02-13 15:54:01 +01:00
akallabeth
4c7aa61cda [client,sdl] use auto for c++ variables 2024-12-10 15:15:37 +01:00
akallabeth
aac83e4449 [client,sdl] check rdpSettings and wellknown for NULL 2024-12-10 15:12:43 +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
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
d780a0705c [client,SDL] fix resource template file 2024-12-08 21:39:28 +01:00
akallabeth
ba8fd2ada5 [cmake] force configuration options
limit multiconfiguration options to supported types
2024-12-05 09:36:23 +01:00
akallabeth
faae38120c [cmake,format] reformat all cmake files 2024-11-27 20:41:48 +01:00
akallabeth
a3aa01214c [resource root] unify locations
unify resource locations in case WITH_BINARY_VERSIONING is set.
2024-10-25 11:40:40 +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
c3a5387187 [manpages] switch generation to pure CMake
* Ditch docbook/xmlto, use plain manpage files
* Add CMake functions to concatenate manpate sections
* Modify generate_argument_manpage helper tool to generate manpage
2024-10-09 21:41:14 +02:00
Martin Fleisz
966ddd13df Merge pull request #10694 from akallabeth/qa-fixes
Qa fixes
2024-10-03 13:09:06 +02:00
akallabeth
cfc37caeb8 [cmake] cleaning_configure_file
add a wrapper to automatically add generated files to clean target
2024-10-02 23:28:08 +02:00
akallabeth
8d64d75aa2 [client,SDL] fix clang-diagnostic-global-constructors 2024-10-01 13:05:20 +02:00
akallabeth
47c5070805 Merge pull request #10635 from akallabeth/initialize-variables
Initialize variables
2024-09-30 16:04:20 +02:00
akallabeth
fe590801a1 [cmake] replace custom file2hex tool
Use CMake to read file and convert to C array of hex values
2024-09-30 10:50:36 +02:00
akallabeth
26003e59cc [va_list] initialize with ={0}; 2024-09-24 11:06:18 +02:00
akallabeth
84719a4d83 [client,sdl] fix class constructors and operators
delete unused move/copy constructors and operators
2024-09-18 23:33:50 +02:00
akallabeth
ed2c5e9a5b [client,sdl] add scope guard
add a class wrapping a cleanup function called when the class instance
is out of scope. useful to clean up C resources in a lambda function
2024-09-18 11:48:34 +02:00
akallabeth
2175428df5 [client,SDL] default webview to off
The AAD webview is currently not working as expected, disable until
resolved.
2024-09-11 22:23:33 +02:00
akallabeth
eec69bde0f [client,sdl] fix c++ string find, use char overload 2024-09-11 20:50:14 +02:00
akallabeth
d93d9765b3 [client,sdl] add minimize shortcut 2024-09-10 12:28:36 +02:00
akallabeth
8b92e17e60 modernize includes 2024-09-04 22:00:12 +02:00
akallabeth
baa70d1ab6 [warnings] fix compare integers of different signs 2024-09-03 15:10:46 +02:00
akallabeth
ceae258e37 [warnings] fix clang-tidy issues in clients 2024-08-29 15:34:27 +02:00
Armin Novak
d71af44bb1 [warnings] disable warnings for generated code
* Disable clang-tidy in test build directories
* Disable compiler warnings for test binary directories.

These contain generated code we can not change, so the warnings are just noise
2024-08-28 09:18:30 +02:00
akallabeth
56d660f258 [cmake] mark dependency includes SYSTEM
Mark all dependency include paths SYSTEM so warnings from system headers
are excluded from ci warning statistics
2024-08-26 11:10:49 +02:00
akallabeth
46bced61fb [cmake] fix cross compilation
helper utilities are now compiled on host only
2024-07-02 13:24:38 +02:00