Commit Graph

4663 Commits

Author SHA1 Message Date
akallabeth
14f927e352 [client,sdl] improve clipboard
* Improve clipboard cache, now only request data from remote if the
  format can not be synthesized from existing data.
* Only add bitmap formats that are compiled in (webp, png, jpeg)
2025-03-14 08:49:02 +01:00
akallabeth
d485803547 [client,android] fix clipboard warnings 2025-03-12 21:27:19 +01:00
Armin Novak
8fb49b0abe [warnings] fix coverity warnings 2025-03-12 13:44:59 +01:00
Armin Novak
3e6707c443 [warnings] fix issues from ci builder 2025-03-12 12:02:04 +01:00
akallabeth
1a5ba989e8 [warnings] fixed integer casts 2025-03-11 17:23:58 +01:00
akallabeth
f942eb1743 [client,sdl] fix wrong return type
SDL2 returned int, SDL3 mostly bool
2025-03-11 11:01:17 +01:00
akallabeth
7e0e62c5ce [null-dereference] fix possible NULL dereference 2025-03-11 09:37:09 +01:00
akallabeth
a59a3e25a2 [client,sdl] do not compile WinMain for mingw builds 2025-03-10 22:13:38 +01:00
akallabeth
918f5d5af9 [windows] fix deprecation and int warnings 2025-03-10 17:52:36 +01:00
akallabeth
75c675aee8 [client,sdl] #include <SDL3/SDL_main.h> 2025-03-10 15:41:07 +01:00
akallabeth
30626cc3ec Merge pull request #11315 from akallabeth/xfreerdp-apple
[client,x11] add apple keyboard fallback
2025-03-10 15:35:45 +01:00
Martin Fleisz
3ec89323c8 client: Fix reading/writing of dynamic resolution RDP file setting 2025-03-10 12:48:14 +01:00
Biswapriyo Nath
b49cb57130 [cmake] Fix DLL install directory
This installs DLL in /bin directory in mingw environment. Previously,
DLL was installed in /lib. Those need to be mentioned explicitly, see
https://cmake.org/cmake/help/latest/command/install.html
2025-03-10 10:13:11 +00:00
akallabeth
de240cfb75 [client,x11] add apple keyboard fallback
Add workaround for missing XkbGetNames on apple devices
2025-03-10 11:11:21 +01:00
akallabeth
a1952b11ba Merge pull request #11307 from mfleisz/fix-rdpfile-writing
[client] Fix writing incorrect type for integer values in RDP file
2025-03-07 13:25:41 +01:00
Martin Fleisz
87af371f72 [client] Fix writing incorrect type for integer values in RDP file 2025-03-07 09:46:54 +01:00
akallabeth
4c1cc2cc0c [warnings] fix unused function and variables 2025-03-07 09:35:03 +01:00
akallabeth
83f2de743c [client,sdl3] fix bitmap clipboard copy 2025-03-06 17:32:17 +01:00
akallabeth
d2047c4d5e Merge pull request #11303 from akallabeth/sdl-common
sdl-common
2025-03-06 16:46:17 +01:00
akallabeth
3551459e2c sdl-common 2025-03-06 16:22:15 +01:00
akallabeth
075e2fa5c9 [debug] fix compile issues with WITH_DEBUG* builds 2025-03-06 16:18:01 +01:00
akallabeth
3186977e15 [cmake] Invert WITH_FREERDP_3x_DEPRECATED
API breaking change, with this logic the symbol needs to be manually
defined by an API user. So, to fix this:
* Rename to DROP_FREERDP_3x_DEPRECATED
* Invert logic, so a undefined value enables the symbols
2025-03-06 15:30:26 +01:00
Michael Tokarev
19f129654e spelling: dont 2025-03-06 13:24:29 +03:00
akallabeth
98443eb8f4 [cmake] drop deprecated clients when WITH_FREERDP_3x_DEPRECATED is OFF 2025-03-06 07:25:37 +01:00
Armin Novak
7d87de6572 [client,x11] decrease logging verbosity
load_map_from_xkbfile now only logs WLOG_TRACE when dumping the keycode
to scancode map.
2025-03-05 22:27:41 +01:00
akallabeth
0f45b5e40c Merge pull request #11288 from akallabeth/tsg-fix
[core,gateway] add tsg checks
2025-03-05 14:17:45 +01:00
akallabeth
7496f6e42c Merge pull request #11273 from akallabeth/cleanups
[client,x11] implement keyboard mapping
2025-03-05 14:07:12 +01:00
Armin Novak
9be8518873 [client,common] fix gateway parameter parsing
Abort if an invalid /gateway:type:xxx parameter was passed.
2025-03-05 14:06:19 +01:00
Armin Novak
8899a090bb [client,sdl] use WIN32_GUI_FLAG 2025-03-05 11:27:42 +01:00
Armin Novak
9b82cb8f3a [client,sdl] fix SDL3 output name 2025-03-05 11:24:38 +01:00
akallabeth
d765de8484 [warnings] eliminate dead code 2025-03-05 11:01:44 +01:00
Martin Fleisz
f2db1ffe94 client: Move buffer pointer after writing settings 2025-03-05 10:32:06 +01:00
akallabeth
8ea2c5dde6 [client,x11] implement keyboard mapping
* move to client code
* fix parse_xkb_rule_names
2025-03-04 13:26:42 +01:00
akallabeth
764753af31 [client,sdl] implement mouse move on focus
Send current mouse position move event when focus is gained.
2025-03-04 12:42:36 +01:00
akallabeth
41b0598fc1 [warnings] eliminate dead code 2025-03-04 09:57:46 +01:00
akallabeth
6d541c8691 [warnings] eliminate dead code 2025-03-04 09:53:05 +01:00
akallabeth
031dd16079 [warnings] clean up unused parameter and dead code 2025-03-03 12:08:35 +01:00
akallabeth
d4f7fb081b [warnings] fix -Wunused-function
* delete unused functions that are no longer required
* define guard functions only used while debugging
2025-02-27 19:29:46 +01:00
akallabeth
a520f845a3 [warnings] fix -Wunused-macro
comment or delete macros that were not used.
2025-02-26 22:12:18 +01:00
akallabeth
efb70690b3 [client,x11] improve action script logging 2025-02-26 18:49:26 +01:00
Thore Sommer
30054052cc [client,cmdline] fix port parsing for gateway 2025-02-25 13:41:48 +01:00
akallabeth
26ca0bd146 Merge pull request #11238 from akallabeth/warn-priority
[client,x11] reduce verbosity of actionscript log
2025-02-25 08:39:15 +01:00
akallabeth
f817301858 [client,x11] reduce verbosity of actionscript log 2025-02-24 21:03:29 +01:00
akallabeth
51685ea1bd [client,common] improve parsing of TLS options 2025-02-24 13:31:09 +01:00
akallabeth
52fb11d16c [client,android] fix warnings in clipboard 2025-02-22 22:49:07 +01:00
akallabeth
770c0fde54 [client,common] improve docs for /kbd:remap option 2025-02-21 10:49:16 +01:00
akallabeth
4e111874de [client,sdl] mark SDL2 as deprecated.
SDL2 client is a dead end due to lacking API (clipboard support, ...) so
mark the SDL2 client deprecated and point out there is a SDL3 version
available
2025-02-21 09:17:16 +01:00
akallabeth
36d29e58af [client,sdl] fix keyboard grab
* on grab key toggle state
* only update grab state in sdlInput::keyboard_grab
2025-02-17 05:03:37 +01:00
akallabeth
d100bff706 [client,x11] fix dynamic resize with fullscreen 2025-02-16 09:46:14 +01:00
akallabeth
a2950f61c8 [client,x11] only filter input on floatbar lock 2025-02-16 09:06:37 +01:00