Commit Graph

461 Commits

Author SHA1 Message Date
csf
468527775e fix sciter can't update connect status bug 2022-09-06 21:10:59 +08:00
csf
05218ecabc fix sciter confirm_delete_files bug 2022-09-06 19:56:35 +08:00
asur4s
b6e0cc8e74 Fix warning 2022-09-05 12:39:11 -04:00
csf
948580b288 Windows build 2022-09-05 21:28:26 +08:00
csf
7eeb0f7335 refactor cm -> ui_cm_interface for sciter and flutter 2022-09-05 19:41:09 +08:00
asur4s
abf78ab6f7 Refacotr env of keyboard && enter view 2022-09-05 05:55:31 -04:00
csf
09b769d92f WIP file transfer 2022-09-05 10:27:33 +08:00
asur4s
925a9e43cb Refactor: env of keyboard mode 2022-09-03 21:49:58 -04:00
fufesou
f69bedeac5 sciter_desktop: fix cursor size(resize window) and id(after connection)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-09-02 18:56:03 +08:00
Asura
41241867b7 Fix compile warning 2022-09-02 01:20:48 -07:00
Asura
bc7611ae0d Merge branch 'master' of https://github.com/rustdesk/rustdesk 2022-09-01 23:53:55 -07:00
csf
ee83987523 sciter input & conn_type and other InvokeUi impl 2022-09-01 17:36:37 +08:00
csf
2891c1b148 refactor set_peer_info 2022-09-01 16:21:41 +08:00
Asura
37dbfcc86d Delete pynput from repo 2022-08-31 23:07:52 -07:00
csf
41a53e4983 refactor io_loop 2022-09-01 09:48:53 +08:00
csf
ae265ca836 flutter.rs Session -> ui_session_interface.rs 2022-08-31 22:24:57 +08:00
csf
e5c4554221 refactor remote, sciter / flutter run success 2022-08-31 20:46:30 +08:00
csf
bdcb848a75 refactor remote interface 2022-08-31 16:31:31 +08:00
Asura
30bfa59e7d Without Clear Key on Mac OS 2022-08-30 15:53:44 +08:00
csf
fcc62febb1 update port-forward
1. fix multi remote port override.
2. add connection.rs port-forward failed to close
2022-08-29 19:45:06 +08:00
Asura
4423a18e79 Opt svg of keyboard 2022-08-29 17:14:05 +08:00
Asura
67a95cf864 Fix compile error on MacOS 2022-08-27 10:01:04 +08:00
Asura
e0db94532f Merge branch 'rustdesk/master' 2022-08-27 09:55:27 +08:00
Kingtous
4e047f1bb2 opt: support match user/hostname/id(sciter), case insensitive
Signed-off-by: Kingtous <kingtous@qq.com>
2022-08-27 01:05:38 +08:00
Asura
ba17864fa1 Merge branch 'master' of github.com:asur4s/rustdesk 2022-08-25 21:29:42 +08:00
21pages
f9db9fc87a Merge branch 'master' into flutter_desktop 2022-08-25 13:41:25 +08:00
21pages
a7c87a5f57 option to enable force-always-relay
Signed-off-by: 21pages <pages21@163.com>
2022-08-24 17:03:59 +08:00
21pages
0649a49d17 fix 10054: change direct to relay when RST
Signed-off-by: 21pages <pages21@163.com>
2022-08-24 16:26:09 +08:00
csf
3b63dea6fe add port forward closeSuccess 2022-08-24 15:05:05 +08:00
csf
b5ebb5de37 flutter_desktop_cm fix Windows build & TODO clipboard_file 2022-08-22 22:16:45 +08:00
csf
3063adc2fd add desktop cm backend 2022-08-17 17:23:55 +08:00
Asura
e7e846cd42 Fix mouse input error #1032 2022-08-12 19:32:42 +08:00
Asura
8310f38c15 Fix repeatedly releasing keys without char 2022-08-12 00:05:31 -07:00
Asura
b916ef3659 Refactor translate mode 2022-08-11 23:59:18 -07:00
kingtous
780b42d0ba feat: adapt macos dark mode 2022-08-10 11:33:50 +08:00
fufesou
b2ffe9dee4 flutter_desktop: handle privacy mode back notifications
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-08-09 11:03:56 +08:00
Asura
dde6df82e8 Refector: handline dead keys in translation mode 2022-08-07 18:52:32 +08:00
Asura
b2cf11f2df Send caps lock key 2022-08-07 10:50:31 +08:00
Asura
05b157af45 Fix right ctrl #1166 2022-08-04 17:26:06 +08:00
csf
3ff2f60fb7 Merge master 2022-08-04 17:24:02 +08:00
Asura
f1402a14a2 Merge branch 'translate_mode' 2022-08-04 01:21:46 -07:00
Asura
3b8032e5ec Merge translate mode 2022-08-04 16:11:37 +08:00
rustdesk
8b56a1a271 https://github.com/rustdesk/rustdesk/issues/1177 2022-08-04 09:26:15 +08:00
Asura
b3b50829f5 Fix sycn of CapsLock 2022-08-03 14:52:08 +08:00
Asura
d0702ddfd9 Add translate mode in UI 2022-08-03 14:34:05 +08:00
Asura
0695d50b9f Fix Shift release failed 2022-08-02 11:04:36 -07:00
Asura
90b36795ea Listening for char in Linux 2022-08-02 10:48:56 -07:00
Asura
5dfc41a7b8 Ignore dead keys in Linux 2022-08-02 06:07:44 -07:00
21pages
de923fdd2e fix: hide restart menu item if version < 1.1.10
Signed-off-by: 21pages <pages21@163.com>
2022-08-02 11:29:48 +08:00
RustDesk
c27882456e
Merge pull request #1140 from fufesou/fix_privacy_mod_on_login
fix_privacy_mod_on_login: set some options after login
2022-08-01 23:57:12 +08:00
RustDesk
5baed21fce
Merge pull request #1116 from Heap-Hop/opt_mobile_ui
Opt mobile UI
2022-08-01 22:39:31 +08:00
fufesou
a9f40df2bc fix_privacy_mod_on_login: set some options after login
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-08-01 22:31:10 +08:00
Kingtous
3b9c62b05d Merge remote-tracking branch 'rustdesk/master' into flutter_desktop
# Conflicts:
#	.github/workflows/ci.yml
#	Cargo.lock
#	Cargo.toml
#	flutter/lib/common.dart
#	flutter/lib/mobile/pages/remote_page.dart
#	flutter/lib/mobile/pages/server_page.dart
#	flutter/lib/mobile/pages/settings_page.dart
#	flutter/lib/mobile/widgets/dialog.dart
#	flutter/lib/models/model.dart
#	flutter/lib/models/server_model.dart
#	src/client.rs
#	src/common.rs
#	src/ipc.rs
#	src/mobile_ffi.rs
#	src/rendezvous_mediator.rs
#	src/ui.rs
2022-08-01 10:44:05 +08:00
Kingtous
3458c164fb fix: add version key to detect specific send/recv logic 2022-08-01 09:50:23 +08:00
Asura
92c4ee1560 Fix character generation, altgr only takes effect locally 2022-08-01 00:52:07 +08:00
fufesou
2a6cd5853e fix_proto_defs: fix protobuf definitions
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-31 22:31:17 +08:00
csf
eec26e5c70 add mobile restart remote device 2022-07-30 22:13:38 +08:00
csf
e53119a01a add mobile quality monitor 2022-07-30 21:12:08 +08:00
Asura
d5ac305e57 Add translate mode in remote 2022-07-28 11:00:01 +08:00
Sergey V. Kokorin
0deda08e5c Fix spelling: add space before "(beta)" 2022-07-27 16:18:04 +07:00
rustdesk
ab2ac0755e refactor remote_restarting_tip 2022-07-27 16:00:48 +08:00
RustDesk
00d2381bc0
Merge pull request #1059 from 21pages/restart
feat: pc restart
2022-07-27 10:31:47 +08:00
21pages
461a87bce9 feat: pc restart
Signed-off-by: 21pages <pages21@163.com>
2022-07-27 08:49:10 +08:00
rustdesk
06ce3661f4 issue #1051 2022-07-27 00:31:20 +08:00
rustdesk
6981ae1c20 issue #1052 2022-07-26 23:00:55 +08:00
21pages
903fb77e70 refactor password
1. random password -> temporary password
2. security password -> permanent password
3. remove onetime password
4. add temporary password length setting
5. remove unnecessary ipc
6. always update temporary password after connection
7. show dots if permanent password is not empty
8. recover password style

Signed-off-by: 21pages <pages21@163.com>
2022-07-24 21:53:51 +08:00
Asura
1caee4e306 Sync CapsLock and NumLock status in legacy mode. 2022-07-23 08:20:39 -07:00
Asura
a46df491e5 Merge branch 'master' of https://github.com/rustdesk/rustdesk 2022-07-23 06:33:15 -07:00
Asura
1b0fb5132c Support switching keyboard mode by UI 2022-07-23 20:51:01 +08:00
RustDesk
eda5a94e33
Merge pull request #1013 from 21pages/hwcodec
Hwcodec: codec preference
2022-07-22 01:24:41 +08:00
fufesou
e06c373389 fix_cmd_window: do not show cmd prompt window
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-21 21:58:42 +08:00
RustDesk
416832a1ed
Merge pull request #982 from twmsh/master
update bytes(protobuf types) mapping, from Vec<u8> to bytes:Byte
2022-07-21 18:09:14 +08:00
tom
e811d5f18b modify argument of ConnectionTmpl::send_raw() 2022-07-21 17:54:07 +08:00
tom
9ab955bb8e enable serde feature of bytes, modify struct WriteBlock using Bytes 2022-07-21 16:07:19 +08:00
Asura
ce3434fd37 Merge branch 'master' of https://github.com/rustdesk/rustdesk 2022-07-20 19:51:09 -07:00
21pages
7aa431d349 hwcodec: codec preference
Signed-off-by: 21pages <pages21@163.com>
2022-07-21 10:14:58 +08:00
Asura
fe99231090 Make case insensitive of keyboard_mode 2022-07-19 16:49:05 +08:00
Asura
d07ef7af8a Fix compile error of testcase 2022-07-19 16:15:57 +08:00
Asura
cbdc28ee20 Fix compiler error 2022-07-19 01:04:23 -07:00
Asura
02b4d7f1d9 Refactor keyboard mode by enum 2022-07-19 15:43:13 +08:00
Asura
0bacc1c250 Compatible with legacy mode in client 2022-07-19 15:09:45 +08:00
Asura
a77d64d181 Remove log 2022-07-18 18:47:38 -07:00
Asura
48466bfe37 Numpad when linux -> windows 2022-07-19 09:35:39 +08:00
Asura
a118056c30 Fix sync Numpad status 2022-07-18 23:04:04 +08:00
Asura
a2d8c31e85 Auto release key 2022-07-18 22:01:08 +08:00
21pages
0812dc79b8 control end close message
Signed-off-by: 21pages <pages21@163.com>
2022-07-18 21:27:59 +08:00
21pages
e46019a171 password: safe/random personal password
Signed-off-by: 21pages <pages21@163.com>
2022-07-18 21:27:56 +08:00
Asura
80b01a96db Refactor to remove warning 2022-07-18 17:42:02 +08:00
Asura
72273f4546 Sync Numpad status 2022-07-18 02:19:33 -07:00
Asura
828795b437 Sync Caps status 2022-07-18 01:54:54 -07:00
tom
6db3a2e85c
Merge branch 'master' into master 2022-07-18 14:25:33 +08:00
rustdesk
2851d71290 fix mac compile 2022-07-18 13:33:12 +08:00
Asura
7ae065739c Recover legacy keyboard mode when listen 2022-07-18 12:51:17 +08:00
Asura
7c24f6bb12 Refactor listening keyboard to support switching keyboard modes 2022-07-17 14:14:51 -07:00
tom
efa6b5972d update bytes(protobuf types) mapping, from Vec<u8> to bytes:Byte
issues:958
2022-07-16 00:45:23 +08:00
fufesou
eda0855506 lan_discovery_WOL: lan discovery test done
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 11:29:07 +08:00
fufesou
8fd4830710 lan_discovery_WOL: Win10 test done
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 11:29:07 +08:00
fufesou
7c323c86ac lan_discovery_WOL: remove ununsed action for lan menu
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 11:29:07 +08:00
fufesou
897d2b8e57 lan_discovery_WOL: remove discovered peer
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 11:29:01 +08:00
fufesou
7e0f7be95c lan_discovery_WOL: mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 11:27:39 +08:00
tom
c6c5d2cb98 upgrade protobuf to 3.1.0 and use with-bytes feature, issues:958 2022-07-14 17:20:01 +08:00
Asura
7fe2609ffb feat: Support new keyboard mode 2022-07-13 02:14:32 -07:00
Asura
a6f9c16d50 fix: Correct the string corresponding to the platform 2022-07-12 04:29:32 -07:00
Asura
9837c9b893 Use map mode when keyboard monitor 2022-07-12 00:33:20 -07:00
21pages
68204e0c56 Merge branch 'master' into hwcodec 2022-07-06 19:01:51 +08:00
csf
5bd08bf0a7 client side handle codec format 2022-07-05 22:17:34 +08:00
Kingtous
d49068706e add: include_hidden parameters, migrate to bridge 2022-07-01 12:11:34 +08:00
csf
b34a87a220 update lang 2022-06-30 21:01:04 +08:00
csf
5a7dca72c8 fix custom_image_qulity and android 2022-06-30 20:48:29 +08:00
csf
09937049a6 enable hwcodec 2022-06-30 16:19:36 +08:00
rustdesk
89711d4523 remove one seperator 2022-06-30 01:27:30 +08:00
rustdesk
c745bf4111 https://github.com/rustdesk/rustdesk/issues541/ 2022-06-30 01:19:38 +08:00
csf
eaaeefd90b sync codec format 2022-06-30 00:03:17 +08:00
csf
47469dd971 fix ImageQuality compatibility 2022-06-27 22:24:56 +08:00
csf
a7769da317 simple abr with delay 2022-06-27 21:25:43 +08:00
csf
21a90c5de8 abr update Windows 2022-06-27 03:30:46 -07:00
csf
ece86cda9e abr 2022-06-27 15:08:43 +08:00
csf
26c2bcd5be fix msgbox cancel 2022-06-13 15:38:30 +08:00
rustdesk
ddf06f54c1 log 2022-06-10 18:23:45 +08:00
rustdesk
0c6a7737d9 https://github.com/rustdesk/rustdesk/issues/726 2022-06-08 17:12:30 +08:00
rustdesk
897d5c8cc9 "copying and pasting" -> "copy and paste" 2022-06-06 12:25:47 +08:00
fufesou
57bd3a9816 win_copy_paste_test: change ui 'File Transfer' to 'Allow file copying and pasting'
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-06-06 11:57:05 +08:00
rustdesk
ad22101067 remove Fix x11 2022-06-03 10:31:53 +08:00
fufesou
376c042666 privacy_mode_win_magnifier: remove unused win event hook
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-06-02 10:45:27 +08:00
fufesou
fc1af7b0d9 privacy_mode_win_magnifier: fix UAC prompt window
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-06-01 23:57:58 +08:00
fufesou
62cb9eb51e privacy_mode_win_magnifier: more check on privacy mode
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-31 15:54:21 +08:00
fufesou
da392f7f72 privacy_mode_win_magnifier: ui prompt if succeeded
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-31 12:01:22 +08:00
fufesou
2081113bed simple_rc: win init simple resource pack
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-30 13:06:48 +08:00
fufesou
c269d1c831 privacy_mode: win10 magnifier
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-30 12:08:28 +08:00
Saverio Miroddi
230f74da2e Remove IS_IN unsafe code, by using AtomicBool 2022-05-24 18:37:24 +02:00
Saverio Miroddi
0c0051d59a Remove SERVER_FILE_TRANSFER_ENABLED unsafe code, by using AtomicBool 2022-05-24 18:37:22 +02:00
Saverio Miroddi
45bb271c88 Remove SERVER_KEYBOARD_ENABLED unsafe code, by using AtomicBool 2022-05-24 18:12:42 +02:00
Saverio Miroddi
c7f452752d Remove SERVER_CLIPBOARD_ENABLED unsafe code, by using AtomicBool 2022-05-24 18:12:33 +02:00
Saverio Miroddi
7f50fe3ea0 Remove KEYBOARD_HOOKED unsafe code, by using AtomicBool
For supported types, static R/W globals unsafe code can be replaced by safe `Atomic*` types.

The pattern of usage is simple:

- AtomicBool#swap is used to fetch the old `KEYBOARD_HOOKED` value, while setting it to true;
- if the old value was true, there is effectively no change to `KEYBOARD_HOOKED`, and the flow exits from the enclosing function;
- if the old value was false, execute the function (the new `KEYBOARD_HOOKED` has been set to true by swap()).

The most conservative ordering is used, as the context is not performance-sensitive.

Atomics are not supported on every platform, but the project assumes x86-64, which supports them.
2022-05-22 18:48:08 +02:00
Chris Cavalluzzi
a5d4cad5b7 Add dark theme for main desktop client window
Signed-off-by: Chris Cavalluzzi <chriscavalluzzi@gmail.com>
2022-05-21 19:11:50 -06:00
Kingtous
0958126739 fix: windows -> unix 2022-05-20 11:31:09 +08:00
Kingtous
c4663ecbf3 fix: linux <- windows subfolder collepsed 2022-05-20 10:53:10 +08:00
Kingtous
42f2ebc8e6 opt: clean code 2022-05-18 15:45:45 +08:00
Kingtous
39eb1b7211 opt: add resume btn 2022-05-16 14:45:17 +08:00
Kingtous
d186dd26a2 fix: change state to sync jobs to adapt master branch logic 2022-05-16 14:45:17 +08:00
Kingtous
c96c0df645 fix: rebase conflict 2022-05-16 14:45:17 +08:00
Kingtous
52fd312ff3 opt: clean code 2022-05-16 14:45:17 +08:00
Kingtous
a2bc2a21bb add: file_num offset 2022-05-16 14:45:17 +08:00
Kingtous
9dbd94daac feat: load last job 2022-05-16 14:45:17 +08:00
Kingtous
77bb821ecf fix: to string 2022-05-16 14:45:17 +08:00
Kingtous
b3f523f65e fix: serde 2022-05-16 14:45:17 +08:00
Kingtous
11e0d2cbf1 add: job logic 2022-05-16 14:45:17 +08:00
Kingtous
2caa2db463 fix: 2022-05-16 14:45:17 +08:00
Kingtous
83c75409e8 add: msg 2022-05-16 14:45:17 +08:00
Kingtous
74a3799b78 add: meta info 2022-05-16 14:45:17 +08:00