Commit Graph

18782 Commits

Author SHA1 Message Date
akallabeth
3b895deb97
[channels,drdynvc] set thread priority 2024-05-24 15:44:20 +02:00
akallabeth
ef4c1766d2
[winpr,thread] implement SetThreadPriority 2024-05-24 15:44:17 +02:00
akallabeth
a046314d98
Merge pull request #10211 from akallabeth/sdl-window-renderer
[client,sdl] Use SDL_CreateWindowAndRenderer
2024-05-24 11:06:45 +02:00
akallabeth
497a72668b
[ci] add write permission for clang-tidy 2024-05-24 10:04:19 +02:00
akallabeth
06598da910
[client,sdl] fix resourcemanager
due to moving to a static class the C++ initializer did no longer work.
add explicit calls for initializers to ensure the generated classes are
referenced.
2024-05-24 09:46:07 +02:00
akallabeth
e253d78053
Merge pull request #10208 from akallabeth/image_copy_improve
Image copy improve, bugfixes
2024-05-24 09:01:00 +02:00
akallabeth
2efcf1c436
[client,sdl] Use SDL_CreateWindowAndRenderer
Recommendated in https://github.com/libsdl-org/SDL/issues/9076
2024-05-24 08:59:10 +02:00
akallabeth
776a7b727f
[core,gcc] clear multitransport
if the client does not send a multitransport capability clear the flags.
2024-05-23 14:48:41 +02:00
akallabeth
ef86df9a26
[crypto,tls] log BIO_do_handshake errors
add proper logging to make details of failures auditable
2024-05-23 14:48:39 +02:00
akallabeth
1b3f3a0408
[codec,color] expose freerdp_image_copy (no)overlap
expose functions for overlapping and non overlapping images to use
directly
2024-05-23 14:48:36 +02:00
akallabeth
1a58e74c17
[codec,color] freerdp_image_copy_no_overlap
use single memcopy if possible to speed up copy
2024-05-23 14:48:33 +02:00
akallabeth
6b00517b40
Merge pull request #10209 from akallabeth/ci-pull
[ci] move back to pull_request trigger
2024-05-23 14:35:37 +02:00
akallabeth
1b2d029d79
Merge pull request #10206 from hardening/client_info_fix
[core] fix clientInfo with both dynamicTimeZone and reconnect cookie
2024-05-23 14:35:17 +02:00
akallabeth
afde527120
[gdi,gfx] unify updatesurfaces calls 2024-05-23 14:26:17 +02:00
akallabeth
cf66f895a1
[ci] move back to pull_request trigger
pull_request_target does not allow approval and runs unconditionally.
2024-05-23 14:21:48 +02:00
David Fort
3147df8486 [core] fix clientInfo with both dynamicTimeZone and reconnect cookie
The ClientInfo packet was wrongly forged when we had dynamic timezone and a
reconnect cookie (reserved fields written twice).
2024-05-23 12:32:10 +02:00
David Fort
96d19ef118
Merge pull request #10204 from hugo-syn/master
chore: fix typo in doc
2024-05-22 19:18:14 +02:00
David Fort
f9bd3ab1b9
Merge pull request #10205 from akallabeth/clip-msg-response
[client,cliprdr] send format list msgFlags = 0
2024-05-22 19:17:38 +02:00
Armin Novak
41841997cc
[client,cliprdr] send format list msgFlags = 0
only a response message might have msgFlags != 0 set
2024-05-22 16:31:34 +02:00
hugo-syn
e4c98d8cf2
chore: fix typo in doc 2024-05-22 10:31:06 +02:00
akallabeth
6ebb0889d9
Merge pull request #10203 from akallabeth/streamdump-log
[core,streamdump] use dynamic logger
2024-05-21 15:21:58 +02:00
akallabeth
0b035d69e1
[winpr,wlog] fix format string
the millisecond format string should be "%03u" instead of "%02u"
2024-05-21 14:57:26 +02:00
akallabeth
5475f3fc24
[channels,rdpgfx] use static stream 2024-05-21 14:56:53 +02:00
akallabeth
5ca17aa8f3
[core,streamdump] use dynamic logger
* Decrease logging verbosity of streamdump
* Fix namespace of logger
* Use dynamic preallocated logger
2024-05-21 11:41:59 +02:00
akallabeth
440fafe0c8
Merge pull request #10202 from akallabeth/relax-protocol
[core,caps] Allow invalid TS_GENERAL_CAPABILITYSET::protocolVersion
2024-05-21 11:22:34 +02:00
akallabeth
8d5c5dc2ef
[core,caps] Allow invalid TS_GENERAL_CAPABILITYSET::protocolVersion
some FreeRDP versions did send an invalid value of 0x0000 instead of the
required 0x200. Log this kind of violation but continue.
2024-05-20 15:13:12 +02:00
akallabeth
3dfd617e15
Merge pull request #10199 from akallabeth/json-c-compat
[winpr,utils] add json-c compat
2024-05-17 13:06:34 +02:00
akallabeth
48381d0d60
[winpr,utils] add json-c compat
for old json-c releases < 0.14.0 add a json_object_new_null replacement
2024-05-17 12:43:02 +02:00
akallabeth
9c687650a2
Merge pull request #10198 from akallabeth/dump-replay-fix
Dump replay fix
2024-05-17 11:22:24 +02:00
akallabeth
17bc7b7613
[client,common] add nodelay to dump options
add a new flag nodelay to /dump option to replay dumps as fast as
possible
2024-05-17 10:36:30 +02:00
akallabeth
470ef43da2
[core,streamdump] implement nodelay
allow records to be played without delay making them faster than
originally recorded
2024-05-17 10:36:22 +02:00
akallabeth
d545509f72
[settings] add TransportDumpReplayNodelay 2024-05-17 10:10:02 +02:00
akallabeth
f1e0b5367f
[transport_io] fix declaration of freerdp_io_callback_set_event
the argument was badly named, as it is setting the event and not
resetting it.
2024-05-17 10:05:15 +02:00
akallabeth
3ced20ec5b
[core,streamdump] reset stream if packet discarded
* in stream_dump_replay_transport_read function discard previously
  read data if it was discarded.
* stream_dump_register_read_handlers needs to set
  freerdp_io_callback_set_event as otherwise we would block indefinitely
  waiting for the first data read to occur.
2024-05-17 10:04:07 +02:00
akallabeth
a1c67e6535
Merge pull request #10197 from akallabeth/alt-arch
[ci,alt] fix missing dependency
2024-05-17 08:16:58 +02:00
akallabeth
56b27413ae
[ci,alt] fix missing dependency 2024-05-16 23:40:04 +02:00
akallabeth
e3d5ef85ff
Merge pull request #10196 from akallabeth/deb-sdl3
Deb sdl3 support
2024-05-16 23:19:01 +02:00
akallabeth
e72f634fba
[client,sdl] automatically use detected SDL
* Automatically enable detected SDL version
* Abort if no SDL version is detected
2024-05-16 23:07:07 +02:00
akallabeth
ff772084e6
[client,sdl] add assignmen and move operator delete 2024-05-16 20:50:07 +02:00
akallabeth
00e4fc267a
[ci,nightly] add sdl3 build support
add sdl3 and sdl2 as alternatives to debian/control
2024-05-16 20:48:53 +02:00
akallabeth
c755918e3a
Merge pull request #10195 from akallabeth/sdl3-improve
[client,sdl] merge SDL2 and SDL3 projects
2024-05-16 20:46:39 +02:00
akallabeth
cc038ad89b
[client,sdl] merge SDL2 and SDL3 projects 2024-05-16 20:34:11 +02:00
akallabeth
6ddc7d321b
Merge pull request #9387 from akallabeth/sdl3
[sdl] update to SDL3
2024-05-16 19:11:46 +02:00
akallabeth
35859c81a1
[client,sdl] allow side by side and replacement
Allow SDL2 and SDL3 client to be installed side by side as well as an
option to only install one and name it accordingly
2024-05-16 18:27:44 +02:00
akallabeth
23229859d7
[channel,cliprdr] warn on invalid msgFlags in requests 2024-05-16 18:27:38 +02:00
akallabeth
4c4e185b66
[client,sdl] add clipboard support 2024-05-16 18:27:32 +02:00
akallabeth
4a2ebe263b
[client,sdl] update to SDL3
update client for SDL3. Not compatible with SDL2
2024-05-16 18:27:26 +02:00
akallabeth
8281186a6d
[client,sdl] create a copy for SDL3
* Copy SDL2 client to SDL3 as the new version is not API compatible
* Move existing SDL2 client to SDL2 directory
* Move fonts from SDL client to resources folder in top level directory
2024-05-16 18:27:11 +02:00
akallabeth
45d57a8e65
Merge pull request #10194 from akallabeth/sdl_pref_class
Sdl pref class
2024-05-16 18:12:33 +02:00
akallabeth
e5bb2f98f8
[ci,nightly] add json-c alternative to debian 2024-05-16 17:01:07 +02:00