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. 23 May, 2014 8 commits
  2. 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
  3. 26 Apr, 2014 3 commits
  4. 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
  5. 11 Apr, 2014 21 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
    • Joao Tavora's avatar
      More adjustments to find-definition in ACL backend · a23b2da8
      Joao Tavora authored
      Previous changes broke compilation for definitions in buffers that
      don't have files(like *slime-scratch*). Finding definitions in buffers
      that have a file name that doens't exist in the file-system was also
      broken.
      
      Also WHO-CALLS functionality for top-level forms is unreliable in ACL,
      be it for temp or other loading mechanisms. For the former, note
      *TEMP-FILE-MAP* might point to dead buffers and for the latter, there
      is not enough file info in the .fasl annotations. See
      http://franz.com/support/documentation/ \
      current/doc/cross-reference.htm#in-functions-arg-2.
      
      Therefore, this change also deletes the previous attempt by
      FSPEC-DEFINITION-LOCATIONS to reliably follow :TOP-LEVEL-FORM
      references..
      
      * swank-allegro.lisp (fspec-definition-locations): Don't attempt
      to interpret :TOP-LEVEL-FORM fspecs, since file info is always
      unreliable.
      
      * swank-allegro.lisp (compile-from-temp-file): Reinstate recording
      in *TEMP-FILE-MAP* for all compilations. It is still useful if we
      haven't saved the buffer or are operating from a file-less buffer,
      like *slime-scratch*
      
      (cherry picked from commit 6b357782)
      
      Conflicts:
      	ChangeLog
      a23b2da8
    • João Távora's avatar
      Adjust previous change to finding definitions in ACL backend. · 32c4f9c6
      João Távora authored
      * swank-allegro.lisp (write-tracking-preamble): New function,
      rewritten from previous hunk in COMPILE-FROM-TEMP-FILE for
      clarity.  Also adds PATHNAME call which broke the previous
      approach.
      (compile-from-temp-file): In Allegro 9.0, make redefinition
      warnings trigger only once now that compilation and loading from
      temp files are separate steps.
      
      (cherry picked from SLIME commit
      63cae7e1)
      
      Conflicts:
      	ChangeLog
      32c4f9c6
    • Paulo Madeira's avatar
      Improve source file recording for ACL backend. · b009e5c5
      Paulo Madeira authored
      Finding definitions compiled with SWANK:SWANK-COMPILE-STRING
      relied on a hash table mapping temporary file names to buffer
      names, which broke when the original buffer was closed. A new
      approach imitate's Franz's own ELI/LEP's and writes a preamble to
      each temp file that sets the correct values for
      EXCL::*SOURCE-PATHNAME* and *EXCL::*PARTIAL-SOURCE-FILE-P*
      pointing to the correct spot in the original file.
      
      For strings compiled in buffers with no file name, the previous
      temp-file-to-buffer mapping is kept.
      
      * swank-allegro.lisp (compile-from-temp-file): Use same technique
      as ELI to store source pathname and position when compiling from
      file buffers.  Don't store buffer mapping for file buffers.  Don't
      prevent redefinition warnings for different source pathnames.
      (buffer-or-file, find-fspec-location) Don't use buffer mapping for
      file buffers.
      
      (cherry picked from SLIME commit
      b0fa0dc8)
      
      Conflicts:
      	ChangeLog
      b009e5c5
    • Helmut Eller's avatar
      * Makefile (test): Fix typo. · 403d2b3e
      Helmut Eller authored
      (cherry picked from SLIME commit
      821d0326)
      403d2b3e
    • Helmut Eller's avatar
      Run tests interactively with "make test" · b41f3c99
      Helmut Eller authored
      * Makefile (test): New target.
      
      (cherry picked from SLIME commit
      4203b5f3)
      
      Conflicts:
      	ChangeLog
      	Makefile
      b41f3c99
    • Helmut Eller's avatar
      Make it easier to specify regexps as test selector. · 31c2546c
      Helmut Eller authored
      * Makefile (check): Use ' instead of " to avoid some of the
      bizarre shell quoting rules.  Don't evaluate SELECTOR.
      (SELECTOR): Extra quoting no longer needed.
      
      (cherry picked from SLIME commit
      1dbd0bd8)
      
      Conflicts:
      	ChangeLog
      	Makefile
      31c2546c
    • Helmut Eller's avatar
      Fix bug in sly-complete-restore-window-configuration. · 3f041a02
      Helmut Eller authored
      * sly.el (sly-complete-restore-window-configuration): Don't
      use a timer.  That was only needed for XEmacs and it was
      accidentally started multiple times.
      
      (cherry picked from SLIME commit 4fff7fa1)
      
      Conflicts:
      	ChangeLog
      	sly.el
      3f041a02
    • Helmut Eller's avatar
      * sly-tests.el (read-from-minibuffer): New test. · b50e0b9f
      Helmut Eller authored
      (cherry picked from SLIME commit 2c8e6a65)
      
      Conflicts:
      	ChangeLog
      	sly-tests.el
      b50e0b9f
    • Joao Tavora's avatar
      Ignore fasl extension variations · f78bc22b
      Joao Tavora authored
      f78bc22b
    • João Távora's avatar
      Recenter debugger buffer on long conditions and variable lists · ed3f37e9
      João Távora authored
      This behavious was lost after the refactorings of
      `slime-with-popup-buffer'.
      
      * sly.el (sly-recenter): New function.  (sldb-show-frame-details,
      sldb-setup): Use `sly-recenter'.
      
      (cherry picked from SLIME commit
      9e5520cf)
      
      Conflicts:
      	ChangeLog
      	sly.el
      ed3f37e9
    • Joao Tavora's avatar
      Make connection and thread lists read-only again · 5e4862d4
      Joao Tavora authored
      This behavious was lost after the refactorings of
      `slime-with-popup-buffer'.
      
      * slime.el (slime-popup-buffer-mode): A SLIME popup buffer is
      always read-only.
      
      (cherry picked from SLIME commit
      c8b595b2)
      
      Conflicts:
      	ChangeLog
      5e4862d4
    • Paulo Madeira's avatar
      Fix Allegro CL backend problem with temporary files. · d0fa85bd
      Paulo Madeira authored
      * swank-allegro.lisp (swank-compile-string): Don't bind
      *default-pathname-defaults*.
      
      (cherry picked from SLIME commit
      fc001b63)
      
      Conflicts:
      	ChangeLog
      d0fa85bd
    • João Távora's avatar
      Debugger's "copy down to repl" more useful · d5c49066
      João Távora authored
      Still a little broken when called from an error that just happened in
      the REPL itself.
      
      * contrib/sly-mrepl.el (sly-mrepl--eval-for-repl): Accept new argument
      `out-of-band' to eval in channel but in caller's thread.
      (sldb-copy-down-to-repl): Pass `out-of-band' to
      `sly-mrepl--eval-for-repl'.
      
      * contrib/swank-mrepl.lisp (:compile-toplevel): Import FIND-CHANNEL.
      (eval-in-mrepl): New function.
      d5c49066
  6. 24 Mar, 2014 1 commit
    • João Távora's avatar
      Minor fix to sly-mrepl.el · 72a3568b
      João Távora authored
      * contrib/sly-mrepl.el (sly-mrepl-mode, sly-mrepl--insert-output): Make
      prompt read-only but inhibit when inserting output.
      72a3568b
  7. 21 Mar, 2014 1 commit
    • Joao Tavora's avatar
      Enhancements to prompting in sly-mrepl · bea5b077
      Joao Tavora authored
      * sly.el (sly-mode-map): Don't rebind `M-t'
      
      * contrib/sly-mrepl.el (sly-mrepl-new): Don't insert prompt here.
      (sly-mrepl--prompt): deleted.
      (:prompt): insert prompt here, but check if output is waiting to
      arrive.
      (sly-mrepl--prompt): Take prompt argument again.
      (:evaluation-aborted): Don't insert prompt here.
      
      * contrib/swank-mrepl.lisp (drop-unprocessed-events): Send prompt within
      channel bindings.
      (mrepl-eval): Reorganize to always send prompt.
      (read-eval): Don't print (renamed from READ-EVAL-PRINT)
      bea5b077
  8. 19 Mar, 2014 1 commit
    • Joao Tavora's avatar
      Minor tweaks to sly.el · 34a9059d
      Joao Tavora authored
      * sly.el (sldb-local-value-face): Make consistent with inspector.
      (sldb--display-in-prev-sldb-window): Remember to call
      `display-buffer-record-window'.
      34a9059d