Project Refactorings (was: [squeak-dev] The Trunk: System-mt.827.mcz)

David T. Lewis lewis at mail.msen.com
Mon May 9 12:20:52 UTC 2016


Marcel,

This is a great batch of improvements, and I think it will make the projects
mechanism much easier to work with in the future.

Thanks!
Dave


On Mon, May 09, 2016 at 11:41:08AM +0000, commits at source.squeak.org wrote:
> Marcel Taeumel uploaded a new version of System to project The Trunk:
> http://source.squeak.org/trunk/System-mt.827.mcz
> 
> ==================== Summary ====================
> 
> Name: System-mt.827
> Author: mt
> Time: 9 May 2016, 1:41:03.140729 pm
> UUID: e7d678e1-e245-0a49-b449-faca6c947a76
> Ancestors: System-mt.826
> 
> REFACTORING THE PROJECTS MECHANISM
> - Reduce and clean-up the footprint of new project kinds: saveState/loadState, finalEnterActions:/finalExitActions:, startResourceLoading/abortResourceLoading, aboutToLeaveWorld/aboutToEnterWorld (object events), scheduleProcessForEnter/terminateProcessForLeave
> - Reduce full display restoring to #invalidate and #restore, which gives projects the chance to 1) clear their drawing caches and 2) redraw all their graphical objects.
> - Clean-up project add/remove wrt. sub-projects and the whole project hierarchy. See #isTopProject, #beTopProject, #addProject:, #liftSubProjects, #removeProjectsFromSystem
> - Provide a second way -- in addition to the Emergency Evaluator -- for recovering from recursive errors by trying a parent project of a different kind first. See #handlePrimitiveError:. This allows for more convenient recovery of such errors.
> - For shrinking images, make MVCProject class >> #unloadMVC work again. This also applies to MorphicProject class >> #unloadMorphic in the near future.
> 
> =============== Diff against System-mt.826 ===============
> 


More information about the Squeak-dev mailing list