Chris Smith
9ca687017d
Handle random class renaming.
пре 7 година
Chris Smith
8bbc292101
Update copyright.
пре 7 година
Chris Smith
51ebb842be
Migrate to new @UserConfig annotation.
пре 7 година
Chris Smith
332d9b86b2
Migrate to new @GlobalConfig annotation.
пре 7 година
Chris Smith
3e072877be
Use EventBus interface.
This is just an IntelliJ refactor, using EventBus in place of
DMDircMBassador whenever possible.
пре 7 година
Chris Smith
a55aa85f2e
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 година
Greg Holmes
5dfa4b05df
Add a qualifier to PluginInfo.
пре 9 година
Greg Holmes
39404c3806
Switch more plugins to use events for showconfig.
пре 9 година
Chris Smith
935e77181c
Move the IconManager to ui_swing.
пре 9 година
Chris Smith
70608dd1dc
Use ServiceManager not PluginManager.
пре 9 година
Shane Mc Cormack
ef35f746ad
2015!
пре 9 година
Chris Smith
98b90cb9c7
Remove ActionManager from a bunch of plugins.
I think all that's left is the actions UI itself, and the perform
stuff.
пре 9 година
Greg Holmes
b9b6367e1c
Fix up ctor.
пре 9 година
Greg Holmes
0e51c50513
Way, way too much tidying in one go.
пре 9 година
Greg Holmes
57f4af88a6
Split ActiveFrameManager out of MainFrame
пре 9 година
Greg Holmes
1d4851de6a
Switch to SwingEventBus
пре 9 година
Greg Holmes
d5698a5589
Remove some statusbar uses
пре 9 година
Greg Holmes
dd09f8f472
Remove some uses of Statusbar Manager
пре 9 година
Greg Holmes
a9e5e8e565
Fix plugins for client change DMDirc/DMDirc#96
пре 9 година
Greg Holmes
43cf4c58b7
Fix the status bar.
This needs to be fixed properly by removed the statusbar
manager and all uses.
пре 9 година
Greg Holmes
b503f89771
Switch to events for selection.
пре 9 година
Chris Smith
06271e5110
Fix compilation error.
I think I now live in dependency hell. It is not a nice place.
Change-Id: Iee0d759f6307e95f397f58064c0b3d4e2694e191
Reviewed-on: http://gerrit.dmdirc.com/4009
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 9 година
Chris Smith
8cc02bbfff
Use ConnectionManager.
Change-Id: Ic0e6e5f95adc30e773945c95e73d321d589503d2
Depends-On: I8888522d58ff4d332c4a477702442c29a82d12ff
Reviewed-on: http://gerrit.dmdirc.com/3871
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 9 година
Chris Smith
93d405608c
Gradle-ify the plugins.
* 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 >
пре 9 година
Greg Holmes
f21fb8cd56
Use events for statusbar messages.
Change-Id: Ic04f19f7d5781ee63b23cf7048f98099f8f6dee6
Reviewed-on: http://gerrit.dmdirc.com/3768
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 9 година
Greg Holmes
7ecd8923b5
Generify MBassador.
Change-Id: I4e9a1bff765c0bd62caf284a028932cd8461632c
Reviewed-on: http://gerrit.dmdirc.com/3772
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 9 година
Greg Holmes
87c12df5c0
MBassador.
Change-Id: I2cf35d5859c85c3609002f126241536fda5d588e
Depends-On: I2baa7e986ded54930093768238ed24cab8cf4bf7
Reviewed-on: http://gerrit.dmdirc.com/3770
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 9 година
Greg Holmes
e0818b5f05
Remove unused ctor param in MainFrame.
Change-Id: I0bafdeb68a0f8eab9f9d8fbc7ee059494042ee96
Reviewed-on: http://gerrit.dmdirc.com/3760
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 9 година
Greg Holmes
9866acf452
Add swing event bus and use it for swing window events.
Change-Id: I7eb05936b40ce38d0288fa7d05ea90b48d9cc469
Reviewed-on: http://gerrit.dmdirc.com/3747
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 9 година
Greg Holmes
56b3438434
Add new feedback dialog.
Change-Id: I3c7e88f6ed4e9afd6f4ed5e6040471b1329f6576
Depends-On: Id16ce13eac3bf4f359bd0d743cdd6041fc47bcaa
Depends-On: Ifc8ca757700db2dd19db89715e95f6c1df15e999
Reviewed-on: http://gerrit.dmdirc.com/3615
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 10 година
Chris Smith
1da89bbb51
Add a @MainWindow qualifier in the swing plugin.
This allows the MainFrame to be injected as a plain Window or Frame.
Change-Id: I1023153393dd68744b064a1bef0b39e309c359d3
Reviewed-on: http://gerrit.dmdirc.com/3457
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Greg Holmes
e257d4a1a1
Eventbus the prefs events.
Depends-On: Ia3a86ce30a3ad96c2c67597dba341b2b10162c8e
Change-Id: I27e1059cc3228013d30bab85549434dea28f236c
Reviewed-on: http://gerrit.dmdirc.com/3418
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 10 година
Greg Holmes
f3137b57d8
DI the clipboard (or a fake if null.
Change-Id: I80f964a049442f6844be240af8394c4018afc282
Reviewed-on: http://gerrit.dmdirc.com/3389
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 10 година
Greg Holmes
a801f8a3eb
Use active window frame manager.
Change-Id: I9b37249813c03941cdd410a5b225f3d710a72244
Reviewed-on: http://gerrit.dmdirc.com/3323
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 10 година
Greg Holmes
da5a0b3037
Tidy font + plaf handling
Change-Id: I892219602e96f57e5cba6b5da8f166442354d598
Reviewed-on: http://gerrit.dmdirc.com/3307
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 10 година
Greg Holmes
9b17eb0d30
Remove UI controller methods.
Change-Id: Ia1f3b158e993542b4a8aee58d343c0cf0c9e181f
Depends-On: Ie936046e8eb98a52a9dff498b4f471c6e19e5697
Reviewed-on: http://gerrit.dmdirc.com/3298
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 10 година
Chris Smith
31dc4b5c37
Use services for frame managers.
To add a frame manager, a plugin must export a FrameManagerProvider instance.
This will drop users back to using a treeview as their previous config setting
will be wrong (it needs to point to the Provider class now), and I don't think
it's worth adding migration code given we know of 0 users of the buttonbar.
This also enables us to dependency inject the frame managers.
Change-Id: Ic66997625587e1adc0ee6ed1c7e38fba31ec47e7
Reviewed-on: http://gerrit.dmdirc.com/3283
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Chris Smith
a6bb233da4
Fix some deprecations
Change-Id: If06484cea112fafe8e75423a1381f484f6d902e5
Reviewed-on: http://gerrit.dmdirc.com/3279
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Chris Smith
b7dbb5dd6c
Bulk remove inheritDoc.
Change-Id: I34cf63e7b9307b35de53b48165e4ba71a50213ab
Reviewed-on: http://gerrit.dmdirc.com/3274
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Chris Smith
f1fc5cd0b4
Create the status bar on the EDT.
Oopsy.
Change-Id: If51a37c429a479db795adb48636d76eb32391616
Reviewed-on: http://gerrit.dmdirc.com/3266
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Chris Smith
e9fcd57058
Use some more events.
Remove some deprecated methods in ChannelFrame.
Change-Id: Id5e2318d2432c81cbf9d2f64aa062c888e12bcae
Reviewed-on: http://gerrit.dmdirc.com/3249
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 10 година
Greg Holmes
b68d6331eb
Inject Apple into things
Change-Id: Ie1a76a811cfbdc03422c45c81c466cc46cfa19ce
Reviewed-on: http://gerrit.dmdirc.com/3243
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 10 година
Chris Smith
4ca4bd5d1d
Use @PluginDomain in a few places.
Change-Id: Iac7e1032d07efacf95d8179b09fd352ba0d6c558
Reviewed-on: http://gerrit.dmdirc.com/3186
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 10 година
Chris Smith
74aa499be4
Autoformat all the plugins.
Change-Id: I35bf8ce93d7be8fb714b1a58adc9dd66672ec717
Reviewed-on: http://gerrit.dmdirc.com/3124
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 10 година
Chris Smith
5b5d05a200
More minor tidying.
Change-Id: Ic2f74530c7d1bf8817dcaaa742c9dcba5c1bee40
Reviewed-on: http://gerrit.dmdirc.com/3101
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Chris Smith
4fcd0fdf92
Inject some prefs panel dependencies.
Change-Id: I683cd68cddf42df3c2dacf2a959fc606116ddf33
Reviewed-on: http://gerrit.dmdirc.com/3055
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Chris Smith
272fb2bebd
Remove some more usages of SwingController.
Change-Id: I8608be6d0352227d2eca226027f3f60c0f321ab7
Reviewed-on: http://gerrit.dmdirc.com/3054
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Chris Smith
edc23493c8
Remove DialogManager.
Replace remaining legitimate usages with [Keyed]DialogProviders.
Remove the DialogManager itself, all the getters for it, all the places keeping
references around to it, all the dialogs taking it in the constructor, and all
the partridges in pear trees that had one hidden away.
Change-Id: I0a1234960a4e08c0a7c6afc08a5432102b17c125
Reviewed-on: http://gerrit.dmdirc.com/3048
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Chris Smith
e519f4c25a
Use new provider for NSD.
Change-Id: I92010f61f3289579603a239ab4213a304799dedb
Reviewed-on: http://gerrit.dmdirc.com/3045
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 10 година
Chris Smith
c33feee949
Introduce a DialogProvider.
This fixes the issues with injection of dialogs and the behaviour of @Singleton.
Move the swing injection related classes into a new package (a new DialogModule
will follow shortly to make use of the DialogProvider).
Also introduce a SwingPreconditions class for asserting method calls are made
on/off the EDT.
Change-Id: I92010f61f2289579603a239ab46b0a304799dedc
Reviewed-on: http://gerrit.dmdirc.com/3044
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година