Commit Graph

4725 Commits

Author SHA1 Message Date
akallabeth
914473e87b [client,android] update
* update dependenciy versions in build script
* update gradle dependencies
2025-05-05 13:35:04 +02:00
akallabeth
c8c2cf58fa [client,sdl] ignore scale update if not connected 2025-05-05 10:08:27 +02:00
akallabeth
10ea342dc4 [client,sdl] ignore SDL_SetWindowSize failures
just log and continue.
2025-05-05 10:08:20 +02:00
akallabeth
0b4893d59c [client,sdl] ignore scale change if call fails
If SDL_GetWindowDisplayScale fails ignore the change.
2025-05-05 10:08:12 +02:00
akallabeth
93a2c02c0a [client,sdl] mark SDL3 as no longer experimental 2025-04-30 16:02:10 +02:00
akallabeth
df22e0087d [client,mac] disable mac client
it no longer compiles with mac os 15
2025-04-29 12:55:51 +02:00
akallabeth
45d42d1db3 [client,sdl] fix SDL-ttf usage
* hide library in sdl/dialogs, do not call functions from outside
2025-04-22 12:05:57 +02:00
Armin Novak
ce8fc4e0f4 [client,sdl] only draw to window if connected 2025-04-15 10:16:22 +02:00
Armin Novak
fca2974219 [client,sdl] force primary monitor in windowed mode 2025-04-14 16:18:07 +02:00
Armin Novak
55737d1cdd [client,sdl] fix compiler warning 2025-04-14 14:40:27 +02:00
akallabeth
f6be69818f [client,sdl] use a GUID to identify the clipboard
Use a clipboard mime type with a GUID to identify the specific FreeRDP
instance. When running multiple clients it might confuse a clipboard
update from another instance with an internal one otherwise.
2025-04-13 09:58:26 +02:00
akallabeth
3805575c58 Merge pull request #11384 from akallabeth/rel-mouse-change
Rel mouse change
2025-04-11 08:21:14 +02:00
akallabeth
a978a8124f [client,sdl] fix orientation update
* Properly set display orientation in display update messages
* Unify some conversion functions
2025-04-10 15:06:11 +02:00
akallabeth
da21ac3792 [client,sdl] fix clipboard updates
* Ignore updates for our own data (use a special clipboard format to
  identify these)
2025-04-10 13:25:44 +02:00
akallabeth
04c1c75d63 [client,sdl] only send relative mouse event if no cursor shown 2025-04-10 08:48:50 +02:00
akallabeth
aa816ab92c [client,x11] use rel mouse events only when no cursor set 2025-04-10 08:43:35 +02:00
akallabeth
7e11df73ba [client,common] add setting FreeRDP_MonitorOverrideFlags
use this mask to mark monitor settings set from command line.
2025-04-10 08:31:56 +02:00
akallabeth
6f8dddd5a9 [client,sdl] make std::queue thread safe 2025-04-10 08:31:52 +02:00
akallabeth
3c354a5f1b [client,sdl] refactor display update 2025-04-10 08:31:45 +02:00
akallabeth
bcdac17bda [client,sdl] wrap connection dialog
* make all getter/setter threadsafe
* decouple SDL update, run in SDL event queue
2025-04-07 17:45:45 +02:00
akallabeth
55865f1f2d [client,sdl] remove RDP and SDL thread dependencies 2025-04-07 11:10:35 +02:00
akallabeth
dde00a3646 [cmake] group project targes 2025-04-07 11:09:41 +02:00
akallabeth
96ddcd71a7 [client,sdl] quit on window close
When a window close button is pressed terminate the RDP session.
2025-04-03 15:53:57 +02:00
akallabeth
2950825dd5 [client,sdl] fix unused result warning 2025-04-03 13:41:35 +02:00
akallabeth
0a3602cb9a [client,sdl] fix multimonitor fullscreen 2025-04-03 13:37:20 +02:00
akallabeth
ec9c935c36 [client,sdl] unify all gdi_suppress_output calls 2025-04-03 12:17:11 +02:00
akallabeth
da7fefba11 Revert "[freerdp,codecs] fix deprecation for GCC"
This reverts commit 67fabc34dc.

The change eliminates the deprecation warnings but produces
Wredundant-decl warnings instead...
2025-04-03 11:32:16 +02:00
akallabeth
85523ac7d4 [client,sdl] simplify suppress output handling 2025-04-03 11:25:08 +02:00
akallabeth
6314e93939 [cmake] drop legacy and unused cmake_policy
Some cmake_policy settings have long been active by default (3.13 is our
current baseline) or simply unused. Due to issues with CMake 4.0 lets
drop them
2025-04-03 08:31:36 +02:00
akallabeth
c616b35f68 [client,mac] prefer unicode from clipboard
Some servers do not send clipboard formats in preference order. Prefer
CF_UNICODE over all localized text formats.
2025-04-02 12:55:53 +02:00
akallabeth
5db5136bde [client,windows] ignore clipboard failures 2025-03-27 15:47:09 +01:00
akallabeth
cfa63ad2f0 [client,sdl] fix return by abort event 2025-03-27 12:39:09 +01:00
akallabeth
3e0d1ae587 [client,x11] map exit code success 2025-03-27 12:12:57 +01:00
akallabeth
8d469feda0 [client,sdl] fix initial window size
* on high dpi displays set appropriate initial display size (divide
  pixel size with scale)
* send display resize on window resize events
* send display resize on any window event (minimize/maximize/expose/...)
2025-03-26 20:34:57 +01:00
akallabeth
a82e0dec2f [client,sdl] fix crash on suppress output
SDL events might be triggered before the RDP session is up. Check the
context for NULL.
2025-03-25 16:47:42 +01:00
akallabeth
64a114f69f [client,sdl] fix windows type mismatch 2025-03-25 11:53:40 +01:00
akallabeth
6f326ad1ef [clinet,sdl] send local layout to server 2025-03-25 11:11:54 +01:00
akallabeth
6f66fdf28c [client,sdl] fix assertions
On processing SDL_EVENT_WINDOW_DISPLAY_SCALE_CHANGED do not assert
functions but only their result.
2025-03-25 09:07:03 +01:00
akallabeth
0836419757 [client,x11,sdl] sync keyboard state after hotkey
If a client side key combination was detected issue a keybard state sync
to reset the server side keyboard to initial state with no keys pressed.
2025-03-25 08:37:53 +01:00
akallabeth
cc577b2361 Merge pull request #10982 from jpy794/sdl3-hidpi
Fix sdl3-freerdp blurry scaling on wayland when scale factor > 1
2025-03-24 18:30:34 +01:00
akallabeth
67f723793f [clients] remove keyboard state sync on CAPS release
The keyboard state was synced in xfreerdp (and more recently
sdl3-freerdp) when the CAPS key was released.
Some investigation revealed this to be a historic workaround for loss of
keyboard state sync (e.g. NUK, CAPS or SCROLL getting out of sync)

This can not happen anymore as all events during windows focus are
processed properly and every time the keyboard state changes outside it
is synchronized when focus is gained.
2025-03-24 18:03:40 +01:00
jpy794
0b6329bdd6 enable sdl3 hidpi
fix wait create windows

enable sdl hidpi

map mouse event

fix smart sizing

dynamic resolution in hidpi

reset drawing offset when resize is done

tirgger a full redraw to sdl window after resizing

format & fix warning

sdl hidpi cursor workaround

clean up

format
2025-03-25 00:51:31 +08:00
akallabeth
965d47d11a [client,sdl] sync keyboard state on capslock
Copy behavior from xfreerdp to keep the capslock state in sync.
2025-03-24 09:44:48 +01:00
akallabeth
1f8989c271 [client,sdl] query keyboard grab directly from settings 2025-03-24 09:38:09 +01:00
akallabeth
b581999e38 [client,sdl] initialize keymap remap table on first event 2025-03-22 21:33:54 +01:00
akallabeth
d41c2b3dc8 ]client,x11] fix unicode lookup 2025-03-22 20:49:35 +01:00
akallabeth
4fcc44fe72 [client,cmdline] fix rdp2tcp parsing
allow command lines without this channel to succeed as well.
2025-03-20 17:45:47 +01:00
akallabeth
1f26225f69 [client,cmdline] fix rdp2tcp argument passing 2025-03-20 17:31:20 +01:00
akallabeth
e0175d1074 Merge pull request #11381 from akallabeth/code-cleanups2
abi-checker improvements
2025-03-20 09:31:37 +01:00
akallabeth
2c796d0840 [client,x11] fix cast for LogTagAndXChangeProperty 2025-03-20 09:18:17 +01:00