1- | manifest load | "Update Trunk image" [MCMcmUpdater default doUpdate: false] on: Warning do: [:ex | ex resume: true]. "Disable underscore as assignment, allowing underscores in method names." Scanner allowUnderscoreAsAssignment: false. TranscriptStream characterLimit: 1000000. manifest := #( squeak 'FFI' 0 ('FFI-Pools' 'FFI-Kernel') squeak 'FFI' "Split up because of how extension methods are loaded" 1 ('FFI-Libraries' 'FFI-Tools' 'FFI-Callbacks' 'FFI-Tests' 'FFI-PoolsTests' 'FFI-CallbacksTests') squeak 'VMMaker' 6 ('CogPools-ISAs' 'BytecodeSets.spur' 'VMMaker.oscog' 'VMMakerUI' 'Cog' 'CogTools' 'ImageFormat' 'FileAttributesPlugin.oscog') squeaksource 'AioPlugin' 7 ('VMConstruction-Plugins-AioPlugin.oscog') squeaksource 'Alien' 0 ('Alien-Core' 'Alien-Tests-Core' 'Alien-Win32') squeaksource 'FreeType' 5 ('FreeTypeConstants' "'FreeType'") squeaksource 'FreetypePlugin' 8 ('Freetype-Plugin') squeaksource 'OSProcess' 4 ('OSProcess') squeaksource 'OSProcessPlugin' 9 ('VMConstruction-Plugins-OSProcessPlugin.oscog') squeaksource 'rb' 5 ('AST-Core' 'AST-Semantic' 'AST-Tests-Core' 'AST-Tests-Semantic' 'Refactoring-Changes' 'Refactoring-Core' 'Refactoring-Environment' 'Refactoring-Tests-Changes' 'Refactoring-Tests-Core' 'Refactoring-Tests-Environment' 'Refactoring-Squeak-Platform' 'Refactoring-Critics' 'Refactoring-Spelling') squeaksource 'Speech' "This for the Klatt speech synthesiser, but seems to be AWOL" 2 ('SharedPool-Speech' ) squeaksource 'XDCP' 9 ('VMConstruction-Plugins-XDisplayControlPlugin.oscog' ) squeaksource 'Balloon3D' 9 ('Balloon3D-Constants' 'Balloon3D-Plugins' ) squeaksource 'Cryptography' 9 ('CryptographyPlugins' ) squeaksource 'Printf' 5 ('NumberPrinter' 'Printf') squeaksource 'VectorEnginePlugin' 9 ('VectorEnginePlugin') squeaksource 'dbus' 9 ('DBus-Plugin') squeaksource 'Rome' 9 ('Rome-Base' 'Rome-PluginCanvas' 'Rome-Plugin') squeaksource 'GStreamer' 9 ('GStreamer-Plugins') ). "AndreasSystemProfiler and AssemblerMethod are now in trunk now in trunk" #(AndreasSystemProfiler AssemblerMethod) with: #((squeak 'VMMaker' 9 ('AndreasProfiler')) (squeak 'VMMaker' 3 ('MethodMassage'))) do: [:className :addition| (Smalltalk classNamed: className) ifNil: [manifest := manifest, addition]]. load := Array streamContents: [:s | manifest groupsDo: [:installerSymbol :project :order :packages | | installer | installer := Installer perform: installerSymbol. installer project: project. installer packages addAll: packages. s nextPut: order -> installer]]. load := (load sorted: [:a :b | a key <= b key]) collect: [:ea | ea value]. load do: [:installer | installer installQuietly]. self currentWorld findATranscript: nil. Project uiManager edit: (FileDirectory default fileNamed: 'Workspace.text') contentsOfEntireFile label: 'Overview' shouldStyle: false. #('VM Simulation' 'Source Generation' 'Slang Test' 'In-image Compilation') reverseDo: [:nickname| | label | label := nickname, ' Workspace'. Project uiManager edit: (FileDirectory default fileNamed: label, '.text') contentsOfEntireFile label: label shouldStyle: true]. Utilities appendToCommonRequests: '-\VMMaker generateConfiguration\VMMaker generateAllConfigurationsUnderVersionControl\VMClass openCogMultiWindowBrowser\VMClass openObjectMemoriesInterpretersBrowser\VMClass openSpurMultiWindowBrowser' withCRs. CodeHolder useMultiWindowBrowsers: true. #('Cog' 'CogTools' 'VMMaker') do: [:pkg| (PackageInfo named: pkg) classes do: [:c| c organization sortCategories. c class organization sortCategories]]. (Smalltalk classNamed: #StackInterpreter) withAllSubclasses do: [:sic| sic reorganizeAsISeeFit]. Smalltalk snapshot: true andQuit: true
1+ | manifest load |
2+
3+ " Update Trunk image"
4+ [MCMcmUpdater default doUpdate: false ] on: Warning do: [:ex | ex resume : true ].
5+
6+ " Disable underscore as assignment, allowing underscores in method names."
7+ Scanner allowUnderscoreAsAssignment: false .
8+ TranscriptStream characterLimit: 1000000 .
9+
10+ manifest := #(
11+ squeak 'FFI'
12+ 0 ('FFI-Pools' 'FFI-Kernel')
13+ squeak ' FFI' " Split up because of how extension methods are loaded"
14+ 1 (' FFI-Libraries' ' FFI-Tools' ' FFI-Callbacks'
15+ ' FFI-Tests' ' FFI-PoolsTests' ' FFI-CallbacksTests' )
16+ squeak ' VMMaker'
17+ 6 (' CogPools-ISAs' ' BytecodeSets.spur' ' VMMaker.oscog' ' VMMakerUI'
18+ ' Cog' ' CogTools' ' ImageFormat' ' FileAttributesPlugin.oscog' )
19+ squeaksource ' AioPlugin'
20+ 7 (' VMConstruction-Plugins-AioPlugin.oscog' )
21+ squeaksource ' Alien'
22+ 0 (' Alien-Core' ' Alien-Tests-Core' ' Alien-Win32' )
23+ squeaksource ' FreeType'
24+ 5 (' FreeTypeConstants' " 'FreeType'" )
25+ squeaksource ' FreetypePlugin'
26+ 8 (' Freetype-Plugin' )
27+ squeaksource ' OSProcess'
28+ 4 (' OSProcess' )
29+ squeaksource ' OSProcessPlugin'
30+ 9 (' VMConstruction-Plugins-OSProcessPlugin.oscog' )
31+ squeaksource ' rb'
32+ 5 (' AST-Core' ' AST-Semantic' ' AST-Tests-Core' ' AST-Tests-Semantic'
33+ ' Refactoring-Changes' ' Refactoring-Core' ' Refactoring-Environment'
34+ ' Refactoring-Tests-Changes' ' Refactoring-Tests-Core'
35+ ' Refactoring-Tests-Environment' ' Refactoring-Squeak-Platform'
36+ ' Refactoring-Critics' ' Refactoring-Spelling' )
37+ squeaksource ' Speech' " This for the Klatt speech synthesiser, but seems to be AWOL"
38+ 2 (' SharedPool-Speech' )
39+ squeaksource ' XDCP'
40+ 9 (' VMConstruction-Plugins-XDisplayControlPlugin.oscog' )
41+ squeaksource ' Balloon3D'
42+ 9 (' Balloon3D-Constants' ' Balloon3D-Plugins' )
43+ squeaksource ' Cryptography'
44+ 9 (' CryptographyPlugins' )
45+ squeaksource ' Printf'
46+ 5 (' NumberPrinter' ' Printf' )
47+ squeaksource ' VectorEnginePlugin'
48+ 9 (' VectorEnginePlugin' )
49+ squeaksource ' dbus'
50+ 9 (' DBus-Plugin' )
51+ squeaksource ' Rome'
52+ 9 (' Rome-Base' ' Rome-PluginCanvas' ' Rome-Plugin' )
53+ squeaksource ' GStreamer'
54+ 9 (' GStreamer-Plugins' )
55+ ).
56+ " AndreasSystemProfiler and AssemblerMethod are now in trunk now in trunk"
57+ #(AndreasSystemProfiler AssemblerMethod)
58+ with: #((squeak 'VMMaker' 9 ('AndreasProfiler') )
59+ (squeak ' VMMaker' 3 (' MethodMassage' )))
60+ do: [:className :addition |
61+ (Smalltalk classNamed: className) ifNil:
62+ [manifest := manifest, addition]].
63+
64+ load := Array streamContents: [:s |
65+ manifest groupsDo: [:installerSymbol :project :order :packages |
66+ | installer |
67+ installer := Installer perform: installerSymbol.
68+ installer project: project.
69+ installer packages addAll: packages.
70+ s nextPut: order - > installer]].
71+ load := (load sorted: [:a :b | a key <= b key]) collect: [:ea | ea value].
72+ load do: [:installer | installer installQuietly].
73+
74+ self currentWorld findATranscript: nil .
75+
76+ Project uiManager
77+ edit: (FileDirectory default fileNamed: ' Workspace.text' ) contentsOfEntireFile
78+ label: ' Overview'
79+ shouldStyle: false .
80+
81+ #('VM Simulation' 'Source Generation' 'Slang Test' 'In-image Compilation')
82+ reverseDo: [:nickname | | label |
83+ label := nickname, ' Workspace' .
84+ Project uiManager
85+ edit: (FileDirectory default fileNamed: label, ' .text' ) contentsOfEntireFile
86+ label: label
87+ shouldStyle: true ].
88+
89+ Utilities appendToCommonRequests: ' -\VMMaker generateConfiguration\VMMaker generateAllConfigurationsUnderVersionControl\VMClass openCogMultiWindowBrowser\VMClass openObjectMemoriesInterpretersBrowser\VMClass openSpurMultiWindowBrowser' withCRs.
90+
91+ CodeHolder useMultiWindowBrowsers: true .
92+
93+ #('Cog' 'CogTools' 'VMMaker') do:
94+ [:pkg |
95+ (PackageInfo named: pkg) classes do:
96+ [:c |
97+ c organization sortCategories.
98+ c class organization sortCategories]].
99+
100+ (Smalltalk classNamed: #StackInterpreter ) withAllSubclasses do:
101+ [:sic | sic reorganizeAsISeeFit].
102+
103+ Smalltalk snapshot: true andQuit: true
0 commit comments