Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
|Links to SLIME-1-1:||(view) (annotate)|
(inspect-for-emacs): Use excl::external-fn_symdef to get the function documentation.
(find-fspec-location): excl:source-file can return stuff like (:operator ...); try to handle it.
Export eql-specializer, eql-specializer-object and specializer-direct-methods from swank-mop.
It's -> Its
2004-09-14 Thomas Schilling <email@example.com> * swank-allegro.lisp (inspect-for-emacs): Update for new inspect-for-emacs protocol.
2004-09-14 Marco Baringer <firstname.lastname@example.org> * 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.
2004-09-14 Thomas Schilling <email@example.com> * swank-allegro.lisp (inspected-parts): Implement inspector for structs.
2004-09-13 Marco Baringer <firstname.lastname@example.org> * 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.
2004-09-13 Marco Baringer <email@example.com> * swank.lisp: New inspector protocol. The lisp side now returns a specially formated list of "things" to format which are then passed to emacs and rendered in the inspector buffer. Things can be either text, recursivly inspectable values, or functions to call. (inspected-parts): Redefine for new inspector protocol. (*inspectee-parts*): Redefine as array. (*inspectee-actions*): New array, similar to *inspectee-parts*. (reset-inspector): Update for new implementation of *inspectee-parts* and new variable *inspectee-actions*. (inspector-contents-for-emacs): New function. (inspect-object): Update for new inspector protocol. (inspector-nth-part): Update for new *inspectee-parts* implementation. (inspector-call-nth-action): New function. * slime.el (slime-inspector-action-face): New face. (slime-open-inspector): Adapt to new inspector protocol. (slime-inspector-operate-on-point): New function, subsumes slime-inspector-inspect-object-at-point. (slime-inspector-next-inspectable-object): Skip to next object, not just end of current object; wrap around buffer. (slime-inspector-mode-map): change bindings of [return] and "\C-m" * swank-bacend.lisp (swank-mop): New package. Simply defines all the MOP related symbols we need from an implementation. (arglist): Update doc string. Provide default implementation. (function-name): New backend function. * swank-allegro.lisp (swank-mop, slot-definition-documentation): Implement. * swank-sbcl.lisp (swank-mop, slot-definition-documentation, function-name): Implement. * swank-openmcl.lisp (swank-mop, function-name): Implement. (arglist): Implement for function objects.
(find-fspec-location): Catch errors in excl:source-file.
Adding directory argument to swank-compile-string.
(swank-compile-string): Use #\; instead of #\: to separate the position from the buffer-name.
(find-fspec-location): Include the type of the definition in the designator sent to Emacs.
(find-fspec-location): Fixed to work for more types of definition than just functions. So M-. now works for e.g. classes in Allegro. Patch from Matthew Danish.
Removed fwrapper-based code for inheriting "swankiness" to newly spawned threads. This was fighting the system and not the right thing.
(swank-compile-string): Use a temporary file and set excl::*source-pathname* manually. This way we can find the source buffer of functions compiled with C-c C-c. (call-with-temp-file, compile-from-temp-file): New functions. (list-callers, function-callers, in-constants-p) (map-function-constants): Implements list callers by groveling through all fbound symbols.
*** empty log message ***
Changed reader conditionals to use fwrappers for #+(version>= 6.2).
(make-stream-interactive): Set interactive-stream-p slot on the stream to make it auto-flush. (*swank-thread*, *inherited-bindings*): New variables. (spawn): Bind *swank-thread* to T. (make-process/inherit): Fwrapper (advice) for mp:make-process. When *swank-thread* is T then make the new thread inherit "sliminess": debugger hook, I/O streams, and also *swank-thread* so that its children will inherit too.
(nth-frame): Skip frames where frame-visible-p is false.
(compute-backtrace): Only include frames satisfying `debugger:frame-visible-p'. I did this as a lame workaround for a problem where `output-frame' was segfaulting on certain frames, and those frames happened not to be visible-p. I don't know if it really fixes anything.
(thread-id, find-thread): New backend function.
(frame-var-value): New backend function.
Use `unbound-slot-filler' for unbound inspector slots.
From Matthew Danish: Implemented frame-source-location-for-emacs.
(emacs-connected): Pass the redirected stream as argument, so that the OpenMCL backend can add it to CCL::*AUTO-FLUSH-STREAMS*.
(default-directory, call-with-syntax-hooks): Add implementations as workarounds for ACL5 bugs.
(format-sldb-condition, condition-references): Add workarounds for buggy no-applicable-method.
Implemented. Wrap IMPORT call in EVAL-WHEN.
(fspec-primary-name): New function. (find-fspec-location): Use it, if the start position cannot be found.
(find-fspec-location): Better handling of methods. Reported by Bill Clementson.
(arglist): Return :not-available if arglist lookup fails with an error.
Slight tweak to just checked in Allegro-specifc set-default-directory.
Allegro specific version of set-default-directory
See ChangeLog entry 2004-04-06 Marco Baringer
(send): Fix misplaced parens. (From Bill Clementson)
(send): Wait a bit if there are already many message in the mailbox.
(swank-compile-string): Be friendly to case-inverting readtables.
(find-definitions): Some tweaking.
Remove stupid conflicts.
Merge package-split branch into main trunk.
See ChangeLog entry 2004-03-05 Marco Baringer
(thread-alive-p): Add default implementation. (describe-primitive-type): Add default implementation. (inspected-parts): Implemented for Allegro and CLISP.
(call-with-compilation-hooks): Bind fewer variables. Most of them are already bound in swank.lisp.
(lisp-implementation-type-name): Implement it.
(create-socket): Take interface as argument.
Update for modified thread interface.
Merge stateless-emacs branch into main trunk.
(return-from-frame, restart-name): Implement interface (partly).
Replace defmethod with defimplementation. (eval-in-frame): Implemented.
(arglist-string): Refactor common code to swank.lisp. (call-without-interrupts, getpid): Are now generic functions.
Add multiprocessing support.
(excl:stream-read-char-no-hang): Import it. (emacs-connected): Add default method. The method for no-applicable-method doesn't seem to work. ACL bug?
(create-socket, local-port, close-socket, accept-connection) (add-input-handler, spawn): Implement new socket interface.
(format-condition-for-emacs): Replaced with debugger-condition-for-emacs. (backtrace): Use print-with-frame-label. (frame-locals): Rename the :symbol property to :name.
(create-swank-server): Add support for BACKGROUND and CLOSE argument. (call-with-debugging-environment): Use excl::int-newest-frame to avoid the kludge with *break-hook*. (sldb-abort): Add Allegro support. (frame-source-location-for-emacs): Add dummy definition. (compile-file-for-emacs): The argument is called :load-after-compile and not :load. (xref-results-for-emacs): Use dolist instead of loop.
(create-swank-server): Accept an announce-function keyword argument.
(function-source-locations): Is replaces function-source-location-for-emacs. Make it at generic function. (function-source-location-for-emacs): Remove.
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|