Commit Graph

564 Commits

Author SHA1 Message Date
Dean Herbert 5872dabf60 Fix incorrect flag to options conversion 2022-01-25 14:16:15 +09:00
Dean Herbert dd2caea694 Update `GetSuitableHost` usages in line with new `HostOptions` 2022-01-25 13:52:02 +09:00
Susko3 6e4214de4d Move `VersionManager` from `osu.Desktop` to `osu.Game` 2022-01-15 19:42:38 +01:00
Susko3 19467e58c1 Remove unused params from BDL methods 2022-01-15 01:06:39 +01:00
Joseph Madamba 66773f6d7d Use comments to disable identifier typos instead 2022-01-12 15:49:28 -08:00
Joseph Madamba cdc148f78e Increase scope of identifier typo disables on special cases 2021-12-29 14:07:36 -08:00
Joseph Madamba c22a07d9fc Bump identifier typo inspection and fix remaining identifier names 2021-12-28 11:26:42 -08:00
Joseph Madamba 98524d60a4 Fix clear identifier typos 2021-12-27 20:26:28 -08:00
Dean Herbert 090c3e84e7 Avoid blocking windows key usage when the osu! window is not active
As discussed in https://github.com/ppy/osu/discussions/16147.
2021-12-20 17:40:11 +09:00
Dean Herbert c08b6cf160 Remove unnecessary `StartAsync` call on `TcpIpcProvider` 2021-12-16 19:53:22 +09:00
Salman Ahmed d92f5039cd Reorder version overlay to display behind game-wide overlays 2021-12-13 06:53:18 +03:00
Dan Balasescu 34b0e374d8 Add serialisation/deserialisation explanation 2021-12-03 21:29:20 +09:00
Dan Balasescu 9acc0556a4 Remove unused event 2021-12-03 20:35:47 +09:00
Dean Herbert f9ad307526 Apply nullable 2021-12-03 15:51:00 +09:00
Dean Herbert 79d723172a Remove `Console.WriteLine` usage 2021-12-03 15:48:53 +09:00
Dean Herbert 33992e11e0 Split out ruleset lookup code 2021-12-03 15:48:53 +09:00
Dean Herbert 2262b7b331 Adjust logging to avoid using tabs 2021-12-03 15:48:53 +09:00
Dan Balasescu 4ee2063683 Move event handlign internal to LegacyTcpIpcProvider 2021-11-28 23:02:57 +09:00
Dan Balasescu fc3eb08452 Output raw message on failure 2021-11-28 22:28:01 +09:00
Dan Balasescu 18a0a791fd Refactor 2021-11-28 22:24:42 +09:00
Dan Balasescu 27ba3c6d1a Add back removed getter
Seems to somehow be required.
2021-11-28 22:16:21 +09:00
Dan Balasescu 36fffbd917 Refactoring 2021-11-28 21:31:22 +09:00
Dan Balasescu f506cb35bc Bind legacy IPC on startup 2021-11-28 21:15:29 +09:00
Dan Balasescu 5711c428ca Increment IPC port 2021-11-28 21:15:21 +09:00
Dan Balasescu ef24780642 Use IPC via TCP 2021-11-28 18:24:00 +09:00
Dan Balasescu e5dcfc3113 Use console IPC 2021-11-28 14:03:21 +09:00
Dean Herbert 1dc1de3d1f Close a failed update notification immediately
Fixes visual issue pointed out at
https://github.com/ppy/osu/discussions/15653#discussioncomment-1679263.
2021-11-24 19:05:53 +09:00
Dean Herbert bbd3ea5b77 Update all actual usages of `RulesetInfo.ID` to use `OnlineID` instead 2021-11-24 15:50:26 +09:00
Dean Herbert d600a73277 Disable cancelling of update via notification 2021-11-17 11:41:42 +09:00
Dean Herbert 3fe89293af Add update manager which performs no update action
This is to be used in cases where updates are handled by an external
means. See
https://github.com/flathub/flathub/pull/2619#issuecomment-969731305 for
initial usage.
2021-11-16 12:11:13 +09:00
Dean Herbert 0ecf5f201c Rename `User` to `APIUser` and move to correct namespace 2021-11-07 11:26:01 +09:00
Dean Herbert 6944151486 Apply batch fixing of built-in types using `var` 2021-10-27 13:04:41 +09:00
Dean Herbert ec61c3c5ee Rename all remaining cases 2021-10-03 00:55:29 +09:00
Dean Herbert 5e53058fbc Use same method of exiting execution as previously for safety 2021-09-21 18:03:43 +09:00
Dean Herbert 3b174a71a3 Move startup concurrency check to higher level
Makes more sense to perform this check outside of the game itself now
that we can.
2021-09-21 18:00:55 +09:00
smoogipoo 956c1cc216 Merge branch 'master' into activity-on-multiplayer-screens 2021-08-24 12:33:34 +09:00
Dean Herbert 82eddeffef Add `LocalUserPlayInfo` interface to convey common information about player status 2021-08-17 16:15:47 +09:00
Nathan Alo cc3468b4ab apply suggestions
- make `UserActivity.InGame` and derive that to `InSoloGame` and `InMultiplayerGame`
- rename `SoloGame` to `InSoloGame`
- rename `MultiplayerGame` to `InMultiplayerGame`
2021-08-16 06:32:33 +08:00
Henry Lin 88d9e2ec06 Guard against IndexOutOfRange when parsing launch args 2021-07-23 10:23:31 +08:00
Dean Herbert 3dddcf3582 Remove unused using statement 2021-07-21 15:11:01 +09:00
Dean Herbert 4148d3fdac Add a bit more safety to argument parsing logic 2021-07-21 15:02:15 +09:00
Salman Ahmed ebd555129f Change to `int`-only debug client ID 2021-07-21 07:53:24 +03:00
Salman Ahmed 37393a8432 Allow defining custom storage name for debug builds of osu!lazer 2021-07-21 03:12:44 +03:00
Dean Herbert e0af5f0469 Fix osu!(lazer) overwriting osu!(stable) desktop icons by adding back a suffix
As discussed in https://github.com/ppy/osu/issues/13864, Squirrel will
use the product name before the title, allowing us to use this variable
to update the icon while not changing the window display title or naming
elsewhere.
2021-07-19 11:38:45 +09:00
Dean Herbert 47a593ad7d Force a re-check on any exception being thrown 2021-07-12 14:55:09 +09:00
Dean Herbert a9250a0d98 Limit update notifications to once per startup
This logic was intentionally designed to continue to prompt the user to
update if they haven't, but that seems pretty anti-user. The change will
stop the update prompts from showing more than once per game startup,
unless manually invoked by the user a second time.

Closes https://github.com/ppy/osu/issues/13821.
2021-07-09 18:23:30 +09:00
Dean Herbert ec71deec51 Remove some mentions of "lazer"
I am aware there are more throughout the codebase but intentionally left
the remaining mentioned for one reason or another. The intention here is
to mainly change user-facing versioning to change the positioning of the
"lazer" term (to be where we would expect "cuttingedge" or "beta" to
be).
2021-07-04 12:41:27 +09:00
Dean Herbert f2d9d78455 Fix some incorrectly invoked `async` calls 2021-07-02 14:43:48 +09:00
Dean Herbert d5d5a4d0d7 Actually combine the path 2021-06-02 15:13:21 +09:00
Dean Herbert bf216687e1 Fix osu!stable directory selection failing if no `Songs` folder is present at install location 2021-06-02 15:05:06 +09:00