I could use some pointers on the status of McCLIM on the Mac. In
particular, I am interested in how to run against the native graphics
system rather than having to run the X11 server.
I have looked a bit on the beagle backend but I cannot get it to
work. A few fixes is needed just to get it to compile. Once that is
done, it does compile and load but once an application (such as the
calculator demo) is started, the lisp process freezes with output to
the effect of:
? 2007-04-22 20:07:…
[View More]30.708 dppccl[2492] *** Assertion failure in -[NSWindowGraphicsContext reenableDisplayPosting], GraphicsContext.subproj/NSWindowGraphicsContext.m:117
2007-04-22 20:07:30.708 dppccl[2492] *** Assertion failure in -[NSViewHierarchyLock unlockTopMostReader], AppKit.subproj/NSViewHierarchyLock.m:444
2007-04-22 20:07:30.710 dppccl[2492] Error in event loop: Objective-C runtime exception:
Invalid parameter not satisfying: th
suggesting something going wrong deep down below the lisp level. This
was with the latest mcclim CVS, OpenMCL 1.0 and PPC OSX 10.4.9.
Before diving in I would like to know if the beagle backend is
considered dead beyond repair (or at least if others than myself has
any interest in it). Are there alternatives, can the gtkairo or opengl
backends be brought to fly without X11?
------------------------+-----------------------------------------------------
Christian Lynbech | christian #\@ defun #\. dk
------------------------+-----------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
- petonic(a)hal.com (Michael A. Petonic)
[View Less]
Folks,
A patch implementing the beginnings of a C syntax for McClim/climacs
can be found at http://common-lisp.net/~dmurray/mcclim-c.tar.gz . It
is quite ugly at the moment, but I thought it best to make it
available now than watch it rot. The file contains a diff and 3
additional files: c-syntax.lisp, c-syntax-commands.lisp and
lr-syntax.lisp. This last contains code that is now common to the C
and Lisp syntaxes.
Have fun!
JQS
Hello, McClimmers,
I run Debian GNU/Linux, mostly "stable", some "testing". I'm using SBCL.
I followed the instructions here (http://mcclim.cliki.net/GettingStarted) and
got clean compiles on everything. (Well, I never got the debugger, at least,
so I assume they were clean. :)
The clim demo fails with some kind of font problem:
> * (clim-demo::run-test 'clim-demo::demodemo)
> Received CLX NAME-ERROR in process "#<CLIM-CLX::CLX-PORT :HOST \"localhost\" :DISPLAY-ID 0
> {…
[View More]C8B6749}>'s event process."
>
> debugger invoked on a XLIB:NAME-ERROR in thread #<THREAD "#<CLIM-CLX::CLX-PORT :HOST \"loc
> alhost\" :DISPLAY-ID 0 {C8B6749}>'s event process." {BAE9961}>:
> Asynchronous NAME-ERROR in request 36 (last request was 37) Code 45.0 [OpenFont]
> Received CLX FONT-ERROR in process "initial process"
>
> debugger invoked on a XLIB:FONT-ERROR in thread #<THREAD "initial thread" {A7BD4A1}>:
> FONT-ERROR in current request Code 47.0 [QueryFont] ID #x5E00019
>
> Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
>
> restarts (invokable by number or by possibly-abbreviated name):
> 0: [ABORT] Exit debugger, returning to top level.
>
> (XLIB::X-ERROR XLIB:FONT-ERROR
> :DISPLAY #<XLIB:DISPLAY localhost:0 (The X.Org Foundation R70101000)>
> :ERROR-KEY XLIB:FONT-ERROR
> :ASYNCHRONOUS NIL
> :CURRENT-SEQUENCE 37
> :RESOURCE-ID 98566169
> :MAJOR 47
> :MINOR 0
> :SEQUENCE 37)
> 0] 0
I *think* this is the relevant part of the backtrace:
> 3: (XLIB::REPORT-ERROR
> #<XLIB:DISPLAY localhost:0 (The X.Org Foundation R70101000)>
> 7
> XLIB:FONT-ERROR
> :ASYNCHRONOUS NIL
> :CURRENT-SEQUENCE 400
> :RESOURCE-ID 98566169
> :MAJOR 47
> :MINOR 0
> :SEQUENCE 400)
> 4: (XLIB::READ-REPLY #<unavailable argument> #<unavailable argument>)
> 5: (XLIB::QUERY-FONT
> #<XLIB:FONT -adobe-helvetica-medium-r-normal--24-173-100-100-p-0-iso8859-1 localhost:0 98566169>)
> 6: (XLIB:OPEN-FONT
> #<XLIB:DISPLAY localhost:0 (The X.Org Foundation R70101000)>
> "-adobe-helvetica-medium-r-normal--24-173-100-100-p-0-iso8859-1")
> 7: ((SB-PCL::FAST-METHOD CLIM:TEXT-STYLE-MAPPING (CLIM-CLX::CLX-PORT T))
> #<unavailable argument>
> #<unavailable argument>
> #<CLIM-CLX::CLX-PORT :HOST "localhost" :DISPLAY-ID 0 {C8B6749}>
> #<CLIM:STANDARD-TEXT-STYLE :SANS-SERIF :ROMAN :HUGE>
> NIL)
> 8: (CLIM-CLX::TEXT-STYLE-TO-X-FONT
> #<CLIM-CLX::CLX-PORT :HOST "localhost" :DISPLAY-ID 0 {C8B6749}>
> #<CLIM:STANDARD-TEXT-STYLE :SANS-SERIF :ROMAN :HUGE>)
So I guess
#<CLIM:STANDARD-TEXT-STYLE :SANS-SERIF :ROMAN :HUGE>
gets transformed into
-adobe-helvetica-medium-r-normal--24-173-100-100-p-0-iso8859-1
but I don't actually have that font on my system:
% xlsfonts | grep -e -adobe-helvetica-medium-r-normal--24-173-100-100-p-0-iso8859-1
%
Any advice? (Hopefully other than "install
-adobe-helvetica-medium-r-normal--24-173-100-100-p-0-iso8859-1". :)
Thanks!
-- Larry Clapp
[View Less]