# HG changeset patch # User Chris Jones # Date 1379889814 18000 # Node ID 69c5b4382e39efea2669e9cd339a61e91afe3c26 # Parent 352f76a05f78dbaa65b9c85095cebf5fed48bf7e Updated to-do list. diff -r 352f76a05f78 -r 69c5b4382e39 TODO.txt --- a/TODO.txt Sun Sep 15 16:41:20 2013 -0600 +++ b/TODO.txt Sun Sep 22 17:43:34 2013 -0500 @@ -9,12 +9,18 @@ Recv along with stanzas. Or use sync.Cond to protect a state variable. -Asynchronously updating Client.Features is not thread safe. +Asynchronously updating Client.Features is not thread safe. Use a +public function GetFeatures() or similar. Same for setting the JID in +bind()? -NewClient shouldn't be asynchronous. +NewClient should be synchronous, so it can update Features and JID and +leave those as values rather than functions. Add a Reconnect() function. Put roster and bind into separate packages, if possible. Eliminate as many uses of Generic as possible. + +Callback doesn't need to return bool. It shouldn't affect what's given +to the client.