Commit Graph

2264 Commits

Author SHA1 Message Date
Guido Falsi
1b899a5ce8 Add test for host and name extraction from filename. 2023-04-29 12:40:59 +02:00
Guido Falsi
5a25573125 Reimplement code extracting information from file name.
This code tokenizes the file name based on commas and extracts
relevant parts sequentially.

`host=` is expected to be the first part.

Since Windows renames files adding (1), (2) etc. before the .exe
in case of duplicates, which causes the host or key values to be
garbled.

This allows using a `,` (comma) symbol as a final delimiter.

Fixes #4162
2023-04-29 12:40:59 +02:00
rustdesk
96560d9199 fix #4218 2023-04-29 12:50:17 +08:00
fufesou
c315924ef7 plugin_framework, fix dup ui widgets
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-29 12:34:34 +08:00
21pages
ccb02d779b fix file transfer always connecting because of FingerPrintState not
initialized

Signed-off-by: 21pages <pages21@163.com>
2023-04-29 10:13:27 +08:00
RustDesk
114b004192
Merge pull request #4221 from Kingtous/feat/plugins
feat: add native handlers for plugins
2023-04-28 23:27:39 +08:00
21pages
190c99aebc fix portable service parameter sync
Signed-off-by: 21pages <pages21@163.com>
2023-04-28 22:41:54 +08:00
Kingtous
6da5bef064 fix: ignore session hook on android/ios 2023-04-28 19:17:20 +08:00
21pages
6e0f75cbde minisize portable service sleep time
Signed-off-by: 21pages <pages21@163.com>
2023-04-28 19:01:34 +08:00
21pages
ca7487350f send SwitchDisplay using the same channel with VideoFrame
Signed-off-by: 21pages <pages21@163.com>
2023-04-28 17:12:46 +08:00
Kingtous
5c0f249390 feat: add cb for ffi 2023-04-28 15:14:28 +08:00
Kingtous
952598af25 feat: add session related function 2023-04-28 14:55:40 +08:00
Kingtous
c140bcfed6 feat: add native call 2023-04-28 13:49:58 +08:00
Kingtous
3774f8308f feat: add native session handlers 2023-04-28 13:49:58 +08:00
Kingtous
4acc3052cc feat: add callable trait 2023-04-28 13:49:58 +08:00
Kingtous
ed64813aa0 opt: move api to plugins 2023-04-28 13:49:58 +08:00
RustDesk
c64d0a5424
Merge pull request #4220 from fufesou/fix/win_headless
fix plugout virtual monitor
2023-04-28 13:27:45 +08:00
fufesou
6b84106aff remove warn
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-28 13:22:31 +08:00
fufesou
84ab9ba48e fix plugout virtual monitor
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-28 13:19:48 +08:00
fufesou
fc50a3e49d set fmt and stride to private in ImageRgb
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-28 12:35:46 +08:00
fufesou
e3b66af8af fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-28 12:03:44 +08:00
fufesou
6b1645f44d set width,height,stride together with the rgba data for rendering
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-28 11:44:52 +08:00
fufesou
7e8e55d307 fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-27 14:46:14 +08:00
fufesou
226d200143 trival changes
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-27 14:42:55 +08:00
fufesou
12ab0a433a plugin_framework, debug listen event
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-27 14:41:53 +08:00
fufesou
9a457894b3 plugin_framework, add event listening
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-27 11:24:19 +08:00
RustDesk
404525759e
Merge pull request #4205 from flusheDData/master
Update es.rs
2023-04-27 08:59:09 +08:00
Miguel F. G
59a1335d2f
Update es.rs
A few term modifications based on the actual context
2023-04-26 17:32:04 +02:00
happy-coder
d474621f50
Update header.tis
Adding display switching hotkey '^' (just goes to next display)
2023-04-26 14:37:55 +02:00
fufesou
45d07686b9 plugin_framework, debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-26 16:07:58 +08:00
fufesou
82bfa9ca29 plugin_framework, split call function to server side and client side
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-26 13:29:55 +08:00
Miguel F. G
98c33ef476
Update es.rs
New terms added
2023-04-25 17:00:47 +02:00
fufesou
c009f40152 plugin_framework, change func log to plugin_log
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-25 21:44:40 +08:00
fufesou
3d9afbb12a plugin_framework, add debug info
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-25 21:04:25 +08:00
RustDesk
865253b478
Merge pull request #4187 from SergeyMy/patch-2
Update index.tis
2023-04-25 16:02:53 +08:00
SergeyMy
7fe4432b2f
Update index.tis 2023-04-25 12:52:56 +05:00
SergeyMy
a71a6b7bdb
Update index.tis
About (translate)
2023-04-25 12:44:04 +05:00
fufesou
2051dca5b4 plugin_framework, support log callback
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-25 15:35:56 +08:00
RustDesk
ce1ce19567
Merge pull request #4165 from awalon/master
Fix for #4136 connection to linux refused by using wrong Xauthority file
2023-04-25 09:42:08 +08:00
RustDesk
c015b66da0
Update linux.rs 2023-04-25 09:41:02 +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
fufesou
d8dc56a743 plugin_framework, debug config, mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-24 19:57:20 +08:00
Awalon
9bf058bb32
Merge remote-tracking branch 'origin/master' 2023-04-23 23:58: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
fufesou
cbeebea7a5 plugin_framework, show remote toolbar widget
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-23 20:53:51 +08:00
Awalon
a0d9c741f4
Merge branch 'rustdesk:master' into master 2023-04-23 12:30:15 +02:00
RustDesk
eb96b0d451
Merge pull request #4166 from fufesou/feat/plugin_framework
plugin_framework, load plugin
2023-04-23 16:47:31 +08:00
fufesou
260c671d6c plugin_framework, load plugin
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-23 15:40:55 +08: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
RustDesk
9cc09c620f
fix #4163 2023-04-23 07:33:03 +08:00