[squeak-dev] Loading code without adding to the changes file (was Re: The Trunk: System-cmm.1214.mcz)

tim Rowledge tim at rowledge.org
Thu Feb 25 23:27:51 UTC 2021


Plausible looking changeset for this; since it touches several packages it makes more sense to share a test version this way.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: NoWriteChangeToFile.5.cs
Type: application/octet-stream
Size: 3333 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210225/fc08f2ab/attachment.obj>
-------------- next part --------------


One minor oddity that might need altering is that the ClassDescription preference is on the instance side rather than the class side; this is checked for in the pragma/preference adding code and so I've ended up with class side methods for the actual preference setting & pragma but an instance side usage of the added class variable. It feels messy somehow but it does work.

If you disable 'Warn if no changes file', 'Warn if no sources file', 'Read document at startup', 'Log compilations to changes file' and load the DoItFirst package you can save an image, delete its changes and run a command like -
`squeak my.image -doit DoSomething &`
and have a server running that won't try to log any code being compiled.


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Science adjusts its views based on what is observed. Faith denies observation so belief can be preserved



More information about the Squeak-dev mailing list