Commit Graph

13790 Commits

Author SHA1 Message Date
43aed7fea7 Bump Humanizer from 2.6.2 to 2.7.2
Bumps [Humanizer](https://github.com/Humanizr/Humanizer) from 2.6.2 to 2.7.2.
- [Release notes](https://github.com/Humanizr/Humanizer/releases)
- [Changelog](https://github.com/Humanizr/Humanizer/blob/master/release_notes.md)
- [Commits](https://github.com/Humanizr/Humanizer/compare/v2.6.2...v2.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-06 02:58:58 +00:00
d6cdde552d Add comment explaining dispose logic 2019-09-06 01:14:37 +09:00
5b094f8e1d Actually register the RulesetConfigCache as a component 2019-09-06 01:13:58 +09:00
dafe9da851 Dispose config managers ahead of time to avoid database errors 2019-09-06 00:22:35 +09:00
9d0151f19f Merge pull request #5969 from peppy/skin-configuration-refactor
Refactor skin configuration lookups to be more flexible

Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
2019-09-05 17:28:37 +09:00
986ac08397 Fix pause menu keyboard navigation being affected by initial cu… (#6002)
Fix pause menu keyboard navigation being affected by initial cursor hover
2019-09-05 17:27:48 +09:00
90985b6af6 Add missing license header 2019-09-05 17:01:14 +09:00
f729282c73 Merge branch 'master' into skin-configuration-refactor 2019-09-05 16:56:05 +09:00
3c1a95d486 Don't redraw certain buffered containers on scale change (#5987)
Don't redraw certain buffered containers on scale change
2019-09-05 16:54:16 +09:00
696802e674 Don't use in music player for now 2019-09-05 16:52:53 +09:00
bda21998c4 Add helper method to make direct casts be used 2019-09-05 16:48:56 +09:00
174f8ddb31 Remove incorrect usages 2019-09-05 16:37:47 +09:00
55c6feab64 Update framework 2019-09-05 16:33:14 +09:00
a1d7291ffa Fix pause menu keyboard navigation being affected by initial cursor hover 2019-09-05 16:31:10 +09:00
99579255ad Force glowing sprite text to never redraw 2019-09-05 14:41:02 +09:00
c0bcbfd892 Merge branch 'master'
Conflicts:
	osu.Game.Tests/Visual/Gameplay/TestSceneSkinnableDrawable.cs
2019-09-05 14:40:30 +09:00
2e6af84ca8 Don't redraw leaderboard scores 2019-09-05 14:39:02 +09:00
4df6bd5477 Merge branch 'master' into use-dummy-api-for-overall-tests 2019-09-05 14:27:01 +09:00
2e6efebb17 Fix storyboard samples not stopping on exit (#5972)
Fix storyboard samples not stopping on exit
2019-09-05 14:18:20 +09:00
2c871c52f1 Add automatic resource mapping for rulesets to their own dll (#5988)
Add automatic resource mapping for rulesets to their own dll
2019-09-05 14:18:12 +09:00
c8f8141e9f Fix tests crashing if a ruleset doesn't provide a NoFail mod (#5989)
Fix tests crashing if a ruleset doesn't provide a NoFail mod
2019-09-05 14:18:03 +09:00
29520dc120 Merge pull request #5990 from peppy/fix-unavailable-rulesets
Fix unavailable rulesets crashing at song select
2019-09-05 14:17:55 +09:00
42829b4fe7 Fix databased config save performance (#5994)
Fix databased config save performance

Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
2019-09-05 14:17:44 +09:00
070a005294 Add braces to lock()
Personal preference, I want to be sure that everything is wrapped correctly.
2019-09-05 13:37:11 +09:00
d40129aabe Remove unnecessary count check 2019-09-05 13:36:37 +09:00
afac512a1b Fix databased config save performance
Adds proper save debounce logic. Closes #5991.
2019-09-05 02:12:17 +09:00
50de4d1a3a Remove PrivateAssets changes for now 2019-09-05 01:11:53 +09:00
8e8f33ec7b Remove null hinting for now 2019-09-04 21:35:59 +09:00
6197c7fd31 Add automatic resource mapping for rulesets to their own dll 2019-09-04 20:29:28 +09:00
c59a2bf9bb Fix tests crashing if a ruleset doesn't provide a NoFail mod 2019-09-04 20:29:10 +09:00
b80a8296cd Fix unavailable rulesets crashing at song select 2019-09-04 20:28:52 +09:00
a87a1e6031 Don't redraw certain buffered containers on scale change 2019-09-04 19:38:12 +09:00
8ea82123e4 Fix nullref on test disposal 2019-09-04 15:59:09 +09:00
69b9d70a35 Add minimal configuration to support nuget package creation 2019-09-04 15:56:18 +09:00
1aead3cda8 Merge branch 'master' into brace-escaping-in-links 2019-09-04 13:57:39 +09:00
2983918f71 Merge remote-tracking branch 'upstream/master' into skin-configuration-refactor 2019-09-04 13:40:41 +09:00
f655cd4516 Fix parsing of null configuration elements 2019-09-04 13:30:46 +09:00
04c2c33c64 Allow LegacySkin to be constructed with all nulls 2019-09-04 13:29:55 +09:00
9edfe6800f Bump ppy.osu.Game.Resources from 2019.903.1 to 2019.904.0
Bumps [ppy.osu.Game.Resources](https://github.com/ppy/osu-resources) from 2019.903.1 to 2019.904.0.
- [Release notes](https://github.com/ppy/osu-resources/releases)
- [Commits](https://github.com/ppy/osu-resources/compare/2019.903.1...2019.904.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-04 04:20:46 +00:00
c88a5306aa Merge branch 'master' into handle-click-event 2019-09-04 12:38:48 +09:00
4c563232d6 HoverClickSounds should handle click event instead of MouseUp 2019-09-04 11:37:19 +09:00
1802d2efaf Merge remote-tracking branch 'upstream/master' into fix-gameplay-menu-button-hover-ani 2019-09-04 10:35:14 +09:00
08350a1aca Add parenthesis handling to old link format
Allow users to put both balanced round parentheses, as well as
unbalanced escaped ones, in old style link text. The implementation
is the same as for Markdown and new style links, except for swapping
all instances of

    \[\]

to

    \(\)

for obvious reasons (different type of parenthesis requiring escaping).
Tests also included.
2019-09-04 00:21:27 +02:00
f04add6d9e Add bracket handling to Markdown link format
Allow users to put both balanced brackets, as well as unbalanced
escaped ones, in Markdown link text. The implementation is the exact
same as in the case of new format links.

For completion's sake, tests also included.
2019-09-04 00:07:00 +02:00
24d4f0372c Refactor link parsing regexes to use named groups
For the sake of readability, consistency and to make further changes
easier, introduce named groups (?<text>) and (?<url>) to all link
parsing regexes which have parts containing the desired link text
and (optionally) URL.

The introduction of the named groups additionally simplifies
handleMatches() and makes all calls to it consistent.
2019-09-04 00:06:52 +02:00
a8f16503e2 Add backslash escaping to new link format
For users to be able to add square brackets inside of links using
the new format, the regular expression used for parsing those links
contained a balancing group, which can be used for matching pairs
of tokens (in this case, opening and closing brackets, in that order).
However, this means that users could not post links with unmatched
brackets inside of them (ie. ones that contain single brackets, or
a closing bracket and then an opening one). Allow for escaping opening
and closing brackets using the backslash character.

The change substitutes this old fragment of the regex in the display
text group:

    [^\[\]]*        // any character other than closing/opening bracket

for this one:

    (((?<=\\)[\[\]])|[^\[\]])*

The second pattern in the alternative remains the same; the first one
performs the escaping, as follows:

    (
        (?<=\\)     // positive lookbehind expression:
                    // this match will succeed, if the next expression
                    // is preceded by a single backslash
        [\[\]]      // either an opening or closing brace
    )

Since the entire display group is matched, unfortunately the lookbehind
expression does not actually strip the backslashes, so they are
manually stripped in handleMatches.

As demonstrated in the unit tests attached, this also allows balanced
brackets to be mixed with escaped ones.
2019-09-03 23:18:39 +02:00
4b2cb8854e Fix storyboard samples not stopping on exit 2019-09-03 19:28:10 +09:00
e98059267d Improve xmldoc 2019-09-03 19:21:24 +09:00
299d528654 Simplify implementation 2019-09-03 19:20:23 +09:00
e88965b433 Merge remote-tracking branch 'upstream/master' into consistent-mod-button-sounds 2019-09-03 19:18:59 +09:00