-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: migrate SlippiUser to be backed by a Rust layer (#403)
* Modify SlippiUser to be a shim to the Rust user. - Forwards calls in and out of the Rust User Manager held by the EXI device. - Handles converting UserInfo into C++ types so that any existing logic relying on assumptions about the type doesn't need to be flagged just yet. - Chat message importing for the current user, as well as the default chat list, now live over on the Rust side. - Slight edits to Matchmaking to handle how chat messages are loaded, solely to avoid extra string allocations. Tested and no issues found, but someone with more context should test again. * Remove the old webview login that macOS still had, and remove wxWidgets WebView functionality and linking on macOS * Update to reflect condensed Rust log infrastructure * linux now requires kebab case in target_link_libraries --------- Co-authored-by: Nikhil Narayana <nikhil.narayana@live.com>
- Loading branch information
1 parent
c8dd23c
commit c83f775
Showing
14 changed files
with
95 additions
and
571 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule SlippiRustExtensions
updated
23 files
+53 −1 | Cargo.lock | |
+1 −0 | Cargo.toml | |
+8 −7 | README.md | |
+1 −1 | dolphin/src/logger/layer.rs | |
+5 −6 | dolphin/src/logger/mod.rs | |
+2 −0 | exi/Cargo.toml | |
+27 −0 | exi/src/config.rs | |
+40 −10 | exi/src/lib.rs | |
+4 −2 | ffi/Cargo.toml | |
+96 −10 | ffi/includes/SlippiRustExtensions.h | |
+58 −30 | ffi/src/exi.rs | |
+2 −2 | ffi/src/game_reporter.rs | |
+54 −7 | ffi/src/lib.rs | |
+237 −0 | ffi/src/user.rs | |
+1 −0 | game-reporter/Cargo.toml | |
+5 −5 | game-reporter/src/iso_md5_hasher.rs | |
+36 −23 | game-reporter/src/lib.rs | |
+20 −26 | game-reporter/src/queue.rs | |
+24 −0 | user/Cargo.toml | |
+20 −0 | user/README.md | |
+25 −0 | user/src/chat.rs | |
+321 −0 | user/src/lib.rs | |
+91 −0 | user/src/watcher.rs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.