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 gadus atpakaļ
Chris Smith
86bd33fedb
Deprecate things that should be replaced by events
8 gadus atpakaļ
Chris Smith
dfb63e9836
Add some more events, remove some unused methods.
8 gadus atpakaļ
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 gadus atpakaļ
Chris Smith
daad29f32b
Tidying of Server.
Split out error description getting into its own method. Other
minor changes.
8 gadus atpakaļ
Greg Holmes
7f27d8ce48
Tidy up after changes.
9 gadus atpakaļ
Chris Smith
2c6a9413e3
Slf4j a few more bits.
9 gadus atpakaļ
Chris Smith
6a1926947c
Fix ServerEventHandler using a silly eventbus.
9 gadus atpakaļ
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 gadus atpakaļ
Greg Holmes
168b137e68
Use the parser's new whois command.
9 gadus atpakaļ
Chris Smith
ea9a81563c
Fix a bunch more FrameContainer references.
9 gadus atpakaļ
Chris Smith
d12b554b19
Make some server events use the new formatter.
9 gadus atpakaļ
Chris Smith
3fa826e95a
Remove channel who functionality.
This will go in a plugin instead.
9 gadus atpakaļ
Greg Holmes
69380fecd6
Add a getNickname to Connection.
This should probably be moved to the LocalClient interface when
it exists.
9 gadus atpakaļ
Greg Holmes
7e3efcde59
Add a set nickname to Connection.
9 gadus atpakaļ
Greg Holmes
61a6bd4707
Tidy up method call.
9 gadus atpakaļ
Greg Holmes
5bafe9a8fa
Add a sendmessage to Connection
9 gadus atpakaļ
Chris Smith
b28b6e5f9b
Remove urlBuilder params.
From everywhere.
9 gadus atpakaļ
Chris Smith
4349f58de7
Move invite handling into a separate class.
9 gadus atpakaļ
Chris Smith
360d48307f
Add an interface for an InviteManager.
9 gadus atpakaļ
Chris Smith
2c289544e7
Remove Server.parseHostMask
9 gadus atpakaļ
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 gadus atpakaļ
Chris Smith
7d5e1d2908
Copy GroupChat methods into a GroupChatManager.
Will remove them from Connection shortly. Then the functionality
can be pulled out of Server into a sane, separate class.
9 gadus atpakaļ
Chris Smith
ca785da4d8
Fix not being able to join channels...
9 gadus atpakaļ
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 gadus atpakaļ
Chris Smith
a63f70b05c
Make highlight colours configurable.
9 gadus atpakaļ
Greg Holmes
a69affc703
Pass Users into doNotification everywhere.
9 gadus atpakaļ
Greg Holmes
48124d1965
Remove some uses of parser local user.
9 gadus atpakaļ
Greg Holmes
3d3a49d9b8
Remove uses of parser objects in processnotificationargs.
9 gadus atpakaļ
Chris Smith
ab15bbb55b
Push some logic into Channel/Query factories.
Make these add the new window to the WindowManager, and post the
relevant event.
9 gadus atpakaļ
Chris Smith
e5a55f58ad
Decouple Server from ServerManager.
SM now listens to frame closing events, so Server doesn't need
to hold on to a reference and inform it that it's closing.
9 gadus atpakaļ
Shane Mc Cormack
9f3fcd1b59
2015!
9 gadus atpakaļ
Greg Holmes
0af10fe01e
Add managers to cache User + GroupChatUser
9 gadus atpakaļ
Greg Holmes
d77396e15a
Move from GroupChat to Connection.
9 gadus atpakaļ
Chris Smith
9d9857367e
Use GroupChat in Connection.getChannels().
Fix the channel message sink actually doing common channels...
I guess we're not really using that one.
9 gadus atpakaļ
Chris Smith
657817fd9b
Use GroupChat in Connection.getChannel().
9 gadus atpakaļ
Greg Holmes
df7046f37c
Handle GroupChatUser + User in processNotificationArg
9 gadus atpakaļ
Greg Holmes
e52f8b7ea0
Make Client store ClientInfo.
9 gadus atpakaļ
Chris Smith
75acc2bb2b
Small changes to GroupChat/Connection interfaces.
9 gadus atpakaļ
Chris Smith
04c3303281
Remove Raw from core.
9 gadus atpakaļ
Greg Holmes
3bd77172ec
Remove InviteListener.
9 gadus atpakaļ
Chris Smith
da1ebe1f85
Remove hasChannel.
Pointless now getChannel is optional.
9 gadus atpakaļ
Chris Smith
239974f942
Add utility method for holding parser readlock.
Cleans up a bit of repetition.
9 gadus atpakaļ
Greg Holmes
60c60a35b4
Add ServerInviteExpiredEvent.
9 gadus atpakaļ
Chris Smith
deae9bd285
Make getChannel optional.
9 gadus atpakaļ
Chris Smith
34a0bedc75
Remove getChannelNames.
Turns out there's no real use for it.
9 gadus atpakaļ
Chris Smith
167f858e91
Add getChannels and use it everywhere.
9 gadus atpakaļ
Chris Smith
b0901fa0ea
Rename getChannels to getChannelNames.
I want a method to return the actual Channels... :)
9 gadus atpakaļ
Greg Holmes
a855f03a91
Fix some optionals from the merge.
9 gadus atpakaļ
Greg Holmes
348033fc13
Stop get(Local)User returning Optional.
9 gadus atpakaļ