Commit Graph

34228 Commits

Author SHA1 Message Date
smoogipoo 87bf168718 Use queue instead of list 2020-11-16 20:52:51 +09:00
smoogipoo 1b1f4c9c09 Refactor user request to fix threadsafety issues 2020-11-16 20:35:22 +09:00
Dan Balasescu 08a127eedc
Merge pull request #10862 from peppy/fix-currentskininfo-thread-safety
Move skin deletion logic to OsuGameBase to promote thread safety
2020-11-16 18:41:46 +09:00
Dan Balasescu a98327f0c5
Merge branch 'master' into fix-currentskininfo-thread-safety 2020-11-16 17:55:22 +09:00
Dan Balasescu 09298139e1
Merge pull request #10844 from bdach/spinner-rotation-tracker-state
Fix rotation tracker state not being reset on drawable spinner re-use
2020-11-16 17:10:40 +09:00
Dean Herbert 709370c69b Move schedule call outwards 2020-11-16 16:49:31 +09:00
Dean Herbert 9a7fdb2b7e Move skin deletion logic to OsuGameBase to promote thread safety
`CurrentSkinInfo` is used in multiple places expecting thread safety,
while ItemRemoved events are explicitly mentioning they are not thread
safe. As SkinManager itself doesn't have the ability to schedule to the
update thread, I've just moved the logic to `OsuGameBase`. We may want
to move the current skin bindable out of the manager class in the
future to match things like `BeatmapManager`.

Closes https://github.com/ppy/osu/issues/10837.
2020-11-16 16:43:19 +09:00
Dean Herbert d8c9db860a
Merge pull request #10860 from ekrctb/dotnet-tool-inspectcode
Use `dotnet tool` for InspectCode build script
2020-11-16 16:25:01 +09:00
Dean Herbert 86ef73c587
Merge pull request #10830 from Joehuu/consistent-tournament-strings
Make tournament strings more consistent
2020-11-16 16:20:49 +09:00
Dean Herbert 6706840b54
Merge pull request #10853 from bdach/add-to-legacy-conversion-tests 2020-11-16 15:22:04 +09:00
ekrctb b20898a1ac Use `dotnet tool` for InspectCode build script 2020-11-16 14:57:52 +09:00
Dean Herbert a4c17906b4 Make comment a bit more explicit 2020-11-16 14:52:18 +09:00
Dean Herbert baed1573dc
Merge pull request #10838 from nbvdkamp/fix-quick-delete-crash 2020-11-16 14:42:52 +09:00
Dan Balasescu 3dbd7d5654
Merge pull request #10856 from bdach/reset-transforms-on-return-to-pool
Clear DrawableHitObject transforms on return to pool
2020-11-16 14:40:38 +09:00
Dean Herbert 7169dc9173 Add extra step checking slider deletion on second click 2020-11-16 14:06:37 +09:00
Dean Herbert 7b79b9b9c1
Merge branch 'master' into fix-quick-delete-crash 2020-11-16 13:54:54 +09:00
Dean Herbert 0ea75450d4
Merge pull request #10850 from nbvdkamp/clamp-editor-movement
Clamp selection movement instead of refusing to move on playfield borders
2020-11-16 12:46:48 +09:00
Bartłomiej Dach 399a1a16a0 Refactor beginClickSelection in a slightly different way 2020-11-15 21:06:47 +01:00
Bartłomiej Dach 337311c323 Remove redundant type specification 2020-11-15 20:52:58 +01:00
Bartłomiej Dach 1f0945d4de Simplify accesses via ChildrenOfType() 2020-11-15 20:52:33 +01:00
Bartłomiej Dach 4e77800b98 Rename & simplify property 2020-11-15 20:51:35 +01:00
Bartłomiej Dach 9c0a0031d6 Clear existing transforms on DHO return to pool 2020-11-15 19:50:22 +01:00
Bartłomiej Dach 42de4437cc Add failing test case 2020-11-15 19:43:42 +01:00
kamp c77ec3e905 Fix slider control point quickdelete test 2020-11-15 17:42:52 +01:00
Dean Herbert 67db278864
Merge pull request #10841 from bdach/fix-spectator-preview-crash
Add support for previewing tracks on spectator screen
2020-11-16 01:09:37 +09:00
kamp 1db303b159 Revert beginClickSelection logic 2020-11-15 16:54:48 +01:00
Bartłomiej Dach 6b38bb9d76 Add test coverage for new ownerless behaviour 2020-11-15 16:38:25 +01:00
kamp 83727a2e85 Add quick-delete tests 2020-11-15 16:06:29 +01:00
Bartłomiej Dach 7736d1ae85 Fix taiko-specific missing cases 2020-11-15 15:41:58 +01:00
Bartłomiej Dach a17990f2ee Fix osu!-specific missing cases 2020-11-15 15:40:31 +01:00
Bartłomiej Dach e5d9cca9de Fix mania-specific missing cases 2020-11-15 15:38:12 +01:00
Bartłomiej Dach 5d44286d38 Add missing generic mappings to legacy mods 2020-11-15 15:35:06 +01:00
Bartłomiej Dach 5ace7abaa8 Add abstract non-generic ModNightcore to pattern-match over 2020-11-15 15:32:02 +01:00
Bartłomiej Dach e9b5f54128 Cover mapping fully for taiko mods 2020-11-15 15:32:02 +01:00
Bartłomiej Dach 9f27d4a9f4 Cover mapping fully for osu! mods 2020-11-15 15:32:02 +01:00
Bartłomiej Dach ee5e70135f Cover mapping fully for mania mods 2020-11-15 15:09:02 +01:00
Bartłomiej Dach f9fa7c86ea Cover mapping fully for catch mods 2020-11-15 14:53:25 +01:00
Bartłomiej Dach 8b74298567 Add base method for testing conversion in other direction 2020-11-15 14:48:23 +01:00
kamp 268bbcf77d Clamp selection movement instead of refusing to move on borders 2020-11-15 14:22:46 +01:00
Bartłomiej Dach 9899687bfe Rename existing method to allow for new one 2020-11-15 14:17:41 +01:00
Dean Herbert 199043f677 Allow preview tracks to exist without an owner (without hard crashing) 2020-11-15 13:21:09 +09:00
Dean Herbert 34f09e2e20 Merge branch 'master' into fix-spectator-preview-crash 2020-11-15 13:16:10 +09:00
Dean Herbert 7156682efa
Merge pull request #10840 from bdach/resolved-as-null-checks
Add null checks to unguarded resolved-as-possibly-null fields
2020-11-15 13:15:32 +09:00
Bartłomiej Dach 532680bb36 Manually reset rest of rotation tracker state on object application 2020-11-14 23:23:11 +01:00
Bartłomiej Dach 727a886fb3 Move spinner completion info into judgement 2020-11-14 23:08:47 +01:00
Bartłomiej Dach af392e3995 Move rate adjusted spinner rotation into judgement result 2020-11-14 21:10:12 +01:00
Bartłomiej Dach f8cabbdd21 Clear result when freeing pooled hitobject 2020-11-14 21:09:22 +01:00
Bartłomiej Dach 5ae3d6cc74 Add failing asserts 2020-11-14 21:02:44 +01:00
Bartłomiej Dach b344a13734 Add support for previewing tracks on spectator screen 2020-11-14 17:08:27 +01:00
Bartłomiej Dach 8a78d408db Add more missed null checks 2020-11-14 15:52:12 +01:00