Commit Graph

49 Commits

Author SHA1 Message Date
Liam Stanley
3caa790524 correct socket timeout bug 2017-02-07 06:21:56 -05:00
Liam Stanley
5dc6abca2a rename MaxRetries -> Retries 2017-02-07 06:12:30 -05:00
Liam Stanley
9593d1caea panic when client used after Stop(); cleanup goroutine cleanup to help garbage collection 2017-02-07 05:44:21 -05:00
Liam Stanley
52e05d3c15 success -> ok 2017-02-06 03:53:05 -05:00
Liam Stanley
ba03de710d update copyright to remove year 2017-02-06 02:45:31 -05:00
Liam Stanley
5aa9303fd3 remove SUCCESS, add INITIALIZED for use with validating socket connection 2017-02-05 07:42:59 -05:00
Liam Stanley
37b380a564 rename Client.Config to client.config to prevent potential raceconditions or silly behavior 2017-02-05 07:11:59 -05:00
Liam Stanley
af22c0a64c remove unneeded c.IsConnected() checks; implement Whois(), Ping(), Pong(), Oper(), Kick(), Invite(), Away(), Back(), and List() 2017-02-05 07:09:48 -05:00
Liam Stanley
1eb80a05db Client.Who should support channels/users/nicks 2017-02-05 06:12:49 -05:00
Liam Stanley
2a7ace18d2 log callback registration/removal/execution to debug output 2017-02-05 06:09:35 -05:00
Liam Stanley
20686a735d remove no longer needed ErrCallbackTimedout 2017-02-05 05:35:00 -05:00
Liam Stanley
151dc5161f remove Config.Logger 2017-02-05 05:23:05 -05:00
Liam Stanley
310d0052d6 re-implement Config.Logger; add Config.Debugger, and implement Event.Pretty(). 2017-02-03 08:54:44 -05:00
Liam Stanley
6b4a3e6359 change logging format for debugging 2017-01-27 02:41:38 -05:00
Liam Stanley
42092970a7 remove Event.String(); rename Raw() to String() 2017-01-20 06:48:42 -05:00
Liam Stanley
aeef5a8774 rewrite capability ack functionality 2017-01-19 06:58:08 -05:00
Liam Stanley
a4b0396d65 add CAP NEW and CAP DEL checking and responding 2017-01-19 03:33:49 -05:00
Liam Stanley
87ad996733 use internal writer to prevent delays during connect 2017-01-19 02:33:19 -05:00
Liam Stanley
0a9c72d992 send cap request as early as possible 2017-01-19 01:56:30 -05:00
Liam Stanley
8bf23fd61f implement default rate limiting for events; update readme 2017-01-12 04:19:35 -05:00
Liam Stanley
3a576d1db9 implement version config option to override default ctcp version 2017-01-12 02:34:29 -05:00
Liam Stanley
e6b6a4b5a0 update documentation 2017-01-06 09:00:29 -05:00
Liam Stanley
30c87f3968 update documentation; minor bug fixes 2017-01-06 08:53:41 -05:00
Liam Stanley
631f950d56 implement server MOTD tracking; implement ServerMOTD 2017-01-06 08:40:01 -05:00
Liam Stanley
687e2753a1 implement GetServerOption, ServerName, NetworkName, ServerVersion, and ISUPPORT tracking; update todos 2017-01-06 08:30:09 -05:00
Liam Stanley
683485f34c fix bug with capabilities breaking after reconnect 2017-01-06 01:09:18 -05:00
Liam Stanley
5dde6d1797 rename various symbols; update todos; implement account tracking under account-notify 2017-01-03 21:13:05 -05:00
Liam Stanley
714a315ef0 yay new year 2017-01-03 11:05:27 -05:00
Liam Stanley
f3b1c1e940 initial support for message tags 2017-01-03 11:02:24 -05:00
Liam Stanley
3d0a75e389 add basic support for capability tracking; add chghost and away, as well as configuration for more 2016-12-30 08:51:31 -05:00
Liam Stanley
e4a7f88a12 fix count bugwith Caller.String() 2016-12-30 06:13:44 -05:00
Liam Stanley
85fca26b9f drop send->fetch support, too clunky and messy 2016-12-30 06:00:44 -05:00
Liam Stanley
c6dbf08c59 implement support to respond to CTCP events; minor bug fixes; overhaul CTCP docs; implement DisableDefaultCTCP; implement CTCPEvent.Reply 2016-12-26 03:51:42 -05:00
Liam Stanley
caaaf560be extra test checks; added ctcp SetBg, added handleCTCPPing to default CTCPs 2016-12-26 03:06:15 -05:00
Liam Stanley
3abefe033c start working on ctcp handling 2016-12-24 00:15:41 -05:00
Liam Stanley
fea3c94367 re-implement Client.Whowas(); implement Client.Who() 2016-12-14 01:49:43 -05:00
Liam Stanley
ebb5f714c5 remove ErrCallbackTimedout 2016-12-13 20:47:52 -05:00
Liam Stanley
0927400902 remove Client.Whowas() 2016-12-13 20:31:39 -05:00
Liam Stanley
b0be7fb3d0 use variadic array for Client.Join(); update examples 2016-12-13 10:45:08 -05:00
Liam Stanley
ca0c2f5c29 re-order client.go 2016-12-13 10:24:51 -05:00
Liam Stanley
0cd3ff611d hasQuit->quitting; add stopChan; other minor bug fixes 2016-12-13 10:23:06 -05:00
Liam Stanley
4542506341 refactor Join()/Part(); implement JoinKey() and PartMessage() 2016-12-13 09:34:08 -05:00
Liam Stanley
370f9f28ad rename state mux 2016-12-10 06:43:26 -05:00
Liam Stanley
009d49f258 rename SetNick()->Nick() 2016-12-10 05:58:42 -05:00
Liam Stanley
b32ff05c0a remove unneeded Client.Who(); update todos 2016-12-10 05:56:52 -05:00
Liam Stanley
c95d531783 implement Client.Topic() 2016-12-10 05:54:41 -05:00
Liam Stanley
817b616267 implement Client.Channels(); remove Client.GetChannels() 2016-12-10 05:22:06 -05:00
Liam Stanley
a693871695 implement Client.IsInChannel() 2016-12-10 04:14:03 -05:00
Liam Stanley
e3f207c285 main.go->client.go, add doc.go for main documentation 2016-12-09 06:43:52 -05:00