Commit Graph

30748 Commits

Author SHA1 Message Date
61cef42be9 Proof of concept realm subscriptions via Register 2022-01-23 20:28:04 +09:00
f39ff1eacb Add unregistration on blocking
This is the first part of the requirement of sending a `ChangeSet` event
to ensure correct state during blocking time
2022-01-23 20:27:57 +09:00
bd0eda7e90 Use method instead of property for realm query retrieval 2022-01-23 18:01:39 +09:00
70a120ea8a Add missing lock coverage when using subscriptionActions dictionary 2022-01-23 18:00:24 +09:00
a5493ce0d1 Fix incorrect nesting of statements causing completely broken logic 2022-01-23 17:51:32 +09:00
e4758c9dbb Mark LabelledTimeSignature as public 2022-01-23 10:14:37 +03:00
54f7b1b8d0 Use new time signature control on timing screen 2022-01-22 20:50:32 +01:00
f39f2c93b5 Add control for arbitrary-numerator time signatures 2022-01-22 20:50:31 +01:00
735414bc49 Replace TimeSignatures enum with struct for storage of arbitrary meter 2022-01-22 20:50:31 +01:00
955bab926f Separate the settings for each modes radiuses 2022-01-22 19:38:56 +01:00
b5f813a949 Merge branch 'ppy:master' into Liswiera-FL-changes 2022-01-22 19:04:39 +01:00
33d3a10708 Merge branch 'master' into fix-intro-realm-usage 2022-01-22 23:28:43 +09:00
7e68371d28 Move log statement about migration completed closer to rest of migration code 2022-01-22 14:20:28 +01:00
1b2cca4a0d Merge branch 'master' into realm-migration-ui 2022-01-22 13:52:19 +01:00
c99f227879 Remove no longer used resolved storage 2022-01-22 13:48:49 +01:00
1a591beb7d Merge branch 'realm-context-use-update-when-feasible' into fix-intro-realm-usage 2022-01-22 16:30:07 +09:00
287d70d728 Merge branch 'realm-stable-subscriptions' into music-controller-less-population 2022-01-22 14:37:39 +09:00
8470fcf135 Merge branch 'master' into music-controller-less-population 2022-01-22 13:25:43 +09:00
6a076a684e Merge branch 'realm-context-use-update-when-feasible' into realm-stable-subscriptions 2022-01-22 13:14:25 +09:00
25dbe6b27c Fix unused null assignment 2022-01-22 12:58:30 +09:00
cdcf0947e6 Merge branch 'master' into realm-context-use-update-when-feasible 2022-01-22 12:09:18 +09:00
7025191fdd Move target field outside of Run usage
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
2022-01-22 12:02:44 +09:00
b23f4674b1 Update outdated exception message
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
2022-01-22 12:02:18 +09:00
daed0b04dc Remove using statements 2022-01-22 11:54:40 +09:00
855ef3fa92 Create backup before any realm contexts are used 2022-01-22 11:52:46 +09:00
9946003069 Update osu.Game/Screens/Menu/IntroScreen.cs
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
2022-01-22 05:09:40 +09:00
8ef50ff42d Add safety to ensure RealmLiveUnmanaged is not used with managed instances 2022-01-22 02:13:08 +09:00
ad3a01dc06 Use a more reliable method of reviving the update thread realm after blocking 2022-01-21 22:44:56 +09:00
529610ee2e Call the UserPanel Action when clicking on the flag 2022-01-21 14:01:49 +01:00
3b11235d3c Fix potentially cyclic subscription registration if a subscription's delegate accesses Context 2022-01-21 20:45:10 +09:00
a86c0014fe Remove unnecessary exception/check 2022-01-21 20:07:43 +09:00
63226f7def Remove pointless initial MusicController beatmap set population
Looks to pass tests and all usages look safe enough.
2022-01-21 20:05:35 +09:00
1f157d729d Update existing subscriptions to new style
Fix missing detach calls in `MusicController`
2022-01-21 20:05:03 +09:00
45aea9add5 Implement full subscription flow 2022-01-21 19:06:23 +09:00
18bf690a30 Add Register method for subscription purposes and update safeties 2022-01-21 19:06:18 +09:00
2006620a2c Fix IntroScreen retrieving and iterating all realm beatmap sets 2022-01-21 18:03:16 +09:00
8f1dfa33a2 Merge branch 'master' into realm-context-use-update-when-feasible 2022-01-21 18:03:09 +09:00
495636538f Add forced refresh on GetAllUsableBeatmapSets()
This is commonly used in tests in a way where it's not feasible to
guarantee correct results unless a refresh is called. This method
shouldn't really be used outside of tests anyway, but that's for a
folow-up effort.
2022-01-21 17:33:29 +09:00
81b5717ae7 Fix RealmLive failing to retrieve due to lack of refresh 2022-01-21 17:33:03 +09:00
d2655c0825 Fix RealmLive not necessarily being in refreshed state due to potentially using update context 2022-01-21 17:27:30 +09:00
114c9e8c1f Update all usages of CreateContext to use either Run or Write 2022-01-21 17:27:08 +09:00
da0a803e6c Add RealmContextFactory.Write helper method 2022-01-21 17:08:05 +09:00
a59105635e Make CreateContext private 2022-01-21 16:40:20 +09:00
dde10d1ba2 Remove unused IRealmFactory interface 2022-01-21 16:38:07 +09:00
3bcdce128c Use dictionary add for safety 2022-01-21 15:29:21 +09:00
ff4f40db8a Merge branch 'master' into carousel-performance-n 2022-01-21 15:27:42 +09:00
c4f24ef96c Merge pull request #16542 from peppy/carousel-search-performance-less-simple
Avoid performing full filter when updating carousel beatmap sets
2022-01-21 15:05:30 +09:00
5622d2ba4f Show realm migration progress at Loader 2022-01-21 14:56:49 +09:00
5be41a189b Expose EF context factory for use in external migration logic 2022-01-21 14:56:28 +09:00
d6d9efae60 Merge pull request #16541 from peppy/carousel-search-performance-simple
Avoid performing keyword filtering at song select unless keywords are specified
2022-01-21 13:35:43 +09:00