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

Log of /slime/swank-scl.lisp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1.42 - (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.41: +10 -12 lines
Diff to previous 1.41 , to selected 1.18
* clean up: (signal (make-condition ...)) => (signal ...)

Revision 1.41 - (view) (annotate) - [select for diffs]
Tue Apr 24 11:08:13 2012 UTC (23 months, 3 weeks ago) by dcrosher
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40 , to selected 1.18
* create-socket: correct variable name typo.

Revision 1.40 - (view) (annotate) - [select for diffs]
Sat Apr 7 10:23:39 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.39: +11 -6 lines
Diff to previous 1.39 , to selected 1.18
Even more long line breaking.

Revision 1.39 - (view) (annotate) - [select for diffs]
Sun Nov 27 21:47:15 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 , to selected 1.18
* swank.lisp (create-server): Add a :backlog argument.
(setup-server): Pass it along.

* swank-backend.lisp (create-socket): Backlog argument.
* swank-abcl.lisp: Implement it.
* swank-allegro.lisp:
* swank-ccl.lisp:
* swank-clisp.lisp:
* swank-cmucl.lisp:
* swank-corman.lisp:
* swank-ecl.lisp:
* swank-lispworks.lisp:
* swank-sbcl.lisp:
* swank-scl.lisp:

Revision 1.38 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:05:41 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.37: +22 -12 lines
Diff to previous 1.37 , to selected 1.18
* 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.

Revision 1.37 - (view) (annotate) - [select for diffs]
Thu May 6 06:18:32 2010 UTC (3 years, 11 months ago) by heller
Branch: MAIN
CVS Tags: FAIRLY-STABLE, SLIME-2-2, SLIME-2-3, byte-stream
Changes since 1.36: +0 -5 lines
Diff to previous 1.36 , to selected 1.18
Remove some non-standard file variables.

* swank-cmucl.lisp, swank-scl.lisp: Remove pbook vars.
* swank-clisp.lisp: Remove indentation settings. Slime does it
automatically.

Revision 1.36 - (view) (annotate) - [select for diffs]
Tue Mar 2 12:38:07 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 , to selected 1.18
* slime.el (slime-compile-and-load-file): Accept C-u arguments for
compilation policy the same way as slime-compile-defun.

* swank.lisp (compile-file-for-emacs): Take an additional policy argument.
* swank-backend.lisp (swank-compile-file): Ditto.

* swank-sbcl.lisp (compiler-policy, (setf compiler-policy)):
rename from get/set-compiler-policy.
(with-compiler-policy): New macro.
(swank-compile-file): Use with-compiler-policy.
(swank-compile-string): Ditto.

Revision 1.35 - (view) (annotate) - [select for diffs]
Mon Nov 2 09:20:34 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.34: +0 -3 lines
Diff to previous 1.34 , to selected 1.18
* swank.lisp (without-interrupts): Removed. No longer used.
* swank-backend.lisp (call-without-interrupts): Removed.
Update backends accoringly.

Revision 1.34 - (view) (annotate) - [select for diffs]
Mon Aug 10 19:30:22 2009 UTC (4 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.33: +6 -5 lines
Diff to previous 1.33 , to selected 1.18
Separate context info from compiler message text.

* swank-backend.lisp (compiler-condition): Add a new slot
:source-context.  Remove :short-message.
* swank-cmucl.lisp, swank-sbcl.lisp, swank-scl.lisp,
swank-openmcl.lisp, swank-ccl.lisp: Update callers.
* swank.lisp (make-compiler-note): Use source-context slot.
* slime.el (slime-note.source-context): New.
(slime-insert-compilation-log): Use it.
(slime-note.short-message): Deleted.

Revision 1.33 - (view) (annotate) - [select for diffs]
Sun Jun 21 07:22:56 2009 UTC (4 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32 , to selected 1.18
* swank-backend.lisp (frame-source-location): Renamed from
frame-source-location-for-emacs.  Update callers accordingly.

Revision 1.32 - (view) (annotate) - [select for diffs]
Sat Jan 10 12:25:16 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.31: +7 -3 lines
Diff to previous 1.31 , to selected 1.18
* swank-backend.lisp (swank-compile-file): Take output-file as
additional argument.  Update backends accordingly.

* swank.lisp (*fasl-directory*): New variable.
(fasl-pathname): New function.
(compile-file-for-emacs): Use it.

Revision 1.31 - (view) (annotate) - [select for diffs]
Thu Jan 8 10:33:44 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 , to selected 1.18
* swank-backend.lisp (swank-compile-string): Pass the
buffer-file-name to Lisp, not only the directory.
Update callers accordingly

Revision 1.30 - (view) (annotate) - [select for diffs]
Tue Dec 30 18:57:54 2008 UTC (5 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 , to selected 1.18
	As of now, `C-u C-c C-c' compiled a function with maximum debug
	settings (SBCL only.)

	Now, `M-- C-c C-c' will compile a function with maximum _speed_
	settings (still SBCL only) --- useful to elicit compiler notes.

	* slime.el (slime-compilation-debug-level): Renamed to
	`slime-compilation-policy'.
	(slime-normalize-optimization-level): Renamed to
	`slime-compute-policy'.

	* swank.lisp (compile-string-for-emacs): Takes a policy now.
	(compile-multiple-strings-for-emacs): Ditto.

	* swank-backend.lisp (swank-compile-string): Change :DEBUG key arg
	to :POLICY.

	* swank-scl.lisp, swank-openmcl.lisp, swank-lispworks.lisp
	* swank-ecl.lisp, swank-corman.lisp, swank-cmucl.lisp,
	* swank-clisp.lisp, swank-allegro.lisp, swank-sbcl.lisp:

	Changed accordingly.

Revision 1.29 - (view) (annotate) - [select for diffs]
Fri Oct 17 21:26:53 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.28: +3 -4 lines
Diff to previous 1.28 , to selected 1.18
* swank-backend.lisp (frame-restartable-p): New function.
(swank-frame): Deleted. Update implemenetations accordingly.
(print-frame): Renamed back from print-swank-frame.

* swank.lisp (backtrace): Don't clutter the backtrace with
'(:restartable :unknown).  For practical purposes :unknown is the
same as nil.

* slime.el (sldb-compute-frame-face): Only accept nil or t for
the :restartable prop.

Revision 1.28 - (view) (annotate) - [select for diffs]
Thu Oct 16 21:15:28 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.27: +6 -5 lines
Diff to previous 1.27 , to selected 1.18
* swank-backend.lisp (swank-compile-file): Return the same
values as COMPILE-FILE.  Update backends accordingly.

Revision 1.27 - (view) (annotate) - [select for diffs]
Sat Oct 4 19:13:41 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.26: +3 -0 lines
Diff to previous 1.26 , to selected 1.18
Some cleanups for compilation commands.

* slime.el ([defstruct] slime-compilation-result): Rename result
slot as successp.
(slime-make-compilation-finished-continuation): Deleted.
slime-eval-async preserves the current buffer and preserving the
window-configuration was always a questionable feature.
(slime-compilation-finished): Simplified.
(slime-show-note-counts): Also show the success/failure flag.
(slime-recompile-locations): Take a continuation as argument
rather than messing around with compilation-finished-hooks.
(slime-aggregate-compilation-results): New function.
(slime-xref-recompilation-cont): Renamed from
slime-make-xref-recompilation-cont.
(slime-compiler-results): Deleted.
(slime-goto-first-note-after-compilation): Replaced with hook
function slime-goto-first-note.
(slime-compilation-just-finished): Deleted.
(slime-to-lisp-filename-function): Use convert-standard-filename.
* swank.lisp ([defstruct] compilation-result): Renamed from
swank-compilation-result.
(measure-time-interval): Return seconds as float.
(collect-notes): Renamed from swank-compiler.  Return a single
compilation-result.
(compile-multiple-strings-for-emacs): Return a list of
compilation-results instead of a single result with merged notes.

* swank-backend.lisp (filename-to-pathname): Renamed from
parse-emacs-filename.  Updated callers.
(pathname-to-filename): New function.  Use it where appropriate.

* swank-scl.lisp (pathname-to-filename): Implement it in the
backend to get rid of the #+scl in swank.lisp.

* swank-cmucl.lisp (swank-compile-file, swank-compile-string):
Return t on success.

Revision 1.26 - (view) (annotate) - [select for diffs]
Tue Sep 23 04:57:51 2008 UTC (5 years, 6 months ago) by dcrosher
Branch: MAIN
Changes since 1.25: +101 -115 lines
Diff to previous 1.25 , to selected 1.18
* Update for the Scieneer CL 1.3.8 release.

Revision 1.25 - (view) (annotate) - [select for diffs]
Wed Sep 17 06:19:49 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.24: +9 -11 lines
Diff to previous 1.24 , to selected 1.18
Adjust positions in files with CRLF-style end-on-line markers.

* slime.el (slime-eol-conversion-fixup): New function.
(slime-goto-location-position): Use it.  Also add a new position
type :offset, so that we don't adjust offsets in strings that were
sent over the wire (which uses LF eol-convention).

* swank-abcl.lisp
* swank-allegro.lisp
* swank-clisp.lisp
* swank-cmucl.lisp
* swank-corman.lisp
* swank-ecl.lisp
* swank-lispworks.lisp
* swank-openmcl.lisp
* swank-sbcl.lisp
* swank-scl.lisp: Create :offset style positions where needed.

* swank-lispworks.lisp (skip-comments): New function.
(dspec-stream-position): Use it.

Revision 1.24 - (view) (annotate) - [select for diffs]
Fri Sep 12 12:27:38 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 , to selected 1.18
	New faces: `sldb-restartable-frame-line-face',
	           `sldb-non-restartable-frame-line-face'.

	The former is the face for frames that are surely restartable, the
	latter for frames that are surely not restartable. If
	restartability of a frame cannot be reliably determined, the face
	`sldb-frame-line-face' is used.

	At the moment, determination of frame restartability is supported
	by the SBCL backend only.

	* slime.el (sldb-frame.string): New.
	(sldb-frame.number): New.
	(sldb-frame.plist): New.
	(sldb-prune-initial-frames): Use them.
	(sldb-insert-frames): Ditto.
	(sldb-compute-frame-face): New.
	(sldb-insert-frame): Use `sldb-compute-frame-face' to insert
	frames with one of the faces described above.

	* swank.lisp (defslimefun backtrace): Changed return value; each
	frame is now accompanied with a PLIST which at the moment can
	contain :RESTARTABLE NIL/T/:UNKNOWN depending on whether the frame
	is restartable, or not.

	* swank-backend.lisp (defstruct swank-frame): New structure.
	(compute-backtrace): Is now supposed to return a list of SWANK-FRAMEs.
	(print-frame): Renamed to PRINT-SWANK-FRAME.

	* swank-sbcl.lisp, swank-cmucl.lisp, swank-lispworks.lisp,
	* swank-allegro.lisp, swank-scl.lisp, swank-openmcl.lisp,
	* swank-abcl.lisp, swank-clisp.lisp: Adapted to swank-backend changes.

Revision 1.23 - (view) (annotate) - [select for diffs]
Sun Aug 31 11:58:01 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.22: +8 -12 lines
Diff to previous 1.22 , to selected 1.18
* swank-backend.lisp (make-input-stream): Remove make-fn-streams.
Update callers accordingly.

Revision 1.22 - (view) (annotate) - [select for diffs]
Fri Aug 8 13:43:33 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.21: +0 -5 lines
Diff to previous 1.21 , to selected 1.18
Spawn the auto-flush thread in the front end.
This removes some copy&paste code in various backends.

* swank.lisp (auto-flush-loop): New function.
(open-streams): Use it.
* swank-backend.lisp (make-stream-interactive): Deleted.

Revision 1.21 - (view) (annotate) - [select for diffs]
Thu Aug 7 07:53:47 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.20: +16 -33 lines
Diff to previous 1.20 , to selected 1.18
* swank-allegro.lisp:(receive-if): Periodically check for interrupts.
* swank-cmucl.lisp, swank-scl.lisp: ditto.

Revision 1.20 - (view) (annotate) - [select for diffs]
Mon Aug 4 20:25:33 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.19: +14 -0 lines
Diff to previous 1.19 , to selected 1.18
* swank-scl.lisp (receive-if): Implemented.

Revision 1.19 - (view) (annotate) - [select for diffs]
Thu Apr 17 14:56:43 2008 UTC (6 years ago) by heller
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18
C-c C-c with prefix args now uses the maximal debug level.  (By Zach Beane.)
Only implemented for SBCL.

* slime.el (slime-compile-with-maximum-debug): New variable.
(slime-compile-defun, slime-compile-region): Use it.

* swank.lisp (compile-string-for-emacs): Accept new debug
argument. Update backend accordingly.

Revision 1.18 - (view) (annotate) - [selected]
Sun Feb 10 08:32:04 2008 UTC (6 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.17: +0 -5 lines
Diff to previous 1.17
Remove remaining traces of make-default-inspector.

* swank-scl.lisp (make-default-inspector, scl-inspector): Deleted.
* swank-lispworks.lisp (make-default-inspector)
(lispworks-inspector): Deleted.

Revision 1.17 - (view) (annotate) - [select for diffs]
Sat Feb 9 18:47:05 2008 UTC (6 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.16: +13 -20 lines
Diff to previous 1.16 , to selected 1.18
Drop the first return value of emacs-inspect.

* swank.lisp (emacs-inspect): Drop the first return value. It
wasn't used anymore.  Update all methods and callers.

Revision 1.16 - (view) (annotate) - [select for diffs]
Sat Feb 9 18:39:02 2008 UTC (6 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.15: +6 -6 lines
Diff to previous 1.15 , to selected 1.18
Inspector cleanups.

* swank.lisp (emacs-inspect): Renamed from inspect-for-emacs.
Changed all method-defs acordingly.
(common-seperated-spec, inspector-princ): Moved to
swank-fancy-inspector.lisp.
(inspector-content): Renamed from inspector-content-for-emacs.
(value-part): Renamed from value-part-for-emacs.
(action-part): Renamed from action-part-for-emacs.
(inspect-list): Renamed from inspect-for-emacs-list.
(inspect-list-aux): New.
(inspect-cons): Renamed from inspect-for-emacs-simple-cons.
(*inspect-length*): Deleted.
(inspect-list): Ignore max-length stuff.
(inspector-content): Don't allow nil elements.
(emacs-inspect array): Make the label of element type more
consistent with the others.

Revision 1.15 - (view) (annotate) - [select for diffs]
Mon Feb 4 17:35:03 2008 UTC (6 years, 2 months ago) by mbaringer
Branch: MAIN
Changes since 1.14: +6 -11 lines
Diff to previous 1.14 , to selected 1.18
Drop second argument from inspect-for-emacs

Revision 1.14 - (view) (annotate) - [select for diffs]
Sat Dec 22 13:24:49 2007 UTC (6 years, 3 months ago) by dcrosher
Branch: MAIN
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 , to selected 1.18
* Update for Scieneer CL 1.3.7.

Revision 1.13 - (view) (annotate) - [select for diffs]
Thu Aug 23 19:03:37 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.12: +7 -8 lines
Diff to previous 1.12 , to selected 1.18
Introduce backend-inspector class.

* swank-backend.lisp (backend-inspector): New class. Introduce a named
  class to give as another way to dispatch to backend methods.

* swank-cmucl.lisp: Use backend-inspector class.
* swank-sbcl.lisp: Use backend-inspector class.
* swank-clisp.lisp: Use backend-inspector class.
* swank-lispworks.lisp: Use backend-inspector class.
* swank-allegro.lisp: Use backend-inspector class.
* swank-openmcl.lisp: Use backend-inspector class.
* swank-abcl.lisp: Use backend-inspector class.
* swank-corman.lisp: Use backend-inspector class.
* swank-scl.lisp: Use backend-inspector class.

Revision 1.12 - (view) (annotate) - [select for diffs]
Sun Nov 19 21:33:03 2006 UTC (7 years, 4 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-2-1
Branch point for: contrib
Changes since 1.11: +23 -24 lines
Diff to previous 1.11 , to selected 1.18
(find-external-format, guess-external-format): New.
(swank-compile-file): The external-format argument is now a
backend specific value returned by find-external-format.

Update implementations accordingly.

Revision 1.11 - (view) (annotate) - [select for diffs]
Wed Sep 13 22:56:14 2006 UTC (7 years, 7 months ago) by dcrosher
Branch: MAIN
Changes since 1.10: +7 -9 lines
Diff to previous 1.10 , to selected 1.18
* Update for the SCL.

Revision 1.10 - (view) (annotate) - [select for diffs]
Thu Aug 10 11:53:35 2006 UTC (7 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.9: +16 -17 lines
Diff to previous 1.9 , to selected 1.18
swank-backend.lisp (definterface): Drop that incredibly unportable
CLOS stuff. Use plists and plain functions instead.  Update backends
accordingly.

Revision 1.9 - (view) (annotate) - [select for diffs]
Wed Aug 9 17:01:13 2006 UTC (7 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 , to selected 1.18
(inspect-for-emacs): Don't use defimplementation for real generics.

Revision 1.8 - (view) (annotate) - [select for diffs]
Sun Jun 11 11:02:08 2006 UTC (7 years, 10 months ago) by dcrosher
Branch: MAIN
Changes since 1.7: +5 -3 lines
Diff to previous 1.7 , to selected 1.18
Update for the Scieneer CL 1.3.

Revision 1.7 - (view) (annotate) - [select for diffs]
Thu Apr 13 04:26:31 2006 UTC (8 years ago) by dcrosher
Branch: MAIN
CVS Tags: SLIME-2-0
Changes since 1.6: +36 -54 lines
Diff to previous 1.6 , to selected 1.18
* Update the Scieneer CL backend.

Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Mar 22 16:40:01 2006 UTC (8 years ago) by dcrosher
Branch: MAIN
CVS Tags: SLIME-1-3
Branch point for: fsm
Changes since 1.5: +17 -4 lines
Diff to previous 1.5 , to selected 1.18
* Improve the robustness of connection establishment.

Revision 1.5 - (view) (annotate) - [select for diffs]
Sat Feb 25 17:46:13 2006 UTC (8 years, 1 month ago) by dcrosher
Branch: MAIN
Changes since 1.4: +3 -4 lines
Diff to previous 1.4 , to selected 1.18
o swank-scl.lisp: Fix slime input stream reading.

Revision 1.4 - (view) (annotate) - [select for diffs]
Sat Feb 25 12:10:33 2006 UTC (8 years, 1 month ago) by dcrosher
Branch: MAIN
Changes since 1.3: +42 -14 lines
Diff to previous 1.3 , to selected 1.18
* swank-backend.lisp (operate-on-system): symbol case fix for
  SCL's lowercase mode.

* swak.lisp (setup-stream-indirection)
  (globally-redirect-io-to-connection)
  (revert-global-io-redirection): symbol case fixes.

* swank-scl.lisp: (inspect-for-emacs):  Fixes for the inspect
  standard-objects, and inspect array.  Plus misc symbol case fixes.

Revision 1.3 - (view) (annotate) - [select for diffs]
Sun Nov 13 22:31:45 2005 UTC (8 years, 5 months ago) by dcrosher
Branch: MAIN
Changes since 1.2: +9 -6 lines
Diff to previous 1.2 , to selected 1.18
* swank-scl.lisp (accept-connection): handle the :buffering argument.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Nov 11 23:43:43 2005 UTC (8 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 , to selected 1.18
(accept-connection): New argument: buffering.

Revision 1.1 - (view) (annotate) - [select for diffs]
Fri Oct 14 18:02:23 2005 UTC (8 years, 6 months ago) by dcrosher
Branch: MAIN
Diff to selected 1.18
Scieneer Common Lisp code for SLIME.

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