Chris Smith
5cc0af4324
Use EventBus interface.
This is just an IntelliJ refactor, using EventBus in place of
DMDircMBassador whenever possible.
7 vuotta sitten
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 vuotta sitten
Chris Smith
8e1c213a8c
Make topics use new date APIs.
8 vuotta sitten
Chris Smith
deb3b52ce4
Update date handling after parser changes.
The parser now uses the new API too, so we don't need to
do horrible things to convert.
8 vuotta sitten
Chris Smith
513120b5be
Convert events to use new date APIs.
Java 8 introduces a sane API for dates; to store datettimes
we should now be using LocalDateTime.
8 vuotta sitten
Chris Smith
9897426a7a
Make topics have proper dates.
8 vuotta sitten
Chris Smith
9176802331
Remove checkParser checks.
9 vuotta sitten
Chris Smith
bcbf7dc346
Use new formatter for mode discovery.
9 vuotta sitten
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 vuotta sitten
Greg Holmes
0ea7328c4f
Check events are for us now there are no SpecificCallbacks.
9 vuotta sitten
Greg Holmes
7455fe09da
Fix client after parser changes. Eventbouseseses.
9 vuotta sitten
Chris Smith
bb62909c4c
Remove split user mode handling.
9 vuotta sitten
Greg Holmes
21c3cf3630
Switch channel away/back to new formatters.
9 vuotta sitten
Chris Smith
d35fd12d0a
Use new formatter for kick events.
9 vuotta sitten
Chris Smith
b4551bf883
Use new formatter for channel nick changes.
9 vuotta sitten
Chris Smith
1aac5499df
Make channel part/quit events use the new formatter.
9 vuotta sitten
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 vuotta sitten
Chris Smith
615f1d6622
Make CTCPs use the new formatter.
9 vuotta sitten
Greg Holmes
0f70297218
"Fix" some compile time warnings
9 vuotta sitten
Chris Smith
42fe0db71f
Fix naming of events.
We no longer need to be consistent with the odd casing/naming
of actions.
9 vuotta sitten
Chris Smith
2b31be1c90
Add new formatter entries for channel mode changes.
9 vuotta sitten
Greg Holmes
ba464023fa
Switch topics over to events, fix lots of bugs in the events.
9 vuotta sitten
Chris Smith
7b3aabb4e6
Pass in date to all channel events.
9 vuotta sitten
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 vuotta sitten
Greg Holmes
a69affc703
Pass Users into doNotification everywhere.
9 vuotta sitten
Shane Mc Cormack
9f3fcd1b59
2015!
9 vuotta sitten
Greg Holmes
0af10fe01e
Add managers to cache User + GroupChatUser
9 vuotta sitten
Greg Holmes
fc23f90e2e
More GroupChatUser changes.
9 vuotta sitten
Greg Holmes
6bf34be332
Make more things use GroupChatUser.
- Also by AutoValue Topic
- Also make getUser in Topic Optional
9 vuotta sitten
Greg Holmes
e2a108b5de
More GroupChatUsers
9 vuotta sitten
Greg Holmes
e300bab3c5
Make Channel.getUser optional.
9 vuotta sitten
Greg Holmes
d88a183d9c
Use GroupChatUser some more.
9 vuotta sitten
Greg Holmes
2ee996a75e
Remove TopicChangeListener. Add Topic to topic events.
9 vuotta sitten
Greg Holmes
4b5519f282
Stop publishing topic events twice.
9 vuotta sitten
Greg Holmes
bb3c224bd0
Add Channel unset event.
Fixes #120
9 vuotta sitten
Greg Holmes
438e65ff0a
Initial workon ChannelClient.
9 vuotta sitten
Greg Holmes
348033fc13
Stop get(Local)User returning Optional.
9 vuotta sitten
Chris Smith
0e26372a5c
Use User in Topic.
9 vuotta sitten
Chris Smith
6ecb8e2e9a
Make getParser() optional.
Returning null is bad.
9 vuotta sitten
Chris Smith
f830257585
Rename getOptionalConnection() to getConnection().
9 vuotta sitten
Chris Smith
39bfa3f01f
Remove some deprecated uses of getConnection().
9 vuotta sitten
Chris Smith
f2f89a9c9f
Change optionals.
9 vuotta sitten
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 vuotta sitten
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 vuotta sitten
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 vuotta sitten
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 vuotta sitten
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
10 vuotta sitten
Greg Holmes
9632b3fcce
Use all the new channel events.
Change-Id: Iccd094635493e5379cdb1e4771edbbca68a61ed6
Reviewed-on: http://gerrit.dmdirc.com/3481
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 vuotta sitten
Chris Smith
dd1d5def97
Add util for despatching displayable events.
Tidy up a few event despatches.
Change-Id: I8c3f57097bfd7aabcba1bbd1cf495098b257e53c
Reviewed-on: http://gerrit.dmdirc.com/3479
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 vuotta sitten
Greg Holmes
2b0daac17a
Add some more actions.
Change-Id: Ib412a2b139ba1112c04f1f1b9b81d195554bf4e9
Reviewed-on: http://gerrit.dmdirc.com/3474
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 vuotta sitten