elpasync pushed a change to branch externals/websocket. from 1f086f14f0 Update to version 1.14 new 07867563de Don't assume any change to the process is bad - check before closing. new 6da0627a10 Correctly set websocket-server-p, and don't mask server communication. new 0dd3175fa7 Fix tests to handle extra argument to websocket-encode-frame. new 2bfc3036f6 Handle on-close for all varieties of websocket closings. new 4fb51115f0 Add extra assert in functional test, and increase sleep time for wss test. new 5f7decd210 Fix for on-close in websocket test new d46cacb8b1 Add back in calling of websocket-close, this time more safely. new ef975a91f1 Restore a bit of testing I accidentally deleted. new 4ca9d4d32a Set the version to 1.2, after the last set of server changes. new f902bc04db * websocket.el: Fix process-coding-system for client connections. We previously set the coding-system to unix for encoding and decoding, then overwrote it with binary for encoding but not decoding. I don't know why that happened, now we'll just set the coding system to binary for encoding and decoding, which fixes an issue with connections on Windows. new 01c8d98f69 * websocket.el: Remove use of buffers in connections. This simplifies the code somewhat, and we avoid any possible buffer leaks. new ee7797234b * websocket.el: Throw clear error when connection cannot be made. new 97b7418dae Permit non-numeric port number in websocket-server new 9fec6e28ef Merge pull request #34 from legoscia/permit-non-numeric-port new b9ae25843a Fix breaking test. new 5a965add21 Merge branch 'close-testing-fix' new 28e55d5654 Fix misuse of same-origin policy new 8c366e8f3d Merge branch 'same-origin-fix' new 43bbf7b32f Bump version to 1.3. new 111febe203 Fix `websocket-version': update to 1.3 new 69a377a537 Bring ping behavior in line with RFC new 9aad2f754f Add supports for <32 bit emacs. new dba6893ec5 Bump version to 1.4 new b7a1907b8c Add port number when non-default to Host header. new 542c6fec74 Add support for cookies handling for ws clients. new e5cd7c9557 Bump version to 1.5. new 965fac0fe5 add markdown preview mode new 49a93b2218 Merge pull request #39 from ancane/master new fca0561430 Fix copyright and author info. new 8299e57a4c Function test improvements for Windows: SIGSTP new 4f8ddb64bc Merge pull request #43 from chwarr/func-test-windows-sigstp new 7422064ea6 Add a way to specify websocket-server listen host new 8d0ca79cd3 Have functional test use :host 'local new 19f9b3b74f Merge pull request #44 from chwarr/websocket-server-host new 90b9f03da0 Correctly parse fragmented HTTP header new 25c07dece5 Fix parsing of HTTP status line new 6b43f7525f Add test for fragmented header new 923e74d686 Merge pull request #40 from ilysym/fragmented-header new c045acb374 Add test for fragmented headers. new bcbd5258b2 Add note to windows users for functional tests. new d407c0ad0f Update version to 1.6. new 8f55a95698 Fix indentation. new f18bfea59b Made functional tests compile cleanly. new 5675553604 Fixes for minor quoting problems in comments. new f7d3fb5409 Fix issue with handling multibyte characters. new f94d43b97c Prevent emacs from asking users about killing server process on exit new fbd9e2263d Merge pull request #47 from alpha22jp/master new a9b8e74fa1 Update version to 1.8 new ccbe93ac8b Stop checking certs in functional test. new 23ec19933d Various idiomatic changes. new f3b8643112 make nowait optional new f7f7ad6d45 when nowait, delay handshake after process move to open status new 99d3b3e695 need another sleep on my environment new 13520c8baa add documentation for nowait new 1608341a1c Revert "when nowait, delay handshake after process move to open status" new b77aca6ccf Merge pull request #50 from yuya373/add-nowait-option new 33d0406901 Reflow function documentation. new c193d6f867 Add ability for clients to pass custom headers. new 058e8f4696 Fix issue with missing \r\n when using custom headers. new 4ca406fb96 Merge branch 'custom-headers' new 7d2adf2187 Update version to 1.9. new 268a0726b8 execute handshake after process status moved to open new b3a0153c0b remove long line lambda new e9d148fbb6 Merge pull request #52 from yuya373/fix-nowait new d28b6b4633 ensure handshake is performed new 38c1f20cb3 ensure handshake called once new 607355db44 rename to `websocket-ensure-handshake` new de26889637 Merge pull request #53 from yuya373/fix-for-emacs-25 new 0d96ba2ff5 Merge fix for 32-bit emacs. new d34f5f095d Update version to 1.10. new 0591322dc9 Fix error handling during connection. new a5a3ddb5ca Fix all signal calls. new 71f2290962 Delete .DS_Store new d8ef1b764a Merge pull request #55 from raxod502/patch-1 new ef1e504fec Fix tests broken by recent changes. new da237af723 Fix confusing documentation string in `websocket-openp'. new ff566c4ad7 Fix some performance bottlenecks. new 53bfd56e12 Upgrade version number to 1.11. new de8073d667 Is encode-coding-string (quote utf-8) necessary? new 6369b4fc48 return value of websocket-mask needs to be unibyte new 73eb210eb0 Merge pull request #59 from dickmao/state-change new 37ef222d62 Stop converting the webmask to unibyte. new fa751be5b7 Add new test for correct websocket frame encoding. new d91a9aef5a Update version to 1.11.1. new 5be01c6d1a Accept a common variation of the websocket header. new 491a60b8bb Set version to 1.12. new 74e4b82bf1 Fix GPL 2/3 discrepancy by making the .el files match the license. new 69ee80a88b Modernize & rewrite functional tests as ert tests. new 992ef33e46 Fix `process-status` returns `'connect` when nowait new c4f17b1b70 Add `'run` to handshake status new 74f00575b9 Make condition more readable new ee44af2cc5 Merge pull request #65 from yuya373/fix-handshake-when-nowait new 5fbfe3c190 Add Homepage so C-h P can show it new 31e122a9d7 Merge pull request #67 from xuchunyang/patch-2 new 06dcb68721 fix QWebsocketServer may send RST during handshake new 078f83902c Merge pull request #68 from xhcoding/master new be99c4636a Add warning about missing master branch. new 341ec2b9d6 Replace obsolete flet macro. new 31bb007b98 introduce configurable wstest-server-url new fe7b0bc2c3 resurrect testserver.py new 33d4c42891 Make testserver.py py3-ready. new 1c6d6e84c9 Use testserver.py when wstest-server-url is localhost. new df976e3b19 Merge commit '1c6d6e84c94d9f647fee2a19434d8e4e95599f63' into sten0/enable-option-of-localhost-test-server new 5aaf9d1206 Make the localhost-based test compatible with ert. new 5568114781 Make sure unit tests don't cause problems on 32-bit systems. new 36deb3ff85 Remove `websocket-ensure-connected'. new 34e11124fd Set version to 1.13. new 0a94230eca added org-roam-ui as an existing client new fda4455333 Merge pull request #78 from ThomasFKJorna/patch-1 new 82b370602f Remove warning about master branch. new 98ac614167 set ready-state to 'closed when websocket is closed abnormally new 8604982b12 Merge pull request #79 from vritser/main new 2c576b6cb8 Sets version to 1.14 new 2c923eba75 Merge branch 'externals/websocket' of https://git.sv.gnu.org/git/emacs/elpa
Summary of changes: README.org | 2 + testserver.py | 0 websocket-test.el | 730 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ websocket.el | 2 +- 4 files changed, 733 insertions(+), 1 deletion(-) mode change 100644 => 100755 testserver.py create mode 100644 websocket-test.el