Chris Smith
d8a352aaf7
Add bundle for config providers.
7 years ago
Chris Smith
eba7d85b03
Move config bindings into a bundle.
Issue #750
7 years ago
Chris Smith
39ba4c7707
Move Yaml utils to com.dmdirc.util.io.yaml bundle.
Issue #750
7 years ago
Chris Smith
192550f434
Move event bus code to a bundle.
Issue #750
7 years ago
Chris Smith
65174b6ca6
Add "unstyled" formatter func to strip control codes.
Closes #755
7 years ago
Chris Smith
08f54bad9f
Fix getStyledText() scrubbing underline and stop chars.
Closes #757
7 years ago
Chris Smith
5161aa8861
Fix stripping nickname control codes.
Closes #751
7 years ago
Chris Smith
4c35da850d
Update copyright.
7 years ago
Chris Smith
bc63c527ef
Apply object display properties when formatting events.
If an object in a formatter tag ({{foo.bar.baz}}) is Displayable,
then we will modify the output based on its display properties.
Currently only supports user links and foreground colours.
This also changes the internal format of nickname links to be
`\u16<nick to link to>\u16<text to show>\u16`, allowing the
link and text to differ. This means if you formatted users
by showing their realname, you could still click them to
open a query.
Closes #424
Closes DMDirc/Plugins#507
7 years ago
Chris Smith
82f897f85e
Add an interface for ColourManager.
7 years ago
Chris Smith
e52b88ec90
Move base command etc to API
7 years ago
Chris Smith
318402848e
Add an interface for tab completers, move to API.
7 years ago
Chris Smith
37e196fdc6
Kill TabCompletionMatches.
7 years ago
Chris Smith
be72ff7de0
Deprecate TabCompletionMatches.
Make it extend a list instead of wrapping it, so we can just replace
all usages with... an actual list.
7 years ago
Chris Smith
f5be0bf102
Add interface for UnreadStatusManager.
7 years ago
Chris Smith
6ef93005ae
Move some classes to API
7 years ago
Chris Smith
483306c022
Extract an interface for Styliser.
7 years ago
Chris Smith
91584222e1
Remove deprecated styliser methods.
7 years ago
Chris Smith
8343350cec
Move static styliser methods to new class.
The styliser needs an interface extracting into the API, and
we don't really want huge static methods defined on that.
7 years ago
Chris Smith
90675fa8ff
Minor style fixes
7 years ago
Chris Smith
84e7992e2c
Migrate to new @UserConfig annotation.
7 years ago
Chris Smith
c15764616f
Migrate to new @GlobalConfig annotation.
7 years ago
Chris Smith
1ae3f15867
Move IRC control codes to their own class.
Some other minor tidying to Styliser.
7 years ago
Chris Smith
2890ffc0e2
Move Document, Line et al to API.
7 years ago
Chris Smith
89a09f4760
Extract an interface for Line.
7 years ago
Chris Smith
ae5a5e7251
Extract interfaces for BackBuffer and IRCDocument.
7 years ago
Chris Smith
5cc0af4324
Use EventBus interface.
This is just an IntelliJ refactor, using EventBus in place of
DMDircMBassador whenever possible.
7 years ago
Chris Smith
56d4018cfc
Use PrivateChat for events, not Query.
Issue #76
7 years ago
Chris Smith
61dd0758bd
Add an event for frame opened.
For some reason this was only exposed through the WindowManager
listeners.
8 years ago
Chris Smith
d15111ddd3
Restructure to standard maven/gradle layout.
Stop swimming against the tide and accept what most of the rest of
the world does.
While it adds an annoying depth to the actual source code, it makes
the root directory nicer (no more 'test-res' dirs), means we don't
have to override the gradle config, and makes it nicer to work in
IDEA 2016.1.
8 years ago