Commit Graph

232 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