fufesou
51055a7e5b
fix: tokio, call future in context of runtime ( #9310 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-09-10 17:39:22 +08:00
fufesou
a2792d1527
comments ( #9297 )
...
* comments
Signed-off-by: fufesou <linlong1266@gmail.com>
* comments
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-09-08 23:07:42 +08:00
fufesou
2922ebe22a
Fix/clipboard retry if is occupied ( #9293 )
...
* fix: clipboard, retry if is occupied
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: clipboard service, hold runtime to cm ipc
Signed-off-by: fufesou <linlong1266@gmail.com>
* update arboard
Signed-off-by: fufesou <linlong1266@gmail.com>
* refact: log
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: get formats, return only not
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-09-08 21:13:05 +08:00
fufesou
26ebd0deb9
fix: clipboard, cmd ipc ( #9270 )
...
1. Send raw contents if `content_len` > 1024*3.
2. Send raw contents if it is not empty.
3. Try read clipboard again if no data from cm.
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-09-05 23:39:07 +08:00
21pages
4150036589
remove first frame fallback if repeat ( #9267 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-09-05 22:48:20 +08:00
21pages
39e713838f
Use fallback codec if first frame fails ( #9242 )
...
* Both encoding and decoding use fallback if first frame fails
* More aggresive max fail counter
* Update hwcodec, add judgement when length of the encoded data is zero, https://github.com/rustdesk/rustdesk-server-pro/discussions/382#discussioncomment-10525997
* Fix serde hwcodec config toml fails when the non-first vec![] is empty, https://github.com/toml-rs/toml-rs/issues/384 , the config file is used for cache, when check process is not finished, the cache is used.
* Allow cm not start for pro user
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-09-03 18:48:17 +08:00
21pages
5abe42f66c
not run get window focus if no multiple displays ( #9174 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-08-26 10:37:35 +08:00
fufesou
fc607d6789
fix: privacy mode 2, restore ( #9141 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-08-22 09:35:50 +08:00
fufesou
f31e60af5b
fix: crash, drop tokio RunTime in async context ( #9091 )
...
* fix: crash, drop tokio RunTime in async context
Signed-off-by: fufesou <linlong1266@gmail.com>
* chore
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-08-16 14:55:42 +08:00
21pages
ed18e3c786
file rename ( #9089 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-08-16 12:55:58 +08:00
21pages
1729ee337f
trust this device to skip 2fa ( #9012 )
...
* trust this device to skip 2fa
Signed-off-by: 21pages <sunboeasy@gmail.com>
* Update connection.rs
---------
Signed-off-by: 21pages <sunboeasy@gmail.com>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-08-12 18:08:33 +08:00
fufesou
99d7b62d79
fix: privacy mode 2, resolution changed ( #9027 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-08-11 23:28:02 +08:00
fufesou
6625aca994
fix: win, virtual display ( #9023 )
...
1. Default resolution 1920x1080.
2. Restore on conn & disconn.
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-08-11 19:26:41 +08:00
fufesou
6eea425280
fix: clipboard cm ipc data, raw bytes ( #8930 )
...
* fix: clipboard cm ipc data, raw bytes
Signed-off-by: fufesou <linlong1266@gmail.com>
* Remove useless check
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-08-02 21:36:49 +08:00
21pages
f6aca4ca8e
fix click cm audio permission button before auth ( #8917 )
...
1. When not authenticated, clicking the audio permission button on the cm will send audio data
2. Keep the cursor position code unchanged, because `show_remote_cursor` is false before auth, so subscription will not happen.
3. Keep the clipboard code unchanged, because the keyboard permission will also be determined in `try_sub_services`. If the clipboard permission is clicked before auth and the keyboard permission is clicked after auth, the clipboard service will not be subscribed.
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-08-01 18:17:02 +08:00
fufesou
15404ecab4
fix: clipboard, windows, controlled side, formats ( #8885 )
...
* fix: clipboard, windows, controlled side, formats
Signed-off-by: fufesou <linlong1266@gmail.com>
* Clipboard, reuse ipc conn and send_raw()
Signed-off-by: fufesou <linlong1266@gmail.com>
* Clipboard, merge content buffer
Signed-off-by: fufesou <linlong1266@gmail.com>
* refact: clipboard service, ipc stream
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-07-30 11:35:39 +08:00
fufesou
c0e9445602
refact: embed crate mouce, uinput ( #8836 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-07-28 17:27:09 +08:00
fufesou
541d9c6b86
feat: clipboard, multi formats ( #8733 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-07-28 17:26:54 +08:00
dignow
baf70da2fe
fix: trackpad, reverse horizontal scroll ( #8827 )
...
Signed-off-by: dignow <linlong1265@gmail.com>
2024-07-25 14:44:58 +08:00
dignow
b967d496cc
refact: init values from initState to Constractor ( #8817 )
...
* refact: init values from initState to Constractor
Signed-off-by: dignow <linlong1265@gmail.com>
* fix: move RxBool init into Constructor
Signed-off-by: dignow <linlong1265@gmail.com>
* peer sort option
Signed-off-by: dignow <linlong1265@gmail.com>
* Remove empty initState()
Signed-off-by: dignow <linlong1265@gmail.com>
---------
Signed-off-by: dignow <linlong1265@gmail.com>
2024-07-25 10:45:51 +08:00
dignow
f7e9057a39
fix: video service, do not skip refresh message ( #8815 )
...
Signed-off-by: dignow <linlong1265@gmail.com>
2024-07-24 21:59:25 +08:00
dignow
d73e0e1e5a
fix: video service ( #8812 )
...
1. Unset refresh flag if just refreshed.
2. Reduce the scope of the lock.
Signed-off-by: dignow <linlong1265@gmail.com>
2024-07-24 18:41:52 +08:00
dignow
39dbd89287
fix: siwtching display, clear last old image ( #8810 )
...
* fix: siwtching display, clear last old image
1. Clear last old image.
2. Try refresh after switching display.
3. Add an interval check before refresh video service.
Signed-off-by: dignow <linlong1265@gmail.com>
* simple changes
Signed-off-by: dignow <linlong1265@gmail.com>
---------
Signed-off-by: dignow <linlong1265@gmail.com>
2024-07-24 17:35:06 +08:00
fufesou
2be05608d8
fix: windows, headless, not work when exiting RDP ( #8753 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-07-18 22:23:45 +08:00
21pages
3f11d9cdb6
remove Instant sub ( #8714 )
...
which cause crash when connect to windows just startup
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-07-15 10:49:09 +08:00
fufesou
e2a7e38a39
fix: build ios ( #8709 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-07-14 15:05:56 +08:00
fufesou
30afe4f779
refact: seperate audio device for voice call ( #8703 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-07-14 04:07:02 +08:00
fufesou
b5a7165015
feat: android, controlled side, clipboard text ( #8677 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-07-11 12:02:19 +08:00
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
21pages
e2d217a138
fix wayland Display::all() comment ( #8664 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-07-09 22:10:39 +08:00
21pages
f07936a911
wayland not call check_get_displays_changed_msg ( #8637 )
...
* wayland not call check_get_displays_changed_msg
For wayland, call Display::all() in video service will cause block, I
don't know the reason.
Signed-off-by: 21pages <sunboeasy@gmail.com>
* Update display_service.rs
---------
Signed-off-by: 21pages <sunboeasy@gmail.com>
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
2024-07-09 18:01:30 +08:00
rustdesk
3c7e24c605
add MOUSE_MOVE_TIME to key event, may work for
...
https://github.com/rustdesk/rustdesk/issues/8633 when window resume via
keyboard rather than mouse
2024-07-08 11:38:42 +08:00
21pages
8602b036bd
remove special treatment when only use permanent passwrod but no password set ( #8566 )
...
1. Remove special treatment when only use permanent passwrod but no password set, it has no need and `Connection not allowd` prompt make user confusing.
2. When only use permanent password is chosen and the permanent password
is empty, pop up the set-password dialog, if still not set in the
dialog, back to the old choice
3. Add cancel confirm for 2fa and telegram bot
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-07-02 14:32:22 +08:00
rustdesk
e71d86c124
move clipboard in common.rs to clipboard.rs
2024-07-01 02:14:58 +08:00
rustdesk
cd73368cb9
make clipboard dropped after no sub
2024-07-01 00:24:23 +08:00
rustdesk
01672bc697
clipboard image, not tested, todo: set_html
2024-06-30 21:57:32 +08:00
21pages
5114a9d369
shared memory size use the max resolution of all displays ( #8534 )
...
The case of setting a monitor inserted later as the primary monitor is not taken into account
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-29 21:50:21 +08:00
21pages
f9b0a88213
fix switch to primary display but can't see UAC ( #8527 )
...
How to reproduce: elevate at primary display->switch to another
display->
trigger UAC->switch to primary display->can't see UAC
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-29 17:14:09 +08:00
21pages
d67afa49b4
portable service only run on main display ( #8525 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-29 14:17:24 +08:00
rustdesk
e79946b4e4
telegram bot ui settings and code sending
2024-06-27 16:18:41 +08:00
fufesou
b047730830
Refact/android input changed notify clients ( #8494 )
...
* refact: android, input control changed, notify clients
Signed-off-by: fufesou <linlong1266@gmail.com>
* fix: android init input perm
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-06-27 13:05:45 +08:00
21pages
ffed29e632
fix typo ( #8436 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-21 23:58:00 +08:00
21pages
0f6538c1a7
add enable directx option, android software encoding half resolution option ( #8435 )
...
* add option enable directx capture screen, default true
Signed-off-by: 21pages <sunboeasy@gmail.com>
* option android software encoding half scale, check isStart flag
Signed-off-by: 21pages <sunboeasy@gmail.com>
---------
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-21 18:54:32 +08:00
21pages
f559e9c74a
disable hardware encoding if encoding fails too many times ( #8327 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-12 23:37:51 +08:00
fufesou
c27791a9ac
comments ( #8316 )
...
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-06-12 00:53:54 +08:00
fufesou
b19d732a3a
fix: audio rechannel len ( #8315 )
...
* fix: audio rechannel len
Signed-off-by: fufesou <linlong1266@gmail.com>
* comments
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-06-12 00:32:10 +08:00
fufesou
32ab56f864
fix: custom client, options, option2bool() ( #8302 )
...
* fix: custom client, options, option2bool()
Signed-off-by: fufesou <linlong1266@gmail.com>
* format
Signed-off-by: fufesou <linlong1266@gmail.com>
---------
Signed-off-by: fufesou <linlong1266@gmail.com>
2024-06-10 00:11:59 +08:00
21pages
8de5f3f0d3
not close connection if failed to start cm due to no explorer.exe ( #8290 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-08 16:11:51 +08:00
21pages
9d42ee9df8
vram avoid always fallback to gdi ( #8272 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-06 22:52:31 +08:00