Commit Graph

29 Commits

Author SHA1 Message Date
23cea998f1
Implement cmaps and break everything 2022-03-16 05:45:59 -07:00
ce2eeb8072 Refactor: slightly less hellfire 2021-11-09 14:07:47 -08:00
410e8686ab Fix: broken spinlock attempt 2021-10-17 15:05:14 -07:00
606b5a452c I'm slightly drunk and I don't know what I'm doing. 2021-10-08 00:30:04 -07:00
01ce96b07a Ever cook bacon on your CPU cooler? 2021-10-01 06:15:34 -07:00
Liam Stanley
f98113f16d use runtime.CallersFrames over Caller for panic recovery info; closes #29 2019-07-29 18:23:09 -04:00
Liam Stanley
bbccf004ba add: expose CTCP encode/decode; add: Event.IsCTCP()
closes #20
2018-09-30 19:28:09 -04:00
Liam Stanley
5c0e57078c add Event.Echo field 2018-01-27 21:48:44 -05:00
Liam Stanley
54806847f1 add echo-message to debug output for incoming echo messages 2018-01-27 20:24:32 -05:00
Liam Stanley
9517b2fb8c better support for echo-message 2018-01-27 16:16:20 -05:00
Liam Stanley
5dff93b545 keep compatibility with go1.8 2017-11-30 22:41:30 -05:00
Liam Stanley
e8273d405d improve handler execution to prioritize background handlers first 2017-11-30 14:37:00 -05:00
Liam Stanley
c2601da083 use rune literals for ease of reading 2017-11-30 10:23:52 -05:00
Liam Stanley
9e08ab340d cleanup state mutexs, add state change events 2017-07-12 00:44:44 -04:00
Liam Stanley
0099cb4799 add docs to HandlerError 2017-04-23 11:08:23 -04:00
Liam Stanley
22e4b8c8a4 utilize local waitgroup 2017-04-18 06:16:28 -04:00
Liam Stanley
9fc92e8da8 extra stack info to handler registration and exec 2017-04-18 04:59:51 -04:00
Liam Stanley
2c7ecf8d9f fix bug because unrealircd 2017-03-15 23:08:53 -04:00
Liam Stanley
cc94cb84d0 add done channel to Caller.AddTmp to be notified of when it is done 2017-02-21 09:18:09 -05:00
Liam Stanley
cdac81184a implement Caller.AddTmp for temporary handlers 2017-02-21 02:26:14 -05:00
Liam Stanley
14091fe17f fix bug with Caller.Remove which was not removing handlers 2017-02-21 02:13:21 -05:00
Liam Stanley
e29709e8a3 fix a bug with cuidToID which wasn't properly splitting the cuid 2017-02-21 02:12:30 -05:00
Liam Stanley
35ab20bc9f don't execute internal handlers when there is no source 2017-02-20 22:28:13 -05:00
Liam Stanley
9818cded91 Debug->Debugger; implement client side ping tracking; implement Config.Out; implement Config.PingDelay 2017-02-14 02:14:38 -05:00
Liam Stanley
63ae092b97 minor documentation cleanup 2017-02-13 03:11:50 -05:00
Liam Stanley
d8423fc605 implement DefaultRecoverHandler 2017-02-13 01:27:57 -05:00
Liam Stanley
88057bed20 implement ability to catch panics in handlers 2017-02-13 01:15:53 -05:00
Liam Stanley
383e1300bb implement Client.String() 2017-02-12 14:31:57 -05:00
Liam Stanley
aab3f30549 rename caller.go -> handler.go 2017-02-12 14:09:38 -05:00