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