projects/mirror/slime.git
9 months ago* swank-abcl.lisp (find-definitions): Call ext:resolve before master
Stas Boukarev [Sat, 18 Aug 2012 16:34:06 +0000] 
* swank-abcl.lisp (find-definitions): Call ext:resolve before
finding definitions, for the symbol may be not autoloaded yet.

9 months ago* swank-arglists.lisp (extra-keywords/slots): Check for
Stas Boukarev [Mon, 13 Aug 2012 20:50:34 +0000] 
* swank-arglists.lisp (extra-keywords/slots): Check for
slot-definition-initfunction being present before calling
slot-definition-initform.

9 months ago* clean up: (signal (make-condition ...)) => (signal ...)
Stas Boukarev [Sat, 4 Aug 2012 23:48:19 +0000] 
* clean up: (signal (make-condition ...)) => (signal ...)

9 months ago* swank-sbcl.lisp (call-with-debugging-environment): Use
Stas Boukarev [Sat, 4 Aug 2012 23:32:37 +0000] 
* swank-sbcl.lisp (call-with-debugging-environment): Use
sb-debug::resolve-stack-top-hint instead of just
sb-debug:*stack-top-hint*, because now it can contain things other
than just frames.

9 months ago* swank-arglists.lisp (test-print-arglist): bind
Stas Boukarev [Sat, 4 Aug 2012 22:35:13 +0000] 
* swank-arglists.lisp (test-print-arglist): bind
*print-right-margin* to 1000 instead of NIL, because the default
value on ABCL is less than the length of the tested arglist.

10 months ago* slime.el: Don't compile functions that are now in other files.
Helmut Eller [Fri, 13 Jul 2012 13:52:45 +0000] 
* slime.el: Don't compile functions that are now in other files.

11 months ago* swank-ecl.lisp (wait-for-input): Provide implementation
Helmut Eller [Tue, 19 Jun 2012 19:46:53 +0000] 
* swank-ecl.lisp (wait-for-input): Provide implementation
that doesn't need serve-event.

11 months ago* slime.el (slime-changelog-date): Use
Stas Boukarev [Tue, 12 Jun 2012 09:25:30 +0000] 
* slime.el (slime-changelog-date): Use
(expand-file-name "ChangeLog" slime-path) instead of
(concat slime-path "ChangeLog"), slime-path may not have a
trailing /.
Reported by Paul Sexton (lp#1011935).

11 months ago* slime.el (slime-oneliner): Use minibuffer width instead of the
Stas Boukarev [Fri, 25 May 2012 01:25:06 +0000] 
* slime.el (slime-oneliner): Use minibuffer width instead of the
width of the current frame, minibuffer can be in a separate frame
with a different width.
Patch by Greg Pfeil (lp#1004252).

11 months agoAdd provide in swank-media. Noticed by Cyrus Harmon.
Christophe Rhodes [Wed, 23 May 2012 20:55:43 +0000] 
Add provide in swank-media.  Noticed by Cyrus Harmon.

12 months agoReduce dependecy on pre-defined faces.
Helmut Eller [Mon, 21 May 2012 08:08:07 +0000] 
Reduce dependecy on pre-defined faces.

* slime.el (slime-apropos-symbol, slime-apropos-label): New faces.
(slime-print-apropos): Use them.

Reported by: Daimrod <daimrod@gmail.com>

12 months ago* swank-sbcl.lisp (stream-force-output): Undo last few changes.
Helmut Eller [Sat, 12 May 2012 06:34:47 +0000] 
* swank-sbcl.lisp (stream-force-output): Undo last few changes.

12 months ago* swank-sbcl.lisp (stream-force-output): Use with-world-lock
Helmut Eller [Fri, 11 May 2012 18:08:45 +0000] 
* swank-sbcl.lisp (stream-force-output): Use with-world-lock
i.e. with-recursive-lock instead of with-mutex.
* slime.el (sbcl-world-lock): New test.

12 months ago* swank-sbcl.lisp (stream-force-output): Don't use with-deadline.
Helmut Eller [Fri, 11 May 2012 06:52:18 +0000] 
* swank-sbcl.lisp (stream-force-output): Don't use with-deadline.
Grab the world-lock instead.
(condition-timed-wait): Use the :timeout argument.

12 months ago* swank-backend.lisp (call-with-io-timeout): Not used. Deleted.
Helmut Eller [Fri, 11 May 2012 06:52:05 +0000] 
* swank-backend.lisp (call-with-io-timeout): Not used. Deleted.
* swank-sbcl.lisp (call-with-io-timeout): Deleted.

12 months agoIgnore linebreaks for the macroexpand test.
Helmut Eller [Mon, 7 May 2012 06:10:50 +0000] 
Ignore linebreaks for the macroexpand test.
SBCL should now also pass it.

* slime.el (slime-test-macroexpansion=): New function.
([test] macroexpand): Use it.

12 months ago* swank-sbcl.lisp (condition-timed-wait): Undo previous change.
Helmut Eller [Sun, 6 May 2012 21:19:48 +0000] 
* swank-sbcl.lisp (condition-timed-wait): Undo previous change.
The :timeout arg doesn't seem ready for production use.

12 months ago* swank-sbcl.lisp (condition-timed-wait): Use the :timeout
Helmut Eller [Sun, 6 May 2012 16:16:24 +0000] 
* swank-sbcl.lisp (condition-timed-wait): Use the :timeout
argument of sb-thread:condition-wait if supported.

12 months ago* swank-sbcl.lisp (with-definition-source): Forgot to commit this
Helmut Eller [Sun, 6 May 2012 16:16:13 +0000] 
* swank-sbcl.lisp (with-definition-source): Forgot to commit this
one.

12 months ago* swank-allegro.lisp (string-to-utf8): Set the :null-terminate
Helmut Eller [Sun, 6 May 2012 16:16:02 +0000] 
* swank-allegro.lisp (string-to-utf8): Set the :null-terminate
argument of excl:string-to-octets to nil.

12 months ago* swank-backend.lisp (with-struct): Undo damage.
Helmut Eller [Sun, 6 May 2012 15:40:04 +0000] 
* swank-backend.lisp (with-struct): Undo damage.
* swank-sbcl.lisp (with-definition-source): New macro.

12 months ago* swank.lisp, swank-rpc.lisp: iso-8859-1 is not same as latin-1-unix.
Helmut Eller [Sun, 6 May 2012 08:51:26 +0000] 
* swank.lisp, swank-rpc.lisp: iso-8859-1 is not same as latin-1-unix.

12 months ago* slime.el (slime-pprint-eval-region): New command. No keybinding though.
Helmut Eller [Sun, 6 May 2012 08:39:11 +0000] 
* slime.el (slime-pprint-eval-region): New command. No keybinding though.

12 months ago* swank-fancy-inspector.lisp (emacs-inspect symbol): On SBCL,
Stas Boukarev [Fri, 4 May 2012 14:34:30 +0000] 
* swank-fancy-inspector.lisp (emacs-inspect symbol): On SBCL,
show information about type specifiers.

12 months agosbcl: remove MERGE-TAIL-CALLS proclamation
Nikodemus Siivola [Fri, 4 May 2012 11:16:40 +0000] 
sbcl: remove MERGE-TAIL-CALLS proclamation

12 months agoRemove debugging code.
Stas Boukarev [Thu, 3 May 2012 15:59:06 +0000] 
Remove debugging code.

12 months agoSimplify :buffer-and-file handling.
Stas Boukarev [Thu, 3 May 2012 15:58:39 +0000] 
Simplify :buffer-and-file handling.

12 months ago* slime.el (slime-goto-source-location): Allow for
Stas Boukarev [Thu, 3 May 2012 15:49:17 +0000] 
* slime.el (slime-goto-source-location): Allow for
:buffer-and-file locations, prefer buffer if the buffer exists.

* swank-sbcl.lisp (definition-source-for-emacs): Send
:buffer-and-file when both are available.
(quit-lisp): Use sb-ext:exit when it's present.

12 months ago* swank-sbcl.lisp (quit-lisp): Use sb-ext:exit when it's present.
Stas Boukarev [Thu, 3 May 2012 14:28:17 +0000] 
* swank-sbcl.lisp (quit-lisp): Use sb-ext:exit when it's present.

12 months ago* swank-sbcl.lisp (definition-source-for-emacs): Prefer :file over
Stas Boukarev [Thu, 3 May 2012 14:12:23 +0000] 
* swank-sbcl.lisp (definition-source-for-emacs): Prefer :file over
:buffer, because the buffer can be killed in the mean time and the
silly "No buffer named x.lisp" would be displayed.

12 months ago* swank.lisp (find-definitions-find-symbol): Put back accidentally
Stas Boukarev [Thu, 3 May 2012 07:44:54 +0000] 
* swank.lisp (find-definitions-find-symbol): Put back accidentally
removed with-buffer-syntax.

12 months ago* swank.lisp (*find-definitions-right-trim*)
Stas Boukarev [Wed, 2 May 2012 17:33:16 +0000] 
* swank.lisp (*find-definitions-right-trim*)
(*find-definitions-left-trim*): New variables. ",:." and "#:"
default values.
(find-definitions-for-emacs): Trim names with using the above
variables when a symbol is not found.

12 months ago* slime.el (slime-xrefs-for-notes): Format location in a proper
Stas Boukarev [Tue, 1 May 2012 10:07:34 +0000] 
* slime.el (slime-xrefs-for-notes): Format location in a proper
way.
Reported by Max Mikhanosha.

12 months agosbcl: fix lisp-source-location
Nikodemus Siivola [Fri, 27 Apr 2012 14:57:59 +0000] 
sbcl: fix lisp-source-location

12 months ago* Use #\; to separate the file options.
Douglas Crosher [Tue, 24 Apr 2012 11:12:14 +0000] 
* Use #\; to separate the file options.

12 months ago* create-socket: correct variable name typo.
Douglas Crosher [Tue, 24 Apr 2012 11:08:13 +0000] 
* create-socket: correct variable name typo.

12 months agoIndirect through a variable in slime-operator-before-point.
Christophe Rhodes [Mon, 23 Apr 2012 16:32:52 +0000] 
Indirect through a variable in slime-operator-before-point.

I could write about how this is necessary given the reprogrammability
of the CL reader, but honestly this is motivated by trying to get arglist
display in the minibuffer for R.  I'll be glad if this is useful for (real)
Lisp programmers too.

13 months agoIn swank-ecl.lisp, import compute-applicable-methods-using-classes when its fboundp...
Juan Jose Garcia Ripoll [Fri, 20 Apr 2012 21:58:18 +0000] 
In swank-ecl.lisp, import compute-applicable-methods-using-classes when its fboundp (ECL 12.5.1 will provide it).

13 months agosbcl: workaround for auto-flush thread deadlocks, take II
Nikodemus Siivola [Fri, 20 Apr 2012 12:45:28 +0000] 
sbcl: workaround for auto-flush thread deadlocks, take II

  Occasionally auto-flush thread could deadlock with a thread doing
  compilation:

    T1: grabs world-lock
    T2: decides to flush, grabs stream lock
    T1: needs to do output (compiler note, etc), waits on the stream lock
    T2: needs the world-lock for a while (PCL dispatch machinery setup, etc)

    *boink*

  This is an SBCL issue, no mistake about it -- but sorting out the world-lock
  handling is going to take a while, and sticking a deadline around the
  FINISH-OUTPUT call avoids the issue.

  In this iteration the change is limited to swank-sbcl.lisp, making it
  hopefully non-intrusive enough to stay in.

13 months agosbcl: SWANK-VALUE to make it nicer to refer to values of SWANK symbols
Nikodemus Siivola [Fri, 20 Apr 2012 12:43:04 +0000] 
sbcl: SWANK-VALUE to make it nicer to refer to values of SWANK symbols

13 months agoPrettier arglists.
Helmut Eller [Fri, 20 Apr 2012 05:54:21 +0000] 
Prettier arglists.

* swank-mit-scheme.scm (swank:operator-arglist): Remove trailing
newlines.

13 months agoIn MAKE-LOCK (swank-ecl.lisp) make it explicit the need for recursive locks.
Juan Jose Garcia Ripoll [Fri, 13 Apr 2012 22:50:12 +0000] 
In MAKE-LOCK (swank-ecl.lisp) make it explicit the need for recursive locks.

13 months agoslime-indentation: don't indent non-lists as if they were lambda-lists
Nikodemus Siivola [Fri, 13 Apr 2012 16:16:11 +0000] 
slime-indentation: don't indent non-lists as if they were lambda-lists

  Not even if they appear where a lambda-list is expected.

  Makes TENTATIVE-DEFUN logic more correct for things like

     (define-foo name
       :option1 bar
       :option2 quux)

  which previously indented as

     (define-foo name
         :option1 bar
       :option2 quux)

  .

13 months agoslime-indentation: correct indentation for &AUX value forms in lambda-lists
Nikodemus Siivola [Fri, 13 Apr 2012 16:15:40 +0000] 
slime-indentation: correct indentation for &AUX value forms in lambda-lists

13 months agoslime-indentation: fix long lines
Nikodemus Siivola [Fri, 13 Apr 2012 16:14:58 +0000] 
slime-indentation: fix long lines

13 months ago* slime.el ([test] utf-8-source): Use the encoded byte sequence of
Helmut Eller [Wed, 11 Apr 2012 11:39:03 +0000] 
* slime.el ([test] utf-8-source): Use the encoded byte sequence of
the Unicode string.

13 months ago* slime.el ([test] utf-8-source): Use the encoded byte sequence of
Helmut Eller [Wed, 11 Apr 2012 11:38:56 +0000] 
* slime.el ([test] utf-8-source): Use the encoded byte sequence of
the Unicode string.

13 months ago* slime.el (def-slime-test utf-8-source): Define only when
Stas Boukarev [Tue, 10 Apr 2012 17:52:57 +0000] 
* slime.el (def-slime-test utf-8-source): Define only when
(and (featurep 'emacs) (>= emacs-major-version 23)).

13 months ago* slime.el (def-slime-test utf-8-source): Another try at fixing
Stas Boukarev [Tue, 10 Apr 2012 11:33:28 +0000] 
* slime.el (def-slime-test utf-8-source): Another try at fixing
utf8 literals in code.

13 months ago* slime.el (def-slime-test utf-8-source): Remove literal Unicode
Stas Boukarev [Mon, 9 Apr 2012 13:50:04 +0000] 
* slime.el (def-slime-test utf-8-source): Remove literal Unicode
characters in the form of \xFFFF, it causes problems for some
people.

13 months agoEven more long line breaking.
Helmut Eller [Sat, 7 Apr 2012 10:23:39 +0000] 
Even more long line breaking.

13 months agoMore long line fixes.
Helmut Eller [Sat, 7 Apr 2012 09:35:42 +0000] 
More long line fixes.

13 months agoFix long lines.
Helmut Eller [Sat, 7 Apr 2012 08:19:32 +0000] 
Fix long lines.

* swank.lisp:
* slime.el:
* ChangeLog:

13 months ago*** empty log message ***
Helmut Eller [Sat, 7 Apr 2012 06:14:48 +0000] 
*** empty log message ***

13 months ago* swank.lisp (interrupt-worker-thread): Interrupt the REPL thread if
Stas Boukarev [Fri, 6 Apr 2012 20:04:34 +0000] 
* swank.lisp (interrupt-worker-thread): Interrupt the REPL thread if
there are no threads found. Send Emacs an error message if no
threads are found at all.

13 months ago* swank-fancy-inspector.lisp (format-iso8601-time): Add 1 to the
Stas Boukarev [Fri, 6 Apr 2012 18:08:30 +0000] 
* swank-fancy-inspector.lisp (format-iso8601-time): Add 1 to the
time-zone if DST value of decode-universal-time is T.

13 months agoslime-indentation: identify initial-value-forms in lambda-lists
Nikodemus Siivola [Wed, 4 Apr 2012 12:04:42 +0000] 
slime-indentation: identify initial-value-forms in lambda-lists

  ...and indent them as regular code, not as lambda-lists.

13 months agosbcl: fix bug introduced two commits ago
Nikodemus Siivola [Fri, 30 Mar 2012 14:54:46 +0000] 
sbcl: fix bug introduced two commits ago

  SWANK package not there yet when swank-sbcl.lisp is loaded.

13 months agoslime-indentation: fix indentation of (foo ;; comment\n...
Nikodemus Siivola [Fri, 30 Mar 2012 10:40:21 +0000] 
slime-indentation: fix indentation of (foo ;; comment\n...

    (foo ;; Deal with bar
         (bar)
         ;; Deal with quux
         (quux))

  instead of

    (foo ;; Deal with bar
     (bar)
     ;; Deal with quux
     (quux))

13 months agosbcl: make STEP friendlier when SBCL gives the source form for the initial form
Nikodemus Siivola [Fri, 30 Mar 2012 09:45:00 +0000] 
sbcl: make STEP friendlier when SBCL gives the source form for the initial form

  ...right now it doesn't but next week it will -- and then the initial
  form shown would be useless.

13 months ago* slime.el (utf-8-source): XEmacs has no set-buffer-multibyte.
Helmut Eller [Mon, 26 Mar 2012 15:36:50 +0000] 
* slime.el (utf-8-source): XEmacs has no set-buffer-multibyte.
(slime-create-test-results-buffer): Set file-coding-system.

13 months ago* slime.el (utf-8-source): Bind slime-load-failed-fasl.
Helmut Eller [Mon, 26 Mar 2012 15:10:38 +0000] 
* slime.el (utf-8-source): Bind slime-load-failed-fasl.

13 months ago* swank-lispworks.lisp (swank-compile-string): Don't include the
Helmut Eller [Mon, 26 Mar 2012 15:10:32 +0000] 
* swank-lispworks.lisp (swank-compile-string): Don't include the
source-string in the dspec::*location*.  As LW has the habbit to
print the entire *location* on redefinition the source-string
would causes troubles for the test case.

13 months ago* swank-sbcl.lisp (swank-compile-string): Use utf8.
Helmut Eller [Mon, 26 Mar 2012 15:10:19 +0000] 
* swank-sbcl.lisp (swank-compile-string): Use utf8.

13 months ago* swank-cmucl.lisp (swank-compile-file): Use external-format arg.
Helmut Eller [Mon, 26 Mar 2012 15:10:08 +0000] 
* swank-cmucl.lisp (swank-compile-file): Use external-format arg.

13 months ago* swank-ccl.lisp (swank-compile-string, compile-temp-file): Use utf8.
Helmut Eller [Mon, 26 Mar 2012 15:09:57 +0000] 
* swank-ccl.lisp (swank-compile-string, compile-temp-file): Use utf8.

13 months ago* slime.el (utf-8-source): New test case.
Helmut Eller [Mon, 26 Mar 2012 15:09:46 +0000] 
* slime.el (utf-8-source): New test case.

14 months ago* contrib/swank-arglists.lisp (compute-enriched-decoded-arglist): Add
Stas Boukarev [Mon, 19 Mar 2012 14:27:04 +0000] 
* contrib/swank-arglists.lisp (compute-enriched-decoded-arglist): Add
arglist display for MULTIPLE-VALUE-CALL, the same as with APPLY.

14 months agoUse Unix-EOL convention even on Windows.
Helmut Eller [Wed, 14 Mar 2012 17:13:26 +0000] 
Use Unix-EOL convention even on Windows.

* swank-allegro.lisp (string-to-utf8, utf8-to-string): Use
excl:crlf-base-ef.
* swank-lispworks.lisp (string-to-utf8,  utf8-to-string): Use
'(:utf-8 :eol-style :lf)

14 months ago* swank-kawa.scm (%macroexpand): Use Kawa's syntaxutils.
Helmut Eller [Wed, 14 Mar 2012 17:13:15 +0000] 
* swank-kawa.scm (%macroexpand): Use Kawa's syntaxutils.

14 months agoFix compiler warning about inhibit-warnings and use
Raymond Toy [Sun, 11 Mar 2012 18:35:52 +0000] 
Fix compiler warning about inhibit-warnings and use
find-external-format to compile and load the utf-8 format if needed.

14 months agoswank-motd.lisp, swank-hyperdoc.lisp: Add provide.
Stas Boukarev [Sat, 10 Mar 2012 00:04:12 +0000] 
swank-motd.lisp, swank-hyperdoc.lisp: Add provide.

14 months ago2012-03-09 Stas Boukarev <stassats@gmail.com>
Stas Boukarev [Sat, 10 Mar 2012 00:00:19 +0000] 
2012-03-09  Stas Boukarev  <stassats@gmail.com>

* swank-clipboard.lisp: Add provide.

14 months ago* swank-arglists.lisp (print-decoded-arglist): When the source of
Stas Boukarev [Thu, 8 Mar 2012 03:04:48 +0000] 
* swank-arglists.lisp (print-decoded-arglist): When the source of
the arglist is a local definition from FLET, some parts may be
represented as ARGLIST-DUMMY, handle them.

14 months ago* swank-ccl.lisp: If 'xref is not provided warn about it but continue.
Helmut Eller [Tue, 6 Mar 2012 22:04:21 +0000] 
* swank-ccl.lisp: If 'xref is not provided warn about it but continue.

14 months agoFix SBCL backend for Windows.
Helmut Eller [Tue, 6 Mar 2012 21:42:10 +0000] 
Fix SBCL backend for Windows.

* swank-sbcl.lisp (fd-stream-input-buffer-empty-p): Restore it.

14 months ago* swank-kawa.scm (module-method>meth-ref): Slightly better
Helmut Eller [Tue, 6 Mar 2012 20:55:19 +0000] 
* swank-kawa.scm (module-method>meth-ref):  Slightly better
heuristic for vararg functions.

14 months agoAdd missing provide.
Helmut Eller [Tue, 6 Mar 2012 20:55:13 +0000] 
Add missing provide.

* swank-repl.lisp
* swank-util.lisp
* swank-mrepl.lisp
* swank-snapshot.lisp

14 months ago* swank.lisp (swank-require): Ensure that provide as called.
Helmut Eller [Tue, 6 Mar 2012 20:55:07 +0000] 
* swank.lisp (swank-require): Ensure that provide as called.

14 months ago* contrib/slime-package-fu.el (slime-export-save-file): New variable, when
Stas Boukarev [Tue, 6 Mar 2012 01:47:49 +0000] 
* contrib/slime-package-fu.el (slime-export-save-file): New variable, when
set to T saves package.lisp after each modification. Defaults to NIL.

15 months agoFix ChangeLog typo.
Stas Boukarev [Tue, 14 Feb 2012 16:46:33 +0000] 
Fix ChangeLog typo.

15 months ago* swank-ecl.lisp (accept-connection): Use the proper element-type
Stas Boukarev [Sun, 12 Feb 2012 17:00:46 +0000] 
* swank-ecl.lisp (accept-connection): Use the proper element-type
for the stream.

15 months ago* swank-clisp.lisp (c-error): The number of parameters to
Stas Boukarev [Sun, 12 Feb 2012 15:38:06 +0000] 
* swank-clisp.lisp (c-error): The number of parameters to
sys::c-warn was changed, accommodate both versions.

15 months agoswank-lispworks.lisp (dspec-file-position): Fall back to regexp
Martin Simmons [Tue, 7 Feb 2012 15:48:15 +0000] 
swank-lispworks.lisp (dspec-file-position): Fall back to regexp
search if dspec-stream-position gets an error.

16 months ago* swank-mrepl.lisp (send-prompt): Fix use of OR.
Helmut Eller [Fri, 6 Jan 2012 09:57:15 +0000] 
* swank-mrepl.lisp (send-prompt): Fix use of OR.
Reported by Mark H. David.

16 months agoAdd a "sentinel thread" to protect access to global lists.
Helmut Eller [Fri, 6 Jan 2012 09:02:43 +0000] 
Add a "sentinel thread" to protect access to global lists.

* swank.lisp (start-sentinel, sentinel, send-to-sentinel)
(sentinel-serve, sentinel-stop-server, sentinel-maybe-exit): New.
(make-connection, close-connection, setup-server, stop-server):
Use the sentinel.
(close-connection%): Factored out.
* swank-backend.lisp (register-thread, find-registered): New.
* swank-allegro.lisp: Implement it.
* swank-ccl.lisp:
* swank-lispworks.lisp:
* swank-sbcl.lisp:

16 months ago* swank-loader.lisp (lisp-version-string): Append -no-threads to
Stas Boukarev [Mon, 2 Jan 2012 04:20:52 +0000] 
* swank-loader.lisp (lisp-version-string): Append -no-threads to
SBCL without threads.

16 months agoslime-indentation: better treatment of feature expressions
Nikodemus Siivola [Fri, 30 Dec 2011 17:10:13 +0000] 
slime-indentation: better treatment of feature expressions

  Particularly interaction with keyword arguments.

16 months ago* slime.el (slime-init-command): Don't call
Stas Boukarev [Sat, 24 Dec 2011 17:45:24 +0000] 
* slime.el (slime-init-command): Don't call
`slime-to-lisp-filename', the lisp is not yet connected and if
there's another connection it will use the wrong translation.

* contrib/slime-tramp.el (slime-find-filename-translators): Don't signal
an error if there's no translators for a hostname, just use 'identity.

16 months ago* swank.lisp (throw-to-toplevel): If *sldb-quit-restart* is not
Stas Boukarev [Sat, 24 Dec 2011 05:01:25 +0000] 
* swank.lisp (throw-to-toplevel): If *sldb-quit-restart* is not
found, try to invoke the last restart, which usually is a
top-level abort restart. This is useful when the debugger is
invoked from a non-slime thread.

16 months ago* slime.el (slime-cycle-connections): Add
Stas Boukarev [Fri, 23 Dec 2011 20:03:15 +0000] 
* slime.el (slime-cycle-connections): Add
`slime-cycle-connections-hook', to be used by slime-repl.

* contrib/slime-repl.el (slime-change-repl-to-default-connection): New
function.
Changes the current REPL to the REPL of the default connection. If
the current buffer is not a REPL, don't do anything.
Put it into `slime-cycle-connections-hook', so that when
connections are cycled through it will change the currently
displayed REPL.

17 months ago* swank-sbcl.lisp (input-ready-p): Don't use
Stas Boukarev [Wed, 21 Dec 2011 16:19:52 +0000] 
* swank-sbcl.lisp (input-ready-p): Don't use
sb-impl::fd-stream-fd-type if it's not present.

17 months ago* slime.el (slime-compile-region): Run slime-flash-region
sboukarev [Mon, 12 Dec 2011 06:59:26 +0000] 
* slime.el (slime-compile-region): Run slime-flash-region
directly, not from `slime-before-compile-functions', which is run
also for C-c C-k.

17 months agoFix some typos.
Helmut Eller [Sat, 10 Dec 2011 12:58:42 +0000] 
Fix some typos.

17 months ago* swank.lisp (auto-flush-loop): Don't use call-with-io-timeout.
Helmut Eller [Sat, 10 Dec 2011 12:34:09 +0000] 
* swank.lisp (auto-flush-loop): Don't use call-with-io-timeout.
Removing it had no effect on the number of failed tests.  If you
want it back, first create a test case to demonstrate the problem.
* swank-backend.lisp: Mention that locks should only be used in
swank-gray.lisp.

17 months agoDon't call init-global-stream-redirection in *after-init-hook*.
Helmut Eller [Sat, 10 Dec 2011 12:33:57 +0000] 
Don't call init-global-stream-redirection in *after-init-hook*.
*after-init-hook* may be called before the contrib was loaded.

* swank-repl.lisp (maybe-redirect-global-io): Call
init-global-stream-redirection here instead.

17 months ago* swank.lisp: Move global io-redirection contrib/slime-repl.lisp.
Helmut Eller [Sat, 10 Dec 2011 12:33:52 +0000] 
* swank.lisp: Move global io-redirection contrib/slime-repl.lisp.

17 months agoMake *active-threads* a slot of the connection struct.
Helmut Eller [Sat, 10 Dec 2011 12:33:40 +0000] 
Make *active-threads* a slot of the connection struct.

* swank.lisp (*active-threads*): Deleted
([struct] multithreaded-connection): New slot active-threads.
(find-worker-thread, interrupt-worker-thread)
(thread-for-evaluation): Update accordingly.
(add-active-thread, remove-active-thread): New helpers.

17 months ago* swank-loader.lisp (delete-stale-contrib-fasl-files): New.
Helmut Eller [Sat, 10 Dec 2011 12:33:28 +0000] 
* swank-loader.lisp (delete-stale-contrib-fasl-files): New.
(compile-contribs): Use it.

17 months agoCreate an extra thread for the indentation cache.
Helmut Eller [Fri, 9 Dec 2011 11:02:05 +0000] 
Create an extra thread for the indentation cache.

* swank.lisp (indentation-cache-loop): New.
([struct] multithreaded-connection): New slot
indentation-cache-thread.
(control-thread, cleanup-connection-threads): Create/kill it.
(send-to-indentation-cache): New function.
(update-indentation-information, sync-indentation-to-emacs): Use
it.
(perform-indentation-update, update-indentation/delta-for-emacs):
Add package as argument; that used to be *buffer-package.  Can
again be simpler as the indentation-cache-thread doesn't share the
cache with others.
(handle-indentation-cache-request, symbol-packages): New helpers.