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
akallabeth
c81b75f4b5
Merge pull request #10185 from akallabeth/workflow-dep-from-nightly
...
[ci] enable deb-src for workflows
2024-05-14 21:59:54 +02:00
akallabeth
b315ec5777
[ci] enable deb-src for workflows
2024-05-14 21:45:45 +02:00
akallabeth
0184c01114
Merge pull request #10184 from akallabeth/workflow-dep-from-nightly
...
[ci] get dependencies from nightly package
2024-05-14 21:25:27 +02:00
akallabeth
de49d32004
[cmake] fallback detection for cJSON
2024-05-14 21:16:43 +02:00
akallabeth
0fcb933527
[ci] get dependencies from nightly package
2024-05-14 21:11:35 +02:00
akallabeth
8bdf92ca52
[utils] link m library if required
2024-05-14 20:45:38 +02:00
akallabeth
aaded541d9
[core,client] replace cJSON with WinPR wrapper
...
use the new WinPR JSON wrapper API
2024-05-14 20:45:31 +02:00
akallabeth
1b735a5c17
[winpr,utils] add JSON parser wrapper
...
as we now support cJSON and json-c we need to wrap the functions we use.
also allows drop in replacements for older cJSON versions lacking
certain functions.
2024-05-14 20:45:25 +02:00
Ondrej Holy
29bb435ecc
[cmake] add JSON library find modules
...
* Add module for cJSON
* Add module for json-c
2024-05-14 20:45:07 +02:00
Ondrej Holy
5f07ffda94
[cmake] fix typo in comment
2024-05-14 18:11:33 +02:00
akallabeth
e99f994933
Merge pull request #10182 from akallabeth/fix_network_type_with_gfx
...
Fix network type with gfx
2024-05-14 11:53:57 +02:00
akallabeth
1efefceb5c
[core,settings] refactor /network
...
* add CONNECTION_TYPE_INVALID
* default to CONNECTION_TYPE_AUTODETECT
* allow /network:invalid and /network:0 to disable
2024-05-14 11:18:29 +02:00
akallabeth
a1d8754f1f
[core,autodetect] abort on unexpected message.
2024-05-14 11:07:50 +02:00
akallabeth
41d63e1895
Merge pull request #10180 from akallabeth/fixes
...
Warning fixes, documentation update
2024-05-13 09:15:46 +02:00
akallabeth
b6db375b9b
[winpr,utils] fix libjpeg const cast
...
libjpeg API is not const correct, so we need to cast away const
fixes #10175
2024-05-12 20:30:25 +02:00
akallabeth
15fc460c6f
[winpr,timezone] remove struct from struct DIR
...
fix #10176
2024-05-12 20:19:13 +02:00
akallabeth
a86ca848d5
[winpr,timezone] fix NULL strdup
2024-05-12 20:17:06 +02:00
akallabeth
e037f643ea
[doc] update SECURITY.md for 3.x branch
2024-05-12 20:15:54 +02:00
Armin Novak
e272eb3966
[warnings] fix Wshadow warnings
2024-05-08 15:30:01 +02:00
akallabeth
1b8221e5bf
[warnings] fix various minor warnings
2024-05-08 14:53:39 +02:00
akallabeth
a403b3bd1c
[server,proxy] add missing WINPR_NORETURN
2024-05-08 14:53:39 +02:00