Commit Graph

22582 Commits

Author SHA1 Message Date
akallabeth
eb83f339b4 [channels,rdpdr] flag definition and stringify
* Use a enum to define RDPDR_DTYP_* constants
* Add public API freerdp_device_type_string for stringify
* Add WINPR_ATTR_NODISCARD in rdpdr_utils.h
2026-01-25 09:15:05 +01:00
akallabeth
09ae30a0f9 [core,settings] define OrderSupport flags and stringify
* Define OrderSupportFlags as enum
* Add public API stringify function
2026-01-25 09:14:59 +01:00
akallabeth
6673e8a86f [core,utils] add freerdp_input_touch_state_string
* Add freerdp_input_touch_state_string
* Remove duplicate from xfreerdp
2026-01-25 09:00:03 +01:00
akallabeth
d4ae1a546f [client,common] add FREERDP_TOUCH_CANCEL
* Add flag FREERDP_TOUCH_CANCEL
* Add function freerdp_handle_touch_cancel
2026-01-25 08:56:03 +01:00
akallabeth
a8ca59e290 [channels,disp] Unify definitions and add stringify
* Unify FreeRDP_DesktopRotationFlags definitions (needed in settings
  and display channel)
* Add stringify function for the flags
2026-01-25 08:55:58 +01:00
akallabeth
089758f967 [crypto] adjust deprecation warning
due to new API functions next release will be 3.22.0
2026-01-25 07:35:08 +01:00
akallabeth
0e66a9c4cb Merge pull request #12179 from akallabeth/wlog-cleanup
Wlog cleanup
2026-01-23 23:16:23 +01:00
akallabeth
ea419300b7 [client,common] fix memory leak in rdpParser
When duplicate lines are found in a RDP file the old entry was not freed
up.
2026-01-23 22:34:11 +01:00
akallabeth
dde93d1aa2 [utils,signal] unregister signal handler on termination 2026-01-23 22:20:56 +01:00
akallabeth
75ca7c181f [winpr,wlog] remove duplicate wlog destroy 2026-01-23 22:20:51 +01:00
akallabeth
2a17cfa8f0 Merge pull request #12178 from akallabeth/winpr-attr-nodiscard-define
[winpr,platform] add WINPR_ATTR_NODISCARD macro
2026-01-23 17:27:01 +01:00
akallabeth
2501c274f5 [winpr,platform] add WINPR_ATTR_NODISCARD macro
* add macro WINPR_ATTR_NODISCARD
* adjust C-23 checks for macros according to
  https://en.cppreference.com/w/c/language/attributes.html
2026-01-23 17:13:54 +01:00
akallabeth
b3be45790c Merge pull request #12175 from akallabeth/rdpei
[channels,rdpei] lock full update, not only parts
2026-01-23 16:52:51 +01:00
akallabeth
af784d01c6 [channels,rdpei] lock full update, not only parts 2026-01-23 16:37:39 +01:00
akallabeth
0f1d37c465 Merge pull request #12170 from akallabeth/deprecate-er-der
[crypto] deprecate er and der modules
2026-01-22 12:22:49 +01:00
Armin Novak
efe920c705 [winpr,platform] make WINPR_DEPRECATED_VAR more verbose
explicitly state [deprecated] in the compiler warning to make it more
visible why the warning was emitted.
2026-01-21 16:41:26 +01:00
Armin Novak
43e3b862af [warnings] fix initialization skip warnings 2026-01-21 16:41:26 +01:00
Armin Novak
01e1f1b595 [crypto] deprecate er and der modules
These are unused and not well tested, mark them deprecated to announce
removal once FreeRDP 4 is released.
2026-01-21 16:41:25 +01:00
akallabeth
e327d97c59 Merge pull request #12166 from akallabeth/scard-terminate
[channels,smartcard] revert 649f7deee4
2026-01-21 13:35:08 +01:00
Armin Novak
2e6af8159d Revert "Fix dead lock in smartcard"
This reverts commit 649f7deee4.
2026-01-21 13:22:36 +01:00
Armin Novak
c9d1e371d2 [gateway,tsg] fix unused variable warning 2026-01-21 13:19:56 +01:00
akallabeth
c6da7a8cf6 Merge pull request #12167 from akallabeth/tsg-fix2
Tsg fix idleTimeout parsing
2026-01-21 13:15:12 +01:00
Armin Novak
ea00e5ea4d [gateway,tsg] fix idleTimeout parsing 2026-01-21 12:55:25 +01:00
Armin Novak
9c2e50408a [gateway,tsg] log if unparsed data is detected 2026-01-21 12:55:25 +01:00
Armin Novak
de4109b0a7 [gateway,rdg] log unparsed data if detected 2026-01-21 12:55:24 +01:00
akallabeth
5f706a8db6 Merge pull request #12163 from akallabeth/sspi-krb-heimdal
Sspi krb heimdal
2026-01-21 05:55:00 +01:00
akallabeth
8a53798049 [core,freerdp] eliminate uninitialized warning 2026-01-20 17:15:13 +01:00
akallabeth
cf0a37ceb9 [winpr,sspi] fix Heimdal support
Add support to kerberos_ATTR_AUTH_IDENTITY
2026-01-20 17:15:07 +01:00
akallabeth
5d89c9033e [winpr,sspi] fix Heimdal support
Add support to kerberos_ATTR_AUTH_IDENTITY
2026-01-20 16:41:40 +01:00
akallabeth
4794296e4f Merge pull request #12162 from jadahl/wip/server-kerberos-auth-identity
Allow querying auth identity with kerberos when running as a server
2026-01-20 16:26:38 +01:00
Jonas Ådahl
f93564bb69 Handle querying nla context attributes via the transport
When running as a server, the rdpContext struct doesn't have a rdpNla
instance, so for freerdp_nla_QueryContextAttributes() to work, it has to
use the rdpNla instance from the transport. Note that this instance is
only valid during authentication, though thus usable from the Logon
callback.
2026-01-20 16:04:25 +01:00
akallabeth
5116a804da Merge pull request #12161 from akallabeth/tsg-fix
[gateway,tsg] fix TSG_PACKET_RESPONSE parsing
2026-01-20 15:56:03 +01:00
Jonas Ådahl
0da2c31a9b kerberos: Add support for querying SECPKG_ATTR_AUTH_IDENTITY
This krb5_unparse_name_flags() to retrieve the user part of the
principal, and krb5_princ_realm() for the domain, while checking for
buffer overflows before writing to the auth identity structure.
2026-01-20 15:22:41 +01:00
akallabeth
36ae046685 [gateway,tsg] fix TSG_PACKET_RESPONSE parsing
* Fix parsing to conform to [MS-TSGU] 2.2.9.2.1.5 TSG_PACKET_RESPONSE
* Deactivate TSG_NAP_CAPABILITY_QUAR_SOH (simplifies parsing)
* Add proper logging for expected parser violations
2026-01-20 14:58:46 +01:00
akallabeth
3194bd7023 [client,common] fix /sec: help text
One of rdp|tls|nla|... is required, remove the optional braces.
2026-01-20 14:58:40 +01:00
akallabeth
72a967aaea Merge pull request #12157 from akallabeth/info-fix
[core,info] fix missing NULL check
2026-01-19 21:00:02 +01:00
akallabeth
4d44e3c097 [core,info] fix missing NULL check 2026-01-19 20:11:44 +01:00
akallabeth
b0506e2ffa Merge pull request #12155 from akallabeth/release-3.21.0
Release 3.21.0
2026-01-19 16:53:21 +01:00
akallabeth
10440d2ef6 dev cycle 3.21.1-dev0 2026-01-19 16:19:08 +01:00
akallabeth
6f5d0048f0 release 3.21.0 2026-01-19 16:19:06 +01:00
akallabeth
18d0bd66da changelog 2026-01-19 16:19:03 +01:00
akallabeth
b0c7b5917b Merge pull request #12154 from akallabeth/clang-tidy-cleanups
[clang-tidy] clean up code warnings
2026-01-19 13:29:45 +01:00
akallabeth
84d3d99338 [clang-tidy] clean up code warnings 2026-01-19 13:05:26 +01:00
akallabeth
44257e42ce Merge pull request #12153 from akallabeth/fix-fix-fix
Double free fixes
2026-01-19 09:17:58 +01:00
akallabeth
52106a2672 [cache,offscreen] invalidate bitmap before free
First ensure the bitmap is no longer used for drawing before calling the
free function.
2026-01-19 08:59:05 +01:00
akallabeth
0421b53fcb [client,x11] fix double free in case of invalid pointer 2026-01-19 08:53:12 +01:00
akallabeth
3370e30e92 Merge pull request #12152 from akallabeth/fmt-warn-fixes
[warnings,format] fix format string warnings
2026-01-16 14:49:18 +01:00
akallabeth
e02a55d434 [client,android] fix client build warnings 2026-01-16 14:32:29 +01:00
akallabeth
b86369beb7 [core,tcp] fix freerdp_tcp_connect_timeout size type 2026-01-16 13:47:25 +01:00
akallabeth
fb8efd45f2 [c,format] fix format string and review warnings 2026-01-16 13:36:14 +01:00