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.
This is causing weird shit™ to happen when plugins create new
AutoCommands - without running inside a doPrivileged block,
the manager hits a security exception trying to subscribe
it to the eventbus (which uses reflection).
Need to implement this properly and then re-enable.
Move stuff from ClientModule into a CorePluginHelper, and
move CorePluginExtractor into the plugins package.
Change-Id: I0f0211edba8e8c19857d0a783f23b90aee89e84c
Reviewed-on: http://gerrit.dmdirc.com/3748
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
For now this just allows everything (including replacing the
SecurityManager/Policy...) but we can start restricting things
later.
Change-Id: I3627bf06bd35fcebfb42bdc563617b830a999aaa
Reviewed-on: http://gerrit.dmdirc.com/3567
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
This is the first phase of migrating to an event bus based system.
See the migration doc here: http://s.dmdirc.com/actions-eventbus
The CLIENT_OPENED event is now triggered exclusively through the
event bus (and still works).
Issue: CLIENT-448
Change-Id: I3fb41a51a7c767558c72921241c9aa12fcae65d4
Reviewed-on: http://gerrit.dmdirc.com/3233
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Remove the remaining WindowManager singleton refs.
Add a GlobalWindowManager to keep state and references, rather than
use static methods on GlobalWindow.
Minor tidying.
Change-Id: I65b84082f0a07cdc9e4c05263f6c5c77282e9b04
Reviewed-on: http://gerrit.dmdirc.com/2818
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Instead of manually tracking dependencies and creating them in
CommandLoader, just have a module to provide a set of commands
that we can load.
This makes it stupidly easy to add dependencies in commands.
Also rename the /set command from Set because that's just
confusing.
Change-Id: I7967609e356de3c17d0942ebc913be438debe49c
Reviewed-on: http://gerrit.dmdirc.com/2722
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Show ClientComponent messages in the status bar for now, instead
of showing a dialog on a random UI.
Change-Id: Ic2c0c5147f62d87633da4ec4b91149fe67d5b1fd
Reviewed-on: http://gerrit.dmdirc.com/2720
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager