Commit Graph

18768 Commits

Author SHA1 Message Date
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
afde527120
[gdi,gfx] unify updatesurfaces calls 2024-05-23 14:26:17 +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
akallabeth
ac69cf346e
[cmake] add missing include
include(CMakeDependentOption) before use.
2024-05-16 16:51:55 +02:00
Ondrej Holy
3f97fb59ad
[client,sdl] add test case for SDL prefs
Let's add test case for SDL prefs functionality. This is to test the
JSON wrapper to ensure it doesn't break something.
2024-05-16 16:51:44 +02:00
akallabeth
632f500f3e
[client,sdl] refactor SdlPref
* Wrap in class
* Allow overriding default configuration file for tests
2024-05-16 15:37:22 +02:00
akallabeth
c073c76871
Merge pull request #10183 from akallabeth/jsonc
Jsonc
2024-05-16 15:17:11 +02:00
akallabeth
4b3ecfac47
[winpr,utils] fix cJSON detection
* pkg-config sets CJSON_FOUND, check for that instead of the paths, which
  might be unset or set to <var>-NOTFOUND
* move detection to own file. find_package targets are meant to be used
  in same directory or below, but we define the WinPR target one above,
  so include it in parent
2024-05-16 13:27:22 +02:00
Ondrej Holy
945c496812
[client,sdl] use WITH_WINPR_JSON instead of WINPR_JSON_FOUND
The WINPR_JSON_FOUND macro is never defined currently. Consequently,
the SDL prefs always use the fallback implementation. Let's use the
WITH_WINPR_JSON instead to really parse the sdl-freerdp.json file.
2024-05-16 11:56:17 +02:00
Ondrej Holy
e197d27c8d
[client,sdl] move prefs to static lib
This is in preparation for the subsequent commit adding test case for
the prefs functionality to avoid building the code twice.
2024-05-16 11:56:13 +02:00
Ondrej Holy
15c78a27f2
[cmake] really use pkg_check_modules results for json-c
Although, the `pkg_check_modules` function is used when finding the
json-c library, the results are never used. Let's add the `HINTS` params
for the `find_path` and `find_library` functions.
2024-05-16 11:56:08 +02:00
Ondrej Holy
9aca06e0b7
[core,gateway] always return in case of error
Currently, the `arm_handle_bad_request` function returns `FALSE` when the
`cJSON_ParseWithLength` function fails to parse the message, but only when
the `cJSON_GetErrorPtr` returns a valid pointer. It would be better to
return regardless of the `cJSON_GetErrorPtr` return value.
2024-05-16 11:56:03 +02:00
Ondrej Holy
702acc93c6
[client,sdl] remove duplicated include statement 2024-05-16 11:55:58 +02:00
Armin Novak
4bdc9ad950
[winpr,utils] fix cJSON fallback detection 2024-05-15 13:46:38 +02:00
akallabeth
5bc74f43c8
Merge pull request #10186 from akallabeth/workflow-dep-from-nightly
revert Workflow dep from nightly
2024-05-14 22:21:49 +02:00
akallabeth
077335b412
Revert "[ci] get dependencies from nightly package"
This reverts commit 0fcb933527.
2024-05-14 22:08:51 +02:00
akallabeth
be436e644e
Revert "[ci] enable deb-src for workflows"
This reverts commit b315ec5777.
2024-05-14 22:08:01 +02:00