Commit Graph

596 Commits

Author SHA1 Message Date
98938821e5 Merge branch 'master' into beatmap-update-flow 2022-06-30 16:44:17 +09:00
10d1bbb131 Log global working beatmap updates in OsuGameBase instead of OsuGame 2022-06-27 15:58:51 +09:00
a83c45b50e Fix compile failures from framework breaking change 2022-06-24 16:07:14 +02:00
31a447fda0 Update parameter discards 2022-06-24 21:26:19 +09:00
06d59b717c Move beatmap processing tasks to new BeatmapUpdater class 2022-06-24 21:02:37 +09:00
f71f6302fd Remove unnecessary null casts 2022-06-24 14:50:11 +09:00
7ef8b7df5f Add timeout for all ManualResetEventSlim.Wait invocations
Timeout values were taken as best-guesses of upper values we'd expect
from sane execution.
2022-06-23 14:46:00 +09:00
ee96d84ffa Merge branch 'master' into input-settings 2022-06-20 22:55:43 +02:00
ebcee21f6f Remove necessity to provide BeatmapDifficultyCache as a function to ScoreManager 2022-06-20 17:52:42 +09:00
495d747da5 Fix mismatching braces in comment 2022-06-19 13:42:45 +02:00
50e40756c4 Rename GracefullyExit to AttemptExit 2022-06-19 12:34:44 +09:00
b2663d9399 Update xmldoc to suggest that GracefullyExit may be overridden 2022-06-19 01:14:48 +09:00
56abe54fe6 Redirect graceful exiting to standard exit flow
Rather than doing a completely forced exit as we were, this will now
follow a more standard flow with the ability for the user to abort along
the way. This is more in line with how I wanted this to work.

Note that this means a confirmation is now shown. It has been discussed
in the past that this confirmation should only show when there's an
ongoing action implies the user may want to cancel the exit. For now I
think this is fine.

Addresses
https://github.com/ppy/osu/discussions/18399#discussioncomment-2811311
2022-06-18 23:43:46 +09:00
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
651862fee0 Merge branch 'master' into database-migration-reliability 2022-06-16 17:19:58 +02:00
8ea3042435 Move file extensions specification to common class 2022-06-16 18:00:27 +09:00
4526f8c07d Move database backup creation to async thread where possible 2022-06-16 17:01:17 +09:00
17dbb599d1 Don't backup collection database
This is no longer required due to recent changes which mean the
collection database will retain beatmap references even if they aren't
loaded locally (see https://github.com/ppy/osu/pull/18619).
2022-06-16 16:48:53 +09:00
1acbb87aa6 Ensure AvailableMods.Value is never null 2022-06-15 17:40:16 +02:00
30382b0445 Fill out GetModsFor() xmldoc and annotate items as non-null 2022-06-15 17:40:15 +02:00
e74b563b91 Add protection against arbitrary exceptions from GetModsFor() 2022-06-15 17:31:46 +02:00
6e5e506fb4 Add protection against rulesets returning null mods 2022-06-15 17:31:46 +02:00
54a32bde44 Don't report sentry errors from builds targetting a different server 2022-06-03 16:29:55 +09:00
f111d33b25 Merge pull request #18339 from peppy/editor-timing
Add first pieces of editor timing UI
2022-05-23 11:12:22 +09:00
007582afb9 Remove unused usings resulting from namespace move 2022-05-22 23:55:33 +09:00
eabf578282 Use interface to convey beat sync information 2022-05-22 22:44:54 +09:00
218642c300 Update unsafe file write usages 2022-05-16 18:05:27 +09:00
9dce329e99 Remove build suffix from version when reporting to sentry 2022-05-11 10:38:35 +09:00
b2a57c34bb Move implementation to base 2022-05-10 19:10:34 +09:00
4d22f26266 Rename property and improve xmldoc 2022-05-10 19:07:07 +09:00
cac6d5569c Fix incorrect variable reference in log output 2022-05-10 19:07:00 +09:00
bcd91ac743 Move exception soft-handling logic to OsuGameBase 2022-05-10 10:02:32 +03:00
975883da5c Move all usages of client.realm filename to a single const 2022-03-30 13:34:48 +09:00
b04ca111c6 Allow realm subscriptions to be initiated from a non-update thread 2022-03-24 23:41:07 +09:00
21beb8774d Change to lambda method 2022-03-14 13:54:54 +09:00
4ae6cba080 Expose UseDevelopmentServer as virtual 2022-03-14 13:49:38 +09:00
3a03833912 Merge pull request #16890 from peppy/beatmap-decoder-ruleset-store
Fix `LegacyBeatmapDecoder` not populating correct rulesets
2022-02-25 19:03:43 +09:00
98aaf83177 Add a centralised constant for the osu URL schema protocol 2022-02-18 15:57:37 +09:00
7a69de0060 Split out realm portion of RulesetStore 2022-02-16 17:13:31 +09:00
214b2724de Merge branch 'master' into input-settings
# Conflicts:
#	osu.Game/OsuGameBase.cs
#	osu.iOS/OsuGameIOS.cs
2022-02-12 11:48:46 +01:00
44f2d8a448 Allow game folder migration to fail gracefully when cleanup cannot completely succeed 2022-02-10 19:30:26 +09:00
5e47ce333c Change SafeAreaOverrideEdges to be get-only and protected 2022-02-04 16:10:49 +03:00
915d63f6de Limit safe area bottom override to iOS only 2022-02-04 18:58:29 +09:00
8fc4d0c6f5 Add override edge rule to overflow above home indicator on iOS 2022-02-04 18:20:17 +09:00
52fdf0349f Add safe area support via ScalingContainer 2022-02-04 16:37:05 +09:00
16e0cc6a2b Remove IIpcHost param from ScoreManager
No longer used since 3e3b9bc963.
2022-02-01 21:35:40 +01:00
08948f60f3 Move backups to "backups" subfolder to make them easier to find 2022-01-27 14:39:13 +09:00
fc58b202b1 Fix crash when trying to migrate collection database that doesn't exist 2022-01-25 15:45:23 +09:00
6eb2c28e41 Rename RealmContextFactory to RealmAccess 2022-01-24 20:38:07 +09:00
855ef3fa92 Create backup before any realm contexts are used 2022-01-22 11:52:46 +09:00