|
8 | 8 | ;;; are disclaimed. |
9 | 9 | ;;; |
10 | 10 |
|
11 | | -(defpackage swank/lispworks |
12 | | - (:use cl swank/backend)) |
| 11 | +(defpackage micros/lispworks |
| 12 | + (:use cl micros/backend)) |
13 | 13 |
|
14 | | -(in-package swank/lispworks) |
| 14 | +(in-package micros/lispworks) |
15 | 15 |
|
16 | 16 | (eval-when (:compile-toplevel :load-toplevel :execute) |
17 | 17 | (require "comm")) |
|
27 | 27 | :eql-specializer-object |
28 | 28 | :compute-applicable-methods-using-classes)) |
29 | 29 |
|
30 | | -(defun swank-mop:slot-definition-documentation (slot) |
| 30 | +(defun micros/mop:slot-definition-documentation (slot) |
31 | 31 | (documentation slot t)) |
32 | 32 |
|
33 | | -(defun swank-mop:slot-boundp-using-class (class object slotd) |
| 33 | +(defun micros/mop:slot-boundp-using-class (class object slotd) |
34 | 34 | (clos:slot-boundp-using-class class object |
35 | 35 | (clos:slot-definition-name slotd))) |
36 | 36 |
|
37 | | -(defun swank-mop:slot-value-using-class (class object slotd) |
| 37 | +(defun micros/mop:slot-value-using-class (class object slotd) |
38 | 38 | (clos:slot-value-using-class class object |
39 | 39 | (clos:slot-definition-name slotd))) |
40 | 40 |
|
41 | | -(defun (setf swank-mop:slot-value-using-class) (value class object slotd) |
| 41 | +(defun (setf micros/mop:slot-value-using-class) (value class object slotd) |
42 | 42 | (setf (clos:slot-value-using-class class object |
43 | 43 | (clos:slot-definition-name slotd)) |
44 | 44 | value)) |
45 | 45 |
|
46 | | -(defun swank-mop:slot-makunbound-using-class (class object slotd) |
| 46 | +(defun micros/mop:slot-makunbound-using-class (class object slotd) |
47 | 47 | (clos:slot-makunbound-using-class class object |
48 | 48 | (clos:slot-definition-name slotd))) |
49 | 49 |
|
50 | | -(defun swank-mop:compute-applicable-methods-using-classes (gf classes) |
| 50 | +(defun micros/mop:compute-applicable-methods-using-classes (gf classes) |
51 | 51 | (clos::compute-applicable-methods-from-classes gf classes)) |
52 | 52 |
|
53 | 53 | ;; lispworks doesn't have the eql-specializer class, it represents |
54 | 54 | ;; them as a list of `(EQL ,OBJECT) |
55 | | -(deftype swank-mop:eql-specializer () 'cons) |
| 55 | +(deftype micros/mop:eql-specializer () 'cons) |
56 | 56 |
|
57 | | -(defun swank-mop:eql-specializer-object (eql-spec) |
| 57 | +(defun micros/mop:eql-specializer-object (eql-spec) |
58 | 58 | (second eql-spec)) |
59 | 59 |
|
60 | 60 | (eval-when (:compile-toplevel :execute :load-toplevel) |
|
168 | 168 |
|
169 | 169 | ;;; Unix signals |
170 | 170 |
|
| 171 | +#-win32 |
| 172 | +(defconstant +sigint+ 2) |
| 173 | + |
171 | 174 | (defun sigint-handler () |
172 | 175 | (with-simple-restart (continue "Continue from SIGINT handler.") |
173 | 176 | (invoke-debugger "SIGINT"))) |
@@ -321,13 +324,13 @@ Return NIL if the symbol is unbound." |
321 | 324 | (defmethod env-internals:environment-display-notifier |
322 | 325 | ((env slime-env) &key restarts condition) |
323 | 326 | (declare (ignore restarts condition)) |
324 | | - (swank:swank-debugger-hook condition *debugger-hook*)) |
| 327 | + (micros::swank-debugger-hook condition *debugger-hook*)) |
325 | 328 |
|
326 | 329 | (defmethod env-internals:environment-display-debugger ((env slime-env)) |
327 | 330 | *debug-io*) |
328 | 331 |
|
329 | 332 | (defmethod env-internals:confirm-p ((e slime-env) &optional msg &rest args) |
330 | | - (apply #'swank:y-or-n-p-in-emacs msg args)) |
| 333 | + (apply #'micros::y-or-n-p-in-emacs msg args)) |
331 | 334 |
|
332 | 335 | (defimplementation call-with-debugger-hook (hook fun) |
333 | 336 | (let ((*debugger-hook* hook)) |
@@ -375,7 +378,7 @@ Return NIL if the symbol is unbound." |
375 | 378 | name))) |
376 | 379 | (nth-next-frame frame 1))))) |
377 | 380 | (or (find-named-frame 'invoke-debugger) |
378 | | - (find-named-frame 'swank::safe-backtrace) |
| 381 | + (find-named-frame 'micros::safe-backtrace) |
379 | 382 | ;; if we can't find a likely top frame, take any old frame |
380 | 383 | ;; at the top |
381 | 384 | (dbg::debugger-stack-current-frame dbg::*debugger-stack*)))) |
|
0 commit comments