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. 01 Jun, 2014 11 commits
    • Joao Tavora's avatar
      Keep `sly-backend' name, point to new `sly-swank-loader-backend' · 9854e7f0
      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
      9854e7f0
    • João Távora's avatar
      swank-loader and ASDF methods behave similarly for contribs · 36d83af7
      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
      36d83af7
    • João Távora's avatar
      Fix failing test on Travis · 3ff075c7
      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
      3ff075c7
    • Joao Tavora's avatar
      Test swank-loader.lisp fallback · f1f302b4
      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
      f1f302b4
    • Joao Tavora's avatar
      Assorted fixes pointed out by Fare · 1e79f0c9
      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
      1e79f0c9
    • Joao Tavora's avatar
      Make it work for SBCL (and fix ChangeLog files) · ab8676e0
      Joao Tavora authored
      * swank.asd (:swank): swank-gray.lisp must be loaded for sbcl too.
      
      Conflicts:
      	ChangeLog
      	contrib/ChangeLog
      ab8676e0
    • Joao Tavora's avatar
      Integrate some fixes from Fare · e8188a24
      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
      e8188a24
    • Joao Tavora's avatar
      Check asdf version, gracefully degradate to swank-loader.lisp, fix bugs · 41a15516
      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
      41a15516
    • Joao Tavora's avatar
      Also check SWANK version and interfaces with ASDF loader · abad9e41
      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
      abad9e41
    • Joao Tavora's avatar
      Implement independent swank-loading methods. New ASDF-based default. · 748b54a6
      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
      748b54a6
    • Francois-Rene Rideau's avatar
      Modify swank.asd to load the source code without delegating to swank-loader · 802742a0
      Francois-Rene Rideau authored
      (cherry picked from SLIME commit
      19637ab5)
      
      Conflicts:
      	ChangeLog
      	swank.asd
      802742a0
  2. 30 May, 2014 1 commit
    • João Távora's avatar
      Some tests for sly-recenter · 443f094c
      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.
      443f094c
  3. 23 May, 2014 12 commits
  4. 27 Apr, 2014 1 commit
    • João Távora's avatar
      Fix copy-down-to-repl behaviour · bb67f3fe
      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.
      bb67f3fe
  5. 26 Apr, 2014 3 commits
  6. 18 Apr, 2014 4 commits
    • Olof-Joachim Frahm's avatar
      Fix warnings for contrib/sly-clipboard.el. · 3f4332db
      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
      3f4332db
    • João Távora's avatar
      Adjust previous change · 4653226a
      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
      4653226a
    • Phil Hargett's avatar
      Closes #151: Add CCL to Travis CI · 27808432
      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
      27808432
    • João Távora's avatar
      Unbreak CCL and CLISP and cleanup ChangeLog. · 4fde7bc0
      João Távora authored
      * metering.lisp ("SWANK-MONITOR"): Enter SWANK-MONITOR package.
      
      (cherry picked from SLIME commit
      1f57e1ea)
      
      Conflicts:
      	ChangeLog
      4fde7bc0
  7. 11 Apr, 2014 8 commits
    • Phil Hargett's avatar
      Remove package nicknames · c6a2eb0f
      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
      c6a2eb0f
    • João Távora's avatar
      Fix string-trimming in sly-old-repl · 75ff5054
      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'
      75ff5054
    • Helmut Eller's avatar
      * swank.lisp (%%condition-message): Bind *print-readably*. · e5448acf
      Helmut Eller authored
      (cherry picked from SLIME commit
      bf18df32)
      
      Conflicts:
      	ChangeLog
      e5448acf
    • Helmut Eller's avatar
      * swank-sbcl.lisp (set-default-directory): Call chdir. · 30984e1c
      Helmut Eller authored
      (cherry picked from SLIME commit
      de847d46)
      
      Conflicts:
      	ChangeLog
      30984e1c
    • João Távora's avatar
      More accurate prompt when describing symbol's functions · f570a14f
      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
      f570a14f
    • João Távora's avatar
      Fix updating arbitrary parts of trace dialog · 4b760f38
      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
      4b760f38
    • Joao Tavora's avatar
      Help cygwin users convert pathnames to lisp · 71c7146f
      Joao Tavora authored
      * sly.el (sly-init-command): Use `sly-to-lisp-filename'.
      
      (cherry picked from SLIME commit
      fdcaa1a7)
      
      Conflicts:
      	ChangeLog
      71c7146f
    • Joao Tavora's avatar
      Inspecting * in contrib/sly-old-repl.el no longer uses second-to-last value · 6cc250b0
      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
      6cc250b0