Commit Graph

282 Commits

Author SHA1 Message Date
Saverio Miroddi
230f74da2e Remove IS_IN unsafe code, by using AtomicBool 2022-05-24 18:37:24 +02:00
Saverio Miroddi
0c0051d59a Remove SERVER_FILE_TRANSFER_ENABLED unsafe code, by using AtomicBool 2022-05-24 18:37:22 +02:00
Saverio Miroddi
45bb271c88 Remove SERVER_KEYBOARD_ENABLED unsafe code, by using AtomicBool 2022-05-24 18:12:42 +02:00
Saverio Miroddi
c7f452752d Remove SERVER_CLIPBOARD_ENABLED unsafe code, by using AtomicBool 2022-05-24 18:12:33 +02:00
Saverio Miroddi
7f50fe3ea0 Remove KEYBOARD_HOOKED unsafe code, by using AtomicBool
For supported types, static R/W globals unsafe code can be replaced by safe `Atomic*` types.

The pattern of usage is simple:

- AtomicBool#swap is used to fetch the old `KEYBOARD_HOOKED` value, while setting it to true;
- if the old value was true, there is effectively no change to `KEYBOARD_HOOKED`, and the flow exits from the enclosing function;
- if the old value was false, execute the function (the new `KEYBOARD_HOOKED` has been set to true by swap()).

The most conservative ordering is used, as the context is not performance-sensitive.

Atomics are not supported on every platform, but the project assumes x86-64, which supports them.
2022-05-22 18:48:08 +02:00
Chris Cavalluzzi
a5d4cad5b7 Add dark theme for main desktop client window
Signed-off-by: Chris Cavalluzzi <chriscavalluzzi@gmail.com>
2022-05-21 19:11:50 -06:00
Kingtous
0958126739 fix: windows -> unix 2022-05-20 11:31:09 +08:00
Kingtous
c4663ecbf3 fix: linux <- windows subfolder collepsed 2022-05-20 10:53:10 +08:00
Kingtous
42f2ebc8e6 opt: clean code 2022-05-18 15:45:45 +08:00
Kingtous
39eb1b7211 opt: add resume btn 2022-05-16 14:45:17 +08:00
Kingtous
d186dd26a2 fix: change state to sync jobs to adapt master branch logic 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
9dbd94daac feat: load last job 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
2caa2db463 fix: 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
265e3c760e fix: confirmDelete -> cancel Delete 2022-05-16 14:45:17 +08:00
Kingtous
74b3cb1c58 fix: skip issue 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
050952e5e8 fix: confirmDelete -> cancel Delete 2022-05-16 14:45:16 +08:00
Kingtous
96c7202e4b add: remote ret back override confirmation[2/2] 2022-05-16 14:45:16 +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
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
711d7ed6cd https://github.com/rustdesk/rustdesk/issues/492 2022-05-10 01:08:21 +08:00
rustdesk
2705228394 https://github.com/rustdesk/rustdesk/issues/477 2022-05-07 22:47:43 +08:00
rustdesk
0d585a751a remove one .sep 2022-05-03 20:24:39 +08:00
rustdesk
8a3da687c1 help on mac permissons 2022-05-02 02:44:16 +08:00
rustdesk
0e4e7fcb9b fix cm 2022-05-02 00:02:41 +08:00
rustdesk
a9ada68bfc workaround for shit sciter about style 2022-04-30 16:42:49 +08:00
rustdesk
f90f83fbda more friendly to 0 connections if any unknow happend 2022-04-29 23:32:10 +08:00
rustdesk
1235edb239 found one blank cm, still not find reason 2022-04-29 19:40:53 +08:00
rustdesk
e2c9b78254 mac tray work 2022-04-29 16:21:18 +08:00
rustdesk
8df1e42977 hide icon after initialization before close is useless 2022-04-29 10:40:00 +08:00
rustdesk
c1f5c20e94 https://github.com/rustdesk/rustdesk/issues/77 mac tray, still no find good way to open rustdesk from finder after tray
shown
2022-04-28 21:32:44 +08:00
rustdesk
8995011d45 still not robust 2022-04-28 03:25:39 +08:00
rustdesk
bbe902d92e improve mac service 2022-04-27 19:21:38 +08:00
rustdesk
33c6095eca autofocus chat box input 2022-04-27 01:07:00 +08:00
rustdesk
3566b0ee7a new mac service and local config 2022-04-26 11:19:45 +08:00
rustdesk
05ac26e5fe fix long remote-id style 2022-04-26 00:46:21 +08:00
rustdesk
f1d187739c https://github.com/rustdesk/rustdesk/issues/461 2022-04-24 23:54:05 +08:00
rustdesk
e2161bcc43 fix last PR 2022-04-24 18:11:52 +08:00
RustDesk
ec700ad37d
Merge pull request #456 from xxrlzzz/optimize_appbar
Optimize appbar for macos
2022-04-24 17:21:21 +08:00
xxrl
81cd079faa Fix ui issue 2022-04-24 17:15:20 +08:00
rustdesk
eaa481cbea fix transparent cursor 2022-04-24 14:53:19 +08:00
rustdesk
ae74570ab8 fix CI 2022-04-23 02:29:11 +08:00
rustdesk
5bf8e8f001 change linux audio playback from cpal to pulse, because stupid cpal 100% cpu usage problem 2022-04-23 02:17:33 +08:00
xxrl
cfa0c1039c Optimize appbar for macos 2022-04-22 23:41:12 +08:00
rustdesk
ccffa14450 fix chat window focus problem and update version number https://github.com/rustdesk/rustdesk/issues/443 2022-04-20 20:44:48 +08:00
rustdesk
19468cdbcd wordy 2022-04-20 17:46:21 +08:00
rustdesk
f95f9e408a workaround for wrong password input hanging 2022-04-18 23:41:43 +08:00
rustdesk
bbdf3fc9a3 fix mouse out for android 2022-04-17 23:35:53 +08:00
rustdesk
75c9a8c561 remote min size, android icon and scrap memory safety 2022-04-14 20:44:43 +08:00
rustdesk
fa2407d857 fix remote_dir 2022-04-07 22:13:30 +08:00
rustdesk
6d122d8aef smaller letter size 2022-04-04 15:00:26 +08:00
rustdesk
a56aa08a66 fix file delete bugs 2022-03-28 19:05:12 +08:00
rustdesk
3ea33f7203 improve file write to cm 2022-03-26 03:05:15 +08:00
rustdesk
bb58d7f69a Purslane Ltd. 2022-03-23 12:40:22 +08:00
rustdesk
0dd4087408 fix file transfer hanging if disabled, and add trans 2022-03-22 17:09:45 +08:00
rustdesk
9136b3e3f8 fix style 2022-03-21 14:40:36 +08:00
fufesou
b734e8aee9 add virtual display
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-03-17 20:43:26 +08:00
rustdesk
362aa9a8ff fix show_progress 2022-03-09 21:43:50 +08:00
rustdesk
4f0a58a691 disable privacy mode (not work well), and disable block input if sas not
enabled (not installed version)
2022-03-09 10:55:13 +08:00
rustdesk
ffb0fa4349 pynput run as user 2022-03-08 15:42:58 +08:00
rustdesk
c632b0e8fb scale cursor 2022-03-08 00:27:12 +08:00
rustdesk
71fb27fe4b AltGr works on >10, but not on win7, even with pynput 2022-03-07 20:52:12 +08:00
rustdesk
dcad90e073 more on AltGr 2022-03-07 20:16:28 +08:00
rustdesk
b8f7e347c3 fixing AltGr 2022-03-07 16:19:10 +08:00
rustdesk
bf0270323c fix show_progress 2022-03-04 00:52:59 +08:00
rustdesk
db6f46f165 fix cpu burning issue 2022-03-03 20:25:23 +08:00
rustdesk
c4491b0248 https://github.com/rustdesk/rustdesk/issues/421 2022-03-01 11:19:13 +08:00
rustdesk
cd7b7cc555 fix audio exit bug 2022-03-01 10:38:31 +08:00
yanfeng
ce46fe7d80 Fix audio sample exit when mute 2022-03-01 10:28:53 +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
rustdesk
8770552448 refactor cm for clipboardfile 2022-02-24 10:38:17 +08:00
fufesou
01591d1abf fix hang up
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-02-24 02:46:47 +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
csf
82d5924401 try to fix audio play noise;improve audio performance 2022-02-22 20:45:49 +08:00
rustdesk
f11ca64eac handling IME 2022-02-21 09:39:01 +08:00
rustdesk
6fa8138568 fix CI 2022-02-20 10:12:28 +08:00
RustDesk
c117eaee2e
Merge pull request #407 from victorbnl/esperanto
Add esperanto translation
2022-02-20 10:05:32 +08:00
Victor B
3b3958ed20 Add esperanto translation 2022-02-19 20:01:28 +01:00
rustdesk
4e9a96dad9 direct access port editable 2022-02-19 15:30:09 +08:00
rustdesk
1c7f9b6f45 https://github.com/rustdesk/rustdesk/issues/264 2022-02-18 11:15:40 +08:00
rustdesk
104c022b26 check_clipboard_file_context later 2022-02-15 22:20:28 +08:00
rustdesk
835db29c3f fix cliprdr for windows after refactory 2022-02-15 15:35:19 +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
3c29b8a58a fix style 2022-02-10 16:08:50 +08:00