Chris Smith
283c1ba958
Add an interface for ConfigBinder.
Rename the private implementation to ConfigBinderImpl, and
make ConfigBinder itself an interface.
7 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
Chris Smith
b6cc7a098b
Extract config value retrieving from binder.
The logic to get a correctly typed setting given a class is
pretty general purpose, and will be useful elsewhere. Pull
it out of ConfigBinder and add some tests for it.
8 years ago
Chris Smith
e939448113
Remove some event-based errors.
9 years ago
Chris Smith
459ef2b60a
Use Multimap instead of MapList.
9 years ago
Chris Smith
66e21df172
Fix HighlightManager not respecting optionals.
9 years ago
Shane Mc Cormack
9f3fcd1b59
2015!
9 years ago
Greg Holmes
5bad532ff1
Add List support to configbinder.
9 years ago
Greg Holmes
b8d964a7de
Add invocation ability to ConfigBinder
9 years ago
Greg Holmes
c0bdf990ea
App error not user error.
9 years ago
Greg Holmes
f453770f45
Remove some more Logger usages.
9 years ago
Chris Smith
d9bac0fe77
Make ConfigBinder ctors package private.
These should really only be accessed through a ConfigManager.
Remove some pointless setup from WritableFrameContainerTest.
9 years ago
Chris Smith
96323f56ea
Let ConfigBinders take a default domain.
This allows a default domain to be specified on a config binder,
which will allow plugins to use @ConfigBinding with their dynamic
domains.
9 years ago
Chris Smith
d11784d24a
Use Stream API in place of foreach loops.
This is IDEA's automatic inspection, so stuff may be a bit wonky.
9 years ago
Chris Smith
01fa9b6453
Bulk remove inheritDoc.
Change-Id: I06a0f4ced5eb0c8281e52a38b37a27779c5d571b
Reviewed-on: http://gerrit.dmdirc.com/3273
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
f538c53f86
Fully configure the NB formatter and let it loose.
Change-Id: I7e8052839daa79fa113b89fd0b8c1c892a605b73
Reviewed-on: http://gerrit.dmdirc.com/3122
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
bcb09f0f10
Remove colour functions from the config provider.
Change-Id: Ifb7d3f862b8acfa9222ab896c932bdcfbbf08597
Reviewed-on: http://gerrit.dmdirc.com/3078
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
2a277dafbf
Remove lombok
Change-Id: I90a6dd3137244f5edc63ce846b07b4720d098194
Reviewed-on: http://gerrit.dmdirc.com/2986
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Shane Mc Cormack
12b39dc0f8
Update Copyright to 2014
Change-Id: Id0904867640e49e12fca5c1c7c5b9e72c78e3a1b
Reviewed-on: http://gerrit.dmdirc.com/2976
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
14da0a2938
Remove ConfigManager references.
Change-Id: I065a771ff81e565b37689f9d6ea82d4057cec2f1
Reviewed-on: http://gerrit.dmdirc.com/2779
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
b354ebdb70
Move old config interfaces into config folder.
Change-Id: I8d791451ead4b37f9181a9741e127cbc8b514d46
Depends-On: I94416680dfa9f0ee4896f5a6518889c6eb891909
Reviewed-on: http://gerrit.dmdirc.com/2754
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Shane Mc Cormack
b87e3ba335
Update copyright for 2013
Change-Id: Idf38f5027a92166daf99039de75b759d47431de1
Reviewed-on: http://gerrit.dmdirc.com/2607
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 years ago
Chris Smith
cc4f1e64e6
Pass fallbacks
Change-Id: Idabb6f5acc66dbdb09c8dfb4ab03a05469fd7359
Reviewed-on: http://gerrit.dmdirc.com/2315
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
Chris Smith
6ed85cc45a
Add support for ints to config binder
Change-Id: Id453f2448a149b5015a44fd6db4c59206743be16
Reviewed-on: http://gerrit.dmdirc.com/2314
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
Shane Mc Cormack
d26602c9dc
Update Copyright for 2012
Change-Id: I0d40c3ac86b9e06fad3f29bc36612b4162e54d1c
Reviewed-on: http://gerrit.dmdirc.com/2287
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
Chris Smith
d4507e0b3a
Deprecation fixes
Sprinkle some annotations over the CommandManager
More fiddling with NB7.1 settings
Change-Id: I2a0b751798249d4cc3e527f6d2e5525d1936f0e1
Reviewed-on: http://gerrit.dmdirc.com/2278
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
Chris Smith
0cdb831994
Add ConfigBinder for magical configuration goodness
Change-Id: Iba7923adacf3f342c84a3d5fdaa75e103c273f5a
Reviewed-on: http://gerrit.dmdirc.com/2258
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 years ago