[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/slime 117bbf0d3c 15/44: abcl: fix for abcl-1.8.0
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/slime 117bbf0d3c 15/44: abcl: fix for abcl-1.8.0 |
Date: |
Fri, 29 Dec 2023 01:00:02 -0500 (EST) |
branch: elpa/slime
commit 117bbf0d3c8df0539f954ee660da0b23c70be640
Author: Mark Evenson <evenson.not.org@gmail.com>
Commit: Mark Evenson <evenson.not.org@gmail.com>
abcl: fix for abcl-1.8.0
Use presence of ABCL-INTROSPECT/SYS:FIND-LOCALS function to
conditionalize use of ABCL-INTROSPECT contrib.
---
swank/abcl.lisp | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/swank/abcl.lisp b/swank/abcl.lisp
index 45a01fba24..229c2b2cc8 100644
--- a/swank/abcl.lisp
+++ b/swank/abcl.lisp
@@ -547,13 +547,13 @@
values))
;; Switch to enable or disable locals functionality
-#+abcl-introspect
+#+#.(swank/backend:with-symbol 'find-locals 'abcl-introspect/sys)
(defvar *enable-locals* t)
-#+abcl-introspect
+#+#.(swank/backend:with-symbol 'find-locals 'abcl-introspect/sys)
(defun are-there-locals? (frame index)
(and *enable-locals*
- (fboundp 'abcl-introspect/sys::find-locals)
+ (fboundp 'abcl-introspect/sys:find-locals)
(typep frame 'sys::lisp-stack-frame)
(let ((operator (jss::get-java-field (nth-frame index) "operator" t)))
(and (function-lambda-expression (if (functionp operator) operator
(symbol-function operator)))
@@ -562,7 +562,7 @@
(not (eq (symbol-package operator) (find-package 'cl)))
t)))))
-#+abcl-introspect
+#+#.(swank/backend:with-symbol 'find-locals 'abcl-introspect/sys)
(defun abcl-introspect/frame-locals (frame index)
;; FIXME introspect locals in SYS::JAVA-STACK-FRAME
(or (and (are-there-locals? frame index)
@@ -614,12 +614,12 @@
:value value))))
(append frame-arguments frame-locals))))
-#+abcl-introspect
+#+#.(swank/backend:with-symbol 'find-locals 'abcl-introspect/sys)
(defimplementation frame-catch-tags (index)
(mapcar 'second (remove :catch (caar (abcl-introspect/sys:find-locals index
(backtrace 0 (1+ index))))
:test-not 'eq :key 'car)))
-#+abcl-introspect
+#+#.(swank/backend:with-symbol 'find-locals 'abcl-introspect/sys)
(defimplementation frame-var-value (index id)
(if (are-there-locals? (nth-frame index) index)
(third (nth id (reverse (remove :lexical-variable
@@ -627,7 +627,7 @@
:test-not 'eq :key 'car))))
(elt (rest (jcall "toLispList" (nth-frame index))) id)))
-#+abcl-introspect
+#+#.(swank/backend:with-symbol 'find-locals 'abcl-introspect/sys)
(defimplementation disassemble-frame (index)
(sys::disassemble (frame-function (nth-frame index))))
- [nongnu] elpa/slime c753c7e912 30/44: Escape %-Constructs in the Mode Line (manual 24.4.5), (continued)
- [nongnu] elpa/slime c753c7e912 30/44: Escape %-Constructs in the Mode Line (manual 24.4.5), ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 0880c32716 31/44: Fix typo in docs., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime ba3d0794e7 23/44: Fix parsing after reader conditionals., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime aa3da5f7ae 06/44: abcl: normalize whitespace to SLIME conventions, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime ce024caf08 02/44: clasp: Use external interfaces where available, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 2df69effea 03/44: clasp: cleanup old debugging code, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime e6a71c725c 09/44: slime-repl: reset the output column on new evaluation., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 5e8fc7cad5 11/44: slime-repl: reset the output column in the right way., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime e193bc5f34 12/44: I'm not your brother, pal., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime dd179f4a0c 13/44: Rework swank.asd to produce actual compilation artifact (#760), ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 117bbf0d3c 15/44: abcl: fix for abcl-1.8.0,
ELPA Syncer <=
- [nongnu] elpa/slime 8f166c4149 18/44: Align compilation artifact paths in swank-loader with ASDF, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 31c5449848 20/44: Fix build under SBCL, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime d5b8da7ce1 21/44: eliminate package variance warning on SBCL, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 65ab630434 35/44: Inspect definition: handle eql specializers., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime fcd6bccffd 25/44: clasp: new xref implementation, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 735258a26b 29/44: Handle case when there is no emacs-connection., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 1e4b7417a1 24/44: slime-definition-at-point: consider non-top level definitions., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 96de8b0baa 16/44: abcl: conditionalize use of Gray Streams, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 86f0dc306f 33/44: disassemble/inspect-definition: use the method of DEFMETHOD., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 2063445ce5 34/44: slime-in-expression-p: match symbols case-insensitively., ELPA Syncer, 2023/12/29