Commit Graph

441 Commits

Author SHA1 Message Date
d93d9e6190 Tidy up file deletion after import 2017-07-28 15:08:56 +09:00
6616721e37 Don't block imports and BeatmapStore operations using the same lock 2017-07-28 15:05:12 +09:00
d51ce896f9 Add locking to all BeatmapManager operations 2017-07-28 12:58:35 +09:00
7d4218ea6c Add option to import from osu-stable
Also adds an option to delete all beatmaps for testing purposes.
2017-07-28 12:58:35 +09:00
9ee59dd637 Add the ability to create migrations on a per-store level
Now stores store versions to the database itself.
2017-07-28 12:58:35 +09:00
996e5e8b4a Use SHA2 for hashing 2017-07-27 17:40:08 +09:00
5f53426a9a *Database -> *Store
Welcome back BeatmapManager
2017-07-27 16:56:41 +09:00
fdc6666c71 Simplify hashing method
Also exit the import process before importing files to the file store to avoid incorrect reference count increments.
2017-07-27 15:55:55 +09:00
cbe7b08642 Make BeatmapStore's BeatmapDatabase private 2017-07-27 15:34:13 +09:00
96b08b8777 Simplify and document DatabaseStore API 2017-07-27 15:06:10 +09:00
a90eff69db Simplify BeatmapSetInfo deletion by relying on cascading deletes 2017-07-27 12:51:49 +09:00
c7a6343985 Never cascade-delete rulesets 2017-07-27 12:51:21 +09:00
aa81397df4 Recursively retrieve files 2017-07-27 12:41:34 +09:00
690b41b1e9 Fix join rows not being deleted when a beatmap is cleaned up 2017-07-27 12:37:37 +09:00
4e742959f2 CI fixes 2017-07-27 00:21:57 +09:00
87add0765e Initial documentation pass on BeatmapDatabase
Also a bit of tidying up.
2017-07-27 00:08:19 +09:00
07d4d2dbe4 Secondary documentation pass on BeatmapStore 2017-07-26 23:13:02 +09:00
99e53b5109 Initial documentation pass on BeatmapStore 2017-07-26 22:48:16 +09:00
898a601098 Introduce a reference counting file store 2017-07-26 20:22:02 +09:00
5fc68aabbf Fix reset function not running in correct order 2017-07-26 17:14:38 +09:00
9e20a02c0a Split out BeatmapDatabase into BeatmapStore
Hide database functionality at a lower level in preparation from eventually making it private.
2017-07-26 16:31:34 +09:00
fce580d717 Reshuffle namespaces 2017-07-26 13:22:46 +09:00
64f2e2dc32 Use Colour instead of ColourInfo 2017-07-23 13:06:16 +02:00
e68675f970 Rename EasingTypes to Easing 2017-07-22 20:53:53 +02:00
2cd8f6b30c Merge branch 'master' of github.com:ppy/osu into better-transforms
# Conflicts:
#	osu-framework
2017-07-21 11:15:26 +02:00
d6968ca09c Remove FullyLoaded logic
Always parse storyboards for now.

Let's not optimise this until it is necessary. It was leading to weird threading problems due to the load call in Player's async load method.
2017-07-20 11:01:50 +09:00
d69470f2ae Fix TestWorkingBeatmap broken by attempting to load storyboard 2017-07-20 09:22:39 +09:00
c4619f614a Merge branch 'master' of github.com:ppy/osu into better-transforms
# Conflicts:
#	osu-framework
2017-07-19 19:15:51 +02:00
da92fccdb0 Merge branch 'master' into non-null-beatmap 2017-07-19 18:32:42 +09:00
d7dddec328 Set zero-difficulty values local to the dummy beatmap 2017-07-19 18:32:11 +09:00
0b53f1a7e3 Reference system 2017-07-19 18:09:59 +09:00
a01209cfe0 Simplify comparator 2017-07-19 18:09:59 +09:00
d0dea33faa Make Beatmap (bindable) non-nullable. 2017-07-19 15:16:53 +09:00
632d2e8ba5 Dummy beatmap has dummy ruleset 2017-07-19 15:16:48 +09:00
3289d93f22 Give the dummy beatmap a background 2017-07-19 15:16:42 +09:00
007b343854 Fix incorrect equality check when TimingPointAt returns a default T 2017-07-19 15:16:40 +09:00
21984ba764 Move DummyWorkingBeatmap to a more global level (OsuScreen) 2017-07-19 15:16:39 +09:00
e47faf4e85 Add a dummy beatmap provider for use in BeatmapInfoWedge 2017-07-19 15:16:33 +09:00
6f59e5feec Add null check on stream 2017-07-19 14:56:27 +09:00
a5e610a7ba Update framework and fix compilation
Most issues were related to BeginLoopedSequence usage and lack of
"this." in front of transform helpers.
2017-07-14 19:18:12 +03:00
3aeed86392 Merge branch 'master' into drawable-room-update 2017-07-14 15:29:27 +09:00
de46f3ab07 Remove all unnecessary parenthesis where object initialisers are used
Enforces at CI.
2017-07-13 15:11:33 +09:00
b196b1d3c6 CI fixes, switch RoomInspector to use BeatmapSetCover. 2017-07-13 01:24:59 -03:00
fea40ccc1a Share BeatmapSet cover sprite code. 2017-07-13 01:17:47 -03:00
9d523ea012 Update framework 2017-07-12 11:06:13 +09:00
40225238d9 Set RelativeSizeAxes for updated FillMode behavior 2017-06-28 12:24:23 +03:00
62dee59672 Shapes namespace
Depends on https://github.com/ppy/osu-framework/pull/837
2017-06-20 15:54:23 +10:00
f439237bd7 Set a more sane default for TimingControlPoint's BeatLength 2017-06-15 14:19:06 +09:00
ffbb46f668 Update in line with framework. 2017-06-12 12:48:47 +09:00
4abad17b92 Fix Black Space after } and Symbol Spacing 2017-06-08 14:48:42 +08:00