Commit Graph

19243 Commits

Author SHA1 Message Date
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
akallabeth 38c88c5eb7
Merge pull request #10279 from akallabeth/primitives_neon
[primitives] refactor, split sse/neon/opencl
2024-06-17 14:13:23 +02:00
Martin Fleisz de2a59a539
Merge pull request #10280 from akallabeth/rdpecam_option_to_disable
[channel,rdpecam] add option RDPECAM_CLIENT_CHANNEL_STUB
2024-06-17 13:50:57 +02:00
akallabeth 0d974acab2
[channel,rdpecam] keep off by default
channel is still experimental, keep it off by default, allow enabling
with default channel CHANNEL_RDPECAM_CLIENT=ON switch
2024-06-17 13:33:00 +02:00
akallabeth 3cecd1de06
[primitives] refactor, split sse/neon/opencl 2024-06-17 13:15:14 +02:00
akallabeth b3810e3b85
[channel,rdpecam] add option RDPECAM_CLIENT_CHANNEL_STUB
this allows building FreeRDP with only a stubbed [MS-RDPECAM] channel
2024-06-17 13:13:07 +02:00
akallabeth 561d2b32c6
Merge pull request #10278 from akallabeth/image_copy_fixes
Image copy fixes
2024-06-17 10:10:49 +02:00
akallabeth 4a1a92bd70
Merge pull request #10276 from oleg0421/rdpecam_client_framerate_fix
[channel,rdpecam] framerate support and h264 bitrate tuneup
2024-06-17 10:10:35 +02:00
akallabeth fc5ed616c7
[client,sdl] fix typo 2024-06-17 09:14:35 +02:00
akallabeth eedb5590b2
[primitives,copy] add fallback path
color format conversions that do not have an accelerated implementation
are now handled by generic pixel copy
2024-06-17 09:13:47 +02:00
oleg0421 f48c8eacad [channel,rdpecam] framerate support and h264 bitrate tuneup 2024-06-15 19:05:35 -07:00
akallabeth bcd663b7d9
Merge pull request #10269 from akallabeth/image_copy_sse
Image copy sse
2024-06-12 16:45:57 +02:00
akallabeth b73964beda
Merge pull request #10273 from akallabeth/rdpecam-fixups
Rdpecam fixups
2024-06-12 11:03:23 +02:00
Armin Novak c4594bc7cb
[channel,rdpecam] fix compiler warnings and leaks 2024-06-12 10:27:50 +02:00
Armin Novak 1806daa375
[channel,server] fix unguarded use of functions
If functions of channel_<name>_server are used guard them so the code
compiles if the channel is not compiled in.
2024-06-12 09:58:08 +02:00
akallabeth 4b8750b206
Merge pull request #10261 from akallabeth/rdstls
Rdstls
2024-06-12 09:51:08 +02:00
akallabeth 0d2a94f373
Merge pull request #10272 from akallabeth/oss-fuzz-update
[ci,oss-fuzz] disable RDPECAM
2024-06-12 08:02:19 +02:00
akallabeth 65e0d7c5d6
Merge pull request #10271 from oleg0421/json_errno_fix
Fix errno undeclared error in json.c on Ubuntu
2024-06-12 07:54:21 +02:00
akallabeth c9c6f7d952
[ci,oss-fuzz] disable RDPECAM
we do not build with FFMPEG or OpenH264 so the channel build fails
otherwise.
2024-06-12 07:45:33 +02:00
oleg0421 34aed4e571 Fix errno undeclared error in json.c 2024-06-11 11:46:02 -07:00
akallabeth 52b6381a73
[core,gateway] filter out empty IPs from JSON 2024-06-11 17:37:35 +02:00
akallabeth 82ce4f2228
[core,arm] Add all RDSTLS IP to TargetNetAddresses 2024-06-11 17:37:33 +02:00
akallabeth 3c70feb943
[core,rdstls] set last error on authentication response 2024-06-11 17:37:30 +02:00
akallabeth 550a3e40c7
[ci,ios] update defaults 2024-06-11 13:26:09 +02:00
akallabeth 311068e605
[primitives] add image copy primitive
* move freerdp_image_copy_no_overlap implementation to primitives
* add SSE4.1 and AVX2 optimizations
2024-06-11 13:26:06 +02:00
akallabeth fa2813e9f9
Merge pull request #10258 from oleg0421/rdpecam_client
Implement MS-RDPECAM client, closes #4971
2024-06-11 12:27:28 +02:00
akallabeth 2ee987e665
[cmake,codec] refactor codec
* move sse and neon implementations to own subdirectories
* add stubs for missing optimizations (with log messages)
2024-06-11 12:16:20 +02:00
akallabeth 4a71bf8bc8
[channels,rdpecam] fix missing link libraries
* add ffmpeg libraries
* change channel error checks, only FFMPEG supported currently
2024-06-11 12:12:00 +02:00
akallabeth 2831d2f5ec
[cmake] fix add_channel_client and add_channel_server
only add the channels if they are activated (e.g. both,
CHANNEL_<NAME> and CHANNEL_<NAME>_CLIENT or CHANNEL_<NAME>_SERVER are
defined)
2024-06-11 11:39:25 +02:00