Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
|Links to SLIME-0-4:||(view) (annotate)|
Minor protocol changes to accomodate slime.el's changes.
(getpid, set-package, set-default-directory): New functions. (slime-out-misc): Don't send empty strings. (*redirect-output*, read-from-emacs): A new switch to turn output redirection off. Useful for debugging. (interactive-eval, interactive-eval-region, pprint-eval, re-evaluate-defvar): Bind *package* to *buffer-package*. (with-trapping-compilation-notes): Add a dummy argumetn for better indentation. (measure-time-intervall, call-with-compilation-hooks): Measure compilation time. (frame-locals): Use di::debug-function-debug-variables instead of di:ambiguous-debug-variables. Don't access non-valid variables.
(create-swank-server): Bind the listen-socket on the loopback interface by default, so that remote machines can't connect to the Swank server.
(with-trapping-compilation-notes): New macro for bindings the handlers to record compiler notes. Now being used in `compile-string', which I had broken when removing the compilation hook.
(handle-notification-condition): Rewrote compiler-note collection. Now it uses lower-level condition handlers instead of c:*compiler-notification-function*. This way the error messages are tailored to omit redundant information, like the filename and original source text (which are displayed and highlighted in Emacs already). Much nicer. (sort-contexts-by-source-path): Now sorting xref results by lexical source-path order, so that you're always jumping in the same direction. (*debug-definition-finding*): New variable. You can set this to true if you want to be popped into the debugger when M-. fails to find a definition (for debugging the definition-finding). Otherwise it reports the error to Emacs as a message, like "Error: SETQ is a special form."
Did a little defensive programming so that asking for the definition of an unbound function will return nil to Emacs instead of entering the debugger. (format-frame-for-emacs): Binding *PRETTY-PRINT* to nil when formatting frames (due to related change of setting `truncate-lines' in sldb buffer of slime.el).
Support for stream redirection. slime-output-stream: New structure. (slime-out-misc): New function. *slime-output*: New variable. (read-from-emacs): Redirect output to *slime-output*. (read-form): Bind *package* inside the standard-io-syntax macro. (eval-string): Read the string with read-form. (completions): Support for keyword completion.
(completions): Moved most of the completion code to Lisp. (string-prefix-p): Be case insensitive.
(who-calls, who-references, who-binds, who-sets, who-macroexpands): New function. (present-symbol-before-p): Use `*buffer-package*' when checking accessibility of symbols.
(print-error-message): Pass all error messages to *compiler-notification-function*.
Pruned dead/commented function.
(handle-notification): Skipping null notifications. For some reason CMUCL occasionally calls us with NIL as each argument.
(interactive-eval-region): New function. (re-evaluate-defvar): New function. (compile-defun): Install handler for compiler-errors. (function-first-code-location): Simplified.
(read-string, from-string): Renamed read-string to from-string. (to-string) New function. (arglist-string): Catch reader errors. (sldb-loop): Also bind *readstrable*.
(function-source-location, function-source-location-for-emacs): New functions to extract source locations from compiled code. For struct-accessors we try to find the source location of the corresponding constructor. (list-all-package-names): New function. (toggle-trace-fdefinition, tracedp): New functions.
Moved many CL fragments from slime.el to swank.lisp. (defslimefun): New macro.
(apropos-list-for-emacs): Hacked the apropos listing to accept more options and to specially sort results.
(serve-request, read-next-form): Don't bind any handlers that are visible in the code we are going to evaluate. (prin1-to-string-for-emacs): Bind print-readably to t. (eval-string-async): Renamed to eval-string. (eval-string): Don't catch reader errors. Return either OK, ABORTED or DEBUGGER-HOOK (used to be (CALL-CONTINUATION (OK | ABORT)) and DEBUGGER-HOOK). *buffer-package*: New variable. (read-string): New function. (sldb-loop): Report unhandled debug-conditions to Emacs.
Debugger from Helmut, new communication protocol.
(symbol-external-p): Put back this function which was lost in a merge.
Large patch from Helmut Eller. Includes: apropos, describe, compile-defun, fully asynchronous continuation-based wire interface, interactive evaluation, and more. Very nice :-)
(find-fdefinition): Support for finding function/macro definitions for Emacs.
Completion now works for internal symbols. i.e. 'package::foo' can be used to complete non-exported symbols. Some cleanups.
Imported from slime-0.2
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.
|Powered by ViewVC 1.1.5|