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