Chris Smith
644fc08b07
Propagate annotations around a bit.
Change-Id: I69d73f774294ca374b87b5aa5d42127b219a2b5e
Reviewed-on: http://gerrit.dmdirc.com/3798
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 vuotta sitten
Chris Smith
e0f82140f5
Reorganise all imports
Change-Id: I505dd85becbfe5e5fd611a69cee7678d84fb249f
Reviewed-on: http://gerrit.dmdirc.com/3775
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 vuotta sitten
Chris Smith
8b53138184
Typo fix.
Change-Id: Ide5afea6d4e7ba04cf3226f10e1ea530e1a60c10
Depends-On: Ic2a1b97aa44e9168bae4a1e28941208e7711bb46
Reviewed-on: http://gerrit.dmdirc.com/3742
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 vuotta sitten
Greg Holmes
f4f9796dbc
Switch to non deprecated method.
Change-Id: I15abfa2c86b2351e76ada1b2d16efa52c2af5b61
Reviewed-on: http://gerrit.dmdirc.com/3576
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 vuotta sitten
Chris Smith
b7dbb5dd6c
Bulk remove inheritDoc.
Change-Id: I34cf63e7b9307b35de53b48165e4ba71a50213ab
Reviewed-on: http://gerrit.dmdirc.com/3274
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 vuotta sitten
Greg Holmes
8381857bdc
Manually bump all the plugin versions
Change-Id: I421391f9eef53b582838b7dc8471f4ad737c38e7
Reviewed-on: http://gerrit.dmdirc.com/3236
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 vuotta sitten
Chris Smith
74aa499be4
Autoformat all the plugins.
Change-Id: I35bf8ce93d7be8fb714b1a58adc9dd66672ec717
Reviewed-on: http://gerrit.dmdirc.com/3124
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
10 vuotta sitten
Greg Holmes
f43be1d40c
Remove lombok from next set of plugins
Change-Id: I912eb22c4612741e60626f8c59e065ad98a5c05a
Reviewed-on: http://gerrit.dmdirc.com/2997
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 vuotta sitten
Shane Mc Cormack
c7990ef968
Update Copyright to 2014
Change-Id: I3e4fd86a0d19f5167506df5986f7ec256b224820
Reviewed-on: http://gerrit.dmdirc.com/2979
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 vuotta sitten
Chris Smith
0f1fd3bea6
Add @Exported annotation to all exported methods.
Change-Id: Ic0c9759f99f66c4046783ba41a3b49f4b31da3bf
Depends-On: I2bea7440d9e61145bb68f02dff55ec52d11ba1af
Reviewed-on: http://gerrit.dmdirc.com/2909
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 vuotta sitten
Greg Holmes
a9354e7b54
Java 7 conversions
Change-Id: Ic204dbad72378455b5cd9dbd66d29dacf31ddd9c
Reviewed-on: http://gerrit.dmdirc.com/2895
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
10 vuotta sitten
Chris Smith
c2e94604e5
Use ivy for plugin dependencies.
Depends-On: I34d7849a75cd4c7a91e04a9dad6f8073aa5a8f61
Change-Id: I65d96f91e1eb5ed7afb43dd41cd00531d809878d
Reviewed-on: http://gerrit.dmdirc.com/2736
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
10 vuotta sitten
Greg Holmes
2ca4779a17
Add base command plugins
Change-Id: I8bb1e5bc9e2ca965ff3687d365a167c9b5ccc746
Depends-On: I1d49bc2e572e44466193b4851646edb01d303998
Reviewed-on: http://gerrit.dmdirc.com/2613
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
11 vuotta sitten
Shane Mc Cormack
d30f7690e4
Update copyright for 2013
Change-Id: I1eea04000294c228a8f66464c89f92c1a7cd5321
Reviewed-on: http://gerrit.dmdirc.com/2605
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
11 vuotta sitten
Shane Mc Cormack
6556983e07
Expose some new methods via the parser interfaces
Change-Id: I4395b5b15edf196390244da0658c47ca9c0dcda0
Depends-On: I701d0dca3e03fc8f5f03356a641bb5985c3c661e
Reviewed-on: http://gerrit.dmdirc.com/2546
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
11 vuotta sitten
Chris Smith
62240b229e
Support for sending raw stanzas with the XMPP parser.
Change-Id: I1ca5f2a783042500b722b20dd20aa604f4c731f0
Fixes-issue: CLIENT-371
Reviewed-on: http://gerrit.dmdirc.com/2479
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 vuotta sitten
Chris Smith
d367b6f8af
Add basic error handling for XMPP messages
Change-Id: I0333bb648d246bbba2e5281ea8373fa2d57b0cfa
Fixes-issue: CLIENT-370
Reviewed-on: http://gerrit.dmdirc.com/2478
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 vuotta sitten
Chris Smith
65ab5f464c
Adapt to Smack's silly exception structure.
Change-Id: I24aa53dc3941a32db9a8b80b54b91d977bba8fad
Fixes-issue: CLIENT-354
Reviewed-on: http://gerrit.dmdirc.com/2477
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 vuotta sitten
Greg Holmes
998ce3b45d
Handle invalid input and parser errors better.
Issue CLIENT-234
Change-Id: I5d7133cf0c8f7a2792e07e7d69abb043ebbc98b0
Reviewed-on: http://gerrit.dmdirc.com/2408
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Chris Smith
d57b611bc3
XMPP Parser now fires away events properly
Change-Id: Ie10efdf6efea2546256dada2e2690a188806c330
Fixes-Issue: CLIENT-285
Reviewed-on: http://gerrit.dmdirc.com/2386
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 vuotta sitten
Chris Smith
9d50f39e66
Add some logging to the XMPP parser
Change-Id: I4e832651a12a3b43d697fb135cf1487f35ac40c6
Reviewed-on: http://gerrit.dmdirc.com/2359
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 vuotta sitten
Chris Smith
34ad9344d3
Support for sending and receiving actions as "/me" in the XMPP parser
(This is how google talk does it)
Change-Id: I10c15b3e0e7d125460ef6b3f09bc79dc9304b3a4
Reviewed-on: http://gerrit.dmdirc.com/2358
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 vuotta sitten
Shane Mc Cormack
f40fbcff29
Update copyright for 2012
Change-Id: I559bbd9a7e6abdfc73068d4934cfb0fc9f7ce84c
Reviewed-on: http://gerrit.dmdirc.com/2289
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
12 vuotta sitten
Shane Mc Cormack
0009a08c0a
Fix for issue CLIENT-312 - Parser shouldn't extend runnable
The parser now defines some new methods:
- connect()
- connect(threadName)
- interrupt()
connect([threadName]) is responsible for creating any required threads
for the parser to run in and maintaining them internally.
interrupt() allows for interrupting these thread if they exist and if
required.
A new base class for parsers has been added to accomodate this with
minimum changes required elsewhere - ThreadedParser which BaseParser
now extends.
ThreadedParser handles the creation of a single controlThread and allows
interrupting it, and also defines an abstract void run() method (which
all existing parsers will already have from extending runnable in the
past) which is used by the controlThread.
Change-Id: I90ac61d56eb623165d3c4211f1c3247fcba823c8
Depends-On: Ib3e884407181adc362394b23fe59f8e3b401d692
Depends-On: I5ef8ea1e988fe9591df0054ad0016c409fc34b3f
Reviewed-on: http://gerrit.dmdirc.com/2257
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
12 vuotta sitten
Chris Smith
9c3f7ef786
Stub out group list methods
Change-Id: I8eb9a68ad651554123c7254c8357e916db57557e
Depends-On: Id47a386356c7b08883cfbe326bcf2826f0b97adf
Reviewed-on: http://gerrit.dmdirc.com/2199
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
12 vuotta sitten
Chris Smith
20facb53f2
Implement composition state change method in parsers
Change-Id: Iece6afe9fba02126f203cb1aecd702bc9303b981
Depends-On: Ic893051d84bc4ab47274b2bf9c967db8ba951eea
Reviewed-on: http://gerrit.dmdirc.com/2132
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 vuotta sitten
Chris Smith
fcd1b64588
XMPP Parser now fires composition events
Change-Id: Ia622bcbdb8cf9b27140edf24cfb36b7c80fe5940
Reviewed-on: http://gerrit.dmdirc.com/2128
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 vuotta sitten
Greg Holmes
85a02e5f38
Change header?
Change-Id: Id75a4947fe4c2a08460b4ee9e6e481c568d0c6d3
Reviewed-on: http://gerrit.dmdirc.com/2074
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 vuotta sitten
Greg Holmes
c9fadebbd6
Use new BasePlugin methods for registering commands.
Change-Id: If0aa11d3423514916f98054d44ef863dcaac3a49
Depends-On: I62a79e69bd92d4aad1c244f5683f2d0524b8337e
Reviewed-on: http://gerrit.dmdirc.com/2036
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 vuotta sitten
Chris Smith
7a1f50f3a1
Pass correct arg when making numeric calls in XMPP parser
Change-Id: I542d664245b7def86beb246c71fb98816f162b7a
Fixes-Issue: CLIENT-264
Reviewed-on: http://gerrit.dmdirc.com/2008
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 vuotta sitten
Chris Smith
40a4e2fab9
Fix XMPP parser not caching server name
Switch to new callback methods
Change-Id: I9631efe0d42568c7e1d7c1d47099c8dbe2b5405c
Depends-On: Icc4de20b0617f9962853e8c9fe66737d6a5b9297
Fixes-Issue: CLIENT-258
Reviewed-on: http://gerrit.dmdirc.com/2004
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 vuotta sitten
Greg Holmes
f7f9223483
Make protocol descriptors check if a URI is secure.
Issue CLIENT-209
Change-Id: Ibf3e3a2f03270089849d9943a535e022245e0f44
Depends-On: I802cf467f0c4f41f6316ddba5451069b0bbaa0c5
Reviewed-on: http://gerrit.dmdirc.com/1999
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 vuotta sitten
Chris Smith
01cbd5830f
Use @ChildImplementations
Change-Id: I7178085b05baaf1923f0d41e936c863e4f79a0aa
Depends-On: Ib43769c82b0a5ca1a0ac3bd6fd91e4105b0c2a87
Reviewed-on: http://gerrit.dmdirc.com/1992
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 vuotta sitten
Chris Smith
36fd171ca1
Expose AwayState in other parsers
Change-Id: I41638fedc08dbebdb89e8ad9f872536db5d3091f
Depends-On: Iafa0b38ea0f1f4dc39d153b9f6f8646389676ed5
Reviewed-on: http://gerrit.dmdirc.com/1982
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
13 vuotta sitten
Chris Smith
ecc72a9585
XMPP improvements
- Support for priorities
- Support for away states
- Hack around Smack problems more hackily, as the old one didn't work
Fixes CLIENT-235
Change-Id: I2d09becbfbd194fb0561247ff713e2634b65b6b1
Reviewed-on: http://gerrit.dmdirc.com/1954
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 vuotta sitten
Chris Smith
92e4db746b
Recalculate presence when endpoints are removed
Fixes CLIENT-246
Change-Id: Ibbe7b1387672ec43c5d0a4abcc288baa88933007
Reviewed-on: http://gerrit.dmdirc.com/1953
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
13 vuotta sitten
Greg Holmes
5f035d6e76
Change Plugin to an interface and add BasePlugin abstract class.
Issue CLIENT-241
Depends-On: Ie1b3277bb1c667ee99a1b203c2ff1094616ceaff
Change-Id: If0fd1c74a19c488cb7853d69deae9f75bab43d41
Reviewed-on: http://gerrit.dmdirc.com/1923
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 vuotta sitten
Chris Smith
f5fff70ef4
Fix line endings / trailing spaces
Change-Id: Id0a4aa086f7fb9bac776ec4c877aa8628175c0bc
Reviewed-on: http://gerrit.dmdirc.com/1921
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 vuotta sitten
Chris Smith
949b525c5b
Remove third party classes from source tree
Fix some broken copyright headers
Minor style fixes
Change-Id: I9326c4f957c776867e166b7031af97050e872a42
Depends-On: I6e7791c8a4f500f2a5ce1bd9069e2b464f7dde50
Reviewed-on: http://gerrit.dmdirc.com/1887
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 vuotta sitten
Chris Smith
db9f4c4171
Fix XMPP parser reconnecting failing with NPE in weird circumstances
Change-Id: I695a1a7ada52d0a8c4144164afe7355b85c592e0
Reviewed-on: http://gerrit.dmdirc.com/1862
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 vuotta sitten
Chris Smith
ce075faf2f
Initial work on XMPP parser and parser base abstraction
Depends-On: I3bfbb811a5b5055d8dbe511a0390c3413d133292
Depends-On: I694d18a653ca8c3e3cad9d0e766e2fd207e615e9
Change-Id: I4ff484e8a2597017283eea557170c4aeb2029faa
Reviewed-on: http://gerrit.dmdirc.com/1852
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
13 vuotta sitten