Commit Graph

19706 Commits

Author SHA1 Message Date
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
a85068d42e
[core,gateway] allow websocket write up to UINT32_MAX 2024-10-01 10:14:03 +02:00
akallabeth
47c5070805
Merge pull request #10635 from akallabeth/initialize-variables
Initialize variables
2024-09-30 16:04:20 +02:00
akallabeth
508238711c
Merge pull request #10676 from akallabeth/cmake-file-to-hex
Cmake file to hex
2024-09-30 15:58:18 +02:00
akallabeth
fd099d38c7
Merge pull request #10688 from akallabeth/settings-fix
Settings fix
2024-09-30 15:55:51 +02:00
akallabeth
ba47e1936f
[uwac] add strerror_r detection and use 2024-09-30 15:41:52 +02:00
akallabeth
a820912a24
[winpr,utils] fix sterror_r detection and use 2024-09-30 15:41:50 +02:00
akallabeth
f95f873c58
[ci,tidy] fix ci preload file
the option is named ENABLE_WARNING_VERBOSE to enable verbose warnings.
2024-09-30 15:41:47 +02:00
akallabeth
aa47e58f11
[core,settings] disable clang-tidy warning
we allocate a UINT32** using calloc and casting it. This allows freeing
this up with free but yields some warnings. Disable for this specific
case
2024-09-30 15:41:45 +02:00
akallabeth
ce30f80d2c
[client,common] disable clang-tidy for function
change_lock moves ownership of allocated CliprdrLocalStream to
file->local_streams. Do not complain about possible memory leak (false
positive)
2024-09-30 15:41:42 +02:00
akallabeth
53942081a1
[ci,tidy] use CFLAGS from cmake verbose warnings 2024-09-30 15:41:36 +02:00
akallabeth
98e11c69c1
[winpr,ncrypt] add pragma to disable warning 2024-09-30 15:41:34 +02:00
akallabeth
c319541f0d
[core,settings] add unit test
Test cases for freerdp_settings_check_client_after_preconnect
2024-09-30 15:41:31 +02:00
akallabeth
d71c9c566a
[core,settings] monitor configuration check
* fix origin check, might not be primary monitor
* fix a memory leak
2024-09-30 15:41:23 +02:00
akallabeth
fffabcaab1
[primitives,opencl] Use CMake to include opencl code
* Use CMake to convert opencl source file to C constant
* Mark opencl sources as headers and add to CMake to show in IDE
2024-09-30 10:50:42 +02:00
akallabeth
fe590801a1
[cmake] replace custom file2hex tool
Use CMake to read file and convert to C array of hex values
2024-09-30 10:50:36 +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
f3055f9644
Merge pull request #10642 from akallabeth/warn-fixes-again
fix a few more warnings
2024-09-30 10:05:20 +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
akallabeth
dd98b20f4a
[core,utils] improve utils_str_is_empty 2024-09-30 09:32:15 +02:00
akallabeth
55a5fe26fb
[common,test] remove redundant cast 2024-09-30 09:32:12 +02:00
akallabeth
9d478c2ce7
[winpr,crt] fix redundant casts 2024-09-30 09:32:04 +02:00
akallabeth
1947f28a70 [codec,fdk] fix use of strcat 2024-09-30 09:31:36 +02:00
akallabeth
3825fe8135 [warnings] fix Wunreachable-code-break 2024-09-30 09:31:36 +02:00
akallabeth
f529345d84 [warnings] fix Wcast-qual 2024-09-30 09:31:36 +02:00
David Fort
51b179b9c7
Merge pull request #10687 from akallabeth/man-grab-keyboard
[client,common] improve grab description
2024-09-27 22:37:32 +02:00
akallabeth
6e6f50c088
[client,common] improve grab description
Better describe what +grab-keyboard and +grab-mouse do.
2024-09-27 13:39:00 +02:00
akallabeth
c470b23795
Merge pull request #10672 from akallabeth/multimon-warn
Multimon warn
2024-09-27 10:44:06 +02:00
Martin Fleisz
9ec3d9dc0b
Merge pull request #10679 from akallabeth/rdpei-no-thread
Rdpei no thread
2024-09-27 09:58:44 +02:00
Armin Novak
1bc188158b
[ci,preload] enable verbose warnings 2024-09-27 09:44:43 +02:00
akallabeth
cf809e6388
[core,settings] add settings validation
after client side preconnect validate the settings.
Currently checks for some monitor layout limitations are implemented
2024-09-27 09:44:40 +02:00
akallabeth
3e7a7fdcad
[channels,rdpei] implement channel without thread
* implement channel without thread (compile time option)
* use dynamic logger
* add some missing parameter and stream checks
2024-09-27 09:32:22 +02:00
akallabeth
9f454bea85
Merge pull request #10684 from akallabeth/redirect-bandwidth-auto
[core,mcs] unify message channel handling
2024-09-27 09:12:01 +02:00
akallabeth
f400b9a602
[core,client] fix freerdp_channels_check_fds
unify freerdp_channels_check_fds and
freerdp_channels_process_pending_messages as they both do the same
thing.
2024-09-26 17:01:14 +02:00
akallabeth
ab88e79a36
[core,mcs] unify message channel handling 2024-09-26 16:57:27 +02:00
akallabeth
2fe0435e79
Merge pull request #10680 from akallabeth/redirect-bandwidth-auto
[core,connection] handle message channel in state
2024-09-26 15:14:16 +02:00
akallabeth
5e13d5bf16
[core,connection] handle message channel in state
When in demand active it is possible that we can receive message channel
messages. In case we receive one switch parsing to the appropriate
handlers.
2024-09-26 14:38:59 +02:00
akallabeth
8cf0dd4359
Merge pull request #10682 from akallabeth/cleanup
[revert] delete accidentally committed files
2024-09-26 10:55:09 +02:00
akallabeth
3e09d4cfc1
[ci,abi] rename working directory
since the old working directory checker had been accidentally checked in
use a new one to avoid clashes during build.
2024-09-26 10:16:41 +02:00
akallabeth
776b0e68b5
[revert] delete accidentally committed files 2024-09-26 09:09:07 +02:00
Martin Fleisz
64bf1c9a97
Merge pull request #10678 from akallabeth/compile-fix
Compile fix
2024-09-25 10:52:33 +02:00
Armin Novak
66b6a90cc7
[client,x11] fix xf_GetWindowProperty arguments
Use BYTE* as argument and cast later to desired type
2024-09-25 10:31:38 +02:00
Armin Novak
9fc7e5bfd9
[cmake] default ENABLE_WARNING_VERBOSE=OFF 2024-09-25 10:28:49 +02:00
akallabeth
cfc56e936a
Merge pull request #10675 from akallabeth/clang-tidy-customize
Clang tidy customize
2024-09-25 09:05:17 +02:00
David Fort
609d04deab
Merge pull request #10671 from akallabeth/workarea-fix
[client,x11] fix reading of work area
2024-09-25 07:18:54 +02:00
akallabeth
5e998bb078
[winpr,platfom] fix WINPR_PRAGMA_DIAG_IGNORED_UNUSED_MACRO 2024-09-24 20:35:28 +02:00
akallabeth
ff31004b98
[clang-tidy] disable cppcoreguidelines-macro-usage
This check does not help us as:
* We need some stringification macros even in C++
* The whole API is C so macros are all over the place
2024-09-24 20:35:13 +02:00