Commit Graph

3008 Commits

Author SHA1 Message Date
akallabeth
7f68447de9 [channels,rdpsnd] fix android build warnings 2025-02-22 19:36:01 +01:00
akallabeth
12764b1ebe [warnings,android] fix build warnings 2025-02-22 15:22:01 +01:00
akallabeth
feba8c0902 Merge pull request #11213 from akallabeth/cmake-fix
[cmake] fix missing include
2025-02-18 20:28:50 +01:00
akallabeth
bd1c781b88 [warnings] address new warnings on ci 2025-02-18 20:06:35 +01:00
akallabeth
856dd96312 [channel,rdpdr] support general caps V1
[MS-RDPEFS] 2.2.2.7.1 General Capability Set (GENERAL_CAPS_SET) requires
that the SpecialTypeDeviceCap element is not available if the version is
GENERAL_CAPABILITY_VERSION_01
2025-02-18 18:40:01 +01:00
oleg0421
7e7a65becd [channel,rdpecam] uvc_h264 fix for C922 camera 2025-02-17 17:45:39 -08:00
akallabeth
d5c488f479 [channel,rdpecam] better logging 2025-02-17 06:57:24 +01:00
akallabeth
28ff8c9538 [channel,urbdrc] fix urbdrc_udevman_register_devices
* properly check return values
* return proper error codes
2025-02-17 04:35:35 +01:00
akallabeth
2b7d7356c1 [channels,warnings] fix -Wunused-parameter 2025-02-13 15:53:56 +01:00
Armin Novak
0e006e31fe [warnings] fix sign conversion 2025-02-12 12:52:29 +01:00
akallabeth
f71a588172 [channel,urbdrc] fix libusb return code checks 2025-02-11 09:01:56 +01:00
oleg0421
2ac2caf6fc [channel,rdpecam] uvc_h264 xu_descriptor pointer fix 2025-02-10 22:08:35 -08:00
akallabeth
4013b3132b [clang,tidy] fix sign warnings 2025-02-10 13:11:16 +01:00
akallabeth
0f8d54d566 [channels,rdpecam] fix sign warning 2025-02-10 12:39:44 +01:00
akallabeth
d27935cbcf Merge pull request #11132 from oleg0421/rdpecam_uvc_h264
[channel,rdpecam] support Logitech UVC H.264 stream mux payload
2025-02-10 11:50:31 +01:00
akallabeth
574ab7f999 [channels,rdpecam] fix clang-tidy warnings 2025-02-10 11:28:22 +01:00
akallabeth
6cf34d6ca9 [channels,rdpecam] fix missing length checks 2025-02-10 11:03:42 +01:00
oleg0421
e2d900c76c [channel,rdpecam] support Logitech h264 stream mux format 2025-02-10 11:03:39 +01:00
akallabeth
00e61074b2 [unused] eliminate unused functions 2025-02-10 09:32:19 +01:00
akallabeth
e7d50d7a70 [channels,rdpdr] handle NULL in rdpdr equal 2025-02-06 11:03:04 +01:00
akallabeth
44f5b6c409 [warnings] fix various clang warnings 2025-02-04 11:22:00 +01:00
akallabeth
726add2a98 [codec,h264] ignore EAGAIN for FFMPEG 2025-01-29 09:35:51 +01:00
akallabeth
1c852e0f6a [channels,rdpgfx] refactor code 2025-01-19 15:31:01 +01:00
Armin Novak
174809b8a5 [warnings] fix some more warnings 2025-01-15 16:02:38 +01:00
akallabeth
ea2022b76b [clang,tidy] fix warnings 2025-01-15 09:32:52 +01:00
oleg0421
7b4a903f66 MS-RDPECAM: VAAPI h264 encoding 2025-01-14 04:32:12 -08:00
David Fort
88229dca51 Fix calls of Stream_EnsureCapacity
There were various places where Stream_EnsureCapacity was called instead of the
expected Stream_EnsureRemainingCapacity. When the stream position is set to 0 the
2 calls are equivalent, but we had various places where it was not always the case.
2025-01-13 14:49:18 +01:00
akallabeth
8b7212843b [channels,remdesk] fix a server channel leak 2025-01-13 09:15:00 +01:00
akallabeth
93b8e17c91 [channels,rdpsnd] fix memory leak 2025-01-13 09:14:59 +01:00
akallabeth
5fa44d30be [channels,remdesk] fix return value check 2025-01-12 15:12:02 +01:00
akallabeth
671c6d21ba [channels,rdpei] fix sign conversion 2025-01-07 21:28:18 +01:00
akallabeth
5fb9f71b3b [channels,rdpdr] fix int narrowing cast 2025-01-07 21:28:13 +01:00
akallabeth
3092313d49 [channes,rdpdr] use NTSTATUS for IoStatus
the IoStatus will hold NTSTATUS values but is defined unsigned in
[MS-RDPEFS] whereas NTSTATUS is defined as signed integer. Ignore the
spec here and just treat it as signed (eliminates warnings and twos
complement will ensure the values are equal in bit representation)
2025-01-07 10:11:21 +01:00
akallabeth
628995421d [channels,urbdrc] fix undeclared variable 2024-12-30 18:41:11 +01:00
akallabeth
e90b4d5e98 [channels,rdpei] fix invalid mask 2024-12-30 08:02:43 +01:00
akallabeth
4030eafd15 [channels,rdpdr] fix stream_write sign 2024-12-29 10:23:23 +01:00
akallabeth
3539ef7409 Merge pull request #11000 from akallabeth/channels-implicit-fix
Channels implicit fix
2024-12-29 10:15:32 +01:00
akallabeth
168aae23be [channels,gfxredir] clean up code 2024-12-26 13:35:50 +01:00
akallabeth
d14f8fe9dd [channels,rdp2tcp] clean up code 2024-12-26 13:20:41 +01:00
akallabeth
69fb290616 [channels,sshagent] cleanup code 2024-12-26 12:35:11 +01:00
akallabeth
3a6cc64439 [channels,sshagent] enable client/server by default
channel is off by default, but if turned on enable client and server
components automatically
2024-12-26 10:31:01 +01:00
akallabeth
2b9471171b [channels,gfxredir] use common channel variables 2024-12-26 10:08:37 +01:00
akallabeth
be3ba1c425 [warnings,channels] fix integer casts 2024-12-25 13:29:07 +01:00
akallabeth
57667dd955 [channels,printer] initialze variable 2024-12-20 10:48:49 +01:00
akallabeth
564724d56a [locale,keyboard] fix conditionally uninitialized 2024-12-17 16:56:07 +01:00
akallabeth
ac9cf26bce [cmake] fix define_channel_options
* fix usage of default value
* fix defaults of channels
* unify to single CMake function define_channel_options
2024-12-17 16:29:32 +01:00
akallabeth
91ae892f91 [winpr,sysinfo] fix use of GetComputerNameExA
The buffer must be large enough to hold MAX_COMPUTERNAME_LENGTH
characters, so the buffer needs to be of size MAX_COMPUTERNAME_LENGTH +
1 or larger to hold the '\0' terminated string.
2024-12-16 17:11:54 +01:00
akallabeth
e375556d07 [winpr,sysinfo] fix GetComputerNameA
* Trunctate to at most MAX_COMPUTERNAME_LENGTH characters
* Fix usage of function
2024-12-15 18:09:15 +01:00
akallabeth
344841714c Merge pull request #10844 from akallabeth/cmake-mulitconfig
Cmake multiconfig
2024-12-07 17:43:05 +01:00
akallabeth
83f2f21ad3 [warnigns] fix lots of bugprone warnings
* update-settings-tests: properly cast types in getter/setter
* wtypes: fix PHANDLE definition
* wStream: fix INT64 write function warnings
* Simplify HANDLE copy in channels, just assign after proper cast
2024-12-06 09:15:48 +01:00