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 роки тому
Greg Holmes
faebdab489
Tidy up some impoorts.
7 роки тому
Greg Holmes
15dc5f8d0a
Fix layout issue from MigLayout update
The mainframe just laid out really badly, splitpane didn't grow, the
statusbar was underneath things.
7 роки тому
Chris Smith
e8f7078f00
Stop using Window and InputWindow.
These interfaces are basically pointless.
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.
7 роки тому
Greg Holmes
d56bc1005c
Fix some EDT violations.
9 роки тому
Greg Holmes
f9936babec
Ditch manual thread call in MainFRame quit.
9 роки тому
Chris Smith
05cba01890
Move swing-specific events into swing.
9 роки тому
Greg Holmes
33e3b06c97
Fix NPE in MainFrame titlechanged.
9 роки тому
Chris Smith
935e77181c
Move the IconManager to ui_swing.
9 роки тому
Chris Smith
02db7894ef
Clear status when showing a new window.
9 роки тому
Chris Smith
89f079caed
Revert "Potential stab-in-the-dark fix for race condition."
9 роки тому
Chris Smith
b306387719
Potential stab-in-the-dark fix for race condition.
9 роки тому
Shane Mc Cormack
ef35f746ad
2015!
9 роки тому
Chris Smith
d752112620
Use new unread status events.
9 роки тому
Greg Holmes
3b6a1a2c3b
Move EDTHandlerInvocationi back.
9 роки тому
Greg Holmes
e078cdf7bb
Couple of tidyings.
9 роки тому
Greg Holmes
845307fdc8
Split focus listener into its own class.
9 роки тому
Greg Holmes
794d34f46f
Use lambdas in StandardQuestionDialog.
9 роки тому
Greg Holmes
5dd33e33f9
Switch events to TextFrame.
9 роки тому
Greg Holmes
55a2f4f54c
Switch to Optional for active frame in MainFrame.
9 роки тому
Greg Holmes
57f4af88a6
Split ActiveFrameManager out of MainFrame
9 роки тому
Greg Holmes
3418968ba4
No need for the invoke later
9 роки тому
Greg Holmes
23e285c266
Use EDT when setting active frame.
9 роки тому
Greg Holmes
cac3c54006
Use events for switching window.
9 роки тому
Greg Holmes
1d4851de6a
Switch to SwingEventBus
9 роки тому
Greg Holmes
5c37804865
Tidying
9 роки тому
Chris Smith
699fb8d6ce
Change optionals.
9 роки тому
Greg Holmes
b503f89771
Switch to events for selection.
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 роки тому
Greg Holmes
607e82d8d9
Switch to AutoClose instead of StreamUtils.
Change-Id: I6af125efcbd20942f62774570aa670b40ee12538
Reviewed-on: http://gerrit.dmdirc.com/3793
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@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 роки тому
Greg Holmes
e0818b5f05
Remove unused ctor param in MainFrame.
Change-Id: I0bafdeb68a0f8eab9f9d8fbc7ee059494042ee96
Reviewed-on: http://gerrit.dmdirc.com/3760
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 роки тому
Greg Holmes
e822032df9
Use events for title changes in MainFrame.
Change-Id: Ia8c6706f822f553de37fee9ccd4e21c564596b71
Reviewed-on: http://gerrit.dmdirc.com/3759
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 роки тому
Greg Holmes
9866acf452
Add swing event bus and use it for swing window events.
Change-Id: I7eb05936b40ce38d0288fa7d05ea90b48d9cc469
Reviewed-on: http://gerrit.dmdirc.com/3747
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 роки тому
Greg Holmes
14fe3cb594
Remove another singleton.
Change-Id: I83d319c563b2862caf7278a1d60669cfff5242ce
Reviewed-on: http://gerrit.dmdirc.com/3501
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 роки тому
Greg Holmes
f97d409395
Avoid erroring when removing null windows.
Change-Id: Id79031d5537cd8869e9195f2d944879b79a09f37
Reviewed-on: http://gerrit.dmdirc.com/3379
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 роки тому
Greg Holmes
e4369ec0e7
Add interface for active frame management.
Change-Id: I9028e6f92a6e076a0d446ef2321898924d6faa39
Reviewed-on: http://gerrit.dmdirc.com/3322
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 роки тому
Greg Holmes
43f326cafd
Move MainFrame initialisation out of constructor.
Change-Id: If84baaa21a34335cd41e9b06bf4c693889cdfd76
Reviewed-on: http://gerrit.dmdirc.com/3320
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 роки тому
Chris Smith
af5e767849
Style fixes.
Change-Id: Ib37854e542193ee859cbe30e953e6cb48a1f110e
Reviewed-on: http://gerrit.dmdirc.com/3310
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 роки тому
Greg Holmes
da5a0b3037
Tidy font + plaf handling
Change-Id: I892219602e96f57e5cba6b5da8f166442354d598
Reviewed-on: http://gerrit.dmdirc.com/3307
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 роки тому
Chris Smith
31dc4b5c37
Use services for frame managers.
To add a frame manager, a plugin must export a FrameManagerProvider instance.
This will drop users back to using a treeview as their previous config setting
will be wrong (it needs to point to the Provider class now), and I don't think
it's worth adding migration code given we know of 0 users of the buttonbar.
This also enables us to dependency inject the frame managers.
Change-Id: Ic66997625587e1adc0ee6ed1c7e38fba31ec47e7
Reviewed-on: http://gerrit.dmdirc.com/3283
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@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
5967929b9a
Add a couple of EDT checks.
Change-Id: I6748fa13ae77502c63d51ed25945ea80bf6d3bf1
Reviewed-on: http://gerrit.dmdirc.com/3261
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 роки тому
Chris Smith
67254648d0
Use another two events.
Change-Id: I929be7640d7dc0ad478f8cae5736b5425f423152
Reviewed-on: http://gerrit.dmdirc.com/3252
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
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 роки тому
Greg Holmes
b68d6331eb
Inject Apple into things
Change-Id: Ie1a76a811cfbdc03422c45c81c466cc46cfa19ce
Reviewed-on: http://gerrit.dmdirc.com/3243
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 роки тому