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 >
10 years ago
Chris Smith
05c552a0e3
Actions tidying.
Change-Id: I77c22319367b42840431e18ee998011a730ac6af
Reviewed-on: http://gerrit.dmdirc.com/3695
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
09cb002be2
Always specify an origin when parsing commands.
Where commands are executed globally, pass in a GlobalWindow.
Make the GlobalWindow a singleton that persists, and is simply
added/removed from the WindowManager when the user wants to
show/hide it.
Change-Id: Iac94848487442509bdbf8ec98f67983e313ed743
Reviewed-on: http://gerrit.dmdirc.com/3451
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
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
9591bda084
Inject GlobalCommandParser, and tidying up.
Rename ActionFactory methods to be consistent with @Factory-generated ones.
Change-Id: Iafd20682f2fb0a166c6d7502443b56c3263da85d
Depends-On: Ifa75714ab3445634e61df3d99792cdef602d319e
Reviewed-on: http://gerrit.dmdirc.com/2899
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 years ago
Chris Smith
aceab94801
Remove a load of deprecated methods.
Change-Id: I06531664f45d26298d989b9ac82d614c67da8c55
Depends-On: Ia4cf947dd33272021b10d2dc4093f383277eefd2
Reviewed-on: http://gerrit.dmdirc.com/2773
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
11 years ago
Chris Smith
4a05d0a32d
Improve some actions tests.
Change-Id: I286836ff0c1b23af34726fcaaa7bebd947b30c7d
Reviewed-on: http://gerrit.dmdirc.com/2685
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 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
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 years ago
Chris Smith
0a6af6d64f
Remove/tidy some iffy tests
Change-Id: I79f722c55277f8b54221558af44e43e133f1daf7
Reviewed-on: http://gerrit.dmdirc.com/2445
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 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
41304ccecb
More deprecation fixes
Change-Id: If418fcbcafa64857e6a656bee08fef7399b6a2e3
Reviewed-on: http://gerrit.dmdirc.com/2280
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 years ago
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 >
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
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
Gregory Holmes
187d17230c
Fix the unit tests shane broke
Change-Id: I03af2311e541d60711d2cc801128764fe384d6e7
Reviewed-on: http://gerrit.dmdirc.com/206
Reviewed-by: Chris Smith <chris@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
b435501251
Fix some broken unit tests
Remove junit 3 stuff
15 years ago
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 years ago
Chris Smith
df80eedbf0
Additional ActionModel unit test
git-svn-id: http://svn.dmdirc.com/trunk@3954 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
034eac4543
Tidied up ActionModel.trigger and separated some of it into ActionModel.test so it can be unit tested
git-svn-id: http://svn.dmdirc.com/trunk@3665 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
ebe7d49952
Update test case
git-svn-id: http://svn.dmdirc.com/trunk@2903 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
847ac86f84
Added new IgnoreList class
Tests now work with stupid versions of JUnit, like 3.x
git-svn-id: http://svn.dmdirc.com/trunk@2674 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Shane Mc Cormack
9eae9f9557
Readded "extends junit.framework.TestCase" to all Tests to make them still work on ant 1.6.5
git-svn-id: http://svn.dmdirc.com/trunk@2657 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
ef19d5a368
Added ActionModel unit test
Fixed ActionModel NPEs when looking up values that hadn't been set
git-svn-id: http://svn.dmdirc.com/trunk@2478 00569f92 -eb28-0410-84fd-f71c24880f
17 years ago