Commit graph

7262 commits

Author SHA1 Message Date
Daniel Gräfe
f765e829f2 fix(mac): invalidate event tap CFMachPort on disable 2026-08-08 12:31:15 -04:00
sithlord48
626e170eb6 refactor: move settings clear dialog to settings dialog 2026-08-07 13:51:40 +01:00
sithlord48
7ca8157bd2 refactor: Move the clear settings menu action to the settings dialog Advanced tab 2026-08-07 13:51:40 +01:00
sithlord48
0c902e0557 refactor(SettingsDialog): use a standard margin of 12 for inner margins 2026-08-07 13:51:40 +01:00
Momoyama
9c18070b17 fix(macos): avoid non-selectable IME layouts for remote keys
macOS input methods can expose non-user-selectable keyboard layouts bundled with the input method rather than the user's real selectable keyboard layout. Translating remote key events through those layouts can send IME punctuation semantics to clients instead of the expected ASCII punctuation.

Use the current ASCII-capable keyboard layout when the active input source has no Unicode key layout data and the reported keyboard layout is not directly selectable. Normal selectable keyboard layouts continue to use the existing translation path.

This affects macOS servers forwarding keyboard input to remote clients while an input-method-bundled layout is active.
2026-08-07 13:37:03 +01:00
sithlord48
ed1306aa5d refactor: remove unneeded includes from Core and Daemon IPC classes 2026-08-06 15:38:37 +01:00
sithlord48
86a970a90a build: simplify link for platform library
Add Public and Private links, simplify needed libs for general unix
2026-08-06 13:59:27 +01:00
sithlord48
9da4b5cb87 build: simplify links for gui library
public links to common platform net and Qt6::Widgets
2026-08-06 13:59:27 +01:00
sithlord48
5ef77381d1 build: simplify app lib links
always link platform
 link only Qt6::Xml on non apple unix platforms
2026-08-06 13:59:27 +01:00
sithlord48
0629806eca build: simplify client lib links
Removes the links to app and io on unix platforms
2026-08-06 13:59:27 +01:00
sithlord48
b8e72c6313 refactor: ensure tabwidget start at index 0 2026-08-06 08:07:48 -04:00
sithlord48
8f5ef1efbf refactor(server config dialog): move external server config option to Advanced tab 2026-08-06 07:50:51 -04:00
sithlord48
4e28bce379 refactor(server config dialog): starting tab should depend on if an external config file is being used 2026-08-06 07:50:51 -04:00
sithlord48
fe29194b64 refactor: remove report issue link from menu users should find it via help 2026-08-05 11:38:46 -04:00
sithlord48
dd716c5c7e docs: update config key list 2026-08-05 11:19:26 -04:00
Nick Bolton
a0d643dd89 refactor: replace qFatal with qCritical 2026-08-05 11:05:06 -04:00
Nick Bolton
687d3c7ce8 fix(win): improve module name retrieval in findLoadedModule function 2026-08-05 13:05:27 +01:00
sithlord48
87ac7d8a1f docs: adjust config md to fix up broken screen option table and valid key list 2026-08-04 23:04:36 -04:00
Charles Jones
f8edc7b0ae fix: preserve locked modifiers on ei backend 2026-08-04 14:33:05 -04:00
piterpunk
0d21f54cb2 fix(wayland): Corrects the cursor coordinates mapping at primary desktop
Remapping the cursor coordinates to the portal edge size makes the mouse
position being relative to the edge size, in a multi-monitor environment
this edge can be in only one of the monitors and the cursor coordinates
got wrong.

This changes uses the full height and the full width of the combined
monitors to set the mouse cursor position, cropped by the portal edge
size.
2026-08-04 09:42:22 -04:00
Mustafa Senoglu
40f743fb37 fix: handle top-down DIB images in clipboard bitmap converter
A BITMAPINFOHEADER with negative biHeight (top-down DIB) caused
std::length_error crash in toIClipboard because 4 * w * h went
negative and wrapped to a huge size_t in string::append.

Fix: use abs(height) for buffer size and SetDIBitsToDevice, and
add null check for CreateDIBSection.

fixes: #9869
2026-08-03 22:17:26 +01:00
sithlord48
3c37f2ff11 ci: use ubuntu latest and devel tags for ubuntu builders 2026-07-30 21:53:12 +01:00
sithlord48
49eb5cf334 ci: use fedora latest and rawhide version for building 2026-07-30 21:53:12 +01:00
sithlord48
55c7109c8f build(arch): adjust for libgcc package name 2026-07-30 21:25:03 +01:00
sithlord48
9a912abfa7 chore: remove windowGeometry from validsetting list it a state only item 2026-07-30 16:19:47 +01:00
sithlord48
7d9d85b85f chore(settings): remove un needed over qualification on local names 2026-07-30 16:19:47 +01:00
sithlord48
cebeea03ed refactor (settings): save xdgtokens in state not settings 2026-07-30 16:19:47 +01:00
sithlord48
10a653b467 build: flatpak use kde platform 6.11 2026-07-30 16:05:57 +01:00
Luiz Sardinha
0bc325addc fix(mac): properly handle system initiated quit events 2026-07-28 17:26:09 +01:00
sithlord48
352f494bee docs: Pack in markdown for use in help viewer, remove user docs as they are now normal docs to ship
removes need for doxygen to build general documents
2026-07-28 12:09:51 -04:00
sithlord48
99eb7dc27f feat: add view help to help menu 2026-07-28 12:09:51 -04:00
sithlord48
05f42e6483 build: place mac os docs in resources/docs 2026-07-28 12:09:51 -04:00
rNoz
3006b95a02 fix(macos): null-check the input source languages before counting them
TISGetInputSourceProperty returns NULL for an input source that has no
kTISPropertyInputSourceLanguages value, but both loops evaluate
CFArrayGetCount(layoutLanguages) before the "&& layoutLanguages" guard.
The guard is therefore dead and CFArrayGetCount dereferences NULL.

Test the pointer first.

Signed-off-by: rNoz <rnoz.commits@gmail.com>
2026-07-28 16:20:12 +01:00
ElCruncharino
35d877e128 refactor: make SecureSocket write-retry state per connection
doWrite()'s retry/buffer state was held in function-local static
variables, shared across every SecureSocket instance in the process
rather than per connection. Move it to instance members, and simplify
secureRead()/secureWrite()'s retry counters (also static, but not
load-bearing across calls) to plain locals.
2026-07-28 09:06:06 -04:00
ElCruncharino
59d41b906e fix(win): stop TLS sockets busy-spinning the socket poll loop
pollSocket() caches a socket's writability and skips waiting once it's
known writable, relying on writeSocket() to clear the cache on
WSAEWOULDBLOCK. SecureSocket writes via SSL_write(), bypassing
writeSocket() entirely, so the cache never clears and the multiplexer
spins at a zero timeout instead of blocking whenever TLS hits
backpressure.

Add IArchNetwork::resetPollWriteOnSocket() and call it from
checkResult()'s SSL_ERROR_WANT_WRITE case, mirroring writeSocket()'s
existing WSAEWOULDBLOCK handling.
2026-07-28 09:06:06 -04:00
ZeroSegFault
0d7414d89a fix(mac): preserve mouse event numbers when dragging on macOS 27 2026-07-27 12:28:35 +01:00
thiago
831f9cb044 fix all keyboard shortcuts send the same keystroke 2026-07-26 21:11:40 -04:00
sithlord48
3dd6b6a49f build: remove gtk3 2026-07-23 12:16:22 +01:00
sithlord48
778950c247 build: remove glib2 dependency 2026-07-23 12:16:22 +01:00
sithlord48
d9c01486e8 build: remove libm links 2026-07-23 12:16:22 +01:00
sithlord48
afe502d2f9 ci: valgrind run ctests 2026-07-23 12:05:17 +01:00
sithlord48
9981910814 build: remove google tests and remaining gtest 2026-07-20 18:35:07 +01:00
sithlord48
63c83b8640 build: enable CMP0207, Use native paths when gathering windows dll runtime depends 2026-07-20 18:03:33 +01:00
ElCruncharino
6d48d3663e fix: release EIS emulation grab when idle so client screens can sleep 2026-07-20 12:52:21 -04:00
Luiz Sardinha
d38c69c05d fix(mac): ensure background clicks work correctly on macOS 27 2026-07-20 12:11:22 +01:00
sithlord48
48ee839357 build: put coverage items in more sane locations 2026-07-20 09:09:24 +01:00
sithlord48
d3e5a94861 bulid: move main cmake options to one place 2026-07-20 09:09:24 +01:00
sithlord48
92d0fa86c8 build: find Qt in topLevel CMake 2026-07-20 09:09:24 +01:00
tehreet
96f544de6d fix: capture the mouse on macOS while the cursor is on a client
On the server, while the cursor is on a client, every physical mouse move
warped the local cursor back to screen center and the tap callback returned
the mouse-move event instead of consuming it. That leaked continuous motion
to whatever local app sat under the centered cursor (e.g. a fullscreen game
or a centered video reacting to the phantom movement).

Capture the mouse the way macOS games do instead: dissociate the hardware
mouse from the cursor in leave() so the cursor freezes and hides, read raw
deltas from the event in onMouseMove(), consume off-screen moves in the tap
callback, and re-associate in enter() (disable() already does via
showCursor()). This retires the center-warp and the "bogus motion" edge
heuristic that only existed to paper over the warp.

fixes: #5871
2026-07-18 13:25:30 -04:00
ElCruncharino
89a6c7f2ed fix(wayland): stop EiScreen cursor from following transient shape churn
updateShape() unconditionally recentered the cursor and notified the
server on every call, even mid-churn when no device reports a region
yet. Only touch tracked state once a real region is found, and only
notify the server when the shape actually changed.
2026-07-17 22:34:09 +01:00