Matt Goodall
|
9ba9dcbe86
|
go fix. Clearly, I need to run this more often ;)
|
2012-07-18 11:40:36 +01:00 |
Matt Goodall
|
82015bcab4
|
Collect and consolidate namespaces.
|
2012-07-18 11:36:59 +01:00 |
Matt Goodall
|
e95528641b
|
Combine Stream's Decode and DecodeElement methods.
|
2012-07-12 00:56:35 +01:00 |
Matt Goodall
|
f97ed9ea37
|
Remove element name match test from Stream.Next().
Only one place still used it, so it might as well go.
|
2012-07-12 00:48:44 +01:00 |
Matt Goodall
|
424c06855c
|
Make stanza logging in the Stream optional.
|
2012-07-12 00:38:51 +01:00 |
Matt Goodall
|
2c5fbc7122
|
Log incoming stanzas before they're unmarshaled.
A couple of bits in stream.go are commented out at the moment. They'll
be back in a moment, once the send/recv logging is optional.
|
2012-07-11 23:24:32 +01:00 |
Matt Goodall
|
318a97947b
|
Read incoming start element explicit part of sending outgoing start element.
|
2012-07-11 23:24:32 +01:00 |
Matt Goodall
|
30441cacf4
|
Fix typo.
|
2012-07-11 23:24:26 +01:00 |
Matt Goodall
|
9013ad6a6a
|
Remove extra "has" from func comment.
|
2012-07-11 15:55:37 +01:00 |
Matt Goodall
|
85472a72b4
|
Ensure all methods that decode a stanza go via the same route.
|
2012-07-11 15:50:27 +01:00 |
Matt Goodall
|
2a11a800da
|
Extract writeXMLStartElement func.
|
2012-07-11 15:35:52 +01:00 |
Matt Goodall
|
b752357c8d
|
Remap EOF to ErrUnexpectedEOF now we're checking for end of stream.
|
2012-07-09 15:04:57 +01:00 |
Matt Goodall
|
6b01a7f10c
|
Cleanly detect & signal end of stream, and fix code above.
|
2012-07-09 15:01:15 +01:00 |
Matt Goodall
|
b13d0baad0
|
Simplify error creation.
|
2012-07-09 13:27:49 +01:00 |
Matt Goodall
|
e2c05fea94
|
Send xml PI encoding. Route through Stream.send for logging.
|
2012-07-09 02:50:43 +01:00 |
Matt Goodall
|
ec1eaf94b9
|
More useful docs for Stream and XMPP.
|
2012-07-09 00:37:21 +01:00 |
Matt Goodall
|
01cff4b3ba
|
Actually use TLS config passed to method.
|
2012-07-08 22:52:38 +01:00 |
Matt Goodall
|
f1c999d623
|
Move the XMPP-specific part of TLS out of the XML stream.
|
2012-07-08 22:50:10 +01:00 |
Matt Goodall
|
b9e29ca2b3
|
Make the stream's API more explicit, add some docs, improved var names.
|
2012-07-08 22:40:31 +01:00 |
Matt Goodall
|
3eb1c9f722
|
Allow []byte, string or anything xml.Marshal'able to be sent.
|
2012-07-06 16:24:32 +01:00 |
Matt Goodall
|
8dcfd43ca7
|
Docs for things I'm mostly happy with.
|
2012-07-06 14:33:28 +01:00 |
Matt Goodall
|
678b9c48a1
|
Make Stream public again, so we actually get some documentation for it.
|
2012-07-06 14:29:15 +01:00 |
Matt Goodall
|
72dc222360
|
Make the stream struct private. Rename factory func.
|
2012-07-06 11:47:15 +01:00 |
Matt Goodall
|
b879d2cfef
|
Add bug about UpgradeTLS doing XMPP-specific stuff.
|
2012-07-06 11:47:15 +01:00 |
Matt Goodall
|
4e7d9e68d1
|
Move xml declaration to stream.
|
2012-06-27 13:15:11 +01:00 |
Matt Goodall
|
a793114fdf
|
Basic XMPP client with TLS and SASL.
|
2012-06-27 12:05:07 +01:00 |