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 роки тому
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 роки тому
Greg Holmes
e93538e9dc
Continue main removal
Change-Id: I28c660092aabbc8eeebd9ed4dcc80cb9f3940aaf
Depends-On: I28c660092aabbc8eeebd9ed4dcc80cb9f3940aaf
Reviewed-on: http://gerrit.dmdirc.com/2589
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
11 роки тому
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 роки тому
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 роки тому
Greg Holmes
ab45825e88
De-singleton + unit test
Change-Id: Iadcf92d4390034828d005a9c9e92d9a8ba189c99
Depends-On: I17790a0e71a6c004a088a6eb51332293b23062a4
Reviewed-on: http://gerrit.dmdirc.com/2455
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Greg Holmes
a72a77c11e
Add unit test for StatusBarManager
Change-Id: Idb4ef101ceb239522a5120418be7285459e04b54
Reviewed-on: http://gerrit.dmdirc.com/2450
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Greg Holmes
d1b2b98b56
Add unit test for StatusMessage
Change-Id: I7488d64d10147a95df5676a0a9ebb10574af7444
Reviewed-on: http://gerrit.dmdirc.com/2449
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Greg Holmes
a02b2fb548
Add more unit tests for WindowManager
Change-Id: I32f8d56e54888007c66f16ec593172bda0d62ee0
Reviewed-on: http://gerrit.dmdirc.com/2448
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 роки тому
Chris Smith
345fe77ea7
Ignore or remove tests that fail in a headless env
These need to be rewritten so the dependencies are mocked out
Change-Id: Id8890637da5483efaa112db7613e61fba366e878
Reviewed-on: http://gerrit.dmdirc.com/2378
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 роки тому
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 роки тому
Chris Smith
5c64a29c45
Deprecations
Change-Id: I1aa33d6e360f6050b02b7fe3f7db1312451c93fb
Reviewed-on: http://gerrit.dmdirc.com/2282
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 роки тому
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 роки тому
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 роки тому
Chris Smith
72b2a5a910
Initial work on an abstract colour representation.
Styliser still injects AWT Colors for simplicity at this stage.
Change-Id: I691b6dca615fd6a197712d9f11cedafdc9a8bc5d
Depends-On: I978e118b20c507cbc305d5ee5c6ecabf6d7454b8
Reviewed-on: http://gerrit.dmdirc.com/2187
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 роки тому
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 роки тому
Chris Smith
1011d7136a
Remove window class from frame containers
Change-Id: I6c243840a40655bbbdd7a32ab707a7f2e15880ae
Depends-On: I32d75cc6dee8dce03390a2d29026f70e5ebf2bc4
Reviewed-on: http://gerrit.dmdirc.com/2096
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
13 роки тому
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 роки тому
Chris Smith
bb70d16d7b
Remove unused private fields
Make having unused fields or formal params a PMD error
Change-Id: Ief1c8e499af7e3a43328046dc140ba941d8cb010
Depends-On: I970b49db0abac46d15a11e2b71dc0b50bd3a8faf
Reviewed-on: http://gerrit.dmdirc.com/2034
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 роки тому
Chris Smith
d76efc309f
Make WindowManager non-static
CLIENT-84
Change-Id: I4f8df35efbb7ce266d6e8b1239c646a0a9c92107
Depends-On: Ia9b45bc4ff7f17af9e1eed758c0a659f6ab47251
Reviewed-on: http://gerrit.dmdirc.com/1987
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 роки тому
Greg Holmes
2c1653bfc4
Move formatter.formatDuration to utils
Fixes CLIENT-41
Change-Id: I8742650e3f2801470446590a32922bef32995fb8
Depends-On: I8269aab84413d3865975a6ca15dc656a525895ea
Depends-On: I5010c1c77247579e586e20a11a1a9b7b73b81307
Reviewed-on: http://gerrit.dmdirc.com/1929
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 роки тому
Simon Mott
ff126f3879
URLHandler now uses new CommandUtils.parseArguments
Related to issue CLIENT-224
Change-Id: Icbc7e67a96f6da77691626820c1dc2c3cb1f1cb4
Reviewed-on: http://gerrit.dmdirc.com/1895
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 роки тому
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 роки тому
Greg Holmes
acdd8268bc
Remove deprecations.
Depends-On: Ic938a7785a30477f47074e574ec8311723d803a9
Change-Id: I5ebf0bd52682cd0b1798d1b1b54353e5e65e793f
Reviewed-on: http://gerrit.dmdirc.com/1838
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 роки тому
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 роки тому
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 >
13 роки тому
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 >
14 роки тому
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 роки тому
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 роки тому
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 >
14 роки тому
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 >
14 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
Chris Smith
1b2ec9d230
Fix broken unit test
15 роки тому