Commit Graph

21298 Commits

Author SHA1 Message Date
Armin Novak
69fcafcaae [ci,abi] suppress shadow_server_command_line_status_print
suppress change of argument to const type
2025-04-14 15:11:38 +02:00
akallabeth
0d6f7241b3 Merge pull request #11499 from akallabeth/touch
rdpei/server: Add optional threaded handling of messages
2025-04-14 14:54:01 +02:00
Pascal Nowack
eb3fdc3a22 rdpei/server: Add optional threaded handling of messages 2025-04-14 14:40:30 +02:00
Armin Novak
55737d1cdd [client,sdl] fix compiler warning 2025-04-14 14:40:27 +02:00
akallabeth
f70ad7d3cb Merge pull request #11498 from akallabeth/scard-log
[utils,smartcard] assert and improve log
2025-04-14 13:57:16 +02:00
Armin Novak
f5435740d4 [utils,smartcard] assert and improve log 2025-04-14 13:56:24 +02:00
akallabeth
a71ce3cc14 Merge pull request #11496 from akallabeth/sdl-unique-mime
[client,sdl] use a GUID to identify the clipboard
2025-04-13 12:11:03 +02:00
akallabeth
f6be69818f [client,sdl] use a GUID to identify the clipboard
Use a clipboard mime type with a GUID to identify the specific FreeRDP
instance. When running multiple clients it might confuse a clipboard
update from another instance with an internal one otherwise.
2025-04-13 09:58:26 +02:00
akallabeth
accfec9a27 Merge pull request #11495 from akallabeth/v4l-cmake
[cmake] simplify v4l detection
2025-04-12 21:49:37 +02:00
akallabeth
79b8793a8f [cmake] simplify v4l detection 2025-04-12 21:26:44 +02:00
akallabeth
58a17876fc Merge pull request #11493 from akallabeth/warn-log
Warn log
2025-04-11 10:52:34 +02:00
akallabeth
b24d13a825 [channels,rdpdr] improve logging
* remove error logging in success path
* downgrade non fatal errror message to warning
2025-04-11 10:16:39 +02:00
akallabeth
6d8d5e3ebe [core,caps] only warn in rdp_write_order_capability_set
warn about inconsistencies between settings and OrderSupport flags but
do not abort.
2025-04-11 10:16:36 +02:00
akallabeth
897012052a Merge pull request #11491 from akallabeth/unwind-ignore
[winpr,utils] ignore _Unwind_Backtrace return
2025-04-11 08:26:18 +02:00
akallabeth
337b70db51 [ci,alt-arch] enable UNWIND support 2025-04-11 08:25:58 +02:00
akallabeth
3805575c58 Merge pull request #11384 from akallabeth/rel-mouse-change
Rel mouse change
2025-04-11 08:21:14 +02:00
akallabeth
cf11b32bd5 Merge pull request #11489 from FreeRDP/timezone-patches-1744347980
[timezones] Update definitions
2025-04-11 08:20:45 +02:00
akallabeth
c97fb38a4f [winpr,utils] ignore _Unwind_Backtrace return
See https://github.com/FreeRDP/FreeRDP/issues/11490
there is no consensus on what the return value should be, so warn but
ignore it. The context might contain a NULL stack trace, but that is
better than not to show anything.
2025-04-11 08:17:01 +02:00
akallabeth
9cd3ffa843 Update timezone definitions 2025-04-11 05:06:20 +00:00
akallabeth
eb951ba392 Merge pull request #11488 from akallabeth/sample-fix
Sample fix
2025-04-10 21:04:52 +02:00
akallabeth
dfdd9f4fe1 [codec,rfx] fix invalid region calculation 2025-04-10 20:46:18 +02:00
akallabeth
f708f90937 [server,sample] implement relative mouse event
* implement callbacks for relative mouse input events
* optimize drawing:
  * only send drawing rectangle for current cursor position (background
    image data) and then the current cursor
2025-04-10 19:47:16 +02:00
akallabeth
25f54d866f [gdi] ignore empty rects in gdi_surface_bits 2025-04-10 19:06:31 +02:00
akallabeth
6af01d9b89 [server,sample] do not wait for channelHandle
If we wait for channelHandle events before calling
WTSVirtualChannelManagerCheckFileDescriptor we will never open the
drdynvc channel.
2025-04-10 19:06:31 +02:00
akallabeth
9b71016286 Merge pull request #11487 from akallabeth/sdl-fixes
[client,sdl] fix orientation update
2025-04-10 19:02:11 +02:00
akallabeth
a978a8124f [client,sdl] fix orientation update
* Properly set display orientation in display update messages
* Unify some conversion functions
2025-04-10 15:06:11 +02:00
akallabeth
4b55f0fb2e Merge pull request #11486 from akallabeth/sdl-clip-update
[client,sdl] fix clipboard updates
2025-04-10 14:24:48 +02:00
akallabeth
da21ac3792 [client,sdl] fix clipboard updates
* Ignore updates for our own data (use a special clipboard format to
  identify these)
2025-04-10 13:25:44 +02:00
akallabeth
710421abdd [api,doc] due to new functions next version is 3.15.0 2025-04-10 09:12:25 +02:00
akallabeth
7f5a3bc352 [server,shadow] sort command line arguments
when printing the help output first sort the COMMAND_LINE_ARGUMENT_A by
argument name.
2025-04-10 09:10:36 +02:00
akallabeth
4b2d65e977 [server,shadow] add option to hide mouse cursor 2025-04-10 09:10:33 +02:00
akallabeth
40b162736c [server,shadow] fix x11_shadow_query_cursor
the coordinates must be clamped to positive values.
2025-04-10 08:48:54 +02:00
akallabeth
9961deb8e6 [core,gcc] ignore RNS_UD_CS_RELATIVE_MOUSE_INPUT
if the RDP protocol version is less than RDP_VERSION_10_12 (0x00080011)
ignore the flag.
2025-04-10 08:48:52 +02:00
akallabeth
04c1c75d63 [client,sdl] only send relative mouse event if no cursor shown 2025-04-10 08:48:50 +02:00
akallabeth
aa816ab92c [client,x11] use rel mouse events only when no cursor set 2025-04-10 08:43:35 +02:00
akallabeth
87683746a5 [server,shadow] implement relative mouse support 2025-04-10 08:43:33 +02:00
akallabeth
7471d11875 Merge pull request #11472 from akallabeth/sdl-disp-update
[client,sdl] refactor display update
2025-04-10 08:36:58 +02:00
akallabeth
7e11df73ba [client,common] add setting FreeRDP_MonitorOverrideFlags
use this mask to mark monitor settings set from command line.
2025-04-10 08:31:56 +02:00
akallabeth
6f8dddd5a9 [client,sdl] make std::queue thread safe 2025-04-10 08:31:52 +02:00
akallabeth
3c354a5f1b [client,sdl] refactor display update 2025-04-10 08:31:45 +02:00
akallabeth
b044fb611c Merge pull request #11484 from mnauw/rdpei_server_fixes
[rdpei/server] fix build and channel init
2025-04-09 23:27:18 +02:00
akallabeth
8d29685f14 Merge pull request #11485 from akallabeth/tsg-fix
[core,gateway] fix string reading for TSG
2025-04-09 22:58:17 +02:00
akallabeth
3890c98c84 [core,gateway] fix string reading for TSG
The MaxCount field might be bigger than what is actually encoded, so
only read the ActualCount elements from the stream.
2025-04-09 22:32:54 +02:00
Mark Nauwelaerts
829b3b86ac [rdpei/server] adjust virtual channel open
... as WTS_CURRENT_SESSION is not accepted by WTSVirtualChannelOpenEx
2025-04-09 21:20:33 +02:00
Mark Nauwelaerts
0be17f3fb7 [rdpei/server] fix error message typo 2025-04-09 21:07:01 +02:00
Mark Nauwelaerts
25e8f72216 [channel,server] use proper define to select include 2025-04-09 21:06:57 +02:00
Martin Fleisz
6f16a093b5 Merge pull request #11481 from akallabeth/pcsc-fixes
[winpr,smartcard] fix SCARD_ATTR_VENDOR_NAME length
2025-04-09 10:41:47 +02:00
Armin Novak
de7d253e79 [utils,smartcard] only check return length if success 2025-04-09 10:22:02 +02:00
Armin Novak
6877cf5d25 [winpr,smartcard] PCSC_SCardGetAttrib support NULL buffer
In case of NULL buffer return success with required length
2025-04-09 10:21:59 +02:00
Armin Novak
462051dfec [winpr,smartcard] fix SCARD_ATTR_DEVICE_FRIENDLY_NAME_[AW]
* Include terminating '\0' in length
* Properly return SCARD_S_SUCCESS if only length is requested
2025-04-09 09:54:17 +02:00