author | vranyj1 |
Sat, 03 Dec 2011 22:02:52 +0000 | |
branch | jk_new_structure |
changeset 1208 | 601f62409ff2 |
parent 1205 | ea0a42e158f0 |
child 1225 | 30600ca8173c |
permissions | -rw-r--r-- |
877 | 1 |
" |
2 |
COPYRIGHT (c) 1996-2011 by Claus Gittinger |
|
1155 | 3 |
|
4 |
New code and modifications done at SWING Research Group [1]: |
|
5 |
||
877 | 6 |
COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko |
7 |
SWING Research Group, Czech Technical University in Prague |
|
8 |
||
9 |
This software is furnished under a license and may be used |
|
10 |
only in accordance with the terms of that license and with the |
|
11 |
inclusion of the above copyright notice. This software may not |
|
12 |
be provided or otherwise made available to, or used by, any |
|
13 |
other person. No title to or ownership of the software is |
|
14 |
hereby transferred. |
|
15 |
||
1155 | 16 |
[1] Code written at SWING Research Group contains a signature |
17 |
of one of the above copright owners. For exact set of such code, |
|
18 |
see the differences between this version and version stx:libjava |
|
19 |
as of 1.9.2010 |
|
877 | 20 |
" |
752 | 21 |
"{ Package: 'stx:libjava' }" |
22 |
||
23 |
LibraryDefinition subclass:#stx_libjava |
|
24 |
instanceVariableNames:'' |
|
25 |
classVariableNames:'' |
|
26 |
poolDictionaries:'' |
|
27 |
category:'* Projects & Packages *' |
|
28 |
! |
|
29 |
||
877 | 30 |
!stx_libjava class methodsFor:'documentation'! |
31 |
||
32 |
copyright |
|
33 |
" |
|
34 |
COPYRIGHT (c) 1996-2011 by Claus Gittinger |
|
1155 | 35 |
|
36 |
New code and modifications done at SWING Research Group [1]: |
|
37 |
||
877 | 38 |
COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko |
39 |
SWING Research Group, Czech Technical University in Prague |
|
40 |
||
41 |
This software is furnished under a license and may be used |
|
42 |
only in accordance with the terms of that license and with the |
|
43 |
inclusion of the above copyright notice. This software may not |
|
44 |
be provided or otherwise made available to, or used by, any |
|
45 |
other person. No title to or ownership of the software is |
|
46 |
hereby transferred. |
|
47 |
||
1155 | 48 |
[1] Code written at SWING Research Group contains a signature |
49 |
of one of the above copright owners. For exact set of such code, |
|
50 |
see the differences between this version and version stx:libjava |
|
51 |
as of 1.9.2010 |
|
877 | 52 |
|
53 |
" |
|
1021
8ae6c261878a
changed class loaders order, loading of primitive arrays, refactoring coming soon..
hlopkmar
parents:
1019
diff
changeset
|
54 |
! |
8ae6c261878a
changed class loaders order, loading of primitive arrays, refactoring coming soon..
hlopkmar
parents:
1019
diff
changeset
|
55 |
|
8ae6c261878a
changed class loaders order, loading of primitive arrays, refactoring coming soon..
hlopkmar
parents:
1019
diff
changeset
|
56 |
extensionsVersion_SVN |
8ae6c261878a
changed class loaders order, loading of primitive arrays, refactoring coming soon..
hlopkmar
parents:
1019
diff
changeset
|
57 |
^ '$Id$' |
877 | 58 |
! ! |
752 | 59 |
|
756 | 60 |
!stx_libjava class methodsFor:'accessing'! |
61 |
||
765 | 62 |
svnRepositoryUrl |
63 |
||
64 |
^'https://jv@swing.fit.cvut.cz/svn/stx/libjava/branches/jk_new_structure/src' |
|
65 |
||
66 |
! |
|
67 |
||
756 | 68 |
svnRepositoryUrlBase |
69 |
||
70 |
| url | |
|
71 |
url := stx_libjava svnRepositoryUrl. |
|
72 |
url ifNil:[url := 'https://swing.fit.cvut.cz/svn/stx/libjava/trunk/src']. |
|
73 |
(url endsWith: 'src') ifTrue:[url := url copyTo: url size - 4]. |
|
74 |
^url |
|
75 |
||
76 |
"Created: / 08-04-2011 / 16:57:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
77 |
! ! |
|
78 |
||
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
79 |
!stx_libjava class methodsFor:'accessing - tests'! |
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
80 |
|
833
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
81 |
excludedFromTestSuite |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
82 |
"List of testcases and/or tests excluded from testsuite. |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
83 |
Entries maybe ClassName or #(ClassName testName) |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
84 |
" |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
85 |
^ #( |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
86 |
LookupTests |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
87 |
) |
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
88 |
|
833
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
89 |
"Created: / 03-06-2011 / 17:04:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
90 |
! |
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
91 |
|
834 | 92 |
testSuite |
93 |
||
861
fab84333fa2e
Tests reordered, hope this will workaround the segfault
vranyj1
parents:
860
diff
changeset
|
94 |
| suite javaTestCases stTests | |
834 | 95 |
suite := super testSuite. |
862 | 96 |
stTests := suite tests. |
97 |
suite := TestSuite new. |
|
98 |
suite name: self package. |
|
834 | 99 |
JavaTestsLoader load. |
100 |
||
101 |
javaTestCases := OrderedCollection new. |
|
102 |
||
103 |
Java allClassesDo: |
|
104 |
[:jclass| |
|
105 |
(jclass ~~ (Java at:'stx.libjava.tests.JUnit3Tests') |
|
106 |
and:[jclass ~~ (Java at:'stx.libjava.tests.JUnit4Tests') |
|
107 |
and:[jclass isTestCaseLike]]) |
|
108 |
ifTrue: |
|
109 |
[ | tc | |
|
110 |
tc := jclass asTestCase. |
|
854
e165b3da9adb
Fixes for running tests in separate processes (required since VM often crash)
vranyj1
parents:
851
diff
changeset
|
111 |
(tc askFor:#isTestlet) ifTrue:[ |
e165b3da9adb
Fixes for running tests in separate processes (required since VM often crash)
vranyj1
parents:
851
diff
changeset
|
112 |
tc shouldFork: true. |
e165b3da9adb
Fixes for running tests in separate processes (required since VM often crash)
vranyj1
parents:
851
diff
changeset
|
113 |
]. |
834 | 114 |
tc isAbstract ifFalse:[javaTestCases add:tc ]]]. |
115 |
||
854
e165b3da9adb
Fixes for running tests in separate processes (required since VM often crash)
vranyj1
parents:
851
diff
changeset
|
116 |
javaTestCases do: |
e165b3da9adb
Fixes for running tests in separate processes (required since VM often crash)
vranyj1
parents:
851
diff
changeset
|
117 |
[:each | |
e165b3da9adb
Fixes for running tests in separate processes (required since VM often crash)
vranyj1
parents:
851
diff
changeset
|
118 |
suite addTests:each buildSuite tests ]. |
834 | 119 |
|
862 | 120 |
|
121 |
suite tests addAll: stTests. |
|
122 |
||
834 | 123 |
suite tests withIndexDo: |
837
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
834
diff
changeset
|
124 |
[:t :i| |
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
834
diff
changeset
|
125 |
Stdout nextPutAll: i printString; space; nextPutAll: t printString; cr]. |
834 | 126 |
|
127 |
^suite |
|
128 |
||
129 |
" |
|
130 |
stx_libjava testSuite |
|
131 |
||
132 |
" |
|
133 |
||
134 |
"Created: / 07-05-2011 / 19:58:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
135 |
"Modified: / 07-05-2011 / 22:26:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
837
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
834
diff
changeset
|
136 |
"Modified: / 04-06-2011 / 17:23:05 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
860 | 137 |
! |
138 |
||
139 |
testSuiteWithoutJavaTests |
|
140 |
||
141 |
^super testSuite. |
|
142 |
||
143 |
"Created: / 21-06-2011 / 17:33:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
144 |
! ! |
752 | 145 |
|
146 |
!stx_libjava class methodsFor:'description'! |
|
147 |
||
148 |
excludedFromPreRequisites |
|
149 |
"list all packages which should be ignored in the automatic |
|
150 |
preRequisites scan. See #preRequisites for more." |
|
151 |
||
152 |
^ #( |
|
153 |
) |
|
154 |
! |
|
155 |
||
156 |
preRequisites |
|
157 |
"list all required packages. |
|
158 |
This list can be maintained manually or (better) generated and |
|
159 |
updated by scanning the superclass hierarchies and looking for |
|
160 |
global variable accesses. (the browser has a menu function for that) |
|
161 |
Howevery, often too much is found, and you may want to explicitely |
|
162 |
exclude individual packages in the #excludedFromPrerequisites method." |
|
163 |
||
164 |
^ #( |
|
1208 | 165 |
#'squeak:petitparser' "PPDelegateParser - superclass of JavaParser " |
166 |
#'stx:goodies/sunit' "TestResource - superclass of JavaAntProjectResource " |
|
167 |
#'stx:libbasic' "SequenceableCollection - superclass of JavaLocalVariableTable " |
|
1204 | 168 |
#'stx:libbasic2' "BitArray - superclass of extended BooleanArray " |
752 | 169 |
#'stx:libbasic3' "MessageTracer - referenced by JavaMethod>>setBreakPoint " |
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
822
diff
changeset
|
170 |
#'stx:libcomp' "ObjectFileLoader - referenced by JavaVM class>>_Runtime_loadFileInternalI: " |
752 | 171 |
#'stx:libhtml' "URL - referenced by JavaEmbeddedFrameView>>setupAppletFrameIn:initializeJava: " |
1208 | 172 |
#'stx:libtool' "DebugView - referenced by Java class>>flushClasses " |
173 |
#'stx:libview' "DisplaySurface - superclass of JavaTopView " |
|
174 |
#'stx:libview2' "GIFReader - referenced by JavaVM class>>_GifImageDecoder_parseImage: " |
|
175 |
#'stx:libwidg' "Label - referenced by JavaVM class>>_WLabelPeer_create: " |
|
176 |
#'stx:libwidg2' "MenuPanel - referenced by JavaVM class>>processEvent: " |
|
752 | 177 |
) |
178 |
! ! |
|
179 |
||
962 | 180 |
!stx_libjava class methodsFor:'description - compilation'! |
181 |
||
182 |
additionalLinkLibraries_bc_dot_mak |
|
183 |
||
993 | 184 |
^ '$(ZLIB_DIR)\$(ZLIB) support\fdlibm\libfdm.lib' |
962 | 185 |
|
987 | 186 |
"Modified: / 07-09-2011 / 17:04:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
962 | 187 |
! |
188 |
||
189 |
additionalLinkLibraries_make_dot_proto |
|
190 |
||
990 | 191 |
^ '$(ZLIB_LD_ARG) support/fdlibm/libfdm.a' |
962 | 192 |
|
987 | 193 |
"Modified: / 07-09-2011 / 17:01:57 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
962 | 194 |
! |
195 |
||
196 |
additionalRules_bc_dot_mak |
|
197 |
^ ' |
|
198 |
$(ZLIB): |
|
199 |
cd $(ZLIB_DIR) |
|
200 |
$(MAKE) $(MAKE_ZLIB_ARG) $(ZLIB) |
|
201 |
cd ..\..\libjava |
|
202 |
||
203 |
$(BZ2LIB): |
|
204 |
cd $(BZ2LIB_DIR) |
|
205 |
$(MAKE) $(MAKE_BZ2LIB_ARG) bz2.lib |
|
206 |
cd ..\..\libjava |
|
987 | 207 |
|
993 | 208 |
support\fdlibm\libfdm.lib: |
987 | 209 |
cd support\fdlibm |
210 |
$(MAKE) -f Makefile.bcc |
|
994 | 211 |
cd ..\.. |
987 | 212 |
|
962 | 213 |
' |
214 |
||
987 | 215 |
"Modified: / 07-09-2011 / 17:04:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
962 | 216 |
! |
217 |
||
218 |
additionalRules_make_dot_proto |
|
219 |
^ ' |
|
220 |
zlib: |
|
221 |
cd $(ZLIB_DIR); $(MAKE) $(MAKE_ZLIB_ARG) |
|
222 |
||
993 | 223 |
support/fdlibm/libfdm.a: |
987 | 224 |
$(MAKE) -C support/fdlibm |
225 |
||
962 | 226 |
' |
227 |
||
987 | 228 |
"Modified: / 07-09-2011 / 17:01:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
962 | 229 |
! |
230 |
||
231 |
additionalTargets_bc_dot_mak |
|
232 |
||
993 | 233 |
^ '$(ZLIB) support\fdlibm\libfdm.lib' |
962 | 234 |
|
987 | 235 |
"Modified: / 07-09-2011 / 17:03:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
962 | 236 |
! |
237 |
||
238 |
additionalTargets_make_dot_proto |
|
239 |
||
993 | 240 |
^ ' zlib support/fdlibm/libfdm.a' |
962 | 241 |
|
242 |
"Created: / 05-09-2006 / 16:05:12 / cg" |
|
987 | 243 |
"Modified: / 07-09-2011 / 17:00:12 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
962 | 244 |
! |
245 |
||
246 |
localIncludes |
|
987 | 247 |
^ '-I$(ZLIB_DIR) -Isupport/fdlibm' |
962 | 248 |
|
249 |
"Created: / 06-09-2006 / 18:18:15 / cg" |
|
987 | 250 |
"Modified: / 07-09-2011 / 17:03:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
962 | 251 |
! ! |
252 |
||
752 | 253 |
!stx_libjava class methodsFor:'description - contents'! |
254 |
||
255 |
classNamesAndAttributes |
|
256 |
"lists the classes which are to be included in the project. |
|
257 |
Each entry in the list may be: a single class-name (symbol), |
|
258 |
or an array-literal consisting of class name and attributes. |
|
259 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
260 |
||
261 |
^ #( |
|
262 |
"<className> or (<className> attributes...) in load order" |
|
773 | 263 |
(AbstractJavaTestCase autoload) |
913 | 264 |
(JUnitTestCaseProxy autoload) |
752 | 265 |
Java |
266 |
JavaAnnotation |
|
267 |
JavaAnnotationContainer |
|
268 |
JavaAnnotationDefault |
|
269 |
JavaAnnotationDictionary |
|
270 |
JavaAnnotationValue |
|
869 | 271 |
(JavaAntProjectResource autoload) |
752 | 272 |
JavaArray |
1208 | 273 |
JavaByte |
903 | 274 |
(JavaByteCodeDisassemblerTests autoload) |
275 |
(JavaByteCodeInterpreterTests autoload) |
|
752 | 276 |
JavaByteCodeProcessor |
277 |
(JavaByteCodeProcessorTests autoload) |
|
1208 | 278 |
(JavaClassLoadingTests autoload) |
903 | 279 |
(JavaClassReader2Tests autoload) |
752 | 280 |
(JavaClassReaderTests autoload) |
903 | 281 |
(JavaClassRefTests autoload) |
1208 | 282 |
JavaClassRegistry |
752 | 283 |
JavaConstantPool |
1208 | 284 |
JavaConstants |
752 | 285 |
JavaContext |
286 |
JavaDecompiler |
|
287 |
JavaDescriptor |
|
288 |
JavaError |
|
934 | 289 |
JavaEvaluator |
752 | 290 |
JavaExceptionTableEntry |
761 | 291 |
(JavaExceptionThrowerMock autoload) |
879 | 292 |
JavaField |
903 | 293 |
(JavaFieldRefTests autoload) |
1208 | 294 |
(JavaFreshlyInitializedResource autoload) |
913 | 295 |
(JavaInitializedResource autoload) |
903 | 296 |
(JavaInterfaceMethodRefTests autoload) |
752 | 297 |
(JavaJUnitTests autoload) |
298 |
JavaJavadocNode |
|
299 |
JavaLanguage |
|
754 | 300 |
JavaLibraries |
756 | 301 |
(JavaLibrariesResource autoload) |
752 | 302 |
JavaLocalVariableTable |
303 |
JavaLocalVariableTableEntry |
|
1006 | 304 |
JavaMathSupport |
903 | 305 |
(JavaMethodRefTests autoload) |
1208 | 306 |
JavaMonitor |
307 |
(JavaMonitorsTests autoload) |
|
774 | 308 |
JavaNameAndType2 |
752 | 309 |
JavaNativeMemory |
310 |
JavaNode |
|
311 |
JavaObject |
|
312 |
JavaObjectDictionary |
|
894 | 313 |
JavaPackage |
752 | 314 |
JavaParseResult |
903 | 315 |
(JavaParserNavigationTests autoload) |
752 | 316 |
(JavaParserTestCase autoload) |
903 | 317 |
(JavaParserTests autoload) |
752 | 318 |
JavaPopUpView |
319 |
JavaProcess |
|
774 | 320 |
JavaRef2 |
903 | 321 |
(JavaRefMock autoload) |
322 |
(JavaRefTests autoload) |
|
752 | 323 |
JavaRelease |
758 | 324 |
JavaResolver |
903 | 325 |
(JavaRuntimeConstantPoolTests autoload) |
951 | 326 |
(JavaSelectorParserTests autoload) |
1208 | 327 |
JavaShort |
752 | 328 |
JavaSlotIndexCache |
1208 | 329 |
JavaSocket |
752 | 330 |
JavaSourceCodeCache |
331 |
JavaSourceFileWriter |
|
332 |
JavaStartup |
|
859
56bc5e063b7d
Common code from JUnitTestCaseProxy and TestletTestCaseProxy moved to a common superclass
vranyj1
parents:
854
diff
changeset
|
333 |
(JavaTestCaseProxy autoload) |
763 | 334 |
JavaTestsLoader |
913 | 335 |
(JavaTestsResource autoload) |
752 | 336 |
JavaTopView |
337 |
(JavaUTF8Tests autoload) |
|
338 |
JavaUnresolvedConstant |
|
339 |
JavaView |
|
956
a8b9dec12b4d
Beginning of Java<->Smalltalk types boxing/unboxing
kursjan
parents:
954
diff
changeset
|
340 |
JavaZipSupport |
951 | 341 |
(LookupIntegrationTests autoload) |
342 |
(LookupIntegrationTestsResource autoload) |
|
761 | 343 |
(LookupTests autoload) |
1208 | 344 |
(MPXJTests autoload) |
752 | 345 |
PPJavaNode |
346 |
SmalltalkAppletContext |
|
347 |
SmalltalkAppletStub |
|
951 | 348 |
(SmalltalkSelectorParserTests autoload) |
913 | 349 |
(TestletTestCaseProxy autoload) |
752 | 350 |
#'stx_libjava' |
351 |
JavaAnnotationArrayValue |
|
352 |
JavaAnnotationClassValue |
|
353 |
JavaAnnotationEnumValue |
|
354 |
JavaAnnotationNestedAnnotationValue |
|
355 |
JavaAnnotationPrimitiveValue |
|
1208 | 356 |
JavaBehavior |
752 | 357 |
JavaByteCodeDisassembler |
358 |
JavaByteCodeEnumerator |
|
359 |
JavaByteCodeInterpreter |
|
360 |
JavaClassAnnotationContainer |
|
774 | 361 |
JavaClassContentRef2 |
1208 | 362 |
JavaClassReader |
774 | 363 |
JavaClassRef2 |
752 | 364 |
JavaEmbeddedFrameView |
365 |
JavaFieldAnnotationContainer |
|
366 |
JavaFieldDescriptor |
|
367 |
JavaFormalParameterNode |
|
872 | 368 |
JavaInvalidRefError |
1208 | 369 |
JavaMethod |
752 | 370 |
JavaMethodAnnotationContainer |
371 |
JavaMethodDeclarationNode |
|
372 |
JavaMethodDeclaratorNode |
|
373 |
JavaMethodDescriptor |
|
374 |
JavaMethodNode |
|
375 |
JavaParser |
|
781
d27c59bcf38a
added preResolve compatibility method + JavaStringRef - will be used soon
hlopkmar
parents:
780
diff
changeset
|
376 |
JavaStringRef2 |
752 | 377 |
JavaTypeNode |
378 |
JavaUnhandledExceptionError |
|
379 |
JavaUnresolvedClassConstant |
|
380 |
JavaUnresolvedStringConstant |
|
1208 | 381 |
JavaVM |
752 | 382 |
JavadocDeclarationNode |
383 |
JavaArrayTypeNode |
|
384 |
JavaBooleanTypeNode |
|
780
f1e6b4f1ee9b
preparation for incremental change of resolving logic
hlopkmar
parents:
779
diff
changeset
|
385 |
JavaBothOldAndNewClassRef |
752 | 386 |
JavaByteCodeSteppableInterpreter |
387 |
JavaCharTypeNode |
|
1208 | 388 |
JavaClass |
752 | 389 |
JavaClassOrInterfaceTypeNode |
390 |
JavaDoubleTypeNode |
|
774 | 391 |
JavaFieldRef2 |
752 | 392 |
JavaFloatTypeNode |
393 |
JavaIntTypeNode |
|
394 |
JavaLongTypeNode |
|
774 | 395 |
JavaMethodRef2 |
1208 | 396 |
JavaMethodWithException |
752 | 397 |
JavaVoidTypeNode |
774 | 398 |
JavaInterfaceMethodRef2 |
1208 | 399 |
JavaMethodWithHandler |
752 | 400 |
JavaNativeMethod |
401 |
) |
|
402 |
! |
|
403 |
||
404 |
extensionMethodNames |
|
405 |
"lists the extension methods which are to be included in the project. |
|
406 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
916 | 407 |
|
408 |
^ #( |
|
409 |
BooleanArray isInterface |
|
1208 | 410 |
CharacterArray asDottedJavaClassName |
411 |
CharacterArray asInternalJavaClassName |
|
412 |
CharacterArray asJavaComponentClassName |
|
413 |
CharacterArray asJavaishClassName |
|
414 |
CharacterArray asNiceJavaClassName |
|
415 |
CharacterArray asSTXInternalJavaClassName |
|
416 |
CharacterArray asSlashedJavaClassName |
|
417 |
CharacterArray isJavaArrayDescriptor |
|
418 |
CharacterArray isJavaPrimitiveTypeDescriptor |
|
419 |
Class perform:onReceiver:from:ifNotFound: |
|
420 |
Delay waitWithState: |
|
916 | 421 |
Object isJavaArray |
422 |
Object isJavaNameAndType |
|
423 |
Object isJavaPackage |
|
424 |
Object isJavaRef |
|
934 | 425 |
Object javaBox: |
1208 | 426 |
Process clearInterrupted |
427 |
Process isInterrupted |
|
428 |
Process isSleeping |
|
429 |
Process isWaiting |
|
430 |
Process javaInterrupt |
|
431 |
Process setInterrupted |
|
432 |
Set #'java__contains:' |
|
916 | 433 |
String asArrayOfSubstringsSeparatedBy: |
434 |
UserPreferences javaTestsDirectory |
|
435 |
UserPreferences javaTestsDirectory: |
|
436 |
ZipArchive nextBytes:of:startingAt:into:startingAt: |
|
437 |
'Boolean class' isJavaPrimitiveType |
|
438 |
'Boolean class' javaArrayClass |
|
934 | 439 |
'Boolean class' javaBox: |
916 | 440 |
'Boolean class' javaName |
1208 | 441 |
'Boolean class' javaUnbox:onError: |
916 | 442 |
'BooleanArray class' isInterface |
443 |
'BooleanArray class' isJavaArrayClass |
|
444 |
'BooleanArray class' isJavaReferenceType |
|
445 |
'BooleanArray class' javaComponentClass |
|
446 |
'BooleanArray class' javaName |
|
447 |
'ByteArray class' isInterface |
|
448 |
'ByteArray class' isJavaArrayClass |
|
449 |
'ByteArray class' isJavaReferenceType |
|
450 |
'ByteArray class' javaArrayClass |
|
451 |
'ByteArray class' javaComponentClass |
|
452 |
'ByteArray class' javaName |
|
453 |
'Character class' isJavaPrimitiveType |
|
454 |
'Character class' javaArrayClass |
|
934 | 455 |
'Character class' javaBox: |
916 | 456 |
'Character class' javaName |
1208 | 457 |
'Character class' javaUnbox:onError: |
916 | 458 |
'CharacterArray class' decodeFromJavaUTF8: |
459 |
'CharacterArray class' fromJavaUTF8Bytes: |
|
460 |
'CharacterArray class' isJavaArrayClass |
|
461 |
'CharacterArray class' javaArrayClass |
|
462 |
'CharacterArray class' javaComponentClass |
|
463 |
'DoubleArray class' isInterface |
|
464 |
'DoubleArray class' isJavaArrayClass |
|
465 |
'DoubleArray class' isJavaReferenceType |
|
466 |
'DoubleArray class' javaComponentClass |
|
467 |
'DoubleArray class' javaName |
|
468 |
'Float class' isJavaPrimitiveType |
|
469 |
'Float class' javaArrayClass |
|
934 | 470 |
'Float class' javaBox: |
916 | 471 |
'Float class' javaName |
472 |
'FloatArray class' isInterface |
|
473 |
'FloatArray class' isJavaArrayClass |
|
474 |
'FloatArray class' isJavaReferenceType |
|
475 |
'FloatArray class' javaComponentClass |
|
476 |
'FloatArray class' javaName |
|
477 |
'GenericToolbarIconLibrary class' javaClassBrowserIcon |
|
1208 | 478 |
'GenericToolbarIconLibrary class' javaExceptionBrowserIcon |
479 |
'GenericToolbarIconLibrary class' javaPrivateClassBrowserIcon |
|
480 |
'GenericToolbarIconLibrary class' javaPrivateEnumBrowserIcon |
|
481 |
'GenericToolbarIconLibrary class' javaPrivateInterfaceBrowserIcon |
|
482 |
'GenericToolbarIconLibrary class' javaProtectedClassBrowserIcon |
|
483 |
'GenericToolbarIconLibrary class' javaProtectedEnumBrowserIcon |
|
484 |
'GenericToolbarIconLibrary class' javaProtectedInterfaceBrowserIcon |
|
485 |
'GenericToolbarIconLibrary class' javaPublicClassBrowserIcon |
|
486 |
'GenericToolbarIconLibrary class' javaPublicEnumBrowserIcon |
|
487 |
'GenericToolbarIconLibrary class' javaPublicInterfaceBrowserIcon |
|
488 |
'GenericToolbarIconLibrary class' javaRuntimeExceptionBrowserIcon |
|
916 | 489 |
'Integer class' isJavaPrimitiveType |
490 |
'Integer class' javaArrayClass |
|
934 | 491 |
'Integer class' javaBox: |
916 | 492 |
'Integer class' javaName |
1208 | 493 |
'Integer class' javaUnbox:onError: |
494 |
'Integer class' javaUnbox:onError:min:max: |
|
916 | 495 |
'LargeInteger class' isJavaPrimitiveType |
496 |
'LargeInteger class' javaArrayClass |
|
934 | 497 |
'LargeInteger class' javaBox: |
916 | 498 |
'LargeInteger class' javaName |
1208 | 499 |
'LargeInteger class' javaUnbox:onError: |
916 | 500 |
'Object class' isJavaArrayClass |
501 |
'Object class' isJavaClassType |
|
502 |
'Object class' isJavaPrimitiveType |
|
503 |
'Object class' isJavaReferenceType |
|
504 |
'Object class' isJavaType |
|
505 |
'ShortFloat class' isJavaPrimitiveType |
|
506 |
'ShortFloat class' javaArrayClass |
|
934 | 507 |
'ShortFloat class' javaBox: |
916 | 508 |
'ShortFloat class' javaName |
509 |
'SignedIntegerArray class' isInterface |
|
510 |
'SignedIntegerArray class' isJavaArrayClass |
|
511 |
'SignedIntegerArray class' javaArrayClass |
|
512 |
'SignedIntegerArray class' javaComponentClass |
|
513 |
'SignedIntegerArray class' javaName |
|
514 |
'SignedLongIntegerArray class' isInterface |
|
515 |
'SignedLongIntegerArray class' isJavaArrayClass |
|
516 |
'SignedLongIntegerArray class' isJavaReferenceType |
|
934 | 517 |
'SignedLongIntegerArray class' javaArrayClass |
916 | 518 |
'SignedLongIntegerArray class' javaComponentClass |
519 |
'SignedLongIntegerArray class' javaName |
|
520 |
'UndefinedObject class' isJavaPrimitiveType |
|
521 |
'UndefinedObject class' javaName |
|
522 |
'WordArray class' isInterface |
|
523 |
'WordArray class' isJavaArrayClass |
|
524 |
'WordArray class' isJavaReferenceType |
|
525 |
'WordArray class' javaArrayClass |
|
526 |
'WordArray class' javaComponentClass |
|
527 |
'WordArray class' javaName |
|
528 |
) |
|
752 | 529 |
! ! |
530 |
||
531 |
!stx_libjava class methodsFor:'description - project information'! |
|
532 |
||
1007 | 533 |
applicationIconFileName |
534 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
752 | 535 |
|
536 |
^ nil |
|
537 |
"/ ^ self applicationName |
|
538 |
! |
|
539 |
||
1007 | 540 |
companyName |
541 |
"Return a companyname which will appear in <lib>.rc" |
|
752 | 542 |
|
543 |
^ 'eXept Software AG' |
|
544 |
! |
|
545 |
||
1007 | 546 |
description |
547 |
"Description string which will appear in vc.def / bc.def" |
|
752 | 548 |
|
549 |
^ 'Smalltalk/X Class library' |
|
550 |
! |
|
551 |
||
1007 | 552 |
legalCopyright |
553 |
"Copyright string which will appear in <lib>.rc" |
|
752 | 554 |
|
877 | 555 |
^ 'Copyright Claus Gittinger 1988-2011\nCopyright eXept Software AG 1998-2011\nCopyright Jan Vrany, Jan Kurs and Marcel Hlopko\b SWING Research Group, Czech Technical University In Prague' |
556 |
||
557 |
"Modified: / 26-07-2011 / 17:13:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
752 | 558 |
! |
559 |
||
1007 | 560 |
productName |
561 |
"Return product name which will appear in <lib>.rc" |
|
752 | 562 |
|
563 |
^ 'Smalltalk/X' |
|
564 |
! ! |
|
565 |
||
566 |
!stx_libjava class methodsFor:'description - svn'! |
|
567 |
||
1007 | 568 |
svnRepositoryUrlString |
569 |
"return a SVN repository URL of myself. |
|
754 | 570 |
(Generated since 2011-04-08) |
571 |
" |
|
572 |
||
573 |
^ '$URL$' |
|
574 |
! |
|
575 |
||
752 | 576 |
svnRevisionNr |
577 |
"Return a SVN revision number of myself. |
|
578 |
This number is updated after a commit" |
|
579 |
||
1208 | 580 |
^ "$SVN-Revision:" '1561M'"$" |
752 | 581 |
! ! |
582 |
||
583 |
!stx_libjava class methodsFor:'file generation'! |
|
584 |
||
1007 | 585 |
basicFileNamesToGenerat |
586 |
"answer a dictionary (filename -> generator method) with all the files, that have to be generated for this |
|
752 | 587 |
package" |
588 |
||
589 |
|dict| |
|
590 |
||
591 |
dict := super basicFileNamesToGenerate. |
|
592 |
||
593 |
dict |
|
594 |
at:'builder/package.deps.rake' put: #'generate_package_dot_deps_dot_rake'. |
|
595 |
||
596 |
^ dict. |
|
597 |
||
598 |
"Created: / 11-03-2011 / 09:32:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
599 |
! ! |
|
600 |
||
601 |
!stx_libjava class methodsFor:'documentation'! |
|
602 |
||
603 |
version_SVN |
|
604 |
^ '$Id$' |
|
605 |
! ! |