Unload MVC classes
Last updated at 1:22 am UTC on 12 February 2016
David T. Lewis lewis at mail.msen.com
Mon Feb 15 04:35:52 UTC 2010
Previous message: [squeak-dev] The Trunk: KernelTests-dtl.139.mcz
Next message: [squeak-dev] Re: MVC now reloadable in trunk
There are a few rough edges, but it is now reasonably safe to unload and
reload MVC in Squeak trunk.
(MCPackage named: 'ToolBuilder-MVC') unload.
(MCPackage named: 'ST80') unload.
ScheduledControllers := nil.
Load package ST80
Load package ToolBuilder-MVC
Evaluate "MVCToolBuilder compileAll".
- MVCToolBuilder needs to be recompiled after reloading. I have not yet found the reason, but something still needs to be fixed here.
- MVC itself is still badly broken, and has been since about Squeak 3.8. Nothing that I did changes that.
- The new methods in category "editors" in class Project should probably be moved to UIManager.
- All senders of Project>>dispatchTo:addPrefixAndSend:withArguments: should be updated to use ToolBuilder, and the #dispatchTo:addPrefixAndSend:withArguments: mechanism should be removed.
Note: There have been fixes to MVC since 2010, but there are still problems.