Chris Smith
b5e200216d
Disable numeric formatting, remove dead code.
With numeric formatting gone, all output is either added direct
to a window (which will be changed soon) or done through
displayable events. Message sinks are now completely unused,
as they don't affect displayable events.
Issue #426
8 年之前
Chris Smith
86bd33fedb
Deprecate things that should be replaced by events
8 年之前
Chris Smith
dfb63e9836
Add some more events, remove some unused methods.
8 年之前
Chris Smith
4b61733f0c
Move some more formats over to events.
This allows us to remove a fair chunk of the notification
handling functionality in FrameContainer.
Issue 426
8 年之前
Chris Smith
1576c2c798
Tidy up some unused/uncommonly used methods.
I think these will eventually go away entirely, once everything
is event-bus'd, but I'm not entirely sure how that works any
more :(
8 年之前
Chris Smith
deaf4b232f
Tidy how CommandParsers are created.
Instead of passing them in to the FrameContainer ctor, create
them afterwards.
This means the reference in FrameContainer can't be final but
removes the horrible setOwner() kludge that was previously in
CommandParser, and cuts down the deps needed to pass in to the
FrameContainer ctor.
9 年之前
Chris Smith
20bba51ce3
Weaken some things to WindowModel.
9 年之前
Chris Smith
499feaea3a
Make WindowManager use WindowModel.
9 年之前
Chris Smith
3c16993963
Fix NPE when trying to add timestampless lines.
Think we're going to stop supporting this. If there's a decent
case for it then it should be done as a DisplayProperty instead.
9 年之前
Chris Smith
7287ba0d4f
Add an interface for FrameContainers.
9 年之前
Chris Smith
b28b6e5f9b
Remove urlBuilder params.
From everywhere.
9 年之前
Chris Smith
81c0783258
Kill FrameContainer.getIconManager.
9 年之前
Chris Smith
3571ffe3e7
Remove unused methods.
9 年之前
Chris Smith
eb67b89a04
Stop BackBuffer being so lazy.
We now need it to exist independently of anything requesting it,
otherwise we miss lines being added.
9 年之前
Chris Smith
91aacc31b3
Make unread colours user-specified.
Add defaults for the old colours instead of horrible lime green.
9 年之前
Shane Mc Cormack
9f3fcd1b59
2015!
9 年之前
Chris Smith
176d35072f
Remove old notification code.
Drop the /notify command, as manually setting it doesn't make
sense in a post-actions world.
Drop the action component because they're now useless.
9 年之前
Chris Smith
cdcdae6056
Add getter for USM.
9 年之前
Chris Smith
7816913a78
Unsubscribe the status manager when frames close.
9 年之前
Chris Smith
11a021e08f
Raise events.
Should probably improve this to only raise an event when the
values change, but will do for now.
9 年之前
Chris Smith
2e45dfbbe0
Store display properties in Line.
9 年之前
Chris Smith
9523367174
Replace old addText method with new one.
9 年之前
Chris Smith
f830257585
Rename getOptionalConnection() to getConnection().
9 年之前
Chris Smith
590fb6e484
Remove getConnection().
9 年之前
Chris Smith
2366ffc524
Move BackBuffer to ui.messages.
It doesn't really make sense in ui.core now it's doing more...
The classes it's integrating are all in messages.
9 年之前
Chris Smith
db4e5c2c77
Give the BackBuffer an EventFormatter.
Urgh.
9 年之前
Chris Smith
b1bbc6f919
Make BackBuffer subscribe to events.
This is where displayable events are going to be added.
9 年之前
Greg Holmes
f4f6739927
Fix compile error.
9 年之前
Chris Smith
13b7feefc9
Add a BackBuffer class.
This will move some of the logic out of FrameContainer, and will
be responsible for handling DisplayableEvents in the future.
9 年之前
Chris Smith
e128a5a9ad
Move messages package to ui.messages.sink
9 年之前
Chris Smith
c8ec0f77f9
Some OptionalConnection work.
Deprecate getConnection, fix CustomWindow's getOptionalConnection
returning null, change a couple of usages.
9 年之前
Greg Holmes
245880962b
Add getOptionalConnection.
9 年之前
Chris Smith
f2f89a9c9f
Change optionals.
9 年之前
Chris Smith
78093e4dac
Tidy up a load of com.dmdirc classes.
9 年之前
Chris Smith
6e13b5604c
Really minor style changes.
9 年之前
Greg Holmes
a4089d5a66
Add ColourManagerFactory
Change-Id: I6ef45d10a4fe862854702eee671114ee09f01d4d
Depends-On: If1bc20d15561584c9296ad10f04957efb51c5966
Reviewed-on: http://gerrit.dmdirc.com/3865
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 年之前
Greg Holmes
22e1a9aee1
Move Colour to utils.
Change-Id: Icb4de047bfada18231b66011838958974282a322
Depends-On: I73c10f367e5972031d1c9b0871c4cb9043008bec
Depends-On: Ibf9936e6cf89ebbe1243e1c32596bc726bebc5ce
Reviewed-on: http://gerrit.dmdirc.com/3860
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 年之前
Greg Holmes
7291b8dd33
Remove NotificationListener.
Change-Id: I63edbcc5d77c291519899c79375b6dedfc903dd6
Depends-On: I9bc5c5321065969f68bd9c5ae0e9d3a47653f713
Reviewed-on: http://gerrit.dmdirc.com/3820
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 年之前
Greg Holmes
5ce04e48b7
Remove FrameComponentChangeListener
Change-Id: I6489df6c489e74222ae5ddc134ebb5416cbdbbcb
Reviewed-on: http://gerrit.dmdirc.com/3817
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 年之前
Greg Holmes
8dae832678
Remove FrameCloseListener.
Change-Id: Id068acdc99a55c9ad7a87c6c65818af3ab9f4b96
Reviewed-on: http://gerrit.dmdirc.com/3816
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 年之前
Greg Holmes
86de7ffa19
Don't async the close as we disconnect too quickly.
Change-Id: Ia2f5d938ff8a4f3cdfe63199b92b08a2c4f0994f
Reviewed-on: http://gerrit.dmdirc.com/3815
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 年之前
Chris Smith
8b126d6dc8
Don't disconnect the eventbus too soon.
Helps if it's still connected when we try to use it two lines later.
Change-Id: I5ad71c943b4449eafa121ee41976197679ccb2e1
Reviewed-on: http://gerrit.dmdirc.com/3814
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 年之前
Chris Smith
80fabe3a49
Fix @Nonnull lies.
Change-Id: I32b4a4cd7828e8c3457072b897f5f2c3e0575ca3
Reviewed-on: http://gerrit.dmdirc.com/3790
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 年之前
Greg Holmes
880753b3cc
Remove FrameInfoListener.
Change-Id: I6c59a6ea441a966ddacc268c880b55fd06705e39
Reviewed-on: http://gerrit.dmdirc.com/3766
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 年之前
Greg Holmes
746bb6081d
Generify MBassador.
Change-Id: Id3cfa404a56528542120f79c969d992a5c183aba
Reviewed-on: http://gerrit.dmdirc.com/3771
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 年之前
Greg Holmes
ba81ca3604
Add events for various frame events.
Change-Id: I0fed39b3e4a199a4b87d3b2e182d1c674ac4c072
Reviewed-on: http://gerrit.dmdirc.com/3755
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 年之前
Greg Holmes
b12a0cb412
MBassador.
Change-Id: I2baa7e986ded54930093768238ed24cab8cf4bf7
Depends-On: I2cf35d5859c85c3609002f126241536fda5d588e
Reviewed-on: http://gerrit.dmdirc.com/3769
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 年之前
Greg Holmes
411e2cbcac
Add frame changed events, deprecate listener.
Change-Id: I1d3f667790a1daedd736e46751ee8d7106d316a1
Reviewed-on: http://gerrit.dmdirc.com/3749
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 年之前
Chris Smith
5321ea8492
Style/inspection fixes.
Change-Id: Icd1b2e56b740d27af85f82563f9eef06f33a1914
Reviewed-on: http://gerrit.dmdirc.com/3698
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 年之前
Chris Smith
8176ecd3c1
Typo fixes.
Change-Id: I402d52e9bd09192fee54584e24f0eff33fd581e4
Depends-On: I2028d8c1ddd14b276f373b9400265b25f0e5e939
Reviewed-on: http://gerrit.dmdirc.com/3697
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 年之前