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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
Shane Mc Cormack
b591d5a331
Make main less static.
Don't ask Main for the config directory.
Remove getMain() from Main.
Everything that needs a main now either gets given it, or asks something else.
Unfortunately, a few more dependencies on the static IdentityManager.getIdentityManager()
were introduced, but they can be tackled separately.
Fix unit tests for the above.
Depends-On: I9e42ac7f74453b739209a681d0a31f50c1be2a04
Change-Id: Ib5a9fdea5a2e25d5471d0b849f4f65fa0286d1f8
Reviewed-on: http://gerrit.dmdirc.com/2521
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
11 years ago
Greg Holmes
2b0dc53a8d
Add new method for invokeAndWait using Callable not ReturnableThread
Change-Id: Ic0edb15c06533c0df5bc78f0f6878ca5ae98d9d0
Reviewed-on: http://gerrit.dmdirc.com/2465
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 years ago
Shane Mc Cormack
28a5bf7f14
Prevent "Apple" class being given a null config.
0.6.7 for OS X will need rebuilding to include this fix.
Change-Id: I6b31f255981dd064ef19bea2b84e8389d63e71c3
Reviewed-on: http://gerrit.dmdirc.com/2466
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 years ago
Greg Holmes
c8a0e27a20
Associated changes for prefs tidy up.
Change-Id: Id8e090709271b6a908bc56273b9ff8dfd180370d
Depends-On: I428aa1596e7d41e6842175d805d88a4421c1b764
Depends-On: Iadcf92d4390034828d005a9c9e92d9a8ba189c99
Reviewed-on: http://gerrit.dmdirc.com/2453
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 years ago
Greg Holmes
5615637738
Ad support for runtime changing of global fonts.
There is at least one known bug with this, probably more.
Change-Id: Ibf68730eecf063ff18a7a93d9f384666dc475b63
Fixes-Issue: CLIENT-357
Reviewed-on: http://gerrit.dmdirc.com/2426
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 years ago
Greg Holmes
0bd8222f96
Change Swing debug plugin to use DMDirc windows rather than dialogs.
Change-Id: Ic29bf3495781213b4114769b6ef11013352d5a12
Reviewed-on: http://gerrit.dmdirc.com/2335
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
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 years ago
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 years ago
Greg Holmes
4f724a294c
Rewrite profile manager dialog with Cinch.
Rewrite Profile wrapper class
Add tests for ProfileManagerModel
Change-Id: I47a5b0bff4754916967b254854929499d73fc69e
Reviewed-on: http://gerrit.dmdirc.com/2238
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 years ago
Greg Holmes
14540d9688
Begin to remove deprecated IdentityManager methods.
Change-Id: I1fc7086057871a9b5f5f6d0ec790ec28b7ee067f
Depends-On: I7c24baa6f2e64302406e656a8931390aff9d3c9d
Reviewed-on: http://gerrit.dmdirc.com/2204
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
Greg Holmes
4ea2214149
Remove some depecation warnings, lombok some code.
Change-Id: I76e80c3290656e807dbd4c15913008c1c43dd852
Reviewed-on: http://gerrit.dmdirc.com/2197
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 years ago
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 years ago
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 years ago
Greg Holmes
b9e2af3061
Fix EDT violation adding new event queue.
Fixes CLIENT-284
Change-Id: I3b308ae228e732629b934f67fc17ca9dd5933348
Reviewed-on: http://gerrit.dmdirc.com/2122
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Greg Holmes
cd791fa326
Remove UI specific methods from UIController.
Change-Id: Ic341d8fe573e6e2c0a8da07bd02e41110e7668e9
Depends-On: I58feef90e9a80ef54549b84b6370fe0378e16996
Reviewed-on: http://gerrit.dmdirc.com/2104
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Greg Holmes
ed90b0e13f
Fix fallout from plugin deprecations.
Change-Id: Ib559fda3ac9d5b65937c563b165ef078106cdd15
Depends-On: Id6cafe38cb04a9ee4513ac6e98158faf3cafc37d
Reviewed-on: http://gerrit.dmdirc.com/2099
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 years ago
Greg Holmes
41c074792d
Switch popin/out commands to use new style info objects
Change-Id: Ic1af964f7f363ddc9fe686c35f4f7ed934726cfe
Reviewed-on: http://gerrit.dmdirc.com/2091
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Chris Smith
4a84877785
Import order fixes
Change-Id: I15b4e887da9c3e3987ffd8f28bcdf536f831061b
Reviewed-on: http://gerrit.dmdirc.com/2079
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 years ago
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 years ago
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 years ago
Chris Smith
b9ccdf76f9
Remove unused ctor args
Change-Id: I970b49db0abac46d15a11e2b71dc0b50bd3a8faf
Depends-on: Ief1c8e499af7e3a43328046dc140ba941d8cb010
Reviewed-on: http://gerrit.dmdirc.com/2033
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 years ago
Simon Mott
1d52c51289
/popout and /popin command added to swing ui
Fixes issue CLIENT-260
Change-Id: I61210a30cc9ae6719bbf3fa9da7008b73b2ee5c5
Reviewed-on: http://gerrit.dmdirc.com/2007
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 years ago
Greg Holmes
0d469817e3
Remove frame changed action triggering from the UI
Change-Id: Ia0446b5ceea9eb9bb580395027212dab1fe308ca
Reviewed-on: http://gerrit.dmdirc.com/2016
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Greg Holmes
e7b2ef53cc
Move Input command to SwingUI
Change-Id: I3cace87bb0061d0255ce4c1e108baf09c0dc37bc
Reviewed-on: http://gerrit.dmdirc.com/2014
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 years ago
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 years ago
Chris Smith
318f0fd32f
Fix fallout from WindowManager changes
Change-Id: Ia9b45bc4ff7f17af9e1eed758c0a659f6ab47251
Depends-On: I4f8df35efbb7ce266d6e8b1239c646a0a9c92107
Reviewed-on: http://gerrit.dmdirc.com/1988
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 years ago
Chris Smith
5035ea4ae7
Use new WM method in SwingController to fix reattaching
Fixes CLIENT-257
Change-Id: I943d0fd7599a188ba2850f3fd090f4deb98312c9
Depends-On: If02d3fa96e1cba0ddb8d8b6d4960870d5a461df1
Reviewed-on: http://gerrit.dmdirc.com/1986
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 years ago
Greg Holmes
a115066bfa
Make swing UI detach on unload
Fixes CLIENT-11
Change-Id: I192562e176615f337df2f7686d0f6c50e00d9b27
Reviewed-on: http://gerrit.dmdirc.com/1969
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 years ago
Greg Holmes
25e3a7c21e
Add new UIController method to UIControllers.
Change-Id: I02f3803fe1d3cce0a2b958fd11f3711965d8cfd3
Depends-On: Ib675bf702ed50b90649aafa8dcba67dd4ff35986
Reviewed-on: http://gerrit.dmdirc.com/1959
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Chris Smith
9ee6857590
Decouple selection handling from the core
Swing MainFrame now maintains its active frame, and
requests to activate frames are handled internally
instead of engaging in a game of ping-pong with the core
Change-Id: I9a135fb48b197bb555f470d3052f2ebc9a0a426c
Depends-On: Ieddf71114e55e0d3e3b040751d21a5523d4438d4
Reviewed-on: http://gerrit.dmdirc.com/1947
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 years ago
Greg Holmes
5f035d6e76
Change Plugin to an interface and add BasePlugin abstract class.
Issue CLIENT-241
Depends-On: Ie1b3277bb1c667ee99a1b203c2ff1094616ceaff
Change-Id: If0fd1c74a19c488cb7853d69deae9f75bab43d41
Reviewed-on: http://gerrit.dmdirc.com/1923
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Chris Smith
84a4059c5f
Plugins support for core frame container changes
Change-Id: Iecbb2941c99a3412dc2eb3b7f56fc584d2db483e
Depends-On: Ieefbf2d1e157e3638dbe8fdedbd4f32642061329
Reviewed-on: http://gerrit.dmdirc.com/1884
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
6440080ca0
Mass deprecation/deletion
Change-Id: I65a4cbe48f772dc7e400d585b1bfab15521fdd12
Depends-On: Ib499b44b594fa6dd85ac65fba5b95f16beb23c48
Reviewed-on: http://gerrit.dmdirc.com/1873
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
13 years ago
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 years ago
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 years ago
Shane Mc Cormack
e1106c80db
Update Copyright
13 years ago
Chris Smith
a9047893a5
Remove migration wizard
Fixes CLIENT-137
Change-Id: I2897f3f1134ed97e54f8726625e749b3fd0481eb
Reviewed-on: http://gerrit.dmdirc.com/1707
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Greg Holmes
b732f4bd16
PMD Fixes for plugins
Change-Id: I16cbfad94712946435c2be40ed0f2d25733bf354
Reviewed-on: http://gerrit.dmdirc.com/1700
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Greg Holmes
7dac78b6ee
Tidy class and add prefs setting for new line indicator.
Change-Id: I31008b126a6cd897fbfb3d57349c344e6502f94b
Reviewed-on: http://gerrit.dmdirc.com/1684
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Greg Holmes
2c4fe17288
Remove MDI from the client.
Tidy up mainframe (creating a new dialog class).
Fix OptionalJSpinner having an excessive border.
Fixes issue CLIENT-66
Fixes issue CLIENT-2
Change-Id: I450fe4a6060988843caad0b22a1ac2ffad9e4c28
Depends-On: If58397d37b89c8fe6e099c47fb4d26fdc4589b49
Reviewed-on: http://gerrit.dmdirc.com/1630
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Gregory Holmes
7dad3c8b91
Add method to add items to the menu bar.
Fixes issue CLIENT-23
Change-Id: I09fb4e5f27df7dffc61ae7a5f121945ba4ad6e7a
Reviewed-on: http://gerrit.dmdirc.com/1594
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
af504465f5
Plugin support for PreferencesManager rename
Change-Id: Ia126a15b60e54c08c1e780676fe363821e9b7518
Depends-On: Ied76e21fbf72039d47ec2b35b236149c13941645
Reviewed-on: http://gerrit.dmdirc.com/1592
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
02248d05b7
Remove old/unstable uses of URLHandler
Fixes CORE-11
Change-Id: Icc74ece86b012aa92ef999eb68df727e372e203e
Depends-on: I268aa593dd81f38c94fc11e625acb4ff4aed61d1
Reviewed-on: http://gerrit.dmdirc.com/1523
Automatic-Compile: Greg Holmes <greg@dmdirc.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 years ago
Chris Smith
8b6eebbf5b
Remove pointless setUI calls
Change-Id: Ic426cf9c5b8ade035d8d236335495752954c103f
Reviewed-on: http://gerrit.dmdirc.com/1482
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago