1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 09:42:55 +08:00
Commit Graph

69758 Commits

Author SHA1 Message Date
Marvin Schürz
9d68673a1e Merge remote-tracking branch 'origin/feature/command-handler' into feature/command-handler
# Conflicts:
#	osu.Game.Rulesets.Osu/Edit/Blueprints/Sliders/Components/PathControlPointVisualiser.cs
#	osu.Game.Rulesets.Osu/Edit/Commands/OsuHitObjectCommandProxy.cs
#	osu.Game/Screens/Edit/Commands/SetPositionCommand.cs
2024-10-10 21:29:56 +02:00
Marvin Schürz
7d243ebcbe Rename MoveCommand to SetPositionCommand 2024-10-10 21:22:32 +02:00
maarvin
ce12b487a8
Merge pull request #2 from OliBomby/command-pattern-real-2
Implement variant type generic proxies without heap allocations
2024-10-10 21:10:05 +02:00
OliBomby
3c3678ffbd swap type arguments order for something more logical i think 2024-10-10 18:35:30 +02:00
OliBomby
fcda194c96 fix warning 2024-10-10 17:53:25 +02:00
OliBomby
ffadc7d781 fix mergeable commands 2024-10-10 17:52:57 +02:00
OliBomby
c30e70cc57 fix warnings 2024-10-10 17:10:44 +02:00
OliBomby
86a11f6567 Merge branch 'feature/command-handler' into command-pattern-real-2 2024-10-10 17:08:07 +02:00
Marvin Schürz
3fb986e8bb Fix formatting 2024-10-10 15:30:24 +02:00
Marvin Schürz
597396d64a Merge branch 'master' into feature/command-handler 2024-10-10 15:27:09 +02:00
Marvin Schürz
4a2995d7e5 Add PropertyChangeCommand 2024-10-10 15:27:03 +02:00
OliBomby
0422dc71cc Implement variant type generic proxies without heap allocations 2024-10-10 14:59:46 +02:00
Marvin Schürz
1924463465 Add mergeable commands 2024-10-10 14:05:50 +02:00
Bartłomiej Dach
cab97a96ab
Merge pull request #30189 from OliBomby/fix-splittable
Fix split control point context menu option not showing up on newly created control points
2024-10-10 11:37:24 +02:00
OliBomby
28e86badad attempt proxing 2024-10-10 01:20:56 +02:00
Marvin Schürz
4814ccbedd Don't commit in DragStart 2024-10-10 00:01:37 +02:00
OliBomby
9936ec579f Fix isSplittable depending on unreliable order of path control point pieces 2024-10-09 23:31:12 +02:00
OliBomby
f9b7f26ef3 fix setters 2024-10-09 23:26:17 +02:00
OliBomby
6b1fc292c5 ensure Proxy created when DI finished 2024-10-09 23:26:07 +02:00
OliBomby
05a87c9a6e Merge branch 'feature/command-handler' of https://github.com/minetoblend/osu into command-pattern-real-2 2024-10-09 22:26:12 +02:00
Marvin Schürz
39dc35712c Attempt to convert slider editing to command pattern 2024-10-09 21:20:07 +02:00
Dean Herbert
a6f56036a2
Merge pull request #30164 from bdach/am-i-fired-this-time
Fix game deadlocking on startup when set to single thread mode
2024-10-09 19:55:01 +09:00
Bartłomiej Dach
baa64d1486
Migrate MusicController to Live<T> to fix broken migrations instead 2024-10-09 11:59:04 +02:00
Bartłomiej Dach
081d87fe6d
Revert 'Fix any and all migration attempts dying on MusicController'
This reverts commit 310eec69fc.

Way to try and "fix" stuff and screw stuff up even harder instead, me.
Great job, well done.
2024-10-09 11:55:59 +02:00
Dean Herbert
270c4c4f12
Merge pull request #30151 from bdach/migration-is-completely-fucked
Fix several breakages with migration operation
2024-10-09 14:24:34 +09:00
Dean Herbert
d836dba982
Rename and xmldoc RealmResetEmptySet 2024-10-09 14:18:34 +09:00
Dean Herbert
48dacd1c15
Remove unused property 2024-10-09 13:45:35 +09:00
Dean Herbert
7ccb770009
Update framework 2024-10-09 12:36:51 +09:00
Dean Herbert
68ebf64b2d
Fix dependabot line endings 2024-10-09 12:36:44 +09:00
Dean Herbert
4a84c6e778
Merge pull request #30153 from ppy/dependabot/nuget/osu.Desktop/System.IO.Packaging-8.0.1
Bump System.IO.Packaging from 8.0.0 to 8.0.1 in /osu.Desktop
2024-10-09 12:13:56 +09:00
dependabot[bot]
6a754222e4
Bump System.IO.Packaging from 8.0.0 to 8.0.1 in /osu.Desktop
Bumps [System.IO.Packaging](https://github.com/dotnet/runtime) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: System.IO.Packaging
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-09 01:30:23 +00:00
Bartłomiej Dach
b811b9baf6
Fix DetachedBeatmapStore special condition for detecting resets from blocking all operations failing on empty databases
See https://discord.com/channels/188630481301012481/188630652340404224/1293309912591368244.
2024-10-08 23:16:17 +02:00
Bartłomiej Dach
1633cbdb66
Fix OsuGameBase.Migrate() eating exception messages for breakfast
Whomst've thought this was an ok thing to do? How did this pass review?
Let's leave these as rhetorical questions right now. Huge chances are
I'd implicate myself with at least one of them.
2024-10-08 23:16:17 +02:00
Bartłomiej Dach
310eec69fc
Fix any and all migration attempts dying on MusicController
I'm not sure why this was "fine" for as long as it apparently was,
but what `MusicController` was doing was completely incorrect and
playing with fire (accessing raw managed realm objects), which went
wrong somewhere around - admittedly -
https://github.com/ppy/osu/pull/29917, likely because that one started
*storing* these raw managed realm objects to fields, and you know what
will happen to those after you do a migration and recycle realms.

To attempt to circumvent this, (ab)use `DetachedBeatmapStore` instead.
Which does necessitate moving it to `OsuGameBase`, but it's the simplest
way out I can see. I guess the alternative would be to faff around with
`Live<T>` but it's ugly and I'm attempting to fix this relatively quick
right now.
2024-10-08 23:16:10 +02:00
Marvin Schürz
307d52549e Make x/y position mutable in OsuHitObject 2024-10-08 21:25:03 +02:00
Marvin Schürz
1d953e0e6f Add MoveXCommand and MoveYCommand 2024-10-08 21:22:05 +02:00
Marvin Schürz
c50adc80b0 Add SetStartTimeCommand 2024-10-08 20:56:17 +02:00
Marvin Schürz
fb5d3deb91 Remove Component superclass from EditorCommandHandler 2024-10-08 20:56:04 +02:00
Marvin Schürz
508701f4dd Use commands for moving HitObjects in OsuSelectionHandler 2024-10-08 20:55:50 +02:00
Marvin Schürz
fe9e84b47d Add AddHitObjectCommand and RemoveHitObjectCommand 2024-10-08 20:29:27 +02:00
Marvin Schürz
867e986240 Add MoveCommand 2024-10-08 20:29:06 +02:00
Marvin Schürz
18f7321ac6 Add SafeSubmit extension for nullable command handler 2024-10-08 20:19:15 +02:00
Marvin Schürz
b2276fbee7 Add EditorCommandHandler 2024-10-08 20:18:16 +02:00
Dean Herbert
bfad281f62
Merge pull request #26313 from OliBomby/grids-4
Add grid placement tool
2024-10-08 19:16:52 +09:00
OliBomby
de2f9dec39 Let right-click reset grid to default values 2024-10-08 10:51:35 +02:00
OliBomby
e794862da5 update comment 2024-10-08 10:46:10 +02:00
Dean Herbert
b1be31cd6a
Switch back to last tool after using grid tool, rather than always select tool 2024-10-08 17:34:51 +09:00
Dean Herbert
682023e130
Merge branch 'master' into grids-4 2024-10-08 16:26:42 +09:00
Dean Herbert
b658d9a681
Merge pull request #30073 from peppy/updates-outside-of-gameplay-only-2
Avoid updates (and update notifications) from appearing in more gameplay cases
2024-10-08 15:17:09 +09:00
Dan Balasescu
105008672d
Merge pull request #30139 from bdach/bump-diffcalc-versions
Bump difficulty calculator versions
2024-10-08 15:00:28 +09:00