Chris Smith
7f69a44212
Make handling of lifecyclecomponents more generic.
Change-Id: If5f4b2c140a40b768f0acb616b6c7ec15165dc1e
Reviewed-on: http://gerrit.dmdirc.com/3526
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 anni fa
Greg Holmes
44911486b0
Add renamealias to corealiasdialogmodel
Change-Id: I3a6f219279f8c0a6a8a0f7471114b371a7039ef7
Reviewed-on: http://gerrit.dmdirc.com/3524
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 anni fa
Chris Smith
9e9984e280
Move aliases DI code into its own module.
Change-Id: Ifafbf427cd1a1f6ac0a1635c72b065a5f911c8fe
Reviewed-on: http://gerrit.dmdirc.com/3525
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 anni fa
Greg Holmes
fca2f139ae
Add unit tests for CoreAliasDialogModel
Change-Id: I40a3cd040855b53ec87fd476690ddf65c2e3d080
Reviewed-on: http://gerrit.dmdirc.com/3523
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 anni fa
Greg Holmes
20933ec0a1
Add core alias dialog model.
Change-Id: Ia8130431e23f965fe55725588f5eb637087c04df
Reviewed-on: http://gerrit.dmdirc.com/3522
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 anni fa
Chris Smith
61f974b17d
Hook aliases in Main, for now.
Change-Id: Ic51f6ca303a77cf0510780ba043402105381c04c
Reviewed-on: http://gerrit.dmdirc.com/3521
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 anni fa
Chris Smith
bd3583313c
Add an AliasLoader and associated plumbing.
Introduce a global lifecycle component interface which provides a
way to start/stop components, and will help with The Quitting Problem™
when we get around to it.
Change-Id: I6d43f354e90e8206bea3f61a74d09728c9cac5aa
Reviewed-on: http://gerrit.dmdirc.com/3520
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 anni fa
Chris Smith
c2edb71dc6
Add a store that reads/writes aliases.
Change-Id: I24afd60eecf5d77e8ecaf23de584243806df8fdd
Reviewed-on: http://gerrit.dmdirc.com/3519
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 anni fa
Chris Smith
750e485b6d
Make PreferencesReaderUtils more generic.
The way we're handling Yaml files ends up with an uncast Object
and we'll need to use these methods whenever handling Yaml.
Move PreferencesReaderUtils into utils, rename to just
YamlReaderUtils, and change the exception types it throws.
Change-Id: I5602740277185f20dab90621f73ed30204711c8b
Reviewed-on: http://gerrit.dmdirc.com/3518
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 anni fa
Chris Smith
cf8b7365d1
Add a manager for aliases.
Change-Id: Icdf50211d4b42e4014678f76a69a4c1ad089784a
Reviewed-on: http://gerrit.dmdirc.com/3517
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 anni fa
Chris Smith
da525f87b6
Add Command implementation for aliases.
Change-Id: Id9e68a94dc0b42b3fc4450154e2e2e71807a88c1
Reviewed-on: http://gerrit.dmdirc.com/3516
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 anni fa
Git
9f6d17d599
Update submodules: plugins (new commits)
plugins:
f795202 Greg Holmes <greg@dmdirc.com >
This code doesn't do subdirectories, so is completely broken. It just happens to not be used in the client.
Revert "Start using nio2 in resource managers."
This reverts commit bc1238c0e5 .
Gerrit: http://gerrit.dmdirc.com/3512
Change-Id: Ib2f5b0a8ab0dbade361f7aa0e8f58013289a6669
10 anni fa
Greg Holmes
0dbe332ec1
This code doesn't do subdirectories, so is completely broken. It just happens to not be used in the client.
Revert "Start using nio2 in resource managers."
This reverts commit a4c4174103 .
Change-Id: Ia0c6f0f1a7c654338573440826b0bb8c89564c17
Reviewed-on: http://gerrit.dmdirc.com/3513
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 anni fa
Chris Smith
35d0fc5b24
Guava 17.
Change-Id: I0e3a9e3bc023c9a0b2dfe0dcb1a593a24a63ed4e
Reviewed-on: http://gerrit.dmdirc.com/3515
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 anni fa
Chris Smith
85e2c8591e
Add a basic model class for aliases.
Change-Id: I2df03b35733bd60af99f9502166d4e96b02bb300
Reviewed-on: http://gerrit.dmdirc.com/3514
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 anni fa
Greg Holmes
a4c4174103
Start using nio2 in resource managers.
Change-Id: I2f9f58595e0867db798c1930d5a90975bab296f8
Depends-On: Ibac8f73683eec322d28cd10ced08c8777812ac43
Reviewed-on: http://gerrit.dmdirc.com/3509
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 anni fa
Git
de2c378b22
Update submodules: plugins (new commits)
plugins:
bc1238c Greg Holmes <greg@dmdirc.com >
Start using nio2 in resource managers.
Depends-On: I2f9f58595e0867db798c1930d5a90975bab296f8
Gerrit: http://gerrit.dmdirc.com/3510
Change-Id: I5cfb8d1632839360eb55b6708f5ee08e9ba52d7a
10 anni fa
Git
ff74022dee
Update submodules: util (new commits)
util:
4e6bf2d Chris Smith <chris@dmdirc.com >
Make some fields in TextFile final.
Gerrit: http://gerrit.dmdirc.com/3508
Change-Id: Ifa4d1eb736031cda1937ad02d35defb9c610222a
10 anni fa
Git
53339a854c
Update submodules: util (new commits)
util:
a48c210 Chris Smith <chris@dmdirc.com >
Allow null Files to be passed to TextFile again.
We do this for temporary configuration files which are never saved
(e.g. the addon settings). It's a bit of a kludge, but for now we
should maintain it.
Fixes-Issue: CLIENT-510
Gerrit: http://gerrit.dmdirc.com/3507
Change-Id: Ibeaf0b5f996bf8e305dde956906cdd5f3feeb19d
10 anni fa
Git
3d314978a5
Update submodules: plugins (new commits)
plugins:
aa61a7e Shane Mc Cormack <shane@dmdirc.com >
Get rid of nice, useful J8 method. #2
Gerrit: http://gerrit.dmdirc.com/3506
Change-Id: I1d3e9e0202a6cc1214016b8180ed652fc148cfac
10 anni fa
Git
aa129b11c6
Update submodules: plugins (new commits)
plugins:
446ab2b Chris Smith <chris@dmdirc.com >
Get rid of nice, useful J8 method.
Gerrit: http://gerrit.dmdirc.com/3505
Change-Id: I9243b595dd0cf35156591bdc1246a0afd63c5b51
10 anni fa
Git
e49bdec3bb
Update submodules: plugins (new commits)
plugins:
f4a65cd Greg Holmes <greg@dmdirc.com >
Badly handle error deleting profiles.
Depends-On: I752f5bebe42514f1dc21e1b77e1ee5a649f324f5
Depends-On: I9463e66dc39881bcc69b64b8900df1010683b0bc
Depends-On: I752f5bebe42514f1dc21e1b77e1ee5a649f324f5
Gerrit: http://gerrit.dmdirc.com/3504
Change-Id: Ie36bf3189d7ba91465833b5310aa4b6631bc8030
10 anni fa
Git
86d525808a
Update submodules: util (new commits)
util:
3f4f28c Greg Holmes <git@greg.holmes.name >
Add Path support to TextFile.
Depends-On: I9463e66dc39881bcc69b64b8900df1010683b0bc
Depends-On: I752f5bebe42514f1dc21e1b77e1ee5a649f324f5
Depends-On: I4fa54ebe8f4ff93c8fc33504af66338eda01d0b8
Gerrit: http://gerrit.dmdirc.com/3502
Change-Id: I96aca08eb6246e9b99d2994b70f3384ef974bd0b
10 anni fa
Greg Holmes
6c730e6ff2
Throw exceptions is we fail to delete config file based things.
Change-Id: I4fa54ebe8f4ff93c8fc33504af66338eda01d0b8
Depends-On: I752f5bebe42514f1dc21e1b77e1ee5a649f324f5
Depends-On: I9463e66dc39881bcc69b64b8900df1010683b0bc
Depends-On: I752f5bebe42514f1dc21e1b77e1ee5a649f324f5
Reviewed-on: http://gerrit.dmdirc.com/3503
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 anni fa
Git
8b69d86750
Update submodules: plugins (new commits)
plugins:
14fe3cb Greg Holmes <greg@dmdirc.com >
Remove another singleton.
Gerrit: http://gerrit.dmdirc.com/3501
Change-Id: If1a72555e641de09e348a97f72dbd3aa8670547b
10 anni fa
Git
96d964cac2
Update submodules: plugins (new commits)
plugins:
30eb994 Greg Holmes <greg@dmdirc.com >
Maybe convert actions listening to events in script plugin.
Gerrit: http://gerrit.dmdirc.com/3500
Change-Id: I00214d7c1eaabb9d203b6d83ecd2a509a78e401e
10 anni fa
Git
fc978beba8
Update submodules: plugins (new commits)
plugins:
bab9c07 Greg Holmes <greg@dmdirc.com >
Switch DCCManager to ServerCtcpEvent.
Gerrit: http://gerrit.dmdirc.com/3499
Change-Id: Ib87c8171586c96f2a44bb13c74c1ba6cbf51e50c
10 anni fa
Git
3ccd4cb0b2
Update submodules: plugins (new commits)
plugins:
229ea9b Greg Holmes <greg@dmdirc.com >
Refactor dCC slightly.
Add question dialog to DCC Chats.
Add question dialog to DCC Sends.
Remove unused method askQuestion method.
Gerrit: http://gerrit.dmdirc.com/3498
Change-Id: I3599839c2a2774241c92e25a8530352a4fd6e830
10 anni fa
Git
b047a25d53
Update submodules: plugins (new commits)
plugins:
16dc8c8 Greg Holmes <greg@dmdirc.com >
Convert DCC Plugin to use events.
Gerrit: http://gerrit.dmdirc.com/3494
d1900b8 Greg Holmes <greg@dmdirc.com >
Use events in lag display.
Depends-On: Id53eb0fba852cf19e80dbd51d6b45fc9fc3dbee6
Gerrit: http://gerrit.dmdirc.com/3496
Change-Id: Ie18b4333d592e7df2f20bba40bf5b07fbf2ee281
10 anni fa
Git
8abb8aa516
Update submodules: plugins (new commits)
plugins:
67f0c60 Greg Holmes <greg@dmdirc.com >
Use events for the logging plugin.
Depends-On: Id53eb0fba852cf19e80dbd51d6b45fc9fc3dbee6
Gerrit: http://gerrit.dmdirc.com/3497
Change-Id: Iae3088d55df7403e8295e8f0f65e8db366ba606a
10 anni fa
Greg Holmes
6afb56b917
Add server events.
Change-Id: Id53eb0fba852cf19e80dbd51d6b45fc9fc3dbee6
Reviewed-on: http://gerrit.dmdirc.com/3486
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 anni fa
Git
b3e322bbb9
Update submodules: plugins (new commits)
plugins:
75e1252 Greg Holmes <greg@dmdirc.com >
Fixes for from removing unknown_command action.
Depends-On: Ibcfc059d943a64494842eab68428ea8351206a09
Gerrit: http://gerrit.dmdirc.com/3491
Change-Id: I5713dae36fa8e8684958fe663cb255a4787577e0
10 anni fa
Greg Holmes
cb25fc6edc
Add unknown command event.
Depends-On: I06ee87cf6f7795eb3ee07828fb43f4381a465ac3
Change-Id: Ibcfc059d943a64494842eab68428ea8351206a09
Reviewed-on: http://gerrit.dmdirc.com/3488
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 anni fa
Greg Holmes
5337f506f6
Switch to nio for files in Action.
Change-Id: If5b1caa86eade5cb4f97fbe693b8029c5b5bbb95
Reviewed-on: http://gerrit.dmdirc.com/3495
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 anni fa
Git
99e2270f36
Update submodules: plugins (new commits)
plugins:
92d47c0 Greg Holmes <greg@dmdirc.com >
Use events not actions in nick colour plugin.
Depends-On: Id53eb0fba852cf19e80dbd51d6b45fc9fc3dbee6
Gerrit: http://gerrit.dmdirc.com/3492
ba29089 Greg Holmes <greg@dmdirc.com >
Fix topic bar erroring on config change.
Fixes-Issue: CLIENT-509
Gerrit: http://gerrit.dmdirc.com/3490
0dad00b Chris Smith <chris@dmdirc.com >
Include base classes in eventbus debug output.
Gerrit: http://gerrit.dmdirc.com/3485
Change-Id: I4d603739f030da8115882b6acc09faa58b6a4a47
10 anni fa
Greg Holmes
c8cbee55d7
Remove unused method.
Change-Id: Iafa20eb3a83f8ec91d4fe63cae33ff3056ebe035
Reviewed-on: http://gerrit.dmdirc.com/3493
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 anni fa
Greg Holmes
78b0bcde00
Fix javadoc errors.
Change-Id: I510480f106c27a2e28c25a709c4f48048600002c
Reviewed-on: http://gerrit.dmdirc.com/3489
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 anni fa
Greg Holmes
6cacf0bda4
self messages are self messages and self actions are self actions.
Change-Id: Ia694117ac772ebacc9ca30f0b2e5c7283c05e272
Reviewed-on: http://gerrit.dmdirc.com/3484
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 anni fa
Git
ecf3f7d5b9
Update submodules: plugins (new commits)
plugins:
748c333 Chris Smith <chris@dmdirc.com >
Add a debug command to view events.
Gerrit: http://gerrit.dmdirc.com/3483
Change-Id: Ia98fb4a386d1e5f78943d974d2b15c80bfb63261
10 anni fa
Greg Holmes
a4b8ca6fde
Remove unused actions.
Change-Id: Ib91fe8e4de5f05d08a3bcecbf6bd27fc1f773c8a
Reviewed-on: http://gerrit.dmdirc.com/3482
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 anni fa
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 anni fa
Greg Holmes
d7a581b6c5
Add the rest of the channel events
Change-Id: I9b28ce7e9d237f2dfe380f4ed5213b42d95ce3b8
Reviewed-on: http://gerrit.dmdirc.com/3480
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa