summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/difference_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/array/difference_spec.rb')
-rw-r--r--spec/ruby/core/array/difference_spec.rb28
1 files changed, 13 insertions, 15 deletions
diff --git a/spec/ruby/core/array/difference_spec.rb b/spec/ruby/core/array/difference_spec.rb
index a357657967..63e32feca0 100644
--- a/spec/ruby/core/array/difference_spec.rb
+++ b/spec/ruby/core/array/difference_spec.rb
@@ -2,23 +2,21 @@ require_relative '../../spec_helper'
require_relative 'fixtures/classes'
require_relative 'shared/difference'
-ruby_version_is "2.6" do
- describe "Array#difference" do
- it_behaves_like :array_binary_difference, :difference
+describe "Array#difference" do
+ it_behaves_like :array_binary_difference, :difference
- it "returns a copy when called without any parameter" do
- x = [1, 2, 3, 2]
- x.difference.should == x
- x.difference.should_not equal x
- end
+ it "returns a copy when called without any parameter" do
+ x = [1, 2, 3, 2]
+ x.difference.should == x
+ x.difference.should_not.equal? x
+ end
- it "does not return subclass instances for Array subclasses" do
- ArraySpecs::MyArray[1, 2, 3].difference.should be_an_instance_of(Array)
- end
+ it "does not return subclass instances for Array subclasses" do
+ ArraySpecs::MyArray[1, 2, 3].difference.should.instance_of?(Array)
+ end
- it "accepts multiple arguments" do
- x = [1, 2, 3, 1]
- x.difference([], [0, 1], [3, 4], [3]).should == [2]
- end
+ it "accepts multiple arguments" do
+ x = [1, 2, 3, 1]
+ x.difference([], [0, 1], [3, 4], [3]).should == [2]
end
end
23f6a96b9a17c190cacde283e65'>README.EXT.ja208
-rw-r--r--README.ja192
-rw-r--r--README.ja.md163
-rw-r--r--README.md161
-rw-r--r--addr2line.c442
-rw-r--r--addr2line.h2
-rw-r--r--array.c1402
-rw-r--r--bcc32/Makefile.sub617
-rw-r--r--bcc32/README.bcc32130
-rwxr-xr-xbcc32/configure.bat163
-rwxr-xr-xbcc32/mkexports.rb26
-rw-r--r--bcc32/setup.mak179
-rw-r--r--benchmark/bm_app_aobench.rb291
-rw-r--r--benchmark/bm_app_lc_fizzbuzz.rb52
-rw-r--r--benchmark/bm_hash_aref_miss.rb5
-rw-r--r--benchmark/bm_hash_aref_str.rb4
-rw-r--r--benchmark/bm_hash_aref_sym.rb9
-rw-r--r--benchmark/bm_hash_aref_sym_long.rb13
-rw-r--r--benchmark/bm_hash_flatten.rb9
-rw-r--r--benchmark/bm_hash_ident_num.rb4
-rw-r--r--benchmark/bm_hash_ident_obj.rb4
-rw-r--r--benchmark/bm_hash_ident_str.rb4
-rw-r--r--benchmark/bm_hash_ident_sym.rb4
-rw-r--r--benchmark/bm_hash_keys.rb9
-rw-r--r--benchmark/bm_hash_shift.rb10
-rw-r--r--benchmark/bm_hash_values.rb9
-rw-r--r--benchmark/bm_securerandom.rb5
-rw-r--r--benchmark/bm_so_binary_trees.rb9
-rw-r--r--benchmark/bm_so_meteor_contest.rb12
-rw-r--r--benchmark/bm_vm1_gc_short_lived.rb10
-rw-r--r--benchmark/bm_vm1_gc_short_with_complex_long.rb27
-rw-r--r--benchmark/bm_vm1_gc_short_with_long.rb13
-rw-r--r--benchmark/bm_vm1_gc_short_with_symbol.rb15
-rw-r--r--benchmark/bm_vm1_gc_wb_ary.rb10
-rw-r--r--benchmark/bm_vm1_gc_wb_obj.rb13
-rw-r--r--benchmark/bm_vm2_newlambda.rb5
-rw-r--r--benchmark/bm_vm2_struct_big_aref_hi.rb7
-rw-r--r--benchmark/bm_vm2_struct_big_aref_lo.rb7
-rw-r--r--benchmark/bm_vm2_struct_big_aset.rb7
-rw-r--r--benchmark/bm_vm2_struct_small_aref.rb7
-rw-r--r--benchmark/bm_vm2_struct_small_aset.rb7
-rw-r--r--benchmark/bm_vm_thread_close.rb6
-rw-r--r--benchmark/bm_vm_thread_queue.rb18
-rw-r--r--benchmark/driver.rb24
-rw-r--r--benchmark/gc/aobench.rb1
-rw-r--r--benchmark/gc/binary_trees.rb1
-rw-r--r--benchmark/gc/gcbench.rb56
-rw-r--r--benchmark/gc/hash1.rb11
-rw-r--r--benchmark/gc/hash2.rb7
-rw-r--r--benchmark/gc/null.rb1
-rw-r--r--benchmark/gc/pentomino.rb1
-rw-r--r--benchmark/gc/rdoc.rb13
-rw-r--r--benchmark/gc/redblack.rb366
-rw-r--r--benchmark/gc/ring.rb29
-rw-r--r--benchmark/prepare_so_k_nucleotide.rb2
-rw-r--r--benchmark/prepare_so_reverse_complement.rb2
-rw-r--r--bignum.c7210
-rwxr-xr-xbin/erb34
-rwxr-xr-xbin/irb11
-rwxr-xr-xbin/rake4
-rwxr-xr-xbin/testrb3
-rwxr-xr-xbootstraptest/runner.rb48
-rw-r--r--bootstraptest/test_autoload.rb40
-rw-r--r--bootstraptest/test_class.rb10
-rw-r--r--bootstraptest/test_fork.rb28
-rw-r--r--bootstraptest/test_io.rb14
-rw-r--r--bootstraptest/test_literal.rb2
-rw-r--r--bootstraptest/test_literal_suffix.rb54
-rw-r--r--bootstraptest/test_method.rb44
-rw-r--r--bootstraptest/test_thread.rb74
-rw-r--r--ccan/build_assert/build_assert.h40
-rw-r--r--ccan/check_type/check_type.h63
-rw-r--r--ccan/container_of/container_of.h142
-rw-r--r--ccan/licenses/BSD-MIT17
-rw-r--r--ccan/licenses/CC028
-rw-r--r--ccan/list/list.h635
-rw-r--r--ccan/str/str.h16
-rw-r--r--class.c599
-rw-r--r--common.mk1944
-rw-r--r--compar.c19
-rw-r--r--compile.c1568
-rw-r--r--complex.c209
-rw-r--r--configure.in1470
-rw-r--r--constant.h17
-rw-r--r--cont.c633
-rw-r--r--coverage/README17
-rw-r--r--debug.c25
-rw-r--r--defs/default_gems3
-rw-r--r--defs/gmake.mk63
-rw-r--r--defs/id.def33
-rw-r--r--defs/known_errors.def3
-rw-r--r--defs/opt_operand.def2
-rw-r--r--dir.c558
-rw-r--r--dln.c73
-rw-r--r--dln.h19
-rw-r--r--dln_find.c51
-rw-r--r--dmyenc.c10
-rw-r--r--dmyencoding.c2
-rw-r--r--dmyext.c5
-rw-r--r--dmyversion.c2
-rw-r--r--doc/ChangeLog-1.8.0152
-rw-r--r--doc/ChangeLog-1.9.38
-rw-r--r--doc/ChangeLog-2.0.024015
-rw-r--r--doc/ChangeLog-2.1.018060
-rw-r--r--doc/ChangeLog-YARV178
-rw-r--r--doc/NEWS-1.8.74
-rw-r--r--doc/NEWS-2.0.0531
-rw-r--r--doc/NEWS-2.1.0376
-rw-r--r--doc/contributing.rdoc466
-rw-r--r--doc/contributors.rdoc778
-rw-r--r--doc/dtrace_probes.rdoc178
-rw-r--r--doc/etc.rd.ja2
-rw-r--r--doc/forwardable.rd.ja6
-rw-r--r--doc/globals.rdoc6
-rw-r--r--doc/irb/irb-tools.rd.ja10
-rw-r--r--doc/irb/irb.rd.ja52
-rw-r--r--doc/keywords.rdoc158
-rw-r--r--doc/maintainers.rdoc322
-rw-r--r--doc/marshal.rdoc313
-rw-r--r--doc/pty/README.ja2
-rw-r--r--doc/rake/CHANGES440
-rw-r--r--doc/rake/README196
-rw-r--r--doc/rake/command_line_usage.rdoc169
-rw-r--r--doc/rake/example/Rakefile138
-rw-r--r--doc/rake/example/Rakefile235
-rw-r--r--doc/rake/example/a.c6
-rw-r--r--doc/rake/example/b.c6
-rw-r--r--doc/rake/example/main.c11
-rw-r--r--doc/rake/glossary.rdoc51
-rw-r--r--doc/rake/jamis.rb591
-rw-r--r--doc/rake/proto_rake.rdoc127
-rw-r--r--doc/rake/rakefile.rdoc557
-rw-r--r--doc/rake/rational.rdoc151
-rw-r--r--doc/rake/release_notes/rake-0.8.7.rdoc55
-rw-r--r--doc/rake/release_notes/rake-0.9.0.rdoc112
-rw-r--r--doc/rake/release_notes/rake-0.9.1.rdoc52
-rw-r--r--doc/rake/release_notes/rake-0.9.2.2.rdoc55
-rw-r--r--doc/rake/release_notes/rake-0.9.2.rdoc49
-rw-r--r--doc/rake/release_notes/rake-0.9.3.rdoc102
-rw-r--r--doc/rake/release_notes/rake-0.9.4.rdoc110
-rw-r--r--doc/rake/release_notes/rake-0.9.5.rdoc114
-rw-r--r--doc/rake/release_notes/rake-0.9.6.rdoc127
-rw-r--r--doc/re.rdoc (renamed from doc/regexp.rdoc)149
-rw-r--r--doc/security.rdoc9
-rw-r--r--doc/shell.rd.ja8
-rw-r--r--doc/standard_library.rdoc2
-rw-r--r--doc/syntax/assignment.rdoc12
-rw-r--r--doc/syntax/literals.rdoc17
-rw-r--r--doc/syntax/methods.rdoc78
-rw-r--r--doc/syntax/modules_and_classes.rdoc4
-rw-r--r--doc/syntax/refinements.rdoc39
-rw-r--r--enc/big5.c6
-rw-r--r--enc/depend421
-rw-r--r--enc/encdb.c11
-rw-r--r--enc/encinit.c.erb17
-rw-r--r--enc/euc_jp.c53
-rw-r--r--enc/iso_8859_1.c2
-rw-r--r--enc/iso_8859_10.c4
-rw-r--r--enc/iso_8859_13.c4
-rw-r--r--enc/iso_8859_14.c4
-rw-r--r--enc/iso_8859_15.c4
-rw-r--r--enc/iso_8859_16.c4
-rw-r--r--enc/iso_8859_2.c2
-rw-r--r--enc/iso_8859_3.c4
-rw-r--r--enc/iso_8859_4.c4
-rw-r--r--enc/iso_8859_5.c4
-rw-r--r--enc/iso_8859_7.c4
-rw-r--r--enc/iso_8859_9.c4
-rw-r--r--enc/jis/props.h227
-rw-r--r--enc/jis/props.h.blt227
-rw-r--r--enc/jis/props.kwd52
-rw-r--r--enc/jis/props.src52
-rw-r--r--enc/koi8_r.c4
-rw-r--r--enc/koi8_u.c4
-rwxr-xr-xenc/make_encmake.rb5
-rw-r--r--enc/prelude.rb8
-rw-r--r--enc/shift_jis.c45
-rw-r--r--enc/trans/escape.trans6
-rw-r--r--enc/trans/gb18030.trans8
-rw-r--r--enc/trans/japanese_euc.trans4
-rw-r--r--enc/trans/utf8_mac-tbl.rb23655
-rw-r--r--enc/trans/utf8_mac.trans157
-rw-r--r--enc/unicode.c185
-rwxr-xr-xenc/unicode/case-folding.rb196
-rw-r--r--enc/unicode/casefold.h7831
-rw-r--r--enc/unicode/name2ctype.h9915
-rw-r--r--enc/us_ascii.c6
-rw-r--r--enc/utf_16_32.h2
-rw-r--r--enc/utf_16be.c6
-rw-r--r--enc/utf_16le.c6
-rw-r--r--enc/utf_8.c4
-rw-r--r--enc/windows_1251.c4
-rw-r--r--encoding.c300
-rw-r--r--enum.c944
-rw-r--r--enumerator.c251
-rw-r--r--error.c333
-rw-r--r--eval.c434
-rw-r--r--eval_error.c78
-rw-r--r--eval_intern.h56
-rw-r--r--eval_jump.c65
-rw-r--r--ext/-test-/bignum/big2str.c53
-rw-r--r--ext/-test-/bignum/bigzero.c26
-rw-r--r--ext/-test-/bignum/depend102
-rw-r--r--ext/-test-/bignum/div.c35
-rw-r--r--ext/-test-/bignum/extconf.rb7
-rw-r--r--ext/-test-/bignum/init.c11
-rw-r--r--ext/-test-/bignum/intpack.c87
-rw-r--r--ext/-test-/bignum/mul.c65
-rw-r--r--ext/-test-/bignum/str2big.c38
-rw-r--r--ext/-test-/bug-3571/bug.c2
-rw-r--r--ext/-test-/bug_reporter/bug_reporter.c24
-rw-r--r--ext/-test-/bug_reporter/extconf.rb1
-rw-r--r--ext/-test-/class/class2name.c14
-rw-r--r--ext/-test-/class/extconf.rb7
-rw-r--r--ext/-test-/class/init.c11
-rw-r--r--ext/-test-/debug/depend32
-rw-r--r--ext/-test-/debug/profile_frames.c43
-rw-r--r--ext/-test-/exception/dataerror.c31
-rw-r--r--ext/-test-/exception/depend43
-rw-r--r--ext/-test-/file/depend36
-rw-r--r--ext/-test-/file/extconf.rb7
-rw-r--r--ext/-test-/file/fs.c60
-rw-r--r--ext/-test-/file/init.c11
-rw-r--r--ext/-test-/file/stat.c27
-rw-r--r--ext/-test-/float/depend3
-rw-r--r--ext/-test-/float/extconf.rb7
-rw-r--r--ext/-test-/float/init.c11
-rw-r--r--ext/-test-/float/nextafter.c36
-rw-r--r--ext/-test-/hash/delete.c14
-rw-r--r--ext/-test-/hash/extconf.rb7
-rw-r--r--ext/-test-/hash/init.c11
-rw-r--r--ext/-test-/iseq_load/extconf.rb1
-rw-r--r--ext/-test-/iseq_load/iseq_load.c21
-rw-r--r--ext/-test-/iter/break.c4
-rw-r--r--ext/-test-/iter/extconf.rb8
-rw-r--r--ext/-test-/iter/init.c11
-rw-r--r--ext/-test-/iter/yield.c16
-rw-r--r--ext/-test-/marshal/usr/usrmarshal.c21
-rw-r--r--ext/-test-/num2int/depend1
-rw-r--r--ext/-test-/num2int/num2int.c130
-rw-r--r--ext/-test-/old_thread_select/depend2
-rw-r--r--ext/-test-/old_thread_select/extconf.rb4
-rw-r--r--ext/-test-/old_thread_select/old_thread_select.c75
-rw-r--r--ext/-test-/postponed_job/depend1
-rw-r--r--ext/-test-/postponed_job/extconf.rb1
-rw-r--r--ext/-test-/postponed_job/postponed_job.c53
-rw-r--r--ext/-test-/printf/depend3
-rw-r--r--ext/-test-/printf/printf.c15
-rw-r--r--ext/-test-/proc/extconf.rb7
-rw-r--r--ext/-test-/proc/init.c11
-rw-r--r--ext/-test-/proc/receiver.c21
-rw-r--r--ext/-test-/proc/super.c27
-rw-r--r--ext/-test-/rational/depend20
-rw-r--r--ext/-test-/rational/extconf.rb7
-rw-r--r--ext/-test-/rational/rat.c37
-rw-r--r--ext/-test-/recursion/extconf.rb2
-rw-r--r--ext/-test-/recursion/recursion.c28
-rw-r--r--ext/-test-/st/foreach/extconf.rb1
-rw-r--r--ext/-test-/st/foreach/foreach.c175
-rw-r--r--ext/-test-/st/numhash/numhash.c34
-rw-r--r--ext/-test-/string/coderange.c21
-rw-r--r--ext/-test-/string/cstr.c22
-rw-r--r--ext/-test-/string/depend115
-rw-r--r--ext/-test-/string/extconf.rb1
-rw-r--r--ext/-test-/string/normalize.c17
-rw-r--r--ext/-test-/symbol/extconf.rb3
-rw-r--r--ext/-test-/symbol/init.c14
-rw-r--r--ext/-test-/symbol/intern.c14
-rw-r--r--ext/-test-/symbol/type.c35
-rw-r--r--ext/-test-/tracepoint/depend22
-rw-r--r--ext/-test-/tracepoint/extconf.rb1
-rw-r--r--ext/-test-/tracepoint/gc_hook.c80
-rw-r--r--ext/-test-/tracepoint/tracepoint.c96
-rw-r--r--ext/-test-/wait_for_single_fd/depend16
-rw-r--r--ext/-test-/win32/console/attribute.c56
-rw-r--r--ext/-test-/win32/console/depend1
-rw-r--r--ext/-test-/win32/console/extconf.rb8
-rw-r--r--ext/-test-/win32/console/init.c11
-rw-r--r--ext/-test-/win32/dln/empty/empty.c4
-rw-r--r--ext/-test-/win32/dln/empty/extconf.rb3
-rw-r--r--ext/-test-/win32/dln/extconf.rb1
-rw-r--r--ext/-test-/win32/dln/libdlntest.c2
-rw-r--r--ext/-test-/win32/fd_setsize/depend3
-rw-r--r--ext/.document6
-rw-r--r--ext/Setup2
-rw-r--r--ext/Setup.atheos2
-rw-r--r--ext/Setup.emx4
-rw-r--r--ext/Setup.nacl6
-rw-r--r--ext/Setup.nt3
-rw-r--r--ext/bigdecimal/bigdecimal.c3794
-rw-r--r--ext/bigdecimal/bigdecimal.gemspec7
-rw-r--r--ext/bigdecimal/bigdecimal.h38
-rw-r--r--ext/bigdecimal/depend14
-rw-r--r--ext/bigdecimal/lib/bigdecimal/jacobian.rb3
-rw-r--r--ext/bigdecimal/lib/bigdecimal/math.rb90
-rw-r--r--ext/bigdecimal/lib/bigdecimal/newton.rb3
-rw-r--r--ext/bigdecimal/lib/bigdecimal/util.rb23
-rw-r--r--ext/bigdecimal/sample/linear.rb21
-rw-r--r--ext/bigdecimal/sample/nlsolve.rb23
-rw-r--r--ext/continuation/continuation.c5
-rw-r--r--ext/coverage/coverage.c2
-rw-r--r--ext/coverage/depend41
-rw-r--r--ext/coverage/extconf.rb1
-rw-r--r--ext/curses/curses.c4329
-rw-r--r--ext/curses/depend1
-rw-r--r--ext/curses/extconf.rb116
-rw-r--r--ext/curses/hello.rb30
-rw-r--r--ext/curses/mouse.rb53
-rw-r--r--ext/curses/rain.rb76
-rw-r--r--ext/curses/view.rb91
-rw-r--r--ext/curses/view2.rb149
-rw-r--r--ext/date/date_core.c368
-rw-r--r--ext/date/date_parse.c6
-rw-r--r--ext/date/date_strptime.c10
-rw-r--r--ext/date/depend52
-rw-r--r--ext/date/lib/date.rb17
-rw-r--r--ext/date/lib/date/format.rb1
-rw-r--r--ext/dbm/dbm.c66
-rw-r--r--ext/dbm/depend1
-rw-r--r--ext/dbm/extconf.rb35
-rw-r--r--ext/digest/bubblebabble/bubblebabble.c32
-rw-r--r--ext/digest/bubblebabble/depend16
-rw-r--r--ext/digest/depend15
-rw-r--r--ext/digest/digest.c95
-rw-r--r--ext/digest/digest.h6
-rw-r--r--ext/digest/lib/digest.rb34
-rw-r--r--ext/digest/lib/digest/hmac.rb302
-rw-r--r--ext/digest/md5/depend22
-rw-r--r--ext/digest/md5/extconf.rb11
-rw-r--r--ext/digest/md5/md5.c12
-rw-r--r--ext/digest/md5/md5.h4
-rw-r--r--ext/digest/md5/md5init.c6
-rw-r--r--ext/digest/rmd160/depend34
-rw-r--r--ext/digest/rmd160/extconf.rb10
-rw-r--r--ext/digest/rmd160/rmd160.c6
-rw-r--r--ext/digest/rmd160/rmd160.h4
-rw-r--r--ext/digest/rmd160/rmd160init.c6
-rw-r--r--ext/digest/sha1/depend34
-rw-r--r--ext/digest/sha1/extconf.rb10
-rw-r--r--ext/digest/sha1/sha1.c6
-rw-r--r--ext/digest/sha1/sha1.h4
-rw-r--r--ext/digest/sha1/sha1init.c6
-rw-r--r--ext/digest/sha2/depend34
-rw-r--r--ext/digest/sha2/extconf.rb9
-rw-r--r--ext/digest/sha2/sha2.c33
-rw-r--r--ext/digest/sha2/sha2.h30
-rw-r--r--ext/digest/sha2/sha2init.c6
-rw-r--r--ext/dl/callback/depend15
-rw-r--r--ext/dl/callback/extconf.rb14
-rw-r--r--ext/dl/callback/mkcallback.rb242
-rw-r--r--ext/dl/cfunc.c675
-rw-r--r--ext/dl/cptr.c672
-rw-r--r--ext/dl/depend7
-rw-r--r--ext/dl/dl.c573
-rw-r--r--ext/dl/dl.h217
-rw-r--r--ext/dl/extconf.rb48
-rw-r--r--ext/dl/handle.c431
-rw-r--r--ext/dl/lib/dl.rb15
-rw-r--r--ext/dl/lib/dl/callback.rb112
-rw-r--r--ext/dl/lib/dl/cparser.rb156
-rw-r--r--ext/dl/lib/dl/func.rb251
-rw-r--r--ext/dl/lib/dl/import.rb268
-rw-r--r--ext/dl/lib/dl/pack.rb128
-rw-r--r--ext/dl/lib/dl/stack.rb116
-rw-r--r--ext/dl/lib/dl/struct.rb236
-rw-r--r--ext/dl/lib/dl/types.rb71
-rw-r--r--ext/dl/lib/dl/value.rb114
-rw-r--r--ext/dl/win32/extconf.rb3
-rw-r--r--ext/dl/win32/lib/Win32API.rb31
-rw-r--r--ext/dl/win32/lib/win32/registry.rb (renamed from ext/win32/lib/win32/registry.rb)136
-rw-r--r--ext/dl/win32/lib/win32/resolv.rb (renamed from ext/win32/lib/win32/resolv.rb)5
-rw-r--r--ext/dl/win32/lib/win32/sspi.rb (renamed from ext/win32/lib/win32/sspi.rb)2
-rw-r--r--ext/etc/depend10
-rw-r--r--ext/etc/etc.c540
-rw-r--r--ext/etc/extconf.rb59
-rw-r--r--ext/etc/mkconstants.rb331
-rwxr-xr-xext/extmk.rb124
-rw-r--r--ext/fcntl/depend1
-rw-r--r--ext/fcntl/fcntl.c2
-rw-r--r--ext/fiddle/closure.c18
-rw-r--r--ext/fiddle/closure.h2
-rw-r--r--ext/fiddle/depend4
-rw-r--r--ext/fiddle/extconf.rb6
-rw-r--r--ext/fiddle/fiddle.c10
-rw-r--r--ext/fiddle/fiddle.h5
-rw-r--r--ext/fiddle/function.c29
-rw-r--r--ext/fiddle/function.h2
-rw-r--r--ext/fiddle/handle.c14
-rw-r--r--ext/fiddle/lib/fiddle.rb9
-rw-r--r--ext/fiddle/lib/fiddle/import.rb2
-rw-r--r--ext/fiddle/pointer.c3
-rw-r--r--ext/fiddle/win32/extconf.rb (renamed from ext/win32/extconf.rb)0
-rw-r--r--ext/fiddle/win32/lib/win32/registry.rb845
-rw-r--r--ext/fiddle/win32/lib/win32/resolv.rb379
-rw-r--r--ext/gdbm/depend1
-rw-r--r--ext/gdbm/extconf.rb11
-rw-r--r--ext/gdbm/gdbm.c47
-rw-r--r--ext/io/console/console.c35
-rw-r--r--ext/io/console/depend4
-rw-r--r--ext/io/console/extconf.rb9
-rw-r--r--ext/io/console/io-console.gemspec5
-rw-r--r--ext/io/console/lib/console/size.rb2
-rw-r--r--ext/io/nonblock/depend4
-rw-r--r--ext/io/nonblock/nonblock.c36
-rw-r--r--ext/io/wait/depend4
-rw-r--r--ext/io/wait/wait.c4
-rw-r--r--ext/json/fbuffer/fbuffer.h2
-rw-r--r--ext/json/generator/depend19
-rw-r--r--ext/json/generator/generator.c60
-rw-r--r--ext/json/generator/generator.h12
-rw-r--r--ext/json/lib/json/common.rb12
-rw-r--r--ext/json/lib/json/generic_object.rb9
-rw-r--r--ext/json/lib/json/version.rb2
-rw-r--r--ext/json/parser/depend18
-rw-r--r--ext/json/parser/parser.c89
-rw-r--r--ext/json/parser/parser.h9
-rw-r--r--ext/json/parser/parser.rl23
-rw-r--r--ext/json/parser/prereq.mk3
-rw-r--r--ext/nkf/depend26
-rw-r--r--ext/nkf/nkf-utf8/nkf.c32
-rw-r--r--ext/nkf/nkf-utf8/nkf.h4
-rw-r--r--ext/nkf/nkf-utf8/utf8tbl.c1
-rw-r--r--ext/nkf/nkf-utf8/utf8tbl.h1
-rw-r--r--ext/nkf/nkf.c2
-rw-r--r--ext/objspace/depend69
-rw-r--r--ext/objspace/extconf.rb1
-rw-r--r--ext/objspace/object_tracing.c492
-rw-r--r--ext/objspace/objspace.c369
-rw-r--r--ext/objspace/objspace.h20
-rw-r--r--ext/objspace/objspace_dump.c429
-rw-r--r--ext/openssl/depend1091
-rw-r--r--ext/openssl/extconf.rb5
-rw-r--r--ext/openssl/lib/openssl/bn.rb12
-rw-r--r--ext/openssl/lib/openssl/buffering.rb19
-rw-r--r--ext/openssl/lib/openssl/config.rb169
-rw-r--r--ext/openssl/lib/openssl/digest.rb27
-rw-r--r--ext/openssl/lib/openssl/ssl.rb19
-rw-r--r--ext/openssl/lib/openssl/x509.rb22
-rw-r--r--ext/openssl/openssl_missing.c4
-rw-r--r--ext/openssl/ossl.c125
-rw-r--r--ext/openssl/ossl.h6
-rw-r--r--ext/openssl/ossl_asn1.c47
-rw-r--r--ext/openssl/ossl_bio.c2
-rw-r--r--ext/openssl/ossl_bn.c69
-rw-r--r--ext/openssl/ossl_cipher.c31
-rw-r--r--ext/openssl/ossl_config.c11
-rw-r--r--ext/openssl/ossl_digest.c22
-rw-r--r--ext/openssl/ossl_engine.c180
-rw-r--r--ext/openssl/ossl_hmac.c120
-rw-r--r--ext/openssl/ossl_ns_spki.c21
-rw-r--r--ext/openssl/ossl_ocsp.c576
-rw-r--r--ext/openssl/ossl_pkcs12.c20
-rw-r--r--ext/openssl/ossl_pkcs5.c2
-rw-r--r--ext/openssl/ossl_pkcs7.c76
-rw-r--r--ext/openssl/ossl_pkey.c16
-rw-r--r--ext/openssl/ossl_pkey.h5
-rw-r--r--ext/openssl/ossl_pkey_dh.c8
-rw-r--r--ext/openssl/ossl_pkey_dsa.c6
-rw-r--r--ext/openssl/ossl_pkey_ec.c50
-rw-r--r--ext/openssl/ossl_pkey_rsa.c9
-rw-r--r--ext/openssl/ossl_rand.c90
-rw-r--r--ext/openssl/ossl_ssl.c197
-rw-r--r--ext/openssl/ossl_ssl.h8
-rw-r--r--ext/openssl/ossl_ssl_session.c31
-rw-r--r--ext/openssl/ossl_x509.c2
-rw-r--r--ext/openssl/ossl_x509attr.c24
-rw-r--r--ext/openssl/ossl_x509cert.c20
-rw-r--r--ext/openssl/ossl_x509crl.c20
-rw-r--r--ext/openssl/ossl_x509ext.c34
-rw-r--r--ext/openssl/ossl_x509name.c29
-rw-r--r--ext/openssl/ossl_x509req.c20
-rw-r--r--ext/openssl/ossl_x509revoked.c20
-rw-r--r--ext/openssl/ossl_x509store.c47
-rw-r--r--ext/pathname/depend3
-rw-r--r--ext/pathname/extconf.rb1
-rw-r--r--ext/pathname/lib/pathname.rb17
-rw-r--r--ext/pathname/pathname.c90
-rw-r--r--ext/psych/depend3
-rw-r--r--ext/psych/lib/psych.rb261
-rw-r--r--ext/psych/lib/psych/class_loader.rb101
-rw-r--r--ext/psych/lib/psych/deprecated.rb3
-rw-r--r--ext/psych/lib/psych/exception.rb13
-rw-r--r--ext/psych/lib/psych/json/stream.rb1
-rw-r--r--ext/psych/lib/psych/nodes/node.rb4
-rw-r--r--ext/psych/lib/psych/nodes/sequence.rb2
-rw-r--r--ext/psych/lib/psych/scalar_scanner.rb29
-rw-r--r--ext/psych/lib/psych/stream.rb1
-rw-r--r--ext/psych/lib/psych/streaming.rb15
-rw-r--r--ext/psych/lib/psych/syntax_error.rb7
-rw-r--r--ext/psych/lib/psych/visitors/json_tree.rb7
-rw-r--r--ext/psych/lib/psych/visitors/to_ruby.rb145
-rw-r--r--ext/psych/lib/psych/visitors/yaml_tree.rb108
-rw-r--r--ext/psych/psych.c2
-rw-r--r--ext/psych/psych.gemspec17
-rw-r--r--ext/psych/psych_emitter.c56
-rw-r--r--ext/psych/psych_emitter.h2
-rw-r--r--ext/psych/psych_parser.c26
-rw-r--r--ext/psych/psych_parser.h2
-rw-r--r--ext/psych/psych_to_ruby.c4
-rw-r--r--ext/psych/yaml/scanner.c2
-rw-r--r--ext/psych/yaml/yaml.h4
-rw-r--r--ext/pty/depend18
-rw-r--r--ext/pty/pty.c34
-rw-r--r--ext/racc/cparse/README3
-rw-r--r--ext/racc/cparse/cparse.c104
-rw-r--r--ext/racc/cparse/depend1
-rw-r--r--ext/rbconfig/sizeof/depend15
-rw-r--r--ext/rbconfig/sizeof/extconf.rb3
-rw-r--r--ext/readline/README.ja51
-rw-r--r--ext/readline/depend18
-rw-r--r--ext/readline/extconf.rb5
-rw-r--r--ext/readline/readline.c837
-rw-r--r--ext/ripper/depend38
-rw-r--r--ext/ripper/eventids2.c516
-rw-r--r--ext/ripper/lib/ripper/sexp.rb8
-rwxr-xr-xext/ripper/tools/generate.rb33
-rw-r--r--ext/sdbm/_sdbm.c4
-rw-r--r--ext/sdbm/depend21
-rw-r--r--ext/sdbm/init.c87
-rw-r--r--ext/socket/.document1
-rw-r--r--ext/socket/ancdata.c112
-rw-r--r--ext/socket/basicsocket.c50
-rw-r--r--ext/socket/constants.c2
-rw-r--r--ext/socket/depend308
-rw-r--r--ext/socket/extconf.rb792
-rw-r--r--ext/socket/getaddrinfo.c10
-rw-r--r--ext/socket/getnameinfo.c8
-rw-r--r--ext/socket/ifaddr.c459
-rw-r--r--ext/socket/init.c301
-rw-r--r--ext/socket/ipsocket.c67
-rw-r--r--ext/socket/lib/socket.rb5
-rw-r--r--ext/socket/mkconstants.rb153
-rw-r--r--ext/socket/option.c563
-rw-r--r--ext/socket/raddrinfo.c517
-rw-r--r--ext/socket/rubysocket.h254
-rw-r--r--ext/socket/socket.c407
-rw-r--r--ext/socket/sockport.h86
-rw-r--r--ext/socket/sockssocket.c3
-rw-r--r--ext/socket/tcpserver.c27
-rw-r--r--ext/socket/tcpsocket.c2
-rw-r--r--ext/socket/udpsocket.c39
-rw-r--r--ext/socket/unixserver.c6
-rw-r--r--ext/socket/unixsocket.c52
-rw-r--r--ext/stringio/depend7
-rw-r--r--ext/stringio/stringio.c102
-rw-r--r--ext/strscan/depend19
-rw-r--r--ext/strscan/strscan.c62
-rw-r--r--ext/syslog/depend14
-rw-r--r--ext/syslog/lib/syslog/logger.rb28
-rw-r--r--ext/syslog/syslog.c7
-rw-r--r--ext/thread/extconf.rb3
-rw-r--r--ext/thread/thread.c656
-rw-r--r--ext/tk/MANUAL_tcltklib.eng24
-rw-r--r--ext/tk/MANUAL_tcltklib.eucj (renamed from ext/tk/MANUAL_tcltklib.ja)0
-rw-r--r--ext/tk/README.1st2
-rw-r--r--ext/tk/README.ActiveTcl2
-rw-r--r--ext/tk/README.tcltklib18
-rw-r--r--ext/tk/extconf.rb48
-rw-r--r--ext/tk/lib/multi-tk.rb2
-rw-r--r--ext/tk/lib/tcltk.rb4
-rw-r--r--ext/tk/lib/tk.rb22
-rw-r--r--ext/tk/lib/tk/autoload.rb2
-rw-r--r--ext/tk/lib/tk/canvas.rb2
-rw-r--r--ext/tk/lib/tk/fontchooser.rb4
-rw-r--r--ext/tk/lib/tk/image.rb2
-rw-r--r--ext/tk/lib/tk/text.rb2
-rw-r--r--ext/tk/lib/tk/tk_mac.rb158
-rw-r--r--ext/tk/lib/tkextlib/SUPPORT_STATUS15
-rw-r--r--ext/tk/lib/tkextlib/blt/component.rb2
-rw-r--r--ext/tk/lib/tkextlib/blt/tree.rb2
-rw-r--r--ext/tk/lib/tkextlib/blt/treeview.rb2
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb2
-rw-r--r--ext/tk/lib/tkextlib/tcllib/plotchart.rb2
-rw-r--r--ext/tk/lib/tkextlib/tcllib/validator.rb65
-rw-r--r--ext/tk/lib/tkextlib/tile/style.rb4
-rw-r--r--ext/tk/lib/tkextlib/tile/treeview.rb30
-rw-r--r--ext/tk/lib/tkextlib/tkDND/tkdnd.rb2
-rw-r--r--ext/tk/lib/tkextlib/tkimg/dted.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/raw.rb33
-rw-r--r--ext/tk/old-README.tcltklib.eucj (renamed from ext/tk/old-README.tcltklib.ja)0
-rw-r--r--ext/tk/sample/figmemo_sample.rb2
-rw-r--r--ext/tk/sample/msgs_tk/README2
-rw-r--r--ext/tk/sample/tkextlib/blt/readme.txt2
-rw-r--r--ext/tk/sample/tkextlib/bwidget/Orig_LICENSE.txt12
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/Orig_LICENSE.txt24
-rw-r--r--ext/tk/sample/tkextlib/tcllib/Orig_LICENSE.txt8
-rw-r--r--ext/tk/sample/tkextlib/tkimg/demo.rb2
-rw-r--r--ext/tk/sample/tkextlib/tkimg/readme.txt2
-rw-r--r--ext/tk/sample/tkextlib/tktable/Orig_LICENSE.txt4
-rw-r--r--ext/tk/sample/tkextlib/treectrl/readme.txt2
-rw-r--r--ext/tk/sample/tkextlib/vu/Orig_LICENSE.txt4
-rw-r--r--ext/tk/sample/tktextframe.rb2
-rw-r--r--ext/tk/stubs.c22
-rw-r--r--ext/tk/stubs.h10
-rw-r--r--ext/tk/tcltklib.c417
-rw-r--r--ext/tk/tkutil/extconf.rb7
-rw-r--r--ext/tk/tkutil/tkutil.c135
-rw-r--r--ext/win32/lib/Win32API.rb37
-rw-r--r--ext/win32/lib/win32/importer.rb8
-rw-r--r--ext/win32ole/depend13
-rw-r--r--ext/win32ole/sample/excel1.rb5
-rw-r--r--ext/win32ole/sample/excel2.rb10
-rw-r--r--ext/win32ole/sample/excel3.rb7
-rw-r--r--ext/win32ole/sample/olegen.rb8
-rw-r--r--ext/win32ole/win32ole.c6180
-rw-r--r--ext/win32ole/win32ole.h155
-rw-r--r--ext/win32ole/win32ole_error.c83
-rw-r--r--ext/win32ole/win32ole_error.h8
-rw-r--r--ext/win32ole/win32ole_event.c1275
-rw-r--r--ext/win32ole/win32ole_event.h6
-rw-r--r--ext/win32ole/win32ole_method.c950
-rw-r--r--ext/win32ole/win32ole_method.h16
-rw-r--r--ext/win32ole/win32ole_param.c438
-rw-r--r--ext/win32ole/win32ole_param.h8
-rw-r--r--ext/win32ole/win32ole_record.c604
-rw-r--r--ext/win32ole/win32ole_record.h10
-rw-r--r--ext/win32ole/win32ole_type.c915
-rw-r--r--ext/win32ole/win32ole_type.h8
-rw-r--r--ext/win32ole/win32ole_typelib.c846
-rw-r--r--ext/win32ole/win32ole_typelib.h11
-rw-r--r--ext/win32ole/win32ole_variable.c380
-rw-r--r--ext/win32ole/win32ole_variable.h8
-rw-r--r--ext/win32ole/win32ole_variant.c734
-rw-r--r--ext/win32ole/win32ole_variant.h9
-rw-r--r--ext/win32ole/win32ole_variant_m.c149
-rw-r--r--ext/win32ole/win32ole_variant_m.h7
-rw-r--r--ext/zlib/depend5
-rw-r--r--ext/zlib/zlib.c171
-rw-r--r--file.c537
-rw-r--r--gc.c7430
-rw-r--r--gc.h21
-rw-r--r--gems/bundled_gems3
-rw-r--r--golf_prelude.rb37
-rw-r--r--goruby.c8
-rw-r--r--hash.c1026
-rw-r--r--include/ruby/backward/classext.h2
-rw-r--r--include/ruby/backward/rubysig.h13
-rw-r--r--include/ruby/debug.h29
-rw-r--r--include/ruby/defines.h155
-rw-r--r--include/ruby/encoding.h81
-rw-r--r--include/ruby/intern.h322
-rw-r--r--include/ruby/io.h69
-rw-r--r--include/ruby/missing.h20
-rw-r--r--include/ruby/oniguruma.h60
-rw-r--r--include/ruby/re.h9
-rw-r--r--include/ruby/regex.h8
-rw-r--r--include/ruby/ruby.h772
-rw-r--r--include/ruby/st.h42
-rw-r--r--include/ruby/thread.h8
-rw-r--r--include/ruby/thread_native.h56
-rw-r--r--include/ruby/util.h15
-rw-r--r--include/ruby/version.h10
-rw-r--r--include/ruby/vm.h8
-rw-r--r--include/ruby/win32.h115
-rw-r--r--inits.c4
-rw-r--r--insns.def263
-rw-r--r--internal.h866
-rw-r--r--io.c1412
-rw-r--r--iseq.c665
-rw-r--r--iseq.h50
-rw-r--r--lib/English.rb4
-rwxr-xr-x[-rw-r--r--]lib/abbrev.rb95
-rw-r--r--lib/base64.rb2
-rw-r--r--lib/benchmark.rb117
-rw-r--r--lib/cgi.rb23
-rw-r--r--lib/cgi/cookie.rb59
-rw-r--r--lib/cgi/core.rb63
-rw-r--r--lib/cgi/html.rb297
-rw-r--r--lib/cgi/session.rb8
-rw-r--r--lib/cgi/session/pstore.rb13
-rw-r--r--lib/cgi/util.rb56
-rw-r--r--lib/cmath.rb114
-rw-r--r--lib/complex.rb28
-rw-r--r--lib/csv.rb66
-rw-r--r--lib/debug.rb22
-rw-r--r--lib/delegate.rb110
-rw-r--r--lib/drb/acl.rb20
-rw-r--r--lib/drb/drb.rb65
-rw-r--r--lib/drb/extserv.rb30
-rw-r--r--lib/drb/invokemethod.rb4
-rw-r--r--lib/drb/ssl.rb9
-rw-r--r--lib/drb/unix.rb4
-rw-r--r--lib/e2mmap.rb26
-rw-r--r--lib/erb.rb40
-rw-r--r--lib/fileutils.rb278
-rw-r--r--lib/find.rb47
-rw-r--r--lib/forwardable.rb44
-rw-r--r--lib/gserver.rb310
-rw-r--r--lib/ipaddr.rb277
-rw-r--r--lib/irb.rb43
-rw-r--r--lib/irb/cmd/chws.rb6
-rw-r--r--lib/irb/cmd/fork.rb29
-rw-r--r--lib/irb/cmd/load.rb48
-rw-r--r--lib/irb/cmd/nop.rb11
-rw-r--r--lib/irb/cmd/pushws.rb10
-rw-r--r--lib/irb/cmd/subirb.rb8
-rw-r--r--lib/irb/completion.rb304
-rw-r--r--lib/irb/context.rb175
-rw-r--r--lib/irb/ext/change-ws.rb34
-rw-r--r--lib/irb/ext/history.rb58
-rw-r--r--lib/irb/ext/loader.rb118
-rw-r--r--lib/irb/ext/math-mode.rb8
-rw-r--r--lib/irb/ext/multi-irb.rb175
-rw-r--r--lib/irb/ext/save-history.rb67
-rw-r--r--lib/irb/ext/tracer.rb26
-rw-r--r--lib/irb/ext/use-loader.rb28
-rw-r--r--lib/irb/ext/workspaces.rb26
-rw-r--r--lib/irb/extend-command.rb218
-rw-r--r--lib/irb/frame.rb4
-rw-r--r--lib/irb/help.rb18
-rw-r--r--lib/irb/init.rb212
-rw-r--r--lib/irb/input-method.rb36
-rw-r--r--lib/irb/inspector.rb16
-rw-r--r--lib/irb/lc/help-message26
-rw-r--r--lib/irb/lc/ja/help-message20
-rw-r--r--lib/irb/locale.rb71
-rw-r--r--lib/irb/notifier.rb82
-rw-r--r--lib/irb/output-method.rb6
-rw-r--r--lib/irb/ruby-lex.rb701
-rw-r--r--lib/irb/ruby-token.rb29
-rw-r--r--lib/irb/slex.rb261
-rw-r--r--lib/irb/workspace.rb114
-rw-r--r--lib/irb/xmp.rb38
-rw-r--r--lib/logger.rb259
-rw-r--r--lib/mathn.rb151
-rw-r--r--lib/matrix.rb330
-rw-r--r--lib/matrix/eigenvalue_decomposition.rb6
-rw-r--r--lib/minitest/.document2
-rw-r--r--lib/minitest/README.txt (renamed from test/lib/minitest/README.txt)155
-rw-r--r--lib/minitest/autorun.rb19
-rw-r--r--lib/minitest/benchmark.rb (renamed from test/lib/minitest/benchmark.rb)49
-rw-r--r--lib/minitest/hell.rb16
-rw-r--r--lib/minitest/mock.rb (renamed from test/lib/minitest/mock.rb)11
-rw-r--r--lib/minitest/parallel_each.rb36
-rw-r--r--lib/minitest/pride.rb119
-rw-r--r--lib/minitest/spec.rb541
-rw-r--r--lib/minitest/unit.rb (renamed from test/lib/minitest/unit.rb)284
-rw-r--r--lib/mkmf.rb309
-rw-r--r--lib/net/ftp.rb31
-rw-r--r--lib/net/http.rb30
-rw-r--r--lib/net/http/generic_request.rb61
-rw-r--r--lib/net/http/header.rb10
-rw-r--r--lib/net/http/requests.rb2
-rw-r--r--lib/net/http/response.rb13
-rw-r--r--lib/net/http/responses.rb9
-rw-r--r--lib/net/imap.rb500
-rw-r--r--lib/net/pop.rb2
-rw-r--r--lib/net/smtp.rb23
-rw-r--r--lib/net/telnet.rb2
-rw-r--r--lib/observer.rb17
-rw-r--r--lib/open-uri.rb53
-rw-r--r--lib/open3.rb243
-rw-r--r--lib/optionparser.rb1
-rw-r--r--lib/optparse.rb67
-rw-r--r--lib/optparse/version.rb2
-rw-r--r--lib/ostruct.rb14
-rw-r--r--lib/pp.rb146
-rw-r--r--lib/prettyprint.rb223
-rw-r--r--lib/prime.rb162
-rw-r--r--lib/profiler.rb9
-rw-r--r--lib/pstore.rb22
-rw-r--r--lib/racc/parser.rb20
-rw-r--r--lib/racc/rdoc/grammar.en.rdoc2
-rw-r--r--lib/rake.rb10
-rw-r--r--lib/rake/alt_system.rb15
-rw-r--r--lib/rake/application.rb408
-rw-r--r--lib/rake/backtrace.rb21
-rw-r--r--lib/rake/classic_namespace.rb11
-rw-r--r--lib/rake/clean.rb52
-rw-r--r--lib/rake/cloneable.rb8
-rw-r--r--lib/rake/contrib/.document1
-rw-r--r--lib/rake/contrib/ftptools.rb32
-rw-r--r--lib/rake/contrib/publisher.rb16
-rw-r--r--lib/rake/contrib/rubyforgepublisher.rb4
-rw-r--r--lib/rake/contrib/sshpublisher.rb23
-rw-r--r--lib/rake/contrib/sys.rb194
-rw-r--r--lib/rake/cpu_counter.rb125
-rw-r--r--lib/rake/default_loader.rb4
-rw-r--r--lib/rake/dsl_definition.rb107
-rw-r--r--lib/rake/early_time.rb5
-rw-r--r--lib/rake/ext/core.rb10
-rw-r--r--lib/rake/ext/module.rb39
-rw-r--r--lib/rake/ext/pathname.rb25
-rw-r--r--lib/rake/ext/string.rb69
-rw-r--r--lib/rake/ext/time.rb7
-rw-r--r--lib/rake/file_list.rb78
-rw-r--r--lib/rake/file_task.rb11
-rw-r--r--lib/rake/file_utils.rb40
-rw-r--r--lib/rake/file_utils_ext.rb6
-rw-r--r--lib/rake/gempackagetask.rb17
-rw-r--r--lib/rake/invocation_chain.rb43
-rw-r--r--lib/rake/late_time.rb17
-rw-r--r--lib/rake/lib/.document1
-rw-r--r--lib/rake/lib/project.rake21
-rw-r--r--lib/rake/linked_list.rb103
-rw-r--r--lib/rake/name_space.rb59
-rw-r--r--lib/rake/packagetask.rb52
-rw-r--r--lib/rake/pathmap.rb2
-rw-r--r--lib/rake/promise.rb2
-rw-r--r--lib/rake/pseudo_status.rb9
-rw-r--r--lib/rake/rake_module.rb11
-rw-r--r--lib/rake/rdoctask.rb236
-rw-r--r--lib/rake/ruby182_test_unit_fix.rb8
-rw-r--r--lib/rake/runtest.rb11
-rw-r--r--lib/rake/scope.rb42
-rw-r--r--lib/rake/task.rb139
-rw-r--r--lib/rake/task_arguments.rb40
-rw-r--r--lib/rake/task_manager.rb91
-rw-r--r--lib/rake/tasklib.rb4
-rw-r--r--lib/rake/testtask.rb44
-rw-r--r--lib/rake/thread_history_display.rb2
-rw-r--r--lib/rake/thread_pool.rb37
-rw-r--r--lib/rake/trace_output.rb7
-rw-r--r--lib/rake/version.rb10
-rw-r--r--lib/rake/win32.rb7
-rw-r--r--lib/rational.rb23
-rw-r--r--lib/rbconfig/obsolete.rb38
-rw-r--r--lib/rdoc.rb9
-rw-r--r--lib/rdoc/any_method.rb62
-rw-r--r--lib/rdoc/class_module.rb32
-rw-r--r--lib/rdoc/code_object.rb121
-rw-r--r--lib/rdoc/comment.rb3
-rw-r--r--lib/rdoc/constant.rb10
-rw-r--r--lib/rdoc/context.rb33
-rw-r--r--lib/rdoc/cross_reference.rb2
-rw-r--r--lib/rdoc/encoding.rb4
-rw-r--r--lib/rdoc/extend.rb116
-rw-r--r--lib/rdoc/generator.rb1
-rw-r--r--lib/rdoc/generator/darkfish.rb54
-rw-r--r--lib/rdoc/generator/json_index.rb44
-rw-r--r--lib/rdoc/generator/pot.rb97
-rw-r--r--lib/rdoc/generator/pot/message_extractor.rb67
-rw-r--r--lib/rdoc/generator/pot/po.rb83
-rw-r--r--lib/rdoc/generator/pot/po_entry.rb140
-rw-r--r--lib/rdoc/generator/template/darkfish/_footer.rhtml8
-rw-r--r--lib/rdoc/generator/template/darkfish/_head.rhtml21
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml7
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml6
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml7
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml7
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml7
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml9
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml8
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml14
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml10
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml7
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml18
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml9
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml13
-rw-r--r--lib/rdoc/generator/template/darkfish/class.rhtml77
-rw-r--r--lib/rdoc/generator/template/darkfish/css/fonts.css167
-rw-r--r--lib/rdoc/generator/template/darkfish/fonts/Lato-Light.ttfbin94668 -> 0 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttfbin94196 -> 0 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttfbin96184 -> 0 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttfbin95316 -> 0 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttfbin71200 -> 0 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttfbin71692 -> 0 bytes-rwxr-xr-x[-rw-r--r--]lib/rdoc/generator/template/darkfish/images/add.pngbin733 -> 733 bytes-rwxr-xr-x[-rw-r--r--]lib/rdoc/generator/template/darkfish/images/arrow_up.pngbin372 -> 372 bytes-rwxr-xr-x[-rw-r--r--]lib/rdoc/generator/template/darkfish/images/delete.pngbin715 -> 715 bytes-rwxr-xr-x[-rw-r--r--]lib/rdoc/generator/template/darkfish/images/tag_blue.pngbin1880 -> 1880 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/index.rhtml18
-rw-r--r--lib/rdoc/generator/template/darkfish/js/darkfish.js58
-rw-r--r--lib/rdoc/generator/template/darkfish/js/search.js25
-rw-r--r--lib/rdoc/generator/template/darkfish/page.rhtml18
-rw-r--r--lib/rdoc/generator/template/darkfish/rdoc.css (renamed from lib/rdoc/generator/template/darkfish/css/rdoc.css)479
-rw-r--r--lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml10
-rw-r--r--lib/rdoc/generator/template/darkfish/servlet_root.rhtml38
-rw-r--r--lib/rdoc/generator/template/darkfish/table_of_contents.rhtml31
-rw-r--r--lib/rdoc/i18n.rb9
-rw-r--r--lib/rdoc/i18n/locale.rb101
-rw-r--r--lib/rdoc/i18n/text.rb125
-rw-r--r--lib/rdoc/include.rb118
-rw-r--r--lib/rdoc/known_classes.rb2
-rw-r--r--lib/rdoc/markdown.rb2345
-rw-r--r--lib/rdoc/markdown/literals_1_9.rb27
-rw-r--r--lib/rdoc/markup.rb29
-rw-r--r--lib/rdoc/markup/attribute_manager.rb7
-rw-r--r--lib/rdoc/markup/formatter.rb6
-rw-r--r--lib/rdoc/markup/heading.rb13
-rw-r--r--lib/rdoc/markup/parser.rb13
-rw-r--r--lib/rdoc/markup/pre_process.rb2
-rw-r--r--lib/rdoc/markup/to_html.rb114
-rw-r--r--lib/rdoc/markup/to_html_crossref.rb3
-rw-r--r--lib/rdoc/markup/to_joined_paragraph.rb2
-rw-r--r--lib/rdoc/markup/to_label.rb2
-rw-r--r--lib/rdoc/markup/to_markdown.rb12
-rw-r--r--lib/rdoc/markup/verbatim.rb2
-rw-r--r--lib/rdoc/method_attr.rb28
-rw-r--r--lib/rdoc/mixin.rb120
-rw-r--r--lib/rdoc/normal_class.rb4
-rw-r--r--lib/rdoc/normal_module.rb4
-rw-r--r--lib/rdoc/options.rb140
-rw-r--r--lib/rdoc/parser.rb17
-rw-r--r--lib/rdoc/parser/c.rb74
-rw-r--r--lib/rdoc/parser/changelog.rb10
-rw-r--r--lib/rdoc/parser/ruby.rb1169
-rw-r--r--lib/rdoc/rd/block_parser.rb8
-rw-r--r--lib/rdoc/rd/inline_parser.rb2
-rw-r--r--lib/rdoc/rdoc.rb17
-rw-r--r--lib/rdoc/ri/driver.rb281
-rw-r--r--lib/rdoc/ri/paths.rb12
-rw-r--r--lib/rdoc/ri/task.rb71
-rw-r--r--lib/rdoc/ruby_lex.rb235
-rw-r--r--lib/rdoc/ruby_token.rb95
-rw-r--r--lib/rdoc/rubygems_hook.rb19
-rw-r--r--lib/rdoc/servlet.rb41
-rw-r--r--lib/rdoc/single_class.rb4
-rw-r--r--lib/rdoc/stats.rb113
-rw-r--r--lib/rdoc/stats/normal.rb33
-rw-r--r--lib/rdoc/store.rb8
-rw-r--r--lib/rdoc/task.rb2
-rw-r--r--lib/rdoc/test_case.rb39
-rw-r--r--lib/rdoc/text.rb11
-rw-r--r--lib/rdoc/token_stream.rb2
-rw-r--r--lib/rdoc/tom_doc.rb32
-rw-r--r--lib/rdoc/top_level.rb4
-rw-r--r--lib/resolv.rb477
-rw-r--r--lib/rexml/attribute.rb9
-rw-r--r--lib/rexml/comment.rb1
-rw-r--r--lib/rexml/document.rb30
-rw-r--r--lib/rexml/dtd/dtd.rb5
-rw-r--r--lib/rexml/dtd/elementdecl.rb4
-rw-r--r--lib/rexml/element.rb15
-rw-r--r--lib/rexml/entity.rb4
-rw-r--r--lib/rexml/formatters/pretty.rb2
-rw-r--r--lib/rexml/functions.rb2
-rw-r--r--lib/rexml/parent.rb2
-rw-r--r--lib/rexml/parsers/baseparser.rb28
-rw-r--r--lib/rexml/parsers/sax2parser.rb31
-rw-r--r--lib/rexml/parsers/streamparser.rb6
-rw-r--r--lib/rexml/parsers/treeparser.rb6
-rw-r--r--lib/rexml/parsers/ultralightparser.rb2
-rw-r--r--lib/rexml/parsers/xpathparser.rb43
-rw-r--r--lib/rexml/rexml.rb12
-rw-r--r--lib/rexml/sax2listener.rb16
-rw-r--r--lib/rexml/security.rb27
-rw-r--r--lib/rexml/source.rb4
-rw-r--r--lib/rexml/streamlistener.rb14
-rw-r--r--lib/rexml/text.rb22
-rw-r--r--lib/rexml/validation/relaxng.rb21
-rw-r--r--lib/rexml/validation/validation.rb12
-rw-r--r--lib/rexml/xmltokens.rb76
-rw-r--r--lib/rexml/xpath_parser.rb108
-rw-r--r--lib/rinda/rinda.rb50
-rw-r--r--lib/rinda/ring.rb303
-rw-r--r--lib/rinda/tuplespace.rb4
-rw-r--r--lib/rss/0.9.rb33
-rw-r--r--lib/rss/1.0.rb32
-rw-r--r--lib/rss/2.0.rb31
-rw-r--r--lib/rss/atom.rb2
-rw-r--r--lib/rss/content.rb2
-rw-r--r--lib/rss/dublincore.rb2
-rw-r--r--lib/rss/image.rb4
-rw-r--r--lib/rss/itunes.rb2
-rw-r--r--lib/rss/maker/base.rb2
-rw-r--r--lib/rss/parser.rb2
-rw-r--r--lib/rss/rexmlparser.rb5
-rw-r--r--lib/rss/rss.rb68
-rw-r--r--lib/rss/slash.rb2
-rw-r--r--lib/rss/syndication.rb3
-rw-r--r--lib/rss/taxonomy.rb4
-rw-r--r--lib/rss/trackback.rb4
-rw-r--r--lib/rss/utils.rb92
-rw-r--r--lib/rss/xmlparser.rb3
-rw-r--r--lib/rubygems.rb360
-rw-r--r--lib/rubygems/LICENSE.txt75
-rw-r--r--lib/rubygems/available_set.rb71
-rw-r--r--lib/rubygems/basic_specification.rb290
-rw-r--r--lib/rubygems/command.rb5
-rw-r--r--lib/rubygems/command_manager.rb80
-rw-r--r--lib/rubygems/commands/build_command.rb19
-rw-r--r--lib/rubygems/commands/cert_command.rb105
-rw-r--r--lib/rubygems/commands/check_command.rb7
-rw-r--r--lib/rubygems/commands/cleanup_command.rb18
-rw-r--r--lib/rubygems/commands/contents_command.rb185
-rw-r--r--lib/rubygems/commands/dependency_command.rb162
-rw-r--r--lib/rubygems/commands/environment_command.rb133
-rw-r--r--lib/rubygems/commands/fetch_command.rb13
-rw-r--r--lib/rubygems/commands/generate_index_command.rb2
-rw-r--r--lib/rubygems/commands/help_command.rb339
-rw-r--r--lib/rubygems/commands/install_command.rb241
-rw-r--r--lib/rubygems/commands/list_command.rb21
-rw-r--r--lib/rubygems/commands/mirror_command.rb30
-rw-r--r--lib/rubygems/commands/open_command.rb74
-rw-r--r--lib/rubygems/commands/outdated_command.rb21
-rw-r--r--lib/rubygems/commands/owner_command.rb21
-rw-r--r--lib/rubygems/commands/pristine_command.rb50
-rw-r--r--lib/rubygems/commands/push_command.rb23
-rw-r--r--lib/rubygems/commands/query_command.rb59
-rw-r--r--lib/rubygems/commands/rdoc_command.rb8
-rw-r--r--lib/rubygems/commands/search_command.rb23
-rw-r--r--lib/rubygems/commands/setup_command.rb18
-rw-r--r--lib/rubygems/commands/sources_command.rb201
-rw-r--r--lib/rubygems/commands/specification_command.rb18
-rw-r--r--lib/rubygems/commands/stale_command.rb10
-rw-r--r--lib/rubygems/commands/uninstall_command.rb59
-rw-r--r--lib/rubygems/commands/unpack_command.rb20
-rw-r--r--lib/rubygems/commands/update_command.rb218
-rw-r--r--lib/rubygems/commands/which_command.rb24
-rw-r--r--lib/rubygems/commands/yank_command.rb39
-rw-r--r--lib/rubygems/compatibility.rb7
-rw-r--r--lib/rubygems/config_file.rb37
-rw-r--r--lib/rubygems/core_ext/kernel_gem.rb24
-rwxr-xr-xlib/rubygems/core_ext/kernel_require.rb38
-rw-r--r--lib/rubygems/defaults.rb78
-rw-r--r--lib/rubygems/dependency.rb65
-rw-r--r--lib/rubygems/dependency_installer.rb424
-rw-r--r--lib/rubygems/dependency_list.rb6
-rw-r--r--lib/rubygems/dependency_resolver.rb575
-rw-r--r--lib/rubygems/deprecate.rb2
-rw-r--r--lib/rubygems/doctor.rb28
-rw-r--r--lib/rubygems/errors.rb54
-rw-r--r--lib/rubygems/exceptions.rb165
-rw-r--r--lib/rubygems/ext.rb3
-rw-r--r--lib/rubygems/ext/build_error.rb6
-rw-r--r--lib/rubygems/ext/builder.rb161
-rw-r--r--lib/rubygems/ext/cmake_builder.rb4
-rw-r--r--lib/rubygems/ext/configure_builder.rb4
-rw-r--r--lib/rubygems/ext/ext_conf_builder.rb42
-rw-r--r--lib/rubygems/ext/rake_builder.rb7
-rw-r--r--lib/rubygems/gem_runner.rb26
-rw-r--r--lib/rubygems/gemcutter_utilities.rb120
-rw-r--r--lib/rubygems/indexer.rb12
-rw-r--r--lib/rubygems/install_default_message.rb12
-rw-r--r--lib/rubygems/install_update_options.rb20
-rw-r--r--lib/rubygems/installer.rb248
-rw-r--r--lib/rubygems/installer_test_case.rb7
-rw-r--r--lib/rubygems/local_remote_options.rb4
-rw-r--r--lib/rubygems/name_tuple.rb29
-rw-r--r--lib/rubygems/package.rb130
-rw-r--r--lib/rubygems/package/file_source.rb33
-rw-r--r--lib/rubygems/package/io_source.rb45
-rw-r--r--lib/rubygems/package/old.rb14
-rw-r--r--lib/rubygems/package/source.rb3
-rw-r--r--lib/rubygems/package/tar_header.rb2
-rw-r--r--lib/rubygems/package/tar_reader/entry.rb2
-rw-r--r--lib/rubygems/package/tar_test_case.rb18
-rw-r--r--lib/rubygems/package/tar_writer.rb59
-rw-r--r--lib/rubygems/path_support.rb10
-rw-r--r--lib/rubygems/platform.rb25
-rw-r--r--lib/rubygems/psych_additions.rb4
-rw-r--r--lib/rubygems/rdoc.rb7
-rw-r--r--lib/rubygems/remote_fetcher.rb370
-rw-r--r--lib/rubygems/request.rb244
-rw-r--r--lib/rubygems/request/connection_pools.rb83
-rw-r--r--lib/rubygems/request/http_pool.rb47
-rw-r--r--lib/rubygems/request/https_pool.rb10
-rw-r--r--lib/rubygems/request_set.rb467
-rw-r--r--lib/rubygems/request_set/gem_dependency_api.rb801
-rw-r--r--lib/rubygems/request_set/lockfile.rb650
-rw-r--r--lib/rubygems/requirement.rb91
-rw-r--r--lib/rubygems/resolver.rb485
-rw-r--r--lib/rubygems/resolver/activation_request.rb172
-rw-r--r--lib/rubygems/resolver/api_set.rb125
-rw-r--r--lib/rubygems/resolver/api_specification.rb85
-rw-r--r--lib/rubygems/resolver/best_set.rb78
-rw-r--r--lib/rubygems/resolver/composed_set.rb66
-rw-r--r--lib/rubygems/resolver/conflict.rb160
-rw-r--r--lib/rubygems/resolver/current_set.rb13
-rw-r--r--lib/rubygems/resolver/dependency_request.rb116
-rw-r--r--lib/rubygems/resolver/git_set.rb122
-rw-r--r--lib/rubygems/resolver/git_specification.rb59
-rw-r--r--lib/rubygems/resolver/index_set.rb80
-rw-r--r--lib/rubygems/resolver/index_specification.rb69
-rw-r--r--lib/rubygems/resolver/installed_specification.rb58
-rw-r--r--lib/rubygems/resolver/installer_set.rb224
-rw-r--r--lib/rubygems/resolver/local_specification.rb41
-rw-r--r--lib/rubygems/resolver/lock_set.rb84
-rw-r--r--lib/rubygems/resolver/lock_specification.rb84
-rw-r--r--lib/rubygems/resolver/requirement_list.rb81
-rw-r--r--lib/rubygems/resolver/set.rb56
-rw-r--r--lib/rubygems/resolver/spec_specification.rb56
-rw-r--r--lib/rubygems/resolver/specification.rb110
-rw-r--r--lib/rubygems/resolver/stats.rb44
-rw-r--r--lib/rubygems/resolver/vendor_set.rb87
-rw-r--r--lib/rubygems/resolver/vendor_specification.rb24
-rw-r--r--lib/rubygems/security.rb61
-rw-r--r--lib/rubygems/security/policy.rb50
-rw-r--r--lib/rubygems/security/signer.rb24
-rw-r--r--lib/rubygems/security/trust_dir.rb18
-rw-r--r--lib/rubygems/server.rb43
-rw-r--r--lib/rubygems/source.rb139
-rw-r--r--lib/rubygems/source/git.rb240
-rw-r--r--lib/rubygems/source/installed.rb40
-rw-r--r--lib/rubygems/source/local.rb129
-rw-r--r--lib/rubygems/source/lock.rb48
-rw-r--r--lib/rubygems/source/specific_file.rb72
-rw-r--r--lib/rubygems/source/vendor.rb27
-rw-r--r--lib/rubygems/source_list.rb86
-rw-r--r--lib/rubygems/source_local.rb91
-rw-r--r--lib/rubygems/source_specific_file.rb28
-rw-r--r--lib/rubygems/spec_fetcher.rb70
-rw-r--r--lib/rubygems/specification.rb801
-rw-r--r--lib/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem25
-rw-r--r--lib/rubygems/ssl_certs/AddTrustExternalCARoot.pem32
-rw-r--r--lib/rubygems/stub_specification.rb196
-rw-r--r--lib/rubygems/syck_hack.rb6
-rw-r--r--lib/rubygems/test_case.rb544
-rw-r--r--lib/rubygems/test_utilities.rb200
-rw-r--r--lib/rubygems/text.rb20
-rw-r--r--lib/rubygems/uninstaller.rb60
-rw-r--r--lib/rubygems/uri_formatter.rb49
-rw-r--r--lib/rubygems/user_interaction.rb283
-rw-r--r--lib/rubygems/util.rb134
-rw-r--r--lib/rubygems/util/list.rb48
-rw-r--r--lib/rubygems/util/stringio.rb34
-rw-r--r--lib/rubygems/validator.rb8
-rw-r--r--lib/rubygems/version.rb58
-rw-r--r--lib/rubygems/version_option.rb10
-rw-r--r--lib/scanf.rb11
-rw-r--r--lib/securerandom.rb239
-rw-r--r--lib/set.rb105
-rw-r--r--lib/shell.rb49
-rw-r--r--lib/shell/builtin-command.rb14
-rw-r--r--lib/shell/command-processor.rb12
-rw-r--r--lib/shell/filter.rb2
-rw-r--r--lib/shell/process-controller.rb9
-rw-r--r--lib/shell/system-command.rb1
-rw-r--r--lib/shellwords.rb20
-rw-r--r--lib/sync.rb2
-rw-r--r--lib/tempfile.rb78
-rw-r--r--lib/test/unit.rb (renamed from test/lib/test/unit.rb)67
-rw-r--r--lib/test/unit/assertions.rb (renamed from test/lib/test/unit/assertions.rb)167
-rw-r--r--lib/test/unit/parallel.rb (renamed from test/lib/test/unit/parallel.rb)27
-rw-r--r--lib/test/unit/test-unit.gemspec14
-rw-r--r--lib/test/unit/testcase.rb (renamed from test/lib/test/unit/testcase.rb)2
-rw-r--r--lib/thread.rb375
-rw-r--r--lib/thwait.rb6
-rw-r--r--lib/time.rb124
-rw-r--r--lib/timeout.rb54
-rw-r--r--lib/tmpdir.rb47
-rw-r--r--lib/tracer.rb14
-rw-r--r--lib/tsort.rb248
-rw-r--r--lib/un.rb34
-rw-r--r--lib/unicode_normalize.rb78
-rw-r--r--lib/unicode_normalize/normalize.rb168
-rw-r--r--lib/unicode_normalize/tables.rb1163
-rw-r--r--lib/uri.rb2
-rw-r--r--lib/uri/common.rb857
-rw-r--r--lib/uri/ftp.rb25
-rw-r--r--lib/uri/generic.rb267
-rw-r--r--lib/uri/http.rb10
-rw-r--r--lib/uri/mailto.rb138
-rw-r--r--lib/uri/rfc2396_parser.rb543
-rw-r--r--lib/uri/rfc3986_parser.rb109
-rw-r--r--lib/weakref.rb23
-rw-r--r--lib/webrick.rb4
-rw-r--r--lib/webrick/accesslog.rb2
-rw-r--r--lib/webrick/compat.rb2
-rw-r--r--lib/webrick/httpauth/digestauth.rb2
-rw-r--r--lib/webrick/httpauth/htdigest.rb9
-rw-r--r--lib/webrick/httpauth/htpasswd.rb9
-rw-r--r--lib/webrick/httpproxy.rb6
-rw-r--r--lib/webrick/httprequest.rb5
-rw-r--r--lib/webrick/httpresponse.rb14
-rw-r--r--lib/webrick/httpserver.rb4
-rw-r--r--lib/webrick/httpservlet/cgihandler.rb3
-rw-r--r--lib/webrick/httpservlet/erbhandler.rb2
-rw-r--r--lib/webrick/httpservlet/filehandler.rb73
-rw-r--r--lib/webrick/httpstatus.rb4
-rw-r--r--lib/webrick/server.rb82
-rw-r--r--lib/webrick/ssl.rb3
-rw-r--r--lib/webrick/utils.rb36
-rw-r--r--lib/xmlrpc.rb4
-rw-r--r--lib/xmlrpc/client.rb36
-rw-r--r--lib/xmlrpc/config.rb3
-rw-r--r--lib/xmlrpc/datetime.rb2
-rw-r--r--lib/xmlrpc/httpserver.rb173
-rw-r--r--lib/xmlrpc/parser.rb34
-rw-r--r--lib/xmlrpc/server.rb2
-rw-r--r--lib/yaml.rb44
-rw-r--r--lib/yaml/dbm.rb77
-rw-r--r--load.c183
-rw-r--r--loadpath.c92
-rw-r--r--localeinit.c68
-rw-r--r--man/rake.1300
-rw-r--r--man/ruby.1141
-rw-r--r--marshal.c525
-rw-r--r--math.c407
-rw-r--r--method.h15
-rw-r--r--miniinit.c30
-rw-r--r--misc/README2
-rw-r--r--misc/inf-ruby.el2
-rw-r--r--misc/rdoc-mode.el42
-rw-r--r--misc/ruby-additional.el212
-rw-r--r--misc/ruby-electric.el558
-rw-r--r--misc/ruby-mode.el158
-rw-r--r--misc/ruby-style.el1
-rw-r--r--missing/crypt.c2
-rw-r--r--missing/file.h2
-rw-r--r--missing/flock.c4
-rw-r--r--missing/isnan.c15
-rw-r--r--missing/nextafter.c77
-rw-r--r--missing/setproctitle.c7
-rw-r--r--nacl/GNUmakefile.in49
-rw-r--r--nacl/README.nacl25
-rw-r--r--nacl/ioctl.h7
-rw-r--r--[-rwxr-xr-x]nacl/nacl-config.rb16
-rw-r--r--nacl/package.rb6
-rw-r--r--nacl/pepper_main.c248
-rw-r--r--node.c217
-rw-r--r--node.h31
-rw-r--r--numeric.c1515
-rw-r--r--object.c771
-rw-r--r--pack.c718
-rw-r--r--parse.y3279
-rw-r--r--prelude.rb6
-rw-r--r--probes.d61
-rw-r--r--probes_helper.h2
-rw-r--r--proc.c740
-rw-r--r--process.c2053
-rw-r--r--random.c349
-rw-r--r--range.c161
-rw-r--r--rational.c485
-rw-r--r--re.c171
-rw-r--r--regcomp.c225
-rw-r--r--regenc.c66
-rw-r--r--regenc.h33
-rw-r--r--regerror.c26
-rw-r--r--regexec.c86
-rw-r--r--regint.h89
-rw-r--r--regparse.c466
-rw-r--r--regparse.h12
-rw-r--r--ruby.c437
-rw-r--r--ruby_atomic.h4
-rw-r--r--safe.c46
-rw-r--r--sample/benchmark.rb19
-rw-r--r--sample/cal.rb10
-rw-r--r--sample/cgi-session-pstore.rb11
-rw-r--r--sample/coverage.rb2
-rw-r--r--sample/delegate.rb31
-rw-r--r--sample/drb/README.rd (renamed from sample/drb/README.rdoc)6
-rw-r--r--sample/drb/README.rd.ja (renamed from sample/drb/README.ja.rdoc)2
-rw-r--r--sample/drb/acl.rb15
-rw-r--r--sample/drb/dbiff.rb22
-rw-r--r--sample/drb/dchats.rb20
-rw-r--r--sample/drb/dlogd.rb4
-rw-r--r--sample/drb/http0.rb60
-rw-r--r--sample/drb/http0serv.rb106
-rw-r--r--sample/drb/old_tuplespace.rb74
-rw-r--r--sample/drb/ring_place.rb6
-rw-r--r--sample/drb/simpletuple.rb8
-rw-r--r--sample/dualstack-fetch.rb2
-rw-r--r--sample/dualstack-httpd.rb32
-rw-r--r--sample/exyacc.rb24
-rw-r--r--sample/fib.awk8
-rw-r--r--sample/fib.pl4
-rw-r--r--sample/fib.scm4
-rw-r--r--sample/freq.rb2
-rw-r--r--sample/from.rb38
-rw-r--r--sample/mkproto.rb22
-rw-r--r--sample/net-imap.rb167
-rw-r--r--sample/observ.rb8
-rw-r--r--sample/occur.pl8
-rw-r--r--sample/occur.rb2
-rw-r--r--sample/occur2.rb2
-rw-r--r--sample/open3.rb12
-rw-r--r--sample/openssl/c_rehash.rb38
-rw-r--r--sample/openssl/certstore.rb52
-rw-r--r--sample/openssl/crlstore.rb32
-rwxr-xr-xsample/optparse/opttest.rb70
-rw-r--r--sample/pstore.rb19
-rw-r--r--sample/pty/expect_sample.rb2
-rw-r--r--sample/rcs.awk54
-rw-r--r--sample/rinda-ring.rb22
-rw-r--r--sample/simple-bench.rb140
-rw-r--r--sample/tempfile.rb8
-rwxr-xr-xsample/test.rb44
-rw-r--r--sample/timeout.rb2
-rw-r--r--sample/trick2013/README.md13
-rw-r--r--sample/trick2013/kinaba/authors.markdown3
-rw-r--r--sample/trick2013/kinaba/entry.rb1
-rw-r--r--sample/trick2013/kinaba/remarks.markdown37
-rw-r--r--sample/trick2013/mame/authors.markdown3
-rw-r--r--sample/trick2013/mame/entry.rb97
-rw-r--r--sample/trick2013/mame/music-box.mp4bin580724 -> 0 bytes-rw-r--r--sample/trick2013/mame/remarks.markdown47
-rw-r--r--sample/trick2013/shinh/authors.markdown2
-rw-r--r--sample/trick2013/shinh/entry.rb10
-rw-r--r--sample/trick2013/shinh/remarks.markdown4
-rw-r--r--sample/trick2013/yhara/authors.markdown3
-rw-r--r--sample/trick2013/yhara/entry.rb28
-rw-r--r--sample/trick2013/yhara/remarks.en.markdown23
-rw-r--r--sample/trick2013/yhara/remarks.markdown24
-rw-r--r--sample/trojan.rb2
-rw-r--r--sample/weakref.rb9
-rw-r--r--signal.c418
-rw-r--r--siphash.c7
-rw-r--r--sparc.c11
-rw-r--r--spec/default.mspec4
-rw-r--r--sprintf.c440
-rw-r--r--st.c426
-rw-r--r--strftime.c3
-rw-r--r--string.c2692
-rw-r--r--struct.c550
-rw-r--r--symbian/README.SYMBIAN93
-rw-r--r--symbian/configure.bat123
-rw-r--r--symbian/missing-aeabi.c18
-rw-r--r--symbian/missing-pips.c65
-rw-r--r--symbian/pre-build83
-rw-r--r--symbian/setup440
-rw-r--r--symbol.c1121
-rw-r--r--symbol.h87
-rw-r--r--template/Doxyfile.tmpl2
-rw-r--r--template/GNUmakefile.in6
-rw-r--r--template/encdb.h.tmpl14
-rw-r--r--template/fake.rb.in41
-rw-r--r--template/id.h.tmpl44
-rw-r--r--template/insns.inc.tmpl2
-rw-r--r--template/insns_info.inc.tmpl2
-rw-r--r--template/known_errors.inc.tmpl2
-rw-r--r--template/minsns.inc.tmpl2
-rw-r--r--template/opt_sc.inc.tmpl2
-rw-r--r--template/optinsn.inc.tmpl2
-rw-r--r--template/optunifs.inc.tmpl2
-rw-r--r--template/ruby.pc.in23
-rw-r--r--template/sizes.c.tmpl30
-rw-r--r--template/unicode_norm_gen.tmpl225
-rw-r--r--template/verconf.h.tmpl61
-rw-r--r--template/vm.inc.tmpl2
-rw-r--r--template/yarvarch.ja14
-rw-r--r--test/-ext-/bignum/test_big2str.rb29
-rw-r--r--test/-ext-/bignum/test_bigzero.rb13
-rw-r--r--test/-ext-/bignum/test_div.rb28
-rw-r--r--test/-ext-/bignum/test_mul.rb137
-rw-r--r--test/-ext-/bignum/test_pack.rb398
-rw-r--r--test/-ext-/bignum/test_str2big.rb37
-rw-r--r--test/-ext-/bug_reporter/test_bug_reporter.rb25
-rw-r--r--test/-ext-/class/test_class2name.rb18
-rw-r--r--test/-ext-/debug/test_debug.rb30
-rw-r--r--test/-ext-/debug/test_profile_frames.rb104
-rw-r--r--test/-ext-/exception/test_data_error.rb13
-rw-r--r--test/-ext-/exception/test_ensured.rb1
-rw-r--r--test/-ext-/file/test_stat.rb14
-rw-r--r--test/-ext-/float/test_nextafter.rb57
-rw-r--r--test/-ext-/hash/test_delete.rb19
-rw-r--r--test/-ext-/iseq_load/test_iseq_load.rb95
-rw-r--r--test/-ext-/iter/test_iter_break.rb11
-rw-r--r--test/-ext-/iter/test_yield_block.rb21
-rw-r--r--test/-ext-/marshal/test_usrmarshal.rb4
-rw-r--r--test/-ext-/num2int/test_num2int.rb374
-rw-r--r--test/-ext-/old_thread_select/test_old_thread_select.rb100
-rw-r--r--test/-ext-/postponed_job/test_postponed_job.rb28
-rw-r--r--test/-ext-/proc/test_bmethod.rb37
-rw-r--r--test/-ext-/rational/test_rat.rb31
-rw-r--r--test/-ext-/st/test_foreach.rb15
-rw-r--r--test/-ext-/string/test_coderange.rb59
-rw-r--r--test/-ext-/string/test_cstr.rb82
-rw-r--r--test/-ext-/string/test_ellipsize.rb2
-rw-r--r--test/-ext-/string/test_modify_expand.rb4
-rw-r--r--test/-ext-/string/test_normalize.rb106
-rw-r--r--test/-ext-/struct/test_member.rb1
-rw-r--r--test/-ext-/symbol/test_inadvertent_creation.rb203
-rw-r--r--test/-ext-/symbol/test_type.rb10
-rw-r--r--test/-ext-/test_bug-3571.rb1
-rw-r--r--test/-ext-/test_printf.rb147
-rw-r--r--test/-ext-/test_recursion.rb35
-rw-r--r--test/-ext-/tracepoint/test_tracepoint.rb79
-rw-r--r--test/-ext-/typeddata/test_typeddata.rb15
-rw-r--r--test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb2
-rw-r--r--test/-ext-/win32/test_console_attr.rb43
-rw-r--r--test/-ext-/win32/test_dln.rb23
-rw-r--r--test/-ext-/win32/test_fd_setsize.rb1
-rw-r--r--test/benchmark/test_benchmark.rb136
-rw-r--r--test/bigdecimal/test_bigdecimal.rb120
-rw-r--r--test/bigdecimal/test_bigdecimal_util.rb13
-rw-r--r--test/bigdecimal/test_bigmath.rb17
-rw-r--r--test/cgi/test_cgi_core.rb65
-rw-r--r--test/cgi/test_cgi_header.rb8
-rw-r--r--test/cgi/test_cgi_multipart.rb60
-rw-r--r--test/cgi/test_cgi_tag_helper.rb13
-rw-r--r--test/cgi/test_cgi_util.rb46
-rw-r--r--test/csv/base.rb2
-rwxr-xr-xtest/csv/test_data_converters.rb4
-rwxr-xr-xtest/csv/test_encodings.rb30
-rwxr-xr-xtest/csv/test_features.rb93
-rwxr-xr-xtest/csv/test_headers.rb34
-rwxr-xr-xtest/csv/test_interface.rb37
-rwxr-xr-xtest/csv/test_row.rb51
-rwxr-xr-xtest/csv/test_table.rb24
-rw-r--r--test/date/test_date.rb12
-rw-r--r--test/date/test_date_arith.rb30
-rw-r--r--test/date/test_date_attr.rb9
-rw-r--r--test/date/test_date_parse.rb13
-rw-r--r--test/date/test_date_strptime.rb22
-rw-r--r--test/dbm/test_dbm.rb27
-rw-r--r--test/digest/digest/foo.rb10
-rwxr-xr-x[-rw-r--r--]test/digest/test_digest.rb119
-rw-r--r--test/digest/test_digest_extend.rb2
-rw-r--r--test/digest/test_digest_hmac.rb2
-rw-r--r--test/dl/test_base.rb137
-rw-r--r--test/dl/test_c_struct_entry.rb55
-rw-r--r--test/dl/test_c_union_entity.rb31
-rw-r--r--test/dl/test_callback.rb72
-rw-r--r--test/dl/test_cfunc.rb80
-rw-r--r--test/dl/test_cparser.rb33
-rw-r--r--test/dl/test_cptr.rb226
-rw-r--r--test/dl/test_dl2.rb167
-rw-r--r--test/dl/test_func.rb184
-rw-r--r--test/dl/test_handle.rb191
-rw-r--r--test/dl/test_import.rb165
-rw-r--r--test/dl/test_win32.rb54
-rw-r--r--test/drb/drbtest.rb61
-rw-r--r--test/drb/ignore_test_drb.rb19
-rw-r--r--test/drb/test_acl.rb4
-rw-r--r--test/drb/test_drb.rb69
-rw-r--r--test/drb/test_drbssl.rb24
-rw-r--r--test/drb/test_drbunix.rb23
-rw-r--r--test/drb/ut_array.rb3
-rw-r--r--test/drb/ut_array_drbssl.rb13
-rw-r--r--test/drb/ut_array_drbunix.rb1
-rw-r--r--test/drb/ut_drb.rb6
-rw-r--r--test/drb/ut_drb_drbssl.rb13
-rw-r--r--test/drb/ut_drb_drbunix.rb3
-rw-r--r--test/drb/ut_eq.rb8
-rw-r--r--test/drb/ut_eval.rb7
-rw-r--r--test/drb/ut_large.rb7
-rw-r--r--test/drb/ut_port.rb1
-rw-r--r--test/drb/ut_safe1.rb1
-rw-r--r--test/drb/ut_timerholder.rb6
-rw-r--r--test/dtrace/helper.rb28
-rw-r--r--test/dtrace/test_array_create.rb2
-rw-r--r--test/dtrace/test_cmethod.rb2
-rw-r--r--test/dtrace/test_function_entry.rb2
-rw-r--r--test/dtrace/test_gc.rb2
-rw-r--r--test/dtrace/test_hash_create.rb2
-rw-r--r--test/dtrace/test_load.rb2
-rw-r--r--test/dtrace/test_method_cache.rb28
-rw-r--r--test/dtrace/test_object_create_start.rb2
-rw-r--r--test/dtrace/test_raise.rb2
-rw-r--r--test/dtrace/test_require.rb2
-rw-r--r--test/dtrace/test_singleton_function.rb2
-rw-r--r--test/dtrace/test_string.rb2
-rw-r--r--test/erb/test_erb.rb24
-rw-r--r--test/erb/test_erb_command.rb11
-rw-r--r--test/erb/test_erb_m17n.rb2
-rw-r--r--test/etc/test_etc.rb56
-rw-r--r--test/fiddle/helper.rb10
-rw-r--r--test/fiddle/test_function.rb10
-rw-r--r--test/fiddle/test_handle.rb9
-rw-r--r--test/fiddle/test_import.rb1
-rw-r--r--test/fiddle/test_pointer.rb1
-rw-r--r--test/fileutils/fileasserts.rb41
-rw-r--r--test/fileutils/test_fileutils.rb596
-rw-r--r--test/gdbm/test_gdbm.rb113
-rw-r--r--test/inlinetest.rb55
-rw-r--r--test/io/console/test_io_console.rb55
-rw-r--r--test/io/nonblock/test_flush.rb14
-rw-r--r--test/io/wait/test_io_wait.rb8
-rw-r--r--test/irb/test_completion.rb1
-rw-r--r--test/irb/test_option.rb1
-rw-r--r--test/irb/test_raise_no_backtrace_exception.rb13
-rwxr-xr-xtest/json/test_json.rb2
-rwxr-xr-xtest/json/test_json_generate.rb23
-rw-r--r--test/json/test_json_generic_object.rb15
-rw-r--r--test/lib/find_executable.rb21
-rw-r--r--test/lib/leakchecker.rb164
-rw-r--r--test/lib/minitest/autorun.rb13
-rw-r--r--test/lib/profile_test_all.rb90
-rw-r--r--test/lib/tracepointchecker.rb118
-rw-r--r--test/logger/test_logdevice.rb419
-rw-r--r--test/logger/test_logger.rb295
-rw-r--r--test/logger/test_severity.rb15
-rw-r--r--test/matrix/test_matrix.rb153
-rw-r--r--test/matrix/test_vector.rb66
-rw-r--r--test/minitest/metametameta.rb5
-rw-r--r--test/minitest/test_minitest_benchmark.rb21
-rw-r--r--test/minitest/test_minitest_mock.rb76
-rw-r--r--test/minitest/test_minitest_spec.rb738
-rw-r--r--test/minitest/test_minitest_unit.rb442
-rw-r--r--test/misc/test_ruby_mode.rb5
-rw-r--r--test/mkmf/base.rb11
-rw-r--r--test/mkmf/test_config.rb16
-rw-r--r--test/mkmf/test_framework.rb6
-rw-r--r--test/mkmf/test_have_library.rb10
-rw-r--r--test/mkmf/test_have_macro.rb4
-rw-r--r--test/monitor/test_monitor.rb131
-rw-r--r--test/net/ftp/test_ftp.rb38
-rw-r--r--test/net/http/test_http.rb109
-rw-r--r--test/net/http/test_https.rb46
-rw-r--r--test/net/http/test_https_proxy.rb31
-rw-r--r--test/net/http/utils.rb25
-rw-r--r--test/net/imap/test_imap.rb414
-rw-r--r--test/net/imap/test_imap_response_parser.rb80
-rw-r--r--test/net/pop/test_pop.rb30
-rw-r--r--test/net/smtp/test_smtp.rb25
-rw-r--r--test/objspace/test_objspace.rb170
-rw-r--r--test/open-uri/test_open-uri.rb215
-rw-r--r--test/open-uri/test_ssl.rb143
-rw-r--r--test/openssl/ssl_server.rb81
-rw-r--r--test/openssl/test_asn1.rb2
-rw-r--r--test/openssl/test_bn.rb37
-rw-r--r--test/openssl/test_buffering.rb2
-rw-r--r--test/openssl/test_cipher.rb8
-rw-r--r--test/openssl/test_config.rb30
-rw-r--r--test/openssl/test_digest.rb4
-rw-r--r--test/openssl/test_engine.rb2
-rw-r--r--test/openssl/test_fips.rb2
-rw-r--r--test/openssl/test_hmac.rb11
-rw-r--r--test/openssl/test_ns_spki.rb2
-rw-r--r--test/openssl/test_ocsp.rb2
-rw-r--r--test/openssl/test_pair.rb116
-rw-r--r--test/openssl/test_partial_record_read.rb34
-rw-r--r--test/openssl/test_pkcs12.rb2
-rw-r--r--test/openssl/test_pkcs5.rb2
-rw-r--r--test/openssl/test_pkcs7.rb143
-rw-r--r--test/openssl/test_pkey_dh.rb2
-rw-r--r--test/openssl/test_pkey_dsa.rb2
-rw-r--r--test/openssl/test_pkey_ec.rb2
-rw-r--r--test/openssl/test_pkey_rsa.rb2
-rw-r--r--test/openssl/test_ssl.rb194
-rw-r--r--test/openssl/test_ssl_session.rb125
-rw-r--r--test/openssl/test_x509cert.rb37
-rw-r--r--test/openssl/test_x509crl.rb2
-rw-r--r--test/openssl/test_x509ext.rb2
-rw-r--r--test/openssl/test_x509name.rb2
-rw-r--r--test/openssl/test_x509req.rb32
-rw-r--r--test/openssl/test_x509store.rb6
-rw-r--r--test/openssl/utils.rb126
-rw-r--r--test/optparse/test_optparse.rb3
-rw-r--r--test/ostruct/test_ostruct.rb27
-rw-r--r--test/pathname/test_pathname.rb71
-rw-r--r--test/profile_test_all.rb52
-rw-r--r--test/psych/helper.rb60
-rw-r--r--test/psych/json/test_stream.rb2
-rw-r--r--test/psych/test_alias_and_anchor.rb2
-rw-r--r--test/psych/test_array.rb2
-rw-r--r--test/psych/test_boolean.rb2
-rw-r--r--test/psych/test_class.rb2
-rw-r--r--test/psych/test_coder.rb6
-rw-r--r--test/psych/test_date_time.rb23
-rw-r--r--test/psych/test_deprecated.rb8
-rw-r--r--test/psych/test_document.rb2
-rw-r--r--test/psych/test_emitter.rb5
-rw-r--r--test/psych/test_encoding.rb121
-rw-r--r--test/psych/test_engine_manager.rb47
-rw-r--r--test/psych/test_exception.rb47
-rw-r--r--test/psych/test_hash.rb7
-rw-r--r--test/psych/test_json_tree.rb4
-rw-r--r--test/psych/test_marshalable.rb54
-rw-r--r--test/psych/test_merge_keys.rb50
-rw-r--r--test/psych/test_nil.rb2
-rw-r--r--test/psych/test_null.rb2
-rw-r--r--test/psych/test_numeric.rb2
-rw-r--r--test/psych/test_object.rb2
-rw-r--r--test/psych/test_object_references.rb6
-rw-r--r--test/psych/test_omap.rb2
-rw-r--r--test/psych/test_parser.rb2
-rw-r--r--test/psych/test_psych.rb29
-rw-r--r--test/psych/test_safe_load.rb97
-rw-r--r--test/psych/test_scalar.rb2
-rw-r--r--test/psych/test_scalar_scanner.rb4
-rw-r--r--test/psych/test_serialize_subclasses.rb2
-rw-r--r--test/psych/test_set.rb2
-rw-r--r--test/psych/test_stream.rb2
-rw-r--r--test/psych/test_string.rb52
-rw-r--r--test/psych/test_struct.rb2
-rw-r--r--test/psych/test_symbol.rb10
-rw-r--r--test/psych/test_tainted.rb16
-rw-r--r--test/psych/test_to_yaml_properties.rb2
-rw-r--r--test/psych/test_tree_builder.rb2
-rw-r--r--test/psych/test_yaml.rb5
-rw-r--r--test/psych/test_yamldbm.rb6
-rw-r--r--test/psych/test_yamlstore.rb4
-rw-r--r--test/psych/visitors/test_to_ruby.rb8
-rw-r--r--test/psych/visitors/test_yaml_tree.rb4
-rw-r--r--test/rake/helper.rb515
-rw-r--r--test/rake/support/rakefile_definitions.rb478
-rw-r--r--test/rake/support/ruby_runner.rb34
-rw-r--r--test/rake/test_rake_application.rb228
-rw-r--r--test/rake/test_rake_application_options.rb88
-rw-r--r--test/rake/test_rake_backtrace.rb60
-rw-r--r--test/rake/test_rake_clean.rb55
-rw-r--r--test/rake/test_rake_cpu_counter.rb68
-rw-r--r--test/rake/test_rake_definitions.rb10
-rw-r--r--test/rake/test_rake_directory_task.rb19
-rw-r--r--test/rake/test_rake_dsl.rb37
-rw-r--r--test/rake/test_rake_file_creation_task.rb4
-rw-r--r--test/rake/test_rake_file_list.rb75
-rw-r--r--test/rake/test_rake_file_task.rb103
-rw-r--r--test/rake/test_rake_file_utils.rb8
-rw-r--r--test/rake/test_rake_ftp_file.rb41
-rw-r--r--test/rake/test_rake_functional.rb60
-rw-r--r--test/rake/test_rake_invocation_chain.rb18
-rw-r--r--test/rake/test_rake_late_time.rb18
-rw-r--r--test/rake/test_rake_linked_list.rb84
-rw-r--r--test/rake/test_rake_makefile_loader.rb4
-rw-r--r--test/rake/test_rake_multi_task.rb11
-rw-r--r--test/rake/test_rake_name_space.rb16
-rw-r--r--test/rake/test_rake_path_map.rb35
-rw-r--r--test/rake/test_rake_pathname_extensions.rb15
-rw-r--r--test/rake/test_rake_rake_test_loader.rb5
-rw-r--r--test/rake/test_rake_rdoc_task.rb83
-rw-r--r--test/rake/test_rake_reduce_compat.rb47
-rw-r--r--test/rake/test_rake_rules.rb85
-rw-r--r--test/rake/test_rake_scope.rb44
-rw-r--r--test/rake/test_rake_task.rb105
-rw-r--r--test/rake/test_rake_task_argument_parsing.rb16
-rw-r--r--test/rake/test_rake_task_arguments.rb43
-rw-r--r--test/rake/test_rake_task_manager.rb51
-rw-r--r--test/rake/test_rake_task_manager_argument_resolution.rb17
-rw-r--r--test/rake/test_rake_task_with_arguments.rb25
-rw-r--r--test/rake/test_rake_test_task.rb32
-rw-r--r--test/rake/test_rake_thread_pool.rb72
-rw-r--r--test/rake/test_rake_top_level_functions.rb40
-rw-r--r--test/rake/test_sys.rb20
-rw-r--r--test/rake/test_thread_history_display.rb22
-rw-r--r--test/rake/test_trace_output.rb9
-rw-r--r--test/rdoc/test.ja.large.rdoc3
-rw-r--r--test/rdoc/test_attribute_manager.rb120
-rw-r--r--test/rdoc/test_rdoc_any_method.rb134
-rw-r--r--test/rdoc/test_rdoc_class_module.rb77
-rw-r--r--test/rdoc/test_rdoc_code_object.rb149
-rw-r--r--test/rdoc/test_rdoc_constant.rb30
-rw-r--r--test/rdoc/test_rdoc_context.rb19
-rw-r--r--test/rdoc/test_rdoc_context_section.rb7
-rw-r--r--test/rdoc/test_rdoc_cross_reference.rb7
-rw-r--r--test/rdoc/test_rdoc_encoding.rb23
-rw-r--r--test/rdoc/test_rdoc_generator_darkfish.rb80
-rw-r--r--test/rdoc/test_rdoc_generator_json_index.rb66
-rw-r--r--test/rdoc/test_rdoc_generator_markup.rb2
-rw-r--r--test/rdoc/test_rdoc_generator_pot.rb91
-rw-r--r--test/rdoc/test_rdoc_generator_pot_po.rb51
-rw-r--r--test/rdoc/test_rdoc_generator_pot_po_entry.rb139
-rw-r--r--test/rdoc/test_rdoc_generator_ri.rb8
-rw-r--r--test/rdoc/test_rdoc_i18n_locale.rb73
-rw-r--r--test/rdoc/test_rdoc_i18n_text.rb123
-rw-r--r--test/rdoc/test_rdoc_markdown.rb27
-rw-r--r--test/rdoc/test_rdoc_markdown_test.rb7
-rw-r--r--test/rdoc/test_rdoc_markup_attribute_manager.rb127
-rw-r--r--test/rdoc/test_rdoc_markup_document.rb7
-rw-r--r--test/rdoc/test_rdoc_markup_formatter.rb32
-rw-r--r--test/rdoc/test_rdoc_markup_heading.rb11
-rw-r--r--test/rdoc/test_rdoc_markup_parser.rb7
-rw-r--r--test/rdoc/test_rdoc_markup_pre_process.rb20
-rw-r--r--test/rdoc/test_rdoc_markup_raw.rb7
-rw-r--r--test/rdoc/test_rdoc_markup_to_html.rb156
-rw-r--r--test/rdoc/test_rdoc_markup_to_html_crossref.rb7
-rw-r--r--test/rdoc/test_rdoc_markup_to_html_snippet.rb23
-rw-r--r--test/rdoc/test_rdoc_markup_to_label.rb8
-rw-r--r--test/rdoc/test_rdoc_markup_to_markdown.rb6
-rw-r--r--test/rdoc/test_rdoc_method_attr.rb40
-rw-r--r--test/rdoc/test_rdoc_normal_class.rb13
-rw-r--r--test/rdoc/test_rdoc_normal_module.rb5
-rw-r--r--test/rdoc/test_rdoc_options.rb167
-rw-r--r--test/rdoc/test_rdoc_parser.rb42
-rw-r--r--test/rdoc/test_rdoc_parser_c.rb197
-rw-r--r--test/rdoc/test_rdoc_parser_changelog.rb9
-rw-r--r--test/rdoc/test_rdoc_parser_markdown.rb2
-rw-r--r--test/rdoc/test_rdoc_parser_rd.rb9
-rw-r--r--test/rdoc/test_rdoc_parser_ruby.rb371
-rw-r--r--test/rdoc/test_rdoc_parser_simple.rb2
-rw-r--r--test/rdoc/test_rdoc_rd_block_parser.rb12
-rw-r--r--test/rdoc/test_rdoc_rd_inline_parser.rb1
-rw-r--r--test/rdoc/test_rdoc_rdoc.rb72
-rw-r--r--test/rdoc/test_rdoc_ri_driver.rb31
-rw-r--r--test/rdoc/test_rdoc_ruby_lex.rb148
-rw-r--r--test/rdoc/test_rdoc_rubygems_hook.rb5
-rw-r--r--test/rdoc/test_rdoc_servlet.rb82
-rw-r--r--test/rdoc/test_rdoc_single_class.rb18
-rw-r--r--test/rdoc/test_rdoc_stats.rb357
-rw-r--r--test/rdoc/test_rdoc_store.rb30
-rw-r--r--test/rdoc/test_rdoc_task.rb50
-rw-r--r--test/rdoc/test_rdoc_text.rb74
-rw-r--r--test/rdoc/test_rdoc_tom_doc.rb60
-rw-r--r--test/rdoc/xref_test_case.rb2
-rw-r--r--test/readline/test_readline.rb219
-rw-r--r--test/readline/test_readline_history.rb35
-rw-r--r--test/resolv/test_addr.rb2
-rw-r--r--test/resolv/test_dns.rb144
-rw-r--r--test/rexml/data/ticket_110_utf16.xml (renamed from test/rexml/data/utf16.xml)bin207464 -> 207464 bytes-rw-r--r--test/rexml/data/tutorial.xml2
-rw-r--r--test/rexml/listener.rb94
-rw-r--r--test/rexml/parse/test_document_type_declaration.rb49
-rw-r--r--test/rexml/parse/test_notation_declaration.rb99
-rw-r--r--test/rexml/parser/test_sax2.rb202
-rw-r--r--test/rexml/parser/test_tree.rb42
-rw-r--r--test/rexml/parser/test_ultra_light.rb69
-rw-r--r--test/rexml/rexml_test_utils.rb1
-rw-r--r--test/rexml/test_attributes.rb340
-rw-r--r--test/rexml/test_attributes_mixin.rb51
-rw-r--r--test/rexml/test_changing_encoding.rb68
-rw-r--r--test/rexml/test_comment.rb2
-rw-r--r--test/rexml/test_contrib.rb881
-rw-r--r--test/rexml/test_core.rb2463
-rw-r--r--test/rexml/test_doctype.rb193
-rw-r--r--test/rexml/test_document.rb505
-rw-r--r--test/rexml/test_elements.rb196
-rw-r--r--test/rexml/test_encoding.rb163
-rw-r--r--test/rexml/test_encoding_2.rb59
-rw-r--r--test/rexml/test_entity.rb330
-rw-r--r--test/rexml/test_functions.rb401
-rw-r--r--test/rexml/test_functions_number.rb52
-rw-r--r--test/rexml/test_jaxen.rb211
-rw-r--r--test/rexml/test_light.rb172
-rw-r--r--test/rexml/test_lightparser.rb19
-rw-r--r--test/rexml/test_listener.rb207
-rw-r--r--test/rexml/test_martin_fowler.rb40
-rw-r--r--test/rexml/test_namespace.rb56
-rw-r--r--test/rexml/test_notationdecl_mixin.rb58
-rw-r--r--test/rexml/test_notationdecl_parsetest.rb23
-rw-r--r--test/rexml/test_order.rb176
-rw-r--r--test/rexml/test_preceding_sibling.rb56
-rw-r--r--test/rexml/test_pullparser.rb160
-rw-r--r--test/rexml/test_rexml_issuezilla.rb22
-rw-r--r--test/rexml/test_sax.rb485
-rw-r--r--test/rexml/test_stream.rb189
-rw-r--r--test/rexml/test_text.rb21
-rw-r--r--test/rexml/test_ticket_80.rb46
-rw-r--r--test/rexml/test_validation_rng.rb616
-rw-r--r--test/rexml/test_xml_declaration.rb43
-rw-r--r--test/rexml/test_xpath.rb1079
-rw-r--r--test/rexml/test_xpath_attribute_query.rb89
-rw-r--r--test/rexml/test_xpath_msw.rb38
-rw-r--r--test/rexml/test_xpath_pred.rb80
-rw-r--r--test/rexml/test_xpathtext.rb72
-rw-r--r--test/rexml/xpath/test_attribute.rb29
-rw-r--r--test/rexml/xpath/test_axis_preceding_sibling.rb39
-rw-r--r--test/rexml/xpath/test_base.rb1089
-rw-r--r--test/rexml/xpath/test_node.rb42
-rw-r--r--test/rexml/xpath/test_predicate.rb82
-rw-r--r--test/rexml/xpath/test_text.rb74
-rw-r--r--test/rinda/test_rinda.rb346
-rw-r--r--test/ripper/dummyparser.rb8
-rw-r--r--test/ripper/test_files.rb61
-rw-r--r--test/ripper/test_parser_events.rb52
-rw-r--r--test/ripper/test_ripper.rb22
-rw-r--r--test/ripper/test_scanner_events.rb42
-rw-r--r--test/ripper/test_sexp.rb44
-rw-r--r--test/rss/rss-assertions.rb4
-rw-r--r--test/rss/rss-testcase.rb2
-rw-r--r--test/rss/test_1.0.rb2
-rw-r--r--test/rss/test_2.0.rb2
-rw-r--r--test/rss/test_accessor.rb2
-rw-r--r--test/rss/test_atom.rb2
-rw-r--r--test/rss/test_content.rb2
-rw-r--r--test/rss/test_dublincore.rb2
-rw-r--r--test/rss/test_image.rb2
-rw-r--r--test/rss/test_inherit.rb2
-rw-r--r--test/rss/test_itunes.rb2
-rw-r--r--test/rss/test_maker_0.9.rb2
-rw-r--r--test/rss/test_maker_1.0.rb2
-rw-r--r--test/rss/test_maker_2.0.rb2
-rw-r--r--test/rss/test_maker_atom_entry.rb2
-rw-r--r--test/rss/test_maker_atom_feed.rb2
-rw-r--r--test/rss/test_maker_content.rb2
-rw-r--r--test/rss/test_maker_dc.rb2
-rw-r--r--test/rss/test_maker_image.rb2
-rw-r--r--test/rss/test_maker_itunes.rb6
-rw-r--r--test/rss/test_maker_slash.rb2
-rw-r--r--test/rss/test_maker_sy.rb2
-rw-r--r--test/rss/test_maker_taxo.rb2
-rw-r--r--test/rss/test_maker_trackback.rb2
-rw-r--r--test/rss/test_maker_xml-stylesheet.rb2
-rw-r--r--test/rss/test_parser.rb4
-rw-r--r--test/rss/test_parser_1.0.rb2
-rw-r--r--test/rss/test_parser_2.0.rb2
-rw-r--r--test/rss/test_parser_atom_entry.rb2
-rw-r--r--test/rss/test_parser_atom_feed.rb2
-rw-r--r--test/rss/test_setup_maker_0.9.rb2
-rw-r--r--test/rss/test_setup_maker_1.0.rb2
-rw-r--r--test/rss/test_setup_maker_2.0.rb2
-rw-r--r--test/rss/test_setup_maker_atom_entry.rb2
-rw-r--r--test/rss/test_setup_maker_atom_feed.rb2
-rw-r--r--test/rss/test_setup_maker_itunes.rb3
-rw-r--r--test/rss/test_setup_maker_slash.rb2
-rw-r--r--test/rss/test_slash.rb2
-rw-r--r--test/rss/test_syndication.rb2
-rw-r--r--test/rss/test_taxonomy.rb2
-rw-r--r--test/rss/test_to_s.rb2
-rw-r--r--test/rss/test_trackback.rb2
-rw-r--r--test/rss/test_version.rb2
-rw-r--r--test/rss/test_xml-stylesheet.rb2
-rw-r--r--test/ruby/allpairs.rb1
-rw-r--r--test/ruby/enc/test_emoji.rb6
-rw-r--r--test/ruby/enc/test_utf16.rb8
-rw-r--r--test/ruby/envutil.rb (renamed from test/lib/envutil.rb)287
-rw-r--r--test/ruby/lbtest.rb2
-rw-r--r--test/ruby/marshaltestlib.rb97
-rw-r--r--test/ruby/memory_status.rb (renamed from test/lib/memory_status.rb)34
-rw-r--r--test/ruby/test_alias.rb23
-rw-r--r--test/ruby/test_argf.rb62
-rw-r--r--test/ruby/test_arity.rb4
-rw-r--r--test/ruby/test_array.rb266
-rw-r--r--test/ruby/test_assignment.rb65
-rw-r--r--test/ruby/test_autoload.rb179
-rw-r--r--test/ruby/test_backtrace.rb87
-rw-r--r--test/ruby/test_beginendblock.rb127
-rw-r--r--test/ruby/test_bignum.rb40
-rw-r--r--test/ruby/test_call.rb1
-rw-r--r--test/ruby/test_case.rb20
-rw-r--r--test/ruby/test_class.rb41
-rw-r--r--test/ruby/test_comparable.rb12
-rw-r--r--test/ruby/test_complex.rb411
-rw-r--r--test/ruby/test_complexrational.rb12
-rw-r--r--test/ruby/test_const.rb18
-rw-r--r--test/ruby/test_continuation.rb3
-rw-r--r--test/ruby/test_defined.rb10
-rw-r--r--test/ruby/test_dir.rb123
-rw-r--r--test/ruby/test_dir_m17n.rb200
-rw-r--r--test/ruby/test_econv.rb23
-rw-r--r--test/ruby/test_encoding.rb21
-rw-r--r--test/ruby/test_enum.rb297
-rw-r--r--test/ruby/test_enumerator.rb48
-rw-r--r--test/ruby/test_env.rb124
-rw-r--r--test/ruby/test_eval.rb47
-rw-r--r--test/ruby/test_exception.rb292
-rw-r--r--test/ruby/test_fiber.rb34
-rw-r--r--test/ruby/test_file.rb265
-rw-r--r--test/ruby/test_file_exhaustive.rb170
-rw-r--r--test/ruby/test_fixnum.rb74
-rw-r--r--test/ruby/test_flip.rb1
-rw-r--r--test/ruby/test_float.rb131
-rw-r--r--test/ruby/test_fnmatch.rb171
-rw-r--r--test/ruby/test_gc.rb207
-rw-r--r--test/ruby/test_hash.rb382
-rw-r--r--test/ruby/test_integer.rb54
-rw-r--r--test/ruby/test_integer_comb.rb13
-rw-r--r--test/ruby/test_io.rb920
-rw-r--r--test/ruby/test_io_m17n.rb131
-rw-r--r--test/ruby/test_iseq.rb70
-rw-r--r--test/ruby/test_keyword.rb171
-rw-r--r--test/ruby/test_lambda.rb59
-rw-r--r--test/ruby/test_lazy_enumerator.rb23
-rw-r--r--test/ruby/test_literal.rb11
-rw-r--r--test/ruby/test_m17n.rb171
-rw-r--r--test/ruby/test_m17n_comb.rb252
-rw-r--r--test/ruby/test_marshal.rb170
-rw-r--r--test/ruby/test_math.rb29
-rw-r--r--test/ruby/test_method.rb327
-rw-r--r--test/ruby/test_module.rb427
-rw-r--r--test/ruby/test_notimp.rb26
-rw-r--r--test/ruby/test_numeric.rb100
-rw-r--r--test/ruby/test_object.rb269
-rw-r--r--test/ruby/test_objectspace.rb35
-rw-r--r--test/ruby/test_optimization.rb151
-rw-r--r--test/ruby/test_pack.rb53
-rw-r--r--test/ruby/test_parse.rb35
-rw-r--r--test/ruby/test_primitive.rb4
-rw-r--r--test/ruby/test_proc.rb123
-rw-r--r--test/ruby/test_process.rb634
-rw-r--r--test/ruby/test_rand.rb37
-rw-r--r--test/ruby/test_range.rb117
-rw-r--r--test/ruby/test_rational.rb374
-rw-r--r--test/ruby/test_readpartial.rb4
-rw-r--r--test/ruby/test_refinement.rb211
-rw-r--r--test/ruby/test_regexp.rb150
-rw-r--r--test/ruby/test_require.rb452
-rw-r--r--test/ruby/test_rubyoptions.rb439
-rw-r--r--test/ruby/test_rubyvm.rb17
-rw-r--r--test/ruby/test_settracefunc.rb371
-rw-r--r--test/ruby/test_signal.rb182
-rw-r--r--test/ruby/test_sleep.rb9
-rw-r--r--test/ruby/test_sprintf.rb93
-rw-r--r--test/ruby/test_string.rb229
-rw-r--r--test/ruby/test_stringchar.rb8
-rw-r--r--test/ruby/test_struct.rb109
-rw-r--r--test/ruby/test_super.rb51
-rw-r--r--test/ruby/test_symbol.rb41
-rw-r--r--test/ruby/test_syntax.rb210
-rw-r--r--test/ruby/test_system.rb3
-rw-r--r--test/ruby/test_thread.rb204
-rw-r--r--test/ruby/test_threadgroup.rb10
-rw-r--r--test/ruby/test_time.rb102
-rw-r--r--test/ruby/test_time_tz.rb4
-rw-r--r--test/ruby/test_transcode.rb179
-rw-r--r--test/ruby/test_unicode_escape.rb3
-rw-r--r--test/ruby/test_variable.rb28
-rw-r--r--test/ruby/test_weakmap.rb133
-rw-r--r--test/ruby/test_whileuntil.rb9
-rw-r--r--test/ruby/test_yield.rb4
-rw-r--r--test/ruby/ut_eof.rb4
-rw-r--r--test/rubygems/ca_cert.pem23
-rw-r--r--test/rubygems/client.pem49
-rw-r--r--test/rubygems/encrypted_private_key.pem30
-rw-r--r--test/rubygems/insure_session.rb43
-rw-r--r--test/rubygems/invalid_client.pem49
-rw-r--r--test/rubygems/specifications/bar-0.0.2.gemspec9
-rw-r--r--test/rubygems/specifications/foo-0.0.1.gemspecbin269 -> 0 bytes-rw-r--r--test/rubygems/test_bundled_ca.rb3
-rw-r--r--test/rubygems/test_gem.rb1013
-rw-r--r--test/rubygems/test_gem_available_set.rb22
-rw-r--r--test/rubygems/test_gem_command.rb55
-rw-r--r--test/rubygems/test_gem_command_manager.rb44
-rw-r--r--test/rubygems/test_gem_commands_build_command.rb4
-rw-r--r--test/rubygems/test_gem_commands_cert_command.rb169
-rw-r--r--test/rubygems/test_gem_commands_cleanup_command.rb41
-rw-r--r--test/rubygems/test_gem_commands_contents_command.rb87
-rw-r--r--test/rubygems/test_gem_commands_dependency_command.rb58
-rw-r--r--test/rubygems/test_gem_commands_environment_command.rb13
-rw-r--r--test/rubygems/test_gem_commands_fetch_command.rb91
-rw-r--r--test/rubygems/test_gem_commands_help_command.rb16
-rw-r--r--test/rubygems/test_gem_commands_install_command.rb699
-rw-r--r--test/rubygems/test_gem_commands_list_command.rb6
-rw-r--r--test/rubygems/test_gem_commands_open_command.rb46
-rw-r--r--test/rubygems/test_gem_commands_outdated_command.rb19
-rw-r--r--test/rubygems/test_gem_commands_owner_command.rb49
-rw-r--r--test/rubygems/test_gem_commands_pristine_command.rb220
-rw-r--r--test/rubygems/test_gem_commands_push_command.rb84
-rw-r--r--test/rubygems/test_gem_commands_query_command.rb288
-rw-r--r--test/rubygems/test_gem_commands_setup_command.rb23
-rw-r--r--test/rubygems/test_gem_commands_sources_command.rb72
-rw-r--r--test/rubygems/test_gem_commands_specification_command.rb71
-rw-r--r--test/rubygems/test_gem_commands_stale_command.rb4
-rw-r--r--test/rubygems/test_gem_commands_uninstall_command.rb104
-rw-r--r--test/rubygems/test_gem_commands_unpack_command.rb46
-rw-r--r--test/rubygems/test_gem_commands_update_command.rb376
-rw-r--r--test/rubygems/test_gem_commands_which_command.rb6
-rw-r--r--test/rubygems/test_gem_commands_yank_command.rb4
-rw-r--r--test/rubygems/test_gem_config_file.rb38
-rw-r--r--test/rubygems/test_gem_dependency.rb138
-rw-r--r--test/rubygems/test_gem_dependency_installer.rb379
-rw-r--r--test/rubygems/test_gem_dependency_list.rb34
-rw-r--r--test/rubygems/test_gem_dependency_resolution_error.rb28
-rw-r--r--test/rubygems/test_gem_dependency_resolver.rb327
-rw-r--r--test/rubygems/test_gem_dependency_resolver_api_set.rb80
-rw-r--r--test/rubygems/test_gem_doctor.rb2
-rw-r--r--test/rubygems/test_gem_ext_builder.rb276
-rw-r--r--test/rubygems/test_gem_ext_cmake_builder.rb8
-rw-r--r--test/rubygems/test_gem_ext_configure_builder.rb18
-rw-r--r--test/rubygems/test_gem_ext_ext_conf_builder.rb106
-rw-r--r--test/rubygems/test_gem_ext_rake_builder.rb4
-rw-r--r--test/rubygems/test_gem_gem_runner.rb30
-rw-r--r--test/rubygems/test_gem_gemcutter_utilities.rb9
-rw-r--r--test/rubygems/test_gem_impossible_dependencies_error.rb61
-rw-r--r--test/rubygems/test_gem_indexer.rb15
-rw-r--r--test/rubygems/test_gem_install_update_options.rb39
-rw-r--r--test/rubygems/test_gem_installer.rb379
-rw-r--r--test/rubygems/test_gem_local_remote_options.rb15
-rw-r--r--test/rubygems/test_gem_name_tuple.rb29
-rw-r--r--test/rubygems/test_gem_package.rb202
-rw-r--r--test/rubygems/test_gem_package_old.rb8
-rw-r--r--test/rubygems/test_gem_package_tar_header.rb16
-rw-r--r--test/rubygems/test_gem_package_tar_reader.rb29
-rw-r--r--test/rubygems/test_gem_package_tar_reader_entry.rb21
-rw-r--r--test/rubygems/test_gem_package_tar_writer.rb151
-rw-r--r--test/rubygems/test_gem_path_support.rb17
-rw-r--r--test/rubygems/test_gem_platform.rb24
-rw-r--r--test/rubygems/test_gem_rdoc.rb2
-rw-r--r--test/rubygems/test_gem_remote_fetcher.rb474
-rw-r--r--test/rubygems/test_gem_request.rb362
-rw-r--r--test/rubygems/test_gem_request_connection_pools.rb120
-rw-r--r--test/rubygems/test_gem_request_set.rb545
-rw-r--r--test/rubygems/test_gem_request_set_gem_dependency_api.rb823
-rw-r--r--test/rubygems/test_gem_request_set_lockfile.rb1276
-rw-r--r--test/rubygems/test_gem_requirement.rb34
-rw-r--r--test/rubygems/test_gem_resolver.rb733
-rw-r--r--test/rubygems/test_gem_resolver_activation_request.rb73
-rw-r--r--test/rubygems/test_gem_resolver_api_set.rb208
-rw-r--r--test/rubygems/test_gem_resolver_api_specification.rb144
-rw-r--r--test/rubygems/test_gem_resolver_best_set.rb137
-rw-r--r--test/rubygems/test_gem_resolver_composed_set.rb45
-rw-r--r--test/rubygems/test_gem_resolver_conflict.rb87
-rw-r--r--test/rubygems/test_gem_resolver_dependency_request.rb84
-rw-r--r--test/rubygems/test_gem_resolver_git_set.rb189
-rw-r--r--test/rubygems/test_gem_resolver_git_specification.rb112
-rw-r--r--test/rubygems/test_gem_resolver_index_set.rb89
-rw-r--r--test/rubygems/test_gem_resolver_index_specification.rb89
-rw-r--r--test/rubygems/test_gem_resolver_installed_specification.rb49
-rw-r--r--test/rubygems/test_gem_resolver_installer_set.rb261
-rw-r--r--test/rubygems/test_gem_resolver_local_specification.rb45
-rw-r--r--test/rubygems/test_gem_resolver_lock_set.rb63
-rw-r--r--test/rubygems/test_gem_resolver_lock_specification.rb98
-rw-r--r--test/rubygems/test_gem_resolver_requirement_list.rb20
-rw-r--r--test/rubygems/test_gem_resolver_specification.rb64
-rw-r--r--test/rubygems/test_gem_resolver_vendor_set.rb83
-rw-r--r--test/rubygems/test_gem_resolver_vendor_specification.rb83
-rw-r--r--test/rubygems/test_gem_security.rb60
-rw-r--r--test/rubygems/test_gem_security_policy.rb56
-rw-r--r--test/rubygems/test_gem_security_signer.rb20
-rw-r--r--test/rubygems/test_gem_security_trust_dir.rb6
-rw-r--r--test/rubygems/test_gem_server.rb81
-rw-r--r--test/rubygems/test_gem_silent_ui.rb5
-rw-r--r--test/rubygems/test_gem_source.rb169
-rw-r--r--test/rubygems/test_gem_source_fetch_problem.rb19
-rw-r--r--test/rubygems/test_gem_source_git.rb308
-rw-r--r--test/rubygems/test_gem_source_installed.rb36
-rw-r--r--test/rubygems/test_gem_source_list.rb24
-rw-r--r--test/rubygems/test_gem_source_local.rb37
-rw-r--r--test/rubygems/test_gem_source_lock.rb114
-rw-r--r--test/rubygems/test_gem_source_specific_file.rb44
-rw-r--r--test/rubygems/test_gem_source_vendor.rb31
-rw-r--r--test/rubygems/test_gem_spec_fetcher.rb180
-rw-r--r--test/rubygems/test_gem_specification.rb1258
-rw-r--r--test/rubygems/test_gem_stub_specification.rb199
-rw-r--r--test/rubygems/test_gem_text.rb16
-rw-r--r--test/rubygems/test_gem_uninstaller.rb84
-rw-r--r--test/rubygems/test_gem_unsatisfiable_dependency_error.rb32
-rw-r--r--test/rubygems/test_gem_uri_formatter.rb28
-rw-r--r--test/rubygems/test_gem_util.rb31
-rw-r--r--test/rubygems/test_gem_validator.rb9
-rw-r--r--test/rubygems/test_gem_version.rb26
-rw-r--r--test/rubygems/test_gem_version_option.rb64
-rw-r--r--test/rubygems/test_kernel.rb30
-rw-r--r--test/rubygems/test_require.rb60
-rw-r--r--test/runner.rb36
-rw-r--r--test/scanf/test_scanf.rb38
-rw-r--r--test/sdbm/test_sdbm.rb68
-rw-r--r--test/shell/test_command_processor.rb68
-rw-r--r--test/socket/test_addrinfo.rb4
-rw-r--r--test/socket/test_nonblock.rb29
-rw-r--r--test/socket/test_socket.rb60
-rw-r--r--test/socket/test_sockopt.rb32
-rw-r--r--test/socket/test_tcp.rb89
-rw-r--r--test/socket/test_udp.rb33
-rw-r--r--test/socket/test_unix.rb202
-rw-r--r--test/stringio/test_stringio.rb24
-rw-r--r--test/strscan/test_stringscanner.rb15
-rw-r--r--test/syslog/test_syslog_logger.rb102
-rw-r--r--test/test_curses.rb63
-rw-r--r--test/test_delegate.rb104
-rw-r--r--test/test_find.rb81
-rw-r--r--test/test_ipaddr.rb274
-rw-r--r--test/test_mathn.rb21
-rw-r--r--test/test_open3.rb28
-rw-r--r--test/test_pp.rb8
-rw-r--r--test/test_prime.rb6
-rw-r--r--test/test_pstore.rb21
-rw-r--r--test/test_pty.rb45
-rw-r--r--test/test_securerandom.rb2
-rw-r--r--test/test_set.rb157
-rw-r--r--test/test_syslog.rb106
-rw-r--r--test/test_tempfile.rb26
-rw-r--r--test/test_time.rb275
-rw-r--r--test/test_timeout.rb59
-rw-r--r--test/test_tracer.rb3
-rw-r--r--test/test_tsort.rb69
-rw-r--r--test/test_unicode_normalize.rb184
-rw-r--r--test/test_weakref.rb37
-rw-r--r--test/testunit/test4test_hideskip.rb2
-rw-r--r--test/testunit/test4test_redefinition.rb2
-rw-r--r--test/testunit/test4test_sorting.rb2
-rw-r--r--test/testunit/test_hideskip.rb29
-rw-r--r--test/testunit/test_parallel.rb9
-rw-r--r--test/testunit/test_rake_integration.rb2
-rw-r--r--test/testunit/test_redefinition.rb14
-rw-r--r--test/testunit/test_sorting.rb14
-rw-r--r--test/testunit/tests_for_parallel/runner.rb3
-rw-r--r--test/thread/test_cv.rb36
-rw-r--r--test/thread/test_queue.rb106
-rw-r--r--test/thread/test_sync.rb6
-rw-r--r--test/uri/test_common.rb115
-rw-r--r--test/uri/test_generic.rb83
-rw-r--r--test/uri/test_mailto.rb4
-rw-r--r--test/uri/test_parser.rb6
-rw-r--r--test/webrick/test_cgi.rb21
-rw-r--r--test/webrick/test_filehandler.rb58
-rw-r--r--test/webrick/test_httpauth.rb203
-rw-r--r--test/webrick/test_httpproxy.rb8
-rw-r--r--test/webrick/test_httprequest.rb2
-rw-r--r--test/webrick/test_httpresponse.rb100
-rw-r--r--test/webrick/test_httpserver.rb95
-rw-r--r--test/webrick/test_server.rb81
-rw-r--r--test/webrick/utils.rb61
-rw-r--r--test/webrick/webrick.cgi2
-rw-r--r--test/webrick/webrick_long_filename.cgi2
-rw-r--r--test/win32ole/test_err_in_callback.rb4
-rw-r--r--test/win32ole/test_win32ole.rb51
-rw-r--r--test/win32ole/test_win32ole_event.rb19
-rw-r--r--test/win32ole/test_win32ole_method.rb8
-rw-r--r--test/win32ole/test_win32ole_record.rb313
-rw-r--r--test/win32ole/test_win32ole_typelib.rb2
-rw-r--r--test/win32ole/test_win32ole_variant.rb85
-rw-r--r--test/win32ole/test_win32ole_variant_outarg.rb2
-rw-r--r--test/win32ole/test_word.rb1
-rw-r--r--test/with_different_ofs.rb (renamed from test/lib/with_different_ofs.rb)0
-rw-r--r--test/xmlrpc/test_client.rb24
-rw-r--r--test/xmlrpc/test_cookie.rb26
-rw-r--r--test/xmlrpc/test_datetime.rb2
-rw-r--r--test/xmlrpc/test_features.rb6
-rw-r--r--test/xmlrpc/test_marshal.rb2
-rw-r--r--test/xmlrpc/test_parser.rb2
-rw-r--r--test/xmlrpc/test_webrick_server.rb43
-rw-r--r--test/xmlrpc/webrick_testing.rb57
-rw-r--r--test/zlib/test_zlib.rb766
-rw-r--r--thread.c1296
-rw-r--r--thread_pthread.c419
-rw-r--r--thread_pthread.h20
-rw-r--r--thread_win32.c111
-rw-r--r--thread_win32.h11
-rw-r--r--time.c443
-rw-r--r--timev.h41
-rwxr-xr-xtool/bisect.sh42
-rwxr-xr-xtool/change_maker.rb4
-rw-r--r--tool/compile_prelude.rb (renamed from template/prelude.c.tmpl)82
-rwxr-xr-xtool/config.guess1522
-rwxr-xr-xtool/config.sub1771
-rw-r--r--tool/downloader.rb145
-rwxr-xr-xtool/enc-unicode.rb6
-rwxr-xr-xtool/expand-config.rb7
-rw-r--r--tool/fake.rb30
-rwxr-xr-xtool/gen_dummy_probes.rb14
-rwxr-xr-xtool/gen_ruby_tapset.rb105
-rw-r--r--tool/generic_erb.rb8
-rwxr-xr-xtool/ifchange17
-rwxr-xr-xtool/instruction.rb22
-rwxr-xr-xtool/make-snapshot196
-rwxr-xr-xtool/merger.rb49
-rwxr-xr-xtool/mkconfig.rb31
-rwxr-xr-xtool/mkrunnable.rb100
-rw-r--r--tool/probes_to_wiki.rb16
-rwxr-xr-xtool/rbinstall.rb112
-rwxr-xr-xtool/rbuninstall.rb67
-rwxr-xr-xtool/redmine-backporter.rb411
-rwxr-xr-xtool/release.sh38
-rwxr-xr-xtool/rubytest.rb3
-rwxr-xr-xtool/strip-rdoc.rb1
-rw-r--r--tool/transcode-tblgen.rb98
-rwxr-xr-xtool/update-deps691
-rw-r--r--tool/vcs.rb181
-rw-r--r--tool/vpath.rb5
-rw-r--r--transcode.c86
-rw-r--r--transcode_data.h8
-rw-r--r--util.c69
-rw-r--r--variable.c350
-rw-r--r--version.c76
-rw-r--r--version.h13
-rw-r--r--vm.c913
-rw-r--r--vm_args.c795
-rw-r--r--vm_backtrace.c270
-rw-r--r--vm_core.h421
-rw-r--r--vm_debug.h8
-rw-r--r--vm_dump.c407
-rw-r--r--vm_eval.c466
-rw-r--r--vm_exec.c25
-rw-r--r--vm_exec.h15
-rw-r--r--vm_insnhelper.c846
-rw-r--r--vm_insnhelper.h61
-rw-r--r--vm_method.c466
-rw-r--r--vm_trace.c412
-rw-r--r--vsnprintf.c25
-rw-r--r--win32/Makefile.sub152
-rwxr-xr-xwin32/configure.bat60
-rw-r--r--win32/file.c295
-rwxr-xr-xwin32/ifchange.bat24
-rwxr-xr-xwin32/rmall.bat6
-rw-r--r--win32/setup.mak80
-rw-r--r--win32/win32.c1041
2149 files changed, 119435 insertions, 234638 deletions
diff --git a/.gdbinit b/.gdbinit
index d1279ea046..c8705a6ccf 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -1,34 +1,80 @@
-define hook-run
- set $color_type = 0
- set $color_highlite = 0
- set $color_end = 0
-end
-
-define ruby_gdb_init
- if !$color_type
- set $color_type = "\033[31m"
- end
- if !$color_highlite
- set $color_highlite = "\033[36m"
- end
- if !$color_end
- set $color_end = "\033[m"
- end
+define rp
if ruby_dummy_gdb_enums.special_consts
end
-end
-
-# set prompt \033[36m(gdb)\033[m\040
-
-define rp
- ruby_gdb_init
if (VALUE)($arg0) & RUBY_FIXNUM_FLAG
printf "FIXNUM: %ld\n", (long)($arg0) >> 1
else
if ((VALUE)($arg0) & ~(~(VALUE)0<<RUBY_SPECIAL_SHIFT)) == RUBY_SYMBOL_FLAG
set $id = (($arg0) >> RUBY_SPECIAL_SHIFT)
- printf "%sSYMBOL%s: ", $color_type, $color_end
- rp_id $id
+ if $id == '!' || $id == '+' || $id == '-' || $id == '*' || $id == '/' || $id == '%' || $id == '<' || $id == '>' || $id == '`'
+ printf "SYMBOL(:%c)\n", $id
+ else
+ if $id == idDot2
+ echo SYMBOL(:..)\n
+ else
+ if $id == idDot3
+ echo SYMBOL(:...)\n
+ else
+ if $id == idUPlus
+ echo SYMBOL(:+@)\n
+ else
+ if $id == idUMinus
+ echo SYMBOL(:-@)\n
+ else
+ if $id == idPow
+ echo SYMBOL(:**)\n
+ else
+ if $id == idCmp
+ echo SYMBOL(:<=>)\n
+ else
+ if $id == idLTLT
+ echo SYMBOL(:<<)\n
+ else
+ if $id == idLE
+ echo SYMBOL(:<=)\n
+ else
+ if $id == idGE
+ echo SYMBOL(:>=)\n
+ else
+ if $id == idEq
+ echo SYMBOL(:==)\n
+ else
+ if $id == idEqq
+ echo SYMBOL(:===)\n
+ else
+ if $id == idNeq
+ echo SYMBOL(:!=)\n
+ else
+ if $id == idEqTilde
+ echo SYMBOL(:=~)\n
+ else
+ if $id == idNeqTilde
+ echo SYMBOL(:!~)\n
+ else
+ if $id == idAREF
+ echo SYMBOL(:[])\n
+ else
+ if $id == idASET
+ echo SYMBOL(:[]=)\n
+ else
+ printf "SYMBOL(%ld)\n", $id
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
else
if ($arg0) == RUBY_Qfalse
echo false\n
@@ -44,51 +90,80 @@ define rp
else
if (VALUE)($arg0) & RUBY_IMMEDIATE_MASK
if ((VALUE)($arg0) & RUBY_FLONUM_MASK) == RUBY_FLONUM_FLAG
- printf "%sFLONUM%s: %g\n", $color_type, $color_end, (double)rb_float_value($arg0)
+ printf "FLONUM: %g\n", (double)rb_float_value($arg0)
else
echo immediate\n
end
else
set $flags = ((struct RBasic*)($arg0))->flags
- if ($flags & RUBY_FL_PROMOTED) == RUBY_FL_PROMOTED
- printf "[PROMOTED] "
- end
if ($flags & RUBY_T_MASK) == RUBY_T_NONE
- printf "%sT_NONE%s: ", $color_type, $color_end
+ printf "T_NONE: "
print (struct RBasic *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_NIL
- printf "%sT_NIL%s: ", $color_type, $color_end
+ printf "T_NIL: "
print (struct RBasic *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_OBJECT
- printf "%sT_OBJECT%s: ", $color_type, $color_end
+ printf "T_OBJECT: "
print (struct RObject *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_CLASS
- printf "%sT_CLASS%s%s: ", $color_type, ($flags & RUBY_FL_SINGLETON) ? "*" : "", $color_end
+ printf "T_CLASS%s: ", ($flags & RUBY_FL_SINGLETON) ? "*" : ""
rp_class $arg0
else
if ($flags & RUBY_T_MASK) == RUBY_T_ICLASS
- printf "%sT_ICLASS%s: ", $color_type, $color_end
+ printf "T_ICLASS: "
rp_class $arg0
else
if ($flags & RUBY_T_MASK) == RUBY_T_MODULE
- printf "%sT_MODULE%s: ", $color_type, $color_end
+ printf "T_MODULE: "
rp_class $arg0
else
if ($flags & RUBY_T_MASK) == RUBY_T_FLOAT
- printf "%sT_FLOAT%s: %.16g ", $color_type, $color_end, (((struct RFloat*)($arg0))->float_value)
+ printf "T_FLOAT: %.16g ", (((struct RFloat*)($arg0))->float_value)
print (struct RFloat *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_STRING
- printf "%sT_STRING%s: ", $color_type, $color_end
- rp_string $arg0 $flags
+ printf "T_STRING: "
+ set print address off
+ output (char *)(($flags & RUBY_FL_USER1) ? \
+ ((struct RString*)($arg0))->as.heap.ptr : \
+ ((struct RString*)($arg0))->as.ary)
+ set print address on
+ printf " bytesize:%ld ", ($flags & RUBY_FL_USER1) ? \
+ ((struct RString*)($arg0))->as.heap.len : \
+ (($flags & (RUBY_FL_USER2|RUBY_FL_USER3|RUBY_FL_USER4|RUBY_FL_USER5|RUBY_FL_USER6)) >> RUBY_FL_USHIFT+2)
+ if !($flags & RUBY_FL_USER1)
+ printf "(embed) "
+ else
+ if ($flags & RUBY_FL_USER2)
+ printf "(shared) "
+ end
+ if ($flags & RUBY_FL_USER3)
+ printf "(assoc) "
+ end
+ end
+ printf "encoding:%d ", ($flags & RUBY_ENCODING_MASK) >> RUBY_ENCODING_SHIFT
+ if ($flags & RUBY_ENC_CODERANGE_MASK) == 0
+ printf "coderange:unknown "
+ else
+ if ($flags & RUBY_ENC_CODERANGE_MASK) == RUBY_ENC_CODERANGE_7BIT
+ printf "coderange:7bit "
+ else
+ if ($flags & RUBY_ENC_CODERANGE_MASK) == RUBY_ENC_CODERANGE_VALID
+ printf "coderange:valid "
+ else
+ printf "coderange:broken "
+ end
+ end
+ end
+ print (struct RString *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_REGEXP
set $regsrc = ((struct RRegexp*)($arg0))->src
set $rsflags = ((struct RBasic*)$regsrc)->flags
- printf "%sT_REGEXP%s: ", $color_type, $color_end
+ printf "T_REGEXP: "
set print address off
output (char *)(($rsflags & RUBY_FL_USER1) ? \
((struct RString*)$regsrc)->as.heap.ptr : \
@@ -112,7 +187,7 @@ define rp
if ($flags & RUBY_T_MASK) == RUBY_T_ARRAY
if ($flags & RUBY_FL_USER1)
set $len = (($flags & (RUBY_FL_USER3|RUBY_FL_USER4)) >> (RUBY_FL_USHIFT+3))
- printf "%sT_ARRAY%s: len=%ld ", $color_type, $color_end, $len
+ printf "T_ARRAY: len=%ld ", $len
printf "(embed) "
if ($len == 0)
printf "{(empty)} "
@@ -122,7 +197,7 @@ define rp
end
else
set $len = ((struct RArray*)($arg0))->as.heap.len
- printf "%sT_ARRAY%s: len=%ld ", $color_type, $color_end, $len
+ printf "T_ARRAY: len=%ld ", $len
if ($flags & RUBY_FL_USER2)
printf "(shared) shared="
output/x ((struct RArray*)($arg0))->as.heap.aux.shared
@@ -140,18 +215,18 @@ define rp
print (struct RArray *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_FIXNUM
- printf "%sT_FIXNUM%s: ", $color_type, $color_end
+ printf "T_FIXNUM: "
print (struct RBasic *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_HASH
- printf "%sT_HASH%s: ", $color_type, $color_end,
+ printf "T_HASH: ",
if ((struct RHash *)($arg0))->ntbl
printf "len=%ld ", ((struct RHash *)($arg0))->ntbl->num_entries
end
print (struct RHash *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_STRUCT
- printf "%sT_STRUCT%s: len=%ld ", $color_type, $color_end, \
+ printf "T_STRUCT: len=%ld ", \
(($flags & (RUBY_FL_USER1|RUBY_FL_USER2)) ? \
($flags & (RUBY_FL_USER1|RUBY_FL_USER2)) >> (RUBY_FL_USHIFT+1) : \
((struct RStruct *)($arg0))->as.heap.len)
@@ -161,7 +236,7 @@ define rp
((struct RStruct *)($arg0))->as.heap.ptr)
else
if ($flags & RUBY_T_MASK) == RUBY_T_BIGNUM
- printf "%sT_BIGNUM%s: sign=%d len=%ld ", $color_type, $color_end, \
+ printf "T_BIGNUM: sign=%d len=%ld ", \
(($flags & RUBY_FL_USER1) != 0), \
(($flags & RUBY_FL_USER2) ? \
($flags & (RUBY_FL_USER5|RUBY_FL_USER4|RUBY_FL_USER3)) >> (RUBY_FL_USHIFT+3) : \
@@ -175,87 +250,59 @@ define rp
((struct RBignum*)($arg0))->as.heap.digits)
else
if ($flags & RUBY_T_MASK) == RUBY_T_RATIONAL
- printf "%sT_RATIONAL%s: ", $color_type, $color_end
+ printf "T_RATIONAL: "
print (struct RRational *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_COMPLEX
- printf "%sT_COMPLEX%s: ", $color_type, $color_end
+ printf "T_COMPLEX: "
print (struct RComplex *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_FILE
- printf "%sT_FILE%s: ", $color_type, $color_end
+ printf "T_FILE: "
print (struct RFile *)($arg0)
output *((struct RFile *)($arg0))->fptr
printf "\n"
else
if ($flags & RUBY_T_MASK) == RUBY_T_TRUE
- printf "%sT_TRUE%s: ", $color_type, $color_end
+ printf "T_TRUE: "
print (struct RBasic *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_FALSE
- printf "%sT_FALSE%s: ", $color_type, $color_end
+ printf "T_FALSE: "
print (struct RBasic *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_DATA
if ((struct RTypedData *)($arg0))->typed_flag == 1
- printf "%sT_DATA%s(%s): ", $color_type, $color_end, ((struct RTypedData *)($arg0))->type->wrap_struct_name
+ printf "T_DATA(%s): ", ((struct RTypedData *)($arg0))->type->wrap_struct_name
print (struct RTypedData *)($arg0)
else
- printf "%sT_DATA%s: ", $color_type, $color_end
+ printf "T_DATA: "
print (struct RData *)($arg0)
end
else
if ($flags & RUBY_T_MASK) == RUBY_T_MATCH
- printf "%sT_MATCH%s: ", $color_type, $color_end
+ printf "T_MATCH: "
print (struct RMatch *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_SYMBOL
- printf "%sT_SYMBOL%s: ", $color_type, $color_end
- print (struct RSymbol *)($arg0)
- set $id_type = ((struct RSymbol *)($arg0))->id & RUBY_ID_SCOPE_MASK
- if $id_type == RUBY_ID_LOCAL
- printf "l"
- else
- if $id_type == RUBY_ID_INSTANCE
- printf "i"
- else
- if $id_type == RUBY_ID_GLOBAL
- printf "G"
- else
- if $id_type == RUBY_ID_ATTRSET
- printf "a"
- else
- if $id_type == RUBY_ID_CONST
- printf "C"
- else
- if $id_type == RUBY_ID_CLASS
- printf "c"
- else
- printf "j"
- end
- end
- end
- end
- end
- end
- set $id_fstr = ((struct RSymbol *)($arg0))->fstr
- rp_string $id_fstr
+ printf "T_SYMBOL: "
+ print (struct RBasic *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_UNDEF
- printf "%sT_UNDEF%s: ", $color_type, $color_end
+ printf "T_UNDEF: "
print (struct RBasic *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_NODE
- printf "%sT_NODE%s(", $color_type, $color_end
+ printf "T_NODE("
output (enum node_type)(($flags&RUBY_NODE_TYPEMASK)>>RUBY_NODE_TYPESHIFT)
printf "): "
print *(NODE *)($arg0)
else
if ($flags & RUBY_T_MASK) == RUBY_T_ZOMBIE
- printf "%sT_ZOMBIE%s: ", $color_type, $color_end
+ printf "T_ZOMBIE: "
print (struct RData *)($arg0)
else
- printf "%sunknown%s: ", $color_type, $color_end
+ printf "unknown: "
print (struct RBasic *)($arg0)
end
end
@@ -294,165 +341,12 @@ document rp
Print a Ruby's VALUE.
end
-define rp_id
- set $id = (ID)$arg0
- if $id == '!' || $id == '+' || $id == '-' || $id == '*' || $id == '/' || $id == '%' || $id == '<' || $id == '>' || $id == '`'
- printf "(:%c)\n", $id
- else
- if $id == idDot2
- printf "(:..)\n"
- else
- if $id == idDot3
- printf "(:...)\n"
- else
- if $id == idUPlus
- printf "(:+@)\n"
- else
- if $id == idUMinus
- printf "(:-@)\n"
- else
- if $id == idPow
- printf "(:**)\n"
- else
- if $id == idCmp
- printf "(:<=>)\n"
- else
- if $id == idLTLT
- printf "(:<<)\n"
- else
- if $id == idLE
- printf "(:<=)\n"
- else
- if $id == idGE
- printf "(:>=)\n"
- else
- if $id == idEq
- printf "(:==)\n"
- else
- if $id == idEqq
- printf "(:===)\n"
- else
- if $id == idNeq
- printf "(:!=)\n"
- else
- if $id == idEqTilde
- printf "(:=~)\n"
- else
- if $id == idNeqTilde
- printf "(:!~)\n"
- else
- if $id == idAREF
- printf "(:[])\n"
- else
- if $id == idASET
- printf "(:[]=)\n"
- else
- if $id <= tLAST_OP_ID
- printf "O"
- else
- set $id_type = $id & RUBY_ID_SCOPE_MASK
- if $id_type == RUBY_ID_LOCAL
- printf "l"
- else
- if $id_type == RUBY_ID_INSTANCE
- printf "i"
- else
- if $id_type == RUBY_ID_GLOBAL
- printf "G"
- else
- if $id_type == RUBY_ID_ATTRSET
- printf "a"
- else
- if $id_type == RUBY_ID_CONST
- printf "C"
- else
- if $id_type == RUBY_ID_CLASS
- printf "c"
- else
- printf "j"
- end
- end
- end
- end
- end
- end
- end
- printf "(%ld): ", $id
- set $str = lookup_id_str($id)
- if $str
- rp_string $str
- else
- echo undef\n
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
-end
-document rp_id
- Print an ID.
-end
-
-define rp_string
- set $flags = ((struct RBasic*)($arg0))->flags
- set print address off
- output (char *)(($flags & RUBY_FL_USER1) ? \
- ((struct RString*)($arg0))->as.heap.ptr : \
- ((struct RString*)($arg0))->as.ary)
- set print address on
- printf " bytesize:%ld ", ($flags & RUBY_FL_USER1) ? \
- ((struct RString*)($arg0))->as.heap.len : \
- (($flags & (RUBY_FL_USER2|RUBY_FL_USER3|RUBY_FL_USER4|RUBY_FL_USER5|RUBY_FL_USER6)) >> RUBY_FL_USHIFT+2)
- if !($flags & RUBY_FL_USER1)
- printf "(embed) "
- else
- if ($flags & RUBY_FL_USER2)
- printf "(shared) "
- end
- if ($flags & RUBY_FL_USER3)
- printf "(assoc) "
- end
- end
- printf "encoding:%d ", ($flags & RUBY_ENCODING_MASK) >> RUBY_ENCODING_SHIFT
- if ($flags & RUBY_ENC_CODERANGE_MASK) == 0
- printf "coderange:unknown "
- else
- if ($flags & RUBY_ENC_CODERANGE_MASK) == RUBY_ENC_CODERANGE_7BIT
- printf "coderange:7bit "
- else
- if ($flags & RUBY_ENC_CODERANGE_MASK) == RUBY_ENC_CODERANGE_VALID
- printf "coderange:valid "
- else
- printf "coderange:broken "
- end
- end
- end
- print (struct RString *)($arg0)
-end
-document rp_string
- Print the content of a String.
-end
-
define rp_class
printf "(struct RClass *) %p", (void*)$arg0
if ((struct RClass *)($arg0))->ptr.origin != $arg0
printf " -> %p", ((struct RClass *)($arg0))->ptr.origin
end
printf "\n"
- rb_classname $arg0
print *(struct RClass *)($arg0)
print *((struct RClass *)($arg0))->ptr
end
@@ -484,266 +378,260 @@ end
# Print members of ruby node.
define nd_head
- printf "%su1.node%s: ", $color_highlite, $color_end
+ printf "u1.node: "
rp ($arg0).u1.node
end
define nd_alen
- printf "%su2.argc%s: ", $color_highlite, $color_end
+ printf "u2.argc: "
p ($arg0).u2.argc
end
define nd_next
- printf "%su3.node%s: ", $color_highlite, $color_end
+ printf "u3.node: "
rp ($arg0).u3.node
end
define nd_cond
- printf "%su1.node%s: ", $color_highlite, $color_end
+ printf "u1.node: "
rp ($arg0).u1.node
end
define nd_body
- printf "%su2.node%s: ", $color_highlite, $color_end
+ printf "u2.node: "
rp ($arg0).u2.node
end
define nd_else
- printf "%su3.node%s: ", $color_highlite, $color_end
+ printf "u3.node: "
rp ($arg0).u3.node
end
define nd_orig
- printf "%su3.value%s: ", $color_highlite, $color_end
+ printf "u3.value: "
rp ($arg0).u3.value
end
define nd_resq
- printf "%su2.node%s: ", $color_highlite, $color_end
+ printf "u2.node: "
rp ($arg0).u2.node
end
define nd_ensr
- printf "%su3.node%s: ", $color_highlite, $color_end
+ printf "u3.node: "
rp ($arg0).u3.node
end
define nd_1st
- printf "%su1.node%s: ", $color_highlite, $color_end
+ printf "u1.node: "
rp ($arg0).u1.node
end
define nd_2nd
- printf "%su2.node%s: ", $color_highlite, $color_end
+ printf "u2.node: "
rp ($arg0).u2.node
end
define nd_stts
- printf "%su1.node%s: ", $color_highlite, $color_end
+ printf "u1.node: "
rp ($arg0).u1.node
end
define nd_entry
- printf "%su3.entry%s: ", $color_highlite, $color_end
+ printf "u3.entry: "
p ($arg0).u3.entry
end
define nd_vid
- printf "%su1.id%s: ", $color_highlite, $color_end
+ printf "u1.id: "
p ($arg0).u1.id
end
define nd_cflag
- printf "%su2.id%s: ", $color_highlite, $color_end
+ printf "u2.id: "
p ($arg0).u2.id
end
define nd_cval
- printf "%su3.value%s: ", $color_highlite, $color_end
+ printf "u3.value: "
rp ($arg0).u3.value
end
define nd_cnt
- printf "%su3.cnt%s: ", $color_highlite, $color_end
+ printf "u3.cnt: "
p ($arg0).u3.cnt
end
define nd_tbl
- printf "%su1.tbl%s: ", $color_highlite, $color_end
+ printf "u1.tbl: "
p ($arg0).u1.tbl
end
define nd_var
- printf "%su1.node%s: ", $color_highlite, $color_end
+ printf "u1.node: "
rp ($arg0).u1.node
end
define nd_ibdy
- printf "%su2.node%s: ", $color_highlite, $color_end
+ printf "u2.node: "
rp ($arg0).u2.node
end
define nd_iter
- printf "%su3.node%s: ", $color_highlite, $color_end
+ printf "u3.node: "
rp ($arg0).u3.node
end
define nd_value
- printf "%su2.node%s: ", $color_highlite, $color_end
+ printf "u2.node: "
rp ($arg0).u2.node
end
define nd_aid
- printf "%su3.id%s: ", $color_highlite, $color_end
+ printf "u3.id: "
p ($arg0).u3.id
end
define nd_lit
- printf "%su1.value%s: ", $color_highlite, $color_end
+ printf "u1.value: "
rp ($arg0).u1.value
end
define nd_frml
- printf "%su1.node%s: ", $color_highlite, $color_end
+ printf "u1.node: "
rp ($arg0).u1.node
end
define nd_rest
- printf "%su2.argc%s: ", $color_highlite, $color_end
+ printf "u2.argc: "
p ($arg0).u2.argc
end
define nd_opt
- printf "%su1.node%s: ", $color_highlite, $color_end
+ printf "u1.node: "
rp ($arg0).u1.node
end
define nd_recv
- printf "%su1.node%s: ", $color_highlite, $color_end
+ printf "u1.node: "
rp ($arg0).u1.node
end
define nd_mid
- printf "%su2.id%s: ", $color_highlite, $color_end
+ printf "u2.id: "
p ($arg0).u2.id
end
define nd_args
- printf "%su3.node%s: ", $color_highlite, $color_end
+ printf "u3.node: "
rp ($arg0).u3.node
end
define nd_noex
- printf "%su1.id%s: ", $color_highlite, $color_end
+ printf "u1.id: "
p ($arg0).u1.id
end
define nd_defn
- printf "%su3.node%s: ", $color_highlite, $color_end
+ printf "u3.node: "
rp ($arg0).u3.node
end
define nd_old
- printf "%su1.id%s: ", $color_highlite, $color_end
+ printf "u1.id: "
p ($arg0).u1.id
end
define nd_new
- printf "%su2.id%s: ", $color_highlite, $color_end
+ printf "u2.id: "
p ($arg0).u2.id
end
define nd_cfnc
- printf "%su1.cfunc%s: ", $color_highlite, $color_end
+ printf "u1.cfunc: "
p ($arg0).u1.cfunc
end
define nd_argc
- printf "%su2.argc%s: ", $color_highlite, $color_end
+ printf "u2.argc: "
p ($arg0).u2.argc
end
define nd_cname
- printf "%su1.id%s: ", $color_highlite, $color_end
+ printf "u1.id: "
p ($arg0).u1.id
end
define nd_super
- printf "%su3.node%s: ", $color_highlite, $color_end
+ printf "u3.node: "
rp ($arg0).u3.node
end
define nd_modl
- printf "%su1.id%s: ", $color_highlite, $color_end
+ printf "u1.id: "
p ($arg0).u1.id
end
define nd_clss
- printf "%su1.value%s: ", $color_highlite, $color_end
+ printf "u1.value: "
rp ($arg0).u1.value
end
define nd_beg
- printf "%su1.node%s: ", $color_highlite, $color_end
+ printf "u1.node: "
rp ($arg0).u1.node
end
define nd_end
- printf "%su2.node%s: ", $color_highlite, $color_end
+ printf "u2.node: "
rp ($arg0).u2.node
end
define nd_state
- printf "%su3.state%s: ", $color_highlite, $color_end
+ printf "u3.state: "
p ($arg0).u3.state
end
define nd_rval
- printf "%su2.value%s: ", $color_highlite, $color_end
+ printf "u2.value: "
rp ($arg0).u2.value
end
define nd_nth
- printf "%su2.argc%s: ", $color_highlite, $color_end
+ printf "u2.argc: "
p ($arg0).u2.argc
end
define nd_tag
- printf "%su1.id%s: ", $color_highlite, $color_end
+ printf "u1.id: "
p ($arg0).u1.id
end
define nd_tval
- printf "%su2.value%s: ", $color_highlite, $color_end
+ printf "u2.value: "
rp ($arg0).u2.value
end
-define nd_tree
- set $buf = (struct RString *)rb_str_buf_new(0)
- call dump_node((VALUE)($buf), rb_str_new(0, 0), 0, ($arg0))
- printf "%s\n", $buf->as.heap.ptr
-end
-
define rb_p
call rb_p($arg0)
end
@@ -765,7 +653,7 @@ define rb_numtable_entry
end
end
else
- set $rb_numtable_p = $rb_numtable_tbl->as.big.bins[st_numhash($rb_numtable_id) % $rb_numtable_tbl->num_bins]
+ set $rb_numtable_p = $rb_numtable_tbl->as.big.bins[$rb_numtable_id % $rb_numtable_tbl->num_bins]
while $rb_numtable_p
if $rb_numtable_p->key == $rb_numtable_id
set $rb_numtable_key = $rb_numtable_p->key
@@ -779,9 +667,12 @@ define rb_numtable_entry
end
define rb_id2name
- ruby_gdb_init
- printf "%sID%s: ", $color_type, $color_end
- rp_id $arg0
+ rb_numtable_entry global_symbols.id_str (ID)$arg0
+ if $rb_numtable_rec
+ rp $rb_numtable_rec
+ else
+ echo undef\n
+ end
end
document rb_id2name
Print the name of id
@@ -792,10 +683,10 @@ define rb_method_entry
set $rb_method_entry_id = (ID)$arg1
set $rb_method_entry_me = (rb_method_entry_t *)0
while !$rb_method_entry_me && $rb_method_entry_klass
- rb_numtable_entry $rb_method_entry_klass->m_tbl_wrapper->tbl $rb_method_entry_id
+ rb_numtable_entry $rb_method_entry_klass->m_tbl $rb_method_entry_id
set $rb_method_entry_me = (rb_method_entry_t *)$rb_numtable_rec
if !$rb_method_entry_me
- set $rb_method_entry_klass = (struct RClass *)RCLASS_SUPER($rb_method_entry_klass)
+ set $rb_method_entry_klass = (struct RClass *)$rb_method_entry_klass->ptr->super
end
end
if $rb_method_entry_me
@@ -810,21 +701,16 @@ document rb_method_entry
end
define rb_classname
- # up to 128bit int
- set $rb_classname_permanent = "0123456789ABCDEF"
- set $rb_classname = classname($arg0, $rb_classname_permanent)
- if $rb_classname != RUBY_Qnil
- rp $rb_classname
- else
- echo anonymous class/module\n
- end
+ call classname($arg0)
+ rb_p $
+ print *(struct RClass*)($arg0)
end
define rb_ancestors
set $rb_ancestors_module = $arg0
while $rb_ancestors_module
- rp_class $rb_ancestors_module
- set $rb_ancestors_module = RCLASS_SUPER($rb_ancestors_module)
+ rp $rb_ancestors_module
+ set $rb_ancestors_module = ((struct RClass *)($rb_ancestors_module))->ptr.super
end
end
document rb_ancestors
diff --git a/.gitignore b/.gitignore
index 847f6e60f8..5808bf1082 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,22 +23,19 @@
.ppack
.svn
Makefile
-Makefile.old
extconf.h
y.output
y.tab.c
# /
-/*-fake.rb
/*.pc
/*_prelude.c
/COPYING.LIB
-/ChangeLog-*
+/ChangeLog-1.8.0
/ChangeLog.pre-alpha
/ChangeLog.pre1_1
/Doxyfile
/GNUmakefile
-/GNUmakefile.old
/README.atheos
/README.fat-patch
/README.v6
@@ -47,7 +44,6 @@ y.tab.c
/autom4te*.cache
/automake
/beos
-/bmlog-*
/breakpoints.gdb
/config.cache
/config.h
@@ -55,11 +51,6 @@ y.tab.c
/config.status
/config.status.lineno
/configure
-/coverage/simplecov
-/coverage/.last_run.json
-/coverage/.resultset.json*
-/coverage/assets
-/coverage/index.html
/doc/capi
/enc.mk
/encdb.h
@@ -91,7 +82,6 @@ y.tab.c
/rubicon
/ruby
/ruby-man.rd.gz
-/sizes.c
/test.rb
/tmp
/transdb.h
@@ -102,10 +92,6 @@ y.tab.c
# /benchmark/
/benchmark/bmx_*.rb
-/benchmark/fasta.output.*
-/benchmark/wc.input
-
-/enc/unicode/data
# /enc/trans/
/enc/trans/*.c
@@ -117,12 +103,6 @@ y.tab.c
/ext/dl/callback/callback-*.c
/ext/dl/callback/callback.c
-# /ext/etc/
-/ext/etc/constdefs.h
-
-# /ext/rbconfig/
-/ext/rbconfig/sizeof/sizes.c
-
# /ext/ripper/
/ext/ripper/eventids1.c
/ext/ripper/eventids2table.c
@@ -138,17 +118,10 @@ y.tab.c
# /ext/tk/
/ext/tk/config_list
-# /gems
-/gems/*.gem
-
# /spec/
/spec/mspec
/spec/rubyspec
-# /tool/
-/tool/config.guess
-/tool/config.sub
-
# /win32/
/win32/*.ico
/win32/.time
diff --git a/.travis.yml b/.travis.yml
index 4550563a02..db25c9eb08 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,57 +25,30 @@ compiler:
- gcc
- clang
-os:
- - linux
- - osx
-
# Dependencies. Some header files are missing in a Travis' worker VM, so we
# have to install them. The "1.9.1" here is OK. It is the most adopted
# version string for Debian/Ubuntu, and no dependencies have been changed so
# far since the 1.9.1 release.
before_install:
- - "if [[ $TRAVIS_OS_NAME = 'linux' ]]; then sudo apt-get -qq update; fi"
- - "if [[ $TRAVIS_OS_NAME = 'linux' ]]; then sudo apt-get -qq install $CC; fi" # upgrade if any
- - "if [[ $TRAVIS_OS_NAME = 'linux' ]]; then JOBS='-j'; fi"
- - "if [[ $TRAVIS_OS_NAME = 'osx' ]]; then brew install autoconf openssl; fi"
- - "if [[ $TRAVIS_OS_NAME = 'osx' ]]; then OPENSSL_FLAG=\"--with-openssl-dir=`brew --prefix openssl`\"; fi"
- - "if [[ $TRAVIS_OS_NAME = 'osx' && $CC = 'gcc' ]]; then CC='gcc-4.9'; fi"
-install: "if [[ $TRAVIS_OS_NAME = 'linux' ]]; then sudo apt-get -qq build-dep ruby1.9.1 2>/dev/null; fi"
+ - "sudo apt-get -qq update"
+ - "sudo apt-get -qq install $CC" # upgrade if any
+install: "sudo apt-get -qq build-dep ruby1.9.1 2>/dev/null"
# Script is where the test runs. Note we just do "make test", not other tests
# like test-all, test-rubyspec. This is because they take too much time,
# enough for Travis to shut down the VM as being stalled.
before_script:
- - "if [[ $TRAVIS_OS_NAME = 'osx' ]]; then rm -f ~/Library/Logs/DiagnosticReports/ruby_*.crash; fi"
- - "uname -a"
- - "uname -r"
- - "rm -fr .ext autom4te.cache"
- - "make -f common.mk BASERUBY=ruby srcdir=. update-config_files"
- "autoconf"
- - "mkdir config_1st config_2nd"
- - "./configure -C --disable-install-doc --disable-install-rdoc --with-gcc=$CC $OPENSSL_FLAG"
- - "cp -pr config.status .ext/include config_1st"
- - "make reconfig"
- - "cp -pr config.status .ext/include config_2nd"
- - "diff -ru config_1st config_2nd || true"
- - "make -s $JOBS encs"
- - "make -s $JOBS exts"
- - "make update-rubyspec"
-script:
- - "make test"
- - "make test-all TESTS='-q -j2'"
- - "make test-rubyspec"
-after_failure:
- - "if [[ $TRAVIS_OS_NAME = 'osx' ]]; then find ~/Library/Logs/DiagnosticReports -type f -name ruby_\\*.crash -ls -execdir cat {} \\; -delete; fi"
+ - "./configure --with-gcc=$CC"
+ - "make -sj encs"
+ - "make -sj exts"
+script: "make test OPTS=-v"
# Branch matrix. Not all branches are Travis-ready so we limit branches here.
branches:
only:
- trunk
- ruby_1_9_3
- - ruby_2_0_0
- - ruby_2_1
- - ruby_2_2
# We want to be notified when something happens.
notifications:
@@ -88,13 +61,6 @@ notifications:
template:
- "%{message} by @%{author}: See %{build_url}"
- # Update ruby-head installed on Travis CI so other projects can test against it.
- webhooks:
- urls:
- - "https://rubies.travis-ci.org/rebuild/ruby-head"
- on_success: always
- on_failure: never
-
# Local Variables:
# mode: YAML
# coding: utf-8-unix
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
deleted file mode 100644
index ffdf2dd4b8..0000000000
--- a/CONTRIBUTING.md
+++ /dev/null
@@ -1,4 +0,0 @@
-Please see the [official issue tracker] and wiki [HowToContribute].
-
-[official issue tracker]: https://bugs.ruby-lang.org
-[HowToContribute]: https://bugs.ruby-lang.org/projects/ruby/wiki/HowToContribute
diff --git a/ChangeLog b/ChangeLog
index 10ab61c555..02ae4869e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11927 +1,28225 @@
-Thu Dec 18 17:45:26 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Thu Nov 13 22:31:50 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
- * configure.in (rb_cv_binary_elf): get rid of -e option of cat
- which is not available on BusyBox, use tr instead.
- [ruby-core:64824] [Bug #10210]
+ * lib/rexml/document.rb: add REXML::Document#document.
+ reported by Tomas Hoger <thoger@redhat.com> and patched by nahi.
-Thu Dec 18 14:25:17 2014 NAKAMURA Usaku <usa@ruby-lang.org>
+Thu Nov 6 17:31:51 2014 Naohisa Goto <ngotogenome@gmail.com>
- * signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT,
- should be treated before calling signal(3).
- [Bug #10615]
+ * compile.c (compile_data_alloc): add padding when strict alignment
+ is required for memory access. Currently, the padding is enabled
+ only when the CPU is 32-bit SPARC and the compiler is GCC.
+ [Bug #9681] [ruby-core:61715]
-Wed Dec 17 12:20:56 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+ * compile.c (STRICT_ALIGNMENT): defined if strict alignment is required
- * compile.c (rb_method_for_self_aref, rb_method_for_self_aset):
- move from iseq.c to build from node instead of arrays.
+ * compile.c (ALIGNMENT_SIZE, ALIGNMENT_SIZE_MASK, PADDING_SIZE_MAX):
+ new macros for alignemnt word size, bit mask, max size of padding.
-Wed Dec 17 10:50:09 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
+ * compile.c (calc_padding): new function to calculate padding size
- * test/gdbm/test_gdbm.rb: Added test for each_key called without a block.
- Patch by @joeyates [fix GH-783]
+Wed Nov 5 18:26:49 2014 NAKAMURA Usaku <usa@ruby-lang.org>
-Wed Dec 17 10:18:42 2014 Koichi Sasada <ko1@atdot.net>
+ * vm_insnhelper.c (unknown_keyword_error): delete expected keywords
+ directly from raw table, so that the given block is not called.
+ derived from r48102 of trunk.
+ [ruby-core:65837] [Bug #10413]
- * compile.c (iseq_compile_each): check
- iseq->compile_data->option->specialized_instruction for opt_* insn.
+Mon Oct 27 20:21:05 2014 NAKAMURA Usaku <usa@ruby-lang.org>
- * test/ruby/test_iseq.rb: check no specialized_instructions option.
+ * lib/rexml/entity.rb: keep the entity size within the limitation.
+ reported by Willis Vandevanter <will@silentrobots.com> and
+ patched by nahi.
-Wed Dec 17 09:48:57 2014 Eric Wong <e@80x24.org>
+Mon Oct 27 13:26:46 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * compile.c (iseq_compile_each): only emit opt_str_freeze,
- opt_aref_with, and opt_aset_with insn when no block is given
- [Bug #10557] [ruby-core:66595]
- * test/ruby/test_optimization.rb (test_block_given_aset_aref):
- new test for bug thanks to Bartosz Kopinski.
- (test_string_freeze): additional assertion for object_id
+ * vm_method.c (rb_method_entry_make): warn redefinition only for
+ already defined methods, but not for undefined methods.
+ [ruby-dev:48691] [Bug #10421]
-Wed Dec 17 01:06:47 2014 NAKAMURA Usaku <usa@ruby-lang.org>
+Thu Oct 23 18:56:55 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
- * ext/win32/lib/Win32API.rb (Win32API#call): need to splat. hmm, when
- was this broken?
+ * ext/openssl/lib/openssl/ssl.rb (DEFAULT_PARAMS): override
+ options even if OpenSSL::SSL::OP_NO_SSLv3 is not defined.
+ this is pointed out by Stephen Touset. [ruby-core:65711] [Bug #9424]
-Tue Dec 16 15:18:23 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Thu Oct 23 18:56:55 2014 Martin Bosslet <Martin.Bosslet@gmail.com>
- * iseq.c (rb_method_for_self_aref, rb_method_for_self_aset): call
- accessor functions directly, not to be affected by [] and []=
- methods. [ruby-core:66846] [Bug #10601]
+ * test/openssl/test_ssl.rb: Reuse TLS default options from
+ OpenSSL::SSL::SSLContext::DEFAULT_PARAMS.
- * struct.c (define_aref_method, define_aset_method): ditto.
+Thu Oct 23 18:56:55 2014 Martin Bosslet <Martin.Bosslet@gmail.com>
- * vm_insnhelper.c (rb_vm_opt_struct_aref, rb_vm_opt_struct_aset):
- direct accessors of Struct.
+ * lib/openssl/ssl.rb: Explicitly whitelist the default
+ SSL/TLS ciphers. Forbid SSLv2 and SSLv3, disable
+ compression by default.
+ Reported by Jeff Hodges.
+ [ruby-core:59829] [Bug #9424]
-Tue Dec 16 12:01:29 2014 Koichi Sasada <ko1@atdot.net>
+Mon Oct 20 14:41:45 2014 Kazuki Tsujimoto <kazuki@callcc.net>
- * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
- extend timeout seconds to 60 for RGENGC_CHECK_MODE > 0 environment.
+ * vm_core.h, vm.c, proc.c: fix GC mark miss on bindings.
+ [ruby-dev:48616] [Bug #10368]
-Tue Dec 16 08:53:12 2014 Eric Wong <e@80x24.org>
+ * test/ruby/test_eval.rb: add a test code.
- * tool/vcs.rb: fix Ruby 1.8 compatibility harder
+Fri Oct 17 13:22:17 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Dec 16 07:37:18 2014 Eric Wong <e@80x24.org>
+ * parse.y (parser_here_document): do not append already appended
+ and disposed code fragment. [ruby-dev:48647] [Bug #10392]
- * gc.c (GC_HEAP_FREE_SLOTS): move definition to match use order
- (RUBY_GC_HEAP_GROWTH_SLOTS): s/factor/number of slots/
+Fri Oct 17 13:19:44 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * man/ruby.1: add section for GC environment variables
- [Feature #10197]
+ * ext/stringio/stringio.c (strio_write): ASCII-8BIT StringIO
+ should be writable any encoding strings, without conversion.
+ [ruby-core:65240] [Bug #10285]
-Tue Dec 16 05:41:46 2014 Eric Wong <e@80x24.org>
+Fri Oct 17 13:10:08 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * tool/vcs.rb: fix Ruby 1.8 compatibility
+ * vm_eval.c (eval_string_with_cref): fix super from eval with
+ scope. set klass in the current control frame to the class of
+ the receiver in the context to be evaluated, this class/module
+ must match the actual receiver to call super.
+ [ruby-core:65122] [Bug #10263]
-Mon Dec 15 17:51:28 2014 Koichi Sasada <ko1@atdot.net>
+Thu Oct 16 16:33:51 2014 NAKAMURA Usaku <usa@ruby-lang.org>
- * ext/objspace/objspace.c: ObjectSpace.memsize_of(obj) returns
- with sizeof(RVALUE). [Bug #8984]
+ * regcomp.c, regexec.c: Optimization should be disabled not only for
+ /(?<=x).*/ but also for /(?!x).*/.
+ (merge r47598 partially. [Bug #9728])
- * gc.c (obj_memsize_of): ditto.
+Thu Oct 16 16:23:03 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
- * NEWS: add a NEWS entry.
+ * lib/fileutils.rb: handle ENOENT error with symlink targeted to
+ non-exists file. [ruby-dev:45933] [Bug #6716]
- * test/objspace/test_objspace.rb: catch up this fix.
+Wed Oct 15 16:23:22 2014 Tanaka Akira <akr@fsij.org>
- * test/ruby/test_file_exhaustive.rb: ditto.
+ * test/ruby/test_time_tz.rb: Fix test error with tzdata-2014g.
+ [ruby-core:65058] [Bug #10245] Reported by Vit Ondruch.
-Mon Dec 15 16:19:23 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Wed Oct 15 16:23:22 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
- * string.c (rb_enc_str_coderange): dummy wchar, non-endianness
- encoding string cannot be ascii only.
- [ruby-core:66835] [Bug #10598]
+ * test/minitest/test_minitest_unit.rb: removed obsoleted condition
+ for Ruby 1.8.
+ * test/ruby/test_time_tz.rb: ditto.
-Sun Dec 14 20:11:42 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Wed Oct 15 16:19:39 2014 Eric Wong <e@80x24.org>
- * parse.y (primary): restore current_arg so that circular
- reference after a method definition is also warned.
- [ruby-core:61299] [Bug #9593]
+ * array.c (ary_recycle_hash): add RB_GC_GUARD
+ (rb_ary_diff): remove volatile
+ [Bug #10369]
-Sat Dec 13 20:41:55 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Wed Oct 15 16:13:28 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * vm_trace.c (rb_postponed_job_flush): mask signal trap interrupt
- too to defer handling after finalizers finished.
- [ruby-core:66825] [Bug #10595]
+ * dir.c (dir_s_aref): fix rdoc. `Dir.glob` allows an array but
+ `Dir[]` not. the former accepts an optional parameter `flags`,
+ while the latter accepts arbitrary number of arguments but no
+ `flags`. [ruby-core:65265] [Bug #10294]
-Sat Dec 13 18:33:25 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
+Wed Oct 15 16:12:11 2014 Rei Odaira <Rei.Odaira@gmail.com>
- * test/openssl/test_pkey_ec.rb: ignored tests with old OpenSSL.
+ * configure.in: Fix typo. [Bug #9914]
-Sat Dec 13 18:01:57 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Wed Oct 15 16:05:47 2014 NAKAMURA Usaku <usa@ruby-lang.org>
- * signal.c (check_stack_overflow): check sp also on i386/x86_64
- FreeBSD.
+ * error.c: update exception tree. [DOC]
+ reported by @hemge via twitter.
-Sat Dec 13 09:58:41 2014 Eric Wong <e@80x24.org>
+Wed Oct 15 15:57:48 2014 NAKAMURA Usaku <usa@ruby-lang.org>
- * gc.c (define_final0): avoid duplicate blocks
- [Bug #10537]
- * test/test_weakref.rb (test_repeated_object_leak): new test
+ * win32/Makefile.sub (VCSUP): nothing to do if this worktree is not
+ under any VCS (it means that the worktree may be from the release
+ package).
-Sat Dec 13 04:59:20 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Wed Oct 15 15:35:39 2014 Kazuki Tsujimoto <kazuki@callcc.net>
- * bin/erb (ERB::Main#run): get rid of shadowing outer local
- variables. [ruby-core:65772] [Feature #10395]
+ * ext/pathname/pathname.c (path_inspect): use PRIsVALUE to preserve
+ the result encoding.
-Fri Dec 12 21:56:44 2014 Kouhei Sutou <kou@cozmixng.org>
+Wed Sep 17 15:09:16 2014 Natalie Weizenbaum <nweiz@google.com>
- * gems/bundled_gems: Upgrade to test-unit 3.0.8. assert_throw and
- assert_nothing_thrown in test-unit 3.0.7 were broken by
- UncaughtThrowError change introduced in Ruby 2.2.0
- preview2. These assertions in test-unit 3.0.8 work well with
- UncaughtThrowError in Ruby 2.2.0 preview2.
+ * ext/pathname/lib/pathname.rb (SAME_PATHS):
+ Pathname#relative_path_from uses String#casecmp to compare strings
+ on case-insensitive filesystem platforms (e.g., Windows). This can
+ return nil for strings with different encodings, and the code
+ previously assumed that it always returned a Fixnum. [Fix GH-713]
-Fri Dec 12 19:48:55 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Wed Sep 17 15:07:35 2014 Sho Hashimoto <sho.hsmt@gmail.com>
- * bin/erb (ARGV.switch, ERB::Main#run): allow variables to be set
- from the command line. [ruby-core:65772] [Feature #10395]
+ * ext/fiddle/lib/fiddle/import.rb (Fiddle::Importer#sizeof): fix typo,
+ SIZEOF_LONG_LON. [Fix GH-714]
-Fri Dec 12 19:31:44 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Wed Sep 17 14:58:50 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/erb.rb (ERB#lineno): accessor for line number to eval.
+ * lib/mkmf.rb (MakeMakefile#pkg_config): append --cflags to also
+ $CXXFLAGS, as they are often used by C++ compiler.
+ [ruby-core:54532] [Bug #8315]
- * lib/erb.rb (ERB#location=): setter of file name and line number.
+Wed Sep 17 14:58:50 2014 Shota Fukumori <her@sorah.jp>
-Fri Dec 12 13:09:13 2014 Koichi Sasada <ko1@atdot.net>
+ * lib/mkmf.rb (configuration): Make CXXFLAGS customizable.
+ Patch by Kohei Suzuki (eagletmt). [Fixes GH-492]
- * gc.c (gc_latest_gc_info): return :state field to show current
- GC state (none/marking/sweeping).
- [Feature #10590]
+Wed Sep 17 14:52:38 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Dec 12 10:49:18 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+ * lib/csv.rb (CSV#<<): honor explicitly given encoding. based on
+ the patch by DAISUKE TANIWAKI <daisuketaniwaki AT gmail.com> at
+ [ruby-core:62113]. [Bug #9766]
- * string.c (rb_str_crypt): check arguments more strictly.
- * crypt() is not for wide char strings
- * salt bytes should not be NUL
+Fri Sep 12 11:34:39 2014 Koichi Sasada <ko1@atdot.net>
-Fri Dec 12 08:16:01 2014 Matt Hoyle <matt@deployable.co>
+ * test/ruby/test_object.rb: extend timeout.
- * io.c (io_read) Fix spelling in docco for read. [Fix GH-781]
- try > tries
+Fri Sep 12 11:34:39 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Dec 11 19:06:01 2014 Koichi Sasada <ko1@atdot.net>
+ * object.c (rb_obj_copy_ivar): allocate no memory for empty
+ instance variables. [ruby-core:64700] [Bug #10191]
- * class.c (class_alloc): Start from age == 2.
- Class and Module objects can be living long life.
+Fri Sep 12 11:34:39 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * iseq.c: Same for ISeq objects.
+ * object.c (rb_obj_copy_ivar): extract function to copy instance
+ variables only for T_OBJECT from init_copy.
- * gc.c (RVALUE_AGE_RESET): added.
+Fri Sep 12 11:30:50 2014 NAKAMURA Usaku <usa@ruby-lang.org>
- * gc.c (newobj_of): allow to generate (age != 0) objects.
+ * regcomp.c: Merge Onigmo 988517a4f16f14acbd7cc9d5b51a096d5153992c.
+ [Bug #9344].
- * gc.c (rb_copy_wb_protected_attribute): reset age for wb unprotected
- objects.
+Fri Sep 12 11:22:55 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * include/ruby/ruby.h: add RUBY_TYPED_PROMOTED1 as an unrecommended
- flag.
+ * common.mk (Doxyfile): revert r43888, not to require preinstalled
+ ruby. [ruby-core:64488] [Bug #10161]
-Thu Dec 11 05:37:52 2014 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
+Fri Sep 12 11:15:04 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/prime.rb: Remove useless loop and block capture.
- See [#10354]
+ * io.c (rb_io_reopen): create a new, temporary FD via rb_sysopen and
+ call rb_cloexec_dup2 on it to atomically replace the file fptr->fd
+ points to. This leaves no possible window where fptr->fd is invalid
+ to userspace (even for any threads running w/o GVL). based on the
+ patch by Eric Wong <normalperson@yhbt.net> at [ruby-core:57943].
+ [Bug #9036]
-Thu Dec 11 04:27:24 2014 Koichi Sasada <ko1@atdot.net>
+Wed Sep 10 12:34:34 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * vm_core.h: introduce new field
- rb_thread_t::local_storage_recursive_hash_for_trace to store
- recursive hash to avoid creating new recursive (nested) hashes
- for each trace events.
- [Bug #10511]
+ * io.c (io_close): ignore only "closed stream" IOError and
+ NoMethodError, do not swallow other exceptions at the end of
+ block. [ruby-core:64463] [Bug #10153]
- * vm_trace.c (rb_threadptr_exec_event_hooks_orig): use it.
+Wed Sep 10 12:27:08 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * cont.c: catch up this fix.
+ * enc/trans/euckr-tbl.rb (EUCKR_TO_UCS_TBL): add missing euro and
+ registered signs. [ruby-core:64452] [Bug #10149]
- * vm.c (rb_thread_mark): ditto.
+Wed Sep 10 12:25:24 2014 Eric Wong <e@80x24.org>
-Wed Dec 10 13:39:27 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+ * time.c (time_timespec): fix tv_nsec overflow
+ [Bug #10144]
- * struct.c (define_aref_method, define_aset_method): use iseq
- VALUE instead of rb_iseq_t to prevent from GC, as RB_GC_GUARD
- makes sense only for local variables. [Feature #10575]
+Wed Sep 10 12:21:51 2014 Eric Wong <e@80x24.org>
-Wed Dec 10 09:38:40 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+ * ext/zlib/zlib.c (gzfile_reset): preserve ZSTREAM_FLAG_GZFILE
+ [Bug #10101]
- * thread.c (exec_recursive): use the same last method name as
- recursive_push in the error message when recursive_pop failed.
- [ruby-core:66742] [Bug #10579]
+ * test/zlib/test_zlib.rb (test_rewind): test each_byte
-Wed Dec 10 02:48:46 2014 NAKAMURA Usaku <usa@ruby-lang.org>
+Wed Sep 10 12:06:27 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * test/net/http/test_https.rb
- (TestNetHTTPS#test_certificate_verify_failure): on Windows,
- Errno::ECONNRESET will be raised when the verify is failure at the
- client side, and it'll be eaten by WEBrick.
+ * io.c (rb_io_initialize): [DOC] fix rdoc of append mode. it does
+ not move the pointer at open. [ruby-core:63747] [Bug #10039]
- * test/open-uri/test_ssl.rb (TestOpenURISSL#test_validation_failure):
- ditto.
+Wed Sep 10 11:50:26 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Dec 10 00:42:13 2014 Eric Wong <e@80x24.org>
+ * sprintf.c (GETASTER): should not use the numbered argument to be
+ formatted, raise ArgumentError instead.
+ [ruby-dev:48330] [Bug #9982]
- * iseq.c (rb_method_for_self_aref, rb_method_for_self_aset):
- new methods to generate bytecode for struct.c
- [Feature #10575]
- * struct.c (rb_struct_ref, rb_struct_set): remove
- (define_aref_method, define_aset_method): new functions
- (setup_struct): use new functions
- * test/ruby/test_struct.rb: add test for struct >10 members
- * benchmark/bm_vm2_struct_big_aref_hi.rb: new benchmark
- * benchmark/bm_vm2_struct_big_aref_lo.rb: ditto
- * benchmark/bm_vm2_struct_big_aset.rb: ditto
- * benchmark/bm_vm2_struct_small_aref.rb: ditto
- * benchmark/bm_vm2_struct_small_aset.rb: ditto
+Wed Sep 10 11:43:55 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
-Tue Dec 9 20:24:41 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
+ * test/openssl/test_pkey_rsa.rb (OpenSSL#test_sign_verify_memory_leak):
+ added timeout into testcase for low performance environment.
+ [Bug #9984][ruby-core:63367]
- * string.c: [DOC] Add missing documentation around String#chomp.
- Patch by @stderr [ci skip][fix GH-780]
+Wed Sep 10 11:39:54 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Dec 9 18:20:02 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+ * hash.c (env_aset, env_has_key, env_assoc, env_has_value),
+ (env_rassoc, env_key): prohibit tainted strings if $SAFE is
+ non-zero. [Bug #9976]
- * object.c: [DOC] Revise documentation by Marcus Stollsteimer at
- [ruby-core:66368]. [Bug #10526]
+Sat Sep 6 09:10:45 2014 Zachary Scott <e@zzak.io>
- * #inspect: be more specific about generated string, remove
- obsolete example.
- * #nil?: use code examples instead of different call-seq's.
- * #tap: clarify what is yielded.
- * Integer(): be more specific about to_int and to_i, remove
- reference to Ruby 1.8.
- * Array(): fix error.
- * Class: fix variable name style and indentation in example.
- * improve consistency, fix typos and formatting.
+ * lib/rdoc/generator/template/darkfish/js/jquery.js: Backport
+ rdoc/rdoc@74f60fcb04fee1778fe2694d1a0ea6513f8e67b7
-Tue Dec 9 12:48:32 2014 Josef Simanek <josef.simanek@gmail.com>
+Fri Sep 5 14:08:00 2014 Masaki Suketa <masaki.suketa@nifty.ne.jp>
- * vm_eval.c (rb_eval_string_wrap): [DOC] Fix `rb_eval_string_wrap`
- documentation. It is referencing `require` instead of `load`.
- The former does not have the optional argument. [Fix GH-779]
+ * ext/win32ole/win32ole.c (ole_create_dcom): use the converted
+ result if the argument can be converted to a string, to get rid
+ of invalid access. Thanks to nobu. [ruby-dev:48467] [Bug #10127]
-Tue Dec 9 10:16:24 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Fri Sep 5 14:00:33 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_frame_last_func): return the most recent frame method
- name.
+ * process.c (open): use UTF-8 version function to support
+ non-ascii path properly. [ruby-core:63185] [Bug #9946]
+
+Fri Sep 5 13:53:41 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * parse.y (parser_yylex): fix invalid char in eval, should raise
+ an syntax error too, as well as directly coded.
+ [ruby-core:64243] [Bug #10117]
- * thread.c (recursive_list_access): use the last method name,
- instead of the current method name which can be unset in some
- cases, not to use a symbol by the invalid ID.
- [ruby-core:66742] [Bug #10579]
+Fri Sep 5 13:51:10 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Dec 7 19:36:12 2014 Kazuki Tsujimoto <kazuki@callcc.net>
+ * parse.y (parser_yyerror): preserve source code encoding in
+ syntax error messages. [ruby-core:64228] [Bug #10114]
- * ext/socket/basicsocket.c, ext/socket/sockssocket.c:
- remove code for $SAFE=4.
+Fri Sep 5 13:44:53 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Dec 7 10:20:55 2014 Eric Hodel <drbrain@segment7.net>
+ * string.c (rb_str_count): fix wrong single-byte optimization.
+ 7bit ascii can be a trailing byte in Shift_JIS.
+ [ruby-dev:48442] [Bug #10078]
- * lib/rdoc: Update to RDoc 4.2.0.
- * test/rdoc: ditto.
+Fri Sep 5 13:36:12 2014 NAKAMURA Usaku <usa@ruby-lang.org>
-Sun Dec 7 09:52:30 2014 Eric Hodel <drbrain@segment7.net>
+ merge r46831 partially. these changes are from:
+ https://github.com/k-takata/Onigmo/commit/7abd7b29481f98eb92be786e3d33611fc7d000a0
+ [Bug #8716]
- * lib/rubygems: Update to RubyGems 2.4.5.
- * test/rubygems: ditto.
+ * include/ruby/oniguruma.h (ONIG_MAX_CAPTURE_GROUP_NUM,
+ ONIGERR_TOO_MANY_CAPTURE_GROUPS): add cheking the number of capture
+ groups.
+
+ * regerror.c (onig_error_code_to_format): ditto.
+
+ * regparse.c (scan_env_add_mem_entry): ditto.
+
+ * regexec.c (onig_region_copy, match_at): fix: segmation fault occurs
+ when many groups are used.
+
+Fri Sep 5 13:06:53 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * string.c (rb_str_resize): update capa only when buffer get
+ reallocated.
+ http://d.hatena.ne.jp/nagachika/20140613/ruby_trunk_changes_46413_46420#r46413
+
+Fri Sep 5 13:06:53 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * string.c (rb_str_resize): should consider the capacity instead
+ of the old length, as pointed out by nagachika.
+
+Fri Sep 5 13:06:53 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * file.c (expand_path): shrink expanded path which no longer needs
+ rooms to append. [ruby-core:63114] [Bug #9934]
+
+Wed Sep 3 13:42:24 2014 Mark Lorenz <mlorenz@covermymeds.com>
+
+ * lib/erb.rb (result): [DOC] no longer accepts a Proc, as
+ Kernel.eval does not. [fix GH-619]
+
+Wed Sep 3 13:23:29 2014 Tanaka Akira <akr@fsij.org>
+
+ * io.c (rb_io_autoclose_p): Don't raise on frozen IO.
+
+ * test/lib/minitest/unit.rb: IO#autoclose? may raise IOError.
+
+Wed Sep 3 13:23:29 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * io.c (rb_io_fileno, rb_io_inspect): non-modification does not
+ error on frozen IO. [ruby-dev:48241] [Bug #9865]
+
+Wed Sep 3 13:17:38 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * configure.in (posix_fadvise): disable use of posix_fadvise
+ itself on 32-bit AIX. [ruby-core:62968] [Bug #9914]
+
+Wed Sep 3 13:17:38 2014 <kanemoto@ruby-lang.org>
+
+ * io.c (rb_io_advise): AIX currently does not support a 32-bit call to
+ posix_fadvise() if _LARGE_FILES is defined. Patch by Rei Odaira.
+ [ruby-core:62968] [Bug #9914]
+
+Wed Sep 3 12:48:14 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/stringio/stringio.c (strio_write): use rb_str_append to
+ reuse coderange bits other than ASCII-8BIT, and keep
+ taintedness. [ruby-dev:48118] [Bug #9769]
+
+Wed Sep 3 12:41:35 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * hash.c (env_shift): fix memory leak on Windows, free environment
+ strings block always. [ruby-dev:48332] [Bug #9983]
+
+Wed Sep 3 12:41:35 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * hash.c (env_select): fix memory leak and crash on Windows, make
+ keys array first instead of iterating on environ directly.
+ [ruby-dev:48325] [Bug #9978]
+
+Wed Sep 3 12:41:35 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * hash.c (ruby_setenv): fix memory leak on Windows, free
+ environment strings block after check for the size.
+ [ruby-dev:48323] [Bug #9977]
+
+Wed Sep 3 12:24:39 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * re.c (match_aref, rb_reg_regsub): consider encoding of captured
+ names, encoding-incompatible should not match.
+ [ruby-dev:48278] [Bug #9903]
+
+Wed Sep 3 12:24:39 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * sprintf.c (ruby__sfvextra): add QUOTE flag to escape unprintable
+ characters.
+
+Wed Sep 3 12:24:39 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * sprintf.c (ruby__sfvextra): add QUOTE flag to escape unprintable
+ characters.
+
+Sun Aug 31 16:59:45 2014 Koichi Sasada <ko1@atdot.net>
+
+ * vm_eval.c (rb_catch_protect): fix same problem of [Bug #9961].
+
+ * vm_eval.c (rb_iterate): ditto.
+
+Sun Aug 31 16:59:45 2014 Koichi Sasada <ko1@atdot.net>
+
+ * vm.c (rb_vm_rewind_cfp): add new function to rewind specified cfp
+ with invoking RUBY_EVENT_C_RETURN.
+ [Bug #9961]
+
+ * vm_core.h: ditto.
+
+ * eval.c (rb_protect): use it.
+
+ * eval.c (rb_rescue2): ditto.
+
+ * vm_eval.c (rb_iterate): ditto.
+
+ * test/ruby/test_settracefunc.rb: add a test.
+
+ * vm_core.h (rb_name_err_mesg_new):
+
+Sun Aug 31 16:50:06 2014 Koichi Sasada <ko1@atdot.net>
+
+ * compile.c (rb_iseq_compile_node): put start label of block after
+ trace (b_call).
+ [Bug #9964]
+
+ * test/ruby/test_settracefunc.rb: add a test.
+
+ added assert_consistent_call_return() method check call/return
+ consistency.
+
+Sun Aug 31 16:38:26 2014 Koichi Sasada <ko1@atdot.net>
+
+ * vm_core.h: add VM_FRAME_MAGIC_RESCUE to recognize normal block or
+ rescue clause.
+
+ * vm.c (vm_exec): use VM_FRAME_MAGIC_RESCUE on at rescue/ensure.
+
+ * test/ruby/test_settracefunc.rb: should not invoke b_return at rescue
+ clause.
+ [Bug #9957]
+
+ * vm_dump.c (control_frame_dump): check VM_FRAME_MAGIC_RESCUE.
+
+ * vm_dump.c (vm_stack_dump_each): ditto.
+
+Sun Aug 31 16:32:10 2014 Hiroshi Shirosaki <h.shirosaki@gmail.com>
+
+ * lib/test/unit/parallel.rb: fix test-all parallel failure if a test
+ is skipped after raise.
+ DL::TestFunc#test_sinf is skipped after raise on mingw ruby.
+ But it causes Marshal.load failure due to undefined class/module
+ DL::DLError when doing test-all parallel and test-all doesn't
+ complete. We create new MiniTest::Skip object to avoid Marshal.load
+ failure.
+ [ruby-core:62133] [Bug #9767]
+
+ * test/testunit/test_parallel.rb (TestParallel): add a test.
+
+ * test/testunit/tests_for_parallel/ptest_forth.rb: ditto.
+
+Sun Aug 31 16:24:54 2014 Tanaka Akira <akr@fsij.org>
+
+ * ext/pathname/lib/pathname.rb (cleanpath_aggressive): make all
+ separators File::SEPARATOR from File::ALT_SEPARATOR.
+ Reported by Daniel Rikowski.
+ Fixed by Nobuyoshi Nakada. [Bug #9618]
+
+ * ext/pathname/lib/pathname.rb (cleanpath_conservative): ditto.
+
+Sun Aug 31 16:23:41 2014 Naohisa Goto <ngotogenome@gmail.com>
+
+ * lib/fileutils.rb (rmdir): rescue Errno::EEXIST in addition to
+ ENOTEMPTY (and ENOENT), because SUSv3 describes that "If the
+ directory is not an empty directory, rmdir() shall fail and set
+ errno to [EEXIST] or [ENOTEMPTY]" and Solaris uses EEXIST.
+ [Bug #9571] [ruby-dev:48017]
+
+Sun Aug 31 16:20:14 2014 Tanaka Akira <akr@fsij.org>
+
+ * lib/resolv.rb (bind_random_port): Rescue EPERM for FreeBSD which
+ security.mac.portacl.port_high is changed.
+ See mac_portacl(4) for details.
+ Reported by Jakub Szafranski. [ruby-core:60917] [Bug #9544]
+
+Sun Aug 31 16:16:24 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * re.c (match_aref): should not ignore name after NUL byte.
+ [ruby-dev:48275] [Bug #9902]
+
+Sun Aug 31 16:10:30 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/digest/digest.c (rb_digest_instance_equal): no need to call
+ `to_s` twice. [Bug #9913]
+
+Sun Aug 31 16:10:30 2014 Benoit Daloze <eregontp@gmail.com>
+
+ * ext/digest/digest.c (rb_digest_instance_equal):
+ fix #== for non-string arguments. [ruby-core:62967] [Bug #9913]
+
+ * test/digest/test_digest.rb: add test for above.
+
+Sun Aug 31 15:46:23 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * array.c (yield_indexed_values): extract from permute0(),
+ rpermute0(), and rcombinate0().
+
+Sun Aug 31 15:23:25 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * array.c (rb_ary_permutation): `p` is the array of size `r`, as
+ commented at permute0(). since `n >= r` here, buffer overflow
+ never happened, just reduce unnecessary allocation though.
+
+Mon Jul 7 13:05:04 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
+
+ * test/test_timeout.rb (test_timeout): inverted test condition.
+ [Bug #8523]
+
+Mon Jul 7 12:57:26 2014 Masaya Tarui <tarui@ruby-lang.org>
+
+ * st.c (st_foreach_check): change start point of search at check
+ from top to current. [ruby-dev:48047] [Bug #9646]
+
+Mon Jul 7 12:53:45 2014 Zachary Scott <e@zzak.io>
+
+ * lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]
+
+Mon Jul 7 12:52:44 2014 Zachary Scott <e@zzak.io>
+
+ * enumerator.c: [DOC] Fix example to show Enumerator#peek behavior
+ Patch by Erik Hollembeak [Bug #9814]
+
+Mon Jul 7 12:51:09 2014 Zachary Scott <e@zzak.io>
+
+ * enum.c: [DOC] Use #find in example to clarify alias by @rachellogie
+ Patch submitted via documenting-ruby/ruby#34
+
+Mon Jul 7 12:49:10 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
+
+ * man/ruby.1: remove deadlink. [ruby-core:62145][Bug #9773]
+
+Mon Jul 7 12:46:28 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * struct.c (not_a_member): extract name error and use same error
+ messages. based on the patch by Marcus Stollsteimer <sto.mar AT
+ web.de> at [ruby-core:61721]. [Bug #9684]
+
+Mon Jul 7 12:39:34 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * io.c (read_all): truncate the buffer before appending read data,
+ instead of truncating before reading.
+ [ruby-core:55951] [Bug #8625]
+
+Mon Jul 7 12:39:34 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * io.c (io_setstrbuf, io_read): should not shorten the given buffer until
+ read succeeds. [ruby-core:55951] [Bug #8625]
+
+Mon Jul 7 12:16:54 2014 Shugo Maeda <shugo@ruby-lang.org>
+
+ * lib/net/ftp.rb (gets, readline): read lines without LF properly.
+ [ruby-core:63205] [Bug #9949]
+
+ * test/net/ftp/test_buffered_socket.rb: related test.
+
+Mon Jul 7 12:13:09 2014 Shugo Maeda <shugo@ruby-lang.org>
+
+ * lib/net/imap.rb (body_type_1part): Gmail IMAP reports a body
+ type as "MIXED" followed immediately by params
+ [ruby-core:62864] [Bug #9885]
+ Patch by @rayners (David Raynes). [Fixes GH-622]
+ https://github.com/ruby/ruby/pull/622
+
+Mon Jul 7 12:05:28 2014 Shugo Maeda <shugo@ruby-lang.org>
+
+ * lib/net/imap.rb (body_type_msg): should accept
+ message/delivery-status with extra data.
+ [ruby-core:53741] [Bug #8167]
+
+ * test/net/imap/test_imap_response_parser.rb: related test.
+
+Mon Jul 7 11:47:51 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * parse.y (local_tbl_gen): remove local variables duplicated with
+ arguments.
+
+Thu Jul 3 15:17:22 2014 Koichi Sasada <ko1@atdot.net>
+
+ [ruby-core:60501] [Bug #9486]
+ * vm.c (rb_vm_pop_cfunc_frame): added. It cares c_return event.
+ The patch base by drkaes (Stefan Kaes).
+ [Bug #9321]
+
+ * variable.c (rb_mod_const_missing): use rb_vm_pop_cfunc_frame()
+ instead of rb_frame_pop().
+
+ * vm_eval.c (raise_method_missing): ditto.
+
+ * vm_eval.c (rb_iterate): ditto.
+
+ * internal.h (rb_vm_pop_cfunc_frame): add decl.
+
+ * test/ruby/test_settracefunc.rb: add tests.
+ provided by drkaes (Stefan Kaes).
+
+ * vm.c, eval.c, include/ruby/intern.h (rb_frame_pop):
+ move definition of rb_frame_pop() and deprecate it.
+ It doesn't care about `return' events.
+
+Fri Jun 27 17:57:16 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * string.c (rb_str_substr): need to reset code range for shared
+ string too, not only copied string.
+ [ruby-core:62842] [Bug #9882]
+
+Fri Jun 27 17:54:09 2014 Rei Odaira <Rei.Odaira@gmail.com>
+
+ * signal.c (ruby_signal): should return either `old.sa_sigaction`
+ or `old.sa_handler`, depending on whether `SA_SIGINFO` is set in
+ `old.sa_flags`, because they may not be a union.
+ [ruby-core:62836] [Bug #9878]
+
+Fri Jun 27 17:37:12 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * vsnprintf.c (BSD_vfprintf): fix string width when precision is
+ given. as the result of `memchr` is NULL or its offset from the
+ start cannot exceed the size, the comparison was always false.
+ [ruby-core:62737] [Bug #9861]
+
+Fri Jun 27 17:27:26 2014 Eric Wong <e@80x24.org>
+
+ * process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
+ [Bug #9856]
+
+Fri Jun 27 17:19:22 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * io.c (io_setstrbuf): always check if the buffer is modifiable.
+ [ruby-core:62643] [Bug #9847]
+
+Fri Jun 27 17:15:36 2014 Tanaka Akira <akr@fsij.org>
+
+ * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#accept):
+ Consider Socket#accept as well as TCPServer#accept.
+ Reported by Sam Stelfox. [ruby-core:62064] [Bug #9750]
+
+Fri Jun 27 17:12:45 2014 Eric Wong <e@80x24.org>
+
+ * complex.c (parse_comp): replace ALLOCA_N with ALLOCV_N/ALLOCV_END
+ [Bug #9608]
+ * rational.c (read_digits): ditto
+
+Fri Jun 27 17:05:23 2014 Tanaka Akira <akr@fsij.org>
+
+ * lib/net/ftp.rb (transfercmd): Close TCP server socket even if an
+ exception occur.
+
+Fri Jun 27 17:02:36 2014 Hiroshi Shirosaki <h.shirosaki@gmail.com>
+
+ * thread_win32.c (rb_w32_stack_overflow_handler): use Structured
+ Exception Handling by AddVectoredExceptionHandler() for machine
+ stack overflow on mingw.
+ This would be equivalent to the handling using __try and __except
+ on mswin introduced by r43748.
+
+Fri Jun 27 17:02:36 2014 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * eval_intern.h (SAVE_ROOT_JMPBUF): workaround for the failure of
+ test/ruby/test_exception.rb on Windows.
+ wrap by __try and __exception statements on mswin to raise SIGSEGV
+ when EXCEPTION_STACK_OVERFLOW is occurred, because MSVCRT doesn't
+ handle the exception.
+ however, (1) mingw-gcc doesn't support __try and __exception
+ statements, and (2) we cannot retry SystemStackError after this
+ change yet (maybe crashed) because SEH and longjmp() are too
+ uncongenial.
+
+ * signal.c (check_stack_overflow, CHECK_STACK_OVERFLOW): now defined on
+ Windows, too.
+
+ * thread_win32.c (ruby_stack_overflowed_p): ditto.
+
+Fri Jun 27 16:56:38 2014 Eric Wong <e@80x24.org>
+
+ * signal.c (signal_exec): ignore immediate cmd for SIG_IGN
+ * signal.c (trap_handler): set cmd to true for SIG_IGN
+ * signal.c (trap): handle nil and true values for oldcmd
+ [Bug #9835]
+
+Mon Jun 23 18:51:43 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * class.c (rb_mod_init_copy): always clear instance variable,
+ constant and method tables first, regardless the source tables.
+ [ruby-dev:48182] [Bug #9813]
+
+Mon Jun 23 18:50:13 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * thread.c (thread_start_func_2): stop if forked in a sub-thread,
+ the thread has become the main thread.
+ [ruby-core:62070] [Bug #9751]
-Sat Dec 6 10:05:08 2014 Shugo Maeda <shugo@ruby-lang.org>
+Mon Jun 23 18:35:34 2014 Josh Goebel <dreamer3@gmail.com>
- * lib/net/imap.rb: Fix undefined variable usage & refactor/DRY
- code. Patch by @aledovsky. [Fixes GH-770]
+ * net/protocol.rb (using_each_crlf_line): fix SMTP dot-stuffing
+ for messages not ending with a new-line.
+ [ruby-core:61441] [Bug #9627] [fix GH-616]
- * test/net/test_imap.rb: related test.
+Mon Jun 23 18:16:07 2014 Hiroshi Shirosaki <h.shirosaki@gmail.com>
-Sat Dec 6 10:09:44 2014 Eric Wong <e@80x24.org>
+ * configure.in: enable SSE2 on mingw. target='i386-pc-mingw32'.
+ [ruby-core:62095] [Bug #8358]
- * thread.c (do_select): rename parameters to avoid shadowing
+Mon Jun 23 18:16:07 2014 Tanaka Akira <akr@fsij.org>
-Sat Dec 6 09:22:45 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
+ * configure.in: Fix compilation error.
+ https://bugs.ruby-lang.org/issues/8358#note-16
- * lib/rake: Update to rake 10.4.2
- * test/rake: ditto.
+Mon Jun 23 18:16:07 2014 Vit Ondruch <vondruch@redhat.com>
-Sat Dec 6 06:48:03 2014 Eric Wong <e@80x24.org>
+ * configure.in: add qouting brackets and append wildcard for the
+ rest after target_cpu, to properly detect platform for SSE2
+ instructions. [ruby-core:60576] [Bug #8358]
- * compile.c (rb_iseq_build_from_ary): remove misc handling
+Mon Jun 23 18:16:07 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sat Dec 6 06:14:23 2014 Vit Ondruch <vondruch@redhat.com>
+ * configure.in: use SSE2 instructions to drop unexpected precisions on
+ other than mingw. [ruby-core:59472] [Bug #8358]
- * configure.in (RUBY_LIB_VERSION): Fix --with-ruby-version
- configuration option. get rid of quoting in config.status.
+Mon Jun 23 18:16:07 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * template/verconf.h.tmpl: quote RUBY_LIB_VERSION here.
- [ruby-core:66724] [Bug #10572]
+ * configure.in: use SSE2 instructions for drop unexpected
+ precisions. [ruby-core:54738] [Bug #8358]
-Sat Dec 6 04:33:52 2014 NAKAMURA Usaku <usa@ruby-lang.org>
+Mon Jun 23 17:29:53 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/pp.rb (File::Stat#pretty_print): some platforms (such as Windows)
- does not have major/minor parts of device.
+ * process.c (obj2uid, obj2gid): now getpwnam_r() and getgrnam_r()
+ may need larger buffers than sysconf values, so retry with
+ expanding the buffer when ERANGE is returned.
+ [ruby-core:61325] [Bug #9600]
-Fri Dec 5 22:43:04 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
+Mon Jun 23 17:20:10 2014 Tanaka Akira <akr@fsij.org>
- * ext/psych/lib/psych.rb: bump version to 2.0.8
- * ext/psych/psych.gemspec: ditto.
- * ext/psych/psych_emitter.c: ditto.
- * ext/psych/psych_parser.c: ditto.
+ * ext/socket/socket.c (sock_s_getnameinfo): Save errno for EAI_SYSTEM.
+ Reported by Saravana kumar. [ruby-core:61820] [Bug #9697]
+ Fixed by Heesob Park. [ruby-core:61868]
-Fri Dec 5 17:09:09 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Mon Jun 23 17:20:10 2014 Tanaka Akira <akr@fsij.org>
- * ext/socket/option.c (inet_ntop): link aliased inet_ntop in
- libruby on mswin not rb_w32_inet_ntop which fails to link for
- unknown reason.
+ * ext/socket/ipsocket.c (ip_s_getaddress): Don't access freed memory.
-Fri Dec 5 11:09:54 2014 Eric Wong <e@80x24.org>
+Mon Jun 23 17:20:10 2014 Tanaka Akira <akr@fsij.org>
- * iseq.c (prepare_iseq_build): remove unused block_opt param
- (rb_iseq_new_with_bopt_and_opt): remove
- (rb_iseq_new_with_opt): inline removed function
- (rb_iseq_new_with_bopt): remove
- (iseq_load): adjust prepare_iseq_build call
- [Feature #10565]
+ * ext/socket: always operate length of socket addess companion with
+ socket address.
-Fri Dec 5 09:46:05 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+ * ext/socket/rubysocket.h (rsock_make_ipaddr): add an argument for
+ socket address length.
+ (rsock_ipaddr): ditto.
- * parse.y (parser_yylex): fix lex_state after tLABEL_END, should
- be EXPR_LABELARG to be followed by "paren with arg".
- [ruby-core:66705] [Feature #4935]
+ * ext/socket/ipsocket.c (ip_addr): pass length to rsock_ipaddr.
+ (ip_peeraddr): ditto.
+ (ip_s_getaddress): pass length to rsock_make_ipaddr.
-Fri Dec 5 02:27:47 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+ * ext/socket/socket.c (make_addrinfo): pass length to rsock_ipaddr.
+ (sock_s_getnameinfo): pass actual address length to rb_getnameinfo.
+ (sock_s_unpack_sockaddr_in): pass length to rsock_make_ipaddr.
+
+ * ext/socket/init.c (rsock_s_recvfrom): pass length to rsock_ipaddr.
+ (rsock_s_recvfrom_nonblock): ditto.
- * ext/extmk.rb: as all extension objects including initializations
- of ext and enc should be linked to libruby if enable-shared,
- EXTOBJS should not be linked to main programs.
- [ruby-core:66675] [Bug #10566]
+ * ext/socket/tcpsocket.c (tcp_sockaddr): pass length to
+ rsock_make_ipaddr.
-Thu Dec 4 07:06:02 2014 Eric Wong <e@80x24.org>
+ * ext/socket/raddrinfo.c (make_ipaddr0): add an argument for socket
+ address length. pass the length to rb_getnameinfo.
+ (rsock_ipaddr): ditto.
+ (rsock_make_ipaddr): add an argument for socket address length.
+ pass the length to make_ipaddr0.
+ (make_inetaddr): pass length to make_ipaddr0.
+ a local variable renamed.
+ (host_str): a local variable renamed.
+ (port_str): ditto.
- * compile.c (rb_iseq_build_from_exception): entry->sp is unsigned
- (iseq_build_callinfo_from_hash): account for kw_arg
- (iseq_build_from_ary_body): update for r35459
- (CHECK_STRING, CHECK_INTEGER): remove unused checks
- (int_param): new function for checking new `params' hash
- (iseq_build_kw): new function for loading rb_iseq_param_keyword
- (rb_iseq_build_from_ary): account for `misc' entry and general
- structure changes
- [Feature #8543]
- * iseq.c (CHECK_HASH): new macro (for `misc' and `param' entries)
- (iseq_load): account for `misc' and `params' hashes
- (iseq_data_to_ary): add final opt to arg_opt_labels,
- fix kw support, account for unsigned entry->sp
- * ext/-test-/iseq_load/iseq_load.c: new ext for test
- * ext/-test-/iseq_load/extconf.rb: ditto
- * test/-ext-/iseq_load/test_iseq_load.rb: new test
+Mon Jun 23 16:55:13 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Dec 4 06:56:57 2014 Eric Wong <e@80x24.org>
+ * parse.y (primary): flush cmdarg flags inside left-paren in a
+ command argument, to allow parenthesed do-block as an argument
+ without arguments parentheses. [ruby-core:61950] [Bug #9726]
- * iseq.c (iseq_free): avoid segfault on incomplete iseq
- * test/ruby/test_syntax.rb (test_invalid_next): new test
- for syntax error, not segfault
+Mon Jun 23 16:45:48 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Dec 4 04:20:34 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+ * ext/dl/cptr.c (dlptr_free), ext/dl/handle.c (dlhandle_free),
+ ext/fiddle/handle.c (fiddle_handle_free),
+ ext/fiddle/pointer.c (fiddle_ptr_free): fix memory leak.
+ based on the patch Heesob Park at [ruby-dev:48021] [Bug #9599].
+
+Wed May 28 13:24:39 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * configure.in (rb_cv_func___builtin_unreachable): try with an
+ external variable not only by a warning, which might not be
+ shown due to the optimization. [ruby-core:61647] [Bug #9665]
+
+Wed May 28 13:20:32 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * load.c (ruby_require_internal): ignore error detail, just return
- an error.
+ * ext/openssl/ossl_asn1.c (ossl_asn1_initialize): SYMID on a value
+ other than Symbol is an undefined behavior. fix up r31699.
+ [ruby-core:62142] [Bug #9771]
-Wed Dec 3 17:13:24 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Wed May 28 13:18:21 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * encoding.c (load_encoding): use rb_require_internal instead of
- calling rb_require_safe with protection.
+ * ext/stringio/stringio.c (strio_putc): fix for non-ascii
+ encoding, like as IO#putc. [ruby-dev:48114] [Bug #9765]
-Wed Dec 3 16:47:35 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Tue May 27 13:57:41 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * load.c (register_init_ext, ruby_init_ext): defer running the
- registered initialization function until required, not to enable
- extensions which have global effects just by loading, e.g.,
- mathn/complex and mathn/rational. fix `make test` with
- --with-static-linked-ext.
+ * lib/fileutils.rb (FileUtils#copy_entry): update rdoc about
+ preserve option and permissions, following r31123.
+ [ruby-core:62065] [Bug #9748]
+
+Tue May 27 13:42:36 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * proc.c (umethod_bind): use the ancestor iclass instead of new
+ iclass to get rid of infinite recursion, if the defined module
+ is already included. [ruby-core:62014] [Bug #9721]
+
+Tue May 27 13:42:36 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * proc.c (rb_method_call_with_block, umethod_bind): call with
+ IClass including the module for a module instance method.
+ [ruby-core:61936] [Bug #9721]
+
+ * vm_insnhelper.c (vm_search_super_method): allow bound
+ UnboundMethod case.
+
+Tue May 27 11:51:00 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * array.c (ary_reject): may be turned into a shared array during
+ the given block. [ruby-dev:48101] [Bug #9727]
+
+Tue May 27 11:48:22 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * string.c (str_buf_cat): should round up the capacity by 4KiB,
+ but not number of rooms. [ruby-core:61886] [Bug #9709]
+
+Tue May 27 11:46:03 2014 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * lib/xmlrpc/client.rb (do_rpc): don't check body length.
+ If HTTP content-encoding is used, the length may be different.
+ [Bug #8182] [ruby-core:53811]
+
+Tue May 27 11:23:02 2014 Tadayoshi Funaba <tadf@dotrb.org>
+
+ * ext/date/date_core.c (d_lite_cmp): should compare with #<.
+
+Mon May 5 00:42:35 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
+
+ * ext/psych/yaml/config.h: ditto.
+
+ * ext/psych/yaml/scanner.c: ditto.
+
+ * ext/psych/yaml/yaml_private.h: ditto.
+
+Thu May 8 02:01:51 2014 Kenta Murata <mrkn@mrkn.jp>
+
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_initialize): Insert GC guard.
+
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_global_new): ditto.
+
+Thu May 8 01:51:19 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/openssl/ossl_pkey.c (ossl_pkey_verify): as EVP_VerifyFinal()
+ finalizes only a copy of the digest context, the context must be
+ cleaned up after initialization by EVP_MD_CTX_cleanup() or a
+ memory leak will occur. [ruby-core:62038] [Bug #9743]
+
+Wed Apr 30 16:39:43 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/readline/extconf.rb (rl_hook_func_t): check pointer type.
+ [ruby-dev:48089] [Bug #9702]
+
+Wed Apr 30 16:37:16 2014 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * win32/win32.c (rb_w32_accept, open_ifs_socket, socketpair_internal):
+ reset inherit flag of socket to avoid unintentional inheritance of
+ socket. note that the return value of SetHandleInformation() is not
+ verified intentionally because old Windows may return an error.
+ [Bug #9688] [ruby-core:61754]
+
+Wed Apr 30 16:33:57 2014 Eric Wong <e@80x24.org>
+
+ * time.c (time_mload): freeze and preserve marshal-loaded time zone
+ * test/ruby/test_time.rb: add test for GC on loaded object
+ [Bug #9652]
+
+Wed Apr 30 16:15:09 2014 Kohei Suzuki <eagletmt@gmail.com>
+
+ * vm_method.c (rb_method_entry_get_without_cache): me->klass is 0
+ for a method aliased in a module. [ruby-core:61636] [Bug #9663]
+
+Wed Apr 30 16:15:09 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * vm_method.c (rb_method_entry_get_without_cache): get rid of
+ infinite recursion at aliases in a subclass and a superclass.
+ return actually defined class for other than singleton class.
+ [ruby-core:60431] [Bug #9475]
+
+Wed Apr 30 16:09:18 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * vm_insnhelper.c (vm_callee_setup_arg): turn a macro into an
+ inline function.
+
+Wed Apr 30 15:04:25 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/readline/extconf.rb: fix typo, `$defs` not `$DEFS`.
+ [ruby-core:61756] [Bug #9578]
+
+Mon Mar 31 00:57:39 2014 James Edward Gray II <james@graysoftinc.com>
+
+ * lib/csv.rb: Fixed a broken regular expression that was causing
+ CSV to miss escaping some special meaning characters when used
+ in parsing.
+ Reported by David Unric
+ [ruby-core:54986] [Bug #8405]
+
+Mon Mar 31 00:48:12 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
+
+ * test/ruby/envutil.rb (assert_no_memory_leak): increase default value
+ of `limit` keyword argument.
+ assert_no_memory_leak occasionally fails with limit=1.5.
+
+Mon Mar 31 00:15:45 2014 Shota Fukumori <her@sorah.jp>
+
+ * vm_eval.c (eval_string_with_cref): Unify to use NIL_P.
+
+Mon Mar 31 00:15:45 2014 Shota Fukumori <her@sorah.jp>
+
+ * vm_eval.c (eval_string_with_cref): Use file path even if scope is
+ given. Related to [ruby-core:56099] [Bug #8662] and r42103.
+
+Mon Mar 31 00:02:04 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * parse.y (yycompile): store file name as String to keep the encoding.
+
+ * parse.y (rb_parser_compile_string_path, rb_parser_compile_file_path):
+ new functions to pass file name as a String.
+
+ * parse.y (gettable_gen): return a copy of the original file name, not
+ a copy in filesystem encoding.
+
+ * vm_eval.c (eval_string_with_cref): use Qundef instead of "(eval)".
+
+Sun Mar 30 23:49:21 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/openssl/ossl.c (ossl_make_error): check NULL for unknown
+ error reasons with old OpenSSL, and insert a colon iff formatted
+ message is not empty.
+
+Thu Mar 20 21:13:18 2014 Eric Wong <e@80x24.org>
+
+ * variable.c (rb_const_set): delete existing entry on redefinition
+ [Bug #9645]
+ * test/ruby/test_const.rb (test_redefinition): test for leak
+
+Thu Mar 20 20:44:17 2014 Kazuki Tsujimoto <kazuki@callcc.net>
+
+ * test/fiddle/test_c_struct_entry.rb,
+ test/fiddle/test_c_union_entity.rb,
+ test/fiddle/test_cparser.rb, test/fiddle/test_func.rb,
+ test/fiddle/test_handle.rb, test/fiddle/test_import.rb,
+ test/fiddle/test_pointer.rb: don't run test if the system
+ don't support fiddle.
+
+Sun Mar 16 00:57:20 2014 Kazuki Tsujimoto <kazuki@callcc.net>
+
+ * ext/.document: remove refinement from documentable directories.
+
+Mon Mar 3 01:43:30 2014 Charlie Somerville <charliesome@ruby-lang.org>
+
+ * eval_error.c (warn_printf): use rb_vsprintf instead so ruby specific
+ extensions like PRIsVALUE can be used in format strings
+ * eval_error.c (error_print): use warn_print_str (alias for
+ rb_write_error_str) to print a string value instead of using
+ RSTRING_PTR and RSTRING_LEN manually
+ * eval.c (setup_exception): use PRIsVALUE instead of %s and RSTRING_PTR
+
+Mon Mar 3 01:32:14 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/readline/extconf.rb (rl_hook_func_t): define as Function for
+ very old readline versions. [ruby-core:61209] [Bug #9578]
+
+Mon Mar 3 01:32:14 2014 Tanaka Akira <akr@fsij.org>
+
+ * ext/readline/readline.c (Init_readline): Use rl_hook_func_t instead
+ of Function to support readline-6.3. (rl_hook_func_t is available
+ since readline-4.2.)
+ Reported by Dmitry Medvinsky. [ruby-core:61141] [Bug #9578]
+
+Mon Mar 3 01:25:28 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * eval.c (setup_exception): preserve errinfo across calling #to_s
+ method on the exception. [ruby-core:61091] [Bug #9568]
+
+Mon Mar 3 01:00:00 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * numeric.c (ruby_num_interval_step_size): check signs and get rid
+ of implementation dependent behavior of negative division.
+ [ruby-core:61106] [Bug #9570]
+
+Mon Mar 3 00:43:33 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
+
+ (merged partially from r42781)
+ * test/ruby/test_numeric.rb (assert_step): introduce assert_step.
+
+Mon Mar 3 00:24:38 2014 Zachary Scott <e@zzak.io>
+
+ * README.EXT.ja: [DOC] Fix typo "macro macro" @utenmiki [Fixes GH-551]
+ https://github.com/ruby/ruby/pull/551
+
+Sat Feb 22 22:11:58 2014 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * ext/io/console/console.c (console_dev): need read access for conout$
+ because some functions need it. [Bug#9554]
+
+Sat Feb 22 14:01:42 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * iseq.c (iseq_load): keep type_map to get rid of memory leak.
+ based on a patch by Eric Wong at [ruby-core:59699]. [Bug #9399]
+
+Sat Feb 22 13:56:38 2014 Charlie Somerville <charliesome@ruby-lang.org>
+
+ * compile.c (iseq_build_from_ary_body): Use :blockptr instead of :block
+ as hash key when loading serialized instruction sequences from arrays.
+ [Bug #9455] [ruby-core:60146]
+
+Sat Feb 22 13:04:54 2014 Shugo Maeda <shugo@ruby-lang.org>
+
+ * ext/socket/init.c (wait_connectable): break if the socket is
+ writable to avoid infinite loops on FreeBSD and other platforms
+ which conforms to SUSv3. This problem cannot be reproduced with
+ loopback interfaces, so it's hard to write test code.
+ rsock_connect() and wait_connectable() are overly complicated, so
+ they should be refactored, but I commit this fix as a workaround
+ for the release of Ruby 1.9.3 scheduled on Feb 24.
+ [ruby-core:60940] [Bug #9547]
+
+Sat Feb 22 12:55:24 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
+
+ (merged partially from r42927)
+ * lib/rubygems/core_ext/kernel_require.rb: Backport a fix for concurrent
+ requires. [ruby-core:58918] [Backport #9224]
+ see also https://github.com/rubygems/rubygems/pull/833
+
+Sat Feb 22 11:50:52 2014 Eric Wong <e@80x24.org>
+
+ * ext/socket/ancdata.c (bsock_sendmsg_internal): only retry on error
+ (bsock_recvmsg_internal): ditto
+ * test/socket/test_unix.rb: test above for infinite loop
- * enc/encinit.c.erb (Init_enc): initialize encdb and transdb
+Sat Feb 22 11:44:50 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * class.c (rb_mod_init_copy): do nothing if copying self.
+ [ruby-dev:47989] [Bug #9535]
+
+ * hash.c (rb_hash_initialize_copy): ditto.
+
+Thu Feb 20 02:14:18 2014 Zachary Scott <e@zzak.io>
+
+ * ext/openssl/lib/openssl/buffering.rb: Fix warning in copyright
+
+Thu Feb 20 02:14:18 2014 Zachary Scott <e@zzak.io>
+
+ * ext/openssl/lib/openssl/buffering.rb: [DOC] Fix HEREDOC comment for
+ OpenSSL::Buffering which breaks overview because of RDoc bug
+
+Thu Feb 20 02:04:09 2014 Eric Hodel <drbrain@segment7.net>
+
+ * ext/.document: Add syslog/lib to documentable items. [Bug #9228]
+
+Thu Feb 20 01:54:08 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * vm_insnhelper.c (vm_search_super_method): when super called in a
+ bound UnboundMethod generated from a module, no superclass is
+ found since the current defined class is the module, then call
+ method_missing in that case. [ruby-core:59619] [Bug #9377]
+
+Thu Feb 20 01:33:06 2014 Eric Hodel <drbrain@segment7.net>
+
+ * lib/optparse.rb: The Integer acceptable now allows binary and
+ hexadecimal numbers per the documentation. [ruby-trunk - Bug #8865]
+
+ DecimalInteger, OctalInteger, DecimalNumeric now validate their input
+ before converting to a number. [ruby-trunk - Bug #8865]
+
+ * test/optparse/test_acceptable.rb: Tests for the above, tests for all
+ numeric acceptables for existing behavior.
+
+Thu Feb 20 01:23:36 2014 Aaron Pfeifer <aaron.pfeifer@gmail.com>
+
+ * thread.c (terminate_atfork_i): fix locking mutexes not unlocked in
+ forks when not tracked in thread. [ruby-core:55102] [Bug #8433]
+
+Tue Feb 18 23:48:03 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * test/ruby/envutil.rb (assert_separately): require envutil in the
+ child process too.
+
+Tue Feb 18 22:38:01 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * test/ruby/envutil.rb (Test::Unit::Assertions#assert_separately):
+ specify the encoding of source.
+
+Mon Feb 17 02:00:36 2014 Tanaka Akira <akr@fsij.org>
+
+ * lib/open-uri.rb: Make proxy disabling working again.
+ Fixed by Christophe Philemotte. [ruby-core:59650] [Bug #9385]
+
+Mon Feb 17 01:57:45 2014 Benoit Daloze <eregontp@gmail.com>
+
+ * range.c (Range#size): [DOC] improve description and add examples.
+ Patch by @skade. [Fixes GH-501]
+
+Mon Feb 17 01:51:49 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * lib/webrick/htmlutils.rb (WEBrick::HTMLUtils#escape): replace HTML
+ meta chars even in non-ascii string. [Bug #8425] [ruby-core:55052]
+
+ * lib/webrick/httputils.rb (WEBrick::HTTPUtils#{_escape,_unescape}):
+ fix %-escape encodings. [Bug #8425] [ruby-core:55052]
+
+Mon Feb 17 01:51:49 2014 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
+
+ * test/webrick/test_htmlutils.rb: add test for WEBrick::HTMLUtils.
+
+Mon Feb 17 01:41:59 2014 Masaki Matsushita <glass.saga@gmail.com>
+
+ * array.c (rb_hash_rehash): use hash_alloc() instead of rb_hash_new().
+ [Bug #9187]
+
+Mon Feb 17 01:41:59 2014 Masaki Matsushita <glass.saga@gmail.com>
+
+ * hash.c (rb_hash_rehash): make temporary st_table under the control
+ of GC. [Bug #9187]
+
+ * test/ruby/test_hash.rb: add a test for above.
+
+Mon Feb 17 01:41:59 2014 Masaki Matsushita <glass.saga@gmail.com>
+
+ * hash.c (rb_hash_rehash): fix to free new st_table when exception
+ is raised in do_hash(). [Bug #9187]
+
+Mon Feb 17 01:18:04 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * eval.c (rb_mod_s_constants): return its own constants for other
+ than Module itself. [ruby-core:59763] [Bug #9413]
+
+Mon Feb 17 01:16:00 2014 Eric Wong <e@80x24.org>
+
+ * ext/json/generator/depend: add build dependencies for json extension
+ [Bug #9374] [ruby-core:59609]
+ * ext/json/parser/depend: ditto
+
+Mon Feb 17 01:12:57 2014 Yusuke Endoh <mame@tsg.ne.jp>
+
+ * ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.
+ [ruby-core:57599] [Bug #8978].
+
+Mon Feb 17 01:12:57 2014 Aaron Patterson <aaron@tenderlovemaking.com>
+
+ * ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.
+ [ruby-core:57599] [Bug #8978]. Thanks mame!
+
+Mon Feb 17 01:09:52 2014 Eric Wong <e@80x24.org>
+
+ * benchmark/driver: avoid large alloc in driver process
+ [ruby-core:59869] [Bug #9430]
+
+Mon Feb 17 00:59:40 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * thread_pthread.c (rb_thread_create_timer_thread): fix for platforms
+ where PTHREAD_STACK_MIN is a dynamic value and not a compile-time
+ constant. [ruby-dev:47911] [Bug #9436]
+
+Mon Feb 17 00:59:40 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * thread_pthread.c (rb_thread_create_timer_thread): expand timer
+ thread stack size to get rid of segfault on FreeBSD/powerpc64.
+ based on the patch by Steve Wills at [ruby-core:59923].
+ [ruby-core:56590] [Bug #8783]
+
+Mon Feb 17 00:45:44 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * string.c (rb_str_modify_expand): enable capacity and disable
+ association with packed objects when setting capa, so that
+ pack("p") string fails to unpack properly after modified.
+
+Sun Feb 16 01:36:57 2014 Aaron Patterson <aaron@tenderlovemaking.com>
+
+ * ext/psych/yaml/emitter.c: merge libyaml 0.1.5
+ * ext/psych/yaml/loader.c: ditto
+ * ext/psych/yaml/parser.c: ditto
+ * ext/psych/yaml/reader.c: ditto
+ * ext/psych/yaml/scanner.c: ditto
+ * ext/psych/yaml/writer.c: ditto
+ * ext/psych/yaml/yaml_private.h: ditto
+
+Sun Feb 16 01:02:32 2014 Zachary Scott <e@zzak.io>
+
+ * lib/racc/rdoc/grammar.en.rdoc: [DOC] Correct grammar and typos
+ Patch by Giorgos Tsiftsis [Bug #9429] [ci skip]
+
+Sun Feb 16 01:00:45 2014 Zachary Scott <e@zzak.io>
+
+ * lib/open-uri.rb: [DOC] use lower case version of core classes, same
+ as commit r44878, based on patch by Jonathan Jackson [Bug #9483]
+
+Sun Feb 16 01:00:45 2014 Zachary Scott <e@zzak.io>
+
+ * ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core
+ classes when referring to return value, since we aren't directly
+ talking about the class. Patch by Jonathan Jackson [Bug #9483]
+
+Sun Feb 16 00:57:13 2014 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
+
+ * variable.c: [DOC] adding extra example in docs.
+ patched by Steve Klabnik. [Bug #9210]
+
+Sun Feb 16 00:54:50 2014 Tanaka Akira <akr@fsij.org>
+
+ * lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated
+ string.
+ Patch by Ryan Brunner. [ruby-core:58220] [Bug #9093]
+
+Sun Feb 16 00:50:59 2014 Zachary Scott <e@zzak.io>
+
+ * ext/openssl/ossl_pkey_dh.c: Fixed typo by Sandor Szuecs [Bug #9243]
+
+Sun Feb 16 00:47:36 2014 Zachary Scott <e@zzak.io>
+
+ * lib/xmlrpc/client.rb: [DOC] Remove note about SSL package on RAA
+ Since RAA has been deprecated, and the SSL package has been replaced
+ with net/https this statement is entirely false and should be
+ deleted. [Bug #9152]
+
+Sun Feb 16 00:44:51 2014 Zachary Scott <e@zzak.io>
+
+ * lib/net/smtp.rb: [DOC] Remove dead link to RAA by Giorgos Tsiftsis
+ Fixes the following bugs: [Bug #9152] [Bug #9268] [Bug #9394]
+ * lib/open-uri.rb: ditto
+
+Sun Feb 16 00:27:04 2014 Masaki Matsushita <glass.saga@gmail.com>
+
+ * hash.c (rb_hash_assoc): revert r42224. table->type->compare is
+ called only if hashes are matched.
+
+ * test/ruby/test_hash.rb: add a test to check using #== to compare.
+
+Sun Feb 16 00:27:04 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * hash.c (rb_hash_initialize_copy): copy st_table type even if empty.
+ [ruby-core:56256] [Bug #8703]
+
+Sun Feb 16 00:27:04 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * hash.c (rb_hash_initialize_copy): clear old table before copy new
+ table.
+
+Sun Feb 16 00:27:04 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * hash.c (rb_hash_assoc): aggregate object can be initialized only
+ with link time constants.
+
+Sun Feb 16 00:27:04 2014 Masaki Matsushita <glass.saga@gmail.com>
+
+ * hash.c (rb_hash_assoc): performance improvement by replacing
+ compare function in RHASH(hash)->ntbl->type temporarily.
+
+Sun Feb 16 00:01:16 2014 Tanaka Akira <akr@fsij.org>
+
+ * lib/resolv.rb: Ignore name servers which cause EAFNOSUPPORT on
+ socket creation.
+ Reported by Bjoern Rennhak. [ruby-core:60442] [Bug #9477]
+
+Sat Feb 15 23:58:31 2014 Tanaka Akira <akr@fsij.org>
+
+ * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): Raise
+ DecodeError if no data before the limit.
+ Reported by Will Bryant. [ruby-core:60557] [Bug #9498]
+
+Sat Feb 15 23:46:31 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * parse.y (IDSET_ATTRSET_FOR_INTERN): fix off-by-one bug.
+
+ * parse.y (rb_enc_symname_type): junk ID succeeded by '=' is also
+ attrset ID. [ruby-core:60668] [Bug #8756]
+
+Sat Feb 15 23:42:04 2014 Richo Healy <richo@psych0tik.net>
+
+ * test/ruby/test_struct.rb: Add regression test for question marks and
+ bangs in struct members. [Closes GH-468]
+
+Sat Feb 15 23:26:31 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * struct.c (new_struct): fix warning message, class name and encoding.
+
+Sat Feb 15 16:08:26 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * struct.c (make_struct): avoid inadvertent symbol creation.
+ (rb_struct_aref): ditto.
+ (rb_struct_aset): ditto.
+
+Sat Feb 15 15:32:46 2014 Shugo Maeda <shugo@ruby-lang.org>
+
+ * vm_insnhelper.c (vm_call_method): should check ci->me->flag of
+ a refining method in case the method is private.
+ [ruby-core:60111] [Bug #9452]
+
+ * vm_method.c (make_method_entry_refined): set me->flag of a refined
+ method entry to NOEX_PUBLIC in case the original method is private
+ and it is refined as a public method. The original flag is stored
+ in me->def->body.orig_me, so it's OK to make a refined method
+ entry public. [ruby-core:60111] [Bug #9452]
+
+ * test/ruby/test_refinement.rb: related tests.
+
+Tue Feb 11 23:21:02 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
+
+ * test/ruby/test_struct.rb (test_struct_question_mark): add a testcase
+ for Struct attribute with question mark. the patch was originally
+ written by Eric Wong [ruby-core:59095] [Backport #9248]
+
+Tue Feb 11 23:21:02 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * parse.y (rb_id_attrset, intern_str): allow junk attrset ID for
+ Struct.
+
+ * parse.y (rb_id_attrset): fix inconsistency with literals, allow
+ ID_ATTRSET and return it itself, but ID_JUNK cannot make ID_ATTRSET.
+ and raise a NameError instead of rb_bug() for invalid argument.
+
+Tue Feb 11 23:21:02 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * parse.y (rb_enc_symname_type): allow ID_ATTRSET for ID_INSTANCE,
+ ID_GLOBAL, ID_CLASS, ID_JUNK too. [Bug #8756]
+
+Tue Feb 11 23:21:02 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * parse.y (rb_id_attrset): allow other than ID_ATTRSET.
+
+ * parse.y (intern_str): ditto. try stem ID for ID_INSTANCE,
+ ID_GLOBAL, ID_CLASS, ID_JUNK too. [Bug #8756]
+
+Tue Feb 11 23:21:02 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * parse.y (rb_id_attrset): check if the argument is valid type as an
+ attribute.
+
+Tue Feb 11 00:26:19 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * file.c (GetLastError): already defined in windows.h on nowadays
+ cygwin, and caused the confliction with the system provided
+ definition on cygwin64. by @kou1okada [Fixes GH-433].
+
+Mon Feb 10 01:15:10 2014 Kouhei Sutou <kou@cozmixng.org>
+
+ * ext/socket/raddrinfo.c (nogvl_getaddrinfo): Fix indent.
+
+Mon Feb 10 01:15:10 2014 Kouhei Sutou <kou@cozmixng.org>
+
+ * ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return
+ value assignment.
+
+Mon Feb 10 01:15:10 2014 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * ext/socket/raddrinfo.c (nogvl_getaddrinfo): work around for Ubuntu
+ 13.04's getaddrinfo issue with mdns4. [ruby-list:49420]
+
+Mon Feb 10 00:42:12 2014 Masaki Matsushita <glass.saga@gmail.com>
+
+ * ext/thread/thread.c (rb_szqueue_clear): notify SZQUEUE_WAITERS
+ on SizedQueue#clear. [ruby-core:59462] [Bug #9342]
+
+ * test/thread/test_queue.rb: add test. the patch is from
+ Justin Collins.
+
+Mon Feb 10 00:27:33 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * parse.y (local_push_gen, local_pop_gen): save cmdarg_stack to
+ isolate command argument state from outer scope.
+ [ruby-core:59342] [Bug #9308]
+
+Mon Feb 10 00:02:18 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * dir.c (glob_helper): don't skip current directories if FNM_DOTMATCH
+ is given. [ruby-core:53108] [Bug #8006]
+
+Wed Feb 5 23:39:36 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * parse.y (intern_str): sigil only names are junk, at least one
+ identifier character is needed. [ruby-dev:47723] [Bug #8928]
+
+ * parse.y (rb_enc_symname_type): fix out of bound access.
+
+Wed Feb 5 22:54:52 2014 Kazuki Tsujimoto <kazuki@callcc.net>
+
+ * time.c (get_timeval, get_new_timeval): use rb_obj_class()
+ instead of CLASS_OF() because CLASS_OF() may return
+ a singleton class.
+
+Sun Feb 2 05:48:42 2014 Eric Wong <e@80x24.org>
+
+ * io.c (rb_io_syswrite): add RB_GC_GUARD
+ [Bug #9472][ruby-core:60407]
+
+Fri Jan 31 00:51:50 2014 Shugo Maeda <shugo@ruby-lang.org>
+
+ * configure.in: use $@ instead of $(.TARGET) because .TARGET is not
+ supported by GNU make.
+
+Fri Jan 31 00:49:41 2014 Yamashita Yuu <yamashita@geishatokyo.com>
+
+ * ext/openssl/ossl_ssl.c (Init_ossl_ssl): Declare a constant
+ `OP_MSIE_SSLV2_RSA_PADDING` only if the macro is defined. The
+ `SSL_OP_MSIE_SSLV2_RSA_PADDING` has been removed from latest
+ snapshot of OpenSSL 1.0.1. [Fixes GH-488]
+
+Thu Jan 23 21:08:16 2014 Shota Fukumori <her@sorah.jp>
+
+ * vm_insnhelper.c (check_match): Fix SEGV with VM_CHECKMATCH_TYPE_CASE
+ and class of `pattern` has `method_missing`
+ [Bug #8882] [ruby-core:58606]
+
+Mon Jan 20 01:02:18 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/bigdecimal/bigdecimal.c (CLASS_NAME): macro to wrap
+ depending on PRIsVALUE for 1.9. [Backport #9406]
+
+ * ext/bigdecimal/bigdecimal.c (DECIMAL_SIZE_OF_BITS): fallback
+ definition for 2.1 or older. [ruby-core:59750] [Backport #9406]
+
+Sun Jan 12 22:46:49 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
+
+ patch inspired from r44260 on trunk. [ruby-core:58652] [Bug #9168]
+
+ * gc.c (run_finalizer): clear th->errinfo before invoke finalizer and
+ restore afterward.
+
+ * test/ruby/test_gc.rb (test_exception_in_finalizer): add test for
+ above.
+
+ * vm_trace.c (rb_threadptr_exec_event_hooks_orig): clear th->errinfo
+ before invoke hook.
+
+Sun Jan 12 16:07:52 2014 vo.x (Vit Ondruch) <vondruch@redhat.com>
+
+ * tool/rbinstall.rb (Gem::Specification#collect): make stable
+ Gem::Specification.files in default .gemspecs the different order of