Commit Graph

18971 Commits

Author SHA1 Message Date
akallabeth
562fa8a03d
[core,tcp] Improve IPv4 or IPv6 connect
* Fix +ipv6 option, now fall back to IPv4 if no IPv6 entry found
* Add new option ForceIPvX to fail connect if no such entry is found
2024-06-28 09:07:33 +02:00
Martin Fleisz
c9aa349c52
Merge pull request #10312 from akallabeth/http_timeout
[gateway,http] implement proper timeouts
2024-06-27 10:17:40 +02:00
Martin Fleisz
9b7fe9183a
Merge pull request #10313 from akallabeth/tz-trace-log
[winpr,timezone] reduce log verbosity
2024-06-27 10:04:20 +02:00
akallabeth
6e1e35590e
[winpr,timezone] reduce log verbosity 2024-06-27 09:48:34 +02:00
akallabeth
431a96fe85
[core,gateway] properly log location 2024-06-27 08:46:48 +02:00
akallabeth
1de8f5a7aa
[core,gateway] pass rdpContext
* pass rdpContext to freerdp_tls_new
* check freerdp_shall_disconnect_context in http_response_recv
2024-06-27 08:42:08 +02:00
akallabeth
559e770982
[gateway,http] implement proper timeouts
Implement request timeouts in http_response_recv, use TcpConnectTimeout
as default
2024-06-26 22:53:09 +02:00
akallabeth
4bf3eac357
Merge pull request #10311 from akallabeth/timezone_fixes
Timezone fixes
2024-06-26 21:13:47 +02:00
akallabeth
3c4c827358
[winpr,timezone] Fix GetDynamicTimeZoneInformation
* Improve logging, use single function to dump data.
* Use GetDynamicTimeZoneInformation as man getter,
  GetTimeZoneInformation only retrieves a subset.
2024-06-26 20:59:43 +02:00
akallabeth
9b89d8fa23
[core,timezone] improve timezone logging
* Unify logging to single function
* Add helpers to format magic numbers as strings
2024-06-26 20:37:41 +02:00
Martin Fleisz
d1f0e2a0e2
Merge pull request #10306 from akallabeth/static-link-fix
[freerdp,cmake] fix linking of object library
2024-06-25 16:02:00 +02:00
akallabeth
b0f7ab7d16
[freerdp,cmake] fix linking of object library
do add to source files so that static linking does not look for a static
library once installed.
2024-06-25 15:44:57 +02:00
akallabeth
724b3a7188
Merge pull request #10305 from akallabeth/drdynvc-thread-prio
[channels,drdynvc] only set thread priority if we have one
2024-06-25 14:56:35 +02:00
akallabeth
8e81d24e14
[channels,drdynvc] only set thread priority if we have one 2024-06-25 14:38:12 +02:00
Martin Fleisz
a01639e3c4
Merge pull request #10304 from akallabeth/neon-sse-guard
Neon sse guard
2024-06-25 11:52:27 +02:00
akallabeth
7abf5eb3a7
[cmake,codec] fix WITH_OPUS
detect Opus in libfreerdp directly.
The target definition is there and if we run detection in a subdirectory
the required symbols are not visible
2024-06-25 11:30:42 +02:00
akallabeth
9b65c1109f
[build,mac] enable sse+neon
enable SSE and NEON optimized code for universal build
2024-06-25 10:16:17 +02:00
akallabeth
4cd5fe48ed
[build,mac] update dependency versions
update bundle-mac-os.sh versions checked out
2024-06-25 10:16:14 +02:00
akallabeth
8020efcd0b
[primitives,codec] guard NEON code with platform
NEON optimized code might be used in multiarch/universal builds.
So not only guard with WITH_NEON but also with architecture defines from
winpr/platform.h
2024-06-25 10:00:41 +02:00
akallabeth
896ea3c445
[primitives,codec] guard SSE code with platform
SSE optimized code might be used in multiarch/universal builds.
So not only guard with WITH_SSE2 but also with architecture defines from
winpr/platform.h
2024-06-25 09:56:52 +02:00
Martin Fleisz
628f045de6
Merge pull request #10303 from akallabeth/fix_clang_detect
[cmake] unify clang detection
2024-06-25 09:44:35 +02:00
akallabeth
370975cbd4
Merge pull request #10288 from akallabeth/http_read_timeout
[core,gateway] use TcpConnectTimeout for read as well
2024-06-25 09:17:06 +02:00
akallabeth
26e570e9fe
[cmake] unify clang detection
* Move Clang detection to own CMake file
* Check for Clang and AppleClang
* Use CMAKE_COMPILER_IS_CLANG to check for Clang in code
2024-06-25 09:09:50 +02:00
Martin Fleisz
55258cd9eb
Merge pull request #10299 from akallabeth/tzid-fix
Tzid fix
2024-06-24 15:04:48 +02:00
Armin Novak
85078bf8c8
[winpr,timezone] fix transition date detection 2024-06-24 14:45:09 +02:00
Armin Novak
0810e7d944 [core,settings] enable SupportDynamicTimeZone
FreeRDP based clients & servers support it. If a remote does not support
it it is not send/received.
2024-06-24 14:38:39 +03:00
Martin Fleisz
607606c6ee
Merge pull request #10296 from akallabeth/tzid-fix
[winpr,timezone] fix windows timezone mappings
2024-06-24 11:45:12 +02:00
akallabeth
0431b6c116
[winpr,timezone] fix windows timezone mappings
* WINDOWS_TZID_ENTRY struct members were inverted
* Entries with multiple IANA entries (separated by space) are now each
  checked for a match
2024-06-24 11:30:25 +02:00
Martin Fleisz
1fdd2ee935
Merge pull request #10290 from akallabeth/json_detect
[cmake] fix JSON detection
2024-06-24 11:30:11 +02:00
Martin Fleisz
ea668c9140
Merge pull request #10293 from akallabeth/kbd_from_locale
Kbd from locale
2024-06-24 11:18:41 +02:00
Armin Novak
c4fe6e78e5
[core,tcp] return errno ETIMEDOUT on timeout
BIO_C_WAIT_READ and BIO_C_WAIT_WRITE now set errno = ETIMEDOUT
if a timeout occurred.
2024-06-24 10:45:12 +02:00
Armin Novak
8df1a9a52a
[core,tcp] replace macros with inline functions 2024-06-24 10:43:24 +02:00
akallabeth
66f31e5bb9
[core,gateway] use TcpConnectTimeout for read as well
http_response_recv might never receive an answer, so do wait for input
and fail if the timeout is exceeded.
2024-06-24 10:38:52 +02:00
akallabeth
02c410c42f
Merge pull request #10297 from lemonmojo/iosaudio-fix
[rdpsnd,ios] Fix rdpsnd_ios_open method signature
2024-06-24 09:04:14 +02:00
Felix Deimel
a424bab451 [rdpsnd,ios] Fix rdpsnd_ios_open method signature
Fixes compilation with WITH_IOSAUDIO
2024-06-21 12:34:00 +02:00
akallabeth
388ad6b537
[client,common] add support for /kbd:lang:de style
allows mapping of languages to keyboard layouts
2024-06-20 10:27:53 +02:00
akallabeth
e3809650bb
[core,keyboard] Prefer FreeRDP_KeyboardCodePage
if FreeRDP_KeyboardCodePage is set use the default keyboard layout for
the codepage instead of the autodetected one.
2024-06-20 10:27:50 +02:00
akallabeth
e03a6a269e
[locale] add functions for locale mapping
* function to map short language strings ("en", ...) to a codepage
* function to get a default keyboard layout for a codepage
* function to list supported codepages
2024-06-20 10:27:43 +02:00
akallabeth
3abd141451
[cmake] fix JSON detection 2024-06-19 14:28:34 +02:00
akallabeth
5dc80c9183
Merge pull request #10287 from akallabeth/nego_prot_str
[core,nego] unify protocol to string
2024-06-18 21:04:53 +02:00
akallabeth
4228ad77b6
Merge pull request #10286 from hardening/smartcard_interpreter_improve
[tools] improve smartcard traffic interpreter
2024-06-18 20:50:31 +02:00
akallabeth
95ed12530f
[core,nego] unify protocol to string
use a generic function to stringify SelectedProtocol and
RequestedProtocols variables.
2024-06-18 20:49:50 +02:00
David Fort
7bf8669e6d [tools] improve smartcard traffic interpreter
This patch adds interpretations for more commands and adds a new application.
2024-06-18 15:38:17 +02:00
akallabeth
a2a0cc0792
Merge pull request #10284 from akallabeth/neon_detect
[winpr,sysinfo] fix linux arm cpu feature detect
2024-06-18 09:06:12 +02:00
akallabeth
889dff4f55
[primitives] log initialization 2024-06-18 08:52:28 +02:00
akallabeth
fe2053c26d
[winpr,sysinfo] fix linux arm cpu feature detect 2024-06-18 08:48:14 +02:00
akallabeth
0633623b6d
Merge pull request #10281 from mfleisz/fix/cert-chain-pem
crypto: Fix handling of cert chain in get PEM function
2024-06-17 18:24:16 +02:00
akallabeth
e315fb46d3
Merge pull request #10282 from akallabeth/base64_fix
[crypto,base64] force signed char
2024-06-17 17:29:40 +02:00
akallabeth
d9473be307
[crypto,base64] force signed char
for lookup force signed char to avoid (unsigned)-1 casts
2024-06-17 17:02:41 +02:00
Martin Fleisz
7368c65240 crypto: Fix handling of cert chain in get PEM function 2024-06-17 14:48:15 +02:00