The method/function (delete-elements*...) isn't defined but used in buffer.lisp.
McCLIM is running on CLISP 2.41.
You need to update to the latest flexichain from CVS.
Cyrus
On Jan 31, 2008, at 12:56 PM, Evgeny M. Zubok wrote:
The method/function (delete-elements*...) isn't defined but used in buffer.lisp.
McCLIM is running on CLISP 2.41.
mcclim-devel mailing list mcclim-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel
Cyrus Harmon wrote:
You need to update to the latest flexichain from CVS.
Is there any way we could modify the ASDF definitions to make this obvious? I.e., does flexichain have meaningful version numbers, and could we get those into the mcclim asd file?
It seems undesirable that people have to discover this over and over....
Best, R
Robert Goldman rpgoldman@real-time.com writes:
Is there any way we could modify the ASDF definitions to make this obvious? I.e., does flexichain have meaningful version numbers, and could we get those into the mcclim asd file?
Yes, it does have version numbers (the required version is 1.4, I think). I've forgotten how to specify version dependencies in ASDF system definitions though.
Troels Henriksen wrote:
Robert Goldman rpgoldman@real-time.com writes:
Is there any way we could modify the ASDF definitions to make this obvious? I.e., does flexichain have meaningful version numbers, and could we get those into the mcclim asd file?
Yes, it does have version numbers (the required version is 1.4, I think). I've forgotten how to specify version dependencies in ASDF system definitions though.
Modifying the asd definition as follows seems to work. Unless I hear an objection (should this be 1.4 instead of 1.4.1?) I will commit this later today. Cheers, R
Index: mcclim.asd =================================================================== RCS file: /project/mcclim/cvsroot/mcclim/mcclim.asd,v retrieving revision 1.75 diff -b -u -F^(def -r1.75 mcclim.asd --- mcclim.asd 31 Jan 2008 12:14:05 -0000 1.75 +++ mcclim.asd 1 Feb 2008 13:48:14 -0000 @@ -119,7 +119,7 @@ (defsystem :clim-lisp (:file "package" :depends-on ("Lisp-Dep" "patch"))))
(defsystem :clim-basic - :depends-on (:clim-lisp :spatial-trees :flexichain) + :depends-on (:clim-lisp :spatial-trees (:version "flexichain" "1.4.1")) :components ((:file "decls") (:file "protocol-classes" :depends-on ("decls")) (:module "Lisp-Dep"
1.4 (or possibly even 1.3) should restore buildability, 1.4.1 should restore workability as it fixes a bug introduced in 1.4. I'd say use 1.4.1.
Cyrus
On Feb 1, 2008, at 5:49 AM, Robert Goldman wrote:
Troels Henriksen wrote:
Robert Goldman rpgoldman@real-time.com writes:
Is there any way we could modify the ASDF definitions to make this obvious? I.e., does flexichain have meaningful version numbers, and could we get those into the mcclim asd file?
Yes, it does have version numbers (the required version is 1.4, I think). I've forgotten how to specify version dependencies in ASDF system definitions though.
Modifying the asd definition as follows seems to work. Unless I hear an objection (should this be 1.4 instead of 1.4.1?) I will commit this later today. Cheers, R
Index: mcclim.asd
RCS file: /project/mcclim/cvsroot/mcclim/mcclim.asd,v retrieving revision 1.75 diff -b -u -F^(def -r1.75 mcclim.asd --- mcclim.asd 31 Jan 2008 12:14:05 -0000 1.75 +++ mcclim.asd 1 Feb 2008 13:48:14 -0000 @@ -119,7 +119,7 @@ (defsystem :clim-lisp (:file "package" :depends-on ("Lisp-Dep" "patch"))))
(defsystem :clim-basic
- :depends-on (:clim-lisp :spatial-trees :flexichain)
- :depends-on (:clim-lisp :spatial-trees (:version "flexichain"
"1.4.1")) :components ((:file "decls") (:file "protocol-classes" :depends-on ("decls")) (:module "Lisp-Dep"
Troels Henriksen athas@sigkill.dk writes:
Troels, I have another bug in DREI. When I try to type any letter in text field (for example, in calculator example) then I get error in function stroke-drawing-fn:
+: NIL is not a number [Condition of type SIMPLE-TYPE-ERROR]
I looked up at the locals and saw that argument 'stroke' of this function has following value
"#S(DREI::DISPLAYED-STROKE :START-OFFSET 0 :END-OFFSET 1 :DRAWING-OPTIONS #S(DREI:DRAWING-OPTIONS :FACE #S(DREI:FACE :INK #1=#.CLIM:+FOREGROUND-INK+ :STYLE NIL) :FUNCTION #<COMPILED-FUNCTION #:|102 108 (DEFCONSTANT +DEFAULT-STROKE-DRAWER-DISPATCHER+ #'(LAMBDA # #) ...)-5-1|>) :DIRTY T :MODIFIED NIL :DIMENSIONS #S(DREI::DIMENSIONS :X1 54 :Y1 19.0d0 :X2 63 :Y2 33.0d0 :CENTER 11) :WIDTHS #(NIL 9) :PARTS ((0 1)))"
I think that this error raise in (draw-text* stream object (+ cursor-x width) when 'width' is nil (:WIDTHS #(NIL 9) in arguments). I don't know internals of Drei at all so I can't give you more details.
"Evgeny M. Zubok" evgeny.zubok@tochka.ru writes:
I think that this error raise in (draw-text* stream object (+ cursor-x width) when 'width' is nil (:WIDTHS #(NIL 9) in arguments). I don't know internals of Drei at all so I can't give you more details.
Indeed, I committed a patch to fix this. I wonder why it didn't happen more often, actually. Thanks for the bug report.
Cyrus Harmon ch-mcclim@bobobeach.com writes:
You need to update to the latest flexichain from CVS.
Thank you.