Commit Graph

2998 Commits

Author SHA1 Message Date
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
akallabeth
ba8fd2ada5 [cmake] force configuration options
limit multiconfiguration options to supported types
2024-12-05 09:36:23 +01:00
akallabeth
60dd32fbc7 [channels,rdpgfx] fix rdpgfx_server_packet_complete_header
a condition check was inverted preventing server side gfx packets to be
sent.
2024-12-03 17:11:37 +01:00
akallabeth
861e3bbe65 [channels,drive] allow operation on main thread 2024-12-03 09:58:09 +01:00
akallabeth
faae38120c [cmake,format] reformat all cmake files 2024-11-27 20:41:48 +01:00
akallabeth
7aa233590b [channels,tsmf] fix incompatible pointer types 2024-11-22 11:00:20 +01:00
akallabeth
f084389cd7 [channels,urbdrc] fix enum-enum conversion
* fix integer type of port, use uint8_t
* cast enum values to uint8_t (enum values are used as constants here
  and multiple different ones are mixed together which provokes this
  warning)
2024-11-22 11:00:08 +01:00
stephanebill
4f2afa8c47 spell check with codespell 2024-11-20 16:53:40 -05:00
akallabeth
541fc3a8c6 [channels,remdesk] fix const correctness of function 2024-11-14 13:26:19 +01:00
akallabeth
db07add07a [deprecation] replace all usages of sprintf 2024-11-12 16:46:11 +01:00
akallabeth
0c35fd1a48 [channels,remdesk] create common components
Extract common functions from server and client channel and move it to a
static library linked by both
2024-11-11 12:23:52 +01:00