Commit Graph

13787 Commits

Author SHA1 Message Date
efe6245e53 Fixed a bug where Drawable.Width could potentially be set to NaN (0/0) by checking if last variable > 0. 2017-12-02 10:42:38 +01:00
6d9dcc6691 Added all files to the .csproj and also introduced basic action filtering when you set the URL on an OsuLinkSpriteText object 2017-12-02 09:48:55 +01:00
0aced85908 Changed the LinkID to the link's own Index instead of the previous one (just makes more sense imo) 2017-12-02 09:47:59 +01:00
d22a9df140 Added new request for getting the beatmapset from only a difficulty map ID 2017-12-02 09:47:20 +01:00
e07b85311b removed unnecessary using 2017-12-01 22:15:10 +01:00
c466296b14 reverted split at Decoder, moved logic down
I'm done experimenting, sorry
- `Decoder` only returns a "Beatmap"`Decoder` now
- "Storyboard"`Decoder` is retrieved from a "Beatmap"`Decoder`
- moved parse methods down in the hierarchy where I forgot to do that
- renamed `OsuLegacyDecoderTest` to `LegacyDecoderTest`
2017-12-01 22:05:01 +01:00
ade7311c15 Updated implementation to be based around a "LinkId" (atm the position of the link, anything unique to a link inside its message will be fine), which does not allow matching (OnHover related) between different links 2017-12-01 21:31:12 +01:00
7699a3bb38 Merge branch 'master' of https://github.com/ppy/osu into url-parsing-support 2017-12-01 21:07:31 +01:00
7f1f886406 implemented method formatting into chat. Also added all necessary files to the .csproj 2017-12-01 21:04:24 +01:00
78ff5d81d3 Fixed casting 2017-12-01 21:03:41 +01:00
152eb83c42 Added new class for chat lines, that colour the messages after formatting. URLs will become blue, and on hover (also defined here) be turned yellow-ish 2017-12-01 20:33:27 +01:00
86302716a6 Also moved LinkText to its own file so the chat could reuse it (ProfileHeader's private class ProfileLink also still inherits from this, though) 2017-12-01 20:32:08 +01:00
1f1c7dd70f Moved LinkFlowContainer out of ProfileHeader to make it available for other uses too (e.g. chat) and renamed it to LinkTextFlowContainer bc it can contain both links and text, not only one 2017-12-01 20:26:51 +01:00
f5f287bed5 Rolled back the idea that there should be a separate class for formatted messages 2017-12-01 20:25:02 +01:00
a49f3479a2 Split retrieving of beatmap and storyboard decoder
Storyboard works again. Not satisfied with the solution though.
2017-12-01 19:11:52 +01:00
6faa0f62b3 Merge pull request #1643 from gtensha/master
Fix filename casing to compile on Linux
2017-12-02 02:21:49 +09:00
de94082b1e Fix filename casing to compile on Linux 2017-12-01 18:10:39 +01:00
db50ad794e CI adjustments
- removing unnecessary `using`s
- name Fields/Methods according to rules
- removing unnecessary initializations
2017-12-01 17:58:11 +01:00
806c0e3b26 restructured OsuLegacyDecoder into LegacyDecoder
Beatmap works, Storyboard not...
2017-12-01 17:43:33 +01:00
cf859a6cf2 Make the dragger attach to objects it surrounds
Plus a lot more implementation.
2017-12-02 00:26:02 +09:00
f547b3bde5 Merge pull request #1630 from Aergwyn/fix-set-hidden-crash
Fix crash when all beatmaps in a set are hidden
2017-12-01 23:48:30 +09:00
70b29b8b62 Merge branch 'master' into fix-set-hidden-crash 2017-12-01 23:35:48 +09:00
33572a7326 Merge pull request #1633 from peppy/fix-track-disposal
Fix DisposeTrack not working as expected
2017-12-01 23:35:28 +09:00
ee75f90ab3 Update framework 2017-12-01 23:17:54 +09:00
7532795935 Lock during validity checks 2017-12-01 22:43:49 +09:00
87b6181a19 Merge remote-tracking branch 'upstream/master' into fix-track-disposal 2017-12-01 22:36:20 +09:00
8c3ae9430b Add difficulty scaling considerations to hyperdash initialisation 2017-12-01 20:39:58 +09:00
997cdfaee4 Add missing licence header 2017-12-01 20:31:54 +09:00
912d5edcf6 Merge branch 'master' into catch-hyperdash 2017-12-01 20:16:37 +09:00
79e1bf3394 Remove unused testcase 2017-12-01 20:14:42 +09:00
e75d73ac1c Change hyperdash colour again 2017-12-01 20:13:46 +09:00
bf606522c1 Make hyperdash testcase easier to win again 2017-12-01 20:13:32 +09:00
273793f185 Add comments 2017-12-01 20:08:49 +09:00
25207c51b5 Add directionality 2017-12-01 20:07:28 +09:00
445bb70ef5 Add hyperdash visual testing to TestCaseCatcherArea
Also tidies up hyperdash state logic
2017-12-01 19:58:00 +09:00
07081f400c Make hyperdash testcase easier to win 2017-12-01 19:33:20 +09:00
51cae24a26 Add basic hyperdash movement
Doesn't restrict direction yet. Also improves readability of fruit catch detection.
2017-12-01 19:33:13 +09:00
d36fbd2296 Merge pull request #1530 from smoogipoo/netstandard
Migrate all projects to target NETStandard/Core + NET461
2017-12-01 19:11:20 +09:00
01bea3bada Re-implemented message formatting (mostly taken from osu-stable code) 2017-12-01 10:56:48 +01:00
1b83f2e3d4 Update framework 2017-12-01 18:53:36 +09:00
741153e1a2 Remove unnecessary properties 2017-12-01 18:51:20 +09:00
599a86a69a Remove LangVer.props 2017-12-01 18:50:59 +09:00
a30270658d Merge remote-tracking branch 'origin/master' into netstandard 2017-12-01 18:50:28 +09:00
442b234a86 Merge pull request #1631 from smoogipoo/csharp-7
Migrate to C# 7
2017-12-01 18:47:37 +09:00
5be00cb0ec Add todo 2017-12-01 18:40:55 +09:00
0b95e36675 Fix RelativeChildSize error temporarily 2017-12-01 18:00:20 +09:00
881745d756 Initial implementation of hyperdash calculation 2017-12-01 17:59:36 +09:00
19051dd529 Update framework 2017-12-01 16:44:49 +09:00
a73dfd692b Merge LangVer.props and osu.Game.props 2017-12-01 13:53:32 +09:00
edb9b19079 Make JoinNullCheckWithAssignment a hint 2017-12-01 13:53:18 +09:00