Commit Graph

1025 Commits

Author SHA1 Message Date
Awalon
028767da8b
Fix for #4136 connection to linux refused by using wrong Xauthority file
Solution:
1. Get file from sddm-greeter and startplasma-x11 (aka KDE) processes as well
2. Get users home dir from system instead of hard coded pattern /home/<user>
3. Prefer XAUTHORITY environment variable over Xorg -auth if available
2023-04-23 03:43:47 +02:00
hiteshbedre
21f9add9ce
Corrected IPv4 Validation 2023-04-21 16:07:48 +05:30
fufesou
f7e2938e6b handle peer event
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-19 17:07:56 +08:00
fufesou
ecf8c2664c plugin, tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-19 11:38:01 +08:00
Kingtous
83e63d57e1 fix: ios build 2023-04-18 18:28:12 +08:00
fufesou
8f51e021c8 remove simple_rc
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 14:18:00 +08:00
fufesou
67d29e7496 trivail change
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 12:17:31 +08:00
fufesou
4d6358f1c8 revert scrap dxgi mode.rs
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 12:16:16 +08:00
fufesou
9d8e7745e2 refact virtual display
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 12:06:32 +08:00
fufesou
042a4e575f tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 12:06:31 +08:00
fufesou
35ec3ffef6 tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 12:06:31 +08:00
fufesou
2988744034 mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 12:06:31 +08:00
rustdesk
c83b4398af minor 2023-04-10 18:29:33 +08:00
fufesou
f72593c281 tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-08 19:49:11 +08:00
fufesou
4a8d61ac09 Do not sync led, when Control, Shift, Alt, Tab, Enter are pressed
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-08 15:35:10 +08:00
RustDesk
045235d8d1
Merge pull request #3953 from 21pages/fps
client side fps control for reduce delay
2023-04-07 19:02:08 +08:00
21pages
b79f14af12 client side fps control for reduce delay
Signed-off-by: 21pages <pages21@163.com>
2023-04-07 18:53:29 +08:00
fufesou
850f48abb8 remove unused code from https://github.com/fufesou/ustdsk/comit/b526bf4a67f7e05b2d3f739864ecc31carembc18a85
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-07 16:28:34 +08:00
fufesou
ac74ed1914 legacy mode, win, fix layout code simulation
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-06 17:53:07 +08:00
fufesou
83cfa24bae suppress warn
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-06 12:02:49 +08:00
fufesou
a65611da48 do not handle signal on debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-06 12:02:01 +08:00
21pages
be2e26e758 delete RustDesk_hwcodec.toml on every check
Signed-off-by: 21pages <pages21@163.com>
2023-04-04 21:21:00 +08:00
21pages
f2aeff974c disable hwcodec if causing crash
Signed-off-by: 21pages <pages21@163.com>
2023-04-04 21:00:13 +08:00
RustDesk
cb66c6f9f4
Merge pull request #3902 from fufesou/feat/linux_virtual_display
Feat/linux virtual display (headless linux)
2023-04-03 14:28:50 +08:00
fufesou
73358502e9 linux headless feature, tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:58 +08:00
fufesou
ee3ac31083 add deps libpam0g-dev
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:57 +08:00
fufesou
d86ef4a86e headless, linux, debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:54 +08:00
fufesou
d82d2471d7 temp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:54 +08:00
fufesou
34c3615320 get values of seat0, do not filter gdm
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:54 +08:00
fufesou
127ab57d62 ignore 'gdm' on loginctl
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:54 +08:00
fufesou
888c851167 desktop, remote toolbar, os account
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:53 +08:00
fufesou
c944d6093d virtual display, linux, debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:52 +08:00
qcloud
b82207f20b virtual display, linux, debug
Signed-off-by: qcloud <ubuntu@localhost.localdomain>
2023-04-03 13:16:52 +08:00
fufesou
5e79481860 linux, refact desktop env
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:51 +08:00
fufesou
a94052a24a ignore seat0 on gdm
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:49 +08:00
fufesou
10eddc139c linux virtual display, init commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-03 13:16:49 +08:00
21pages
c842650c11 vp8
Signed-off-by: 21pages <pages21@163.com>
2023-04-03 12:22:36 +08:00
fufesou
ae53ec877b translate mode, win2win, Send both unicode and virtual keycode to remote side
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-01 18:09:53 +08:00
fufesou
de485ca3a4 remove wait prelogin in service
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-01 10:59:23 +08:00
fufesou
3ab73bdf36 fix x11 login screen
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-01 10:27:15 +08:00
RustDesk
83b7518897
Revert "vp8" 2023-04-01 10:13:39 +08:00
21pages
78748271ac vp8
Signed-off-by: 21pages <pages21@163.com>
2023-03-31 22:32:34 +08:00
fufesou
f3bb3067cd trivial changes
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-31 16:58:05 +08:00
fufesou
4d87364bd8 trivial changes
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-31 16:54:45 +08:00
fufesou
0b417ac479 start --server on gmd wayland, just for communications, no connections will be established
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-31 16:42:35 +08:00
21pages
54a809f499 set hwcodec key frame interval to max
Signed-off-by: 21pages <pages21@163.com>
2023-03-30 20:08:34 +08:00
fufesou
c845ddf510 fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-28 10:52:43 +08:00
fufesou
eebddb2206 format
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-28 08:22:46 +08:00
fufesou
8af20489bd log::error
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-28 08:21:47 +08:00
fufesou
a1d1c8270f log
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-28 08:20:19 +08:00
fufesou
ee1fbb0a76 fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-27 23:29:28 +08:00
fufesou
947c7dbb97 try wait hw check config subprocess
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-27 22:56:48 +08:00
fufesou
8cb361c51e remove android build warns
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-27 21:11:07 +08:00
rustdesk
6ad3064ef9 fix ci 2023-03-23 17:02:55 +08:00
rustdesk
b763ec3080 revert #560 for #3748 2023-03-23 14:31:50 +08:00
fufesou
1d122b5a73 platform additions
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-21 11:27:30 +08:00
RustDesk
8b229f304d
Merge pull request #3719 from chiehw/win-linux
translate mode: support linux in server
2023-03-20 15:55:24 +08:00
Chieh Wang
d7dbe41ada
better error info 2023-03-20 15:28:14 +08:00
fufesou
de1005acb2 do not embed cursor on wayland
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-20 13:58:02 +08:00
asur4s
6ffa2cacb1 Clean remapped keycodes when breakdown 2023-03-19 19:02:59 -07:00
asur4s
2aae2ca513 Refector key click && Clear remapped keycodes 2023-03-18 20:55:35 -07:00
21pages
774694714d fix view mode
Signed-off-by: 21pages <pages21@163.com>
2023-03-17 11:28:13 +08:00
21pages
0e05df12fc client side view mode
Signed-off-by: 21pages <pages21@163.com>
2023-03-16 14:35:41 +08:00
rustdesk
3af77af983 sync hbb_common 2023-03-16 00:56:36 +08:00
rustdesk
a3c6ac24a9 add region to proto 2023-03-15 19:29:03 +08:00
Kingtous
7a05910807 feat: identical msg in flutter and sciter 2023-03-15 17:21:15 +08:00
Kingtous
b627a0d6c1 feat: post file confirm and make files with the same name confirm 2023-03-15 17:21:15 +08:00
rustdesk
22174bea37 fix ci 2023-03-11 01:53:36 +08:00
rustdesk
8a27c55db2 remove sys-info crate for mobile because which depends on libunwind, it
is not in ndk r22b
2023-03-11 01:34:33 +08:00
rustdesk
09b823d637 higher sysinfo version 2023-03-10 23:41:01 +08:00
21pages
cdea6daf89 fix frequent load RustDesk_default.toml
Signed-off-by: 21pages <pages21@163.com>
2023-03-10 11:24:43 +08:00
rustdesk
61679a1072 upgrade some crates, fix scrap benchmark on mac, fix compile issue on
osx10.14
2023-03-09 17:22:14 +08:00
rustdesk
d1e0ae7815 never show empty display server, use x11 instead, #3541 2023-03-08 11:28:00 +08:00
fufesou
37d21d8db0 remove unused logic
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-06 17:31:38 +08:00
fufesou
c751ebee4e fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-06 17:31:38 +08:00
fufesou
507472e87e show one display when privacy mode is on
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-06 17:31:37 +08:00
21pages
0579ba5cfd opt benchmark code
Signed-off-by: 21pages <pages21@163.com>
2023-03-06 10:59:01 +08:00
rustdesk
5052ba5f00 refactor log 2023-03-04 17:26:24 +08:00
RustDesk
239d0291d0
Merge pull request #3494 from 21pages/benchmark
fix build
2023-03-03 23:03:46 +08:00
21pages
5634b428ca fix build
Signed-off-by: 21pages <pages21@163.com>
2023-03-03 22:43:02 +08:00
RustDesk
619ae63e00
Merge pull request #3493 from 21pages/benchmark
codec benchmark
2023-03-03 22:26:39 +08:00
21pages
b4aea69bdb codec benchmark
Signed-off-by: 21pages <pages21@163.com>
2023-03-03 22:12:54 +08:00
fufesou
c0d367f7b1 fix some incorrect capture magnifier logic
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-03 21:04:52 +08:00
rustdesk
876fb26a67 fix #3424 2023-03-03 15:34:57 +08:00
rustdesk
6ec4d6d9ca fix ci 2023-03-03 14:34:47 +08:00
rustdesk
b8941c15c0 refactor DST_STRIDE_RGBA 2023-03-03 14:02:49 +08:00
RustDesk
29abda56df
Revert "Fix/macos texture stride align" 2023-03-03 13:18:34 +08:00
fufesou
c419819c0f rename all stride_align to stride
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-03 10:58:48 +08:00
fufesou
5aa97faedd Fix stride align
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-03 10:01:58 +08:00
fufesou
42c95f71f6 fix macos strid align
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-03 10:01:58 +08:00
fufesou
0d64ee39de remove print
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-01 12:20:54 +08:00
fufesou
303462a87c default config filed
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-01 12:12:02 +08:00
sjpark
b5c4de9c83 Merge remote-tracking branch 'github/master' into sigma
# Conflicts:
#	flutter/lib/desktop/widgets/remote_menubar.dart
2023-02-25 11:37:12 +09:00
21pages
18a66749a1 linux x11 resolution
Signed-off-by: 21pages <pages21@163.com>
2023-02-24 10:44:02 +08:00
21pages
91a2a5b56e win resolution && api
Signed-off-by: 21pages <pages21@163.com>
2023-02-24 09:14:13 +08:00
fufesou
ed0338b038 fix build && default flutter_texture_render
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-23 17:06:53 +08:00
fufesou
173e3bcd0d debug win, without hwcodec
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-23 17:06:52 +08:00
fufesou
77c4a14845 flutter texture render, mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-23 17:06:51 +08:00
21pages
4beacf93d7 kill check-hwcodec-config process
Signed-off-by: 21pages <pages21@163.com>
2023-02-21 16:34:24 +08:00
fufesou
0491950e01 macos remove unused code
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 22:29:10 +08:00
fufesou
b4beb78e8f macOS, ignore alert for now
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 21:28:48 +08:00
fufesou
e1254c0b24 macos better alert
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 21:12:34 +08:00
fufesou
626fdefb18 debug macos and linux
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 12:01:46 +08:00
fufesou
a333a261fd add alert for macos
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 11:40:59 +08:00
fufesou
b733ad9379 refact register_breakdown_handler
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 10:19:28 +08:00
fufesou
302499d1e0 fix sync displays info && select monitor menu
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-17 13:32:17 +08:00
fufesou
b2d13647be translate mode, mac --> win, debug 2
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-14 21:42:31 +08:00
fufesou
e24f5e7eed mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-14 21:42:30 +08:00
rustdesk
d416d7d965 base64 icon only for sciter 2023-02-11 00:21:19 +08:00
sjpark
edff4acbcb swap key update 2023-02-09 12:16:41 +09:00
rustdesk
7c13be5876 update issue template and clippy for hbb_common 2023-02-08 17:26:44 +08:00
Kingtous
e944b776bc opt: remove unnecessary config field 2023-02-07 20:59:13 +08:00
Kingtous
a04980fa13 refactor: remove audio mode 2023-02-07 16:20:37 +08:00
Kingtous
45b93100d6 feat: add voice call proto 2023-02-07 16:20:37 +08:00
Kingtous
05822991bf opt: rename to dual-way 2023-02-07 16:20:37 +08:00
Kingtous
cb228bef2b feat: add audio switch ui 2023-02-07 16:20:37 +08:00
21pages
92145eeb71 other bool default display settings
Signed-off-by: 21pages <pages21@163.com>
2023-02-02 10:47:49 +08:00
21pages
359f19af02 default display settings
Signed-off-by: 21pages <pages21@163.com>
2023-02-02 10:47:42 +08:00
rustdesk
ec1da900ec fix issue #2963: run gen_version no matter debug or release 2023-02-01 10:42:02 +08:00
fufesou
74a73b7ffd add default position for portal streams
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-31 17:51:20 +08:00
21pages
176847c51e fix warning
Signed-off-by: 21pages <pages21@163.com>
2023-01-29 14:28:10 +08:00
fufesou
d1090fc62c ensure init cursor embedded
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-29 12:41:16 +08:00
fufesou
c0adc14215 misspelling
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-29 12:41:16 +08:00
fufesou
b84f3ba1ee init wayland to update var 'cursor embeded'
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-29 12:41:16 +08:00
fufesou
7e0c9e17df set cursor mode according to availible modes
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-29 12:41:16 +08:00
rustdesk
a8c3499d7b sync with rustdesk-server hbb_common 2023-01-27 11:42:08 +08:00
4JX
f591f5686c Use OUT_DIR in build.rs 2023-01-23 19:26:10 +01:00
rustdesk
efa7b52f49 fix nightly build RS_PUB_KEY issue 2023-01-24 01:32:56 +08:00
rustdesk
d4851ebb40 revert 8fb3c452be 2023-01-24 01:24:53 +08:00
21pages
333092f983 switch sides
Signed-off-by: 21pages <pages21@163.com>
2023-01-20 14:53:05 +08:00
RustDesk
b3465e1c13
Merge pull request #2851 from AutumnSun1996/master
Allow direct connect to {hostname}:{port}
2023-01-18 14:35:50 +08:00
rustdesk
8fb3c452be Allow setting custom server and key with env variables #2810 2023-01-18 14:22:41 +08:00
qiushiyang
aa2cd37fb3 use more accurate regex for {domain}:{port} 2023-01-18 06:08:46 +00:00
RustDesk
7aced73393
Revert "Allow setting custom server and key with env variables" 2023-01-18 11:48:10 +08:00
RustDesk
a46c373081
Merge pull request #2810 from botanicvelious/master
Allow setting custom server and key with env variables
2023-01-18 11:48:01 +08:00
qiushiyang
12d446b217 fix test for is_hostname_port_str 2023-01-18 03:35:13 +00:00
botanicvelious
b59ae9bd42
requires 3 elements in array 2023-01-17 08:03:24 -07:00
botanicvelious
9980246b90
add RS_DEF_PUB_KEY 2023-01-17 07:54:11 -07:00
qiushiyang
d601a82b5a Allow direct connect to {hostname}:{port} 2023-01-17 22:46:11 +08:00
botanicvelious
12af9e6369
update RENDEZVOUS_SERVER env check 2023-01-17 06:56:09 -07:00
21pages
d3b490ac48 elevation request
Signed-off-by: 21pages <pages21@163.com>
2023-01-14 17:39:46 +08:00
botanicvelious
94057d0df5
Update config.rs 2023-01-11 18:59:21 -07:00
botanicvelious
ada75b602c
update to RS_PUB_KEY_VAL 2023-01-11 18:29:09 -07:00
botanicvelious
860ccd6b3a
add env variables for RENDEZVOUS_SERVERS
check for env variable RENDEZVOUS_SERVER1-3 if not use the default
2023-01-11 17:35:47 -07:00
botanicvelious
5e2ef998a3
use RS_PUB_KEY env var
If RS_PUB_KEY is set as an env variable use the env variable
2023-01-11 17:19:58 -07:00
Asur4s
a35bd772cc fix conflicts 2023-01-12 00:35:39 +08:00
ston
aafccf423d fix session type when starting wayland via tty 2023-01-10 18:19:50 +08:00
fufesou
00867276ed fix wayland input
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-10 14:18:25 +08:00
Josh Soref
5e4ca9ef92 spelling: valid
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:59:08 -05:00
Josh Soref
3949e3162c spelling: rotation
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:59:08 -05:00
Josh Soref
c89e104f3e spelling: regardless
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:59:08 -05:00
Josh Soref
33c3489a9e spelling: prefer
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:59:08 -05:00
Josh Soref
4993635652 spelling: platforms
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:59:08 -05:00
Josh Soref
d6495f3e08 spelling: pformatetc
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:59:08 -05:00
Josh Soref
f91daf046a spelling: invocation
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:59:08 -05:00
Josh Soref
69595b7b67 spelling: implementation
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:59:08 -05:00
Josh Soref
53556ba06c spelling: essentially
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:58:33 -05:00
Josh Soref
db45907e91 spelling: environment
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:58:33 -05:00
Josh Soref
7ba932825d spelling: distro
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:58:33 -05:00
Josh Soref
8c901c2585 spelling: custom
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:58:33 -05:00
Josh Soref
6ca852363e spelling: control
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:58:33 -05:00
Josh Soref
ec8cb0579f spelling: common
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:58:33 -05:00
Josh Soref
caa557e360 spelling: clipboard
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:58:33 -05:00
Josh Soref
185ff9e91e spelling: available
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:58:33 -05:00
Josh Soref
f45fdaa46f spelling: appveyor
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:58:33 -05:00
rustdesk
12b02514a4 fix one warning 2023-01-09 18:45:38 +08:00
rustdesk
80c1b89b47 add unit test to test_if_valid_server 2023-01-09 18:28:11 +08:00
sj6219
c5e39f4bbb windows extended key 2023-01-06 20:07:43 +09:00
Amy Parker
84e4389943
remove unnecessary allow block
Patch #2701 (609117c: "ignore style warnings in libs/scrap") was merged,
but the RustDesk team decided to later instead changed
is_cursor_embedded to uppercase (see discussion on the PR), thus no
longer triggering the warning and no longer needing the allow block.
This was changed in (b723f84: "fix linux to mac, keyboard input"). This
patch removes the now unnecessary allowances.

Signed-off-by: Amy Parker <apark0006@student.cerritos.edu>
Cc: fufseou <shuanglongchen@yeah.net>
2023-01-05 20:32:53 -08:00
fufesou
20ba62870e remove unimplemented!
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-05 17:52:57 +08:00
fufesou
b4feae33bb support linux mouse back/forward
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-05 17:47:26 +08:00
fufesou
97cf85d1b7 mouse forward back support on windows
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-05 17:47:26 +08:00
fufesou
b723f8472d fix linux to mac, keyboard input
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-05 15:00:52 +08:00
rustdesk
55962f2fc9 ipv6 support for direct connection, todo: UI input check, relay port
change based on ipv6
2023-01-04 18:35:31 +08:00
Amy Parker
f816e53c2b
ignore style warnings in libs/scrap
Constant `is_cursor_embedded` does not follow the Rust standard
stylistic convention of upper-case global variables and constants. This
causes two warnings to be thrown when compiling (tested on Arch Linux,
commit = 68fda34, Rust = 1.66.0), one each for the Wayland and X11
common modules. Since these variables are not new, their names should
not be modified; to remove the warnings, this patch allows
non-style-conforming names on these two constant declarations
specifically, suppressing the warnings. It does not affect stylistic
warnings on any other code within the project.

Signed-off-by: Amy Parker <apark0006@student.cerritos.edu>
Cc: fufesou <shuanglongchen@yeah.net>
2023-01-02 11:20:25 -08:00
fufesou
97718b33a6 remove expect
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-02 13:11:25 +08:00
fufesou
b114ebf350 fix some misspellings
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-12-31 21:41:16 +08:00
rustdesk
9859b4f27d fix ipv6 refactory 2022-12-29 22:31:01 +08:00
rustdesk
67ad937fdd fix nat64 and refactor ipv6 2022-12-29 20:34:52 +08:00
fufesou
01ade73304 fix macos sticky fn, https://stackoverflow.com/questions/74938870/sticky-fn-after-home-is-simulated-programmatically-macos
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-12-29 14:37:09 +08:00
fufesou
b9ee0590bb update rdev dep
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-12-28 15:31:01 +08:00
rustdesk
08b8f40397 nat64 2022-12-28 13:52:13 +08:00
fufesou
50c33450b9 fix keyboard type store
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-12-27 18:16:29 +08:00
fufesou
48e684335e choose keyboard layout type, mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-12-27 18:16:29 +08:00
rustdesk
71bd35f8b2 refactor socket_client to prepare for nat64 2022-12-27 12:30:23 +08:00
asur4s
85620b73a7 opt: get supported keyboard modes 2022-12-26 02:32:43 -08:00
rustdesk
0d0957cea5 remove u128 compare 2022-12-26 17:44:29 +08:00
rustdesk
633253647f ipv6 mangle 2022-12-26 16:41:33 +08:00
RustDesk
96e41abbaa
Merge pull request #2647 from KG7x/master
Fix typo & Optimize images & Cleanup
2022-12-26 13:16:52 +08:00
rustdesk
6d95a66de3 remove some errors on mac 2022-12-26 11:25:55 +08:00
KG7x
71103886e6 Fix typo 2022-12-25 20:21:13 +03:00
KG7x
4e7568dec1 Optimize images (loseless) 2022-12-25 19:36:51 +03:00
KG7x
2d6075189d Cleanup 2022-12-25 19:23:03 +03:00
Huabing Zhou
385a1594f3 Merge branch 'master' of github.com-rustdesk:rustdesk/rustdesk 2022-12-23 22:02:06 +08:00
Huabing Zhou
4815099482 make m1 run (used brew install llvm) 2022-12-23 22:00:05 +08:00
Sangha Lee
59a82a9fbd
downgrade gstreamer to 0.16 2022-12-22 20:42:34 +09:00
Sangha Lee
0819a3d8ea
Revert "Merge pull request #2628 from rustdesk/revert-2612-master"
This reverts commit e50882a660, reversing
changes made to 7f006102b5.
2022-12-22 18:54:27 +09:00
RustDesk
9c24117b13
Revert "Implement RGB0 pixel format " 2022-12-22 12:22:26 +08:00
Sangha Lee
3643870287
fix unsafe code 2022-12-21 18:42:22 +09:00
Sangha Lee
38f66df091
implement RGB0 #2608 2022-12-21 04:12:34 +09:00
Sangha Lee
d910e7ad96
update gstreamer 2022-12-21 03:32:42 +09:00
asur4s
4837d84209 opt: enum KeyboardMode 2022-12-20 01:09:35 -08:00
fufesou
47658667d6 Merge branch 'master' into keyboard 2022-12-14 11:12:55 +08:00
21pages
72594c7e0e remove hwcodec log
Signed-off-by: 21pages <pages21@163.com>
2022-12-13 21:30:08 +08:00
21pages
d08eb0441c log
Signed-off-by: 21pages <pages21@163.com>
2022-12-13 16:25:05 +08:00
21pages
e58f2186ec don't new hwcodec decoders if option disabled
Signed-off-by: 21pages <pages21@163.com>
2022-12-13 14:58:41 +08:00
fufesou
a780519fe0 allow_err with msg
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-12-10 19:46:41 +08:00
rustdesk
1424cbeb44 Merge branch 'master' into keyboard 2022-12-09 19:51:15 +08:00
RustDesk
d5a93adbf0
typo 2022-12-08 23:07:22 +08:00
RustDesk
8704e15738
fix last pr 2022-12-08 23:05:51 +08:00
Kingtous
3cfcaf65ad opt: add display server check 2022-12-08 17:43:46 +08:00
Kingtous
162f29c80d fix: get display server in flatpak 2022-12-08 17:08:31 +08:00
RustDesk
160a226977
Merge pull request #2481 from 21pages/upload_record
upload record
2022-12-08 13:37:50 +08:00
21pages
2136931f80 upload record
Signed-off-by: 21pages <pages21@163.com>
2022-12-08 09:07:18 +08:00
Asura
3b60304d14 refactor: keyboard of client 2022-12-08 09:03:41 +08:00
Kingtous
bb42e88bb2 opt: remove outputs 2022-12-06 15:17:51 +08:00
Kingtous
c77fe6c01c fix: infinite execution loop when transfer data 2022-12-06 15:10:08 +08:00
Kingtous
cbc372991b feat: add skip feature 2022-12-05 20:11:04 +08:00
fufesou
387a7f2df4 ios get data dir
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-12-01 21:48:19 +08:00
fufesou
5877bcf2a1 fix cursor embeded value on x11
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-29 17:59:11 +08:00
fufesou
4d044ca57a wayland cursor embeded
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-29 16:36:35 +08:00
fufesou
fff6aad1c5 compile win & macos
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-25 19:28:43 +08:00
fufesou
87306a3d01 wayland filter last same frame
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-25 19:28:43 +08:00
fufesou
9dfa02a702 Fix wayland input after Lock and Wake
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-25 19:28:43 +08:00
fufesou
e31130d4f8 wayland, fix check Lock && Mod Resolution
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-25 19:28:43 +08:00
fufesou
02c1bc6080 hide zoom-cursor if view-style is original
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-24 11:21:36 +08:00
rustdesk
c1af464203 minor improve 2022-11-23 22:34:17 +08:00
Robin Fackler
f20679f24a Fix crash if id == "base64_" 2022-11-23 15:29:28 +01:00
Robin Fackler
d6544e74ff Merge remote-tracking branch 'upstream/master' 2022-11-23 15:21:54 +01:00
Robin Fackler
29978f1a3e If an ID contains invalid filename characters, encode it using base64 2022-11-23 15:07:56 +01:00
21pages
8b4d50f3fb flutter version allow hide cm
Signed-off-by: 21pages <pages21@163.com>
2022-11-23 13:59:42 +08:00
21pages
617e64d01f fix approve mode judgement
Signed-off-by: 21pages <pages21@163.com>
2022-11-21 15:29:00 +08:00
xxrl
edfb22d9c2 Merge branch 'master' into dev 2022-11-20 13:27:39 +08:00
RustDesk
ac07db76cb
Merge pull request #2225 from 21pages/portable-service
portable-service: enable quick support by rename as xxxqs.exe
2022-11-19 13:53:21 +08:00
21pages
eb673c8c78 portable-service: enable quick_support by rename as xxxqs.exe
Signed-off-by: 21pages <pages21@163.com>
2022-11-19 13:12:21 +08:00
fufesou
aa3b8ca084 virtual display remove static links
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-18 17:55:21 +08:00
fufesou
27e7b57222 move virtual display to lib workspace
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-18 17:55:21 +08:00
fufesou
26e8355528 dynamic library - win virtual display
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-18 17:55:21 +08:00
fufesou
75d8168070 enable rust default option
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-17 19:33:58 +08:00
Kingtous
d24e7b25ab feat: add build date 2022-11-17 16:36:26 +08:00
RustDesk
6dc817b9b4
Merge pull request #2151 from Heap-Hop/send_raw_bug
fix: sending file from local to remote (keep send_raw)
2022-11-16 20:26:40 +08:00
csf
50dc2a4d73 fix: sending file from local to remote (keep send_raw) 2022-11-16 18:53:32 +09:00
21pages
8e1545b432 portable service
Signed-off-by: 21pages <pages21@163.com>
2022-11-15 17:05:10 +08:00
fufesou
6b3c2f3beb fix android build errors and warnings
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-13 18:29:05 +08:00
Robin Fackler
e1516d809f Use "_" instead of ":" in PeerConfig filenames 2022-11-11 00:00:49 +01:00
fufesou
50d885d3e7 Remove SharedPreferences, debug win
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-10 23:33:24 +08:00
21pages
53e0c16857 fix command line support
Signed-off-by: 21pages <pages21@163.com>
2022-11-10 15:06:51 +08:00
xxrl
1b7950fc42 Merge branch 'master' into dev 2022-11-10 00:01:42 +08:00
21pages
dd04f76ec0 close all connections when stop service
Signed-off-by: 21pages <pages21@163.com>
2022-11-09 17:43:14 +08:00
xxrl
260c924010 opt: mac scroll to fast 2022-11-08 23:05:43 +08:00
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
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
Kingtous
618be48726 feat: appimage package script
revert: flutter lock file
2022-06-09 17:46:17 +08:00
21pages
2a91fb842d scrap: save best codec info in LocalConfig
Signed-off-by: 21pages <pages21@163.com>
2022-06-07 19:35:18 +08:00
21pages
27091dec0e scrap: remove lock on hwDecoder
Signed-off-by: 21pages <pages21@163.com>
2022-06-07 10:27:53 +08:00
rustdesk
c0aa0d743a https://github.com/rustdesk/rustdesk/issues/692 2022-06-07 00:30:37 +08:00
21pages
91012b5da5 scrap: refactor update_video_encoder
Signed-off-by: 21pages <pages21@163.com>
2022-06-06 17:02:07 +08:00
21pages
42546a7468 scrap: use the same bitrate ratio control as vpx
Signed-off-by: 21pages <pages21@163.com>
2022-06-06 15:59:30 +08:00
21pages
4bb09865cf scrap: update HwDecoder::instance()
Signed-off-by: 21pages <pages21@163.com>
2022-06-05 18:12:54 +08:00
rustdesk
c80e2204d9 https://github.com/rustdesk/rustdesk/issues/406#issuecomment-1145157327 2022-06-03 10:05:51 +08:00
rustdesk
25ca204213 https://github.com/rustdesk/rustdesk/issues/406#issuecomment-1145157327 2022-06-03 02:37:52 +08:00
RustDesk
720b05874a
Merge pull request #628 from fufesou/simple_rc
Fix WCHAR Path & Add Resources Integration Lib
2022-06-02 22:01:01 +08:00
SoLongAndThanksForAllThePizza
d756551791 fix: macos compilation 2022-06-02 16:13:34 +08:00
21pages
327bdb741c scrap: fix update_video_encoder
Signed-off-by: 21pages <pages21@163.com>
2022-06-02 11:32:55 +08:00
21pages
7e6c38e6d2 scrap: add hw quality control
Signed-off-by: 21pages <pages21@163.com>
2022-06-02 11:32:55 +08:00
21pages
399ddc8bef scrap: rename coder.rs to codec.rs
Signed-off-by: 21pages <pages21@163.com>
2022-06-02 11:32:55 +08:00
21pages
6677fc9b30 scrap: rename codec.rs to vpxcodec.rs
Signed-off-by: 21pages <pages21@163.com>
2022-06-02 11:32:55 +08:00
21pages
70968638bf scrap: add hwcodec
Signed-off-by: 21pages <pages21@163.com>
2022-06-02 11:32:50 +08:00
csf
75b920079b run android InputService independently 2022-06-01 21:14:02 +08:00
csf
16fd96aa96 fix android bit rate 2022-06-01 17:52:21 +08:00
SoLongAndThanksForAllThePizza
e1e3491ec6 fix: use forked codegen repo instead of local repo 2022-05-31 16:57:42 +08:00
SoLongAndThanksForAllThePizza
5825ae4531 fix: compile error when using enum in flutter 2022-05-31 16:28:12 +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
18ba55056f privacy_mode_win_magnifier: fix crash when resolution changed
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-30 18:16:04 +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
e1bb25c70e fix_virtual_display_path: fix wchar* path
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-30 12:27:11 +08:00
fufesou
c269d1c831 privacy_mode: win10 magnifier
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-30 12:08:28 +08:00
Kingtous
a364e7f808 demo: use mobile_ffi to get id for desktop version 2022-05-25 14:12:40 +08:00
Kingtous
c4663ecbf3 fix: linux <- windows subfolder collepsed 2022-05-20 10:53:10 +08:00
csf
a071eeb710 fix audio latency 2022-05-19 18:39:13 +08:00
Kingtous
42f2ebc8e6 opt: clean code 2022-05-18 15:45:45 +08:00
Kingtous
fc39c0ffc0 add: android file transfer logic 2022-05-17 23:03:55 +08:00
RustDesk
7c2db5a835
Merge pull request #510 from Kingtous/opt/file_transfer_resume
opt: file transfer can resume when encountering reconnecting or close&open window
2022-05-17 17:22:40 +08:00
jkhsjdhjs
368af127df
enigo: check /usr/lib/rustdesk for pynput_service.py 2022-05-16 15:01:53 +02:00
Kingtous
39eb1b7211 opt: add resume btn 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
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
83c75409e8 add: msg 2022-05-16 14:45:17 +08:00
Kingtous
74a3799b78 add: meta info 2022-05-16 14:45:17 +08:00
Kingtous
02f214e39a opt: name, imports 2022-05-16 14:45:17 +08:00
Kingtous
74b3cb1c58 fix: skip issue 2022-05-16 14:45:17 +08:00
Kingtous
cdecb3589a refactor: change version to 1.2.0 2022-05-16 14:45:17 +08:00
Kingtous
4975c9b54d add: overwrite version limit, remove debug log 2022-05-16 14:45:17 +08:00
Kingtous
c17e77148e add: remote ret back override confirmation 2022-05-16 14:45:16 +08:00
Kingtous
51caeafebd add: server override 2022-05-16 14:45:16 +08:00
kingtous
8854fcbe85 add: automatic accept confirm log 2022-05-16 14:45:16 +08:00
kingtous
b08877031f feat: server connections 2022-05-16 14:45:16 +08:00
kingtous
f4c6c4f6c4 feat: add file digest 2022-05-16 14:45:16 +08:00
rustdesk
c1bad84a86 100% open source 2022-05-12 17:35:25 +08:00
rustdesk
2724bd4000 try out unicode if key_down fail 2022-05-09 01:36:56 +08:00
rustdesk
b526bf4a67 work around of italian keyboard shift+"." issue
https://github.com/rustdesk/rustdesk/issues/366#issuecomment-1120379312
2022-05-08 18:12:02 +08:00
rustdesk
6cfbbbc067 fix opensuse 2022-05-05 01:33:49 +08:00
rustdesk
b5395d954a refactor config sync 2022-05-04 20:39:07 +08:00
rustdesk
3566b0ee7a new mac service and local config 2022-04-26 11:19:45 +08:00
rustdesk
4d5d0a4c62 improve video, ignore same image 2022-04-24 02:50:28 +08:00
rustdesk
75c9a8c561 remote min size, android icon and scrap memory safety 2022-04-14 20:44:43 +08:00
rustdesk
609996005f STRIDE_ALIGN 16 -> 64 2022-04-12 23:31:42 +08:00
rustdesk
3ea33f7203 improve file write to cm 2022-03-26 03:05:15 +08:00
rustdesk
75c9bbb30f refactor IdPk 2022-03-26 00:06:06 +08:00
gengteng
82f2431eb8 use vcpkg to find package 2022-03-22 16:34:27 +08:00
rustdesk
1e0a347893 refactor signed_pk 2022-03-20 20:20:32 +08:00
fufesou
561a0d20ed virtual display: win10 auto install and uninstall virtual display
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-03-17 20:43:27 +08:00
fufesou
117bbb3409 virtual display: plugout monitor on disconnecting, debug failed, may crash...
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-03-17 20:43:27 +08:00
fufesou
974c259a3d virtual display: win10 trivial refactor
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-03-17 20:43:27 +08:00
fufesou
957eabcef0 virtual display: win10 debug windows.
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-03-17 20:43:27 +08:00
fufesou
1eb696356e virtual display: idd add uninstall && example1
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-03-17 20:43:27 +08:00
fufesou
b734e8aee9 add virtual display
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-03-17 20:43:26 +08:00
fufesou
e6bf858ae1 virtual display: compile example ok, not debug yet
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-03-17 20:42:11 +08:00
rustdesk
eaeceeac29 https://github.com/rustdesk/rustdesk/issues/406#issuecomment-1064011977 2022-03-15 12:13:46 +08:00
rustdesk
88ac9e9d11 more pynput startup try 2022-03-08 17:59:26 +08:00
rustdesk
ffb0fa4349 pynput run as user 2022-03-08 15:42:58 +08:00
rustdesk
74c3f1d7cc linux AltGr ok 2022-03-08 12:08:18 +08:00
rustdesk
617f87a797 fix wrong format of mac 2022-03-08 01:07:59 +08:00
rustdesk
ab1805281f basically work, but AltGr not handle well, because confused with Alt_R,
and no idea how to get AltGr state. And on Windows, AltGr (some
keyboard, like br) trigger two key down: Left Control and Alt, how to
handle?
2022-03-07 00:48:20 +08:00
rustdesk
1758aa0f1e try out pynput 2022-03-06 03:10:16 +08:00
open-trade
8460c1ac42 format 2022-02-24 14:40:33 +08:00
fufesou
5a07701b90 remove remote conn id
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-02-24 11:32:14 +08:00
fufesou
01591d1abf fix hang up
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-02-24 02:46:47 +08:00
fufesou
128a4aca69 fix crash on windows clipboard
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-02-24 00:26:19 +08:00
fufesou
555ff0085a empty clipboard, debug crash & failed to copy
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-02-24 00:26:19 +08:00
fufesou
2f6b457b3f better control of clipboard file transfer
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-02-24 00:26:19 +08:00
fufesou
8834251eec move clipboard file service to cm module
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-02-24 00:26:19 +08:00
fufesou
e80869af67 fix memory leak
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-02-15 21:28:41 +08:00
rustdesk
933969d1fe refactor cliprdr, not tested on windows yet 2022-02-15 14:46:08 +08:00
fufesou
6672087f7c windows clipboard
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-02-15 11:18:53 +08:00
open-trade
6c05f72d90 refactor should_exit 2022-02-07 18:39:49 +08:00
rustdesk
3ec69b6d97 refactor video_ack_required 2022-02-05 01:19:24 +08:00
rustdesk
5a0f8d008e video_ack_required for web 2022-02-04 22:18:48 +08:00
open-trade
ea2fe3eff0 https://github.com/rustdesk/rustdesk/issues/366 2022-01-24 15:51:29 +08:00
rustdesk
a3511d9157 update crates, and set new default #cpu 2022-01-24 02:26:07 +08:00
rustdesk
bf578e768b set_nodelay 2022-01-23 20:53:55 +08:00
rustdesk
a474f904b1 for back compatibility 2022-01-21 02:06:33 +08:00
open-trade
326eed5ee0 make tcp sync 2022-01-19 16:40:05 +08:00
open-trade
92a1bb04e9 make proto compatible to c++ 2022-01-17 16:53:17 +08:00
rustdesk
6bd730bc67 unwrap -> ok to avoid unintended crash 2022-01-15 19:11:19 +08:00
rustdesk
35816d4fbb polish block input 2022-01-15 18:27:15 +08:00
fufesou
25492c815c simple privacy mode
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-01-15 16:57:07 +08:00
rustdesk
8f998771c9 refactor process id 2022-01-15 14:08:24 +08:00