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

Log of /slime/swank-cmucl.lisp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1.245 - (view) (annotate) - [select for diffs]
Tue Oct 30 18:38:33 2012 UTC (17 months, 3 weeks ago) by heller
Branch: MAIN
CVS Tags: HEAD
Changes since 1.244: +14 -9 lines
Diff to previous 1.244 , to selected 1.114
* swank-cmucl.lisp (dd-location): Use info db as fallback.
(struct-constructor): Return the name not the function.

Revision 1.244 - (view) (annotate) - [select for diffs]
Sat Aug 4 23:48:19 2012 UTC (20 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.243: +11 -13 lines
Diff to previous 1.243 , to selected 1.114
* clean up: (signal (make-condition ...)) => (signal ...)

Revision 1.243 - (view) (annotate) - [select for diffs]
Sat Apr 7 09:35:42 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.242: +4 -2 lines
Diff to previous 1.242 , to selected 1.114
More long line fixes.

Revision 1.242 - (view) (annotate) - [select for diffs]
Mon Mar 26 15:10:08 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.241: +3 -2 lines
Diff to previous 1.241 , to selected 1.114
* swank-cmucl.lisp (swank-compile-file): Use external-format arg.

Revision 1.241 - (view) (annotate) - [select for diffs]
Sun Mar 11 18:35:52 2012 UTC (2 years, 1 month ago) by rtoy
Branch: MAIN
Changes since 1.240: +3 -4 lines
Diff to previous 1.240 , to selected 1.114
Fix compiler warning about inhibit-warnings and use
find-external-format to compile and load the utf-8 format if needed.

Revision 1.240 - (view) (annotate) - [select for diffs]
Thu Dec 1 16:54:52 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.239: +12 -3 lines
Diff to previous 1.239 , to selected 1.114
* swank-cmucl.lisp (method-location): Special case accessors.

Revision 1.239 - (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.238: +4 -3 lines
Diff to previous 1.238 , to selected 1.114
* 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.238 - (view) (annotate) - [select for diffs]
Sun Nov 27 19:24:53 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.237: +4 -6 lines
Diff to previous 1.237 , to selected 1.114
* swank-cmucl.lisp (make-socket-io-stream): Create a character
stream if external-format is non-nil.

Revision 1.237 - (view) (annotate) - [select for diffs]
Mon Nov 21 19:52:25 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.236: +5 -0 lines
Diff to previous 1.236 , to selected 1.114
* swank-cmucl.lisp: Trigger compilation of utf8 stuff before first
real use.

Revision 1.236 - (view) (annotate) - [select for diffs]
Mon Nov 21 16:34:12 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.235: +11 -0 lines
Diff to previous 1.235 , to selected 1.114
* 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.235 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:39:29 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.234: +2 -2 lines
Diff to previous 1.234 , to selected 1.114
* swank-cmucl.lisp (accept-connection): Fix buffering arg.

Revision 1.234 - (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.233: +14 -7 lines
Diff to previous 1.233 , to selected 1.114
* 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.233 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:04:54 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.232: +10 -0 lines
Diff to previous 1.232 , to selected 1.114
* swank-cmucl.lisp (string-to-utf8, string-to-utf8): Implemented.

Revision 1.232 - (view) (annotate) - [select for diffs]
Sat Oct 9 23:02:33 2010 UTC (3 years, 6 months ago) by rtoy
Branch: MAIN
CVS Tags: FAIRLY-STABLE, SLIME-2-2, SLIME-2-3, byte-stream
Changes since 1.231: +13 -0 lines
Diff to previous 1.231 , to selected 1.114
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.231 - (view) (annotate) - [select for diffs]
Mon Sep 20 16:09:13 2010 UTC (3 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.230: +20 -0 lines
Diff to previous 1.230 , to selected 1.114
* swank-cmucl.lisp (character-completion-set): Implement. Requires
recent versions of CMUCL.
Patch by Raymond Toy.

Revision 1.230 - (view) (annotate) - [select for diffs]
Thu Sep 2 17:21:09 2010 UTC (3 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.229: +4 -4 lines
Diff to previous 1.229 , to selected 1.114
* swank-cmucl.lisp: #-cmu19 -> #+cmu18, cmu18 is allegedly the
oldest supported CMUCL.

Revision 1.229 - (view) (annotate) - [select for diffs]
Tue Aug 31 23:44:40 2010 UTC (3 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.228: +43 -9 lines
Diff to previous 1.228 , to selected 1.114
* swank-cmucl.lisp (foreign-frame-p, gdb-exec, frame-ip): Sparc
support.
Patch by Raymond Toy.

Revision 1.228 - (view) (annotate) - [select for diffs]
Sun Aug 29 00:00:09 2010 UTC (3 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.227: +12 -5 lines
Diff to previous 1.227 , to selected 1.114
* swank-cmucl.lisp (*gdb-program-name*): Determine gdb location
from PATH.
(gdb-exec): Use *gdb-program-name* instead of "gdb".
(gdb-command): Mac OS X compatibility.
Patch by Raymond Toy.

Revision 1.227 - (view) (annotate) - [select for diffs]
Fri Aug 13 07:31:01 2010 UTC (3 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.226: +2 -3 lines
Diff to previous 1.226 , to selected 1.114
(vm-support-routine-definitions): Use 'c not :c to reduce clutter in
the keyword package.

Revision 1.226 - (view) (annotate) - [select for diffs]
Fri Aug 13 07:25:23 2010 UTC (3 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.225: +13 -1 lines
Diff to previous 1.225 , to selected 1.114
Find definition for (def-vm-support-routine NAME ...)

* swank-cmucl.lisp (vm-support-routine-definitions): New.
(find-definitions): Use it.

Revision 1.225 - (view) (annotate) - [select for diffs]
Tue Jul 6 12:09:20 2010 UTC (3 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.224: +21 -2 lines
Diff to previous 1.224 , to selected 1.114
Find definition for (%primitive NAME ...)

* swank-cmucl.lisp (template-definitions, primitive-definitions):
New functions.
(find-definitions): Use them.

Revision 1.224 - (view) (annotate) - [select for diffs]
Thu May 27 14:47:56 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.223: +6 -7 lines
Diff to previous 1.223 , to selected 1.114
* swank-cmucl.lisp (parse-gdb-line-info): Try working dir first.

Revision 1.223 - (view) (annotate) - [select for diffs]
Thu May 6 06:18:32 2010 UTC (3 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.222: +0 -7 lines
Diff to previous 1.222 , to selected 1.114
Remove some non-standard file variables.

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

Revision 1.222 - (view) (annotate) - [select for diffs]
Wed May 5 05:25:29 2010 UTC (3 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.221: +8 -4 lines
Diff to previous 1.221 , to selected 1.114
* swank-cmucl.lisp (gdb-command): Use gdb's MI.

Revision 1.221 - (view) (annotate) - [select for diffs]
Wed Mar 3 11:57:11 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.220: +2 -6 lines
Diff to previous 1.220 , to selected 1.114
Don't special case special operators with M-. for CMUCL.

* swank-cmucl.lisp (function-definitions): Special operators will
have IR1-translators anyway, so no need to mark them "special".
(gf-definitions): Renamed from generic-function-definitions.

Revision 1.220 - (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.219: +3 -2 lines
Diff to previous 1.219 , to selected 1.114
* 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.219 - (view) (annotate) - [select for diffs]
Wed Feb 17 17:04:46 2010 UTC (4 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.218: +13 -0 lines
Diff to previous 1.218 , to selected 1.114
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.218 - (view) (annotate) - [select for diffs]
Tue Jan 5 09:00:30 2010 UTC (4 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.217: +6 -4 lines
Diff to previous 1.217 , to selected 1.114
Fix M-. bug related to CMUCL's multi-file compilation units.

* swank-cmucl.lisp (code-location-stream-position): Require the
"root-number" as argument and subtract it from the TLF number.
(location-in-file): Pass the root number along.
(code-location-string-offset): Use 0 as root number.

Revision 1.217 - (view) (annotate) - [select for diffs]
Tue Jan 5 09:00:22 2010 UTC (4 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.216: +15 -17 lines
Diff to previous 1.216 , to selected 1.114
Slightly better error message when CMUCL fails to find defstructs.

* swank-cmucl.lisp (struct-constructor, setf-definitions): Don't
use COERCE which gives confusing error message.

Revision 1.216 - (view) (annotate) - [select for diffs]
Tue Dec 22 09:31:15 2009 UTC (4 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.215: +30 -5 lines
Diff to previous 1.215 , to selected 1.114
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.215 - (view) (annotate) - [select for diffs]
Tue Nov 3 18:22:58 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.214: +95 -10 lines
Diff to previous 1.214 , to selected 1.114
Ask gdb for source lines of foreign functions.

* swank-cmucl.lisp (frame-source-location): Handle foreign
frames with gdb.
(frame-ip): Handle bogus frames (on x86)
(disassemble-frame): Use gdb for foreign frames.
(foreign-frame-p, foreign-frame-source-location): New functions.
(gdb-command, gdb-exec, parse-gdb-line-info, read-word)
(whitespacep, with-temporary-file, call/temporary-file): New
helpers.

Revision 1.214 - (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.213: +0 -3 lines
Diff to previous 1.213 , to selected 1.114
* swank.lisp (without-interrupts): Removed. No longer used.
* swank-backend.lisp (call-without-interrupts): Removed.
Update backends accoringly.

Revision 1.213 - (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.212: +9 -7 lines
Diff to previous 1.212 , to selected 1.114
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.212 - (view) (annotate) - [select for diffs]
Sun Jun 21 07:22:56 2009 UTC (4 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.211: +1 -1 lines
Diff to previous 1.211 , to selected 1.114
* swank-backend.lisp (frame-source-location): Renamed from
frame-source-location-for-emacs.  Update callers accordingly.

Revision 1.211 - (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.210: +2 -2 lines
Diff to previous 1.210 , to selected 1.114
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.210 - (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.209: +6 -4 lines
Diff to previous 1.209 , to selected 1.114
* 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.209 - (view) (annotate) - [select for diffs]
Thu Jan 8 10:33:44 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.208: +3 -3 lines
Diff to previous 1.208 , to selected 1.114
* swank-backend.lisp (swank-compile-string): Pass the
buffer-file-name to Lisp, not only the directory.
Update callers accordingly

Revision 1.208 - (view) (annotate) - [select for diffs]
Thu Jan 8 06:45:37 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.207: +13 -11 lines
Diff to previous 1.207 , to selected 1.114
* swank-cmucl.lisp (frame-locals, frame-debug-vars): Remove
non-valid variables.
(debug-var-value): Compute the location from the frame arg.

Revision 1.207 - (view) (annotate) - [select for diffs]
Thu Jan 8 06:45:29 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.206: +5 -4 lines
Diff to previous 1.206 , to selected 1.114
* swank-cmucl.lisp (frame-locals): Remove non-valid variables.

Revision 1.206 - (view) (annotate) - [select for diffs]
Sun Jan 4 20:53:30 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.205: +12 -6 lines
Diff to previous 1.205 , to selected 1.114
* swank-cmucl.lisp (note-error-location): If possible, include the
filename.
* slime.el (slime-goto-location-position): Add :eof as position
kind.

Revision 1.205 - (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.204: +2 -2 lines
Diff to previous 1.204 , to selected 1.114
	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.204 - (view) (annotate) - [select for diffs]
Wed Dec 24 07:56:20 2008 UTC (5 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.203: +10 -1 lines
Diff to previous 1.203 , to selected 1.114
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.203 - (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.202: +18 -10 lines
Diff to previous 1.202 , to selected 1.114
* 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.202 - (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.201: +3 -4 lines
Diff to previous 1.201 , to selected 1.114
* 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.201 - (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.200: +6 -7 lines
Diff to previous 1.200 , to selected 1.114
* swank-backend.lisp (swank-compile-file): Return the same
values as COMPILE-FILE.  Update backends accordingly.

Revision 1.200 - (view) (annotate) - [select for diffs]
Sat Oct 11 08:30:57 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.199: +18 -16 lines
Diff to previous 1.199 , to selected 1.114
(emacs-inspect [code-component]): Detect another byte-code case.

Revision 1.199 - (view) (annotate) - [select for diffs]
Sat Oct 11 08:30:52 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.198: +3 -2 lines
Diff to previous 1.198 , to selected 1.114
* swank-cmucl.lisp
(inspect-alien-record, mv-function-end-breakpoint-values): Avoid
compiler warnigns.

Revision 1.198 - (view) (annotate) - [select for diffs]
Sat Oct 11 08:30:43 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.197: +85 -108 lines
Diff to previous 1.197 , to selected 1.114
* swank-cmucl.lisp (list-callers): Do a full GC before calling
map-allocated-objects. That's needed because map-allocated-objects
seems to cons even if it's inlined.
(emacs-inspect [code-component]): Try to detect
byte-code-components.

Revision 1.197 - (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.196: +15 -12 lines
Diff to previous 1.196 , to selected 1.114
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.196 - (view) (annotate) - [select for diffs]
Wed Sep 17 06:19:48 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.195: +11 -12 lines
Diff to previous 1.195 , to selected 1.114
Adjust positions in files with CRLF-style end-on-line markers.

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

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

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

Revision 1.195 - (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.194: +1 -1 lines
Diff to previous 1.194 , to selected 1.114
* 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.194 - (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.193: +24 -0 lines
Diff to previous 1.193 , to selected 1.114
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.193 - (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.192: +4 -4 lines
Diff to previous 1.192 , to selected 1.114
	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.192 - (view) (annotate) - [select for diffs]
Thu Sep 11 10:31:35 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.191: +37 -58 lines
Diff to previous 1.191 , to selected 1.114
Fix stream buffering for CMUCL.

* swank-cmucl.lisp (slime-output-stream): Remove last-flush-time
slot.
(sos/flush): Renamed from sos/misc-force-output.  Don't try to be
clever: no timestamps and no line buffering.
(sos/write-char, sos/write-string): Renamed from sos/out
resp. sos/sout.  Call output-fn outside without-interrupts.
(sos/reset-buffer): New function.

Revision 1.191 - (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.190: +1 -10 lines
Diff to previous 1.190 , to selected 1.114
* swank-backend.lisp (make-input-stream): Remove make-fn-streams.
Update callers accordingly.

Revision 1.190 - (view) (annotate) - [select for diffs]
Wed Aug 27 17:53:08 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.189: +4 -4 lines
Diff to previous 1.189 , to selected 1.114
* swank-cmucl.lisp (remove-sigio-handlers): Fix thinko.

Revision 1.189 - (view) (annotate) - [select for diffs]
Fri Aug 22 21:15:19 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.188: +6 -0 lines
Diff to previous 1.188 , to selected 1.114
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.188 - (view) (annotate) - [select for diffs]
Sun Aug 17 08:31:26 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.187: +1 -2 lines
Diff to previous 1.187 , to selected 1.114
* swank-cmucl.lisp (waitpid): Don't use unix::pid-t, it's only
defined for Linux.

Revision 1.187 - (view) (annotate) - [select for diffs]
Tue Aug 12 17:54:44 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.186: +92 -0 lines
Diff to previous 1.186 , to selected 1.114
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.186 - (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.185: +18 -4 lines
Diff to previous 1.185 , to selected 1.114
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.185 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:37:02 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.184: +3 -4 lines
Diff to previous 1.184 , to selected 1.114
* 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.184 - (view) (annotate) - [select for diffs]
Thu Aug 7 07:53:47 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.183: +15 -21 lines
Diff to previous 1.183 , to selected 1.114
* swank-allegro.lisp:(receive-if): Periodically check for interrupts.
* swank-cmucl.lisp, swank-scl.lisp: ditto.

Revision 1.183 - (view) (annotate) - [select for diffs]
Mon Aug 4 20:25:28 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.182: +24 -20 lines
Diff to previous 1.182 , to selected 1.114
* swank-cmucl.lisp (receive,receive-if): Test for new messages in
a loop.

Revision 1.182 - (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.181: +13 -0 lines
Diff to previous 1.181 , to selected 1.114
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.181 - (view) (annotate) - [select for diffs]
Mon Jun 2 18:24:41 2008 UTC (5 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.180: +1 -1 lines
Diff to previous 1.180 , to selected 1.114
(accept-connection): Fix the typo that I introduced.

Revision 1.180 - (view) (annotate) - [select for diffs]
Mon Jun 2 18:11:16 2008 UTC (5 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.179: +20 -5 lines
Diff to previous 1.179 , to selected 1.114
Unicode support for CMUCL (by Raymond Toy)

* swank-cmucl.lisp (accept-connection, make-socket-io-stream):
Handle external-format argument.
(find-external-format): Implemented.
(*external-format-to-coding-system*): New variable.

Revision 1.179 - (view) (annotate) - [select for diffs]
Thu Apr 17 14:56:43 2008 UTC (6 years ago) by heller
Branch: MAIN
Changes since 1.178: +3 -2 lines
Diff to previous 1.178 , to selected 1.114
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.178 - (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.177: +80 -96 lines
Diff to previous 1.177 , to selected 1.114
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.177 - (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.176: +7 -7 lines
Diff to previous 1.176 , to selected 1.114
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.176 - (view) (annotate) - [select for diffs]
Mon Feb 4 17:35:03 2008 UTC (6 years, 2 months ago) by mbaringer
Branch: MAIN
Changes since 1.175: +7 -14 lines
Diff to previous 1.175 , to selected 1.114
Drop second argument from inspect-for-emacs

Revision 1.175 - (view) (annotate) - [select for diffs]
Fri Nov 30 13:10:40 2007 UTC (6 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.174: +9 -8 lines
Diff to previous 1.174 , to selected 1.114
Handle byte-functions without debug-info.

* swank-cmucl.lisp (byte-function-location): Return an error
if the component has no debug-info.

Revision 1.174 - (view) (annotate) - [select for diffs]
Wed Sep 5 12:04:43 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.173: +6 -4 lines
Diff to previous 1.173 , to selected 1.114
(toggle-trace): Add a comment about not working :flet.

Revision 1.173 - (view) (annotate) - [select for diffs]
Thu Aug 30 23:20:31 2007 UTC (6 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.172: +2 -2 lines
Diff to previous 1.172 , to selected 1.114
* swank-cmucl.lisp: CMUCL now has an x86-Darwin port as well as
  the PPC-Darwin version. Changed to conditionalize on the
  presence of darwin instead of ppc so that slime works with both
  Darwin versions of CMUCL.

Revision 1.172 - (view) (annotate) - [select for diffs]
Tue Aug 28 22:23:53 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.171: +5 -1 lines
Diff to previous 1.171 , to selected 1.114
* swank-cmucl.lisp (safe-definition-finding): Remove whitespace
around error messages.
(trim-whitespace): New function.

Revision 1.171 - (view) (annotate) - [select for diffs]
Thu Aug 23 19:03:37 2007 UTC (6 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.170: +8 -9 lines
Diff to previous 1.170 , to selected 1.114
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.170 - (view) (annotate) - [select for diffs]
Wed Jan 10 23:53:47 2007 UTC (7 years, 3 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-2-1
Branch point for: contrib
Changes since 1.169: +1 -1 lines
Diff to previous 1.169 , to selected 1.114
(condition-extras): Fix typo.

Revision 1.169 - (view) (annotate) - [select for diffs]
Thu Dec 14 16:08:35 2006 UTC (7 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.168: +2 -2 lines
Diff to previous 1.168 , to selected 1.114
(remove-gc-hooks): The variables EXT:*GC-NOTIFY-AFTER* and
EXT:*NOTIFY-BEFORE* should hold functions and should be NIL. This
affects the function REMOVE-GC-HOOKS in swank-cmucl.lisp which sets
them to NIL, (should one happen to use it).  Set them back to the
original parameters.  Patch by Madhu <enometh@meer.net>

Revision 1.168 - (view) (annotate) - [select for diffs]
Thu Nov 23 23:13:27 2006 UTC (7 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.167: +4 -1 lines
Diff to previous 1.167 , to selected 1.114
(setf-definitions): Also include defs which were created with
(defun (setf NAME) ...).
Previously we only found definitions created with defsetf of
define-setf-expander.

Revision 1.167 - (view) (annotate) - [select for diffs]
Sun Nov 19 21:33:03 2006 UTC (7 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.166: +3 -9 lines
Diff to previous 1.166 , to selected 1.114
(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.166 - (view) (annotate) - [select for diffs]
Fri Oct 20 17:07:55 2006 UTC (7 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.165: +9 -6 lines
Diff to previous 1.165 , to selected 1.114
(startup-idle-and-top-level-loops): Deleted. Merged into
initialize-multiprocessing.

Revision 1.165 - (view) (annotate) - [select for diffs]
Fri Oct 20 00:14:39 2006 UTC (7 years, 6 months ago) by mbaringer
Branch: MAIN
Changes since 1.164: +3 -2 lines
Diff to previous 1.164 , to selected 1.114
(initialize-multiprocessing): Update for new API.

Revision 1.164 - (view) (annotate) - [select for diffs]
Mon Oct 16 20:42:02 2006 UTC (7 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.163: +14 -12 lines
Diff to previous 1.163 , to selected 1.114
(inspect-for-emacs): Don't break for simple-strings.

Revision 1.163 - (view) (annotate) - [select for diffs]
Fri Aug 11 16:26:20 2006 UTC (7 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.162: +2 -1 lines
Diff to previous 1.162 , to selected 1.114
(startup-idle-and-top-level-loops): Initialize MP if only once.

Revision 1.162 - (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.161: +23 -23 lines
Diff to previous 1.161 , to selected 1.114
swank-backend.lisp (definterface): Drop that incredibly unportable
CLOS stuff. Use plists and plain functions instead.  Update backends
accordingly.

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

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

Revision 1.159 - (view) (annotate) - [select for diffs]
Tue Nov 22 10:32:37 2005 UTC (8 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.158: +5 -3 lines
Diff to previous 1.158 , to selected 1.114
(accept-connection): Remove fd-handlers if the encoding isn't
iso-latin-1.

Revision 1.158 - (view) (annotate) - [select for diffs]
Sun Nov 20 23:29:25 2005 UTC (8 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.157: +16 -0 lines
Diff to previous 1.157 , to selected 1.114
(inspect-for-emacs): Add support for funcallable instances.

Revision 1.157 - (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.156: +46 -39 lines
Diff to previous 1.156 , to selected 1.114
(accept-connection): New argument: buffering.

Revision 1.156 - (view) (annotate) - [select for diffs]
Sun Oct 9 19:13:03 2005 UTC (8 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.155: +14 -11 lines
Diff to previous 1.155 , to selected 1.114
(sis/in): Use finish-output instead of force-output.

Revision 1.155 - (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.154: +15 -9 lines
Diff to previous 1.154 , to selected 1.114
(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.154 - (view) (annotate) - [select for diffs]
Wed Sep 21 11:40:08 2005 UTC (8 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.153: +30 -8 lines
Diff to previous 1.153 , to selected 1.114
Improve stream efficiency by buffering more
output. stream-force-output simply does nothing, if the output buffer
was flushed less than 200 millisecons before.  stream-finish-output
can still be used to really flush the buffer.

(slime-output-stream): New slot last-flush-time.
(stream-finish-output): New function. Did was stream-force-output did
previously.
(stream-force-output): Buffer more output.

Revision 1.153 - (view) (annotate) - [select for diffs]
Mon Sep 5 13:56:37 2005 UTC (8 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.152: +5 -9 lines
Diff to previous 1.152 , to selected 1.114
(background-message): New function. Forward the call to the front end.
(pre-gc-hook, post-gc-hook): Use it.

(swank-sym,  sending-safe-p): Deleted.

Revision 1.152 - (view) (annotate) - [select for diffs]
Mon Aug 29 19:33:26 2005 UTC (8 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.151: +4 -4 lines
Diff to previous 1.151 , to selected 1.114
(eval-in-emacs): Removed.
(send-to-emacs): New.
(pre-gc-hook, post-gc-hook): Use new protocol message
:background-message rather than eval-in-emacs.

Revision 1.151 - (view) (annotate) - [select for diffs]
Sun Aug 28 14:47:51 2005 UTC (8 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.150: +5 -0 lines
Diff to previous 1.150 , to selected 1.114
(make-weak-key-hash-table): Implement it.

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

Revision 1.149 - (view) (annotate) - [select for diffs]
Fri Jun 3 11:16:45 2005 UTC (8 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.148: +2 -1 lines
Diff to previous 1.148 , to selected 1.114
*** empty log message ***

Revision 1.148 - (view) (annotate) - [select for diffs]
Wed Jun 1 12:22:37 2005 UTC (8 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.147: +9 -11 lines
Diff to previous 1.147 , to selected 1.114
Distinguish macro and special operators from functions.

Revision 1.147 - (view) (annotate) - [select for diffs]
Fri May 6 11:12:03 2005 UTC (8 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.146: +27 -7 lines
Diff to previous 1.146 , to selected 1.114
(post-gc-hook): Include the elapsed time and the size distribution.

Revision 1.146 - (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.145: +1 -1 lines
Diff to previous 1.145 , to selected 1.114
Minor comment tweaks.

Revision 1.145 - (view) (annotate) - [select for diffs]
Thu Apr 28 23:30:25 2005 UTC (8 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.144: +7 -3 lines
Diff to previous 1.144 , to selected 1.114
Be more carefully when tracing methods: try both (METHOD ...) and
(PCL:FAST-METHOD ...).

Revision 1.144 - (view) (annotate) - [select for diffs]
Wed Apr 27 14:47:22 2005 UTC (8 years, 11 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-2-1
Changes since 1.143: +12 -12 lines
Diff to previous 1.143 , to selected 1.114
(+header-type-symbols+): Drop the third arg to apropos-list; it's no
longer supported recent CMUCLs.

Revision 1.143 - (view) (annotate) - [select for diffs]
Sun Apr 3 23:27:41 2005 UTC (9 years ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-2
Changes since 1.142: +8 -1 lines
Diff to previous 1.142 , to selected 1.114
(breakpoint-values): Fixes for CMUCL-2005-03 snapshot.

Revision 1.142 - (view) (annotate) - [select for diffs]
Mon Mar 21 00:58:15 2005 UTC (9 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.141: +10 -7 lines
Diff to previous 1.141 , to selected 1.114
(call-with-debugging-environment): Rebind kernel:*current-level* 0.
Useful for debugging pretty printer code.

(inspect-for-emacs): Show details of interpreted functions.

Revision 1.141 - (view) (annotate) - [select for diffs]
Sat Mar 12 01:49:19 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.140: +1 -82 lines
Diff to previous 1.140 , to selected 1.114
Source file cache is now moved into swank-source-file-cache.lisp

Revision 1.140 - (view) (annotate) - [select for diffs]
Mon Feb 28 23:32:06 2005 UTC (9 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.139: +35 -28 lines
Diff to previous 1.139 , to selected 1.114
(toggle-trace): Update tracing code for new interface.

Revision 1.139 - (view) (annotate) - [select for diffs]
Sat Feb 26 10:39:22 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.138: +2 -0 lines
Diff to previous 1.138 , to selected 1.114
(toggle-trace-method) (toggle-trace-fdefinition-wherein):
Conditionalized for CMU19.

Revision 1.138 - (view) (annotate) - [select for diffs]
Fri Feb 18 16:03:59 2005 UTC (9 years, 2 months ago) by mbaringer
Branch: MAIN
Changes since 1.137: +45 -0 lines
Diff to previous 1.137 , to selected 1.114
(toggle-trace-generic-function-methods,
toggle-trace-function, toggle-trace-method,
toggle-trace-fdefinition-wherein): Implement.
(toggle-trace, process-fspec): New functions.

Revision 1.137 - (view) (annotate) - [select for diffs]
Wed Jan 19 18:27:47 2005 UTC (9 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.136: +18 -16 lines
Diff to previous 1.136 , to selected 1.114
(breakpoint): Add a slot for return values to make return values
inspectable in the debugger.
(signal-breakpoint): Initialize the new slot.

Revision 1.136 - (view) (annotate) - [select for diffs]
Thu Jan 13 23:17:02 2005 UTC (9 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.135: +8 -7 lines
Diff to previous 1.135 , to selected 1.114
(create-socket): The byte-order of the :host argument for
CREATE-INET-LISTENER was changed in the Jan 2005 snapshot.  Test
whether the symbol 'ext:socket-error exists to decide if we are in a
older version.
(resolve-hostname): Return the address in host byte-order.

Revision 1.135 - (view) (annotate) - [select for diffs]
Thu Dec 16 21:14:42 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.134: +7 -9 lines
Diff to previous 1.134 , to selected 1.114
(form-number-stream-position): Use  read-source-form.

Revision 1.134 - (view) (annotate) - [select for diffs]
Wed Dec 15 22:40:42 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.133: +0 -9 lines
Diff to previous 1.133 , to selected 1.114
(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.133 - (view) (annotate) - [select for diffs]
Sun Dec 5 21:13:22 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.132: +28 -15 lines
Diff to previous 1.132 , to selected 1.114
(sending-safe-p): New predicate.
(pre-gc-hook, post-gc-hook): Use it.
(*install-gc-hooks*): New user variable.

Revision 1.132 - (view) (annotate) - [select for diffs]
Mon Nov 29 17:35:03 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.131: +2 -1 lines
Diff to previous 1.131 , to selected 1.114
(accept-connection): The :external-format argument defaults now to
:iso-latin-1-unix.

Revision 1.131 - (view) (annotate) - [select for diffs]
Fri Nov 26 07:06:31 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.130: +1 -1 lines
Diff to previous 1.130 , to selected 1.114
(read-into-simple-string): Use #-cmu19 instead of #+cmu18e.

Revision 1.130 - (view) (annotate) - [select for diffs]
Wed Nov 24 19:55:59 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.129: +45 -12 lines
Diff to previous 1.129 , to selected 1.114
(debug-var-value): Return #:invalid or #:unkown instead of :<not-available>.

(swank-compile-file): Load the fasl file only if load-p is true.

(inspect-for-emacs, inspect-alien-record, inspect-alien-pointer): Add
inspector support for some alien types.

Revision 1.129 - (view) (annotate) - [select for diffs]
Fri Nov 19 19:08:24 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.128: +30 -1 lines
Diff to previous 1.128 , to selected 1.114
(accept-connection): Accept external-format argument.

(inspect-for-emacs): Add CMUCL specific versions.

Revision 1.128 - (view) (annotate) - [select for diffs]
Mon Nov 15 22:59:44 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: MULTIBYTE-ENCODING
Changes since 1.127: +49 -2 lines
Diff to previous 1.127 , to selected 1.114
(sos/misc :flush-output): There seem to be funny signal safety issues
if the dedicated output stream is not used.  So, lets first reset the
buffer index before sending the buffer to the underlying stream.

(emacs-connected): Install GC hooks to display GC messages in the echo
area.

Revision 1.127 - (view) (annotate) - [select for diffs]
Mon Nov 1 17:18:56 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-1
Changes since 1.126: +9 -4 lines
Diff to previous 1.126 , to selected 1.114
(severity-for-emacs): Special case read-errors.

(read-error-location): Add the offset to the buffer start.

Revision 1.126 - (view) (annotate) - [select for diffs]
Thu Oct 28 21:34:36 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.125: +55 -36 lines
Diff to previous 1.125 , to selected 1.114
(set-step-breakpoints): Handle breakpoints at single-return points in
escaped frames better.  Previously we tried to set a breakpoint at the
current position and consequently was only hit during the next call.

(inspect-for-emacs)[function]: Call the next method only for
funcallable instances.

(profile-report, profile-reset, unprofile-all): We have to use eval
because the macro expansion depends on the value of *timed-functions*.
Reported by Chisheng Huang.

Revision 1.125 - (view) (annotate) - [select for diffs]
Tue Oct 26 00:32:08 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.124: +18 -3 lines
Diff to previous 1.124 , to selected 1.114
(read-error-location, signal-compiler-condition): Handle read-errors.

(swank-compile-file): Don't load the file if there was an error.

Revision 1.124 - (view) (annotate) - [select for diffs]
Mon Oct 25 16:17:57 2004 UTC (9 years, 5 months ago) by mbaringer
Branch: MAIN
Changes since 1.123: +24 -23 lines
Diff to previous 1.123 , to selected 1.114
(inspect-for-emacs function): Use next method's values and simply add
cmucl specific details.

Revision 1.123 - (view) (annotate) - [select for diffs]
Sun Oct 17 18:23:52 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.122: +21 -1 lines
Diff to previous 1.122 , to selected 1.114
(return-from-frame): Implemented by Jan Rychter.  Requires a recent CMUCL.

(inspect-for-emacs (code-component)): Disassemble the memory region if
there's not enough debug info.

Revision 1.122 - (view) (annotate) - [select for diffs]
Fri Oct 1 12:05:08 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.121: +7 -7 lines
Diff to previous 1.121 , to selected 1.114
(code-component-entry-points): Only include entry points with "valid"
functions names.  This excludes internal lambdas, which have usually
have usually a string as name, like "defun foo".

Revision 1.121 - (view) (annotate) - [select for diffs]
Thu Sep 23 21:33:51 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.120: +57 -60 lines
Diff to previous 1.120 , to selected 1.114
(frame-package): Implemented.

(inspect-for-emacs): Only include stuff that is actually in those
stored in the object itself (see objdef.lisp for exact object layout).
Include disassembly for functions and code components.

Revision 1.120 - (view) (annotate) - [select for diffs]
Sun Sep 19 06:17:19 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.119: +1 -1 lines
Diff to previous 1.119 , to selected 1.114
*** empty log message ***

Revision 1.119 - (view) (annotate) - [select for diffs]
Sun Sep 19 06:10:00 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.118: +190 -94 lines
Diff to previous 1.118 , to selected 1.114
(sis/in): Treat empty strings as end-of-file.

(map-allocated-code-components): Inhibit efficiency notes.

(arglist)[symbol] Delete unreachable code.

(sldb-break-on-return, sldb-break-at-start): Implement it
(sldb-step): Some cleanups.

Revision 1.118 - (view) (annotate) - [select for diffs]
Fri Sep 17 12:50:08 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.117: +10 -5 lines
Diff to previous 1.117 , to selected 1.114
(swank-mop): Export eql-specializer, eql-specializer-object and
specializer-direct-methods from swank-mop.
(inspect-for-emacs): Thinko fix.

Revision 1.117 - (view) (annotate) - [select for diffs]
Wed Sep 15 17:33:57 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.116: +14 -5 lines
Diff to previous 1.116 , to selected 1.114
(inspect-for-emacs): Insert function object's documentation when it's
available.

Revision 1.116 - (view) (annotate) - [select for diffs]
Tue Sep 14 16:01:06 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.115: +62 -41 lines
Diff to previous 1.115 , to selected 1.114
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.115 - (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.114: +77 -20 lines
Diff to previous 1.114
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.114 - (view) (annotate) - [selected]
Fri Sep 3 21:08:51 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-0
Changes since 1.113: +4 -1 lines
Diff to previous 1.113
(print-frame): Catch errors during printing.

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

Revision 1.112 - (view) (annotate) - [select for diffs]
Fri Jul 30 21:39:15 2004 UTC (9 years, 8 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-0-BETA
Changes since 1.111: +16 -8 lines
Diff to previous 1.111 , to selected 1.114
(call-with-debugging-environment): Only handle di::unhandled-condition
not all DI:DEBUG-CONDITIONs.

Revision 1.111 - (view) (annotate) - [select for diffs]
Mon Jul 19 14:00:17 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.110: +0 -2 lines
Diff to previous 1.110 , to selected 1.114
Removed some minor debug printouts.

Revision 1.110 - (view) (annotate) - [select for diffs]
Sun Jul 4 03:22:37 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.109: +10 -0 lines
Diff to previous 1.109 , to selected 1.114
(buffer-first-change): Suck the source file into the cache unless
already present. This is for M-. to increase the chances of our having
a copy of the sources corresponding with the loaded code. Should help
with the case where a user edits a file (without recompiling it) and
then M-.'s for one of its definitions.

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

Revision 1.108 - (view) (annotate) - [select for diffs]
Fri Jun 25 08:05:34 2004 UTC (9 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.107: +21 -10 lines
Diff to previous 1.107 , to selected 1.114
(frame-var-value): New backend function.

Revision 1.107 - (view) (annotate) - [select for diffs]
Wed Jun 16 20:25:25 2004 UTC (9 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.106: +9 -7 lines
Diff to previous 1.106 , to selected 1.114
(default-directory): Add implementation.

(sldb-step): Uncomment it and remove references to
*swank-debugger-condition*.

Revision 1.106 - (view) (annotate) - [select for diffs]
Tue Jun 8 20:32:50 2004 UTC (9 years, 10 months ago) by lgorrie
Branch: MAIN
CVS Tags: SLIME-0-14
Changes since 1.105: +1 -0 lines
Diff to previous 1.105 , to selected 1.114
(close-socket): Remove any SERVE-EVENT handlers for the socket's file
descriptor.

Revision 1.105 - (view) (annotate) - [select for diffs]
Mon Jun 7 18:37:54 2004 UTC (9 years, 10 months ago) by lgorrie
Branch: MAIN
Changes since 1.104: +38 -30 lines
Diff to previous 1.104 , to selected 1.114
Minor refactorings.

Revision 1.104 - (view) (annotate) - [select for diffs]
Sat May 22 08:14:39 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.103: +2 -1 lines
Diff to previous 1.103 , to selected 1.114
(arglist): Catch (reader) errors in read-arglist.

Revision 1.103 - (view) (annotate) - [select for diffs]
Mon May 17 00:21:24 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.102: +585 -420 lines
Diff to previous 1.102 , to selected 1.114
Some refactoring and high-level commenting. Mostly just trying to
organise things into fairly self-contained sections (my new hobby, sad
I know!)

Revision 1.102 - (view) (annotate) - [select for diffs]
Sat May 8 19:00:38 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.101: +48 -94 lines
Diff to previous 1.101 , to selected 1.114
*** empty log message ***

Revision 1.101 - (view) (annotate) - [select for diffs]
Tue May 4 19:02:36 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.100: +79 -7 lines
Diff to previous 1.100 , to selected 1.114
(arglist): Handle byte-code functions better.  We don't know much
about the actual argument list, only the number of arguments.  Return
at lest something mildy interesting like (arg0 arg1 &optional arg2 ...)

(function-location): Special-case byte-code functions.

Revision 1.100 - (view) (annotate) - [select for diffs]
Tue May 4 08:09:20 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.99: +24 -20 lines
Diff to previous 1.99 , to selected 1.114
(source-location-from-code-location): Fixed a bug where the
source-file-cache was not really used.  Now always report the location
based on source file (cached or not) even if modified -- not falling
back on regexps, which was probably a misfeature.

Revision 1.99 - (view) (annotate) - [select for diffs]
Sun May 2 02:19:35 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.98: +81 -12 lines
Diff to previous 1.98 , to selected 1.114
(code-location-stream-position): Position the argument stream at the
definition before returning.

(source-location-from-code-location): Include the :snippet hint for
Emacs (see above). The snippet will only be accurate provided that the
source file on disk has not been modified.

(*source-file-cache*) The contents of all source files consulted for
M-. are now cached if they match the version of the running code. This
is so that we can accurately lookup source locations even when the
file is modified, provided we manage to get the right version (by file
timestamp) at least once.

(source-location-from-code-location): If the right source version is
not available on disk or in our cache then let Emacs fall back on a
regular expression search.

Revision 1.98 - (view) (annotate) - [select for diffs]
Sun Apr 25 06:37:05 2004 UTC (10 years ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-12, SLIME-0-13
Changes since 1.97: +5 -5 lines
Diff to previous 1.97 , to selected 1.114
(arglist): Return :not-available if the arglist cannot be determined.

Revision 1.97 - (view) (annotate) - [select for diffs]
Wed Apr 21 19:46:40 2004 UTC (10 years ago) by heller
Branch: MAIN
Changes since 1.96: +14 -1 lines
Diff to previous 1.96 , to selected 1.114
(arglist): Return a list instead of the string.

Revision 1.96 - (view) (annotate) - [select for diffs]
Tue Apr 20 22:29:43 2004 UTC (10 years ago) by heller
Branch: MAIN
Changes since 1.95: +13 -5 lines
Diff to previous 1.95 , to selected 1.114
(definition-source-location): Make it backward compatible with 18e.
(class-definitions): Treat condition-classes like built-in classes
(i.e. give up) until we find a better solution.

Revision 1.95 - (view) (annotate) - [select for diffs]
Sat Apr 17 09:25:58 2004 UTC (10 years ago) by heller
Branch: MAIN
Changes since 1.94: +17 -8 lines
Diff to previous 1.94 , to selected 1.114
(source-location-tlf-number, source-location-form-number): New
functions.
(resolve-stream-source-location, resolve-file-source-location): Use them.

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

Revision 1.93 - (view) (annotate) - [select for diffs]
Wed Mar 31 22:46:04 2004 UTC (10 years ago) by heller
Branch: MAIN
Changes since 1.92: +70 -49 lines
Diff to previous 1.92 , to selected 1.114
(debug-function-arglist): Return symbols if possible.

(class-location): Support for experimental source-location recording.

Revision 1.92 - (view) (annotate) - [select for diffs]
Tue Mar 30 23:03:11 2004 UTC (10 years ago) by heller
Branch: MAIN
Changes since 1.91: +97 -24 lines
Diff to previous 1.91 , to selected 1.114
(method-dspec): Include the specializers.

(class-definitions): Renamed from struct-definitions.  Try to locate
condition-classes and PCL classes (in the future).

(debug-function-arglist): Insert &optional, &key, &rest in the right
places.

(form-number-stream-position): Make it a separate function.

Revision 1.91 - (view) (annotate) - [select for diffs]
Sat Mar 27 21:20:22 2004 UTC (10 years ago) by heller
Branch: MAIN
Changes since 1.90: +18 -3 lines
Diff to previous 1.90 , to selected 1.114
(debug-function-arglist): Reconstruct the arglist from the the
debug-arguments. (Not complete yet.)
(arglist): Use it.

Revision 1.90 - (view) (annotate) - [select for diffs]
Fri Mar 26 09:21:05 2004 UTC (10 years, 1 month ago) by mbaringer
Branch: MAIN
Changes since 1.89: +1 -5 lines
Diff to previous 1.89 , to selected 1.114
See ChangeLog entry 2004-03-26 Marco Baringer

Revision 1.89 - (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.88: +4 -0 lines
Diff to previous 1.88 , to selected 1.114
(set-default-directory): New backend function.

Revision 1.88 - (view) (annotate) - [select for diffs]
Fri Mar 12 21:12:57 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.87: +50 -51 lines
Diff to previous 1.87 , to selected 1.114
(find-definitions): Allow names (setf car).

Revision 1.87 - (view) (annotate) - [select for diffs]
Wed Mar 10 22:10:26 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.86: +60 -7 lines
Diff to previous 1.86 , to selected 1.114
(find-definitions): Include setf defintions compiler-macros and
transforms.

Revision 1.86 - (view) (annotate) - [select for diffs]
Wed Mar 10 18:49:47 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.85: +25 -9 lines
Diff to previous 1.85 , to selected 1.114
(struct-definitions, find-dd, type-definitions): New functions.
(find-definitions): Include struct and type definitions.

Revision 1.85 - (view) (annotate) - [select for diffs]
Wed Mar 10 15:43:22 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 , to selected 1.114
(unprofile-all): (eval '(profile:unprofile)) instead of just calling
it since it is a macro in cmucl.

Revision 1.84 - (view) (annotate) - [select for diffs]
Wed Mar 10 09:10:33 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 , to selected 1.114
more tweaking.

Revision 1.83 - (view) (annotate) - [select for diffs]
Wed Mar 10 08:24:44 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.82: +71 -58 lines
Diff to previous 1.82 , to selected 1.114
(find-definitions): Some tweaking.

Revision 1.82 - (view) (annotate) - [select for diffs]
Tue Mar 9 20:07:58 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.81: +2 -52 lines
Diff to previous 1.81 , to selected 1.114
Remove stupid conflicts.

Revision 1.81 - (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.80: +46 -0 lines
Diff to previous 1.80 , to selected 1.114
Minor modifications.

Revision 1.80 - (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.79: +154 -266 lines
Diff to previous 1.79 , to selected 1.114
Merge package-split branch into main trunk.

Revision 1.79.2.1 - (view) (annotate) - [select for diffs]
Tue Mar 9 08:57:25 2004 UTC (10 years, 1 month ago) by heller
Branch: package-split
Changes since 1.79: +154 -266 lines
Diff to previous 1.79 , to next main 1.245 , to selected 1.114
Implement changed backend interface and remove references to front end symbols.

Revision 1.79 - (view) (annotate) - [select for diffs]
Mon Mar 8 23:45:19 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-11
Branch point for: package-split
Changes since 1.78: +11 -4 lines
Diff to previous 1.78 , to selected 1.114
(read-into-simple-string): Use the correct fix.  Reported by Håkon
Alstadheim.

Revision 1.78 - (view) (annotate) - [select for diffs]
Sun Mar 7 16:41:11 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.77: +1 -1 lines
Diff to previous 1.77 , to selected 1.114
(frame-locals): Use #:not-available instead of "<not-available>".

Revision 1.77 - (view) (annotate) - [select for diffs]
Fri Mar 5 14:26:14 2004 UTC (10 years, 1 month ago) by mbaringer
Branch: MAIN
Changes since 1.76: +5 -5 lines
Diff to previous 1.76 , to selected 1.114
See ChangeLog entry 2004-03-05 Marco Baringer

Revision 1.76 - (view) (annotate) - [select for diffs]
Thu Mar 4 22:15:40 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.75: +10 -11 lines
Diff to previous 1.75 , to selected 1.114
(thread-alive-p): Add default implementation.

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

Revision 1.75 - (view) (annotate) - [select for diffs]
Wed Mar 3 20:55:38 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.74: +1 -6 lines
Diff to previous 1.74 , to selected 1.114
(call-with-compilation-hooks): Bind fewer variables. Most of them are already
bound in swank.lisp.

Revision 1.74 - (view) (annotate) - [select for diffs]
Wed Mar 3 07:28:48 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.73: +5 -9 lines
Diff to previous 1.73 , to selected 1.114
((resolve-note-location t nil nil nil nil)) Don't be too clever.

(compile-file-for-emacs): Use the :load argument to compile-file.

(inspect-in-frame): Deleted.

Revision 1.73 - (view) (annotate) - [select for diffs]
Mon Mar 1 09:02:15 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.72: +3 -0 lines
Diff to previous 1.72 , to selected 1.114
(kill-thread): Implemented.

Revision 1.72 - (view) (annotate) - [select for diffs]
Wed Feb 25 22:03:39 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.71: +2 -4 lines
Diff to previous 1.71 , to selected 1.114
(compile-file-for-emacs): Load the fasl file even irrespective of
COMILE-FILE's third return value.

Revision 1.71 - (view) (annotate) - [select for diffs]
Wed Feb 25 20:51:50 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.70: +4 -3 lines
Diff to previous 1.70 , to selected 1.114
(arglist-string): Delay the call to di::function-debug-function until
it is actually needed.

Revision 1.70 - (view) (annotate) - [select for diffs]
Tue Feb 24 23:31:34 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.69: +5 -4 lines
Diff to previous 1.69 , to selected 1.114
* 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.69 - (view) (annotate) - [select for diffs]
Mon Feb 23 07:21:07 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.68: +3 -1 lines
Diff to previous 1.68 , to selected 1.114
* swank.lisp (format-arglist): Bind *PRINT-PRETTY* to NIL.
(eval-in-emacs): Fix typo in docstring.

* swank-cmucl.lisp (arglist-string): Bind *PRINT-PRETTY* to NIL.

Revision 1.68 - (view) (annotate) - [select for diffs]
Sat Feb 21 16:42:19 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.67: +28 -18 lines
Diff to previous 1.67 , to selected 1.114
(fcntl): New function.
(add-sigio-handler, remove-sigio-handlers): Renamed.
(add-fd-handler,  remove-fd-handlers): Implement interface.

Revision 1.67 - (view) (annotate) - [select for diffs]
Wed Feb 18 19:31:49 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.66: +33 -0 lines
Diff to previous 1.66 , to selected 1.114
(read-into-simple-string): Workaround for bug in read-sequence.

Revision 1.66 - (view) (annotate) - [select for diffs]
Tue Feb 17 21:51:24 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.65: +6 -14 lines
Diff to previous 1.65 , to selected 1.114
(clear-xref-info): Compare the truenames with equalp instead of the
unix-truenames.  The old version was very inefficient (clearing the
tables with about 1000 entries required serveral seconds).

(xref-context-derived-from-p, pathname=): Delete unused functions.

Revision 1.65 - (view) (annotate) - [select for diffs]
Mon Feb 16 21:44:18 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.64: +11 -18 lines
Diff to previous 1.64 , to selected 1.114
(handle-notification-condition): Don't use the context of the previous
message.
(signal-compiler-condition): Set short message slot.
(long-compiler-message-for-emacs): New function.

(sigio-handler): Ignore arguments.

Revision 1.64 - (view) (annotate) - [select for diffs]
Sun Feb 8 20:11:20 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63 , to selected 1.114
(create-socket): Fix last change.  Use the proper port argument down.

Revision 1.63 - (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.62: +4 -7 lines
Diff to previous 1.62 , to selected 1.114
(create-socket): Take interface as argument.

Revision 1.62 - (view) (annotate) - [select for diffs]
Sat Feb 7 22:31:11 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.61: +33 -2 lines
Diff to previous 1.61 , to selected 1.114
Implement more threading functions.

Revision 1.61 - (view) (annotate) - [select for diffs]
Sat Feb 7 19:30:05 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.60: +8 -24 lines
Diff to previous 1.60 , to selected 1.114
Update for modified thread interface.

Revision 1.60 - (view) (annotate) - [select for diffs]
Sat Feb 7 11:40:09 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.59: +13 -13 lines
Diff to previous 1.59 , to selected 1.114
(gf-definition-location): Return an error when pathname for the GF is
nil (this happens if the GF is not-compiled from a file).

Revision 1.59 - (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.58: +38 -15 lines
Diff to previous 1.58 , to selected 1.114
Merge stateless-emacs branch into main trunk.

Revision 1.57.2.1 - (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.57: +38 -15 lines
Diff to previous 1.57 , to next main 1.245 , to selected 1.114
Use signal driven IO for CMUCL and SBCL.  Use one thread per request
for multithreaded lisps.

Revision 1.58 - (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.57: +143 -25 lines
Diff to previous 1.57 , to selected 1.114
Profiler support.  Patch by Michael Weber.

Revision 1.57 - (view) (annotate) - [select for diffs]
Thu Jan 22 00:38:48 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
CVS Tags: STATELESS-EMACS
Branch point for: stateless-emacs
Changes since 1.56: +11 -18 lines
Diff to previous 1.56 , to selected 1.114
Replace some defmethods with defimplementation.

Revision 1.56 - (view) (annotate) - [select for diffs]
Mon Jan 19 20:14:35 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.55: +59 -58 lines
Diff to previous 1.55 , to selected 1.114
Updated to use `defimplementation'.

Revision 1.55 - (view) (annotate) - [select for diffs]
Sun Jan 18 07:39:56 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.54: +4 -0 lines
Diff to previous 1.54 , to selected 1.114
(inspected-parts-of-value-cell): Was lost during the inspector refactoring.

Revision 1.54 - (view) (annotate) - [select for diffs]
Sun Jan 18 07:10:21 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.53: +19 -17 lines
Diff to previous 1.53 , to selected 1.114
(arglist-string): Use pcl:generic-function-lambda-list for generic
functions.  Handle closures.  Print arglist in lower case.

Revision 1.53 - (view) (annotate) - [select for diffs]
Sat Jan 17 10:23:19 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.52: +4 -3 lines
Diff to previous 1.52 , to selected 1.114
(arglist-string): Handle zero argument functions correctly.

Revision 1.52 - (view) (annotate) - [select for diffs]
Sat Jan 17 09:59:48 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.51: +3 -2 lines
Diff to previous 1.51 , to selected 1.114
(arglist-string): Handle generic functions better.  Reported by Ivan
Boldyrev.

Revision 1.51 - (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.50: +1 -107 lines
Diff to previous 1.50 , to selected 1.114
Refactor inspector code.

Revision 1.50 - (view) (annotate) - [select for diffs]
Thu Jan 15 18:30:30 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.49: +4 -0 lines
Diff to previous 1.49 , to selected 1.114
(remove-input-handlers): New method.

Revision 1.49 - (view) (annotate) - [select for diffs]
Thu Jan 15 11:41:59 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.48: +27 -18 lines
Diff to previous 1.48 , to selected 1.114
Implemented new multiprocessing interface.

(create-socket): Make FDs non-blocking when multiprocessing is
enabled.

(startup-multiprocessing): Set *swank-in-background* to :spawn.

Revision 1.48 - (view) (annotate) - [select for diffs]
Tue Jan 13 22:48:25 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.47: +2 -0 lines
Diff to previous 1.47 , to selected 1.114
(*swank-in-background*): Set to :fd-handler.

Revision 1.47 - (view) (annotate) - [select for diffs]
Tue Jan 13 18:20:04 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.46: +24 -33 lines
Diff to previous 1.46 , to selected 1.114
(create-socket, local-port, close-socket, accept-connection)
(add-input-handler, spawn): Implement new socket interface.

Revision 1.46 - (view) (annotate) - [select for diffs]
Tue Jan 13 04:22:07 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.45: +26 -29 lines
Diff to previous 1.45 , to selected 1.114
Updated for new network interface.

Revision 1.45 - (view) (annotate) - [select for diffs]
Mon Jan 12 00:52:25 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.44: +62 -97 lines
Diff to previous 1.44 , to selected 1.114
(create-socket-server): Generic TCP server driven by SERVE-EVENT.

(serve-one-request, open-stream-to-emacs): Deleted. Now handled
portably in swank.lisp.

(make-fn-streams): Implement new stream-redirection interface.

(slime-input-stream): New slot referencing output sibling, so it can
be forced before input requests.

Revision 1.44 - (view) (annotate) - [select for diffs]
Sat Jan 10 06:45:05 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
CVS Tags: SLIME-0-10
Changes since 1.43: +41 -39 lines
Diff to previous 1.43 , to selected 1.114
Don't enable xref (let the user decide).

(set-fd-non-blocking): Removed unused function.

Miscellaneous refactoring of the networking code.

Revision 1.43 - (view) (annotate) - [select for diffs]
Fri Jan 2 18:23:14 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.42: +20 -48 lines
Diff to previous 1.42 , to selected 1.114
(format-condition-for-emacs): Replaced with debugger-condition-for-emacs.

(backtrace): Use print-with-frame-label.

(frame-locals): Rename the :symbol property to :name.

Revision 1.42 - (view) (annotate) - [select for diffs]
Mon Dec 15 05:28:21 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.41: +50 -0 lines
Diff to previous 1.41 , to selected 1.114
Implmemented the multiprocessing interface.

Revision 1.41 - (view) (annotate) - [select for diffs]
Sun Dec 14 07:48:43 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.40: +8 -17 lines
Diff to previous 1.40 , to selected 1.114
(compile-system-for-emacs): Add method for CMUCL.

Revision 1.40 - (view) (annotate) - [select for diffs]
Fri Dec 12 22:52:02 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.39: +68 -35 lines
Diff to previous 1.39 , to selected 1.114
(create-swank-server): New keyword arguments to control the server:
BACKGROUND and CLOSE.  fd-handlers are used if BACKGROUND is true.  If
close CLOSE is true close the socket after the first connection; keep
it open otherwise.
*start-swank-in-background*, *close-swank-socket-after-setup*:
The default values of corresponding arguments for create-swank-server.

(compile-file-for-emacs): Don't load the fasl-file the compile failed.

Revision 1.39 - (view) (annotate) - [select for diffs]
Fri Dec 12 03:22:36 2003 UTC (10 years, 4 months ago) by dbarlow
Branch: MAIN
Changes since 1.38: +2 -102 lines
Diff to previous 1.38 , to selected 1.114
	* swank-source-path-parser.lisp: new file, excerpting part of
	swank-cmucl.lisp to where SBCL can find it as well.

Revision 1.38 - (view) (annotate) - [select for diffs]
Thu Dec 11 02:19:51 2003 UTC (10 years, 4 months ago) by dbarlow
Branch: MAIN
Changes since 1.37: +7 -6 lines
Diff to previous 1.37 , to selected 1.114
        * 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.37 - (view) (annotate) - [select for diffs]
Wed Dec 10 23:16:58 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.36: +60 -41 lines
Diff to previous 1.36 , to selected 1.114
(accept-connection, request-loop): Don't use fd-handlers. The code is
now almost identical request-loop itself is now almost identical as
the Allegro version.
(print-ir1-converted-blocks, expand-ir1-top-level): New functions.

Revision 1.36 - (view) (annotate) - [select for diffs]
Wed Dec 10 13:20:47 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-9
Changes since 1.35: +40 -6 lines
Diff to previous 1.35 , to selected 1.114
(create-swank-server): Use announce callback.
(sldb-disassemble): New function.

Revision 1.35 - (view) (annotate) - [select for diffs]
Mon Dec 8 01:43:00 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 , to selected 1.114
(*debug-definition-finding*): Now nil by default.

Revision 1.34 - (view) (annotate) - [select for diffs]
Sun Dec 7 19:16:24 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.33: +1 -1 lines
Diff to previous 1.33 , to selected 1.114
(function-source-locations): Is replaces
function-source-location-for-emacs. Make it at generic function.
(function-source-location-for-emacs): Remove.

Revision 1.33 - (view) (annotate) - [select for diffs]
Thu Dec 4 21:33:27 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.32: +42 -6 lines
Diff to previous 1.32 , to selected 1.114
(format-frame-for-emacs, compute-backtrace, backtrace): Don't send
CMUCL's frame numbers to Emacs, use our own numbering.
(set-step-breakpoints, sldb-step): Lisp side of sldb-step command.

Revision 1.32 - (view) (annotate) - [select for diffs]
Wed Dec 3 22:34:50 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.31: +46 -30 lines
Diff to previous 1.31 , to selected 1.114
(create-swank-server): Set reuse-address to t by default.
(resolve-note-location): Add method for warnings in interpreted code.
(who-specializes): New function.
(dd-source-location): Handle case without constructors more correctly.
(source-path-source-position): Skip ambigous entries in source-map.
(source-location-from-code-location): Simplified.

Revision 1.31 - (view) (annotate) - [select for diffs]
Mon Dec 1 22:30:03 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 , to selected 1.114
(invoke-nth-restart): Use invoke-restart-interactively.

Revision 1.30 - (view) (annotate) - [select for diffs]
Sun Nov 30 08:09:44 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.29: +172 -125 lines
Diff to previous 1.29 , to selected 1.114
Use the format for source locations.
(find-function-locations): New function.  Replaces
function-source-location-for-emacs.  Returns a list of
source-locations.

(resolve-note-location): Renamed from resolve-location.  Simplified.
(brief-compiler-message-for-emacs): Print the source context (that's
the thing after ==>).

(who-xxxx): Take strings, not symbols, as arguments.
(function-callees, function-callers): Use the same format as the
who-xxx functions.  Support for byte-compiled stuff.

(code-location-stream-position): Try to be clever is the source path
doesn't match the form.

(call-with-debugging-environment): Bind *print-readably* to nil.

Revision 1.29 - (view) (annotate) - [select for diffs]
Sat Nov 29 07:58:00 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.28: +73 -42 lines
Diff to previous 1.28 , to selected 1.114
(code-location-source-location): Renamed from
safe-source-location-for-emacs.
(code-location-from-source-location): Renamed from
source-location-for-emacs.
(find-fdefinitions, function-source-locations): New functions.
(safe-definition-finding): New macro.

Revision 1.28 - (view) (annotate) - [select for diffs]
Fri Nov 28 12:09:25 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.27: +28 -9 lines
Diff to previous 1.27 , to selected 1.114
Support for output redirection to an Emacs buffer via a dedicated
network stream.  Can be enabled with *use-dedicated-output-stream*.

Revision 1.27 - (view) (annotate) - [select for diffs]
Thu Nov 27 00:42:42 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.26: +42 -3 lines
Diff to previous 1.26 , to selected 1.114
(function-source-location): Better support for generic functions.
(genericp, gf-definition-location, method-source-location,
gf-method-locations, gf-source-locations): New functions.
(describe-symbol-for-emacs): Mark generic functions as such.

Revision 1.26 - (view) (annotate) - [select for diffs]
Sun Nov 23 14:16:42 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
Changes since 1.25: +8 -8 lines
Diff to previous 1.25 , to selected 1.114
Updated to use new debugger interfaces in swank-backend.lisp.

Revision 1.25 - (view) (annotate) - [select for diffs]
Sun Nov 23 12:14:04 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
Changes since 1.24: +160 -162 lines
Diff to previous 1.24 , to selected 1.114
Updated to use new debugger interface in swank-backend.lisp.

* swank-cmucl.lisp: Tidied up outline-minor-mode structure and
added comments and docstrings.

Revision 1.24 - (view) (annotate) - [select for diffs]
Sun Nov 23 05:00:13 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
Changes since 1.23: +95 -102 lines
Diff to previous 1.23 , to selected 1.114
* 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.

Revision 1.23 - (view) (annotate) - [select for diffs]
Wed Nov 19 12:37:37 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-8
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 , to selected 1.114
(format-frame-for-emacs): Bind *print-pretty* to *sldb-pprint-frames*.
(pprint-eval-string-in-frame): Handle mutliple values.

Revision 1.22 - (view) (annotate) - [select for diffs]
Sun Nov 16 18:05:37 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.21: +12 -6 lines
Diff to previous 1.21 , to selected 1.114
(without-interrupts*): New function.

Revision 1.21 - (view) (annotate) - [select for diffs]
Sat Nov 15 10:12:38 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 , to selected 1.114
(sos/out): Don't flush the buffer on new-lines.

Revision 1.20 - (view) (annotate) - [select for diffs]
Thu Nov 13 22:45:27 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19 , to selected 1.114
((resolve-location t pathname t t t)): Emacs buffer positions are 1
based.  Add 1 to the 0 based file-position.

Revision 1.19 - (view) (annotate) - [select for diffs]
Thu Nov 13 00:20:06 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.18: +248 -176 lines
Diff to previous 1.18 , to selected 1.114
Do the source-path -> byte-offset translation on the Lisp side.
(make-compiler-note, resolve-location): New functions.
*swank-source-info*: New variable.

(code-location-file-position): Only read the source once.  (We used
CMUCL's get-translations, which also reads the file.)
(source-location-for-emacs): Cleanups.

(map-allocated-code-components): Inline vm::map-allocated-objects and
declare the SIZE as fixnum to avoid excessive consing.

(sos/out): Fix off-by-one bug.

Revision 1.18 - (view) (annotate) - [select for diffs]
Sat Nov 8 00:39:31 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-7
Changes since 1.17: +119 -13 lines
Diff to previous 1.17 , to selected 1.114
(briefly-describe-symbol-for-emacs): Add support for alien-types.
(describe-alien-type, %describe-alien, describe-alien-struct,
 describe-alien-union,  describe-alien-enum): New functions.

(source-path-file-position): Read the entire expression with special
readtable.  The readtable records source positions for each read
sub-expression in a hashtable.  Extract the subexpression for the
source path from the read object and lookup the subexpression in the
hashtable to find its source position.

(read-and-record-source-map,
make-source-recorder, make-source-recording-readtable,
make-source-map, *source-map*, lookup-recording-readtable,
source-path-stream-position, find-path-in-form,
find-form-in-source-map)  New functions.

Revision 1.17 - (view) (annotate) - [select for diffs]
Mon Nov 3 23:22:41 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.16: +10 -45 lines
Diff to previous 1.16 , to selected 1.114
(arglist-string): Don't intern the function name.  Use find-symbol-designator
instead.

Revision 1.16 - (view) (annotate) - [select for diffs]
Sun Nov 2 23:08:03 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.15: +108 -46 lines
Diff to previous 1.15 , to selected 1.114
Input redirection works now on the line level, like a tty.
Output streams are now line buffered.
We no longer compute the backtrace-length.

Revision 1.15 - (view) (annotate) - [select for diffs]
Sat Nov 1 15:43:05 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.14: +7 -5 lines
Diff to previous 1.14 , to selected 1.114
(slime-input-stream-misc-ops): Renamed from slime-input-stream-misc.

Revision 1.14 - (view) (annotate) - [select for diffs]
Fri Oct 31 16:56:52 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.13: +17 -21 lines
Diff to previous 1.13 , to selected 1.114
(slime-input-stream, slime-input-stream-read-char,
slime-input-stream-misc): Character input stream from Emacs.

(slime-input-stream/n-bin): Removed.

Revision 1.13 - (view) (annotate) - [select for diffs]
Wed Oct 29 23:45:58 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.12: +13 -17 lines
Diff to previous 1.12 , to selected 1.114
(serve-request): Bind a a slime-toplevel catcher. Handle
SLIME-READ-ERRROs.

(sldb-loop): Flush output at the beginning.

(inspect-in-frame): New function.

(frame-locals): Don't send the validity indicator across wire.  Too
cmucl specific.

(sldb-continue, throw-to-toplevel): Moved to swank.lisp

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

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

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

"Won't stay branched for long!"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

   * swank-loader.lisp: New file.

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

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

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

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

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

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

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

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

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

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5