Commit Graph

24 Commits

Author SHA1 Message Date
akallabeth
aa954d9be9
[warnings] fix various compiler warnings 2024-10-29 15:49:43 +01:00
Armin Novak
98f4a2b022
[client,various] print client specific only on help
do not print if version or other command was run
2024-10-24 09:08:06 +02:00
David Fort
d05c781cd9 sdl3 client: take in account last SDL changes
This patch uses the last changes in the SDL3 clipboard to have that clean separation
between mime type announcement and retrieving the corresponding clipboard data. With
these changes we don't have anymore that spurious notifications where we loose the
clipboard ownership, and also we don't trigger data retrieval by calling functions
like SDL_ClipboardHasText().
2024-10-07 11:48:41 +02:00
akallabeth
47c5070805
Merge pull request #10635 from akallabeth/initialize-variables
Initialize variables
2024-09-30 16:04:20 +02:00
akallabeth
0d8764263f
[client,sdl] eliminate unused variables 2024-09-24 19:45:20 +02:00
akallabeth
26003e59cc
[va_list] initialize with ={0}; 2024-09-24 11:06:18 +02:00
akallabeth
699fc70941
[client,sdl] update to current sdl3-api 2024-09-20 10:19:29 +02:00
Armin Novak
3905ef0b01
[client,sdl] split sdl_client_thread_run
the function can easily be split into three funcions covering a specific
part of the thread loop. Makes the whole thing less complex and easier
to read.
2024-09-18 13:01:46 +02:00
akallabeth
8ef4b2aefa
[client,SDL] move thread cleanup to own function
The cleanup code for the RDP thread of the SDL clients grew quite
complex. Move to a function to reduce complexity and make the main
thread more readable again.
2024-09-18 11:48:35 +02:00
akallabeth
b7601ec755
[client,SDL] remove goto usage, replace with RAII
* use std::uniqe_ptr to clean up malloced strings
* use ScopeGuard to run cleanup code whenever the function is exited
2024-09-18 11:48:35 +02:00
akallabeth
e00661d338
[warnings] fix dead store warnings 2024-09-12 13:29:46 +02:00
akallabeth
9fed64eb0d
[client,SDL] SdlEventUpdateTriggerGuard
Delete copy & move assingment operators
2024-09-11 20:48:39 +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
akallabeth
cbae4155fb
[client,SDL] delete unused copy & move constructors 2024-09-03 12:17:20 +02:00
akallabeth
500495dc00
[warnings] fix SDL3 related issues 2024-08-29 16:03:51 +02:00
akallabeth
49dc431045
[client,sdl] add support for /monitors argument 2024-08-23 14:00:47 +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
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
akallabeth
fc5ed616c7
[client,sdl] fix typo 2024-06-17 09:14:35 +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
cc038ad89b
[client,sdl] merge SDL2 and SDL3 projects 2024-05-16 20:34:11 +02:00