Chris Smith
b8bc8c5717
Fix some query nonsense.
For some reason we're checking hostname (e.g. dmdirc.com)
against full hosts (e.g. chris!ident@dmdirc.com ) and expecting
them to match.
Queries now check on nicknames.
9 years ago
Greg Holmes
0ea7328c4f
Check events are for us now there are no SpecificCallbacks.
9 years ago
Greg Holmes
7455fe09da
Fix client after parser changes. Eventbouseseses.
9 years ago
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 years ago
Chris Smith
ea9a81563c
Fix a bunch more FrameContainer references.
9 years ago
Chris Smith
5488531eb9
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.
9 years ago
Chris Smith
976e365835
Remove Query.getHost.
Only one place in the core needs the silly IRC format, so just
inline it there.
9 years ago
Greg Holmes
cf03e2ba8a
Sanitise some Optionals before returning in Query.getHost
9 years ago
Greg Holmes
c8a0b452a2
Fix odd query logic
9 years ago
Greg Holmes
5a225dac92
Add QueryNickChangeEvent formatter.
9 years ago
Greg Holmes
131bd2d7a7
Add a QueryQuitEvent, add new nickname to QueryNickChangeEvent.
9 years ago
Greg Holmes
6266711f11
Fix wrapped users being totally wrong.
9 years ago
Chris Smith
ce25b15a62
Switch some more output to events.
9 years ago
Chris Smith
b28b6e5f9b
Remove urlBuilder params.
From everywhere.
9 years ago
Chris Smith
369d5b6c2b
Remove MessageTarget.
For some reason it reordered the ctor parameters, so fix them too...
9 years ago
Chris Smith
b61c1bf788
Remove references to MessageTarget.
Doesn't make sense to have this any more, as Chat provides the
common interface between queries + channels.
9 years ago
Chris Smith
7ae63d4e04
Move query self messages to the new formatter.
9 years ago
Chris Smith
1697e8a10b
Make Query use Connection iface, not Server.
9 years ago
Chris Smith
9de663113e
Use new formatter for query action/msg.
Removes some usages of server.parseHostMask which needs to die.
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
Chris Smith
42fe0db71f
Fix naming of events.
We no longer need to be consistent with the odd casing/naming
of actions.
9 years ago
Greg Holmes
1707df7849
Retrieve optional users before passing on.
9 years ago
Greg Holmes
a69affc703
Pass Users into doNotification everywhere.
9 years ago
Greg Holmes
48124d1965
Remove some uses of parser local user.
9 years ago
Greg Holmes
3d3a49d9b8
Remove uses of parser objects in processnotificationargs.
9 years ago
Shane Mc Cormack
9f3fcd1b59
2015!
9 years ago
Greg Holmes
df7046f37c
Handle GroupChatUser + User in processNotificationArg
9 years ago
Greg Holmes
348033fc13
Stop get(Local)User returning Optional.
9 years ago
Chris Smith
6586b8ad11
Make Query use Users better.
Also remove some more parseHostname calls.
9 years ago
Greg Holmes
7519e098c4
Fix factory.
9 years ago
Greg Holmes
f00063e782
Use getLocalUser in Query.
9 years ago
Greg Holmes
9af0c8c996
Switch events to User.
9 years ago
Chris Smith
6ecb8e2e9a
Make getParser() optional.
Returning null is bad.
9 years ago
Chris Smith
f830257585
Rename getOptionalConnection() to getConnection().
9 years ago
Chris Smith
2eaaf532eb
Found a sneaky one left. Kill it.
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
e128a5a9ad
Move messages package to ui.messages.sink
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
d11784d24a
Use Stream API in place of foreach loops.
This is IDEA's automatic inspection, so stuff may be a bit wonky.
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
Chris Smith
353c485c62
EventUtil tidying.
Move to util package. Add constants for standard priorities.
Change-Id: Id469276751d8a31f19690469540d2c5d07cbe3bc
Reviewed-on: http://gerrit.dmdirc.com/3827
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 years ago
Chris Smith
d3ed8a460c
Tidying.
Fix some incorrect EventBus/notification logic in Query.
Change-Id: I4940bb16836fb39a117de7c3c36fc0aebd57eac0
Reviewed-on: http://gerrit.dmdirc.com/3825
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 years ago
Chris Smith
0cc678300e
Minor tidying and inspection fiddling.
Change-Id: Id95ee234e909ddb46eb04e24f143fe18658d4194
Reviewed-on: http://gerrit.dmdirc.com/3823
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
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 >
9 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 >
9 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 >
9 years ago