/[slime]/slime/ChangeLog
ViewVC logotype

Log of /slime/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1.2412 - (view) (annotate) - [select for diffs]
Sun Nov 17 07:59:04 2013 UTC (5 months ago) by heller
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2411: +5 -0 lines
Diff to previous 1.2411
* swank-sbcl.lisp (swank-compile-string): Load the fasl file even
if there were warnings. Just like the other backends do.

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

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

Revision 1.2409 - (view) (annotate) - [select for diffs]
Fri Nov 1 15:38:50 2013 UTC (5 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2408: +5 -0 lines
Diff to previous 1.2408
* swank-ccl.lisp (p2-definitions): Check bounds before accessing
backend-p2-dispatch.

Revision 1.2408 - (view) (annotate) - [select for diffs]
Fri Nov 1 14:42:09 2013 UTC (5 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2407: +6 -0 lines
Diff to previous 1.2407
* swank-sbcl.lisp (swank-compile-string): Fix last commit.  Honor
*trap-load-time-warnings* but without calling LOAD inside
WITH-COMPILATION-UNIT.

Revision 1.2407 - (view) (annotate) - [select for diffs]
Thu Oct 31 07:55:49 2013 UTC (5 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2406: +5 -0 lines
Diff to previous 1.2406
* swank-sbcl.lisp (swank-compile-string): Don't call LOAD inside
WITH-COMPILATION-UNIT.

Revision 1.2406 - (view) (annotate) - [select for diffs]
Sun Sep 29 13:45:42 2013 UTC (6 months, 3 weeks ago) by heller
Branch: MAIN
Changes since 1.2405: +7 -0 lines
Diff to previous 1.2405
For CCL, also search definitions of p2 translators.

* swank-ccl.lisp (p2-definitions): New.
(find-definitions): Use it.

Revision 1.2405 - (view) (annotate) - [select for diffs]
Sun Sep 29 07:39:48 2013 UTC (6 months, 3 weeks ago) by heller
Branch: MAIN
Changes since 1.2404: +10 -0 lines
Diff to previous 1.2404
* swank-clisp.lisp (*frame-prefixes*): Update some of the patterns
for new layout.
(is-prefix-p): Use regexp matching.
(boring-frame-p): Also make compiled-tagbody compiled-block
boring.
(sldb-backtrace, %parse-stack-values): Remove code for versions
before 2.44.

Revision 1.2404 - (view) (annotate) - [select for diffs]
Sun Sep 29 07:39:39 2013 UTC (6 months, 3 weeks ago) by heller
Branch: MAIN
Changes since 1.2403: +7 -0 lines
Diff to previous 1.2403
For CCL, also search nx1-alphatizer definitions.

* swank-ccl.lisp (alphatizer-definitions): New
(find-definitions): Use it.

Revision 1.2403 - (view) (annotate) - [select for diffs]
Wed Jun 26 11:51:50 2013 UTC (9 months, 3 weeks ago) by mevenson
Branch: MAIN
Changes since 1.2402: +5 -0 lines
Diff to previous 1.2402
Try to commit ChangeLog again.

Revision 1.2402 - (view) (annotate) - [select for diffs]
Sun May 26 08:24:01 2013 UTC (10 months, 3 weeks ago) by heller
Branch: MAIN
Changes since 1.2401: +6 -0 lines
Diff to previous 1.2401
Forgot to update ChangeLog.

Revision 1.2401 - (view) (annotate) - [select for diffs]
Tue May 14 15:46:08 2013 UTC (11 months ago) by msimmons
Branch: MAIN
Changes since 1.2400: +5 -0 lines
Diff to previous 1.2400
* swank-lispworks.lisp (lispworks-severity): Fix error when using
the :explain declaration.

Revision 1.2400 - (view) (annotate) - [select for diffs]
Tue May 14 15:34:56 2013 UTC (11 months ago) by msimmons
Branch: MAIN
Changes since 1.2399: +5 -0 lines
Diff to previous 1.2399
* swank-lispworks.lisp (find-top-frame): Improve backtraces from
swank::safe-backtrace.

Revision 1.2399 - (view) (annotate) - [select for diffs]
Tue Apr 23 16:37:14 2013 UTC (11 months, 3 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2398: +5 -0 lines
Diff to previous 1.2398
* slime.el (slime-draw-connection-list): Make sure not to call
goto-char on NIL.

Revision 1.2398 - (view) (annotate) - [select for diffs]
Tue Apr 2 14:41:07 2013 UTC (12 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2397: +11 -0 lines
Diff to previous 1.2397
Hide SWANK debugger frames on Allegro also when the error is
signalled within threads different from the SLIME REPL's.
E.g. (mp:process-run-function nil (lambda () (error "foo"))).

Revision 1.2397 - (view) (annotate) - [select for diffs]
Tue Mar 12 17:49:47 2013 UTC (13 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2396: +5 -0 lines
Diff to previous 1.2396
* slime.el (slime-read-interactive-args): Use read-shell-command
to enable completion.  Patch by Daimrod/Greg.

Revision 1.2396 - (view) (annotate) - [select for diffs]
Fri Mar 8 11:12:25 2013 UTC (13 months, 1 week ago) by mevenson
Branch: MAIN
Changes since 1.2395: +5 -0 lines
Diff to previous 1.2395
swank-abcl.lisp:  Allow SLIME inspector to perform class finalization.

Revision 1.2395 - (view) (annotate) - [select for diffs]
Sat Mar 2 01:17:09 2013 UTC (13 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2394: +5 -0 lines
Diff to previous 1.2394
* slime-autoloads.el: Don't load autoloads when slime is already
loaded, there's no sense in doing so.

Revision 1.2394 - (view) (annotate) - [select for diffs]
Wed Feb 20 17:33:14 2013 UTC (13 months, 4 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2393: +7 -0 lines
Diff to previous 1.2393
* slime.el (slime-attempt-connection): Don't run the timer with a
repeat argument, slime-attempt-connection will reinstantiate the
timer if needed, otherwise it can be a possible source of race
conditions.

Revision 1.2393 - (view) (annotate) - [select for diffs]
Wed Feb 13 07:27:14 2013 UTC (14 months ago) by heller
Branch: MAIN
Changes since 1.2392: +9 -0 lines
Diff to previous 1.2392
* swank-allegro.lisp (eval-in-frame): debugger:frame-var-name can
return nil; ignore those vars.

* slime.el (sldb-setup): Allegro somehow managed to enter sldb at
the same level twice.  Add an assertion that checks that the
condition is the same if sldb-level is the same as last time.

Revision 1.2392 - (view) (annotate) - [select for diffs]
Fri Feb 8 14:11:34 2013 UTC (14 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2391: +5 -0 lines
Diff to previous 1.2391
* swank-lispworks.lisp (frame-package): Implemented.
(function-name-package): New.

Revision 1.2391 - (view) (annotate) - [select for diffs]
Fri Feb 8 14:11:23 2013 UTC (14 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2390: +8 -0 lines
Diff to previous 1.2390
* swank-allegro.lisp (handle-compiler-warning): Ignore "Closure
will be stack allocated" notes.  Those are harmless and there are
too many of them.
(pc-source-location, ldb-code-to-src-loc): Handle case when
excl::ldb-code-pc returns nil.

Revision 1.2390 - (view) (annotate) - [select for diffs]
Sat Feb 2 10:11:16 2013 UTC (14 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2389: +5 -0 lines
Diff to previous 1.2389
* swank-backend.lisp (type-specifier-p): New.
Implement it for ACL, ECL, CCL, Clisp, SBCL, LW.

* contrib/swank-util.lisp (symbol-classification-string): Use
type-specifier-p.

Revision 1.2389 - (view) (annotate) - [select for diffs]
Sat Jan 12 12:32:20 2013 UTC (15 months, 1 week ago) by sboukarev
Branch: MAIN
Changes since 1.2388: +4 -0 lines
Diff to previous 1.2388
* swank-backend.lisp: Add a couple of ignore declarations.

Revision 1.2388 - (view) (annotate) - [select for diffs]
Fri Jan 11 23:36:35 2013 UTC (15 months, 1 week ago) by sboukarev
Branch: MAIN
Changes since 1.2387: +4 -0 lines
Diff to previous 1.2387
* swank-ecl.lisp (accept-connection): Fix a typo, line => :line.

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

Revision 1.2386 - (view) (annotate) - [select for diffs]
Thu Jan 10 11:46:42 2013 UTC (15 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2385: +4 -0 lines
Diff to previous 1.2385
* swank-ecl.lisp (frame-var-value): Return the value without name.

Revision 1.2385 - (view) (annotate) - [select for diffs]
Wed Jan 9 14:29:50 2013 UTC (15 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2384: +5 -0 lines
Diff to previous 1.2384
* swank.lisp (frame-locals-for-emacs): Print variable names in frame-package.

Revision 1.2384 - (view) (annotate) - [select for diffs]
Wed Jan 9 14:29:27 2013 UTC (15 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2383: +1 -0 lines
Diff to previous 1.2383
* swank-sbcl.lisp (frame-package): New.

Revision 1.2383 - (view) (annotate) - [select for diffs]
Wed Jan 9 14:29:10 2013 UTC (15 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2382: +5 -0 lines
Diff to previous 1.2382
* swank-sbcl.lisp (frame-debug-vars): Only include :valid locals.
(*keep-non-valid-locals*): New.

Revision 1.2382 - (view) (annotate) - [select for diffs]
Mon Jan 7 13:01:28 2013 UTC (15 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2381: +8 -0 lines
Diff to previous 1.2381
* swank-ccl.lisp (compiler-warning-short-message): Add a method
for ccl::shadowed-typecase-clause.  Whithout that we only get
"Nonspecific warning".
(function-name-package): Factored out from frame-package.  Add
case for standard-method.

Revision 1.2381 - (view) (annotate) - [select for diffs]
Mon Jan 7 10:12:08 2013 UTC (15 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2380: +11 -0 lines
Diff to previous 1.2380
* swank-ecl.lisp (describe-symbol-for-emacs): Include bound
symbols even those without documentation.

* slime.el (slime-print-apropos): Do some input validation to
detect bugs on the Lisp side.

* swank-backend.lisp (describe-symbol-for-emacs): Allow NIL where
:NOT-DOCUMENTED was needed.

Revision 1.2380 - (view) (annotate) - [select for diffs]
Sat Jan 5 08:50:24 2013 UTC (15 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2379: +4 -0 lines
Diff to previous 1.2379
* swank-ccl.lisp (frame-package): Implemented.

Revision 1.2379 - (view) (annotate) - [select for diffs]
Sat Jan 5 08:50:12 2013 UTC (15 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2378: +4 -0 lines
Diff to previous 1.2378
* swank-loader.lisp (init): Add a :quiet argument.

Revision 1.2378 - (view) (annotate) - [select for diffs]
Thu Dec 27 20:22:35 2012 UTC (15 months, 3 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2377: +7 -0 lines
Diff to previous 1.2377
* 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.2377 - (view) (annotate) - [select for diffs]
Mon Dec 17 11:33:47 2012 UTC (16 months ago) by sboukarev
Branch: MAIN
Changes since 1.2376: +3 -0 lines
Diff to previous 1.2376
* swank-ecl.lisp (swank-mop): MOP works well now, import
all symbols.

Revision 1.2376 - (view) (annotate) - [select for diffs]
Mon Dec 17 11:14:48 2012 UTC (16 months ago) by sboukarev
Branch: MAIN
Changes since 1.2375: +5 -0 lines
Diff to previous 1.2375
* swank.lisp (thread-for-evaluation): Use INTEGER, not FIXNUM, as
a specializer, FIXNUM is not a standard class.

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

Revision 1.2374 - (view) (annotate) - [select for diffs]
Sun Dec 16 13:38:07 2012 UTC (16 months ago) by heller
Branch: MAIN
Changes since 1.2373: +4 -0 lines
Diff to previous 1.2373
* slime.el (slime-attempt-connection): Show the attempt counter.

Revision 1.2373 - (view) (annotate) - [select for diffs]
Mon Dec 3 03:43:16 2012 UTC (16 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2372: +3 -0 lines
Diff to previous 1.2372
* swank-backend.lisp (deinit-log-output): Move from swank-sbcl,
use it on CCL in ccl:*save-exit-functions* as well.

Revision 1.2372 - (view) (annotate) - [select for diffs]
Mon Dec 3 03:35:09 2012 UTC (16 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2371: +6 -0 lines
Diff to previous 1.2371
* swank-allegro.lisp (macroexpand-all): USe walk-form, not walk
on >= 8.2.
Patch by Utz-Uwe Haus.

Revision 1.2371 - (view) (annotate) - [select for diffs]
Fri Nov 23 17:51:15 2012 UTC (16 months, 3 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2370: +2 -0 lines
Diff to previous 1.2370
* slime.el (slime-edit-definition): Don't ask the user for a name
to search if it's missing before running slime-edit-definition-hooks
(slime-open-inspector): pop-to-buffer before inserting anything,
otherwise the point is not moved into the desired position.

Revision 1.2370 - (view) (annotate) - [select for diffs]
Fri Nov 23 15:32:12 2012 UTC (16 months, 3 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2369: +5 -0 lines
Diff to previous 1.2369
* slime.el (slime-edit-definition): Don't ask the user for a name
to search if it's missing before running
slime-edit-definition-hooks, the hooks might search for name in a
different manner (for example, presentations).

Revision 1.2369 - (view) (annotate) - [select for diffs]
Tue Nov 13 15:44:39 2012 UTC (17 months ago) by sboukarev
Branch: MAIN
Changes since 1.2368: +6 -0 lines
Diff to previous 1.2368
* 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.2368 - (view) (annotate) - [select for diffs]
Mon Nov 12 17:27:36 2012 UTC (17 months, 1 week ago) by sboukarev
Branch: MAIN
Changes since 1.2367: +6 -0 lines
Diff to previous 1.2367
* 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.2367 - (view) (annotate) - [select for diffs]
Sun Nov 11 20:00:33 2012 UTC (17 months, 1 week ago) by sboukarev
Branch: MAIN
Changes since 1.2366: +6 -0 lines
Diff to previous 1.2366
* swank.lisp (interrupt-worker-thread): Solve *send-counter*
binding problem.
find-worker-thread: Merge with `thread-for-evaluation'.

Revision 1.2366 - (view) (annotate) - [select for diffs]
Sun Nov 11 09:31:07 2012 UTC (17 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2365: +9 -0 lines
Diff to previous 1.2365
* slime.el ([test] find-definition.3): Mark as expected to fail.
([test] arglist): Adjust regexp so that CCL passes.
(slime-execute-tests): Insert summary table at the the end.
(slime-check): Don't change counters here, as that would count
multiple times per test.  Instead to the counting in
slime-execute-tests.

Revision 1.2365 - (view) (annotate) - [select for diffs]
Sun Nov 11 09:30:53 2012 UTC (17 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2364: +6 -0 lines
Diff to previous 1.2364
* swank-allegro.lisp (ldb-code-to-src-loc): Scan backward to the
first code point with a non-nil start-char.
(frame-package): Also match for ((:internal foo ...)).

Revision 1.2364 - (view) (annotate) - [select for diffs]
Thu Nov 8 12:34:06 2012 UTC (17 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2363: +5 -0 lines
Diff to previous 1.2363
* slime.el (slime-timer-call): Use debug marker in
condition-case.

Revision 1.2363 - (view) (annotate) - [select for diffs]
Fri Nov 2 08:35:12 2012 UTC (17 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2362: +4 -0 lines
Diff to previous 1.2362
* slime.el (find-definition.3): Fix syntax.

Revision 1.2362 - (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.2361: +7 -0 lines
Diff to previous 1.2361
* 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.2361 - (view) (annotate) - [select for diffs]
Fri Nov 2 08:14:28 2012 UTC (17 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2360: +9 -0 lines
Diff to previous 1.2360
* swank-allegro.lisp (frame-source-location, ldb-code-to-src-loc):
Use function-source-location for some cases that used to cause
errors.
(frame-package): New.
(format-sldb-condition, call-with-syntax-hooks): Deleted. Did just
the same as the default implementation.

Revision 1.2360 - (view) (annotate) - [select for diffs]
Fri Nov 2 08:14:16 2012 UTC (17 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2359: +5 -0 lines
Diff to previous 1.2359
* slime.el ([test] find-definition): Test defstruct and defvar.
([test] find-definition.3): New.

Revision 1.2359 - (view) (annotate) - [select for diffs]
Tue Oct 30 18:38:33 2012 UTC (17 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2358: +5 -0 lines
Diff to previous 1.2358
* swank-cmucl.lisp (dd-location): Use info db as fallback.
(struct-constructor): Return the name not the function.

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

Revision 1.2357 - (view) (annotate) - [select for diffs]
Sat Oct 27 17:17:19 2012 UTC (17 months, 3 weeks ago) by heller
Branch: MAIN
Changes since 1.2356: +5 -0 lines
Diff to previous 1.2356
* slime.el (report-condition-with-circular-list): New test.
* swank.lisp (safe-condition-message): Bind *print-length*.

Revision 1.2356 - (view) (annotate) - [select for diffs]
Sat Oct 20 05:50:37 2012 UTC (18 months ago) by sboukarev
Branch: MAIN
Changes since 1.2355: +6 -0 lines
Diff to previous 1.2355
* slime.el (slime-location-offset): When going to a position
causes an error, for example, trying to move beyond the end of the
buffer, move the point to 0 and then try to use the hints.

Revision 1.2355 - (view) (annotate) - [select for diffs]
Sun Oct 14 12:57:42 2012 UTC (18 months ago) by heller
Branch: MAIN
Changes since 1.2354: +10 -0 lines
Diff to previous 1.2354
* slime.el (slime-insert-threads): Some cleanups.
(slime-insert-table, slime-insert-table-row)
(slime-transpose-lists) New helpers.
(slime-threads-table-properties): Renamed from
*slime-threads-table-properties*
(slime-thread-index-to-id, slime-longest-lines)
(slime-format-threads-labels, slime-insert-thread): Deleted.

Revision 1.2354 - (view) (annotate) - [select for diffs]
Sun Oct 14 12:57:16 2012 UTC (18 months ago) by heller
Branch: MAIN
Changes since 1.2353: +7 -0 lines
Diff to previous 1.2353
Avoid some unused variable warnings.

* slime.el (slime-xref-group, slime-all-contribs, [selector] ??):
Use _ as prefix or in loop-destructuring: (loop for (nil) in ...).

Revision 1.2353 - (view) (annotate) - [select for diffs]
Sun Oct 14 12:56:47 2012 UTC (18 months ago) by heller
Branch: MAIN
Changes since 1.2352: +4 -0 lines
Diff to previous 1.2352
* slime.el (slime-goto-source-location-buffer-and-file): Delete
unused function.

Revision 1.2352 - (view) (annotate) - [select for diffs]
Sun Oct 14 12:56:21 2012 UTC (18 months ago) by heller
Branch: MAIN
Changes since 1.2351: +12 -0 lines
Diff to previous 1.2351
Avoid flet.

* slime.el (with-struct, slime-compute-policy)
(slime-create-note-overlay, slime-merge-note-into-overlay)
(slime-file-name-merge-source-root)
(slime-highlight-differences-in-dirname)
(slime-check-location-filename-sanity, slime-macroexpand-undo)
(slime-read-connection)
(slime-inspector-property-at-point): Use macrolet or a
comibination of let and funcall as replacement for flet.

Revision 1.2351 - (view) (annotate) - [select for diffs]
Sun Oct 14 12:55:54 2012 UTC (18 months ago) by heller
Branch: MAIN
Changes since 1.2350: +7 -0 lines
Diff to previous 1.2350
Avoid labels.

* hyperspec.el (hyperspec--get-one-line): New function.

Revision 1.2350 - (view) (annotate) - [select for diffs]
Sun Oct 14 12:55:33 2012 UTC (18 months ago) by heller
Branch: MAIN
Changes since 1.2349: +5 -0 lines
Diff to previous 1.2349
* 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.2349 - (view) (annotate) - [select for diffs]
Tue Sep 4 15:03:22 2012 UTC (19 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2348: +6 -0 lines
Diff to previous 1.2348
* swank-loader.lisp (lisp-version-string): Add "s" to Allegro with
SMP support.
Patch by Dave Cooper.

Revision 1.2348 - (view) (annotate) - [select for diffs]
Sat Aug 18 16:34:06 2012 UTC (20 months ago) by sboukarev
Branch: MAIN
Changes since 1.2347: +5 -0 lines
Diff to previous 1.2347
* swank-abcl.lisp (find-definitions): Call ext:resolve before
finding definitions, for the symbol may be not autoloaded yet.

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

Revision 1.2346 - (view) (annotate) - [select for diffs]
Sat Aug 4 23:32:37 2012 UTC (20 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2345: +7 -0 lines
Diff to previous 1.2345
* swank-sbcl.lisp (call-with-debugging-environment): Use
sb-debug::resolve-stack-top-hint instead of just
sb-debug:*stack-top-hint*, because now it can contain things other
than just frames.

Revision 1.2345 - (view) (annotate) - [select for diffs]
Fri Jul 13 13:52:45 2012 UTC (21 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2344: +4 -0 lines
Diff to previous 1.2344
* slime.el: Don't compile functions that are now in other files.

Revision 1.2344 - (view) (annotate) - [select for diffs]
Tue Jun 19 19:46:53 2012 UTC (22 months ago) by heller
Branch: MAIN
Changes since 1.2343: +5 -0 lines
Diff to previous 1.2343
* swank-ecl.lisp (wait-for-input): Provide implementation
that doesn't need serve-event.

Revision 1.2343 - (view) (annotate) - [select for diffs]
Tue Jun 12 09:25:30 2012 UTC (22 months, 1 week ago) by sboukarev
Branch: MAIN
Changes since 1.2342: +8 -0 lines
Diff to previous 1.2342
* slime.el (slime-changelog-date): Use
(expand-file-name "ChangeLog" slime-path) instead of
(concat slime-path "ChangeLog"), slime-path may not have a
trailing /.
Reported by Paul Sexton (lp#1011935).

Revision 1.2342 - (view) (annotate) - [select for diffs]
Fri May 25 01:25:05 2012 UTC (22 months, 3 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2341: +7 -0 lines
Diff to previous 1.2341
* slime.el (slime-oneliner): Use minibuffer width instead of the
width of the current frame, minibuffer can be in a separate frame
with a different width.
Patch by Greg Pfeil (lp#1004252).

Revision 1.2341 - (view) (annotate) - [select for diffs]
Mon May 21 08:08:07 2012 UTC (23 months ago) by heller
Branch: MAIN
Changes since 1.2340: +9 -0 lines
Diff to previous 1.2340
Reduce dependecy on pre-defined faces.

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

Reported by: Daimrod <daimrod@gmail.com>

Revision 1.2340 - (view) (annotate) - [select for diffs]
Sat May 12 06:34:47 2012 UTC (23 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2339: +4 -0 lines
Diff to previous 1.2339
* swank-sbcl.lisp (stream-force-output): Undo last few changes.

Revision 1.2339 - (view) (annotate) - [select for diffs]
Fri May 11 18:08:44 2012 UTC (23 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2338: +6 -0 lines
Diff to previous 1.2338
* swank-sbcl.lisp (stream-force-output): Use with-world-lock
i.e. with-recursive-lock instead of with-mutex.
* slime.el (sbcl-world-lock): New test.

Revision 1.2338 - (view) (annotate) - [select for diffs]
Fri May 11 06:52:18 2012 UTC (23 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2337: +6 -0 lines
Diff to previous 1.2337
* swank-sbcl.lisp (stream-force-output): Don't use with-deadline.
Grab the world-lock instead.
(condition-timed-wait): Use the :timeout argument.

Revision 1.2337 - (view) (annotate) - [select for diffs]
Fri May 11 06:52:05 2012 UTC (23 months, 1 week ago) by heller
Branch: MAIN
Changes since 1.2336: +5 -0 lines
Diff to previous 1.2336
* swank-backend.lisp (call-with-io-timeout): Not used. Deleted.
* swank-sbcl.lisp (call-with-io-timeout): Deleted.

Revision 1.2336 - (view) (annotate) - [select for diffs]
Mon May 7 06:10:50 2012 UTC (23 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2335: +8 -0 lines
Diff to previous 1.2335
Ignore linebreaks for the macroexpand test.
SBCL should now also pass it.

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

Revision 1.2335 - (view) (annotate) - [select for diffs]
Sun May 6 21:19:48 2012 UTC (23 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2334: +6 -0 lines
Diff to previous 1.2334
* swank-sbcl.lisp (condition-timed-wait): Undo previous change.
The :timeout arg doesn't seem ready for production use.

Revision 1.2334 - (view) (annotate) - [select for diffs]
Sun May 6 16:16:24 2012 UTC (23 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2333: +5 -0 lines
Diff to previous 1.2333
* swank-sbcl.lisp (condition-timed-wait): Use the :timeout
argument of sb-thread:condition-wait if supported.

Revision 1.2333 - (view) (annotate) - [select for diffs]
Sun May 6 16:16:13 2012 UTC (23 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2332: +3 -0 lines
Diff to previous 1.2332
* swank-sbcl.lisp (with-definition-source): Forgot to commit this
one.

Revision 1.2332 - (view) (annotate) - [select for diffs]
Sun May 6 16:16:02 2012 UTC (23 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2331: +5 -0 lines
Diff to previous 1.2331
* swank-allegro.lisp (string-to-utf8): Set the :null-terminate
argument of excl:string-to-octets to nil.

Revision 1.2331 - (view) (annotate) - [select for diffs]
Sun May 6 15:40:04 2012 UTC (23 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2330: +5 -0 lines
Diff to previous 1.2330
* swank-backend.lisp (with-struct): Undo damage.
* swank-sbcl.lisp (with-definition-source): New macro.

Revision 1.2330 - (view) (annotate) - [select for diffs]
Sun May 6 08:51:26 2012 UTC (23 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2329: +5 -0 lines
Diff to previous 1.2329
* swank.lisp, swank-rpc.lisp: iso-8859-1 is not same as latin-1-unix.

Revision 1.2329 - (view) (annotate) - [select for diffs]
Sun May 6 08:39:11 2012 UTC (23 months, 2 weeks ago) by heller
Branch: MAIN
Changes since 1.2328: +6 -0 lines
Diff to previous 1.2328
* slime.el (slime-pprint-eval-region): New command. No keybinding though.

Revision 1.2328 - (view) (annotate) - [select for diffs]
Fri May 4 11:16:40 2012 UTC (23 months, 2 weeks ago) by nsiivola
Branch: MAIN
Changes since 1.2327: +5 -0 lines
Diff to previous 1.2327
sbcl: remove MERGE-TAIL-CALLS proclamation

Revision 1.2327 - (view) (annotate) - [select for diffs]
Thu May 3 15:49:17 2012 UTC (23 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2326: +5 -3 lines
Diff to previous 1.2326
* slime.el (slime-goto-source-location): Allow for
:buffer-and-file locations, prefer buffer if the buffer exists.

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

Revision 1.2326 - (view) (annotate) - [select for diffs]
Thu May 3 14:28:17 2012 UTC (23 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2325: +1 -0 lines
Diff to previous 1.2325
* swank-sbcl.lisp (quit-lisp): Use sb-ext:exit when it's present.

Revision 1.2325 - (view) (annotate) - [select for diffs]
Thu May 3 14:12:22 2012 UTC (23 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2324: +6 -0 lines
Diff to previous 1.2324
* swank-sbcl.lisp (definition-source-for-emacs): Prefer :file over
:buffer, because the buffer can be killed in the mean time and the
silly "No buffer named x.lisp" would be displayed.

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

Revision 1.2323 - (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.2322: +8 -0 lines
Diff to previous 1.2322
* 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.2322 - (view) (annotate) - [select for diffs]
Tue May 1 10:07:34 2012 UTC (23 months, 2 weeks ago) by sboukarev
Branch: MAIN
Changes since 1.2321: +6 -0 lines
Diff to previous 1.2321
* slime.el (slime-xrefs-for-notes): Format location in a proper
way.
Reported by Max Mikhanosha.

Revision 1.2321 - (view) (annotate) - [select for diffs]
Fri Apr 27 14:57:58 2012 UTC (23 months, 3 weeks ago) by nsiivola
Branch: MAIN
Changes since 1.2320: +5 -0 lines
Diff to previous 1.2320
sbcl: fix lisp-source-location

Revision 1.2320 - (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.2319: +7 -0 lines
Diff to previous 1.2319
* Use #\; to separate the file options.

Revision 1.2319 - (view) (annotate) - [select for diffs]
Mon Apr 23 16:32:52 2012 UTC (23 months, 3 weeks ago) by crhodes
Branch: MAIN
Changes since 1.2318: +7 -0 lines
Diff to previous 1.2318
Indirect through a variable in slime-operator-before-point.

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

Revision 1.2318 - (view) (annotate) - [select for diffs]
Fri Apr 20 12:45:28 2012 UTC (2 years ago) by nsiivola
Branch: MAIN
Changes since 1.2317: +8 -0 lines
Diff to previous 1.2317
sbcl: workaround for auto-flush thread deadlocks, take II

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

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

    *boink*

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

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

Revision 1.2317 - (view) (annotate) - [select for diffs]
Fri Apr 20 12:43:04 2012 UTC (2 years ago) by nsiivola
Branch: MAIN
Changes since 1.2316: +10 -0 lines
Diff to previous 1.2316
sbcl: SWANK-VALUE to make it nicer to refer to values of SWANK symbols

Revision 1.2316 - (view) (annotate) - [select for diffs]
Wed Apr 11 11:38:56 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.2315: +5 -0 lines
Diff to previous 1.2315
* slime.el ([test] utf-8-source): Use the encoded byte sequence of
the Unicode string.

Revision 1.2315 - (view) (annotate) - [select for diffs]
Tue Apr 10 17:52:57 2012 UTC (2 years ago) by sboukarev
Branch: MAIN
Changes since 1.2314: +5 -0 lines
Diff to previous 1.2314
* slime.el (def-slime-test utf-8-source): Define only when
(and (featurep 'emacs) (>= emacs-major-version 23)).

Revision 1.2314 - (view) (annotate) - [select for diffs]
Tue Apr 10 11:33:28 2012 UTC (2 years ago) by sboukarev
Branch: MAIN
Changes since 1.2313: +5 -0 lines
Diff to previous 1.2313
* slime.el (def-slime-test utf-8-source): Another try at fixing
utf8 literals in code.

Revision 1.2313 - (view) (annotate) - [select for diffs]
Mon Apr 9 13:50:04 2012 UTC (2 years ago) by sboukarev
Branch: MAIN
Changes since 1.2312: +6 -0 lines
Diff to previous 1.2312
* slime.el (def-slime-test utf-8-source): Remove literal Unicode
characters in the form of \xFFFF, it causes problems for some
people.

Revision 1.2312 - (view) (annotate) - [select for diffs]
Sat Apr 7 10:23:38 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.2311: +13 -0 lines
Diff to previous 1.2311
Even more long line breaking.

Revision 1.2311 - (view) (annotate) - [select for diffs]
Sat Apr 7 09:35:42 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.2310: +53 -38 lines
Diff to previous 1.2310
More long line fixes.

Revision 1.2310 - (view) (annotate) - [select for diffs]
Sat Apr 7 08:19:32 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.2309: +612 -574 lines
Diff to previous 1.2309
Fix long lines.

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

Revision 1.2309 - (view) (annotate) - [select for diffs]
Fri Apr 6 20:04:34 2012 UTC (2 years ago) by sboukarev
Branch: MAIN
Changes since 1.2308: +6 -0 lines
Diff to previous 1.2308
* 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.2308 - (view) (annotate) - [select for diffs]
Fri Mar 30 09:45:00 2012 UTC (2 years ago) by nsiivola
Branch: MAIN
Changes since 1.2307: +6 -0 lines
Diff to previous 1.2307
sbcl: make STEP friendlier when SBCL gives the source form for the initial form

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

Revision 1.2307 - (view) (annotate) - [select for diffs]
Mon Mar 26 15:36:50 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.2306: +3 -0 lines
Diff to previous 1.2306
* slime.el (utf-8-source): XEmacs has no set-buffer-multibyte.
(slime-create-test-results-buffer): Set file-coding-system.

Revision 1.2306 - (view) (annotate) - [select for diffs]
Mon Mar 26 15:10:32 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.2305: +5 -0 lines
Diff to previous 1.2305
* swank-lispworks.lisp (swank-compile-string): Don't include the
source-string in the dspec::*location*.  As LW has the habbit to
print the entire *location* on redefinition the source-string
would causes troubles for the test case.

Revision 1.2305 - (view) (annotate) - [select for diffs]
Mon Mar 26 15:10:19 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.2304: +2 -0 lines
Diff to previous 1.2304
* swank-sbcl.lisp (swank-compile-string): Use utf8.

Revision 1.2304 - (view) (annotate) - [select for diffs]
Mon Mar 26 15:10:08 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.2303: +2 -0 lines
Diff to previous 1.2303
* swank-cmucl.lisp (swank-compile-file): Use external-format arg.

Revision 1.2303 - (view) (annotate) - [select for diffs]
Mon Mar 26 15:09:57 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.2302: +3 -0 lines
Diff to previous 1.2302
* swank-ccl.lisp (swank-compile-string, compile-temp-file): Use utf8.

Revision 1.2302 - (view) (annotate) - [select for diffs]
Mon Mar 26 15:09:46 2012 UTC (2 years ago) by heller
Branch: MAIN
Changes since 1.2301: +4 -0 lines
Diff to previous 1.2301
* slime.el (utf-8-source): New test case.

Revision 1.2301 - (view) (annotate) - [select for diffs]
Wed Mar 14 17:13:26 2012 UTC (2 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2300: +9 -0 lines
Diff to previous 1.2300
Use Unix-EOL convention even on Windows.

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

Revision 1.2300 - (view) (annotate) - [select for diffs]
Tue Mar 6 22:04:21 2012 UTC (2 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2299: +5 -0 lines
Diff to previous 1.2299
* swank-ccl.lisp: If 'xref is not provided warn about it but continue.

Revision 1.2299 - (view) (annotate) - [select for diffs]
Tue Mar 6 21:42:10 2012 UTC (2 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2298: +6 -0 lines
Diff to previous 1.2298
Fix SBCL backend for Windows.

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

Revision 1.2298 - (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.2297: +4 -0 lines
Diff to previous 1.2297
* swank.lisp (swank-require): Ensure that provide as called.

Revision 1.2297 - (view) (annotate) - [select for diffs]
Tue Feb 14 16:46:33 2012 UTC (2 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.2296: +1 -1 lines
Diff to previous 1.2296
Fix ChangeLog typo.

Revision 1.2296 - (view) (annotate) - [select for diffs]
Sun Feb 12 17:00:46 2012 UTC (2 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.2295: +5 -0 lines
Diff to previous 1.2295
* swank-ecl.lisp (accept-connection): Use the proper element-type
for the stream.

Revision 1.2295 - (view) (annotate) - [select for diffs]
Sun Feb 12 15:38:06 2012 UTC (2 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.2294: +5 -0 lines
Diff to previous 1.2294
* swank-clisp.lisp (c-error): The number of parameters to
sys::c-warn was changed, accommodate both versions.

Revision 1.2294 - (view) (annotate) - [select for diffs]
Tue Feb 7 15:48:15 2012 UTC (2 years, 2 months ago) by msimmons
Branch: MAIN
Changes since 1.2293: +5 -0 lines
Diff to previous 1.2293
swank-lispworks.lisp (dspec-file-position): Fall back to regexp
search if dspec-stream-position gets an error.

Revision 1.2293 - (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.2292: +15 -0 lines
Diff to previous 1.2292
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.2292 - (view) (annotate) - [select for diffs]
Mon Jan 2 04:20:52 2012 UTC (2 years, 3 months ago) by sboukarev
Branch: MAIN
Changes since 1.2291: +5 -0 lines
Diff to previous 1.2291
* swank-loader.lisp (lisp-version-string): Append -no-threads to
SBCL without threads.

Revision 1.2291 - (view) (annotate) - [select for diffs]
Sat Dec 24 17:45:23 2011 UTC (2 years, 3 months ago) by sboukarev
Branch: MAIN
Changes since 1.2290: +6 -0 lines
Diff to previous 1.2290
* slime.el (slime-init-command): Don't call
`slime-to-lisp-filename', the lisp is not yet connected and if
there's another connection it will use the wrong translation.

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

Revision 1.2290 - (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.2289: +7 -0 lines
Diff to previous 1.2289
* 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.2289 - (view) (annotate) - [select for diffs]
Fri Dec 23 20:03:15 2011 UTC (2 years, 3 months ago) by sboukarev
Branch: MAIN
Changes since 1.2288: +5 -0 lines
Diff to previous 1.2288
* slime.el (slime-cycle-connections): Add
`slime-cycle-connections-hook', to be used by slime-repl.

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

Revision 1.2288 - (view) (annotate) - [select for diffs]
Wed Dec 21 16:19:51 2011 UTC (2 years, 3 months ago) by sboukarev
Branch: MAIN
Changes since 1.2287: +5 -0 lines
Diff to previous 1.2287
* swank-sbcl.lisp (input-ready-p): Don't use
sb-impl::fd-stream-fd-type if it's not present.

Revision 1.2287 - (view) (annotate) - [select for diffs]
Mon Dec 12 06:59:26 2011 UTC (2 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.2286: +6 -0 lines
Diff to previous 1.2286
* slime.el (slime-compile-region): Run slime-flash-region
directly, not from `slime-before-compile-functions', which is run
also for C-c C-k.

Revision 1.2286 - (view) (annotate) - [select for diffs]
Sat Dec 10 12:58:42 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2285: +3 -3 lines
Diff to previous 1.2285
Fix some typos.

Revision 1.2285 - (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.2284: +8 -0 lines
Diff to previous 1.2284
* 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.2284 - (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.2283: +4 -0 lines
Diff to previous 1.2283
* swank.lisp: Move global io-redirection contrib/slime-repl.lisp.

Revision 1.2283 - (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.2282: +10 -0 lines
Diff to previous 1.2282
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.2282 - (view) (annotate) - [select for diffs]
Sat Dec 10 12:33:28 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2281: +5 -0 lines
Diff to previous 1.2281
* swank-loader.lisp (delete-stale-contrib-fasl-files): New.
(compile-contribs): Use it.

Revision 1.2281 - (view) (annotate) - [select for diffs]
Fri Dec 9 11:02:03 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2280: +17 -0 lines
Diff to previous 1.2280
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.2280 - (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.2279: +5 -0 lines
Diff to previous 1.2279
* swank.lisp (*slime-interrupts-enabled*): Describe the idea
behind the interrupt handlig code a bit.

Revision 1.2279 - (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.2278: +11 -0 lines
Diff to previous 1.2278
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.2278 - (view) (annotate) - [select for diffs]
Wed Dec 7 19:23:44 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2277: +6 -0 lines
Diff to previous 1.2277
* slime.el ([xemacs]): Use (find-coding-system 'utf-8-unix)
instead of checking the XEmacs version to decide when 'un-define
is required.

Revision 1.2277 - (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.2276: +5 -0 lines
Diff to previous 1.2276
* swank.lisp (send-to-emacs): Add a without-slime-interrupts to
protect send/receive from arbitrary interrupts.

Revision 1.2276 - (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.2275: +22 -1 lines
Diff to previous 1.2275
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.2275 - (view) (annotate) - [select for diffs]
Wed Dec 7 18:02:16 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2274: +5 -0 lines
Diff to previous 1.2274
* slime.el (slime-update-system-indentation): Moved to
contrib/slime-indentation.el.

Revision 1.2274 - (view) (annotate) - [select for diffs]
Wed Dec 7 18:02:03 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2273: +9 -0 lines
Diff to previous 1.2273
* slime.el (slime-batch-test): Forgot to rename slime-run-one-test
to slime-run-test here.
(slime-net-connect): Remove coding-system argument.
(slime-xref-insert-recompilation-flags): Use insert-char instead
of (dotimes (i ..) (insert " " ..)) to avoid the compiler warning.
([test] break, slime-forward-sexp): Use _i in dotimes.

Revision 1.2273 - (view) (annotate) - [select for diffs]
Wed Dec 7 15:10:10 2011 UTC (2 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.2272: +4 -0 lines
Diff to previous 1.2272
* doc/.cvsignore: Aadd html.tgz

Revision 1.2272 - (view) (annotate) - [select for diffs]
Wed Dec 7 15:05:53 2011 UTC (2 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.2271: +5 -0 lines
Diff to previous 1.2271
* doc/.cvsignore: Add more files generated by Texinfo (.kys, .fns
and .vrs).

Revision 1.2271 - (view) (annotate) - [select for diffs]
Tue Dec 6 18:57:34 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2270: +6 -0 lines
Diff to previous 1.2270
* slime.el ([xemacs]): Don't require 'un-define in XEmacs 21.5 and
later. Mule-UCS is not needed anymore because of internal Unicode
support (and conflicts with it).

Revision 1.2270 - (view) (annotate) - [select for diffs]
Tue Dec 6 15:09:04 2011 UTC (2 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.2269: +6 -0 lines
Diff to previous 1.2269
* slime.el (slime-compile-region): Check connection before running
hooks, invoking slime-flash-region doesn't make much sense when
there's no connection.

Revision 1.2269 - (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.2268: +7 -4 lines
Diff to previous 1.2268
* swank.lisp (background-message): Do nothing if connection.slowdown is set.

Revision 1.2268 - (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.2267: +29 -0 lines
Diff to previous 1.2267
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.2267 - (view) (annotate) - [select for diffs]
Mon Dec 5 10:09:09 2011 UTC (2 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.2266: +4 -0 lines
Diff to previous 1.2266
* start-swank.lisp: Remove :coding-system argument.

Revision 1.2266 - (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.2265: +5 -0 lines
Diff to previous 1.2265
* swank.lisp (interrupt-worker-thread): Don't use find-repl-thread
as fallback.

Revision 1.2265 - (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.2264: +5 -0 lines
Diff to previous 1.2264
* swank.lisp: Minor cleanups.
* swank-rpc.lisp:

Revision 1.2264 - (view) (annotate) - [select for diffs]
Sun Dec 4 15:05:41 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2263: +15 -0 lines
Diff to previous 1.2263
* swank.lisp (create-repl): Moved to contrib/swank-repl.lisp.
(*use-dedicated-output-stream*, *dedicated-output-stream-port*
(*dedicated-output-stream-buffering*, open-streams)
(make-output-function, send-user-output)
(make-output-function-for-target, make-output-stream-for-target)
(open-dedicated-output-stream, find-repl-thread)
(spawn-repl-thread, repl-loop, initialize-streams-for-connection)
(read-user-input-from-emacs,  *listener-eval-function*)
(listener-eval, *send-repl-results-function*, repl-eval)
(clear-repl-variables, track-package, send-repl-results-to-emacs)
(redirect-trace-output);
* swank-loader.lisp (*contribs*): Add swank-repl.

Revision 1.2263 - (view) (annotate) - [select for diffs]
Sun Dec 4 14:54:45 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2262: +4 -0 lines
Diff to previous 1.2262
* swank-loader.lisp (*contribs*): Add swank-mrepl.

Revision 1.2262 - (view) (annotate) - [select for diffs]
Sun Dec 4 14:54:35 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2261: +4 -0 lines
Diff to previous 1.2261
* swank-rpc.lisp (read-chunk): Signal end-of-file we had no input.

Revision 1.2261 - (view) (annotate) - [select for diffs]
Sat Dec 3 15:31:08 2011 UTC (2 years, 4 months ago) by nsiivola
Branch: MAIN
Changes since 1.2260: +6 -0 lines
Diff to previous 1.2260
sbcl: another run at WAIT-FOR-INPUT

  This is still disturbingly under-the-hood stuff, but at least we're using
  fewer internal symbols: drop poll() based solution, use SYSREAD-MAY-BLOCK-P
  in INPUT-READ-P instead.

Revision 1.2260 - (view) (annotate) - [select for diffs]
Sat Dec 3 12:03:37 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2259: +7 -0 lines
Diff to previous 1.2259
* swank-allegro.lisp (set-default-initial-binding): In 9.0 alpha,
*CL-DEFAULT-SPECIAL-BINDINGS* is [soon to be] deprecated.  It's
otherwise the same EXCL:*REQUIRED-TOP-LEVEL-BINDINGS* (i.e. no
change in behavior).

Revision 1.2259 - (view) (annotate) - [select for diffs]
Sat Dec 3 12:03:26 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2258: +4 -0 lines
Diff to previous 1.2258
* swank-mrepl.lisp (package-prompt): Use <= instead of < to give
package-name priority over nicknames.

Revision 1.2258 - (view) (annotate) - [select for diffs]
Fri Dec 2 20:24:03 2011 UTC (2 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.2257: +2 -1 lines
Diff to previous 1.2257
* swank-sbcl.lisp (wait-for-input): Define only if
#+os-provides-poll or #+win32.

Revision 1.2257 - (view) (annotate) - [select for diffs]
Fri Dec 2 19:52:14 2011 UTC (2 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.2256: +4 -0 lines
Diff to previous 1.2256
* swank-sbcl.lisp (wait-for-input): Use poll only on #+os-provides-poll.

Revision 1.2256 - (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.2255: +5 -0 lines
Diff to previous 1.2255
* swank.lisp (listener-channel): Moved to contrib/swank-mrepl.lisp
(create-listener, initial-listener-bindings, spawn-listener-thread).

Revision 1.2255 - (view) (annotate) - [select for diffs]
Thu Dec 1 22:34:41 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2254: +6 -1 lines
Diff to previous 1.2254
* swank-sbcl.lisp (wait-for-input): Call poll(2).
* swank-backend.lisp (wait-for-streams, wait-for-one-stream):
Deleted. Wouldn't work on binary streams.

Revision 1.2254 - (view) (annotate) - [select for diffs]
Thu Dec 1 16:55:02 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2253: +4 -0 lines
Diff to previous 1.2253
* swank-loader.lisp (*contribs*): Add swank-util.

Revision 1.2253 - (view) (annotate) - [select for diffs]
Thu Dec 1 16:54:51 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2252: +4 -0 lines
Diff to previous 1.2252
* swank-cmucl.lisp (method-location): Special case accessors.

Revision 1.2252 - (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.2251: +6 -0 lines
Diff to previous 1.2251
* swank.lisp (do-symbols*, classify-symbol)
(symbol-classification-string): Moved to contrib/swank-util.lisp.

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

Revision 1.2250 - (view) (annotate) - [select for diffs]
Sun Nov 27 21:47:14 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2249: +17 -0 lines
Diff to previous 1.2249
* 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.2249 - (view) (annotate) - [select for diffs]
Sun Nov 27 19:24:53 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2248: +4 -0 lines
Diff to previous 1.2248
* swank-cmucl.lisp (make-socket-io-stream): Create a character
stream if external-format is non-nil.

Revision 1.2248 - (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.2247: +17 -0 lines
Diff to previous 1.2247
* 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.2247 - (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.2246: +5 -0 lines
Diff to previous 1.2246
* swank.lisp (eval-in-frame-aux): Don't bind *package* during
eval.

Revision 1.2246 - (view) (annotate) - [select for diffs]
Mon Nov 21 19:52:25 2011 UTC (2 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.2245: +5 -0 lines
Diff to previous 1.2245
* swank-cmucl.lisp: Trigger compilation of utf8 stuff before first
real use.

Revision 1.2245 - (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.2244: +14 -3 lines
Diff to previous 1.2244
* 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.2244 - (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.2243: +14 -0 lines
Diff to previous 1.2243
* 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.2243 - (view) (annotate) - [select for diffs]
Sat Nov 19 16:35:58 2011 UTC (2 years, 5 months ago) by nsiivola
Branch: MAIN
Changes since 1.2242: +5 -0 lines
Diff to previous 1.2242
sbcl: restart-frame can restart anon and lexical functions now

  ...at least when the stars and entry points align.

Revision 1.2242 - (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.2241: +9 -0 lines
Diff to previous 1.2241
* 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.2241 - (view) (annotate) - [select for diffs]
Sat Nov 12 14:43:01 2011 UTC (2 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.2240: +5 -0 lines
Diff to previous 1.2240
* slime.el (slime-ed): add bytep argument to destructure-case.
When it's true, position is interpreted as byte offset.

* contrib/swank-fancy-inspector.lisp (make-pathname-ispec): Use :position
instead of :charpos, according to slime-ed interface. Add :bytep
t, telling slime-ed to interpret it as byte offset.

Revision 1.2240 - (view) (annotate) - [select for diffs]
Tue Nov 8 08:15:34 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2239: +7 -0 lines
Diff to previous 1.2239
Restore old header format.

* swank-rpc.lisp (parse-header, write-header)
* slime.el (slime-net-decode-length, slime-net-encode-length)

Revision 1.2239 - (view) (annotate) - [select for diffs]
Sun Nov 6 18:34:51 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2238: +1 -0 lines
Diff to previous 1.2238
* swank-ecl.lisp (accept-connection): Fix buffering arg.
* swank-cmucl.lisp (accept-connection): Fix buffering arg.

Revision 1.2238 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:39:29 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2237: +4 -0 lines
Diff to previous 1.2237
* swank-cmucl.lisp (accept-connection): Fix buffering arg.

Revision 1.2237 - (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.2236: +6 -2 lines
Diff to previous 1.2236
* slime.el (slime-run-test): Renamed from slime-run-one-test.
(slime-toggle-test-debug-on-error): New.
([test] break): Longer timeouts.

Revision 1.2236 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:06:30 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2235: +13 -0 lines
Diff to previous 1.2235
Add portable versions for string-to-utf8 and utf8-to-string.

* swank-backend.lisp (default-string-to-utf8)
(default-utf8-to-string): New.
(string-to-utf8, utf8-to-string): Use default implementations.

* swank-lispworks.lisp (make-flexi-stream): Restored.
(utf8-stream): Deleted.  The utf8 stuff is now used for the
default implementation of utf8-to-string and would cause name
clashes.

Revision 1.2235 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:06:19 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2234: +6 -0 lines
Diff to previous 1.2234
* swank-allegro.lisp (swank-compile-string): For reader errors
return nil not (values nil nil t).

Revision 1.2234 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:06:08 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2233: +31 -0 lines
Diff to previous 1.2233
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.2233 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:05:52 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2232: +4 -0 lines
Diff to previous 1.2232
* swank.lisp (close-connection): Fix thinko.

Revision 1.2232 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:05:41 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2231: +9 -22 lines
Diff to previous 1.2231
* swank-abcl.lisp (accept-connection): Make it so.
* swank-clisp.lisp (accept-connection): Make it so.
* swank-cmucl.lisp (accept-connection): Make it so.
* swank-lispworks.lisp (accept-connection): Make it so.
* swank-sbcl.lisp (accept-connection): Make it so.
* swank-scl.lisp (accept-connection): Make it so.

Revision 1.2231 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:05:27 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2230: +6 -0 lines
Diff to previous 1.2230
* swank-backend.lisp (accept-connection): Improve docstring.  In
particular say that we want a binary stream if the EXTERNAL-FORMAT
argument is nil.

Revision 1.2230 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:05:16 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2229: +4 -0 lines
Diff to previous 1.2229
* swank-sbcl.lisp (string-to-utf8, string-to-utf8): Implemented.

Revision 1.2229 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:05:05 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2228: +4 -0 lines
Diff to previous 1.2228
* swank-lispworks.lisp (string-to-utf8, string-to-utf8): Implemented.

Revision 1.2228 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:04:54 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2227: +4 -0 lines
Diff to previous 1.2227
* swank-cmucl.lisp (string-to-utf8, string-to-utf8): Implemented.

Revision 1.2227 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:04:43 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2226: +4 -0 lines
Diff to previous 1.2226
* swank-clisp.lisp (string-to-utf8, string-to-utf8): Implemented.

Revision 1.2226 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:04:32 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2225: +4 -0 lines
Diff to previous 1.2225
* swank-ccl.lisp (string-to-utf8, string-to-utf8): Implemented.

Revision 1.2225 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:04:21 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2224: +4 -0 lines
Diff to previous 1.2224
* swank-allegro.lisp (string-to-utf8, string-to-utf8): Implemented.

Revision 1.2224 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:04:10 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2223: +5 -0 lines
Diff to previous 1.2223
* swank-abcl.lisp (string-to-utf8, string-to-utf8): Implemented.
(octets-to-jbytes, jbytes-to-octets): New helpers.

Revision 1.2223 - (view) (annotate) - [select for diffs]
Sun Nov 6 17:03:59 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2222: +4 -0 lines
Diff to previous 1.2222
* swank-backend.lisp (utf8-to-string, string-to-utf8): New.

Revision 1.2222 - (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.2221: +4 -0 lines
Diff to previous 1.2221
* swank.lisp (close-connection): Be more careful with non-ascii.

Revision 1.2221 - (view) (annotate) - [select for diffs]
Thu Nov 3 18:31:19 2011 UTC (2 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2220: +8 -0 lines
Diff to previous 1.2220
Remove dependecy on FLEXI-STREAMS for Lispworks.

* swank-lispworks.lisp (make-flexi-stream): Deleted.
(utf8-stream): New class to do the transcoding.
(accept-connection): Use it.

Revision 1.2220 - (view) (annotate) - [select for diffs]
Wed Oct 19 09:47:57 2011 UTC (2 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.2219: +5 -0 lines
Diff to previous 1.2219
* swank-allegro.lisp (frob-allegro-field-def): Add missing type to
ecase for inspector.  Patch from Andrew Myers.

Revision 1.2219 - (view) (annotate) - [select for diffs]
Thu Oct 13 09:24:02 2011 UTC (2 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.2218: +5 -0 lines
Diff to previous 1.2218
* 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.2218 - (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.2217: +5 -0 lines
Diff to previous 1.2217
* 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.2217 - (view) (annotate) - [select for diffs]
Wed Sep 28 16:49:53 2011 UTC (2 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.2216: +5 -0 lines
Diff to previous 1.2216
* slime.el: Remove (require 'hideshow), it's not used anymore.
Spotted by Leo Liu.

Revision 1.2216 - (view) (annotate) - [select for diffs]
Tue Sep 27 06:06:28 2011 UTC (2 years, 6 months ago) by mevenson
Branch: MAIN
Changes since 1.2215: +6 -0 lines
Diff to previous 1.2215
abcl: Differntiate fboundp symbol descriptions.

Revision 1.2215 - (view) (annotate) - [select for diffs]
Tue Sep 13 22:20:41 2011 UTC (2 years, 7 months ago) by crhodes
Branch: MAIN
Changes since 1.2214: +6 -0 lines
Diff to previous 1.2214
minor simple-completion change

only display "[Complete but not unique]" in the minibuffer if the
possibly-partial completion is in fact a full completion.

Revision 1.2214 - (view) (annotate) - [select for diffs]
Thu Sep 1 06:29:30 2011 UTC (2 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.2213: +6 -0 lines
Diff to previous 1.2213
* swank-sbcl.lisp (preferred-communication-style): check for
 :sb-thread before :win32, so :spawn is preferred for threaded
 Windows builds.

Revision 1.2213 - (view) (annotate) - [select for diffs]
Wed Aug 31 13:18:11 2011 UTC (2 years, 7 months ago) by nsiivola
Branch: MAIN
Changes since 1.2212: +5 -0 lines
Diff to previous 1.2212
sbcl: support for SBCL < 1.0.42.43

  In theory at least -- :SERVE-EVENTS keyword argument to MAKE-SOCKET-STREAM
  was introduced then, but I don't claim to have extensively tested current
  Slime with SBCLs that old.

Revision 1.2212 - (view) (annotate) - [select for diffs]
Fri Aug 26 11:10:47 2011 UTC (2 years, 7 months ago) by mevenson
Branch: MAIN
Changes since 1.2211: +5 -0 lines
Diff to previous 1.2211
abcl: fix inspection for classes not using the standard metaclass.

Revision 1.2211 - (view) (annotate) - [select for diffs]
Thu Aug 18 09:41:15 2011 UTC (2 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.2210: +7 -0 lines
Diff to previous 1.2210
Fix line numbers for compiler notes if is narrowing was in effect.

* slime.el (slime-canonicalized-location): Widen before calling
line-number-at-pos.

Revision 1.2210 - (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.2209: +6 -0 lines
Diff to previous 1.2209
* swank-allegro.lisp (with-redirected-y-or-n-p): Fix modern-mode
issues.
Patch by Andrew Myers.

Revision 1.2209 - (view) (annotate) - [select for diffs]
Tue Aug 9 10:27:25 2011 UTC (2 years, 8 months ago) by nsiivola
Branch: MAIN
Changes since 1.2208: +6 -0 lines
Diff to previous 1.2208
sbcl: use explicit :SERVE-EVENTS T with sockets when necessary

  It won't be the default for much longer.

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

Revision 1.2207 - (view) (annotate) - [select for diffs]
Mon Aug 8 12:30:46 2011 UTC (2 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.2206: +10 -9 lines
Diff to previous 1.2206
Minor reformatting: break lines at 80 columns.

Revision 1.2206 - (view) (annotate) - [select for diffs]
Sun Jul 3 18:15:38 2011 UTC (2 years, 9 months ago) by nsiivola
Branch: MAIN
Changes since 1.2205: +6 -0 lines
Diff to previous 1.2205
sbcl: teach the SBCL backend about &MORE vars

  Only makes a difference on bleeding-edge SBCL.

Revision 1.2205 - (view) (annotate) - [select for diffs]
Tue Jun 21 11:24:01 2011 UTC (2 years, 10 months ago) by nsiivola
Branch: MAIN
Changes since 1.2204: +12 -0 lines
Diff to previous 1.2204
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.2204 - (view) (annotate) - [select for diffs]
Sat Jun 18 11:51:22 2011 UTC (2 years, 10 months ago) by nsiivola
Branch: MAIN
Changes since 1.2203: +9 -0 lines
Diff to previous 1.2203
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.2203 - (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.2202: +2 -0 lines
Diff to previous 1.2202
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.2202 - (view) (annotate) - [select for diffs]
Thu Jun 16 08:28:45 2011 UTC (2 years, 10 months ago) by nsiivola
Branch: MAIN
Changes since 1.2201: +6 -0 lines
Diff to previous 1.2201
sbcl: compiling from buffer tmpfile directory can be a symlink

 ...so need to PROBE-FILE to make sure the pathnames match before
 comparison.

Revision 1.2201 - (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.2200: +5 -0 lines
Diff to previous 1.2200
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.2200 - (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.2199: +3 -0 lines
Diff to previous 1.2199
fix &optional and &key handling in MACRO-INDENTATION

  * Don't count &optional.

  * Deal with &key and &rest identically.

Revision 1.2199 - (view) (annotate) - [select for diffs]
Tue Jun 14 14:00:10 2011 UTC (2 years, 10 months ago) by nsiivola
Branch: MAIN
Changes since 1.2198: +5 -0 lines
Diff to previous 1.2198
slime-indentation: remove stale system indentations

  When updating common-lisp-system-indentation, remove
  old indentation specs from packages which have a new one.

Revision 1.2198 - (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.2197: +6 -0 lines
Diff to previous 1.2197
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.2197 - (view) (annotate) - [select for diffs]
Thu Jun 9 17:48:47 2011 UTC (2 years, 10 months ago) by nsiivola
Branch: MAIN
Changes since 1.2196: +5 -0 lines
Diff to previous 1.2196
fix swank-sbcl.lisp execv -- sb-posix:syscall-error broke backwards compatibility

Revision 1.2196 - (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.2195: +16 -0 lines
Diff to previous 1.2195
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.2195 - (view) (annotate) - [select for diffs]
Fri May 27 07:45:44 2011 UTC (2 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2194: +8 -0 lines
Diff to previous 1.2194
Fix "wrong number of args" problem with slime-inspector-quit.
Reported by Anton Kovalenko.

* slime.el (slime-popup-buffer-quit-function)
(slime-quit-threads-buffer): Drop the kill-buffer-p argument.

Revision 1.2194 - (view) (annotate) - [select for diffs]
Tue May 24 06:27:55 2011 UTC (2 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2193: +9 -0 lines
Diff to previous 1.2193
* slime.el (destructure-case): Fix "`_' not left unused" warnings.
Insert an (ignore) form for empty bodies; this inhibts the
compiler transformation that leads to the spurios warning.  This
has no runtime cost in compiled code, since the compiler
recognizes (ignore) and emits no code for it.
(slime-flatten-tree): Deleted. No longer used.

Revision 1.2193 - (view) (annotate) - [select for diffs]
Mon May 23 22:51:45 2011 UTC (2 years, 10 months ago) by sboukarev
Branch: MAIN
Changes since 1.2192: +6 -0 lines
Diff to previous 1.2192
* 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.2192 - (view) (annotate) - [select for diffs]
Mon May 23 11:41:27 2011 UTC (2 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2191: +7 -0 lines
Diff to previous 1.2191
* slime.el (slime-apropos-label-properties): Deleted.  Just
auto-load apropos-mode.
(slime-print-apropos): Use the variable apropos-label-face
which seems to exist in all relevant Emacsen.

Revision 1.2191 - (view) (annotate) - [select for diffs]
Sun May 22 07:18:52 2011 UTC (2 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.2190: +19 -0 lines
Diff to previous 1.2190
Turn on lexical-binding for slime.el.
This mostly involves prefixing unused variables
with underscores to shut up the compiler, but
also some less harmless changes.

* slime.el (slime-dispatching-connection, slime-current-thread):
Add defvars.
(slime-connect): called-interactively-p wants 1 arg in Emacs 24
but none in Emacs 22.  So we can't use it; instead add an extra
optional arg and set that to non-nil in the interactive spec.
(slime-read-from-minibuffer): Actually use the history arg.
(slime-inspector-quit): Drop the unused kill-buffer arg from the
lambda-list.
(slime-run-tests): Can't specbind slime-repl-history-file without
variable declation.  I don't want to declare it here so I just
eliminated it and let somebody else fix slime-repl.el.

Revision 1.2190 - (view) (annotate) - [select for diffs]
Sat May 21 18:11:39 2011 UTC (2 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.2189: +18 -0 lines
Diff to previous 1.2189
Minor tweaks to avoid some compiler warnings.

* slime.el (slime-modeline-string, slime-buffer-connection):
Declare variables.
(slime-flatten-tree): Helper function.
(destructure-case): Use it, and make '_ ignorable if
it occurs in some pattern.
(slime-connect): Avoid obsolete functions:
string-to-int -> string-to-number
interactive-p -> called-interactively-p
(slime-complete-maybe-restore-window-configuration)
last-command-char -> last-command-event
completion-base-size ->  completion-base-position
(slime-xref-mode-map): Use call-interactively
when calling the remapped next-line/previous-line commands.

Revision 1.2189 - (view) (annotate) - [select for diffs]
Mon May 9 10:48:10 2011 UTC (2 years, 11 months ago) by nsiivola
Branch: MAIN
CVS Tags: SLIME-2-2
Changes since 1.2188: +10 -0 lines
Diff to previous 1.2188
sbcl: use WITH-COMPILATION-UNIT :SOURCE-NAMESTRING

  Allows recording the right source-file for C-c C-c,
  which in turn allows SBCL's redefinition muffling
  to work right.

  This in turn makes it sensible to turn

    *trap-load-time-warnings*

  on by default.

Revision 1.2188 - (view) (annotate) - [select for diffs]
Sun May 8 10:16:20 2011 UTC (2 years, 11 months ago) by nsiivola
Branch: MAIN
Changes since 1.2187: +11 -0 lines
Diff to previous 1.2187
slime-indentation: make custom indentation hints from CL side work right

  * Downcase symbol-names for convenience -- |&lambda| gets tedious
    pretty quick.

  * Intern strings in indentation specs on the Emacs side, so that
    complex indentation hints can work.

Revision 1.2187 - (view) (annotate) - [select for diffs]
Sat Apr 16 05:17:59 2011 UTC (3 years ago) by sboukarev
Branch: MAIN
Changes since 1.2186: +6 -0 lines
Diff to previous 1.2186
* slime.el (slime-load-failed-fasl): New variable. Accepts `ask',
`always', and `never' symbols. Loads or not loads fasls produced by
compile-file which returned non-nil failure-p.

Revision 1.2186 - (view) (annotate) - [select for diffs]
Thu Apr 14 01:21:10 2011 UTC (3 years ago) by sboukarev
Branch: MAIN
Changes since 1.2185: +9 -0 lines
Diff to previous 1.2185
* 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.2185 - (view) (annotate) - [select for diffs]
Sun Mar 13 21:11:12 2011 UTC (3 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.2184: +5 -0 lines
Diff to previous 1.2184
* swank.lisp (format-restarts-for-emacs): Add
without-printing-errors around restart printing.

Revision 1.2184 - (view) (annotate) - [select for diffs]
Wed Mar 9 20:09:57 2011 UTC (3 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2183: +9 -0 lines
Diff to previous 1.2183
Remove slime-sexp-at-point-for-macroexpansion.

* slime.el (slime-sexp-at-point-for-macroexpansion): Deleted.
(slime-eval-macroexpand): Use slime-sexp-at-point instead.
(slime-eval-macroexpand-inplace): Use
slime-bounds-of-sexp-at-point directly.

Revision 1.2183 - (view) (annotate) - [select for diffs]
Wed Mar 9 20:09:48 2011 UTC (3 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2182: +10 -0 lines
Diff to previous 1.2182
Move some of the logic from slime-sexp-at-point-for-macroexpansion
into slime-sexp-at-point.

* slime.el (slime-bounds-of-sexp-at-point): New.  Special case if
we are at '( as slime-sexp-at-point-for-macroexpansion does.
(slime-bounds-of-symbol-at-point): New.
(slime-symbol-at-point, slime-sexp-at-point): Use the above.

Thank God for the test suite.

Revision 1.2182 - (view) (annotate) - [select for diffs]
Thu Feb 24 06:38:34 2011 UTC (3 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.2181: +6 -0 lines
Diff to previous 1.2181
* swank-allegro.lisp (find-topframe): Fix excl::int-newest-frame
invocation for the latest alpha version of Allegro.
Patch by Gábor Melis.

Revision 1.2181 - (view) (annotate) - [select for diffs]
Fri Feb 18 20:38:41 2011 UTC (3 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.2180: +5 -0 lines
Diff to previous 1.2180
* slime.el (slime-init-popup-buffer): Don't use
multiple-value-setq on a list, XEmacs doesn't like it.

Revision 1.2180 - (view) (annotate) - [select for diffs]
Fri Feb 18 20:12:06 2011 UTC (3 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.2179: +6 -0 lines
Diff to previous 1.2179
* slime.el (slime-insert-threads): Make sure newlines have the
same thread-id property as the rest of the line. This fixes
confusion when point is at the end of a line.

Revision 1.2179 - (view) (annotate) - [select for diffs]
Sun Feb 13 05:46:21 2011 UTC (3 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.2178: +5 -0 lines
Diff to previous 1.2178
* slime.el (slime-inspector-operate-on-point): Don't save the
point when inspecting a different object.
(slime-inspector-operate-on-point): If there is no action property
directly at the point, try looking at (1- (point)), many
inspectable objects are presented the end of the line, so it's
easier to navigate to them by C-e and still being able to activate
it.

Revision 1.2178 - (view) (annotate) - [select for diffs]
Sun Feb 13 05:30:45 2011 UTC (3 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.2177: +5 -0 lines
Diff to previous 1.2177
* slime.el (slime-inspector-operate-on-point): Don't save the
point when inspecting a different object.

Revision 1.2177 - (view) (annotate) - [select for diffs]
Tue Feb 8 18:18:40 2011 UTC (3 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.2176: +7 -0 lines
Diff to previous 1.2176
* slime.el (slime-choose-overlay-
region): Don't use `list' instead
of `values', GNU Emacs fakes multiple values with lists, but
XEmacs uses real multiple values.

Revision 1.2176 - (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.2175: +6 -0 lines
Diff to previous 1.2175
Be careful with interning.

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

Revision 1.2175 - (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.2174: +8 -0 lines
Diff to previous 1.2174
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.2174 - (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.2173: +5 -0 lines
Diff to previous 1.2173
* swank.lisp (eval-in-emacs): Return unreadable results from Emacs
as an unreadable-object, not as a string.

Revision 1.2173 - (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.2172: +6 -0 lines
Diff to previous 1.2172
* 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.2172 - (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.2171: +4 -0 lines
Diff to previous 1.2171
* swank.lisp (eval-in-emacs): Export it.

Revision 1.2171 - (view) (annotate) - [select for diffs]
Fri Jan 28 19:19:30 2011 UTC (3 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.2170: +5 -0 lines
Diff to previous 1.2170
* slime.el (slime-check-location-filename-sanity): Guard
against target-filename being NIL.

Revision 1.2170 - (view) (annotate) - [select for diffs]
Wed Jan 26 07:17:50 2011 UTC (3 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.2169: +7 -0 lines
Diff to previous 1.2169
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.2169 - (view) (annotate) - [select for diffs]
Thu Jan 20 23:34:21 2011 UTC (3 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.2168: +8 -0 lines
Diff to previous 1.2168
* swank-ecl.lisp (+TAGS+): change
(translate-logical-pathname #P"SYS:TAGS") to
(merge-pathnames "TAGS" (translate-logical-pathname "SYS:"))
because of case conversion the former results in a pathname with a
name "tags", which doesn't exist.

Revision 1.2168 - (view) (annotate) - [select for diffs]
Fri Dec 10 15:05:05 2010 UTC (3 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.2167: +4 -0 lines
Diff to previous 1.2167
* slime.el (slime-with-popup-buffer): Correct the docstring.

* contrib/slime-sprof.el (slime-sprof-browser): Rename to
`slime-sprof-report', leave `slime-sprof-browser' as an alias.

Revision 1.2167 - (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.2166: +5 -0 lines
Diff to previous 1.2166
* slime.el (slime-toggle-break-on-signals): New command.
* swank.lisp (toggle-break-on-signals): The corresponding Lisp code.

Revision 1.2166 - (view) (annotate) - [select for diffs]
Thu Dec 2 16:39:00 2010 UTC (3 years, 4 months ago) by msimmons
Branch: MAIN
Changes since 1.2165: +7 -0 lines
Diff to previous 1.2165
(frame-actual-args): Reimplement to include
only the values like on other platforms and deal with, optional
key and rest args.
(print-frame): Format the frame as a call like in other backends.

Revision 1.2165 - (view) (annotate) - [select for diffs]
Sat Nov 13 11:18:03 2010 UTC (3 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2164: +10 -0 lines
Diff to previous 1.2164
Improve source locations for compiler messages in Lispworks.

* swank-lispworks.lisp (map-error-database)
(signal-error-data-base, make-dspec-progenitor-location): Pass the
edit-path along.
(signal-undefined-functions): No edit-path available so just use
nil.

Revision 1.2164 - (view) (annotate) - [select for diffs]
Fri Nov 12 19:42:51 2010 UTC (3 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2163: +14 -0 lines
Diff to previous 1.2163
Improve frame-source-location for Lispworks.

* swank-lispworks.lisp (frame-source-location): Exctract the
edit-path from the frame and pass it to Emacs.
(edit-path-to-cmucl-source-path): New function.
(frame-location): Use it.

* slime.el (slime-location-offset): Add a :edit-path property.
(slime-search-edit-path): New function.
(slime-search-call-site): Fix regexp to match
zero arg functions.

Revision 1.2163 - (view) (annotate) - [select for diffs]
Sun Nov 7 19:48:21 2010 UTC (3 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2162: +6 -0 lines
Diff to previous 1.2162
* swank-backend.lisp (label-value-line): Remove display-nil-value.
And the other stuff too.
(label-value-line*): Idem.

Revision 1.2162 - (view) (annotate) - [select for diffs]
Sun Nov 7 19:48:14 2010 UTC (3 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.2161: +5 -0 lines
Diff to previous 1.2161
* swank-loader.lisp: ASDF free again.  And proud of it!
(default-fasl-dir, load-swank): Remove asdf stuff.

Revision 1.2161 - (view) (annotate) - [select for diffs]
Wed Nov 3 11:00:40 2010 UTC (3 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.2160: +5 -0 lines
Diff to previous 1.2160
* swank-loader.lisp (*architecture-features*): Add :arm for CCL
ARM port.

Revision 1.2160 - (view) (annotate) - [select for diffs]
Tue Nov 2 12:32:10 2010 UTC (3 years, 5 months ago) by msimmons
Branch: MAIN
Changes since 1.2159: +7 -0 lines
Diff to previous 1.2159
* swank-lispworks.lisp (list-callers-internal): Revert to previous
low level implementation, fixed for LW6.
(list-callees-internal): Reimplement using low level instead of
the compiler's xref.

Revision 1.2159 - (view) (annotate) - [select for diffs]
Sat Oct 23 12:18:28 2010 UTC (3 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.2158: +7 -0 lines
Diff to previous 1.2158
* slime.el (slime-goto-location-position): In case of
(:function-name name) go to (point-min) before searching for
function. Remove redundant regexp and regexp-quote function name
before inserting it into a regexp.

Revision 1.2158 - (view) (annotate) - [select for diffs]
Thu Oct 21 08:07:03 2010 UTC (3 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.2157: +15 -0 lines
Diff to previous 1.2157
In ABCL, try harder to find the source of stack frames.

* swank-abcl.lisp (source-location): Now a GF.
(source-location [java-stack-frame]): New.
(source-location [lisp-stack-frame]): New.
(source-location [function]): New.
(frame-source-location, find-definitions): Use them.
(*source-path*, find-definitions): New.
(system-property, pathname-parent, pathname-absolute-p)
(split-string, path-separator, search-path-property)
(jdk-source-path, class-path, zipfile-contains-p)
(find-file-in-path): Noise for filename frobbing.

Revision 1.2157 - (view) (annotate) - [select for diffs]
Thu Oct 21 08:06:55 2010 UTC (3 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.2156: +11 -0 lines
Diff to previous 1.2156
Require ABCL 0.22 and remove obsolete conditionalisation.

* swank-abcl.lisp (call-with-debugger-hook)
(install-debugger-globally)
(call-with-debugging-environment, backtrace, print-frame, spawn):
Remove #+/#- stuff.
(preferred-communication-style): Return :spawn unconditionally.
(sys::break): Removed.

Revision 1.2156 - (view) (annotate) - [select for diffs]
Wed Oct 20 11:42:19 2010 UTC (3 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.2155: +7 -0 lines
Diff to previous 1.2155
* slime.el (slime-connect): Convert the port number read from
minibuffer to an integer, passing it as a string to
`make-network-process' isn't portable.
Patch by Marko Kocic.

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

Revision 1.2154 - (view) (annotate) - [select for diffs]
Tue Oct 19 11:59:25 2010 UTC (3 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.2153: +6 -0 lines
Diff to previous 1.2153
* swank-sbcl.lisp (deinit-log-output): Use the right symbol for
*LOG-OUTPUT*, swank package isn't available at the time
swank-backend is compiled.

Revision 1.2153 - (view) (annotate) - [select for diffs]
Sat Oct 16 10:10:38 2010 UTC (3 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.2152: +6 -0 lines
Diff to previous 1.2152
* swank-loader.lisp (default-fasl-dir): Guard against using :asdf
package if it doesn't exist.
Patch by Anton Vodonosov.

Revision 1.2152 - (view) (annotate) - [select for diffs]
Fri Oct 15 22:53:45 2010 UTC (3 years, 6 months ago) by alendvai
Branch: MAIN
Changes since 1.2151: +4 -0 lines
Diff to previous 1.2151
Better integration with ASDF.

Revision 1.2151 - (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.2150: +19 -0 lines
Diff to previous 1.2150
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.2150 - (view) (annotate) - [select for diffs]
Sat Oct 9 23:02:32 2010 UTC (3 years, 6 months ago) by rtoy
Branch: MAIN
Changes since 1.2149: +13 -0 lines
Diff to previous 1.2149
Add CODEPOINT-LENGTH function to return the number of codepoints in a
string.  Needed to make sure that Emacs and Lisp agree on the length
of a string.  Emacs wants codepoints and some lisps give code units.

Revision 1.2149 - (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.2148: +16 -0 lines
Diff to previous 1.2148
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.2148 - (view) (annotate) - [select for diffs]
Thu Oct 7 17:15:07 2010 UTC (3 years, 6 months ago) by nsiivola
Branch: MAIN
Changes since 1.2147: +10 -0 lines
Diff to previous 1.2147
SBCL: null *log-output* when saving core

	Hanging on to a *log-output* from a previous image is bad on SBCL
	at least: it is initialized to an FD-STREAM, which cannot be
	reused from one image to another.

	Deal with this by using sb-ext:*save-hooks* to clear the
        stream.

Revision 1.2147 - (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.2146: +15 -0 lines
Diff to previous 1.2146
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.2146 - (view) (annotate) - [select for diffs]
Fri Oct 1 09:30:43 2010 UTC (3 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.2145: +10 -0 lines
Diff to previous 1.2145
Don't use indent-sexp for macroexpanded code.
indent-sexp is potentially slow and usually redundant.

* slime.el (slime-initialize-macroexpansion-buffer): Don't use
indent-sexp.
(slime-eval-macroexpand-inplace): Avoid indent-sexp but
use slime-insert-indented.

Revision 1.2145 - (view) (annotate) - [select for diffs]
Fri Oct 1 09:30:34 2010 UTC (3 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.2144: +9 -0 lines
Diff to previous 1.2144
Save result in kill ring for M-- C-x C-e.
For C-u C-x C-e set mark before inserting.

* slime.el (slime-eval-save): New function.
(slime-eval-print): Set mark before inserting.
(slime-interactive-eval): Use it.

Revision 1.2144 - (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.2143: +6 -0 lines
Diff to previous 1.2143
* 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.2143 - (view) (annotate) - [select for diffs]
Wed Sep 22 14:53:14 2010 UTC (3 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.2142: +6 -0 lines
Diff to previous 1.2142
* swank-clisp.lisp (*external-format-to-coding-system*): Remove
stray :latin-1 argument for ext:make-encoding.
Reported by Mirko Vukovic.

Revision 1.2142 - (view) (annotate) - [select for diffs]
Mon Sep 20 16:09:13 2010 UTC (3 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.2141: +6 -0 lines
Diff to previous 1.2141
* swank-cmucl.lisp (character-completion-set): Implement. Requires
recent versions of CMUCL.
Patch by Raymond Toy.

Revision 1.2141 - (view) (annotate) - [select for diffs]
Sat Sep 18 09:34:05 2010 UTC (3 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.2140: +8 -2 lines
Diff to previous 1.2140
	* swank-backend.lisp (valid-function-name-p): New interface.
	(compiler-macroexpand-1): Use it to guard against type errors
	from COMPILER-MACRO-FUNCTION.

	* swank-arglist.lisp (function-exists-p): Renamed from
	FUNCTION-EXISTS-P. Uses new SWANK-BACKEND:VALID-FUNCTION-NAME-P
	underneath.
	(valid-operator-name-p): Unused, hence deleted.
	(boundp-and-interesting): Renamed from INTERESTING-VARIABLE-P.

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

Revision 1.2139 - (view) (annotate) - [select for diffs]
Sat Sep 18 08:54:01 2010 UTC (3 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.2138: +18 -0 lines
Diff to previous 1.2138
	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.2138 - (view) (annotate) - [select for diffs]
Fri Sep 3 22:29:43 2010 UTC (3 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.2137: +5 -0 lines
Diff to previous 1.2137
* slime.el (slime-forward-cruft): Use " \t\n" to match whitespaces
instead of [:space:], XEmacs compatibility.

Revision 1.2137 - (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.2136: +12 -0 lines
Diff to previous 1.2136
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.2136 - (view) (annotate) - [select for diffs]
Thu Sep 2 17:21:09 2010 UTC (3 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.2135: +5 -0 lines
Diff to previous 1.2135
* swank-cmucl.lisp: #-cmu19 -> #+cmu18, cmu18 is allegedly the
oldest supported CMUCL.

Revision 1.2135 - (view) (annotate) - [select for diffs]
Wed Sep 1 13:18:55 2010 UTC (3 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.2134: +6 -0 lines
Diff to previous 1.2134
* swank-sbcl.lisp (background-save-image): add #-win32, because it
uses symbols not present on win32.
Reported by Holly Styles.

Revision 1.2134 - (view) (annotate) - [select for diffs]
Tue Aug 31 23:44:40 2010 UTC (3 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.2133: +6 -0 lines
Diff to previous 1.2133
* swank-cmucl.lisp (foreign-frame-p, gdb-exec, frame-ip): Sparc
support.
Patch by Raymond Toy.

Revision 1.2133 - (view) (annotate) - [select for diffs]
Tue Aug 31 10:33:15 2010 UTC (3 years, 7 months ago) by nsiivola
Branch: MAIN
Changes since 1.2132: +6 -0 lines
Diff to previous 1.2132
sbcl: Better VOP descriptions for XREF buffers

Revision 1.2132 - (view) (annotate) - [select for diffs]
Sun Aug 29 00:00:09 2010 UTC (3 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.2131: +8 -0 lines
Diff to previous 1.2131
* swank-cmucl.lisp (*gdb-program-name*): Determine gdb location
from PATH.
(gdb-exec): Use *gdb-program-name* instead of "gdb".
(gdb-command): Mac OS X compatibility.
Patch by Raymond Toy.

Revision 1.2131 - (view) (annotate) - [select for diffs]
Wed Aug 25 08:20:09 2010 UTC (3 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.2130: +6 -0 lines
Diff to previous 1.2130
* swank-sbcl.lisp (exec-image): Use (car sb-ext:*posix-argv*) if
SBCL doesn't have sb-ext:*runtime-pathname*.
Reported by Vinay.

Revision 1.2130 - (view) (annotate) - [select for diffs]
Sun Aug 22 10:51:10 2010 UTC (3 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.2129: +7 -0 lines
Diff to previous 1.2129
* slime.el (slime-xemacs-recompute-modelines): Add
`slime-xemacs-recompute-modelines' to `pre-idle-hook', this solves
the problem of synchronization of modelines.
Thanks to Aidan Kehoe.

Revision 1.2129 - (view) (annotate) - [select for diffs]
Sat Aug 21 21:31:28 2010 UTC (3 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.2128: +9 -0 lines
Diff to previous 1.2128
* slime.el (slime-recompute-modelines): Recompute modelines only
for visible buffers. Kludge: modeline can be out of sync if the buffer
becomes visible and no slime/lisp interaction took place yet.
Patch by Raymond Toy.
(slime-search-buffer-package): Revert, with the above
change caching shouldn't be necessary.

Revision 1.2128 - (view) (annotate) - [select for diffs]
Sat Aug 21 06:42:14 2010 UTC (3 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.2127: +18 -0 lines
Diff to previous 1.2127
*** empty log message ***

Revision 1.2127 - (view) (annotate) - [select for diffs]
Fri Aug 20 03:42:52 2010 UTC (3 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.2126: +2 -0 lines
Diff to previous 1.2126
(slime-search-buffer-package): Cache the package, searching every time
on large buffers may be slow.

Revision 1.2126 - (view) (annotate) - [select for diffs]
Fri Aug 20 02:48:18 2010 UTC (3 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.2125: +6 -0 lines
Diff to previous 1.2125
* slime.el (slime-maybe-complete-as-filename): Limit backward
search for #\", it slows down on large buffers.
Reported by Raymond Toy.

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

Revision 1.2124 - (view) (annotate) - [select for diffs]
Fri Aug 13 07:25:23 2010 UTC (3 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.2123: +7 -0 lines
Diff to previous 1.2123
Find definition for (def-vm-support-routine NAME ...)

* swank-cmucl.lisp (vm-support-routine-definitions): New.
(find-definitions): Use it.

Revision 1.2123 - (view) (annotate) - [select for diffs]
Thu Aug 12 12:09:45 2010 UTC (3 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.2122: +5 -0 lines
Diff to previous 1.2122
* swank-sbcl.lisp (save-image): Fix save-lisp-and-die invocation.
Based on a patch by Anton Kovalenko.

Revision 1.2122 - (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.2121: +10 -0 lines
Diff to previous 1.2121
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.2121 - (view) (annotate) - [select for diffs]
Fri Aug 6 14:10:50 2010 UTC (3 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.2120: +5 -0 lines
Diff to previous 1.2120
* swank-ccl.lisp (spawn): Revert the previous change, using
:use-standard-initial-bindings nil might be not thread-safe.

Revision 1.2120 - (view) (annotate) - [select for diffs]
Thu Aug 5 12:12:34 2010 UTC (3 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.2119: +6 -0 lines
Diff to previous 1.2119
* swank-ccl.lisp (spawn): Specify
:use-standard-initial-bindings nil, so that *readtable*
etc. modifications persist.

Revision 1.2119 - (view) (annotate) - [select for diffs]
Wed Aug 4 18:41:04 2010 UTC (3 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.2118: +6 -0 lines
Diff to previous 1.2118
* swank-allegro.lisp (fspec-definition-locations): Default
&optional position to 0, otherwise it may cause errors later.
Reported by: Paulo Madeira.

Revision 1.2118 - (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.2117: +7 -0 lines
Diff to previous 1.2117
* 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.2117 - (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.2116: +10 -0 lines
Diff to previous 1.2116
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.2116 - (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.2115: +5 -0 lines
Diff to previous 1.2115
* swank.lisp (print-part-to-string): Bind *print-readably* to nil.
Useful when debugging broken printer methods.

Revision 1.2115 - (view) (annotate) - [select for diffs]
Thu Jul 22 13:45:46 2010 UTC (3 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.2114: +5 -0 lines
Diff to previous 1.2114
* swank-lispworks.lisp (list-callers-internal): Fix for LW6.
(list-callees-internal): New function, use it.

Revision 1.2114 - (view) (annotate) - [select for diffs]
Wed Jul 21 13:40:32 2010 UTC (3 years, 9 months ago) by sboukarev
Branch: MAIN
Changes since 1.2113: +7 -0 lines
Diff to previous 1.2113
* swank-sbcl.lisp (quit-lisp): Use sb-thread:terminate-thread
instead of sb-ext:quit :recklessly-p t. This way
sb-ext:*exit-hooks* will be run.
Reported by Lorenz Mösenlechner.

Revision 1.2113 - (view) (annotate) - [select for diffs]
Tue Jul 6 12:09:19 2010 UTC (3 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.2112: +8 -0 lines
Diff to previous 1.2112
Find definition for (%primitive NAME ...)

* swank-cmucl.lisp (template-definitions, primitive-definitions):
New functions.
(find-definitions): Use them.

Revision 1.2112 - (view) (annotate) - [select for diffs]
Tue Jun 22 10:02:49 2010 UTC (3 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.2111: +4 -0 lines
Diff to previous 1.2111
* swank-loader.lisp (*architecture-features*): ECL uses :x86_64.

Revision 1.2111 - (view) (annotate) - [select for diffs]
Fri Jun 18 12:31:54 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2110: +5 -0 lines
Diff to previous 1.2110
* slime.el (slime-current-tlf-number,slime-current-form-path):
Moved to contrib/slime-parse.el.

Revision 1.2110 - (view) (annotate) - [select for diffs]
Fri Jun 18 12:31:43 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2109: +7 -0 lines
Diff to previous 1.2109
Don't use goto-line.

* slime.el (slime-goto-line): New function as replacement without
goto-line's cruft that we don't want.

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

Revision 1.2108 - (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.2107: +4 -0 lines
Diff to previous 1.2107
* swank.lisp: Move definition of LCONS before first use.
Patch from Stelian Ionescu <sionescu@cddr.org>

Revision 1.2107 - (view) (annotate) - [select for diffs]
Fri Jun 4 07:30:13 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2106: +4 -0 lines
Diff to previous 1.2106
* swank-allegro.lisp (socket-fd): Add support for allegro.

Revision 1.2106 - (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.2105: +15 -0 lines
Diff to previous 1.2105
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.2105 - (view) (annotate) - [select for diffs]
Fri May 28 13:55:30 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2104: +8 -0 lines
Diff to previous 1.2104
Fix last change.

* slime.el (define-slime-contrib): Fix names.
Remove provide; makes no sense to call provide before file is
completely loaded.

Revision 1.2104 - (view) (annotate) - [select for diffs]
Fri May 28 13:37:50 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2103: +4 -0 lines
Diff to previous 1.2103
* slime.el (define-slime-contrib): Use destructuring-bind.

Revision 1.2103 - (view) (annotate) - [select for diffs]
Fri May 28 13:37:40 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2102: +7 -0 lines
Diff to previous 1.2102
Move some var-defs before first use.

* slime.el (slime-show-xref-buffer, slime-read-connection)
(slime-thread-index-to-id):

Revision 1.2102 - (view) (annotate) - [select for diffs]
Fri May 28 10:49:44 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2101: +13 -0 lines
Diff to previous 1.2101
Move wacky parsing code to contrib.

* slime.el (slime-extract-context, slime-parse-context)
(slime-in-expression-p, slime-pattern-path)
(slime-beginning-of-list, slime-end-of-list)
(slime-parse-toplevel-form, slime-arglist-specializers)
(slime-definition-at-point, slime-current-parser-state): Moved to
contrib/slime-parse.el
(slime-inspect-definition, slime-disassemble-definition): Moved to
contrib/slime-fancy-inspector.el

Revision 1.2101 - (view) (annotate) - [select for diffs]
Thu May 27 15:00:58 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2100: +4 -0 lines
Diff to previous 1.2100
* slime.el ([test] interactive-eval): Fix test.

Revision 1.2100 - (view) (annotate) - [select for diffs]
Thu May 27 14:48:19 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2099: +4 -0 lines
Diff to previous 1.2099
* swank-ccl.lisp (socket-fd): Implement backend function.

Revision 1.2099 - (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.2098: +8 -0 lines
Diff to previous 1.2098
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.2098 - (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.2097: +4 -0 lines
Diff to previous 1.2097
* swank.lisp (swank-error): Unrename from swank-protocol-error.

Revision 1.2097 - (view) (annotate) - [select for diffs]
Thu May 27 14:47:55 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2096: +4 -0 lines
Diff to previous 1.2096
* swank-cmucl.lisp (parse-gdb-line-info): Try working dir first.

Revision 1.2096 - (view) (annotate) - [select for diffs]
Thu May 27 14:47:48 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2095: +5 -0 lines
Diff to previous 1.2095
* slime.el (slime-defun-if-undefined): Renamed from
slime-DEFUN-if-undefined. No need to yell.

Revision 1.2095 - (view) (annotate) - [select for diffs]
Thu May 27 14:47:39 2010 UTC (3 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.2094: +5 -0 lines
Diff to previous 1.2094
* slime.el (slime-compile-file): Only send non-nil keyword args.
(slime-hack-quotes): New function.

Revision 1.2094 - (view) (annotate) - [select for diffs]
Tue May 18 09:12:46 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.2093: +12 -0 lines
Diff to previous 1.2093
* 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.2093 - (view) (annotate) - [select for diffs]
Sun May 16 04:15:18 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.2092: +5 -0 lines
Diff to previous 1.2092
* slime.el (slime-close-popup-window): Don't kill
slime-popup-restore-data local variable in another buffer.

Revision 1.2092 - (view) (annotate) - [select for diffs]
Thu May 13 15:31:06 2010 UTC (3 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.2091: +4 -0 lines
Diff to previous 1.2091
	* slime.el (define-slime-contrib): New macro.

	* slime-autodoc.el, slime-c-p-c.el, slime-compiler-notes-tree.el,
	slime-enclosing-context.el, slime-fancy.el, slime-fuzzy.el,
	slime-hyperdoc.el, slime-mdot-fu.el, slime-mrepl.el,
	slime-parse.el, slime-presentations.el, slime-repl.el,
	slime-snapshot.el, slime-tramp.el, slime-xref-browser.el:

	Use newly added `define-slime-contrib' macro to specify
	slime and swank dependencies, and to specify what should happen on
	contrib load/unload.

Revision 1.2091 - (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.2090: +8 -0 lines
Diff to previous 1.2090
	* 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.2090 - (view) (annotate) - [select for diffs]
Tue May 11 13:11:13 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.2089: +1 -0 lines
Diff to previous 1.2089
(slime-parse-context): Add :defstruct and :defpackage.

Revision 1.2089 - (view) (annotate) - [select for diffs]
Tue May 11 12:48:16 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.2088: +5 -0 lines
Diff to previous 1.2088
* slime.el (slime-inspect-definition): New function,
inspects definition at point.

Revision 1.2088 - (view) (annotate) - [select for diffs]
Mon May 10 05:29:43 2010 UTC (3 years, 11 months ago) by mevenson
Branch: MAIN
Changes since 1.2087: +1 -1 lines
Diff to previous 1.2087
Correct email address in ChangeLog.

Revision 1.2087 - (view) (annotate) - [select for diffs]
Mon May 10 05:27:55 2010 UTC (3 years, 11 months ago) by mevenson
Branch: MAIN
Changes since 1.2086: +5 -0 lines
Diff to previous 1.2086
* swank-loader.lisp (*architecture-features*): Add Java platforms as
  features for ABCL.

Revision 1.2086 - (view) (annotate) - [select for diffs]
Thu May 6 06:18:32 2010 UTC (3 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.2085: +8 -0 lines
Diff to previous 1.2085
Remove some non-standard file variables.

* swank-cmucl.lisp, swank-scl.lisp: Remove pbook vars.
* swank-clisp.lisp: Remove indentation settings. Slime does it
automatically.

Revision 1.2085 - (view) (annotate) - [select for diffs]
Wed May 5 18:10:17 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.2084: +4 -0 lines
Diff to previous 1.2084
* slime.el (slime-dispatch-event): Fix typo in the previous commit.

Revision 1.2084 - (view) (annotate) - [select for diffs]
Wed May 5 16:00:42 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.2083: +5 -0 lines
Diff to previous 1.2083
* Make buffer names more consistent.
Patch by Leo Liu.

Revision 1.2083 - (view) (annotate) - [select for diffs]
Wed May 5 05:25:29 2010 UTC (3 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.2082: +4 -0 lines
Diff to previous 1.2082
* swank-cmucl.lisp (gdb-command): Use gdb's MI.

Revision 1.2082 - (view) (annotate) - [select for diffs]
Wed May 5 05:19:46 2010 UTC (3 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.2081: +6 -0 lines
Diff to previous 1.2081
Fix for Cygwin Emacs filename problem.
* slime.el (slime-init-command): Use slime-to-lisp-filename.
Patch from Mark Evenson.

Revision 1.2081 - (view) (annotate) - [select for diffs]
Wed May 5 05:19:37 2010 UTC (3 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.2080: +5 -0 lines
Diff to previous 1.2080
* slime.el (sldb-exit): When stepping, close buffer after a delay.
(sldb-close-step-buffer): New function.

Revision 1.2080 - (view) (annotate) - [select for diffs]
Sat May 1 06:12:30 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.2079: +9 -0 lines
Diff to previous 1.2079
* contrib/slime-repl.el (slime-repl-update-banner): Use slime-move-point
instead of goto-char alone, ensuring that the point is moved even
if the window isn't currently selected.

* slime.el (slime-restart-sentinel): Don't pop to the inferior
buffer, since this command is usually run either from
*inferior-lisp* buffer or from REPL, it makes sense to reuse
current window instead of messing up window configuration.
(slime-move-point): New function, moves point in a buffer and
its window.

Revision 1.2079 - (view) (annotate) - [select for diffs]
Fri Apr 30 03:14:35 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.2078: +5 -0 lines
Diff to previous 1.2078
* slime.el (slime-compile-file): Run check-parens after checking
that the buffer is associated with a file.

Revision 1.2078 - (view) (annotate) - [select for diffs]
Tue Apr 27 13:03:59 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.2077: +4 -0 lines
Diff to previous 1.2077
* slime.el (slime-info): New function, opens the manual.

Revision 1.2077 - (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.2076: +6 -1 lines
Diff to previous 1.2076
* swank.lisp (format-values-for-echo-area): Also print the length of an
integer in bits.

Revision 1.2076 - (view) (annotate) - [select for diffs]
Fri Apr 23 03:00:20 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.2075: +4 -0 lines
Diff to previous 1.2075
* slime.el (slime-update-threads-buffer): Use slime-eval-async.

Revision 1.2075 - (view) (annotate) - [select for diffs]
Fri Apr 23 02:46:27 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.2074: +8 -0 lines
Diff to previous 1.2074
* slime.el (slime-inspector-buffer): Use slime-with-popup-buffer,
that solves the problem with keybindings shadowed by slime-mode.
Reported by Nathan Bird.

* README: Better wording.

Revision 1.2074 - (view) (annotate) - [select for diffs]
Thu Apr 22 05:47:35 2010 UTC (3 years, 11 months ago) by sboukarev
Branch: MAIN
Changes since 1.2073: +9 -0 lines
Diff to previous 1.2073
	* swank-backend.lisp (with-symbol): Test for package before doing
	find-symbol.
	* swank-sbcl.lisp(Multiprocessing): use with-symbol.
	(emacs-inspect t): Remove newlines from text returned by
	sb-impl::inspected-parts, otherwise there will be ".." inserted by
	the printer due to (*print-lines* 1).

Revision 1.2073 - (view) (annotate) - [select for diffs]
Wed Apr 21 08:54:10 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.2072: +8 -0 lines
Diff to previous 1.2072
* slime.el (slime-open-inspector): Use forward-line instead of
goto-line, since it doesn't result in  "Mark set" message.
(slime-inspector-buffer): Enable slime-mode after enabling
slime-inspector-mode, otherwise the former will be disabled by the
latter.

Revision 1.2072 - (view) (annotate) - [select for diffs]
Tue Apr 20 09:48:19 2010 UTC (4 years ago) by trittweiler
Branch: MAIN
Changes since 1.2071: +7 -0 lines
Diff to previous 1.2071
	* swank-sbcl.lisp (condition-timed-wait): New helper. Use
	WITH-DEADLINE rather than WITH-TIMEOUT because the latter conses a
	new timer, and this function is called _a lot_.
	(receive-if): Use it.

Revision 1.2071 - (view) (annotate) - [select for diffs]
Tue Apr 20 09:31:10 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.2070: +5 -0 lines
Diff to previous 1.2070
* slime.el (slime-update-threads-buffer): Save point position
on updates.

Revision 1.2070 - (view) (annotate) - [select for diffs]
Tue Apr 20 02:25:23 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.2069: +4 -0 lines
Diff to previous 1.2069
* README: advertise additional contribs, especially slime-fancy.

Revision 1.2069 - (view) (annotate) - [select for diffs]
Mon Apr 19 00:42:28 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.2068: +10 -0 lines
Diff to previous 1.2068
* 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.2068 - (view) (annotate) - [select for diffs]
Sun Apr 18 17:15:16 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.2067: +6 -0 lines
Diff to previous 1.2067
* slime.el (slime-threads-update-interval): Add :group and :type
parameters to this customization.
Thanks to Mark Harig.

Revision 1.2067 - (view) (annotate) - [select for diffs]
Sat Apr 17 18:10:20 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.2066: +13 -0 lines
Diff to previous 1.2066
* 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.2066 - (view) (annotate) - [select for diffs]
Thu Apr 15 18:01:13 2010 UTC (4 years ago) by trittweiler
Branch: MAIN
Changes since 1.2065: +6 -0 lines
Diff to previous 1.2065
	* slime.el (sldb-mode): Include some more commands in its help.
	(sldb-goto-last-frame): Do not center to the middle but to the
	bottom of the window.

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

Revision 1.2064 - (view) (annotate) - [select for diffs]
Wed Apr 14 17:51:47 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.2063: +4 -0 lines
Diff to previous 1.2063
* slime.el ([test] interrupt-encode-message): New test.

Revision 1.2063 - (view) (annotate) - [select for diffs]
Wed Apr 14 17:51:38 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.2062: +14 -0 lines
Diff to previous 1.2062
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.2062 - (view) (annotate) - [select for diffs]
Wed Apr 14 17:51:30 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.2061: +12 -0 lines
Diff to previous 1.2061
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.2061 - (view) (annotate) - [select for diffs]
Mon Apr 12 18:51:10 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.2060: +4 -4 lines
Diff to previous 1.2060
*** empty log message ***

Revision 1.2060 - (view) (annotate) - [select for diffs]
Mon Apr 12 18:51:00 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.2059: +4 -0 lines
Diff to previous 1.2059
* slime.el (slime-doc-bindings): Restore key for slime-apropos.

Revision 1.2059 - (view) (annotate) - [select for diffs]
Mon Apr 12 18:50:50 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.2058: +6 -6 lines
Diff to previous 1.2058
*** empty log message ***

Revision 1.2058 - (view) (annotate) - [select for diffs]
Mon Apr 12 18:38:51 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.2057: +12 -0 lines
Diff to previous 1.2057
Fix compile-file for various backends.

* slime.el (slime-compile-file): Only pass non-nil keyword args to
Lisp.
(slime-simplify-plist): New helper.
(slime-compile-and-load-file): Pass policy parameter directly
without using global variables.

* swank.lisp (compile-file-for-emacs): Change singature sightly.

Revision 1.2057 - (view) (annotate) - [select for diffs]
Tue Apr 6 03:05:25 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.2056: +6 -0 lines
Diff to previous 1.2056
* slime.el (slime-create-compilation-log): Enable
compilation-mode, which was enabled previously by
slime-insert-compilation-log.

Revision 1.2056 - (view) (annotate) - [select for diffs]
Mon Apr 5 18:56:12 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.2055: +3 -1 lines
Diff to previous 1.2055
* doc/slime.texi: Document the above change.

Revision 1.2055 - (view) (annotate) - [select for diffs]
Mon Apr 5 14:48:54 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.2054: +5 -0 lines
Diff to previous 1.2054
* slime-autodoc.el (slime-autodoc-full): New command,
displays multiline arglists. Bound to C-c C-d a.
(slime-make-autodoc-rpc-form): Don't send
:print-lines to autodoc, always use the actual width for
:print-right-margin, remove newlines on formatting when needed.
(slime-autodoc): Add optional parameter multilinep defaulted to
slime-autodoc-use-multiline-p, pass it to slime-format-autodoc.

* swank-arglists.lisp (autodoc, decoded-arglist-to-string): remove
print-lines parameter, it's not used anymore.

* slime.el (slime-doc-bindings): Move slime-apropos to C-c C-d A,
C-c C-d a will be bound to slime-autodoc-full.

Revision 1.2054 - (view) (annotate) - [select for diffs]
Mon Apr 5 10:53:02 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.2053: +4 -0 lines
Diff to previous 1.2053
* slime-sprof.el (slime-sprof-browser): Use slime-with-popup-buffer for
buffer creation.

* slime.el: Some further adaptations to the new slime-with-popup-buffer.

Revision 1.2053 - (view) (annotate) - [select for diffs]
Sun Apr 4 21:51:54 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.2052: +5 -0 lines
Diff to previous 1.2052
* slime.el (slime-insert-threads): Use header-line-format only when
it's present (XEmacs doesn't support it).

Revision 1.2052 - (view) (annotate) - [select for diffs]
Sun Apr 4 21:47:10 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.2051: +10 -0 lines
Diff to previous 1.2051
* slime.el (slime-with-popup-buffer): Make &optional parameters
&key parameters, add modes parameter.
slime-with-popup-buffer sets up some buffer local variables,
but enabling major modes kills all buffer locals, so modes should
be enabled before setting them.
Adopt changes to slime-with-popup-buffer where needed.
This fixes several bugs with popup buffers on non-default connections.

Revision 1.2051 - (view) (annotate) - [select for diffs]
Sat Apr 3 20:52:52 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.2050: +7 -0 lines
Diff to previous 1.2050
* slime.el (slime-update-threads-buffer): New formatting, with labels
and additional information provided by the backend.
* swank-allegro.lisp (thread-attributes): Move process-priority from
thread-status.

Revision 1.2050 - (view) (annotate) - [select for diffs]
Mon Mar 29 15:57:44 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.2049: +4 -0 lines
Diff to previous 1.2049
* slime.el: Add gud as compile-time dependency.

Revision 1.2049 - (view) (annotate) - [select for diffs]
Mon Mar 29 15:57:35 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.2048: +6 -0 lines
Diff to previous 1.2048
Compile swank-sbcl-exts only for SBCL.

* swank-loader.lisp (*contribs*): Add #+sbcl.

Revision 1.2048 - (view) (annotate) - [select for diffs]
Mon Mar 29 15:57:28 2010 UTC (4 years ago) by heller
Branch: MAIN
Changes since 1.2047: +12 -0 lines
Diff to previous 1.2047
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.2047 - (view) (annotate) - [select for diffs]
Mon Mar 29 14:30:59 2010 UTC (4 years ago) by trittweiler
Branch: MAIN
Changes since 1.2046: +5 -0 lines
Diff to previous 1.2046
	* 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.2046 - (view) (annotate) - [select for diffs]
Sat Mar 27 02:07:57 2010 UTC (4 years ago) by sboukarev
Branch: MAIN
Changes since 1.2045: +7 -0 lines
Diff to previous 1.2045
* slime.el (slime-check-location-buffer-name-sanity): Less duplication,
reuse slime-check-location-filename-sanity.
(slime-check-location-filename-sanity): Do any work only when
slime-warn-when-possibly-tricked-by-M-. is non-nil.

Revision 1.2045 - (view) (annotate) - [select for diffs]
Sun Mar 21 13:45:28 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.2044: +7 -0 lines
Diff to previous 1.2044
* start-swank.lisp: Document options to swank-loader:init.

* doc/slime.texi (Miscellaneous): mention
`sldb-break-with-system-debugger'.

Revision 1.2044 - (view) (annotate) - [select for diffs]
Sun Mar 21 12:41:09 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.2043: +5 -0 lines
Diff to previous 1.2043
* start-swank.lisp: New file for starting swank by simply doing
sbcl --load start-swank.lisp

Revision 1.2043 - (view) (annotate) - [select for diffs]
Fri Mar 19 12:32:30 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.2042: +17 -1 lines
Diff to previous 1.2042
	* 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.2042 - (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.2041: +19 -0 lines
Diff to previous 1.2041
	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.2041 - (view) (annotate) - [select for diffs]
Thu Mar 18 15:59:57 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.2040: +14 -0 lines
Diff to previous 1.2040
	Add M-x slime-attach-gdb as an interactive function.

	The ATTACH-GDB restart is nice because it's convenient and the
	backends can specify customized gdb configuration.

	Sometimes, if the Lisp is too screwed up, going over a restart
	involving the SWANK middle layer may not be possible. For that, a
	manual M-x slime-attach-gdb may come in handy.

	* slime.el (slime-read-connection): New helper.
	(slime-attach-gdb): Use it. Make it an interactive function.

Revision 1.2040 - (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.2039: +4 -0 lines
Diff to previous 1.2039
	* swank.lisp (call-with-gdb-restart): Forgot to remove trailing T.

Revision 1.2039 - (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.2038: +6 -0 lines
Diff to previous 1.2038
	* swank.lisp (open-dedicated-output-stream): Forgot to rename
	accept-authenticated-connection to accept-authenticated-client
	here.

Revision 1.2038 - (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.2037: +20 -2 lines
Diff to previous 1.2037
	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.2037 - (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.2036: +20 -0 lines
Diff to previous 1.2036
	* 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.2036 - (view) (annotate) - [select for diffs]
Tue Mar 16 16:20:07 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.2035: +7 -0 lines
Diff to previous 1.2035
	* swank-ecl.lisp (source-location): Also return EXT::FOO as
	candidate to search through the TAGS file because SI and EXT both
	name the same package, and in ECL's code base, sometimes the
	former, sometimes the latter is used.

Revision 1.2035 - (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.2034: +8 -0 lines
Diff to previous 1.2034
	* 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.2034 - (view) (annotate) - [select for diffs]
Thu Mar 11 09:02:29 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.2033: +7 -0 lines
Diff to previous 1.2033
	* swank-ecl.lisp (source-location): Move call to
	TRANSLATE-LOGICAL-PATHNAME from here into MAKE-FILE-LOCATION
	because locations-via-annotations may now also involve logical
	pathnames.

Revision 1.2033 - (view) (annotate) - [select for diffs]
Wed Mar 10 11:30:22 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.2032: +10 -1 lines
Diff to previous 1.2032
	* swank-ecl.lisp (*original-sigint-handler*)
	(install-sigint-handler): Deleted; we directly implement
	call-with-user-break-handler instead.
	(call-with-user-break-handler): New. Correctly interrupt main
	thread instead of newly spawned handle-signal thread on SIGINT.
	(make-interrupt-handler): New helper.

Revision 1.2032 - (view) (annotate) - [select for diffs]
Wed Mar 10 00:02:53 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.2031: +5 -0 lines
Diff to previous 1.2031
* swank-ccl.lisp (emacs-inspect function): Print closed over variables
in case of closure.

Revision 1.2031 - (view) (annotate) - [select for diffs]
Tue Mar 9 14:10:37 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.2030: +4 -0 lines
Diff to previous 1.2030
* contrib/slime-repl.el (slime-call-defun): When on defclass insert
 (make-instance 'name).

* slime.el (slime-parse-context): Add defclass.

Revision 1.2030 - (view) (annotate) - [select for diffs]
Tue Mar 9 09:20:13 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2029: +2 -0 lines
Diff to previous 1.2029
(pc-source-location): Be a bit more fuzzy when searching the
code-location for a pc.

Revision 1.2029 - (view) (annotate) - [select for diffs]
Tue Mar 9 08:15:05 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2028: +2 -0 lines
Diff to previous 1.2028
(ldb-code-to-src-loc): Don't use *temp-file-map* before it is declared.

Revision 1.2028 - (view) (annotate) - [select for diffs]
Tue Mar 9 08:02:37 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2027: +11 -0 lines
Diff to previous 1.2027
Some more fixes for Allegro

* swank-allegro.lisp (function-source-location): Use
xref::object-to-function-name which seems to work better for some
cases.
(fspec-definition-locations): For :top-level-forms return a list
of ((fspec loc)) not just (fspec loc).  Also deal with the file
vs. buffer issue.

Revision 1.2027 - (view) (annotate) - [select for diffs]
Mon Mar 8 16:31:59 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.2026: +4 -0 lines
Diff to previous 1.2026
* contrib/slime-repl.el (slime-call-defun): Work also on defvar/defparameter.

* slime.el (slime-extract-context): Add defvar and defparameter.

Revision 1.2026 - (view) (annotate) - [select for diffs]
Mon Mar 8 16:20:10 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2025: +8 -0 lines
Diff to previous 1.2025
Fix some of the brokeness in the last change.

* swank-allegro.lisp (frame-source-location): Deal with frames for
undefined functions better.
(ldb-code-to-src-loc): Handle temp-files properly.

Revision 1.2025 - (view) (annotate) - [select for diffs]
Mon Mar 8 12:21:43 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2024: +22 -0 lines
Diff to previous 1.2024
Try to use source-level debugging features in Allegro 8.2

* swank-allegro.lisp (disassemble-frame): Use undocumented
debugger::dyn-fd-analyze to figure out the PC and display it.
(pc-source-location, ldb-code-to-src-loc, longest-common-prefix)
(source-paths-of): New functions.
(frame-source-location): Use pc-source-location.  Still far from
optimal since Allegro rarely records source regions and anonymous
functions don't seem to carry source level debug-info at all.
(*temp-file-map*, buffer-or-file-location, find-fspec-location):
Use a table to map temp-file names back to Emacs buffers instead
of putting an eval-when-compile form in the source.  The
eval-when-compile form messed up source positions.
(*temp-file-header-end-position*, find-definition-in-buffer):
Deleted.
(compile-from-temp-file): Bind excl:*load-source-debug-info* and
compiler:save-source-level-debug-info-switch so that Allegro
doesn't try to load debug-info from deleted files.  Also put
the filename in *temp-file-map*.

Revision 1.2024 - (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.2023: +17 -0 lines
Diff to previous 1.2023
	* 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.2023 - (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.2022: +5 -0 lines
Diff to previous 1.2022
	* swank.lisp (close-connection): Include initially passed
	coding-system in debugging output.

Revision 1.2022 - (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.2021: +14 -0 lines
Diff to previous 1.2021
	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.2021 - (view) (annotate) - [select for diffs]
Sun Mar 7 16:22:17 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2020: +4 -0 lines
Diff to previous 1.2020
* swank-allegro.lisp (count-cr): Deleted.  No longer used.

Revision 1.2020 - (view) (annotate) - [select for diffs]
Sun Mar 7 16:22:10 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2019: +9 -0 lines
Diff to previous 1.2019
Handle src-locs of compiler warnings in Allegro 8.2.
Didn't somebody already fix that?

* swank-allegro.lisp (location-for-warning)
(handle-undefined-functions-warning): In 8.2 src-locs include not
only start but also and end positions.

Revision 1.2019 - (view) (annotate) - [select for diffs]
Sun Mar 7 07:40:46 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.2018: +7 -0 lines
Diff to previous 1.2018
* swank-ecl.lisp (source-location): Don't do
(setq file (tmpfile-to-buffer file)) in a COND condition,
otherwise next cond clause will get null file.
Apply translate-logical-pathname to pathnames.

Revision 1.2018 - (view) (annotate) - [select for diffs]
Fri Mar 5 17:45:34 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2017: +8 -0 lines
Diff to previous 1.2017
Remove some unused stuff.

* swank-ccl.lisp (openmcl-set-debug-switches)
(*interesting-internal-frames*)
(interesting-frame-p): Unused. Deleted.

Revision 1.2017 - (view) (annotate) - [select for diffs]
Fri Mar 5 17:45:26 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2016: +4 -0 lines
Diff to previous 1.2016
* swank-ccl.lisp: Indentation fixes.

Revision 1.2016 - (view) (annotate) - [select for diffs]
Fri Mar 5 16:11:40 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.2015: +6 -0 lines
Diff to previous 1.2015
	* swank-ecl.lisp: Make backend depend on ECL version 10.3.1 which
	just got released. We do not support older versions. Previous
	version pretty much didn't work in combination with Slime anyway.

Revision 1.2015 - (view) (annotate) - [select for diffs]
Fri Mar 5 11:05:52 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.2014: +16 -1 lines
Diff to previous 1.2014
	Ecl: Make M-. work on function interactively compiled via C-c C-c.

	* swank-ecl.lisp (*tmpfile-map*, note-buffer-tmpfile)
	(tmpfile-to-buffer): New helpers.
	(swank-compile-string): Use them. Also use new COMPILE-FILE
	keywords :SOURCE-TRUENAME and :SOURCE-OFFSET available in ECL
	HEAD.
	(find-definitions): Slurp in definition of
	FIND-DEFINITIONS-BY-NAME.
	(find-definitions-by-name): Hence not needed anymore.
	(source-location): Use TMPFILE-TO-BUFFER to get buffer source
	location of interactively compiled functions.

Revision 1.2014 - (view) (annotate) - [select for diffs]
Thu Mar 4 13:22:29 2010 UTC (4 years, 1 month ago) by mevenson
Branch: MAIN
Changes since 1.2013: +5 -0 lines
Diff to previous 1.2013
swank-abcl.lisp (emacs-inspect): Define default method to use the
result of SYS:INSPECTED-PARTS if non-nil.

Revision 1.2013 - (view) (annotate) - [select for diffs]
Wed Mar 3 19:51:33 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.2012: +5 -0 lines
Diff to previous 1.2012
* doc/slime.texi (Inspector): document slime-inspector-eval.
Patch by Mark Harig.

Revision 1.2012 - (view) (annotate) - [select for diffs]
Wed Mar 3 11:57:18 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2011: +38 -36 lines
Diff to previous 1.2011
Fix ChangeLog

Revision 1.2011 - (view) (annotate) - [select for diffs]
Wed Mar 3 11:57:11 2010 UTC (4 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.2010: +9 -0 lines
Diff to previous 1.2010
Don't special case special operators with M-. for CMUCL.

* swank-cmucl.lisp (function-definitions): Special operators will
have IR1-translators anyway, so no need to mark them "special".
(gf-definitions): Renamed from generic-function-definitions.

Revision 1.2010 - (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.2009: +3 -0 lines
Diff to previous 1.2009
* slime.el (slime-inspector-history): New command.

Revision 1.2009 - (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.2008: +7 -0 lines
Diff to previous 1.2008
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.2008 - (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.2007: +6 -0 lines
Diff to previous 1.2007
Use @ instead of # to mark object in the inspect history.

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

Revision 1.2007 - (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.2006: +7 -0 lines
Diff to previous 1.2006
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.2006 - (view) (annotate) - [select for diffs]
Tue Mar 2 14:36:47 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.2005: +6 -0 lines
Diff to previous 1.2005
* swank-sbcl.lisp (definition-source-for-emacs): Don't error when source
location doesn't contain form position, point emacs to the beginning of a source file
and if it's a function provide a snippet "(defun <name> ".

Revision 1.2005 - (view) (annotate) - [select for diffs]
Tue Mar 2 12:40:42 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.2004: +2 -0 lines
Diff to previous 1.2004
Forgot to commit ChangeLog.

Revision 1.2004 - (view) (annotate) - [select for diffs]
Tue Mar 2 12:38:06 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.2003: +14 -0 lines
Diff to previous 1.2003
* 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.2003 - (view) (annotate) - [select for diffs]
Mon Mar 1 15:42:07 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.2002: +4 -0 lines
Diff to previous 1.2002
* swank.lisp (documentation-symbol): Show arglists for functions too.

Revision 1.2002 - (view) (annotate) - [select for diffs]
Mon Mar 1 12:26:01 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.2001: +11 -0 lines
Diff to previous 1.2001
	Fix that annoying bug that caused being constantly asked to switch
	connection in case one had multiple connections running and quit
	from one.

	* slime.el (slime-modeline-string): Bail out early because
	`slime-current-package' involves `slime-connection' in case the
	slime-repl contrib is used, and querying the user in a
	periodically called function is rather annoying..

Revision 1.2001 - (view) (annotate) - [select for diffs]
Fri Feb 26 21:02:59 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.2000: +6 -0 lines
Diff to previous 1.2000
* swank-loader.lisp (ecl-version-string): Check length of
the result of ext:lisp-implementation-vcs-id before doing subseq.
On CVS it returns "unknown".

Revision 1.2000 - (view) (annotate) - [select for diffs]
Thu Feb 25 22:35:50 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.1999: +7 -0 lines
Diff to previous 1.1999
* swank-loader.lisp (ecl-version-string): In
#+(or) (progn #+#.(cl:print cl:nil) 1) PRINT does run on SBCL, which
breaks #+#.(cl:if (cl:find-symbol "SYMBOL" :ext) ...) here, guard it with
(find-package :ext) until further investigations.

Revision 1.1999 - (view) (annotate) - [select for diffs]
Thu Feb 25 16:35:22 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1998: +6 -0 lines
Diff to previous 1.1998
	* swank-loader.lisp (lisp-version-string): Add git-commit ids for
	ECL because individual commits do not guarantee fasl
	compatibility.

Revision 1.1998 - (view) (annotate) - [select for diffs]
Tue Feb 23 22:57:25 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1997: +8 -0 lines
Diff to previous 1.1997
	* swank-backend.lisp (when-let): New macro. For backends and
	swank.lisp.

	* swank-ecl.lisp: Use it. Also use new location support of ECL git
	HEAD.

Revision 1.1997 - (view) (annotate) - [select for diffs]
Tue Feb 23 20:54:30 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1996: +5 -0 lines
Diff to previous 1.1996
	* slime.el (slime-postprocess-xref): Show a TAGS entry's hints as
	part of an Xref's dspec for the case of multiple matches.

Revision 1.1996 - (view) (annotate) - [select for diffs]
Tue Feb 23 20:50:55 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1995: +16 -0 lines
Diff to previous 1.1995
	* swank-ecl.lisp (preferred-communication-style): Go back to
	NIL. Some parts (like the compiler and CLOS) of ECL do not seem to
	be thread-safe yet. Also get rid of non-working implementation of
	:FD-HANDLER.
	(poll-streams, wait-for-input): Implement on top of select() for
	communication-style=NIL.
	(*descriptor-handlers*, add-fd-handler, remove-fd-handlers): Get
	rid of.
	(grovel-docstring-for-arglist): Get rid of it, too.
	(arglist): ECL now provides an extra accessor to a function's
	arglist. Use that instead.
	(emacs-inspect): Get rid of the default method. Don't see its
	point.

Revision 1.1995 - (view) (annotate) - [select for diffs]
Mon Feb 22 21:43:30 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1994: +12 -0 lines
Diff to previous 1.1994
	Make swank-ecl.lisp work with latest ECL Git HEAD.

	* swank-ecl.lisp (assert-TAGS-file): Simplified.
	(assert-source-directory): New helper.
	(c-function-p): New helper.
	(c-function): Type based on above.
	(source-location): Move bits from FIND-DEFINITIONS-FOR-TYPE to
	this function. Use CONVERTING-ERRORS-TO-ERROR-LOCATION.
	(find-definitions-for-type): Simplified by using it.

Revision 1.1994 - (view) (annotate) - [select for diffs]
Mon Feb 22 21:38:45 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1993: +8 -0 lines
Diff to previous 1.1993
	* swank-backend.lisp (converting-errors-to-error-location): Moved
	here from swank-sbcl.lisp so other backends can make use of it, too.

	* swank-sbcl.lisp: The above macro was called slightly
	differently, so update uses accordingly.

Revision 1.1993 - (view) (annotate) - [select for diffs]
Mon Feb 22 12:56:36 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1992: +35 -0 lines
Diff to previous 1.1992
	Make M-. be able to jump right into the C source for ECL.

	Because it's based on TAGS files, M-. and M-* will DTRT once in a
	.c file.

	* swank-ecl.lisp (assert-TAGS-file): New helper.
	(classify-definition-name): Ditto.
	(find-definitions-for-type): Ditto. Understands Lisp and C
	functions.
	(find-definitions): Use them.
	(source-location): New helper. Extracted from FIND-SOURCE-LOCATION.
	(find-source-location): Use it.
	(swank-compile-string): Only try to delete temporary files if they
	exist.

Revision 1.1992 - (view) (annotate) - [select for diffs]
Sat Feb 20 19:15:59 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1991: +22 -0 lines
Diff to previous 1.1991
	More work on ECL's swank-backend.

	* swank-ecl.lisp (accept-connection): Handle :buffering, and
	:external-format.
	(external-format): New helper.
	(find-external-format): Make sure to only return :default in case
	ECL was built with --disable-unicode; it'll barf on anything else.
	(socket-fd): Add two-way-stream case due to recent changes in ECL.
	(make-file-location, make-buffer-location): New helpers.
	(condition-location): Use them.
	(swank-compile-file): Handle :external-format.
	(compile-from-stream): Deleted. Slurped into swank-compile-string.
	(swank-compile-string): Call SI:MKSTEMP correctly. Make sure to
	also remove fasl file, not just source file.
	(grovel-docstring-for-arglist): Do not look at "Syntax:" entry in
	docstring because that was a kludge. Upstream ECL should be
	modified instead.
	(in-swank-package-p, is-swank-source-p, is-ignorable-fun-p):
	Commented out. They make debugging ECL's swank-backend harder.

Revision 1.1991 - (view) (annotate) - [select for diffs]
Sat Feb 20 18:20:46 2010 UTC (4 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1990: +10 -0 lines
Diff to previous 1.1990
	* swank-loader.lisp (*architecture-features*): Add :PENTIUM3 and
	:PENTIUM4; they're used by ECL.
	(handle-swank-load-error): Renamed from HANDLE-LOADTIME-ERROR. Use
	*FASL-DIRECTORY* rather than (DEFAULT-FASL-DIR). Parametrize
	context to differentiate b/w compilation/loading.
	(compile-files): Adapted accordingly. Also make sure that an error
	is signaled in case COMPILE-FILE returns NIL as primary result.

Revision 1.1990 - (view) (annotate) - [select for diffs]
Sat Feb 20 15:12:19 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.1989: +3 -0 lines
Diff to previous 1.1989
* swank-ccl.lisp: Remove outdated comment at the beginning
since it may be misleading.

Revision 1.1989 - (view) (annotate) - [select for diffs]
Sat Feb 20 14:37:32 2010 UTC (4 years, 1 month ago) by sboukarev
Branch: MAIN
Changes since 1.1988: +8 -0 lines
Diff to previous 1.1988
* slime.el: In minor-mode-alist for slime-popup-buffer-mode,
run slime-modeline-string only if slime-mode isn't active, because
slime-mode runs slime-modeline-string from minor-mode-alist too
resulting in duplicate modeline strings.
Reported by Leo Liu.

Revision 1.1988 - (view) (annotate) - [select for diffs]
Thu Feb 18 18:46:02 2010 UTC (4 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.1987: +7 -0 lines
Diff to previous 1.1987
The compiler warns about various stuff. Fix some of it.

* slime.el (slime-add-local-hook): Remove support for Emacs 20.
(sldb-recenter-region): Use forward-line; not next-line.

Patch by Mark Harig.

Revision 1.1987 - (view) (annotate) - [select for diffs]
Wed Feb 17 17:04:59 2010 UTC (4 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.1986: +55 -0 lines
Diff to previous 1.1986
Fix changelogs.

Revision 1.1986 - (view) (annotate) - [select for diffs]
Wed Feb 17 17:04:45 2010 UTC (4 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.1985: +0 -1 lines
Diff to previous 1.1985
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.1985 - (view) (annotate) - [select for diffs]
Wed Feb 17 17:04:33 2010 UTC (4 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.1984: +1 -0 lines
Diff to previous 1.1984
Forgotten log entry

Revision 1.1984 - (view) (annotate) - [select for diffs]
Tue Feb 16 11:28:18 2010 UTC (4 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1983: +4 -0 lines
Diff to previous 1.1983
	* swank-loader.lisp: Compile files on ECL, too.

Revision 1.1983 - (view) (annotate) - [select for diffs]
Tue Feb 16 11:08:01 2010 UTC (4 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1982: +9 -0 lines
Diff to previous 1.1982
	Pimp my swank.

	* swank-ecl.lisp: We depend on ECL 10.2.1 which is not released
	yet -- you need git/cvs HEAD. Added :spawn, and :fd-handler as
	communication-style (Thanks to Ram Krishnan), improve compilation
	hooks so highligting of warnings works, + various cleanup.

Revision 1.1982 - (view) (annotate) - [select for diffs]
Mon Feb 15 21:42:37 2010 UTC (4 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1981: +7 -0 lines
Diff to previous 1.1981
	* slime.el (slime-load-contribs): Do not call SWANK-REQUIRE
	asynchronously, if host Lisp uses :SPAWN that may result in the
	attempt to load in code concurrently -- the host Lisp may not
	support that.

	* slime-asdf.el, slime-autodoc.el, slime-c-p-c.el,
	slime-clipboard.el, slime-fancy-inspector.el, slime-fuzzy,el,
	slime-indentation.el, slime-motd.el,
	slime-presentation-streams.el, slime-presentations.el,
	slime-sbcl-exts, slime-snapshot.el, slime-sprof.el:

	Make sure that contrib code does not try to load in swank code
	asynchronously but use `slime-require' instead; also make sure to
	move the `slime-require' into the contribs' init function.

Revision 1.1981 - (view) (annotate) - [select for diffs]
Sun Feb 14 18:26:01 2010 UTC (4 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1980: +5 -0 lines
Diff to previous 1.1980
	* slime.el (slime-attempt-connection): Fix typo. Thanks to Mark
	Harig for spotting it.

Revision 1.1980 - (view) (annotate) - [select for diffs]
Sat Feb 13 11:34:38 2010 UTC (4 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1979: +5 -0 lines
Diff to previous 1.1979
	* slime.el (slime-attempt-connection): Do not keep on trying to
	connect if inferior process died.

Revision 1.1979 - (view) (annotate) - [select for diffs]
Sun Feb 7 22:33:53 2010 UTC (4 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1978: +5 -0 lines
Diff to previous 1.1978
	* swank-ecl.lisp: Update threading code. ECL doesn't still work
	with :spawn, though. Work in progress.

Revision 1.1978 - (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.1977: +6 -0 lines
Diff to previous 1.1977
	* swank.lisp (xref-doit): Declare eql-specializing parameter
	ignorable, as some implementations complain about them not being
	used.

Revision 1.1977 - (view) (annotate) - [select for diffs]
Mon Feb 1 14:51:25 2010 UTC (4 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.1976: +17 -0 lines
Diff to previous 1.1976
* slime.el: Added missing pieces to make `slime-cycle-connections'
available from keystrokes.
(slime-prefix-bindings): Added "\C-xn" entry.
(slime-cycle-connections): Corrected grammar in doc string.
(def-slime-selector-method): Added menu item `n' to SLIME selector
menu.

* doc/slime.texi: Added a description for the new key sequence for
`slime-cycle-connections' and for the new menu item in the SLIME
selector menu.
Node slime-selector: Added menu item `n' and cross-references to
"Multiple Connections" node.
Node Multiple connections: Added C-c C-x n description.  Added
cross-references to `slime-selector' node.

Revision 1.1976 - (view) (annotate) - [select for diffs]
Sun Jan 31 19:07:54 2010 UTC (4 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1975: +7 -0 lines
Diff to previous 1.1975
	* hyperspec.el: When using C-c C-d ~ TAB, previously there were
	entries for "C" and "C: Character", which unpleasingly crowded the
	completion buffer, so I made it show one entry ("C - Character")
	only. RIP, erik.

Revision 1.1975 - (view) (annotate) - [select for diffs]
Sat Jan 30 15:59:52 2010 UTC (4 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.1974: +6 -1 lines
Diff to previous 1.1974
* slime.el (slime-cycle-connections): Change docstring, it
doesn't make connection buffer-local.
* doc/slime.texi (Multiple connections): document
slime-cycle-connections.

Revision 1.1974 - (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.1973: +6 -0 lines
Diff to previous 1.1973
* swank.lisp (pathname-as-directory): Treat "/foo/bar" and "/foo/bar/"
the same.
(compile-file-output): Use the above function.

Revision 1.1973 - (view) (annotate) - [select for diffs]
Thu Jan 28 09:52:18 2010 UTC (4 years, 2 months ago) by mevenson
Branch: MAIN
Changes since 1.1972: +7 -1 lines
Diff to previous 1.1972
* swank-abcl.lisp (emacs-inspect): Make inspection of Java objects
toString() results dependent on explicit user request to avoid
potentially computationally expensive opreations.

Tidy up previous ChangeLog entry to allow the Emacs cross-reference
function to work.

Revision 1.1972 - (view) (annotate) - [select for diffs]
Wed Jan 27 06:38:27 2010 UTC (4 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.1971: +5 -0 lines
Diff to previous 1.1971
* swank-rpc.lisp: NIL -> nil (for unusual readtable settings).
Spotted by Harald Hanche-Olsen.

Revision 1.1971 - (view) (annotate) - [select for diffs]
Tue Jan 26 13:29:57 2010 UTC (4 years, 2 months ago) by mevenson
Branch: MAIN
Changes since 1.1970: +7 -1 lines
Diff to previous 1.1970
* swank-abcl.lisp (import-to-swank-mop): Import
MOP::COMPUTE-APPLICABLE-METHODS-USING-CLASSES if it exists in the ABCL
implementation.

Revision 1.1970 - (view) (annotate) - [select for diffs]
Mon Jan 25 10:50:10 2010 UTC (4 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1969: +6 -0 lines
Diff to previous 1.1969
	* swank-allegro.lisp (redefinition-p, redefinition): New.
	(handle-compiler-warning): Add :severity for redefinitions,
	style-warnings, errors.

Revision 1.1969 - (view) (annotate) - [select for diffs]
Fri Jan 22 00:02:08 2010 UTC (4 years, 2 months ago) by tnorderhaug
Branch: MAIN
Changes since 1.1968: +9 -1 lines
Diff to previous 1.1968
Log refactoring that eliminated dependency on swank:safe-backtrace in swank-rpc.lisp.

Revision 1.1968 - (view) (annotate) - [select for diffs]
Thu Jan 21 23:21:26 2010 UTC (4 years, 2 months ago) by sboukarev
Branch: MAIN
Changes since 1.1967: +4 -0 lines
Diff to previous 1.1967
* swank-ccl.lisp (with-frame): Put this macro before it's used.

Revision 1.1967 - (view) (annotate) - [select for diffs]
Wed Jan 20 14:11:06 2010 UTC (4 years, 3 months ago) by sboukarev
Branch: MAIN
Changes since 1.1966: +7 -2 lines
Diff to previous 1.1966
* slime.el (slime-thread-kill): If the region is active, then
kill all threads in the region.

Revision 1.1966 - (view) (annotate) - [select for diffs]
Tue Jan 19 21:18:46 2010 UTC (4 years, 3 months ago) by tnorderhaug
Branch: MAIN
Changes since 1.1965: +4 -0 lines
Diff to previous 1.1965
Note refactorization of swank.lisp into new swank-rpc module.

Revision 1.1965 - (view) (annotate) - [select for diffs]
Tue Jan 19 20:13:58 2010 UTC (4 years, 3 months ago) by sboukarev
Branch: MAIN
Changes since 1.1964: +5 -0 lines
Diff to previous 1.1964
* swank-rpc.lisp (:swank-rpc): (:use :cl), SBCL
doesn't use it by default.

Revision 1.1964 - (view) (annotate) - [select for diffs]
Thu Jan 14 14:33:58 2010 UTC (4 years, 3 months ago) by sboukarev
Branch: MAIN
Changes since 1.1963: +6 -0 lines
Diff to previous 1.1963
doc/slime.texi(Setting up the lisp image):
(swank-loader:init) is also needed for loading swank.
Reported by Evgeny Bahvalov.

Revision 1.1963 - (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.1962: +7 -0 lines
Diff to previous 1.1962
	* swank.lisp (*swank-state-stack*): Delete. Not needed anymore.
	(defslimefun state-stack): Delete.
	(decode-message): Adapted.
	(debug-in-emacs): Adapted.

Revision 1.1962 - (view) (annotate) - [select for diffs]
Mon Jan 11 13:23:08 2010 UTC (4 years, 3 months ago) by mevenson
Branch: MAIN
Changes since 1.1961: +7 -0 lines
Diff to previous 1.1961
* swank-abcl.lisp (emacs-inspect): Implementation for Java objects.
	Fix compiler warning about *ABCL-SIGNALED-CONDITIONS*.

Revision 1.1961 - (view) (annotate) - [select for diffs]
Wed Jan 6 14:13:48 2010 UTC (4 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.1960: +5 -0 lines
Diff to previous 1.1960
	* swank-backend (declaration-arglist): Normalize declaration
	specifiers to contain `variables' rather than `vars'.

	* swank-arglists.lisp (arglist-dispatch ['declare]): Normalize
	`vars' to `variables'.
	(arglist-for-type-declaration): Ditto.

	* slime-autodoc (autodoc.1 [test]): Reorganize test, add comments,
	add cases to test declarations.

Revision 1.1960 - (view) (annotate) - [select for diffs]
Tue Jan 5 21:20:38 2010 UTC (4 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.1959: +4 -0 lines
Diff to previous 1.1959
	* swank-sbcl.lisp (compiler-note-location): Add missing return-from.

Revision 1.1959 - (view) (annotate) - [select for diffs]
Tue Jan 5 21:17:52 2010 UTC (4 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.1958: +4 -0 lines
Diff to previous 1.1958
	* slime.el (compile-defun [test]): Add two cases.

Revision 1.1958 - (view) (annotate) - [select for diffs]
Tue Jan 5 09:33:08 2010 UTC (4 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1957: +4 -0 lines
Diff to previous 1.1957
* slime.texi (inferior-slime-mode): Fix thinko.

Revision 1.1957 - (view) (annotate) - [select for diffs]
Tue Jan 5 09:00:39 2010 UTC (4 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1956: +6 -0 lines
Diff to previous 1.1956
Provide default implementation for all-threads.

* swank-backend.lisp (all-threads): Just return ().

Patch from Terje Norderhaug.

Revision 1.1956 - (view) (annotate) - [select for diffs]
Tue Jan 5 09:00:30 2010 UTC (4 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1955: +9 -0 lines
Diff to previous 1.1955
Fix M-. bug related to CMUCL's multi-file compilation units.

* swank-cmucl.lisp (code-location-stream-position): Require the
"root-number" as argument and subtract it from the TLF number.
(location-in-file): Pass the root number along.
(code-location-string-offset): Use 0 as root number.

Revision 1.1955 - (view) (annotate) - [select for diffs]
Tue Jan 5 09:00:22 2010 UTC (4 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1954: +7 -0 lines
Diff to previous 1.1954
Slightly better error message when CMUCL fails to find defstructs.

* swank-cmucl.lisp (struct-constructor, setf-definitions): Don't
use COERCE which gives confusing error message.

Revision 1.1954 - (view) (annotate) - [select for diffs]
Tue Jan 5 09:00:15 2010 UTC (4 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1953: +10 -0 lines
Diff to previous 1.1953
Add "quit" and "other window prefix" buffer selectors.

* slime.el (slime-selector-other-window): New variable.
(slime-selector): Bind it as need.
(def-slime-selector-method): Use the other window if so indicated.
([selector] 4): New key binding.
([selector] q): New key binding. just abort.

Revision 1.1953 - (view) (annotate) - [select for diffs]
Tue Jan 5 09:00:04 2010 UTC (4 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1952: +7 -0 lines
Diff to previous 1.1952
Stop the beeping on restart.

* slime.el (slime-quit-lisp-internal): Don't kill already dead
processes.

Revision 1.1952 - (view) (annotate) - [select for diffs]
Sun Jan 3 15:58:29 2010 UTC (4 years, 3 months ago) by sboukarev
Branch: MAIN
Changes since 1.1951: +7 -0 lines
Diff to previous 1.1951
* contrib/slime-repl.el (sldb-insert-frame-call-to-repl): New function
for inserting a call to a frame into the REPL. Bound to C-y in SLDB.

* swank-backend.lisp (frame-call): New function.
Returns a string representing a call to the entry point of a frame.
* swank-ccl.lisp (frame-call): Implementation of the above.
* swank-sbcl.lisp (frame-call): Ditto.

Revision 1.1951 - (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.1950: +5 -0 lines
Diff to previous 1.1950
	* swank.lisp (with-swank-protocol-error-handler): Remove debugging
	bits.

Revision 1.1950 - (view) (annotate) - [select for diffs]
Sun Jan 3 14:22:22 2010 UTC (4 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.1949: +5 -0 lines
Diff to previous 1.1949
	* slime.el (slime-next-read-or-lose): Call `debug' with the error
	condition, so we can see what actually caused the losage.

Revision 1.1949 - (view) (annotate) - [select for diffs]
Sun Jan 3 10:05:04 2010 UTC (4 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.1948: +13 -0 lines
Diff to previous 1.1948
        * slime.el (compile-defun [test]): Also test proper notification
        after reader-error. Additionally: bind font-lock-verbose to nil to
        prevent annoying font-lock messages during the test.

        * swank-sbcl.lisp (signal-compiler-condition): Make sure
        READER-ERROR comes before ERROR in typecase.
        (swank-compile-file): Remove handling FATAL-COMPILER-HANDLER
        because a) this handling prevents sbcl from printing the
        diagnostics to the repl, and b) sbcl itself should handle this and
        translate it into proper return value for compile-file.

Revision 1.1948 - (view) (annotate) - [select for diffs]
Wed Dec 23 08:52:01 2009 UTC (4 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.1947: +4 -0 lines
Diff to previous 1.1947
	* slime.el (complete-symbol [test]): Fix test case.

	* slime-c-p-c.el (complete-symbol* [test]): Fix test case.

Revision 1.1947 - (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.1946: +13 -0 lines
Diff to previous 1.1946
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.1946 - (view) (annotate) - [select for diffs]
Mon Dec 21 13:31:55 2009 UTC (4 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.1945: +11 -0 lines
Diff to previous 1.1945
	* slime.el (slime-at-list-p): Deleted.
	(slime-at-expression-p): Moved to slime-package-fu.
	(slime-forward-blanks): Deleted. Use `(skip-chars-forward
	"[:space:]")' instead.
	(slime-forward-any-comment): Deleted.
	(slime-reader-conditionals-regexp): Make a constant so it's
	inlined.
	(slime-unknown-feature-expression): Make it an error.

	* slime-package-fu.el (slime-at-expression-p): Moved from
	slime.el.
	(slime-goto-next-export-clause): Replace `slime-forward-blanks'.

	* slime-parse.el (slime-parse-sexp-at-point)
	(slime-parse-extended-operator-name): Replace
	`slime-forward-blanks'.

Revision 1.1945 - (view) (annotate) - [select for diffs]
Sat Dec 19 14:56:06 2009 UTC (4 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.1944: +5 -0 lines
Diff to previous 1.1944
* contrib/swank-asdf.lisp (asdf:operation-done-p): ASDF included with some
implementations doesn't have AROUND method combination, so guard
against its usage. This will prevent swank:reload-system from working,
but it will let load swank-asdf.
Reported by Mark Evenson.

* swank-backend.lisp (defpackage): export with-symbol and
replace its fully qualified usage everywhere.

Revision 1.1944 - (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.1943: +10 -1 lines
Diff to previous 1.1943
	* 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.1943 - (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.1942: +8 -1 lines
Diff to previous 1.1942
	* 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.1942 - (view) (annotate) - [select for diffs]
Thu Dec 17 09:49:18 2009 UTC (4 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.1941: +4 -0 lines
Diff to previous 1.1941
swank-match.lisp: Fix formatting and style warnings.

Revision 1.1941 - (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.1940: +7 -0 lines
Diff to previous 1.1940
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.1940 - (view) (annotate) - [select for diffs]
Wed Dec 16 21:59:49 2009 UTC (4 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.1939: +11 -1 lines
Diff to previous 1.1939
	* swank-sbcl.org (categorize-definition-source): New.
	(definition-source-for-emacs): Use it. Slightly
	refactored. Renamed from `make-definition-source-location'.
	(find-definitions, find-source-location)
	(source-location-for-xref-data, function-dspec): Updated
	accordingly.
	(source-file-position): Scratch last argument, not needed anymore.

Revision 1.1939 - (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.1938: +8 -0 lines
Diff to previous 1.1938
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.1938 - (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.1937: +12 -0 lines
Diff to previous 1.1937
	* 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.1937 - (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.1936: +14 -0 lines
Diff to previous 1.1936
	* 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.1936 - (view) (annotate) - [select for diffs]
Mon Dec 14 09:06:34 2009 UTC (4 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.1935: +4 -0 lines
Diff to previous 1.1935
* contrib/slime-asdf.el (slime-delete-system-fasls): New command with a
shortcut `delete-system-fasls'.

* contrib/swank-asdf.lisp (delete-system-fasls): New function.
(asdf-module-output-files): New function for finding fasls.

* doc/slime.texi (ASDF): Document new commands.

Revision 1.1935 - (view) (annotate) - [select for diffs]
Sat Dec 12 18:58:46 2009 UTC (4 years, 4 months ago) by mkoeppe
Branch: MAIN
Changes since 1.1934: +5 -0 lines
Diff to previous 1.1934
*** empty log message ***

Revision 1.1934 - (view) (annotate) - [select for diffs]
Fri Dec 11 03:37:17 2009 UTC (4 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.1933: +6 -0 lines
Diff to previous 1.1933
swank-allegro.lisp: Use new function `make-error-location'.
(find-fspec-location): Handle errors.
Patch by Tobias C. Rittweiler.

Revision 1.1933 - (view) (annotate) - [select for diffs]
Thu Dec 10 23:17:45 2009 UTC (4 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.1932: +2 -3 lines
Diff to previous 1.1932
fix ChangeLog entry slightly

Revision 1.1932 - (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.1931: +22 -0 lines
Diff to previous 1.1931
	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.1931 - (view) (annotate) - [select for diffs]
Thu Dec 10 23:07:38 2009 UTC (4 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.1930: +6 -0 lines
Diff to previous 1.1930
	* swank-sbcl.lisp (call-with-debugger-hook): Oops, removed the
	binding for *DEBUGGER-HOOK*. Fix that.
	(make-invoke-debugger-hook): Do nothing if hook is NIL.

Revision 1.1930 - (view) (annotate) - [select for diffs]
Thu Dec 10 22:21:09 2009 UTC (4 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.1929: +22 -0 lines
Diff to previous 1.1929
	* swank-backend.lisp (*debug-swank-backend*): New variable. If
	true, backends should not catch internal errors (e.g. during
	definition finding), and should not perform backtrace magic.
	(make-error-location): New helper.
	(find-definitions [interface]): Default to error location.

	* swank-sbcl.lisp (converting-errors-to-location): New helper
	macro. Regards new *DEBUG-SWANK-BACKEND*.
	(find-definitions [implementation]): Use it.
	(find-source-location [implementation]): Ditto.
	(functiond-spec): Ditto.
	(frame-source-location [implementation]): Ditto.
	(*debug-definition-finding*): Removed.
	(make-source-location-specification): Removed.
	(safe-function-source-location): Removed.
	(safe-source-location-for-emacs): Removed. Not needed anymore.

	(call-with-debugging-environment): Do not perform stack hinting
	depending on *DEBUG-SWANK-BACKEND*.

Revision 1.1929 - (view) (annotate) - [select for diffs]
Thu Dec 10 20:51:33 2009 UTC (4 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.1928: +11 -0 lines
Diff to previous 1.1928
	* swank-sbcl.lisp (set-break-hook): New.
	(call-with-break-hook): New, too. Both extracted from elsewhere.
	(install-debugger-globally, call-with-debugger-hook): Use them.
	(make-invoke-debugger-hook): Adapted not to call *debugger-hook*
	on its own; it should rather decline because *debugger-hook* is
	tried after *invoke-debugger-hook* anyway. Previously, a
	custom *debugger-hook* (which declines itself) would have been
	executed twice.

Revision 1.1928 - (view) (annotate) - [select for diffs]
Mon Dec 7 05:55:37 2009 UTC (4 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.1927: +5 -0 lines
Diff to previous 1.1927
slime.el(slime-parse-toplevel-form): Use
`slime-region-for-defun-at-point' instead of `beginning-of-defun'.

Revision 1.1927 - (view) (annotate) - [select for diffs]
Thu Dec 3 15:41:05 2009 UTC (4 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.1926: +7 -0 lines
Diff to previous 1.1926
	* slime.el (slime-documentation-lookup-function): New hook,
	defaults to `slime-hyperspec-lookup'.
	(slime-documentation-lookup): Invoke hook.
	(slime-prefix-bindings): Bind `C-c C-d h' to it.

	* slime-hyperdoc.el, swank-hyperdoc.lisp: New contrib.

Revision 1.1926 - (view) (annotate) - [select for diffs]
Wed Dec 2 17:34:37 2009 UTC (4 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.1925: +6 -0 lines
Diff to previous 1.1925
swan-sbcl.lisp(frame-locals): `frame-debug-vars' can return NIL,
so check before using it as a vector.
Patch by Nathan Bird.

Revision 1.1925 - (view) (annotate) - [select for diffs]
Mon Nov 30 14:47:49 2009 UTC (4 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.1924: +3 -3 lines
Diff to previous 1.1924
*** empty log message ***

Revision 1.1924 - (view) (annotate) - [select for diffs]
Mon Nov 30 14:47:38 2009 UTC (4 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.1923: +3 -0 lines
Diff to previous 1.1923
* slime.el (slime-editing-mode): New minor mode for use in the REPL.

* slime-repl.el (slime-repl-mode-map): Don't copy
slime-parent-map.  Instead ...
(slime-repl-mode): ... enable slime-editing-mode.

Revision 1.1923 - (view) (annotate) - [select for diffs]
Mon Nov 30 14:47:18 2009 UTC (4 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.1922: +13 -0 lines
Diff to previous 1.1922
Add a slime-editing-map as suggested by Attila Lendvai.  The main
purpose it's to create a keymap that's shared by the REPL and
other modes so that adding custom bindings get's a bit easier.

* slime.el (slime-editing-map, slime-mode-indirect-map): New variables.
(slime-init-keymaps): Clear out any existing bindings before
building the new keymaps.
(slime-init-keymap): New helper.
(slime-bind-keys): Renamed&extended from
slime-define-both-key-bindings.

Revision 1.1922 - (view) (annotate) - [select for diffs]
Thu Nov 26 10:58:08 2009 UTC (4 years, 4 months ago) by mevenson
Branch: MAIN
Changes since 1.1921: +1 -1 lines
Diff to previous 1.1921
Correctly attribute contribution.

Revision 1.1921 - (view) (annotate) - [select for diffs]
Thu Nov 26 07:06:50 2009 UTC (4 years, 4 months ago) by mevenson
Branch: MAIN
Changes since 1.1920: +7 -0 lines
Diff to previous 1.1920
swank-abcl.lisp (arglist):  Fixes for functions with non-nil
arglist and for generic functions with empty argument lists.

Contributed by Matthias.

Revision 1.1920 - (view) (annotate) - [select for diffs]
Mon Nov 23 19:54:55 2009 UTC (4 years, 4 months ago) by sboukarev
Branch: MAIN
Changes since 1.1919: +5 -0 lines
Diff to previous 1.1919
slime.el(slime-set-connection-info): Set slime-current-thread to t
before doing anything. Solves a bug reported by Slawek Zak.

Revision 1.1919 - (view) (annotate) - [select for diffs]
Sat Nov 21 21:32:28 2009 UTC (4 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.1918: +5 -0 lines
Diff to previous 1.1918
	* swank-sbcl.lisp (who-specializes): Implement.
	Requires SBCL 1.0.32.

Revision 1.1918 - (view) (annotate) - [select for diffs]
Thu Nov 19 13:37:44 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.1917: +7 -0 lines
Diff to previous 1.1917
	* slime.el (slime-minibuffer-map): Nee `slime-read-expression-map'
	(slime-minibuffer-history): Nee `slime-read-expression-history'
	(slime-minibuffer-setup-hook): Extracted.
	(slime-read-from-minibuffer): Adapted accordingly.

	* slime-asdf.el (slime-query-replace-system): Enable TAB
	completion of symbol names.

	* slime-fuzzy.el (slime-fuzzy-completions): Do not use
	`slime-find-buffer-package' it's an internal operation of
	`slime-current-buffer'.

Revision 1.1917 - (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.1916: +3 -0 lines
Diff to previous 1.1916
* swank.lisp (classify-symbol): Check fboundp before calling fdefinition,
ECL doesn't like (fdefinition nil).

Revision 1.1916 - (view) (annotate) - [select for diffs]
Fri Nov 13 19:55:04 2009 UTC (4 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.1915: +6 -0 lines
Diff to previous 1.1915
* swank-ecl.lisp (swank-mop:compute-applicable-methods-using-classes):
Add a dummy function. ECL doesn't have it, but some contribs are using it.
Patch by Andy Hefner.

Revision 1.1915 - (view) (annotate) - [select for diffs]
Fri Nov 13 19:39:16 2009 UTC (4 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.1914: +8 -0 lines
Diff to previous 1.1914
* swank-ecl.lisp (function-name): Use clos:generic-function-name
for generic functions.
(arglist): Check fro symbol before calling special-operator-p and
macro-function.
Patch by Andy Hefner.

Revision 1.1914 - (view) (annotate) - [select for diffs]
Fri Nov 6 17:59:22 2009 UTC (4 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.1913: +2 -0 lines
Diff to previous 1.1913
swank-ecl.lisp(find-source-location): Missing comma before error message formatting.
Patch by Andy Hefner.

Revision 1.1913 - (view) (annotate) - [select for diffs]
Fri Nov 6 16:30:00 2009 UTC (4 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.1912: +7 -0 lines
Diff to previous 1.1912
* swank-ecl.lisp (grovel-docstring-for-arglist): ECL's arglists
for macros include macro name at the first place, unlike arglists
for functions. cdr arglists only for macros and special operators.
Reported by Andy Hefner.

Revision 1.1912 - (view) (annotate) - [select for diffs]
Thu Nov 5 16:43:05 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.1911: +8 -0 lines
Diff to previous 1.1911
	Make C-c C-c operate on region if mark is active (and Transient
	Mark mode is enabled.)

	* slime.el (slime-compile-defun): Operate on region if
	transient-mark-mode is active.

Revision 1.1911 - (view) (annotate) - [select for diffs]
Tue Nov 3 18:22:58 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1910: +13 -0 lines
Diff to previous 1.1910
Ask gdb for source lines of foreign functions.

* swank-cmucl.lisp (frame-source-location): Handle foreign
frames with gdb.
(frame-ip): Handle bogus frames (on x86)
(disassemble-frame): Use gdb for foreign frames.
(foreign-frame-p, foreign-frame-source-location): New functions.
(gdb-command, gdb-exec, parse-gdb-line-info, read-word)
(whitespacep, with-temporary-file, call/temporary-file): New
helpers.

Revision 1.1910 - (view) (annotate) - [select for diffs]
Tue Nov 3 15:14:41 2009 UTC (4 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.1909: +7 -2 lines
Diff to previous 1.1909
* slime.el (sldb-setup): Do (set-syntax-table lisp-mode-syntax-table)
otherwise functions used by autodoc do not work properly.

Revision 1.1909 - (view) (annotate) - [select for diffs]
Tue Nov 3 14:35:31 2009 UTC (4 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.1908: +1 -1 lines
Diff to previous 1.1908
Fix changelog formatting.

Revision 1.1908 - (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.1907: +11 -0 lines
Diff to previous 1.1907
* 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.1907 - (view) (annotate) - [select for diffs]
Mon Nov 2 16:17:48 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.1906: +5 -0 lines
Diff to previous 1.1906
	* slime.el (slime-end-of-symbol): Make sure not to move on #'foo.
		([test] sexp-at-point.1): New test case.

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

Revision 1.1905 - (view) (annotate) - [select for diffs]
Mon Nov 2 07:47:02 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1904: +8 -0 lines
Diff to previous 1.1904
CCL's lap-functions don't have source-notes but the name often
has.  E.g. ccl::%fixnum-truncate.  Use names as last resort.

* swank-ccl.lisp (function-name-source-note): New function.
(pc-source-location): Use it.

Revision 1.1904 - (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.1903: +8 -0 lines
Diff to previous 1.1903
* 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.1903 - (view) (annotate) - [select for diffs]
Sat Oct 31 22:41:03 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.1902: +4 -0 lines
Diff to previous 1.1902
	* slime.el (slime-bug): Deleted.

	* slime-fontifying-fu.el (slime-search-suppressed-forms-internal):
	Wrap form in `ignore-errors' again. People have been guinea pigs
	long enough. Suppression of reader-conditionalized forms seems to
	work pretty reliably now.

Revision 1.1902 - (view) (annotate) - [select for diffs]
Sat Oct 31 22:13:54 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.1901: +12 -0 lines
Diff to previous 1.1901
	* 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.1901 - (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.1900: +7 -0 lines
Diff to previous 1.1900
	* 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.1900 - (view) (annotate) - [select for diffs]
Sat Oct 31 08:54:45 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1899: +10 -0 lines
Diff to previous 1.1899
* 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.1899 - (view) (annotate) - [select for diffs]
Sat Oct 31 08:22:56 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1898: +5 -0 lines
Diff to previous 1.1898
* swank-ccl.lisp (kill-thread): Don't signal conditions.
* swank-backend.lisp (kill-thread): Update docstring.

Revision 1.1898 - (view) (annotate) - [select for diffs]
Fri Oct 30 19:39:34 2009 UTC (4 years, 5 months ago) by sboukarev
Branch: MAIN
Changes since 1.1897: +6 -0 lines
Diff to previous 1.1897
* swank-loader.lisp (setup): Use EXT:PROBE-DIRECTORY on Clisp,
because PROBE-FILE doesn't want to work on directories.
Patch by Dirk Sondermann.

Revision 1.1897 - (view) (annotate) - [select for diffs]
Fri Oct 30 10:57:55 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1896: +7 -0 lines
Diff to previous 1.1896
* swank-openmcl.lisp: Removed. 1.4 is out so no longer needed.
* swank-ccl.lisp: Update accordingly.

* test-all.sh: Removed. Not used in ages.

Revision 1.1896 - (view) (annotate) - [select for diffs]
Wed Oct 28 20:52:20 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1895: +3 -2 lines
Diff to previous 1.1895
* slime.el (slime-stale-connection-p): Deleted.

Revision 1.1895 - (view) (annotate) - [select for diffs]
Wed Oct 28 20:28:34 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1894: +16 -0 lines
Diff to previous 1.1894
Simpler modeline code.

* slime.el (slime-modeline-string): Renamed from
slime-compute-modeline-string.
(slime-modeline-state-string): Renamed from
slime-compute-connection-state
(slime-modeline-package, slime-modeline-connection-name)
(slime-modeline-connection-state)
(slime-extended-modeline,slime-compute-modeline-package)
(slime-update-modeline-string, slime-shall-we-update-modeline-p
(slime-update-all-modelines, slime-modeline-update-timer)
(slime-restart-or-init-modeline-update-timer)
(slime-connection-state-as-string): Deleted.

Revision 1.1894 - (view) (annotate) - [select for diffs]
Wed Oct 28 20:28:25 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1893: +1 -0 lines
Diff to previous 1.1893
* slime.el ([undefun] display-warning): Fix it.

Revision 1.1893 - (view) (annotate) - [select for diffs]
Wed Oct 28 20:28:14 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1892: +6 -0 lines
Diff to previous 1.1892
* slime.el (slime-disconnect): Don't reference connection.  Left
over from last change.
([test] arglist): Update expected results for slightly changed
printer settings.
([test] indentation): Install common-lisp-indent-function.

* test.sh: Don't copy contribs. Slime should work without them.
* swank-loader.lisp (setup): Compile contribs only if directory
exists.

Revision 1.1892 - (view) (annotate) - [select for diffs]
Wed Oct 28 20:28:03 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1891: +6 -0 lines
Diff to previous 1.1891
* test.sh: Don't copy contribs. Slime should work without them.
* swank-loader.lisp (setup): Compile contribs only if directory
exists.

Revision 1.1891 - (view) (annotate) - [select for diffs]
Wed Oct 28 10:15:20 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1890: +8 -0 lines
Diff to previous 1.1890
* slime.el (slime-format-display-message, slime-display-message)
(slime-create-message-window): Deleted.  The trick with the
pre-command-hook doesn't work in XEmacs 21.5.  So use the standard
message function.  One day XEmacs will learn how to resize the
minibuffer, but until then we have to live with one-line messages.

Revision 1.1890 - (view) (annotate) - [select for diffs]
Tue Oct 27 12:46:32 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1889: +4 -0 lines
Diff to previous 1.1889
* slime.el: Fix some docstrings and comments.

Revision 1.1889 - (view) (annotate) - [select for diffs]
Mon Oct 26 19:17:00 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.1888: +4 -0 lines
Diff to previous 1.1888
	* test.sh: Shebang on bash, not just on sh.

Revision 1.1888 - (view) (annotate) - [select for diffs]
Sun Oct 25 18:44:35 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.1887: +17 -0 lines
Diff to previous 1.1887
	Revert the reversed numbering of restarts in sldb.

	New command `sldb-cycle' ([tab]) in sldb will cycle between
	restart list and backtrace.

	Make sldb-invoke-restart-by-name case-insensitive.

	* slime.el (sldb-mode-map): Bind Tab to `sldb-cycle'.
	(sldb-restart-list-start-marker): New variable.
	(sldb-setup): Store marker in it.
	(sldb-cycle): New command to cycle between restart list and
	backtrace.
	(sldb-invoke-restart-by-name): Make completion case-insensitive.
	(sldb-insert-restarts): Revert to old behaviour.

Revision 1.1887 - (view) (annotate) - [select for diffs]
Sat Oct 24 11:32:18 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.1886: +5 -0 lines
Diff to previous 1.1886
	* swank-ccl.lisp (who-specializes): Do not signal an error if
	argument does not name a class.

Revision 1.1886 - (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.1885: +4 -0 lines
Diff to previous 1.1885
	* swank.lisp (xref): Deal with non-yet-interned names gracefully.

Revision 1.1885 - (view) (annotate) - [select for diffs]
Sat Oct 24 09:47:46 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.1884: +7 -0 lines
Diff to previous 1.1884
	* slime.el (slime-search-property): Add parameter to get value at
	point propery changed.
	(slime-find-next-note): Use it.
	(slime-find-previous-note): Ditto.

Revision 1.1884 - (view) (annotate) - [select for diffs]
Sat Oct 24 09:33:16 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.1883: +24 -0 lines
Diff to previous 1.1883
	New command C-M-, to go to previous xref location.

	[Old command C-M-. to go to next xref location.]

	Xref buffers are not automatically selected anymore; it's more
	ergonomic to cycle through them via C-M-. and C-M-, from
	within the source buffer.

	* slime.el (slime-search-property): Simplify slightly.
	(slime-find-next-note): Use it.
	(slime-find-previous-note): Use it, too.
	(slime-find-note): Deleted.
	(slime-editing-keys): Add C-M-,.
	(slime-previous-location-function): New variable.
	(slime-previous-location): New command.
	(slime-with-xref-buffer): Do not select Xref buffer.
	(slime-show-xref-buffer): Adapted accordingly.
	(slime-goto-next-xref): Highlight current item on C-M-. and C-M-,.
	(slime-goto-previous-xref): New.
	(slime-highlight-sexp): Renamed from `sldb-highlight-sexp'.
	(slime-highlight-line): New.

Revision 1.1883 - (view) (annotate) - [select for diffs]
Sat Oct 24 08:00:28 2009 UTC (4 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1882: +9 -0 lines
Diff to previous 1.1882
* slime.el (sldb-insert-restarts): Insert the proper numbers for
the --more-- button.
(sldb-restart-number-at-point): Rename back to
sldb-restart-at-point.  Don't use
confisingly-verbose-names-for-no-good-reason.
(sldb-restart-number-for-swank): Deleted.

Revision 1.1882 - (view) (annotate) - [select for diffs]
Fri Oct 23 19:40:14 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.1881: +12 -0 lines
Diff to previous 1.1881
	Restarts in SLDB are now numbered reversely. The rationale is that
	always-existing restarts are likely to be associated with the same
	number now.

	* slime.el (sldb-insert-restarts): Number restart reversely.
	(sldb-restart-number-for-swank): New; recompute the unreversed
	number for the swank side.
	(sldb-restart-number-at-point): Previously `sldb-restart-at-point'.
	(sldb-invoke-restart): Adapted accordingly.

Revision 1.1881 - (view) (annotate) - [select for diffs]
Fri Oct 23 09:34:56 2009 UTC (4 years, 5 months ago) by trittweiler
Branch: MAIN
Changes since 1.1880: +8 -0 lines
Diff to previous 1.1880
	When ever Slime seems to get stuck (e.g. after some character
	encoding confusion), `M-x slime-reset' should hopefully bring it
	into a functional state again.

	* slime.el (slime-reset): Erase connection buffer.

Revision 1.1880 - (view) (annotate) - [select for diffs]
Wed Oct 21 14:37:08 2009 UTC (4 years, 6 months ago) by trittweiler
Branch: MAIN
Changes since 1.1879: +7 -0 lines
Diff to previous 1.1879
	Make M-x slime-changelog-date work.

	* slime.el (slime-changelog-date): Make the function be callable
	interactively.

Revision 1.1879 - (view) (annotate) - [select for diffs]
Wed Oct 21 13:26:35 2009 UTC (4 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.1878: +4 -0 lines
Diff to previous 1.1878
* contrib/slime-asdf.el (slime-browse-system): New command for browsing
	files in asdf using Dired.
* contrib/swank-asdf.lisp (asdf-system-loaded-p): New function.

Revision 1.1878 - (view) (annotate) - [select for diffs]
Tue Oct 20 16:13:02 2009 UTC (4 years, 6 months ago) by msimmons
Branch: MAIN
Changes since 1.1877: +5 -0 lines
Diff to previous 1.1877
* swank-lispworks.lisp (call-without-interrupts): Discourage use.
(interesting-frame-p): Never show open frame bogons.

Revision 1.1877 - (view) (annotate) - [select for diffs]
Mon Oct 19 23:23:45 2009 UTC (4 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.1876: +5 -0 lines
Diff to previous 1.1876
* 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.1876 - (view) (annotate) - [select for diffs]
Mon Oct 19 23:13:27 2009 UTC (4 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.1875: +7 -0 lines
Diff to previous 1.1875
* slime.el (slime-list-threads): Update information before
setting the mode, otherwise it messes up current connection.
* doc/slime.texi: fix typo.

Revision 1.1875 - (view) (annotate) - [select for diffs]
Mon Oct 19 10:01:50 2009 UTC (4 years, 6 months ago) by trittweiler
Branch: MAIN
Changes since 1.1874: +10 -0 lines
Diff to previous 1.1874
	* 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.1874 - (view) (annotate) - [select for diffs]
Thu Oct 15 16:40:37 2009 UTC (4 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1873: +4 -0 lines
Diff to previous 1.1873
* slime.el (slime-current-package): Move REPL stuff to contrib.
* slime-repl.el (slime-repl-find-buffer-package): New function.
(slime-repl-init): Initialize slime-find-buffer-package-function.

Revision 1.1873 - (view) (annotate) - [select for diffs]
Thu Oct 15 13:10:09 2009 UTC (4 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.1872: +5 -0 lines
Diff to previous 1.1872
* slime.el (slime-current-package): Return REPL's package,
if other are unavailable and if slime-repl is loaded.

Revision 1.1872 - (view) (annotate) - [select for diffs]
Mon Oct 12 08:02:22 2009 UTC (4 years, 6 months ago) by trittweiler
Branch: MAIN
Changes since 1.1871: +4 -0 lines
Diff to previous 1.1871
	* slime.el: Update copyright.

Revision 1.1871 - (view) (annotate) - [select for diffs]
Sat Oct 10 07:56:37 2009 UTC (4 years, 6 months ago) by trittweiler
Branch: MAIN
Changes since 1.1870: +6 -0 lines
Diff to previous 1.1870
	* slime.el (slime-length=): Fix (slime-length= '() 0).
	(slime-eval-feature-expression): Fix. Couldn't handle (NOT)
	and (NOT FOO BAR).

Revision 1.1870 - (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.1869: +5 -0 lines
Diff to previous 1.1869
* swank.lisp (stop-server): (list-threads) returns threads offset by 1,
don't kill the wrong thread.
Reported by Sebastian Tennant.

Revision 1.1869 - (view) (annotate) - [select for diffs]
Tue Oct 6 20:12:03 2009 UTC (4 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.1868: +4 -0 lines
Diff to previous 1.1868
swank-ccl.lisp (map-backtrace): Handle null end-frame-number argument.

Revision 1.1868 - (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.1867: +3 -0 lines
Diff to previous 1.1867
swank.lisp (set-package): Provide a more meaningful error
message when package doesn't exist.

Revision 1.1867 - (view) (annotate) - [select for diffs]
Mon Sep 28 11:33:43 2009 UTC (4 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.1866: +5 -0 lines
Diff to previous 1.1866
swank-lispworks.lisp (replace-strings-with-symbols): Didn't work on
non-proper lists. Reported by Madhu.

Revision 1.1866 - (view) (annotate) - [select for diffs]
Sat Sep 26 23:24:50 2009 UTC (4 years, 6 months ago) by trittweiler
Branch: MAIN
Changes since 1.1865: +7 -0 lines
Diff to previous 1.1865
	* swank-sbcl.lisp (call-with-debugger-hook): Correctly deal with
	case of HOOK being NIL.
	(make-definition-source-location): Somewhat simplified.
	(string-path-snippet): Removed, not needed anymore.

Revision 1.1865 - (view) (annotate) - [select for diffs]
Thu Sep 24 11:30:46 2009 UTC (4 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.1864: +5 -0 lines
Diff to previous 1.1864
* doc/slime.texi: Fix a typo.
* swank-sbcl.lisp (swank-compile-string): Ignore unused variable
warningsp.

Revision 1.1864 - (view) (annotate) - [select for diffs]
Wed Sep 23 11:20:02 2009 UTC (4 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1863: +5 -0 lines
Diff to previous 1.1863
* swank-sbcl.lisp (receive-if): Bind *break-on-signals* to
nil before using with-timeout.

Revision 1.1863 - (view) (annotate) - [select for diffs]
Wed Sep 23 11:19:55 2009 UTC (4 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1862: +7 -0 lines
Diff to previous 1.1862
* swank-ccl.lisp (find-definitions): For fbound symbols also
consider source-notes in the function object.  Useful if
the function slot was set with (setf (symbol-function ..))
and not by defun.

Revision 1.1862 - (view) (annotate) - [select for diffs]
Mon Sep 21 19:36:53 2009 UTC (4 years, 6 months ago) by sboukarev
Branch: MAIN
Changes since 1.1861: +4 -0 lines
Diff to previous 1.1861
* doc/slime.texi (slime-sprof): document slime-sprof contrib.

Revision 1.1861 - (view) (annotate) - [select for diffs]
Sun Sep 20 10:51:50 2009 UTC (4 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1860: +5 -0 lines
Diff to previous 1.1860
	* swank-abcl.lisp (thread-description): Fix typo.
	(set-thread-description): Ditto.

Revision 1.1860 - (view) (annotate) - [select for diffs]
Sun Sep 20 09:39:16 2009 UTC (4 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1859: +27 -0 lines
Diff to previous 1.1859
	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.1859 - (view) (annotate) - [select for diffs]
Sun Sep 20 09:04:53 2009 UTC (4 years, 7 months ago) by mevenson
Branch: MAIN
Changes since 1.1858: +8 -0 lines
Diff to previous 1.1858
Use *INVOKE-DEBUGGER-HOOK* introduced in ABCL by analogy to SBCL (Tobias Rittweiler).

Revision 1.1858 - (view) (annotate) - [select for diffs]
Fri Sep 18 21:29:59 2009 UTC (4 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1857: +6 -0 lines
Diff to previous 1.1857
	* slime.el (slime-parent-bindings): Define M-? as
	`slime-edit-callers', too. My previous choice of M-_ was
	warped due to my German layout.

Revision 1.1857 - (view) (annotate) - [select for diffs]
Fri Sep 18 21:09:40 2009 UTC (4 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1856: +18 -0 lines
Diff to previous 1.1856
	New binding: M-_ (`slime-edit-callers').

	Similiar to `slime-who-calls' but only creates an Xref buffer if
	needed for disambiguation, and also pushes to the definition
	stack.

	Spiritually like M-. but works "in the other direction".

	* slime.el (sllime-edit-callers): New function. Cross between
	`slime-who-calls' and `slime-edit-definition'.
	(slime-parent-bindings): Define M-_ as `slime-edit-callers'.
	(slime-pop-xref-buffer): New helper. Extracted from
	`slime-show-xrefs'.
	(slime-show-xrefs): Use it.
	(slime-xref): Let callers specify a continuation.

Revision 1.1856 - (view) (annotate) - [select for diffs]
Thu Sep 17 15:51:52 2009 UTC (4 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1855: +11 -0 lines
Diff to previous 1.1855
	* swank-abcl.lisp (sys::break): Fix typo.
	(slot-definition-documentation, slot-definition-type)
	(class-prototype, generic-function-declarations)
	(specializers-direct-methods, slot-boundp-using-class)
	(slot-value-using-class): Add IGNORE declarations. Compiling
	swank-abcl.lisp is now free of warnings.
	(swank-compile-file): Load the compiled file even though warnings
	were signalled during compilation.

Revision 1.1855 - (view) (annotate) - [select for diffs]
Thu Sep 17 06:23:03 2009 UTC (4 years, 7 months ago) by mevenson
Branch: MAIN
Changes since 1.1854: +5 -0 lines
Diff to previous 1.1854
* swank-abcl.lisp (source-location): Emacs buffers start at 1,
whereas CL files start at 0 (Tobias Rittweiler).

Revision 1.1854 - (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.1853: +4 -0 lines
Diff to previous 1.1853
* swank.lisp (documentation-symbol): Return more readable information.

Revision 1.1853 - (view) (annotate) - [select for diffs]
Mon Sep 14 05:51:51 2009 UTC (4 years, 7 months ago) by mevenson
Branch: MAIN
Changes since 1.1852: +4 -0 lines
Diff to previous 1.1852
2009-09-14  Mark Evenson  <evenson@panix.com>

	* swank-abcl.lisp (source-location): Fix typo.

Revision 1.1852 - (view) (annotate) - [select for diffs]
Sat Sep 12 08:47:30 2009 UTC (4 years, 7 months ago) by mevenson
Branch: MAIN
Changes since 1.1851: +9 -0 lines
Diff to previous 1.1851
Provided by Alan Ruttenberg.

  	* swank-abcl.lisp (source-location): Make edit definition work.

 	* swank-abcl.lisp (arglist): Now works with generic functions.

Revision 1.1851 - (view) (annotate) - [select for diffs]
Tue Sep 8 05:59:20 2009 UTC (4 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1850: +5 -0 lines
Diff to previous 1.1850
* swank-loader.lisp (lisp-version-string): Include "-ics" for
version with extended charsets.  Suggested by Scott L. Burson.

Revision 1.1850 - (view) (annotate) - [select for diffs]
Thu Sep 3 07:43:08 2009 UTC (4 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1849: +8 -0 lines
Diff to previous 1.1849
* slime.el (slime-net-close): set-process-query-on-exit-flag
doesn't exist in XEmacs.
(slime-make-net-buffer): For now, disable querying here.
Could also close the socket before killing the buffer.
(slime-buffer-processes): Deleted.

Revision 1.1849 - (view) (annotate) - [select for diffs]
Wed Sep 2 17:21:15 2009 UTC (4 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.1848: +4 -0 lines
Diff to previous 1.1848
* swank-lispworks.lisp (replace-strings-with-symbols): New function for
recursively interning and replacing strings in a list.
(arglist): Replace all strings in arglists with symbols.

* contrib/swank-arglists.lisp (decode-required-arg): Move LispWorks specific
code into swank-lispworks.lisp.

Revision 1.1848 - (view) (annotate) - [select for diffs]
Wed Sep 2 14:04:31 2009 UTC (4 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.1847: +7 -0 lines
Diff to previous 1.1847
* slime.el (slime-net-close): Do not query for process killing
confirmation before killing a connection buffer.
(slime-buffer-processes): New function for listing processes
associated with a buffer.

Revision 1.1847 - (view) (annotate) - [select for diffs]
Mon Aug 31 17:08:17 2009 UTC (4 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1846: +7 -0 lines
Diff to previous 1.1846
Don't advice ccl::break-loop.
Should not be necessary as we can now use ccl:*break-hook*.

* swank-ccl.lisp ([advice] ccl::break-loop): Deleted.

Revision 1.1846 - (view) (annotate) - [select for diffs]
Mon Aug 31 17:08:09 2009 UTC (4 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1845: +8 -0 lines
Diff to previous 1.1845
Keep note overlays in a global variable.
That's simpler and cheaper than scanning all buffers.

* slime.el (slime-note-overlays): New variable.
(slime-make-note-overlay, slime-remove-old-overlays): Use it.

Revision 1.1845 - (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.1844: +9 -0 lines
Diff to previous 1.1844
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.1844 - (view) (annotate) - [select for diffs]
Thu Aug 27 15:24:31 2009 UTC (4 years, 7 months ago) by sboukarev
Branch: MAIN
Changes since 1.1843: +5 -0 lines
Diff to previous 1.1843
* slime.el (slime-remove-old-overlays): delete notes at the very beginning
of the buffer too. Thanks to Nick Levine.

Revision 1.1843 - (view) (annotate) - [select for diffs]
Fri Aug 21 17:16:42 2009 UTC (4 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1842: +10 -3 lines
Diff to previous 1.1842
* slime.el (slime-transcript-start-hook)
(slime-transcript-stop-hook): New hooks.
(slime-eval-with-transcript): Use them.
(slime-eval-with-transcript-cont): Deleted.

* inferior-slime.el (inferior-slime-show-transcript)
(inferior-slime-stop-transcript, inferior-slime-start-transcript):
New functions.
(inferior-slime-init): Install transcript hooks.

Revision 1.1842 - (view) (annotate) - [select for diffs]
Wed Aug 19 14:58:02 2009 UTC (4 years, 8 months ago) by mevenson
Branch: MAIN
Changes since 1.1841: +6 -0 lines
Diff to previous 1.1841
* swank-abcl.lisp: Accommodate the new Java/Lisp stack frame
  		   abstraction in the upcoming abcl-0.16. (based on
  		   code from Tobias Rittweiler).

Revision 1.1841 - (view) (annotate) - [select for diffs]
Tue Aug 18 10:42:07 2009 UTC (4 years, 8 months ago) by mevenson
Branch: MAIN
Changes since 1.1840: +5 -0 lines
Diff to previous 1.1840
Add multithreading code for abcl-0.16. (Tobias Rittweiler)

  * swank-abcl.lisp: A multithread implementation taking advantage
    		     of the new synchronization primitives in abcl-0.16.

Revision 1.1840 - (view) (annotate) - [select for diffs]
Tue Aug 18 09:51:12 2009 UTC (4 years, 8 months ago) by mevenson
Branch: MAIN
Changes since 1.1839: +8 -0 lines
Diff to previous 1.1839
Restore working operation with abcl-0.15.

Revision 1.1839 - (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.1838: +7 -0 lines
Diff to previous 1.1838
* 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.1838 - (view) (annotate) - [select for diffs]
Sat Aug 15 16:01:17 2009 UTC (4 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1837: +12 -0 lines
Diff to previous 1.1837
XEmacs fixes.

* slime.el (slime-editing-keys): Use (kbd "C-M-.") because XEmacs
translates [?\C-\M-.] to C-M-n.
(next-single-char-property-change)
(previous-single-char-property-change): Use
next-single-property-change because next-char-property-change gets
embarrisingly slow in XEmacs in font-locked buffers.
It never felt that slow in Emacs 20 though.

Revision 1.1837 - (view) (annotate) - [select for diffs]
Sat Aug 15 08:35:15 2009 UTC (4 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1836: +10 -10 lines
Diff to previous 1.1836
*** empty log message ***

Revision 1.1836 - (view) (annotate) - [select for diffs]
Sat Aug 15 08:34:55 2009 UTC (4 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1835: +2 -0 lines
Diff to previous 1.1835
* swank-ccl.lisp (definition-name): Special case methods.

Revision 1.1835 - (view) (annotate) - [select for diffs]
Sat Aug 15 08:34:48 2009 UTC (4 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1834: +11 -0 lines
Diff to previous 1.1834
* slime.el (slime-choose-overlay-region): Don't return zero length
regions for :eof.
(slime-show-buffer-position): The second argument to
display-buffer means something completely different in
XEmacs. Don't use it.
(slime-severity-face): Handle :redefinition.
(slime-temporarily-highlight-note): Use a timer instead of the
post-command-hook.

Revision 1.1834 - (view) (annotate) - [select for diffs]
Thu Aug 13 22:34:39 2009 UTC (4 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.1833: +5 -0 lines
Diff to previous 1.1833
* slime.el (slime-auto-select-connection, slime-auto-connect):
Turn them into customizable variables.

Revision 1.1833 - (view) (annotate) - [select for diffs]
Tue Aug 11 09:15:02 2009 UTC (4 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1832: +5 -0 lines
Diff to previous 1.1832
	* swank-sbcl.lisp (swank-compile-string): Make sure that it
	returns NIL on compilation failure.

Revision 1.1832 - (view) (annotate) - [select for diffs]
Mon Aug 10 19:30:32 2009 UTC (4 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1831: +5 -0 lines
Diff to previous 1.1831
Minor refactoring.

* slime.el (slime-insert-note-group): Factored out from
slime-insert-compilation-log.
(slime-goto-location-position): Can't use goto-line.

Revision 1.1831 - (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.1830: +13 -0 lines
Diff to previous 1.1830
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.1830 - (view) (annotate) - [select for diffs]
Mon Aug 10 19:30:04 2009 UTC (4 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1829: +9 -0 lines
Diff to previous 1.1829
Don't add linebreaks for one-line messages.

(slime-insert-block): New function.
(slime-insert-compilation-log): Use it.
(slime-indent-rigidly): Use insert-before-markers, otherwise point
ends up at before a bunch of inserted spaces.

Revision 1.1829 - (view) (annotate) - [select for diffs]
Mon Aug 10 19:29:55 2009 UTC (4 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1828: +13 -0 lines
Diff to previous 1.1828
Various compilation related changes.

* slime.el (slime-show-note-counts): Don't show 0 values.
(slime-severity<): New function.
(slime-maybe-show-compilation-log): Always create the log buffer
but display it only if the compilation failed.
(slime-insert-compilation-log): Disable the stupidly inefficient
font-lock-after-change-function.
(slime-canonicalized-location-to-string): Use relative filenames.
(slime-goto-location-buffer): Disable warnings about symlinks.

Revision 1.1828 - (view) (annotate) - [select for diffs]
Sun Aug 9 19:22:42 2009 UTC (4 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1827: +11 -0 lines
Diff to previous 1.1827
	Make C-x ` work again.

	M-n and C-x ` are now very similiar; but the former operates
	relative to point in the source buffer, while the latter works
	relative to the compilation log.

	* slime.el (slime-insert-compilation-log): No do set
	`compilation-skip-to-next-location'.

Revision 1.1827 - (view) (annotate) - [select for diffs]
Sun Aug 9 18:52:17 2009 UTC (4 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1826: +19 -0 lines
Diff to previous 1.1826
	M-n/M-p in .lisp buffers do not show the note in the minibuffer
	anymore if a compilation log is displayed to the user.

	In the compilation log, sort and group the notes by line/column
	number.

	* slime.el (slime-insert-compilation-log): Sort the notes by their
	line/column numbers; group notes of same location and display them
	as one entry.
	(slime-compilation-loc): Removed.
	(slime-canonicalized-location),
	(slime-canonicalized-location-to-string): Extracted from
	`slime-compilation-loc'.
	(slime-group-and-sort-notes): Does the sorting/grouping.
	(slime-show-note): Do not show note in minibuffer if compilation
	log is displayed to the user.

Revision 1.1826 - (view) (annotate) - [select for diffs]
Sun Aug 9 16:10:17 2009 UTC (4 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.1825: +4 -0 lines
Diff to previous 1.1825
* swank.asd (asdf:perform): don't call `swank-loader:init' with
:setup nil, because it doesn't get contribs compiled, and some other
configuration steps are omitted.

Revision 1.1825 - (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.1824: +7 -0 lines
Diff to previous 1.1824
* 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.1824 - (view) (annotate) - [select for diffs]
Sat Aug 8 21:45:11 2009 UTC (4 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1823: +21 -0 lines
Diff to previous 1.1823
	M-n / M-p in a .lisp buffer now also jump to the respective note
	in the compilation-log buffer if one is currently displayed to the
	user.

	* slime.el (slime-remove-old-overlays): Simplified.
	(slime-insert-compilation-log): Add a note-overlay for each note
	so we can find the right one when user uses M-n/M-p in .lisp
	buffer.
	(slime-goto-note-in-compilation-log): New.
	(slime-make-note-overlay): Extracted from
	`slime-create-note-overlay'.
	(slime-next-note, slime-previous-note): Simplified.
	(slime-show-note): Goto note in compilation-log if available.
	(slime-note-overlay-p): Call overlay property `slime-note', not
	just `slime'.
	(slime-find-note): Likewise; also returns the overlay if found.
	(slime-show-buffer-position): Optionally recenter position to the
	top of the window.

Revision 1.1823 - (view) (annotate) - [select for diffs]
Tue Aug 4 23:54:55 2009 UTC (4 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.1822: +7 -0 lines
Diff to previous 1.1822
* swank-sbcl.lisp (signal-compiler-condition): read
sb-kernel:redefinition-warning only if it exists.
Some older SBCLs don't have it (particularly included in the
stable Debian).

Revision 1.1822 - (view) (annotate) - [select for diffs]
Sun Aug 2 12:57:23 2009 UTC (4 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1821: +15 -0 lines
Diff to previous 1.1821
	* swank-backend.lisp (severity [type]): Allow :redefinition.

	* swank-sbcl.lisp (signal-compiler-condition): Tag redefinitions.

	* slime.el (slime-maybe-show-compilation-log): Do not show
	compilation log if each note describes just a redefinition.
	(slime-insert-compilation-log): Insert notes indented by 2
	spaces. Insert some more newlines so the buffer appears more
	structured.
	(slime-show-note-counts): Add :redefinition to ecase.
	(slime-redefinition-note-p): New.
	(slime-severity-label): Was unused. Adapted to be usable.

Revision 1.1821 - (view) (annotate) - [select for diffs]
Thu Jul 30 23:27:05 2009 UTC (4 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.1820: +5 -0 lines
Diff to previous 1.1820
* doc/slime.texi (Setting up pathname translations): add that it is
in the `slime-tramp' contrib.

Revision 1.1820 - (view) (annotate) - [select for diffs]
Thu Jul 30 17:05:18 2009 UTC (4 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1819: +7 -0 lines
Diff to previous 1.1819
	* swank-clisp.lisp: Clisp 2.48 experimentally supports threads. So
	add infrastructure to use threads in Clisp's swank backend. We do
	not make it the default, because it's not prime time yet. There
	are still problems with GC, weak-pointers, and thread objects.

Revision 1.1819 - (view) (annotate) - [select for diffs]
Tue Jul 28 15:03:41 2009 UTC (4 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.1818: +4 -0 lines
Diff to previous 1.1818
* doc/slime.texi (slime-selector): mention t and c keys.

Revision 1.1818 - (view) (annotate) - [select for diffs]
Mon Jul 27 13:08:16 2009 UTC (4 years, 8 months ago) by sboukarev
Branch: MAIN
Changes since 1.1817: +6 -0 lines
Diff to previous 1.1817
swank-ccl.lisp (source-note-to-source-location): keys of
*temp-file-map* are pathnames, not namestrings; convert
namestrings to pathnames before looking up.

Revision 1.1817 - (view) (annotate) - [select for diffs]
Mon Jul 27 04:08:41 2009 UTC (4 years, 8 months ago) by gcarncross
Branch: MAIN
Changes since 1.1816: +5 -0 lines
Diff to previous 1.1816
2009-07-27  Geo Carncross  <geocar@gmail.com>

	* swank-ecl.lisp: Support for older ECL installs
	from patch by Mark Evenson

Revision 1.1816 - (view) (annotate) - [select for diffs]
Sun Jul 26 10:18:29 2009 UTC (4 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1815: +14 -1 lines
Diff to previous 1.1815
* slime.el (slime-maybe-show-compilation-log): New function.
(slime-compilation-finished-hook): Use it.  Now that the
compilation buffer gets not selected it's more acceptable to
display it more often.
(slime-insert-compilation-log): Set compilation-skip-threshold to
0 and compilation-skip-to-next-location to nil.  Seems to work
better for us.
(slime-with-popup-buffer): Synch window-point, otherwise it be at
the end of the buffer for reused buffers.
(slime-display-popup-buffer): Return the window.

Revision 1.1815 - (view) (annotate) - [select for diffs]
Sun Jul 26 10:18:17 2009 UTC (4 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1814: +4 -0 lines
Diff to previous 1.1814
* swank-sbcl.lisp (tempnam): Muffle efficientcy notes.

Revision 1.1814 - (view) (annotate) - [select for diffs]
Sun Jul 26 08:00:40 2009 UTC (4 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1813: +8 -0 lines
Diff to previous 1.1813
* swank-ccl.lisp: New file.  An updated version of
swank-openmcl.lisp in preparation for a slew of changes to CCL and
to honor the new name.

* swank-loader.lisp (*sysdep-files*): Use it.

By Gail Zacharias <gz@clozure.com>

Revision 1.1813 - (view) (annotate) - [select for diffs]
Tue Jul 21 18:34:54 2009 UTC (4 years, 9 months ago) by sboukarev
Branch: MAIN
Changes since 1.1812: +6 -0 lines
Diff to previous 1.1812
* slime.el (slime-sexp-at-point-for-macroexpansion): use markers
for bounds, because in some situations text layout could be modified
before bounds would be used, for example, using keyboard macros.

Revision 1.1812 - (view) (annotate) - [select for diffs]
Wed Jul 15 20:34:09 2009 UTC (4 years, 9 months ago) by sboukarev
Branch: MAIN
Changes since 1.1811: +10 -0 lines
Diff to previous 1.1811
* slime.el (slime-inspector-fetch-all): new command, bound to >
in the inspector buffer.

* doc/slime.texi (Frame Navigation): add description
of `sldb-end-of-backtrace' and `sldb-beginning-of-backtrace'.
(Inspector): add `slime-inspector-fetch-all'.

Revision 1.1811 - (view) (annotate) - [select for diffs]
Sun Jul 12 08:01:28 2009 UTC (4 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.1810: +5 -0 lines
Diff to previous 1.1810
* slime.el (slime-editing-keys): Don't override M-*. The default
binding should do what Matthias wants.

Revision 1.1810 - (view) (annotate) - [select for diffs]
Sat Jul 11 18:25:59 2009 UTC (4 years, 9 months ago) by mkoeppe
Branch: MAIN
Changes since 1.1809: +5 -1 lines
Diff to previous 1.1809
*** empty log message ***

Revision 1.1809 - (view) (annotate) - [select for diffs]
Sat Jul 11 15:35:09 2009 UTC (4 years, 9 months ago) by sboukarev
Branch: MAIN
Changes since 1.1808: +5 -0 lines
Diff to previous 1.1808
* doc/Makefile (clean): Remove bash extensions. Patch by
Teemu Likonen.

Revision 1.1808 - (view) (annotate) - [select for diffs]
Mon Jul 6 12:32:12 2009 UTC (4 years, 9 months ago) by trittweiler
Branch: MAIN
Changes since 1.1807: +6 -0 lines
Diff to previous 1.1807
	* swank-ecl.lisp (find-external-format): Copied from
	swank-sbcl.lisp. A lot of backends seem to share the same
	implementation, perhaps some refactoring is needed.

Revision 1.1807 - (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.1806: +7 -1 lines
Diff to previous 1.1806
	* swank.lisp (make-repl-input-stream): Make sure to redirect
	output from slime requests to the REPL buffer for
	communication-style=NIL.

Revision 1.1806 - (view) (annotate) - [select for diffs]
Thu Jul 2 17:00:21 2009 UTC (4 years, 9 months ago) by sboukarev
Branch: MAIN
Changes since 1.1805: +5 -0 lines
Diff to previous 1.1805
* slime.el (slime-beginning-of-symbol): Limit searching to 2000
characters.

Revision 1.1805 - (view) (annotate) - [select for diffs]
Thu Jul 2 14:14:33 2009 UTC (4 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.1804: +5 -1 lines
Diff to previous 1.1804
* swank-lispworks.lisp (thread-attributes): Implemented.

Revision 1.1804 - (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.1803: +5 -0 lines
Diff to previous 1.1803
* swank.lisp (ed-in-emacs): Handle symbols/function-names better.
* slime.el (slime-ed): Updated accordingly.

Revision 1.1803 - (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.1802: +5 -0 lines
Diff to previous 1.1802
* swank.lisp (operator-arglist): Don't use pprint-fill
for people with wide screens.

Revision 1.1802 - (view) (annotate) - [select for diffs]
Thu Jul 2 04:13:10 2009 UTC (4 years, 9 months ago) by sboukarev
Branch: MAIN
Changes since 1.1801: +6 -0 lines
Diff to previous 1.1801
* slime.el (slime-net-coding-system): make it customizable.
(slime-inspector-operate-on-click): Make --more-- button in
the inspector clickable.

Revision 1.1801 - (view) (annotate) - [select for diffs]
Wed Jul 1 03:38:54 2009 UTC (4 years, 9 months ago) by gcarncross
Branch: MAIN
Changes since 1.1800: +4 -0 lines
Diff to previous 1.1800
swank-ecl.lisp: Package profiling support

Revision 1.1800 - (view) (annotate) - [select for diffs]
Tue Jun 30 02:50:25 2009 UTC (4 years, 9 months ago) by sboukarev
Branch: MAIN
Changes since 1.1799: +5 -0 lines
Diff to previous 1.1799
* swank-openmcl.lisp (arglist): Return :not-available if the arglist
cannot be obtained. Patch by Terje Norderhaug.

Revision 1.1799 - (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.1798: +5 -0 lines
Diff to previous 1.1798
(open-streams): do not create unnecessary output stream
when using dedicated output stream. Thanks to Terje Norderhaug.

Revision 1.1798 - (view) (annotate) - [select for diffs]
Sun Jun 28 19:15:07 2009 UTC (4 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.1797: +11 -0 lines
Diff to previous 1.1797
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.1797 - (view) (annotate) - [select for diffs]
Sun Jun 28 19:14:54 2009 UTC (4 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.1796: +6 -0 lines
Diff to previous 1.1796
* slime.el (slime-compiler-macroexpand-inplace)
(slime-compiler-macroexpand-1-inplace): New commands.
(slime-macroexpansion-minor-mode-map): Bind them.
Patch by Stelian Ionescu.

Revision 1.1796 - (view) (annotate) - [select for diffs]
Sun Jun 28 19:14:43 2009 UTC (4 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.1795: +7 -2 lines
Diff to previous 1.1795
* swank-sbcl.lisp (add-fd-handler): Avoid recursive invocation
of the handler, e.g. when read-sequence blocks.

Revision 1.1795 - (view) (annotate) - [select for diffs]
Sun Jun 28 08:27:03 2009 UTC (4 years, 9 months ago) by sboukarev
Branch: MAIN
Changes since 1.1794: +6 -0 lines
Diff to previous 1.1794
(compiler-warning-short-message): In new
versions of CCL `compiler-warning-nrefs' slot
of the `compiler-warning' class is now a list, not an integer.

Revision 1.1794 - (view) (annotate) - [select for diffs]
Sat Jun 27 15:10:29 2009 UTC (4 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.1793: +5 -0 lines
Diff to previous 1.1793
* slime.el (slime-beginning-of-symbol): Skip over #., #-, and #+.
([test] symbol-at-point.15 .. 17): Test it.

Revision 1.1793 - (view) (annotate) - [select for diffs]
Thu Jun 25 04:06:15 2009 UTC (4 years, 9 months ago) by gcarncross
Branch: MAIN
Changes since 1.1792: +39 -35 lines
Diff to previous 1.1792
Profiling support by Marko Kocić

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

Revision 1.1791 - (view) (annotate) - [select for diffs]
Sun Jun 21 12:18:25 2009 UTC (4 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.1790: +4 -0 lines
Diff to previous 1.1790
* slime.el (slime-initialize-lisp-buffer-for-test-suite): Moved to
contrib/slime-fontifying-fu.el

Revision 1.1790 - (view) (annotate) - [select for diffs]
Sun Jun 21 12:18:10 2009 UTC (4 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.1789: +15 -0 lines
Diff to previous 1.1789
Don't try so hard to get symbol-at-point right.
The old implementation was complicated and didn't even pass it's
own test suite.  The new version is less ambitious but simpler.

* slime.el (slime-symbol-at-point, slime-beginning-of-symbol)
(slime-end-of-symbol): Simplify.
(slime-exit-vertical-bars, slime-symbol-constituent-at): Deleted.
([test] symbol-at-point.1 .. symbol-at-point.14): Renamed form
fancy-symbol-names and split up into smaller peices.
(slime-test-symbols): New.
(slime-check-symbol-at-point): Renamed from
slime-check-fancy-symbol-name.

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

Revision 1.1788 - (view) (annotate) - [select for diffs]
Sat Jun 20 10:02:46 2009 UTC (4 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.1787: +5 -0 lines
Diff to previous 1.1787
* slime.el (slime-check-fancy-symbol-name): Don't update the loop
index inside the loop body.

Revision 1.1787 - (view) (annotate) - [select for diffs]
Sat Jun 20 10:02:34 2009 UTC (4 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.1786: +5 -0 lines
Diff to previous 1.1786
* swank-openmcl.lisp (emacs-connected): Deleted. Setting
ccl::*interactive-abort-process* doesn't seem right.

Revision 1.1786 - (view) (annotate) - [select for diffs]
Mon Jun 15 18:17:47 2009 UTC (4 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.1785: +4 -0 lines
Diff to previous 1.1785
* swank-openmcl.lisp: Explicitly require CCL version 1.3.

Revision 1.1785 - (view) (annotate) - [select for diffs]
Mon Jun 15 18:17:32 2009 UTC (4 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.1784: +8 -0 lines
Diff to previous 1.1784
* swank-openmcl.lisp (emacs-inspect [t]): Honor the type returned
by inspector::line-n.
(emacs-inspect [compiled-lexical-closure]): Deleted. Let CCL's
inpector handle this case. Which does it better and it's less work
for us.

Revision 1.1784 - (view) (annotate) - [select for diffs]
Sun Jun 14 17:07:03 2009 UTC (4 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.1783: +10 -0 lines
Diff to previous 1.1783
Some workarounds for SBCL on Windows.

* swank-sbcl.lisp (input-available-p): New function.
(wait-for-input): Use it.
([win32] handle-listen, has-buffered-input-p): New.
(temp-file-name, tempnam): Plain tmpnam(3) is next to useless on
Windows use tempnam(3) instead.

Revision 1.1783 - (view) (annotate) - [select for diffs]
Fri Jun 12 12:13:36 2009 UTC (4 years, 10 months ago) by gcarncross
Branch: MAIN
Changes since 1.1782: +5 -0 lines
Diff to previous 1.1782
*** empty log message ***

Revision 1.1782 - (view) (annotate) - [select for diffs]
Thu Jun 11 08:07:17 2009 UTC (4 years, 10 months ago) by trittweiler
Branch: MAIN
Changes since 1.1781: +6 -2 lines
Diff to previous 1.1781
	* slime.el ([test] font-lock-magic): Moved to fontifying-fu contrib.

Revision 1.1781 - (view) (annotate) - [select for diffs]
Fri Jun 5 19:58:53 2009 UTC (4 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.1780: +2 -0 lines
Diff to previous 1.1780
* swank-openmcl.lisp (disassemble-frame): Print current PC.

Revision 1.1780 - (view) (annotate) - [select for diffs]
Fri Jun 5 19:49:01 2009 UTC (4 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.1779: +10 -0 lines
Diff to previous 1.1779
Don't clutter compiler messages with source positions.  Especially
stuff like "In an anonymous lambda form inside an anonymous lambda
form inside an anonymous lambda form inside FOO: Undeclared free
variable X" is not helpful.

* swank-openmcl.lisp (compiler-warning-short-message): New GF.
(handle-compiler-warning): Use it.

Revision 1.1779 - (view) (annotate) - [select for diffs]
Thu Jun 4 09:08:06 2009 UTC (4 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.1778: +5 -0 lines
Diff to previous 1.1778
* slime.el (slime-dispatch-event [:emcas-rex]): Don't clutter
the main code-path with confusing error handling.

Revision 1.1778 - (view) (annotate) - [select for diffs]
Thu Jun 4 08:50:37 2009 UTC (4 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.1777: +5 -5 lines
Diff to previous 1.1777
*** empty log message ***

Revision 1.1777 - (view) (annotate) - [select for diffs]
Thu Jun 4 08:50:24 2009 UTC (4 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.1776: +5 -0 lines
Diff to previous 1.1776
* swank-openmcl.lisp (*known-processes*, mailbox): Use a weak hashtable
to plug the memory leak.

Revision 1.1776 - (view) (annotate) - [select for diffs]
Thu May 28 19:01:09 2009 UTC (4 years, 10 months ago) by trittweiler
Branch: MAIN
Changes since 1.1775: +4 -0 lines
Diff to previous 1.1775
	* slime.el (def-slime-test): Forgot to remove debugging code.

Revision 1.1775 - (view) (annotate) - [select for diffs]
Thu May 28 16:57:00 2009 UTC (4 years, 10 months ago) by trittweiler
Branch: MAIN
Changes since 1.1774: +7 -0 lines
Diff to previous 1.1774
	* slime.el (slime-dispatch-event :emacs-rex): Make sure that we
	pop the continuation on erroneous send.

	Patch by Mark Cox <markcox80@gmail.com>.

Revision 1.1774 - (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.1773: +5 -0 lines
Diff to previous 1.1773
	* swank.lisp (tokenize-symbol-thoroughly): Make it work correctly
	on escaped symbols.

Revision 1.1773 - (view) (annotate) - [select for diffs]
Thu May 28 15:38:11 2009 UTC (4 years, 10 months ago) by trittweiler
Branch: MAIN
Changes since 1.1772: +17 -0 lines
Diff to previous 1.1772
	* slime.el (slime-disconnect): Now only disconnects one
	connection, current one by default, or given by argument.
	(slime-disconnect-all): New. What `slime-disconnect' was before.
	(def-slime-test): Changed: expected failures are now given
	by (:fails-for ...) clauses. Extended: new clause (:style ...) to
	have a test run only on a certain communication style. Updated
	existing test cases accordingly.
	([struct] slime-test): New slot `skipped'.
	(slime-skipped-tests): New var.
	(slime-execute-tests): Adapted accordingly.
	([test] disconnect): Renamed to `disconnect-and-reconnect'
	([test] disconnect-one-conneciton): New.

	Adapted from patch by Stas Boukarev.

Revision 1.1772 - (view) (annotate) - [select for diffs]
Sun May 24 12:58:50 2009 UTC (4 years, 10 months ago) by trittweiler
Branch: MAIN
Changes since 1.1771: +8 -1 lines
Diff to previous 1.1771
	* slime.el ([test] fancy-symbol-names): Add cases involving #|
	... |# style comments. Currently failing.

	Reported by Madhu.

Revision 1.1771 - (view) (annotate) - [select for diffs]
Sun May 24 12:24:04 2009 UTC (4 years, 10 months ago) by trittweiler
Branch: MAIN
Changes since 1.1770: +7 -0 lines
Diff to previous 1.1770
	(slime-goto-location-position): Only go to match-beginning if
	search succeeded.

Revision 1.1770 - (view) (annotate) - [select for diffs]
Sat May 23 16:48:16 2009 UTC (4 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.1769: +8 -0 lines
Diff to previous 1.1769
* swank-openmcl.lisp (break-in-sldb): Honor *break-on-signals*.
That means that we can't use SIGNAL here and we have to invoke
SLDB directly.
(condition-for-break): New helper.
Reported by Bill St. Clair.

Revision 1.1769 - (view) (annotate) - [select for diffs]
Thu May 21 09:41:50 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1768: +9 -0 lines
Diff to previous 1.1768
	* slime.el (slime-symbol-at-point): Sometimes we can be too good,
	e.g. in "|# (defun foo () (getf" the above would return nil
	because the vertical bar is not terminated. The user probably
	wants "getf" nontheless.

	Reported by Madhu.

Revision 1.1768 - (view) (annotate) - [select for diffs]
Tue May 19 20:42:22 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1767: +7 -0 lines
Diff to previous 1.1767
	* slime.el (sldb-restartable-frame-line-face): Set a default value.
	(sldb-frame-restartable-p): New.
	(sldb-compute-frame-face): Use it.
	(sldb-show-frame-details): Use it, too.

Revision 1.1767 - (view) (annotate) - [select for diffs]
Tue May 19 10:51:38 2009 UTC (4 years, 11 months ago) by nsiivola
Branch: MAIN
Changes since 1.1766: +7 -0 lines
Diff to previous 1.1766
guard agains source path mapping hitting reader errors

  Example: compile (defun foo () (bar)) in a file. Edit
  the definition to look like (defun foo () (nopackage:bar)),
  close the file and hit M-. foo. Prior to this an error shows
  in the minibuffer, and nothing else happens.

Revision 1.1766 - (view) (annotate) - [select for diffs]
Tue May 19 09:51:54 2009 UTC (4 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.1765: +9 -0 lines
Diff to previous 1.1765
* swank-openmcl.lisp (source-note-to-source-location): Always
test *temp-file-map* first, because the temp-file might actually
exist during compilation but no longer when Emacs tries to open
it.
(slime-goto-location-buffer): Don't create buffers for
non-existent files.

Revision 1.1765 - (view) (annotate) - [select for diffs]
Mon May 18 12:54:08 2009 UTC (4 years, 11 months ago) by nsiivola
Branch: MAIN
Changes since 1.1764: +7 -0 lines
Diff to previous 1.1764
new variable: slime-description-autofocus

  Controls behaviour of popped up description buffers.

Revision 1.1764 - (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.1763: +11 -0 lines
Diff to previous 1.1763
	* 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.1763 - (view) (annotate) - [select for diffs]
Sun May 17 14:21:55 2009 UTC (4 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.1762: +1 -0 lines
Diff to previous 1.1762
* swank-openmcl.lisp (who-specializes): Simplify.

Revision 1.1762 - (view) (annotate) - [select for diffs]
Sun May 17 13:00:24 2009 UTC (4 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.1761: +5 -1 lines
Diff to previous 1.1761
* swank-openmcl.lisp (disassemble-frame, xref-locations): Simplify.
(list-callers): Use ccl::caller-functions which gives us more precise
src-locs than ccl::callers.
(canonicalize-location, remove-filename-quoting)
(maybe-method-location): Deleted.  No longer used.

Revision 1.1761 - (view) (annotate) - [select for diffs]
Sun May 17 13:00:16 2009 UTC (4 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.1760: +3 -0 lines
Diff to previous 1.1760
* swank-openmcl.lisp (eval-in-frame, frame-source-location-for-emacs)
(return-from-frame, restart-frame)
(disassemble-frame): Simplify.

Revision 1.1760 - (view) (annotate) - [select for diffs]
Sun May 17 13:00:06 2009 UTC (4 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.1759: +5 -0 lines
Diff to previous 1.1759
* swank-openmcl.lisp (compile-temp-file): Remove backward
compatibility code.

Revision 1.1759 - (view) (annotate) - [select for diffs]
Sun May 17 08:59:31 2009 UTC (4 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.1758: +14 -0 lines
Diff to previous 1.1758
More precise compiler-message location.

* swank-openmcl.lisp (handle-compiler-warning): Use the
source-note slot of the condition as source location, which is
more precise than the stream-position slot.
(compiler-warning-severity): New function. The distinction between
warning and style-warning is rather arbitrary but let's try it.
(swank-compile-file): Pass the external-format arg down to
compile file.
(*buffer-name*, *buffer-offset*, condition-source-position):
Deleted. No longer used.

Revision 1.1758 - (view) (annotate) - [select for diffs]
Sat May 16 18:17:10 2009 UTC (4 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.1757: +10 -0 lines
Diff to previous 1.1757
Minor refactoring.

* swank-openmcl.lisp (call/frame, with-frame): New macro.
(frame-visible-variables): New helper.
(frame-var-value, frame-locals, disassemble-frame): Use it.
(frame-catch-tags): Removed.  Way to much code for such a rarely
used function.

Revision 1.1757 - (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.1756: +2 -0 lines
Diff to previous 1.1756
* swank.lisp (sldb-bitvector-pprint): Oops, all bits are true.

Revision 1.1756 - (view) (annotate) - [select for diffs]
Sat May 16 17:21:02 2009 UTC (4 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.1755: +7 -0 lines
Diff to previous 1.1755
* swank-openmcl.lisp (swank-compile-string): Store the source
code, by setting CCL:*SAVE-SOURCE-LOCATIONS* to T, for better
disassembler output.
(function-source-location): Remove the old pre-1.3 version.

Revision 1.1755 - (view) (annotate) - [select for diffs]
Sat May 16 12:46:04 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1754: +6 -0 lines
Diff to previous 1.1754
	* slime.el (slime-current-parser-state): Do not save
	match-data. This function is called so often that it makes a
	difference.

Revision 1.1754 - (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.1753: +8 -0 lines
Diff to previous 1.1753
* 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.1753 - (view) (annotate) - [select for diffs]
Fri May 15 18:47:38 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1752: +7 -0 lines
Diff to previous 1.1752
	* swank-allegro.lisp (swank-compile-string): Forgot to remove old
	definition in changeset 2009-05-12.

	Patch by Stelian Ionescu.

Revision 1.1752 - (view) (annotate) - [select for diffs]
Fri May 15 18:33:50 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1751: +13 -0 lines
Diff to previous 1.1751
	Move font-lock-magic into contrib/slime-fontifying-fu.el.

	* slime.el (slime-highlight-suppressed-forms),
	(slime-reader-conditional-face),
	(slime-search-suppressed-forms-internal),
	(slime-search-suppressed-forms),
	(slime-search-directly-preceding-reader-conditional),
	(slime-extend-region-for-font-lock),
	(slime-compute-region-for-font-lock),
	(slime-activate-font-lock-magic): Moved.

Revision 1.1751 - (view) (annotate) - [select for diffs]
Fri May 15 18:18:27 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1750: +16 -0 lines
Diff to previous 1.1750
	Rewrote some parts of the font-lock-magic in face of its fragility
	over the last days. Hopefully it'll be better now.

	* slime.el (slime-region-for-tlf-at-point): Removed. Not needed
	anymore.
	(slime-region-for-extended-tlf-at-point): Removed.
	(slime-search-backward-reader-conditional): Removed.
	(slime-search-directly-preceding-reader-conditional):
	New. Similiar to the above.
	(slime-extend-region-for-font-lock): Display bug message when
	error is caught.
	(slime-compute-region-for-font-lock): Rewritten.
	([test] font-lock-magic): Another test case.

Revision 1.1750 - (view) (annotate) - [select for diffs]
Thu May 14 14:41:47 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1749: +7 -0 lines
Diff to previous 1.1749
	* slime.el (slime-region-for-tlf-at-point): Use
	`(end-of-defun) (backward-sexp)' rather than
	`(end-of-defun) (beginning-of-defun' to go to the start of the
	current defun. The latter would fail on "() (a\nb\nc)".

Revision 1.1749 - (view) (annotate) - [select for diffs]
Thu May 14 13:57:10 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1748: +5 -1 lines
Diff to previous 1.1748
	* slime.el (slime-compute-region-for-font-lock): Fix typo.

Revision 1.1748 - (view) (annotate) - [select for diffs]
Wed May 13 18:51:26 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1747: +18 -0 lines
Diff to previous 1.1747
	* slime.el (slime-search-suppressed-forms): On errors, we have to
	continue the search, otherwise there's a chance that we miss
	reader conditionals in the current font-lock region.
	(slime-search-backward-reader-conditional): New. Extracted from
	`slime-region-for-extended-tlf-at-point'.
	(slime-region-for-extended-tlf-at-point): Use it.
	(slime-font-lock-region): Removed.
	(slime-font-lock-region-changed-p): Removed.
	(slime-extend-region-for-font-lock): Simplified.
	(slime-compute-region-for-font-lock): Make sure that we never
	return a flag indicating change when there was in fact no
	change. This should make the explicit guard against infinite loop
	superfluous.
	(slime-extend-region-warn-infinite-loop): Removed.
	([test] font-lock-magic): More cases.

Revision 1.1747 - (view) (annotate) - [select for diffs]
Tue May 12 18:36:04 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1746: +11 -0 lines
Diff to previous 1.1746
	Make font-lock-magic test case pass.

	* slime.el (slime-bug): New function.
	(slime-search-suppressed-forms): Use it.
	(slime-extend-region-warn-infinite-loop): Ditto.
	(slime-search-suppressed-forms-internal): Check whether we're
	inside a comment, or a string.
	([test] font-lock-magic): Add another case.

Revision 1.1746 - (view) (annotate) - [select for diffs]
Tue May 12 17:37:13 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1745: +15 -0 lines
Diff to previous 1.1745
	Highlight reader-errors in the source buffers on Allegro.

	* swank-allegro.lisp (*temp-file-header-end-position*): New
	variable.
	(call-with-compilation-hooks): Handle reader errors.
	(handle-compiler-warning): Adapt it accordingly.
	(location-for-reader-error): New.
	(compile-from-temp-file): Now takes a header argument explicitly
	so we can hold of the actual offset of the string we want to
	compile. This is needed to translate back file-positions reported
	in reader-errors.
	(swank-compile-string, swank-compile-file): Adapted accordingly.

Revision 1.1745 - (view) (annotate) - [select for diffs]
Tue May 12 17:26:48 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1744: +5 -0 lines
Diff to previous 1.1744
	* swank-allegro.lisp (find-topframe): Hide SWANK related cruft
	from showing up in backtraces in SLDB.

Revision 1.1744 - (view) (annotate) - [select for diffs]
Tue May 12 17:24:49 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1743: +6 -0 lines
Diff to previous 1.1743
	* slime.el (slime-display-warning): Add `warning' as warning type.
	(slime-show-note-counts): If compilation failed, fontify the
	message in red to be more visibly apparant.

Revision 1.1743 - (view) (annotate) - [select for diffs]
Mon May 11 08:03:39 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1742: +5 -0 lines
Diff to previous 1.1742
	(slime-eval-feature-expression): Guard for more erroneous
	input (due to refontification while user's typing.)

Revision 1.1742 - (view) (annotate) - [select for diffs]
Sun May 10 17:18:02 2009 UTC (4 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.1741: +4 -0 lines
Diff to previous 1.1741
* slime.el ([test] font-lock-magic): Add some hard cases.

Revision 1.1741 - (view) (annotate) - [select for diffs]
Sun May 10 12:52:48 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1740: +4 -0 lines
Diff to previous 1.1740
	* slime.el (slime-compute-region-for-font-lock): Fix typo.

Revision 1.1740 - (view) (annotate) - [select for diffs]
Sun May 10 10:11:18 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1739: +16 -0 lines
Diff to previous 1.1739
	Font-lock magic barfed on #+(test).

	* slime.el (slime-eval-feature-conditional): Renamed to
	`slime-eval-feature-expression'.
	(slime-unknown-feature-expression): New error symbol.
	(slime-eval-feature-expression): Signal it.
	(slime-search-suppressed-forms): Catch it.
	(slime-compute-region-for-font-lock): Guard against unbalanced
	parentheses.
	(slime-initialize-lisp-buffer-for-test-suite): New helper.
	([test] font-lock-magic): New test case.

	Reported by Kalyanov Dmitry.

Revision 1.1739 - (view) (annotate) - [select for diffs]
Sat May 9 19:26:00 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1738: +9 -0 lines
Diff to previous 1.1738
	* swank-source-file-cache.lisp (read-snippet-from-string): New.

	* swank-sbcl.lisp (source-hint-snippet): Use it.
	(emacs-buffer-source-location): Use it, too.
	(string-path-snippet): Ditto. Additionally: Make sure the returned
	string is truncated by *SOURCE-SNIPPET-SIZE*.

Revision 1.1738 - (view) (annotate) - [select for diffs]
Fri May 8 18:11:14 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1737: +5 -0 lines
Diff to previous 1.1737
	* slime.el (slime-search-suppressed-forms-internal): Not properly
	factored out by earlier changeset.

Revision 1.1737 - (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.1736: +9 -0 lines
Diff to previous 1.1736
	* 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.1736 - (view) (annotate) - [select for diffs]
Fri May 8 16:14:10 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1735: +9 -0 lines
Diff to previous 1.1735
	#+#.foo confused the recent fontification changes. Fix that.

	* slime.el (slime-search-suppressed-forms-internal): New. Split
	from `slime-search-suppressed-forms'.
	(slime-search-suppressed-forms): Catch `invalid-read-syntax'
	errors.

Revision 1.1735 - (view) (annotate) - [select for diffs]
Fri May 1 20:24:03 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1734: +18 -0 lines
Diff to previous 1.1734
	* slime.el (slime-line-number-at-pos): Replaced with
	`line-number-at-pos', and add that to the portability layer.
	(display-warning): Add to the portability layer.
	(slime-display-warning): New.

	* slime.el: Implement a guard against infinite loops during
	fontification. We detect and prevent those. If we detect one, we
	emit a big warning to the user.

	(slime-font-lock-region): New variable.
	(slime-font-lock-region-changed-p): New helper.
	(slime-extend-region-warn-infinite-loop): New helper.
	(slime-compute-region-for-font-lock): Extracted from
	`slime-extend-region-for-font-lock'.
	(slime-extend-region-for-font-lock): Use it; add the guard.

Revision 1.1734 - (view) (annotate) - [select for diffs]
Thu Apr 30 12:50:25 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1733: +5 -0 lines
Diff to previous 1.1733
	* swank-abcl.lisp: Really commit Vodonosov's patch from
	2009-03-09.

Revision 1.1733 - (view) (annotate) - [select for diffs]
Wed Apr 29 22:29:18 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1732: +1 -3 lines
Diff to previous 1.1732
Fix thinko. DOCUMENTATION does not support :CLASS.

Revision 1.1732 - (view) (annotate) - [select for diffs]
Wed Apr 29 22:20:25 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1731: +14 -0 lines
Diff to previous 1.1731
	* swank-backend.lisp ([default] declaration-arglist): Add
	arglist of DECLARATION declaration.

	* swank-openmcl.lisp ([eql 'optimize] declaration-arglist):
	Implement it for CCL.
	(describe-symbol-for-emacs): Add :CLASS and :TYPE.
	(describe-definition): Add :TYPE.

	* swank-sbcl.lisp (describe-symbol-for-emacs): Add :CLASS.

	Adapted from patch by Stas Boukarev.

Revision 1.1731 - (view) (annotate) - [select for diffs]
Wed Apr 29 22:05:16 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1730: +5 -0 lines
Diff to previous 1.1730
	* slime.el (slime-extend-region-for-font-lock): (nth 0
	<parser-state>) may return negative numbers.

Revision 1.1730 - (view) (annotate) - [select for diffs]
Wed Apr 29 17:11:13 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1729: +13 -0 lines
Diff to previous 1.1729
	* slime.el: Fix infinite loop during fontification introduced
	by yesterday's changeset.

	(slime-region-for-tlf-at-point): New. Like
	`slime-region-for-defun-at-point' but tries harder to get the
	toplevel form right.
	(slime-region-for-extended-tlf-at-point): Previously
	`slime-region-for-extended-defun-at-point'.
	(slime-extend-region-for-font-lock): Use it.
	(slime-mark-defun-for-font-lock): Ditto.

Revision 1.1729 - (view) (annotate) - [select for diffs]
Tue Apr 28 20:41:32 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1728: +19 -0 lines
Diff to previous 1.1728
	* slime.el: Fix fontification of suppressed (by reader
	conditionals) forms. That is make it reliably and totally work.

	(slime-region-for-extended-defun-at-point): New. Like
	`slime-region-for-defun-at-point' but takes preceding reader
	conditionals into account.
	(slime-extend-region-for-font-lock): New. Make sure that
	fontification operates on regions spanning a whole toplevel form
	only. So we never operate within the context of a reader
	conditional and we never miss any of those.
	(slime-search-suppressed-forms): Remove ignore-errors; not needed
	anymore now as we extend the region for fontification.
	(slime-mark-defun-for-font-lock): New.
	(slime-activate-font-lock-magic): Push
	`slime-extend-region-for-font-lock' onto
	`font-lock-extend-region-functions'.

Revision 1.1728 - (view) (annotate) - [select for diffs]
Sat Apr 25 08:53:16 2009 UTC (4 years, 11 months ago) by trittweiler
Branch: MAIN
Changes since 1.1727: +9 -0 lines
Diff to previous 1.1727
	* slime.el (slime-show-description): Put the connection name into
	the buffer name for description buffers. So we can have multiple
	description buffers open, one per connection.

	Useful for comparing the output of DISASSEMBLE across
	implementations.

Revision 1.1727 - (view) (annotate) - [select for diffs]
Tue Apr 21 13:01:16 2009 UTC (5 years ago) by trittweiler
Branch: MAIN
Changes since 1.1726: +6 -0 lines
Diff to previous 1.1726
	* slime.el (slime-handle-indentation-update): Revert change from
	2009-03-09; that was a thinko.
	([test] indentation): Some basic test case for correct indentation.

Revision 1.1726 - (view) (annotate) - [select for diffs]
Fri Apr 3 21:14:11 2009 UTC (5 years ago) by trittweiler
Branch: MAIN
Changes since 1.1725: +1 -1 lines
Diff to previous 1.1725
fix typo.

Revision 1.1725 - (view) (annotate) - [select for diffs]
Fri Apr 3 21:13:00 2009 UTC (5 years ago) by trittweiler
Branch: MAIN
Changes since 1.1724: +7 -0 lines
Diff to previous 1.1724
	* swank-sbcl.lisp (swank-compile-file): Return T for the FAILURE-P
	return value in case of a FATA-COMPILER-ERROR.

Revision 1.1724 - (view) (annotate) - [select for diffs]
Fri Apr 3 20:43:11 2009 UTC (5 years ago) by trittweiler
Branch: MAIN
Changes since 1.1723: +6 -0 lines
Diff to previous 1.1723
	* slime.el (slime-inspector-mode-map): Remove binding for
	M-RET. (It'll be added by the slime-repl contrib.)
	(slime-inspector-copy-down): Removed.

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

Revision 1.1722 - (view) (annotate) - [select for diffs]
Fri Mar 27 20:49:41 2009 UTC (5 years ago) by heller
Branch: MAIN
Changes since 1.1721: +4 -0 lines
Diff to previous 1.1721
* slime.el (slime-setup-contribs): Moved over from
slime-autoloads.el

Revision 1.1721 - (view) (annotate) - [select for diffs]
Fri Mar 27 12:58:45 2009 UTC (5 years ago) by heller
Branch: MAIN
Changes since 1.1720: +2 -0 lines
Diff to previous 1.1720
* swank-openmcl.lisp (kill-thread): Use an implementation that doesn't raise a
serious-conditions.

Revision 1.1720 - (view) (annotate) - [select for diffs]
Fri Mar 27 12:58:38 2009 UTC (5 years ago) by heller
Branch: MAIN
Changes since 1.1719: +5 -0 lines
Diff to previous 1.1719
* swank-openmcl.lisp (toggle-trace): Replace ccl::%trace with
ccl:trace-function.

Revision 1.1719 - (view) (annotate) - [select for diffs]
Fri Mar 27 12:58:31 2009 UTC (5 years ago) by heller
Branch: MAIN
Changes since 1.1718: +4 -0 lines
Diff to previous 1.1718
* slime.el ([test] macroexpand): Fix more case issues.

Revision 1.1718 - (view) (annotate) - [select for diffs]
Wed Mar 25 07:31:48 2009 UTC (5 years ago) by heller
Branch: MAIN
Changes since 1.1717: +4 -0 lines
Diff to previous 1.1717
* slime.el ([test] macroexpand): Ignore case.

Revision 1.1717 - (view) (annotate) - [select for diffs]
Mon Mar 9 22:51:24 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1716: +9 -1 lines
Diff to previous 1.1716
	* slime.el (slime-define-channel-type): Indulge in pretty colors.
	(slime-define-channel-method): You, too!

	(slime-handle-indentation-update): Always put an indentation
	update on 'slime-indent; for slime-indentation-fu.

Revision 1.1716 - (view) (annotate) - [select for diffs]
Mon Mar 9 11:52:37 2009 UTC (5 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.1715: +14 -0 lines
Diff to previous 1.1715
Use correct encoding and eol conventions for socket streams.

* swank-abcl.lisp (accept-connection): Honor external-format
argument.
(*external-format-to-coding-system*, find-external-format): New.

Revision 1.1715 - (view) (annotate) - [select for diffs]
Mon Mar 9 11:06:38 2009 UTC (5 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.1714: +7 -0 lines
Diff to previous 1.1714
* hyperspec.el (common-lisp-hyperspec-lookup-reader-macro): Use
case-insensitive completion.
(hyperspec-lookup-reader-macro): New alias.
Suggested by Stas Boukarev.

Revision 1.1714 - (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.1713: +7 -0 lines
Diff to previous 1.1713
Make fasl-pathname fully customizable not only the direcrory part.

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

Revision 1.1713 - (view) (annotate) - [select for diffs]
Sat Mar 7 21:12:33 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1712: +8 -0 lines
Diff to previous 1.1712
	* slime.el (slime-choose-overlay-for-read-error): Extraced and
	extended from `slime-choose-overlay-region'. Differentiate between
	symbol-related reader-errors (package not found &c) and
	character-related reader-errors.
	(slime-choose-overlay-region): Use it.

Revision 1.1712 - (view) (annotate) - [select for diffs]
Sat Mar 7 19:29:43 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1711: +6 -0 lines
Diff to previous 1.1711
	* slime.el (make-slime-buffer-location, make-slime-file-location):
	Do not default to (:hints), but to nil, as expected in the
	slime-side source-location machinery.

Revision 1.1711 - (view) (annotate) - [select for diffs]
Sat Mar 7 19:08:03 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1710: +10 -0 lines
Diff to previous 1.1710
	* slime.el (slime-choose-overlay-region): Special case :read-error
	notes regardless of position kind.

	* swank-sbcl.lisp (signal-compiler-condition): Return :READ-ERROR
	as severity for reader-errors.
	(compiler-note-location): Fix off-by-one when compiling from
	buffer.

Revision 1.1710 - (view) (annotate) - [select for diffs]
Sat Mar 7 10:14:42 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1709: +12 -0 lines
Diff to previous 1.1709
	* swank-sbcl.lisp (compiling-from-buffer-p),
	(compiling-from-file-p)
	(compiling-from-generated-code-p): New helpers; extracted from
	LOCATE-COMPILER-NOTE.
	(locate-compiler-note): Use them.
	(compiler-note-location): Use them, too, to handle reader-errors
	when compiling from file. This completes 2009-02-27.

	Reported by Christian Lynbech.

Revision 1.1709 - (view) (annotate) - [select for diffs]
Fri Mar 6 23:23:52 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1708: +6 -0 lines
Diff to previous 1.1708
	* slime.el ([portability] getf): Redefine `getf' on Emacs21 to
	work on malformed plists like it does on later Emacsen. This made
	the `find-local-definitions' test case fail on Emacs21.

Revision 1.1708 - (view) (annotate) - [select for diffs]
Wed Mar 4 20:40:01 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1707: +8 -0 lines
Diff to previous 1.1707
	* slime.el (slime-check-fancy-symbol-name): Use
	`slime-test-expect' instead of `slime-check'.
	([test] fancy-symbol-names): Extend test case; check for
	"Foo" in #<Foo| {...}>.
	(slime-symbol-constituent-at-pos): Check for #<.

Revision 1.1707 - (view) (annotate) - [select for diffs]
Wed Mar 4 19:43:29 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1706: +6 -0 lines
Diff to previous 1.1706
	* slime.el (slime-wait-condition): Remove `save-excursion'; it
	made the `repl-test' test case fail because this test tries to set
	point to the new prompt in vain.

Revision 1.1706 - (view) (annotate) - [select for diffs]
Tue Mar 3 10:04:09 2009 UTC (5 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.1705: +4 -0 lines
Diff to previous 1.1705
* slime.el (slime-pretty-package-name): Simplify.

Revision 1.1705 - (view) (annotate) - [select for diffs]
Tue Mar 3 10:03:59 2009 UTC (5 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.1704: +12 -0 lines
Diff to previous 1.1704
Use a separate key, C-c C-d #, to lookup reader-macros.

* hyperspec.el (common-lisp-hyperspec-lookup-reader-macro): New
command.
(common-lisp-hyperspec-reader-macros): New variable.
(common-lisp-hyperspec-reader-macro-at-point): Moved over from
slime.el
* slime.el (slime-doc-bindings): Bind C-c C-d #.
(slime-hyperspec-lookup): Don't consider reader-macros.

Revision 1.1704 - (view) (annotate) - [select for diffs]
Mon Mar 2 20:35:54 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1703: +6 -0 lines
Diff to previous 1.1703
	* hyperspec.el (common-lisp-hyperspec-symbols): Add entries for
	reader macros even when `common-lisp-hyperspec-symbol-table' is
	bound to some value.

Revision 1.1703 - (view) (annotate) - [select for diffs]
Fri Feb 27 22:00:25 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1702: +6 -0 lines
Diff to previous 1.1702
	* slime.el ([test] macroexpand): New test case.
	(slime-buffer-visible-p): New helper.
	(slime-execute-as-command): New helper.

Revision 1.1702 - (view) (annotate) - [select for diffs]
Fri Feb 27 19:02:44 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1701: +10 -0 lines
Diff to previous 1.1701
	* hyperspec.el (common-lisp-hyperspec-symbols): Add links to
	reader macros.

	* slime.el (slime-reader-macro-at-point): New function.
	(slime-hyperspec-lookup): Call it.

	Adapted from Stas Boukarev.

Revision 1.1701 - (view) (annotate) - [select for diffs]
Fri Feb 27 17:37:14 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1700: +5 -0 lines
Diff to previous 1.1700
	* slime.el: Rename `slime-symbol-name-at-point' to
	`slime-symbol-at-point'.

	* slime-autodoc.el, slime-c-p-c.el, slime-enclosing-context.el
	* slime-package-fu.el, slime-parse.el, slime-presentations.el
	* slime-xref-browser: Rename `slime-symbol-name-at-point' to
	`slime-symbol-at-point'

Revision 1.1700 - (view) (annotate) - [select for diffs]
Fri Feb 27 17:27:49 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1699: +7 -0 lines
Diff to previous 1.1699
	* slime.el ([portability] lisp-mode-syntax-table): On Emacs21,
	make @ a prefix character like it's from Emacs22
	onward. `slime-symbol-name-at-point' was written with that
	assumption.

Revision 1.1699 - (view) (annotate) - [select for diffs]
Fri Feb 27 16:16:23 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1698: +6 -0 lines
Diff to previous 1.1698
	* slime.el (slime-current-parser-state): Wrap `syntax-ppss' in a
	`save-match-data'. This issue has been reported to the Emacs
	maintainers.

Revision 1.1698 - (view) (annotate) - [select for diffs]
Fri Feb 27 14:59:06 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1697: +12 -0 lines
Diff to previous 1.1697
	* slime.el (slime-defun-if-undefined),
	(slime-defmacro-if-undefined): Renamed to
	`slime-DEFUN-if-undefined' and `slime-DEFMACRO-if-undefined' to
	better differentiate between the two.

	(slime-indulge-pretty-colors): New function. You can now put a
	symbol on the plist of `slime-indulge-pretty-colors' to make the
	symbol be fontified like `defun'. This is done for
	`slime-def-connection-var', and the two symbols above.

Revision 1.1697 - (view) (annotate) - [select for diffs]
Fri Feb 27 14:49:28 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1696: +9 -0 lines
Diff to previous 1.1696
	* slime.el (slime-defmacro-if-undefined): New. Analogous to
	`slime-defun-if-undefined'.
	([portablity]] with-selected-window) Use it.
	([portability] with-temo-buffer): Likewise.

	Patch by Theam Yong Chew.

Revision 1.1696 - (view) (annotate) - [select for diffs]
Thu Feb 26 23:41:41 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1695: +12 -0 lines
Diff to previous 1.1695
	C-c C-c on (defun foo () ,bar) did not result in a compiler note
	overlay on SBCL.

	* swank-sbcl.lisp (compiler-note-location): Make it take a
	condition; if the condition is a READER-ERROR, the passed
	compiler-error-context is very likely NIL---we have not proceeded
	beyond reading, so we aren't within the compiler yet. In that
	case, we use the stream position of the stream behind the
	READER-ERROR instead.

Revision 1.1695 - (view) (annotate) - [select for diffs]
Thu Feb 26 21:50:00 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1694: +6 -0 lines
Diff to previous 1.1694
	* doc/slime.texi: Fix typos, and add keybindings not listed there.

	Patch by Stas Boukarev.

Revision 1.1694 - (view) (annotate) - [select for diffs]
Thu Feb 26 21:41:28 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1693: +5 -0 lines
Diff to previous 1.1693
	* slime.el (sldb-backward-frame): Only move backward when we're
	below the backtrace marker.

Revision 1.1693 - (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.1692: +9 -0 lines
Diff to previous 1.1692
	* 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.1692 - (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.1691: +8 -0 lines
Diff to previous 1.1691
	* 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.1691 - (view) (annotate) - [select for diffs]
Thu Feb 26 19:57:35 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1690: +5 -0 lines
Diff to previous 1.1690
	* swank-backend.lisp (warn-unimplemented-interfaces):
	Bind *PRINT-PRETTY* to T. Otherwise no sugar formatting on CCL.

Revision 1.1690 - (view) (annotate) - [select for diffs]
Thu Feb 26 18:41:23 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1689: +7 -0 lines
Diff to previous 1.1689
	* slime.el (slime-pretty-package-name): Signalled an error on
	simple symbols; fix that!

	Reported by Geoff Wozniak.

Revision 1.1689 - (view) (annotate) - [select for diffs]
Thu Feb 26 18:37:21 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1688: +5 -0 lines
Diff to previous 1.1688
	* slime.el (slime-current-form-path): Use
	`slime-current-parser-state'.

Revision 1.1688 - (view) (annotate) - [select for diffs]
Thu Feb 26 18:29:58 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1687: +11 -3 lines
Diff to previous 1.1687
	* slime.el ([test] fancy-symbol-names): New, hopefully
	comprehensive, test for funky symbol names.
	(slime-check-fancy-symbol-name): Helper.
	(slime-exit-vertical-bars): New function to move out from |foo|.
	(slime-symbol-constituent-at): New predicate to test whether the
	character at point is a valid symbol constituent.
	(slime-beginning-of-symbol, slime-end-of-symbol): Rewritten using
	above two functions and `forward-sexp' that correctly parses
	escapes etc.
	(slime-sexp-at-point): Consider thing at point a symbol first.

Revision 1.1687 - (view) (annotate) - [select for diffs]
Wed Feb 25 17:53:27 2009 UTC (5 years, 1 month ago) by loliveira
Branch: MAIN
Changes since 1.1686: +5 -0 lines
Diff to previous 1.1686
* contrib/slime-compiler-notes-tree.el: Fix typo in the `provide' form.

Revision 1.1686 - (view) (annotate) - [select for diffs]
Tue Feb 24 17:43:15 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1685: +6 -0 lines
Diff to previous 1.1685
	* slime.el (slime-forward-cruft): Forward whitespace, reader
	conditonals, comments. Splitted from `slime-forward-sexp'.
	(slime-pretty-package-name): Use it.

Revision 1.1685 - (view) (annotate) - [select for diffs]
Tue Feb 24 17:24:07 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1684: +6 -1 lines
Diff to previous 1.1684
	Re-checkin my change from 2009-02-14. It seems I didn't actually
	commit it.

Revision 1.1684 - (view) (annotate) - [select for diffs]
Tue Feb 24 16:51:46 2009 UTC (5 years, 1 month ago) by trittweiler
Branch: MAIN
Changes since 1.1683: +12 -0 lines
Diff to previous 1.1683
        `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.1683 - (view) (annotate) - [select for diffs]
Tue Feb 17 09:03:41 2009 UTC (5 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.1682: +8 -0 lines
Diff to previous 1.1682
* 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.1682 - (view) (annotate) - [select for diffs]
Sat Feb 14 17:01:52 2009 UTC (5 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1681: +9 -0 lines
Diff to previous 1.1681
	* slime.el (slime-reader-conditionals-regexp): New variable. Taken
	from `slime-forward-reader-conditional'.
	(slime-pretty-package-name): Fix modeline display for buffer
	containing forms like (in-package "#+foo :A #-foo :B"). Also do
	not call `read' on the name; the function does not need to return
	a symbol, and `read' may choke on non-elisp syntax.

Revision 1.1681 - (view) (annotate) - [select for diffs]
Sat Feb 14 12:33:36 2009 UTC (5 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.1680: +18 -18 lines
Diff to previous 1.1680
*** empty log message ***

Revision 1.1680 - (view) (annotate) - [select for diffs]
Sat Feb 14 12:33:27 2009 UTC (5 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.1679: +11 -0 lines
Diff to previous 1.1679
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.1679 - (view) (annotate) - [select for diffs]
Sat Feb 14 12:33:16 2009 UTC (5 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.1678: +7 -0 lines
Diff to previous 1.1678
* slime.el (slime-restart-or-init-modeline-update-timer): Don't
run the timer repeatedly.
(slime-change-directory): Also change the directory in the
connection-buffer.

Revision 1.1678 - (view) (annotate) - [select for diffs]
Wed Feb 11 20:55:01 2009 UTC (5 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1677: +6 -0 lines
Diff to previous 1.1677
	* slime.el (slime-current-tlf, slime-current-form-path): New
	functions; can be handy when inspecting source-locations while
	debugging M-.

Revision 1.1677 - (view) (annotate) - [select for diffs]
Wed Feb 11 20:00:57 2009 UTC (5 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1676: +11 -0 lines
Diff to previous 1.1676
	* slime.el: Barf if emacs-major-version <= 20. We support 21 and up.
	(slime-emacs-20-p): Removed.

	* slime.el (slime-forward-reader-comment): Removed.
	(slime-forward-any-comment): New; superset of above.
	(slime-forward-reader-conditional): Make it understand SBCL's
	#!+,#!- so it works in source files of SBCL itself, too.
	(slime-current-parser-state): New.

Revision 1.1676 - (view) (annotate) - [select for diffs]
Sat Feb 7 13:19:50 2009 UTC (5 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1675: +9 -0 lines
Diff to previous 1.1675
	In Xref, list IR1-conversion functions with :DEF-IR1-TRANSLATOR as
	prefix rather than DEFUN. (Test case: M-. on FUNCTION.)

	* swank-sbcl.lisp (definition-specifier): New function.
	(make-dspec): New function. Splitted from
	MAKE-SOURCE-LOCATION-SPECIFICATION.

Revision 1.1675 - (view) (annotate) - [select for diffs]
Fri Feb 6 23:48:14 2009 UTC (5 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1674: +6 -0 lines
Diff to previous 1.1674
	* slime.el (slime-initialize-macroexpansion-buffer): Clear the
	buffer-undo-list, so the user can't get expansions from earlier
	macroexpansions into the buffer, screwing up badly.

Revision 1.1674 - (view) (annotate) - [select for diffs]
Fri Jan 30 09:58:48 2009 UTC (5 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1673: +6 -0 lines
Diff to previous 1.1673
	* swank-clisp.lisp (fspec-location): Fix creation of source-location.

Revision 1.1673 - (view) (annotate) - [select for diffs]
Fri Jan 30 06:08:07 2009 UTC (5 years, 2 months ago) by gcarncross
Branch: MAIN
Changes since 1.1672: +5 -0 lines
Diff to previous 1.1672
2009-01-30  Geo Carncross  <geocar@gmail.com>

	* swank-ecl.lisp (grovel-docstring-for-arglist): Fix for arglist
	that reads, but isn't a list

Revision 1.1672 - (view) (annotate) - [select for diffs]
Tue Jan 27 14:56:14 2009 UTC (5 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1671: +11 -1 lines
Diff to previous 1.1671
	* swank-backend.lisp (with-symbol): New function, to be used with #+.

	* swank-sbcl.lisp: Use WITH-SYMBOL and get rid of SBCL-WITH-SYMBOL.

	* swank-openmcl.lisp (macroexpand-all): Implement it.

	Patch by Stas Boukarev.

Revision 1.1671 - (view) (annotate) - [select for diffs]
Fri Jan 23 10:05:03 2009 UTC (5 years, 2 months ago) by trittweiler
Branch: MAIN
Changes since 1.1670: +7 -0 lines
Diff to previous 1.1670
	* slime.el (slime-editing-keys): New variable; splitted from
	`slime-keys'. Contains key bindings that are useful for buffers
	where users can edit s-exprs, such as source buffers and the REPL.
	(slime-keys): Use it.

Revision 1.1670 - (view) (annotate) - [select for diffs]
Sat Jan 17 20:27:28 2009 UTC (5 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.1669: +8 -1 lines
Diff to previous 1.1669
	Fix C-u C-c C-c in SLDB.

	* slime.el (sldb-recompile-frame-source): Bind
	`slime-compilation-policy' at the right place.

Revision 1.1669 - (view) (annotate) - [select for diffs]
Fri Jan 16 15:50:03 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1668: +4 -0 lines
Diff to previous 1.1668
* slime.el (slime-keys): Put C-c C-i and M-* back.

Revision 1.1668 - (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.1667: +5 -0 lines
Diff to previous 1.1667
* swank.lisp (pprint-eval): Also return the output produced during
evaluation.

Revision 1.1667 - (view) (annotate) - [select for diffs]
Fri Jan 16 15:49:39 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1666: +4 -0 lines
Diff to previous 1.1666
* swank-openmcl.lisp (break-in-sldb): Display the argument.

Revision 1.1666 - (view) (annotate) - [select for diffs]
Fri Jan 16 15:49:25 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1665: +5 -0 lines
Diff to previous 1.1665
* swank-backend.lisp (warn-unimplemented-interfaces): Print the
names with pprint-fill.

Revision 1.1665 - (view) (annotate) - [select for diffs]
Thu Jan 15 17:07:21 2009 UTC (5 years, 3 months ago) by msimmons
Branch: MAIN
Changes since 1.1664: +6 -0 lines
Diff to previous 1.1664
swank-lispworks.lisp: wrapper functions for swank-mop
slot-boundp-using-class, slot-value-using-class and
slot-makunbound-using-class to account for MOP differences.

Revision 1.1664 - (view) (annotate) - [select for diffs]
Sat Jan 10 12:40:13 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1663: +4 -0 lines
Diff to previous 1.1663
* swank-openmcl.lisp (install-debugger-globally): Set *break-in-sldb*.

Revision 1.1663 - (view) (annotate) - [select for diffs]
Sat Jan 10 12:25:41 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1662: +5 -0 lines
Diff to previous 1.1662
* slime.el (slime-compile-file-options): New variable.
(slime-compile-file): Use it.

Revision 1.1662 - (view) (annotate) - [select for diffs]
Sat Jan 10 12:25:30 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1661: +6 -0 lines
Diff to previous 1.1661
* slime.el (slime-space): Declare `slime-space' to
`delete-selection-mode' and friends (CUA) so that their behavior
is the same as with normal insertion of a space.

Revision 1.1661 - (view) (annotate) - [select for diffs]
Sat Jan 10 12:25:15 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1660: +10 -0 lines
Diff to previous 1.1660
* 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.1660 - (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.1659: +5 -0 lines
Diff to previous 1.1659
* swank-backend.lisp (set-default-initial-binding): New function.
* swank.lisp (setup-stream-indirection):  Use it

Revision 1.1659 - (view) (annotate) - [select for diffs]
Sat Jan 10 10:08:17 2009 UTC (5 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.1658: +1 -1 lines
Diff to previous 1.1658
	Fix Changelog's date.

Revision 1.1658 - (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.1657: +4 -0 lines
Diff to previous 1.1657
	* swank.lisp (do-symbols*): Wrap body in TAGBODY.

Revision 1.1657 - (view) (annotate) - [select for diffs]
Fri Jan 9 07:12:55 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1656: +5 -0 lines
Diff to previous 1.1656
* swank-allegro.lisp (swank-compile-string): Don't use the
no-longer-existing directory argument.

Revision 1.1656 - (view) (annotate) - [select for diffs]
Thu Jan 8 16:20:14 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1655: +1 -1 lines
Diff to previous 1.1655
Some updates for the manual

Revision 1.1655 - (view) (annotate) - [select for diffs]
Thu Jan 8 16:13:33 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1654: +1 -0 lines
Diff to previous 1.1654
* slime.el ([test] arglist): Update arglist.

Revision 1.1654 - (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.1653: +4 -0 lines
Diff to previous 1.1653
Move the tree widget for compiler notes to contrib/.

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

Revision 1.1652 - (view) (annotate) - [select for diffs]
Thu Jan 8 10:33:30 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1651: +4 -1 lines
Diff to previous 1.1651
* slime.el (slime-popup-restore-data): Renamed from
slime-popup-buffer-restore-info.
(slime-popup-buffer-saved-fingerprint)
(slime-popup-buffer-saved-emacs-snapshot)
(slime-popup-buffer-snapshot-unchanged-p)
(slime-popup-buffer-restore-snapshot)
(slime-xref-quit, slime-xref-retract): Deleted.

Revision 1.1651 - (view) (annotate) - [select for diffs]
Thu Jan 8 10:33:21 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1650: +7 -0 lines
Diff to previous 1.1650
* slime.el (slime-popup-restore-data): Renamed from
slime-popup-buffer-restore-info.
(slime-popup-buffer-saved-fingerprint)
(slime-popup-buffer-saved-emacs-snapshot): Deleted.

Revision 1.1650 - (view) (annotate) - [select for diffs]
Thu Jan 8 10:33:11 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1649: +9 -0 lines
Diff to previous 1.1649
Remove some customization variables of questionale use.

* slime.el (slime-when-complete-filename-expand)
(slime-space-information-p, slime-display-compilation-output)
(sldb-show-location-recenter-arg, slime-recenter-window)
(slime-display-buffer-region): Deleted.

Revision 1.1649 - (view) (annotate) - [select for diffs]
Thu Jan 8 06:46:05 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1648: +8 -0 lines
Diff to previous 1.1648
Just use find-tag-marker-ring as stack for M-.

* slime.el (slime-push-definition-stack)
(slime-pop-find-definition-stack): Do whatever Emacs's standard
find-tag commands do.

Revision 1.1648 - (view) (annotate) - [select for diffs]
Thu Jan 8 06:45:56 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1647: +10 -0 lines
Diff to previous 1.1647
Fix the slime-next-location command.

* slime.el (slime-xref-last-buffer): New variable.
(slime-show-xrefs): Initialize it.
(slime-goto-next-xref): Use it.
(slime-search-property): New function.
(slime-xref-buffer): Delted

Revision 1.1647 - (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.1646: +4 -0 lines
Diff to previous 1.1646
* swank.lisp (*sldb-pprint-dispatch-table*): Honor *print-escape*

Revision 1.1646 - (view) (annotate) - [select for diffs]
Thu Jan 8 06:45:37 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1645: +3 -1 lines
Diff to previous 1.1645
* swank-cmucl.lisp (frame-locals, frame-debug-vars): Remove
non-valid variables.
(debug-var-value): Compute the location from the frame arg.

Revision 1.1645 - (view) (annotate) - [select for diffs]
Thu Jan 8 06:45:28 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1644: +5 -1 lines
Diff to previous 1.1644
* swank-cmucl.lisp (frame-locals): Remove non-valid variables.

Revision 1.1644 - (view) (annotate) - [select for diffs]
Thu Jan 8 06:45:19 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1643: +6 -0 lines
Diff to previous 1.1643
* swank-source-path-parser.lisp (make-source-recorder)
(source-path-source-position): Adjust the file-position before
entering it the table.

Revision 1.1643 - (view) (annotate) - [select for diffs]
Thu Jan 8 06:45:09 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1642: +14 -0 lines
Diff to previous 1.1642
* slime.el (slime-with-xref-buffer): Don't set
slime-popup-buffer-quit-function. Use the default.  Don't shrink
the window because it may have existed before creating the buffer
and we need to restore it.
(slime-goto-xref): Just use slime-popup-buffer-quit.
(slime-edit-definition-cont): Push definition stack here so that
we don't need to do anything special in slime-goto-xref.
(slime-display-popup-buffer): Also save the buffer that the popup
window was displaying before (if the window is not new).
(slime-close-popup-window): Restore the old buffer (if any) of the
popup window.

Revision 1.1642 - (view) (annotate) - [select for diffs]
Wed Jan 7 09:21:54 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1641: +4 -0 lines
Diff to previous 1.1641
* slime.el (slime-show-buffer-position): Use reposition-window.

Revision 1.1641 - (view) (annotate) - [select for diffs]
Wed Jan 7 09:21:44 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1640: +11 -0 lines
Diff to previous 1.1640
* slime.el (slime-keys): Remove the binding for C-c C-i. M-TAB
can also be pressed with M-C-i which is probably not taken
by the window manager.  ESC TAB would also work.  Maybe we
should reuse C-c C-i for slime-inspect.
Move C-c C-y to slime-repl.e.
Remove C-c C-f: it's already on C-c C-d f.
Remove C-c M-0: slime-restore-window-configuration doesn't exist.
Remove M-g: slime-quit doesn't work since ages.

* slime-repl.el (slime-mode-map): Bind C-c~ not ~.
Reported by James Wright.
(slime-repl-mode-map): Bind M-TAB.
Remove C-c C-k: compiling the REPL buffer doesn't work anyway.
Remove C-cC-b, C-c:, C-cE, C-cC-d, C-cC-w, C-M-x, C-cC-t, C-cC-l:
those are already bound in slime-parent-map.

Revision 1.1640 - (view) (annotate) - [select for diffs]
Mon Jan 5 21:58:14 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1639: +0 -1 lines
Diff to previous 1.1639
*** empty log message ***

Revision 1.1639 - (view) (annotate) - [select for diffs]
Mon Jan 5 21:58:05 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1638: +8 -0 lines
Diff to previous 1.1638
Create a compilation-log buffer so that next-error works but
don't display the buffer.

* slime.el (slime-create-compilation-log): New function.
(slime-compilation-finished-hook): Use it.

Revision 1.1638 - (view) (annotate) - [select for diffs]
Mon Jan 5 21:57:54 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1637: +13 -0 lines
Diff to previous 1.1637
Use keymap inheritance to share bindings in various modes.

* slime.el (slime-parent-map): New keymap.
(slime-mode-map, slime-popup-buffer-mode-map, sldb-mode-map)
(slime-inspector-mode-map): Use it.
(slime-parent-bindings, slime-prefix-bindings): New variables.
(slime-prefix-key, slime-define-key): Deleted.

Update contribs accordinly.

Revision 1.1637 - (view) (annotate) - [select for diffs]
Mon Jan 5 21:57:34 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1636: +5 -0 lines
Diff to previous 1.1636
* slime.el (slime-with-popup-buffer): New argment: select.
If nil (default) buffer will only be displayed but not selected.

Revision 1.1636 - (view) (annotate) - [select for diffs]
Mon Jan 5 15:54:10 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1635: +5 -0 lines
Diff to previous 1.1635
* slime.el (slime-show-compilation-log): Insert two lines at
the beginning.  Emacs 21 seems to skip over those two.

Revision 1.1635 - (view) (annotate) - [select for diffs]
Mon Jan 5 11:19:09 2009 UTC (5 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.1634: +5 -0 lines
Diff to previous 1.1634
	* swank-sbcl.lisp (function-arglist):
	SB-INTROSPECT:FUNCTION-ARGLIST is deprecated in bleeding edge sbcl.

Revision 1.1634 - (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.1633: +12 -0 lines
Diff to previous 1.1633
	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.1633 - (view) (annotate) - [select for diffs]
Sun Jan 4 20:54:00 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1632: +8 -0 lines
Diff to previous 1.1632
Make it possible to limit the number of displayed restarts.

* slime.el (sldb-initial-restart-limit)
(sldb-insert-more-restarts): New.
(sldb-setup, sldb-insert-restarts): Use it.

Revision 1.1632 - (view) (annotate) - [select for diffs]
Sun Jan 4 20:53:48 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1631: +6 -1 lines
Diff to previous 1.1631
* slime.el (slime-local-variable-p): New function. XEmacs requires
two arguments.

Revision 1.1631 - (view) (annotate) - [select for diffs]
Sun Jan 4 20:53:30 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1630: +7 -0 lines
Diff to previous 1.1630
* swank-cmucl.lisp (note-error-location): If possible, include the
filename.
* slime.el (slime-goto-location-position): Add :eof as position
kind.

Revision 1.1630 - (view) (annotate) - [select for diffs]
Sat Jan 3 21:33:51 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1629: +1 -0 lines
Diff to previous 1.1629
slime.el (slime-line-number-at-pos): New compatibility function.

Revision 1.1629 - (view) (annotate) - [select for diffs]
Sat Jan 3 21:13:31 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1628: +7 -0 lines
Diff to previous 1.1628
* slime.el (slime-goto-location-buffer): Don't goto point-min.
(slime-check-location-buffer-name-sanity)
(slime-check-location-filename-sanity): Separated from
slime-goto-location-buffer.

Revision 1.1628 - (view) (annotate) - [select for diffs]
Sat Jan 3 21:13:20 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1627: +9 -0 lines
Diff to previous 1.1627
By default, show compiler notes in a buffer with compilation-mode.

* slime.el (slime-show-compilation-log)
(slime-maybe-show-compilation-log): New functions,
(slime-compilation-finished-hook): Change the default value
to 'slime-maybe-show-compilation-log.

Revision 1.1627 - (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.1626: +6 -0 lines
Diff to previous 1.1626
* 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.1626 - (view) (annotate) - [select for diffs]
Sat Jan 3 21:13:00 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1625: +4 -0 lines
Diff to previous 1.1625
* swank-clisp.lisp (wait-for-input): Disable it for win32.

Revision 1.1625 - (view) (annotate) - [select for diffs]
Fri Jan 2 22:03:27 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1624: +15 -15 lines
Diff to previous 1.1624
Fix merge.

Revision 1.1624 - (view) (annotate) - [select for diffs]
Fri Jan 2 21:58:05 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1623: +1 -3 lines
Diff to previous 1.1623
Delete junk.

Revision 1.1623 - (view) (annotate) - [select for diffs]
Fri Jan 2 21:57:53 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1622: +16 -0 lines
Diff to previous 1.1622
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.1622 - (view) (annotate) - [select for diffs]
Fri Jan 2 21:57:23 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1621: +5 -0 lines
Diff to previous 1.1621
* slime.el ([test] arglist): Guard against nil.  ECL
returns nil most of the time.

Revision 1.1621 - (view) (annotate) - [select for diffs]
Fri Jan 2 17:07:00 2009 UTC (5 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.1620: +11 -0 lines
Diff to previous 1.1620
	Arglists of user-defined types are now displayed by slime-autodoc
	on SBCL.

	  (deftype foo (x y) `(cons ,x ,y))
	  (declare (type (foo |

	* swank-sbcl.lisp ([method] type-specifier-arglist): Make use of
	recently introduced SB-INTROSPECT:DEFTYPE-LAMBDA-LIST.

Revision 1.1620 - (view) (annotate) - [select for diffs]
Fri Jan 2 16:43:21 2009 UTC (5 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.1619: +4 -0 lines
Diff to previous 1.1619
	* swank-loader.lisp (*contribs*): Add `swank-sbcl-exts'.

Revision 1.1619 - (view) (annotate) - [select for diffs]
Thu Jan 1 16:08:53 2009 UTC (5 years, 3 months ago) by trittweiler
Branch: MAIN
Changes since 1.1618: +7 -0 lines
Diff to previous 1.1618
	* slime.el (slime-eval-async, slime-dispatch-event): Canoncalize
	return value. Previously they returned an arbitrary value which
	was displayed to the minibuffer due to a bug in slime-autodoc. The
	arbitrariness of the return value made debugging this a chore.

Revision 1.1618 - (view) (annotate) - [select for diffs]
Thu Jan 1 14:48:22 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1617: +6 -0 lines
Diff to previous 1.1617
* swank-openmcl.lisp (frame-source-location-for-emacs)
(pc-source-location): Fall back to the source-note of the function
if there is no source-note for a pc offset.

Revision 1.1617 - (view) (annotate) - [select for diffs]
Thu Jan 1 14:48:13 2009 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1616: +9 -0 lines
Diff to previous 1.1616
For buffers without filename, map the name of the tempfile back to
the buffer name.

* swank-openmcl.lisp (*temp-file-map*): New variable.
(note-temp-file): New function.
(compile-temp-file, source-note-to-source-location): Use it.

Revision 1.1616 - (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.1615: +10 -0 lines
Diff to previous 1.1615
* 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.1615 - (view) (annotate) - [select for diffs]
Wed Dec 31 11:25:46 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1614: +25 -25 lines
Diff to previous 1.1614
Fix automatic merge.

Revision 1.1614 - (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.1613: +7 -0 lines
Diff to previous 1.1613
* 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.1613 - (view) (annotate) - [select for diffs]
Wed Dec 31 11:25:30 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1612: +7 -0 lines
Diff to previous 1.1612
* swank-openmcl.lisp ([method] source-locations (symbol)): Drop
the unused _; the compiler dosn't like it.

Revision 1.1612 - (view) (annotate) - [select for diffs]
Wed Dec 31 11:25:19 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1611: +6 -0 lines
Diff to previous 1.1611
* slime.el (slime-cd, slime-pwd): New commands.
(slime-change-directory): New function.
(slime-change-directory-hooks): New hook.

* inferior-slime.el (inferior-slime-change-directory): New
function.
(inferior-slime-init): Hook it in.

Revision 1.1611 - (view) (annotate) - [select for diffs]
Wed Dec 31 11:25:02 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1610: +14 -0 lines
Diff to previous 1.1610
* 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.1610 - (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.1609: +25 -0 lines
Diff to previous 1.1609
	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.1609 - (view) (annotate) - [select for diffs]
Mon Dec 29 19:03:20 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1608: +2 -0 lines
Diff to previous 1.1608
* swank-openmcl.lisp (swank-compile-string, compile-temp-file): Use
new parameters to compile-file to adjust source locations.

Revision 1.1608 - (view) (annotate) - [select for diffs]
Mon Dec 29 11:51:45 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1607: +5 -0 lines
Diff to previous 1.1607
* swank-openmcl.lisp (find-definitions, source-locations): Use
ccl:find-definition-sources.

Revision 1.1607 - (view) (annotate) - [select for diffs]
Sun Dec 28 15:45:42 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1606: +6 -0 lines
Diff to previous 1.1606
Recent CCLs support much better source location recording.
Let's use the new features in SLIME.

* swank-openmcl.lisp (pc-source-location): New function, based on
ccl:find-source-note-at-pc.
(frame-source-location-for-emacs): Use it.

Revision 1.1606 - (view) (annotate) - [select for diffs]
Sun Dec 28 14:32:14 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1605: +5 -0 lines
Diff to previous 1.1605
* swank-openmcl.lisp (function-source-location): Use
ccl:function-source-note.

Revision 1.1605 - (view) (annotate) - [select for diffs]
Sat Dec 27 18:24:28 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1604: +7 -0 lines
Diff to previous 1.1604
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.1604 - (view) (annotate) - [select for diffs]
Fri Dec 26 07:22:40 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1603: +14 -0 lines
Diff to previous 1.1603
Don't restore window configs in sldb.
That doesn't work in the native repl, because output
may have moved point.

* slime.el (sldb-setup, sldb-exit): Use temp buffer code.
(slime-display-popup-buffer): Don't overwrite existing
variables.
(slime-close-popup-window): Factored out from
slime-popup-buffer-quit.
(slime-save-local-variables): New macro.
(sldb-maybe-kill-buffer, sldb-saved-window-configuration): Deleted.

Revision 1.1603 - (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.1602: +11 -0 lines
Diff to previous 1.1602
* 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.1602 - (view) (annotate) - [select for diffs]
Wed Dec 24 08:06:25 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1601: +6 -0 lines
Diff to previous 1.1601
Move most of the REPL mode to contrib.
Disable some commands that depend on the
existence of a REPL buffer.

Revision 1.1601 - (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.1600: +18 -0 lines
Diff to previous 1.1600
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.1600 - (view) (annotate) - [select for diffs]
Tue Dec 23 08:33:11 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1599: +6 -0 lines
Diff to previous 1.1599
* slime.el (slime-run-mode-hooks): Wrapper for Emacs21.
(slime-repl-mode): Use it.
Reported by Peter Denno.

Revision 1.1599 - (view) (annotate) - [select for diffs]
Tue Dec 23 08:33:02 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1598: +9 -0 lines
Diff to previous 1.1598
* 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.1598 - (view) (annotate) - [select for diffs]
Tue Dec 23 08:32:51 2008 UTC (5 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.1597: +6 -0 lines
Diff to previous 1.1597
* slime.el (sldb-insert-restarts): Make the space before each
restart also propertized, consistent with how each line in the
backtrace is fully sensitive.

Revision 1.1597 - (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.1596: +8 -0 lines
Diff to previous 1.1596
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.1596 - (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.1595: +8 -0 lines
Diff to previous 1.1595
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.1595 - (view) (annotate) - [select for diffs]
Tue Dec 9 07:47:59 2008 UTC (5 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.1594: +9 -1 lines
Diff to previous 1.1594
Make the modeline a bit shorter.

* slime.el (slime-compute-modeline-string): Remove PKG: and CON:
to save space.
(slime-compute-modeline-connection-state): Don't include zeros.

Revision 1.1594 - (view) (annotate) - [select for diffs]
Tue Dec 9 07:47:47 2008 UTC (5 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.1593: +7 -1 lines
Diff to previous 1.1593
* slime.el (slime-repl-mode): Use `run-mode-hooks' rather than
just `run-hooks'.  That way, after-change-major-mode-hook is
called automatically.  Patch from David Reitter.

Revision 1.1593 - (view) (annotate) - [select for diffs]
Sun Dec 7 12:25:38 2008 UTC (5 years, 4 months ago) by nsiivola
Branch: MAIN
Changes since 1.1592: +6 -0 lines
Diff to previous 1.1592
fix slime-qualify-cl-symbol-name for packages named by strings in IN-PACKAGE

Revision 1.1592 - (view) (annotate) - [select for diffs]
Fri Dec 5 20:01:54 2008 UTC (5 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.1591: +10 -0 lines
Diff to previous 1.1591
* slime.el (slime-macroexpansion-minor-mode-map): Bind keybindings
  of `undo' to `slime-macroexpansion-undo'.
  (slime-show-macroexpansion): Renamed to
  `slime-initialize-macroexpansion-buffer'
  (slime-initialize-macroexpansion-buffer): Make sure that the user
  can't undo past the initial insertion.
  (slime-macroexpand-undo): New function. Tries to undo-only.

Revision 1.1591 - (view) (annotate) - [select for diffs]
Fri Dec 5 18:53:14 2008 UTC (5 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.1590: +4 -0 lines
Diff to previous 1.1590
* slime.el (slime-trace-query): SPEC argument can be a symbol.

Revision 1.1590 - (view) (annotate) - [select for diffs]
Tue Dec 2 22:00:41 2008 UTC (5 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.1589: +10 -5 lines
Diff to previous 1.1589
* slime.el (slime-compute-modeline-connection-state): Fix
  computation of debugged requests.

Revision 1.1589 - (view) (annotate) - [select for diffs]
Tue Dec 2 21:41:05 2008 UTC (5 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.1588: +8 -0 lines
Diff to previous 1.1588
      * slime.el (slime-compute-modeline-connection-state): Print the
      number of debugged requests if non-zero.
      (slime-connection-state-as-string): Removed unused branches.
      (slime-compute-connection-state): Removed :debugged branch making
      most likely return :connected instead.

Revision 1.1588 - (view) (annotate) - [select for diffs]
Tue Dec 2 21:14:13 2008 UTC (5 years, 4 months ago) by trittweiler
Branch: MAIN
Changes since 1.1587: +7 -0 lines
Diff to previous 1.1587
Modeline wouldn't display {debugged..} after `slime-interrupt'.

* slime.el (slime-debugged-connection-p): Can't rely on
  `sldb-debugged-continuations' to be non-null in every SLDB buffer.

Revision 1.1587 - (view) (annotate) - [select for diffs]
Sun Nov 23 22:11:36 2008 UTC (5 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.1586: +15 -0 lines
Diff to previous 1.1586
`q' in temp buffers should only delete the window if it was newly
created for the buffer.

* slime.el (slime-display-popup-buffer): New function.  Recognize
if the window didn't exist before.  Save the created window and
the selected window in buffer local variables.
(slime-make-popup-buffer): Renamed from slime-popup-buffer.
(slime-popup-buffer-quit): Delete the created window (if needed)
and restore the old selected window.  Don't touch other windows.

(slime-edit-value-callback): Calling lisp-mode deletes all local
variables.  We need to that inside with-popup-buffer.

Revision 1.1586 - (view) (annotate) - [select for diffs]
Sat Nov 22 22:36:40 2008 UTC (5 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.1585: +7 -0 lines
Diff to previous 1.1585
* slime.el (slime-update-all-modelines): Only walk through
widnow-list not buffer-list.
(slime-restart-or-init-modeline-update-timer): Inrease the timer
interval to 0.5 seconds.

Revision 1.1585 - (view) (annotate) - [select for diffs]
Sat Nov 22 15:15:11 2008 UTC (5 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.1584: +2 -0 lines
Diff to previous 1.1584
*** empty log message ***

Revision 1.1584 - (view) (annotate) - [select for diffs]
Sat Nov 22 15:15:04 2008 UTC (5 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.1583: +10 -0 lines
Diff to previous 1.1583
Reincarnate "eval..." (almost)

* slime.el (slime-compute-modeline-connection-state): Return the
number of outstanding requests if connected.
(slime-update-all-modelines): Renamed from slime-update-modelines,
loops through all slime buffers.
(slime-restart-or-init-modeline-update-timer): New function.
(slime-dispatch-event): Arrange for modelines to be updated on
:EMACS-REX and :RETURN.

Revision 1.1583 - (view) (annotate) - [select for diffs]
Sat Nov 22 15:14:50 2008 UTC (5 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.1582: +13 -0 lines
Diff to previous 1.1582
* 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.1582 - (view) (annotate) - [select for diffs]
Sat Nov 22 15:14:41 2008 UTC (5 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.1581: +5 -0 lines
Diff to previous 1.1581
* slime.el ([test] package-updating): Allegro returns "||" as
prompt for the keyword package.  I guess that's acceptable.

Revision 1.1581 - (view) (annotate) - [select for diffs]
Sun Nov 2 12:05:24 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1580: +5 -0 lines
Diff to previous 1.1580
* slime.el (slime-popup-buffer-quit): Always delete windows and
bury the buffer.

Revision 1.1580 - (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.1579: +7 -0 lines
Diff to previous 1.1579
* 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.1579 - (view) (annotate) - [select for diffs]
Sun Nov 2 12:05:03 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1578: +5 -0 lines
Diff to previous 1.1578
* slime.el ([test] find-definition.2, [test] compile-defun):
Expect to fail for CCL.

Revision 1.1578 - (view) (annotate) - [select for diffs]
Fri Oct 31 14:19:35 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1577: +7 -2 lines
Diff to previous 1.1577
* slime.el (slime-repl-history-pattern): Simplify as suggested by
Knut Olav Bohmer and Michael Weber.

Revision 1.1577 - (view) (annotate) - [select for diffs]
Fri Oct 31 14:13:34 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1576: +6 -0 lines
Diff to previous 1.1576
* slime.el (slime-eval-with-transcript)
(slime-eval-with-transcript-cont): Restore the current buffer,
before calling cont.

Revision 1.1576 - (view) (annotate) - [select for diffs]
Fri Oct 31 14:13:19 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1575: +6 -0 lines
Diff to previous 1.1575
* swank-lispworks.lisp (describe-function): Don't use
string-upcase on lambda-list-argruments, because not all elements
must be symbols.

Revision 1.1575 - (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.1574: +5 -0 lines
Diff to previous 1.1574
* swank.lisp (debug-in-emacs): Bind *sldb-quit-restart*
here, if necessary to the next abort retstart.

Revision 1.1574 - (view) (annotate) - [select for diffs]
Thu Oct 30 09:28:51 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1573: +5 -0 lines
Diff to previous 1.1573
* swank-sbcl.lisp (wait-for-input): Return streams which are at
EOF.

Revision 1.1573 - (view) (annotate) - [select for diffs]
Thu Oct 30 09:28:43 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1572: +5 -0 lines
Diff to previous 1.1572
* slime.el (slime-popup-buffer-quit): Call bury-buffer with
explicit argument for compatibility with XEmacs.

Revision 1.1572 - (view) (annotate) - [select for diffs]
Thu Oct 30 09:28:35 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1571: +6 -0 lines
Diff to previous 1.1571
* slime.el (slime-repl-history-pattern): Use the part of input
between its start and (point) as history search pattern.
Previously we used the entire input.

Revision 1.1571 - (view) (annotate) - [select for diffs]
Sun Oct 26 21:17:58 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1570: +2 -0 lines
Diff to previous 1.1570
* test.sh: Return the number of failed tests as exit code.

Revision 1.1570 - (view) (annotate) - [select for diffs]
Sun Oct 26 21:17:44 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1569: +6 -0 lines
Diff to previous 1.1569
* slime.el: Fix change from 2008-10-20.
Use (eval-when (compile)...) instead of (eval-when-compile ...),
because the latter is more like (eval-when (compile eval) ...).

Revision 1.1569 - (view) (annotate) - [select for diffs]
Thu Oct 23 21:28:12 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1568: +4 -0 lines
Diff to previous 1.1568
* slime.el (slime-redirect-inferior-output): New command.

Revision 1.1568 - (view) (annotate) - [select for diffs]
Tue Oct 21 20:38:05 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1567: +8 -2 lines
Diff to previous 1.1567
* swank-allegro.lisp (frame-restartable-p): Handle errors signaled
by debugger:frame-retryable-p.  This looks like an Allegro
bug, though.  Reported by Luke Hope.

Revision 1.1567 - (view) (annotate) - [select for diffs]
Tue Oct 21 20:37:51 2008 UTC (5 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.1566: +5 -0 lines
Diff to previous 1.1566
* slime.el: Require some packages, e.g. apropos, at compile time
to suppress some "undefined function" warnings.

Revision 1.1566 - (view) (annotate) - [select for diffs]
Sun Oct 19 20:03:34 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1565: +10 -0 lines
Diff to previous 1.1565
* 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.1565 - (view) (annotate) - [select for diffs]
Sun Oct 19 20:03:21 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1564: +6 -0 lines
Diff to previous 1.1564
* swank-abcl.lisp (handle-compiler-warning): Report source
location position when we can.
Use NAMESTRING for *compile-filename*.

Revision 1.1564 - (view) (annotate) - [select for diffs]
Sun Oct 19 20:03:12 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1563: +5 -0 lines
Diff to previous 1.1563
* swank-clisp.lisp (filename-to-pathname, parse-cygwin-filename):
Accept Windows and Unix filenames when :CYGWIN is in *features*.

Revision 1.1563 - (view) (annotate) - [select for diffs]
Fri Oct 17 21:27:24 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1562: +4 -0 lines
Diff to previous 1.1562
* swank-sbcl.lisp (swank-compile-file): Fix typo.

Revision 1.1562 - (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.1561: +5 -0 lines
Diff to previous 1.1561
* swank-backend.lisp (compute-sane-restarts): Deleted. Use plain
compute restarts instead.

Revision 1.1561 - (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.1560: +6 -1 lines
Diff to previous 1.1560
* swank.lisp (call-with-retry-restart): Implement this a little
less confusing.

Revision 1.1560 - (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.1559: +13 -0 lines
Diff to previous 1.1559
* 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.1559 - (view) (annotate) - [select for diffs]
Thu Oct 16 21:16:01 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1558: +4 -2 lines
Diff to previous 1.1558
* swank-lispworks.lisp (with-swank-compilation-unit): Return the
values of BODY.
(compile-from-temp-file)
* swank-allegro.lisp (compile-from-temp-file)
* swank-clisp.lisp (swank-compile-string)
* swank-abcl.lisp (swank-compile-string): Return T on success.
* swank.lisp (collect-notes): Check return type of
FUNCTION.

Revision 1.1558 - (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.1557: +7 -0 lines
Diff to previous 1.1557
* 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.1557 - (view) (annotate) - [select for diffs]
Thu Oct 16 21:15:28 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1556: +5 -0 lines
Diff to previous 1.1556
* swank-backend.lisp (swank-compile-file): Return the same
values as COMPILE-FILE.  Update backends accordingly.

Revision 1.1556 - (view) (annotate) - [select for diffs]
Thu Oct 16 21:15:08 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1555: +5 -0 lines
Diff to previous 1.1555
* swank-openmcl.lisp (frame-catch-tags): Disabled, as it prevents
FRAME-LOCALS from working in lx8632.

Revision 1.1555 - (view) (annotate) - [select for diffs]
Sat Oct 11 08:30:52 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1554: +3 -0 lines
Diff to previous 1.1554
* swank-cmucl.lisp
(inspect-alien-record, mv-function-end-breakpoint-values): Avoid
compiler warnigns.

Revision 1.1554 - (view) (annotate) - [select for diffs]
Sat Oct 11 08:30:43 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1553: +8 -0 lines
Diff to previous 1.1553
* swank-cmucl.lisp (list-callers): Do a full GC before calling
map-allocated-objects. That's needed because map-allocated-objects
seems to cons even if it's inlined.
(emacs-inspect [code-component]): Try to detect
byte-code-components.

Revision 1.1553 - (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.1552: +13 -1 lines
Diff to previous 1.1552
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.1552 - (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.1551: +4 -0 lines
Diff to previous 1.1551
export *BACKTRACE-PRINTER-BINDINGS* from SWANK

Revision 1.1551 - (view) (annotate) - [select for diffs]
Sat Oct 4 19:13:40 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1550: +39 -0 lines
Diff to previous 1.1550
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.1550 - (view) (annotate) - [select for diffs]
Sat Oct 4 18:20:18 2008 UTC (5 years, 6 months ago) by trittweiler
Branch: MAIN
Changes since 1.1549: +6 -0 lines
Diff to previous 1.1549
* swank-sbcl.lisp: Add support for WHO-SPECIALIZES. This requires
  a patch for SBCL's SB-INTROSPECT contrib which I sent upstream a
  few minutes ago.

Revision 1.1549 - (view) (annotate) - [select for diffs]
Sat Oct 4 08:04:52 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1548: +8 -8 lines
Diff to previous 1.1548
*** empty log message ***

Revision 1.1548 - (view) (annotate) - [select for diffs]
Sat Oct 4 08:04:42 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1547: +10 -0 lines
Diff to previous 1.1547
UTF-8 support for Lispworks.

* swank-lispworks.lisp (accept-connection): Use flexi-streams
for utf-8.
(make-flexi-stream): New function.
(*temp-file-format*): New variable
(compile-from-temp-file): Use it.

Revision 1.1547 - (view) (annotate) - [select for diffs]
Sun Sep 28 12:14:44 2008 UTC (5 years, 6 months ago) by trittweiler
Branch: MAIN
Changes since 1.1546: +8 -0 lines
Diff to previous 1.1546
* slime.el (slime-list-compiler-notes): Revert change from
  2008-08-15 which introduced automatic shrinkage of the
  compiler-notes buffer. This turned out to be more annoying than
  worthwhile. On the cases where it's desired, the user can just use
  `C-x -' himself to shrink the notes buffer.

Revision 1.1546 - (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.1545: +10 -0 lines
Diff to previous 1.1545
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.1545 - (view) (annotate) - [select for diffs]
Fri Sep 26 23:14:10 2008 UTC (5 years, 6 months ago) by trittweiler
Branch: MAIN
Changes since 1.1544: +9 -1 lines
Diff to previous 1.1544
Improve ECL's arglist support somewhat.

* swank-ecl.lisp (grovel-docstring-for-arglist): New function.
  (arglist): Use it. Now also try to find an arglist for special
  operators, and macros.

Revision 1.1544 - (view) (annotate) - [select for diffs]
Fri Sep 26 12:24:54 2008 UTC (5 years, 6 months ago) by trittweiler
Branch: MAIN
Changes since 1.1543: +5 -0 lines
Diff to previous 1.1543
* slime.el (slime-cycle-connections): Do not make the new
  connection buffer-local if we're currently in a REPL buffer.

Revision 1.1543 - (view) (annotate) - [select for diffs]
Wed Sep 24 09:14:13 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1542: +4 -0 lines
Diff to previous 1.1542
* slime.el (slime-cycle-connections): New command.

Revision 1.1542 - (view) (annotate) - [select for diffs]
Wed Sep 24 09:13:30 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1541: +4 -0 lines
Diff to previous 1.1541
* slime.el (slime-define-both-key-bindings): New function.  Factor of
slime-init-keymaps.
(slime-init-keymaps): Use it.
(slime-control-modified-char): Deleted.

Revision 1.1541 - (view) (annotate) - [select for diffs]
Wed Sep 24 09:10:34 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1540: +6 -0 lines
Diff to previous 1.1540
* slime.el (slime-prefix-map): New keymap.
(slime-define-key): Use it.  Also drop unused :inferior arg.
(slime-inspector-mode-map): Bind C-c to slime-prefix-map.

Revision 1.1540 - (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.1539: +8 -0 lines
Diff to previous 1.1539
* Update for the Scieneer CL 1.3.8 release.

Revision 1.1539 - (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.1538: +6 -0 lines
Diff to previous 1.1538
swank.lisp (guess-package): Return NIL if string designator is NIL

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

Revision 1.1538 - (view) (annotate) - [select for diffs]
Mon Sep 22 17:49:53 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1537: +10 -0 lines
Diff to previous 1.1537
* swank-sbcl.lisp (wait-for-input): Implement this in backend,
since read-char-no-hang doesn't work in fd-handlers.
(install-sigint-handler): Go through invoke-interruption and
with-interrupts to support nested interrupts.

Revision 1.1537 - (view) (annotate) - [select for diffs]
Mon Sep 22 17:49:41 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1536: +6 -0 lines
Diff to previous 1.1536
* slime.el (slime-repl-input-end-mark): Deleted. It was always at
the end of buffer. Use point-max instead.
(slime-repl-eol): Removed.  The usual end-of-line does the same.

Revision 1.1536 - (view) (annotate) - [select for diffs]
Sun Sep 21 11:18:00 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1535: +5 -0 lines
Diff to previous 1.1535
* slime.el (slime-eol-conversion-fixup): Return 0 (not nil) for
anyting other than CRLF conventions.

Revision 1.1535 - (view) (annotate) - [select for diffs]
Sun Sep 21 11:17:49 2008 UTC (5 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.1534: +11 -0 lines
Diff to previous 1.1534
* swank-openmcl.lisp: Try to remove the first few internal frames
from backtraces.
(guess-stack-top): New function.
(call-with-debugging-environment): Use it

(frame-arguments): Return a list instead of a string.  Don't quote
symbols.
(source-locations): Recognize (:internal FOO) functions.

Revision 1.1534 - (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.1533: +5 -0 lines
Diff to previous 1.1533
* swank.lisp (*backtrace-pprint-dispatch-table*):
Honor *print-escape*.

Revision 1.1533 - (view) (annotate) - [select for diffs]
Sat Sep 20 21:46:30 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1532: +5 -0 lines
Diff to previous 1.1532
* slime.el (slime-with-output-end-mark):
slime-repl-show-maximum-output no longer accepts any arguments.

Revision 1.1532 - (view) (annotate) - [select for diffs]
Sat Sep 20 21:46:22 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1531: +9 -1 lines
Diff to previous 1.1531
* test.sh: Parse the -S option as advertized.

* slime.el (slime-randomize-test-order): Add the * to the
docstring.
([def-slime-test] break2): Also CCL is expected to fail here.

Revision 1.1531 - (view) (annotate) - [select for diffs]
Sat Sep 20 21:46:16 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1530: +27 -0 lines
Diff to previous 1.1530
Fix some of the bugs that I introduced with the last commits.

* swank-openmcl.lisp (call-with-debugging-environment): Fix typo.
(call-with-debugger-hook): Bind *break-in-sldb*.
(backtrace-context): Return nil, not tcr!
(map-backtrace): Remove the stack< test. Only test for nil.
(lisp-implementation-type-name): Return "ccl".

(emacs-inspect (t)): Fix typo.

(kill-thread): Use join-process. Otherwise we get strange
"process-reset" errors when disconnecting.
(thread-alive-p): Implemented with ccl::process-exhausted-p.

(source-locations): Use labels for helper functions.
(function-source-location): No implemented on top of
source-locations.

Revision 1.1530 - (view) (annotate) - [select for diffs]
Sat Sep 20 16:34:08 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1529: +10 -0 lines
Diff to previous 1.1529
Fix inspecting of arrays.

* swank-openmcl.lisp (emacs-inspect :around (t)): call-next-method
may return a lazy list.  Detect that case and only append to
ordinary lists.
(emacs-inspect (t)): Don't mark labels as inspectable. Just print
them.

Revision 1.1529 - (view) (annotate) - [select for diffs]
Sat Sep 20 16:33:55 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1528: +11 -0 lines
Diff to previous 1.1528
Fix BREAK and backtraces after interrupts for CCL.

* swank-openmcl.lisp (*sldb-stack-top-hint*): New variable.
(call-with-debugging-environment, break-in-sldb)
(interrupt-thread): Use it.
(*process-to-stack-top*, record-stack-top)
(grab-stack-top): Deleted. Use *sldb-stack-top-hint* instead.
(backtrace-context): Deleted. Use %current-tcr directly.

Revision 1.1528 - (view) (annotate) - [select for diffs]
Sat Sep 20 16:33:40 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1527: +5 -0 lines
Diff to previous 1.1527
* swank-openmcl.lisp (call-with-debugging-environment): Don't set
*debugger-hook* to nil.

Revision 1.1527 - (view) (annotate) - [select for diffs]
Fri Sep 19 11:20:22 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1526: +3 -0 lines
Diff to previous 1.1526
* slime.el ([def-slime-test] break): Split it up in two versions
to make the debugger-hook issue more explicit.

Revision 1.1526 - (view) (annotate) - [select for diffs]
Fri Sep 19 11:20:15 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1525: +5 -0 lines
Diff to previous 1.1525
* swank-allegro.lisp (frob-allegro-field-def): There seems to be a
new type :func handle it like :lisp.

Revision 1.1525 - (view) (annotate) - [select for diffs]
Fri Sep 19 09:48:29 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1524: +3 -0 lines
Diff to previous 1.1524
* slime.el (slime-batch-test): Accept test-name and randomize arguments.
* test.sh (usage): Accept -n and -S options.

Revision 1.1524 - (view) (annotate) - [select for diffs]
Fri Sep 19 09:48:22 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1523: +4 -0 lines
Diff to previous 1.1523
* slime.el (slime-randomize-test-order): New variable.
(slime-shuffle-list): New function.
(slime-run-tests): Use it.

Revision 1.1523 - (view) (annotate) - [select for diffs]
Fri Sep 19 09:48:16 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1522: +2 -0 lines
Diff to previous 1.1522
* slime.el (slime-repl-emit-result): Update window-point.

Revision 1.1522 - (view) (annotate) - [select for diffs]
Thu Sep 18 22:35:46 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1521: +7 -0 lines
Diff to previous 1.1521
* slime.el (slime-save-marker): New marcro. Use it in combination
with insert-before-markers.
(slime-check-buffer-contents): Use {} resp. [] to describe the
position of output resp. input markers.

Revision 1.1521 - (view) (annotate) - [select for diffs]
Thu Sep 18 15:23:43 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1520: +3 -1 lines
Diff to previous 1.1520
* slime.el (slime-eval-with-transcript): Change order of arguments to
make the common case easier to use.

Revision 1.1520 - (view) (annotate) - [select for diffs]
Thu Sep 18 15:23:37 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1519: +27 -1 lines
Diff to previous 1.1519
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.1519 - (view) (annotate) - [select for diffs]
Thu Sep 18 15:23:25 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1518: +7 -0 lines
Diff to previous 1.1518
* slime.el (slime-show-last-output)
(slime-show-last-output-function)
(slime-show-last-output-region)
(slime-maybe-display-output-buffer): Delete unused code.

Revision 1.1518 - (view) (annotate) - [select for diffs]
Thu Sep 18 10:08:37 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1517: +5 -0 lines
Diff to previous 1.1517
* swank-ecl.lisp: Forgot to update ECL's backend when introducing
  swank-frames in commit on 2008-09-12.

Revision 1.1517 - (view) (annotate) - [select for diffs]
Wed Sep 17 23:14:45 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1516: +10 -0 lines
Diff to previous 1.1516
* slime.el (slime-eval-with-transcript): Accept some more arguments
so that we can also use it for compile-file.
(slime-eval-with-transcript-cont): New. Insert prompt.
(slime-compile-file): Use slime-eval-with-transcript.
(slime-repl-show-maximum-output): Update window point.
(slime-repl-insert-prompt): Don't use insert-before-markers.
(slime-repl-emit): No longer use slime-with-output-end-mark.

Revision 1.1516 - (view) (annotate) - [select for diffs]
Wed Sep 17 18:42:26 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1515: +13 -1 lines
Diff to previous 1.1515
* slime.el (slime-repl-popup-on-output): New variable.
(slime-repl-emit): Honor slime-repl-popup-on-output.
(slime-eval-with-transcript): Use slime-repl-popup-on-output.
Also remove the function argument, as it was only used once
and that was slime-message.

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

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

Revision 1.1513 - (view) (annotate) - [select for diffs]
Wed Sep 17 17:48:08 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1512: +5 -0 lines
Diff to previous 1.1512
	* swank-sbcl.lisp (make-definition-source-location): Fix typo
	introduced with crlf-related commit on 2008-09-16.

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

Revision 1.1511 - (view) (annotate) - [select for diffs]
Wed Sep 17 06:20:05 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1510: +7 -0 lines
Diff to previous 1.1510
* slime.el (slime-connection): Optionally select a new default
connection.
(slime-auto-select-connection): New variable.
(slime-auto-select-connection): New function.

Revision 1.1510 - (view) (annotate) - [select for diffs]
Wed Sep 17 06:19:47 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1509: +23 -0 lines
Diff to previous 1.1509
Adjust positions in files with CRLF-style end-on-line markers.

* slime.el (slime-eol-conversion-fixup): New function.
(slime-goto-location-position): Use it.  Also add a new position
type :offset, so that we don't adjust offsets in strings that were
sent over the wire (which uses LF eol-convention).

* swank-abcl.lisp
* swank-allegro.lisp
* swank-clisp.lisp
* swank-cmucl.lisp
* swank-corman.lisp
* swank-ecl.lisp
* swank-lispworks.lisp
* swank-openmcl.lisp
* swank-sbcl.lisp
* swank-scl.lisp: Create :offset style positions where needed.

* swank-lispworks.lisp (skip-comments): New function.
(dspec-stream-position): Use it.

Revision 1.1509 - (view) (annotate) - [select for diffs]
Tue Sep 16 18:15:14 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1508: +6 -0 lines
Diff to previous 1.1508
	* slime.el (slime-end-of-list): `backward-down-list' was used
	there which is defined by paredit.el.
	Use `(down-list -1)' instead.

Revision 1.1508 - (view) (annotate) - [select for diffs]
Mon Sep 15 21:11:19 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1507: +6 -1 lines
Diff to previous 1.1507
* swank-lispworks.lisp (describe-symbol-for-emacs): Revert last
change.

Revision 1.1507 - (view) (annotate) - [select for diffs]
Mon Sep 15 10:41:02 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1506: +20 -0 lines
Diff to previous 1.1506
* 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.1506 - (view) (annotate) - [select for diffs]
Mon Sep 15 08:26:49 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1505: +17 -0 lines
Diff to previous 1.1505
Interrupt related hacking.

* swank-backend.lisp (*pending-slime-interrupts*): Should be
thread-local.  Leave global value unbound.

* swank.lisp (with-interrupts-enabled%): New helper macro.
(with-slime-interrupts, without-slime-interrupts): Use it.
(call-with-connection): Bind *pending-slime-interrupts* here.
(wait-for-event): Add a report-interrupt argument.  Currently used
by the debugger to detect when a nested debugger session, which
was triggered by an interrupt in wait-for-event, returns.  Doesn't
work well, though.

* slime.el (slime-test-interrupt-in-debugger): New test.

Revision 1.1505 - (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.1504: +28 -0 lines
Diff to previous 1.1504
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.1504 - (view) (annotate) - [select for diffs]
Fri Sep 12 18:55:42 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1503: +8 -0 lines
Diff to previous 1.1503
For Lispworks, parse the $LWHOME/lwdoc file.

* swank-lispworks.lisp (lwdoc, lookup-lwdoc, parse-lwdoc-record):
New functions.
(describe-symbol-for-emacs): Use it.

Revision 1.1503 - (view) (annotate) - [select for diffs]
Fri Sep 12 15:51:02 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1502: +12 -0 lines
Diff to previous 1.1502
	In an SLDB buffer, `C-c C-c' will now recompile the source behind
	a frame. In particular, `C-u C-c C-c' will recompile the frame
	with high debug settings.

	* slime.el (sldb-recompile-frame-source): New function.
	(sldb-mode-map): Bind `C-c C-c' to it.

	* slime.el (sldb-overlays, sldb-delete-overlays, slime-xref-cleanup):
	Removed. Sldb-overlays weren't created anymore since 2008-08-17.

Revision 1.1502 - (view) (annotate) - [select for diffs]
Fri Sep 12 12:27:38 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1501: +35 -0 lines
Diff to previous 1.1501
	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.1501 - (view) (annotate) - [select for diffs]
Thu Sep 11 12:32:01 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1500: +4 -0 lines
Diff to previous 1.1500
* doc/slime-refcard.tex: Fix typos.

Revision 1.1500 - (view) (annotate) - [select for diffs]
Thu Sep 11 11:12:45 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1499: +9 -0 lines
Diff to previous 1.1499
* swank-allegro.lisp (fspec-definition-locations): add declare
ignores to prevent warnings

(emacs-inspect): remove first definition on function since it
was being overwritten by the next one. Wrap the method on t with
a excl:without-redefinition-warnings to prevent warning.

Revision 1.1499 - (view) (annotate) - [select for diffs]
Thu Sep 11 10:31:35 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1498: +10 -0 lines
Diff to previous 1.1498
Fix stream buffering for CMUCL.

* swank-cmucl.lisp (slime-output-stream): Remove last-flush-time
slot.
(sos/flush): Renamed from sos/misc-force-output.  Don't try to be
clever: no timestamps and no line buffering.
(sos/write-char, sos/write-string): Renamed from sos/out
resp. sos/sout.  Call output-fn outside without-interrupts.
(sos/reset-buffer): New function.

Revision 1.1498 - (view) (annotate) - [select for diffs]
Wed Sep 10 23:18:36 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1497: +9 -0 lines
Diff to previous 1.1497
	* slime.el (slime-compilation-unit): Renamed to
	`slime-compilation-result'.
	(slime-last-compilation-unit): Renamed to
	`slime-last-compilation-result'.
	(slime-compiler-notes, slime-compiler-results): Adapted accordingly.
	(slime-compilation-finished): Ditto.

Revision 1.1497 - (view) (annotate) - [select for diffs]
Wed Sep 10 23:12:43 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1496: +6 -0 lines
Diff to previous 1.1496
	* slime.el (slime-popup-buffer-restore-snapshot): Make sure that
	the buffer-local variable containing the popup buffer's snapshot
	is set to nil in the right buffer.

Revision 1.1496 - (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.1495: +24 -0 lines
Diff to previous 1.1495
	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.1495 - (view) (annotate) - [select for diffs]
Tue Sep 9 23:29:44 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1494: +5 -0 lines
Diff to previous 1.1494
	* swank-backend.lisp (*gray-stream-symbols*): Comment out
	STREAM-FILE-POSITION.

Revision 1.1494 - (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.1493: +16 -0 lines
Diff to previous 1.1493
	* 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.1493 - (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.1492: +17 -0 lines
Diff to previous 1.1492
	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.1492 - (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.1491: +7 -0 lines
Diff to previous 1.1491
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.1491 - (view) (annotate) - [select for diffs]
Sun Aug 31 11:58:09 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1490: +1 -1 lines
Diff to previous 1.1490
Fix changelog entry.

Revision 1.1490 - (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.1489: +2 -0 lines
Diff to previous 1.1489
* swank-backend.lisp (make-input-stream): Remove make-fn-streams.
Update callers accordingly.

Revision 1.1489 - (view) (annotate) - [select for diffs]
Sun Aug 31 08:49:28 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1488: +5 -0 lines
Diff to previous 1.1488
* swank-backend.lisp (*gray-stream-symbols*): Remove
stream-file-position because it's called stream-position in CCL.

Revision 1.1488 - (view) (annotate) - [select for diffs]
Sat Aug 30 15:33:56 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1487: +3 -0 lines
Diff to previous 1.1487
* swank-sbcl.lisp (receive-if): Add #+/-linux to avoid yet more
WITH-TIMEOUT related problems.

Revision 1.1487 - (view) (annotate) - [select for diffs]
Sat Aug 30 15:33:49 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1486: +3 -0 lines
Diff to previous 1.1486
* swank-gray.lisp (slime-input-stream): Remove the output stream
slot.  Most of the time we can just call force-output.

Revision 1.1486 - (view) (annotate) - [select for diffs]
Sat Aug 30 15:33:46 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1485: +2 -0 lines
Diff to previous 1.1485
* slime.el [test](inspector): New test.

Revision 1.1485 - (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.1484: +5 -0 lines
Diff to previous 1.1484
* swank.lisp (prepare-part): Also wrap action elements
in a list.  Reported by Ariel Badichi and Madhu.

Revision 1.1484 - (view) (annotate) - [select for diffs]
Sat Aug 30 15:33:34 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1483: +6 -0 lines
Diff to previous 1.1483
* slime.el (slime-pop-to-buffer): Drop the norecord argument,
since we can't support it easily in Emacs 21.
Reported by Christophe Rhodes.

Revision 1.1483 - (view) (annotate) - [select for diffs]
Sat Aug 30 15:33:28 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1482: +4 -0 lines
Diff to previous 1.1482
* swank-gray.lisp (make-input-stream): fixed typos

Revision 1.1482 - (view) (annotate) - [select for diffs]
Sat Aug 30 15:33:24 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1481: +7 -2 lines
Diff to previous 1.1481
* swank-backend.lisp (*gray-stream-symbols*): added symbols
stream-peek-char, stream-read-line, stream-file-position

Revision 1.1481 - (view) (annotate) - [select for diffs]
Sat Aug 30 15:33:20 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1480: +6 -0 lines
Diff to previous 1.1480
* swank-abcl.lisp (make-output-stream, make-input-stream):
provides the (trivial) definitions for MAKE-OUTPUT-STREAM and
MAKE-INPUT-STREAM for ABCL.

Revision 1.1480 - (view) (annotate) - [select for diffs]
Wed Aug 27 18:03:45 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1479: +5 -5 lines
Diff to previous 1.1479
Fix chronological order.

Revision 1.1479 - (view) (annotate) - [select for diffs]
Wed Aug 27 17:53:22 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1478: +6 -1 lines
Diff to previous 1.1478
* slime.el (sldb-setup): Insert "No backtrace" if the backtrace is
empty.

Revision 1.1478 - (view) (annotate) - [select for diffs]
Wed Aug 27 17:53:16 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1477: +5 -0 lines
Diff to previous 1.1477
* swank-ecl.lisp: Add :load-toplevel and :execute to EVAL-WHENs to
fix loading.

Revision 1.1477 - (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.1476: +2 -0 lines
Diff to previous 1.1476
* swank-cmucl.lisp (remove-sigio-handlers): Fix thinko.

Revision 1.1476 - (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.1475: +1 -0 lines
Diff to previous 1.1475
(swank-debugger-hook): Remove the default-debugger restart.

Revision 1.1475 - (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.1474: +4 -0 lines
Diff to previous 1.1474
* swank.lisp (decode-message): Don't ignore EOF.

Revision 1.1474 - (view) (annotate) - [select for diffs]
Mon Aug 25 15:29:49 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1473: +5 -0 lines
Diff to previous 1.1473
* slime.el (slime-compute-modeline-package): Used `when-let' before its definition.
  (slime-compute-modeline-string): Display "PKG:" before "CON:".

Revision 1.1473 - (view) (annotate) - [select for diffs]
Fri Aug 22 22:58:18 2008 UTC (5 years, 7 months ago) by trittweiler
Branch: MAIN
Changes since 1.1472: +18 -1 lines
Diff to previous 1.1472
Forgot to commit ChangeLog entry earlier today.

Revision 1.1472 - (view) (annotate) - [select for diffs]
Fri Aug 22 21:15:32 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1471: +7 -0 lines
Diff to previous 1.1471
Some focus handling in multiframe setups.

* slime.el (slime-pop-to-buffer): New function.
(slime-switch-to-output-buffer): Use it.

Revision 1.1471 - (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.1470: +11 -0 lines
Diff to previous 1.1470
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.1470 - (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.1469: +12 -0 lines
Diff to previous 1.1469
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.1469 - (view) (annotate) - [select for diffs]
Fri Aug 22 21:15:12 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1468: +7 -0 lines
Diff to previous 1.1468
In backtraces, escape newlines in strings as \n.

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

Revision 1.1468 - (view) (annotate) - [select for diffs]
Fri Aug 22 21:15:07 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1467: +5 -0 lines
Diff to previous 1.1467
* metering.lisp: Add deftypes for time-type and cons-type, which
are not defined in newer versions of CCL.

Revision 1.1467 - (view) (annotate) - [select for diffs]
Fri Aug 22 21:15:00 2008 UTC (5 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.1466: +4 -0 lines
Diff to previous 1.1466
* contrib/swank-listener-hooks.lisp: Add missing IN-PACKAGE.

Revision 1.1466 - (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.1465: +15 -0 lines
Diff to previous 1.1465
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.1465 - (view) (annotate) - [select for diffs]
Sun Aug 17 23:01:18 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1464: +10 -0 lines
Diff to previous 1.1464
* 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.1464 - (view) (annotate) - [select for diffs]
Sun Aug 17 23:01:12 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1463: +1 -0 lines
Diff to previous 1.1463
(slime-popup-buffer-quit): Must call bury-buffer without argument.

Revision 1.1463 - (view) (annotate) - [select for diffs]
Sun Aug 17 23:01:02 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1462: +8 -2 lines
Diff to previous 1.1462
* 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.1462 - (view) (annotate) - [select for diffs]
Sun Aug 17 23:00:55 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1461: +8 -3 lines
Diff to previous 1.1461
(slime-switch-to-output-buffer-search-all-frames): Deleted. Use
display-buffer-reuse-frames instead.
(slime-switch-to-output-buffer): Use pop-to-buffer to select the
window and frame.  Have to set the input-focus manually, though.
Might be some window manager issue.

Revision 1.1461 - (view) (annotate) - [select for diffs]
Sun Aug 17 23:00:46 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1460: +6 -0 lines
Diff to previous 1.1460
* slime.el (slime-add-local-hook): Renamed from add-local-hook.
(slime-switch-to-output-buffer): Drop the connection argument.  It
was never used.

Revision 1.1460 - (view) (annotate) - [select for diffs]
Sun Aug 17 22:07:57 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1459: +11 -0 lines
Diff to previous 1.1459
	* slime.el (slime-switch-to-output-buffer): Fix regression
	discovered by Ariel Badichi. Programmatic invocation of this
	function expect this function to also set-buffer to the REPL
	buffer. Even though that's ugly, we do it for now, and declare it
	to be a FIXME.
	(slime-dispatch-event): Don't use `message' for the pipelined
	request message, but `slime-display-oneliner' which will truncate
	the form to be displayed.

Revision 1.1459 - (view) (annotate) - [select for diffs]
Sun Aug 17 08:31:26 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1458: +5 -2 lines
Diff to previous 1.1458
* swank-cmucl.lisp (waitpid): Don't use unix::pid-t, it's only
defined for Linux.

Revision 1.1458 - (view) (annotate) - [select for diffs]
Sun Aug 17 08:31:22 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1457: +6 -1 lines
Diff to previous 1.1457
* swank-sbcl.lisp (sb-thread::get-foreground): Don't override.
Let SBCL people fix this.

Revision 1.1457 - (view) (annotate) - [select for diffs]
Sun Aug 17 08:31:14 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1456: +6 -0 lines
Diff to previous 1.1456
* swank-loader.lisp (dump-image): Move this function to the end of
the file to stop SBCL from reporting two times the same false
alarm.

Revision 1.1456 - (view) (annotate) - [select for diffs]
Fri Aug 15 22:59:10 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1455: +6 -0 lines
Diff to previous 1.1455

* slime.el (slime-popup-buffer-quit): Fix regression; we have to
  invoke `bury-buffer' without an argument to make it switch buffers
  for us (for the case when the snapshot wasn't restored.)

Revision 1.1455 - (view) (annotate) - [select for diffs]
Fri Aug 15 20:48:54 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1454: +5 -0 lines
Diff to previous 1.1454
* slime.el (slime-list-compiler-notes): Only shrink if notes tree
  isn't displayed as being collapsed.

Revision 1.1454 - (view) (annotate) - [select for diffs]
Fri Aug 15 09:51:44 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1453: +6 -0 lines
Diff to previous 1.1453
* slime.el (slime-popup-buffer-quit): If not kill, then at least
  bury the buffer.
  (slime-list-compiler-notes): Shrink the compiler-notes window.

Revision 1.1453 - (view) (annotate) - [select for diffs]
Thu Aug 14 15:32:40 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1452: +3 -3 lines
Diff to previous 1.1452
describe last change set better

Revision 1.1452 - (view) (annotate) - [select for diffs]
Thu Aug 14 14:20:09 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1451: +11 -0 lines
Diff to previous 1.1451
	`C-c C-z' now selects an REPL displayed in another frame instead
	of splitting the current frame, and displaying the REPL in the
	newly created window.

	* slime.el (slime-switch-to-output-buffer-search-all-frames): New
	variable to customize this behaviour, as it may not be optimal for
	people using multiple screens at once.
	(slime-switch-to-output-buffer): Adapted.

Revision 1.1451 - (view) (annotate) - [select for diffs]
Thu Aug 14 11:46:39 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1450: +9 -0 lines
Diff to previous 1.1450
	Xref buffers: `M-,' in an Xref buffer will now revert to an Emacs
	state as of before the Xref command.

	* slime.el (slime-xref-mode-map): Add `slime-xref-retract' as `M-,'
	(slime-xref-retract): New. Restores the emacs snapshot unconditionally.
	(slime-xref-quit): Use it.

Revision 1.1450 - (view) (annotate) - [select for diffs]
Thu Aug 14 11:10:00 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1449: +24 -0 lines
Diff to previous 1.1449
	Xref buffers: `q', and `SPC' will push onto the find-definition
	stack such that M-, will work afterwards.

	* slime.el (defstruct slime-emacs-snapshot): Also save the point
	explicitly.  It is implicitly stored already in the
	window-configuration, but inaccessible therein.
	(slime-current-emacs-snapshot, slime-set-emacs-snapshot): Adapted.
	(slime-push-definition-stack-from-snapshot): New. Reason for above
	changes.

	(slime-with-popup-buffer): Make sure that the current
	emacs-snapshot is taken, not only when the :emacs-snapshot
	argument is NIL at expansion time, but also on runtime.

	(slime-with-xref-buffer): The name of the Xref buffer was created
	at expansion time, but must be computed at runtime. Fix that.
	(slime-xref-quit): Use `slime-push-definition-stack-from-snapshot'
	(sime-xref-goto): Adapted to also push onto the stack.

	* slime.el (slime-compute-modeline-package): Cleaned up.
	(slime-update-modeline-string): Ditto.

Revision 1.1449 - (view) (annotate) - [select for diffs]
Tue Aug 12 17:54:43 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1448: +11 -0 lines
Diff to previous 1.1448
Add a dump-image function to the loader.

* swank-loader.lisp (dump-image): New.

* swank-backend.lisp (save-image): New interface.

* swank-cmucl.lisp, swank-clisp.lisp, swank-sbcl.lisp
(save-image): Implemented.

Revision 1.1448 - (view) (annotate) - [select for diffs]
Tue Aug 12 17:54:35 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1447: +1 -0 lines
Diff to previous 1.1447
(slime-check-version): Use y-or-n-p.

Revision 1.1447 - (view) (annotate) - [select for diffs]
Tue Aug 12 12:57:16 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1446: +5 -0 lines
Diff to previous 1.1446
* slime.el (slime-repl-send-input): Disable modification hooks
when marking old input.

Revision 1.1446 - (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.1445: +10 -0 lines
Diff to previous 1.1445
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.1445 - (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.1444: +5 -0 lines
Diff to previous 1.1444
* swank.lisp (with-buffer-syntax): Take package as argument.
(defslimefun): Derive the package for exporting from the symbol.

Revision 1.1444 - (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.1443: +10 -0 lines
Diff to previous 1.1443
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.1443 - (view) (annotate) - [select for diffs]
Tue Aug 12 12:56:51 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1442: +4 -0 lines
Diff to previous 1.1442
* test.sh: Use batch mode by default.

Revision 1.1442 - (view) (annotate) - [select for diffs]
Mon Aug 11 17:41:59 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1441: +2 -1 lines
Diff to previous 1.1441
*** empty log message ***

Revision 1.1441 - (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.1440: +15 -0 lines
Diff to previous 1.1440
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.1440 - (view) (annotate) - [select for diffs]
Mon Aug 11 17:41:47 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1439: +3 -0 lines
Diff to previous 1.1439
* swank-abcl.lisp (preferred-communication-style): Return nil
until we implement receive-if.

Revision 1.1439 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:40:23 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1438: +5 -0 lines
Diff to previous 1.1438
* swank-openmcl.lisp (receive-if): Support timeout argument.
* swank-allegro.lisp (receive-if): Ditto.

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

Revision 1.1437 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:39:21 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1436: +3 -0 lines
Diff to previous 1.1436
* swank-ecl.lisp (thread-id): Assign an non-nil id to unknown
threads.

Revision 1.1436 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:39:10 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1435: +2 -0 lines
Diff to previous 1.1435
(slime-batch-test): Exit, if the Lisp isn't up and running after
30 secs.

Revision 1.1435 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:39:02 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1434: +2 -0 lines
Diff to previous 1.1434
(slime-quit-lisp-internal): New function.
(slime-quit-lisp, slime-restart-inferior-lisp): Use it

Revision 1.1434 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:38:04 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1433: +4 -0 lines
Diff to previous 1.1433
Save repl-history in /tmp, during testing.
(slime-temp-directory): New function.
(slime-run-tests): Save repl-history in /tmp.
(slime-repl-mode): Ignore persistent history if
slime-repl-history-file is nil.

Revision 1.1433 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:37:49 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1432: +1 -0 lines
Diff to previous 1.1432
* slime.el (slime-execute-tests): Call slime-test-should-fail-p
before executing the test (which may close the connection).
(def-slime-test): Use slime-sync-to-top-level with a timeout.

Revision 1.1432 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:37:38 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1431: +5 -0 lines
Diff to previous 1.1431
* slime.el (slime-execute-tests): Call slime-test-should-fail-p
before executing the test (which may close the connection).

Revision 1.1431 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:37:15 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1430: +5 -2 lines
Diff to previous 1.1430
* 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.1430 - (view) (annotate) - [select for diffs]
Mon Aug 11 07:37:01 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1429: +12 -0 lines
Diff to previous 1.1429
* 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.1429 - (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.1428: +6 -0 lines
Diff to previous 1.1428
* swank.lisp (invoke-slime-debugger): New function.
Analagous to cl:invoke-debugger.
(swank-debugger-hook): Use it.

Revision 1.1428 - (view) (annotate) - [select for diffs]
Sat Aug 9 19:57:37 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1427: +20 -19 lines
Diff to previous 1.1427
*** empty log message ***

Revision 1.1427 - (view) (annotate) - [select for diffs]
Sat Aug 9 19:57:31 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1426: +5 -0 lines
Diff to previous 1.1426
* slime.el (slime-quit-lisp): Optionally send kill signal.
(slime-quit-connection-at-point): Disconnect after some timeout.

Revision 1.1426 - (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.1425: +7 -0 lines
Diff to previous 1.1425
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.1425 - (view) (annotate) - [select for diffs]
Sat Aug 9 19:57:17 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1424: +4 -0 lines
Diff to previous 1.1424
* swank-lispworks.lisp (defimplementation): Record location.

Revision 1.1424 - (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.1423: +4 -0 lines
Diff to previous 1.1423
* swank.lisp (*maximum-pipelined-output-chunks*): New variable

Revision 1.1423 - (view) (annotate) - [select for diffs]
Sat Aug 9 19:57:06 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1422: +3 -1 lines
Diff to previous 1.1422
* slime.el (slime-simple-completions): Bind slime-current-thread
to t so that completion is peformed in a fresh thread.

Revision 1.1422 - (view) (annotate) - [select for diffs]
Sat Aug 9 19:56:59 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1421: +20 -0 lines
Diff to previous 1.1421
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.1421 - (view) (annotate) - [select for diffs]
Sat Aug 9 19:56:52 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1420: +4 -0 lines
Diff to previous 1.1420
* swank-lispworks.lisp (disassemble-frame): Implemented.

Revision 1.1420 - (view) (annotate) - [select for diffs]
Sat Aug 9 10:49:48 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1419: +9 -0 lines
Diff to previous 1.1419
M-x slime doesn't destroy the window layout anymore when you
switch windows/frames while the connection is being set up.

* slime.el (slime-hide-inferior-lisp-buffer): Search for the
  inferior-lisp buffer's window in all frames.
  (slime-repl-update-banner): Do not pop to the REPL buffer.

Revision 1.1419 - (view) (annotate) - [select for diffs]
Fri Aug 8 22:46:54 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1418: +9 -0 lines
Diff to previous 1.1418
* slime.el: Fixing `q' in Xref buffers.

  (slime-popup-buffer-snapshot-unchanged-p): New.
  (slime-popup-buffer-restore-snapshot): New.
  (slime-xref-quit): Can't use slime-popup-buffer directly. Instead
  implement its own quit behaviour using the above functions.

Revision 1.1418 - (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.1417: +10 -0 lines
Diff to previous 1.1417
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.1417 - (view) (annotate) - [select for diffs]
Fri Aug 8 20:19:47 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1416: +9 -0 lines
Diff to previous 1.1416
* slime.el: Make xref buffers use `slime-with-popup-buffer',
  nee `slime-with-temp-buffer'.

  (slime-with-xref-buffer): Rewritten using a popup buffer.
  (slime-init-xref-buffer): Removed.
  (slime-display-xref-buffer): Removed.

Revision 1.1416 - (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.1415: +10 -0 lines
Diff to previous 1.1415
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.1415 - (view) (annotate) - [select for diffs]
Fri Aug 8 17:09:07 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1414: +4 -0 lines
Diff to previous 1.1414
* slime.el: Rename slime's temp-buffer to popup-buffer. (defun slime-update-modeline ()

Revision 1.1414 - (view) (annotate) - [select for diffs]
Fri Aug 8 16:13:54 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1413: +5 -0 lines
Diff to previous 1.1413
* slime.el (slime-compiler-notes-mode, slime-connection-ist-mode):
  Add slime-temp-buffer-mode-map to docstring.

Revision 1.1413 - (view) (annotate) - [select for diffs]
Fri Aug 8 14:12:35 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1412: +6 -0 lines
Diff to previous 1.1412
* slime.el (slime-connections-buffer-name): New variable.
  (slime-list-connections): Use it.
  (def-slime-selector ?c): Ditto

Revision 1.1412 - (view) (annotate) - [select for diffs]
Fri Aug 8 14:08:14 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1411: +14 -0 lines
Diff to previous 1.1411
* slime.el: Make the threads browser use `slime-with-temp-buffer'.

(slime-temp-buffer-quit-function): New buffer-local
variable. Defaults to `slime-temp-buffer-quit'.
(slime-temp-buffer-mode): `q' invokes above variable now.

(slime-threads-buffer-name): New variable.
(slime-list-threads): Use slime-with-temp-buffer.
(slime-update-threads-buffer): New. Lifted from
slime-list-threads.
(slime-thread-quit): Renamed to slime-quit-threads-buffer.

Revision 1.1411 - (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.1410: +9 -0 lines
Diff to previous 1.1410
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.1410 - (view) (annotate) - [select for diffs]
Fri Aug 8 11:44:14 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1409: +1 -1 lines
Diff to previous 1.1409
*** empty log message ***

Revision 1.1409 - (view) (annotate) - [select for diffs]
Fri Aug 8 11:36:12 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1408: +1 -1 lines
Diff to previous 1.1408
*** empty log message ***

Revision 1.1408 - (view) (annotate) - [select for diffs]
Fri Aug 8 09:34:41 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1407: +6 -0 lines
Diff to previous 1.1407
* slime.el (test disconnect): Call slime-inferior-process
with explicit connection argument to avoid clashes with
buffer-local connections.

Revision 1.1407 - (view) (annotate) - [select for diffs]
Fri Aug 8 08:59:25 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1406: +6 -0 lines
Diff to previous 1.1406
* slime.el (slime-create-macroexpansion-buffer): Make fontifying
  case insensitive as the result from macroexpansion is most likely
  printed all upper-case.

Revision 1.1406 - (view) (annotate) - [select for diffs]
Thu Aug 7 17:07:22 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1405: +5 -0 lines
Diff to previous 1.1405
* slime.el (slime-with-temp-buffer): By default, no longer inherit
the current connection.

Revision 1.1405 - (view) (annotate) - [select for diffs]
Thu Aug 7 15:54:40 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1404: +10 -0 lines
Diff to previous 1.1404
Previously, M-p at the REPL deleted the input if no match could be
found in the history. Now the input is untouched.

* slime.el (slime-repl-history-replace): Ditch delete-at-end-p
  argument.
  (slime-repl-next-input, slime-repl-previous-input): Adapted.
  (slime-repl-forward-input, slime-repl-backward-input): Ditto.

Revision 1.1404 - (view) (annotate) - [select for diffs]
Thu Aug 7 14:10:25 2008 UTC (5 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.1403: +7 -0 lines
Diff to previous 1.1403
* slime.el (slime-with-temp-buffer): Renamed from
slime-with-output-to-temp-buffer.  Initialize the buffer local
buffer variables before and after running BODY, so that we don't
need the mode argument.

Revision 1.1403 - (view) (annotate) - [select for diffs]
Thu Aug 7 14:06:04 2008 UTC (5 years, 8 months ago) by trittweiler
Branch: MAIN
Changes since 1.1402: +5 -0 lines
Diff to previous 1.1402
* slime.el (def-slime-test narrowing): Adapted to recent changes
  of `slime-with-output-to-temp-buffer'.

Revision 1.1402 - (view) (annotate) -