Permalink
Browse files

RbConfig and 1.9 stdlib cleanup.

* Add autoloaded warning for "Config" constant
* Clean up references to "Config" in files potentially touched in 1.9 mode
* Update missing/divergent stdlib files
* Remove all 'syck' code from 1.9 stdlib
* Add warning to 'ripper' lib
* Copy over missing matrix/ files
  • Loading branch information...
1 parent ac05224 commit 19e94161e0e09e2b354e1f6bc3bed2909b6f89df @headius headius committed Feb 27, 2012
Showing with 1,342 additions and 10,485 deletions.
  1. +1 −1 bench/bench_parser.rb
  2. +2 −2 bench/yarv/report.rb
  3. +2 −2 bench/yarv/runc.rb
  4. +0 −1 lib/ruby/1.9/cgi/.document
  5. +886 −0 lib/ruby/1.9/matrix/eigenvalue_decomposition.rb
  6. +218 −0 lib/ruby/1.9/matrix/lup_decomposition.rb
  7. +6 −0 lib/ruby/1.9/minitest/autorun.rb
  8. +23 −24 lib/ruby/1.9/minitest/benchmark.rb
  9. +9 −4 lib/ruby/1.9/minitest/mock.rb
  10. +13 −26 lib/ruby/1.9/minitest/pride.rb
  11. +28 −40 lib/ruby/1.9/minitest/spec.rb
  12. +46 −146 lib/ruby/1.9/minitest/unit.rb
  13. +1 −1 lib/ruby/1.9/ostruct.rb
  14. +2 −1 lib/ruby/1.9/rbconfig/obsolete.rb
  15. +0 −232 lib/ruby/1.9/rdoc/README
  16. +0 −340 lib/ruby/1.9/rdoc/diagram.rb
  17. +0 −249 lib/ruby/1.9/rdoc/dot.rb
  18. +0 −113 lib/ruby/1.9/rdoc/generator/chm.rb
  19. +0 −100 lib/ruby/1.9/rdoc/generator/chm/chm.rb
  20. +0 −445 lib/ruby/1.9/rdoc/generator/html.rb
  21. +0 −24 lib/ruby/1.9/rdoc/generator/html/common.rb
  22. +0 −92 lib/ruby/1.9/rdoc/generator/html/frameless.rb
  23. +0 −150 lib/ruby/1.9/rdoc/generator/html/hefss.rb
  24. +0 −769 lib/ruby/1.9/rdoc/generator/html/html.rb
  25. +0 −151 lib/ruby/1.9/rdoc/generator/html/kilmer.rb
  26. +0 −427 lib/ruby/1.9/rdoc/generator/html/kilmerfactory.rb
  27. +0 −122 lib/ruby/1.9/rdoc/generator/html/one_page_html.rb
  28. +0 −81 lib/ruby/1.9/rdoc/generator/texinfo.rb
  29. +0 −44 lib/ruby/1.9/rdoc/generator/texinfo/class.texinfo.erb
  30. +0 −6 lib/ruby/1.9/rdoc/generator/texinfo/file.texinfo.erb
  31. +0 −6 lib/ruby/1.9/rdoc/generator/texinfo/method.texinfo.erb
  32. +0 −28 lib/ruby/1.9/rdoc/generator/texinfo/texinfo.erb
  33. +0 −117 lib/ruby/1.9/rdoc/generator/xml.rb
  34. +0 −113 lib/ruby/1.9/rdoc/generator/xml/rdf.rb
  35. +0 −123 lib/ruby/1.9/rdoc/generator/xml/xml.rb
  36. +0 −337 lib/ruby/1.9/rdoc/markup/fragments.rb
  37. +0 −152 lib/ruby/1.9/rdoc/markup/lines.rb
  38. +0 −130 lib/ruby/1.9/rdoc/markup/preprocess.rb
  39. +0 −185 lib/ruby/1.9/rdoc/markup/to_flow.rb
  40. +0 −328 lib/ruby/1.9/rdoc/markup/to_latex.rb
  41. +0 −69 lib/ruby/1.9/rdoc/markup/to_texinfo.rb
  42. +0 −1,835 lib/ruby/1.9/rdoc/parser/f95.rb
  43. +0 −165 lib/ruby/1.9/rdoc/parser/perl.rb
  44. +0 −187 lib/ruby/1.9/rdoc/ri/cache.rb
  45. +0 −156 lib/ruby/1.9/rdoc/ri/descriptions.rb
  46. +0 −392 lib/ruby/1.9/rdoc/ri/display.rb
  47. +0 −28 lib/ruby/1.9/rdoc/ri/gemdirs.rb
  48. +0 −106 lib/ruby/1.9/rdoc/ri/reader.rb
  49. +0 −79 lib/ruby/1.9/rdoc/ri/util.rb
  50. +0 −68 lib/ruby/1.9/rdoc/ri/writer.rb
  51. +0 −64 lib/ruby/1.9/rdoc/template.rb
  52. +0 −52 lib/ruby/1.9/rdoc/tokenstream.rb
  53. +0 −3 lib/ruby/1.9/rinda/.document
  54. +2 −0 lib/ruby/1.9/ripper.rb
  55. +0 −447 lib/ruby/1.9/syck.rb
  56. +0 −242 lib/ruby/1.9/syck/baseemitter.rb
  57. +0 −222 lib/ruby/1.9/syck/basenode.rb
  58. +0 −45 lib/ruby/1.9/syck/constants.rb
  59. +0 −35 lib/ruby/1.9/syck/encoding.rb
  60. +0 −34 lib/ruby/1.9/syck/error.rb
  61. +0 −14 lib/ruby/1.9/syck/loader.rb
  62. +0 −466 lib/ruby/1.9/syck/rubytypes.rb
  63. +0 −41 lib/ruby/1.9/syck/stream.rb
  64. +0 −85 lib/ruby/1.9/syck/stringio.rb
  65. +0 −16 lib/ruby/1.9/syck/syck.rb
  66. +0 −95 lib/ruby/1.9/syck/tag.rb
  67. +0 −192 lib/ruby/1.9/syck/types.rb
  68. +0 −54 lib/ruby/1.9/syck/yamlnode.rb
  69. +0 −54 lib/ruby/1.9/syck/ypath.rb
  70. +0 −7 lib/ruby/1.9/uri/.document
  71. +10 −10 lib/ruby/1.9/uri/common.rb
  72. +0 −1 lib/ruby/1.9/xmlrpc/.document
  73. +0 −22 lib/ruby/1.9/yaml/syck.rb
  74. +1 −1 lib/ruby/shared/Win32API.rb
  75. +1 −1 lib/ruby/shared/ant.rb
  76. +1 −1 lib/ruby/shared/ffi/tools/Rakefile
  77. +24 −24 lib/ruby/shared/mkmf.rb
  78. +1 −1 lib/ruby/shared/rubygems/defaults/jruby.rb
  79. +1 −1 rakelib/commands.rake
  80. +1 −1 rakelib/installer.rake
  81. +1 −1 spec/java_integration/utilities/jar_glob_spec.rb
  82. +2 −2 spec/jruby.1.8.mspec
  83. +2 −2 spec/jruby.1.9.mspec
  84. +2 −2 spec/jruby.cext.mspec
  85. +1 −1 spec/no-library-1.9.mspec
  86. +4 −4 src/jruby/commands.rb
  87. +1 −1 src/jruby/path_helper.rb
  88. +10 −2 src/org/jruby/ext/rbconfig/RbConfigLibrary.java
  89. +2 −2 test/externals/ruby1.8/dbm/test_dbm.rb
  90. +1 −1 test/org/jruby/test/TestRbConfigLibrary.java
  91. +1 −1 test/quiet.rb
  92. +1 −1 test/rubicon/test_io.rb
  93. +3 −3 test/rubicon/test_object_space.rb
  94. +2 −2 test/test_backquote.rb
  95. +2 −2 test/test_command_line_switches.rb
  96. +1 −1 test/test_dir.rb
  97. +1 −1 test/test_etc.rb
  98. +1 −1 test/test_file.rb
  99. +3 −3 test/test_helper.rb
  100. +2 −2 test/test_higher_javasupport.rb
  101. +1 −1 test/test_io.rb
  102. +5 −5 test/test_jar_complete.rb
  103. +2 −2 test/test_kernel.rb
  104. +1 −1 test/test_line_endings.rb
  105. +1 −1 test/test_load.rb
  106. +1 −1 test/test_open3.rb
  107. +3 −3 test/test_process.rb
  108. +3 −3 test/test_rbconfig.rb
  109. +2 −2 test/test_system_error.rb
  110. +1 −3 tool/globals_1_9_3.rb
@@ -5,7 +5,7 @@
# benchmark 100 parses of the RDoc rb parser
ITER_COUNT = 25
-filename = Config::CONFIG['rubylibdir'] + "/rdoc/parsers/parse_rb.rb"
+filename = RbConfig::CONFIG['rubylibdir'] + "/rdoc/parsers/parse_rb.rb"
src = File.read(filename)
puts "file: " + filename
@@ -25,8 +25,8 @@ def exec_command type, file, w
def benchmark cmd
rubybin = ENV['RUBY'] || File.join(
- Config::CONFIG["bindir"],
- Config::CONFIG["ruby_install_name"] + Config::CONFIG["EXEEXT"])
+ RbConfig::CONFIG["bindir"],
+ RbConfig::CONFIG["ruby_install_name"] + RbConfig::CONFIG["EXEEXT"])
IO.popen(rubybin, 'r+'){|io|
io.write cmd
View
@@ -6,8 +6,8 @@
require 'rbconfig'
$rubybin = ENV['RUBY'] || File.join(
- Config::CONFIG["bindir"],
- Config::CONFIG["ruby_install_name"] + Config::CONFIG["EXEEXT"])
+ RbConfig::CONFIG["bindir"],
+ RbConfig::CONFIG["ruby_install_name"] + RbConfig::CONFIG["EXEEXT"])
def runfile file
puts file
@@ -1 +0,0 @@
-session.rb
Oops, something went wrong.

0 comments on commit 19e9416

Please sign in to comment.