Chris Smith
d8a352aaf7
Add bundle for config providers.
7 years ago
Chris Smith
192550f434
Move event bus code to a bundle.
Issue #750
7 years ago
Chris Smith
4c35da850d
Update copyright.
7 years ago
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 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
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
e54b0331f1
Fix weird plugin path construction.
We have a path, it doesn't really make sense to take the filename,
then take the directory, then create a new path using those...
8 years ago
Chris Smith
1e3b0b5e28
Change a couple of event bus error reportings.
9 years ago
Chris Smith
e939448113
Remove some event-based errors.
9 years ago
Chris Smith
36c58019c5
Minor tidying in plugins
9 years ago
Chris Smith
4fdba01fec
Tidy up PluginInfo a bit.
Split giant methods up, simplify logic in a few places.
9 years ago
Chris Smith
4c01d5717f
Remove unused methods.
9 years ago
Chris Smith
21dd523aa6
Remove silly compareTo method.
9 years ago
Chris Smith
55a66e0a7a
Remove hacky plugin dependency injection.
9 years ago
Chris Smith
76e821f22a
Remove temp loading of plugins.
9 years ago
Chris Smith
3214f6f141
Add a separate ServiceManager implementation.
9 years ago
Shane Mc Cormack
9f3fcd1b59
2015!
9 years ago
Greg Holmes
e133f31685
Remove some more Logger usages.
9 years ago
Chris Smith
02209dfef3
Pass PluginManager into PluginInfo.
This saves getting the manager from the meta-data, which is
just downright odd.
9 years ago
Chris Smith
7fda12fc31
Remove deprecated methods.
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
04a20bade3
Make PluginMetaData use a Path for the plugin.
Make URLBuilder accept 'file:/..' URLs, which it used to like
prefixing with 'file://' again...
9 years ago
Chris Smith
b1c59cce2c
Assorted tidying.
Change-Id: I918bb6183a19d0e400e37176e3f213b80a36514a
Reviewed-on: http://gerrit.dmdirc.com/4069
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 years ago
Greg Holmes
442cc605f5
Remove getResourceManager methods
Change-Id: I1d67da9cffb16e3fe720642b5ce7451375ab8469
Reviewed-on: http://gerrit.dmdirc.com/4034
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 years ago
Greg Holmes
cd81f1fb0f
Remove some more uses of ResourceManager.
Change-Id: I84af38e71783565410c5c24236ee8c74c0cf372e
Reviewed-on: http://gerrit.dmdirc.com/4031
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 years ago
Greg Holmes
39d3ca092e
identities done live in the licenses folder.
Change-Id: If83e228ed5d30dea17a9c4ef01e10ef741e44cfd
Reviewed-on: http://gerrit.dmdirc.com/4030
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 years ago
Greg Holmes
06b9044534
Remove some more ResourceManager
Change-Id: I4dd45e1d6c8de9e35071d22cce999f368798e540
Reviewed-on: http://gerrit.dmdirc.com/4025
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 years ago
Greg Holmes
1b7af58027
Start moving away from ResourceManager.
Change-Id: I5738618fc319defaefa6ab7427ce4c0447e90272
Reviewed-on: http://gerrit.dmdirc.com/4023
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 years ago
Chris Smith
6ae693893d
Enable PMD in gradle + apply fixes.
Change-Id: I3665cac8af833da793ca418953d934cc3a333459
Depends-On: I348b37a14097439f8a56b0a671794410e46201ca
Depends-On: Ifc4aa601de14ca2526646f499f60329ed7c5935e
Reviewed-on: http://gerrit.dmdirc.com/3939
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 years ago
Chris Smith
693264fb86
Make all the things final.
Change-Id: I0c128522391d4de8452c603fae89d260c1a34ec2
Reviewed-on: http://gerrit.dmdirc.com/3836
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 years ago
Chris Smith
f6bf1c96ab
Remove pointless inheritDocs.
Change-Id: I0f9d7bf81ceaa80891279ffa9ff905691474edb0
Reviewed-on: http://gerrit.dmdirc.com/3805
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 years ago
Chris Smith
b0d0c95be7
Propagate annotations around a bit.
Change-Id: Ia3e89a5d05bbefb5e0b73e1d2b97bd3e8e4e6392
Reviewed-on: http://gerrit.dmdirc.com/3797
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 years ago
Greg Holmes
746bb6081d
Generify MBassador.
Change-Id: Id3cfa404a56528542120f79c969d992a5c183aba
Reviewed-on: http://gerrit.dmdirc.com/3771
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 years ago
Greg Holmes
b12a0cb412
MBassador.
Change-Id: I2baa7e986ded54930093768238ed24cab8cf4bf7
Depends-On: I2cf35d5859c85c3609002f126241536fda5d588e
Reviewed-on: http://gerrit.dmdirc.com/3769
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 years ago
Chris Smith
8176ecd3c1
Typo fixes.
Change-Id: I402d52e9bd09192fee54584e24f0eff33fd581e4
Depends-On: I2028d8c1ddd14b276f373b9400265b25f0e5e939
Reviewed-on: http://gerrit.dmdirc.com/3697
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 years ago
Greg Holmes
57a5219569
EventBus logging for PluginInfo.
Change-Id: I990f72046f0fe7975192fe30f0e86f5af69bf58d
Reviewed-on: http://gerrit.dmdirc.com/3670
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 years ago
Greg Holmes
0dbe332ec1
This code doesn't do subdirectories, so is completely broken. It just happens to not be used in the client.
Revert "Start using nio2 in resource managers."
This reverts commit a4c4174103 .
Change-Id: Ia0c6f0f1a7c654338573440826b0bb8c89564c17
Reviewed-on: http://gerrit.dmdirc.com/3513
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
a4c4174103
Start using nio2 in resource managers.
Change-Id: I2f9f58595e0867db798c1930d5a90975bab296f8
Depends-On: Ibac8f73683eec322d28cd10ced08c8777812ac43
Reviewed-on: http://gerrit.dmdirc.com/3509
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
6e444ebec1
Remove plugin (un)loaded actions.
Depends-On: I413a3f6f72999262bf4426de082cc8c9946a6f90
Change-Id: I84f07c00e0589ff25ae1b4a01f5671488b847925
Reviewed-on: http://gerrit.dmdirc.com/3450
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
741c877400
These should be app errors
Change-Id: I1440821671aec7e50fa30aabd28b2ddd121e86eb
Reviewed-on: http://gerrit.dmdirc.com/3235
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
36986ce637
Plugin loading errors are app errors.
Change-Id: I71f3a6fb702a7e2935c28db37be1e03623c469f0
Reviewed-on: http://gerrit.dmdirc.com/3227
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
dd80de7e0b
Plugin initialisation errors are app errors.
This happens if everything goes OK, but either the constructor
can't be injected or the constructor lobs an exception.
Both of these are some kind of app error, rather than user error.
Change-Id: I90ba613b9ecbbad0bf64df2b325667a0fa0076d1
Fixes-Issue: CLIENT-444
Reviewed-on: http://gerrit.dmdirc.com/3180
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
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
Greg Holmes
8405b550cc
Remove lombok
Change-Id: I86750c6a221cd50db5c0dda56254d2304846a9e6
Reviewed-on: http://gerrit.dmdirc.com/2989
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
67e955b2ae
Tidying, inject a few more things.
Change-Id: I9890b67a410c382ac29bd8c264fb7deed389710e
Reviewed-on: http://gerrit.dmdirc.com/2921
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
969ef95d12
Add method for getting domain from PluginInfo.
Plugins shouldn't be required to have getters and setters for
something that's constant.
Change-Id: I99ebc7d10f558008a7889252cc3c96f39747303e
Reviewed-on: http://gerrit.dmdirc.com/2860
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
83a98c380b
Call the new plugin load method.
Change-Id: I2b09c5bc25e783fa249e480c86b92edbe91f135b
Reviewed-on: http://gerrit.dmdirc.com/2851
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
99e9fd2714
Only parse one parent for plugins.
We can't support multiple parents with the new DI framework,
and looking at the code it seems they never fully worked anyway.
Change-Id: I053a57b82f77e9f570efdc463f86dd6653355a3e
Depends-On: If8938f708244ed20d8d9e1c481ecb76bd2c0fac5
Reviewed-on: http://gerrit.dmdirc.com/2849
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
dc1a50d3a9
Pass ObjectGraphs around a bit.
Change-Id: I3ebba7293300744aa14640b8922f9673d52e7c35
Reviewed-on: http://gerrit.dmdirc.com/2847
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago