2019-07-13  Andrew Hyatt  <ahyatt@gmail.com>

	Upgrade websocket library to version 1.11.1.

	The major changes here are:
	 - Significant performance improvements for large transfers.
	 - Allow calling code to handle connection issues.
	 - Fixed signals to be in the correct format.
	 - Fixed handshake issues (by https://github.com/yuya373, who has signed
	FSF papers)

	Specifically:
	 * packages/websocket/websocket.el (websocket-version): -> 1.11.1
	   (websocket-get-bytes, websocket-to-bytes,
	websocket-verify-response-code,
	    websocket-parse-repeated-field, websocket-send, websocket-open,
	    websocket-verify-headers): fix signal
	   (websocket-get-opcode, websocket-get-payload-len,
	websocket-read-frame): use `aref' for speed
	   (websocket-mask): rewrite for speed
	   (websocket-open): use `websocket-sentinel' for process changes, add
	     `websocket-ensure-handshake'
	   (websocket-sentinel): new function created from code that was in
	     `websocket-open'.
	   (websocket-ensure-handshake): new function to send a handshake.
	   (websocket-outer-filter): allowed user processing of connection
	errors.

2019-06-05  Andrew Hyatt  <ahyatt@gmail.com>

	Fix confusing documentation string in websocket library.

	* packages/websocket/websocket.el (websocket-openp): Replace
	documentation
	 string.

2019-06-05  Andrew Hyatt  <ahyatt@gmail.com>

	websocket: Version 1.9, custom header support.

	* packages/websocket/websocket.el (websocket-open): Add new keyword arg,
	 :custom-header-alist.
	* packages/websocket/websocket.el (websocket-create-headers): Create
	custom
	 headers if passed in.
	* packages/websocket/websocket-functional-test.el: Add additional wait
	to help
	 avoid flaky failures.

2018-04-10  Paul Eggert	 <eggert@cs.ucla.edu>

	Port websocket to bleeding-edge 32-bit Emacs

	Problem reported by Stefan Monnier (Bug#31118).
	* packages/websocket/websocket.el (websocket-to-bytes): Do not assume
	that #xffffffff is a valid fixnum.

2017-06-13  Andrew Hyatt  <ahyatt@gmail.com>

	Remove use of string-make-unibyte and other cleanups.

	From a patch by Stefan Monnier:

	* websocket.el: Change to lexical binding, remove uses of lexical-let.
	* websocket.el: Add 2017 as a copyright year.
	* websocket.el: Use cl-lib instead of cl.
	* websocket.el (websocket-get-bytes, websocket-to-bytes): Use %S
	 instead of %s in error format str.
	* websocket.el (websocket-mask): Switch to unibyte-string instead of
	 the deprecated string-make-unified.
	* websocket.el (websocket-encode-frame): Use pcase instead of cond.

2017-06-11  Andrew Hyatt  <ahyatt@gmail.com>

	Update to emacs-websocket version 1.8.

	* websocket.el (websocket-mask): Mask multibyte characters correctly.
	* websocket.el (websocket-server): Don't ask to terminate the
	 connection.
	* websocket-functional-test.el: Test out multibyte characters.
	* websocket-functional-test.el: Disable trust checking for echo server
	 connection.

2016-07-11  Paul Eggert	 <eggert@cs.ucla.edu>

	Fix some quoting problems in doc strings

	Most of these are minor issues involving, e.g., quoting `like this' 
	instead of 'like this'.	 A few involve escaping ` and ' with a preceding
	\= when the characters should not be turned into curved single quotes.

2016-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* websocket/websocket.el (websocket-server-accept): Mark arg as unused

	* websocket/websocket-functional-test.el: Fix compilation warnings.

2016-05-09  Andrew Hyatt  <ahyatt@gmail.com>

	Version 1.6, mostly fixes for fragmented headers.

	* websocket.el (websocket-verify-response-code, websocket-outer-filter):
	 Fix handling of fragmented headers.
	* websocket.el (websocket-server): Accept host for listening on.
	* websocket-functional-test.el: Stop stopping the listener process on
	 Windows.

2016-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	Fix maintainer address

2015-07-19  Andrew Hyatt  <ahyatt@gmail.com>

	Add ability to handle cookies.

	* websocket.el (websocket-open, websocket-process-headers,
	 websocket-out-filter, websocket-create-headers): Add ability to set
	 and accept cookies, using the url-cookie library.  Also make sure the
	 port is included in the Host header.

2015-04-03  Andrew Hyatt  <ahyatt@gmail.com>

	Version 1.4, fix for ping/pong & 32-bit emacs.

	* websocket.el (websocket-encode-frame, websocket-read-frame,
	websocket-process-frame, websocket-check) Fixes incorrect handling of
	ping/pong messages in websockets.
	(websocket-to-bytes) Fixes error computing low-bytes in 32-bit emacs.

2014-08-23  Andrew Hyatt  <ahyatt@gmail.com>

	Upgrade to version 1.3.

	* websocket.el: (websocket-version):Update to 1.3
	(websocket-close): Remove unnecessary call to process-buffer.
	(websocket-close): Remove use of buffers in connections.
	(websocket-open): Remove use of buffers in connections.
	(websocket-open): Throw clear error when connection cannot be made.
	(websocket-create-headers): Remove unnecessary Origin header.

2013-12-14  Andrew Hyatt  <ahyatt@gmail.com>

	Remove the ERT testing file, which had too many FSF-unsigned changes.

	This brings this package into FSF compliance.

	* README.org: Mention the fact that the ERT tests are in the github 
	repository.

	* websocket-test.el: Removed.

2013-09-21  Andrew Hyatt  <ahyatt@gmail.com>

	websocket.el: Set version to 1.2, after last set of server fixes.

2013-09-15  Andrew Hyatt  <ahyatt@gmail.com>

	2013-09-15 Andrew Hyatt	 <ahyatt@gmail.com>

		* websocket.el (websocket-mask-frames, websocket-encode-frame,
		 websocket, websocket-send): Get rid of
		 `websocket-mask-frames' variable, which was a mistake, and
		 make masking mandatory for clients and forbidden for
		 servers.
	       * websocket-test.el (websocket-encode-frame,
		 websocket-outer-filter): Alter tests to pass new argument
		 for `websocket-encode-frame'.

		* websocket.el (websocket-close, websocket-open,
		 websocket-server-accept): Only call the on-close callback on
		 process state change if the process is now closed or
		 similar, and always call the on-close callback from
		 `websocket-close'
	       * websocket-test.el (websocket-close): Add an on-close callback
		 which the `websocket-close' method now expects.

		* magit-functiona-test.el: Assert on ready-state, and increase
		 the sleep time for the wss test.

2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* packages/websocket/websocket.el: Fix version number.

2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* packages/websocket: Cleanup copyright and code.

2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	Add websocket git revno bc5c2a2ee2b993a18e8e23ed725829d403508753.

