5046 Commits

Author SHA1 Message Date
akallabeth
7f434db04a [client,sdl] use SdlContext scaling functions 2026-01-27 15:22:32 +01:00
akallabeth
c6b104cce0 [client,sdl] wrap mouse cursor move in SdlContext 2026-01-27 15:22:31 +01:00
akallabeth
2e7639d903 [client,sdl] add coordinat conversion functions
* pixel to screen mapper
* screen to pixel mapper
* local scaling add/remove for smart-sizing
2026-01-27 15:22:30 +01:00
akallabeth
02a9d61182 [client,sdl] remove unused channel function definitions 2026-01-27 15:22:28 +01:00
akallabeth
e3d3bc363c [client,sdl] add util stringify functions 2026-01-27 15:22:27 +01:00
akallabeth
7258c77838 [client,sdl] fix local scaled drawing
* Add scaling factor to drawing routines
* Update local scaling on each draw
2026-01-27 15:22:25 +01:00
akallabeth
842624f25a [client,sdl] check function return in dialogs 2026-01-27 15:22:24 +01:00
akallabeth
1ce038c12b [client,sdl] unify stringification functions 2026-01-27 15:22:23 +01:00
akallabeth
abdedab33c [client,sdl] encapsulate and unify event handling
* move event handling to SdlContext
* name functions similar
2026-01-27 15:22:22 +01:00
akallabeth
49ddfe65f9 [client,sdl] add toString methods for various types
* unify and add toString methods for types
* add missing event types
2026-01-27 15:22:21 +01:00
akallabeth
743e1a6799 [client,sdl] add new SdlWindow members
* get orientation of window on display
* get window size (in logical size)
2026-01-27 15:22:20 +01:00
akallabeth
2bbe3310ba [warnings] fix compiler and clang-tidy issues 2026-01-27 15:22:18 +01:00
akallabeth
4c15ec1b99 [client,sdl] add nodiscard to functions 2026-01-27 15:22:17 +01:00
akallabeth
845ef25997 [client,sdl] fix unused return warnings 2026-01-27 15:22:15 +01:00
akallabeth
caffbab7d4 [client,sdl] fix display channel updates
* always send updates if enabled and a monitor setting changed
* properly handle window and display updates
2026-01-27 15:22:14 +01:00
akallabeth
636590374a [client,sdl] mark functions nodiscard
* mark all SDL client functions nodiscard to emit warnings if the return
  is not properly checked
* refactor some member functions, move implementation from header to
  source
2026-01-27 15:22:13 +01:00
akallabeth
2fe15703b3 [client,sdl] split SdlContext to separate files 2026-01-27 15:22:12 +01:00
akallabeth
5f8c0a86d9 [client,sdl] encapsulate window class 2026-01-27 15:22:11 +01:00
akallabeth
f183b1d258 [client,sdl] add utils functions
* Add HighDpiScaleMode platformScaleMode(): get the platform specific
  high dpi hangling type
* Move and rename sdl exit codes to separate namespace
* mark all functions [[nodiscard]]
2026-01-27 15:22:10 +01:00
akallabeth
af48763b9a [client,sdl] simplify sdl thread startup 2026-01-27 15:22:08 +01:00
akallabeth
076a8386a6 Merge pull request #12186 from akallabeth/error-handling-fixes
Error handling fixes
2026-01-26 17:05:19 +01:00
akallabeth
495a82c463 [client] mark all WINPR_ATTR_MALLOC also nodiscard 2026-01-26 13:22:28 +01:00
akallabeth
c42ecbd183 [client,sdl] reset pointer after memory release 2026-01-26 11:26:48 +01:00
akallabeth
6673e8a86f [core,utils] add freerdp_input_touch_state_string
* Add freerdp_input_touch_state_string
* Remove duplicate from xfreerdp
2026-01-25 09:00:03 +01:00
akallabeth
d4ae1a546f [client,common] add FREERDP_TOUCH_CANCEL
* Add flag FREERDP_TOUCH_CANCEL
* Add function freerdp_handle_touch_cancel
2026-01-25 08:56:03 +01:00
akallabeth
ea419300b7 [client,common] fix memory leak in rdpParser
When duplicate lines are found in a RDP file the old entry was not freed
up.
2026-01-23 22:34:11 +01:00
Armin Novak
43e3b862af [warnings] fix initialization skip warnings 2026-01-21 16:41:26 +01:00
akallabeth
3194bd7023 [client,common] fix /sec: help text
One of rdp|tls|nla|... is required, remove the optional braces.
2026-01-20 14:58:40 +01:00
akallabeth
84d3d99338 [clang-tidy] clean up code warnings 2026-01-19 13:05:26 +01:00
akallabeth
0421b53fcb [client,x11] fix double free in case of invalid pointer 2026-01-19 08:53:12 +01:00
akallabeth
e02a55d434 [client,android] fix client build warnings 2026-01-16 14:32:29 +01:00
akallabeth
fb8efd45f2 [c,format] fix format string and review warnings 2026-01-16 13:36:14 +01:00
akallabeth
93952b87c3 [warnings,format] fix format string warnings 2026-01-16 13:22:45 +01:00
akallabeth
7d8c61931b [c,printf] fix wlog format string to match arguments 2026-01-16 12:08:07 +01:00
akallabeth
cc1f3c28b3 [c,printf] fix wlog format string to match arguments 2026-01-16 11:40:47 +01:00
akallabeth
17fb44d508 [c,printf] fix wlog format string to match arguments 2026-01-16 11:40:44 +01:00
akallabeth
c19ba43a82 [c,printf] fix wlog format string to match arguments 2026-01-16 11:40:41 +01:00
akallabeth
884887deb1 [c,printf] fix wlog format string to match arguments 2026-01-16 11:40:39 +01:00
akallabeth
82f958cd9f [c,printf] fix wlog format string to match arguments 2026-01-16 11:40:37 +01:00
akallabeth
f07c6880f6 [c,printf] fix wlog format string to match arguments 2026-01-16 11:40:34 +01:00
akallabeth
9964f8669d [client,sdl] modernize code 2026-01-15 13:45:36 +01:00
akallabeth
90de9735d9 [client,sdl] fix monitor resolution
When using /multimon with a single monitor the monitor resolution was
not correctly calculated.
2026-01-14 16:20:36 +01:00
akallabeth
f9db76873b [client,sdl] fix compiler warnings 2026-01-13 10:27:38 +01:00
akallabeth
c1b9f1a530 [client,sdl] fix +workarea
actually apply properties if given on command line
2026-01-13 09:31:32 +01:00
akallabeth
88ea351a27 Merge pull request #12115 from akallabeth/rguard-fix
[client,common] fix /remoteGuard
2026-01-09 09:58:01 +01:00
Armin Novak
164dfef442 [warnings] fix signed/unsigned compare warnings 2026-01-09 09:24:19 +01:00
akallabeth
3743a097cf [client,common] fix /remoteGuard
The #ifdef condition was inverted, fix it.
2026-01-09 08:30:59 +01:00
Armin Novak
d006d2eff6 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:36 +01:00
Armin Novak
de00daba43 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:36 +01:00
Armin Novak
71b113ceb0 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:36 +01:00