author | Claus Gittinger <cg@exept.de> |
Mon, 05 Feb 1996 01:52:28 +0100 | |
changeset 79 | 084235ea4066 |
parent 78 | 603315c4d5a1 |
child 81 | 3428f2142b80 |
permissions | -rw-r--r-- |
12 | 1 |
"/ |
2 |
"/ $Header$ |
|
3 |
"/ |
|
4 |
"/ This file is processed at initial startup |
|
5 |
"/ - not when resuming an image. |
|
6 |
"/ |
|
0 | 7 |
|
12 | 8 |
"/ |
9 |
"/ install uncompiled classes as autoload |
|
10 |
"/ classes ... (if not already present) |
|
11 |
"/ Autoloaded classes will be automatically filed-in |
|
12 |
"/ when first accessed. This allows a smaller executable, |
|
13 |
"/ but creates a short delay, when the class is loaded on |
|
14 |
"/ first access. |
|
15 |
"/ |
|
16 |
"/ You can add more classes to these lists - |
|
17 |
"/ i.e. all your classes you like to have around, |
|
18 |
"/ but which are not needed often enough to justify |
|
19 |
"/ machine code for them ... |
|
0 | 20 |
|
24 | 21 |
|requiredClasses| |
22 |
||
79 | 23 |
"/ OperatingSystem disableSignal:14. |
26 | 24 |
ObjectMemory infoPrinting:false. |
25 |
||
24 | 26 |
Project notNil ifTrue:[ |
27 |
Project setDefaultProject. |
|
25 | 28 |
Project current packageName:#'autoloaded'. |
24 | 29 |
]. |
10 | 30 |
|
12 | 31 |
"/ |
77 | 32 |
"/ when filing in, keep source as reference to file |
33 |
"/ (instead of keeping a string locally in the image) |
|
34 |
"/ |
|
35 |
ClassCategoryReader keepSource:false. |
|
36 |
||
37 |
"/ |
|
12 | 38 |
"/ the following are required (either compiled or interpreted) ... |
39 |
"/ |
|
10 | 40 |
requiredClasses := #( |
77 | 41 |
ObsoleteObject |
42 |
BinaryIOManager BinaryInputManager BinaryOutputManager BinaryObjectStorage |
|
43 |
StringCollection |
|
44 |
). |
|
10 | 45 |
|
46 |
requiredClasses do:[:s | |
|
47 |
(Smalltalk at:s) isNil ifTrue:[ |
|
25 | 48 |
('loading ' , s , ' ...') infoPrintNL. |
10 | 49 |
Smalltalk fileInClass:s initialize:true lazy:false silent:true |
50 |
] |
|
51 |
]. |
|
24 | 52 |
! |
53 |
||
54 |
|optionalClasses optionalGames optionalDemos optionalApps optionalBench |
|
25 | 55 |
optionalTools optionalViews optionalImage compat optionalPro optionalUI| |
0 | 56 |
|
25 | 57 |
'installing autoloaded classes ...' infoPrintNL. |
0 | 58 |
|
24 | 59 |
(Smalltalk at:#View) isNil ifTrue:[ |
26 | 60 |
"/ mhmh - seems to be a minitalk |
61 |
"/ try for shared libraries ... |
|
62 |
Smalltalk loadBinaries:true. |
|
63 |
ObjectFileLoader notNil ifTrue:[ |
|
64 |
#( |
|
65 |
'libbasic2' |
|
66 |
'libbasic3' |
|
67 |
'libview' |
|
68 |
'libview2' |
|
69 |
'libwidg' |
|
70 |
'libwidg2' |
|
71 |
'libwidg3' |
|
72 |
'libxt' |
|
73 |
'libtool' |
|
74 |
'XWorkstat' |
|
75 |
'GLXWorkstat' |
|
76 |
) do:[:nm | |
|
74 | 77 |
('binary/' , nm) asFilename exists ifTrue:[ |
75 | 78 |
('loading ' , nm , ' ...') infoPrintNL. |
79 |
(ObjectFileLoader loadObjectFile:'binary/' , nm , (ObjectFileLoader sharedLibraryExtension)) ifFalse:[ |
|
74 | 80 |
'load of ' , nm , ' failed' infoPrintNL |
81 |
] |
|
26 | 82 |
]. |
83 |
]. |
|
84 |
Workstation initialize. |
|
85 |
GraphicsContext initialize. |
|
86 |
]. |
|
87 |
||
24 | 88 |
optionalViews := #( |
26 | 89 |
DeviceWorkstation |
24 | 90 |
Workstation |
26 | 91 |
XWorkstation |
24 | 92 |
DisplayRootView |
93 |
SimpleView |
|
94 |
TopView |
|
95 |
StandardSystemView |
|
96 |
ModalBox |
|
97 |
View |
|
98 |
PseudoView |
|
99 |
DeviceDrawable |
|
100 |
DisplayMedium |
|
101 |
GraphicsContext |
|
102 |
Image |
|
103 |
ViewStyle |
|
104 |
KeyboardMap |
|
105 |
KeyboardForwarder |
|
106 |
TextCollector |
|
77 | 107 |
SynchronousWindowSensor |
24 | 108 |
WindowSensor |
109 |
WindowGroup |
|
110 |
WindowEvent |
|
111 |
WindowingTransformation |
|
112 |
FontDescription |
|
113 |
Font |
|
114 |
Form |
|
115 |
Cursor |
|
116 |
Color |
|
117 |
Depth1Image |
|
118 |
Depth8Image |
|
119 |
ResourcePack |
|
120 |
Model |
|
121 |
Controller |
|
122 |
ApplicationModel |
|
123 |
WindowBuilder |
|
124 |
PopUpView |
|
125 |
ShadowView |
|
126 |
Colormap |
|
25 | 127 |
DeviceHandle |
128 |
DeviceFormHandle |
|
129 |
DeviceViewHandle |
|
130 |
DisplayObject |
|
24 | 131 |
). |
132 |
optionalViews do:[:s | |
|
133 |
"install if not already compiled-in" |
|
134 |
(Smalltalk at:s) isNil ifTrue:[ |
|
135 |
Autoload subclass:s |
|
136 |
instanceVariableNames:'' |
|
137 |
classVariableNames:'' |
|
138 |
poolDictionaries:'' |
|
139 |
category:'autoloaded-Views' |
|
140 |
] |
|
141 |
]. |
|
26 | 142 |
DeviceWorkstation autoload. |
143 |
XWorkstation autoload. |
|
72 | 144 |
Workstation autoload. |
145 |
DeviceHandle autoload. |
|
146 |
DeviceFormHandle autoload. |
|
147 |
DeviceViewHandle autoload. |
|
24 | 148 |
]. |
149 |
||
12 | 150 |
"/ |
151 |
"/ the following are loaded on demand (if not already present) |
|
26 | 152 |
"/ in most configurations, the widgets and tools are already built-in |
153 |
"/ as compiled code. However, on pure-bytecode (minimal-) systems, these |
|
154 |
"/ can be executed as bytecode as well. |
|
12 | 155 |
"/ |
156 |
||
0 | 157 |
optionalGames := #( |
26 | 158 |
Tetris TetrisBlock |
159 |
TicTacToeGame TicTacToeView TicTacToePlayer |
|
7 | 160 |
). |
161 |
||
162 |
optionalDemos := #( |
|
163 |
Animation GlobeDemo RoundGlobe |
|
25 | 164 |
PenDemo CommanderDemo FractalPlantsDemo |
165 |
FractalPatternsDemo |
|
166 |
Calendar |
|
167 |
GLTeapotDemo GLTeapotView GLXYGraph |
|
7 | 168 |
GLPlaneDemoView1 GLPlaneDemoView2 |
169 |
GLSphereDemoView1 GLSphereDemoView2 |
|
170 |
GLObjectDemoView GLCubeDemoView GLTetraDemoView |
|
171 |
GLWireCubeDemoView GLWireSphereDemoView |
|
10 | 172 |
GLCubeDemoView2 GLBrickCubeDemoView Logo3DView1 GLPlanetDemoView |
26 | 173 |
GLOctaHedronDemoView GLDoughnutDemoView |
7 | 174 |
). |
175 |
||
176 |
optionalApps := #( |
|
177 |
AddressBook AddressBook2 InitialLabelView AddressView |
|
178 |
||
179 |
DrawTool DrawObject DrawLine DrawText |
|
180 |
DrawRectangle DrawRoundRectangle DrawEllipse |
|
181 |
DrawPolygon DrawCurve DrawGroup DrawView DrawImage |
|
10 | 182 |
DrawVLine DrawHLine |
183 |
PatternMenu LineMenu |
|
7 | 184 |
|
185 |
LogicTool LogicView LogicObject Connection Input Output |
|
186 |
Low High Inverter AndGate OrGate AndGate2 NandGate2 OrGate2 NorGate2 ExorGate2 |
|
63 | 187 |
AndGate3 SubCircuit |
7 | 188 |
|
50 | 189 |
MailView MailHandler POPMailHandler MailLetter MailReplyTextView |
7 | 190 |
|
191 |
NewsView NewsHandler NNTPHandler NumberSet |
|
192 |
||
193 |
ArchiveView DirectoryView DirectoryViewObject |
|
194 |
DirectoryObject FileObject |
|
195 |
||
8 | 196 |
DocumentView DocumentReader RTFReader |
7 | 197 |
DisplayText DisplayPicture DisplayIcon DisplaySound |
198 |
||
199 |
Clock ClockView RoundClock RoundClock2 |
|
200 |
||
25 | 201 |
VocPanel VocView SoundStream |
7 | 202 |
). |
203 |
||
204 |
optionalTools := #( |
|
24 | 205 |
SystemBrowser DebugView FileBrowser DirectoryBrowser BrowserView |
206 |
ProjectView Launcher Workspace ChangesBrowser NewLauncher |
|
7 | 207 |
InspectorView OrderedCollectionInspectorView ContextInspectorView |
208 |
DictionaryInspectorView |
|
209 |
ImageInspectorView ColorInspectorView |
|
24 | 210 |
AboutBox |
8 | 211 |
|
59 | 212 |
Decompiler ChangeSetBrowser |
8 | 213 |
EventMonitor ProcessMonitor MemoryMonitor MemoryUsageView |
25 | 214 |
|
215 |
"/ highly EXPERIMENTAL |
|
216 |
||
217 |
XtInterface WidgetWrapper ScrollWidgetWrapper |
|
75 | 218 |
XtWidget XtTopLevel XtBox XtHTML |
25 | 219 |
XtWidgetWithLabelAndAction |
7 | 220 |
). |
221 |
||
222 |
optionalViews := #( |
|
26 | 223 |
Model ApplicationModel WindowBuilder |
224 |
||
61 | 225 |
GLXView GLPoint3D SliderBox |
7 | 226 |
DialogBox OptionBox TextBox |
8 | 227 |
InputView Ruler VerticalRuler TextRuler |
7 | 228 |
Slider HorizontalSlider |
229 |
SteppingSlider HorizontalSteppingSlider |
|
77 | 230 |
VariablePanel VariableVerticalPanel VariableHorizontalPanel |
231 |
VariablePanelController VariableVerticalPanelController VariableHorizontalPanelController |
|
24 | 232 |
FontPanel FramedBox Separator FileSelectionBox FileSaveBox |
8 | 233 |
RadioButton RadioButtonGroup "MotionButton MenuButton" |
21 | 234 |
PullDownMenu CheckBox |
24 | 235 |
RadioButtonController |
7 | 236 |
|
55 | 237 |
SyncedMultiColumnTextView |
7 | 238 |
TwoColumnTextView DiffTextView |
62
37e604eaad12
new: ThreeColTextView & Diff3TextView
Claus Gittinger <cg@exept.de>
parents:
61
diff
changeset
|
239 |
ThreeColumnTextView Diff3TextView |
7 | 240 |
FilenameEditField FilenameEnterBox |
25 | 241 |
ImageSelectionBox |
7 | 242 |
|
243 |
ScreenSaver LightInTheDark LightInTheDark2 |
|
244 |
||
24 | 245 |
ImageView ImageEditView LabelledEnterField |
7 | 246 |
Depth1Image Depth2Image Depth4Image Depth8Image Depth24Image |
247 |
TreeView TreeGraphView ClassTreeView ClassTreeGraphView WindowTreeView |
|
248 |
||
61 | 249 |
"/ ColorPanel HLSPanel RGBPanel ColorWheel ThreeSliderPanel |
250 |
"/ ColorSlider HueSlider RGBSlider SteppingColorSlider SteppingHueSlider |
|
251 |
"/ Scale HorizontalScale |
|
7 | 252 |
|
24 | 253 |
TabulatorSpecification |
254 |
ListEntry MultiColListEntry ColoredListEntry |
|
8 | 255 |
ViewScroller TabSpecRuler |
24 | 256 |
|
25 | 257 |
ProgressIndicator AnimatedLabel ActionWaitBox |
7 | 258 |
). |
259 |
||
21 | 260 |
optionalPro := #( |
26 | 261 |
EventListener |
262 |
ActiveHelpView ActiveHelp |
|
21 | 263 |
|
264 |
Builder BuilderView BuilderTreeView |
|
265 |
BuilderClassBox BuilderVariablesBox |
|
24 | 266 |
|
267 |
SelectionInHierarchy SelectionInHierarchyView |
|
268 |
HierarchyNode |
|
79 | 269 |
PSGraphicsContext PSFont PSFontFamily PSMedium |
21 | 270 |
). |
271 |
||
26 | 272 |
"/ optionalUI := #( |
273 |
"/ UIBuilder UIPainter UIMenuEditor |
|
274 |
"/ |
|
275 |
"/ UISpecification |
|
276 |
"/ ActionButtonSpec CheckBoxSpec FullSpec InputFieldSpec |
|
277 |
"/ LabelSpec SequenceViewSpec UnknownSpec WindowSpec |
|
278 |
"/ ). |
|
25 | 279 |
|
12 | 280 |
"/ notice, that it does not really make sense to |
281 |
"/ run Benchmarks in interpreted mode ..." |
|
282 |
"/ If you really weant to measure the system, include (load) compiled |
|
283 |
"/ benchmark classes |
|
7 | 284 |
|
285 |
optionalBench := #( |
|
286 |
SlopstoneBenchmark SmopstoneBenchmark |
|
38 | 287 |
STXBenchmarks1 STXBenchmarks2 |
7 | 288 |
|
289 |
"DeltaBlue benchmark" |
|
290 |
AbstractConstraint BinaryConstraint Constraint |
|
291 |
DBMethod DBVariable EditConstraint |
|
292 |
EqualityConstraint Plan Planner ScaleConstraint |
|
293 |
StayConstraint Strength UnaryConstraint XMouseConstraint |
|
294 |
YMouseConstraint |
|
295 |
||
296 |
"RichardsBenchmarks" |
|
297 |
DeviceTaskDataRecord HandlerTaskDataRecord |
|
298 |
IdleTaskDataRecord Packet RBObject RichardsBenchmarks |
|
299 |
TaskControlBlock TaskState WorkerTaskDataRecord |
|
300 |
||
301 |
"self benchmarks" |
|
302 |
AbstractBenchmark AtAllPutBenchmark BenchmarkRunner |
|
303 |
BubbleSort2Array BubbleSort2Benchmark BubbleSortBenchmark |
|
304 |
Cons FastSumToBenchmark HanoiBenchmark HanoiDisk |
|
305 |
IncrementAllBenchmark IntMM2Array IntMM2Benchmark |
|
306 |
IntMM2Matrix IntMMBenchmark MM2Benchmark MMBenchmark |
|
307 |
NestedLoopBenchmark Perm2Benchmark PermArray PermBenchmark |
|
308 |
PuzzleArray PuzzleBenchmark Queens2Benchmark QueensBenchmark |
|
309 |
Quicksort2Array Quicksort2Benchmark QuicksortBenchmark |
|
310 |
RecurseBenchmark SieveBenchmark SumAllBenchmark |
|
311 |
SumFromToBenchmark SumToBenchmark TakBenchmark TaklBenchmark |
|
312 |
Towers2Benchmark Towers2Disk TowersBenchmark |
|
313 |
TowersBenchmarkElement TreeSort2Benchmark TreeSort2Node |
|
314 |
TreeSortBenchmark TreeSortNodeBenchmark |
|
315 |
). |
|
316 |
||
8 | 317 |
optionalImage := #( |
318 |
GIFReader TIFFReader FaceReader WindowsIconReader SunRasterReader |
|
319 |
XBMReader JPEGReader PBMReader ST80FormReader XPMReader |
|
46 | 320 |
PCXReader TargaReader XWDReader BlitImageReader |
10 | 321 |
). |
8 | 322 |
|
7 | 323 |
optionalClasses := #( |
324 |
EpsonFX1PrinterStream HPLjetIIPrinterStream |
|
325 |
PostscriptPrinterStream |
|
59 | 326 |
Polygon ValueLink |
24 | 327 |
MessageTracer WrappedMethod |
7 | 328 |
|
329 |
PersistencyManager BinaryIOManager BinaryInputManager |
|
330 |
BinaryOutputManager DBFile BinaryObjectStorage |
|
331 |
||
41 | 332 |
RDoItServer SNMPOID SNMPSession |
7 | 333 |
|
75 | 334 |
HandlerCollection CacheDictionary |
25 | 335 |
Plug Random MessageSend MessageChannel |
24 | 336 |
MessageTally CallChain ProfileTree |
25 | 337 |
GraphicsAttributes |
24 | 338 |
|
78 | 339 |
ActorStream TokenizedStream |
42 | 340 |
RecursionLock Promise LockedFileStream |
56 | 341 |
|
342 |
VariableArray VariableString "/ backward compatibility - these will vanish |
|
7 | 343 |
). |
344 |
||
345 |
optionalViews do:[:s | |
|
346 |
"install if not already compiled-in" |
|
347 |
(Smalltalk at:s) isNil ifTrue:[ |
|
348 |
Autoload subclass:s |
|
349 |
instanceVariableNames:'' |
|
350 |
classVariableNames:'' |
|
351 |
poolDictionaries:'' |
|
352 |
category:'autoloaded-Views' |
|
353 |
] |
|
354 |
]. |
|
355 |
||
356 |
optionalTools do:[:s | |
|
357 |
"install if not already compiled-in" |
|
358 |
(Smalltalk at:s) isNil ifTrue:[ |
|
359 |
Autoload subclass:s |
|
360 |
instanceVariableNames:'' |
|
361 |
classVariableNames:'' |
|
362 |
poolDictionaries:'' |
|
363 |
category:'autoloaded-Tools' |
|
364 |
] |
|
365 |
]. |
|
0 | 366 |
|
367 |
optionalGames do:[:s | |
|
368 |
"install if not already compiled-in" |
|
369 |
(Smalltalk at:s) isNil ifTrue:[ |
|
7 | 370 |
Autoload subclass:s |
371 |
instanceVariableNames:'' |
|
372 |
classVariableNames:'' |
|
373 |
poolDictionaries:'' |
|
25 | 374 |
category:'autoloaded-Games' |
0 | 375 |
] |
376 |
]. |
|
377 |
||
3 | 378 |
optionalDemos do:[:s | |
379 |
"install if not already compiled-in" |
|
380 |
(Smalltalk at:s) isNil ifTrue:[ |
|
7 | 381 |
Autoload subclass:s |
382 |
instanceVariableNames:'' |
|
383 |
classVariableNames:'' |
|
384 |
poolDictionaries:'' |
|
25 | 385 |
category:'autoloaded-Demos' |
3 | 386 |
] |
387 |
]. |
|
388 |
||
0 | 389 |
optionalApps do:[:s | |
390 |
"install if not already compiled-in" |
|
391 |
(Smalltalk at:s) isNil ifTrue:[ |
|
7 | 392 |
Autoload subclass:s |
393 |
instanceVariableNames:'' |
|
394 |
classVariableNames:'' |
|
395 |
poolDictionaries:'' |
|
396 |
category:'autoloaded-Applications' |
|
0 | 397 |
] |
398 |
]. |
|
399 |
||
400 |
optionalBench do:[:s | |
|
401 |
"install if not already compiled-in" |
|
402 |
(Smalltalk at:s) isNil ifTrue:[ |
|
7 | 403 |
Autoload subclass:s |
404 |
instanceVariableNames:'' |
|
405 |
classVariableNames:'' |
|
406 |
poolDictionaries:'' |
|
407 |
category:'autoloaded-Benchmarks' |
|
408 |
] |
|
409 |
]. |
|
410 |
||
8 | 411 |
optionalImage do:[:s | |
412 |
"install if not already compiled-in" |
|
413 |
(Smalltalk at:s) isNil ifTrue:[ |
|
414 |
Autoload subclass:s |
|
415 |
instanceVariableNames:'' |
|
416 |
classVariableNames:'' |
|
417 |
poolDictionaries:'' |
|
418 |
category:'autoloaded-Images' |
|
419 |
] |
|
420 |
]. |
|
421 |
||
7 | 422 |
optionalClasses do:[:s | |
423 |
"install if not already compiled-in" |
|
424 |
(Smalltalk at:s) isNil ifTrue:[ |
|
425 |
Autoload subclass:s |
|
426 |
instanceVariableNames:'' |
|
427 |
classVariableNames:'' |
|
428 |
poolDictionaries:'' |
|
429 |
category:'autoloaded-Classes' |
|
430 |
] |
|
431 |
]. |
|
432 |
||
26 | 433 |
optionalPro notNil ifTrue:[ |
434 |
optionalPro do:[:s | |
|
21 | 435 |
"install if not already compiled-in" |
436 |
||
437 |
(Smalltalk at:s) isNil ifTrue:[ |
|
438 |
Autoload subclass:s |
|
439 |
instanceVariableNames:'' |
|
440 |
classVariableNames:'' |
|
441 |
poolDictionaries:'' |
|
442 |
category:'autoloaded-Classes' |
|
443 |
] |
|
26 | 444 |
] |
21 | 445 |
]. |
446 |
||
26 | 447 |
optionalUI notNil ifTrue:[ |
448 |
optionalUI do:[:s | |
|
25 | 449 |
"install if not already compiled-in" |
450 |
||
451 |
(Smalltalk at:s) isNil ifTrue:[ |
|
452 |
Autoload subclass:s |
|
453 |
instanceVariableNames:'' |
|
454 |
classVariableNames:'' |
|
455 |
poolDictionaries:'' |
|
456 |
category:'autoloaded-UI' |
|
457 |
] |
|
26 | 458 |
] |
25 | 459 |
]. |
460 |
||
12 | 461 |
"/ |
462 |
"/ install all widget & tool classes as autoloaded |
|
463 |
"/ for compact systems (which have no GUI classes compiled in) ... |
|
464 |
"/ |
|
465 |
||
466 |
"/ |
|
467 |
"/ ... but only, if this is not a non GUI smalltalk |
|
468 |
"/ |
|
469 |
Workstation notNil ifTrue:[ |
|
470 |
optionalClasses := #( |
|
10 | 471 |
ArrowButton |
472 |
Button |
|
24 | 473 |
ButtonController |
10 | 474 |
CheckToggle |
475 |
ClickMenuView |
|
476 |
CodeView |
|
477 |
EnterFieldGroup |
|
478 |
EditTextView |
|
479 |
EditField |
|
480 |
EnterBox |
|
481 |
EnterBox2 |
|
482 |
FileSaveBox |
|
483 |
FileSelectionBox |
|
484 |
FileSelectionList |
|
485 |
FontPanel |
|
486 |
HorizontalMiniScroller |
|
487 |
HorizontalPanelView |
|
488 |
HorizontalScrollBar |
|
489 |
HorizontalScroller |
|
490 |
HVScrollableView |
|
491 |
InfoBox |
|
492 |
ListSelectionBox |
|
493 |
Label |
|
494 |
ListView |
|
495 |
MenuView |
|
496 |
MiniScroller |
|
497 |
ObjectView |
|
498 |
PanelView |
|
499 |
PopUpList |
|
73 | 500 |
PopUpListController |
10 | 501 |
PopUpMenu |
502 |
PullDownMenu |
|
503 |
ScrollableView |
|
504 |
ScrollBar |
|
505 |
Scroller |
|
506 |
SelectionInListView |
|
507 |
TextCollector |
|
508 |
TextView |
|
509 |
Toggle |
|
24 | 510 |
ToggleController |
10 | 511 |
VerticalPanelView |
77 | 512 |
VariablePanel |
24 | 513 |
VariablePanelController |
10 | 514 |
VariableHorizontalPanel |
24 | 515 |
VariableHorizontalPanelController |
10 | 516 |
VariableVerticalPanel |
24 | 517 |
VariableVerticalPanelController |
10 | 518 |
WarningBox |
519 |
YesNoBox |
|
520 |
||
16 | 521 |
TableView |
522 |
TableSpecification |
|
523 |
TableRowHandle |
|
524 |
TableColumnView |
|
525 |
TableColumnSpecification |
|
526 |
SelTableColumnSpecification |
|
527 |
TableDemoElement |
|
10 | 528 |
). |
529 |
||
12 | 530 |
optionalClasses do:[:s | |
531 |
"install if not already compiled-in" |
|
532 |
(Smalltalk at:s) isNil ifTrue:[ |
|
533 |
Autoload subclass:s |
|
534 |
instanceVariableNames:'' |
|
535 |
classVariableNames:'' |
|
536 |
poolDictionaries:'' |
|
25 | 537 |
category:'autoloaded-Views'. |
10 | 538 |
]. |
539 |
] |
|
540 |
]. |
|
541 |
||
12 | 542 |
"/ |
25 | 543 |
"/ additional compatibility classes (many are empty dummies to allow fileIn at least) |
12 | 544 |
"/ |
545 |
compat := #( |
|
24 | 546 |
BitBlt Pen Commander DrawingPen |
7 | 547 |
OpaqueForm |
25 | 548 |
"/ |
549 |
"/ the path stuff is no longer compatible |
|
550 |
"/ with ST-80 (i.e. dropped in ST; different implementation in VW) |
|
551 |
"/ |
|
24 | 552 |
AbstractPath Path |
25 | 553 |
Arc DCircle Curve LinearFit Arrow Line Spline Ellipse |
554 |
||
12 | 555 |
ActionMenu |
556 |
FillInTheBlank |
|
7 | 557 |
KeyedSet |
12 | 558 |
FormView |
559 |
NoController |
|
560 |
MouseMenuController |
|
7 | 561 |
StandardSystemController |
20 | 562 |
ControllerWithMenu |
24 | 563 |
ComposedText |
12 | 564 |
ComposedTextView |
25 | 565 |
CompositeView SubCanvas |
24 | 566 |
ClassOrganizer |
20 | 567 |
ApplicationController |
25 | 568 |
SocketAddress UDSocketAddress IPSocketAddress |
569 |
UnixProcess CEnvironment |
|
24 | 570 |
Layout LayoutOrigin LayoutFrame |
571 |
Icon Mask CachedImage |
|
572 |
CoveragePalette |
|
573 |
TextStream |
|
574 |
ColorValue |
|
575 |
SimpleDialog |
|
576 |
SourceFileManager |
|
65 | 577 |
ValueModel ValueHolder BufferedValueHolder TriggerValue BlockValue |
79 | 578 |
ConvertedValue |
25 | 579 |
StringHolder SelectionInList MultiSelectionInList SelectionInTable |
580 |
RowAdaptor SimpleBorder TableAdaptor TableInterface TwoDList |
|
24 | 581 |
PrintConverter |
25 | 582 |
PluggableAdaptor ProtocolAdaptor AspectAdaptor UpdateAdaptor |
583 |
CodeStream MethodNode NullScope ProgramNodeBuilder |
|
584 |
MenuItem TimestampPrintPolicy |
|
7 | 585 |
). |
0 | 586 |
|
587 |
compat do:[:s | |
|
588 |
"install if not already compiled-in" |
|
589 |
(Smalltalk at:s) isNil ifTrue:[ |
|
7 | 590 |
Autoload subclass:s |
591 |
instanceVariableNames:'' |
|
592 |
classVariableNames:'' |
|
593 |
poolDictionaries:'' |
|
594 |
category:'autoloaded-ST80-Classes' |
|
0 | 595 |
] |
596 |
] |
|
12 | 597 |
! |
0 | 598 |
|
12 | 599 |
"/ |
600 |
"/ a kludge: we might have added new ImageReaders above - let Image know about it |
|
601 |
"/ |
|
602 |
"avoid introducing a new global ..." |
|
603 |
(Smalltalk includesKey:#Image) ifTrue:[ |
|
604 |
(Smalltalk at:#Image) isBehavior ifTrue:[ |
|
605 |
(Smalltalk at:#Image) initializeFileFormatTable. |
|
606 |
] |
|
607 |
]. |
|
608 |
||
609 |
"/ |
|
610 |
"/ some ST80 name aliases |
|
611 |
"/ (actually, much more is needed - this is just a start ...) |
|
612 |
"/ |
|
613 |
(Smalltalk at:#StandardSystemView) notNil ifTrue:[ |
|
614 |
Smalltalk at:#ScheduledWindow put:StandardSystemView |
|
615 |
]. |
|
616 |
(Smalltalk at:#Socket) notNil ifTrue:[ |
|
24 | 617 |
Smalltalk at:#UnixSocketAccessor put:(Smalltalk at:#Socket) |
12 | 618 |
]. |
619 |
Smalltalk at:#BlockClosure put:Block. |
|
16 | 620 |
Smalltalk at:#Dialog put:DialogBox. |
621 |
Smalltalk at:#DialogView put:DialogBox. |
|
12 | 622 |
|
72 | 623 |
Smalltalk at:#Console put:Stderr. |
624 |
||
12 | 625 |
FileDirectory notNil ifTrue:[ |
626 |
Smalltalk at:#Disk put:(FileDirectory directoryNamed:'/') |
|
627 |
]. |
|
628 |
Display notNil ifTrue:[ |
|
15 | 629 |
Smalltalk at:#Window put:(Display class). |
630 |
Smalltalk at:#Screen put:(Display class). |
|
12 | 631 |
]. |
632 |
||
633 |
"/ |
|
634 |
"/ ST/X has (currently) no Double, but Float is what ST-80's Double is ... |
|
635 |
"/ |
|
636 |
Smalltalk at:#Double put:Float. |
|
637 |
||
638 |
"/ |
|
16 | 639 |
"/ compatibility leftOver: Text has been renamed to StringCollection |
26 | 640 |
"/ this will vanish as soon as a compatible Text class is added ... |
16 | 641 |
"/ |
642 |
Smalltalk at:#Text put:StringCollection. |
|
643 |
||
24 | 644 |
Project notNil ifTrue:[ |
645 |
Project setDefaultProject. |
|
646 |
Project current packageName:#'patches'. |
|
647 |
]. |
|
648 |
||
649 |
||
26 | 650 |
Class catchMethodRedefinitions:false. |
651 |
'installing patches ...' infoPrintNL ! |
|
16 | 652 |
"/ |
12 | 653 |
"/ the following patches where added by the changesBrowsers 'make change a patch' |
654 |
"/ function ... |
|
655 |
"/ |
|
49
07b58421f54e
need an excla at the end - for patches to be addable
Claus Gittinger <cg@exept.de>
parents:
46
diff
changeset
|
656 |
! |