Greg Holmes
e5bfdae23a
Change feedback URL.
Change-Id: Id4f392b9e646eed8b90357974523772ae1b2b72e
il y a 9 ans
Chris Smith
663ef2c19c
Sprinkle some @Nullables around.
Other minor tidying.
Change-Id: I1e41c7e348b58a0fdea3aaae5a647051f9274409
Reviewed-on: http://gerrit.dmdirc.com/4079
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Greg Holmes
8b79db53a5
Stop using ResourceManagers some more.
Depends-On: Ie8f2c6abe05eac9897cada8e17b67ed1d982d95e
Change-Id: Ic48f35315ff795c6dd44bf24190ca19581ca71d3
Reviewed-on: http://gerrit.dmdirc.com/4076
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Greg Holmes
961bf642ac
Use new FileUtils methods for in the client.
Change-Id: I8dd7ba2f57c43ca64d7ea978a34e00749396a035
Depends-On: I20d3a7b908bbeae833ffffe0598b99bde47021c7
Reviewed-on: http://gerrit.dmdirc.com/4074
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 9 ans
Greg Holmes
06c704e346
Remove some more ResourceManager code.
Change-Id: I45a8b3fbcff999d36f8613515bf6b520c33a4a5b
Reviewed-on: http://gerrit.dmdirc.com/4071
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Greg Holmes
2661262fa4
Switch to Path for setting up config directory.
Also in this change ditch the resource manager for working out
the current working directory, the JVM provides this for us
(user.dir), much less can go wrong with this.
Change-Id: I5746ee043b5974df2b59eb9c586661ac815051d8
Reviewed-on: http://gerrit.dmdirc.com/4070
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 9 ans
Chris Smith
b1c59cce2c
Assorted tidying.
Change-Id: I918bb6183a19d0e400e37176e3f213b80a36514a
Reviewed-on: http://gerrit.dmdirc.com/4069
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Greg Holmes
58116292b8
Use Path for Downloader.
Change-Id: I820bc2d5c480a51f4de211bfa38a9a56592f399d
Reviewed-on: http://gerrit.dmdirc.com/4054
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Chris Smith
252f6702d1
Fix IdentityManager extraction, test.
Change-Id: Iad1d54ecebb7b3e5d13318ca2550ebc540cbd62b
Reviewed-on: http://gerrit.dmdirc.com/4044
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Greg Holmes
442cc605f5
Remove getResourceManager methods
Change-Id: I1d67da9cffb16e3fe720642b5ce7451375ab8469
Reviewed-on: http://gerrit.dmdirc.com/4034
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Greg Holmes
b2b1e47fc4
Convert PluginFilesHelper away from ResourceManager.
Initial testing seems to work. Will add unit tests later.
Change-Id: I3824ce74f41e70be605004fa4b0973be837f73e3
Reviewed-on: http://gerrit.dmdirc.com/4033
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 9 ans
Greg Holmes
cd81f1fb0f
Remove some more uses of ResourceManager.
Change-Id: I84af38e71783565410c5c24236ee8c74c0cf372e
Reviewed-on: http://gerrit.dmdirc.com/4031
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 9 ans
Greg Holmes
39d3ca092e
identities done live in the licenses folder.
Change-Id: If83e228ed5d30dea17a9c4ef01e10ef741e44cfd
Reviewed-on: http://gerrit.dmdirc.com/4030
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Greg Holmes
06b9044534
Remove some more ResourceManager
Change-Id: I4dd45e1d6c8de9e35071d22cce999f368798e540
Reviewed-on: http://gerrit.dmdirc.com/4025
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 9 ans
Greg Holmes
1b7af58027
Start moving away from ResourceManager.
Change-Id: I5738618fc319defaefa6ab7427ce4c0447e90272
Reviewed-on: http://gerrit.dmdirc.com/4023
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 9 ans
Chris Smith
1934e86d9f
Make the ActionServerPerformMigrator use paths.
Change-Id: I2504986d864be44764a78c5850a1cbe08394d54c
Reviewed-on: http://gerrit.dmdirc.com/4016
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 9 ans
Chris Smith
8c4160a590
Rewrite the ConfigFileBackedConfigProviderTest.
(aka the "IdentityTest")
Make it a lot less dumb, use a virtual FS so we can test reloading
and saving. Fix a bunch of bugs the tests highlighted.
Only things not really tested are the global config specific
behaviours.
Change-Id: I96448eb9c401ce864cd6f39fd95088a4a8a09727
Reviewed-on: http://gerrit.dmdirc.com/4015
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 9 ans
Chris Smith
4b39af4679
Unused method.
Change-Id: Iab6e13ee15efe07027c93ad2a1edabdc88fdf306
Reviewed-on: http://gerrit.dmdirc.com/4011
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Chris Smith
aefb110fff
Path-ify the IdentityManager.
Change-Id: Iaf2b64f2bd6dcf834e3621e26ae3ff6b81cdb2b4
Reviewed-on: http://gerrit.dmdirc.com/4007
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 9 ans
Chris Smith
fb0ab89eb5
Style fixes
Change-Id: I7743e62ce70f3e4e0bc07c90aeb62279783f7af6
Reviewed-on: http://gerrit.dmdirc.com/4006
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 9 ans
Chris Smith
0395c28966
Explicitly set versions here too.
Changes to handle MBassador upgrade.
Change-Id: I9e1fe2b0a858c378c4d4340db50ec5ade45cbb10
Reviewed-on: http://gerrit.dmdirc.com/4004
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Chris Smith
2fc90da41d
Don't parse to an Integer then unbox.
Change-Id: I0f6ccc2a3af5a10a6d92e4b01f30f4f805c8f56c
Reviewed-on: http://gerrit.dmdirc.com/4003
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 9 ans
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 >
il y a 9 ans
Chris Smith
527fd97323
Add migrator for action-based performs.
This converts performs in the "performs" group into auto commands.
It doesn't touch any custom written global actions - will handle
those in a separate migrator.
Change-Id: I7226dfee1b705a9e057094f425703a1b051685df
Reviewed-on: http://gerrit.dmdirc.com/3998
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 9 ans
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 >
il y a 9 ans
Greg Holmes
3cb82bae8c
Add some @Overrides and add the inspection.
Change-Id: If443a2b4dc5905433cd1b0b42eaaa93cc7db77e8
Reviewed-on: http://gerrit.dmdirc.com/3997
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Greg Holmes
ad57b542e3
Add equals to AutoCommand
Change-Id: I5dd31b61c579539580b9f944e2da6252d97afa90
Reviewed-on: http://gerrit.dmdirc.com/3996
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 9 ans
Chris Smith
020beee50b
Tidy up icky logic.
Change-Id: I2d7b5dcfe37d3648c3827cd305d0cc7ae4dacef9
Reviewed-on: http://gerrit.dmdirc.com/3975
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 9 ans
Chris Smith
89f415dd92
Stop the whois formatter being GC'd.
Change-Id: Ibb61ed83a2b0b37d10d6a11d44c62de3eaa04425
Fixes-Issue: CLIENT-528
Reviewed-on: http://gerrit.dmdirc.com/3972
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 9 ans
Chris Smith
45f89c8f98
Fix another NPE when there's no ContextClassLoader
Change-Id: I5718cb6b795557b505c41b22ad12fe021bcd77a6
Reviewed-on: http://gerrit.dmdirc.com/3971
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 9 ans
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 >
il y a 9 ans
Chris Smith
a11ce023d9
Mark some Command params as nullable.
Change-Id: I6817cf188e01490b991d1e0db6f58c975957f634
Reviewed-on: http://gerrit.dmdirc.com/3949
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 9 ans
Chris Smith
13b6b419d9
Remove CipherUtils.
We haven't used this in the N years it's existed, and it uses
scary MD5/DES stuff.
Change-Id: I3934d3cc769980527f03b16a5c273f76fc89cdfb
Reviewed-on: http://gerrit.dmdirc.com/3948
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
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 >
il y a 9 ans
Chris Smith
47213d185b
Random uncommitted tidying
Change-Id: Ib7fba3b5ca12b594dc8fda4d578f8478793e693f
Reviewed-on: http://gerrit.dmdirc.com/3926
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 9 ans
Chris Smith
0bd92413f9
Fall back if there's no ContextClassLoader.
ContextClassLoader may be null if the system class loader should
be used. For some reason recently this seems to be null
intermittently when trying to load an error icon.
Fall back to the IconManager's class loader in this case.
Change-Id: I7522de991b629c5d1f490f060bd544a5f39e622b
Reviewed-on: http://gerrit.dmdirc.com/3921
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Chris Smith
df55470ea4
Tidying
Change-Id: I2ae082b9a0a6596615627debd052b80502b92c58
Reviewed-on: http://gerrit.dmdirc.com/3920
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Chris Smith
ff9d4a7e4e
AutoCommands should match case-insensitively.
Change-Id: Iaf8e4e310b6228addf7819a3ce4783bd4d807845
Reviewed-on: http://gerrit.dmdirc.com/3916
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Chris Smith
2105ee7eb5
AutoCommand fixes.
Don't use a sorted map, as the commands aren't sortable.
Unsubscribe when stopping, instead of subscribing a second time...
Change-Id: Ib0301c9089de950dc4341c44169d94cb8dc2b2b4
Reviewed-on: http://gerrit.dmdirc.com/3915
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
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
il y a 9 ans
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 >
il y a 9 ans
Chris Smith
6706e20690
Remove some redundant casts
Change-Id: I234d41cf734bb70a52aeb04359f21031f7d1d521
Reviewed-on: http://gerrit.dmdirc.com/3884
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 9 ans
Chris Smith
83896241c5
Move plugin stuff to a separate module.
Change-Id: I5f984e8522c82b5351f7f86db9c4e50937cd9357
Reviewed-on: http://gerrit.dmdirc.com/3877
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Greg Holmes
7c42da8ff9
EventBus logging for ColourManager.
Change-Id: I90019c349b63348779b4b4478659682406289c36
Reviewed-on: http://gerrit.dmdirc.com/3875
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Chris Smith
59182e752f
Split config stuff into a separate dagger module
Change-Id: Icfe7aacc8a1a0e13cbf492ba49e95030b4d53918
Reviewed-on: http://gerrit.dmdirc.com/3876
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
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 >
il y a 9 ans
Greg Holmes
a4089d5a66
Add ColourManagerFactory
Change-Id: I6ef45d10a4fe862854702eee671114ee09f01d4d
Depends-On: If1bc20d15561584c9296ad10f04957efb51c5966
Reviewed-on: http://gerrit.dmdirc.com/3865
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
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 >
il y a 9 ans
Chris Smith
54cee141ed
Don't expose servers.
Change-Id: I5db4e866f20ca7e8d4c1ba596ef6248755f4d2ec
Depends-On: I58e485b06887b1215b4d4cba7f2244404a7b81aa
Reviewed-on: http://gerrit.dmdirc.com/3870
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans
Chris Smith
40889a1e3f
Rename TabCompleterResult.
It's not a result of completing, it's a collection of matches after
starting completion.
Move logic specifically for the bash tab completer into the bash
plugin.
Change-Id: I24dfd19a887a4bafe767aa24377d6dbeb305f77d
Reviewed-on: http://gerrit.dmdirc.com/3866
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 9 ans