Commit Graph

107 Commits

Author SHA1 Message Date
Asura
02b4d7f1d9 Refactor keyboard mode by enum 2022-07-19 15:43:13 +08:00
Asura
0bacc1c250 Compatible with legacy mode in client 2022-07-19 15:09:45 +08:00
Asura
a77d64d181 Remove log 2022-07-18 18:47:38 -07:00
Asura
48466bfe37 Numpad when linux -> windows 2022-07-19 09:35:39 +08:00
Asura
a118056c30 Fix sync Numpad status 2022-07-18 23:04:04 +08:00
Asura
a2d8c31e85 Auto release key 2022-07-18 22:01:08 +08:00
Asura
80b01a96db Refactor to remove warning 2022-07-18 17:42:02 +08:00
Asura
72273f4546 Sync Numpad status 2022-07-18 02:19:33 -07:00
Asura
828795b437 Sync Caps status 2022-07-18 01:54:54 -07:00
Asura
7ae065739c Recover legacy keyboard mode when listen 2022-07-18 12:51:17 +08:00
Asura
7c24f6bb12 Refactor listening keyboard to support switching keyboard modes 2022-07-17 14:14:51 -07:00
Asura
7fe2609ffb feat: Support new keyboard mode 2022-07-13 02:14:32 -07:00
Asura
a6f9c16d50 fix: Correct the string corresponding to the platform 2022-07-12 04:29:32 -07:00
Asura
9837c9b893 Use map mode when keyboard monitor 2022-07-12 00:33:20 -07:00
21pages
68204e0c56 Merge branch 'master' into hwcodec 2022-07-06 19:01:51 +08:00
csf
5bd08bf0a7 client side handle codec format 2022-07-05 22:17:34 +08:00
csf
5a7dca72c8 fix custom_image_qulity and android 2022-06-30 20:48:29 +08:00
rustdesk
c745bf4111 https://github.com/rustdesk/rustdesk/issues541/ 2022-06-30 01:19:38 +08:00
csf
eaaeefd90b sync codec format 2022-06-30 00:03:17 +08:00
csf
21a90c5de8 abr update Windows 2022-06-27 03:30:46 -07:00
csf
ece86cda9e abr 2022-06-27 15:08:43 +08:00
fufesou
da392f7f72 privacy_mode_win_magnifier: ui prompt if succeeded
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-31 12:01:22 +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
c269d1c831 privacy_mode: win10 magnifier
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-30 12:08:28 +08:00
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
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
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
4975c9b54d add: overwrite version limit, remove debug log 2022-05-16 14:45:17 +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