Commit Graph

123 Commits

Author SHA1 Message Date
Liam Stanley
507c1bc866 client method refactoring; additional tests 2018-01-27 20:02:04 -05:00
Liam Stanley
7cadb56183 add Client.HasCapability() method 2018-01-27 20:01:27 -05:00
Liam Stanley
7b7d06fe3e be less restrictive for lower-valued tcp ports 2018-01-17 07:19:13 -05:00
Liam Stanley
67171b462e Channels->ChannelList; Users->UserList; replace with methods returning user/channel objects 2017-11-30 10:59:11 -05:00
Liam Stanley
5b0cfbc4eb add TLSConnectionState support 2017-11-17 07:48:28 -05:00
Liam Stanley
ffa93393bc remove deprecated error variables 2017-11-17 06:27:26 -05:00
Liam Stanley
160554bc5a rename: Lag -> Latency 2017-11-10 07:09:19 -05:00
Liam Stanley
783298a3a4 additional return value consistency 2017-11-09 20:42:40 -05:00
Liam Stanley
9fdd4e9274 improve ERROR event handling 2017-10-19 19:51:57 -04:00
Liam Stanley
f846a552cd remove proxy support in favor of new dialer interface implementation 2017-08-19 23:07:48 -04:00
Liam Stanley
a1c6ebb737 prevent potential deadlock in server-invoked disconnect 2017-08-17 07:18:24 -04:00
Liam Stanley
d9ad35d42b refractor ErrInvalidConfig 2017-08-17 03:35:29 -04:00
Liam Stanley
816acddd16 Channels() and Users() should return the non-converted name 2017-08-10 05:14:06 -04:00
Liam Stanley
0883560c27 remove duplicate func 2017-08-09 05:05:32 -04:00
Liam Stanley
2d96e5fbec fix Client.ServerName() bug returning incorrect netwok name 2017-08-09 02:28:46 -04:00
Liam Stanley
6c93d822fb fix a handful of potential data races 2017-07-18 20:04:12 -04:00
Liam Stanley
5909f84933 minor improvements to connection mutexes 2017-07-18 19:27:45 -04:00
Liam Stanley
7ad774d275 use already defined context for cancellation 2017-07-18 18:16:54 -04:00
Liam Stanley
0029c297f1 fix default port not being set on validation 2017-07-18 04:56:51 -04:00
Liam Stanley
9e08ab340d cleanup state mutexs, add state change events 2017-07-12 00:44:44 -04:00
Liam Stanley
1f66c9ffec rewrite state to support separate dataset for users 2017-07-04 01:29:22 -04:00
Liam Stanley
9602c14886 better execution of handlers after client disconnect; improve docs 2017-07-03 07:34:34 -04:00
Liam Stanley
c4f8e06752 decrease required time for pingLoop to terminate, allow disabling 2017-06-25 23:38:50 -04:00
Liam Stanley
75341d3cef Commands -> Cmd 2017-06-15 04:46:10 -04:00
Liam Stanley
42d17746e8 SASLMethod -> SASLMech 2017-06-15 03:29:52 -04:00
Liam Stanley
e3f53ab9ec start working on additional sasl implementation support 2017-06-14 07:19:31 -04:00
Liam Stanley
be178fe0a1 default connection port to 6667 is none specified 2017-06-12 18:59:21 -04:00
Liam Stanley
6c8215c842 Format -> Fmt, StripFormat -> TrimFmt 2017-06-07 06:35:02 -04:00
Liam Stanley
cc32c679cb add GlobalFormat config option 2017-06-07 04:39:52 -04:00
Liam Stanley
f25f47d823 implement proper close support 2017-05-07 12:39:16 -04:00
Liam Stanley
573ddd7583 fix data races for state 2017-04-24 11:55:30 -04:00
Liam Stanley
94995c9649 reduce data leaks for Client.conn 2017-04-24 11:42:29 -04:00
Liam Stanley
aa1ff24930 fix GetHost() and GetIdent(); refractor 2017-04-24 11:22:45 -04:00
Liam Stanley
d22bb4a5c8 update doc 2017-04-24 11:17:30 -04:00
Liam Stanley
039539a6a3 implement basic support for sasl plain 2017-04-23 14:03:12 -04:00
Liam Stanley
9542a7aac6 Password -> ServerPass 2017-04-23 12:16:44 -04:00
Liam Stanley
6bbd53edd8 refractor quite a bit of connect logic, and errors 2017-04-18 11:06:19 -04:00
Liam Stanley
50a8f70e6f utilize mutex for conn state 2017-04-18 03:17:15 -04:00
Liam Stanley
4951996f3a the start of more refactoring 2017-03-31 14:30:52 -04:00
Liam Stanley
9ef5ad76b4 remove starttls, due to horrid inconsistencies 2017-02-26 13:25:30 -05:00
Liam Stanley
70a6fe8739 clean up config validation a bit 2017-02-22 00:24:23 -05:00
Liam Stanley
6d62d7437d implement STARTTLS auto-negotiation 2017-02-21 09:18:57 -05:00
Liam Stanley
fa20cdac87 remove separation between CAP and regular tracking 2017-02-21 00:20:57 -05:00
Liam Stanley
54acd5fb7e implement GetIdent() and GetHost() on Client, clean up panic handling 2017-02-20 23:02:45 -05:00
Liam Stanley
fabc1c65b8 update docs; remove Client.DisableNickCollision; implement Config.HandleNickCollide 2017-02-20 21:03:35 -05:00
Liam Stanley
650e301ccc implement Client.Lag() 2017-02-20 20:39:16 -05:00
Liam Stanley
e57ac9cdb4 be less redundant 2017-02-17 05:30:29 -05:00
Liam Stanley
3ded5b433a start working on making state accessible 2017-02-14 07:33:05 -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
2a4c9412b2 clean up doc 2017-02-13 22:21:04 -05:00