author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 29 Jan 2013 15:15:51 +0000 | |
branch | development |
changeset 2006 | c0598cab5f15 |
parent 1951 | 4759acf61df0 |
child 2069 | 75d40b7b986f |
permissions | -rw-r--r-- |
1206
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
1 |
" |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
2 |
Copyright (c) 2010-2011 Jan Vrany, Jan Kurs & Marcel Hlopko, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
3 |
SWING Research Group, Czech Technical University |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
4 |
in Prague |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
5 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
6 |
Permission is hereby granted, free of charge, to any person |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
7 |
obtaining a copy of this software and associated documentation |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
8 |
files (the 'Software'), to deal in the Software without |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
9 |
restriction, including without limitation the rights to use, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
10 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
11 |
copies of the Software, and to permit persons to whom the |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
12 |
Software is furnished to do so, subject to the following |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
13 |
conditions: |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
14 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
15 |
The above copyright notice and this permission notice shall be |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
16 |
included in all copies or substantial portions of the Software. |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
17 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
18 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
19 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
20 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
21 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
22 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
23 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
24 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
25 |
OTHER DEALINGS IN THE SOFTWARE. |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
26 |
" |
752 | 27 |
"{ Package: 'stx:libjava/experiments' }" |
28 |
||
29 |
LibraryDefinition subclass:#stx_libjava_experiments |
|
30 |
instanceVariableNames:'' |
|
31 |
classVariableNames:'' |
|
32 |
poolDictionaries:'' |
|
33 |
category:'* Projects & Packages *' |
|
34 |
! |
|
35 |
||
1206
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
36 |
!stx_libjava_experiments class methodsFor:'documentation'! |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
37 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
38 |
copyright |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
39 |
" |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
40 |
Copyright (c) 2010-2011 Jan Vrany, Jan Kurs & Marcel Hlopko, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
41 |
SWING Research Group, Czech Technical University |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
42 |
in Prague |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
43 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
44 |
Permission is hereby granted, free of charge, to any person |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
45 |
obtaining a copy of this software and associated documentation |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
46 |
files (the 'Software'), to deal in the Software without |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
47 |
restriction, including without limitation the rights to use, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
48 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
49 |
copies of the Software, and to permit persons to whom the |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
50 |
Software is furnished to do so, subject to the following |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
51 |
conditions: |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
52 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
53 |
The above copyright notice and this permission notice shall be |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
54 |
included in all copies or substantial portions of the Software. |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
55 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
56 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
57 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
58 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
59 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
60 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
61 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
62 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
63 |
OTHER DEALINGS IN THE SOFTWARE. |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
64 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
65 |
" |
1880
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1870
diff
changeset
|
66 |
! |
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1870
diff
changeset
|
67 |
|
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1870
diff
changeset
|
68 |
extensionsVersion_SVN |
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1870
diff
changeset
|
69 |
^ '$Id:: $' |
1206
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
70 |
! ! |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
71 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
72 |
!stx_libjava_experiments class methodsFor:'description'! |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
73 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
74 |
preRequisites |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
75 |
"list all required packages. |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
76 |
This list can be maintained manually or (better) generated and |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
77 |
updated by scanning the superclass hierarchies and looking for |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
78 |
global variable accesses. (the browser has a menu function for that) |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
79 |
Howevery, often too much is found, and you may want to explicitely |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
80 |
exclude individual packages in the #excludedFromPrerequisites method." |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
81 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
82 |
^ #( |
1870 | 83 |
#'stx:goodies/sunit' "TestCase - superclass of SingleClassReloadingTests " |
84 |
#'stx:libbasic' "Set - superclass of SetSample " |
|
1444 | 85 |
#'stx:libcomp' |
1752 | 86 |
#'stx:libjava' "Java - superclass of JavaMethodWrapperCompiler " |
1870 | 87 |
#'stx:libjava/tools' "JavaParserI - referenced by JavaSourceCodeAnalyzer>>analyze: " |
1357 | 88 |
#'stx:libview' |
1206
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
89 |
) |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
90 |
! ! |
752 | 91 |
|
92 |
!stx_libjava_experiments class methodsFor:'description - contents'! |
|
93 |
||
94 |
classNamesAndAttributes |
|
95 |
"lists the classes which are to be included in the project. |
|
96 |
Each entry in the list may be: a single class-name (symbol), |
|
97 |
or an array-literal consisting of class name and attributes. |
|
98 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
99 |
||
100 |
^ #( |
|
101 |
"<className> or (<className> attributes...) in load order" |
|
102 |
NoReflectionObject |
|
103 |
#'stx_libjava_experiments' |
|
1206
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
104 |
JavaMethodWrapperCompiler |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
105 |
PersonSample |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
106 |
SampleHandler |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
107 |
SetSample |
1324 | 108 |
(#'Benchmarks::JavaLookup' autoload) |
1462 | 109 |
JavaByteCodeInterpreter |
110 |
(JavaByteCodeInterpreterTests autoload) |
|
111 |
JavaByteCodeSteppableInterpreter |
|
1870 | 112 |
(ClassReloadingTests autoload) |
113 |
JavaCompiler |
|
114 |
(JavaCompilerTests autoload) |
|
115 |
(SingleClassReloadingTests autoload) |
|
752 | 116 |
) |
117 |
! |
|
118 |
||
119 |
extensionMethodNames |
|
120 |
"lists the extension methods which are to be included in the project. |
|
121 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
122 |
||
123 |
^ #( |
|
1206
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
124 |
Class box:toType: |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
125 |
Class unbox:to: |
1290 | 126 |
JavaMethodDescriptor guardCondition |
1335
754fa2ac21ab
DNU hook is forwarding to perform: forReceiver: sender: ifNotFound: in Class
kursjan
parents:
1329
diff
changeset
|
127 |
JavaClass lookupMethodFor: |
754fa2ac21ab
DNU hook is forwarding to perform: forReceiver: sender: ifNotFound: in Class
kursjan
parents:
1329
diff
changeset
|
128 |
JavaClass performStatic: |
754fa2ac21ab
DNU hook is forwarding to perform: forReceiver: sender: ifNotFound: in Class
kursjan
parents:
1329
diff
changeset
|
129 |
JavaClass performStatic:with: |
754fa2ac21ab
DNU hook is forwarding to perform: forReceiver: sender: ifNotFound: in Class
kursjan
parents:
1329
diff
changeset
|
130 |
JavaObject doesNotUnderstand: |
1347 | 131 |
JavaClass javaWrappedClass |
752 | 132 |
) |
133 |
! ! |
|
134 |
||
1322 | 135 |
!stx_libjava_experiments class methodsFor:'description - java'! |
136 |
||
1951
4759acf61df0
Initial implementation of code libraries & bundles finished.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1895
diff
changeset
|
137 |
javaBundle |
1322 | 138 |
|
1951
4759acf61df0
Initial implementation of code libraries & bundles finished.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1895
diff
changeset
|
139 |
^JavaCodeBundle standardPackageBundleFor: self package |
1322 | 140 |
|
1951
4759acf61df0
Initial implementation of code libraries & bundles finished.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1895
diff
changeset
|
141 |
"Created: / 15-01-2013 / 17:35:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1322 | 142 |
! ! |
143 |
||
752 | 144 |
!stx_libjava_experiments class methodsFor:'description - svn'! |
145 |
||
1206
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
146 |
svnRepositoryUrlString |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
147 |
"Return a SVN repository URL of myself. |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
148 |
(Generated since 2011-04-08) |
1439 | 149 |
Do not make the string shorter!!!!!! We have to use fixed-length keyword!!!!!! |
1206
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
150 |
" |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
151 |
|
1439 | 152 |
^ '$URL:: $' |
1206
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
153 |
! |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
154 |
|
752 | 155 |
svnRevisionNr |
156 |
"Return a SVN revision number of myself. |
|
157 |
This number is updated after a commit" |
|
158 |
||
1753 | 159 |
^ "$SVN-Revision:"'1850 '"$" |
752 | 160 |
! ! |
161 |
||
162 |
!stx_libjava_experiments class methodsFor:'documentation'! |
|
163 |
||
1880
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1870
diff
changeset
|
164 |
version_HG |
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1870
diff
changeset
|
165 |
|
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1870
diff
changeset
|
166 |
^ '$Changeset: <not expanded> $' |
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1870
diff
changeset
|
167 |
! |
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1870
diff
changeset
|
168 |
|
752 | 169 |
version_SVN |
1880
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1870
diff
changeset
|
170 |
^ '§Id§' |
752 | 171 |
! ! |