Chris Smith
217b5b1a22
Remove input methods from WindowModel.
Migrate all users to using the InputModel.
8 vuotta sitten
Chris Smith
e1e78e2437
Couple more deprecation fixes.
8 vuotta sitten
Chris Smith
621a53cf06
Change all command error/output to use events.
8 vuotta sitten
Chris Smith
2204bf0570
Convert some commands to use output events.
8 vuotta sitten
Chris Smith
e060357fb2
Fix deprecated methods in CommandFlagHandler.
8 vuotta sitten
Chris Smith
cfcf5f0994
Add getPath utility method to JimFsRule.
This saves getting the FS and suffering the barrage of warnings
related to auto-closeable resources.
9 vuotta sitten
Chris Smith
944ae22024
Add a JUnit rule for using JimFS.
This means each test doesn't have to set it up and tear it down
manually (although only one actually did bother to tear it down :)).
9 vuotta sitten
Chris Smith
18f5dc8980
Fix tests.
9 vuotta sitten
Chris Smith
8dccc60cf5
Remove some more AppErrorEvents.
9 vuotta sitten
Chris Smith
f75e7f79f2
Fix almost all remaining FrameContainer refs.
9 vuotta sitten
Chris Smith
d2c0dcd323
Add some alias tests.
9 vuotta sitten
Chris Smith
d629b64e4b
Replace Channel with GroupChat in commands.
(This depends on a plugins change)
9 vuotta sitten
Chris Smith
2342c58761
Fix tests.
9 vuotta sitten
Chris Smith
3214f6f141
Add a separate ServiceManager implementation.
9 vuotta sitten
Chris Smith
b61c1bf788
Remove references to MessageTarget.
Doesn't make sense to have this any more, as Chat provides the
common interface between queries + channels.
9 vuotta sitten
Chris Smith
aa7825b953
Fix tests
9 vuotta sitten
Chris Smith
dfd6ee709c
Use new GroupChatManager methods.
Remove them from the Connection interface.
9 vuotta sitten
Shane Mc Cormack
9f3fcd1b59
2015!
9 vuotta sitten
Chris Smith
bc9d93c6d0
Further work on the AutoCommandManager.
9 vuotta sitten
Greg Holmes
53abeb895f
Fix unit test.
9 vuotta sitten
Greg Holmes
fc23f90e2e
More GroupChatUser changes.
9 vuotta sitten
Greg Holmes
d36870597a
Tidy SetNickColour, fix unit test.
9 vuotta sitten
Chris Smith
657817fd9b
Use GroupChat in Connection.getChannel().
9 vuotta sitten
Chris Smith
b96d1b1f8c
Force a single global AutoCommand.
9 vuotta sitten
Chris Smith
6aa487bd6c
Make AutoCommand use AutoValue.
9 vuotta sitten
Chris Smith
da1ebe1f85
Remove hasChannel.
Pointless now getChannel is optional.
9 vuotta sitten
Chris Smith
deae9bd285
Make getChannel optional.
9 vuotta sitten
Chris Smith
d661e1efb0
Remove more usages of Server.
This adds a sendLine method to Connection, which is a bit icky,
but is useful when the end-user is supplying lines to pass
directly to the underlying connection.
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
31a78eb743
Fix various deprecated uses.
Change-Id: I0bb97a8946d1c217de82fe2a9b8f35b7d49eae06
9 vuotta sitten
Greg Holmes
5ed53e40dd
Remove (nearly all) Logger usages.
9 vuotta sitten
Chris Smith
e022c2ac09
Fix tests.
9 vuotta sitten
Greg Holmes
27aed2d417
Add AutoCommandType.
Remove existing auto commands dialog model.
9 vuotta sitten
Greg Holmes
8e9c2cee1a
Switch to Profiles.
9 vuotta sitten
Chris Smith
fbc50fb300
Fix tests.
9 vuotta sitten
Greg Holmes
e5f331f1b2
Add some methods to AutoCommandManager
9 vuotta sitten
Greg Holmes
8625562eaf
Switch to j8 Optional.
9 vuotta sitten
Chris Smith
68fe71042b
Don't depend on the IRC parser...
Sensible build systems break when we do this! :)
Change-Id: I7ebd886556377ffaa002d8148a61399f8f97f981
Reviewed-on: http://gerrit.dmdirc.com/4026
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 vuotta sitten
Chris Smith
2c2e7d6a6b
Make migrator use Path properly.
Finish unit tests.
Change-Id: I5dba46bccd147283d8389dcc3d2a4aadf4d827be
Reviewed-on: http://gerrit.dmdirc.com/4002
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 vuotta sitten
Chris Smith
3e75d1029f
Allow injecting Paths not Files.
Make the ActionAliasMigrator use a Path, and add a basic
unit test. Need to make ConfigFile use paths to do anything
sensible.
Also refresh gradle libs in idea so JimFs shows up.
Change-Id: I0cb2692083d0fe117b91edce63d8417ddd74e288
Reviewed-on: http://gerrit.dmdirc.com/3999
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 vuotta sitten
Greg Holmes
3fac8a376f
Add test for YamlAutoCommandStore
Change-Id: I62a9d05c94a3e2d31466a04c775f3afbddb09cdc
Reviewed-on: http://gerrit.dmdirc.com/3995
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 vuotta sitten
Greg Holmes
47ddc34331
Add AutoCommandLifecycleManagerTest.
Change-Id: I6b07117bb136b3817a92cb9c31dfd3222fc52a7c
Reviewed-on: http://gerrit.dmdirc.com/3969
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 vuotta sitten
Greg Holmes
ca7a2499ea
Add AutoCommandHandlerTest.
Change-Id: I0ef123c502f77f4438e8afc62490ff4d364d7fa4
Reviewed-on: http://gerrit.dmdirc.com/3968
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 vuotta sitten
Greg Holmes
1348b38a05
Improve AutoCommandManagerTest.
Change-Id: If9b6a83bfae4bdb8b83985874fc3610feb6b6512
Reviewed-on: http://gerrit.dmdirc.com/3967
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 vuotta sitten
Greg Holmes
201a49c77d
Add getGlobal/ConnectionCommands method.
Also test.
Change-Id: Iea8cfe088b98782d7e7ccbdb3d862ab47dbe6273
Reviewed-on: http://gerrit.dmdirc.com/3955
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 vuotta sitten
Chris Smith
6ae693893d
Enable PMD in gradle + apply fixes.
Change-Id: I3665cac8af833da793ca418953d934cc3a333459
Depends-On: I348b37a14097439f8a56b0a671794410e46201ca
Depends-On: Ifc4aa601de14ca2526646f499f60329ed7c5935e
Reviewed-on: http://gerrit.dmdirc.com/3939
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 vuotta sitten
Greg Holmes
8e404a59b8
Add a qualifier for ColourManager.
Change-Id: Icf9c64b84ddc129fe54765a4a3cac475c58cf1de
Depends-On: I81484e5df7b5dfeb7067ba211c11f2df198ac43c
Reviewed-on: http://gerrit.dmdirc.com/3893
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 vuotta sitten
Chris Smith
38b5e683a5
Replace loads of servers with connections.
Change-Id: Ia569d12d8d53797ef7378ceab2ba1f5bda3affdc
Depends-On: I11efabb2757d8e62127b6487cbeb62d240cbd891
Reviewed-on: http://gerrit.dmdirc.com/3873
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 vuotta sitten
Chris Smith
7f222c800f
Introduce a ConnectionManager.
Remove most references to Server.
Change-Id: I8888522d58ff4d332c4a477702442c29a82d12ff
Depends-On: Ic0e6e5f95adc30e773945c95e73d321d589503d2
Reviewed-on: http://gerrit.dmdirc.com/3872
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 vuotta sitten