From: ········@my-deja.com
Subject: Free CLIM progress report
Date: 
Message-ID: <8nvbgf$1ve$1@nnrp1.deja.com>
I would normally send this directly to you, (Mike or Robert), but I am
on business travel and do not have e-mail proberly set up.

I tried Free Clim with Allegro CL Trial Edition 5.0.1 [Linux/X86] and
had several error messages. The majority of them have to do with macros
- specifically &body , &rest and &key paramaters.

When (load-system :clim :interpreted t)
   file         fcn/macro                   line
1) panes.lisp   changing-space-requirement  202
Error: illegal repeated or out of order keyword &BODY in
       (RESIZE-FRAME &BODY BODY)

2) gadgets.lisp drag-callback
Warning: DRAG-CALLBACK is defined more than once as a operator in the
file gadgets.lisp.

3) gadgets.lisp  with-radio-box(&rest options &body body) line 599
Error: illegal repeated keyword &BODY in (&BODY BODY)
  [condition type: PROGRAM-ERROR]

When (compile-system :clim)
4);; Compiling file ./panes.lisp
; While compiling CHANGING-SPACE-REQUIREMENT:
Warning: Variable RESIZE-FRAME is never used.
; While compiling (METHOD CHANGE-SPACE-REQUIREMENTS (COMPOSITE-PANE)):
Error: Misplaced &-keyword: &REST

Line 202, generated by multiple &key in
(defmethod change-space-requirements ((pane composite-pane)
				      &key resize-frame &rest space-req-keys
				      &key space-requirement-width
				      space-requirement-min-width
				      space-requirement-max-width
				      space-requirement-height
				      space-requirement-min-height
				      space-requirement-max-height)


----------------------------------------------------------------------
You may want to test your code on the latest Franz Lisp instead of 4.3.

Dave Linenberg


Sent via Deja.com http://www.deja.com/
Before you buy.

From: Jochen Schmidt
Subject: Re: Free CLIM progress report
Date: 
Message-ID: <39A3C8D0.5A78DD2A@web.de>
········@my-deja.com wrote:

> I would normally send this directly to you, (Mike or Robert), but I am
> on business travel and do not have e-mail proberly set up.
>
> I tried Free Clim with Allegro CL Trial Edition 5.0.1 [Linux/X86] and
> had several error messages. The majority of them have to do with macros
> - specifically &body , &rest and &key paramaters.

Yes I had the same errors with Allegro CL Trial Edition 5.01 [Linux/X86].
After swapping some &body and &key arguments and fiddling around with the other
errors
I've managed to run it.

I'd more problems with CMUCL: FreeClim builds pretty well but if I try to run
the Test-Demo I get an
error. The make-application-frame works and a window with 3 panes appears. If I
run run-frame-top-level
on that frame I get an error with xlib::lookup-window: It was a type-error that
the window-id is not
of type (unsigned-byte 29). (I use XFree 3.3.6 if that helps)
In the frame I see the "Command:" prompt in the top frame and not in the
down-left. The "Command:" prompt
doesn't work after the above mentioned type-error.

BTW:
After looking a while at the sources, I think it would be possible to base
FreeClim on GTK+ (e.g. with CLG).
What do other (particularily the developers) think about that?

Yours sincerely,
Jochen Schmidt
From: Robert STRANDH
Subject: Re: Free CLIM progress report
Date: 
Message-ID: <6wya1nugqc.fsf@napperon.labri.u-bordeaux.fr>
Jochen Schmidt <········@web.de> writes:

> I'd more problems with CMUCL: FreeClim builds pretty well but if I try to run
> the Test-Demo I get an
> error. The make-application-frame works and a window with 3 panes appears. If I
> run run-frame-top-level
> on that frame I get an error with xlib::lookup-window: It was a type-error that
> the window-id is not
> of type (unsigned-byte 29). (I use XFree 3.3.6 if that helps)

I am afraid I can't reproduce this problem.  Does anybody have an idea?

> In the frame I see the "Command:" prompt in the top frame and not in the
> down-left. 

I'll work on this next. 

> BTW:
> After looking a while at the sources, I think it would be possible to base
> FreeClim on GTK+ (e.g. with CLG).
> What do other (particularily the developers) think about that?

When finished, Free CLIM will probably support several underlying
toolkits, even on a system with X11.  We are currently working on
support for CLX, but I imagin some people want support for GTK, Motif,
Tk, etc.

Feel free to put in such support if you like.  I know very little
about GTK myself.  

-- 
Robert Strandh

---------------------------------------------------------------------
Greenspun's Tenth Rule of Programming: any sufficiently complicated C
or Fortran program contains an ad hoc informally-specified bug-ridden
slow implementation of half of Common Lisp.
---------------------------------------------------------------------
From: Robert STRANDH
Subject: Re: Free CLIM progress report
Date: 
Message-ID: <6wvgwrufh6.fsf@napperon.labri.u-bordeaux.fr>
Jochen Schmidt <········@web.de> writes:

> In the frame I see the "Command:" prompt in the top frame and not in the
> down-left.

Fixed!

-- 
Robert Strandh

---------------------------------------------------------------------
Greenspun's Tenth Rule of Programming: any sufficiently complicated C
or Fortran program contains an ad hoc informally-specified bug-ridden
slow implementation of half of Common Lisp.
---------------------------------------------------------------------
From: Robert STRANDH
Subject: Re: Free CLIM progress report
Date: 
Message-ID: <6wzom3uh83.fsf@napperon.labri.u-bordeaux.fr>
········@my-deja.com writes:

> I tried Free Clim with Allegro CL Trial Edition 5.0.1 [Linux/X86] and
> had several error messages. The majority of them have to do with macros
> - specifically &body , &rest and &key paramaters.

As it turnes out, CMUCL does not complain about order and multiple use
of such parameters, which is why we didn't find this problem.

> When (load-system :clim :interpreted t)
>    file         fcn/macro                   line
> 1) panes.lisp   changing-space-requirement  202
> Error: illegal repeated or out of order keyword &BODY in
>        (RESIZE-FRAME &BODY BODY)

Fixed!

> 2) gadgets.lisp drag-callback
> Warning: DRAG-CALLBACK is defined more than once as a operator in the
> file gadgets.lisp.

Fixed (I think)!  There were multiple defgeneric. 

> 3) gadgets.lisp  with-radio-box(&rest options &body body) line 599
> Error: illegal repeated keyword &BODY in (&BODY BODY)
>   [condition type: PROGRAM-ERROR]

Fixed!

> When (compile-system :clim)
> 4);; Compiling file ./panes.lisp
> ; While compiling CHANGING-SPACE-REQUIREMENT:
> Warning: Variable RESIZE-FRAME is never used.
> ; While compiling (METHOD CHANGE-SPACE-REQUIREMENTS (COMPOSITE-PANE)):
> Error: Misplaced &-keyword: &REST
> 
> Line 202, generated by multiple &key in
> (defmethod change-space-requirements ((pane composite-pane)
> 				      &key resize-frame &rest space-req-keys
> 				      &key space-requirement-width
> 				      space-requirement-min-width
> 				      space-requirement-max-width
> 				      space-requirement-height
> 				      space-requirement-min-height
> 				      space-requirement-max-height)

Fixed!

-- 
Robert Strandh

---------------------------------------------------------------------
Greenspun's Tenth Rule of Programming: any sufficiently complicated C
or Fortran program contains an ad hoc informally-specified bug-ridden
slow implementation of half of Common Lisp.
---------------------------------------------------------------------