Re: Metaclass & McCLIM revisited

"Paul Werkowski (as pw at snoopy dot qozzy dot com)" <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>
An update. Since last month's post, LispWorks friendly changes have been 
made to McCLIM. The changes include:

* Moving dynamic-variable code to it's own package, CLIM-SYS/DYNAMIC-VARS.

* A new macro DEFINE-CLASS-WITH-DYNAMIC-SLOTS, arranges for a superclass 
of the user class to have a package-private slot containing a vector  
with elements being the actual dynamic-variable objects. User slots are 
as normally seen.

* ALLOCATE-INSTANCE, specialized on the metaclass, installs the zero 
length adjustable vector.

* INITIALIZE-INSTANCE :AFTER then installs dynamic-variable instances in 
the vector indexed by SLOT-DEFINITION-LOCATION and initialized as 
required from SLOT-VALUE.

So, LispWorks inspector/debugger looking a DV instance will just work.

These changes can be seen in the input-editing branch of the git 
repository which I think will be the next release.

Now, (ql:quickload  "mcclim") will just work. The few patches to loaded 
code as shown in the previous build file are still needed for the system 
to run and I have been assured those changes will soon be in the 
source.  With all that, the   (clim-demo:demodemo)  examples, including 
the three concurrent ones work.

Paul




_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.