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 anos atrás
Greg Holmes
e46d8e694f
Hack prefs dialog into working.
For the minute this means the prefs dialog no longer
saves state, it also means there may be some layout
changes with the height loss and parenting change for
sub dialogs launched from preferences settings.
Change-Id: I9c46e6f03920866022cfe063c500f9523a11db6e
Reviewed-on: http://gerrit.dmdirc.com/3071
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 anos atrás
Chris Smith
418b376e5c
Remove some more SwingControlleryness
Change-Id: I6396a62915d2f2243838987f77b4fd1e878db9be
Reviewed-on: http://gerrit.dmdirc.com/3057
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
Chris Smith
4252d6edd7
Support plugin changes.
Change-Id: If8938f708244ed20d8d9e1c481ecb76bd2c0fac5
Depends-On: I053a57b82f77e9f570efdc463f86dd6653355a3e
Reviewed-on: http://gerrit.dmdirc.com/2848
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 anos atrás
Chris Smith
2a45dc7ada
Switch to ConfigProvider in a few places.
Change-Id: Icf36b0475927f8e78a516e713674aa7517ca5b51
Depends-On: I7c3f01392083df4150e80a836c8cb94482b4e9dc
Reviewed-on: http://gerrit.dmdirc.com/2766
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 anos atrás
Chris Smith
65d4f71d3d
Remove static ThemeManager methods.
Tidy AddonToggle's constructor a bit so it's less pathological.
Change-Id: Ief53bb0398c73cba5f718a33c7cb0089b3fdbf9d
Reviewed-on: http://gerrit.dmdirc.com/2745
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 anos atrás
Chris Smith
84f6e25645
Simplify getPluginManager calls in the swing UI.
No point calling getMain().getPluginManager() when the controller
has a nice reference you can get at.
Change-Id: I0ed3433cacaa00c08833f456ad5a5f0e65e5ebb8
Reviewed-on: http://gerrit.dmdirc.com/2663
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 anos atrás
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 anos atrás
Shane Mc Cormack
ca45e4719f
Revert "Continue main removal"
Revert "Begin removing CommandManager singleton."
This reverts commit eefba0d347 .
Change-Id: Iba86c7f2bf870684e0d41f88d82f16b43d43fe80
Depends-On: I8eb4f70f80292d66e3bdbe9f32766b5f427413c2
Reviewed-on: http://gerrit.dmdirc.com/2600
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 anos atrás
Greg Holmes
eefba0d347
Continue main removal
Change-Id: I3a6f71f30adf41e02181e474e83385969aad216a
Depends-On: I28c660092aabbc8eeebd9ed4dcc80cb9f3940aaf
Reviewed-on: http://gerrit.dmdirc.com/2590
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
11 anos atrás
Shane Mc Cormack
11e80671c4
Desingleton PluginManager (and as a side-effect, ServerManager).
Depends-On: I4a3d9b78a5f80aab0330d0906e8c76d00813c97c
Change-Id: I72fe837b5ea2352ae0c695948336efcdd92c09c8
Reviewed-on: http://gerrit.dmdirc.com/2522
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
11 anos atrás
Greg Holmes
9f541e4ca2
Hack around broken PluginManager listing duplicate plugins.
Issue CLIENT-335
Change-Id: Ieabc6957c7b46fa72e5a752f77b789d5da7dce7d
Reviewed-on: http://gerrit.dmdirc.com/2407
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 anos atrás
Chris Smith
10688b17c9
Support for the new updater
Change-Id: Iab5db6ba7738102fbe45e37670f6cfd3c705fd9c
Depends-On: Ia92ef9058621aa0a3cb67dc1fb30a13642580303
Reviewed-on: http://gerrit.dmdirc.com/2382
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 anos atrás
Greg Holmes
1cb39aefba
Fix incorrect headers, revert non DMDirc headers.
Change-Id: I4230201115d998e46c179ed14a59984a54180766
Reviewed-on: http://gerrit.dmdirc.com/2293
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 anos atrás
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 anos atrás
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 anos atrás
Chris Smith
c7e9a3c076
Fix fallout from util changes
Change-Id: Ia8de3c1a5fdc1eb9cfaa8b29a32bb3efb6d8ce6f
Depends-On: I0bfd2dc61096dd9670b269463c27d9b00fd9a917
Depends-On: I6d0665e57f6e0e2ff2fb6a18742acb99010e79bf
Reviewed-on: http://gerrit.dmdirc.com/2241
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 anos atrás
Greg Holmes
635fffffd5
Really fix the broken theme panel this time.
Change-Id: Iad8ee707aa4de8d1e7e47c4c9abb382c4e84aca0
Reviewed-on: http://gerrit.dmdirc.com/2232
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 anos atrás
Greg Holmes
421e636489
Fix some more bugs with the theme panel.
Change-Id: Id98a4d508852c24fbff02638bbd4002cfe308991
Reviewed-on: http://gerrit.dmdirc.com/2231
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 anos atrás
Greg Holmes
9b32764090
Themes should now load in the prefs dialog.
Fixes CLIENT-238
Change-Id: I6cfdfeecc96d2a21968cb886602b9526f0381e30
Reviewed-on: http://gerrit.dmdirc.com/2229
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 anos atrás
Chris Smith
389db65413
Fix addons UI after core plugin changes
Change-Id: Ieeb8713a78f5e3f2adf42355a5871ec63dd6aa27
Depends-On: Ic19c0e174e712a7e8a7b17bdc334aba7a727cfb2
Reviewed-on: http://gerrit.dmdirc.com/2219
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 anos atrás
Greg Holmes
41c77ef7ed
Move interfaces to a central location.
Depends-On: If624693f050e1aa9cf4cabcd5264518604eb8bcd
Change-Id: I862891efc407a64559788812ee039a9ec565a973
Reviewed-on: http://gerrit.dmdirc.com/2166
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
13 anos atrás
Greg Holmes
903516fe3b
Adds icons to new plugins prefs panel.
Plugin icons are now shown in the plugins panel, this will need to be
changed at a later date when CLIENT-221 is finished and themes are
integrated into this panel.
Issue CLIENT-33
Change-Id: I102920e35ec1a5aa7c49da36894f143458e21331
Reviewed-on: http://gerrit.dmdirc.com/2154
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 anos atrás
Greg Holmes
8f1cf33ed3
Add support for identifying sub plugins to plugin prefs panel.
The sub plugins are now listed, indented, underneath their parent plugin
in the plugins prefs dialog.
Issue CLIENT-33
Change-Id: I71ab1c874ed1359fbce6f2da2e0a46ec5cf899e1
Reviewed-on: http://gerrit.dmdirc.com/2152
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
13 anos atrás
Greg Holmes
489f3dada1
Initial work on redesigning the plugin panel in the prefs dialog.
This iteration brings the plugin information into a panel at the bottom,
it also changes the enable button into a checkbox. This has code added
for improvements later on but the UI elements for this commented out.
Issue CLIENT-33
Change-Id: I6835f140b74e6f8e6ab815e6277504a3aaa0ed47
Reviewed-on: http://gerrit.dmdirc.com/2147
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 anos atrás
Greg Holmes
3f05ed9579
Use new getMetaData method (and fix unit tests)
Change-Id: Id0ea49f368628d25bc4232eb3d3137fc41c89bbe
Depends-On: I0bf84a236b3d4a3a86bb3cdceadbfb972b7dec27
Reviewed-on: http://gerrit.dmdirc.com/2090
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 anos atrás
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 anos atrás
Chris Smith
a100d40b0a
Fix after PM method change
Change-Id: I0dd7ec532e5e6fdf295da488b1870fef9ad976f1
Depends-On: Idd93067e0d4ec64c2819d8c7035ce1695d4e8ebf
Reviewed-on: http://gerrit.dmdirc.com/2046
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 anos atrás
Greg Holmes
612e2779bf
Don't load remote images in the EDT.
Change-Id: I81d900a45cc589ffe2af0afdc05cfef2f87c5b20
Reviewed-on: http://gerrit.dmdirc.com/1981
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 anos atrás
Greg Holmes
f5de47b21c
Revert "Don't load remote images in the EDT"
This reverts commit 00b7926810 .
Change-Id: Ic46e4185df7959ae8723adf2c1167a67c4fb450b
Reviewed-on: http://gerrit.dmdirc.com/1980
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 anos atrás
Greg Holmes
00b7926810
Don't load remote images in the EDT
Change-Id: I79be69a80ab38e9d5d4aed0634e96dabdecb7b68
Reviewed-on: http://gerrit.dmdirc.com/1979
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 anos atrás
Greg Holmes
3a479cb30f
Don't load/unload plugins in the EDT
Fixes CLIENT-226
Change-Id: I23a058df642f2738e2878491e72b679d04554257
Reviewed-on: http://gerrit.dmdirc.com/1916
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 anos atrás
Greg Holmes
118a2c0502
Remove deprecations
Depends-On: I5ebf0bd52682cd0b1798d1b1b54353e5e65e793f
Change-Id: Ic938a7785a30477f47074e574ec8311723d803a9
Reviewed-on: http://gerrit.dmdirc.com/1839
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 anos atrás
Greg Holmes
aa4f456cec
Tidy up text layout in AddonPanel
Change-Id: I94b96bfc696fa9733f579cf181008c6b8b797198
Reviewed-on: http://gerrit.dmdirc.com/1806
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 anos atrás
Greg Holmes
9e3cc3b778
Proxy addon info calls to correct addon.
Fixes CLIENT-185
Change-Id: Iaa846fadd0d20c86539557b360edd7cfaa93440e
Reviewed-on: http://gerrit.dmdirc.com/1805
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 anos atrás
Greg Holmes
e48e7a14fa
Avoid need for hacky boolean to stop recursive reloading.
Fixes CLIENT-173
Change-Id: I5822f7d0509919d439b5f8bc1c2a3980ef4159c7
Reviewed-on: http://gerrit.dmdirc.com/1798
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 anos atrás
Greg Holmes
661689c05b
Switch pluginPanel to use a table not a list, same for themes.
Fixes CLIENT-171
Depends-On:Iecb3ea2067a398bb7ce26a8803f5678ec38e73b9
Change-Id: Ic451ad093b870ce9a69f64aa28049020fe02dc3b
Reviewed-on: http://gerrit.dmdirc.com/1793
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 anos atrás