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

Log of /slime/swank.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Links to SLIME-2-0: (view) (annotate)
Sticky Tag:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(inspector-reinspect): New function.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(background-message): New function.

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

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

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

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

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

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

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

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

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

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

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

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

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

Revision 1.320 - (view) (annotate) - [select for diffs]
Tue Aug 9 13:56:54 2005 UTC (8 years, 8 months ago) by eweitz
Branch: MAIN
Changes since 1.319: +11 -2 lines
Diff to previous 1.319
New version of SWANK::TRANSPOSE-LISTS

Revision 1.319 - (view) (annotate) - [select for diffs]
Sat Aug 6 14:50:20 2005 UTC (8 years, 8 months ago) by mkoeppe
Branch: MAIN
Changes since 1.318: +47 -15 lines
Diff to previous 1.318
(form-completion): New generic function, factored out
from complete-form.
(complete-form): Factor out form-completion.
(form-completion): Specialize on defmethod forms to insert arglist
of generic function.

Revision 1.318 - (view) (annotate) - [select for diffs]
Thu Aug 4 20:16:45 2005 UTC (8 years, 8 months ago) by mkoeppe
Branch: MAIN
Changes since 1.317: +2 -2 lines
Diff to previous 1.317
Undo changes I checked in by mistake.

Revision 1.317 - (view) (annotate) - [select for diffs]
Thu Aug 4 20:14:57 2005 UTC (8 years, 8 months ago) by mkoeppe
Branch: MAIN
Changes since 1.316: +5 -5 lines
Diff to previous 1.316
(*can-print-presentation*): Move up.

Revision 1.316 - (view) (annotate) - [select for diffs]
Thu Aug 4 19:34:35 2005 UTC (8 years, 8 months ago) by mkoeppe
Branch: MAIN
Changes since 1.315: +40 -25 lines
Diff to previous 1.315
(*can-print-presentation*): New variable, moved here from
present.lisp.

(interactive-eval, listener-eval, backtrace)
(swank-compiler, compile-file-for-emacs, load-file)
(init-inspector): Bind *can-print-presentation* to an appropriate
value.

Revision 1.315 - (view) (annotate) - [select for diffs]
Thu Aug 4 19:23:13 2005 UTC (8 years, 8 months ago) by mkoeppe
Branch: MAIN
Changes since 1.314: +4 -3 lines
Diff to previous 1.314
(encode-message): Don't use the pretty printer for printing the
message length.

(listener-eval): Store the whole values-list with add-repl-result.

Revision 1.314 - (view) (annotate) - [select for diffs]
Thu Aug 4 19:16:14 2005 UTC (8 years, 8 months ago) by mkoeppe
Branch: MAIN
Changes since 1.313: +3 -1 lines
Diff to previous 1.313
(dispatch-event, send-to-socket-io): New events :presentation-start,
:presentation-end for bridge-less presentation markup.

Revision 1.313 - (view) (annotate) - [select for diffs]
Fri Jul 29 12:38:21 2005 UTC (8 years, 8 months ago) by mbaringer
Branch: MAIN
Changes since 1.312: +11 -6 lines
Diff to previous 1.312
(*dedicated-output-stream-port*): New variable.
(open-dedicated-output-stream): Open the stream on the port *dedicated-output-stream-port*.

Revision 1.312 - (view) (annotate) - [select for diffs]
Tue Jul 26 21:37:26 2005 UTC (8 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.311: +8 -4 lines
Diff to previous 1.311
(inspect-for-emacs): Don't make whitespace surrounding :action buttons
part of the highlighted region.

Revision 1.311 - (view) (annotate) - [select for diffs]
Tue Jul 26 20:51:14 2005 UTC (8 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.310: +4 -3 lines
Diff to previous 1.310
(compile-file-for-emacs): Accept optional external-format argument.

Revision 1.310 - (view) (annotate) - [select for diffs]
Sun Jul 24 15:30:46 2005 UTC (8 years, 8 months ago) by mbaringer
Branch: MAIN
Changes since 1.309: +21 -4 lines
Diff to previous 1.309
*** empty log message ***

Revision 1.309 - (view) (annotate) - [select for diffs]
Tue Jun 21 18:28:58 2005 UTC (8 years, 9 months ago) by eweitz
Branch: MAIN
Changes since 1.308: +3 -1 lines
Diff to previous 1.308
Add package nicknames to completion results

Revision 1.308 - (view) (annotate) - [select for diffs]
Mon Jun 13 09:34:53 2005 UTC (8 years, 10 months ago) by eweitz
Branch: MAIN
Changes since 1.307: +13 -11 lines
Diff to previous 1.307
remove duplicate asdf systems

Revision 1.307 - (view) (annotate) - [select for diffs]
Sun Jun 12 16:33:50 2005 UTC (8 years, 10 months ago) by crhodes
Branch: MAIN
Changes since 1.306: +16 -10 lines
Diff to previous 1.306
Minor changes to ED-IN-EMACS / slime-ed.  Now
  (push 'swank:ed-in-emacs sb-ext:*ed-functions*)
works more-or-less as required.  (We don't obey the constraint that
file-error conditions be signalled on file system errors, but...)

Revision 1.306 - (view) (annotate) - [select for diffs]
Fri Jun 10 17:54:22 2005 UTC (8 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.305: +1 -1 lines
Diff to previous 1.305
(compiled-regex): Use the new package name.

Revision 1.305 - (view) (annotate) - [select for diffs]
Wed Jun 1 12:41:02 2005 UTC (8 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.304: +10 -16 lines
Diff to previous 1.304
(present-symbol-before-p): Fix docstring; remove optimization; compare
package names correctly.

Revision 1.304 - (view) (annotate) - [select for diffs]
Wed Jun 1 12:27:24 2005 UTC (8 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.303: +18 -9 lines
Diff to previous 1.303
(present-symbol-before-p): make it conform to its specification --
sort first by package and then by symbol name.

Revision 1.303 - (view) (annotate) - [select for diffs]
Tue May 31 18:37:52 2005 UTC (8 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.302: +9 -5 lines
Diff to previous 1.302
(simple-announce-function): force-output after announcing.

(symbol-external-p): Be extra paranoid about the symbol's package;
find-symbol barfs on a nil package in Corman Lisp.

Revision 1.302 - (view) (annotate) - [select for diffs]
Sat May 21 05:04:02 2005 UTC (8 years, 11 months ago) by aruttenberg
Branch: MAIN
Changes since 1.301: +2 -2 lines
Diff to previous 1.301
*** empty log message ***

Revision 1.301 - (view) (annotate) - [select for diffs]
Fri May 20 05:41:45 2005 UTC (8 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.300: +1 -1 lines
Diff to previous 1.300
(clear-repl-results): Fixed unbalanced parens. Thanks Lawrence
Mitchell.

Revision 1.300 - (view) (annotate) - [select for diffs]
Thu May 19 02:15:10 2005 UTC (8 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.299: +31 -19 lines
Diff to previous 1.299
(*record-repl-results*): Variable to enable/disable recording of REPL
results. True by default.

(*repl-results*): Renamed from ****.

Revision 1.299 - (view) (annotate) - [select for diffs]
Wed May 18 10:16:31 2005 UTC (8 years, 11 months ago) by mbaringer
Branch: MAIN
Changes since 1.298: +27 -2 lines
Diff to previous 1.298
(*current-id*, ****): New variables.
(add-****, get-****, clear-last-****, clear-****): New functions
for manipulating the repl history.
(listener-eval): Add * to ****.

Revision 1.298 - (view) (annotate) - [select for diffs]
Thu May 12 19:04:41 2005 UTC (8 years, 11 months ago) by aruttenberg
Branch: MAIN
Changes since 1.297: +53 -8 lines
Diff to previous 1.297
2005-05-12  Alan Ruttenberg  <alanr-l@mumble.net>

	* swank.lisp Add ability to customize behavior of the repl. To do
	so, add a function to the list swank::*slime-repl-eval-hooks*.
	This function is passed the form typed into the repl. The function
	should decide whether it wants to handle evaluation of the
	form. If not, call (repl-eval-hook-pass) and the next hook is
	tried. Otherwise the values the function returns are used instead
	of calling eval. Inside the body of the function you can also
	suppress having the repl print the result by calling
	(repl-suppress-output) and/or suppress the advancement of the
	history variables (*** ** * /// // /) by calling
	(repl-suppress-advance-history).

Revision 1.297 - (view) (annotate) - [select for diffs]
Tue May 3 18:58:54 2005 UTC (8 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.296: +1 -2 lines
Diff to previous 1.296
(slime-secret): Removed #+unix conditional.

Revision 1.296 - (view) (annotate) - [select for diffs]
Mon May 2 18:44:50 2005 UTC (8 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.295: +23 -3 lines
Diff to previous 1.295
If ~/.slime-secret exists then insist that Emacs sends the contents
(as a password) during initial handshaking.

(announce-server-port): Use :IF-EXISTS :ERROR to prevent bad guys from
slipping a symlink into /tmp and reading what port Lisp is listening
on.

Revision 1.295 - (view) (annotate) - [select for diffs]
Thu Apr 21 07:39:12 2005 UTC (8 years, 11 months ago) by lgorrie
Branch: MAIN
CVS Tags: SLIME-1-2-1
Changes since 1.294: +1 -1 lines
Diff to previous 1.294
(arglist-to-string): Rolled back the previous change because it
interferred with values appearing in parameter lists.

Revision 1.294 - (view) (annotate) - [select for diffs]
Wed Apr 20 17:23:45 2005 UTC (9 years ago) by lgorrie
Branch: MAIN
Changes since 1.293: +1 -1 lines
Diff to previous 1.293
(arglist-to-string): Bind *PRINT-ESCAPE* to NIL. This way symbols in
arglists are printed as with PRINC, i.e. without package qualifier.

Revision 1.293 - (view) (annotate) - [select for diffs]
Sat Apr 9 07:07:46 2005 UTC (9 years ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-2
Changes since 1.292: +32 -23 lines
Diff to previous 1.292
(with-io-redirection, with-connection, with-buffer-syntax): Implement
macros with a `call-with' functions to avoid some code bloat.
(call-with-connection, maybe-call-with-io-redirection)
(call-with-buffer-syntax): New functions.

(interactive-eval): Use from-string instead of read-from-string to
avoid problems whit *read-suppress*.

Revision 1.292 - (view) (annotate) - [select for diffs]
Sun Apr 3 23:27:20 2005 UTC (9 years ago) by heller
Branch: MAIN
Changes since 1.291: +5 -2 lines
Diff to previous 1.291
(connection-info): Include version and hostname in the result.

Revision 1.291 - (view) (annotate) - [select for diffs]
Fri Apr 1 19:55:18 2005 UTC (9 years ago) by heller
Branch: MAIN
Changes since 1.290: +24 -15 lines
Diff to previous 1.290
(spawn-repl-thread): Use *default-worker-thread-bindings* just like
spawn-worker-thread.

(wrap-sldb-vars): New function.  When evaluating a form in a frame,
Allegro uses the "old" dynamic context, i.e., dynamic variables like
*sldb-level* and the like are reset to the values in those frames.
But if *sldb-level* is reset to 0, Emacs doesn't notice when a
(recursive) error occurs while evaluating the form in the old frame.
wrap-sldb-vars saves the debugger related variables to avoid such
confusion.
(eval-string-in-frame, pprint-eval-string-in-frame): Use it.

Revision 1.290 - (view) (annotate) - [select for diffs]
Wed Mar 23 12:23:05 2005 UTC (9 years ago) by mbaringer
Branch: MAIN
Changes since 1.289: +1 -1 lines
Diff to previous 1.289
(commit-edited-value): Read a backquated string, instead of quating
the result of read. This allows one to put ,(form) into edit-value
buffers.

Revision 1.289 - (view) (annotate) - [select for diffs]
Mon Mar 21 00:58:46 2005 UTC (9 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.288: +8 -5 lines
Diff to previous 1.288
(commit-edited-value): Use buffer syntax.

(compile-file-for-emacs, compile-string-for-emacs): Bind
*compile-print* to nil.

Revision 1.288 - (view) (annotate) - [select for diffs]
Wed Mar 16 22:03:18 2005 UTC (9 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.287: +40 -31 lines
Diff to previous 1.287
(*macroexpand-printer-bindings*): New user variable.
(apply-macro-expander): Use it.

(call-with-bindings): Bind reverse the list. Makes it easer to cons or
push a new binding at the front the list.
(with-bindings): New macro.

Revision 1.287 - (view) (annotate) - [select for diffs]
Sun Mar 13 15:16:16 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.286: +2 -0 lines
Diff to previous 1.286
(inspect-for-emacs symbol): Add an "unintern it" action for symbols.

Revision 1.286 - (view) (annotate) - [select for diffs]
Sat Mar 12 16:02:04 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.285: +12 -0 lines
Diff to previous 1.285
(value-for-editing, commit-edited-value): New functions for
slime-edit-value.

Revision 1.285 - (view) (annotate) - [select for diffs]
Mon Mar 7 08:46:55 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.284: +4 -4 lines
Diff to previous 1.284
*** empty log message ***

Revision 1.284 - (view) (annotate) - [select for diffs]
Sun Mar 6 21:43:33 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.283: +176 -62 lines
Diff to previous 1.283
(format-arglist-for-echo-area): Use extra-keywords to enrich the list
of keywords.

(arglist-to-string): Remove extraneous whitespace.

(keyword-arg, optional-arg): New structures.

(decode-keyword-arg, decode-optional-arg): Return structure objects
rather than multiple values.

(encode-keyword-arg, encode-optional-arg, encode-arglist): New
functions.

(arglist): New slot key-p.

(decode-arglist): Handle &whole, &environment. Store more information
on optional and keyword args, set arglist.key-p.

(values-equal?): Removed.

(print-decoded-arglist-as-template): If keyword is not a keyword
symbol, quote it in the template.

(extra-keywords): Return a secondary value (allow-other-keys). For
make-instance, try to finalize the class if it is not finalized yet
(fix for Allegro CL 6.2). If class is not finalizable, use direct
slots instead of slots and indicate that the keywords are not
complete.

(enrich-decoded-arglist-with-extra-keywords): New function, use the
secondary value of extra-keywords.

(arglist-for-insertion, complete-form): Use it here.

(remove-keywords-alist): New variable.

(remove-actual-args): When the keyword :test is provided, don't
suggest :test-not and vice versa.

Revision 1.283 - (view) (annotate) - [select for diffs]
Sun Mar 6 16:49:23 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.282: +1 -0 lines
Diff to previous 1.282
Export LOG-OUTPUT.

Revision 1.282 - (view) (annotate) - [select for diffs]
Mon Feb 28 23:32:58 2005 UTC (9 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.281: +65 -95 lines
Diff to previous 1.281
(*sldb-printer-bindings*, *swank-pprint-bindings*): New variables.
The alists replace the variables which where previously hidden with
the define-printer-variables macro.
(define-printer-variables, with-printer-settings): Deleted, because
the variable names where not visible in the source code.

(swank-toggle-trace): Renamed from toggle-trace-fdefinition.

Revision 1.281 - (view) (annotate) - [select for diffs]
Thu Feb 24 18:08:24 2005 UTC (9 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.280: +63 -40 lines
Diff to previous 1.280
(eval-for-emacs): Use the new backend function call-with-debugger-hook.

(eval-in-emacs): Cleaned up. Add support for synchronous RPCs.
(receive-eval-result): New function.
(dispatch-event, read-from-socket-io, send-to-socket-io): New :eval
event. Rename :%apply to :eval-no-wait.
(read-user-input-from-emacs, evaluate-in-emacs): Increment
*read-input-catch-tag* instead of re-binding it. Reduces the danger of
throwing to the wrong tag a bit.

Revision 1.280 - (view) (annotate) - [select for diffs]
Sun Feb 20 20:29:14 2005 UTC (9 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.279: +218 -41 lines
Diff to previous 1.279
(arglist): New struct for storing decoded arglists.
(decode-arglist): New function.
(arglist-keywords, methods-keywords, generic-function-keywords,
applicable-methods-keywords): New functions.
(decoded-arglist-to-template-string,
print-decoded-arglist-as-template): New functions.
(arglist-to-template-string): Rewrite using above functions.
(remove-actual-args): New function.
(complete-form): New slimefun.

(extra-keywords): New generic function.

(arglist-for-insertion): Use extra-keywords to
enrich the list of keywords.

(valid-operator-symbol-p): New function.
(valid-operator-name-p): Use valid-operator-symbol-p.

Revision 1.279 - (view) (annotate) - [select for diffs]
Fri Feb 18 16:04:28 2005 UTC (9 years, 2 months ago) by mbaringer
Branch: MAIN
Changes since 1.278: +22 -1 lines
Diff to previous 1.278
(dispatch-event): Handle the :evaluate-in-emacs
message type.
(evaluate-in-emacs): New function.

Revision 1.278 - (view) (annotate) - [select for diffs]
Thu Jan 27 19:56:06 2005 UTC (9 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.277: +31 -11 lines
Diff to previous 1.277
(*pending-continuations*, eval-in-emacs, debugger-info-for-emacs):
Keep track of debugged continuation the new variable
*pending-continuations* and include the list of active continuations
in the debugger info for Emacs.

(eval-and-grab-output): New function.  Used by slime-eval-print.

(*log-output*): Renamed from *log-io*.  Use *standard-error* as
initial value instead of *terminal-io*.  CMUCL opens its own tty and
that makes it hard to redirect to output with a shell.
*standard-error* writes its output to file descriptor 2.

(*canonical-package-nicknames*): Fix typo.

Revision 1.277 - (view) (annotate) - [select for diffs]
Thu Jan 20 20:02:32 2005 UTC (9 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.276: +15 -17 lines
Diff to previous 1.276
(parse-symbol): Don't break if the package doesn't exists.

Revision 1.276 - (view) (annotate) - [select for diffs]
Wed Jan 19 18:30:36 2005 UTC (9 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.275: +77 -3 lines
Diff to previous 1.275
(arglist-to-template-string): New function.
(arglist-for-insertion): Use it
(decode-keyword-arg, decode-optional-arg): New functions.

Revision 1.275 - (view) (annotate) - [select for diffs]
Wed Jan 12 16:25:16 2005 UTC (9 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.274: +1 -0 lines
Diff to previous 1.274
*** empty log message ***

Revision 1.274 - (view) (annotate) - [select for diffs]
Wed Jan 12 16:22:37 2005 UTC (9 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.273: +19 -1 lines
Diff to previous 1.273
(*default-worker-thread-bindings*): New variable to initialize dynamic
variables in worker threads.
(spawn-worker-thread, call-with-bindings): New helper functions.
(thread-for-evaluation): Use them.

Revision 1.273 - (view) (annotate) - [select for diffs]
Mon Jan 10 19:34:31 2005 UTC (9 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.272: +1 -1 lines
Diff to previous 1.272
(inspect-for-emacs-list): LispWorks has a low args limit for apply:
use reduce instead of apply.

Revision 1.272 - (view) (annotate) - [select for diffs]
Thu Dec 16 21:16:50 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.271: +1 -1 lines
Diff to previous 1.271
(frame-for-emacs): Print the frame number a little nicer with ~2D.

Revision 1.271 - (view) (annotate) - [select for diffs]
Wed Dec 15 22:30:56 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.270: +5 -6 lines
Diff to previous 1.270
(slime-lisp-modes): New variable to make C-c C-k customizable and
usable in scheme-mode.
(slime-compile-file): Use it.

Revision 1.270 - (view) (annotate) - [select for diffs]
Thu Dec 9 20:43:20 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.269: +6 -0 lines
Diff to previous 1.269
(*sldb-print-pretty*, *sldb-print-circle*, *sldb-print-length*)
(*sldb-print-level*, *sldb-print-lines*)
(*sldb-print-pprint-dispatch*): Export those symbols.

Revision 1.269 - (view) (annotate) - [select for diffs]
Sun Dec 5 21:06:52 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.268: +19 -19 lines
Diff to previous 1.268
(eval-region): Use a simple loop.

Revision 1.268 - (view) (annotate) - [select for diffs]
Thu Dec 2 17:11:50 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.267: +9 -6 lines
Diff to previous 1.267
(inspect-for-emacs (symbol)): Handle non-interned symbols.

Revision 1.267 - (view) (annotate) - [select for diffs]
Mon Nov 29 17:31:53 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.266: +1 -1 lines
Diff to previous 1.266
(macro-indentation): Call clean-arglist.

Revision 1.266 - (view) (annotate) - [select for diffs]
Thu Nov 25 19:03:22 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.265: +41 -25 lines
Diff to previous 1.265
(dispatch-loop): Catch errors and close the connection.  It's almost
impossible to run the debugger inside the control-thread, so let it
crash instead.  A backtrace would be nice, though.

(cleanup-connection-threads): Can know be called in the
control-thread.  Add a check to avoid thread suicide.

(arglist-to-string): Don't show &whole, &aux and &environment args.
(clean-arglist): New function.

(start-swank-server-in-thread): Fix the call to start-server.

Revision 1.265 - (view) (annotate) - [select for diffs]
Wed Nov 24 19:52:52 2004 UTC (9 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.264: +26 -23 lines
Diff to previous 1.264
(inspect-for-emacs-list): subseq on improper lists breaks in
Lispworks. Handle that case better.

Revision 1.264 - (view) (annotate) - [select for diffs]
Fri Nov 19 19:02:19 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.263: +54 -49 lines
Diff to previous 1.263
(*coding-system*): New variable.
(start-server): Accept external-format as argument.
(create-server, create-swank-server, setup-server, serve-connection)
(open-dedicated-output-stream, create-connection): Ditto.

(defstruct connection): Add external-format slot.

(decode-message-length): Use function for new length encoding.
(decode-message): Use it.
(encode-message): Use new encoding.

Revision 1.263 - (view) (annotate) - [select for diffs]
Fri Nov 19 01:13:05 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.262: +10 -13 lines
Diff to previous 1.262
(inspect-for-emacs array): Use row-major-aref instead of a displaced
array.  I that's the same.

(inspect-for-emacs integer): Ignore errors in decode-universal-time.
Negative values and in SBCL also small values cannot be decoded.

(list-threads): Include the thread-id. Useful for SLIME debugging.

Revision 1.262 - (view) (annotate) - [select for diffs]
Thu Nov 18 17:34:55 2004 UTC (9 years, 5 months ago) by mbaringer
Branch: MAIN
CVS Tags: MULTIBYTE-ENCODING
Changes since 1.261: +1 -1 lines
Diff to previous 1.261
(inspect-for-emacs): Fix bug in handling of arrays with fill-pointers.

Revision 1.261 - (view) (annotate) - [select for diffs]
Mon Nov 15 22:48:39 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.260: +35 -30 lines
Diff to previous 1.260
(defstruct connection): Add new slot: communication-style for
convenience.
(create-connection): Initialize the new slot.
(connection-info): Send the communication-style to Emacs.
(install-fd-handler, simple-serve-requests): Sending
:use-sigint-for-interrupt is no longer necessary.

(notify-backend-of-connection): Don't pass the output stream to the backend.

Revision 1.260 - (view) (annotate) - [select for diffs]
Tue Nov 9 10:27:13 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-1
Changes since 1.259: +7 -2 lines
Diff to previous 1.259
(features-for-emacs): New function to avoid keyword/string confusion.
Case doesn't matter since Emacs will downcase them anyway.
(connection-info, sync-features-to-emacs): Use it.  Should fix
highlighting bug reported by Edi Weitz.

Revision 1.259 - (view) (annotate) - [select for diffs]
Sun Nov 7 15:07:00 2004 UTC (9 years, 5 months ago) by bdowning
Branch: MAIN
Changes since 1.258: +97 -84 lines
Diff to previous 1.258
* slime.el (slime-fuzzy-explanation): Added line to describe
flags (:boundp, :fboundp, :macro, etc), which are now reported in
the fuzzy-completion output.
(slime-fuzzy-insert-completion-choice): Added flags.
(slime-fuzzy-choices-buffer): Added flags header.

* swank.lisp (fuzzy-completions): Changed docstring to describe
new flags in the completion results.
(convert-fuzzy-completion-result): New function to marshall the
results from the completion core into something Emacs is
expecting.  Added flags.
(fuzzy-completion-set): Use the above.
(compute-completion): Removed.
(score-completion): Cleaned up a little bit.
(highlight-completion): Use destructive nstring-upcase.

Revision 1.258 - (view) (annotate) - [select for diffs]
Mon Nov 1 17:15:55 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.257: +5 -5 lines
Diff to previous 1.257
(assign-index): Avoid linear search.

Revision 1.257 - (view) (annotate) - [select for diffs]
Thu Oct 28 22:16:01 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.256: +1 -1 lines
Diff to previous 1.256
(inspect-for-emacs[integer]): Fix control string.  Thanks to CSR for
pointing it out.

Revision 1.256 - (view) (annotate) - [select for diffs]
Thu Oct 28 21:21:53 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.255: +159 -182 lines
Diff to previous 1.255
(*sldb-stepping-p*): New variable.  Used to tell emacs that the
debugger buffer should not be closed even if we unwind.
(debug-in-emacs): Use it.

(sldb-step): Moved to the front end.

(inspector-princ, method-specializers-for-inspect): Simplified.
(methods-by-applicability): Use a simpler algorithm. I doubt there is
much difference in practice.

(inspect-for-emacs)[symbol, function, standard-generic-function]
[standard-method]: Use less than 80 columns.

(inspector-call-nth-action): Don't accept &rest args.  Was never used.

Revision 1.255 - (view) (annotate) - [select for diffs]
Tue Oct 26 00:30:47 2004 UTC (9 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.254: +28 -25 lines
Diff to previous 1.254
(define-printer-variables): Handle doc strings properly.
(*sldb-pprint-dispatch*): Initialize it with the default dispatch
table.

Revision 1.254 - (view) (annotate) - [select for diffs]
Mon Oct 25 16:19:32 2004 UTC (9 years, 5 months ago) by mbaringer
Branch: MAIN
Changes since 1.253: +113 -29 lines
Diff to previous 1.253
(inspect-for-emacs array): Properly deal with arrays without fill
pointers.
(inspect-for-emacs function): Show function-lambda-expression when
available.
(inspect-for-emacs generic-function): Order generic function's methods
and show abbreviated docs for methods.
(abbrev-doc): New function.
(methods-by-applicability): New function.
(*gf-method-getter*): New variable.

Revision 1.253 - (view) (annotate) - [select for diffs]
Tue Oct 19 06:14:17 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.252: +5 -9 lines
Diff to previous 1.252
(define-printer-variables): Allow print-gensym, base and others.
(printer-variables sldb-print): Include print-gensym, pprint-dispatch,
base, radix, array, lines.

Revision 1.252 - (view) (annotate) - [select for diffs]
Tue Oct 19 05:57:29 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.251: +4 -3 lines
Diff to previous 1.251
(define-printer-variables): NIL is not a valid docstring.  Reported by
Alain Picard.

Revision 1.251 - (view) (annotate) - [select for diffs]
Sun Oct 17 21:50:23 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.250: +2 -2 lines
Diff to previous 1.250
(printer-variables sldb-print): Ooops. Better use sldb-print as prefix
than sldb alone.  *sldb-level* was already defined.

Revision 1.250 - (view) (annotate) - [select for diffs]
Sun Oct 17 18:10:03 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.249: +195 -188 lines
Diff to previous 1.249
(*sldb-pprint-frames*): Renamed to *sldb-print-pretty*.

(*sldb-print-level*, *sldb-print-length*, *sldb-print-circle*)
(*sldb-print-readbly): Group of new variables to customize printing in
the debugger.  The default values should be safe.

(define-printer-variables, with-printer-settings): New macros to make
definig and binding groups printer variables easier.

(inspect-for-emacs-list): Rewritten. The old version had a bug with
circular lists, didn't include the position of the element, and always
showed the full list.  The new version only shows the first 40
elements.

(inspect-for-emacs): Minor cleanups.

(all-qualified-readnames): Removed. It was not needed because
common-lisp-indent-function strips of any package prefix and downcases
the symbol anyway.

Revision 1.249 - (view) (annotate) - [select for diffs]
Thu Oct 7 19:33:00 2004 UTC (9 years, 6 months ago) by pseibel
Branch: MAIN
Changes since 1.248: +5 -5 lines
Diff to previous 1.248
Bind *debugger-hook* instead of setfing it when spawning threads.

Revision 1.248 - (view) (annotate) - [select for diffs]
Wed Oct 6 12:39:35 2004 UTC (9 years, 6 months ago) by mbaringer
Branch: MAIN
Changes since 1.247: +4 -7 lines
Diff to previous 1.247
minor inspector cleanups

Revision 1.247 - (view) (annotate) - [select for diffs]
Wed Oct 6 08:59:02 2004 UTC (9 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.246: +15 -3 lines
Diff to previous 1.246
(update-indentation/delta-for-emacs): Configure Emacs indentation
settings not just for the symbol name but for all package-qualified
forms of it as well.

Revision 1.246 - (view) (annotate) - [select for diffs]
Tue Oct 5 21:37:36 2004 UTC (9 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.245: +13 -8 lines
Diff to previous 1.245
(arglist-for-echo-area): Handle errors and return a message.

(parse-symbol): Recognise an empty package name as the KEYWORD
package.

Revision 1.245 - (view) (annotate) - [select for diffs]
Fri Oct 1 12:02:29 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.244: +33 -19 lines
Diff to previous 1.244
(parse-symbol): Don't use the reader because to avoid interning
unknown symbols.  The downside is that we no longer handle escaped
 |symbols| correctly.

Revision 1.244 - (view) (annotate) - [select for diffs]
Mon Sep 27 22:23:01 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.243: +27 -7 lines
Diff to previous 1.243
(mop, mop-helper): Support functions for the class browser.  By Rui
Patrocínio.

Revision 1.243 - (view) (annotate) - [select for diffs]
Thu Sep 23 22:23:07 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.242: +7 -1 lines
Diff to previous 1.242
(load-file-set-package): New function.

Revision 1.242 - (view) (annotate) - [select for diffs]
Thu Sep 23 21:30:30 2004 UTC (9 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.241: +79 -90 lines
Diff to previous 1.241
(frame-locals-for-emacs): Bind *print-pretty* to *sldb-pprint-frames*
to get more compact lines and bind *package* to frame-package to get
shorter labels for variables.

(format-values-for-echo-area): Include the hex and octal
representation for integers.

(apply-macro-expander, disassemble-symbol): Use the buffer-package for
reading.

(inspector-content-for-emacs): Use print-part-to-string so that we see
cycles in the data structure.
(inspect-for-emacs): Minor beatifications.

Revision 1.241 - (view) (annotate) - [select for diffs]
Sun Sep 19 07:57:54 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.240: +22 -13 lines
Diff to previous 1.240
(interrupt-worker-thread): Interrupt the repl thread if there is no
other active thread.

Revision 1.240 - (view) (annotate) - [select for diffs]
Sun Sep 19 05:56:42 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.239: +19 -6 lines
Diff to previous 1.239
(thread-for-evaluation): Restart the listener thread if it was dead
for some reason.

(debugger-condition-for-emacs): Include "extra" stuff.

(sldb-break): New entry function.

Revision 1.239 - (view) (annotate) - [select for diffs]
Fri Sep 17 12:52:11 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.238: +92 -34 lines
Diff to previous 1.238
Don't print "Documentation:" if none is available; add support for
classes specializer-direct-methods; deal with eql-specializers in
methods.
(inspector-princ): New function.
(method-specializers-for-inspect): New function.
(method-for-inspect-value): New function.
(inspect-for-emacs): Use inspector-princ instead of princ-to-string.

Revision 1.238 - (view) (annotate) - [select for diffs]
Thu Sep 16 11:40:39 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.237: +7 -8 lines
Diff to previous 1.237
It's -> Its

Revision 1.237 - (view) (annotate) - [select for diffs]
Wed Sep 15 17:29:39 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.236: +29 -16 lines
Diff to previous 1.236
(inspect-for-emacs): Add function and compiler-macro
documentation when inspecting symbols. View the truename of
logical pathnames where they exist. Fix typos in package
inspector (fix by Torsten Poulin <torsten@diku.dk>).

Revision 1.236 - (view) (annotate) - [select for diffs]
Wed Sep 15 08:54:51 2004 UTC (9 years, 7 months ago) by lgorrie
Branch: MAIN
Changes since 1.235: +6 -1 lines
Diff to previous 1.235
(cleanp-connection-threads): Kill all Swank threads for a connction
when it terminates.

Revision 1.235 - (view) (annotate) - [select for diffs]
Tue Sep 14 16:01:51 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.234: +59 -60 lines
Diff to previous 1.234
2004-09-14  Marco Baringer  <mb@bese.it>

	* swank-backend.lisp (inspector, make-default-inspector): Add an
	INSPECTOR object argument to the inspector protocol. This allows
	implementations to provide more information regarding cretain
	objects which can't be, or simply aren't, inspected using the
	generic inspector implementation. also export inspect-for-emacs
	and related symbols from the backend package.
	(make-default-inspector): New function.

	* swank.lisp (inspected-parts): Rename to inspect-for-emacs and
	add an inspector argument. Move inspect-for-emacs to
	swank-backend.lisp, leave only the default implementations.

	* swank-openml.lisp, swank-sbcl.lisp, swank-allegro.lisp,
	swank-cmucl.lisp, swank-lispworks.lisp (inspected-parts): Rename
	and change argument list. Many of the inspected-parts methods were
	being clobbered by the inspected-parts in swank.lisp, now that
	they're being used the return values have been updated for the new
	inspect-for-emacs API.

Revision 1.234 - (view) (annotate) - [select for diffs]
Tue Sep 14 11:57:06 2004 UTC (9 years, 7 months ago) by asimon
Branch: MAIN
Changes since 1.233: +1 -1 lines
Diff to previous 1.233
(:newline) before the property list (now really!)

Revision 1.233 - (view) (annotate) - [select for diffs]
Tue Sep 14 11:41:55 2004 UTC (9 years, 7 months ago) by asimon
Branch: MAIN
Changes since 1.232: +1 -0 lines
Diff to previous 1.232
(:newline) before the property list

Revision 1.232 - (view) (annotate) - [select for diffs]
Mon Sep 13 21:36:13 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.231: +8 -4 lines
Diff to previous 1.231
(intern-catch-tag):  New function.
(read-user-input-from-emacs, take-input): Use it.

(define-special): Set the documentation for the 'variable not for the
'symbol.

Revision 1.231 - (view) (annotate) - [select for diffs]
Mon Sep 13 16:42:31 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.230: +129 -22 lines
Diff to previous 1.230
2004-09-13  Marco Baringer  <mb@bese.it>

	* swank.lisp (inspected-parts): Added inspectors for pathnames,
	logical pathnames, standard-objects and numbers (float, ratio,
	integer and complex).

	* swank-backend.lisp: Define import-to-swank-mop.

	* swank-openmcl.lisp, swank-sbcl.lisp, swank-allegro.lisp: Don't
	define the import-to-swank-mop function (now defined in
	swank-backend.lisp).

	* swank-cmucl.lisp (swank-mop, function-name): Implement backend
	for inspector.
	(arglist): Add support for extracting arglists from function
	objects.
	(create-socket): Don't specify the host on PPC.

Revision 1.230 - (view) (annotate) - [select for diffs]
Mon Sep 13 00:14:47 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.229: +14 -7 lines
Diff to previous 1.229
2004-09-13  Marco Baringer  <mb@bese.it>

	* swank.lisp (inspected-parts): Deal with unfinalized classes in
	standard-class inspector. (Patch from Thomas Schilling)

Revision 1.229 - (view) (annotate) - [select for diffs]
Sun Sep 12 23:56:39 2004 UTC (9 years, 7 months ago) by mbaringer
Branch: MAIN
Changes since 1.228: +365 -64 lines
Diff to previous 1.228
2004-09-13  Marco Baringer  <mb@bese.it>

	* swank.lisp: New inspector protocol. The lisp side now returns a
	specially formated list of "things" to format which are then
	passed to emacs and rendered in the inspector buffer. Things can
	be either text, recursivly inspectable values, or functions to
	call.
	(inspected-parts): Redefine for new inspector protocol.
	(*inspectee-parts*): Redefine as array.
	(*inspectee-actions*): New array, similar to *inspectee-parts*.
	(reset-inspector): Update for new implementation of
	*inspectee-parts* and new variable *inspectee-actions*.
	(inspector-contents-for-emacs): New function.
	(inspect-object): Update for new inspector protocol.
	(inspector-nth-part): Update for new *inspectee-parts*
	implementation.
	(inspector-call-nth-action): New function.

	* slime.el (slime-inspector-action-face): New face.
	(slime-open-inspector): Adapt to new inspector protocol.
	(slime-inspector-operate-on-point): New function, subsumes
	slime-inspector-inspect-object-at-point.
	(slime-inspector-next-inspectable-object): Skip to next object,
	not just end of current object; wrap around buffer.
	(slime-inspector-mode-map): change bindings of [return] and "\C-m"

	* swank-bacend.lisp (swank-mop): New package. Simply defines all
	the MOP related symbols we need from an implementation.
	(arglist): Update doc string. Provide default implementation.
	(function-name): New backend function.

	* swank-allegro.lisp (swank-mop, slot-definition-documentation):
	Implement.

	* swank-sbcl.lisp (swank-mop, slot-definition-documentation,
	function-name): Implement.

	* swank-openmcl.lisp (swank-mop, function-name): Implement.
	(arglist): Implement for function objects.

Revision 1.228 - (view) (annotate) - [select for diffs]
Sun Sep 12 20:41:07 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.227: +2 -1 lines
Diff to previous 1.227
(compile-file-for-emacs): Use with-buffer-syntax so that SBCL source
files can be compiled.

Revision 1.227 - (view) (annotate) - [select for diffs]
Fri Sep 3 21:12:00 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-0
Changes since 1.226: +0 -1 lines
Diff to previous 1.226
Remove debugging code in comment.

Revision 1.226 - (view) (annotate) - [select for diffs]
Wed Sep 1 22:41:31 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.225: +1 -6 lines
Diff to previous 1.225
(completion-set, tokenize-symbol-designator, tokenize-completion)
(fuzzy-completion-set, briefly-describe-symbol-for-emacs): Remove
simple-base-string declarations.

Revision 1.225 - (view) (annotate) - [select for diffs]
Mon Aug 30 22:24:41 2004 UTC (9 years, 7 months ago) by heller
Branch: MAIN
Changes since 1.224: +3 -1 lines
Diff to previous 1.224
(send-to-socket-io): Add some ignore declarations.

Revision 1.224 - (view) (annotate) - [select for diffs]
Sat Aug 28 02:27:08 2004 UTC (9 years, 7 months ago) by pseibel
Branch: MAIN
Changes since 1.223: +2 -2 lines
Diff to previous 1.223
Adding directory argument to swank-compile-string.

Revision 1.223 - (view) (annotate) - [select for diffs]
Sat Aug 21 01:37:26 2004 UTC (9 years, 7 months ago) by lgorrie
Branch: MAIN
Changes since 1.222: +10 -0 lines
Diff to previous 1.222
(*global-debugger*): New configurable to globally install
swank-debugger-hook as *debugger-hook*. True by default.

Revision 1.222 - (view) (annotate) - [select for diffs]
Fri Aug 13 16:14:13 2004 UTC (9 years, 8 months ago) by heller
Branch: MAIN
Changes since 1.221: +4 -3 lines
Diff to previous 1.221
(variable-desc-for-echo-area): Bind some printer variables to limit
the length of the output.

Revision 1.221 - (view) (annotate) - [select for diffs]
Mon Aug 2 05:25:33 2004 UTC (9 years, 8 months ago) by lgorrie
Branch: MAIN
CVS Tags: SLIME-1-0-BETA
Changes since 1.220: +7 -3 lines
Diff to previous 1.220
(with-buffer-syntax): Don't bind *readtable* to *buffer-readtable* if
they are already EQ. When we shadow this binding the user can't assign
*readtable* from the REPL so it's best avoided when possible.

Revision 1.220 - (view) (annotate) - [select for diffs]
Thu Jul 22 16:54:22 2004 UTC (9 years, 8 months ago) by lgorrie
Branch: MAIN
Changes since 1.219: +3 -1 lines
Diff to previous 1.219
(carefully-find-package): Return *BUFFER-PACKAGE* if no other package
can be found. This is reverting a previous change that broke
completion in buffers with no known package.

Revision 1.219 - (view) (annotate) - [select for diffs]
Wed Jul 21 12:31:04 2004 UTC (9 years, 8 months ago) by lgorrie
Branch: MAIN
Changes since 1.218: +1 -0 lines
Diff to previous 1.218
Added a FIXME comment about unwanted interning in symbol lookup.
Does bad things to completion of internal symbols like FOO::BAR.

Revision 1.218 - (view) (annotate) - [select for diffs]
Mon Jul 19 14:09:40 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.217: +176 -176 lines
Diff to previous 1.217
Moved the Evaluation section up above the Debugging section.

Revision 1.217 - (view) (annotate) - [select for diffs]
Sat Jul 17 02:26:02 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.216: +15 -8 lines
Diff to previous 1.216
(variable-desc-for-echo-area): New function.

(arglist-for-echo-area): Return nil if symbol can't be found.

(close-connection): Close connection before printing error
message. This avoids it getting lost in closed I/O redirection.

Revision 1.216 - (view) (annotate) - [select for diffs]
Fri Jul 16 21:38:48 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.215: +12 -13 lines
Diff to previous 1.215
(known-to-emacs-p): Removed filtering of def* and with-*. Now handled
by Emacs.

Revision 1.215 - (view) (annotate) - [select for diffs]
Fri Jul 16 18:12:41 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.214: +6 -1 lines
Diff to previous 1.214
(print-connection): print-function for connection objects. Dumping the
indentation-cache was damned ugly with non-truncated lines (e.g. bug
reports on slime-devel).

Revision 1.214 - (view) (annotate) - [select for diffs]
Thu Jul 15 05:02:32 2004 UTC (9 years, 9 months ago) by pseibel
Branch: MAIN
Changes since 1.213: +1 -1 lines
Diff to previous 1.213
Trying to restore sanity to SLIME's notion of the lisp package.

Revision 1.213 - (view) (annotate) - [select for diffs]
Tue Jul 13 18:14:03 2004 UTC (9 years, 9 months ago) by crhodes
Branch: MAIN
Changes since 1.212: +1 -0 lines
Diff to previous 1.212
Implement actionable references in *slime-compiler-notes*.  Tested with
sbcl-0.8.12 and sbcl CVS head -- I hope I haven't broken things for
non-SBCL users...

(There are some things in this that I think are suboptimal: they have
been marked with FIXMEs.  I lack elispfu in sufficient measure to clean
them up confidently)

Revision 1.212 - (view) (annotate) - [select for diffs]
Mon Jul 12 10:35:22 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.211: +338 -314 lines
Diff to previous 1.211
Added some docstrings.

Rearranged completion code and somewhat SLDB trying to layout
functions above their subfunctions in a tree-like way.

(slime-protocol-error): Renamed from slime-read-error.

(carefully-find-package): Now returns NIL if package can't be
determined, rather than *BUFFER-PACKAGE*. Correct? I didn't see why it
should return *BUFFER-PACKAGE*.

(xref): Find symbol in *BUFFER-PACKAGE*.

Revision 1.211 - (view) (annotate) - [select for diffs]
Fri Jul 9 18:09:18 2004 UTC (9 years, 9 months ago) by pseibel
Branch: MAIN
Changes since 1.210: +30 -6 lines
Diff to previous 1.210
Changing computation of package name used in REPL prompt.

Revision 1.210 - (view) (annotate) - [select for diffs]
Wed Jul 7 15:09:33 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.209: +1 -1 lines
Diff to previous 1.209
From Thomas Schilling:
(arglist-for-insertion): Changed formatting to use
arglist-to-string. That results in proper cases for
slime-insert-arglist.

Revision 1.209 - (view) (annotate) - [select for diffs]
Sun Jul 4 03:21:43 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.208: +1 -0 lines
Diff to previous 1.208
Added a new backend function `buffer-first-change' which is called via
Emacs's `first-change-hook' in slime-mode buffers. This gives Lisp a
chance to do something with source files before you change them on
disk.

Revision 1.208 - (view) (annotate) - [select for diffs]
Sun Jul 4 00:20:36 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.207: +1 -0 lines
Diff to previous 1.207
(open-streams): Call make-stream-interactive on the redirected io
streams.

Revision 1.207 - (view) (annotate) - [select for diffs]
Wed Jun 30 21:06:38 2004 UTC (9 years, 9 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-1-0-ALPHA
Changes since 1.206: +54 -74 lines
Diff to previous 1.206
Minor cleanups.
(find-symbol-designator, find-symbol-or-lose, case-convert-input):
Deleted.  Replaced with calls to parse-symbol{-or-lose}.

Revision 1.206 - (view) (annotate) - [select for diffs]
Tue Jun 29 17:46:58 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.205: +2 -1 lines
Diff to previous 1.205
(open-streams): Renamed the restart around reads from the user-input
stream from ABORT to ABORT-READ. Invoking this restart seems kinda
dangerous, so better for 'a' in SLDB not to do so.

Revision 1.205 - (view) (annotate) - [select for diffs]
Tue Jun 29 08:12:44 2004 UTC (9 years, 9 months ago) by mbaringer
Branch: MAIN
Changes since 1.204: +2 -2 lines
Diff to previous 1.204
2004-06-28  Thomas F. Burdick  <tfb@OCF.Berkeley.EDU>
	* swank.lisp (inspector-nth-part):
	* slime.el (slime-inspector-copy-down, slime-inspector-mode-map):
	Added copy-down command (M-RET) to easily move an object from the
	inspector to the repl.

Revision 1.204 - (view) (annotate) - [select for diffs]
Sun Jun 27 14:58:51 2004 UTC (9 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.203: +48 -84 lines
Diff to previous 1.203
(dispatch-event): Quitting a from the debugger was seriously broken.
Fix it.  Move generation of thread ids to the backends.

Revision 1.203 - (view) (annotate) - [select for diffs]
Fri Jun 25 08:06:39 2004 UTC (9 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.202: +23 -17 lines
Diff to previous 1.202
(inspect-frame-var): New function.

Revision 1.202 - (view) (annotate) - [select for diffs]
Tue Jun 22 08:02:15 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.201: +346 -6 lines
Diff to previous 1.201
Added "fuzzy completion" by Brian Downing.

Revision 1.201 - (view) (annotate) - [select for diffs]
Tue Jun 22 06:24:48 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.200: +3 -0 lines
Diff to previous 1.200
Use `unbound-slot-filler' for unbound inspector slots.

Revision 1.200 - (view) (annotate) - [select for diffs]
Tue Jun 22 05:52:47 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.199: +5 -6 lines
Diff to previous 1.199
(prefixed-var): Intern *REAL-STANDARD-INPUT* etc in the SWANK package
instead of the COMMON-LISP package.

Revision 1.199 - (view) (annotate) - [select for diffs]
Mon Jun 21 07:29:18 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.198: +2 -2 lines
Diff to previous 1.198
Doc fix.

Revision 1.198 - (view) (annotate) - [select for diffs]
Mon Jun 21 06:26:13 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.197: +1 -1 lines
Diff to previous 1.197
Pass user-io to `emacs-connected', not socket-io.

Revision 1.197 - (view) (annotate) - [select for diffs]
Mon Jun 21 06:12:04 2004 UTC (9 years, 9 months ago) by lgorrie
Branch: MAIN
Changes since 1.196: +177 -6 lines
Diff to previous 1.196
(add-hook, run-hook): Moved the hook mechanism and all hooks here
(from swank-backend.lisp). There is no compelling use for backends
yet, I want to pass swank.lisp-internal data structures in the
existing hooks.

(notify-backend-of-connection): Call `emacs-connected' with the
socket-io stream for its argument. Should fix previous breakage where
the connection structure was passed instead.

(*globally-redirect-io*): New configurable: when true the standard
streams are globally redirected to Emacs. That way even
e.g. SERVE-EVENT handlers will print to Emacs. Currently does not
handle standard input -- that is trickier since the Lisp's native REPL
can be trying to read from that.

Revision 1.196 - (view) (annotate) - [select for diffs]
Sun Jun 20 21:33:05 2004 UTC (9 years, 9 months ago) by heller
Branch: MAIN
Changes since 1.195: +4 -3 lines
Diff to previous 1.195
(parse-symbol): Allow strings and symbols as package designators.

Revision 1.195 - (view) (annotate) - [select for diffs]
Sun Jun 20 13:55:16 2004 UTC (9 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.194: +36 -32 lines
Diff to previous 1.194
(guess-buffer-package): Don't signal a continuable error if the
package doesn't exists; that's too annoying.

Revision 1.194 - (view) (annotate) - [select for diffs]
Sun Jun 20 05:47:32 2004 UTC (9 years, 10 months ago) by lgorrie
Branch: MAIN
Changes since 1.193: +213 -202 lines
Diff to previous 1.193
Added some comments and docstrings.

(changelog-date): Removed unneeded function.
(connection-info): No more version field in result.
(package-external-symbols): Removed unused function.
(serve-connection): Call *new-connection-hook*.
(eval-for-emacs): Call *pre-reply-hook*.
(sync-features-to-emacs, sync-indentation-to-emacs): Added to
*pre-reply-hook*.
(cl-package, keyword-package): Now defconstant instead of
defvar. Removed the *'s accordingly.

Revision 1.193 - (view) (annotate) - [select for diffs]
Sat Jun 19 21:07:41 2004 UTC (9 years, 10 months ago) by lgorrie
Branch: MAIN
Changes since 1.192: +2 -2 lines
Diff to previous 1.192
(known-to-emacs-p): Bugfix. Indentation-updates was broken.

Revision 1.192 - (view) (annotate) - [select for diffs]
Wed Jun 16 22:04:09 2004 UTC (9 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.191: +1 -2 lines
Diff to previous 1.191
(emacs-connected): Pass the redirected stream as argument, so that the
OpenMCL backend can add it to CCL::*AUTO-FLUSH-STREAMS*.

Revision 1.191 - (view) (annotate) - [select for diffs]
Wed Jun 16 20:26:58 2004 UTC (9 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.190: +16 -2 lines
Diff to previous 1.190
(*readtable-alist*): Call backend function for initialization.

(eval-for-emacs, guess-buffer-package): Signal a continuable error if
a package name was supplied but no such package exists.  Not sure if
this is better than what we did before (i.e. silently use the current
package).

Revision 1.190 - (view) (annotate) - [select for diffs]
Sat Jun 12 12:21:13 2004 UTC (9 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.189: +8 -5 lines
Diff to previous 1.189
(parse-symbol, parse-package): Handle reader errors.

Revision 1.189 - (view) (annotate) - [select for diffs]
Thu Jun 10 17:51:33 2004 UTC (9 years, 10 months ago) by heller
Branch: MAIN
Changes since 1.188: +177 -110 lines
Diff to previous 1.188
(*readtable-alist*): New configurable.  The keys are package name and
the values readtables.  The readtable will be used to READ code
originating from Emacs buffers in the associated slime-buffer-package.

(drop-thread): Simplified.

(*buffer-readtable*): New variable.

(with-buffer-syntax): New macro.  This should be used for code which
needs to read or prints expressions with reader and printer variables,
in particular *package* and *readtable*, suitable for the Emacs
buffer.

(to-string, format-values-for-echo-area, interactive-eval)
(eval-region, interactive-eval-region, re-evaluate-defvar)
(swank-pprint, pprint-eval, listener-eval, compile-string-for-emacs)
(disassemble-symbol, describe-to-string, describe-symbol)
(describe-function, describe-definition-for-emacs)
(documentation-symbol, init-inspector, inspect-nth-part)
(inspector-pop, inspector-next, describe-inspecte)
(inspect-current-condition): Use it.

(parse-string): Renamed from symbol-from-string.  Make it case
insensitive.

(parse-package): New function.

(eval-for-emacs): Initialize the *buffer-readtable*.

(symbol-indentation): Don't consider symbols in the CL package.  Emacs
already knows how to indent them.

(compile-file-if-needed): Used for REPL shortcut 'compile-and-load'.

Revision 1.188 - (view) (annotate) - [select for diffs]
Tue Jun 8 23:57:57 2004 UTC (9 years, 10 months ago) by lgorrie
Branch: MAIN
Changes since 1.187: +3 -2 lines
Diff to previous 1.187
(debugger-condition-for-emacs): Call new backend functions to add a
`references' list for Emacs.

Revision 1.187 - (view) (annotate) - [select for diffs]
Mon Jun 7 18:27:30 2004 UTC (9 years, 10 months ago) by lgorrie
Branch: MAIN
CVS Tags: SLIME-0-14
Changes since 1.186: +3 -1 lines
Diff to previous 1.186
Wrap EXPORT calls in EVAL-WHEN. Fixes many warnings in ACL.

Revision 1.186 - (view) (annotate) - [select for diffs]
Mon May 10 13:49:22 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.185: +18 -10 lines
Diff to previous 1.185
(from-string): Bind *READ-SUPPRESS* to NIL.

(swank-compiler): Bind a restart to abort compilation but still report
the compiler messages already trapped.

(string-to-package-designator): Function that uses READ to
case-convert package names.

(apropos-list-for-emacs): Use it.

Revision 1.185 - (view) (annotate) - [select for diffs]
Fri May 7 21:10:38 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.184: +2 -1 lines
Diff to previous 1.184
(prin1-to-string-for-emacs): CVS CLISP prints NIL as
|COMMON-LISP|::|NIL| if *print-readably* is true.  Set
*print-readably* to nil for a more Emacs friendly printer syntax.
(arglist-to-string): Ditto.

Revision 1.184 - (view) (annotate) - [select for diffs]
Tue May 4 08:13:19 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.183: +0 -2 lines
Diff to previous 1.183
Remove (declaim (optimize ...)). The side-effect this has on people's
environment seems harmful (I saw someone having trouble on the OpenMCL
list).

Revision 1.183 - (view) (annotate) - [select for diffs]
Fri Apr 30 23:20:05 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.182: +1 -0 lines
Diff to previous 1.182
(list-all-systems-in-central-registry): Use explicit :wild in pathname
for matching (needed in at least SBCL).

Revision 1.182 - (view) (annotate) - [select for diffs]
Fri Apr 30 07:28:23 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.181: +3 -3 lines
Diff to previous 1.181
(symbol-indentation): Oops.  Consider symbols other then 'defmethod'
and use prefix-match-p.

Revision 1.181 - (view) (annotate) - [select for diffs]
Fri Apr 30 06:34:03 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.180: +4 -1 lines
Diff to previous 1.180
(symbol-indentation): Don't infer indentation for symbols starting
with 'def' or 'with-' it's wrong most of the time and Emacs' defaults
are better.

Revision 1.180 - (view) (annotate) - [select for diffs]
Thu Apr 29 19:05:28 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.179: +76 -87 lines
Diff to previous 1.179
(thread-for-evaluation, dispatch-event): Accept :repl-thread as thread
specifier and dispatch evaluation and interrupt request properly.

(repl-thread-eval, repl-eval): Deleted. We do the special casing in
thread-for-evaluation.

Revision 1.179 - (view) (annotate) - [select for diffs]
Wed Apr 28 22:18:06 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-13
Changes since 1.178: +2 -2 lines
Diff to previous 1.178
(arglist-for-insertion): Don't use ~< ..~:@>.  CLISP's pretty printer
can't handle it.

Revision 1.178 - (view) (annotate) - [select for diffs]
Tue Apr 27 22:27:27 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-12
Changes since 1.177: +27 -11 lines
Diff to previous 1.177
(create-server): New keyword based variant to start the server in
background.

(setup-server): Add support to keep the socket open for single-threaded
Lisps.

Revision 1.177 - (view) (annotate) - [select for diffs]
Tue Apr 27 21:24:14 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.176: +2 -9 lines
Diff to previous 1.176
(oneway-eval-string): Removed unused function.

Revision 1.176 - (view) (annotate) - [select for diffs]
Tue Apr 27 17:47:09 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.175: +3 -3 lines
Diff to previous 1.175
(oneway-eval-string): Bind *package* to *buffer-package*.

Revision 1.175 - (view) (annotate) - [select for diffs]
Mon Apr 26 21:59:25 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.174: +3 -1 lines
Diff to previous 1.174
(interactive-eval): Bind *package* to *buffer-package*, so that `C-x
C-e' and related commands evaluate in the expected package.

Revision 1.174 - (view) (annotate) - [select for diffs]
Mon Apr 26 18:38:39 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.173: +7 -7 lines
Diff to previous 1.173
Move definition of `with-io-redirection' above `with-connection' to
avoid a CLISP error. This is really weird.

Revision 1.173 - (view) (annotate) - [select for diffs]
Mon Apr 26 13:20:13 2004 UTC (9 years, 11 months ago) by lgorrie
Branch: MAIN
Changes since 1.172: +54 -7 lines
Diff to previous 1.172
(ed-in-emacs): Avoid mutating the argument.

(spawn-repl-thread): Add a new thread for evaluating REPL
expressions. This same thread is used for all REPL evaluation. This
fixes some issues with variables like * and ** in at least SBCL.

Revision 1.172 - (view) (annotate) - [select for diffs]
Sun Apr 25 06:41:21 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.171: +66 -61 lines
Diff to previous 1.171
(arglist-for-echo-area): Simplified and adapted for the new semantic of
ARGLIST.
(arglist-for-insertion): New separate function.
(read-arglist): Deleted. No longer needed.

Revision 1.171 - (view) (annotate) - [select for diffs]
Thu Apr 22 21:37:50 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.170: +18 -2 lines
Diff to previous 1.170
(list-all-systems-in-central-registry, asdf-central-registry): New functions.

Revision 1.170 - (view) (annotate) - [select for diffs]
Wed Apr 21 21:51:23 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.169: +8 -5 lines
Diff to previous 1.169
(arglist-for-echo-area): New argument to control if the operator name
should be included.

Revision 1.169 - (view) (annotate) - [select for diffs]
Wed Apr 21 18:56:42 2004 UTC (9 years, 11 months ago) by heller
Branch: MAIN
Changes since 1.168: +30 -8 lines
Diff to previous 1.168
Support for regexp based apropos.  From Edi Weitz.

Revision 1.168 - (view) (annotate) - [select for diffs]
Tue Apr 20 22:32:05 2004 UTC (10 years ago) by heller
Branch: MAIN
Changes since 1.167: +7 -3 lines
Diff to previous 1.167
(list-all-package-names): Optionally include nicknames in the
result (From Edi Weitz).

Revision 1.167 - (view) (annotate) - [select for diffs]
Wed Apr 14 18:50:25 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.166: +3 -2 lines
Diff to previous 1.166
(operate-on-system-for-emacs): More generic interface to ASDF.

Revision 1.166 - (view) (annotate) - [select for diffs]
Thu Apr 8 15:26:44 2004 UTC (10 years ago) by mbaringer
Branch: MAIN
Changes since 1.165: +6 -43 lines
Diff to previous 1.165
REPL Shortcuts. See ChangeLog entry 2004-04-08  Marco Baringer

Revision 1.165 - (view) (annotate) - [select for diffs]
Wed Apr 7 16:24:03 2004 UTC (10 years ago) by pseibel
Branch: MAIN
Changes since 1.164: +8 -0 lines
Diff to previous 1.164
Adding swank versions of two missing pretty-printer control variables.

Revision 1.164 - (view) (annotate) - [select for diffs]
Wed Apr 7 10:20:40 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.163: +3 -3 lines
Diff to previous 1.163
*** empty log message ***

Revision 1.163 - (view) (annotate) - [select for diffs]
Wed Apr 7 10:06:13 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.162: +4 -2 lines
Diff to previous 1.162
(find-matching-packages): Add a ":" to the end of package names in
completion.

Revision 1.162 - (view) (annotate) - [select for diffs]
Wed Apr 7 09:53:25 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.161: +11 -1 lines
Diff to previous 1.161
(completion-set): Also complete package names.
(Patch from Sean O'Rourke.)

Revision 1.161 - (view) (annotate) - [select for diffs]
Tue Apr 6 10:42:53 2004 UTC (10 years ago) by mbaringer
Branch: MAIN
Changes since 1.160: +43 -0 lines
Diff to previous 1.160
See ChangeLog entry 2004-04-06  Marco Baringer

Revision 1.160 - (view) (annotate) - [select for diffs]
Tue Apr 6 07:46:00 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.159: +11 -2 lines
Diff to previous 1.159
(macro-indentation): Check that the arglist is well-formed. This works
around a problem with ACL returning arglists that aren't real
lambda-lists.

Revision 1.159 - (view) (annotate) - [select for diffs]
Mon Apr 5 07:44:02 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.158: +1 -1 lines
Diff to previous 1.158
dispatch-event fix for :indentation-update.

Revision 1.158 - (view) (annotate) - [select for diffs]
Mon Apr 5 06:27:35 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.157: +4 -4 lines
Diff to previous 1.157
(*swank-pprint-circle*, *swank-pprint-escape*, *swank-pprint-level*,
*swank,pprint-length*): Fix typo in docstring.

Revision 1.157 - (view) (annotate) - [select for diffs]
Mon Apr 5 06:18:43 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.156: +165 -22 lines
Diff to previous 1.156
(connection): Added slots to track indentation caching.

(*connections*): List of all open connections.  (default-connection):
Function to get a "default" connection. This is intended to support
globally using the debugger hook outside the context of a SLIME
request, which is broken at present.

(with-connection): Don't setup a restart: that must be done
separately.

(sync-state-to-emacs): Call `update-connection-indentation'.

(update-connection-indentation): Automatically discover how to indent
macros and tell Emacs.

Revision 1.156 - (view) (annotate) - [select for diffs]
Tue Mar 30 23:08:31 2004 UTC (10 years ago) by heller
Branch: MAIN
Changes since 1.155: +10 -5 lines
Diff to previous 1.155
(ed-in-emacs): New allowed form for argument.

(pprint-eval-string-in-frame): Apply arguments in proper order.

Revision 1.155 - (view) (annotate) - [select for diffs]
Sat Mar 27 21:14:52 2004 UTC (10 years ago) by heller
Branch: MAIN
Changes since 1.154: +11 -10 lines
Diff to previous 1.154
(*log-io*): New variable.  Bind it to *terminal-io* at load-time, so
we can log to a non-redirected stream.

(disassemble-symbol): Allow generalized function names.

(apropos-symbols): Handle the PACKAGE argument properly to get useful
output for C-c P.

Revision 1.154 - (view) (annotate) - [select for diffs]
Fri Mar 26 13:24:48 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.153: +1 -0 lines
Diff to previous 1.153
(print-arglist): Updated to handle arglists with string elements,
causing arglists for macros to display properly in LW 4.1.

Revision 1.153 - (view) (annotate) - [select for diffs]
Tue Mar 23 21:23:09 2004 UTC (10 years ago) by heller
Branch: MAIN
Changes since 1.152: +74 -72 lines
Diff to previous 1.152
(open-streams, make-output-function): Capture the connection not only
the socket.  This was the streams can be used from unrelated threads.
(create-connection): Factorized.  Initialize the streams after the
connection is created.
(initialize-streams-for-connection, spawn-threads-for-connection): New
functions.

(with-connection): Fix quoting bug and move upwards before first use.

(send-output-to-emacs): Add kludge for SBCL !-package names.

(apropos-list-for-emacs): Lispworks apparently returns duplicates;
remove them.

(inspect-object): Princ the label to allow strings and symbols.

(send-output-to-emacs): Deleted.
(defslimefun-unimplemented): Deleted.  Was unused.

Revision 1.152 - (view) (annotate) - [select for diffs]
Mon Mar 22 13:56:39 2004 UTC (10 years ago) by lgorrie
Branch: MAIN
Changes since 1.151: +9 -5 lines
Diff to previous 1.151
(*communication-style*): New name for *swank-in-background*.

Exported configuration variables: *communication-style*, *log-events*,
*use-dedicated-output-stream*.

Revision 1.151 - (view) (annotate) - [select for diffs]
Fri Mar 19 21:07:35 2004 UTC (10 years, 1 month ago) by lgorrie
Branch: MAIN
Changes since 1.150: +1 -0 lines
Diff to previous 1.150
Take into account `pathname-device' when deriving paths. A fix for
Windows.

Revision 1.150 - (view) (annotate) - [select for diffs]
Thu Mar 18 21:57:14 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.149: +13 -11 lines
Diff to previous 1.149
(format-values-for-echo-area): Bind *package* to *buffer-package*.

(load-system-for-emacs): Renamed from swank-load-system.

(carefully-find-package): Be friendly to case inverting readtables.

(inspect-current-condition): New function.

Revision 1.149 - (view) (annotate) - [select for diffs]
Tue Mar 16 21:17:10 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.148: +104 -48 lines
Diff to previous 1.148
Better symbol completion for case-inverting readtables.
(output-case-converter): New function.
(find-matching-symbols): Case convert the symbol-name before comparing.
(compound-prefix-match, prefix-match-p): Use char= instead of char-equal.

(eval-for-emacs): Renamed from eval-string.  Take a form instead of a string.
(dispatch-event, read-from-socket-io): Update callers.

(eval-region, interactive-eval): Use fresh-line to reset column.

(case-convert-input): Renamed from case-convert.

Revision 1.148 - (view) (annotate) - [select for diffs]
Sat Mar 13 15:34:58 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.147: +26 -10 lines
Diff to previous 1.147
(arglist-for-echo-area): Renamed from arglist-string.
(format-arglist-for-echo-area, arglist-to-string): New functions.

Revision 1.147 - (view) (annotate) - [select for diffs]
Fri Mar 12 21:11:57 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.146: +49 -30 lines
Diff to previous 1.146
(sldb-return-from-frame): Convert the string to a sexp.
(dispatch-event, send-to-socket-io): Allow %apply events.

(safe-condition-message): Bind *pretty-print* to t.

(set-default-directory): Use the truename.

(find-definitions-for-emacs): Allow names like (setf car).

Revision 1.146 - (view) (annotate) - [select for diffs]
Fri Mar 12 05:35:35 2004 UTC (10 years, 1 month ago) by wjenkner
Branch: MAIN
Changes since 1.145: +3 -1 lines
Diff to previous 1.145
(:swank): Export startup-multiprocessing, restart-frame,
return-from-frame.  What about kill-thread and interrupt-thread, which
are accessed as internal symbols?

Revision 1.145 - (view) (annotate) - [select for diffs]
Wed Mar 10 17:10:38 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.144: +0 -3 lines
Diff to previous 1.144
*** empty log message ***

Revision 1.144 - (view) (annotate) - [select for diffs]
Wed Mar 10 17:10:12 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.143: +4 -1 lines
Diff to previous 1.143
Fix test.

Revision 1.143 - (view) (annotate) - [select for diffs]
Wed Mar 10 15:49:34 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.142: +18 -17 lines
Diff to previous 1.142
(print-arglist): Use with-standard-io-syntax to avoid further surprises.

Revision 1.142 - (view) (annotate) - [select for diffs]
Wed Mar 10 15:45:10 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.141: +8 -3 lines
Diff to previous 1.141
(:swank): export profile symbols (profiled-functions, profile-report,
profile-reset, unprofile-all, profile-package).

Revision 1.141 - (view) (annotate) - [select for diffs]
Wed Mar 10 08:23:19 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.140: +16 -21 lines
Diff to previous 1.140
(print-arglist): Bind *pretty-circle* to nil to avoid output like
"(function . (cons))" for (function cons).
(test-print-arglist): Re-enable the tests

(find-definitions-for-emacs): Renamed from find-function-locations.

Revision 1.140 - (view) (annotate) - [select for diffs]
Tue Mar 9 20:41:45 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.139: +2 -2 lines
Diff to previous 1.139
Disable print-arglist tests.

Revision 1.139 - (view) (annotate) - [select for diffs]
Tue Mar 9 19:33:18 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.138: +6 -0 lines
Diff to previous 1.138
Merge remaining stuff.

Revision 1.138 - (view) (annotate) - [select for diffs]
Tue Mar 9 12:46:27 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.137: +182 -73 lines
Diff to previous 1.137
Merge package-split branch into main trunk.

Revision 1.137 - (view) (annotate) - [select for diffs]
Fri Mar 5 22:51:12 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-11
Branch point for: package-split
Changes since 1.136: +8 -9 lines
Diff to previous 1.136
(frame-locals-for-emacs): Bind *print-readably* to nil.

Revision 1.136 - (view) (annotate) - [select for diffs]
Fri Mar 5 14:26:14 2004 UTC (10 years, 1 month ago) by mbaringer
Branch: MAIN
Changes since 1.135: +11 -0 lines
Diff to previous 1.135
See ChangeLog entry 2004-03-05 Marco Baringer

Revision 1.135 - (view) (annotate) - [select for diffs]
Thu Mar 4 22:12:44 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.134: +59 -6 lines
Diff to previous 1.134
(remove-dead-threads): New function.
(lookup-thread): Use it.

(print-arglist): New function. This time without binding pretty
dispatch table.
(format-arglist): Use it.

(inspected-parts): Add method for hash-tables.

Revision 1.134 - (view) (annotate) - [select for diffs]
Wed Mar 3 20:52:40 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.133: +67 -67 lines
Diff to previous 1.133
Use *emacs-connection*, *active-threads*, and *thread-counter* as
thread local dynamic variables.
(init-emacs-connection): Don't set *emacs-connection*.
(create-connection, dispatch-event): Pass the connection object to
newly created threads.
(with-connection): New macro
(handle-request, install-fd-handler, debug-thread): Use it.

Revision 1.133 - (view) (annotate) - [select for diffs]
Wed Mar 3 08:51:24 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.132: +15 -9 lines
Diff to previous 1.132
(setup-server, serve-connection): New dont-close argument to keep the
socket open after the first request.
(start-server, create-swank-server): Update callers.

Revision 1.132 - (view) (annotate) - [select for diffs]
Wed Mar 3 07:18:02 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.131: +14 -8 lines
Diff to previous 1.131
(find-completions): Deleted.
(simple-completions): Use longest-common-prefix instead of
longest-completion.

(inspect-in-frame): Moved here from swank-cmucl.lisp.

Revision 1.131 - (view) (annotate) - [select for diffs]
Mon Mar 1 15:46:27 2004 UTC (10 years, 1 month ago) by mbaringer
Branch: MAIN
Changes since 1.130: +6 -4 lines
Diff to previous 1.130
See ChangeLog entry Marco Baringer 2004-03-01

Revision 1.130 - (view) (annotate) - [select for diffs]
Sun Feb 29 08:59:28 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.129: +60 -66 lines
Diff to previous 1.129
(format-arglist): Don't use custom pprint table.  Didn't work with
CLISP and the behavior was different in SBCL and Lispworks.

(completions): Factorize.
(parse-completion-arguments, format-completion-set,
(completion-set, find-matching-symbols, find-completions): New functions.
(simple-completions): New function.
(prefix-match-p) New function.

Revision 1.129 - (view) (annotate) - [select for diffs]
Sat Feb 28 09:06:50 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.128: +5 -7 lines
Diff to previous 1.128
(*initial-pprint-dispatch-table*, *arglist-pprint-dispatch-table*):
Workaround for bug in CLISP. Don't supply nil as argument to
copy-pprint-dispatch.

(print-cons-argument): Insert a space after the car.

Revision 1.128 - (view) (annotate) - [select for diffs]
Fri Feb 27 12:32:06 2004 UTC (10 years, 1 month ago) by mbaringer
Branch: MAIN
Changes since 1.127: +28 -2 lines
Diff to previous 1.127
See ChangeLog entry "2004-02-27 Macro Baringer"

Revision 1.127 - (view) (annotate) - [select for diffs]
Thu Feb 26 07:13:01 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.126: +2 -1 lines
Diff to previous 1.126
(swank-pprint): Bind *package* to *buffer-package*.

Revision 1.126 - (view) (annotate) - [select for diffs]
Wed Feb 25 20:49:37 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.125: +9 -1 lines
Diff to previous 1.125
(connection-info): New function.

(open-streams): Don't send the :check-protocol-version message.  Now
handled with CONNECTION-INFO.

Revision 1.125 - (view) (annotate) - [select for diffs]
Tue Feb 24 23:27:43 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.124: +31 -4 lines
Diff to previous 1.124
(format-arglist): Use an special pprint-dispatch table.

Revision 1.124 - (view) (annotate) - [select for diffs]
Mon Feb 23 07:21:07 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.123: +3 -2 lines
Diff to previous 1.123
* swank.lisp (format-arglist): Bind *PRINT-PRETTY* to NIL.
(eval-in-emacs): Fix typo in docstring.

* swank-cmucl.lisp (arglist-string): Bind *PRINT-PRETTY* to NIL.

Revision 1.123 - (view) (annotate) - [select for diffs]
Sat Feb 21 16:37:27 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.122: +40 -4 lines
Diff to previous 1.122
(create-connection): Add support for fd-handlers.
(install-fd-handler,  deinstall-fd-handler): New functions.

Revision 1.122 - (view) (annotate) - [select for diffs]
Sat Feb 21 07:35:12 2004 UTC (10 years, 1 month ago) by heller
Branch: MAIN
Changes since 1.121: +13 -12 lines
Diff to previous 1.121
(process-available-input): Move auxiliary function to toplevel.  Test
if the stream is open.
(install-sigio-handler): Handle the first request after installing the
signal handler.

Revision 1.121 - (view) (annotate) - [select for diffs]
Tue Feb 17 21:54:36 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.120: +5 -5 lines
Diff to previous 1.120
(make-compiler-note): Don't send the short-message across the wire if
the slot is nil.

Revision 1.120 - (view) (annotate) - [select for diffs]
Mon Feb 16 21:46:13 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.119: +2 -4 lines
Diff to previous 1.119
(make-compiler-note): Include short-message.

Revision 1.119 - (view) (annotate) - [select for diffs]
Sun Feb 8 19:12:38 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.118: +11 -8 lines
Diff to previous 1.118
(setup-server): Pass loopback-interface to create-socket.
(*loopback-interface*): New parameter.

(sldb-loop): Move send :debug event inside unwind-protect, to avoid
losing :debug-return events.

Revision 1.118 - (view) (annotate) - [select for diffs]
Sun Feb 8 15:37:33 2004 UTC (10 years, 2 months ago) by mbaringer
Branch: MAIN
Changes since 1.117: +17 -8 lines
Diff to previous 1.117
Previous commit left out the files and only changed the ChangeLog, my bad.

Revision 1.117 - (view) (annotate) - [select for diffs]
Sat Feb 7 19:27:09 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.116: +33 -15 lines
Diff to previous 1.116
(dispatch-event): :debug, :debug-condition, :debug-activate events
where all encoded as :debug events, which means the debugger never
worked!  Fix it.  I guess no one uses SLIME with a multithreaded Lisp

(read-user-input-from-emacs): Flush the output for reading.

(sldb-loop): Add a sldb-enter-default-debugger tag, so we can enter
the default debugger by throwing to this it.
(sldb-break-with-default-debugger): Throw to
sldb-enter-default-debugger.

(*thread-list*): New variable.
(list-threads): New function.

Revision 1.116 - (view) (annotate) - [select for diffs]
Sat Feb 7 11:38:03 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.115: +8 -2 lines
Diff to previous 1.115
(undefine-function): New function.

(print-with-frame-label, print-part-to-string): Bind *print-circle* to
t, to avoid unbound recursion when printing cyclic data structures.

Revision 1.115 - (view) (annotate) - [select for diffs]
Wed Feb 4 22:16:54 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.114: +32 -52 lines
Diff to previous 1.114
(sldb-loop, dispatch-event, send-to-socket-io): Send a :debug-activate
event instead of a :debug event (to avoid sending a backtrace each time).

(handle-sldb-condition): Include the thread-id in the message.

Revision 1.114 - (view) (annotate) - [select for diffs]
Mon Feb 2 07:25:40 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.113: +4 -3 lines
Diff to previous 1.113
(simple-break): Bind *debugger-hook* before invoking the debugger.
Fixes bug reported by Michael Livshin.

Revision 1.113 - (view) (annotate) - [select for diffs]
Sat Jan 31 20:17:19 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.112: +26 -17 lines
Diff to previous 1.112
Add more type declarations and detect missing initargs for the connection struct.  Patch by Robert E. Brown.

Revision 1.112 - (view) (annotate) - [select for diffs]
Sat Jan 31 11:50:25 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.111: +340 -238 lines
Diff to previous 1.111
Merge stateless-emacs branch into main trunk.

Revision 1.111 - (view) (annotate) - [select for diffs]
Sat Jan 31 09:02:21 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.110: +25 -7 lines
Diff to previous 1.110
Patch by Robert E. Brown.  Add type declarations to keep SBCL quiet.

Revision 1.110 - (view) (annotate) - [select for diffs]
Thu Jan 29 08:37:57 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.109: +15 -0 lines
Diff to previous 1.109
Profiler support.  Patch by Michael Weber.

Revision 1.109 - (view) (annotate) - [select for diffs]
Fri Jan 23 00:20:39 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
CVS Tags: STATELESS-EMACS
Branch point for: stateless-emacs
Changes since 1.108: +3 -2 lines
Diff to previous 1.108
(set-package): Return the shortest nickname.

Revision 1.108 - (view) (annotate) - [select for diffs]
Thu Jan 22 00:05:21 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.107: +30 -22 lines
Diff to previous 1.107
(completions): Never bind *package* to nil.  That's a type error in
SBCL.

Revision 1.107 - (view) (annotate) - [select for diffs]
Wed Jan 21 23:26:32 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.106: +6 -2 lines
Diff to previous 1.106
(swank-debugger-hook): Flush the output streams and be careful when
accessing *buffer-package*.

Revision 1.106 - (view) (annotate) - [select for diffs]
Wed Jan 21 22:33:45 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.105: +15 -14 lines
Diff to previous 1.105
(create-swank-server): Return the port of the serve socket.

Revision 1.105 - (view) (annotate) - [select for diffs]
Tue Jan 20 23:41:31 2004 UTC (10 years, 2 months ago) by heller
Branch: MAIN
Changes since 1.104: +3 -2 lines
Diff to previous 1.104
(create-swank-server): Take announce-fn as optional argument.

Revision 1.104 - (view) (annotate) - [select for diffs]
Mon Jan 19 20:12:28 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.103: +17 -3 lines
Diff to previous 1.103
(ed-in-emacs): New command with the same interface as CL:ED.

Revision 1.103 - (view) (annotate) - [select for diffs]
Sun Jan 18 07:17:15 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.102: +32 -10 lines
Diff to previous 1.102
(find-symbol-or-lose, format-arglist): New functions.

(without-interrupts): New macro.
(send-to-emacs): Use it.

Revision 1.102 - (view) (annotate) - [select for diffs]
Fri Jan 16 21:49:29 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.101: +102 -1 lines
Diff to previous 1.101
Refactor inspector code.

Revision 1.101 - (view) (annotate) - [select for diffs]
Fri Jan 16 21:28:59 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.100: +21 -12 lines
Diff to previous 1.100
(create-swank-server):  Patch by Marco Baringer <mb@bese.it>.  Bring it
back again.
(create-connection): Use return the dedicated output stream if
available.

Revision 1.100 - (view) (annotate) - [select for diffs]
Fri Jan 16 07:26:13 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.99: +9 -6 lines
Diff to previous 1.99
(changelog-date): Use *compile-file-truename* instead of
*compile-file-pathname*.

(with-I/O-lock, with-a-connection): The usual CLISP fixes.

Revision 1.99 - (view) (annotate) - [select for diffs]
Fri Jan 16 06:50:52 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.98: +1 -1 lines
Diff to previous 1.98
(changelog-date): make-pathname portability fix (from alanr).

(with-io-redirection): Use (current-connection) instead of
*dispatching-connection* (from alanr).

Revision 1.98 - (view) (annotate) - [select for diffs]
Fri Jan 16 06:24:08 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.97: +4 -3 lines
Diff to previous 1.97
(changelog-date): make-pathname portability fix (from alanr).

Revision 1.97 - (view) (annotate) - [select for diffs]
Thu Jan 15 18:17:09 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.96: +35 -16 lines
Diff to previous 1.96
(serve-requests): New function.
(setup-server): Use it.
(start-server): Pass backgroud to setup-server.

(create-connection): Check the protocol version.
(changelog-date): New function.

(make-output-function): Use write-string instead of princ.

Revision 1.96 - (view) (annotate) - [select for diffs]
Thu Jan 15 11:40:50 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.95: +181 -91 lines
Diff to previous 1.95
New support for multiprocessing and multiple connections + commentary.

(with-a-connection): Macro to execute some forms "with a
connection". This is used in the debugger hook to automatically create
a temporary connection if needed (i.e. if the current thread doesn't
already have one).

(open-aux-connection): Helper function to create an extra connection
to Emacs.

Revision 1.95 - (view) (annotate) - [select for diffs]
Tue Jan 13 22:49:34 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.94: +14 -6 lines
Diff to previous 1.94
(*swank-in-background*): New variable.
(start-server): Start swank in background, depending on *swank-in-background*.

Revision 1.94 - (view) (annotate) - [select for diffs]
Tue Jan 13 18:17:48 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.93: +26 -30 lines
Diff to previous 1.93
(start-server, open-dedicated-output-stream &etc): Use new socket functions.

Revision 1.93 - (view) (annotate) - [select for diffs]
Tue Jan 13 04:21:33 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.92: +4 -13 lines
Diff to previous 1.92
Updated for new network interface.

Revision 1.92 - (view) (annotate) - [select for diffs]
Mon Jan 12 05:14:13 2004 UTC (10 years, 3 months ago) by vsedach
Branch: MAIN
Changes since 1.91: +12 -10 lines
Diff to previous 1.91
Changed eval-region back to with-input-from-string style. For slime's
purposes, read-from-string doesn't do the right thing with trailing
whitespace, which is not easy to work around it.

Revision 1.91 - (view) (annotate) - [select for diffs]
Mon Jan 12 04:31:31 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.90: +6 -9 lines
Diff to previous 1.90
Bugfix: moved some specials up to before they're referenced.

Revision 1.90 - (view) (annotate) - [select for diffs]
Mon Jan 12 00:55:21 2004 UTC (10 years, 3 months ago) by lgorrie
Branch: MAIN
Changes since 1.89: +176 -94 lines
Diff to previous 1.89
Taking over previously non-portable jobs:

  (start-server): Now only uses sockets code from the backend.

  (handle-request): Top-level request loop.

  (open-dedicated-output-stream): Dedicated output socket.

  (connection): New data structure that bundles together the things that
  constitute a connection to Emacs: socket-level stream and user-level
  redirected streams.

Revision 1.89 - (view) (annotate) - [select for diffs]
Fri Jan 9 18:51:18 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-10
Changes since 1.88: +12 -11 lines
Diff to previous 1.88
(eval-region): Bind *package* outside the unwind-protect to detect updates.

Revision 1.88 - (view) (annotate) - [select for diffs]
Thu Jan 8 07:02:20 2004 UTC (10 years, 3 months ago) by vsedach
Branch: MAIN
Changes since 1.87: +11 -14 lines
Diff to previous 1.87
Minor update of CLISP backend (streams, portability). eval-region is now do-based (that loop was just waiting to be scratched :).

Revision 1.87 - (view) (annotate) - [select for diffs]
Tue Jan 6 13:42:22 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.86: +12 -2 lines
Diff to previous 1.86
(eval-string): New argument 'id'.  Used to identify the remote
continuation.

(log-event): New debugging function.
(read-from-emacs, send-to-emacs): Use it.

Revision 1.86 - (view) (annotate) - [select for diffs]
Fri Jan 2 18:20:53 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.85: +30 -0 lines
Diff to previous 1.85
(safe-condition-message): New function.
(debugger-condition-for-emacs): Used to be
format-condition-for-emacs in each backend.  Separate the
condition message from the type description.  Update all backends
accordingly.

(print-with-frame-label): New function.

Revision 1.85 - (view) (annotate) - [select for diffs]
Fri Jan 2 07:58:52 2004 UTC (10 years, 3 months ago) by heller
Branch: MAIN
Changes since 1.84: +13 -10 lines
Diff to previous 1.84
(eval-region, tokenize-completion): Modify loops a bit to make CLISP happy.

Revision 1.84 - (view) (annotate) - [select for diffs]
Tue Dec 16 10:07:31 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.83: +21 -0 lines
Diff to previous 1.83
(invoke-nth-restart-for-emacs): Wrapper around INVOKE-NTH-RESTART that
checks that Lisp and Emacs agree on the debug level. This detects and
ignores old restart requests when several are sent at once (possible
because of new oneway-eval feature).

(oneway-eval-string): New function to evaluate a string without
sending a result, and with *DEBUGGER-HOOK* bound to NIL. (The debugger
hook is inhibited to avoid state conflicts.)

Revision 1.83 - (view) (annotate) - [select for diffs]
Mon Dec 15 19:12:37 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.82: +1 -1 lines
Diff to previous 1.82
*start-swank-in-background*: Set to t by default.

Revision 1.82 - (view) (annotate) - [select for diffs]
Mon Dec 15 12:29:13 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.81: +6 -4 lines
Diff to previous 1.81
(send-to-emacs): Put back WITHOUT-INTERRUPTS* -- not sure exactly what
it's for, but I had no actual reason to remove it so I probably broke
something!

Revision 1.81 - (view) (annotate) - [select for diffs]
Mon Dec 15 12:01:20 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.80: +9 -1 lines
Diff to previous 1.80
(eval-region, shortest-package-nickname): Report the shortest package
nickname to Emacs (for the REPL prompt). Patch from Marco Baringer.

Revision 1.80 - (view) (annotate) - [select for diffs]
Mon Dec 15 05:29:10 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.79: +73 -22 lines
Diff to previous 1.79
(*processing-rpc*, *multiprocessing-enabled*, (with-conversation-lock,
with-I/O-lock): New macros.

(read-next-form): Use with-I/O-lock.

(send-to-emacs): Use with-I/O-lock instead of
without-interrupts*. (But should we have without-interrupts* too?)

(swank-debugger-hook): When called asynchronously (i.e. not during
RPC) and multiprocessing is enabled, suspend until acknowleged by
Emacs.

(install-global-debugger-hook): Install a SLIME-DEBUGGER-FUNCTION
globally on *DEBUGGER-HOOK*.

(startup-multiprocessing-for-emacs): Called to initialize multiprocessing.

(eval-string): Dynamically set the *PROCESSING-RPC* flag.

(eval-string): Nasty hack with *DEBUGGER-HOOK-PASSBACK* to install
debugger hook. Temporary, I swear!

Revision 1.79 - (view) (annotate) - [select for diffs]
Sun Dec 14 07:52:31 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.78: +18 -1 lines
Diff to previous 1.78
*start-swank-in-background*, *close-swank-socket-after-setup*,
*use-dedicated-output-stream*: Moved here from swank-cmucl.

(sldb-continue): Don't pass the condition as argument, because that
*doesn't work with Allegro.

(toggle-trace-fdefinition, tracedp): Remove backend specific code with
portable, but ugly, to calls to eval.

Revision 1.78 - (view) (annotate) - [select for diffs]
Thu Dec 11 02:20:30 2003 UTC (10 years, 4 months ago) by dbarlow
Branch: MAIN
Changes since 1.77: +16 -13 lines
Diff to previous 1.77
        * swank.lisp (swank-compiler): new function abstracts commonality
        between swank-compile-{file, string}.
        (swank-load-system): call swank-compiler to load asdf system

Revision 1.77 - (view) (annotate) - [select for diffs]
Wed Dec 10 13:24:27 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-9
Changes since 1.76: +19 -11 lines
Diff to previous 1.76
(start-server): Pass an announce callback function to
create-swank-server.  Works better with single threaded
implementations.
(announce-server-port, simple-announce-function): New functions.
(alistify): Doc fix.

Revision 1.76 - (view) (annotate) - [select for diffs]
Sun Dec 7 23:42:40 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.75: +23 -35 lines
Diff to previous 1.75
(compound-prefix-match): New name and rewritten for speed. Completion
is much faster now.

(*sldb-initial-frames*): Send up to this many (default 20) backtrace
frames to Emacs when entering the debugger.

Revision 1.75 - (view) (annotate) - [select for diffs]
Tue Dec 2 13:56:27 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.74: +7 -6 lines
Diff to previous 1.74
(documentation-symbol): New optional argument for return value if the
symbol is not documented.

Revision 1.74 - (view) (annotate) - [select for diffs]
Sun Nov 30 08:14:28 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.73: +31 -26 lines
Diff to previous 1.73
(group-xrefs): Handle unresolved source locations.
(describe-symbol): Print something sensible about unknown symbols.

Revision 1.73 - (view) (annotate) - [select for diffs]
Sat Nov 29 22:15:00 2003 UTC (10 years, 4 months ago) by dbarlow
Branch: MAIN
Changes since 1.72: +39 -10 lines
Diff to previous 1.72
(slime-debugger-function): New.  Returns a function suitable for use
as the value of *DEBUGGER-HOOK* to install the SLIME debugger
globally.  Must be run from the *slime-repl* buffer or somewhere else
that the slime streams are visible so that it can capture them.
e.g. for Araneida:

      PKG> (setf araneida:*restart-on-handler-errors*
                 (swank:slime-debugger-fucntion))

Revision 1.72 - (view) (annotate) - [select for diffs]
Sat Nov 29 07:53:42 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.71: +67 -16 lines
Diff to previous 1.71
Structure definitions for source-locations.
(alistify, location-position<, group-xrefs): Utilities for xref support.

Revision 1.71 - (view) (annotate) - [select for diffs]
Fri Nov 28 23:28:26 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.70: +10 -6 lines
Diff to previous 1.70
Minor cleanups.

Revision 1.70 - (view) (annotate) - [select for diffs]
Fri Nov 28 20:54:02 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.69: +15 -9 lines
Diff to previous 1.69
Documentation fixes.

Revision 1.69 - (view) (annotate) - [select for diffs]
Fri Nov 28 19:54:15 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.68: +44 -13 lines
Diff to previous 1.68
(longest-completion): Compute the best partial completion for Emacs.
(completions): Use it.

Revision 1.68 - (view) (annotate) - [select for diffs]
Fri Nov 28 12:02:29 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.67: +8 -1 lines
Diff to previous 1.67
(slime-read-string, eval-string): Flush *emacs-io*.
(eval-in-emacs): New function.

Revision 1.67 - (view) (annotate) - [select for diffs]
Thu Nov 27 00:40:35 2003 UTC (10 years, 4 months ago) by heller
Branch: MAIN
Changes since 1.66: +8 -11 lines
Diff to previous 1.66
(briefly-describe-symbol-for-emacs): Don't return unbound symbols.
(load-file): The result of LOAD may be a pathname. Turn it into a
string.
(describe-symbol, describe-function): Support package-qualified strings.

Revision 1.66 - (view) (annotate) - [select for diffs]
Wed Nov 26 23:39:07 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.65: +37 -1 lines
Diff to previous 1.65
(completions): Complete compound symbols.

Revision 1.65 - (view) (annotate) - [select for diffs]
Mon Nov 24 03:23:32 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.64: +1 -1 lines
Diff to previous 1.64
(eval-string-in-frame): Fixed symbol-visibility problem (thanks
Lawrence Mitchell).

Revision 1.64 - (view) (annotate) - [select for diffs]
Sun Nov 23 14:16:42 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.63: +7 -1 lines
Diff to previous 1.63
Updated to use new debugger interfaces in swank-backend.lisp.

Revision 1.63 - (view) (annotate) - [select for diffs]
Sun Nov 23 12:28:43 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.62: +2 -3 lines
Diff to previous 1.62
*** empty log message ***

Revision 1.62 - (view) (annotate) - [select for diffs]
Sun Nov 23 12:14:48 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.61: +137 -81 lines
Diff to previous 1.61
* swank.lisp: Tidied up outline-minor-mode structure, added
comments and docstrings.
(sldb-loop): Took over the main debugger loop.

Revision 1.61 - (view) (annotate) - [select for diffs]
Sun Nov 23 05:00:13 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
Changes since 1.60: +51 -33 lines
Diff to previous 1.60
* swank-sbcl.lisp (describe-symbol-for-emacs): Don't ask for
(documentation SYM 'class), CLHS says there isn't any 'class
documentation (and SBCL warns).

* swank.lisp, swank-cmucl.lisp, swank-sbcl.lisp: Refactored
interface through swank-backend.lisp for: swank-compile-file,
swank-compile-string, describe-symbol-for-emacs (apropos),
macroexpand-all, arglist-string.

* swank-backend.lisp: New file defining the interface between
swank.lisp and the swank-*.lisp implementation files.

Revision 1.60 - (view) (annotate) - [select for diffs]
Sat Nov 22 05:36:59 2003 UTC (10 years, 4 months ago) by lgorrie
Branch: MAIN
CVS Tags: SLIME-0-8
Changes since 1.59: +23 -5 lines
Diff to previous 1.59
(listener-eval): Format results in *buffer-package*.

Exporting (CREATE-SWANK-SERVER <port>). This function can be
called directly to start a swank server, which you can then
connect to with `M-x slime-connect'. It takes a port number as
argument, but this can be zero to use a random available port.
The function always returns the actual port number being used.

Revision 1.59 - (view) (annotate) - [select for diffs]
Wed Nov 19 12:35:47 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.58: +22 -9 lines
Diff to previous 1.58
*sldb-pprint-frames*: New option.

Tweak printing off return values.  Print each value in a separate line
in the REPL buffer and comma separated in the echo-area.  Print
"; No value" for (values).
(format-values-for-echo-area): New function.
(interactive-eval-region,
(swank-pprint, listener-eval): Print each value in separate line.

Revision 1.58 - (view) (annotate) - [select for diffs]
Sun Nov 16 18:07:41 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.57: +14 -13 lines
Diff to previous 1.57
(send-to-emacs): Protect the write operations by a without-interrupts,
so that we don't trash the *cl-connection* buffer with partially
written messages.

Revision 1.57 - (view) (annotate) - [select for diffs]
Thu Nov 13 00:22:01 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.56: +10 -7 lines
Diff to previous 1.56
(swank-pprint): New function.

Revision 1.56 - (view) (annotate) - [select for diffs]
Sat Nov 8 16:59:38 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-7
Changes since 1.55: +6 -5 lines
Diff to previous 1.55
(completions): Use *buffer-package* if no other package is given.
(case-convert): Only accept strings as argument.

Revision 1.55 - (view) (annotate) - [select for diffs]
Tue Nov 4 22:33:31 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.54: +11 -8 lines
Diff to previous 1.54
(slime-read-string): Send a :read-aborted event for non-local exits.
(case-convert): Handle :invert case better.

Revision 1.54 - (view) (annotate) - [select for diffs]
Tue Nov 4 00:03:48 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.53: +5 -4 lines
Diff to previous 1.53
Duh!  I'd better run the test suite _before_ committing.

Revision 1.53 - (view) (annotate) - [select for diffs]
Mon Nov 3 23:20:20 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.52: +34 -6 lines
Diff to previous 1.52
(case-convert, find-symbol-designator): New functions.

Revision 1.52 - (view) (annotate) - [select for diffs]
Sun Nov 2 23:08:03 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.51: +7 -5 lines
Diff to previous 1.51
Input redirection works now on the line level, like a tty.
Output streams are now line buffered.
We no longer compute the backtrace-length.

Revision 1.51 - (view) (annotate) - [select for diffs]
Sun Nov 2 00:55:10 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
Changes since 1.50: +1 -0 lines
Diff to previous 1.50
(eval-string): force-output on *slime-output* before returning the
result. This somewhat works around some trouble where output printed
by lisp is being buffered too long.

Revision 1.50 - (view) (annotate) - [select for diffs]
Sat Nov 1 22:56:06 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
Changes since 1.49: +26 -9 lines
Diff to previous 1.49
(*slime-features*): Variable remembering the FEATURES list.

(sync-state-to-emacs): Update Emacs about any state changes -
currently this just means changes to the FEATURES list.

(eval-string): Call `sync-state-to-emacs' before sending result.

(eval-region): With optional PACKAGE-UPDATE-P, if the evaluation
changes the current package, tell Emacs about the new package.

(listener-eval): Tell `eval-region' to notify Emacs of package
changes, so that e.g. (in-package :swank) does the right thing when
evaluated in the REPL.

Revision 1.49 - (view) (annotate) - [select for diffs]
Sat Nov 1 15:45:10 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.48: +18 -6 lines
Diff to previous 1.48
(slime-read-char): Flush the output before reading.

(eval-region, listener-eval): New functions.
(interactive-eval-region): Use eval-region.

Revision 1.48 - (view) (annotate) - [select for diffs]
Fri Oct 31 19:25:06 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
Changes since 1.47: +3 -1 lines
Diff to previous 1.47
(interactive-eval): Evaluate in *buffer-package*.

Revision 1.47 - (view) (annotate) - [select for diffs]
Fri Oct 31 16:54:31 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.46: +28 -13 lines
Diff to previous 1.46
*read-input-catch-tag*, take-input, slime-read-char: Moved here from
swank-cmucl.lisp.

(defslimefun, defslimefun-unimplemented): Move macro definitions to
the beginning of the file.

Revision 1.46 - (view) (annotate) - [select for diffs]
Wed Oct 29 23:50:13 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
Changes since 1.45: +20 -4 lines
Diff to previous 1.45
slime-read-error: New condition.
(read-next-form): Re-signal the conditions as slime-read-errors.  And
check the result of read-sequence (i.e. detect CMUCL's read-sequence
bug).

(sldb-continue, throw-to-toplevel): Was more or less the same in all
backends.

Revision 1.45 - (view) (annotate) - [select for diffs]
Sat Oct 25 01:54:00 2003 UTC (10 years, 5 months ago) by lgorrie
Branch: MAIN
CVS Tags: BACKHACKATTACK-1, SLIME-0-6
Branch point for: backhackattack-1
Changes since 1.44: +9 -3 lines
Diff to previous 1.44
Changed the connection setup to use a dynamic collision-free TCP
port. The new protocol is this:

  Emacs calls (swank:start-server FILENAME) via the listener. FILENAME
  is /tmp/slime.${emacspid}

  Lisp starts a TCP server on a dynamic available port and writes the
  port number it gets to FILENAME.

  Emacs asynchronously polls for FILENAME's creation. When it exists,
  Emacs reads the port number, deletes the file, and makes the
  connection.

The advantage is that you can run multiple Emacsen each with an
inferior lisp, and the port numbers will never collide and Emacs
will always connect to the right lisp.

All backends are updated, but only CMUCL and SBCL are
tested. Therefore, OpenMCL is almost certainly broken just now.

Revision 1.44 - (view) (annotate) - [select for diffs]
Wed Oct 22 21:04:55 2003 UTC (10 years, 5 months ago) by heller
Branch: MAIN
CVS Tags: SLIME-0-5
Changes since 1.43: +12 -10 lines
Diff to previous 1.43
(read-next-form, send-to-emacs): Assume *emacs-io* is a character
stream. Add the necessary char-code/code-char conversions.

Revision 1.43 - (view) (annotate) - [select for diffs]
Tue Oct 21 10:59:04 2003 UTC (10 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42
Now sorting completions on symbol-name instead of
`present-symbol-before-p'

Revision 1.42 - (view) (annotate) - [select for diffs]
Tue Oct 21 10:47:40 2003 UTC (10 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.41: +27 -28 lines
Diff to previous 1.41
(completions): Fixed semantics: should now consider only/all
completions that would not cause a read-error due to symbol
visibility. Also avoiding duplicates, and sorting the results as with
apropos.

Revision 1.41 - (view) (annotate) - [select for diffs]
Mon Oct 20 17:36:22 2003 UTC (10 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.40: +46 -29 lines
Diff to previous 1.40
(completions): Slight change of semantics: when a prefix-designator is
package-qualified, like "swank:", only match symbols whose
home-package matches the one given - ignore inherited symbols.

Revision 1.40 - (view) (annotate) - [select for diffs]
Mon Oct 20 13:56:50 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.39: +1 -1 lines
Diff to previous 1.39
*** empty log message ***

Revision 1.39 - (view) (annotate) - [select for diffs]
Sun Oct 19 21:39:40 2003 UTC (10 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.38: +9 -2 lines
Diff to previous 1.38
First shoot at input redirection.
*slime-input*, *slime-io*: New variables.

Revision 1.38 - (view) (annotate) - [select for diffs]
Fri Oct 17 21:18:04 2003 UTC (10 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.37: +119 -6 lines
Diff to previous 1.37
Move more stuff to swank.lisp.

Revision 1.37 - (view) (annotate) - [select for diffs]
Fri Oct 17 19:49:05 2003 UTC (10 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36
*** empty log message ***

Revision 1.36 - (view) (annotate) - [select for diffs]
Fri Oct 17 19:09:14 2003 UTC (10 years, 6 months ago) by jbielman
Branch: MAIN
Changes since 1.35: +13 -17 lines
Diff to previous 1.35
Many fixes for the OpenMCL port:

   * swank.lisp (apropos-symbols): Change back to using the standard
   2-argument APROPOS-LIST and check symbols explicitly when
   EXTERNAL-ONLY is true.
   Move loading of sys-dependent backend code into 'swank-loader'.

   * swank-sbcl.lisp: Moved declarations of *PREVIOUS-COMPILER-CONDITION*
   into 'swank.lisp' to kill warnings about undefined variables.

   * swank-openmcl.lisp (handle-compiler-warning): Use source position
   instead of function name for warning locations.
   (swank-compile-string): Compile into a temporary file instead of
   using COMPILE so finding warning positions works when using C-c C-c.
   (compute-backtrace): Don't display frames without a function.
   (apropos-list-for-emacs): Implement APROPOS.
   (who-calls): Implement WHO-CALLS.
   (completions): Implement COMPLETIONS.
   Use NIL instead of zero so FRESH-LINE does the right thing.

   * slime.el (slime-maybe-compile-swank): Removed function---compile
   the backend using 'swank-loader.lisp' instead.
   (slime-backend): Changed default backend to 'slime-loader'.
   (slime-lisp-binary-extension): Deleted as this is no longer needed.

   * swank-loader.lisp: New file.

Revision 1.35 - (view) (annotate) - [select for diffs]
Fri Oct 17 02:08:50 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34
<rtoy_> Ok.  There is a mistake in the local vars part in swank.lisp.
;;; End needs a colon at the end to match the colon on ;;; Local Variables:

Revision 1.34 - (view) (annotate) - [select for diffs]
Fri Oct 17 01:39:02 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.33: +1 -1 lines
Diff to previous 1.33
Fix random typos

Revision 1.33 - (view) (annotate) - [select for diffs]
Thu Oct 16 21:03:57 2003 UTC (10 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32
Fixed braino in previous change.

Revision 1.32 - (view) (annotate) - [select for diffs]
Thu Oct 16 20:05:21 2003 UTC (10 years, 6 months ago) by lgorrie
Branch: MAIN
Changes since 1.31: +3 -0 lines
Diff to previous 1.31
The macro `with-trapping-compiler-notes' is now defined in the
portable code, and expands to a call to the backend-defined
`call-trapping-compiler-notes' with the body wrapped in a lambda. This
is to avoid swank.lisp referring to macros in the backends -- it gets
compiled first so it thinks they're functions.

Revision 1.31 - (view) (annotate) - [select for diffs]
Thu Oct 16 11:08:40 2003 UTC (10 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.30: +13 -12 lines
Diff to previous 1.30
swank::*sysdep-pathname*: Use defparameter so that cmucl loads the fasl file.
(compiler-notes-for-emacs): Got lost during refactoring.

Revision 1.30 - (view) (annotate) - [select for diffs]
Thu Oct 16 02:05:56 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.29: +1 -1 lines
Diff to previous 1.29
silly packaging mistake

Revision 1.29 - (view) (annotate) - [select for diffs]
Wed Oct 15 22:48:30 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.28: +106 -0 lines
Diff to previous 1.28
Third portablizing iteration: more refactoring common bits

pprint-eval set-package *compiler-notes* clear-compiler-notes
*notes-database* clear-note-database features canonicalize-filename
compiler-notes-for-file compiler-notes-for-emacs measure-time-interval
call-with-compilation-hooks
list-all-package-names apropos-symbols print-output-to-string
print-description-to-string describe-symbol describe-function
apply-macro-expander swank-macroexpand-1 swank-macroexpand
disassemble-symbol

Revision 1.28 - (view) (annotate) - [select for diffs]
Wed Oct 15 22:02:49 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.27: +136 -0 lines
Diff to previous 1.27
Second iteration refactoring common bits:

server-port *swank-debug-p* start-server *emacs-io* *slime-output*
read-next-form read-form *redirect-output* read-from-emacs
send-to-emacs prin1-to-string-for-emacs defslimefun *buffer-package*
from-string to-string guess-package-from-string eval-string
interactive-eval defslimefun-unimplemented
*swank-io-package*

Revision 1.27 - (view) (annotate) - [select for diffs]
Wed Oct 15 21:24:33 2003 UTC (10 years, 6 months ago) by dbarlow
Branch: MAIN
Changes since 1.26: +24 -1338 lines
Diff to previous 1.26
First checkin on the way to rearranging the backends.  Rename
swank.lisp to swank-cmucl.lisp, then create new swank.lisp which loads
an appropriate backend according to *features*.

Next, identify common functions in the backends and move them into
swank.lisp

Revision 1.26 - (view) (annotate) - [select for diffs]
Wed Oct 15 17:30:14 2003 UTC (10 years, 6 months ago) by heller
Branch: MAIN
Changes since 1.25: +396 -142 lines
Diff to previous 1.25
*swank-io-package*: Import t and quote.

(prin1-to-string-for-emacs): Use standard-io-syntax.

(*previous-compiler-condition*, *previous-context*,
handle-notification-condition, clear-compiler-notes,
compiler-note-for-emacs, minimal-compiler-note-for-emacs,
severity-for-emacs): Try to deal with error messages without context
info.

(list-callers, list-callees): Find callers by inspecting the constant
pool of code components.

(find-fdefinition, function-debug-info, fdefinition-file,
code-definition-file): Deleted.

Inspector support.

Revision 1.25 - (view) (annotate) - [select for diffs]
Sun Sep 28 22:38:40 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
CVS Tags: SLIME-0-4
Changes since 1.24: +3 -4 lines
Diff to previous 1.24
Minor protocol changes to accomodate slime.el's changes.

Revision 1.24 - (view) (annotate) - [select for diffs]
Sun Sep 28 10:06:57 2003 UTC (10 years, 6 months ago) by ellerh
Branch: MAIN
CVS Tags: SLIME-0-3
Changes since 1.23: +103 -59 lines
Diff to previous 1.23
(getpid, set-package, set-default-directory): New functions.

(slime-out-misc): Don't send empty strings.

(*redirect-output*, read-from-emacs): A new switch to turn output
redirection off. Useful for debugging.

(interactive-eval, interactive-eval-region, pprint-eval,
re-evaluate-defvar): Bind *package* to *buffer-package*.

(with-trapping-compilation-notes): Add a dummy argumetn for better
indentation.
(measure-time-intervall, call-with-compilation-hooks): Measure
compilation time.

(frame-locals): Use di::debug-function-debug-variables instead of
di:ambiguous-debug-variables. Don't access non-valid variables.

Revision 1.23 - (view) (annotate) - [select for diffs]
Sat Sep 27 23:58:11 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
Changes since 1.22: +9 -4 lines
Diff to previous 1.22
(create-swank-server): Bind the listen-socket on the loopback
interface by default, so that remote machines can't connect to the
Swank server.

Revision 1.22 - (view) (annotate) - [select for diffs]
Sat Sep 27 20:28:11 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
Changes since 1.21: +12 -8 lines
Diff to previous 1.21
(with-trapping-compilation-notes): New macro for bindings the handlers
to record compiler notes. Now being used in `compile-string', which I
had broken when removing the compilation hook.

Revision 1.21 - (view) (annotate) - [select for diffs]
Sat Sep 27 17:49:14 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
Changes since 1.20: +93 -141 lines
Diff to previous 1.20
(handle-notification-condition): Rewrote
compiler-note collection. Now it uses lower-level condition
handlers instead of c:*compiler-notification-function*. This way
the error messages are tailored to omit redundant information,
like the filename and original source text (which are displayed
and highlighted in Emacs already). Much nicer.
(sort-contexts-by-source-path): Now sorting xref results by
lexical source-path order, so that you're always jumping in the
same direction.
(*debug-definition-finding*): New variable. You can set this to
true if you want to be popped into the debugger when M-. fails to
find a definition (for debugging the
definition-finding). Otherwise it reports the error to Emacs as a
message, like "Error: SETQ is a special form."

Revision 1.20 - (view) (annotate) - [select for diffs]
Fri Sep 26 19:29:29 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
Changes since 1.19: +14 -7 lines
Diff to previous 1.19
Did a little defensive programming so that asking for the definition
of an unbound function will return nil to Emacs instead of entering
the debugger.

(format-frame-for-emacs): Binding *PRETTY-PRINT* to nil when
formatting frames (due to related change of setting `truncate-lines'
in sldb buffer of slime.el).

Revision 1.19 - (view) (annotate) - [select for diffs]
Wed Sep 24 22:23:08 2003 UTC (10 years, 6 months ago) by ellerh
Branch: MAIN
Changes since 1.18: +47 -12 lines
Diff to previous 1.18
Support for stream redirection.

slime-output-stream: New structure.
(slime-out-misc): New function.
*slime-output*: New variable.
(read-from-emacs): Redirect output to *slime-output*.

(read-form): Bind *package* inside the standard-io-syntax macro.

(eval-string): Read the string with read-form.

(completions): Support for keyword completion.

Revision 1.18 - (view) (annotate) - [select for diffs]
Tue Sep 23 14:35:14 2003 UTC (10 years, 6 months ago) by ellerh
Branch: MAIN
Changes since 1.17: +38 -16 lines
Diff to previous 1.17
(completions): Moved most of the completion code to Lisp.
(string-prefix-p): Be case insensitive.

Revision 1.17 - (view) (annotate) - [select for diffs]
Tue Sep 23 09:54:33 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
Changes since 1.16: +7 -2 lines
Diff to previous 1.16
xref improvements.

Revision 1.16 - (view) (annotate) - [select for diffs]
Mon Sep 22 05:50:08 2003 UTC (10 years, 6 months ago) by lukeg
Branch: MAIN
Changes since 1.15: +77 -7 lines
Diff to previous 1.15
(who-calls, who-references, who-binds, who-sets, who-macroexpands):
New function.

(present-symbol-before-p): Use `*buffer-package*' when checking
accessibility of symbols.

Revision 1.15 - (view) (annotate) - [select for diffs]
Sun Sep 21 20:15:52 2003 UTC (10 years, 6 months ago) by ellerh
Branch: MAIN
Changes since 1.14: +99 -5 lines
Diff to previous 1.14
(print-error-message): Pass all error messages to
*compiler-notification-function*.

Revision 1.14 - (view) (annotate) - [select for diffs]
Sat Sep 20 21:45:24 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
Changes since 1.13: +0 -14 lines
Diff to previous 1.13
Pruned dead/commented function.

Revision 1.13 - (view) (annotate) - [select for diffs]
Sat Sep 20 21:07:33 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
Changes since 1.12: +21 -19 lines
Diff to previous 1.12
(handle-notification): Skipping null notifications. For some reason
CMUCL occasionally calls us with NIL as each argument.

Revision 1.12 - (view) (annotate) - [select for diffs]
Fri Sep 19 20:24:17 2003 UTC (10 years, 7 months ago) by ellerh
Branch: MAIN
Changes since 1.11: +38 -15 lines
Diff to previous 1.11
(interactive-eval-region): New function.

(re-evaluate-defvar): New function.

(compile-defun): Install handler for compiler-errors.

(function-first-code-location): Simplified.

Revision 1.11 - (view) (annotate) - [select for diffs]
Wed Sep 17 20:59:30 2003 UTC (10 years, 7 months ago) by ellerh
Branch: MAIN
Changes since 1.10: +101 -75 lines
Diff to previous 1.10
(read-string, from-string): Renamed read-string to from-string.
(to-string) New function.

(arglist-string): Catch reader errors.

(sldb-loop): Also bind *readstrable*.

Revision 1.10 - (view) (annotate) - [select for diffs]
Tue Sep 16 21:05:57 2003 UTC (10 years, 7 months ago) by ellerh
Branch: MAIN
Changes since 1.9: +158 -32 lines
Diff to previous 1.9
(function-source-location, function-source-location-for-emacs): New
functions to extract source locations from compiled code.
For struct-accessors we try to find the source location of the
corresponding constructor.

(list-all-package-names): New function.

(toggle-trace-fdefinition, tracedp): New functions.

Revision 1.9 - (view) (annotate) - [select for diffs]
Mon Sep 15 22:46:03 2003 UTC (10 years, 7 months ago) by ellerh
Branch: MAIN
Changes since 1.8: +263 -122 lines
Diff to previous 1.8
Moved many CL fragments from slime.el to swank.lisp.

(defslimefun): New macro.

Revision 1.8 - (view) (annotate) - [select for diffs]
Mon Sep 15 02:50:20 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
Changes since 1.7: +44 -16 lines
Diff to previous 1.7
(apropos-list-for-emacs): Hacked the apropos listing to accept more
options and to specially sort results.

Revision 1.7 - (view) (annotate) - [select for diffs]
Sun Sep 14 22:02:29 2003 UTC (10 years, 7 months ago) by ellerh
Branch: MAIN
Changes since 1.6: +138 -95 lines
Diff to previous 1.6
(serve-request, read-next-form): Don't bind any handlers that are
visible in the code we are going to evaluate.

(prin1-to-string-for-emacs): Bind print-readably to t.

(eval-string-async): Renamed to eval-string.

(eval-string): Don't catch reader errors.  Return either OK, ABORTED
or DEBUGGER-HOOK (used to be (CALL-CONTINUATION (OK | ABORT)) and
DEBUGGER-HOOK).

*buffer-package*: New variable.

(read-string): New function.

(sldb-loop): Report unhandled debug-conditions to Emacs.

Revision 1.6 - (view) (annotate) - [select for diffs]
Sat Sep 13 23:05:58 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
Changes since 1.5: +200 -88 lines
Diff to previous 1.5
Debugger from Helmut, new communication protocol.

Revision 1.5 - (view) (annotate) - [select for diffs]
Thu Sep 11 16:08:10 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
Changes since 1.4: +7 -0 lines
Diff to previous 1.4
(symbol-external-p): Put back this function which was lost in a merge.

Revision 1.4 - (view) (annotate) - [select for diffs]
Wed Sep 10 19:33:44 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
Changes since 1.3: +121 -14 lines
Diff to previous 1.3
Large patch from Helmut Eller. Includes: apropos, describe,
compile-defun, fully asynchronous continuation-based wire interface,
interactive evaluation, and more. Very nice :-)

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Sep 8 13:34:01 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
Changes since 1.2: +51 -1 lines
Diff to previous 1.2
(find-fdefinition): Support for finding function/macro definitions for
Emacs.

Revision 1.2 - (view) (annotate) - [select for diffs]
Thu Sep 4 11:41:59 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
Changes since 1.1: +19 -10 lines
Diff to previous 1.1
Completion now works for internal symbols.
i.e. 'package::foo' can be used to complete non-exported symbols.

Some cleanups.

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Sep 4 11:07:27 2003 UTC (10 years, 7 months ago) by lukeg
Branch: MAIN
CVS Tags: SLIME-0-2
Imported from slime-0.2

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5