Shane Mc Cormack
ed4b36c1dc
All IRCProcessors should parse the dates from the server where provided, not just some of them.
7 gadus atpakaļ
Shane Mc Cormack
7a0c767c12
Update copyright for 2017
7 gadus atpakaļ
Chris Smith
5ed8865670
Restructure to standard maven/gradle layout.
Stop swimming against the tide and accept what most of the rest of
the world does.
While it adds an annoying depth to the actual source code, it makes
the root directory nicer (no more 'test-res' dirs), means we don't
have to override the gradle config, and makes it nicer to work in
IDEA 2016.1.
8 gadus atpakaļ
Chris Smith
0b786eef84
Start using dagger.
9 gadus atpakaļ
Chris Smith
db20dd3434
Remove unused circular dep, tidy tests.
Remove all tests that depend on TestParser - they're rubbish and
need to be completely rewritten to be proper unit tests.
9 gadus atpakaļ
Shane Mc Cormack
177bbb5f9a
2015!
9 gadus atpakaļ
Chris Smith
1a6a31d9ea
Make IRCProcessor implement handles().
Seems a bit odd for each implementation to define a method that
*always* returns a static String[] when we can just pass that
up to the base class.
9 gadus atpakaļ
Chris Smith
ac736524d8
Split irc/common into separate dirs.
Change-Id: I1d81392650d8193503621b2e69fbe66cd0eb736a
Reviewed-on: http://gerrit.dmdirc.com/4058
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
9 gadus atpakaļ
Chris Smith
830e54a9f7
Apply most inspections to the processors package.
Change-Id: I0034aa2dfa84a00adb47e7b6e766108aaf1f8c78
Reviewed-on: http://gerrit.dmdirc.com/3994
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 gadus atpakaļ
Chris Smith
0e461954b7
Move processors into their own package.
Make all package-private fields and methods they hackily touched
into public, for now.
Change-Id: Ica056a901535b0c0f503283d27ff5210fe625d26
Reviewed-on: http://gerrit.dmdirc.com/3952
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
9 gadus atpakaļ
Shane Mc Cormack
077e65c71e
Update Copyright to 2014
Change-Id: Iad5e74e45bb052f65b761ce8e334b571838edc10
Reviewed-on: http://gerrit.dmdirc.com/2978
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 gadus atpakaļ
Shane Mc Cormack
807ad3358b
Update copyright for 2013
Change-Id: I1c711ca0525af9a78cbd7c07876eaf6cc91c1434
Reviewed-on: http://gerrit.dmdirc.com/2604
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
11 gadus atpakaļ
Shane Mc Cormack
afbd2870b3
Update copyright for 2012
Change-Id: Ie7236e561d04eed00576a8ff6b43228106d3bff5
Reviewed-on: http://gerrit.dmdirc.com/2288
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 gadus atpakaļ
Chris Smith
0acd459e7e
Make IRCParser use BaseParser
Change-Id: I1b20a8f11d7c806cea5038599f7342627217652b
Depends-On: I7abcc2478ae104dfa5807934a5a249c4f5386773
Reviewed-on: http://gerrit.dmdirc.com/2183
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 gadus atpakaļ
Chris Smith
43c5d3ee62
Parser tidying
Remove public non-final fields in favour of getters
Remove some unused and some useless methods
Change-Id: I3c0841494242da9a7c3a73f776b783965e6619fb
Reviewed-on: http://gerrit.dmdirc.com/2182
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 gadus atpakaļ
Greg Holmes
002b8b2aa2
Change header?
Change-Id: I4a4bd2f45c18759bced41fc0aec1e570f11dfa6f
Reviewed-on: http://gerrit.dmdirc.com/2073
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 gadus atpakaļ
Chris Smith
69c5e57258
Style fixes
Change-Id: Ia1d78711f050f6938753a1e8e1dd5dd8b1457b5d
Reviewed-on: http://gerrit.dmdirc.com/1977
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 gadus atpakaļ
Chris Smith
8bed9eb8fa
Parser base abstraction/tidying
Depends-On: I3bfbb811a5b5055d8dbe511a0390c3413d133292
Depends-On: I4ff484e8a2597017283eea557170c4aeb2029faa
Change-Id: I694d18a653ca8c3e3cad9d0e766e2fd207e615e9
Reviewed-on: http://gerrit.dmdirc.com/1854
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 gadus atpakaļ
Shane Mc Cormack
f5c407dad2
Update Copyright
Change-Id: I4a6c51789e37e0f96967344c98010ee7ff760506
Reviewed-on: http://gerrit.dmdirc.com/1723
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 gadus atpakaļ
Greg Holmes
83e12d6517
Fix PMD bugs in parser.
Change-Id: Ifd55c3c04740aa88f349aae5abee7fa817b82e39
Reviewed-on: http://gerrit.dmdirc.com/1692
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 gadus atpakaļ
Chris Smith
b2a61ceabf
Style fixes
Change-Id: I920ca1847ac1af6cf3a13e891e6340f68c6abb91
Reviewed-on: http://gerrit.dmdirc.com/1335
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 gadus atpakaļ
Chris Smith
acde4c2d05
Style fixes
Change-Id: I51d0e3c7975740b1ede5d6226639022bd15a482a
Reviewed-on: http://gerrit.dmdirc.com/1328
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 gadus atpakaļ
Chris Smith
5c89ed6898
Add joinChannels method and repurpose updateURI()
Fixes issue 3582
Fixes issue 3641
Fixes issue 3863 (dev error)
Issue 3623
Issue 3600
Change-Id: Ia0b147cfe1af5d5d5d1eae34c82e50ce23578d10
Depends-On: I1dac30977798780148eb27b8279a56a86b3bf890
Reviewed-on: http://gerrit.dmdirc.com/979
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 gadus atpakaļ
Chris Smith
0b69437aad
Add parser method to update parser with a URI
Issue 3254
Change-Id: I7b7d1ba7daa5d8b5c4ec0838163d67de039b616c
Reviewed-on: http://gerrit.dmdirc.com/565
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
14 gadus atpakaļ
Shane Mc Cormack
8020751b37
Update the copyright date on all files.
Change-Id: I581861c8c8743cb835c45d128c4b4768372de807
Reviewed-on: http://gerrit.dmdirc.com/201
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
14 gadus atpakaļ
Shane Mc Cormack
44f40e3049
Channel Parsing now includes query bits. Fixes issue 3213
Change-Id: I4f78dff4375396396878dd0b9fd81960b495f7d9
Reviewed-on: http://gerrit.dmdirc.com/127
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
14 gadus atpakaļ
Shane Mc Cormack
cb5dc5a942
Handle channels in URLs.
This should work for most cases of irc links, but irc://irc.quakenet.org/#foo,#bar will cause URI to complain long before it gets to the parser to even attempt to handle it. (Altho the /newserver command makes it appear as "Invalid port")
Fixes Issue 3112
Change-Id: I45f38664753eaf446880f7d6c36fade0328dcca2
Reviewed-on: http://gerrit.dmdirc.com/107
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 gadus atpakaļ
Shane Mc Cormack
6c97cd0869
Initial commit of parser stuff.
15 gadus atpakaļ