Greg Holmes
5ab7408d0c
Add channel mode notice event.
Change-Id: I7d48905e7038c01962d4eb925f49ef1827bbc67d
Reviewed-on: http://gerrit.dmdirc.com/3477
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
6b4aad9e15
Add channel notice event.
Change-Id: I4f4ad7955d942b435607e2fe5bae6fce34f38261
Reviewed-on: http://gerrit.dmdirc.com/3478
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
258cd58b2e
Add channel ctcp event.
Change-Id: If5a01bc68f57f30f3ab2b4d9e55acbb8104e1ad6
Reviewed-on: http://gerrit.dmdirc.com/3476
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
f09f220f3b
Add some more channel events.
Change-Id: Iec42294582586783733482f96f6b93d8bdf4002c
Reviewed-on: http://gerrit.dmdirc.com/3475
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
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 years ago
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 years ago
Greg Holmes
71618c12bc
Start migrating to channel events.
Change-Id: Ie503350804b28e1c682d53017e849b0eba8c00c0
Reviewed-on: http://gerrit.dmdirc.com/3473
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
03ea5733d5
FrameManagers now own and manage an EventBus.
Change-Id: Ie23fdab32a811174b2634a2cc0c617aa91ae1fa2
Reviewed-on: http://gerrit.dmdirc.com/3471
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
b5bc3f7d1a
PluginManager doesn't need an ActionController.
Change-Id: Ifd7b733e61e92100f4aadb50fc890b3f8642337f
Reviewed-on: http://gerrit.dmdirc.com/3472
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Git
7cd4582cc6
Update submodules: plugins (new commits)
plugins:
6682b0b Chris Smith <chris@dmdirc.com >
Plugin support for optional FrameContainer parents
Depends-On: Ibaf13d210cd01e73adf08bac359244b14faef088
Gerrit: http://gerrit.dmdirc.com/3469
5c104f1 Greg Holmes <greg@dmdirc.com >
Use newly simplified query event classes.
Gerrit: http://gerrit.dmdirc.com/3467
Change-Id: I37e709fe9029822f709263a6b08e7b42085bc77b
10 years ago
Chris Smith
1ec3b56141
FrameContainer parents are Optional.
Change-Id: Ibaf13d210cd01e73adf08bac359244b14faef088
Depends-On: Ief9fccad45d654ffaee9d7a124ebc39f7af56166
Reviewed-on: http://gerrit.dmdirc.com/3470
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
cbd0bd52fb
Re-introduce support for Channels.
I didn't think they were that important, really.
Change-Id: I3b9d2aa76702b764d95bce2cccc0e6a56856b4c9
Reviewed-on: http://gerrit.dmdirc.com/3468
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Git
b7495daf20
Update submodules: plugins (new commits)
plugins:
96f5b57 Greg Holmes <greg@dmdirc.com >
Start removing query actions from logging plugin.
Gerrit: http://gerrit.dmdirc.com/3463
d54425f Chris Smith <chris@dmdirc.com >
Plugin support for FrameContainer changes.
Depends-On: I0dc9f767840ce0989739ea28f08254c78ef0d565
Gerrit: http://gerrit.dmdirc.com/3465
433e396 Chris Smith <chris@dmdirc.com >
Plugin support for optional colours.
Depends-On: I50a19086bab32a35fee535c8500a1636ff82b959
Gerrit: http://gerrit.dmdirc.com/3461
18f04e3 Chris Smith <chris@dmdirc.com >
More MainFrame->Window changes.
Gerrit: http://gerrit.dmdirc.com/3459
1da89bb Chris Smith <chris@dmdirc.com >
Add a @MainWindow qualifier in the swing plugin.
This allows the MainFrame to be injected as a plain Window or Frame.
Gerrit: http://gerrit.dmdirc.com/3457
f2c9d03 Greg Holmes <greg@dmdirc.com >
Remove Action events.
Depends-On: I67b558de082c1ce196800d8b0aafa2d6ce87b298
Gerrit: http://gerrit.dmdirc.com/3456
e2b2ef7 Greg Holmes <greg@dmdirc.com >
Remove plugin refresh action.
Depends-On: I831c8dbec6a97c3805b4d7e6ac66730ed8bb162a
Gerrit: http://gerrit.dmdirc.com/3454
45b649a Greg Holmes <greg@dmdirc.com >
Remove plugin (un)loaded events.
Depends-On: I84f07c00e0589ff25ae1b4a01f5671488b847925
Gerrit: http://gerrit.dmdirc.com/3449
Change-Id: Iadbad864a7340123301b60481bf9a1e1a9f880b2
10 years ago
Greg Holmes
2b1afbd1e2
Add base query text event class.
Change-Id: Ib39c4b2a6b6f6d9a225cf1630083c267ace0cc48
Reviewed-on: http://gerrit.dmdirc.com/3464
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
d67ae3ae27
Pass FrameContainer their parents when constructed
There's no reason for the parent to ever change, and this simplifies
a lot of things going forward.
Change-Id: I0dc9f767840ce0989739ea28f08254c78ef0d565
Depends-On: I3c0dc4b6cf42b5c6b69a499ac11195271c0aa846
Reviewed-on: http://gerrit.dmdirc.com/3466
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
10dd5575c6
Make notification colours optional.
The core shouldn't randomly default them to black - shunt that
down to the UIs instead.
Change-Id: I50a19086bab32a35fee535c8500a1636ff82b959
Depends-On: Ic17b9ff399a25e1b91bd1ce91d6d7071ba44ecb2
Reviewed-on: http://gerrit.dmdirc.com/3462
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@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
Greg Holmes
f7580ef22b
Add query events.
Change-Id: Id85f282e577078bf809403ae088f722d32418222
Reviewed-on: http://gerrit.dmdirc.com/3458
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
ac3c86a653
Remove Action events.
Change-Id: I67b558de082c1ce196800d8b0aafa2d6ce87b298
Reviewed-on: http://gerrit.dmdirc.com/3455
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
540904f04a
Remove plugin refresh event.
Change-Id: I831c8dbec6a97c3805b4d7e6ac66730ed8bb162a
Reviewed-on: http://gerrit.dmdirc.com/3452
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
25e7564521
Commands must have non-null origins too.
Change-Id: Iea8cc21d45ec063a2d184902a838224727fdcb49
Reviewed-on: http://gerrit.dmdirc.com/3453
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Greg Holmes
6e444ebec1
Remove plugin (un)loaded actions.
Depends-On: I413a3f6f72999262bf4426de082cc8c9946a6f90
Change-Id: I84f07c00e0589ff25ae1b4a01f5671488b847925
Reviewed-on: http://gerrit.dmdirc.com/3450
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
09cb002be2
Always specify an origin when parsing commands.
Where commands are executed globally, pass in a GlobalWindow.
Make the GlobalWindow a singleton that persists, and is simply
added/removed from the WindowManager when the user wants to
show/hide it.
Change-Id: Iac94848487442509bdbf8ec98f67983e313ed743
Reviewed-on: http://gerrit.dmdirc.com/3451
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
3866aa23cd
Use EventBus for client line added events.
Change-Id: I910ba2daa6a11926ba9aced2eb469ce38d9661f0
Reviewed-on: http://gerrit.dmdirc.com/3448
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Git
8f7c19fc93
Update submodules: plugins (new commits)
plugins:
a985fe1 Chris Smith <chris@dmdirc.com >
Pass EventBus in to FrameContainer.
Depends-On: I711722755bbf78de5b3ae3a6eec3e43985f4ed63
Gerrit: http://gerrit.dmdirc.com/3446
5438364 Chris Smith <chris@dmdirc.com >
Make sure plugins are compiled for Java 1.7.
Gerrit: http://gerrit.dmdirc.com/3444
Change-Id: I91e6f9d2d704fe0645f9b4a1814b7eabdaf084b0
10 years ago
Greg Holmes
0631ed5f86
Fix my previous stealth comit.
Change-Id: I47779bffe5a05145845275e94ed6929cd6bba01c
Reviewed-on: http://gerrit.dmdirc.com/3447
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
870416026b
Pass EventBus into FrameContainer.
Change-Id: I711722755bbf78de5b3ae3a6eec3e43985f4ed63
Depends-On: I65695d195052b7800e14f2128c84d344f61ff19c
Reviewed-on: http://gerrit.dmdirc.com/3445
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Greg Holmes
d2f09046b5
Add some base classes for events.
10 years ago
Git
f01282cd83
Update submodules: plugins (new commits)
plugins:
2dc8ce4 Greg Holmes <greg@dmdirc.com >
Add some more server events.
Depends-On: Ib12542d236757d76540d57ff54341e3b73ceb598
Gerrit: http://gerrit.dmdirc.com/3438
Change-Id: Ibe016c4f752ae7d1cc9dc7c64998bccc240019ec
10 years ago
Greg Holmes
5bf9e9b3ec
Add some more server events.
Change-Id: Ib12542d236757d76540d57ff54341e3b73ceb598
Reviewed-on: http://gerrit.dmdirc.com/3437
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
d62f295359
Fix mismatched tags in Javadoc.
Change-Id: If71abf90a2b924707b26ef4bee962db5a964a49b
Reviewed-on: http://gerrit.dmdirc.com/3442
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Git
40974f85ec
Update submodules: plugins (new commits)
plugins:
b713d16 Chris Smith <chris@dmdirc.com >
Fix some javadoc, unused import.
Gerrit: http://gerrit.dmdirc.com/3443
Change-Id: I0172651b972d56fdf58e8e57dd6090fa23e0b874
10 years ago
Git
743450cf08
Update submodules: plugins (new commits)
plugins:
eaddf0d Chris Smith <chris@dmdirc.com >
Use Connection.
Depends-On: Ib42aeb25d72b5412ad98fe80bd6726896d423504
Gerrit: http://gerrit.dmdirc.com/3434
17cdd37 Chris Smith <chris@dmdirc.com >
Use Connection in preference to Server.
Depends-On: I56c9a2bb9ad06e9e3ad911914b29a046959e30ea
Gerrit: http://gerrit.dmdirc.com/3432
Change-Id: Ie7d6ad5aafde72549ee01f788509da8331cfb7c5
10 years ago
Chris Smith
29a6c5036f
Use Connection in InviteListener
Change-Id: Ib42aeb25d72b5412ad98fe80bd6726896d423504
Depends-On: I686fa90b81cb8af49ec7a0f7d7f390825b0fe51e
Reviewed-on: http://gerrit.dmdirc.com/3435
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
7ebbb8c386
Add a way to get a FrameContainer from Connection.
At the moment Server is both a FrameContainer and a Connection, and
in most places we have to cast up to Server to do what we need to.
This adds a method to Connection to retrieve the associated
FrameContainer. Eventually they should be separate objects, with
the Connection implementation managing the parser and associated
state, and the FrameContainer modelling the window (providing
tab completers, line history, input handlers, etc).
Change-Id: I56c9a2bb9ad06e9e3ad911914b29a046959e30ea
Reviewed-on: http://gerrit.dmdirc.com/3431
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Git
0fdef29f3c
Update submodules: plugins (new commits)
plugins:
84bf49d Chris Smith <chris@dmdirc.com >
Bump jgit-describe version.
Gerrit: http://gerrit.dmdirc.com/3429
Change-Id: Idfdaf28fc50433b761a398ebfe117175ceb766ae
10 years ago
Chris Smith
1139d09b87
Bump jgit-describe version.
Change-Id: I3e78f2773fedc22c80888ab26042a6f523200680
Reviewed-on: http://gerrit.dmdirc.com/3428
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
5827f81ac9
Unused method.
Change-Id: Id54f09ba57572b2fedf07ac11201d7dbda23c719
Reviewed-on: http://gerrit.dmdirc.com/3427
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Git
c7a14e3a51
Update submodules: plugins (new commits)
plugins:
308c21b Chris Smith <chris@dmdirc.com >
Remove WritableFrameContainer.
Depends-On: Iab58f1d2b9275ee3fc60d79e433e158bae784911
Gerrit: http://gerrit.dmdirc.com/3425
Change-Id: Ic752da7665e041d9b9bc68a0bd9ac525544a0efd
10 years ago
Chris Smith
6dee6ca79e
Remove WritableFrameContainer.
Move the functionality down into just FrameContainer. Callers can use
isWritable() to determine if the FrameContainer is writable, instead
of horrible instanceof/casting logic.
Change-Id: Iab58f1d2b9275ee3fc60d79e433e158bae784911
Depends-On: I52a09d5f5ad69c2bebafa58582a173f706515fa6
Reviewed-on: http://gerrit.dmdirc.com/3426
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Git
7e92df212f
Update submodules: plugins (new commits)
plugins:
27fe1a8 Chris Smith <chris@dmdirc.com >
Remove usages of MessageTarget.
Gerrit: http://gerrit.dmdirc.com/3424
Change-Id: I40d34872251a5c4d4638907e4f7d41c789ee6ce1
10 years ago
Chris Smith
2ad6759918
Add interfaces for Chat and PrivateChat.
Common methods from GroupChat pushed down into Chat.
Change-Id: I57a6edc40ec9628dec4d0734989917ae379eff19
Reviewed-on: http://gerrit.dmdirc.com/3423
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Git
5050bfc141
Update submodules: plugins (new commits)
plugins:
48daeb0 Chris Smith <chris@dmdirc.com >
Update plugins for core FrameContainer changes.
Depends-On: Ifa80de021c22d2e302d4b66514923cd08c91cac4
Gerrit: http://gerrit.dmdirc.com/3421
Change-Id: Ife2c6130f807785066cd2882899838f8ba800052
10 years ago
Chris Smith
e60ced8489
Pass TabCompleter into base class.
There's no sane reason for this to be an abstract method - instead
just create the tab completer and pass it up to WritableFrameContainer.
Change-Id: Ifa80de021c22d2e302d4b66514923cd08c91cac4
Depends-On: I15ab9677fdbcb510ab87a69a07ce8ecb3a994f7f
Reviewed-on: http://gerrit.dmdirc.com/3422
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Greg Holmes
512fa1ca0e
Add version comparison to LauncherUtils
Remove convoluted return procedure.
Change-Id: If66a88c14cfbe0e17d47571f37030c16f9e36bb5
Reviewed-on: http://gerrit.dmdirc.com/3420
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
6791beb2e4
Make timers in Server more sensible.
Pass in a ScheduledExecutorService and use it for who timers and
reconnect timers.
Only run the who timer when we're connected, not the whole time.
This stops the Server ctor starting a timer.
Change-Id: Iea92d7046f33eda7666b8a2b739374345e8ea20d
Reviewed-on: http://gerrit.dmdirc.com/3419
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Git
1650d83195
Update submodules: plugins (new commits)
plugins:
e257d4a Greg Holmes <greg@dmdirc.com >
Eventbus the prefs events.
Depends-On: Ia3a86ce30a3ad96c2c67597dba341b2b10162c8e
Gerrit: http://gerrit.dmdirc.com/3418
Change-Id: I5c19d773f5319e842f0560da8061b02abf9f262b
10 years ago
Greg Holmes
7037a54c7d
EventBus the prefs events.
Change-Id: Ia3a86ce30a3ad96c2c67597dba341b2b10162c8e
Depends-On: I27e1059cc3228013d30bab85549434dea28f236c
Reviewed-on: http://gerrit.dmdirc.com/3417
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Greg Holmes
f16c35f114
Remove PreferencesManager singleton.
Change-Id: I6bc0a35ec29cbfc21b6ea2b45ea55849b0a8752a
Depends-On: I5fc194790dd1459d3dab546f306768d5b620626d
Reviewed-on: http://gerrit.dmdirc.com/3416
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 years ago
Chris Smith
cb6e8b9959
Tidy up topic handling.
Instead of returning either null or a topic, use Optional<>.
Change-Id: I9e8723fe0fe2b9209a401d33361f80fb832b9434
Depends-On: If0a0609ab778df22c02b8dc1d349da45b4b5b16f
Reviewed-on: http://gerrit.dmdirc.com/3415
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago