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