Commit Graph

19874 Commits

Author SHA1 Message Date
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
akallabeth
2e1ea335f3
Merge pull request #10674 from akallabeth/unused-eliminate
Unused eliminate
2024-09-24 20:07:34 +02:00
akallabeth
f414bef5cb
[codec,dsp] fix freerdp_dsp_context_free
abort early on NULL argument
2024-09-24 19:45:23 +02:00
akallabeth
0d8764263f
[client,sdl] eliminate unused variables 2024-09-24 19:45:20 +02:00
akallabeth
b1cc0a3191
[proxy,modules] eliminate unused variables 2024-09-24 19:45:16 +02:00
akallabeth
01d565398e
[client,x11] fix reading of work area
https://specifications.freedesktop.org/wm-spec/1.4/ar01s03.html
_NET_CURRENT_DESKTOP might not be supported by a window manager. Ignore
failures there and just take the first monitor dimensions.
2024-09-24 13:07:22 +02:00
akallabeth
469f75a314
[codec,ncrush] fix possible overflow 2024-09-24 11:39:45 +02:00
akallabeth
89e6f357b5
[utils,smartcard] fix possible integer overflow 2024-09-24 11:34:02 +02:00
akallabeth
1f3e6decf2
[client,common] fix possible integer overflow 2024-09-24 11:31:40 +02:00
akallabeth
3d210d815d
[client,X11] fix sign of shifted type 2024-09-24 11:30:23 +02:00
akallabeth
0fe89241f8
[core,client] add argument checks & assertions
* freerdp_get_event_handles
* freerdp_channels_process_pending_messages
2024-09-24 11:08:38 +02:00
akallabeth
26003e59cc
[va_list] initialize with ={0}; 2024-09-24 11:06:18 +02:00
akallabeth
fcdbc05979
Merge pull request #10663 from akallabeth/client-channel-event-process-api
[core,client] add channel poll registration API
2024-09-24 11:05:09 +02:00
akallabeth
82a43ef4dc
[core,client] add channel poll registration API
Add a new API that allows channels to register/unregister an
event-handle along with a callback function to be called by the RDP main
thread.
This allows background processing of channel specifics without the need
for a channel specific thread.
2024-09-24 10:10:52 +02:00
akallabeth
193e985063
Merge pull request #10666 from hardening/sdl3_fix2
sdl3: various fixes with the clipboard
2024-09-24 10:08:27 +02:00
akallabeth
7ccc794176
Merge pull request #10668 from akallabeth/ffmpeg-fix
[cmake,ffmpeg] fix version detection
2024-09-24 10:07:42 +02:00
akallabeth
c766c13103
[cmake,ffmpeg] fix version detection
If not detected by pkg-config fall back on header file parsing to
extract the version of the FFmpeg component.
2024-09-24 09:47:46 +02:00
David Fort
57c703cf67 sdl3: various fixes with the clipboard
There were various invalid checks with function return values. The patch also
fixes a deadlock between the SDL clipboard data function and the FreeRDP
thread.
2024-09-23 15:35:11 +02:00
Martin Fleisz
5380a743b5
Merge pull request #10664 from akallabeth/audin-fixes
Audin fixes
2024-09-23 12:22:41 +02:00
akallabeth
4b60f0651c
[channels] Fix PulseAudio assertions/NULL checks 2024-09-23 12:01:13 +02:00
akallabeth
ae3330d63d
[codec,dsp] reorganize experimental codecs
* Remove ALAW/µULAW from sound channels
* Make everything except PCM and AAC experimental
2024-09-23 12:01:11 +02:00
akallabeth
ce2605fad2
[codec,dsp] fix FDK-AAC memory leak 2024-09-23 12:00:55 +02:00
akallabeth
b350b0039e
Merge pull request #10662 from JohnWoo22/neon_combine_fix
fix neon-based chroma filter
2024-09-23 10:54:27 +02:00
JohnWoo22
69163f91ee fix neon-based chroma filter 2024-09-23 14:01:17 +08:00
akallabeth
7fc4f528c0
Merge pull request #10654 from akallabeth/unused-macros
[warnings] remove or comment unused macros
2024-09-20 19:23:45 +02:00
akallabeth
239440e28d
[warnings] remove or comment unused macros 2024-09-20 18:49:38 +02:00
akallabeth
ed942f8c20
[warnings,c++] deactivate -Wexit-time-destructors
This warning can be ignored as on all supported platforms memory, file
and network resources are cleared up on program termination.
2024-09-20 17:35:52 +02:00
Martin Fleisz
5bcd737548
Merge pull request #10651 from akallabeth/disable-language-extension-warn
[compiler,warnings] disable -Wlanguage-extension-token
2024-09-20 14:07:11 +02:00
Norbert Federa
d3a7629734
Merge pull request #10629 from akallabeth/rail-modal
[client,X11] Fix RAILS modal dialog handling
2024-09-20 13:38:46 +02:00
akallabeth
516cf54c75
[compiler,warnings] disable -Wlanguage-extension-token
Expression Statements are not supported by ISO C but we require it for
certain macros. Disable this warning as it just yields false positives.
2024-09-20 13:34:24 +02:00
David Fort
6660119422
Merge pull request #10650 from akallabeth/winpr-errno
[winpr,utils] fix winpr_strerror argument types
2024-09-20 12:57:56 +02:00
akallabeth
69527e117a
[client,X11] update _NET_WM_STATE for WS_EX_TOPMOST
* Set _NET_WM_STATE_ABOVE if WS_EX_TOPMOST is set and WS_EX_TOOLWINDOW
  clear for a window style
* Clear _NET_WM_STATE_ABOVE in all other cases
2024-09-20 11:33:29 +02:00
akallabeth
d0c1e6055f
[client,X11] add missing _NET_WM_STATE* atoms 2024-09-20 11:33:26 +02:00