/[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-1-0: (view) (annotate)
Sticky Tag:

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 (9 years, 11 months 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, 5 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, 5 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