Commit Graph

28 Commits

Author SHA1 Message Date
Mariano Abad 6e27672774 refactor: move the socket probe to its own file behind a feature
Addresses the maintainer's two requests on #580: linux.rs was crowded,
and the new fallback should not touch the base Wayland path.

All the socket-probe machinery moves to src/platform/linux/wayland_probe.rs
- the child entry point, the runtime-dir scan, the privilege drop, the
process-group probe and its buffered-line inspection - leaving
WaylandDisplayInfo and get_wayland_displays in linux.rs. The module and
the fallback call in get_wayland_displays are gated on a new off-by-default
feature 'wayland_probe'; without it get_wayland_displays returns the
connect error exactly as it did before this fallback existed, so a
consumer that does not build the DRM login-screen backend compiles none
of this. The DRM build turns the feature on through scrap/drm.
2026-08-12 01:48:27 -03:00
fufesou 1f5ec1219f refact(crate): libloading x11
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-01-21 11:09:44 +08:00
fufesou 6df5c2c0ce feat: linux, get_home_trusted
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-12-22 23:18:35 +08:00
RustDesk 3e1e58747a Update Cargo.toml 2025-11-13 22:15:04 +08:00
lichon 7f1941332b Merge branch 'rustdesk:main' into main 2025-11-13 21:00:36 +08:00
lc 8ae4651bc7 make webrtc-rs optional feature 2025-11-13 16:53:07 +08:00
fufesou 4fe91763b7 fix: Wayland resolution
1. Add filed `scale` in `message SwitchDisplay`(`message.proto`).
2. Add new function to get all display info.
3. Add help link of KDE Plasma Wayland.

Signed-off-by: fufesou <linlong1266@gmail.com>
2025-11-12 23:16:04 +08:00
lc 442160d704 add webrtc stream 2025-11-12 19:46:55 +08:00
fufesou 2985cd84b6 refact: update crate webpki-roots
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-11-02 23:15:26 +08:00
fufesou ae7f2b2c9d fix: crate version, webpki-roots
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-11-02 23:05:08 +08:00
fufesou ccb2214a0e refact: env logger, filter modules
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-11-02 22:56:25 +08:00
fufesou 54c4d869ed refact: tls native-tls fallback rustls-tls
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-10-31 12:37:23 +08:00
21pages bbc8e2f31a add mobile fallback platform verifier
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-10-30 13:13:04 +08:00
RustDesk 84a13ad7f3 Revert "mobile wss use rustls_platform_verifier" 2025-10-30 10:27:55 +08:00
21pages bf9a79fda5 mobile wss use rustls_platform_verifier
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-10-27 10:29:26 +08:00
RustDesk 78facdf759 revert flex log 2025-06-11 01:02:18 +08:00
RustDesk df95f44499 more udp punch 2025-06-10 12:01:43 +08:00
RustDesk b69b097c6f kcp stream 2025-06-03 19:41:30 +08:00
21pages 585bd1f152 websocket
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-05-08 18:20:38 +08:00
RustDesk 368dc1ab56 Update Cargo.toml 2025-04-30 20:51:38 +08:00
fufesou 8c2381278b fix: build
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-04-30 20:35:44 +08:00
fufesou 8e1dd7f88f feat: hostname as id
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-04-30 12:50:22 +08:00
YinMo19 512f67f25e [merge] merge conflict 2025-04-24 22:34:44 +08:00
YinMo19 c156d2eef7 [enhance] websocket 2025-04-17 11:42:58 +08:00
RustDesk 9e4b3f9696 Update Cargo.toml 2025-04-14 12:00:55 +08:00
RustDesk 5cc7db2676 Update Cargo.toml 2025-04-14 11:40:10 +08:00
RustDesk a26f25a045 tokio 1.44 2025-04-13 23:39:02 +08:00
21pages 49c6b24a7a init
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-01-20 16:06:27 +08:00