Commit Graph

2955 Commits

Author SHA1 Message Date
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
akallabeth
78acedb40e [warnigns] fix Wshorten-64-to-32 2024-11-11 10:22:37 +01:00
akallabeth
cb73d77d6e Merge pull request #10823 from akallabeth/rdpdr-caps-filter
[channels,rdpdr] send only used caps to server
2024-11-08 09:08:32 +01:00
Martin Fleisz
1520d94d33 Merge pull request #10797 from akallabeth/warn-fixes
Warn fixes
2024-11-07 13:50:51 +01:00
akallabeth
aa371dcdd6 [channels,rdpdr] only reply enabled caps 2024-11-05 19:56:28 +01:00
akallabeth
c4412a92e2 [channels,rdpdr] send only used caps to server
* When using RDPDR only send capabilities to server we have activated,
  e.g. smartcard, drive, printer, port (serial or parallel) redirection
* Check return value of write functions
2024-11-05 19:44:03 +01:00
akallabeth
4ec28e1f82 [warnings] fix -Wimplicit-int-conversion 2024-10-31 11:42:29 +01:00
akallabeth
dcf5a8e28c [warnings] fix -Wswitch-default 2024-10-31 11:42:24 +01:00
akallabeth
dc76879e0b [warnings] fix some compiler warnings
* fix compiler warnings found in a lot of places
* add missing enum type for clipboard channel
* mark deallocator for winpr image function
2024-10-30 16:12:20 +01:00
akallabeth
9db7deb30b [warnings] initialize ULARGE_INTEGER 2024-10-30 10:20:41 +01:00
akallabeth
566d4cf637 [stream] fix sign issues with stream API use 2024-10-29 15:50:07 +01:00
Armin Novak
527db6783b [cmake] split tests
* Keep BUILD_TESTING, but only run tests compatible with API (for
  packaging)
* Add BUILD_TESTING_INTERNAL for all tests including internal function
  tests that modify API to be run on our CI
2024-10-24 09:45:44 +02:00
akallabeth
2329cb23ae [channels,rdpgfx] reset pointer to local variable 2024-10-22 16:19:47 +02:00
akallabeth
4b850f765f [channels,rdpecam] fix format string 2024-10-22 16:02:41 +02:00
akallabeth
6ac2a961b6 [channels,audin] fix variable shadowing 2024-10-22 10:11:41 +02:00
akallabeth
efffcee119 [channels,rdpecam] fix casts 2024-10-22 09:50:34 +02:00
akallabeth
8b3f807a0a [warnings] fix format warnings 2024-10-17 20:47:29 +02:00
oleg0421
f0922350ee RDPECAM client MJPEG decoder fix to skip corrupted frames 2024-10-10 18:05:22 -07:00
oleg0421
4797609b80 [channel,rdpecam] MJPEG input format support 2024-10-05 17:32:43 -07:00
akallabeth
cf46f341f6 [channels,audin] fix alsa backend
* Fix wrong variable passed to receive
* Improve logging/error handling
2024-10-04 16:11:53 +02:00
akallabeth
f4cac29f3c [channels,audin] fix string to int conversion
use strtoul for unsigned values
2024-10-04 12:05:10 +02:00
akallabeth
6c8c67b385 Merge pull request #10677 from akallabeth/int-narrow
Int narrow
2024-10-03 21:17:56 +02:00
akallabeth
911ed13efc [channels,rdpei] fix integer narrow 2024-10-03 18:59:05 +02:00
Martin Fleisz
966ddd13df Merge pull request #10694 from akallabeth/qa-fixes
Qa fixes
2024-10-03 13:09:06 +02:00
akallabeth
cfc37caeb8 [cmake] cleaning_configure_file
add a wrapper to automatically add generated files to clean target
2024-10-02 23:28:08 +02:00
akallabeth
032b34702d [channels,urbdrc] fix sign warnings 2024-10-01 13:05:50 +02:00
akallabeth
a57263c209 [channels,rdpecam] refactor cam_v4l_get_fourcc_str 2024-10-01 13:05:46 +02:00
akallabeth
04a8bcd8a5 [channels,cliprdr] make global strings arrays 2024-10-01 13:05:43 +02:00
akallabeth
fe8555a4fd [warnings] annotate cert-err34-c 2024-10-01 13:05:36 +02:00
akallabeth
ee81bb017b [warnings] fix assign enum
* add missing value for rdpecam
* use an integer for a badly designed API
2024-10-01 13:05:30 +02:00
akallabeth
72350e2587 [channels,cliprdr] log clipboard format requested 2024-10-01 13:05:27 +02:00
akallabeth
574742bae8 [warnings] annotate readability-non-const-parameter 2024-10-01 13:05:19 +02:00
akallabeth
9eeeef6976 [channels,rdpecam] fix redundant-control-flow 2024-10-01 13:05:07 +02:00
akallabeth
1c12a15de1 [channels,rdpecam] fix iterator types 2024-10-01 13:05:00 +02:00
akallabeth
485ebe03bf [*printf] cast return to void 2024-10-01 13:04:57 +02:00
akallabeth
7cd4884de1 [channels,rdpecam] remove invalid doxygen 2024-10-01 13:04:49 +02:00
akallabeth
cf7fd2d340 [channels,rdpecam] fix widening of multiplication result 2024-10-01 13:04:45 +02:00
akallabeth
490ca0453b [winpr,stream] use Stream_BufferAs instead of casting 2024-10-01 10:34:42 +02:00
akallabeth
11b7633dc0 [channels] use Stream_BufferAs
For WTSVirtualChannelRead and WTSVirtualChannelWrite use Stream_BufferAs
to cast to correct type.
2024-10-01 10:28:13 +02:00
akallabeth
55177e0e46 [channels,rdpsnd] remove dead code 2024-10-01 10:18:48 +02:00
akallabeth
8ddb678639 [channels,cliprdr] fix server side send routine 2024-10-01 10:16:18 +02:00
akallabeth
47c5070805 Merge pull request #10635 from akallabeth/initialize-variables
Initialize variables
2024-09-30 16:04:20 +02:00
David Fort
b891228279 Merge pull request #10693 from akallabeth/abi-fixes
[channels,rdpear] default to OFF
2024-09-30 10:20:19 +02:00
akallabeth
2973ff7004 [channels,rdpear] default to OFF
Since the channel was introduced late in the 3.x series require users to
explicitly enable it to not break existing build setups.
2024-09-30 09:42:45 +02:00