akallabeth
1b744c15fe
Merge pull request #12319 from akallabeth/grow-reasonable
...
[allocations] fix growth of preallocated buffers
2026-02-17 15:23:17 +01:00
Armin Novak
118afc0b95
[allocations] fix growth of preallocated buffers
...
* Replace * 2 with * sizeof(WCHAR) for string usages
* Grow streams and other buffers reasonably, e.g. add 128 elements per
try and check for possible overflows
* Add constant postfix to force them to 64bit
2026-02-17 13:54:34 +01:00
Armin Novak
c4a0565342
[client,x11] fix xf_DeleteSurface error branch
2026-02-17 11:10:16 +01:00
Armin Novak
df64d00a97
[warnings,api] fix -Wunused-result
...
With marking publid API [[nodiscard]] some problematic error checks in
the core library were uncovered. This commit addresses these
shortcomings.
2026-02-17 11:07:08 +01:00
Armin Novak
f4b0549c5b
[client,warnings] properly handle function return
2026-02-16 09:18:38 +01:00
Armin Novak
9ecfb268fe
[freerdp,client] mark function pointers [[nodiscard]]
2026-02-16 09:18:35 +01:00
Armin Novak
b4c9ab9e93
[client,x11] apply /size:xx% only once
2026-02-11 09:46:05 +01:00
Armin Novak
ec39fbad59
[client,x11] do not va_end uninitialized list
2026-02-10 15:53:03 +01:00
Armin Novak
2679cf6bf8
[client,x11] refactor headers
...
* Use a forward definition in xf_types.h for xfContext
* Resolve circular dependencies on xfreerdp.h
2026-02-10 11:29:21 +01:00
Armin Novak
d3e8b3b936
[client,x11] lock cache when providing data
2026-02-10 11:26:12 +01:00
Armin Novak
169d358734
[client,x11] destroy XImage on window unmap
...
When unmapping rails window destroy the cached XImage of appWindow
2026-02-10 11:26:08 +01:00
Armin Novak
1994e98442
[client,x11] lock appWindow
...
When using xf_rail_get_window lock the hash talbe until xf_rail_return_window
2026-02-09 18:30:11 +01:00
Armin Novak
b4f0f0a18f
[client,x11] fix xf_rail_window_common cleanup
...
leave the appWindow for later cleanup.
2026-02-09 15:50:19 +01:00
Armin Novak
9362a0bf8d
[client,x11] stringfiy functions for RAILS
2026-02-09 13:39:28 +01:00
Armin Novak
58409406af
[client,X11] fix clipboard update
...
Synchronize channel thread with RDP thread when accessing clipboard
formats
2026-02-09 12:59:00 +01:00
akallabeth
123be8e009
[client,x11] fix orientation setting of rdpMonitor
2026-01-29 22:19:20 +01:00
akallabeth
495a82c463
[client] mark all WINPR_ATTR_MALLOC also nodiscard
2026-01-26 13:22:28 +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
Armin Novak
43e3b862af
[warnings] fix initialization skip warnings
2026-01-21 16:41:26 +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
fb8efd45f2
[c,format] fix format string and review warnings
2026-01-16 13:36:14 +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
Armin Novak
070e2a2ea6
[clang,warnings] fix Wjump-misses-init
2026-01-08 11:32:35 +01:00
Armin Novak
7a682978cf
[clang,warnings] fix Wjump-misses-init
2026-01-08 11:32:35 +01:00
Armin Novak
21823872c1
[clang,warnings] fix Wjump-misses-init
2026-01-08 11:32:35 +01:00
Armin Novak
803c10d32c
[clang,warnings] fix Wjump-misses-init
2026-01-08 11:32:35 +01:00
Armin Novak
0a793bb887
[clang,warnings] fix Wjump-misses-init
2026-01-08 11:32:35 +01:00
Armin Novak
902aee4df1
[c++,compat] rename variables clashing with c++ keywords
2026-01-08 09:24:31 +01:00
Armin Novak
4f52920274
[client,x11] abort session when window is closed
2026-01-07 17:24:16 +01:00
akallabeth
6414d81a58
codespell
2025-11-11 08:48:22 +01:00
Armin Novak
24cc3627da
[client,x11] deactivate MotionNotify, ButtonPress and ButtonRelease
...
* If there are XI_* or XI_Raw* events available and activated
* If conditions for relative mouse are met
2025-10-29 14:02:50 +01:00
Armin Novak
00ccc2a1dc
[client,x11] use dynamic logger
2025-10-29 13:36:59 +01:00
Armin Novak
3bee94c141
[client,x11] log mouse event types and call stack
2025-10-29 13:36:59 +01:00
akallabeth
14f065617c
[timer] fix too short interval
...
with migrating to freerdp_timer_add the timer values should have been
adjusted to be in ns instead of µs
2025-10-10 17:40:29 +02:00
akallabeth
53d63b3120
[core,arm] add TARGET_BOOTING error code
...
Propagate the error code for a VM still booting to client.
2025-09-26 10:13:46 +02:00
akallabeth
5eb9b1e8c7
Merge pull request #11884 from akallabeth/warn-fixes-cast
...
Warn fixes cast
2025-09-24 14:40:13 +02:00
Armin Novak
da08eb3d75
[client,x11] fix missing prototype
...
due to X11 type definition conflicts the header can not be included. Add
a function definition to silence warnigns.
2025-09-24 14:31:05 +02: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
2cf9ceba66
[client,x11] disable output during rail/desktop switch
2025-09-16 16:49:41 +02:00
akallabeth
7e5a76b62b
[client,x11] fix rails to desktop mode switch
...
This allows displaying the dialog when a connection needs confirmation
(e.g. another session already connected)
2025-09-16 16:32:37 +02:00
akallabeth
a1de73364a
[client,x11] stringify x11 error handler call
2025-09-16 16:32:34 +02:00
akallabeth
84e5466f67
[client,x11] fix rails/desktop switch
...
* Add TODO log entries for (non)monitored desktop messages
* Enable/disable RAILS mode according to these messages
2025-09-16 11:41:58 +02:00
akallabeth
1a492b8a3d
[client,sdl] update manpage
...
reflect SDL_KeyModMask changes in manpage.
2025-09-15 09:11:19 +02:00
akallabeth
ec9e74f5c8
[client,x11] add global config file support
2025-08-29 10:53:29 +02:00
akallabeth
97409eda62
[client,x11] fix resize race
...
Fixes #11802 , ensure that the update routine does not do updates as long
as the resize is in progress.
2025-08-22 09:24:52 +02:00
akallabeth
2f03cd37a9
[client,x11] log x11 display events
2025-08-21 13:18:58 +02:00