/[slime]/slime/swank.lisp
ViewVC logotype

Log of /slime/swank.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.805 - (view) (annotate) - [select for diffs]
Sun Nov 10 08:11:44 2013 UTC (5 months ago) by heller
Branch: MAIN
CVS Tags: HEAD
Changes since 1.804: +7 -1 lines
Diff to previous 1.804 , to selected 1.38
* slime.el (slime-delete-package): New command.
* swank.lisp (swank-delete-package): The corresponding Swank part.

Revision 1.804 - (view) (annotate) - [select for diffs]
Sun Nov 10 07:56:21 2013 UTC (5 months ago) by heller
Branch: MAIN
Changes since 1.803: +8 -1 lines
Diff to previous 1.803 , to selected 1.38
* swank.lisp (swank-profile-package): New wrapper for
profile-package that does some input validation.
* slime.el (slime-profile-package): Use it.

Revision 1.803 - (view) (annotate) - [select for diffs]
Fri Jan 11 09:00:30 2013 UTC (15 months ago) by heller
Branch: MAIN
Changes since 1.802: +5 -4 lines
Diff to previous 1.802 , to selected 1.38
* swank.lisp (swank-compile-file*): Renamed from
 compile-file-with-compile-file.

Revision 1.802 - (view) (annotate) - [select for diffs]
Wed Jan 9 14:29:57 2013 UTC (15 months ago) by heller
Branch: MAIN
Changes since 1.801: +2 -1 lines
Diff to previous 1.801 , to selected 1.38
* swank.lisp (frame-locals-for-emacs): Print variable names in frame-package.

Revision 1.801 - (view) (annotate) - [select for diffs]
Thu Dec 27 20:22:35 2012 UTC (15 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.800: +13 -8 lines
Diff to previous 1.800 , to selected 1.38
* swank.lisp (find-definitions-find-symbol-or-package): Rename
from `find-definitions-find-symbol'. Packages are not named by
symbols and an uninterned string can refer to a package. In case
it finds a package, return a new uninterned symbol.

Revision 1.800 - (view) (annotate) - [select for diffs]
Mon Dec 17 11:14:48 2012 UTC (15 months, 4 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.799: +1 -1 lines
Diff to previous 1.799 , to selected 1.38
* swank.lisp (thread-for-evaluation): Use INTEGER, not FIXNUM, as
a specializer, FIXNUM is not a standard class.

Revision 1.799 - (view) (annotate) - [select for diffs]
Sun Dec 16 13:38:21 2012 UTC (16 months ago) by heller
Branch: MAIN
Changes since 1.798: +13 -18 lines
Diff to previous 1.798 , to selected 1.38
* swank.lisp (thread-for-evaluation): Make generic. Remove keyword
arg. Don't call find-repl-thread.

Revision 1.798 - (view) (annotate) - [select for diffs]
Tue Nov 13 15:44:40 2012 UTC (17 months ago) by sboukarev
Branch: MAIN
Changes since 1.797: +24 -12 lines
Diff to previous 1.797 , to selected 1.38
* swank-asdf.lisp: Better ASDF support.
* swank.lisp (*compile-file-for-emacs-hook*): A hook for
compile-file-for-emacs, so that ASDF can hook its compilation
functions.

Revision 1.797 - (view) (annotate) - [select for diffs]
Mon Nov 12 17:27:36 2012 UTC (17 months ago) by sboukarev
Branch: MAIN
Changes since 1.796: +6 -5 lines
Diff to previous 1.796 , to selected 1.38
* swank.lisp (with-panic-handler): Abort the condition after
closing the connection, otherwise it ends up in the slime debugger
causing nested errors.

Revision 1.796 - (view) (annotate) - [select for diffs]
Sun Nov 11 20:00:33 2012 UTC (17 months ago) by sboukarev
Branch: MAIN
Changes since 1.795: +14 -24 lines
Diff to previous 1.795 , to selected 1.38
* swank.lisp (interrupt-worker-thread): Solve *send-counter*
binding problem.
find-worker-thread: Merge with `thread-for-evaluation'.

Revision 1.795 - (view) (annotate) - [select for diffs]
Fri Nov 2 08:14:42 2012 UTC (17 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.794: +17 -13 lines
Diff to previous 1.794 , to selected 1.38
* swank.lisp (condition-message): New. Binds *print-cirlce.
(safe-condition-message): Move binding of printer vars to
condition-message.
(*sldb-condition-printer*): Set it to #'condition-message.

Revision 1.794 - (view) (annotate) - [select for diffs]
Sat Oct 27 17:53:39 2012 UTC (17 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.793: +10 -7 lines
Diff to previous 1.793 , to selected 1.38
* swank.lisp (safe-condition-message): Truncate the string after 64KB.

Revision 1.793 - (view) (annotate) - [select for diffs]
Sat Oct 27 17:17:20 2012 UTC (17 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.792: +2 -1 lines
Diff to previous 1.792 , to selected 1.38
* slime.el (report-condition-with-circular-list): New test.
* swank.lisp (safe-condition-message): Bind *print-length*.

Revision 1.792 - (view) (annotate) - [select for diffs]
Sun Oct 14 12:55:33 2012 UTC (18 months ago) by heller
Branch: MAIN
Changes since 1.791: +36 -26 lines
Diff to previous 1.791 , to selected 1.38
* swank.lisp (close-connection%): Let *debugger-hook* be nil
across the entire function to that we don't call our own debugger
if we ever get some error during CLOSE or somesuch.

Revision 1.791 - (view) (annotate) - [select for diffs]
Sat Aug 4 23:48:19 2012 UTC (20 months, 1 week ago) by sboukarev
Branch: MAIN
Changes since 1.790: +4 -4 lines
Diff to previous 1.790 , to selected 1.38
* clean up: (signal (make-condition ...)) => (signal ...)

Revision 1.790 - (view) (annotate) - [select for diffs]
Sun May 6 08:51:26 2012 UTC (23 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.789: +7 -3 lines
Diff to previous 1.789 , to selected 1.38
* swank.lisp, swank-rpc.lisp: iso-8859-1 is not same as latin-1-unix.

Revision 1.789 - (view) (annotate) - [select for diffs]
Thu May 3 07:44:54 2012 UTC (23 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.788: +2 -1 lines
Diff to previous 1.788 , to selected 1.38
* swank.lisp (find-definitions-find-symbol): Put back accidentally
removed with-buffer-syntax.

Revision 1.788 - (view) (annotate) - [select for diffs]
Wed May 2 17:33:16 2012 UTC (23 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.787: +23 -4 lines
Diff to previous 1.787 , to selected 1.38
* 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.

Revision 1.787 - (view) (annotate) - [select for diffs]
Tue Apr 24 11:12:14 2012 UTC (23 months, 3 weeks ago) by dcrosher
Branch: MAIN
Changes since 1.786: +1 -1 lines
Diff to previous 1.786 , to selected 1.38
* Use #\; to separate the file options.

Revision 1.786 - (view) (annotate) - [select for diffs]
Sat Apr 7 08:19:32 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.785: +10 -4 lines
Diff to previous 1.785 , to selected 1.38
Fix long lines.

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

Revision 1.785 - (view) (annotate) - [select for diffs]
Sat Apr 7 06:14:48 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.784: +3 -0 lines
Diff to previous 1.784 , to selected 1.38
*** empty log message ***

Revision 1.784 - (view) (annotate) - [select for diffs]
Fri Apr 6 20:04:34 2012 UTC (2 years ago) by sboukarev
Branch: MAIN
Changes since 1.783: +16 -14 lines
Diff to previous 1.783 , to selected 1.38
* 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.

Revision 1.783 - (view) (annotate) - [select for diffs]
Tue Mar 6 20:55:07 2012 UTC (2 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.782: +3 -1 lines
Diff to previous 1.782 , to selected 1.38
* swank.lisp (swank-require): Ensure that provide as called.

Revision 1.782 - (view) (annotate) - [select for diffs]
Fri Jan 6 09:02:43 2012 UTC (2 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.781: +102 -56 lines
Diff to previous 1.781 , to selected 1.38
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:

Revision 1.781 - (view) (annotate) - [select for diffs]
Sat Dec 24 05:01:25 2011 UTC (2 years, 3 months ago) by sboukarev
Branch: MAIN
Changes since 1.780: +2 -1 lines
Diff to previous 1.780 , to selected 1.38
* 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.

Revision 1.780 - (view) (annotate) - [select for diffs]
Sat Dec 10 12:34:09 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.779: +5 -9 lines
Diff to previous 1.779 , to selected 1.38
* 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.

Revision 1.779 - (view) (annotate) - [select for diffs]
Sat Dec 10 12:33:52 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.778: +1 -152 lines
Diff to previous 1.778 , to selected 1.38
* swank.lisp: Move global io-redirection contrib/slime-repl.lisp.

Revision 1.778 - (view) (annotate) - [select for diffs]
Sat Dec 10 12:33:40 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.777: +49 -37 lines
Diff to previous 1.777 , to selected 1.38
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.

Revision 1.777 - (view) (annotate) - [select for diffs]
Fri Dec 9 11:02:05 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.776: +60 -51 lines
Diff to previous 1.776 , to selected 1.38
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.

Revision 1.776 - (view) (annotate) - [select for diffs]
Wed Dec 7 22:04:37 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.775: +23 -2 lines
Diff to previous 1.775 , to selected 1.38
* swank.lisp (*slime-interrupts-enabled*): Describe the idea
behind the interrupt handlig code a bit.

Revision 1.775 - (view) (annotate) - [select for diffs]
Wed Dec 7 21:06:30 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.774: +25 -13 lines
Diff to previous 1.774 , to selected 1.38
Make *event-queue* and *events-enqueued* slots of the connection struct.

* swank.lisp (*event-queue*, *events-enqueued*): Deleted
([struct] singlethreaded-connection): New slots event-queue and
events-enqueued.
(poll-for-event, send-event, wait-for-event/event-loop): Update
accordingly.

Revision 1.774 - (view) (annotate) - [select for diffs]
Wed Dec 7 18:27:17 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.773: +11 -11 lines
Diff to previous 1.773 , to selected 1.38
* swank.lisp (send-to-emacs): Add a without-slime-interrupts to
protect send/receive from arbitrary interrupts.

Revision 1.773 - (view) (annotate) - [select for diffs]
Wed Dec 7 18:02:31 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.772: +77 -69 lines
Diff to previous 1.772 , to selected 1.38
Move flow control from dispatch-event to send-to-emacs.

* swank.lisp (*send-counter*): New thread local variable.
(with-connection): Bind it.
(send-to-emacs): Call maybe-slow-down.
(maybe-slow-down, ping-pong): Go through dispatch-event instead of
writing to the socket directly.
(dispatch-event): Re-add thread arg to :ping/:emacs-pong.
Also add a :test-delay event.
(perform-indentation-update): Use with-connection to bind
*emacs-connection* and *send-counter*.
(background-message): Remove reference to connection.slowdown.
(flow-control-test): New support code for testing flow-control.
([defstruct] connection): Delete send-counter and slowdown slots.

* slime.el (slime-dispatch-event): Re-add thread arg to
:ping/:emacs-pong and :test-delay event.
([test] flow-control): New test.

Revision 1.772 - (view) (annotate) - [select for diffs]
Mon Dec 5 11:29:12 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.771: +3 -2 lines
Diff to previous 1.771 , to selected 1.38
* swank.lisp (background-message): Do nothing if connection.slowdown is set.

Revision 1.771 - (view) (annotate) - [select for diffs]
Mon Dec 5 11:29:00 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.770: +125 -71 lines
Diff to previous 1.770 , to selected 1.38
Move flow control into dispatch-event.

* swank.lisp (maybe-slow-down, ping-pong): New functions.
(dispatch-event): Use it. Also require connection argument.
Update callers accordingly.
([defstruct] connection): New slots: send-counter and slowdown.
* slime.el (slime-dispatch-event): Drop thread from
:ping/:emacs-ping messages.

Use subclasses of connection.  Wasn't neccessary for flow control
but seems like a good idea for the future.

* swank.lisp (multithreaded-connection)
(singlethreaded-connection): New
(make-connection): Create multi/single threaded variant depending
on style argument.
([defstruct] serve-requests, cleanup): Delete slots.  Dispatch on
connection type instead.
(stop-serving-requests): New.
(close-connection): Use it.  Can't use
*use-dedicated-output-stream* here.

Revision 1.770 - (view) (annotate) - [select for diffs]
Sun Dec 4 18:08:32 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.769: +0 -2 lines
Diff to previous 1.769 , to selected 1.38
* swank.lisp (interrupt-worker-thread): Don't use find-repl-thread
as fallback.

Revision 1.769 - (view) (annotate) - [select for diffs]
Sun Dec 4 15:44:08 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.768: +33 -19 lines
Diff to previous 1.768 , to selected 1.38
* swank.lisp: Minor cleanups.
* swank-rpc.lisp:

Revision 1.768 - (view) (annotate) - [select for diffs]
Sun Dec 4 15:05:46 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.767: +0 -211 lines
Diff to previous 1.767 , to selected 1.38
Ooops forgot this file in last commit.

Revision 1.767 - (view) (annotate) - [select for diffs]
Fri Dec 2 18:17:54 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.766: +0 -77 lines
Diff to previous 1.766 , to selected 1.38
* swank.lisp (listener-channel): Moved to contrib/swank-mrepl.lisp
(create-listener, initial-listener-bindings, spawn-listener-thread).

Revision 1.766 - (view) (annotate) - [select for diffs]
Thu Dec 1 16:48:21 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.765: +5 -63 lines
Diff to previous 1.765 , to selected 1.38
* swank.lisp (do-symbols*, classify-symbol)
(symbol-classification-string): Moved to contrib/swank-util.lisp.

Revision 1.765 - (view) (annotate) - [select for diffs]
Tue Nov 29 19:50:16 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.764: +10 -9 lines
Diff to previous 1.764 , to selected 1.38
* swank.lisp (to-line): Increase default limit to 512.
(frame-locals-for-emacs): Let *print-right-margin* override
default line width.

Revision 1.764 - (view) (annotate) - [select for diffs]
Sun Nov 27 21:47:15 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.763: +6 -5 lines
Diff to previous 1.763 , to selected 1.38
* swank.lisp (create-server): Add a :backlog argument.
(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:

Revision 1.763 - (view) (annotate) - [select for diffs]
Sun Nov 27 19:24:33 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.762: +33 -53 lines
Diff to previous 1.762 , to selected 1.38
* swank.lisp (create-server): Remove coding-system argument.
([defstruct] connection): Remove coding-system slot.
(connection.external-format, *coding-system*): Deleted.
(make-connection, start-server, create-server, setup-server)
(accept-connections): Drop coding-system arg.

(connection-info): Return supported coding systems.
(create-repl, open-dedicated-output-stream)
(open-streams, initialize-streams-for-connection): Add
coding-system arg.

* slime.el (slime-init-command): Ignore the coding-system arg.
(slime-connection-coding-systems): New connection variable.
(slime-set-connection-info): Set it.

Revision 1.762 - (view) (annotate) - [select for diffs]
Sun Nov 27 17:57:41 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.761: +4 -3 lines
Diff to previous 1.761 , to selected 1.38
* swank.lisp (eval-in-frame-aux): Don't bind *package* during
eval.

Revision 1.761 - (view) (annotate) - [select for diffs]
Mon Nov 21 19:46:11 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.760: +2 -62 lines
Diff to previous 1.760 , to selected 1.38
* swank.lisp (*sldb-printer-bindings*): Removed.  Rather useless
since the change from 2009-02-26.  It could at best have some
influence on the way conditions are printed.  *sldb-string-length*
and *sldb-bitvector-length* where both nil so
*sldb-pprint-dispatch-table* was also not used by default.  In
summary, spending 3 pages for something that's not used by default
was pretty silly.  One variable less where we can get the defaults
wrong.

Revision 1.760 - (view) (annotate) - [select for diffs]
Mon Nov 21 16:34:12 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.759: +17 -11 lines
Diff to previous 1.759 , to selected 1.38
* slime.el (sldb-eval-in-frame): Try to figure the package out.
Ask Lisp if the function for frame was defined in a particular
package and use it to read the form.
(sldb-read-form-for-frame): New helper.

* swank-backend (frame-package): New.
* swank-cmucl (frame-package): Implement it.

* swank.lisp (frame-package-name, eval-in-frame-aux): New.
(eval-string-in-frame, pprint-eval-string-in-frame): Use package
argument.

Revision 1.759 - (view) (annotate) - [select for diffs]
Wed Nov 16 10:01:18 2011 UTC (2 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.758: +13 -13 lines
Diff to previous 1.758 , to selected 1.38
* swank.lisp (open-dedicated-output-stream): Open a stream with
the right coding system.
Change (:open-dedicated-output-stream port) message to
(:open-dedicated-output-stream port coding-system), because Emacs
can no longer determine the coding system based on the main
network streams since they are binary now.

* contrib/slime-repl.el (slime-open-stream-to-lisp): Set the process coding system
to the right coding system.

Revision 1.758 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:06:49 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.757: +1 -0 lines
Diff to previous 1.757 , to selected 1.38
* slime.el (slime-run-test): Renamed from slime-run-one-test.
(slime-toggle-test-debug-on-error): New.
([test] break): Longer timeouts.

Revision 1.757 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:06:09 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.756: +8 -9 lines
Diff to previous 1.756 , to selected 1.38
New wire format.

Switch from character streams to binary streams.  Counting
characters was error prone because some Lisps use utf-16
internally and so READ-SEQUENCE can't be used easily.

The new format looks so:

  | byte0 | 3 bytes length |
  |    ... payload ...     |

The playload is an s-exp encoded as UTF-8 string.  byte0 is
currently always 0; other values are reserved for future use.

* swank-rpc.lisp (write-message): Use new format.
(write-header, parse-header, asciify, encoding-error): New.

* swank.lisp (accept-connections): Create a binary stream.
(input-available-p): Can't read-char-no-hang on binary streams.

* slime.el (slime-net-connect): Use binary as coding system.
(slime-net-send, slime-net-read, slime-net-decode-length)
(slime-net-encode-length, slime-net-have-input-p): Use new format.
(slime-unibyte-string, slime-handle-net-read-error): New.
(featurep): Require 'un-define for XEmacs.
([test] break): Longer timeouts.

* swank-sbcl.lisp (input-ready-p): Use sb-sys:wait-until-fd-usable.

Revision 1.756 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:05:53 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.755: +2 -1 lines
Diff to previous 1.755 , to selected 1.38
* swank.lisp (close-connection): Fix thinko.

Revision 1.755 - (view) (annotate) - [select for diffs]
Thu Nov 3 18:31:31 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: FAIRLY-STABLE, SLIME-2-3, byte-stream
Changes since 1.754: +7 -6 lines
Diff to previous 1.754 , to selected 1.38
* swank.lisp (close-connection): Be more careful with non-ascii.

Revision 1.754 - (view) (annotate) - [select for diffs]
Thu Oct 13 09:24:03 2011 UTC (2 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.753: +6 -2 lines
Diff to previous 1.753 , to selected 1.38
* swank.lisp (all-completions): Remove mixed case syms e.g |Foo|.
"fo" is not a prefix of "|Foo|" and it would be problematic later.

Revision 1.753 - (view) (annotate) - [select for diffs]
Wed Oct 5 11:58:00 2011 UTC (2 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.752: +5 -0 lines
Diff to previous 1.752 , to selected 1.38
* swank.lisp (clear-repl-variables): New functions, clears *, /,
and + variables.

* contrib/slime-repl.el (slime-clear-repl-variables): New function, clears *, /,
and + variables.
(slime-repl-clear-buffer-hook): Add `slime-clear-repl-variables'
to it, now C-c M-o clears variables, allowing bound objects to be GCed.

Revision 1.752 - (view) (annotate) - [select for diffs]
Wed Aug 17 15:40:47 2011 UTC (2 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.751: +2 -1 lines
Diff to previous 1.751 , to selected 1.38
* swank-allegro.lisp (with-redirected-y-or-n-p): Fix modern-mode
issues.
Patch by Andrew Myers.

Revision 1.751 - (view) (annotate) - [select for diffs]
Mon Aug 8 12:31:01 2011 UTC (2 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.750: +11 -0 lines
Diff to previous 1.750 , to selected 1.38
* slime.el (slime-unintern-symbol): New command.
* swank.lisp (unintern-symbol): Lisp-side implementation.

Revision 1.750 - (view) (annotate) - [select for diffs]
Tue Jun 21 11:24:01 2011 UTC (2 years, 9 months ago) by nsiivola
Branch: MAIN
Changes since 1.749: +49 -33 lines
Diff to previous 1.749 , to selected 1.38
swank: thread-safe indentation update without explicit locks

 * Spawn a new thread to perform the indentation update.

 * In the new thread, if we need to write to the cache, copy
   it first. This makes the cache read-only by the time other
   threads can see it -- so in the worst case we will only have
   parallel readers, not readers-and-writers.

 * Remove *INDENTATION-CACHE-LOCK*.

Revision 1.749 - (view) (annotate) - [select for diffs]
Sat Jun 18 11:51:22 2011 UTC (2 years, 9 months ago) by nsiivola
Branch: MAIN
Changes since 1.748: +17 -8 lines
Diff to previous 1.748 , to selected 1.38
swank: lock around updating the indentation cache

  Hash-tables aren't necessarily thread safe. (Yes, I actually
  saw the table get corrupted -- this isn't just theoretical.)

Revision 1.748 - (view) (annotate) - [select for diffs]
Thu Jun 16 08:29:17 2011 UTC (2 years, 10 months ago) by nsiivola
Branch: MAIN
Changes since 1.747: +3 -16 lines
Diff to previous 1.747 , to selected 1.38
macro-indentation: try to sort it out

 * Restore old default.

 * Give slime-indentation the more complex one, and try to address the issues
   of the previous attempt at complexity.

Revision 1.747 - (view) (annotate) - [select for diffs]
Tue Jun 14 15:34:18 2011 UTC (2 years, 10 months ago) by nsiivola
Branch: MAIN
Changes since 1.746: +9 -5 lines
Diff to previous 1.746 , to selected 1.38
sbcl: workaround for auto-flush thread deadlocks

 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)

   KABOOM.

 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.

Revision 1.746 - (view) (annotate) - [select for diffs]
Tue Jun 14 14:01:32 2011 UTC (2 years, 10 months ago) by nsiivola
Branch: MAIN
Changes since 1.745: +3 -1 lines
Diff to previous 1.745 , to selected 1.38
fix &optional and &key handling in MACRO-INDENTATION

  * Don't count &optional.

  * Deal with &key and &rest identically.

Revision 1.745 - (view) (annotate) - [select for diffs]
Fri Jun 10 16:13:28 2011 UTC (2 years, 10 months ago) by nsiivola
Branch: MAIN
Changes since 1.744: +14 -3 lines
Diff to previous 1.744 , to selected 1.38
swank: better macro-indentation

  lisp-indent-259 didn't handle complex destructuring right: &whole
  nested in &whole wasn't working properly. Now it hopefully
  does. (But the whole indentation spec walking really deserves a
  rewrite.)

  Derived indentation:

  * Walk the entire macro lambda-list instead of just looking for
    &BODY in the toplevel.

  * Set the base indentation to 4 in macro-indentation only for the
    first level of destructuring -- use 1 later.

  now

    (defmacro foo (x (&rest args) &body body)
      ...)

  gives

    (foo (bar quux
              zot)
        (a b
         c d)
      ...)

  instead of the old

    (foo (bar quux
              zot)
       (a b
          c d)
      ...)

  While this change may turn out to be controversial, I feel that
  since FOO and (&REST FOO) are semantically equivalent as long as the
  corresponding argument is not an atom, it seems most natural to
  treat them as indentation hints instead.

  Complaints to the usual address...

Revision 1.744 - (view) (annotate) - [select for diffs]
Thu Jun 9 16:35:09 2011 UTC (2 years, 10 months ago) by nsiivola
Branch: MAIN
Changes since 1.743: +7 -3 lines
Diff to previous 1.743 , to selected 1.38
slime-indentation: per-package indentation from swank

  SWANK sends indentation information for macro-lambda lists
  to the Emacs side.

  Prior to this, however, this was a lossy N->1 mapping, where different
  symbols with the same name from multiple packages were conflated.

  Now an indentation update also includes a list of packages where the symbol
  in question is accessible.

  If slime-indentation is not being used, this information is dropped by Emacs.

  If, however, slime-indentation is used, the package information is stored in
  common-lisp-system-indentation hash-table, which is used as a fallback when
  indentation from other sources is not available for the symbol in question.

  Package used for looking up the indentation spec is either picked up from
  the package qualifier in the source, or guessed from the buffer.

Revision 1.743 - (view) (annotate) - [select for diffs]
Mon May 23 22:51:46 2011 UTC (2 years, 10 months ago) by sboukarev
Branch: MAIN
Changes since 1.742: +3 -0 lines
Diff to previous 1.742 , to selected 1.38
* slime.el (sdlb-print-condition): New (or old new)
function. It was bound by P in sldb-mode, but for some reason it
was lost.

Revision 1.742 - (view) (annotate) - [select for diffs]
Thu Apr 14 01:21:11 2011 UTC (3 years ago) by sboukarev
Branch: MAIN
CVS Tags: SLIME-2-2
Changes since 1.741: +2 -1 lines
Diff to previous 1.741 , to selected 1.38
* swank.lisp (list-threads): Call `use-threads-p' only when
*emacs-connection* is non-nil. `use-threads-p' wouldn't work in
this case, and there is no need to remove a worker thread from the
list if it's not connected.
This fixes an issue with calling swank:stop-server when slime
isn't connected.

Revision 1.741 - (view) (annotate) - [select for diffs]
Sun Mar 13 21:11:13 2011 UTC (3 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.740: +6 -2 lines
Diff to previous 1.740 , to selected 1.38
* swank.lisp (format-restarts-for-emacs): Add
without-printing-errors around restart printing.

Revision 1.740 - (view) (annotate) - [select for diffs]
Fri Feb 4 14:26:45 2011 UTC (3 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.739: +6 -4 lines
Diff to previous 1.739 , to selected 1.38
Be careful with interning.

* swank.lisp (find-definitions-for-emacs): Use parse-symbol.

Revision 1.739 - (view) (annotate) - [select for diffs]
Fri Feb 4 14:26:36 2011 UTC (3 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.738: +2 -11 lines
Diff to previous 1.738 , to selected 1.38
Don't double encode results for eval-in-emacs.

* slime.el (slime-check-eval-in-emacs-result): New.
(slime-eval-for-lisp): Use it.
* swank.lisp (unreadable-object): Removed.

Revision 1.738 - (view) (annotate) - [select for diffs]
Wed Feb 2 11:12:33 2011 UTC (3 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.737: +9 -1 lines
Diff to previous 1.737 , to selected 1.38
* swank.lisp (eval-in-emacs): Return unreadable results from Emacs
as an unreadable-object, not as a string.

Revision 1.737 - (view) (annotate) - [select for diffs]
Wed Feb 2 10:13:07 2011 UTC (3 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.736: +4 -2 lines
Diff to previous 1.736 , to selected 1.38
* slime.el (slime-eval-for-lisp): Return value as a string,
because it can be unreadable, e.g. #<buffer foo>
* swank.lisp (eval-in-emacs): Prevent reader errors.

Revision 1.736 - (view) (annotate) - [select for diffs]
Wed Feb 2 09:22:33 2011 UTC (3 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.735: +4 -2 lines
Diff to previous 1.735 , to selected 1.38
* swank.lisp (eval-in-emacs): Export it.

Revision 1.735 - (view) (annotate) - [select for diffs]
Wed Jan 26 07:17:51 2011 UTC (3 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.734: +7 -5 lines
Diff to previous 1.734 , to selected 1.38
Allow tail-merging in call-with-bindings.

* swank.lisp (call-with-bindings): Don't use progv if alist is
empty alist is empty.

Revision 1.734 - (view) (annotate) - [select for diffs]
Thu Dec 9 18:51:17 2010 UTC (3 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.733: +4 -0 lines
Diff to previous 1.733 , to selected 1.38
* slime.el (slime-toggle-break-on-signals): New command.
* swank.lisp (toggle-break-on-signals): The corresponding Lisp code.

Revision 1.733 - (view) (annotate) - [select for diffs]
Tue Oct 19 16:57:32 2010 UTC (3 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.732: +3 -1 lines
Diff to previous 1.732 , to selected 1.38
* swank.lisp (invoke-nth-restart): Make sure there is such restart
before invoking it.

Revision 1.732 - (view) (annotate) - [select for diffs]
Fri Oct 15 22:42:14 2010 UTC (3 years, 6 months ago) by alendvai
Branch: MAIN
Changes since 1.731: +2 -0 lines
Diff to previous 1.731 , to selected 1.38
Smarten up the label-value-line macros.

- support a :label emacs font property
- added key args: padding-length, display-nil-value, hide-when-nil, splice-as-ispec, value-text
- label-value-line* will evaluate and splice the result of the form after a @ character

Revision 1.731 - (view) (annotate) - [select for diffs]
Fri Oct 8 09:03:24 2010 UTC (3 years, 6 months ago) by crhodes
Branch: MAIN
Changes since 1.730: +10 -9 lines
Diff to previous 1.730 , to selected 1.38
add richer location information to the position arg in compile-string-for-emacs

R's source location recording infrastructure works with line/column offsets
rather than with character offsets, so to get the right srcrefs associated
with some string source we need to communicate line and column information
from the source buffer.  Unfortunately, only the emacs side can do that -- in
principle, the R side has no direct access to the source file at all.  This
means a protocol change, converting the position argument in
swank:compile-string-for-emacs to a list of <position>s in the slime
source location grammar.  At present, pass in both :position and :line
kinds, and have swank:compile-string-for-emacs extract just the :position for
passing on to swank-compile-string.

Revision 1.730 - (view) (annotate) - [select for diffs]
Sat Oct 2 11:16:54 2010 UTC (3 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.729: +7 -7 lines
Diff to previous 1.729 , to selected 1.38
Rename slime-macro/compiler-macro-expand-1 => slime-expand-1

* slime.el (slime-expand-1): Renamed from
slime-macro/compiler-macro-expand-1.
(slime-expand-1-inplace): Renamed from
slime-macro/compiler-macro-expand-1-inplace.

* swank.lisp (swank-expand-1): Renamed from
swank-macro/compiler-macro-expand-1.
(swank-expand): Renamed from swank-macro/compiler-macro-expand.
(expand-1): Renamed from macro/compiler-macro-expand-1.
(expand): Renamed from macro/compiler-macro-expand.

Revision 1.729 - (view) (annotate) - [select for diffs]
Wed Sep 22 19:17:35 2010 UTC (3 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.728: +4 -3 lines
Diff to previous 1.728 , to selected 1.38
* swank.lisp (eval-for-emacs): Send (:abort condition) where
condition is a condition which was aborted instead of just (:abort).
* slime.el: Handle the above change.

* contrib/slime-repl.el: Handle (:abort condition) message from lisp.

Revision 1.728 - (view) (annotate) - [select for diffs]
Sat Sep 18 09:01:39 2010 UTC (3 years, 6 months ago) by trittweiler
Branch: MAIN
Changes since 1.727: +1 -0 lines
Diff to previous 1.727 , to selected 1.38
	* swank.lisp (before-init): push :SWANK to *FEATURES*. (lp#627313)

Revision 1.727 - (view) (annotate) - [select for diffs]
Sat Sep 18 08:54:01 2010 UTC (3 years, 6 months ago) by trittweiler
Branch: MAIN
Changes since 1.726: +21 -0 lines
Diff to previous 1.726 , to selected 1.38
	Make C-c C-m also expand compiler macros. (lp#638720)

	* slime.el (slime-macro/compiler-macro-expand-1): New.
	(slime-macro/compiler-macro-expand-1-inplace): New.
	(slime-editing-keys): Map `C-c C-m' to first above.
	(slime-compiler-macroexpand-1): Take prefix-arg like others.
	(slime-compiler-macroexpand-1-inplace): Ditto.
	(slime-compiler-macroexpand): Thus deleted.
	(slime-compiler-macroexpand-inplace): Ditto.

	* swank.lisp (swank-macro/compiler-macro-expand-1): New interface.
	(swank-macro/compiler-macro-expand): New interface.
	(macro/compiler-macro-expand-1): New.
	(macro/compiler-macro-expand): New.
	(expand-repeatedly): New helper.

Revision 1.726 - (view) (annotate) - [select for diffs]
Fri Sep 3 07:25:19 2010 UTC (3 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.725: +21 -12 lines
Diff to previous 1.725 , to selected 1.38
For C-c C-k, ask before loading possibly broken fasl files.

* slime.el (slime-compilation-result): Add 2 slots: loadp and
faslfile.
(slime-compilation-finished): Use them to load the faslfile.
* swank.lisp (:compilation-result): Add 2 slots. Use keyword
constructor.
(compile-file-for-emacs): Return loadp and faslfile to Emacs.
(collect-notes): Pass loadp and falsfile along.

Revision 1.725 - (view) (annotate) - [select for diffs]
Sun Aug 15 19:13:57 2010 UTC (3 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.724: +2 -1 lines
Diff to previous 1.724 , to selected 1.38
* swank.lisp (setup-server): Check the coding system before doing
anything, otherwise it may be eaten by ignore-errors later.

Revision 1.724 - (view) (annotate) - [select for diffs]
Wed Aug 11 12:40:03 2010 UTC (3 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.723: +68 -46 lines
Diff to previous 1.723 , to selected 1.38
Bind *print-readably* to nil when printing the title.

* swank.lisp (prepare-title): Factored out into new function.
(*inspector-printer-bindings*)
(*inspector-verbose-printer-bindings*): New.
(with-string-stream): New.
(emacs-inspect/istate): Renamed from emacs-inspect/printer-bindings.

Revision 1.723 - (view) (annotate) - [select for diffs]
Wed Aug 4 18:20:22 2010 UTC (3 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.722: +2 -1 lines
Diff to previous 1.722 , to selected 1.38
* slime.el (slime-dispatch-event): :eval-no-wait, lisp sends a
form in a string, not a function name and arguments. Add
slime-check-eval-in-emacs-enabled.
* swank.lisp (defpackage): export eval-for-emacs.

Revision 1.722 - (view) (annotate) - [select for diffs]
Fri Jul 30 16:14:50 2010 UTC (3 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.721: +11 -4 lines
Diff to previous 1.721 , to selected 1.38
Don't get confused by END-OF-FILE on unrelated streams.
Fixes bug "slime connection broken on trivial condition..."
Reported by Pascal J. Bourguignon.

* swank.lisp (end-of-repl-input): New condition.
(simple-repl, read-non-blocking): Use it.
* slime.el ([test] end-of-file): Test it.

Revision 1.721 - (view) (annotate) - [select for diffs]
Fri Jul 30 16:14:41 2010 UTC (3 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.720: +2 -1 lines
Diff to previous 1.720 , to selected 1.38
* swank.lisp (print-part-to-string): Bind *print-readably* to nil.
Useful when debugging broken printer methods.

Revision 1.720 - (view) (annotate) - [select for diffs]
Fri Jun 4 07:30:37 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.719: +4 -4 lines
Diff to previous 1.719 , to selected 1.38
* slime.el, swank.lisp: #'(lambda -> (lambda

Revision 1.719 - (view) (annotate) - [select for diffs]
Fri Jun 4 07:30:26 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.718: +46 -46 lines
Diff to previous 1.718 , to selected 1.38
* swank.lisp: Move definition of LCONS before first use.
Patch from Stelian Ionescu <sionescu@cddr.org>

Revision 1.718 - (view) (annotate) - [select for diffs]
Fri Jun 4 07:30:05 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.717: +49 -55 lines
Diff to previous 1.717 , to selected 1.38
Some *sldb-quit-restart* related fixes.

* swank.lisp (*sldb-quit-restart*): Set to nil by default.
(throw-to-toplevel, debug-in-emacs): Get rid of boundp tests.
(format-restarts-for-emacs): Add a mark for *sldb-quit-restart*.
(handle-requests): Always bind *emacs-connection*.
(with-connection): Get rid of call-with-connection so that
compilers can remove the call frame more easily.
(repl-input-stream-read): Factored out from
make-repl-input-stream.  Bind a *sldb-quit-restart* here too; no
need to restart the repl and a extra prompt for errors in Emacs
requests.

Revision 1.717 - (view) (annotate) - [select for diffs]
Thu May 27 14:48:12 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.716: +38 -72 lines
Diff to previous 1.716 , to selected 1.38
Clean up some of the confusion regarding *sldb-quit-restart*.

* swank.lisp (top-level-restart-p, *toplevel-restart-available*)
(coerce-restart): Deleted.
(with-top-level-restart, simple-repl): Simplify.

Revision 1.716 - (view) (annotate) - [select for diffs]
Thu May 27 14:48:03 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.715: +27 -28 lines
Diff to previous 1.715 , to selected 1.38
* swank.lisp (swank-error): Unrename from swank-protocol-error.

Revision 1.715 - (view) (annotate) - [select for diffs]
Tue May 18 09:12:47 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.714: +3 -3 lines
Diff to previous 1.714 , to selected 1.38
* slime.el (sldb-insert-condition): Don't create a mouse tooltip
for long error message, tooltip shows the same text and doesn't
add any value.
(slime-definition-at-point): factor out of `slime-inspect-definition'.
(slime-disassemble-definition): New, similar to `slime-inspect-definition'.

* swank.lisp (disassemble-form): rename from disassemble-symbol,
do the same as before but evaluate the argument.

Revision 1.714 - (view) (annotate) - [select for diffs]
Thu May 13 04:59:11 2010 UTC (3 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.713: +23 -25 lines
Diff to previous 1.713 , to selected 1.38
	* swank.lisp (*after-init-hook*, simple-break)
	(coerce-to-condition, use-threads-p, current-thread-id): Moved
	around in swank.lisp.
	(with-temp-package): Deleted; not used anywhere.
	(ensure-list): Use in SWANK-REQUIRE.

Revision 1.713 - (view) (annotate) - [select for diffs]
Sat Apr 24 04:44:38 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.712: +3 -2 lines
Diff to previous 1.712 , to selected 1.38
* swank.lisp (format-values-for-echo-area): Also print the length of an
integer in bits.

Revision 1.712 - (view) (annotate) - [select for diffs]
Mon Apr 19 00:42:28 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.711: +25 -12 lines
Diff to previous 1.711 , to selected 1.38
* swank.lisp (symbol-classification-string): New function to
replace (symbol-classification->string (classify-symbol
symbol)). It's faster and conses much less, while it is called
many times by fuzzy completion and fancy inspector.
(symbol-classification->string): Removed.
(list-threads): Exclude the current thread only if its name is
"worker".

Revision 1.711 - (view) (annotate) - [select for diffs]
Sat Apr 17 18:10:20 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.710: +2 -0 lines
Diff to previous 1.710 , to selected 1.38
* slime.el (slime-threads-update-interval): New customization
variable, if set to a number the threads buffer will
updated with this interval.
(slime-with-popup-buffer): Rename modes option to mode,
for a major mode. Enabling minor modes from within the body
doesn't cause troubles. End that way it is compatible with XEmacs
since it doesn't need to use minor-mode-list to distinguish
between minor and major modes.

* swank.lisp (list-threads): Delete the current thread from the listing.

Revision 1.710 - (view) (annotate) - [select for diffs]
Wed Apr 14 17:51:56 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.709: +2 -1 lines
Diff to previous 1.709 , to selected 1.38
* swank.lisp (compile-file-for-emacs): Actually commit the change
described in 2010-04-12.

Revision 1.709 - (view) (annotate) - [select for diffs]
Wed Apr 14 17:51:38 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.708: +11 -4 lines
Diff to previous 1.708 , to selected 1.38
Handle errors during interrupt processing with SLDB.
Bugfix for http://article.gmane.org/gmane.lisp.slime.devel/9641

* swank.lisp (invoke-or-queue-interrupt): When the queue is full,
process the interrupt immediately and also handle
SERIOUS-CONDITIONs during interrupt processing in SLDB.  SLDB
should work more likely than the interrupted code is expected to
handle the condition.
(with-interrupts-enabled%): Don't check for interrupts when
toggling interrupts off.
(wait-for-event): Add docstring.

Revision 1.708 - (view) (annotate) - [select for diffs]
Wed Apr 14 17:51:30 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.707: +147 -0 lines
Diff to previous 1.707 , to selected 1.38
Move error handling and logging from swank-rpc.lisp to swank.lisp

* swank.lisp (log-event, destructure-case, decode-message)
(encode-message, decode-message, swank-protocol-error): Moved back
to swank.lisp from swank-rpc.lisp.  It never belonged there
anyway.

* swank-rpc.lisp (read-message, write-message): New functions.
(swank-reader-error): New condition.

Revision 1.707 - (view) (annotate) - [select for diffs]
Mon Mar 29 15:57:28 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.706: +51 -64 lines
Diff to previous 1.706 , to selected 1.38
Minor cleanups

* swank.lisp (connection): Make socket-io read-only again.
(*connections*): Move declaration before first use.
(finish-connection-setup): Merged into make-connection.
(accept-connections): Renamed from serve-connection and
reorganized so that the socket-io slot can be read-only.
(accept-authenticated-connection): Renamed to authenticate-client.
Update callers accordingly.

Revision 1.706 - (view) (annotate) - [select for diffs]
Mon Mar 29 14:30:59 2010 UTC (4 years ago) by trittweiler
Branch: MAIN
Changes since 1.705: +1 -1 lines
Diff to previous 1.705 , to selected 1.38
	* swank.lisp (connection-info): Use princ-to-string rather than
	prin1-to-string as the latter may barf if *print-readably* is nil.

Revision 1.705 - (view) (annotate) - [select for diffs]
Fri Mar 19 12:32:30 2010 UTC (4 years ago) by trittweiler
Branch: MAIN
Changes since 1.704: +2 -1 lines
Diff to previous 1.704 , to selected 1.38
	* slime.el (slime-lisp-implementation-program): New connection
	variable.
	(slime-set-connection-info): Adapted to set it.
	(slime-attach-gdb): Use it to invoke gdb so gdb is able to find
	debugging symbols on non-Linux platforms.

	* swank.lisp (connection-info): Include lisp-implementation-program.

	* swank-backend.lisp (lisp-implementation-program): New interface.
	Default implementation based on command-line-args.

	* swank-ecl.lisp (command-line-args): Implement.

Revision 1.704 - (view) (annotate) - [select for diffs]
Thu Mar 18 18:24:25 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.703: +19 -46 lines
Diff to previous 1.703 , to selected 1.38
	Remove attach-gdb restart. Instead add SLDB shortcut `A'.

	* slime.el (slime-dispatch-event): Remove :gdb-attach.
	(slime-attach-gdb): Changed API. Takes connection not pid now and
	lightweight &optional arg. If not lightweight, get the default gdb
	config from the inferior Lisp.
	(sldb-break-with-system-debugger): New command, bound to `A' in
	sldb. Called this way to mimick
	`sldb-break-with-default-debugger', and because it may make sense
	to go beyond gdb in future, e.g. to invoke the Java Debugger for
	ABCL.

	* swank.lisp (call-with-gdb-restart, with-gdb-restart): Removed.
	(with-top-level-restart): Remove use of with-gdb-restart.
	(make-connection, start-server, create-server, setup-server):
	Remove inferior-lisp flag again. Not needed anymore.

Revision 1.703 - (view) (annotate) - [select for diffs]
Thu Mar 18 12:37:34 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.702: +1 -2 lines
Diff to previous 1.702 , to selected 1.38
	* swank.lisp (call-with-gdb-restart): Forgot to remove trailing T.

Revision 1.702 - (view) (annotate) - [select for diffs]
Thu Mar 18 12:30:35 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.701: +1 -1 lines
Diff to previous 1.701 , to selected 1.38
	* swank.lisp (open-dedicated-output-stream): Forgot to rename
	accept-authenticated-connection to accept-authenticated-client
	here.

Revision 1.701 - (view) (annotate) - [select for diffs]
Thu Mar 18 12:29:07 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.700: +39 -13 lines
Diff to previous 1.700 , to selected 1.38
	Add an ATTACH-GDB restart to SLDB.

	* swank.lisp (call-with-gdb-restart): New. Sends the new :gdb-attach event to Emacs.
	(with-gdb-restart): Sugar.
	(with-top-level-restart): Also expand to with-gdb-restart.
	(dispatch-event): Add :gdb-attach event.

	* swank-backend.lisp (gdb-initial-commands): New interface
	function so backends can customize how gdb needs to be configured
	for their implementation.

	* swank-ecl.lisp (gdb-initial-commands): Implement.

	* slime.el (slime-dispatch-event): Add clause for :gdb-attach.
	(slime-attach-gdb): New.

Revision 1.700 - (view) (annotate) - [select for diffs]
Thu Mar 18 11:52:34 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.699: +44 -50 lines
Diff to previous 1.699 , to selected 1.38
	* swank.lisp (connection): Add socket slot, make slot-io slot not
	be required to be filled in during object creation. Add
	inferior-lisp slot so we can know whether a connection belongs to
	a superior Emacs process. Need for that will come in following
	commit.
	(make-connection): Our constructor.
	(create-connection): Removed; not needed anymore.
	(finish-connection-setup): Function to fill socket-io slot.
	(start-server): Results in inferior-lisp slot being T.
	(create-server): Results in inferior-lisp slot being NIL.
	(setup-server): Adapted accordingly. Construct connection early so
	we do not have to pass down all the meta information explicitly.
	(serve-connection): Adapted accordingly.
	(accept-authenticated-client): Renamed from
	accept-authenticated-connection.
	(dispatch-event): Get rid of unused :%apply and :end-of-stream
	events.

Revision 1.699 - (view) (annotate) - [select for diffs]
Thu Mar 11 09:05:50 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.698: +9 -11 lines
Diff to previous 1.698 , to selected 1.38
	* swank.lisp (signal-interrupt): Removed.
	(interrupt-worker-thread): Slurp in definition of
	signal-interrupt. No need for invoke-or-queue-interrupt twice in
	case we do not use threads. Thus micro-prettification of
	backtraces.

Revision 1.698 - (view) (annotate) - [select for diffs]
Mon Mar 8 11:57:04 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.697: +51 -37 lines
Diff to previous 1.697 , to selected 1.38
	* 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.

Revision 1.697 - (view) (annotate) - [select for diffs]
Mon Mar 8 09:59:33 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.696: +6 -3 lines
Diff to previous 1.696 , to selected 1.38
	* swank.lisp (close-connection): Include initially passed
	coding-system in debugging output.

Revision 1.696 - (view) (annotate) - [select for diffs]
Mon Mar 8 09:47:12 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.695: +36 -23 lines
Diff to previous 1.695 , to selected 1.38
	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.

Revision 1.695 - (view) (annotate) - [select for diffs]
Wed Mar 3 11:57:03 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.694: +17 -0 lines
Diff to previous 1.694 , to selected 1.38
* slime.el (slime-inspector-history): New command.

Revision 1.694 - (view) (annotate) - [select for diffs]
Wed Mar 3 11:56:52 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.693: +2 -1 lines
Diff to previous 1.693 , to selected 1.38
Don't try to bind keywords in inspector-eval.

* swank.lisp (inspector-eval): For now, don't bind symbols which
are constantp.  Maybe something better can be found later.

Revision 1.693 - (view) (annotate) - [select for diffs]
Wed Mar 3 11:56:44 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.692: +1 -1 lines
Diff to previous 1.692 , to selected 1.38
Use @ instead of # to mark object in the inspect history.

* swank.lisp (print-part-to-string): Use @.

Revision 1.692 - (view) (annotate) - [select for diffs]
Wed Mar 3 11:56:35 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.691: +12 -11 lines
Diff to previous 1.691 , to selected 1.38
Make eval-in-frame display multiple values; not only the first.

* swank.lisp (values-to-string): New macro.
(eval-string-in-frame): Use it.

Revision 1.691 - (view) (annotate) - [select for diffs]
Tue Mar 2 12:38:07 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.690: +3 -2 lines
Diff to previous 1.690 , to selected 1.38
* slime.el (slime-compile-and-load-file): Accept C-u arguments for
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.

Revision 1.690 - (view) (annotate) - [select for diffs]
Mon Mar 1 15:42:08 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.689: +3 -1 lines
Diff to previous 1.689 , to selected 1.38
* swank.lisp (documentation-symbol): Show arglists for functions too.

Revision 1.689 - (view) (annotate) - [select for diffs]
Wed Feb 17 17:04:46 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.688: +12 -2 lines
Diff to previous 1.688 , to selected 1.38
Add a command to eval stuff in the inspector.

* slime.el (slime-inspector-eval): New command.
(slime-inspector-mode-map): Bind it to 'e'.
* swank.lisp (inspector-eval): New function.
* swank-backend.lisp (eval-context): New function.
* swank-cmucl.lisp (eval-context): Implement it.

Revision 1.688 - (view) (annotate) - [select for diffs]
Sun Feb 7 11:44:41 2010 UTC (4 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.687: +16 -19 lines
Diff to previous 1.687 , to selected 1.38
	* swank.lisp (xref-doit): Declare eql-specializing parameter
	ignorable, as some implementations complain about them not being
	used.

Revision 1.687 - (view) (annotate) - [select for diffs]
Sat Jan 30 15:44:50 2010 UTC (4 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.686: +6 -1 lines
Diff to previous 1.686 , to selected 1.38
* swank.lisp (pathname-as-directory): Treat "/foo/bar" and "/foo/bar/"
the same.
(compile-file-output): Use the above function.

Revision 1.686 - (view) (annotate) - [select for diffs]
Wed Jan 20 18:10:40 2010 UTC (4 years, 2 months ago) by tnorderhaug
Branch: MAIN
Changes since 1.685: +6 -3 lines
Diff to previous 1.685 , to selected 1.38
Refactoring to eliminate use of swank-protocol-error.backtrace.

Revision 1.685 - (view) (annotate) - [select for diffs]
Tue Jan 19 21:14:23 2010 UTC (4 years, 2 months ago) by tnorderhaug
Branch: MAIN
Changes since 1.684: +0 -172 lines
Diff to previous 1.684 , to selected 1.38
Deleted redundant definitions covered by swank-rpc.

Revision 1.684 - (view) (annotate) - [select for diffs]
Tue Jan 19 19:41:01 2010 UTC (4 years, 2 months ago) by tnorderhaug
Branch: MAIN
Changes since 1.683: +1 -1 lines
Diff to previous 1.683 , to selected 1.38
New swank-rpc package
Use swank-rpc in swank package.

Revision 1.683 - (view) (annotate) - [select for diffs]
Wed Jan 13 13:45:49 2010 UTC (4 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.682: +6 -16 lines
Diff to previous 1.682 , to selected 1.38
	* swank.lisp (*swank-state-stack*): Delete. Not needed anymore.
	(defslimefun state-stack): Delete.
	(decode-message): Adapted.
	(debug-in-emacs): Adapted.

Revision 1.682 - (view) (annotate) - [select for diffs]
Sun Jan 3 15:46:44 2010 UTC (4 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.681: +0 -4 lines
Diff to previous 1.681 , to selected 1.38
	* swank.lisp (with-swank-protocol-error-handler): Remove debugging
	bits.

Revision 1.681 - (view) (annotate) - [select for diffs]
Tue Dec 22 09:31:15 2009 UTC (4 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.680: +9 -8 lines
Diff to previous 1.680 , to selected 1.38
Commands to save&restore image files without disconnecting.

* slime-snapshot.el: New file.
* swank-snapshot.lisp: New file.

Some new backend functions used for loading image files.

* swank-backend.lisp (socket-fd, make-fd-stream, dup, exec-image)
(command-line-args): New functions.
* swank-cmucl.lisp: Impemented.
* swank-cmucl.lisp (reset-sigio-handlers): New function.
(save-image): Fix quoting bug.

* swank.lisp (clear-event-history): New functoin.
(interactive-eval, eval-region): Don't use FRESH-LINE.

Revision 1.680 - (view) (annotate) - [select for diffs]
Thu Dec 17 10:30:32 2009 UTC (4 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.679: +21 -11 lines
Diff to previous 1.679 , to selected 1.38
	* slime.el (slime-edit-uses-xrefs): New variable. For contribs to
	extend.
	(slime-edit-uses): Use it.

	* swank.lisp (xref-doit): Now a generic functions. For contribs to
	extend.

	* swank-asdf.lisp (who-depends-on): Make defslimefun.
	(xref-doit [:depends-on]): New method to make :depends-on valid
	xref request.

	* slime-asdf.el (slime-who-depends-on-rpc): New.
	(slime-who-depends-on): New interactive function.
	(slime-asdf-init): Make `slime-edit-uses' perform a :depends-on
	request, and bind `C-c C-w d' to `slime-who-depends-on'.

Revision 1.679 - (view) (annotate) - [select for diffs]
Thu Dec 17 10:15:19 2009 UTC (4 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.678: +19 -6 lines
Diff to previous 1.678 , to selected 1.38
	* swank.lisp (with-top-level-restart): Bind local special.
	(top-level-restart-p): Check for it; this tells us if where's in
	the dynamic extent of with-top-level-restart.
	(handle-requests): Use it.

Revision 1.678 - (view) (annotate) - [select for diffs]
Thu Dec 17 06:25:00 2009 UTC (4 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.677: +2 -1 lines
Diff to previous 1.677 , to selected 1.38
swank.lisp(handle-requests): Comment out
(assert (boundp '*sldb-quit-restart*)) because it's not bound
on NIL communication style. It's not a real fix, but at least it
lets null communication-style work.

Revision 1.677 - (view) (annotate) - [select for diffs]
Wed Dec 16 11:36:45 2009 UTC (4 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.676: +11 -8 lines
Diff to previous 1.676 , to selected 1.38
swank.lisp(compile-file-output): Use
(make-pathname :directory dir :defaults (compile-file-pathname file))
instead of (compile-file-pathname file :output-file dir),
because the latter works differently on different implementations.
(fasl-pathname): Use the above function.

Revision 1.676 - (view) (annotate) - [select for diffs]
Wed Dec 16 09:24:12 2009 UTC (4 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.675: +24 -16 lines
Diff to previous 1.675 , to selected 1.38
	* swank.lisp (*sldb-quit-restart*): Export. For users to customize
	what `q' does in SLDB.
	(handle-requests): Test differently for recursive invocations
	as *sldb-quit-restart* may now be globally bound due to user
	customization.
	(coerce-restart): Coerces a restart-designator to a restart.
	(throw-to-toplevel): Use it.

	* slime.texi (swank:*sldb-quit-restart*): Document it.

Revision 1.675 - (view) (annotate) - [select for diffs]
Tue Dec 15 21:56:55 2009 UTC (4 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.674: +6 -1 lines
Diff to previous 1.674 , to selected 1.38
	* swank.lisp (collect-notes): Establish new abort restart ("Abort
	Compilation"); if an error is signaled in EVAL-WHEN, or during
	macroexpansion -- assuming the backend DTRT --, invoking this
	restart will result in the normal compilation failure behaviour,
	including correct reporting of the offending toplevel form.

	* swank-sbcl.lisp (handle-notification-condition): Use
	`real-condition' here.
	(handle-file-compiler-termination): As a result, not needed anymore.
	(call-with-compilation-hooks): Also signal information about
	normal errors.

Revision 1.674 - (view) (annotate) - [select for diffs]
Thu Dec 10 23:15:42 2009 UTC (4 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.673: +43 -24 lines
Diff to previous 1.673 , to selected 1.38
	Add `M-x slime-toggle-debug-on-swank-error'.

	In "Debug on SWANK error" mode, errors which are normally caught
	to not annoy the user, will now drop into the debugger.

	Additionally, the backend won't do any backtrace magic so you'll
	see the full backtrace with all its glory details.

	SBCL only so far.

	* slime.el (slime-toggle-debug-on-swank-error): New.

	* swank.lisp (toggle-debug-on-swank-error): New slimefun.
	(debug-on-swank-error): New function. SETFable.
	(invoke-default-debugger): Use CALL-WITH-DEBUGGER-HOOK so we're
	trapped into the native debugger on SBCL (previously we weren't
	due to SB-EXT:*INVOKE-DEBUGGER-HOOK*.)

	* swank.lisp: Rename SWANK-ERROR to SWANK-PROTOCOL-ERROR.

Revision 1.673 - (view) (annotate) - [select for diffs]
Fri Nov 13 20:23:57 2009 UTC (4 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.672: +3 -2 lines
Diff to previous 1.672 , to selected 1.38
* swank.lisp (classify-symbol): Check fboundp before calling fdefinition,
ECL doesn't like (fdefinition nil).

Revision 1.672 - (view) (annotate) - [select for diffs]
Tue Nov 3 14:33:31 2009 UTC (4 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.671: +1 -2 lines
Diff to previous 1.671 , to selected 1.38
* slime.el (sldb-backward-frame): If the point is at the end of the buffer,
there is no property, handle this case.

* swank.lisp (collect-notes): LOAD returns generalized boolean,
not just boolean, but make-compilation-result accepts only booleans
for its second argument.

Both bugs reported by Derrell Piper.

Revision 1.671 - (view) (annotate) - [select for diffs]
Mon Nov 2 09:20:34 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.670: +0 -5 lines
Diff to previous 1.670 , to selected 1.38
* swank.lisp (without-interrupts): Removed. No longer used.
* swank-backend.lisp (call-without-interrupts): Removed.
Update backends accoringly.

Revision 1.670 - (view) (annotate) - [select for diffs]
Mon Nov 2 00:24:52 2009 UTC (4 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.669: +14 -14 lines
Diff to previous 1.669 , to selected 1.38
* swank.lisp (tokenize-symbol-thoroughly): Return NIL
instead of throwing an error.
(parse-symbol): Handle null result of tokenize-symbol-thoroughly.

This fixes a bug reported by Derrell Piper.

Revision 1.669 - (view) (annotate) - [select for diffs]
Sat Oct 31 22:13:55 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.668: +7 -6 lines
Diff to previous 1.668 , to selected 1.38
	* slime.el (slime-inside-string-p, slime-inside-comment-p)
	(slime-inside-string-or-comment-p): New.

	* swank-match.lisp: New file. Contains very simple pattern matcher
	from the CMU AI archive.

	* swank-loader.lisp: Compile swank-match.lisp.

	* swank.lisp: Make SWANK package use new SWANK-MATCH package.

	* slime-autodoc.el, swank-arglists.lisp: Large parts were
	rewritten. Autodoc is now able to highlight &key parameters, and
	parameters in nested arglists.

	* slime-parse.el, slime-c-p-c.el, slime-highlighting-edits.el:
	Adapted to changes.

Revision 1.668 - (view) (annotate) - [select for diffs]
Sat Oct 31 20:47:13 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.667: +13 -2 lines
Diff to previous 1.667 , to selected 1.38
	* swank.lisp (find-symbol-with-status): New.
	(parse-symbol): Use it to correctly parse symbols where only one
	colon is given. Consequences: Autodoc won't display an arglist on
	`(foo:bar |' if BAR is not exported from FOO.

Revision 1.667 - (view) (annotate) - [select for diffs]
Sat Oct 31 08:54:46 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.666: +3 -4 lines
Diff to previous 1.666 , to selected 1.38
* swank.lisp (list-threads): Remove thread-description.  Wasn't
used anymore.
* swank-backend.lisp (thread-description, set-thread-description):
Deleted.
* swank-abcl.lisp: Update accordingly.
* slime.el (slime-update-threads-buffer, slime-thread-insert):
Update accordingly.

Revision 1.666 - (view) (annotate) - [select for diffs]
Sat Oct 24 11:05:15 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.665: +8 -8 lines
Diff to previous 1.665 , to selected 1.38
	* swank.lisp (xref): Deal with non-yet-interned names gracefully.

Revision 1.665 - (view) (annotate) - [select for diffs]
Mon Oct 19 23:23:45 2009 UTC (4 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.664: +1 -26 lines
Diff to previous 1.664 , to selected 1.38
* swank-sbcl.lisp (thread-description): Remove it and supporting code,
because it didn't really work.

* swank.lisp (with-thread-description): Remove unused macro.

Revision 1.664 - (view) (annotate) - [select for diffs]
Mon Oct 19 10:01:50 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.663: +32 -13 lines
Diff to previous 1.663 , to selected 1.38
	* swank.lisp (without-printing-errors): New macro.
	(to-string): Use it.
	(to-line): Use it, too. This fixes printing error occuring during
	inspecting to prevent the inspector from displaying something
	useful.

	Reported by xristos@suspicious.org.

Revision 1.663 - (view) (annotate) - [select for diffs]
Fri Oct 9 23:05:12 2009 UTC (4 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.662: +1 -1 lines
Diff to previous 1.662 , to selected 1.38
* swank.lisp (stop-server): (list-threads) returns threads offset by 1,
don't kill the wrong thread.
Reported by Sebastian Tennant.

Revision 1.662 - (view) (annotate) - [select for diffs]
Mon Sep 28 14:56:19 2009 UTC (4 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.661: +1 -1 lines
Diff to previous 1.661 , to selected 1.38
swank.lisp (set-package): Provide a more meaningful error
message when package doesn't exist.

Revision 1.661 - (view) (annotate) - [select for diffs]
Sun Sep 20 09:39:16 2009 UTC (4 years, 6 months ago) by trittweiler
Branch: MAIN
Changes since 1.660: +25 -12 lines
Diff to previous 1.660 , to selected 1.38
	Generalize M-? (or M-_ respectively.)

	It will now list:

	  - call sites for functions,

	  - macroexpand sites for macros,

	  - binding, setting, referencing sites for variables,

	  - specializing methods for classes.

	* slime.el (slime-xref): Deal with :not-implemented.
	(slime-xrefs): New. Makes RPC request to XREFS.
	(slime-edit-callers): Renamed to `slime-edit-uses'.
	(slime-edit-uses): Use slime-xrefs.

	* swank-backend.lisp (who-*): Add default implementation which
	returns :not-implemented.

	* swank.lisp (xref-doit): Extracted from XREF.
	(xref): Pass over :not-implemented to Emacs side.
	(xrefs): New slime fun. To return results of multiple XREF
	requests at once.

Revision 1.660 - (view) (annotate) - [select for diffs]
Wed Sep 16 15:46:27 2009 UTC (4 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.659: +10 -8 lines
Diff to previous 1.659 , to selected 1.38
* swank.lisp (documentation-symbol): Return more readable information.

Revision 1.659 - (view) (annotate) - [select for diffs]
Thu Aug 27 20:19:26 2009 UTC (4 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.658: +12 -11 lines
Diff to previous 1.658 , to selected 1.38
Speed up symbol completion.

* swank.lisp (all-completions): Don't call unparse-symbol
while matching.  That gets very slow in CCL's CCL package.
Just use symbol-name and compare with char-equal.
(prefix-match-p): Use char-equal.

Revision 1.658 - (view) (annotate) - [select for diffs]
Sun Aug 16 20:00:09 2009 UTC (4 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.657: +7 -5 lines
Diff to previous 1.657 , to selected 1.38
* swank.lisp (init-global-stream-redirection): Continue even if
streams are already redirected.  Useful for restarting Swank with
M-x slime when a REPL is already present.  Will most likeley
mess up the input stream in multi threaded setups, tho.

Revision 1.657 - (view) (annotate) - [select for diffs]
Mon Aug 10 19:30:22 2009 UTC (4 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.656: +2 -2 lines
Diff to previous 1.656 , to selected 1.38
Separate context info from compiler message text.

* 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.

Revision 1.656 - (view) (annotate) - [select for diffs]
Sun Aug 9 14:07:47 2009 UTC (4 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.655: +18 -0 lines
Diff to previous 1.655 , to selected 1.38
* slime.el (slime-profile-by-substring): new function for profiling
functions by matching a substring.

* swank.lisp (profile-by-substring): ditto.

* contrib/slime-fuzzy.el (slime-fuzzy-complete-symbol): change
`comint-completion-addsuffix' to not add space after completing
a filename.

Revision 1.655 - (view) (annotate) - [select for diffs]
Mon Jul 6 11:22:47 2009 UTC (4 years, 9 months ago) by trittweiler
Branch: MAIN
Changes since 1.654: +6 -2 lines
Diff to previous 1.654 , to selected 1.38
	* swank.lisp (make-repl-input-stream): Make sure to redirect
	output from slime requests to the REPL buffer for
	communication-style=NIL.

Revision 1.654 - (view) (annotate) - [select for diffs]
Thu Jul 2 14:14:26 2009 UTC (4 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.653: +17 -21 lines
Diff to previous 1.653 , to selected 1.38
* swank.lisp (ed-in-emacs): Handle symbols/function-names better.
* slime.el (slime-ed): Updated accordingly.

Revision 1.653 - (view) (annotate) - [select for diffs]
Thu Jul 2 14:14:16 2009 UTC (4 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.652: +2 -3 lines
Diff to previous 1.652 , to selected 1.38
* swank.lisp (operator-arglist): Don't use pprint-fill
for people with wide screens.

Revision 1.652 - (view) (annotate) - [select for diffs]
Mon Jun 29 04:24:51 2009 UTC (4 years, 9 months ago) by sboukarev
Branch: MAIN
Changes since 1.651: +3 -4 lines
Diff to previous 1.651 , to selected 1.38
(open-streams): do not create unnecessary output stream
when using dedicated output stream. Thanks to Terje Norderhaug.

Revision 1.651 - (view) (annotate) - [select for diffs]
Sun Jun 28 19:15:08 2009 UTC (4 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.650: +16 -8 lines
Diff to previous 1.650 , to selected 1.38
Generalize list-threads for implementation-dependent attributes.

* swank-backend.lisp (thread-attributes): New function.
* swank-openmcl (thread-attributes): Implement it.
* swank.lisp (list-threads): Return a table with the attribute
names as the first row and the new attributes in the last columns.
* slime.el (slime-update-threads-buffer): For now, ignore the
extra attributes.

Revision 1.650 - (view) (annotate) - [select for diffs]
Wed Jun 24 15:33:20 2009 UTC (4 years, 9 months ago) by nsiivola
Branch: MAIN
Changes since 1.649: +13 -6 lines
Diff to previous 1.649 , to selected 1.38
Add :WAIT keyword argument to support blocking in SWANK:INSPECT-IN-EMACS.

Revision 1.649 - (view) (annotate) - [select for diffs]
Sun Jun 21 07:22:56 2009 UTC (4 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.648: +1 -1 lines
Diff to previous 1.648 , to selected 1.38
* swank-backend.lisp (frame-source-location): Renamed from
frame-source-location-for-emacs.  Update callers accordingly.

Revision 1.648 - (view) (annotate) - [select for diffs]
Thu May 28 15:42:47 2009 UTC (4 years, 10 months ago) by trittweiler
Branch: MAIN
Changes since 1.647: +15 -10 lines
Diff to previous 1.647 , to selected 1.38
	* swank.lisp (tokenize-symbol-thoroughly): Make it work correctly
	on escaped symbols.

Revision 1.647 - (view) (annotate) - [select for diffs]
Sun May 17 19:12:53 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.646: +13 -9 lines
Diff to previous 1.646 , to selected 1.38
	* slime.el (slime-dispatch-event): New event
	`:read-from-minibuffer'.
	(slime-read-from-minibuffer-for-swank): New.

	* swank.lisp (dispatch-event): Pass through :read-from-minibuffer
	event.
	(read-from-minibuffer-in-emacs): Now uses new event rather than
	eval-in-emacs.

Revision 1.646 - (view) (annotate) - [select for diffs]
Sat May 16 17:21:12 2009 UTC (4 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.645: +1 -1 lines
Diff to previous 1.645 , to selected 1.38
* swank.lisp (sldb-bitvector-pprint): Oops, all bits are true.

Revision 1.645 - (view) (annotate) - [select for diffs]
Sat May 16 11:38:47 2009 UTC (4 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.644: +1 -1 lines
Diff to previous 1.644 , to selected 1.38
swank.lisp (escape-string): Fix thinko.

Revision 1.644 - (view) (annotate) - [select for diffs]
Sat May 16 11:28:41 2009 UTC (4 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.643: +1 -1 lines
Diff to previous 1.643 , to selected 1.38
*** empty log message ***

Revision 1.643 - (view) (annotate) - [select for diffs]
Sat May 16 11:28:36 2009 UTC (4 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.642: +1 -1 lines
Diff to previous 1.642 , to selected 1.38
*** empty log message ***

Revision 1.642 - (view) (annotate) - [select for diffs]
Sat May 16 11:28:31 2009 UTC (4 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.641: +36 -29 lines
Diff to previous 1.641 , to selected 1.38
* swank.lisp (*sldb-pprint-dispatch-table*): Be careful when
calling WRITE recursively: set :circle to nil which avoids
interference with cycle-detection.
(escape-string): New helper function.
(*backtrace-pprint-dispatch-table*): Use it.

Revision 1.641 - (view) (annotate) - [select for diffs]
Fri May 8 17:56:06 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.640: +23 -8 lines
Diff to previous 1.640 , to selected 1.38
	* swank.lisp (read-from-minibuffer-in-emacs): New.
	([struct] istate): Add METADATA-PLIST slot.
	(ensure-istate-metadata): New. To attach arbitrary metadata to an
	inspector page.
	(inspect-object): Adapted so methods on EMACS-INSPECT can look at
	*ISTATE*.

Revision 1.640 - (view) (annotate) - [select for diffs]
Fri Mar 27 20:49:49 2009 UTC (5 years ago) by heller
Branch: MAIN
Changes since 1.639: +38 -31 lines
Diff to previous 1.639 , to selected 1.38
* swank.lisp (encode-message): Handle errors during write, e.g.
closed sockets.

Revision 1.639 - (view) (annotate) - [select for diffs]
Mon Mar 9 11:06:24 2009 UTC (5 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.638: +6 -6 lines
Diff to previous 1.638 , to selected 1.38
Make fasl-pathname fully customizable not only the direcrory part.

* swank.lisp (*fasl-pathname-function*): New variable.
(*fasl-directory*): Deleted.

Revision 1.638 - (view) (annotate) - [select for diffs]
Thu Feb 26 21:19:45 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.637: +5 -3 lines
Diff to previous 1.637 , to selected 1.38
	* swank.lisp (debug-in-emacs): Moved (WITH-BINDINGS
	*SLDB-PRINTER-BINDINGS* ...), from here...
	(sldb-loop): ... to here. Otherwise results from a user doing an
	eval-in-frame were truncated.

	Reported by Jeff Workman.

Revision 1.637 - (view) (annotate) - [select for diffs]
Thu Feb 26 20:53:07 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.636: +17 -7 lines
Diff to previous 1.636 , to selected 1.38
	* swank.lisp (hash-table-to-alist): New function.
	([method] emacs-inspect (hash-table)): Sort keys if they're all
	numbers, symbols, or strings.

	Adapted from Willem Broekema.

Revision 1.636 - (view) (annotate) - [select for diffs]
Sun Feb 22 14:18:47 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.635: +3 -0 lines
Diff to previous 1.635 , to selected 1.38
	`M-x slime-format-string-expand' displays the expansion of a
	format string.

	* slime.el (slime-string-at-point) New.
	(slime-string-at-point-or-error): New.
	(slime-format-string-expand): New; use them.

	* swank-backend.lisp (format-string-expand): New interface.
	* swank.lisp (swank-format-string-expand): New; use it.

Revision 1.635 - (view) (annotate) - [select for diffs]
Tue Feb 17 09:03:41 2009 UTC (5 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.634: +8 -2 lines
Diff to previous 1.634 , to selected 1.38
* swank.lisp (dispatch-event [:emacs-rex]): Reply a :invalid-rpc
message if the specified thread doesn't exist.
* slime.el (slime-dispatch-event): Handle :invalid-rpc.
(slime-init-connection-state): Bind slime-current-thread
to avoid problems with dead threads.

Revision 1.634 - (view) (annotate) - [select for diffs]
Sat Feb 14 12:33:28 2009 UTC (5 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.633: +6 -3 lines
Diff to previous 1.633 , to selected 1.38
Don't signal conditions in the interrupt handler to
avoid problems with naive code like
 (handler-case foo (condition bar))

* swank-backend.lisp (*interrupt-queued-handler*): Use a dynamic
variable instead.
(slime-interrupt-queued): Deleted.
* swank-cmucl.lisp, swank.lisp: Ditto.

Revision 1.633 - (view) (annotate) - [select for diffs]
Fri Jan 16 15:49:48 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.632: +7 -2 lines
Diff to previous 1.632 , to selected 1.38
* swank.lisp (pprint-eval): Also return the output produced during
evaluation.

Revision 1.632 - (view) (annotate) - [select for diffs]
Sat Jan 10 12:25:46 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.631: +0 -4 lines
Diff to previous 1.631 , to selected 1.38
*** empty log message ***

Revision 1.631 - (view) (annotate) - [select for diffs]
Sat Jan 10 12:25:16 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.630: +23 -2 lines
Diff to previous 1.630 , to selected 1.38
* swank-backend.lisp (swank-compile-file): Take output-file as
additional argument.  Update backends accordingly.

* swank.lisp (*fasl-directory*): New variable.
(fasl-pathname): New function.
(compile-file-for-emacs): Use it.

Revision 1.630 - (view) (annotate) - [select for diffs]
Sat Jan 10 12:17:41 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.629: +3 -1 lines
Diff to previous 1.629 , to selected 1.38
* swank-backend.lisp (set-default-initial-binding): New function.
* swank.lisp (setup-stream-indirection):  Use it

Revision 1.629 - (view) (annotate) - [select for diffs]
Sat Jan 10 10:06:59 2009 UTC (5 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.628: +1 -1 lines
Diff to previous 1.628 , to selected 1.38
	* swank.lisp (do-symbols*): Wrap body in TAGBODY.

Revision 1.628 - (view) (annotate) - [select for diffs]
Thu Jan 8 10:37:51 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.627: +3 -2 lines
Diff to previous 1.627 , to selected 1.38
Move the tree widget for compiler notes to contrib/.

Revision 1.627 - (view) (annotate) - [select for diffs]
Thu Jan 8 10:33:44 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.626: +4 -4 lines
Diff to previous 1.626 , to selected 1.38
* swank-backend.lisp (swank-compile-string): Pass the
buffer-file-name to Lisp, not only the directory.
Update callers accordingly

Revision 1.626 - (view) (annotate) - [select for diffs]
Thu Jan 8 06:45:45 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.625: +15 -10 lines
Diff to previous 1.625 , to selected 1.38
* swank.lisp (*sldb-pprint-dispatch-table*): Honor *print-escape*

Revision 1.625 - (view) (annotate) - [select for diffs]
Mon Jan 5 11:14:13 2009 UTC (5 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.624: +45 -3 lines
Diff to previous 1.624 , to selected 1.38
	Do not truncate error messages in SLDB.

	* swank.lisp (*sldb-bitvector-length*): Like *PRINT-LENGTH* for
	bit-vectors.
	(*sldb-string-length*): Likewise for strings.
	(*sldb-pprint-dispatch-table*): Truncate bit-vectors / strings
	according to the above variables.
	(*sldb-printer-bindings*): Use the new variables. Bind
	*PRINT-LINES* to NIL so error messages are not truncated.

Revision 1.624 - (view) (annotate) - [select for diffs]
Sat Jan 3 21:13:09 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.623: +12 -12 lines
Diff to previous 1.623 , to selected 1.38
* swank.lisp (simple-serve-requests, make-repl-input-stream):
Move the call to WITH-CONNECTION to the input stream to pick up
stream redirections.

Revision 1.623 - (view) (annotate) - [select for diffs]
Fri Jan 2 21:57:54 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.622: +129 -4 lines
Diff to previous 1.622 , to selected 1.38
Experimental implementation of "channels".
The idea is to support arbitrary protocols without
changes to the low level event dispatcher.

* slime.el (slime-make-channel, slime-close-channel)
(slime-channel-send, slime-send-to-remote-channel): New functions.
(slime-define-channel-type, slime-define-channel-method): New
macros.
(slime-dispatch-event): Support channel events.
* swank.lisp (channel, listener-channel): New classes.
(channel-send, send-to-remote-channel): New functions.
(create-listener): New function.  Test case for channel code.
(process-requests): Process channel events.

Revision 1.622 - (view) (annotate) - [select for diffs]
Fri Jan 2 21:57:31 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.621: +2 -2 lines
Diff to previous 1.621 , to selected 1.38
Experimental channels

Revision 1.621 - (view) (annotate) - [select for diffs]
Thu Jan 1 14:48:04 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.620: +14 -0 lines
Diff to previous 1.620 , to selected 1.38
* swank.lisp (sleep-for): New function
* slime.el ([test] break): Use SWANK::SLEEP-FOR to help CCL pass
this test.
([test] arglist): Update arglist of
swank::compile-string-for-emacs.
([rest] find-definition.2): Allow some whitespace before the actual
position.  Otherwise, CCL would fail on this test.

Revision 1.620 - (view) (annotate) - [select for diffs]
Wed Dec 31 11:25:39 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.619: +4 -3 lines
Diff to previous 1.619 , to selected 1.38
* swank.lisp (maybe-redirect-global-io): Don't consider
connections without streams.
(*new-connection-hook*): Don't add MAYBE-REDIRECT-GLOBAL-IO.
(create-repl): Call MAYBE-REDIRECT-GLOBAL-IO here.

Revision 1.619 - (view) (annotate) - [select for diffs]
Wed Dec 31 11:25:03 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.618: +17 -9 lines
Diff to previous 1.618 , to selected 1.38
* slime.el ([test] find-definition.2): Also fails for Lispworks.
([test] interrupt-at-toplevel, [test] interrupt-in-debugger): Those
don't work well if there's no REPL thread.

* swank-backend.lisp (wait-for-input, wait-for-one-stream): Don't
use PEEK-CHAR because we can't interrupt that cleanly.
* swank.lisp (simple-serve-requests): Run the REPL inside
WITH-CONNECTION.
* swank-lispworks.lisp (emacs-connected): Don't install the signal
handler here ...
(install-sigint-handler): ... use this instead

Revision 1.618 - (view) (annotate) - [select for diffs]
Tue Dec 30 18:57:54 2008 UTC (5 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.617: +4 -4 lines
Diff to previous 1.617 , to selected 1.38
	As of now, `C-u C-c C-c' compiled a function with maximum debug
	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.

Revision 1.617 - (view) (annotate) - [select for diffs]
Sat Dec 27 18:24:29 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.616: +3 -2 lines
Diff to previous 1.616 , to selected 1.38
Move slime-lisp-package to slime-repl.el

* swank.lisp (create-repl): Return initial package and prompt.

* slime-repl.el (slime-repl-event-hook-function): Handle
:new-package events here.
(slime-output-buffer): Initialize slime-buffer-package.
(slime-repl-connected-hook-function): Initialize slime-lisp-package.

Revision 1.616 - (view) (annotate) - [select for diffs]
Wed Dec 24 08:14:12 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.615: +6 -6 lines
Diff to previous 1.615 , to selected 1.38
*** empty log message ***

Revision 1.615 - (view) (annotate) - [select for diffs]
Wed Dec 24 08:14:06 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.614: +34 -39 lines
Diff to previous 1.614 , to selected 1.38
* swank.lisp (connection.env): New slot. To hold dynamic variable
bindings for this connection.
(with-io-redirection): Use it.
(create-repl): New function.  Currently only redirects IO for the
connection.  Could potentially be used to create multiple
listeners, each with a set of streams and corresponding buffers.
(*redirect-io*, maybe-call-with-io-redirection)
(call-with-redirected-io): Deleted.

* slime-repl.el (slime-repl-connected-hook-function): Create
a repl at startup.  Well, initialize stream redirection.

Revision 1.614 - (view) (annotate) - [select for diffs]
Wed Dec 24 07:56:20 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.613: +59 -7 lines
Diff to previous 1.613 , to selected 1.38
Create a repl also for *communication-style* = nil.
Use a custom stream which processes SLIME requests while waiting for
input.

* slime.el (slime-set-connection-info): Don't create a repl
buffer.
(slime-start-lisp): Bind process-connection-type to nil to avoid
problems witht CLISPs readline code.

* swank.lisp (read-non-blocking, make-repl-input-stream)
(simple-repl): New functions.
(simple-serve-requests): Use it.

* swank-backend.lisp (wait-for-one-stream, wait-for-streams): New
functions.
(wait-for-input): Use it to support wainting on multiple streams.

* swank-cmucl.lisp (to-fd-stream): New function.
(wait-for-input): Use it.

Revision 1.613 - (view) (annotate) - [select for diffs]
Tue Dec 23 08:33:03 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.612: +8 -6 lines
Diff to previous 1.612 , to selected 1.38
* swank.lisp (connection): Add a slot to store the auto-flush-thread.
(cleanup-connection-threads): Also kill the auto-flush-thread.

(stop-server): list-threads returns the thread name in second
position and not in first position.

Revision 1.612 - (view) (annotate) - [select for diffs]
Tue Dec 9 07:48:20 2008 UTC (5 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.611: +3 -0 lines
Diff to previous 1.611 , to selected 1.38
Reset the stream column to 0 after eval requests.

* swank.lisp (interactive-eval, eval-region): Use FRESH-LINE
to reset the stream column.
* slime.el (test repl-test): Adjust test accordingly.

Revision 1.611 - (view) (annotate) - [select for diffs]
Tue Dec 9 07:48:10 2008 UTC (5 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.610: +4 -2 lines
Diff to previous 1.610 , to selected 1.38
Be a bit more careful when computing the toplevel restart.

* swank.lisp (throw-to-toplevel): Test *sldb-quit-restart* for
nilness.
* sldb-quit (sldb-quit): Show the returned value in brackets.

Revision 1.610 - (view) (annotate) - [select for diffs]
Sat Nov 22 15:14:51 2008 UTC (5 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.609: +11 -7 lines
Diff to previous 1.609 , to selected 1.38
* swank.lisp (invoke-default-debugger): New condition type.
(swank-debugger-hook): Handle invoke-default-debugger conditions.
(sldb-break-with-default-debugger): Signal invoke-default-debugger
to transfer control to the default debugger.
New argument DONT-UNWIND to invoke the native debugger without
unwinding the stack.
* slime.el (sldb-break-with-default-debugger): By default,
unwind the stack before invoke the native debugger.
With prefix argument, run the native debugger in the
dynamic environment of SLDB.

Revision 1.609 - (view) (annotate) - [select for diffs]
Sun Nov 2 12:05:13 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.608: +2 -1 lines
Diff to previous 1.608 , to selected 1.38
* swank-backend.lisp (slime-interrupt-queued): New condition.
* swank.lisp (invoke-or-queue-interrupt): Raise it here.
* swank-cmucl.lisp (wait-for-input): Make fd readable in condition
handler so that we can call serve-events without timeout.

Revision 1.608 - (view) (annotate) - [select for diffs]
Fri Oct 31 14:13:10 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.607: +5 -5 lines
Diff to previous 1.607 , to selected 1.38
* swank.lisp (debug-in-emacs): Bind *sldb-quit-restart*
here, if necessary to the next abort retstart.

Revision 1.607 - (view) (annotate) - [select for diffs]
Sun Oct 19 20:03:34 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.606: +13 -11 lines
Diff to previous 1.606 , to selected 1.38
* swank.lisp (frame-locals-and-catch-tags): New function.
Fetch locals and catch tags with a single RPC.

* slime.el (sldb-frame-details): Use it.

* swank-backend.lisp (frame-catch-tags): Provide a default
implementation.  Delete the dummy defs in various backends.

Revision 1.606 - (view) (annotate) - [select for diffs]
Fri Oct 17 21:27:16 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.605: +1 -1 lines
Diff to previous 1.605 , to selected 1.38
* swank-backend.lisp (compute-sane-restarts): Deleted. Use plain
compute restarts instead.

Revision 1.605 - (view) (annotate) - [select for diffs]
Fri Oct 17 21:27:08 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.604: +2 -10 lines
Diff to previous 1.604 , to selected 1.38
* swank.lisp (call-with-retry-restart): Implement this a little
less confusing.

Revision 1.604 - (view) (annotate) - [select for diffs]
Fri Oct 17 21:26:53 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.603: +15 -15 lines
Diff to previous 1.603 , to selected 1.38
* swank-backend.lisp (frame-restartable-p): New function.
(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.

Revision 1.603 - (view) (annotate) - [select for diffs]
Thu Oct 16 21:15:48 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.602: +1 -0 lines
Diff to previous 1.602 , to selected 1.38
* swank-lispworks.lisp (with-swank-compilation-unit): Return the
values of BODY.
(compile-from-temp-file): Return T on success.

* swank.lisp (collect-notes): Check return type of
FUNCTION.

Revision 1.602 - (view) (annotate) - [select for diffs]
Thu Oct 16 21:15:39 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.601: +1 -1 lines
Diff to previous 1.601 , to selected 1.38
* swank-kawa.scm (swank-require): Add a dummy definition to avoid
errors at startup.

Revision 1.601 - (view) (annotate) - [select for diffs]
Thu Oct 16 21:15:33 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.600: +6 -3 lines
Diff to previous 1.600 , to selected 1.38
(compile-file-for-emacs): Update for chanded backends.

Revision 1.600 - (view) (annotate) - [select for diffs]
Fri Oct 10 06:09:32 2008 UTC (5 years, 6 months ago) by nsiivola
Branch: MAIN
Changes since 1.599: +21 -7 lines
Diff to previous 1.599 , to selected 1.38
toggling of inspector verbosity

  In verbose mode the inspector uses normal PRINT-OBJECT machinery to
  produce the title part.

  SWANK:*INSPECTOR-VERBOSE* controls default verbosity.

  Inside the inspector "v" is bound to
  slime-inspector-toggle-verbosity which changes the verbosity of the
  current inspector.

  Inspecting a subpart inherits the verbosity of the parent.

Revision 1.599 - (view) (annotate) - [select for diffs]
Tue Oct 7 14:54:53 2008 UTC (5 years, 6 months ago) by nsiivola
Branch: MAIN
Changes since 1.598: +3 -2 lines
Diff to previous 1.598 , to selected 1.38
export *BACKTRACE-PRINTER-BINDINGS* from SWANK

Revision 1.598 - (view) (annotate) - [select for diffs]
Sat Oct 4 19:13:41 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.597: +57 -87 lines
Diff to previous 1.597 , to selected 1.38
Some cleanups for compilation commands.

* 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.

Revision 1.597 - (view) (annotate) - [select for diffs]
Sun Sep 28 09:39:31 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.596: +36 -30 lines
Diff to previous 1.596 , to selected 1.38
Stop handling events in worker threads after sldb-quit.

* swank.lisp (with-top-level-restart): New macro.
(handle-requests, spawn-worker-thread): Use it.
(process-requests): Drop the just-one argument.
(handle-or-process-requests): Deleted. Call handle-requests
directly.

Revision 1.596 - (view) (annotate) - [select for diffs]
Tue Sep 23 04:57:51 2008 UTC (5 years, 6 months ago) by dcrosher
Branch: MAIN
Changes since 1.595: +4 -2 lines
Diff to previous 1.595 , to selected 1.38
* Update for the Scieneer CL 1.3.8 release.

Revision 1.595 - (view) (annotate) - [select for diffs]
Mon Sep 22 22:56:18 2008 UTC (5 years, 6 months ago) by nsiivola
Branch: MAIN
Changes since 1.594: +5 -4 lines
Diff to previous 1.594 , to selected 1.38
swank.lisp (guess-package): Return NIL if string designator is NIL

  Makes files without IN-PACKAGE forms more *BREAK-ON-SIGNALS friendly.

Revision 1.594 - (view) (annotate) - [select for diffs]
Sun Sep 21 11:17:43 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.593: +10 -8 lines
Diff to previous 1.593 , to selected 1.38
* swank.lisp (*backtrace-pprint-dispatch-table*):
Honor *print-escape*.

Revision 1.593 - (view) (annotate) - [select for diffs]
Thu Sep 18 15:23:37 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.592: +2 -3 lines
Diff to previous 1.592 , to selected 1.38
Some cleanups for the REPL code.

* slime.el (slime-show-last-output)
(slime-show-last-output-function)
(slime-show-last-output-region)
(slime-maybe-display-output-buffer)
(slime-repl-last-input-start-mark): Delete unused code.

(slime-repl-emit-result, slime-repl-insert-prompt)
(slime-repl-show-abort, slime-repl-insert-result)
(slime-insert-transcript-delimiter)
(slime-eval-with-transcript-cont): Consistently use save-excursion
and insert-before-markers.  We always want to preserve the cursor
position in the input region (for type-ahead).

(slime-batch-test): Use a timer.
(slime-check-buffer-contents): New function to test contents and
current position.  Use it in various places.

(sldb-recenter-region, def-slime-test interactive-eval)
(def-slime-test interactive-eval-output): Act slightly differently
when the test suite is executed in batch mode (without terminal).

* swank.lisp (handle-requests): Flush output.
(interactive-eval, interactive-eval): Don't use fresh-line, as
that makes it harder to test the REPL code.

* test.sh (Usage): Add a -T switch to run slime in the current
directory without copying (and compiling) everything to a
temporary directory.

Revision 1.592 - (view) (annotate) - [select for diffs]
Wed Sep 17 18:42:17 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.591: +2 -0 lines
Diff to previous 1.591 , to selected 1.38
(*pre-reply-hook*): Add 'force-user-output.
[def-slime-test] (interrupt-at-toplevel, interrupt-in-debugger):
Use it.

Revision 1.591 - (view) (annotate) - [select for diffs]
Wed Sep 17 18:42:12 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.590: +17 -13 lines
Diff to previous 1.590 , to selected 1.38
* swank.lisp (send-user-output): Lifted from make-output-function.
Make this a top-level function for easier redefinition.

Revision 1.590 - (view) (annotate) - [select for diffs]
Wed Sep 17 06:20:39 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.589: +2 -1 lines
Diff to previous 1.589 , to selected 1.38
* slime.el (slime-test-find-top-level-restart): New function.
[def-slime-test] (interrupt-at-toplevel, interrupt-in-debugger):
Use it.

Revision 1.589 - (view) (annotate) - [select for diffs]
Mon Sep 15 10:41:03 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.588: +27 -17 lines
Diff to previous 1.588 , to selected 1.38
* swank.lisp (sldb-loop): Send a :sldb-return event to ourselfes
to inform the debug session at the lower level.
(wait-for-event): Drop the report-interrupt argument.  No longer
needed.
(event-match-p): Add an OR pattern operator.  Used to wait for
different events simultaneously.

(read-packet): Use peek-char to detect EOF. read-sequence wouldn't
work.

* slime.el (slime-test-interrupt-in-debugger): Call sldb-quit and
sldb-continue in the right buffer.

* swank-backend.lisp (wait-for-input):
* swank-cmucl.lisp (wait-for-input):
* swank-clisp.lisp (wait-for-input): Use the idiom
"(when (check-slime-interrupts) (return :interrupt))".

Revision 1.588 - (view) (annotate) - [select for diffs]
Mon Sep 15 08:26:41 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.587: +20 -15 lines
Diff to previous 1.587 , to selected 1.38
More interrupt related frobbing.

Revision 1.587 - (view) (annotate) - [select for diffs]
Sun Sep 14 17:10:34 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.586: +66 -53 lines
Diff to previous 1.586 , to selected 1.38
Introduce a WAIT-FOR-INPUT backend function.
CMUCL's blocking input functions READ-CHAR etc.
are hard to use with interrupts.  In the backend
we have a more realistic chance to get interrupts working.

* swank-backend.lisp (wait-for-input): New function.

* swank-cmucl.lisp, swank-clisp.lisp (wait-for-input): Implement
it.

* swank.lisp (wait-for-event/event-loop): Use WAIT-FOR-INPUT and
rescan the event-queue if WAIT-FOR-INPUT was interrupted.
(reader-event): Deleted. Merged into wait-for-event/event-loop
resp.  dispatch-loop.
(decode-message): Drop the timeout argument.
(*events-enqueued*): A counter to quickly detect new events after
a wait.
(call-with-connection): If the argument is already the current
connection, don't rebind anything.
(without-slime-interrupts, with-slime-interrupts): Don't rebind
*pending-slime-interrupts*. Just to be save.

* slime.el (sldb-maybe-kill-buffer): New function, to handle
the case when the debugger was interrupted in WAIT-FOR-INPUT and
we want to return to the previous debug level.

Revision 1.586 - (view) (annotate) - [select for diffs]
Fri Sep 12 12:27:37 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.585: +24 -15 lines
Diff to previous 1.585 , to selected 1.38
	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.

Revision 1.585 - (view) (annotate) - [select for diffs]
Wed Sep 10 23:10:45 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.584: +63 -59 lines
Diff to previous 1.584 , to selected 1.38
	Reimplement recompilation support. The previous implementation
	involving specials was subtly broken with the :fd-handler
	communcation-style, because of serve-event's polite interplay with
	specials. (Cf. my slime-devel post "Per event bindings" on 2008-08-17.)

	* swank.lisp (with-swank-compilation-unit): Removed.
	(record-note-for-condition): Removed.
	(defstruct swank-compilation-unit): Renamed to
	`swank-compilation-result'.
	(swank-compilation-unit-for-emacs): Renamed to
	`swank-compilation-result-for-emacs'.
	(swank-compiler): Takes additional argument, the
	swank-compilation-result where caught notes should be accumulated
	into.
	(defslimefun compile-file-for-emacs): Adapted accordingly.
	(defslimefun compile-string-for-emacs): Ditto.
	(defslimefun compile-multiple-strings-for-emacs): New RPC call.

	* slime.el (slime-make-compile-expression-for-swank): Removed.
	(slime-compile-string): Don't use above function anymore. Adapted.
	(slime-recompile-locations): Rewritten to use new RPC call above.

Revision 1.584 - (view) (annotate) - [select for diffs]
Tue Sep 9 23:26:18 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.583: +65 -53 lines
Diff to previous 1.583 , to selected 1.38
	* swank.lisp (eval-for-emacs): Remove WITH-RETRY-RESTART again for
	simplicity reasons.

	(interactive-eval): Add WITH-RETRY-RESTART.
	(eval-and-grab-output): Ditto.
	(interactive-eval-region): Ditto.
	(re-evaluate-defvar): Ditto.
	(pprint-eval): Ditto.
	(repl-eval): Ditto.
	(eval-string-in-frame): Ditto.
	(pprint-eval-string-in-frame): Ditto.
	(init-inspector): Ditto.
	(inspect-in-frame): Ditto.

Revision 1.583 - (view) (annotate) - [select for diffs]
Tue Sep 9 12:35:46 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.582: +22 -4 lines
Diff to previous 1.582 , to selected 1.38
	A RETRY restart is provided for all Slime evaluation requests.

	The rationale is that restarting from a frame is mostly only
	possible for functions compiled with high debug settings; most
	functions aren't, however.

	[Alternatively, we could make EVAL-FOR-EMACS be compiled with a
	high debug level, so it'll become restartable. That would be
	non-obvious to the user, though, and would only work on those
	implementations that implement SWANK-BACKEND:RESTART-FRAME.]

	* swank.lisp (call-with-retry-restart): New function.
	(with-retry-restart): New macro.
	(eval-for-emacs): Use WITH-RETRY-RESTART.

Revision 1.582 - (view) (annotate) - [select for diffs]
Mon Sep 8 22:35:58 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.581: +13 -3 lines
Diff to previous 1.581 , to selected 1.38
A package "Foo.Bar.1.0" was truncated to "0>" as REPL
prompt. It'll now be displayed as "Bar.1.0>".

* swank.lisp (auto-abbreviated-package-name): Adapted accordingly.

Revision 1.581 - (view) (annotate) - [select for diffs]
Sun Aug 31 11:58:01 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.580: +21 -23 lines
Diff to previous 1.580 , to selected 1.38
* swank-backend.lisp (make-input-stream): Remove make-fn-streams.
Update callers accordingly.

Revision 1.580 - (view) (annotate) - [select for diffs]
Sat Aug 30 15:33:39 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.579: +2 -2 lines
Diff to previous 1.579 , to selected 1.38
* swank.lisp (prepare-part): Also wrap action elements
in a list.  Reported by Ariel Badichi and Madhu.

Revision 1.579 - (view) (annotate) - [select for diffs]
Wed Aug 27 17:53:08 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.578: +8 -3 lines
Diff to previous 1.578 , to selected 1.38
* swank-cmucl.lisp (remove-sigio-handlers): Fix thinko.

Revision 1.578 - (view) (annotate) - [select for diffs]
Wed Aug 27 17:53:03 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.577: +7 -9 lines
Diff to previous 1.577 , to selected 1.38
(swank-debugger-hook): Remove the default-debugger restart.

Revision 1.577 - (view) (annotate) - [select for diffs]
Wed Aug 27 17:52:58 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.576: +2 -1 lines
Diff to previous 1.576 , to selected 1.38
* swank.lisp (decode-message): Don't ignore EOF.

Revision 1.576 - (view) (annotate) - [select for diffs]
Fri Aug 22 21:15:24 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.575: +90 -31 lines
Diff to previous 1.575 , to selected 1.38
Use lazy lists in the inspector.

* swank.lisp (lcons): New data type.
(lcons*, lcons-car, lcons-cdr, llist-range): New functions.
(emacs-inspect array): Use lazy lists.
(istate>elisp): The istate.content is now be a lazy list.
(iline): New utility.
(prepare-range, prepare-part): Replaces inspector-content.

Revision 1.575 - (view) (annotate) - [select for diffs]
Fri Aug 22 21:15:19 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.574: +45 -18 lines
Diff to previous 1.574 , to selected 1.38
Implement streams with a length limit.
Use them to truncate printer output in backtraces.

* swank-backend.lisp (make-output-stream, make-input-stream):
Split make-fn-streams up into two functions.

* swank.lisp (call/truncated-output-to-string): New function.
(backtrace, istate>elisp, to-line): Use it.
(frame-locals-for-emacs): Use to-line.

Revision 1.574 - (view) (annotate) - [select for diffs]
Fri Aug 22 21:15:13 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.573: +20 -2 lines
Diff to previous 1.573 , to selected 1.38
In backtraces, escape newlines in strings as \n.

* swank.lisp (*backtrace-pprint-dispatch-table*): New.
(*backtrace-printer-bindings*): Use it.

Revision 1.573 - (view) (annotate) - [select for diffs]
Fri Aug 22 21:14:52 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.572: +75 -52 lines
Diff to previous 1.572 , to selected 1.38
Collect most of the inspector state in a structrure.
Truncate the printer output more aggressively.

* swank.lisp (inspector-state): New structure.
(*istate*): New variable holds the current state.
(inspect-object, inspector-content, inspector-nth-part)
(inspector-range, inspector-call-nth-action, describe-inspectee):
Use it.
(inspector-pop, inspector-next): Implemented forward/backward a
bit differently.
(emacs-inspect/printer-bindings, istate>elisp): New functions.
(to-line, truncate-string): New functions.

Revision 1.572 - (view) (annotate) - [select for diffs]
Fri Aug 22 14:28:40 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.571: +14 -10 lines
Diff to previous 1.571 , to selected 1.38
	Compiling a file `let*.lisp' on SBCL via C-c C-k resulted in an
	error, because it parsed the asterisk to a wild pathname. Fix
	that.

	* swank-backend.lisp (definterface parse-emacs-filename): New.
	PARSE-NAMESTRING by default.

	* swank-sbcl.lisp (defimplementation parse-emacs-filename): Use
	SB-EXT:PARSE-NATIVE-NAMESTRING.

	* swank.lisp (compile-file-for-emacs): Use PARSE-EMACS-FILENAME.
	(compile-file-if-needed): Ditto.
	(load-file): Ditto.
	(swank-require): Ditto.

Revision 1.571 - (view) (annotate) - [select for diffs]
Sun Aug 17 23:01:19 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.570: +4 -2 lines
Diff to previous 1.570 , to selected 1.38
* swank.lisp (install-fd-handler): Bind *emacs-connection* with
with-connection, for case when the signal hander is called out of
the blue.
(swank-debugger-hook): Don't assume that the hook argument is
#'swank-debugger-hook itself.

* test.sh (usage): Use cat rather not echo for here-documents.

Revision 1.570 - (view) (annotate) - [select for diffs]
Sun Aug 17 23:01:06 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.569: +13 -0 lines
Diff to previous 1.569 , to selected 1.38
* slime.el (slime-inspector-show-source): New command.
(slime-inspector-mode-map): Bind it to ".".
(sldb-highlight-sexp): Use slime-flash-region rather than a
permanent overlay.

Revision 1.569 - (view) (annotate) - [select for diffs]
Tue Aug 12 12:57:09 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.568: +9 -2 lines
Diff to previous 1.568 , to selected 1.38
Finally handle reader-errors without disconnecting.

* swank.lisp (decode-message): Convert reader-error conditions
into :reader-error events.
(dispatch-event): Send :reader-error events to Emacs.

* slime.el (slime-dispatch-event): Display reader-errors.

Revision 1.568 - (view) (annotate) - [select for diffs]
Tue Aug 12 12:57:02 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.567: +13 -6 lines
Diff to previous 1.567 , to selected 1.38
* swank.lisp (with-buffer-syntax): Take package as argument.
(defslimefun): Derive the package for exporting from the symbol.

Revision 1.567 - (view) (annotate) - [select for diffs]
Tue Aug 12 12:56:57 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.566: +29 -24 lines
Diff to previous 1.566 , to selected 1.38
Let SIGINT create a synthetic event.

* swank.lisp (install-fd-handler,simple-serve-requests): Dispatch
a :emacs-interrupt event in the SIGINT handler.

* slime.el (slime-interrupt): Send nothing over the wire when
SIGINT is used.

Revision 1.566 - (view) (annotate) - [select for diffs]
Mon Aug 11 17:41:55 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.565: +105 -85 lines
Diff to previous 1.565 , to selected 1.38
Improve interrupt safety for single-threaded lisps.

* slime.el (slime-interrupt): Send a :emacs-interrupt message
together with SIGINT.  SIGINT now means "check for new events"
instead of "invoke the debugger".

* swank-backend.lisp (install-sigint-handler)
(call-with-user-break-handler): New functions.

* swank.lisp (simple-serve-requests,install-fd-handler): Use it.
(read-packet, read-char): New function. Check for interrupts.
(wait-for-event/event-loop): Check for interrupts.

Revision 1.565 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:39:29 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.564: +1 -1 lines
Diff to previous 1.564 , to selected 1.38
* swank.lisp (*global-debugger*): Change default back to t.

Revision 1.564 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:37:31 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.563: +1 -1 lines
Diff to previous 1.563 , to selected 1.38
(swank-debugger-hook): Fix last change.

Revision 1.563 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:37:16 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.562: +43 -38 lines
Diff to previous 1.562 , to selected 1.38
* swank.lisp (wait-for-event): Add timeout argument.  This is used
for :fd-handler and :sigio style where we only process events as
long as we don't block.
(wait-for-event/event-loop, read-event)
(decode-message, receive-if): Ditto.
(process-requests): Renamed from read-from-emacs.
(handle-requests): Renamed from handle-request. Take timeout
argument.  Update callers.
(process-available-input): Deleted.
(with-swank-error-handler): Renamed from
with-reader-error-handler.
(with-connection): Use it.

Revision 1.562 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:37:07 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.561: +55 -50 lines
Diff to previous 1.561 , to selected 1.38
* swank.lisp (wait-for-event): Add timeout argument.  This is used
for :fd-handler and :sigio style where we only process events as
long we don't block.
(wait-for-event/event-loop, read-event)
(decode-message, receive-if): Ditto.
(process-events): Renamed from read-from-emacs.
(handle-requests): Renamed from handle-request. Take timeout
argument.  Update callers.
(process-available-input): Deleted.

Revision 1.561 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:36:52 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.560: +17 -14 lines
Diff to previous 1.560 , to selected 1.38
* swank.lisp (invoke-slime-debugger): New function.
Analagous to cl:invoke-debugger.
(swank-debugger-hook): Use it.

Revision 1.560 - (view) (annotate) - [select for diffs]
Sat Aug 9 19:57:22 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.559: +11 -4 lines
Diff to previous 1.559 , to selected 1.38
Fixes for heap dumping.

* swank.lisp (*log-output*): Don't initialize at load-time,
otherwise the stream would end up in a heap image.

Revision 1.559 - (view) (annotate) - [select for diffs]
Sat Aug 9 19:57:12 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.558: +5 -2 lines
Diff to previous 1.558 , to selected 1.38
* swank.lisp (*maximum-pipelined-output-chunks*): New variable

Revision 1.558 - (view) (annotate) - [select for diffs]
Sat Aug 9 19:57:00 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.557: +29 -22 lines
Diff to previous 1.557 , to selected 1.38
Display the "Use default debugger" restart more prominently.

* swank.lisp (swank-debugger-hook): Bind a user visible restart
to invoke the native debugger.
(*global-debugger*): Make this nil by default.
(sldb-loop): Minor cleanups.
(sldb-break-with-default-debugger): Invoke the native debugger
on top of the slime debugger.

* slime.el (sldb-setup): Always pop to the debugger buffer.
(sldb-activate): Optionally select the window.

* swank-sbcl.lisp (sb-thread::get-foreground): Override this
as the default implementation is unusable for Slime.

* swank-lispworks.lisp (environment-display-notifier): Just
return t.

Revision 1.557 - (view) (annotate) - [select for diffs]
Fri Aug 8 21:34:17 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.556: +43 -64 lines
Diff to previous 1.556 , to selected 1.38
Use wait-for-event instead of catch/throw where needed.

* swank.lisp (read-user-input-from-emacs, y-or-n-p-in-emacs)
(eval-in-emacs): Use wait-for-event.
(make-tag): Replaces intern-catch-tag.
(take-input): Deleted.
(dispatch-event): Remove some redundancy.

Revision 1.556 - (view) (annotate) - [select for diffs]
Fri Aug 8 19:42:51 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.555: +126 -167 lines
Diff to previous 1.555 , to selected 1.38
Unify event dispatching for single and multi-threaded cases.

* swank.lisp (send-to-control-thread,read-from-control-thread)
(send-to-socket-io,read-from-socket-io): Deleted.
(send-event, read-event, send-to-emacs)
(signal-interrupt, use-threads-p): New functions.
And more random changes.

Revision 1.555 - (view) (annotate) - [select for diffs]
Fri Aug 8 19:42:45 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.554: +27 -35 lines
Diff to previous 1.554 , to selected 1.38
(spawn-threads-for-connection): Simplify.

Revision 1.554 - (view) (annotate) - [select for diffs]
Fri Aug 8 13:43:33 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.553: +13 -1 lines
Diff to previous 1.553 , to selected 1.38
Spawn the auto-flush thread in the front end.
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.

Revision 1.553 - (view) (annotate) - [select for diffs]
Wed Aug 6 19:51:29 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.552: +71 -34 lines
Diff to previous 1.552 , to selected 1.38
Queue interrupts in various places.

* swank-backend.lisp (*pending-slime-interrupts*): New variable.
(check-slime-interrupts): New function.

* swank-lispworks.lisp (receive-if): Use it.

* swank-sbcl.lisp, swank-openmcl.lisp: Ditto.

* swank.lisp (*slime-interrupts-enabled*): New variable.
(with-slime-interrupts, without-slime-interrupts): New macros.
(invoke-or-queue-interrupt): New function.
(interrupt-worker-thread, eval-for-emacs, swank-debugger-hook)
(debug-nth-thread, wait-for-event, read-from-emacs): Use them.

Revision 1.552 - (view) (annotate) - [select for diffs]
Tue Aug 5 17:38:53 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.551: +4 -3 lines
Diff to previous 1.551 , to selected 1.38
* swank.lisp (encode-message): Inhibit interrupts
while writing the length and the body.

Revision 1.551 - (view) (annotate) - [select for diffs]
Mon Aug 4 20:25:24 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.550: +8 -9 lines
Diff to previous 1.550 , to selected 1.38
* swank.lisp (eval-for-emacs): Don't flush streams here as that
may now block.

Revision 1.550 - (view) (annotate) - [select for diffs]
Sun Aug 3 19:20:51 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.549: +1 -1 lines
Diff to previous 1.549 , to selected 1.38
(reader-from-emacs): Use &rest in destructure-case for CCL's sake.

Revision 1.549 - (view) (annotate) - [select for diffs]
Sun Aug 3 18:23:10 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.548: +99 -47 lines
Diff to previous 1.548 , to selected 1.38
Add some flow-control.

* swank.lisp (make-output-function): Synchronize with Emacs on
every 100th chunk of output.
(wait-for-event,wait-for-event/event-loop,event-match-p): New
functions.  Used to selectively wait for some events and to queue
the other events.
(dispatch-event, read-from-socket-io): Tag non-queueable events
with :call.
(read-from-control-thread, read-from-emacs): Process
:call events only; enqueue the others.

(*log-output*): Don't use synonym-streams here.  Dereference the
symbol until we get at the real stream.
(log-event): Escape non-ascii characters more carefully.

* swank-backend.lisp (receive-if): New function.
Update backends accordingly. (not yet for ABCL and SCL)

* slime.el (slime-dispatch-event): Handle ping event.

Revision 1.548 - (view) (annotate) - [select for diffs]
Sat Jul 26 23:05:59 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.547: +4 -3 lines
Diff to previous 1.547 , to selected 1.38
* swank.lisp (swank-compiler): Fix bug when invoking an abort
restart on a failed compilation attempt.

* swank-sbcl.lisp (swank-compile-string): If a compilation attempt
fails, COMPILE-FILE returns NIL which we tried to LOAD. Fix that.

* swank-backend.lisp (swank-compile-string, swank-compile-file):
Document return value.

Revision 1.547 - (view) (annotate) - [select for diffs]
Wed Jul 16 16:14:50 2008 UTC (5 years, 9 months ago) by trittweiler
Branch: MAIN
Changes since 1.546: +66 -38 lines
Diff to previous 1.546 , to selected 1.38
	Recompilation support added to xref buffers. You can now use
	`C-c C-c' in an xref buffer to recompile the defun represented by
	the xref at point. Similiarly, you can use `C-c C-k' to recompile
	all xrefs displayed.

	For example, if you've changed a macro, and want to recompile all
	the functions in the image which use that macro, you first call
	`slime-who-macroexpands' (C-c C-w RET), and then issues `C-c C-k'
	in the xref buffer that just popped up.

	[There's no guarantee that this will actually recompile all
	functions that depend on the changed macro, as this obviously
	depends on the quality of the backend's WHO-MACROEXPANDS
	implementation.]

	* swank.lisp: Introduced the notion of a SWANK-COMPILATION-UNIT,
	so we're able to compile different stuff comming from Slime one
	after the other, and have compiler notes &c. collected in a
	contiguous manner.

	(defstruct :swank-compilation-unit): New. Contains compilation
	notes, compilation results, etc.
	(*swank-compilation-unit*): New. Current Swank Compilation Unit.
	(with-swank-compilation-unit): New. Like WITH-COMPILATION-UNIT.
	(swank-compilation-unit-for-emacs): New.
	(swank-compiler): Adapted; collect compilation stuff into the
	current swank-compilation-unit.
	(compile-string-for-emacs): Use WITH-SWANK-COMPILATION-UNIT.
	(compile-file-for-emacs): Ditto.

	(*compiler-notes*, clear-compiler-notes): Removed.
	(compiler-notes-for-emacs): Removed.

	* slime.el (slime-compilation-unit, slime-last-compilation-unit),
	(slime-compiler-notes, slime-compiler-results): New/Adapted.

	(slime-make-compile-expression-for-swank): Factored out from
	`slime-compile-string'.
	(slime-recompile-location): New.
	(slime-recompile-locations): New.
	(slime-pop-to-location): &optional `where' arg can now also be
	'excursion to only reset the current-buffer, but not switch.

	(slime-xref-mode-map): Add `C-c C-c' and `C-c C-k'.
	(slime-xref-dspec-at-point): New.
	(slime-all-xrefs): New.
	(slime-recompile-xref): New.
	(slime-recompile-all-xrefs): New.
	(slime-make-xref-recompilation-cont): New.
	(slime-xref-inert-recompilation-flags): New.

	(slime-trim-whitespace): New utility.

Revision 1.546 - (view) (annotate) - [select for diffs]
Sat Jul 5 13:37:25 2008 UTC (5 years, 9 months ago) by trittweiler
Branch: MAIN
Changes since 1.545: +12 -24 lines
Diff to previous 1.545 , to selected 1.38
	* swank.lisp: Revert Melis' change from 2008-07-04; Global IO
	redirection seems currently to be broken, and while it's not due
	to that commit (it seems that it's been broken since longer), I
	want to be on a safe bet.

Revision 1.545 - (view) (annotate) - [select for diffs]
Sat Jul 5 11:48:11 2008 UTC (5 years, 9 months ago) by trittweiler
Branch: MAIN
Changes since 1.544: +30 -4 lines
Diff to previous 1.544 , to selected 1.38
	`M-x slime-lisp-threads' will now contain a summary of what's
	currently executed in a thread that was created by Swank.

	* swank-backend.lisp (thread-description, set-thread-description):
	New interface functions to associate strings with threads.
	* swank-sbcl.lisp (thread-description, set-thread-description):
	Implemented.

	* swank.lisp (call-with-thread-description),
	(with-thread-description): New.
	(read-from-emacs): Now temporarily sets the thread-description of
	the current thread to a summary of what's going to be executed by
	the current request.
	(defslimefun list-threads): Changed return value to also contain
	a thread's description.

	* slime.el (slime-list-threads, slime-thread-insert): Adapted to
	new return value of LIST-THREADS.

Revision 1.544 - (view) (annotate) - [select for diffs]
Fri Jul 4 23:30:10 2008 UTC (5 years, 9 months ago) by trittweiler
Branch: MAIN
Changes since 1.543: +24 -12 lines
Diff to previous 1.543 , to selected 1.38
* swank.lisp (call-with-redirected-io): Rebind only standard
  streams if *GLOBALLY-REDIRECT-IO*. Fixes lost output after
  disconnect, reconnect.

Revision 1.543 - (view) (annotate) - [select for diffs]
Thu Apr 17 14:56:43 2008 UTC (6 years ago) by heller
Branch: MAIN
Changes since 1.542: +3 -2 lines
Diff to previous 1.542 , to selected 1.38
C-c C-c with prefix args now uses the maximal debug level.  (By Zach Beane.)
Only implemented for SBCL.

* slime.el (slime-compile-with-maximum-debug): New variable.
(slime-compile-defun, slime-compile-region): Use it.

* swank.lisp (compile-string-for-emacs): Accept new debug
argument. Update backend accordingly.

Revision 1.542 - (view) (annotate) - [select for diffs]
Thu Mar 27 11:46:50 2008 UTC (6 years ago) by heller
Branch: MAIN
Changes since 1.541: +1 -1 lines
Diff to previous 1.541 , to selected 1.38
By default, don't ask if SLIME should be started.

* slime.el (slime-auto-connect): New variable.
(slime-auto-connect): New function.
(slime-connection): Use it.

Revision 1.541 - (view) (annotate) - [select for diffs]
Thu Mar 27 11:46:41 2008 UTC (6 years ago) by heller
Branch: MAIN
Changes since 1.540: +4 -2 lines
Diff to previous 1.540 , to selected 1.38
* swank-loader.lisp (load-swank): Call swank::before-init.

* swank.lisp (before-init): New function.
(init): Renamed from setup.

Revision 1.540 - (view) (annotate) - [select for diffs]
Sun Mar 16 10:44:05 2008 UTC (6 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.539: +0 -5 lines
Diff to previous 1.539 , to selected 1.38
* swank.lisp (load-file-set-package): Removed; the function was
  only used in `slime-load-file-set-package' which invokes
  `slime-repl-set-package' which set the package for a second time.

* slime.lisp (slime-load-file-set-package): Don't call
  SWANK:LOAD-FILE-SET-PACKAGE, but merely call SWANK:LOAD-FILE,
  then invoke `slime-repl-set-package' which will set the package.

  (slime-pretty-find-buffer-package): Removed. (Nowhere used.)
  (slime-set-package): Ditto.

Revision 1.539 - (view) (annotate) - [select for diffs]
Fri Mar 14 14:04:31 2008 UTC (6 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.538: +26 -18 lines
Diff to previous 1.538 , to selected 1.38
* swank.lisp (classify-symbol, symbol-classification->string): Add
  classification of symbols denoting type specifier, and denoting
  constants.

Revision 1.538 - (view) (annotate) - [select for diffs]
Thu Feb 28 19:43:58 2008 UTC (6 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.537: +3 -0 lines
Diff to previous 1.537 , to selected 1.38
* swank.lisp (find-definition-for-thing): New DEFSLIMEFUN.

* swank-backend (find-source-location): New DEFINTERFACE.

* swank-sbcl (find-source-location): Implement it.

* slime.el (slime-edit-definition-cont): Use `slime-length='.

Revision 1.537 - (view) (annotate) - [select for diffs]
Mon Feb 25 17:17:56 2008 UTC (6 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.536: +5 -4 lines
Diff to previous 1.536 , to selected 1.38
Make it easier to prepare core-files.

* swank-loader.lisp (init): Two new keyword args: :SETUP and
:LOAD-CONTRIBS.  :SETUP=nil can be used to suppress init hooks and
loading user init files.

* swank.asd: Call swank-loader:init with :SETUP=nil.

* swank.lisp (init-global-stream-redirection): Guard against
redirecting already redirected streams.

Revision 1.536 - (view) (annotate) - [select for diffs]
Sun Feb 24 16:49:49 2008 UTC (6 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.535: +3 -4 lines
Diff to previous 1.535 , to selected 1.38
Allow ED-IN-EMACS to edit new files.

* swank.lisp (ed-in-emacs): Make it possible to canonicalize
filenames of non-existing files.
(canonicalize-filename): Merged into ed-in-emacs.

Revision 1.535 - (view) (annotate) - [select for diffs]
Sat Feb 23 10:28:01 2008 UTC (6 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.534: +1 -1 lines
Diff to previous 1.534 , to selected 1.38
In the inspector, show one-element lists as list not as pair.

* swank.lisp (emacs-inspect cons)

Revision 1.534 - (view) (annotate) - [select for diffs]
Wed Feb 20 22:12:37 2008 UTC (6 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.533: +19 -77 lines
Diff to previous 1.533 , to selected 1.38
Better factorization for M-. and xref commands.

* slime.el (slime-xref): Renamed from slime-definition.
(slime-location, slime-location-p): New ADT def.
(slime-xref-has-location-p, slime-analyze-xrefs): New functions.
This work used to be done on the Lisp side.
(slime-pop-to-location): New function.
(slime-edit-definition, slime-edit-definition-cont): Simplified.
(slime-find-definitions): New function.
(slime-goto-definition, slime-goto-definition-other-window)
(slime-pop-to-other-window, slime-show-definitions): Deleted.
(slime-insert-xrefs): Simplified.
(slime-insert-xref-location): Deleted. No need to show the filename
twice.

* swank.lisp (find-definitions-for-emacs, xref): Use common
representation for "definitions" and "xrefs".
(xref>elisp): New helper.
(group-xrefs, alistify, parition, location-position<, xref-position)
(xref-buffer, location-valid-p): Deleted. This work is now done on
the Emacs side.

Revision 1.533 - (view) (annotate) - [select for diffs]
Wed Feb 20 22:07:35 2008 UTC (6 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.532: +3 -9 lines
Diff to previous 1.532 , to selected 1.38
Minor cleanups for inspector code.

* swank.lisp (inspector-content, inspect-list-aux): Slight
cleanups.

Revision 1.532 - (view) (annotate) - [select for diffs]
Sat Feb 16 19:26:23 2008 UTC (6 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.531: +7 -8 lines
Diff to previous 1.531 , to selected 1.38
Split loading and initialization (again).

* swank-loader.lisp (init): New.  Delete old packages only if
explicitly requested.  Also, if the swank package already exists
don't load swank again.
(setup): New function.

* swank.lisp (setup): New function.  Moved over here from
swank-loader.lisp.

* slime.el (slime-init-command): Call swank-loader:init.


In the REPL, mark the trailing newline also as input.

* slime.el (slime-repl-send-input): Mark the newline with
the 'slime-repl-old-input property.
(slime-repl-grab-old-input): Strip the newline.

Revision 1.531 - (view) (annotate) - [select for diffs]
Sat Feb 9 18:47:05 2008 UTC (6 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.530: +48 -54 lines
Diff to previous 1.530 , to selected 1.38
Drop the first return value of emacs-inspect.

* swank.lisp (emacs-inspect): Drop the first return value. It
wasn't used anymore.  Update all methods and callers.

Revision 1.530 - (view) (annotate) - [select for diffs]
Sat Feb 9 18:45:39 2008 UTC (6 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.529: +3 -39 lines
Diff to previous 1.529 , to selected 1.38
Remove obsolete *slime-inspect-contents-limit*.

* swank.lisp (*slime-inspect-contents-limit*): Deleted and all its
uses.  The new implementation isn't specific to hash-tables or
arrays.

Revision 1.529 - (view) (annotate) - [select for diffs]
Sat Feb 9 18:44:13 2008 UTC (6 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.528: +21 -12 lines
Diff to previous 1.528 , to selected 1.38
Limit the length of the inspector content.
That's similar to the limitation of the length of backtraces in
the debugger.

* swank.lisp (*inspectee-content*): New variable.
(content-range): New function.
(inspect-object): Use it with a length of 1000.
(inspector-range): New function. Called from Emacs.

* slime.el (slime-inspector-insert-content)
(slime-inspector-insert-range, slime-inspector-insert-range-button)
(slime-inspector-fetch-range): New functions.
(slime-inspector-operate-on-point): Handle range-buttons.

Revision 1.528 - (view) (annotate) - [select for diffs]
Sat Feb 9 18:39:02 2008 UTC (6 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.527: +178 -192 lines
Diff to previous 1.527 , to selected 1.38
Inspector cleanups.

* 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.

Revision 1.527 - (view) (annotate) - [select for diffs]
Mon Feb 4 20:35:11 2008 UTC (6 years, 2 months ago) by mbaringer
Branch: MAIN
Changes since 1.526: +0 -1 lines
Diff to previous 1.526 , to selected 1.38
*** empty log message ***

Revision 1.526 - (view) (annotate) - [select for diffs]
Mon Feb 4 17:35:03 2008 UTC (6 years, 2 months ago) by mbaringer
Branch: MAIN
Changes since 1.525: +6 -10 lines
Diff to previous 1.525 , to selected 1.38
Drop second argument from inspect-for-emacs

Revision 1.525 - (view) (annotate) - [select for diffs]
Mon Feb 4 16:35:39 2008 UTC (6 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.524: +1 -70 lines
Diff to previous 1.524 , to selected 1.38
Move some functions to swank-arglist.lisp.

* swank.lisp (length=, ensure-list, recursively-empty-p)
(maybecall, exactly-one-p, read-softly-from-string)
(unintern-in-home-package, valid-function-name-p): Moved to
contrib/swank-arglist.lisp.

Revision 1.524 - (view) (annotate) - [select for diffs]
Mon Feb 4 16:25:08 2008 UTC (6 years, 2 months ago) by mbaringer
Branch: MAIN
Changes since 1.523: +4 -1 lines
Diff to previous 1.523 , to selected 1.38
(*sldb-condition-printer*): New variable.
(safe-condition-message): Use the current binding
of *sldb-condition-printer* to print the condition to a string.

Revision 1.523 - (view) (annotate) - [select for diffs]
Thu Dec 20 10:33:37 2007 UTC (6 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.522: +1 -1 lines
Diff to previous 1.522 , to selected 1.38
* swank.lisp (read-softly-from-string): Now actually returns all
  three values as explained in its docstring.

Revision 1.522 - (view) (annotate) - [select for diffs]
Thu Dec 13 15:09:47 2007 UTC (6 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.521: +4 -5 lines
Diff to previous 1.521 , to selected 1.38
Simplify the inspector.

* swank.lisp (inspect-object): Ignore the title value returned
from backends.

* slime.el (slime-open-inspector): Updated accordingly.

Revision 1.521 - (view) (annotate) - [select for diffs]
Sun Dec 2 08:44:33 2007 UTC (6 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.520: +54 -8 lines
Diff to previous 1.520 , to selected 1.38
Make it possible to close listening sockets.
Patch by Alan Caulkins <fatman@maxint.net>.

* swank.lisp (stop-server, restart-server): New functions.
(*listener-sockets*): New variable.
(setup-server): Store open sockets in *listener-sockets*.

Revision 1.520 - (view) (annotate) - [select for diffs]
Fri Nov 30 13:09:49 2007 UTC (6 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.519: +16 -8 lines
Diff to previous 1.519 , to selected 1.38
Disable the pretty-printer for backtraces.
Would be nice if we could print newlines in strings as \n.

* swank.lisp (*backtrace-printer-bindings*):  New varaible.
(backtrace, frame-locals-for-emacs): Use it.

Revision 1.519 - (view) (annotate) - [select for diffs]
Thu Nov 29 12:35:54 2007 UTC (6 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.518: +3 -5 lines
Diff to previous 1.518 , to selected 1.38
* swank.lisp (valid-function-name-p): Fixed wrt. setf functions.

Revision 1.518 - (view) (annotate) - [select for diffs]
Sat Nov 24 08:14:50 2007 UTC (6 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.517: +6 -4 lines
Diff to previous 1.517 , to selected 1.38
Mirror *modules* in Emacs.

* slime.el (slime-lisp-modules): New connction variable.
(slime-set-connection-info): Load requested modules.
(slime-required-modules): New variable.
(slime-require, slime-load-contribs): New functions.

* swank.lisp (connection-info): Include *modules*.
(swank-require): Accept a list of modules as argument.

Revision 1.517 - (view) (annotate) - [select for diffs]
Sat Nov 24 08:04:27 2007 UTC (6 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.516: +4 -14 lines
Diff to previous 1.516 , to selected 1.38
* swank.lisp (parse-package): The old version didn't pass the
test-suite.  Now use the reader directly instead of emulating it
half-heartedly.

* slime.el (slime-search-buffer-package): Don't remove double
quotes or "#:", swank:parse-package takes care of that.

Revision 1.516 - (view) (annotate) - [select for diffs]
Sat Nov 24 07:58:43 2007 UTC (6 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.515: +15 -25 lines
Diff to previous 1.515 , to selected 1.38
* swank.lisp (apropos-symbols):  Use simple search instead of
regexps.
(make-apropos-matcher): Used to be make-regexp-matcher.

(*sldb-printer-bindings*): Set *print-right-margin* to
most-positive-fixnum. This prints each frame in the backtrace in a
single long line.  But is suboptimal for other purposes, like
eval-in-frame.

(setup-server): Initialize multiprocessing here, so that is also
done for create-server.

Revision 1.515 - (view) (annotate) - [select for diffs]
Fri Nov 23 08:25:52 2007 UTC (6 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.514: +1 -1 lines
Diff to previous 1.514 , to selected 1.38
* swank.lisp (swank-require): Fix typo (:key was used instead of
  :test.) Reported by Stelian Ionescu.

Revision 1.514 - (view) (annotate) - [select for diffs]
Thu Nov 22 22:33:39 2007 UTC (6 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.513: +2 -1 lines
Diff to previous 1.513 , to selected 1.38
* swank.lisp (swank-require): Don't search the file if the
module-name is present in *modules*. That should avoid problems if
swank is included in a core file and moved to a different
location.  Reported by John Wiegley.

Revision 1.513 - (view) (annotate) - [select for diffs]
Thu Nov 1 14:29:23 2007 UTC (6 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.512: +4 -1 lines
Diff to previous 1.512 , to selected 1.38
	The inspector page layout has changed slightly. Before the header
	looked like

	  A proper list.
            [type: CONS]
	  -------------------

	It now looks like

	  #<CONS {B3DBD39}>:
	     A proper list.
	  --------------------

	Rationale is to have a "presentation link" to the currently
	inspected object itself, to copy it down to the REPL via `M-RET'.
	This is mostly useful when trying to get a value from the Slime
	Debugger to the REPL, which you can do by inspecting the value
	first by `i', and then using `M-RET' on the object representation
	in the new header layout.

	Such a "presentation link" existed already but was removed in
	2007-08-23. The old behaviour was to have the title ("A proper
	list" in the above example) to contain the link. I decided to make
	the link more explicit.

	* swank.lisp (inspect-object): Now additionally returns a
	string-representation of the object itself, and an inspector id
	for it. Removed returning its type as this is implicit in the new
	string representation.

	* slime.el (slime-open-inspector): Adapted for new header layout.

Revision 1.512 - (view) (annotate) - [select for diffs]
Mon Oct 22 11:33:54 2007 UTC (6 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.511: +37 -10 lines
Diff to previous 1.511 , to selected 1.38
* swank.lisp (read-softly-from-string, unintern-in-home-package):
  Moved from `contrib/swank-arglist.lisp'.
  (parse-package): Use them. (Removes FIXME about interning
  symbols.)  Also changed the logic somewhat to avoid passing :|| to
  FIND-PACKAGE as ECL chokes on that.

Revision 1.511 - (view) (annotate) - [select for diffs]
Wed Sep 19 11:12:07 2007 UTC (6 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.510: +17 -17 lines
Diff to previous 1.510 , to selected 1.38
Fix close-connection.

* swank.lisp (close-connection): Use *log-output* instead of
*debug-io* (which could be redirected to the to-be-closed
connection).

Revision 1.510 - (view) (annotate) - [select for diffs]
Mon Sep 10 15:39:05 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.509: +0 -1 lines
Diff to previous 1.509 , to selected 1.38
Move SBCL doc references to contrib.

* slime.el (sldb-insert-condition): Merge REFERENCES and EXTRAS.
(sldb-extras-hooks, sldb-dispatch-extras): New hook.

* swank.lisp (debugger-condition-for-emacs): Merge REFERENCES and EXTRAS.

* swank-backend.lisp (condition-references): Removed. Merged with
condition-extras.

* swank-sbcl.lisp (condition-references): Removed.
(condition-extras): Include references.
(externalize-reference): New function.  Don't return plain
symbols.

* swank-allegro.lisp (condition-references): Removed.

* contrib/slime-references.el: New file.

Revision 1.509 - (view) (annotate) - [select for diffs]
Tue Sep 4 10:32:05 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.508: +0 -44 lines
Diff to previous 1.508 , to selected 1.38
Move asdf support to contrib.

* swank-backend.lisp (operate-on-system): Moved to
swank-asdf.lisp. It wasn't specialized in any backend.

* swank.lisp (operate-on-system-for-emacs)
(list-all-systems-known-to-asdf, list-asdf-systems): Moved to
swank-asdf.lisp.

* slime.el: Move asdf commands to contrib slime-adsf.el.

* swank-loader.lisp: Load swank-asdf if ASDF is in
*FEATURES*. Also add the contrib source directory to
swank::*load-path*.

Revision 1.508 - (view) (annotate) - [select for diffs]
Tue Sep 4 09:49:09 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.507: +6 -11 lines
Diff to previous 1.507 , to selected 1.38
Remove request-abort condition.

* swank-backend.lisp (request-abort): Removed
(abort-request): Removed.  Replace all (3) uses with ERROR.
* swank.lisp (eval-for-emacs): No special case for request-abort.
* slime.el (slime-eval-async): Remove optional arg of :abort.

Revision 1.507 - (view) (annotate) - [select for diffs]
Fri Aug 31 11:48:23 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.506: +58 -1446 lines
Diff to previous 1.506 , to selected 1.38
Move compound prefix completion and autodoc to contrib.

* swank.lisp (simple-completions): Rewritten for simplicity.
(operator-arglist): Rewritten for simplicity.

* slime.el (slime-complete-symbol-function): Make simple
completion the default.
(slime-echo-arglist-function, slime-echo-arglist): New hook.

Revision 1.506 - (view) (annotate) - [select for diffs]
Tue Aug 28 22:03:26 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.505: +2 -0 lines
Diff to previous 1.505 , to selected 1.38
Fix some output related bugs.

* swank.lisp (send-repl-results-to-emacs): Emit a fresh line.

* slime.el (slime-insert-transcript-delimiter): Use
insert-before-markers since slime-output-end is no longer left
inserting.  Reported by Austin Haas <austin@pettomato.com>.

Revision 1.505 - (view) (annotate) - [select for diffs]
Tue Aug 28 21:13:57 2007 UTC (6 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.504: +128 -88 lines
Diff to previous 1.504 , to selected 1.38
	* swank.lisp (classify-symbol, symbol-classification->string):
	Resurrected in swank.lisp. (I was bitten by cvs-pcl which
	committed (2007-08-27) my locally changed `contribs/swank-fuzzy.lisp'
	where I already removed these functions from.)

Revision 1.504 - (view) (annotate) - [select for diffs]
Tue Aug 28 20:44:41 2007 UTC (6 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.503: +26 -22 lines
Diff to previous 1.503 , to selected 1.38
	* slime.el (slime-make-form-spec-from-string): Elisp Hacking 101:
	Don't use `beginning-of-buffer' and `end-of-buffer' in Elisp code.

	* swank.lisp (read-form-spec): Unintern just newly interned
	symbols when an reader error occurs.

Revision 1.503 - (view) (annotate) - [select for diffs]
Tue Aug 28 13:53:02 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.502: +79 -315 lines
Diff to previous 1.502 , to selected 1.38
Move presentations to contrib.  Part II.

* swank.lisp (*listener-eval-function*): New variables.
(listener-eval): Use it
(repl-eval): Used to be listener-eval.
(*send-repl-results-function*): New variable.
(eval-region): Simplify.
(track-package, cat): New functions.

Revision 1.502 - (view) (annotate) - [select for diffs]
Tue Aug 28 08:24:54 2007 UTC (6 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.501: +5 -26 lines
Diff to previous 1.501 , to selected 1.38
Remove the ID argument from :write-string protocol messages.
Everything, except for rigid-indentation tricks, can be achieved by
using :write-string in conjunction with :presentation-start and
:presentation-end.

	* swank.lisp (present-in-emacs): Unused, removed.

	* swank.lisp (make-output-function-for-target): Remove id argument
	from :write-string.
	(send-repl-results-to-emacs): Don't call
	save-presented-object. Remove id argument from :write-string.

Revision 1.501 - (view) (annotate) - [select for diffs]
Mon Aug 27 15:02:15 2007 UTC (6 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.500: +1 -1 lines
Diff to previous 1.500 , to selected 1.38
	* slime.el (slime-sexp-at-point): Fixes a few edge cases were
	Emacs' `(thing-at-point 'sexp)' behaves suboptimally. For example,
	`foo(bar baz)' where point is at the ?\(.
	(slime-internal-scratch-buffer): New. This variable holds an
	internal scratch buffer that can be reused instead of having to
	create a new temporary buffer again and again.
	(slime-make-extended-operator-parser/look-ahead): Uses
	`slime-make-form-spec-from-string' to parse nested expressions
	properly.
	(slime-nesting-until-point): Added docstring.
	(slime-make-form-spec-from-string): Added new optional parameter
	for stripping the operator off the passed string representation of
	a form. Necessary to work in the context of
	`slime-make-extended-operator-parser/look-ahead'. Added safety check
	against a possible endless recursion.

	* swank.lisp (parse-form-spec): Looses restriction for nesting.

Revision 1.500 - (view) (annotate) - [select for diffs]
Sun Aug 26 23:34:50 2007 UTC (6 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.499: +152 -99 lines
Diff to previous 1.499 , to selected 1.38
	Reduces needless interning of symbols that was introduced by my
	recent work on autodoc to a minimum. Also fixes this issue for
	`slime-complete-form' which always interned symbols even before my
	changes.

	* slime.el (slime-sexp-at-point): If N is given, but there aren't
	N sexps available at point, make it return a list of just as many
	as there are.
	(slime-make-form-spec-from-string): New. Creates a ``raw form
	spec'' from a string that's suited for determining newly interned
	symbols later in Swank.
	(slime-parse-extended-operator/declare): Uses it.

	* swank.lisp (parse-symbol): Returns internal knowledge, to
	provide a means for callers to perform a sanity check.
	(call-with-ignored-reader-errors): New. Abstracted out from
	`read-incomplete-form-from-string.'

	* swank.lisp (read-form-spec): New. Only READs elements of a form
	spec if necessary. And if it does have to READ, it keeps track
	of newly interned symbols which are returned as secondary
	return value.
	(parse-form-spec): Use it. Propagate newly interned symbols.
	(parse-first-valid-form-spec): Likewise.
	(arglist-for-echo-area, complete-form, completions-for-keyword):
	Adapted to unintern the newly interned symbols.

Revision 1.499 - (view) (annotate) - [select for diffs]
Sat Aug 25 20:04:19 2007 UTC (6 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.498: +18 -8 lines
Diff to previous 1.498 , to selected 1.38
* swank.lisp (make-output-stream-for-target): New function,
factored out from open-streams.
(open-streams): Use it here.

* swank.lisp (connection): New slot "trace-output".
(call-with-redirected-io): Use it here.
(redirect-trace-output): New slimefun; set the slot to a new
target stream.

Revision 1.498 - (view) (annotate) - [select for diffs]
Sat Aug 25 04:56:50 2007 UTC (6 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.497: +0 -15 lines
Diff to previous 1.497 , to selected 1.38
(arglist-for-insertion): Now unused, removed.

Revision 1.497 - (view) (annotate) - [select for diffs]
Fri Aug 24 13:55:25 2007 UTC (6 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.496: +42 -32 lines
Diff to previous 1.496 , to selected 1.38
	* slime.el (slime-forward-blanks): Wrapped w/ `ignore-errors.'
	(slime-sexp-at-point): Return results as a list of strings, rather
	than just one big string if called with arg > 1.
	(slime-parse-extended-operator-name): Wrapping some movement code
	in `ignore-errors'. Adapted to new return value of
	`slime-enclosing-form-specs'. Minor cosmetic changes.
	(slime-make-extended-operator-parser/look-ahead): Adapted to
	changes of the ``raw form spec'' format; returns a form of
	strings, instead of a string of a form.
	(slime-parse-extended-operator/declare): Simplified. Adapted to
	changes of the ``raw form spec'' format; passes decl-identifiers,
	or typespec-operators respectively, along the decl/type-spec.
	(%slime-in-mid-of-typespec-p): Removed. Replaced by an regexp
	based approach.
	(%slime-nesting-until-point): New helper for
	`slime-parse-extended-operator/declare'.

	* swank.lisp (parse-form-spec): Adapted to new ``raw form spec''
	format. Updated format description in docstring accordingly.

Revision 1.496 - (view) (annotate) - [select for diffs]
Thu Aug 23 22:50:40 2007 UTC (6 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.495: +6 -0 lines
Diff to previous 1.495 , to selected 1.38
(inspect-presentation): New slimefun.

Revision 1.495 - (view) (annotate) - [select for diffs]
Thu Aug 23 17:45:44 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.494: +2 -696 lines
Diff to previous 1.494 , to selected 1.38
Moved Marco Baringer's inspector to contrib.

Revision 1.494 - (view) (annotate) - [select for diffs]
Thu Aug 23 16:19:56 2007 UTC (6 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.493: +363 -159 lines
Diff to previous 1.493 , to selected 1.38
	Added arglist display for declaration specifiers and type
	specifiers.

	Examples:

	`(declare (type' will display

	   (declare (type type-specifier &rest vars))

	`(declare (type (float' will display

	   [Typespec] (float &optional lower-limit upper-limit)

	`(declare (optimize' will display

	   (declare (optimize &any (safety 1) (space 1) (speed 1) ...))

	&ANY is a new lambda keyword that is introduced for arglist
	description purpose, and is very similiar to &KEY, but isn't based
	upon plists; they're more based upon *FEATURES* lists. (See the
	comment near the ARGLIST defstruct in `swank.lisp'.)

	* slime.el:
	(slime-to-feature-keyword): Renamed to `slime-keywordify'.
	(slime-eval-feature-conditional): Adapted to use `slime-keywordify'.
	(slime-ensure-list): New utility.
	(slime-sexp-at-point): Now takes an argument that specify how many
	sexps at point should be returned.
	(slime-enclosing-operator-names): Renamed to
	`slime-enclosing-form-specs'.
	(slime-enclosing-form-specs): Returns a list of ``raw form specs''
	instead of what was called ``extended operator names'' before, see
	`swank::parse-form-spec' for more information. This is a
	simplified superset. Additionally as tertiary return value return
	a list of points to let the caller see where each form spec is
	located. Adapted callers accordingly. Extended docstring.
	(slime-parse-extended-operator-name): Adapted to changes in
	`slime-enclosing-form-specs'. Now gets more context, and is such
	more powerful. This was needed to allow parsing DECLARE forms.
	(slime-make-extended-operator-parser/look-ahead): Because the
	protocol for arglist display was simplified, it was possible to
	replace the plethora of parsing function just by this one.
	(slime-extended-operator-name-parser-alist): Use it. Also add
	parser for DECLARE forms.
	(slime-parse-extended-operator/declare): Responsible for parsing
	DECLARE forms.
	(%slime-in-mid-of-typespec-p): Helper function for
	`slime-parse-extended-operator/declare'.
	(slime-incomplete-form-at-point): New. Return the ``raw form
	spec'' near point.
	(slime-complete-form): Use `slime-incomplete-form-at-point'.

	* swank.lisp: New Helper functions.
	(length=, ensure-list, recursively-empty-p): New.
	(maybecall, exactly-one-p): New.

	* swank.lisp (arglist-for-echo-area): Adapted to take ``raw form
	specs'' from Slime.
	(parse-form-spec): New. Takes a ``raw form spec'' and returns a
	``form spec'' for further processing in Swank. Docstring documents
	these two terms.
	(split-form-spec): New. Return relevant information from a form	spec.
	(parse-first-valid-form-spec): Replaces `find-valid-operator-name'.
	(find-valid-operator-name): Removed.
	(operator-designator-to-form): Removed. Obsoleted by `parse-form-spec'.

	(defstruct arglist): Add `any-p' and `any-args' slots to contain
	arguments belonging to the &ANY lambda keyword.
	(print-arglist): Adapted to also print &ANY args.
	(print-decoded-arglist-as-template): Likewise.
	(decode-arglist): Adapted to also decode &ANY args.
	(remove-actual-args): Adapted to also remove &ANY args.
	(remove-&key-args): Split out from `remove-actual-args'.
	(remove-&any-args): New. Removes already provided &ANY args.
	(arglist-from-form-spec): New. Added detailed docstring.
	(arglist-dispatch): Dispatching generic function for
	`arglist-from-form-spec' that does all the work. Renamed from
	prior `form-completion'.
	(arglist-dispatch) Added methods for dealing with declaration and
	type-specifiers.
	(complete-form): Adapted to take ``raw form specs'' from Slime.
	(completions-for-keyword): Likewise.
	(format-arglist-for-echo-area): Removed. Not needed anymore.

	* swank-backend.lisp (declaration-arglist): New generic
	function. Returns the arglist for a given declaration
	identifier. (Backends are supposed to specialize it if they can
	provide additional information.)
	(type-specifier-arglist): New generic function. Returns the
	arglist for a given type-specifier operator. (Backends are
	supposed to specialize it if they can provide additional
	information.)
	(*type-specifier-arglists*): New variable. Contains the arglists
	for the type specifiers in Common Lisp.

	* swank-sbcl.lisp: Now depends upon sb-cltl2.
	(declaration-arglist 'optimize): Specialize the `optimize'
	declaration identifier to pass it to
	sb-cltl2:declaration-information.

Revision 1.493 - (view) (annotate) - [select for diffs]
Thu Aug 23 13:56:22 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.492: +7 -62 lines
Diff to previous 1.492 , to selected 1.38
Some inspector cleanups.

Revision 1.492 - (view) (annotate) - [select for diffs]
Thu Aug 23 12:58:52 2007 UTC (6 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.491: +41 -556 lines
Diff to previous 1.491 , to selected 1.38
Merge contrib branch.

Revision 1.491.2.1 - (view) (annotate) - [select for diffs]
Sun Aug 19 11:19:32 2007 UTC (6 years, 7 months ago) by heller
Branch: contrib
Changes since 1.491: +41 -556 lines
Diff to previous 1.491 , to next main 1.805 , to selected 1.38
Add a contrib directory and move fuzzy completion code to that directory.

* contrib: New directory.

* swank.lisp (swank-require): New function to load contrib code.
(*find-module*, module-filename, *load-path*, merged-directory)
(find-module, module-canditates): New. Pathname acrobatics for
swank-require.

* swank-loader.lisp: Compile (but don't load) contribs.
(*contribs*, contrib-source-files): New.

* contrib/slime-fuzzy.el: New file.
(slime-fuzzy-init): New function.  Load CL code on startup.

* contrib/swank-fuzzy.lisp: New file. Common Lisp code for fuzzy
completion.

Revision 1.491 - (view) (annotate) - [select for diffs]
Mon Aug 6 03:20:00 2007 UTC (6 years, 8 months ago) by mkoeppe
Branch: MAIN
CVS Tags: SLIME-2-1
Branch point for: contrib
Changes since 1.490: +4 -1 lines
Diff to previous 1.490 , to selected 1.38
(backtrace): Handle printer errors while printing a frame.  This makes
debugging print-object methods with SLIME easier.  Reported by Utz-Uwe
Haus.

Revision 1.490 - (view) (annotate) - [select for diffs]
Mon Jun 4 16:17:17 2007 UTC (6 years, 10 months ago) by trittweiler
Branch: MAIN
Changes since 1.489: +20 -9 lines
Diff to previous 1.489 , to selected 1.38
Revised docstring in SWANK::SYMBOL-STATUS;
added comment to SWANK::UPDATE-INDENTATION/DELTA-FOR-EMACS.

Revision 1.489 - (view) (annotate) - [select for diffs]
Thu May 24 19:23:36 2007 UTC (6 years, 10 months ago) by trittweiler
Branch: MAIN
Changes since 1.488: +7 -18 lines
Diff to previous 1.488 , to selected 1.38
* swank.lisp: Fixed regression in completion: "swank[TAB]" would
  previously be completed to "swank-backend:"; "get-internal[TAB]"
  would be completed to "get-internal-r-time" (instead of simply
  "get-internal-r"); and "custom:*comp[TAB]" would be completed to
  "custom:*compiled-" on CLISP, even though there's a
  "custom:*complile-".

  Thanks to Ken Causey for helping me find the first two.

  (completions): Revert changes from 2007-05-11.
  (longest-compound-prefix): Fixed to properly generate a compound
  _prefix_.

Revision 1.488 - (view) (annotate) - [select for diffs]
Thu May 17 14:31:26 2007 UTC (6 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.487: +29 -6 lines
Diff to previous 1.487 , to selected 1.38
* swank.lisp: Fixed bug in completion as previously "swank:[tab]"
  would correctly list all the symbols in SWANK, but would
  simultaneously append a spooky dash to the original
  string ("swank:-").

  (completions): Strip off the package identifier part, and only
  compute the longest compound prefix for the actual symbol
  identifiers.
  (untokenize-symbol): New function. Inverse of TOKENIZE-SYMBOL.
  (format-completion-result): Use UNTOKENIZE-SYMBOL.

Revision 1.487 - (view) (annotate) - [select for diffs]
Wed May 16 19:27:43 2007 UTC (6 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.486: +2 -2 lines
Diff to previous 1.486 , to selected 1.38
* swank.lisp (inspect-for-emacs file-stream, stream-error): Fixed
  typo in keyword arg; it's `:refreshp', not `:refresh'.

Revision 1.486 - (view) (annotate) - [select for diffs]
Mon May 14 19:39:26 2007 UTC (6 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.485: +3 -3 lines
Diff to previous 1.485 , to selected 1.38
* swank.lisp (eval-for-emacs): Remove code that would suggest that
  it's possible to use the rex `(:abort ...)' with more than one
  argument.

Revision 1.485 - (view) (annotate) - [select for diffs]
Mon May 14 18:56:56 2007 UTC (6 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.484: +11 -11 lines
Diff to previous 1.484 , to selected 1.38
* swank.lisp: Liberated from unnecessary style-warnings!

  (eval-for-emacs): Don't use SLOT-VALUE on condition objects!
  (inspect-bigger-piece-actions): Changed from DEFMETHOD to DEFUN.
  (inspect-whole-thing-action): Likewise.
  (inspect-show-more-action): Likewise.
  (make-symbols-listing): Adds an explicit DEFGENERIC.
  (menu-choices-for-presentation): Likewise.
   	(make-symbols-listing (eql :classification)): Use `(loop for k
  being EACH hash-key ...)' rather than `(loop for k being THE
  hash-key)', to omit the justified style-warning from CLISP.

Revision 1.484 - (view) (annotate) - [select for diffs]
Mon May 14 15:21:18 2007 UTC (6 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.483: +6 -10 lines
Diff to previous 1.483 , to selected 1.38
* swank.lisp (package-names): Make sure to return a fresh list.
  (fuzzy-find-matching-packages): Use PACKAGE-NAMES.
  (list-all-package-names): Use PACKAGE-NAMES.

Revision 1.483 - (view) (annotate) - [select for diffs]
Fri May 11 15:40:52 2007 UTC (6 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.482: +13 -11 lines
Diff to previous 1.482 , to selected 1.38
* swank.lisp (fuzzy-find-matching-symbols): Modified to take
  package nicknames into account. Previously, fuzzy completing on
  nicknames did (except for some incidental cases) not work. Thanks
  to LuĂ­s Oliveira and Attila Lendvai for pointing that out.

Revision 1.482 - (view) (annotate) - [select for diffs]
Fri May 11 15:31:46 2007 UTC (6 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.481: +77 -86 lines
Diff to previous 1.481 , to selected 1.38
* swank.lisp (make-compound-prefix-matcher): New function.
  Abstracted from COMPOUND-PREFIX-MATCH.
  (compound-prefix-match): Use MAKE-COMPOUND-PREFIX-MATCHER.
  (compound-prefix-match/ci/underscores): Removed.

  (longest-completion): Renamed to LONGEST-COMPOUND-PREFIX. Changed
  to only return a compound prefix, instead of a concatenation of a
  compound prefix and a compound suffix. Added an &optional
  parameter to specify what delimeter the passed string is
  compounded with.
  (tokenize-completion): Takes additional parameter to specify the
  delimeter for tokenization.
  (longest-completion/underscores): Removed; not needed anymore.
  (tokenize-completion/underscores): Likewise.
  (untokenize-completion/underscores): Likewise.
   	(completions): Slight docstring modification, also added an
  examplary use case; use LONGEST-COMPOUND-PREFIX instead of
  LONGEST-COMPLETION.
  (completions-for-character): Use LONGEST-COMPOUND-PREFIX, and
  MAKE-COMPOUND-PREFIX-MATCHER.
  (completions-for-keyword): Use LONGEST-COMPOUND-PREFIX.

Revision 1.481 - (view) (annotate) - [select for diffs]
Fri May 11 14:41:03 2007 UTC (6 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.480: +1 -1 lines
Diff to previous 1.480 , to selected 1.38
* swank.lisp (apropos-symbols): Really use MAKE-REGEXP-MATCHER.

Revision 1.480 - (view) (annotate) - [select for diffs]
Thu May 10 17:54:31 2007 UTC (6 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.479: +14 -15 lines
Diff to previous 1.479 , to selected 1.38
* swank.lisp: Previously when using SLIME-APROPOS-PACKAGE, only
  those symbols were considered whose home package matched the
  given package; this would, however, prevent all those symbols from
  being listed that are imported from another package, and then
  exported again in the package they got imported into. (As an
  example, SWANK:RESTART-FRAME is actually from SWANK-BACKEND.)

  (apropos-matcher): Renamed to MAKE-REGEXP-MATCHER.
  (make-regexp-matcher): Changed to only match for a given regexp.
  (apropos-symbols): Use MAKE-REGEXP-MATCHER.

Revision 1.479 - (view) (annotate) - [select for diffs]
Thu Apr 19 16:36:36 2007 UTC (6 years, 11 months ago) by mbaringer
Branch: MAIN
Changes since 1.478: +12 -9 lines
Diff to previous 1.478 , to selected 1.38
(inspect-for-emacs-list): Don't add a newline after
the last value of the list.

Revision 1.478 - (view) (annotate) - [select for diffs]
Wed Apr 18 12:35:59 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.477: +36 -19 lines
Diff to previous 1.477 , to selected 1.38
(log-event): Setup the printer so that, no matter
what the global values of the *print-XYZ* variables, this function
works as expected.
(*debug-on-swank-error*): New variable.
(defpackage :swank): Export *debug-on-swank-error*.
(with-reader-error-handler): When *debug-on-swank-error* is
non-nil drop into a debugger.
(dispatch-loop): Idem.

Revision 1.477 - (view) (annotate) - [select for diffs]
Tue Apr 17 21:04:54 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.476: +99 -41 lines
Diff to previous 1.476 , to selected 1.38
Instead of just having all the symbols of a package
listed alphabetically in the inspector page recently introduced
for that purpose, add a button to that page to group them by their
classification.

Revision 1.476 - (view) (annotate) - [select for diffs]
Tue Apr 17 20:06:22 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.475: +10 -9 lines
Diff to previous 1.475 , to selected 1.38
(swank-compiler): Fix the return value to always be a
list of two elements even if the abort restart is invoked which
originally just returned NIL. (Which wouldn't play with the recent
change to use DESTRUCTURING-BIND in SLIME-COMPILATION-FINISHED.)

(inspect-for-emacs %package-symbols-container): Revert Marco's change
from 2007-04-08; he had the good idea of adding a facility to jump to
the relevant source line of a symbol, but `M-.' is already bound to
SLIME-FIND-DEFINITION in the inspector, which is a nicer way of doing
this alltogether.

Revision 1.475 - (view) (annotate) - [select for diffs]
Mon Apr 16 14:24:35 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.474: +4 -3 lines
Diff to previous 1.474 , to selected 1.38
(fuzzy-find-matching-packages): Fix a small typo that
prevented interpreting NIL as the argument TIME-LIMIT-IN-MEC to
mean an infinite time limit. This bug propagated up to explicit
calls to FUZZY-COMPLETIONS, like
   (swank:fuzzy-completions "mvb" "COMMON-LISP") => (NIL, T)

(format-fuzzy-completions): Renamed to FORMAT-FUZZY-COMPLETION-SET

(format-fuzzy-completion-set): Accomodated to recent changes of
the return value of FUZZY-COMPLETIONS; changed the docstring to
make it explicit that this function is supposed to take the return
value of FUZZY-COMPLETION-SET.

Revision 1.474 - (view) (annotate) - [select for diffs]
Sun Apr 8 23:07:53 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.473: +1 -16 lines
Diff to previous 1.473 , to selected 1.38
*** empty log message ***

Revision 1.473 - (view) (annotate) - [select for diffs]
Sun Apr 8 22:56:18 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.472: +18 -16 lines
Diff to previous 1.472 , to selected 1.38
(inspector-content-for-emacs): Look for refresh
keyword argument in :action links.
(inspect-whole-thing-action, inspect-show-more-action): Update for
new :action argument handling.
(inspect-for-emacs stream, inspect-for-emacs stream-error): Pass
:refresh nil on :action links.
(action-part-for-emacs): Set both lambda and refresh in the
*inspectee-actions* array.
(inspector-call-nth-action): *inspectee-actions* now holds both
the function and the boolean specifying whether to refresh or not.

Revision 1.472 - (view) (annotate) - [select for diffs]
Sun Apr 8 18:55:52 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.471: +22 -1 lines
Diff to previous 1.471 , to selected 1.38
(inspect-for-emacs): Added 'jump to source' action
for symbols in the new package-symbol browser.

Revision 1.471 - (view) (annotate) - [select for diffs]
Sun Apr 8 18:24:03 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.470: +221 -48 lines
Diff to previous 1.470 , to selected 1.38
*** empty log message ***

Revision 1.470 - (view) (annotate) - [select for diffs]
Sun Apr 8 14:02:37 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.469: +3 -3 lines
Diff to previous 1.469 , to selected 1.38
*** empty log message ***

Revision 1.469 - (view) (annotate) - [select for diffs]
Sun Apr 8 12:19:31 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.468: +2 -2 lines
Diff to previous 1.468 , to selected 1.38
*** empty log message ***

Revision 1.468 - (view) (annotate) - [select for diffs]
Sun Apr 8 12:15:25 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.467: +167 -110 lines
Diff to previous 1.467 , to selected 1.38
*** empty log message ***

Revision 1.467 - (view) (annotate) - [select for diffs]
Sun Apr 8 11:23:17 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.466: +13 -6 lines
Diff to previous 1.466 , to selected 1.38
*** empty log message ***

Revision 1.466 - (view) (annotate) - [select for diffs]
Sun Apr 8 11:21:45 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.465: +170 -71 lines
Diff to previous 1.465 , to selected 1.38
*** empty log message ***

Revision 1.465 - (view) (annotate) - [select for diffs]
Sun Apr 8 11:12:23 2007 UTC (7 years ago) by mbaringer
Branch: MAIN
Changes since 1.464: +108 -100 lines
Diff to previous 1.464 , to selected 1.38
*** empty log message ***

Revision 1.464 - (view) (annotate) - [select for diffs]
Thu Mar 29 17:08:48 2007 UTC (7 years ago) by nsiivola
Branch: MAIN
Changes since 1.463: +4 -3 lines
Diff to previous 1.463 , to selected 1.38
Add *print-lines* to *macroexpand-printer-bindings*.

Revision 1.463 - (view) (annotate) - [select for diffs]
Sat Mar 24 17:42:50 2007 UTC (7 years ago) by mkoeppe
Branch: MAIN
Changes since 1.462: +6 -0 lines
Diff to previous 1.462 , to selected 1.38
(menu-choices-for-presentation): Offer a "disassemble" menu item for
functions.

Revision 1.462 - (view) (annotate) - [select for diffs]
Wed Mar 21 15:56:24 2007 UTC (7 years ago) by mkoeppe
Branch: MAIN
Changes since 1.461: +2 -1 lines
Diff to previous 1.461 , to selected 1.38
(lookup-presented-object): The presentation id of
frame locals now includes the thread id; ignore it for now.

Revision 1.461 - (view) (annotate) - [select for diffs]
Tue Mar 20 22:17:36 2007 UTC (7 years ago) by mkoeppe
Branch: MAIN
Changes since 1.460: +15 -3 lines
Diff to previous 1.460 , to selected 1.38
(completion-output-symbol-converter): Fix completion for mixed-case
symbols that need escaping in readtable-case :upcase or :downcase.

Revision 1.460 - (view) (annotate) - [select for diffs]
Mon Feb 26 09:56:06 2007 UTC (7 years, 1 month ago) by nsiivola
Branch: MAIN
Changes since 1.459: +18 -10 lines
Diff to previous 1.459 , to selected 1.38
inspecting NaNs and infinities

Revision 1.459 - (view) (annotate) - [select for diffs]
Sun Feb 25 09:16:30 2007 UTC (7 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.458: +23 -23 lines
Diff to previous 1.458 , to selected 1.38
(guess-package): Renamed from guess-package-from-string.
(set-package): Use it.

Revision 1.458 - (view) (annotate) - [select for diffs]
Wed Jan 24 22:54:08 2007 UTC (7 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.457: +19 -19 lines
Diff to previous 1.457 , to selected 1.38
(unparse-name): New function.
(list-all-package-names): Use it.  This fixes a bug related to
readtable-case and makes package name completions look prettier.
Suggested by Harald Hanche-Olsen <hanche@math.ntnu.no>.

Revision 1.457 - (view) (annotate) - [select for diffs]
Fri Jan 12 15:26:05 2007 UTC (7 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.456: +4 -1 lines
Diff to previous 1.456 , to selected 1.38
(list-all-systems-known-to-asdf): Don't reference asdf directly, that
leads to read errors in some systems.

Revision 1.456 - (view) (annotate) - [select for diffs]
Fri Jan 12 07:49:05 2007 UTC (7 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.455: +9 -6 lines
Diff to previous 1.455 , to selected 1.38
(handle-request): Use 'abort as restart name, but
bind *sldb-quit-restart* to the restart returned by find-restart.
Also use a slighly friendlier message, because newbies seem to
invoke the ABORT restart instead of pressing q in the debugger.

Revision 1.455 - (view) (annotate) - [select for diffs]
Fri Jan 12 00:06:56 2007 UTC (7 years, 3 months ago) by eweitz
Branch: MAIN
Changes since 1.454: +27 -12 lines
Diff to previous 1.454 , to selected 1.38
Offer systems already know to ASDF for completion

Revision 1.454 - (view) (annotate) - [select for diffs]
Thu Jan 11 16:30:48 2007 UTC (7 years, 3 months ago) by mbaringer
Branch: MAIN
Changes since 1.453: +2 -2 lines
Diff to previous 1.453 , to selected 1.38
(inspect-for-emacs integer): Don't die if the integer
can't be expressed as a float. (Patch by: Ariel Badichi
<abadichi@bezeqint.net>)

Revision 1.453 - (view) (annotate) - [select for diffs]
Wed Jan 10 15:24:07 2007 UTC (7 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.452: +19 -21 lines
Diff to previous 1.452 , to selected 1.38
(*sldb-printer-bindings*): Add *print-right-margin*.

(debug-in-emacs): Bind *sldb-printer-bindings* here.
(backtrace, debugger-info-for-emacs, frame-locals-for-emacs): And
remove redundant bindings here.  These functions are all
called in the dynamic extend of debug-in-emacs.

Revision 1.452 - (view) (annotate) - [select for diffs]
Sun Jan 7 11:43:32 2007 UTC (7 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.451: +4 -1 lines
Diff to previous 1.451 , to selected 1.38
(open-streams): Don't pass nil to make-fn-streams; use a dummy
function as workaround.  Both arguments must be functions and CMUCL
checks the types.

Revision 1.451 - (view) (annotate) - [select for diffs]
Fri Jan 5 16:27:35 2007 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.450: +2 -2 lines
Diff to previous 1.450 , to selected 1.38
FIX: slime-insert-possibly-as-rectange and sldb stuff on newer emacsen

Revision 1.450 - (view) (annotate) - [select for diffs]
Thu Jan 4 16:27:05 2007 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.449: +10 -11 lines
Diff to previous 1.449 , to selected 1.38
FIX: sort is destructive, call copy-seq at a few places

Revision 1.449 - (view) (annotate) - [select for diffs]
Thu Jan 4 16:25:53 2007 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.448: +6 -5 lines
Diff to previous 1.448 , to selected 1.38
FIX: bind *sldb-printer-bindings* also in frame-locals-for-emacs

Revision 1.448 - (view) (annotate) - [select for diffs]
Wed Jan 3 11:18:44 2007 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.447: +5 -6 lines
Diff to previous 1.447 , to selected 1.38
FIX: drop extra "Slots: " from standard-object's inspector presentation

Revision 1.447 - (view) (annotate) - [select for diffs]
Wed Jan 3 11:09:29 2007 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.446: +5 -2 lines
Diff to previous 1.446 , to selected 1.38
FIX: keyword symbols keep their : when travelling from swank to slime

Revision 1.446 - (view) (annotate) - [select for diffs]
Wed Jan 3 10:56:14 2007 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.445: +32 -24 lines
Diff to previous 1.445 , to selected 1.38
Handle better the case when swank can not read anything from the string sent to be inspected.

Only bring up the debugger when the inspect command is prefixed.

Revision 1.445 - (view) (annotate) - [select for diffs]
Sun Dec 31 12:28:28 2006 UTC (7 years, 3 months ago) by mkoeppe
Branch: MAIN
Changes since 1.444: +21 -5 lines
Diff to previous 1.444 , to selected 1.38
(connection): New slot repl-results (a stream).
(make-output-function-for-target): New.
(open-streams): Use it here to also create a stream for REPL results.
(initialize-streams-for-connection): Store the stream.

Revision 1.444 - (view) (annotate) - [select for diffs]
Fri Dec 29 16:10:26 2006 UTC (7 years, 3 months ago) by mkoeppe
Branch: MAIN
Changes since 1.443: +14 -10 lines
Diff to previous 1.443 , to selected 1.38
(make-presentations-result): Removed.
(send-repl-results-to-emacs): New function, sends :WRITE-STRING events.
(listener-eval): Use it here instead of make-presentations-result.

Revision 1.443 - (view) (annotate) - [select for diffs]
Sun Dec 24 13:44:11 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.442: +41 -24 lines
Diff to previous 1.442 , to selected 1.38
Added customizable dwim lookup hook support for inspect

Revision 1.442 - (view) (annotate) - [select for diffs]
Sun Dec 24 13:40:05 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.441: +22 -18 lines
Diff to previous 1.441 , to selected 1.38
Change the order to [set value] [make unbound]

Revision 1.441 - (view) (annotate) - [select for diffs]
Sun Dec 24 13:38:36 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.440: +2 -1 lines
Diff to previous 1.440 , to selected 1.38
Sort slot names in the inspector

Revision 1.440 - (view) (annotate) - [select for diffs]
Wed Dec 20 14:29:09 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.439: +1 -3 lines
Diff to previous 1.439 , to selected 1.38
Extend :write-string with and &optional presentation id and use this in present-in-emacs

Revision 1.439 - (view) (annotate) - [select for diffs]
Wed Dec 20 14:26:46 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.438: +21 -0 lines
Diff to previous 1.438 , to selected 1.38
Added present-in-emacs that prints a presentation of the given object in the repl

Revision 1.438 - (view) (annotate) - [select for diffs]
Wed Dec 20 14:24:02 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.437: +2 -1 lines
Diff to previous 1.437 , to selected 1.38
Return the inspected object when inspecting from the lisp side.

Revision 1.437 - (view) (annotate) - [select for diffs]
Wed Dec 20 14:12:04 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.436: +4 -3 lines
Diff to previous 1.436 , to selected 1.38
Turn off right margin for restart printing, too

Revision 1.436 - (view) (annotate) - [select for diffs]
Tue Dec 19 10:57:40 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.435: +31 -12 lines
Diff to previous 1.435 , to selected 1.38
In all-slots-for-inspector pad slot names to be equal length, so the result is more readable

Revision 1.435 - (view) (annotate) - [select for diffs]
Tue Dec 19 10:51:03 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.434: +14 -16 lines
Diff to previous 1.434 , to selected 1.38
Properly bind *sldb-printer-bindings* and turn off right margin while printing stuff in sldb

Revision 1.434 - (view) (annotate) - [select for diffs]
Tue Dec 19 10:47:36 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.433: +3 -0 lines
Diff to previous 1.433 , to selected 1.38
Added hash-table-weakness and use it in hash-table-inspecting

Revision 1.433 - (view) (annotate) - [select for diffs]
Tue Dec 19 10:45:37 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.432: +10 -4 lines
Diff to previous 1.432 , to selected 1.38
Hashtable inspecting: added [clear hashtable] and [remove entry] actions

Revision 1.432 - (view) (annotate) - [select for diffs]
Tue Dec 19 10:40:11 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.431: +27 -11 lines
Diff to previous 1.431 , to selected 1.38
FIX dwim inspecting to handle (setf some-fun) functions, too

Revision 1.431 - (view) (annotate) - [select for diffs]
Tue Dec 19 10:32:26 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.430: +1 -2 lines
Diff to previous 1.430 , to selected 1.38
Small: get rid of notes and warnings

Revision 1.430 - (view) (annotate) - [select for diffs]
Tue Dec 19 10:29:44 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.429: +20 -4 lines
Diff to previous 1.429 , to selected 1.38
Added dwim-mode to slime-inspect that tries to be smart unless prefixed

Revision 1.429 - (view) (annotate) - [select for diffs]
Tue Dec 19 10:21:32 2006 UTC (7 years, 3 months ago) by alendvai
Branch: MAIN
Changes since 1.428: +4 -2 lines
Diff to previous 1.428 , to selected 1.38
Add (expt 1.2 length) higher scores for longer matches in fuzzy completion.

A good example: puts "make-instance" before "make-string-input-stream" while completing "make-ins"

Revision 1.428 - (view) (annotate) - [select for diffs]
Thu Dec 14 16:17:36 2006 UTC (7 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.427: +2 -2 lines
Diff to previous 1.427 , to selected 1.38
(*sldb-printer-bindings*): *PRINT-LINES* is in
effect only if *PRINT-PRETTY* is non-NIL, so it better to enable
the pretty printer.  Suggested by Madhu <enometh@meer.net>.

Revision 1.427 - (view) (annotate) - [select for diffs]
Wed Dec 13 16:57:47 2006 UTC (7 years, 4 months ago) by alendvai
Branch: MAIN
Changes since 1.426: +2 -2 lines
Diff to previous 1.426 , to selected 1.38
FIX: fuzzy completion for M-V-B. Fix by Madhu.

Revision 1.426 - (view) (annotate) - [select for diffs]
Tue Dec 12 15:40:23 2006 UTC (7 years, 4 months ago) by nsiivola
Branch: MAIN
Changes since 1.425: +23 -10 lines
Diff to previous 1.425 , to selected 1.38
Implement INSPECT-IN-EMACS, tweak inspection of integers.

Revision 1.425 - (view) (annotate) - [select for diffs]
Mon Dec 11 14:12:14 2006 UTC (7 years, 4 months ago) by alendvai
Branch: MAIN
Changes since 1.424: +18 -5 lines
Diff to previous 1.424 , to selected 1.38
Added [set value] command for slot inspecting

Revision 1.424 - (view) (annotate) - [select for diffs]
Mon Dec 11 12:51:59 2006 UTC (7 years, 4 months ago) by alendvai
Branch: MAIN
Changes since 1.423: +17 -33 lines
Diff to previous 1.423 , to selected 1.38
Added inspect-slot-for-emacs to let users customize it.

Use all-slots-for-inspector everywhere, render link to both the effective and direct slots when both are available.
Dropped slot-value-using-class-for-inspector and friends.
Added slot-makunbound-using-class to the swank-mop package and added a [make-unbound] action to the standard slot presentation.

Revision 1.423 - (view) (annotate) - [select for diffs]
Mon Dec 11 12:44:02 2006 UTC (7 years, 4 months ago) by alendvai
Branch: MAIN
Changes since 1.422: +1 -1 lines
Diff to previous 1.422 , to selected 1.38
FIX: Drop #\. and add #\, to escaped symbol chars

Revision 1.422 - (view) (annotate) - [select for diffs]
Thu Dec 7 11:09:19 2006 UTC (7 years, 4 months ago) by mbaringer
Branch: MAIN
Changes since 1.421: +6 -2 lines
Diff to previous 1.421 , to selected 1.38
(init-inspector): Added eval parameter. If NIL we
don't eval FORM but limit our selves to cl:read'ing it and
inspecting that value.

Revision 1.421 - (view) (annotate) - [select for diffs]
Wed Dec 6 11:36:10 2006 UTC (7 years, 4 months ago) by mbaringer
Branch: MAIN
Changes since 1.420: +1 -2 lines
Diff to previous 1.420 , to selected 1.38
*** empty log message ***

Revision 1.420 - (view) (annotate) - [select for diffs]
Tue Dec 5 13:54:34 2006 UTC (7 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.419: +0 -7 lines
Diff to previous 1.419 , to selected 1.38
(create-swank-server): Deleted. Use create-server instead.

Revision 1.419 - (view) (annotate) - [select for diffs]
Tue Nov 21 20:35:44 2006 UTC (7 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.418: +2 -2 lines
Diff to previous 1.418 , to selected 1.38
(*coding-system*): "Coding systems" are now strings instead of
keywords. Set it to "iso-latin-1-unix".

Revision 1.418 - (view) (annotate) - [select for diffs]
Sun Nov 19 21:27:35 2006 UTC (7 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.417: +34 -33 lines
Diff to previous 1.417 , to selected 1.38
(compile-file-for-emacs): Use guess-external-format.


(*swank-wire-protocol-version*): Is now initialized by the loader.
(wire-protocol-version): Removed, because it contained a reference
to swank-loader::*source-directory*.

Revision 1.417 - (view) (annotate) - [select for diffs]
Sat Nov 4 12:02:29 2006 UTC (7 years, 5 months ago) by mkoeppe
Branch: MAIN
Changes since 1.416: +7 -3 lines
Diff to previous 1.416 , to selected 1.38
(make-presentations-result): New, factored out from
listener-eval.
(listener-eval): Use it here.

Revision 1.416 - (view) (annotate) - [select for diffs]
Fri Nov 3 17:35:00 2006 UTC (7 years, 5 months ago) by mbaringer
Branch: MAIN
Changes since 1.415: +24 -23 lines
Diff to previous 1.415 , to selected 1.38
(all-slots-for-inspector): Added declare ignore for
unused argument inspector (openmcl warns about this). Reindented.

Revision 1.415 - (view) (annotate) - [select for diffs]
Thu Nov 2 09:34:31 2006 UTC (7 years, 5 months ago) by mbaringer
Branch: MAIN
Changes since 1.414: +50 -42 lines
Diff to previous 1.414 , to selected 1.38
(fuzzy-completion-set): Fix on clisp.
(convert-fuzzy-completion-result): Fix symbol fbound and other
annotations.
(slot-value-using-class-for-inspector): New.
(slot-boundp-using-class-for-inspector): New.
(inspect-for-emacs): Use the special slot access methods so that
it's possible to customize the inspecting of complex
slots (e.g. computed-class at
http://common-lisp.net/project/computed-class/).
(all-slots-for-inspector): Converted to generic method.

Revision 1.414 - (view) (annotate) - [select for diffs]
Wed Nov 1 14:16:36 2006 UTC (7 years, 5 months ago) by mbaringer
Branch: MAIN
Changes since 1.413: +5 -0 lines
Diff to previous 1.413 , to selected 1.38
(*swank-wire-protocol-version*): Use a defvar to
declare the existence of tihs variable to the lisp (Reported by:
Jonathon McKitrick <jcm@FreeBSD-uk.eu.org>).

Revision 1.413 - (view) (annotate) - [select for diffs]
Mon Oct 30 16:25:28 2006 UTC (7 years, 5 months ago) by mbaringer
Branch: MAIN
Changes since 1.412: +18 -5 lines
Diff to previous 1.412 , to selected 1.38
(*dont-close*): New variable.
(defpackage :swank): Export *dont-close*.
(start-server, create-server): Use *dont-close* as the default
value of the :dont-close parameter.
(connection-info): Send the wire-protocol-version (supplied by the
swank-version.el file) to slime when connecting.
(wire-protocol-version): New function.

Revision 1.412 - (view) (annotate) - [select for diffs]
Sat Oct 28 17:42:19 2006 UTC (7 years, 5 months ago) by mkoeppe
Branch: MAIN
Changes since 1.411: +42 -0 lines
Diff to previous 1.411 , to selected 1.38
(completions-for-character): New slimefun.
(compound-prefix-match/ci/underscores)
(longest-completion/underscores, tokenize-completion/underscores)
(untokenize-completion/underscores): New functions.

Revision 1.411 - (view) (annotate) - [select for diffs]
Thu Oct 26 12:47:15 2006 UTC (7 years, 5 months ago) by mbaringer
Branch: MAIN
Changes since 1.410: +135 -67 lines
Diff to previous 1.410 , to selected 1.38
(fuzzy-completions and friends): Added :limit
and :time-limit-in-msec keyword params. Used vectors instead
of lists that nearly doubled its speed (at least on sbcl).
Also added some declare optimize and type annotations.
(do-symbols*): New, uses a hash-table to visit only non-seen
symbols. Replaced various uses of do-symbols where it was
appropiate.

Revision 1.410 - (view) (annotate) - [select for diffs]
Fri Oct 20 17:07:55 2006 UTC (7 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.409: +4 -5 lines
Diff to previous 1.409 , to selected 1.38
(startup-idle-and-top-level-loops): Deleted. Merged into
initialize-multiprocessing.

Revision 1.409 - (view) (annotate) - [select for diffs]
Fri Oct 20 00:14:07 2006 UTC (7 years, 5 months ago) by mbaringer
Branch: MAIN
Changes since 1.408: +8 -6 lines
Diff to previous 1.408 , to selected 1.38
(start-server): initialize-multiprocessing's API has changed.

Revision 1.408 - (view) (annotate) - [select for diffs]
Thu Oct 19 12:29:09 2006 UTC (7 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.407: +18 -30 lines
Diff to previous 1.407 , to selected 1.38
(sanitize-xrefs): Moved to swank-sbcl.  The backend is supposed to
return sane values.
(find-definitions-for-emacs): Don't filter errors out.

Revision 1.407 - (view) (annotate) - [select for diffs]
Thu Oct 19 12:12:58 2006 UTC (7 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.406: +7 -9 lines
Diff to previous 1.406 , to selected 1.38
(guess-package-from-string): Remove special case for "#.". parse-package
will handle that just fine.

Revision 1.406 - (view) (annotate) - [select for diffs]
Tue Oct 17 10:48:54 2006 UTC (7 years, 6 months ago) by mbaringer
Branch: MAIN
Changes since 1.405: +8 -3 lines
Diff to previous 1.405 , to selected 1.38
(guess-package-from-string): Handle #. forms.
(inspect-for-emacs standard-class): Handle non-string :documentation
slot contents.

Revision 1.405 - (view) (annotate) - [select for diffs]
Mon Oct 16 19:58:45 2006 UTC (7 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.404: +46 -43 lines
Diff to previous 1.404 , to selected 1.38
Clean up global IO redirection.
(setup-stream-indirection): Turn macro into a
function and delay initialization after user init files are
loaded, so that we do nothing if *globally-redirect-io* is nil.
(*after-init-hook*, run-after-init-hook, init-global-stream-redirection): New.

(parse-symbol-or-lose): Lose loudly and early (instead of failing
silently).

Revision 1.404 - (view) (annotate) - [select for diffs]
Mon Oct 9 13:22:24 2006 UTC (7 years, 6 months ago) by mkoeppe
Branch: MAIN
Changes since 1.403: +33 -32 lines
Diff to previous 1.403 , to selected 1.38
(completions-for-keyword): Look up the operator names in the right
package.  Return nil (rather than signalling an error) when no valid
operator name is present.

Revision 1.403 - (view) (annotate) - [select for diffs]
Wed Sep 27 10:42:07 2006 UTC (7 years, 6 months ago) by mbaringer
Branch: MAIN
Changes since 1.402: +1 -1 lines
Diff to previous 1.402 , to selected 1.38
(*globally-redirect-io*): Change default value to T.

Revision 1.402 - (view) (annotate) - [select for diffs]
Sun Sep 24 21:52:54 2006 UTC (7 years, 6 months ago) by jsnellman
Branch: MAIN
Changes since 1.401: +1 -1 lines
Diff to previous 1.401 , to selected 1.38
fix SBCL 0.9.17

Revision 1.401 - (view) (annotate) - [select for diffs]
Thu Sep 21 16:56:07 2006 UTC (7 years, 6 months ago) by mbaringer
Branch: MAIN
Changes since 1.400: +23 -11 lines
Diff to previous 1.400 , to selected 1.38
(find-definitions-for-emacs): Don't return locations
whose CAR is :error.
(xref): Process whatever is returned by the various xref functions
with the new sanitize-xrefs functions.
(sanitize-xrefs): Clean up the list of xrefs to remove duplicates.
Patch by Dan Weinreb <dlw@itasoftware.com>

Revision 1.400 - (view) (annotate) - [select for diffs]
Mon Sep 18 21:56:13 2006 UTC (7 years, 6 months ago) by jsnellman
Branch: MAIN
Changes since 1.399: +12 -4 lines
Diff to previous 1.399 , to selected 1.38
sbcl single-stepper

Revision 1.399 - (view) (annotate) - [select for diffs]
Mon Sep 18 21:27:49 2006 UTC (7 years, 6 months ago) by mbaringer
Branch: MAIN
Changes since 1.398: +17 -10 lines
Diff to previous 1.398 , to selected 1.38
(eval-for-emacs): Handle request-abort conditions.
(decode-keyword-arg, get-repl-result, parse-symbol-or-lose): Use
abort-request instead of error.

Revision 1.398 - (view) (annotate) - [select for diffs]
Wed Sep 13 15:25:17 2006 UTC (7 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.397: +1 -1 lines
Diff to previous 1.397 , to selected 1.38
(format-iso8601-time): Properly handle non integer time zones.

Revision 1.397 - (view) (annotate) - [select for diffs]
Wed Sep 13 14:31:41 2006 UTC (7 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.396: +10 -13 lines
Diff to previous 1.396 , to selected 1.38
(format-arglist-for-echo-area): Instead of using let+first+rest to
destructure a form use destructuring-bind.
(lookup-presented-object): Added (declare (special *inspectee-parts*))
to silence openmcl's compiler.
(inspect-object): Generate, and send to emacs, an ID for the object
being inspected.

Revision 1.396 - (view) (annotate) - [select for diffs]
Sun Aug 27 11:01:43 2006 UTC (7 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.395: +21 -15 lines
Diff to previous 1.395 , to selected 1.38
(input-available-p, process-available-input): Use READ-CHAR-NO-HANG
instead of LISTEN because LISTEN suddenly returns false in SBCL 0.9.??
even if we are called from a fd-handler and the OPEN-STREAM-P returns
true.

Revision 1.395 - (view) (annotate) - [select for diffs]
Fri Aug 25 15:44:07 2006 UTC (7 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.394: +3 -3 lines
Diff to previous 1.394 , to selected 1.38
(lookup-presented-object): Fix for OpenMCL 1.0 [ppc32], which requires
that the :NO-ERROR clause is last in HANDLER-CASE.

Revision 1.394 - (view) (annotate) - [select for diffs]
Tue Aug 22 09:31:10 2006 UTC (7 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.393: +32 -14 lines
Diff to previous 1.393 , to selected 1.38
(lookup-presented-object): Handle presentation ids
(:frame-var frame index), (:inspected-part part-index).
(init-inspector): New optional argument, reset.

Revision 1.393 - (view) (annotate) - [select for diffs]
Sun Aug 20 09:36:59 2006 UTC (7 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.392: +1 -0 lines
Diff to previous 1.392 , to selected 1.38
(compute-enriched-decoded-arglist with-open-file): Add an IGNORE
declaration.

Revision 1.392 - (view) (annotate) - [select for diffs]
Sat Aug 19 16:27:28 2006 UTC (7 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.391: +22 -6 lines
Diff to previous 1.391 , to selected 1.38
(*nil-surrogate*): New.
(save-presented-object, lookup-presented-object): Distinguish
between a saved NIL and a garbage-collected object that was
replaced by NIL in the weak hash table.

Revision 1.391 - (view) (annotate) - [select for diffs]
Sat Aug 19 15:39:48 2006 UTC (7 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.390: +32 -0 lines
Diff to previous 1.390 , to selected 1.38
(compute-enriched-decoded-arglist): Add method for handling APPLY.

Revision 1.390 - (view) (annotate) - [select for diffs]
Fri Aug 11 16:25:59 2006 UTC (7 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.389: +41 -36 lines
Diff to previous 1.389 , to selected 1.38
(close-connection, swank-error): Include backtraces in our own errors.
(simple-serve-requests): Don't enter the debugger (recursively) if
the connection is closed.

Revision 1.389 - (view) (annotate) - [select for diffs]
Thu Aug 10 11:53:35 2006 UTC (7 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.388: +4 -5 lines
Diff to previous 1.388 , to selected 1.38
swank-backend.lisp (definterface): Drop that incredibly unportable
CLOS stuff. Use plists and plain functions instead.  Update backends
accordingly.

Revision 1.388 - (view) (annotate) - [select for diffs]
Wed Aug 9 16:46:10 2006 UTC (7 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.387: +27 -18 lines
Diff to previous 1.387 , to selected 1.38
(test-print-arglist): Print a message instead of signalling an
error. This should avoid startup problems (in particular with
CormanLisp).

(setup-stream-indirection): Disable it for now.  We should fix it, if
there is need for this functionality or just remove it.

Revision 1.387 - (view) (annotate) - [select for diffs]
Mon Jul 24 14:01:15 2006 UTC (7 years, 8 months ago) by mkoeppe
Branch: MAIN
Changes since 1.386: +310 -212 lines
Diff to previous 1.386 , to selected 1.38
(find-valid-operator-name): New, factored out from
arglist-for-echo-area.
(arglist-for-echo-area): Use it here.
(print-arglist): New, factored out from decoded-arglist-to-string.
Handle recursive arglist structures that arise in destructuring
macro arglists.
(decode-required-arg, encode-required-arg): New, handle
destructuring patterns.
(decode-keyword-arg, encode-keyword-arg, decode-optional-arg)
(encode-optional-arg, decode-arglist, encode-arglist): Use them
here to handle destructuring patterns.
(print-decoded-arglist-as-template): Change interface, handle
destructuring patterns.
(decoded-arglist-to-template-string): Use it here.
(enrich-decoded-arglist-with-keywords): New, factored out from
enrich-decoded-arglist-with-extra-keywords.
(enrich-decoded-arglist-with-extra-keywords): Use it here.
(compute-enriched-decoded-arglist): New generic function, factored
out from arglist-for-insertion, form-completion.  Add specialized
method for with-open-file.
(arglist-for-insertion, form-completion): Use it here.
(arglist-ref): New.
(completions-for-keyword): Change interface, handle destructuring
macro arglists.

Revision 1.386 - (view) (annotate) - [select for diffs]
Thu Jul 13 20:09:09 2006 UTC (7 years, 9 months ago) by mkoeppe
Branch: MAIN
Changes since 1.385: +12 -0 lines
Diff to previous 1.385 , to selected 1.38
(keywords-of-operator): New support function for writing user-defined
`extra-keywords' methods.

Revision 1.385 - (view) (annotate) - [select for diffs]
Sun Jun 18 18:21:54 2006 UTC (7 years, 10 months ago) by mkoeppe
Branch: MAIN
Changes since 1.384: +6 -2 lines
Diff to previous 1.384 , to selected 1.38
(extra-keywords change-class): Don't drop the first argument.

Revision 1.384 - (view) (annotate) - [select for diffs]
Sun Jun 18 17:53:23 2006 UTC (7 years, 10 months ago) by mkoeppe
Branch: MAIN
Changes since 1.383: +14 -9 lines
Diff to previous 1.383 , to selected 1.38
(arglist): Distinguish between provided actual args
and required formal args using the new slot provided-args.
(form-completion): Likewise.
(decoded-arglist-to-string): Use it here to display the argument
list (make-instance 'CLASS-NAME ...) rather
than (make-instance (quote CLASS-NAME) ...).

Revision 1.383 - (view) (annotate) - [select for diffs]
Sat Jun 17 15:06:36 2006 UTC (7 years, 10 months ago) by mkoeppe
Branch: MAIN
Changes since 1.382: +0 -3 lines
Diff to previous 1.382 , to selected 1.38
Remove FIXME.

Revision 1.382 - (view) (annotate) - [select for diffs]
Sat Jun 17 15:03:58 2006 UTC (7 years, 10 months ago) by mkoeppe
Branch: MAIN
Changes since 1.381: +2 -5 lines
Diff to previous 1.381 , to selected 1.38
(operator-designator-to-form): Handle cerror and change-class with
:make-instance.

Revision 1.381 - (view) (annotate) - [select for diffs]
Fri Jun 16 16:34:14 2006 UTC (7 years, 10 months ago) by mkoeppe
Branch: MAIN
Changes since 1.380: +13 -6 lines
Diff to previous 1.380 , to selected 1.38
(operator-designator-to-form): Handle :cerror.
(extra-keywords cerror): Make it work.

Revision 1.380 - (view) (annotate) - [select for diffs]
Wed May 31 19:27:13 2006 UTC (7 years, 10 months ago) by mbaringer
Branch: MAIN
Changes since 1.379: +7 -2 lines
Diff to previous 1.379 , to selected 1.38
(*sldb-quit-restart*): New variable.
(throw-to-toplevel): Use the restart named by *sldb-quit-restart* as
opposed to hard coding abort-request.

Revision 1.379 - (view) (annotate) - [select for diffs]
Thu May 25 03:15:20 2006 UTC (7 years, 10 months ago) by bdowning
Branch: MAIN
Changes since 1.378: +17 -13 lines
Diff to previous 1.378 , to selected 1.38
* swank.lisp (recursively-compute-most-completions & friends):
  Micro-optimize the fuzzy completion engine, improving performace
  by a factor of about 4 on SBCL.  However, it will only work on
  simple-strings now, and CHAR= is burned in instead of being an
  option.  I don't think this is too much of a limitation.  At this
  point rendering the results on the emacs side takes much longer
  than finding them for long result lists.

Revision 1.378 - (view) (annotate) - [select for diffs]
Fri May 12 12:21:45 2006 UTC (7 years, 11 months ago) by mkoeppe
Branch: MAIN
Changes since 1.377: +2 -1 lines
Diff to previous 1.377 , to selected 1.38
Fix for problem with Allegro CL 8.0: If I type M-x
slime-update-indentation, Allegro CL starts growing until it hits a
STORAGE-CONDITION or even segfaults.

Revision 1.377 - (view) (annotate) - [select for diffs]
Thu Apr 20 05:46:49 2006 UTC (7 years, 11 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-2-0
Changes since 1.376: +1 -1 lines
Diff to previous 1.376 , to selected 1.38
(*use-dedicated-output-stream*): Disable it by default to avoid race
conditions.

Revision 1.376 - (view) (annotate) - [select for diffs]
Wed Apr 19 15:13:05 2006 UTC (7 years, 11 months ago) by crhodes
Branch: MAIN
Changes since 1.375: +109 -43 lines
Diff to previous 1.375 , to selected 1.38
Fixes/improvements to the make-instance highlighting.
* shared-initialize and allocate-instance keywords

Also fixes to general keyword argument list handling: notably getting
the keyword and variable the right way round.

Revision 1.375 - (view) (annotate) - [select for diffs]
Tue Mar 28 20:41:53 2006 UTC (8 years ago) by mkoeppe
Branch: MAIN
CVS Tags: SLIME-1-3
Branch point for: fsm
Changes since 1.374: +24 -13 lines
Diff to previous 1.374 , to selected 1.38
(multiple-value-or): New macro.
(extra-keywords): Use MULTIPLE-VALUE-OR rather than OR.

Revision 1.374 - (view) (annotate) - [select for diffs]
Tue Mar 28 00:41:41 2006 UTC (8 years ago) by mkoeppe
Branch: MAIN
Changes since 1.373: +39 -8 lines
Diff to previous 1.373 , to selected 1.38
(operator-designator-to-form): Handle forms similar
to make-instance (make-condition, error, etc.)
(extra-keywords/make-instance): New function.
(extra-keywords): Specialize on operators make-condition, error,
signal, warn, cerror.

Revision 1.373 - (view) (annotate) - [select for diffs]
Sun Mar 26 04:24:04 2006 UTC (8 years ago) by mkoeppe
Branch: MAIN
Changes since 1.372: +20 -20 lines
Diff to previous 1.372 , to selected 1.38
Move arglist test code down where all used functions are defined.

Revision 1.372 - (view) (annotate) - [select for diffs]
Sun Mar 26 03:57:37 2006 UTC (8 years ago) by mkoeppe
Branch: MAIN
Changes since 1.371: +125 -83 lines
Diff to previous 1.371 , to selected 1.38
(arglist-for-echo-area): New keyword arg, print-lines.
(decoded-arglist-to-string): New function, implement argument
highlighting also for &optional and &rest/&body arguments.
(arglist-to-string): Use decoded-arglist-to-string.
(arglist): New slots aux-args, known-junk, unknown-junk.
(nreversef): New macro.
(decode-arglist, encode-arglist): Refine to handle more structure
in argument lists, including implementation-defined stuff like
&parse-body.
(format-arglist-for-echo-area): New keyword arg, print-lines.
Simplify the code as there is no need to fall back to the unparsed
arglist any more.

Revision 1.371 - (view) (annotate) - [select for diffs]
Thu Mar 23 07:14:13 2006 UTC (8 years ago) by crhodes
Branch: MAIN
Changes since 1.370: +8 -3 lines
Diff to previous 1.370 , to selected 1.38
Allow swank:ed-in-emacs to take cons function names.  (This adds some
ambiguity with conses representing filenames and positions)

Revision 1.370 - (view) (annotate) - [select for diffs]
Wed Mar 22 23:18:53 2006 UTC (8 years ago) by mkoeppe
Branch: MAIN
Changes since 1.369: +41 -14 lines
Diff to previous 1.369 , to selected 1.38
(casify): Removed.
(casify-char, tokenize-symbol-thoroughly): New functions.
(parse-symbol): Use tokenize-symbol-thoroughly, so as to handle
|escaped symbols|.

Revision 1.369 - (view) (annotate) - [select for diffs]
Wed Mar 22 20:01:44 2006 UTC (8 years ago) by mkoeppe
Branch: MAIN
Changes since 1.368: +2 -1 lines
Diff to previous 1.368 , to selected 1.38
(arglist-for-echo-area): Fix when arg-indices are not given.

Revision 1.368 - (view) (annotate) - [select for diffs]
Wed Mar 22 16:40:01 2006 UTC (8 years ago) by dcrosher
Branch: MAIN
Changes since 1.367: +74 -51 lines
Diff to previous 1.367 , to selected 1.38
* Improve the robustness of connection establishment.

Revision 1.367 - (view) (annotate) - [select for diffs]
Wed Mar 22 06:06:18 2006 UTC (8 years ago) by mkoeppe
Branch: MAIN
Changes since 1.366: +14 -13 lines
Diff to previous 1.366 , to selected 1.38
(inspect-for-emacs stream-error t): Don't call pathname on non-file streams.

Revision 1.366 - (view) (annotate) - [select for diffs]
Wed Mar 22 02:46:45 2006 UTC (8 years ago) by mkoeppe
Branch: MAIN
Changes since 1.365: +37 -0 lines
Diff to previous 1.365 , to selected 1.38
(inspect-for-emacs): Specialize on FILE-STREAM and STREAM-ERROR,
offering to visit the file at the current stream position as an
inspector action.  Useful for dealing with reader errors.

Revision 1.365 - (view) (annotate) - [select for diffs]
Sun Mar 19 06:38:52 2006 UTC (8 years, 1 month ago) by mkoeppe
Branch: MAIN
Changes since 1.364: +54 -31 lines
Diff to previous 1.364 , to selected 1.38
(arglist-for-echo-area): New keyword argument arg-indices.
(arglist-to-string): New keyword argument highlight.
(format-arglist-for-echo-area): Likewise.

Revision 1.364 - (view) (annotate) - [select for diffs]
Sat Mar 18 07:37:22 2006 UTC (8 years, 1 month ago) by mkoeppe
Branch: MAIN
Changes since 1.363: +14 -7 lines
Diff to previous 1.363 , to selected 1.38
(arglist-for-echo-area): Add keyword argument
print-right-margin.
(arglist-to-string, format-arglist-for-echo-area): Likewise.

Revision 1.363 - (view) (annotate) - [select for diffs]
Sat Feb 25 12:10:33 2006 UTC (8 years, 1 month ago) by dcrosher
Branch: MAIN
Changes since 1.362: +7 -7 lines
Diff to previous 1.362 , to selected 1.38
* swank-backend.lisp (operate-on-system): symbol case fix for
  SCL's lowercase mode.

* swak.lisp (setup-stream-indirection)
  (globally-redirect-io-to-connection)
  (revert-global-io-redirection): symbol case fixes.

* swank-scl.lisp: (inspect-for-emacs):  Fixes for the inspect
  standard-objects, and inspect array.  Plus misc symbol case fixes.

Revision 1.362 - (view) (annotate) - [select for diffs]
Tue Feb 21 06:44:52 2006 UTC (8 years, 1 month ago) by mkoeppe
Branch: MAIN
Changes since 1.361: +58 -13 lines
Diff to previous 1.361 , to selected 1.38
(operator-designator-to-form): New, factored out from
arglist-for-echo-area.
(arglist-for-echo-area): Use it here.
(completions-for-keyword): New.
(find-matching-symbols-in-list): New.

Revision 1.361 - (view) (annotate) - [select for diffs]
Fri Feb 10 16:54:58 2006 UTC (8 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.360: +12 -21 lines
Diff to previous 1.360 , to selected 1.38
(macro-indentation): Don't count '&optional as argument.

Revision 1.360 - (view) (annotate) - [select for diffs]
Mon Feb 6 18:42:09 2006 UTC (8 years, 2 months ago) by mkoeppe
Branch: MAIN
Changes since 1.359: +113 -100 lines
Diff to previous 1.359 , to selected 1.38
(arglist-to-template-string): Unused, removed.
(extra-keywords): Indicate which part of the actual arglist was
used to determine the extra keywords.  For MAKE-INSTANCE, don't
signal an error if the class does not exist.
(enrich-decoded-arglist-with-extra-keywords): Indicate which part
of the actual arglist was used to determine the extra keywords,
and whether any extra keywords were added.
(form-completion): Generalize to handle display of enriched formal
arglists.
(read-incomplete-form-from-string): New, factored out from
complete-form.  Handle end-of-file.
(complete-form): Use it here.
(format-arglist-for-echo-area): Use form-completion, so as to
show enriched formal arglists for MAKE-INSTANCE and DEFMETHOD
calls.
(arglist-for-echo-area): Handle MAKE-INSTANCE and DEFMETHOD
calls.

Revision 1.359 - (view) (annotate) - [select for diffs]
Mon Jan 30 19:56:55 2006 UTC (8 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.358: +16 -15 lines
Diff to previous 1.358 , to selected 1.38
Patch from Ian Eslick.

Show slot values for metaclasses that override the default storage
locations for objects slots (i.e. where the default slot-boundp
returns nil) in the inspector.

* swank.lisp (inspect-for-emacs standard-object): Use
slot-value-using-class and slot-boundp-using-class.

* swank-backend.lisp: Add slot-value-using-class and
slot-boundp-using-class to the swank-mop package.

Revision 1.358 - (view) (annotate) - [select for diffs]
Mon Jan 30 19:07:43 2006 UTC (8 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.357: +36 -2 lines
Diff to previous 1.357 , to selected 1.38
Patch from Luís Oliveira.

Extend slime-echo-arglist to display initargs and initforms when
make-instance is detected.

* slime.el (slime-enclosing-operator-names): detect make-instance
forms and collect the class-name argument if it exists and is a
quoted symbol.

* swank.lisp (arglist-for-echo-area): handle pairs of of the form
("make-instance" . "<class-name>") by passing them to
format-initargs-and-initforms-for-echo-area.
(class-initargs-and-iniforms): New function.
(format-initargs-and-initforms-for-echo-area): New function.

Revision 1.357 - (view) (annotate) - [select for diffs]
Tue Jan 17 20:28:57 2006 UTC (8 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.356: +65 -49 lines
Diff to previous 1.356 , to selected 1.38
(spawn-threads-for-connection): Fix a race condition: Don't accept
input before all threads are ready.

(throw-to-toplevel): No longer invoke the 'abort restart if the
'abort-request isn't available.

Revision 1.356 - (view) (annotate) - [select for diffs]
Tue Dec 27 15:12:22 2005 UTC (8 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.355: +55 -4 lines
Diff to previous 1.355 , to selected 1.38
(log-event): Record the event in the history buffer.
(*event-history*, *event-history-index*, *enable-event-history*): Ring
buffer for events.
(dump-event-history, dump-event, escape-non-ascii, ascii-string-p)
(ascii-char-p): New functions.

(close-connection): Escape non-ascii strings and include the event
history in the error message.

Revision 1.355 - (view) (annotate) - [select for diffs]
Tue Dec 20 00:26:25 2005 UTC (8 years, 3 months ago) by mbaringer
Branch: MAIN
Changes since 1.354: +33 -25 lines
Diff to previous 1.354 , to selected 1.38
(all-slots-for-inspector): New function.
(inspect-for-emacs): Use all-slots-for-inspector.

Revision 1.354 - (view) (annotate) - [select for diffs]
Fri Dec 16 13:35:14 2005 UTC (8 years, 4 months ago) by nsiivola
Branch: MAIN
Changes since 1.353: +8 -2 lines
Diff to previous 1.353 , to selected 1.38
slime-selector tweak, robuster printing

Revision 1.353 - (view) (annotate) - [select for diffs]
Sun Nov 20 23:27:26 2005 UTC (8 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.352: +29 -17 lines
Diff to previous 1.352 , to selected 1.38
(pprint-inspector-part, swank-compiler-macroexpand): New.

Revision 1.352 - (view) (annotate) - [select for diffs]
Fri Nov 11 23:47:50 2005 UTC (8 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.351: +8 -1 lines
Diff to previous 1.351 , to selected 1.38
(*dedicated-output-stream-buffering*): New variable to customize the
buffering scheme.  For single-threaded Lisps we disable buffering
because lazy programmers forget to call finish-output.
(open-dedicated-output-stream): Use it.

Revision 1.351 - (view) (annotate) - [select for diffs]
Fri Nov 4 09:04:40 2005 UTC (8 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.350: +1 -1 lines
Diff to previous 1.350 , to selected 1.38
(connection-info): Docfix.

Revision 1.350 - (view) (annotate) - [select for diffs]
Mon Oct 31 08:22:11 2005 UTC (8 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.349: +4 -2 lines
Diff to previous 1.349 , to selected 1.38
(simple-serve-requests): Add an extra abort restart.

(connection-info): Rename :type-name to :name.

Revision 1.349 - (view) (annotate) - [select for diffs]
Sun Oct 30 15:07:07 2005 UTC (8 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.348: +5 -5 lines
Diff to previous 1.348 , to selected 1.38
(simple-serve-requests): Close the connection at the end.

Revision 1.348 - (view) (annotate) - [select for diffs]
Sun Oct 23 08:47:54 2005 UTC (8 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.347: +10 -7 lines
Diff to previous 1.347 , to selected 1.38
* swank-backend.lisp (install-debugger-globally): new interface
function

* swank.lisp (install-debugger): call install-debugger-globally

* swank-sbcl.lisp (install-debugger-globally): set
sb-ext:*invoke-debugger-hook* too

Revision 1.347 - (view) (annotate) - [select for diffs]
Mon Oct 17 23:26:15 2005 UTC (8 years, 6 months ago) by dcrosher
Branch: MAIN
Changes since 1.346: +3 -2 lines
Diff to previous 1.346 , to selected 1.38
* (canonical-package-nickname): always return the package name as a symbol
  if found.  This restores the printing of package names as strings.

Revision 1.346 - (view) (annotate) - [select for diffs]
Mon Oct 17 18:16:01 2005 UTC (8 years, 6 months ago) by mbaringer
Branch: MAIN
Changes since 1.345: +31 -14 lines
Diff to previous 1.345 , to selected 1.38
(eval-in-emacs): Instead of taking a string and attempting to parse it
emacs side the function now takes a form and converts it to a string
internally. This should allow users of the function to not have to
worry about quoting issues and emacs' different printed represenation
for, among other things, characters.
(process-form-for-emacs): New function. Converts a list into a string
for passing to emacs.

Revision 1.345 - (view) (annotate) - [select for diffs]
Fri Oct 14 18:05:43 2005 UTC (8 years, 6 months ago) by dcrosher
Branch: MAIN
Changes since 1.344: +1 -1 lines
Diff to previous 1.344 , to selected 1.38
o *canonical-package-nicknames*: use lowercase symbols to name the packages.
  This supports CL implementations with lowercase default symbol names, such
  as Scieneer Common Lisp, while still being compatible with ANSI-CL.

Revision 1.344 - (view) (annotate) - [select for diffs]
Mon Oct 10 22:25:51 2005 UTC (8 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.343: +1 -1 lines
Diff to previous 1.343 , to selected 1.38
(force-user-output): There seems to be a bug in Allegro's
two-way-streams. As a workaround we use force-output for the user-io
stream.  (finish-output *debug-io*) still triggers the bug.

Revision 1.343 - (view) (annotate) - [select for diffs]
Sun Oct 9 18:55:52 2005 UTC (8 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.342: +27 -14 lines
Diff to previous 1.342 , to selected 1.38
(connection-info): Include the initial package and a more
self-descriptive format.

Revision 1.342 - (view) (annotate) - [select for diffs]
Tue Sep 27 22:44:28 2005 UTC (8 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.341: +8 -1 lines
Diff to previous 1.341 , to selected 1.38
(start-server): Call initialize-multiprocessing before starting the
server and startup-idle-and-top-level-loops afterwards.  Calling
startup-idle-and-top-level-loops here shouldn't be a problem because
start-server is only invoked at startup via stdin.

(inspector-reinspect): New function.

Revision 1.341 - (view) (annotate) - [select for diffs]
Thu Sep 22 20:23:42 2005 UTC (8 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.340: +4 -3 lines
Diff to previous 1.340 , to selected 1.38
(accept-authenticated-connection): Minor fix. Ensure that the decoded
message is a string before calling string= on it.  Patch from
Aleksandar Bakic.

Revision 1.340 - (view) (annotate) - [select for diffs]
Wed Sep 21 20:43:17 2005 UTC (8 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.339: +12 -10 lines
Diff to previous 1.339 , to selected 1.38
(throw-to-toplevel): Invoke the `abort-restart' request instead of
throwing to the `slime-toplevel' catch tag.
(handle-request): Rename the restart from abort to abort-request.
(call-with-connection): Remove the slime-toplevel catch tag because
with-connection is used in far to many places which aren't at "toplevel".

Revision 1.339 - (view) (annotate) - [select for diffs]
Wed Sep 21 11:41:51 2005 UTC (8 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.338: +20 -17 lines
Diff to previous 1.338 , to selected 1.38
(make-output-function): Rename :read-output to :write-string.

(eval-for-emacs, interactive-eval, eval-region): Use finish-output not
force-output.

Revision 1.338 - (view) (annotate) - [select for diffs]
Sun Sep 18 14:34:31 2005 UTC (8 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.337: +111 -0 lines
Diff to previous 1.337 , to selected 1.38
Move presentation menu protocol here from present.lisp.

Revision 1.337 - (view) (annotate) - [select for diffs]
Thu Sep 15 08:28:07 2005 UTC (8 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.336: +29 -15 lines
Diff to previous 1.336 , to selected 1.38
(eval-in-emacs): Fix a race condition which occurred with sigio.
(*echo-area-prefix*): New variable.

Revision 1.336 - (view) (annotate) - [select for diffs]
Thu Sep 15 04:42:06 2005 UTC (8 years, 7 months ago) by aruttenberg
Branch: MAIN
Changes since 1.335: +2 -2 lines
Diff to previous 1.335 , to selected 1.38
*** empty log message ***

Revision 1.335 - (view) (annotate) - [select for diffs]
Thu Sep 15 03:37:13 2005 UTC (8 years, 7 months ago) by aruttenberg
Branch: MAIN
Changes since 1.334: +1 -1 lines
Diff to previous 1.334 , to selected 1.38
* slime.el (slime-menu-choices-for-presentation), (slime-presentation-menu)
Fix loss after refactoring. xemacs can't handle lambda forms in
the menu spec given to x-popup-menu, only symbols, so save the
actions in a hash table keyed by a gensym, give x-popup-menu the
gensym and then call the gensym. Haven't checked that it actually
works in xemacs because my xemacs is hosed in os x Tiger. Could
someone let me know...

* swank.lisp (inspect-factor-more-action)
rename (inspect-show-more-action) Prompt before reading how many
more. Would be nicer to prompt in the minibuffer...

Revision 1.334 - (view) (annotate) - [select for diffs]
Tue Sep 13 05:37:16 2005 UTC (8 years, 7 months ago) by aruttenberg
Branch: MAIN
Changes since 1.333: +56 -8 lines
Diff to previous 1.333 , to selected 1.38
*** empty log message ***

Revision 1.333 - (view) (annotate) - [select for diffs]
Tue Sep 13 04:14:53 2005 UTC (8 years, 7 months ago) by aruttenberg
Branch: MAIN
Changes since 1.332: +8 -6 lines
Diff to previous 1.332 , to selected 1.38
*** empty log message ***

Revision 1.332 - (view) (annotate) - [select for diffs]
Mon Sep 12 23:29:41 2005 UTC (8 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.331: +3 -3 lines
Diff to previous 1.331 , to selected 1.38
Fix parens.

Revision 1.331 - (view) (annotate) - [select for diffs]
Mon Sep 12 22:42:54 2005 UTC (8 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.330: +63 -100 lines
Diff to previous 1.330 , to selected 1.38
Simplify the object <-> presentation-id mapping.
(save-presented-object): Remove the optional `id' arg.
(lookup-presented-object): Id's should be fixnums not some cons
with fuzzy/non-documented meaning.  Use the secondary return value
to test for absence of the id.  Update callers accordingly.
(*not-present*): Deleted.

Remove the repl result special cases, let the general presentation
machinery handle it.
(*last-repl-result-id*, add-repl-result, *current-id*)
(clear-last-repl-result): Deleted.
(listener-eval): Don't *current-id* to tag result values.

(*can-print-presentation*): Deleted. Nobody quite knows whether
it's still needed so let just try without it.  Updated referrers
accordingly.

(eval-region, run-repl-eval-hooks): Move the eval hook stuff to
a separate function.

Revision 1.330 - (view) (annotate) - [select for diffs]
Mon Sep 5 13:54:02 2005 UTC (8 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.329: +33 -47 lines
Diff to previous 1.329 , to selected 1.38
(y-or-n-p-in-emacs): Simplify arglist.

(evaluate-in-emacs, dispatch-event, send-to-socket-io): Remove
evaluate-in-emacs stuff.

(to-string): Undo last change. to-string is not to supposed to ignore
errors.  Bind *print-readably* instead.

(background-message): New function.

(symbol-external-p): Simplify it a little.

Revision 1.329 - (view) (annotate) - [select for diffs]
Wed Aug 31 11:27:47 2005 UTC (8 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.328: +4 -1 lines
Diff to previous 1.328 , to selected 1.38
(to-string): Handle errors during printing of objects.

Revision 1.328 - (view) (annotate) - [select for diffs]
Tue Aug 30 23:57:26 2005 UTC (8 years, 7 months ago) by aruttenberg
Branch: MAIN
Changes since 1.327: +2 -1 lines
Diff to previous 1.327 , to selected 1.38
*** empty log message ***

Revision 1.327 - (view) (annotate) - [select for diffs]
Mon Aug 29 19:31:35 2005 UTC (8 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.326: +18 -3 lines
Diff to previous 1.326 , to selected 1.38
(dispatch-event, send-to-socket-io): Handle new
messages :y-or-n-p, :background-message.
(y-or-n-p-in-emacs): New function.

Revision 1.326 - (view) (annotate) - [select for diffs]
Sun Aug 28 14:50:03 2005 UTC (8 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.325: +2 -4 lines
Diff to previous 1.325 , to selected 1.38
(*object-to-presentation-id*, *presentation-id-to-object*): Use new
functions make-weak-key-hash-table, make-weak-value-hash-table.

Revision 1.325 - (view) (annotate) - [select for diffs]
Sun Aug 28 12:25:40 2005 UTC (8 years, 7 months ago) by mkoeppe
Branch: MAIN
Changes since 1.324: +2 -0 lines
Diff to previous 1.324 , to selected 1.38
(send-to-socket-io): Handle :evaluate-in-emacs.

Revision 1.324 - (view) (annotate) - [select for diffs]
Wed Aug 24 17:40:47 2005 UTC (8 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.323: +31 -5 lines
Diff to previous 1.323 , to selected 1.38
(fuzzy-find-matching-symbols): When completing the string "package:"
present a list of all the external symbols in package (completing
"package::" lists internal symbols as well).

(inspect-for-emacs standard-class): List all the slots in the class
(as per standard-object). The previous method of hard coding the slots
in the inspector's code made inspecting custom meta-classes useless.

Revision 1.323 - (view) (annotate) - [select for diffs]
Sun Aug 14 15:41:18 2005 UTC (8 years, 8 months ago) by mkoeppe
Branch: MAIN
Changes since 1.322: +72 -31 lines
Diff to previous 1.322 , to selected 1.38
* swank.lisp (*object-to-presentation-id*)
(*presentation-id-to-object*, clear-presentation-tables)
(*presentation-counter*, lookup-presented-object): Move here from
present.lisp.
(save-presented-object): Likewise.  Assign negative numbers only,
so as not to clash with continuation ids.

* swank.lisp (*repl-results*): Removed.

* swank.lisp (get-repl-result, clear-repl-results): Use new
implementations from present.lisp.
(add-repl-result): Likewise, don't take the negative of the id.
(*last-repl-result-id*): New variable.
(clear-last-repl-result): Use it here.

Revision 1.322 - (view) (annotate) - [select for diffs]
Thu Aug 11 08:41:34 2005 UTC (8 years, 8 months ago) by eweitz
Branch: MAIN
Changes since 1.321: +2 -1 lines
Diff to previous 1.321 , to selected 1.38
TRANSPOSE-LISTS again...

Revision 1.321 - (view) (annotate) - [select for diffs]
Wed Aug 10 00:21:57 2005 UTC (8 years, 8 months ago) by eweitz
Branch: MAIN
Changes since 1.320: +3 -11 lines
Diff to previous 1.320 , to selected 1.38
Helmut's version is much nicer...

Revision 1.320 - (view) (annotate) - [select for diffs]
Tue Aug 9 13:56:54 2005 UTC (8 years, 8 months ago) by eweitz
Branch: MAIN
Changes since 1.319: +11 -2 lines
Diff to previous 1.319 , to selected 1.38
New version of SWANK::TRANSPOSE-LISTS

Revision 1.319 - (view) (annotate) - [select for diffs]
Sat Aug 6 14:50:20 2005 UTC (8 years, 8 months ago) by mkoeppe
Branch: MAIN
Changes since 1.318: +47 -15 lines
Diff to previous 1.318 , to selected 1.38
(form-completion): New generic function, factored out
from complete-form.
(complete-form): Factor out form-completion.
(form-completion): Specialize on defmethod forms to insert arglist
of generic function.

Revision 1.318 - (view) (annotate) - [select for diffs]
Thu Aug 4 20:16:45 2005 UTC (8 years, 8 months ago) by mkoeppe
Branch: MAIN
Changes since 1.317: +2 -2 lines
Diff to previous 1.317 , to selected 1.38
Undo changes I checked in by mistake.

Revision 1.317 - (view) (annotate) - [select for diffs]
Thu Aug 4 20:14:57 2005 UTC (8 years, 8 months ago) by mkoeppe
Branch: MAIN
Changes since 1.316: +5 -5 lines
Diff to previous 1.316 , to selected 1.38
(*can-print-presentation*): Move up.

Revision 1.316 - (view) (annotate) - [select for diffs]
Thu Aug 4 19:34:35 2005 UTC (8 years, 8 months ago) by mkoeppe
Branch: MAIN
Changes since 1.315: +40 -25 lines
Diff to previous 1.315 , to selected 1.38
(*can-print-presentation*): New variable, moved here from
present.lisp.

(interactive-eval, listener-eval, backtrace)
(swank-compiler, compile-file-for-emacs, load-file)
(init-inspector): Bind *can-print-presentation* to an appropriate
value.

Revision 1.315 - (view) (annotate) - [select for diffs]
Thu Aug 4 19:23:13 2005 UTC (8 years, 8 months ago) by mkoeppe
Branch: MAIN
Changes since 1.314: +4 -3 lines
Diff to previous 1.314 , to selected 1.38
(encode-message): Don't use the pretty printer for printing the
message length.

(listener-eval): Store the whole values-list with add-repl-result.

Revision 1.314 - (view) (annotate) - [select for diffs]
Thu Aug 4 19:16:14 2005 UTC (8 years, 8 months ago) by mkoeppe
Branch: MAIN
Changes since 1.313: +3 -1 lines
Diff to previous 1.313 , to selected 1.38
(dispatch-event, send-to-socket-io): New events :presentation-start,
:presentation-end for bridge-less presentation markup.

Revision 1.313 - (view) (annotate) - [select for diffs]
Fri Jul 29 12:38:21 2005 UTC (8 years, 8 months ago) by mbaringer
Branch: MAIN
Changes since 1.312: +11 -6 lines
Diff to previous 1.312 , to selected 1.38
(*dedicated-output-stream-port*): New variable.
(open-dedicated-output-stream): Open the stream on the port *dedicated-output-stream-port*.

Revision 1.312 - (view) (annotate) - [select for diffs]
Tue Jul 26 21:37:26 2005 UTC (8 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.311: +8 -4 lines
Diff to previous 1.311 , to selected 1.38
(inspect-for-emacs): Don't make whitespace surrounding :action buttons
part of the highlighted region.

Revision 1.311 - (view) (annotate) - [select for diffs]
Tue Jul 26 20:51:14 2005 UTC (8 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.310: +4 -3 lines
Diff to previous 1.310 , to selected 1.38
(compile-file-for-emacs): Accept optional external-format argument.

Revision 1.310 - (view) (annotate) - [select for diffs]
Sun Jul 24 15:30:46 2005 UTC (8 years, 8 months ago) by mbaringer
Branch: MAIN
Changes since 1.309: +21 -4 lines
Diff to previous 1.309 , to selected 1.38
*** empty log message ***

Revision 1.309 - (view) (annotate) - [select for diffs]
Tue Jun 21 18:28:58 2005 UTC (8 years, 9 months ago) by eweitz
Branch: MAIN
Changes since 1.308: +3 -1 lines
Diff to previous 1.308 , to selected 1.38
Add package nicknames to completion results

Revision 1.308 - (view) (annotate) - [select for diffs]
Mon Jun 13 09:34:53 2005 UTC (8 years, 10 months ago) by eweitz
Branch: MAIN
Changes since 1.307: +13 -11 lines
Diff to previous 1.307 , to selected 1.38
remove duplicate asdf systems

Revision 1.307 - (view) (annotate) - [select for diffs]
Sun Jun 12 16:33:50 2005 UTC (8 years, 10 months ago) by crhodes
Branch: MAIN
Changes since 1.306: +16 -10 lines
Diff to previous 1.306 , to selected 1.38
Minor changes to ED-IN-EMACS / slime-ed.  Now
  (push 'swank:ed-in-emacs sb-ext:*ed-functions*)
works more-or-less as required.  (We don't obey the constraint that
file-error conditions be signalled on file system errors, but...)

Revision 1.306 - (view) (annotate) - [select for diffs]
Fri Jun 10 17:54:22 2005 UTC (8 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.305: +1 -1 lines
Diff to previous 1.305 , to selected 1.38
(compiled-regex): Use the new package name.

Revision 1.305 - (view) (annotate) - [select for diffs]
Wed Jun 1 12:41:02 2005 UTC (8 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.304: +10 -16 lines
Diff to previous 1.304 , to selected 1.38
(present-symbol-before-p): Fix docstring; remove optimization; compare
package names correctly.

Revision 1.304 - (view) (annotate) - [select for diffs]
Wed Jun 1 12:27:24 2005 UTC (8 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.303: +18 -9 lines
Diff to previous 1.303 , to selected 1.38
(present-symbol-before-p): make it conform to its specification --
sort first by package and then by symbol name.

Revision 1.303 - (view) (annotate) - [select for diffs]
Tue May 31 18:37:52 2005 UTC (8 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.302: +9 -5 lines
Diff to previous 1.302 , to selected 1.38
(simple-announce-function): force-output after announcing.

(symbol-external-p): Be extra paranoid about the symbol's package;
find-symbol barfs on a nil package in Corman Lisp.

Revision 1.302 - (view) (annotate) - [select for diffs]
Sat May 21 05:04:02 2005 UTC (8 years, 10 months ago) by aruttenberg
Branch: MAIN
Changes since 1.301: +2 -2 lines
Diff to previous 1.301 , to selected 1.38
*** empty log message ***

Revision 1.301 - (view) (annotate) - [select for diffs]
Fri May 20 05:41:45 2005 UTC (8 years, 10 months ago) by lgorrie
Branch: MAIN
Changes since 1.300: +1 -1 lines
Diff to previous 1.300 , to selected 1.38
(clear-repl-results): Fixed unbalanced parens. Thanks Lawrence
Mitchell.

Revision 1.300 - (view) (annotate) - [select for diffs]
Thu May 19 02:15:10 2005 UTC (8 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.299: +31 -19 lines
Diff to previous 1.299 , to selected 1.38
(*record-repl-results*): Variable to enable/disable recording of REPL
results. True by default.

(*repl-results*): Renamed from ****.

Revision 1.299 - (view) (annotate) - [select for diffs]
Wed May 18 10:16:31 2005 UTC (8 years, 11 months ago) by mbaringer
Branch: MAIN
Changes since 1.298: +27 -2 lines
Diff to previous 1.298 , to selected 1.38
(*current-id*, ****): New variables.
(add-****, get-****, clear-last-****, clear-****): New functions
for manipulating the repl history.
(listener-eval): Add * to ****.

Revision 1.298 - (view) (annotate) - [select for diffs]
Thu May 12 19:04:41 2005 UTC (8 years, 11 months ago) by aruttenberg
Branch: MAIN
Changes since 1.297: +53 -8 lines
Diff to previous 1.297 , to selected 1.38
2005-05-12  Alan Ruttenberg  <alanr-l@mumble.net>

	* swank.lisp Add ability to customize behavior of the repl. To do
	so, add a function to the list swank::*slime-repl-eval-hooks*.
	This function is passed the form typed into the repl. The function
	should decide whether it wants to handle evaluation of the
	form. If not, call (repl-eval-hook-pass) and the next hook is
	tried. Otherwise the values the function returns are used instead
	of calling eval. Inside the body of the function you can also
	suppress having the repl print the result by calling
	(repl-suppress-output) and/or suppress the advancement of the
	history variables (*** ** * /// // /) by calling
	(repl-suppress-advance-history).

Revision 1.297 - (view) (annotate) - [select for diffs]
Tue May 3 18:58:54 2005 UTC (8 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.296: +1 -2 lines
Diff to previous 1.296 , to selected 1.38
(slime-secret): Removed #+unix conditional.

Revision 1.296 - (view) (annotate) - [select for diffs]
Mon May 2 18:44:50 2005 UTC (8 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.295: +23 -3 lines
Diff to previous 1.295 , to selected 1.38
If ~/.slime-secret exists then insist that Emacs sends the contents
(as a password) during initial handshaking.

(announce-server-port): Use :IF-EXISTS :ERROR to prevent bad guys from
slipping a symlink into /tmp and reading what port Lisp is listening
on.

Revision 1.295 - (view) (annotate) - [select for diffs]
Thu Apr 21 07:39:12 2005 UTC (8 years, 11 months ago) by lgorrie
Branch: MAIN
CVS Tags: SLIME-1-2-1
Changes since 1.294: +1 -1 lines
Diff to previous 1.294 , to selected 1.38
(arglist-to-string): Rolled back the previous change because it
interferred with values appearing in parameter lists.

Revision 1.294 - (view) (annotate) - [select for diffs]
Wed Apr 20 17:23:45 2005 UTC (8 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.293: +1 -1 lines
Diff to previous 1.293 , to selected 1.38
(arglist-to-string): Bind *PRINT-ESCAPE* to NIL. This way symbols in
arglists are printed as with PRINC, i.e. without package qualifier.

Revision 1.293 - (view) (annotate) - [select for diffs]
Sat Apr 9 07:07:46 2005 UTC (9 years ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-2
Changes since 1.292: +32 -23 lines
Diff to previous 1.292 , to selected 1.38
(with-io-redirection, with-connection, with-buffer-syntax): Implement
macros with a `call-with' functions to avoid some code bloat.
(call-with-connection, maybe-call-with-io-redirection)
(call-with-buffer-syntax): New functions.

(interactive-eval): Use from-string instead of read-from-string to
avoid problems whit *read-suppress*.

Revision 1.292 - (view) (annotate) - [select for diffs]
Sun Apr 3 23:27:20 2005 UTC (9 years ago) by heller
Branch: MAIN
Changes since 1.291: +5 -2 lines
Diff to previous 1.291 , to selected 1.38
(connection-info): Include version and hostname in the result.

Revision 1.291 - (view) (annotate) - [select for diffs]
Fri Apr 1 19:55:18 2005 UTC (9 years ago) by heller
Branch: MAIN
Changes since 1.290: +24 -15 lines
Diff to previous 1.290 , to selected 1.38
(spawn-repl-thread): Use *default-worker-thread-bindings* just like
spawn-worker-thread.

(wrap-sldb-vars): New function.  When evaluating a form in a frame,
Allegro uses the "old" dynamic context, i.e., dynamic variables like
*sldb-level* and the like are reset to the values in those frames.
But if *sldb-level* is reset to 0, Emacs doesn't notice when a
(recursive) error occurs while evaluating the form in the old frame.
wrap-sldb-vars saves the debugger related variables to avoid such
confusion.
(eval-string-in-frame, pprint-eval-string-in-frame): Use it.

Revision 1.290 - (view) (annotate) - [select for diffs]
Wed Mar 23 12:23:05 2005 UTC (9 years ago) by mbaringer
Branch: MAIN
Changes since 1.289: +1 -1 lines
Diff to previous 1.289 , to selected 1.38
(commit-edited-value): Read a backquated string, instead of quating
the result of read. This allows one to put ,(form) into edit-value
buffers.

Revision 1.289 - (view) (annotate) - [select for diffs]
Mon Mar 21 00:58:46 2005 UTC (9 years ago) by heller
Branch: MAIN
Changes since 1.288: +8 -5 lines
Diff to previous 1.288 , to selected 1.38
(commit-edited-value): Use buffer syntax.

(compile-file-for-emacs, compile-string-for-emacs): Bind
*compile-print* to nil.

Revision 1.288 - (view) (annotate) - [select for diffs]
Wed Mar 16 22:03:18 2005 UTC (9 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.287: +40 -31 lines
Diff to previous 1.287 , to selected 1.38
(*macroexpand-printer-bindings*): New user variable.
(apply-macro-expander): Use it.

(call-with-bindings): Bind reverse the list. Makes it easer to cons or
push a new binding at the front the list.
(with-bindings): New macro.

Revision 1.287 - (view) (annotate) - [select for diffs]
Sun Mar 13 15:16:16 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.286: +2 -0 lines
Diff to previous 1.286 , to selected 1.38
(inspect-for-emacs symbol): Add an "unintern it" action for symbols.

Revision 1.286 - (view) (annotate) - [select for diffs]
Sat Mar 12 16:02:04 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.285: +12 -0 lines
Diff to previous 1.285 , to selected 1.38
(value-for-editing, commit-edited-value): New functions for
slime-edit-value.

Revision 1.285 - (view) (annotate) - [select for diffs]
Mon Mar 7 08:46:55 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.284: +4 -4 lines
Diff to previous 1.284 , to selected 1.38
*** empty log message ***

Revision 1.284 - (view) (annotate) - [select for diffs]
Sun Mar 6 21:43:33 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.283: +176 -62 lines
Diff to previous 1.283 , to selected 1.38
(format-arglist-for-echo-area): Use extra-keywords to enrich the list
of keywords.

(arglist-to-string): Remove extraneous whitespace.

(keyword-arg, optional-arg): New structures.

(decode-keyword-arg, decode-optional-arg): Return structure objects
rather than multiple values.

(encode-keyword-arg, encode-optional-arg, encode-arglist): New
functions.

(arglist): New slot key-p.

(decode-arglist): Handle &whole, &environment. Store more information
on optional and keyword args, set arglist.key-p.

(values-equal?): Removed.

(print-decoded-arglist-as-template): If keyword is not a keyword
symbol, quote it in the template.

(extra-keywords): Return a secondary value (allow-other-keys). For
make-instance, try to finalize the class if it is not finalized yet
(fix for Allegro CL 6.2). If class is not finalizable, use direct
slots instead of slots and indicate that the keywords are not
complete.

(enrich-decoded-arglist-with-extra-keywords): New function, use the
secondary value of extra-keywords.

(arglist-for-insertion, complete-form): Use it here.

(remove-keywords-alist): New variable.

(remove-actual-args): When the keyword :test is provided, don't
suggest :test-not and vice versa.

Revision 1.283 - (view) (annotate) - [select for diffs]
Sun Mar 6 16:49:23 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.282: +1 -0 lines
Diff to previous 1.282 , to selected 1.38
Export LOG-OUTPUT.

Revision 1.282 - (view) (annotate) - [select for diffs]
Mon Feb 28 23:32:58 2005 UTC (9 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.281: +65 -95 lines
Diff to previous 1.281 , to selected 1.38
(*sldb-printer-bindings*, *swank-pprint-bindings*): New variables.
The alists replace the variables which where previously hidden with
the define-printer-variables macro.
(define-printer-variables, with-printer-settings): Deleted, because
the variable names where not visible in the source code.

(swank-toggle-trace): Renamed from toggle-trace-fdefinition.

Revision 1.281 - (view) (annotate) - [select for diffs]
Thu Feb 24 18:08:24 2005 UTC (9 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.280: +63 -40 lines
Diff to previous 1.280 , to selected 1.38
(eval-for-emacs): Use the new backend function call-with-debugger-hook.

(eval-in-emacs): Cleaned up. Add support for synchronous RPCs.
(receive-eval-result): New function.
(dispatch-event, read-from-socket-io, send-to-socket-io): New :eval
event. Rename :%apply to :eval-no-wait.
(read-user-input-from-emacs, evaluate-in-emacs): Increment
*read-input-catch-tag* instead of re-binding it. Reduces the danger of
throwing to the wrong tag a bit.

Revision 1.280 - (view) (annotate) - [select for diffs]
Sun Feb 20 20:29:14 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.279: +218 -41 lines
Diff to previous 1.279 , to selected 1.38
(arglist): New struct for storing decoded arglists.
(decode-arglist): New function.
(arglist-keywords, methods-keywords, generic-function-keywords,
applicable-methods-keywords): New functions.
(decoded-arglist-to-template-string,
print-decoded-arglist-as-template): New functions.
(arglist-to-template-string): Rewrite using above functions.
(remove-actual-args): New function.
(complete-form): New slimefun.

(extra-keywords): New generic function.

(arglist-for-insertion): Use extra-keywords to
enrich the list of keywords.

(valid-operator-symbol-p): New function.
(valid-operator-name-p): Use valid-operator-symbol-p.

Revision 1.279 - (view) (annotate) - [select for diffs]
Fri Feb 18 16:04:28 2005 UTC (9 years, 1 month ago) by mbaringer
Branch: MAIN
Changes since 1.278: +22 -1 lines
Diff to previous 1.278 , to selected 1.38
(dispatch-event): Handle the :evaluate-in-emacs
message type.
(evaluate-in-emacs): New function.

Revision 1.278 - (view) (annotate) - [select for diffs]
Thu Jan 27 19:56:06 2005 UTC (9 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.277: +31 -11 lines
Diff to previous 1.277 , to selected 1.38
(*pending-continuations*, eval-in-emacs, debugger-info-for-emacs):
Keep track of debugged continuation the new variable
*pending-continuations* and include the list of active continuations
in the debugger info for Emacs.

(eval-and-grab-output): New function.  Used by slime-eval-print.

(*log-output*): Renamed from *log-io*.  Use *standard-error* as
initial value instead of *terminal-io*.  CMUCL opens its own tty and
that makes it hard to redirect to output with a shell.
*standard-error* writes its output to file descriptor 2.

(*canonical-package-nicknames*): Fix typo.

Revision 1.277 - (view) (annotate) - [select for diffs]
Thu Jan 20 20:02:32 2005 UTC (9 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.276: +15 -17 lines
Diff to previous 1.276 , to selected 1.38
(parse-symbol): Don't break if the package doesn't exists.

Revision 1.276 - (view) (annotate) - [select for diffs]
Wed Jan 19 18:30:36 2005 UTC (9 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.275: +77 -3 lines
Diff to previous 1.275 , to selected 1.38
(arglist-to-template-string): New function.
(arglist-for-insertion): Use it
(decode-keyword-arg, decode-optional-arg): New functions.

Revision 1.275 - (view) (annotate) - [select for diffs]
Wed Jan 12 16:25:16 2005 UTC (9 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.274: +1 -0 lines
Diff to previous 1.274 , to selected 1.38
*** empty log message ***

Revision 1.274 - (view) (annotate) - [select for diffs]
Wed Jan 12 16:22:37 2005 UTC (9 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.273: +19 -1 lines
Diff to previous 1.273 , to selected 1.38
(*default-worker-thread-bindings*): New variable to initialize dynamic
variables in worker threads.
(spawn-worker-thread, call-with-bindings): New helper functions.
(thread-for-evaluation): Use them.

Revision 1.273 - (view) (annotate) - [select for diffs]
Mon Jan 10 19:34:31 2005 UTC (9 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.272: +1 -1 lines
Diff to previous 1.272 , to selected 1.38
(inspect-for-emacs-list): LispWorks has a low args limit for apply:
use reduce instead of apply.

Revision 1.272 - (view) (annotate) - [select for diffs]
Thu Dec 16 21:16:50 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.271: +1 -1 lines
Diff to previous 1.271 , to selected 1.38
(frame-for-emacs): Print the frame number a little nicer with ~2D.

Revision 1.271 - (view) (annotate) - [select for diffs]
Wed Dec 15 22:30:56 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.270: +5 -6 lines
Diff to previous 1.270 , to selected 1.38
(slime-lisp-modes): New variable to make C-c C-k customizable and
usable in scheme-mode.
(slime-compile-file): Use it.

Revision 1.270 - (view) (annotate) - [select for diffs]
Thu Dec 9 20:43:20 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.269: +6 -0 lines
Diff to previous 1.269 , to selected 1.38
(*sldb-print-pretty*, *sldb-print-circle*, *sldb-print-length*)
(*sldb-print-level*, *sldb-print-lines*)
(*sldb-print-pprint-dispatch*): Export those symbols.

Revision 1.269 - (view) (annotate) - [select for diffs]
Sun Dec 5 21:06:52 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.268: +19 -19 lines
Diff to previous 1.268 , to selected 1.38
(eval-region): Use a simple loop.

Revision 1.268 - (view) (annotate) - [select for diffs]
Thu Dec 2 17:11:50 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.267: +9 -6 lines
Diff to previous 1.267 , to selected 1.38
(inspect-for-emacs (symbol)): Handle non-interned symbols.

Revision 1.267 - (view) (annotate) - [select for diffs]
Mon Nov 29 17:31:53 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.266: +1 -1 lines
Diff to previous 1.266 , to selected 1.38
(macro-indentation): Call clean-arglist.

Revision 1.266 - (view) (annotate) - [select for diffs]
Thu Nov 25 19:03:22 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.265: +41 -25 lines
Diff to previous 1.265 , to selected 1.38
(dispatch-loop): Catch errors and close the connection.  It's almost
impossible to run the debugger inside the control-thread, so let it
crash instead.  A backtrace would be nice, though.

(cleanup-connection-threads): Can know be called in the
control-thread.  Add a check to avoid thread suicide.

(arglist-to-string): Don't show &whole, &aux and &environment args.
(clean-arglist): New function.

(start-swank-server-in-thread): Fix the call to start-server.

Revision 1.265 - (view) (annotate) - [select for diffs]
Wed Nov 24 19:52:52 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.264: +26 -23 lines
Diff to previous 1.264 , to selected 1.38
(inspect-for-emacs-list): subseq on improper lists breaks in
Lispworks. Handle that case better.

Revision 1.264 - (view) (annotate) - [select for diffs]
Fri Nov 19 19:02:19 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.263: +54 -49 lines
Diff to previous 1.263 , to selected 1.38
(*coding-system*): New variable.
(start-server): Accept external-format as argument.
(create-server, create-swank-server, setup-server, serve-connection)
(open-dedicated-output-stream, create-connection): Ditto.

(defstruct connection): Add external-format slot.

(decode-message-length): Use function for new length encoding.
(decode-message): Use it.
(encode-message): Use new encoding.

Revision 1.263 - (view) (annotate) - [select for diffs]
Fri Nov 19 01:13:05 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.262: +10 -13 lines
Diff to previous 1.262 , to selected 1.38
(inspect-for-emacs array): Use row-major-aref instead of a displaced
array.  I that's the same.

(inspect-for-emacs integer): Ignore errors in decode-universal-time.
Negative values and in SBCL also small values cannot be decoded.

(list-threads): Include the thread-id. Useful for SLIME debugging.

Revision 1.262 - (view) (annotate) - [select for diffs]
Thu Nov 18 17:34:55 2004 UTC (9 years, 4 months ago) by mbaringer
Branch: MAIN
CVS Tags: MULTIBYTE-ENCODING
Changes since 1.261: +1 -1 lines
Diff to previous 1.261 , to selected 1.38
(inspect-for-emacs): Fix bug in handling of arrays with fill-pointers.

Revision 1.261 - (view) (annotate) - [select for diffs]
Mon Nov 15 22:48:39 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.260: +35 -30 lines
Diff to previous 1.260 , to selected 1.38
(defstruct connection): Add new slot: communication-style for
convenience.
(create-connection): Initialize the new slot.
(connection-info): Send the communication-style to Emacs.
(install-fd-handler, simple-serve-requests): Sending
:use-sigint-for-interrupt is no longer necessary.

(notify-backend-of-connection): Don't pass the output stream to the backend.

Revision 1.260 - (view) (annotate) - [select for diffs]
Tue Nov 9 10:27:13 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-1
Changes since 1.259: +7 -2 lines
Diff to previous 1.259 , to selected 1.38
(features-for-emacs): New function to avoid keyword/string confusion.
Case doesn't matter since Emacs will downcase them anyway.
(connection-info, sync-features-to-emacs): Use it.  Should fix
highlighting bug reported by Edi Weitz.

Revision 1.259 - (view) (annotate) - [select for diffs]
Sun Nov 7 15:07:00 2004 UTC (9 years, 5 months ago) by bdowning
Branch: MAIN
Changes since 1.258: +97 -84 lines
Diff to previous 1.258 , to selected 1.38
* slime.el (slime-fuzzy-explanation): Added line to describe
flags (:boundp, :fboundp, :macro, etc), which are now reported in
the fuzzy-completion output.
(slime-fuzzy-insert-completion-choice): Added flags.
(slime-fuzzy-choices-buffer): Added flags header.

* swank.lisp (fuzzy-completions): Changed docstring to describe
new flags in the completion results.
(convert-fuzzy-completion-result): New function to marshall the
results from the completion core into something Emacs is
expecting.  Added flags.
(fuzzy-completion-set): Use the above.
(compute-completion): Removed.
(score-completion): Cleaned up a little bit.
(highlight-completion): Use destructive nstring-upcase.

Revision 1.258 - (view) (annotate) - [select for diffs]
Mon Nov 1 17:15:55 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.257: +5 -5 lines
Diff to previous 1.257 , to selected 1.38
(assign-index): Avoid linear search.

Revision 1.257 - (view) (annotate) - [select for diffs]
Thu Oct 28 22:16:01 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.256: +1 -1 lines
Diff to previous 1.256 , to selected 1.38
(inspect-for-emacs[integer]): Fix control string.  Thanks to CSR for
pointing it out.

Revision 1.256 - (view) (annotate) - [select for diffs]
Thu Oct 28 21:21:53 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.255: +159 -182 lines
Diff to previous 1.255 , to selected 1.38
(*sldb-stepping-p*): New variable.  Used to tell emacs that the
debugger buffer should not be closed even if we unwind.
(debug-in-emacs): Use it.

(sldb-step): Moved to the front end.

(inspector-princ, method-specializers-for-inspect): Simplified.
(methods-by-applicability): Use a simpler algorithm. I doubt there is
much difference in practice.

(inspect-for-emacs)[symbol, function, standard-generic-function]
[standard-method]: Use less than 80 columns.

(inspector-call-nth-action): Don't accept &rest args.  Was never used.

Revision 1.255 - (view) (annotate) - [select for diffs]
Tue Oct 26 00:30:47 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.254: +28 -25 lines
Diff to previous 1.254 , to selected 1.38
(define-printer-variables): Handle doc strings properly.
(*sldb-pprint-dispatch*): Initialize it with the default dispatch
table.

Revision 1.254 - (view) (annotate) - [select for diffs]
Mon Oct 25 16:19:32 2004 UTC (9 years, 5 months ago) by mbaringer
Branch: MAIN
Changes since 1.253: +113 -29 lines
Diff to previous 1.253 , to selected 1.38
(inspect-for-emacs array): Properly deal with arrays without fill
pointers.
(inspect-for-emacs function): Show function-lambda-expression when
available.
(inspect-for-emacs generic-function): Order generic function's methods
and show abbreviated docs for methods.
(abbrev-doc): New function.
(methods-by-applicability): New function.
(*gf-method-getter*): New variable.

Revision 1.253 - (view) (annotate) - [select for diffs]
Tue Oct 19 06:14:17 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.252: +5 -9 lines
Diff to previous 1.252 , to selected 1.38
(define-printer-variables): Allow print-gensym, base and others.
(printer-variables sldb-print): Include print-gensym, pprint-dispatch,
base, radix, array, lines.

Revision 1.252 - (view) (annotate) - [select for diffs]
Tue Oct 19 05:57:29 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.251: +4 -3 lines
Diff to previous 1.251 , to selected 1.38
(define-printer-variables): NIL is not a valid docstring.  Reported by
Alain Picard.

Revision 1.251 - (view) (annotate) - [select for diffs]
Sun Oct 17 21:50:23 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.250: +2 -2 lines
Diff to previous 1.250 , to selected 1.38
(printer-variables sldb-print): Ooops. Better use sldb-print as prefix
than sldb alone.  *sldb-level* was already defined.

Revision 1.250 - (view) (annotate) - [select for diffs]
Sun Oct 17 18:10:03 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.249: +195 -188 lines
Diff to previous 1.249 , to selected 1.38
(*sldb-pprint-frames*): Renamed to *sldb-print-pretty*.

(*sldb-print-level*, *sldb-print-length*, *sldb-print-circle*)
(*sldb-print-readbly): Group of new variables to customize printing in
the debugger.  The default values should be safe.

(define-printer-variables, with-printer-settings): New macros to make
definig and binding groups printer variables easier.

(inspect-for-emacs-list): Rewritten. The old version had a bug with
circular lists, didn't include the position of the element, and always
showed the full list.  The new version only shows the first 40
elements.

(inspect-for-emacs): Minor cleanups.

(all-qualified-readnames): Removed. It was not needed because
common-lisp-indent-function strips of any package prefix and downcases
the symbol anyway.

Revision 1.249 - (view) (annotate) - [select for diffs]
Thu Oct 7 19:33:00 2004 UTC (9 years, 6 months ago) by pseibel
Branch: MAIN
Changes since 1.248: +5 -5 lines
Diff to previous 1.248 , to selected 1.38
Bind *debugger-hook* instead of setfing it when spawning threads.

Revision 1.248 - (view) (annotate) - [select for diffs]
Wed Oct 6 12:39:35 2004 UTC (9 years, 6 months ago) by mbaringer
Branch: MAIN
Changes since 1.247: +4 -7 lines
Diff to previous 1.247 , to selected 1.38
minor inspector cleanups

Revision 1.247 - (view) (annotate) - [select for diffs]
Wed Oct 6 08:59:02 2004 UTC (9 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.246: +15 -3 lines
Diff to previous 1.246 , to selected 1.38
(update-indentation/delta-for-emacs): Configure Emacs indentation
settings not just for the symbol name but for all package-qualified
forms of it as well.

Revision 1.246 - (view) (annotate) - [select for diffs]
Tue Oct 5 21:37:36 2004 UTC (9 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.245: +13 -8 lines
Diff to previous 1.245 , to selected 1.38
(arglist-for-echo-area): Handle errors and return a message.

(parse-symbol): Recognise an empty package name as the KEYWORD
package.

Revision 1.245 - (view) (annotate) - [select for diffs]
Fri Oct 1 12:02:29 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.244: +33 -19 lines
Diff to previous 1.244 , to selected 1.38
(parse-symbol): Don't use the reader because to avoid interning
unknown symbols.  The downside is that we no longer handle escaped
 |symbols| correctly.

Revision 1.244 - (view) (annotate) - [select for diffs]
Mon Sep 27 22:23:01 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.243: +27 -7 lines
Diff to previous 1.243 , to selected 1.38
(mop, mop-helper): Support functions for the class browser.  By Rui
Patrocínio.

Revision 1.243 - (view) (annotate) - [select for diffs]
Thu Sep 23 22:23:07 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.242: +7 -1 lines
Diff to previous 1.242 , to selected 1.38
(load-file-set-package): New function.

Revision 1.242 - (view) (annotate) - [select for diffs]
Thu Sep 23 21:30:30 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.241: +79 -90 lines
Diff to previous 1.241 , to selected 1.38
(frame-locals-for-emacs): Bind *print-pretty* to *sldb-pprint-frames*
to get more compact lines and bind *package* to frame-package to get
shorter labels for variables.

(format-values-for-echo-area): Include the hex and octal
representation for integers.

(apply-macro-expander, disassemble-symbol): Use the buffer-package for
reading.

(inspector-content-for-emacs): Use print-part-to-string so that we see
cycles in the data structure.
(inspect-for-emacs): Minor beatifications.

Revision 1.241 - (view) (annotate) - [select for diffs]
Sun Sep 19 07:57:54 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.240: +22 -13 lines
Diff to previous 1.240 , to selected 1.38
(interrupt-worker-thread): Interrupt the repl thread if there is no
other active thread.

Revision 1.240 - (view) (annotate) - [select for diffs]
Sun Sep 19 05:56:42 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.239: +19 -6 lines
Diff to previous 1.239 , to selected 1.38
(thread-for-evaluation): Restart the listener thread if it was dead
for some reason.

(debugger-condition-for-emacs): Include "extra" stuff.

(sldb-break): New entry function.

Revision 1.239 - (view) (annotate) - [select for diffs]
Fri Sep 17 12:52:11 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.238: +92 -34 lines
Diff to previous 1.238 , to selected 1.38
Don't print "Documentation:" if none is available; add support for
classes specializer-direct-methods; deal with eql-specializers in
methods.
(inspector-princ): New function.
(method-specializers-for-inspect): New function.
(method-for-inspect-value): New function.
(inspect-for-emacs): Use inspector-princ instead of princ-to-string.

Revision 1.238 - (view) (annotate) - [select for diffs]
Thu Sep 16 11:40:39 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.237: +7 -8 lines
Diff to previous 1.237 , to selected 1.38
It's -> Its

Revision 1.237 - (view) (annotate) - [select for diffs]
Wed Sep 15 17:29:39 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.236: +29 -16 lines
Diff to previous 1.236 , to selected 1.38
(inspect-for-emacs): Add function and compiler-macro
documentation when inspecting symbols. View the truename of
logical pathnames where they exist. Fix typos in package
inspector (fix by Torsten Poulin <torsten@diku.dk>).

Revision 1.236 - (view) (annotate) - [select for diffs]
Wed Sep 15 08:54:51 2004 UTC (9 years, 7 months ago) by lgorrie
Branch: MAIN
Changes since 1.235: +6 -1 lines
Diff to previous 1.235 , to selected 1.38
(cleanp-connection-threads): Kill all Swank threads for a connction
when it terminates.

Revision 1.235 - (view) (annotate) - [select for diffs]
Tue Sep 14 16:01:51 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.234: +59 -60 lines
Diff to previous 1.234 , to selected 1.38
2004-09-14  Marco Baringer  <mb@bese.it>

	* 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.

Revision 1.234 - (view) (annotate) - [select for diffs]
Tue Sep 14 11:57:06 2004 UTC (9 years, 7 months ago) by asimon
Branch: MAIN
Changes since 1.233: +1 -1 lines
Diff to previous 1.233 , to selected 1.38
(:newline) before the property list (now really!)

Revision 1.233 - (view) (annotate) - [select for diffs]
Tue Sep 14 11:41:55 2004 UTC (9 years, 7 months ago) by asimon
Branch: MAIN
Changes since 1.232: +1 -0 lines
Diff to previous 1.232 , to selected 1.38
(:newline) before the property list

Revision 1.232 - (view) (annotate) - [select for diffs]
Mon Sep 13 21:36:13 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.231: +8 -4 lines
Diff to previous 1.231 , to selected 1.38
(intern-catch-tag):  New function.
(read-user-input-from-emacs, take-input): Use it.

(define-special): Set the documentation for the 'variable not for the
'symbol.

Revision 1.231 - (view) (annotate) - [select for diffs]
Mon Sep 13 16:42:31 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.230: +129 -22 lines
Diff to previous 1.230 , to selected 1.38
2004-09-13  Marco Baringer  <mb@bese.it>

	* 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.

Revision 1.230 - (view) (annotate) - [select for diffs]
Mon Sep 13 00:14:47 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.229: +14 -7 lines
Diff to previous 1.229 , to selected 1.38
2004-09-13  Marco Baringer  <mb@bese.it>

	* swank.lisp (inspected-parts): Deal with unfinalized classes in
	standard-class inspector. (Patch from Thomas Schilling)

Revision 1.229 - (view) (annotate) - [select for diffs]
Sun Sep 12 23:56:39 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.228: +365 -64 lines
Diff to previous 1.228 , to selected 1.38
2004-09-13  Marco Baringer  <mb@bese.it>

	* 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.

Revision 1.228 - (view) (annotate) - [select for diffs]
Sun Sep 12 20:41:07 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.227: +2 -1 lines
Diff to previous 1.227 , to selected 1.38
(compile-file-for-emacs): Use with-buffer-syntax so that SBCL source
files can be compiled.

Revision 1.227 - (view) (annotate) - [select for diffs]
Fri Sep 3 21:12:00 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-0
Changes since 1.226: +0 -1 lines
Diff to previous 1.226 , to selected 1.38
Remove debugging code in comment.

Revision 1.226 - (view) (annotate) - [select for diffs]
Wed Sep 1 22:41:31 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.225: +1 -6 lines
Diff to previous 1.225 , to selected 1.38
(completion-set, tokenize-symbol-designator, tokenize-completion)
(fuzzy-completion-set, briefly-describe-symbol-for-emacs): Remove
simple-base-string declarations.

Revision 1.225 - (view) (annotate) - [select for diffs]
Mon Aug 30 22:24:41 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.224: +3 -1 lines
Diff to previous 1.224 , to selected 1.38
(send-to-socket-io): Add some ignore declarations.

Revision 1.224 - (view) (annotate) - [select for diffs]
Sat Aug 28 02:27:08 2004 UTC (9 years, 7 months ago) by pseibel
Branch: MAIN
Changes since 1.223: +2 -2 lines
Diff to previous 1.223 , to selected 1.38
Adding directory argument to swank-compile-string.

Revision 1.223 - (view) (annotate) - [select for diffs]
Sat Aug 21 01:37:26 2004 UTC (9 years, 7 months ago) by lgorrie
Branch: MAIN
Changes since 1.222: +10 -0 lines
Diff to previous 1.222 , to selected 1.38
(*global-debugger*): New configurable to globally install
swank-debugger-hook as *debugger-hook*. True by default.

Revision 1.222 - (view) (annotate) - [select for diffs]
Fri Aug 13 16:14:13 2004 UTC (9 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.221: +4 -3 lines
Diff to previous 1.221 , to selected 1.38
(variable-desc-for-echo-area): Bind some printer variables to limit
the length of the output.

Revision 1.221 - (view) (annotate) - [select for diffs]
Mon Aug 2 05:25:33 2004 UTC (9 years, 8 months ago) by lgorrie
Branch: MAIN
CVS Tags: SLIME-1-0-BETA
Changes since 1.220: +7 -3 lines
Diff to previous 1.220 , to selected 1.38
(with-buffer-syntax): Don't bind *readtable* to *buffer-readtable* if
they are already EQ. When we shadow this binding the user can't assign
*readtable* from the REPL so it's best avoided when possible.

Revision 1.220 - (view) (annotate) - [select for diffs]
Thu Jul 22 16:54:22 2004 UTC (9 years, 8 months ago) by lgorrie
Branch: MAIN
Changes since 1.219: +3 -1 lines
Diff to previous 1.219 , to selected 1.38
(carefully-find-package): Return *BUFFER-PACKAGE* if no other package
can be found. This is reverting a previous change that broke
completion in buffers with no known package.

Revision 1.219 - (view) (annotate) - [select for diffs]
Wed Jul 21 12:31:04 2004 UTC (9 years, 8 months ago) by lgorrie
Branch: MAIN
Changes since 1.218: +1 -0 lines
Diff to previous 1.218 , to selected 1.38
Added a FIXME comment about unwanted interning in symbol lookup.
Does bad things to completion of internal symbols like FOO::BAR.

Revision 1.218 - (view) (annotate) - [select for diffs]
Mon Jul 19 14:09:40 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.217: +176 -176 lines
Diff to previous 1.217 , to selected 1.38
Moved the Evaluation section up above the Debugging section.

Revision 1.217 - (view) (annotate) - [select for diffs]
Sat Jul 17 02:26:02 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.216: +15 -8 lines
Diff to previous 1.216 , to selected 1.38
(variable-desc-for-echo-area): New function.

(arglist-for-echo-area): Return nil if symbol can't be found.

(close-connection): Close connection before printing error
message. This avoids it getting lost in closed I/O redirection.

Revision 1.216 - (view) (annotate) - [select for diffs]
Fri Jul 16 21:38:48 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.215: +12 -13 lines
Diff to previous 1.215 , to selected 1.38
(known-to-emacs-p): Removed filtering of def* and with-*. Now handled
by Emacs.

Revision 1.215 - (view) (annotate) - [select for diffs]
Fri Jul 16 18:12:41 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.214: +6 -1 lines
Diff to previous 1.214 , to selected 1.38
(print-connection): print-function for connection objects. Dumping the
indentation-cache was damned ugly with non-truncated lines (e.g. bug
reports on slime-devel).

Revision 1.214 - (view) (annotate) - [select for diffs]
Thu Jul 15 05:02:32 2004 UTC (9 years, 9 months ago) by pseibel
Branch: MAIN
Changes since 1.213: +1 -1 lines
Diff to previous 1.213 , to selected 1.38
Trying to restore sanity to SLIME's notion of the lisp package.

Revision 1.213 - (view) (annotate) - [select for diffs]
Tue Jul 13 18:14:03 2004 UTC (9 years, 9 months ago) by crhodes
Branch: MAIN
Changes since 1.212: +1 -0 lines
Diff to previous 1.212 , to selected 1.38
Implement actionable references in *slime-compiler-notes*.  Tested with
sbcl-0.8.12 and sbcl CVS head -- I hope I haven't broken things for
non-SBCL users...

(There are some things in this that I think are suboptimal: they have
been marked with FIXMEs.  I lack elispfu in sufficient measure to clean
them up confidently)

Revision 1.212 - (view) (annotate) - [select for diffs]
Mon Jul 12 10:35:22 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.211: +338 -314 lines
Diff to previous 1.211 , to selected 1.38
Added some docstrings.

Rearranged completion code and somewhat SLDB trying to layout
functions above their subfunctions in a tree-like way.

(slime-protocol-error): Renamed from slime-read-error.

(carefully-find-package): Now returns NIL if package can't be
determined, rather than *BUFFER-PACKAGE*. Correct? I didn't see why it
should return *BUFFER-PACKAGE*.

(xref): Find symbol in *BUFFER-PACKAGE*.

Revision 1.211 - (view) (annotate) - [select for diffs]
Fri Jul 9 18:09:18 2004 UTC (9 years, 9 months ago) by pseibel
Branch: MAIN
Changes since 1.210: +30 -6 lines
Diff to previous 1.210 , to selected 1.38
Changing computation of package name used in REPL prompt.

Revision 1.210 - (view) (annotate) - [select for diffs]
Wed Jul 7 15:09:33 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.209: +1 -1 lines
Diff to previous 1.209 , to selected 1.38
From Thomas Schilling:
(arglist-for-insertion): Changed formatting to use
arglist-to-string. That results in proper cases for
slime-insert-arglist.

Revision 1.209 - (view) (annotate) - [select for diffs]
Sun Jul 4 03:21:43 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.208: +1 -0 lines
Diff to previous 1.208 , to selected 1.38
Added a new backend function `buffer-first-change' which is called via
Emacs's `first-change-hook' in slime-mode buffers. This gives Lisp a
chance to do something with source files before you change them on
disk.

Revision 1.208 - (view) (annotate) - [select for diffs]
Sun Jul 4 00:20:36 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.207: +1 -0 lines
Diff to previous 1.207 , to selected 1.38
(open-streams): Call make-stream-interactive on the redirected io
streams.

Revision 1.207 - (view) (annotate) - [select for diffs]
Wed Jun 30 21:06:38 2004 UTC (9 years, 9 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-0-ALPHA
Changes since 1.206: +54 -74 lines
Diff to previous 1.206 , to selected 1.38
Minor cleanups.
(find-symbol-designator, find-symbol-or-lose, case-convert-input):
Deleted.  Replaced with calls to parse-symbol{-or-lose}.

Revision 1.206 - (view) (annotate) - [select for diffs]
Tue Jun 29 17:46:58 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.205: +2 -1 lines
Diff to previous 1.205 , to selected 1.38
(open-streams): Renamed the restart around reads from the user-input
stream from ABORT to ABORT-READ. Invoking this restart seems kinda
dangerous, so better for 'a' in SLDB not to do so.

Revision 1.205 - (view) (annotate) - [select for diffs]
Tue Jun 29 08:12:44 2004 UTC (9 years, 9 months ago) by mbaringer
Branch: MAIN
Changes since 1.204: +2 -2 lines
Diff to previous 1.204 , to selected 1.38
2004-06-28  Thomas F. Burdick  <tfb@OCF.Berkeley.EDU>
	* swank.lisp (inspector-nth-part):
	* slime.el (slime-inspector-copy-down, slime-inspector-mode-map):
	Added copy-down command (M-RET) to easily move an object from the
	inspector to the repl.

Revision 1.204 - (view) (annotate) - [select for diffs]
Sun Jun 27 14:58:51 2004 UTC (9 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.203: +48 -84 lines
Diff to previous 1.203 , to selected 1.38
(dispatch-event): Quitting a from the debugger was seriously broken.
Fix it.  Move generation of thread ids to the backends.

Revision 1.203 - (view) (annotate) - [select for diffs]
Fri Jun 25 08:06:39 2004 UTC (9 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.202: +23 -17 lines
Diff to previous 1.202 , to selected 1.38
(inspect-frame-var): New function.

Revision 1.202 - (view) (annotate) - [select for diffs]
Tue Jun 22 08:02:15 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.201: +346 -6 lines
Diff to previous 1.201 , to selected 1.38
Added "fuzzy completion" by Brian Downing.

Revision 1.201 - (view) (annotate) - [select for diffs]
Tue Jun 22 06:24:48 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.200: +3 -0 lines
Diff to previous 1.200 , to selected 1.38
Use `unbound-slot-filler' for unbound inspector slots.

Revision 1.200 - (view) (annotate) - [select for diffs]
Tue Jun 22 05:52:47 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.199: +5 -6 lines
Diff to previous 1.199 , to selected 1.38
(prefixed-var): Intern *REAL-STANDARD-INPUT* etc in the SWANK package
instead of the COMMON-LISP package.

Revision 1.199 - (view) (annotate) - [select for diffs]
Mon Jun 21 07:29:18 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.198: +2 -2 lines
Diff to previous 1.198 , to selected 1.38
Doc fix.

Revision 1.198 - (view) (annotate) - [select for diffs]
Mon Jun 21 06:26:13 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.197: +1 -1 lines
Diff to previous 1.197 , to selected 1.38
Pass user-io to `emacs-connected', not socket-io.

Revision 1.197 - (view) (annotate) - [select for diffs]
Mon Jun 21 06:12:04 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.196: +177 -6 lines
Diff to previous 1.196 , to selected 1.38
(add-hook, run-hook): Moved the hook mechanism and all hooks here
(from swank-backend.lisp). There is no compelling use for backends
yet, I want to pass swank.lisp-internal data structures in the
existing hooks.

(notify-backend-of-connection): Call `emacs-connected' with the
socket-io stream for its argument. Should fix previous breakage where
the connection structure was passed instead.

(*globally-redirect-io*): New configurable: when true the standard
streams are globally redirected to Emacs. That way even
e.g. SERVE-EVENT handlers will print to Emacs. Currently does not
handle standard input -- that is trickier since the Lisp's native REPL
can be trying to read from that.

Revision 1.196 - (view) (annotate) - [select for diffs]
Sun Jun 20 21:33:05 2004 UTC (9 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.195: +4 -3 lines
Diff to previous 1.195 , to selected 1.38
(parse-symbol): Allow strings and symbols as package designators.

Revision 1.195 - (view) (annotate) - [select for diffs]
Sun Jun 20 13:55:16 2004 UTC (9 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.194: +36 -32 lines
Diff to previous 1.194 , to selected 1.38
(guess-buffer-package): Don't signal a continuable error if the
package doesn't exists; that's too annoying.

Revision 1.194 - (view) (annotate) - [select for diffs]
Sun Jun 20 05:47:32 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.193: +213 -202 lines
Diff to previous 1.193 , to selected 1.38
Added some comments and docstrings.

(changelog-date): Removed unneeded function.
(connection-info): No more version field in result.
(package-external-symbols): Removed unused function.
(serve-connection): Call *new-connection-hook*.
(eval-for-emacs): Call *pre-reply-hook*.
(sync-features-to-emacs, sync-indentation-to-emacs): Added to
*pre-reply-hook*.
(cl-package, keyword-package): Now defconstant instead of
defvar. Removed the *'s accordingly.

Revision 1.193 - (view) (annotate) - [select for diffs]
Sat Jun 19 21:07:41 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.192: +2 -2 lines
Diff to previous 1.192 , to selected 1.38
(known-to-emacs-p): Bugfix. Indentation-updates was broken.

Revision 1.192 - (view) (annotate) - [select for diffs]
Wed Jun 16 22:04:09 2004 UTC (9 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.191: +1 -2 lines
Diff to previous 1.191 , to selected 1.38
(emacs-connected): Pass the redirected stream as argument, so that the
OpenMCL backend can add it to CCL::*AUTO-FLUSH-STREAMS*.

Revision 1.191 - (view) (annotate) - [select for diffs]
Wed Jun 16 20:26:58 2004 UTC (9 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.190: +16 -2 lines
Diff to previous 1.190 , to selected 1.38
(*readtable-alist*): Call backend function for initialization.

(eval-for-emacs, guess-buffer-package): Signal a continuable error if
a package name was supplied but no such package exists.  Not sure if
this is better than what we did before (i.e. silently use the current
package).

Revision 1.190 - (view) (annotate) - [select for diffs]
Sat Jun 12 12:21:13 2004 UTC (9 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.189: +8 -5 lines
Diff to previous 1.189 , to selected 1.38
(parse-symbol, parse-package): Handle reader errors.

Revision 1.189 - (view) (annotate) - [select for diffs]
Thu Jun 10 17:51:33 2004 UTC (9 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.188: +177 -110 lines
Diff to previous 1.188 , to selected 1.38
(*readtable-alist*): New configurable.  The keys are package name and
the values readtables.  The readtable will be used to READ code
originating from Emacs buffers in the associated slime-buffer-package.

(drop-thread): Simplified.

(*buffer-readtable*): New variable.

(with-buffer-syntax): New macro.  This should be used for code which
needs to read or prints expressions with reader and printer variables,
in particular *package* and *readtable*, suitable for the Emacs
buffer.

(to-string, format-values-for-echo-area, interactive-eval)
(eval-region, interactive-eval-region, re-evaluate-defvar)
(swank-pprint, pprint-eval, listener-eval, compile-string-for-emacs)
(disassemble-symbol, describe-to-string, describe-symbol)
(describe-function, describe-definition-for-emacs)
(documentation-symbol, init-inspector, inspect-nth-part)
(inspector-pop, inspector-next, describe-inspecte)
(inspect-current-condition): Use it.

(parse-string): Renamed from symbol-from-string.  Make it case
insensitive.

(parse-package): New function.

(eval-for-emacs): Initialize the *buffer-readtable*.

(symbol-indentation): Don't consider symbols in the CL package.  Emacs
already knows how to indent them.

(compile-file-if-needed): Used for REPL shortcut 'compile-and-load'.

Revision 1.188 - (view) (annotate) - [select for diffs]
Tue Jun 8 23:57:57 2004 UTC (9 years, 10 months ago) by lgorrie
Branch: MAIN
Changes since 1.187: +3 -2 lines
Diff to previous 1.187 , to selected 1.38
(debugger-condition-for-emacs): Call new backend functions to add a
`references' list for Emacs.

Revision 1.187 - (view) (annotate) - [select for diffs]
Mon Jun 7 18:27:30 2004 UTC (9 years, 10 months ago) by lgorrie
Branch: MAIN
CVS Tags: SLIME-0-14
Changes since 1.186: +3 -1 lines
Diff to previous 1.186 , to selected 1.38
Wrap EXPORT calls in EVAL-WHEN. Fixes many warnings in ACL.

Revision 1.186 - (view) (annotate) - [select for diffs]
Mon May 10 13:49:22 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.185: +18 -10 lines
Diff to previous 1.185 , to selected 1.38
(from-string): Bind *READ-SUPPRESS* to NIL.

(swank-compiler): Bind a restart to abort compilation but still report
the compiler messages already trapped.

(string-to-package-designator): Function that uses READ to
case-convert package names.

(apropos-list-for-emacs): Use it.

Revision 1.185 - (view) (annotate) - [select for diffs]
Fri May 7 21:10:38 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.184: +2 -1 lines
Diff to previous 1.184 , to selected 1.38
(prin1-to-string-for-emacs): CVS CLISP prints NIL as
|COMMON-LISP|::|NIL| if *print-readably* is true.  Set
*print-readably* to nil for a more Emacs friendly printer syntax.
(arglist-to-string): Ditto.

Revision 1.184 - (view) (annotate) - [select for diffs]
Tue May 4 08:13:19 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.183: +0 -2 lines
Diff to previous 1.183 , to selected 1.38
Remove (declaim (optimize ...)). The side-effect this has on people's
environment seems harmful (I saw someone having trouble on the OpenMCL
list).

Revision 1.183 - (view) (annotate) - [select for diffs]
Fri Apr 30 23:20:05 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.182: +1 -0 lines
Diff to previous 1.182 , to selected 1.38
(list-all-systems-in-central-registry): Use explicit :wild in pathname
for matching (needed in at least SBCL).

Revision 1.182 - (view) (annotate) - [select for diffs]
Fri Apr 30 07:28:23 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.181: +3 -3 lines
Diff to previous 1.181 , to selected 1.38
(symbol-indentation): Oops.  Consider symbols other then 'defmethod'
and use prefix-match-p.

Revision 1.181 - (view) (annotate) - [select for diffs]
Fri Apr 30 06:34:03 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.180: +4 -1 lines
Diff to previous 1.180 , to selected 1.38
(symbol-indentation): Don't infer indentation for symbols starting
with 'def' or 'with-' it's wrong most of the time and Emacs' defaults
are better.

Revision 1.180 - (view) (annotate) - [select for diffs]
Thu Apr 29 19:05:28 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.179: +76 -87 lines
Diff to previous 1.179 , to selected 1.38
(thread-for-evaluation, dispatch-event): Accept :repl-thread as thread
specifier and dispatch evaluation and interrupt request properly.

(repl-thread-eval, repl-eval): Deleted. We do the special casing in
thread-for-evaluation.

Revision 1.179 - (view) (annotate) - [select for diffs]
Wed Apr 28 22:18:06 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-13
Changes since 1.178: +2 -2 lines
Diff to previous 1.178 , to selected 1.38
(arglist-for-insertion): Don't use ~< ..~:@>.  CLISP's pretty printer
can't handle it.

Revision 1.178 - (view) (annotate) - [select for diffs]
Tue Apr 27 22:27:27 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-12
Changes since 1.177: +27 -11 lines
Diff to previous 1.177 , to selected 1.38
(create-server): New keyword based variant to start the server in
background.

(setup-server): Add support to keep the socket open for single-threaded
Lisps.

Revision 1.177 - (view) (annotate) - [select for diffs]
Tue Apr 27 21:24:14 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.176: +2 -9 lines
Diff to previous 1.176 , to selected 1.38
(oneway-eval-string): Removed unused function.

Revision 1.176 - (view) (annotate) - [select for diffs]
Tue Apr 27 17:47:09 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.175: +3 -3 lines
Diff to previous 1.175 , to selected 1.38
(oneway-eval-string): Bind *package* to *buffer-package*.

Revision 1.175 - (view) (annotate) - [select for diffs]
Mon Apr 26 21:59:25 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.174: +3 -1 lines
Diff to previous 1.174 , to selected 1.38
(interactive-eval): Bind *package* to *buffer-package*, so that `C-x
C-e' and related commands evaluate in the expected package.

Revision 1.174 - (view) (annotate) - [select for diffs]
Mon Apr 26 18:38:39 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.173: +7 -7 lines
Diff to previous 1.173 , to selected 1.38
Move definition of `with-io-redirection' above `with-connection' to
avoid a CLISP error. This is really weird.

Revision 1.173 - (view) (annotate) - [select for diffs]
Mon Apr 26 13:20:13 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.172: +54 -7 lines
Diff to previous 1.172 , to selected 1.38
(ed-in-emacs): Avoid mutating the argument.

(spawn-repl-thread): Add a new thread for evaluating REPL
expressions. This same thread is used for all REPL evaluation. This
fixes some issues with variables like * and ** in at least SBCL.

Revision 1.172 - (view) (annotate) - [select for diffs]
Sun Apr 25 06:41:21 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.171: +66 -61 lines
Diff to previous 1.171 , to selected 1.38
(arglist-for-echo-area): Simplified and adapted for the new semantic of
ARGLIST.
(arglist-for-insertion): New separate function.
(read-arglist): Deleted. No longer needed.

Revision 1.171 - (view) (annotate) - [select for diffs]
Thu Apr 22 21:37:50 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.170: +18 -2 lines
Diff to previous 1.170 , to selected 1.38
(list-all-systems-in-central-registry, asdf-central-registry): New functions.

Revision 1.170 - (view) (annotate) - [select for diffs]
Wed Apr 21 21:51:23 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.169: +8 -5 lines
Diff to previous 1.169 , to selected 1.38
(arglist-for-echo-area): New argument to control if the operator name
should be included.

Revision 1.169 - (view) (annotate) - [select for diffs]
Wed Apr 21 18:56:42 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.168: +30 -8 lines
Diff to previous 1.168 , to selected 1.38
Support for regexp based apropos.  From Edi Weitz.

Revision 1.168 - (view) (annotate) - [select for diffs]
Tue Apr 20 22:32:05 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.167: +7 -3 lines
Diff to previous 1.167 , to selected 1.38
(list-all-package-names): Optionally include nicknames in the
result (From Edi Weitz).

Revision 1.167 - (view) (annotate) - [select for diffs]
Wed Apr 14 18:50:25 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.166: +3 -2 lines
Diff to previous 1.166 , to selected 1.38
(operate-on-system-for-emacs): More generic interface to ASDF.

Revision 1.166 - (view) (annotate) - [select for diffs]
Thu Apr 8 15:26:44 2004 UTC (10 years ago) by mbaringer
Branch: MAIN
Changes since 1.165: +6 -43 lines
Diff to previous 1.165 , to selected 1.38
REPL Shortcuts. See ChangeLog entry 2004-04-08  Marco Baringer

Revision 1.165 - (view) (annotate) - [select for diffs]
Wed Apr 7 16:24:03 2004 UTC (10 years ago) by pseibel
Branch: MAIN
Changes since 1.164: +8 -0 lines
Diff to previous 1.164 , to selected 1.38
Adding swank versions of two missing pretty-printer control variables.

Revision 1.164 - (view) (annotate) - [select for diffs]
Wed Apr 7 10:20:40 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.163: +3 -3 lines
Diff to previous 1.163 , to selected 1.38
*** empty log message ***

Revision 1.163 - (view) (annotate) - [select for diffs]
Wed Apr 7 10:06:13 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.162: +4 -2 lines
Diff to previous 1.162 , to selected 1.38
(find-matching-packages): Add a ":" to the end of package names in
completion.

Revision 1.162 - (view) (annotate) - [select for diffs]
Wed Apr 7 09:53:25 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.161: +11 -1 lines
Diff to previous 1.161 , to selected 1.38
(completion-set): Also complete package names.
(Patch from Sean O'Rourke.)

Revision 1.161 - (view) (annotate) - [select for diffs]
Tue Apr 6 10:42:53 2004 UTC (10 years ago) by mbaringer
Branch: MAIN
Changes since 1.160: +43 -0 lines
Diff to previous 1.160 , to selected 1.38
See ChangeLog entry 2004-04-06  Marco Baringer

Revision 1.160 - (view) (annotate) - [select for diffs]
Tue Apr 6 07:46:00 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.159: +11 -2 lines
Diff to previous 1.159 , to selected 1.38
(macro-indentation): Check that the arglist is well-formed. This works
around a problem with ACL returning arglists that aren't real
lambda-lists.

Revision 1.159 - (view) (annotate) - [select for diffs]
Mon Apr 5 07:44:02 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.158: +1 -1 lines
Diff to previous 1.158 , to selected 1.38
dispatch-event fix for :indentation-update.

Revision 1.158 - (view) (annotate) - [select for diffs]
Mon Apr 5 06:27:35 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.157: +4 -4 lines
Diff to previous 1.157 , to selected 1.38
(*swank-pprint-circle*, *swank-pprint-escape*, *swank-pprint-level*,
*swank,pprint-length*): Fix typo in docstring.

Revision 1.157 - (view) (annotate) - [select for diffs]
Mon Apr 5 06:18:43 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.156: +165 -22 lines
Diff to previous 1.156 , to selected 1.38
(connection): Added slots to track indentation caching.

(*connections*): List of all open connections.  (default-connection):
Function to get a "default" connection. This is intended to support
globally using the debugger hook outside the context of a SLIME
request, which is broken at present.

(with-connection): Don't setup a restart: that must be done
separately.

(sync-state-to-emacs): Call `update-connection-indentation'.

(update-connection-indentation): Automatically discover how to indent
macros and tell Emacs.

Revision 1.156 - (view) (annotate) - [select for diffs]
Tue Mar 30 23:08:31 2004 UTC (10 years ago) by heller
Branch: MAIN
Changes since 1.155: +10 -5 lines
Diff to previous 1.155 , to selected 1.38
(ed-in-emacs): New allowed form for argument.

(pprint-eval-string-in-frame): Apply arguments in proper order.

Revision 1.155 - (view) (annotate) - [select for diffs]
Sat Mar 27 21:14:52 2004 UTC (10 years ago) by heller
Branch: MAIN
Changes since 1.154: +11 -10 lines
Diff to previous 1.154 , to selected 1.38
(*log-io*): New variable.  Bind it to *terminal-io* at load-time, so
we can log to a non-redirected stream.

(disassemble-symbol): Allow generalized function names.

(apropos-symbols): Handle the PACKAGE argument properly to get useful
output for C-c P.

Revision 1.154 - (view) (annotate) - [select for diffs]
Fri Mar 26 13:24:48 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.153: +1 -0 lines
Diff to previous 1.153 , to selected 1.38
(print-arglist): Updated to handle arglists with string elements,
causing arglists for macros to display properly in LW 4.1.

Revision 1.153 - (view) (annotate) - [select for diffs]
Tue Mar 23 21:23:09 2004 UTC (10 years ago) by heller
Branch: MAIN
Changes since 1.152: +74 -72 lines
Diff to previous 1.152 , to selected 1.38
(open-streams, make-output-function): Capture the connection not only
the socket.  This was the streams can be used from unrelated threads.
(create-connection): Factorized.  Initialize the streams after the
connection is created.
(initialize-streams-for-connection, spawn-threads-for-connection): New
functions.

(with-connection): Fix quoting bug and move upwards before first use.

(send-output-to-emacs): Add kludge for SBCL !-package names.

(apropos-list-for-emacs): Lispworks apparently returns duplicates;
remove them.

(inspect-object): Princ the label to allow strings and symbols.

(send-output-to-emacs): Deleted.
(defslimefun-unimplemented): Deleted.  Was unused.

Revision 1.152 - (view) (annotate) - [select for diffs]
Mon Mar 22 13:56:39 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.151: +9 -5 lines
Diff to previous 1.151 , to selected 1.38
(*communication-style*): New name for *swank-in-background*.

Exported configuration variables: *communication-style*, *log-events*,
*use-dedicated-output-stream*.

Revision 1.151 - (view) (annotate) - [select for diffs]
Fri Mar 19 21:07:35 2004 UTC (10 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.150: +1 -0 lines
Diff to previous 1.150 , to selected 1.38
Take into account `pathname-device' when deriving paths. A fix for
Windows.

Revision 1.150 - (view) (annotate) - [select for diffs]
Thu Mar 18 21:57:14 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.149: +13 -11 lines
Diff to previous 1.149 , to selected 1.38
(format-values-for-echo-area): Bind *package* to *buffer-package*.

(load-system-for-emacs): Renamed from swank-load-system.

(carefully-find-package): Be friendly to case inverting readtables.

(inspect-current-condition): New function.

Revision 1.149 - (view) (annotate) - [select for diffs]
Tue Mar 16 21:17:10 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.148: +104 -48 lines
Diff to previous 1.148 , to selected 1.38
Better symbol completion for case-inverting readtables.
(output-case-converter): New function.
(find-matching-symbols): Case convert the symbol-name before comparing.
(compound-prefix-match, prefix-match-p): Use char= instead of char-equal.

(eval-for-emacs): Renamed from eval-string.  Take a form instead of a string.
(dispatch-event, read-from-socket-io): Update callers.

(eval-region, interactive-eval): Use fresh-line to reset column.

(case-convert-input): Renamed from case-convert.

Revision 1.148 - (view) (annotate) - [select for diffs]
Sat Mar 13 15:34:58 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.147: +26 -10 lines
Diff to previous 1.147 , to selected 1.38
(arglist-for-echo-area): Renamed from arglist-string.
(format-arglist-for-echo-area, arglist-to-string): New functions.

Revision 1.147 - (view) (annotate) - [select for diffs]
Fri Mar 12 21:11:57 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.146: +49 -30 lines
Diff to previous 1.146 , to selected 1.38
(sldb-return-from-frame): Convert the string to a sexp.
(dispatch-event, send-to-socket-io): Allow %apply events.

(safe-condition-message): Bind *pretty-print* to t.

(set-default-directory): Use the truename.

(find-definitions-for-emacs): Allow names like (setf car).

Revision 1.146 - (view) (annotate) - [select for diffs]
Fri Mar 12 05:35:35 2004 UTC (10 years, 1 month ago) by wjenkner
Branch: MAIN
Changes since 1.145: +3 -1 lines
Diff to previous 1.145 , to selected 1.38
(:swank): Export startup-multiprocessing, restart-frame,
return-from-frame.  What about kill-thread and interrupt-thread, which
are accessed as internal symbols?

Revision 1.145 - (view) (annotate) - [select for diffs]
Wed Mar 10 17:10:38 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.144: +0 -3 lines
Diff to previous 1.144 , to selected 1.38
*** empty log message ***

Revision 1.144 - (view) (annotate) - [select for diffs]
Wed Mar 10 17:10:12 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.143: +4 -1 lines
Diff to previous 1.143 , to selected 1.38
Fix test.

Revision 1.143 - (view) (annotate) - [select for diffs]
Wed Mar 10 15:49:34 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.142: +18 -17 lines
Diff to previous 1.142 , to selected 1.38
(print-arglist): Use with-standard-io-syntax to avoid further surprises.

Revision 1.142 - (view) (annotate) - [select for diffs]
Wed Mar 10 15:45:10 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.141: +8 -3 lines
Diff to previous 1.141 , to selected 1.38
(:swank): export profile symbols (profiled-functions, profile-report,
profile-reset, unprofile-all, profile-package).

Revision 1.141 - (view) (annotate) - [select for diffs]
Wed Mar 10 08:23:19 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.140: +16 -21 lines
Diff to previous 1.140 , to selected 1.38
(print-arglist): Bind *pretty-circle* to nil to avoid output like
"(function . (cons))" for (function cons).
(test-print-arglist): Re-enable the tests

(find-definitions-for-emacs): Renamed from find-function-locations.

Revision 1.140 - (view) (annotate) - [select for diffs]
Tue Mar 9 20:41:45 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.139: +2 -2 lines
Diff to previous 1.139 , to selected 1.38
Disable print-arglist tests.

Revision 1.139 - (view) (annotate) - [select for diffs]
Tue Mar 9 19:33:18 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.138: +6 -0 lines
Diff to previous 1.138 , to selected 1.38
Merge remaining stuff.

Revision 1.137.2.2 - (view) (annotate) - [select for diffs]
Tue Mar 9 18:47:59 2004 UTC (10 years, 1 month ago) by heller
Branch: package-split
Changes since 1.137.2.1: +6 -0 lines
Diff to previous 1.137.2.1 , to branch point 1.137 , to next main 1.805 , to selected 1.38
(frame-source-location-for-emacs): Export it. Reported by Jouni K Seppanen

Revision 1.138 - (view) (annotate) - [select for diffs]
Tue Mar 9 12:46:27 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.137: +182 -73 lines
Diff to previous 1.137 , to selected 1.38
Merge package-split branch into main trunk.

Revision 1.137.2.1 - (view) (annotate) - [select for diffs]
Tue Mar 9 08:46:50 2004 UTC (10 years, 1 month ago) by heller
Branch: package-split
Changes since 1.137: +182 -73 lines
Diff to previous 1.137 , to selected 1.38
(:swank): Create the package here.

(*swank-in-background*): Call the backend function
preferred-communication-style to for the initial value.

(find-symbol-designator): Handle NIL properly.

(arglist-string): Renamed from format-arglist.  Call backend function
directly.

(*sldb-restarts*, swank-debugger-hook, format-restarts-for-emacs)
(nth-restart, invoke-nth-restart, sldb-abort):  Handle restarts in the
front end.

(frame-for-emacs): Renamed from print-with-frame-label.

(backtrace, debugger-info-for-emacs, pprint-eval-string-in-frame)
(set-default-directory): Now in the front end.

(frame-locals-for-emacs): Use print not princ for variable names.

(compile-file-for-emacs, compile-string-for-emacs): Small wrappers
around backend functions.

(describe-definition-for-emacs): Handle unknown symbols before calling
the backend.

(find-function-locations): Wrapper for new backend function
find-definitions.

(group-xrefs, partition, location-valid-p, xref-buffer, xref): Updated
for the new backend functions.

Revision 1.137 - (view) (annotate) - [select for diffs]
Fri Mar 5 22:51:12 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-11
Branch point for: package-split
Changes since 1.136: +8 -9 lines
Diff to previous 1.136 , to selected 1.38
(frame-locals-for-emacs): Bind *print-readably* to nil.

Revision 1.136 - (view) (annotate) - [select for diffs]
Fri Mar 5 14:26:14 2004 UTC (10 years, 1 month ago) by mbaringer
Branch: MAIN
Changes since 1.135: +11 -0 lines
Diff to previous 1.135 , to selected 1.38
See ChangeLog entry 2004-03-05 Marco Baringer

Revision 1.135 - (view) (annotate) - [select for diffs]
Thu Mar 4 22:12:44 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.134: +59 -6 lines
Diff to previous 1.134 , to selected 1.38
(remove-dead-threads): New function.
(lookup-thread): Use it.

(print-arglist): New function. This time without binding pretty
dispatch table.
(format-arglist): Use it.

(inspected-parts): Add method for hash-tables.

Revision 1.134 - (view) (annotate) - [select for diffs]
Wed Mar 3 20:52:40 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.133: +67 -67 lines
Diff to previous 1.133 , to selected 1.38
Use *emacs-connection*, *active-threads*, and *thread-counter* as
thread local dynamic variables.
(init-emacs-connection): Don't set *emacs-connection*.
(create-connection, dispatch-event): Pass the connection object to
newly created threads.
(with-connection): New macro
(handle-request, install-fd-handler, debug-thread): Use it.

Revision 1.133 - (view) (annotate) - [select for diffs]
Wed Mar 3 08:51:24 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.132: +15 -9 lines
Diff to previous 1.132 , to selected 1.38
(setup-server, serve-connection): New dont-close argument to keep the
socket open after the first request.
(start-server, create-swank-server): Update callers.

Revision 1.132 - (view) (annotate) - [select for diffs]
Wed Mar 3 07:18:02 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.131: +14 -8 lines
Diff to previous 1.131 , to selected 1.38
(find-completions): Deleted.
(simple-completions): Use longest-common-prefix instead of
longest-completion.

(inspect-in-frame): Moved here from swank-cmucl.lisp.

Revision 1.131 - (view) (annotate) - [select for diffs]
Mon Mar 1 15:46:27 2004 UTC (10 years, 1 month ago) by mbaringer
Branch: MAIN
Changes since 1.130: +6 -4 lines
Diff to previous 1.130 , to selected 1.38
See ChangeLog entry Marco Baringer 2004-03-01

Revision 1.130 - (view) (annotate) - [select for diffs]
Sun Feb 29 08:59:28 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.129: +60 -66 lines
Diff to previous 1.129 , to selected 1.38
(format-arglist): Don't use custom pprint table.  Didn't work with
CLISP and the behavior was different in SBCL and Lispworks.

(completions): Factorize.
(parse-completion-arguments, format-completion-set,
(completion-set, find-matching-symbols, find-completions): New functions.
(simple-completions): New function.
(prefix-match-p) New function.

Revision 1.129 - (view) (annotate) - [select for diffs]
Sat Feb 28 09:06:50 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.128: +5 -7 lines
Diff to previous 1.128 , to selected 1.38
(*initial-pprint-dispatch-table*, *arglist-pprint-dispatch-table*):
Workaround for bug in CLISP. Don't supply nil as argument to
copy-pprint-dispatch.

(print-cons-argument): Insert a space after the car.

Revision 1.128 - (view) (annotate) - [select for diffs]
Fri Feb 27 12:32:06 2004 UTC (10 years, 1 month ago) by mbaringer
Branch: MAIN
Changes since 1.127: +28 -2 lines
Diff to previous 1.127 , to selected 1.38
See ChangeLog entry "2004-02-27 Macro Baringer"

Revision 1.127 - (view) (annotate) - [select for diffs]
Thu Feb 26 07:13:01 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.126: +2 -1 lines
Diff to previous 1.126 , to selected 1.38
(swank-pprint): Bind *package* to *buffer-package*.

Revision 1.126 - (view) (annotate) - [select for diffs]
Wed Feb 25 20:49:37 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.125: +9 -1 lines
Diff to previous 1.125 , to selected 1.38
(connection-info): New function.

(open-streams): Don't send the :check-protocol-version message.  Now
handled with CONNECTION-INFO.

Revision 1.125 - (view) (annotate) - [select for diffs]
Tue Feb 24 23:27:43 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.124: +31 -4 lines
Diff to previous 1.124 , to selected 1.38
(format-arglist): Use an special pprint-dispatch table.

Revision 1.124 - (view) (annotate) - [select for diffs]
Mon Feb 23 07:21:07 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.123: +3 -2 lines
Diff to previous 1.123 , to selected 1.38
* swank.lisp (format-arglist): Bind *PRINT-PRETTY* to NIL.
(eval-in-emacs): Fix typo in docstring.

* swank-cmucl.lisp (arglist-string): Bind *PRINT-PRETTY* to NIL.

Revision 1.123 - (view) (annotate) - [select for diffs]
Sat Feb 21 16:37:27 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.122: +40 -4 lines
Diff to previous 1.122 , to selected 1.38
(create-connection): Add support for fd-handlers.
(install-fd-handler,  deinstall-fd-handler): New functions.

Revision 1.122 - (view) (annotate) - [select for diffs]
Sat Feb 21 07:35:12 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.121: +13 -12 lines
Diff to previous 1.121 , to selected 1.38
(process-available-input): Move auxiliary function to toplevel.  Test
if the stream is open.
(install-sigio-handler): Handle the first request after installing the
signal handler.

Revision 1.121 - (view) (annotate) - [select for diffs]
Tue Feb 17 21:54:36 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.120: +5 -5 lines
Diff to previous 1.120 , to selected 1.38
(make-compiler-note): Don't send the short-message across the wire if
the slot is nil.

Revision 1.120 - (view) (annotate) - [select for diffs]
Mon Feb 16 21:46:13 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.119: +2 -4 lines
Diff to previous 1.119 , to selected 1.38
(make-compiler-note): Include short-message.

Revision 1.119 - (view) (annotate) - [select for diffs]
Sun Feb 8 19:12:38 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.118: +11 -8 lines
Diff to previous 1.118 , to selected 1.38
(setup-server): Pass loopback-interface to create-socket.
(*loopback-interface*): New parameter.

(sldb-loop): Move send :debug event inside unwind-protect, to avoid
losing :debug-return events.

Revision 1.118 - (view) (annotate) - [select for diffs]
Sun Feb 8 15:37:33 2004 UTC (10 years, 2 months ago) by mbaringer
Branch: MAIN
Changes since 1.117: +17 -8 lines
Diff to previous 1.117 , to selected 1.38
Previous commit left out the files and only changed the ChangeLog, my bad.

Revision 1.117 - (view) (annotate) - [select for diffs]
Sat Feb 7 19:27:09 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.116: +33 -15 lines
Diff to previous 1.116 , to selected 1.38
(dispatch-event): :debug, :debug-condition, :debug-activate events
where all encoded as :debug events, which means the debugger never
worked!  Fix it.  I guess no one uses SLIME with a multithreaded Lisp

(read-user-input-from-emacs): Flush the output for reading.

(sldb-loop): Add a sldb-enter-default-debugger tag, so we can enter
the default debugger by throwing to this it.
(sldb-break-with-default-debugger): Throw to
sldb-enter-default-debugger.

(*thread-list*): New variable.
(list-threads): New function.

Revision 1.116 - (view) (annotate) - [select for diffs]
Sat Feb 7 11:38:03 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.115: +8 -2 lines
Diff to previous 1.115 , to selected 1.38
(undefine-function): New function.

(print-with-frame-label, print-part-to-string): Bind *print-circle* to
t, to avoid unbound recursion when printing cyclic data structures.

Revision 1.115 - (view) (annotate) - [select for diffs]
Wed Feb 4 22:16:54 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.114: +32 -52 lines
Diff to previous 1.114 , to selected 1.38
(sldb-loop, dispatch-event, send-to-socket-io): Send a :debug-activate
event instead of a :debug event (to avoid sending a backtrace each time).

(handle-sldb-condition): Include the thread-id in the message.

Revision 1.114 - (view) (annotate) - [select for diffs]
Mon Feb 2 07:25:40 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.113: +4 -3 lines
Diff to previous 1.113 , to selected 1.38
(simple-break): Bind *debugger-hook* before invoking the debugger.
Fixes bug reported by Michael Livshin.

Revision 1.113 - (view) (annotate) - [select for diffs]
Sat Jan 31 20:17:19 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.112: +26 -17 lines
Diff to previous 1.112 , to selected 1.38
Add more type declarations and detect missing initargs for the connection struct.  Patch by Robert E. Brown.

Revision 1.112 - (view) (annotate) - [select for diffs]
Sat Jan 31 11:50:25 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.111: +340 -238 lines
Diff to previous 1.111 , to selected 1.38
Merge stateless-emacs branch into main trunk.

Revision 1.109.2.2 - (view) (annotate) - [select for diffs]
Sat Jan 31 11:26:02 2004 UTC (10 years, 2 months ago) by heller
Branch: stateless-emacs
Changes since 1.109.2.1: +340 -239 lines
Diff to previous 1.109.2.1 , to branch point 1.109 , to next main 1.805 , to selected 1.38
Use signal driven IO for CMUCL and SBCL.  Use one thread per request
for multithreaded lisps.

Revision 1.111 - (view) (annotate) - [select for diffs]
Sat Jan 31 09:02:21 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.110: +25 -7 lines
Diff to previous 1.110 , to selected 1.38
Patch by Robert E. Brown.  Add type declarations to keep SBCL quiet.

Revision 1.110 - (view) (annotate) - [select for diffs]
Thu Jan 29 08:37:57 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.109: +15 -0 lines
Diff to previous 1.109 , to selected 1.38
Profiler support.  Patch by Michael Weber.

Revision 1.109.2.1 - (view) (annotate) - [select for diffs]
Sun Jan 25 20:52:47 2004 UTC (10 years, 2 months ago) by lgorrie
Branch: stateless-emacs
Changes since 1.109: +4 -2 lines
Diff to previous 1.109 , to selected 1.38
Major restructuring.

Deleted the Emacs state machine. Emacs is now essentially stateless
and just does what Lisp tells it to.

Revision 1.109 - (view) (annotate) - [select for diffs]
Fri Jan 23 00:20:39 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
CVS Tags: STATELESS-EMACS
Branch point for: stateless-emacs
Changes since 1.108: +3 -2 lines
Diff to previous 1.108 , to selected 1.38
(set-package): Return the shortest nickname.

Revision 1.108 - (view) (annotate) - [select for diffs]
Thu Jan 22 00:05:21 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.107: +30 -22 lines
Diff to previous 1.107 , to selected 1.38
(completions): Never bind *package* to nil.  That's a type error in
SBCL.

Revision 1.107 - (view) (annotate) - [select for diffs]
Wed Jan 21 23:26:32 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.106: +6 -2 lines
Diff to previous 1.106 , to selected 1.38
(swank-debugger-hook): Flush the output streams and be careful when
accessing *buffer-package*.

Revision 1.106 - (view) (annotate) - [select for diffs]
Wed Jan 21 22:33:45 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.105: +15 -14 lines
Diff to previous 1.105 , to selected 1.38
(create-swank-server): Return the port of the serve socket.

Revision 1.105 - (view) (annotate) - [select for diffs]
Tue Jan 20 23:41:31 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.104: +3 -2 lines
Diff to previous 1.104 , to selected 1.38
(create-swank-server): Take announce-fn as optional argument.

Revision 1.104 - (view) (annotate) - [select for diffs]
Mon Jan 19 20:12:28 2004 UTC (10 years, 2 months ago) by lgorrie
Branch: MAIN
Changes since 1.103: +17 -3 lines
Diff to previous 1.103 , to selected 1.38
(ed-in-emacs): New command with the same interface as CL:ED.

Revision 1.103 - (view) (annotate) - [select for diffs]
Sun Jan 18 07:17:15 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.102: +32 -10 lines
Diff to previous 1.102 , to selected 1.38
(find-symbol-or-lose, format-arglist): New functions.

(without-interrupts): New macro.
(send-to-emacs): Use it.

Revision 1.102 - (view) (annotate) - [select for diffs]
Fri Jan 16 21:49:29 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.101: +102 -1 lines
Diff to previous 1.101 , to selected 1.38
Refactor inspector code.

Revision 1.101 - (view) (annotate) - [select for diffs]
Fri Jan 16 21:28:59 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.100: +21 -12 lines
Diff to previous 1.100 , to selected 1.38
(create-swank-server):  Patch by Marco Baringer <mb@bese.it>.  Bring it
back again.
(create-connection): Use return the dedicated output stream if
available.

Revision 1.100 - (view) (annotate) - [select for diffs]
Fri Jan 16 07:26:13 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.99: +9 -6 lines
Diff to previous 1.99 , to selected 1.38
(changelog-date): Use *compile-file-truename* instead of
*compile-file-pathname*.

(with-I/O-lock, with-a-connection): The usual CLISP fixes.

Revision 1.99 - (view) (annotate) - [select for diffs]
Fri Jan 16 06:50:52 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.98: +1 -1 lines
Diff to previous 1.98 , to selected 1.38
(changelog-date): make-pathname portability fix (from alanr).

(with-io-redirection): Use (current-connection) instead of
*dispatching-connection* (from alanr).

Revision 1.98 - (view) (annotate) - [select for diffs]
Fri Jan 16 06:24:08 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.97: +4 -3 lines
Diff to previous 1.97 , to selected 1.38
(changelog-date): make-pathname portability fix (from alanr).

Revision 1.97 - (view) (annotate) - [select for diffs]
Thu Jan 15 18:17:09 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.96: +35 -16 lines
Diff to previous 1.96 , to selected 1.38
(serve-requests): New function.
(setup-server): Use it.
(start-server): Pass backgroud to setup-server.

(create-connection): Check the protocol version.
(changelog-date): New function.

(make-output-function): Use write-string instead of princ.

Revision 1.96 - (view) (annotate) - [select for diffs]
Thu Jan 15 11:40:50 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.95: +181 -91 lines
Diff to previous 1.95 , to selected 1.38
New support for multiprocessing and multiple connections + commentary.

(with-a-connection): Macro to execute some forms "with a
connection". This is used in the debugger hook to automatically create
a temporary connection if needed (i.e. if the current thread doesn't
already have one).

(open-aux-connection): Helper function to create an extra connection
to Emacs.

Revision 1.95 - (view) (annotate) - [select for diffs]
Tue Jan 13 22:49:34 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.94: +14 -6 lines
Diff to previous 1.94 , to selected 1.38
(*swank-in-background*): New variable.
(start-server): Start swank in background, depending on *swank-in-background*.

Revision 1.94 - (view) (annotate) - [select for diffs]
Tue Jan 13 18:17:48 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.93: +26 -30 lines
Diff to previous 1.93 , to selected 1.38
(start-server, open-dedicated-output-stream &etc): Use new socket functions.

Revision 1.93 - (view) (annotate) - [select for diffs]
Tue Jan 13 04:21:33 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.92: +4 -13 lines
Diff to previous 1.92 , to selected 1.38
Updated for new network interface.

Revision 1.92 - (view) (annotate) - [select for diffs]
Mon Jan 12 05:14:13 2004 UTC (10 years, 3 months ago) by vsedach
Branch: MAIN
Changes since 1.91: +12 -10 lines
Diff to previous 1.91 , to selected 1.38
Changed eval-region back to with-input-from-string style. For slime's
purposes, read-from-string doesn't do the right thing with trailing
whitespace, which is not easy to work around it.

Revision 1.91 - (view) (annotate) - [select for diffs]
Mon Jan 12 04:31:31 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.90: +6 -9 lines
Diff to previous 1.90 , to selected 1.38
Bugfix: moved some specials up to before they're referenced.

Revision 1.90 - (view) (annotate) - [select for diffs]
Mon Jan 12 00:55:21 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.89: +176 -94 lines
Diff to previous 1.89 , to selected 1.38
Taking over previously non-portable jobs:

  (start-server): Now only uses sockets code from the backend.

  (handle-request): Top-level request loop.

  (open-dedicated-output-stream): Dedicated output socket.

  (connection): New data structure that bundles together the things that
  constitute a connection to Emacs: socket-level stream and user-level
  redirected streams.

Revision 1.89 - (view) (annotate) - [select for diffs]
Fri Jan 9 18:51:18 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-10
Changes since 1.88: +12 -11 lines
Diff to previous 1.88 , to selected 1.38
(eval-region): Bind *package* outside the unwind-protect to detect updates.

Revision 1.88 - (view) (annotate) - [select for diffs]
Thu Jan 8 07:02:20 2004 UTC (10 years, 3 months ago) by vsedach
Branch: MAIN
Changes since 1.87: +11 -14 lines
Diff to previous 1.87 , to selected 1.38
Minor update of CLISP backend (streams, portability). eval-region is now do-based (that loop was just waiting to be scratched :).

Revision 1.87 - (view) (annotate) - [select for diffs]
Tue Jan 6 13:42:22 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.86: +12 -2 lines
Diff to previous 1.86 , to selected 1.38
(eval-string): New argument 'id'.  Used to identify the remote
continuation.

(log-event): New debugging function.
(read-from-emacs, send-to-emacs): Use it.

Revision 1.86 - (view) (annotate) - [select for diffs]
Fri Jan 2 18:20:53 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.85: +30 -0 lines
Diff to previous 1.85 , to selected 1.38
(safe-condition-message): New function.
(debugger-condition-for-emacs): Used to be
format-condition-for-emacs in each backend.  Separate the
condition message from the type description.  Update all backends
accordingly.

(print-with-frame-label): New function.

Revision 1.85 - (view) (annotate) - [select for diffs]
Fri Jan 2 07:58:52 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.84: +13 -10 lines
Diff to previous 1.84 , to selected 1.38
(eval-region, tokenize-completion): Modify loops a bit to make CLISP happy.

Revision 1.84 - (view) (annotate) - [select for diffs]
Tue Dec 16 10:07:31 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.83: +21 -0 lines
Diff to previous 1.83 , to selected 1.38
(invoke-nth-restart-for-emacs): Wrapper around INVOKE-NTH-RESTART that
checks that Lisp and Emacs agree on the debug level. This detects and
ignores old restart requests when several are sent at once (possible
because of new oneway-eval feature).

(oneway-eval-string): New function to evaluate a string without
sending a result, and with *DEBUGGER-HOOK* bound to NIL. (The debugger
hook is inhibited to avoid state conflicts.)

Revision 1.83 - (view) (annotate) - [select for diffs]
Mon Dec 15 19:12:37 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.82: +1 -1 lines
Diff to previous 1.82 , to selected 1.38
*start-swank-in-background*: Set to t by default.

Revision 1.82 - (view) (annotate) - [select for diffs]
Mon Dec 15 12:29:13 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.81: +6 -4 lines
Diff to previous 1.81 , to selected 1.38
(send-to-emacs): Put back WITHOUT-INTERRUPTS* -- not sure exactly what
it's for, but I had no actual reason to remove it so I probably broke
something!

Revision 1.81 - (view) (annotate) - [select for diffs]
Mon Dec 15 12:01:20 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.80: +9 -1 lines
Diff to previous 1.80 , to selected 1.38
(eval-region, shortest-package-nickname): Report the shortest package
nickname to Emacs (for the REPL prompt). Patch from Marco Baringer.

Revision 1.80 - (view) (annotate) - [select for diffs]
Mon Dec 15 05:29:10 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.79: +73 -22 lines
Diff to previous 1.79 , to selected 1.38
(*processing-rpc*, *multiprocessing-enabled*, (with-conversation-lock,
with-I/O-lock): New macros.

(read-next-form): Use with-I/O-lock.

(send-to-emacs): Use with-I/O-lock instead of
without-interrupts*. (But should we have without-interrupts* too?)

(swank-debugger-hook): When called asynchronously (i.e. not during
RPC) and multiprocessing is enabled, suspend until acknowleged by
Emacs.

(install-global-debugger-hook): Install a SLIME-DEBUGGER-FUNCTION
globally on *DEBUGGER-HOOK*.

(startup-multiprocessing-for-emacs): Called to initialize multiprocessing.

(eval-string): Dynamically set the *PROCESSING-RPC* flag.

(eval-string): Nasty hack with *DEBUGGER-HOOK-PASSBACK* to install
debugger hook. Temporary, I swear!

Revision 1.79 - (view) (annotate) - [select for diffs]
Sun Dec 14 07:52:31 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.78: +18 -1 lines
Diff to previous 1.78 , to selected 1.38
*start-swank-in-background*, *close-swank-socket-after-setup*,
*use-dedicated-output-stream*: Moved here from swank-cmucl.

(sldb-continue): Don't pass the condition as argument, because that
*doesn't work with Allegro.

(toggle-trace-fdefinition, tracedp): Remove backend specific code with
portable, but ugly, to calls to eval.

Revision 1.78 - (view) (annotate) - [select for diffs]
Thu Dec 11 02:20:30 2003 UTC (10 years, 4 months ago) by dbarlow
Branch: MAIN
Changes since 1.77: +16 -13 lines
Diff to previous 1.77 , to selected 1.38
        * swank.lisp (swank-compiler): new function abstracts commonality
        between swank-compile-{file, string}.
        (swank-load-system): call swank-compiler to load asdf system

Revision 1.77 - (view) (annotate) - [select for diffs]
Wed Dec 10 13:24:27 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-9
Changes since 1.76: +19 -11 lines
Diff to previous 1.76 , to selected 1.38
(start-server): Pass an announce callback function to
create-swank-server.  Works better with single threaded
implementations.
(announce-server-port, simple-announce-function): New functions.
(alistify): Doc fix.

Revision 1.76 - (view) (annotate) - [select for diffs]
Sun Dec 7 23:42:40 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.75: +23 -35 lines
Diff to previous 1.75 , to selected 1.38
(compound-prefix-match): New name and rewritten for speed. Completion
is much faster now.

(*sldb-initial-frames*): Send up to this many (default 20) backtrace
frames to Emacs when entering the debugger.

Revision 1.75 - (view) (annotate) - [select for diffs]
Tue Dec 2 13:56:27 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.74: +7 -6 lines
Diff to previous 1.74 , to selected 1.38
(documentation-symbol): New optional argument for return value if the
symbol is not documented.

Revision 1.74 - (view) (annotate) - [select for diffs]
Sun Nov 30 08:14:28 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.73: +31 -26 lines
Diff to previous 1.73 , to selected 1.38
(group-xrefs): Handle unresolved source locations.
(describe-symbol): Print something sensible about unknown symbols.

Revision 1.73 - (view) (annotate) - [select for diffs]
Sat Nov 29 22:15:00 2003 UTC (10 years, 4 months ago) by dbarlow
Branch: MAIN
Changes since 1.72: +39 -10 lines
Diff to previous 1.72 , to selected 1.38
(slime-debugger-function): New.  Returns a function suitable for use
as the value of *DEBUGGER-HOOK* to install the SLIME debugger
globally.  Must be run from the *slime-repl* buffer or somewhere else
that the slime streams are visible so that it can capture them.
e.g. for Araneida:

      PKG> (setf araneida:*restart-on-handler-errors*
                 (swank:slime-debugger-fucntion))

Revision 1.72 - (view) (annotate) - [select for diffs]
Sat Nov 29 07:53:42 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.71: +67 -16 lines
Diff to previous 1.71 , to selected 1.38
Structure definitions for source-locations.
(alistify, location-position<, group-xrefs): Utilities for xref support.

Revision 1.71 - (view) (annotate) - [select for diffs]
Fri Nov 28 23:28:26 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.70: +10 -6 lines
Diff to previous 1.70 , to selected 1.38
Minor cleanups.

Revision 1.70 - (view) (annotate) - [select for diffs]
Fri Nov 28 20:54:02 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.69: +15 -9 lines
Diff to previous 1.69 , to selected 1.38
Documentation fixes.

Revision 1.69 - (view) (annotate) - [select for diffs]
Fri Nov 28 19:54:15 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.68: +44 -13 lines
Diff to previous 1.68 , to selected 1.38
(longest-completion): Compute the best partial completion for Emacs.
(completions): Use it.

Revision 1.68 - (view) (annotate) - [select for diffs]
Fri Nov 28 12:02:29 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.67: +8 -1 lines
Diff to previous 1.67 , to selected 1.38
(slime-read-string, eval-string): Flush *emacs-io*.
(eval-in-emacs): New function.

Revision 1.67 - (view) (annotate) - [select for diffs]
Thu Nov 27 00:40:35 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.66: +8 -11 lines
Diff to previous 1.66 , to selected 1.38
(briefly-describe-symbol-for-emacs): Don't return unbound symbols.
(load-file): The result of LOAD may be a pathname. Turn it into a
string.
(describe-symbol, describe-function): Support package-qualified strings.

Revision 1.66 - (view) (annotate) - [select for diffs]
Wed Nov 26 23:39:07 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.65: +37 -1 lines
Diff to previous 1.65 , to selected 1.38
(completions): Complete compound symbols.

Revision 1.65 - (view) (annotate) - [select for diffs]
Mon Nov 24 03:23:32 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.64: +1 -1 lines
Diff to previous 1.64 , to selected 1.38
(eval-string-in-frame): Fixed symbol-visibility problem (thanks
Lawrence Mitchell).

Revision 1.64 - (view) (annotate) - [select for diffs]
Sun Nov 23 14:16:42 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.63: +7 -1 lines
Diff to previous 1.63 , to selected 1.38
Updated to use new debugger interfaces in swank-backend.lisp.

Revision 1.63 - (view) (annotate) - [select for diffs]
Sun Nov 23 12:28:43 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.62: +2 -3 lines
Diff to previous 1.62 , to selected 1.38
*** empty log message ***

Revision 1.62 - (view) (annotate) - [select for diffs]
Sun Nov 23 12:14:48 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.61: +137 -81 lines
Diff to previous 1.61 , to selected 1.38
* swank.lisp: Tidied up outline-minor-mode structure, added
comments and docstrings.
(sldb-loop): Took over the main debugger loop.

Revision 1.61 - (view) (annotate) - [select for diffs]
Sun Nov 23 05:00:13 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.60: +51 -33 lines
Diff to previous 1.60 , to selected 1.38
* swank-sbcl.lisp (describe-symbol-for-emacs): Don't ask for
(documentation SYM 'class), CLHS says there isn't any 'class
documentation (and SBCL warns).

* swank.lisp, swank-cmucl.lisp, swank-sbcl.lisp: Refactored
interface through swank-backend.lisp for: swank-compile-file,
swank-compile-string, describe-symbol-for-emacs (apropos),
macroexpand-all, arglist-string.

* swank-backend.lisp: New file defining the interface between
swank.lisp and the swank-*.lisp implementation files.

Revision 1.60 - (view) (annotate) - [select for diffs]
Sat Nov 22 05:36:59 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
CVS Tags: SLIME-0-8
Changes since 1.59: +23 -5 lines
Diff to previous 1.59 , to selected 1.38
(listener-eval): Format results in *buffer-package*.

Exporting (CREATE-SWANK-SERVER <port>). This function can be
called directly to start a swank server, which you can then
connect to with `M-x slime-connect'. It takes a port number as
argument, but this can be zero to use a random available port.
The function always returns the actual port number being used.

Revision 1.59 - (view) (annotate) - [select for diffs]
Wed Nov 19 12:35:47 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.58: +22 -9 lines
Diff to previous 1.58 , to selected 1.38
*sldb-pprint-frames*: New option.

Tweak printing off return values.  Print each value in a separate line
in the REPL buffer and comma separated in the echo-area.  Print
"; No value" for (values).
(format-values-for-echo-area): New function.
(interactive-eval-region,
(swank-pprint, listener-eval): Print each value in separate line.

Revision 1.58 - (view) (annotate) - [select for diffs]
Sun Nov 16 18:07:41 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.57: +14 -13 lines
Diff to previous 1.57 , to selected 1.38
(send-to-emacs): Protect the write operations by a without-interrupts,
so that we don't trash the *cl-connection* buffer with partially
written messages.

Revision 1.57 - (view) (annotate) - [select for diffs]
Thu Nov 13 00:22:01 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.56: +10 -7 lines
Diff to previous 1.56 , to selected 1.38
(swank-pprint): New function.

Revision 1.56 - (view) (annotate) - [select for diffs]
Sat Nov 8 16:59:38 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-7
Changes since 1.55: +6 -5 lines
Diff to previous 1.55 , to selected 1.38
(completions): Use *buffer-package* if no other package is given.
(case-convert): Only accept strings as argument.

Revision 1.55 - (view) (annotate) - [select for diffs]
Tue Nov 4 22:33:31 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.54: +11 -8 lines
Diff to previous 1.54 , to selected 1.38
(slime-read-string): Send a :read-aborted event for non-local exits.
(case-convert): Handle :invert case better.

Revision 1.54 - (view) (annotate) - [select for diffs]
Tue Nov 4 00:03:48 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.53: +5 -4 lines
Diff to previous 1.53 , to selected 1.38
Duh!  I'd better run the test suite _before_ committing.

Revision 1.53 - (view) (annotate) - [select for diffs]
Mon Nov 3 23:20:20 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.52: +34 -6 lines
Diff to previous 1.52 , to selected 1.38
(case-convert, find-symbol-designator): New functions.

Revision 1.52 - (view) (annotate) - [select for diffs]
Sun Nov 2 23:08:03 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.51: +7 -5 lines
Diff to previous 1.51 , to selected 1.38
Input redirection works now on the line level, like a tty.
Output streams are now line buffered.
We no longer compute the backtrace-length.

Revision 1.51 - (view) (annotate) - [select for diffs]
Sun Nov 2 00:55:10 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
Changes since 1.50: +1 -0 lines
Diff to previous 1.50 , to selected 1.38
(eval-string): force-output on *slime-output* before returning the
result. This somewhat works around some trouble where output printed
by lisp is being buffered too long.

Revision 1.50 - (view) (annotate) - [select for diffs]
Sat Nov 1 22:56:06 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
Changes since 1.49: +26 -9 lines
Diff to previous 1.49 , to selected 1.38
(*slime-features*): Variable remembering the FEATURES list.

(sync-state-to-emacs): Update Emacs about any state changes -
currently this just means changes to the FEATURES list.

(eval-string): Call `sync-state-to-emacs' before sending result.

(eval-region): With optional PACKAGE-UPDATE-P, if the evaluation
changes the current package, tell Emacs about the new package.

(listener-eval): Tell `eval-region' to notify Emacs of package
changes, so that e.g. (in-package :swank) does the right thing when
evaluated in the REPL.

Revision 1.49 - (view) (annotate) - [select for diffs]
Sat Nov 1 15:45:10 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.48: +18 -6 lines
Diff to previous 1.48 , to selected 1.38
(slime-read-char): Flush the output before reading.

(eval-region, listener-eval): New functions.
(interactive-eval-region): Use eval-region.

Revision 1.48 - (view) (annotate) - [select for diffs]
Fri Oct 31 19:25:06 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
Changes since 1.47: +3 -1 lines
Diff to previous 1.47 , to selected 1.38
(interactive-eval): Evaluate in *buffer-package*.

Revision 1.47 - (view) (annotate) - [select for diffs]
Fri Oct 31 16:54:31 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.46: +28 -13 lines
Diff to previous 1.46 , to selected 1.38
*read-input-catch-tag*, take-input, slime-read-char: Moved here from
swank-cmucl.lisp.

(defslimefun, defslimefun-unimplemented): Move macro definitions to
the beginning of the file.

Revision 1.46 - (view) (annotate) - [select for diffs]
Wed Oct 29 23:50:13 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.45: +20 -4 lines
Diff to previous 1.45 , to selected 1.38
slime-read-error: New condition.
(read-next-form): Re-signal the conditions as slime-read-errors.  And
check the result of read-sequence (i.e. detect CMUCL's read-sequence
bug).

(sldb-continue, throw-to-toplevel): Was more or less the same in all
backends.

Revision 1.45.2.1 - (view) (annotate) - [select for diffs]
Mon Oct 27 04:04:56 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: backhackattack-1
Changes since 1.45: +161 -15 lines
Diff to previous 1.45 , to next main 1.805 , to selected 1.38
(on bighackattack-1 branch)
Took a step towards refactoring the backends, working on just the
CMUCL one to begin with. The backend is now split into a separate
package, so that all necessary symbols are explicit.

Major major hackage, but the test suite passes for CMUCL.

Have not made any actual improvements yet - except for adding
asynchronous evaluation, which I should have committed before the
hackage that lead to the branch.

"Won't stay branched for long!"

Revision 1.45 - (view) (annotate) - [select for diffs]
Sat Oct 25 01:54:00 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
CVS Tags: BACKHACKATTACK-1, SLIME-0-6
Branch point for: backhackattack-1
Changes since 1.44: +9 -3 lines
Diff to previous 1.44 , to selected 1.38
Changed the connection setup to use a dynamic collision-free TCP
port. The new protocol is this:

  Emacs calls (swank:start-server FILENAME) via the listener. FILENAME
  is /tmp/slime.${emacspid}

  Lisp starts a TCP server on a dynamic available port and writes the
  port number it gets to FILENAME.

  Emacs asynchronously polls for FILENAME's creation. When it exists,
  Emacs reads the port number, deletes the file, and makes the
  connection.

The advantage is that you can run multiple Emacsen each with an
inferior lisp, and the port numbers will never collide and Emacs
will always connect to the right lisp.

All backends are updated, but only CMUCL and SBCL are
tested. Therefore, OpenMCL is almost certainly broken just now.

Revision 1.44 - (view) (annotate) - [select for diffs]
Wed Oct 22 21:04:55 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-5
Changes since 1.43: +12 -10 lines
Diff to previous 1.43 , to selected 1.38
(read-next-form, send-to-emacs): Assume *emacs-io* is a character
stream. Add the necessary char-code/code-char conversions.

Revision 1.43 - (view) (annotate) - [select for diffs]
Tue Oct 21 10:59:04 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 , to selected 1.38
Now sorting completions on symbol-name instead of
`present-symbol-before-p'

Revision 1.42 - (view) (annotate) - [select for diffs]
Tue Oct 21 10:47:40 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
Changes since 1.41: +27 -28 lines
Diff to previous 1.41 , to selected 1.38
(completions): Fixed semantics: should now consider only/all
completions that would not cause a read-error due to symbol
visibility. Also avoiding duplicates, and sorting the results as with
apropos.

Revision 1.41 - (view) (annotate) - [select for diffs]
Mon Oct 20 17:36:22 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
Changes since 1.40: +46 -29 lines
Diff to previous 1.40 , to selected 1.38
(completions): Slight change of semantics: when a prefix-designator is
package-qualified, like "swank:", only match symbols whose
home-package matches the one given - ignore inherited symbols.

Revision 1.40 - (view) (annotate) - [select for diffs]
Mon Oct 20 13:56:50 2003 UTC (10 years, 5 months ago) by dbarlow
Branch: MAIN
Changes since 1.39: +1 -1 lines
Diff to previous 1.39 , to selected 1.38
*** empty log message ***

Revision 1.39 - (view) (annotate) - [select for diffs]
Sun Oct 19 21:39:40 2003 UTC (10 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.38: +9 -2 lines
Diff to previous 1.38
First shoot at input redirection.
*slime-input*, *slime-io*: New variables.

Revision 1.38 - (view) (annotate) - [selected]
Fri Oct 17 21:18:04 2003 UTC (10 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.37: +119 -6 lines
Diff to previous 1.37
Move more stuff to swank.lisp.

Revision 1.37 - (view) (annotate) - [select for diffs]
Fri Oct 17 19:49:05 2003 UTC (10 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36 , to selected 1.38
*** empty log message ***

Revision 1.36 - (view) (annotate) - [select for diffs]
Fri Oct 17 19:09:14 2003 UTC (10 years, 6 months ago) by jbielman
Branch: MAIN
Changes since 1.35: +13 -17 lines
Diff to previous 1.35 , to selected 1.38
Many fixes for the OpenMCL port:

   * swank.lisp (apropos-symbols): Change back to using the standard
   2-argument APROPOS-LIST and check symbols explicitly when
   EXTERNAL-ONLY is true.
   Move loading of sys-dependent backend code into 'swank-loader'.

   * swank-sbcl.lisp: Moved declarations of *PREVIOUS-COMPILER-CONDITION*
   into 'swank.lisp' to kill warnings about undefined variables.

   * swank-openmcl.lisp (handle-compiler-warning): Use source position
   instead of function name for warning locations.
   (swank-compile-string): Compile into a temporary file instead of
   using COMPILE so finding warning positions works when using C-c C-c.
   (compute-backtrace): Don't display frames without a function.
   (apropos-list-for-emacs): Implement APROPOS.
   (who-calls): Implement WHO-CALLS.
   (completions): Implement COMPLETIONS.
   Use NIL instead of zero so FRESH-LINE does the right thing.

   * slime.el (slime-maybe-compile-swank): Removed function---compile
   the backend using 'swank-loader.lisp' instead.
   (slime-backend): Changed default backend to 'slime-loader'.
   (slime-lisp-binary-extension): Deleted as this is no longer needed.

   * swank-loader.lisp: New file.

Revision 1.35 - (view) (annotate) - [select for diffs]
Fri Oct 17 02:08:50 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 , to selected 1.38
<rtoy_> Ok.  There is a mistake in the local vars part in swank.lisp.
;;; End needs a colon at the end to match the colon on ;;; Local Variables:

Revision 1.34 - (view) (annotate) - [select for diffs]
Fri Oct 17 01:39:02 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.33: +1 -1 lines
Diff to previous 1.33 , to selected 1.38
Fix random typos

Revision 1.33 - (view) (annotate) - [select for diffs]
Thu Oct 16 21:03:57 2003 UTC (10 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 , to selected 1.38
Fixed braino in previous change.

Revision 1.32 - (view) (annotate) - [select for diffs]
Thu Oct 16 20:05:21 2003 UTC (10 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.31: +3 -0 lines
Diff to previous 1.31 , to selected 1.38
The macro `with-trapping-compiler-notes' is now defined in the
portable code, and expands to a call to the backend-defined
`call-trapping-compiler-notes' with the body wrapped in a lambda. This
is to avoid swank.lisp referring to macros in the backends -- it gets
compiled first so it thinks they're functions.

Revision 1.31 - (view) (annotate) - [select for diffs]
Thu Oct 16 11:08:40 2003 UTC (10 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.30: +13 -12 lines
Diff to previous 1.30 , to selected 1.38
swank::*sysdep-pathname*: Use defparameter so that cmucl loads the fasl file.
(compiler-notes-for-emacs): Got lost during refactoring.

Revision 1.30 - (view) (annotate) - [select for diffs]
Thu Oct 16 02:05:56 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.29: +1 -1 lines
Diff to previous 1.29 , to selected 1.38
silly packaging mistake

Revision 1.29 - (view) (annotate) - [select for diffs]
Wed Oct 15 22:48:30 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.28: +106 -0 lines
Diff to previous 1.28 , to selected 1.38
Third portablizing iteration: more refactoring common bits

pprint-eval set-package *compiler-notes* clear-compiler-notes
*notes-database* clear-note-database features canonicalize-filename
compiler-notes-for-file compiler-notes-for-emacs measure-time-interval
call-with-compilation-hooks
list-all-package-names apropos-symbols print-output-to-string
print-description-to-string describe-symbol describe-function
apply-macro-expander swank-macroexpand-1 swank-macroexpand
disassemble-symbol

Revision 1.28 - (view) (annotate) - [select for diffs]
Wed Oct 15 22:02:49 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.27: +136 -0 lines
Diff to previous 1.27 , to selected 1.38
Second iteration refactoring common bits:

server-port *swank-debug-p* start-server *emacs-io* *slime-output*
read-next-form read-form *redirect-output* read-from-emacs
send-to-emacs prin1-to-string-for-emacs defslimefun *buffer-package*
from-string to-string guess-package-from-string eval-string
interactive-eval defslimefun-unimplemented
*swank-io-package*

Revision 1.27 - (view) (annotate) - [select for diffs]
Wed Oct 15 21:24:33 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.26: +24 -1338 lines
Diff to previous 1.26 , to selected 1.38
First checkin on the way to rearranging the backends.  Rename
swank.lisp to swank-cmucl.lisp, then create new swank.lisp which loads
an appropriate backend according to *features*.

Next, identify common functions in the backends and move them into
swank.lisp

Revision 1.26 - (view) (annotate) - [select for diffs]
Wed Oct 15 17:30:14 2003 UTC (10 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.25: +396 -142 lines
Diff to previous 1.25 , to selected 1.38
*swank-io-package*: Import t and quote.

(prin1-to-string-for-emacs): Use standard-io-syntax.

(*previous-compiler-condition*, *previous-context*,
handle-notification-condition, clear-compiler-notes,
compiler-note-for-emacs, minimal-compiler-note-for-emacs,
severity-for-emacs): Try to deal with error messages without context
info.

(list-callers, list-callees): Find callers by inspecting the constant
pool of code components.

(find-fdefinition, function-debug-info, fdefinition-file,
code-definition-file): Deleted.

Inspector support.

Revision 1.25 - (view) (annotate) - [select for diffs]
Sun Sep 28 22:38:40 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
CVS Tags: SLIME-0-4
Changes since 1.24: +3 -4 lines
Diff to previous 1.24 , to selected 1.38
Minor protocol changes to accomodate slime.el's changes.

Revision 1.24 - (view) (annotate) - [select for diffs]
Sun Sep 28 10:06:57 2003 UTC (10 years, 6 months ago) by ellerh
Branch: MAIN
CVS Tags: SLIME-0-3
Changes since 1.23: +103 -59 lines
Diff to previous 1.23 , to selected 1.38
(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.

Revision 1.23 - (view) (annotate) - [select for diffs]
Sat Sep 27 23:58:11 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
Changes since 1.22: +9 -4 lines
Diff to previous 1.22 , to selected 1.38
(create-swank-server): Bind the listen-socket on the loopback
interface by default, so that remote machines can't connect to the
Swank server.

Revision 1.22 - (view) (annotate) - [select for diffs]
Sat Sep 27 20:28:11 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
Changes since 1.21: +12 -8 lines
Diff to previous 1.21 , to selected 1.38
(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.

Revision 1.21 - (view) (annotate) - [select for diffs]
Sat Sep 27 17:49:14 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
Changes since 1.20: +93 -141 lines
Diff to previous 1.20 , to selected 1.38
(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."

Revision 1.20 - (view) (annotate) - [select for diffs]
Fri Sep 26 19:29:29 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
Changes since 1.19: +14 -7 lines
Diff to previous 1.19 , to selected 1.38
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).

Revision 1.19 - (view) (annotate) - [select for diffs]
Wed Sep 24 22:23:08 2003 UTC (10 years, 6 months ago) by ellerh
Branch: MAIN
Changes since 1.18: +47 -12 lines
Diff to previous 1.18 , to selected 1.38
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.

Revision 1.18 - (view) (annotate) - [select for diffs]
Tue Sep 23 14:35:14 2003 UTC (10 years, 6 months ago) by ellerh
Branch: MAIN
Changes since 1.17: +38 -16 lines
Diff to previous 1.17 , to selected 1.38
(completions): Moved most of the completion code to Lisp.
(string-prefix-p): Be case insensitive.

Revision 1.17 - (view) (annotate) - [select for diffs]
Tue Sep 23 09:54:33 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
Changes since 1.16: +7 -2 lines
Diff to previous 1.16 , to selected 1.38
xref improvements.

Revision 1.16 - (view) (annotate) - [select for diffs]
Mon Sep 22 05:50:08 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
Changes since 1.15: +77 -7 lines
Diff to previous 1.15 , to selected 1.38
(who-calls, who-references, who-binds, who-sets, who-macroexpands):
New function.

(present-symbol-before-p): Use `*buffer-package*' when checking
accessibility of symbols.

Revision 1.15 - (view) (annotate) - [select for diffs]
Sun Sep 21 20:15:52 2003 UTC (10 years, 6 months ago) by ellerh
Branch: MAIN
Changes since 1.14: +99 -5 lines
Diff to previous 1.14 , to selected 1.38
(print-error-message): Pass all error messages to
*compiler-notification-function*.

Revision 1.14 - (view) (annotate) - [select for diffs]
Sat Sep 20 21:45:24 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
Changes since 1.13: +0 -14 lines
Diff to previous 1.13 , to selected 1.38
Pruned dead/commented function.

Revision 1.13 - (view) (annotate) - [select for diffs]
Sat Sep 20 21:07:33 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
Changes since 1.12: +21 -19 lines
Diff to previous 1.12 , to selected 1.38
(handle-notification): Skipping null notifications. For some reason
CMUCL occasionally calls us with NIL as each argument.

Revision 1.12 - (view) (annotate) - [select for diffs]
Fri Sep 19 20:24:17 2003 UTC (10 years, 6 months ago) by ellerh
Branch: MAIN
Changes since 1.11: +38 -15 lines
Diff to previous 1.11 , to selected 1.38
(interactive-eval-region): New function.

(re-evaluate-defvar): New function.

(compile-defun): Install handler for compiler-errors.

(function-first-code-location): Simplified.

Revision 1.11 - (view) (annotate) - [select for diffs]
Wed Sep 17 20:59:30 2003 UTC (10 years, 7 months ago) by ellerh
Branch: MAIN
Changes since 1.10: +101 -75 lines
Diff to previous 1.10 , to selected 1.38
(read-string, from-string): Renamed read-string to from-string.
(to-string) New function.

(arglist-string): Catch reader errors.

(sldb-loop): Also bind *readstrable*.

Revision 1.10 - (view) (annotate) - [select for diffs]
Tue Sep 16 21:05:57 2003 UTC (10 years, 7 months ago) by ellerh
Branch: MAIN
Changes since 1.9: +158 -32 lines
Diff to previous 1.9 , to selected 1.38
(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.

Revision 1.9 - (view) (annotate) - [select for diffs]
Mon Sep 15 22:46:03 2003 UTC (10 years, 7 months ago) by ellerh
Branch: MAIN
Changes since 1.8: +263 -122 lines
Diff to previous 1.8 , to selected 1.38
Moved many CL fragments from slime.el to swank.lisp.

(defslimefun): New macro.

Revision 1.8 - (view) (annotate) - [select for diffs]
Mon Sep 15 02:50:20 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
Changes since 1.7: +44 -16 lines
Diff to previous 1.7 , to selected 1.38
(apropos-list-for-emacs): Hacked the apropos listing to accept more
options and to specially sort results.

Revision 1.7 - (view) (annotate) - [select for diffs]
Sun Sep 14 22:02:29 2003 UTC (10 years, 7 months ago) by ellerh
Branch: MAIN
Changes since 1.6: +138 -95 lines
Diff to previous 1.6 , to selected 1.38
(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.

Revision 1.6 - (view) (annotate) - [select for diffs]
Sat Sep 13 23:05:58 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
Changes since 1.5: +200 -88 lines
Diff to previous 1.5 , to selected 1.38
Debugger from Helmut, new communication protocol.

Revision 1.5 - (view) (annotate) - [select for diffs]
Thu Sep 11 16:08:10 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
Changes since 1.4: +7 -0 lines
Diff to previous 1.4 , to selected 1.38
(symbol-external-p): Put back this function which was lost in a merge.

Revision 1.4 - (view) (annotate) - [select for diffs]
Wed Sep 10 19:33:44 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
Changes since 1.3: +121 -14 lines
Diff to previous 1.3 , to selected 1.38
Large patch from Helmut Eller. Includes: apropos, describe,
compile-defun, fully asynchronous continuation-based wire interface,
interactive evaluation, and more. Very nice :-)

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Sep 8 13:34:01 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
Changes since 1.2: +51 -1 lines
Diff to previous 1.2 , to selected 1.38
(find-fdefinition): Support for finding function/macro definitions for
Emacs.

Revision 1.2 - (view) (annotate) - [select for diffs]
Thu Sep 4 11:41:59 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
Changes since 1.1: +19 -10 lines
Diff to previous 1.1 , to selected 1.38
Completion now works for internal symbols.
i.e. 'package::foo' can be used to complete non-exported symbols.

Some cleanups.

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Sep 4 11:07:27 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
CVS Tags: SLIME-0-2
Diff to selected 1.38
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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5