Chris Smith
c12274ae0a
Avoid raising events before a frame has an ID.
8 jaren geleden
Chris Smith
d15111ddd3
Restructure to standard maven/gradle layout.
Stop swimming against the tide and accept what most of the rest of
the world does.
While it adds an annoying depth to the actual source code, it makes
the root directory nicer (no more 'test-res' dirs), means we don't
have to override the gradle config, and makes it nicer to work in
IDEA 2016.1.
8 jaren geleden
Chris Smith
226e713ee6
Track reasons for parting in Channel.
We'll use this to decide whether to auto-rejoin or not.
Issue #677
8 jaren geleden
Chris Smith
8371b0978c
Remove some unused code.
8 jaren geleden
Chris Smith
b54efa3c82
Remove some unused code.
8 jaren geleden
Chris Smith
18cb00a6bc
Assorted tidying.
8 jaren geleden
Chris Smith
10de163267
Separate InputModel functions from FrameContainer.
8 jaren geleden
Chris Smith
217b5b1a22
Remove input methods from WindowModel.
Migrate all users to using the InputModel.
8 jaren geleden
Chris Smith
874b2afd2d
Remove FrameContainer parent/child fields.
8 jaren geleden
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 jaren geleden
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 jaren geleden
Chris Smith
9897426a7a
Make topics have proper dates.
8 jaren geleden
Greg Holmes
7455fe09da
Fix client after parser changes. Eventbouseseses.
9 jaren geleden
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 jaren geleden
Chris Smith
ea9a81563c
Fix a bunch more FrameContainer references.
9 jaren geleden
Greg Holmes
59171a7c2b
Add a who type method to GroupChat
9 jaren geleden
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 jaren geleden
Chris Smith
946a10e37d
Use an EvictingQueue instead of RollingList.
9 jaren geleden
Chris Smith
6a115b8343
Finish removing sendwho functionality.
9 jaren geleden
Chris Smith
d629b64e4b
Replace Channel with GroupChat in commands.
(This depends on a plugins change)
9 jaren geleden
Chris Smith
9a92c38831
Couple more.
9 jaren geleden
Chris Smith
44f668acb4
Add some mode methods to GroupChat.
These are just proxies to ChannelInfo for now.
9 jaren geleden
Chris Smith
3633459198
Publish nicklist clear events synchronously.
Fixes DMDirc/Parser#62
9 jaren geleden
Chris Smith
ce25b15a62
Switch some more output to events.
9 jaren geleden
Greg Holmes
0a62be4bd0
Some more tidying.
9 jaren geleden
Chris Smith
b28b6e5f9b
Remove urlBuilder params.
From everywhere.
9 jaren geleden
Chris Smith
369d5b6c2b
Remove MessageTarget.
For some reason it reordered the ctor parameters, so fix them too...
9 jaren geleden
Chris Smith
020a9eed0f
Use new InviteManager iface.
Delete the duplicated methods from Connection.
9 jaren geleden
Chris Smith
d7d54945e6
Make GroupChatManager listen for channel closing.
Nicer than having Channel poke it explicitly.
9 jaren geleden
Chris Smith
933ffbbd8d
Make Channel use Connection not Server.
9 jaren geleden
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 jaren geleden
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 jaren geleden
Chris Smith
27c2985176
Use new formatter for channel joins.
This, uh, breaks some channels a little. Will fix in a follow-up.
Add support for Optionals in the event property manager.
9 jaren geleden
Chris Smith
90ea3407d4
Remove a few unused bits and bobs.
9 jaren geleden
Greg Holmes
ba464023fa
Switch topics over to events, fix lots of bugs in the events.
9 jaren geleden
Chris Smith
98af21f4b4
Disable the old formatting path for some events.
Everything handled by the event formatter is now soley done
based on that.
9 jaren geleden
Greg Holmes
a69affc703
Pass Users into doNotification everywhere.
9 jaren geleden
Greg Holmes
3d3a49d9b8
Remove uses of parser objects in processnotificationargs.
9 jaren geleden
Shane Mc Cormack
9f3fcd1b59
2015!
9 jaren geleden
Greg Holmes
0af10fe01e
Add managers to cache User + GroupChatUser
9 jaren geleden
Greg Holmes
630ae8ef62
Fix logic, move documentation.
9 jaren geleden
Greg Holmes
0dbf0caa26
Document and fix Channel.getDetails
9 jaren geleden
Greg Holmes
d77396e15a
Move from GroupChat to Connection.
9 jaren geleden
Greg Holmes
edf8cb538d
Add mode querying to GroupChat.
9 jaren geleden
Greg Holmes
8485e5cff9
Add kick to GroupChat + update KickCommand.
9 jaren geleden
Greg Holmes
6bf34be332
Make more things use GroupChatUser.
- Also by AutoValue Topic
- Also make getUser in Topic Optional
9 jaren geleden
Chris Smith
657817fd9b
Use GroupChat in Connection.getChannel().
9 jaren geleden
Greg Holmes
df7046f37c
Handle GroupChatUser + User in processNotificationArg
9 jaren geleden
Greg Holmes
e300bab3c5
Make Channel.getUser optional.
9 jaren geleden
Greg Holmes
28b2c9270d
Fix tests.
9 jaren geleden