Commit Graph

5795 Commits

Author SHA1 Message Date
319f43e209 Added "getIdFromUrl" call back to content.action because performance impact is small and no unnecessary id calculations are done 2017-12-04 13:29:56 +01:00
bf97f8b1b1 Added osu.ppy.sh/ss (screenshot) URL handling and calculate ID at assignment so it's not on click anymore 2017-12-03 23:55:34 +01:00
a839d0e91d LoadComponent before assigning URL to ensure dependency loading 2017-12-03 23:55:00 +01:00
3f336b8e61 Made the style a bit better, fixed a bug or two 2017-12-03 21:02:05 +01:00
2d270a1cfe Added ability to open other channels from chat links. 2017-12-03 20:45:30 +01:00
c574cc4308 Removed unnecessary "using" statements 2017-12-03 11:16:34 +01:00
735dbddd17 Changed URL detection to be more reliable and generally work better 2017-12-03 06:52:57 +01:00
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
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
de94082b1e Fix filename casing to compile on Linux 2017-12-01 18:10:39 +01:00
70b29b8b62 Merge branch 'master' into fix-set-hidden-crash 2017-12-01 23:35:48 +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
01bea3bada Re-implemented message formatting (mostly taken from osu-stable code) 2017-12-01 10:56:48 +01: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
acb2cafa58 fix wedge not appearing 2017-11-29 21:09:08 +01:00
d402222f17 Fix DisposeTrack and improve AsyncLazy to support disposal 2017-11-30 05:05:07 +09:00
36be171c29 Fix up/clean up csprojs for C#7 support 2017-11-30 02:06:03 +09:00
a0c3349935 Add LangVer.props and osu.Game.props for common csproj properties 2017-11-30 00:45:37 +09:00
28d925dc1d Merge branch 'master' into random-song-fix 2017-11-29 20:32:10 +09:00
b2fc50247c Hide metadata by default to avoid initial jump when no data present 2017-11-29 20:13:00 +09:00
2b7bf285e4 Improve code quality 2017-11-29 20:07:00 +09:00
6dd6f08bd0 Random song selection when entering the select menu with default osu theme or invalid beatmap 2017-11-29 11:51:56 +01:00
d4c1359a49 Merge branch 'master' into update-statistics-async 2017-11-29 19:27:22 +09:00
801d81ecfc Add a notice when not logged in 2017-11-29 19:00:08 +09:00
93d7cd5a6d Merge branch 'master' into performance-calculator 2017-11-29 18:37:07 +09:00
404e7d62ff Merge branch 'master' into mania-important-frames 2017-11-29 18:12:57 +09:00
bad970d1d1 Add wait steps to ensure the player is completely loaded before continuing 2017-11-29 17:25:55 +09:00
1136db1556 Fix mania replays not defining important frames
Resolves https://github.com/ppy/osu/issues/1495 .
2017-11-29 14:20:15 +09:00
85201ea30c Merge branch 'master' into performance-calculator 2017-11-29 13:23:40 +09:00
d1afbf8055 Load Player-based TestCases asynchronously 2017-11-29 13:10:33 +09:00
3bdf82d8df refactor newly added code to be less redundant 2017-11-28 21:38:11 +01:00
6a4cc93360 fixes crash if all beatmaps of a set are hidden 2017-11-28 21:26:13 +01:00
66fa108696 Vertically centre the panels in osu!direct 2017-11-28 22:25:20 +09:00
a9cc156d7a Merge remote-tracking branch 'origin/master' into performance-calculator 2017-11-28 21:38:26 +09:00
23b4d2163c Fix spelling and grammar 2017-11-28 21:30:03 +09:00
bd88df2722 Add note about sequential execution of ConvertHitObject 2017-11-28 18:33:41 +09:00
473eba9776 Remove precision limitation on chat height to allow pixel-perfect dragging 2017-11-28 12:09:44 +09:00
3a01bfc1ef Remove unnecessary new prefix 2017-11-27 18:53:19 +09:00