Permalink
Browse files

prepping for release. need to do a pass on RAD first

[git-p4: depot-paths = "//src/ruby_to_c/dev/": change = 5021]
  • Loading branch information...
zenspider committed Jun 10, 2009
1 parent fa8000f commit 72cfa5ae8cff68bbc6052ac1736e8246358dc8b6
Showing with 71 additions and 24 deletions.
  1. +1 −1 .autotest
  2. +64 −0 History.txt
  3. +0 −3 Manifest.txt
  4. +2 −3 README.txt
  5. +4 −17 Rakefile
View
@@ -3,7 +3,7 @@
require 'autotest/restart'
Autotest.add_hook :initialize do |at|
- l = %w(ParseTree RubyInline sexp_processor minitest)
+ l = %w(ruby_parser RubyInline sexp_processor minitest)
t = %w(ParseTree sexp_processor)
at.libs << ':' << l.map { |d| "../../#{d}/dev/lib" }.join(":")
View
@@ -1,3 +1,67 @@
+=== 1.0.0.beta.6 / ????-??-??
+
+1 major enhancement:
+
+ * Switched from ParseTree to ruby_parser for 1.9 compatibility. woo.
+ * All translate/process methods are gone since we can't reflect at runtime.
+
+42 minor enhancements:
+
+ * Added IterRewriter for finding free variables in iter nodes.
+ * Added dxstr.
+ * Added lots of new and missing tests
+ * Added not, array, lit_long_negative, lit_range[23], lit_regexp{_n,_once}, lit_sym{,_splat}
+ * Added pct_w tests
+ * Added process_defx to ruby_to_ansi_c.rb
+ * Added test data for array_pct_W, array_pct_W_dstr, attrasgn_index_equals, attrasgn_index_equals_space, and attrset.
+ * Added tests for "and". PONG to eric
+ * Added to_ary and masgn for TypeChecker.
+ * Added xstr support.
+ * Added yield(*ary)
+ * Cleaned up rewriter.rb and made changes for pt_testcase.rb
+ * Cleaned up some free_vars processing code.
+ * Converted everything to new enhanced PTTC test scheme.
+ * Enhanced with_scope to allow for static arrays.
+ * Extended Environment to separately store both types and values.
+ * Extern methods to support rb_iterate, including #each and #each_with_index.
+ * Free var static declarations for C layers.
+ * Merged IterRewriter into CRewriter and make typed.
+ * Migrated as much out of rewriter as possible.
+ * Modernized via hoe.
+ * Moved to full PTTC + UnifiedRuby.
+ * Pulled dstr up from ZenObfuscator.
+ * Pulled up tests, process_args, with_scope, and process_scope from obfuscator
+ * Pushed unique.rb up to PT
+ * Removed Environment methods that pushed up to ruby_parser.
+ * Removed Sexp#sexp_type
+ * Removed accessor, accessor_equals since they don't exist in PTTC.
+ * Removed bin/*
+ * Removed dead test
+ * Removed redundant defn_lvar_boundary, but added call to lvar_def_boundary.
+ * Renamed blocks to extra_methods in ruby_to_ruby_c.
+ * Renamed iter_functions to extra_methods in crewriter.
+ * Reordered so RubyToRubyC was always after RubyToAnsiC.
+ * Some optimizations cleaning up Type#method_missing. Drops test time ~30%.
+ * Split rewriter.rb to crewriter.rb (and renamed class to CRewriter).
+ * Split up and deleted support.rb (and tests).
+ * Switched from makefile to rakefile.
+ * Switched to minitest
+ * Test or node.
+ * Track and trigger changes on pt_testcase.rb and r2ctestcase.rb
+ * Used Hoe#add_include_dirs to clean up rakefile.
+
+* 9 bug fixes:
+
+ * Fix types in iter rewriting.
+ * Fix yield([42, 24])
+ * Fixed all rubygems loaders.
+ * Fixed dependencies on all tests.
+ * Fixed for new (incompatible?) Environment supplied by SexpProcessor
+ * Fixed incompatibility with new inline changes.
+ * Fixed ruby2c to work with autotest.
+ * Fixed tests in r2ctestcase for all layers except the C layers.
+ * Fixed zentest dependency in rakefile
+
=== 1.0.0-beta-5 / 2006-05-12
* 6 minor enhancements:
View
@@ -3,9 +3,6 @@ History.txt
Manifest.txt
README.txt
Rakefile
-bin/ruby_to_c_show
-bin/ruby_to_c_translate
-bin/ruby_to_c_validate
demo/char.rb
demo/factorial.rb
demo/hello.rb
View
@@ -44,12 +44,11 @@ and the following tools:
== REQUIREMENTS:
-* ParseTree - http://rubyforge.org/projects/parsetree/
-* RubyInline - http://rubyforge.org/projects/rubyinline/
+* ruby_parser - http://rubyforge.org/projects/parsetree/
== INSTALL:
-* Um. Please don't install this crap yet...
+* sudo gem install RubyToC
== LICENSE:
View
@@ -3,32 +3,19 @@
require 'rubygems'
require 'hoe'
-Hoe.add_include_dirs("../../ParseTree/dev/lib",
- "../../ParseTree/dev/test",
- "../../RubyInline/dev/lib",
+Hoe.add_include_dirs("../../ParseTree/dev/test",
"../../ruby_parser/dev/lib",
- "../../ZenTest/dev/lib",
"../../sexp_processor/dev/lib",
"../../sexp_processor/dev/test",
"lib")
-require 'ruby_to_ansi_c'
+Hoe.plugin :minitest
Hoe.spec "RubyToC" do
developer 'Ryan Davis', 'ryand-ruby@zenspider.com'
developer 'Eric Hodel', 'drbrain@segment7.net'
- demo_files = Dir["demo/*.rb"].map { |f| File.basename(f, ".rb") }
-
- clean_globs << File.expand_path("~/.ruby_inline")
- clean_globs.push(*demo_files)
- clean_globs.push(*demo_files.map { |f| f + ".c" })
-
- extra_deps << "ruby_parser"
-
- self.testlib = :minitest
+ extra_deps << "ruby_parser"
end
-task :test => :clean
-
-# vim: syntax=Ruby
+# vim: syntax=ruby

0 comments on commit 72cfa5a

Please sign in to comment.