Commit Graph

41044 Commits

Author SHA1 Message Date
aaf65b64f5 Merge pull request #12589 from Cublibre/admin-notification
Send a notification if game is run as admin/root
2021-04-27 15:25:13 +09:00
c9e6ca5378 Use now-public Entry.SetLifetime method 2021-04-27 15:25:05 +09:00
a2c0951d94 Use overriding instead of hiding in HitObjectLifetimeEntry
Hidden properties are used when the type is the base class. It caused issues when `DrawableHitObject` logic is factored out to `PoolableDrawableWithLifetime` because it is using the base `LifetimeEntry`, not `HitObjectLifetimeEntry`.
2021-04-27 15:23:33 +09:00
dbcb1259e2 Add a note about elevated privileges also breaking integrations 2021-04-27 14:38:19 +09:00
2673cd3d99 Remove unnecessary noop action 2021-04-27 14:36:15 +09:00
13de571b3c Rename private method 2021-04-27 14:35:57 +09:00
2303d108bb Simplify false return path 2021-04-27 14:35:14 +09:00
7980d16b4c Add failing test showing the issue of DHO lifetime 2021-04-27 14:26:12 +09:00
ea3c5aed2f Merge pull request #12590 from peppy/editor-minor-refactors
Fix a couple of inspections in editor code
2021-04-27 14:09:36 +09:00
ec1c336b0a Fix a couple of inspections 2021-04-27 13:23:14 +09:00
5a3fbef5ac Use a try-catch, notification activation does nothing 2021-04-27 00:23:08 -04:00
e0f54f5842 Move load() before LoadComplete() 2021-04-26 22:51:03 -04:00
a2723f3f57 Perform elevated check asynchronously, use a separate function w/ switch statement 2021-04-26 22:44:22 -04:00
c3bad1d4c5 Rename AdminChecker to ElevatedPrivilegesChecker, refactor elevated check 2021-04-26 21:05:18 -04:00
7a6e9e5070 Change category of unsnap check to timing
Makes more sense, as this is typically the result of timing changes.
2021-04-27 02:32:57 +02:00
9e49ecb573 Remove unused virtual keywords
Added these in a previous iteration, where I had the mania variant inherit this class.

No longer necessary as `IHasColumn` was used to make this check more generic.
2021-04-27 02:23:06 +02:00
260dd06f47 Move AdminChecker to osu.Desktop.Admin 2021-04-26 20:04:34 -04:00
a3c1b1fd52 Fix accessibility of areConcurrent 2021-04-27 01:24:38 +02:00
217ff8238e Add snapping time comment 2021-04-27 01:23:03 +02:00
6d5883abcb Return result of local variable instead 2021-04-27 01:19:38 +02:00
0f0870c8b8 Sort objects by time in concurrent check test 2021-04-27 00:36:26 +02:00
9ad30da729 Show a notification if game is run as administrator 2021-04-26 16:41:26 -04:00
1dfe028c02 Fix bug causing the star rating to change when Random is enabled 2021-04-26 22:26:13 +02:00
ce258febf6 Rename CheckUnsnaps -> CheckUnsnappedObjects
Will potentially have `CheckUnsnappedKiai` or similar later, so this is worth specifying.

Also consistent with `CheckConcurrentObjects`, which will likely have a `CheckConcurrentLines` later.
2021-04-26 20:32:44 +02:00
b9e4f73f78 Add concurrent objects check to BeatmapVerifier 2021-04-26 20:28:59 +02:00
b8cdcf56c0 Add concurrent object check tests 2021-04-26 20:22:24 +02:00
a3570e18dd Add concurrent objects check
Here we use `IHasColumn` to support rulesets with columns, and so I moved that interface out into `osu.Game` from `osu.Game.Rulesets.Mania`.

We also use the same threshold as the unsnap check to ensure that no problems slip through. Specifically where an object is simultaneously not concurrent and not unsnapped but still on the same tick.
2021-04-26 20:17:18 +02:00
08a232f7fa Add method to safely refresh DrawableHitObject transforms 2021-04-26 20:08:40 +02:00
71f880aa94 Fix duplicate code in unsnap test 2021-04-26 17:44:46 +02:00
9b9c473616 Remove redundant string formatting 2021-04-26 16:17:38 +02:00
7b9ed924be Rename snapping methods
Further separates them from `IBeatSnapProvider`'s `SnapTime`, and groups them together more, to prevent confusion between the two interfaces.

Also changes the xmldoc of the reference time to that of `IBeatSnapProvider` for consistency.
2021-04-26 16:07:30 +02:00
bec16436b0 Merge pull request #12583 from smoogipoo/fix-score-export
Fix exported scores not being compatible with osu-stable
2021-04-26 22:32:18 +09:00
630a6dc46a Fix missing dependency 2021-04-26 22:23:44 +09:00
ed93e26e52 Use single method for starting/restarting spectator screen 2021-04-26 21:56:15 +09:00
7e11d520d5 Remove finished players from multi spectator screen 2021-04-26 21:25:46 +09:00
213ac88a8b Fix exported scores not being compatible with osu-stable 2021-04-26 20:52:20 +09:00
6560dc2d1f Fix exported replays being wrapped in zip packages 2021-04-26 20:46:44 +09:00
559d403abe Rename ColourCodedNotes to TimingBasedNoteColouring 2021-04-26 19:05:12 +08:00
58ebec4803 Move BindValueChanged hooks to LoadComplete() 2021-04-26 19:00:40 +08:00
47925de7ae Merge pull request #12500 from ekrctb/drawable-object
Factor out pooling and lifetime management logic of DHO to a base class
2021-04-26 19:30:43 +09:00
94d0b06493 Expose mute adjustment instead 2021-04-26 19:01:30 +09:00
19fc224348 Revert "Make OsuAutoGenerator spin the cursor around the position of the spinner instead of a set value"
This reverts commit 817bb5213c.
2021-04-26 11:52:46 +02:00
6d2a5b614c Merge branch 'master' into drawable-object 2021-04-26 18:33:44 +09:00
72d9cdcdf9 Merge pull request #12580 from peppy/fix-editor-slider-repeat-animation
Fix slider repeats and tails still animating with editor hit animations disabled
2021-04-26 17:36:51 +09:00
4c5a5c449a Merge branch 'multiplayer-spectator-screen' of https://github.com/smoogipoo/osu into multiplayer-spectator-screen 2021-04-26 17:35:37 +09:00
d7618b63fa Fix test failure 2021-04-26 17:35:13 +09:00
6626e70c95 Pass in master clock instead of slave clock 2021-04-26 17:30:27 +09:00
120fb8974d Combine more instances of test player IDs 2021-04-26 17:22:16 +09:00
5b4cb71cc7 Change terminology from "slave" to "player clock" 2021-04-26 17:19:44 +09:00
737a15c2d4 Extract out test player IDs to constants 2021-04-26 17:04:39 +09:00