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
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 години
Shane Mc Cormack
c7990ef968
Update Copyright to 2014
Change-Id: I3e4fd86a0d19f5167506df5986f7ec256b224820
Reviewed-on: http://gerrit.dmdirc.com/2979
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 10 години
Greg Holmes
48ccf694cb
Begin work to declare accurate dependencies in dialogs
Change-Id: I04ff910a432f5657db818ef2d9082252cfe1c9bf
Reviewed-on: http://gerrit.dmdirc.com/2939
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 10 години
Chris Smith
0e6034b960
Daggerify the active window plugin.
Change-Id: I94cf8f9c82b031da084ecf76b5b7bd6cd4b5c293
Reviewed-on: http://gerrit.dmdirc.com/2859
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 10 години
Chris Smith
44636f9345
Remove static call to MessageSinkManager.
Change-Id: I12ac463bda27bb754e7705f3d145fe3b1eb0c872
Reviewed-on: http://gerrit.dmdirc.com/2820
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 10 години
Chris Smith
c6ed9e1029
Pass in CommandControllers to some plugin commands
I got bored about half way through, so more to go at some point.
Change-Id: Id1d18950a69090439ee66ae9e5c8ae874bd30fc4
Reviewed-on: http://gerrit.dmdirc.com/2807
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 10 години
Greg Holmes
2ca4779a17
Add base command plugins
Change-Id: I8bb1e5bc9e2ca965ff3687d365a167c9b5ccc746
Depends-On: I1d49bc2e572e44466193b4851646edb01d303998
Reviewed-on: http://gerrit.dmdirc.com/2613
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 11 години
Shane Mc Cormack
d30f7690e4
Update copyright for 2013
Change-Id: I1eea04000294c228a8f66464c89f92c1a7cd5321
Reviewed-on: http://gerrit.dmdirc.com/2605
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 11 години
Shane Mc Cormack
a0a4b2cb23
Revert "Stop using deprecated Command constructor"
This reverts commit 561acbc78c
Change-Id: I5c5ee3725f681451c74c05f8bd007d5eb7178049
Reviewed-on: http://gerrit.dmdirc.com/2594
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 11 години
Greg Holmes
561acbc78c
Stop using deprecated Command constructor
Change-Id: I65539646852b5e1542f23a069a1fe2d68cbf4fa6
Reviewed-on: http://gerrit.dmdirc.com/2591
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 11 години
Shane Mc Cormack
f40fbcff29
Update copyright for 2012
Change-Id: I559bbd9a7e6abdfc73068d4934cfb0fc9f7ce84c
Reviewed-on: http://gerrit.dmdirc.com/2289
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 12 години
Greg Holmes
4d80c32e27
Mass singleton removal spree. Minor tidying in edited classes.
This tidying introduces a DialogManager class which ensures only a
single instance of a dialog can exist at any one time. This will be
expanded in the future to support management of all dialogs.
Change-Id: I506d7dde623628e38fddcd5f81221d9f2cc832ca
Reviewed-on: http://gerrit.dmdirc.com/2246
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 12 години
Chris Smith
0b28fe1ebe
Active window plugin now provides active message sink
Fixes-Issue: CLIENT-296
Change-Id: I1c44e0bb7ba712ea9825627b4086db1b34a6e84e
Reviewed-on: http://gerrit.dmdirc.com/2140
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 13 години
Greg Holmes
85a02e5f38
Change header?
Change-Id: Id75a4947fe4c2a08460b4ee9e6e481c568d0c6d3
Reviewed-on: http://gerrit.dmdirc.com/2074
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 13 години
Chris Smith
d0409a198b
Use some dependency injection
Change-Id: I438b113d8b312b2c241d738047f6d307109dc142
Reviewed-on: http://gerrit.dmdirc.com/2049
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 13 години
Greg Holmes
c9fadebbd6
Use new BasePlugin methods for registering commands.
Change-Id: If0aa11d3423514916f98054d44ef863dcaac3a49
Depends-On: I62a79e69bd92d4aad1c244f5683f2d0524b8337e
Reviewed-on: http://gerrit.dmdirc.com/2036
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 13 години
Greg Holmes
5f76f5b75c
Remove windows from commands
Change-Id: I895be099fa526e4e4b566e7178120b5d1ad0912c
Depends-On: I5b6e7e2ca81d114028fef6cac0d88498def62ea0
Reviewed-on: http://gerrit.dmdirc.com/2012
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 13 години
Chris Smith
e60a0bc76f
Make some commands use new BaseCommandInfo class
Change-Id: I0d83ee53a42e933f97b5a29ea06e6bad661d5e2b
Reviewed-on: http://gerrit.dmdirc.com/2010
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 13 години
Chris Smith
969b084619
Fix fallout from CommandManager changes
Change-Id: Ib62d32dbfdadaf38930ceacf667ff533de047599
Depends-On: I48182a9cd7c8f49612025ba208ae90d3bb19ee2b
Reviewed-on: http://gerrit.dmdirc.com/1995
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 13 години
Greg Holmes
e0220cf274
Adds an active window command back to the client, swing ui only.
Change-Id: I3355f8b04449162413a6888e03e5d5d269193b0a
Reviewed-on: http://gerrit.dmdirc.com/1952
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 13 години