1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 08:32:54 +08:00
Commit Graph

71189 Commits

Author SHA1 Message Date
Dean Herbert
daa7921c2d
Mark IsTablet with new to avoid inspection
Co-authored-by: Susko3 <Susko3@protonmail.com>
2025-01-17 12:55:11 +09:00
Dean Herbert
42e5cb58b7
Merge branch 'master' into mobile-fix-mania 2025-01-16 18:08:46 +09:00
Dan Balasescu
471180d947
Merge pull request #31519 from EVAST9919/trail-rotate
Add support for `CursorTrailRotate` skin command
2025-01-16 14:56:53 +09:00
Dan Balasescu
fe8389bc2b
Add test 2025-01-16 14:11:21 +09:00
Dan Balasescu
920648c267
Minor refactorings and xmldoc additions 2025-01-16 14:00:27 +09:00
Dan Balasescu
93a0ecd065
Merge pull request #31531 from shawwn/2025-01-15/patch
Fix typo in xmldoc
2025-01-16 13:31:33 +09:00
Shawn Presser
6008c3138e Typo fix 2025-01-15 19:29:41 -06:00
Andrei Zavatski
2eb63e6fe0 Simplify rotation sync with no clocks involved 2025-01-15 20:38:51 +03:00
Bartłomiej Dach
614243fef4
Merge pull request #31506 from peppy/fix-storyboard-break-overhead
Fix stutter on intensive storyboards when entering break time with 100% background dim
2025-01-15 08:23:58 +01:00
Dan Balasescu
b9f3a1de6a
Merge pull request #31523 from Rudicito/apply-offset-when-same-audio
Apply beatmap offset to all difficulties only if they have the same audio
2025-01-15 14:20:16 +09:00
Dean Herbert
ef7982fbfa
Merge pull request #31446 from EVAST9919/new-combo-editor
Fix performance degradation while trying to place object with a new combo in the editor.
2025-01-15 12:56:06 +09:00
Rudi Herouard
57a9911b22 Apply beatmap offset on every beatmap set difficulty if they have the same audio 2025-01-15 04:12:54 +01:00
Andrei Zavatski
7a6355d7cf Sync cursor trail rotation with the cursor 2025-01-14 23:12:23 +03:00
Andrei Zavatski
208824e9f4 Add ability for cursor trail to spin 2025-01-14 22:16:32 +03:00
Dan Balasescu
ad14720714
Merge pull request #31508 from peppy/api-startup-state
Fix replays not correctly pre-importing beatmap when arriving from a cold start
2025-01-14 22:43:08 +09:00
Dean Herbert
0e20c0e307
Merge pull request #31473 from bdach/colorhax
Add combo colour override control to editor
2025-01-14 20:52:15 +09:00
Dean Herbert
91fa2e70d8
Revert name change 2025-01-14 20:41:18 +09:00
Dean Herbert
3523a2fe61
Merge branch 'master' into api-startup-state 2025-01-14 20:39:05 +09:00
Dan Balasescu
f2b7984e5a
Merge pull request #31507 from peppy/api-startup-user
Ensure API starts up with `LocalUser` in correct state
2025-01-14 20:36:55 +09:00
Dan Balasescu
d81735ddf4
Merge pull request #31492 from Susko3/fix-nullref
Fix nullref when opening files or URIs on startup on Android
2025-01-14 20:14:12 +09:00
Dan Balasescu
1e45aa7fbe
Merge pull request #31240 from Plextora/colour-for-friend-lb
Make the score background yellow for friends on the leaderboard
2025-01-14 20:11:37 +09:00
Plextora
31d7c6a22e
Merge branch 'master' into colour-for-friend-lb 2025-01-14 05:57:44 -05:00
Dean Herbert
3ddff19337
Fix potential nullref due to silly null handling and too much OOP 2025-01-14 19:03:58 +09:00
Dean Herbert
b4d054fdc0
Merge pull request #31444 from smoogipoo/friend-presence-2
Add notifications for when friends go online or offline
2025-01-14 18:58:19 +09:00
Bartłomiej Dach
459577cc32
Merge pull request #31474 from peppy/scroll-container-double-precision
Update game `ScrollContainer` usage in line with framework changes
2025-01-14 10:56:55 +01:00
Dean Herbert
55ae0403d8
Ensure API state is Connecting immediately on startup when credentials are present
Currently, there's a period where the API is `Offline` even though it is
about to connect (as soon as the `run` thread starts up).

This can cause any `Queue`d requests to fail if they arrive too early.

To avoid this, let's ensure the `Connecting` state is set as early as
possible.
2025-01-14 18:18:53 +09:00
Dan Balasescu
156207d347
Remove unused using 2025-01-14 17:54:40 +09:00
Dan Balasescu
51c7c218bf
Simplify operations on local list 2025-01-14 17:52:26 +09:00
Bartłomiej Dach
92cc45dc05
Merge branch 'text-input-properties' into scroll-container-double-precision 2025-01-14 09:51:48 +01:00
Dean Herbert
f6073d4ac0
Ensure API starts up with LocalUser in correct state
I noticed in passing that in a very edge case scenario where the API's
`run` thread doesn't run before it is loaded into the game, something
could access it and get a guest `LocalUser` when the local user actually
has a valid login.

Put another way, the `protected HasLogin` could be `true` while
`LocalUser` is `Guest`.

I think we want to avoid this, so I've moved the initial set of the
local user earlier in the initialisation process.

If this is controversial in any way, the PR can be closed and we can
assume no one is ever going to run into this scenario (or that it
doesn't matter enough even if they did).
2025-01-14 17:43:43 +09:00
Bartłomiej Dach
058ff8af77
Make test class partial 2025-01-14 09:22:56 +01:00
Bartłomiej Dach
8211c4ee98
Merge branch 'master' into colorhax 2025-01-14 08:56:52 +01:00
Bartłomiej Dach
8ffd254719
Adjust initialisation code to start with combo colour picker hidden 2025-01-14 08:54:46 +01:00
Dean Herbert
3c913c9f6d
Merge branch 'master' into colour-for-friend-lb 2025-01-14 16:34:05 +09:00
Dean Herbert
904a08af26
Update textbox usage in line with framework changes 2025-01-14 16:29:56 +09:00
Dean Herbert
2c57cd59a5
Update framework 2025-01-14 16:26:56 +09:00
Dean Herbert
77db355809
Ensure storyboards are still updated even when dim is 100%
This avoids piled-up overhead when entering break time. It's not great,
but it is what we need for now to avoid weirdness.
2025-01-14 16:22:10 +09:00
Dean Herbert
7761a0c18a
Add failing test coverage showing storyboard not being updated when dimmed 2025-01-14 16:22:10 +09:00
Dean Herbert
75d1fab6d0
Merge pull request #30060 from peppy/fix-skin-editor-undo
Fix initial skin state being stored wrong to undo history
2025-01-14 01:48:09 +09:00
Bartłomiej Dach
39a69d6454
Adjust test to pass
What I think was happening here is that the dump of the accuracy
counter's state was happening too early. The component is loaded
synchronously into the `ISerialisableDrawableContainer` before its
default position is set via the "apply defaults" `ArgonSkin` flow
- so the test needs to wait for that to take place first.
2025-01-13 13:14:34 +01:00
Bartłomiej Dach
8968ab19d9
Merge branch 'master' into fix-skin-editor-undo 2025-01-13 12:39:51 +01:00
Bartłomiej Dach
fc069e060c
Only show colour on new combo selector button if overridden
As proposed in
https://discord.com/channels/188630481301012481/188630652340404224/1327309179911929936.
2025-01-13 12:38:28 +01:00
Salman Alshamrani
4774d9c9ae Fix mania fade in test not actually testing the mod 2025-01-12 22:57:35 -05:00
Salman Alshamrani
c1ac27d658 Fix failing tests
- Caches `DrawableRuleset` in editor compose screen for mania playfield adjustment container (because it's used to wrap the blueprint container as well)
- Fixes `ManiaModWithPlayfieldCover` performing a no-longer-correct direct cast with a naive-but-working approach.
2025-01-12 22:56:40 -05:00
Susko3
b0339a9d63 Create game as soon as possible 2025-01-13 00:49:04 +00:00
Susko3
76e09586fd Fix possible nullref in handleIntent()
Could happen if we get a malformed intent without data
2025-01-12 23:33:04 +00:00
Dean Herbert
dfbc93c3dc
Fix typo 2025-01-12 19:16:53 +09:00
Salman Alshamrani
f718696102 Allow landscape orientation on tablet devices in osu!mania 2025-01-12 02:34:36 -05:00
Salman Alshamrani
f121b03a78 Merge branch 'master' into mobile-fix-mania 2025-01-12 02:00:49 -05:00
Dean Herbert
83a2fe09c5
Update readme with updated mobile release information 2025-01-12 13:07:26 +09:00