This project is mirrored from https://gitee.com/mirrors/slime.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 16 Sep, 2014 1 commit
  2. 13 Sep, 2014 1 commit
  3. 12 Sep, 2014 1 commit
    • João Távora's avatar
      Simplified version of Helmut Eller's autodoc rewrite · ddecde83
      João Távora authored
      This is the original commentary:
      
      "Cleaned up and simplified. I think most of functionality was
      perserved.  There was a "multiline cache" feature which I was not
      able to understand--despite my best efforts.  So I deleted that."
      
      (cherry picked from SLIME commit
      930f3648)
      
      Conflicts:
      	contrib/ChangeLog
      	contrib/slime-autodoc.el
      	contrib/test/sly-autodoc-tests.el
      ddecde83
  4. 10 Sep, 2014 1 commit
  5. 06 Sep, 2014 1 commit
  6. 23 Aug, 2014 1 commit
    • João Távora's avatar
      Consolidate buffer names · 519b51af
      João Távora authored
      * sly.el (sly-buffer-name): New implementation.
      (sly-compose): New function.
      (sly-process-available-input, sly-net-send): Pass process to
      `sly-log-event'
      (sly-handle-net-read-error): Pass process to `sly-buffer-name'
      (sly-set-connection-info): Commit the final events buffer name
      here.
      (sly-dispatch-event): Pass connection to `sly-buffer-name'
      (sly-log-event): Pass process to `sly-events-buffer'
      (sly-events-buffer): Store the buffer as a process property.
      (sly-list-threads, sly-with-xref-buffer, sly-show-apropos): Pass
      connection to `sly-buffer-name'
      (sldb-get-buffer): Use `sly-buffer-name'
      (sly-update-threads-buffer): Takes new arg `buffer'
      (sly--display-threads): Renamed from `sly-display-threads'
      (sly-inspector-buffer): Pass connectino to `sly-buffer-name'
      (sly-open-inspector): No need to set `sly-buffer-connection' here
      
      * contrib/sly-autodoc.el (sly-autodoc--fontify-string): Adapt to new `sly-buffer-name'
      
      * contrib/sly-mrepl.el (sly-mrepl--buffer-name): Use `sly-buffer-name'
      (sly-mrepl--find-buffer): Find shortest named REPL.
      (sly-mrepl): Pass connection to `sly-mrepl--find-create'
      (sly-mrepl-pop-to-mrepl): No need to call `pop-to-buffer'
      (sly-mrepl-new): Take `connection' and `handle' args. Prompt user
      for REPL nickname.
      
      * contrib/sly-trace-dialog.el (sly-trace-dialog--buffer-name): Use `sly-buffer-name'
      
      * lib/sly-tests.el (sly-inspector-visible-p): Pass connection to `sly-buffer-name'
      519b51af
  7. 20 Aug, 2014 1 commit
  8. 19 Aug, 2014 1 commit
    • João Távora's avatar
      Redesigned mode-line fancyness · 40c64c95
      João Távora authored
      * sly.el (sly-modeline-string): Removed.
      (sly-mode-line): New face
      (sly-mode-line-format): New variable
      (sly--mode-line-format): New function
      (sly-modeline-state-string): Removed.
      (sly-cycle-connections): Handle more cases.
      (sly-dispatch-event): Update modeline more often.
      (sly-selector-methods, sly-selector-other-window, sly-selector)
      (def-sly-selector-method, etc): get rid of sly-selector.
      
      * contrib/sly-autodoc.el (sly-autodoc-mode): Don't clutter
      modeline with "Autodoc"
      
      * contrib/sly-mrepl.el (sly-mrepl-mode): Don't clutter modeline
      with dummy process status.
      (def-sly-selector-method ?m): Removed.
      
      * contrib/sly-scratch.el (sly-scratch): No :on-load section.
      
      * doc/slime.texi (Top): Remove `sly-selector' node.
      (Key bindings): Come up with another example.
      (sly-selector): Delete.
      (Multiple connections): Don't mention `sly-selector'
      40c64c95
  9. 18 Aug, 2014 1 commit
    • João Távora's avatar
      Use `sly-message' instead of `message' everywhere · 0b7b7e96
      João Távora authored
      Other uses of the minibuffer always prefix the message with
      "[sly]"
      
      * sly.el (sly-message): Redone.
      (sly-message-function, sly-background-message-function)
      (sly-background-message): Removed.
      (sly-error): New function.
      0b7b7e96
  10. 08 Aug, 2014 1 commit
    • João Távora's avatar
      Fix incorrect sly-autodoc inhibition in sly-mrepl · 4e9fe422
      João Távora authored
      * contrib/sly-autodoc.el (sly-autodoc-inhibit-autodoc): New variable.
      (sly-autodoc): Inhibit according to
      `sly-autoloads-inhibit-autodoc' variable.
      
      * contrib/sly-mrepl.el (sly-mrepl-mode): Set
      `sly-autodoc-inhibit-autodoc' to
      `sly-mrepl-inside-string-or-comment-p'
      (sly-mrepl-inside-string-or-comment-p): New function.
      4e9fe422
  11. 27 Jun, 2014 1 commit
    • João Távora's avatar
      Minor sly-autodoc tweaks · ff047cbf
      João Távora authored
      * contrib/sly-autodoc.el (sly-autodoc): Hook only sly-mrepl, not sly-repl.
      (sly-autodoc): silently ignore unavailable docstring
      ff047cbf
  12. 06 Jun, 2014 1 commit
    • João Távora's avatar
      Slightly more robust sly-autodoc protocol · 9fed3d27
      João Távora authored
      * contrib/sly-autodoc.el (sly-autodoc-arglist, sly-autodoc):
      Slightly more robust autodoc protocol.
      
      * contrib/swank-arglists.lisp (autodoc): Explicitly signal errors
      in return value.
      9fed3d27
  13. 02 Jun, 2014 1 commit
    • João Távora's avatar
      Fix some bugs · cc121330
      João Távora authored
      Apropos correctly sets package.  More uniform use of sly-mode for
      enabling sly-trace-dialog and sly-autodoc. Make swank-loader
      operational again.
      
      * sly.el (sly-popup-buffer-mode): Implies `sly-mode'
      (sly-apropos): Fix bug, pass "buffer-package" to `sly-apropos-summary'.
      (sly-xref-mode): Don't disable `sly-mode'.
      (sly-create-macroexpansion-buffer): No need to turn on `sly-mode'
      here.
      (define-sly-contrib): Fix merge blunder.
      
      * swank-loader.lisp (init): Accept LOAD-CONTRIBS kwarg, but warn.
      
      * contrib/sly-autodoc.el (sly-autodoc): Use autodoc only in
      `sly-editing-mode and `sly-repl-mode'.
      
      * contrib/sly-trace-dialog.el (sly-trace-dialog): Simplify
      turn-on logic.
      (sly-trace-dialog-shortcut-mode-map): Renamed from misleading
      `sly-trace-dialog-minor-mode'.
      cc121330
  14. 13 Mar, 2014 1 commit
    • Joao Tavora's avatar
      All autodoc'ing uses contrib/slime-autodoc.el · 488cea6a
      Joao Tavora authored
      The simple arglists version on the sly.el side was removed. The SWANK
      interface stays, for backward/SLIME compatibility and for whoever
      wants to use it.
      
      * sly.el (sly-space, sly-echo-arglist-function, sly-echo-arglist)
      (sly-show-arglist, sly-operator-before-point-function)
      (sly-operator-before-point, sly-lisp-operator-before-point): Removed.
      
      * contrib/sly-autodoc.el: set lexical-binding to t.
      (sly-autodoc): Use just `sly-autodoc-mode'
      (sly-use-autodoc-mode): Remove this defcustom.
      (sly-autodoc--make-rpc-form, sly-autodoc--last-buffer-form)
      (sly-autodoc--last-autodoc, sly-autodoc--format): Rename.
      (sly-autodoc-mode): Use `define-minor-mode
      (sly-autodoc-maybe-enable): Removed.
      (eldoc-display-message-no-interference-p): `sly-bind-keys' call
      was kinda gross.
      488cea6a
  15. 10 Mar, 2014 1 commit
  16. 02 Mar, 2014 1 commit
    • Joao Tavora's avatar
      Solve remaining byte-compilation problems · 3467ebc9
      Joao Tavora authored
      * slime-tests.el (require): Add necessary require statements to
      avoid warnings. Don't use xemacs compatibility layer.
      
      * slime.el (slime-require): Move up to avoid byte-compiler warning.
      (slime-setup, slime--setup-contribs): Use `slime-contribs'
      directly.
      (sldb-in-face): Renamed from `in-sldb-face'. Rename in users.
      
      * lib/hyperspec.el: Require `cl-lib' instead of `cl'.
      
      The contrib's Makefile now works as the top-level Makefile,
      byte-compiling files separately, uncovering errors when trying to
      byte-compile files in isolation. Fixed almost all such problems in
      contrib's el files and remove uses of the "xemacs compability layer",
      in preparation of its removal.
      
      For most files this amounted to moving some definitions around,
      requiring the needed libs at the top, and prefixing cl-lib functions
      with "cl". `cl' is required at compile-time only for macros which
      aren't found in cl-lib.
      
      In slime.el, slime-tests.el and lib/hyperspec.el a few tweaks also
      removed the last few warnings.
      
      * contrib/Makefile (%.elc): Do as in root-makefile and compile each el
      file separately. This reveals more warnings.
      
      * contrib/bridge.el (bridge-insert-function): new variable to solve
      redefinition hack in contrib/slime-presentations.el
      (bridge-insert): use it.
      
      * contrib/slime-asdf.el
      (slime-open-system): Don't use `called-interactive-p'.
      
      * contrib/slime-autodoc.el (slime-autodoc-maybe-enable): move to solve
      compilation warnings.
      (slime-autodoc-mode): Replace `interactive-p' call with new
      `interactive' arg.
      
      * contrib/slime-cl-indent.el (require): Require needed libraries,
      including `slime'.
      (common-lisp-active-style): use proper defvar.
      (common-lisp-current-package-function): Make it a variable, which
      is how it's used.
      (common-lisp-run-indentation-tests): Use `insert-file-contents'.
      (slime-cl-indent): provide `slime-cl-indent' as well as `cl-indent'
      
      * contrib/slime-clipboard.el (slime-clipboard-display-entries): Don't use
      :mode arg to `slime-with-popup-buffer'.
      (slime-clipboard-redisplay): Don't use `slime-save-coordinates' as
      that's probably going away, use simpler approach.
      
      * contrib/slime-compiler-notes-tree.el (slime-list-compiler-notes): Don't
      pass :mode to `slime-with-popup-buffer'
      
      * contrib/slime-enclosing-context.el (slime-enclosing-context): Explain
      why contrib doesn't work.
      
      * contrib/slime-fontifying-fu.el (slime-beginning-of-tlf): Simplify,
      conditional definition not needed.
      
      * contrib/slime-indentation.el (slime-indentation): Correct description.
      
      * contrib/slime-presentations.el (slime-presentation-on-stream-open): Use
      `bridge-insert-function'.
      
      * contrib/slime-typeout-frame.el (slime-typeout-autodoc-message): Don't
      set inexistent `slime-autodoc-last-message' var.
      3467ebc9
  17. 21 Feb, 2014 1 commit
    • Joao Tavora's avatar
      Closes #103. Loading contribs does not require slime-tests or ERT. · e44a4c00
      Joao Tavora authored
      Tests are stored separately.
      
      * Makefile (contrib-check-% check-%): Restore the check-<contrib>
      target.
      * .travis.yml (env): Use it.
      
      * slime-tests.el (defun): Adapt to new contrib-tests location.
      (readme-recipe, traditional-recipe): Don't use ert macros in
      recipe tests, since ert might not be loaded.
      
      * slime.el (slime-contrib-dependencies): New function.
      
      * contrib/Makefile: Fix whitespace.
      (check-%): Look for tests under /contrib/tests. Explicitly require
      all needed test libs.
      
      * contrib/inferior-slime.el: cleanup whitespace.
      
      * contrib/slime-repl.el: Split off tests. Don't use `eval-and-compile'
      * contrib/slime-presentations.el: Idem.
      * contrib/slime-parse.el: Idem.
      * contrib/slime-mdot-fu.el: Idem.
      * contrib/slime-fontifying-fu.el: Idem.
      * contrib/slime-enclosing-context.el: Idem.
      * contrib/slime-c-p-c.el: Idem.
      * contrib/slime-autodoc.el: Idem.
      
      * test/slime-presentations-tests.el: New file.
      * contrib/test/slime-parse-tests.el: New file.
      * contrib/test/slime-mdot-fu-tests.el: New file.
      * contrib/test/slime-fontifying-fu-tests.el: New file.
      * contrib/test/slime-enclosing-context-tests.el: New file.
      * contrib/test/slime-c-p-c-tests.el: New file.
      * contrib/test/slime-autodoc-tests.el: New file.
      e44a4c00
  18. 10 Feb, 2014 1 commit
  19. 19 Jan, 2014 1 commit
    • Joao Tavora's avatar
      Fix autodoc test failures on sbcl32 and cmucl · 7817efb1
      Joao Tavora authored
      * .travis.yml (env): check less emacs 23 combinations. Pin tests
      to sbcl32 for now.
      
      * contrib/slime-autodoc.el (cerror "Foo"): test no longer fails for
      sbcl.  (foo-inside-labels-2): test also fails on cmucl.
      
      * contrib/ swank-arglists.lisp (print-decoded-arglist): for already
      provided args, print strings literally.  (print-arg): New keyword arg
      LITERAL-STRINGS
      7817efb1
  20. 02 Jan, 2014 2 commits
    • Joao Tavora's avatar
      Closes #42: Require 'slime when byte-compiling and loading contribs. · f3d13f31
      Joao Tavora authored
      * *slime-*.el: require 'slime when loading and byte-compiling (Closes #42).
      f3d13f31
    • Joao Tavora's avatar
      Fix more contrib tests and make them runnable from test.sh. · 9e3cd833
      Joao Tavora authored
      * .travis.yml (script): Skip slime-fancy tests for now.
      * test.sh (cmd): Test slime-fancy by default, -C skips it.
      * slime-enclosing-context.el: require 'slime-tests. Remove
      trailing whitespace.
      * slime-fontifying-fu.el: require 'slime-tests. Remove trailing
      whitespace.
      * slime-mdot-fu.el: require 'slime-tests. Remove trailing
      whitespace.
      * slime-parse.el: require 'slime-tests. Remove trailing
      whitespace.
      * slime-autodoc.el (slime-check-autodoc-at-point): not needed
      anymore.
      (define-autodoc-tests): new macro for defining autodoc-specific
      tests.
      (top-level): fix tests based on swank functions and add some
      :fails-for specifications for sbcl
      9e3cd833
  21. 10 Jan, 2013 1 commit
  22. 05 Oct, 2011 1 commit
  23. 18 Sep, 2010 1 commit
  24. 13 May, 2010 1 commit
    • Tobias C. Rittweiler's avatar
      * slime.el (define-slime-contrib): New macro. · 615aadc0
      Tobias C. Rittweiler authored
      	* slime-autodoc.el, slime-c-p-c.el, slime-compiler-notes-tree.el,
      	slime-enclosing-context.el, slime-fancy.el, slime-fuzzy.el,
      	slime-hyperdoc.el, slime-mdot-fu.el, slime-mrepl.el,
      	slime-parse.el, slime-presentations.el, slime-repl.el,
      	slime-snapshot.el, slime-tramp.el, slime-xref-browser.el:
      
      	Use newly added `define-slime-contrib' macro to specify
      	slime and swank dependencies, and to specify what should happen on
      	contrib load/unload.
      615aadc0
  25. 05 May, 2010 1 commit
  26. 12 Apr, 2010 1 commit
  27. 05 Apr, 2010 3 commits
    • Stas Boukarev's avatar
      * slime-repl.el (slime-repl-inside-string-or-comment-p): New · 0b50da1f
      Stas Boukarev authored
      function, when in the REPL prompt, narrow the search to the
      prompt, otherwise stray " from the previous prompts
      or outputs may confuse slime-inside-string-or-comment-p.
      
      * slime-autodoc.el (slime-autodoc): Use
      slime-repl-inside-string-or-comment-p when fbound.
      0b50da1f
    • Stas Boukarev's avatar
      * slime-autodoc.el (slime-autodoc-manually): Rename from · 02190dfb
      Stas Boukarev authored
      slime-autodoc-full.
      Like slime-autodoc, but when called twice,
      or after slime-autodoc was already automatically called,
      display multiline arglist.
      02190dfb
    • Stas Boukarev's avatar
      * slime-autodoc.el (slime-autodoc-full): New command, · 937105f0
      Stas Boukarev authored
      displays multiline arglists. Bound to C-c C-d a.
      (slime-make-autodoc-rpc-form): Don't send
      :print-lines to autodoc, always use the actual width for
      :print-right-margin, remove newlines on formatting when needed.
      (slime-autodoc): Add optional parameter multilinep defaulted to
      slime-autodoc-use-multiline-p, pass it to slime-format-autodoc.
      
      * swank-arglists.lisp (autodoc, decoded-arglist-to-string): remove
      print-lines parameter, it's not used anymore.
      
      * slime.el (slime-doc-bindings): Move slime-apropos to C-c C-d A,
      C-c C-d a will be bound to slime-autodoc-full.
      937105f0
  28. 03 Apr, 2010 2 commits
  29. 23 Mar, 2010 2 commits
  30. 07 Mar, 2010 1 commit
  31. 15 Feb, 2010 1 commit
    • Tobias C. Rittweiler's avatar
      * slime.el (slime-load-contribs): Do not call SWANK-REQUIRE · 9892f051
      Tobias C. Rittweiler authored
      	asynchronously, if host Lisp uses :SPAWN that may result in the
      	attempt to load in code concurrently -- the host Lisp may not
      	support that.
      
      	* slime-asdf.el, slime-autodoc.el, slime-c-p-c.el,
      	slime-clipboard.el, slime-fancy-inspector.el, slime-fuzzy,el,
      	slime-indentation.el, slime-motd.el,
      	slime-presentation-streams.el, slime-presentations.el,
      	slime-sbcl-exts, slime-snapshot.el, slime-sprof.el:
      
      	Make sure that contrib code does not try to load in swank code
      	asynchronously but use `slime-require' instead; also make sure to
      	move the `slime-require' into the contribs' init function.
      9892f051
  32. 06 Jan, 2010 3 commits
    • Tobias C. Rittweiler's avatar
      * swank-arglists.lisp (interesting-variable-p): Exclude keywords · 1163099e
      Tobias C. Rittweiler authored
      	from being candidates for "display variable content" autodoc
      	feature.
      	(print-decoded-arglist): Slightly better arglist printing if
      	`slime-autodoc-use-multiline-p' is true.
      	(parse-raw-form): Make it able to parse strings.
      
      	* slime-autodoc.el (autodoc.1 [test]): Add more cases.
      1163099e
    • Tobias C. Rittweiler's avatar
      * slime-autodoc.el (slime-check-autodoc-at-point): Bind · 9e4011e1
      Tobias C. Rittweiler authored
      	`slime-autodoc-use-multiline-p' to nil for normalized test
      	results.
      9e4011e1
    • Tobias C. Rittweiler's avatar
      · 4efe9451
      Tobias C. Rittweiler authored
      	* swank-backend (declaration-arglist): Normalize declaration
      	specifiers to contain `variables' rather than `vars'.
      
      	* swank-arglists.lisp (arglist-dispatch ['declare]): Normalize
      	`vars' to `variables'.
      	(arglist-for-type-declaration): Ditto.
      
      	* slime-autodoc (autodoc.1 [test]): Reorganize test, add comments,
      	add cases to test declarations.
      4efe9451
  33. 03 Jan, 2010 1 commit