Shane Mc Cormack
a7d737936a
Let proxies worry about which target to connect to, v4 or v6.
Change-Id: If346fc78ffb10e4302d129fd16386370398bec1d
Reviewed-on: http://gerrit.dmdirc.com/2971
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 10 години
Shane Mc Cormack
2c47c6ddcb
Fix formatting errors introduced in 6864a35fa2ca95b7dfbb1137a620e6fb33512c07
Change-Id: I7ed80c3e353e8f68f97928555e4f6e114a03b755
Reviewed-on: http://gerrit.dmdirc.com/2901
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 10 години
Greg Holmes
6864a35fa2
Java 7 conversions
Change-Id: Id834157281c02302bfe6f71201042712144b22ff
Reviewed-on: http://gerrit.dmdirc.com/2894
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 10 години
Greg Holmes
f05823ce1c
Tidy javadoc
Change-Id: If8c377f64b3b336203ab4d01aaaa0a731f0545a1
Reviewed-on: http://gerrit.dmdirc.com/2885
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 10 години
Shane Mc Cormack
53058f9df3
Add missing null check to OutputQueue when changing the enabled state of the queue.
Change-Id: I8e74b3d9a247c289c96cd22736bcc4636f222996
Reviewed-on: http://gerrit.dmdirc.com/2839
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 10 години
Chris Smith
c15082c7b5
Make CHANTYPES handling somewhat sane.
Get rid of weird round-the-houses method of processing, and avoid
duplicating the value in a map and a field.
This fixes our handling of servers doing really stupid, theoretical
things like resetting the CHANTYPES they support. (And by "fixes"
I mean the parser will keep state, while everything else burns
around it.)
Change-Id: Ie4936f21e68e4bb1134e9be3f16932eef4ab086f
Reviewed-on: http://gerrit.dmdirc.com/2831
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
преди 10 години
Chris Smith
d94427df6b
Fix some warnings
Change-Id: Ib9222a1a0ddf182fe9c092fa2340c3954c251848
Reviewed-on: http://gerrit.dmdirc.com/2815
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 10 години
Chris Smith
536bec635e
A List of Characters... AKA a String.
Change-Id: I4ee609a42962a025e022315e64d199d1a8ecf3ba
Reviewed-on: http://gerrit.dmdirc.com/2814
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 10 години
Chris Smith
1130b835a6
Add some range checking.
Change-Id: I907f185d82fb4f7273eb5341acd100815688c4f2
Fixes-issue: CLIENT-406
Reviewed-on: http://gerrit.dmdirc.com/2813
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 10 години
Chris Smith
dac7f08707
Tidy up the 004/005 processor a bit.
Introduce methods for handling individual bits, instead of having
a pair of giant if statements of doom.
Tidy some comments and formatting up at the same time.
This is functionally the same as it was before.
Change-Id: I83f09cb6c36be203d102c44188f90de2b0587e58
Reviewed-on: http://gerrit.dmdirc.com/2812
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 10 години
Greg Holmes
d23d2d9c14
Bump java version, if allowed?
Change-Id: I69e3dde890fef13c31cf519523ce447a27ba29b9
Reviewed-on: http://gerrit.dmdirc.com/2701
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 10 години
Chris Smith
64721a52b7
Fix build warnings.
Change-Id: Ia13810eaecc9b387247c17948190ed5ccb692e14
Reviewed-on: http://gerrit.dmdirc.com/2667
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 10 години
Shane Mc Cormack
1b2c2adeaf
Fix LICENCE file name and add AUTHORS file.
Change-Id: Idcb2ad40b09e56a43a4931e337fe097db8996aad
Reviewed-on: http://gerrit.dmdirc.com/2649
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 10 години
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 години
Shane Mc Cormack
50eaacee9e
Don't check for SRV Records if a port is specified.
Change-Id: I6e48c0092c26fc5faec05f6400b9b35d12f91902
Reviewed-on: http://gerrit.dmdirc.com/2577
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 11 години
Shane Mc Cormack
0f7a33fd23
Check for nulls.
Change-Id: I15144999a27f9f022bd0f27ba0967048e58da182
Reviewed-on: http://gerrit.dmdirc.com/2570
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 11 години
Shane Mc Cormack
6e58fcddd2
Add support for SRV records for finding IRC servers. eg irc://quakenet.org/
Of the top 20 networks, it looks like only quakenet support it right now,
but it makes sense and allows for multiple servers to exist on the same IP
with different ports without needing to know the ports.
Eg for a test network you could just connect to irc://inspircd.testnetwork/
or irc://ircu.testnetwork/ without needing to remember the ports.
Change-Id: Ia366292e64b2ca46cb8658b34fdac598fa155722
Reviewed-on: http://gerrit.dmdirc.com/2567
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 11 години
Shane Mc Cormack
cfac5e3512
Seems ircd developers have standardised on 6697 as the default SSL port, so we should also.
Change-Id: I00f141e3fd4090131d116f103cae34a051bf89c1
Reviewed-on: http://gerrit.dmdirc.com/2566
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 11 години
Shane Mc Cormack
52c8058273
Expose some new methods via the parser interfaces
Change-Id: I701d0dca3e03fc8f5f03356a641bb5985c3c661e
Depends-On: I4395b5b15edf196390244da0658c47ca9c0dcda0
Reviewed-on: http://gerrit.dmdirc.com/2547
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 11 години
Shane Mc Cormack
9377336d5d
Add state-tracking to capability commands.
Add support for "away-notify" capability (http://ircv3.atheme.org/extensions/away-notify-3.1 )
Add support for "account-notify" capability (http://ircv3.atheme.org/extensions/account-notify-3.1 )
Add support for "extended-join" capability (http://ircv3.atheme.org/extensions/extended-join-3.1 )
Don't bother negotiating UHNAMES or NAMESX using PROTOCTL if we have already enabled the userhost-in-names and multi-prefix capabilities with CAP
Don't bother asking for TSIRC using the TIMESTAMPEDIRC command if we have negotiated it using CAP
Rename "tsirc" capability to "dfbnc.com/tsirc" as a non-standard capability
From a DMDirc point of view, capabilities probably need exposing through the general interface somehow so that if (for example) away-notify is enabled, the client doesn't still send lots of WHOs.
Change-Id: Ice7a8ceae5595a364881e5a1fbe2d7fbdef9a639
Reviewed-on: http://gerrit.dmdirc.com/2544
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 11 години
Shane Mc Cormack
cb1c1ad110
Add support for "CAP" extension.
(See: http://www.leeh.co.uk/draft-mitchell-irc-capabilities-02.html )
Change-Id: I9aaf2877770f86a93c9f8c525bea6315a7a8802b
Reviewed-on: http://gerrit.dmdirc.com/2541
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 11 години
Shane Mc Cormack
55b49488c9
Fix some INSPIRCD list mode parsing
Change-Id: I88eee521770db9ec756a9c18c28f935cdbdc19d7
Reviewed-on: http://gerrit.dmdirc.com/2542
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 11 години
Greg Holmes
09768c378f
Add away reason to ClientInfo
Change-Id: Id43956b2fad628754196aea3782d4892f3b768a5
Reviewed-on: http://gerrit.dmdirc.com/2537
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 11 години
Greg Holmes
b9d04d47ce
Add ant files to publish to maven
Change-Id: I0f247f1fd7ecfd434777845d194812a219246319
Reviewed-on: http://gerrit.dmdirc.com/2507
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 12 години
Shane Mc Cormack
f0561f7dc1
Add LICENSE file to project to cover any files that don't otheerwise currently contain a license header.
Change-Id: I7f7aae8a819f464a99ee3f0169ca2258bf046997
Reviewed-on: http://gerrit.dmdirc.com/2526
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 11 години
Greg Holmes
8e107225be
Add quit method to Parser
Change-Id: Ib1038c0d46b0c1f2de15050bb772fe519417d7bd
Reviewed-on: http://gerrit.dmdirc.com/2534
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
преди 11 години
Shane Mc Cormack
8d49cae8c1
make addAllCallback actually useful.
Previously it added an object as a callback target even if it didn't implement the callback handler, this was pointless and stupid, now it checks.
Change-Id: I24ce9f063a0f1f95e84ad2ae28a67e335cd63afe
Reviewed-on: http://gerrit.dmdirc.com/2519
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 11 години
Shane Mc Cormack
f1f02b4f4f
Updated version.
Change-Id: I399f70e589c94570c2e9e96c8d2a92a66448e627
Reviewed-on: http://gerrit.dmdirc.com/2518
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 11 години
Shane Mc Cormack
3ce9380cf5
Try to connect using IPv6 before IPv4, and falling back if there are errors.
Change-Id: I56e7ab284abb91e22bf5c35b73035302a85b45b4
Reviewed-on: http://gerrit.dmdirc.com/2513
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 12 години
Shane Mc Cormack
3ba51d9531
Make BaseParser ask ProxySelector for the proxy to use.
Change-Id: I3ac4dcb46143d29ce2f3304f5cf81d3e4e3943c3
Reviewed-on: http://gerrit.dmdirc.com/2510
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 12 години
Greg Holmes
bb4f862374
Convert parser to standalone project
Change-Id: Id91f50347ce9a63ebbfa0be1792c0feba7348d87
Reviewed-on: http://gerrit.dmdirc.com/2503
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 12 години
Greg Holmes
450f2f26db
Fix JGit-Describe (properly this time)
Change-Id: I460645e88ba7b5614dc8b2ac83870941cfb7dc52
Reviewed-on: http://gerrit.dmdirc.com/2497
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 12 години
Greg Holmes
8c17843a1c
Update git describe to fix windows support.
Change-Id: I85a6a95916a03ff4766a4319653a1fb929747566
Reviewed-on: http://gerrit.dmdirc.com/2494
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 12 години
Chris Smith
c504516f07
Make OutputQueue a bit thread safe.
Change-Id: Ib29494e43a7271f8511bc7f733534aae47aea8b2
Fixes-Issue: CLIENT-367
Reviewed-on: http://gerrit.dmdirc.com/2481
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 12 години
Chris Smith
9932008461
Decode IRC lines a bit better
We no longer truncate lines if there's a character which
can't be coded for in unicode, which stops lots of other
breakage.
Change-Id: I1886703fc7f6e4d2076da4e4bd3b9aa60e8bc051
Fixes-Issue: CLIENT-353
Reviewed-on: http://gerrit.dmdirc.com/2414
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 12 години
Chris Smith
994e288bfa
Put the versions in the correct properties again
Change-Id: I92f7184110dec669bf9f4aa09dab0a07245f164e
Reviewed-on: http://gerrit.dmdirc.com/2384
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 12 години
Shane Mc Cormack
9ad6698410
Update jgit-describe: "Oops, change the right : to ;"
Change-Id: I75ef7125aeefbddbf612629db37743a06ef72834
Reviewed-on: http://gerrit.dmdirc.com/2366
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 12 години
Shane Mc Cormack
f515ad74e1
Update jgit-describe: "Use ; not : for subdir separators"
Change-Id: I3959753c4342b3fd1c774134ec35b6129add7503
Reviewed-on: http://gerrit.dmdirc.com/2364
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 12 години
Shane Mc Cormack
55255c542b
Update jgit-describe.jar: "Allow subdir to support multiple filtered files using ; as a separator."
Change-Id: I04b90827b4ea4bcffd8f1a917d9e83fd87cf1505
Reviewed-on: http://gerrit.dmdirc.com/2355
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 12 години
Shane Mc Cormack
9f047741be
Update jgit-describe.jar: "Remove stray sysout."
Change-Id: Icaec05f28e8ae949660345f85a40ce2e5ad4a6d1
Reviewed-on: http://gerrit.dmdirc.com/2350
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 12 години
Shane Mc Cormack
2e38ea4a2c
Update jgit-describe.jar: "Filter properly on Windows."
Change-Id: I1bf4b2f43ecde3faed72a8034d2f83e04f00f01d
Reviewed-on: http://gerrit.dmdirc.com/2345
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 12 години
Shane Mc Cormack
d3bff89e13
Update jgit-describe.jar: "Update with support for .git-files rather than requiring .git to be a directory and Better support for windows"
Change-Id: I3e417aceb4dbecf9afd2968afd3525879643e795
Reviewed-on: http://gerrit.dmdirc.com/2341
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 12 години
Shane Mc Cormack
5b39ac8ae4
Update to jgit-describe with less NPEs
Change-Id: I85d6b3a7126cfd735d04618ba692abe35fe11ceb
Reviewed-on: http://gerrit.dmdirc.com/2328
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 12 години
Shane Mc Cormack
8eaa47d7e2
Don't break if the given subdir isn't actually versioned.
Change-Id: I08bf01b126722ed56ef94dda8a29191d1399866b
Reviewed-on: http://gerrit.dmdirc.com/2322
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
преди 12 години
Shane Mc Cormack
9bfe84cb66
Don't shell out to git if possible.
jgit-describe only supports 1 subdir atm, so for now we still need to shell out once.
Change-Id: I1cdbfd09abe2f515b78732e98203c52772a724c6
Reviewed-on: http://gerrit.dmdirc.com/2299
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 12 години
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 години
Shane Mc Cormack
9f5da313da
Bye Bye Warning.
Change-Id: I3903374f9941e74bfd222650110d6e91d0899b31
Reviewed-on: http://gerrit.dmdirc.com/2272
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 12 години
Shane Mc Cormack
23e2263272
Set some sane defaults so as not to get "Non-positive period." error when trying to start the ping timer.
Change-Id: I6a0f9b362087677004f0ea21c5841f2eef15d04b
Reviewed-on: http://gerrit.dmdirc.com/2271
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
преди 12 години
Shane Mc Cormack
1203cdfe2c
Fix automatic NickInUse handler if Alt Nickname is the same as prependChar + nickname
Change-Id: I1dada61297eca27526cddf6ad182683c133bd094
Reviewed-on: http://gerrit.dmdirc.com/2270
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 12 години
Shane Mc Cormack
b0410712da
Fix 001s not being part of serverInformationLines
Change-Id: I5394a1c6119568b82a2e65cb3bd97ede08817172
Reviewed-on: http://gerrit.dmdirc.com/2269
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com >
преди 12 години