Index: slime/ChangeLog diff -u slime/ChangeLog:1.2021 slime/ChangeLog:1.2029 --- slime/ChangeLog:1.2021 Sun Mar 7 11:22:17 2010 +++ slime/ChangeLog Tue Mar 9 03:15:05 2010 @@ -1,3 +1,86 @@ +2010-03-09 Helmut Eller heller@common-lisp.net + + Some more fixes for Allegro + + * swank-allegro.lisp (function-source-location): Use + xref::object-to-function-name which seems to work better for some + cases. + (fspec-definition-locations): For :top-level-forms return a list + of ((fspec loc)) not just (fspec loc). Also deal with the file + vs. buffer issue. + (ldb-code-to-src-loc): Don't use *temp-file-map* before it is + declared. + +2010-03-08 Stas Boukarev stassats@gmail.com + + * slime.el (slime-extract-context): Add defvar and defparameter. + +2010-03-08 Helmut Eller heller@common-lisp.net + + Fix some of the brokeness in the last change. + + * swank-allegro.lisp (frame-source-location): Deal with frames for + undefined functions better. + (ldb-code-to-src-loc): Handle temp-files properly. + +2010-03-08 Helmut Eller heller@common-lisp.net + + Try to use source-level debugging features in Allegro 8.2 + + * swank-allegro.lisp (disassemble-frame): Use undocumented + debugger::dyn-fd-analyze to figure out the PC and display it. + (pc-source-location, ldb-code-to-src-loc, longest-common-prefix) + (source-paths-of): New functions. + (frame-source-location): Use pc-source-location. Still far from + optimal since Allegro rarely records source regions and anonymous + functions don't seem to carry source level debug-info at all. + (*temp-file-map*, buffer-or-file-location, find-fspec-location): + Use a table to map temp-file names back to Emacs buffers instead + of putting an eval-when-compile form in the source. The + eval-when-compile form messed up source positions. + (*temp-file-header-end-position*, find-definition-in-buffer): + Deleted. + (compile-from-temp-file): Bind excl:*load-source-debug-info* and + compiler:save-source-level-debug-info-switch so that Allegro + doesn't try to load debug-info from deleted files. Also put + the filename in *temp-file-map*. + +2010-03-08 Tobias C. Rittweiler tcr@freebits.de + + * swank.lisp (dispatch-interrupt-event): Take a connection because + it boils down to SIGNAL-INTERRUPT which uses USE-THREADS-P which + needs a connection. + (install-fd-handler): Adapted accordingly. + (simple-serve-event): Adapted accordingly. Additionally, remove + superfluous WITH-SWANK-PROTOCOL-HANDLER as that's established by + WITH-CONNECTION already. + (simple-repl): Show "abort inferior lisp" restart only if not a + more appropriate "abort some REX" restart is available. Also make + sure to return in case of END-OF-FILE, otherwise there's an + infinite loop where we end up in the debugger again and again + until the user eventually selects close-connection restart himself. + (make-repl-input-stream): Use WITH-TOP-LEVEL-RESTART so + `sldb-quit' can be used in SLDB. + +2010-03-08 Tobias C. Rittweiler tcr@freebits.de + + * swank.lisp (close-connection): Include initially passed + coding-system in debugging output. + +2010-03-08 Tobias C. Rittweiler tcr@freebits.de + + Make swank:connection-info include information about initially + passed coding-system, and the resulting external-format of the + socket. Debugging aid. + + * swank.lisp (connection.external-format): New function. + (start-server, create-server): Pass down coding-system, not + external-format. + (setup-server): Pass down both, coding-system and external-format. + (serve-connection): Ditto. + (create-connection): Set coding-system slot of CONNECTION. + (connection-info): Include coding-system and external-format. + 2010-03-07 Helmut Eller heller@common-lisp.net
* swank-allegro.lisp (count-cr): Deleted. No longer used. Index: slime/contrib/ChangeLog diff -u slime/contrib/ChangeLog:1.351 slime/contrib/ChangeLog:1.353 --- slime/contrib/ChangeLog:1.351 Sun Mar 7 12:04:00 2010 +++ slime/contrib/ChangeLog Mon Mar 8 11:35:06 2010 @@ -1,7 +1,16 @@ +2010-03-08 Stas Boukarev stassats@gmail.com + + * swank-fancy-inspector.lisp (all-slots-for-inspector): Sort class + names when grouping by inheritance the same way as slots are sorted. + +2010-03-08 Stas Boukarev stassats@gmail.com + + * slime-repl.el (slime-call-defun): Work also on defvar/defparameter. + 2010-03-07 Stas Boukarev stassats@gmail.com
- * swank-fancy-inspector.lisp (stable-sort-by-inheritance): Remove copy-seq, - unnecessarily put in the previous commit. + * swank-fancy-inspector.lisp (stable-sort-by-inheritance): Remove + copy-seq, unnecessarily put in the previous commit.
2010-03-07 Stas Boukarev stassats@gmail.com
+2010-03-08 Tobias C. Rittweiler tcr@freebits.de
- swank.lisp (dispatch-interrupt-event): Take a connection because
- it boils down to SIGNAL-INTERRUPT which uses USE-THREADS-P which
- needs a connection.
- (install-fd-handler): Adapted accordingly.
- (simple-serve-event): Adapted accordingly. Additionally, remove
- superfluous WITH-SWANK-PROTOCOL-HANDLER as that's established by
- WITH-CONNECTION already.
There is no function (or symbol) `simple-serve-event' defined in swank.lisp (or any other .lisp/.el file). Is `simple-serve-requests' intended here instead?