Commit Graph

360 Commits

Author SHA1 Message Date
fufesou
2da5401fd4 add global init and update wayland error map
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-10-17 21:55:26 +08:00
sandroid
e667dad144
Fix usage of loginctl inside flatpak
Signed-off-by: sandroid <sandroid@posteo.net>
2022-10-16 21:45:59 +02:00
21pages
150057f92d fix default video save directory
Signed-off-by: 21pages <pages21@163.com>
2022-10-12 16:48:06 +08:00
21pages
e2924f0d41 build windows install
Signed-off-by: 21pages <pages21@163.com>
2022-10-11 15:14:14 +08:00
rustdesk
c1b9a3f53d unsafe 2022-10-11 14:56:08 +08:00
21pages
265acd3122 add new field enc_id
Signed-off-by: 21pages <pages21@163.com>
2022-09-29 16:50:35 +08:00
21pages
02aedd234c prompt foreground window elevation
Signed-off-by: 21pages <pages21@163.com>
2022-09-29 09:13:20 +08:00
21pages
728985e3bf elevation prompt && uac warning
Signed-off-by: 21pages <pages21@163.com>
2022-09-29 09:13:19 +08:00
21pages
e7e3494dc9 record permission
Signed-off-by: 21pages <pages21@163.com>
2022-09-22 09:57:52 +08:00
21pages
e74f155cb6 fix recording start stop
Signed-off-by: 21pages <pages21@163.com>
2022-09-22 09:57:52 +08:00
21pages
eff5dd2e03 ensure first mux frame is key frame
Signed-off-by: 21pages <pages21@163.com>
2022-09-22 09:57:52 +08:00
21pages
9489877c78 video record
Signed-off-by: 21pages <pages21@163.com>
2022-09-22 09:57:52 +08:00
Kingtous
8c10675d8a feat: windows portable build script 2022-09-21 11:28:28 +08:00
rustdesk
f0208c759b https://github.com/rustdesk/rustdesk/pull/1562 2022-09-18 13:13:45 +08:00
RustDesk
6c897687d4
Merge pull request #1553 from songwei163/weisong/fix_m1_pro_compile_scrap_error
fix m1 pro scrap compile error
2022-09-16 22:44:08 +08:00
songwei163
dd2315a518 fix m1 pro scrap compile error 2022-09-16 22:22:17 +08:00
csf
e3a5218eb1 global HW_CODEC_CONFIG 2022-09-16 19:41:04 +08:00
csf
f310251cfc feat mediacodec: Android H264/H265 decoder support 2022-09-15 20:40:29 +08:00
csf
af656f9489 add mediacodec.rs 2022-09-15 12:19:09 +08:00
21pages
42d17f9d2b fix audio no sound, add missing VideoFrame timestamp
move get_time to hbb_common

Signed-off-by: 21pages <pages21@163.com>
2022-09-13 09:10:04 +08:00
asur4s
b6e0cc8e74 Fix warning 2022-09-05 12:39:11 -04:00
asur4s
2d7cd7c864 Refactor: tfc 2022-09-05 11:50:42 -04:00
asur4s
72d357e14b Refactor get led state 2022-09-05 08:07:13 -04:00
asur4s
9f80202c79 Refactor is_x11 2022-09-04 04:25:34 -04:00
asur4s
bec8daafb9 Fix simulate in wayland 2022-09-02 15:29:25 -04:00
Asura
4421d08384 Delete reset function about enigo 2022-09-01 20:24:50 -07:00
Asura
37dbfcc86d Delete pynput from repo 2022-08-31 23:07:52 -07:00
Asura
e0db94532f Merge branch 'rustdesk/master' 2022-08-27 09:55:27 +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
0649a49d17 fix 10054: change direct to relay when RST
Signed-off-by: 21pages <pages21@163.com>
2022-08-24 16:26:09 +08:00
RustDesk
3394975aa2
Merge pull request #1110 from 21pages/enc-id
avoid modify id manually
2022-08-20 21:08:40 +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
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