Chris Smith
d8a352aaf7
Add bundle for config providers.
7 years ago
Chris Smith
4c35da850d
Update copyright.
7 years ago
Chris Smith
318402848e
Add an interface for tab completers, move to API.
7 years ago
Chris Smith
37e196fdc6
Kill TabCompletionMatches.
7 years ago
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 years ago
Chris Smith
0a7fb8b874
Stop TabCompleter depending on CommandManager.
9 years ago
Chris Smith
dcf6b39f98
Turn giant foreach thing into a stream chain.
9 years ago
Chris Smith
459ef2b60a
Use Multimap instead of MapList.
9 years ago
Shane Mc Cormack
9f3fcd1b59
2015!
9 years ago
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 years ago
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 years ago
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 years ago
Chris Smith
b0d0c95be7
Propagate annotations around a bit.
Change-Id: Ia3e89a5d05bbefb5e0b73e1d2b97bd3e8e4e6392
Reviewed-on: http://gerrit.dmdirc.com/3797
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 years ago
Chris Smith
5827f81ac9
Unused method.
Change-Id: Id54f09ba57572b2fedf07ac11201d7dbda23c719
Reviewed-on: http://gerrit.dmdirc.com/3427
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
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 years ago
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 years ago
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 years ago
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 years ago
Chris Smith
67e955b2ae
Tidying, inject a few more things.
Change-Id: I9890b67a410c382ac29bd8c264fb7deed389710e
Reviewed-on: http://gerrit.dmdirc.com/2921
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
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 years ago
Chris Smith
8727a298ac
Tidy up some TabCompleter usages.
Change-Id: I1d61d1895025f3b7febd7cae1e8411d0b198f141
Depends-On: I2eb5ac89568b524ef13cf1d455eb5b51904c806c
Reviewed-on: http://gerrit.dmdirc.com/2867
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 years ago
Chris Smith
a335bf1208
Use config interfaces where possible.
Change-Id: Iaabedda2fa68c4e5562bb069dcdf15fa0c3beeea
Depends-On: I5f140e89bfb8c57804d0a500bbc9f5c18555b0e9
Reviewed-on: http://gerrit.dmdirc.com/2768
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
9f8ee01bd6
Tidy up TabCompleter.
Take in a ConfigManager, instead of using a singleton IdentityManager.
This also means that tab completer settings such as case-sensitivity and
allowing empty results can be set per-window rather than globally.
Change-Id: I75d668e954c22186a2d15d917a7c66ccef04f342
Reviewed-on: http://gerrit.dmdirc.com/2749
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
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 years ago
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 years ago
Chris Smith
d4507e0b3a
Deprecation fixes
Sprinkle some annotations over the CommandManager
More fiddling with NB7.1 settings
Change-Id: I2a0b751798249d4cc3e527f6d2e5525d1936f0e1
Reviewed-on: http://gerrit.dmdirc.com/2278
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 years ago
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 years ago
Chris Smith
6a06e9abae
Get rid of @author tags
Change-Id: Ib8d0b8886b769777267f0b757faea00787c149f7
Reviewed-on: http://gerrit.dmdirc.com/2080
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 years ago
Greg Holmes
d04e2bea4f
Change header?
Change-Id: I635e0d111ed182713132145e4d5fb1654f776ec4
Reviewed-on: http://gerrit.dmdirc.com/2071
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Greg Holmes
935c21ebf8
Remove windows from commands
Change-Id: I5b6e7e2ca81d114028fef6cac0d88498def62ea0
Depends-On: I895be099fa526e4e4b566e7178120b5d1ad0912c
Reviewed-on: http://gerrit.dmdirc.com/2011
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Chris Smith
949770857a
Make CommandManager a singleton
CLIENT-84
Change-Id: I48182a9cd7c8f49612025ba208ae90d3bb19ee2b
Depends-On: Ib62d32dbfdadaf38930ceacf667ff533de047599
Reviewed-on: http://gerrit.dmdirc.com/1996
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 years ago
Chris Smith
47af8cd7ce
PMD fixes and rule updates
Lots more rules treated as errors now
Change-Id: Ie8065d958bd4fbd7cccb1c06aefbc459cfde01c3
Reviewed-on: http://gerrit.dmdirc.com/1746
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Shane Mc Cormack
fd83b6b2a9
Update Copyright
Change-Id: I7f63fdd02ea0109fe31e55c44b078edae3862f32
Reviewed-on: http://gerrit.dmdirc.com/1726
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
402c603dc8
Remove some deprecated methods/usages
Change-Id: I76bc17f1475105c02df8f917066bf043963776f5
Reviewed-on: http://gerrit.dmdirc.com/1517
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: Greg Holmes <greg@dmdirc.com >
13 years ago
Chris Smith
5d584f2068
Style fixes
Change-Id: Idffa6c2559bcc2112c9657b15349aa80579ab83a
Reviewed-on: http://gerrit.dmdirc.com/1336
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
2edf699e02
Introduce command contexts.
Fixes issue 4152
Fixes issue 4002
Change-Id: I664124ecb0994a808e2de359a38507c3b5f16452
Reviewed-on: http://gerrit.dmdirc.com/1250
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
6cc9fdde1a
Pass word to be completed to intelligent completion handlers
Fixes issue 3874
Change-Id: I364a558f1bf3deeea51edcc254dc0895d948b27b
Reviewed-on: http://gerrit.dmdirc.com/993
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 years ago
Chris Smith
a72b699cb0
Intelligent command completion now includes context
Fixes issue 3869
Depends-On: Ib7f049ebe0c771bf7dc43334c6aed9568e0e8d72
Change-Id: I8d6b252b49ea7ae64d8bddd5c31dfb228465a4f6
Reviewed-on: http://gerrit.dmdirc.com/990
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
73a2fb41aa
More style changes
Change-Id: Idaf5f21e20e9775cbb104c30bb2e51e5b947d0b5
Reviewed-on: http://gerrit.dmdirc.com/823
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
99b88a295c
Fix broken tab completion
Change-Id: I33a89248e55d1470bb7c0080af7b83350d99e004
Reviewed-on: http://gerrit.dmdirc.com/212
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
a9cc3716b0
Use CommandArguments in intelligent tab completion code.
This enables completion on silenced commands (/.)
Fixes issue 2729
Change-Id: Idf0cf6c70fb40b33d1b965973fd37e34ecce722e
Reviewed-on: http://gerrit.dmdirc.com/210
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Shane Mc Cormack
b691b14491
Update the copyright date on all files.
UpdateCopyright.sh now works out the year automatically.
UpdateCopyright.sh now ignores .git aswell as .svn
UpdateCopyright.sh now excludes Binary Files from being matched during the initial search, rather than as an afterthought.
Change-Id: I2cfc56851a4217a4c85cbc7361c7a90421aae717
Reviewed-on: http://gerrit.dmdirc.com/202
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
ef25203f89
Add silenced versions of commands to tab completers
Fixes issue 2733
15 years ago
Chris Smith
635880518d
Channel names are now completable as the first arg for channel commands
Fixes issue 2704
15 years ago
Chris Smith
143c2c1f4d
Fix help command and then fix subsequent breakage
Fixes issue 2258, fixes issue 2304, fixes issue 2305, fixes issue 2307
15 years ago
Chris Smith
8c4a2cf92e
Add tabcompletion.allowempty setting and don't complete empty strings
unless it's set. Fixes issue 1446.
15 years ago
Chris Smith
1025831fa3
Remove more fallback arguments to config methods
15 years ago
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 years ago
Chris Smith
13912937d0
Style and javadoc fixes. Does not impact functionality
git-svn-id: http://svn.dmdirc.com/trunk@4296 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
c80dc02059
Initial work on input validation/wrapping stuff
Issue 907
git-svn-id: http://svn.dmdirc.com/trunk@3757 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago