Chris Jones <christian.jones@sri.com> [Sat, 07 Sep 2013 19:49:57 -0700] rev 131
Address a bug that can happen if no SRV records can be found.
Chris Jones <christian.jones@sri.com> [Sat, 07 Sep 2013 14:43:54 -0700] rev 130
Pass the TLS config as a parameter to the Client constructor. Updated the example program.
Chris Jones <christian.jones@sri.com> [Sat, 07 Sep 2013 11:46:42 -0700] rev 129
Moved the tls.Config from a package-level variable to a client instance variable.
Chris Jones <christian.jones@sri.com> [Sat, 07 Sep 2013 11:19:29 -0700] rev 128
Use reflection instead of constructor functions to create extended stanza structures.
Chris Jones <christian.jones@sri.com> [Sat, 07 Sep 2013 10:30:22 -0700] rev 127
Renamed client.In and client.Out to Recv and Send, respectively.
Chris Jones <christian.jones@sri.com> [Sat, 07 Sep 2013 10:04:44 -0700] rev 126
Moved the library code into an xmpp directory.
Chris Jones <christian.jones@sri.com> [Mon, 02 Sep 2013 20:46:23 -0700] rev 125
Renamed examples to example, since there's only one program there.
Chris Jones <christian.jones@sri.com> [Mon, 02 Sep 2013 20:45:24 -0700] rev 124
Updated the example to match the new API, and fixed the roster Update to not require a reference to the client.
Chris Jones <christian.jones@sri.com> [Mon, 02 Sep 2013 20:38:57 -0700] rev 123
Got rid of Client.Uid.
Chris Jones <christian.jones@sri.com> [Mon, 02 Sep 2013 20:38:14 -0700] rev 122
Added another to-do item.
Chris Jones <christian.jones@sri.com> [Mon, 02 Sep 2013 20:38:02 -0700] rev 121
Changed the way filters work. They're now symmetrical, consisting of a paired send filter and receive filter.
Chris Jones <christian.jones@sri.com> [Sat, 31 Aug 2013 23:08:21 +0100] rev 120
Fix a bug causing us to open a TCP connection to every server and use the last one.
Chris Jones <christian.jones@sri.com> [Sat, 31 Aug 2013 23:06:55 +0100] rev 119
Documentation cleanup.
Chris Jones <christian.jones@sri.com> [Fri, 30 Aug 2013 17:24:39 -0600] rev 118
Code cleanup: Renamed the Version constant. Moved the unique-ID generator into its own file.
Chris Jones <christian.jones@sri.com> [Tue, 26 Mar 2013 10:57:30 -0600] rev 117
Closing this branch.
Chris Jones <christian.jones@sri.com> [Tue, 26 Mar 2013 10:54:44 -0600] rev 116
gofmt
Chris Jones <christian.jones@sri.com> [Fri, 28 Dec 2012 17:56:13 -0700] rev 115
Put the sub-elements of Message and Presence into the jabber:client namespace.
Chris Jones <christian.jones@sri.com> [Fri, 28 Dec 2012 17:07:20 -0700] rev 114
Updated for the latest revision of the encoding/xml fixes: The context object owned by Encoder and Decoder isn't directly accessible.
Also improved the output from the two assert functions to show the info of the caller rather than the assert function itself.
Chris Jones <chris@cjones.org> [Sun, 16 Dec 2012 23:06:54 -0700] rev 113
Step 3 of converting to interface Stanza and embedded struct Header.
Chris Jones <chris@cjones.org> [Sun, 16 Dec 2012 22:37:57 -0700] rev 112
Step 2 of converting to interface Stanza and embedded struct Header.
Chris Jones <chris@cjones.org> [Sun, 16 Dec 2012 22:36:53 -0700] rev 111
Step 1 of moving to interface Stanza and embedded struct Header.
Chris Jones <chris@cjones.org> [Sun, 16 Dec 2012 22:17:49 -0700] rev 110
Instead of making Stanza an interface that Iq, Message, and Presence implement, change it to an embedded struct.
Chris Jones <chris@cjones.org> [Sun, 16 Dec 2012 19:55:17 -0700] rev 109
Disabled debug logging.
Chris Jones <chris@cjones.org> [Sun, 16 Dec 2012 19:54:54 -0700] rev 108
Another little XML tag tweak.
Chris Jones <christian.jones@sri.com> [Sun, 16 Dec 2012 17:10:21 -0700] rev 107
Fixed up some more attribute labels.
Chris Jones <christian.jones@sri.com> [Sun, 16 Dec 2012 17:10:03 -0700] rev 106
Fixed up the client/server traffic logging.
Chris Jones <christian.jones@sri.com> [Sun, 16 Dec 2012 15:54:39 -0700] rev 105
Allow the user to override the TLS config. Also fixed up some log statements.
Chris Jones <christian.jones@sri.com> [Sun, 16 Dec 2012 15:24:55 -0700] rev 104
Fixed reverse logic error on loggers.
Chris Jones <christian.jones@sri.com> [Sun, 16 Dec 2012 15:19:45 -0700] rev 103
Updated the example for the new log setup.
Chris Jones <christian.jones@sri.com> [Sun, 16 Dec 2012 15:15:59 -0700] rev 102
Reworked the logging again, and also added namespaces to a couple of fields on Features.
Chris Jones <christian.jones@sri.com> [Sun, 16 Dec 2012 14:37:43 -0700] rev 101
Use the new logging setup from the example program.
Chris Jones <christian.jones@sri.com> [Sun, 16 Dec 2012 14:07:14 -0700] rev 100
Reworked logging.
Chris Jones <chris@cjones.org> [Sun, 16 Dec 2012 13:06:07 -0700] rev 99
Closing this branch because I did it better in another one.
Chris Jones <chris@cjones.org> [Sun, 16 Dec 2012 13:03:03 -0700] rev 98
Updated for Go 1.0 + upcoming XML fixes.
Chris Jones <christian.jones@sri.com> [Sat, 26 May 2012 11:11:26 -0600] rev 97
Removing this Makefile also; it should be as unnecessary as the other.
Chris Jones <christian.jones@sri.com> [Sat, 26 May 2012 11:09:20 -0600] rev 96
Removing Makefile. Shouldn't need it anymore.
Chris Jones <chris@cjones.org> [Thu, 24 May 2012 23:27:45 -0600] rev 95
Attempts to work around Go1 XML bugs.
Chris Jones <chris@cjones.org> [Thu, 24 May 2012 23:27:31 -0600] rev 94
More XML attribute fixes.
Chris Jones <chris@cjones.org> [Sun, 15 Apr 2012 11:20:55 -0600] rev 93
Cleanup for Go 1.
Chris Jones <chris@cjones.org> [Mon, 23 Jan 2012 22:03:17 -0700] rev 92
Closing this branch in favor of the "go.r60.3" branch.
Chris Jones <chris@cjones.org> [Mon, 23 Jan 2012 22:01:20 -0700] rev 91
Closing this branch in favor of the "go.weekly.2012-01-15" branch.
Chris Jones <chris@cjones.org> [Mon, 23 Jan 2012 21:56:48 -0700] rev 90
Removed tag go.r60.3
Chris Jones <chris@cjones.org> [Mon, 23 Jan 2012 21:56:25 -0700] rev 89
Using branches, instead of tags, to refer to Go releases.
Chris Jones <chris@cjones.org> [Mon, 23 Jan 2012 21:54:41 -0700] rev 88
Added support for stringprep, as required by the RFC.
Chris Jones <chris@cjones.org> [Mon, 23 Jan 2012 21:58:53 -0700] rev 87
Using branches, rather than tags, to refer to Go releases.
Chris Jones <chris@cjones.org> [Mon, 23 Jan 2012 21:58:19 -0700] rev 86
Removed tag go.weekly.2012-01-15
Chris Jones <christian.jones@sri.com> [Thu, 19 Jan 2012 22:58:35 -0700] rev 85
Added tag go.weekly.2012-01-15 for changeset 87111e98424e
Chris Jones <christian.jones@sri.com> [Thu, 19 Jan 2012 22:57:36 -0700] rev 84
Updates to BUG comments.
Chris Jones <christian.jones@sri.com> [Thu, 19 Jan 2012 22:41:09 -0700] rev 83
Added another SHOULD comment.
Chris Jones <christian.jones@sri.com> [Thu, 19 Jan 2012 22:18:58 -0700] rev 82
Implement (untested) EXTERNAL auth, and fix bugs from my previous commit.
Chris Jones <christian.jones@sri.com> [Thu, 19 Jan 2012 22:32:26 -0600] rev 81
Consolidate how we generate the "open stream" XML.
Chris Jones <christian.jones@sri.com> [Thu, 19 Jan 2012 22:31:56 -0600] rev 80
Removed tag go.weekly.2012-01-15
Chris Jones <christian.jones@sri.com> [Thu, 19 Jan 2012 22:25:20 -0600] rev 79
Added tag go.weekly.2012-01-15 for changeset a5848c75d270
Chris Jones <christian.jones@sri.com> [Thu, 19 Jan 2012 16:27:55 -0600] rev 78
Allow the app to specify a tls.Config to use for purposes of negotiating the TLS layer.
Chris Jones <christian.jones@sri.com> [Thu, 19 Jan 2012 16:23:15 -0600] rev 77
Use the logging API by default.
Chris Jones <christian.jones@sri.com> [Thu, 19 Jan 2012 14:18:39 -0600] rev 76
Fixed logging to use log rather than syslog.
Chris Jones <christian.jones@sri.com> [Thu, 19 Jan 2012 13:41:42 -0600] rev 75
Updated for weekly.2012-01-15.
Chris Jones <christian.jones@sri.com> [Thu, 19 Jan 2012 12:25:36 -0600] rev 74
Ran gofix from weekly-2012-01-15.
Chris Jones <christian.jones@sri.com> [Thu, 19 Jan 2012 11:06:42 -0600] rev 73
Added tag go.r60.3 for changeset 53f15893a1a7
Chris Jones <christian.jones@sri.com> [Mon, 16 Jan 2012 20:30:29 -0600] rev 72
gofmt
Chris Jones <chris@cjones.org> [Thu, 12 Jan 2012 23:14:25 -0700] rev 71
Added a quick test of XML escaping.
Chris Jones <chris@cjones.org> [Sun, 08 Jan 2012 13:04:50 -0700] rev 70
Closing this branch.
Chris Jones <chris@cjones.org> [Sun, 08 Jan 2012 13:04:09 -0700] rev 69
Correct my misunderstanding of Go's break, and fix how we close channels and Writers so we can shut down our goroutines gracefully.
Chris Jones <chris@cjones.org> [Sun, 08 Jan 2012 13:01:38 -0700] rev 68
Restore this example program to its normal operation.
Chris Jones <chris@cjones.org> [Sun, 08 Jan 2012 12:56:48 -0700] rev 67
Mark this bug as fixed.
Chris Jones <chris@cjones.org> [Sun, 08 Jan 2012 12:54:06 -0700] rev 66
Restore this bit of code that got lost in the shuffle.
Chris Jones <chris@cjones.org> [Sun, 08 Jan 2012 12:53:45 -0700] rev 65
Remove this unnecessary struct field.
Chris Jones <chris@cjones.org> [Sun, 08 Jan 2012 12:43:50 -0700] rev 64
Properly close all the channels and writers if Client.Out is close.
Chris Jones <chris@cjones.org> [Sun, 08 Jan 2012 12:20:21 -0700] rev 63
Intermediate commit. Fixing how we close our channels and sockets and shut down our goroutines.
Chris Jones <chris@cjones.org> [Sun, 08 Jan 2012 09:11:14 -0700] rev 62
Added global variables for logging.
Chris Jones <chris@cjones.org> [Sat, 07 Jan 2012 22:22:18 -0700] rev 61
Stanzas can now contain multiple nested (extended) elements.
Chris Jones <chris@cjones.org> [Sat, 07 Jan 2012 21:20:23 -0700] rev 60
Made a generic extension interface.
Chris Jones <chris@cjones.org> [Sat, 07 Jan 2012 20:41:16 -0700] rev 59
Comment reformat.
Chris Jones <chris@cjones.org> [Thu, 05 Jan 2012 23:19:42 -0700] rev 58
Sent acknowledgment when somebody sends us a roster iq.
Chris Jones <chris@cjones.org> [Thu, 05 Jan 2012 23:14:14 -0700] rev 57
Revamped how the roster works. We're now using a channel to transmit snapshots
of the roster, which is thread-safe. Also found and fixed a bug that was
preventing new filters from being sent more than one stanza ever.
Chris Jones <chris@cjones.org> [Thu, 05 Jan 2012 19:53:37 -0700] rev 56
Another null change for eol stuff.
Chris Jones <christian.jones@sri.com> [Thu, 05 Jan 2012 14:32:15 -0700] rev 55
Added another BUG comment.
Chris Jones <christian.jones@sri.com> [Thu, 05 Jan 2012 14:25:40 -0700] rev 54
When ranging over an array of structures, the iterand is reused. So storing a
pointer to it will cause trouble down the road.
Chris Jones <christian.jones@sri.com> [Tue, 03 Jan 2012 16:56:28 -0700] rev 53
Enabled the Hg eol extension.
Chris Jones <chris@cjones.org> [Mon, 02 Jan 2012 21:40:42 -0700] rev 52
Comment fixes.
Chris Jones <chris@cjones.org> [Mon, 02 Jan 2012 13:18:48 -0700] rev 51
Nil checks and a greatly simplified filter manager which is less buggy.
Chris Jones <chris@cjones.org> [Mon, 02 Jan 2012 10:01:41 -0700] rev 50
Simplified the roster filter.
Chris Jones <chris@cjones.org> [Mon, 02 Jan 2012 09:58:44 -0700] rev 49
Fixed up marshaling of the extra fields in presence and message.
Chris Jones <chris@cjones.org> [Mon, 02 Jan 2012 09:58:17 -0700] rev 48
Turned off debugging by default.
Chris Jones <chris@cjones.org> [Sun, 01 Jan 2012 20:00:43 -0700] rev 47
Implemented roster item delete, and added another BUG comment.
Chris Jones <chris@cjones.org> [Sun, 01 Jan 2012 19:32:51 -0700] rev 46
Added roster updating.
Chris Jones <chris@cjones.org> [Sun, 01 Jan 2012 19:00:21 -0700] rev 45
Added a stack of filters which can intercept data before it gets to
the app.
Chris Jones <chris@cjones.org> [Sun, 01 Jan 2012 17:28:00 -0700] rev 44
Comment cleanup.
Chris Jones <chris@cjones.org> [Sun, 01 Jan 2012 17:27:21 -0700] rev 43
Making a little more use of XMLName for marshaling instead of having a
custom MarshalXML function.
Chris Jones <chris@cjones.org> [Sun, 01 Jan 2012 17:22:48 -0700] rev 42
Renamed the somewhat obscure XTo(), etc. to GetTo(), etc.
Chris Jones <chris@cjones.org> [Sun, 01 Jan 2012 17:19:03 -0700] rev 41
Made a special-purpose bind structure for resource binding.
Chris Jones <chris@cjones.org> [Sat, 31 Dec 2011 12:11:02 -0700] rev 40
Comment cleanup.
Chris Jones <chris@cjones.org> [Sat, 31 Dec 2011 11:45:44 -0700] rev 39
Use name tags for roster data structures.
Chris Jones <chris@cjones.org> [Sat, 31 Dec 2011 11:39:23 -0700] rev 38
Extended stanzas work now.
Chris Jones <chris@cjones.org> [Sat, 31 Dec 2011 10:11:01 -0700] rev 37
Minor fixups to make this come closer to working. It doesn't actually
work, though, because the nesting in XML is backwards from how it is
in Go. <iq><query/></iq> vs. RosterIq { Iq }
Chris Jones <chris@cjones.org> [Fri, 30 Dec 2011 21:49:00 -0700] rev 36
Added a capability to use extensions. There are still some bugs with
marshaling involving receiver functions on embedded structs.
Chris Jones <chris@cjones.org> [Fri, 30 Dec 2011 18:25:08 -0700] rev 35
Doc and comment update.
Chris Jones <chris@cjones.org> [Fri, 30 Dec 2011 17:27:14 -0700] rev 34
Made the namespace constants public.
Chris Jones <chris@cjones.org> [Fri, 30 Dec 2011 17:16:37 -0700] rev 33
Added roster retrieval to StartSession().
Chris Jones <chris@cjones.org> [Thu, 29 Dec 2011 11:25:26 -0700] rev 32
Make the server's advertised features available to the app.
Chris Jones <chris@cjones.org> [Thu, 29 Dec 2011 11:17:52 -0700] rev 31
Made streamError non-public, and made a first attempt at a stream
error handler.
Chris Jones <chris@cjones.org> [Thu, 29 Dec 2011 11:11:18 -0700] rev 30
Replaced Client.NextId() with a channel named Id.
Chris Jones <chris@cjones.org> [Thu, 29 Dec 2011 11:02:21 -0700] rev 29
Don't accept data on Client.Out until resource binding is
complete. StartSession() won't do its work until after this
happens. That means the app can call StartSession() and wait for it to
return before checking Client.Jid.
Chris Jones <chris@cjones.org> [Thu, 29 Dec 2011 09:48:36 -0700] rev 28
Added Client.StartSession().
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 16:10:20 -0700] rev 27
Clarified a comment.
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 15:47:27 -0700] rev 26
Removed the TextOut channel.
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 13:32:11 -0700] rev 25
Made JID.Node a string rather than *string. This is more appropriate
and idiomatic Go.
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 13:28:45 -0700] rev 24
Removed definedCondition in favor of Generic.
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 13:24:08 -0700] rev 23
Made the input and output channels of type Stanza rather than
interface{}. We should handle everything internally that's not an iq,
message, or presence.
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 13:14:46 -0700] rev 22
Made the stream type non-public.
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 13:05:59 -0700] rev 21
Renamed Unrecognized to Generic.
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 13:02:23 -0700] rev 20
Replaced TODO comments with Go-style BUG(me) comments.
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 12:50:08 -0700] rev 19
Added an example of the use of godoc's BUG comment.
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 12:46:03 -0700] rev 18
Makefile improvements to handle the examples package.
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 12:39:24 -0700] rev 17
Code review.
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 11:57:29 -0700] rev 16
Parse <presence> and <message> stanzas.
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 11:55:31 -0700] rev 15
When the server sends us our newly bound resource, update Client.Jid
and allow the <iq> to pass through to the app so they know it's
changed.
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 11:35:21 -0700] rev 14
Don't forget to remove the stanza handler after it's been used.
Chris Jones <chris@cjones.org> [Wed, 28 Dec 2011 11:30:10 -0700] rev 13
Added a callback handler which will handle a stanza with a particular id.
Chris Jones <chris@cjones.org> [Tue, 27 Dec 2011 20:42:44 -0700] rev 12
Added resource binding and structures for <iq>, <message>, and <presence>.
Chris Jones <chris@cjones.org> [Tue, 27 Dec 2011 15:36:07 -0700] rev 11
Added SASL digest authentication.
Chris Jones <chris@cjones.org> [Mon, 26 Dec 2011 18:07:14 -0700] rev 10
Added TLS negotiation.
Chris Jones <chris@cjones.org> [Mon, 26 Dec 2011 14:36:41 -0700] rev 9
Reorganize so we have a layered approach to IO with the server.
Chris Jones <chris@cjones.org> [Mon, 26 Dec 2011 11:48:35 -0700] rev 8
Added the ability to parse <stream:features>.
Chris Jones <christian.jones@sri.com> [Sun, 25 Dec 2011 19:02:53 -0700] rev 7
Support contents for defined error conditions (such as <see-other-host/>).
Chris Jones <christian.jones@sri.com> [Sun, 25 Dec 2011 18:46:13 -0700] rev 6
Implemented writing to the remote. Now we have bidirectional communication.
Chris Jones <chris@cjones.org> [Sat, 24 Dec 2011 13:11:36 -0700] rev 5
Added a goroutine to read data from the remote and parse it into
appropriate structures.
Chris Jones <chris@cjones.org> [Sat, 24 Dec 2011 11:18:52 -0700] rev 4
Added an interactive test and made Client implement io.Closer.