rubyjs 0.7.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. data/examples/client_server/README +18 -0
  2. data/examples/client_server/Rakefile +5 -0
  3. data/examples/client_server/client.js +749 -0
  4. data/examples/client_server/client.rb +12 -0
  5. data/examples/client_server/index.html +7 -0
  6. data/examples/client_server/server.rb +17 -0
  7. data/examples/hw/hw.js +234 -216
  8. data/rubyjs.gemspec +2 -2
  9. data/src/rubyjs.rb +0 -1
  10. data/src/rubyjs/compiler.rb +21 -8
  11. data/src/rubyjs/debug_name_generator.rb +23 -6
  12. data/src/rubyjs/model.rb +14 -8
  13. data/test/browser.test.html +1 -1
  14. data/test/browser.test.js +2337 -1992
  15. data/test/test_yield.rb +2 -0
  16. metadata +108 -158
  17. data/patches/parse_tree.rb.diff +0 -34
  18. data/vendor/ParseTree-1.7.1-patched/History.txt +0 -217
  19. data/vendor/ParseTree-1.7.1-patched/Manifest.txt +0 -22
  20. data/vendor/ParseTree-1.7.1-patched/README.txt +0 -110
  21. data/vendor/ParseTree-1.7.1-patched/Rakefile +0 -41
  22. data/vendor/ParseTree-1.7.1-patched/bin/parse_tree_abc +0 -89
  23. data/vendor/ParseTree-1.7.1-patched/bin/parse_tree_audit +0 -28
  24. data/vendor/ParseTree-1.7.1-patched/bin/parse_tree_deps +0 -62
  25. data/vendor/ParseTree-1.7.1-patched/bin/parse_tree_show +0 -49
  26. data/vendor/ParseTree-1.7.1-patched/demo/printer.rb +0 -20
  27. data/vendor/ParseTree-1.7.1-patched/lib/composite_sexp_processor.rb +0 -49
  28. data/vendor/ParseTree-1.7.1-patched/lib/parse_tree.rb +0 -1013
  29. data/vendor/ParseTree-1.7.1-patched/lib/sexp.rb +0 -235
  30. data/vendor/ParseTree-1.7.1-patched/lib/sexp_processor.rb +0 -330
  31. data/vendor/ParseTree-1.7.1-patched/lib/unique.rb +0 -15
  32. data/vendor/ParseTree-1.7.1-patched/test/pt_testcase.rb +0 -1221
  33. data/vendor/ParseTree-1.7.1-patched/test/something.rb +0 -53
  34. data/vendor/ParseTree-1.7.1-patched/test/test_all.rb +0 -13
  35. data/vendor/ParseTree-1.7.1-patched/test/test_composite_sexp_processor.rb +0 -69
  36. data/vendor/ParseTree-1.7.1-patched/test/test_parse_tree.rb +0 -216
  37. data/vendor/ParseTree-1.7.1-patched/test/test_sexp.rb +0 -291
  38. data/vendor/ParseTree-1.7.1-patched/test/test_sexp_processor.rb +0 -244
  39. data/vendor/ParseTree-1.7.1-patched/validate.sh +0 -31
  40. data/vendor/ParseTree-1.7.1/History.txt +0 -217
  41. data/vendor/ParseTree-1.7.1/Manifest.txt +0 -22
  42. data/vendor/ParseTree-1.7.1/README.txt +0 -110
  43. data/vendor/ParseTree-1.7.1/Rakefile +0 -41
  44. data/vendor/ParseTree-1.7.1/bin/parse_tree_abc +0 -89
  45. data/vendor/ParseTree-1.7.1/bin/parse_tree_audit +0 -28
  46. data/vendor/ParseTree-1.7.1/bin/parse_tree_deps +0 -62
  47. data/vendor/ParseTree-1.7.1/bin/parse_tree_show +0 -49
  48. data/vendor/ParseTree-1.7.1/demo/printer.rb +0 -20
  49. data/vendor/ParseTree-1.7.1/lib/composite_sexp_processor.rb +0 -49
  50. data/vendor/ParseTree-1.7.1/lib/parse_tree.rb +0 -1004
  51. data/vendor/ParseTree-1.7.1/lib/sexp.rb +0 -235
  52. data/vendor/ParseTree-1.7.1/lib/sexp_processor.rb +0 -330
  53. data/vendor/ParseTree-1.7.1/lib/unique.rb +0 -15
  54. data/vendor/ParseTree-1.7.1/test/pt_testcase.rb +0 -1221
  55. data/vendor/ParseTree-1.7.1/test/something.rb +0 -53
  56. data/vendor/ParseTree-1.7.1/test/test_all.rb +0 -13
  57. data/vendor/ParseTree-1.7.1/test/test_composite_sexp_processor.rb +0 -69
  58. data/vendor/ParseTree-1.7.1/test/test_parse_tree.rb +0 -216
  59. data/vendor/ParseTree-1.7.1/test/test_sexp.rb +0 -291
  60. data/vendor/ParseTree-1.7.1/test/test_sexp_processor.rb +0 -244
  61. data/vendor/ParseTree-1.7.1/validate.sh +0 -31
data/test/test_yield.rb CHANGED
@@ -137,6 +137,8 @@ class TestYield
137
137
  test_loop2
138
138
  test_while_loop
139
139
 
140
+ (proc {||}).call
141
+
140
142
  begin
141
143
  test_proc
142
144
  rescue LocalJumpError => e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Neumann
@@ -9,17 +9,17 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-04-10 00:00:00 +02:00
12
+ date: 2008-04-20 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: RubyInline
16
+ name: ParseTree
17
17
  version_requirement:
18
18
  version_requirements: !ruby/object:Gem::Requirement
19
19
  requirements:
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.6.0
22
+ version: 2.1.1
23
23
  version:
24
24
  description:
25
25
  email: mneumann@ntecs.de
@@ -30,178 +30,128 @@ extensions: []
30
30
  extra_rdoc_files: []
31
31
 
32
32
  files:
33
- - Rakefile
34
- - examples
35
- - examples/hw
36
- - examples/hw/hw.js
37
- - examples/hw/index.html
38
- - examples/hw/hw.rb
39
- - examples/hw/Rakefile
40
- - examples/ex1
41
- - examples/ex1/ex1.rb
42
- - examples/ex1/Rakefile
43
- - examples/ex1/ex1.js
44
- - examples/ex1/index.html
33
+ - test
34
+ - test/test_class.rb
35
+ - test/common.Browser.rb
36
+ - test/test_massign.rb
37
+ - test/common.rb
38
+ - test/test_splat.rb
39
+ - test/test_hash.rb
40
+ - test/test_exception.rb
41
+ - test/browser.test.js
42
+ - test/test_case.rb
43
+ - test/test_yield.rb
44
+ - test/test_insertion_sort.rb
45
+ - test/test_string.rb
46
+ - test/test_inspect.rb
47
+ - test/test_expr.rb
48
+ - test/test_simple_output.rb
49
+ - test/gen_test_suite.rb
50
+ - test/browser.test.html
51
+ - test/benchmark
52
+ - test/benchmark/bm_vm1_block.js
53
+ - test/benchmark/bm_vm1_ensure.rb
54
+ - test/benchmark/common.js
55
+ - test/benchmark/bm_call_conv2.js
56
+ - test/benchmark/params.yaml
57
+ - test/benchmark/bm_call_conv1.js
58
+ - test/benchmark/bm_vm1_const.rb
59
+ - test/benchmark/bm_vm1_const.js
60
+ - test/benchmark/common.rb
61
+ - test/benchmark/bm_vm1_ensure.js
62
+ - test/benchmark/bm_var_acc2.js
63
+ - test/benchmark/bm_var_acc1.js
64
+ - test/benchmark/bm_vm1_block.rb
65
+ - test/test_hot_ruby.rb
66
+ - test/test_range.rb
67
+ - test/test_send.rb
68
+ - test/run_benchs.rb
69
+ - test/test_regexp.rb
70
+ - test/test_args.rb
71
+ - test/test_new.rb
72
+ - test/run_tests.rb
73
+ - test/test_array.rb
74
+ - test/test_if.rb
75
+ - test/test_lebewesen.rb
76
+ - test/gen_browser_test_suite.rb
77
+ - test/test_eql.rb
78
+ - bin
79
+ - bin/rubyjs
45
80
  - src
81
+ - src/rubyjs
82
+ - src/rubyjs/code_generator.rb
83
+ - src/rubyjs/lib
84
+ - src/rubyjs/lib/json.rb
85
+ - src/rubyjs/lib/core.rb
86
+ - src/rubyjs/encoder.rb
87
+ - src/rubyjs/compiler.rb
88
+ - src/rubyjs/model.rb
89
+ - src/rubyjs/debug_name_generator.rb
90
+ - src/rubyjs/eval_into.rb
91
+ - src/rubyjs/name_generator.rb
46
92
  - src/rubyjs.rb
47
93
  - src/rwt
48
94
  - src/rwt/DOM.Opera.rb
49
95
  - src/rwt/Label.rb
50
- - src/rwt/Widget.rb
51
96
  - src/rwt/HTTPRequest.IE6.rb
52
- - src/rwt/DOM.Konqueror.rb
53
- - src/rwt/UIObject.rb
54
- - src/rwt/AbsolutePanel.rb
55
- - src/rwt/Panel.rb
56
- - src/rwt/DOM.rb
97
+ - src/rwt/Widget.rb
57
98
  - src/rwt/ported-from
58
- - src/rwt/ported-from/DOMImplStandard.java
59
- - src/rwt/ported-from/Label.java
60
- - src/rwt/ported-from/UIObject.java
99
+ - src/rwt/ported-from/AbsolutePanel.java
100
+ - src/rwt/ported-from/HTTPRequestImpl.java
101
+ - src/rwt/ported-from/DOM.java
102
+ - src/rwt/ported-from/Widget.java
61
103
  - src/rwt/ported-from/DOMImpl.java
104
+ - src/rwt/ported-from/DOMImplStandard.java
62
105
  - src/rwt/ported-from/HTTPRequest.java
63
106
  - src/rwt/ported-from/Panel.java
64
- - src/rwt/ported-from/Widget.java
65
- - src/rwt/ported-from/AbsolutePanel.java
66
- - src/rwt/ported-from/HTTPRequestImpl.java
67
107
  - src/rwt/ported-from/DOMImplOpera.java
68
- - src/rwt/ported-from/DOM.java
108
+ - src/rwt/ported-from/UIObject.java
109
+ - src/rwt/ported-from/Label.java
110
+ - src/rwt/Panel.rb
111
+ - src/rwt/DOM.Konqueror.rb
112
+ - src/rwt/AbsolutePanel.rb
113
+ - src/rwt/UIObject.rb
69
114
  - src/rwt/Event.rb
70
- - src/rwt/HTTPRequest.rb
71
115
  - src/rwt/Event.Opera.rb
116
+ - src/rwt/DOM.rb
72
117
  - src/rwt/RootPanel.rb
73
- - src/rubyjs
74
- - src/rubyjs/encoder.rb
75
- - src/rubyjs/model.rb
76
- - src/rubyjs/code_generator.rb
77
- - src/rubyjs/debug_name_generator.rb
78
- - src/rubyjs/eval_into.rb
79
- - src/rubyjs/lib
80
- - src/rubyjs/lib/json.rb
81
- - src/rubyjs/lib/core.rb
82
- - src/rubyjs/compiler.rb
83
- - src/rubyjs/name_generator.rb
118
+ - src/rwt/HTTPRequest.rb
119
+ - examples
120
+ - examples/hw
121
+ - examples/hw/hw.js
122
+ - examples/hw/index.html
123
+ - examples/hw/Rakefile
124
+ - examples/hw/hw.rb
125
+ - examples/ex1
126
+ - examples/ex1/ex1.rb
127
+ - examples/ex1/Rakefile
128
+ - examples/ex1/index.html
129
+ - examples/ex1/ex1.js
130
+ - examples/client_server
131
+ - examples/client_server/README
132
+ - examples/client_server/Rakefile
133
+ - examples/client_server/client.rb
134
+ - examples/client_server/server.rb
135
+ - examples/client_server/client.js
136
+ - examples/client_server/index.html
137
+ - Rakefile
84
138
  - utils
85
- - utils/jsc
86
- - utils/jsc/README
87
- - utils/jsc/run.sh
88
- - utils/jsc/RunScript.c
89
- - utils/jsc/Makefile
139
+ - utils/yuicompressor
140
+ - utils/yuicompressor/README
141
+ - utils/yuicompressor/yuicompressor-2.2.5.jar
90
142
  - utils/js
91
- - utils/js/js.jar
92
- - utils/js/RunScript.class
143
+ - utils/js/run.sh
93
144
  - utils/js/Makefile
145
+ - utils/js/RunScript.class
94
146
  - utils/js/RunScript.java
95
- - utils/js/run.sh
96
- - utils/yuicompressor
97
- - utils/yuicompressor/yuicompressor-2.2.5.jar
98
- - utils/yuicompressor/README
99
- - bin
100
- - bin/rubyjs
101
- - rubyjs.gemspec
102
- - patches
103
- - patches/parse_tree.rb.diff
104
- - vendor
105
- - vendor/ParseTree-1.7.1-patched
106
- - vendor/ParseTree-1.7.1-patched/Rakefile
107
- - vendor/ParseTree-1.7.1-patched/demo
108
- - vendor/ParseTree-1.7.1-patched/demo/printer.rb
109
- - vendor/ParseTree-1.7.1-patched/README.txt
110
- - vendor/ParseTree-1.7.1-patched/test
111
- - vendor/ParseTree-1.7.1-patched/test/pt_testcase.rb
112
- - vendor/ParseTree-1.7.1-patched/test/test_sexp_processor.rb
113
- - vendor/ParseTree-1.7.1-patched/test/test_all.rb
114
- - vendor/ParseTree-1.7.1-patched/test/test_parse_tree.rb
115
- - vendor/ParseTree-1.7.1-patched/test/test_sexp.rb
116
- - vendor/ParseTree-1.7.1-patched/test/something.rb
117
- - vendor/ParseTree-1.7.1-patched/test/test_composite_sexp_processor.rb
118
- - vendor/ParseTree-1.7.1-patched/validate.sh
119
- - vendor/ParseTree-1.7.1-patched/lib
120
- - vendor/ParseTree-1.7.1-patched/lib/composite_sexp_processor.rb
121
- - vendor/ParseTree-1.7.1-patched/lib/parse_tree.rb
122
- - vendor/ParseTree-1.7.1-patched/lib/sexp_processor.rb
123
- - vendor/ParseTree-1.7.1-patched/lib/unique.rb
124
- - vendor/ParseTree-1.7.1-patched/lib/sexp.rb
125
- - vendor/ParseTree-1.7.1-patched/bin
126
- - vendor/ParseTree-1.7.1-patched/bin/parse_tree_abc
127
- - vendor/ParseTree-1.7.1-patched/bin/parse_tree_show
128
- - vendor/ParseTree-1.7.1-patched/bin/parse_tree_deps
129
- - vendor/ParseTree-1.7.1-patched/bin/parse_tree_audit
130
- - vendor/ParseTree-1.7.1-patched/History.txt
131
- - vendor/ParseTree-1.7.1-patched/Manifest.txt
132
- - vendor/ParseTree-1.7.1
133
- - vendor/ParseTree-1.7.1/demo
134
- - vendor/ParseTree-1.7.1/demo/printer.rb
135
- - vendor/ParseTree-1.7.1/lib
136
- - vendor/ParseTree-1.7.1/lib/parse_tree.rb
137
- - vendor/ParseTree-1.7.1/lib/sexp.rb
138
- - vendor/ParseTree-1.7.1/lib/sexp_processor.rb
139
- - vendor/ParseTree-1.7.1/lib/unique.rb
140
- - vendor/ParseTree-1.7.1/lib/composite_sexp_processor.rb
141
- - vendor/ParseTree-1.7.1/README.txt
142
- - vendor/ParseTree-1.7.1/Rakefile
143
- - vendor/ParseTree-1.7.1/bin
144
- - vendor/ParseTree-1.7.1/bin/parse_tree_deps
145
- - vendor/ParseTree-1.7.1/bin/parse_tree_audit
146
- - vendor/ParseTree-1.7.1/bin/parse_tree_show
147
- - vendor/ParseTree-1.7.1/bin/parse_tree_abc
148
- - vendor/ParseTree-1.7.1/History.txt
149
- - vendor/ParseTree-1.7.1/test
150
- - vendor/ParseTree-1.7.1/test/test_sexp_processor.rb
151
- - vendor/ParseTree-1.7.1/test/test_all.rb
152
- - vendor/ParseTree-1.7.1/test/pt_testcase.rb
153
- - vendor/ParseTree-1.7.1/test/test_parse_tree.rb
154
- - vendor/ParseTree-1.7.1/test/something.rb
155
- - vendor/ParseTree-1.7.1/test/test_sexp.rb
156
- - vendor/ParseTree-1.7.1/test/test_composite_sexp_processor.rb
157
- - vendor/ParseTree-1.7.1/Manifest.txt
158
- - vendor/ParseTree-1.7.1/validate.sh
147
+ - utils/js/js.jar
148
+ - utils/jsc
149
+ - utils/jsc/Makefile
150
+ - utils/jsc/run.sh
151
+ - utils/jsc/README
152
+ - utils/jsc/RunScript.c
159
153
  - README
160
- - test
161
- - test/test_lebewesen.rb
162
- - test/test_hot_ruby.rb
163
- - test/test_yield.rb
164
- - test/benchmark
165
- - test/benchmark/bm_vm1_const.js
166
- - test/benchmark/common.rb
167
- - test/benchmark/bm_vm1_ensure.js
168
- - test/benchmark/bm_vm1_block.rb
169
- - test/benchmark/params.yaml
170
- - test/benchmark/bm_vm1_block.js
171
- - test/benchmark/bm_vm1_ensure.rb
172
- - test/benchmark/bm_var_acc1.js
173
- - test/benchmark/bm_call_conv2.js
174
- - test/benchmark/common.js
175
- - test/benchmark/bm_var_acc2.js
176
- - test/benchmark/bm_vm1_const.rb
177
- - test/benchmark/bm_call_conv1.js
178
- - test/test_simple_output.rb
179
- - test/test_massign.rb
180
- - test/test_regexp.rb
181
- - test/run_tests.rb
182
- - test/test_args.rb
183
- - test/test_class.rb
184
- - test/test_send.rb
185
- - test/browser.test.js
186
- - test/test_splat.rb
187
- - test/test_inspect.rb
188
- - test/test_array.rb
189
- - test/browser.test.html
190
- - test/test_expr.rb
191
- - test/gen_test_suite.rb
192
- - test/common.rb
193
- - test/test_exception.rb
194
- - test/test_case.rb
195
- - test/gen_browser_test_suite.rb
196
- - test/test_eql.rb
197
- - test/test_if.rb
198
- - test/test_string.rb
199
- - test/run_benchs.rb
200
- - test/test_hash.rb
201
- - test/test_insertion_sort.rb
202
- - test/test_range.rb
203
- - test/common.Browser.rb
204
- - test/test_new.rb
154
+ - rubyjs.gemspec
205
155
  has_rdoc: false
206
156
  homepage: http://rubyforge.org/projects/rubyjs
207
157
  post_install_message:
@@ -224,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
174
  requirements: []
225
175
 
226
176
  rubyforge_project: rubyjs
227
- rubygems_version: 1.1.0
177
+ rubygems_version: 1.1.1
228
178
  signing_key:
229
179
  specification_version: 2
230
180
  summary: RubyJS is a Ruby to Javascript Compiler.
@@ -1,34 +0,0 @@
1
- --- /usr/local/lib/ruby/gems/1.8/gems/ParseTree-1.7.1/lib/parse_tree.rb.old Fri Jun 29 22:19:28 2007
2
- +++ /usr/local/lib/ruby/gems/1.8/gems/ParseTree-1.7.1/lib/parse_tree.rb Fri Jun 29 22:32:40 2007
3
- @@ -454,21 +454,30 @@
4
- break;
5
-
6
- case NODE_ITER:
7
- case NODE_FOR:
8
- add_to_parse_tree(current, node->nd_iter, newlines, locals);
9
- if (node->nd_var != (NODE *)1
10
- && node->nd_var != (NODE *)2
11
- && node->nd_var != NULL) {
12
- add_to_parse_tree(current, node->nd_var, newlines, locals);
13
- } else {
14
- - rb_ary_push(current, Qnil);
15
- + if (node->nd_var == NULL)
16
- + {
17
- + // e.g. proc {}
18
- + rb_ary_push(current, Qnil);
19
- + }
20
- + else
21
- + {
22
- + // e.g. proc {||}
23
- + rb_ary_push(current, ID2SYM(rb_intern("zero_arguments")));
24
- + }
25
- }
26
- add_to_parse_tree(current, node->nd_body, newlines, locals);
27
- break;
28
-
29
- case NODE_BREAK:
30
- case NODE_NEXT:
31
- case NODE_YIELD:
32
- if (node->nd_stts)
33
- add_to_parse_tree(current, node->nd_stts, newlines, locals);
34
- break;
@@ -1,217 +0,0 @@
1
- === 1.7.1 / 2007-06-05
2
-
3
- * 3 minor enhancements:
4
- * Added begin/rescue/ensure test.
5
- * Added block_pass_args_and_splat.
6
- * Allow methods to be pulled from unparsed files.
7
- * 1 bug fix:
8
- * Compatibility fixed across 1.8.
9
-
10
- === 1.7.0 / 2007-02-13
11
-
12
- * 2 major enhancements:
13
- * rewrite extracted and intended to be run before (or in front of) process.
14
- * rewrite is now recursive as well, so children rewritings should be
15
- done independently of their parents. This should make complex
16
- rewriting layers much cleaner and allow me to eventually collect
17
- and publish a single "standard" rewriting layer.
18
- * 1 minor enhancement:
19
- * Iters are now {} if short and one line. YAY!
20
- * 1 bug fix:
21
- * Added test cases brought out by ruby2ruby/heckle.
22
-
23
- === 1.6.4 / 2007-01-15
24
-
25
- * 1 minor enhancement:
26
- * Switched short if/unless to 1 line expressions.
27
- * 2 bug fixes:
28
- * Fixed the nested case/when bug. YAY!
29
- * Added dasgn_curr and defn_rescue test cases.
30
-
31
- === 1.6.3 / 2006-12-20
32
-
33
- * 1 bug fix:
34
- * ParseTree::translate was trying to translate inherited class methods.
35
-
36
- === 1.6.2 / 2006-12-19
37
-
38
- * 2 minor enhancements:
39
- * ParseTree::translate can now take :"self.method".
40
- * Improved PT tests for [], []=
41
- * 1 bug fixes:
42
- * Fixed a bug in ParseTree where cases w/o exprs were malformed.
43
-
44
- === 1.6.1 / 2006-11-11
45
-
46
- * 2 minor enhancements:
47
- * Have been going insane on the tests, expect more soon.
48
- * Cleaned up using named nodes, now do: args = exp.scope.block.args(:delete).
49
- * 2 bug fixes:
50
- * Fixed #parse_tree to return superclass in :const node.
51
- * Fixed while/until with no bodies (now nil).
52
-
53
- === 1.6.0 / 2006-10-11
54
-
55
- * 2 major enhancements:
56
- * PTTC just got a major enema. 2k lines o' diff.
57
- * All in all, removed 829 lines of code and made it a lot more solid.
58
- * 6 minor enhancements:
59
- * Added sort rake task.
60
- * Added a basic front-end method to ParseTree: translate, takes
61
- string or Class and optional method name.
62
- * Class now has nil for unspecified superclass. No way to tell if it
63
- is being reopened.
64
- * SexpProcessor's unsupported array now defaults to all the internal nodes.
65
- * Added Unique from ruby2c project.
66
- * something.rb got slimmed down to near nothing. About to be retired.
67
- * 3 bug fixes:
68
- * Added changeset to Hoe spec.
69
- * Fixed up description to use paragraphs_of.
70
- * Fixed op_asgn1, alias, undef, dsym, match.
71
-
72
- === 1.5.0 / 2006-09-24
73
-
74
- * 5 minor enhancements:
75
- * Added parse_tree_audit.
76
- * Added reporting of unsupported nodes that have processors.
77
- * YAY! class method support! generated as :"self.blah"
78
- * Add parse_tree_for_string.
79
- * Converted Rakefile+gemspec to Hoe-based Rakefile.
80
- * 6 bug fixes:
81
- * Did some preliminary work on 1.9 compatibility.
82
- * Fixed tests for some changes/clarifications.
83
- * Fixed resbody: should have nil exceptions list when no exception rescued.
84
- * Fixed op_asgn1 and op_asgn2.
85
- * Fixed incompatibility with new inline changes.
86
- * Fixed VALUE decl in parse_tree.rb
87
-
88
- === 1.4.1 / 2006-04-10
89
-
90
- * 4 minor enhancements:
91
- * parse_tree_show -f output is much cleaner now.
92
- * ParseTree does a much more elegant job of handling different versions.
93
- * ParseTree now has all node names in ParseTree::NODE_NAMES.
94
- * ParseTree now raises exceptions instead of freakin'.
95
- * 3 bug fixes:
96
- * Used multiruby to test against 1.8.2-4, 1.8 cvs, and 1.9 cvs.
97
- * Fixed incompatibilites introduced in ruby 1.8.4.
98
- * Fixed some incompatibilites introduced in ruby 1.9.x.
99
-
100
- === 1.4.0 / 2005-10-15
101
-
102
- * 5 minor enhancements
103
- * Improved Makefile's install rule, uninstall, and added FILTER to all.
104
- * Fixed minor issues w/ Makefile.
105
- * Added -I=loadpath to parse_tree_abc.
106
- * Added *args support for methods.
107
- * Split out sexp to its own file.
108
- * 2 bug fixes
109
- * Fixed weird bug in parse_tree_deps where sort was failing on deps.
110
- * ! Fixed fatal bug in parse_tree.rb caused by safe_level fix in ruby 1.8.3.
111
-
112
- === 1.3.8 / 2005-09-27
113
-
114
- * 1 bug fix:
115
- * Our private version of struct METHOD went out of sync w/ latest ruby.
116
- * Only use this if you are on 1.8.3+.
117
-
118
- === 1.3.7 / 2005-07-13
119
-
120
- * 3 bug fixes:
121
- * Fixed rubygem requires for non-gem systems.
122
- * Renamed on to on_error_in to make more clear.
123
- * Moved exceptions to their own tree to make catching cleaner.
124
-
125
- === 1.3.6 / 2005-05-19
126
-
127
- * 2 minor enhancements:
128
- * Improved debugging capability when $DEBUG.
129
- * Allowed for selective debugging output by node type.
130
- * 3 bug fixes:
131
- * Minor fixes to Makefile and parse_tree_show.
132
- * Improved error messages in parse_tree when newlines are included.
133
- * Improved method coverage for parse_tree.
134
-
135
- === 1.3.5 / 2005-04-19
136
-
137
- * 2 minor enhancement
138
- * Added dynamic exception handling on a per node-type basis (BIG).
139
- * Added -c=classname to parse_tree_show to help w/ core classes.
140
- * 1 bug fix
141
- * Fixed dependency specification error in gemspec.
142
-
143
- === 1.3.4 / 2005-02-09
144
-
145
- * 2 bug fixes
146
- * bug:1459: Cleaned up and corrected superclass naming code.
147
- * bug:1458: Fixed while to support post-conditional while/until nodes.
148
-
149
- === 1.3.3 / 2005-02-01
150
-
151
- * 3 minor enhancement
152
- * Cleaned up parse_tree_abc output
153
- * Patched up null class names (delegate classes are weird!)
154
- * Added UnknownNodeError and switched SyntaxError over to it.
155
- * 2 bug fixes
156
- * Fixed BEGIN node handling to recurse instead of going flat.
157
- * FINALLY fixed the weird compiler errors seen on some versions of
158
- gcc 3.4.x related to type punned pointers.
159
-
160
- === 1.3.2 / 2005-01-04
161
-
162
- * 1 minor enhancement
163
- * Added total line to end of ABC metric report.
164
- * 1 bug fix
165
- * Updates for ruby 1.8.2 parse tree changes.
166
-
167
- === 1.3.1 / 2004-12-09
168
-
169
- * 1 minor enhancement
170
- * Added rewrite_<type> processing.
171
- * 2 bug fixes
172
- * Renamed SexpProcessor's #exclude to #unsupported.
173
- * Fixed a bus error when an attrasgn uses self.
174
- * Added support for cfunc now that we found a repro.
175
-
176
- === 1.3.0 / 2004-12-06
177
-
178
- * 3 minor enhancements
179
- * Finished supporting pretty much all nodes (that we can figger out).
180
- * If $DEBUG, or true passed to new, then we now output the :newline nodes.
181
- * We output much better extra debugging info if $DEBUG.
182
- * 1 bug fixes
183
- * Fixed README for new output style.
184
-
185
- === 1.2.0 / 2004-11-29
186
-
187
- * 9 minor enhancements
188
- * ParseTree now returns symbols for all data except in :str and :lit.
189
- * This WILL break existing code! (as if any exists)
190
- * ParseTree.parse_tree now takes a list of classes, no optional method.
191
- * ParseTree.parse_tree_for_method(klass, method) added.
192
- * ParseTree.parse_tree now returns a list of :class/:module nodes.
193
- * Added -f to parse_tree_show for uber fast demos.
194
- * Added -q to parse_tree_show to NOT use pp so it is mucho faster.
195
- * running with $DEBUG will trace the methods and nodes as processed.
196
- * Added rdoc to everything.
197
- * Gemified
198
- * 4 bug fixes
199
- * Bus error in iter/for nodes where arg list is empty now fixed.
200
- * Bus error when handling 'def method(*)' is now fixed.
201
- * Unnamed classes and superclasses (ugh) are now handled.
202
- * parse_tree_abc now enumerates actual types rather than every token.
203
-
204
- === 1.1.0 / 2004-11-12
205
-
206
- * 2 minor enhancement
207
- * Added SexpProcessor and CompositeSexpProcessor
208
- * Allowed show.rb to read from standard input.
209
- * 3 bug fixes
210
- * Fixed makefile issues for BSD's make - so dumb.
211
- * Added super as a call in abc.rb's metrics
212
- * Commented out a compiler flag to work with GCC 2.95.
213
-
214
- === 1.0.0 / 2004-11-06
215
-
216
- * 1 major enhancement
217
- * Birthday!