RustDesk
ef4d84657b
Revert "feat: clipboard, multi format ( #8672 )" ( #8673 )
...
This reverts commit 011647511c0f47a9261ee82e7b0d4a5cad99c4e0.
2024-07-11 00:36:29 +08:00
fufesou
011647511c
feat: clipboard, multi format ( #8672 )
...
* feat: clipboard, multi format
Signed-off-by: fufesou <linlong1266@gmail.com>
* inline
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-07-11 00:05:25 +08:00
rustdesk
e71d86c124
move clipboard in common.rs to clipboard.rs
2024-07-01 02:14:58 +08:00
rustdesk
01672bc697
clipboard image, not tested, todo: set_html
2024-06-30 21:57:32 +08:00
rustdesk
1f129e6ef3
change update_clipboard to threaded, since creating a context may take long
2024-06-30 17:05:09 +08:00
21pages
c1c2d26ec7
fix, check video_queue len rather than len when refresh ( #8469 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-25 18:30:32 +08:00
21pages
93133b9a6c
if fps is adjusted below 30, not set fps to 30 when changing image quality ( #8468 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-25 17:25:50 +08:00
21pages
1765c7bbf4
fix multi display fps control ( #8455 )
...
* Calculate fps without distinguish displays, use one fps control
because the controlled side control fps of all displays with one FPS
variable.
* Because all displays decode frame in one thread, when there are N
displays, the video frames received in one second is `fps * N`, so the
calculated decode fps should be divided by N. Because the actual
display count is not obvious in rust, when no data frame is received for 5 seconds, the display is considered inactive, and only the active display is used as the dividend.
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-24 19:41:15 +08:00
fufesou
72ec86b58d
refact: texture render as an option ( #8168 )
...
* refact: texture render as an option
Signed-off-by: fufesou <linlong1266@gmail.com>
* refact: texture render, translation
Signed-off-by: fufesou <linlong1266@gmail.com>
* refact: texture render as option
Signed-off-by: fufesou <linlong1266@gmail.com>
* Update ui_interface.rs
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-05-28 16:42:30 +08:00
21pages
17d18f1dd8
impore fps control, quicker send refresh and clear video queue ( #8137 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-05-24 17:21:16 +08:00
fufesou
96f41fcc02
refact: custom client, more advanced settings ( #8085 )
...
* refact: custom client, more advanced settings
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* feat: custom client, more advanced settings
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-05-18 23:13:54 +08:00
Sahil Yeole
3811f41076
Feat: Follow remote cursor and window focus | Auto display switch ( #7717 )
...
* feat: auto switch display on follow remote cursor
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* feat: auto switch display on follow remote window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build and remove unused imports
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix linux get_focused_window_id
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* lock show remote cursor when follow remote cursor is enabled
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix config
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* prevent auto display switch on show all display and displays as individual windows
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove unused function
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove unwraps and improve iterations
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* set updateCursorPos to false to avoid interrupting remote cursor
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* update lang
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix web build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* update checks for options and enable in view mode
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use focused display index for window focus service
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use window center for windows display focused
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove unused imports
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use libxdo instead of xdotool
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix multi monitor check
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* enable show cursor when follow cursor is default
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove show_all_displays,use runtime state instead
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix show cursor lock state on default
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove view mode with follow options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use separate message for follow current display
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* sciter support for follow remote cursor and window
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add check for ui session handlers count
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use cached displays and remove peer info write
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* No follow options when show all displays
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* No follow options when multi ui session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* turn off follow options when not used|prevent msgs
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use window center for switch in linux
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use subbed display count to prevent switch msgs
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix web build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* move subbed displays count
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add noperms for window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add subscribe for window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove window_focus message and unsub on multi ui
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add multi ui session field
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
---------
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-04-25 13:26:02 +08:00
rustdesk
a28c9f8f36
remove more "rustdesk" built-in
2024-02-25 13:29:06 +08:00
fufesou
09325fadaf
Fix. Text clipboard is not working correctly ( #7226 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-02-22 13:44:44 +08:00
fufesou
25afdda2b2
Fix/arboard clipboard context timeout ( #7217 )
...
* Fix. Set custom timeout for arboard clipboard
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* Do not block tokio runtime
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-02-21 22:05:27 +08:00
21pages
0f44de7dc3
refactor windows specific session ( #7170 )
...
1. Modify the process to have the control side lead the session switching: After the control side sends a `LoginRequest`, the controlled side will add all session information and the current session ID in the `LoginResponse`. Upon receiving the `LoginResponse`, the control side will check if the current session ID matches the ID in the `LoginConfigHandler`. If they match, the control side will send the current session ID. If they don't match, a session selection dialog will pop up, the selected session id will be sent. Upon receiving this message, the controlled side will restart if different or sub service if same .
2. Always show physical console session on the top
3. Show running session and distinguish sessions with the same name
4. Not sub service until correct session id is ensured
5. Fix switch sides not work for multisession session
6. Remove all session string join/split except get_available_sessions in
windows.rs
7. Fix prelogin, when share rdp is enabled and there is a rdp session,
the console is in login screen, get_active_username will be the rdp's
username and prelogin will be false, cm can't be created an that
causes disconnection in a loop
8. Rename all user session to windows session
Known issue:
1. Use current process session id for `run_as_user`, sahil says it can
be wrong but I didn't reproduce.
2. Have not change tray process to current session
3. File transfer doesn't update home directory when session changed
4. When it's in login screen, remote file directory is empty, because cm
have not start up
Signed-off-by: 21pages <pages21@163.com>
2024-02-18 22:08:25 +08:00
fufesou
8c108065eb
Refact. Replace all tokio::time::interval()
( #7173 )
...
* Refact. Replace all `tokio::time::interval()`
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* Refact Better min_interval for `ThrottledInterval`.
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-02-18 21:18:00 +08:00
Sahil Yeole
4bf3764b5d
Feat: Windows connect to a specific user session ( #6825 )
...
* feat windows connect to specific user session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix import
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix multiple user session fields
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix file transfer
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix text color on light theme
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* feat windows connect to specific user session code changes and sciter support
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* update texts
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix sciter selected user session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* add translations
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* Use Y,N options
* feat windows specific user code changes
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* Update dialog.dart
* Update connection.rs
* Update connection.rs
* feat windows specific user code changes
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix sciter
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use lr.union
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove unused peer options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* select user only when authorised and no existing connection
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* check for multiple users only once
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* optimise and add check for client version
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* use misc option message
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* update rdp user session proto
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix show cm on user session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* Update pl.rs
* update on_message
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix cm
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* remove user_session_id
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix cm
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
* fix multiple connections
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
---------
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2024-02-14 23:59:17 +08:00
21pages
89150317e1
add zero copy mode hareware codec for windows ( #6778 )
...
Signed-off-by: 21pages <pages21@163.com>
2024-01-02 16:58:10 +08:00
fufesou
6d0953dca4
Disable file copy & paste in view mode ( #6749 )
...
* Disable file copy & paste in view mode
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* hide 'Enable file copy & paste' when no keyboard perm
Signed-off-by: fufesou <shuanglongchen@yeah.net>
* Disable some functions in view mode
Signed-off-by: fufesou <shuanglongchen@yeah.net>
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-12-25 21:49:34 +08:00
RustDesk
ebb14af488
Revert "use fullrange by default for yuv420p if supported ( #6655 )" ( #6656 )
...
This reverts commit 80afa98d667db773d9451aa1ecc9c1d53d2a5828.
2023-12-11 22:46:32 +08:00
21pages
80afa98d66
use fullrange by default for yuv420p if supported ( #6655 )
...
1. Explicitly specify the color space as bt601
2. Use fullrange by default for yuv420p if supported
3. Use the pix_fmt space range format to identify codec capabilities, make i444 proto field deprecated, and cause the non-release version of 444 true color to fail.
Signed-off-by: 21pages <pages21@163.com>
2023-12-11 22:31:01 +08:00
fufesou
13bade262f
remove warns
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-14 21:01:31 +08:00
fufesou
90ac8b7b0b
feat/virtual_display_privacy_mode
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-14 12:11:38 +08:00
21pages
1b08adb178
not use max fps by default
...
Signed-off-by: 21pages <pages21@163.com>
2023-11-13 21:33:51 +08:00
rustdesk
d7e8d4d5c3
fix #6198
2023-11-06 20:12:01 +08:00
21pages
d528fd3762
permisson block input
...
Signed-off-by: 21pages <pages21@163.com>
2023-11-06 15:07:03 +08:00
21pages
f05f86dc80
444
...
Signed-off-by: 21pages <pages21@163.com>
2023-10-30 18:46:56 +08:00
ClSlaid
43aa62e212
patch: fix active enable of file copy paste
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-30 12:00:44 +08:00
ClSlaid
30e85c8654
patch: make linux build ok
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 23:42:04 +08:00
ClSlaid
80200a9983
patch: add has_file_clipboard
field to PeerInfo
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 20:49:43 +08:00
ClSlaid
79f6b5c181
patch: forbid enable cliprdr without feature
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 20:10:39 +08:00
ClSlaid
251245d315
Merge remote-tracking branch 'rd/master' into feat/x11/clipboard-file/init
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-28 19:56:19 +08:00
ClSlaid
053723647b
patch: try fix flutter file copy
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-27 20:40:23 +08:00
fufesou
725a44abd8
feat, win virtual display
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-10-27 20:12:33 +08:00
ClSlaid
505b73d20e
patch: try fix flutter paste
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-23 20:17:36 +08:00
ClSlaid
fbb1d9247f
patch: reduce logic in Fuse and SystemClipboard
...
1. also added more observability
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-17 16:57:55 +08:00
ClSlaid
8f9ba44c2c
Merge remote-tracking branch 'rd/master' into feat/x11/clipboard-file/init
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-16 18:57:45 +08:00
ClSlaid
1f91d4fa7b
patch: add more logs
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-16 18:42:02 +08:00
dignow
3bb7123dd5
fix build, sciter
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-14 12:26:27 +08:00
dignow
013d307bcd
feat, multi_flutter_ui_sessions
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-14 12:26:24 +08:00
ClSlaid
796e2ec825
Merge remote-tracking branch 'rd/master' into feat/x11/clipboard-file/init
...
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-07 17:32:25 +08:00
ClSlaid
a597c3f835
patch: update UI, clear previous FUSE
...
- UI updated, now allow copy and paste file in Linux
- Too hard to implement graceful shutdown for rustdesk, just clear
previously mounted FUSE should also works
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-07 17:26:20 +08:00
fufesou
06987c4ca9
refact, flutter sessions lock
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-10-03 09:51:21 +08:00
RustDesk
6e3e60a44d
Merge pull request #5873 from 21pages/cm_width
...
opt cm width and elevation requires keyboard permission
2023-10-01 12:49:20 +08:00
21pages
17a56bbf48
elevation: keyboard permission required and remove foreground filter
...
Signed-off-by: 21pages <pages21@163.com>
2023-10-01 08:50:29 +08:00
dignow
0bd86a8211
remove warn
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-09-30 22:09:32 +08:00
dignow
7fcb3d70bb
fix, reconnect deadlock, introduce connection round control
...
Signed-off-by: dignow <linlong1265@gmail.com>
2023-09-30 22:07:14 +08:00
ClSlaid
d2a5edda46
Merge remote-tracking branch 'origin/master' into feat/x11/clipboard-file/init
2023-09-20 16:31:58 +08:00
fufesou
db2e4f30a7
Privacy mode, msgbox, add details
...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-09-17 10:53:04 +08:00