Wed, 16 Oct 2013 20:52:05 -0600 |
Chris Jones |
Trying to be smarter about closing channels: Ask the application not to close the Send channel, but let us do that from Close() instead.
|
changeset |
files
|
Wed, 16 Oct 2013 20:41:14 -0600 |
Chris Jones |
Make an attempt to only close the send channel if it's still open.
|
changeset |
files
|
Wed, 16 Oct 2013 20:29:29 -0600 |
Chris Jones |
Don't call Close() twice.
|
changeset |
files
|
Wed, 16 Oct 2013 20:05:02 -0600 |
Chris Jones |
Expose the Status.Fatal function.
|
changeset |
files
|
Wed, 02 Oct 2013 23:22:27 -0600 |
Chris Jones |
Moved some code around.
|
changeset |
files
|
Mon, 30 Sep 2013 20:35:17 -0600 |
Chris Jones |
gofmt
|
changeset |
files
|
Mon, 30 Sep 2013 20:33:50 -0600 |
Chris Jones |
Changed order of operations in setError() so that the underlying error is reported.
|
changeset |
files
|
Mon, 30 Sep 2013 20:31:25 -0600 |
Chris Jones |
Removed the weirdo logging facility. There's now a Debug variable which can be set which replaces the former debug log. NewClient() will return an error if something goes wrong setting up the connection.
|
changeset |
files
|
Mon, 30 Sep 2013 18:59:37 -0600 |
Chris Jones |
Added a Close() function and fixed a couple of shutdown bugs.
|
changeset |
files
|
Sun, 29 Sep 2013 21:56:19 -0600 |
Chris Jones |
gofmt
|
changeset |
files
|
Sun, 29 Sep 2013 21:55:08 -0600 |
Chris Jones |
to-do update.
|
changeset |
files
|
Sun, 29 Sep 2013 21:54:38 -0600 |
Chris Jones |
Listen for XMPP connection status changes, and print them out.
|
changeset |
files
|
Sun, 29 Sep 2013 21:37:14 -0600 |
Chris Jones |
Renamed Extension.StanzaHandlers to StanzaTypes, and updated the doc comment.
|
changeset |
files
|
Sun, 29 Sep 2013 21:33:03 -0600 |
Chris Jones |
Don't keep the password around after we've used it.
|
changeset |
files
|
Sat, 28 Sep 2013 13:15:32 -0600 |
Chris Jones |
To-do list updates.
|
changeset |
files
|
Sat, 28 Sep 2013 13:11:44 -0600 |
Chris Jones |
gofmt
|
changeset |
files
|
Sat, 28 Sep 2013 13:03:51 -0600 |
Chris Jones |
Updated to-do list.
|
changeset |
files
|
Sat, 28 Sep 2013 13:02:17 -0600 |
Chris Jones |
Simplified the API: There's only one constructor, and it does everything necessary to initiate the stream. StartSession() and Roster.Update() have both been eliminated.
|
changeset |
files
|
Sun, 22 Sep 2013 17:43:34 -0500 |
Chris Jones |
Updated to-do list.
|
changeset |
files
|
Sun, 15 Sep 2013 16:41:20 -0600 |
Chris Jones |
gofmt
|
changeset |
files
|
Sun, 15 Sep 2013 16:41:02 -0600 |
Chris Jones |
Code reorder and doc cleanup.
|
changeset |
files
|
Sun, 15 Sep 2013 16:30:55 -0600 |
Chris Jones |
Removed an unused parameter.
|
changeset |
files
|
Sun, 15 Sep 2013 16:18:20 -0600 |
Chris Jones |
Made layers 1 and 3 more modular, shrinking the surface area of the coupling between them.
|
changeset |
files
|
Sun, 15 Sep 2013 13:09:26 -0600 |
Chris Jones |
Function renames and improved doc.
|
changeset |
files
|
Sun, 15 Sep 2013 12:42:49 -0600 |
Chris Jones |
Changed the inputControl channel to send a custom type.
|
changeset |
files
|
Sun, 15 Sep 2013 12:31:59 -0600 |
Chris Jones |
gofmt
|
changeset |
files
|
Sun, 15 Sep 2013 12:31:37 -0600 |
Chris Jones |
Renamed HandleStanza to SetCallback.
|
changeset |
files
|
Sun, 15 Sep 2013 12:00:17 -0600 |
Chris Jones |
Split stream.go into layer1, layer2, layer3, and sasl.
|
changeset |
files
|
Sun, 15 Sep 2013 11:34:35 -0600 |
Chris Jones |
Removed copyright statements.
|
changeset |
files
|
Sun, 15 Sep 2013 11:23:06 -0600 |
Chris Jones |
Doc update.
|
changeset |
files
|
Wed, 11 Sep 2013 17:17:50 -0600 |
Chris Jones |
Don't close the wrong end of a channel. But if we get an error, we can close the underlying socket.
|
changeset |
files
|
Mon, 09 Sep 2013 04:27:53 +0100 |
Chris Jones |
Initial roster contents look like a result iq.
|
changeset |
files
|
Mon, 09 Sep 2013 04:18:29 +0100 |
Chris Jones |
Doc update.
|
changeset |
files
|
Mon, 09 Sep 2013 04:17:06 +0100 |
Chris Jones |
Start reading from the recv channel earlier.
|
changeset |
files
|
Mon, 09 Sep 2013 04:16:16 +0100 |
Chris Jones |
Simplified and debugged the filter logic.
|
changeset |
files
|
Mon, 09 Sep 2013 02:13:07 +0100 |
Chris Jones |
Fixed another logic error, caused by a shadowed variable name.
|
changeset |
files
|
Sun, 08 Sep 2013 14:40:35 -0700 |
Chris Jones |
Fixed some logic errors and initialized some things that needed to be initialized.
|
changeset |
files
|
Sun, 08 Sep 2013 14:37:56 -0700 |
Chris Jones |
Removed some unused code.
|
changeset |
files
|
Sat, 07 Sep 2013 19:53:58 -0700 |
Chris Jones |
Fixed reversed-logic error in checking for duplicate stanza extension types.
|
changeset |
files
|
Sat, 07 Sep 2013 19:49:57 -0700 |
Chris Jones |
Address a bug that can happen if no SRV records can be found.
|
changeset |
files
|
Sat, 07 Sep 2013 14:43:54 -0700 |
Chris Jones |
Pass the TLS config as a parameter to the Client constructor. Updated the example program.
|
changeset |
files
|
Sat, 07 Sep 2013 11:46:42 -0700 |
Chris Jones |
Moved the tls.Config from a package-level variable to a client instance variable.
|
changeset |
files
|
Sat, 07 Sep 2013 11:19:29 -0700 |
Chris Jones |
Use reflection instead of constructor functions to create extended stanza structures.
|
changeset |
files
|
Sat, 07 Sep 2013 10:30:22 -0700 |
Chris Jones |
Renamed client.In and client.Out to Recv and Send, respectively.
|
changeset |
files
|
Sat, 07 Sep 2013 10:04:44 -0700 |
Chris Jones |
Moved the library code into an xmpp directory.
|
changeset |
files
|
Mon, 02 Sep 2013 20:46:23 -0700 |
Chris Jones |
Renamed examples to example, since there's only one program there.
|
changeset |
files
|
Mon, 02 Sep 2013 20:45:24 -0700 |
Chris Jones |
Updated the example to match the new API, and fixed the roster Update to not require a reference to the client.
|
changeset |
files
|
Mon, 02 Sep 2013 20:38:57 -0700 |
Chris Jones |
Got rid of Client.Uid.
|
changeset |
files
|
Mon, 02 Sep 2013 20:38:14 -0700 |
Chris Jones |
Added another to-do item.
|
changeset |
files
|
Mon, 02 Sep 2013 20:38:02 -0700 |
Chris Jones |
Changed the way filters work. They're now symmetrical, consisting of a paired send filter and receive filter.
|
changeset |
files
|
Sat, 31 Aug 2013 23:08:21 +0100 |
Chris Jones |
Fix a bug causing us to open a TCP connection to every server and use the last one.
|
changeset |
files
|
Sat, 31 Aug 2013 23:06:55 +0100 |
Chris Jones |
Documentation cleanup.
|
changeset |
files
|
Fri, 30 Aug 2013 17:24:39 -0600 |
Chris Jones |
Code cleanup: Renamed the Version constant. Moved the unique-ID generator into its own file.
|
changeset |
files
|
Tue, 26 Mar 2013 10:57:30 -0600 |
Chris Jones |
Closing this branch.
go.weekly.2012-01-15
|
changeset |
files
|
Tue, 26 Mar 2013 10:54:44 -0600 |
Chris Jones |
gofmt
|
changeset |
files
|
Fri, 28 Dec 2012 17:56:13 -0700 |
Chris Jones |
Put the sub-elements of Message and Presence into the jabber:client namespace.
|
changeset |
files
|
Fri, 28 Dec 2012 17:07:20 -0700 |
Chris Jones |
Updated for the latest revision of the encoding/xml fixes: The context object owned by Encoder and Decoder isn't directly accessible.
|
changeset |
files
|
Sun, 16 Dec 2012 23:06:54 -0700 |
Chris Jones |
Step 3 of converting to interface Stanza and embedded struct Header.
|
changeset |
files
|
Sun, 16 Dec 2012 22:37:57 -0700 |
Chris Jones |
Step 2 of converting to interface Stanza and embedded struct Header.
|
changeset |
files
|
Sun, 16 Dec 2012 22:36:53 -0700 |
Chris Jones |
Step 1 of moving to interface Stanza and embedded struct Header.
|
changeset |
files
|
Sun, 16 Dec 2012 22:17:49 -0700 |
Chris Jones |
Instead of making Stanza an interface that Iq, Message, and Presence implement, change it to an embedded struct.
|
changeset |
files
|
Sun, 16 Dec 2012 19:55:17 -0700 |
Chris Jones |
Disabled debug logging.
|
changeset |
files
|
Sun, 16 Dec 2012 19:54:54 -0700 |
Chris Jones |
Another little XML tag tweak.
|
changeset |
files
|
Sun, 16 Dec 2012 17:10:21 -0700 |
Chris Jones |
Fixed up some more attribute labels.
|
changeset |
files
|
Sun, 16 Dec 2012 17:10:03 -0700 |
Chris Jones |
Fixed up the client/server traffic logging.
|
changeset |
files
|
Sun, 16 Dec 2012 15:54:39 -0700 |
Chris Jones |
Allow the user to override the TLS config. Also fixed up some log statements.
|
changeset |
files
|
Sun, 16 Dec 2012 15:24:55 -0700 |
Chris Jones |
Fixed reverse logic error on loggers.
|
changeset |
files
|
Sun, 16 Dec 2012 15:19:45 -0700 |
Chris Jones |
Updated the example for the new log setup.
|
changeset |
files
|
Sun, 16 Dec 2012 15:15:59 -0700 |
Chris Jones |
Reworked the logging again, and also added namespaces to a couple of fields on Features.
|
changeset |
files
|
Sun, 16 Dec 2012 14:37:43 -0700 |
Chris Jones |
Use the new logging setup from the example program.
|
changeset |
files
|
Sun, 16 Dec 2012 14:07:14 -0700 |
Chris Jones |
Reworked logging.
|
changeset |
files
|
Sun, 16 Dec 2012 13:06:07 -0700 |
Chris Jones |
Closing this branch because I did it better in another one.
go.weekly.2012-01-15
|
changeset |
files
|
Sun, 16 Dec 2012 13:03:03 -0700 |
Chris Jones |
Updated for Go 1.0 + upcoming XML fixes.
|
changeset |
files
|
Sat, 26 May 2012 11:11:26 -0600 |
Chris Jones |
Removing this Makefile also; it should be as unnecessary as the other.
go.weekly.2012-01-15
|
changeset |
files
|
Sat, 26 May 2012 11:09:20 -0600 |
Chris Jones |
Removing Makefile. Shouldn't need it anymore.
go.weekly.2012-01-15
|
changeset |
files
|
Thu, 24 May 2012 23:27:45 -0600 |
Chris Jones |
Attempts to work around Go1 XML bugs.
go.weekly.2012-01-15
|
changeset |
files
|
Thu, 24 May 2012 23:27:31 -0600 |
Chris Jones |
More XML attribute fixes.
go.weekly.2012-01-15
|
changeset |
files
|
Sun, 15 Apr 2012 11:20:55 -0600 |
Chris Jones |
Cleanup for Go 1.
go.weekly.2012-01-15
|
changeset |
files
|
Mon, 23 Jan 2012 22:03:17 -0700 |
Chris Jones |
Closing this branch in favor of the "go.r60.3" branch.
go.r60.3
|
changeset |
files
|
Mon, 23 Jan 2012 22:01:20 -0700 |
Chris Jones |
Closing this branch in favor of the "go.weekly.2012-01-15" branch.
|
changeset |
files
|
Mon, 23 Jan 2012 21:56:48 -0700 |
Chris Jones |
Removed tag go.r60.3
go.r60.3
|
changeset |
files
|
Mon, 23 Jan 2012 21:56:25 -0700 |
Chris Jones |
Using branches, instead of tags, to refer to Go releases.
go.r60.3
|
changeset |
files
|
Mon, 23 Jan 2012 21:54:41 -0700 |
Chris Jones |
Added support for stringprep, as required by the RFC.
|
changeset |
files
|
Mon, 23 Jan 2012 21:58:53 -0700 |
Chris Jones |
Using branches, rather than tags, to refer to Go releases.
go.weekly.2012-01-15
|
changeset |
files
|
Mon, 23 Jan 2012 21:58:19 -0700 |
Chris Jones |
Removed tag go.weekly.2012-01-15
|
changeset |
files
|
Thu, 19 Jan 2012 22:58:35 -0700 |
Chris Jones |
Added tag go.weekly.2012-01-15 for changeset 87111e98424e
|
changeset |
files
|
Thu, 19 Jan 2012 22:57:36 -0700 |
Chris Jones |
Updates to BUG comments.
go.weekly.2012-01-15
|
changeset |
files
|
Thu, 19 Jan 2012 22:41:09 -0700 |
Chris Jones |
Added another SHOULD comment.
|
changeset |
files
|
Thu, 19 Jan 2012 22:18:58 -0700 |
Chris Jones |
Implement (untested) EXTERNAL auth, and fix bugs from my previous commit.
|
changeset |
files
|
Thu, 19 Jan 2012 22:32:26 -0600 |
Chris Jones |
Consolidate how we generate the "open stream" XML.
|
changeset |
files
|
Thu, 19 Jan 2012 22:31:56 -0600 |
Chris Jones |
Removed tag go.weekly.2012-01-15
|
changeset |
files
|
Thu, 19 Jan 2012 22:25:20 -0600 |
Chris Jones |
Added tag go.weekly.2012-01-15 for changeset a5848c75d270
|
changeset |
files
|
Thu, 19 Jan 2012 16:27:55 -0600 |
Chris Jones |
Allow the app to specify a tls.Config to use for purposes of negotiating the TLS layer.
|
changeset |
files
|
Thu, 19 Jan 2012 16:23:15 -0600 |
Chris Jones |
Use the logging API by default.
|
changeset |
files
|
Thu, 19 Jan 2012 14:18:39 -0600 |
Chris Jones |
Fixed logging to use log rather than syslog.
|
changeset |
files
|
Thu, 19 Jan 2012 13:41:42 -0600 |
Chris Jones |
Updated for weekly.2012-01-15.
|
changeset |
files
|
Thu, 19 Jan 2012 12:25:36 -0600 |
Chris Jones |
Ran gofix from weekly-2012-01-15.
|
changeset |
files
|
Thu, 19 Jan 2012 11:06:42 -0600 |
Chris Jones |
Added tag go.r60.3 for changeset 53f15893a1a7
|
changeset |
files
|
Mon, 16 Jan 2012 20:30:29 -0600 |
Chris Jones |
gofmt
go.r60.3
|
changeset |
files
|
Thu, 12 Jan 2012 23:14:25 -0700 |
Chris Jones |
Added a quick test of XML escaping.
|
changeset |
files
|
Sun, 08 Jan 2012 13:04:50 -0700 |
Chris Jones |
Closing this branch.
20120108-close
|
changeset |
files
|
Sun, 08 Jan 2012 13:04:09 -0700 |
Chris Jones |
Correct my misunderstanding of Go's break, and fix how we close channels and Writers so we can shut down our goroutines gracefully.
|
changeset |
files
|
Sun, 08 Jan 2012 13:01:38 -0700 |
Chris Jones |
Restore this example program to its normal operation.
20120108-close
|
changeset |
files
|
Sun, 08 Jan 2012 12:56:48 -0700 |
Chris Jones |
Mark this bug as fixed.
20120108-close
|
changeset |
files
|
Sun, 08 Jan 2012 12:54:06 -0700 |
Chris Jones |
Restore this bit of code that got lost in the shuffle.
20120108-close
|
changeset |
files
|
Sun, 08 Jan 2012 12:53:45 -0700 |
Chris Jones |
Remove this unnecessary struct field.
20120108-close
|
changeset |
files
|
Sun, 08 Jan 2012 12:43:50 -0700 |
Chris Jones |
Properly close all the channels and writers if Client.Out is close.
20120108-close
|
changeset |
files
|
Sun, 08 Jan 2012 12:20:21 -0700 |
Chris Jones |
Intermediate commit. Fixing how we close our channels and sockets and shut down our goroutines.
20120108-close
|
changeset |
files
|
Sun, 08 Jan 2012 09:11:14 -0700 |
Chris Jones |
Added global variables for logging.
|
changeset |
files
|
Sat, 07 Jan 2012 22:22:18 -0700 |
Chris Jones |
Stanzas can now contain multiple nested (extended) elements.
|
changeset |
files
|
Sat, 07 Jan 2012 21:20:23 -0700 |
Chris Jones |
Made a generic extension interface.
|
changeset |
files
|
Sat, 07 Jan 2012 20:41:16 -0700 |
Chris Jones |
Comment reformat.
|
changeset |
files
|
Thu, 05 Jan 2012 23:19:42 -0700 |
Chris Jones |
Sent acknowledgment when somebody sends us a roster iq.
|
changeset |
files
|
Thu, 05 Jan 2012 23:14:14 -0700 |
Chris Jones |
Revamped how the roster works. We're now using a channel to transmit snapshots
|
changeset |
files
|
Thu, 05 Jan 2012 19:53:37 -0700 |
Chris Jones |
Another null change for eol stuff.
|
changeset |
files
|
Thu, 05 Jan 2012 14:32:15 -0700 |
Chris Jones |
Added another BUG comment.
|
changeset |
files
|
Thu, 05 Jan 2012 14:25:40 -0700 |
Chris Jones |
When ranging over an array of structures, the iterand is reused. So storing a
|
changeset |
files
|
Tue, 03 Jan 2012 16:56:28 -0700 |
Chris Jones |
Enabled the Hg eol extension.
|
changeset |
files
|
Mon, 02 Jan 2012 21:40:42 -0700 |
Chris Jones |
Comment fixes.
|
changeset |
files
|
Mon, 02 Jan 2012 13:18:48 -0700 |
Chris Jones |
Nil checks and a greatly simplified filter manager which is less buggy.
|
changeset |
files
|
Mon, 02 Jan 2012 10:01:41 -0700 |
Chris Jones |
Simplified the roster filter.
|
changeset |
files
|
Mon, 02 Jan 2012 09:58:44 -0700 |
Chris Jones |
Fixed up marshaling of the extra fields in presence and message.
|
changeset |
files
|
Mon, 02 Jan 2012 09:58:17 -0700 |
Chris Jones |
Turned off debugging by default.
|
changeset |
files
|
Sun, 01 Jan 2012 20:00:43 -0700 |
Chris Jones |
Implemented roster item delete, and added another BUG comment.
|
changeset |
files
|
Sun, 01 Jan 2012 19:32:51 -0700 |
Chris Jones |
Added roster updating.
|
changeset |
files
|
Sun, 01 Jan 2012 19:00:21 -0700 |
Chris Jones |
Added a stack of filters which can intercept data before it gets to
|
changeset |
files
|
Sun, 01 Jan 2012 17:28:00 -0700 |
Chris Jones |
Comment cleanup.
|
changeset |
files
|
Sun, 01 Jan 2012 17:27:21 -0700 |
Chris Jones |
Making a little more use of XMLName for marshaling instead of having a
|
changeset |
files
|