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

Log of /slime/swank-cmucl.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Links to backhackattack-1: (view) (annotate)
Sticky Tag:

Revision 1.12.2.1 - (view) (annotate) - [select for diffs]
Mon Oct 27 04:04:56 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: backhackattack-1
Changes since 1.12: +89 -52 lines
Diff to previous 1.12 , to next main 1.245
(on bighackattack-1 branch)
Took a step towards refactoring the backends, working on just the
CMUCL one to begin with. The backend is now split into a separate
package, so that all necessary symbols are explicit.

Major major hackage, but the test suite passes for CMUCL.

Have not made any actual improvements yet - except for adding
asynchronous evaluation, which I should have committed before the
hackage that lead to the branch.

"Won't stay branched for long!"

Revision 1.12 - (view) (annotate) - [select for diffs]
Sat Oct 25 01:54:00 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
CVS Tags: BACKHACKATTACK-1, SLIME-0-6
Branch point for: backhackattack-1
Changes since 1.11: +9 -7 lines
Diff to previous 1.11
Changed the connection setup to use a dynamic collision-free TCP
port. The new protocol is this:

  Emacs calls (swank:start-server FILENAME) via the listener. FILENAME
  is /tmp/slime.${emacspid}

  Lisp starts a TCP server on a dynamic available port and writes the
  port number it gets to FILENAME.

  Emacs asynchronously polls for FILENAME's creation. When it exists,
  Emacs reads the port number, deletes the file, and makes the
  connection.

The advantage is that you can run multiple Emacsen each with an
inferior lisp, and the port numbers will never collide and Emacs
will always connect to the right lisp.

All backends are updated, but only CMUCL and SBCL are
tested. Therefore, OpenMCL is almost certainly broken just now.

Revision 1.11 - (view) (annotate) - [select for diffs]
Wed Oct 22 21:06:01 2003 UTC (10 years, 6 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-5
Changes since 1.10: +1 -12 lines
Diff to previous 1.10
(setup-request-handler): Create a character stream.
(read-next-form): Removed.

Revision 1.10 - (view) (annotate) - [select for diffs]
Mon Oct 20 15:09:10 2003 UTC (10 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.9: +3 -2 lines
Diff to previous 1.9
(clear-xref-info): Conditionalised xref:*who-is-called* and
xref:*who-macroexpands* with #+CMU19. This makes SLIME compatible with
CMUCL 18e, but also disables the `who-macroexpands' command in any
CMUCL version that doesn't have the "19A" feature.

Revision 1.9 - (view) (annotate) - [select for diffs]
Sun Oct 19 21:38:45 2003 UTC (10 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.8: +31 -4 lines
Diff to previous 1.8
First shoot at input redirection.
slime-input-stream: New structure.
*read-input-catch-tag*: New variable.
slime-input-stream/n-bin, take-input: New functions.
serve-request: Bind input streams.

Revision 1.8 - (view) (annotate) - [select for diffs]
Fri Oct 17 21:18:04 2003 UTC (10 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.7: +2 -121 lines
Diff to previous 1.7
Move more stuff to swank.lisp.

Revision 1.7 - (view) (annotate) - [select for diffs]
Fri Oct 17 19:09:14 2003 UTC (10 years, 6 months ago) by jbielman
Branch: MAIN
Changes since 1.6: +0 -6 lines
Diff to previous 1.6
Many fixes for the OpenMCL port:

   * swank.lisp (apropos-symbols): Change back to using the standard
   2-argument APROPOS-LIST and check symbols explicitly when
   EXTERNAL-ONLY is true.
   Move loading of sys-dependent backend code into 'swank-loader'.

   * swank-sbcl.lisp: Moved declarations of *PREVIOUS-COMPILER-CONDITION*
   into 'swank.lisp' to kill warnings about undefined variables.

   * swank-openmcl.lisp (handle-compiler-warning): Use source position
   instead of function name for warning locations.
   (swank-compile-string): Compile into a temporary file instead of
   using COMPILE so finding warning positions works when using C-c C-c.
   (compute-backtrace): Don't display frames without a function.
   (apropos-list-for-emacs): Implement APROPOS.
   (who-calls): Implement WHO-CALLS.
   (completions): Implement COMPLETIONS.
   Use NIL instead of zero so FRESH-LINE does the right thing.

   * slime.el (slime-maybe-compile-swank): Removed function---compile
   the backend using 'swank-loader.lisp' instead.
   (slime-backend): Changed default backend to 'slime-loader'.
   (slime-lisp-binary-extension): Deleted as this is no longer needed.

   * swank-loader.lisp: New file.

Revision 1.6 - (view) (annotate) - [select for diffs]
Thu Oct 16 21:03:37 2003 UTC (10 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
Fixed braino in previous change: call-trapping-compilation-notes was
left as a macro.

Revision 1.5 - (view) (annotate) - [select for diffs]
Thu Oct 16 20:05:21 2003 UTC (10 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.4: +5 -5 lines
Diff to previous 1.4
The macro `with-trapping-compiler-notes' is now defined in the
portable code, and expands to a call to the backend-defined
`call-trapping-compiler-notes' with the body wrapped in a lambda. This
is to avoid swank.lisp referring to macros in the backends -- it gets
compiled first so it thinks they're functions.

Revision 1.4 - (view) (annotate) - [select for diffs]
Thu Oct 16 11:10:48 2003 UTC (10 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.3: +30 -28 lines
Diff to previous 1.3
(read-next-form): Isn't quite portable. Redefine it here.
(read-symbol/package): Deleted. (Was not used.)
(function-source-location): Deal with struct-slot setters.

Revision 1.3 - (view) (annotate) - [select for diffs]
Wed Oct 15 22:48:30 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.2: +4 -113 lines
Diff to previous 1.2
Third portablizing iteration: more refactoring common bits

pprint-eval set-package *compiler-notes* clear-compiler-notes
*notes-database* clear-note-database features canonicalize-filename
compiler-notes-for-file compiler-notes-for-emacs measure-time-interval
call-with-compilation-hooks
list-all-package-names apropos-symbols print-output-to-string
print-description-to-string describe-symbol describe-function
apply-macro-expander swank-macroexpand-1 swank-macroexpand
disassemble-symbol

Revision 1.2 - (view) (annotate) - [select for diffs]
Wed Oct 15 22:02:49 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.1: +0 -114 lines
Diff to previous 1.1
Second iteration refactoring common bits:

server-port *swank-debug-p* start-server *emacs-io* *slime-output*
read-next-form read-form *redirect-output* read-from-emacs
send-to-emacs prin1-to-string-for-emacs defslimefun *buffer-package*
from-string to-string guess-package-from-string eval-string
interactive-eval defslimefun-unimplemented
*swank-io-package*

Revision 1.1 - (view) (annotate) - [select for diffs]
Wed Oct 15 21:24:33 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
First checkin on the way to rearranging the backends.  Rename
swank.lisp to swank-cmucl.lisp, then create new swank.lisp which loads
an appropriate backend according to *features*.

Next, identify common functions in the backends and move them into
swank.lisp

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