Commit Graph

2966 Commits

Author SHA1 Message Date
akallabeth
2b9471171b
[channels,gfxredir] use common channel variables 2024-12-26 10:08:37 +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
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