Commit Graph

19681 Commits

Author SHA1 Message Date
akallabeth
7aa80cb751
[documentation] update
* Fix wrong tag @version, replace with @since
* Document some functions
2024-09-12 13:30:03 +02:00
akallabeth
2638d9d894
[warnings] fix casts 2024-09-12 13:30:00 +02:00
akallabeth
adc4f2abf8
[warnings] fix unused variables 2024-09-12 13:29:58 +02:00
akallabeth
29697ca68d
[winpr,ncryt] fix a memory leak
NCryptP11EnumKeys did leak memory under certain conditions
2024-09-12 13:29:55 +02:00
akallabeth
773eed8878
[client,sdl] use auto for variable declaration 2024-09-12 13:29:53 +02:00
akallabeth
6481993305
[winpr,ncrypt] do not abort test if NCryptEnumKeys fails 2024-09-12 13:29:50 +02:00
akallabeth
f9141fb94b
[winpr,ncrypt] improve logging 2024-09-12 13:29:48 +02:00
akallabeth
e00661d338
[warnings] fix dead store warnings 2024-09-12 13:29:46 +02:00
akallabeth
c9b0c9ecd5
[warnings] remove unused variables 2024-09-12 10:08:10 +02:00
akallabeth
898cb5782c
Merge pull request #10595 from akallabeth/some-more-warnings
Some more warnings
2024-09-12 10:05:16 +02:00
akallabeth
fa9fff6ed0
[winpr,clipboard] properly define guard function 2024-09-12 09:09:00 +02:00
akallabeth
b2d58de1da
[client,X11] fix Wtautological-constant-out-of-range-compare 2024-09-12 09:08:58 +02:00
akallabeth
6f756fd1be
[clang-tidy] disable readability-suspicious-call-argument
we only get false positives from this check, so deemed useless for our
use case
2024-09-12 09:08:56 +02:00
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