author | vranyj1 |
Thu, 05 Jul 2012 10:35:31 +0000 | |
branch | jk_new_structure |
changeset 1508 | ede3a3720ec6 |
parent 1498 | 80e23e347740 |
child 1509 | 366449596854 |
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 |
" |
|
54 |
! ! |
|
752 | 55 |
|
756 | 56 |
!stx_libjava class methodsFor:'accessing'! |
57 |
||
765 | 58 |
svnRepositoryUrl |
59 |
||
60 |
^'https://jv@swing.fit.cvut.cz/svn/stx/libjava/branches/jk_new_structure/src' |
|
61 |
||
62 |
! |
|
63 |
||
756 | 64 |
svnRepositoryUrlBase |
65 |
||
66 |
| url | |
|
67 |
url := stx_libjava svnRepositoryUrl. |
|
68 |
url ifNil:[url := 'https://swing.fit.cvut.cz/svn/stx/libjava/trunk/src']. |
|
69 |
(url endsWith: 'src') ifTrue:[url := url copyTo: url size - 4]. |
|
70 |
^url |
|
71 |
||
72 |
"Created: / 08-04-2011 / 16:57:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
73 |
! ! |
|
74 |
||
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
75 |
!stx_libjava class methodsFor:'accessing - tests'! |
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
76 |
|
833
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
77 |
excludedFromTestSuite |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
78 |
"List of testcases and/or tests excluded from testsuite. |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
79 |
Entries maybe ClassName or #(ClassName testName) |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
80 |
" |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
81 |
^ #( |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
82 |
LookupTests |
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
83 |
) |
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
84 |
|
833
a73edd0970ce
stx_libjava: LookupTests are excluded from standard test suite
vranyj1
parents:
826
diff
changeset
|
85 |
"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
|
86 |
! |
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
87 |
|
834 | 88 |
testSuite |
89 |
||
861
fab84333fa2e
Tests reordered, hope this will workaround the segfault
vranyj1
parents:
860
diff
changeset
|
90 |
| suite javaTestCases stTests | |
834 | 91 |
suite := super testSuite. |
1410
0b2580857528
Mauver testsuite excluded from default libjava tests
vranyj1
parents:
1405
diff
changeset
|
92 |
stTests := suite tests. |
862 | 93 |
suite := TestSuite new. |
94 |
suite name: self package. |
|
834 | 95 |
JavaTestsLoader load. |
96 |
||
97 |
javaTestCases := OrderedCollection new. |
|
98 |
||
99 |
Java allClassesDo: |
|
100 |
[:jclass| |
|
1461 | 101 |
(jclass name ~~ #'stx/libjava/tests/JUnit3Tests' |
102 |
and:[jclass name ~~ #'stx/libjava/tests/JUnit4Tests' |
|
834 | 103 |
and:[jclass isTestCaseLike]]) |
104 |
ifTrue: |
|
105 |
[ | tc | |
|
106 |
tc := jclass asTestCase. |
|
107 |
tc isAbstract ifFalse:[javaTestCases add:tc ]]]. |
|
108 |
||
854
e165b3da9adb
Fixes for running tests in separate processes (required since VM often crash)
vranyj1
parents:
851
diff
changeset
|
109 |
javaTestCases do: |
1312 | 110 |
[:each | |
111 |
suite addTests:each buildSuite tests ]. |
|
834 | 112 |
|
862 | 113 |
|
114 |
suite tests addAll: stTests. |
|
115 |
||
834 | 116 |
suite tests withIndexDo: |
837
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
834
diff
changeset
|
117 |
[:t :i| |
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
834
diff
changeset
|
118 |
Stdout nextPutAll: i printString; space; nextPutAll: t printString; cr]. |
834 | 119 |
|
120 |
^suite |
|
121 |
||
122 |
" |
|
123 |
stx_libjava testSuite |
|
124 |
||
125 |
" |
|
126 |
||
127 |
"Created: / 07-05-2011 / 19:58:20 / 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
|
128 |
"Modified: / 04-06-2011 / 17:23:05 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
1461 | 129 |
"Modified: / 09-04-2012 / 20:44:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
860 | 130 |
! |
131 |
||
132 |
testSuiteWithoutJavaTests |
|
133 |
||
134 |
^super testSuite. |
|
135 |
||
136 |
"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
|
137 |
! ! |
752 | 138 |
|
139 |
!stx_libjava class methodsFor:'description'! |
|
140 |
||
141 |
excludedFromPreRequisites |
|
142 |
"list all packages which should be ignored in the automatic |
|
143 |
preRequisites scan. See #preRequisites for more." |
|
144 |
||
145 |
^ #( |
|
146 |
) |
|
147 |
! |
|
148 |
||
149 |
preRequisites |
|
150 |
"list all required packages. |
|
151 |
This list can be maintained manually or (better) generated and |
|
152 |
updated by scanning the superclass hierarchies and looking for |
|
153 |
global variable accesses. (the browser has a menu function for that) |
|
154 |
Howevery, often too much is found, and you may want to explicitely |
|
155 |
exclude individual packages in the #excludedFromPrerequisites method." |
|
156 |
||
157 |
^ #( |
|
1402 | 158 |
#'squeak:petitparser' |
1495
e661836af8e6
Interop fixes for long and double arguments (take two slots in arg vector)
vranyj1
parents:
1469
diff
changeset
|
159 |
#'stx:goodies/sunit' "TestAsserter - superclass of JavaInitializedResource " |
e661836af8e6
Interop fixes for long and double arguments (take two slots in arg vector)
vranyj1
parents:
1469
diff
changeset
|
160 |
#'stx:libbasic' "Context - superclass of JavaContext " |
e661836af8e6
Interop fixes for long and double arguments (take two slots in arg vector)
vranyj1
parents:
1469
diff
changeset
|
161 |
#'stx:libbasic2' "Socket - superclass of JavaSocket " |
1469 | 162 |
#'stx:libbasic3' "WrappedMethod - extended " |
1495
e661836af8e6
Interop fixes for long and double arguments (take two slots in arg vector)
vranyj1
parents:
1469
diff
changeset
|
163 |
#'stx:libcomp' "MessageNode - referenced by ProxyMethodBlockInvocationNode>>generate: " |
752 | 164 |
#'stx:libhtml' "URL - referenced by JavaEmbeddedFrameView>>setupAppletFrameIn:initializeJava: " |
1495
e661836af8e6
Interop fixes for long and double arguments (take two slots in arg vector)
vranyj1
parents:
1469
diff
changeset
|
165 |
#'stx:libtool' "WorkspaceApplication - referenced by GroovyEvaluator>>evaluate:in:receiver:notifying:logged:ifFail: " |
e661836af8e6
Interop fixes for long and double arguments (take two slots in arg vector)
vranyj1
parents:
1469
diff
changeset
|
166 |
#'stx:libview' "TopView - superclass of JavaTopView " |
e661836af8e6
Interop fixes for long and double arguments (take two slots in arg vector)
vranyj1
parents:
1469
diff
changeset
|
167 |
#'stx:libview2' "GIFReader - referenced by JavaVM class>>_GifImageDecoder_parseImage: " |
e661836af8e6
Interop fixes for long and double arguments (take two slots in arg vector)
vranyj1
parents:
1469
diff
changeset
|
168 |
#'stx:libwidg' "Scroller - referenced by JavaVM class>>processEvent: " |
e661836af8e6
Interop fixes for long and double arguments (take two slots in arg vector)
vranyj1
parents:
1469
diff
changeset
|
169 |
#'stx:libwidg2' "ComboBoxView - referenced by JavaVM class>>processEvent: " |
752 | 170 |
) |
171 |
! ! |
|
172 |
||
962 | 173 |
!stx_libjava class methodsFor:'description - compilation'! |
174 |
||
175 |
additionalLinkLibraries_bc_dot_mak |
|
176 |
||
993 | 177 |
^ '$(ZLIB_DIR)\$(ZLIB) support\fdlibm\libfdm.lib' |
962 | 178 |
|
987 | 179 |
"Modified: / 07-09-2011 / 17:04:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
962 | 180 |
! |
181 |
||
182 |
additionalLinkLibraries_make_dot_proto |
|
183 |
||
990 | 184 |
^ '$(ZLIB_LD_ARG) support/fdlibm/libfdm.a' |
962 | 185 |
|
987 | 186 |
"Modified: / 07-09-2011 / 17:01:57 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
962 | 187 |
! |
188 |
||
189 |
additionalRules_bc_dot_mak |
|
190 |
^ ' |
|
191 |
$(ZLIB): |
|
192 |
cd $(ZLIB_DIR) |
|
193 |
$(MAKE) $(MAKE_ZLIB_ARG) $(ZLIB) |
|
194 |
cd ..\..\libjava |
|
195 |
||
196 |
$(BZ2LIB): |
|
197 |
cd $(BZ2LIB_DIR) |
|
198 |
$(MAKE) $(MAKE_BZ2LIB_ARG) bz2.lib |
|
199 |
cd ..\..\libjava |
|
987 | 200 |
|
993 | 201 |
support\fdlibm\libfdm.lib: |
987 | 202 |
cd support\fdlibm |
203 |
$(MAKE) -f Makefile.bcc |
|
994 | 204 |
cd ..\.. |
987 | 205 |
|
962 | 206 |
' |
207 |
||
987 | 208 |
"Modified: / 07-09-2011 / 17:04:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
962 | 209 |
! |
210 |
||
211 |
additionalRules_make_dot_proto |
|
212 |
^ ' |
|
213 |
zlib: |
|
214 |
cd $(ZLIB_DIR); $(MAKE) $(MAKE_ZLIB_ARG) |
|
215 |
||
993 | 216 |
support/fdlibm/libfdm.a: |
987 | 217 |
$(MAKE) -C support/fdlibm |
218 |
||
962 | 219 |
' |
220 |
||
987 | 221 |
"Modified: / 07-09-2011 / 17:01:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
962 | 222 |
! |
223 |
||
224 |
additionalTargets_bc_dot_mak |
|
225 |
||
993 | 226 |
^ '$(ZLIB) support\fdlibm\libfdm.lib' |
962 | 227 |
|
987 | 228 |
"Modified: / 07-09-2011 / 17:03:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
962 | 229 |
! |
230 |
||
231 |
additionalTargets_make_dot_proto |
|
232 |
||
993 | 233 |
^ ' zlib support/fdlibm/libfdm.a' |
962 | 234 |
|
235 |
"Created: / 05-09-2006 / 16:05:12 / cg" |
|
987 | 236 |
"Modified: / 07-09-2011 / 17:00:12 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
962 | 237 |
! |
238 |
||
239 |
localIncludes |
|
987 | 240 |
^ '-I$(ZLIB_DIR) -Isupport/fdlibm' |
962 | 241 |
|
242 |
"Created: / 06-09-2006 / 18:18:15 / cg" |
|
987 | 243 |
"Modified: / 07-09-2011 / 17:03:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
962 | 244 |
! ! |
245 |
||
752 | 246 |
!stx_libjava class methodsFor:'description - contents'! |
247 |
||
248 |
classNamesAndAttributes |
|
249 |
"lists the classes which are to be included in the project. |
|
250 |
Each entry in the list may be: a single class-name (symbol), |
|
251 |
or an array-literal consisting of class name and attributes. |
|
252 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
253 |
||
254 |
^ #( |
|
255 |
"<className> or (<className> attributes...) in load order" |
|
773 | 256 |
(AbstractJavaTestCase autoload) |
1402 | 257 |
GroovyCompiler |
258 |
GroovyEvaluator |
|
259 |
GroovyLanguage |
|
260 |
GroovySourceFileWriter |
|
913 | 261 |
(JUnitTestCaseProxy autoload) |
752 | 262 |
Java |
263 |
JavaAnnotation |
|
264 |
JavaAnnotationContainer |
|
265 |
JavaAnnotationDefault |
|
266 |
JavaAnnotationDictionary |
|
267 |
JavaAnnotationValue |
|
869 | 268 |
(JavaAntProjectResource autoload) |
752 | 269 |
JavaArray |
1208 | 270 |
JavaByte |
903 | 271 |
(JavaByteCodeDisassemblerTests autoload) |
752 | 272 |
JavaByteCodeProcessor |
273 |
(JavaByteCodeProcessorTests autoload) |
|
1402 | 274 |
JavaClassAccessor |
1208 | 275 |
(JavaClassLoadingTests autoload) |
903 | 276 |
(JavaClassReader2Tests autoload) |
752 | 277 |
(JavaClassReaderTests autoload) |
903 | 278 |
(JavaClassRefTests autoload) |
1208 | 279 |
JavaClassRegistry |
1402 | 280 |
JavaClassReloader |
752 | 281 |
JavaConstantPool |
1208 | 282 |
JavaConstants |
752 | 283 |
JavaContext |
284 |
JavaDecompiler |
|
285 |
JavaDescriptor |
|
286 |
JavaError |
|
287 |
JavaExceptionTableEntry |
|
761 | 288 |
(JavaExceptionThrowerMock autoload) |
879 | 289 |
JavaField |
903 | 290 |
(JavaFieldRefTests autoload) |
1208 | 291 |
(JavaFreshlyInitializedResource autoload) |
913 | 292 |
(JavaInitializedResource autoload) |
903 | 293 |
(JavaInterfaceMethodRefTests autoload) |
752 | 294 |
(JavaJUnitTests autoload) |
295 |
JavaLanguage |
|
754 | 296 |
JavaLibraries |
756 | 297 |
(JavaLibrariesResource autoload) |
752 | 298 |
JavaLocalVariableTable |
299 |
JavaLocalVariableTableEntry |
|
1402 | 300 |
JavaLookup |
1006 | 301 |
JavaMathSupport |
903 | 302 |
(JavaMethodRefTests autoload) |
1208 | 303 |
JavaMonitor |
304 |
(JavaMonitorsTests autoload) |
|
774 | 305 |
JavaNameAndType2 |
752 | 306 |
JavaNativeMemory |
307 |
JavaObject |
|
308 |
JavaObjectDictionary |
|
894 | 309 |
JavaPackage |
752 | 310 |
JavaPopUpView |
311 |
JavaProcess |
|
774 | 312 |
JavaRef2 |
903 | 313 |
(JavaRefMock autoload) |
752 | 314 |
JavaRelease |
758 | 315 |
JavaResolver |
903 | 316 |
(JavaRuntimeConstantPoolTests autoload) |
1208 | 317 |
JavaShort |
752 | 318 |
JavaSlotIndexCache |
1208 | 319 |
JavaSocket |
752 | 320 |
JavaSourceCodeCache |
321 |
JavaSourceFileWriter |
|
322 |
JavaStartup |
|
859
56bc5e063b7d
Common code from JUnitTestCaseProxy and TestletTestCaseProxy moved to a common superclass
vranyj1
parents:
854
diff
changeset
|
323 |
(JavaTestCaseProxy autoload) |
763 | 324 |
JavaTestsLoader |
913 | 325 |
(JavaTestsResource autoload) |
752 | 326 |
JavaTopView |
327 |
(JavaUTF8Tests autoload) |
|
328 |
JavaUnresolvedConstant |
|
1402 | 329 |
JavaUtilities |
752 | 330 |
JavaView |
956
a8b9dec12b4d
Beginning of Java<->Smalltalk types boxing/unboxing
kursjan
parents:
954
diff
changeset
|
331 |
JavaZipSupport |
1208 | 332 |
(MPXJTests autoload) |
752 | 333 |
PPJavaNode |
1402 | 334 |
ProxyMethod |
335 |
ProxyMethodCompiler |
|
336 |
ProxyMethodNode |
|
752 | 337 |
SmalltalkAppletContext |
338 |
SmalltalkAppletStub |
|
913 | 339 |
(TestletTestCaseProxy autoload) |
752 | 340 |
#'stx_libjava' |
341 |
JavaAnnotationArrayValue |
|
342 |
JavaAnnotationClassValue |
|
343 |
JavaAnnotationEnumValue |
|
344 |
JavaAnnotationNestedAnnotationValue |
|
345 |
JavaAnnotationPrimitiveValue |
|
1208 | 346 |
JavaBehavior |
752 | 347 |
JavaByteCodeDisassembler |
348 |
JavaByteCodeEnumerator |
|
1402 | 349 |
JavaByteCodeProcessorAdapter |
752 | 350 |
JavaClassAnnotationContainer |
774 | 351 |
JavaClassContentRef2 |
1208 | 352 |
JavaClassReader |
774 | 353 |
JavaClassRef2 |
752 | 354 |
JavaEmbeddedFrameView |
355 |
JavaFieldAnnotationContainer |
|
356 |
JavaFieldDescriptor |
|
1402 | 357 |
JavaFieldDescriptorWithUnionType |
872 | 358 |
JavaInvalidRefError |
1208 | 359 |
JavaMethod |
752 | 360 |
JavaMethodAnnotationContainer |
361 |
JavaMethodDeclarationNode |
|
362 |
JavaMethodDescriptor |
|
781
d27c59bcf38a
added preResolve compatibility method + JavaStringRef - will be used soon
hlopkmar
parents:
780
diff
changeset
|
363 |
JavaStringRef2 |
752 | 364 |
JavaUnhandledExceptionError |
365 |
JavaUnresolvedClassConstant |
|
366 |
JavaUnresolvedStringConstant |
|
1208 | 367 |
JavaVM |
752 | 368 |
JavadocDeclarationNode |
1368 | 369 |
ProxyMethodConditionNode |
370 |
ProxyMethodGuardNode |
|
371 |
ProxyMethodInvocationNode |
|
1402 | 372 |
JavaByteCodePreresolver |
373 |
JavaClass |
|
374 |
JavaFieldRef2 |
|
375 |
JavaMethodRef2 |
|
376 |
JavaMethodWithException |
|
1368 | 377 |
ProxyMethodAndNode |
378 |
ProxyMethodBlockInvocationNode |
|
379 |
ProxyMethodMethodInvocationNode |
|
380 |
ProxyMethodTypeCheckNode |
|
381 |
GroovyClass |
|
1402 | 382 |
JavaInterfaceMethodRef2 |
383 |
JavaMethodWithHandler |
|
1368 | 384 |
ProxyMethodJavaMethodInvocationNode |
385 |
ProxyMethodJavaTypeCheckNode |
|
1402 | 386 |
JavaNativeMethod |
1433 | 387 |
ProxyMethodJavaFieldAccessor |
388 |
ProxyMethodJavaFieldGetter |
|
389 |
ProxyMethodJavaFieldSetter |
|
1440 | 390 |
(JavaExceptionTests autoload) |
1452
69dcb9c33742
Some more support for finally block when a Smalltalk exception is thrown - not yet working correctly
vranyj1
parents:
1440
diff
changeset
|
391 |
#'JavaCompiler_Eclipse' |
1459 | 392 |
JavaMetaclass |
393 |
GroovyMetaclass |
|
1498 | 394 |
(JavaExamples autoload) |
752 | 395 |
) |
396 |
! |
|
397 |
||
398 |
extensionMethodNames |
|
399 |
"lists the extension methods which are to be included in the project. |
|
400 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
916 | 401 |
|
402 |
^ #( |
|
1402 | 403 |
Behavior isInterface |
916 | 404 |
BooleanArray isInterface |
1208 | 405 |
CharacterArray asDottedJavaClassName |
406 |
CharacterArray asInternalJavaClassName |
|
407 |
CharacterArray asJavaComponentClassName |
|
408 |
CharacterArray asJavaishClassName |
|
409 |
CharacterArray asNiceJavaClassName |
|
410 |
CharacterArray asSTXInternalJavaClassName |
|
411 |
CharacterArray asSlashedJavaClassName |
|
412 |
CharacterArray isJavaArrayDescriptor |
|
413 |
CharacterArray isJavaPrimitiveTypeDescriptor |
|
414 |
Delay waitWithState: |
|
1402 | 415 |
Object isGroovyClass |
916 | 416 |
Object isJavaArray |
417 |
Object isJavaNameAndType |
|
418 |
Object isJavaPackage |
|
419 |
Object isJavaRef |
|
1402 | 420 |
Object isJavaWrapperClass |
934 | 421 |
Object javaBox: |
1402 | 422 |
Object javaUnwrap: |
423 |
Object javaUnwrapFrom: |
|
424 |
Object javaWrap: |
|
1208 | 425 |
Process clearInterrupted |
426 |
Process isInterrupted |
|
427 |
Process isSleeping |
|
428 |
Process isWaiting |
|
429 |
Process javaInterrupt |
|
430 |
Process setInterrupted |
|
431 |
Set #'java__contains:' |
|
1402 | 432 |
SmallInteger javaUnwrapFrom: |
916 | 433 |
String asArrayOfSubstringsSeparatedBy: |
434 |
UserPreferences javaTestsDirectory |
|
435 |
UserPreferences javaTestsDirectory: |
|
1402 | 436 |
WrappedMethod descriptor |
437 |
WrappedMethod isAbstract |
|
916 | 438 |
ZipArchive nextBytes:of:startingAt:into:startingAt: |
439 |
'Boolean class' isJavaPrimitiveType |
|
440 |
'Boolean class' javaArrayClass |
|
934 | 441 |
'Boolean class' javaBox: |
916 | 442 |
'Boolean class' javaName |
1208 | 443 |
'Boolean class' javaUnbox:onError: |
1402 | 444 |
'Boolean class' javaUnwrap: |
445 |
'Boolean class' javaWrapperClass |
|
916 | 446 |
'BooleanArray class' isInterface |
447 |
'BooleanArray class' isJavaArrayClass |
|
448 |
'BooleanArray class' isJavaReferenceType |
|
1402 | 449 |
'BooleanArray class' javaArrayClass |
916 | 450 |
'BooleanArray class' javaComponentClass |
451 |
'BooleanArray class' javaName |
|
452 |
'ByteArray class' isInterface |
|
453 |
'ByteArray class' isJavaArrayClass |
|
454 |
'ByteArray class' isJavaReferenceType |
|
455 |
'ByteArray class' javaArrayClass |
|
456 |
'ByteArray class' javaComponentClass |
|
457 |
'ByteArray class' javaName |
|
458 |
'Character class' isJavaPrimitiveType |
|
459 |
'Character class' javaArrayClass |
|
934 | 460 |
'Character class' javaBox: |
916 | 461 |
'Character class' javaName |
1208 | 462 |
'Character class' javaUnbox:onError: |
1402 | 463 |
'Character class' javaWrapperClass |
916 | 464 |
'CharacterArray class' decodeFromJavaUTF8: |
465 |
'CharacterArray class' fromJavaUTF8Bytes: |
|
466 |
'CharacterArray class' isJavaArrayClass |
|
467 |
'CharacterArray class' javaArrayClass |
|
468 |
'CharacterArray class' javaComponentClass |
|
1402 | 469 |
'ConfigurableFeatures class' hasJavaSupport |
916 | 470 |
'DoubleArray class' isInterface |
471 |
'DoubleArray class' isJavaArrayClass |
|
472 |
'DoubleArray class' isJavaReferenceType |
|
1402 | 473 |
'DoubleArray class' javaArrayClass |
916 | 474 |
'DoubleArray class' javaComponentClass |
475 |
'DoubleArray class' javaName |
|
476 |
'Float class' isJavaPrimitiveType |
|
477 |
'Float class' javaArrayClass |
|
934 | 478 |
'Float class' javaBox: |
916 | 479 |
'Float class' javaName |
1402 | 480 |
'Float class' javaWrapperClass |
916 | 481 |
'FloatArray class' isInterface |
482 |
'FloatArray class' isJavaArrayClass |
|
483 |
'FloatArray class' isJavaReferenceType |
|
1402 | 484 |
'FloatArray class' javaArrayClass |
916 | 485 |
'FloatArray class' javaComponentClass |
486 |
'FloatArray class' javaName |
|
487 |
'Integer class' isJavaPrimitiveType |
|
488 |
'Integer class' javaArrayClass |
|
934 | 489 |
'Integer class' javaBox: |
916 | 490 |
'Integer class' javaName |
1208 | 491 |
'Integer class' javaUnbox:onError: |
492 |
'Integer class' javaUnbox:onError:min:max: |
|
1402 | 493 |
'Integer class' javaWrapperClass |
916 | 494 |
'LargeInteger class' isJavaPrimitiveType |
495 |
'LargeInteger class' javaArrayClass |
|
934 | 496 |
'LargeInteger class' javaBox: |
916 | 497 |
'LargeInteger class' javaName |
1208 | 498 |
'LargeInteger class' javaUnbox:onError: |
1402 | 499 |
'LargeInteger class' javaWrapperClass |
916 | 500 |
'Object class' isJavaArrayClass |
501 |
'Object class' isJavaClassType |
|
502 |
'Object class' isJavaPrimitiveType |
|
503 |
'Object class' isJavaReferenceType |
|
504 |
'Object class' isJavaType |
|
1402 | 505 |
'ProjectDefinition class' javaClassPath |
506 |
'ProjectDefinition class' javaSourcePath |
|
916 | 507 |
'ShortFloat class' isJavaPrimitiveType |
508 |
'ShortFloat class' javaArrayClass |
|
934 | 509 |
'ShortFloat class' javaBox: |
916 | 510 |
'ShortFloat class' javaName |
1402 | 511 |
'ShortFloat class' javaWrapperClass |
916 | 512 |
'SignedIntegerArray class' isInterface |
513 |
'SignedIntegerArray class' isJavaArrayClass |
|
514 |
'SignedIntegerArray class' javaArrayClass |
|
515 |
'SignedIntegerArray class' javaComponentClass |
|
516 |
'SignedIntegerArray class' javaName |
|
517 |
'SignedLongIntegerArray class' isInterface |
|
518 |
'SignedLongIntegerArray class' isJavaArrayClass |
|
519 |
'SignedLongIntegerArray class' isJavaReferenceType |
|
934 | 520 |
'SignedLongIntegerArray class' javaArrayClass |
916 | 521 |
'SignedLongIntegerArray class' javaComponentClass |
522 |
'SignedLongIntegerArray class' javaName |
|
1402 | 523 |
'SignedWordArray class' isJavaArrayClass |
524 |
'SignedWordArray class' isJavaReferenceType |
|
525 |
'SignedWordArray class' javaComponentClass |
|
526 |
'SignedWordArray class' javaName |
|
916 | 527 |
'UndefinedObject class' isJavaPrimitiveType |
528 |
'UndefinedObject class' javaName |
|
529 |
'WordArray class' isInterface |
|
530 |
'WordArray class' isJavaArrayClass |
|
531 |
'WordArray class' isJavaReferenceType |
|
532 |
'WordArray class' javaArrayClass |
|
533 |
'WordArray class' javaComponentClass |
|
534 |
'WordArray class' javaName |
|
1433 | 535 |
'Boolean class' javaWrap: |
1495
e661836af8e6
Interop fixes for long and double arguments (take two slots in arg vector)
vranyj1
parents:
1469
diff
changeset
|
536 |
ProgrammingLanguage isGroovy |
e661836af8e6
Interop fixes for long and double arguments (take two slots in arg vector)
vranyj1
parents:
1469
diff
changeset
|
537 |
ProgrammingLanguage isJavaLike |
916 | 538 |
) |
752 | 539 |
! ! |
540 |
||
1371 | 541 |
!stx_libjava class methodsFor:'description - java'! |
542 |
||
543 |
javaClassPath |
|
544 |
||
545 |
<javaclasspath> |
|
546 |
||
547 |
^{ |
|
548 |
self packageDirectory / 'java' / 'bin' . |
|
549 |
self packageDirectory / 'java' / 'libs' / '*.jar' |
|
550 |
} |
|
551 |
||
552 |
"Created: / 17-11-2011 / 23:00:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
553 |
! |
|
554 |
||
555 |
javaSourcePath |
|
556 |
||
557 |
<javasourcepath> |
|
558 |
||
559 |
^{ |
|
560 |
self packageDirectory / 'java' / 'src' . |
|
561 |
self packageDirectory / 'java' / 'libs-src' / '*.jar' . |
|
562 |
} |
|
563 |
||
564 |
"Created: / 17-11-2011 / 23:01:02 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
565 |
! ! |
|
1276
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1275
diff
changeset
|
566 |
|
752 | 567 |
!stx_libjava class methodsFor:'description - project information'! |
568 |
||
1007 | 569 |
applicationIconFileName |
570 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
752 | 571 |
|
572 |
^ nil |
|
573 |
"/ ^ self applicationName |
|
574 |
! |
|
575 |
||
1007 | 576 |
companyName |
577 |
"Return a companyname which will appear in <lib>.rc" |
|
752 | 578 |
|
579 |
^ 'eXept Software AG' |
|
580 |
! |
|
581 |
||
1007 | 582 |
description |
583 |
"Description string which will appear in vc.def / bc.def" |
|
752 | 584 |
|
585 |
^ 'Smalltalk/X Class library' |
|
586 |
! |
|
587 |
||
1007 | 588 |
legalCopyright |
589 |
"Copyright string which will appear in <lib>.rc" |
|
752 | 590 |
|
877 | 591 |
^ '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' |
592 |
||
593 |
"Modified: / 26-07-2011 / 17:13:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
752 | 594 |
! |
595 |
||
1007 | 596 |
productName |
597 |
"Return product name which will appear in <lib>.rc" |
|
752 | 598 |
|
599 |
^ 'Smalltalk/X' |
|
600 |
! ! |
|
601 |
||
602 |
!stx_libjava class methodsFor:'description - svn'! |
|
603 |
||
1007 | 604 |
svnRepositoryUrlString |
1437 | 605 |
"Return a SVN repository URL of myself. |
754 | 606 |
(Generated since 2011-04-08) |
1437 | 607 |
Do not make the string shorter!!!!!! We have to use fixed-length keyword!!!!!! |
754 | 608 |
" |
609 |
||
1437 | 610 |
^ '$URL:: $' |
754 | 611 |
! |
612 |
||
752 | 613 |
svnRevisionNr |
614 |
"Return a SVN revision number of myself. |
|
615 |
This number is updated after a commit" |
|
616 |
||
1508 | 617 |
^ "$SVN-Revision:"'1859 '"$" |
752 | 618 |
! ! |
619 |
||
620 |
!stx_libjava class methodsFor:'file generation'! |
|
621 |
||
1007 | 622 |
basicFileNamesToGenerat |
623 |
"answer a dictionary (filename -> generator method) with all the files, that have to be generated for this |
|
752 | 624 |
package" |
625 |
||
626 |
|dict| |
|
627 |
||
628 |
dict := super basicFileNamesToGenerate. |
|
629 |
||
630 |
dict |
|
631 |
at:'builder/package.deps.rake' put: #'generate_package_dot_deps_dot_rake'. |
|
632 |
||
633 |
^ dict. |
|
634 |
||
635 |
"Created: / 11-03-2011 / 09:32:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
636 |
! ! |
|
637 |
||
638 |
!stx_libjava class methodsFor:'documentation'! |
|
639 |
||
640 |
version_SVN |
|
641 |
^ '$Id$' |
|
642 |
! ! |