Shane Mc Cormack
97eaa45ed7
Actually fire ChannelUserModeChangeEvents
7 лет назад
Shane Mc Cormack
f103ca0b0f
Change publish to publishAsync() in onChannelJoin to fix DMDirc/DMDirc#791 (#793)
7 лет назад
Chris Smith
192550f434
Move event bus code to a bundle.
Issue #750
7 лет назад
Chris Smith
4c35da850d
Update copyright.
7 лет назад
Chris Smith
5cc0af4324
Use EventBus interface.
This is just an IntelliJ refactor, using EventBus in place of
DMDircMBassador whenever possible.
7 лет назад
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 лет назад
Chris Smith
8e1c213a8c
Make topics use new date APIs.
8 лет назад
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 лет назад
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 лет назад
Chris Smith
9897426a7a
Make topics have proper dates.
8 лет назад
Chris Smith
9176802331
Remove checkParser checks.
9 лет назад
Chris Smith
bcbf7dc346
Use new formatter for mode discovery.
9 лет назад
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 лет назад
Greg Holmes
0ea7328c4f
Check events are for us now there are no SpecificCallbacks.
9 лет назад
Greg Holmes
7455fe09da
Fix client after parser changes. Eventbouseseses.
9 лет назад
Chris Smith
bb62909c4c
Remove split user mode handling.
9 лет назад
Greg Holmes
21c3cf3630
Switch channel away/back to new formatters.
9 лет назад
Chris Smith
d35fd12d0a
Use new formatter for kick events.
9 лет назад
Chris Smith
b4551bf883
Use new formatter for channel nick changes.
9 лет назад
Chris Smith
1aac5499df
Make channel part/quit events use the new formatter.
9 лет назад
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 лет назад
Chris Smith
615f1d6622
Make CTCPs use the new formatter.
9 лет назад
Greg Holmes
0f70297218
"Fix" some compile time warnings
9 лет назад
Chris Smith
42fe0db71f
Fix naming of events.
We no longer need to be consistent with the odd casing/naming
of actions.
9 лет назад
Chris Smith
2b31be1c90
Add new formatter entries for channel mode changes.
9 лет назад
Greg Holmes
ba464023fa
Switch topics over to events, fix lots of bugs in the events.
9 лет назад
Chris Smith
7b3aabb4e6
Pass in date to all channel events.
9 лет назад
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 лет назад
Greg Holmes
a69affc703
Pass Users into doNotification everywhere.
9 лет назад
Shane Mc Cormack
9f3fcd1b59
2015!
9 лет назад
Greg Holmes
0af10fe01e
Add managers to cache User + GroupChatUser
9 лет назад
Greg Holmes
fc23f90e2e
More GroupChatUser changes.
9 лет назад
Greg Holmes
6bf34be332
Make more things use GroupChatUser.
- Also by AutoValue Topic
- Also make getUser in Topic Optional
9 лет назад
Greg Holmes
e2a108b5de
More GroupChatUsers
9 лет назад
Greg Holmes
e300bab3c5
Make Channel.getUser optional.
9 лет назад
Greg Holmes
d88a183d9c
Use GroupChatUser some more.
9 лет назад
Greg Holmes
2ee996a75e
Remove TopicChangeListener. Add Topic to topic events.
9 лет назад
Greg Holmes
4b5519f282
Stop publishing topic events twice.
9 лет назад
Greg Holmes
bb3c224bd0
Add Channel unset event.
Fixes #120
9 лет назад
Greg Holmes
438e65ff0a
Initial workon ChannelClient.
9 лет назад
Greg Holmes
348033fc13
Stop get(Local)User returning Optional.
9 лет назад
Chris Smith
0e26372a5c
Use User in Topic.
9 лет назад
Chris Smith
6ecb8e2e9a
Make getParser() optional.
Returning null is bad.
9 лет назад
Chris Smith
f830257585
Rename getOptionalConnection() to getConnection().
9 лет назад
Chris Smith
39bfa3f01f
Remove some deprecated uses of getConnection().
9 лет назад
Chris Smith
f2f89a9c9f
Change optionals.
9 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад