1. 06 May, 2012 1 commit
  2. 24 Apr, 2012 1 commit
  3. 04 Dec, 2011 2 commits
  4. 08 Nov, 2011 1 commit
    • Helmut Eller's avatar
      Restore old header format. · 51482dab
      Helmut Eller authored
      * swank-rpc.lisp (parse-header, write-header)
      * slime.el (slime-net-decode-length, slime-net-encode-length)
      51482dab
  5. 06 Nov, 2011 1 commit
    • Helmut Eller's avatar
      New wire format. · d8166b0e
      Helmut Eller authored
      Switch from character streams to binary streams.  Counting
      characters was error prone because some Lisps use utf-16
      internally and so READ-SEQUENCE can't be used easily.
      
      The new format looks so:
      
        | byte0 | 3 bytes length |
        |    ... payload ...     |
      
      The playload is an s-exp encoded as UTF-8 string.  byte0 is
      currently always 0; other values are reserved for future use.
      
      * swank-rpc.lisp (write-message): Use new format.
      (write-header, parse-header, asciify, encoding-error): New.
      
      * swank.lisp (accept-connections): Create a binary stream.
      (input-available-p): Can't read-char-no-hang on binary streams.
      
      * slime.el (slime-net-connect): Use binary as coding system.
      (slime-net-send, slime-net-read, slime-net-decode-length)
      (slime-net-encode-length, slime-net-have-input-p): Use new format.
      (slime-unibyte-string, slime-handle-net-read-error): New.
      (featurep): Require 'un-define for XEmacs.
      ([test] break): Longer timeouts.
      
      * swank-sbcl.lisp (input-ready-p): Use sb-sys:wait-until-fd-usable.
      d8166b0e
  6. 09 Oct, 2010 1 commit
  7. 14 Apr, 2010 1 commit
    • Helmut Eller's avatar
      Move error handling and logging from swank-rpc.lisp to swank.lisp · 20011eb1
      Helmut Eller authored
      * swank.lisp (log-event, destructure-case, decode-message)
      (encode-message, decode-message, swank-protocol-error): Moved back
      to swank.lisp from swank-rpc.lisp.  It never belonged there
      anyway.
      
      * swank-rpc.lisp (read-message, write-message): New functions.
      (swank-reader-error): New condition.
      20011eb1
  8. 27 Jan, 2010 1 commit
  9. 20 Jan, 2010 1 commit
  10. 19 Jan, 2010 2 commits
  11. 18 Jan, 2010 1 commit