23067 Commits

Author SHA1 Message Date
Armin Novak
6cebb3e0cd [winpr] fix sign warnings 2026-02-24 16:23:15 +01:00
Armin Novak
9e7aaa9bbc [client,x11] fix debug warnings 2026-02-24 16:23:15 +01:00
Armin Novak
8a24443ed6 [nodiscard] fix wrong attribute position 2026-02-24 16:10:11 +01:00
Armin Novak
a9be86ecfa [winpr,platform] add C23 [[nodiscard]] 2026-02-24 16:10:05 +01:00
Armin Novak
4e4f84d33d [libfreerdp] mark internal functions [[nodiscard]] 2026-02-24 11:54:00 +01:00
Armin Novak
78b09a3ef8 [ci,abi] supporess urbdrc functions
not part of the ABI, so ignore these.
2026-02-24 11:31:58 +01:00
Armin Novak
f14096d468 [channels] mark functions [[nodiscard]] 2026-02-24 11:31:57 +01:00
akallabeth
6598081863 Merge pull request #12326 from akallabeth/server-attr-nodiscard
[server] add WINPR_ATTR_NODISCARD macro
2026-02-24 11:16:27 +01:00
akallabeth
196b659621 Merge pull request #12342 from akallabeth/proxy-no-threadpool
[server,proxy] use default threadpool
2026-02-24 11:15:03 +01:00
akallabeth
b2f325251a [server] add WINPR_ATTR_NODISCARD macro 2026-02-24 11:03:46 +01:00
Armin Novak
15c9fd0300 [client,x11] typedef x11_keysym_scancode_t 2026-02-24 11:03:45 +01:00
Armin Novak
a5751dfe07 [utils,signal] rename header, avoid warnings 2026-02-24 11:03:45 +01:00
akallabeth
1f1750465d Merge pull request #12359 from akallabeth/win-fixes
Windows warning fixes
2026-02-24 09:59:03 +01:00
Armin Novak
514f0f4ce4 [client,windows] fix missing include 2026-02-24 09:39:03 +01:00
Armin Novak
16a8d2bbe5 [utils,signal] fix compiler warnings 2026-02-24 09:38:59 +01:00
akallabeth
6b3e467133 Merge pull request #12358 from akallabeth/win-fixes
[client,windows] register signal handler
2026-02-24 09:35:21 +01:00
Armin Novak
9a1229de37 [client,windows] register signal handler 2026-02-24 09:26:37 +01:00
akallabeth
3f00686780 Merge pull request #12357 from akallabeth/win-fixes
Windows compile warning fixes
2026-02-24 09:17:00 +01:00
Armin Novak
7c0a0c903b [winpr,crypto] use size_t as length for md[45] 2026-02-24 09:05:46 +01:00
Armin Novak
f06c066f0a [channels,printer] fix missing includes and format string 2026-02-24 09:05:46 +01:00
Armin Novak
546908ebeb [utils,signal] fix missing function declaration 2026-02-24 09:05:42 +01:00
akallabeth
86d8bf840d Merge pull request #12340 from akallabeth/smartcard-stop-fix
Smartcard stop fix
2026-02-23 17:06:12 +01:00
akallabeth
82faaeb1d7 Merge pull request #12352 from akallabeth/security
[security] drop 2.x from supported versions
2026-02-23 16:20:53 +01:00
akallabeth
109c06e3f2 Merge pull request #12354 from akallabeth/x11-kbd-sym
X11 kbd sym
2026-02-23 16:19:09 +01:00
Armin Novak
31e1f17f03 [client,x11] sort keyboard lookup lists 2026-02-23 16:15:43 +01:00
tiemio
e9b71caa09 [client,x11] add keysym-based fallback for keyboard mapping
When using X11 forwarding from non-standard X servers (e.g. XQuartz,
Xephyr), the XKB key names reported by the remote server do not match
the expected evdev names, causing all keys to map to RDP_SCANCODE_UNKNOWN.

Add a keysym-to-scancode lookup table as fallback. Unlike XKB key names,
keysyms are standardized across X11 implementations. The fallback only
fills keycodes that remain unmapped after the XKB pass, so standard
setups are unaffected.

Tested with X11 forwarding from Exegol (Docker) via XQuartz on macOS,
and natively on Linux and macOS.

Related to #4215

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 16:15:43 +01:00
akallabeth
3bbd8497e6 Merge pull request #12353 from akallabeth/rdg-channel-response-optional
[core,gateway] parse [MS-TSGU] 2.2.10.5 HTTP_CHANNEL_RESPONSE_OPTIONA…
2026-02-23 12:09:58 +01:00
Armin Novak
55f6827f6d [client,common] filter some error codes from reconnect
Credential and account errors are most likely related to a permanent
error server side. Do not try to reconnect.
2026-02-23 11:55:33 +01:00
Armin Novak
c3c9a723e0 [core,gateway] fix rdg_pkt_type_to_string 2026-02-23 11:28:37 +01:00
Armin Novak
3d8bcd1c71 [core,gateway] parse [MS-TSGU] 2.2.10.5 HTTP_CHANNEL_RESPONSE_OPTIONAL Structure
just to avoid warnings about incompletely parsed packets. Currently
unused as no UDP support is implemented.
2026-02-23 11:10:18 +01:00
Armin Novak
0082b048a9 [security] drop 2.x from supported versions 2026-02-23 10:34:05 +01:00
akallabeth
eef3e85be1 Merge pull request #12350 from akallabeth/sdl-legacy
[client,sdl] fix sdl_Pointer_New
2026-02-23 08:56:51 +01:00
Armin Novak
5f62aa11c1 [client,sdl] fix sdl_Pointer_New
reset ptr->data after free.
2026-02-23 08:52:01 +01:00
akallabeth
ce72584855 Merge pull request #12347 from akallabeth/progressive-fix
[codec,progressive] refine progressive decoding
2026-02-21 17:06:25 +01:00
Armin Novak
1dde0b3eeb [codec,progressive] refine progressive decoding
Refinement of 1a7a4c508c that might
produce glitches.
2026-02-20 17:45:18 +01:00
akallabeth
549febe685 Merge pull request #12345 from akallabeth/proxy-config-fix
Proxy config fix
2026-02-20 15:59:31 +01:00
Armin Novak
9dc3e9fbe4 [server,proxy] clone user/doman/password
add missing elements of struct to copy
2026-02-20 15:32:25 +01:00
Armin Novak
042d0dfd77 [channel,smartcard] fix logging issues 2026-02-20 12:04:57 +01:00
Armin Novak
43f30eb03c [channels,smartcard] refactor channel handling
* Eliminate global sSmartcard instance
* Add logging to device create/init/destroy
* Add logging to context create/destroy
* Do not release context when a device is initialized.
2026-02-20 11:07:49 +01:00
Armin Novak
e6172762aa [server,proxy] use default threadpool
Do not create a threadpool per smartcard channel instance. This is
overkill and does not really improve performance, just wastes resources.
2026-02-20 11:02:34 +01:00
akallabeth
37ace4ddc7 Merge pull request #12338 from akallabeth/winpr-nodiscard-optional
[cmake] Define WINPR_DEFINE_ATTR_NODISCARD
2026-02-20 10:26:04 +01:00
Armin Novak
33a8b879eb [utils,smartcard] stop context thread on cancel all
When cancelling all smartcard context related operations also trigger
smartcard_call_context_signal_stop to terminate all related threads.
2026-02-20 10:04:41 +01:00
Armin Novak
0caa0fb4f6 [client,sdl] make logging less verbose 2026-02-20 10:04:41 +01:00
Armin Novak
98f37bdf8c [channel,urbdrc] fix warnings 2026-02-20 10:04:37 +01:00
Armin Novak
262dade595 [cmake] Define WINPR_DEFINE_ATTR_NODISCARD
* Do not define WINPR_ATTR_NODISCARD if WINPR_DEFINE_ATTR_NODISCARD is
  not defined.
* Define WINPR_DEFINE_ATTR_NODISCARD via CMake to enable this for
  internal use only
2026-02-20 09:01:54 +01:00
akallabeth
6a983751b6 Merge pull request #12336 from akallabeth/urbdrc-select-fix
[channel,usb] fix message parsing and creation
2026-02-19 22:52:30 +01:00
akallabeth
1546f2e32d Merge pull request #12335 from akallabeth/win32-signal
Win32 signal
2026-02-19 22:52:05 +01:00
Armin Novak
e8099c493d [utils,signal] implement windows handlers 2026-02-19 22:27:14 +01:00
Armin Novak
a1ebab4192 [utils,signal] split handlers per platform 2026-02-19 22:27:11 +01:00
akallabeth
aa08548cbe Merge pull request #12334 from akallabeth/x11-leak-fix
[client,x11] fix XGetWindowProperty return handling
2026-02-19 22:23:37 +01:00