cb1f7e2dc7
Fix platform dependency in buffered reader test
...
Tests for the line-buffered reader added in 7b1ff38
were subtly
dependent on the execution environment due to differing end-of-line
markers on Windows and Unix-based systems.
Because StreamReader discards all newlines when reading line-by-line,
LineBufferedReader used a StringBuilder to patch the peeked lines
back together with the remaining contents of the file being read.
As StringBuilder.AppendLine uses the environment-specific newline
delimiter, the delimiters after the peeked-but-unconsumed lines can
therefore be substituted by the platform-specific variants, causing
the test failures due to the overly-simplified way they were written.
Reformulate the test to avoid such issues from resurfacing again
by splitting lines by \r or \n and then testing each line individually.
Additionally remove all raw literals in favour of explicitly mixing
various line delimiter character sequences for additional coverage.
2019-10-10 15:33:18 +02:00
11c0071429
Merge pull request #6219 from LeNitrous/cleanup-intros
...
Move common logic to IntroScreen
2019-10-10 22:15:49 +09:00
356c0fdca0
Merge branch 'master' into cleanup-intros
2019-10-10 21:58:54 +09:00
c6a6ea3890
Use empty HitWindows to fix editor slider display ( #6445 )
...
Use empty HitWindows to fix editor slider display
Co-authored-by: Dan Balasescu <smoogipoo@smgi.me >
2019-10-10 17:10:34 +09:00
5497d210b6
Merge branch 'master' into fix-editor-slider-display
2019-10-10 16:22:30 +09:00
c708ea327d
Merge pull request #6444 from peppy/screen-with-timeline
...
Add abstract implementation for editor screens which display a timeline
2019-10-10 16:14:48 +09:00
4e273fc628
Return correct allowed value for Perfect
...
Co-Authored-By: Salman Ahmed <slmanarendo1950@gmail.com >
2019-10-09 19:50:05 +09:00
e6f857d0d8
Revert "Warn on incorrect null usage"
...
This reverts commit 93d2c3d7a1
.
2019-10-09 19:38:07 +09:00
9f2a648432
Add full asserts
2019-10-09 19:23:37 +09:00
ad6b8d3e04
Add result offset bounding to result itself, rather than just transforms
2019-10-09 19:08:55 +09:00
51bf600ea7
Use empty hitwindows instead of null
2019-10-09 19:08:31 +09:00
93d2c3d7a1
Warn on incorrect null usage
2019-10-09 19:03:20 +09:00
0681bb9a2b
Fix potential nullref
2019-10-09 16:49:10 +09:00
2d8e5615e4
Extract timeline and layout logic from ComposeScreen
2019-10-09 16:05:55 +09:00
f2adae8fd1
Rename test case to better match underlying class
2019-10-09 16:05:38 +09:00
3dd2b18ff0
Make EditorScreen abstract
2019-10-09 16:04:58 +09:00
10c7fc139e
Merge pull request #6423 from peppy/fix-ss-track-playback
...
Fix song select not correctly playing tracks in some cases
2019-10-09 12:38:25 +09:00
69b9e359bf
Merge branch 'master' into fix-ss-track-playback
2019-10-09 12:26:07 +09:00
52b065b560
Merge pull request #6427 from peppy/editor-wip-screens
...
Better signify under construction screens in editor
2019-10-09 12:18:53 +09:00
ed41429fc1
Merge branch 'master' into editor-wip-screens
2019-10-09 12:04:12 +09:00
fca2a5bc6e
Merge pull request #6429 from peppy/add-slider-tail-todo
...
Add todo in slider tail to avoid confusion
2019-10-09 12:04:05 +09:00
34d50e3b73
Merge branch 'master' into add-slider-tail-todo
2019-10-09 11:53:27 +09:00
09f950ea59
Merge pull request #6428 from peppy/fix-ignored-test
...
Fix ignored song select test
2019-10-09 11:53:07 +09:00
e8276dc562
Merge branch 'master' into fix-ignored-test
2019-10-09 11:39:40 +09:00
9a26cf3a61
Merge pull request #6430 from peppy/move-wave-tests
...
Move WaveContainer test out of editor namespace
2019-10-08 19:28:30 +09:00
4446a2972c
Move WaveContainer test out of editor namespace
2019-10-08 18:08:05 +09:00
b09d9b7e1f
Add todo in slider tail to avoid confusion
2019-10-08 17:56:56 +09:00
47768b7063
Rework osu! selection blueprint updates ( #6291 )
...
Rework osu! selection blueprint updates
Co-authored-by: Dean Herbert <pe@ppy.sh >
2019-10-08 17:43:13 +09:00
8ebccfe31f
Add comprehensive audio state tests
2019-10-08 17:03:13 +09:00
f284d096b7
Fix ignored song select test
2019-10-08 16:37:47 +09:00
4e026b163c
Don't resume playback when user has paused and track hasn't changed
2019-10-08 15:04:38 +09:00
3e904b4838
Fix naming of file
2019-10-08 14:37:56 +09:00
63bf8ff832
Better signify under construction screens in editor
2019-10-08 14:32:48 +09:00
7e4f0c01b8
Avoid excess background updates in playlist overlay ( #6424 )
...
Avoid excess background updates in playlist overlay
2019-10-08 14:11:02 +09:00
d5aca57b08
Fix skins not being displayed correctly in the editor ( #6426 )
...
Fix skins not being displayed correctly in the editor
Co-authored-by: Dan Balasescu <smoogipoo@smgi.me >
2019-10-08 14:10:48 +09:00
73e3dac64b
Merge branch 'master' into fix-editor-skinning
2019-10-08 13:28:10 +09:00
dba526279e
Merge pull request #6425 from peppy/fix-editor-playback-speed
...
Fix editor defaulting to 0.5x playback speed
2019-10-08 13:26:45 +09:00
24269c0384
Fix skins not being displayed correctly in the editor
2019-10-08 12:52:34 +09:00
5472029ffe
Fix editor defaulting to 0.5x playback speed
2019-10-08 12:27:51 +09:00
52770f803d
Fix incorrect beatmap usage
2019-10-08 12:15:32 +09:00
cbb120cd38
Switch beatmap to private
2019-10-08 12:09:42 +09:00
c280bee894
Protect configuration bindables
2019-10-08 12:08:47 +09:00
b8b2ff2674
Move welcome to local usages
2019-10-08 12:07:59 +09:00
4ba2dccde3
Reorder file contents
2019-10-08 12:05:52 +09:00
a0bb193342
Remove unnecessary beatmap storage
2019-10-08 12:04:13 +09:00
449e53ee6d
Centralise track handling
2019-10-08 12:03:42 +09:00
c3d56088d8
Make constant private
2019-10-08 11:54:39 +09:00
3c0b1be7f4
Add xmldoc where applicable
2019-10-08 11:52:16 +09:00
393683f8f1
Merge branch 'master' into cleanup-intros
2019-10-08 11:29:13 +09:00
438408161c
Fix tab controls overflowing right content at max ui scale ( #6411 )
...
Fix tab controls overflowing right content at max ui scale
2019-10-08 11:16:41 +09:00