Commit Graph

359 Commits

Author SHA1 Message Date
21pages
e482dc3e2b aom encode/decode
Signed-off-by: 21pages <pages21@163.com>
2023-05-21 16:26:18 +08:00
fufesou
0f07b71f18 fix build windows i686
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-19 23:38:18 +08:00
fufesou
6b4cc6443f fix resolutions query on linux
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-19 11:43:35 +08:00
fufesou
8c0fa989b6 fix macro_role: serde_field_string, add config tests
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-19 11:10:24 +08:00
fufesou
a603e046e3 refactor resolution, mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-18 23:46:53 +08:00
rustdesk
8706541aa9 fix ci 2023-05-18 13:06:49 +08:00
RustDesk
b3115de028
Merge pull request #4395 from 21pages/config
Config
2023-05-18 13:01:13 +08:00
21pages
abaa7adfa8 run ci tests
Signed-off-by: 21pages <pages21@163.com>
2023-05-18 09:57:00 +08:00
21pages
33fb415b9d Config deserialization field type protection
Signed-off-by: 21pages <pages21@163.com>
2023-05-18 09:56:45 +08:00
21pages
5bd8befb0f remove time check
Signed-off-by: 21pages <pages21@163.com>
2023-05-16 15:59:31 +08:00
fufesou
edf6b00f13 remove all assert in non-test code
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-16 14:40:33 +08:00
rustdesk
baecf3edb8 enc punch 2023-05-14 18:17:02 +08:00
fufesou
4eb6bd82a4 plugin_framework, handle plugin list
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:48:14 +08:00
fufesou
db71dd039d plugin_framework, manager, install plugin
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:48:14 +08:00
Kingtous
7a82070420 fix: make event loop in tray compatible with main window 2023-05-02 12:52:27 +08:00
Awalon
82c44d71f9
Fix for #4136 connection to linux refused by using wrong Xauthority file.
This PR handles comments of 2nd review for initial PR #4165.
Reduced number of info/log messages
2023-04-24 23:45:23 +02:00
Awalon
dcc9337f86
Fix for #4136 connection to linux refused by using wrong Xauthority file.
This PR handles comments of review for PR #4165.
2023-04-23 23:58:04 +02:00
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
9d8e7745e2 refact virtual display
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 12:06:32 +08:00
fufesou
35ec3ffef6 tmp 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
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
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
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
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
fufesou
8cb361c51e remove android build warns
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-03-27 21:11:07 +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
asur4s
6ffa2cacb1 Clean remapped keycodes when breakdown 2023-03-19 19:02:59 -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
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
21pages
cdea6daf89 fix frequent load RustDesk_default.toml
Signed-off-by: 21pages <pages21@163.com>
2023-03-10 11:24:43 +08:00
rustdesk
d1e0ae7815 never show empty display server, use x11 instead, #3541 2023-03-08 11:28:00 +08:00
rustdesk
5052ba5f00 refactor log 2023-03-04 17:26:24 +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
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
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
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
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
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
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
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
Josh Soref
7ba932825d spelling: distro
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
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
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
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
633253647f ipv6 mangle 2022-12-26 16:41:33 +08:00
KG7x
71103886e6 Fix typo 2022-12-25 20:21:13 +03: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
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
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
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
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
csf
50dc2a4d73 fix: sending file from local to remote (keep send_raw) 2022-11-16 18:53:32 +09: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
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
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
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
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
9489877c78 video record
Signed-off-by: 21pages <pages21@163.com>
2022-09-22 09:57:52 +08:00
rustdesk
f0208c759b https://github.com/rustdesk/rustdesk/pull/1562 2022-09-18 13:13:45 +08:00
csf
e3a5218eb1 global HW_CODEC_CONFIG 2022-09-16 19:41:04 +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
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