Index: slime/ChangeLog
diff -u slime/ChangeLog:1.2222 slime/ChangeLog:1.2239
--- slime/ChangeLog:1.2222 Thu Nov 3 11:31:31 2011
+++ slime/ChangeLog Sun Nov 6 10:34:51 2011
@@ -1,3 +1,92 @@
+2011-11-06 Helmut Eller <heller(a)common-lisp.net>
+
+ * swank-ecl.lisp (accept-connection): Fix buffering arg.
+ * swank-cmucl.lisp (accept-connection): Fix buffering arg.
+
+2011-11-06 Helmut Eller <heller(a)common-lisp.net>
+
+ * slime.el (slime-run-test): Renamed from slime-run-one-test.
+ (slime-toggle-test-debug-on-error): New.
+ ([test] break): Longer timeouts.
+
+2011-11-06 Helmut Eller <heller(a)common-lisp.net>
+
+ Add portable versions for string-to-utf8 and utf8-to-string.
+
+ * swank-backend.lisp (default-string-to-utf8)
+ (default-utf8-to-string): New.
+ (string-to-utf8, utf8-to-string): Use default implementations.
+
+ * swank-lispworks.lisp (make-flexi-stream): Restored.
+ (utf8-stream): Deleted. The utf8 stuff is now used for the
+ default implementation of utf8-to-string and would cause name
+ clashes.
+
+2011-11-06 Helmut Eller <heller(a)common-lisp.net>
+
+ * swank-allegro.lisp (swank-compile-string): For reader errors
+ return nil not (values nil nil t).
+
+2011-11-06 Helmut Eller <heller(a)common-lisp.net>
+
+ 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.
+
+ * swank-sbcl.lisp (input-ready-p): Use sb-sys:wait-until-fd-usable.
+
+2011-11-06 Helmut Eller <heller(a)common-lisp.net>
+
+ * swank.lisp (close-connection): Fix thinko.
+
+2011-11-06 Helmut Eller <heller(a)common-lisp.net>
+
+ * swank-backend.lisp (accept-connection): Improve docstring. In
+ particular say that we want a binary stream if the EXTERNAL-FORMAT
+ argument is nil.
+
+ * swank-abcl.lisp (accept-connection): Make it so.
+ * swank-clisp.lisp (accept-connection): Make it so.
+ * swank-cmucl.lisp (accept-connection): Make it so.
+ * swank-lispworks.lisp (accept-connection): Make it so.
+ * swank-sbcl.lisp (accept-connection): Make it so.
+ * swank-scl.lisp (accept-connection): Make it so.
+
+2011-11-06 Helmut Eller <heller(a)common-lisp.net>
+
+ * swank-backend.lisp (utf8-to-string, string-to-utf8): New.
+
+ * swank-sbcl.lisp (string-to-utf8, string-to-utf8): Implemented .
+ * swank-lispworks.lisp (string-to-utf8, string-to-utf8): Implemented.
+ * swank-cmucl.lisp (string-to-utf8, string-to-utf8): Implemented.
+ * swank-clisp.lisp (string-to-utf8, string-to-utf8): Implemented.
+ * swank-ccl.lisp (string-to-utf8, string-to-utf8): Implemented.
+ * swank-allegro.lisp (string-to-utf8, string-to-utf8): Implemented.
+ * swank-abcl.lisp (string-to-utf8, string-to-utf8): Implemented.
+ (octets-to-jbytes, jbytes-to-octets): New helpers.
+
2011-11-03 Helmut Eller <heller(a)common-lisp.net>
* swank.lisp (close-connection): Be more careful with non-ascii.