Chris Smith
ab84f1d094
Remove legacy default colour behaviour.
We now specify the default colour using display properties, not
by ascribing special value to the first colour code in a message.
Closes #741
7 лет назад
Chris Smith
94e90ae542
Remove config dependency on ClientInfo.
7 лет назад
Chris Smith
e2a7803809
Move Migrator and LifecycleController to bundles.
7 лет назад
Chris Smith
d8a352aaf7
Add bundle for config providers.
7 лет назад
Chris Smith
76735c2d01
Add com.dmdirc.util.system bundle.
7 лет назад
Chris Smith
eba7d85b03
Move config bindings into a bundle.
Issue #750
7 лет назад
Chris Smith
39ba4c7707
Move Yaml utils to com.dmdirc.util.io.yaml bundle.
Issue #750
7 лет назад
Chris Smith
192550f434
Move event bus code to a bundle.
Issue #750
7 лет назад
Chris Smith
65174b6ca6
Add "unstyled" formatter func to strip control codes.
Closes #755
7 лет назад
Chris Smith
3f657ce1dd
Add OSGI dependency, activator.
This won't affect normal use of the client, other than it having
a few extra unused classes and some additional lines in the
manifest.
Issue #750
7 лет назад
Chris Smith
08f54bad9f
Fix getStyledText() scrubbing underline and stop chars.
Closes #757
7 лет назад
Chris Smith
9092402a3f
showrawwindow isn't a setting.
Issue #753
7 лет назад
Chris Smith
5161aa8861
Fix stripping nickname control codes.
Closes #751
7 лет назад
Chris Smith
4c35da850d
Update copyright.
7 лет назад
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 лет назад
Chris Smith
407d8b00fa
Add a display property for linking to users.
Issue #424
7 лет назад
Chris Smith
152fbfcb2a
Fix config binding for unread status manager.
I broke it in my interface-extraction shennanigans.
Closes DMDirc/Plugins#509
7 лет назад
Chris Smith
82f897f85e
Add an interface for ColourManager.
7 лет назад
Chris Smith
e52b88ec90
Move base command etc to API
7 лет назад
Chris Smith
691ce6f2e4
Move most events to API
7 лет назад
Chris Smith
ab4e7f023a
Bulk API move.
7 лет назад
Chris Smith
318402848e
Add an interface for tab completers, move to API.
7 лет назад
Chris Smith
37e196fdc6
Kill TabCompletionMatches.
7 лет назад
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 лет назад
Chris Smith
c539721d58
Extract interface for CommandParser
7 лет назад
Chris Smith
f5be0bf102
Add interface for UnreadStatusManager.
7 лет назад
Chris Smith
f4784c4130
Make Command an interface
7 лет назад
Chris Smith
7127abfa36
Make commands extend BaseCommand.
Flip BaseCommand and Command around so everything still works.
7 лет назад
Chris Smith
a652e88581
Rename Command to BaseCommand.
Command will eventually become an interface when all usages have been replaced
7 лет назад
Chris Smith
5a3c8b1543
Fix Override annotation
7 лет назад
Chris Smith
6ef93005ae
Move some classes to API
7 лет назад
Chris Smith
483306c022
Extract an interface for Styliser.
7 лет назад
Chris Smith
91584222e1
Remove deprecated styliser methods.
7 лет назад
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 лет назад
Chris Smith
90675fa8ff
Minor style fixes
7 лет назад
Chris Smith
5b9343873b
Use PrivateChat in events, not Query.
7 лет назад
Chris Smith
ba7cba7719
Migrate to new @AddonConfig annotation.
7 лет назад
Chris Smith
84e7992e2c
Migrate to new @UserConfig annotation.
7 лет назад
Chris Smith
c15764616f
Migrate to new @GlobalConfig annotation.
7 лет назад
Chris Smith
57f6323e62
Add dummy version.config.
This allows running DMDirc from IDEA, which seems useful.
Running a normal build just replaces the file in the build output.
7 лет назад
Chris Smith
3125be0e12
Add config annotations to API.
At present anything requesting the global config has to depend on
ClientModule, which won't necessarily be exposed through the API.
Move @GlobalConfig , @AddonConfig and @UserConfig to top level
classes in API, and provide both versions of them for now.
7 лет назад
Chris Smith
1ae3f15867
Move IRC control codes to their own class.
Some other minor tidying to Styliser.
7 лет назад
Chris Smith
2890ffc0e2
Move Document, Line et al to API.
7 лет назад
Chris Smith
89a09f4760
Extract an interface for Line.
7 лет назад
Chris Smith
ae5a5e7251
Extract interfaces for BackBuffer and IRCDocument.
7 лет назад
Chris Smith
23569dc14e
Move some more classes to API.
7 лет назад
Chris Smith
283c1ba958
Add an interface for ConfigBinder.
Rename the private implementation to ConfigBinderImpl, and
make ConfigBinder itself an interface.
7 лет назад
Chris Smith
ad7868c5c2
ConfigProviderListeners aren't public.
7 лет назад
Chris Smith
12b5c1ddd0
Remove ConfigTarget from interfaces.
This shouldn't be exposed. Internal classes switch to using
the full class rather than the interface, so they can carry
on accessing the removed methods.
7 лет назад
Chris Smith
5cc0af4324
Use EventBus interface.
This is just an IntelliJ refactor, using EventBus in place of
DMDircMBassador whenever possible.
7 лет назад