Commit Graph

21004 Commits

Author SHA1 Message Date
David Lechevalier
f301e2b222 [channels,drive] Prefer using handle from IRP_CREATE when possible
Windows can query information on a file recently renamed using a
handle created before the rename
2025-03-13 08:43:36 +01:00
akallabeth
f450b30aed Merge pull request #11336 from akallabeth/android-clip-fixes
[client,android] fix clipboard warnings
2025-03-12 21:47:47 +01:00
akallabeth
d485803547 [client,android] fix clipboard warnings 2025-03-12 21:27:19 +01:00
akallabeth
ad084d0f67 Merge pull request #11334 from akallabeth/array-bound-checks
[warnings] improve array bound checks
2025-03-12 20:03:56 +01:00
Armin Novak
64a7b665f6 [codec,region] code cleanup 2025-03-12 19:49:50 +01:00
Armin Novak
c79f080e8d [warnings] improve array bound checks 2025-03-12 15:04:38 +01:00
akallabeth
34576a658d Merge pull request #11327 from akallabeth/tsg-simplify
[core,gateway] unify TSG_PACKET_MSG_RESPONSE
2025-03-12 13:46:05 +01:00
Armin Novak
8fb49b0abe [warnings] fix coverity warnings 2025-03-12 13:44:59 +01:00
Armin Novak
3e6707c443 [warnings] fix issues from ci builder 2025-03-12 12:02:04 +01:00
Armin Novak
9aecba9357 [core,gateway] add trace log for messages sent 2025-03-12 11:23:45 +01:00
akallabeth
7af2343477 [core,gateway] unify TSG_PACKET_MSG_RESPONSE 2025-03-12 11:09:33 +01:00
akallabeth
5d5671aaaa Merge pull request #11325 from akallabeth/warn-fix-win
[warnings] fixed integer casts
2025-03-11 18:10:54 +01:00
akallabeth
1a5ba989e8 [warnings] fixed integer casts 2025-03-11 17:23:58 +01:00
akallabeth
26675c6b88 Merge pull request #11322 from akallabeth/urbdrc-leak
Urbdrc leak fix
2025-03-11 16:02:58 +01:00
akallabeth
1fe0ca41e1 [warnings] fix missing integer casts 2025-03-11 13:20:19 +01:00
akallabeth
85fdbc3b71 [codec,progressive] clamp values instead of assert 2025-03-11 12:35:56 +01:00
akallabeth
c085b6fc4f [core,capabilities] use custom UUID compare 2025-03-11 12:35:54 +01:00
akallabeth
f942eb1743 [client,sdl] fix wrong return type
SDL2 returned int, SDL3 mostly bool
2025-03-11 11:01:17 +01:00
akallabeth
9310e2ebf8 [primitives] use int64_t instead of SSIZE_T as parameter
SSIZE_T is only guaranteed to have -1 defined.
2025-03-11 11:01:13 +01:00
akallabeth
0f8ed55027 [winpr,sync] use separate variable to read 2025-03-11 09:37:13 +01:00
akallabeth
3d9dcaece7 [out-of-bounds] fix oob reads 2025-03-11 09:37:11 +01:00
akallabeth
7e0e62c5ce [null-dereference] fix possible NULL dereference 2025-03-11 09:37:09 +01:00
akallabeth
ca964f7c7d [mkstemp] set umask 2025-03-11 09:37:07 +01:00
akallabeth
2b26cf74e0 [channels,urbdrc] fix possible leak in error branch 2025-03-11 08:59:14 +01:00
akallabeth
0c0aacc67f Merge pull request #11321 from akallabeth/mingw-fix2
Mingw fix2
2025-03-11 08:56:14 +01:00
akallabeth
a6c70383e9 [primitives] rename function pointer types
* Remove __ prefix, reserved identifiers
* Add drop in replacement for compatibility
* Clean up SSE macros
2025-03-10 22:34:33 +01:00
akallabeth
2b53807256 [primitives] fix warnings and restricted use 2025-03-10 22:13:46 +01:00
akallabeth
a59a3e25a2 [client,sdl] do not compile WinMain for mingw builds 2025-03-10 22:13:38 +01:00
akallabeth
bee5205976 Merge pull request #11319 from akallabeth/win-warn-fix
[windows] fix deprecation and int warnings
2025-03-10 21:50:55 +01:00
akallabeth
054275bd5d [warnings] fix sign and narrowing issues 2025-03-10 19:19:28 +01:00
akallabeth
0bb49c94c9 [restrict] unify restrict keyword usage 2025-03-10 18:48:16 +01:00
akallabeth
918f5d5af9 [windows] fix deprecation and int warnings 2025-03-10 17:52:36 +01:00
akallabeth
87896e87d8 [ci,abi] suppress msusb_msconfig_dump const change 2025-03-10 17:42:38 +01:00
akallabeth
30ff7af6e6 Merge pull request #11318 from akallabeth/sdl3-win
[client,sdl] #include <SDL3/SDL_main.h>
2025-03-10 17:04:52 +01:00
akallabeth
75c675aee8 [client,sdl] #include <SDL3/SDL_main.h> 2025-03-10 15:41:07 +01:00
akallabeth
30626cc3ec Merge pull request #11315 from akallabeth/xfreerdp-apple
[client,x11] add apple keyboard fallback
2025-03-10 15:35:45 +01:00
akallabeth
e6a12326f4 Merge pull request #11317 from mfleisz/fix-dynres-setting
Enable dynamic resolution setting by default
2025-03-10 15:35:37 +01:00
Martin Fleisz
3ec89323c8 client: Fix reading/writing of dynamic resolution RDP file setting 2025-03-10 12:48:14 +01:00
Martin Fleisz
db7ac382c1 core: Default display channel to ON
Default dynamic resolution support to enabled as it is specified by the
MS RDP settings here: https://learn.microsoft.com/en-us/azure/virtual-desktop/rdp-properties#dynamic-resolution
2025-03-10 12:45:07 +01:00
akallabeth
7a9fc6889d Merge pull request #11316 from Biswa96/cmake-fix-dll-install
[cmake] Fix DLL install directory
2025-03-10 11:13:31 +01:00
Biswapriyo Nath
b49cb57130 [cmake] Fix DLL install directory
This installs DLL in /bin directory in mingw environment. Previously,
DLL was installed in /lib. Those need to be mentioned explicitly, see
https://cmake.org/cmake/help/latest/command/install.html
2025-03-10 10:13:11 +00:00
akallabeth
de240cfb75 [client,x11] add apple keyboard fallback
Add workaround for missing XkbGetNames on apple devices
2025-03-10 11:11:21 +01:00
akallabeth
433451fbc7 Merge pull request #11314 from akallabeth/tsg-log-improve
[core,gateway] improve rts_read_auth_verifier_with_stub
2025-03-10 09:59:10 +01:00
akallabeth
0b4f2be844 [core,gateway] improve rts_read_auth_verifier_with_stub
* fix logging format string
* allow 0 sized PDU payload
2025-03-10 09:33:31 +01:00
akallabeth
3e60688e0d Merge pull request #11311 from Biswa96/fix-winpr-FileUnknownInformation1
[winpr,nt] Fix incorrect name in FILE_INFORMATION_CLASS
2025-03-10 09:08:15 +01:00
akallabeth
047c7fd1e0 Merge pull request #11308 from akallabeth/urbdrc-cleanups
Urbdrc cleanups
2025-03-10 08:52:36 +01:00
Biswapriyo Nath
27e9c4f951 [winpr,nt] Fix incorrect name in FILE_INFORMATION_CLASS
This renames FileUnknownInformation1 with FileCompletionInformation which is documented in
https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/ne-wdm-_file_information_class
2025-03-09 08:54:44 +00:00
akallabeth
726616c54c [channels,urbdrc] refactor send routines 2025-03-08 19:44:42 +01:00
akallabeth
94cd8b6b2a [channels,urbdrc] add helper functions for shared header 2025-03-07 16:27:41 +01:00
akallabeth
0c25452c59 [channels,urbdrc] msusb const corrections 2025-03-07 16:27:13 +01:00