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.
vor 8 Jahren
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
vor 8 Jahren
Chris Smith
5edd67d7ff
Convert events to use new date APIs.
Java 8 introduces a sane API for dates; to store datettimes
we should now be using LocalDateTime.
vor 8 Jahren
Chris Smith
945e64b67e
Separate InputModel functions from FrameContainer.
vor 8 Jahren
Chris Smith
e579fda440
Remove input methods from WindowModel.
Migrate all users to using the InputModel.
vor 8 Jahren
Chris Smith
0e3805e4ac
Remove FrameContainer parent/child fields.
vor 8 Jahren
Chris Smith
3898c15cff
Remove unused methods/fields.
vor 8 Jahren
Chris Smith
c94ac4c2d6
Migrate debug plugin to showOutput/showError.
vor 8 Jahren
Chris Smith
4ea63a166b
Move raw events into the debug plugin.
vor 8 Jahren
Chris Smith
7372a69bc1
Use events for raw data in/out.
Issue DMDirc/DMDirc#426
vor 8 Jahren
Chris Smith
ad1f5d4f71
Switch some more plugins to use new events.
DMDirc/DMDirc#426
vor 8 Jahren
Chris Smith
768139de84
Plugin support for core changes.
With the removal of message sinks, the active window plugin has
nothing to do now. We can reimplement it much more simply
directly as part of the Swing UI.
vor 8 Jahren
Chris Smith
c6376f4cc2
Change all command output/error to use events.
vor 8 Jahren
Chris Smith
7720f26c63
Convert some commands to use output events.
vor 8 Jahren
Greg Holmes
f309edbf12
Fix fake errors not being reportable.
vor 9 Jahren
Greg Holmes
4a19a24748
Fix for core UpdateChcker changes.
vor 9 Jahren
Greg Holmes
b1a18fc571
SLf4J Logging in the Debug plugin
vor 9 Jahren
Greg Holmes
294777a54b
Listening to events helps.
vor 9 Jahren
Greg Holmes
d2bb1e71df
And some more fixes for it
vor 9 Jahren
Chris Smith
3a4e1cad51
Handle core CommandParser changes.
vor 9 Jahren
Chris Smith
80da82454f
Fix overzealous weakening.
vor 9 Jahren
Chris Smith
cc84eefa7c
And some more.
vor 9 Jahren
Chris Smith
3a0f8f2bc1
Make commands take a WindowModel.
vor 9 Jahren
Chris Smith
a379f544a9
Make Connection return a WindowModel.
Start to move FrameContainers behind an iface so they can be
pulled out.
For now, just cast back when needed.
vor 9 Jahren
Chris Smith
e52e4c8824
Replace MapList with Multimap.
vor 9 Jahren
Chris Smith
d0d0a2302b
Add raw support in debug plugin.
Closes #207
vor 9 Jahren
Chris Smith
916eaa44c5
Remove urlBuilder params.
vor 9 Jahren
Shane Mc Cormack
ef35f746ad
2015!
vor 9 Jahren
Chris Smith
ef539bcd56
Use new unread status manager in the debug plugin
vor 9 Jahren
Chris Smith
ac911578a3
Fix some nullable annotations in debug plugin.
vor 9 Jahren
Chris Smith
da35d3ee18
Compiling helps.
vor 9 Jahren
Chris Smith
e13dffc526
Use forEach where possible.
vor 9 Jahren
Chris Smith
4f58e0bfa6
Plugin support for core changes.
vor 9 Jahren
Chris Smith
20eb46bb2e
Rename getOptionalConnection() to getConnection().
vor 9 Jahren
Chris Smith
806a515361
Support for core package changes.
vor 9 Jahren
Chris Smith
3805e1614a
Plugin support for core FrameContainer change.
vor 9 Jahren
Chris Smith
4f2d8f57ec
Fix getConnection issues in debug plugin.
vor 9 Jahren
Chris Smith
699fb8d6ce
Change optionals.
vor 9 Jahren
Greg Holmes
dd09f8f472
Remove some uses of Statusbar Manager
vor 9 Jahren
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
vor 9 Jahren
Chris Smith
93230b1925
Don't depend on core tests.
Change-Id: I82192e3f01868d3a24aa774a20de831209555407
Reviewed-on: http://gerrit.dmdirc.com/3891
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
vor 9 Jahren
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 >
vor 9 Jahren
Greg Holmes
25db137bd6
Move Colour to utils.
Change-Id: Ibf9936e6cf89ebbe1243e1c32596bc726bebc5ce
Depends-On: I73c10f367e5972031d1c9b0871c4cb9043008bec
Reviewed-on: http://gerrit.dmdirc.com/3859
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
vor 9 Jahren
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 >
vor 9 Jahren