Chris Smith
5ed0fccb52
Remove author comments.
Change-Id: Id4a3b8406f433f9054580c351a1fc35f9bcceb6d
Reviewed-on: http://gerrit.dmdirc.com/3787
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 9 ans
Chris Smith
1f46714477
Minor tidying
Change-Id: If6e8898bb70dfc6390267a8f8066d93bf844dc0a
Reviewed-on: http://gerrit.dmdirc.com/3688
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 10 ans
Chris Smith
1d881ab486
Fix some redundent exceptions
Change-Id: I7ff972c3ca8eab51c20c36d88fbc57ab240184f0
Reviewed-on: http://gerrit.dmdirc.com/3684
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 10 ans
Greg Holmes
3796fcc88c
Add Optional email address validator.
Change-Id: Ifc8ca757700db2dd19db89715e95f6c1df15e999
Reviewed-on: http://gerrit.dmdirc.com/3613
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 10 ans
Greg Holmes
7170cf601e
Make Downloader non static
Change-Id: I5200f8d84e409cb71c5f7338bca18af6de4c0726
Reviewed-on: http://gerrit.dmdirc.com/3600
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 10 ans
Greg Holmes
5afbb601a6
Add basic email address validator.
Change-Id: Ia38d3a8f19f12e21bc2d933c4411cc5e886e74ab
Reviewed-on: http://gerrit.dmdirc.com/3599
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 10 ans
Greg Holmes
cc46e2a4f1
Add port validator that takes Integer
Change-Id: I4d3d94c3dc60690a958a5b2fc8534c35c1f8b61e
Reviewed-on: http://gerrit.dmdirc.com/3590
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 10 ans
Greg Holmes
41dcf3b4f0
Check for null before validating again regex.
Change-Id: I7ed08f0738e581840b28851d080b06657299d55b
Reviewed-on: http://gerrit.dmdirc.com/3569
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 10 ans
Greg Holmes
459368e4a1
Add integer validator.
Change-Id: If2dab9ae160c2152758ea4240175a0d928ae48c5
Reviewed-on: http://gerrit.dmdirc.com/3568
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 10 ans
Greg Holmes
7687baa56c
Add list not empty validator.
Change-Id: Ibc0ff0c4ba26dfe7ed577e44bffbb8f20982ba5c
Reviewed-on: http://gerrit.dmdirc.com/3559
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 10 ans
Chris Smith
4e6bf2d20b
Make some fields in TextFile final.
Change-Id: Ib918ce2dcad368a3d8ad14aa44d3a42bf0f4cb22
Reviewed-on: http://gerrit.dmdirc.com/3508
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 10 ans
Chris Smith
a48c210ddd
Allow null Files to be passed to TextFile again.
We do this for temporary configuration files which are never saved
(e.g. the addon settings). It's a bit of a kludge, but for now we
should maintain it.
Change-Id: I656b924221eded5bbd98dfa4c276ab6d43b682e0
Fixes-Issue: CLIENT-510
Reviewed-on: http://gerrit.dmdirc.com/3507
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 10 ans
Greg Holmes
3f4f28c3cc
Add Path support to TextFile.
Change-Id: I752f5bebe42514f1dc21e1b77e1ee5a649f324f5
Depends-On: I9463e66dc39881bcc69b64b8900df1010683b0bc
Depends-On: I752f5bebe42514f1dc21e1b77e1ee5a649f324f5
Depends-On: I4fa54ebe8f4ff93c8fc33504af66338eda01d0b8
Reviewed-on: http://gerrit.dmdirc.com/3502
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 10 ans
Chris Smith
c03aa4e53e
Add a builder for ValidatorChains.
This allows them to be created inline without using type-unsafe
varargs (albeit a bit more verbosely).
new ValidatorChain(v1, v2, ...) becomes
ValidatorChain.builder()
.addValidator(v1)
.addValidator(v2)
...
.build();
Change-Id: I6c92142bf294335419fbd16593125416dd33c74e
Reviewed-on: http://gerrit.dmdirc.com/3168
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 10 ans
Shane Mc Cormack
bd00847b40
Update Copyright to 2014
Change-Id: Id44b617ffa590a8562fa5f6f79eaeb55fb432075
Reviewed-on: http://gerrit.dmdirc.com/2980
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 10 ans
Greg Holmes
779a61d876
Java 7 conversions
Change-Id: Ib05f625f14ab2f486f0c83c47c860dd0f0ef3ba1
Reviewed-on: http://gerrit.dmdirc.com/2896
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 10 ans
Chris Smith
18d85e6a10
Tidying
Change-Id: If6b2a1a485ff5b3a2630b43c76422064aaa2efb7
Reviewed-on: http://gerrit.dmdirc.com/2806
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 10 ans
Chris Smith
3a34058a1b
"Fix" warning about varargs.
Change-Id: Iaa3cfef008653f01296d39a9f6e727752fee059a
Reviewed-on: http://gerrit.dmdirc.com/2670
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 10 ans
Chris Smith
527214529e
Suppress rawtypes when doing unchecked operations
Change-Id: If70f324c0a7941857036935affc34829c12ec5e3
Reviewed-on: http://gerrit.dmdirc.com/2668
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 10 ans
Greg Holmes
b4e4ee1a30
Optional validator should pass null through to inner validator.
Change-Id: I9b8ad2dca5d93dae3c656c5334ff916604d8c826
Reviewed-on: http://gerrit.dmdirc.com/2635
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 11 ans
Shane Mc Cormack
b23cd03717
Update copyright for 2013
Change-Id: Iaaa1509b9f33742a5a2f5d9d6f4608432ddeaaaa
Reviewed-on: http://gerrit.dmdirc.com/2606
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 11 ans
Greg Holmes
093f9e66e9
Add support for closing Sockets (could be removed if we switched to Java7)
Change-Id: I34aa3a772f7f777aa31ca6a243ad51bdc86fbb8e
Reviewed-on: http://gerrit.dmdirc.com/2462
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 12 ans
Greg Holmes
1b7c2f2257
Unit testing
Change-Id: Id131f3470b1f5d977506a3b8f2899d1214bbd7a7
Reviewed-on: http://gerrit.dmdirc.com/2444
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 12 ans
Greg Holmes
ccfd2a635c
Alter behaviour of CommandUtils wrt stripping spaces
Change-Id: I9a785f381e5e9ad6eea80c7ff69e6319565c21ad
Reviewed-on: http://gerrit.dmdirc.com/2443
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 12 ans
Greg Holmes
70766a12a7
Tidy up unit tests
Change-Id: I83b28c60e64fc0f367279d70dff3daf0714e0087
Reviewed-on: http://gerrit.dmdirc.com/2441
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 12 ans
Greg Holmes
3e8ac978f7
Unit tests (and fixed a but in WeakList)
Change-Id: Ie17ad694c5a02c757fbc4403852b67bac44f84a9
Reviewed-on: http://gerrit.dmdirc.com/2439
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 12 ans
Greg Holmes
f16e4ab36b
Improve server name validation. Unit test things.
Change-Id: Ic8df21726d438117222c09f617ea9b66dfc7df88
Reviewed-on: http://gerrit.dmdirc.com/2437
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 12 ans
Chris Smith
54800b0ab6
SimpleInjector now includes all parent interfaces.
Previously it was just interfaces implemented explicitly in the
given class, which wasn't what was intended
Change-Id: I101e504264182b0fe1eed252a648c1ef3d1333d6
Reviewed-on: http://gerrit.dmdirc.com/2377
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 12 ans
Chris Smith
7c2788db0e
Add ReverseFileReader from logging plugin
Change-Id: I8fcf1d9e686834dfad9d93c177b97b0ea19fd742
Reviewed-on: http://gerrit.dmdirc.com/2325
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 12 ans
Chris Smith
b4fc0f5e70
Tidying headers
Change-Id: Ie232547b98785ad262c8ef1969b0449162117599
Reviewed-on: http://gerrit.dmdirc.com/2305
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 12 ans
Shane Mc Cormack
9ae77fc1aa
Update copyright for 2012
Change-Id: Ib1ec0d7b74ea50a9c49c81e7d4320d51457812d9
Reviewed-on: http://gerrit.dmdirc.com/2290
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 12 ans
Chris Smith
7e0b83a0c8
Tidy up util classes
Change-Id: I6d0665e57f6e0e2ff2fb6a18742acb99010e79bf
Depends-On: I0bfd2dc61096dd9670b269463c27d9b00fd9a917
Depends-On: Ia8de3c1a5fdc1eb9cfaa8b29a32bb3efb6d8ce6f
Reviewed-on: http://gerrit.dmdirc.com/2240
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 12 ans
Greg Holmes
7f34f9a7f7
Amend some validators to cope with null. Add validatable interface.
Change-Id: Ic952dfc1c8d2d25da366445d0f40bf573cb76c39
Reviewed-on: http://gerrit.dmdirc.com/2237
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 12 ans
Chris Smith
e9447070bc
Allow multiple parents for SimpleInjectors
Change-Id: I7fe3eba4843cff80052156c6b1adc7eace216895
Reviewed-on: http://gerrit.dmdirc.com/2217
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 12 ans
Chris Smith
41ba445b6f
Add some tests for ObservableListDecorator
Change-Id: I33b73ffae31972928697ca885d3e4445ca98bbc4
Reviewed-on: http://gerrit.dmdirc.com/2211
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 12 ans
Chris Smith
77fb202ace
Add observable list utilities
Change-Id: Id01ee7041561880deb4134505aa762d2bfccd8c8
Reviewed-on: http://gerrit.dmdirc.com/2206
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 12 ans
Greg Holmes
2fda4cc842
Load proxied listener calls in the correct class loader
This stopped plugins from being able to use awesome listener calls
Change-Id: I31204638628067954611bbd07525ed31bf92baa7
Reviewed-on: http://gerrit.dmdirc.com/2146
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 13 ans
Chris Smith
fefaaceb21
Add methods to ListenerList to proxy calls nicely
Change-Id: Ie1b86ffca587c8cc97bcc0a1ff440c4832e126bf
Fixes-Issue: CLIENT-298
Reviewed-on: http://gerrit.dmdirc.com/2143
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 13 ans
Greg Holmes
d9b65da75f
Change header?
Change-Id: Ic35853b0be7901c0d9b457ef5d099105e4852560
Reviewed-on: http://gerrit.dmdirc.com/2075
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 13 ans
Chris Smith
fd4e2649bc
Oops
Change-Id: Iffa8782b5a0a09acdaddc519f193febb84b10606
Reviewed-on: http://gerrit.dmdirc.com/2065
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 13 ans
Chris Smith
cd5d346a6e
Simple constructor dependency injector
Change-Id: I2ffee5b0dd39f47fd2f319d729213d0cde724c65
Reviewed-on: http://gerrit.dmdirc.com/2062
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 13 ans
Chris Smith
a7ff25a148
Pointless ctor
Change-Id: Ic027941b626e1033399eb90f419dd65ce2b2b7dc
Reviewed-on: http://gerrit.dmdirc.com/2028
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 13 ans
Chris Smith
4da9c6fffa
Style fixes
Change-Id: I5a1b323d7ed9f83ff30ad4c2da1f1a7de1662757
Reviewed-on: http://gerrit.dmdirc.com/1945
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 13 ans
Greg Holmes
ff6ee4874a
Add DateUtils and a formatDuration method. Minor tidying.
Change-Id: I8269aab84413d3865975a6ca15dc656a525895ea
Reviewed-on: http://gerrit.dmdirc.com/1928
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 13 ans
Chris Smith
855c095404
Fix line endings and trailing spaces
Change-Id: I36ccd739efef6b633cb8f927d820f7bfba49875f
Reviewed-on: http://gerrit.dmdirc.com/1922
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 13 ans
Simon Mott
63f3acc9f4
Creates CommandUtils class with parseArguments method
Fixes CLIENT-224
Change-Id: I89e8517eca2bfeb37672070368d3891e5cbe27bf
Reviewed-on: http://gerrit.dmdirc.com/1894
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 13 ans
Shane Mc Cormack
bd12d32d69
Move StreamReader to util.
Change-Id: I23bd774f91c4248782e8e11831b9db6307c31842
Depends-On: I31ac07ade010d2bff38aefeac71a03e946069627
Reviewed-on: http://gerrit.dmdirc.com/1869
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 13 ans
Chris Smith
fccaa6a54f
Warning fixes
Change-Id: Id774609449508bf01e53791c21de8c5d7c8f277c
Reviewed-on: http://gerrit.dmdirc.com/1871
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 13 ans
Greg Holmes
d852baca12
Make DoubleMap implement Map interface.
Depends-On: I69c5fd43b97244343b824aa7c2cf1d8bb71ba741
Change-Id: Ied8d9e0cf06819326a469e715c6925af8fd22b5a
Reviewed-on: http://gerrit.dmdirc.com/1851
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 13 ans
Greg Holmes
941b88b7c1
Add servername validator
CLIENT-164
Change-Id: If8fa77b51d50a0355ac3297aa0ef884908f05f8c
Reviewed-on: http://gerrit.dmdirc.com/1773
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 13 ans