From msimmons at common-lisp.net Tue Feb 7 15:48:15 2012 From: msimmons at common-lisp.net (CVS User msimmons) Date: Tue, 07 Feb 2012 07:48:15 -0800 Subject: [slime-cvs] CVS slime Message-ID: Update of /project/slime/cvsroot/slime In directory tiger.common-lisp.net:/tmp/cvs-serv30978 Modified Files: swank-lispworks.lisp ChangeLog Log Message: swank-lispworks.lisp (dspec-file-position): Fall back to regexp search if dspec-stream-position gets an error. --- /project/slime/cvsroot/slime/swank-lispworks.lisp 2012/01/06 09:02:43 1.147 +++ /project/slime/cvsroot/slime/swank-lispworks.lisp 2012/02/07 15:48:14 1.148 @@ -659,7 +659,7 @@ (with-open-file (stream file) (let ((pos #-(or lispworks4.1 lispworks4.2) - (dspec-stream-position stream dspec))) + (ignore-errors (dspec-stream-position stream dspec)))) (if pos (list :position (1+ pos)) (dspec-function-name-position dspec `(:position 1))))))) --- /project/slime/cvsroot/slime/ChangeLog 2012/01/06 09:02:43 1.2293 +++ /project/slime/cvsroot/slime/ChangeLog 2012/02/07 15:48:15 1.2294 @@ -1,3 +1,8 @@ +2012-02-07 Martin Simmons (martin at lispworks.com> + + * swank-lispworks.lisp (dspec-file-position): Fall back to regexp + search if dspec-stream-position gets an error. + 2012-01-06 Helmut Eller Add a "sentinel thread" to protect access to global lists. From sboukarev at common-lisp.net Sun Feb 12 15:38:07 2012 From: sboukarev at common-lisp.net (CVS User sboukarev) Date: Sun, 12 Feb 2012 07:38:07 -0800 Subject: [slime-cvs] CVS slime Message-ID: Update of /project/slime/cvsroot/slime In directory tiger.common-lisp.net:/tmp/cvs-serv11631 Modified Files: ChangeLog swank-clisp.lisp Log Message: * swank-clisp.lisp (c-error): The number of parameters to sys::c-warn was changed, accommodate both versions. --- /project/slime/cvsroot/slime/ChangeLog 2012/02/07 15:48:15 1.2294 +++ /project/slime/cvsroot/slime/ChangeLog 2012/02/12 15:38:06 1.2295 @@ -1,3 +1,8 @@ +2012-02-12 Stas Boukarev + + * swank-clisp.lisp (c-error): The number of parameters to + sys::c-warn was changed, accommodate both versions. + 2012-02-07 Martin Simmons (martin at lispworks.com> * swank-lispworks.lisp (dspec-file-position): Fall back to regexp --- /project/slime/cvsroot/slime/swank-clisp.lisp 2011/12/03 12:03:26 1.99 +++ /project/slime/cvsroot/slime/swank-clisp.lisp 2012/02/12 15:38:06 1.100 @@ -636,8 +636,15 @@ (dynamic-flet ((sys::c-warn *orig-c-warn*)) (signal-compiler-warning cstring args :style-warning *orig-c-style-warn*))) -(defun c-error (cstring &rest args) - (signal-compiler-warning cstring args :error *orig-c-error*)) +(defun c-error (&rest args) + (signal (make-condition 'compiler-condition + :severity :error + :message (apply #'format nil + (if (= (length args) 3) + (cdr args) + args)) + :location (compiler-note-location))) + (apply *orig-c-error* args)) (defimplementation call-with-compilation-hooks (function) (handler-bind ((warning #'handle-notification-condition)) From sboukarev at common-lisp.net Sun Feb 12 17:00:46 2012 From: sboukarev at common-lisp.net (CVS User sboukarev) Date: Sun, 12 Feb 2012 09:00:46 -0800 Subject: [slime-cvs] CVS slime Message-ID: Update of /project/slime/cvsroot/slime In directory tiger.common-lisp.net:/tmp/cvs-serv10730 Modified Files: ChangeLog swank-ecl.lisp Log Message: * swank-ecl.lisp (accept-connection): Use the proper element-type for the stream. --- /project/slime/cvsroot/slime/ChangeLog 2012/02/12 15:38:06 1.2295 +++ /project/slime/cvsroot/slime/ChangeLog 2012/02/12 17:00:46 1.2296 @@ -1,5 +1,10 @@ 2012-02-12 Stas Boukarev + * swank-ecl.lisp (accept-connection): Use the proper element-type + for the stream. + +2012-02-12 Stas Boukarev + * swank-clisp.lisp (c-error): The number of parameters to sys::c-warn was changed, accommodate both versions. --- /project/slime/cvsroot/slime/swank-ecl.lisp 2011/11/27 21:47:15 1.71 +++ /project/slime/cvsroot/slime/swank-ecl.lisp 2012/02/12 17:00:46 1.72 @@ -88,6 +88,9 @@ ((t) :full) ((nil) :none) (:line line)) + :element-type (if external-format + 'character + '(unsigned-byte 8)) :external-format external-format)) (defun accept (socket) "Like socket-accept, but retry on EAGAIN." From sboukarev at common-lisp.net Tue Feb 14 16:46:33 2012 From: sboukarev at common-lisp.net (CVS User sboukarev) Date: Tue, 14 Feb 2012 08:46:33 -0800 Subject: [slime-cvs] CVS slime Message-ID: Update of /project/slime/cvsroot/slime In directory tiger.common-lisp.net:/tmp/cvs-serv11951 Modified Files: ChangeLog Log Message: Fix ChangeLog typo. --- /project/slime/cvsroot/slime/ChangeLog 2012/02/12 17:00:46 1.2296 +++ /project/slime/cvsroot/slime/ChangeLog 2012/02/14 16:46:33 1.2297 @@ -8,7 +8,7 @@ * swank-clisp.lisp (c-error): The number of parameters to sys::c-warn was changed, accommodate both versions. -2012-02-07 Martin Simmons (martin at lispworks.com> +2012-02-07 Martin Simmons * swank-lispworks.lisp (dspec-file-position): Fall back to regexp search if dspec-stream-position gets an error.