Changeset 2613
- Timestamp:
- 02/24/08 16:50:39 (9 months ago)
- Files:
-
- branches/bos/thirdparty/slime/CVS/Entries (modified) (1 diff)
- branches/bos/thirdparty/slime/ChangeLog (modified) (6 diffs)
- branches/bos/thirdparty/slime/contrib/CVS/Entries (modified) (1 diff)
- branches/bos/thirdparty/slime/contrib/ChangeLog (modified) (1 diff)
- branches/bos/thirdparty/slime/contrib/slime-autodoc.el (modified) (3 diffs)
- branches/bos/thirdparty/slime/contrib/slime-c-p-c.el (modified) (3 diffs)
- branches/bos/thirdparty/slime/contrib/slime-fancy-inspector.el (modified) (1 diff)
- branches/bos/thirdparty/slime/contrib/slime-fancy.el (modified) (1 diff)
- branches/bos/thirdparty/slime/contrib/slime-indentation.el (added)
- branches/bos/thirdparty/slime/contrib/slime-motd.el (added)
- branches/bos/thirdparty/slime/contrib/slime-presentations.el (modified) (4 diffs)
- branches/bos/thirdparty/slime/contrib/slime-typeout-frame.el (modified) (3 diffs)
- branches/bos/thirdparty/slime/contrib/slime-xref-browser.el (modified) (5 diffs)
- branches/bos/thirdparty/slime/contrib/swank-arglists.lisp (modified) (5 diffs)
- branches/bos/thirdparty/slime/contrib/swank-fancy-inspector.lisp (modified) (21 diffs)
- branches/bos/thirdparty/slime/contrib/swank-goo.goo (added)
- branches/bos/thirdparty/slime/contrib/swank-indentation.lisp (added)
- branches/bos/thirdparty/slime/contrib/swank-kawa.scm (added)
- branches/bos/thirdparty/slime/contrib/swank-motd.lisp (added)
- branches/bos/thirdparty/slime/contrib/swank-presentation-streams.lisp (modified) (1 diff)
- branches/bos/thirdparty/slime/contrib/swank-presentations.lisp (modified) (1 diff)
- branches/bos/thirdparty/slime/doc/CVS/Entries (modified) (1 diff)
- branches/bos/thirdparty/slime/doc/slime.texi (modified) (7 diffs)
- branches/bos/thirdparty/slime/slime-autoloads.el (modified) (1 diff)
- branches/bos/thirdparty/slime/slime.el (modified) (45 diffs)
- branches/bos/thirdparty/slime/swank-abcl.lisp (modified) (6 diffs)
- branches/bos/thirdparty/slime/swank-allegro.lisp (modified) (2 diffs)
- branches/bos/thirdparty/slime/swank-backend.lisp (modified) (3 diffs)
- branches/bos/thirdparty/slime/swank-clisp.lisp (modified) (8 diffs)
- branches/bos/thirdparty/slime/swank-cmucl.lisp (modified) (5 diffs)
- branches/bos/thirdparty/slime/swank-corman.lisp (modified) (6 diffs)
- branches/bos/thirdparty/slime/swank-ecl.lisp (modified) (1 diff)
- branches/bos/thirdparty/slime/swank-lispworks.lisp (modified) (2 diffs)
- branches/bos/thirdparty/slime/swank-loader.lisp (modified) (9 diffs)
- branches/bos/thirdparty/slime/swank-openmcl.lisp (modified) (17 diffs)
- branches/bos/thirdparty/slime/swank-sbcl.lisp (modified) (4 diffs)
- branches/bos/thirdparty/slime/swank-scl.lisp (modified) (10 diffs)
- branches/bos/thirdparty/slime/swank-source-path-parser.lisp (modified) (2 diffs)
- branches/bos/thirdparty/slime/swank.asd (modified) (1 diff)
- branches/bos/thirdparty/slime/swank.lisp (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/bos/thirdparty/slime/CVS/Entries
r2350 r2613 1 /.cvsignore/1.5/Sun Apr 8 19:23:57 2007// 2 /ChangeLog/1.1268/Thu Jan 17 05:53:44 2008// 3 /HACKING/1.8/Wed Sep 19 11:08:27 2007// 4 /NEWS/1.9/Tue Nov 27 11:50:13 2007// 5 /PROBLEMS/1.8/Sun Nov 20 23:31:56 2005// 6 /README/1.14/Tue Oct 3 21:49:13 2006// 7 /hyperspec.el/1.11/Thu Dec 7 07:36:54 2006// 8 /metering.lisp/1.4/Fri Apr 1 20:16:35 2005// 9 /mkdist.sh/1.7/Mon Aug 29 20:02:58 2005// 10 /nregex.lisp/1.4/Mon Sep 19 08:20:48 2005// 11 /sbcl-pprint-patch.lisp/1.1/Fri Feb 17 01:30:21 2006// 12 /slime-autoloads.el/1.3/Thu Sep 20 14:59:08 2007// 13 /slime.el/1.892/Mon Jan 14 12:08:44 2008// 14 /swank-abcl.lisp/1.44/Mon Oct 22 08:36:32 2007// 15 /swank-allegro.lisp/1.98/Wed Sep 26 23:15:41 2007// 16 /swank-backend.lisp/1.126/Mon Sep 10 15:39:05 2007// 17 /swank-clisp.lisp/1.64/Thu Aug 23 19:03:37 2007// 18 /swank-cmucl.lisp/1.175/Fri Nov 30 13:10:40 2007// 19 /swank-corman.lisp/1.11/Thu Aug 23 19:03:37 2007// 20 /swank-ecl.lisp/1.10/Sat Dec 22 02:53:58 2007// 21 /swank-gray.lisp/1.10/Wed Apr 12 08:43:55 2006// 22 /swank-lispworks.lisp/1.93/Sat Nov 24 08:18:59 2007// 23 /swank-loader.lisp/1.75/Sat Nov 24 08:18:59 2007// 24 /swank-openmcl.lisp/1.120/Mon Oct 22 08:19:58 2007// 25 /swank-sbcl.lisp/1.187/Thu Jan 17 05:53:44 2008// 26 /swank-scl.lisp/1.14/Sat Dec 22 13:24:49 2007// 27 /swank-source-file-cache.lisp/1.8/Tue Dec 5 13:00:42 2006// 28 /swank-source-path-parser.lisp/1.17/Sun Jun 25 08:33:16 2006// 29 /swank.asd/1.5/Fri Sep 14 12:41:28 2007// 30 /swank.lisp/1.523/Thu Dec 20 10:33:37 2007// 31 /test-all.sh/1.2/Mon Aug 29 20:02:58 2005// 32 /test.sh/1.9/Mon Aug 27 13:16:49 2007// 33 /xref.lisp/1.2/Mon May 17 00:25:24 2004// 34 D 1 D/contrib//// 2 D/doc//// 3 /.cvsignore/1.5/Wed Feb 20 14:30:06 2008// 4 /ChangeLog/1.1303/Sat Feb 23 16:13:01 2008// 5 /HACKING/1.8/Wed Feb 20 14:30:06 2008// 6 /NEWS/1.9/Wed Feb 20 14:30:06 2008// 7 /PROBLEMS/1.8/Wed Feb 20 14:30:06 2008// 8 /README/1.14/Wed Feb 20 14:30:06 2008// 9 /hyperspec.el/1.11/Wed Feb 20 14:30:06 2008// 10 /metering.lisp/1.4/Wed Feb 20 14:30:06 2008// 11 /mkdist.sh/1.7/Wed Feb 20 14:30:06 2008// 12 /nregex.lisp/1.4/Wed Feb 20 14:30:06 2008// 13 /sbcl-pprint-patch.lisp/1.1/Wed Feb 20 14:30:06 2008// 14 /slime-autoloads.el/1.5/Sat Feb 23 16:13:01 2008// 15 /slime.el/1.912/Sat Feb 23 16:13:01 2008// 16 /swank-abcl.lisp/1.48/Sat Feb 23 16:13:01 2008// 17 /swank-allegro.lisp/1.101/Sat Feb 23 16:13:01 2008// 18 /swank-backend.lisp/1.129/Sat Feb 23 16:13:01 2008// 19 /swank-clisp.lisp/1.68/Sat Feb 23 16:13:01 2008// 20 /swank-cmucl.lisp/1.178/Sat Feb 23 16:13:01 2008// 21 /swank-corman.lisp/1.15/Sat Feb 23 16:13:01 2008// 22 /swank-ecl.lisp/1.14/Sat Feb 23 16:13:01 2008// 23 /swank-gray.lisp/1.10/Wed Feb 20 14:30:06 2008// 24 /swank-lispworks.lisp/1.97/Sat Feb 23 16:13:01 2008// 25 /swank-loader.lisp/1.81/Sat Feb 23 16:13:01 2008// 26 /swank-openmcl.lisp/1.124/Sat Feb 23 16:13:01 2008// 27 /swank-sbcl.lisp/1.191/Sat Feb 23 16:13:01 2008// 28 /swank-scl.lisp/1.18/Sat Feb 23 16:13:02 2008// 29 /swank-source-file-cache.lisp/1.8/Wed Feb 20 14:30:06 2008// 30 /swank-source-path-parser.lisp/1.18/Sat Feb 23 16:13:02 2008// 31 /swank.asd/1.6/Sat Feb 23 16:13:02 2008// 32 /swank.lisp/1.535/Sat Feb 23 16:13:02 2008// 33 /test-all.sh/1.2/Wed Feb 20 14:30:06 2008// 34 /test.sh/1.9/Wed Feb 20 14:30:06 2008// 35 /xref.lisp/1.2/Wed Feb 20 14:30:06 2008// branches/bos/thirdparty/slime/ChangeLog
r2350 r2613 1 2008-02-23 Nikodemus Siivola <nikodemus@random-state.net> 2 3 If there is no connection, offer the option to start SLIME. 4 5 * slime.el (slime-connection): Ask and maybe start SLIME. 6 (slime-selector-method: ?r): No need to ask here any more. 7 8 2008-02-23 Helmut Eller <heller@common-lisp.net> 9 10 In the inspector, show one-element lists as list not as pair. 11 12 * swank.lisp (emacs-inspect cons) 13 14 2008-02-23 Zach Beane <xach@xach.com> 15 16 Add customization variable for the `slime-connect' port. 17 18 * slime.el (slime-port): New variable. 19 20 2008-02-22 Mark Evenson <mark.evenson@gmx.at> 21 22 * swank-abcl.lisp (getpid): Return '0' in case of error. 23 Apparently needed bacause $PPID isn't not a standard feature. 24 "[T]his is not a disentanglement from, but a progressive knotting 25 into." 26 27 2008-02-22 Mark Harig <idirectscm@aim.com> 28 29 Fix typos: "contribs" -> "contrib". 30 31 * slime-autoloads.el (slime-setup-contribs): 32 * slime.el (slime-setup): 33 34 2008-02-22 Mark Harig <idirectscm@aim.com> 35 36 Fixes for CLISP 2.44. 37 38 * swank-clisp.lisp (sldb-backtrace, %parse-stack-values): 39 sys::frame-up-1 no longer exists; use sys::frame-up instead. 40 41 2008-02-22 Helmut Eller <heller@common-lisp.net> 42 43 * slime.el (slime-pop-to-location): Slight cleanups. 44 (slime-goto-xref, slime-goto-next-xref): Use it. 45 46 2008-02-22 Helmut Eller <heller@common-lisp.net> 47 48 Remove save-restriction-if-possible. 49 50 * slime.el (save-restriction-if-possible): Deleted. It was only 51 used in one place. 52 (slime-goto-source-location): Obey widen-automatically. 53 (slime-location-offset): New function. 54 55 2008-02-21 Tobias C. Rittweiler <tcr@freebits.de> 56 57 * slime.el (slime-location-to-string): New function. 58 (slime-analyze-xrefs): Use it; display definitions defined 59 interactively via C-c C-c as comming from #<buffer foo.lisp> 60 instead of foo.lisp. 61 62 2008-02-21 Tobias C. Rittweiler <tcr@freebits.de> 63 64 Fix regressions in the `find-definition' test case on SBCL: 65 66 M-. on e.g. SWANK::READ-FROM-EMACS would bring the user to 67 68 (|defun read-from-emacs ...) 69 70 and not 71 72 |(defun read-from-emacs ...) 73 74 * swank-sbcl.lisp (source-file-position): Don't 1+ the returned 75 position; i.e. return a position usable as a CL /file position/ 76 which start from 0, and not a position usable in Emacs where 77 buffer points start from 1. This is important because the return 78 value is passed to SWANK-BACKEND::READ-SNIPPET which invokes 79 CL:FILE-POSITION on it. 80 (make-definition-source-location): Adapted to 1+ the position 81 passed to Emacs, to reflect above change. 82 83 2008-02-20 Helmut Eller <heller@common-lisp.net> 84 85 Better factorization for M-. and xref commands. 86 87 * slime.el (slime-xref): Renamed from slime-definition. 88 (slime-location, slime-location-p): New ADT def. 89 (slime-xref-has-location-p, slime-analyze-xrefs): New functions. 90 This work used to be done on the Lisp side. 91 (slime-pop-to-location): New function. 92 (slime-edit-definition, slime-edit-definition-cont): Simplified. 93 (slime-find-definitions): New function. 94 (slime-goto-definition, slime-goto-definition-other-window) 95 (slime-pop-to-other-window, slime-show-definitions): Deleted. 96 (slime-insert-xrefs): Simplified. 97 (slime-insert-xref-location): Deleted. No need to show the filename 98 twice. 99 100 * swank.lisp (find-definitions-for-emacs, xref): Use common 101 representation for "definitions" and "xrefs". 102 (xref>elisp): New helper. 103 (group-xrefs, alistify, parition, location-position<, xref-position) 104 (xref-buffer, location-valid-p): Deleted. This work is now done on 105 the Emacs side. 106 107 2008-02-20 Helmut Eller <heller@common-lisp.net> 108 109 Emit a warning if the SWANK package already exists. 110 111 * swank-loader.lisp (init): Issue a warning when SWANK will not be 112 reloaded. 113 114 2008-02-18 Helmut Eller <heller@common-lisp.net> 115 116 Minor cleanups for inspector code. 117 118 * swank.lisp (inspector-content, inspect-list-aux): Slight 119 cleanups. 120 121 2008-02-17 Marco Baringer <mb@bese.it> 122 123 * swank.asd: Update for recent changes to swank-loader.lisp, we 124 need to call swank-loader::init after loading. 125 126 2008-02-16 Helmut Eller <heller@common-lisp.net> 127 128 In the REPL, mark the trailing newline also as input. 129 130 * slime.el (slime-repl-send-input): Mark the newline with 131 the 'slime-repl-old-input property. 132 (slime-repl-grab-old-input): Strip the newline. 133 134 2008-02-16 Helmut Eller <heller@common-lisp.net> 135 136 Split loading and initialization (again). 137 138 * swank-loader.lisp (init): New. Delete old packages only if 139 explicitly requested. Also, if the swank package already exists 140 don't load swank again. 141 (setup): New function. 142 143 * swank.lisp (setup): New function. Moved over here from 144 swank-loader.lisp. 145 146 * slime.el (slime-init-command): Call swank-loader:init. 147 148 2008-02-10 Helmut Eller <heller@common-lisp.net> 149 150 Remove remaining traces of make-default-inspector. 151 152 * swank-scl.lisp (make-default-inspector, scl-inspector): Deleted. 153 * swank-lispworks.lisp (make-default-inspector) 154 (lispworks-inspector): Deleted. 155 156 2008-02-09 Helmut Eller <heller@common-lisp.net> 157 158 Drop the first return value of emacs-inspect. 159 160 * swank.lisp (emacs-inspect): Drop the first return value. It 161 wasn't used anymore. Update all methods and callers. 162 163 2008-02-09 Helmut Eller <heller@common-lisp.net> 164 165 Remove obsolete *slime-inspect-contents-limit*. 166 167 * swank.lisp (*slime-inspect-contents-limit*): Deleted and all its 168 uses. The new implementation isn't specific to hash-tables or 169 arrays. 170 171 2008-02-09 Helmut Eller <heller@common-lisp.net> 172 173 Limit the length of the inspector content. 174 That's similar to the limitation of the length of backtraces in 175 the debugger. 176 177 * swank.lisp (*inspectee-content*): New variable. 178 (content-range): New function. 179 (inspect-object): Use it with a length of 1000. 180 (inspector-range): New function. Called from Emacs. 181 182 * slime.el (slime-inspector-insert-content) 183 (slime-inspector-insert-range, slime-inspector-insert-range-button) 184 (slime-inspector-fetch-range): New functions. 185 (slime-inspector-operate-on-point): Handle range-buttons. 186 187 2008-02-09 Helmut Eller <heller@common-lisp.net> 188 189 Make slime-property-bounds more useful. 190 191 * slime.el (slime-property-bounds): Remove special casing for 192 whitespace at the end. 193 (slime-repl-send-input): Don't mark the newline with the 194 slime-repl-old-input property. 195 (sldb-frame-region): Use slime-property-bounds. 196 197 2008-02-09 Helmut Eller <heller@common-lisp.net> 198 199 Inspector cleanups. 200 201 * swank.lisp (emacs-inspect): Renamed from inspect-for-emacs. 202 Changed all method-defs accordingly. 203 (common-seperated-spec, inspector-princ): Moved to 204 swank-fancy-inspector.lisp. 205 (inspector-content): Renamed from inspector-content-for-emacs. 206 (value-part): Renamed from value-part-for-emacs. 207 (action-part): Renamed from action-part-for-emacs. 208 (inspect-list): Renamed from inspect-for-emacs-list. 209 (inspect-list-aux): New. 210 (inspect-cons): Renamed from inspect-for-emacs-simple-cons. 211 (*inspect-length*): Deleted. 212 (inspect-list): Ignore max-length stuff. 213 (inspector-content): Don't allow nil elements. 214 (emacs-inspect array): Make the label of element type more 215 consistent with the others. 216 217 2008-02-09 Helmut Eller <heller@common-lisp.net> 218 219 Cleanup slime-repl-set-package. 220 221 * slime.el (slime-repl-set-package): Make it fit within 80 columns. 222 223 2008-02-05 Marco Baringer <mb@bese.it> 224 225 * slime.el (slime-search-buffer-package): Ask the lisp to read the 226 in-package form so that we properly deal with #+foo and |WHATEVER| 227 package names. 228 (slime-repl-set-package): Only prompt with a default package if 229 the repl's package is different from the current package. 230 231 2008-02-04 Marco Baringer <mb@bese.it> 232 233 * swank-openmcl.lisp (ccl::advise ccl::break): advise the 234 lower-level ccl::cbreak-loop instead of cl:break. 235 (frame-locals): If the value is a value-cell (a closed over value) 236 show the closed over value and not the value cell. 237 (disassemble-frame): add in x86-64 code. 238 239 * slime-autoloads.el (slime-setup-contribs): Add contribs 240 directory to load-path. 241 242 * slime.el (slime-setup): Add contribs directory to load-path. 243 244 * swank-abcl.lisp, swank-allegro.lisp, swank-backend.lisp, 245 swank-clisp.lisp, swank-cmucl.lisp, swank-corman.lisp, 246 swank-ecl.lisp, swank-lispworks.lisp, swank-openmcl.lisp, 247 swank-sbcl.lisp, swank-scl.lisp, swank.lisp, 248 contrib/swank-fancy-inspector.lisp: Remove second argument from 249 swank:inspect-for-emacs. This functionality, choosing an inspector 250 at runtime, was never actually used and is, now, needless 251 complexity. 252 253 2008-02-04 Helmut Eller <heller@common-lisp.net> 254 255 Simpler code to bind 0-9 in the debugger. 256 257 * slime.el (sldb-mode-map): When binding the keys 0-9, use eval 258 instead of two macros. 259 260 2008-02-04 Helmut Eller <heller@common-lisp.net> 261 262 Move some functions to swank-arglist.lisp. 263 264 * swank.lisp (length=, ensure-list, recursively-empty-p) 265 (maybecall, exactly-one-p, read-softly-from-string) 266 (unintern-in-home-package, valid-function-name-p): Moved to 267 contrib/swank-arglist.lisp. 268 269 2008-02-03 Marco Baringer <mb@bese.it> 270 271 * swank.lisp (*sldb-condition-printer*): New variable. 272 (safe-condition-message): Use the current binding 273 of *sldb-condition-printer* to print the condition to a string. 274 275 * slime.el (sldb-invoke-restart-by-name): New function. Invokes a 276 restart by name, uses completion to read restart's name. 277 (slime-define-keys sldb-mode-map): Bind 278 sldb-invoke-restart-by-name to I in sldb buffers. 279 280 * swank-loader.lisp: When loading swank delete all swank packages 281 first. This protects the lisp from broken reloads of swank. Leave 282 the swank-loader package so that users can set *fasl-directory* 283 and *source-directory* as per the documentation. 284 (lisp-version-string): On openmcl use the full 285 cl:lisp-implementation-version, ccl::*openmcl-major-version* and 286 ccl::*openmcl-minor-version* aren't sufficently precise to notice 287 changes in openmcl's cvs. 288 289 2008-01-27 Helmut Eller <heller@common-lisp.net> 290 291 Make it easier to start a non-default Lisp from ELisp code. 292 293 * slime.el (slime): If the argument is a symbol start the 294 corresponding entry in slime-lisp-implementations. 295 Typical use is something like: 296 (defun cmucl () (interactive) (slime 'cmucl)) 297 298 2008-01-22 Luís Oliveira <loliveira@common-lisp.net> 299 300 * swank-source-path-parser.lisp (make-source-recording-readtable): 301 don't suppress the #. reader macro. 302 (read-and-record-source-map): don't bind *read-eval* to nil. 303 (suppress-sharp-dot): unused, delete it. 304 305 * slime.el (test compile-defun): test with #+#.'(:and). 306 307 2008-01-21 Helmut Eller <heller@common-lisp.net> 308 309 * slime.el (sldb-mode): Don't throw to toplevel in the 310 kill-buffer-hook, since the buffer can be killed for other reasons 311 too. 312 (test break): Test BREAK and CONTINUE in a loop. 313 (slime-wait-condition): Display the current time. 314 315 2008-01-20 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de> 316 317 New hooks that allow the slime-presentations contrib to hook 318 into the debugger and inspector. 319 320 * slime.el (sldb-insert-frame-variable-value-function): New 321 variable. 322 (sldb-insert-frame-variable-value): New function, default value 323 for sldb-insert-frame-variable-value-function. 324 (sldb-insert-locals): Use it here. 325 326 * slime.el (slime-inspector-insert-ispec-function): New variable. 327 (slime-open-inspector): Use it here. 328 329 2008-01-20 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de> 330 331 * doc/slime.texi (Presentations): Improve documentation of 332 presentations. 333 334 2008-01-19 Geo Carncross <geocar@gmail.com> 335 336 * swank-ecl.lisp (inspect-for-emacs): Make ECL inspection better; 337 should be able to handle all builtin types and CLOS objects now. 338 1 339 2008-01-17 Nikodemus Siivola <nikodemus@random-state.net> 2 340 … … 71 409 * swank.lisp (read-softly-from-string): Now actually returns all 72 410 three values as explained in its docstring. 73 411 74 412 2007-12-14 Tobias C. Rittweiler <tcr@freebits.de> 75 413 … … 2685 3023 (slime-repl-next-input-starting-with-current-input): New functions, 2686 3024 work like the old slime-repl-previous-input / next-input. 2687 (slime-repl-matching-input-regexp): Restore old version. 3025 (slime-repl-matching-input-regexp): Restore old version. 2688 3026 (slime-repl-mode-map): Bind s-r-p-i-s-w-c-i and s-r-n-i-s-w-c-i 2689 3027 to M-p and M-n respectively. slime-repl-previous-input and 2690 3028 slime-repl-next-input are still accessible with C-up / C-down. 2691 3029 2692 3030 2006-11-25 Helmut Eller <heller@common-lisp.net> 2693 3031 2694 3032 * slime.el (slime-repl-read-break): Use a :emacs-interrupt message 2695 instead of a RPC to swank:simple-break. Suggested by Taylor R 3033 instead of a RPC to swank:simple-break. Suggested by Taylor R. 2696 3034 Campbell. 2697 3035 … … 3238 3576 time zones. 3239 3577 3240 2006-09-13 Taylor R Campbell <campbell@mumble.net>3578 2006-09-13 Taylor R. Campbell <campbell@mumble.net> 3241 3579 3242 3580 * slime.el (slime-init-output-buffer): Initial directory and … … 3423 3761 3424 3762 * slime.el (slime-thread-quit): Call swank:quit-thread-browser. 3425 Reported by Taylor R Campbell.3763 Reported by Taylor R. Campbell. 3426 3764 3427 3765 2006-07-28 Willem Broekema <metawilm@gmail.com> … … 4780 5118 * slime.el (slime48): New command. 4781 5119 4782 2005-09-19 Taylor Campbell <campbell@mumble.net>5120 2005-09-19 Taylor R. Campbell <campbell@mumble.net> 4783 5121 4784 5122 * swank-scheme48/: New backend. branches/bos/thirdparty/slime/contrib/CVS/Entries
r2350 r2613 1 /ChangeLog/1.78/Fri Jan 11 13:06:45 2008// 2 /README/1.3/Fri Sep 28 13:05:44 2007// 3 /bridge.el/1.1/Wed Sep 19 11:47:03 2007// 4 /inferior-slime.el/1.2/Mon Sep 10 21:44:48 2007// 5 /slime-asdf.el/1.3/Fri Sep 21 12:44:13 2007// 6 /slime-autodoc.el/1.5/Mon Oct 1 13:37:10 2007// 7 /slime-banner.el/1.4/Thu Sep 20 14:55:53 2007// 8 /slime-c-p-c.el/1.8/Thu Sep 20 14:55:53 2007// 9 /slime-editing-commands.el/1.6/Thu Jan 10 15:32:08 2008// 10 /slime-fancy-inspector.el/1.2/Thu Sep 20 14:55:53 2007// 11 /slime-fancy.el/1.4/Fri Sep 28 13:05:35 2007// 12 /slime-fuzzy.el/1.6/Thu Jan 10 00:39:19 2008// 13 /slime-highlight-edits.el/1.3/Thu Sep 20 14:55:53 2007// 14 /slime-parse.el/1.10/Thu Jan 10 20:00:04 2008// 15 /slime-presentation-streams.el/1.2/Tue Aug 28 08:25:12 2007// 16 /slime-presentations.el/1.11/Fri Jan 11 13:06:35 2008// 17 /slime-references.el/1.4/Thu Sep 20 14:55:53 2007// 18 /slime-scheme.el/1.1/Wed Jan 9 18:30:26 2008// 19 /slime-scratch.el/1.4/Thu Sep 20 14:55:53 2007// 20 /slime-tramp.el/1.2/Tue Sep 4 10:18:44 2007// 21 /slime-typeout-frame.el/1.5/Mon Oct 1 11:50:06 2007// 22 /slime-xref-browser.el/1.1/Fri Aug 24 14:47:11 2007// 23 /swank-arglists.lisp/1.18/Thu Jan 10 20:00:17 2008// 24 /swank-asdf.lisp/1.1/Tue Sep 4 10:32:07 2007// 25 /swank-c-p-c.lisp/1.2/Wed Sep 5 19:35:35 2007// 26 /swank-fancy-inspector.lisp/1.5/Tue Nov 20 21:29:41 2007// 27 /swank-fuzzy.lisp/1.7/Thu Jan 10 00:39:37 2008// 28 /swank-listener-hooks.lisp/1.1/Tue Aug 28 13:53:02 2007// 29 /swank-presentation-streams.lisp/1.4/Tue Aug 28 16:26:32 2007// 30 /swank-presentations.lisp/1.4/Tue Sep 4 09:49:10 2007// 1 /ChangeLog/1.94/Sat Feb 23 16:13:02 2008// 2 /README/1.3/Wed Feb 20 14:30:06 2008// 3 /bridge.el/1.1/Wed Feb 20 14:30:06 2008// 4 /inferior-slime.el/1.2/Wed Feb 20 14:30:06 2008// 5 /slime-asdf.el/1.3/Wed Feb 20 14:30:06 2008// 6 /slime-autodoc.el/1.7/Sat Feb 23 16:13:02 2008// 7 /slime-banner.el/1.4/Wed Feb 20 14:30:06 2008// 8 /slime-c-p-c.el/1.9/Sat Feb 23 16:13:02 2008// 9 /slime-editing-commands.el/1.6/Wed Feb 20 14:30:06 2008// 10 /slime-fancy-inspector.el/1.3/Sat Feb 23 16:13:02 2008// 11 /slime-fancy.el/1.5/Sat Feb 23 16:13:02 2008// 12 /slime-fuzzy.el/1.6/Wed Feb 20 14:30:06 2008// 13 /slime-highlight-edits.el/1.3/Wed Feb 20 14:30:06 2008// 14 /slime-indentation.el/1.1/Sun Feb 3 18:45:14 2008// 15 /slime-motd.el/1.1/Sun Feb 3 18:39:23 2008// 16 /slime-parse.el/1.10/Wed Feb 20 14:30:06 2008// 17 /slime-presentation-streams.el/1.2/Wed Feb 20 14:30:06 2008// 18 /slime-presentations.el/1.13/Sat Feb 23 16:13:02 2008// 19 /slime-references.el/1.4/Wed Feb 20 14:30:06 2008// 20 /slime-scheme.el/1.1/Wed Feb 20 14:30:06 2008// 21 /slime-scratch.el/1.4/Wed Feb 20 14:30:06 2008// 22 /slime-tramp.el/1.2/Wed Feb 20 14:30:06 2008// 23 /slime-typeout-frame.el/1.6/Sat Feb 23 16:13:02 2008// 24 /slime-xref-browser.el/1.2/Sat Feb 23 16:13:02 2008// 25 /swank-arglists.lisp/1.20/Sat Feb 23 16:13:02 2008// 26 /swank-asdf.lisp/1.1/Wed Feb 20 14:30:06 2008// 27 /swank-c-p-c.lisp/1.2/Wed Feb 20 14:30:06 2008// 28 /swank-fancy-inspector.lisp/1.11/Sat Feb 23 16:13:02 2008// 29 /swank-fuzzy.lisp/1.7/Wed Feb 20 14:30:06 2008// 30 /swank-goo.goo/1.1/Sat Jan 19 14:08:27 2008// 31 /swank-indentation.lisp/1.1/Sun Feb 3 18:45:14 2008// 32 /swank-kawa.scm/1.2/Wed Feb 20 22:05:24 2008// 33 /swank-listener-hooks.lisp/1.1/Wed Feb 20 14:30:06 2008// 34 /swank-motd.lisp/1.1/Sun Feb 3 18:39:23 2008// 35 /swank-presentation-streams.lisp/1.5/Sat Feb 23 16:13:03 2008// 36 /swank-presentations.lisp/1.5/Sat Feb 23 16:13:03 2008// 31 37 D branches/bos/thirdparty/slime/contrib/ChangeLog
r2350 r2613 1 2008-02-21 Tobias C. Rittweiler <tcr@freebits.de> 2 3 Having the `slime-presentations' contrib enabled, (princ 10) 4 resulted in "1010" rather than "10\n10". (This also caused a 5 regression in the `repl-test' test case.) 6 7 * swank-presentations.lisp (present-repl-results): Emit fresh-line 8 as the original SEND-REPL-RESULTS-TO-EMACS does. 9 10 2008-02-18 Helmut Eller <heller@common-lisp.net> 11 12 Update Kawa backend to the changed inspector protocol. 13 14 * swank-kawa.scm (inspect-object): Return a list (content len 15 start end). 16 (<inspector-state>): New field: content. 17 (content-range, subseq): New functions. 18 19 2008-02-15 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de> 20 21 * slime-presentations.el (slime-previous-presentation) 22 (slime-next-presentation): Accept a standard prefix argument. 23 24 2008-02-13 Helmut Eller <heller@common-lisp.net> 25 26 * slime-c-p-c.el (slime-c-p-c-init): Use slime-require instead of 27 a connected-hook. 28 29 2008-02-13 Helmut Eller <heller@common-lisp.net> 30 31 Track tree-widget change: :dynarg is now called :expander. 32 33 * slime-xref-browser.el (slime-expand-class-node) 34 (slime-browse-classes, slime-expand-xrefs, slime-browse-xrefs): 35 :dynargs is obsolete, it is now called :expander. 36 37 2008-02-10 Helmut Eller <heller@common-lisp.net> 38 39 Fix some bugs introduced by the recent reorganization. 40 41 * swank-fancy-inspector.lisp (emacs-inspect pathname): Fix it 42 again. 43 44 * slime-fancy-inspector.el: Use slime-require. 45 46 * slime-fancy.el: slime-fancy-inspector-init no longer exists, so 47 don't call it. Once loaded, it's also no longer possible to turn 48 the fancy inspector off. 49 50 2008-02-04 Marco Baringer <mb@bese.it> 51 52 * swank-presentation-streams.lisp (presenting-object-1): Add 53 declare special *record-repl-results* to silence compiler 54 warnings. 55 56 * swank-arglists.lisp (arglist-dispatch): Specialize operator-type 57 so openmcl doesn't warn about unused arguments. 58 (arglist-dispatch): add declare ignore form. 59 60 2008-02-04 Helmut Eller <heller@common-lisp.net> 61 62 Move some functions to swank-arglist.lisp. 63 64 * swank-arglist.lisp (length=, ensure-list, recursively-empty-p) 65 (maybecall, exactly-one-p, read-softly-from-string) 66 (unintern-in-home-package, valid-function-name-p): Moved from 67 swank.lisp. to contrib/swank-arglist.lisp. 68 69 2008-02-03 Marco Baringer <mb@bese.it> 70 71 * swank-motd.lisp, slime-motd.el: Message Of The Day printing for 72 slime. 73 74 * slime-indentation.el: Integrate cl-indent.el into slime's 75 contrib infrastructure. Fix bug in &rest. 76 77 * swank-indentation.lisp: Allow an application runnig under slime 78 to update emacs' indentation notes. 79 80 2008-01-27 Helmut Eller <heller@common-lisp.net> 81 82 Make autodoc use the correct width of the typeout-window. 83 84 * slime-autodoc.el (slime-autodoc-dimensions-function): New 85 variable. 86 (slime-autodoc-message-dimensions): Use it. 87 88 * slime-typeout-frame.el (slime-typeout-autodoc-dimensions): New 89 function. 90 (slime-typeout-frame-init): Use it. 91 92 2008-01-27 Helmut Eller <heller@common-lisp.net> 93 94 Use slime-require instead of a connected-hook. 95 96 * slime-autodoc.el (slime-autodoc-on-connect): Deleted. 97 98 2008-01-20 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de> 99 100 Hook presentations into debugger and inspector, restoring 101 features that were removed on 2007-08-27. 102 103 * slime-presentations.el (slime-presentation-add-easy-menu): 104 Install presentation menu also in the debugger and inspector. 105 (slime-presentation-inspector-insert-ispec): New. 106 (slime-presentation-sldb-insert-frame-variable-value): New. 107 (slime-presentations-init): Install these functions as 108 slime-inspector-insert-ispec-function and 109 sldb-insert-frame-variable-value-function. 110 111 2008-01-19 Helmut Eller <heller@common-lisp.net> 112 113 * swank-goo.goo: New file. 114 * swank-kawa.scm: New file. 115 1 116 2008-01-11 Stelian Ionescu <sionescu@common-lisp.net> 2 117 branches/bos/thirdparty/slime/contrib/slime-autodoc.el
r2350 r2613 117 117 (message "%s" doc)) 118 118 119 (defvar slime-autodoc-dimensions-function nil) 120 119 121 (defun slime-autodoc-message-dimensions () 120 122 "Return the available width and height for pretty printing autodoc 121 123 messages." 122 124 (cond 125 (slime-autodoc-dimensions-function 126 (funcall slime-autodoc-dimensions-function)) 123 127 (slime-autodoc-use-multiline-p 124 128 ;; Use the full width of the minibuffer; … … 254 258 (defun slime-autodoc-init () 255 259 (setq slime-echo-arglist-function 'slime-autodoc) 256 (add-hook 'slime-connected-hook 'slime-autodoc-on-connect)257 260 (dolist (h '(slime-mode-hook slime-repl-mode-hook sldb-mode-hook)) 258 261 (add-hook h 'slime-autodoc-maybe-enable))) 259 260 (defun slime-autodoc-on-connect ()261 (slime-eval-async '(swank:swank-require :swank-arglists)))262 262 263 263 (defun slime-autodoc-maybe-enable () … … 267 267 (defun slime-autodoc-unload () 268 268 (setq slime-echo-arglist-function 'slime-show-arglist) 269 (remove-hook 'slime-connected-hook 'slime-autodoc-on-connect)270 269 (dolist (h '(slime-mode-hook slime-repl-mode-hook sldb-mode-hook)) 271 270 (remove-hook h 'slime-autodoc-maybe-enable))) 272 271 272 (slime-require :swank-arglists) 273 273 274 (provide 'slime-autodoc) branches/bos/thirdparty/slime/contrib/slime-c-p-c.el
r2350 r2613 14 14 ;; 15 15 ;; (add-to-list 'load-path "<directory-of-this-file>") 16 ;; ( add-hook 'slime-load-hook (lambda () (require 'slime-c-p-c)))16 ;; (slime-setup '(slime-c-p-c ... possibly other packages ...)) 17 17 ;; 18 18 … … 178 178 179 179 (defun slime-c-p-c-init () 180 (slime-require :swank-arglists) 180 181 ;; save current state for unload 181 182 (push … … 189 190 slime-c-p-c-init-undo-stack) 190 191 (setq slime-complete-symbol-function 'slime-complete-symbol*) 191 (add-hook 'slime-connected-hook 'slime-c-p-c-on-connect)192 192 (define-key slime-mode-map "\C-c\C-s" 'slime-complete-form) 193 193 (define-key slime-repl-mode-map "\C-c\C-s" 'slime-complete-form)) 194 195 (defun slime-c-p-c-on-connect ()196 (slime-eval-async '(swank:swank-require :swank-arglists)))197 194 198 195 (defun slime-c-p-c-unload () branches/bos/thirdparty/slime/contrib/slime-fancy-inspector.el
r2350 r2613 4 4 ;; License: GNU GPL (same license as Emacs) 5 5 ;; 6 ;;; Installation7 ;;8 ;; Add this to your .emacs:9 ;;10 ;; (add-to-list 'load-path "<directory-of-this-file>")11 ;; (add-hook 'slime-load-hook (lambda () (require 'slime-fancy-inspector)))12 ;; (add-hook 'slime-connected-hook 'slime-install-fancy-inspector)13 6 14 (defun slime-install-fancy-inspector () 15 (slime-eval-async '(swank:swank-require :swank-fancy-inspector) 16 (lambda (_) 17 (slime-eval-async '(swank:fancy-inspector-init))))) 18 19 (defun slime-deinstall-fancy-inspector () 20 (slime-eval-async '(swank:fancy-inspector-unload))) 21 22 (defun slime-fancy-inspector-init () 23 (add-hook 'slime-connected-hook 'slime-install-fancy-inspector)) 24 25 (defun slime-fancy-inspector-unload () 26 (remove-hook 'slime-connected-hook 'slime-install-fancy-inspector)) 7 (slime-require :swank-fancy-inspector) 27 8 28 9 (provide 'slime-fancy-inspector) branches/bos/thirdparty/slime/contrib/slime-fancy.el
r2350 r2613 32 32 (slime-editing-commands-init) 33 33 34 ;; Makes the inspector fancier. 34 ;; Makes the inspector fancier. (Once loaded, can't be turned off.) 35 35 (require 'slime-fancy-inspector) 36 (slime-fancy-inspector-init)37 36 38 37 ;; Just adds the command C-c M-i. We do not make fuzzy completion the branches/bos/thirdparty/slime/contrib/slime-presentations.el
r2350 r2613 480 480 (push-mark end nil t))) 481 481 482 (defun slime-previous-presentation () 483 "Move point to the beginning of the first presentation before point." 484 (interactive) 485 ;; First skip outside the current surrounding presentation (if any) 486 (multiple-value-bind (presentation start end) 487 (slime-presentation-around-point (point)) 488 (when presentation 489 (goto-char start))) 490 (let ((p (previous-single-property-change (point) 'slime-repl-presentation))) 491 (unless p 492 (error "No previous presentation")) 493 (multiple-value-bind (presentation start end) 494 (slime-presentation-around-or-before-point-or-error p) 495 (goto-char start)))) 496 497 (defun slime-next-presentation () 498 "Move point to the beginning of the next presentation after point." 499 (interactive) 500 ;; First skip outside the current surrounding presentation (if any) 501 (multiple-value-bind (presentation start end) 502 (slime-presentation-around-point (point)) 503 (when presentation 504 (goto-char end))) 505 (let ((p (next-single-property-change (point) 'slime-repl-presentation))) 506 (unless p 507 (error "No next presentation")) 508 (multiple-value-bind (presentation start end) 509 (slime-presentation-around-or-before-point-or-error p) 510 (goto-char start)))) 482 (defun slime-previous-presentation (&optional arg) 483 "Move point to the beginning of the first presentation before point. 484 With ARG, do this that many times. 485 A negative argument means move forward instead." 486 (interactive "p") 487 (unless arg (setq arg 1)) 488 (slime-next-presentation (- arg))) 489 490 (defun slime-next-presentation (&optional arg) 491 "Move point to the beginning of the next presentation after point. 492 With ARG, do this that many times. 493 A negative argument means move backward instead." 494 (interactive "p") 495 (unless arg (setq arg 1)) 496 (cond 497 ((plusp arg) 498 (dotimes (i arg) 499 ;; First skip outside the current surrounding presentation (if any) 500 (multiple-value-bind (presentation start end) 501 (slime-presentation-around-point (point)) 502 (when presentation 503 (goto-char end))) 504 (let ((p (next-single-property-change (point) 'slime-repl-presentation))) 505 (unless p 506 (error "No next presentation")) 507 (multiple-value-bind (presentation start end) 508 (slime-presentation-around-or-before-point-or-error p) 509 (goto-char start))))) 510 ((minusp arg) 511 (dotimes (i (- arg)) 512 ;; First skip outside the current surrounding presentation (if any) 513 (multiple-value-bind (presentation start end) 514 (slime-presentation-around-point (point)) 515 (when presentation 516 (goto-char start))) 517 (let ((p (previous-single-property-change (point) 'slime-repl-presentation))) 518 (unless p 519 (error "No previous presentation")) 520 (multiple-value-bind (presentation start end) 521 (slime-presentation-around-or-before-point-or-error p) 522 (goto-char start))))))) 511 523 512 524 (defvar slime-presentation-map (make-sparse-keymap)) … … 685 697 (easy-menu-define menubar-slime-presentation slime-repl-mode-map "Presentations" slime-presentation-easy-menu) 686 698 (easy-menu-define menubar-slime-presentation sldb-mode-map "Presentations" slime-presentation-easy-menu) 699 (easy-menu-define menubar-slime-presentation slime-inspector-mode-map "Presentations" slime-presentation-easy-menu) 687 700 (easy-menu-add slime-presentation-easy-menu 'slime-mode-map) 688 701 (easy-menu-add slime-presentation-easy-menu 'slime-repl-mode-map) 689 (easy-menu-add slime-presentation-easy-menu 'sldb-mode-map)) 702 (easy-menu-add slime-presentation-easy-menu 'sldb-mode-map) 703 (easy-menu-add slime-presentation-easy-menu 'slime-inspector-mode-map)) 690 704 691 705 ;;; hook functions (hard to isolate stuff) … … 781 795 presentation)))) 782 796 797 (defun slime-presentation-inspector-insert-ispec (ispec) 798 (if (stringp ispec) 799 (insert ispec) 800 (destructure-case ispec 801 ((:value string id) 802 (slime-propertize-region 803 (list 'slime-part-number id 804 'mouse-face 'highlight 805 'face 'slime-inspector-value-face) 806 (slime-insert-presentation string `(:inspected-part ,id) t))) 807 ((:action string id) 808 (slime-insert-propertized (list 'slime-action-number id 809 'mouse-face 'highlight 810 'face 'slime-inspector-action-face) 811 string))))) 812 813 (defun slime-presentation-sldb-insert-frame-variable-value (value frame index) 814 (slime-insert-presentation 815 (in-sldb-face local-value value) 816 `(:frame-var ,slime-current-thread ,(car frame) ,i) t)) 817 783 818 ;;; Initialization 784 819 … … 797 832 (add-hook 'slime-repl-clear-buffer-hook 'slime-clear-presentations) 798 833 (add-hook 'slime-connected-hook 'slime-install-presentations) 834 (setq slime-inspector-insert-ispec-function 'slime-presentation-inspector-insert-ispec) 835 (setq sldb-insert-frame-variable-value-function 836 'slime-presentation-sldb-insert-frame-variable-value) 799 837 (slime-presentation-init-keymaps) 800 838 (slime-presentation-add-easy-menu)) branches/bos/thirdparty/slime/contrib/slime-typeout-frame.el
r2350 r2613 65 65 (slime-typeout-message-aux "%s" doc)) 66 66 67 (defun slime-typeout-autodoc-dimensions () 68 (cond ((slime-typeout-active-p) 69 (list (window-width slime-typeout-window) nil)) 70 (t 71 (list 75 nil)))) 72 67 73 68 74 ;;; Initialization … … 75 81 '((slime-message-function slime-typeout-message) 76 82 (slime-background-message-function slime-typeout-message) 77 (slime-autodoc-message-function slime-typeout-autodoc-message))
