Chris Smith
874b2afd2d
Remove FrameContainer parent/child fields.
8 years ago
Chris Smith
9d18ce8942
Remove usages of FrameContainer window methods.
These will be going away shortly.
8 years ago
Chris Smith
ea9a81563c
Fix a bunch more FrameContainer references.
9 years ago
Chris Smith
499feaea3a
Make WindowManager use WindowModel.
9 years ago
Chris Smith
b28b6e5f9b
Remove urlBuilder params.
From everywhere.
9 years ago
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 years ago
Shane Mc Cormack
9f3fcd1b59
2015!
9 years ago
Chris Smith
f830257585
Rename getOptionalConnection() to getConnection().
9 years ago
Chris Smith
590fb6e484
Remove getConnection().
9 years ago
Chris Smith
31a78eb743
Fix various deprecated uses.
Change-Id: I0bb97a8946d1c217de82fe2a9b8f35b7d49eae06
9 years ago
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 years ago
Chris Smith
db4e5c2c77
Give the BackBuffer an EventFormatter.
Urgh.
9 years ago
Chris Smith
39bfa3f01f
Remove some deprecated uses of getConnection().
9 years ago
Chris Smith
c8ec0f77f9
Some OptionalConnection work.
Deprecate getConnection, fix CustomWindow's getOptionalConnection
returning null, change a couple of usages.
9 years ago
Greg Holmes
245880962b
Add getOptionalConnection.
9 years ago
Chris Smith
25916237d9
Simplify some optional logic.
9 years ago
Chris Smith
f2f89a9c9f
Change optionals.
9 years ago
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 years ago
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 >
10 years ago
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 >
10 years ago
Chris Smith
3091940b40
Lots of typo fixes.
Change-Id: I362e53fc9f05497f48dac4951991b79daebfdb81
Depends-On: Ide5afea6d4e7ba04cf3226f10e1ea530e1a60c10
Depends-On: Ic2a1b97aa44e9168bae4a1e28941208e7711bb46
Reviewed-on: http://gerrit.dmdirc.com/3743
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
03ea5733d5
FrameManagers now own and manage an EventBus.
Change-Id: Ie23fdab32a811174b2634a2cc0c617aa91ae1fa2
Reviewed-on: http://gerrit.dmdirc.com/3471
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
1ec3b56141
FrameContainer parents are Optional.
Change-Id: Ibaf13d210cd01e73adf08bac359244b14faef088
Depends-On: Ief9fccad45d654ffaee9d7a124ebc39f7af56166
Reviewed-on: http://gerrit.dmdirc.com/3470
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
d67ae3ae27
Pass FrameContainer their parents when constructed
There's no reason for the parent to ever change, and this simplifies
a lot of things going forward.
Change-Id: I0dc9f767840ce0989739ea28f08254c78ef0d565
Depends-On: I3c0dc4b6cf42b5c6b69a499ac11195271c0aa846
Reviewed-on: http://gerrit.dmdirc.com/3466
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
870416026b
Pass EventBus into FrameContainer.
Change-Id: I711722755bbf78de5b3ae3a6eec3e43985f4ed63
Depends-On: I65695d195052b7800e14f2128c84d344f61ff19c
Reviewed-on: http://gerrit.dmdirc.com/3445
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
01fa9b6453
Bulk remove inheritDoc.
Change-Id: I06a0f4ced5eb0c8281e52a38b37a27779c5d571b
Reviewed-on: http://gerrit.dmdirc.com/3273
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
f538c53f86
Fully configure the NB formatter and let it loose.
Change-Id: I7e8052839daa79fa113b89fd0b8c1c892a605b73
Reviewed-on: http://gerrit.dmdirc.com/3122
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
3f4c55edc7
Revert FrameContainer UrlBuilder sillyness.
Makes more sense to just bite the bullet and have FrameContainers
require a URLBuilder so they can make an IconManager, rather than
have every caller pass one in.
Also removes the silly map which would've only ever had one entry,
and stops us making 19 million icon managers for giggles.
Change-Id: I3b95185db3f7e6ef09a6c4f91cd28c88d2c601ba
Depends-On: Ida8887d4065db2f26080986a4c426c6de700d65c
Reviewed-on: http://gerrit.dmdirc.com/3107
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
48af85945c
Deprecate windowClosed and windowClosing methods.
These are a hold-over from when the core had to have a back-and-forth with
the UI in order to close a window.
Provide stub implementations in FrameContainer, deprecate them, and remove
any unecessary overrides in the core.
Change-Id: Icf9bfc6bc40b66135d161a5047d01d46b2171234
Reviewed-on: http://gerrit.dmdirc.com/3008
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Shane Mc Cormack
12b39dc0f8
Update Copyright to 2014
Change-Id: Id0904867640e49e12fca5c1c7c5b9e72c78e3a1b
Reviewed-on: http://gerrit.dmdirc.com/2976
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
c59e662ad4
FrameContainers should expose a Connection.
Anywhere that doesn't just work with a Connection, cast back to a Server for
now. These can be tidied up later.
Change-Id: I02a54b0bcfaef08d5757cc015c356f9779ec0371
Depends-On: Id55c3611173be7ed79fae8f9e976996d713b8646
Reviewed-on: http://gerrit.dmdirc.com/2950
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
67e955b2ae
Tidying, inject a few more things.
Change-Id: I9890b67a410c382ac29bd8c264fb7deed389710e
Reviewed-on: http://gerrit.dmdirc.com/2921
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
43d0bfac36
Tidy up how windows are added/removed.
- Don't have FrameContainers add themselves to the WindowManager in
the constructor.
- Don't make FrameContainers keep a reference to WindowManager just
to remove themselves when they're closed
- Instead have WindowManager register a FrameClosed listener and use
that to remove windows itself.
Change-Id: Iadbca8a28f7ef3372df7fda722a3cbba2a0fbad6
Depends-On: I0f60ac23438313cab49cdb86c089938f5ee44abc
Reviewed-on: http://gerrit.dmdirc.com/2842
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
0c43d2a21e
Remove most singleton uses of WindowManager.
Change-Id: Idd97b752328310b4f829a45a43de5fdf6f5712a5
Depends-On: I1f054c7423106afe3fc49db8dc44613ec11c35bb
Reviewed-on: http://gerrit.dmdirc.com/2816
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Shane Mc Cormack
b87e3ba335
Update copyright for 2013
Change-Id: Idf38f5027a92166daf99039de75b759d47431de1
Reviewed-on: http://gerrit.dmdirc.com/2607
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 years ago
Shane Mc Cormack
d26602c9dc
Update Copyright for 2012
Change-Id: I0d40c3ac86b9e06fad3f29bc36612b4162e54d1c
Reviewed-on: http://gerrit.dmdirc.com/2287
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
Chris Smith
d4507e0b3a
Deprecation fixes
Sprinkle some annotations over the CommandManager
More fiddling with NB7.1 settings
Change-Id: I2a0b751798249d4cc3e527f6d2e5525d1936f0e1
Reviewed-on: http://gerrit.dmdirc.com/2278
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
Chris Smith
f6907b0b4b
Add component change methods/listeners
Make frame container properties private not protected
Change-Id: Ifb7367b7f62fd6db42a932fbc1dfe53627c3353b
Depends-On: Ia332992e0259e88511b60cf565c7b09f5fc4e796
Reviewed-on: http://gerrit.dmdirc.com/2124
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 years ago
Chris Smith
1011d7136a
Remove window class from frame containers
Change-Id: I6c243840a40655bbbdd7a32ab707a7f2e15880ae
Depends-On: I32d75cc6dee8dce03390a2d29026f70e5ebf2bc4
Reviewed-on: http://gerrit.dmdirc.com/2096
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
13 years ago
Greg Holmes
5ec9aee7f8
Deprecate static IconManager
Change-Id: I2aa96278d9ffabe0739d101cda83b11c56a59728
Reviewed-on: http://gerrit.dmdirc.com/2086
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Greg Holmes
d04e2bea4f
Change header?
Change-Id: I635e0d111ed182713132145e4d5fb1654f776ec4
Reviewed-on: http://gerrit.dmdirc.com/2071
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Chris Smith
d76efc309f
Make WindowManager non-static
CLIENT-84
Change-Id: I4f8df35efbb7ce266d6e8b1239c646a0a9c92107
Depends-On: Ia9b45bc4ff7f17af9e1eed758c0a659f6ab47251
Reviewed-on: http://gerrit.dmdirc.com/1987
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 years ago
Chris Smith
198a1597cc
Rework FrameContainer/UI interaction
- FrameContainers are no longer parameterised
- Introduced notion of window "Components"
- Removed per-window interfaces - fixes CLIENT-218
Change-Id: Ieefbf2d1e157e3638dbe8fdedbd4f32642061329
Depends-On: Iecbb2941c99a3412dc2eb3b7f56fc584d2db483e
Reviewed-on: http://gerrit.dmdirc.com/1885
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Shane Mc Cormack
fd83b6b2a9
Update Copyright
Change-Id: I7f63fdd02ea0109fe31e55c44b078edae3862f32
Reviewed-on: http://gerrit.dmdirc.com/1726
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
675c52357b
Rework how window closing works
Fixes CLIENT-82
Change-Id: I4ea9fbf6c939a5b16f15ade230255b948e210c2c
Depends-On: I97f44a9269288f876a7a71b412302cec4238d9d4
Reviewed-on: http://gerrit.dmdirc.com/1600
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
a42e5be4fe
Remove some deprecated method use
Better handling for multiple/no windows
Change-Id: Iedfb161bd958d5f13de74818fe2e03838990263b
Reviewed-on: http://gerrit.dmdirc.com/1150
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
f4bbdb48fe
Massive window changes.
Highlights:
- FrameContainers are now generic, according to their window type
- Writable frame containers now handle their tab completers
- Redirect plugin works again
- Windows are no longer actively requested from the UI; the UI
creates and adds them in response to events from the WindowManager
fixes issue 3997, fixes issue 4000, fixes issue 4012, fixes issue 4030
fixes issue 4027, fixes issue 4028, fixes issue 4029, fixes issue 4031
fixes issue 4032, fixes issue 4033
Change-Id: Ife307728e46bd3b6dcd189be6886ab8b6fbd9212
Reviewed-on: http://gerrit.dmdirc.com/1144
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
9eeba69d5d
Deprecated methods, new ListenerList usage
Change-Id: I9fd4d0bfc2b23e25611f5fb7d845114bb6b8653b
Reviewed-on: http://gerrit.dmdirc.com/1125
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 years ago
Chris Smith
bec66870a7
Window titles are now handled by the core
Fixes issue 3996
Change-Id: I562e5db0da3af91b880cd98c9af11712750bf9f0
Reviewed-on: http://gerrit.dmdirc.com/1118
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
a660afd735
Lots of refactoring relating to windows
Fixes issue 3993 (dev error)
Fixes issue 3994 (dev error)
Fixes issue 3995 (dev error)
Fixes issue 3989
Fixes issue 3982
Change-Id: Ieb4773f25c856d07f3fb96c9a5e47ef43b3ca534
Reviewed-on: http://gerrit.dmdirc.com/1112
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 years ago