author | Claus Gittinger <cg@exept.de> |
Thu, 09 Jun 2016 16:24:55 +0200 | |
changeset 3916 | d797329e07d8 |
parent 3905 | adde823a70ca |
child 3921 | cf5719a875a1 |
permissions | -rw-r--r-- |
1723 | 1 |
" |
2 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
2255 | 3 |
All Rights Reserved |
1723 | 4 |
|
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
1665 | 12 |
"{ Package: 'stx:libbasic2' }" |
13 |
||
3474 | 14 |
"{ NameSpace: Smalltalk }" |
15 |
||
1665 | 16 |
LibraryDefinition subclass:#stx_libbasic2 |
17 |
instanceVariableNames:'' |
|
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
1857 | 20 |
category:'* Projects & Packages *' |
1665 | 21 |
! |
22 |
||
1723 | 23 |
!stx_libbasic2 class methodsFor:'documentation'! |
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
2255 | 28 |
All Rights Reserved |
1723 | 29 |
|
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! |
|
38 |
||
39 |
documentation |
|
40 |
" |
|
3320 | 41 |
Package documentation: |
42 |
||
1723 | 43 |
This library contains additional basic (nonGUI) classes. |
3916 | 44 |
|
3744 | 45 |
These are less fundamental as in libbasic and not required by many stand alone applications. |
3320 | 46 |
Beside additional container classes, this includes URL support, Zip support, |
3504 | 47 |
PTY, serial line, sockets and IP addresses, and other less frequently needed things. |
48 |
||
3916 | 49 |
Most real world applications will include this, but it is possible to create |
3504 | 50 |
small standAlone apps which do not need it. |
1723 | 51 |
" |
52 |
! ! |
|
1665 | 53 |
|
54 |
!stx_libbasic2 class methodsFor:'description'! |
|
55 |
||
1879 | 56 |
excludedFromPreRequisites |
57 |
^ #( |
|
3916 | 58 |
#'exept:libcrypt' "Rc4Cipher - referenced by RandomGenerator class>>new " |
59 |
#'stx:goodies/communication' "FTPClient - referenced by FtpURI>>writeStreamDo:create:atomic: " |
|
60 |
#'stx:libtool' "FileBrowser - referenced by Archiver::ArchiverOutputParser>>parseLine:forItemClass: " |
|
61 |
#'stx:libview2' "MIMETypes - referenced by Archiver::ArchiverOutputParser>>parseLine:forItemClass: " |
|
62 |
#'stx:libwidg' "DialogBox - referenced by Archiver::CompressedFile>>compressFile:to: " |
|
63 |
#'stx:libhtml' "HTMLParser - referenced by HTMLUtilities class>>plainTextOfHTML: " |
|
64 |
#'stx:goodies/webServer/htmlTree' "HTML::TreeBuilder - referenced by HTMLPrinterStream>>initialize" |
|
1879 | 65 |
) |
66 |
! |
|
67 |
||
2910
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
68 |
mandatoryPreRequisites |
3803 | 69 |
"list packages which are mandatory as a prerequisite. |
70 |
This are packages containing superclasses of my classes and classes which |
|
71 |
are extended by myself. |
|
72 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
|
73 |
This method is generated automatically, |
|
74 |
by searching along the inheritance chain of all of my classes." |
|
2600 | 75 |
|
1665 | 76 |
^ #( |
3916 | 77 |
#'stx:libbasic' "AbstractNumberVector - superclass of HalfFloatArray" |
2910
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
78 |
) |
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
79 |
! |
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
80 |
|
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
81 |
referencedPreRequisites |
3803 | 82 |
"list packages which are a prerequisite, because they contain |
83 |
classes which are referenced by my classes. |
|
84 |
We do not need these packages as a prerequisite for compiling or loading, |
|
85 |
however, a class from it may be referenced during execution and having it |
|
86 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller |
|
87 |
includes explicit checks for the package being present. |
|
88 |
This method is generated automatically, |
|
89 |
by searching all classes (and their packages) which are referenced by my classes." |
|
2910
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
90 |
|
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
91 |
^ #( |
1665 | 92 |
) |
2987 | 93 |
! |
94 |
||
95 |
subProjects |
|
96 |
"list packages which are known as subprojects. |
|
97 |
The generated makefile will enter those and make there as well. |
|
98 |
However: they are not forced to be loaded when a package is loaded; |
|
99 |
for those, redefine requiredPrerequisites" |
|
100 |
||
101 |
^ #( |
|
102 |
) |
|
1665 | 103 |
! ! |
104 |
||
105 |
!stx_libbasic2 class methodsFor:'description - compilation'! |
|
106 |
||
2248 | 107 |
additionalBaseAddressDefinition_bc_dot_mak |
2254 | 108 |
"this is an optional definition, which (if present) may speed up the dll-loading a little |
109 |
on win32 systems." |
|
110 |
||
1703 | 111 |
^ ' |
2254 | 112 |
# see stdHeader_bc for LIBBASIC2_BASE |
2248 | 113 |
LIB_BASE=$(LIBBASIC2_BASE) |
1703 | 114 |
' |
1690 | 115 |
! |
116 |
||
2255 | 117 |
additionalLinkLibraries_bc_dot_mak |
1823 | 118 |
"/ ^ '$(ZLIB) $(BZ2LIB)' |
3589 | 119 |
^ '$(ZLIB_DIR)\$(ZLIB) $(WINSOCK_LIB)' |
1823 | 120 |
! |
121 |
||
2255 | 122 |
additionalLinkLibraries_make_dot_proto |
1683 | 123 |
^ '$(ZLIB_LD_ARG) $(BZ2LIB_LD_ARG)' |
124 |
! |
|
125 |
||
2255 | 126 |
additionalRules_bc_dot_mak |
127 |
^ ' |
|
1806 | 128 |
$(ZLIB): |
2255 | 129 |
cd $(ZLIB_DIR) |
130 |
$(MAKE) $(MAKE_ZLIB_ARG) $(ZLIB) |
|
131 |
cd ..\..\libbasic2 |
|
1806 | 132 |
|
133 |
$(BZ2LIB): |
|
2255 | 134 |
cd $(BZ2LIB_DIR) |
135 |
$(MAKE) $(MAKE_BZ2LIB_ARG) bz2.lib |
|
136 |
cd ..\..\libbasic2 |
|
1806 | 137 |
' |
138 |
! |
|
139 |
||
2255 | 140 |
additionalRules_make_dot_proto |
141 |
^ ' |
|
1823 | 142 |
zlib: |
2255 | 143 |
cd $(ZLIB_DIR); $(MAKE) $(MAKE_ZLIB_ARG) |
1823 | 144 |
|
145 |
bz2lib: |
|
2255 | 146 |
cd $(BZ2LIB_DIR); $(MAKE) $(MAKE_BZ2LIB_ARG) libbz2.a |
1823 | 147 |
' |
148 |
! |
|
149 |
||
2255 | 150 |
additionalTargets_bc_dot_mak |
151 |
"/ ^ '$(BZ2LIB) $(ZLIB)' bz2lib doesn't work for now |
|
1823 | 152 |
^ '$(ZLIB)' |
153 |
! |
|
154 |
||
2255 | 155 |
additionalTargets_make_dot_proto |
156 |
^ 'bz2lib zlib' |
|
1738 | 157 |
|
158 |
"Created: / 05-09-2006 / 16:05:12 / cg" |
|
159 |
! |
|
160 |
||
2255 | 161 |
localIncludes |
162 |
^ '-I$(ZLIB_DIR)' |
|
1732 | 163 |
|
1739 | 164 |
"Created: / 06-09-2006 / 18:18:15 / cg" |
1732 | 165 |
! |
166 |
||
2255 | 167 |
stcOptimizationOptions |
2539
58371ca3591f
changed: #stcOptimizationOptions
Claus Gittinger <cg@exept.de>
parents:
2535
diff
changeset
|
168 |
^ '+optinline +optinline2 +inlinenew' |
1665 | 169 |
|
2539
58371ca3591f
changed: #stcOptimizationOptions
Claus Gittinger <cg@exept.de>
parents:
2535
diff
changeset
|
170 |
"Modified: / 21-02-2011 / 14:13:24 / cg" |
3445 | 171 |
! |
172 |
||
173 |
stcWarningOptions |
|
174 |
^ '-warnNonStandard -warnUnused' |
|
2254 | 175 |
! ! |
2248 | 176 |
|
2254 | 177 |
!stx_libbasic2 class methodsFor:'description - contents'! |
178 |
||
2255 | 179 |
classNamesAndAttributes |
2360 | 180 |
"lists the classes which are to be included in the project. |
181 |
Each entry in the list may be: a single class-name (symbol), |
|
182 |
or an array-literal consisting of class name and attributes. |
|
183 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
184 |
||
2255 | 185 |
^ #( |
3916 | 186 |
"<className> or (<className> attributes...) in load order" |
187 |
AVLTree |
|
188 |
AbstractBackgroundJob |
|
189 |
ActiveObject |
|
190 |
ActorStream |
|
191 |
Archiver |
|
192 |
AutoResizingOrderedCollection |
|
193 |
BIG5EncodedString |
|
194 |
BTree |
|
195 |
BaseNCoder |
|
196 |
Bezier |
|
197 |
BinaryTree |
|
198 |
BinaryTreeNode |
|
199 |
BitArray |
|
200 |
BoltLock |
|
201 |
CRC32Stream |
|
202 |
CacheDictionary |
|
203 |
CachedValue |
|
204 |
CharacterSet |
|
205 |
Circle |
|
206 |
CollectingReadStream |
|
207 |
CollectingSharedQueueStream |
|
208 |
CompressionStream |
|
209 |
Cons |
|
210 |
ConsStream |
|
211 |
Curve |
|
212 |
DirectoryContents |
|
213 |
DoubleLink |
|
214 |
EllipticalArc |
|
215 |
ExternalLong |
|
216 |
FileSorter |
|
217 |
FileText |
|
218 |
FilteringStream |
|
219 |
FourByteString |
|
220 |
Future |
|
221 |
GBEncodedString |
|
222 |
GeometricSeries |
|
223 |
HTMLUtilities |
|
224 |
HalfFloatArray |
|
225 |
HandlerCollection |
|
226 |
Heap |
|
227 |
IdentityBag |
|
228 |
IncrementNotification |
|
229 |
InterestConverterWithParameters |
|
230 |
InternalPipeStream |
|
231 |
Iterator |
|
232 |
JISEncodedString |
|
233 |
KSCEncodedString |
|
234 |
KeywordInContextIndexBuilder |
|
235 |
Lazy |
|
236 |
LazyArray |
|
237 |
LazyValue |
|
238 |
LineSegment |
|
239 |
List |
|
240 |
LoggingStream |
|
241 |
MacPlistBinaryDecoder |
|
242 |
MappedCollection |
|
243 |
MessageChannel |
|
244 |
Monitor |
|
245 |
MultiReadStream |
|
246 |
NameLookupError |
|
247 |
NumberSet |
|
248 |
OperationQueue |
|
249 |
PhoneticStringUtilities |
|
250 |
PluggableDictionary |
|
251 |
PluggableSet |
|
252 |
Polygon |
|
253 |
PowerSet |
|
254 |
PrinterStream |
|
255 |
PrintfScanf |
|
256 |
PriorityQueue |
|
257 |
Promise |
|
258 |
Queue |
|
259 |
Random |
|
260 |
RandomBlumBlumShub |
|
261 |
RandomKISS |
|
262 |
RandomKISS2 |
|
263 |
RandomMT19937 |
|
264 |
RandomParkMiller |
|
265 |
RandomRDRand |
|
266 |
RandomTT800 |
|
267 |
ReindexedCollection |
|
268 |
RunArray |
|
269 |
SegmentedOrderedCollection |
|
270 |
SelectingReadStream |
|
271 |
SequenceWithSentinel |
|
272 |
SequenceableCollectionSorter |
|
273 |
SerialPort |
|
274 |
SharedCollection |
|
275 |
Singleton |
|
276 |
SmallBag |
|
277 |
Socket |
|
278 |
SocketAddress |
|
279 |
SocketAddressInfo |
|
280 |
SortedSet |
|
281 |
SoundStream |
|
282 |
Spline |
|
283 |
SplittingWriteStream |
|
284 |
Stack |
|
285 |
StringPattern |
|
286 |
StringUtilities |
|
287 |
TSTree |
|
288 |
TSTreeNode |
|
289 |
TerminalSession |
|
290 |
Text |
|
291 |
TextClassifier |
|
292 |
TextStream |
|
293 |
TreeSet |
|
294 |
Trie |
|
295 |
URI |
|
296 |
UUID |
|
297 |
UnboxedIntegerArray |
|
298 |
UndoSupport |
|
299 |
UnitConverter |
|
300 |
UnixPTYStream |
|
301 |
ValueLink |
|
302 |
VirtualArray |
|
303 |
ZipArchiveConstants |
|
304 |
#'stx_libbasic2' |
|
305 |
AATree |
|
306 |
AATreeNode |
|
307 |
AppletalkSocketAddress |
|
308 |
Arrow |
|
309 |
ArrowedSpline |
|
310 |
AutoResizingOrderedCollectionWithDefault |
|
311 |
BZip2Stream |
|
312 |
BackgroundJob |
|
313 |
BackgroundPeriodicalJob |
|
314 |
BackgroundQueueProcessingJob |
|
315 |
Base32Coder |
|
316 |
Base64Coder |
|
317 |
BayesClassifier |
|
318 |
Bezier2Segment |
|
319 |
BooleanArray |
|
320 |
CacheDictionaryWithFactory |
|
321 |
DecNetSocketAddress |
|
322 |
EpsonFX1PrinterStream |
|
323 |
FilteringLineStream |
|
324 |
HPLjetIIPrinterStream |
|
325 |
HTMLPrinterStream |
|
326 |
HierarchicalURI |
|
327 |
HostAddressLookupError |
|
328 |
HostNameLookupError |
|
329 |
IPSocketAddress |
|
330 |
IntegerArray |
|
331 |
LazyCons |
|
332 |
LineNumberReadStream |
|
333 |
LongIntegerArray |
|
334 |
PostscriptPrinterStream |
|
335 |
RandomGenerator |
|
336 |
SharedQueue |
|
337 |
SignedIntegerArray |
|
338 |
SignedLongIntegerArray |
|
339 |
SignedWordArray |
|
340 |
TSMultiTree |
|
341 |
TSMultiTreeNode |
|
342 |
TimedPromise |
|
343 |
UDSocketAddress |
|
344 |
Unicode32String |
|
345 |
ValueDoubleLink |
|
346 |
WordArray |
|
347 |
ZipArchive |
|
348 |
ZipStream |
|
349 |
FileURI |
|
350 |
FtpURI |
|
351 |
HttpURI |
|
352 |
IPv6SocketAddress |
|
353 |
SftpURI |
|
2255 | 354 |
) |
2254 | 355 |
! |
1767 | 356 |
|
2255 | 357 |
extensionMethodNames |
3905 | 358 |
"lists the extension methods which are to be included in the project. |
359 |
Entries are 2-element array literals, consisting of class-name and selector. |
|
360 |
A correponding method with real names must be present in my concrete subclasses |
|
361 |
if it has extensions." |
|
2600 | 362 |
|
2255 | 363 |
^ #( |
3916 | 364 |
CharacterArray asKoelnerPhoneticCode |
365 |
CharacterArray asSoundexCode |
|
366 |
CharacterArray printf: |
|
367 |
CharacterArray printf:on: |
|
368 |
CharacterArray printfWith: |
|
369 |
CharacterArray printfWith:with: |
|
370 |
CharacterArray printfWith:with:with: |
|
371 |
CharacterArray printfWith:with:with:with: |
|
372 |
CharacterArray #'printf_formatArgCount' |
|
373 |
CharacterArray #'printf_printArgFrom:to:withData:' |
|
374 |
CharacterArray #'printf_printOn:withData:' |
|
375 |
CharacterArray scanf: |
|
376 |
CharacterArray #'scanf_scanArgFrom:to:format:' |
|
377 |
CharacterArray sscanf: |
|
378 |
Float absDecimalPrintOn:digits: |
|
379 |
Float absPrintOn:digits: |
|
380 |
Float absScientificPrintOn:digits: |
|
381 |
Object addInterest: |
|
382 |
Object asDoubleLink |
|
383 |
Object expressInterestIn:for:sendBack: |
|
384 |
Object interests |
|
385 |
Object interestsFor: |
|
386 |
Object onChangeEvaluate: |
|
387 |
Object onChangeSend:to: |
|
388 |
Object removeActionsForEvent: |
|
389 |
Object removeActionsWithReceiver: |
|
390 |
Object removeAllActionsWithReceiver: |
|
391 |
Object removeInterest: |
|
392 |
Object retractInterestIn:for: |
|
393 |
Object retractInterests |
|
394 |
Object retractInterestsFor: |
|
395 |
Object retractInterestsForWhich: |
|
396 |
Object retractInterestsIn: |
|
397 |
Object trigger: |
|
398 |
Object trigger:with: |
|
399 |
Object triggerEvent: |
|
400 |
Object triggerEvent:with: |
|
401 |
Object triggerEvent:withArguments: |
|
402 |
Object when:send:to: |
|
403 |
Object when:send:to:with: |
|
404 |
Object when:sendTo: |
|
405 |
Stream collecting: |
|
406 |
Stream selecting: |
|
1767 | 407 |
) |
408 |
! ! |
|
409 |
||
1665 | 410 |
!stx_libbasic2 class methodsFor:'description - project information'! |
411 |
||
2255 | 412 |
companyName |
413 |
"Return a companyname which will appear in <lib>.rc" |
|
414 |
||
415 |
^ 'eXept Software AG' |
|
1665 | 416 |
! |
417 |
||
2255 | 418 |
description |
419 |
"Return a description string which will appear in nt.def / bc.def" |
|
1665 | 420 |
|
1740 | 421 |
^ 'Smalltalk/X Additional Basic Classes' |
1665 | 422 |
|
1740 | 423 |
"Modified: / 14-09-2006 / 10:57:15 / cg" |
2255 | 424 |
! |
425 |
||
426 |
legalCopyright |
|
427 |
"Return a copyright string which will appear in <lib>.rc" |
|
428 |
||
3579 | 429 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 2012' |
2255 | 430 |
|
2750 | 431 |
"Modified: / 18-07-2012 / 19:11:22 / cg" |
2910
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
432 |
! |
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
433 |
|
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
434 |
productName |
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
435 |
"Return a product name which will appear in <lib>.rc" |
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
436 |
|
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
437 |
^ 'Smalltalk/X' |
1665 | 438 |
! ! |
439 |
||
440 |
!stx_libbasic2 class methodsFor:'documentation'! |
|
441 |
||
442 |
version |
|
3568
6f684b01fe00
added: AutoResizingOrderedCollection
Claus Gittinger <cg@exept.de>
parents:
3504
diff
changeset
|
443 |
^ '$Header$' |
2284
141696a39190
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
2277
diff
changeset
|
444 |
! |
141696a39190
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
2277
diff
changeset
|
445 |
|
141696a39190
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
2277
diff
changeset
|
446 |
version_CVS |
3568
6f684b01fe00
added: AutoResizingOrderedCollection
Claus Gittinger <cg@exept.de>
parents:
3504
diff
changeset
|
447 |
^ '$Header$' |
1665 | 448 |
! ! |