Chris Smith
4edb6a6996
Tidying
Change-Id: Ib6f8bf58d07d0c23369b41e8eda94ac4a36774b7
Reviewed-on: http://gerrit.dmdirc.com/3802
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 9 година
Greg Holmes
30f4b1f3f2
Switch to AutoClose instead of StreamUtils.
Change-Id: I7cfa545b8524fa5fc49606bd11006c37969fd78f
Reviewed-on: http://gerrit.dmdirc.com/3792
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 9 година
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 >
пре 9 година
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 >
пре 10 година
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 >
пре 10 година
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 >
пре 10 година
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 >
пре 10 година
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 >
пре 10 година
Greg Holmes
19efd0cec9
Add license header to utils project.
Change-Id: I85ca606d0da53102aaa751f2631fdad839bed850
Reviewed-on: http://gerrit.dmdirc.com/3591
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 10 година
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 >
пре 10 година
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 >
пре 10 година
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 >
пре 10 година
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 >
пре 10 година
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
пре 10 година
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 >
пре 10 година
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 >
пре 10 година
Chris Smith
e56904acef
Add a travis config.
Change-Id: I9681c38510cf9535464c20133b61190bf663070c
Reviewed-on: http://gerrit.dmdirc.com/3241
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 10 година
Chris Smith
6780ea88e2
Mark temp files as deleteOnExit.
Fixes-Issue: CLIENT-453
Change-Id: Ia88e231381da2d1907c78ecccb5f7456e71adb16
Reviewed-on: http://gerrit.dmdirc.com/3195
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 10 година
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 >
пре 10 година
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 >
пре 10 година
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 >
пре 10 година
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 >
пре 10 година
Greg Holmes
162c641385
Bump to 1.7
Change-Id: I1fe662814a1c10ac392ce77002f0b63383716ac3
Reviewed-on: http://gerrit.dmdirc.com/2700
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 10 година
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
пре 10 година
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
пре 10 година
Shane Mc Cormack
48fbfe50b9
Fix LICENCE file name and add AUTHORS file.
Change-Id: I8ce625ab430d39da199a605858dfe38cc3427351
Reviewed-on: http://gerrit.dmdirc.com/2651
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 10 година
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
пре 11 година
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
пре 11 година
Shane Mc Cormack
716e4f22e6
Add LICENSE file to project to cover any files that don't otheerwise currently contain a license header.
Change-Id: I922ce332d6fd0623041504b564bb3a3abc4856fd
Reviewed-on: http://gerrit.dmdirc.com/2527
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 11 година
Greg Holmes
4a1ac2be2b
Add ant files to publish to maven
Change-Id: I5b82eab0630c0fdf0d9efff3ddcab07d23302662
Reviewed-on: http://gerrit.dmdirc.com/2508
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
пре 12 година
Shane Mc Cormack
8c2e8358ac
Updated version.
Change-Id: I6abef770b5545816809275360e4282140e04d08c
Reviewed-on: http://gerrit.dmdirc.com/2517
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 11 година
Greg Holmes
a7d0aa6933
Make directories up to private.properties
Change-Id: I32b102f8e7f7929192c2dac17736cb23f08b697f
Reviewed-on: http://gerrit.dmdirc.com/2502
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 12 година
Greg Holmes
2b1445449a
Fix error building from teamcity
Change-Id: I1a4e1005bcb7181fd038b73829d77090031ed252
Reviewed-on: http://gerrit.dmdirc.com/2501
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 12 година
Greg Holmes
55f257bc15
Convert utils to standalone project
Change-Id: Ib1cb137bf6d19be61c2329fb3dfb9939a347090a
Reviewed-on: http://gerrit.dmdirc.com/2500
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 12 година
Greg Holmes
d6f3007325
Update JGit-describe (properly this time)
Change-Id: I8e8686c0f3498c5b31609d265cfa74263ef034ef
Reviewed-on: http://gerrit.dmdirc.com/2496
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 12 година
Greg Holmes
625815fa61
Update git describe to fix windows support.
Change-Id: I829fecb5bcea76c6a584fc99090e1ffaba4cf99f
Reviewed-on: http://gerrit.dmdirc.com/2495
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 12 година
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 >
пре 12 година
Greg Holmes
e9c30ea502
SimpleInjector Unit test
Change-Id: Ic73c78ad63bfbc2fcdef87c6c7cab70ab85a3131
Reviewed-on: http://gerrit.dmdirc.com/2447
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 12 година
Greg Holmes
9dd933b38e
ReturnableThread unit test
Change-Id: I0ee76f3b816c6925f4f05baeb9aaaebf002e30e4
Reviewed-on: http://gerrit.dmdirc.com/2446
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 12 година
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
пре 12 година
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 >
пре 12 година
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 >
пре 12 година
Greg Holmes
eff5c402d5
Add tests for ListenerList
Change-Id: I1a395717ec1acdc5fb866f28efbc0c9da1d38205
Reviewed-on: http://gerrit.dmdirc.com/2440
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
пре 12 година
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
пре 12 година
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 >
пре 12 година
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 >
пре 12 година
Shane Mc Cormack
bbb03f0140
Update jgit-describe: "Oops, change the right : to ;"
Change-Id: Id72bd69e81f51292489ce7b13c2992cec641611a
Reviewed-on: http://gerrit.dmdirc.com/2368
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
пре 12 година
Shane Mc Cormack
59f4e2ed28
Update jgit-describe: "Use ; not : for subdir separators"
Change-Id: Ide810453073b03e205419fc7b11f86b4d97788da
Reviewed-on: http://gerrit.dmdirc.com/2365
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 12 година
Shane Mc Cormack
652208983e
Update jgit-describe.jar: "Allow subdir to support multiple filtered files using : as a separator."
Change-Id: I35814a36dcada7aa48602dbc8e0835b181ceb2ca
Reviewed-on: http://gerrit.dmdirc.com/2356
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 12 година
Shane Mc Cormack
06b88d3c67
Update jgit-describe.jar: "Remove stray sysout."
Change-Id: I229e337da9cce4a8af58dfbeecc9a0e09d2fac3a
Reviewed-on: http://gerrit.dmdirc.com/2348
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
пре 12 година