Chris Smith
4679e71dbe
Remove deprecated method.
9年前
Greg Holmes
807572c8fc
Tidying
9年前
Chris Smith
fba5088719
Start work on a generic link extractor.
At the moment this just implements the first step of the Styliser's
link detection. It doesn't apply any of the "intelligent" corrections.
9年前
Chris Smith
0e02c175f6
Add StringUtils class + tests.
These are from the TextPane, but seem fairly general purpose.
Change-Id: Ic119eb461a365b4f7050715c6bc0abd5c034e57c
Reviewed-on: http://gerrit.dmdirc.com/4081
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
c4dde2f42b
Try to stop the downloader test flaking.
Replace tempremental in-order mocking with a real output stream.
Allow maps to be serialised in any order.
Change-Id: Ie181cc23920b98717acdcac0fce02a9afdce6e85
Reviewed-on: http://gerrit.dmdirc.com/4066
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Greg Holmes
cc70fb7c1c
Add unit test for StreamReaderUtil
Change-Id: I333d7a498862cc1dfb6dfe467f97cdaa3372b273
Reviewed-on: http://gerrit.dmdirc.com/4064
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
d3ce99e446
Tidying
Change-Id: I2722a059aeca5e93d02a39b47ce8d945947f04ad
Reviewed-on: http://gerrit.dmdirc.com/4052
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Greg Holmes
efc3439452
Use j7 methods.
Change-Id: I7304aa4392c835efa700d76676213f3294307b8f
Reviewed-on: http://gerrit.dmdirc.com/4049
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Greg Holmes
aad1578811
Unit test for Downloader
Change-Id: I3b054eb2144f51bc0b5935ee24525616dc042a4e
Reviewed-on: http://gerrit.dmdirc.com/4047
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
f6b56531d3
Make ReverseFileReader autocloseable.
Because why not?
Change-Id: I996ff53c4bb7bd0d237691c260ed7dc55e6499fa
Reviewed-on: http://gerrit.dmdirc.com/4048
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Greg Holmes
87e3c1343d
Make ReverseFileReader use Paths.
Change-Id: I921a395e088846216650d1ac14207cb915a6bb8c
Reviewed-on: http://gerrit.dmdirc.com/4045
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
9年前
Chris Smith
18b3adddbc
Add an alternative formatter.
Formatting durations as 'XX:YY' is fairly common and repeated
in nearly all the nowplaying sources. Make a util method instead.
Change-Id: I8663a0ff5da7a17d7d47cf10e5b0e74722671b46
Reviewed-on: http://gerrit.dmdirc.com/3986
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9年前
Chris Smith
4ec0f9f35d
Tidy
Change-Id: Ie04cdf734db3b8bb0e065c554ced7c1ea2600fb2
Reviewed-on: http://gerrit.dmdirc.com/3943
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9年前
Chris Smith
fb6da494a3
PMD fixes
Change-Id: I348b37a14097439f8a56b0a671794410e46201ca
Reviewed-on: http://gerrit.dmdirc.com/3938
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9年前
Chris Smith
35eb9e9598
Minor tidying
Change-Id: Ib15e1ec964dfc126ad28c7b8599c5696b9061535
Reviewed-on: http://gerrit.dmdirc.com/3918
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
c200f9be65
Gradle the util project.
Change-Id: I579afbde086d5761fe3743b23f4655cb4ea5b8df
Reviewed-on: http://gerrit.dmdirc.com/3909
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
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年前
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年前
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年前
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年前
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
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
12年前
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
12年前
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
12年前
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 >
12年前
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
12年前
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 >
13年前
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 >
13年前
Simon Mott
306410b839
Unit test for CommandUtils
Change-Id: Id5020b8d2db071cd0e0898ea59f5e1602ef77bf7
Reviewed-on: http://gerrit.dmdirc.com/1900
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13年前
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 >
13年前
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 >
13年前
Shane Mc Cormack
0d48baf2c8
Update Copyright
Change-Id: I9d07e1b9b906df823c5f433babac82feb8cef4b8
Reviewed-on: http://gerrit.dmdirc.com/1725
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13年前
Chris Smith
9ba9a54d56
OptionalValidator no longer fails valid settings
Change-Id: I84d88575fd48f11ef1236fcbe1d137ac5bbbc920
Reviewed-on: http://gerrit.dmdirc.com/1568
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13年前
Chris Smith
fbd836e534
Add validators
Issue 4253
Change-Id: Id5a06b7a2567cf5b23b7886f15faeb4f00a5cc34
Reviewed-on: http://gerrit.dmdirc.com/1456
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
0378573a34
Style fixes
Change-Id: Ifbff0f1a0d193403613a0d444443dd1c45d1acc2
Reviewed-on: http://gerrit.dmdirc.com/1334
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14年前
Chris Smith
ca87e1930b
Style fixes
Change-Id: I04161a813d1d25e632e5918ca1686157287125d7
Reviewed-on: http://gerrit.dmdirc.com/1330
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14年前
Chris Smith
f71650983e
Minor random unit test changes
Change-Id: Ibefb42aba3dc5e5f30335054f26237c6be551b4b
Reviewed-on: http://gerrit.dmdirc.com/1073
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14年前
Chris Smith
85bdc577c7
I wonder why there were odd failures when doing util tests...
Change-Id: I9d1d1f0f85661b8f419b79c0eaedb73c3960036e
Reviewed-on: http://gerrit.dmdirc.com/785
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14年前
Chris Smith
80d0cb4bf8
Initial import of util classes
14年前