Chris Smith
4c35da850d
Update copyright.
7 years ago
Chris Smith
7127abfa36
Make commands extend BaseCommand.
Flip BaseCommand and Command around so everything still works.
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
621a53cf06
Change all command error/output to use events.
8 years ago
Chris Smith
344e0d38a3
Make Commands take a WindowModel.
9 years ago
Shane Mc Cormack
9f3fcd1b59
2015!
9 years ago
Chris Smith
f830257585
Rename getOptionalConnection() to getConnection().
9 years ago
Chris Smith
31a78eb743
Fix various deprecated uses.
Change-Id: I0bb97a8946d1c217de82fe2a9b8f35b7d49eae06
9 years ago
Chris Smith
d11784d24a
Use Stream API in place of foreach loops.
This is IDEA's automatic inspection, so stuff may be a bit wonky.
9 years ago
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 years ago
Chris Smith
3227cde770
Fix some absolute craziness.
Also ignore an inspection.
Change-Id: I3cfc09120b8c8065111ceab4d1b6941b880d9954
Reviewed-on: http://gerrit.dmdirc.com/3799
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
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
c59e662ad4
FrameContainers should expose a Connection.
Anywhere that doesn't just work with a Connection, cast back to a Server for
now. These can be tidied up later.
Change-Id: I02a54b0bcfaef08d5757cc015c356f9779ec0371
Depends-On: Id55c3611173be7ed79fae8f9e976996d713b8646
Reviewed-on: http://gerrit.dmdirc.com/2950
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
0620e3d432
Make all core commands provide a controller.
Change-Id: Iaf2c2fbc2ccc32aa8b05fd1a309fad524b2baf94
Reviewed-on: http://gerrit.dmdirc.com/2724
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
1d439133aa
Inject all the commands.
Instead of manually tracking dependencies and creating them in
CommandLoader, just have a module to provide a set of commands
that we can load.
This makes it stupidly easy to add dependencies in commands.
Also rename the /set command from Set because that's just
confusing.
Change-Id: I7967609e356de3c17d0942ebc913be438debe49c
Reviewed-on: http://gerrit.dmdirc.com/2722
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
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 years ago
greboid
f9c93121a9
Begin work on removing CommandManager singleton
Change-Id: Ieb44f09699a2304fa5b07f474989823f02fc78b0
Depends-On: I04e90afc89211eee412a511b12baeedf0361b414
Reviewed-on: http://gerrit.dmdirc.com/2584
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
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
Simon Mott
dfc692fbef
Tab completion for /ignore --remove
Fixes issue CLIENT-154
Change-Id: I407bed9f4d9bca75c54827304ebb0dc209a38b2b
Reviewed-on: http://gerrit.dmdirc.com/2142
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
Chris Smith
7cd4171bf1
Add BasicCommandInfo and make core commands use it
Change-Id: I24e8daf8cc076d90328f7c38cf539420566bf14e
Fixes-Issue: CLIENT-262
Reviewed-on: http://gerrit.dmdirc.com/2009
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 years ago
Chris Smith
c90b7be0aa
Commands style fixes
Change-Id: I4124ed9a760e174b7e3ce65b7a0dc7f00366b479
Reviewed-on: http://gerrit.dmdirc.com/1993
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 years ago
Chris Smith
77b570a30f
Style fixes
Change-Id: If63e94dcf0aec9e9aa99e84f9962879fca46051f
Reviewed-on: http://gerrit.dmdirc.com/1931
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 years ago
Chris Smith
f2018c541b
Remove trailing spaces
Change-Id: I9f382ab3d7b078fb759cbaca618bec5d21b8b5d9
Reviewed-on: http://gerrit.dmdirc.com/1919
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Chris Smith
198a1597cc
Rework FrameContainer/UI interaction
- FrameContainers are no longer parameterised
- Introduced notion of window "Components"
- Removed per-window interfaces - fixes CLIENT-218
Change-Id: Ieefbf2d1e157e3638dbe8fdedbd4f32642061329
Depends-On: Iecbb2941c99a3412dc2eb3b7f56fc584d2db483e
Reviewed-on: http://gerrit.dmdirc.com/1885
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.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
a0c696ca89
Commands no longer register themselves in their ctors
Fixes CLIENT-61
Change-Id: I35c09e83804216c75f10290815cdeacd35bc57fd
Reviewed-on: http://gerrit.dmdirc.com/1531
Automatic-Compile: Greg Holmes <greg@dmdirc.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 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
5334959656
Commands now use containers not windows
Fixes issue 3998
Change-Id: I901ed80272a445f2bd303a01e842e6f50cc5ae04
Reviewed-on: http://gerrit.dmdirc.com/1116
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.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
0b3bb41c3e
Ignore command improvements
Now operations on simple expressions by default
Now validates regular expression inputs
Fixes issue 3731
Fixes issue 3829
Change-Id: I00ac922564b5bb9deaeb78a3bf56baa7f8e6ea2f
Reviewed-on: http://gerrit.dmdirc.com/963
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@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
1b1dcbb8ce
Under 300 errors!
15 years ago
Chris Smith
b61a48f5c1
Server commands
Fixed prefs dialog setting ui.sortBy* instead of nicklist.sortBy*
Fixes issue 2209
15 years ago
Chris Smith
4daf47ca4b
More deprecation fixes and style improvements
15 years ago
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 years ago
Shane Mc Cormack
264cf29661
Remove deprecated parser methods for converting strings
- Updated everything to use non-deprecated way
Replace stupid implementations of handles() in callbacks with decent code.
Spaces -> Tabs *runs*
Issue 1274
git-svn-id: http://svn.dmdirc.com/trunk@4157 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
ae4f818d20
Load more code tidying
git-svn-id: http://svn.dmdirc.com/trunk@3633 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
2032285c28
Issue 881.
/echo, /reloadactions, /ignore, /back and /unloadplugin are now (more) intelligently completeable
/cycle now takes an optional part message
git-svn-id: http://svn.dmdirc.com/trunk@3463 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Shane Mc Cormack
882e9e735d
Updated copyright header on all files.
2006-2007 -> 2006-2008
git-svn-id: http://svn.dmdirc.com/trunk@3151 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
e5e13a12df
Commands no longer have arities
git-svn-id: http://svn.dmdirc.com/trunk@2703 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
7e181df3a4
Remove some now unused imports
Added /set --append
git-svn-id: http://svn.dmdirc.com/trunk@2700 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
216b26d0e7
IgnoreList work, and some minor code tidying
git-svn-id: http://svn.dmdirc.com/trunk@2698 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
400781dd90
Identities now have the same getOption* methods as ConfigManagers
Altered a couple of things to use the above
git-svn-id: http://svn.dmdirc.com/trunk@2530 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
0a0e241b81
Commands now use constants for the two common formats (commandOutput/commandError)
git-svn-id: http://svn.dmdirc.com/trunk@2319 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago