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