Commit Graph

325 Commits

Author SHA1 Message Date
21pages
53f496c0e4 avoid changing id manually
Signed-off-by: 21pages <pages21@163.com>
2022-08-01 18:06:49 +08:00
Kingtous
c4451b3cc7 fix: merge conflict 2022-08-01 14:33:08 +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
fufesou
2a6cd5853e fix_proto_defs: fix protobuf definitions
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-31 22:31:17 +08:00
sirtemporary
f3f48d3cf4
Update linux.rs 2022-07-30 15:19:41 -04:00
sirtemporary
f9d0974fc5
Update linux.rs
Fix for #921 
in mx linux, when started with non-systemd init, loginctl returns null string to stdout (and an error message to stderr).  this patch will use XDG_SESSION_TYPE and XDG_SESSION_ID environment variables if the loginctl code fails to determine these.
2022-07-30 15:03:49 -04:00
rustdesk
1a4f0507a2 fix on last refactory 2022-07-30 09:29:01 +08:00
rustdesk
040267e7f2 remove key_pair pub attr 2022-07-30 02:27:03 +08:00
rustdesk
125f6dd810 refactor password deadlock and password_security 2022-07-30 02:01:40 +08:00
RustDesk
06a4eaed10
Merge pull request #1104 from Heap-Hop/master
fix: android build & CONFIG deadlock
2022-07-29 18:59:34 +08:00
csf
2fbcbc6543 make sure no gen_keypair more than once 2022-07-29 16:30:55 +08:00
csf
da2906c95f fix: android build & CONFIG deadlock 2022-07-28 22:06:59 +08:00
RustDesk
295f326e7a
Merge pull request #1078 from 21pages/password
Password: fix import config
2022-07-28 11:16:42 +08:00
fufesou
0ba8b4079b flutter_desktop_online_state: refactor connection page
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-28 11:11:13 +08:00
Asura
25525cda3f Add translte mode in input_service 2022-07-27 20:01:42 -07:00
21pages
551bf5030b password: ensure encrypt only once
Signed-off-by: 21pages <pages21@163.com>
2022-07-28 07:43:14 +08:00
fufesou
f3d10dd420 fix build without wayland feature
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-27 06:34:27 -07:00
21pages
9f22f55a1f password: decrypt password when import user config
Signed-off-by: 21pages <pages21@163.com>
2022-07-27 21:27:46 +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
a71fa3f7ac RS_PUB_KEY 2022-07-27 00:39:02 +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
b3b97ee69a Remove log info 2022-07-23 21:45:00 +08:00
Asura
a46df491e5 Merge branch 'master' of https://github.com/rustdesk/rustdesk 2022-07-23 06:33:15 -07:00
21pages
b55fc35d83 hwcodec: fix compile error
Signed-off-by: 21pages <pages21@163.com>
2022-07-22 09:13:40 +08:00
RustDesk
eda5a94e33
Merge pull request #1013 from 21pages/hwcodec
Hwcodec: codec preference
2022-07-22 01:24:41 +08:00
rustdesk
9ee2d750f8 fix compile error 2022-07-21 22:29:26 +08:00
fufesou
d19a8fdc43 fix_capturer_trait_name_shadowing: build win
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-21 20:38:15 +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
9ab955bb8e enable serde feature of bytes, modify struct WriteBlock using Bytes 2022-07-21 16:07:19 +08:00
Asura
25c7bbd96f Fix numpad error 2022-07-21 12:46:19 +08:00
Asura
3a0c10bdb1 Refactor for compiler in linux 2022-07-20 20:31:17 -07:00
Asura
ce3434fd37 Merge branch 'master' of https://github.com/rustdesk/rustdesk 2022-07-20 19:51:09 -07:00
21pages
23deae0e52 hwcodec: remove bad MY_DECODER_STATE
When reset, the new of the decoder will be after it's drop

Signed-off-by: 21pages <pages21@163.com>
2022-07-21 10:15:01 +08:00
21pages
7aa431d349 hwcodec: codec preference
Signed-off-by: 21pages <pages21@163.com>
2022-07-21 10:14:58 +08:00
21pages
1b1f28b872 hwcodec: check when server or each client starts
and refactor hwcodec::best()

Signed-off-by: 21pages <pages21@163.com>
2022-07-21 10:10:58 +08:00
21pages
1fecd7168a hwcodec: linux compatible
Signed-off-by: 21pages <pages21@163.com>
2022-07-21 10:10:58 +08:00
fufesou
00dc473703 linux_wayland_support: dup detecting function of x11 or wayland
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-20 10:44:27 -07:00
tom
16b7c7c716 upgrade bytes to 1.2 2022-07-21 00:39:20 +08:00
fufesou
05b264c968 linux_wayland_support: build linux
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-20 09:16:13 -07:00
fufesou
aae6e2b16b linux_wayland_support: init merge, windows build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-20 09:16:13 -07:00
Asura
02b4d7f1d9 Refactor keyboard mode by enum 2022-07-19 15:43:13 +08:00
Asura
a77d64d181 Remove log 2022-07-18 18:47:38 -07:00
Asura
a8e4591217 Fix lock_screen and ctrl_alt_del 2022-07-18 07:38:05 -07:00
21pages
66e04c9fe7 keep session when network interrupt
Signed-off-by: 21pages <pages21@163.com>
2022-07-18 22:16:59 +08:00
21pages
8667d68c6f crypt peer/peer_rdp/peer_os/socks5 password
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
tom
6db3a2e85c
Merge branch 'master' into master 2022-07-18 14:25:33 +08:00
Asura
3c61773d75 Recover legacy keyboard mode when simulate 2022-07-17 20:59:14 -07:00
Asura
5dab7bd9a2 Refactor simulate to support switching keyboard modes 2022-07-17 20:34:08 -07:00
Asura
7c24f6bb12 Refactor listening keyboard to support switching keyboard modes 2022-07-17 14:14:51 -07:00
fufesou
52f4f274b2 lan_discovery_WOL: remove unused struct MyConfig
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-17 22:46:55 +08:00
tom
ae839bd5bf update linux.rs & macos.rs with bytes:Byte
issues:958
2022-07-17 00:59:56 +08: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
3613f27afc lan_discovery_WOL: fix udp set_nonblocking twice and lan refactor
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 20:39:42 +08:00
fufesou
13406cd359 lan_discovery_WOL: sort by online status
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 12:16:15 +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
897d2b8e57 lan_discovery_WOL: remove discovered peer
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 11:29:01 +08:00
fufesou
cbb34fb021 lan_discovery_WOL: lan discovery almost done
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 11:27:39 +08:00
rustdesk
d3fc6ccd9c upgrade tokio 2022-07-15 01:29:52 +08:00
rustdesk
9498b77c0a minor version 2022-07-14 23:26:03 +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
fa8595b77d Supports Mac OS simulate input by scancode 2022-07-12 08:36:45 -07:00
rustdesk
4e45bc0ee0 fix tcp 2022-07-12 23:32:37 +08:00
rustdesk
f1724820b1 missed socket.set_nonblocking for tcp 2022-07-12 23:28:32 +08:00
rustdesk
7db82a22a9 udp bug which causes us a lot of trouble 2022-07-12 23:22:27 +08:00
Asura
7395f1a755 ci: Change source of lib 2022-07-12 04:40:38 -07:00
Asura
1cc6c7e167 Use map mode when Windows are simulated 2022-07-12 04:27:27 -07:00
Asura
0ae6620659 Merge branch 'master' of github.com:asur4s/rustdesk 2022-07-11 08:17:17 -07:00
Asura
e82e0bf697 feat: Add new simulate key method 2022-07-11 03:26:12 -07:00
rustdesk
1a9b25588d https://github.com/rustdesk/rustdesk/issues/906 2022-07-10 23:26:44 +08:00
21pages
ce89e7fd8c
Merge branch 'hwcodec' into hwcodec 2022-07-06 10:39:00 +08:00
21pages
ba034a56af maint hwcodec config file directly
Signed-off-by: 21pages <pages21@163.com>
2022-07-06 10:19:13 +08:00
csf
5bd08bf0a7 client side handle codec format 2022-07-05 22:17:34 +08:00
21pages
c4b4ef9576 score equals 0 if codec unsupported
Signed-off-by: 21pages <pages21@163.com>
2022-07-05 16:31:48 +08:00
21pages
76e1ca91df unify the protobuf message of vp9/h264/h265
Signed-off-by: 21pages <pages21@163.com>
2022-07-05 16:16:08 +08:00
csf
5a7dca72c8 fix custom_image_qulity and android 2022-06-30 20:48:29 +08:00
csf
a5ab0db5b9 switch enable abr 2022-06-30 18:24:36 +08:00
csf
09937049a6 enable hwcodec 2022-06-30 16:19:36 +08:00
csf
eaaeefd90b sync codec format 2022-06-30 00:03:17 +08:00
21pages
75fc49b301 make hwcodec's bitrate the same as vpx
Signed-off-by: 21pages <pages21@163.com>
2022-06-29 11:43:22 +08:00
21pages
b45dc606f1 Update example based on api changes
Signed-off-by: 21pages <pages21@163.com>
2022-06-29 09:38:01 +08:00
csf
47469dd971 fix ImageQuality compatibility 2022-06-27 22:24:56 +08:00
csf
21a90c5de8 abr update Windows 2022-06-27 03:30:46 -07:00
csf
83e5028cc9 Merge branch 'master' into hwcodec 2022-06-27 15:28:49 +08:00
csf
085356c0b3 Merge branch 'abr' into hwcodec 2022-06-27 15:21:31 +08:00
csf
ece86cda9e abr 2022-06-27 15:08:43 +08:00
Kingtous
4a89469b84 Merge remote-tracking branch 'rustdesk/master' into flutter_desktop
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	build.rs
#	flutter/.gitignore
#	flutter/lib/common.dart
#	flutter/lib/mobile/pages/remote_page.dart
#	flutter/lib/models/model.dart
#	flutter/lib/models/native_model.dart
#	flutter/lib/models/server_model.dart
#	flutter/pubspec.lock
#	flutter/pubspec.yaml
#	src/client.rs
#	src/client/file_trait.rs
#	src/flutter.rs
#	src/mobile_ffi.rs
#	src/ui.rs
2022-06-27 11:18:53 +08:00
rustdesk
2ef9a9b842 upgrade seria 2022-06-25 02:44:19 +08:00
21pages
847c4acb07 Merge branch 'hwcodec' into master 2022-06-14 13:08:39 +08:00
rustdesk
c1caa4a7cd more error 2022-06-12 22:07:04 +08:00
rustdesk
933578e660 https://github.com/rustdesk/rustdesk/issues/665 2022-06-12 15:39:58 +08:00
rustdesk
f36f0f7530 https://github.com/rustdesk/rustdesk/issues/701 2022-06-10 18:25:25 +08:00
21pages
42c7c5982c scrap: check hwconfig in another process
Signed-off-by: 21pages <pages21@163.com>
2022-06-10 12:17:06 +08:00
rustdesk
7dfa038c6d fix shift + 'a' for mac 2022-06-10 12:00:59 +08:00
rustdesk
b88b4151bc 1.2.0 -> 1.1.10 2022-06-09 19:45:53 +08:00
21pages
feaadcfc96 scrap: ensure video_handler's creation before client start
Signed-off-by: 21pages <pages21@163.com>
2022-06-09 18:04:10 +08:00