[squeak-dev] The Trunk: System-cbc.363.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Aug 26 23:34:28 UTC 2010
Bert Freudenberg uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-cbc.363.mcz
==================== Summary ====================
Name: System-cbc.363
Author: cbc
Time: 26 August 2010, 4:27:56.467 pm
UUID: bac80124-a05f-dd47-b1ae-f52d4b172282
Ancestors: System-mha.362
Modified SmalltalkImage>>unloadAllKnownPackages to flag those packages to be ignored in future trunk updates.
=============== Diff against System-mha.362 ===============
Item was changed:
----- Method: SmalltalkImage>>unloadAllKnownPackages (in category 'shrinking') -----
unloadAllKnownPackages
"Unload all packages we know how to unload and reload"
"Prepare unloading"
Smalltalk zapMVCprojects.
Flaps disableGlobalFlaps: false.
StandardScriptingSystem removeUnreferencedPlayers.
Project removeAllButCurrent.
#('Morphic-UserObjects' 'EToy-UserObjects' 'Morphic-Imported' )
do: [:each | SystemOrganization removeSystemCategory: each].
Smalltalk at: #ServiceRegistry ifPresent:[:aClass|
SystemChangeNotifier uniqueInstance
noMoreNotificationsFor: aClass.
].
World removeAllMorphs.
"Go unloading"
#( 'ReleaseBuilder' 'ScriptLoader'
'311Deprecated' '39Deprecated'
'Universes' 'SMLoader' 'SMBase' 'Installer-Core'
'VersionNumberTests' 'VersionNumber'
'Services-Base' 'PreferenceBrowser' 'Nebraska'
'ToolBuilder-MVC' 'ST80'
'CollectionsTests' 'GraphicsTests' 'KernelTests' 'MorphicTests'
'MultilingualTests' 'NetworkTests' 'ToolsTests' 'TraitsTests'
'SystemChangeNotification-Tests' 'FlexibleVocabularies'
'EToys' 'Protocols' 'XML-Parser' 'Tests' 'SUnitGUI'
+ ) do: [:pkgName|
+ (MCPackage named: pkgName) unload.
+ MCMcmUpdater disableUpdatesOfPackage: pkgName.
+ ].
- ) do:[:pkgName| (MCPackage named: pkgName) unload].
"Traits use custom unload"
Smalltalk at: #Trait ifPresent:[:aClass| aClass unloadTraits].
"Post-unload cleanup"
MCWorkingCopy flushObsoletePackageInfos.
SystemOrganization removeSystemCategory: 'UserObjects'.
Presenter defaultPresenterClass: nil.
World dumpPresenter.
ScheduledControllers := nil.
Preferences removePreference: #allowEtoyUserCustomEvents.
SystemOrganization removeEmptyCategories.
ChangeSet removeChangeSetsNamedSuchThat:[:cs | (cs == ChangeSet current) not].
Undeclared removeUnreferencedKeys.
StandardScriptingSystem initialize.
MCFileBasedRepository flushAllCaches.
MCDefinition clearInstances.
Behavior flushObsoleteSubclasses.
ChangeSet current clear.
ChangeSet current name: 'Unnamed1'.
Smalltalk flushClassNameCache.
Smalltalk at: #Browser ifPresent:[:br| br initialize].
DebuggerMethodMap voidMapCache.
DataStream initialize.
Smalltalk forgetDoIts.
AppRegistry removeObsolete.
FileServices removeObsolete.
Preferences removeObsolete.
TheWorldMenu removeObsolete.
Smalltalk garbageCollect.
Symbol compactSymbolTable.
TheWorldMainDockingBar updateInstances.
MorphicProject defaultFill: (Color gray: 0.9).
World color: (Color gray: 0.9).
!
More information about the Squeak-dev
mailing list
|