Greg Holmes
2deb882704
Merge pull request #14 from csmith/master
Add method to FileUtils to get a Path.
9年前
Chris Smith
b5256854b7
Add method to FileUtils to get a Path.
This maintains a FileSystem pointing at the jar the application is
running from, which can be used to get Paths for bundled resources.
9年前
Chris Smith
213bc6f892
Merge pull request #13 from greboid/master
Use J8 methods in TextFile.
9年前
Greg Holmes
a9aa3e869f
Switch to Java8 methods for TextFile.
9年前
Chris Smith
0ff6197174
Merge pull request #12 from greboid/master
Add a function based validator.
9年前
Greg Holmes
37cd0144e7
Simplify a little.
9年前
Greg Holmes
06ff6a463b
Add a function based validator.
9年前
Greg Holmes
6ca670829a
Merge pull request #11 from csmith/master
Remove deprecated method.
9年前
Chris Smith
4679e71dbe
Remove deprecated method.
9年前
Chris Smith
80864294f4
Merge pull request #10 from greboid/tidying
Tidying
9年前
Chris Smith
0eacc1b86d
Merge pull request #9 from greboid/deleteant
Finish removing ant + netbeans
9年前
Greg Holmes
6fff51e089
Correct hashcode method.
9年前
Greg Holmes
807572c8fc
Tidying
9年前
Greg Holmes
6dc5f70b29
Remove things from .gitignore
9年前
Greg Holmes
ebea185fa6
Finish removing ant + netbeans.
9年前
Greg Holmes
5f8d50c871
Merge pull request #8 from csmith/master
Tell gradle to use 1.8.
9年前
Chris Smith
11b85523ce
Tell gradle to use 1.8.
9年前
Chris Smith
8c9eb53d41
Merge pull request #7 from greboid/java8
Ditch travis
9年前
Greg Holmes
cff33f6843
Remove travis.
9年前
Chris Smith
c7f6a3c08a
Merge pull request #6 from greboid/java8
Switch CI to j8
9年前
Greg Holmes
f8517c6c6f
Switch CI to j8
9年前
Chris Smith
a36e3d3ce8
Merge pull request #5 from greboid/jsr305
Add JSR305
9年前
Greg Holmes
7305fae38d
Add JSR305
Use @Nonnull
9年前
Greg Holmes
5fe976315a
Merge pull request #1 from csmith/master
Start work on a generic link extractor.
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年前
Greg Holmes
c0e532e93e
Add a couple of methods to determine how an application was launched.
Change-Id: I20d3a7b908bbeae833ffffe0598b99bde47021c7
Reviewed-on: http://gerrit.dmdirc.com/4073
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Greg Holmes
57bcea0572
Hide StreamReader behind StreamUtils.
Change-Id: Ia24b29f2fcd414d7b27bad52cc6fad6312179de5
Reviewed-on: http://gerrit.dmdirc.com/4067
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
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年前
Chris Smith
93594b6bd6
Remove pointless method.
Sockets are closeable now. Woo.
Change-Id: I1d58c907dd38e515b25273685d37e3650c03042f
Reviewed-on: http://gerrit.dmdirc.com/4065
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Greg Holmes
60e9f7d9cd
Remove deprecated methods.
Change-Id: I5ad29260862e3e9983a7031549bb5e6296551859
Reviewed-on: http://gerrit.dmdirc.com/4055
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
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
9d279109f1
Fix copying resources from zip files.
FileSystems aren't as automatic as I expected :(
Change-Id: I5fe47086e86e3812dfa463bf1125ae02d1df3633
Reviewed-on: http://gerrit.dmdirc.com/4062
Reviewed-by: Greg Holmes <greg@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
2b76d27c6f
Couple of bug fixes.
Don't try and resole using a path from another FS provider.
Create paths via URIs not via strings, as otherwise it gets
confused with protocols.
Change-Id: Ibb33317ee9ce8d1567535e464c8f59667ea5e65a
Reviewed-on: http://gerrit.dmdirc.com/4043
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
76ba1d77e2
Add FileUtils.
Not tested or used yet :)
Change-Id: If34cc6520c3d05ed33c6d82eac2e2fbcba99a688
Reviewed-on: http://gerrit.dmdirc.com/4042
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9年前
Chris Smith
18985ede50
Add .gitreview config.
Change-Id: Iee2cffccfcb5c46e2b53784d985d3b4cfe122f2a
Reviewed-on: http://gerrit.dmdirc.com/4020
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
397bc5d06b
Unused methods
Change-Id: I17a4c8320988fd24250eeee6cab1229b9c9a2279
Reviewed-on: http://gerrit.dmdirc.com/4012
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
24887407f0
Specific versions.
Change-Id: Iea36563c1cd6119e3da0b2d200ceb95d09092fd8
Reviewed-on: http://gerrit.dmdirc.com/4005
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
5b7f3a9358
Allow ConfigFile to work on Paths.
Apply a bunch of style fixes.
Change-Id: I314e09dcebabcce452881754ef370c2495692030
Reviewed-on: http://gerrit.dmdirc.com/4000
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@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
e60809a36e
Add a repository to get the test deps from.
Tidy up .gitignore.
Change-Id: Iaab43f6e475d834644a5c18a983a24679874df52
Reviewed-on: http://gerrit.dmdirc.com/3913
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前
Chris Smith
4c937524ef
Remove all ant stuff.
Change-Id: Ic4afa11b8eaf3d9d1717c4b326db7a05caeddf27
Reviewed-on: http://gerrit.dmdirc.com/3912
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9年前