Chris Smith
f27ff89ece
Fix window manager unit tests
Fixes issue 4139
Fixes issue 4140
Fixes issue 4141
Fixes issue 4142
Change-Id: I14af970b5b008eb87ed070544e9c0d18cc0e282c
Reviewed-on: http://gerrit.dmdirc.com/1240
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 years ago
Chris Smith
fc78513b1a
Fix config target unit test
Change-Id: I138e3023f0f92edb1c43520628fd58d9f55e9fa8
Reviewed-on: http://gerrit.dmdirc.com/1236
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
857c1aeaca
Core support for protocol description objects
Fixes issue 3560
Change-Id: I7e1bdc1c936608acf1d98e8629ff62cec4b3e810
Reviewed-on: http://gerrit.dmdirc.com/1182
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
f4bbdb48fe
Massive window changes.
Highlights:
- FrameContainers are now generic, according to their window type
- Writable frame containers now handle their tab completers
- Redirect plugin works again
- Windows are no longer actively requested from the UI; the UI
creates and adds them in response to events from the WindowManager
fixes issue 3997, fixes issue 4000, fixes issue 4012, fixes issue 4030
fixes issue 4027, fixes issue 4028, fixes issue 4029, fixes issue 4031
fixes issue 4032, fixes issue 4033
Change-Id: Ife307728e46bd3b6dcd189be6886ab8b6fbd9212
Reviewed-on: http://gerrit.dmdirc.com/1144
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
b218425541
Fix unit tests not compiling
Change-Id: I1714342aa223c2cc9d6d995c36e90961804cb975
Reviewed-on: http://gerrit.dmdirc.com/1138
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Greboid
7b0c1f8cc3
Work on opening windows in the background
issue 141
issue 3570
Change-Id: Iafe1ca912fceec5f5251cf0bdbe539a93e625dbd
Reviewed-on: http://gerrit.dmdirc.com/1131
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 years ago
Chris Smith
bec66870a7
Window titles are now handled by the core
Fixes issue 3996
Change-Id: I562e5db0da3af91b880cd98c9af11712750bf9f0
Reviewed-on: http://gerrit.dmdirc.com/1118
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@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
6588c4d9f8
Fix broken unit test
Change-Id: I466b5203c8455f7717f9bfe502d3aca7aa6c6d74
Reviewed-on: http://gerrit.dmdirc.com/1111
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
0487e3fddf
Fix failing unit test
Change-Id: Iaa0100a881d01e99e8b5f8aef86749bd47a851b7
Reviewed-on: http://gerrit.dmdirc.com/1043
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
14 years ago
Chris Smith
19f343c2c6
Stop using Server.getName() for identities etc
Fixes issue 3938
Change-Id: I57b7de0d981d86a4ba26c4acbadec63dbcc3a623
Reviewed-on: http://gerrit.dmdirc.com/1033
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
2a04fd59e5
Fix flakey Server unit test
Change-Id: Ibc37ced6417e0174400ea6485bf9d4378df38172
Reviewed-on: http://gerrit.dmdirc.com/1038
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
05fa4bf932
Channel linking improvements for commas
Fixes issue 3864
Unit test for issue 3864
Change-Id: Ie025d404d2d4eb80bc66aa0b7540ae67810907c9
Reviewed-on: http://gerrit.dmdirc.com/983
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@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
ae480614fd
Fix writable frame container harness
Change-Id: I07bc51e40d5775439e6abf02bb7b0b8719675374
Reviewed-on: http://gerrit.dmdirc.com/924
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: 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
79bfaf84b5
Styliser unit tests
Change-Id: Ia66894a79e8b213a0a078a2eadbe11ad8eb7bd5c
Reviewed-on: http://gerrit.dmdirc.com/795
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
5c3b562ea5
Styliser method to get string between unstyled indicies
Fixes issue 2199
Unit test for issue 2199
Change-Id: I270fa7265766536f578d5a06c2e3fc274b61e37c
Reviewed-on: http://gerrit.dmdirc.com/753
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 years ago
Chris Smith
a032a667eb
Move CipherUtils into config package
It's not a general purpose util, and will only be used by the config system.
Change-Id: I2d0ac5ea23d8b7d0fcda6e467ddcf4ac08bc520a
Reviewed-on: http://gerrit.dmdirc.com/731
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
0542faba35
Move URLHandler to ui.core.util
Change-Id: I42463f20214c269e4bed0f7a93f52dc80b83088c
Reviewed-on: http://gerrit.dmdirc.com/729
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
58b2e9113f
Move util classes into separate repo
Fixes issue 3655
Change-Id: I99875b54f746021430728ea35ba29ee423174d91
Reviewed-on: http://gerrit.dmdirc.com/685
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.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
019bb2c8a6
Update test plugin to use config file
Fixes issue 3514
Change-Id: Icdd54096fbb1b06b43f6bf3021ee2f339a96288a
Reviewed-on: http://gerrit.dmdirc.com/554
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
aec3c6373e
Misc channel linking unit test
Change-Id: I47688db87940a12fe13d2e24e3182154b7cbafa7
Reviewed-on: http://gerrit.dmdirc.com/540
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
37f092d1f2
Intelligent linking for channels
Fixes issue 1612
Change-Id: I26894e6c70ea34ea045d1c8b8149f0437d7e09b7
Reviewed-on: http://gerrit.dmdirc.com/534
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
a130e303c0
Update unit tests for Styliser changes
Change-Id: I8629a358ac76ae6017d7eef1231e358ffaa63e9d
Reviewed-on: http://gerrit.dmdirc.com/529
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
937b0a8f4a
Unit test for issue 3248
Change-Id: I003905af436e4cd97a46b49392db8acef7c4f84e
Reviewed-on: http://gerrit.dmdirc.com/469
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
b3009f3843
Unit test fiddling
Remove unreachable/unused test code
Change-Id: I2bfd2d7d3f37065f218afa09a67c38e4e91e7a10
Reviewed-on: http://gerrit.dmdirc.com/468
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Chris Smith
db7fdb4d73
Unit test changes
Move parser and UI harness classes into respective modules
Change-Id: I9ffefddc27ea8ef5deb887a2b9ab400b77c0196e
Reviewed-on: http://gerrit.dmdirc.com/456
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-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
Chris Smith
2855eebbe4
Update junit, replace mockito
Not sure why mockito was moved out of the main lib
Remove UI runner hacks for now (don't work with JUnit >4.1)
Change-Id: I88bfaa42da1273681f1b8415f8e7f59184ad2399
Reviewed-on: http://gerrit.dmdirc.com/357
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
13937bd9ef
Update unit tests
TestParser now uses a URI constructor
Two parameterised tests no longer call IdentityManager.load() on every
parameter, as this tends to exhaust our file handle limit as the files
aren't closed quickly enough by Java...
Change-Id: I6a0e0992ffb409a66d06afe35e58cdf3878f7661
Reviewed-on: http://gerrit.dmdirc.com/356
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Shane Mc Cormack
207731daf8
Remove Plugins, update stuff to use new plugins submodule.
Change-Id: If6fb44e5e9e359d1eb87ba7458767c1d150badd6
Reviewed-on: http://gerrit.dmdirc.com/231
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Gregory Holmes
450389ebe6
Fix broken unit tests
Change-Id: Ida646aa780dacbce74a6a942a455105f72654377
Reviewed-on: http://gerrit.dmdirc.com/218
Tested-by: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@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
1a248277ae
Fix /mode command unit test
Change-Id: I30be0d8d9431fbff78ed1bbc0e3e56c19899f8ec
Reviewed-on: http://gerrit.dmdirc.com/113
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Chris Smith
4991e31a5c
Mock server and parser for invite test
Fixes issue 3166, fixes issue 3167
Change-Id: I9612d9244c137d2fcd13fff96beda189a51ed9d8
Reviewed-on: http://gerrit.dmdirc.com/95
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
14 years ago
Chris Smith
32cf9f348f
Update unit tests for URI changes
Change-Id: I0dd005540f126b40c4d7f61384236ec21cfe5730
Reviewed-on: http://gerrit.dmdirc.com/57
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
14 years ago
Greboid
b31dec4b6f
fixes issue 3036: Alter StyliserStylesTest to avoid Line class, make Line class package private
Change-Id: I8943d04c563a05a7f3643cafb9065f49aa3eec91
Reviewed-on: http://gerrit.dmdirc.com/8
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
15 years ago
Chris Smith
3e65963c5f
Fix broken unit test
15 years ago
Shane Mc Cormack
9fa546ae59
I suck less than greg, I do! :(
15 years ago
Gregory Holmes
5e828e348f
...
15 years ago
Shane Mc Cormack
1be5711a88
Parser tests are in submodule
15 years ago
Shane Mc Cormack
e384423551
Desuck\!
15 years ago