akallabeth
eec69bde0f
[client,sdl] fix c++ string find, use char overload
2024-09-11 20:50:14 +02:00
akallabeth
9fed64eb0d
[client,SDL] SdlEventUpdateTriggerGuard
...
Delete copy & move assingment operators
2024-09-11 20:48:39 +02:00
akallabeth
edf6ab89f7
[warnings] fix dead store
2024-09-10 14:43:11 +02:00
akallabeth
189abc73f3
[client,sdl] fix missing field initializer warnings
2024-09-10 14:42:42 +02:00
akallabeth
2a641aa834
[client,sdl3] update to new API
2024-09-10 12:46:27 +02:00
akallabeth
d93d9765b3
[client,sdl] add minimize shortcut
2024-09-10 12:28:36 +02:00
David Fort
3a9a820092
sdl3: fix build with last version of SDL3
2024-09-05 14:57:11 +02:00
akallabeth
8b92e17e60
modernize includes
2024-09-04 22:00:12 +02:00
akallabeth
5e123735fa
[warnings] fixed sign-compare
2024-09-04 10:14:05 +02:00
akallabeth
baa70d1ab6
[warnings] fix compare integers of different signs
2024-09-03 15:10:46 +02:00
akallabeth
5a4a1a40ad
fix declaration and implementation parameter names
2024-09-03 12:24:53 +02:00
akallabeth
cbae4155fb
[client,SDL] delete unused copy & move constructors
2024-09-03 12:17:20 +02:00
akallabeth
bd637c6cd1
[warnings] fix various clang-tidy warnings
2024-08-29 17:13:50 +02:00
akallabeth
500495dc00
[warnings] fix SDL3 related issues
2024-08-29 16:03:51 +02:00
akallabeth
ceae258e37
[warnings] fix clang-tidy issues in clients
2024-08-29 15:34:27 +02:00
akallabeth
1d33095500
[warnings] fix cert-err33-c
...
Fix unused return values, cast to void if on purpose
2024-08-29 10:19: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
49dc431045
[client,sdl] add support for /monitors argument
2024-08-23 14:00:47 +02:00
akallabeth
37008506c2
[client,sdl] remove tab from dialog messages
2024-08-20 13:31:41 +02:00
akallabeth
39e8c077d4
[client,sdl] improve VerifyCertificate message
...
* Use FreeRDP_CertificateCallbackPreferPEM for callbacks
* Add notBefore and notAfter dates to callback messages
2024-08-20 12:42:51 +02:00
David Fort
4e6f7fb989
[sdl3] fix build against last SDL3
2024-08-12 11:50:02 +02:00
Armin Novak
44b07721ec
[client,X11] fix ActionScript
...
* Unify script calls
* Update documentation
* Fix home directory
2024-07-25 09:42:03 +02:00
akallabeth
e72bec8441
[client,SDL] fix thread termination order
...
* Wait in SDL thread until RDP thread has terminated to avoid race
conditions during autoreconnect
* Fix exit code mappings in case the connection was cancelled
2024-07-19 09:10:32 +02:00
akallabeth
b0320d8068
[client,SDL] fix autoreconnect
...
retry on handle check failure, not if WaitForMultipleObjects fails
2024-07-18 15:31:24 +02:00
Armin Novak
d3efbe004d
[client,x11,sdl] fix manpage generation
...
* fix name of xfreerdp manpages
* fix name of sdl-freerdp manpages
2024-07-04 12:11:26 +02:00
akallabeth
46bced61fb
[cmake] fix cross compilation
...
helper utilities are now compiled on host only
2024-07-02 13:24:38 +02:00
akallabeth
4099bd4e45
[warnings] integer casts/checks
2024-07-02 12:38:00 +02:00
akallabeth
95eefc7fb8
[client,sdl] add_scheme_handler stub for windows
2024-07-02 08:31:51 +02:00
akallabeth
fc5ed616c7
[client,sdl] fix typo
2024-06-17 09:14:35 +02:00
akallabeth
711a6603f2
Merge pull request #10267 from akallabeth/sdl-fix
...
[client,SDL2] fix renderer height
2024-06-08 09:43:00 +02:00
akallabeth
221a442270
[client,sdl] keep hotkey state of keyboard grab
...
keep the keyboard grab state from:
1. +/-grab-keyboard command line as default
2. toggle this state by hotkey later on
2024-06-08 09:30:28 +02:00
akallabeth
a6abca5e89
[client,SDL2] fix renderer height
2024-06-08 09:08:49 +02:00
akallabeth
04e3fe0b06
[client,sdl] update manpages
...
* Respect default configuration directory depending on
WITH_FULL_CONFIG_PATH
* Unify manpage files for SDL2 and SDL3
2024-06-06 11:42:09 +02:00
akallabeth
7aa72a7507
[core,settings] unify configuration paths
...
* Add new function freerdp_settings_get_config_path to get current
user configuration directory
* Add CMake option WITH_FULL_CONFIG_PATH (default OFF): If defined, use
<appdata>/Vendor/Product as config directory, otherwise use
<appdata>/vendor (lowercase, only if vendor equal to product)
2024-06-06 11:31:22 +02:00
akallabeth
ad83ba2088
[client,sdl3] fix typo in variable
2024-06-06 11:31:12 +02:00
Armin Novak
cedc631b3e
[client,SDL] add windows WebView2 link
...
Add a CMake script to download and link WebView2 for SDL client
2024-06-05 13:52:10 +02:00
akallabeth
42f1da7132
[client,SDL] add webkit2gtk4.1 support
2024-06-04 12:55:34 +02:00
akallabeth
cdc8d62108
[client,sdl] move parsing of hotkeys to constructor
...
* implement that for SDL3 just like for SDL2
* rename members to conform to style of file
2024-06-03 11:05:07 +02:00
Michael Tokarev
f8cb7d86f6
SDL2: sdl_kbd: parse keyboard config once instead of at each keypress
...
Currently, sdl-freerdp.json file is parsed at every keypress, which
is just wrong. Instead, parse it at startup and remember the key
configuration for the whole session.
The same should be done for SDL3 I guess.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2024-05-30 11:53:48 +03:00
akallabeth
3261598d42
[client,sdl] guard USE_COMPILED_RESOURCES
...
functions only required with USE_COMPILED_RESOURCES should not be
compiled if the option is not set.
2024-05-25 09:17:20 +02:00
akallabeth
06598da910
[client,sdl] fix resourcemanager
...
due to moving to a static class the C++ initializer did no longer work.
add explicit calls for initializers to ensure the generated classes are
referenced.
2024-05-24 09:46:07 +02:00
akallabeth
2efcf1c436
[client,sdl] Use SDL_CreateWindowAndRenderer
...
Recommendated in https://github.com/libsdl-org/SDL/issues/9076
2024-05-24 08:59:10 +02:00
akallabeth
e72f634fba
[client,sdl] automatically use detected SDL
...
* Automatically enable detected SDL version
* Abort if no SDL version is detected
2024-05-16 23:07:07 +02:00
akallabeth
ff772084e6
[client,sdl] add assignmen and move operator delete
2024-05-16 20:50:07 +02:00
akallabeth
cc038ad89b
[client,sdl] merge SDL2 and SDL3 projects
2024-05-16 20:34:11 +02:00
akallabeth
8281186a6d
[client,sdl] create a copy for SDL3
...
* Copy SDL2 client to SDL3 as the new version is not API compatible
* Move existing SDL2 client to SDL2 directory
* Move fonts from SDL client to resources folder in top level directory
2024-05-16 18:27:11 +02:00
Ondrej Holy
3f97fb59ad
[client,sdl] add test case for SDL prefs
...
Let's add test case for SDL prefs functionality. This is to test the
JSON wrapper to ensure it doesn't break something.
2024-05-16 16:51:44 +02:00
akallabeth
632f500f3e
[client,sdl] refactor SdlPref
...
* Wrap in class
* Allow overriding default configuration file for tests
2024-05-16 15:37:22 +02:00
Ondrej Holy
945c496812
[client,sdl] use WITH_WINPR_JSON instead of WINPR_JSON_FOUND
...
The WINPR_JSON_FOUND macro is never defined currently. Consequently,
the SDL prefs always use the fallback implementation. Let's use the
WITH_WINPR_JSON instead to really parse the sdl-freerdp.json file.
2024-05-16 11:56:17 +02:00