Commit Graph

2879 Commits

Author SHA1 Message Date
RustDesk
223a4f2323
Merge pull request #622 from fufesou/fix_deadlock_general_service
fix_deadlock_general_service
2022-05-26 17:17:56 +08:00
fufesou
7c99ac2ba2 fix_deadlock_general_service: fix deadlock when join general service.
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-26 17:08:29 +08:00
RustDesk
7c2cf6c9b3
Merge pull request #621 from maxxer/patch-1
Minor fixes to Italian translation
2022-05-26 15:54:41 +08:00
Lorenzo Milesi
d9d1f4d4f6
Minor fixes to Italian translation 2022-05-26 09:15:02 +02:00
RustDesk
7f47b64643
Merge pull request #618 from Heap-Hop/flutter_desktop
refactor ui function to global public (ui.rs)
2022-05-26 12:31:32 +08:00
csf
9aa3f5c519 del unused 2022-05-26 12:19:11 +08:00
csf
35e17f0ef9 fix windows 2022-05-25 21:07:24 -07:00
csf
7955381655 refactor ui struct -> global ref (linux) 2022-05-26 11:54:29 +08:00
RustDesk
d89979b053
Merge pull request #617 from asur4s/master
--release instead of ---release
2022-05-26 10:37:05 +08:00
Asura
c7f36c4481 --release instead of ---release 2022-05-25 19:14:13 -07:00
csf
8edc0d4c76 fix ref fun 2022-05-25 23:22:14 +08:00
csf
f4c4b0d9f3 public ui function 2022-05-25 23:09:14 +08:00
RustDesk
b9f515cff1
Merge pull request #613 from SoLongAndThanksForAllThePizza/flutter_desktop
Fixed some unchanged names
2022-05-25 21:00:26 +08:00
SoLongAndThanksForAllThePizza
537918674e fix unchanged mobile 2022-05-25 20:57:25 +08:00
SoLongAndThanksForAllThePizza
bd2250b6c9 fix unchanged mobile_ffi.rs 2022-05-25 20:50:32 +08:00
RustDesk
b69080e409
Merge pull request #612 from SoLongAndThanksForAllThePizza/flutter_desktop
Added flutter feature, fixed flutter compilation on windows and removed some auto generated files
2022-05-25 20:33:33 +08:00
SoLongAndThanksForAllThePizza
52d4b4226e fix flutter compile on windows 2022-05-25 20:26:46 +08:00
SoLongAndThanksForAllThePizza
4d324063c5 add flutter feature and rename mobile to flutter 2022-05-25 20:23:02 +08:00
RustDesk
f7d2ec0899
Merge pull request #610 from asur4s/patch-1
Add label for feature  request
2022-05-25 17:51:50 +08:00
Asura
c519ade088
Add label for feature request 2022-05-25 17:49:41 +08:00
SoLongAndThanksForAllThePizza
3081df429e remove flutter generated files 2022-05-25 17:20:35 +08:00
RustDesk
0046407c1e
Merge pull request #605 from Kingtous/wip/flutter_desktop_ffi
WIP: flutter desktop ffi
2022-05-25 16:02:44 +08:00
Kingtous
967482aa78 fix: add ffigen 2022-05-25 14:41:37 +08:00
Kingtous
a68520df08 fix: bridge compilation 2022-05-25 14:30:19 +08:00
Kingtous
a364e7f808 demo: use mobile_ffi to get id for desktop version 2022-05-25 14:12:40 +08:00
Kingtous
a81e2f9859 refactor: split desktop & mobile 2022-05-25 14:12:35 +08:00
RustDesk
4a536d0008
Merge pull request #603 from 64kramsystem/strip_via_rust_toolchain
Strip release binary via Rust toolchain
2022-05-25 09:54:58 +08:00
RustDesk
31f26d63c9
Merge pull request #602 from 64kramsystem/add_pyinput_installation_to_readme
Add pynput installation section to README
2022-05-25 09:53:48 +08:00
RustDesk
6ad607348d
Merge pull request #590 from 64kramsystem/make_keyboard_hook_global_safe
Remove `remote.rs` static mut booleans unsafe code, by using AtomicBool
2022-05-25 09:52:36 +08:00
Saverio Miroddi
ba5321c4a0 Strip release binary via Rust toolchain
As of Rust 1.59, full stripping support has been added (see https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html#creating-stripped-binaries).
2022-05-24 19:37:01 +02:00
Saverio Miroddi
34f5aa303b Add pynput installation section to README
Prevents flooding the server log with warnings.

Closes #591.
2022-05-24 19:30:56 +02: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
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