Commit Graph

8998 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
RustDesk
bd1895b0f6
Merge pull request #598 from Kingtous/feat/flutter_desktop_linux_makefile
feat: rustdesk linux flutter build cmake
2022-05-24 09:56:47 +08:00
Kingtous
26281d95f6 add: rustdesk linux flutter build cmake 2022-05-24 09:32:40 +08:00
RustDesk
b482bbb0a9
Merge pull request #596 from Heap-Hop/flutter_desktop
fix .gitignore
2022-05-23 17:14:27 +08:00
csf
be6f677b14 fix .gitignore 2022-05-23 16:44:23 +08:00
RustDesk
de8236d778
Merge pull request #595 from Heap-Hop/flutter_desktop
start Flutter desktop
2022-05-23 16:30:25 +08:00
csf
beb11bd31c flutter create --platforms=windows,macos,linux 2022-05-23 16:25:55 +08:00
csf
6a949b5f6a fix platform 2022-05-23 16:24:56 +08:00
csf
a23fa7fc66 add desktop 2022-05-23 16:02:37 +08:00
rustdesk
222245a60c more linux distro 2022-05-23 11:59:56 +08: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
RustDesk
8e2aaf578f
Merge pull request #587 from ViktorOn/patch-3
Update README-RU.md
2022-05-22 20:40:14 +08:00
Viktor
04eac47526
Update README-RU.md 2022-05-22 13:07:39 +03:00
RustDesk
9151a32f24
Merge pull request #585 from ViktorOn/patch-2
Update ru.rs
2022-05-22 15:52:15 +08:00
Viktor
4a72702679
Update ru.rs 2022-05-22 10:49:37 +03:00
RustDesk
6a11981675
Merge pull request #581 from mrladeia/patch-1
Update ptbr.rs
2022-05-22 12:11:09 +08:00
RustDesk
32fcb69538
Merge pull request #582 from chriscavalluzzi/dark-theme
Add dark theme for main desktop client window
2022-05-22 12:10:18 +08: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
Marcos Rodrigo Ladeia
125259fe0e
Update ptbr.rs
Correcting pt-BR translation
2022-05-21 19:15:42 -03:00
RustDesk
eb71b6ad79
Merge pull request #575 from rewrite0w0/kr-Translate
Kr translate
2022-05-21 09:27:31 +08:00
Oh TaeJun
6d12c76ebe add: korean translate 2022-05-21 10:21:53 +09:00
Oh TaeJun
27bd2c2e04 add: korean translate link 2022-05-21 09:56:50 +09:00
RustDesk
ae214f2670
Merge pull request #569 from SiderealArt/patch-1
Update tw.rs
2022-05-20 19:41:33 +08:00
SiderealArt
534454a055
Update tw.rs 2022-05-20 19:38:29 +08:00
RustDesk
9987c24d91
Merge pull request #566 from Kingtous/fix/download_from_windows_cause_subfolder_collepsed
fix: Unix <-> Windows sub-folder collapsed
2022-05-20 11:33:13 +08: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
RustDesk
b267da2e70
Merge pull request #564 from Heap-Hop/master
mobile & web rgba stream
2022-05-20 09:39:15 +08:00
csf
7c5a136b6b mobile & web rgba stream 2022-05-20 09:28:46 +08:00
rustdesk
920a3c0a4f refactor 2022-05-20 00:22:43 +08:00
rustdesk
a1a41bea06 missed commit 2022-05-20 00:11:48 +08:00
rustdesk
8d34496db8 rename 2022-05-20 00:11:22 +08:00
RustDesk
9ecacadd4a
Merge pull request #560 from Heap-Hop/master
fix audio latency
2022-05-19 23:18:13 +08:00
csf
f5027382d9 update LatencyController 2022-05-19 23:10:06 +08:00
csf
a071eeb710 fix audio latency 2022-05-19 18:39:13 +08:00
RustDesk
31a40538dc
Merge pull request #545 from Kingtous/feat/file_transfer_option_mobile
feat: [mobile] more precise control method for transfering files
2022-05-18 17:02:39 +08:00
rustdesk
88c8da5402 fix cm 2022-05-18 16:12:50 +08:00
Kingtous
925ca66c42 opt: reset file confirm & clean code 2022-05-18 15:47:07 +08:00
Kingtous
42f2ebc8e6 opt: clean code 2022-05-18 15:45:45 +08:00
rustdesk
85332a6245 yarn.lock is not useless, yuv.js must be in /, because it is called in global.js as web worker, deploy.sh not tested yet 2022-05-18 01:44:42 +08:00
Kingtous
3bf3b7950f fix: compile with master 2022-05-17 23:26:05 +08:00
Kingtous
fc39c0ffc0 add: android file transfer logic 2022-05-17 23:03:55 +08:00
Kingtous
c244e49279 add: file_num to send_files 2022-05-17 23:03:55 +08:00
Kingtous
c4d41c21f3 fix: compile 2022-05-17 23:03:55 +08:00
RustDesk
6de6d6c7a7
Merge pull request #547 from Heap-Hop/master
refactor web dir
2022-05-17 23:01:33 +08:00
csf
4887cdb756 refactor web dir 2022-05-17 22:51:40 +08:00
RustDesk
7a3e95eddd
Merge pull request #544 from Heap-Hop/event_channel
use new event channel for mobile and web
2022-05-17 22:09:03 +08:00