Commit Graph

31 Commits

Author SHA1 Message Date
mappu a5b773952c adc: parse user info messages, user<-->sid mapping
--HG--
branch : adc
2017-11-26 14:55:30 +13:00
mappu 0e8d76ef2f comments
--HG--
branch : adc
2017-11-22 20:07:29 +13:00
mappu 2fa40642a9 switch to "hat" pattern for mutexes
--HG--
branch : adc
2017-11-22 20:07:26 +13:00
mappu ffc81f52fb redesign how the connection API works
--HG--
branch : adc
2017-11-22 20:02:30 +13:00
mappu 23e107f758 working protocol autodetection
--HG--
branch : adc
2017-11-22 20:02:11 +13:00
mappu 131ce0a63b protocol autodetection
--HG--
branch : adc
2017-11-22 19:22:13 +13:00
mappu 5c4d6d8355 further reduce protocol interface surface
--HG--
branch : adc
2017-11-22 19:11:34 +13:00
mappu 7543d7058f move all nmdc-specific content to a separate NmdcProtocol class
--HG--
branch : adc
2017-11-22 19:05:36 +13:00
mappu f5fbce3ee6 add a fallback reconnection if no keepalives are recieved within ~24 hours 2017-11-14 18:45:06 +13:00
mappu b8122710f5 patch a crash on incomplete supplied UserIP2 2017-02-11 13:55:20 +13:00
mappu 4415109174 support UserIP2 extension 2017-02-09 19:28:37 +13:00
mappu 0adc13ddfa move our is-connected one half roundtrip sooner 2017-02-09 19:19:17 +13:00
mappu 7f8f98aa5a add ChatOnly to our $Supports 2017-02-08 19:30:53 +13:00
mappu 8536cb0a5c implement QuickList, save a network roundtrip on supported hubs (ptokax) 2017-02-08 19:22:07 +13:00
mappu 553ec20850 fix not emitting EVENT_USER_UPDATED_INFO on recieved MyINFO (!) 2017-02-08 18:58:14 +13:00
mappu a403dac461 declare NoHello support (since our MyINFO handler will add unknown users) 2017-02-08 18:58:03 +13:00
mappu 59a37b975c more idiomatic error handling 2017-02-08 18:57:49 +13:00
mappu 3cc31323ad more fine-grained locking around user map (fixes deadlock if callee uses Users() in response to processEvent) 2017-02-05 19:06:17 +13:00
mappu 7f898dff32 display a system message and disconnect if we're asked for a password but don't have one 2017-02-05 17:12:59 +13:00
mappu 732622f4db add some function comments 2016-11-29 19:49:53 +13:00
mappu 084b629ad7 rename NMDC{Escape,Unescape,Unlock} functions; don't export NMDCUnlock 2016-11-29 19:44:10 +13:00
mappu 5713b58c7c don't export checkIsNetTimeout 2016-11-29 19:43:32 +13:00
mappu 0a53963ec0 fix special characters appearing in recieved PM's 2016-11-04 19:01:01 +13:00
mappu 1a3e4fe072 support parsing usercommands 2016-10-08 15:19:21 +13:00
mappu 265c0a43ce fix an issue not applying updated user profiles 2016-08-27 15:31:00 +12:00
mappu df0211c67d parse $OpList, set IsOperator bool in UserInfo structs 2016-05-08 12:49:36 +12:00
mappu 861090b0e9 add UserCount() helper (along with previous UserExists() helper) 2016-05-08 12:37:05 +12:00
mappu cc15a571a8 threadsafe access to HubConnection.Users [[BREAKING CHANGE]] 2016-05-08 12:33:49 +12:00
mappu 3c4972d930 HubConnection.Disconnect() function (via autoreconnect abuse) 2016-05-04 19:17:20 +12:00
mappu 43db3a0d64 option to disable autoreconnect, move magic to constant 2016-05-04 19:15:02 +12:00
mappu 8e4a45a2b9 split off all other files, too 2016-05-04 19:03:36 +12:00