Greg Holmes
936792f136
Remove debug command from client, moved to a plugin.
Change-Id: I0828dd46c1315a4ae475d23a6152dc8183e1ab09
Reviewed-on: http://gerrit.dmdirc.com/1698
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
před 13 roky
Chris Smith
da78032175
Add command flag utility classes and make /echo and /set use them.
Fixes CLIENT-119
Fixes CLIENT-120
Change-Id: I2e7ad2c3b8f0db591031fc281a24aa6627331a6e
Reviewed-on: http://gerrit.dmdirc.com/1680
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
před 13 roky
Chris Smith
675c52357b
Rework how window closing works
Fixes CLIENT-82
Change-Id: I4ea9fbf6c939a5b16f15ade230255b948e210c2c
Depends-On: I97f44a9269288f876a7a71b412302cec4238d9d4
Reviewed-on: http://gerrit.dmdirc.com/1600
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
před 13 roky
Chris Smith
33bae9d01d
Rename PreferencesManager to PreferencesDialogModel
Change-Id: Ied76e21fbf72039d47ec2b35b236149c13941645
Depends-On: Ia126a15b60e54c08c1e780676fe363821e9b7518
Reviewed-on: http://gerrit.dmdirc.com/1591
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
před 13 roky
Chris Smith
39693ea024
Rework how config sources handle invalid and disabled settings
Fixes CLIENT-46
Depends-On: I8434b810ba3ee5548467c3fd2b72faed4046a586
Change-Id: I79e9a19acf452c831ee6e671f50b54e8f674f2cd
Reviewed-on: http://gerrit.dmdirc.com/1569
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
před 13 roky
Chris Smith
2ea135bfca
Remove weird duplicate broken iffy ProgramError Test
Change-Id: I3bfaa6667521e8e891ff25de4d7dea13491dcbc2
Reviewed-on: http://gerrit.dmdirc.com/1537
Automatic-Compile: Greg Holmes <greg@dmdirc.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
před 13 roky
Chris Smith
1338fd816a
Fix broken ProgramError unit test
Change-Id: If59ba909c30b5938b23d9928329ac606706c8937
Reviewed-on: http://gerrit.dmdirc.com/1524
Automatic-Compile: Greg Holmes <greg@dmdirc.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
před 13 roky
Chris Smith
5eb04e53fc
URLHandler is no longer a singleton
CORE-11
Change-Id: I268aa593dd81f38c94fc11e625acb4ff4aed61d1
Depends-on: Icc74ece86b012aa92ef999eb68df727e372e203e
Reviewed-on: http://gerrit.dmdirc.com/1522
Automatic-Compile: Greg Holmes <greg@dmdirc.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
před 13 roky
Chris Smith
8e2493dd6d
Change ErrorLevel.getIcon to use strings not swing Icons
Fixes CORE-9
Change-Id: Id43521640e66ee80962d3b2432f652c47b6223c1
Depends-On: Iee0aa1d166b301f56a92f0bc1d3b38c0ed1000dc
Reviewed-on: http://gerrit.dmdirc.com/1521
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: Greg Holmes <greg@dmdirc.com >
před 13 roky
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 >
před 13 roky
Chris Smith
fae12fe3a0
Unit tests
Change-Id: Ia72aa10c40198291b09fefb2b04a6529ccabba44
Reviewed-on: http://gerrit.dmdirc.com/1493
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
před 14 roky
Chris Smith
68c1b882fd
Fix getStyledText breaking when half-inside tooltips
Change-Id: Ib62376c5e493d06da8ffaccfb81b3e424a79a81b
Reviewed-on: http://gerrit.dmdirc.com/1486
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
před 14 roky
Chris Smith
eafec02238
Make preferences manager use current UI
Fixes issue 4415
Change-Id: I52c7f76361f8b2fe4ebd38b00795e28ca4eee9e5
Reviewed-on: http://gerrit.dmdirc.com/1460
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
Chris Smith
89a2c3ecbf
Fix linking of URLs prefixed with hex colours
Fixes issue 4204
Unit test for issue 4204
Change-Id: I697cfaf8acf878771784a31bdf04f7281f1e4ff0
Reviewed-on: http://gerrit.dmdirc.com/1298
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
před 14 roky
Chris Smith
ac937abce3
Format 0 second durations correctly
Fixes issue 4165
Unit test for issue 4165
Change-Id: I844da30cdcd5233b07ab8435673b0806fb206448
Reviewed-on: http://gerrit.dmdirc.com/1283
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky
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 >
před 14 roky