Chris Smith
9ca687017d
Handle random class renaming.
7 роки тому
Chris Smith
8bbc292101
Update copyright.
7 роки тому
Chris Smith
3e072877be
Use EventBus interface.
This is just an IntelliJ refactor, using EventBus in place of
DMDircMBassador whenever possible.
7 роки тому
Chris Smith
a55aa85f2e
Restructure to standard maven/gradle layout.
Stop swimming against the tide and accept what most of the rest of
the world does.
While it adds an annoying depth to the actual source code, it makes
the root directory nicer (no more 'test-res' dirs), means we don't
have to override the gradle config, and makes it nicer to work in
IDEA 2016.1.
8 роки тому
Chris Smith
8583be943d
Add source checks for eventbus handlers.
In preparation for child eventbusses being removed, anything
trying to subscribe to specific windows now needs an explicit
check.
In the process, fixed two issues:
- channel who plugin was sending way too many requests - each
connection was querying every channel in the client. i.e.,
with 5 servers open there'd be 5 WHOs per channel...
- ServerFrame stops itself listening when *any* frame is closed.
So closing a channel window then reconnecting wouldn't offer
an SSL dialog, because it's already unbound the listener.
Issue DMDirc/DMDirc#662
8 роки тому
Chris Smith
cc84eefa7c
And some more.
9 роки тому
Chris Smith
9f984720f4
Make Chat return a WindowModel.
Start to move FrameContainers behind an iface so they can be
pulled out.
For now, just cast back when needed.
9 роки тому
Chris Smith
f049b30b00
Remove usages of Channel in the UI.
9 роки тому
Chris Smith
0520af4093
Remove most usages of FrameContainer.getIconManager.
9 роки тому
Shane Mc Cormack
ef35f746ad
2015!
9 роки тому
Greg Holmes
bfbe830d49
General tidying in Frames.
9 роки тому
Greg Holmes
58834c2592
Add an init method to TextFrame.
9 роки тому
Greg Holmes
95c46b6997
Fix lack of compiling.
9 роки тому
Greg Holmes
85f2daf073
Unbind in channelframe.
9 роки тому
Chris Smith
20eb46bb2e
Rename getOptionalConnection() to getConnection().
9 роки тому
Chris Smith
6b1435eb23
Fix more deprecations.
9 роки тому
Greg Holmes
9a99df84fa
Use new ConfigBinder Invocation.
9 роки тому
Greg Holmes
d5e4b9502e
Tidying in ChannelFrame.
9 роки тому
Greg Holmes
3b6a1a2c3b
Move EDTHandlerInvocationi back.
9 роки тому
Greg Holmes
e078cdf7bb
Couple of tidyings.
9 роки тому
Greg Holmes
0e51c50513
Way, way too much tidying in one go.
9 роки тому
Chris Smith
075d454abb
More J8 improvements.
9 роки тому
Chris Smith
ab4ac8af48
Lambda-ise some things.
9 роки тому
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 роки тому
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 роки тому
Chris Smith
64a22c788f
Minor tidying
Change-Id: Ibcb8c43c3d9fcd18d80e087e951c2466bf717898
Reviewed-on: http://gerrit.dmdirc.com/3824
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 роки тому
Greg Holmes
93c99f5efb
Use some more FrameClosingEvents
Change-Id: I36d784d618070bc8c55da1c12682b9434aa0ac25
Depends-On: I58ab2318458c809191919595e1eb011646fe6b0e
Reviewed-on: http://gerrit.dmdirc.com/3812
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
Chris Smith
b5e208829d
Introduce factories for frames.
Make the factories implement WindowProvider, and simplify the
SwingWindowFactory.
Change-Id: I0ee55bc971ab57e5c79c818693981797a0946c3f
Reviewed-on: http://gerrit.dmdirc.com/3704
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 роки тому
Greg Holmes
ae9a6ae6cd
Perform windowClose methods on the EDT.
Change-Id: If35167b19ad1642e0b38abd4a4a8425588d66821
Reviewed-on: http://gerrit.dmdirc.com/3627
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 роки тому
Greg Holmes
d1373476bb
Remove some controllers.
Also close CSD when channel closes as with SSD to prevent NPEs.
Change-Id: Iedf19dcecea134db08f33ee14226b8522ecf1843
Reviewed-on: http://gerrit.dmdirc.com/3292
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 роки тому
Greg Holmes
49c86f48a6
Remove some deprecated methods usages
Change-Id: I0a9ffdb11dfcf13e88c2bce63ca8d68b4d9feed9
Reviewed-on: http://gerrit.dmdirc.com/3290
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 роки тому
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 роки тому
Chris Smith
8dea33a684
Tidy more TextFrame related code.
Change-Id: Ic10d762073e74c4d8b1e7c785e56bd341c068598
Reviewed-on: http://gerrit.dmdirc.com/3272
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 роки тому
Chris Smith
e9fcd57058
Use some more events.
Remove some deprecated methods in ChannelFrame.
Change-Id: Id5e2318d2432c81cbf9d2f64aa062c888e12bcae
Reviewed-on: http://gerrit.dmdirc.com/3249
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 роки тому
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
4c9c084912
Remove deprecated URLBuilder-related stuff.
Change-Id: I0109f276aa49ddf3376969126c7e34ff020023e0
Reviewed-on: http://gerrit.dmdirc.com/3108
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 роки тому
Chris Smith
6d385706b1
Remove SwingController.getIdentityFactory().
Change-Id: I08db215e954aea317c2a7dd635b171fbde99ef00
Reviewed-on: http://gerrit.dmdirc.com/3096
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 роки тому
Chris Smith
be47045ae5
More injection and tidying up.
Change-Id: I111e31f9da6f7a4b79ab69d043de4c85c31e9b51
Reviewed-on: http://gerrit.dmdirc.com/3065
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 роки тому
Chris Smith
e5c04b4a97
Start injecting TextPane dependencies.
Bundle them up in a static class to avoid having to pass a million deps
around in each and every subclass.
Change-Id: I581e39f9da6f7a4b79ab69d043de4c81111e9b52
Reviewed-on: http://gerrit.dmdirc.com/3064
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 роки тому
Chris Smith
0fe941d062
Use WindowProviders/factories for all windows.
Remove the legacy code, which was used in far fewer places than I thought.
Change-Id: I72cfa09e92110163e16a8a43f18a4127560a65c1
Reviewed-on: http://gerrit.dmdirc.com/3063
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 роки тому
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 роки тому
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 роки тому
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 роки тому
Greg Holmes
b982c81d66
Show and hide topic bar appropriately.
Change-Id: Icafe5d6cc14f9afc25c5ee9cb27cc160addc12ba
Fixes-Issue: CLIENT-401
Reviewed-on: http://gerrit.dmdirc.com/2637
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
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 роки тому