Armin Novak
8200536285
[core,gcc] use mcs_get_settings, make const correct
...
Use a common helper function to get (const correct) settings from rdpMcs
2022-12-12 13:33:47 +01:00
Armin Novak
917e392f1e
[client] fix connection active checks
...
* use freerdp_is_active_state for session active checks
* fix state transitions
2022-12-12 12:59:32 +01:00
Armin Novak
a14c75a3a2
[core,client] handle optional monitor layout PDU
...
The monitor layout PDU is optional. If that was not received assume it
will not be sent and continue in next state.
2022-12-12 12:59:32 +01:00
akallabeth
d3e9210985
[core] added freerdp_is_active_state
...
Since client and server use different states to indicate the connection
is activated, add this convenience function to determine that
2022-12-12 12:59:32 +01:00
Armin Novak
c22d3736a3
[client] refactor client activation timeout
...
Move the code to a function to make it more readable
2022-12-12 12:59:32 +01:00
Armin Novak
5f81005ecb
[transport] remove polling loop
...
We no longer have a blocking polling loop in transport. Instead assume
there is more data after a packet was processed and let the transport
try again. If there is another packet ready, this repeats until only a
partly received (or no new data available) situation is reached.
2022-12-12 12:59:32 +01:00
akallabeth
2809e14064
[core,connection] fix missing logger argument
2022-12-09 20:30:23 +01:00
akallabeth
050a2d0e74
[codec] fixed region16_union_rect
...
* If source and destination are equal, free the buffer on destination to
avoid compiler warnings.
* Remove assert that is not required
2022-12-09 16:40:54 +01:00
akallabeth
d4808dd3e1
Fixed various compiler warnings
2022-12-09 15:58:26 +01:00
akallabeth
7ab917dca8
Fixed Wsign-compare warnings
2022-12-09 15:58:26 +01:00
Armin Novak
bd7e2263ad
fixed const and type cast warnings
2022-12-09 15:58:26 +01:00
akallabeth
0186a9b303
Fixed some warnings
2022-12-09 15:58:26 +01:00
akallabeth
99ad9db4e6
[winpr,path] Fixed WCHAR and char mixup
2022-12-09 15:58:26 +01:00
akallabeth
e86f49d7d7
[winpr,utils] eliminate integer conversion warning
2022-12-09 15:58:26 +01:00
akallabeth
873a11aa10
[winpr,path] Eliminate unreachable code
2022-12-09 15:58:26 +01:00
akallabeth
7f221a653d
Fixed Wpedantic warnings
2022-12-09 15:58:26 +01:00
akallabeth
7e1065a9b9
Fixed Wshadow warnings
2022-12-09 15:58:26 +01:00
akallabeth
7894cf545c
Fixed Wmissing-varialbe-declarations warnings
2022-12-09 15:58:26 +01:00
akallabeth
a3686f0f1f
Fixed Wmissing-prototypes warnings
2022-12-09 15:58:26 +01:00
akallabeth
3ddf99ad64
Fixed Wformat warnings
2022-12-09 15:58:26 +01:00
akallabeth
7e31b877fc
[winpr, tests] Fixed ASN unit test const warning
2022-12-09 15:58:26 +01:00
akallabeth
389817cb57
[winpr,crypto] fixed const correctness of md4/5
2022-12-09 15:58:26 +01:00
akallabeth
aaae70ff05
Fixed missing const casts
2022-12-09 15:58:26 +01:00
akallabeth
bf0ce5bf3a
[winpr,sspi] Fixed const correctness of API
...
sspi_GetAuthIdentityVersion and sspi_GetAuthIdentityFlags do not
modify, make arguments const
Same is true for sspi_GetAuthIdentityUserDomainW,
sspi_GetAuthIdentityUserDomainA, sspi_GetAuthIdentityPasswordA and
sspi_GetAuthIdentityPasswordW
2022-12-09 15:58:26 +01:00
akallabeth
03d4f6a322
[build] make OpenSSL and mbedtls mutually exclusive
2022-12-09 14:55:20 +01:00
Armin Novak
c3e42de5b5
[drdynvc] assert and proper cleanup
2022-12-09 13:23:00 +01:00
Armin Novak
558d5b5e8d
[build,ci] update ci to not always build kerberos
...
disable kerberos for targets not supporting it
2022-12-09 12:36:12 +01:00
Armin Novak
73d5f37537
[build] move krb5 detection to winpr
...
only used internally in winpr, no need for project wide configuration
2022-12-09 12:36:12 +01:00
Armin Novak
a930343608
fixed krb5 find
2022-12-09 12:36:12 +01:00
dev
a5c68c04c1
[build] fix kerberos detection on mac
2022-12-09 12:36:12 +01:00
Armin Novak
2e3239f479
[build] Fixed krb5 detection
2022-12-09 12:36:12 +01:00
Armin Novak
f2016c77c5
[winpr] renamed WITH_GSS_NO_NTLM_FALLBACK
2022-12-09 12:36:12 +01:00
Armin Novak
819a62a8df
Disable kerberos support for android and ios
2022-12-09 12:36:12 +01:00
Armin Novak
2fdae68bbd
[build] disable krb5 support on windows
...
windows provides native support, no need for libkrb5
2022-12-09 12:36:12 +01:00
Armin Novak
2766249186
[build,ci] enable kerberos support
2022-12-09 12:36:12 +01:00
Armin Novak
615f2eb60f
[build] fixed kerberos settings
2022-12-09 12:36:12 +01:00
Armin Novak
53cb33be47
[core] Removed unused krb5 include
2022-12-09 12:36:12 +01:00
Armin Novak
5cc66a66c8
Enable krb5 support
2022-12-09 12:36:12 +01:00
Armin Novak
946416f456
Enable kerberos support
2022-12-09 12:36:12 +01:00
fifthdegree
ad87144ce5
Rename WITH_GSSAPI to WITH_KRB5
...
Change cmake variables to not be gssapi specific
2022-12-09 12:36:12 +01:00
akallabeth
dfcd168af6
[channels,rdp2tcp] only reset event if signalled
2022-12-09 12:30:14 +01:00
akallabeth
f553d453b8
[client,x11] use HashTable_ForEach for rail paint
2022-12-09 12:30:14 +01:00
Armin Novak
0f4be4befd
[channels] fix addin queue free
...
Only clear messages with an ID of 0
2022-12-09 12:30:14 +01:00
Armin Novak
64c94e06f3
[channel,rdpsnd] fix queue cleanup
...
The argument is of type wMessage* and we only care for messages with an
ID of 0
2022-12-09 12:30:14 +01:00
Armin Novak
7f9b5ada69
[build,ci] fix address sanitizer setting for ci
2022-12-09 12:30:14 +01:00
Armin Novak
0cd823e991
[server,sample] handle peer when key file missing
...
When a certificate or private key file can not be opened handle the peer
disconnect properly.
2022-12-09 12:30:14 +01:00
Armin Novak
b25234da66
[channels] Abort event wain on abortEvent
2022-12-09 12:30:14 +01:00
Armin Novak
ef5f51ba04
[x11,client] remove dead initialization code
2022-12-09 12:30:14 +01:00
Armin Novak
1bc110518d
[x11,rail] cleaned up rail drawing code
...
The remote application drawing code was simplified
2022-12-09 12:30:14 +01:00
Armin Novak
4008033065
[x11,client] assert use of xfc->depth
...
Do not use color depth settings before they are initialized
2022-12-09 12:30:14 +01:00