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
Greg Holmes
cde8093e4e
Disable broken unit tests
Change-Id: I9d6d9d68f7829105331b7c9a75e72a5f5d30375e
Reviewed-on: http://gerrit.dmdirc.com/2540
Reviewed-by: Shane Mc Cormack <shane@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 >
12 years ago
Shane Mc Cormack
792f3cc7dc
Make main less static.
Don't ask Main for the config directory.
Remove getMain() from Main.
Everything that needs a main now either gets given it, or asks something else.
Unfortunately, a few more dependencies on the static IdentityManager.getIdentityManager()
were introduced, but they can be tackled separately.
Fix unit tests for the above.
Change-Id: I9e42ac7f74453b739209a681d0a31f50c1be2a04
Depends-On: Ib5a9fdea5a2e25d5471d0b849f4f65fa0286d1f8
Reviewed-on: http://gerrit.dmdirc.com/2520
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 years ago
Greg Holmes
09cbf8933b
Add unit test for ActionNameValidator
Change-Id: Ib003bb6b359cfa02c144a07b48c9ef51518c277f
Reviewed-on: http://gerrit.dmdirc.com/2451
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 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
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 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
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
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
Chris Smith
0d64fe3e22
Actions tidying
- Extract interface for ActionManager
- Decouple ActionManager and IdentityManager a bit
- Remove unused ActionGroupValidator
Change-Id: Ic62778231933b99f26b2a2a9658b5bde06f18ad7
Reviewed-on: http://gerrit.dmdirc.com/2163
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
521daeca81
Initial work in action error persistence
Also remove deprecated methods
Change-Id: Id3d1e92c7db813911b4bf4f27b92d4eff92bdd41
Depends-On: Ib20eb804c786b157a33c6d0610e9151200371400
Reviewed-on: http://gerrit.dmdirc.com/1963
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@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
Chris Smith
10ad8f480d
Move validators out of config.prefs.validator
Fixes issue 4253
Change-Id: Ibb46a6a1ba5c62d525b65f55d39632b82e335539
Reviewed-on: http://gerrit.dmdirc.com/1455
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 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
6e42762d67
Style fixes
Change-Id: Icfab1de147645d80a999c3678daf268e7e115066
Reviewed-on: http://gerrit.dmdirc.com/1331
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
b1f3c9ae79
Action substitutor now escapes component results
Fixes issue 3965
Unit test for issue 3965
Change-Id: Iaea35d8b38b9f42450fa211177baa8417bd45e25
Reviewed-on: http://gerrit.dmdirc.com/1083
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
cca25e47e9
Minor random unit test changes
Change-Id: I8664f3e95f513642194cf5f96fb8b2d556cff7d1
Reviewed-on: http://gerrit.dmdirc.com/1070
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
9d6d8ca3d3
Minor action substitutor changes
Keep patterns statically compiled for efficiency
Better separation of server components and undefined config subs
Fixes issue 3961
Change-Id: Ib500352d03ba42400242002822908a1957003089
Reviewed-on: http://gerrit.dmdirc.com/1067
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
06dc20795b
Action packs can have non-numeric versions
Fixes issue 3943
Depends-On: I9f769f243178022528da65fe4c15abbd62d9e49c
Change-Id: I1419fa74d8da7f3f5d96a00dea559329db008b0e
Reviewed-on: http://gerrit.dmdirc.com/1047
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
dd61b6cd8a
New actions substitutor.
Squashed commit of the following:
commit 81c3cb41fe
Author: Chris Smith <chris@dmdirc.com >
Date: Sun Feb 28 21:13:03 2010 +0000
Fix a couple of escaping edge cases
Change-Id: I8cd9c3493a932039b7bae704c522f79778946d55
commit cde2d943dc
Author: Chris Smith <chris@dmdirc.com >
Date: Thu Feb 25 05:51:38 2010 +0000
Working actions substitutor replacement
Fixes issue 3804
Change-Id: Id714c47d599815461826f403942bfe490ac587ff
commit f450ce592a
Author: Chris Smith <chris@dmdirc.com >
Date: Thu Feb 25 00:01:55 2010 +0000
Support for config and server substitutions
Change-Id: I0b10332f340212d05ac478d4025ee557d2e66351
commit 4d2357a28f
Author: Chris Smith <chris@dmdirc.com >
Date: Tue Feb 23 21:41:54 2010 +0000
Implement word and component substitutions
Change-Id: I120f50e6eec3dc968beff42d79c0171a5908155e
commit 0bb9fbb970
Author: Chris Smith <chris@dmdirc.com >
Date: Mon Jan 25 21:32:00 2010 +0000
Unit test for actions substitutor
Change-Id: I4d8b2084f7b78cf2b30f0409e1a7fdfe5a9ee5aa
Reviewed-on: http://gerrit.dmdirc.com/927
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
336b4ec6e1
Condition tree unit tests
Change-Id: I5b380ba8caccf67c81fd8d644320b310391bcf3d
Reviewed-on: http://gerrit.dmdirc.com/796
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
3fb1492b70
Unit tests
Change-Id: I0c1d6b4c0e1f60fb2be483dc23dfdf96928a6fbb
Reviewed-on: http://gerrit.dmdirc.com/798
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
fe88a1cdfe
Action manager test now loads actions properly
Fixes issue 3646, fixes issue 3647
Change-Id: Ib19add4d3d82bc86db9e976a5a50031c2ac58eea
Reviewed-on: http://gerrit.dmdirc.com/670
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
b6e02f0a30
Fix some unit tests
Change-Id: I2f14be0cecbc842b23dc3c99b5df257b8e6b0d53
Reviewed-on: http://gerrit.dmdirc.com/390
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 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
3e65963c5f
Fix broken unit test
15 years ago
Chris Smith
08d63612fa
Well that was hard to fix
15 years ago
Chris Smith
85653883e9
Crazy unit test craziness
15 years ago
Chris Smith
b435501251
Fix some broken unit tests
Remove junit 3 stuff
15 years ago
Chris Smith
3337772fe8
PreferencesSettings may no longer take a fallback
15 years ago
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 years ago
Chris Smith
b5d7b75ad9
Unit test for issue 1849
git-svn-id: http://svn.dmdirc.com/trunk@4836 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
0382f0423e
Unit test issue 1734
git-svn-id: http://svn.dmdirc.com/trunk@4737 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
eceab34120
Fix unit test
git-svn-id: http://svn.dmdirc.com/trunk@4650 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
03b6295816
ActionManagerTest now removes its groups when the test has finished, to appease the grand muppet
ActionsManagerDialogTest also does the same, and uses the ClassFinder harness instead of an AIC
git-svn-id: http://svn.dmdirc.com/trunk@4423 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
86523cf792
Misc unit testsa
git-svn-id: http://svn.dmdirc.com/trunk@4308 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
47ceae6b4b
ConfigFile now extends TextFile instead of wrapping it rather oddly (groundwork for fixing issue 1154)
Fixed a couple of deprecated method uses in Server
Removed deprecated TextFile constructor
git-svn-id: http://svn.dmdirc.com/trunk@4005 00569f92 -eb28-0410-84fd-f71c24880f
16 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
7ce57885a1
Add a bunch more edge cases to ConditionTreeTest
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3884 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
a30304a786
Action unit tests
Issue 1106
git-svn-id: http://svn.dmdirc.com/trunk@3869 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
ffe8575500
Action wrappers now extend action groups
Groups now encapsulate instead of extending their ArrayLists, to limit the number of ways it can be modified
Various resulting tweaks
Fixes issue 631
git-svn-id: http://svn.dmdirc.com/trunk@3859 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
85f7ec82e3
Action unit test
git-svn-id: http://svn.dmdirc.com/trunk@3828 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
029ded545e
Add messages to the ActionEventsTest to figure out which is failing
git-svn-id: http://svn.dmdirc.com/trunk@3807 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
12f8a18612
Unit test updates/additions
git-svn-id: http://svn.dmdirc.com/trunk@3804 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
9a97f59854
Fix CME caused by the previous fix
Added unit test for renaming action groups that contain actions
git-svn-id: http://svn.dmdirc.com/trunk@3673 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago
Chris Smith
2348dd949e
ActionManagerTest now deletes test dirs before running
ActionManager.makeGroup no longer fails if the group directory already exists on disk, and now throws an IllegalArgumentException if directory creation is needed and fails
Fixes issue 1014
git-svn-id: http://svn.dmdirc.com/trunk@3670 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago