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 years ago
Chris Smith
528583b923
Push some SwingController dependencies out a bit.
Change-Id: I253ee4c7e8a8b4475048b860db244db8d82fbada
Reviewed-on: http://gerrit.dmdirc.com/3053
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
b281ceb29a
Tidy up some deprecations.
Change-Id: I8608be6d035c2d7d2eca226027f3f60c0f0f7ac7
Reviewed-on: http://gerrit.dmdirc.com/3052
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
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 years ago
Chris Smith
0504eb8a5e
Force ivy bump, and fix ivy sources.
Change-Id: I8608be6d035c9d7deeca526047f3f60c0f0f7777
Reviewed-on: http://gerrit.dmdirc.com/3051
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
95801b80ad
DialogProvider<ActionsManagerDialog>.
Change-Id: Ia428aae5a19309d6f7c19222226160f8c2d80de1
Reviewed-on: http://gerrit.dmdirc.com/3047
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
1e2a775488
Use DialogProvider for the profile manager dialog.
Change-Id: Ia428aae5a19309d622109e8baa6160f8c2d80de1
Reviewed-on: http://gerrit.dmdirc.com/3046
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
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 years ago
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 years ago
Chris Smith
ae2144ee63
Inject some more dialogs
Change-Id: I73731643e3af5b13dd6dcaa2fdb53349a775372b
Reviewed-on: http://gerrit.dmdirc.com/3042
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
0f7aebad7e
Inject the AMD.
Change-Id: I6bf2a097c7dbb54e631cd1a1a13f411df374428f
Reviewed-on: http://gerrit.dmdirc.com/3041
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
a6272e7264
Inject the PMD.
Change-Id: I0a6ccc960a3a08d0a7c6aac08aa5b89d2b17c129
Reviewed-on: http://gerrit.dmdirc.com/3040
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
1293c1a867
Hit me with your deprecation stick.
(Hit me slowly, hit me quick.)
Change-Id: I0a6ccc960a4e08d1a7c6aac08aa5b89c2b17c125
Reviewed-on: http://gerrit.dmdirc.com/3039
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
f2e48b0be9
Inject more things.
Change-Id: I0a6ccc960a4e08d0a7c6aac08aa5b89d2b17c125
Reviewed-on: http://gerrit.dmdirc.com/3038
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
305ae6779b
Use DI in the server list dialog plugin.
Change-Id: I0b6ccc960a4e08d0a7c6afc08a75b89d2b17c125
Reviewed-on: http://gerrit.dmdirc.com/3037
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
beb28014d9
Start work on DI'ing the lag display plugin.
Change-Id: Ia7e89f9d3da632451ccbec04eabf453478e256cf
Reviewed-on: http://gerrit.dmdirc.com/3036
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
273acf6c58
Inject more things into the DCC manager.
Also deprecate the getters in the SwingController that should be
avoided in favour of injection.
Change-Id: I0a6ccc960a4e08d0a7c6afc08a75b89d2b17c125
Reviewed-on: http://gerrit.dmdirc.com/3035
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
e55347ff1f
Remove some SwingControllers from DCC plugin
Change-Id: I0a6ccc960a4e08c0a7c6afc08a75b89d2b17c125
Reviewed-on: http://gerrit.dmdirc.com/3034
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
16251f0032
Push down some more.
Change-Id: I0a6ccc960a4e08c0a7c6afc08a75b89d2b17c124
Reviewed-on: http://gerrit.dmdirc.com/3032
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
c5f4411c74
Push SwingController out of StatusbarPopupWindow.
Change-Id: I0a6ccc960a4e08c0a7c6afc08a75b89d2b17c123
Reviewed-on: http://gerrit.dmdirc.com/3031
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
6647d0987d
Update plugins to pass state into UpdateChecker.
Change-Id: Ic14614537aa544095733785a983b79556c8f2472
Reviewed-on: http://gerrit.dmdirc.com/3029
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
70de7112f3
Remove all UpdateChecker.getManager() calls.
Down with static methods! Temporarily up with deprecated methods on horrible
global state objects!
Change-Id: Ia279f9199e8ca40dc3031234569a44da042fc617
Reviewed-on: http://gerrit.dmdirc.com/3027
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
8916d98222
Inject update manager in a few places.
Again, add a deprecated method to SwingController/Manager to escape the dependency
hell temporarily.
Change-Id: Ia79f9199e8ca40dddddd8de6f9a44da042fc617f
Depends-On: Ia79f9199e8ca40dc3031234569a44da042fc617f
Reviewed-on: http://gerrit.dmdirc.com/3025
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
6e4c11553d
Inject an UpdateManager.
Change-Id: I420b85ed73ba6ea02ac4b5fe18411fa100994011
Reviewed-on: http://gerrit.dmdirc.com/3024
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
f79dabdef0
Move to injecting various things in the addon browser.
Add a deprecated method to the SwingController/Manager to avoid having
to propagate the changes all the way up through the prefs dialog.
Add dependency on the annotation processor library for factories.
Change-Id: I420b85ed73ba6ea02bbbb5fe18411fa18d994011
Reviewed-on: http://gerrit.dmdirc.com/3023
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
4c43597f2d
Tidying and some dependency pushing.
Change-Id: Ic14615537aa544095733785a983b79556c8f2177
Reviewed-on: http://gerrit.dmdirc.com/3021
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
f62fcfc285
Remove deprecated StandardDialog ctors.
Change-Id: I2d37f4e0be3d4c8f0a867ad9a0a516dc3193a2a7
Reviewed-on: http://gerrit.dmdirc.com/3020
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
8703d88923
Minor tidying
Change-Id: I2d37f4e0be3d4c8f0a867ad9a0a516dc3193a2a6
Reviewed-on: http://gerrit.dmdirc.com/3019
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
20c1644c67
Use injected IconManager
Change-Id: I0a6ccc960a4e08c0a7c6afc08a75b89d2b17ccaa
Reviewed-on: http://gerrit.dmdirc.com/3015
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
8e3fa1c947
Remove windowClosing() methods from plugins.
Override the close() method instead as per earlier core change.
Change-Id: Ic14615537aa544095733785a983b79556c8f2477
Reviewed-on: http://gerrit.dmdirc.com/3012
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
5c216d55c2
Tidy up some windowClosed/windowClosing methods.
Change-Id: I9b8dc2b1f7f42e8a2394dcb914bdb17064ae6150
Reviewed-on: http://gerrit.dmdirc.com/3010
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
00035e1761
Upgrade dagger
Change-Id: Icf9bfc6bc40b66135d161a5047d01d46b217b328
Depends-On: Icf9bfc6bc40b66135d161a5047d01d46b217b328
Reviewed-on: http://gerrit.dmdirc.com/3007
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
27f467bf4f
Remove lombok from plugins
Change-Id: I30199c4047226537fbfb62de5aab1f228c81d74e
Reviewed-on: http://gerrit.dmdirc.com/3005
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
a5650ee792
Delegate methods menually removing lombok
Change-Id: Ib37870680c730349dbea32334cbc2af03f5d5362
Reviewed-on: http://gerrit.dmdirc.com/3004
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
4497d419d7
Refactor BackgroundPainter, mostly removing lombok
Change-Id: I31c1db9d85e332103c6ce92ef69283f038451cb6
Reviewed-on: http://gerrit.dmdirc.com/3003
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
9ca8f8c4a6
Remove some more lombok from the swing ui
Change-Id: Id0129d529d40d43cf6f43a21be1de44832335673
Reviewed-on: http://gerrit.dmdirc.com/3002
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
4b4ceceb34
Remove some lombok from swing ui
Change-Id: I0979f49a8c4b04fe4cb4af28fb192f9446fde195
Reviewed-on: http://gerrit.dmdirc.com/3001
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
991b18703f
Remove lombok from some dataforce plugins
Change-Id: I5dc8d91a545baccb74c1d0b78564ebfc0641228f
Reviewed-on: http://gerrit.dmdirc.com/2996
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
f43be1d40c
Remove lombok from next set of plugins
Change-Id: I912eb22c4612741e60626f8c59e065ad98a5c05a
Reviewed-on: http://gerrit.dmdirc.com/2997
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
ad9a011db9
Remove lombok from yet more plugins
Change-Id: I66319b059540ff24cf30ef570ddfa7eb2bdb9f40
Reviewed-on: http://gerrit.dmdirc.com/2998
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
fb7775ff93
Remove lombok from webui + userlevel
Change-Id: I5eb8c81d8072a9b58d128018c66d67a1d707b868
Reviewed-on: http://gerrit.dmdirc.com/2999
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
dcf3ba8581
remove lombok from calc plugin
Change-Id: I85fd893a4e45f7676081af8948f039d9ee5dea77
Reviewed-on: http://gerrit.dmdirc.com/2995
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
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 years ago
Greg Holmes
84fec1a064
Fix broken CSD by added dependencies.
Change-Id: Ica8d4b76fa2ad24b73837ea12386182b98d7330f
10 years ago
Greg Holmes
d7d701fce5
Fix NPE in mainframe
Change-Id: I8162db2502af5e6c39825b57fe194d6fda8ab3ed
Reviewed-on: http://gerrit.dmdirc.com/2969
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
516f190942
Add test for creating a new profile
Change-Id: Ie888cc35ccae052f73b92885c3fbb17d00c3f529
Reviewed-on: http://gerrit.dmdirc.com/2958
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Shane Mc Cormack
965714af27
Fix scriptplugin causing massive cpu load and slowing everything in the client down.
(Related: 118a2c0502 )
Fixes-Issue: CLIENT-418
Change-Id: I3b50c2cc10ec8428b2729b7e86feda01e076100d
Reviewed-on: http://gerrit.dmdirc.com/2962
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
6f293a1e55
Use the event bus for ClientOpened events.
Add Guava as a build-time dependency for plugins.
Change-Id: Ice5066f8c188b55f14af8ffcb38a5d5a244523b5
Reviewed-on: http://gerrit.dmdirc.com/2959
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
7756c48879
Tidy up Apple a bit.
Change-Id: I205a2d15cfd71fbbae7c433172d01b4a6ef2e4db
Reviewed-on: http://gerrit.dmdirc.com/2956
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Greg Holmes
c467a18179
Bump cinch support version to remove horribleness.
Change-Id: Ib0368a8734818010ce62b7a5711835d74894f616
Reviewed-on: http://gerrit.dmdirc.com/2954
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago