Updated to-do list.
--- 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.