Chris Smith
192550f434
Move event bus code to a bundle.
Issue #750
пре 7 година
Chris Smith
4c35da850d
Update copyright.
пре 7 година
Chris Smith
1ae3f15867
Move IRC control codes to their own class.
Some other minor tidying to Styliser.
пре 7 година
Chris Smith
5cc0af4324
Use EventBus interface.
This is just an IntelliJ refactor, using EventBus in place of
DMDircMBassador whenever possible.
пре 7 година
Chris Smith
d15111ddd3
Restructure to standard maven/gradle layout.
Stop swimming against the tide and accept what most of the rest of
the world does.
While it adds an annoying depth to the actual source code, it makes
the root directory nicer (no more 'test-res' dirs), means we don't
have to override the gradle config, and makes it nicer to work in
IDEA 2016.1.
пре 8 година
Chris Smith
8cd93c8c7e
Add a base class for events with a WindowModel source.
For #662 , it makes sense to have a standard way to
get the source from events we may wish to filter.
This introduces a SourcedEvent interface, and adapts classes
to use it.
пре 8 година
Chris Smith
b54efa3c82
Remove some unused code.
пре 8 година
Chris Smith
217b5b1a22
Remove input methods from WindowModel.
Migrate all users to using the InputModel.
пре 8 година
Chris Smith
7edabe683d
Only validate/wrap commands that exist locally.
Stop the InputHandler running off to the global command manager for
commands - instead get them from the command parser it's associated
with.
Fixes #47
пре 9 година
Chris Smith
f75e7f79f2
Fix almost all remaining FrameContainer refs.
пре 9 година
Chris Smith
92471f0c49
And some more.
пре 9 година
Chris Smith
fd7ee806a4
Make UIs use WindowModel more.
пре 9 година
Greg Holmes
dc34229ddd
unsubscribe too.
пре 9 година
Greg Holmes
82c3e0116f
Shutdown executor on frame close.
пре 9 година
Greg Holmes
5a165b78b6
Stop thread bombing when typing.
пре 9 година
Shane Mc Cormack
9f3fcd1b59
2015!
пре 9 година
Chris Smith
a5fbd0cc24
Use forEach where possible.
пре 9 година
Greg Holmes
06174e8574
Switch to Executors from TimerTasks.
пре 9 година
Chris Smith
6cc6ceab91
Tidy up.
Remove deprecated methods, make all methods on TCUtils non-static.
пре 9 година
Chris Smith
633e6ae990
Make TabCompleterUtils instansiable.
(I think that's a word.)
This needs a dependency on CommandManager, so makes sense to DI
it.
пре 9 година
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
пре 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
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 година
Chris Smith
f6bf1c96ab
Remove pointless inheritDocs.
Change-Id: I0f9d7bf81ceaa80891279ffa9ff905691474edb0
Reviewed-on: http://gerrit.dmdirc.com/3805
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 9 година
Chris Smith
d2e5df51fc
Reorganise all imports
Change-Id: Ie6d110a3413e41bb42516f39e97b6cc11e8a777a
Reviewed-on: http://gerrit.dmdirc.com/3774
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 9 година
Greg Holmes
746bb6081d
Generify MBassador.
Change-Id: Id3cfa404a56528542120f79c969d992a5c183aba
Reviewed-on: http://gerrit.dmdirc.com/3771
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 9 година
Greg Holmes
b12a0cb412
MBassador.
Change-Id: I2baa7e986ded54930093768238ed24cab8cf4bf7
Depends-On: I2cf35d5859c85c3609002f126241536fda5d588e
Reviewed-on: http://gerrit.dmdirc.com/3769
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 9 година
Chris Smith
3091940b40
Lots of typo fixes.
Change-Id: I362e53fc9f05497f48dac4951991b79daebfdb81
Depends-On: Ide5afea6d4e7ba04cf3226f10e1ea530e1a60c10
Depends-On: Ic2a1b97aa44e9168bae4a1e28941208e7711bb46
Reviewed-on: http://gerrit.dmdirc.com/3743
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 9 година
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 година
Chris Smith
03843da9b6
Tidy up some deprecated uses.
Change-Id: Ib0cbe91bec51db7e66d860d65840e784f880e53d
Depends-On: Iec6278e7aa84c74fa8a6fea1af2d021f3835b241
Reviewed-on: http://gerrit.dmdirc.com/3392
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Chris Smith
01fa9b6453
Bulk remove inheritDoc.
Change-Id: I06a0f4ced5eb0c8281e52a38b37a27779c5d571b
Reviewed-on: http://gerrit.dmdirc.com/3273
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Chris Smith
f538c53f86
Fully configure the NB formatter and let it loose.
Change-Id: I7e8052839daa79fa113b89fd0b8c1c892a605b73
Reviewed-on: http://gerrit.dmdirc.com/3122
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Greg Holmes
b6f3fa8b31
Remove lombok
Change-Id: Iffabac791e396580c5baea604d1bbd7a5b646496
Reviewed-on: http://gerrit.dmdirc.com/2990
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 10 година
Shane Mc Cormack
12b39dc0f8
Update Copyright to 2014
Change-Id: Id0904867640e49e12fca5c1c7c5b9e72c78e3a1b
Reviewed-on: http://gerrit.dmdirc.com/2976
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Chris Smith
9b39166bbd
Add a factory for ActionSubstitutors.
This allows them to be injected with all their dependencies, removing
some deprecated singleton methods or constructor usages.
Change-Id: Ie2960171e29fa4069747ca9a6cd8b427ffc73003
Depends-On: I06b391f62bf6e72b0f24d2dda91e36242564fdff
Reviewed-on: http://gerrit.dmdirc.com/2915
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Greg Holmes
64b6878f29
Java 7 conversions
Change-Id: I0b0f84fee719d5d2ad4ff62864ea340af07192a3
Reviewed-on: http://gerrit.dmdirc.com/2893
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 10 година
Chris Smith
b354ebdb70
Move old config interfaces into config folder.
Change-Id: I8d791451ead4b37f9181a9741e127cbc8b514d46
Depends-On: I94416680dfa9f0ee4896f5a6518889c6eb891909
Reviewed-on: http://gerrit.dmdirc.com/2754
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 10 година
Chris Smith
640fc848d0
Remove some usages of Main.
Change-Id: I5f88cccf81f0fb80e2fcf915d453660d5690c8c0
Depends-On: Ie4d579ba97c2c1ed8a727f6548bdd9ae98981bdf
Reviewed-on: http://gerrit.dmdirc.com/2708
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 10 година
Shane Mc Cormack
b87e3ba335
Update copyright for 2013
Change-Id: Idf38f5027a92166daf99039de75b759d47431de1
Reviewed-on: http://gerrit.dmdirc.com/2607
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 11 година
Shane Mc Cormack
7b67f19db2
Revert "Continue main removal"
Revert "Begin work on removing CommandManager singleton"
This reverts commit e93538e9dc .
Change-Id: I8eb4f70f80292d66e3bdbe9f32766b5f427413c2
Depends-On: Iba86c7f2bf870684e0d41f88d82f16b43d43fe80
Reviewed-on: http://gerrit.dmdirc.com/2601
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 11 година
Greg Holmes
e93538e9dc
Continue main removal
Change-Id: I28c660092aabbc8eeebd9ed4dcc80cb9f3940aaf
Depends-On: I28c660092aabbc8eeebd9ed4dcc80cb9f3940aaf
Reviewed-on: http://gerrit.dmdirc.com/2589
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 11 година
Shane Mc Cormack
4edc853bbf
Desingleton PluginManager (and as a side-effect, ServerManager).
Depends-On: I72fe837b5ea2352ae0c695948336efcdd92c09c8
Change-Id: I4a3d9b78a5f80aab0330d0906e8c76d00813c97c
Reviewed-on: http://gerrit.dmdirc.com/2523
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 11 година
Greg Holmes
8e83dde6d2
Dont do colour dialog checks if line has a single character.
Pass caret position into input handler to remove race condition.
Change-Id: Ia5bcb212121521a73c14b14f8f827756e2f0a29d
Fixes-Issue: CLIENT-364
Fixes-Issue: CLIENT-359
Reviewed-on: http://gerrit.dmdirc.com/2470
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 12 година
Chris Smith
67c3bc1674
Cancel typing timeout when the input field is cleared
Add some more logging relating to composition changes
Change-Id: If480ce8897c943fa4f1379f5178dab852d08414b
Fixes-Issue: CLIENT-301
Reviewed-on: http://gerrit.dmdirc.com/2360
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 12 година
Chris Smith
ac16253f43
Use slf4j not java logging
Sprinkle lombok and config binding around
Change-Id: Ie4daf4451ed7e252e033ebf3bc59f6a606523a82
Reviewed-on: http://gerrit.dmdirc.com/2331
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
пре 12 година
Shane Mc Cormack
d26602c9dc
Update Copyright for 2012
Change-Id: I0d40c3ac86b9e06fad3f29bc36612b4162e54d1c
Reviewed-on: http://gerrit.dmdirc.com/2287
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 12 година
Chris Smith
ebbd1daff5
Import fixing!
Change-Id: Ia90cb759b0777cf8d30eb6bfe30a5bece0105d24
Reviewed-on: http://gerrit.dmdirc.com/2281
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 12 година
Chris Smith
a7a57eca29
Fix fallout from util changes
Change-Id: I0bfd2dc61096dd9670b269463c27d9b00fd9a917
Depends-On: I6d0665e57f6e0e2ff2fb6a18742acb99010e79bf
Depends-On: Ia8de3c1a5fdc1eb9cfaa8b29a32bb3efb6d8ce6f
Reviewed-on: http://gerrit.dmdirc.com/2242
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 12 година
Greg Holmes
60d9db2dcf
Centralised interfaces packages.
Depends-On: I862891efc407a64559788812ee039a9ec565a973
Change-Id: If624693f050e1aa9cf4cabcd5264518604eb8bcd
Reviewed-on: http://gerrit.dmdirc.com/2167
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
пре 12 година