Commit Graph

285 Commits

Author SHA1 Message Date
Liam Stanley
e2e8c8e7b3 help prevent against panics during testing or malformed CTCP request 2016-12-26 05:48:06 -05:00
Liam Stanley
169f1c1e38 fix bugs with wildcard ctcps not properly executing 2016-12-26 05:37:33 -05:00
Liam Stanley
f1a52c820f don't pass event pointers due to potential manipulation 2016-12-26 05:34:34 -05:00
Liam Stanley
913907b38b update readme 2016-12-26 04:44:36 -05:00
Liam Stanley
4015215b14 add support for wildcard CTCP handlers 2016-12-26 04:36:09 -05:00
Liam Stanley
8e58f078c2 implement ERRMSG replies, responding to PONG, VERSION, SOURCE, and TIME 2016-12-26 04:31:05 -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
b2ccc5c462 decode and execute CTCP events as they come in 2016-12-26 03:50:21 -05:00
Liam Stanley
5c2a0ec65e update examples 2016-12-26 03:49:18 -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
f2ae68e9b7 change up how ascii irc code formatting is done 2016-12-26 03:05:18 -05:00
Liam Stanley
3abefe033c start working on ctcp handling 2016-12-24 00:15:41 -05:00
Liam Stanley
3364fbdbe6 minor fixes for IsFromUser and IsFromChannel 2016-12-23 20:01:40 -05:00
Liam Stanley
090976be59 implement IsFromChannel and IsFromUser 2016-12-23 18:35:04 -05:00
Liam Stanley
13afb3e8f8 update readme 2016-12-23 18:25:38 -05:00
Liam Stanley
4bb84cbbfa rename user/channel Reply* to Message* 2016-12-23 18:25:34 -05:00
Liam Stanley
0a5cbe98c0 implement Reply, Replyf, ReplyTo, and ReplyTof to User/Channel 2016-12-20 03:51:27 -05:00
Liam Stanley
e07de58e97 update TODOs 2016-12-15 00:31:50 -05:00
Liam Stanley
fea3c94367 re-implement Client.Whowas(); implement Client.Who() 2016-12-14 01:49:43 -05:00
Liam Stanley
6f89a46cc5 drop callback type functionality for wrapping background callbacks in a go-routine; drop Caller.AddBgHandler() 2016-12-14 01:31:25 -05:00
Liam Stanley
467ab74b70 execute standard callbacks in a waitgroup 2016-12-14 00:54:15 -05:00
Liam Stanley
a5915e8e4b add ctcp to TODO's 2016-12-13 21:39:08 -05:00
Liam Stanley
3834924067 implement Channel.Lifetime() 2016-12-13 21:32:42 -05:00
Liam Stanley
1fe1ddd565 fix callback goroutines 2016-12-13 21:26:48 -05:00
Liam Stanley
dbab766dc3 fix minor bugs with state mutex locking; add support to fetch user realnames during WHO 2016-12-13 21:26:37 -05:00
Liam Stanley
f187f3abc6 implement User LastActive, Lifetime(), Active() and IsActive() 2016-12-13 21:26:09 -05:00
Liam Stanley
ebb5f714c5 remove ErrCallbackTimedout 2016-12-13 20:47:52 -05:00
Liam Stanley
842589b98e update TODO 2016-12-13 20:32:04 -05:00
Liam Stanley
0927400902 remove Client.Whowas() 2016-12-13 20:31:39 -05:00
Liam Stanley
c70ab81a96 implement Caller.sregister(); implement separated callback execution stacks; implement Caller.remove() 2016-12-13 20:19:36 -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
93b8616aac update examples to use new Client.Join() format 2016-12-13 10:23:19 -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
74c53293ca remove potential for race conditions in state.go/helpers.go 2016-12-13 09:28:54 -05:00
Liam Stanley
cb43ed6d3f more towards TOPIC tracking; update readme 2016-12-10 07:16:01 -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
6f29f62e7f update examples link within readme 2016-12-10 04:08:31 -05:00
Liam Stanley
af9257e019 move examples into sub-package for better doc integration 2016-12-09 07:10:33 -05:00
Liam Stanley
e3f207c285 main.go->client.go, add doc.go for main documentation 2016-12-09 06:43:52 -05:00
Liam Stanley
b2cb425820 rename Source.User -> Ident 2016-12-09 06:34:38 -05:00
Liam Stanley
a3e7c18665 additional refactoring; use defer less until 1.8 is released 2016-12-09 06:30:06 -05:00
Liam Stanley
94dc6c4b6b normalize capitalization for cmds passsed to Caller 2016-12-09 06:09:33 -05:00
Liam Stanley
2539da6210 implement Caller.Count() 2016-12-09 06:04:49 -05:00