1. 07 Apr, 2012 1 commit
  2. 27 Nov, 2011 1 commit
    • Helmut Eller's avatar
      * swank.lisp (create-server): Add a :backlog argument. · a259dee0
      Helmut Eller authored
      (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:
      a259dee0
  3. 06 Nov, 2011 1 commit
    • Helmut Eller's avatar
      * swank-abcl.lisp (accept-connection): Make it so. · 1bfb920b
      Helmut Eller authored
      * 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.
      1bfb920b
  4. 06 May, 2010 1 commit
  5. 02 Mar, 2010 1 commit
    • sboukarev's avatar
      * slime.el (slime-compile-and-load-file): Accept C-u arguments for · 326a9a8e
      sboukarev authored
      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.
      326a9a8e
  6. 02 Nov, 2009 1 commit
  7. 10 Aug, 2009 1 commit
    • Helmut Eller's avatar
      Separate context info from compiler message text. · 897027d4
      Helmut Eller authored
      * 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.
      897027d4
  8. 21 Jun, 2009 1 commit
  9. 10 Jan, 2009 1 commit
  10. 08 Jan, 2009 1 commit
  11. 30 Dec, 2008 1 commit
    • Tobias C. Rittweiler's avatar
      As of now, `C-u C-c C-c' compiled a function with maximum debug · 4d09243b
      Tobias C. Rittweiler authored
      	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.
      4d09243b
  12. 17 Oct, 2008 1 commit
    • Helmut Eller's avatar
      * swank-backend.lisp (frame-restartable-p): New function. · d92d7eaa
      Helmut Eller authored
      (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.
      d92d7eaa
  13. 16 Oct, 2008 1 commit
  14. 04 Oct, 2008 1 commit
    • Helmut Eller's avatar
      Some cleanups for compilation commands. · 6af1e645
      Helmut Eller authored
      * 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.
      6af1e645
  15. 23 Sep, 2008 1 commit
  16. 17 Sep, 2008 1 commit
    • Helmut Eller's avatar
      Adjust positions in files with CRLF-style end-on-line markers. · 5cc59e54
      Helmut Eller authored
      * 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.
      5cc59e54
  17. 12 Sep, 2008 1 commit
    • Tobias C. Rittweiler's avatar
      · da5d05d7
      Tobias C. Rittweiler authored
      	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.
      da5d05d7
  18. 31 Aug, 2008 1 commit
  19. 08 Aug, 2008 1 commit
    • Helmut Eller's avatar
      Spawn the auto-flush thread in the front end. · dbeef02d
      Helmut Eller authored
      This removes some copy&paste code in various backends.
      
      * swank.lisp (auto-flush-loop): New function.
      (open-streams): Use it.
      * swank-backend.lisp (make-stream-interactive): Deleted.
      dbeef02d
  20. 07 Aug, 2008 1 commit
  21. 04 Aug, 2008 1 commit
  22. 17 Apr, 2008 1 commit
  23. 10 Feb, 2008 1 commit
  24. 09 Feb, 2008 2 commits
    • Helmut Eller's avatar
      Drop the first return value of emacs-inspect. · 03481c83
      Helmut Eller authored
      * swank.lisp (emacs-inspect): Drop the first return value. It
      wasn't used anymore.  Update all methods and callers.
      03481c83
    • Helmut Eller's avatar
      Inspector cleanups. · 5e95dc9b
      Helmut Eller authored
      * 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.
      5e95dc9b
  25. 04 Feb, 2008 1 commit
  26. 22 Dec, 2007 1 commit
  27. 23 Aug, 2007 1 commit
    • Helmut Eller's avatar
      Introduce backend-inspector class. · 55c91617
      Helmut Eller authored
      * 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.
      55c91617
  28. 19 Nov, 2006 1 commit
  29. 13 Sep, 2006 1 commit
  30. 10 Aug, 2006 1 commit
  31. 09 Aug, 2006 1 commit
  32. 11 Jun, 2006 1 commit
  33. 13 Apr, 2006 1 commit
  34. 22 Mar, 2006 1 commit
  35. 25 Feb, 2006 2 commits
  36. 13 Nov, 2005 1 commit
  37. 11 Nov, 2005 1 commit
  38. 14 Oct, 2005 1 commit