Frank Shearar uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-fbs.547.mcz==================== Summary ====================
Name: System-fbs.547
Author: fbs
Time: 14 June 2013, 7:12:34.749 pm
UUID: 88bd0b26-fbc3-4914-963e-32a6f8a28b65
Ancestors: System-fbs.546
The brand new CompressionTests is unloadable.
=============== Diff against System-fbs.546 ===============
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'
+ 'CompressionTests'
'CollectionsTests' 'GraphicsTests' 'KernelTests' 'MorphicTests'
'MultilingualTests' 'NetworkTests' 'ToolsTests' 'TraitsTests'
'SystemChangeNotification-Tests' 'FlexibleVocabularies'
'EToys' 'Protocols' 'XML-Parser' 'Tests' 'SUnitGUI'
'Help-Squeak' 'HelpSystem' 'SystemReporter'
) do: [:pkgName|
(MCPackage named: pkgName) unload.
MCMcmUpdater disableUpdatesOfPackage: pkgName.
].
"Traits use custom unload"
Smalltalk at: #Trait ifPresent:[:aClass| aClass unloadTraits].
"Post-unload cleanup"
SmalltalkImage cleanUp.
MCWorkingCopy flushObsoletePackageInfos. "aggressive cleanUp"
SystemOrganization removeSystemCategory: 'UserObjects'.
Presenter defaultPresenterClass: nil.
World dumpPresenter.
ScheduledControllers := nil.
Preferences removePreference: #allowEtoyUserCustomEvents.
SystemOrganization removeEmptyCategories.
StandardScriptingSystem initialize. "aggressive cleanUp"
ChangeSet removeChangeSetsNamedSuchThat:[:cs | (cs == ChangeSet current) not].
ChangeSet current clear.
ChangeSet current name: 'Unnamed1'.
Smalltalk at: #Browser ifPresent:[:br| br initialize].
DebuggerMethodMap voidMapCache.
DataStream initialize.
Smalltalk garbageCollect.
MorphicProject defaultFill: (Color gray: 0.9).
World color: (Color gray: 0.9).
!