author | Claus Gittinger <cg@exept.de> |
Sun, 11 Feb 1996 17:36:29 +0100 | |
changeset 85 | 8363b09e8c3c |
parent 81 | 3428f2142b80 |
child 87 | e243ea13b62c |
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 |
7 | 181 |
). |
182 |
||
183 |
optionalApps := #( |
|
184 |
AddressBook AddressBook2 InitialLabelView AddressView |
|
185 |
||
186 |
DrawTool DrawObject DrawLine DrawText |
|
187 |
DrawRectangle DrawRoundRectangle DrawEllipse |
|
188 |
DrawPolygon DrawCurve DrawGroup DrawView DrawImage |
|
10 | 189 |
DrawVLine DrawHLine |
190 |
PatternMenu LineMenu |
|
7 | 191 |
|
192 |
LogicTool LogicView LogicObject Connection Input Output |
|
193 |
Low High Inverter AndGate OrGate AndGate2 NandGate2 OrGate2 NorGate2 ExorGate2 |
|
63 | 194 |
AndGate3 SubCircuit |
7 | 195 |
|
50 | 196 |
MailView MailHandler POPMailHandler MailLetter MailReplyTextView |
7 | 197 |
|
198 |
NewsView NewsHandler NNTPHandler NumberSet |
|
199 |
||
200 |
ArchiveView DirectoryView DirectoryViewObject |
|
201 |
DirectoryObject FileObject |
|
202 |
||
8 | 203 |
DocumentView DocumentReader RTFReader |
7 | 204 |
DisplayText DisplayPicture DisplayIcon DisplaySound |
205 |
||
206 |
Clock ClockView RoundClock RoundClock2 |
|
207 |
||
25 | 208 |
VocPanel VocView SoundStream |
7 | 209 |
). |
210 |
||
211 |
optionalTools := #( |
|
24 | 212 |
SystemBrowser DebugView FileBrowser DirectoryBrowser BrowserView |
213 |
ProjectView Launcher Workspace ChangesBrowser NewLauncher |
|
7 | 214 |
InspectorView OrderedCollectionInspectorView ContextInspectorView |
215 |
DictionaryInspectorView |
|
216 |
ImageInspectorView ColorInspectorView |
|
24 | 217 |
AboutBox |
8 | 218 |
|
59 | 219 |
Decompiler ChangeSetBrowser |
8 | 220 |
EventMonitor ProcessMonitor MemoryMonitor MemoryUsageView |
25 | 221 |
|
222 |
"/ highly EXPERIMENTAL |
|
223 |
||
224 |
XtInterface WidgetWrapper ScrollWidgetWrapper |
|
75 | 225 |
XtWidget XtTopLevel XtBox XtHTML |
25 | 226 |
XtWidgetWithLabelAndAction |
7 | 227 |
). |
228 |
||
229 |
optionalViews := #( |
|
26 | 230 |
Model ApplicationModel WindowBuilder |
231 |
||
61 | 232 |
GLXView GLPoint3D SliderBox |
7 | 233 |
DialogBox OptionBox TextBox |
8 | 234 |
InputView Ruler VerticalRuler TextRuler |
7 | 235 |
Slider HorizontalSlider |
236 |
SteppingSlider HorizontalSteppingSlider |
|
77 | 237 |
VariablePanel VariableVerticalPanel VariableHorizontalPanel |
238 |
VariablePanelController VariableVerticalPanelController VariableHorizontalPanelController |
|
24 | 239 |
FontPanel FramedBox Separator FileSelectionBox FileSaveBox |
8 | 240 |
RadioButton RadioButtonGroup "MotionButton MenuButton" |
21 | 241 |
PullDownMenu CheckBox |
24 | 242 |
RadioButtonController |
7 | 243 |
|
55 | 244 |
SyncedMultiColumnTextView |
7 | 245 |
TwoColumnTextView DiffTextView |
62
37e604eaad12
new: ThreeColTextView & Diff3TextView
Claus Gittinger <cg@exept.de>
parents:
61
diff
changeset
|
246 |
ThreeColumnTextView Diff3TextView |
7 | 247 |
FilenameEditField FilenameEnterBox |
25 | 248 |
ImageSelectionBox |
7 | 249 |
|
250 |
ScreenSaver LightInTheDark LightInTheDark2 |
|
251 |
||
24 | 252 |
ImageView ImageEditView LabelledEnterField |
7 | 253 |
Depth1Image Depth2Image Depth4Image Depth8Image Depth24Image |
254 |
TreeView TreeGraphView ClassTreeView ClassTreeGraphView WindowTreeView |
|
255 |
||
61 | 256 |
"/ ColorPanel HLSPanel RGBPanel ColorWheel ThreeSliderPanel |
257 |
"/ ColorSlider HueSlider RGBSlider SteppingColorSlider SteppingHueSlider |
|
258 |
"/ Scale HorizontalScale |
|
7 | 259 |
|
24 | 260 |
TabulatorSpecification |
261 |
ListEntry MultiColListEntry ColoredListEntry |
|
81 | 262 |
ViewScroller TabSpecRuler ComboBoxView |
24 | 263 |
|
25 | 264 |
ProgressIndicator AnimatedLabel ActionWaitBox |
7 | 265 |
). |
266 |
||
21 | 267 |
optionalPro := #( |
26 | 268 |
EventListener |
269 |
ActiveHelpView ActiveHelp |
|
21 | 270 |
|
271 |
Builder BuilderView BuilderTreeView |
|
272 |
BuilderClassBox BuilderVariablesBox |
|
24 | 273 |
|
274 |
SelectionInHierarchy SelectionInHierarchyView |
|
275 |
HierarchyNode |
|
79 | 276 |
PSGraphicsContext PSFont PSFontFamily PSMedium |
21 | 277 |
). |
278 |
||
26 | 279 |
"/ optionalUI := #( |
280 |
"/ UIBuilder UIPainter UIMenuEditor |
|
281 |
"/ |
|
282 |
"/ UISpecification |
|
283 |
"/ ActionButtonSpec CheckBoxSpec FullSpec InputFieldSpec |
|
284 |
"/ LabelSpec SequenceViewSpec UnknownSpec WindowSpec |
|
285 |
"/ ). |
|
25 | 286 |
|
12 | 287 |
"/ notice, that it does not really make sense to |
288 |
"/ run Benchmarks in interpreted mode ..." |
|
289 |
"/ If you really weant to measure the system, include (load) compiled |
|
290 |
"/ benchmark classes |
|
7 | 291 |
|
292 |
optionalBench := #( |
|
293 |
SlopstoneBenchmark SmopstoneBenchmark |
|
38 | 294 |
STXBenchmarks1 STXBenchmarks2 |
7 | 295 |
|
296 |
"DeltaBlue benchmark" |
|
297 |
AbstractConstraint BinaryConstraint Constraint |
|
298 |
DBMethod DBVariable EditConstraint |
|
299 |
EqualityConstraint Plan Planner ScaleConstraint |
|
300 |
StayConstraint Strength UnaryConstraint XMouseConstraint |
|
301 |
YMouseConstraint |
|
302 |
||
303 |
"RichardsBenchmarks" |
|
304 |
DeviceTaskDataRecord HandlerTaskDataRecord |
|
305 |
IdleTaskDataRecord Packet RBObject RichardsBenchmarks |
|
306 |
TaskControlBlock TaskState WorkerTaskDataRecord |
|
307 |
||
308 |
"self benchmarks" |
|
309 |
AbstractBenchmark AtAllPutBenchmark BenchmarkRunner |
|
310 |
BubbleSort2Array BubbleSort2Benchmark BubbleSortBenchmark |
|
311 |
Cons FastSumToBenchmark HanoiBenchmark HanoiDisk |
|
312 |
IncrementAllBenchmark IntMM2Array IntMM2Benchmark |
|
313 |
IntMM2Matrix IntMMBenchmark MM2Benchmark MMBenchmark |
|
314 |
NestedLoopBenchmark Perm2Benchmark PermArray PermBenchmark |
|
315 |
PuzzleArray PuzzleBenchmark Queens2Benchmark QueensBenchmark |
|
316 |
Quicksort2Array Quicksort2Benchmark QuicksortBenchmark |
|
317 |
RecurseBenchmark SieveBenchmark SumAllBenchmark |
|
318 |
SumFromToBenchmark SumToBenchmark TakBenchmark TaklBenchmark |
|
319 |
Towers2Benchmark Towers2Disk TowersBenchmark |
|
320 |
TowersBenchmarkElement TreeSort2Benchmark TreeSort2Node |
|
321 |
TreeSortBenchmark TreeSortNodeBenchmark |
|
322 |
). |
|
323 |
||
8 | 324 |
optionalImage := #( |
325 |
GIFReader TIFFReader FaceReader WindowsIconReader SunRasterReader |
|
326 |
XBMReader JPEGReader PBMReader ST80FormReader XPMReader |
|
46 | 327 |
PCXReader TargaReader XWDReader BlitImageReader |
10 | 328 |
). |
8 | 329 |
|
7 | 330 |
optionalClasses := #( |
331 |
EpsonFX1PrinterStream HPLjetIIPrinterStream |
|
332 |
PostscriptPrinterStream |
|
59 | 333 |
Polygon ValueLink |
24 | 334 |
MessageTracer WrappedMethod |
7 | 335 |
|
336 |
PersistencyManager BinaryIOManager BinaryInputManager |
|
337 |
BinaryOutputManager DBFile BinaryObjectStorage |
|
338 |
||
41 | 339 |
RDoItServer SNMPOID SNMPSession |
7 | 340 |
|
75 | 341 |
HandlerCollection CacheDictionary |
25 | 342 |
Plug Random MessageSend MessageChannel |
24 | 343 |
MessageTally CallChain ProfileTree |
25 | 344 |
GraphicsAttributes |
24 | 345 |
|
78 | 346 |
ActorStream TokenizedStream |
42 | 347 |
RecursionLock Promise LockedFileStream |
56 | 348 |
|
81 | 349 |
"/ VariableArray VariableString "/ backward compatibility - these will vanish |
7 | 350 |
). |
351 |
||
352 |
optionalViews do:[:s | |
|
353 |
"install if not already compiled-in" |
|
354 |
(Smalltalk at:s) isNil ifTrue:[ |
|
355 |
Autoload subclass:s |
|
356 |
instanceVariableNames:'' |
|
357 |
classVariableNames:'' |
|
358 |
poolDictionaries:'' |
|
359 |
category:'autoloaded-Views' |
|
360 |
] |
|
361 |
]. |
|
362 |
||
363 |
optionalTools do:[:s | |
|
364 |
"install if not already compiled-in" |
|
365 |
(Smalltalk at:s) isNil ifTrue:[ |
|
366 |
Autoload subclass:s |
|
367 |
instanceVariableNames:'' |
|
368 |
classVariableNames:'' |
|
369 |
poolDictionaries:'' |
|
370 |
category:'autoloaded-Tools' |
|
371 |
] |
|
372 |
]. |
|
0 | 373 |
|
374 |
optionalGames do:[:s | |
|
375 |
"install if not already compiled-in" |
|
376 |
(Smalltalk at:s) isNil ifTrue:[ |
|
7 | 377 |
Autoload subclass:s |
378 |
instanceVariableNames:'' |
|
379 |
classVariableNames:'' |
|
380 |
poolDictionaries:'' |
|
25 | 381 |
category:'autoloaded-Games' |
0 | 382 |
] |
383 |
]. |
|
384 |
||
3 | 385 |
optionalDemos do:[:s | |
386 |
"install if not already compiled-in" |
|
387 |
(Smalltalk at:s) isNil ifTrue:[ |
|
7 | 388 |
Autoload subclass:s |
389 |
instanceVariableNames:'' |
|
390 |
classVariableNames:'' |
|
391 |
poolDictionaries:'' |
|
25 | 392 |
category:'autoloaded-Demos' |
3 | 393 |
] |
394 |
]. |
|
395 |
||
0 | 396 |
optionalApps do:[:s | |
397 |
"install if not already compiled-in" |
|
398 |
(Smalltalk at:s) isNil ifTrue:[ |
|
7 | 399 |
Autoload subclass:s |
400 |
instanceVariableNames:'' |
|
401 |
classVariableNames:'' |
|
402 |
poolDictionaries:'' |
|
403 |
category:'autoloaded-Applications' |
|
0 | 404 |
] |
405 |
]. |
|
406 |
||
407 |
optionalBench do:[:s | |
|
408 |
"install if not already compiled-in" |
|
409 |
(Smalltalk at:s) isNil ifTrue:[ |
|
7 | 410 |
Autoload subclass:s |
411 |
instanceVariableNames:'' |
|
412 |
classVariableNames:'' |
|
413 |
poolDictionaries:'' |
|
414 |
category:'autoloaded-Benchmarks' |
|
415 |
] |
|
416 |
]. |
|
417 |
||
8 | 418 |
optionalImage do:[:s | |
419 |
"install if not already compiled-in" |
|
420 |
(Smalltalk at:s) isNil ifTrue:[ |
|
421 |
Autoload subclass:s |
|
422 |
instanceVariableNames:'' |
|
423 |
classVariableNames:'' |
|
424 |
poolDictionaries:'' |
|
425 |
category:'autoloaded-Images' |
|
426 |
] |
|
427 |
]. |
|
428 |
||
7 | 429 |
optionalClasses do:[:s | |
430 |
"install if not already compiled-in" |
|
431 |
(Smalltalk at:s) isNil ifTrue:[ |
|
432 |
Autoload subclass:s |
|
433 |
instanceVariableNames:'' |
|
434 |
classVariableNames:'' |
|
435 |
poolDictionaries:'' |
|
436 |
category:'autoloaded-Classes' |
|
437 |
] |
|
438 |
]. |
|
439 |
||
26 | 440 |
optionalPro notNil ifTrue:[ |
441 |
optionalPro do:[:s | |
|
21 | 442 |
"install if not already compiled-in" |
443 |
||
444 |
(Smalltalk at:s) isNil ifTrue:[ |
|
445 |
Autoload subclass:s |
|
446 |
instanceVariableNames:'' |
|
447 |
classVariableNames:'' |
|
448 |
poolDictionaries:'' |
|
449 |
category:'autoloaded-Classes' |
|
450 |
] |
|
26 | 451 |
] |
21 | 452 |
]. |
453 |
||
26 | 454 |
optionalUI notNil ifTrue:[ |
455 |
optionalUI do:[:s | |
|
25 | 456 |
"install if not already compiled-in" |
457 |
||
458 |
(Smalltalk at:s) isNil ifTrue:[ |
|
459 |
Autoload subclass:s |
|
460 |
instanceVariableNames:'' |
|
461 |
classVariableNames:'' |
|
462 |
poolDictionaries:'' |
|
463 |
category:'autoloaded-UI' |
|
464 |
] |
|
26 | 465 |
] |
25 | 466 |
]. |
467 |
||
12 | 468 |
"/ |
469 |
"/ install all widget & tool classes as autoloaded |
|
470 |
"/ for compact systems (which have no GUI classes compiled in) ... |
|
471 |
"/ |
|
472 |
||
473 |
"/ |
|
474 |
"/ ... but only, if this is not a non GUI smalltalk |
|
475 |
"/ |
|
476 |
Workstation notNil ifTrue:[ |
|
477 |
optionalClasses := #( |
|
10 | 478 |
ArrowButton |
479 |
Button |
|
24 | 480 |
ButtonController |
10 | 481 |
CheckToggle |
482 |
ClickMenuView |
|
483 |
CodeView |
|
484 |
EnterFieldGroup |
|
485 |
EditTextView |
|
486 |
EditField |
|
487 |
EnterBox |
|
488 |
EnterBox2 |
|
489 |
FileSaveBox |
|
490 |
FileSelectionBox |
|
491 |
FileSelectionList |
|
492 |
FontPanel |
|
493 |
HorizontalMiniScroller |
|
494 |
HorizontalPanelView |
|
495 |
HorizontalScrollBar |
|
496 |
HorizontalScroller |
|
497 |
HVScrollableView |
|
498 |
InfoBox |
|
499 |
ListSelectionBox |
|
500 |
Label |
|
501 |
ListView |
|
502 |
MenuView |
|
503 |
MiniScroller |
|
504 |
ObjectView |
|
505 |
PanelView |
|
506 |
PopUpList |
|
73 | 507 |
PopUpListController |
10 | 508 |
PopUpMenu |
509 |
PullDownMenu |
|
510 |
ScrollableView |
|
511 |
ScrollBar |
|
512 |
Scroller |
|
513 |
SelectionInListView |
|
514 |
TextCollector |
|
515 |
TextView |
|
516 |
Toggle |
|
24 | 517 |
ToggleController |
10 | 518 |
VerticalPanelView |
77 | 519 |
VariablePanel |
24 | 520 |
VariablePanelController |
10 | 521 |
VariableHorizontalPanel |
24 | 522 |
VariableHorizontalPanelController |
10 | 523 |
VariableVerticalPanel |
24 | 524 |
VariableVerticalPanelController |
10 | 525 |
WarningBox |
526 |
YesNoBox |
|
527 |
||
16 | 528 |
TableView |
529 |
TableSpecification |
|
530 |
TableRowHandle |
|
531 |
TableColumnView |
|
532 |
TableColumnSpecification |
|
533 |
SelTableColumnSpecification |
|
534 |
TableDemoElement |
|
10 | 535 |
). |
536 |
||
12 | 537 |
optionalClasses do:[:s | |
538 |
"install if not already compiled-in" |
|
539 |
(Smalltalk at:s) isNil ifTrue:[ |
|
540 |
Autoload subclass:s |
|
541 |
instanceVariableNames:'' |
|
542 |
classVariableNames:'' |
|
543 |
poolDictionaries:'' |
|
25 | 544 |
category:'autoloaded-Views'. |
10 | 545 |
]. |
546 |
] |
|
547 |
]. |
|
548 |
||
12 | 549 |
"/ |
25 | 550 |
"/ additional compatibility classes (many are empty dummies to allow fileIn at least) |
12 | 551 |
"/ |
552 |
compat := #( |
|
24 | 553 |
BitBlt Pen Commander DrawingPen |
7 | 554 |
OpaqueForm |
25 | 555 |
"/ |
556 |
"/ the path stuff is no longer compatible |
|
557 |
"/ with ST-80 (i.e. dropped in ST; different implementation in VW) |
|
558 |
"/ |
|
24 | 559 |
AbstractPath Path |
25 | 560 |
Arc DCircle Curve LinearFit Arrow Line Spline Ellipse |
561 |
||
12 | 562 |
ActionMenu |
563 |
FillInTheBlank |
|
7 | 564 |
KeyedSet |
12 | 565 |
FormView |
566 |
NoController |
|
567 |
MouseMenuController |
|
7 | 568 |
StandardSystemController |
20 | 569 |
ControllerWithMenu |
24 | 570 |
ComposedText |
12 | 571 |
ComposedTextView |
25 | 572 |
CompositeView SubCanvas |
24 | 573 |
ClassOrganizer |
20 | 574 |
ApplicationController |
25 | 575 |
SocketAddress UDSocketAddress IPSocketAddress |
576 |
UnixProcess CEnvironment |
|
24 | 577 |
Layout LayoutOrigin LayoutFrame |
578 |
Icon Mask CachedImage |
|
579 |
CoveragePalette |
|
580 |
TextStream |
|
581 |
ColorValue |
|
582 |
SimpleDialog |
|
583 |
SourceFileManager |
|
65 | 584 |
ValueModel ValueHolder BufferedValueHolder TriggerValue BlockValue |
79 | 585 |
ConvertedValue |
25 | 586 |
StringHolder SelectionInList MultiSelectionInList SelectionInTable |
587 |
RowAdaptor SimpleBorder TableAdaptor TableInterface TwoDList |
|
24 | 588 |
PrintConverter |
25 | 589 |
PluggableAdaptor ProtocolAdaptor AspectAdaptor UpdateAdaptor |
590 |
CodeStream MethodNode NullScope ProgramNodeBuilder |
|
591 |
MenuItem TimestampPrintPolicy |
|
7 | 592 |
). |
0 | 593 |
|
594 |
compat do:[:s | |
|
595 |
"install if not already compiled-in" |
|
596 |
(Smalltalk at:s) isNil ifTrue:[ |
|
7 | 597 |
Autoload subclass:s |
598 |
instanceVariableNames:'' |
|
599 |
classVariableNames:'' |
|
600 |
poolDictionaries:'' |
|
601 |
category:'autoloaded-ST80-Classes' |
|
0 | 602 |
] |
603 |
] |
|
12 | 604 |
! |
0 | 605 |
|
12 | 606 |
"/ |
607 |
"/ a kludge: we might have added new ImageReaders above - let Image know about it |
|
608 |
"/ |
|
609 |
"avoid introducing a new global ..." |
|
610 |
(Smalltalk includesKey:#Image) ifTrue:[ |
|
611 |
(Smalltalk at:#Image) isBehavior ifTrue:[ |
|
612 |
(Smalltalk at:#Image) initializeFileFormatTable. |
|
613 |
] |
|
614 |
]. |
|
615 |
||
616 |
"/ |
|
617 |
"/ some ST80 name aliases |
|
618 |
"/ (actually, much more is needed - this is just a start ...) |
|
619 |
"/ |
|
620 |
(Smalltalk at:#StandardSystemView) notNil ifTrue:[ |
|
621 |
Smalltalk at:#ScheduledWindow put:StandardSystemView |
|
622 |
]. |
|
623 |
(Smalltalk at:#Socket) notNil ifTrue:[ |
|
24 | 624 |
Smalltalk at:#UnixSocketAccessor put:(Smalltalk at:#Socket) |
12 | 625 |
]. |
626 |
Smalltalk at:#BlockClosure put:Block. |
|
16 | 627 |
Smalltalk at:#Dialog put:DialogBox. |
628 |
Smalltalk at:#DialogView put:DialogBox. |
|
12 | 629 |
|
72 | 630 |
Smalltalk at:#Console put:Stderr. |
631 |
||
12 | 632 |
FileDirectory notNil ifTrue:[ |
633 |
Smalltalk at:#Disk put:(FileDirectory directoryNamed:'/') |
|
634 |
]. |
|
635 |
Display notNil ifTrue:[ |
|
15 | 636 |
Smalltalk at:#Window put:(Display class). |
637 |
Smalltalk at:#Screen put:(Display class). |
|
12 | 638 |
]. |
639 |
||
640 |
"/ |
|
641 |
"/ ST/X has (currently) no Double, but Float is what ST-80's Double is ... |
|
642 |
"/ |
|
643 |
Smalltalk at:#Double put:Float. |
|
644 |
||
645 |
"/ |
|
16 | 646 |
"/ compatibility leftOver: Text has been renamed to StringCollection |
26 | 647 |
"/ this will vanish as soon as a compatible Text class is added ... |
16 | 648 |
"/ |
649 |
Smalltalk at:#Text put:StringCollection. |
|
650 |
||
24 | 651 |
Project notNil ifTrue:[ |
652 |
Project setDefaultProject. |
|
653 |
Project current packageName:#'patches'. |
|
654 |
]. |
|
655 |
||
656 |
||
26 | 657 |
Class catchMethodRedefinitions:false. |
658 |
'installing patches ...' infoPrintNL ! |
|
16 | 659 |
"/ |
12 | 660 |
"/ the following patches where added by the changesBrowsers 'make change a patch' |
661 |
"/ function ... |
|
662 |
"/ |
|
49
07b58421f54e
need an excla at the end - for patches to be addable
Claus Gittinger <cg@exept.de>
parents:
46
diff
changeset
|
663 |
! |