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 years ago
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 years ago
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 years ago
Chris Smith
f0019ffb26
Fix source of notice events.
We were raising notices as all coming from the local user, not
the person that sent the notice. This is... unideal.
9 years ago
Chris Smith
2c6a9413e3
Slf4j a few more bits.
9 years ago
Chris Smith
9176802331
Remove checkParser checks.
9 years ago
Greg Holmes
a8242ee8c4
Use new whois event from parser.
9 years ago
Greg Holmes
bc7a436581
Use new parser errors
9 years ago
Chris Smith
ea13622549
Make a couple more events use new formatter.
Stop ChannelListModesRetrieved being displayable - not sure
why it ever was, we don't have a formatter for it.
9 years ago
Greg Holmes
7455fe09da
Fix client after parser changes. Eventbouseseses.
9 years ago
Greg Holmes
fa3dabee4f
Switch to Guava String padding in ServerNumeric
9 years ago
Greg Holmes
a865e687bc
Switch QuerySelfExternal{Action,Message} to events.
9 years ago
Chris Smith
70a3692bed
Make more server events use the new formatter.
9 years ago
Chris Smith
d12b554b19
Make some server events use the new formatter.
9 years ago
Greg Holmes
58ba212b0a
Fix line wrapping.
9 years ago
Greg Holmes
9d53d5ec41
Add invite to ServerInviteReceivedEvent.
9 years ago
Chris Smith
4349f58de7
Move invite handling into a separate class.
9 years ago
Chris Smith
020a9eed0f
Use new InviteManager iface.
Delete the duplicated methods from Connection.
9 years ago
Chris Smith
3993ee8156
Fix away state dodgyness.
Since changing to events we need to fire when changing from
unknown->away. Before, this was handled by the Server being
told about the new message (and then firing listeners).
Fixes #391 .
9 years ago
Chris Smith
f9eb1c1275
Make a separate GroupChatManager.
For now this is just a straight(ish) copy of the way Server worked.
Need to make it use events in the future which should simplify it
quite a bit.
9 years ago
Chris Smith
615f1d6622
Make CTCPs use the new formatter.
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
a69affc703
Pass Users into doNotification everywhere.
9 years ago
Greg Holmes
48124d1965
Remove some uses of parser local user.
9 years ago
Shane Mc Cormack
9f3fcd1b59
2015!
9 years ago
Greg Holmes
a855f03a91
Fix some optionals from the merge.
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
82ce43c8a6
Remove some more ClientInfo usages.
9 years ago
Chris Smith
7661d5e45c
Use User in Invite.
9 years ago
Chris Smith
a28204440c
Push some event handling into ServerEventHandler.
9 years ago
Greg Holmes
802c905565
Fix unit test and add methods.
9 years ago
Greg Holmes
59e3352531
Make events use User.
9 years ago
Greg Holmes
9af0c8c996
Switch events to User.
9 years ago
Greg Holmes
1961e6f908
Camel case ServerInviteReceivedEvent.java
9 years ago
Greg Holmes
5dde881c86
Tidy up away states in Connection.
9 years ago
Chris Smith
6ecb8e2e9a
Make getParser() optional.
Returning null is bad.
9 years ago
Greg Holmes
4e5663a58c
Add EventBus logging to EventHandler.
Change-Id: Ied14c2fb45e4fd4f761d3cc4f3f000e48f5f6fcb
Reviewed-on: http://gerrit.dmdirc.com/3905
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
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
b1f373c5be
Fix various inspection errors.
Change-Id: Iaa5067d7b9276cc58b40f1338d5be2f25f44ddc3
Reviewed-on: http://gerrit.dmdirc.com/3693
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 years ago
Greg Holmes
81465e0c3e
Eventbus logging for ServerEventHandler
Change-Id: I680785129229a8546faaaf144f681f30bd1ff04a
Reviewed-on: http://gerrit.dmdirc.com/3663
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 years ago
Chris Smith
55beb5b4d7
Fix checkParser ordering.
Not much point throwing an exception if the server's state has
already been mucked up.
Change-Id: I3c64b46ab8c8f432a8276cb717b8816af1bea56a
Reviewed-on: http://gerrit.dmdirc.com/3640
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 years ago
Chris Smith
47c6026c45
Fix CTCP responses.
Only squelsh the response if the event *has* been handled by
something else.
Change-Id: I173e89c26470c1f605ce56f3e6c04b0d29476b35
Reviewed-on: http://gerrit.dmdirc.com/3639
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 years ago
Greg Holmes
6afb56b917
Add server events.
Change-Id: Id53eb0fba852cf19e80dbd51d6b45fc9fc3dbee6
Reviewed-on: http://gerrit.dmdirc.com/3486
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
5dde390450
Migrate to query events not actions.
Change-Id: I9a8817842167ae56f845987c5d345122667314df
Reviewed-on: http://gerrit.dmdirc.com/3460
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
c31b948249
Remove unused parameter.
Change-Id: I4f44421605db2d969a54e3aca99527fc5004cb03
Reviewed-on: http://gerrit.dmdirc.com/3378
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
Greg Holmes
cfb3fbaa38
Fix breaking the client actions
Change-Id: I5a904c669d2367d42c5d8da315c30d69beba8cae
Reviewed-on: http://gerrit.dmdirc.com/3259
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago