author | Claus Gittinger <cg@exept.de> |
Mon, 13 Jun 2016 10:55:45 +0200 | |
changeset 3945 | c22b1e27d53b |
parent 3928 | d1133788cbba |
child 3951 | 4a4998eb2bdf |
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 |
3928 | 118 |
^ '$(ZLIB_DIR)\$(ZLIB) $(BZ2LIB) $(WINSOCK_LIB)' |
1823 | 119 |
! |
120 |
||
2255 | 121 |
additionalLinkLibraries_make_dot_proto |
1683 | 122 |
^ '$(ZLIB_LD_ARG) $(BZ2LIB_LD_ARG)' |
123 |
! |
|
124 |
||
2255 | 125 |
additionalRules_bc_dot_mak |
126 |
^ ' |
|
1806 | 127 |
$(ZLIB): |
3945 | 128 |
cd $(ZLIB_DIR) |
129 |
$(MAKE) $(MAKE_ZLIB_ARG) $(ZLIB) |
|
130 |
cd ..\..\libbasic2 |
|
1806 | 131 |
|
132 |
$(BZ2LIB): |
|
3945 | 133 |
cd $(BZ2LIB_DIR) |
134 |
$(MAKE) $(MAKE_BZ2LIB_ARG) $(BZ2LIB) |
|
135 |
cd ..\..\libbasic2 |
|
1806 | 136 |
' |
137 |
! |
|
138 |
||
2255 | 139 |
additionalRules_make_dot_proto |
140 |
^ ' |
|
1823 | 141 |
zlib: |
2255 | 142 |
cd $(ZLIB_DIR); $(MAKE) $(MAKE_ZLIB_ARG) |
1823 | 143 |
|
144 |
bz2lib: |
|
2255 | 145 |
cd $(BZ2LIB_DIR); $(MAKE) $(MAKE_BZ2LIB_ARG) libbz2.a |
1823 | 146 |
' |
147 |
! |
|
148 |
||
2255 | 149 |
additionalTargets_bc_dot_mak |
3928 | 150 |
^ '$(ZLIB) $(BZ2LIB)' |
1823 | 151 |
! |
152 |
||
2255 | 153 |
additionalTargets_make_dot_proto |
154 |
^ 'bz2lib zlib' |
|
1738 | 155 |
|
156 |
"Created: / 05-09-2006 / 16:05:12 / cg" |
|
157 |
! |
|
158 |
||
2255 | 159 |
localIncludes |
3928 | 160 |
^ '-I$(ZLIB_DIR) -I$(BZ2LIB_DIR)' |
1732 | 161 |
|
1739 | 162 |
"Created: / 06-09-2006 / 18:18:15 / cg" |
1732 | 163 |
! |
164 |
||
2255 | 165 |
stcOptimizationOptions |
2539
58371ca3591f
changed: #stcOptimizationOptions
Claus Gittinger <cg@exept.de>
parents:
2535
diff
changeset
|
166 |
^ '+optinline +optinline2 +inlinenew' |
1665 | 167 |
|
2539
58371ca3591f
changed: #stcOptimizationOptions
Claus Gittinger <cg@exept.de>
parents:
2535
diff
changeset
|
168 |
"Modified: / 21-02-2011 / 14:13:24 / cg" |
3445 | 169 |
! |
170 |
||
171 |
stcWarningOptions |
|
172 |
^ '-warnNonStandard -warnUnused' |
|
2254 | 173 |
! ! |
2248 | 174 |
|
2254 | 175 |
!stx_libbasic2 class methodsFor:'description - contents'! |
176 |
||
2255 | 177 |
classNamesAndAttributes |
2360 | 178 |
"lists the classes which are to be included in the project. |
179 |
Each entry in the list may be: a single class-name (symbol), |
|
180 |
or an array-literal consisting of class name and attributes. |
|
181 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
182 |
||
2255 | 183 |
^ #( |
3921 | 184 |
"<className> or (<className> attributes...) in load order" |
185 |
AVLTree |
|
186 |
AbstractBackgroundJob |
|
187 |
ActiveObject |
|
188 |
ActorStream |
|
189 |
Archiver |
|
190 |
AutoResizingOrderedCollection |
|
191 |
BIG5EncodedString |
|
192 |
BTree |
|
193 |
BaseNCoder |
|
194 |
Bezier |
|
195 |
BinaryTree |
|
196 |
BinaryTreeNode |
|
197 |
BitArray |
|
198 |
BoltLock |
|
199 |
CRC32Stream |
|
200 |
CacheDictionary |
|
201 |
CachedValue |
|
202 |
CharacterSet |
|
203 |
Circle |
|
204 |
CollectingReadStream |
|
205 |
CollectingSharedQueueStream |
|
206 |
CompressionStream |
|
207 |
Cons |
|
208 |
ConsStream |
|
209 |
Curve |
|
210 |
DirectoryContents |
|
211 |
DoubleLink |
|
212 |
(DoubleLinkedList autoload) |
|
213 |
EllipticalArc |
|
214 |
ExternalLong |
|
215 |
FileSorter |
|
216 |
FileText |
|
217 |
FilteringStream |
|
218 |
FourByteString |
|
219 |
Future |
|
220 |
GBEncodedString |
|
221 |
GeometricSeries |
|
222 |
HTMLUtilities |
|
223 |
HalfFloatArray |
|
224 |
HandlerCollection |
|
225 |
Heap |
|
226 |
IdentityBag |
|
227 |
IncrementNotification |
|
228 |
InterestConverterWithParameters |
|
229 |
InternalPipeStream |
|
230 |
Iterator |
|
231 |
JISEncodedString |
|
232 |
KSCEncodedString |
|
233 |
KeywordInContextIndexBuilder |
|
234 |
Lazy |
|
235 |
LazyArray |
|
236 |
LazyValue |
|
237 |
LineSegment |
|
238 |
List |
|
239 |
LoggingStream |
|
240 |
MacPlistBinaryDecoder |
|
241 |
MappedCollection |
|
242 |
MessageChannel |
|
243 |
Monitor |
|
244 |
MultiReadStream |
|
245 |
NameLookupError |
|
246 |
NumberSet |
|
247 |
OperationQueue |
|
248 |
PhoneticStringUtilities |
|
249 |
PluggableDictionary |
|
250 |
PluggableSet |
|
251 |
Polygon |
|
252 |
PowerSet |
|
253 |
PrinterStream |
|
254 |
PrintfScanf |
|
255 |
PriorityQueue |
|
256 |
Promise |
|
257 |
Queue |
|
258 |
Random |
|
259 |
RandomBlumBlumShub |
|
260 |
RandomKISS |
|
261 |
RandomKISS2 |
|
262 |
RandomMT19937 |
|
263 |
RandomParkMiller |
|
264 |
RandomRDRand |
|
265 |
RandomTT800 |
|
266 |
ReindexedCollection |
|
267 |
RunArray |
|
268 |
SegmentedOrderedCollection |
|
269 |
SelectingReadStream |
|
270 |
SequenceWithSentinel |
|
271 |
SequenceableCollectionSorter |
|
272 |
SerialPort |
|
273 |
SharedCollection |
|
274 |
Singleton |
|
275 |
SmallBag |
|
276 |
Socket |
|
277 |
SocketAddress |
|
278 |
SocketAddressInfo |
|
279 |
SortedSet |
|
280 |
SoundStream |
|
281 |
Spline |
|
282 |
SplittingWriteStream |
|
283 |
Stack |
|
284 |
StringPattern |
|
285 |
StringUtilities |
|
286 |
TSTree |
|
287 |
TSTreeNode |
|
288 |
TerminalSession |
|
289 |
Text |
|
290 |
TextClassifier |
|
291 |
TextStream |
|
292 |
TreeSet |
|
293 |
Trie |
|
294 |
URI |
|
295 |
UUID |
|
296 |
UnboxedIntegerArray |
|
297 |
UndoSupport |
|
298 |
UnitConverter |
|
299 |
UnixPTYStream |
|
300 |
ValueLink |
|
301 |
VirtualArray |
|
302 |
ZipArchiveConstants |
|
303 |
#'stx_libbasic2' |
|
304 |
AATree |
|
305 |
AATreeNode |
|
306 |
AppletalkSocketAddress |
|
307 |
Arrow |
|
308 |
ArrowedSpline |
|
309 |
AutoResizingOrderedCollectionWithDefault |
|
310 |
BZip2Stream |
|
311 |
BackgroundJob |
|
312 |
BackgroundPeriodicalJob |
|
313 |
BackgroundQueueProcessingJob |
|
314 |
Base32Coder |
|
315 |
Base64Coder |
|
316 |
BayesClassifier |
|
317 |
Bezier2Segment |
|
318 |
BooleanArray |
|
319 |
CacheDictionaryWithFactory |
|
320 |
DecNetSocketAddress |
|
321 |
EpsonFX1PrinterStream |
|
322 |
FilteringLineStream |
|
323 |
HPLjetIIPrinterStream |
|
324 |
HTMLPrinterStream |
|
325 |
HierarchicalURI |
|
326 |
HostAddressLookupError |
|
327 |
HostNameLookupError |
|
328 |
IPSocketAddress |
|
329 |
IntegerArray |
|
330 |
LazyCons |
|
331 |
LineNumberReadStream |
|
332 |
LongIntegerArray |
|
333 |
PostscriptPrinterStream |
|
334 |
RandomGenerator |
|
335 |
SharedQueue |
|
336 |
SignedIntegerArray |
|
337 |
SignedLongIntegerArray |
|
338 |
SignedWordArray |
|
339 |
TSMultiTree |
|
340 |
TSMultiTreeNode |
|
341 |
TimedPromise |
|
342 |
UDSocketAddress |
|
343 |
Unicode32String |
|
344 |
ValueDoubleLink |
|
345 |
WordArray |
|
346 |
ZipArchive |
|
347 |
ZipStream |
|
348 |
FileURI |
|
349 |
FtpURI |
|
350 |
HttpURI |
|
351 |
IPv6SocketAddress |
|
352 |
SftpURI |
|
2255 | 353 |
) |
2254 | 354 |
! |
1767 | 355 |
|
2255 | 356 |
extensionMethodNames |
3905 | 357 |
"lists the extension methods which are to be included in the project. |
358 |
Entries are 2-element array literals, consisting of class-name and selector. |
|
359 |
A correponding method with real names must be present in my concrete subclasses |
|
360 |
if it has extensions." |
|
2600 | 361 |
|
2255 | 362 |
^ #( |
3916 | 363 |
CharacterArray asKoelnerPhoneticCode |
364 |
CharacterArray asSoundexCode |
|
365 |
CharacterArray printf: |
|
366 |
CharacterArray printf:on: |
|
367 |
CharacterArray printfWith: |
|
368 |
CharacterArray printfWith:with: |
|
369 |
CharacterArray printfWith:with:with: |
|
370 |
CharacterArray printfWith:with:with:with: |
|
371 |
CharacterArray #'printf_formatArgCount' |
|
372 |
CharacterArray #'printf_printArgFrom:to:withData:' |
|
373 |
CharacterArray #'printf_printOn:withData:' |
|
374 |
CharacterArray scanf: |
|
375 |
CharacterArray #'scanf_scanArgFrom:to:format:' |
|
376 |
CharacterArray sscanf: |
|
377 |
Float absDecimalPrintOn:digits: |
|
378 |
Float absPrintOn:digits: |
|
379 |
Float absScientificPrintOn:digits: |
|
380 |
Object addInterest: |
|
381 |
Object asDoubleLink |
|
382 |
Object expressInterestIn:for:sendBack: |
|
383 |
Object interests |
|
384 |
Object interestsFor: |
|
385 |
Object onChangeEvaluate: |
|
386 |
Object onChangeSend:to: |
|
387 |
Object removeActionsForEvent: |
|
388 |
Object removeActionsWithReceiver: |
|
389 |
Object removeAllActionsWithReceiver: |
|
390 |
Object removeInterest: |
|
391 |
Object retractInterestIn:for: |
|
392 |
Object retractInterests |
|
393 |
Object retractInterestsFor: |
|
394 |
Object retractInterestsForWhich: |
|
395 |
Object retractInterestsIn: |
|
396 |
Object trigger: |
|
397 |
Object trigger:with: |
|
398 |
Object triggerEvent: |
|
399 |
Object triggerEvent:with: |
|
400 |
Object triggerEvent:withArguments: |
|
401 |
Object when:send:to: |
|
402 |
Object when:send:to:with: |
|
403 |
Object when:sendTo: |
|
404 |
Stream collecting: |
|
405 |
Stream selecting: |
|
1767 | 406 |
) |
407 |
! ! |
|
408 |
||
1665 | 409 |
!stx_libbasic2 class methodsFor:'description - project information'! |
410 |
||
2255 | 411 |
companyName |
412 |
"Return a companyname which will appear in <lib>.rc" |
|
413 |
||
414 |
^ 'eXept Software AG' |
|
1665 | 415 |
! |
416 |
||
2255 | 417 |
description |
418 |
"Return a description string which will appear in nt.def / bc.def" |
|
1665 | 419 |
|
1740 | 420 |
^ 'Smalltalk/X Additional Basic Classes' |
1665 | 421 |
|
1740 | 422 |
"Modified: / 14-09-2006 / 10:57:15 / cg" |
2255 | 423 |
! |
424 |
||
425 |
legalCopyright |
|
426 |
"Return a copyright string which will appear in <lib>.rc" |
|
427 |
||
3579 | 428 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 2012' |
2255 | 429 |
|
2750 | 430 |
"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
|
431 |
! |
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 |
productName |
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
434 |
"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
|
435 |
|
e7f29980eed5
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2887
diff
changeset
|
436 |
^ 'Smalltalk/X' |
1665 | 437 |
! ! |
438 |
||
439 |
!stx_libbasic2 class methodsFor:'documentation'! |
|
440 |
||
441 |
version |
|
3568
6f684b01fe00
added: AutoResizingOrderedCollection
Claus Gittinger <cg@exept.de>
parents:
3504
diff
changeset
|
442 |
^ '$Header$' |
2284
141696a39190
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
2277
diff
changeset
|
443 |
! |
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 |
version_CVS |
3568
6f684b01fe00
added: AutoResizingOrderedCollection
Claus Gittinger <cg@exept.de>
parents:
3504
diff
changeset
|
446 |
^ '$Header$' |
1665 | 447 |
! ! |
3921 | 448 |