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

Log of /slime/swank-backend.lisp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1.224 - (view) (annotate) - [select for diffs]
Sat Feb 2 10:11:16 2013 UTC (14 months, 1 week ago) by sboukarev
Branch: MAIN
CVS Tags: HEAD
Changes since 1.223: +5 -0 lines
Diff to previous 1.223 , to selected 1.126
* swank-backend.lisp (type-specifier-p): New.
Implement it for ACL, ECL, CCL, Clisp, SBCL, LW.

* contrib/swank-util.lisp (symbol-classification-string): Use
type-specifier-p.

Revision 1.223 - (view) (annotate) - [select for diffs]
Sat Jan 12 12:32:21 2013 UTC (15 months ago) by sboukarev
Branch: MAIN
Changes since 1.222: +2 -0 lines
Diff to previous 1.222 , to selected 1.126
* swank-backend.lisp: Add a couple of ignore declarations.

Revision 1.222 - (view) (annotate) - [select for diffs]
Mon Jan 7 10:12:09 2013 UTC (15 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.221: +3 -2 lines
Diff to previous 1.221 , to selected 1.126
* swank-ecl.lisp (describe-symbol-for-emacs): Include bound
symbols even those without documentation.

* slime.el (slime-print-apropos): Do some input validation to
detect bugs on the Lisp side.

* swank-backend.lisp (describe-symbol-for-emacs): Allow NIL where
:NOT-DOCUMENTED was needed.

Revision 1.221 - (view) (annotate) - [select for diffs]
Mon Dec 3 03:43:16 2012 UTC (16 months, 1 week ago) by sboukarev
Branch: MAIN
Changes since 1.220: +5 -0 lines
Diff to previous 1.220 , to selected 1.126
* swank-backend.lisp (deinit-log-output): Move from swank-sbcl,
use it on CCL in ccl:*save-exit-functions* as well.

Revision 1.220 - (view) (annotate) - [select for diffs]
Fri May 11 06:52:05 2012 UTC (23 months ago) by heller
Branch: MAIN
Changes since 1.219: +0 -6 lines
Diff to previous 1.219 , to selected 1.126
* swank-backend.lisp (call-with-io-timeout): Not used. Deleted.
* swank-sbcl.lisp (call-with-io-timeout): Deleted.

Revision 1.219 - (view) (annotate) - [select for diffs]
Sun May 6 15:40:04 2012 UTC (23 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.218: +6 -6 lines
Diff to previous 1.218 , to selected 1.126
* swank-backend.lisp (with-struct): Undo damage.
* swank-sbcl.lisp (with-definition-source): New macro.

Revision 1.218 - (view) (annotate) - [select for diffs]
Thu May 3 14:12:22 2012 UTC (23 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.217: +14 -12 lines
Diff to previous 1.217 , to selected 1.126
* swank-sbcl.lisp (definition-source-for-emacs): Prefer :file over
:buffer, because the buffer can be killed in the mean time and the
silly "No buffer named x.lisp" would be displayed.

Revision 1.217 - (view) (annotate) - [select for diffs]
Sat Apr 7 10:23:38 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.216: +8 -5 lines
Diff to previous 1.216 , to selected 1.126
Even more long line breaking.

Revision 1.216 - (view) (annotate) - [select for diffs]
Fri Jan 6 09:02:43 2012 UTC (2 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.215: +14 -1 lines
Diff to previous 1.215 , to selected 1.126
Add a "sentinel thread" to protect access to global lists.

* swank.lisp (start-sentinel, sentinel, send-to-sentinel)
(sentinel-serve, sentinel-stop-server, sentinel-maybe-exit): New.
(make-connection, close-connection, setup-server, stop-server):
Use the sentinel.
(close-connection%): Factored out.
* swank-backend.lisp (register-thread, find-registered): New.
* swank-allegro.lisp: Implement it.
* swank-ccl.lisp:
* swank-lispworks.lisp:
* swank-sbcl.lisp:

Revision 1.215 - (view) (annotate) - [select for diffs]
Sat Dec 10 12:34:09 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.214: +50 -40 lines
Diff to previous 1.214 , to selected 1.126
* swank.lisp (auto-flush-loop): Don't use call-with-io-timeout.
Removing it had no effect on the number of failed tests.  If you
want it back, first create a test case to demonstrate the problem.
* swank-backend.lisp: Mention that locks should only be used in
swank-gray.lisp.

Revision 1.214 - (view) (annotate) - [select for diffs]
Thu Dec 1 22:34:41 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.213: +0 -28 lines
Diff to previous 1.213 , to selected 1.126
* swank-sbcl.lisp (wait-for-input): Call poll(2).
* swank-backend.lisp (wait-for-streams, wait-for-one-stream):
Deleted. Wouldn't work on binary streams.

Revision 1.213 - (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.212: +3 -2 lines
Diff to previous 1.212 , to selected 1.126
* 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.212 - (view) (annotate) - [select for diffs]
Mon Nov 21 16:34:12 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.211: +6 -0 lines
Diff to previous 1.211 , to selected 1.126
* slime.el (sldb-eval-in-frame): Try to figure the package out.
Ask Lisp if the function for frame was defined in a particular
package and use it to read the form.
(sldb-read-form-for-frame): New helper.

* swank-backend (frame-package): New.
* swank-cmucl (frame-package): Implement it.

* swank.lisp (frame-package-name, eval-in-frame-aux): New.
(eval-string-in-frame, pprint-eval-string-in-frame): Use package
argument.

Revision 1.211 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:06:35 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.210: +158 -9 lines
Diff to previous 1.210 , to selected 1.126
Forgot this file in last commit.

Revision 1.210 - (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.209: +10 -9 lines
Diff to previous 1.209 , to selected 1.126
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.209 - (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.208: +4 -4 lines
Diff to previous 1.208 , to selected 1.126
* 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.208 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:05:27 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.207: +7 -1 lines
Diff to previous 1.207 , to selected 1.126
* swank-backend.lisp (accept-connection): Improve docstring.  In
particular say that we want a binary stream if the EXTERNAL-FORMAT
argument is nil.

Revision 1.207 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:03:59 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.206: +9 -0 lines
Diff to previous 1.206 , to selected 1.126
* swank-backend.lisp (utf8-to-string, string-to-utf8): New.

Revision 1.206 - (view) (annotate) - [select for diffs]
Tue Jun 14 15:34:18 2011 UTC (2 years, 10 months ago) by nsiivola
Branch: MAIN
CVS Tags: FAIRLY-STABLE, SLIME-2-3, byte-stream
Changes since 1.205: +7 -0 lines
Diff to previous 1.205 , to selected 1.126
sbcl: workaround for auto-flush thread deadlocks

 Occasionally auto-flush thread could deadlock with a thread doing
 compilation:

   T1: grabs world-lock
   T2: decides to flush, grabs stream lock
   T1: needs to do output (compiler note, etc), waits on the stream lock
   T2: needs the world-lock for a while (PCL dispatch machinery setup, etc)

   KABOOM.

 This is an SBCL issue, no mistake about it -- but sorting out
 the world-lock handling is going to take a while, and sticking
 a deadline around the FINISH-OUTPUT call avoids the issue.

Revision 1.205 - (view) (annotate) - [select for diffs]
Sun Nov 7 19:48:21 2010 UTC (3 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-2-2
Changes since 1.204: +8 -37 lines
Diff to previous 1.204 , to selected 1.126
* swank-backend.lisp (label-value-line): Remove display-nil-value.
And the other stuff too.
(label-value-line*): Idem.

Revision 1.204 - (view) (annotate) - [select for diffs]
Fri Oct 15 22:42:14 2010 UTC (3 years, 6 months ago) by alendvai
Branch: MAIN
Changes since 1.203: +37 -9 lines
Diff to previous 1.203 , to selected 1.126
Smarten up the label-value-line macros.

- support a :label emacs font property
- added key args: padding-length, display-nil-value, hide-when-nil, splice-as-ispec, value-text
- label-value-line* will evaluate and splice the result of the form after a @ character

Revision 1.203 - (view) (annotate) - [select for diffs]
Sat Oct 9 23:02:33 2010 UTC (3 years, 6 months ago) by rtoy
Branch: MAIN
Changes since 1.202: +9 -0 lines
Diff to previous 1.202 , to selected 1.126
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.202 - (view) (annotate) - [select for diffs]
Fri Oct 8 09:03:24 2010 UTC (3 years, 6 months ago) by crhodes
Branch: MAIN
Changes since 1.201: +1 -1 lines
Diff to previous 1.201 , to selected 1.126
add richer location information to the position arg in compile-string-for-emacs

R's source location recording infrastructure works with line/column offsets
rather than with character offsets, so to get the right srcrefs associated
with some string source we need to communicate line and column information
from the source buffer.  Unfortunately, only the emacs side can do that -- in
principle, the R side has no direct access to the source file at all.  This
means a protocol change, converting the position argument in
swank:compile-string-for-emacs to a list of <position>s in the slime
source location grammar.  At present, pass in both :position and :line
kinds, and have swank:compile-string-for-emacs extract just the :position for
passing on to swank-compile-string.

Revision 1.201 - (view) (annotate) - [select for diffs]
Sat Sep 18 09:34:05 2010 UTC (3 years, 6 months ago) by trittweiler
Branch: MAIN
Changes since 1.200: +12 -1 lines
Diff to previous 1.200 , to selected 1.126
	* swank-backend.lisp (valid-function-name-p): New interface.
	(compiler-macroexpand-1): Use it to guard against type errors
	from COMPILER-MACRO-FUNCTION.

	* swank-arglist.lisp (function-exists-p): Renamed from
	FUNCTION-EXISTS-P. Uses new SWANK-BACKEND:VALID-FUNCTION-NAME-P
	underneath.
	(valid-operator-name-p): Unused, hence deleted.
	(boundp-and-interesting): Renamed from INTERESTING-VARIABLE-P.

Revision 1.200 - (view) (annotate) - [select for diffs]
Sat Aug 21 06:39:59 2010 UTC (3 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.199: +5 -2 lines
Diff to previous 1.199 , to selected 1.126
Snapshot restore support for SBCL.

* swank-backend.lisp (background-save-image): New.
* swank-sbcl.lisp (command-line-args, dup, sys-execv, exec-image)
(make-fd-stream, background-save-image): New.

Add support to save snapshots in backround.

* swank-snapshot.lisp (background-save-snapshot): New.
(resurrect): Initialize repl streams.
* slime-snapshot.el (slime-snapshot): With prefix-arg perform
saving in background.  Also ask before overwriting existing files.

Revision 1.199 - (view) (annotate) - [select for diffs]
Thu Apr 22 05:47:35 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.198: +2 -1 lines
Diff to previous 1.198 , to selected 1.126
	* swank-backend.lisp (with-symbol): Test for package before doing
	find-symbol.
	* swank-sbcl.lisp(Multiprocessing): use with-symbol.
	(emacs-inspect t): Remove newlines from text returned by
	sb-impl::inspected-parts, otherwise there will be ".." inserted by
	the printer due to (*print-lines* 1).

Revision 1.198 - (view) (annotate) - [select for diffs]
Fri Mar 19 12:32:30 2010 UTC (4 years ago) by trittweiler
Branch: MAIN
Changes since 1.197: +8 -1 lines
Diff to previous 1.197 , to selected 1.126
	* slime.el (slime-lisp-implementation-program): New connection
	variable.
	(slime-set-connection-info): Adapted to set it.
	(slime-attach-gdb): Use it to invoke gdb so gdb is able to find
	debugging symbols on non-Linux platforms.

	* swank.lisp (connection-info): Include lisp-implementation-program.

	* swank-backend.lisp (lisp-implementation-program): New interface.
	Default implementation based on command-line-args.

	* swank-ecl.lisp (command-line-args): Implement.

Revision 1.197 - (view) (annotate) - [select for diffs]
Thu Mar 18 12:29:07 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.196: +5 -0 lines
Diff to previous 1.196 , to selected 1.126
	Add an ATTACH-GDB restart to SLDB.

	* swank.lisp (call-with-gdb-restart): New. Sends the new :gdb-attach event to Emacs.
	(with-gdb-restart): Sugar.
	(with-top-level-restart): Also expand to with-gdb-restart.
	(dispatch-event): Add :gdb-attach event.

	* swank-backend.lisp (gdb-initial-commands): New interface
	function so backends can customize how gdb needs to be configured
	for their implementation.

	* swank-ecl.lisp (gdb-initial-commands): Implement.

	* slime.el (slime-dispatch-event): Add clause for :gdb-attach.
	(slime-attach-gdb): New.

Revision 1.196 - (view) (annotate) - [select for diffs]
Tue Mar 2 12:38:06 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.195: +7 -2 lines
Diff to previous 1.195 , to selected 1.126
* 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.195 - (view) (annotate) - [select for diffs]
Tue Feb 23 22:57:25 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.194: +5 -0 lines
Diff to previous 1.194 , to selected 1.126
	* swank-backend.lisp (when-let): New macro. For backends and
	swank.lisp.

	* swank-ecl.lisp: Use it. Also use new location support of ECL git
	HEAD.

Revision 1.194 - (view) (annotate) - [select for diffs]
Mon Feb 22 21:38:46 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.193: +12 -0 lines
Diff to previous 1.193 , to selected 1.126
	* swank-backend.lisp (converting-errors-to-error-location): Moved
	here from swank-sbcl.lisp so other backends can make use of it, too.

	* swank-sbcl.lisp: The above macro was called slightly
	differently, so update uses accordingly.

Revision 1.193 - (view) (annotate) - [select for diffs]
Mon Feb 22 12:40:30 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.192: +11 -3 lines
Diff to previous 1.192 , to selected 1.126
	Make it possible for SWANK backends to specify locations based on
	a TAGS file.

	* slime.el (slime-postprocess-xref, slime-postprocess-xrefs): New
	functions. They convert TAGS based locations from SWANK into
	file+position based locations because the rest of Slime expects
	and works with those.
	(slime-find-definitions): Call slime-postprocess-xrefs.
	(slime-xref): Ditto.
	(slime-etags-to-locations): The function which does the actual
	conversion. Extracted from `slime-etags-definitions'.
	(slime-etags-definitions): Use it.

	* swank-backend (defimplementation): Add implicit BLOCK.
	(:etags-file, :tag): Mentioned for possible values in :LOCATION.

Revision 1.192 - (view) (annotate) - [select for diffs]
Wed Feb 17 17:04:46 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.191: +4 -0 lines
Diff to previous 1.191 , to selected 1.126
Add a command to eval stuff in the inspector.

* slime.el (slime-inspector-eval): New command.
(slime-inspector-mode-map): Bind it to 'e'.
* swank.lisp (inspector-eval): New function.
* swank-backend.lisp (eval-context): New function.
* swank-cmucl.lisp (eval-context): Implement it.

Revision 1.191 - (view) (annotate) - [select for diffs]
Wed Jan 6 14:13:48 2010 UTC (4 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.190: +6 -6 lines
Diff to previous 1.190 , to selected 1.126
	* swank-backend (declaration-arglist): Normalize declaration
	specifiers to contain `variables' rather than `vars'.

	* swank-arglists.lisp (arglist-dispatch ['declare]): Normalize
	`vars' to `variables'.
	(arglist-for-type-declaration): Ditto.

	* slime-autodoc (autodoc.1 [test]): Reorganize test, add comments,
	add cases to test declarations.

Revision 1.190 - (view) (annotate) - [select for diffs]
Tue Jan 5 09:00:39 2010 UTC (4 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.189: +2 -1 lines
Diff to previous 1.189 , to selected 1.126
Provide default implementation for all-threads.

* swank-backend.lisp (all-threads): Just return ().

Patch from Terje Norderhaug.

Revision 1.189 - (view) (annotate) - [select for diffs]
Sun Jan 3 15:58:29 2010 UTC (4 years, 3 months ago) by sboukarev
Branch: MAIN
Changes since 1.188: +3 -0 lines
Diff to previous 1.188 , to selected 1.126
* contrib/slime-repl.el (sldb-insert-frame-call-to-repl): New function
for inserting a call to a frame into the REPL. Bound to C-y in SLDB.

* swank-backend.lisp (frame-call): New function.
Returns a string representing a call to the entry point of a frame.
* swank-ccl.lisp (frame-call): Implementation of the above.
* swank-sbcl.lisp (frame-call): Ditto.

Revision 1.188 - (view) (annotate) - [select for diffs]
Tue Dec 22 09:31:15 2009 UTC (4 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.187: +22 -0 lines
Diff to previous 1.187 , to selected 1.126
Commands to save&restore image files without disconnecting.

* slime-snapshot.el: New file.
* swank-snapshot.lisp: New file.

Some new backend functions used for loading image files.

* swank-backend.lisp (socket-fd, make-fd-stream, dup, exec-image)
(command-line-args): New functions.
* swank-cmucl.lisp: Impemented.
* swank-cmucl.lisp (reset-sigio-handlers): New function.
(save-image): Fix quoting bug.

* swank.lisp (clear-event-history): New functoin.
(interactive-eval, eval-region): Don't use FRESH-LINE.

Revision 1.187 - (view) (annotate) - [select for diffs]
Sat Dec 19 14:56:06 2009 UTC (4 years, 3 months ago) by sboukarev
Branch: MAIN
Changes since 1.186: +1 -1 lines
Diff to previous 1.186 , to selected 1.126
* contrib/swank-asdf.lisp (asdf:operation-done-p): ASDF included with some
implementations doesn't have AROUND method combination, so guard
against its usage. This will prevent swank:reload-system from working,
but it will let load swank-asdf.
Reported by Mark Evenson.

* swank-backend.lisp (defpackage): export with-symbol and
replace its fully qualified usage everywhere.

Revision 1.186 - (view) (annotate) - [select for diffs]
Thu Dec 10 22:21:09 2009 UTC (4 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.185: +20 -4 lines
Diff to previous 1.185 , to selected 1.126
	* swank-backend.lisp (*debug-swank-backend*): New variable. If
	true, backends should not catch internal errors (e.g. during
	definition finding), and should not perform backtrace magic.
	(make-error-location): New helper.
	(find-definitions [interface]): Default to error location.

	* swank-sbcl.lisp (converting-errors-to-location): New helper
	macro. Regards new *DEBUG-SWANK-BACKEND*.
	(find-definitions [implementation]): Use it.
	(find-source-location [implementation]): Ditto.
	(functiond-spec): Ditto.
	(frame-source-location [implementation]): Ditto.
	(*debug-definition-finding*): Removed.
	(make-source-location-specification): Removed.
	(safe-function-source-location): Removed.
	(safe-source-location-for-emacs): Removed. Not needed anymore.

	(call-with-debugging-environment): Do not perform stack hinting
	depending on *DEBUG-SWANK-BACKEND*.

Revision 1.185 - (view) (annotate) - [select for diffs]
Sat Nov 21 21:32:28 2009 UTC (4 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.184: +3 -0 lines
Diff to previous 1.184 , to selected 1.126
	* swank-sbcl.lisp (who-specializes): Implement.
	Requires SBCL 1.0.32.

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

Revision 1.183 - (view) (annotate) - [select for diffs]
Sat Oct 31 08:54:46 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.182: +2 -13 lines
Diff to previous 1.182 , to selected 1.126
* swank.lisp (list-threads): Remove thread-description.  Wasn't
used anymore.
* swank-backend.lisp (thread-description, set-thread-description):
Deleted.
* swank-abcl.lisp: Update accordingly.
* slime.el (slime-update-threads-buffer, slime-thread-insert):
Update accordingly.

Revision 1.182 - (view) (annotate) - [select for diffs]
Sat Oct 31 08:22:56 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.181: +3 -1 lines
Diff to previous 1.181 , to selected 1.126
* swank-ccl.lisp (kill-thread): Don't signal conditions.
* swank-backend.lisp (kill-thread): Update docstring.

Revision 1.181 - (view) (annotate) - [select for diffs]
Sun Sep 20 09:39:16 2009 UTC (4 years, 6 months ago) by trittweiler
Branch: MAIN
Changes since 1.180: +22 -8 lines
Diff to previous 1.180 , to selected 1.126
	Generalize M-? (or M-_ respectively.)

	It will now list:

	  - call sites for functions,

	  - macroexpand sites for macros,

	  - binding, setting, referencing sites for variables,

	  - specializing methods for classes.

	* slime.el (slime-xref): Deal with :not-implemented.
	(slime-xrefs): New. Makes RPC request to XREFS.
	(slime-edit-callers): Renamed to `slime-edit-uses'.
	(slime-edit-uses): Use slime-xrefs.

	* swank-backend.lisp (who-*): Add default implementation which
	returns :not-implemented.

	* swank.lisp (xref-doit): Extracted from XREF.
	(xref): Pass over :not-implemented to Emacs side.
	(xrefs): New slime fun. To return results of multiple XREF
	requests at once.

Revision 1.180 - (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.179: +7 -4 lines
Diff to previous 1.179 , to selected 1.126
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.179 - (view) (annotate) - [select for diffs]
Sun Aug 2 12:57:23 2009 UTC (4 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.178: +2 -2 lines
Diff to previous 1.178 , to selected 1.126
	* swank-backend.lisp (severity [type]): Allow :redefinition.

	* swank-sbcl.lisp (signal-compiler-condition): Tag redefinitions.

	* slime.el (slime-maybe-show-compilation-log): Do not show
	compilation log if each note describes just a redefinition.
	(slime-insert-compilation-log): Insert notes indented by 2
	spaces. Insert some more newlines so the buffer appears more
	structured.
	(slime-show-note-counts): Add :redefinition to ecase.
	(slime-redefinition-note-p): New.
	(slime-severity-label): Was unused. Adapted to be usable.

Revision 1.178 - (view) (annotate) - [select for diffs]
Sat Jul 11 18:25:15 2009 UTC (4 years, 9 months ago) by mkoeppe
Branch: MAIN
Changes since 1.177: +1 -1 lines
Diff to previous 1.177 , to selected 1.126
(definterface): Fix typo in error message.

Revision 1.177 - (view) (annotate) - [select for diffs]
Sun Jun 28 19:15:08 2009 UTC (4 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.176: +5 -0 lines
Diff to previous 1.176 , to selected 1.126
Generalize list-threads for implementation-dependent attributes.

* swank-backend.lisp (thread-attributes): New function.
* swank-openmcl (thread-attributes): Implement it.
* swank.lisp (list-threads): Return a table with the attribute
names as the first row and the new attributes in the last columns.
* slime.el (slime-update-threads-buffer): For now, ignore the
extra attributes.

Revision 1.176 - (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.175: +1 -1 lines
Diff to previous 1.175 , to selected 1.126
* swank-backend.lisp (frame-source-location): Renamed from
frame-source-location-for-emacs.  Update callers accordingly.

Revision 1.175 - (view) (annotate) - [select for diffs]
Wed Apr 29 22:20:25 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.174: +2 -1 lines
Diff to previous 1.174 , to selected 1.126
	* swank-backend.lisp ([default] declaration-arglist): Add
	arglist of DECLARATION declaration.

	* swank-openmcl.lisp ([eql 'optimize] declaration-arglist):
	Implement it for CCL.
	(describe-symbol-for-emacs): Add :CLASS and :TYPE.
	(describe-definition): Add :TYPE.

	* swank-sbcl.lisp (describe-symbol-for-emacs): Add :CLASS.

	Adapted from patch by Stas Boukarev.

Revision 1.174 - (view) (annotate) - [select for diffs]
Thu Feb 26 19:57:35 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.173: +3 -2 lines
Diff to previous 1.173 , to selected 1.126
	* swank-backend.lisp (warn-unimplemented-interfaces):
	Bind *PRINT-PRETTY* to T. Otherwise no sugar formatting on CCL.

Revision 1.173 - (view) (annotate) - [select for diffs]
Sun Feb 22 14:18:47 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.172: +4 -0 lines
Diff to previous 1.172 , to selected 1.126
	`M-x slime-format-string-expand' displays the expansion of a
	format string.

	* slime.el (slime-string-at-point) New.
	(slime-string-at-point-or-error): New.
	(slime-format-string-expand): New; use them.

	* swank-backend.lisp (format-string-expand): New interface.
	* swank.lisp (swank-format-string-expand): New; use it.

Revision 1.172 - (view) (annotate) - [select for diffs]
Sat Feb 14 12:33:28 2009 UTC (5 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.171: +7 -6 lines
Diff to previous 1.171 , to selected 1.126
Don't signal conditions in the interrupt handler to
avoid problems with naive code like
 (handler-case foo (condition bar))

* swank-backend.lisp (*interrupt-queued-handler*): Use a dynamic
variable instead.
(slime-interrupt-queued): Deleted.
* swank-cmucl.lisp, swank.lisp: Ditto.

Revision 1.171 - (view) (annotate) - [select for diffs]
Tue Jan 27 14:56:14 2009 UTC (5 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.170: +6 -0 lines
Diff to previous 1.170 , to selected 1.126
	* swank-backend.lisp (with-symbol): New function, to be used with #+.

	* swank-sbcl.lisp: Use WITH-SYMBOL and get rid of SBCL-WITH-SYMBOL.

	* swank-openmcl.lisp (macroexpand-all): Implement it.

	Patch by Stas Boukarev.

Revision 1.170 - (view) (annotate) - [select for diffs]
Fri Jan 16 15:49:25 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.169: +2 -2 lines
Diff to previous 1.169 , to selected 1.126
* swank-backend.lisp (warn-unimplemented-interfaces): Print the
names with pprint-fill.

Revision 1.169 - (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.168: +3 -2 lines
Diff to previous 1.168 , to selected 1.126
* 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.168 - (view) (annotate) - [select for diffs]
Sat Jan 10 12:17:41 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.167: +8 -0 lines
Diff to previous 1.167 , to selected 1.126
* swank-backend.lisp (set-default-initial-binding): New function.
* swank.lisp (setup-stream-indirection):  Use it

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

Revision 1.166 - (view) (annotate) - [select for diffs]
Wed Dec 31 11:25:03 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.165: +15 -12 lines
Diff to previous 1.165 , to selected 1.126
* slime.el ([test] find-definition.2): Also fails for Lispworks.
([test] interrupt-at-toplevel, [test] interrupt-in-debugger): Those
don't work well if there's no REPL thread.

* swank-backend.lisp (wait-for-input, wait-for-one-stream): Don't
use PEEK-CHAR because we can't interrupt that cleanly.
* swank.lisp (simple-serve-requests): Run the REPL inside
WITH-CONNECTION.
* swank-lispworks.lisp (emacs-connected): Don't install the signal
handler here ...
(install-sigint-handler): ... use this instead

Revision 1.165 - (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.164: +2 -2 lines
Diff to previous 1.164 , to selected 1.126
	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.164 - (view) (annotate) - [select for diffs]
Wed Dec 24 07:56:20 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.163: +31 -19 lines
Diff to previous 1.163 , to selected 1.126
Create a repl also for *communication-style* = nil.
Use a custom stream which processes SLIME requests while waiting for
input.

* slime.el (slime-set-connection-info): Don't create a repl
buffer.
(slime-start-lisp): Bind process-connection-type to nil to avoid
problems witht CLISPs readline code.

* swank.lisp (read-non-blocking, make-repl-input-stream)
(simple-repl): New functions.
(simple-serve-requests): Use it.

* swank-backend.lisp (wait-for-one-stream, wait-for-streams): New
functions.
(wait-for-input): Use it to support wainting on multiple streams.

* swank-cmucl.lisp (to-fd-stream): New function.
(wait-for-input): Use it.

Revision 1.163 - (view) (annotate) - [select for diffs]
Sun Nov 2 12:05:13 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.162: +7 -0 lines
Diff to previous 1.162 , to selected 1.126
* swank-backend.lisp (slime-interrupt-queued): New condition.
* swank.lisp (invoke-or-queue-interrupt): Raise it here.
* swank-cmucl.lisp (wait-for-input): Make fd readable in condition
handler so that we can call serve-events without timeout.

Revision 1.162 - (view) (annotate) - [select for diffs]
Sun Oct 19 20:03:49 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.161: +2 -0 lines
Diff to previous 1.161 , to selected 1.126
More ignore decls.

Revision 1.161 - (view) (annotate) - [select for diffs]
Sun Oct 19 20:03:44 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.160: +1 -0 lines
Diff to previous 1.160 , to selected 1.126
(frame-restartable-p): Add ignore decl.

Revision 1.160 - (view) (annotate) - [select for diffs]
Sun Oct 19 20:03:39 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.159: +1 -0 lines
Diff to previous 1.159 , to selected 1.126
(frame-catch-tags): Add ignore decl.

Revision 1.159 - (view) (annotate) - [select for diffs]
Sun Oct 19 20:03:34 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.158: +2 -1 lines
Diff to previous 1.158 , to selected 1.126
* swank.lisp (frame-locals-and-catch-tags): New function.
Fetch locals and catch tags with a single RPC.

* slime.el (sldb-frame-details): Use it.

* swank-backend.lisp (frame-catch-tags): Provide a default
implementation.  Delete the dummy defs in various backends.

Revision 1.158 - (view) (annotate) - [select for diffs]
Fri Oct 17 21:27:16 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.157: +0 -7 lines
Diff to previous 1.157 , to selected 1.126
* swank-backend.lisp (compute-sane-restarts): Deleted. Use plain
compute restarts instead.

Revision 1.157 - (view) (annotate) - [select for diffs]
Fri Oct 17 21:26:53 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.156: +7 -9 lines
Diff to previous 1.156 , to selected 1.126
* 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.156 - (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.155: +7 -4 lines
Diff to previous 1.155 , to selected 1.126
* swank-backend.lisp (swank-compile-file): Return the same
values as COMPILE-FILE.  Update backends accordingly.

Revision 1.155 - (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.154: +17 -8 lines
Diff to previous 1.154 , to selected 1.126
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.154 - (view) (annotate) - [select for diffs]
Mon Sep 15 10:41:03 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.153: +5 -6 lines
Diff to previous 1.153 , to selected 1.126
* swank.lisp (sldb-loop): Send a :sldb-return event to ourselfes
to inform the debug session at the lower level.
(wait-for-event): Drop the report-interrupt argument.  No longer
needed.
(event-match-p): Add an OR pattern operator.  Used to wait for
different events simultaneously.

(read-packet): Use peek-char to detect EOF. read-sequence wouldn't
work.

* slime.el (slime-test-interrupt-in-debugger): Call sldb-quit and
sldb-continue in the right buffer.

* swank-backend.lisp (wait-for-input):
* swank-cmucl.lisp (wait-for-input):
* swank-clisp.lisp (wait-for-input): Use the idiom
"(when (check-slime-interrupts) (return :interrupt))".

Revision 1.153 - (view) (annotate) - [select for diffs]
Mon Sep 15 08:26:41 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.152: +11 -5 lines
Diff to previous 1.152 , to selected 1.126
More interrupt related frobbing.

Revision 1.152 - (view) (annotate) - [select for diffs]
Sun Sep 14 17:10:34 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.151: +31 -3 lines
Diff to previous 1.151 , to selected 1.126
Introduce a WAIT-FOR-INPUT backend function.
CMUCL's blocking input functions READ-CHAR etc.
are hard to use with interrupts.  In the backend
we have a more realistic chance to get interrupts working.

* swank-backend.lisp (wait-for-input): New function.

* swank-cmucl.lisp, swank-clisp.lisp (wait-for-input): Implement
it.

* swank.lisp (wait-for-event/event-loop): Use WAIT-FOR-INPUT and
rescan the event-queue if WAIT-FOR-INPUT was interrupted.
(reader-event): Deleted. Merged into wait-for-event/event-loop
resp.  dispatch-loop.
(decode-message): Drop the timeout argument.
(*events-enqueued*): A counter to quickly detect new events after
a wait.
(call-with-connection): If the argument is already the current
connection, don't rebind anything.
(without-slime-interrupts, with-slime-interrupts): Don't rebind
*pending-slime-interrupts*. Just to be save.

* slime.el (sldb-maybe-kill-buffer): New function, to handle
the case when the debugger was interrupted in WAIT-FOR-INPUT and
we want to return to the previous debug level.

Revision 1.151 - (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.150: +13 -9 lines
Diff to previous 1.150 , to selected 1.126
	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.150 - (view) (annotate) - [select for diffs]
Tue Sep 9 23:29:44 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.149: +3 -1 lines
Diff to previous 1.149 , to selected 1.126
	* swank-backend.lisp (*gray-stream-symbols*): Comment out
	STREAM-FILE-POSITION.

Revision 1.149 - (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.148: +0 -11 lines
Diff to previous 1.148 , to selected 1.126
* swank-backend.lisp (make-input-stream): Remove make-fn-streams.
Update callers accordingly.

Revision 1.148 - (view) (annotate) - [select for diffs]
Sat Aug 30 15:33:24 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.147: +3 -0 lines
Diff to previous 1.147 , to selected 1.126
* swank-backend.lisp (*gray-stream-symbols*): added symbols
stream-peek-char, stream-read-line, stream-file-position

Revision 1.147 - (view) (annotate) - [select for diffs]
Fri Aug 22 21:15:19 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.146: +8 -0 lines
Diff to previous 1.146 , to selected 1.126
Implement streams with a length limit.
Use them to truncate printer output in backtraces.

* swank-backend.lisp (make-output-stream, make-input-stream):
Split make-fn-streams up into two functions.

* swank.lisp (call/truncated-output-to-string): New function.
(backtrace, istate>elisp, to-line): Use it.
(frame-locals-for-emacs): Use to-line.

Revision 1.146 - (view) (annotate) - [select for diffs]
Fri Aug 22 14:28:41 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.145: +11 -6 lines
Diff to previous 1.145 , to selected 1.126
	Compiling a file `let*.lisp' on SBCL via C-c C-k resulted in an
	error, because it parsed the asterisk to a wild pathname. Fix
	that.

	* swank-backend.lisp (definterface parse-emacs-filename): New.
	PARSE-NAMESTRING by default.

	* swank-sbcl.lisp (defimplementation parse-emacs-filename): Use
	SB-EXT:PARSE-NATIVE-NAMESTRING.

	* swank.lisp (compile-file-for-emacs): Use PARSE-EMACS-FILENAME.
	(compile-file-if-needed): Ditto.
	(load-file): Ditto.
	(swank-require): Ditto.

Revision 1.145 - (view) (annotate) - [select for diffs]
Tue Aug 12 17:54:43 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.144: +9 -0 lines
Diff to previous 1.144 , to selected 1.126
Add a dump-image function to the loader.

* swank-loader.lisp (dump-image): New.

* swank-backend.lisp (save-image): New interface.

* swank-cmucl.lisp, swank-clisp.lisp, swank-sbcl.lisp
(save-image): Implemented.

Revision 1.144 - (view) (annotate) - [select for diffs]
Mon Aug 11 17:41:55 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.143: +11 -0 lines
Diff to previous 1.143 , to selected 1.126
Improve interrupt safety for single-threaded lisps.

* slime.el (slime-interrupt): Send a :emacs-interrupt message
together with SIGINT.  SIGINT now means "check for new events"
instead of "invoke the debugger".

* swank-backend.lisp (install-sigint-handler)
(call-with-user-break-handler): New functions.

* swank.lisp (simple-serve-requests,install-fd-handler): Use it.
(read-packet, read-char): New function. Check for interrupts.
(wait-for-event/event-loop): Check for interrupts.

Revision 1.143 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:37:01 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.142: +3 -3 lines
Diff to previous 1.142 , to selected 1.126
* swank.lisp (wait-for-event): Add timeout argument.  This is used
for :fd-handler and :sigio style where we only process events as
long we don't block.
(wait-for-event/event-loop, read-event)
(decode-message, receive-if): Ditto.
(process-events): Renamed from read-from-emacs.
(handle-requests): Renamed from handle-request. Take timeout
argument.  Update callers.
(process-available-input): Deleted.

Revision 1.142 - (view) (annotate) - [select for diffs]
Fri Aug 8 19:42:51 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.141: +4 -2 lines
Diff to previous 1.141 , to selected 1.126
Unify event dispatching for single and multi-threaded cases.

* swank.lisp (send-to-control-thread,read-from-control-thread)
(send-to-socket-io,read-from-socket-io): Deleted.
(send-event, read-event, send-to-emacs)
(signal-interrupt, use-threads-p): New functions.
And more random changes.

Revision 1.141 - (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.140: +0 -9 lines
Diff to previous 1.140 , to selected 1.126
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.140 - (view) (annotate) - [select for diffs]
Wed Aug 6 19:51:29 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.139: +13 -0 lines
Diff to previous 1.139 , to selected 1.126
Queue interrupts in various places.

* swank-backend.lisp (*pending-slime-interrupts*): New variable.
(check-slime-interrupts): New function.

* swank-lispworks.lisp (receive-if): Use it.

* swank-sbcl.lisp, swank-openmcl.lisp: Ditto.

* swank.lisp (*slime-interrupts-enabled*): New variable.
(with-slime-interrupts, without-slime-interrupts): New macros.
(invoke-or-queue-interrupt): New function.
(interrupt-worker-thread, eval-for-emacs, swank-debugger-hook)
(debug-nth-thread, wait-for-event, read-from-emacs): Use them.

Revision 1.139 - (view) (annotate) - [select for diffs]
Tue Aug 5 17:38:49 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.138: +2 -1 lines
Diff to previous 1.138 , to selected 1.126
* swank-backend.lisp (thread-id): Add a default implementation which
works with the default implementation of current-thread.

Revision 1.138 - (view) (annotate) - [select for diffs]
Tue Aug 5 17:38:44 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.137: +2 -19 lines
Diff to previous 1.137 , to selected 1.126
Drop distinction between "recursive" and non-recursive locks.

* swank-backend.lisp (make-recursive-lock)
(call-with-recursive-lock-held): Deleted.  Make the default locks
"recursive" instead.

Revision 1.137 - (view) (annotate) - [select for diffs]
Tue Aug 5 17:38:39 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.136: +1 -0 lines
Diff to previous 1.136 , to selected 1.126
* swank-gray.lisp (stream-write-string): New method.
* swank-backend.lisp (*gray-stream-symbols*): Include write-string.

Revision 1.136 - (view) (annotate) - [select for diffs]
Sun Aug 3 18:23:10 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.135: +4 -0 lines
Diff to previous 1.135 , to selected 1.126
Add some flow-control.

* swank.lisp (make-output-function): Synchronize with Emacs on
every 100th chunk of output.
(wait-for-event,wait-for-event/event-loop,event-match-p): New
functions.  Used to selectively wait for some events and to queue
the other events.
(dispatch-event, read-from-socket-io): Tag non-queueable events
with :call.
(read-from-control-thread, read-from-emacs): Process
:call events only; enqueue the others.

(*log-output*): Don't use synonym-streams here.  Dereference the
symbol until we get at the real stream.
(log-event): Escape non-ascii characters more carefully.

* swank-backend.lisp (receive-if): New function.
Update backends accordingly. (not yet for ABCL and SCL)

* slime.el (slime-dispatch-event): Handle ping event.

Revision 1.135 - (view) (annotate) - [select for diffs]
Sat Jul 26 23:05:59 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.134: +7 -3 lines
Diff to previous 1.134 , to selected 1.126
* swank.lisp (swank-compiler): Fix bug when invoking an abort
restart on a failed compilation attempt.

* swank-sbcl.lisp (swank-compile-string): If a compilation attempt
fails, COMPILE-FILE returns NIL which we tried to LOAD. Fix that.

* swank-backend.lisp (swank-compile-string, swank-compile-file):
Document return value.

Revision 1.134 - (view) (annotate) - [select for diffs]
Thu Jul 17 22:19:12 2008 UTC (5 years, 9 months ago) by trittweiler
Branch: MAIN
Changes since 1.133: +3 -2 lines
Diff to previous 1.133 , to selected 1.126
	An explicit numeric value as prefix-arg given to `C-c C-c' will
	now represent the debug level the defun is compiled with;
	`C-u C-c C-c' defaults to maximum debug like before. (Now also
	works for recompilation commands in xref buffers.)

	* slime.el (slime-compilation-debug-level): Renamed from
	`slime-compile-with-maximum-debug'.
	(slime-normalize-optimization-level): New.
	(slime-compile-defun): Adapted accordingly.
	(slime-compile-region): Ditto.
	(slime-recompile-location): Added setting of debug-level.
	(slime-recompile-locations): Ditto.
	(slime-recompile-xref): Now takes debug-level prefix-arg.
	(slime-recompile-all-xrefs): Ditto.

	* swank-sbcl.lisp (defimplementation swank-compile-string):
	Adapted accordingly.

Revision 1.133 - (view) (annotate) - [select for diffs]
Sat Jul 5 11:48:12 2008 UTC (5 years, 9 months ago) by trittweiler
Branch: MAIN
Changes since 1.132: +10 -0 lines
Diff to previous 1.132 , to selected 1.126
	`M-x slime-lisp-threads' will now contain a summary of what's
	currently executed in a thread that was created by Swank.

	* swank-backend.lisp (thread-description, set-thread-description):
	New interface functions to associate strings with threads.
	* swank-sbcl.lisp (thread-description, set-thread-description):
	Implemented.

	* swank.lisp (call-with-thread-description),
	(with-thread-description): New.
	(read-from-emacs): Now temporarily sets the thread-description of
	the current thread to a summary of what's going to be executed by
	the current request.
	(defslimefun list-threads): Changed return value to also contain
	a thread's description.

	* slime.el (slime-list-threads, slime-thread-insert): Adapted to
	new return value of LIST-THREADS.

Revision 1.132 - (view) (annotate) - [select for diffs]
Thu Apr 24 18:51:03 2008 UTC (5 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.131: +35 -26 lines
Diff to previous 1.131 , to selected 1.126
* swank-backend.lisp: Clarified docstrings of interface functions
  in the Debugging section.

Revision 1.131 - (view) (annotate) - [select for diffs]
Thu Apr 17 14:56:43 2008 UTC (6 years ago) by heller
Branch: MAIN
Changes since 1.130: +6 -2 lines
Diff to previous 1.130 , to selected 1.126
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.130 - (view) (annotate) - [select for diffs]
Thu Feb 28 19:44:29 2008 UTC (6 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.129: +14 -0 lines
Diff to previous 1.129 , to selected 1.126
* swank.lisp (find-definition-for-thing): New DEFSLIMEFUN.

* swank-backend (find-source-location): New DEFINTERFACE.

* swank-sbcl (find-source-location): Implement it.

* slime.el (slime-edit-definition-cont): Use `slime-length='.

Revision 1.129 - (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.128: +3 -8 lines
Diff to previous 1.128 , to selected 1.126
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.128 - (view) (annotate) - [select for diffs]
Sat Feb 9 18:38:58 2008 UTC (6 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.127: +3 -7 lines
Diff to previous 1.127 , to selected 1.126
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.127 - (view) (annotate) - [select for diffs]
Mon Feb 4 17:35:04 2008 UTC (6 years, 2 months ago) by mbaringer
Branch: MAIN
Changes since 1.126: +2 -19 lines
Diff to previous 1.126
Drop second argument from inspect-for-emacs

Revision 1.126 - (view) (annotate) - [selected]
Mon Sep 10 15:39:05 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.125: +3 -11 lines
Diff to previous 1.125
Move SBCL doc references to contrib.

* slime.el (sldb-insert-condition): Merge REFERENCES and EXTRAS.
(sldb-extras-hooks, sldb-dispatch-extras): New hook.

* swank.lisp (debugger-condition-for-emacs): Merge REFERENCES and EXTRAS.

* swank-backend.lisp (condition-references): Removed. Merged with
condition-extras.

* swank-sbcl.lisp (condition-references): Removed.
(condition-extras): Include references.
(externalize-reference): New function.  Don't return plain
symbols.

* swank-allegro.lisp (condition-references): Removed.

* contrib/slime-references.el: New file.

Revision 1.125 - (view) (annotate) - [select for diffs]
Sat Sep 8 21:37:21 2007 UTC (6 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.124: +9 -5 lines
Diff to previous 1.124 , to selected 1.126
* swank-backend.lisp (definterface): Updated docstring.

Revision 1.124 - (view) (annotate) - [select for diffs]
Tue Sep 4 10:32:05 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.123: +1 -14 lines
Diff to previous 1.123 , to selected 1.126
Move asdf support to contrib.

* swank-backend.lisp (operate-on-system): Moved to
swank-asdf.lisp. It wasn't specialized in any backend.

* swank.lisp (operate-on-system-for-emacs)
(list-all-systems-known-to-asdf, list-asdf-systems): Moved to
swank-asdf.lisp.

* slime.el: Move asdf commands to contrib slime-adsf.el.

* swank-loader.lisp: Load swank-asdf if ASDF is in
*FEATURES*. Also add the contrib source directory to
swank::*load-path*.

Revision 1.123 - (view) (annotate) - [select for diffs]
Tue Sep 4 09:49:09 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.122: +2 -18 lines
Diff to previous 1.122 , to selected 1.126
Remove request-abort condition.

* swank-backend.lisp (request-abort): Removed
(abort-request): Removed.  Replace all (3) uses with ERROR.
* swank.lisp (eval-for-emacs): No special case for request-abort.
* slime.el (slime-eval-async): Remove optional arg of :abort.

Revision 1.122 - (view) (annotate) - [select for diffs]
Thu Aug 23 19:32:56 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.121: +1 -0 lines
Diff to previous 1.121 , to selected 1.126
swank.lisp: (backend-inspector): Export the symbol.

Revision 1.121 - (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.120: +3 -1 lines
Diff to previous 1.120 , to selected 1.126
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.120 - (view) (annotate) - [select for diffs]
Thu Aug 23 16:20:22 2007 UTC (6 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.119: +82 -2 lines
Diff to previous 1.119 , to selected 1.126
	Added arglist display for declaration specifiers and type
	specifiers.

	Examples:

	`(declare (type' will display

	   (declare (type type-specifier &rest vars))

	`(declare (type (float' will display

	   [Typespec] (float &optional lower-limit upper-limit)

	`(declare (optimize' will display

	   (declare (optimize &any (safety 1) (space 1) (speed 1) ...))

	&ANY is a new lambda keyword that is introduced for arglist
	description purpose, and is very similiar to &KEY, but isn't based
	upon plists; they're more based upon *FEATURES* lists. (See the
	comment near the ARGLIST defstruct in `swank.lisp'.)

	* slime.el:
	(slime-to-feature-keyword): Renamed to `slime-keywordify'.
	(slime-eval-feature-conditional): Adapted to use `slime-keywordify'.
	(slime-ensure-list): New utility.
	(slime-sexp-at-point): Now takes an argument that specify how many
	sexps at point should be returned.
	(slime-enclosing-operator-names): Renamed to
	`slime-enclosing-form-specs'.
	(slime-enclosing-form-specs): Returns a list of ``raw form specs''
	instead of what was called ``extended operator names'' before, see
	`swank::parse-form-spec' for more information. This is a
	simplified superset. Additionally as tertiary return value return
	a list of points to let the caller see where each form spec is
	located. Adapted callers accordingly. Extended docstring.
	(slime-parse-extended-operator-name): Adapted to changes in
	`slime-enclosing-form-specs'. Now gets more context, and is such
	more powerful. This was needed to allow parsing DECLARE forms.
	(slime-make-extended-operator-parser/look-ahead): Because the
	protocol for arglist display was simplified, it was possible to
	replace the plethora of parsing function just by this one.
	(slime-extended-operator-name-parser-alist): Use it. Also add
	parser for DECLARE forms.
	(slime-parse-extended-operator/declare): Responsible for parsing
	DECLARE forms.
	(%slime-in-mid-of-typespec-p): Helper function for
	`slime-parse-extended-operator/declare'.
	(slime-incomplete-form-at-point): New. Return the ``raw form
	spec'' near point.
	(slime-complete-form): Use `slime-incomplete-form-at-point'.

	* swank.lisp: New Helper functions.
	(length=, ensure-list, recursively-empty-p): New.
	(maybecall, exactly-one-p): New.

	* swank.lisp (arglist-for-echo-area): Adapted to take ``raw form
	specs'' from Slime.
	(parse-form-spec): New. Takes a ``raw form spec'' and returns a
	``form spec'' for further processing in Swank. Docstring documents
	these two terms.
	(split-form-spec): New. Return relevant information from a form	spec.
	(parse-first-valid-form-spec): Replaces `find-valid-operator-name'.
	(find-valid-operator-name): Removed.
	(operator-designator-to-form): Removed. Obsoleted by `parse-form-spec'.

	(defstruct arglist): Add `any-p' and `any-args' slots to contain
	arguments belonging to the &ANY lambda keyword.
	(print-arglist): Adapted to also print &ANY args.
	(print-decoded-arglist-as-template): Likewise.
	(decode-arglist): Adapted to also decode &ANY args.
	(remove-actual-args): Adapted to also remove &ANY args.
	(remove-&key-args): Split out from `remove-actual-args'.
	(remove-&any-args): New. Removes already provided &ANY args.
	(arglist-from-form-spec): New. Added detailed docstring.
	(arglist-dispatch): Dispatching generic function for
	`arglist-from-form-spec' that does all the work. Renamed from
	prior `form-completion'.
	(arglist-dispatch) Added methods for dealing with declaration and
	type-specifiers.
	(complete-form): Adapted to take ``raw form specs'' from Slime.
	(completions-for-keyword): Likewise.
	(format-arglist-for-echo-area): Removed. Not needed anymore.

	* swank-backend.lisp (declaration-arglist): New generic
	function. Returns the arglist for a given declaration
	identifier. (Backends are supposed to specialize it if they can
	provide additional information.)
	(type-specifier-arglist): New generic function. Returns the
	arglist for a given type-specifier operator. (Backends are
	supposed to specialize it if they can provide additional
	information.)
	(*type-specifier-arglists*): New variable. Contains the arglists
	for the type specifiers in Common Lisp.

	* swank-sbcl.lisp: Now depends upon sb-cltl2.
	(declaration-arglist 'optimize): Specialize the `optimize'
	declaration identifier to pass it to
	sb-cltl2:declaration-information.

Revision 1.119 - (view) (annotate) - [select for diffs]
Thu Aug 23 13:56:22 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.118: +0 -15 lines
Diff to previous 1.118 , to selected 1.126
Some inspector cleanups.

Revision 1.118 - (view) (annotate) - [select for diffs]
Thu Apr 19 16:36:12 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
CVS Tags: SLIME-2-1
Branch point for: contrib
Changes since 1.117: +5 -3 lines
Diff to previous 1.117 , to selected 1.126
(label-value-line): Add :newline as &key
argument; if true (the default) inserts a newline.

Revision 1.117 - (view) (annotate) - [select for diffs]
Sun Apr 8 22:56:08 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.116: +4 -2 lines
Diff to previous 1.116 , to selected 1.126
(inspect-for-emacs): Docstring update.

Revision 1.116 - (view) (annotate) - [select for diffs]
Sun Apr 8 14:02:37 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.115: +7 -0 lines
Diff to previous 1.115 , to selected 1.126
*** empty log message ***

Revision 1.115 - (view) (annotate) - [select for diffs]
Sun Apr 8 11:21:45 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.114: +1 -0 lines
Diff to previous 1.114 , to selected 1.126
*** empty log message ***

Revision 1.114 - (view) (annotate) - [select for diffs]
Sun Feb 25 18:19:55 2007 UTC (7 years, 1 month ago) by mbaringer
Branch: MAIN
Changes since 1.113: +0 -3 lines
Diff to previous 1.113 , to selected 1.126
(inspect-for-emacs): Remove reference to inexistent argument from
docstring.

Revision 1.113 - (view) (annotate) - [select for diffs]
Tue Dec 19 10:47:36 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.112: +5 -0 lines
Diff to previous 1.112 , to selected 1.126
Added hash-table-weakness and use it in hash-table-inspecting

Revision 1.112 - (view) (annotate) - [select for diffs]
Tue Dec 12 15:40:23 2006 UTC (7 years, 4 months ago) by nsiivola
Branch: MAIN
Changes since 1.111: +15 -0 lines
Diff to previous 1.111 , to selected 1.126
Implement INSPECT-IN-EMACS, tweak inspection of integers.

Revision 1.111 - (view) (annotate) - [select for diffs]
Mon Dec 11 12:51:59 2006 UTC (7 years, 4 months ago) by alendvai
Branch: MAIN
Changes since 1.110: +1 -0 lines
Diff to previous 1.110 , to selected 1.126
Added inspect-slot-for-emacs to let users customize it.

Use all-slots-for-inspector everywhere, render link to both the effective and direct slots when both are available.
Dropped slot-value-using-class-for-inspector and friends.
Added slot-makunbound-using-class to the swank-mop package and added a [make-unbound] action to the standard slot presentation.

Revision 1.110 - (view) (annotate) - [select for diffs]
Tue Dec 5 12:57:57 2006 UTC (7 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.109: +16 -15 lines
Diff to previous 1.109 , to selected 1.126
(guess-external-format): Return nil if the file can't be opened.
Previusly we wrongly read from stdin.

Revision 1.109 - (view) (annotate) - [select for diffs]
Sun Nov 19 21:33:03 2006 UTC (7 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.108: +46 -2 lines
Diff to previous 1.108 , to selected 1.126
(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.108 - (view) (annotate) - [select for diffs]
Sat Oct 28 17:41:41 2006 UTC (7 years, 5 months ago) by mkoeppe
Branch: MAIN
Changes since 1.107: +12 -0 lines
Diff to previous 1.107 , to selected 1.126
(character-completion-set): New interface.

Revision 1.107 - (view) (annotate) - [select for diffs]
Fri Oct 20 17:07:55 2006 UTC (7 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.106: +3 -8 lines
Diff to previous 1.106 , to selected 1.126
(startup-idle-and-top-level-loops): Deleted. Merged into
initialize-multiprocessing.

Revision 1.106 - (view) (annotate) - [select for diffs]
Fri Oct 20 00:15:01 2006 UTC (7 years, 5 months ago) by mbaringer
Branch: MAIN
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 , to selected 1.126
(initialize-multiprocessing): New API to support lisps where
initialize-multiprocessing may not return (lispworks).

Revision 1.105 - (view) (annotate) - [select for diffs]
Thu Oct 19 12:29:32 2006 UTC (7 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.104: +0 -6 lines
Diff to previous 1.104 , to selected 1.126
(ignored-xref-function-names): Deleted.

Revision 1.104 - (view) (annotate) - [select for diffs]
Sun Sep 24 21:52:55 2006 UTC (7 years, 6 months ago) by jsnellman
Branch: MAIN
Changes since 1.103: +6 -0 lines
Diff to previous 1.103 , to selected 1.126
fix SBCL 0.9.17

Revision 1.103 - (view) (annotate) - [select for diffs]
Mon Sep 18 21:56:13 2006 UTC (7 years, 6 months ago) by jsnellman
Branch: MAIN
Changes since 1.102: +15 -0 lines
Diff to previous 1.102 , to selected 1.126
sbcl single-stepper

Revision 1.102 - (view) (annotate) - [select for diffs]
Mon Sep 18 21:27:04 2006 UTC (7 years, 6 months ago) by mbaringer
Branch: MAIN
Changes since 1.101: +18 -2 lines
Diff to previous 1.101 , to selected 1.126
(request-abort): New condition.
(abort-request): Convenience function for signaling request-abort
conditions.
(operate-on-system): Use abort-request instead of error
(:swank-backend): Export the symbols abort-request and request-abort.

Revision 1.101 - (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.100: +38 -15 lines
Diff to previous 1.100 , to selected 1.126
swank-backend.lisp (definterface): Drop that incredibly unportable
CLOS stuff. Use plists and plain functions instead.  Update backends
accordingly.

Revision 1.100 - (view) (annotate) - [select for diffs]
Wed Aug 9 17:08:01 2006 UTC (7 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.99: +4 -3 lines
Diff to previous 1.99 , to selected 1.126
Some fixes to make it actually work.

Revision 1.99 - (view) (annotate) - [select for diffs]
Wed Aug 9 16:34:15 2006 UTC (7 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.98: +12 -8 lines
Diff to previous 1.98 , to selected 1.126
(definterface): Bring the old implementation based on
NO-APPLICABLE-METHOD back.

Revision 1.98 - (view) (annotate) - [select for diffs]
Wed Apr 12 08:43:55 2006 UTC (8 years ago) by nsiivola
Branch: MAIN
CVS Tags: SLIME-2-0
Changes since 1.97: +18 -0 lines
Diff to previous 1.97 , to selected 1.126
Stream locking patch from Robert Macomber

Revision 1.97 - (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.96: +7 -1 lines
Diff to previous 1.96 , to selected 1.126
* Improve the robustness of connection establishment.

Revision 1.96 - (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.95: +1 -1 lines
Diff to previous 1.95 , to selected 1.126
* 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.95 - (view) (annotate) - [select for diffs]
Mon Jan 30 19:56:55 2006 UTC (8 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.94: +2 -0 lines
Diff to previous 1.94 , to selected 1.126
Patch from Ian Eslick.

Show slot values for metaclasses that override the default storage
locations for objects slots (i.e. where the default slot-boundp
returns nil) in the inspector.

* swank.lisp (inspect-for-emacs standard-object): Use
slot-value-using-class and slot-boundp-using-class.

* swank-backend.lisp: Add slot-value-using-class and
slot-boundp-using-class to the swank-mop package.

Revision 1.94 - (view) (annotate) - [select for diffs]
Sun Nov 20 23:25:38 2005 UTC (8 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.93: +22 -0 lines
Diff to previous 1.93 , to selected 1.126
(compiler-macroexpand-1, compiler-macroexpand): New functions.

Revision 1.93 - (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.92: +4 -3 lines
Diff to previous 1.92 , to selected 1.126
(accept-connection): New argument: buffering.

Revision 1.92 - (view) (annotate) - [select for diffs]
Sun Oct 23 08:47:54 2005 UTC (8 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.91: +6 -0 lines
Diff to previous 1.91 , to selected 1.126
* swank-backend.lisp (install-debugger-globally): new interface
function

* swank.lisp (install-debugger): call install-debugger-globally

* swank-sbcl.lisp (install-debugger-globally): set
sb-ext:*invoke-debugger-hook* too

Revision 1.91 - (view) (annotate) - [select for diffs]
Fri Oct 14 18:14:19 2005 UTC (8 years, 6 months ago) by dcrosher
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 , to selected 1.126
o *gray-stream-symbols*: Scieneer Common Lisp implements stream-line-length.

Revision 1.90 - (view) (annotate) - [select for diffs]
Sat Oct 1 12:00:27 2005 UTC (8 years, 6 months ago) by jsnellman
Branch: MAIN
Changes since 1.89: +5 -1 lines
Diff to previous 1.89 , to selected 1.126
2005-10-01  Juho Snellman  <jsnell@iki.fi>
        * swank-backend (*gray-stream-symbols*): Add :STREAM-LINE-LENGTH
        to *GRAY-STREAM-SYMBOLS* on implementations that support this
        extension to gray streams. Reported by Matthew D Swank.

Revision 1.89 - (view) (annotate) - [select for diffs]
Tue Sep 27 21:50:38 2005 UTC (8 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.88: +5 -3 lines
Diff to previous 1.88 , to selected 1.126
(startup-multiprocessing): Deleted.
(initialize-multiprocessing, startup-idle-and-top-level-loops): The
replacements for startup-multiprocessing. startup-idle-and-top-level-loops is
only needed for CMUCL, but initialize-multiprocessing is useful for other too.

Revision 1.88 - (view) (annotate) - [select for diffs]
Thu Sep 22 20:17:32 2005 UTC (8 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.87: +21 -0 lines
Diff to previous 1.87 , to selected 1.126
(*gray-stream-symbols*): Collect the needed symbols here, so that we
don't need to mention them in every backend.
(import-from). New function.

Revision 1.87 - (view) (annotate) - [select for diffs]
Sun Aug 28 14:47:11 2005 UTC (8 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.86: +11 -0 lines
Diff to previous 1.86 , to selected 1.126
(make-weak-key-hash-table)
(make-weak-value-hash-table): New interfaces.

Revision 1.86 - (view) (annotate) - [select for diffs]
Tue Jul 5 20:30:59 2005 UTC (8 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.85: +12 -12 lines
Diff to previous 1.85 , to selected 1.126
(swank-compile-file): New optional argument `external-format'.

Revision 1.85 - (view) (annotate) - [select for diffs]
Mon May 2 18:17:19 2005 UTC (8 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.84: +3 -1 lines
Diff to previous 1.84 , to selected 1.126
Minor comment tweaks.

Revision 1.84 - (view) (annotate) - [select for diffs]
Tue Apr 19 20:18:36 2005 UTC (8 years, 11 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-2, SLIME-1-2-1
Changes since 1.83: +3 -4 lines
Diff to previous 1.83 , to selected 1.126
Fix some typos.

Revision 1.83 - (view) (annotate) - [select for diffs]
Sat Mar 12 01:48:47 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.82: +1 -1 lines
Diff to previous 1.82 , to selected 1.126
Doc fix.

Revision 1.82 - (view) (annotate) - [select for diffs]
Sun Mar 6 21:44:41 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.81: +2 -1 lines
Diff to previous 1.81 , to selected 1.126
Export FINALIZE-INHERITANCE from SWANK-MOP.

Revision 1.81 - (view) (annotate) - [select for diffs]
Mon Feb 28 23:30:59 2005 UTC (9 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.80: +13 -27 lines
Diff to previous 1.80 , to selected 1.126
(calls-who, toggle-trace): New functions.
(toggle-trace-function, toggle-trace-generic-function-methods,
(toggle-trace-method,  toggle-trace-fdefinition-wherein): Replaced by
toggle-trace.

Revision 1.80 - (view) (annotate) - [select for diffs]
Thu Feb 24 18:09:33 2005 UTC (9 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.79: +13 -3 lines
Diff to previous 1.79 , to selected 1.126
(call-with-debugger-hook): New function. Useful if the backend needs
special incantations for BREAK.

(toggle-trace-function): Add a default implementation for simple
symbols.

Revision 1.79 - (view) (annotate) - [select for diffs]
Sun Feb 20 20:20:39 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.78: +3 -1 lines
Diff to previous 1.78 , to selected 1.126
Export compute-applicable-methods-using-classes.

Revision 1.78 - (view) (annotate) - [select for diffs]
Fri Feb 18 16:03:48 2005 UTC (9 years, 1 month ago) by mbaringer
Branch: MAIN
Changes since 1.77: +27 -1 lines
Diff to previous 1.77 , to selected 1.126
(toggle-trace-function,
toggle-trace-generic-function-methods, toggle-trace-method,
toggle-trace-fdefinition-wherein,
toggle-trace-fdefinition-within): New backend functions
for the new trace facility.

Revision 1.77 - (view) (annotate) - [select for diffs]
Wed Dec 15 22:45:20 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.76: +1 -7 lines
Diff to previous 1.76 , to selected 1.126
(frame-package): Delete it.  Include the
package name for local variables because it is utterly confusing
if `eval-in-frame' doesn't work due to missing package prefixes.

Revision 1.76 - (view) (annotate) - [select for diffs]
Wed Nov 24 19:57:10 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.75: +10 -10 lines
Diff to previous 1.75 , to selected 1.126
(import-swank-mop-symbols): Better error message for the assertion.

Revision 1.75 - (view) (annotate) - [select for diffs]
Fri Nov 19 19:05:25 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.74: +1 -1 lines
Diff to previous 1.74 , to selected 1.126
(accept-connection): Accept :external-format as argument.

Revision 1.74 - (view) (annotate) - [select for diffs]
Mon Nov 15 22:45:23 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: MULTIBYTE-ENCODING
Changes since 1.73: +2 -6 lines
Diff to previous 1.73 , to selected 1.126
(emacs-connected): Don't pass the stream as argument.
make-stream-interactive is a better place for setting buffering
options.

Revision 1.73 - (view) (annotate) - [select for diffs]
Tue Nov 9 22:58:01 2004 UTC (9 years, 5 months ago) by mbaringer
Branch: MAIN
CVS Tags: SLIME-1-1
Changes since 1.72: +11 -6 lines
Diff to previous 1.72 , to selected 1.126
(definterface): Eliminate unused variable received-args.
(emacs-connected, make-stream-interactive, condition-references,
condition-extras, buffer-first-change): Add (declare (ignore X)) for
unused arguments in default implementations.
(inspect-for-emacs): Remove (declare (ignore)) for inexistent variable
inspection-mode. Added T qualifiers in method arguments.

Revision 1.72 - (view) (annotate) - [select for diffs]
Mon Nov 1 17:19:35 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 , to selected 1.126
(deftype severity): Add read-errors.

Revision 1.71 - (view) (annotate) - [select for diffs]
Thu Oct 28 21:23:10 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 , to selected 1.126
(activate-stepping): New function.

Revision 1.70 - (view) (annotate) - [select for diffs]
Thu Sep 23 21:19:52 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.69: +17 -0 lines
Diff to previous 1.69 , to selected 1.126
(frame-package, label-value-line, label-value-line*): New functions.

Revision 1.69 - (view) (annotate) - [select for diffs]
Sun Sep 19 05:52:48 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.68: +32 -9 lines
Diff to previous 1.68 , to selected 1.126
(import-swank-mop-symbols): New function. Useful if the implementation
has most of the mop symbols in the same package.

(sldb-break-on-return, sldb-break-at-start, condition-extras): New
functions.

Revision 1.68 - (view) (annotate) - [select for diffs]
Fri Sep 17 12:49:04 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.67: +3 -0 lines
Diff to previous 1.67 , to selected 1.126
Require eql-specializer, eql-specializer-object and
specializer-direct-methods in swank-mop package.

Revision 1.67 - (view) (annotate) - [select for diffs]
Tue Sep 14 16:01:07 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.66: +58 -12 lines
Diff to previous 1.66 , to selected 1.126
2004-09-14  Marco Baringer  <mb@bese.it>

	* swank-backend.lisp (inspector, make-default-inspector): Add an
	INSPECTOR object argument to the inspector protocol. This allows
	implementations to provide more information regarding cretain
	objects which can't be, or simply aren't, inspected using the
	generic inspector implementation. also export inspect-for-emacs
	and related symbols from the backend package.
	(make-default-inspector): New function.

	* swank.lisp (inspected-parts): Rename to inspect-for-emacs and
	add an inspector argument. Move inspect-for-emacs to
	swank-backend.lisp, leave only the default implementations.

	* swank-openml.lisp, swank-sbcl.lisp, swank-allegro.lisp,
	swank-cmucl.lisp, swank-lispworks.lisp (inspected-parts): Rename
	and change argument list. Many of the inspected-parts methods were
	being clobbered by the inspected-parts in swank.lisp, now that
	they're being used the return values have been updated for the new
	inspect-for-emacs API.

Revision 1.66 - (view) (annotate) - [select for diffs]
Mon Sep 13 16:42:31 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.65: +8 -0 lines
Diff to previous 1.65 , to selected 1.126
2004-09-13  Marco Baringer  <mb@bese.it>

	* swank.lisp (inspected-parts): Added inspectors for pathnames,
	logical pathnames, standard-objects and numbers (float, ratio,
	integer and complex).

	* swank-backend.lisp: Define import-to-swank-mop.

	* swank-openmcl.lisp, swank-sbcl.lisp, swank-allegro.lisp: Don't
	define the import-to-swank-mop function (now defined in
	swank-backend.lisp).

	* swank-cmucl.lisp (swank-mop, function-name): Implement backend
	for inspector.
	(arglist): Add support for extracting arglists from function
	objects.
	(create-socket): Don't specify the host on PPC.

Revision 1.65 - (view) (annotate) - [select for diffs]
Sun Sep 12 23:56:39 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.64: +57 -3 lines
Diff to previous 1.64 , to selected 1.126
2004-09-13  Marco Baringer  <mb@bese.it>

	* swank.lisp: New inspector protocol. The lisp side now returns a
	specially formated list of "things" to format which are then
	passed to emacs and rendered in the inspector buffer. Things can
	be either text, recursivly inspectable values, or functions to
	call.
	(inspected-parts): Redefine for new inspector protocol.
	(*inspectee-parts*): Redefine as array.
	(*inspectee-actions*): New array, similar to *inspectee-parts*.
	(reset-inspector): Update for new implementation of
	*inspectee-parts* and new variable *inspectee-actions*.
	(inspector-contents-for-emacs): New function.
	(inspect-object): Update for new inspector protocol.
	(inspector-nth-part): Update for new *inspectee-parts*
	implementation.
	(inspector-call-nth-action): New function.

	* slime.el (slime-inspector-action-face): New face.
	(slime-open-inspector): Adapt to new inspector protocol.
	(slime-inspector-operate-on-point): New function, subsumes
	slime-inspector-inspect-object-at-point.
	(slime-inspector-next-inspectable-object): Skip to next object,
	not just end of current object; wrap around buffer.
	(slime-inspector-mode-map): change bindings of [return] and "\C-m"

	* swank-bacend.lisp (swank-mop): New package. Simply defines all
	the MOP related symbols we need from an implementation.
	(arglist): Update doc string. Provide default implementation.
	(function-name): New backend function.

	* swank-allegro.lisp (swank-mop, slot-definition-documentation):
	Implement.

	* swank-sbcl.lisp (swank-mop, slot-definition-documentation,
	function-name): Implement.

	* swank-openmcl.lisp (swank-mop, function-name): Implement.
	(arglist): Implement for function objects.

Revision 1.64 - (view) (annotate) - [select for diffs]
Sat Aug 28 02:27:08 2004 UTC (9 years, 7 months ago) by pseibel
Branch: MAIN
CVS Tags: SLIME-1-0
Changes since 1.63: +6 -2 lines
Diff to previous 1.63 , to selected 1.126
Adding directory argument to swank-compile-string.

Revision 1.63 - (view) (annotate) - [select for diffs]
Fri Jul 30 21:44:05 2004 UTC (9 years, 8 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-0-BETA
Changes since 1.62: +3 -0 lines
Diff to previous 1.62 , to selected 1.126
(sldb-condition): Show the original condition in the message.

Revision 1.62 - (view) (annotate) - [select for diffs]
Tue Jul 13 18:14:03 2004 UTC (9 years, 9 months ago) by crhodes
Branch: MAIN
Changes since 1.61: +5 -0 lines
Diff to previous 1.61 , to selected 1.126
Implement actionable references in *slime-compiler-notes*.  Tested with
sbcl-0.8.12 and sbcl CVS head -- I hope I haven't broken things for
non-SBCL users...

(There are some things in this that I think are suboptimal: they have
been marked with FIXMEs.  I lack elispfu in sufficient measure to clean
them up confidently)

Revision 1.61 - (view) (annotate) - [select for diffs]
Sun Jul 4 03:21:43 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.60: +4 -0 lines
Diff to previous 1.60 , to selected 1.126
Added a new backend function `buffer-first-change' which is called via
Emacs's `first-change-hook' in slime-mode buffers. This gives Lisp a
chance to do something with source files before you change them on
disk.

Revision 1.60 - (view) (annotate) - [select for diffs]
Sun Jul 4 00:19:07 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.59: +8 -0 lines
Diff to previous 1.59 , to selected 1.126
(make-stream-interactive): This backend function is called with each
stream that will be used for user-interaction, i.e. the redirected
stdio streams. Can be used to setup special output-flushing or
similar.

Revision 1.59 - (view) (annotate) - [select for diffs]
Fri Jul 2 23:50:09 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.58: +1 -5 lines
Diff to previous 1.58 , to selected 1.126
(definterface): Don't use NO-APPLICABLE-METHOD for detail
methods. Instead just define them as regular methods with all argument
types being T. Defimplementation will then replace them by using the
same signature. N-A-M was a stupid idea!

Revision 1.58 - (view) (annotate) - [select for diffs]
Sun Jun 27 15:00:30 2004 UTC (9 years, 9 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-0-ALPHA
Changes since 1.57: +14 -3 lines
Diff to previous 1.57 , to selected 1.126
(thread-id, find-thread): New backend function.

Revision 1.57 - (view) (annotate) - [select for diffs]
Fri Jun 25 08:05:25 2004 UTC (9 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.56: +11 -5 lines
Diff to previous 1.56 , to selected 1.126
(frame-var-value): New backend function.

Revision 1.56 - (view) (annotate) - [select for diffs]
Tue Jun 22 06:24:17 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.55: +8 -1 lines
Diff to previous 1.55 , to selected 1.126
(unbound-slot-filler): New structure for representing an unbound slot
in the inspector functions.

Revision 1.55 - (view) (annotate) - [select for diffs]
Mon Jun 21 06:14:58 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.54: +0 -26 lines
Diff to previous 1.54 , to selected 1.126
Removed hook mechanism (now in swank.lisp).

Revision 1.54 - (view) (annotate) - [select for diffs]
Sun Jun 20 05:46:24 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.53: +28 -1 lines
Diff to previous 1.53 , to selected 1.126
(add-hook, run-hook): Added an Emacs-like hook mechiansm.  The hope is
that this will make some sections of the code more self-describing by
showing where they hook in.

(*new-connection-hook*): Hook run when a new connection is
established. Initialized to '(swank-backend:emacs-connected).

(*pre-reply-hook*): Hook run before sending a reply to Emacs.

Revision 1.53 - (view) (annotate) - [select for diffs]
Wed Jun 16 22:03:58 2004 UTC (9 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.52: +6 -3 lines
Diff to previous 1.52 , to selected 1.126
(emacs-connected): Pass the redirected stream as argument, so that the
OpenMCL backend can add it to CCL::*AUTO-FLUSH-STREAMS*.

Revision 1.52 - (view) (annotate) - [select for diffs]
Wed Jun 16 20:25:09 2004 UTC (9 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.51: +9 -1 lines
Diff to previous 1.51 , to selected 1.126
(sldb-step, default-readtable-alist): New backend functions.

Revision 1.51 - (view) (annotate) - [select for diffs]
Thu Jun 10 17:52:27 2004 UTC (9 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.50: +9 -1 lines
Diff to previous 1.50 , to selected 1.126
(default-directory, call-with-syntax-hooks): New functions.

Revision 1.50 - (view) (annotate) - [select for diffs]
Wed Jun 9 12:35:22 2004 UTC (9 years, 10 months ago) by msimmons
Branch: MAIN
Changes since 1.49: +1 -1 lines
Diff to previous 1.49 , to selected 1.126
(network-error): Inherit from simple-error to get correct initargs.

Revision 1.49 - (view) (annotate) - [select for diffs]
Tue Jun 8 23:57:19 2004 UTC (9 years, 10 months ago) by lgorrie
Branch: MAIN
Changes since 1.48: +13 -0 lines
Diff to previous 1.48 , to selected 1.126
(format-sldb-condition): New backend function to format conditions for
SLDB.

(condition-references): New function to return a list of documentation
references associated with a condition.

Revision 1.48 - (view) (annotate) - [select for diffs]
Mon Jun 7 18:27:30 2004 UTC (9 years, 10 months ago) by lgorrie
Branch: MAIN
CVS Tags: SLIME-0-14
Changes since 1.47: +9 -7 lines
Diff to previous 1.47 , to selected 1.126
Wrap EXPORT calls in EVAL-WHEN. Fixes many warnings in ACL.

Revision 1.47 - (view) (annotate) - [select for diffs]
Sun May 16 23:35:11 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.46: +3 -2 lines
Diff to previous 1.46 , to selected 1.126
Trivial doc additions.

Revision 1.46 - (view) (annotate) - [select for diffs]
Tue May 4 18:57:52 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.45: +18 -0 lines
Diff to previous 1.45 , to selected 1.126
(with-struct): New macro.

Revision 1.45 - (view) (annotate) - [select for diffs]
Sun May 2 02:16:04 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.44: +8 -2 lines
Diff to previous 1.44 , to selected 1.126
(:location): Added a 'hints' property list to the location
structure. This is for extra information that compliments the
buffer/position.

Revision 1.44 - (view) (annotate) - [select for diffs]
Sun Apr 25 06:35:29 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-12, SLIME-0-13
Changes since 1.43: +2 -5 lines
Diff to previous 1.43 , to selected 1.126
(arglist): Return a list or :not-available.  Don't return strings or
raise exceptions.

Revision 1.43 - (view) (annotate) - [select for diffs]
Wed Apr 14 18:50:36 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.42: +13 -9 lines
Diff to previous 1.42 , to selected 1.126
*** empty log message ***

Revision 1.42 - (view) (annotate) - [select for diffs]
Tue Apr 6 10:42:53 2004 UTC (10 years ago) by mbaringer
Branch: MAIN
Changes since 1.41: +4 -0 lines
Diff to previous 1.41 , to selected 1.126
See ChangeLog entry 2004-04-06  Marco Baringer

Revision 1.41 - (view) (annotate) - [select for diffs]
Mon Apr 5 06:18:06 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40 , to selected 1.126
(arglist): Specify that strings returned from ARGLIST should be
READable.

Revision 1.40 - (view) (annotate) - [select for diffs]
Mon Mar 22 13:57:11 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.39: +0 -1 lines
Diff to previous 1.39 , to selected 1.126
*** empty log message ***

Revision 1.39 - (view) (annotate) - [select for diffs]
Thu Mar 18 21:55:07 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.38: +7 -1 lines
Diff to previous 1.38 , to selected 1.126
(set-default-directory): New backend function.

Revision 1.38 - (view) (annotate) - [select for diffs]
Fri Mar 12 21:16:08 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.37: +5 -3 lines
Diff to previous 1.37 , to selected 1.126
(find-definitions): Fix docstring.

Revision 1.37 - (view) (annotate) - [select for diffs]
Tue Mar 9 19:35:36 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.36: +6 -1 lines
Diff to previous 1.36 , to selected 1.126
Minor modifications.

Revision 1.36 - (view) (annotate) - [select for diffs]
Tue Mar 9 12:46:27 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.35: +113 -248 lines
Diff to previous 1.35 , to selected 1.126
Merge package-split branch into main trunk.

Revision 1.35.2.1 - (view) (annotate) - [select for diffs]
Tue Mar 9 08:55:14 2004 UTC (10 years, 1 month ago) by heller
Branch: package-split
Changes since 1.35: +113 -248 lines
Diff to previous 1.35 , to next main 1.224 , to selected 1.126
(:swank-backend): New package.

(definterface): Export the symbol.

(:location, :error, :position, :buffer): Define structure of source
locations here.

(preferred-communication-style, compute-backtrace, print-frame): New
functions.
(debugger-info-for-emacs): Deleted.

Renaming:

compile-file-for-emacs   -> swank-compile-file
compile-string-for-emacs -> swank-compile-string
compile-system-for-emacs -> swank-compile-stystem
arglist-string           -> arglist
backrace                 -> compute-backtrace
find-function-locations  -> find-definitions

Revision 1.35 - (view) (annotate) - [select for diffs]
Thu Mar 4 22:15:39 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-11
Branch point for: package-split
Changes since 1.34: +7 -5 lines
Diff to previous 1.34 , to selected 1.126
(thread-alive-p): Add default implementation.

(describe-primitive-type): Add default implementation.
(inspected-parts): Implemented for Allegro and CLISP.

Revision 1.34 - (view) (annotate) - [select for diffs]
Fri Feb 27 12:32:06 2004 UTC (10 years, 1 month ago) by mbaringer
Branch: MAIN
Changes since 1.33: +5 -0 lines
Diff to previous 1.33 , to selected 1.126
See ChangeLog entry "2004-02-27 Macro Baringer"

Revision 1.33 - (view) (annotate) - [select for diffs]
Thu Feb 26 07:17:10 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.32: +1 -0 lines
Diff to previous 1.32 , to selected 1.126
(:swank): export connection-info.

Revision 1.32 - (view) (annotate) - [select for diffs]
Tue Feb 24 23:31:34 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.31: +7 -2 lines
Diff to previous 1.31 , to selected 1.126
* slime.el: Various bits of support for maintaining multiple SLIME
connections to different Lisp implementations simultaneously.

* swank-{backend,cmucl,sbcl,clisp,lispworks,openmcl}.lisp
(lisp-implementation-type-name): Add function to
return simple name of lisp implementation; used by new
multi-connection functionality in slime.el.

Revision 1.31 - (view) (annotate) - [select for diffs]
Sat Feb 21 16:35:55 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.30: +9 -3 lines
Diff to previous 1.30 , to selected 1.126
(add-sigio-handler): Renamed from add-input-handler.
(remove-sigio-handlers): Renamed from remove-input-handlers.
(add-fd-handler, remove-fd-handlers): New interface functions.

Revision 1.30 - (view) (annotate) - [select for diffs]
Mon Feb 16 21:39:39 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.29: +24 -1 lines
Diff to previous 1.29 , to selected 1.126
(compile-system-for-emacs): Add default implementation.

(compiler-condition): New slot short-message.

Revision 1.29 - (view) (annotate) - [select for diffs]
Sun Feb 8 19:19:42 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.28: +4 -6 lines
Diff to previous 1.28 , to selected 1.126
(create-socket): Take interface as argument.

Revision 1.28 - (view) (annotate) - [select for diffs]
Sat Feb 7 19:28:41 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.27: +14 -17 lines
Diff to previous 1.27 , to selected 1.126
(thread-name): Take a thread object as argument.
(thread-status, all-threads, thread-alive-p): New function.

(thread-id): Deleted.

Revision 1.27 - (view) (annotate) - [select for diffs]
Wed Feb 4 22:18:46 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.26: +1 -0 lines
Diff to previous 1.26 , to selected 1.126
(debugger-info-for-emacs): Export it.

Revision 1.26 - (view) (annotate) - [select for diffs]
Sat Jan 31 15:07:35 2004 UTC (10 years, 2 months ago) by mbaringer
Branch: MAIN
Changes since 1.25: +5 -0 lines
Diff to previous 1.25 , to selected 1.126
see ChangeLog

Revision 1.25 - (view) (annotate) - [select for diffs]
Sat Jan 31 11:50:25 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.24: +22 -7 lines
Diff to previous 1.24 , to selected 1.126
Merge stateless-emacs branch into main trunk.

Revision 1.22.2.2 - (view) (annotate) - [select for diffs]
Sat Jan 31 11:26:02 2004 UTC (10 years, 2 months ago) by heller
Branch: stateless-emacs
Changes since 1.22.2.1: +13 -0 lines
Diff to previous 1.22.2.1 , to branch point 1.22 , to next main 1.224 , to selected 1.126
Use signal driven IO for CMUCL and SBCL.  Use one thread per request
for multithreaded lisps.

Revision 1.24 - (view) (annotate) - [select for diffs]
Sat Jan 31 09:02:22 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 , to selected 1.126
Patch by Robert E. Brown.  Add type declarations to keep SBCL quiet.

Revision 1.23 - (view) (annotate) - [select for diffs]
Thu Jan 29 08:37:57 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.22: +45 -0 lines
Diff to previous 1.22 , to selected 1.126
Profiler support.  Patch by Michael Weber.

Revision 1.22.2.1 - (view) (annotate) - [select for diffs]
Sun Jan 25 20:51:00 2004 UTC (10 years, 2 months ago) by lgorrie
Branch: stateless-emacs
Changes since 1.22: +9 -7 lines
Diff to previous 1.22 , to selected 1.126
(definterface, defimplementation): Use PROGN instead of PROG1 to
preserve top-level-ness of expanded DEFGENERIC/DEFMETHOD forms. Lisp
tip from Tim Moore.

Revision 1.22 - (view) (annotate) - [select for diffs]
Thu Jan 22 00:35:17 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
CVS Tags: STATELESS-EMACS
Branch point for: stateless-emacs
Changes since 1.21: +17 -1 lines
Diff to previous 1.21 , to selected 1.126
(return-from-frame, restart-frame): Are now interface functions.

Revision 1.21 - (view) (annotate) - [select for diffs]
Mon Jan 19 20:13:23 2004 UTC (10 years, 2 months ago) by lgorrie
Branch: MAIN
Changes since 1.20: +168 -113 lines
Diff to previous 1.20 , to selected 1.126
(definterface, defimplementation): New macros as sugar around
defgeneric/defmethod. This supports conveniently supplying a default
(on NO-APPLICABLE-METHOD).  Because the underly mechanism is still
generic functions this doesn't break code that isn't updated.

(warn-unimplemented-interfaces): Print a list of backend functions
that are not implemented.

(xref and list-callers): Defined interfaces for these functions.
(describe-definition): New function that takes over from the many
other describe-* functions called from apropos listing. Takes the type
of definition (as returned by describe-symbol-for-emacs) as an
argument.

Revision 1.20 - (view) (annotate) - [select for diffs]
Sun Jan 18 07:15:49 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.19: +11 -0 lines
Diff to previous 1.19 , to selected 1.126
(arglist-string): Refactor common code to swank.lisp.

(call-without-interrupts, getpid): Are now generic functions.

Revision 1.19 - (view) (annotate) - [select for diffs]
Fri Jan 16 21:49:29 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.18: +11 -0 lines
Diff to previous 1.18 , to selected 1.126
Refactor inspector code.

Revision 1.18 - (view) (annotate) - [select for diffs]
Thu Jan 15 18:15:00 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.17: +3 -0 lines
Diff to previous 1.17 , to selected 1.126
(remove-input-handlers): New function.

Revision 1.17 - (view) (annotate) - [select for diffs]
Thu Jan 15 11:42:12 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.16: +13 -50 lines
Diff to previous 1.16 , to selected 1.126
Changed multiprocessing interface.

Revision 1.16 - (view) (annotate) - [select for diffs]
Tue Jan 13 18:16:37 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.15: +16 -17 lines
Diff to previous 1.15 , to selected 1.126
(create-socket, local-port, close-socket, accept-connection,
add-input-handler, spawn): New functions.
(accept-socket/stream, accept-socket/run): Deleted.

Revision 1.15 - (view) (annotate) - [select for diffs]
Tue Jan 13 04:23:27 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.14: +16 -17 lines
Diff to previous 1.14 , to selected 1.126
(accept-socket/stream, accept-socket/run):
New functions replacing the ancient (over 24 hours!)
`create-socket-server'. This interface is much simpler.

Revision 1.14 - (view) (annotate) - [select for diffs]
Mon Jan 12 05:06:22 2004 UTC (10 years, 3 months ago) by vsedach
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 , to selected 1.126
Fixed () arg in with-compilation-hooks.

Revision 1.13 - (view) (annotate) - [select for diffs]
Mon Jan 12 00:51:32 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.12: +86 -40 lines
Diff to previous 1.12 , to selected 1.126
(create-socket-server): Generic callback-driven TCP server
interface. Replaces `create-swank-server', with the higher-level logic
moved into swank.lisp.

(emacs-connected): Invoked when Emacs initially connects, as a hook
for backend implementations.

(make-fn-streams): Interface for creating pairs of input/output
streams that are backended by callback functions. Used to implement
redirected-via-Emacs standard I/O streams.

Revision 1.12 - (view) (annotate) - [select for diffs]
Fri Jan 9 19:42:25 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-10
Changes since 1.11: +12 -9 lines
Diff to previous 1.11 , to selected 1.126
(debugger-info-for-emacs, find-function-locations): Doc fix.

Revision 1.11 - (view) (annotate) - [select for diffs]
Fri Jan 2 08:21:08 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 , to selected 1.126
(with-compilation-hooks): Replace () with (&rest _) to make CLISP happy.

Revision 1.10 - (view) (annotate) - [select for diffs]
Tue Dec 16 10:28:42 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 , to selected 1.126
Exported invoke-nth-restart-for-emacs and sldb-break-with-default-debugger.

Revision 1.9 - (view) (annotate) - [select for diffs]
Mon Dec 15 05:27:55 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.8: +157 -50 lines
Diff to previous 1.8 , to selected 1.126
Defined multiprocessing interface.

Revision 1.8 - (view) (annotate) - [select for diffs]
Thu Dec 11 02:19:33 2003 UTC (10 years, 4 months ago) by dbarlow
Branch: MAIN
Changes since 1.7: +7 -1 lines
Diff to previous 1.7 , to selected 1.126
        * swank-backend.lisp (call-with-compilation-hooks): new GF
        should set up all appropriate error condition loggers etc
        to do a compilation preserving the notes.  Implement for
        sbcl, cmucl

Revision 1.7 - (view) (annotate) - [select for diffs]
Sun Dec 7 19:16:24 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-9
Changes since 1.6: +39 -5 lines
Diff to previous 1.6 , to selected 1.126
(function-source-locations): Is replaces
function-source-location-for-emacs. Make it at generic function.
(function-source-location-for-emacs): Remove.

Revision 1.6 - (view) (annotate) - [select for diffs]
Sat Nov 29 22:12:42 2003 UTC (10 years, 4 months ago) by dbarlow
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 , to selected 1.126
export slime-debugger-function

Revision 1.5 - (view) (annotate) - [select for diffs]
Thu Nov 27 00:44:40 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.4: +65 -4 lines
Diff to previous 1.4 , to selected 1.126
List exported symbols explicitly.

Revision 1.4 - (view) (annotate) - [select for diffs]
Mon Nov 24 13:43:42 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 , to selected 1.126
(compiler-condition): Removed use of :documentation slot option. That
is not portable (to CMUCL 18e).

Revision 1.3 - (view) (annotate) - [select for diffs]
Sun Nov 23 14:13:05 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.2: +63 -1 lines
Diff to previous 1.2 , to selected 1.126
(backtrace, eval-in-frame, frame-catch-tags, frame-locals,
frame-source-location-for-emacs): More interface functions.

Revision 1.2 - (view) (annotate) - [select for diffs]
Sun Nov 23 12:13:19 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.1: +57 -3 lines
Diff to previous 1.1 , to selected 1.126
* swank-backend.lisp (call-with-debugging-environment,
sldb-condition, debugger-info-for-emacs): More callbacks defined.

Revision 1.1 - (view) (annotate) - [select for diffs]
Sun Nov 23 05:00:13 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Diff to selected 1.126
* swank-sbcl.lisp (describe-symbol-for-emacs): Don't ask for
(documentation SYM 'class), CLHS says there isn't any 'class
documentation (and SBCL warns).

* swank.lisp, swank-cmucl.lisp, swank-sbcl.lisp: Refactored
interface through swank-backend.lisp for: swank-compile-file,
swank-compile-string, describe-symbol-for-emacs (apropos),
macroexpand-all, arglist-string.

* swank-backend.lisp: New file defining the interface between
swank.lisp and the swank-*.lisp implementation files.

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