jbarnette-johnson 1.0.0.200806240111
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +5 -0
- data/MANIFEST +385 -0
- data/MINGW32.mk +124 -0
- data/README.rdoc +51 -0
- data/Rakefile +166 -0
- data/bin/johnson +107 -0
- data/cross-compile.txt +38 -0
- data/ext/spidermonkey/context.c +122 -0
- data/ext/spidermonkey/context.h +19 -0
- data/ext/spidermonkey/conversions.c +286 -0
- data/ext/spidermonkey/conversions.h +18 -0
- data/ext/spidermonkey/debugger.c +208 -0
- data/ext/spidermonkey/debugger.h +9 -0
- data/ext/spidermonkey/extconf.rb +25 -0
- data/ext/spidermonkey/extensions.c +37 -0
- data/ext/spidermonkey/extensions.h +12 -0
- data/ext/spidermonkey/global.c +40 -0
- data/ext/spidermonkey/global.h +11 -0
- data/ext/spidermonkey/idhash.c +16 -0
- data/ext/spidermonkey/idhash.h +8 -0
- data/ext/spidermonkey/immutable_node.c.erb +522 -0
- data/ext/spidermonkey/immutable_node.h +22 -0
- data/ext/spidermonkey/jroot.h +187 -0
- data/ext/spidermonkey/js_land_proxy.c +609 -0
- data/ext/spidermonkey/js_land_proxy.h +20 -0
- data/ext/spidermonkey/ruby_land_proxy.c +537 -0
- data/ext/spidermonkey/ruby_land_proxy.h +17 -0
- data/ext/spidermonkey/runtime.c +304 -0
- data/ext/spidermonkey/runtime.h +25 -0
- data/ext/spidermonkey/spidermonkey.c +20 -0
- data/ext/spidermonkey/spidermonkey.h +29 -0
- data/js/johnson/browser.js +9 -0
- data/js/johnson/browser/env.js +687 -0
- data/js/johnson/browser/jquery.js +3444 -0
- data/js/johnson/browser/xmlsax.js +1564 -0
- data/js/johnson/browser/xmlw3cdom.js +4189 -0
- data/js/johnson/cli.js +30 -0
- data/js/johnson/prelude.js +80 -0
- data/js/johnson/template.js +29 -0
- data/lib/hoe.rb +748 -0
- data/lib/johnson.rb +46 -0
- data/lib/johnson/cli.rb +7 -0
- data/lib/johnson/cli/options.rb +56 -0
- data/lib/johnson/error.rb +4 -0
- data/lib/johnson/nodes.rb +7 -0
- data/lib/johnson/nodes/binary_node.rb +64 -0
- data/lib/johnson/nodes/for.rb +14 -0
- data/lib/johnson/nodes/for_in.rb +12 -0
- data/lib/johnson/nodes/function.rb +13 -0
- data/lib/johnson/nodes/list.rb +27 -0
- data/lib/johnson/nodes/node.rb +68 -0
- data/lib/johnson/nodes/ternary_node.rb +20 -0
- data/lib/johnson/parser.rb +21 -0
- data/lib/johnson/parser/syntax_error.rb +13 -0
- data/lib/johnson/runtime.rb +55 -0
- data/lib/johnson/spidermonkey/context.rb +10 -0
- data/lib/johnson/spidermonkey/debugger.rb +67 -0
- data/lib/johnson/spidermonkey/immutable_node.rb +280 -0
- data/lib/johnson/spidermonkey/js_land_proxy.rb +62 -0
- data/lib/johnson/spidermonkey/mutable_tree_visitor.rb +233 -0
- data/lib/johnson/spidermonkey/ruby_land_proxy.rb +52 -0
- data/lib/johnson/spidermonkey/runtime.rb +94 -0
- data/lib/johnson/version.rb +4 -0
- data/lib/johnson/visitable.rb +16 -0
- data/lib/johnson/visitors.rb +4 -0
- data/lib/johnson/visitors/dot_visitor.rb +167 -0
- data/lib/johnson/visitors/ecma_visitor.rb +315 -0
- data/lib/johnson/visitors/enumerating_visitor.rb +115 -0
- data/lib/johnson/visitors/sexp_visitor.rb +172 -0
- data/lib/rails/init.rb +37 -0
- data/test/assets/index.html +38 -0
- data/test/assets/jquery_test.html +186 -0
- data/test/helper.rb +58 -0
- data/test/johnson/browser_test.rb +38 -0
- data/test/johnson/conversions/array_test.rb +32 -0
- data/test/johnson/conversions/boolean_test.rb +17 -0
- data/test/johnson/conversions/callable_test.rb +34 -0
- data/test/johnson/conversions/file_test.rb +15 -0
- data/test/johnson/conversions/nil_test.rb +20 -0
- data/test/johnson/conversions/number_test.rb +34 -0
- data/test/johnson/conversions/regexp_test.rb +24 -0
- data/test/johnson/conversions/string_test.rb +26 -0
- data/test/johnson/conversions/struct_test.rb +15 -0
- data/test/johnson/conversions/symbol_test.rb +19 -0
- data/test/johnson/conversions/thread_test.rb +24 -0
- data/test/johnson/error_test.rb +9 -0
- data/test/johnson/extensions_test.rb +56 -0
- data/test/johnson/nodes/array_literal_test.rb +57 -0
- data/test/johnson/nodes/array_node_test.rb +26 -0
- data/test/johnson/nodes/binary_node_test.rb +61 -0
- data/test/johnson/nodes/bracket_access_test.rb +16 -0
- data/test/johnson/nodes/delete_test.rb +11 -0
- data/test/johnson/nodes/do_while_test.rb +12 -0
- data/test/johnson/nodes/dot_accessor_test.rb +15 -0
- data/test/johnson/nodes/export_test.rb +9 -0
- data/test/johnson/nodes/for_test.rb +54 -0
- data/test/johnson/nodes/function_test.rb +71 -0
- data/test/johnson/nodes/if_test.rb +41 -0
- data/test/johnson/nodes/import_test.rb +13 -0
- data/test/johnson/nodes/label_test.rb +19 -0
- data/test/johnson/nodes/object_literal_test.rb +110 -0
- data/test/johnson/nodes/return_test.rb +16 -0
- data/test/johnson/nodes/semi_test.rb +8 -0
- data/test/johnson/nodes/switch_test.rb +55 -0
- data/test/johnson/nodes/ternary_test.rb +25 -0
- data/test/johnson/nodes/throw_test.rb +9 -0
- data/test/johnson/nodes/try_node_test.rb +59 -0
- data/test/johnson/nodes/typeof_test.rb +11 -0
- data/test/johnson/nodes/unary_node_test.rb +23 -0
- data/test/johnson/nodes/void_test.rb +11 -0
- data/test/johnson/nodes/while_test.rb +26 -0
- data/test/johnson/nodes/with_test.rb +10 -0
- data/test/johnson/prelude_test.rb +56 -0
- data/test/johnson/runtime_test.rb +46 -0
- data/test/johnson/spidermonkey/context_test.rb +21 -0
- data/test/johnson/spidermonkey/immutable_node_test.rb +34 -0
- data/test/johnson/spidermonkey/js_land_proxy_test.rb +236 -0
- data/test/johnson/spidermonkey/ruby_land_proxy_test.rb +225 -0
- data/test/johnson/spidermonkey/runtime_test.rb +17 -0
- data/test/johnson/version_test.rb +13 -0
- data/test/johnson/visitors/dot_visitor_test.rb +39 -0
- data/test/johnson/visitors/enumerating_visitor_test.rb +12 -0
- data/test/johnson_test.rb +16 -0
- data/test/jquery_units/test.js +27 -0
- data/test/jquery_units/test_helper.js +197 -0
- data/test/jquery_units/units/ajax.js +795 -0
- data/test/jquery_units/units/core.js +1563 -0
- data/test/jquery_units/units/event.js +299 -0
- data/test/jquery_units/units/fx.js +427 -0
- data/test/jquery_units/units/offset.js +112 -0
- data/test/jquery_units/units/selector.js +224 -0
- data/test/jspec/helper.js +7 -0
- data/test/jspec/jspec.js +192 -0
- data/test/jspec/simple_spec.js +68 -0
- data/test/parser_test.rb +276 -0
- data/todo/.keep +0 -0
- metadata +501 -0
data/CHANGELOG
ADDED
data/MANIFEST
ADDED
@@ -0,0 +1,385 @@
|
|
1
|
+
CHANGELOG
|
2
|
+
MANIFEST
|
3
|
+
MINGW32.mk
|
4
|
+
README.rdoc
|
5
|
+
Rakefile
|
6
|
+
bin/johnson
|
7
|
+
cross-compile.txt
|
8
|
+
ext/spidermonkey/context.c
|
9
|
+
ext/spidermonkey/context.h
|
10
|
+
ext/spidermonkey/conversions.c
|
11
|
+
ext/spidermonkey/conversions.h
|
12
|
+
ext/spidermonkey/debugger.c
|
13
|
+
ext/spidermonkey/debugger.h
|
14
|
+
ext/spidermonkey/extconf.rb
|
15
|
+
ext/spidermonkey/extensions.c
|
16
|
+
ext/spidermonkey/extensions.h
|
17
|
+
ext/spidermonkey/global.c
|
18
|
+
ext/spidermonkey/global.h
|
19
|
+
ext/spidermonkey/idhash.c
|
20
|
+
ext/spidermonkey/idhash.h
|
21
|
+
ext/spidermonkey/immutable_node.c
|
22
|
+
ext/spidermonkey/immutable_node.c.erb
|
23
|
+
ext/spidermonkey/immutable_node.h
|
24
|
+
ext/spidermonkey/jroot.h
|
25
|
+
ext/spidermonkey/js_land_proxy.c
|
26
|
+
ext/spidermonkey/js_land_proxy.h
|
27
|
+
ext/spidermonkey/ruby_land_proxy.c
|
28
|
+
ext/spidermonkey/ruby_land_proxy.h
|
29
|
+
ext/spidermonkey/runtime.c
|
30
|
+
ext/spidermonkey/runtime.h
|
31
|
+
ext/spidermonkey/spidermonkey.c
|
32
|
+
ext/spidermonkey/spidermonkey.h
|
33
|
+
js/johnson/browser.js
|
34
|
+
js/johnson/browser/env.js
|
35
|
+
js/johnson/browser/jquery.js
|
36
|
+
js/johnson/browser/xmlsax.js
|
37
|
+
js/johnson/browser/xmlw3cdom.js
|
38
|
+
js/johnson/cli.js
|
39
|
+
js/johnson/prelude.js
|
40
|
+
js/johnson/template.js
|
41
|
+
lib/hoe.rb
|
42
|
+
lib/johnson.rb
|
43
|
+
lib/johnson/cli.rb
|
44
|
+
lib/johnson/cli/options.rb
|
45
|
+
lib/johnson/error.rb
|
46
|
+
lib/johnson/nodes.rb
|
47
|
+
lib/johnson/nodes/binary_node.rb
|
48
|
+
lib/johnson/nodes/for.rb
|
49
|
+
lib/johnson/nodes/for_in.rb
|
50
|
+
lib/johnson/nodes/function.rb
|
51
|
+
lib/johnson/nodes/list.rb
|
52
|
+
lib/johnson/nodes/node.rb
|
53
|
+
lib/johnson/nodes/ternary_node.rb
|
54
|
+
lib/johnson/parser.rb
|
55
|
+
lib/johnson/parser/syntax_error.rb
|
56
|
+
lib/johnson/runtime.rb
|
57
|
+
lib/johnson/spidermonkey/context.rb
|
58
|
+
lib/johnson/spidermonkey/debugger.rb
|
59
|
+
lib/johnson/spidermonkey/immutable_node.rb
|
60
|
+
lib/johnson/spidermonkey/js_land_proxy.rb
|
61
|
+
lib/johnson/spidermonkey/mutable_tree_visitor.rb
|
62
|
+
lib/johnson/spidermonkey/ruby_land_proxy.rb
|
63
|
+
lib/johnson/spidermonkey/runtime.rb
|
64
|
+
lib/johnson/version.rb
|
65
|
+
lib/johnson/visitable.rb
|
66
|
+
lib/johnson/visitors.rb
|
67
|
+
lib/johnson/visitors/dot_visitor.rb
|
68
|
+
lib/johnson/visitors/ecma_visitor.rb
|
69
|
+
lib/johnson/visitors/enumerating_visitor.rb
|
70
|
+
lib/johnson/visitors/sexp_visitor.rb
|
71
|
+
lib/rails/init.rb
|
72
|
+
test/assets/index.html
|
73
|
+
test/assets/jquery_test.html
|
74
|
+
test/helper.rb
|
75
|
+
test/johnson/browser_test.rb
|
76
|
+
test/johnson/conversions/array_test.rb
|
77
|
+
test/johnson/conversions/boolean_test.rb
|
78
|
+
test/johnson/conversions/callable_test.rb
|
79
|
+
test/johnson/conversions/file_test.rb
|
80
|
+
test/johnson/conversions/nil_test.rb
|
81
|
+
test/johnson/conversions/number_test.rb
|
82
|
+
test/johnson/conversions/regexp_test.rb
|
83
|
+
test/johnson/conversions/string_test.rb
|
84
|
+
test/johnson/conversions/struct_test.rb
|
85
|
+
test/johnson/conversions/symbol_test.rb
|
86
|
+
test/johnson/conversions/thread_test.rb
|
87
|
+
test/johnson/error_test.rb
|
88
|
+
test/johnson/extensions_test.rb
|
89
|
+
test/johnson/nodes/array_literal_test.rb
|
90
|
+
test/johnson/nodes/array_node_test.rb
|
91
|
+
test/johnson/nodes/binary_node_test.rb
|
92
|
+
test/johnson/nodes/bracket_access_test.rb
|
93
|
+
test/johnson/nodes/delete_test.rb
|
94
|
+
test/johnson/nodes/do_while_test.rb
|
95
|
+
test/johnson/nodes/dot_accessor_test.rb
|
96
|
+
test/johnson/nodes/export_test.rb
|
97
|
+
test/johnson/nodes/for_test.rb
|
98
|
+
test/johnson/nodes/function_test.rb
|
99
|
+
test/johnson/nodes/if_test.rb
|
100
|
+
test/johnson/nodes/import_test.rb
|
101
|
+
test/johnson/nodes/label_test.rb
|
102
|
+
test/johnson/nodes/object_literal_test.rb
|
103
|
+
test/johnson/nodes/return_test.rb
|
104
|
+
test/johnson/nodes/semi_test.rb
|
105
|
+
test/johnson/nodes/switch_test.rb
|
106
|
+
test/johnson/nodes/ternary_test.rb
|
107
|
+
test/johnson/nodes/throw_test.rb
|
108
|
+
test/johnson/nodes/try_node_test.rb
|
109
|
+
test/johnson/nodes/typeof_test.rb
|
110
|
+
test/johnson/nodes/unary_node_test.rb
|
111
|
+
test/johnson/nodes/void_test.rb
|
112
|
+
test/johnson/nodes/while_test.rb
|
113
|
+
test/johnson/nodes/with_test.rb
|
114
|
+
test/johnson/prelude_test.rb
|
115
|
+
test/johnson/runtime_test.rb
|
116
|
+
test/johnson/spidermonkey/context_test.rb
|
117
|
+
test/johnson/spidermonkey/immutable_node_test.rb
|
118
|
+
test/johnson/spidermonkey/js_land_proxy_test.rb
|
119
|
+
test/johnson/spidermonkey/ruby_land_proxy_test.rb
|
120
|
+
test/johnson/spidermonkey/runtime_test.rb
|
121
|
+
test/johnson/version_test.rb
|
122
|
+
test/johnson/visitors/dot_visitor_test.rb
|
123
|
+
test/johnson/visitors/enumerating_visitor_test.rb
|
124
|
+
test/johnson_test.rb
|
125
|
+
test/jquery_units/test.js
|
126
|
+
test/jquery_units/test_helper.js
|
127
|
+
test/jquery_units/units/ajax.js
|
128
|
+
test/jquery_units/units/core.js
|
129
|
+
test/jquery_units/units/event.js
|
130
|
+
test/jquery_units/units/fx.js
|
131
|
+
test/jquery_units/units/offset.js
|
132
|
+
test/jquery_units/units/selector.js
|
133
|
+
test/jspec/helper.js
|
134
|
+
test/jspec/jspec.js
|
135
|
+
test/jspec/simple_spec.js
|
136
|
+
test/parser_test.rb
|
137
|
+
todo/.keep
|
138
|
+
vendor/spidermonkey/.cvsignore
|
139
|
+
vendor/spidermonkey/Makefile.in
|
140
|
+
vendor/spidermonkey/Makefile.ref
|
141
|
+
vendor/spidermonkey/README.html
|
142
|
+
vendor/spidermonkey/SpiderMonkey.rsp
|
143
|
+
vendor/spidermonkey/Y.js
|
144
|
+
vendor/spidermonkey/build.mk
|
145
|
+
vendor/spidermonkey/config.mk
|
146
|
+
vendor/spidermonkey/config/AIX4.1.mk
|
147
|
+
vendor/spidermonkey/config/AIX4.2.mk
|
148
|
+
vendor/spidermonkey/config/AIX4.3.mk
|
149
|
+
vendor/spidermonkey/config/Darwin.mk
|
150
|
+
vendor/spidermonkey/config/Darwin1.3.mk
|
151
|
+
vendor/spidermonkey/config/Darwin1.4.mk
|
152
|
+
vendor/spidermonkey/config/Darwin5.2.mk
|
153
|
+
vendor/spidermonkey/config/Darwin5.3.mk
|
154
|
+
vendor/spidermonkey/config/HP-UXB.10.10.mk
|
155
|
+
vendor/spidermonkey/config/HP-UXB.10.20.mk
|
156
|
+
vendor/spidermonkey/config/HP-UXB.11.00.mk
|
157
|
+
vendor/spidermonkey/config/IRIX.mk
|
158
|
+
vendor/spidermonkey/config/IRIX5.3.mk
|
159
|
+
vendor/spidermonkey/config/IRIX6.1.mk
|
160
|
+
vendor/spidermonkey/config/IRIX6.2.mk
|
161
|
+
vendor/spidermonkey/config/IRIX6.3.mk
|
162
|
+
vendor/spidermonkey/config/IRIX6.5.mk
|
163
|
+
vendor/spidermonkey/config/Linux_All.mk
|
164
|
+
vendor/spidermonkey/config/Mac_OS10.0.mk
|
165
|
+
vendor/spidermonkey/config/OSF1V4.0.mk
|
166
|
+
vendor/spidermonkey/config/OSF1V5.0.mk
|
167
|
+
vendor/spidermonkey/config/SunOS4.1.4.mk
|
168
|
+
vendor/spidermonkey/config/SunOS5.10.mk
|
169
|
+
vendor/spidermonkey/config/SunOS5.3.mk
|
170
|
+
vendor/spidermonkey/config/SunOS5.4.mk
|
171
|
+
vendor/spidermonkey/config/SunOS5.5.1.mk
|
172
|
+
vendor/spidermonkey/config/SunOS5.5.mk
|
173
|
+
vendor/spidermonkey/config/SunOS5.6.mk
|
174
|
+
vendor/spidermonkey/config/SunOS5.7.mk
|
175
|
+
vendor/spidermonkey/config/SunOS5.8.mk
|
176
|
+
vendor/spidermonkey/config/SunOS5.9.mk
|
177
|
+
vendor/spidermonkey/config/WINNT4.0.mk
|
178
|
+
vendor/spidermonkey/config/WINNT5.0.mk
|
179
|
+
vendor/spidermonkey/config/WINNT5.1.mk
|
180
|
+
vendor/spidermonkey/config/WINNT5.2.mk
|
181
|
+
vendor/spidermonkey/config/WINNT6.0.mk
|
182
|
+
vendor/spidermonkey/config/dgux.mk
|
183
|
+
vendor/spidermonkey/editline/Makefile.ref
|
184
|
+
vendor/spidermonkey/editline/README
|
185
|
+
vendor/spidermonkey/editline/editline.3
|
186
|
+
vendor/spidermonkey/editline/editline.c
|
187
|
+
vendor/spidermonkey/editline/editline.h
|
188
|
+
vendor/spidermonkey/editline/sysunix.c
|
189
|
+
vendor/spidermonkey/editline/unix.h
|
190
|
+
vendor/spidermonkey/fdlibm/.cvsignore
|
191
|
+
vendor/spidermonkey/fdlibm/Makefile.in
|
192
|
+
vendor/spidermonkey/fdlibm/Makefile.ref
|
193
|
+
vendor/spidermonkey/fdlibm/e_acos.c
|
194
|
+
vendor/spidermonkey/fdlibm/e_acosh.c
|
195
|
+
vendor/spidermonkey/fdlibm/e_asin.c
|
196
|
+
vendor/spidermonkey/fdlibm/e_atan2.c
|
197
|
+
vendor/spidermonkey/fdlibm/e_atanh.c
|
198
|
+
vendor/spidermonkey/fdlibm/e_cosh.c
|
199
|
+
vendor/spidermonkey/fdlibm/e_exp.c
|
200
|
+
vendor/spidermonkey/fdlibm/e_fmod.c
|
201
|
+
vendor/spidermonkey/fdlibm/e_gamma.c
|
202
|
+
vendor/spidermonkey/fdlibm/e_gamma_r.c
|
203
|
+
vendor/spidermonkey/fdlibm/e_hypot.c
|
204
|
+
vendor/spidermonkey/fdlibm/e_j0.c
|
205
|
+
vendor/spidermonkey/fdlibm/e_j1.c
|
206
|
+
vendor/spidermonkey/fdlibm/e_jn.c
|
207
|
+
vendor/spidermonkey/fdlibm/e_lgamma.c
|
208
|
+
vendor/spidermonkey/fdlibm/e_lgamma_r.c
|
209
|
+
vendor/spidermonkey/fdlibm/e_log.c
|
210
|
+
vendor/spidermonkey/fdlibm/e_log10.c
|
211
|
+
vendor/spidermonkey/fdlibm/e_pow.c
|
212
|
+
vendor/spidermonkey/fdlibm/e_rem_pio2.c
|
213
|
+
vendor/spidermonkey/fdlibm/e_remainder.c
|
214
|
+
vendor/spidermonkey/fdlibm/e_scalb.c
|
215
|
+
vendor/spidermonkey/fdlibm/e_sinh.c
|
216
|
+
vendor/spidermonkey/fdlibm/e_sqrt.c
|
217
|
+
vendor/spidermonkey/fdlibm/fdlibm.h
|
218
|
+
vendor/spidermonkey/fdlibm/fdlibm.mak
|
219
|
+
vendor/spidermonkey/fdlibm/fdlibm.mdp
|
220
|
+
vendor/spidermonkey/fdlibm/k_cos.c
|
221
|
+
vendor/spidermonkey/fdlibm/k_rem_pio2.c
|
222
|
+
vendor/spidermonkey/fdlibm/k_sin.c
|
223
|
+
vendor/spidermonkey/fdlibm/k_standard.c
|
224
|
+
vendor/spidermonkey/fdlibm/k_tan.c
|
225
|
+
vendor/spidermonkey/fdlibm/s_asinh.c
|
226
|
+
vendor/spidermonkey/fdlibm/s_atan.c
|
227
|
+
vendor/spidermonkey/fdlibm/s_cbrt.c
|
228
|
+
vendor/spidermonkey/fdlibm/s_ceil.c
|
229
|
+
vendor/spidermonkey/fdlibm/s_copysign.c
|
230
|
+
vendor/spidermonkey/fdlibm/s_cos.c
|
231
|
+
vendor/spidermonkey/fdlibm/s_erf.c
|
232
|
+
vendor/spidermonkey/fdlibm/s_expm1.c
|
233
|
+
vendor/spidermonkey/fdlibm/s_fabs.c
|
234
|
+
vendor/spidermonkey/fdlibm/s_finite.c
|
235
|
+
vendor/spidermonkey/fdlibm/s_floor.c
|
236
|
+
vendor/spidermonkey/fdlibm/s_frexp.c
|
237
|
+
vendor/spidermonkey/fdlibm/s_ilogb.c
|
238
|
+
vendor/spidermonkey/fdlibm/s_isnan.c
|
239
|
+
vendor/spidermonkey/fdlibm/s_ldexp.c
|
240
|
+
vendor/spidermonkey/fdlibm/s_lib_version.c
|
241
|
+
vendor/spidermonkey/fdlibm/s_log1p.c
|
242
|
+
vendor/spidermonkey/fdlibm/s_logb.c
|
243
|
+
vendor/spidermonkey/fdlibm/s_matherr.c
|
244
|
+
vendor/spidermonkey/fdlibm/s_modf.c
|
245
|
+
vendor/spidermonkey/fdlibm/s_nextafter.c
|
246
|
+
vendor/spidermonkey/fdlibm/s_rint.c
|
247
|
+
vendor/spidermonkey/fdlibm/s_scalbn.c
|
248
|
+
vendor/spidermonkey/fdlibm/s_signgam.c
|
249
|
+
vendor/spidermonkey/fdlibm/s_significand.c
|
250
|
+
vendor/spidermonkey/fdlibm/s_sin.c
|
251
|
+
vendor/spidermonkey/fdlibm/s_tan.c
|
252
|
+
vendor/spidermonkey/fdlibm/s_tanh.c
|
253
|
+
vendor/spidermonkey/fdlibm/w_acos.c
|
254
|
+
vendor/spidermonkey/fdlibm/w_acosh.c
|
255
|
+
vendor/spidermonkey/fdlibm/w_asin.c
|
256
|
+
vendor/spidermonkey/fdlibm/w_atan2.c
|
257
|
+
vendor/spidermonkey/fdlibm/w_atanh.c
|
258
|
+
vendor/spidermonkey/fdlibm/w_cosh.c
|
259
|
+
vendor/spidermonkey/fdlibm/w_exp.c
|
260
|
+
vendor/spidermonkey/fdlibm/w_fmod.c
|
261
|
+
vendor/spidermonkey/fdlibm/w_gamma.c
|
262
|
+
vendor/spidermonkey/fdlibm/w_gamma_r.c
|
263
|
+
vendor/spidermonkey/fdlibm/w_hypot.c
|
264
|
+
vendor/spidermonkey/fdlibm/w_j0.c
|
265
|
+
vendor/spidermonkey/fdlibm/w_j1.c
|
266
|
+
vendor/spidermonkey/fdlibm/w_jn.c
|
267
|
+
vendor/spidermonkey/fdlibm/w_lgamma.c
|
268
|
+
vendor/spidermonkey/fdlibm/w_lgamma_r.c
|
269
|
+
vendor/spidermonkey/fdlibm/w_log.c
|
270
|
+
vendor/spidermonkey/fdlibm/w_log10.c
|
271
|
+
vendor/spidermonkey/fdlibm/w_pow.c
|
272
|
+
vendor/spidermonkey/fdlibm/w_remainder.c
|
273
|
+
vendor/spidermonkey/fdlibm/w_scalb.c
|
274
|
+
vendor/spidermonkey/fdlibm/w_sinh.c
|
275
|
+
vendor/spidermonkey/fdlibm/w_sqrt.c
|
276
|
+
vendor/spidermonkey/javascript-trace.d
|
277
|
+
vendor/spidermonkey/js.c
|
278
|
+
vendor/spidermonkey/js.mak
|
279
|
+
vendor/spidermonkey/js.mdp
|
280
|
+
vendor/spidermonkey/js.msg
|
281
|
+
vendor/spidermonkey/js.pkg
|
282
|
+
vendor/spidermonkey/js3240.rc
|
283
|
+
vendor/spidermonkey/jsOS240.def
|
284
|
+
vendor/spidermonkey/jsapi.c
|
285
|
+
vendor/spidermonkey/jsapi.h
|
286
|
+
vendor/spidermonkey/jsarena.c
|
287
|
+
vendor/spidermonkey/jsarena.h
|
288
|
+
vendor/spidermonkey/jsarray.c
|
289
|
+
vendor/spidermonkey/jsarray.h
|
290
|
+
vendor/spidermonkey/jsatom.c
|
291
|
+
vendor/spidermonkey/jsatom.h
|
292
|
+
vendor/spidermonkey/jsbit.h
|
293
|
+
vendor/spidermonkey/jsbool.c
|
294
|
+
vendor/spidermonkey/jsbool.h
|
295
|
+
vendor/spidermonkey/jsclist.h
|
296
|
+
vendor/spidermonkey/jscntxt.c
|
297
|
+
vendor/spidermonkey/jscntxt.h
|
298
|
+
vendor/spidermonkey/jscompat.h
|
299
|
+
vendor/spidermonkey/jsconfig.h
|
300
|
+
vendor/spidermonkey/jsconfig.mk
|
301
|
+
vendor/spidermonkey/jscpucfg.c
|
302
|
+
vendor/spidermonkey/jscpucfg.h
|
303
|
+
vendor/spidermonkey/jsdate.c
|
304
|
+
vendor/spidermonkey/jsdate.h
|
305
|
+
vendor/spidermonkey/jsdbgapi.c
|
306
|
+
vendor/spidermonkey/jsdbgapi.h
|
307
|
+
vendor/spidermonkey/jsdhash.c
|
308
|
+
vendor/spidermonkey/jsdhash.h
|
309
|
+
vendor/spidermonkey/jsdtoa.c
|
310
|
+
vendor/spidermonkey/jsdtoa.h
|
311
|
+
vendor/spidermonkey/jsdtracef.c
|
312
|
+
vendor/spidermonkey/jsdtracef.h
|
313
|
+
vendor/spidermonkey/jsemit.c
|
314
|
+
vendor/spidermonkey/jsemit.h
|
315
|
+
vendor/spidermonkey/jsexn.c
|
316
|
+
vendor/spidermonkey/jsexn.h
|
317
|
+
vendor/spidermonkey/jsfile.c
|
318
|
+
vendor/spidermonkey/jsfile.h
|
319
|
+
vendor/spidermonkey/jsfile.msg
|
320
|
+
vendor/spidermonkey/jsfun.c
|
321
|
+
vendor/spidermonkey/jsfun.h
|
322
|
+
vendor/spidermonkey/jsgc.c
|
323
|
+
vendor/spidermonkey/jsgc.h
|
324
|
+
vendor/spidermonkey/jshash.c
|
325
|
+
vendor/spidermonkey/jshash.h
|
326
|
+
vendor/spidermonkey/jsify.pl
|
327
|
+
vendor/spidermonkey/jsinterp.c
|
328
|
+
vendor/spidermonkey/jsinterp.h
|
329
|
+
vendor/spidermonkey/jsinvoke.c
|
330
|
+
vendor/spidermonkey/jsiter.c
|
331
|
+
vendor/spidermonkey/jsiter.h
|
332
|
+
vendor/spidermonkey/jskeyword.tbl
|
333
|
+
vendor/spidermonkey/jskwgen.c
|
334
|
+
vendor/spidermonkey/jslibmath.h
|
335
|
+
vendor/spidermonkey/jslock.c
|
336
|
+
vendor/spidermonkey/jslock.h
|
337
|
+
vendor/spidermonkey/jslocko.asm
|
338
|
+
vendor/spidermonkey/jslog2.c
|
339
|
+
vendor/spidermonkey/jslong.c
|
340
|
+
vendor/spidermonkey/jslong.h
|
341
|
+
vendor/spidermonkey/jsmath.c
|
342
|
+
vendor/spidermonkey/jsmath.h
|
343
|
+
vendor/spidermonkey/jsnum.c
|
344
|
+
vendor/spidermonkey/jsnum.h
|
345
|
+
vendor/spidermonkey/jsobj.c
|
346
|
+
vendor/spidermonkey/jsobj.h
|
347
|
+
vendor/spidermonkey/jsopcode.c
|
348
|
+
vendor/spidermonkey/jsopcode.h
|
349
|
+
vendor/spidermonkey/jsopcode.tbl
|
350
|
+
vendor/spidermonkey/jsotypes.h
|
351
|
+
vendor/spidermonkey/jsparse.c
|
352
|
+
vendor/spidermonkey/jsparse.h
|
353
|
+
vendor/spidermonkey/jsprf.c
|
354
|
+
vendor/spidermonkey/jsprf.h
|
355
|
+
vendor/spidermonkey/jsproto.tbl
|
356
|
+
vendor/spidermonkey/jsprvtd.h
|
357
|
+
vendor/spidermonkey/jspubtd.h
|
358
|
+
vendor/spidermonkey/jsregexp.c
|
359
|
+
vendor/spidermonkey/jsregexp.h
|
360
|
+
vendor/spidermonkey/jsreops.tbl
|
361
|
+
vendor/spidermonkey/jsscan.c
|
362
|
+
vendor/spidermonkey/jsscan.h
|
363
|
+
vendor/spidermonkey/jsscope.c
|
364
|
+
vendor/spidermonkey/jsscope.h
|
365
|
+
vendor/spidermonkey/jsscript.c
|
366
|
+
vendor/spidermonkey/jsscript.h
|
367
|
+
vendor/spidermonkey/jsshell.msg
|
368
|
+
vendor/spidermonkey/jsstddef.h
|
369
|
+
vendor/spidermonkey/jsstr.c
|
370
|
+
vendor/spidermonkey/jsstr.h
|
371
|
+
vendor/spidermonkey/jstypes.h
|
372
|
+
vendor/spidermonkey/jsutil.c
|
373
|
+
vendor/spidermonkey/jsutil.h
|
374
|
+
vendor/spidermonkey/jsxdrapi.c
|
375
|
+
vendor/spidermonkey/jsxdrapi.h
|
376
|
+
vendor/spidermonkey/jsxml.c
|
377
|
+
vendor/spidermonkey/jsxml.h
|
378
|
+
vendor/spidermonkey/lock_SunOS.s
|
379
|
+
vendor/spidermonkey/perfect.js
|
380
|
+
vendor/spidermonkey/plify_jsdhash.sed
|
381
|
+
vendor/spidermonkey/prmjtime.c
|
382
|
+
vendor/spidermonkey/prmjtime.h
|
383
|
+
vendor/spidermonkey/resource.h
|
384
|
+
vendor/spidermonkey/rules.mk
|
385
|
+
vendor/spidermonkey/win32.order
|
data/MINGW32.mk
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
# -*- Mode: makefile -*-
|
2
|
+
#
|
3
|
+
#
|
4
|
+
# Based on patch submitted to mozilla.dev.tech.js-engine by 'Andy':
|
5
|
+
# http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_thread/thread/16972946bf7df82e
|
6
|
+
#
|
7
|
+
#
|
8
|
+
# ***** BEGIN LICENSE BLOCK *****
|
9
|
+
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
10
|
+
#
|
11
|
+
# The contents of this file are subject to the Mozilla Public License Version
|
12
|
+
# 1.1 (the "License"); you may not use this file except in compliance with
|
13
|
+
# the License. You may obtain a copy of the License at
|
14
|
+
# http://www.mozilla.org/MPL/
|
15
|
+
#
|
16
|
+
# Software distributed under the License is distributed on an "AS IS" basis,
|
17
|
+
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
18
|
+
# for the specific language governing rights and limitations under the
|
19
|
+
# License.
|
20
|
+
#
|
21
|
+
# The Original Code is Mozilla Communicator client code, released
|
22
|
+
# March 31, 1998.
|
23
|
+
#
|
24
|
+
# The Initial Developer of the Original Code is
|
25
|
+
# Netscape Communications Corporation.
|
26
|
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
27
|
+
# the Initial Developer. All Rights Reserved.
|
28
|
+
#
|
29
|
+
# Contributor(s):
|
30
|
+
#
|
31
|
+
# Alternatively, the contents of this file may be used under the terms of
|
32
|
+
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
33
|
+
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
34
|
+
# in which case the provisions of the GPL or the LGPL are applicable instead
|
35
|
+
# of those above. If you wish to allow use of your version of this file only
|
36
|
+
# under the terms of either the GPL or the LGPL, and not to allow others to
|
37
|
+
# use your version of this file under the terms of the MPL, indicate your
|
38
|
+
# decision by deleting the provisions above and replace them with the notice
|
39
|
+
# and other provisions required by the GPL or the LGPL. If you do not delete
|
40
|
+
# the provisions above, a recipient may use your version of this file under
|
41
|
+
# the terms of any one of the MPL, the GPL or the LGPL.
|
42
|
+
#
|
43
|
+
# ***** END LICENSE BLOCK *****
|
44
|
+
|
45
|
+
#
|
46
|
+
# Config for all versions of Mingw (copy and modified from Linux)
|
47
|
+
#
|
48
|
+
|
49
|
+
AR = i586-mingw32msvc-ar
|
50
|
+
CC = i586-mingw32msvc-gcc
|
51
|
+
LD = i586-mingw32msvc-ld
|
52
|
+
CCC = i586-mingw32msvc-g++
|
53
|
+
|
54
|
+
CFLAGS += -Wall -Wno-format
|
55
|
+
#OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DEXPORT_JS_API
|
56
|
+
OS_CFLAGS = -D_X86_=1 -DXP_WIN -DXP_WIN32 -DWIN32 -D_WINDOWS -D_WIN32 $(WIN_CFLAGS) -DEXPORT_JS_API
|
57
|
+
JSDLL_CFLAGS = -DEXPORT_JS_API # not work, dunno why?
|
58
|
+
SO_SUFFIX = dll
|
59
|
+
# libgcc.a:__divdi3 kernel32:DebugBreak,GetSystemTimeAsFileTime
|
60
|
+
# winmm:timeBeginPeriod,timeEndPeriod
|
61
|
+
WINLIBS = -lmsvcrt -lm -lkernel32 -lwinmm /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/libgcc.a
|
62
|
+
#LDFLAGS += $(WINLIBS) # dont work. rewrite by Makefile.ref
|
63
|
+
OTHER_LIBS += $(WINLIBS)
|
64
|
+
|
65
|
+
RANLIB = echo
|
66
|
+
MKSHLIB = $(LD) -shared $(XMKSHLIBOPTS)
|
67
|
+
|
68
|
+
# These don't work :(
|
69
|
+
LIBRARY = $(OBJDIR)/js32.lib
|
70
|
+
SHARED_LIBRARY = $(OBJDIR)/js32.dll
|
71
|
+
PROGRAM = $(OBJDIR)/js.exe
|
72
|
+
|
73
|
+
#.c.o:
|
74
|
+
# $(CC) -c -MD $*.d $(CFLAGS) $<
|
75
|
+
|
76
|
+
CPU_ARCH = $(shell uname -m)
|
77
|
+
# don't filter in x86-64 architecture
|
78
|
+
ifneq (x86_64,$(CPU_ARCH))
|
79
|
+
ifeq (86,$(findstring 86,$(CPU_ARCH)))
|
80
|
+
CPU_ARCH = x86
|
81
|
+
OS_CFLAGS+= -DX86_LINUX
|
82
|
+
|
83
|
+
ifeq (gcc, $(CC))
|
84
|
+
# if using gcc on x86, check version for opt bug
|
85
|
+
# (http://bugzilla.mozilla.org/show_bug.cgi?id=24892)
|
86
|
+
GCC_VERSION := $(shell gcc -v 2>&1 | grep version | awk '{ print $$3 }')
|
87
|
+
GCC_LIST:=$(sort 2.91.66 $(GCC_VERSION) )
|
88
|
+
|
89
|
+
ifeq (2.91.66, $(firstword $(GCC_LIST)))
|
90
|
+
CFLAGS+= -DGCC_OPT_BUG
|
91
|
+
endif
|
92
|
+
endif
|
93
|
+
endif
|
94
|
+
endif
|
95
|
+
|
96
|
+
GFX_ARCH = x
|
97
|
+
|
98
|
+
OS_LIBS = -lm -lc
|
99
|
+
|
100
|
+
ASFLAGS += -x assembler-with-cpp
|
101
|
+
|
102
|
+
|
103
|
+
ifeq ($(CPU_ARCH),alpha)
|
104
|
+
|
105
|
+
# Ask the C compiler on alpha linux to let us work with denormalized
|
106
|
+
# double values, which are required by the ECMA spec.
|
107
|
+
|
108
|
+
OS_CFLAGS += -mieee
|
109
|
+
endif
|
110
|
+
|
111
|
+
# Use the editline library to provide line-editing support.
|
112
|
+
#JS_EDITLINE = 1 // not support by Mingw
|
113
|
+
|
114
|
+
ifeq ($(CPU_ARCH),x86_64)
|
115
|
+
# Use VA_COPY() standard macro on x86-64
|
116
|
+
# FIXME: better use it everywhere
|
117
|
+
OS_CFLAGS += -DHAVE_VA_COPY
|
118
|
+
endif
|
119
|
+
|
120
|
+
ifeq ($(CPU_ARCH),x86_64)
|
121
|
+
# We need PIC code for shared libraries
|
122
|
+
# FIXME: better patch rules.mk & fdlibm/Makefile*
|
123
|
+
OS_CFLAGS += -DPIC -fPIC
|
124
|
+
endif
|