Chris Rhodes
6868c8a0b7
Use consistant constants constantly.
2013-02-15 18:03:13 -08:00
Alex Bramley
b23215d09b
Gofix run.
2012-02-04 00:51:06 +00:00
Alex Bramley
85097043cf
Epic final commit for nick/chan/logging/testing refactor.
...
* Brings logging changes to client library.
* Brings state tracker to client library.
* Rewrites all tests to use mock logger and mock state tracker.
* Makes state tracking optional, finally.
* Shaves yaks until they are almost completely bald.
2011-11-06 04:56:46 +00:00
Alex Bramley
de66051d07
Convert conn.Err into logging.
...
Also, remove all error-side-effect testing cos it was a bit shit.
First step on the long road to refactoring the nick/chan state tracking
and making everything more testable and mockable with interfaces.
2011-09-29 22:54:54 +01:00
Alex Bramley
48ad9bfa4a
Line parsing needs to handle CTCPREPLY too.
2011-08-22 23:21:30 +01:00
Alex Bramley
b32e8d050f
Gofix for r59.
2011-08-03 08:04:01 +01:00
Alex Bramley
cd53356ca6
Merge branch 'master' into release
2011-08-03 08:03:20 +01:00
Alex Bramley
1a4ce96e00
Gofix for r59.
2011-08-03 08:03:08 +01:00
Alex Bramley
1849d886d4
Revert "Merge branch 'master' into release"
...
This reverts commit 2528d13314
, reversing
changes made to f0a9246c7a
.
2011-07-29 23:14:21 +01:00
Alex Bramley
2f31ca5dcf
Oh, god damnit. Should at least *try* to build things to make sure they work.
2011-07-28 18:02:02 +01:00
Alex Bramley
364c6da7ae
Add a function to make a copy of a *Line (bar the Time field).
2011-07-28 17:56:14 +01:00
Alex Bramley
47d4587ca3
Revert "Weekly commits shouldn't be on release branch"
...
This reverts commit 934ee04fcf
.
2011-07-28 12:14:51 +01:00
Alex Bramley
33a5bff35b
Move line parsing done in dispatchEvent into ParseLine().
2011-07-27 21:10:37 +01:00
Alex Bramley
934ee04fcf
Weekly commits shouldn't be on release branch
2011-07-26 20:25:14 +01:00
Alex Bramley
d2cfe6eb6f
Tidy up old-style slice syntax, and use string methods for CTCP parsing.
2011-07-25 23:02:57 +01:00
Alex Bramley
65ae4394fc
Update for weekly of 2011-07-16; changes to string.Split().
2011-07-25 22:27:52 +01:00
Alex Bramley
291132cab5
Refactor recv() since we needed to rewrite send().
2011-07-22 01:11:15 +01:00