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