Commit Graph

325 Commits

Author SHA1 Message Date
Saverio Miroddi
b2f7e7ece5 hbb_common: Fix CONFIG locks unintentionally not acquired
Variables defined as `_` only are released immediately; see compile error:

    error: non-binding let on a synchronization lock
      --> libs/hbb_common/src/config.rs:798:13
        |
    798 |         let _ = CONFIG.read().unwrap(); // for lock
        |             ^   ^^^^^^^^^^^^^^^^^^^^^^ this binding will immediately drop the value assigned to it
        |             |
        |             this lock is not assigned to a binding and is immediately dropped
        |
        = note: `#[deny(let_underscore_lock)]` on by default

By appending a phony suffix to the variable name, the lock stays in scope.
2022-11-01 15:08:21 +01:00
rustdesk
e8182e762d remove another transmute_copy 2022-10-31 23:41:51 +08:00
rustdesk
4c9dadc41a fix transmute crash 2022-10-31 23:03:52 +08:00
fufesou
6fb52573e7 win clipboard remove debug msg
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-10-30 10:20:15 +08:00
fufesou
db99eccbe0 win_fix_multi_tab: win clipboard refactor
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-10-27 15:56:06 +08:00
fufesou
702c81cafe win_fix_multi_tab: linux build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-10-27 15:56:06 +08:00
fufesou
c87e7f1e28 win_fix_multi_tab: send monitor ready on clipboard is ready
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-10-27 15:56:06 +08:00
fufesou
adf4f3eea4 win_fix_multi_tab: refactor clipboard on windows, monitor ready mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-10-27 15:56:06 +08:00
fufesou
c5c77808a5 win_fix_multi_tab: refactor clipboard on windows, init debug done
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-10-27 15:56:05 +08:00
fufesou
a49552d28b win_fix_multi_tab: refactor clipboard on windows, mid commit2
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-10-27 15:56:05 +08:00
fufesou
2faa5cfd18 win_fix_multi_tab: refactor clipboard on windows, mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-10-27 15:56:05 +08:00
21pages
32ad458b25 user fps adjust
Signed-off-by: 21pages <pages21@163.com>
2022-10-20 16:42:46 +08:00
fufesou
9a9a8197ae fix linux uid username mismatch
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-10-17 08:06:34 -07:00
fufesou
77de0d05f9 msgbox & translations
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-10-17 22:00:44 +08:00
fufesou
3c9ac9e4d7 wayland: fix enigo init
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-10-17 21:55:26 +08:00
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