Commits on Oct 23, 2016
  1. Fix issue with handling multibyte characters.

    Added new method `websocket-frame-text' to return the payload of a frame
    as utf-8 text.
    Added a test to make sure message masked aren't multibyte.
    Changed the text in the functional test to multibyte to help test
    against these kinds of issues.
    committed Oct 23, 2016
Commits on Jul 21, 2016
  1. Fixes for minor quoting problems in comments.

    This was original a commit (f10533854f4c7bb54247a11981191bf37b70cb36) by
    Paul Eggert to the whole elpa repository.
    committed Jul 21, 2016
Commits on May 11, 2016
  1. Made functional tests compile cleanly.

    Also mark all unused args as unread.
    Update copyright year.
    These changes were initially written by Stefan Monnier in the GNU elpa
    repository, and are ported here to keep the two repositories in parity.
    committed May 11, 2016
Commits on May 10, 2016
  1. Fix indentation.

    committed May 10, 2016
Commits on May 4, 2016
  1. Update version to 1.6.

    committed May 4, 2016
Commits on Feb 28, 2016
  1. Add note to windows users for functional tests.

    Specifically, Windows users need to have gnutls DLLs in the emacs
    bin directory in order for the functional tests to work.
    committed Feb 28, 2016
  2. Add test for fragmented headers.

    committed Feb 28, 2016
  3. Merge pull request #40 from ilysym/fragmented-header

    Correctly parse fragmented HTTP header
    committed Feb 28, 2016
Commits on Feb 27, 2016
  1. Merge pull request #44 from chwarr/websocket-server-host

    Allow websocket-server's listen host to be set
    committed Feb 27, 2016
Commits on Feb 25, 2016
  1. Have functional test use :host 'local

    * Both the Tornado server and the Emacs server now only listen on
      localhost. There shouldn't be anymore firewall prompts, unless there's
      a crazy strict firewall being used.
    chwarr committed Feb 24, 2016
  2. Add a way to specify websocket-server listen host

    This adds the `:host' keyword to `websocket-server', which lets the
    listen host be controlled. This is useful when you only want to listen
    on localhost, potentially avoiding things like firewall prompts.
    chwarr committed Feb 24, 2016
  3. Merge pull request #43 from chwarr/func-test-windows-sigstp

    Function test improvements for Windows: SIGSTP
    committed Feb 25, 2016
Commits on Feb 24, 2016
  1. Function test improvements for Windows: SIGSTP

    * Windows doesn't support the SIGSTP signal, so we just kill the Tornado
      process if we detect we're running on Windows.
    chwarr committed Feb 24, 2016
Commits on Jan 25, 2016
  1. Fix copyright and author info.

    This is a mirror of the changes to in the GNU elpa repository made by
    Stefan Monnier.
    committed Jan 25, 2016
Commits on Jan 16, 2016
  1. Add test for fragmented header

    ilysym committed Jan 16, 2016
  2. Fix parsing of HTTP status line

    ilysym committed Jan 15, 2016
Commits on Jan 15, 2016
Commits on Jan 12, 2016
  1. Merge pull request #39 from ancane/master

    Add markdown preview mode to list of clients.
    committed Jan 12, 2016
Commits on Jan 10, 2016
  1. add markdown preview mode

    ancane committed Jan 10, 2016
Commits on Jul 19, 2015
  1. Bump version to 1.5.

    committed Jul 19, 2015
Commits on Jun 27, 2015
  1. Add support for cookies handling for ws clients.

    The url-cookie package is used to both supply cookie headers, and to
    parse them from the server.
    committed Jun 27, 2015
Commits on Jun 22, 2015
  1. Add port number when non-default to Host header.

    This is optional accordingo the RFC, but seems to be necessary for
    connections to IPython.
    committed Jun 22, 2015
Commits on Mar 31, 2015
  1. Bump version to 1.4

    committed Mar 31, 2015
Commits on Mar 16, 2015
  1. Add supports for <32 bit emacs.

    Some emacs only have 29 bits (the minimal range).  If the emacs can’t
    compute 2^32 (the result seems to be 0 when this happens, according to
    my testing), then we’ll just use the whole val as the lower 32 bits of
    an 8 bit number to be transmitted.
    committed Mar 16, 2015
Commits on Dec 27, 2014
  1. Bring ping behavior in line with RFC

    The code previously did not allow ping and pong to have a payload.
    Now, it is optional.  Additionally, a received ping will pong back the
    payload received.
    committed Dec 27, 2014
Commits on Aug 24, 2014
Commits on Aug 15, 2014
  1. Bump version to 1.3.

    committed Aug 15, 2014
Commits on Aug 10, 2014
  1. Merge branch 'same-origin-fix'

    committed Aug 10, 2014
  2. Merge branch 'close-testing-fix'

    committed Aug 10, 2014
  3. Fix breaking test.

    The websocket-close test was failing. The test has been updated to fix
    the breakage, which was caused by assuming the wrong function would be
    called by the underyling code.
    committed Aug 10, 2014
  4. Fix misuse of same-origin policy

    Due to a misapplication of the websocket RFC, we were sending the
    system name as the origin, instead of the hostname.  It turns out that
    it should be fine not to even send the origin at all, since there's not
    a possibility of cross-origin issues with emacs.
    committed Aug 10, 2014
Commits on Jan 4, 2014
  1. Merge pull request #34 from legoscia/permit-non-numeric-port

    Permit non-numeric port number in websocket-server
    committed Jan 4, 2014
Commits on Dec 28, 2013
  1. Permit non-numeric port number in websocket-server

    This makes it possible to specify t for port, and let the system pick a
    free listening port.
    legoscia committed Dec 28, 2013
Commits on Dec 24, 2013
  1. * websocket.el: Remove use of buffers in connections. This simplifies

      the code somewhat, and we avoid any possible buffer leaks.
    committed Dec 24, 2013