Commit Graph

365 Commits

Author SHA1 Message Date
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