Commit Graph

143 Commits

Author SHA1 Message Date
881286df39 tth: expand test coverage
--HG--
branch : adc
2017-11-25 14:22:38 +13:00
da80ee1861 add tth package and test cases (currently non-functional)
--HG--
branch : adc
2017-11-25 13:45:26 +13:00
b784c34d4d fix tests post-refactor
--HG--
branch : adc
2017-11-25 13:45:10 +13:00
c4c6021c85 adc: some basic protocol understanding
--HG--
branch : adc
2017-11-23 18:23:39 +13:00
931b00a797 vendor github.com/cxmcc/tiger (MIT license)
--HG--
branch : adc
2017-11-23 18:23:25 +13:00
0e8d76ef2f comments
--HG--
branch : adc
2017-11-22 20:07:29 +13:00
2fa40642a9 switch to "hat" pattern for mutexes
--HG--
branch : adc
2017-11-22 20:07:26 +13:00
dc3051fd38 remove pointer indirection from self userinfo
--HG--
branch : adc
2017-11-22 20:04:15 +13:00
ffc81f52fb redesign how the connection API works
--HG--
branch : adc
2017-11-22 20:02:30 +13:00
f5e516fe01 adc: initial handshake
--HG--
branch : adc
2017-11-22 20:02:21 +13:00
23e107f758 working protocol autodetection
--HG--
branch : adc
2017-11-22 20:02:11 +13:00
131ce0a63b protocol autodetection
--HG--
branch : adc
2017-11-22 19:22:13 +13:00
b022c9534a debug AdcProtocol implementation
--HG--
branch : adc
2017-11-22 19:11:40 +13:00
5c4d6d8355 further reduce protocol interface surface
--HG--
branch : adc
2017-11-22 19:11:34 +13:00
2a60330e7c HubEvent explicit types
--HG--
branch : adc
2017-11-22 19:11:11 +13:00
7543d7058f move all nmdc-specific content to a separate NmdcProtocol class
--HG--
branch : adc
2017-11-22 19:05:36 +13:00
276ece1cf1 Added tag v0.15.0 for changeset 84fb19100701 2017-11-14 18:54:56 +13:00
4ea6cbb6f1 readme 2017-11-14 18:54:51 +13:00
b2ae91959e bump DEFAULT_CLIENT_VERSION to 0.15 2017-11-14 18:45:36 +13:00
f5fbce3ee6 add a fallback reconnection if no keepalives are recieved within ~24 hours 2017-11-14 18:45:06 +13:00
2cbc8f8496 fix regex matching protocol messages in the middle of multi-line public messages 2017-11-14 18:36:34 +13:00
5bf30ed95f update examples for StateChange member API change 2017-11-14 18:29:04 +13:00
a20fce3725 doc: add go-get tags to README 2017-10-28 12:32:06 +13:00
5c6435cf81 retag commits in vX.Y.Z format 2017-10-28 12:16:24 +13:00
b7dfcbc2f3 Added tag release-0.14 for changeset 6422ed687cd3 2017-02-11 13:56:27 +13:00
21847db9fd readme 2017-02-11 13:56:08 +13:00
b8122710f5 patch a crash on incomplete supplied UserIP2 2017-02-11 13:55:20 +13:00
f8c0fc54d8 Added tag release-0.13 for changeset 3ee0f4ea5142 2017-02-09 19:31:24 +13:00
4490444d1c readme 2017-02-09 19:31:19 +13:00
c5f655ff78 doc: update TODO 2017-02-09 19:28:58 +13:00
4415109174 support UserIP2 extension 2017-02-09 19:28:37 +13:00
0adc13ddfa move our is-connected one half roundtrip sooner 2017-02-09 19:19:17 +13:00
59c56fea1b doc: todo 2017-02-09 19:15:53 +13:00
7f8f98aa5a add ChatOnly to our $Supports 2017-02-08 19:30:53 +13:00
8536cb0a5c implement QuickList, save a network roundtrip on supported hubs (ptokax) 2017-02-08 19:22:07 +13:00
553ec20850 fix not emitting EVENT_USER_UPDATED_INFO on recieved MyINFO (!) 2017-02-08 18:58:14 +13:00
a403dac461 declare NoHello support (since our MyINFO handler will add unknown users) 2017-02-08 18:58:03 +13:00
59a37b975c more idiomatic error handling 2017-02-08 18:57:49 +13:00
a4e7d876cc Added tag release-0.12 for changeset 22b156a6fc2f 2017-02-05 22:37:24 +13:00
7c3069eabb readme 2017-02-05 22:35:18 +13:00
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
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
58c1151278 readme for 0.11 2016-11-29 20:18:17 +13:00
d1c549f1f2 Added tag release-0.11 for changeset 5149ffe70ea8 2016-11-29 20:13:14 +13:00
9eb9cf0726 set a default clientversion of 0.11 2016-11-29 20:07:19 +13:00
f2abf8893c rename example functions for correct godoc appearance 2016-11-29 19:50:05 +13:00
732622f4db add some function comments 2016-11-29 19:49:53 +13:00
95311e1479 ConnectionState rename member function to satisfy Stringer interface 2016-11-29 19:44:45 +13:00
084b629ad7 rename NMDC{Escape,Unescape,Unlock} functions; don't export NMDCUnlock 2016-11-29 19:44:10 +13:00
5713b58c7c don't export checkIsNetTimeout 2016-11-29 19:43:32 +13:00