[ENH] #2 better VMMaker UI list management when loading a configuration

Rob Withers rwithers12 at mediaone.net
Sun Sep 23 10:35:20 UTC 2001


Here is another update which builds a partial list for availablePlugins when loading a configuration.  The instVar is called allPlugins, but the UI uses this list as the unassigned, or available plugin list.  When a configuration is loaded, we recalculate the partial list of remaining plugins, so that the list in the UI is filtered. 

This also fixes the drag adn drop, so that if a plugin is already in the target list, then we won't add it again.  This doesn't happen as often with the fix above.

Rob


----- Original Message ----- 
From: "Rob Withers" <rwithers12 at mediaone.net>
To: <squeak-dev at lists.squeakfoundation.org>
Sent: Sunday, September 23, 2001 5:55 AM
Subject: [ENH] VMMaker load and save configurations from the UI (was: Re: [ENH] VMMaker v2 first release now available)


> Tim,
> 
> The UI looks great!  I have generated on Win, but not *nix.  I still need to build, but I noticed that *nix has configure and Makefile.in, so I assume it works.
> 
> Here is an enhancement that adds buttons to load and save configurations from the UI.  I added a 'self changed: #reinitialize to the #loadConfigurationFrom: method, so that the UI will update.  It was very easy to add the buttons and the logic.
> 
> Rob
> 
> ----- Original Message ----- 
> From: "Tim Rowledge" <tim at sumeru.stanford.edu>
> To: <squeak-dev at lists.squeakfoundation.org>
> Sent: Sunday, September 23, 2001 12:38 AM
> Subject: [ENH] VMMaker v2 first release now available
> 
> 
> > After far too long, we (John McIntosh and I) finally have a version of
> > the VMMaker that should be usable by anyone. You too can at last earn
> > that coveted VM Builder Certification! Think of the career enhancing
> > properties that magnificent paper
> > (http://sumeru.stanford.edu/tim/pooters.SqueakVMBuilderCertificate.pdf)
> > will proffer!
> > 
> > Basically, VMMaker is a fairly major rejigging of the vm code generation
> > process that allows us to remove all those big strings from the image
> > (saving something like 1/2 Mb in the process) and store them in a form
> > very suited to a CVS (or other source control system) whilst providing
> > a tool that allows easy reconfiguration of the vm and integrating all
> > the platform specific code into a simple uniform tree. Consider it the
> > vm side of the modularity tools.
> > 
> > Note that it doesn't (at the moment) actually compile the code. You will
> > still have to do the appropriate magic incantations to invoke your
> > compiler/linker/bit-mangler. With luck we will soon be able to do even
> > this via that wonderful OS Process package David Lewis provided; perhaps
> > with some extra clever help even generate the makefile dynamically?
> > 
> > The code is available at
> > http://sumeru.stanford.edu/tim/pooters/sqFiles/deltas/VMMaker-3-1-version2.rel1.cs
> > 
> > The accompanying 'platforms' tree which now contains all the static code
> > including the legendary 'Cross' platform is available in a "checked out
> > of cvs on linux" form, zipped, at
> > http://sumeru.stanford.edu/tim/pooters/sqFiles/deltas/platforms20010922.zip
> > 
> > Somebody that actually knows how to drive cvs as if they have a clue
> > should please import this into our SourceForge partition. It seems to
> > be workable on my linux machine (I have checked in & out via linux,
> > Acorn and Mac) but that's about as far as my skill with cvs goes.
> > 
> > So how do you use this? Simple; read the fine manual included in the
> > project preamble. CVS checkout the platforms tree from SourceForge, file
> > the changeset into an image (seems all ok anywhere from 4282 to latest
> > 4343, no idea about earlier) and do 'VMMakerTool openInWorld'. Drag
> > plugins from 'available' to either 'internal' or 'external'. Press one
> > of the buttons. Wait....
> > Resultant sources and assorted platform specific makefiles etc will
> > appear in 'src' (unles you edit the appropriate text field) ready for
> > you to do complier magic.
> > 
> > Use the VMMaker, Luke.
> > 
> > tim & jmm
> > -- 
> > Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
> > Useful random insult:- Been playing with the pharmacy section again.
> > 
> > 
> > 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VMMaker-mods.2.cs
Type: application/octet-stream
Size: 9379 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010923/778ddfb2/VMMaker-mods.2.obj


More information about the Squeak-dev mailing list