Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
* clean up: (signal (make-condition ...)) => (signal ...)
* swank.lisp, swank-rpc.lisp: iso-8859-1 is not same as latin-1-unix.
* Use #\; to separate the file options.
* swank.lisp: Minor cleanups. * swank-rpc.lisp:
* swank-rpc.lisp (read-chunk): Signal end-of-file we had no input.
Restore old header format. * swank-rpc.lisp (parse-header, write-header) * slime.el (slime-net-decode-length, slime-net-encode-length)
New wire format. 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.
Add CODEPOINT-LENGTH function to return the number of codepoints in a string. Needed to make sure that Emacs and Lisp agree on the length of a string. Emacs wants codepoints and some lisps give code units.
Move error handling and logging from swank-rpc.lisp to swank.lisp * 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.
* swank-rpc.lisp: NIL -> nil (for unusual readtable settings). Spotted by Harald Hanche-Olsen.
Eliminate swank-protocol-error.backtrace and call to safe-backtrace from swank-rpc.
* swank-rpc.lisp (:swank-rpc): (:use :cl), SBCL doesn't use it by default.
New swank-rpc package Use swank-rpc in swank package.
Refactorizing RPC layer into new module.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
|Powered by ViewVC 1.1.5|