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.
In preparation for child eventbusses being removed, anything
trying to subscribe to specific windows now needs an explicit
check.
In the process, fixed two issues:
- channel who plugin was sending way too many requests - each
connection was querying every channel in the client. i.e.,
with 5 servers open there'd be 5 WHOs per channel...
- ServerFrame stops itself listening when *any* frame is closed.
So closing a channel window then reconnecting wouldn't offer
an SSL dialog, because it's already unbound the listener.
Issue DMDirc/DMDirc#662
* Move all plugins to their own top-level directories.
* Move resources out of source trees
* Add Gradle build scripts.
* Remove ivy and ant build scripts.
Change-Id: Ib69a48ef26800c174ccf51c84ff9d1f73529460f
Depends-On: I303b6b69518468f98d48d835b8f40135d9e4bcbf
Reviewed-on: http://gerrit.dmdirc.com/3850
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Also close CSD when channel closes as with SSD to prevent NPEs.
Change-Id: Iedf19dcecea134db08f33ee14226b8522ecf1843
Reviewed-on: http://gerrit.dmdirc.com/3292
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
Bundle them up in a static class to avoid having to pass a million deps
around in each and every subclass.
Change-Id: I581e39f9da6f7a4b79ab69d043de4c81111e9b52
Reviewed-on: http://gerrit.dmdirc.com/3064
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
Remove the legacy code, which was used in far fewer places than I thought.
Change-Id: I72cfa09e92110163e16a8a43f18a4127560a65c1
Reviewed-on: http://gerrit.dmdirc.com/3063
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Remove all IdentityManager references from plugins
Everything now references an IdentityController or IdentityFactory,
and obtains them by injection (or local plugin state) rather than
using a singleton method.
Change-Id: I641e1e0a84f96d928affa310a4e43a42f93d13d4
Reviewed-on: http://gerrit.dmdirc.com/2751
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager