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 >
9 лет назад
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
9 лет назад
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 >
9 лет назад
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 лет назад
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 >
9 лет назад
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 лет назад
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
9 лет назад
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 >
9 лет назад
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 >
9 лет назад
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 >
9 лет назад
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 >
9 лет назад
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 лет назад
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 >
9 лет назад
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
9 лет назад
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 лет назад
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 >
9 лет назад
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
9 лет назад
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
9 лет назад
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
9 лет назад
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
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 лет назад
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 лет назад
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 >
9 лет назад
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
9 лет назад
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
9 лет назад
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
9 лет назад
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 лет назад
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
9 лет назад
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 лет назад
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
9 лет назад
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
9 лет назад
Chris Smith
2bc91b764c
Tidying
Change-Id: I6e8c8bee3664c5cd9975fce3cf1a3b3670e4cca2
Reviewed-on: http://gerrit.dmdirc.com/3864
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 лет назад
Chris Smith
48fef31090
Move static methods out of TabCompleter.
Change-Id: I80df12d3494a651bc63117d26b1caf94771a51dd
Reviewed-on: http://gerrit.dmdirc.com/3862
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 лет назад
Greg Holmes
22e1a9aee1
Move Colour to utils.
Change-Id: Icb4de047bfada18231b66011838958974282a322
Depends-On: I73c10f367e5972031d1c9b0871c4cb9043008bec
Depends-On: Ibf9936e6cf89ebbe1243e1c32596bc726bebc5ce
Reviewed-on: http://gerrit.dmdirc.com/3860
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 лет назад
Greg Holmes
47ab89f740
EventBus logging.
Change-Id: I65dfb318fd8eebc784a8703b43fd0c565fcc88fb
Reviewed-on: http://gerrit.dmdirc.com/3854
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 лет назад
Chris Smith
460601925a
Tidying.
Remove pointless super() calls.
Remove redundant interface decs.
Remove unnecessary enum annotations.
Change .length == 0 to .isEmpty.
Change-Id: Idf6909061c246072af786d9292dc2f5ecd0ed337
Reviewed-on: http://gerrit.dmdirc.com/3841
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 лет назад
Chris Smith
2110bb56b9
Fix ChannelDisplayableUserEvent.
It extends ChannelDisplayableEvent, but overrides the display properties
weirdly.
Change-Id: I0be53d090b4161ac8051873cabf796f498e5c4aa
Reviewed-on: http://gerrit.dmdirc.com/3840
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 лет назад
Chris Smith
693264fb86
Make all the things final.
Change-Id: I0c128522391d4de8452c603fae89d260c1a34ec2
Reviewed-on: http://gerrit.dmdirc.com/3836
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 лет назад
Chris Smith
0b42c771be
Initial work on EventFormatters.
These will be used to format events for displaying in a window.
Change-Id: I30381c2adc7bd77de486d6c0410a0a6395a7ea8d
Reviewed-on: http://gerrit.dmdirc.com/3835
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 лет назад
Chris Smith
4784239044
Add display properties to DisplayableEvents.
This will allow listeners to change how events are displayed,
for example setting the default FG colour to red when the
user is highlighted.
Depends-On: I21f9babe74a90b5cfea6daba815c08e7a4b5afa5
Change-Id: I0ac716ee335ed40531af698fe475d077aba2766d
Reviewed-on: http://gerrit.dmdirc.com/3833
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
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 лет назад
Chris Smith
d3ed8a460c
Tidying.
Fix some incorrect EventBus/notification logic in Query.
Change-Id: I4940bb16836fb39a117de7c3c36fc0aebd57eac0
Reviewed-on: http://gerrit.dmdirc.com/3825
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 лет назад
Chris Smith
0cc678300e
Minor tidying and inspection fiddling.
Change-Id: Id95ee234e909ddb46eb04e24f143fe18658d4194
Reviewed-on: http://gerrit.dmdirc.com/3823
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 лет назад
Greg Holmes
7291b8dd33
Remove NotificationListener.
Change-Id: I63edbcc5d77c291519899c79375b6dedfc903dd6
Depends-On: I9bc5c5321065969f68bd9c5ae0e9d3a47653f713
Reviewed-on: http://gerrit.dmdirc.com/3820
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 лет назад
Greg Holmes
5ce04e48b7
Remove FrameComponentChangeListener
Change-Id: I6489df6c489e74222ae5ddc134ebb5416cbdbbcb
Reviewed-on: http://gerrit.dmdirc.com/3817
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 лет назад
Greg Holmes
8dae832678
Remove FrameCloseListener.
Change-Id: Id068acdc99a55c9ad7a87c6c65818af3ab9f4b96
Reviewed-on: http://gerrit.dmdirc.com/3816
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 лет назад
Chris Smith
d5b9bebef5
Make ChildEventBusManager.disconnect async.
This allows other async events a chance to be popagated up to
the parent, rather than the bus abruptly being cut off with
a bunch of pending events.
Change-Id: I2a60826174d33240c0a1016b41ef881efdd97fed
Reviewed-on: http://gerrit.dmdirc.com/3818
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 лет назад
Greg Holmes
86de7ffa19
Don't async the close as we disconnect too quickly.
Change-Id: Ia2f5d938ff8a4f3cdfe63199b92b08a2c4f0994f
Reviewed-on: http://gerrit.dmdirc.com/3815
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 лет назад
Chris Smith
8b126d6dc8
Don't disconnect the eventbus too soon.
Helps if it's still connected when we try to use it two lines later.
Change-Id: I5ad71c943b4449eafa121ee41976197679ccb2e1
Reviewed-on: http://gerrit.dmdirc.com/3814
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 лет назад
Greg Holmes
06179bfd89
Use FrameClosingEvents in WindowManager.
Change-Id: Iba5bc03ad28b1bb28def0b7a1f27c9cf4e2fe7d0
Reviewed-on: http://gerrit.dmdirc.com/3813
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9 лет назад