<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">This has been taking me much longer than I expected. Although McCLIM is functionally almost complete, it’s a bit fragile if you don’t exactly play by the rules, and often the rules have to be guessed at or worked out from the source code. Also, I’ve had to work around the unsatisfactory appearance of some things, especially windows created by accept-values. I’ve done new implementations of all of the LKB accept-values calls by explicitly programming gadgets and callbacks.<div><br></div><div>As an example, I attach a screenshot of my select-file dialog. I've realised why select-file is missing from McCLIM - as of CLIM 2 it’s been removed from the standard!</div><div><br></div><div>Ann: so I can test it well, what problems have you had with file selection in Allegro? Are the problems in Windows or in Linux? Might they be caused by having lots of mounted network filesystems, unusual structures of symbolic links, or some of the weird varieties of Microsoft file system mounting (see <a href="https://sourceforge.net/p/sbcl/mailman/message/19520335/">https://sourceforge.net/p/sbcl/mailman/message/19520335/</a>)?</div><div><br></div><div>Apart from the amount of time I’ve spent, I’m pretty pleased with how it’s shaping up.</div><div><br></div><div>John</div><div><br>
<br><div><div>On 7 Nov 2016, at 11:17, Ann Copestake <<a href="mailto:aac10@cl.cam.ac.uk">aac10@cl.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<div bgcolor="#FFFFFF" text="#000000"><p>sounds good - re 1 - file selection is barely working in Allegro
right now anyway. I'll be happy to do some testing if you like,
just not this week ...<br>
</p>
it would be nice to fix that type bug but not exactly essential ...
it's been there quite a few years, after all.<br>
<br>
All best,<br>
<br>
Ann<br>
<br>
<div class="moz-cite-prefix">On 07/11/2016 11:14, John Carroll
wrote:<br>
</div>
<blockquote cite="mid:39A8AA9F-762D-4EA2-8AB5-575EE1840CCD@sussex.ac.uk" type="cite">
This is going so well that I think it’s going to end up as a
viable new public version of the LKB for the average non-expert
user. So I’ll finish the job off and make sure it runs in SBCL.
Clozure CL and SBCL both have good Linux versions, so it might
also be useful for the average Linux user.
<div>
<div><br>
</div>
<div>In total I’ve made around 50 minor edits to LKB code. The
main reasons have been:
<div><br>
</div>
<div>1. McCLIM does not (yet) implement all of the CLIM spec</div>
<div>2. The CLIM spec is unclear in places, and the LKB
sometimes relies too much on the behaviour of Allegro CL
CLIM</div>
<div>3. Some LKB code uses features of Allegro CL CLIM that
are not in the spec</div>
<div><br>
</div>
<div>Re 1, the largest gap is lack of select-file, so I’m
adopting/adapting a file selector from another CLIM-based
program. In category 2, the most widespread problems are
omission of explicit define-presentation-type declarations
for presentation types, and an assumption that panes are
created ‘eagerly’ - whereas McCLIM does this lazily when it
actually displays the window (which seems to be allowed by
the spec). There’s one issue in category 3 that currently
has me stumped for a work-around (changing the colour of
text before a redisplay) but I’m sure I’ll figure something
out.</div>
<div><br>
</div>
<div>So far I haven’t tried to go further than (load-system
"lkb”), and haven’t looked at any non-graphics related code,
e.g. in pvm, psql.</div>
<div><br>
</div>
<div>John</div>
<div><br>
</div>
<div>PS While I’m at it, should I fix the bug described at <a moz-do-not-send="true" href="http://moin.delph-in.net/LkbBugs">http://moin.delph-in.net/LkbBugs</a>
? It’s probably in code I originally wrote in
src/main/checktypes.lsp</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div>On 5 Nov 2016, at 08:01, Ann Copestake <<a moz-do-not-send="true" href="mailto:aac10@cl.cam.ac.uk">aac10@cl.cam.ac.uk</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000"><p>Hi,</p><p>Fantastic! <br>
</p><p>Did you manage to sort out the other
Allegro-specific stuff? I don't remember exactly
what the remaining issues were with the SBCL
version.</p><p>All best,</p><p>Ann</p><p><br>
</p>
<br>
<div class="moz-cite-prefix">On 04/11/2016 23:56, John
Carroll wrote:<br>
</div>
<blockquote cite="mid:47893745-DBD8-406B-B2EC-615B894E67DC@sussex.ac.uk" type="cite">Hi,
<div><br>
</div>
<div>See the attached screenshot (or <a moz-do-not-send="true" href="http://users.sussex.ac.uk/%7Ejohnca/LKB_CCL_McCLIM_2016-11-04.jpg">http://users.sussex.ac.uk/~johnca/LKB_CCL_McCLIM_2016-11-04.jpg</a>
if the mailing list strips it out): the LKB with
McCLIM graphics running in Clozure Common Lisp on
a Mac. It’s taken me around 3 days to get it
working. There are still a few interface glitches
and hacks I need to sort out, but the basics are
there.</div>
<div><br>
</div>
<div>John</div>
<div><br>
</div>
<div>PS There was a posting in January by a guy
asking about LKB/McCLIM, but it turned out to be
much more tricky than he was suggesting.</div>
<div><br>
</div>
<div><br>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote></div><br></div><div><img apple-inline="yes" id="E81841A4-158F-4B2E-91EA-80A0A7338568" height="449" width="546" apple-width="yes" apple-height="yes" src="cid:80B74141-6624-4E05-A918-334276954BE0@dlink.com"></div><div><br></div></body></html>