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.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 01 Jun, 2014 11 commits
-
-
Joao Tavora authored
* sly.el (sly-backend, sly-swank-loader-backend): The former is an obsoletion alias to the latter. Conflicts: ChangeLog Conflicts: ChangeLog sly.el
-
João Távora authored
Removed all references to contribs in swank-loader.lisp, they are now loaded on demand both in the ASDF and swank-loader.lisp methods. To make this work, loading a contrib from a file (.el or .elc) now presets a `contrib--path' variable with the full pathname to it. The contrib's `contrib-init' function will push this onto `sly-required-modules', and `sly-load-contribs' will use a new SWANK:SWANK-ADD-LOAD-PATHS slyfun to ensure that dir is in Swank's load-path before attempting to SWANK:SWANK-REQUIRE the Swank dependency module. Once the module-loading request reaches Swank, both methods do their stuff differently. ASDF needed no tweaking and uses *CENTRAL-REGISTRY* as it's load path, while swank-loader.lisp was somewhat simplified. * sly.el (sly-required-modules): Now an alist. (sly--setup-contribs): Use `assq' for new `sly-required-modules' format. (sly-require): Delete it. (sly-load-contribs): Use new `sly-required-modules' format. Call new SWANK:SWANK-ADD-LOAD-PATHS slyfun. (define-sly-contrib): Make the enable-function also add the contrib's path to `sly-required-modules'. * swank-loader.lisp (:swank-loader): Export *LOAD-PATH*. (*contribs*, append-dir, contrib-dir, compile-contribs): Delete. (load-swank): Don't set *LOAD-PATH* here. (loadup, setup, init): Don't mess with contribs here. (module-canditates): Delete. (require-module): Redesigned to compile&load modules on demand. (module-binary-dir): New auxiliary function. * swank.lisp (*require-module*): Delete. (*module-loading-method*): New variable. (require-module, add-to-load-path): New generic functions with :ASDF and :SWANK-LOADER implementations. (swank-require): Call the REQUIRE-MODULE generic. (swank-add-load-paths): New slyfun, calls ADD-TO-LOAD-PATH generic. * sly-tests.el (sly-test-check-repl-forms): Use new form of `sly-required-modules' (swank-loader-fallback): Simplify this test, it just tests `sly-init-using-asdf', doesn't attempt to destroy ASDF in the lisp and then test the automated fallback. (cherry picked from SLIME commit 2946851e) Conflicts: ChangeLog sly-tests.el sly.el swank-loader.lisp swank.lisp
-
João Távora authored
* slime-tests.el (swank-loader-fallback): Simplify this test, it just tests `slime-init-using-asdf', doesn't attempt to destroy ASDF in the lisp and then test the automated fallback. (cherry picked from SLIME commit af754d66) Conflicts: ChangeLog sly-tests.el
-
Joao Tavora authored
* sly-tests.el (sly-test-default-landing-forms): new var. (sly-test-recipe-test-for): Simplify a little more. (*-recipe-*): simplify (swank-loader-fallback): new test. (cherry picked from SLIME commit aef94e95) Conflicts: ChangeLog sly-tests.el
-
Joao Tavora authored
* swank-loader.lisp (*load-path*): Moved up to avoid forward reference. * swank-ecl.lisp: Add warning about uncommenting code that depends on swank-loader.lisp. * start-swank.lisp: Use MAKE-PATHNAME instead of MERGE-PATHNAMES. (cherry picked from SLIME commit 2a667327) Conflicts: ChangeLog contrib/ChangeLog contrib/swank-presentation-streams.lisp sbcl-pprint-patch.lisp
-
Joao Tavora authored
* swank.asd (:swank): swank-gray.lisp must be loaded for sbcl too. Conflicts: ChangeLog contrib/ChangeLog
-
Joao Tavora authored
* swank.asd: Cleanup some comments. (cherry picked from SLIME commit fc279631) Conflicts: ChangeLog contrib/ChangeLog contrib/swank-presentation-streams.lisp sbcl-pprint-patch.lisp swank-sbcl.lisp swank.asd
-
Joao Tavora authored
ASDF is the default and is passing the following test scenarios: LISP_BIN=cmucl make clean check LISP_BIN=cmucl make clean check-fancy LISP_BIN=alisp make clean check ;; alisp is Allegro Common lisp SBCL is notably not passing *any* tests when loaded with ASDF.due to a strange "11 nested errors" problem which must be investigated. * sly.el (sly-init-using-asdf): Fall back gracefully to swank-loader.lisp. * swank.asd (:swank): Simplify with tips from Fare. * swank.lisp (*require-module*): INTERN takes strings, not symbols. (Cherry-picked from SLIME commit 5b215ad1) Conflicts: sly.el Conflicts: ChangeLog sly.el swank.lisp
-
Joao Tavora authored
* swank.lisp (before-init): don't take VERSION arg. (sly-version-string): move it here. (init): Call BEFORE-INIT. (before-init): don't redo if :SWANK in *FEATURES* (start-server): call INIT unless :SWANK in *FEATURES* * swank-loader.lisp (sly-version-string): remove it. (cherry picked from commit 7d72800e) Conflicts: ChangeLog sly.el swank-loader.lisp
-
Joao Tavora authored
* sly.el (sly-init-function): new defcustom (sly-init-using-swank-loader): renamed from sly-init-command (sly-init-using-asdf): new function * swank.lisp (*require-module*): new user-customizable var. Default value guesses loading method. (swank-require): Remove optional arg. Simplify to call *REQUIRE-MODULE*. (*require-module*): New variable. (*find-module*): Deleted variable. (module-filename): Deleted. (merged-directory): Deleted. (module-canditates): Moved to swank-loader.lisp (*load-path*): Moved to swank-loader.lisp (before-init): removed second arg, no longer knows anything about load-paths. * swank-loader.lisp (*load-path*,module-canditates): moved from swank.lisp. (require-module): new function for plugging into SWANK:*REQUIRE-MODULE* (load-swank): set loader's load-path in loader. * swank.asd: No loader depend on swank-loader. (cherry picked from SLIME commit 32007868) Conflicts: ChangeLog sly.el swank-loader.lisp swank.lisp
-
Francois-Rene Rideau authored
(cherry picked from SLIME commit 19637ab5) Conflicts: ChangeLog swank.asd
-
- 30 May, 2014 1 commit
-
-
João Távora authored
* sly-tests.el (sly-test--pos-at-line, recenter): New test and helper function. * sly.el (sly-recenter): Don't add extra buffer line. (sly-goto-note-in-compilation-log, sly-show-source-location): Display in other window.
-
- 23 May, 2014 12 commits
-
-
João Távora authored
* sly.el (sly-close-channel): Issue correct error when connection does not exist. * contrib/sly-mrepl.el (sly-mrepl): Add sly-mrepl-close-repls to sly-net-process-close-hooks (sly-mrepl-close-repls): New function. (sly-mrepl-return): Stricter check for repl liveness. (sly-mrepl): Rearrange indentation and docstrict.
-
João Távora authored
* contrib/sly-trace-dialog.el (sly-trace-dialog): Use the trace-dialog bindings in more places.
-
João Távora authored
* contrib/sly-mrepl.el (sly-mrepl-new): Create a new history file if it doesn't exit. (sly-trace-dialog-copy-down-to-repl): Fix wrong use of `sly-mrepl--eval-for-repl'. (sly-mrepl-sync-package-and-default-directory): New function. * contrib/sly-mrepl.el (sly-mrepl--eval-for-repl): Removed useless commented code. * contrib/swank-mrepl.lisp (listener-save-value): Fix typo. * contrib/swank-mrepl.lisp): whitespace cleanup. (:sync-package-and-default-directory): New channel method. Slightly hackish implementation
-
João Távora authored
Replace references to SLIME with references to SLY. Botched this in the 27808432 cherry-pick. * sly-tests.el (compile-defun-with-reader-conditionals) (compile-defun): SLIME -> SLY, slime -> sly, etc
-
Stas Boukarev authored
* swank-rpc.lisp (prin1-to-string-for-emacs): Convert floats into double-floats, when possible. Emacs lisp only has double floats. (cherry picked from SLIME commit 11411e82) Conflicts: ChangeLog
-
Gábor Melis authored
Also, fix the docstring of DEFINTERFACE FIND-SOURCE-LOCATION. (cherry picked from SLIME commit e74fee78) Conflicts: ChangeLog
-
Stas Boukarev authored
* swank-source-path-parser.lisp (make-source-recorder): Remove FUNCTION type declaration, get-macro-character returns a designator, not a function. Recent changes to SBCL exposed the problem. (cherry picked from SLIME commit 60cf49f5) Conflicts: ChangeLog
-
Luís Oliveira authored
(cherry picked from SLIME commit 74a9ea89) Conflicts: NEWS doc/slime.texi sly.el
-
Christophe Rhodes authored
I don't even want to think about how long it's been since SBCL switch to an all-in-one-page manual format. * sly-references.el (sly-lookup-reference-at-point): change format for lookup in SBCL manual to match current all-in-one-page publication. (cherry picked from SLIME commit 721e307d) Conflicts: contrib/ChangeLog contrib/sly-references.el
-
Christophe Rhodes authored
* contrib/sly-references.el (sly-references-properties): Support `:type' and `:system-class' `:ansi-cl' references. (cherry picked from SLIME commit 791a34b3) Conflicts: contrib/ChangeLog
-
Christophe Rhodes authored
(cherry picked from SLIME commit 41ec396e) Conflicts: ChangeLog sly.el
-
João Távora authored
* sly.el (sldb-exit): An indirect, non-interactive exit from an *sldb* buffer should just kill the buffer. Conflicts: ChangeLog sly.el (cherry-picked from SLIME commit 44b394c1)
-
- 27 Apr, 2014 1 commit
-
-
João Távora authored
* contrib/sly-mrepl.el (:write-values): only print newlines between different values, not at the end. (sly-mrepl--eval-for-repl): Simplified, takes a slyfun and some args to call the new SWANK-MREPL:LISTENER-SAVE-VALUE slyfun and the new :PRODUCE-SAVED-VALUE channel method. (sly-trace-dialog-copy-down-to-repl, sldb-copy-down-to-repl): Simplified * contrib/swank-mrepl.lisp (:swank-mrepl): Make implicit exports explicit. (initialize-instance): Shoosh compiler. (:process): No need for WITH-SLOTS (*listener-saved-value*): New variable. (listener-save-value): New slyfun. (:produce-saved-value): New channel method.
-
- 26 Apr, 2014 3 commits
-
-
João Távora authored
-
João Távora authored
* sly-mrepl.el (sly-mrepl-return): Fix some indentation buggyness. (inferior-sly): Don't require 'inferior-sly. (sly-mrepl-mode): More reable setting of local variables. (sly-mrepl--send-input): New function.
-
João Távora authored
* contrib/swank-arglists.lisp (extra-keywords): New method spec for symbols. Allow libs to specify extra keywords for macros using :SWANK-EXTRA-KEYWORDS and :SWANK-ALLOW-OTHER-KEYWORDS symbol props.
-
- 18 Apr, 2014 4 commits
-
-
Olof-Joachim Frahm authored
* contrib/sly-clipboard.el: Require `cl-lib'/`cl' for `lexical-let' and `cl-' prefix. (sly-clipboard-insert-entries, sly-clipboard-insert-ref) (sly-clipboard-ref-modified): Use `cl-' prefix. (cherry picked from SLIME commit 080caca5) Conflicts: contrib/ChangeLog contrib/slime-clipboard.el
-
João Távora authored
* .travis.yml (env): Don't overtest on Emacs 23, as per comment. (install): No need for trailing semicolon. * sly-tests.el (compile-defun-with-reader-conditionals): Renamed from `compile-defun-with-reader-characters'. Break long lines. (cherry picked from SLIME commit 8689f401) Conflicts: .travis.yml ChangeLog
-
Phil Hargett authored
* sly-tests.el (compile-defun): Test split into two parts. (compile-defun-with-reader-characters): Split from `compile-defun' as CCL does not pass this part. * .travis.yml: added targets to include CCL 1.9 for Travis builds * contrib/test/sly-autodoc-tests.el: Mark several tests as failing for CCL 1.9 (cherry picked from SLIME commit 0e3508a5) Conflicts: .travis.yml ChangeLog contrib/ChangeLog sly-tests.el
-
João Távora authored
* metering.lisp ("SWANK-MONITOR"): Enter SWANK-MONITOR package. (cherry picked from SLIME commit 1f57e1ea) Conflicts: ChangeLog
-
- 11 Apr, 2014 8 commits
-
-
Phil Hargett authored
Using nicknames, especially short terse ones, are more likely to create package name conflicts with othe packages. Since swank is widely used, its better to avoid using nicknames (or at least short ones). All package nicknames removed. Further, the "MONITOR" package has been renamed "SWANK-MONITOR" for the same reason: without the extra qualification, the name could conflict with other packages. * contrib/swank-trace-dialog.lisp (defpackage swank-trace-dialog): removed :STD nickname * metering.lisp (defpackage "MONITOR"): removed :MON nickname, touched up references in comments * swank-ccl.lisp (profile, profiled-functions, unprofile) (unprofile-all, profile-report, profile-reset,profile-package): replaced use of nickname MON with new package name SWANK-MONITOR * swank-clisp.lisp: idem (cherry picked from SLIME commit 1bdbdda7) Conflicts: ChangeLog contrib/swank-trace-dialog.lisp
-
João Távora authored
Similar to SLIME commit f503ec19 * sly.el (sly-trim-whitespace): Better implementation, works for multiline strings. * sly-old-repl.el (sly-repl-add-to-input-history): Call `sly-trim-whitespace'
-
Helmut Eller authored
(cherry picked from SLIME commit bf18df32) Conflicts: ChangeLog
-
Helmut Eller authored
(cherry picked from SLIME commit de847d46) Conflicts: ChangeLog
-
João Távora authored
* sly.el (sly-describe-function): Be a little more precise and prompt for a symbol naming a function. (cherry picked from SLIME commit af4d0b84) Conflicts: ChangeLog sly.el
-
João Távora authored
* contrib/sly-trace-dialog.el (sly-trace-dialog--insert-trace): Set trace entry's marker-insertion-type to T to avoid text later being inserted before the marker from entering its protected region. (cherry picked from SLIME commit 3d7e985d) Conflicts: contrib/ChangeLog contrib/sly-trace-dialog.el
-
Joao Tavora authored
* sly.el (sly-init-command): Use `sly-to-lisp-filename'. (cherry picked from SLIME commit fdcaa1a7) Conflicts: ChangeLog
-
Joao Tavora authored
The previous technique for setting *, ** and friends just-in-time didn't work, especially when the inspector was called from the REPL buffer to inspect *. * contrib/swank-repl.lisp (set-repl-variables): New slyfun. (repl-eval): Call SET-REPL-VARIABLES *after* evaluating region. (cherry picked from SLIME commit af64d8b6) Conflicts: contrib/ChangeLog contrib/slime-repl.el contrib/swank-repl.lisp
-