Commit Graph

19618 Commits

Author SHA1 Message Date
akallabeth cc6850bf21
[warnings] fix format nonliteral
add pragma to suppress format nonliteral warnings where appropriate
2024-09-12 09:08:53 +02:00
akallabeth 8a990644c0
[warnings] fix missing NULL assert/check 2024-09-12 09:08:51 +02:00
akallabeth 2ae0c456b4
[client,sdl] fix float casts 2024-09-12 09:08:49 +02:00
akallabeth 0f00e37884
[clang-tidy] disable hicpp-no-assembler
we need assembler code for some critical spots, so this check is useless
for our use case.
2024-09-11 23:42:01 +02:00
akallabeth 66153045be
[winpr,timezone] Include TimeZoneNameMap as header
* Update tzextract to generate header
* Update TimeZoneNameMapUtils to include header
2024-09-11 23:41:58 +02:00
akallabeth 384cd284d8
[warnings] use WINPR_CAST_CONST_AWAY
on locations that require (ugly) const to non const casts usw
WINPR_CAST_CONST_AWAY to do proper compiler specific casts to avoid
warnings
2024-09-11 23:41:50 +02:00
akallabeth 0de5430578
Merge pull request #10594 from akallabeth/sdl3-fix
Sdl3 fix
2024-09-11 22:39:08 +02:00
akallabeth 2175428df5
[client,SDL] default webview to off
The AAD webview is currently not working as expected, disable until
resolved.
2024-09-11 22:23:33 +02:00
akallabeth 3682e11e55
[primitives,test] use same parameter names
use the same parameter names for declaration and implementation
2024-09-11 22:20:35 +02:00
akallabeth 993756e575
[client,sdl] fix SDL3 compilation error 2024-09-11 21:50:30 +02:00
akallabeth 1f917ca46f
Merge pull request #10593 from akallabeth/warnings-more-more-more
Warnings more more more
2024-09-11 21:49:16 +02:00
akallabeth 265246cdfc
[core,activation] allocate buffer with calloc 2024-09-11 21:03:20 +02:00
akallabeth 06097575a4
[client,sdl] fix redundant initializer 2024-09-11 20:50:36 +02:00
akallabeth ae95b66922
[warnings] fix portability [cm]alloc size 0 2024-09-11 20:50:33 +02:00
akallabeth 31ef07ead7
[warnings] fix tautological unsigned zero compare 2024-09-11 20:50:30 +02:00
akallabeth 8ba7b65725
[winpr,secapi] add invalid value to KERB_LOGON_SUBMIT_TYPE 2024-09-11 20:50:27 +02:00
akallabeth 11671bcd5b
[warnings] fix unreachable code return 2024-09-11 20:50:24 +02:00
akallabeth a1be46e5dd
[warning] fix function declarations
use same names in declaration and implementation
2024-09-11 20:50:21 +02:00
akallabeth eb70b1756b
[winpr,wlog] fix GNU variadic macro 2024-09-11 20:50:17 +02:00
akallabeth eec69bde0f
[client,sdl] fix c++ string find, use char overload 2024-09-11 20:50:14 +02:00
akallabeth 62e52b30c8
[utils,passphrase] fix missing char to int cast 2024-09-11 20:49:44 +02:00
akallabeth 861f699d92
[uwac] fix uwac seat functions
change arguments to match prototypes
2024-09-11 20:49:03 +02:00
akallabeth 953b2664c0
[opencl,primitives] fix const warning 2024-09-11 20:48:52 +02:00
akallabeth bf4953d288
[codec,h264] fix documentation unknown 2024-09-11 20:48:49 +02:00
akallabeth 403ee7ad4c
[core,activation] simplify rdp_write_client_persistent_key_list_pdu 2024-09-11 20:48:46 +02:00
akallabeth e864fed61f
[uwac] disable clang-tidy for generated files 2024-09-11 20:48:43 +02:00
akallabeth 9fed64eb0d
[client,SDL] SdlEventUpdateTriggerGuard
Delete copy & move assingment operators
2024-09-11 20:48:39 +02:00
akallabeth c427d0cfb2
[cmake] add helper to dump target properties 2024-09-11 20:48:32 +02:00
David Fort a4bd5ba886 core, channels: client-side remote credential guard
This patch implements the client-side part of the remote credential guard feature
as described in MS-RDPEAR. The 2 main changes are: shipping the TSRemoteGuardaCreds in
NLA, and implement the rdpear channel that allows LSASS to remote all the calls to
our client. For now it's UNIX only as the windows implementation would be implemented
in a completely different way.
To test, you may establish you ccache and then connect with (RCG enabled on the server):
	xfreerdp /remoteGuard /u:<user> /d:<domain> /v<server>

That should log you in, and in the session you should not be asked for credentials when
doing mstsc /remoteGuard /v:<other server>.
2024-09-11 17:15:11 +02:00
akallabeth 9c52238d24
Merge pull request #10590 from akallabeth/dynamic-resizing-to-bool
[client,common] change /dynamic-resizing to BOOL option
2024-09-11 11:27:51 +02:00
Armin Novak 17c209c0f9
[client,common] change /dynamic-resizing to BOOL option
Allows to use +-/ prefixes to enable/disable the option. Brought up on
matrix channel for uses with RDP files that enable the option. Now it
can be disabled by adding -dynamic-resolution on command line.
2024-09-11 11:06:21 +02:00
akallabeth b66486ed23
Merge pull request #10587 from FreeRDP/timezone-patches-1726031205
[timezones] Update definitions
2024-09-11 09:51:38 +02:00
akallabeth 398efacb10 Update timezone definitions 2024-09-11 05:06:45 +00:00
akallabeth 9d10923524
Merge pull request #10580 from akallabeth/more-warn-fixes
More warn fixes
2024-09-10 17:07:12 +02:00
akallabeth 8793d5a843
Merge pull request #10582 from akallabeth/doxygen
Doxygen
2024-09-10 15:26:09 +02:00
akallabeth 21d0088b95
[clang-tidy] disable performance-avoid-endl
this warning is not required in our case as we do not have code that
requires high performance utilizing std::endl (output to std::cout or
std::cerr)
2024-09-10 14:43:17 +02:00
akallabeth b7553d5f41
[clang-tidy] disable cppcoreguidelines-no-malloc,hicpp-no-malloc
The project is mostly C so the C++ components are expected to wrap the C
allocation. This check does only produce false positives in our use
case.
2024-09-10 14:43:14 +02:00
akallabeth edf6ab89f7
[warnings] fix dead store 2024-09-10 14:43:11 +02:00
akallabeth 674e84cbf3
[channels,location] fix cast warning 2024-09-10 14:43:08 +02:00
akallabeth c1918ac189
[winpr,wlog] fix cast warning 2024-09-10 14:42:52 +02:00
akallabeth 529ce7534b
[cmake,compiler] disable -Wswitch-enum warning
the warning is quite useless as we do not always list all enumerations
in a switch.
2024-09-10 14:42:44 +02:00
akallabeth 189abc73f3
[client,sdl] fix missing field initializer warnings 2024-09-10 14:42:42 +02:00
akallabeth 3ab6d2f918
[proxy,modules] fix unchecked return 2024-09-10 14:42:39 +02:00
akallabeth a085b0d228
[winpr,comm] fix compiler warnings 2024-09-10 14:42:28 +02:00
akallabeth ba7465abf5
Merge pull request #10585 from akallabeth/x11-clip-cache-fix
[client,x11] fix clipboard cache
2024-09-10 14:31:25 +02:00
akallabeth 64438a4028
Merge pull request #10584 from akallabeth/client-minimize-shortcut
Client minimize shortcut
2024-09-10 14:26:36 +02:00
akallabeth fcdd03a020
[client,x11] fix clipboard cache
Use new function format_to_cache_slot to convert a clipboard format to a
valid key value for wHashTable. This avoids issues with our synthesized
CF_RAW format (value 0) which is an invalid key for wHashTable
2024-09-10 13:35:21 +02:00
akallabeth 2a641aa834
[client,sdl3] update to new API 2024-09-10 12:46:27 +02:00
akallabeth 215f798665
[client,x11] add minimize shortcut 2024-09-10 12:29:12 +02:00
akallabeth d93d9765b3
[client,sdl] add minimize shortcut 2024-09-10 12:28:36 +02:00