/[slime]/slime/swank-rpc.lisp
ViewVC logotype

Log of /slime/swank-rpc.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.14 - (view) (annotate) - [select for diffs]
Sat Aug 4 23:48:19 2012 UTC (20 months, 1 week ago) by sboukarev
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +6 -6 lines
Diff to previous 1.13 , to selected 1.3
* clean up: (signal (make-condition ...)) => (signal ...)

Revision 1.13 - (view) (annotate) - [select for diffs]
Sun May 6 08:51:26 2012 UTC (23 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 , to selected 1.3
* swank.lisp, swank-rpc.lisp: iso-8859-1 is not same as latin-1-unix.

Revision 1.12 - (view) (annotate) - [select for diffs]
Tue Apr 24 11:12:14 2012 UTC (23 months, 3 weeks ago) by dcrosher
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 , to selected 1.3
* Use #\; to separate the file options.

Revision 1.11 - (view) (annotate) - [select for diffs]
Sun Dec 4 15:44:08 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.10: +0 -1 lines
Diff to previous 1.10 , to selected 1.3
* swank.lisp: Minor cleanups.
* swank-rpc.lisp:

Revision 1.10 - (view) (annotate) - [select for diffs]
Sun Dec 4 14:54:35 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.9: +7 -2 lines
Diff to previous 1.9 , to selected 1.3
* swank-rpc.lisp (read-chunk): Signal end-of-file we had no input.

Revision 1.9 - (view) (annotate) - [select for diffs]
Tue Nov 8 08:15:34 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.8: +16 -24 lines
Diff to previous 1.8 , to selected 1.3
Restore old header format.

* swank-rpc.lisp (parse-header, write-header)
* slime.el (slime-net-decode-length, slime-net-encode-length)

Revision 1.8 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:06:09 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.7: +57 -16 lines
Diff to previous 1.7 , to selected 1.3
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.

Revision 1.7 - (view) (annotate) - [select for diffs]
Sat Oct 9 23:02:33 2010 UTC (3 years, 6 months ago) by rtoy
Branch: MAIN
CVS Tags: FAIRLY-STABLE, SLIME-2-2, SLIME-2-3, byte-stream
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 , to selected 1.3
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.

Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Apr 14 17:51:30 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.5: +63 -211 lines
Diff to previous 1.5 , to selected 1.3
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.

Revision 1.5 - (view) (annotate) - [select for diffs]
Wed Jan 27 06:38:27 2010 UTC (4 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 , to selected 1.3
* swank-rpc.lisp: NIL -> nil (for unusual readtable settings).
Spotted by Harald Hanche-Olsen.

Revision 1.4 - (view) (annotate) - [select for diffs]
Wed Jan 20 18:32:28 2010 UTC (4 years, 2 months ago) by tnorderhaug
Branch: MAIN
Changes since 1.3: +2 -7 lines
Diff to previous 1.3
Eliminate swank-protocol-error.backtrace and call to safe-backtrace from swank-rpc.

Revision 1.3 - (view) (annotate) - [selected]
Tue Jan 19 20:13:58 2010 UTC (4 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2
* swank-rpc.lisp (:swank-rpc): (:use :cl), SBCL
doesn't use it by default.

Revision 1.2 - (view) (annotate) - [select for diffs]
Tue Jan 19 19:41:01 2010 UTC (4 years, 2 months ago) by tnorderhaug
Branch: MAIN
Changes since 1.1: +36 -3 lines
Diff to previous 1.1 , to selected 1.3
New swank-rpc package
Use swank-rpc in swank package.

Revision 1.1 - (view) (annotate) - [select for diffs]
Mon Jan 18 23:20:34 2010 UTC (4 years, 2 months ago) by tnorderhaug
Branch: MAIN
Diff to selected 1.3
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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5