The Trunk: Morphic-ar.364.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-ar.364.mcz

commits-2
Andreas Raab uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ar.364.mcz

==================== Summary ====================

Name: Morphic-ar.364
Author: ar
Time: 26 February 2010, 11:41:56.645 pm
UUID: c7f1ae76-230a-ec49-9a40-6091d3fb752d
Ancestors: Morphic-laza.363

Cleanup for ScrollBar, WorldState, TheWorldMenu, and StandardScriptingSystem.

=============== Diff against Morphic-laza.363 ===============

Item was added:
+ ----- Method: StandardScriptingSystem class>>cleanUp: (in category 'class initialization') -----
+ cleanUp: agressive
+ "Clean up unreferenced players. If agressive, reinitialize and nuke players"
+
+ self removeUnreferencedPlayers.
+ agressive ifTrue:[
+ References keys do: [:k | References removeKey: k].
+ {Player. CardPlayer} do:[:aClass|
+ aClass subclassesDo:[:subClass|
+ subClass isUniClass ifTrue:[Smalltalk removeClassNamed: subClass name].
+ ].
+ ].
+ self initialize.
+ ].!

Item was added:
+ ----- Method: ScrollBar class>>cleanUp (in category 'class initialization') -----
+ cleanUp
+ "Re-initialize the image cache"
+
+ self initializeImagesCache!

Item was added:
+ ----- Method: TheWorldMenu class>>cleanUp (in category 'class initialization') -----
+ cleanUp
+ "Flush out obsolete entries"
+
+ self removeObsolete!

Item was added:
+ ----- Method: WorldState class>>cleanUp (in category 'class initialization') -----
+ cleanUp
+ "Reset command histories"
+
+ self allInstances do: [ :ea | ea clearCommandHistory ].!