author | Claus Gittinger <cg@exept.de> |
Wed, 03 Apr 2013 23:17:45 +0200 | |
changeset 3092 | 5fb76d569e84 |
parent 3082 | d18705e603f6 |
child 3100 | d9475e2dc5dc |
permissions | -rw-r--r-- |
1858 | 1 |
" |
2 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
2024 | 3 |
All Rights Reserved |
1858 | 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 |
" |
|
1827 | 12 |
"{ Package: 'stx:libcomp' }" |
13 |
||
14 |
LibraryDefinition subclass:#stx_libcomp |
|
15 |
instanceVariableNames:'' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
2024 | 18 |
category:'* Projects & Packages *' |
1827 | 19 |
! |
20 |
||
1858 | 21 |
!stx_libcomp class methodsFor:'documentation'! |
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
2024 | 26 |
All Rights Reserved |
1858 | 27 |
|
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
! |
|
36 |
||
37 |
documentation |
|
38 |
" |
|
2953 | 39 |
Build- and package information for creation of the st/x standard library: stx_libcomp. |
1858 | 40 |
This library contains the smalltalk parser and bytecode compiler. |
41 |
" |
|
42 |
! ! |
|
1827 | 43 |
|
44 |
!stx_libcomp class methodsFor:'description'! |
|
45 |
||
2034 | 46 |
excludedFromPreRequisites |
47 |
^ #( |
|
2497 | 48 |
#'exept:ctypes' |
2034 | 49 |
#'stx:libbasic2' "Text - referenced by Parser>>selectorCheck:for:positions: " |
50 |
#'stx:libtool' "Tools::ToDoListBrowser - referenced by Parser>>selectorCheck:for:positions: " |
|
51 |
#'stx:libview' "Color - referenced by SyntaxHighlighter>>markParenthesisAt: " |
|
52 |
#'stx:libview2' "ValueHolder - referenced by Parser>>addDoItTemporary: " |
|
53 |
#'stx:libwidg' "Workspace - referenced by Parser>>primary_identifier " |
|
54 |
#'stx:libwidg2' "TextBox - referenced by WarningCompilationErrorHandler>>error:position:to:from: " |
|
2497 | 55 |
#'stx:goodies/sunit' |
2034 | 56 |
) |
2497 | 57 |
|
58 |
"Modified: / 16-06-2011 / 15:33:57 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
2034 | 59 |
! |
60 |
||
3033
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
61 |
mandatoryPreRequisites |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
62 |
"list all required mandatory packages. |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
63 |
Packages are mandatory, if they contain superclasses of the package's classes |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
64 |
or classes which are extended by this package. |
2497 | 65 |
This list can be maintained manually or (better) generated and |
3033
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
66 |
updated by scanning the superclass hierarchies |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
67 |
(the browser has a menu function for that) |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
68 |
However, often too much is found, and you may want to explicitely |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
69 |
exclude individual packages in the #excludedFromPreRequisites method." |
2497 | 70 |
|
1827 | 71 |
^ #( |
3033
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
72 |
#'stx:libbasic' "Query - superclass of Parser::AskForVariableTypeOfUndeclaredQuery " |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
73 |
) |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
74 |
! |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
75 |
|
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
76 |
referencedPreRequisites |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
77 |
"list all packages containing classes referenced by the packages's members. |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
78 |
This list can be maintained manually or (better) generated and |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
79 |
updated by looking for global variable accesses |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
80 |
(the browser has a menu function for that) |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
81 |
However, often too much is found, and you may want to explicitely |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
82 |
exclude individual packages in the #excludedFromPreRequisites method." |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
83 |
|
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
84 |
^ #( |
1827 | 85 |
) |
86 |
! ! |
|
87 |
||
1868 | 88 |
!stx_libcomp class methodsFor:'description - compilation'! |
89 |
||
2203 | 90 |
additionalBaseAddressDefinition_bc_dot_mak |
91 |
"this is an optional definition, which (if present) may speed up the dll-loading a little |
|
92 |
on win32 systems." |
|
93 |
||
1889 | 94 |
^ ' |
1968 | 95 |
# see stdHeader_bc for LIBCOMP_BASE |
2203 | 96 |
LIB_BASE=$(LIBCOMP_BASE) |
1889 | 97 |
' |
1878 | 98 |
! |
99 |
||
1868 | 100 |
stcOptimizationOptions |
1870 | 101 |
^ '+optinline' |
1868 | 102 |
|
103 |
"Created: / 23-08-2006 / 11:27:31 / cg" |
|
104 |
! ! |
|
105 |
||
1927 | 106 |
!stx_libcomp class methodsFor:'description - contents'! |
107 |
||
108 |
classNamesAndAttributes |
|
2254 | 109 |
"lists the classes which are to be included in the project. |
110 |
Each entry in the list may be: a single class-name (symbol), |
|
111 |
or an array-literal consisting of class name and attributes. |
|
112 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
113 |
||
1927 | 114 |
^ #( |
2034 | 115 |
"<className> or (<className> attributes...) in load order" |
2497 | 116 |
Breakpoint |
2776 | 117 |
BreakpointDescription |
118 |
CompilationErrorHandler |
|
119 |
DoNotShowCompilerWarningAgainActionQuery |
|
120 |
InstrumentationContext |
|
121 |
InstrumentationInfo |
|
122 |
InstrumentedMethod |
|
123 |
LazyMethod |
|
124 |
ObjectFileHandle |
|
125 |
ObjectFileLoader |
|
126 |
ParseNode |
|
3057 | 127 |
MethodNode |
2776 | 128 |
(ParseNodeValidator autoload) |
129 |
(ParseNodeVisitor autoload) |
|
130 |
ParserFlags |
|
131 |
ProgramNodeBuilder |
|
132 |
ProgramNodeEnumerator |
|
133 |
STCCompilerInterface |
|
134 |
Scanner |
|
135 |
SourceFileLoader |
|
136 |
Structure |
|
137 |
Switch |
|
138 |
UndefinedVariable |
|
139 |
Variable |
|
140 |
#'stx_libcomp' |
|
141 |
AssignmentNode |
|
142 |
BlockNode |
|
143 |
BreakpointNode |
|
144 |
MessageNode |
|
145 |
ParseErrorNode |
|
146 |
Parser |
|
147 |
PrimaryNode |
|
148 |
ProgramNode |
|
149 |
StatementNode |
|
150 |
TextCollectingCompilationErrorHandler |
|
151 |
WarningCompilationErrorHandler |
|
152 |
AbstractSyntaxHighlighter |
|
153 |
BinaryNode |
|
154 |
ByteCodeCompiler |
|
155 |
CascadeNode |
|
156 |
ConstantNode |
|
157 |
Explainer |
|
158 |
PrimitiveNode |
|
159 |
ReturnNode |
|
160 |
SelfNode |
|
161 |
UnaryNode |
|
162 |
VariableNode |
|
163 |
ByteCodeCompilerWithBreakpointSupport |
|
164 |
CodeCoverageHighlighter |
|
165 |
Decompiler |
|
166 |
ECompletionConstantNode |
|
167 |
InstrumentingCompiler |
|
168 |
SuperNode |
|
169 |
SyntaxHighlighter |
|
2827 | 170 |
SelectorNode |
2843 | 171 |
DoNotShowCompilerWarningAgainForThisMethodActionQuery |
3082 | 172 |
ParseWarning |
173 |
ParseError |
|
174 |
CompilationError |
|
3092 | 175 |
UndefinedSuperclassError |
176 |
UndefinedVariableError |
|
2776 | 177 |
) |
178 |
! |
|
179 |
||
180 |
extensionMethodNames |
|
181 |
"lists the extension methods which are to be included in the project. |
|
182 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
183 |
||
184 |
^ #( |
|
185 |
Object notifyTodo:position:className:selector:severity:priority:equalityParameter:checkAction: |
|
186 |
) |
|
187 |
! |
|
188 |
||
189 |
xclassNamesAndAttributes |
|
190 |
"lists the classes which are to be included in the project. |
|
191 |
Each entry in the list may be: a single class-name (symbol), |
|
192 |
or an array-literal consisting of class name and attributes. |
|
193 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
194 |
||
195 |
^ #( |
|
196 |
"<className> or (<className> attributes...) in load order" |
|
197 |
Breakpoint |
|
2034 | 198 |
CompilationErrorHandler |
2497 | 199 |
DoNotShowCompilerWarningAgainActionQuery |
200 |
InstrumentedMethod |
|
2034 | 201 |
LazyMethod |
202 |
ObjectFileHandle |
|
203 |
ObjectFileLoader |
|
204 |
ParseNode |
|
205 |
ParserFlags |
|
206 |
ProgramNodeBuilder |
|
207 |
ProgramNodeEnumerator |
|
208 |
STCCompilerInterface |
|
209 |
Scanner |
|
210 |
SourceFileLoader |
|
211 |
Structure |
|
212 |
Switch |
|
213 |
UndefinedVariable |
|
214 |
Variable |
|
2497 | 215 |
#'stx_libcomp' |
216 |
AssignmentNode |
|
217 |
BlockNode |
|
218 |
BreakpointNode |
|
219 |
MessageNode |
|
220 |
Parser |
|
221 |
PrimaryNode |
|
222 |
ProgramNode |
|
223 |
StatementNode |
|
224 |
TextCollectingCompilationErrorHandler |
|
2034 | 225 |
WarningCompilationErrorHandler |
2497 | 226 |
AbstractSyntaxHighlighter |
227 |
BinaryNode |
|
228 |
ByteCodeCompiler |
|
229 |
CascadeNode |
|
230 |
ConstantNode |
|
231 |
Explainer |
|
232 |
ParseErrorNode |
|
233 |
PrimitiveNode |
|
234 |
ReturnNode |
|
235 |
SelfNode |
|
236 |
UnaryNode |
|
237 |
VariableNode |
|
238 |
ByteCodeCompilerWithBreakpointSupport |
|
239 |
CodeCoverageHighlighter |
|
240 |
Decompiler |
|
241 |
ECompletionConstantNode |
|
2642 | 242 |
InstrumentationInfo |
243 |
InstrumentationContext |
|
2366 | 244 |
InstrumentingCompiler |
2497 | 245 |
SuperNode |
246 |
SyntaxHighlighter |
|
2561 | 247 |
BreakpointDescription |
2580 | 248 |
(ParseNodeValidator autoload) |
2592 | 249 |
(ParseNodeVisitor autoload) |
2698
d91ab2f27d67
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
2697
diff
changeset
|
250 |
(MethodNode autoload) |
1927 | 251 |
) |
2023 | 252 |
|
2776 | 253 |
"Created: / 06-12-2011 / 21:14:23 / cg" |
1927 | 254 |
! ! |
255 |
||
1827 | 256 |
!stx_libcomp class methodsFor:'description - project information'! |
257 |
||
3033
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
258 |
applicationIconFileName |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
259 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
260 |
|
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
261 |
^ nil |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
262 |
"/ ^ self applicationName |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
263 |
! |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
264 |
|
1827 | 265 |
companyName |
266 |
"Return a companyname which will appear in <lib>.rc" |
|
267 |
||
268 |
^ 'eXept Software AG' |
|
269 |
! |
|
270 |
||
271 |
description |
|
272 |
"Return a description string which will appear in nt.def / bc.def" |
|
273 |
||
1859 | 274 |
^ 'Smalltalk/X Bytecode Compiler' |
275 |
! |
|
276 |
||
1827 | 277 |
legalCopyright |
278 |
"Return copyright string which will appear in <lib>.rc" |
|
279 |
||
2886 | 280 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012' |
2045 | 281 |
|
2886 | 282 |
"Modified: / 18-07-2012 / 19:11:33 / cg" |
3033
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
283 |
! |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
284 |
|
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
285 |
productName |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
286 |
"Return a product name which will appear in <lib>.rc" |
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
287 |
|
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
288 |
^ 'Smalltalk/X' |
1827 | 289 |
! ! |
290 |
||
2497 | 291 |
!stx_libcomp class methodsFor:'description - svn'! |
292 |
||
293 |
svnRepositoryUrlString |
|
294 |
"Return a SVN repository URL of myself. |
|
295 |
(Generated since 2011-04-08) |
|
296 |
" |
|
297 |
||
298 |
^ '$URL$' |
|
299 |
! |
|
300 |
||
301 |
svnRevisionNr |
|
302 |
"Return a SVN revision number of myself. |
|
303 |
This number is updated after a commit" |
|
304 |
||
3033
47393e19b5d2
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
3026
diff
changeset
|
305 |
^ "$SVN-Revision:"'Nicht versioniertes Verzeichnis'"$" |
2497 | 306 |
! ! |
307 |
||
1827 | 308 |
!stx_libcomp class methodsFor:'documentation'! |
309 |
||
2642 | 310 |
version |
3092 | 311 |
^ '$Header: /cvs/stx/stx/libcomp/stx_libcomp.st,v 1.59 2013-04-03 21:17:45 cg Exp $' |
2642 | 312 |
! |
313 |
||
2497 | 314 |
version_CVS |
3092 | 315 |
^ '$Header: /cvs/stx/stx/libcomp/stx_libcomp.st,v 1.59 2013-04-03 21:17:45 cg Exp $' |
2254 | 316 |
! |
317 |
||
2497 | 318 |
version_SVN |
2520 | 319 |
^ '§ Id §' |
1827 | 320 |
! ! |
3026 | 321 |