Chris Smith
4c68c5e600
Enable PMD for plugins.
Fix assorted PMD errors.
Change-Id: I9af7e36f2aeb10bd658c5825ad2f94161e0bb243
Reviewed-on: http://gerrit.dmdirc.com/3940
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 years ago
Chris Smith
57d088b6fe
Remove some redundant casts.
Change-Id: I7b4c7348eb44d731347546105a3a6c66fb132aa8
Reviewed-on: http://gerrit.dmdirc.com/3882
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 years ago
Chris Smith
a1c4652af7
Fix some nonsense in the LoggingManager.
Don't get a random Object only to toString() it later, just use strings.
Don't rely on toString() existing across different implementations.
Don't try and find a log file for servers, they don't exist.
Change-Id: Ic53754d16a7c0d4b63246000236e51080450cb50
Reviewed-on: http://gerrit.dmdirc.com/3878
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 years ago
Greg Holmes
5956243fc5
Use ColourManagerFactory
Change-Id: If1bc20d15561584c9296ad10f04957efb51c5966
Depends-On: I6ef45d10a4fe862854702eee671114ee09f01d4d
Reviewed-on: http://gerrit.dmdirc.com/3867
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 years ago
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 years ago
Chris Smith
8c88b5c68a
Tidy the logging plugin.
Change-Id: Id75901da628020c69c706ff0d8eee92ffdc7af61
Reviewed-on: http://gerrit.dmdirc.com/3845
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 years ago
Chris Smith
9c4991af86
Final all the things.
Change-Id: I6d3651c56721206eb996c0a8a08cf6f69320deb1
Reviewed-on: http://gerrit.dmdirc.com/3837
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 years ago
Chris Smith
e0f82140f5
Reorganise all imports
Change-Id: I505dd85becbfe5e5fd611a69cee7678d84fb249f
Reviewed-on: http://gerrit.dmdirc.com/3775
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 years ago
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 years ago
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 years ago
Chris Smith
15084923b9
Style/inspection fixes.
Change-Id: Idc00a4321e228bad7983dc5cd7434860cf065010
Reviewed-on: http://gerrit.dmdirc.com/3705
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 years ago
Greg Holmes
c8003bc035
Switch to event bug logging in logging plugin.
Change-Id: Ib89098251cbb408691f30ba4876e63771be7a088
Reviewed-on: http://gerrit.dmdirc.com/3656
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 years ago
Greg Holmes
67f0c60ead
Use events for the logging plugin.
Depends-On: Id53eb0fba852cf19e80dbd51d6b45fc9fc3dbee6
Change-Id: Ia4d4aecfc2ea3ec30facdb757182cd34acdd0e30
Reviewed-on: http://gerrit.dmdirc.com/3497
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
5c104f137e
Use newly simplified query event classes.
Change-Id: Ie8b7213c421e66efc4edddf3a13a420534025ebf
Reviewed-on: http://gerrit.dmdirc.com/3467
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
96f5b575f0
Start removing query actions from logging plugin.
Change-Id: I225d76e2a125a72faf8be2998b14a5c55b35a110
Reviewed-on: http://gerrit.dmdirc.com/3463
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
a985fe1df8
Pass EventBus in to FrameContainer.
Change-Id: I65695d195052b7800e14f2128c84d344f61ff19c
Depends-On: I711722755bbf78de5b3ae3a6eec3e43985f4ed63
Reviewed-on: http://gerrit.dmdirc.com/3446
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
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 years ago
Chris Smith
f5376b8a65
Update plugins to use event bus.
Change-Id: Iafd3b7c1563b11bbb610b9076d9ebee8d62ae34a
Reviewed-on: http://gerrit.dmdirc.com/3240
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
9073e65091
Use @PluginDomain everywhere else.
Change-Id: I638186bb258a83ff21c79e2425eac25688a6c6ed
Reviewed-on: http://gerrit.dmdirc.com/3187
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
652abcd527
DI the logging plugin.
Change-Id: I7b8fd7a83d4431dcf551a171fbb23caeb6100c2e
Reviewed-on: http://gerrit.dmdirc.com/3179
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
0709bf5bc4
Remove some deprecated method calls.
Change-Id: I872ecaf83eac2c7babe6942179db19806f803b33
Reviewed-on: http://gerrit.dmdirc.com/3163
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
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 years ago
Chris Smith
266876cfa3
Plugin support for FrameContainer changes.
Change-Id: Ida8887d4065db2f26080986a4c426c6de700d65c
Depends-On: I3b95185db3f7e6ef09a6c4f91cd28c88d2c601ba
Reviewed-on: http://gerrit.dmdirc.com/3106
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
a78b6fe8c7
Various style fixes.
Change-Id: Ia75b28fcd34682079234e3ad8d6c83f84a616cf0
Reviewed-on: http://gerrit.dmdirc.com/3098
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
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
Chris Smith
5138fca86e
FrameContainers now expose Connections.
Change-Id: Id55c3611173be7ed79fae8f9e976996d713b8646
Depends-On: I02a54b0bcfaef08d5757cc015c356f9779ec0371
Reviewed-on: http://gerrit.dmdirc.com/2949
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
f7cd4ab287
Use Connection iface in place of Server.
Change-Id: I871f3e5e99c1112189065f143d97d8bfbebf83ef
Reviewed-on: http://gerrit.dmdirc.com/2933
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
c4c7c42298
Don't pass WindowManagers to FrameContainers.
Change-Id: I0f60ac23438313cab49cdb86c089938f5ee44abc
Depends-On: Iadbca8a28f7ef3372df7fda722a3cbba2a0fbad6
Reviewed-on: http://gerrit.dmdirc.com/2843
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
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 years ago
Chris Smith
526cb3e37b
Use config interfaces where possible.
Change-Id: I5f140e89bfb8c57804d0a500bbc9f5c18555b0e9
Depends-On: Iaabedda2fa68c4e5562bb069dcdf15fa0c3beeea
Reviewed-on: http://gerrit.dmdirc.com/2767
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
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 years ago
Chris Smith
28e3529e08
Handle stuff moving.
Change-Id: I94416680dfa9f0ee4896f5a6518889c6eb891909
Depends-On: I8d791451ead4b37f9181a9741e127cbc8b514d46
Reviewed-on: http://gerrit.dmdirc.com/2753
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
0e4e578f75
Remove all IdentityManager references from plugins
Everything now references an IdentityController or IdentityFactory,
and obtains them by injection (or local plugin state) rather than
using a singleton method.
Change-Id: I641e1e0a84f96d928affa310a4e43a42f93d13d4
Reviewed-on: http://gerrit.dmdirc.com/2751
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
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 years ago
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
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
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
Chris Smith
63edf422d5
Use ReverseFileReader from utils
Change-Id: I3e0c3adb302ee5f4584f3e9040ae6b5edfc447c8
Depends-On: I8fcf1d9e686834dfad9d93c177b97b0ea19fd742
Reviewed-on: http://gerrit.dmdirc.com/2326
Reviewed-by: Shane Mc Cormack <shane@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
256c07d0fc
Tidy up Logging plugin.
Change-Id: I3b08c6e8316f03d2636802eb43d00350d5be01a0
Reviewed-on: http://gerrit.dmdirc.com/2262
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 years ago
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 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
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 >
12 years ago
Chris Smith
d6a7f72b50
Make some plugins dependency inject the action manager
Change-Id: I4e17c971b445f71363cb434db233eca42131745c
Reviewed-on: http://gerrit.dmdirc.com/2165
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 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
Chris Smith
f8283731f4
Make local variables final where appropriate
Change-Id: Ied3a5a2d993bd74c04eaa357bcbef7218871f529
Reviewed-on: http://gerrit.dmdirc.com/2082
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
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 years ago