Chris Smith
6101ff9449
Expose proxy information in parsers.
Change-Id: I6a37f6955728aa732dcf0ba27bfa25749f250b3d
Depends-On: Ia23869ff1259e460f3389a425fc9e0e4a0a31955
Fixes-issue: CLIENT-311
Reviewed-on: http://gerrit.dmdirc.com/2179
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 12 ans
Shane Mc Cormack
3f23300f78
Add support for "TimestampedIRC" (See: http://shanemcc.co.uk/irc/#timestamping)
- This is used for backbuffer support in DFBnc, we currently only care about timestamps in
ProcessMessage, everything else will just use the current time in their callbacks as before.
Change-Id: I248bfd4d72800465ba4b06331261a8519690c3d5
Reviewed-on: http://gerrit.dmdirc.com/2172
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 12 ans
Chris Smith
cf580b8813
Add composition method to parsers
Change-Id: Ic893051d84bc4ab47274b2bf9c967db8ba951eea
Depends-On: Iece6afe9fba02126f203cb1aecd702bc9303b981
Reviewed-on: http://gerrit.dmdirc.com/2133
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 13 ans
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 >
il y a 13 ans
Chris Smith
997985fb97
Style/license fixes
Change-Id: Ie91dc5f95b405c3664884b830bbc47dfeb282790
Reviewed-on: http://gerrit.dmdirc.com/1978
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 13 ans
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 >
il y a 13 ans
Chris Smith
8e226f7b85
Parser style fixes
Change-Id: I0d6efb9cee6138a23e309726ec6e71943f0c2863
Reviewed-on: http://gerrit.dmdirc.com/1974
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 13 ans
Chris Smith
30bba8085f
Style fixes
Change-Id: I8f9ac8a39b3af592f4a334193434c57f86eec8ee
Reviewed-on: http://gerrit.dmdirc.com/1965
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Build Manager
il y a 13 ans
Greg Holmes
28cd8696e7
Store a URI in ServerInfo instead of a load of values
Fixes CLIENT-208
Change-Id: I958789f26b90f28129f22566addb63e5a5d23603
Reviewed-on: http://gerrit.dmdirc.com/1925
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 13 ans
Chris Smith
68bd228371
Fix line endings
Change-Id: I8d5ef39beb4b578c791062350b6e15d2bf7e0814
Reviewed-on: http://gerrit.dmdirc.com/1920
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 13 ans
Chris Smith
ba65d14741
Make IRCStringConverter use an enum sensibly
Fixes CLIENT-135
Change-Id: I5f326523ff031c0996996f0efad6c8e5d7278c7f
Reviewed-on: http://gerrit.dmdirc.com/1859
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Greg Holmes <greg@dmdirc.com >
il y a 13 ans
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 >
il y a 13 ans
Chris Smith
c061a0da39
Change how the IRC Parser opens and closes SSL sockets
Fixes CLIENT-67
Change-Id: Ifcb8deacd3c571f3f6a30eae11199078bcc8db35
Reviewed-on: http://gerrit.dmdirc.com/1804
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 13 ans
Chris Smith
7b4c3865ed
Don't reassign params and simplify logic
Change-Id: I0125f179b3f6e5fb44b5fd707a54997695ec8e0a
Reviewed-on: http://gerrit.dmdirc.com/1741
Reviewed-by: Greg Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 13 ans
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 >
il y a 13 ans
Greg Holmes
e70c98fcea
PMD Fixes for parser.
Change-Id: I45b496d084e722850810736d468f4bb3f9602151
Reviewed-on: http://gerrit.dmdirc.com/1705
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 13 ans
Chris Smith
9e6834de99
Fix some crimes against humanity
Change-Id: I916e72384d318ab304565a5123ab82f9d2096de5
Reviewed-on: http://gerrit.dmdirc.com/1507
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 13 ans
Chris Smith
f113f0e518
Add interface and methods to work with encoding parsers
Issue 1754
Change-Id: I6294850fc472967092ed8f850f1e99ef38629494
Reviewed-on: http://gerrit.dmdirc.com/1506
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
il y a 13 ans
Chris Smith
df92212200
Initial work on sane transcoding for the IRC parser
Issue 1754
Change-Id: I3cdc794dce1df63686d3b161e78a316983b872ca
Reviewed-on: http://gerrit.dmdirc.com/1505
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
il y a 13 ans
Chris Smith
700af39924
1995 called and they want their collection types back
Change-Id: I5d76244f67d380b350853aff05a3c0af731d892b
Reviewed-on: http://gerrit.dmdirc.com/1359
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
il y a 14 ans
Shane Mc Cormack
772010b044
Remove random import of .* rather than actual classes.
Change-Id: I07ce2911454522fee28fcaa6f4cd2fa6d5de7bb6
Reviewed-on: http://gerrit.dmdirc.com/1344
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
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 >
il y a 14 ans
Greg Holmes
740e8282a6
Import order fixing
Change-Id: I5fbdce2c0b0258d19e3dbb962826e3310616748d
Reviewed-on: http://gerrit.dmdirc.com/1326
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Chris Smith
c4e7c90770
Add new parser methods
Change-Id: I942e8363517e48fea26681d1e25b7e6824c27ff5
Depends-On: I0ec15591dcc33c1af55b1267d175ea3abb0178fa
Reviewed-on: http://gerrit.dmdirc.com/1291
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Greg Holmes
e464b0253d
Move method into parser interface
Change-Id: I08bfc1161fcae208ddcb31055e372d6650a0f150
Reviewed-on: http://gerrit.dmdirc.com/1281
Automatic-Compile: Chris Smith <chris@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
6969432159
Synchronize chanPrefix list.
May or may not fix issue 4060.
May or may not also fix issue 3952.
Change-Id: I9300b0337646ec4e3099ac1d115a0afd831fb847
Reviewed-on: http://gerrit.dmdirc.com/1224
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
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 >
il y a 14 ans
Shane Mc Cormack
9b93c05954
I guess this fixes issue 3747
Change-Id: I35fc3860776796b5d925a9bd176ec3e7a0ca89ca
Reviewed-on: http://gerrit.dmdirc.com/872
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
Chris Smith
15b1195268
Remove unit test which seems pointless and may be timing out
Change-Id: I35a912bfb569b741a14a253ea34ccb8ca5ceface
Reviewed-on: http://gerrit.dmdirc.com/770
Automatic-Compile: Gregory Holmes <greg@dmdirc.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
dd2ac4bda7
Probably fixes issue 3576.
Also tidies up using ssl sockets.
Change-Id: Id6dce00bb70886f85212014d45ef8fbdf7ccab58
Reviewed-on: http://gerrit.dmdirc.com/590
Automatic-Compile: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
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 >
il y a 14 ans
Shane Mc Cormack
a51871c405
Use the right key.
Change-Id: Ie58e89fa0cfa7a510561bdf387125bcc5d0ba854
Reviewed-on: http://gerrit.dmdirc.com/551
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
il y a 14 ans
Chris Smith
f3b102eea4
s/0.6.4/0.6.3/
Change-Id: If046e74b8330cf9f643f30f603cad59071da94c1
Reviewed-on: http://gerrit.dmdirc.com/542
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
il y a 14 ans
Chris Smith
f6104b82fd
Add getChannelPrefixes method
Issue 2819
Change-Id: I80a6a36a1a19ccf41f3847bfbb1641c73d3a5bf2
Reviewed-on: http://gerrit.dmdirc.com/531
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
il y a 14 ans
Chris Smith
8b5675f530
Get rid of bizarre map usage in parser
Change-Id: I0d43cc37f13085f59e417c1f7c4ffd48d5c54cd2
Reviewed-on: http://gerrit.dmdirc.com/530
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
df59dd7249
"Unable to discover max list modes" error is now a user-error. (Kinda Fixes issue 3152!)
Impart some knowledge for OtherNET wrt to mode handling.
Change-Id: Ib4c545f9ef0f38a1a9d9d695d309b088784b964c
Reviewed-on: http://gerrit.dmdirc.com/435
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
ee73a74211
Add ServerTypeGroup to allow grouping of servers with common behaviour. (Fixes issue 3491).
Switch everything that does something on a per-ircd basis to use ServerTypes not Strings.
Deprecate getIRCD() in favour of getServerSoftware() and getServerSoftwareType().
Change-Id: I324eaadeb39a9999f7dd9d7b8e6bd583dce7abca
Reviewed-on: http://gerrit.dmdirc.com/431
Reviewed-by: Chris Smith <chris@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
32801b4a09
Abstract server software stuff nicely.
Fixes issue 2260.
Change-Id: Ib74eaca55eeeca83e17a3d78fb15de42e552c8f2
Reviewed-on: http://gerrit.dmdirc.com/427
Reviewed-by: Chris Smith <chris@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
8a059f2824
Don't send empty join lines. Fixes Issue 3462.
Change-Id: I9bc05a23fb23c12951dd76b5d4abf517f8042972
Reviewed-on: http://gerrit.dmdirc.com/405
Reviewed-by: Chris Smith <chris@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
1d681e5897
These changes were supposed to be commited!
Change-Id: I86aa3ddec879e915001c8833ddc6187109333463
Reviewed-on: http://gerrit.dmdirc.com/399
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
e19e88fbd5
Make joinChannel more intelligent. This should refix issue 3112.
Change-Id: I98d9743d99963fbce64ac397c53e74e60a035674
Reviewed-on: http://gerrit.dmdirc.com/398
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
il y a 14 ans
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 >
il y a 14 ans
Shane Mc Cormack
8d876698e5
Fixes issue 3231.
Change-Id: I2f9078caa4eec957d5bdda310b619916b4132293
Reviewed-on: http://gerrit.dmdirc.com/144
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
0e1eb49b56
Add getMap() to Parser and IRCParser. Fixes issue 3206
Add getMap() to ChannelInfo and make getMap() in IRCChannelInfo behave the same way as in IRCClientInfo and IRCChannelClientInfo
Change-Id: I2cdce2eb87e77139520254eec98b51288510f043
Reviewed-on: http://gerrit.dmdirc.com/125
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
857732b97e
Add getURI() to parser, fixes issue 3204
Change-Id: Ie82ce41dd626ef36f4c1f71934e92c418efb3d09
Reviewed-on: http://gerrit.dmdirc.com/124
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
d0b2bd1b72
Add getBindIP() to parser, fixes issue 3205
Change-Id: I5d85396d77d0b50387519715a5b8c05d7e084232
Reviewed-on: http://gerrit.dmdirc.com/123
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
683f094627
Rework how the IRCAuthenticator works:
- IRCAuthenticator only stores a username/password for a proxyhost:proxyport pair for as long as there are servers registerd that use that proxy. (Servers configured to use the proxy but with no username/password are not known by the IRCAuthenticator)
Rework how the IRCParser uses the IRCAuthenticator:
- Connecting to any socks-proxied server is now semaphored to 1 at a time so that it shouldn't be possible for the IRCAuthenticator to know of more than 1 username/password pair at a time (which negates the need for the above change when used by this IRCParser)
This should prevent the issue described in issue 1852 from happening.
Change-Id: Ifaa3aaca5aafcddf11b2e8fcbc691903c2fefd10
Reviewed-on: http://gerrit.dmdirc.com/112
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
33e3d88f88
If for some reason there are no tokens from tokeniseLine (I can't reproduce) then add an empty one.
Fixes issue 3069.
Change-Id: I832f3caa972ff491a61dfd2f7eca2e715fde8903
Reviewed-on: http://gerrit.dmdirc.com/89
Reviewed-by: Chris Smith <chris@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Shane Mc Cormack
c2748a8685
Make some on connect errors user errors.
Issue 3111
Change-Id: Ieb8ca1c74cbe1e8fd9c9ba1ff4934fe3db1729c4
Reviewed-on: http://gerrit.dmdirc.com/86
Reviewed-by: Chris Smith <chris@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
il y a 14 ans
Chris Smith
bfe9582557
s/0.6.3m3/0.6.4/
Change-Id: I0ca6f30dd39aaa4ddf48fc52b8cf98529c5a35a8
Reviewed-on: http://gerrit.dmdirc.com/63
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
il y a 14 ans