summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/pack/shared
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/array/pack/shared')
-rw-r--r--spec/ruby/core/array/pack/shared/basic.rb46
-rw-r--r--spec/ruby/core/array/pack/shared/encodings.rb4
-rw-r--r--spec/ruby/core/array/pack/shared/float.rb60
-rw-r--r--spec/ruby/core/array/pack/shared/integer.rb48
-rw-r--r--spec/ruby/core/array/pack/shared/numeric_basic.rb24
-rw-r--r--spec/ruby/core/array/pack/shared/string.rb10
-rw-r--r--spec/ruby/core/array/pack/shared/taint.rb33
-rw-r--r--spec/ruby/core/array/pack/shared/unicode.rb14
8 files changed, 125 insertions, 114 deletions
diff --git a/spec/ruby/core/array/pack/shared/basic.rb b/spec/ruby/core/array/pack/shared/basic.rb
index 9061273ad6..2894369c71 100644
--- a/spec/ruby/core/array/pack/shared/basic.rb
+++ b/spec/ruby/core/array/pack/shared/basic.rb
@@ -1,6 +1,6 @@
describe :array_pack_arguments, shared: true do
it "raises an ArgumentError if there are fewer elements than the format requires" do
- -> { [].pack(pack_format(1)) }.should raise_error(ArgumentError)
+ -> { [].pack(pack_format(1)) }.should.raise(ArgumentError)
end
end
@@ -10,11 +10,11 @@ describe :array_pack_basic, shared: true do
end
it "raises a TypeError when passed nil" do
- -> { [@obj].pack(nil) }.should raise_error(TypeError)
+ -> { [@obj].pack(nil) }.should.raise(TypeError)
end
it "raises a TypeError when passed an Integer" do
- -> { [@obj].pack(1) }.should raise_error(TypeError)
+ -> { [@obj].pack(1) }.should.raise(TypeError)
end
end
@@ -24,46 +24,50 @@ describe :array_pack_basic_non_float, shared: true do
end
it "ignores whitespace in the format string" do
- [@obj, @obj].pack("a \t\n\v\f\r"+pack_format).should be_an_instance_of(String)
+ [@obj, @obj].pack("a \t\n\v\f\r"+pack_format).should.instance_of?(String)
+ end
+
+ it "ignores comments in the format string" do
+ # 2 additional directives ('a') are required for the X directive
+ [@obj, @obj, @obj, @obj].pack("aa #{pack_format} # some comment \n#{pack_format}").should.instance_of?(String)
+ end
+
+ it "raise ArgumentError when a directive is unknown" do
+ # additional directive ('a') is required for the X directive
+ -> { [@obj, @obj].pack("a K" + pack_format) }.should.raise(ArgumentError, /unknown pack directive 'K'/)
+ -> { [@obj, @obj].pack("a 0" + pack_format) }.should.raise(ArgumentError, /unknown pack directive '0'/)
+ -> { [@obj, @obj].pack("a :" + pack_format) }.should.raise(ArgumentError, /unknown pack directive ':'/)
end
it "calls #to_str to coerce the directives string" do
d = mock("pack directive")
d.should_receive(:to_str).and_return("x"+pack_format)
- [@obj, @obj].pack(d).should be_an_instance_of(String)
- end
-
- ruby_version_is ''...'2.7' do
- it "taints the output string if the format string is tainted" do
- [@obj, @obj].pack("x"+pack_format.taint).tainted?.should be_true
- end
+ [@obj, @obj].pack(d).should.instance_of?(String)
end
end
describe :array_pack_basic_float, shared: true do
it "ignores whitespace in the format string" do
- [9.3, 4.7].pack(" \t\n\v\f\r"+pack_format).should be_an_instance_of(String)
+ [9.3, 4.7].pack(" \t\n\v\f\r"+pack_format).should.instance_of?(String)
+ end
+
+ it "ignores comments in the format string" do
+ [9.3, 4.7].pack(pack_format + "# some comment \n" + pack_format).should.instance_of?(String)
end
it "calls #to_str to coerce the directives string" do
d = mock("pack directive")
d.should_receive(:to_str).and_return("x"+pack_format)
- [1.2, 4.7].pack(d).should be_an_instance_of(String)
- end
-
- ruby_version_is ''...'2.7' do
- it "taints the output string if the format string is tainted" do
- [3.2, 2.8].pack("x"+pack_format.taint).tainted?.should be_true
- end
+ [1.2, 4.7].pack(d).should.instance_of?(String)
end
end
describe :array_pack_no_platform, shared: true do
it "raises ArgumentError when the format modifier is '_'" do
- ->{ [1].pack(pack_format("_")) }.should raise_error(ArgumentError)
+ ->{ [1].pack(pack_format("_")) }.should.raise(ArgumentError)
end
it "raises ArgumentError when the format modifier is '!'" do
- ->{ [1].pack(pack_format("!")) }.should raise_error(ArgumentError)
+ ->{ [1].pack(pack_format("!")) }.should.raise(ArgumentError)
end
end
diff --git a/spec/ruby/core/array/pack/shared/encodings.rb b/spec/ruby/core/array/pack/shared/encodings.rb
index 6b7ffac764..0b5a5cc8a0 100644
--- a/spec/ruby/core/array/pack/shared/encodings.rb
+++ b/spec/ruby/core/array/pack/shared/encodings.rb
@@ -5,12 +5,12 @@ describe :array_pack_hex, shared: true do
it "raises a TypeError if the object does not respond to #to_str" do
obj = mock("pack hex non-string")
- -> { [obj].pack(pack_format) }.should raise_error(TypeError)
+ -> { [obj].pack(pack_format) }.should.raise(TypeError)
end
it "raises a TypeError if #to_str does not return a String" do
obj = mock("pack hex non-string")
obj.should_receive(:to_str).and_return(1)
- -> { [obj].pack(pack_format) }.should raise_error(TypeError)
+ -> { [obj].pack(pack_format) }.should.raise(TypeError)
end
end
diff --git a/spec/ruby/core/array/pack/shared/float.rb b/spec/ruby/core/array/pack/shared/float.rb
index c6b194007f..c1efcd7677 100644
--- a/spec/ruby/core/array/pack/shared/float.rb
+++ b/spec/ruby/core/array/pack/shared/float.rb
@@ -1,4 +1,4 @@
-# -*- encoding: binary -*-
+# encoding: binary
describe :array_pack_float_le, shared: true do
it "encodes a positive Float" do
@@ -14,7 +14,7 @@ describe :array_pack_float_le, shared: true do
end
it "raises a TypeError if passed a String representation of a floating point number" do
- -> { ["13"].pack(pack_format) }.should raise_error(TypeError)
+ -> { ["13"].pack(pack_format) }.should.raise(TypeError)
end
it "encodes the number of array elements specified by the count modifier" do
@@ -25,8 +25,10 @@ describe :array_pack_float_le, shared: true do
[2.9, 1.4, 8.2].pack(pack_format("*")).should == "\x9a\x999@33\xb3?33\x03A"
end
- it "ignores NULL bytes between directives" do
- [5.3, 9.2].pack(pack_format("\000", 2)).should == "\x9a\x99\xa9@33\x13A"
+ it "raise ArgumentError for NULL bytes between directives" do
+ -> {
+ [5.3, 9.2].pack(pack_format("\000", 2))
+ }.should.raise(ArgumentError, /unknown pack directive/)
end
it "ignores spaces between directives" do
@@ -43,7 +45,7 @@ describe :array_pack_float_le, shared: true do
it "encodes NaN" do
nans = ["\x00\x00\xc0\xff", "\x00\x00\xc0\x7f", "\xFF\xFF\xFF\x7F"]
- nans.should include([nan_value].pack(pack_format))
+ nans.should.include?([nan_value].pack(pack_format))
end
it "encodes a positive Float outside the range of a single precision float" do
@@ -53,6 +55,14 @@ describe :array_pack_float_le, shared: true do
it "encodes a negative Float outside the range of a single precision float" do
[-1e150].pack(pack_format).should == "\x00\x00\x80\xff"
end
+
+ it "encodes a bignum as a float" do
+ [2 ** 65].pack(pack_format).should == [(2 ** 65).to_f].pack(pack_format)
+ end
+
+ it "encodes a rational as a float" do
+ [Rational(3, 4)].pack(pack_format).should == [Rational(3, 4).to_f].pack(pack_format)
+ end
end
describe :array_pack_float_be, shared: true do
@@ -66,10 +76,15 @@ describe :array_pack_float_be, shared: true do
it "converts an Integer to a Float" do
[8].pack(pack_format).should == "A\x00\x00\x00"
+ [bignum_value].pack(pack_format).should == "_\x80\x00\x00"
+ end
+
+ it "converts a Rational to a Float" do
+ [Rational(8)].pack(pack_format).should == "A\x00\x00\x00"
end
it "raises a TypeError if passed a String representation of a floating point number" do
- -> { ["13"].pack(pack_format) }.should raise_error(TypeError)
+ -> { ["13"].pack(pack_format) }.should.raise(TypeError)
end
it "encodes the number of array elements specified by the count modifier" do
@@ -80,8 +95,10 @@ describe :array_pack_float_be, shared: true do
[2.9, 1.4, 8.2].pack(pack_format("*")).should == "@9\x99\x9a?\xb333A\x0333"
end
- it "ignores NULL bytes between directives" do
- [5.3, 9.2].pack(pack_format("\000", 2)).should == "@\xa9\x99\x9aA\x1333"
+ it "raise ArgumentError for NULL bytes between directives" do
+ -> {
+ [5.3, 9.2].pack(pack_format("\000", 2))
+ }.should.raise(ArgumentError, /unknown pack directive/)
end
it "ignores spaces between directives" do
@@ -98,7 +115,7 @@ describe :array_pack_float_be, shared: true do
it "encodes NaN" do
nans = ["\xff\xc0\x00\x00", "\x7f\xc0\x00\x00", "\x7F\xFF\xFF\xFF"]
- nans.should include([nan_value].pack(pack_format))
+ nans.should.include?([nan_value].pack(pack_format))
end
it "encodes a positive Float outside the range of a single precision float" do
@@ -121,10 +138,15 @@ describe :array_pack_double_le, shared: true do
it "converts an Integer to a Float" do
[8].pack(pack_format).should == "\x00\x00\x00\x00\x00\x00\x20@"
+ [bignum_value].pack(pack_format).should == "\x00\x00\x00\x00\x00\x00\xF0C"
+ end
+
+ it "converts a Rational to a Float" do
+ [Rational(8)].pack(pack_format).should == "\x00\x00\x00\x00\x00\x00 @"
end
it "raises a TypeError if passed a String representation of a floating point number" do
- -> { ["13"].pack(pack_format) }.should raise_error(TypeError)
+ -> { ["13"].pack(pack_format) }.should.raise(TypeError)
end
it "encodes the number of array elements specified by the count modifier" do
@@ -135,8 +157,10 @@ describe :array_pack_double_le, shared: true do
[2.9, 1.4, 8.2].pack(pack_format("*")).should == "333333\x07@ffffff\xf6?ffffff\x20@"
end
- it "ignores NULL bytes between directives" do
- [5.3, 9.2].pack(pack_format("\000", 2)).should == "333333\x15@ffffff\x22@"
+ it "raise ArgumentError for NULL bytes between directives" do
+ -> {
+ [5.3, 9.2].pack(pack_format("\000", 2))
+ }.should.raise(ArgumentError, /unknown pack directive/)
end
it "ignores spaces between directives" do
@@ -157,7 +181,7 @@ describe :array_pack_double_le, shared: true do
"\x00\x00\x00\x00\x00\x00\xf8\x7f",
"\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x7F"
]
- nans.should include([nan_value].pack(pack_format))
+ nans.should.include?([nan_value].pack(pack_format))
end
it "encodes a positive Float outside the range of a single precision float" do
@@ -183,7 +207,7 @@ describe :array_pack_double_be, shared: true do
end
it "raises a TypeError if passed a String representation of a floating point number" do
- -> { ["13"].pack(pack_format) }.should raise_error(TypeError)
+ -> { ["13"].pack(pack_format) }.should.raise(TypeError)
end
it "encodes the number of array elements specified by the count modifier" do
@@ -194,8 +218,10 @@ describe :array_pack_double_be, shared: true do
[2.9, 1.4, 8.2].pack(pack_format("*")).should == "@\x07333333?\xf6ffffff@\x20ffffff"
end
- it "ignores NULL bytes between directives" do
- [5.3, 9.2].pack(pack_format("\000", 2)).should == "@\x15333333@\x22ffffff"
+ it "raise ArgumentError for NULL bytes between directives" do
+ -> {
+ [5.3, 9.2].pack(pack_format("\000", 2))
+ }.should.raise(ArgumentError, /unknown pack directive/)
end
it "ignores spaces between directives" do
@@ -216,7 +242,7 @@ describe :array_pack_double_be, shared: true do
"\x7f\xf8\x00\x00\x00\x00\x00\x00",
"\x7F\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
]
- nans.should include([nan_value].pack(pack_format))
+ nans.should.include?([nan_value].pack(pack_format))
end
it "encodes a positive Float outside the range of a single precision float" do
diff --git a/spec/ruby/core/array/pack/shared/integer.rb b/spec/ruby/core/array/pack/shared/integer.rb
index 6592f85022..1cdd386cc1 100644
--- a/spec/ruby/core/array/pack/shared/integer.rb
+++ b/spec/ruby/core/array/pack/shared/integer.rb
@@ -1,4 +1,4 @@
-# -*- encoding: binary -*-
+# encoding: binary
describe :array_pack_16bit_le, shared: true do
it "encodes the least significant 16 bits of a positive number" do
@@ -41,9 +41,10 @@ describe :array_pack_16bit_le, shared: true do
str.should == "\x78\x65\xcd\xab\x21\x43"
end
- it "ignores NULL bytes between directives" do
- str = [0x1243_6578, 0xdef0_abcd].pack(pack_format("\000", 2))
- str.should == "\x78\x65\xcd\xab"
+ it "raise ArgumentError for NULL bytes between directives" do
+ -> {
+ [0x1243_6578, 0xdef0_abcd].pack(pack_format("\000", 2))
+ }.should.raise(ArgumentError, /unknown pack directive/)
end
it "ignores spaces between directives" do
@@ -93,9 +94,10 @@ describe :array_pack_16bit_be, shared: true do
str.should == "\x65\x78\xab\xcd\x43\x21"
end
- it "ignores NULL bytes between directives" do
- str = [0x1243_6578, 0xdef0_abcd].pack(pack_format("\000", 2))
- str.should == "\x65\x78\xab\xcd"
+ it "raise ArgumentError for NULL bytes between directives" do
+ -> {
+ [0x1243_6578, 0xdef0_abcd].pack(pack_format("\000", 2))
+ }.should.raise(ArgumentError, /unknown pack directive/)
end
it "ignores spaces between directives" do
@@ -145,9 +147,10 @@ describe :array_pack_32bit_le, shared: true do
str.should == "\x78\x65\x43\x12\xcd\xab\xf0\xde\x21\x43\x65\x78"
end
- it "ignores NULL bytes between directives" do
- str = [0x1243_6578, 0xdef0_abcd].pack(pack_format("\000", 2))
- str.should == "\x78\x65\x43\x12\xcd\xab\xf0\xde"
+ it "raise ArgumentError for NULL bytes between directives" do
+ -> {
+ [0x1243_6578, 0xdef0_abcd].pack(pack_format("\000", 2))
+ }.should.raise(ArgumentError, /unknown pack directive/)
end
it "ignores spaces between directives" do
@@ -197,9 +200,10 @@ describe :array_pack_32bit_be, shared: true do
str.should == "\x12\x43\x65\x78\xde\xf0\xab\xcd\x78\x65\x43\x21"
end
- it "ignores NULL bytes between directives" do
- str = [0x1243_6578, 0xdef0_abcd].pack(pack_format("\000", 2))
- str.should == "\x12\x43\x65\x78\xde\xf0\xab\xcd"
+ it "raise ArgumentError for NULL bytes between directives" do
+ -> {
+ [0x1243_6578, 0xdef0_abcd].pack(pack_format("\000", 2))
+ }.should.raise(ArgumentError, /unknown pack directive/)
end
it "ignores spaces between directives" do
@@ -225,7 +229,7 @@ describe :array_pack_32bit_le_platform, shared: true do
str.should == "\x78\x65\x43\x12\xcd\xab\xf0\xde\x21\x43\x65\x78"
end
- platform_is wordsize: 64 do
+ platform_is c_long_size: 64 do
it "encodes the least significant 32 bits of a number that is greater than 32 bits" do
[ [[0xff_7865_4321], "\x21\x43\x65\x78"],
[[-0xff_7865_4321], "\xdf\xbc\x9a\x87"]
@@ -251,7 +255,7 @@ describe :array_pack_32bit_be_platform, shared: true do
str.should == "\x12\x43\x65\x78\xde\xf0\xab\xcd\x78\x65\x43\x21"
end
- platform_is wordsize: 64 do
+ platform_is c_long_size: 64 do
it "encodes the least significant 32 bits of a number that is greater than 32 bits" do
[ [[0xff_7865_4321], "\x78\x65\x43\x21"],
[[-0xff_7865_4321], "\x87\x9a\xbc\xdf"]
@@ -309,9 +313,10 @@ describe :array_pack_64bit_le, shared: true do
str.should == "\x56\x78\x12\x34\xcd\xab\xf0\xde\xf0\xde\xba\xdc\x21\x43\x65\x78"
end
- it "ignores NULL bytes between directives" do
- str = [0xdef0_abcd_3412_7856, 0x7865_4321_dcba_def0].pack(pack_format("\000", 2))
- str.should == "\x56\x78\x12\x34\xcd\xab\xf0\xde\xf0\xde\xba\xdc\x21\x43\x65\x78"
+ it "raise ArgumentError for NULL bytes between directives" do
+ -> {
+ [0xdef0_abcd_3412_7856, 0x7865_4321_dcba_def0].pack(pack_format("\000", 2))
+ }.should.raise(ArgumentError, /unknown pack directive/)
end
it "ignores spaces between directives" do
@@ -369,9 +374,10 @@ describe :array_pack_64bit_be, shared: true do
str.should == "\xde\xf0\xab\xcd\x34\x12\x78\x56\x78\x65\x43\x21\xdc\xba\xde\xf0"
end
- it "ignores NULL bytes between directives" do
- str = [0xdef0_abcd_3412_7856, 0x7865_4321_dcba_def0].pack(pack_format("\000", 2))
- str.should == "\xde\xf0\xab\xcd\x34\x12\x78\x56\x78\x65\x43\x21\xdc\xba\xde\xf0"
+ it "raise ArgumentError for NULL bytes between directives" do
+ -> {
+ [0xdef0_abcd_3412_7856, 0x7865_4321_dcba_def0].pack(pack_format("\000", 2))
+ }.should.raise(ArgumentError, /unknown pack directive/)
end
it "ignores spaces between directives" do
diff --git a/spec/ruby/core/array/pack/shared/numeric_basic.rb b/spec/ruby/core/array/pack/shared/numeric_basic.rb
index 7c36ba4a32..6594914933 100644
--- a/spec/ruby/core/array/pack/shared/numeric_basic.rb
+++ b/spec/ruby/core/array/pack/shared/numeric_basic.rb
@@ -4,15 +4,15 @@ describe :array_pack_numeric_basic, shared: true do
end
it "raises a TypeError when passed nil" do
- -> { [nil].pack(pack_format) }.should raise_error(TypeError)
+ -> { [nil].pack(pack_format) }.should.raise(TypeError)
end
it "raises a TypeError when passed true" do
- -> { [true].pack(pack_format) }.should raise_error(TypeError)
+ -> { [true].pack(pack_format) }.should.raise(TypeError)
end
it "raises a TypeError when passed false" do
- -> { [false].pack(pack_format) }.should raise_error(TypeError)
+ -> { [false].pack(pack_format) }.should.raise(TypeError)
end
it "returns a binary string" do
@@ -24,21 +24,27 @@ end
describe :array_pack_integer, shared: true do
it "raises a TypeError when the object does not respond to #to_int" do
obj = mock('not an integer')
- -> { [obj].pack(pack_format) }.should raise_error(TypeError)
+ -> { [obj].pack(pack_format) }.should.raise(TypeError)
end
it "raises a TypeError when passed a String" do
- -> { ["5"].pack(pack_format) }.should raise_error(TypeError)
+ -> { ["5"].pack(pack_format) }.should.raise(TypeError)
end
end
describe :array_pack_float, shared: true do
it "raises a TypeError if a String does not represent a floating point number" do
- -> { ["a"].pack(pack_format) }.should raise_error(TypeError)
+ -> { ["a"].pack(pack_format) }.should.raise(TypeError)
end
- it "raises a TypeError when the object does not respond to #to_f" do
- obj = mock('not an float')
- -> { [obj].pack(pack_format) }.should raise_error(TypeError)
+ it "raises a TypeError when the object is not Numeric" do
+ obj = Object.new
+ -> { [obj].pack(pack_format) }.should.raise(TypeError, /can't convert Object into Float/)
+ end
+
+ it "raises a TypeError when the Numeric object does not respond to #to_f" do
+ klass = Class.new(Numeric)
+ obj = klass.new
+ -> { [obj].pack(pack_format) }.should.raise(TypeError)
end
end
diff --git a/spec/ruby/core/array/pack/shared/string.rb b/spec/ruby/core/array/pack/shared/string.rb
index 8c82e8c617..b02257059f 100644
--- a/spec/ruby/core/array/pack/shared/string.rb
+++ b/spec/ruby/core/array/pack/shared/string.rb
@@ -1,4 +1,4 @@
-# -*- encoding: binary -*-
+# encoding: binary
describe :array_pack_string, shared: true do
it "adds count bytes of a String to the output" do
["abc"].pack(pack_format(2)).should == "ab"
@@ -17,11 +17,11 @@ describe :array_pack_string, shared: true do
end
it "raises an ArgumentError when the Array is empty" do
- -> { [].pack(pack_format) }.should raise_error(ArgumentError)
+ -> { [].pack(pack_format) }.should.raise(ArgumentError)
end
it "raises an ArgumentError when the Array has too few elements" do
- -> { ["a"].pack(pack_format(nil, 2)) }.should raise_error(ArgumentError)
+ -> { ["a"].pack(pack_format(nil, 2)) }.should.raise(ArgumentError)
end
it "calls #to_str to convert the element to a String" do
@@ -33,14 +33,14 @@ describe :array_pack_string, shared: true do
it "raises a TypeError when the object does not respond to #to_str" do
obj = mock("not a string")
- -> { [obj].pack(pack_format) }.should raise_error(TypeError)
+ -> { [obj].pack(pack_format) }.should.raise(TypeError)
end
it "returns a string in encoding of common to the concatenated results" do
f = pack_format("*")
[ [["\u{3042 3044 3046 3048}", 0x2000B].pack(f+"U"), Encoding::BINARY],
[["abcde\xd1", "\xFF\xFe\x81\x82"].pack(f+"u"), Encoding::BINARY],
- [["a".force_encoding("ascii"), "\xFF\xFe\x81\x82"].pack(f+"u"), Encoding::BINARY],
+ [["a".dup.force_encoding("ascii"), "\xFF\xFe\x81\x82"].pack(f+"u"), Encoding::BINARY],
# under discussion [ruby-dev:37294]
[["\u{3042 3044 3046 3048}", 1].pack(f+"N"), Encoding::BINARY]
].should be_computed_by(:encoding)
diff --git a/spec/ruby/core/array/pack/shared/taint.rb b/spec/ruby/core/array/pack/shared/taint.rb
index 565f04b8b9..2c2b011c34 100644
--- a/spec/ruby/core/array/pack/shared/taint.rb
+++ b/spec/ruby/core/array/pack/shared/taint.rb
@@ -1,35 +1,2 @@
describe :array_pack_taint, shared: true do
- ruby_version_is ''...'2.7' do
- it "returns a tainted string when a pack argument is tainted" do
- ["abcd".taint, 0x20].pack(pack_format("3C")).tainted?.should be_true
- end
-
- it "does not return a tainted string when the array is tainted" do
- ["abcd", 0x20].taint.pack(pack_format("3C")).tainted?.should be_false
- end
-
- it "returns a tainted string when the format is tainted" do
- ["abcd", 0x20].pack(pack_format("3C").taint).tainted?.should be_true
- end
-
- it "returns a tainted string when an empty format is tainted" do
- ["abcd", 0x20].pack("".taint).tainted?.should be_true
- end
-
- it "returns a untrusted string when the format is untrusted" do
- ["abcd", 0x20].pack(pack_format("3C").untrust).untrusted?.should be_true
- end
-
- it "returns a untrusted string when the empty format is untrusted" do
- ["abcd", 0x20].pack("".untrust).untrusted?.should be_true
- end
-
- it "returns a untrusted string when a pack argument is untrusted" do
- ["abcd".untrust, 0x20].pack(pack_format("3C")).untrusted?.should be_true
- end
-
- it "returns a trusted string when the array is untrusted" do
- ["abcd", 0x20].untrust.pack(pack_format("3C")).untrusted?.should be_false
- end
- end
end
diff --git a/spec/ruby/core/array/pack/shared/unicode.rb b/spec/ruby/core/array/pack/shared/unicode.rb
index dd0f8b38aa..58ba8a8b23 100644
--- a/spec/ruby/core/array/pack/shared/unicode.rb
+++ b/spec/ruby/core/array/pack/shared/unicode.rb
@@ -26,7 +26,7 @@ describe :array_pack_unicode, shared: true do
it "constructs strings with valid encodings" do
str = [0x85].pack("U*")
str.should == "\xc2\x85"
- str.valid_encoding?.should be_true
+ str.valid_encoding?.should == true
end
it "encodes values larger than UTF-8 max codepoints" do
@@ -64,11 +64,13 @@ describe :array_pack_unicode, shared: true do
it "raises a TypeError if #to_int does not return an Integer" do
obj = mock('to_int')
obj.should_receive(:to_int).and_return("5")
- -> { [obj].pack("U") }.should raise_error(TypeError)
+ -> { [obj].pack("U") }.should.raise(TypeError)
end
- it "ignores NULL bytes between directives" do
- [1, 2, 3].pack("U\x00U").should == "\x01\x02"
+ it "raise ArgumentError for NULL bytes between directives" do
+ -> {
+ [1, 2, 3].pack("U\x00U")
+ }.should.raise(ArgumentError, /unknown pack directive/)
end
it "ignores spaces between directives" do
@@ -76,11 +78,11 @@ describe :array_pack_unicode, shared: true do
end
it "raises a RangeError if passed a negative number" do
- -> { [-1].pack("U") }.should raise_error(RangeError)
+ -> { [-1].pack("U") }.should.raise(RangeError)
end
it "raises a RangeError if passed a number larger than an unsigned 32-bit integer" do
- -> { [2**32].pack("U") }.should raise_error(RangeError)
+ -> { [2**32].pack("U") }.should.raise(RangeError)
end
it "sets the output string to UTF-8 encoding" do
ode'>-rw-r--r--benchmark/bm_vm1_rescue.rb7
-rw-r--r--benchmark/bm_vm1_simplereturn.rb9
-rw-r--r--benchmark/bm_vm1_swap.rb8
-rw-r--r--benchmark/bm_vm1_yield.rb10
-rw-r--r--benchmark/bm_vm2_array.rb5
-rw-r--r--benchmark/bm_vm2_bigarray.rb106
-rw-r--r--benchmark/bm_vm2_bighash.rb5
-rw-r--r--benchmark/bm_vm2_case.rb14
-rw-r--r--benchmark/bm_vm2_defined_method.rb9
-rw-r--r--benchmark/bm_vm2_dstr.rb6
-rw-r--r--benchmark/bm_vm2_eval.rb6
-rw-r--r--benchmark/bm_vm2_method.rb9
-rw-r--r--benchmark/bm_vm2_method_missing.rb12
-rw-r--r--benchmark/bm_vm2_method_with_block.rb9
-rw-r--r--benchmark/bm_vm2_mutex.rb9
-rw-r--r--benchmark/bm_vm2_poly_method.rb20
-rw-r--r--benchmark/bm_vm2_poly_method_ov.rb20
-rw-r--r--benchmark/bm_vm2_proc.rb14
-rw-r--r--benchmark/bm_vm2_raise1.rb18
-rw-r--r--benchmark/bm_vm2_raise2.rb18
-rw-r--r--benchmark/bm_vm2_regexp.rb6
-rw-r--r--benchmark/bm_vm2_send.rb12
-rw-r--r--benchmark/bm_vm2_super.rb20
-rw-r--r--benchmark/bm_vm2_unif1.rb8
-rw-r--r--benchmark/bm_vm2_zsuper.rb20
-rw-r--r--benchmark/bm_vm3_backtrace.rb22
-rw-r--r--benchmark/bm_vm3_clearmethodcache.rb8
-rwxr-xr-xbenchmark/bm_vm3_gc.rb7
-rw-r--r--benchmark/bm_vm_thread_alive_check1.rb6
-rw-r--r--benchmark/bm_vm_thread_create_join.rb6
-rw-r--r--benchmark/bm_vm_thread_mutex1.rb21
-rw-r--r--benchmark/bm_vm_thread_mutex2.rb21
-rw-r--r--benchmark/bm_vm_thread_mutex3.rb20
-rw-r--r--benchmark/bm_vm_thread_pass.rb15
-rw-r--r--benchmark/bm_vm_thread_pass_flood.rb8
-rw-r--r--benchmark/bm_vm_thread_pipe.rb17
-rw-r--r--benchmark/bm_vm_thread_queue.rb18
-rw-r--r--benchmark/driver.rb301
-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/make_fasta_output.rb19
-rw-r--r--benchmark/other-lang/ack.pl11
-rw-r--r--benchmark/other-lang/ack.py16
-rw-r--r--benchmark/other-lang/ack.rb12
-rw-r--r--benchmark/other-lang/ack.scm7
-rw-r--r--benchmark/other-lang/eval.rb66
-rw-r--r--benchmark/other-lang/fact.pl13
-rw-r--r--benchmark/other-lang/fact.py18
-rw-r--r--benchmark/other-lang/fact.rb13
-rw-r--r--benchmark/other-lang/fact.scm8
-rw-r--r--benchmark/other-lang/fib.pl11
-rw-r--r--benchmark/other-lang/fib.py7
-rw-r--r--benchmark/other-lang/fib.rb9
-rw-r--r--benchmark/other-lang/fib.scm7
-rw-r--r--benchmark/other-lang/loop.pl3
-rw-r--r--benchmark/other-lang/loop.py2
-rw-r--r--benchmark/other-lang/loop.rb4
-rw-r--r--benchmark/other-lang/loop.scm1
-rw-r--r--benchmark/other-lang/loop2.rb1
-rw-r--r--benchmark/other-lang/tak.pl11
-rw-r--r--benchmark/other-lang/tak.py8
-rw-r--r--benchmark/other-lang/tak.rb13
-rw-r--r--benchmark/other-lang/tak.scm10
-rw-r--r--benchmark/prepare_so_count_words.rb15
-rw-r--r--benchmark/prepare_so_k_nucleotide.rb2
-rw-r--r--benchmark/prepare_so_reverse_complement.rb2
-rw-r--r--benchmark/report.rb79
-rw-r--r--benchmark/run.rb127
-rw-r--r--benchmark/runc.rb27
-rw-r--r--benchmark/wc.input.base25
-rw-r--r--bignum.c7449
-rwxr-xr-xbin/erb180
-rwxr-xr-xbin/gem25
-rwxr-xr-x[-rw-r--r--]bin/irb18
-rwxr-xr-xbin/rake33
-rwxr-xr-xbin/rdoc44
-rwxr-xr-xbin/ri12
-rwxr-xr-xbin/testrb3
-rw-r--r--bootstraptest/pending.rb39
-rwxr-xr-xbootstraptest/runner.rb485
-rw-r--r--bootstraptest/test_attr.rb36
-rw-r--r--bootstraptest/test_autoload.rb70
-rw-r--r--bootstraptest/test_block.rb599
-rw-r--r--bootstraptest/test_class.rb169
-rw-r--r--bootstraptest/test_eval.rb324
-rw-r--r--bootstraptest/test_exception.rb432
-rw-r--r--bootstraptest/test_finalizer.rb8
-rw-r--r--bootstraptest/test_flip.rb1
-rw-r--r--bootstraptest/test_flow.rb591
-rw-r--r--bootstraptest/test_fork.rb69
-rw-r--r--bootstraptest/test_gc.rb34
-rw-r--r--bootstraptest/test_io.rb112
-rw-r--r--bootstraptest/test_jump.rb308
-rw-r--r--bootstraptest/test_literal.rb231
-rw-r--r--bootstraptest/test_literal_suffix.rb54
-rw-r--r--bootstraptest/test_load.rb27
-rw-r--r--bootstraptest/test_marshal.rb5
-rw-r--r--bootstraptest/test_massign.rb183
-rw-r--r--bootstraptest/test_method.rb1220
-rw-r--r--bootstraptest/test_objectspace.rb46
-rw-r--r--bootstraptest/test_proc.rb483
-rw-r--r--bootstraptest/test_struct.rb5
-rw-r--r--bootstraptest/test_syntax.rb902
-rw-r--r--bootstraptest/test_thread.rb464
-rw-r--r--class.c2015
-rw-r--r--common.mk1104
-rw-r--r--compar.c211
-rw-r--r--compile.c5951
-rw-r--r--complex.c2211
-rw-r--r--config.guess1391
-rw-r--r--config.sub1370
-rw-r--r--configure.in4374
-rw-r--r--constant.h36
-rw-r--r--cont.c1696
-rw-r--r--cygwin/GNUmakefile.in95
-rw-r--r--debug.c162
-rw-r--r--defines.h179
-rw-r--r--defs/default_gems5
-rw-r--r--defs/gmake.mk29
-rw-r--r--defs/id.def105
-rw-r--r--defs/keywords53
-rw-r--r--defs/known_errors.def145
-rw-r--r--defs/lex.c.src53
-rw-r--r--defs/opt_insn_unif.def29
-rw-r--r--defs/opt_operand.def22
-rw-r--r--dir.c2382
-rw-r--r--djgpp/GNUmakefile.in2
-rw-r--r--djgpp/README.djgpp21
-rw-r--r--djgpp/config.hin114
-rw-r--r--djgpp/config.sed128
-rw-r--r--djgpp/config.status77
-rw-r--r--djgpp/configure.bat20
-rw-r--r--djgpp/mkver.sed1
-rw-r--r--dln.c854
-rw-r--r--dln.h21
-rw-r--r--dln_find.c294
-rw-r--r--dmydln.c9
-rw-r--r--dmyext.c7
-rw-r--r--doc/.document4
-rw-r--r--doc/ChangeLog-1.8.024350
-rw-r--r--doc/ChangeLog-1.9.392772
-rw-r--r--doc/ChangeLog-2.0.024015
-rw-r--r--doc/ChangeLog-YARV6917
-rw-r--r--doc/NEWS597
-rw-r--r--doc/NEWS-1.8.7669
-rw-r--r--doc/NEWS-1.9.1429
-rw-r--r--doc/NEWS-1.9.2509
-rw-r--r--doc/NEWS-1.9.3341
-rw-r--r--doc/NEWS-2.0.0531
-rw-r--r--doc/contributing.rdoc459
-rw-r--r--doc/contributors.rdoc778
-rw-r--r--doc/dtrace_probes.rdoc178
-rw-r--r--doc/etc.rd.ja75
-rw-r--r--doc/forwardable.rd84
-rw-r--r--doc/forwardable.rd.ja45
-rw-r--r--doc/globals.rdoc69
-rw-r--r--doc/images/boottime-classes.pngbin0 -> 28677 bytes-rw-r--r--doc/irb/irb-tools.rd.ja111
-rw-r--r--doc/irb/irb.rd392
-rw-r--r--doc/irb/irb.rd.ja379
-rw-r--r--doc/maintainers.rdoc322
-rw-r--r--doc/marshal.rdoc313
-rw-r--r--doc/pty/README.expect.ja21
-rw-r--r--doc/pty/README.ja76
-rw-r--r--doc/regexp.rdoc685
-rw-r--r--doc/security.rdoc144
-rw-r--r--doc/shell.rd348
-rw-r--r--doc/shell.rd.ja151
-rw-r--r--doc/standard_library.rdoc125
-rw-r--r--doc/syntax.rdoc34
-rw-r--r--doc/syntax/assignment.rdoc455
-rw-r--r--doc/syntax/calling_methods.rdoc349
-rw-r--r--doc/syntax/control_expressions.rdoc500
-rw-r--r--doc/syntax/exceptions.rdoc96
-rw-r--r--doc/syntax/literals.rdoc307
-rw-r--r--doc/syntax/methods.rdoc414
-rw-r--r--doc/syntax/miscellaneous.rdoc107
-rw-r--r--doc/syntax/modules_and_classes.rdoc345
-rw-r--r--doc/syntax/precedence.rdoc60
-rw-r--r--doc/syntax/refinements.rdoc266
-rw-r--r--enc/Makefile.in82
-rw-r--r--enc/ascii.c96
-rw-r--r--enc/big5.c373
-rw-r--r--enc/cp949.c221
-rw-r--r--enc/depend160
-rw-r--r--enc/emacs_mule.c341
-rw-r--r--enc/encdb.c31
-rw-r--r--enc/encinit.c.erb26
-rw-r--r--enc/euc_jp.c644
-rw-r--r--enc/euc_kr.c194
-rw-r--r--enc/euc_tw.c227
-rw-r--r--enc/gb18030.c603
-rw-r--r--enc/gb2312.c13
-rw-r--r--enc/gbk.c224
-rw-r--r--enc/iso_2022_jp.h47
-rw-r--r--enc/iso_8859_1.c289
-rw-r--r--enc/iso_8859_10.c246
-rw-r--r--enc/iso_8859_11.c113
-rw-r--r--enc/iso_8859_13.c245
-rw-r--r--enc/iso_8859_14.c248
-rw-r--r--enc/iso_8859_15.c242
-rw-r--r--enc/iso_8859_16.c244
-rw-r--r--enc/iso_8859_2.c254
-rw-r--r--enc/iso_8859_3.c242
-rw-r--r--enc/iso_8859_4.c244
-rw-r--r--enc/iso_8859_5.c232
-rw-r--r--enc/iso_8859_6.c109
-rw-r--r--enc/iso_8859_7.c239
-rw-r--r--enc/iso_8859_8.c109
-rw-r--r--enc/iso_8859_9.c245
-rw-r--r--enc/koi8_r.c221
-rw-r--r--enc/koi8_u.c223
-rwxr-xr-xenc/make_encmake.rb136
-rw-r--r--enc/mktable.c1162
-rw-r--r--enc/prelude.rb6
-rw-r--r--enc/shift_jis.c614
-rw-r--r--enc/trans/CP/CP932UDA%UCS.src1912
-rw-r--r--enc/trans/CP/CP932VDC@IBM%UCS.src420
-rw-r--r--enc/trans/CP/CP932VDC@NEC_IBM%UCS.src406
-rw-r--r--enc/trans/CP/UCS%CP932UDA.src1912
-rw-r--r--enc/trans/CP/UCS%CP932VDC@IBM.src420
-rw-r--r--enc/trans/CP/UCS%CP932VDC@NEC_IBM.src406
-rw-r--r--enc/trans/EMOJI/EMOJI_ISO-2022-JP-KDDI%UCS.src658
-rw-r--r--enc/trans/EMOJI/EMOJI_SHIFT_JIS-DOCOMO%UCS.src293
-rw-r--r--enc/trans/EMOJI/EMOJI_SHIFT_JIS-KDDI%UCS.src658
-rw-r--r--enc/trans/EMOJI/EMOJI_SHIFT_JIS-KDDI-UNDOC%UCS.src658
-rw-r--r--enc/trans/EMOJI/EMOJI_SHIFT_JIS-SOFTBANK%UCS.src496
-rw-r--r--enc/trans/EMOJI/UCS%EMOJI_ISO-2022-JP-KDDI-UNDOC.src658
-rw-r--r--enc/trans/EMOJI/UCS%EMOJI_ISO-2022-JP-KDDI.src658
-rw-r--r--enc/trans/EMOJI/UCS%EMOJI_SHIFT_JIS-DOCOMO.src293
-rw-r--r--enc/trans/EMOJI/UCS%EMOJI_SHIFT_JIS-KDDI-UNDOC.src658
-rw-r--r--enc/trans/EMOJI/UCS%EMOJI_SHIFT_JIS-KDDI.src658
-rw-r--r--enc/trans/EMOJI/UCS%EMOJI_SHIFT_JIS-SOFTBANK.src496
-rw-r--r--enc/trans/GB/GB12345%UCS.src7618
-rw-r--r--enc/trans/GB/GB2312%UCS.src7535
-rw-r--r--enc/trans/GB/UCS%GB12345.src7620
-rw-r--r--enc/trans/GB/UCS%GB2312.src7531
-rw-r--r--enc/trans/JIS/JISX0201-KANA%UCS.src127
-rw-r--r--enc/trans/JIS/JISX0208@1990%UCS.src6972
-rw-r--r--enc/trans/JIS/JISX0208@MS%UCS.src6893
-rw-r--r--enc/trans/JIS/JISX0208UDC%UCS.src954
-rw-r--r--enc/trans/JIS/JISX0208VDC@NEC%UCS.src97
-rw-r--r--enc/trans/JIS/JISX0212%UCS.src6167
-rw-r--r--enc/trans/JIS/JISX0212@MS%UCS.src6081
-rw-r--r--enc/trans/JIS/JISX0212UDC%UCS.src954
-rw-r--r--enc/trans/JIS/JISX0212VDC@IBM%UCS.src120
-rw-r--r--enc/trans/JIS/JISX0213-1%UCS@BMP.src1926
-rw-r--r--enc/trans/JIS/JISX0213-1%UCS@SIP.src60
-rw-r--r--enc/trans/JIS/JISX0213-2%UCS@BMP.src2193
-rw-r--r--enc/trans/JIS/JISX0213-2%UCS@SIP.src311
-rw-r--r--enc/trans/JIS/UCS%JISX0201-KANA.src127
-rw-r--r--enc/trans/JIS/UCS%JISX0208@1990.src6974
-rw-r--r--enc/trans/JIS/UCS%JISX0208@MS.src6894
-rw-r--r--enc/trans/JIS/UCS%JISX0208UDC.src955
-rw-r--r--enc/trans/JIS/UCS%JISX0208VDC@NEC.src98
-rw-r--r--enc/trans/JIS/UCS%JISX0212.src6170
-rw-r--r--enc/trans/JIS/UCS%JISX0212@MS.src6082
-rw-r--r--enc/trans/JIS/UCS%JISX0212UDC.src955
-rw-r--r--enc/trans/JIS/UCS%JISX0212VDC@IBM.src121
-rw-r--r--enc/trans/JIS/UCS@BMP%JISX0213-1.src1922
-rw-r--r--enc/trans/JIS/UCS@BMP%JISX0213-2.src2189
-rw-r--r--enc/trans/JIS/UCS@SIP%JISX0213-1.src56
-rw-r--r--enc/trans/JIS/UCS@SIP%JISX0213-2.src307
-rw-r--r--enc/trans/big5-hkscs-tbl.rb37302
-rw-r--r--enc/trans/big5-uao-tbl.rb19784
-rw-r--r--enc/trans/big5.trans32
-rw-r--r--enc/trans/chinese.trans31
-rw-r--r--enc/trans/cp850-tbl.rb130
-rw-r--r--enc/trans/cp852-tbl.rb130
-rw-r--r--enc/trans/cp855-tbl.rb130
-rw-r--r--enc/trans/cp949-tbl.rb8831
-rw-r--r--enc/trans/emoji-exchange-tbl.rb8407
-rw-r--r--enc/trans/emoji.trans36
-rw-r--r--enc/trans/emoji_iso2022_kddi.trans216
-rw-r--r--enc/trans/emoji_sjis_docomo.trans32
-rw-r--r--enc/trans/emoji_sjis_kddi.trans33
-rw-r--r--enc/trans/emoji_sjis_softbank.trans32
-rw-r--r--enc/trans/escape.trans93
-rw-r--r--enc/trans/euckr-tbl.rb8230
-rw-r--r--enc/trans/gb18030-tbl.rb63362
-rw-r--r--enc/trans/gb18030.trans183
-rw-r--r--enc/trans/gbk-tbl.rb21794
-rw-r--r--enc/trans/gbk.trans15
-rw-r--r--enc/trans/ibm437-tbl.rb130
-rw-r--r--enc/trans/ibm737-tbl.rb130
-rw-r--r--enc/trans/ibm775-tbl.rb130
-rw-r--r--enc/trans/ibm852-tbl.rb130
-rw-r--r--enc/trans/ibm855-tbl.rb130
-rw-r--r--enc/trans/ibm857-tbl.rb127
-rw-r--r--enc/trans/ibm860-tbl.rb130
-rw-r--r--enc/trans/ibm861-tbl.rb130
-rw-r--r--enc/trans/ibm862-tbl.rb130
-rw-r--r--enc/trans/ibm863-tbl.rb130
-rw-r--r--enc/trans/ibm865-tbl.rb130
-rw-r--r--enc/trans/ibm866-tbl.rb130
-rw-r--r--enc/trans/ibm869-tbl.rb121
-rw-r--r--enc/trans/iso-8859-1-tbl.rb98
-rw-r--r--enc/trans/iso-8859-10-tbl.rb98
-rw-r--r--enc/trans/iso-8859-11-tbl.rb90
-rw-r--r--enc/trans/iso-8859-13-tbl.rb98
-rw-r--r--enc/trans/iso-8859-14-tbl.rb98
-rw-r--r--enc/trans/iso-8859-15-tbl.rb98
-rw-r--r--enc/trans/iso-8859-16-tbl.rb98
-rw-r--r--enc/trans/iso-8859-2-tbl.rb98
-rw-r--r--enc/trans/iso-8859-3-tbl.rb91
-rw-r--r--enc/trans/iso-8859-4-tbl.rb98
-rw-r--r--enc/trans/iso-8859-5-tbl.rb98
-rw-r--r--enc/trans/iso-8859-6-tbl.rb53
-rw-r--r--enc/trans/iso-8859-7-tbl.rb95
-rw-r--r--enc/trans/iso-8859-8-tbl.rb62
-rw-r--r--enc/trans/iso-8859-9-tbl.rb98
-rw-r--r--enc/trans/iso2022.trans567
-rw-r--r--enc/trans/japanese.trans97
-rw-r--r--enc/trans/japanese_euc.trans57
-rw-r--r--enc/trans/japanese_sjis.trans33
-rw-r--r--enc/trans/koi8-r-tbl.rb130
-rw-r--r--enc/trans/koi8-u-tbl.rb130
-rw-r--r--enc/trans/korean.trans18
-rw-r--r--enc/trans/maccroatian-tbl.rb129
-rw-r--r--enc/trans/maccyrillic-tbl.rb130
-rw-r--r--enc/trans/macgreek-tbl.rb129
-rw-r--r--enc/trans/maciceland-tbl.rb129
-rw-r--r--enc/trans/macroman-tbl.rb129
-rw-r--r--enc/trans/macromania-tbl.rb129
-rw-r--r--enc/trans/macturkish-tbl.rb128
-rw-r--r--enc/trans/macukraine-tbl.rb130
-rw-r--r--enc/trans/newline.trans135
-rw-r--r--enc/trans/single_byte.trans91
-rw-r--r--enc/trans/tis-620-tbl.rb89
-rw-r--r--enc/trans/transdb.c18
-rw-r--r--enc/trans/ucm/glibc-BIG5-2.3.3.ucm14087
-rw-r--r--enc/trans/ucm/glibc-BIG5HKSCS-2.3.3.ucm18332
-rw-r--r--enc/trans/ucm/windows-950-2000.ucm20379
-rw-r--r--enc/trans/ucm/windows-950_hkscs-2001.ucm23446
-rw-r--r--enc/trans/utf8_mac-tbl.rb23154
-rw-r--r--enc/trans/utf8_mac.trans256
-rw-r--r--enc/trans/utf_16_32.trans556
-rw-r--r--enc/trans/windows-1250-tbl.rb125
-rw-r--r--enc/trans/windows-1251-tbl.rb129
-rw-r--r--enc/trans/windows-1252-tbl.rb125
-rw-r--r--enc/trans/windows-1253-tbl.rb113
-rw-r--r--enc/trans/windows-1254-tbl.rb123
-rw-r--r--enc/trans/windows-1255-tbl.rb141
-rw-r--r--enc/trans/windows-1256-tbl.rb130
-rw-r--r--enc/trans/windows-1257-tbl.rb118
-rw-r--r--enc/trans/windows-874-tbl.rb99
-rw-r--r--enc/unicode.c680
-rw-r--r--enc/unicode/casefold.h2238
-rw-r--r--enc/unicode/name2ctype.h28722
-rw-r--r--enc/unicode/name2ctype.h.blt28722
-rw-r--r--enc/unicode/name2ctype.kwd26550
-rw-r--r--enc/unicode/name2ctype.src26550
-rw-r--r--enc/us_ascii.c33
-rw-r--r--enc/utf_16_32.h5
-rw-r--r--enc/utf_16be.c258
-rw-r--r--enc/utf_16le.c250
-rw-r--r--enc/utf_32be.c193
-rw-r--r--enc/utf_32le.c192
-rw-r--r--enc/utf_7.h5
-rw-r--r--enc/utf_8.c457
-rw-r--r--enc/windows_1251.c210
-rw-r--r--enc/windows_31j.c80
-rw-r--r--enc/x_emoji.h26
-rw-r--r--encoding.c1950
-rw-r--r--enum.c2793
-rw-r--r--enumerator.c2087
-rw-r--r--env.h60
-rw-r--r--error.c2491
-rw-r--r--eval.c10251
-rw-r--r--eval_error.c304
-rw-r--r--eval_intern.h270
-rw-r--r--eval_jump.c142
-rw-r--r--ext/-test-/array/resize/extconf.rb1
-rw-r--r--ext/-test-/array/resize/resize.c14
-rw-r--r--ext/-test-/bignum/big2str.c54
-rw-r--r--ext/-test-/bignum/bigzero.c26
-rw-r--r--ext/-test-/bignum/depend7
-rw-r--r--ext/-test-/bignum/div.c36
-rw-r--r--ext/-test-/bignum/extconf.rb7
-rw-r--r--ext/-test-/bignum/init.c11
-rw-r--r--ext/-test-/bignum/intpack.c88
-rw-r--r--ext/-test-/bignum/mul.c66
-rw-r--r--ext/-test-/bignum/str2big.c39
-rw-r--r--ext/-test-/bug-3571/bug.c23
-rw-r--r--ext/-test-/bug-3571/extconf.rb1
-rw-r--r--ext/-test-/bug-3662/bug.c16
-rw-r--r--ext/-test-/bug-3662/extconf.rb1
-rw-r--r--ext/-test-/bug-5832/bug.c14
-rw-r--r--ext/-test-/bug-5832/extconf.rb1
-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/depend3
-rw-r--r--ext/-test-/debug/extconf.rb6
-rw-r--r--ext/-test-/debug/init.c11
-rw-r--r--ext/-test-/debug/inspector.c32
-rw-r--r--ext/-test-/debug/profile_frames.c43
-rw-r--r--ext/-test-/exception/dataerror.c31
-rw-r--r--ext/-test-/exception/depend3
-rw-r--r--ext/-test-/exception/enc_raise.c15
-rw-r--r--ext/-test-/exception/ensured.c25
-rw-r--r--ext/-test-/exception/extconf.rb6
-rw-r--r--ext/-test-/exception/init.c11
-rw-r--r--ext/-test-/fatal/extconf.rb1
-rw-r--r--ext/-test-/fatal/rb_fatal.c19
-rw-r--r--ext/-test-/file/depend2
-rw-r--r--ext/-test-/file/extconf.rb7
-rw-r--r--ext/-test-/file/init.c11
-rw-r--r--ext/-test-/file/stat.c27
-rw-r--r--ext/-test-/funcall/extconf.rb2
-rw-r--r--ext/-test-/funcall/passing_block.c30
-rw-r--r--ext/-test-/iter/break.c25
-rw-r--r--ext/-test-/iter/extconf.rb7
-rw-r--r--ext/-test-/iter/init.c11
-rw-r--r--ext/-test-/iter/yield.c16
-rw-r--r--ext/-test-/load/dot.dot/dot.dot.c1
-rw-r--r--ext/-test-/load/dot.dot/extconf.rb1
-rw-r--r--ext/-test-/marshal/compat/extconf.rb1
-rw-r--r--ext/-test-/marshal/compat/usrcompat.c32
-rw-r--r--ext/-test-/marshal/usr/extconf.rb1
-rw-r--r--ext/-test-/marshal/usr/usrmarshal.c35
-rw-r--r--ext/-test-/method/arity.c22
-rw-r--r--ext/-test-/method/extconf.rb6
-rw-r--r--ext/-test-/method/init.c11
-rw-r--r--ext/-test-/num2int/extconf.rb1
-rw-r--r--ext/-test-/num2int/num2int.c136
-rw-r--r--ext/-test-/old_thread_select/depend4
-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-/path_to_class/extconf.rb6
-rw-r--r--ext/-test-/path_to_class/path_to_class.c15
-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/extconf.rb1
-rw-r--r--ext/-test-/printf/printf.c110
-rw-r--r--ext/-test-/rational/depend3
-rw-r--r--ext/-test-/rational/extconf.rb7
-rw-r--r--ext/-test-/rational/rat.c38
-rw-r--r--ext/-test-/recursion/extconf.rb2
-rw-r--r--ext/-test-/recursion/recursion.c28
-rw-r--r--ext/-test-/st/numhash/extconf.rb1
-rw-r--r--ext/-test-/st/numhash/numhash.c120
-rw-r--r--ext/-test-/st/update/extconf.rb1
-rw-r--r--ext/-test-/st/update/update.c34
-rw-r--r--ext/-test-/string/coderange.c30
-rw-r--r--ext/-test-/string/cstr.c26
-rw-r--r--ext/-test-/string/depend5
-rw-r--r--ext/-test-/string/ellipsize.c13
-rw-r--r--ext/-test-/string/enc_associate.c14
-rw-r--r--ext/-test-/string/enc_str_buf_cat.c14
-rw-r--r--ext/-test-/string/extconf.rb7
-rw-r--r--ext/-test-/string/init.c11
-rw-r--r--ext/-test-/string/modify.c22
-rw-r--r--ext/-test-/string/normalize.c18
-rw-r--r--ext/-test-/string/qsort.c61
-rw-r--r--ext/-test-/string/set_len.c14
-rw-r--r--ext/-test-/struct/extconf.rb7
-rw-r--r--ext/-test-/struct/init.c11
-rw-r--r--ext/-test-/struct/member.c18
-rw-r--r--ext/-test-/symbol/extconf.rb6
-rw-r--r--ext/-test-/symbol/init.c11
-rw-r--r--ext/-test-/symbol/intern.c14
-rw-r--r--ext/-test-/symbol/type.c50
-rw-r--r--ext/-test-/tracepoint/depend1
-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-/typeddata/extconf.rb1
-rw-r--r--ext/-test-/typeddata/typeddata.c20
-rw-r--r--ext/-test-/wait_for_single_fd/depend4
-rw-r--r--ext/-test-/wait_for_single_fd/extconf.rb1
-rw-r--r--ext/-test-/wait_for_single_fd/wait_for_single_fd.c30
-rw-r--r--ext/-test-/win32/dln/dlntest.c17
-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.rb37
-rw-r--r--ext/-test-/win32/dln/libdlntest.c4
-rw-r--r--ext/-test-/win32/dln/libdlntest.def2
-rw-r--r--ext/-test-/win32/fd_setsize/depend2
-rw-r--r--ext/-test-/win32/fd_setsize/extconf.rb3
-rw-r--r--ext/-test-/win32/fd_setsize/fd_setsize.c55
-rw-r--r--ext/.cvsignore2
-rw-r--r--ext/.document103
-rw-r--r--ext/Setup8
-rw-r--r--ext/Setup.atheos13
-rw-r--r--ext/Setup.dj27
-rw-r--r--ext/Setup.emx11
-rw-r--r--ext/Setup.nacl48
-rw-r--r--ext/Setup.nt14
-rw-r--r--ext/Setup.x6827
-rw-r--r--ext/Win32API/.cvsignore3
-rw-r--r--ext/Win32API/MANIFEST7
-rw-r--r--ext/Win32API/Win32API.c341
-rw-r--r--ext/Win32API/depend1
-rw-r--r--ext/Win32API/extconf.rb8
-rw-r--r--ext/Win32API/getch.rb5
-rw-r--r--ext/Win32API/lib/win32/registry.rb828
-rw-r--r--ext/Win32API/point.rb18
-rw-r--r--ext/bigdecimal/README60
-rw-r--r--ext/bigdecimal/bigdecimal.c6248
-rw-r--r--ext/bigdecimal/bigdecimal.gemspec31
-rw-r--r--ext/bigdecimal/bigdecimal.h321
-rw-r--r--ext/bigdecimal/depend1
-rw-r--r--ext/bigdecimal/extconf.rb6
-rw-r--r--ext/bigdecimal/lib/bigdecimal/jacobian.rb87
-rw-r--r--ext/bigdecimal/lib/bigdecimal/ludcmp.rb88
-rw-r--r--ext/bigdecimal/lib/bigdecimal/math.rb231
-rw-r--r--ext/bigdecimal/lib/bigdecimal/newton.rb79
-rw-r--r--ext/bigdecimal/lib/bigdecimal/util.rb127
-rw-r--r--ext/bigdecimal/sample/linear.rb72
-rw-r--r--ext/bigdecimal/sample/nlsolve.rb38
-rw-r--r--ext/bigdecimal/sample/pi.rb20
-rw-r--r--ext/configsub.rb32
-rw-r--r--ext/continuation/continuation.c8
-rw-r--r--ext/continuation/extconf.rb3
-rw-r--r--ext/coverage/coverage.c109
-rw-r--r--ext/coverage/depend11
-rw-r--r--ext/coverage/extconf.rb4
-rw-r--r--ext/curses/.cvsignore3
-rw-r--r--ext/curses/MANIFEST9
-rw-r--r--ext/curses/curses.c1879
-rw-r--r--ext/curses/depend1
-rw-r--r--ext/curses/extconf.rb27
-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.rb115
-rw-r--r--ext/date/date_core.c9541
-rw-r--r--ext/date/date_parse.c3128
-rw-r--r--ext/date/date_strftime.c633
-rw-r--r--ext/date/date_strptime.c699
-rw-r--r--ext/date/date_tmx.h56
-rw-r--r--ext/date/depend7
-rw-r--r--ext/date/extconf.rb2
-rw-r--r--ext/date/lib/date.rb61
-rw-r--r--ext/date/lib/date/format.rb1
-rw-r--r--ext/dbm/.cvsignore3
-rw-r--r--ext/dbm/MANIFEST5
-rw-r--r--ext/dbm/dbm.c830
-rw-r--r--ext/dbm/depend1
-rw-r--r--ext/dbm/extconf.rb282
-rw-r--r--ext/dbm/testdbm.rb590
-rw-r--r--ext/digest/.cvsignore3
-rw-r--r--ext/digest/MANIFEST45
-rw-r--r--ext/digest/bubblebabble/bubblebabble.c146
-rw-r--r--ext/digest/bubblebabble/depend1
-rw-r--r--ext/digest/bubblebabble/extconf.rb6
-rw-r--r--ext/digest/defs.h18
-rw-r--r--ext/digest/depend3
-rw-r--r--ext/digest/digest.c782
-rw-r--r--ext/digest/digest.h26
-rw-r--r--ext/digest/digest.txt113
-rw-r--r--ext/digest/digest.txt.ja111
-rw-r--r--ext/digest/extconf.rb4
-rw-r--r--ext/digest/lib/digest.rb90
-rw-r--r--ext/digest/lib/digest/hmac.rb302
-rw-r--r--ext/digest/lib/md5.rb14
-rw-r--r--ext/digest/lib/sha1.rb14
-rw-r--r--ext/digest/md5/.cvsignore3
-rw-r--r--ext/digest/md5/MANIFEST7
-rw-r--r--ext/digest/md5/depend7
-rw-r--r--ext/digest/md5/extconf.rb13
-rw-r--r--ext/digest/md5/md5.c30
-rw-r--r--ext/digest/md5/md5.h9
-rw-r--r--ext/digest/md5/md5init.c26
-rw-r--r--ext/digest/md5/md5ossl.c23
-rw-r--r--ext/digest/md5/md5ossl.h6
-rw-r--r--ext/digest/rmd160/.cvsignore3
-rw-r--r--ext/digest/rmd160/MANIFEST8
-rw-r--r--ext/digest/rmd160/depend9
-rw-r--r--ext/digest/rmd160/extconf.rb15
-rw-r--r--ext/digest/rmd160/rmd160.c19
-rw-r--r--ext/digest/rmd160/rmd160.h18
-rw-r--r--ext/digest/rmd160/rmd160hl.c96
-rw-r--r--ext/digest/rmd160/rmd160init.c29
-rw-r--r--ext/digest/rmd160/rmd160ossl.c43
-rw-r--r--ext/digest/rmd160/rmd160ossl.h5
-rw-r--r--ext/digest/sha1/.cvsignore3
-rw-r--r--ext/digest/sha1/MANIFEST8
-rw-r--r--ext/digest/sha1/depend11
-rw-r--r--ext/digest/sha1/extconf.rb15
-rw-r--r--ext/digest/sha1/sha1.c22
-rw-r--r--ext/digest/sha1/sha1.h21
-rw-r--r--ext/digest/sha1/sha1hl.c102
-rw-r--r--ext/digest/sha1/sha1init.c29
-rw-r--r--ext/digest/sha1/sha1ossl.c43
-rw-r--r--ext/digest/sha1/sha1ossl.h8
-rw-r--r--ext/digest/sha2/.cvsignore3
-rw-r--r--ext/digest/sha2/MANIFEST6
-rw-r--r--ext/digest/sha2/depend10
-rw-r--r--ext/digest/sha2/extconf.rb37
-rw-r--r--ext/digest/sha2/lib/sha2.rb107
-rw-r--r--ext/digest/sha2/sha2.c292
-rw-r--r--ext/digest/sha2/sha2.h194
-rw-r--r--ext/digest/sha2/sha2hl.c252
-rw-r--r--ext/digest/sha2/sha2init.c27
-rw-r--r--ext/digest/sha2/sha2ossl.c13
-rw-r--r--ext/digest/sha2/sha2ossl.h17
-rw-r--r--ext/digest/test.rb91
-rw-r--r--ext/digest/test.sh5
-rw-r--r--ext/dl/.cvsignore8
-rw-r--r--ext/dl/MANIFEST32
-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.c677
-rw-r--r--ext/dl/cptr.c669
-rw-r--r--ext/dl/depend57
-rw-r--r--ext/dl/dl.c1187
-rw-r--r--ext/dl/dl.def59
-rw-r--r--ext/dl/dl.h419
-rw-r--r--ext/dl/doc/dl.txt266
-rw-r--r--ext/dl/extconf.rb214
-rw-r--r--ext/dl/h2rb500
-rw-r--r--ext/dl/handle.c498
-rw-r--r--ext/dl/install.rb49
-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.rb439
-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.rb366
-rw-r--r--ext/dl/lib/dl/types.rb236
-rw-r--r--ext/dl/lib/dl/value.rb114
-rw-r--r--ext/dl/lib/dl/win32.rb25
-rw-r--r--ext/dl/mkcall.rb62
-rw-r--r--ext/dl/mkcallback.rb53
-rw-r--r--ext/dl/mkcbtable.rb18
-rw-r--r--ext/dl/ptr.c1069
-rw-r--r--ext/dl/sample/c++sample.C35
-rw-r--r--ext/dl/sample/c++sample.rb60
-rw-r--r--ext/dl/sample/drives.rb70
-rw-r--r--ext/dl/sample/getch.rb5
-rw-r--r--ext/dl/sample/libc.rb69
-rw-r--r--ext/dl/sample/msgbox.rb19
-rw-r--r--ext/dl/sample/msgbox2.rb18
-rw-r--r--ext/dl/sample/stream.rb87
-rw-r--r--ext/dl/sym.c836
-rw-r--r--ext/dl/test/libtest.def28
-rw-r--r--ext/dl/test/test.c247
-rw-r--r--ext/dl/test/test.rb295
-rw-r--r--ext/dl/type.rb115
-rw-r--r--ext/etc/.cvsignore3
-rw-r--r--ext/etc/MANIFEST6
-rw-r--r--ext/etc/depend4
-rw-r--r--ext/etc/etc.c695
-rw-r--r--ext/etc/etc.txt72
-rw-r--r--ext/etc/etc.txt.ja72
-rw-r--r--ext/etc/extconf.rb18
-rwxr-xr-x[-rw-r--r--]ext/extmk.rb707
-rw-r--r--ext/fcntl/.cvsignore3
-rw-r--r--ext/fcntl/MANIFEST3
-rw-r--r--ext/fcntl/depend1
-rw-r--r--ext/fcntl/extconf.rb2
-rw-r--r--ext/fcntl/fcntl.c152
-rw-r--r--ext/fiber/extconf.rb3
-rw-r--r--ext/fiber/fiber.c8
-rw-r--r--ext/fiddle/closure.c316
-rw-r--r--ext/fiddle/closure.h8
-rw-r--r--ext/fiddle/conversions.c141
-rw-r--r--ext/fiddle/conversions.h44
-rw-r--r--ext/fiddle/depend4
-rw-r--r--ext/fiddle/extconf.rb60
-rw-r--r--ext/fiddle/fiddle.c454
-rw-r--r--ext/fiddle/fiddle.h143
-rw-r--r--ext/fiddle/function.c254
-rw-r--r--ext/fiddle/function.h8
-rw-r--r--ext/fiddle/handle.c478
-rw-r--r--ext/fiddle/lib/fiddle.rb55
-rw-r--r--ext/fiddle/lib/fiddle/closure.rb48
-rw-r--r--ext/fiddle/lib/fiddle/cparser.rb176
-rw-r--r--ext/fiddle/lib/fiddle/function.rb17
-rw-r--r--ext/fiddle/lib/fiddle/import.rb314
-rw-r--r--ext/fiddle/lib/fiddle/pack.rb128
-rw-r--r--ext/fiddle/lib/fiddle/struct.rb243
-rw-r--r--ext/fiddle/lib/fiddle/types.rb71
-rw-r--r--ext/fiddle/lib/fiddle/value.rb112
-rw-r--r--ext/fiddle/pointer.c712
-rw-r--r--ext/gdbm/.cvsignore3
-rw-r--r--ext/gdbm/MANIFEST6
-rw-r--r--ext/gdbm/depend1
-rw-r--r--ext/gdbm/gdbm.c981
-rw-r--r--ext/gdbm/testgdbm.rb663
-rw-r--r--ext/iconv/.cvsignore3
-rw-r--r--ext/iconv/MANIFEST4
-rw-r--r--ext/iconv/depend2
-rw-r--r--ext/iconv/extconf.rb8
-rw-r--r--ext/iconv/iconv.c738
-rw-r--r--ext/io/console/console.c798
-rw-r--r--ext/io/console/depend4
-rw-r--r--ext/io/console/extconf.rb26
-rw-r--r--ext/io/console/io-console.gemspec21
-rw-r--r--ext/io/console/lib/console/size.rb22
-rw-r--r--ext/io/nonblock/depend4
-rw-r--r--ext/io/nonblock/extconf.rb8
-rw-r--r--ext/io/nonblock/nonblock.c135
-rw-r--r--ext/io/wait/depend4
-rw-r--r--ext/io/wait/extconf.rb18
-rw-r--r--ext/io/wait/wait.c187
-rw-r--r--ext/json/extconf.rb3
-rw-r--r--ext/json/fbuffer/fbuffer.h181
-rw-r--r--ext/json/generator/depend2
-rw-r--r--ext/json/generator/extconf.rb4
-rw-r--r--ext/json/generator/generator.c1436
-rw-r--r--ext/json/generator/generator.h148
-rw-r--r--ext/json/lib/json.rb62
-rw-r--r--ext/json/lib/json/add/bigdecimal.rb28
-rw-r--r--ext/json/lib/json/add/complex.rb22
-rw-r--r--ext/json/lib/json/add/core.rb11
-rw-r--r--ext/json/lib/json/add/date.rb34
-rw-r--r--ext/json/lib/json/add/date_time.rb50
-rw-r--r--ext/json/lib/json/add/exception.rb31
-rw-r--r--ext/json/lib/json/add/ostruct.rb31
-rw-r--r--ext/json/lib/json/add/range.rb29
-rw-r--r--ext/json/lib/json/add/rational.rb22
-rw-r--r--ext/json/lib/json/add/regexp.rb30
-rw-r--r--ext/json/lib/json/add/struct.rb30
-rw-r--r--ext/json/lib/json/add/symbol.rb25
-rw-r--r--ext/json/lib/json/add/time.rb38
-rw-r--r--ext/json/lib/json/common.rb484
-rw-r--r--ext/json/lib/json/ext.rb21
-rw-r--r--ext/json/lib/json/generic_object.rb70
-rw-r--r--ext/json/lib/json/version.rb8
-rw-r--r--ext/json/parser/depend2
-rw-r--r--ext/json/parser/extconf.rb3
-rw-r--r--ext/json/parser/parser.c2204
-rw-r--r--ext/json/parser/parser.h77
-rw-r--r--ext/json/parser/parser.rl927
-rw-r--r--ext/json/parser/prereq.mk10
-rw-r--r--ext/mathn/complex/complex.c7
-rw-r--r--ext/mathn/complex/extconf.rb3
-rw-r--r--ext/mathn/rational/extconf.rb3
-rw-r--r--ext/mathn/rational/rational.c7
-rw-r--r--ext/nkf/.cvsignore3
-rw-r--r--ext/nkf/MANIFEST7
-rw-r--r--ext/nkf/depend7
-rw-r--r--ext/nkf/lib/kconv.rb287
-rw-r--r--ext/nkf/nkf-utf8/config.h51
-rw-r--r--ext/nkf/nkf-utf8/nkf.c7191
-rw-r--r--ext/nkf/nkf-utf8/nkf.h189
-rw-r--r--ext/nkf/nkf-utf8/utf8tbl.c14628
-rw-r--r--ext/nkf/nkf-utf8/utf8tbl.h72
-rw-r--r--ext/nkf/nkf.c615
-rw-r--r--ext/nkf/nkf1.7/nkf.c1900
-rw-r--r--ext/nkf/test.rb318
-rw-r--r--ext/objspace/depend14
-rw-r--r--ext/objspace/extconf.rb2
-rw-r--r--ext/objspace/object_tracing.c490
-rw-r--r--ext/objspace/objspace.c775
-rw-r--r--ext/objspace/objspace.h20
-rw-r--r--ext/objspace/objspace_dump.c432
-rw-r--r--ext/openssl/depend6
-rw-r--r--ext/openssl/deprecation.rb21
-rw-r--r--ext/openssl/extconf.rb160
-rw-r--r--ext/openssl/lib/openssl.rb24
-rw-r--r--ext/openssl/lib/openssl/bn.rb38
-rw-r--r--ext/openssl/lib/openssl/buffering.rb457
-rw-r--r--ext/openssl/lib/openssl/cipher.rb65
-rw-r--r--ext/openssl/lib/openssl/config.rb472
-rw-r--r--ext/openssl/lib/openssl/digest.rb88
-rw-r--r--ext/openssl/lib/openssl/ssl.rb250
-rw-r--r--ext/openssl/lib/openssl/x509.rb162
-rw-r--r--ext/openssl/openssl_missing.c356
-rw-r--r--ext/openssl/openssl_missing.h198
-rw-r--r--ext/openssl/ossl.c1167
-rw-r--r--ext/openssl/ossl.h247
-rw-r--r--ext/openssl/ossl_asn1.c1997
-rw-r--r--ext/openssl/ossl_asn1.h59
-rw-r--r--ext/openssl/ossl_bio.c87
-rw-r--r--ext/openssl/ossl_bio.h21
-rw-r--r--ext/openssl/ossl_bn.c898
-rw-r--r--ext/openssl/ossl_bn.h25
-rw-r--r--ext/openssl/ossl_cipher.c970
-rw-r--r--ext/openssl/ossl_cipher.h22
-rw-r--r--ext/openssl/ossl_config.c83
-rw-r--r--ext/openssl/ossl_config.h22
-rw-r--r--ext/openssl/ossl_digest.c438
-rw-r--r--ext/openssl/ossl_digest.h22
-rw-r--r--ext/openssl/ossl_engine.c591
-rw-r--r--ext/openssl/ossl_engine.h20
-rw-r--r--ext/openssl/ossl_hmac.c364
-rw-r--r--ext/openssl/ossl_hmac.h19
-rw-r--r--ext/openssl/ossl_ns_spki.c389
-rw-r--r--ext/openssl/ossl_ns_spki.h21
-rw-r--r--ext/openssl/ossl_ocsp.c786
-rw-r--r--ext/openssl/ossl_ocsp.h24
-rw-r--r--ext/openssl/ossl_pkcs12.c212
-rw-r--r--ext/openssl/ossl_pkcs12.h15
-rw-r--r--ext/openssl/ossl_pkcs5.c189
-rw-r--r--ext/openssl/ossl_pkcs5.h6
-rw-r--r--ext/openssl/ossl_pkcs7.c1046
-rw-r--r--ext/openssl/ossl_pkcs7.h22
-rw-r--r--ext/openssl/ossl_pkey.c439
-rw-r--r--ext/openssl/ossl_pkey.h151
-rw-r--r--ext/openssl/ossl_pkey_dh.c666
-rw-r--r--ext/openssl/ossl_pkey_dsa.c623
-rw-r--r--ext/openssl/ossl_pkey_ec.c1683
-rw-r--r--ext/openssl/ossl_pkey_rsa.c701
-rw-r--r--ext/openssl/ossl_rand.c202
-rw-r--r--ext/openssl/ossl_rand.h20
-rw-r--r--ext/openssl/ossl_ssl.c2273
-rw-r--r--ext/openssl/ossl_ssl.h36
-rw-r--r--ext/openssl/ossl_ssl_session.c323
-rw-r--r--ext/openssl/ossl_version.h16
-rw-r--r--ext/openssl/ossl_x509.c104
-rw-r--r--ext/openssl/ossl_x509.h114
-rw-r--r--ext/openssl/ossl_x509attr.c275
-rw-r--r--ext/openssl/ossl_x509cert.c866
-rw-r--r--ext/openssl/ossl_x509crl.c537
-rw-r--r--ext/openssl/ossl_x509ext.c471
-rw-r--r--ext/openssl/ossl_x509name.c509
-rw-r--r--ext/openssl/ossl_x509req.c468
-rw-r--r--ext/openssl/ossl_x509revoked.c229
-rw-r--r--ext/openssl/ossl_x509store.c677
-rw-r--r--ext/openssl/ruby_missing.h28
-rw-r--r--ext/pathname/depend3
-rw-r--r--ext/pathname/extconf.rb2
-rw-r--r--ext/pathname/lib/pathname.rb574
-rw-r--r--ext/pathname/pathname.c1442
-rw-r--r--ext/psych/.gitignore11
-rw-r--r--ext/psych/depend3
-rw-r--r--ext/psych/extconf.rb38
-rw-r--r--ext/psych/lib/psych.rb498
-rw-r--r--ext/psych/lib/psych/class_loader.rb101
-rw-r--r--ext/psych/lib/psych/coder.rb94
-rw-r--r--ext/psych/lib/psych/core_ext.rb35
-rw-r--r--ext/psych/lib/psych/deprecated.rb85
-rw-r--r--ext/psych/lib/psych/exception.rb13
-rw-r--r--ext/psych/lib/psych/handler.rb249
-rw-r--r--ext/psych/lib/psych/handlers/document_stream.rb22
-rw-r--r--ext/psych/lib/psych/handlers/recorder.rb39
-rw-r--r--ext/psych/lib/psych/json/ruby_events.rb19
-rw-r--r--ext/psych/lib/psych/json/stream.rb16
-rw-r--r--ext/psych/lib/psych/json/tree_builder.rb12
-rw-r--r--ext/psych/lib/psych/json/yaml_events.rb29
-rw-r--r--ext/psych/lib/psych/nodes.rb77
-rw-r--r--ext/psych/lib/psych/nodes/alias.rb18
-rw-r--r--ext/psych/lib/psych/nodes/document.rb60
-rw-r--r--ext/psych/lib/psych/nodes/mapping.rb56
-rw-r--r--ext/psych/lib/psych/nodes/node.rb55
-rw-r--r--ext/psych/lib/psych/nodes/scalar.rb67
-rw-r--r--ext/psych/lib/psych/nodes/sequence.rb81
-rw-r--r--ext/psych/lib/psych/nodes/stream.rb37
-rw-r--r--ext/psych/lib/psych/omap.rb4
-rw-r--r--ext/psych/lib/psych/parser.rb51
-rw-r--r--ext/psych/lib/psych/scalar_scanner.rb149
-rw-r--r--ext/psych/lib/psych/set.rb4
-rw-r--r--ext/psych/lib/psych/stream.rb37
-rw-r--r--ext/psych/lib/psych/streaming.rb27
-rw-r--r--ext/psych/lib/psych/syntax_error.rb21
-rw-r--r--ext/psych/lib/psych/tree_builder.rb96
-rw-r--r--ext/psych/lib/psych/visitors.rb6
-rw-r--r--ext/psych/lib/psych/visitors/depth_first.rb26
-rw-r--r--ext/psych/lib/psych/visitors/emitter.rb51
-rw-r--r--ext/psych/lib/psych/visitors/json_tree.rb24
-rw-r--r--ext/psych/lib/psych/visitors/to_ruby.rb370
-rw-r--r--ext/psych/lib/psych/visitors/visitor.rb19
-rw-r--r--ext/psych/lib/psych/visitors/yaml_tree.rb521
-rw-r--r--ext/psych/lib/psych/y.rb9
-rw-r--r--ext/psych/psych.c34
-rw-r--r--ext/psych/psych.gemspec23
-rw-r--r--ext/psych/psych.h20
-rw-r--r--ext/psych/psych_emitter.c538
-rw-r--r--ext/psych/psych_emitter.h8
-rw-r--r--ext/psych/psych_parser.c579
-rw-r--r--ext/psych/psych_parser.h6
-rw-r--r--ext/psych/psych_to_ruby.c43
-rw-r--r--ext/psych/psych_to_ruby.h8
-rw-r--r--ext/psych/psych_yaml_tree.c24
-rw-r--r--ext/psych/psych_yaml_tree.h8
-rw-r--r--ext/psych/yaml/LICENSE19
-rw-r--r--ext/psych/yaml/api.c1415
-rw-r--r--ext/psych/yaml/config.h10
-rw-r--r--ext/psych/yaml/dumper.c394
-rw-r--r--ext/psych/yaml/emitter.c2329
-rw-r--r--ext/psych/yaml/loader.c459
-rw-r--r--ext/psych/yaml/parser.c1370
-rw-r--r--ext/psych/yaml/reader.c469
-rw-r--r--ext/psych/yaml/scanner.c3583
-rw-r--r--ext/psych/yaml/writer.c141
-rw-r--r--ext/psych/yaml/yaml.h1971
-rw-r--r--ext/psych/yaml/yaml_private.h664
-rw-r--r--ext/pty/.cvsignore3
-rw-r--r--ext/pty/MANIFEST12
-rw-r--r--ext/pty/README93
-rw-r--r--ext/pty/README.expect22
-rw-r--r--ext/pty/README.expect.ja21
-rw-r--r--ext/pty/README.ja89
-rw-r--r--ext/pty/depend7
-rw-r--r--ext/pty/expect_sample.rb56
-rw-r--r--ext/pty/extconf.rb8
-rw-r--r--ext/pty/lib/expect.rb39
-rw-r--r--ext/pty/pty.c894
-rw-r--r--ext/pty/script.rb38
-rw-r--r--ext/racc/cparse/.cvsignore3
-rw-r--r--ext/racc/cparse/MANIFEST4
-rw-r--r--ext/racc/cparse/README11
-rw-r--r--ext/racc/cparse/cparse.c547
-rw-r--r--ext/racc/cparse/depend1
-rw-r--r--ext/racc/cparse/extconf.rb1
-rw-r--r--ext/rbconfig/sizeof/depend3
-rw-r--r--ext/rbconfig/sizeof/extconf.rb2
-rw-r--r--ext/readline/.cvsignore3
-rw-r--r--ext/readline/MANIFEST6
-rw-r--r--ext/readline/README68
-rw-r--r--ext/readline/README.ja393
-rw-r--r--ext/readline/depend6
-rw-r--r--ext/readline/extconf.rb112
-rw-r--r--ext/readline/readline.c1980
-rw-r--r--ext/ripper/README30
-rw-r--r--ext/ripper/depend56
-rw-r--r--ext/ripper/eventids2.c293
-rw-r--r--ext/ripper/extconf.rb21
-rw-r--r--ext/ripper/lib/ripper.rb73
-rw-r--r--ext/ripper/lib/ripper/core.rb70
-rw-r--r--ext/ripper/lib/ripper/filter.rb77
-rw-r--r--ext/ripper/lib/ripper/lexer.rb186
-rw-r--r--ext/ripper/lib/ripper/sexp.rb114
-rwxr-xr-xext/ripper/tools/generate-param-macros.rb14
-rwxr-xr-xext/ripper/tools/generate.rb154
-rwxr-xr-xext/ripper/tools/preproc.rb91
-rwxr-xr-xext/ripper/tools/strip.rb12
-rw-r--r--ext/sdbm/.cvsignore3
-rw-r--r--ext/sdbm/MANIFEST7
-rw-r--r--ext/sdbm/_sdbm.c252
-rw-r--r--ext/sdbm/depend4
-rw-r--r--ext/sdbm/extconf.rb1
-rw-r--r--ext/sdbm/init.c802
-rw-r--r--ext/sdbm/sdbm.h10
-rw-r--r--ext/sdbm/testsdbm.rb556
-rw-r--r--ext/socket/.cvsignore3
-rw-r--r--ext/socket/.document17
-rw-r--r--ext/socket/MANIFEST8
-rw-r--r--ext/socket/addrinfo.h49
-rw-r--r--ext/socket/ancdata.c1832
-rw-r--r--ext/socket/basicsocket.c776
-rw-r--r--ext/socket/constants.c145
-rw-r--r--ext/socket/depend32
-rw-r--r--ext/socket/extconf.rb760
-rw-r--r--ext/socket/getaddrinfo.c112
-rw-r--r--ext/socket/getnameinfo.c52
-rw-r--r--ext/socket/ifaddr.c457
-rw-r--r--ext/socket/init.c636
-rw-r--r--ext/socket/ipsocket.c334
-rw-r--r--ext/socket/lib/socket.rb871
-rw-r--r--ext/socket/mkconstants.rb773
-rw-r--r--ext/socket/option.c1127
-rw-r--r--ext/socket/raddrinfo.c2574
-rw-r--r--ext/socket/rubysocket.h395
-rw-r--r--ext/socket/socket.c4255
-rw-r--r--ext/socket/sockport.h84
-rw-r--r--ext/socket/sockssocket.c71
-rw-r--r--ext/socket/tcpserver.c178
-rw-r--r--ext/socket/tcpsocket.c82
-rw-r--r--ext/socket/udpsocket.c266
-rw-r--r--ext/socket/unixserver.c155
-rw-r--r--ext/socket/unixsocket.c525
-rw-r--r--ext/stringio/.cvsignore3
-rw-r--r--ext/stringio/MANIFEST4
-rw-r--r--ext/stringio/README3
-rw-r--r--ext/stringio/depend6
-rw-r--r--ext/stringio/extconf.rb2
-rw-r--r--ext/stringio/stringio.c1402
-rw-r--r--ext/strscan/.cvsignore3
-rw-r--r--ext/strscan/MANIFEST4
-rw-r--r--ext/strscan/depend8
-rw-r--r--ext/strscan/extconf.rb1
-rw-r--r--ext/strscan/strscan.c1105
-rw-r--r--ext/syslog/.cvsignore3
-rw-r--r--ext/syslog/MANIFEST6
-rw-r--r--ext/syslog/depend4
-rw-r--r--ext/syslog/lib/syslog/logger.rb208
-rw-r--r--ext/syslog/syslog.c389
-rw-r--r--ext/syslog/syslog.txt9
-rw-r--r--ext/syslog/test.rb164
-rw-r--r--ext/tcltklib/.cvsignore3
-rw-r--r--ext/tcltklib/MANIFEST16
-rw-r--r--ext/tcltklib/MANUAL.euc124
-rw-r--r--ext/tcltklib/README.euc133
-rw-r--r--ext/tcltklib/depend2
-rw-r--r--ext/tcltklib/extconf.rb58
-rw-r--r--ext/tcltklib/lib/tcltk.rb367
-rw-r--r--ext/tcltklib/sample/sample0.rb39
-rw-r--r--ext/tcltklib/sample/sample1.rb634
-rw-r--r--ext/tcltklib/sample/sample2.rb449
-rw-r--r--ext/tcltklib/stubs.c94
-rw-r--r--ext/tcltklib/tcltklib.c903
-rw-r--r--ext/thread/extconf.rb3
-rw-r--r--ext/thread/thread.c638
-rw-r--r--ext/tk/.cvsignore3
-rw-r--r--ext/tk/ChangeLog.tkextlib949
-rw-r--r--ext/tk/MANIFEST26
-rw-r--r--ext/tk/MANUAL_tcltklib.eng473
-rw-r--r--ext/tk/MANUAL_tcltklib.ja584
-rw-r--r--ext/tk/README.1st19
-rw-r--r--ext/tk/README.ActiveTcl62
-rw-r--r--ext/tk/README.fork34
-rw-r--r--ext/tk/README.macosx-aqua67
-rw-r--r--ext/tk/README.tcltklib152
-rw-r--r--ext/tk/config_list.in41
-rw-r--r--ext/tk/depend3
-rw-r--r--ext/tk/extconf.rb2094
-rw-r--r--ext/tk/lib/README15
-rw-r--r--ext/tk/lib/multi-tk.rb3754
-rw-r--r--ext/tk/lib/remote-tk.rb530
-rw-r--r--ext/tk/lib/tcltk.rb367
-rw-r--r--ext/tk/lib/tk.rb7690
-rw-r--r--ext/tk/lib/tk/after.rb6
-rw-r--r--ext/tk/lib/tk/autoload.rb760
-rw-r--r--ext/tk/lib/tk/bgerror.rb29
-rw-r--r--ext/tk/lib/tk/bindtag.rb138
-rw-r--r--ext/tk/lib/tk/busy.rb118
-rw-r--r--ext/tk/lib/tk/button.rb31
-rw-r--r--ext/tk/lib/tk/canvas.rb846
-rw-r--r--ext/tk/lib/tk/canvastag.rb459
-rw-r--r--ext/tk/lib/tk/checkbutton.rb32
-rw-r--r--ext/tk/lib/tk/clipboard.rb75
-rw-r--r--ext/tk/lib/tk/clock.rb71
-rw-r--r--ext/tk/lib/tk/composite.rb484
-rw-r--r--ext/tk/lib/tk/console.rb52
-rw-r--r--ext/tk/lib/tk/dialog.rb326
-rw-r--r--ext/tk/lib/tk/encodedstr.rb187
-rw-r--r--ext/tk/lib/tk/entry.rb120
-rw-r--r--ext/tk/lib/tk/event.rb562
-rw-r--r--ext/tk/lib/tk/font.rb2351
-rw-r--r--ext/tk/lib/tk/fontchooser.rb176
-rw-r--r--ext/tk/lib/tk/frame.rb132
-rw-r--r--ext/tk/lib/tk/grid.rb279
-rw-r--r--ext/tk/lib/tk/image.rb395
-rw-r--r--ext/tk/lib/tk/itemconfig.rb1222
-rw-r--r--ext/tk/lib/tk/itemfont.rb327
-rw-r--r--ext/tk/lib/tk/kinput.rb71
-rw-r--r--ext/tk/lib/tk/label.rb22
-rw-r--r--ext/tk/lib/tk/labelframe.rb31
-rw-r--r--ext/tk/lib/tk/listbox.rb284
-rw-r--r--ext/tk/lib/tk/macpkg.rb80
-rw-r--r--ext/tk/lib/tk/menu.rb718
-rw-r--r--ext/tk/lib/tk/menubar.rb137
-rw-r--r--ext/tk/lib/tk/menuspec.rb456
-rw-r--r--ext/tk/lib/tk/message.rb24
-rw-r--r--ext/tk/lib/tk/mngfocus.rb33
-rw-r--r--ext/tk/lib/tk/msgcat.rb299
-rw-r--r--ext/tk/lib/tk/namespace.rb546
-rw-r--r--ext/tk/lib/tk/optiondb.rb377
-rw-r--r--ext/tk/lib/tk/optionobj.rb212
-rw-r--r--ext/tk/lib/tk/pack.rb107
-rw-r--r--ext/tk/lib/tk/package.rb143
-rw-r--r--ext/tk/lib/tk/palette.rb55
-rw-r--r--ext/tk/lib/tk/panedwindow.rb260
-rw-r--r--ext/tk/lib/tk/place.rb128
-rw-r--r--ext/tk/lib/tk/radiobutton.rb73
-rw-r--r--ext/tk/lib/tk/root.rb95
-rw-r--r--ext/tk/lib/tk/scale.rb112
-rw-r--r--ext/tk/lib/tk/scrollable.rb82
-rw-r--r--ext/tk/lib/tk/scrollbar.rb183
-rw-r--r--ext/tk/lib/tk/scrollbox.rb39
-rw-r--r--ext/tk/lib/tk/selection.rb86
-rw-r--r--ext/tk/lib/tk/spinbox.rb144
-rw-r--r--ext/tk/lib/tk/tagfont.rb43
-rw-r--r--ext/tk/lib/tk/text.rb1604
-rw-r--r--ext/tk/lib/tk/textimage.rb88
-rw-r--r--ext/tk/lib/tk/textmark.rb204
-rw-r--r--ext/tk/lib/tk/texttag.rb321
-rw-r--r--ext/tk/lib/tk/textwindow.rb154
-rw-r--r--ext/tk/lib/tk/timer.rb669
-rw-r--r--ext/tk/lib/tk/toplevel.rb264
-rw-r--r--ext/tk/lib/tk/ttk_selector.rb98
-rw-r--r--ext/tk/lib/tk/txtwin_abst.rb39
-rw-r--r--ext/tk/lib/tk/validation.rb397
-rw-r--r--ext/tk/lib/tk/variable.rb1799
-rw-r--r--ext/tk/lib/tk/virtevent.rb139
-rw-r--r--ext/tk/lib/tk/winfo.rb392
-rw-r--r--ext/tk/lib/tk/winpkg.rb156
-rw-r--r--ext/tk/lib/tk/wm.rb552
-rw-r--r--ext/tk/lib/tk/xim.rb122
-rw-r--r--ext/tk/lib/tkafter.rb312
-rw-r--r--ext/tk/lib/tkbgerror.rb17
-rw-r--r--ext/tk/lib/tkcanvas.rb876
-rw-r--r--ext/tk/lib/tkclass.rb8
-rw-r--r--ext/tk/lib/tkconsole.rb4
-rw-r--r--ext/tk/lib/tkdialog.rb142
-rw-r--r--ext/tk/lib/tkentry.rb226
-rw-r--r--ext/tk/lib/tkextlib/ICONS.rb13
-rw-r--r--ext/tk/lib/tkextlib/ICONS/icons.rb129
-rw-r--r--ext/tk/lib/tkextlib/ICONS/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/SUPPORT_STATUS193
-rw-r--r--ext/tk/lib/tkextlib/blt.rb189
-rw-r--r--ext/tk/lib/tkextlib/blt/barchart.rb79
-rw-r--r--ext/tk/lib/tkextlib/blt/bitmap.rb112
-rw-r--r--ext/tk/lib/tkextlib/blt/busy.rb83
-rw-r--r--ext/tk/lib/tkextlib/blt/component.rb2218
-rw-r--r--ext/tk/lib/tkextlib/blt/container.rb28
-rw-r--r--ext/tk/lib/tkextlib/blt/cutbuffer.rb23
-rw-r--r--ext/tk/lib/tkextlib/blt/dragdrop.rb269
-rw-r--r--ext/tk/lib/tkextlib/blt/eps.rb32
-rw-r--r--ext/tk/lib/tkextlib/blt/graph.rb67
-rw-r--r--ext/tk/lib/tkextlib/blt/htext.rb112
-rw-r--r--ext/tk/lib/tkextlib/blt/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/blt/spline.rb23
-rw-r--r--ext/tk/lib/tkextlib/blt/stripchart.rb74
-rw-r--r--ext/tk/lib/tkextlib/blt/table.rb412
-rw-r--r--ext/tk/lib/tkextlib/blt/tabnotebook.rb110
-rw-r--r--ext/tk/lib/tkextlib/blt/tabset.rb504
-rw-r--r--ext/tk/lib/tkextlib/blt/ted.rb68
-rw-r--r--ext/tk/lib/tkextlib/blt/tile.rb25
-rw-r--r--ext/tk/lib/tkextlib/blt/tile/button.rb16
-rw-r--r--ext/tk/lib/tkextlib/blt/tile/checkbutton.rb17
-rw-r--r--ext/tk/lib/tkextlib/blt/tile/frame.rb16
-rw-r--r--ext/tk/lib/tkextlib/blt/tile/label.rb16
-rw-r--r--ext/tk/lib/tkextlib/blt/tile/radiobutton.rb17
-rw-r--r--ext/tk/lib/tkextlib/blt/tile/scrollbar.rb16
-rw-r--r--ext/tk/lib/tkextlib/blt/tile/toplevel.rb16
-rw-r--r--ext/tk/lib/tkextlib/blt/tree.rb1058
-rw-r--r--ext/tk/lib/tkextlib/blt/treeview.rb1287
-rw-r--r--ext/tk/lib/tkextlib/blt/unix_dnd.rb141
-rw-r--r--ext/tk/lib/tkextlib/blt/vector.rb256
-rw-r--r--ext/tk/lib/tkextlib/blt/watch.rb175
-rw-r--r--ext/tk/lib/tkextlib/blt/win_printer.rb61
-rw-r--r--ext/tk/lib/tkextlib/blt/winop.rb107
-rw-r--r--ext/tk/lib/tkextlib/bwidget.rb153
-rw-r--r--ext/tk/lib/tkextlib/bwidget/arrowbutton.rb21
-rw-r--r--ext/tk/lib/tkextlib/bwidget/bitmap.rb21
-rw-r--r--ext/tk/lib/tkextlib/bwidget/button.rb31
-rw-r--r--ext/tk/lib/tkextlib/bwidget/buttonbox.rb90
-rw-r--r--ext/tk/lib/tkextlib/bwidget/combobox.rb62
-rw-r--r--ext/tk/lib/tkextlib/bwidget/dialog.rb194
-rw-r--r--ext/tk/lib/tkextlib/bwidget/dragsite.rb31
-rw-r--r--ext/tk/lib/tkextlib/bwidget/dropsite.rb39
-rw-r--r--ext/tk/lib/tkextlib/bwidget/dynamichelp.rb63
-rw-r--r--ext/tk/lib/tkextlib/bwidget/entry.rb43
-rw-r--r--ext/tk/lib/tkextlib/bwidget/label.rb41
-rw-r--r--ext/tk/lib/tkextlib/bwidget/labelentry.rb80
-rw-r--r--ext/tk/lib/tkextlib/bwidget/labelframe.rb52
-rw-r--r--ext/tk/lib/tkextlib/bwidget/listbox.rb361
-rw-r--r--ext/tk/lib/tkextlib/bwidget/mainframe.rb132
-rw-r--r--ext/tk/lib/tkextlib/bwidget/messagedlg.rb192
-rw-r--r--ext/tk/lib/tkextlib/bwidget/notebook.rb166
-rw-r--r--ext/tk/lib/tkextlib/bwidget/pagesmanager.rb73
-rw-r--r--ext/tk/lib/tkextlib/bwidget/panedwindow.rb42
-rw-r--r--ext/tk/lib/tkextlib/bwidget/panelframe.rb67
-rw-r--r--ext/tk/lib/tkextlib/bwidget/passwddlg.rb44
-rw-r--r--ext/tk/lib/tkextlib/bwidget/progressbar.rb20
-rw-r--r--ext/tk/lib/tkextlib/bwidget/progressdlg.rb58
-rw-r--r--ext/tk/lib/tkextlib/bwidget/scrollableframe.rb40
-rw-r--r--ext/tk/lib/tkextlib/bwidget/scrolledwindow.rb48
-rw-r--r--ext/tk/lib/tkextlib/bwidget/scrollview.rb25
-rw-r--r--ext/tk/lib/tkextlib/bwidget/selectcolor.rb73
-rw-r--r--ext/tk/lib/tkextlib/bwidget/selectfont.rb91
-rw-r--r--ext/tk/lib/tkextlib/bwidget/separator.rb20
-rw-r--r--ext/tk/lib/tkextlib/bwidget/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/bwidget/spinbox.rb98
-rw-r--r--ext/tk/lib/tkextlib/bwidget/statusbar.rb62
-rw-r--r--ext/tk/lib/tkextlib/bwidget/titleframe.rb33
-rw-r--r--ext/tk/lib/tkextlib/bwidget/tree.rb500
-rw-r--r--ext/tk/lib/tkextlib/bwidget/widget.rb129
-rw-r--r--ext/tk/lib/tkextlib/itcl.rb13
-rw-r--r--ext/tk/lib/tkextlib/itcl/incr_tcl.rb178
-rw-r--r--ext/tk/lib/tkextlib/itcl/setup.rb13
-rw-r--r--ext/tk/lib/tkextlib/itk.rb13
-rw-r--r--ext/tk/lib/tkextlib/itk/incr_tk.rb446
-rw-r--r--ext/tk/lib/tkextlib/itk/setup.rb13
-rw-r--r--ext/tk/lib/tkextlib/iwidgets.rb94
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/buttonbox.rb121
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/calendar.rb125
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/canvasprintbox.rb53
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/canvasprintdialog.rb38
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/checkbox.rb130
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/combobox.rb104
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/dateentry.rb20
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/datefield.rb58
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/dialog.rb20
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/dialogshell.rb121
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/disjointlistbox.rb50
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/entryfield.rb185
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/extbutton.rb40
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/extfileselectionbox.rb46
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/extfileselectiondialog.rb33
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/feedback.rb35
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/fileselectionbox.rb46
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/fileselectiondialog.rb33
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/finddialog.rb42
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/hierarchy.rb365
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/hyperhelp.rb50
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/labeledframe.rb39
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/labeledwidget.rb45
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/mainwindow.rb67
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/menubar.rb212
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/messagebox.rb93
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/messagedialog.rb20
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/notebook.rb175
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/optionmenu.rb92
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/panedwindow.rb134
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/promptdialog.rb131
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/pushbutton.rb35
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/radiobox.rb121
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/scopedobject.rb24
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb353
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/scrolledframe.rb59
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/scrolledhtml.rb58
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb207
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb568
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/scrolledwidget.rb20
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/selectionbox.rb102
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb92
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/shell.rb38
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/spindate.rb48
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/spinint.rb30
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/spinner.rb169
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/spintime.rb48
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/tabnotebook.rb181
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/tabset.rb145
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/timeentry.rb25
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/timefield.rb58
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/toolbar.rb112
-rw-r--r--ext/tk/lib/tkextlib/iwidgets/watch.rb56
-rwxr-xr-xext/tk/lib/tkextlib/pkg_checker.rb184
-rw-r--r--ext/tk/lib/tkextlib/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/tcllib.rb105
-rw-r--r--ext/tk/lib/tkextlib/tcllib/README135
-rw-r--r--ext/tk/lib/tkextlib/tcllib/autoscroll.rb158
-rw-r--r--ext/tk/lib/tkextlib/tcllib/calendar.rb55
-rw-r--r--ext/tk/lib/tkextlib/tcllib/canvas_sqmap.rb36
-rw-r--r--ext/tk/lib/tkextlib/tcllib/canvas_zoom.rb21
-rw-r--r--ext/tk/lib/tkextlib/tcllib/chatwidget.rb151
-rw-r--r--ext/tk/lib/tkextlib/tcllib/crosshair.rb117
-rw-r--r--ext/tk/lib/tkextlib/tcllib/ctext.rb160
-rw-r--r--ext/tk/lib/tkextlib/tcllib/cursor.rb97
-rw-r--r--ext/tk/lib/tkextlib/tcllib/dateentry.rb62
-rw-r--r--ext/tk/lib/tkextlib/tcllib/datefield.rb57
-rw-r--r--ext/tk/lib/tkextlib/tcllib/diagrams.rb224
-rw-r--r--ext/tk/lib/tkextlib/tcllib/dialog.rb84
-rw-r--r--ext/tk/lib/tkextlib/tcllib/getstring.rb134
-rw-r--r--ext/tk/lib/tkextlib/tcllib/history.rb73
-rw-r--r--ext/tk/lib/tkextlib/tcllib/ico.rb146
-rw-r--r--ext/tk/lib/tkextlib/tcllib/ip_entry.rb75
-rw-r--r--ext/tk/lib/tkextlib/tcllib/khim.rb68
-rw-r--r--ext/tk/lib/tkextlib/tcllib/menuentry.rb47
-rw-r--r--ext/tk/lib/tkextlib/tcllib/ntext.rb146
-rw-r--r--ext/tk/lib/tkextlib/tcllib/panelframe.rb78
-rw-r--r--ext/tk/lib/tkextlib/tcllib/plotchart.rb1404
-rw-r--r--ext/tk/lib/tkextlib/tcllib/ruler.rb65
-rw-r--r--ext/tk/lib/tkextlib/tcllib/screenruler.rb68
-rw-r--r--ext/tk/lib/tkextlib/tcllib/scrolledwindow.rb57
-rw-r--r--ext/tk/lib/tkextlib/tcllib/scrollwin.rb61
-rw-r--r--ext/tk/lib/tkextlib/tcllib/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/tcllib/statusbar.rb79
-rw-r--r--ext/tk/lib/tkextlib/tcllib/style.rb61
-rw-r--r--ext/tk/lib/tkextlib/tcllib/superframe.rb51
-rw-r--r--ext/tk/lib/tkextlib/tcllib/swaplist.rb150
-rw-r--r--ext/tk/lib/tkextlib/tcllib/tablelist.rb28
-rw-r--r--ext/tk/lib/tkextlib/tcllib/tablelist_core.rb1072
-rw-r--r--ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb43
-rw-r--r--ext/tk/lib/tkextlib/tcllib/tkpiechart.rb314
-rw-r--r--ext/tk/lib/tkextlib/tcllib/toolbar.rb175
-rw-r--r--ext/tk/lib/tkextlib/tcllib/tooltip.rb104
-rw-r--r--ext/tk/lib/tkextlib/tcllib/widget.rb82
-rw-r--r--ext/tk/lib/tkextlib/tclx.rb13
-rw-r--r--ext/tk/lib/tkextlib/tclx/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/tclx/tclx.rb74
-rw-r--r--ext/tk/lib/tkextlib/tile.rb449
-rw-r--r--ext/tk/lib/tkextlib/tile/dialog.rb102
-rw-r--r--ext/tk/lib/tkextlib/tile/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/tile/sizegrip.rb32
-rw-r--r--ext/tk/lib/tkextlib/tile/style.rb336
-rw-r--r--ext/tk/lib/tkextlib/tile/tbutton.rb34
-rw-r--r--ext/tk/lib/tkextlib/tile/tcheckbutton.rb38
-rw-r--r--ext/tk/lib/tkextlib/tile/tcombobox.rb55
-rw-r--r--ext/tk/lib/tkextlib/tile/tentry.rb49
-rw-r--r--ext/tk/lib/tkextlib/tile/tframe.rb34
-rw-r--r--ext/tk/lib/tkextlib/tile/tlabel.rb34
-rw-r--r--ext/tk/lib/tkextlib/tile/tlabelframe.rb38
-rw-r--r--ext/tk/lib/tkextlib/tile/tmenubutton.rb38
-rw-r--r--ext/tk/lib/tkextlib/tile/tnotebook.rb147
-rw-r--r--ext/tk/lib/tkextlib/tile/tpaned.rb245
-rw-r--r--ext/tk/lib/tkextlib/tile/tprogressbar.rb57
-rw-r--r--ext/tk/lib/tkextlib/tile/tradiobutton.rb38
-rw-r--r--ext/tk/lib/tkextlib/tile/treeview.rb1306
-rw-r--r--ext/tk/lib/tkextlib/tile/tscale.rb56
-rw-r--r--ext/tk/lib/tkextlib/tile/tscrollbar.rb63
-rw-r--r--ext/tk/lib/tkextlib/tile/tseparator.rb34
-rw-r--r--ext/tk/lib/tkextlib/tile/tspinbox.rb107
-rw-r--r--ext/tk/lib/tkextlib/tile/tsquare.rb30
-rw-r--r--ext/tk/lib/tkextlib/tkDND.rb18
-rw-r--r--ext/tk/lib/tkextlib/tkDND/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/tkDND/shape.rb125
-rw-r--r--ext/tk/lib/tkextlib/tkDND/tkdnd.rb182
-rw-r--r--ext/tk/lib/tkextlib/tkHTML.rb13
-rw-r--r--ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb453
-rw-r--r--ext/tk/lib/tkextlib/tkHTML/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/tkimg.rb36
-rw-r--r--ext/tk/lib/tkextlib/tkimg/README26
-rw-r--r--ext/tk/lib/tkextlib/tkimg/bmp.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/gif.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/ico.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/jpeg.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/pcx.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/pixmap.rb44
-rw-r--r--ext/tk/lib/tkextlib/tkimg/png.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/ppm.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/ps.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/tkimg/sgi.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/sun.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/tga.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/tiff.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/window.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/xbm.rb33
-rw-r--r--ext/tk/lib/tkextlib/tkimg/xpm.rb33
-rw-r--r--ext/tk/lib/tkextlib/tktable.rb14
-rw-r--r--ext/tk/lib/tkextlib/tktable/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/tktable/tktable.rb966
-rw-r--r--ext/tk/lib/tkextlib/tktrans.rb14
-rw-r--r--ext/tk/lib/tkextlib/tktrans/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/tktrans/tktrans.rb64
-rw-r--r--ext/tk/lib/tkextlib/treectrl.rb13
-rw-r--r--ext/tk/lib/tkextlib/treectrl/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/treectrl/tktreectrl.rb2522
-rw-r--r--ext/tk/lib/tkextlib/trofs.rb13
-rw-r--r--ext/tk/lib/tkextlib/trofs/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/trofs/trofs.rb51
-rw-r--r--ext/tk/lib/tkextlib/version.rb6
-rw-r--r--ext/tk/lib/tkextlib/vu.rb48
-rw-r--r--ext/tk/lib/tkextlib/vu/bargraph.rb61
-rw-r--r--ext/tk/lib/tkextlib/vu/charts.rb53
-rw-r--r--ext/tk/lib/tkextlib/vu/dial.rb102
-rw-r--r--ext/tk/lib/tkextlib/vu/pie.rb286
-rw-r--r--ext/tk/lib/tkextlib/vu/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/vu/spinbox.rb22
-rw-r--r--ext/tk/lib/tkextlib/winico.rb14
-rw-r--r--ext/tk/lib/tkextlib/winico/setup.rb8
-rw-r--r--ext/tk/lib/tkextlib/winico/winico.rb224
-rw-r--r--ext/tk/lib/tkfont.rb1045
-rw-r--r--ext/tk/lib/tkmacpkg.rb4
-rw-r--r--ext/tk/lib/tkmenubar.rb143
-rw-r--r--ext/tk/lib/tkmngfocus.rb27
-rw-r--r--ext/tk/lib/tkpalette.rb48
-rw-r--r--ext/tk/lib/tkscrollbox.rb31
-rw-r--r--ext/tk/lib/tktext.rb1043
-rw-r--r--ext/tk/lib/tkvirtevent.rb81
-rw-r--r--ext/tk/lib/tkwinpkg.rb4
-rw-r--r--ext/tk/old-README.tcltklib.ja159
-rw-r--r--ext/tk/old-extconf.rb440
-rw-r--r--ext/tk/sample/24hr_clock.rb286
-rw-r--r--ext/tk/sample/binding_sample.rb87
-rw-r--r--ext/tk/sample/bindtag_sample.rb127
-rw-r--r--ext/tk/sample/binstr_usage.rb45
-rw-r--r--ext/tk/sample/btn_with_frame.rb20
-rw-r--r--ext/tk/sample/cd_timer.rb81
-rw-r--r--ext/tk/sample/cmd_res_test.rb17
-rw-r--r--ext/tk/sample/cmd_resource5
-rw-r--r--ext/tk/sample/demos-en/ChangeLog64
-rw-r--r--ext/tk/sample/demos-en/ChangeLog.prev9
-rw-r--r--ext/tk/sample/demos-en/README138
-rw-r--r--ext/tk/sample/demos-en/README.1st18
-rw-r--r--ext/tk/sample/demos-en/README.tkencoding29
-rw-r--r--ext/tk/sample/demos-en/anilabel.rb174
-rw-r--r--ext/tk/sample/demos-en/aniwave.rb118
-rw-r--r--ext/tk/sample/demos-en/arrow.rb249
-rw-r--r--ext/tk/sample/demos-en/bind.rb127
-rw-r--r--ext/tk/sample/demos-en/bitmap.rb75
-rw-r--r--ext/tk/sample/demos-en/browse163
-rw-r--r--ext/tk/sample/demos-en/browse282
-rw-r--r--ext/tk/sample/demos-en/button.rb84
-rw-r--r--ext/tk/sample/demos-en/check.rb72
-rw-r--r--ext/tk/sample/demos-en/check2.rb109
-rw-r--r--ext/tk/sample/demos-en/clrpick.rb87
-rw-r--r--ext/tk/sample/demos-en/colors.rb158
-rw-r--r--ext/tk/sample/demos-en/combo.rb96
-rw-r--r--ext/tk/sample/demos-en/cscroll.rb136
-rw-r--r--ext/tk/sample/demos-en/ctext.rb207
-rw-r--r--ext/tk/sample/demos-en/dialog1.rb38
-rw-r--r--ext/tk/sample/demos-en/dialog2.rb41
-rw-r--r--ext/tk/sample/demos-en/doc.org/README7
-rw-r--r--ext/tk/sample/demos-en/doc.org/README.JP14
-rw-r--r--ext/tk/sample/demos-en/doc.org/README.tk8046
-rw-r--r--ext/tk/sample/demos-en/doc.org/license.terms39
-rw-r--r--ext/tk/sample/demos-en/doc.org/license.terms.tk8039
-rw-r--r--ext/tk/sample/demos-en/entry1.rb58
-rw-r--r--ext/tk/sample/demos-en/entry2.rb93
-rw-r--r--ext/tk/sample/demos-en/entry3.rb220
-rw-r--r--ext/tk/sample/demos-en/filebox.rb102
-rw-r--r--ext/tk/sample/demos-en/floor.rb1723
-rw-r--r--ext/tk/sample/demos-en/floor2.rb1722
-rw-r--r--ext/tk/sample/demos-en/form.rb64
-rw-r--r--ext/tk/sample/demos-en/goldberg.rb2006
-rw-r--r--ext/tk/sample/demos-en/hello14
-rw-r--r--ext/tk/sample/demos-en/hscale.rb75
-rw-r--r--ext/tk/sample/demos-en/icon.rb105
-rw-r--r--ext/tk/sample/demos-en/image1.rb65
-rw-r--r--ext/tk/sample/demos-en/image2.rb107
-rw-r--r--ext/tk/sample/demos-en/image3.rb125
-rw-r--r--ext/tk/sample/demos-en/items.rb381
-rw-r--r--ext/tk/sample/demos-en/ixset333
-rw-r--r--ext/tk/sample/demos-en/ixset2367
-rw-r--r--ext/tk/sample/demos-en/knightstour.rb271
-rw-r--r--ext/tk/sample/demos-en/label.rb72
-rw-r--r--ext/tk/sample/demos-en/labelframe.rb95
-rw-r--r--ext/tk/sample/demos-en/mclist.rb117
-rw-r--r--ext/tk/sample/demos-en/menu.rb196
-rw-r--r--ext/tk/sample/demos-en/menu84.rb215
-rw-r--r--ext/tk/sample/demos-en/menubu.rb237
-rw-r--r--ext/tk/sample/demos-en/msgbox.rb90
-rw-r--r--ext/tk/sample/demos-en/msgbox2.rb91
-rw-r--r--ext/tk/sample/demos-en/paned1.rb47
-rw-r--r--ext/tk/sample/demos-en/paned2.rb94
-rw-r--r--ext/tk/sample/demos-en/pendulum.rb240
-rw-r--r--ext/tk/sample/demos-en/plot.rb124
-rw-r--r--ext/tk/sample/demos-en/puzzle.rb134
-rw-r--r--ext/tk/sample/demos-en/radio.rb86
-rw-r--r--ext/tk/sample/demos-en/radio2.rb109
-rw-r--r--ext/tk/sample/demos-en/radio3.rb117
-rw-r--r--ext/tk/sample/demos-en/rmt268
-rw-r--r--ext/tk/sample/demos-en/rolodex320
-rw-r--r--ext/tk/sample/demos-en/ruler.rb205
-rw-r--r--ext/tk/sample/demos-en/sayings.rb106
-rw-r--r--ext/tk/sample/demos-en/search.rb187
-rw-r--r--ext/tk/sample/demos-en/spin.rb65
-rw-r--r--ext/tk/sample/demos-en/square81
-rw-r--r--ext/tk/sample/demos-en/states.rb80
-rw-r--r--ext/tk/sample/demos-en/style.rb231
-rw-r--r--ext/tk/sample/demos-en/tcolor526
-rw-r--r--ext/tk/sample/demos-en/text.rb128
-rw-r--r--ext/tk/sample/demos-en/textpeer.rb76
-rw-r--r--ext/tk/sample/demos-en/timer136
-rw-r--r--ext/tk/sample/demos-en/tkencoding.rb42
-rw-r--r--ext/tk/sample/demos-en/toolbar.rb130
-rw-r--r--ext/tk/sample/demos-en/tree.rb119
-rw-r--r--ext/tk/sample/demos-en/ttkbut.rb139
-rw-r--r--ext/tk/sample/demos-en/ttkmenu.rb85
-rw-r--r--ext/tk/sample/demos-en/ttknote.rb89
-rw-r--r--ext/tk/sample/demos-en/ttkpane.rb213
-rw-r--r--ext/tk/sample/demos-en/ttkprogress.rb66
-rw-r--r--ext/tk/sample/demos-en/twind.rb291
-rw-r--r--ext/tk/sample/demos-en/twind2.rb384
-rw-r--r--ext/tk/sample/demos-en/unicodeout.rb114
-rw-r--r--ext/tk/sample/demos-en/vscale.rb79
-rw-r--r--ext/tk/sample/demos-en/widget1087
-rw-r--r--ext/tk/sample/demos-jp/README54
-rw-r--r--ext/tk/sample/demos-jp/README.1st20
-rw-r--r--ext/tk/sample/demos-jp/anilabel.rb177
-rw-r--r--ext/tk/sample/demos-jp/aniwave.rb120
-rw-r--r--ext/tk/sample/demos-jp/arrow.rb247
-rw-r--r--ext/tk/sample/demos-jp/bind.rb125
-rw-r--r--ext/tk/sample/demos-jp/bitmap.rb74
-rw-r--r--ext/tk/sample/demos-jp/browse163
-rw-r--r--ext/tk/sample/demos-jp/browse282
-rw-r--r--ext/tk/sample/demos-jp/button.rb83
-rw-r--r--ext/tk/sample/demos-jp/check.rb70
-rw-r--r--ext/tk/sample/demos-jp/check2.rb110
-rw-r--r--ext/tk/sample/demos-jp/clrpick.rb84
-rw-r--r--ext/tk/sample/demos-jp/colors.rb155
-rw-r--r--ext/tk/sample/demos-jp/combo.rb98
-rw-r--r--ext/tk/sample/demos-jp/cscroll.rb134
-rw-r--r--ext/tk/sample/demos-jp/ctext.rb204
-rw-r--r--ext/tk/sample/demos-jp/dialog1.rb39
-rw-r--r--ext/tk/sample/demos-jp/dialog2.rb43
-rw-r--r--ext/tk/sample/demos-jp/doc.org/README7
-rw-r--r--ext/tk/sample/demos-jp/doc.org/README.JP14
-rw-r--r--ext/tk/sample/demos-jp/doc.org/README.tk8046
-rw-r--r--ext/tk/sample/demos-jp/doc.org/license.terms39
-rw-r--r--ext/tk/sample/demos-jp/doc.org/license.terms.tk8039
-rw-r--r--ext/tk/sample/demos-jp/entry1.rb60
-rw-r--r--ext/tk/sample/demos-jp/entry2.rb91
-rw-r--r--ext/tk/sample/demos-jp/entry3.rb225
-rw-r--r--ext/tk/sample/demos-jp/filebox.rb102
-rw-r--r--ext/tk/sample/demos-jp/floor.rb1721
-rw-r--r--ext/tk/sample/demos-jp/floor2.rb1719
-rw-r--r--ext/tk/sample/demos-jp/form.rb66
-rw-r--r--ext/tk/sample/demos-jp/goldberg.rb2011
-rw-r--r--ext/tk/sample/demos-jp/hello10
-rw-r--r--ext/tk/sample/demos-jp/hscale.rb78
-rw-r--r--ext/tk/sample/demos-jp/icon.rb103
-rw-r--r--ext/tk/sample/demos-jp/image1.rb64
-rw-r--r--ext/tk/sample/demos-jp/image2.rb106
-rw-r--r--ext/tk/sample/demos-jp/image3.rb127
-rw-r--r--ext/tk/sample/demos-jp/items.rb379
-rw-r--r--ext/tk/sample/demos-jp/ixset333
-rw-r--r--ext/tk/sample/demos-jp/ixset2369
-rw-r--r--ext/tk/sample/demos-jp/knightstour.rb273
-rw-r--r--ext/tk/sample/demos-jp/label.rb69
-rw-r--r--ext/tk/sample/demos-jp/labelframe.rb102
-rw-r--r--ext/tk/sample/demos-jp/mclist.rb121
-rw-r--r--ext/tk/sample/demos-jp/menu.rb201
-rw-r--r--ext/tk/sample/demos-jp/menu84.rb213
-rw-r--r--ext/tk/sample/demos-jp/menu8x.rb233
-rw-r--r--ext/tk/sample/demos-jp/menubu.rb238
-rw-r--r--ext/tk/sample/demos-jp/msgbox.rb89
-rw-r--r--ext/tk/sample/demos-jp/msgbox2.rb90
-rw-r--r--ext/tk/sample/demos-jp/paned1.rb52
-rw-r--r--ext/tk/sample/demos-jp/paned2.rb100
-rw-r--r--ext/tk/sample/demos-jp/pendulum.rb242
-rw-r--r--ext/tk/sample/demos-jp/plot.rb126
-rw-r--r--ext/tk/sample/demos-jp/puzzle.rb131
-rw-r--r--ext/tk/sample/demos-jp/radio.rb84
-rw-r--r--ext/tk/sample/demos-jp/radio2.rb112
-rw-r--r--ext/tk/sample/demos-jp/radio3.rb119
-rw-r--r--ext/tk/sample/demos-jp/rmt268
-rw-r--r--ext/tk/sample/demos-jp/rolodex320
-rw-r--r--ext/tk/sample/demos-jp/rolodex-j300
-rw-r--r--ext/tk/sample/demos-jp/ruler.rb203
-rw-r--r--ext/tk/sample/demos-jp/sayings.rb103
-rw-r--r--ext/tk/sample/demos-jp/search.rb184
-rw-r--r--ext/tk/sample/demos-jp/spin.rb71
-rw-r--r--ext/tk/sample/demos-jp/square81
-rw-r--r--ext/tk/sample/demos-jp/states.rb74
-rw-r--r--ext/tk/sample/demos-jp/style.rb270
-rw-r--r--ext/tk/sample/demos-jp/tcolor534
-rw-r--r--ext/tk/sample/demos-jp/text.rb120
-rw-r--r--ext/tk/sample/demos-jp/textpeer.rb82
-rw-r--r--ext/tk/sample/demos-jp/timer136
-rw-r--r--ext/tk/sample/demos-jp/toolbar.rb136
-rw-r--r--ext/tk/sample/demos-jp/tree.rb120
-rw-r--r--ext/tk/sample/demos-jp/ttkbut.rb145
-rw-r--r--ext/tk/sample/demos-jp/ttkmenu.rb91
-rw-r--r--ext/tk/sample/demos-jp/ttknote.rb97
-rw-r--r--ext/tk/sample/demos-jp/ttkpane.rb216
-rw-r--r--ext/tk/sample/demos-jp/ttkprogress.rb71
-rw-r--r--ext/tk/sample/demos-jp/twind.rb292
-rw-r--r--ext/tk/sample/demos-jp/twind2.rb384
-rw-r--r--ext/tk/sample/demos-jp/unicodeout.rb119
-rw-r--r--ext/tk/sample/demos-jp/vscale.rb80
-rw-r--r--ext/tk/sample/demos-jp/widget1122
-rw-r--r--ext/tk/sample/editable_listbox.rb148
-rw-r--r--ext/tk/sample/encstr_usage.rb30
-rw-r--r--ext/tk/sample/figmemo_sample.rb456
-rw-r--r--ext/tk/sample/images/earth.gifbin0 -> 51712 bytes-rw-r--r--ext/tk/sample/images/earthris.gifbin0 -> 6343 bytes-rw-r--r--ext/tk/sample/images/face.xbm173
-rw-r--r--ext/tk/sample/images/flagdown.xbm27
-rw-r--r--ext/tk/sample/images/flagup.xbm27
-rw-r--r--ext/tk/sample/images/gray25.xbm6
-rw-r--r--ext/tk/sample/images/grey.256
-rw-r--r--ext/tk/sample/images/grey.56
-rw-r--r--ext/tk/sample/images/letters.xbm27
-rw-r--r--ext/tk/sample/images/noletter.xbm27
-rw-r--r--ext/tk/sample/images/pattern.xbm6
-rw-r--r--ext/tk/sample/images/tcllogo.gifbin0 -> 2341 bytes-rw-r--r--ext/tk/sample/images/teapot.ppm31
-rw-r--r--ext/tk/sample/irbtk.rb30
-rw-r--r--ext/tk/sample/irbtkw.rbw156
-rw-r--r--ext/tk/sample/iso2022-kr.txt2
-rw-r--r--ext/tk/sample/menubar1.rb51
-rw-r--r--ext/tk/sample/menubar2.rb56
-rw-r--r--ext/tk/sample/menubar3.rb72
-rw-r--r--ext/tk/sample/msgs_rb/README3
-rw-r--r--ext/tk/sample/msgs_rb/cs.msg84
-rw-r--r--ext/tk/sample/msgs_rb/de.msg88
-rw-r--r--ext/tk/sample/msgs_rb/el.msg98
-rw-r--r--ext/tk/sample/msgs_rb/en.msg83
-rw-r--r--ext/tk/sample/msgs_rb/en_gb.msg7
-rw-r--r--ext/tk/sample/msgs_rb/eo.msg87
-rw-r--r--ext/tk/sample/msgs_rb/es.msg84
-rw-r--r--ext/tk/sample/msgs_rb/fr.msg84
-rw-r--r--ext/tk/sample/msgs_rb/it.msg84
-rw-r--r--ext/tk/sample/msgs_rb/ja.msg13
-rw-r--r--ext/tk/sample/msgs_rb/nl.msg123
-rw-r--r--ext/tk/sample/msgs_rb/pl.msg87
-rw-r--r--ext/tk/sample/msgs_rb/ru.msg87
-rw-r--r--ext/tk/sample/msgs_rb2/README5
-rw-r--r--ext/tk/sample/msgs_rb2/de.msg88
-rw-r--r--ext/tk/sample/msgs_rb2/ja.msg85
-rw-r--r--ext/tk/sample/msgs_tk/README4
-rw-r--r--ext/tk/sample/msgs_tk/cs.msg84
-rw-r--r--ext/tk/sample/msgs_tk/de.msg88
-rw-r--r--ext/tk/sample/msgs_tk/el.msg103
-rw-r--r--ext/tk/sample/msgs_tk/en.msg83
-rw-r--r--ext/tk/sample/msgs_tk/en_gb.msg7
-rw-r--r--ext/tk/sample/msgs_tk/eo.msg87
-rw-r--r--ext/tk/sample/msgs_tk/es.msg84
-rw-r--r--ext/tk/sample/msgs_tk/fr.msg84
-rw-r--r--ext/tk/sample/msgs_tk/it.msg84
-rw-r--r--ext/tk/sample/msgs_tk/ja.msg13
-rw-r--r--ext/tk/sample/msgs_tk/license.terms39
-rw-r--r--ext/tk/sample/msgs_tk/nl.msg123
-rw-r--r--ext/tk/sample/msgs_tk/pl.msg87
-rw-r--r--ext/tk/sample/msgs_tk/ru.msg87
-rw-r--r--ext/tk/sample/multi-ip_sample.rb103
-rw-r--r--ext/tk/sample/multi-ip_sample2.rb29
-rw-r--r--ext/tk/sample/optobj_sample.rb67
-rw-r--r--ext/tk/sample/propagate.rb30
-rw-r--r--ext/tk/sample/remote-ip_sample.rb33
-rw-r--r--ext/tk/sample/remote-ip_sample2.rb56
-rw-r--r--ext/tk/sample/resource.en13
-rw-r--r--ext/tk/sample/resource.ja13
-rw-r--r--ext/tk/sample/safe-tk.rb134
-rw-r--r--ext/tk/sample/scrollframe.rb249
-rw-r--r--ext/tk/sample/tcltklib/batsu.gif (renamed from ext/tcltklib/sample/batsu.gif)bin538 -> 538 bytes-rw-r--r--ext/tk/sample/tcltklib/lines0.tcl (renamed from ext/tcltklib/demo/lines0.tcl)0
-rw-r--r--ext/tk/sample/tcltklib/lines1.rb (renamed from ext/tcltklib/demo/lines2.rb)0
-rw-r--r--ext/tk/sample/tcltklib/lines2.rb (renamed from ext/tcltklib/demo/lines1.rb)0
-rw-r--r--ext/tk/sample/tcltklib/lines3.rb54
-rw-r--r--ext/tk/sample/tcltklib/lines4.rb54
-rw-r--r--ext/tk/sample/tcltklib/maru.gif (renamed from ext/tcltklib/sample/maru.gif)bin481 -> 481 bytes-rw-r--r--ext/tk/sample/tcltklib/safeTk.rb22
-rw-r--r--ext/tk/sample/tcltklib/sample0.rb39
-rw-r--r--ext/tk/sample/tcltklib/sample1.rb634
-rw-r--r--ext/tk/sample/tcltklib/sample2.rb451
-rw-r--r--ext/tk/sample/tkalignbox.rb235
-rw-r--r--ext/tk/sample/tkballoonhelp.rb220
-rw-r--r--ext/tk/sample/tkbiff.rb30
-rw-r--r--ext/tk/sample/tkbrowse.rb12
-rw-r--r--ext/tk/sample/tkcombobox.rb497
-rw-r--r--ext/tk/sample/tkdialog.rb5
-rw-r--r--ext/tk/sample/tkextlib/ICONS/Orig_LICENSE.txt61
-rw-r--r--ext/tk/sample/tkextlib/ICONS/tkIcons195
-rw-r--r--ext/tk/sample/tkextlib/ICONS/tkIcons-sample.kde658
-rw-r--r--ext/tk/sample/tkextlib/ICONS/tkIcons.kde195
-rw-r--r--ext/tk/sample/tkextlib/ICONS/viewIcons.rb329
-rw-r--r--ext/tk/sample/tkextlib/blt/barchart5.rb101
-rw-r--r--ext/tk/sample/tkextlib/blt/calendar.rb117
-rw-r--r--ext/tk/sample/tkextlib/blt/graph6.rb2222
-rw-r--r--ext/tk/sample/tkextlib/blt/graph7.rb40
-rw-r--r--ext/tk/sample/tkextlib/blt/graph7a.rb63
-rw-r--r--ext/tk/sample/tkextlib/blt/graph7b.rb41
-rw-r--r--ext/tk/sample/tkextlib/blt/graph7c.rb45
-rw-r--r--ext/tk/sample/tkextlib/blt/images/buckskin.gifbin0 -> 7561 bytes-rw-r--r--ext/tk/sample/tkextlib/blt/images/chalk.gifbin0 -> 4378 bytes-rw-r--r--ext/tk/sample/tkextlib/blt/images/qv100.t.gifbin0 -> 2694 bytes-rw-r--r--ext/tk/sample/tkextlib/blt/images/rain.gifbin0 -> 3785 bytes-rw-r--r--ext/tk/sample/tkextlib/blt/images/sample.gifbin0 -> 186103 bytes-rw-r--r--ext/tk/sample/tkextlib/blt/pareto.rb90
-rw-r--r--ext/tk/sample/tkextlib/blt/plot1.rb9
-rw-r--r--ext/tk/sample/tkextlib/blt/plot1b.rb10
-rw-r--r--ext/tk/sample/tkextlib/blt/readme.txt2
-rw-r--r--ext/tk/sample/tkextlib/blt/scripts/stipples.rb156
-rw-r--r--ext/tk/sample/tkextlib/blt/winop1.rb40
-rw-r--r--ext/tk/sample/tkextlib/blt/winop2.rb28
-rw-r--r--ext/tk/sample/tkextlib/bwidget/Orig_LICENSE.txt53
-rw-r--r--ext/tk/sample/tkextlib/bwidget/basic.rb198
-rw-r--r--ext/tk/sample/tkextlib/bwidget/bwidget.xbm46
-rw-r--r--ext/tk/sample/tkextlib/bwidget/demo.rb243
-rw-r--r--ext/tk/sample/tkextlib/bwidget/dnd.rb46
-rw-r--r--ext/tk/sample/tkextlib/bwidget/manager.rb150
-rw-r--r--ext/tk/sample/tkextlib/bwidget/select.rb82
-rw-r--r--ext/tk/sample/tkextlib/bwidget/tmpldlg.rb221
-rw-r--r--ext/tk/sample/tkextlib/bwidget/tree.rb289
-rw-r--r--ext/tk/sample/tkextlib/bwidget/x1.xbm2258
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/Orig_LICENSE.txt42
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/box.xbm14
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/clear.gifbin0 -> 279 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/close.gifbin0 -> 249 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/copy.gifbin0 -> 269 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/cut.gifbin0 -> 179 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/exit.gifbin0 -> 396 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/find.gifbin0 -> 386 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/help.gifbin0 -> 591 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/line.xbm14
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/mag.gifbin0 -> 183 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/new.gifbin0 -> 212 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/open.gifbin0 -> 258 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/oval.xbm14
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/paste.gifbin0 -> 376 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/points.xbm14
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/poly.gifbin0 -> 141 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/print.gifbin0 -> 263 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/ruler.gifbin0 -> 174 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/save.gifbin0 -> 270 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/select.gifbin0 -> 124 bytes-rw-r--r--ext/tk/sample/tkextlib/iwidgets/catalog_demo/images/text.xbm14
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/buttonbox.rb22
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/calendar.rb10
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/canvasprintbox.rb8
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/canvasprintdialog.rb8
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/checkbox.rb12
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/combobox.rb32
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/dateentry.rb7
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/datefield.rb8
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/dialog.rb20
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/dialogshell.rb14
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/disjointlistbox.rb16
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/entryfield-1.rb39
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/entryfield-2.rb44
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/entryfield-3.rb40
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/extbutton.rb20
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/extfileselectionbox.rb8
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/extfileselectiondialog.rb29
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/feedback.rb10
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/fileselectionbox.rb8
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/fileselectiondialog.rb28
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/finddialog.rb15
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/hierarchy.rb25
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/hyperhelp.rb14
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/labeledframe.rb14
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/labeledwidget.rb13
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/mainwindow.rb64
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/menubar.rb124
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/menubar2.rb44
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/messagebox1.rb19
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/messagebox2.rb19
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/messagedialog.rb44
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/notebook.rb30
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/notebook2.rb30
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/optionmenu.rb14
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/panedwindow.rb22
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/panedwindow2.rb22
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/promptdialog.rb17
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/pushbutton.rb9
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/radiobox.rb13
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/scrolledcanvas.rb13
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/scrolledframe.rb18
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/scrolledhtml.rb15
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/scrolledlistbox.rb22
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/scrolledtext.rb11
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/selectionbox.rb19
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/selectiondialog.rb12
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/shell.rb17
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/spindate.rb7
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/spinint.rb10
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/spinner.rb33
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/spintime.rb7
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/tabnotebook.rb26
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/tabnotebook2.rb30
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/tabset.rb34
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/timeentry.rb7
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/timefield.rb8
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/toolbar.rb152
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/watch.rb18
-rw-r--r--ext/tk/sample/tkextlib/tcllib/Orig_LICENSE.txt46
-rw-r--r--ext/tk/sample/tkextlib/tcllib/datefield.rb29
-rw-r--r--ext/tk/sample/tkextlib/tcllib/plotdemos1.rb158
-rw-r--r--ext/tk/sample/tkextlib/tcllib/plotdemos2.rb71
-rw-r--r--ext/tk/sample/tkextlib/tcllib/plotdemos3.rb83
-rw-r--r--ext/tk/sample/tkextlib/tcllib/xyplot.rb17
-rw-r--r--ext/tk/sample/tkextlib/tile/Orig_LICENSE.txt30
-rw-r--r--ext/tk/sample/tkextlib/tile/demo.rb983
-rw-r--r--ext/tk/sample/tkextlib/tile/iconlib.tcl110
-rw-r--r--ext/tk/sample/tkextlib/tile/readme.txt2
-rw-r--r--ext/tk/sample/tkextlib/tile/repeater.tcl117
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue.tcl149
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/arrowdown-h.gifbin0 -> 315 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/arrowdown-p.gifbin0 -> 312 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/arrowdown.gifbin0 -> 313 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/arrowleft-h.gifbin0 -> 329 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/arrowleft-p.gifbin0 -> 327 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/arrowleft.gifbin0 -> 323 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/arrowright-h.gifbin0 -> 330 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/arrowright-p.gifbin0 -> 327 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/arrowright.gifbin0 -> 324 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/arrowup-h.gifbin0 -> 309 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/arrowup-p.gifbin0 -> 313 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/arrowup.gifbin0 -> 314 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/button-h.gifbin0 -> 696 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/button-n.gifbin0 -> 770 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/button-n.xcfbin0 -> 1942 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/button-p.gifbin0 -> 769 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/check-hc.gifbin0 -> 254 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/check-hu.gifbin0 -> 234 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/check-nc.gifbin0 -> 249 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/check-nu.gifbin0 -> 229 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/radio-hc.gifbin0 -> 1098 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/radio-hu.gifbin0 -> 626 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/radio-nc.gifbin0 -> 389 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/radio-nu.gifbin0 -> 401 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/sb-thumb-p.gifbin0 -> 343 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/sb-thumb.gifbin0 -> 316 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/sb-vthumb-p.gifbin0 -> 333 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/sb-vthumb.gifbin0 -> 308 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/slider-p.gifbin0 -> 182 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/slider.gifbin0 -> 182 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/vslider-p.gifbin0 -> 183 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue/vslider.gifbin0 -> 283 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/pkgIndex.tcl6
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik.tcl194
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/arrowdown-n.gifbin0 -> 273 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/arrowdown-p.gifbin0 -> 258 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/arrowleft-n.gifbin0 -> 292 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/arrowleft-p.gifbin0 -> 272 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/arrowright-n.gifbin0 -> 274 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/arrowright-p.gifbin0 -> 258 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/arrowup-n.gifbin0 -> 286 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/arrowup-p.gifbin0 -> 271 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/button-d.gifbin0 -> 1266 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/button-h.gifbin0 -> 896 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/button-n.gifbin0 -> 881 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/button-p.gifbin0 -> 625 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/button-s.gifbin0 -> 859 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/check-c.gifbin0 -> 434 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/check-u.gifbin0 -> 423 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/hsb-n.gifbin0 -> 401 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/hsb-p.gifbin0 -> 395 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/hslider-n.gifbin0 -> 592 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/mbut-a.gifbin0 -> 1116 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/mbut-arrow-n.gifbin0 -> 61 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/mbut-d.gifbin0 -> 1057 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/mbut-n.gifbin0 -> 1095 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/radio-c.gifbin0 -> 695 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/radio-u.gifbin0 -> 686 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/tab-n.gifbin0 -> 383 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/tab-p.gifbin0 -> 878 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/tbar-a.gifbin0 -> 907 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/tbar-n.gifbin0 -> 238 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/tbar-p.gifbin0 -> 927 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/vsb-n.gifbin0 -> 405 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/vsb-p.gifbin0 -> 399 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik/vslider-n.gifbin0 -> 587 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/pkgIndex.tcl15
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc.rb226
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/kroc.tcl163
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/kroc/button-h.gifbin0 -> 522 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/kroc/button-n.gifbin0 -> 554 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/kroc/button-p.gifbin0 -> 548 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/kroc/check-hc.gifbin0 -> 281 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/kroc/check-hu.gifbin0 -> 273 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/kroc/check-nc.gifbin0 -> 303 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/kroc/check-nu.gifbin0 -> 294 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/kroc/radio-hc.gifbin0 -> 652 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/kroc/radio-hu.gifbin0 -> 644 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/kroc/radio-nc.gifbin0 -> 632 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/kroc/radio-nu.gifbin0 -> 621 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/pkgIndex.tcl15
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/pkgIndex.tcl16
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik.tcl125
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/arrowdown-n.gifbin0 -> 362 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/arrowdown-p.gifbin0 -> 250 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/arrowleft-n.gifbin0 -> 378 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/arrowleft-p.gifbin0 -> 267 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/arrowright-n.gifbin0 -> 379 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/arrowright-p.gifbin0 -> 266 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/arrowup-n.gifbin0 -> 363 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/arrowup-p.gifbin0 -> 251 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/button-h.gifbin0 -> 439 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/button-n.gifbin0 -> 443 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/button-p.gifbin0 -> 302 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/check-hc.gifbin0 -> 169 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/check-hu.gifbin0 -> 170 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/check-nc.gifbin0 -> 235 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/check-nu.gifbin0 -> 226 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/check-pc.gifbin0 -> 169 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/hsb-n.gifbin0 -> 269 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/hslider-n.gifbin0 -> 342 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/radio-hc.gifbin0 -> 178 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/radio-hu.gifbin0 -> 179 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/radio-nc.gifbin0 -> 236 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/radio-nu.gifbin0 -> 178 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/radio-pc.gifbin0 -> 178 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/vsb-n.gifbin0 -> 366 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/plastik/vslider-n.gifbin0 -> 336 bytes-rw-r--r--ext/tk/sample/tkextlib/tile/toolbutton.tcl152
-rw-r--r--ext/tk/sample/tkextlib/tkHTML/Orig_COPYRIGHT.txt12
-rw-r--r--ext/tk/sample/tkextlib/tkHTML/README12
-rw-r--r--ext/tk/sample/tkextlib/tkHTML/hv.rb313
-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/image1bin0 -> 8995 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/image10bin0 -> 3095 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/image11bin0 -> 1425 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/image12bin0 -> 2468 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/image13bin0 -> 4073 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/image14bin0 -> 53 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/image2bin0 -> 42 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/image3bin0 -> 3473 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/image4bin0 -> 1988 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/image5bin0 -> 973 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/image6bin0 -> 2184 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/image7bin0 -> 2022 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/image8bin0 -> 1186 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/image9bin0 -> 139 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/index.html115
-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image1bin0 -> 1966 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image10bin0 -> 255 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image11bin0 -> 590 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image12bin0 -> 254 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image13bin0 -> 493 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image14bin0 -> 195 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image15bin0 -> 68 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image16bin0 -> 157 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image17bin0 -> 81 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image18bin0 -> 545 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image19bin0 -> 53 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image2bin0 -> 49 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image20bin0 -> 533 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image21bin0 -> 564 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image22bin0 -> 81 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image23bin0 -> 539 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image24bin0 -> 151 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image25bin0 -> 453 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image26bin0 -> 520 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image27bin0 -> 565 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image28bin0 -> 416 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image29bin0 -> 121 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image3bin0 -> 10835 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image30bin0 -> 663 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image31bin0 -> 78 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image32bin0 -> 556 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image33bin0 -> 598 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image34bin0 -> 496 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image35bin0 -> 724 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image36bin0 -> 404 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image37bin0 -> 124 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image38bin0 -> 8330 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image39bin0 -> 369 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image4bin0 -> 268 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image5bin0 -> 492 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image6bin0 -> 246 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image7bin0 -> 551 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image8bin0 -> 497 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/image9bin0 -> 492 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/index.html433
-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/image1bin0 -> 113 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/image10bin0 -> 5088 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/image11bin0 -> 4485 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/image12bin0 -> 3579 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/image13bin0 -> 5119 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/image14bin0 -> 3603 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/image2bin0 -> 74 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/image3bin0 -> 681 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/image4bin0 -> 3056 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/image5bin0 -> 2297 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/image6bin0 -> 79 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/image7bin0 -> 1613 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/image8bin0 -> 864 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/image9bin0 -> 2379 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/index.html2787
-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page4/image1bin0 -> 42 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page4/image2bin0 -> 14343 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page4/image3bin0 -> 17750 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page4/image4bin0 -> 61 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page4/image5bin0 -> 201 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page4/image6bin0 -> 214 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page4/image7bin0 -> 149 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page4/image8bin0 -> 203 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page4/image9bin0 -> 1504 bytes-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page4/index.html768
-rw-r--r--ext/tk/sample/tkextlib/tkHTML/ss.rb436
-rw-r--r--ext/tk/sample/tkextlib/tkimg/demo.rb1478
-rw-r--r--ext/tk/sample/tkextlib/tkimg/license_terms_of_Img_extension41
-rw-r--r--ext/tk/sample/tkextlib/tkimg/readme.txt3
-rw-r--r--ext/tk/sample/tkextlib/tktable/Orig_LICENSE.txt52
-rw-r--r--ext/tk/sample/tkextlib/tktable/basic.rb60
-rw-r--r--ext/tk/sample/tkextlib/tktable/buttons.rb76
-rw-r--r--ext/tk/sample/tkextlib/tktable/command.rb89
-rw-r--r--ext/tk/sample/tkextlib/tktable/debug.rb101
-rw-r--r--ext/tk/sample/tkextlib/tktable/dynarows.rb99
-rw-r--r--ext/tk/sample/tkextlib/tktable/maxsize.rb67
-rw-r--r--ext/tk/sample/tkextlib/tktable/spreadsheet.rb137
-rw-r--r--ext/tk/sample/tkextlib/tktable/tcllogo.gifbin0 -> 2341 bytes-rw-r--r--ext/tk/sample/tkextlib/tktable/valid.rb88
-rw-r--r--ext/tk/sample/tkextlib/treectrl/bitmaps.rb76
-rw-r--r--ext/tk/sample/tkextlib/treectrl/demo.rb1305
-rw-r--r--ext/tk/sample/tkextlib/treectrl/explorer.rb430
-rw-r--r--ext/tk/sample/tkextlib/treectrl/help.rb404
-rw-r--r--ext/tk/sample/tkextlib/treectrl/imovie.rb130
-rw-r--r--ext/tk/sample/tkextlib/treectrl/layout.rb159
-rw-r--r--ext/tk/sample/tkextlib/treectrl/mailwasher.rb269
-rw-r--r--ext/tk/sample/tkextlib/treectrl/outlook-folders.rb124
-rw-r--r--ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb448
-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/big-dll.gifbin0 -> 437 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/big-exe.gifbin0 -> 368 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/big-file.gifbin0 -> 466 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/big-folder.gifbin0 -> 459 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/big-txt.gifbin0 -> 392 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/checked.gifbin0 -> 78 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/file.gifbin0 -> 279 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/folder-closed.gifbin0 -> 111 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/folder-open.gifbin0 -> 120 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/help-book-closed.gifbin0 -> 115 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/help-book-open.gifbin0 -> 128 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/help-page.gifbin0 -> 132 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/imovie-01.gifbin0 -> 5406 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/imovie-02.gifbin0 -> 5912 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/imovie-03.gifbin0 -> 4696 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/imovie-04.gifbin0 -> 5783 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/imovie-05.gifbin0 -> 3238 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/imovie-06.gifbin0 -> 3509 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/imovie-07.gifbin0 -> 2091 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/internet-check-off.gifbin0 -> 70 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/internet-check-on.gifbin0 -> 76 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/internet-print.gifbin0 -> 124 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/internet-radio-off.gifbin0 -> 68 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/internet-radio-on.gifbin0 -> 71 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/internet-search.gifbin0 -> 114 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/internet-security.gifbin0 -> 108 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/mac-collapse.gifbin0 -> 275 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/mac-expand.gifbin0 -> 277 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-arrow.gifbin0 -> 73 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-clip.gifbin0 -> 73 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-deleted.gifbin0 -> 138 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-draft.gifbin0 -> 134 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-folder.gifbin0 -> 133 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-group.gifbin0 -> 144 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-inbox.gifbin0 -> 133 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-local.gifbin0 -> 146 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-main.gifbin0 -> 174 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-outbox.gifbin0 -> 136 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-read-2.gifbin0 -> 343 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-read.gifbin0 -> 304 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-sent.gifbin0 -> 132 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-server.gifbin0 -> 163 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-unread.gifbin0 -> 303 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/outlook-watch.gifbin0 -> 98 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/sky.gifbin0 -> 6454 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/small-dll.gifbin0 -> 311 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/small-exe.gifbin0 -> 115 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/small-file.gifbin0 -> 338 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/small-folder.gifbin0 -> 307 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/small-txt.gifbin0 -> 302 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/pics/unchecked.gifbin0 -> 72 bytes-rw-r--r--ext/tk/sample/tkextlib/treectrl/random.rb508
-rw-r--r--ext/tk/sample/tkextlib/treectrl/readme.txt2
-rw-r--r--ext/tk/sample/tkextlib/treectrl/www-options.rb303
-rw-r--r--ext/tk/sample/tkextlib/vu/Orig_LICENSE.txt51
-rw-r--r--ext/tk/sample/tkextlib/vu/README.txt50
-rw-r--r--ext/tk/sample/tkextlib/vu/canvItems.rb90
-rw-r--r--ext/tk/sample/tkextlib/vu/canvSticker.rb82
-rw-r--r--ext/tk/sample/tkextlib/vu/canvSticker2.rb101
-rw-r--r--ext/tk/sample/tkextlib/vu/dial_demo.rb113
-rw-r--r--ext/tk/sample/tkextlib/vu/m128_000.xbm174
-rw-r--r--ext/tk/sample/tkextlib/vu/oscilloscope.rb68
-rw-r--r--ext/tk/sample/tkextlib/vu/pie.rb56
-rw-r--r--ext/tk/sample/tkextlib/vu/vu_demo.rb67
-rw-r--r--ext/tk/sample/tkfrom.rb22
-rw-r--r--ext/tk/sample/tkhello.rb10
-rw-r--r--ext/tk/sample/tkline.rb6
-rw-r--r--ext/tk/sample/tkmenubutton.rb135
-rw-r--r--ext/tk/sample/tkmsgcat-load_rb.rb102
-rw-r--r--ext/tk/sample/tkmsgcat-load_rb2.rb102
-rw-r--r--ext/tk/sample/tkmsgcat-load_tk.rb118
-rw-r--r--ext/tk/sample/tkmulticolumnlist.rb743
-rw-r--r--ext/tk/sample/tkmultilistbox.rb654
-rw-r--r--ext/tk/sample/tkmultilistframe.rb940
-rw-r--r--ext/tk/sample/tkoptdb-safeTk.rb73
-rw-r--r--ext/tk/sample/tkoptdb.rb106
-rw-r--r--ext/tk/sample/tkrttimer.rb77
-rw-r--r--ext/tk/sample/tksleep_sample.rb29
-rw-r--r--ext/tk/sample/tktextframe.rb281
-rw-r--r--ext/tk/sample/tktextio.rb1060
-rw-r--r--ext/tk/sample/tktimer.rb2
-rw-r--r--ext/tk/sample/tktimer2.rb47
-rw-r--r--ext/tk/sample/tktimer3.rb59
-rw-r--r--ext/tk/sample/tktree.rb103
-rw-r--r--ext/tk/sample/tktree.tcl305
-rw-r--r--ext/tk/sample/ttk_wrapper.rb154
-rw-r--r--ext/tk/stubs.c594
-rw-r--r--ext/tk/stubs.h33
-rw-r--r--ext/tk/tcltklib.c11058
-rw-r--r--ext/tk/tkutil.c45
-rw-r--r--ext/tk/tkutil/depend1
-rw-r--r--ext/tk/tkutil/extconf.rb18
-rw-r--r--ext/tk/tkutil/tkutil.c1866
-rw-r--r--ext/win32/extconf.rb3
-rw-r--r--ext/win32/lib/Win32API.rb31
-rw-r--r--ext/win32/lib/win32/importer.rb14
-rw-r--r--ext/win32/lib/win32/registry.rb898
-rw-r--r--ext/win32/lib/win32/resolv.rb378
-rw-r--r--ext/win32/lib/win32/sspi.rb330
-rw-r--r--ext/win32ole/.cvsignore3
-rw-r--r--ext/win32ole/MANIFEST24
-rw-r--r--ext/win32ole/depend2
-rw-r--r--ext/win32ole/doc/win32ole.rd294
-rw-r--r--ext/win32ole/extconf.rb34
-rw-r--r--ext/win32ole/sample/excel1.rb15
-rw-r--r--ext/win32ole/sample/excel2.rb10
-rw-r--r--ext/win32ole/sample/ieconst.rb2
-rw-r--r--ext/win32ole/sample/ienavi.rb2
-rw-r--r--ext/win32ole/sample/ienavi2.rb40
-rw-r--r--ext/win32ole/sample/oledirs.rb2
-rw-r--r--ext/win32ole/sample/olegen.rb33
-rw-r--r--ext/win32ole/sample/xml.rb46
-rw-r--r--ext/win32ole/tests/oleserver.rb10
-rw-r--r--ext/win32ole/tests/testOLEEVENT.rb33
-rw-r--r--ext/win32ole/tests/testOLEMETHOD.rb83
-rw-r--r--ext/win32ole/tests/testOLEPARAM.rb67
-rw-r--r--ext/win32ole/tests/testOLETYPE.rb83
-rw-r--r--ext/win32ole/tests/testOLEVARIABLE.rb42
-rw-r--r--ext/win32ole/tests/testVARIANT.rb32
-rw-r--r--ext/win32ole/tests/testWIN32OLE.rb298
-rw-r--r--ext/win32ole/tests/testall.rb11
-rw-r--r--ext/win32ole/win32ole.c7604
-rw-r--r--ext/zlib/depend5
-rw-r--r--ext/zlib/extconf.rb64
-rw-r--r--ext/zlib/zlib.c4618
-rw-r--r--file.c5093
-rw-r--r--gc.c7954
-rw-r--r--gc.h101
-rw-r--r--gem_prelude.rb1
-rw-r--r--golf_prelude.rb123
-rw-r--r--goruby.c58
-rw-r--r--hash.c3635
-rw-r--r--ia64.s42
-rw-r--r--include/ruby.h35
-rw-r--r--include/ruby/backward/classext.h18
-rw-r--r--include/ruby/backward/rubyio.h6
-rw-r--r--include/ruby/backward/rubysig.h52
-rw-r--r--include/ruby/backward/st.h6
-rw-r--r--include/ruby/backward/util.h6
-rw-r--r--include/ruby/debug.h110
-rw-r--r--include/ruby/defines.h324
-rw-r--r--include/ruby/encoding.h363
-rw-r--r--include/ruby/intern.h959
-rw-r--r--include/ruby/io.h214
-rw-r--r--include/ruby/missing.h244
-rw-r--r--include/ruby/oniguruma.h837
-rw-r--r--include/ruby/re.h71
-rw-r--r--include/ruby/regex.h46
-rw-r--r--include/ruby/ruby.h1872
-rw-r--r--include/ruby/st.h154
-rw-r--r--include/ruby/subst.h19
-rw-r--r--include/ruby/thread.h45
-rw-r--r--include/ruby/util.h95
-rw-r--r--include/ruby/version.h74
-rw-r--r--include/ruby/vm.h64
-rw-r--r--include/ruby/win32.h837
-rw-r--r--inits.c115
-rw-r--r--insns.def2173
-rw-r--r--instruby.rb206
-rw-r--r--intern.h467
-rw-r--r--internal.h892
-rw-r--r--io.c12545
-rw-r--r--iseq.c2322
-rw-r--r--iseq.h136
-rw-r--r--keywords42
-rw-r--r--lex.c136
-rw-r--r--lex.c.blt219
-rw-r--r--lib/English.rb162
-rw-r--r--lib/Env.rb18
-rw-r--r--lib/README77
-rwxr-xr-xlib/abbrev.rb136
-rw-r--r--lib/base64.rb110
-rw-r--r--lib/benchmark.rb999
-rw-r--r--lib/cgi-lib.rb270
-rw-r--r--lib/cgi.rb2278
-rw-r--r--lib/cgi/cookie.rb170
-rw-r--r--lib/cgi/core.rb859
-rw-r--r--lib/cgi/html.rb1034
-rw-r--r--lib/cgi/session.rb554
-rw-r--r--lib/cgi/session/pstore.rb111
-rw-r--r--lib/cgi/util.rb202
-rw-r--r--lib/cmath.rb400
-rw-r--r--lib/complex.rb602
-rw-r--r--lib/csv.rb2323
-rw-r--r--lib/date.rb569
-rw-r--r--lib/date/format.rb535
-rw-r--r--lib/date2.rb5
-rw-r--r--lib/debug.rb1690
-rw-r--r--lib/delegate.rb469
-rw-r--r--lib/drb.rb2
-rw-r--r--lib/drb/acl.rb250
-rw-r--r--lib/drb/drb.rb1833
-rw-r--r--lib/drb/eq.rb14
-rw-r--r--lib/drb/extserv.rb73
-rw-r--r--lib/drb/extservm.rb93
-rw-r--r--lib/drb/gw.rb160
-rw-r--r--lib/drb/invokemethod.rb34
-rw-r--r--lib/drb/observer.rb25
-rw-r--r--lib/drb/ssl.rb344
-rw-r--r--lib/drb/timeridconv.rb101
-rw-r--r--lib/drb/unix.rb115
-rw-r--r--lib/e2mmap.rb127
-rw-r--r--lib/erb.rb1098
-rw-r--r--lib/eregex.rb37
-rw-r--r--lib/fileutils.rb1945
-rw-r--r--lib/finalize.rb186
-rw-r--r--lib/find.rb58
-rw-r--r--lib/forwardable.rb309
-rw-r--r--lib/ftools.rb166
-rw-r--r--lib/getoptlong.rb418
-rw-r--r--lib/getopts.rb124
-rw-r--r--lib/gserver.rb310
-rw-r--r--lib/importenv.rb31
-rw-r--r--lib/ipaddr.rb521
-rw-r--r--lib/irb.rb688
-rw-r--r--lib/irb/cmd/chws.rb12
-rw-r--r--lib/irb/cmd/fork.rb20
-rw-r--r--lib/irb/cmd/help.rb41
-rw-r--r--lib/irb/cmd/load.rb15
-rw-r--r--lib/irb/cmd/nop.rb14
-rw-r--r--lib/irb/cmd/pushws.rb11
-rw-r--r--lib/irb/cmd/subirb.rb13
-rw-r--r--lib/irb/completion.rb181
-rw-r--r--lib/irb/context.rb265
-rw-r--r--lib/irb/ext/change-ws.rb27
-rw-r--r--lib/irb/ext/history.rb32
-rw-r--r--lib/irb/ext/loader.rb36
-rw-r--r--lib/irb/ext/math-mode.rb22
-rw-r--r--lib/irb/ext/multi-irb.rb91
-rw-r--r--lib/irb/ext/save-history.rb120
-rw-r--r--lib/irb/ext/tracer.rb24
-rw-r--r--lib/irb/ext/use-loader.rb20
-rw-r--r--lib/irb/ext/workspaces.rb22
-rw-r--r--lib/irb/extend-command.rb183
-rw-r--r--lib/irb/frame.rb21
-rw-r--r--lib/irb/help.rb35
-rw-r--r--lib/irb/init.rb178
-rw-r--r--lib/irb/input-method.rb123
-rw-r--r--lib/irb/inspector.rb145
-rw-r--r--lib/irb/lc/.document4
-rw-r--r--lib/irb/lc/error.rb17
-rw-r--r--lib/irb/lc/help-message46
-rw-r--r--lib/irb/lc/ja/encoding_aliases.rb10
-rw-r--r--lib/irb/lc/ja/error.rb37
-rw-r--r--lib/irb/lc/ja/help-message72
-rw-r--r--lib/irb/locale.rb177
-rw-r--r--lib/irb/magic-file.rb37
-rw-r--r--lib/irb/notifier.rb231
-rw-r--r--lib/irb/output-method.rb91
-rw-r--r--lib/irb/ruby-lex.rb368
-rw-r--r--lib/irb/ruby-token.rb35
-rw-r--r--lib/irb/slex.rb374
-rw-r--r--lib/irb/src_encoding.rb4
-rw-r--r--lib/irb/version.rb11
-rw-r--r--lib/irb/workspace.rb43
-rw-r--r--lib/irb/ws-for-case-2.rb11
-rw-r--r--lib/irb/xmp.rb91
-rw-r--r--lib/jcode.rb216
-rw-r--r--lib/logger.rb844
-rw-r--r--lib/mailread.rb48
-rw-r--r--lib/mathn.rb436
-rw-r--r--lib/matrix.rb1984
-rw-r--r--lib/matrix/eigenvalue_decomposition.rb882
-rw-r--r--lib/matrix/lup_decomposition.rb218
-rw-r--r--lib/minitest/.document2
-rw-r--r--lib/minitest/README.txt457
-rw-r--r--lib/minitest/autorun.rb19
-rw-r--r--lib/minitest/benchmark.rb423
-rw-r--r--lib/minitest/hell.rb20
-rw-r--r--lib/minitest/mock.rb200
-rw-r--r--lib/minitest/parallel_each.rb80
-rw-r--r--lib/minitest/pride.rb119
-rw-r--r--lib/minitest/spec.rb551
-rw-r--r--lib/minitest/unit.rb1422
-rw-r--r--lib/mkmf.rb3082
-rw-r--r--lib/monitor.rb407
-rw-r--r--lib/mutex_m.rb143
-rw-r--r--lib/net/ftp.rb1005
-rw-r--r--lib/net/http.rb2740
-rw-r--r--lib/net/http/backward.rb25
-rw-r--r--lib/net/http/exceptions.rb25
-rw-r--r--lib/net/http/generic_request.rb329
-rw-r--r--lib/net/http/header.rb452
-rw-r--r--lib/net/http/proxy_delta.rb16
-rw-r--r--lib/net/http/request.rb20
-rw-r--r--lib/net/http/requests.rb122
-rw-r--r--lib/net/http/response.rb405
-rw-r--r--lib/net/http/responses.rb271
-rw-r--r--lib/net/https.rb22
-rw-r--r--lib/net/imap.rb4978
-rw-r--r--lib/net/pop.rb1317
-rw-r--r--lib/net/protocol.rb830
-rw-r--r--lib/net/smtp.rb1281
-rw-r--r--lib/net/telnet.rb592
-rw-r--r--lib/observer.rb107
-rw-r--r--lib/open-uri.rb756
-rw-r--r--lib/open3.rb678
-rw-r--r--lib/optparse.rb2542
-rw-r--r--lib/optparse/ac.rb50
-rw-r--r--lib/optparse/date.rb17
-rw-r--r--lib/optparse/shellwords.rb2
-rw-r--r--lib/optparse/time.rb2
-rw-r--r--lib/optparse/uri.rb2
-rw-r--r--lib/optparse/version.rb70
-rw-r--r--lib/ostruct.rb280
-rw-r--r--lib/parsearg.rb83
-rw-r--r--lib/parsedate.rb15
-rw-r--r--lib/ping.rb64
-rw-r--r--lib/pp.rb729
-rw-r--r--lib/prettyprint.rb985
-rw-r--r--lib/prime.rb490
-rw-r--r--lib/profile.rb4
-rw-r--r--lib/profiler.rb157
-rw-r--r--lib/pstore.rb483
-rw-r--r--lib/racc/parser.rb556
-rw-r--r--lib/racc/rdoc/grammar.en.rdoc219
-rw-r--r--lib/rake.rb73
-rw-r--r--lib/rake/alt_system.rb108
-rw-r--r--lib/rake/application.rb728
-rw-r--r--lib/rake/backtrace.rb20
-rw-r--r--lib/rake/clean.rb55
-rw-r--r--lib/rake/cloneable.rb16
-rw-r--r--lib/rake/contrib/compositepublisher.rb21
-rw-r--r--lib/rake/contrib/ftptools.rb139
-rw-r--r--lib/rake/contrib/publisher.rb73
-rw-r--r--lib/rake/contrib/rubyforgepublisher.rb16
-rw-r--r--lib/rake/contrib/sshpublisher.rb50
-rw-r--r--lib/rake/contrib/sys.rb2
-rw-r--r--lib/rake/default_loader.rb10
-rw-r--r--lib/rake/dsl_definition.rb157
-rw-r--r--lib/rake/early_time.rb18
-rw-r--r--lib/rake/ext/core.rb28
-rw-r--r--lib/rake/ext/module.rb1
-rw-r--r--lib/rake/ext/string.rb166
-rw-r--r--lib/rake/ext/time.rb15
-rw-r--r--lib/rake/file_creation_task.rb24
-rw-r--r--lib/rake/file_list.rb416
-rw-r--r--lib/rake/file_task.rb46
-rw-r--r--lib/rake/file_utils.rb116
-rw-r--r--lib/rake/file_utils_ext.rb144
-rw-r--r--lib/rake/gempackagetask.rb2
-rw-r--r--lib/rake/invocation_chain.rb57
-rw-r--r--lib/rake/invocation_exception_mixin.rb16
-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/loaders/makefile.rb40
-rw-r--r--lib/rake/multi_task.rb13
-rw-r--r--lib/rake/name_space.rb25
-rw-r--r--lib/rake/packagetask.rb190
-rw-r--r--lib/rake/pathmap.rb1
-rw-r--r--lib/rake/phony.rb15
-rw-r--r--lib/rake/private_reader.rb20
-rw-r--r--lib/rake/promise.rb99
-rw-r--r--lib/rake/pseudo_status.rb29
-rw-r--r--lib/rake/rake_module.rb37
-rw-r--r--lib/rake/rake_test_loader.rb22
-rw-r--r--lib/rake/rdoctask.rb2
-rw-r--r--lib/rake/ruby182_test_unit_fix.rb27
-rw-r--r--lib/rake/rule_recursion_overflow_error.rb20
-rw-r--r--lib/rake/runtest.rb22
-rw-r--r--lib/rake/scope.rb42
-rw-r--r--lib/rake/task.rb378
-rw-r--r--lib/rake/task_argument_error.rb7
-rw-r--r--lib/rake/task_arguments.rb89
-rw-r--r--lib/rake/task_manager.rb297
-rw-r--r--lib/rake/tasklib.rb22
-rw-r--r--lib/rake/testtask.rb201
-rw-r--r--lib/rake/thread_history_display.rb48
-rw-r--r--lib/rake/thread_pool.rb161
-rw-r--r--lib/rake/trace_output.rb22
-rw-r--r--lib/rake/version.rb9
-rw-r--r--lib/rake/win32.rb56
-rw-r--r--lib/rational.rb374
-rw-r--r--lib/rbconfig/.document1
-rw-r--r--lib/rbconfig/datadir.rb13
-rw-r--r--lib/rbconfig/obsolete.rb38
-rw-r--r--lib/rdoc.rb183
-rw-r--r--lib/rdoc/alias.rb111
-rw-r--r--lib/rdoc/anon_class.rb10
-rw-r--r--lib/rdoc/any_method.rb308
-rw-r--r--lib/rdoc/attr.rb175
-rw-r--r--lib/rdoc/class_module.rb799
-rw-r--r--lib/rdoc/code_object.rb429
-rw-r--r--lib/rdoc/code_objects.rb5
-rw-r--r--lib/rdoc/comment.rb229
-rw-r--r--lib/rdoc/constant.rb186
-rw-r--r--lib/rdoc/context.rb1208
-rw-r--r--lib/rdoc/context/section.rb238
-rw-r--r--lib/rdoc/cross_reference.rb183
-rw-r--r--lib/rdoc/encoding.rb97
-rw-r--r--lib/rdoc/erb_partial.rb18
-rw-r--r--lib/rdoc/erbio.rb37
-rw-r--r--lib/rdoc/extend.rb9
-rw-r--r--lib/rdoc/generator.rb50
-rw-r--r--lib/rdoc/generator/darkfish.rb759
-rw-r--r--lib/rdoc/generator/json_index.rb248
-rw-r--r--lib/rdoc/generator/markup.rb169
-rw-r--r--lib/rdoc/generator/ri.rb30
-rw-r--r--lib/rdoc/generator/template/darkfish/.document (renamed from install-sh)0
-rw-r--r--lib/rdoc/generator/template/darkfish/_footer.rhtml5
-rw-r--r--lib/rdoc/generator/template/darkfish/_head.rhtml22
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml19
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml9
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml15
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml9
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml15
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml15
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml12
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml11
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml12
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml11
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml14
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml11
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml18
-rw-r--r--lib/rdoc/generator/template/darkfish/class.rhtml174
-rw-r--r--lib/rdoc/generator/template/darkfish/fonts.css167
-rw-r--r--lib/rdoc/generator/template/darkfish/fonts/Lato-Light.ttfbin0 -> 94668 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttfbin0 -> 94196 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttfbin0 -> 96184 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttfbin0 -> 95316 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttfbin0 -> 71200 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttfbin0 -> 71692 bytes-rwxr-xr-xlib/rdoc/generator/template/darkfish/images/add.pngbin0 -> 733 bytes-rwxr-xr-xlib/rdoc/generator/template/darkfish/images/arrow_up.pngbin0 -> 372 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/brick.pngbin0 -> 452 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/brick_link.pngbin0 -> 764 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/bug.pngbin0 -> 774 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/bullet_black.pngbin0 -> 211 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.pngbin0 -> 207 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.pngbin0 -> 209 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/date.pngbin0 -> 626 bytes-rwxr-xr-xlib/rdoc/generator/template/darkfish/images/delete.pngbin0 -> 715 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/find.pngbin0 -> 659 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/loadingAnimation.gifbin0 -> 5886 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/macFFBgHack.pngbin0 -> 207 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/package.pngbin0 -> 853 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/page_green.pngbin0 -> 621 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/page_white_text.pngbin0 -> 342 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/page_white_width.pngbin0 -> 309 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/plugin.pngbin0 -> 591 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/ruby.pngbin0 -> 592 bytes-rwxr-xr-xlib/rdoc/generator/template/darkfish/images/tag_blue.pngbin0 -> 1880 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/tag_green.pngbin0 -> 613 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/transparent.pngbin0 -> 97 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/wrench.pngbin0 -> 610 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/wrench_orange.pngbin0 -> 584 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/zoom.pngbin0 -> 692 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/index.rhtml23
-rw-r--r--lib/rdoc/generator/template/darkfish/js/darkfish.js140
-rw-r--r--lib/rdoc/generator/template/darkfish/js/jquery.js4
-rw-r--r--lib/rdoc/generator/template/darkfish/js/search.js109
-rw-r--r--lib/rdoc/generator/template/darkfish/page.rhtml18
-rw-r--r--lib/rdoc/generator/template/darkfish/rdoc.css580
-rw-r--r--lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml18
-rw-r--r--lib/rdoc/generator/template/darkfish/servlet_root.rhtml63
-rw-r--r--lib/rdoc/generator/template/darkfish/table_of_contents.rhtml58
-rw-r--r--lib/rdoc/generator/template/json_index/.document1
-rw-r--r--lib/rdoc/generator/template/json_index/js/navigation.js142
-rw-r--r--lib/rdoc/generator/template/json_index/js/searcher.js228
-rw-r--r--lib/rdoc/ghost_method.rb6
-rw-r--r--lib/rdoc/include.rb9
-rw-r--r--lib/rdoc/known_classes.rb73
-rw-r--r--lib/rdoc/markdown.rb15961
-rw-r--r--lib/rdoc/markdown/entities.rb2131
-rw-r--r--lib/rdoc/markdown/literals_1_9.rb420
-rw-r--r--lib/rdoc/markup.rb869
-rw-r--r--lib/rdoc/markup/attr_changer.rb22
-rw-r--r--lib/rdoc/markup/attr_span.rb29
-rw-r--r--lib/rdoc/markup/attribute_manager.rb343
-rw-r--r--lib/rdoc/markup/attributes.rb70
-rw-r--r--lib/rdoc/markup/blank_line.rb27
-rw-r--r--lib/rdoc/markup/block_quote.rb14
-rw-r--r--lib/rdoc/markup/document.rb164
-rw-r--r--lib/rdoc/markup/formatter.rb264
-rw-r--r--lib/rdoc/markup/formatter_test_case.rb767
-rw-r--r--lib/rdoc/markup/hard_break.rb31
-rw-r--r--lib/rdoc/markup/heading.rb78
-rw-r--r--lib/rdoc/markup/include.rb42
-rw-r--r--lib/rdoc/markup/indented_paragraph.rb47
-rw-r--r--lib/rdoc/markup/inline.rb1
-rw-r--r--lib/rdoc/markup/list.rb101
-rw-r--r--lib/rdoc/markup/list_item.rb99
-rw-r--r--lib/rdoc/markup/paragraph.rb28
-rw-r--r--lib/rdoc/markup/parser.rb558
-rw-r--r--lib/rdoc/markup/pre_process.rb293
-rw-r--r--lib/rdoc/markup/raw.rb69
-rw-r--r--lib/rdoc/markup/rule.rb20
-rw-r--r--lib/rdoc/markup/special.rb40
-rw-r--r--lib/rdoc/markup/text_formatter_test_case.rb114
-rw-r--r--lib/rdoc/markup/to_ansi.rb93
-rw-r--r--lib/rdoc/markup/to_bs.rb78
-rw-r--r--lib/rdoc/markup/to_html.rb397
-rw-r--r--lib/rdoc/markup/to_html_crossref.rb160
-rw-r--r--lib/rdoc/markup/to_html_snippet.rb284
-rw-r--r--lib/rdoc/markup/to_joined_paragraph.rb71
-rw-r--r--lib/rdoc/markup/to_label.rb74
-rw-r--r--lib/rdoc/markup/to_markdown.rb191
-rw-r--r--lib/rdoc/markup/to_rdoc.rb333
-rw-r--r--lib/rdoc/markup/to_table_of_contents.rb87
-rw-r--r--lib/rdoc/markup/to_test.rb69
-rw-r--r--lib/rdoc/markup/to_tt_only.rb120
-rw-r--r--lib/rdoc/markup/verbatim.rb83
-rw-r--r--lib/rdoc/meta_method.rb6
-rw-r--r--lib/rdoc/method_attr.rb410
-rw-r--r--lib/rdoc/mixin.rb120
-rw-r--r--lib/rdoc/normal_class.rb92
-rw-r--r--lib/rdoc/normal_module.rb73
-rw-r--r--lib/rdoc/options.rb1199
-rw-r--r--lib/rdoc/parser.rb310
-rw-r--r--lib/rdoc/parser/c.rb1229
-rw-r--r--lib/rdoc/parser/changelog.rb194
-rw-r--r--lib/rdoc/parser/markdown.rb23
-rw-r--r--lib/rdoc/parser/rd.rb22
-rw-r--r--lib/rdoc/parser/ruby.rb2160
-rw-r--r--lib/rdoc/parser/ruby_tools.rb167
-rw-r--r--lib/rdoc/parser/simple.rb61
-rw-r--r--lib/rdoc/parser/text.rb11
-rw-r--r--lib/rdoc/rd.rb99
-rw-r--r--lib/rdoc/rd/block_parser.rb1055
-rw-r--r--lib/rdoc/rd/inline.rb71
-rw-r--r--lib/rdoc/rd/inline_parser.rb1207
-rw-r--r--lib/rdoc/rdoc.rb568
-rw-r--r--lib/rdoc/require.rb51
-rw-r--r--lib/rdoc/ri.rb20
-rw-r--r--lib/rdoc/ri/driver.rb1497
-rw-r--r--lib/rdoc/ri/formatter.rb5
-rw-r--r--lib/rdoc/ri/paths.rb187
-rw-r--r--lib/rdoc/ri/store.rb6
-rw-r--r--lib/rdoc/ruby_lex.rb1377
-rw-r--r--lib/rdoc/ruby_token.rb460
-rw-r--r--lib/rdoc/rubygems_hook.rb247
-rw-r--r--lib/rdoc/servlet.rb441
-rw-r--r--lib/rdoc/single_class.rb21
-rw-r--r--lib/rdoc/stats.rb457
-rw-r--r--lib/rdoc/stats/normal.rb48
-rw-r--r--lib/rdoc/stats/quiet.rb59
-rw-r--r--lib/rdoc/stats/verbose.rb45
-rw-r--r--lib/rdoc/store.rb979
-rw-r--r--lib/rdoc/task.rb330
-rw-r--r--lib/rdoc/test_case.rb217
-rw-r--r--lib/rdoc/text.rb315
-rw-r--r--lib/rdoc/token_stream.rb95
-rw-r--r--lib/rdoc/tom_doc.rb257
-rw-r--r--lib/rdoc/top_level.rb282
-rw-r--r--lib/readbytes.rb36
-rw-r--r--lib/resolv-replace.rb75
-rw-r--r--lib/resolv.rb2140
-rw-r--r--lib/rexml/attlistdecl.rb62
-rw-r--r--lib/rexml/attribute.rb191
-rw-r--r--lib/rexml/cdata.rb67
-rw-r--r--lib/rexml/child.rb96
-rw-r--r--lib/rexml/comment.rb80
-rw-r--r--lib/rexml/doctype.rb269
-rw-r--r--lib/rexml/document.rb286
-rw-r--r--lib/rexml/dtd/attlistdecl.rb10
-rw-r--r--lib/rexml/dtd/dtd.rb51
-rw-r--r--lib/rexml/dtd/elementdecl.rb17
-rw-r--r--lib/rexml/dtd/entitydecl.rb56
-rw-r--r--lib/rexml/dtd/notationdecl.rb39
-rw-r--r--lib/rexml/element.rb1242
-rw-r--r--lib/rexml/encoding.rb50
-rw-r--r--lib/rexml/entity.rb172
-rw-r--r--lib/rexml/formatters/default.rb111
-rw-r--r--lib/rexml/formatters/pretty.rb141
-rw-r--r--lib/rexml/formatters/transitive.rb57
-rw-r--r--lib/rexml/functions.rb394
-rw-r--r--lib/rexml/instruction.rb70
-rw-r--r--lib/rexml/light/node.rb195
-rw-r--r--lib/rexml/namespace.rb47
-rw-r--r--lib/rexml/node.rb75
-rw-r--r--lib/rexml/output.rb29
-rw-r--r--lib/rexml/parent.rb167
-rw-r--r--lib/rexml/parseexception.rb51
-rw-r--r--lib/rexml/parsers/baseparser.rb532
-rw-r--r--lib/rexml/parsers/lightparser.rb58
-rw-r--r--lib/rexml/parsers/pullparser.rb196
-rw-r--r--lib/rexml/parsers/sax2parser.rb273
-rw-r--r--lib/rexml/parsers/streamparser.rb52
-rw-r--r--lib/rexml/parsers/treeparser.rb100
-rw-r--r--lib/rexml/parsers/ultralightparser.rb56
-rw-r--r--lib/rexml/parsers/xpathparser.rb697
-rw-r--r--lib/rexml/quickpath.rb265
-rw-r--r--lib/rexml/rexml.rb31
-rw-r--r--lib/rexml/sax2listener.rb97
-rw-r--r--lib/rexml/security.rb27
-rw-r--r--lib/rexml/source.rb296
-rw-r--r--lib/rexml/streamlistener.rb92
-rw-r--r--lib/rexml/syncenumerator.rb32
-rw-r--r--lib/rexml/text.rb425
-rw-r--r--lib/rexml/undefinednamespaceexception.rb8
-rw-r--r--lib/rexml/validation/relaxng.rb559
-rw-r--r--lib/rexml/validation/validation.rb155
-rw-r--r--lib/rexml/validation/validationexception.rb9
-rw-r--r--lib/rexml/xmldecl.rb115
-rw-r--r--lib/rexml/xmltokens.rb18
-rw-r--r--lib/rexml/xpath.rb80
-rw-r--r--lib/rexml/xpath_parser.rb803
-rw-r--r--lib/rinda/rinda.rb327
-rw-r--r--lib/rinda/ring.rb498
-rw-r--r--lib/rinda/tuplespace.rb642
-rw-r--r--lib/rss.rb91
-rw-r--r--lib/rss/0.9.rb461
-rw-r--r--lib/rss/1.0.rb484
-rw-r--r--lib/rss/2.0.rb142
-rw-r--r--lib/rss/atom.rb839
-rw-r--r--lib/rss/content.rb33
-rw-r--r--lib/rss/content/1.0.rb9
-rw-r--r--lib/rss/content/2.0.rb11
-rw-r--r--lib/rss/converter.rb170
-rw-r--r--lib/rss/dublincore.rb163
-rw-r--r--lib/rss/dublincore/1.0.rb12
-rw-r--r--lib/rss/dublincore/2.0.rb12
-rw-r--r--lib/rss/dublincore/atom.rb16
-rw-r--r--lib/rss/image.rb197
-rw-r--r--lib/rss/itunes.rb412
-rw-r--r--lib/rss/maker.rb78
-rw-r--r--lib/rss/maker/0.9.rb508
-rw-r--r--lib/rss/maker/1.0.rb435
-rw-r--r--lib/rss/maker/2.0.rb223
-rw-r--r--lib/rss/maker/atom.rb172
-rw-r--r--lib/rss/maker/base.rb944
-rw-r--r--lib/rss/maker/content.rb21
-rw-r--r--lib/rss/maker/dublincore.rb121
-rw-r--r--lib/rss/maker/entry.rb163
-rw-r--r--lib/rss/maker/feed.rb426
-rw-r--r--lib/rss/maker/image.rb111
-rw-r--r--lib/rss/maker/itunes.rb242
-rw-r--r--lib/rss/maker/slash.rb33
-rw-r--r--lib/rss/maker/syndication.rb18
-rw-r--r--lib/rss/maker/taxonomy.rb118
-rw-r--r--lib/rss/maker/trackback.rb61
-rw-r--r--lib/rss/parser.rb570
-rw-r--r--lib/rss/rexmlparser.rb49
-rw-r--r--lib/rss/rss.rb1352
-rw-r--r--lib/rss/slash.rb51
-rw-r--r--lib/rss/syndication.rb68
-rw-r--r--lib/rss/taxonomy.rb147
-rw-r--r--lib/rss/trackback.rb290
-rw-r--r--lib/rss/utils.rb199
-rw-r--r--lib/rss/xml-stylesheet.rb105
-rw-r--r--lib/rss/xml.rb71
-rw-r--r--lib/rss/xmlparser.rb94
-rw-r--r--lib/rss/xmlscanner.rb121
-rw-r--r--lib/rubygems.rb1217
-rw-r--r--lib/rubygems/LICENSE.txt54
-rw-r--r--lib/rubygems/available_set.rb164
-rw-r--r--lib/rubygems/basic_specification.rb250
-rw-r--r--lib/rubygems/command.rb579
-rw-r--r--lib/rubygems/command_manager.rb217
-rw-r--r--lib/rubygems/commands/build_command.rb60
-rw-r--r--lib/rubygems/commands/cert_command.rb278
-rw-r--r--lib/rubygems/commands/check_command.rb93
-rw-r--r--lib/rubygems/commands/cleanup_command.rb165
-rw-r--r--lib/rubygems/commands/contents_command.rb170
-rw-r--r--lib/rubygems/commands/dependency_command.rb207
-rw-r--r--lib/rubygems/commands/environment_command.rb155
-rw-r--r--lib/rubygems/commands/fetch_command.rb77
-rw-r--r--lib/rubygems/commands/generate_index_command.rb84
-rw-r--r--lib/rubygems/commands/help_command.rb205
-rw-r--r--lib/rubygems/commands/install_command.rb309
-rw-r--r--lib/rubygems/commands/list_command.rb40
-rw-r--r--lib/rubygems/commands/lock_command.rb110
-rw-r--r--lib/rubygems/commands/mirror_command.rb23
-rw-r--r--lib/rubygems/commands/outdated_command.rb32
-rw-r--r--lib/rubygems/commands/owner_command.rb97
-rw-r--r--lib/rubygems/commands/pristine_command.rb151
-rw-r--r--lib/rubygems/commands/push_command.rb98
-rw-r--r--lib/rubygems/commands/query_command.rb343
-rw-r--r--lib/rubygems/commands/rdoc_command.rb96
-rw-r--r--lib/rubygems/commands/search_command.rb40
-rw-r--r--lib/rubygems/commands/server_command.rb86
-rw-r--r--lib/rubygems/commands/setup_command.rb483
-rw-r--r--lib/rubygems/commands/sources_command.rb210
-rw-r--r--lib/rubygems/commands/specification_command.rb145
-rw-r--r--lib/rubygems/commands/stale_command.rb38
-rw-r--r--lib/rubygems/commands/uninstall_command.rb152
-rw-r--r--lib/rubygems/commands/unpack_command.rb182
-rw-r--r--lib/rubygems/commands/update_command.rb275
-rw-r--r--lib/rubygems/commands/which_command.rb90
-rw-r--r--lib/rubygems/commands/yank_command.rb112
-rw-r--r--lib/rubygems/compatibility.rb60
-rw-r--r--lib/rubygems/config_file.rb472
-rw-r--r--lib/rubygems/core_ext/kernel_gem.rb59
-rwxr-xr-xlib/rubygems/core_ext/kernel_require.rb149
-rw-r--r--lib/rubygems/defaults.rb163
-rw-r--r--lib/rubygems/dependency.rb313
-rw-r--r--lib/rubygems/dependency_installer.rb441
-rw-r--r--lib/rubygems/dependency_list.rb244
-rw-r--r--lib/rubygems/deprecate.rb70
-rw-r--r--lib/rubygems/doctor.rb131
-rw-r--r--lib/rubygems/errors.rb107
-rw-r--r--lib/rubygems/exceptions.rb250
-rw-r--r--lib/rubygems/ext.rb18
-rw-r--r--lib/rubygems/ext/build_error.rb6
-rw-r--r--lib/rubygems/ext/builder.rb218
-rw-r--r--lib/rubygems/ext/cmake_builder.rb16
-rw-r--r--lib/rubygems/ext/configure_builder.rb23
-rw-r--r--lib/rubygems/ext/ext_conf_builder.rb76
-rw-r--r--lib/rubygems/ext/rake_builder.rb36
-rw-r--r--lib/rubygems/gem_runner.rb81
-rw-r--r--lib/rubygems/gemcutter_utilities.rb154
-rw-r--r--lib/rubygems/indexer.rb498
-rw-r--r--lib/rubygems/install_default_message.rb12
-rw-r--r--lib/rubygems/install_message.rb12
-rw-r--r--lib/rubygems/install_update_options.rb169
-rw-r--r--lib/rubygems/installer.rb794
-rw-r--r--lib/rubygems/installer_test_case.rb191
-rw-r--r--lib/rubygems/local_remote_options.rb148
-rw-r--r--lib/rubygems/mock_gem_ui.rb88
-rw-r--r--lib/rubygems/name_tuple.rb121
-rw-r--r--lib/rubygems/package.rb600
-rw-r--r--lib/rubygems/package/digest_io.rb64
-rw-r--r--lib/rubygems/package/old.rb178
-rw-r--r--lib/rubygems/package/tar_header.rb229
-rw-r--r--lib/rubygems/package/tar_reader.rb123
-rw-r--r--lib/rubygems/package/tar_reader/entry.rb145
-rw-r--r--lib/rubygems/package/tar_test_case.rb137
-rw-r--r--lib/rubygems/package/tar_writer.rb320
-rw-r--r--lib/rubygems/package_task.rb128
-rw-r--r--lib/rubygems/path_support.rb87
-rw-r--r--lib/rubygems/platform.rb203
-rw-r--r--lib/rubygems/psych_additions.rb9
-rw-r--r--lib/rubygems/psych_tree.rb31
-rw-r--r--lib/rubygems/rdoc.rb336
-rw-r--r--lib/rubygems/remote_fetcher.rb347
-rw-r--r--lib/rubygems/request.rb274
-rw-r--r--lib/rubygems/request_set.rb304
-rw-r--r--lib/rubygems/request_set/gem_dependency_api.rb521
-rw-r--r--lib/rubygems/request_set/lockfile.rb584
-rw-r--r--lib/rubygems/requirement.rb270
-rw-r--r--lib/rubygems/resolver.rb452
-rw-r--r--lib/rubygems/resolver/activation_request.rb165
-rw-r--r--lib/rubygems/resolver/api_set.rb115
-rw-r--r--lib/rubygems/resolver/api_specification.rb79
-rw-r--r--lib/rubygems/resolver/best_set.rb50
-rw-r--r--lib/rubygems/resolver/composed_set.rb50
-rw-r--r--lib/rubygems/resolver/conflict.rb122
-rw-r--r--lib/rubygems/resolver/current_set.rb13
-rw-r--r--lib/rubygems/resolver/dependency_request.rb97
-rw-r--r--lib/rubygems/resolver/git_set.rb122
-rw-r--r--lib/rubygems/resolver/git_specification.rb35
-rw-r--r--lib/rubygems/resolver/index_set.rb78
-rw-r--r--lib/rubygems/resolver/index_specification.rb69
-rw-r--r--lib/rubygems/resolver/installed_specification.rb40
-rw-r--r--lib/rubygems/resolver/installer_set.rb138
-rw-r--r--lib/rubygems/resolver/local_specification.rb16
-rw-r--r--lib/rubygems/resolver/lock_set.rb80
-rw-r--r--lib/rubygems/resolver/lock_specification.rb58
-rw-r--r--lib/rubygems/resolver/requirement_list.rb81
-rw-r--r--lib/rubygems/resolver/set.rb44
-rw-r--r--lib/rubygems/resolver/spec_specification.rb58
-rw-r--r--lib/rubygems/resolver/specification.rb89
-rw-r--r--lib/rubygems/resolver/stats.rb44
-rw-r--r--lib/rubygems/resolver/vendor_set.rb85
-rw-r--r--lib/rubygems/resolver/vendor_specification.rb24
-rw-r--r--lib/rubygems/security.rb595
-rw-r--r--lib/rubygems/security/policies.rb115
-rw-r--r--lib/rubygems/security/policy.rb294
-rw-r--r--lib/rubygems/security/signer.rb154
-rw-r--r--lib/rubygems/security/trust_dir.rb118
-rw-r--r--lib/rubygems/server.rb833
-rw-r--r--lib/rubygems/source.rb222
-rw-r--r--lib/rubygems/source/git.rb232
-rw-r--r--lib/rubygems/source/installed.rb35
-rw-r--r--lib/rubygems/source/local.rb129
-rw-r--r--lib/rubygems/source/lock.rb48
-rw-r--r--lib/rubygems/source/specific_file.rb67
-rw-r--r--lib/rubygems/source/vendor.rb27
-rw-r--r--lib/rubygems/source_list.rb149
-rw-r--r--lib/rubygems/source_local.rb5
-rw-r--r--lib/rubygems/source_specific_file.rb4
-rw-r--r--lib/rubygems/spec_fetcher.rb276
-rw-r--r--lib/rubygems/specification.rb2757
-rw-r--r--lib/rubygems/ssl_certs/.document1
-rw-r--r--lib/rubygems/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem14
-rw-r--r--lib/rubygems/ssl_certs/DigiCertHighAssuranceEVRootCA.pem23
-rw-r--r--lib/rubygems/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem28
-rw-r--r--lib/rubygems/ssl_certs/GeoTrustGlobalCA.pem20
-rw-r--r--lib/rubygems/stub_specification.rb176
-rw-r--r--lib/rubygems/syck_hack.rb76
-rw-r--r--lib/rubygems/test_case.rb1393
-rw-r--r--lib/rubygems/test_utilities.rb381
-rw-r--r--lib/rubygems/text.rb65
-rw-r--r--lib/rubygems/uninstaller.rb342
-rw-r--r--lib/rubygems/uri_formatter.rb49
-rw-r--r--lib/rubygems/user_interaction.rb694
-rw-r--r--lib/rubygems/util.rb121
-rw-r--r--lib/rubygems/util/list.rb48
-rw-r--r--lib/rubygems/util/stringio.rb34
-rw-r--r--lib/rubygems/validator.rb165
-rw-r--r--lib/rubygems/version.rb352
-rw-r--r--lib/rubygems/version_option.rb71
-rw-r--r--lib/rubyunit.rb8
-rw-r--r--lib/runit/assert.rb71
-rw-r--r--lib/runit/cui/testrunner.rb51
-rw-r--r--lib/runit/error.rb9
-rw-r--r--lib/runit/testcase.rb45
-rw-r--r--lib/runit/testresult.rb44
-rw-r--r--lib/runit/testsuite.rb26
-rw-r--r--lib/runit/topublic.rb8
-rw-r--r--lib/scanf.rb776
-rw-r--r--lib/securerandom.rb260
-rw-r--r--lib/set.rb1194
-rw-r--r--lib/shell.rb293
-rw-r--r--lib/shell/builtin-command.rb68
-rw-r--r--lib/shell/command-processor.rb724
-rw-r--r--lib/shell/error.rb11
-rw-r--r--lib/shell/filter.rb92
-rw-r--r--lib/shell/process-controller.rb351
-rw-r--r--lib/shell/system-command.rb147
-rw-r--r--lib/shell/version.rb15
-rw-r--r--lib/shellwords.rb235
-rw-r--r--lib/singleton.rb436
-rw-r--r--lib/sync.rb343
-rw-r--r--lib/tempfile.rb397
-rw-r--r--lib/test/unit.rb1072
-rw-r--r--lib/test/unit/assertionfailederror.rb14
-rw-r--r--lib/test/unit/assertions.rb673
-rw-r--r--lib/test/unit/error.rb68
-rw-r--r--lib/test/unit/failure.rb45
-rw-r--r--lib/test/unit/parallel.rb189
-rw-r--r--lib/test/unit/test-unit.gemspec14
-rw-r--r--lib/test/unit/testcase.rb150
-rw-r--r--lib/test/unit/testresult.rb81
-rw-r--r--lib/test/unit/testsuite.rb64
-rw-r--r--lib/test/unit/ui/console/testrunner.rb135
-rw-r--r--lib/test/unit/ui/fox/testrunner.rb270
-rw-r--r--lib/test/unit/ui/gtk/testrunner.rb389
-rw-r--r--lib/test/unit/ui/testrunnermediator.rb75
-rw-r--r--lib/test/unit/ui/testrunnerutilities.rb36
-rw-r--r--lib/test/unit/util/observable.rb90
-rw-r--r--lib/test/unit/util/procwrapper.rb48
-rw-r--r--lib/thread.rb415
-rw-r--r--lib/thwait.rb96
-rw-r--r--lib/time.rb783
-rw-r--r--lib/timeout.rb158
-rw-r--r--lib/tmpdir.rb152
-rw-r--r--lib/tracer.rb259
-rw-r--r--lib/tsort.rb622
-rw-r--r--lib/ubygems.rb10
-rw-r--r--lib/un.rb375
-rw-r--r--lib/uri.rb122
-rw-r--r--lib/uri/common.rb1355
-rw-r--r--lib/uri/ftp.rb245
-rw-r--r--lib/uri/generic.rb1646
-rw-r--r--lib/uri/http.rb118
-rw-r--r--lib/uri/https.rb24
-rw-r--r--lib/uri/ldap.rb180
-rw-r--r--lib/uri/ldaps.rb20
-rw-r--r--lib/uri/mailto.rb282
-rw-r--r--lib/weakref.rb154
-rw-r--r--lib/webrick.rb226
-rw-r--r--lib/webrick/accesslog.rb158
-rw-r--r--lib/webrick/cgi.rb308
-rw-r--r--lib/webrick/compat.rb35
-rw-r--r--lib/webrick/config.rb151
-rw-r--r--lib/webrick/cookie.rb171
-rw-r--r--lib/webrick/htmlutils.rb29
-rw-r--r--lib/webrick/httpauth.rb95
-rw-r--r--lib/webrick/httpauth/authenticator.rb116
-rw-r--r--lib/webrick/httpauth/basicauth.rb108
-rw-r--r--lib/webrick/httpauth/digestauth.rb408
-rw-r--r--lib/webrick/httpauth/htdigest.rb131
-rw-r--r--lib/webrick/httpauth/htgroup.rb93
-rw-r--r--lib/webrick/httpauth/htpasswd.rb124
-rw-r--r--lib/webrick/httpauth/userdb.rb52
-rw-r--r--lib/webrick/httpproxy.rb339
-rw-r--r--lib/webrick/httprequest.rb584
-rw-r--r--lib/webrick/httpresponse.rb466
-rw-r--r--lib/webrick/https.rb86
-rw-r--r--lib/webrick/httpserver.rb278
-rw-r--r--lib/webrick/httpservlet.rb22
-rw-r--r--lib/webrick/httpservlet/abstract.rb153
-rw-r--r--lib/webrick/httpservlet/cgi_runner.rb46
-rw-r--r--lib/webrick/httpservlet/cgihandler.rb123
-rw-r--r--lib/webrick/httpservlet/erbhandler.rb87
-rw-r--r--lib/webrick/httpservlet/filehandler.rb520
-rw-r--r--lib/webrick/httpservlet/prochandler.rb46
-rw-r--r--lib/webrick/httpstatus.rb194
-rw-r--r--lib/webrick/httputils.rb509
-rw-r--r--lib/webrick/httpversion.rb75
-rw-r--r--lib/webrick/log.rb155
-rw-r--r--lib/webrick/server.rb325
-rw-r--r--lib/webrick/ssl.rb195
-rw-r--r--lib/webrick/utils.rb233
-rw-r--r--lib/webrick/version.rb17
-rw-r--r--lib/xmlrpc.rb301
-rw-r--r--lib/xmlrpc/base64.rb62
-rw-r--r--lib/xmlrpc/client.rb614
-rw-r--r--lib/xmlrpc/config.rb42
-rw-r--r--lib/xmlrpc/create.rb286
-rw-r--r--lib/xmlrpc/datetime.rb129
-rw-r--r--lib/xmlrpc/httpserver.rb173
-rw-r--r--lib/xmlrpc/marshal.rb66
-rw-r--r--lib/xmlrpc/parser.rb838
-rw-r--r--lib/xmlrpc/server.rb707
-rw-r--r--lib/xmlrpc/utils.rb171
-rw-r--r--lib/yaml.rb89
-rw-r--r--lib/yaml/dbm.rb279
-rw-r--r--lib/yaml/store.rb81
-rw-r--r--load.c1190
-rw-r--r--loadpath.c92
-rw-r--r--localeinit.c65
-rw-r--r--main.c50
-rw-r--r--man/erb.1157
-rw-r--r--man/goruby.139
-rw-r--r--man/irb.1173
-rw-r--r--man/rake.1205
-rw-r--r--man/ri.1181
-rw-r--r--man/ruby.1516
-rw-r--r--marshal.c1906
-rw-r--r--math.c917
-rwxr-xr-xmdoc2man.rb465
-rw-r--r--method.h142
-rw-r--r--miniinit.c30
-rw-r--r--misc/README17
-rw-r--r--misc/inf-ruby.el239
-rw-r--r--misc/rb_optparse.bash20
-rwxr-xr-xmisc/rb_optparse.zsh38
-rw-r--r--misc/rdoc-mode.el132
-rw-r--r--misc/ruby-additional.el113
-rw-r--r--misc/ruby-electric.el475
-rw-r--r--misc/ruby-mode.el1913
-rw-r--r--misc/ruby-style.el79
-rw-r--r--misc/rubydb3x.el42
-rw-r--r--missing.h125
-rw-r--r--missing/acosh.c21
-rw-r--r--missing/alloca.c13
-rw-r--r--missing/cbrt.c11
-rw-r--r--missing/close.c72
-rw-r--r--missing/crt_externs.h8
-rw-r--r--missing/crypt.c1185
-rw-r--r--missing/dup2.c5
-rw-r--r--missing/erf.c89
-rw-r--r--missing/ffs.c49
-rw-r--r--missing/file.h2
-rw-r--r--missing/finite.c5
-rw-r--r--missing/flock.c28
-rw-r--r--missing/hypot.c4
-rw-r--r--missing/isinf.c49
-rw-r--r--missing/isnan.c39
-rw-r--r--missing/langinfo.c148
-rw-r--r--missing/lgamma_r.c80
-rw-r--r--missing/memcmp.c10
-rw-r--r--missing/memmove.c18
-rw-r--r--missing/mkdir.c104
-rw-r--r--missing/os2.c31
-rw-r--r--missing/setproctitle.c170
-rw-r--r--missing/signbit.c19
-rw-r--r--missing/strcasecmp.c16
-rw-r--r--missing/strchr.c22
-rw-r--r--missing/strerror.c5
-rw-r--r--missing/strftime.c893
-rw-r--r--missing/strlcat.c74
-rw-r--r--missing/strlcpy.c70
-rw-r--r--missing/strncasecmp.c21
-rw-r--r--missing/strstr.c15
-rw-r--r--missing/strtod.c271
-rw-r--r--missing/strtol.c10
-rw-r--r--missing/strtoul.c184
-rw-r--r--missing/tgamma.c92
-rw-r--r--missing/vsnprintf.c1134
-rw-r--r--missing/x68.c40
-rw-r--r--missing/x86_64-chkstk.s10
-rw-r--r--mkconfig.rb137
-rw-r--r--nacl/GNUmakefile.in87
-rw-r--r--nacl/README.nacl34
-rw-r--r--nacl/create_nmf.rb70
-rw-r--r--nacl/dirent.h15
-rw-r--r--nacl/example.html150
-rw-r--r--nacl/ioctl.h7
-rw-r--r--nacl/nacl-config.rb61
-rw-r--r--nacl/package.rb109
-rw-r--r--nacl/pepper_main.c870
-rw-r--r--nacl/resource.h8
-rw-r--r--nacl/select.h7
-rw-r--r--nacl/signal.h6
-rw-r--r--nacl/stat.h10
-rw-r--r--nacl/unistd.h9
-rw-r--r--nacl/utime.h11
-rw-r--r--node.c904
-rw-r--r--node.h474
-rw-r--r--numeric.c3808
-rw-r--r--object.c3336
-rw-r--r--pack.c1919
-rw-r--r--parse.y10536
-rw-r--r--prec.c81
-rw-r--r--prelude.rb15
-rw-r--r--probes.d234
-rw-r--r--probes_helper.h67
-rw-r--r--proc.c2725
-rw-r--r--process.c7733
-rw-r--r--random.c1362
-rw-r--r--range.c1396
-rw-r--r--rational.c2606
-rw-r--r--re.c3739
-rw-r--r--re.h42
-rw-r--r--regcomp.c6698
-rw-r--r--regenc.c955
-rw-r--r--regenc.h223
-rw-r--r--regerror.c404
-rw-r--r--regex.c4614
-rw-r--r--regex.h224
-rw-r--r--regexec.c4370
-rw-r--r--regint.h911
-rw-r--r--regparse.c6323
-rw-r--r--regparse.h363
-rw-r--r--regsyntax.c387
-rw-r--r--ruby.1307
-rw-r--r--ruby.c2186
-rw-r--r--ruby.h666
-rw-r--r--ruby_atomic.h170
-rw-r--r--rubyio.h77
-rw-r--r--rubysig.h99
-rw-r--r--rubytest.rb44
-rw-r--r--safe.c143
-rw-r--r--sample/README15
-rw-r--r--sample/biorhythm.rb134
-rw-r--r--sample/cal.rb237
-rw-r--r--sample/cbreak.rb4
-rw-r--r--sample/coverage.rb62
-rw-r--r--sample/dbmtest.rb14
-rw-r--r--sample/drb/README.ja.rdoc59
-rw-r--r--sample/drb/README.rdoc56
-rw-r--r--sample/drb/darray.rb12
-rw-r--r--sample/drb/darrayc.rb47
-rw-r--r--sample/drb/dbiff.rb51
-rw-r--r--sample/drb/dcdbiff.rb43
-rw-r--r--sample/drb/dchatc.rb41
-rw-r--r--sample/drb/dchats.rb70
-rw-r--r--sample/drb/dhasen.rb42
-rw-r--r--sample/drb/dhasenc.rb14
-rw-r--r--sample/drb/dlogc.rb16
-rw-r--r--sample/drb/dlogd.rb39
-rw-r--r--sample/drb/dqin.rb13
-rw-r--r--sample/drb/dqlib.rb14
-rw-r--r--sample/drb/dqout.rb14
-rw-r--r--sample/drb/dqueue.rb12
-rw-r--r--sample/drb/drbc.rb45
-rw-r--r--sample/drb/drbch.rb48
-rw-r--r--sample/drb/drbm.rb60
-rw-r--r--sample/drb/drbmc.rb22
-rw-r--r--sample/drb/drbs-acl.rb51
-rw-r--r--sample/drb/drbs.rb64
-rw-r--r--sample/drb/drbssl_c.rb19
-rw-r--r--sample/drb/drbssl_s.rb31
-rw-r--r--sample/drb/extserv_test.rb80
-rw-r--r--sample/drb/gw_ct.rb29
-rw-r--r--sample/drb/gw_cu.rb28
-rw-r--r--sample/drb/gw_s.rb10
-rw-r--r--sample/drb/holderc.rb22
-rw-r--r--sample/drb/holders.rb63
-rw-r--r--sample/drb/http0.rb77
-rw-r--r--sample/drb/http0serv.rb119
-rw-r--r--sample/drb/name.rb117
-rw-r--r--sample/drb/namec.rb36
-rw-r--r--sample/drb/old_tuplespace.rb214
-rw-r--r--sample/drb/rinda_ts.rb7
-rw-r--r--sample/drb/rindac.rb17
-rw-r--r--sample/drb/rindas.rb18
-rw-r--r--sample/drb/ring_echo.rb30
-rw-r--r--sample/drb/ring_inspect.rb30
-rw-r--r--sample/drb/ring_place.rb25
-rw-r--r--sample/drb/simpletuple.rb91
-rw-r--r--sample/drb/speedc.rb21
-rw-r--r--sample/drb/speeds.rb31
-rw-r--r--sample/dualstack-fetch.rb2
-rw-r--r--sample/dualstack-httpd.rb36
-rw-r--r--sample/eval.rb2
-rw-r--r--sample/exyacc.rb32
-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.rb161
-rw-r--r--sample/fullpath.rb2
-rw-r--r--sample/getopts.test36
-rw-r--r--sample/goodfriday.rb48
-rw-r--r--sample/list.rb1
-rw-r--r--sample/list2.rb2
-rw-r--r--sample/list3.rb2
-rw-r--r--sample/logger/app.rb46
-rw-r--r--sample/logger/log.rb27
-rw-r--r--sample/logger/shifting.rb26
-rwxr-xr-x[-rw-r--r--]sample/mine.rb39
-rw-r--r--sample/mkproto.rb24
-rw-r--r--sample/mrshtest.rb13
-rw-r--r--sample/observ.rb8
-rw-r--r--sample/occur.pl8
-rw-r--r--sample/occur.rb6
-rw-r--r--sample/occur2.rb13
-rw-r--r--sample/openssl/c_rehash.rb174
-rw-r--r--sample/openssl/cert2text.rb23
-rw-r--r--sample/openssl/certstore.rb161
-rw-r--r--sample/openssl/cipher.rb54
-rw-r--r--sample/openssl/crlstore.rb122
-rw-r--r--sample/openssl/echo_cli.rb44
-rw-r--r--sample/openssl/echo_svr.rb65
-rw-r--r--sample/openssl/gen_csr.rb51
-rw-r--r--sample/openssl/smime_read.rb23
-rw-r--r--sample/openssl/smime_write.rb23
-rw-r--r--sample/openssl/wget.rb34
-rwxr-xr-xsample/optparse/opttest.rb125
-rwxr-xr-xsample/optparse/subcommand.rb19
-rw-r--r--sample/philos.rb2
-rw-r--r--sample/pty/expect_sample.rb48
-rw-r--r--sample/pty/script.rb37
-rw-r--r--sample/pty/shl.rb (renamed from ext/pty/shl.rb)0
-rw-r--r--sample/rcs.awk54
-rw-r--r--sample/rdoc/markup/rdoc2latex.rb15
-rw-r--r--sample/rdoc/markup/sample.rb40
-rw-r--r--sample/regx.rb23
-rw-r--r--sample/ripper/ruby2html.rb112
-rw-r--r--sample/ripper/strip-comment.rb19
-rwxr-xr-xsample/rss/blend.rb79
-rwxr-xr-xsample/rss/convert.rb69
-rwxr-xr-xsample/rss/list_description.rb91
-rwxr-xr-xsample/rss/re_read.rb64
-rwxr-xr-xsample/rss/rss_recent.rb85
-rw-r--r--sample/svr.rb10
-rwxr-xr-x[-rw-r--r--]sample/test.rb1114
-rw-r--r--sample/testunit/adder.rb13
-rw-r--r--sample/testunit/subtracter.rb12
-rw-r--r--sample/testunit/tc_adder.rb18
-rw-r--r--sample/testunit/tc_subtracter.rb18
-rw-r--r--sample/testunit/ts_examples.rb7
-rw-r--r--sample/time.rb16
-rw-r--r--sample/timeout.rb42
-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.mp4bin0 -> 580724 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.rb4
-rw-r--r--sample/tsvr.rb2
-rw-r--r--sample/webrick/demo-app.rb66
-rw-r--r--sample/webrick/demo-multipart.cgi12
-rw-r--r--sample/webrick/demo-servlet.rb6
-rw-r--r--sample/webrick/demo-urlencoded.cgi12
-rw-r--r--sample/webrick/hello.cgi11
-rw-r--r--sample/webrick/hello.rb8
-rw-r--r--sample/webrick/httpd.rb23
-rw-r--r--sample/webrick/httpproxy.rb25
-rw-r--r--sample/webrick/httpsd.rb33
-rw-r--r--signal.c1275
-rw-r--r--siphash.c483
-rw-r--r--siphash.h48
-rw-r--r--sparc.c40
-rw-r--r--spec/README31
-rw-r--r--spec/default.mspec21
-rw-r--r--sprintf.c1166
-rw-r--r--st.c1628
-rw-r--r--st.h53
-rw-r--r--strftime.c1163
-rw-r--r--string.c8816
-rw-r--r--struct.c1106
-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--template/Doxyfile.tmpl265
-rw-r--r--template/GNUmakefile.in6
-rw-r--r--template/encdb.h.tmpl91
-rw-r--r--template/fake.rb.in47
-rw-r--r--template/id.c.tmpl27
-rw-r--r--template/id.h.tmpl111
-rw-r--r--template/insns.inc.tmpl20
-rw-r--r--template/insns_info.inc.tmpl83
-rw-r--r--template/known_errors.inc.tmpl14
-rw-r--r--template/minsns.inc.tmpl14
-rw-r--r--template/opt_sc.inc.tmpl32
-rw-r--r--template/optinsn.inc.tmpl30
-rw-r--r--template/optunifs.inc.tmpl35
-rw-r--r--template/ruby.pc.in56
-rw-r--r--template/sizes.c.tmpl30
-rw-r--r--template/transdb.h.tmpl59
-rw-r--r--template/verconf.h.in61
-rw-r--r--template/vm.inc.tmpl29
-rw-r--r--template/vmtc.inc.tmpl18
-rw-r--r--template/yarvarch.en7
-rw-r--r--template/yarvarch.ja454
-rw-r--r--template/yasmdata.rb.tmpl20
-rw-r--r--test/-ext-/array/test_resize.rb29
-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.rb374
-rw-r--r--test/-ext-/bignum/test_str2big.rb37
-rw-r--r--test/-ext-/bug_reporter/test_bug_reporter.rb17
-rw-r--r--test/-ext-/class/test_class2name.rb18
-rw-r--r--test/-ext-/debug/test_debug.rb58
-rw-r--r--test/-ext-/debug/test_profile_frames.rb104
-rw-r--r--test/-ext-/exception/test_data_error.rb14
-rw-r--r--test/-ext-/exception/test_enc_raise.rb15
-rw-r--r--test/-ext-/exception/test_ensured.rb32
-rw-r--r--test/-ext-/file/test_stat.rb14
-rw-r--r--test/-ext-/funcall/test_passing_block.rb22
-rw-r--r--test/-ext-/iter/test_iter_break.rb15
-rw-r--r--test/-ext-/iter/test_yield_block.rb21
-rw-r--r--test/-ext-/load/test_dot_dot.rb10
-rw-r--r--test/-ext-/marshal/test_usrmarshal.rb33
-rw-r--r--test/-ext-/method/test_arity.rb37
-rw-r--r--test/-ext-/num2int/test_num2int.rb267
-rw-r--r--test/-ext-/old_thread_select/test_old_thread_select.rb103
-rw-r--r--test/-ext-/path_to_class/test_path_to_class.rb12
-rw-r--r--test/-ext-/postponed_job/test_postponed_job.rb28
-rw-r--r--test/-ext-/rational/test_rat.rb31
-rw-r--r--test/-ext-/st/test_numhash.rb49
-rw-r--r--test/-ext-/st/test_update.rb50
-rw-r--r--test/-ext-/string/test_cstr.rb42
-rw-r--r--test/-ext-/string/test_ellipsize.rb46
-rw-r--r--test/-ext-/string/test_enc_associate.rb12
-rw-r--r--test/-ext-/string/test_enc_str_buf_cat.rb15
-rw-r--r--test/-ext-/string/test_modify_expand.rb15
-rw-r--r--test/-ext-/string/test_normalize.rb106
-rw-r--r--test/-ext-/string/test_qsort.rb19
-rw-r--r--test/-ext-/string/test_set_len.rb25
-rw-r--r--test/-ext-/struct/test_member.rb16
-rw-r--r--test/-ext-/symbol/test_inadvertent_creation.rb266
-rw-r--r--test/-ext-/symbol/test_type.rb120
-rw-r--r--test/-ext-/test_bug-3571.rb21
-rw-r--r--test/-ext-/test_bug-3662.rb10
-rw-r--r--test/-ext-/test_bug-5832.rb21
-rw-r--r--test/-ext-/test_printf.rb190
-rw-r--r--test/-ext-/test_recursion.rb36
-rw-r--r--test/-ext-/tracepoint/test_tracepoint.rb80
-rw-r--r--test/-ext-/typeddata/test_typeddata.rb16
-rw-r--r--test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb45
-rw-r--r--test/-ext-/win32/test_dln.rb35
-rw-r--r--test/-ext-/win32/test_fd_setsize.rb25
-rw-r--r--test/base64/test_base64.rb100
-rw-r--r--test/benchmark/test_benchmark.rb169
-rw-r--r--test/bigdecimal/test_bigdecimal.rb1550
-rw-r--r--test/bigdecimal/test_bigdecimal_util.rb50
-rw-r--r--test/bigdecimal/test_bigmath.rb63
-rw-r--r--test/bigdecimal/testbase.rb27
-rw-r--r--test/cgi/test_cgi_cookie.rb110
-rw-r--r--test/cgi/test_cgi_core.rb373
-rw-r--r--test/cgi/test_cgi_header.rb185
-rw-r--r--test/cgi/test_cgi_modruby.rb146
-rw-r--r--test/cgi/test_cgi_multipart.rb370
-rw-r--r--test/cgi/test_cgi_session.rb172
-rw-r--r--test/cgi/test_cgi_tag_helper.rb355
-rw-r--r--test/cgi/test_cgi_util.rb89
-rw-r--r--test/cgi/testdata/file1.html10
-rw-r--r--test/cgi/testdata/large.pngbin0 -> 156414 bytes-rw-r--r--test/cgi/testdata/small.pngbin0 -> 82 bytes-rw-r--r--test/coverage/test_coverage.rb64
-rw-r--r--test/csv/base.rb8
-rw-r--r--test/csv/line_endings.gzbin0 -> 59 bytes-rwxr-xr-xtest/csv/test_csv_parsing.rb221
-rwxr-xr-xtest/csv/test_csv_writing.rb97
-rwxr-xr-xtest/csv/test_data_converters.rb263
-rwxr-xr-xtest/csv/test_encodings.rb347
-rwxr-xr-xtest/csv/test_features.rb325
-rwxr-xr-xtest/csv/test_headers.rb289
-rwxr-xr-xtest/csv/test_interface.rb362
-rwxr-xr-xtest/csv/test_row.rb349
-rwxr-xr-xtest/csv/test_table.rb420
-rw-r--r--test/csv/ts_all.rb20
-rw-r--r--test/date/test_date.rb153
-rw-r--r--test/date/test_date_arith.rb286
-rw-r--r--test/date/test_date_attr.rb112
-rw-r--r--test/date/test_date_base.rb442
-rw-r--r--test/date/test_date_compat.rb21
-rw-r--r--test/date/test_date_conv.rb137
-rw-r--r--test/date/test_date_marshal.rb41
-rw-r--r--test/date/test_date_new.rb271
-rw-r--r--test/date/test_date_parse.rb1137
-rw-r--r--test/date/test_date_strftime.rb422
-rw-r--r--test/date/test_date_strptime.rb492
-rw-r--r--test/date/test_switch_hitter.rb664
-rw-r--r--test/dbm/test_dbm.rb627
-rwxr-xr-xtest/digest/test_digest.rb201
-rw-r--r--test/digest/test_digest_extend.rb158
-rw-r--r--test/digest/test_digest_hmac.rb2
-rw-r--r--test/dl/test_base.rb146
-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.rb140
-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.rb362
-rw-r--r--test/drb/ignore_test_drb.rb10
-rw-r--r--test/drb/test_acl.rb195
-rw-r--r--test/drb/test_drb.rb322
-rw-r--r--test/drb/test_drbssl.rb62
-rw-r--r--test/drb/test_drbunix.rb46
-rw-r--r--test/drb/ut_array.rb15
-rw-r--r--test/drb/ut_array_drbssl.rb35
-rw-r--r--test/drb/ut_array_drbunix.rb15
-rw-r--r--test/drb/ut_drb.rb163
-rw-r--r--test/drb/ut_drb_drbssl.rb36
-rw-r--r--test/drb/ut_drb_drbunix.rb16
-rw-r--r--test/drb/ut_eq.rb30
-rw-r--r--test/drb/ut_eval.rb31
-rw-r--r--test/drb/ut_large.rb38
-rw-r--r--test/drb/ut_port.rb14
-rw-r--r--test/drb/ut_safe1.rb15
-rw-r--r--test/drb/ut_timerholder.rb49
-rw-r--r--test/dtrace/dummy.rb1
-rw-r--r--test/dtrace/helper.rb51
-rw-r--r--test/dtrace/test_array_create.rb35
-rw-r--r--test/dtrace/test_cmethod.rb49
-rw-r--r--test/dtrace/test_function_entry.rb87
-rw-r--r--test/dtrace/test_gc.rb26
-rw-r--r--test/dtrace/test_hash_create.rb52
-rw-r--r--test/dtrace/test_load.rb52
-rw-r--r--test/dtrace/test_method_cache.rb28
-rw-r--r--test/dtrace/test_object_create_start.rb35
-rw-r--r--test/dtrace/test_raise.rb29
-rw-r--r--test/dtrace/test_require.rb34
-rw-r--r--test/dtrace/test_singleton_function.rb55
-rw-r--r--test/dtrace/test_string.rb27
-rw-r--r--test/erb/hello.erb4
-rw-r--r--test/erb/test_erb.rb485
-rw-r--r--test/erb/test_erb_m17n.rb123
-rw-r--r--test/etc/test_etc.rb115
-rw-r--r--test/fiddle/helper.rb125
-rw-r--r--test/fiddle/test_c_struct_entry.rb76
-rw-r--r--test/fiddle/test_c_union_entity.rb34
-rw-r--r--test/fiddle/test_closure.rb84
-rw-r--r--test/fiddle/test_cparser.rb35
-rw-r--r--test/fiddle/test_fiddle.rb16
-rw-r--r--test/fiddle/test_func.rb92
-rw-r--r--test/fiddle/test_function.rb74
-rw-r--r--test/fiddle/test_handle.rb196
-rw-r--r--test/fiddle/test_import.rb149
-rw-r--r--test/fiddle/test_pointer.rb238
-rw-r--r--test/fileutils/clobber.rb91
-rw-r--r--test/fileutils/fileasserts.rb93
-rw-r--r--test/fileutils/test_dryrun.rb17
-rw-r--r--test/fileutils/test_fileutils.rb1303
-rw-r--r--test/fileutils/test_nowrite.rb17
-rw-r--r--test/fileutils/test_verbose.rb17
-rw-r--r--test/fileutils/visibility_tests.rb41
-rw-r--r--test/gdbm/test_gdbm.rb720
-rw-r--r--test/inlinetest.rb55
-rw-r--r--test/io/console/test_io_console.rb302
-rw-r--r--test/io/nonblock/test_flush.rb46
-rw-r--r--test/io/wait/test_io_wait.rb108
-rw-r--r--test/irb/test_completion.rb22
-rw-r--r--test/irb/test_option.rb12
-rw-r--r--test/json/fixtures/fail1.json1
-rw-r--r--test/json/fixtures/fail10.json1
-rw-r--r--test/json/fixtures/fail11.json1
-rw-r--r--test/json/fixtures/fail12.json1
-rw-r--r--test/json/fixtures/fail13.json1
-rw-r--r--test/json/fixtures/fail14.json1
-rw-r--r--test/json/fixtures/fail18.json1
-rw-r--r--test/json/fixtures/fail19.json1
-rw-r--r--test/json/fixtures/fail2.json1
-rw-r--r--test/json/fixtures/fail20.json1
-rw-r--r--test/json/fixtures/fail21.json1
-rw-r--r--test/json/fixtures/fail22.json1
-rw-r--r--test/json/fixtures/fail23.json1
-rw-r--r--test/json/fixtures/fail24.json1
-rw-r--r--test/json/fixtures/fail25.json1
-rw-r--r--test/json/fixtures/fail27.json2
-rw-r--r--test/json/fixtures/fail28.json2
-rw-r--r--test/json/fixtures/fail3.json1
-rw-r--r--test/json/fixtures/fail4.json1
-rw-r--r--test/json/fixtures/fail5.json1
-rw-r--r--test/json/fixtures/fail6.json1
-rw-r--r--test/json/fixtures/fail7.json1
-rw-r--r--test/json/fixtures/fail8.json1
-rw-r--r--test/json/fixtures/fail9.json1
-rw-r--r--test/json/fixtures/pass1.json56
-rw-r--r--test/json/fixtures/pass15.json1
-rw-r--r--test/json/fixtures/pass16.json1
-rw-r--r--test/json/fixtures/pass17.json1
-rw-r--r--test/json/fixtures/pass2.json1
-rw-r--r--test/json/fixtures/pass26.json1
-rw-r--r--test/json/fixtures/pass3.json6
-rw-r--r--test/json/setup_variant.rb11
-rwxr-xr-xtest/json/test_json.rb545
-rwxr-xr-xtest/json/test_json_addition.rb196
-rw-r--r--test/json/test_json_encoding.rb65
-rwxr-xr-xtest/json/test_json_fixtures.rb35
-rwxr-xr-xtest/json/test_json_generate.rb323
-rw-r--r--test/json/test_json_generic_object.rb75
-rw-r--r--test/json/test_json_string_matching.rb39
-rwxr-xr-xtest/json/test_json_unicode.rb72
-rw-r--r--test/logger/test_logger.rb648
-rw-r--r--test/matrix/test_matrix.rb426
-rw-r--r--test/matrix/test_vector.rb154
-rw-r--r--test/minitest/metametameta.rb74
-rw-r--r--test/minitest/test_minitest_benchmark.rb135
-rw-r--r--test/minitest/test_minitest_mock.rb412
-rw-r--r--test/minitest/test_minitest_spec.rb811
-rw-r--r--test/minitest/test_minitest_unit.rb1863
-rw-r--r--test/misc/test_ruby_mode.rb181
-rw-r--r--test/mkmf/base.rb129
-rw-r--r--test/mkmf/test_config.rb17
-rw-r--r--test/mkmf/test_constant.rb37
-rw-r--r--test/mkmf/test_convertible.rb34
-rw-r--r--test/mkmf/test_find_executable.rb50
-rw-r--r--test/mkmf/test_flags.rb35
-rw-r--r--test/mkmf/test_framework.rb46
-rw-r--r--test/mkmf/test_have_func.rb14
-rw-r--r--test/mkmf/test_have_library.rb55
-rw-r--r--test/mkmf/test_have_macro.rb35
-rw-r--r--test/mkmf/test_libs.rb86
-rw-r--r--test/mkmf/test_signedness.rb29
-rw-r--r--test/mkmf/test_sizeof.rb47
-rw-r--r--test/monitor/test_monitor.rb190
-rw-r--r--test/net/ftp/test_buffered_socket.rb40
-rw-r--r--test/net/ftp/test_ftp.rb813
-rw-r--r--test/net/http/test_buffered_io.rb17
-rw-r--r--test/net/http/test_http.rb918
-rw-r--r--test/net/http/test_http_request.rb79
-rw-r--r--test/net/http/test_httpheader.rb334
-rw-r--r--test/net/http/test_httpresponse.rb254
-rw-r--r--test/net/http/test_httpresponses.rb24
-rw-r--r--test/net/http/test_https.rb153
-rw-r--r--test/net/http/test_https_proxy.rb43
-rw-r--r--test/net/http/utils.rb117
-rw-r--r--test/net/imap/Makefile15
-rw-r--r--test/net/imap/cacert.pem66
-rw-r--r--test/net/imap/server.crt48
-rw-r--r--test/net/imap/server.key15
-rw-r--r--test/net/imap/test_imap.rb536
-rw-r--r--test/net/imap/test_imap_response_parser.rb261
-rw-r--r--test/net/pop/test_pop.rb132
-rw-r--r--test/net/protocol/test_protocol.rb28
-rw-r--r--test/net/smtp/test_response.rb99
-rw-r--r--test/net/smtp/test_smtp.rb54
-rw-r--r--test/net/smtp/test_ssl_socket.rb91
-rw-r--r--test/nkf/test_kconv.rb81
-rw-r--r--test/nkf/test_nkf.rb22
-rw-r--r--test/objspace/test_objspace.rb279
-rw-r--r--test/open-uri/test_open-uri.rb716
-rw-r--r--test/open-uri/test_ssl.rb325
-rw-r--r--test/openssl/ssl_server.rb81
-rw-r--r--test/openssl/test_asn1.rb609
-rw-r--r--test/openssl/test_bn.rb52
-rw-r--r--test/openssl/test_buffering.rb87
-rw-r--r--test/openssl/test_cipher.rb255
-rw-r--r--test/openssl/test_config.rb297
-rw-r--r--test/openssl/test_digest.rb126
-rw-r--r--test/openssl/test_engine.rb75
-rw-r--r--test/openssl/test_fips.rb14
-rw-r--r--test/openssl/test_hmac.rb32
-rw-r--r--test/openssl/test_ns_spki.rb51
-rw-r--r--test/openssl/test_ocsp.rb47
-rw-r--r--test/openssl/test_pair.rb357
-rw-r--r--test/openssl/test_pkcs12.rb209
-rw-r--r--test/openssl/test_pkcs5.rb97
-rw-r--r--test/openssl/test_pkcs7.rb156
-rw-r--r--test/openssl/test_pkey_dh.rb82
-rw-r--r--test/openssl/test_pkey_dsa.rb240
-rw-r--r--test/openssl/test_pkey_ec.rb211
-rw-r--r--test/openssl/test_pkey_rsa.rb313
-rw-r--r--test/openssl/test_ssl.rb689
-rw-r--r--test/openssl/test_ssl_session.rb367
-rw-r--r--test/openssl/test_x509cert.rb226
-rw-r--r--test/openssl/test_x509crl.rb220
-rw-r--r--test/openssl/test_x509ext.rb69
-rw-r--r--test/openssl/test_x509name.rb367
-rw-r--r--test/openssl/test_x509req.rb158
-rw-r--r--test/openssl/test_x509store.rb232
-rw-r--r--test/openssl/utils.rb331
-rw-r--r--test/optparse/test_acceptable.rb195
-rw-r--r--test/optparse/test_autoconf.rb63
-rw-r--r--test/optparse/test_bash_completion.rb42
-rw-r--r--test/optparse/test_getopts.rb34
-rw-r--r--test/optparse/test_noarg.rb57
-rw-r--r--test/optparse/test_optarg.rb46
-rw-r--r--test/optparse/test_optparse.rb66
-rw-r--r--test/optparse/test_placearg.rb56
-rw-r--r--test/optparse/test_reqarg.rb77
-rw-r--r--test/optparse/test_summary.rb46
-rw-r--r--test/optparse/test_zsh_completion.rb22
-rw-r--r--test/ostruct/test_ostruct.rb138
-rw-r--r--test/pathname/test_pathname.rb1338
-rw-r--r--test/profile_test_all.rb90
-rw-r--r--test/psych/handlers/test_recorder.rb25
-rw-r--r--test/psych/helper.rb114
-rw-r--r--test/psych/json/test_stream.rb109
-rw-r--r--test/psych/nodes/test_enumerable.rb43
-rw-r--r--test/psych/test_alias_and_anchor.rb96
-rw-r--r--test/psych/test_array.rb57
-rw-r--r--test/psych/test_boolean.rb36
-rw-r--r--test/psych/test_class.rb36
-rw-r--r--test/psych/test_coder.rb184
-rw-r--r--test/psych/test_date_time.rb38
-rw-r--r--test/psych/test_deprecated.rb214
-rw-r--r--test/psych/test_document.rb46
-rw-r--r--test/psych/test_emitter.rb94
-rw-r--r--test/psych/test_encoding.rb259
-rw-r--r--test/psych/test_engine_manager.rb47
-rw-r--r--test/psych/test_exception.rb151
-rw-r--r--test/psych/test_hash.rb44
-rw-r--r--test/psych/test_json_tree.rb65
-rw-r--r--test/psych/test_merge_keys.rb150
-rw-r--r--test/psych/test_nil.rb18
-rw-r--r--test/psych/test_null.rb19
-rw-r--r--test/psych/test_numeric.rb45
-rw-r--r--test/psych/test_object.rb44
-rw-r--r--test/psych/test_object_references.rb67
-rw-r--r--test/psych/test_omap.rb75
-rw-r--r--test/psych/test_parser.rb339
-rw-r--r--test/psych/test_psych.rb168
-rw-r--r--test/psych/test_safe_load.rb97
-rw-r--r--test/psych/test_scalar.rb11
-rw-r--r--test/psych/test_scalar_scanner.rb106
-rw-r--r--test/psych/test_serialize_subclasses.rb38
-rw-r--r--test/psych/test_set.rb49
-rw-r--r--test/psych/test_stream.rb93
-rw-r--r--test/psych/test_string.rb162
-rw-r--r--test/psych/test_struct.rb49
-rw-r--r--test/psych/test_symbol.rb17
-rw-r--r--test/psych/test_tainted.rb130
-rw-r--r--test/psych/test_to_yaml_properties.rb63
-rw-r--r--test/psych/test_tree_builder.rb79
-rw-r--r--test/psych/test_yaml.rb1289
-rw-r--r--test/psych/test_yamldbm.rb197
-rw-r--r--test/psych/test_yamlstore.rb87
-rw-r--r--test/psych/visitors/test_depth_first.rb49
-rw-r--r--test/psych/visitors/test_emitter.rb144
-rw-r--r--test/psych/visitors/test_to_ruby.rb326
-rw-r--r--test/psych/visitors/test_yaml_tree.rb173
-rw-r--r--test/rake/file_creation.rb34
-rw-r--r--test/rake/helper.rb128
-rw-r--r--test/rake/support/rakefile_definitions.rb444
-rw-r--r--test/rake/support/ruby_runner.rb33
-rw-r--r--test/rake/test_private_reader.rb42
-rw-r--r--test/rake/test_rake.rb40
-rw-r--r--test/rake/test_rake_application.rb517
-rw-r--r--test/rake/test_rake_application_options.rb457
-rw-r--r--test/rake/test_rake_backtrace.rb113
-rw-r--r--test/rake/test_rake_clean.rb52
-rw-r--r--test/rake/test_rake_definitions.rb79
-rw-r--r--test/rake/test_rake_directory_task.rb57
-rw-r--r--test/rake/test_rake_dsl.rb40
-rw-r--r--test/rake/test_rake_early_time.rb31
-rw-r--r--test/rake/test_rake_extension.rb59
-rw-r--r--test/rake/test_rake_file_creation_task.rb56
-rw-r--r--test/rake/test_rake_file_list.rb627
-rw-r--r--test/rake/test_rake_file_list_path_map.rb8
-rw-r--r--test/rake/test_rake_file_task.rb122
-rw-r--r--test/rake/test_rake_file_utils.rb309
-rw-r--r--test/rake/test_rake_ftp_file.rb74
-rw-r--r--test/rake/test_rake_functional.rb466
-rw-r--r--test/rake/test_rake_invocation_chain.rb64
-rw-r--r--test/rake/test_rake_linked_list.rb84
-rw-r--r--test/rake/test_rake_makefile_loader.rb46
-rw-r--r--test/rake/test_rake_multi_task.rb58
-rw-r--r--test/rake/test_rake_name_space.rb43
-rw-r--r--test/rake/test_rake_package_task.rb79
-rw-r--r--test/rake/test_rake_path_map.rb168
-rw-r--r--test/rake/test_rake_path_map_explode.rb34
-rw-r--r--test/rake/test_rake_path_map_partial.rb18
-rw-r--r--test/rake/test_rake_pseudo_status.rb21
-rw-r--r--test/rake/test_rake_rake_test_loader.rb20
-rw-r--r--test/rake/test_rake_reduce_compat.rb26
-rw-r--r--test/rake/test_rake_require.rb40
-rw-r--r--test/rake/test_rake_rules.rb362
-rw-r--r--test/rake/test_rake_scope.rb44
-rw-r--r--test/rake/test_rake_task.rb376
-rw-r--r--test/rake/test_rake_task_argument_parsing.rb103
-rw-r--r--test/rake/test_rake_task_arguments.rb121
-rw-r--r--test/rake/test_rake_task_lib.rb9
-rw-r--r--test/rake/test_rake_task_manager.rb158
-rw-r--r--test/rake/test_rake_task_manager_argument_resolution.rb19
-rw-r--r--test/rake/test_rake_task_with_arguments.rb171
-rw-r--r--test/rake/test_rake_test_task.rb119
-rw-r--r--test/rake/test_rake_thread_pool.rb142
-rw-r--r--test/rake/test_rake_top_level_functions.rb71
-rw-r--r--test/rake/test_rake_win32.rb72
-rw-r--r--test/rake/test_thread_history_display.rb101
-rw-r--r--test/rake/test_trace_output.rb52
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Amps and angle encoding.text21
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Auto links.text13
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Backslash escapes.text120
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Blockquotes with code blocks.text11
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Code Blocks.text14
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Code Spans.text6
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Hard-wrapped paragraphs with list-like lines.text8
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Horizontal rules.text67
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Inline HTML (Advanced).text15
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Inline HTML (Simple).text69
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Inline HTML comments.text13
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Links, inline style.text12
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Links, reference style.text71
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Links, shortcut references.text20
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Literal quotes in titles.text7
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Basics.text306
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Syntax.text888
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Nested blockquotes.text5
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Ordered and unordered lists.text131
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Strong and em together.text7
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Tabs.text21
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Tidyness.text5
-rw-r--r--test/rdoc/README1
-rw-r--r--test/rdoc/binary.datbin0 -> 1024 bytes-rw-r--r--test/rdoc/hidden.zip.txt1
-rw-r--r--test/rdoc/test.ja.large.rdoc3
-rw-r--r--test/rdoc/test.ja.largedoc3
-rw-r--r--test/rdoc/test.ja.rdoc10
-rw-r--r--test/rdoc/test.ja.txt8
-rw-r--r--test/rdoc/test.txt1
-rw-r--r--test/rdoc/test_attribute_manager.rb120
-rw-r--r--test/rdoc/test_rdoc_alias.rb13
-rw-r--r--test/rdoc/test_rdoc_any_method.rb431
-rw-r--r--test/rdoc/test_rdoc_attr.rb190
-rw-r--r--test/rdoc/test_rdoc_class_module.rb1492
-rw-r--r--test/rdoc/test_rdoc_code_object.rb450
-rw-r--r--test/rdoc/test_rdoc_comment.rb504
-rw-r--r--test/rdoc/test_rdoc_constant.rb151
-rw-r--r--test/rdoc/test_rdoc_context.rb899
-rw-r--r--test/rdoc/test_rdoc_context_section.rb130
-rw-r--r--test/rdoc/test_rdoc_cross_reference.rb192
-rw-r--r--test/rdoc/test_rdoc_encoding.rb204
-rw-r--r--test/rdoc/test_rdoc_extend.rb94
-rw-r--r--test/rdoc/test_rdoc_generator_darkfish.rb229
-rw-r--r--test/rdoc/test_rdoc_generator_json_index.rb264
-rw-r--r--test/rdoc/test_rdoc_generator_markup.rb59
-rw-r--r--test/rdoc/test_rdoc_generator_ri.rb78
-rw-r--r--test/rdoc/test_rdoc_include.rb108
-rw-r--r--test/rdoc/test_rdoc_markdown.rb980
-rw-r--r--test/rdoc/test_rdoc_markdown_test.rb1884
-rw-r--r--test/rdoc/test_rdoc_markup.rb95
-rw-r--r--test/rdoc/test_rdoc_markup_attribute_manager.rb358
-rw-r--r--test/rdoc/test_rdoc_markup_attributes.rb39
-rw-r--r--test/rdoc/test_rdoc_markup_document.rb207
-rw-r--r--test/rdoc/test_rdoc_markup_formatter.rb175
-rw-r--r--test/rdoc/test_rdoc_markup_hard_break.rb31
-rw-r--r--test/rdoc/test_rdoc_markup_heading.rb29
-rw-r--r--test/rdoc/test_rdoc_markup_include.rb19
-rw-r--r--test/rdoc/test_rdoc_markup_indented_paragraph.rb53
-rw-r--r--test/rdoc/test_rdoc_markup_paragraph.rb32
-rw-r--r--test/rdoc/test_rdoc_markup_parser.rb1680
-rw-r--r--test/rdoc/test_rdoc_markup_pre_process.rb473
-rw-r--r--test/rdoc/test_rdoc_markup_raw.rb22
-rw-r--r--test/rdoc/test_rdoc_markup_to_ansi.rb369
-rw-r--r--test/rdoc/test_rdoc_markup_to_bs.rb366
-rw-r--r--test/rdoc/test_rdoc_markup_to_html.rb643
-rw-r--r--test/rdoc/test_rdoc_markup_to_html_crossref.rb225
-rw-r--r--test/rdoc/test_rdoc_markup_to_html_snippet.rb710
-rw-r--r--test/rdoc/test_rdoc_markup_to_joined_paragraph.rb32
-rw-r--r--test/rdoc/test_rdoc_markup_to_label.rb112
-rw-r--r--test/rdoc/test_rdoc_markup_to_markdown.rb389
-rw-r--r--test/rdoc/test_rdoc_markup_to_rdoc.rb377
-rw-r--r--test/rdoc/test_rdoc_markup_to_table_of_contents.rb126
-rw-r--r--test/rdoc/test_rdoc_markup_to_tt_only.rb246
-rw-r--r--test/rdoc/test_rdoc_markup_verbatim.rb29
-rw-r--r--test/rdoc/test_rdoc_method_attr.rb163
-rw-r--r--test/rdoc/test_rdoc_normal_class.rb47
-rw-r--r--test/rdoc/test_rdoc_normal_module.rb42
-rw-r--r--test/rdoc/test_rdoc_options.rb747
-rw-r--r--test/rdoc/test_rdoc_parser.rb312
-rw-r--r--test/rdoc/test_rdoc_parser_c.rb1825
-rw-r--r--test/rdoc/test_rdoc_parser_changelog.rb315
-rw-r--r--test/rdoc/test_rdoc_parser_markdown.rb61
-rw-r--r--test/rdoc/test_rdoc_parser_rd.rb55
-rw-r--r--test/rdoc/test_rdoc_parser_ruby.rb3310
-rw-r--r--test/rdoc/test_rdoc_parser_simple.rb115
-rw-r--r--test/rdoc/test_rdoc_rd.rb30
-rw-r--r--test/rdoc/test_rdoc_rd_block_parser.rb533
-rw-r--r--test/rdoc/test_rdoc_rd_inline.rb63
-rw-r--r--test/rdoc/test_rdoc_rd_inline_parser.rb177
-rw-r--r--test/rdoc/test_rdoc_rdoc.rb434
-rw-r--r--test/rdoc/test_rdoc_require.rb25
-rw-r--r--test/rdoc/test_rdoc_ri_driver.rb1436
-rw-r--r--test/rdoc/test_rdoc_ri_paths.rb155
-rw-r--r--test/rdoc/test_rdoc_ruby_lex.rb410
-rw-r--r--test/rdoc/test_rdoc_ruby_token.rb19
-rw-r--r--test/rdoc/test_rdoc_rubygems_hook.rb254
-rw-r--r--test/rdoc/test_rdoc_servlet.rb535
-rw-r--r--test/rdoc/test_rdoc_single_class.rb12
-rw-r--r--test/rdoc/test_rdoc_stats.rb667
-rw-r--r--test/rdoc/test_rdoc_store.rb993
-rw-r--r--test/rdoc/test_rdoc_task.rb120
-rw-r--r--test/rdoc/test_rdoc_text.rb554
-rw-r--r--test/rdoc/test_rdoc_token_stream.rb42
-rw-r--r--test/rdoc/test_rdoc_tom_doc.rb520
-rw-r--r--test/rdoc/test_rdoc_top_level.rb287
-rw-r--r--test/rdoc/xref_data.rb76
-rw-r--r--test/rdoc/xref_test_case.rb67
-rw-r--r--test/readline/test_readline.rb518
-rw-r--r--test/readline/test_readline_history.rb292
-rw-r--r--test/resolv/test_addr.rb28
-rw-r--r--test/resolv/test_dns.rb164
-rw-r--r--test/rexml/data/LostineRiver.kml.gzbin0 -> 50154 bytes-rw-r--r--test/rexml/data/ProductionSupport.xml29
-rw-r--r--test/rexml/data/axis.xml25
-rw-r--r--test/rexml/data/bad.xml5
-rw-r--r--test/rexml/data/basic.xml11
-rw-r--r--test/rexml/data/basicupdate.xml47
-rw-r--r--test/rexml/data/broken.rss20
-rw-r--r--test/rexml/data/contents.xml70
-rw-r--r--test/rexml/data/dash.xml12
-rw-r--r--test/rexml/data/defaultNamespace.xml6
-rw-r--r--test/rexml/data/doctype_test.xml34
-rw-r--r--test/rexml/data/documentation.xml542
-rw-r--r--test/rexml/data/euc.xml296
-rw-r--r--test/rexml/data/evaluate.xml28
-rw-r--r--test/rexml/data/fibo.xml29
-rw-r--r--test/rexml/data/foo.xml10
-rw-r--r--test/rexml/data/google.2.xml156
-rw-r--r--test/rexml/data/id.xml21
-rw-r--r--test/rexml/data/iso8859-1.xml4
-rw-r--r--test/rexml/data/jaxen24.xml2
-rw-r--r--test/rexml/data/jaxen3.xml15
-rw-r--r--test/rexml/data/lang.xml11
-rw-r--r--test/rexml/data/lang0.xml18
-rw-r--r--test/rexml/data/message.xml27
-rw-r--r--test/rexml/data/moreover.xml244
-rw-r--r--test/rexml/data/much_ado.xml6850
-rw-r--r--test/rexml/data/namespaces.xml18
-rw-r--r--test/rexml/data/nitf.xml67
-rw-r--r--test/rexml/data/numbers.xml18
-rw-r--r--test/rexml/data/ofbiz-issues-full-177.xml13971
-rw-r--r--test/rexml/data/pi.xml13
-rw-r--r--test/rexml/data/pi2.xml6
-rw-r--r--test/rexml/data/project.xml1
-rw-r--r--test/rexml/data/simple.xml2
-rw-r--r--test/rexml/data/stream_accents.xml4
-rw-r--r--test/rexml/data/t63-1.xmlbin0 -> 161690 bytes-rw-r--r--test/rexml/data/t63-2.svg2828
-rw-r--r--test/rexml/data/t75.xml31
-rw-r--r--test/rexml/data/test/tests.xml683
-rw-r--r--test/rexml/data/test/tests.xsl369
-rw-r--r--test/rexml/data/testNamespaces.xml22
-rw-r--r--test/rexml/data/testsrc.xml64
-rw-r--r--test/rexml/data/text.xml10
-rw-r--r--test/rexml/data/ticket_110_utf16.xmlbin0 -> 207464 bytes-rw-r--r--test/rexml/data/ticket_61.xml4
-rw-r--r--test/rexml/data/ticket_68.xml590
-rw-r--r--test/rexml/data/tutorial.xml678
-rw-r--r--test/rexml/data/underscore.xml6
-rw-r--r--test/rexml/data/web.xml42
-rw-r--r--test/rexml/data/web2.xml7
-rw-r--r--test/rexml/data/working.rss202
-rw-r--r--test/rexml/data/xmlfile-bug.xml15
-rw-r--r--test/rexml/data/xp.tst27
-rw-r--r--test/rexml/data/yahoo.xml80
-rw-r--r--test/rexml/listener.rb50
-rw-r--r--test/rexml/parse/test_document_type_declaration.rb47
-rw-r--r--test/rexml/parse/test_notation_declaration.rb97
-rw-r--r--test/rexml/parser/test_sax2.rb200
-rw-r--r--test/rexml/parser/test_tree.rb40
-rw-r--r--test/rexml/parser/test_ultra_light.rb67
-rw-r--r--test/rexml/rexml_test_utils.rb6
-rw-r--r--test/rexml/test_attributes.rb220
-rw-r--r--test/rexml/test_attributes_mixin.rb29
-rw-r--r--test/rexml/test_changing_encoding.rb43
-rw-r--r--test/rexml/test_comment.rb25
-rw-r--r--test/rexml/test_contrib.rb581
-rw-r--r--test/rexml/test_core.rb1462
-rw-r--r--test/rexml/test_doctype.rb104
-rw-r--r--test/rexml/test_document.rb346
-rw-r--r--test/rexml/test_elements.rb116
-rw-r--r--test/rexml/test_encoding.rb94
-rw-r--r--test/rexml/test_encoding_2.rb59
-rw-r--r--test/rexml/test_entity.rb203
-rw-r--r--test/rexml/test_functions.rb223
-rw-r--r--test/rexml/test_functions_number.rb32
-rw-r--r--test/rexml/test_jaxen.rb126
-rw-r--r--test/rexml/test_light.rb104
-rw-r--r--test/rexml/test_lightparser.rb12
-rw-r--r--test/rexml/test_listener.rb129
-rw-r--r--test/rexml/test_martin_fowler.rb37
-rw-r--r--test/rexml/test_namespace.rb38
-rw-r--r--test/rexml/test_order.rb105
-rw-r--r--test/rexml/test_preceding_sibling.rb38
-rw-r--r--test/rexml/test_pullparser.rb100
-rw-r--r--test/rexml/test_rexml_issuezilla.rb14
-rw-r--r--test/rexml/test_sax.rb279
-rw-r--r--test/rexml/test_stream.rb127
-rw-r--r--test/rexml/test_text.rb19
-rw-r--r--test/rexml/test_ticket_80.rb56
-rw-r--r--test/rexml/test_validation_rng.rb790
-rw-r--r--test/rexml/test_xml_declaration.rb33
-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/rinda/test_rinda.rb781
-rw-r--r--test/rinda/test_tuplebag.rb172
-rw-r--r--test/ripper/dummyparser.rb216
-rw-r--r--test/ripper/test_files.rb24
-rw-r--r--test/ripper/test_filter.rb83
-rw-r--r--test/ripper/test_parser_events.rb1190
-rw-r--r--test/ripper/test_ripper.rb49
-rw-r--r--test/ripper/test_scanner_events.rb892
-rw-r--r--test/rss/dot.pngbin0 -> 111 bytes-rw-r--r--test/rss/rss-assertions.rb2090
-rw-r--r--test/rss/rss-testcase.rb478
-rw-r--r--test/rss/test_1.0.rb307
-rw-r--r--test/rss/test_2.0.rb411
-rw-r--r--test/rss/test_accessor.rb103
-rw-r--r--test/rss/test_atom.rb683
-rw-r--r--test/rss/test_content.rb104
-rw-r--r--test/rss/test_dublincore.rb269
-rw-r--r--test/rss/test_image.rb214
-rw-r--r--test/rss/test_inherit.rb40
-rw-r--r--test/rss/test_itunes.rb347
-rw-r--r--test/rss/test_maker_0.9.rb474
-rw-r--r--test/rss/test_maker_1.0.rb516
-rw-r--r--test/rss/test_maker_2.0.rb757
-rw-r--r--test/rss/test_maker_atom_entry.rb393
-rw-r--r--test/rss/test_maker_atom_feed.rb454
-rw-r--r--test/rss/test_maker_content.rb47
-rw-r--r--test/rss/test_maker_dc.rb149
-rw-r--r--test/rss/test_maker_image.rb62
-rw-r--r--test/rss/test_maker_itunes.rb471
-rw-r--r--test/rss/test_maker_slash.rb37
-rw-r--r--test/rss/test_maker_sy.rb44
-rw-r--r--test/rss/test_maker_taxo.rb81
-rw-r--r--test/rss/test_maker_trackback.rb41
-rw-r--r--test/rss/test_maker_xml-stylesheet.rb83
-rw-r--r--test/rss/test_parser.rb64
-rw-r--r--test/rss/test_parser_1.0.rb528
-rw-r--r--test/rss/test_parser_2.0.rb122
-rw-r--r--test/rss/test_parser_atom_entry.rb163
-rw-r--r--test/rss/test_parser_atom_feed.rb276
-rw-r--r--test/rss/test_setup_maker_0.9.rb246
-rw-r--r--test/rss/test_setup_maker_1.0.rb550
-rw-r--r--test/rss/test_setup_maker_2.0.rb308
-rw-r--r--test/rss/test_setup_maker_atom_entry.rb409
-rw-r--r--test/rss/test_setup_maker_atom_feed.rb445
-rw-r--r--test/rss/test_setup_maker_itunes.rb144
-rw-r--r--test/rss/test_setup_maker_slash.rb38
-rw-r--r--test/rss/test_slash.rb64
-rw-r--r--test/rss/test_syndication.rb125
-rw-r--r--test/rss/test_taxonomy.rb172
-rw-r--r--test/rss/test_to_s.rb670
-rw-r--r--test/rss/test_trackback.rb135
-rw-r--r--test/rss/test_version.rb9
-rw-r--r--test/rss/test_xml-stylesheet.rb108
-rw-r--r--test/ruby/allpairs.rb102
-rw-r--r--test/ruby/beginmainend.rb80
-rw-r--r--test/ruby/enc/test_big5.rb28
-rw-r--r--test/ruby/enc/test_cp949.rb28
-rw-r--r--test/ruby/enc/test_emoji.rb442
-rw-r--r--test/ruby/enc/test_euc_jp.rb24
-rw-r--r--test/ruby/enc/test_euc_kr.rb36
-rw-r--r--test/ruby/enc/test_euc_tw.rb28
-rw-r--r--test/ruby/enc/test_gb18030.rb126
-rw-r--r--test/ruby/enc/test_gbk.rb28
-rw-r--r--test/ruby/enc/test_iso_8859.rb163
-rw-r--r--test/ruby/enc/test_koi8.rb22
-rw-r--r--test/ruby/enc/test_shift_jis.rb27
-rw-r--r--test/ruby/enc/test_utf16.rb384
-rw-r--r--test/ruby/enc/test_utf32.rb93
-rw-r--r--test/ruby/enc/test_windows_1251.rb16
-rw-r--r--test/ruby/endblockwarn_rb12
-rw-r--r--test/ruby/envutil.rb479
-rw-r--r--test/ruby/lbtest.rb49
-rw-r--r--test/ruby/marshaltestlib.rb436
-rw-r--r--test/ruby/memory_status.rb127
-rw-r--r--test/ruby/sentence.rb668
-rw-r--r--test/ruby/test_alias.rb197
-rw-r--r--test/ruby/test_argf.rb853
-rw-r--r--test/ruby/test_arity.rb69
-rw-r--r--test/ruby/test_array.rb2480
-rw-r--r--test/ruby/test_assignment.rb695
-rw-r--r--test/ruby/test_autoload.rb176
-rw-r--r--test/ruby/test_backtrace.rb244
-rw-r--r--test/ruby/test_basicinstructions.rb700
-rw-r--r--test/ruby/test_beginendblock.rb188
-rw-r--r--test/ruby/test_bignum.rb711
-rw-r--r--test/ruby/test_call.rb34
-rw-r--r--test/ruby/test_case.rb125
-rw-r--r--test/ruby/test_class.rb381
-rw-r--r--test/ruby/test_clone.rb28
-rw-r--r--test/ruby/test_comparable.rb86
-rw-r--r--test/ruby/test_complex.rb1163
-rw-r--r--test/ruby/test_complex2.rb735
-rw-r--r--test/ruby/test_complexrational.rb407
-rw-r--r--test/ruby/test_condition.rb16
-rw-r--r--test/ruby/test_const.rb66
-rw-r--r--test/ruby/test_continuation.rb135
-rw-r--r--test/ruby/test_defined.rb212
-rw-r--r--test/ruby/test_dir.rb269
-rw-r--r--test/ruby/test_dir_m17n.rb331
-rw-r--r--test/ruby/test_econv.rb924
-rw-r--r--test/ruby/test_encoding.rb120
-rw-r--r--test/ruby/test_enum.rb454
-rw-r--r--test/ruby/test_enumerator.rb629
-rw-r--r--test/ruby/test_env.rb535
-rw-r--r--test/ruby/test_eval.rb502
-rw-r--r--test/ruby/test_exception.rb553
-rw-r--r--test/ruby/test_fiber.rb348
-rw-r--r--test/ruby/test_file.rb386
-rw-r--r--test/ruby/test_file_exhaustive.rb1203
-rw-r--r--test/ruby/test_fixnum.rb308
-rw-r--r--test/ruby/test_flip.rb42
-rw-r--r--test/ruby/test_float.rb622
-rw-r--r--test/ruby/test_fnmatch.rb132
-rw-r--r--test/ruby/test_gc.rb309
-rw-r--r--test/ruby/test_hash.rb1281
-rw-r--r--test/ruby/test_ifunless.rb14
-rw-r--r--test/ruby/test_integer.rb280
-rw-r--r--test/ruby/test_integer_comb.rb631
-rw-r--r--test/ruby/test_io.rb3007
-rw-r--r--test/ruby/test_io_m17n.rb2538
-rw-r--r--test/ruby/test_iseq.rb127
-rw-r--r--test/ruby/test_iterator.rb497
-rw-r--r--test/ruby/test_keyword.rb523
-rw-r--r--test/ruby/test_lambda.rb136
-rw-r--r--test/ruby/test_lazy_enumerator.rb493
-rw-r--r--test/ruby/test_literal.rb437
-rw-r--r--test/ruby/test_m17n.rb1572
-rw-r--r--test/ruby/test_m17n_comb.rb1609
-rw-r--r--test/ruby/test_marshal.rb598
-rw-r--r--test/ruby/test_math.rb284
-rw-r--r--test/ruby/test_metaclass.rb167
-rw-r--r--test/ruby/test_method.rb758
-rw-r--r--test/ruby/test_mixed_unicode_escapes.rb25
-rw-r--r--test/ruby/test_module.rb1996
-rw-r--r--test/ruby/test_not.rb12
-rw-r--r--test/ruby/test_notimp.rb84
-rw-r--r--test/ruby/test_numeric.rb332
-rw-r--r--test/ruby/test_object.rb827
-rw-r--r--test/ruby/test_objectspace.rb101
-rw-r--r--test/ruby/test_optimization.rb203
-rw-r--r--test/ruby/test_pack.rb712
-rw-r--r--test/ruby/test_parse.rb855
-rw-r--r--test/ruby/test_path.rb259
-rw-r--r--test/ruby/test_pipe.rb29
-rw-r--r--test/ruby/test_primitive.rb423
-rw-r--r--test/ruby/test_proc.rb1281
-rw-r--r--test/ruby/test_process.rb1888
-rw-r--r--test/ruby/test_rand.rb527
-rw-r--r--test/ruby/test_range.rb570
-rw-r--r--test/ruby/test_rational.rb1169
-rw-r--r--test/ruby/test_rational2.rb1386
-rw-r--r--test/ruby/test_readpartial.rb72
-rw-r--r--test/ruby/test_refinement.rb1175
-rw-r--r--test/ruby/test_regexp.rb1082
-rw-r--r--test/ruby/test_require.rb668
-rw-r--r--test/ruby/test_rubyoptions.rb682
-rw-r--r--test/ruby/test_rubyvm.rb16
-rw-r--r--test/ruby/test_settracefunc.rb1351
-rw-r--r--test/ruby/test_signal.rb294
-rw-r--r--test/ruby/test_sleep.rb22
-rw-r--r--test/ruby/test_sprintf.rb380
-rw-r--r--test/ruby/test_sprintf_comb.rb553
-rw-r--r--test/ruby/test_string.rb2245
-rw-r--r--test/ruby/test_stringchar.rb181
-rw-r--r--test/ruby/test_struct.rb325
-rw-r--r--test/ruby/test_super.rb512
-rw-r--r--test/ruby/test_symbol.rb209
-rw-r--r--test/ruby/test_syntax.rb448
-rw-r--r--test/ruby/test_system.rb163
-rw-r--r--test/ruby/test_thread.rb1011
-rw-r--r--test/ruby/test_threadgroup.rb55
-rw-r--r--test/ruby/test_time.rb1020
-rw-r--r--test/ruby/test_time_tz.rb406
-rw-r--r--test/ruby/test_trace.rb61
-rw-r--r--test/ruby/test_transcode.rb2094
-rw-r--r--test/ruby/test_undef.rb37
-rw-r--r--test/ruby/test_unicode_escape.rb271
-rw-r--r--test/ruby/test_variable.rb109
-rw-r--r--test/ruby/test_weakmap.rb134
-rw-r--r--test/ruby/test_whileuntil.rb83
-rw-r--r--test/ruby/test_yield.rb393
-rw-r--r--test/ruby/ut_eof.rb128
-rw-r--r--test/rubygems/alternate_cert.pem18
-rw-r--r--test/rubygems/alternate_cert_32.pem18
-rw-r--r--test/rubygems/alternate_key.pem27
-rw-r--r--test/rubygems/bad_rake.rb1
-rw-r--r--test/rubygems/bogussources.rb8
-rw-r--r--test/rubygems/ca_cert.pem68
-rw-r--r--test/rubygems/child_cert.pem18
-rw-r--r--test/rubygems/child_cert_32.pem18
-rw-r--r--test/rubygems/child_key.pem27
-rw-r--r--test/rubygems/client.pem49
-rw-r--r--test/rubygems/data/gem-private_key.pem27
-rw-r--r--test/rubygems/data/gem-public_cert.pem20
-rw-r--r--test/rubygems/data/null-type.gemspec.rzbin0 -> 554 bytes-rw-r--r--test/rubygems/encrypted_private_key.pem30
-rw-r--r--test/rubygems/expired_cert.pem18
-rw-r--r--test/rubygems/fake_certlib/openssl.rb7
-rw-r--r--test/rubygems/fix_openssl_warnings.rb12
-rw-r--r--test/rubygems/foo/discover.rb0
-rw-r--r--test/rubygems/future_cert.pem18
-rw-r--r--test/rubygems/future_cert_32.pem18
-rw-r--r--test/rubygems/good_rake.rb1
-rw-r--r--test/rubygems/grandchild_cert.pem18
-rw-r--r--test/rubygems/grandchild_cert_32.pem18
-rw-r--r--test/rubygems/grandchild_key.pem27
-rw-r--r--test/rubygems/invalid_client.pem49
-rw-r--r--test/rubygems/invalid_issuer_cert.pem18
-rw-r--r--test/rubygems/invalid_issuer_cert_32.pem18
-rw-r--r--test/rubygems/invalid_key.pem27
-rw-r--r--test/rubygems/invalid_signer_cert.pem18
-rw-r--r--test/rubygems/invalid_signer_cert_32.pem18
-rw-r--r--test/rubygems/invalidchild_cert.pem18
-rw-r--r--test/rubygems/invalidchild_cert_32.pem18
-rw-r--r--test/rubygems/invalidchild_key.pem27
-rw-r--r--test/rubygems/plugin/exception/rubygems_plugin.rb2
-rw-r--r--test/rubygems/plugin/load/rubygems_plugin.rb3
-rw-r--r--test/rubygems/plugin/standarderror/rubygems_plugin.rb2
-rw-r--r--test/rubygems/private_key.pem27
-rw-r--r--test/rubygems/public_cert.pem18
-rw-r--r--test/rubygems/public_cert_32.pem18
-rw-r--r--test/rubygems/public_key.pem9
-rw-r--r--test/rubygems/rubygems/commands/crash_command.rb5
-rw-r--r--test/rubygems/rubygems_plugin.rb21
-rw-r--r--test/rubygems/sff/discover.rb0
-rw-r--r--test/rubygems/simple_gem.rb66
-rw-r--r--test/rubygems/specifications/bar-0.0.2.gemspec9
-rw-r--r--test/rubygems/specifications/foo-0.0.1.gemspecbin0 -> 269 bytes-rw-r--r--test/rubygems/ssl_cert.pem19
-rw-r--r--test/rubygems/ssl_key.pem15
-rw-r--r--test/rubygems/test_bundled_ca.rb60
-rw-r--r--test/rubygems/test_config.rb14
-rw-r--r--test/rubygems/test_deprecate.rb76
-rw-r--r--test/rubygems/test_gem.rb1415
-rw-r--r--test/rubygems/test_gem_available_set.rb125
-rw-r--r--test/rubygems/test_gem_command.rb188
-rw-r--r--test/rubygems/test_gem_command_manager.rb263
-rw-r--r--test/rubygems/test_gem_commands_build_command.rb110
-rw-r--r--test/rubygems/test_gem_commands_cert_command.rb669
-rw-r--r--test/rubygems/test_gem_commands_check_command.rb68
-rw-r--r--test/rubygems/test_gem_commands_cleanup_command.rb167
-rw-r--r--test/rubygems/test_gem_commands_contents_command.rb196
-rw-r--r--test/rubygems/test_gem_commands_dependency_command.rb221
-rw-r--r--test/rubygems/test_gem_commands_environment_command.rb152
-rw-r--r--test/rubygems/test_gem_commands_fetch_command.rb126
-rw-r--r--test/rubygems/test_gem_commands_generate_index_command.rb50
-rw-r--r--test/rubygems/test_gem_commands_help_command.rb67
-rw-r--r--test/rubygems/test_gem_commands_install_command.rb898
-rw-r--r--test/rubygems/test_gem_commands_list_command.rb33
-rw-r--r--test/rubygems/test_gem_commands_lock_command.rb68
-rw-r--r--test/rubygems/test_gem_commands_mirror.rb32
-rw-r--r--test/rubygems/test_gem_commands_outdated_command.rb33
-rw-r--r--test/rubygems/test_gem_commands_owner_command.rb204
-rw-r--r--test/rubygems/test_gem_commands_pristine_command.rb370
-rw-r--r--test/rubygems/test_gem_commands_push_command.rb262
-rw-r--r--test/rubygems/test_gem_commands_query_command.rb668
-rw-r--r--test/rubygems/test_gem_commands_search_command.rb17
-rw-r--r--test/rubygems/test_gem_commands_server_command.rb59
-rw-r--r--test/rubygems/test_gem_commands_setup_command.rb129
-rw-r--r--test/rubygems/test_gem_commands_sources_command.rb248
-rw-r--r--test/rubygems/test_gem_commands_specification_command.rb250
-rw-r--r--test/rubygems/test_gem_commands_stale_command.rb40
-rw-r--r--test/rubygems/test_gem_commands_uninstall_command.rb245
-rw-r--r--test/rubygems/test_gem_commands_unpack_command.rb210
-rw-r--r--test/rubygems/test_gem_commands_update_command.rb467
-rw-r--r--test/rubygems/test_gem_commands_which_command.rb85
-rw-r--r--test/rubygems/test_gem_commands_yank_command.rb97
-rw-r--r--test/rubygems/test_gem_config_file.rb455
-rw-r--r--test/rubygems/test_gem_dependency.rb223
-rw-r--r--test/rubygems/test_gem_dependency_installer.rb1298
-rw-r--r--test/rubygems/test_gem_dependency_list.rb259
-rw-r--r--test/rubygems/test_gem_dependency_resolution_error.rb28
-rw-r--r--test/rubygems/test_gem_doctor.rb168
-rw-r--r--test/rubygems/test_gem_ext_builder.rb323
-rw-r--r--test/rubygems/test_gem_ext_cmake_builder.rb84
-rw-r--r--test/rubygems/test_gem_ext_configure_builder.rb82
-rw-r--r--test/rubygems/test_gem_ext_ext_conf_builder.rb206
-rw-r--r--test/rubygems/test_gem_ext_rake_builder.rb64
-rw-r--r--test/rubygems/test_gem_gem_runner.rb68
-rw-r--r--test/rubygems/test_gem_gemcutter_utilities.rb225
-rw-r--r--test/rubygems/test_gem_impossible_dependencies_error.rb45
-rw-r--r--test/rubygems/test_gem_indexer.rb366
-rw-r--r--test/rubygems/test_gem_install_update_options.rb150
-rw-r--r--test/rubygems/test_gem_installer.rb1452
-rw-r--r--test/rubygems/test_gem_local_remote_options.rb120
-rw-r--r--test/rubygems/test_gem_name_tuple.rb37
-rw-r--r--test/rubygems/test_gem_package.rb805
-rw-r--r--test/rubygems/test_gem_package_old.rb89
-rw-r--r--test/rubygems/test_gem_package_tar_header.rb144
-rw-r--r--test/rubygems/test_gem_package_tar_reader.rb79
-rw-r--r--test/rubygems/test_gem_package_tar_reader_entry.rb119
-rw-r--r--test/rubygems/test_gem_package_tar_writer.rb249
-rw-r--r--test/rubygems/test_gem_package_task.rb80
-rw-r--r--test/rubygems/test_gem_path_support.rb84
-rw-r--r--test/rubygems/test_gem_platform.rb296
-rw-r--r--test/rubygems/test_gem_rdoc.rb269
-rw-r--r--test/rubygems/test_gem_remote_fetcher.rb827
-rw-r--r--test/rubygems/test_gem_request.rb348
-rw-r--r--test/rubygems/test_gem_request_set.rb353
-rw-r--r--test/rubygems/test_gem_request_set_gem_dependency_api.rb684
-rw-r--r--test/rubygems/test_gem_request_set_lockfile.rb857
-rw-r--r--test/rubygems/test_gem_requirement.rb363
-rw-r--r--test/rubygems/test_gem_resolver.rb605
-rw-r--r--test/rubygems/test_gem_resolver_activation_request.rb63
-rw-r--r--test/rubygems/test_gem_resolver_api_set.rb208
-rw-r--r--test/rubygems/test_gem_resolver_api_specification.rb104
-rw-r--r--test/rubygems/test_gem_resolver_best_set.rb80
-rw-r--r--test/rubygems/test_gem_resolver_composed_set.rb18
-rw-r--r--test/rubygems/test_gem_resolver_conflict.rb75
-rw-r--r--test/rubygems/test_gem_resolver_dependency_request.rb20
-rw-r--r--test/rubygems/test_gem_resolver_git_set.rb163
-rw-r--r--test/rubygems/test_gem_resolver_git_specification.rb100
-rw-r--r--test/rubygems/test_gem_resolver_index_set.rb63
-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.rb92
-rw-r--r--test/rubygems/test_gem_resolver_local_specification.rb45
-rw-r--r--test/rubygems/test_gem_resolver_lock_set.rb57
-rw-r--r--test/rubygems/test_gem_resolver_lock_specification.rb87
-rw-r--r--test/rubygems/test_gem_resolver_requirement_list.rb20
-rw-r--r--test/rubygems/test_gem_resolver_specification.rb32
-rw-r--r--test/rubygems/test_gem_resolver_vendor_set.rb67
-rw-r--r--test/rubygems/test_gem_resolver_vendor_specification.rb83
-rw-r--r--test/rubygems/test_gem_security.rb306
-rw-r--r--test/rubygems/test_gem_security_policy.rb540
-rw-r--r--test/rubygems/test_gem_security_signer.rb208
-rw-r--r--test/rubygems/test_gem_security_trust_dir.rb98
-rw-r--r--test/rubygems/test_gem_server.rb339
-rw-r--r--test/rubygems/test_gem_silent_ui.rb111
-rw-r--r--test/rubygems/test_gem_source.rb211
-rw-r--r--test/rubygems/test_gem_source_fetch_problem.rb19
-rw-r--r--test/rubygems/test_gem_source_git.rb274
-rw-r--r--test/rubygems/test_gem_source_installed.rb28
-rw-r--r--test/rubygems/test_gem_source_list.rb111
-rw-r--r--test/rubygems/test_gem_source_local.rb106
-rw-r--r--test/rubygems/test_gem_source_lock.rb114
-rw-r--r--test/rubygems/test_gem_source_specific_file.rb71
-rw-r--r--test/rubygems/test_gem_source_vendor.rb27
-rw-r--r--test/rubygems/test_gem_spec_fetcher.rb310
-rw-r--r--test/rubygems/test_gem_specification.rb2998
-rw-r--r--test/rubygems/test_gem_stream_ui.rb238
-rw-r--r--test/rubygems/test_gem_stub_specification.rb143
-rw-r--r--test/rubygems/test_gem_text.rb58
-rw-r--r--test/rubygems/test_gem_uninstaller.rb460
-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.rb45
-rw-r--r--test/rubygems/test_gem_version.rb213
-rw-r--r--test/rubygems/test_gem_version_option.rb151
-rw-r--r--test/rubygems/test_kernel.rb55
-rw-r--r--test/rubygems/test_require.rb215
-rw-r--r--test/rubygems/wrong_key_cert.pem18
-rw-r--r--test/rubygems/wrong_key_cert_32.pem18
-rw-r--r--test/runner.rb35
-rw-r--r--test/scanf/data.txt6
-rw-r--r--test/scanf/test_scanf.rb325
-rw-r--r--test/scanf/test_scanfblocks.rb81
-rw-r--r--test/scanf/test_scanfio.rb20
-rw-r--r--test/sdbm/test_sdbm.rb542
-rw-r--r--test/shell/test_command_processor.rb69
-rw-r--r--test/socket/test_addrinfo.rb640
-rw-r--r--test/socket/test_ancdata.rb66
-rw-r--r--test/socket/test_basicsocket.rb88
-rw-r--r--test/socket/test_nonblock.rb297
-rw-r--r--test/socket/test_socket.rb648
-rw-r--r--test/socket/test_sockopt.rb51
-rw-r--r--test/socket/test_tcp.rb80
-rw-r--r--test/socket/test_udp.rb72
-rw-r--r--test/socket/test_unix.rb629
-rw-r--r--test/stringio/test_stringio.rb589
-rw-r--r--test/strscan/test_stringscanner.rb719
-rw-r--r--test/syslog/test_syslog_logger.rb572
-rw-r--r--test/test_abbrev.rb54
-rw-r--r--test/test_cmath.rb16
-rw-r--r--test/test_delegate.rb240
-rw-r--r--test/test_find.rb260
-rw-r--r--test/test_ipaddr.rb3
-rw-r--r--test/test_mathn.rb118
-rw-r--r--test/test_mutex_m.rb26
-rw-r--r--test/test_open3.rb243
-rw-r--r--test/test_pp.rb187
-rw-r--r--test/test_prettyprint.rb519
-rw-r--r--test/test_prime.rb174
-rw-r--r--test/test_pstore.rb137
-rw-r--r--test/test_pty.rb220
-rw-r--r--test/test_rbconfig.rb53
-rw-r--r--test/test_securerandom.rb185
-rw-r--r--test/test_set.rb718
-rw-r--r--test/test_shellwords.rb61
-rw-r--r--test/test_singleton.rb103
-rw-r--r--test/test_syslog.rb185
-rw-r--r--test/test_tempfile.rb343
-rw-r--r--test/test_time.rb416
-rw-r--r--test/test_timeout.rb83
-rw-r--r--test/test_tmpdir.rb33
-rw-r--r--test/test_tracer.rb61
-rw-r--r--test/test_tsort.rb100
-rw-r--r--test/test_weakref.rb64
-rw-r--r--test/testunit/test4test_hideskip.rb7
-rw-r--r--test/testunit/test4test_redefinition.rb11
-rw-r--r--test/testunit/test4test_sorting.rb15
-rw-r--r--test/testunit/test_assertion.rb8
-rw-r--r--test/testunit/test_hideskip.rb16
-rw-r--r--test/testunit/test_parallel.rb189
-rw-r--r--test/testunit/test_rake_integration.rb35
-rw-r--r--test/testunit/test_redefinition.rb15
-rw-r--r--test/testunit/test_sorting.rb17
-rw-r--r--test/testunit/tests_for_parallel/ptest_first.rb7
-rw-r--r--test/testunit/tests_for_parallel/ptest_forth.rb29
-rw-r--r--test/testunit/tests_for_parallel/ptest_second.rb11
-rw-r--r--test/testunit/tests_for_parallel/ptest_third.rb10
-rw-r--r--test/testunit/tests_for_parallel/runner.rb10
-rw-r--r--test/thread/test_cv.rb212
-rw-r--r--test/thread/test_queue.rb242
-rw-r--r--test/thread/test_sync.rb57
-rw-r--r--test/uri/test_common.rb167
-rw-r--r--test/uri/test_ftp.rb66
-rw-r--r--test/uri/test_generic.rb816
-rw-r--r--test/uri/test_http.rb64
-rw-r--r--test/uri/test_ldap.rb100
-rw-r--r--test/uri/test_mailto.rb132
-rw-r--r--test/uri/test_parser.rb41
-rw-r--r--test/webrick/.htaccess1
-rw-r--r--test/webrick/test_cgi.rb140
-rw-r--r--test/webrick/test_cookie.rb131
-rw-r--r--test/webrick/test_filehandler.rb285
-rw-r--r--test/webrick/test_htmlutils.rb20
-rw-r--r--test/webrick/test_httpauth.rb169
-rw-r--r--test/webrick/test_httpproxy.rb284
-rw-r--r--test/webrick/test_httprequest.rb411
-rw-r--r--test/webrick/test_httpresponse.rb141
-rw-r--r--test/webrick/test_httpserver.rb369
-rw-r--r--test/webrick/test_httputils.rb100
-rw-r--r--test/webrick/test_httpversion.rb40
-rw-r--r--test/webrick/test_server.rb92
-rw-r--r--test/webrick/test_utils.rb64
-rw-r--r--test/webrick/utils.rb64
-rw-r--r--test/webrick/webrick.cgi36
-rw-r--r--test/webrick/webrick_long_filename.cgi36
-rw-r--r--test/win32ole/err_in_callback.rb9
-rw-r--r--test/win32ole/orig_data.csv5
-rw-r--r--test/win32ole/test_err_in_callback.rb55
-rw-r--r--test/win32ole/test_folderitem2_invokeverb.rb65
-rw-r--r--test/win32ole/test_nil2vtempty.rb36
-rw-r--r--test/win32ole/test_ole_methods.rb36
-rw-r--r--test/win32ole/test_propertyputref.rb30
-rw-r--r--test/win32ole/test_thread.rb33
-rw-r--r--test/win32ole/test_win32ole.rb524
-rw-r--r--test/win32ole/test_win32ole_event.rb334
-rw-r--r--test/win32ole/test_win32ole_method.rb146
-rw-r--r--test/win32ole/test_win32ole_param.rb106
-rw-r--r--test/win32ole/test_win32ole_type.rb249
-rw-r--r--test/win32ole/test_win32ole_typelib.rb116
-rw-r--r--test/win32ole/test_win32ole_variable.rb61
-rw-r--r--test/win32ole/test_win32ole_variant.rb656
-rw-r--r--test/win32ole/test_win32ole_variant_m.rb35
-rw-r--r--test/win32ole/test_win32ole_variant_outarg.rb68
-rw-r--r--test/win32ole/test_word.rb72
-rw-r--r--test/with_different_ofs.rb17
-rw-r--r--test/xmlrpc/data/blog.xml18
-rw-r--r--test/xmlrpc/data/bug_bool.expected3
-rw-r--r--test/xmlrpc/data/bug_bool.xml8
-rw-r--r--test/xmlrpc/data/bug_cdata.expected3
-rw-r--r--test/xmlrpc/data/bug_cdata.xml8
-rw-r--r--test/xmlrpc/data/bug_covert.expected10
-rw-r--r--test/xmlrpc/data/bug_covert.xml6
-rw-r--r--test/xmlrpc/data/datetime_iso8601.xml8
-rw-r--r--test/xmlrpc/data/fault.xml16
-rw-r--r--test/xmlrpc/data/value.expected7
-rw-r--r--test/xmlrpc/data/value.xml22
-rw-r--r--test/xmlrpc/data/xml1.expected243
-rw-r--r--test/xmlrpc/data/xml1.xml1
-rw-r--r--test/xmlrpc/htpasswd2
-rw-r--r--test/xmlrpc/test_client.rb316
-rw-r--r--test/xmlrpc/test_cookie.rb97
-rw-r--r--test/xmlrpc/test_datetime.rb161
-rw-r--r--test/xmlrpc/test_features.rb50
-rw-r--r--test/xmlrpc/test_marshal.rb110
-rw-r--r--test/xmlrpc/test_parser.rb93
-rw-r--r--test/xmlrpc/test_webrick_server.rb135
-rw-r--r--test/xmlrpc/webrick_testing.rb48
-rw-r--r--test/zlib/test_zlib.rb1096
-rw-r--r--thread.c5339
-rw-r--r--thread_native.h23
-rw-r--r--thread_pthread.c1620
-rw-r--r--thread_pthread.h56
-rw-r--r--thread_win32.c794
-rw-r--r--thread_win32.h45
-rw-r--r--time.c5271
-rw-r--r--timev.h42
-rw-r--r--tool/asm_parse.rb51
-rwxr-xr-xtool/bisect.sh42
-rwxr-xr-xtool/build-transcode16
-rwxr-xr-xtool/change_maker.rb34
-rw-r--r--tool/compile_prelude.rb198
-rw-r--r--tool/config_files.rb8
-rw-r--r--tool/enc-emoji-citrus-gen.rb131
-rw-r--r--tool/enc-emoji4unicode.rb133
-rwxr-xr-xtool/enc-unicode.rb365
-rw-r--r--tool/eval.rb159
-rwxr-xr-xtool/file2lastrev.rb68
-rwxr-xr-xtool/gen_dummy_probes.rb28
-rwxr-xr-xtool/gen_ruby_tapset.rb105
-rw-r--r--tool/generic_erb.rb42
-rwxr-xr-xtool/get-config_files7
-rwxr-xr-xtool/id2token.rb24
-rwxr-xr-xtool/ifchange61
-rwxr-xr-xtool/insns2vm.rb15
-rw-r--r--tool/install-sh17
-rwxr-xr-xtool/instruction.rb1343
-rw-r--r--tool/jisx0208.rb84
-rwxr-xr-xtool/make-snapshot303
-rwxr-xr-xtool/mdoc2man.rb465
-rwxr-xr-xtool/merger.rb242
-rwxr-xr-xtool/mkconfig.rb283
-rwxr-xr-xtool/mkrunnable.rb116
-rwxr-xr-xtool/node_name.rb6
-rw-r--r--tool/parse.rb13
-rw-r--r--tool/probes_to_wiki.rb16
-rwxr-xr-xtool/rbinstall.rb795
-rwxr-xr-xtool/rbuninstall.rb67
-rwxr-xr-xtool/rmdirs11
-rwxr-xr-xtool/rubytest.rb30
-rwxr-xr-xtool/runruby.rb99
-rwxr-xr-xtool/strip-rdoc.rb23
-rw-r--r--tool/test/test_jisx0208.rb40
-rw-r--r--tool/transcode-tblgen.rb1074
-rwxr-xr-xtool/update-deps157
-rw-r--r--tool/vcs.rb114
-rw-r--r--tool/vpath.rb82
-rw-r--r--tool/vtlh.rb15
-rwxr-xr-xtool/ytab.sed37
-rw-r--r--transcode.c4550
-rw-r--r--transcode_data.h123
-rw-r--r--util.c4203
-rw-r--r--util.h67
-rw-r--r--variable.c2475
-rw-r--r--version.c89
-rw-r--r--version.h63
-rw-r--r--vm.c3084
-rw-r--r--vm_backtrace.c1382
-rw-r--r--vm_core.h1055
-rw-r--r--vm_debug.h37
-rw-r--r--vm_dump.c812
-rw-r--r--vm_eval.c1998
-rw-r--r--vm_exec.c158
-rw-r--r--vm_exec.h182
-rw-r--r--vm_insnhelper.c2402
-rw-r--r--vm_insnhelper.h273
-rw-r--r--vm_method.c1745
-rw-r--r--vm_opts.h56
-rw-r--r--vm_trace.c1538
-rw-r--r--vms/config.h_in61
-rw-r--r--vms/vms.h6
-rw-r--r--vsnprintf.c1339
-rw-r--r--win32/Makefile.sub1296
-rw-r--r--win32/README.win3283
-rwxr-xr-xwin32/configure.bat199
-rw-r--r--win32/dir.h30
-rw-r--r--win32/enc-setup.mak10
-rw-r--r--win32/file.c706
-rwxr-xr-xwin32/ifchange.bat95
-rwxr-xr-xwin32/makedirs.bat3
-rwxr-xr-x[-rw-r--r--]win32/mkexports.rb186
-rwxr-xr-x[-rw-r--r--]win32/resource.rb51
-rwxr-xr-xwin32/rm.bat18
-rwxr-xr-xwin32/rmall.bat6
-rwxr-xr-xwin32/rmdirs.bat29
-rw-r--r--win32/rtname.cmd18
-rw-r--r--win32/setup.mak181
-rw-r--r--win32/stub.c42
-rw-r--r--win32/win32.c7049
-rw-r--r--win32/win32.h476
-rw-r--r--win32/winmain.c4
-rw-r--r--wince/README.wince62
-rw-r--r--wince/assert.h4
-rw-r--r--wince/config135
-rw-r--r--wince/configure.bat133
-rw-r--r--wince/direct.c54
-rw-r--r--wince/direct.h22
-rw-r--r--wince/dll.mak1531
-rw-r--r--wince/errno.c11
-rw-r--r--wince/errno.h55
-rw-r--r--wince/exe.mak353
-rw-r--r--wince/fcntl.h42
-rw-r--r--wince/io.c230
-rw-r--r--wince/io.h69
-rw-r--r--wince/mswince-ruby17.def813
-rw-r--r--wince/process.c47
-rw-r--r--wince/process.h44
-rw-r--r--wince/signal.c26
-rw-r--r--wince/signal.h71
-rw-r--r--wince/stddef.h5
-rw-r--r--wince/stdio.c36
-rw-r--r--wince/stdlib.c22
-rw-r--r--wince/string.c71
-rw-r--r--wince/sys/stat.c101
-rw-r--r--wince/sys/stat.h68
-rw-r--r--wince/sys/timeb.c25
-rw-r--r--wince/sys/timeb.h26
-rw-r--r--wince/sys/types.h67
-rw-r--r--wince/sys/utime.c44
-rw-r--r--wince/sys/utime.h27
-rw-r--r--wince/time.c299
-rw-r--r--wince/time.h63
-rw-r--r--wince/varargs.h34
-rw-r--r--wince/wince.c535
-rw-r--r--wince/wince.h214
-rw-r--r--wince/wincemain.c16
-rw-r--r--wince/wincon.h7
-rw-r--r--wince/winsock2.c338
-rw-r--r--x68/_dtos18.c250
-rw-r--r--x68/_round.c45
-rw-r--r--x68/fconvert.c81
-rw-r--r--x68/select.c167
4476 files changed, 1633538 insertions, 138226 deletions
diff --git a/.cvsignore b/.cvsignore
deleted file mode 100644
index 2332ee6472..0000000000
--- a/.cvsignore
+++ /dev/null
@@ -1,53 +0,0 @@
-*.bak
-*.orig
-*.rej
-*.sav
-*~
-.ccmalloc
-.ppack
-COPYING.LIB
-ChangeLog.pre-alpha
-ChangeLog.pre1_1
-Makefile
-README.fat-patch
-README.v6
-README.atheos
-archive
-autom4te*.cache
-automake
-beos
-config.cache
-config.h
-config.h.in
-config.log
-config.status
-configure
-foo.rb
-libruby.so.*
-miniruby
-miniruby.elhash
-miniruby.elhash2
-miniruby.orig2
-miniruby.plhash
-miniruby.plhash2
-modex.rb
-newdate.rb
-newver.rb
-parse.c
-parse.y.try
-pitest.rb
-ppack
-rbconfig.rb
-rename2.h
-repack
-riscos
-rubicon
-ruby
-ruby-man.rd.gz
-rubyunit
-st.c.power
-this that
-tmp
-web
-y.output
-y.tab.c
diff --git a/.document b/.document
new file mode 100644
index 0000000000..9a5067bc52
--- /dev/null
+++ b/.document
@@ -0,0 +1,28 @@
+# This file determines which files in the
+# Ruby hierarchy will be processed by the RDoc
+# tool when it is given the top-level directory
+# as an argument
+
+# Process all the C source files
+*.c
+
+# prelude
+prelude.rb
+
+# the lib/ directory (which has its own .document file)
+lib
+
+# and some of the ext/ directory (which has its own .document file)
+ext
+
+# rdoc files
+ChangeLog
+
+NEWS
+
+README
+README.EXT
+README.EXT.ja
+README.ja
+
+doc
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000..67abf4b978
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+tab_width = 8
+indent_style = tab
+indent_size = 4
+
+[**.bat]
+end_of_line = crlf
+
+[**.rb]
+indent_style = space
+indent_size = 2
diff --git a/.gdbinit b/.gdbinit
new file mode 100644
index 0000000000..17be7d8779
--- /dev/null
+++ b/.gdbinit
@@ -0,0 +1,882 @@
+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
+ 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
+ else
+ if ($arg0) == RUBY_Qfalse
+ echo false\n
+ else
+ if ($arg0) == RUBY_Qtrue
+ echo true\n
+ else
+ if ($arg0) == RUBY_Qnil
+ echo nil\n
+ else
+ if ($arg0) == RUBY_Qundef
+ echo undef\n
+ 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)
+ else
+ echo immediate\n
+ end
+ else
+ set $flags = ((struct RBasic*)($arg0))->flags
+ if ($flags & RUBY_FL_PROMOTED)
+ printf "[PROMOTED] "
+ end
+ if ($flags & RUBY_T_MASK) == RUBY_T_NONE
+ printf "%sT_NONE%s: ", $color_type, $color_end
+ print (struct RBasic *)($arg0)
+ else
+ if ($flags & RUBY_T_MASK) == RUBY_T_NIL
+ printf "%sT_NIL%s: ", $color_type, $color_end
+ print (struct RBasic *)($arg0)
+ else
+ if ($flags & RUBY_T_MASK) == RUBY_T_OBJECT
+ printf "%sT_OBJECT%s: ", $color_type, $color_end
+ 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
+ rp_class $arg0
+ else
+ if ($flags & RUBY_T_MASK) == RUBY_T_ICLASS
+ printf "%sT_ICLASS%s: ", $color_type, $color_end
+ rp_class $arg0
+ else
+ if ($flags & RUBY_T_MASK) == RUBY_T_MODULE
+ printf "%sT_MODULE%s: ", $color_type, $color_end
+ 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)
+ 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
+ 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
+ set print address off
+ output (char *)(($rsflags & RUBY_FL_USER1) ? \
+ ((struct RString*)$regsrc)->as.heap.ptr : \
+ ((struct RString*)$regsrc)->as.ary)
+ set print address on
+ printf " len:%ld ", ($rsflags & RUBY_FL_USER1) ? \
+ ((struct RString*)$regsrc)->as.heap.len : \
+ (($rsflags & (RUBY_FL_USER2|RUBY_FL_USER3|RUBY_FL_USER4|RUBY_FL_USER5|RUBY_FL_USER6)) >> RUBY_FL_USHIFT+2)
+ if $flags & RUBY_FL_USER6
+ printf "(none) "
+ end
+ if $flags & RUBY_FL_USER5
+ printf "(literal) "
+ end
+ if $flags & RUBY_FL_USER4
+ printf "(fixed) "
+ end
+ printf "encoding:%d ", ($flags & RUBY_ENCODING_MASK) >> RUBY_ENCODING_SHIFT
+ print (struct RRegexp *)($arg0)
+ else
+ 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 "(embed) "
+ if ($len == 0)
+ printf "{(empty)} "
+ else
+ output/x *((VALUE*)((struct RArray*)($arg0))->as.ary) @ $len
+ printf " "
+ end
+ else
+ set $len = ((struct RArray*)($arg0))->as.heap.len
+ printf "%sT_ARRAY%s: len=%ld ", $color_type, $color_end, $len
+ if ($flags & RUBY_FL_USER2)
+ printf "(shared) shared="
+ output/x ((struct RArray*)($arg0))->as.heap.aux.shared
+ printf " "
+ else
+ printf "(ownership) capa=%ld ", ((struct RArray*)($arg0))->as.heap.aux.capa
+ end
+ if ($len == 0)
+ printf "{(empty)} "
+ else
+ output/x *((VALUE*)((struct RArray*)($arg0))->as.heap.ptr) @ $len
+ printf " "
+ end
+ end
+ print (struct RArray *)($arg0)
+ else
+ if ($flags & RUBY_T_MASK) == RUBY_T_FIXNUM
+ printf "%sT_FIXNUM%s: ", $color_type, $color_end
+ print (struct RBasic *)($arg0)
+ else
+ if ($flags & RUBY_T_MASK) == RUBY_T_HASH
+ printf "%sT_HASH%s: ", $color_type, $color_end,
+ 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, \
+ (($flags & (RUBY_FL_USER1|RUBY_FL_USER2)) ? \
+ ($flags & (RUBY_FL_USER1|RUBY_FL_USER2)) >> (RUBY_FL_USHIFT+1) : \
+ ((struct RStruct *)($arg0))->as.heap.len)
+ print (struct RStruct *)($arg0)
+ x/xw (($flags & (RUBY_FL_USER1|RUBY_FL_USER2)) ? \
+ ((struct RStruct *)($arg0))->as.ary : \
+ ((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, \
+ (($flags & RUBY_FL_USER1) != 0), \
+ (($flags & RUBY_FL_USER2) ? \
+ ($flags & (RUBY_FL_USER5|RUBY_FL_USER4|RUBY_FL_USER3)) >> (RUBY_FL_USHIFT+3) : \
+ ((struct RBignum*)($arg0))->as.heap.len)
+ if $flags & RUBY_FL_USER2
+ printf "(embed) "
+ end
+ print (struct RBignum *)($arg0)
+ x/xw (($flags & RUBY_FL_USER2) ? \
+ ((struct RBignum*)($arg0))->as.ary : \
+ ((struct RBignum*)($arg0))->as.heap.digits)
+ else
+ if ($flags & RUBY_T_MASK) == RUBY_T_RATIONAL
+ printf "%sT_RATIONAL%s: ", $color_type, $color_end
+ print (struct RRational *)($arg0)
+ else
+ if ($flags & RUBY_T_MASK) == RUBY_T_COMPLEX
+ printf "%sT_COMPLEX%s: ", $color_type, $color_end
+ print (struct RComplex *)($arg0)
+ else
+ if ($flags & RUBY_T_MASK) == RUBY_T_FILE
+ printf "%sT_FILE%s: ", $color_type, $color_end
+ 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
+ print (struct RBasic *)($arg0)
+ else
+ if ($flags & RUBY_T_MASK) == RUBY_T_FALSE
+ printf "%sT_FALSE%s: ", $color_type, $color_end
+ 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
+ print (struct RTypedData *)($arg0)
+ else
+ printf "%sT_DATA%s: ", $color_type, $color_end
+ print (struct RData *)($arg0)
+ end
+ else
+ if ($flags & RUBY_T_MASK) == RUBY_T_MATCH
+ printf "%sT_MATCH%s: ", $color_type, $color_end
+ print (struct RMatch *)($arg0)
+ else
+ if ($flags & RUBY_T_MASK) == RUBY_T_SYMBOL
+ printf "%sT_SYMBOL%s: ", $color_type, $color_end
+ print (struct RBasic *)($arg0)
+ else
+ if ($flags & RUBY_T_MASK) == RUBY_T_UNDEF
+ printf "%sT_UNDEF%s: ", $color_type, $color_end
+ print (struct RBasic *)($arg0)
+ else
+ if ($flags & RUBY_T_MASK) == RUBY_T_NODE
+ printf "%sT_NODE%s(", $color_type, $color_end
+ 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
+ print (struct RData *)($arg0)
+ else
+ printf "%sunknown%s: ", $color_type, $color_end
+ print (struct RBasic *)($arg0)
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+end
+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
+ rb_numtable_entry global_symbols.id_str $id
+ if $rb_numtable_rec
+ rp_string $rb_numtable_rec
+ 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
+document rp_class
+ Print the content of a Class/Module.
+end
+
+define nd_type
+ print (enum node_type)((((NODE*)($arg0))->flags&RUBY_NODE_TYPEMASK)>>RUBY_NODE_TYPESHIFT)
+end
+document nd_type
+ Print a Ruby' node type.
+end
+
+define nd_file
+ print ((NODE*)($arg0))->nd_file
+end
+document nd_file
+ Print the source file name of a node.
+end
+
+define nd_line
+ print ((unsigned int)((((NODE*)($arg0))->flags>>RUBY_NODE_LSHIFT)&RUBY_NODE_LMASK))
+end
+document nd_line
+ Print the source line number of a node.
+end
+
+# Print members of ruby node.
+
+define nd_head
+ printf "%su1.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u1.node
+end
+
+define nd_alen
+ printf "%su2.argc%s: ", $color_highlite, $color_end
+ p ($arg0).u2.argc
+end
+
+define nd_next
+ printf "%su3.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u3.node
+end
+
+
+define nd_cond
+ printf "%su1.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u1.node
+end
+
+define nd_body
+ printf "%su2.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u2.node
+end
+
+define nd_else
+ printf "%su3.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u3.node
+end
+
+
+define nd_orig
+ printf "%su3.value%s: ", $color_highlite, $color_end
+ rp ($arg0).u3.value
+end
+
+
+define nd_resq
+ printf "%su2.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u2.node
+end
+
+define nd_ensr
+ printf "%su3.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u3.node
+end
+
+
+define nd_1st
+ printf "%su1.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u1.node
+end
+
+define nd_2nd
+ printf "%su2.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u2.node
+end
+
+
+define nd_stts
+ printf "%su1.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u1.node
+end
+
+
+define nd_entry
+ printf "%su3.entry%s: ", $color_highlite, $color_end
+ p ($arg0).u3.entry
+end
+
+define nd_vid
+ printf "%su1.id%s: ", $color_highlite, $color_end
+ p ($arg0).u1.id
+end
+
+define nd_cflag
+ printf "%su2.id%s: ", $color_highlite, $color_end
+ p ($arg0).u2.id
+end
+
+define nd_cval
+ printf "%su3.value%s: ", $color_highlite, $color_end
+ rp ($arg0).u3.value
+end
+
+
+define nd_cnt
+ printf "%su3.cnt%s: ", $color_highlite, $color_end
+ p ($arg0).u3.cnt
+end
+
+define nd_tbl
+ printf "%su1.tbl%s: ", $color_highlite, $color_end
+ p ($arg0).u1.tbl
+end
+
+
+define nd_var
+ printf "%su1.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u1.node
+end
+
+define nd_ibdy
+ printf "%su2.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u2.node
+end
+
+define nd_iter
+ printf "%su3.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u3.node
+end
+
+
+define nd_value
+ printf "%su2.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u2.node
+end
+
+define nd_aid
+ printf "%su3.id%s: ", $color_highlite, $color_end
+ p ($arg0).u3.id
+end
+
+
+define nd_lit
+ printf "%su1.value%s: ", $color_highlite, $color_end
+ rp ($arg0).u1.value
+end
+
+
+define nd_frml
+ printf "%su1.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u1.node
+end
+
+define nd_rest
+ printf "%su2.argc%s: ", $color_highlite, $color_end
+ p ($arg0).u2.argc
+end
+
+define nd_opt
+ printf "%su1.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u1.node
+end
+
+
+define nd_recv
+ printf "%su1.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u1.node
+end
+
+define nd_mid
+ printf "%su2.id%s: ", $color_highlite, $color_end
+ p ($arg0).u2.id
+end
+
+define nd_args
+ printf "%su3.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u3.node
+end
+
+
+define nd_noex
+ printf "%su1.id%s: ", $color_highlite, $color_end
+ p ($arg0).u1.id
+end
+
+define nd_defn
+ printf "%su3.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u3.node
+end
+
+
+define nd_old
+ printf "%su1.id%s: ", $color_highlite, $color_end
+ p ($arg0).u1.id
+end
+
+define nd_new
+ printf "%su2.id%s: ", $color_highlite, $color_end
+ p ($arg0).u2.id
+end
+
+
+define nd_cfnc
+ printf "%su1.cfunc%s: ", $color_highlite, $color_end
+ p ($arg0).u1.cfunc
+end
+
+define nd_argc
+ printf "%su2.argc%s: ", $color_highlite, $color_end
+ p ($arg0).u2.argc
+end
+
+
+define nd_cname
+ printf "%su1.id%s: ", $color_highlite, $color_end
+ p ($arg0).u1.id
+end
+
+define nd_super
+ printf "%su3.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u3.node
+end
+
+
+define nd_modl
+ printf "%su1.id%s: ", $color_highlite, $color_end
+ p ($arg0).u1.id
+end
+
+define nd_clss
+ printf "%su1.value%s: ", $color_highlite, $color_end
+ rp ($arg0).u1.value
+end
+
+
+define nd_beg
+ printf "%su1.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u1.node
+end
+
+define nd_end
+ printf "%su2.node%s: ", $color_highlite, $color_end
+ rp ($arg0).u2.node
+end
+
+define nd_state
+ printf "%su3.state%s: ", $color_highlite, $color_end
+ p ($arg0).u3.state
+end
+
+define nd_rval
+ printf "%su2.value%s: ", $color_highlite, $color_end
+ rp ($arg0).u2.value
+end
+
+
+define nd_nth
+ printf "%su2.argc%s: ", $color_highlite, $color_end
+ p ($arg0).u2.argc
+end
+
+
+define nd_tag
+ printf "%su1.id%s: ", $color_highlite, $color_end
+ p ($arg0).u1.id
+end
+
+define nd_tval
+ printf "%su2.value%s: ", $color_highlite, $color_end
+ rp ($arg0).u2.value
+end
+
+define rb_p
+ call rb_p($arg0)
+end
+
+define rb_numtable_entry
+ set $rb_numtable_tbl = $arg0
+ set $rb_numtable_id = (st_data_t)$arg1
+ set $rb_numtable_key = 0
+ set $rb_numtable_rec = 0
+ if $rb_numtable_tbl->entries_packed
+ set $rb_numtable_p = $rb_numtable_tbl->as.packed.bins
+ while $rb_numtable_p && $rb_numtable_p < $rb_numtable_tbl->as.packed.bins+$rb_numtable_tbl->num_entries
+ if $rb_numtable_p.k == $rb_numtable_id
+ set $rb_numtable_key = $rb_numtable_p.k
+ set $rb_numtable_rec = $rb_numtable_p.v
+ set $rb_numtable_p = 0
+ else
+ set $rb_numtable_p = $rb_numtable_p + 1
+ end
+ end
+ else
+ 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
+ set $rb_numtable_rec = $rb_numtable_p->record
+ set $rb_numtable_p = 0
+ else
+ set $rb_numtable_p = $rb_numtable_p->next
+ end
+ end
+ end
+end
+
+define rb_id2name
+ ruby_gdb_init
+ printf "%sID%s: ", $color_type, $color_end
+ rp_id $arg0
+end
+document rb_id2name
+ Print the name of id
+end
+
+define rb_method_entry
+ set $rb_method_entry_klass = (struct RClass *)$arg0
+ 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
+ set $rb_method_entry_me = (rb_method_entry_t *)$rb_numtable_rec
+ if !$rb_method_entry_me
+ set $rb_method_entry_klass = (struct RClass *)$rb_method_entry_klass->ptr->super
+ end
+ end
+ if $rb_method_entry_me
+ print *$rb_method_entry_klass
+ print *$rb_method_entry_me
+ else
+ echo method not found\n
+ end
+end
+document rb_method_entry
+ Search method entry by class and id
+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
+end
+
+define rb_ancestors
+ set $rb_ancestors_module = $arg0
+ while $rb_ancestors_module
+ rp_class $rb_ancestors_module
+ set $rb_ancestors_module = ((struct RClass *)($rb_ancestors_module))->ptr.super
+ end
+end
+document rb_ancestors
+ Print ancestors.
+end
+
+define rb_backtrace
+ call rb_backtrace()
+end
+
+define iseq
+ if ruby_dummy_gdb_enums.special_consts
+ end
+ if ($arg0)->type == ISEQ_ELEMENT_NONE
+ echo [none]\n
+ end
+ if ($arg0)->type == ISEQ_ELEMENT_LABEL
+ print *(LABEL*)($arg0)
+ end
+ if ($arg0)->type == ISEQ_ELEMENT_INSN
+ print *(INSN*)($arg0)
+ if ((INSN*)($arg0))->insn_id != YARVINSN_jump
+ set $i = 0
+ set $operand_size = ((INSN*)($arg0))->operand_size
+ set $operands = ((INSN*)($arg0))->operands
+ while $i < $operand_size
+ rp $operands[$i++]
+ end
+ end
+ end
+ if ($arg0)->type == ISEQ_ELEMENT_ADJUST
+ print *(ADJUST*)($arg0)
+ end
+end
+
+define rb_ps
+ rb_ps_vm ruby_current_vm
+end
+document rb_ps
+Dump all threads and their callstacks
+end
+
+define rb_ps_vm
+ print $ps_vm = (rb_vm_t*)$arg0
+ set $ps_threads = (st_table*)$ps_vm->living_threads
+ if $ps_threads->entries_packed
+ set $ps_threads_i = 0
+ while $ps_threads_i < $ps_threads->num_entries
+ set $ps_threads_key = (st_data_t)$ps_threads->as.packed.entries[$ps_threads_i].key
+ set $ps_threads_val = (st_data_t)$ps_threads->as.packed.entries[$ps_threads_i].val
+ rb_ps_thread $ps_threads_key $ps_threads_val
+ set $ps_threads_i = $ps_threads_i + 1
+ end
+ else
+ set $ps_threads_ptr = (st_table_entry*)$ps_threads->head
+ while $ps_threads_ptr
+ set $ps_threads_key = (st_data_t)$ps_threads_ptr->key
+ set $ps_threads_val = (st_data_t)$ps_threads_ptr->record
+ rb_ps_thread $ps_threads_key $ps_threads_val
+ set $ps_threads_ptr = (st_table_entry*)$ps_threads_ptr->fore
+ end
+ end
+end
+document rb_ps_vm
+Dump all threads in a (rb_vm_t*) and their callstacks
+end
+
+define rb_ps_thread
+ set $ps_thread = (struct RTypedData*)$arg0
+ set $ps_thread_id = $arg1
+ print $ps_thread_th = (rb_thread_t*)$ps_thread->data
+end
+
+# Details: https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/MachineInstructionsTraceWithGDB
+define trace_machine_instructions
+ set logging on
+ set height 0
+ set width 0
+ display/i $pc
+ while !$exit_code
+ info line *$pc
+ si
+ end
+end
+
+define SDR
+ call rb_vmdebug_stack_dump_raw_current()
+end
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000..dee365b3c6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,137 @@
+*-*-*.def
+*.a
+*.bak
+*.dSYM
+*.dmyh
+*.dylib
+*.elc
+*.inc
+*.log
+*.o
+*.orig
+*.rej
+*.sav
+*.swp
+*~
+.*-*
+.*.list
+.*.time
+.DS_Store
+.ccmalloc
+.ext
+.pc
+.ppack
+.svn
+Makefile
+Makefile.old
+extconf.h
+y.output
+y.tab.c
+
+# /
+/*.pc
+/*_prelude.c
+/COPYING.LIB
+/ChangeLog-1.8.0
+/ChangeLog.pre-alpha
+/ChangeLog.pre1_1
+/Doxyfile
+/GNUmakefile
+/GNUmakefile.old
+/README.atheos
+/README.fat-patch
+/README.v6
+/TAGS
+/archive
+/autom4te*.cache
+/automake
+/beos
+/breakpoints.gdb
+/config.cache
+/config.h
+/config.h.in
+/config.status
+/config.status.lineno
+/configure
+/doc/capi
+/enc.mk
+/encdb.h
+/exts.mk
+/goruby
+/id.[ch]
+/largefile.h
+/lex.c
+/libruby*.*
+/miniprelude.c
+/miniruby
+/newdate.rb
+/newline.c
+/newver.rb
+/parse.c
+/parse.h
+/patches
+/patches-master
+/pitest.rb
+/ppack
+/prelude.c
+/preview
+/probes.h
+/rbconfig.rb
+/rename2.h
+/repack
+/revision.h
+/riscos
+/rubicon
+/ruby
+/ruby-man.rd.gz
+/sizes.c
+/test.rb
+/tmp
+/transdb.h
+/uncommon.mk
+/verconf.h
+/web
+/yasmdata.rb
+
+# /benchmark/
+/benchmark/bmx_*.rb
+
+# /enc/trans/
+/enc/trans/*.c
+
+# /ext/
+/ext/extinit.c
+
+# /ext/dl/callback/
+/ext/dl/callback/callback-*.c
+/ext/dl/callback/callback.c
+
+# /ext/rbconfig/
+/ext/rbconfig/sizeof/sizes.c
+
+# /ext/ripper/
+/ext/ripper/eventids1.c
+/ext/ripper/eventids2table.c
+/ext/ripper/ripper.*
+/ext/ripper/ids1
+/ext/ripper/ids2
+
+# /ext/socket/
+/ext/socket/constants.h
+/ext/socket/constdefs.h
+/ext/socket/constdefs.c
+
+# /ext/tk/
+/ext/tk/config_list
+
+# /spec/
+/spec/mspec
+/spec/rubyspec
+
+# /tool/
+/tool/config.guess
+/tool/config.sub
+
+# /win32/
+/win32/*.ico
+/win32/.time
diff --git a/.indent.pro b/.indent.pro
new file mode 100644
index 0000000000..6a207a0554
--- /dev/null
+++ b/.indent.pro
@@ -0,0 +1,21 @@
+-bap
+-nbbb
+-nbc
+-br
+-nbs
+-ncdb
+-ce
+-cli0.5
+-ndj
+-ei
+-nfc1
+-i4
+-l120
+-lp
+-npcs
+-psl
+-sc
+-sob
+
+-TID
+-TVALUE
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..8db00587d6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,86 @@
+# Copyright (C) 2011 Urabe, Shyouhei. All rights reserved.
+#
+# This file is a part of the programming language Ruby. Permission is hereby
+# granted, to either redistribute or modify this file, provided that the
+# conditions mentioned in the file COPYING are met. Consult the file for
+# details.
+
+# This is a Travis-CI build configuration file. The list of configurations
+# available is located in
+#
+# http://about.travis-ci.org/docs/user/build-configuration/
+#
+# and as Ruby itself is a project written in C language,
+#
+# http://about.travis-ci.org/docs/user/languages/c/
+#
+# is also a good place to look at.
+
+# Language specification.
+language: c
+
+# Compilers. Several compilers are provided in Travis, so we try them all.
+# The value set here is visible via $CC environment variable.
+compiler:
+ - gcc
+ - clang
+
+# 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:
+ - "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:
+ - "make -f common.mk BASERUBY=ruby srcdir=. update-config_files"
+ - "autoconf"
+ - "mkdir config_1st config_2nd"
+ - "./configure -C --with-gcc=$CC"
+ - "cp -pr config.status .ext/include config_1st"
+ - "make reconfig"
+ - "cp -pr config.status .ext/include config_2nd"
+ - "diff -ru config_1st config_2nd"
+ - "make -sj encs"
+ - "make -sj exts"
+script:
+ - "make test OPTS=-v"
+# - "make test-all TESTS='-v'"
+
+# Branch matrix. Not all branches are Travis-ready so we limit branches here.
+branches:
+ only:
+ - trunk
+ - ruby_1_9_3
+
+# We want to be notified when something happens.
+notifications:
+ irc:
+ channels:
+ - "irc.freenode.org#ruby-core"
+ - "irc.freenode.org#ruby-ja"
+ on_success: change # [always|never|change] # default: always
+ on_failure: change # [always|never|change] # default: always
+ 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
+# indent-tabs-mode: nil
+# tab-width: 4
+# fill-column: 79
+# default-justification: full
+# End:
diff --git a/BSDL b/BSDL
new file mode 100644
index 0000000000..a009caefea
--- /dev/null
+++ b/BSDL
@@ -0,0 +1,22 @@
+Copyright (C) 1993-2013 Yukihiro Matsumoto. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
diff --git a/COPYING b/COPYING
index 870a5f22d6..a1f19ff99d 100644
--- a/COPYING
+++ b/COPYING
@@ -1,6 +1,6 @@
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
-You can redistribute it and/or modify it under either the terms of the GPL
-(see the file GPL), or the conditions below:
+You can redistribute it and/or modify it under either the terms of the
+2-clause BSDL (see the file BSDL), or the conditions below:
1. You may make and give away verbatim copies of the source form of the
software without restriction, provided that you duplicate all of the
diff --git a/COPYING.ja b/COPYING.ja
index 933cc7cb9a..e50d01c8d1 100644
--- a/COPYING.ja
+++ b/COPYING.ja
@@ -1,51 +1,51 @@
-$BK\%W%m%0%i%`$O%U%j!<%=%U%H%&%'%"$G$9!%(BGPL(the GNU General
-Public License)$B$^$?$O0J2<$K<($9>r7o$GK\%W%m%0%i%`$r:FG[I[$G(B
-$B$-$^$9!%(BGPL$B$K$D$$$F$O(BGPL$B%U%!%$%k$r;2>H$7$F2<$5$$!%(B
+本プログラムはフリーソフトウェアです.2-clause BSDL
+または以下に示す条件で本プログラムを再配布できます
+2-clause BSDLについてはBSDLファイルを参照して下さい.
- 1. $BJ#@=$O@)8B$J$/<+M3$G$9!%(B
+ 1. 複製は制限なく自由です.
- 2. $B0J2<$N>r7o$N$$$:$l$+$rK~$?$9;~$KK\%W%m%0%i%`$N%=!<%9$r(B
- $B<+M3$KJQ99$G$-$^$9!%(B
+ 2. 以下の条件のいずれかを満たす時に本プログラムのソースを
+ 自由に変更できます.
- (a) $B%M%C%H%K%e!<%:$K%]%9%H$7$?$j!$:n<T$KJQ99$rAwIU$9$k(B
- $B$J$I$NJ}K!$G!$JQ99$r8x3+$9$k!%(B
+ (a) ネットニューズにポストしたり,作者に変更を送付する
+ などの方法で,変更を公開する.
- (b) $BJQ99$7$?K\%W%m%0%i%`$r<+J,$N=jB0$9$kAH?%FbIt$@$1$G(B
- $B;H$&!%(B
+ (b) 変更した本プログラムを自分の所属する組織内部だけで
+ 使う.
- (c) $BJQ99E@$rL@<($7$?$&$(!$%=%U%H%&%'%"$NL>A0$rJQ99$9$k!%(B
- $B$=$N%=%U%H%&%'%"$rG[I[$9$k;~$K$OJQ99A0$NK\%W%m%0%i(B
- $B%`$bF1;~$KG[I[$9$k!%$^$?$OJQ99A0$NK\%W%m%0%i%`$N%=!<(B
- $B%9$NF~<jK!$rL@<($9$k!%(B
+ (c) 変更点を明示したうえ,ソフトウェアの名前を変更する.
+ そのソフトウェアを配布する時には変更前の本プログラ
+ ムも同時に配布する.または変更前の本プログラムのソー
+ スの入手法を明示する.
- (d) $B$=$NB>$NJQ99>r7o$r:n<T$H9g0U$9$k!%(B
+ (d) その他の変更条件を作者と合意する.
- 3. $B0J2<$N>r7o$N$$$:$l$+$rK~$?$9;~$KK\%W%m%0%i%`$r%3%s%Q%$(B
- $B%k$7$?%*%V%8%'%/%H%3!<%I$d<B9T7A<0$G$bG[I[$G$-$^$9!%(B
+ 3. 以下の条件のいずれかを満たす時に本プログラムをコンパイ
+ ルしたオブジェクトコードや実行形式でも配布できます.
- (a) $B%P%$%J%j$r<u$1<h$C$??M$,%=!<%9$rF~<j$G$-$k$h$&$K!$(B
- $B%=!<%9$NF~<jK!$rL@<($9$k!%(B
+ (a) バイナリを受け取った人がソースを入手できるように,
+ ソースの入手法を明示する.
- (b) $B5!3#2DFI$J%=!<%9%3!<%I$rE:IU$9$k!%(B
+ (b) 機械可読なソースコードを添付する.
- (c) $BJQ99$r9T$C$?%P%$%J%j$OL>A0$rJQ99$7$?$&$(!$%*%j%8%J(B
- $B%k$N%=!<%9%3!<%I$NF~<jK!$rL@<($9$k!%(B
+ (c) 変更を行ったバイナリは名前を変更したうえ,オリジナ
+ ルのソースコードの入手法を明示する.
- (d) $B$=$NB>$NG[I[>r7o$r:n<T$H9g0U$9$k!%(B
+ (d) その他の配布条件を作者と合意する.
- 4. $BB>$N%W%m%0%i%`$X$N0zMQ$O$$$+$J$kL\E*$G$"$l<+M3$G$9!%$?(B
- $B$@$7!$K\%W%m%0%i%`$K4^$^$l$kB>$N:n<T$K$h$k%3!<%I$O!$$=(B
- $B$l$>$l$N:n<T$N0U8~$K$h$k@)8B$,2C$($i$l$k>l9g$,$"$j$^$9!%(B
+ 4. 他のプログラムへの引用はいかなる目的であれ自由です.た
+ だし,本プログラムに含まれる他の作者によるコードは,そ
+ れぞれの作者の意向による制限が加えられる場合があります.
- $B$=$l$i%U%!%$%k$N0lMw$H$=$l$>$l$NG[I[>r7o$J$I$KIU$$$F$O(B
- LEGAL$B%U%!%$%k$r;2>H$7$F$/$@$5$$!%(B
+ それらファイルの一覧とそれぞれの配布条件などに付いては
+ LEGALファイルを参照してください.
- 5. $BK\%W%m%0%i%`$X$NF~NO$H$J$k%9%/%j%W%H$*$h$S!$K\%W%m%0%i(B
- $B%`$+$i$N=PNO$N8"Mx$OK\%W%m%0%i%`$N:n<T$G$O$J$/!$$=$l$>(B
- $B$l$NF~=PNO$r@8@.$7$??M$KB0$7$^$9!%$^$?!$K\%W%m%0%i%`$K(B
- $BAH$_9~$^$l$k$?$a$N3HD%%i%$%V%i%j$K$D$$$F$bF1MM$G$9!%(B
+ 5. 本プログラムへの入力となるスクリプトおよび,本プログラ
+ ムからの出力の権利は本プログラムの作者ではなく,それぞ
+ れの入出力を生成した人に属します.また,本プログラムに
+ 組み込まれるための拡張ライブラリについても同様です.
- 6. $BK\%W%m%0%i%`$OL5J]>Z$G$9!%:n<T$OK\%W%m%0%i%`$r%5%]!<%H(B
- $B$9$k0U;V$O$"$j$^$9$,!$%W%m%0%i%`<+?H$N%P%0$"$k$$$OK\%W(B
- $B%m%0%i%`$N<B9T$J$I$+$iH/@8$9$k$$$+$J$kB;32$KBP$7$F$b@U(B
- $BG$$r;}$A$^$;$s!%(B
+ 6. 本プログラムは無保証です.作者は本プログラムをサポート
+ する意志はありますが,プログラム自身のバグあるいは本プ
+ ログラムの実行などから発生するいかなる損害に対しても責
+ 任を持ちません.
diff --git a/ChangeLog b/ChangeLog
index 3ec2124d86..19dbbd025e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,20367 +1,20038 @@
-Sun Mar 2 09:51:47 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Mon Oct 27 20:20:14 2014 NAKAMURA Usaku <usa@ruby-lang.org>
- * marshal.c (w_nbyte): should output always via rb_io_write().
+ * lib/rexml/entity.rb: keep the entity size within the limitation.
+ reported by Willis Vandevanter <will@silentrobots.com> and
+ patched by nahi.
- * marshal.c (dump_ensure): ditto.
+Sun Oct 26 03:31:46 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * marshal.c (marshal_dump): should call "binmode" method, if it
- responds to.
+ * vm_method.c (rb_method_entry_make): warn redefinition only for
+ already defined methods, but not for undefined methods.
+ [ruby-dev:48691] [Bug #10421]
- * marshal.c (r_byte): should input always via "getc" method.
+Sun Oct 26 03:21:30 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * marshal.c (r_bytes0): should input always via "read" method.
+ * class.c (unknown_keyword_error): delete expected keywords
+ directly from raw table, so that the given block is not called.
+ [ruby-core:65837] [Bug #10413]
- * marshal.c (marshal_load): need not to set up FILE* fp;
+Wed Oct 22 23:02:49 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
-Mon Mar 3 11:29:04 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * 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]
- * parse.y (arg): parse 'lhs = a rescue b' as 'lhs=(a rescue b)'.
+Wed Oct 22 23:02:49 2014 Martin Bosslet <Martin.Bosslet@gmail.com>
-Mon Mar 3 02:53:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/openssl/test_ssl.rb: Reuse TLS default options from
+ OpenSSL::SSL::SSLContext::DEFAULT_PARAMS.
- * io.c (rb_io_fread): should not clearerr() if there's no filled
- buffer (i.e. rb_io_fread() returning zero).
+Wed Oct 22 23:02:49 2014 Martin Bosslet <Martin.Bosslet@gmail.com>
-Mon Mar 03 01:42:35 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * 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]
- * misc/ruby-mode.el (ruby-expr-beg): escaped char syntax.
+Sun Oct 19 03:22:53 2014 Kazuki Tsujimoto <kazuki@callcc.net>
- * misc/ruby-mode.el (ruby-parse-partial): ditto.
+ * vm_core.h, vm.c, proc.c: fix GC mark miss on bindings.
+ [ruby-dev:48616] [Bug #10368]
- * misc/ruby-mode.el (ruby-parse-partial): no deep indent for
- block.
+ * test/ruby/test_eval.rb: add a test code.
- * misc/ruby-mode.el (ruby-backward-arg): skip arguments backward.
+Sun Oct 19 03:13:38 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * misc/ruby-mode.el (ruby-calculate-indent): too deep indentation.
+ * parse.y (parser_here_document): do not append already appended
+ and disposed code fragment. [ruby-dev:48647] [Bug #10392]
-Fri Feb 28 23:50:32 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+Thu Oct 16 22:10:11 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/win32.c (map_errno): map OS error to errno. [new]
+ * ext/stringio/stringio.c (strio_write): ASCII-8BIT StringIO
+ should be writable any encoding strings, without conversion.
+ [ruby-core:65240] [Bug #10285]
- * win32/win32.c (pipe_exec, CreateChild, poll_child_status, waitpid,
- kill, link, rb_w32_rename, unixtime_to_filetime, rb_w32_utime): use
- map_errno() instead of using GetLastError() directly.
+Thu Oct 16 22:06:03 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/win32.c (rb_w32_select, rb_w32_accept, rb_w32_bind,
- rb_w32_connect, rb_w32_getpeername, rb_w32_getsockname,
- rb_w32_getsockopt, rb_w32_ioctlsocket, rb_w32_listen, rb_w32_recv,
- rb_w32_recvfrom, rb_w32_send, rb_w32_sendto, rb_w32_setsockopt,
- rb_w32_shutdown, rb_w32_socket, rb_w32_gethostbyaddr,
- rb_w32_gethostbyname, rb_w32_gethostname, rb_w32_getprotobyname,
- rb_w32_getprotobynumber, rb_w32_getservbyname, rb_w32_getservbyport,
- rb_w32_fclose, rb_w32_close): map winsock error to errno.
+ * 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]
-Fri Feb 28 22:54:10 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Thu Oct 16 00:30:30 2014 Tanaka Akira <akr@fsij.org>
- * win32/win32.c (flock): supports larger files, and maps error
- code.
-
- * win32/win32.c (rb_w32_asynchronize): returns errno from child
- thread.
-
- * win32/win32.c (rb_w32_fclose, rb_w32_close): ensures unlocked.
-
-Wed Feb 26 17:38:16 2003 Tanaka Akira <akr@m17n.org>
-
- * lib/open-uri.rb: replace Kernel.open as well.
-
-Tue Feb 25 23:03:08 2003 NAKAMURA Hiroshi <nahi@ruby-lang.org>
-
- * lib/debug.rb (DEBUGGER__::Context#debug_command): bp filename must
- be the basename of it. [ruby-talk:65644]
-
-Mon Feb 24 17:49:35 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * parse.y (yycompile): zero clear ruby_eval_tree_begin if
- compilation failed.
-
-Mon Feb 24 08:06:29 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * string.c (str_new): need no MEMZERO().
-
-Sun Feb 23 17:57:06 2003 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * lib/fileutils (fu_stream_blksize): wrong logial condition.
- (and -> or).
-
-Sat Feb 22 03:12:56 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * numeric.c (fix_gt): use rb_num_coerce_cmp() instead of
- rb_num_coerce_bin.
-
- * numeric.c (fix_ge, fix_lt, fix_le): ditto.
-
- * numeric.c (flo_gt, flo_ge, flo_lt, flo_le): ditto.
-
-Sat Feb 22 02:45:20 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_thread_create): may called from place higher than
- rb_gc_stack_start.
-
- * gc.c (Init_stack): update rb_gc_stack_start if it is lower (or
- higher if stack grows down) than the previous value.
-
-Fri Feb 21 21:03:41 2003 Minero Aoki <aamine@loveruby.net>
-
- * lib/fileutils.rb: new method FileUtils#copy_stream.
-
- * lib/fileutils.rb: new method FileUtils#compare_file.
-
- * lib/fileutils.rb: new method FileUtils#compare_stream.
-
- * lib/fileutils.rb: new method FileUtils#rmtree (alias of rm_rf).
-
-Fri Feb 21 17:19:27 2003 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * eval.c (rb_f_require): do not need to abort if a DLEXT file
- is not found.
-
-Fri Feb 21 13:39:25 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * string.c (rb_str_cmp_m): should use LONG2NUM().
-
-Fri Feb 21 12:45:50 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * string.c (rb_str_cmp_m): two small bugs fixed.
-
-Fri Feb 21 08:03:09 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * gc.c (rb_gc_mark): inline rb_gc_mark_children().
-
- * gc.c (gc_sweep): new tactics to increase malloc_limit mildly.
-
-Fri Feb 21 05:16:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * string.c (rb_str_cmp_m): return nil if str2 does not respond to
- both "to_str" and "<=>".
-
- * compar.c (cmp_gt): return nil if "<=>" returns nil (means
- incomparable).
-
- * compar.c (cmp_ge, cmp_lt, cmp_le): ditto.
-
- * compar.c (cmp_between): use RTEST(), since cmp_lt and cmp_gt may
- return nil.
-
-Thu Feb 20 19:05:51 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_thread_start_0): main thread swapped by fork() may
- terminate rb_thread_start_0() successfully. call ruby_stop(0);
- this change was suggested by Rudi Cilibrasi
- <cilibrar@drachma.ugcs.caltech.edu>.
-
-Thu Feb 20 18:44:51 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * file.c (file_expand_path): fix wrong behavior for root file.
- expand_path("..", "//machine/share") => "//machine/share"
- expand_path("..", "c:/a") => "c:/"
- expand_path("..", "/a") => "/"
-
-Thu Feb 20 18:11:01 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * file.c (file_expand_path): should not upward beyond share name.
-
-Thu Feb 20 15:45:33 2003 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * missing.h (strtoul): fix prototype of strtoul.
-
-Thu Feb 20 10:11:30 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * parse.y (clhs): allow "Foo::Bar = x".
-
-Thu Feb 20 04:07:06 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * parse.y (primary): "self[n]=x" can be legal even when "[]=" is
- private. changes submitted in [ruby-talk:63982]
-
- * parse.y (aryset): ditto.
-
- * parse.y (attrset): "self.foo=x" can be legal even when "foo="
- is private.
-
- * eval.c (is_defined): private "[]=" and "foo=" support.
-
- * eval.c (rb_eval, assign): ditto.
-
-Thu Feb 20 03:58:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_eval): "foo=" should not always be public.
-
-Thu Feb 20 01:23:59 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (rb_thread_restore_context): inhibit interrupts in
- critical section while context switching. [ruby-talk:64785]
-
-Wed Feb 19 18:27:42 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * node.h (nd_cpath): nested class/module declaration.
- [EXPREIMENTAL]
-
- * eval.c (rb_eval): ditto.
-
- * gc.c (rb_gc_mark_children): ditto.
-
- * parse.y (cpath): ditto.
-
-Tue Feb 18 21:39:27 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_call0): should not report uninitialized warning by
- attribute reader method.
-
- * variable.c (rb_attr_get): new function to get instance variable
- without uninitialized warning.
-
- * io.c (argf_to_io): should prefetch argv.
-
-Tue Feb 18 00:13:50 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * misc/ruby-mode.el (ruby-comment-column): customize comment
- column. [new]
-
- * misc/ruby-mode.el (ruby-deep-indent-paren): deep indentation
- parentheses. [new]
-
- * misc/ruby-mode.el (ruby-expr-beg): fix for / after $?.
-
- * misc/ruby-mode.el (ruby-parse-partial, ruby-calculate-indent):
- deep indentation support.
-
- * misc/ruby-mode.el (ruby-forward-sexp, ruby-backward-sexp):
- move forward/backward across one balanced expression. [new]
-
- * misc/ruby-mode.el (ruby-indent-exp): indent balanced
- expression. [new]
-
- * misc/ruby-mode.el (ruby-electric-brace): indent before
- show matching parenthesis. (contributed by NABEYA Kenichi)
-
-Mon Feb 17 14:36:56 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * win32/win32.c (rb_w32_opendir, rb_w32_utime): need parens.
-
-Mon Feb 17 14:13:25 2003 NAKAMURA Usaku <usa@ruby-lang.org>
-
- * win32/win32.c (link): implement with CreateHardLink().
-
- * win32/win32.c, win32/win32.h (rb_w32_utime): enable utime() to
- directory if on NT. [new] (ruby-bugs-ja:PR#393)
-
-Mon Feb 17 13:28:51 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * file.c (file_expand_path): strip last slash when path is
- root.
-
-Sun Feb 16 19:22:31 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * file.c (file_expand_path): buffer might be reallocated while
- expanding default directory.
-
- * file.c (file_expand_path): default directory was being
- ignored if path was full path with no drive letter, under
- DOSISH.
-
-Sun Feb 16 03:14:33 2003 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * io.c (prep_stdio, Init_io): always set binmode on Cygwin.
-
-Sat Feb 15 01:01:45 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * file.c (file_expand_path): fix surplus path separators while
- expanding at root directory. [ruby-dev:19572]
-
-Fri Feb 14 14:25:24 2003 akira yamada <akira@arika.org>
-
- * lib/uri/generic.rb, lib/uri/ldap.rb, lib/uri/mailto.ldap: all foo=()
- returns arguments passed by caller.
-
- * lib/uri/generic.rb (Generic#to_str, Generic#to_s): removed to_str.
- Suggested by Tanaka Akira <akr@m17n.org> at [ruby-dev:19475].
-
- * lib/uri/generic.rb (Generic#==): should not generate an URI object
- from argument. Suggested by Tanaka Akira <akr@m17n.org> at
- [ruby-dev:19475].
-
-Thu Feb 13 11:54:50 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * ruby.c (ruby_init_loadpath): ensures buffer terminated
- before use strncpy().
-
- * ruby.c (proc_options): avoid SEGV at -S with no arguments.
- script argument is in effect only when -e is not given.
- (ruby-bugs-ja:PR#391)
-
-Thu Feb 13 01:30:10 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (rb_thread_schedule): current thread may be dead when
- deadlock. (ruby-bugs:PR#588)
-
-Thu Feb 13 00:28:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * range.c (range_step): step might be float 0 < x < 1.
-
- * eval.c (rb_thread_schedule): pause if no runnable thread when
- there's only one thread.
-
-Thu Feb 13 00:09:47 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * file.c (strrdirsep): ignore trailing directory separators.
-
- * file.c (rb_file_s_expand_path): File.expand_path(".","/") should
- return "/". (ruby-bugs-ja:PR#389)
-
- * file.c (rb_file_s_basename): also ignore trailing directory
- separators, in compliance with SUSv3. (ruby-bugs-ja:PR#390)
-
- * file.c (rb_file_s_dirname, rb_file_s_extname): ditto.
-
- * file.c (rb_file_s_dirname): append "." if drive only.
-
- * file.c (rb_file_s_split): get rid of converting twice.
-
-Mon Feb 10 20:55:15 2003 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * ext/extmk.rb (parse_args): add '-n' to $mflags BEFORE "--".
- do not add DESTDIR if already included in $mflags.
-
-Mon Feb 10 19:54:30 2003 Minero Aoki <aamine@loveruby.net>
+ * lib/find.rb (Find.find): Call to_path for arguments to obtain
+ strings.
+ [ruby-core:63713] [Bug #10035] Reported by Herwin.
- * lib/fileutils.rb (FileUtils#uptodate?): use mtime for
- comparison.
+Thu Oct 16 00:20:12 2014 Eric Wong <e@80x24.org>
-Mon Feb 10 10:14:26 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * object.c (rb_class_real): do not dereference 0 VALUE
- * array.c (rb_ary_to_a): return value should be an Array if the
- receiver is an instance of subclass of Array.
+ * test/ruby/test_module.rb (test_inspect_segfault):
+ Test case and bug report by Thomas Stratmann.
+ [ruby-core:65214] [Bug #10282]
- * string.c (rb_str_to_s): return value should be a String if the
- receiver is an instance of subclass of String.
+Thu Oct 16 00:10:45 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Feb 10 03:33:42 2003 WATANABE Hirofumi <eban@ruby-lang.org>
+ * signal.c (rb_f_kill): get rid of deadlock as unhandled and
+ discarded signals do not make interrupt_cond signaled.
+ based on the patch by Kazuki Tsujimoto at [ruby-dev:48606].
+ [Bug #9820]
- * io.c (rb_file_sysopen): rb_file_sysopen_internal() needs four
- arguments.
-
-Sun Feb 09 15:16:04 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * intern.h (HAVE_RB_DEFINE_ALLOC_FUNC, RB_CVAR_SET_4ARGS):
- define to 1.
-
- * ruby.h (NORETURN_STYLE_NEW): ditto.
-
-Sun Feb 09 12:28:18 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * lib/mkmf.rb (init_mkmf): add libdir to LIBPATH unless cross
- compiling.
-
-Sun Feb 9 08:34:45 2003 Minero Aoki <aamine@loveruby.net>
-
- * lib/net/http.rb: 4xx raises Net::ProtoServerError, 5xx raises
- Net::ProtoFatalError (for backward compatibility).
-
-Sun Feb 9 07:07:26 2003 Minero Aoki <aamine@loveruby.net>
-
- * lib/fileutils.rb: new method FileUtils.pwd (really).
-
- * lib/fileutils.rb: FileUtils.pwd, cmp, identical?, uptodate? does
- not accept any option.
-
-Sat Feb 8 18:35:30 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * misc/ruby-mode.el (ruby-forward-string): fixed void variable
- error.
+Thu Oct 16 00:10:45 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sat Feb 8 16:23:11 2003 NABEYA Kenichi <kenichi@nabeya.com>
+ * signal.c (rb_f_kill): should not ignore signal unless the
+ default handler is registered. [ruby-dev:48592] [Bug #9820]
- * misc/ruby-mode.el (ruby-font-lock-keywords): method name can
- be delimited by tab.
+Wed Oct 15 23:58:13 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
-Sat Feb 8 03:57:32 2003 Akinori MUSHA <knu@iDaemons.org>
+ merge r47598 partially. extracted commits are as follows. [Bug #9728]
+ https://github.com/k-takata/Onigmo/commit/15ddec6d18e27fdc1988236764e766fd5892ecf5
- * lib/irb/workspace.rb, lib/irb/ext/math-mode.rb,
- lib/irb/ext/multi-irb.rb, lib/irb/lc/error.rb,
- lib/irb/lc/help-message, lib/irb/lc/ja/error.rb,
- lib/shell/command-processor.rb, lib/shell/error.rb,
- lib/shell/filter.rb: Fix typos and grammos. [approved by: keiju]
+Wed Oct 15 23:50:33 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
-Sat Feb 8 03:34:28 2003 Akinori MUSHA <knu@iDaemons.org>
+ * lib/fileutils.rb: handle ENOENT error with symlink targeted to
+ non-exists file. [ruby-dev:45933] [Bug #6716]
- * intern.h (HAVE_RB_DEFINE_ALLOC_FUNC): New boolean macro to make
- it easier to write extensions that work with both ~1.6 and 1.8~.
+Wed Oct 15 23:25:24 2014 NARUSE, Yui <naruse@ruby-lang.org>
- * intern.h (RB_CVAR_SET_4ARGS): Ditto.
+ * configure.in: NetBSD's ksh, used by configure, needs escapes.
- * ruby.h (NORETURN_STYLE_NEW): Ditto.
+Wed Oct 15 23:13:43 2014 Eric Wong <e@80x24.org>
-Sat Feb 8 00:47:24 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (ary_recycle_hash): add RB_GC_GUARD
+ (rb_ary_diff): remove volatile
+ [Bug #10369]
- * eval.c (rb_call): calls method_missing when superclass method
- does not exist.
+Wed Oct 15 23:10:07 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_f_missing): now handles "no super" case.
+ * 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]
- * object.c (rb_obj_ivar_get): Object#instance_variable_get: new
- method to get instance variable value without eval(). [new]
+Wed Oct 15 23:08:02 2014 Rei Odaira <Rei.Odaira@gmail.com>
- * object.c (rb_obj_ivar_set): Object#instance_variable_set: new
- method to set instance variable value without eval(). [new]
+ * configure.in: Fix typo. [Bug #9914]
-Fri Feb 7 15:35:21 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Wed Oct 15 22:46:52 2014 NAKAMURA Usaku <usa@ruby-lang.org>
- * intern.h, re.c (rb_memsearch): returns long.
+ * error.c: update exception tree. [DOC]
+ reported by @hemge via twitter.
- * string.c (rb_str_index): should return offset position.
+Wed Sep 24 02:30:55 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Feb 7 15:30:15 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * parse.y (parse_ident): just after a label, new expression should
+ start, cannot be a modifier. [ruby-core:65211] [Bug #10279]
- * eval.c (proc_invoke): should propagate self to super
- methods. [ruby-dev:19510]
+Wed Sep 24 02:21:41 2014 NAKAMURA Usaku <usa@ruby-lang.org>
-Thu Feb 6 19:04:32 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * 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).
- * re.c (rb_reg_initialize_m): should not preset "kcode" unless
- encoding is explicitly specified.
+Wed Sep 24 02:06:33 2014 Tanaka Akira <akr@fsij.org>
-Thu Feb 6 19:01:32 2003 Minero Aoki <aamine@loveruby.net>
+ * test/ruby/test_time_tz.rb: Fix test error with tzdata-2014g.
+ [ruby-core:65058] [Bug #10245] Reported by Vit Ondruch.
- * lib/fileutils.rb: new method FileUtils.pwd.
+Wed Sep 24 02:06:33 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
- * lib/fileutils.rb: default label is ''.
+ * test/minitest/test_minitest_unit.rb: removed obsoleted condition
+ for Ruby 1.8.
+ * test/ruby/test_time_tz.rb: ditto.
- * lib/fileutils.rb: using module_eval again, to avoid ruby's bug.
+Wed Sep 24 01:43:13 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
- * lib/fileutils.rb: fix wrong examples in rdoc.
+ * version.h (RUBY_VERSION): bump RUBY_VERSION to 2.1.4.
-Thu Feb 6 17:43:56 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Sep 19 00:58:34 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
- * lib/complex.rb (Complex#==): should not raise error by type
- mismatch.
+ * version.h (RUBY_VERSION): bump RUBY_VERSION to 2.1.3.
- * lib/rational.rb (Rational#==): ditto.
+Mon Sep 15 23:12:47 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Feb 6 11:44:40 2003 MoonWolf <moonwolf@moonwolf.com>
+ * signal.c (check_stack_overflow): drop the last tag too close to
+ the fault page, to get rid of stack overflow deadlock.
+ [Bug #9971]
- * re.c (rb_reg_initialize_m): 3rd argument was ignored.
+Mon Sep 15 22:34:39 2014 Natalie Weizenbaum <nweiz@google.com>
-Thu Feb 6 01:09:05 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * 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]
- * string.c (rb_str_count): return 0 for empty string (was
- returning nil).
+Mon Sep 15 22:31:33 2014 Sho Hashimoto <sho.hsmt@gmail.com>
-Wed Feb 5 19:41:37 2003 Tanaka Akira <akr@m17n.org>
+ * ext/fiddle/lib/fiddle/import.rb (Fiddle::Importer#sizeof): fix typo,
+ SIZEOF_LONG_LON. [Fix GH-714]
- * lib/open-uri.rb: dispatch code restructured to make it openable
- that has `open' method.
+Mon Sep 15 11:08:23 2014 Shota Fukumori <her@sorah.jp>
- * lib/open-uri.rb: Location: field may has a relative URI.
- pointed out by erik eriksson <ee@opera.com>.
+ * lib/mkmf.rb (configuration): Make CXXFLAGS customizable.
+ Patch by Kohei Suzuki (eagletmt). [Fixes GH-492]
-Wed Feb 5 17:11:02 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Sep 15 01:06:35 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (yylex): no .<digit> float literal anymore.
+ * lib/mkmf.rb (MakeMakefile#pkg_config): append --cflags to also
+ $CXXFLAGS, as they are often used by C++ compiler.
+ [ruby-core:54532] [Bug #8315]
-Tue Feb 4 16:11:30 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Sep 15 00:02:20 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_equal): a == b is true when b is non T_ARRAY
- object, if b has "to_ary" and b == a.
+ * 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]
- * hash.c (rb_hash_equal): a == b is true when b is non T_HASH
- object, if b has "to_hash" and b == a.
+Wed Sep 10 23:36:38 2014 Koichi Sasada <ko1@atdot.net>
- * string.c (rb_str_equal): a == b is true when b is non T_STRING
- object, if b has "to_str" and b == a.
+ * test/ruby/test_object.rb: extend timeout.
-Mon Feb 3 23:46:48 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Sep 10 23:36:38 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (argf_getline): should not increment lineno at EOF.
+ * object.c (rb_obj_copy_ivar): allocate no memory for empty
+ instance variables. [ruby-core:64700] [Bug #10191]
-Mon Feb 3 16:49:19 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Sep 10 23:36:38 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * object.c (Init_Object): default Object#=== now calls "=="
- internally.
-
- * re.c (rb_reg_initialize_m): should honor option status of
- original regexp.
+ * object.c (rb_obj_copy_ivar): extract function to copy instance
+ variables only for T_OBJECT from init_copy.
- * array.c (rb_ary_equal): ary2 should be T_ARRAY (no to_ary
- conversion).
+Wed Sep 10 23:14:42 2014 NARUSE, Yui <naruse@ruby-lang.org>
- * array.c (rb_ary_eql): ditto.
+ merge r46831 partially. extracted commits are as follows. [Bug #9344]
+ https://github.com/k-takata/Onigmo/commit/bdfc1997aa15b6baddaf9a482c6610b32504bd86
- * string.c (rb_str_equal): str2 should be T_STRING (no to_str
- conversion).
+ * regcomp.c: Merge Onigmo 5.14.1 25a8a69fc05ae3b56a09.
+ this includes Support for Unicode 7.0 [Bug #9092].
-Mon Feb 3 16:32:52 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Wed Sep 10 22:58:25 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * re.c (rb_memsearch): a little improvement.
+ * common.mk (Doxyfile): revert r43888, not to require preinstalled
+ ruby. [ruby-core:64488] [Bug #10161]
-Mon Feb 3 13:18:05 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Sep 10 03:29:48 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * re.c (rb_memsearch): algorithm body of String#index.
+ * 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]
- * error.c (Init_Exception): "to_str" removed.
+Wed Sep 10 03:17:13 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (eval): should not rely on Exception#to_str
+ * enc/trans/euckr-tbl.rb (EUCKR_TO_UCS_TBL): add missing euro and
+ registered signs. [ruby-core:64452] [Bug #10149]
- * eval.c (compile_error): ditto.
+Wed Sep 10 03:01:31 2014 Eric Wong <e@80x24.org>
- * error.c (err_append): ditto.
+ * time.c (time_timespec): fix tv_nsec overflow
+ [Bug #10144]
-Sat Feb 1 23:56:29 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Sep 10 02:51:38 2014 Koichi Sasada <ko1@atdot.net>
- * hash.c (rb_hash_merge): Hash#merge, non destructive "update".
- now there's also Hash#merge! which is an alias to "update".
+ * iseq.c (rb_iseq_clone): Should not insert write barrier from
+ non-RVALUE data (to non-RVALUE data, of course).
-Fri Jan 31 14:16:59 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+ Ruby 2.1 also has a same problem.
- * string.c (rb_str_index): search using Karp-Rabin algorithm.
+Wed Sep 10 02:33:08 2014 Koichi Sasada <ko1@atdot.net>
-Fri Jan 31 12:45:11 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * parse.y (setup_fake_str): fake strings should not set class by
+ RBASIC_SET_CLASS() because it insert write barriers to fake
+ (non-RVALUE) structure.
- * variable.c (rb_obj_classname): new function.
+ It can cause unexpected behaviour.
- * string.c (rb_str_dup): should preserve original's class (but not
- hidden singleton class).
+Fri Sep 5 17:01:38 2014 Zachary Scott <e@zzak.io>
- * string.c (rb_str_substr): ditto.
+ * lib/rdoc/generator/template/darkfish/js/jquery.js: Backport
+ rdoc/rdoc@74f60fcb04fee1778fe2694d1a0ea6513f8e67b7
- * parse.y: backout EXPR_CMDARG removal.
+Sat Sep 6 00:57:07 2014 Eric Wong <e@80x24.org>
-Fri Jan 31 09:40:07 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * ext/zlib/zlib.c (gzfile_reset): preserve ZSTREAM_FLAG_GZFILE
+ [Bug #10101]
- * lib/optparse.rb (OptionParser::List::accept): default
- pattern must not be nil.
+ * test/zlib/test_zlib.rb (test_rewind): test each_byte
- * lib/optparse.rb (OptionParser::make_switch): NoArgument doesn't
- override other styles.
+Sat Sep 6 00:47:32 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Jan 30 16:46:43 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * lib/optparse.rb (OptionParser::Switch::PlacedArgument): added.
- if the next argument doesn't start with '-', use it as the
- value.
+ * configure.in (rb_cv_broken_backtrace): exit with failure
+ normally, no needs to abort. [ruby-core:63678] [Bug #10008]
- * lib/optparse.rb (OptionParser::make_switch): fixed a bug of
- pattern.
+Sat Sep 6 00:05:02 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/optparse.rb (Array): no need to guard.
+ * include/ruby/win32.h, win32/win32.c (rb_w32_inet_pton): add a
+ wrapper function for inet_pton minimum supported client is
+ Vista, as well as inet_ntop.
-Thu Jan 30 08:27:19 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Sat Sep 6 00:05:02 2014 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
- * file.c (rb_file_s_expand_path): removed a sludge.
+ * ext/socket/raddrinfo.c (rb_getaddrinfo): second argument of
+ MEMZERO is type. Coverity Scan found this bug.
-Tue Jan 28 04:45:03 2003 Akinori MUSHA <knu@iDaemons.org>
+Sat Sep 6 00:05:02 2014 Tanaka Akira <akr@fsij.org>
- * instruby.rb (parse_args), ext/extmk.rb (parse_args): Prepend a
- hyphen to the first argument of MAKEFLAGS only if appropriate.
- Remove wrong comments.
+ * ext/socket/raddrinfo.c (numeric_getaddrinfo): Use xcalloc.
+ Suggested by Eric Wong.
+ https://bugs.ruby-lang.org/issues/9525#note-14
-Mon Jan 27 03:30:06 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+Sat Sep 6 00:05:02 2014 Tanaka Akira <akr@fsij.org>
- * error.c (get_syserror): use snprintf() instead of sprintf(). pointed
- out by knu.
+ * ext/socket: Bypass getaddrinfo() if node and serv are numeric.
+ Reporeted by Naotoshi Seo. [ruby-core:60801] [Bug #9525]
-Mon Jan 27 02:06:38 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+ * ext/socket/extconf.rb: Detect struct sockaddr_in6.sin6_len.
- * error.c (get_syserror): some Windows' errno have 5 digits. pointed
- out by znz.
+ * ext/socket/sockport.h (SET_SIN6_LEN): New macro.
+ (INIT_SOCKADDR_IN6): Ditto.
-Sun Jan 26 19:23:10 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+ * ext/socket/rubysocket.h (struct rb_addrinfo): Add
+ allocated_by_malloc field.
- * instruby.rb ($mflags.set?): Check $make instead of $nmake, sinse
- there is no such a variable.
+ * ext/socket/raddrinfo.c (numeric_getaddrinfo): New function.
+ (rb_getaddrinfo): Call numeric_getaddrinfo at first.
+ (rb_freeaddrinfo): Free struct addrinfo properly when it is
+ allocated by numeric_getaddrinfo.
- * instruby.rb ($mflags.set?), ext/extmk.rb ($mflags.set?): Return
- false if unmatched.
+Sat Sep 6 00:05:02 2014 Tanaka Akira <akr@fsij.org>
-Sun Jan 26 19:08:30 2003 Akinori MUSHA <knu@iDaemons.org>
+ * ext/socket: Wrap struct addrinfo by struct rb_addrinfo.
- * lib/shellwords.rb: Embed rdoc style comments.
+Thu Sep 4 00:31:23 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/shellwords.rb (shellwords): Use String#lstrip!.
+ * ext/thread/thread.c (get_array): check instance variables are
+ initialized properly. [ruby-core:63826][Bug #10062]
- * lib/shellwords.rb (shellwords): Recognize an object that
- responds to to_str() by using String.new().
+Thu Sep 4 00:29:10 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Jan 26 17:53:04 2003 Akinori MUSHA <knu@iDaemons.org>
+ * io.c (rb_io_initialize): [DOC] fix rdoc of append mode. it does
+ not move the pointer at open. [ruby-core:63747] [Bug #10039]
- * instruby.rb (parse_args), ext/extmk.rb (parse_args): Detect -n
- and emulate a dry run. Use 'make' in case no --make argument is
- given.
+Thu Sep 4 00:23:15 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Jan 26 07:18:42 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * sprintf.c (GETASTER): should not use the numbered argument to be
+ formatted, raise ArgumentError instead.
+ [ruby-dev:48330] [Bug #9982]
- * instruby.rb: re-define individual methods verbosely rather than
- including FileUtils::Verbose, in order to suppress messages from
- FileUtils#cmp.
+Thu Sep 4 00:21:05 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
- * instruby.rb (makedirs): make same directory only once even if
- dryrun.
+ * 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]
- * lib/fileutils.rb (FileUtils::Verbose, FileUtils::NoWrite):
- re-define methods with define_method instead of module_eval.
+Tue Sep 2 02:21:58 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Jan 26 03:37:18 2003 Akinori MUSHA <knu@iDaemons.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]
- * instruby.rb, ext/extmk.rb, Makefile.in, win32/Makefile.sub,
- bcc32/Makefile.sub: Replace the complicated MFLAGS/MAKEFLAGS
- parser with something plain and comprehensible. This fixes a
- bug where make flags were wrongly reordered and the resulted
- command line often did not make sense especially when BSD make
- is used with extra arguments given. Tested with FreeBSD and
- Linux by me and mswin32, bccwin32 and mingw by usa.
+Tue Sep 2 02:08:12 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jan 24 18:15:33 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * signal.c (rb_f_kill): directly enqueue an ignored signal to self,
+ except for SIGSEGV and SIGBUS. [ruby-dev:48203] [Bug #9820]
- * parse.y: tMINUS should have lower precedence than tPOW.
+Sun Aug 31 01:13:21 2014 Koichi Sasada <ko1@atdot.net>
-Fri Jan 24 05:12:55 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * gc.c: change full GC timing to keep lower memory usage.
- * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): deal
- with escaped $ and ? at the end of strings. [ruby-talk:62297]
+ Extend heap only at
+ (1) after major GC
+ or
+ (2) after several (two times, at current) minor GC
- * misc/ruby-mode.el (ruby-font-lock-keywords): added defined?.
+ Details in https://bugs.ruby-lang.org/issues/9607#note-9
+ [Bug #9607]
-Thu Jan 23 17:25:04 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Aug 31 01:07:05 2014 Masaki Suketa <masaki.suketa@nifty.ne.jp>
- * eval.c (rb_eval): do not warn discarding already undefined
- method.
+ * 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]
- * lib/rational.rb: undef quo before replacing.
+Sun Aug 31 00:54:47 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Jan 23 15:49:57 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * process.c (open): use UTF-8 version function to support
+ non-ascii path properly. [ruby-core:63185] [Bug #9946]
- * parse.y (arg): missing arguments.
+Tue Aug 26 00:08:40 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Jan 23 14:56:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * configure.in (RUBY_SETJMP_TYPE): check for setjmp type after
+ CCDLFLAGS is appended to CFLAGS, since __builtin_setjmp can be
+ affected. [ruby-core:62469] [Bug #9818]
- * lib/rational.rb: modified to support "quo".
+Tue Aug 26 00:07:20 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * numeric.c (num_quo): should return most exact quotient value,
- i.e. float by default, rational if available.
+ * configure.in: get rid of __builtin_setjmp/__builtin_longjmp on
+ x64-mingw, which causes SEGV with callcc.
+ [ruby-core:61887] [Bug #9710]
- * numeric.c (num_div): "div" should return x.divmod(x)[0].
+Tue Aug 26 00:06:05 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Jan 23 13:24:18 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * configure.in (ac_cv_func___builtin_setjmp): should not skip
+ flags restoration in RUBY_WERROR_FLAG by `break`.
+ [ruby-dev:48086] [Bug #9698]
- * time.c (time_arg): was accessing garbage argv value.
+Tue Aug 26 00:02:51 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Jan 23 06:37:01 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * configure.in (ac_cv_func___builtin_setjmp): __builtin_longjmp()
+ in Apple LLVM 5.1 (LLVM 3.4svn) uses `void**`, not `jmp_buf`.
+ [Bug #9692]
- * instruby.rb: should not contain destdir in shebang line.
+Tue Aug 26 00:02:51 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Jan 22 23:19:57 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+ * configure.in (ac_cv_func___builtin_setjmp): gcc 4.9 disallows a
+ variable as the second argument of __builtin_longjmp().
+ [ruby-core:61800] [Bug #9692]
- * win32/win32.c (pipe_exec): remove unnecessary SetStdHandle().
+Mon Aug 25 00:36:56 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Jan 22 20:20:59 2003 Yukihiro Matsumoto <matz@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]
- * parse.y (arg): syntaxify tPOW negative number hack.
+Mon Aug 25 00:26:12 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (negate_lit): new function to negate literal numeric
- values in compile time.
+ * parse.y (parser_yyerror): preserve source code encoding in
+ syntax error messages. [ruby-core:64228] [Bug #10114]
-Wed Jan 22 15:36:54 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Aug 23 02:39:20 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * regex.c (re_match_exec): charset info may be stored in MBC
- region when $KCODE != NONE.
+ * vm_insnhelper.c (vm_call_method): unusable super class should cause
+ method missing when BasicObject is refined but not been using.
+ [ruby-core:64166] [Bug #10106]
-Wed Jan 22 14:22:53 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Aug 23 02:22:02 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * error.c (set_syserr): should preserve duplicated error names.
+ * 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]
-Tue Jan 21 20:29:31 2003 Michal Rokos <michal@rokos.homeip.net>
+Thu Aug 21 01:44:46 2014 Tanaka Akira <akr@fsij.org>
- * mkmf.rb: make possible to add files to clean and distclean targets
+ * gc.c (mark_current_machine_context): Call SET_STACK_END.
+ This reverts a hunk of r40703 by ko1.
+ This fixes [ruby-dev:48098] [Bug #9717].
-Tue Jan 21 18:05:25 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Thu Aug 21 01:41:09 2014 Tanaka Akira <akr@fsij.org>
- * bcc32/Makefile.sub (LIBRUBY_A): link dmyext.
+ * lib/time.rb (Time.parse): [DOC] Fix an example in the documentation
+ to use EST.
+ Reported by Marcus Stollsteimer.
+ [ruby-core:60778] [Bug #9521] and [ruby-core:61718] [Bug #9682]
-Tue Jan 21 16:59:18 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+Thu Aug 21 01:41:09 2014 Zachary Scott <e@zzak.io>
- * instruby.rb: use real interpreter pathname at shebang line.
- [ruby-dev:19370]
+ * lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521]
+ Based on patch by @stomar
-Tue Jan 21 16:22:32 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Aug 19 23:31:48 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
- * parse.y (arg): put back old ** behavior for negative number
- right operand.
+ merge r46831 partially. extracted commits are as follows.
+ https://github.com/k-takata/Onigmo/commit/b9fba1dc63ccb42a86e934011b468e6022fabb74
+ https://github.com/k-takata/Onigmo/commit/c1fc76b9bd463948ffc5058bc352bf93732f0314
+ https://github.com/k-takata/Onigmo/commit/a0efc0a200f7108ca3d5ac3039c8f952e0051619
+ https://github.com/k-takata/Onigmo/commit/c7cda4ed5676167b0d01bb5555724f6164fbdb13
+ [Bug #8716]
-Tue Jan 21 14:46:12 2003 Tanaka Akira <akr@m17n.org>
+ * include/ruby/oniguruma.h (ONIG_MAX_CAPTURE_GROUP_NUM,
+ ONIGERR_TOO_MANY_CAPTURE_GROUPS): add cheking the number of capture
+ groups.
- * lib/pp.rb: Use Test::Unit.
+ * regerror.c (onig_error_code_to_format): ditto.
- * lib/prettyprint.rb: Ditto
+ * regparse.c (scan_env_add_mem_entry): ditto.
- * lib/time.rb: Ditto
+ * regexec.c (onig_region_copy, match_at): fix: segmation fault occurs
+ when many groups are used.
- * lib/tsort.rb: Ditto
+Mon Aug 18 23:38:21 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Jan 21 04:15:50 2003 Tanaka Akira <akr@m17n.org>
+ * encoding.c (enc_find): [DOC] never accepted a symbol.
+ [ruby-dev:48308] [Bug #9966]
- * lib/pp.rb: Use redefined `to_s' as well as `inspect'.
- Useless `pretty_print' methods removed.
- (PP::ObjectMixin#pretty_print_inspect): new method.
+Mon Aug 18 23:22:03 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Jan 20 21:48:43 2003 Akinori MUSHA <knu@iDaemons.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
- * configure.in (MANTYPE): Detect if the system's nroff(1) groks
- mdoc. Provide a new option --with-mantype={doc|man} in case the
- check does not work as expected.
+Mon Aug 18 23:22:03 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * Makefile.in (MANTYPE): Define MANTYPE and pass it to
- instruby.rb.
+ * string.c (rb_str_resize): should consider the capacity instead
+ of the old length, as pointed out by nagachika.
- * instruby.rb: Convert mdoc manpages to man for systems which
- nroff(1) does not grok mdoc.
+Mon Aug 18 23:22:03 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Jan 20 21:25:18 2003 Akinori MUSHA <knu@iDaemons.org>
+ * file.c (expand_path): shrink expanded path which no longer needs
+ rooms to append. [ruby-core:63114] [Bug #9934]
- * lib/tempfile.rb (self.open): If a block is given, call it with
- tempfile as an argument and automatically close the tempfile
- when the block terminates.
+Mon Aug 11 23:55:32 2014 Mark Lorenz <mlorenz@covermymeds.com>
-Mon Jan 20 21:02:50 2003 Akinori MUSHA <knu@iDaemons.org>
+ * lib/erb.rb (result): [DOC] no longer accepts a Proc, as
+ Kernel.eval does not. [fix GH-619]
- * mdoc2man.rb: Properly put nested braces, parentheses and angles.
+Mon Aug 11 23:38:20 2014 Tanaka Akira <akr@fsij.org>
- * mdoc2man.rb: Add support for .An and .Aq/.Ao/.Ac.
+ * io.c (rb_io_autoclose_p): Don't raise on frozen IO.
- * mdoc2man.rb: Add support for .Dl.
+Mon Aug 11 23:38:20 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * mdoc2man.rb: Make .Pf macro actually work.
-
- * mdoc2man.rb: Properly handle .Os.
-
- * mdoc2man.rb: Correctly omit spaces around punctuation
- characters.
+ * io.c (rb_io_fileno, rb_io_inspect): non-modification does not
+ error on frozen IO. [ruby-dev:48241] [Bug #9865]
-Mon Jan 20 19:43:41 2003 Akinori MUSHA <knu@iDaemons.org>
+Mon Aug 11 22:34:47 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * mdoc2man.rb: Make this work as a library.
+ * configure.in (posix_fadvise): disable use of posix_fadvise
+ itself on 32-bit AIX. [ruby-core:62968] [Bug #9914]
-Mon Jan 20 18:22:40 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Mon Aug 11 22:34:47 2014 <kanemoto@ruby-lang.org>
- * eval.c (rb_f_require): purge too many goto's.
+ * 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]
-Mon Jan 20 17:50:05 2003 Akinori MUSHA <knu@iDaemons.org>
+Mon Aug 11 22:14:28 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * mdoc2man.rb (parse_macro): Understand .Ux.
+ * vm_insnhelper.c (vm_callee_setup_keyword_arg): adjust VM stack
+ pointer to get rid of overwriting splat arguments by arguments
+ for `to_hash` conversion. [ruby-core:63593] [Bug #10016]
-Mon Jan 20 17:32:56 2003 Akinori MUSHA <knu@iDaemons.org>
+Fri Aug 8 23:36:01 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * mdoc2man.rb: New file. A mdoc to man converter ported from
- Perl.
+ * 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]
-Mon Jan 20 15:40:15 2003 Akinori MUSHA <knu@iDaemons.org>
+Mon Aug 4 01:29:57 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ruby.1: Properly close .Bl with .El.
+ * hash.c (env_shift): fix memory leak on Windows, free environment
+ strings block always. [ruby-dev:48332] [Bug #9983]
-Mon Jan 20 04:14:17 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Mon Aug 4 01:26:46 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/mkmf.rb (egrep_cpp): use inspect to show options.
+ * 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]
- * lib/mkmf.rb (dir_config): prior configured directories to
- defaults.
+Mon Aug 4 01:24:09 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/mkmf.rb (dir_config): extract first word to determin
- make command type.
+ * hash.c (ruby_setenv): fix memory leak on Windows, free
+ environment strings block after check for the size.
+ [ruby-dev:48323] [Bug #9977]
-Mon Jan 20 02:15:53 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Mon Aug 4 01:11:07 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/aix_mksym.rb: no longer used.
+ * re.c (match_aref, rb_reg_regsub): consider encoding of captured
+ names, encoding-incompatible should not match.
+ [ruby-dev:48278] [Bug #9903]
-Mon Jan 20 00:17:16 2003 Matt Armstrong <matt@lickey.com>
+Mon Aug 4 00:52:42 2014 Koichi Sasada <ko1@atdot.net>
- * file.c (eaccess): under windows, make eaccess() just call
- access(). [ruby-core:716], [ruby-bugs:PR#556]
+ * vm_eval.c (rb_catch_protect): fix same problem of [Bug #9961].
-Sun Jan 19 23:08:18 2003 Akinori MUSHA <knu@iDaemons.org>
+ * vm_eval.c (rb_iterate): ditto.
- * lib/shellwords.rb (shellwords): A backslash ('\') in single
- quotes should not be regarded as meta character. This bug or
- maybe feature was inherited from Perl's shellwords.pl.
+Mon Aug 4 00:52:42 2014 Koichi Sasada <ko1@atdot.net>
-Sun Jan 19 14:01:12 2003 UENO Katsuhiro <unnie@blue.sky.or.jp>
+ * vm.c (rb_vm_rewind_cfp): add new function to rewind specified cfp
+ with invoking RUBY_EVENT_C_RETURN.
+ [Bug #9961]
- * regex.c (is_in_list): should work well with UTF-8.
+ * vm_core.h: ditto.
- * regex.c (re_match_exec): ditto.
+ * eval.c (rb_protect): use it.
-Sat Jan 18 14:53:49 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * eval.c (rb_rescue2): ditto.
- * bignum.c (rb_cstr_to_inum): should not erase all 0s, but
- squeeze into one. [ruby-dev:19377]
+ * vm_eval.c (rb_iterate): ditto.
-Fri Jan 17 03:33:42 2003 Akinori MUSHA <knu@iDaemons.org>
+ * test/ruby/test_settracefunc.rb: add a test.
- * sprintf.c (rb_f_sprintf): Fix a bug caused by an uninitialized
- variable v, that a bignum unexpectedly gets converted into a
- string with its higher figures all filled with ./f/7/1,
- depending on the base. This bug seems to have been introduced
- in rev.1.27.
+ * vm_core.h (rb_vm_rewind_cfp): add the prototype declaration.
- * sprintf.c (rb_f_sprintf): Use switch instead of a sequence of
- else-if's.
+Sun Aug 3 00:06:10 2014 Charlie Somerville <charliesome@ruby-lang.org>
-Wed Jan 15 15:18:38 2003 moumar <moumar@netcourrier.com>
+ * node.c (dump_node): handle nd_value == (NODE *)-1 to mean this
+ keyword argument is required
- * configure.in (ARCHFILE): set even unless --enable-shared on
- AIX. [ruby-talk:61466]
+Thu Jul 31 01:56:11 2014 Koichi Sasada <ko1@atdot.net>
- * marshal.c (math.h): should be included after ruby.h on AIX.
- [ruby-talk:61366]
+ * compile.c (rb_iseq_compile_node): put start label of block after
+ trace (b_call).
+ [Bug #9964]
-Tue Jan 14 21:47:56 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * test/ruby/test_settracefunc.rb: add a test.
- * eval.c (rb_f_require): do not search adding .rb/.so suffixes if
- the suffix specifiched. [ruby-dev:18702]
- http://moonrock.jp/~don/d/200211.html#d08_t1
+ added assert_consistent_call_return() method check call/return
+ consistency.
-Tue Jan 14 18:36:41 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Jul 31 01:22:43 2014 Koichi Sasada <ko1@atdot.net>
- * enum.c (enum_all): now works without block.
+ * vm.c (invoke_block_from_c): move call/return event timing for
+ bmethod. It can invoke inconsistent call event if this call raises
+ argument error.
+ [Bug #9959]
- * enum.c (enum_any): ditto.
+ * vm_insnhelper.c (vm_call_bmethod_body): ditto.
-Tue Jan 14 01:21:32 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * test/ruby/test_settracefunc.rb: add a test.
- * io.c (next_argv): not always set binmode.
+Thu Jul 31 01:12:55 2014 Koichi Sasada <ko1@atdot.net>
-Mon Jan 13 20:45:19 2003 Guy Decoux <ts@moulon.inra.fr>
+ * vm_core.h: add VM_FRAME_MAGIC_RESCUE to recognize normal block or
+ rescue clause.
- * parse.y (list_append): avoid O(n) search using node->nd_next->nd_end.
+ * vm.c (vm_exec): use VM_FRAME_MAGIC_RESCUE on at rescue/ensure.
- * parse.y (list_concat): ditto.
+ * test/ruby/test_settracefunc.rb: should not invoke b_return at rescue
+ clause.
+ [Bug #9957]
- * eval.c (rb_eval): NODE_ARRY nd_end adoption.
+ * vm_dump.c (control_frame_dump): check VM_FRAME_MAGIC_RESCUE.
-Mon Jan 13 02:22:11 2003 WATANABE Hirofumi <eban@ruby-lang.org>
+ * vm_dump.c (vm_stack_dump_each): ditto.
- * ext/dl/lib/dl/win32.rb: elimitate unnecessary "A" adding.
+Thu Jul 31 00:44:34 2014 Koichi Sasada <ko1@atdot.net>
-Sun Jan 12 16:07:17 2003 WATANABE Hirofumi <eban@ruby-lang.org>
+ * vm_trace.c: clear and restore recursive checking thread local data
+ to avoid unexpected throw from TracePoint.
+ [Bug #9940]
- * io.c (next_argv): inherit binmode from $defout.
+ * test/ruby/test_settracefunc.rb: add a test.
-Sat Jan 11 22:50:47 2003 WATANABE Hirofumi <eban@ruby-lang.org>
+ * thread.c: added
+ * rb_threadptr_reset_recursive_data(rb_thread_t *th);
+ * rb_threadptr_restore_recursive_data(rb_thread_t *th, VALUE old);
- * ext/dl/lib/dl/win32.rb: compatibility improvement.
+ * vm_core.h: ditto.
-Sat Jan 11 01:44:16 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Wed Jul 23 23:49:59 2014 Hiroshi Shirosaki <h.shirosaki@gmail.com>
- * configure.in (RUBY_CHECK_IO_NEED): added more tests.
+ * 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]
- * io.c (rb_io_check_readable): seek after synchronized write.
+ * test/testunit/test_parallel.rb (TestParallel): add a test.
-Fri Jan 10 01:23:45 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * test/testunit/tests_for_parallel/ptest_forth.rb: ditto.
- * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): syntax
- classes are not allowed inside character classes.
- [ruby-talk:60996]
+Wed Jul 23 23:11:28 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
-Thu Jan 9 23:28:01 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * test/socket/test_socket.rb: unix socket is required by test case.
- * configure.in: AC_MSG_FAILURE is a new macro in 2.54b or later.
+Wed Jul 23 23:11:28 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
-Thu Jan 9 17:05:24 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * test/socket/test_addrinfo.rb: remove unused variables.
+ * test/socket/test_nonblock.rb: ditto.
+ * test/socket/test_socket.rb: ditto.
+ * test/socket/test_unix.rb: ditto.
+ * test/testunit/test_parallel.rb: ditto.
+ * test/webrick/test_filehandler.rb: ditto.
+ * test/xmlrpc/test_features.rb: ditto.
+ * test/zlib/test_zlib.rb: ditto.
- * configure.in (RUBY_CHECK_IO_NEED): check whether fseek() and
- fflush() are needed.
+Wed Jul 23 23:05:19 2014 Tanaka Akira <akr@fsij.org>
- * io.c (flush_before_seek): flush write stream only.
+ * 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]
- * io.c (rb_io_check_readable): seek instead of flush if the last
- operation was write.
+ * ext/pathname/lib/pathname.rb (cleanpath_conservative): ditto.
- * io.c (rb_io_check_writable): seek instead of flush if the last
- operation was read.
+Wed Jul 23 22:51:34 2014 Naohisa Goto <ngotogenome@gmail.com>
- * bcc32/Makefile.sub, win32/Makefile.sub: needs to seek between
- R/W.
+ * 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]
-Thu Jan 9 16:31:51 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Jul 23 22:43:50 2014 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_eval): should not discard nested NODE_BLOCK.
+ * 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]
-Thu Jan 9 15:12:30 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Jul 23 22:24:26 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
- * parse.y (stmt): NODE_NOT elimitation for if/unless/while/until node.
+ * test/openssl/test_x509cert.rb: split assertions into algorithms.
+ CentOS 7 seems finish MD5 support
+ http://chkbuild005.hsbt.org/chkbuild/ruby-trunk/log/20140722T140010Z.fail.html.gz
- * parse.y (primary): ditto.
+ * test/openssl/test_x509req.rb: ditto.
-Thu Jan 9 13:26:18 2003 Akinori MUSHA <knu@iDaemons.org>
+Sat Jul 19 01:44:34 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * st.h, st.c: Back out the introduction of st_*_func_t. Some
- compilers complain about function type mismatch.
+ * re.c (match_aref): should not ignore name after NUL byte.
+ [ruby-dev:48275] [Bug #9902]
-Thu Jan 9 02:10:44 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Jul 13 23:28:41 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
- * eval.c (rb_eval): reduce recursive rb_eval() call by using sort
- of continuation passing style.
+ * test/test_timeout.rb (test_timeout): inverted test condition.
+ [Bug #8523]
-Wed Jan 8 17:10:32 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+Sun Jul 13 23:18:11 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/Win32API/lib/win32/registry.rb: added. [new]
+ * ext/digest/digest.c (rb_digest_instance_equal): no need to call
+ `to_s` twice. [Bug #9913]
-Wed Jan 8 15:54:05 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Jul 13 23:18:11 2014 Benoit Daloze <eregontp@gmail.com>
- * eval.c: remove ruby_last_node and assignments seems to be
- unnecessary
+ * ext/digest/digest.c (rb_digest_instance_equal):
+ fix #== for non-string arguments. [ruby-core:62967] [Bug #9913]
- * intern.h: debug does not run if ID_ALLOCATOR is zero.
+ * test/digest/test_digest.rb: add test for above.
-Wed Jan 8 15:04:11 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Jul 13 23:10:03 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * range.c (range_each): treat fixnums specially to boost.
+ * array.c (yield_indexed_values): extract from permute0(),
+ rpermute0(), and rcombinate0().
- * numeric.c (num_step): remove rb_scan_args() for small speedup.
+Sun Jul 13 23:02:36 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Jan 7 17:56:08 2003 Yukihiro Matsumoto <matz@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.
- * eval.c (svalue_to_avalue): should return converted array.
+Sun Jul 13 22:52:43 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Jan 7 07:48:01 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * pack.c (encodes): fix buffer overrun by tail_lf. Thanks to
+ Mamoru Tasaka and Tomas Hoger. [ruby-core:63604] [Bug #10019]
- * eval.c (rb_f_local_variables): skip $_, $~ and flip states in
- dynamic variables. [ruby-core:00681]
+Sun Jul 13 22:44:05 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Jan 7 02:46:29 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/thread/thread.c (undumpable): ConditionVariable and Queue
+ are not dumpable. [ruby-core:61677] [Bug #9674]
- * hash.c (env_clear): new Hash compatible method.
+Fri Jul 11 23:07:09 2014 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
- * hash.c (env_shift, env_invert, env_replace, env_update): ditto.
+ * lib/matrix.rb: Fix sign for cross_product [#9499]
-Mon Jan 6 23:36:29 2003 Akinori MUSHA <knu@iDaemons.org>
+Sun Jul 6 23:16:30 2014 Masaya Tarui <tarui@ruby-lang.org>
- * st.h, st.c: Introduce new conventional typedef's, st_data_t,
- st_compare_func_t, st_hash_func_t and st_each_func_t.
+ * st.c (st_foreach_check): change start point of search at check
+ from top to current. [ruby-dev:48047] [Bug #9646]
- * st.h, st.c: Do explicit function declarations and do not rely on
- implicit declarations.
+Sun Jul 6 22:56:03 2014 Zachary Scott <e@zzak.io>
- * class.c, eval.c, gc.c, hash.c, marshal.c, parse.y, variable.c:
- Add proper casts to avoid warnings.
+ * lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]
-Mon Jan 6 20:44:43 2003 Akinori MUSHA <knu@iDaemons.org>
+Fri Jul 4 00:46:03 2014 Zachary Scott <e@zzak.io>
- * intern.h (rb_check_array_type): Declare rb_check_array_type().
+ * enumerator.c: [DOC] Fix example to show Enumerator#peek behavior
+ Patch by Erik Hollembeak [Bug #9814]
- * ext/digest/md5/md5ossl.c: Include stdio.h for sprintf() and
- string.h for memcmp().
+Fri Jul 4 00:44:43 2014 Zachary Scott <e@zzak.io>
- * ext/dl/ptr.c: Include ctype.h for isdigit().
+ * enum.c: [DOC] Use #find in example to clarify alias by @rachellogie
+ Patch submitted via documenting-ruby/ruby#34
-Mon Jan 6 18:43:17 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+Fri Jul 4 00:42:57 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
- * file.c: improve DOSISH drive letter support.
+ * man/ruby.1: remove deadlink. [ruby-core:62145][Bug #9773]
-Mon Jan 6 18:31:45 2003 WATANABE Hirofumi <eban@ruby-lang.org>
+Fri Jul 4 00:25:16 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/fileutils.rb (ln): add ' -f' in the verbose message.
+ * 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]
- * lib/fileutils.rb (cp_r): add 'p' in the verbose message.
+Thu Jul 3 01:19:50 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
-Mon Jan 6 16:44:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * numeric.c (num_step_scan_args): table argument of rb_get_kwargs() is
+ array of IDs, not Symbols. [ruby-dev:48353] [Bug #9811]
- * array.c (rb_ary_join): dispatch based on "to_str".
+Thu Jul 3 01:19:50 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_times, rb_ary_equal): ditto.
+ * numeric.c (num_step_scan_args): check keyword arguments and fail
+ if they conflict with positional arguments.
+ [ruby-dev:48177] [Bug #9811]
-Mon Jan 6 13:26:35 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+Tue Jul 1 03:05:22 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * process.c (proc_exec_v): follow to proc_spawn_v(). call do_aspawn()
- on Win32.
+ * io.c (read_all): truncate the buffer before appending read data,
+ instead of truncating before reading.
+ [ruby-core:55951] [Bug #8625]
- * process.c (rb_proc_exec): call do_spawn() on Win32.
+Tue Jul 1 03:05:22 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/win32.c, win32/win32.h (do_spawn, do_aspawn): add mode flag.
+ * io.c (io_setstrbuf, io_read): should not shorten the given buffer until
+ read succeeds. [ruby-core:55951] [Bug #8625]
- * process.c (proc_spawn_v, rb_f_system): follow above change.
+Mon Jun 30 03:15:59 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Jan 6 05:11:15 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * vm.c (core_hash_merge_kwd): should return the result hash, which
+ may be converted from and differ from the given argument.
+ [ruby-core:62921] [Bug #9898]
- * ext/extmk.rb: make $0 normal variable.
+Mon Jun 30 03:07:22 2014 Shugo Maeda <shugo@ruby-lang.org>
-Mon Jan 6 02:32:46 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * lib/net/ftp.rb (gets, readline): read lines without LF properly.
+ [ruby-core:63205] [Bug #9949]
- * struct.c (make_struct): needs meta class.
+ * test/net/ftp/test_buffered_socket.rb: related test.
-Sun Jan 5 22:54:05 2003 WATANABE Hirofumi <eban@ruby-lang.org>
+Mon Jun 30 02:59:08 2014 Shugo Maeda <shugo@ruby-lang.org>
- * lib/fileutils.rb (ln): `argv' is not a argument.
+ * 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
-Sun Jan 5 17:44:37 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Mon Jun 30 02:46:44 2014 Rei Odaira <Rei.Odaira@gmail.com>
- * ext/extmk.rb (extmake): set $0 temporarily while loading
- extconf.rb.
+ * 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]
-Sun Jan 5 14:46:46 2003 WATANABE Hirofumi <eban@ruby-lang.org>
+Mon Jun 30 02:36:08 2014 Eric Wong <e@80x24.org>
- * instruby.rb: need paren in regexp(make -n install).
+ * process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
+ [Bug #9856]
- * ext/extmk.rb (sysquote): do not need to quote on mswin/bccwin/mingw.
+Mon Jun 30 02:28:10 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/extm.rb ($mflags): uniq items and remove '-' and '--'.
- move options to the lead.
+ * io.c (io_setstrbuf): always check if the buffer is modifiable.
+ [ruby-core:62643] [Bug #9847]
- * lib/fileutils.rb (install): model on the real install
- command(message).
+Mon Jun 30 02:25:00 2014 Tanaka Akira <akr@fsij.org>
-Sun Jan 5 09:36:46 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * 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]
- * ruby.c (ruby_init_loadpath): under Windows, get the module
- path from an internal address instead of hard coded library
- name.
+Mon Jun 30 02:18:47 2014 Eric Wong <e@80x24.org>
- * cygwin/GNUmakefile.in, bcc32/Makefile.sub,
- win32/Makefile.sub (CPPFLAGS): removed LIBRUBY_SO macro.
+ * complex.c (parse_comp): replace ALLOCA_N with ALLOCV_N/ALLOCV_END
+ [Bug #9608]
+ * rational.c (read_digits): ditto
- * bcc32/Makefile.sub, win32/Makefile.sub (config.h): no longer
- depends on makefiles.
+Mon Jun 30 02:10:34 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Jan 5 04:17:05 2003 Akinori MUSHA <knu@iDaemons.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]
- * gc.c (SET_STACK_END): Issue a FLUSH_REGISTER_WINDOWS here too.
- This fixes make test on FreeBSD/sparc64.
+Mon Jun 30 01:46:19 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Jan 5 03:43:47 2003 Akinori MUSHA <knu@iDaemons.org>
+ * ext/fiddle/extconf.rb: supply 0 to fill RUBY_LIBFFI_MODVERSION
+ with 3-digit. libffi 3.1 returns just 2-digit.
+ [ruby-core:62920] [Bug #9897]
- * defines.h (FLUSH_REGISTER_WINDOWS): Make the flushw call an
- inline function so it can be used as an expression.
+Mon Jun 30 00:57:05 2014 Koichi Sasada <ko1@atdot.net>
- * eval.c (EXEC_TAG, THREAD_SAVE_CONTEXT): Consistently call
- FLUSH_REGISTER_WINDOWS before calling setjmp(). (I suspect that
- every setjmp() implementation should take care of register
- windows, though)
+ * vm.c (rb_vm_pop_cfunc_frame): added. It cares c_return event.
+ The patch base by drkaes (Stefan Kaes).
+ [Bug #9321]
-Sun Jan 5 03:12:32 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+ * variable.c (rb_mod_const_missing): use rb_vm_pop_cfunc_frame()
+ instead of rb_frame_pop().
- * file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32.
+ * vm_eval.c (raise_method_missing): ditto.
- * win32/Makefile.sub (LIBS): use oldnames.lib.
+ * vm_eval.c (rb_iterate): ditto.
- * win32/win32.c (rb_w32_getcwd): follow above change.
+ * internal.h (rb_vm_pop_cfunc_frame): add decl.
- * win32/win32.h: ditto.
+ * test/ruby/test_settracefunc.rb: add tests.
+ provided by drkaes (Stefan Kaes).
- * wince/direct.c, wince/direct.h (getcwd): ditto.
+ * 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.
- * wince/io.h: ditto.
+Sun Jun 29 01:34:06 2014 Tanaka Akira <akr@fsij.org>
- * wince/string.c, wince/wince.h (stricmp, strnicmp): ditto.
+ * lib/webrick/utils.rb (create_listeners): Close socket objects.
-Sat Jan 4 15:18:50 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+Sat Jun 28 16:35:51 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * process.c (rb_proc_exec): use same logic as DJGPP on win32 ports.
+ * string.c (rb_str_substr): need to reset code range for shared
+ string too, not only copied string.
+ [ruby-core:62842] [Bug #9882]
- * process.c (rb_f_system): ditto.
+Sat Jun 28 14:37:17 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/win32.c, win32/win32.h (do_aspawn): [new]. for arrayed
+ * parse.y (local_tbl_gen): remove local variables duplicated with
arguments.
+ [ruby-core:60501] [Bug #9486]
- * win32/win32.c (CreateChild): add new argument for real filename of
- executing process.
-
- * win32/win32.c (NtHasRedirection, pipe_exec): follow above change.
-
-Sat Jan 4 14:29:52 2003 NAKAMURA Usaku <usa@ruby-lang.org>
-
- * configure.in: set rb_cv_need_io_flush_between_seek=yes.
-
- * win32/Makefile.sub (config.h): define NEED_IO_FLUSH_BETWEE_SEEK.
- (pointed out by moriq [ruby-dev:19299])
-
-Sat Jan 4 03:12:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Jun 24 00:21:58 2014 Koichi Sasada <ko1@atdot.net>
- * eval.c (umethod_bind): exact class match is not required. relax
- the restriction to subclasses.
+ * eval.c (rb_using_refinement): add write-barriers for
+ cref->nd_refinements.
-Sat Jan 4 01:33:40 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Tue Jun 24 00:14:20 2014 Tanaka Akira <akr@fsij.org>
- * file.c (rb_file_s_lchmod): get rid of gcc-3 -O3 warning.
+ * lib/net/ftp.rb (transfercmd): Close TCP server socket even if an
+ exception occur.
-Fri Jan 3 22:26:07 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Tue Jun 24 00:06:41 2014 Hiroshi Shirosaki <h.shirosaki@gmail.com>
- * process.c (rb_proc_times): need to initialize first.
+ * 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 Jan 3 01:10:17 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Jun 23 23:56:54 2014 Eric Wong <e@80x24.org>
- * eval.c (rb_eval): call "inherited" before executing class body.
+ * 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]
- * class.c (rb_define_class): call "inherited" after defining the
- constant.
+Mon Jun 23 02:46:14 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * class.c (rb_define_class_under): ditto.
+ * class.c (rb_mod_init_copy): always clear instance variable,
+ constant and method tables first, regardless the source tables.
+ [ruby-dev:48182] [Bug #9813]
-Thu Jan 2 19:37:30 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Jun 23 02:36:04 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (massign): expand first element if RHS is an array and
- its size is 1, and LHS has concrete assignment target (i.e. LHS
- has target(s) other than *var).
+ * 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]
- * eval.c (massign): avoid unnecessary avalue/svalue conversion.
+Mon Jun 23 01:53:18 2014 Josh Goebel <dreamer3@gmail.com>
- * eval.c (rb_yield_0): ditto
+ * 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]
- * array.c (rb_ary_update): do not allocate unused array if rpl is
- nil (i.e. merely removing elements).
+Fri Jun 20 00:40:06 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Jan 2 13:55:08 2003 Mathieu Bouchard <matju@sympatico.ca>
+ * thread_pthread.c (ruby_init_stack, ruby_stack_overflowed_p):
+ place get_stack above others to get stack boundary information.
+ [ruby-core:60113] [Bug #9454]
- * io.c (io_read): should resize supplied string if it's shorter
- than expected.
+Fri Jun 20 00:40:06 2014 NARUSE, Yui <naruse@ruby-lang.org>
-Thu Jan 2 11:01:20 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * thread_pthread.c: rlimit is only available on Linux.
+ At least r44712 breaks FreeBSD.
+ [ruby-core:60113] [Bug #9454]
- * eval.c (bmcall): arguments should be an array.
+Fri Jun 20 00:40:06 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Jan 1 18:18:45 2003 WATANABE Hirofumi <eban@ruby-lang.org>
+ * thread_pthread.c: get current main thread stack size, which may
+ be expanded than allocated size at initialization, by rlimit().
+ [ruby-core:60113] [Bug #9454]
- * configure.in: better DJGPP support. add GNUmakefile.
+Fri Jun 20 00:20:02 2014 Hiroshi Shirosaki <h.shirosaki@gmail.com>
- * djgpp/GNUmakefile: new.
+ * configure.in: enable SSE2 on mingw. target='i386-pc-mingw32'.
+ [ruby-core:62095] [Bug #8358]
-Wed Jan 1 04:16:18 2003 Akinori MUSHA <knu@iDaemons.org>
+Tue Jun 17 00:45:44 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * node.h (struct RNode): Change argc from int to long. Otherwise
- NEW_CFUNC() sets argc to a wrong value on platforms where
- sizeof(int) != sizeof(long) and the byte order is big-endian.
- This fixes breakage on FreeBSD/sparc64.
+ * compile.c (compile_array_): make copy a first hash not to modify
+ the argument itself. keyword splat should be non-destructive.
+ [ruby-core:62161] [Bug #9776]
-Tue Dec 31 23:22:50 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Jun 17 00:37:15 2014 Bugra Barin <bugrabarin@hotmail.com>
- * eval.c (massign): removed awkward conversion between yvalue,
- mvalue, etc.
+ * dln.c (dln_load): use wchar version to load a library in
+ non-ascii path on Windows. based on the patch by Bugra Barin
+ <bugrabarin AT hotmail.com> in [ruby-core:61845]. [Bug #9699]
- * eval.c (rb_yield_0): new parameter added to tell whether val is
- an array value or not.
+Tue Jun 17 00:26:59 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (yield_args): restructuring: new nodes: NODE_RESTARY2,
- NODE_SVALUE; removed node: NODE_RESTARGS.
+ * 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]
-Tue Dec 31 21:13:51 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Wed Jun 11 22:58:30 2014 Eric Wong <e@80x24.org>
- * Makefile.in, {win32,bcc32}/Makefile.sub: add new target:
- what-where, no-install.
+ * gc.c (ruby_gc_set_params): simplify condition
- * mkconfig.rb: add const: CROSS_COMPILING.
+Wed Jun 11 22:58:30 2014 Eric Wong <e@80x24.org>
- * ext/extmk.rb: no-install support. add MAKEDIRS macro.
+ * gc.c (ruby_gc_set_params): fix building without RGenGC
- * lib/mkmf.rb: add !ifdef .. !endif for Borland make.
+Wed Jun 11 02:43:32 2014 Kazuki Tsujimoto <kazuki@callcc.net>
- * process.c: improve DJGPP support. system "ls", "-l".
+ * test/objspace/test_objspace.rb (TestObjSpace#test_dump_uninitialized_file):
+ remove dependency on json library.
-Tue Dec 31 20:16:37 2002 Akinori MUSHA <knu@iDaemons.org>
+Wed Jun 11 02:43:32 2014 Scott Francis <scott.francis@shopify.com>
- * ext/socket/addrinfo.h (NI_MAXHOST): Define NI_MAXHOST and
- NI_MAXSERV only if they are not defined yet. This fixes build
- on such platforms as OpenBSD.
+ * ext/objspace/objspace_dump.c: Check fptr before trying to dump RFILE
+ object fd. [GH-562]
-Tue Dec 31 20:07:49 2002 Akinori MUSHA <knu@iDaemons.org>
+ * test/objspace/test_objspace.rb: add test
- * ext/tcltklib/extconf.rb (find_tcl, find_tk): Look for both
- lib{tcl,tk}M.N and lib{tcl,tk}MN on all platforms. *BSD have
- Tcl/Tk libraries named this way.
+Wed Jun 11 02:27:55 2014 Akinori MUSHA <knu@iDaemons.org>
-Tue Dec 31 19:48:21 2002 Akinori MUSHA <knu@iDaemons.org>
+ * configure.in: Fix a build problem with clang and --with-opt-dir.
+ If ruby is configured with --with-opt-dir=dir when using clang
+ as compiler, a warning `clang: warning: argument unused during
+ compilation: '-I dir'` is emitted almost every time clang
+ compiles a file. Unfortunately, RUBY_CHECK_PRINTF_PREFIX takes
+ any output from the compiler as fatal error, and the check thus
+ fails due to the warning. This is an attempt to fix the problem
+ by adding a flag -Qunused-arguments to CFLAGS locally in the
+ function to suppress the warning. [ruby-dev:48062] [Bug #9658]
+ [Fixes GH-571] https://github.com/ruby/ruby/pull/571
- * configure.in: Improve OpenBSD support. [obtained from: OpenBSD
- ports]
+Wed Jun 11 02:18:34 2014 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
- * dln.c (FUNCNAME_PATTERN): Ditto.
+ * numeric.c: Fix Numeric#step with 0 unit [Bug #9575]
-Tue Dec 31 19:21:02 2002 Akinori MUSHA <knu@iDaemons.org>
+Wed Jun 11 00:36:05 2014 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
- * array.c (rb_ary_transpose): Properly declare ary as a VALUE.
+ * test/ruby/test_string (test_LSHIFT_neary_long_max): extend timeout.
+ this test fails on some CI environment by timeout.
- * file.c (rb_file_s_chmod): Do not directly cast an int to void *
- to avoid a warning.
+Sat Jun 7 01:17:16 2014 Tanaka Akira <akr@fsij.org>
- * defines.h (FLUSH_REGISTER_WINDOWS): Add support for
- FreeBSD/sparc64. miniruby still coredumps in a different place,
- though.
+ * signal.c (check_stack_overflow): Don't use ucontext_t if ucontext.h
+ is not available.
+ Fixes build on Android (x86).
-Tue Dec 31 07:47:15 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Tue Jun 3 00:38:33 2014 Eric Wong <e@80x24.org>
- * parse.y (parse_string): readjusted.
+ * class.c (rb_class_subclass_add): use xmalloc
+ * class.c (rb_module_add_to_subclasses_list): ditto
+ * class.c (rb_class_remove_from_super_subclasses): use xfree
+ * class.c (rb_class_remove_from_module_subclasses): ditto
+ [Bug #9616]
- * parse.y (heredoc_identifier): readjusted.
+Mon Jun 2 02:19:30 2014 NAKAMURA Usaku <usa@ruby-lang.org>
- * parse.y (here_document): make EOL codes of single-quoted
- here-documents consistent.
+ * 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]
- * parse.y (yylex): reduced unnecessary conditionals.
+Mon Jun 2 02:12:10 2014 Eric Wong <e@80x24.org>
-Tue Dec 31 04:49:51 2002 Akinori MUSHA <knu@iDaemons.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]
- * ruby.1: mdoc'ify.
+Mon Jun 2 01:57:59 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Dec 31 01:30:29 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * vm_insnhelper.c (vm_callee_setup_arg): turn a macro into an
+ inline function.
- * parse.y (yylex): do not accept " __END__\n". ([ruby-dev:19245])
+Mon Jun 2 01:46:43 2014 Eric Wong <e@80x24.org>
-Mon Dec 30 21:10:59 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * variable.c (rb_const_set): delete existing entry on redefinition
+ [Bug #9645]
+ * test/ruby/test_const.rb (test_redefinition): test for leak
- * parse.y (yylex): use strncmp instead of strcmp.
- accept "__END__\r\n". ([ruby-dev:19241])
+Fri May 30 00:13:19 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Dec 30 20:32:14 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * eval.c (setup_exception): preserve errinfo across calling #to_s
+ method on the exception. [ruby-core:61091] [Bug #9568]
- * gc.c (rb_gc_mark_frame): should mark frame->node.
+Thu May 29 20:57:59 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Dec 30 19:10:30 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * numeric.c (ruby_num_interval_step_size): check signs and get rid
+ of implementation dependent behavior of negative division.
+ [ruby-core:61106] [Bug #9570]
- * ext/extmk.rb: split --make argument contains options, assume
- the first word of --make-flags is always options even unless
- preceded by -, and ignore letter-case of options if nmake.
+Wed May 28 23:47:22 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * instruby.rb: extract -n option also from --make and
- --make-flags.
+ * 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]
- * bcc32/Makefile.sub, win32/Makefile.sub: not prepend - to
- $(MFLAGS)
+Wed May 28 23:40:57 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Dec 30 16:44:14 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * 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]
- * string.c (rb_str_substr): should share the shared string if
- present, instead of the original string. (ruby-bugs:PR#528)
+Wed May 28 23:37:32 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Dec 30 05:10:00 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * ext/stringio/stringio.c (strio_putc): fix for non-ascii
+ encoding, like as IO#putc. [ruby-dev:48114] [Bug #9765]
- * ext/socket/socket.c (tcp_svr_init): local host to
- init_inetsock() is VALUE but not pointer.
+Wed May 28 01:05:06 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/socket/socket.c (sock_s_unpack_sockaddr_in): get rid of
- gcc-3 -O3 warning.
+ * lib/fileutils.rb (FileUtils#copy_entry): update rdoc about
+ preserve option and permissions, following r31123.
+ [ruby-core:62065] [Bug #9748]
-Sun Dec 29 23:45:53 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Wed May 28 00:57:06 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * gc.c (gc_sweep): adjust GC trigger.
+ * 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]
- * dln.c (init_funcname_len): get rid of gcc-3 -O3 warning.
+Wed May 28 00:57:06 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (copy_node_scope): ditto.
+ * 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]
- * hash.c (rb_hash_foreach, delete_if_i, select_i, each_value_i,
- each_key_i, each_pair_i, envix): ditto.
+ * vm_insnhelper.c (vm_search_super_method): allow bound
+ UnboundMethod case.
- * range.c (range_each_func): ditto.
+Wed May 28 00:38:37 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * file.c (rb_file_s_chmod): ditto.
+ * array.c (ary_reject): may be turned into a shared array during
+ the given block. [ruby-dev:48101] [Bug #9727]
-Sun Dec 29 15:30:37 2002 Minero Aoki <aamine@loveruby.net>
+Wed May 28 00:29:02 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/fileutils.rb (fu_parseargs): should not inherit ftools.rb's
- misfeature.
+ * string.c (str_buf_cat): should round up the capacity by 4KiB,
+ but not number of rooms. [ruby-core:61886] [Bug #9709]
-Sun Dec 29 05:08:13 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+Wed May 28 00:23:11 2014 NARUSE, Yui <naruse@ruby-lang.org>
- * lib/fileutils.rb (cmp): return false if file size differs.
+ * 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]
-Sat Dec 28 19:21:24 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Wed May 28 00:18:29 2014 Tadayoshi Funaba <tadf@dotrb.org>
- * instruby.rb: remove junk args.
+ * ext/date/date_core.c (d_lite_cmp): should compare with #<.
- * lib/mkmf.rb (create_makefile): remove a trouble library
- before making a shared library.
+Fri May 23 00:04:13 2014 Tanaka Akira <akr@fsij.org>
- * win32/Makefile.sub: invoke instruby.rb with the --make-flags option.
+ * 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]
-Sat Dec 28 03:09:58 2002 Wakou Aoyama <wakou@ruby-lang.org>
+Fri May 23 00:04:13 2014 Tanaka Akira <akr@fsij.org>
- * lib/cgi.rb (CGI#[]): improvement. thanks to Kazuhiro NISHIYAMA
- <zn@mbf.nifty.com>
+ * ext/socket: Wrap struct addrinfo by struct rb_addrinfo.
-Sat Dec 28 00:34:03 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Fri May 23 00:04:13 2014 Tanaka Akira <akr@fsij.org>
- * {win32,bcc32}/Makefile.sub: remove `=' from --make-flags options.
- nmake quotes args if included `=' in args.
+ * ext/socket/ipsocket.c (ip_s_getaddress): Don't access freed memory.
- * instruby.rb: use getopts.rb.
+Mon May 19 00:47:00 2014 Koichi Sasada <ko1@atdot.net>
- * ext/dbm/extconf.rb (-DDBM_HDR): substitute ' with " to avoid
- a error on Win32.
+ * test/ruby/test_array.rb: remove useless `assert'.
- * ext/gdbm/gdbm.c: add prototypes to avoid VC++ warnings.
+Mon May 19 00:47:00 2014 Koichi Sasada <ko1@atdot.net>
-Fri Dec 27 21:41:57 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * array.c (rb_ary_modify): remember shared array owner if a shared
+ array owner is promoted and a shared array is not promoted.
- * bcc32/setup.mak, win32/setup.mak(-prologue-): move srcdir from
- CPP input or UNC path will be removed as a comment.
-
-Fri Dec 27 17:55:00 2002 Takaaki Uematsu <mail@uema2.cjb.net>
-
- * wince/config, wince/configure.bat: replace 1.7 with 1.8
- in macros.
-
-Fri Dec 27 13:28:14 2002 Minero Aoki <aamine@loveruby.net>
-
- * instruby.rb: fileutils.rb accepts only one argument.
-
-Fri Dec 27 13:23:29 2002 Minero Aoki <aamine@loveruby.net>
-
- * lib/fileutils.rb (fu_parseargs): reject illegal options
+ Now, shared array is WB-unprotected so that shared arrays are not
+ promoted. All objects referred from shared array should be marked
correctly.
- * lib/fileutils.rb (uptodate?): parameter declaration was wrong.
-
- * lib/fileutils.rb: change coding styles.
-
-Fri Dec 27 09:25:22 2002 ABE Shigeru <shiger-a@nifty.com>
-
- * process.c (rb_proc_times): avoid WindowsXP crash using volatile
- variables.
-
-Fri Dec 27 02:56:58 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * instruby.rb: check only `-' option, and use fileutils instead of
- ftools.
-
-Fri Dec 27 02:45:17 2002 Wakou Aoyama <wakou@ruby-lang.org>
-
- * lib/net/telnet.rb: Telnet#print not add "\n".
-
- * lib/cgi.rb: cgi['key'] is equal cgi['key'][0]
-
-Thu Dec 26 22:33:18 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * ext/extmk.rb (create_makefile): check only `-' option.
-
- * configure.in: cleanups for MinGW. remove -D__NO_ISOCEXT in $CFLAGS.
-
- * win32/win32.h: prototypes for isinf, isnan are not needed on MinGW.
-
-Thu Dec 26 19:22:00 2002 YOSHIDA Kazuhiro <moriq@moriq.com>
-
- * win32/setup.mak (-prologue-): moved srcdir macro definition.
- [ruby-win32:420].
-
-Wed Dec 25 18:26:44 2002 K.Kosako <kosako@sofnec.co.jp>
-
- * regex.c (re_match): fixed wrong \G behavior. (ruby-bugs-ja:PR#377)
-
-Wed Dec 25 16:41:16 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * regex.c (re_match_exec): fix odd \G behavior based on the patch
- from Nobu.
-
-Wed Dec 25 11:05:11 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * bcc32/setup.mak (-generic-): removed garbages.
-
-Wed Dec 25 10:36:20 2002 NAKAMURA Usaku <usa@ruby-lang.org>
-
- * bcc32/Makefile.sub, win32/Makefile.sub (RUBY_SO_NAME, config.h):
- use $(MAJOR) and $(MINOR). based on Nobu's patch. [ruby-win32:413]
+ [ruby-core:61919] [ruby-trunk - Bug #9718]
- * bcc32/setup.mak, win32/setup.mak (-prologue-): define MAJOR, MINOR
- and TEENY from version.h. based on Nobu's patch. [ruby-win32:413]
+ * test/ruby/test_array.rb: add a test for above.
- * win32/Makefile.sub (config.h): add HAVE_FLOAT_H.
+Mon May 19 00:26:53 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/Makefile.sub (parse.obj): depend on win32/win32.h.
+ * parse.y (parser_yylex): only a newline after label should be
+ significant. [ruby-core:61658] [Bug #9669]
-Tue Dec 24 23:49:16 2002 Akinori MUSHA <knu@iDaemons.org>
+Mon May 19 00:26:53 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/irb/completion.rb: Use Object#class rather than Object#type.
+ * parse.y (lex_state_e, parser_params, f_arglist, parser_yylex):
+ separate EXPR_LABELARG from EXPR_BEG and let newline significant,
+ so that required keyword argument can place at the end of
+ argument list without parentheses. [ruby-core:61658] [Bug #9669]
-Tue Dec 24 23:37:40 2002 TADA Tadashi <sho@spc.gr.jp>
+Fri May 16 00:27:02 2014 James Edward Gray II <james@graysoftinc.com>
- * lib/cgi.rb (Cookie::parse), lib/cgi-lib.rb (initialize): Do not
- pass to split() a bare string longer than 2 characters as
- separator.
+ * 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]
-Tue Dec 24 19:19:24 2002 Tietew <tietew@tietew.net>
+Fri May 16 00:14:25 2014 Kohei Suzuki <eagletmt@gmail.com>
- * numeric.c (DBL_MAX_10_EXP): fix typo. [ruby-dev:19175]
+ * 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]
-Tue Dec 24 17:02:46 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri May 16 00:14:25 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_undefined): use NoMethodError instead of fatal.
+ * 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]
-Tue Dec 24 02:12:45 2002 Akinori MUSHA <knu@iDaemons.org>
+Mon May 12 22:53:08 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/README: Synchronize with reality.
+ * 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]
-Tue Dec 24 02:05:51 2002 Akinori MUSHA <knu@iDaemons.org>
+Mon May 12 22:22:43 2014 Koichi Sasada <ko1@atdot.net>
- * MANIFEST, lib/README, lib/ipaddr.rb: Add ipaddr.rb from rough.
+ * vm.c (invoke_block_from_c): add VM_FRAME_FLAG_BMETHOD to record
+ it is bmethod frame.
-Sun Dec 22 04:07:47 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+ * vm.c (vm_exec): invoke RUBY_EVENT_RETURN event if rollbacked frame
+ is VM_FRAME_FLAG_BMETHOD.
+ [Bug #9759]
- * ext/dbm/dbm.c (fdbm_alloc): allocator takes only one argument.
+ * test/ruby/test_settracefunc.rb: add a test for TracePoint/set_trace_func.
-Sun Dec 22 02:49:25 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+ * vm_core.h: rename rb_thread_t::passed_me to
+ rb_thread_t::passed_bmethod_me to clarify the usage.
- * array.c (ary_alloc), dir.c (dir_s_alloc), eval.c (thgroup_s_alloc),
- file.c (rb_stat_s_alloc), hash.c (hash_alloc), io.c (io_alloc),
- object.c (rb_module_s_alloc, rb_class_allocate_instance),
- re.c (match_alloc, rb_reg_s_alloc), string.c (str_alloc),
- time.c (time_s_alloc), ext/digest/digest.c (rb_digest_base_alloc),
- ext/tcltklib/tcltklib.c (ip_alloc),
- ext/win32ole/win32ole.c (fole_s_allocate, fev_s_allocate)
- : add prototype to get rid of VC++ warnings.
+ * vm_insnhelper.c (vm_call_bmethod_body): use renamed member.
- * ext/sdbm/init.c (fsdbm_alloc): allocator takes only one argument.
+Mon May 12 22:11:47 2014 Shota Fukumori <her@sorah.jp>
-Sun Dec 22 00:36:43 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * vm_eval.c (eval_string_with_cref): Unify to use NIL_P.
- * lib/mkmf.rb (create_makefile): accept pure ruby libraries.
+Mon May 12 22:11:47 2014 Shota Fukumori <her@sorah.jp>
-Sat Dec 21 23:59:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_eval.c (eval_string_with_cref): Use file path even if scope is
+ given. Related to [ruby-core:56099] [Bug #8662] and r42103.
- * class.c (ins_methods_i): should not show ID_ALLOCATOR.
+Thu May 8 01:13:10 2014 NARUSE, Yui <naruse@ruby-lang.org>
- * class.c (ins_methods_prot_i): ditto.
+ * configure.in: correct pthread_setname_np's prototype on NetBSD.
+ [Bug #9586]
- * class.c (ins_methods_priv_i): ditto.
+Tue May 6 00:54:56 2014 Narihiro Nakamura <authornari@gmail.com>
- * class.c (ins_methods_pub_i): ditto.
+ * gc.c (gc_after_sweep): suppress unnecessary expanding heap.
+ Tomb heap pages are freed pages here, so expanding heap is
+ not required.
- * eval.c (call_trace_func): ditto.
+Mon May 5 02:35:20 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_undefined): ditto.
+ * 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]
-Sat Dec 21 07:27:24 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Mon May 5 02:21:48 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * misc/ruby-mode.el (ruby-parse-partial): keywords must not be
- preceded by @ or $.
+ * 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].
-Fri Dec 20 20:29:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Mon May 5 01:20:27 2014 Eric Wong <e@80x24.org>
- * ext/curses/curses.c, ext/dbm/dbm.c, ext/digest/digest.c,
- ext/dl/handle.c, ext/dl/ptr.c, ext/dl/sym.c, ext/gdbm/gdbm.c,
- ext/iconv/iconv.c, ext/sdbm/init.c, ext/stringio/stringio.c,
- ext/strscan/strscan.c, ext/tcltklib/tcltklib.c,
- ext/win32ole/win32ole.c: use rb_define_alloc_func().
+ * gc.c (rb_gc_writebarrier): drop special case for big hash/array
+ [Bug #9518]
-Fri Dec 20 18:29:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Mon May 5 01:13:00 2014 Koichi Sasada <ko1@atdot.net>
- * io.c (rb_io_fwrite): separated from io_write().
+ * gc.c (gc_before_sweep): cap `malloc_limit' to
+ gc_params.malloc_limit_max. It can grow and grow with such case:
+ `loop{"a" * (1024 ** 2)}'
+ [Bug #9687]
- * marshal.c (w_byten): use rb_io_fwrite() to support non-blocking
- IO, and added error check.
+ This issue is pointed by Tim Robertson.
+ http://www.omniref.com/blog/blog/2014/03/27/ruby-garbage-collection-still-not-ready-for-production/
- * rubyio.h: prototypes; rb_io_fwrite
+Mon May 5 00:52:18 2014 Kenta Murata <mrkn@mrkn.jp>
-Fri Dec 20 17:40:59 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_initialize): Insert GC guard.
- * object.c (Init_Object): should not remove Class#allocate.
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_global_new): ditto.
- * lib/profiler.rb: separate profiling functions, without
- trace_func and at_exit setting.
+Mon May 5 00:42:35 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
-Fri Dec 20 16:20:04 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/psych/psych.gemspec: update gemspec for psych-2.0.5
- * parse.y (do_block): split "do" block and tLBRACE_ARG block.
+Mon May 5 00:42:35 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
- * parse.y (cmd_brace_block): new tLBRACE_ARG block rule
+ * ext/psych/lib/psych.rb: Merge psych-2.0.5. bump version to
+ libyaml-0.1.6 for CVE-2014-2525.
+ * ext/psych/yaml/config.h: ditto.
+ * ext/psych/yaml/scanner.c: ditto.
+ * ext/psych/yaml/yaml_private.h: ditto.
- * parse.y (command): can take optional cmd_brace_block; use %prec
- to resolve shift/reduce conflict. (ruby-bugs-ja PR#372)
+Mon May 5 00:35:20 2014 Aaron Patterson <aaron@tenderlovemaking.com>
- * eval.c (ruby_finalize): trace_func should be cleared here (after
- executing exit procs and finalizers).
-
- * eval.c (rb_define_alloc_func): new allocation framework, based
- on Nobu's work [ruby-dev:19116]. "allocate" method is no longer
- used for object allocation.
-
-Fri Dec 20 05:06:49 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/README, lib/cgi/ftplib.rb, lib/telnet.rb: Delete ftplib.rb
- and telnet.rb. It has been quite some time sinc they were
- obsoleted and made to emit warnings.
-
-Fri Dec 20 04:58:22 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/tempfile.rb: Embed Rdoc style comments.
-
- * lib/tempfile.rb: Add length as an alias for size.
-
-Fri Dec 20 03:57:32 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/tempfile.rb: Add Tempfile#close!() as a shorthand for
- Tempfile#close(true).
-
- * lib/tempfile.rb: Add Tempfile#{unlink,delete}().
-
-Fri Dec 20 03:53:01 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/README, lib/cgi/final.rb, lib/cgi/session.rb: Delete
- final.rb, which was obsoleted long ago.
-
-Fri Dec 20 00:16:06 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * re.c (rb_reg_match_pre, rb_reg_match_post, match_to_a,
- match_select): return instances of same class as the original
- string. [ruby-dev:19119]
-
-Thu Dec 19 22:55:49 2002 NAKAMURA Usaku <usa@ruby-lang.org>
-
- * numeric.c (DBL_EPSILON): fix typo.
-
-Thu Dec 19 22:35:20 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (assign): avoid [BUG] at multiple attribute assignment.
-
-Thu Dec 19 01:00:09 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * numeric.c (num_step): use DBL_EPSILON.
-
- * array.c (rb_check_array_type): new function: return an array
- (convert if possible), or nil.
-
- * string.c (rb_check_string_type): new function: return a string
- (convert if possible), or nil.
-
- * numeric.c (rb_dbl_cmp): returns nil if values are not
- comparable.
-
- * numeric.c (fix_cmp,flo_cmp): use rb_num_coerce_cmp()
-
- * bignum.c (rb_big_cmp): ditto.
-
- * numeric.c (rb_num_coerce_cmp): new coercing function for "<=>",
- which does not raise TypeError.
-
- * numeric.c (do_coerce): can be supress exception now.
-
- * object.c (rb_mod_cmp): should return nil for non class/module
+ * ext/psych/lib/psych/visitors/yaml_tree.rb: support dumping Encoding
objects.
-Thu Dec 19 04:21:10 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/open-uri.rb: add a missing ||. (found by: ruby -wc)
-
-Wed Dec 18 17:53:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * re.c (rb_reg_eqq): return false if the argument is not a
- string. now returns boolean value.
-
- * class.c (rb_include_module): argument should be T_MODULE, not
- T_class, nor T_ICLASS.
-
-Wed Dec 18 03:52:55 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * string.c (rb_str_new4): handle tail shared string.
- (ruby-bugs-ja:PR#370)
-
- * string.c (rb_str_dup_frozen): ditto.
-
-Tue Dec 17 21:08:29 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * node.h (NODE_ATTRASGN): new node, assignment to attribute.
- [ruby-core:00637].
-
- * eval.c (is_defined, rb_eval): ditto.
-
- * parse.y (attrset, node_assign): ditto.
-
- * string.c (rb_str_substr): tail sharing. [ruby-core:00650]
-
- * re.c (rb_reg_nth_match): ditto.
-
-Tue Dec 17 16:52:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (is_defined): "defined?" should return "assignment" for
- attribute assignment (e.g. a.foo=b) and indexed assignment
- (e.g. a[2] = 44).
-
- * parse.y (aryset): use NODE_ATTRASGN.
-
-Tue Dec 17 04:03:45 2002 Tanaka Akira <akr@m17n.org>
-
- * lib/open-uri.rb: new file.
-
-Tue Dec 17 00:28:19 2002 NAKAMURA Usaku <usa@ruby-lang.org>
-
- * file.c (utimbuf): need to define for VC++.
-
-Mon Dec 16 15:53:20 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * parse.y (nextc): get rid of overrun. (pointed out by akr
- [ruby-list:36773])
-
-Sun Dec 15 21:16:44 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * lib/mkmf.rb (init_mkmf): add $(topdir) to $LIBPATH if $extmk.
- remove adding $(archdir) to $LIBPATH.
-
-Sat Dec 15 12:15:00 2002 Takaaki Uematsu <mail@uema2.cjb.net>
-
- * configure.in, defines.h, dir.c, dir.h, dln.c, error.c,
- eval.c, file.c, hash.c, io.c, main.c, missing.c,
- process.c, ruby.c, rubysig.h, signal.c, st.c, util.c, util.h,
- bcc/Makefile.sub, win32/Makefile.sub, win32/win32.h,
- ext/Win32API/Win32API.c, ext/socket/getaddrinfo.c,
- ext/socket/getnameinfo.c, ext/socket/socket.c,
- ext/tcltklib/stubs.c
- : replace "NT" with "_WIN32", add DOSISH_DRIVE_LETTER
- * wince/exe.mak : delete \r at the end of lines.
- * wince/mswince-ruby17.def : delete rb_obj_become
-
-Sun Dec 15 11:43:26 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * parse.y (dispose_string): dispose String object.
-
- * parse.y (heredoc_restore, here_document): fix memory leak.
-
-Sat Dec 14 14:25:00 2002 Takaaki Uematsu <mail@uema2.cjb.net>
-
- * wince/sys : add stat.c, stat.h, timeb.c, timeb.h,
- types.h, utime.c, utime.h
- * wince/dll.mak : object file name changed.
- * wince/io.c : add empty dup2().
- * wince/io.h : add dup2 definition.
-
-Sat Dec 14 01:51:29 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * ext/dbm/extconf.rb (rb_check): support for GNU dbm 1.8.3.
- (-with-dbm-type=gdbm_compat). link against -lgdbm_compat
- and -lgdbm.
-
-Fri Dec 13 23:42:16 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * ext/dbm/extconf.rb (db_check): check existence of the function
- in the specified library before checking it in libc.
-
-Fri Dec 13 17:15:49 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * variable.c (generic_ivar_get): should always warn uninitialized
- instance variables.
-
-Fri Dec 13 12:33:22 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * parse.y (expr): rescue clause was ignored.
-
-Thu Dec 12 18:19:14 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * configure.in (RUBY_PROG_GNU_LD): add $CFLAGS, $CPPFLAGS, $LDFLAGS
- to the option of $CC.
-
- * configure.in: set LIBRUBYARG to '-l$(RUBY_SO_NAME)' if the
- target os is cygwin and --disable-shared option is supplied.
-
- * lib/mkmf.rb (init_mkmf): expand config["LIBRUBY"] and
- config["LIBRUBY_A"]. don't link $LIBRUBYARG_STATIC if
- --disable-shared option is supplied.
-
- * configure.in (RUBY_CPPOUTFILE): should be a better message.
-
- * ext/Win32API/extconf.rb: join with a space.
-
-Thu Dec 12 17:27:19 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * re.c (rb_reg_hash): define Regexp#hash to make regexps to be
- hash keys.
-
- * re.c (Init_Regexp): define Regexp#eql? (alias to Regexp#==).
-
-Thu Dec 12 16:26:31 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * marshal.c (r_object0): singleton class instance can't be loaded.
- (ruby-bugs-ja:PR#366)
-
-Wed Dec 11 23:35:43 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * ext/extmk.rb (create_makefile): -no-undefined -> --no-undefined.
-
-Wed Dec 11 17:54:59 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * io.c (io_read): takes optional second argument to specify a
- string to be written. the string should not be frozen.
-
- * io.c (rb_io_sysread): ditto.
-
-Wed Dec 11 11:30:28 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * ext/digest/digest.c (rb_digest_base_copy): renamed "become".
-
- * ext/stringio/stringio.c (strio_copy): ditto.
-
-Wed Dec 11 00:45:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * lib/getoptlong.rb (GetoptLong::Error): provide a common ancestor
- for GetoptLong error classes (RCR#129).
-
-Tue Dec 10 17:42:39 2002 2002 K.Kosako <kosako@sofnec.co.jp>
-
- * re.c (rb_reg_copy_object): fixed memory leak.
-
-Tue Dec 10 17:30:35 2002 Tanaka Akira <akr@m17n.org>
-
- * pack.c (utf8_limits): fix the limit of 4 bytes UTF-8 sequence.
-
-Tue Dec 10 12:01:15 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (mnew): original class of method defined in module should
- be the module not intermediate class. [ruby-dev:19040]
-
-Tue Dec 10 01:16:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * sprintf.c (rb_f_sprintf): preceding ".." for negative numbers
- still left; removed.
-
- * sprintf.c (rb_f_sprintf): should not prepend '0' if width > prec
- for example "%5.3d".
-
-Sat Dec 7 18:14:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * process.c (Init_process): add Process.exit and Process.abort
-
- * pack.c (utf8_to_uv): raise ArgumentError for malformed/redundant
- UTF-8 sequences.
-
-Fri Dec 6 03:46:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * process.c (last_status_set): add pid attribute to Process::Status.
-
-Wed Dec 4 17:31:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * pack.c (uv_to_utf8): limit maximum length of the encoded string
- to 6 bytes, even when the platform supports 8 bytes long integers.
-
- * pack.c (utf8_to_uv): do not decode sequences longer than 6 bytes.
-
- * object.c (copy_object): use "copy_object" method, not "become".
-
-Wed Dec 4 16:37:11 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * object.c (copy_object): copy finalizers as well if any.
-
- * gc.c (rb_gc_copy_finalizer): new function to copy finalizers.
-
-Tue Dec 3 01:13:41 2002 Tanaka Akira <akr@m17n.org>
-
- * lib/pp.rb (PP.singleline_pp): new method.
-
-Sun Dec 1 23:04:03 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * lib/optparse.rb (OptionParser::new): same as OptionParser#on but
- returns new OptionParser::switch.
-
-Sun Dec 1 22:43:29 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * win32/win32.c (rb_w32_stat): empty path is invalid, and return
- ENOENT rather than EBADF in such case. [ruby-talk:57177]
-
-Fri Nov 29 18:01:48 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * pack.c (utf8_to_uv): added checks for malformed or redundant
- UTF-8 sequences.
-
-Thu Nov 28 12:08:30 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/mkmf.rb: Avoid the use of "clean::" in favor of "clean:" in
- order not to let make(1) choke if there is another dependency on
- the target added in a depend file.
-
-Thu Nov 28 02:40:42 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/mkmf.rb: Make sure to dig the destination directory before
- installing a file there. Formerly "make install" could fail
- depending on make(1)'s mood of the moment, especially when -jN
- is given.
-
-Wed Nov 27 17:39:38 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * ext/syslog/syslog.c: Cut redundancy.
-
- * ext/syslog/syslog.c: Do not leak ident.
-
-Wed Nov 27 17:25:29 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * ext/syslog/syslog.c, ext/syslog/test.rb: Syslog.close should
- raise RuntimeError when not opened.
-
- * ext/syslog/syslog.c, ext/syslog/test.rb:
- Syslog.{ident,options,facility,mask} should all return nil when
- not opened.
-
- * ext/syslog/syslog.c, ext/syslog/test.rb: Change back the output
- format of inspect().
-
-Wed Nov 27 16:25:43 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * ext/digest/test.rb: Switch from RUnit to Test::Unit.
-
-Wed Nov 27 16:14:12 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * ext/syslog/syslog.c: Fix a problem where Syslog.ident was not
- marked and could thus be GC'd.
-
-Wed Nov 27 16:11:53 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * ext/syslog/test.rb: Switch from RUnit to Test::Unit.
-
- * ext/syslog/test.rb: The output format of inspect() is slightly
- altered.
-
-Wed Nov 27 06:43:26 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * error.c (exit_initialize): add SystemExit#initialize to set
- instance variable status. (ruby-bugs-ja:PR#362)
- Now accepts status as optional first argument.
-
- * eval.c (error_handle): now SystemExit have status always.
-
- * eval.c (system_exit): just instantiate SystemExit without raise.
-
- * eval.c (rb_thread_start_0): initialize SystemExit properly.
-
-Tue Nov 26 10:17:04 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * dln.c (init_funcname_len): remove MAXPATHLEN dependency.
-
-Mon Nov 25 19:55:38 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * ext/extmk.rb (extmake): return true if not dynamic and not static.
-
-Mon Nov 25 01:08:40 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * dln.c: revert and add the MAXPATHLEN definition on mswin32/mingw32.
-
-Sun Nov 24 20:36:53 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * dln.c: move the MAXPATHLEN definition in front.
-
-Fri Nov 22 22:55:01 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * sprintf.c (rb_f_sprintf): preceding ".." for negative
- hexadecimal numbers should not appear if prec (e.g. %.4) is
- specified.
-
- * pack.c (NUM2I32): support platforms which does not have 32bit
- integers (e.g. Cray).
-
-Fri Nov 22 19:20:36 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * instruby.rb: Install batch files on Windows. [Submitted by usa]
-
-Fri Nov 22 18:31:46 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_add_method): node may be NULL.
-
-Thu Nov 21 20:53:06 2002 Minero Aoki <aamine@loveruby.net>
-
- * lib/net/smtp.rb: changes coding style.
-
- * lib/net/pop.rb: ditto.
-
- * lib/net/protocol.rb: ditto.
-
-Thu Nov 21 20:17:08 2002 Minero Aoki <aamine@loveruby.net>
-
- * lib/net/http.rb: changes coding style.
-
-Thu Nov 21 20:04:06 2002 Minero Aoki <aamine@loveruby.net>
-
- * lib/net/http.rb: should not overwrite Host: header.
- (This patch is contributed by sean@ruby-lang.org)
-
-Thu Nov 21 20:01:33 2002 Minero Aoki <aamine@loveruby.net>
-
- * lib/net/http.rb: support Proxy-Authorization.
- (This patch is contributed by Alexander Bokovoy)
-
-Thu Nov 21 11:03:39 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * file.c (rb_find_file_ext): should not terminate searching with
- empty path, just ignore.
-
- * dir.c: remove <sys/parm.h> inclusion.
-
-Wed Nov 20 02:07:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * compar.c (cmp_eq,cmp_gt,cmp_ge,cmp_lt,cmp_le): check using
- rb_cmpint().
-
- * error.c (init_syserr): remove sys_nerr dependency.
-
-Wed Nov 20 01:52:21 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * numeric.c (num_cmp): added to satisfy Comparable assumption.
-
- * eval.c (rb_add_method): "initialize" should be public if it is a
- singleton method.
-
-Tue Nov 19 22:37:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * regex.c (re_match): avoid dereferencing if size == 0.
- (ruby-bugs-ja:PR#360)
-
-Tue Nov 19 20:40:39 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * time.c (time_cmp): should return nil if an operand is not a
- number nor time. (ruby-bugs-ja:PR#359)
-
- * file.c (rb_stat_cmp): should return nil if an operand is not
- File::Stat.
-
-Tue Nov 19 14:35:09 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * array.c (rb_ary_zip): iterates over items in the receiver.
- zipped with nil if argument arrays are shorter. if arrays are
- longer, left items are ignored. now works with blocks.
-
- * enum.c (zip_i): changed for new behavior.
-
- * array.c (rb_ary_transpose): added. [new]
-
-Tue Nov 19 05:12:21 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * instruby.rb: Do not install various working files under bin/.
-
-Tue Nov 19 05:07:39 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * instruby.rb: not rewrite installed scripts when dry-run mode.
-
- * lib/ostruct.rb (OpenStruct::initialize): should symbolize keys
- instead of values.
-
-Tue Nov 19 02:24:10 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * instruby.rb: Rewrite installed scripts' shebang lines.
-
- * instruby.rb: Use File.join() where appropriate.
-
-Tue Nov 19 01:53:35 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * bin/irb: Moved from sample/irb.rb.
-
- * instruby.rb: Install script files under bin/ with ruby's program
- prefix and suffix.
-
-Mon Nov 18 02:13:36 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/tempfile.rb: Make this library thread safe.
-
- * lib/tempfile.rb: Do not pick a name which was once used and is
- still scheduled for removal.
-
- * lib/tempfile.rb: A lock file need not and must not be scheduled
- for removal.
-
- * lib/tempfile.rb: Compare Max_try with the number of mkdir
- failures instead of the suffix counter.
-
- * lib/tempfile.rb: Overall cleanup and add some important notices.
-
-Sun Nov 17 22:57:31 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * parse.y (dsym): garbage returned. (ruby-bugs-ja:PR#358)
-
-Fri Nov 15 07:40:08 2002 NAKAMURA Hiroshi <nakahiro@sarion.co.jp>
-
- * observer.rb: raise NoMethodError instead of NameError.
- [ruby-dev:18788]
-
- * ostruct.rb: ditto. fix a bug in inspect which called String#+ with
- Symbol. [ruby-dev:18788]
-
- * profile.rb: illegal use of Array#sort!. replaced it with non-bang
- method. [ruby-dev:18792]
-
-Thu Nov 14 22:40:29 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * configure.in (LIBRUBY_A): append -static. [ruby-dev:18689]
-
- * configure.in (LIBRUBYARG_STATIC, LIBRUBYARG_SHARED): linker
- argument to link static/shared library respectively.
-
- * Makefile.in (LIBRUBYARG_STATIC, LIBRUBYARG_SHARED): added.
-
- * bcc32/Makefile.sub, win32/Makefile.sub: ditto.
-
- * instruby.rb (LIBRUBY_A): install to libdir.
-
- * lib/mkmf.rb (link_command): link static library of ruby, or
- try_run fails unless LIBRUBY_SO is installed. [ruby-dev:18646]
-
- * eval.c (call_trace_func): toplevel caller was missing.
- [ruby-dev:18754]
-
- * eval.c (proc_to_s): adjust created line number.
-
- * parse.y (primary, do_block, brace_block): adjust line number of
- block to beginning line, instead of the first statement inside
- the block.
-
-Thu Nov 14 08:23:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * math.c (math_acos): check errno after operation. ditto for
- asin, acosh, atanh, log, log10 and sqrt.
-
- * eval.c (rb_add_method): initialize should always be private.
-
- * parse.y (expr): add rescue modifier rule.
-
- * parse.y (command_call): return, break and next with argument is
- now part of this rule.
-
-Wed Nov 13 16:22:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * configure.in (DLDFLAGS): removed -Wl,-no-undefined to
- ext/extmk.rb, in order to allow references to symbols in other
- extension libraries for mkmf.rb. [ruby-dev:18724]
-
- * ext/extmk.rb (extmake): ditto.
-
- * ext/extmk.rb (extmake): exit when make failed.
-
-Sun Nov 10 03:46:18 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/set.rb: retire contain?() and add superset?(),
- proper_superset?() subset?(), and proper_subset?().
- [obtained from: Jason Voegele's set.rb]
-
- * lib/set.rb: define several aliases: union() for |(),
- difference() for -(), ande intersection() for &().
- [obtained from: Jason Voegele's set.rb]
-
- * lib/set.rb: deal with a s/id/object_id/ leftover.
-
-Sat Nov 9 16:06:57 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * ext/tcltklib/stubs.c: should include "util.h" for ruby_strdup.
-
-Sat Nov 9 11:39:45 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c: remove ENABLE_TRACE/DISABLE_TRACE to trace child nodes of
- c-call. [ruby-dev:18699]
-
-Fri Nov 8 04:16:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * parse.y (yylex): "a" in "a /5" should be considered as a local
- variable. [experimental]
-
-Thu Nov 7 09:51:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (rb_yield_0): should enable trace for non-cfunc nodes.
- [ruby-dev:18645]
-
- * eval.c (blk_orphan): a block created in a different thread is
- orphan. [ruby-dev:17471]
-
-Wed Nov 6 16:57:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * class.c (rb_define_method): do not set NOEX_CFUNC if klass is
- really a module, whose methods must be safe for reciever's type.
-
- * eval.c (rb_eval): nosuper should not be inherited unless the
- overwritten method is an undef placeholder.
-
-Tue Nov 5 00:46:04 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * ext/extmk.rb: Properly pass the given target to
- make(1). [pointed out by eban]
-
-Mon Nov 4 20:03:53 2002 NAKAMURA Usaku <usa@ruby-lang.org>
-
- * instruby.rb, lib/mkmf.rb: use CONFIG["ENABLE_SHARED"] instead of
- checking whether CONFIG["configure-args"] includes "--enable-shared".
-
-Mon Nov 4 16:49:14 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * parse.y (primary): allow 'when'-less case statement; persuaded
- by Sean Chittenden.
-
-Mon Nov 4 06:28:09 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * Makefile.in, ext/extmk.rb, bcc32/Makefile.sub,
- win32/Makefile.sub: Introduce better command line syntax
- (--make/--make-flags/--extstatic) to extmk.rb and instruby.rb.
- Previously such command as 'make -j3 install' with pmake doesn't
- fail. Formerly extmk.rb was receiving "make -j 3 -j 3" via the
- command line arguments and just ended up recognizing the first
- "3" as destdir. [with help of usa]
-
-Mon Nov 4 03:59:51 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/getopts.rb: Do not choke on characters that cannot be used
- in a variable name. Replace them with `_'. Define a hash named
- $OPT for convenience.
-
-Sat Nov 2 00:38:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * object.c (Init_Object): added Object#object_id, new name for
- Object#id. [new]
-
- * object.c (rb_obj_id_obsolete): give warning for Object#id.
-
- * numeric.c (fix_intern): added Fixnum#to_sym. [new]
-
- * object.c (sym_to_sym): rename from Symbol#intern
-
-Fri Nov 1 14:21:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * enum.c (enum_zip): added Enumerable#zip. [new]
-
- * array.c (rb_ary_zip): added Array#zip.
-
-Thu Oct 31 20:10:18 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * error.c (init_syserr): remove sys_nerr dependency.
-
-Thu Oct 31 09:31:51 2002 K.Kosako <kosako@sofnec.co.jp>
-
- * eval.c (rb_export_method): undef'ed method visibility should not
- be changed.
-
-Wed Oct 30 17:00:47 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_mod_public_method_defined, etc.): new methods:
- public_method_defined?, private_method_defined?,
- protected_method_defined?
-
- * object.c (rb_obj_public_methods): new method
- Object#public_methods.
-
- * class.c (ins_methods_i): Object#methods should list both public
- and protected methods.
-
- * class.c (rb_class_public_instance_methods): new method
- Module#public_instance_methods.
-
-Wed Oct 30 06:29:00 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * eval.c, file.c, gc.c, io.c, object.c, ruby.c, ruby.h, struct.c,
- ext/socket/socket.c: differentiate long and int; use proper
- printf type specifiers and do casts where appropriate.
-
-Wed Oct 30 04:07:33 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (error_print, rb_longjmp, rb_thread_schedule): flush
- error message. [ruby-dev:18582]
-
- * eval.c (ruby_cleanup): added. just clean up without exit.
- [ruby-dev:18582]
-
- * eval.c (ruby_exec): added. execute main evaluation tree without
- exit. [ruby-dev:18582]
-
- * intern.h: prototypes; ruby_cleanup, ruby_exec
-
-Tue Oct 29 02:00:08 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * ext/extmk.rb (extmake): use dummy_makefile to create dummy
- Makefile.
-
- * lib/mkmf.rb (find_executable0): EXEEXT is optional.
-
- * lib/mkmf.rb (dummy_makefile): make dummy Makefile content.
-
- * lib/mkmf.rb (create_makefile): define EXTLIB replacing -l.
-
- * lib/mkmf.rb ($bccwin): detect Borland make by help message.
-
- * lib/mkmf.rb (CLEANINGS): common rules to clean.
-
-Mon Oct 28 01:27:17 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * djgpp/config.sed (@program_transform_name@): use `%', not `,'.
-
-Sun Oct 27 22:59:50 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
-
- * ext/extmk.rb(78) : The unnecessary error when installing by bccwin32
- is controlled.
-
- * lib/mkmf.rb(773) : Also in the case of bccwin32, the path was added.
-
-Sun Oct 27 17:07:25 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * djgpp/*: sync with the latest.
-
- * ext/extmk.rb, lib/mkmf.rb: flush $stdout.
-
- * io.c (READ_DATA_PENDING_COUNT, READ_DATA_PENDING_PTR):
- undef these macros on DJGPP.
-
-Sat Oct 26 10:11:47 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * node.h (nd_type): cast the value to int.
-
-Sat Oct 26 04:27:35 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * ext/dbm/dbm.c (fdbm_indexes, fdbm_select): add a missing
- argument and prevent coredump when a nonexistent key is
- specified.
-
- * ext/sdbm/init.c (fsdbm_indexes, fsdbm_select): ditto.
-
-Sat Oct 26 03:28:43 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * eval.c, gc.c: use a common set of alloca() #ifdef's. This fixes
- the build with Intel C Compiler for Linux.
-
- * eval.c (rb_f_require): declare old_func with a real type, not
- just type modifiers.
-
-Fri Oct 25 02:55:01 2002 Minero Aoki <aamine@loveruby.net>
-
- * string.c (rb_str_split_m): RSTRING(str)->ptr might become NULL.
- [ruby-dev:18581]
-
-Thu Oct 24 21:57:02 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * configure.in (LIBPATHFLAG): avoid $ substitution.
- [ruby-dev:18577]
-
- * ext/extmk.rb (extmake): expand $srcdir.
-
- * ext/win32ole/extconf.rb: should not override $CFLAGS, but
- append.
-
- * lib/mkmf.rb (config_string): use given config hash.
-
- * bcc32/Makefile.sub (.rc.res): directory part may be empty in
- Borland make.
-
-Thu Oct 24 03:38:07 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * lib/mkmf.rb (create_makefile): site-install target for backward
- compatibility.
-
- * lib/mkmf.rb (init_mkmf): libdir prior to topdir.
-
- * configure.in (LIBPATHFLAG): should escape $. [ruby-dev:18572]
-
- * mkconfig.rb: never substute escaped $$.
-
- * instruby.rb: not install LIBRUBY_SO unless enable-shared.
- [ruby-dev:18569]
-
-Wed Oct 23 19:16:06 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (rb_eval): added NODE_DSYM, symbol literal with
- interpolation.
-
- * node.h: ditto.
-
- * intern.h: prototypes; rb_is_junk_id, rb_str_dump, rb_str_intern
-
- * object.c (sym_inspect): escape and quote for non-alphanumeric
- symbols.
-
- * parse.y (dsym, tokadd_string, yylex): extended symbol literals.
-
- * parse.y (rb_is_junk_id): added.
-
- * string.c (rb_str_dump, rb_str_intern) : make extern.
-
- * lib/mkmf.rb (create_makefile): deffile should be removed by
- distclean, not clean.
-
-Tue Oct 22 23:56:41 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * lib/mkmf.rb (init_mkmf): add dir_config("opt").
-
-Tue Oct 22 19:44:03 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
-
- * bcc32/configure.bat : The command line when calling setup.mak is
- corrected.
-
- * bcc32/readme.bcc32 : It follows up about the option of configure.bat.
-
-Tue Oct 22 15:23:19 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * instruby.rb: add dryrun mode.
-
- * ext/extmk.rb (extmake): add install: target to dummy Makefile.
-
- * ext/extmk.rb (extmake): avoid Borland make's quirk behavior.
-
- * lib/mkmf.rb (link_command): opt is not a makefile macro.
-
- * bcc32/Makefile.sub ($(LIBRUBY_SO) $(LIBRUBY)): EXTOBJS were not
- linked.
-
- * bcc32/Makefile.sub (ext/extinit.obj): missing.
-
- * bcc32/Makefile.sub (TRY_LINK): options have to place before any
- non-option arguments.
-
- * win32/Makefile.sub (TRY_LINK): need -link and -libpath options.
-
- * bcc32/Makefile.sub, win32/Makefile.sub (RANLIB): logical
- operator never work with command.com.
-
-Tue Oct 22 00:59:59 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * configure.in (RUBY_CPPOUTFILE): fix cache file bug.
-
- * lib/mkmf.rb (link_command): put 'opt' after conftest.c for
- static linking.
-
-Mon Oct 21 22:53:02 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * configure.in (XCFLAGS): CFLAGS to comile ruby itself.
-
- * configure.in (LIBEXT): suffix for static libraries.
-
- * configure.in (LIBPATHFLAG): switch template to specify library
- path.
-
- * configure.in (LINK_SO): command to link shared objects.
-
- * configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent
- files.
-
- * configure.in (EXPORT_PREFIX): prefix to exported symbols on
- Windows.
-
- * configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS):
- libraries, macros and headers used in common.
-
- * configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode
- excutable name.
-
- * Makefile.in (CFLAGS): append XCFLAGS.
-
- * Makefile.in (PREP): miscellaneous system dependent files.
-
- * Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb.
-
- * Makefile.in (fake.rb): CROSS_COMPILING keeps building platform.
-
- * Makefile.in (MAKEFILES): depend on *.in and config.status.
-
- * Makefile.in (parse.c): replace "y.tab.c" with actual name for
- byacc.
-
- * ext/extmk.rb, lib/mkmf.rb: integrated.
-
- * ext/extmk.rb: propagate MFLAGS.
-
- * ext/extmk.rb (extmake): make dummy Makefile to clean even if no
- Makefile is made.
-
- * lib/mkmf.rb (older): accept multiple file names and Time
+ * ext/psych/lib/psych/visitors/to_ruby.rb: support loading Encoding
objects.
- * lib/mkmf.rb (xsystem): split and qoute.
-
- * lib/mkmf.rb (cpp_include): make include directives.
-
- * lib/mkmf.rb (try_func): try wheather specified function is
- available.
-
- * lib/mkmf.rb (install_files): default to site-install.
-
- * lib/mkmf.rb (checking_for): added.
-
- * lib/mkmf.rb (find_executable0): just find executable file with
- no message.
-
- * lib/mkmf.rb (create_header): output header file is variable.
-
- * lib/mkmf.rb (create_makefile): separate sections.
-
- * lib/mkmf.rb (init_mkmf): initialize global variables.
-
- * win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added.
-
- * bcc32/Makefile.sub (ARCH): fixed to i386.
-
- * win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not
- link EXTOBJS.
-
- * ext/dl/extconf.rb: use try_cpp to cross compile.
-
- * ext/dl/extconf.rb: not modify files in source directory.
-
-Fri Oct 18 23:11:21 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * parse.y (value_expr0): allow return/break/next/redo/retry in rhs
- of logical operator. [ruby-dev:18534]
-
- * parse.y (remove_begin): eliminate useless NODE_BEGIN.
- [ruby-dev:18535]
-
-Fri Oct 18 01:02:44 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * hash.c, eval.c: Use (*_NSGetEnviron()) instead of environ on
- Darwin for namespace cleanness. [ruby-core:00537]
-
- * dln.c (dln_load): Fix Darwin support that has been disabled and
- switch to using it on Darwin instead of the system dlopen().
- [ruby-core:00541]
-
-Thu Oct 17 19:17:56 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * marshal.c (w_byten): added; write n bytes from s to arg.
-
- * marshal.c (dump): flush buffered data.
-
- * marshal.c (marshal_dump, r_byte, r_bytes0, marshal_load): unify
- marshaling I/O. [ruby-talk:53368]
-
-Thu Oct 17 12:58:24 2002 Minero Aoki <aamine@loveruby.net>
-
- * lib/fileutils.rb: stat.blksize might be 0/nil.
-
- * lib/fileutils.rb: change coding style.
-
-Wed Oct 16 22:35:53 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * sprintf.c (rb_f_sprintf): disallow mixed usage of numbered and
- unnumbered arguments. [ruby-dev:18531]
- get rid of memory leak at exception. [ruby-core:00460]
-
-Wed Oct 16 13:36:29 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * test/psych/test_encoding.rb: add test
- * variable.c (rb_global_entry): not add global entry until
- initialized to avoid accessing it while GC. [ruby-dev:18514]
+ * ext/psych/lib/psych.rb: add version
- * variable.c (rb_alias_variable): ditto.
+Mon May 5 00:16:35 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
-Wed Oct 16 01:03:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: Fix up default GC params by @csfrancis [fix GH-556]
- * object.c (rb_str_to_dbl): RString ptr might be NULL.
+Fri May 2 00:19:36 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * object.c (rb_cstr_to_dbl): p pointer might be NULL.
+ * 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.
- * bignum.c (rb_str_to_inum): RString ptr might be NULL.
+Thu May 1 20:56:56 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * bignum.c (rb_cstr_to_inum): str pointer might be NULL.
+ * ext/readline/extconf.rb (rl_hook_func_t): check pointer type.
+ [ruby-dev:48089] [Bug #9702]
-Sat Oct 12 23:44:11 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Thu May 1 20:47:08 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/win32.c (rb_w32_putc): wrong condition to fill or flush on
- bccwin32. [ruby-win32:408]
+ * ext/readline/extconf.rb: fix typo, `$defs` not `$DEFS`.
+ [ruby-core:61756] [Bug #9578]
-Fri Oct 11 15:58:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu May 1 20:47:08 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (arg): rescue modifier is now an operator with
- precedence right below assignments. i.e. "a = b rescue c" now
- parsed as "a = (b rescue c)", not as "(a = b) rescue c". [new]
- [experimental]
+ * ext/readline/extconf.rb (rl_hook_func_t): define as Function for
+ very old readline versions. [ruby-core:61209] [Bug #9578]
-Fri Oct 11 06:05:30 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Thu May 1 20:47:08 2014 Tanaka Akira <akr@fsij.org>
- * win32/win32.c (rb_w32_fclose, rb_w32_close): use closesocket()
- for socket. [ruby-win32:382]
+ * 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]
- * win32/win32.c (StartSockets): set NtSocketsInitialized.
+Sat Mar 1 21:00:27 2014 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
- * win32/win32.h: prototypes; rb_w32_fclose, rb_w32_close
+ * proc.c: Having optional keyword arguments makes maximum arity +1,
+ not unlimited [#8072]
-Fri Oct 11 00:24:57 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Sat Mar 1 17:25:12 2014 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
- * gc.c (ruby_xmalloc, ruby_xrealloc): restrict total allocation
- size according to memories consumed by live objects.
- [ruby-dev:18482]
+ * proc.c: Having any mandatory keyword argument increases min arity
+ [#9299]
- * gc.c (gc_sweep): estimate how live objects consume memories.
+Mon Feb 24 14:56:41 2014 WATANABE Hirofumi <eban@ruby-lang.org>
-Thu Oct 10 17:26:12 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * tool/make-snapshot: needs CXXFLAGS. [ruby-core:59393][Bug #9320]
- * ext/tcltklib/stubs.c (ruby_tcltk_stubs): fix memory leak.
- [ruby-dev:18478]
+Mon Feb 24 14:56:41 2014 NAKAMURA Usaku <usa@ruby-lang.org>
-Thu Oct 10 15:20:18 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * tool/make-snapshot: support new version scheme.
- * lib/weakref.rb (WeakRef::@@final): use Hash#delete.
+Mon Feb 24 13:05:48 2014 Aaron Patterson <aaron@tenderlovemaking.com>
- * lib/weakref.rb (WeakRef::__getobj__): examin if alive or not by
- ID_REV_MAP to deal with recycled object. [ruby-dev:18472]
+ * ext/psych/lib/psych.rb: New release of psych.
+ * ext/psych/psych.gemspec: ditto
- * lib/weakref.rb (WeakRef::weakref_alive?): ditto.
+Mon Feb 24 13:05:48 2014 Aaron Patterson <aaron@tenderlovemaking.com>
-Wed Oct 9 07:11:25 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * 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
- * gc.c (gc_sweep): also adjust heaps_limits when free unused heap
- page. [ruby-core:00526]
+Sat Feb 22 22:26:43 2014 NAKAMURA Usaku <usa@ruby-lang.org>
- * io.c (io_fflush): condition to retry can occur.
+ * ext/io/console/console.c (console_dev): need read access for conout$
+ because some functions need it. [Bug#9554]
- * io.c (io_write): returned 0 wrongly if no error occurred.
+Sat Feb 22 21:56:26 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Oct 8 14:19:07 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * compile.c (iseq_set_arguments): set arg_keyword_check from
+ nd_cflag, which is set by parser. internal ID is used for
+ unnamed keyword rest argument, which should be separated from no
+ keyword check.
- * io.c (io_write): must check returned value from fwrite() before
- test with ferror(). (ruby-bugs-ja:PR#350)
+ * iseq.c (rb_iseq_parameters): if no keyword check, keyword rest is
+ present.
-Tue Oct 8 10:55:23 2002 Tanaka Akira <akr@m17n.org>
+ * parse.y (new_args_tail_gen): set keywords check to nd_cflag, which
+ equals to that keyword rest is not present.
- * lib/prettyprint.rb (PrettyPrint.singleline_format): new method.
+Sat Feb 22 21:56:26 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Oct 7 16:43:07 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * iseq.c (rb_iseq_parameters): push argument type symbol only for
+ unnamed rest keywords argument.
- * bignum.c (bigdivrem): bignum zero's len should not be 0.
+Sat Feb 22 21:56:26 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Oct 7 15:36:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * proc.c (rb_iseq_min_max_arity): maximum argument is unlimited if
+ having rest keywords argument. [ruby-core:53298] [Bug #8072]
- * bignum.c (bigdivmod): wrong condition check for Bignum zero.
+Sat Feb 22 18:55:08 2014 Shugo Maeda <shugo@ruby-lang.org>
- * bignum.c (Init_Bignum): need to add Bignum#div.
+ * 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]
-Sun Oct 6 00:49:15 2002 Minero Aoki <aamine@loveruby.net>
+Sat Feb 22 18:48:57 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_load): should not pass blocks to the loaded file.
- [ruby-dev:18458]
+ * class.c (rb_mod_init_copy): do nothing if copying self.
+ [ruby-dev:47989] [Bug #9535]
-Fri Oct 4 20:25:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * hash.c (rb_hash_initialize_copy): ditto.
- * eval.c (rb_thread_interrupt, rb_thread_signal_raise): no need to
- save dead thread context. (same as [ruby-dev:18322])
- (ruby-bugs-ja:PR#349)
+Sat Feb 22 18:20:58 2014 Masaki Matsushita <glass.saga@gmail.com>
-Fri Oct 4 13:05:58 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * hash.c (rb_hash_flatten): fix behavior of flatten(-1).
+ [ruby-dev:47988] [Bug #9533]
- * configure.in (RUBY_PROG_GNU_LD): check whether the linker is GNU ld.
+ * test/ruby/test_array.rb: test for above.
- * ext/extmk.rb (create_makefile): add -Wl,-no-undefined to $DLDFLAGS
- on Linux if GNU ld is used and --enable-shared is specified.
+Sat Feb 22 17:46:32 2014 Tanaka Akira <akr@fsij.org>
-Fri Oct 4 02:21:16 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/open-uri.rb: Make proxy disabling working again.
+ Fixed by Christophe Philemotte. [ruby-core:59650] [Bug #9385]
- * bignum.c (rb_big_rshift): num should be initialized by carry
- bits if x is negative.
+Sat Feb 22 17:33:39 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * bignum.c (bigdivmod): len for bignum zero is 1, not 0.
+ * eval.c (rb_mod_s_constants): return its own constants for other
+ than Module itself. [ruby-core:59763] [Bug #9413]
-Thu Oct 3 20:22:11 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Sat Feb 22 16:51:36 2014 Eric Wong <e@80x24.org>
- * bcc32/mkexports.rb: to work on cygwin via telnet.
- [ruby-win32:358]
+ * ext/json/generator/depend: add build dependencies for json extension
+ [Bug #9374] [ruby-core:59609]
+ * ext/json/parser/depend: ditto
- * ext/tcltklib/tcltklib.c (ip_invoke): requires command name
- argument. [ruby-dev:18438]
+Sat Feb 22 16:34:12 2014 Yusuke Endoh <mame@tsg.ne.jp>
- * eval.c (ruby_init, ruby_options): Init_stack() with local
- location. (ruby-bugs-ja:PR#277)
+ * ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.
+ [ruby-core:57599] [Bug #8978].
- * eval.c (rb_call0): disable trace call. [ruby-dev:18074]
+Sat Feb 22 16:34:12 2014 Aaron Patterson <aaron@tenderlovemaking.com>
- * eval.c (eval, rb_load): enable trace call. [ruby-dev:18074]
+ * ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.
+ [ruby-core:57599] [Bug #8978]. Thanks mame!
- * eval.c (rb_f_require): set source file name for extension
- libraries. [ruby-dev:18445]
+Sat Feb 22 16:17:54 2014 Eric Wong <e@80x24.org>
- * gc.c (Init_stack): prefer address of argument rather than local
- variable to initialize rb_gc_stack_start.
+ * 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
- * ruby.c (translate_char): translate a character in a string;
- DOSISH only. [ruby-dev:18274]
+Sat Feb 22 15:56:53 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ruby.c (ruby_init_loadpath): added argv[0] handling under
- Human68K. [ruby-dev:18274]
+ * 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]
- * ruby.c (proc_options): translate directory separator in $0 to
- '/'. [ruby-dev:18274]
+Sat Feb 22 15:56:53 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Oct 3 00:27:26 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * 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]
- * lib/delegate.rb (Delegator::initialize): use Object#class
- instead of deprecated Object#type.
+Sat Feb 22 15:13:38 2014 Benoit Daloze <eregontp@gmail.com>
-Wed Oct 2 23:32:48 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * range.c (Range#size): [DOC] improve description and add examples.
+ Patch by @skade. [Fixes GH-501]
- * configure.in (RUBY_CHECK_IO_NEED_FLUSH): check whether fflush()
- is needed.
+Sat Feb 22 15:07:58 2014 Zachary Scott <e@zzak.io>
- * io.c (flush_before_seek): flush before seek if buffered data
- may remain.
+ * lib/racc/rdoc/grammar.en.rdoc: [DOC] Correct grammar and typos
+ Patch by Giorgos Tsiftsis [Bug #9429] [ci skip]
- * io.c (rb_io_check_readable): flush if the last operation was
- write.
+Sat Feb 22 15:06:32 2014 Zachary Scott <e@zzak.io>
- * io.c (rb_io_check_writable): flush if the last operation was
- read.
+ * lib/open-uri.rb: [DOC] use lower case version of core classes, same
+ as commit r44878, based on patch by Jonathan Jackson [Bug #9483]
- * rubyio.h (FMODE_RBUF): added.
+Sat Feb 22 15:06:32 2014 Zachary Scott <e@zzak.io>
-Wed Oct 2 23:09:20 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * 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]
- * io.c (rb_io_wait_readable): handle retryable errors.
+Sat Feb 22 15:03:05 2014 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
- * io.c (rb_io_wait_writable): ditto.
+ * variable.c: adding extra example in docs.
+ patched by Steve Klabnik. [Bug #9210]
- * ext/socket/socket.c (bsock_send): ditto.
+Sat Feb 22 15:01:21 2014 Tanaka Akira <akr@fsij.org>
- * ext/socket/socket.c (s_recvfrom): ditto.
-
- * ext/socket/socket.c (s_accept): ditto.
-
- * ext/socket/socket.c (udp_send): ditto.
-
- * ext/socket/getaddrinfo.c (afdl): made private structures constant.
-
- * rubyio.h: prototype; rb_io_wait_readable(), rb_io_wait_writable().
-
-Wed Oct 2 13:03:58 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * configure.in: set ac_cv_func_setitimer to "no" on Cygwin.
-
-Wed Oct 2 10:59:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * gc.c (gc_sweep): free unused heap page to reduce process size if
- possible.
-
- * object.c (rb_obj_type): deprecated Object#type; use Object#class.
-
-Tue Oct 1 23:48:32 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * ext/socket/socket.c (init_sock): no need for special finalizer,
- socket descriptor is no longer duplicated in 1.7.
- [ruby-talk:50732]
-
- * win32/win32.c, win32/win32.h (rb_w32_fddup, rb_w32_fdclose):
- delete.
-
-Mon Sep 30 20:29:10 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * io.c (rb_io_inspect): not need to raise IOError for closed
- stream. [ruby-talk:51871]
-
-Mon Sep 30 03:48:15 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * range.c (range_check): need no Fixnum check.
-
-Sun Sep 29 18:30:24 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * win32/win32.c (rb_w32_open_osfhandle): adjust
- rb_w32_open_osfhandle() with _open_osfhandle().
-
- * win32/win32.c (rb_w32_accept, rb_w32_socket): return -1 on
- error.
-
- * win32/win32.h: should use file descriptor instead of SOCKET.
-
-Sun Sep 29 06:33:03 2002 NAKAMURA Usaku <usa@ruby-lang.org>
-
- * win32/win32.c (is_socket, rb_w32_select, rb_w32_accept, rb_w32_bind,
- rb_w32_connect, rb_w32_getpeername, rb_w32_getsockname,
- rb_w32_getsockopt, rb_w32_ioctlsocket, rb_w32_listen, rb_w32_recv,
- rb_w32_recvfrom, rb_w32_send, rb_w32_sendto, rb_w32_setsockopt,
- rb_w32_shutdown, rb_w32_socket, rb_w32_gethostbyaddr,
- rb_w32_gethostbyname, rb_w32_gethostname, rb_w32_getprotobyname,
- rb_w32_getprotobynumber, rb_w32_getservbyname, rb_w32_getservbyport):
- need to protect WSAGetLastError() by RUBY_CRITICAL. [ruby-talk:51778]
-
-Sat Sep 28 20:06:36 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * keywords: add braces around initializers.
-
-Sat Sep 28 13:19:29 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * hash.c (rb_hash_become): should check self-assignment after
- conversion.
-
-Sat Sep 28 10:40:44 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * hash.c (rb_hash_become): Hash#become should check added
- self-assignment.
-
- * class.c (rb_make_metaclass): metaclass of a superclass may be
- NULL at boot time.
-
-Sat Sep 28 09:50:03 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
-
- * ext/extmk.rb: The condition judgment without necessity was deleted.
-
-Fri Sep 27 18:40:42 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (rb_thread_deadlock): more verbose message at deadlock.
-
- * eval.c (rb_thread_schedule): ditto.
-
- * eval.c (rb_thread_join): ditto.
-
-Fri Sep 27 13:24:35 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_eval): Class#inherited should be called after the
- execution of the class body.
-
-Fri Sep 27 02:41:53 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * ext/digest/sha1: Use OpenSSL's SHA1 engine if available. It is
- much faster than what we have now (sha1.[ch]). Add a knob
- (--with-bundled-sha1) to extconf.rb which makes it use the
- bundled one anyway.
-
-Fri Sep 27 02:25:14 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * ext/digest/rmd160: Use OpenSSL's RMD160 engine if available. It
- is much faster than what we have now (rmd160.[ch]). Add a knob
- (--with-bundled-rmd160) to extconf.rb which makes it use the
- bundled one anyway.
-
-Fri Sep 27 01:23:39 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * ext/digest/md5: Use OpenSSL's MD5 engine if available. It is
- much faster than what we have now (md5.[ch]). Add a knob
- (--with-bundled-md5) to extconf.rb which makes it use the
- bundled one anyway.
-
-Thu Sep 26 22:44:21 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * ext/digest/digest.c (rb_digest_base_s_digest): Fix a double
- free() bug mingled with allocation framework deployment.
-
- * ext/digest/digest.c (rb_digest_base_s_hexdigest): Get rid of
- redundant struct allocation.
-
-Thu Sep 26 09:52:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * parse.y (primary): remove "return outside of method" check at
- compile time.
-
-Wed Sep 25 23:51:29 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * dir.c (glob_helper): must not closedir() when exception raised
- while globbing "**".
-
- * marshal.c (w_uclass): unused variable.
-
- * re.c (match_clone): unused.
-
- * regex.c (re_compile_pattern): get rid of implicit promotion from
- plain char to int.
-
-Wed Sep 25 17:46:46 2002 NAKAMURA Usaku <usa@ruby-lang.org>
-
- * lib/mkmf.rb (libpathflag): restore ENV['LIB'] when some error occured.
-
-Wed Sep 25 16:14:51 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * regex.c (re_match): p1 may exceed pend limit.
-
-Mon Sep 23 23:22:43 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (rb_call0): must not clear ruby_current_node, or
- backtrace cannot be genetated.
-
- * intern.h (ruby_yyparse): rather than yyparse().
-
- * parse.y (yylex): nextc() returns -1 at end of input, not 0.
-
- * parse.y (newline_node): reduce duplicated newline node.
-
- * parse.y (literal_concat): get rid of warning.
-
- * parse.y (new_evstr): fixed junk code.
-
-Mon Sep 23 19:57:52 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * configure.in (RUBY_MINGW32): new macro. check for the MinGW
- compiler envionment.
-
- * lib/mkmf.rb: refactoring.
-
-Mon Sep 23 08:27:11 2002 Tanaka Akira <akr@m17n.org>
-
- * io.c (appendline): forget to terminate with nul.
-
-Mon Sep 23 02:46:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (ruby_run): should set toplevel visibility again here.
-
- * eval.c (rb_eval): should not rely on ruby_class == rb_cObject
- check. Besides allow implicit publicity for attribute set
- methods.
-
- * parse.y (primary): need not to check class_nest, just set
- whether method is an attrset or not.
-
-Sun Sep 22 21:49:42 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (call_trace_func): should not call trace function while
- compilation.
-
- * eval.c (rb_call0): also inside c-func.
-
- * parse.y (yycompile): ditto.
-
- * ruby.c (require_libraries): preserve source file/line for each
- require.
-
-Sun Sep 22 17:08:11 2002 Tanaka Akira <akr@m17n.org>
-
- * string.c (rb_str_each_line): p might be at the top of the
+ * lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated
string.
+ Patch by Ryan Brunner. [ruby-core:58220] [Bug #9093]
-Sat Sep 21 23:28:28 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * class.c (rb_make_metaclass): class of metaclass should be
- metaclass of superclass, unless class itself is a metaclass;
- class of metaclass of metaclass should point back to self.
- eh, confusing, isn't it.
-
- * class.c (rb_singleton_class): check if its class is singleton
- AND attached to self.
-
-Sat Sep 21 22:23:41 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (rb_thread_raise): no need to save dead thread context.
- [ruby-dev:18322]
-
-Fri Sep 20 23:02:01 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * parse.y (block_append): eliminate unused literal nodes.
-
- * parse.y (literal_concat): refined literal concatination.
-
-Fri Sep 20 19:43:40 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/set.rb: Merge rough/lib/set.rb rev.1.5-1.15.
-
-Wed Sep 18 12:41:16 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_eval): should define class/module under ruby_cbase.
-
- * eval.c (rb_eval): should set class/module path based on
- ruby_cbase, not ruby_class.
-
- * eval.c (module_setup): use ruby_cbase instead of ruby_class.
-
-Tue Sep 17 21:06:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (rb_thread_die): put thread dead state.
-
- * eval.c (rb_thread_atfork): free stack buffer at fork too.
-
-Tue Sep 17 01:13:31 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_mod_nesting): load wrapping module should appear in
- Module#nesting list. (ruby-bugs-ja:PR#328)
-
- * eval.c (rb_thread_remove): free stack buffer on remove.
-
-Tue Sep 17 00:58:35 2002 Minero Aoki <aamine@loveruby.net>
-
- * io.c: add parameter prototype.
-
- * re.c: ditto.
-
-Sun Sep 15 21:14:22 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
-
- * win32/win32.c (rb_w32_opendir, rb_w32_stat): Corresponds to
- the unjust path containing ".
-
-Sun Sep 15 19:48:55 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * configure.in (OUTFLAG, CPPOUTFILE): moved from lib/mkmf.rb.
- check whether ${CPP} accepts the -o option.
-
- * win32/Makefile.sub (OUTFLAG, CPPOUTFILE): ditto.
-
- * bcc32/Makefile.sub (OUTFLAG, CPPOUTFILE): ditto.
-
- * djgpp/config.sed (OUTFLAG, CPPOUTFILE): ditto.
-
- * lib/mkmf.rb (OUTFLAG, CPPOUTFILE): use CONFIG.
- make easy to understand log.
-
- * mkconfig.rb (val): should not strip.
-
-Sat Sep 14 20:13:42 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
-
- * error.c(rb_sys_fail): remove case EPIPE on bcc32 .
-
-Fri Sep 13 23:39:49 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * dir.c (glob_func_caller): add prototype to get rid of warning.
-
-Fri Sep 13 18:35:12 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (rb_eval): avoid uninitialized global/class variable
- warnings at `||='. [ruby-dev:18278]
-
- * parse.y (stmt, arg): ditto
-
-Fri Sep 13 13:28:04 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * lib/mkmf.rb ($INSTALLFILES): avoid warning when $VERBOSE mode.
-
-Thu Sep 12 23:20:10 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
-
- * bcc32/setup.mak : Control of a message.
-
- * bcc32/makefile.sub : include resource.
-
-Thu Sep 12 18:10:03 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * dir.c (glob_helper): fixed freeing buffer. (ruby-bugs-ja:PR#332)
-
- * dir.c (glob_helper): should pass matched path. (ruby-bugs-ja:PR#333)
-
-Thu Sep 12 00:09:32 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (rb_trap_eval): preserve thread status and so on.
- [ruby-talk:40337], [ruby-core:00019]
-
-Wed Sep 11 21:25:52 2002 Tanaka Akira <akr@m17n.org>
-
- * pp.rb (ARGF.pretty_print): implemented.
- (PP.pp): arguments reordered.
-
-Wed Sep 11 18:55:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (proc_to_s): refined format. [ruby-dev:18215]
-
-Wed Sep 11 17:47:17 2002 NAKAMURA Usaku <usa@ruby-lang.org>
-
- * win32/win32.c, win32/win32.h (rb_w32_getpid): negate pid under Win9x.
- [ruby-dev:18262]
-
-Wed Sep 11 12:58:57 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * string.c (get_pat): Add an extra argument "quote".
-
- * string.c (rb_str_match_m): Do not bother to convert if a regexp
- is given.
-
-Wed Sep 11 11:33:40 2002 NAKAMURA Usaku <usa@ruby-lang.org>
-
- * bcc32/Makefile.sub: remove unnecessary `.dll' from filename of
- dll's resource file.
-
- * cygwin/GNUmakefile.in: ditto. [ruby-dev:17103]
-
- * win32/Makefile.sub: ditto. [ruby-dev:17103]
-
- * win32/resource.rb: ditto. [ruby-dev:17103]
-
-Wed Sep 11 09:59:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * io.c (rb_io_wait_readable): added.
-
- * io.c (rb_io_wait_writable): added.
-
- * io.c (io_read_retryable): added.
-
- * io.c (io_write): retry on EINTR, ERESTART and EWOULDBLOCK.
- [ruby-dev:17855], [ruby-dev:17878], [ruby-core:00444]
-
- * io.c (rb_io_fread): ditto.
-
- * io.c (read_all): ditto.
-
- * io.c (appendline): ditto.
-
- * io.c (rb_io_each_byte): ditto.
-
- * io.c (rb_io_getc): ditto.
-
-Wed Sep 11 09:29:24 2002 NAKAMURA Usaku <usa@ruby-lang.org>
-
- * win32/Makefile.sub (ext): make directory `ext' on compile dir.
- [ruby-dev:18255]
-
-Wed Sep 11 00:41:10 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (rb_mod_define_method): initialize orig_func too.
- (ruby-bugs-ja:PR#330)
-
-Wed Sep 11 00:01:32 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * dir.c (glob_helper): prevent memory leak using rb_protect().
-
- * string.c (rb_str_associate): no need to check freeze flag.
-
- * string.c (rb_str_resize): should honor STR_ASSOC flag on
- resize.
-
- * string.c (rb_str_resize): proper STR_ASSOC handling. pointed
- out by Michal Rokos.
-
- * string.c (rb_str_buf_cat): ditto.
-
- * string.c (rb_str_cat): ditto.
-
- * string.c (rb_str_buf_append): ditto.
-
- * string.c (rb_str_append): ditto.
-
-Tue Sep 10 23:35:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * parse.y (nextc): restore line number after here documents.
- (ruby-bugs-ja:PR#331)
-
- * parse.y (heredoc_restore): ditto.
-
-Tue Sep 10 18:26:52 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * ext/extmk.rb, lib/mkmf.rb ($INCFLAGS): new var for -I$(topdir).
-
- * lib/mkmf.rb: add #define WIN32_LEAN_AND_MEAN to improve compile
- times.
-
-Tue Sep 10 17:16:14 2002 NAKAMURA Usaku <usa@ruby-lang.org>
-
- * win32/Makefile.sub (miniruby): shouldn't link $(EXTOBJS).
- [ruby-dev:17059]
-
- * win32/Makefile.sub ($(LIBRUBY_A), $(LIBRUBY)): avoid lib.exe's
- warning. [ruby-dev:17059]
-
- * win32/Makefile.sub: remove unnecessary rules. [ruby-dev:17059]
-
- * win32/configure.bat, win32/setup.mak, win32/README.win32: enable to
- pass some arguments to configure. [ruby-dev:17059]
-
-Mon Sep 9 23:43:33 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * win32/win32.h (S_I?USR): define only if not mingw32.
-
-Mon Sep 9 11:21:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * ext/stringio/stringio.c (strio_set_string): reinitialize
- properly.
-
- * ext/stringio/stringio.c (strio_become): added self-assign check
- and experimental auto-conversion to StringIO.
-
- * ext/stringio/stringio.c (strio_reopen): added.
-
-
-Sun Sep 8 21:29:25 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * time.c (time_free): prototype; struct time_object -> void *.
- avoid GCC warnings.
-
- * lib/mkmf.rb, ext/extmk.rb ($LINK, $CPP): move to lib/mkmf.rb.
-
-Sun Sep 8 19:02:28 2002 NAKAMURA Usaku <usa@ruby-lang.org>
-
- * time.c: prototype; time_free() to avoid VC++ warnings.
-
- * ext/tcltklib/tcltklib.c: prototype; invoke_queue_handler() to avoid
- VC++ warning.
-
- * win32/win32.c (rb_w32_stat): remove S_IWGRP and S_IWOTH bits from
- st_mode.
-
- * win32/win32.h (S_I*): define if not defined.
-
-Sun Sep 8 14:38:31 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * configure.in: modify program_prefix only if specified
- --program-prefix.
-
- * configure.in: don't generate ext/extmk.rb.
-
- * Makefile.in: execute directly $(srcdir)/ext/extmk.rb.
- remove -Cext option, "Dir::chdir 'ext'" in ext/extmk.rb.
-
- * {win32,bccwin32}/Makefile.sub: ditto.
-
- * instruby.rb: ditto.
-
- * ext/extmk.rb: renamed from ext/extmk.rb.in.
-
- * lib/mkmf.rb (module Logging): create log files (mkmf.log)
- in each extension module directories.
-
- * ext/extmk.rb: ditto.
-
- * lib/mkmf.rb (macro_defined?): new method.
-
- * ext/.cvsignore: remove extmk.rb.
-
- * ext/*/.cvsignore: add "*.def".
-
- * lib/mkmf.rb (have_struct_member): moved from ext/socket/extconf.rb.
-
- * ext/socket/extconf.rb: use macro_defined? instead of egrep_cpp.
-
- * ext/etc/extconf.rb: use have_struct_member.
-
- * ext/etc/etc.c: add prefix HAVE_ST_ to PW_ macros.
-
-Sun Sep 8 14:36:40 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
-
- * bcc32/configure.bat : Control of a message.
- * bcc32/makefile.sub : @(sitearch) typo.
- * ext/extmk.rb.in : [bccwin32] libdir is added to a library path.
- * lib/mkmf.rb : ditto.
-
-Sat Sep 7 23:32:56 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * misc/inf-ruby.el (inferior-ruby-error-regexp-alist): regexp
- alist for error message from ruby.
-
- * misc/inf-ruby.el (inferior-ruby-mode): fixed for Emacs.
-
- * misc/inf-ruby.el (ruby-send-region): compilation-parse-errors
- doesn't parse first line, so insert separators before each
- evaluations.
-
-Sat Sep 7 19:46:57 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/set.rb: Disallow Set.new(false). Add even more tests.
- [Submitted by: "Christoph" <chr_news@gmx.net>]
-
-Sat Sep 7 19:23:56 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/set.rb: Fix a bug in flatten()'s recursive set detection.
- [Submitted by: "Christoph" <chr_news@gmx.net>] Some tests
- against the bug are added.
-
- * lib/set.rb: Resurrect the test suite by putting it after
- __END__ and executing `eval DATA.read'.
-
-Sat Sep 7 08:41:39 2002 Minero Aoki <aamine@loveruby.net>
-
- * parse.y (rb_gc_mark_parser): ruby_eval_tree is marked in eval.c.
-
-Fri Sep 6 20:01:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * lib/mkmf.rb ($CC): command to compile C source.
-
- * lib/mkmf.rb (logging): added.
-
- * lib/mkmf.rb (try_compile): added.
-
- * lib/mkmf.rb (egrep_cpp): use internal grep when pattern is
- Regexp, otherwise use external egrep command but get rid of
- pipe of command.com.
-
- * lib/mkmf.rb (have_func): local variable should be volatile not
- to be eliminated by optimization.
-
- * lib/mkmf.rb (create_makefile): link with CONFIG["LIBS"].
-
- * lib/mkmf.rb (create_makefile): emit .SUFFIXES:.
-
-Fri Sep 6 12:11:22 2002 Minero Aoki <aamine@loveruby.net>
-
- * parse.y (rb_gc_mark_parser): should mark ALL global variables
- defined in parse.y.
-
-Fri Sep 6 01:15:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * gc.c (ruby_xmalloc): remove MALLOC_LIMIT to avoid frequent
- garabage collection.
-
-Fri Sep 6 11:47:37 2002 Minero Aoki <aamine@loveruby.net>
-
- * parse.y (rb_gc_mark_parser): should mark global variables
- defined in parse.y.
-
-Fri Sep 6 10:34:32 2002 Minero Aoki <aamine@loveruby.net>
-
- * io.c (rb_io_puts): RSTRING(line)->ptr might be NULL.
-
-Fri Sep 6 10:26:37 2002 Minero Aoki <aamine@loveruby.net>
-
- * parse.y: should not put non-NODE-VALUEs in the semantic stack.
-
-Fri Sep 6 05:48:26 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * file.c (rb_path_check): nothing to check under DOSISH.
- [ruby-list:35772]
-
-Fri Sep 6 05:03:50 2002 Minero Aoki <aamine@loveruby.net>
-
- * gc.c (rb_gc): should mark parser.
-
- * parse.y (rb_gc_mark_parser): new function.
-
- * intern.h (rb_gc_mark_parser): added.
-
-Thu Sep 5 18:32:32 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * variable.c (rb_path2class): should not use rb_eval_string().
-
-Thu Sep 5 17:18:22 2002 Michal Rokos <michal@ruby-lang.org>
-
- * dln.c: fix memory leak in dln_load (ruby-core:405) and
- in load_1 (ruby-core:407)
-
-Thu Sep 5 15:43:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * marshal.c (w_extended): should allow marshaling of object which
- is extended by named module.
-
- * class.c (rb_make_metaclass): super may be T_ICLASS, need to skip.
-
-Thu Sep 5 13:09:22 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (rb_eval): overriding false constant with class/module
- definition should be error. (PR#327)
-
-Thu Sep 5 01:24:26 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * extmk.rb (create_makefile): add macro MAKEDIRS, INSTALL_PROG,
- INSTALL_DATA.
-
- * extmk.rb (create_makefile): support for building to any directory.
-
- * extmk.rb (xsystem): move to mkmf.rb.
-
- * mkmf.rb (xsystem): support for extmk.rb
-
- * mkmf.rb ($CPP): remove '-E' option. add CPPFLAGS.
-
-Wed Sep 4 16:15:17 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/set.rb: ==(o) should be aware of all the Set variant
- instances, not just those of its subclasses. [Submitted by:
- "Christoph" <chr_news@gmx.net>]
-
- * lib/set.rb: - Fix eql?(). [ditto]
-
-Wed Sep 4 15:23:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * class.c (rb_make_metaclass): obj.meta.super.meta should be equal
- to obj.meta.meta.super (ruby-bugs-ja:PR#324).
-
-Wed Sep 4 05:10:16 2002 Koji Arai <jca02266@nifty.ne.jp>
-
- * parse.y (yylex): the warning message "invalid
- character syntax" was never issued (ruby-bugs-ja:PR#323).
-
-Wed Sep 4 01:08:45 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * marshal.c (r_bytes): do not use alloca (ruby-bugs:PR#382).
-
-Tue Sep 3 17:12:59 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * extmk.rb: require mkmf.rb. remove duplicate methods.
- use Config::CONFIG["FOO"] instead of @FOO@.
-
- * mkmf.rb: support for extmk.rb.
-
-Mon Sep 2 23:01:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * re.c (rb_reg_search): MatchData must be rb_cMatch.
- (ruby-bugs-ja:PR#319)
-
-Mon Sep 2 21:21:46 2002 Minero Aoki <aamine@loveruby.net>
-
- * gc.c (gc_sweep): does reclaim nodes in also compile time, if we
- can.
-
- * ruby.c (load_file): omit GC if we can.
-
- * parse.y (ruby_parser_stack_on_heap): new function.
-
- * intern.h (ruby_parser_stack_on_heap): added.
-
-Mon Sep 2 18:45:07 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * variable.c (rb_copy_generic_ivar): remove old generic instance
- variable table if it existes.
-
-Sun Sep 1 15:54:33 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * config.guess: fixed for Linux/PPC.
-
-Sat Aug 31 09:38:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * class.c (rb_make_metaclass): metaclass of a metaclass is a
- metaclass itself.
-
-Fri Aug 30 22:45:16 2002 Akinori MUSHA <knu@iDaemons.org>
-
- * lib/set.rb: Added.
-
-Fri Aug 30 20:58:54 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
-
- * ext/Win32API/Win32API.c (Win32API_Call): typo.
-
-Fri Aug 30 19:45:52 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * variable.c (rb_const_assign): st_delete() takes pointer to key.
-
-Fri Aug 30 19:40:28 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * ext/Win32API/Win32API.c (Win32API_Call): RSTRING()->ptr may be
- NULL.
-
- * ext/nkf/nkf.c (rb_nkf_guess): ditto.
-
- * ext/readline/readline.c (readline_s_set_completion_append_character):
- ditto.
-
- * ext/socket/socket.c (sock_s_getaddrinfo, sock_s_getnameinfo):
- ditto.
-
- * ext/tcltklib/tcltklib.c (ip_toUTF8, ip_fromUTF8): ditto.
-
-Fri Aug 30 01:32:17 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * class.c (rb_singleton_class): superclass of a metaclass
- should be a metaclass of superclass.
-
- * range.c (range_eq): two instances must belong to a same class to
- be equal.
-
- * range.c (range_eql): ditto.
-
- * io.c (rb_io_taint_check): frozen check added.
-
- * file.c (rb_stat_become): frozen check added.
-
- * object.c (rb_obj_become): ditto.
-
- * re.c (rb_reg_become): ditto.
-
- * struct.c (rb_struct_become): ditto.
-
- * time.c (time_become): ditto.
-
- * array.c (rb_ary_become): should call rb_ary_modify().
-
- * hash.c (rb_hash_become): should call rb_hash_modify().
-
- * compar.c (cmp_equal): should not use NUM2LONG(), since <=> may
- return bignum.
-
- * compar.c (cmp_gt, cmp_ge, cmp_lt, cmp_le, cmp_between): ditto.
-
-Thu Aug 29 23:34:42 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
-
- * bcc32/MakeFile.sub (sitearch): add.
-
-Thu Aug 29 13:36:42 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * io.c (read_all): should use off_t instead of long.
-
-Thu Aug 29 00:55:55 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * marshal.c (r_object): yield loaded objects, not intermediates.
- (ruby-bugs-ja:PR#296)
-
-Thu Aug 29 00:06:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * array.c (rb_ary_become): should not free ptr if it's shared.
-
- * eval.c (rb_alias): prohibit making an alias named "allocate" if
- klass is a metaclass.
-
-Wed Aug 28 23:59:15 2002 Michal Rokos <michal@ruby-lang.org>
-
- * signal.c: remove #ifdef SIGINT for struct signals.
-
- * variable.c: get rid of fix length buffer in rb_class_path.
-
-Wed Aug 28 23:34:32 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * io.c (appendline): data was lost when raw mode.
-
-Wed Aug 28 22:57:34 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * string.c (rb_string_value_ptr): StringValuePtr() should never
- return NULL pointer.
-
-Wed Aug 28 19:12:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * ext/stringio/stringio.c (strio_initialize): RSTRING(mode)->ptr
- can be NULL.
-
- * ext/stringio/stringio.c (strio_ungetc): fix buffer overflow.
-
-Wed Aug 28 18:19:55 2002 Michal Rokos <michal@ruby-lang.org>
-
- * file.c: fix memory leak in rb_stat_init.
-
-Wed Aug 28 17:45:03 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * win32/win32.c (kill): negate pid under Win9x.
+Sat Feb 22 14:52:55 2014 Zachary Scott <e@zzak.io>
-Wed Aug 28 16:36:40 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * ext/openssl/ossl_pkey_dh.c: Fixed typo by Sandor Szuecs [Bug #9243]
- * configure.in (ar): don't check ar twice.
+Sat Feb 22 14:45:36 2014 Zachary Scott <e@zzak.io>
-Wed Aug 28 15:00:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * 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]
- * string.c (rb_str_delete_bang): should check if str->ptr is 0.
+Sat Feb 22 14:31:23 2014 Zachary Scott <e@zzak.io>
- * string.c (rb_str_squeeze_bang): ditto.
+ * 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
- * string.c (rb_str_count): ditto.
+Sat Feb 22 14:18:35 2014 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_lstrip_bang): ditto.
+ * lib/resolv.rb: Ignore name servers which cause EAFNOSUPPORT on
+ socket creation.
+ Reported by Bjoern Rennhak. [ruby-core:60442] [Bug #9477]
- * string.c (rb_str_rstrip_bang): ditto.
+Sat Feb 22 14:07:04 2014 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_intern): ditto.
+ * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): Raise
+ DecodeError if no data before the limit.
+ Reported by Will Bryant. [ruby-core:60557] [Bug #9498]
-Wed Aug 28 11:37:35 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+Sat Feb 22 13:49:30 2014 Shugo Maeda <shugo@ruby-lang.org>
- * win32/win32.h: define SIGINT and SIGKILL if not defined.
+ * 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]
- * win32/win32.c: remove definition of SIGINT and SIGKILL.
+ * 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]
-Tue Aug 27 19:50:27 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * test/ruby/test_refinement.rb: related tests.
- * ruby.c (require_libraries): prevent ruby_sorcefile from GC.
+Sat Feb 22 13:26:57 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Aug 27 15:03:35 2002 Yukihiro Matsumoto <matz@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]
- * file.c (rb_find_file): $LOAD_PATH must not be empty.
+Sat Feb 22 13:17:32 2014 Masaki Matsushita <glass.saga@gmail.com>
- * file.c (rb_find_file_ext): ditto.
+ * ext/thread/thread.c (rb_szqueue_clear): notify SZQUEUE_WAITERS
+ on SizedQueue#clear. [ruby-core:59462] [Bug #9342]
-Tue Aug 27 02:35:21 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/thread/test_queue.rb: add test. the patch is from
+ Justin Collins.
- * range.c (range_eq): class check should be based on range.class,
- instead of Range to work with Range.dup.
+Sat Feb 22 01:35:02 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * range.c (range_eql): ditto.
+ * configure.in: check if pthread_setname_np is available.
-Mon Aug 26 18:17:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * thread_pthread.c: pthread_setname_np is not available on old
+ Darwins. [ruby-core:60524] [Bug #9492]
- * class.c (rb_mod_dup): need to preserve metaclass and flags.
+Sat Feb 22 00:21:50 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Aug 26 10:44:18 2002 Tanaka Akira <akr@m17n.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]
- * object.c (rb_cstr_to_dbl): had a buffer overrun.
+Fri Feb 21 23:51:38 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Aug 25 20:10:32 2002 Wakou Aoyama <wakou@ruby-lang.org>
+ * encoding.c (must_encindex, rb_enc_from_index, rb_obj_encoding): mask
+ encoding index and ignore dummy flags. [ruby-core:59354] [Bug #9314]
- * lib/cgi.rb (CGI#form): fix ruby-bugs-ja:PR#280, add default action.
+Fri Feb 21 23:10:12 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sat Aug 24 15:32:16 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * lib/mkmf.rb (RbConfig): expand RUBY_SO_NAME for extensions
+ backward compatibility. [ruby-core:59426] [Bug #9329]
- * eval.c (call_trace_func): restore source file/line, as trace
- function installed in required library with -r option can be
- called while parsing. (ruby-bugs:PR#372)
+Fri Feb 21 23:07:56 2014 Akio Tajima <artonx@yahoo.co.jp>
- * eval.c (module_setup): unused variable. [ruby-core:00358]
+ * win32/Makefile.sub: remove HAVE_FSEEKO because fseeko removed from win32/win32.c
+ Fixed [Bug #9333].
-Sat Aug 24 14:59:02 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Feb 21 23:00:34 2014 Aaron Patterson <aaron@tenderlovemaking.com>
- * marshal.c (w_class): integrate singleton check into a funciton
- to follow DRY principle.
+ * ext/psych/lib/psych/visitors/yaml_tree.rb: dumping strings with
+ quotes should not have changed. [ruby-core:59316] [Bug #9300]
- * marshal.c (w_uclass): should check singleton method.
+ * ext/psych/lib/psych.rb: fixed missing require.
- * object.c (rb_obj_dup): dmark and dfree functions must be match
- for T_DATA type.
+ * test/psych/test_string.rb: test
- * object.c (rb_obj_dup): class of the duped object must be match
- to the class of the original.
+Sun Feb 2 05:48:42 2014 Eric Wong <e@80x24.org>
-Sat Aug 24 13:57:28 2002 Tanaka Akira <akr@m17n.org>
+ * io.c (rb_io_syswrite): add RB_GC_GUARD
+ [Bug #9472][ruby-core:60407]
- * lib/time.rb (Time.rfc2822, Time#rfc2822): preserve localtimeness.
+Fri Feb 21 17:42:42 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/pp.rb: pretty_print_cycled is renamed to pretty_print_cycle.
+ * lib/resolv.rb (Resolv::Hosts#lazy_initialize): should not
+ consider encodings in hosts file. [ruby-core:59239] [Bug #9273]
-Fri Aug 23 23:59:57 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * lib/resolv.rb (Resolv::Config.parse_resolv_conf): ditto.
- * eval.c (method_call): check receiver is defined.
+Fri Feb 21 16:47:20 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (umethod_call): removed.
+ * string.c (get_encoding): respect BOM on pseudo encodings.
+ [ruby-dev:47895] [Bug #9415]
-Fri Aug 23 23:39:17 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Feb 21 16:47:20 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * re.c (rb_reg_quote): do not escape \t, \f, \r, \n, for they are
- not regular expression metacharacters.
+ * string.c (get_actual_encoding): get actual encoding according to
+ the BOM if exists.
- * time.c (time_s_alloc): use time_free instead of free (null check,
- also serves for type mark).
+ * string.c (rb_str_inspect): use according encoding, instead of
+ pseudo encodings, UTF-{16,32}. [ruby-core:59757] [Bug #8940]
- * time.c (time_s_at): check dfree function too.
+Fri Feb 21 13:39:21 2014 Charlie Somerville <charliesome@ruby-lang.org>
-Fri Aug 23 17:06:48 2002 WATANABE Hirofumi <eban@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]
- * configure.in: RUBY_SO_NAME is msvcrt-rubyXX on mswin32/mingw32.
+Thu Feb 20 12:58:45 2014 Tanaka Akira <akr@fsij.org>
- * configure.in (sitearch): new var.
+ * process.c (READ_FROM_CHILD): Apply the last hunk of
+ 0001-process.c-avoid-EINTR-from-Process.spawn.patch written by
+ Eric Wong in [Bug #8770].
- * mkconfig.rb, lib/mkmf.rb (sitearch): ditto.
+Thu Feb 20 12:58:45 2014 Eric Wong <normalperson@yhbt.net>
- * win32/Makefile.sub, win32/setup.mak (sitearch): ditto.
+ * process.c (send_child_error): retry write on EINTR to fix
+ occasional Errno::EINTR from Process.spawn.
- * instruby.rb: ditto.
+ * process.c (recv_child_error): retry read on EINTR to fix
+ occasional Errno::EINTR from Process.spawn.
-Wed Aug 21 16:53:00 2002 Michal Rokos <michal@ruby-lang.org>
+Thu Feb 20 12:24:59 2014 Eric Hodel <drbrain@segment7.net>
- * *.c: int, long types cleanup.
+ * lib/rinda/ring.rb (Rinda::RingFinger#make_socket): Use
+ ipv4_multicast_ttl option for portability.
- * parse.y: ditto.
-
- * re.h, regex.h, ruby.h: ditto.
-
-Wed Aug 21 16:43:19 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_thread_cleanup): should not modify the global
- variable curr_thread.
-
-Wed Aug 21 16:14:26 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * configure.in: set ac_cv_func__setjmp to "no" on Cygwin.
-
- * configure.in: set ac_cv_func_crypt to "no" on MinGW.
-
-Tue Aug 20 21:47 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
-
- * io.c (rb_io_fread): remove case EPIPE on bcc32 .
-
- * win32/win32.c (rb_w32_getc): clear EPIPE error on bcc32.
-
-Tue Aug 20 19:39:03 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * file.c (rb_file_s_expand_path): accept drive letter on Cygwin.
-
- * file.c (is_absolute_path): ditto.
-
-Tue Aug 20 12:12:25 2002 Tietew <tietew@tietew.net>
-
- * io.c (rb_io_putc): output via rb_io_write().
-
-Mon Aug 19 19:01:55 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * misc/inf-ruby.el (inf-ruby-keys): ruby-send-definition
- conflicted with ruby-insert-end.
-
- * misc/inf-ruby.el (inferior-ruby-mode): compilation-minor-mode.
-
- * misc/inf-ruby.el (ruby-send-region): send as here document to
- adjust source file/line. [ruby-talk:47113], [ruby-dev:17965]
-
- * misc/inf-ruby.el (ruby-send-terminator): added to make unique
- terminator.
-
-Mon Aug 19 17:08:19 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * re.c (rb_reg_initialize_m): frozen check should be moved here
- from rb_reg_initialize().
-
-Mon Aug 19 15:38:44 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * array.c (sort_2): comparison should be done as signed long.
-
- * array.c (sort_2): should return int, not VALUE.
-
-Mon Aug 19 12:38:33 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (rb_thread_save_context, rb_thread_restore_context):
- save/restore SEH chain on MS-Windows at thread switch.
- [ruby-win32:273]
-
- * eval.c (win32_get_exception_list, win32_set_exception_list):
- added.
-
-Sat Aug 17 23:01:25 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * array.c (sort_2): *a - *b may overflow.
-
-Sat Aug 17 00:25:08 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * array.c (ary_new): len*sizeof(VALUE) may be a positive value.
-
- * array.c (rb_ary_initialize): ditto.
-
-Fri Aug 16 15:58:16 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * io.c (NOFILE): define NOFILE as 64 if not defined.
-
- * signal.c (sighandler_t): rename to sh_t on dietlibc.
-
-Fri Aug 16 15:37:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * bignum.c (rb_cstr_to_inum): new decimal and octal string.
-
-Fri Aug 16 13:17:11 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * object.c (rb_class_allocate_instance): move singleton class
- check from rb_obj_alloc().
-
-Fri Aug 16 11:47:24 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * io.c (rb_io_fread): renamed from io_fread and made extern.
-
- * marshal.c (r_bytes0): check if successfully read, use
- rb_io_fread() instead of fread() to be preemptive.
- (ruby-bugs-ja:PR#294, 295)
-
- * rubyio.h (rb_io_fread): added.
-
-Fri Aug 16 07:57:26 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (compile_error): must not clear ruby_sourcefile here.
- (ruby-bugs:PR#364).
-
- * eval.c (rb_longjmp): set ruby_sourcefile before making
- backtrace.
-
-Thu Aug 15 20:38:58 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (ruby_current_node) : added to set sourceline on demand.
-
- * eval.c (error_pos, error_print, rb_longjmp, assign): set source
- file/line.
-
- * eval.c (rb_eval): store current node instead of file/line, and
- preserve it at return.
-
- * eval.c (module_setup): ditto.
-
- * eval.c (struct thread): store node instead of file/line.
-
- * eval.c (rb_thread_raise): ditto.
-
- * intern.h (ruby_current_node): added.
-
- * intern.h (ruby_set_current_source): added.
+Thu Feb 20 10:19:40 2014 Tanaka Akira <akr@fsij.org>
- * parse.y (stmt, arg): not fix position of assignment.
+ * ext/socket/option.c: IP_MULTICAST_LOOP and IP_MULTICAST_TTL socket
+ option takes a byte on OpenBSD.
+ Fixed by Jeremy Evans. [ruby-core:59496] [Bug #9350]
- * parse.y (node_assign): ditto.
+Wed Feb 19 15:25:13 2014 Koichi Sasada <ko1@atdot.net>
- * parse.y (yycompile): clear current node.
+ * gc.c (ruby_gc_set_params): don't show obsolete warnings for
+ RUBY_FREE_MIN/RUBY_HEAP_MIN_SLOTS if
+ RUBY_GC_HEAP_FREE_SLOTS/RUBY_GC_HEAP_INIT_SLOTS are given.
+ [Bug #9276]
-Thu Aug 15 00:48:46 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Feb 19 14:25:55 2014 Koichi Sasada <ko1@atdot.net>
- * re.c (rb_reg_initialize): should not modify frozen Regexp.
+ * test/ruby/test_gc.rb: ignore warning messages for running with -w
+ option such as chkbuild.
-Tue Aug 13 18:33:18 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Feb 19 14:25:55 2014 Koichi Sasada <ko1@atdot.net>
- * ext/tcltklib/tcltklib.c (ip_init): allocation framework.
+ * gc.c (get_envparam_double): fix a warning message.
-Tue Aug 13 15:32:14 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Feb 19 14:25:55 2014 Koichi Sasada <ko1@atdot.net>
- * hash.c (rb_hash_replace): should copy ifnone.
+ * gc.c: introduce new environment variable
+ "RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR" to control major/minor GC
+ frequency.
- * hash.c (rb_hash_dup): should preserve HASH_PROC_DEFAULT and
- HASH_DELETED flags.
+ Do full GC when the number of old objects is more than R * N
+ where R is this factor and
+ N is the number of old objects just after last full GC.
- * hash.c (rb_hash_shift): shift from empty hash should not return
- its default proc.
+ * test/ruby/test_gc.rb: add a test.
- * hash.c (rb_hash_default_proc): new method. [new]
+Wed Feb 19 07:51:02 2014 Eric Hodel <drbrain@segment7.net>
-Tue Aug 13 00:37:11 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/rinda/ring.rb (Rinda::RingFinger#make_socket): Use
+ ipv4_multicast_loop option for portability. Patch by Jeremy Evans.
+ [ruby-trunk - Bug #9351]
- * array.c (rb_ary_aref): no need for Bignum check.
+Mon Feb 17 05:43:20 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_aset): explicit Bignum check removd.
+ * configure.in: reset LDFLAGS and DLDFLAGS for opt-dir again after
+ LIBPATHFLAG and RPATHFLAG are set. [ruby-dev:47868] [Bug #9317]
- * numeric.c (fix_aref): normalize bignum before bit-op.
+Sun Feb 16 07:13:36 2014 Tanaka Akira <akr@fsij.org>
- * bignum.c (rb_big_rand): max may be Bignum zero.
+ * configure.in: Fix compilation error.
+ https://bugs.ruby-lang.org/issues/8358#note-16
- * bignum.c (rb_cstr_to_inum): should normalize bignums, to avoid
- returning fixable bignum value.
+Sun Feb 16 07:13:36 2014 Vit Ondruch <vondruch@redhat.com>
- * bignum.c (rb_uint2big): there should be no zero sized bignum.
+ * 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]
-Mon Aug 12 23:45:28 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Feb 16 07:13:36 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/extmk.rb.in: extmake() that works properly for both tkutil
- (tk/tkutil.so) and digest/sha1.
+ * configure.in: -mstackrealign is necessary for -msse2 working.
+ [ruby-core:54716] [Bug #8349]
-Mon Aug 12 22:29:35 2002 Akinori MUSHA <knu@iDaemons.org>
+Sun Feb 16 07:13:36 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ruby.c (set_arg0): Correct the position of #endif.
+ * configure.in: -mstackrealign is necessary for -msse2 working.
+ [ruby-core:54716] [Bug #8349]
-Mon Aug 12 17:25:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * configure.in: use SSE2 instructions to drop unexpected precisions on
+ other than mingw. [ruby-core:59472] [Bug #8358]
- * hash.c (rb_hash_equal): should check HASH_PROC_DEFAULT too.
+Sun Feb 16 07:13:36 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Aug 12 16:15:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * configure.in: use SSE2 instructions for drop unexpected
+ precisions. [ruby-core:54738] [Bug #8358]
- * bignum.c (rb_big_cmp): raise for NaN. (ruby-bugs-ja:PR#284).
+Fri Feb 7 04:19:19 2014 Koichi Sasada <ko1@atdot.net>
-Sun Aug 11 09:34:07 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * gc.c (get_envparam_int): correct warning messsages.
- * eval.c (rb_eval): set line number from all nodes.
+ * gc.c (get_envparam_double): ditto.
- * eval.c (proc_to_s): show source file/line if available.
+Fri Feb 7 04:19:19 2014 Koichi Sasada <ko1@atdot.net>
- * marshal.c (r_object): register TYPE_BIGNUM regardless real type.
+ * gc.c (get_envparam_int): don't accept a value equals to lowerbound
+ (changed by last commit) because "" or "foo" (not a number) strings
+ are parsed as 0. They should be rejected.
-Sat Aug 10 23:47:16 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (get_envparam_double): ditto.
- * bignum.c (rb_big_cmp): use dbl2big() for Floats, instead of
- big2dbl().
+Thu Feb 6 08:23:28 2014 Eric Wong <e@80x24.org>
- * bignum.c (Init_Bignum): rb_big_zero_p() removed. There may be
- Bignum zero.
+ * ext/thread/thread.c (rb_szqueue_max_set): use correct queue and
+ limit wakeups. [Bug #9343][ruby-core:60517]
+ * test/thread/test_queue.rb (test_sized_queue_assign_max):
+ test for bug
-Fri Aug 9 13:31:40 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Thu Feb 6 11:27:39 2014 Eric Hodel <drbrain@segment7.net>
- * ext/Win32API/extconf.rb: check existence of <windows.h>.
+ * lib/rubygems: RubyGems 2.2.2 which contains the following bug fixes:
+ http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.2.2+%2F+2014-02-05
+ https://bugs.ruby-lang.org/issues/9489
-Thu Aug 8 09:37:02 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Thu Feb 6 11:23:59 2014 Koichi Sasada <ko1@atdot.net>
- * lib/optparse.rb (NilClass): must provide conversion block.
+ * gc.c (ruby_gc_set_params): if RUBY_GC_OLDMALLOC_LIMIT is provided,
+ then set objspace->rgengc.oldmalloc_increase_limit.
+ Without this fix, the env variable RUBY_GC_OLDMALLOC_LIMIT
+ does not work.
- * lib/optparse.rb (String): ditto.
+ * gc.c (get_envparam_int): accept a value equals to lowerbound.
-Thu Aug 8 00:45:15 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (get_envparam_double): ditto.
- * eval.c (rb_call0): new argument added for original method name.
- preserve original method name in frame->orig_func.
+Wed Feb 5 23:57:05 2014 Charlie Somerville <charliesome@ruby-lang.org>
- * eval.c (is_defined): use frame->orig_func, not last_func.
+ * ext/thread/thread.c (rb_szqueue_push): check GET_SZQUEUE_WAITERS
+ instead of GET_QUEUE_WAITERS to prevent deadlock. Patch by Eric Wong.
+ [Bug #9302] [ruby-core:59324]
- * eval.c (rb_eval): ditto.
+ * test/thread/test_queue.rb: add test
- * eval.c (method_call): supply data->oid also to rb_call0().
+Wed Feb 5 23:43:30 2014 NAKAMURA Usaku <usa@ruby-lang.org>
- * object.c (rb_class_allocate_instance): call rb_obj_alloc() when
- called from alias, thus invoke original "allocate".
+ * hash.c (rb_objid_hash): should return `long'. brushup r44534.
- * eval.c (remove_method): removing allocate from classes should
- cause NameError.
+ * object.c (rb_obj_hash): follow above change.
-Wed Aug 7 22:12:54 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Wed Feb 5 23:43:30 2014 NAKAMURA Usaku <usa@ruby-lang.org>
- * lib/optparse.rb (OptionParser::Completion::convert): returned
- all values not first one.
+ * hash.c (rb_any_hash): should treat the return value of rb_objid_hash()
+ as `long', because ruby assumes the hash value of the object id of
+ an object is `long'.
+ this fixes test failures on mswin64 introduced at r44525.
- * lib/optparse.rb (OptionParser::Switch::parse): return values as
- is.
+Wed Feb 5 23:43:30 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/optparse.rb (OptionParser::order): ditto.
+ * hash.c (rb_objid_hash): return hash value from object ID with a
+ salt, extract from rb_any_hash().
- * lib/optparse/time.rb: prior time.rb.
+ * object.c (rb_obj_hash): return same value as rb_any_hash().
+ fix r44125. [ruby-core:59638] [Bug #9381]
- * lib/optparse/uri.rb: require standard uri module. thanks to
- Minero Aoki.
+Wed Feb 5 22:28:41 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Aug 7 09:51:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_insnhelper.c (vm_search_super_method): allow bound method from a
+ module, yet another method transplanting.
- * hash.c (rb_hash_equal): should check default values.
+Wed Feb 5 22:28:41 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Aug 7 08:44:32 2002 Minero Aoki <aamine@loveruby.net>
+ * 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]
- * ext/racc/cparse/cparse.c: reduce goto.
+Wed Feb 5 21:57:40 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Aug 6 15:19:39 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+ * ext/socket/socket.c (rsock_syserr_fail_host_port): add errno
+ argument version anduse rb_syserr_fail_str() instead of
+ rb_sys_fail_str() with restoring errno.
- * string.c (rb_str_rindex): must return -1 if unmatched.
+ * ext/socket/socket.c (rsock_syserr_fail_path): ditto, and
+ rb_syserr_fail().
-Mon Aug 5 22:41:18 2002 Minero Aoki <aamine@loveruby.net>
+ * ext/socket/socket.c (rsock_sys_fail_sockaddr): ditto, use
+ rsock_syserr_fail_raddrinfo().
- * MANIFEST: add lib/racc/parser.rb.
+ * ext/socket/socket.c (rsock_sys_fail_raddrinfo): ditto.
- * ext/racc/cparse/cparse.c: code refine.
+ * ext/socket/socket.c (setup_domain_and_type): ditto.
- * ext/racc/cparse/MANIFEST: add depend.
+Wed Feb 5 21:57:40 2014 Eric Wong <normalperson@yhbt.net>
-Sun Aug 4 22:30:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * ext/socket/socket.c (rsock_sys_fail_host_port): save and restore errno
+ before calling rb_sys_fail_str to prevent [BUG] errno == 0.
+ Patch by Eric Wong. [ruby-core:59498] [Bug #9352]
- * ext/curses/curses.c: follow allocation framework.
+ * ext/socket/socket.c (rsock_sys_fail_path): ditto
+ * ext/socket/socket.c (rsock_sys_fail_sockaddr): ditto
+ * ext/socket/socket.c (rsock_sys_fail_raddrinfo): ditto
+ * ext/socket/socket.c (rsock_sys_fail_raddrinfo_or_sockaddr): ditto
-Sat Aug 3 21:23:56 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Wed Feb 5 21:12:02 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_eval): set constant in cbase scope.
+ * lib/timeout.rb (Timeout::ExitException.catch): pass arguments
+ for new instance.
- * eval.c (assign): ditto.
+ * lib/timeout.rb (Timeout::ExitException#exception): fallback to
+ Timeout::Error if couldn't throw. [ruby-dev:47872] [Bug #9380]
-Fri Aug 2 09:12:32 2002 Minero Aoki <aamine@loveruby.net>
+ * lib/timeout.rb (Timeout#timeout): initialize ExitException with
+ message for the fallback case.
- * ext/strscan/strscan.c: follow allocation framework.
+Wed Feb 5 21:12:02 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Aug 2 01:21:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/timeout.rb (Timeout#timeout): should not rescue ordinarily
+ raised ExitException, which should not be thrown.
- * ext/socket/socket.c (s_recvfrom): update RSTRING len.
+ * lib/timeout.rb (Timeout::ExitException.catch): set @thread only if
+ it ought to be caught.
-Thu Aug 1 17:47:15 2002 Tachino Nobuhiro <tachino@jp.fujitsu.com>
+ * lib/timeout.rb (Timeout#timeout): when a custom exception is given,
+ no instance is needed to be caught, so defer creating new instance
+ until it is raised. [ruby-core:59511] [Bug #9354]
- * parse.y (tokadd_string): ignore backslashed spaces in %w.
+Wed Feb 5 17:55:28 2014 Aman Gupta <ruby@tmm1.net>
-Thu Aug 1 14:14:15 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (ary_add_hash): Fix consistency issue between Array#uniq and
+ Array#uniq! [Bug #9340] [ruby-core:59457]
+ * test/ruby/test_array.rb (class TestArray): regression test for above.
- * enum.c (enum_find): do not use rb_eval_cmd(); should not accept
- a string for if_none.
+Wed Feb 5 11:48:42 2014 Charlie Somerville <charliesome@ruby-lang.org>
-Wed Jul 31 14:11:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * struct.c (rb_struct_set): return assigned value from setter method
+ rather than struct object. [Bug #9353] [ruby-core:59509]
- * eval.c (rb_undef): undef should be done for klass, not ruby_class.
+ * test/ruby/test_struct.rb (test_setter_method_returns_value): add test
-Tue Jul 30 19:48:51 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Wed Feb 5 11:13:21 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * misc/ruby-mode.el (ruby-accurate-end-of-block): restrict search
- region.
+ * string.c (rb_str_modify_expand): enable capacity and disable
+ assocation with packed objects when setting capa, so that
+ pack("p") string fails to unpack properly after modified.
- * misc/ruby-mode.el (ruby-parse-partial): reversed wrong patch.
+Sun Feb 2 22:39:28 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Jul 30 17:21:13 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * lib/delegate.rb (Delegator): keep source information methods
+ which start and end with '__'. [ruby-core:59718] [Bug #9403]
- * misc/ruby-mode.el (ruby-accurate-end-of-block): incomplete block
- caused infinite loop.
+Fri Jan 31 12:10:16 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * misc/ruby-mode.el (ruby-parse-partial): returns nil unless
- delimiters found.
+ * proc.c (mnew_from_me): keep iclass as-is, to make inheritance
+ chain consistent. [ruby-core:59358] [Bug #9315]
-Tue Jul 30 15:24:07 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * proc.c (method_owner): return the original defined_class from
+ prepended iclass, instead.
- * ext/tcltklib/stubs.c (ruby_tcltk_stubs): win32_getenv returns
- the same address always, so allocate string by ruby_strdup.
+Fri Jan 31 12:05:59 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/win32.c: prototype; rb_w32_open_osfhandle().
+ * configure.in: let mingw do something black-magic, and check if
+ _gmtime64_s() is available actually.
-Tue Jul 30 09:11:07 2002 Minero Aoki <aamine@loveruby.net>
+ * win32/win32.c (gmtime_s, localtime_s): use _gmtime64_s() and
+ _localtime64_s() if available, not depending on very confusing
+ mingw variants macros. based on the patch by phasis68 (Heesob
+ Park) at [ruby-core:58764]. [ruby-core:58391] [Bug #9119]
- * eval.c (rb_thread_join_m): add parameter type declaration.
+Thu Jan 30 15:02:35 2014 Shugo Maeda <shugo@ruby-lang.org>
-Tue Jul 30 08:37:11 2002 Minero Aoki <aamine@loveruby.net>
+ * configure.in: use $@ instead of $(.TARGET) because .TARGET is not
+ supported by GNU make.
- * eval.c (localjump_error): add parameter type declaration.
+Mon Jan 27 16:49:52 2014 Kenta Murata <mrkn@mrkn.jp>
-Mon Jul 29 16:00:54 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_divide): Add an additional
+ digit for the quotient to be compatible with bigdecimal 1.2.1 and
+ the former. [ruby-core:59365] [#9316] [#9305]
- * ext/extmk.rb.in: always use File.expand_path for $top_srcdir.
+ * test/bigdecimal/test_bigdecimal.rb: tests for the above change.
-Sat Jul 27 23:07:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/bigdecimal/bigdecimal.gemspec: bigdecimal version 1.2.4.
- * numeric.c (num_to_int): default to_int implementaion for every
- numeric class.
+Mon Jan 27 16:45:34 2014 Yamashita Yuu <yamashita@geishatokyo.com>
-Sat Jul 27 08:09:03 2002 Booker C. Bense <bbense@slac.stanford.edu>
+ * 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]
- * re.c (rb_reg_quote): initial part of the string was never copied
- to the quoted string.
+Thu Jan 23 10:37:24 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jul 26 23:03:53 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * hash.c (HAS_EXTRA_STATES): warn extra states only when something
+ differ. [ruby-core:59254] [Bug #9275]
- * eval.c (rb_eval): no need to convert to string twice.
+Thu Jan 9 14:05:24 2014 NAKAMURA Usaku <usa@ruby-lang.org>
-Fri Jul 26 18:32:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * win32/{setup.mak,Makefile.sub}: update fake.rb like
+ template/fake.rb.in.
- * misc/ruby-mode.el (ruby-expr-beg): wrong indent at modifiers
- after ?.
+Thu Jan 9 14:05:24 2014 NAKAMURA Usaku <usa@ruby-lang.org>
-Fri Jul 26 16:01:16 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * win32/Makefile.sub (fake.rb): should depend on version.h because
+ if RUBY_VERSION is updated, fake.rb need to say the new version
+ to avoid install error in rbconfig.rb.
- * ext/extmk.rb.in (create_makefile): use Regexp in gsub.
+Thu Jan 9 08:21:00 2014 Aman Gupta <ruby@tmm1.net>
- * sample/mkproto.rb: ditto and fix bug.
+ * test/net/imap/cacert.pem: generate new CA cert, since the last one
+ expired. [Bug #9341] [ruby-core:59459]
+ * test/net/imap/server.crt: new server cert signed with updated CA.
+ * test/net/imap/Makefile: add `make regen_certs` to automate this
+ process.
-Fri Jul 26 14:31:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Dec 26 03:28:11 2013 Koichi Sasada <ko1@atdot.net>
- * random.c: replace with Mersenne Twister RNG.
+ * vm_insnhelper.c (argument_error): insert dummy frame to make
+ a backtrace object intead of modify backtrace string array.
+ [Bug #9295]
-Fri Jul 26 12:14:48 2002 Minero Aoki <aamine@loveruby.net>
+ * test/ruby/test_backtrace.rb: add a test for this patch.
+ fix test to compare a result of Exception#backtrace with
+ a result of Exception#backtrace_locations.
- * parse.y (yylex): modify to accept a code like "m (a){...}".
+Wed Dec 25 16:58:31 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Jul 25 09:05:02 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * proc.c (rb_mod_define_method): consider visibility only if self
+ in the caller is same as the receiver, otherwise make public as
+ well as old behavior. [ruby-core:57747] [Bug #9005]
+ [ruby-core:58497] [Bug #9141]
- * misc/ruby-mode.el (ruby-delimiter): include here document.
+ * vm.c (rb_vm_cref_in_context): return ruby level cref if self is
+ same.
- * misc/ruby-mode.el (ruby-deep-arglist): skips spaces after
- parenthesis when 'space.
+Wed Dec 25 16:35:34 2013 Yusuke Endoh <mame@tsg.ne.jp>
- * misc/ruby-mode.el (ruby-imenu-create-index): fix for nested
- classes.
+ * sample/trick2013/: added the award-winning entries of TRICK 2013.
+ See https://github.com/tric/trick2013 for the contest outline.
+ (Matz has approved the attachment.)
- * misc/ruby-mode.el (ruby-accurate-end-of-block): added. scan a
- block in the order.
+Tue Dec 24 23:47:50 2013 Koichi Sasada <ko1@atdot.net>
- * misc/ruby-mode.el (ruby-expr-beg): support for here document.
+ * README.EXT: add a refer to URL.
- * misc/ruby-mode.el (ruby-parse-partial): splitted from
- ruby-parse-region.
+Tue Dec 24 23:47:50 2013 Koichi Sasada <ko1@atdot.net>
- * misc/ruby-mode.el (ruby-move-to-block): skips RD style comments.
+ * README.EXT: add a document about RGenGC.
+ Reviewed by havenwood.
+ [misc #8962]
-Wed Jul 24 09:47:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (jump_tag_but_local_jump): preserve retval in
- LocalJumpError exceptions.
-
- * parse.y (command): no more check for "super outside of method".
-
- * eval.c (rb_mod_define_method): should set last_class and
- last_func in the block->frame.
-
-Mon Jul 22 17:23:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (error_handle): should handle TAG_THROW as well.
-
-Fri Jul 19 10:52:32 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * README.EXT.ja: ditto.
- * parse.y (yylex): new decimal notation '0d4567'.
+Mon Dec 23 19:00:00 2013 Eric Hodel <drbrain@segment7.net>
-Thu Jul 18 11:52:02 2002 Shugo Maeda <shugo@ruby-lang.org>
+ * test/rubygems/test_gem_ext_builder.rb: Fix warning due to ambiguous
+ expression.
- * lib/net/ftp.rb (set_socket): new method.
+Mon Dec 23 16:13:10 2013 Eric Hodel <drbrain@segment7.net>
-Thu Jul 18 06:51:24 2002 Minero Aoki <aamine@loveruby.net>
+ * lib/rubygems/commands/install_command.rb: Restore gem install
+ --ignore-dependencies for remote gems
+ * test/rubygems/test_gem_commands_install_command.rb: Test for the
+ above.
- * parse.y (yylex): fix typo.
+Mon Dec 23 16:12:24 2013 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
-Wed Jul 17 18:41:28 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c: Have to_h raise on elements that are not key-value pairs
+ [#9239]
- * parse.y (yylex): new octal notation '0o777'.
+ * enum.c: ditto
-Mon Jul 15 18:36:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Dec 22 19:22:52 2013 Eric Hodel <drbrain@segment7.net>
- * parse.y (string_content): every string_content node should
- return string only. use NODE_EVSTR to coercing.
+ * lib/rdoc.rb: Set RDoc to release version.
- * eval.c (rb_eval): NODE_EVSTR support.
+Sun Dec 22 19:22:31 2013 Eric Hodel <drbrain@segment7.net>
-Mon Jul 15 10:35:35 2002 Minero Aoki <aamine@loveruby.net>
+ * lib/rubygems.rb: Set RubyGems to release version.
- * parse.y (heredoc_identifier): fix typo.
+Sun Dec 22 19:22:01 2013 Eric Hodel <drbrain@segment7.net>
-Sat Jul 13 09:30:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * lib/rubygems.rb (module Gem): Fix comment for
+ Gem::load_path_insert_index.
- * parse.y (literal_concat_string): wrong optimization.
+Sun Dec 22 18:08:42 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Sat Jul 13 01:25:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * win32/Makefile.sub (fake.rb): fixed wrong RUBY_PLATFORM, to correctly
+ install win32.h.
+ [ruby-core:58801][Bug #9199] reported by arton.
- * lib/resolv.rb (Resolv::DNS::open, close): new.
+Fri Dec 20 17:52:50 2013 Koichi Sasada <ko1@atdot.net>
- * lib/optparse.rb, lib/optparse: import.
+ * vm_method.c: check definition of
+ GLOBAL_METHOD_CACHE_SIZE and GLOBAL_METHOD_CACHE_MASK.
-Fri Jul 12 06:34:05 2002 Minero Aoki <aamine@loveruby.net>
+Fri Dec 20 17:03:10 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/http.rb: rename HTTP.get_uri get_response.
+ * include/ruby/ruby.h: rename OBJ_WRITE and OBJ_WRITTEN into
+ RB_OBJ_WRITE and RB_OBJ_WRITTEN.
- * lib/net/http.rb: HTTP.get_print accepts URI objects.
+ * array.c, class.c, compile.c, hash.c, internal.h, iseq.c,
+ proc.c, process.c, re.c, string.c, variable.c, vm.c,
+ vm_eval.c, vm_insnhelper.c, vm_insnhelper.h,
+ vm_method.c: catch up this change.
- * lib/net/http.rb: HTTP.get had not work with URI objects.
+Fri Dec 20 16:01:35 2013 Koichi Sasada <ko1@atdot.net>
-Fri Jul 12 02:15:58 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * include/ruby/ruby.h: add a comment for WB interfaces.
- * string.c (rb_str_match): fix for string match.
+Fri Dec 20 16:00:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jul 12 00:02:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * configure.in: DLDFLAGS is defined in --with-opt-dir handler, so
+ ${DLDFLAGS=} does not work now. use RUBY_APPEND_OPTIONS instead.
+ [ruby-dev:47855] [Bug #9256]
- * ext/stringio/stringio.c (strio_gets_internal): fixed for record
- separator longer than 1.
+Fri Dec 20 14:19:12 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Thu Jul 11 17:59:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * configure.in (AC_ARG_WITH): use withval directly.
+ fix failure on FreeBSD.
+ http://fb32.rubyci.org/~chkbuild/ruby-trunk/log/20131217T070301Z.diff.html.gz
- * re.c (rb_reg_quote): avoid unnecessary string allocation.
+Fri Dec 20 14:00:01 2013 Aman Gupta <ruby@tmm1.net>
- * string.c (get_pat): quote metachracters before compiling a
- string into a regex.
+ * include/ruby/ruby.h (struct RClass): add super, remove iv_index_tbl.
+ since RCLASS_SUPER() is commonly used inside while loops, we move it
+ back inside struct RClass to improve cache hits. this provides a
+ small improvement (1%) in hotspots like rb_obj_is_kind_of()
+ * internal.h (struct rb_classext_struct): remove super, add
+ iv_index_table
+ * internal.h (RCLASS_SUPER): update for new location
+ * internal.h (RCLASS_SET_SUPER): ditto
+ * internal.h (RCLASS_IV_INDEX_TBL): ditto
+ * object.c (rb_class_get_superclass): ditto
+ * include/ruby/backward/classext.h (RCLASS_SUPER): ditto
- * string.c (rb_str_split_m): special treatment of strings of size
- 1, but AWK emulation. now uses get_pat().
+Fri Dec 20 07:07:35 2013 Eric Hodel <drbrain@segment7.net>
- * string.c (rb_str_match_m): quote metacharacters.
+ * lib/rubygems: Update to RubyGems master 03d6ae7. Changes include:
- * string.c (rb_str_match2): ditto.
+ * Fixed typos.
-Thu Jul 11 12:59:23 2002 Shugo Maeda <shugo@ruby-lang.org>
+ * Relaxed Gem.ruby test for ruby packagers that do not use `ruby`.
- * lib/resolv.rb: untaint strings read from /etc/hosts and
- /etc/resolv.conf to prevent SecurityError when $SAFE==1.
+ * test/rubygems: ditto.
-Thu Jul 11 09:00:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Dec 19 14:03:04 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (rb_str_slice_bang): if there's no corresponding
- substring, slice! should return nil without exception.
+ * gc.c (heap_get_freeobj): improve hot path performance.
-Tue Jul 9 20:03:55 2002 Keiju Ishitsuka <keiju@ishitsuka.com>
+ * gc.c (heap_get_freeobj_from_next_freepage): replace with
+ heap_get_freepage(). It returns freeobj instead of freepage.
+ This is not on hot path.
- * irb 0.9
-
-Sat Jul 6 07:35:02 2002 Jamie Herre <jfh@gettysgroup.com>
+Thu Dec 19 12:05:17 2013 Eric Hodel <drbrain@segment7.net>
- * array.c (rb_ary_insert): type fixed.
+ * lib/rubygems: Update to RubyGems master af60443. Changes include:
-Fri Jul 5 09:17:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * Improved speed of `gem install --ignore-dependencies`.
- * string.c (rb_str_split_m): accept separator value nil as well.
+ * Open read-write for exclusive flock. [ruby-trunk - Bug #9257]
-Fri Jul 5 08:59:15 2002 Michal Rokos <michal@ruby-lang.org>
+ * Remove specification before install to prevent infinite loop.
- * enum.c: Fix bug in enum_sort_by and some code indents
+Thu Dec 19 11:23:49 2013 Aman Gupta <ruby@tmm1.net>
-Fri Jul 5 05:00:40 2002 Wakou Aoyama <wakou@ruby-lang.org>
+ * vm_insnhelper.c (vm_call_iseq_setup_normal): simple for loop
+ condition optimization. this area shows up as a hotspot in VM
+ profiles.
- * lib/cgi.rb (CGI#initialize): improvement for mod_ruby.
- thanks to Sean Chittenden <sean@ruby-lang.org>, Shugo Maeda
- <shugo@modruby.net>
+Thu Dec 19 10:50:13 2013 Koichi Sasada <ko1@atdot.net>
-Fri Jul 5 00:10:09 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (newobj_of): don't need to RBASIC_SET_CLASS() which includes WB
+ here because created obj is always YOUNG/INFANT.
- * string.c (rb_str_become): was leaking memory.
+Thu Dec 19 10:48:37 2013 Koichi Sasada <ko1@atdot.net>
-Thu Jul 4 23:43:26 2002 Minero Aoki <aamine@loveruby.net>
+ * benchmark/gc/gcbench.rb: check GC::OPTS availability
+ for not MRI 2.1.0.
- * parse.y: remove useless function str_extend_p().
+Thu Dec 19 03:10:30 2013 Aman Gupta <ruby@tmm1.net>
-Wed Jul 3 14:26:40 2002 Sean Chittenden <sean@ruby-lang.org>
+ * gc.c (heap_get_freeobj): remove redundant assignment. heap->freelist
+ is set after the while() loop already.
- * lib/net/ftp.rb (get): new method.
+Thu Dec 19 01:54:30 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/ftp.rb (putt): ditto.
+ * test/runner.rb: fix commit miss on r44278.
- * lib/net/ftp.rb (binary): ditto.
+Thu Dec 19 00:26:11 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/ftp.rb (binary=): ditto.
+ * gc.c (garbage_collect_body): lazy_sweep setting should work
+ without USE_RGENGC.
-Wed Jul 3 13:57:53 2002 Sean Chittenden <sean@ruby-lang.org>
+Wed Dec 18 23:31:04 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/ftp.rb (getbinaryfile): the second argument (localfile)
- is now optional.
+ * gc.c (gc_profile_dump_major_reason): fix this function because major_reason
+ can be OR of multiple reasons.
- * lib/net/ftp.rb (gettextfile): ditto.
+ * gc.c (gc_profile_dump_on): ditto.
-Wed Jul 3 13:45:42 2002 Shugo Maeda <shugo@ruby-lang.org>
+Wed Dec 18 17:03:00 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/ftp.rb: use &block and yield for speed.
+ * gc.c (gc_profile_record_get): should return an empty array
+ when profiling is active.
-Wed Jul 3 02:32:31 2002 Wakou Aoyama <wakou@ruby-lang.org>
+Wed Dec 18 16:49:40 2013 Koichi Sasada <ko1@atdot.net>
- * lib/cgi.rb (CGI#initialize): improvement for mod_ruby.
+ * gc.c (gc_profile_clear, gc_profile_enable): remove rest_sweep().
-Tue Jul 2 14:53:10 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: check objspace->profile.current_record before inserting
+ profiling record by new macro gc_prof_enabled().
- * class.c (rb_include_module): should not alter other
- classes/modules by inclusion. by this fix, local order may not
- be preserved for some cases.
+Wed Dec 18 14:32:06 2013 Koichi Sasada <ko1@atdot.net>
- * class.c (include_class_new): module may be T_ICLASS; retrieve
- original module information.
+ * vm_exec.h (VM_DEBUG_STACKOVERFLOW): added.
+ disable stack overflow check for every stack pushing as default.
-Tue Jul 2 14:13:11 2002 Wakou Aoyama <wakou@ruby-lang.org>
+ * vm_exec.c (vm_stack_overflow_for_insn): ditto.
- * lib/cgi.rb (CGI#header): accept any type as value.
+Wed Dec 18 10:00:22 2013 Eric Hodel <drbrain@segment7.net>
-Sun Jun 30 17:05:29 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * lib/rubygems: Update to RubyGems master d8f12e2. This increases the
+ speed of `gem install --ignore-dependencies` which helps bundler
+ tests.
+ * test/rubygems: ditto.
- * configure.in (seekdir, telldir): add ac_cv_func_telldir=yes,
- ac_cv_func_seekdir=yes for MinGW.
+Wed Dec 18 09:00:17 2013 Koichi Sasada <ko1@atdot.net>
-Sat Jun 29 01:43:32 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+ * test/ruby/test_gc.rb (test_expand_heap): allow +/-1 diff.
- * io.c (pipe_finalize, pipe_popen): two-way pipe support for win32.
+Tue Dec 17 23:44:15 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * win32/win32.c (ChildRecord, FindFreeChildSlot): ditto.
+ * test/ruby/test_io.rb: fix duplicated test name.
- * win32/win32.c, win32/win32.h (pipe_exec): new function for two-way
- pipe support for win32.
+Tue Dec 17 20:15:00 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/win32.c, win32/win32.h (FindPipedChildSlot, rb_w32_popen,
- rb_w32_pclose): removed functions for two-way pipe support for win32.
+ * hash.c (rb_hash_reject): revert to deprecated behavior, with
+ warnings, due to compatibility for HashWithDifferentAccess.
+ [ruby-core:59154] [Bug #9223]
-Fri Jun 28 23:49:34 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+Tue Dec 17 17:30:56 2013 Akinori MUSHA <knu@iDaemons.org>
- * pack.c (pack_unpack): change names of local variables because their
- names are overlapped.
+ * misc/ruby-electric.el: Import version 2.1.1 from
+ https://github.com/knu/ruby-electric.el.
-Fri Jun 28 17:54:07 2002 Tanaka Akira <akr@m17n.org>
+ * ruby-electric-delete-backward-char: Enable support for number
+ prefix.
- * lib/pp.rb: fix object address.
+ * ruby-electric-curlies: Fix electric operation after an open
+ curly.
-Thu Jun 27 23:55:50 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+Tue Dec 17 16:19:09 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/win32.c (rb_w32_stat): fix buffer overflow. (ruby-bugs:PR#329)
+ * vm_trace.c (rb_postponed_job_flush): isolate exceptions in
+ postponed jobs and restore outer ones. based on a patch by
+ tarui. [ruby-core:58652] [Bug #9168]
-Thu Jun 27 20:57:45 2002 Tanaka Akira <akr@m17n.org>
+Tue Dec 17 10:48:04 2013 Aman Gupta <ruby@tmm1.net>
- * lib/prettyprint.rb, lib/pp.rb: convenience methods added.
+ * configure.in (RUBY_DTRACE_POSTPROCESS): Fix compatibility with
+ systemtap on linux. stap requires `dtrace -G` post-processing, but
+ the dtrace compatibility wrapper is very strict about probes.d
+ syntax.
-Thu Jun 27 15:22:18 2002 Tanaka Akira <akr@m17n.org>
+Tue Dec 17 05:18:17 2013 Eric Hodel <drbrain@segment7.net>
- * lib/prettyprint.rb: re-implemented for incremental output to handle
- huge data. API is changed a bit.
+ * lib/rubygems: Update to RubyGems master 1c5f4b3. Allows rubygems
+ repackagers to disable backward-compatible shared gem directory
+ behavior.
+ * test/rubygems: ditto.
- * lib/pp.rb: adapt new pretty printing API.
+Tue Dec 17 05:14:35 2013 Eric Hodel <drbrain@segment7.net>
-Thu Jun 27 08:28:18 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * NEWS (RDoc): Update version number so I don't have to change it
+ for the final release.
- * parse.y (literal_concat_string): non-string last expression in
- #{} was ignored when followed by literal.
+Mon Dec 16 19:19:19 2013 Koichi Sasada <ko1@atdot.net>
-Thu Jun 27 03:42:04 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (rb_objspace_markable_object_p): should check special_const_p
+ first (by is_markable_object()).
- * re.c (rb_reg_expr_str): need to process backslashes properly.
+Mon Dec 16 19:12:54 2013 Koichi Sasada <ko1@atdot.net>
-Wed Jun 26 17:33:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/objspace/objspace.c (reachable_object_from_root_i): use
+ compare_by_identity hash to avoid hash modify problem
+ during iteration.
+ [Bug #9252]
- * object.c (rb_any_to_a): declare Object#to_a to be obsolete.
+ * ext/objspace/objspace.c (reachable_objects_from_root): ditto.
- * object.c (rb_Array): do not convert nil into [] automagically.
+Mon Dec 16 18:16:28 2013 Koichi Sasada <ko1@atdot.net>
-Wed Jun 26 15:40:00 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * gc.c (gc_verify_internal_consistency): should not use
+ rb_objspace_each_objects() because it call rest_sweep().
- * parse.y (words, qwords): word list literal rules.
+Mon Dec 16 18:07:30 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (parse_string): ditto.
+ * gc.c (rb_objspace_markable_object_p): fix last commit (build error).
- * parse.y (yylex): %W: word list literal with interpolation. [new]
+Mon Dec 16 18:04:28 2013 Koichi Sasada <ko1@atdot.net>
-Tue Jun 25 18:53:34 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * gc.c (rb_objspace_markable_object_p): it should be live objects.
- * parse.y (string1, xstring, regexp): moved lex_strnest
- initialization to string_contents/xstring_contents.
+Mon Dec 16 18:00:51 2013 Koichi Sasada <ko1@atdot.net>
-Tue Jun 25 19:24:38 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
+ * gc.c (rb_objspace_each_objects): should not clear dont_lazy_sweep
+ flag in nested case.
- * dln.c: remove definition rb_loaderror().
+Mon Dec 16 16:40:35 2013 Koichi Sasada <ko1@atdot.net>
-Tue Jun 25 00:34:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_method.c (rb_method_entry_make): fix WB miss.
+ Note that rb_method_entry_t::klass is not constified.
+ We may constify this field.
- * object.c (rb_Integer): use "to_int" instead of
- "to_i". [experimental]
+ * test/ruby/test_alias.rb: add a test.
- * object.c (nil_to_f): new method.
+Mon Dec 16 14:14:22 2013 Koichi Sasada <ko1@atdot.net>
- * object.c (rb_Integer): Symbols and nil should cause error.
+ * gc.c: use gc_verify_internal_consistency() instead of
+ gc_check_before_marks_i() for check consistency
+ on RGENGC_CHECK_MODE >= 2.
- * object.c (rb_Float): nil should cause error.
+Mon Dec 16 14:01:48 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Tue Jun 25 00:21:00 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
+ * process.c (make_clock_result): add :second as a unit for
+ Process.clock_gettime.
- * dln.c: remark definition rb_loaderror().
+Mon Dec 16 13:10:54 2013 Koichi Sasada <ko1@atdot.net>
-Tue Jun 25 00:14:07 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * gc.c: introduce GC.verify_internal_consistency method to verify GC
+ internal data structure.
- * parse.y (string_dvar): allow back references in interpolation.
+ Now this method only checks generation (old/young) consistency.
-Mon Jun 24 16:32:31 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Mon Dec 16 11:49:26 2013 Aman Gupta <ruby@tmm1.net>
- * eval.c (rb_eval): NODE_EVSTR is no longer used.
+ * gc.c (gc_info_decode): Fix build errors when compiled with
+ RGENGC_ESTIMATE_OLDMALLOC=0
+ * gc.c (objspace_malloc_increase): ditto
- * eval.c (eval): not enforce to make assigned variables dynamic.
+Sun Dec 15 13:38:29 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (string): split rules to strings/xstring/regexp to allow
- arbitrary statements inside string interpolation.
+ * ext/objspace/objspace.c (reachable_object_from_root_i):
+ reachable objects should not include categories and
+ category_objects because it is noisy information.
- * parse.y (here_document): splitted into three phases.
+ In fact, objects created after calling
+ ObjectSpace.reachable_objects_from_root should not be included
+ as a returning hash objects. Currently, mswin64 platform has a
+ problem because of this behavior. Should we trace new objects?
- * parse.y (literall_append, literal_concat): added.
- append/concatinate string literals.
+Sun Dec 15 07:09:28 2013 Eric Hodel <drbrain@segment7.net>
- * sample/test.rb (valid_syntax): adjust line number for BEGIN.
+ * lib/rdoc: Update to RDoc master 263a9e5. This improves the
+ accessibility of the search box.
- * lib/mkmf.rb (create_makefile): get rid of nested string.
+Sat Dec 14 17:39:00 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/mkmf.rb (install_rb): site-install didn't work properly.
+ * vm_insnhelper.c (vm_callee_setup_arg_complex): count post
+ arguments as mandatory arguments. [ruby-core:57706] [Bug #8993]
-Sun Jun 23 00:19:10 2002 Tadayoshi Funaba <tadf@dotrb.org>
+ * vm_insnhelper.c (vm_yield_setup_block_args): ditto.
- * lib/date.rb, lib/date/format.rb, sample/cal.rb, sample/goodfriday.rb:
- updated to the new version (based on date2 3.3).
+Sat Dec 14 16:26:46 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sat Jun 22 14:41:33 2002 Guy Decoux <ts@moulon.inra.fr>
+ * configure.in (rubylibprefix): replace exec_prefix as well as
+ bindir and libdir. a patch by kimuraw (Wataru Kimura) at
+ [ruby-dev:47852]. [Bug #9160]
- * ext/socket/socket.c (sock_addrinfo): make all 3 versions of
- getaddrinfo happy. [ruby-core:00184]
+Sat Dec 14 14:42:53 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jun 21 18:49:58 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/logger.rb (lock_shift_log): no need to rotate the log file
+ if it has been rotated by another process. based on the patch
+ by no6v (Nobuhiro IMAI) in [ruby-core:58620]. [Bug #9133]
- * parse.y (yylex): __END__ should not be effective within
- string literals.
+Sat Dec 14 13:01:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Jun 20 21:09:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * proc.c (mnew_from_me): method by respond_to_missing? should be
+ owned by the original class.
- * ext/readline/readline.c (readline_readline): get rid of
- libreadline's bug. (ruby-bugs-ja:PR#268)
+Sat Dec 14 11:55:31 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Jun 20 17:10:27 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * lib/scanf.rb (IO#scanf): fix mistaken use of rescue modifier.
+ a patch by Mon_Ouie at [ruby-core:52813]. [Bug #7940]
- * lib/ftool.rb (BUFSIZE): tuning, set buffer length to 8192.
+Sat Dec 14 11:44:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * configure.in (__NO_ISOCEXT): add for mingw-runtime 2.0-2.
+ * util.c (ruby_qsort): fix potential stack overflow on a large
+ machine. based on the patch by Conrad Irwin <conrad.irwin AT
+ gmail.com> at [ruby-core:51816]. [Bug #7772]
- * configure.in (__MSVCRT__): removed because it is defined
- in the GCC specs.
+Sat Dec 14 11:25:56 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Jun 19 14:46:18 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * object.c (rb_mod_const_defined): support nested class path as
+ well as const_get. [Feature #7414]
- * ext/extmk.rb, lib/mkmf.rb (xsystem): open the log file if xsystem
- is called.
+Sat Dec 14 01:31:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Jun 19 01:01:13 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * eval.c (rb_rescue2): reuse tags pushed for body proc to protect
+ rescue proc too.
- * parse.y (here_document): should be aware of __END__ within here
- documents.
+Sat Dec 14 01:15:51 2013 Masaya Tarui <tarui@ruby-lang.org>
-Wed Jun 19 00:50:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * gc.c (wmap_final_func): Bugfix. Should update *value to new pointer.
- * parse.y (yylex): ? followed by successive word charaters is
- ternary operator not numeric literal.
+Sat Dec 14 01:05:46 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (yylex): commands after break/next/rescue can take
- arguments. (ruby-bugs-ja:PR#265)
+ * ext/socket/lib/socket.rb: Don't test $! in "ensure" clause because
+ it may be set before the body.
+ Reported by ko1 and mrkn. [ruby-core:59088] [Bug #9247]
-Tue Jun 18 19:20:16 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+ * lib/cgi/core.rb: Ditto.
- * win32/mkexports.rb: remove unnecessary exports. (ruby-dev:17418)
+ * lib/drb/ssl.rb: Ditto.
-Tue Jun 18 12:50:17 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Sat Dec 14 00:34:31 2013 Naohisa Goto <ngotogenome@gmail.com>
- * parse.y (yylex): should pushback proper char after '<<'.
+ * internal.h (ruby_sized_xrealloc2): fix typo introduced in r44117,
+ which cause compile error on Solaris.
- * parse.y (range_op, cond0, cond): get rid of doubled warnings.
+Sat Dec 14 00:22:16 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (value_expr): reduce recursion level.
+ * thread.c: (exec_recursive): use rb_catch_protect() instead of
+ rb_catch_obj() and PUSH_TAG(), and reduce pushing tags and
+ machine stack usage.
- * parse.y (logop): ditto.
+Sat Dec 14 00:18:08 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Jun 17 11:11:34 2002 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
+ * proc.c (mnew_from_me): achieve the original defined_class from
+ prepended iclass, to fix inherited owner.
- * string.c (rb_str_crypt): result need not be tainted always.
+ * proc.c (method_owner): return the defined class, but not the
+ class which the method object is created from.
-Mon Jun 17 10:51:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Fri Dec 13 22:29:21 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * dln.c (dln_load): need to preserve dln_strerror() result,
- calling other dl family can clear it.
+ * proc.c (method_owner): return the class where alias is defined, not
+ the class original method is defined.
-Sat Jun 15 22:56:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_method.c (rb_method_entry_make, rb_alias): store the originally
+ defined class in me. [Bug #7993] [Bug #7842] [Bug #9236]
- * parse.y (yylex): obsolete '?<whitespace>'; use '?\s', '?\n',
- etc, instead.
+ * vm_method.c (rb_method_entry_get_without_cache): cache included
+ module but not iclass.
-Sat Jun 15 18:51:13 2002 Akinori MUSHA <knu@iDaemons.org>
+Fri Dec 13 16:27:17 2013 Aman Gupta <ruby@tmm1.net>
- * dir.c (glob_helper): Use lstat() instead of stat() so it catches
- a dead symlink. Given a dead symlink named "a", Dir.glob("?")
- did catch it but Dir.glob("a") somehow didn't.
+ * gc.c (gc_info_decode): Use :major_by=>:nofree as fallback reason
+ when other trigger conditions are present.
-Sat Jun 15 01:59:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Dec 13 13:25:30 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (yylex): no here document after a dot.
+ * error.c: add Exception#backtrace_locations.
+ Now, there are no setter and independent from Exception#backtrace.
+ [Feature #8960]
- * parse.y (yylex): should have set lex_state after '`'.
+ * eval.c (setup_exception): set backtrace locations for `bt_location'
+ special attribute.
- * parse.y (yylex): should have set lex_state properly after
- tOP_ASGN.
+ * vm_backtrace.c (rb_backtrace_to_location_ary): added.
-Fri Jun 14 21:01:48 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
+ * internal.h: ditto.
- * bcc32/mkexports.rb: insert sleep(1) for win9x.
+ * test/ruby/test_backtrace.rb: add a test for
+ Exception#backtrace_locations.
- * bcc32/configure.bat: change return code LF -> CRLF fo win9x.
+Fri Dec 13 12:01:07 2013 Koichi Sasada <ko1@atdot.net>
- * win32/win32.c: fix rb_w32_open_osfhandle()
+ * gc.c (garbage_collect_body): use rb_bug() and explicit error message
+ instead of using assert().
+ [Bug #9222]
-Fri Jun 14 15:22:19 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Fri Dec 13 11:52:41 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (read_escape): deny zero-width hexadecimal character.
- (ruby-bugs-ja:PR#260)
+ * array.c: fix comment to remove the word "shady".
- * parse.y (tokadd_escape): ditto.
+ * variable.c: ditto.
- * regex.c (re_compile_pattern): ditto.
+Fri Dec 13 11:33:55 2013 Koichi Sasada <ko1@atdot.net>
-Fri Jun 14 00:49:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: rename *shady* func/macros.
+ * RVALUE_RAW_SHADY() -> RVALUE_WB_PROTECTED_RAW()
+ * RVALUE_SHADY() -> RVALUE_RAW_SHADY()
+ * rgengc_check_shady() -> rgengc_check_relation().
+ And fix some messages using "shady" to "non-WB-protected".
- * bignum.c (rb_big2dbl): return canonical HUGE_VAL for infinity.
+Fri Dec 13 10:04:23 2013 Eric Hodel <drbrain@segment7.net>
-Thu Jun 13 09:43:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/rubygems/request_set/lockfile.rb: Import RubyGems master a8d0669
+ with a 1.8.7 compatibility fix.
+ * test/rubygems/test_gem_request_set_lockfile.rb: ditto.
- * eval.c (svalue_to_avalue): v may be Qundef. This fix was
- suggested by Guy Decoux.
+Fri Dec 13 09:50:49 2013 Eric Hodel <drbrain@segment7.net>
-Thu Jun 13 00:33:49 2002 takuma ozawa <metal@mine.ne.jp>
+ * lib/rubygems: Update to RubyGems master ddac51f. Changes:
- * hash.c (rb_hash_s_create): use rb_hash_aset() instead of calling
- st_insert() directly, to dup&freeze string keys.
+ * Allow override for the shared gem installation directory for
+ rubygems packagers.
-Thu Jun 13 00:12:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * Lock gem cache files for read and write to improve thread safety.
- * parse.y (yylex): proper error message for "@@0".
+ * Use io/console when available.
- * parse.y (yylex): paren to parse_string() must be zero for
- unparenthesized strings.
+ * Minor cleanup.
- * parse.y (str_extend): broken string when unterminated "#{".
+ * test/rubygems: ditto.
- * enum.c (enum_sort_by): had a bug in 1 element enumeration.
+Fri Dec 13 08:15:31 2013 Aman Gupta <ruby@tmm1.net>
-Wed Jun 12 18:04:44 2002 akira yamada <akira@arika.org>
+ * class.c (include_modules_at): use RCLASS_M_TBL_WRAPPER for
+ equality checks. this avoids an unnecessary deference inside a tight
+ loop, fixing a performance regression from r43973.
+ * object.c (rb_obj_is_kind_of): ditto.
+ * object.c (rb_class_inherited_p): ditto.
- * uri/common.rb (REGEXP::PATTERN::X_ABS_URI): 'file:/foo' is valid.
+Wed Dec 13 02:00:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * uri/generic.rb (Generic#xxx=): should return substituted value.
- (ruby-dev:16728.)
+ * ext/bigdecimal/bigdecimal.c (VpSetPTR): fix for limitation of the resulting
+ precision.
+ [ruby-core:50269] [Bug #7458]
- * test/generic.rb (test_set_component): added tests for the above
+ * test/bigdecimal/test_bigdecimal.rb (test_limit): add tests for the above
change.
-Wed Jun 12 02:38:00 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * parse.y (stmt): fix typo.
-
-Wed Jun 12 01:10:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * parse.y (yylex): 'do' should return kDO_BLOCK on EXPR_ENDARG.
-
- * parse.y (singleton): "def (()).a end" dumped core.
-
- * parse.y (range_op): node may be null.
-
- * parse.y (match_gen): ditto.
-
-Tue Jun 11 19:20:34 2002 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * configure.in (LIBRUBY): rename to lib$(LIBRUBY_SO).a on Cygwin/MinGW.
-
- * configure.in, cygwin/GNUmakefile: use dllwrap when --disable-shared
- is specified.
-
-Tue Jun 11 17:12:04 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * parse.y (arg): void value check for "..", "...", "!", and "not".
-
- * parse.y (match_gen): void value check for "=~".
-
- * parse.y (value_expr): check NODE_AND and NODE_OR recursively.
-
- * parse.y (cond0): void value check added for conditionals.
-
-Tue Jun 11 13:18:47 2002 Shugo Maeda <shugo@ruby-lang.org>
-
- * lib/net/ftp.rb (noop): new method.
-
- * lib/net/ftp.rb (site): ditto.
-
-Tue Jun 11 13:15:41 2002 NAKAMURA Usaku <usa@ruby-lang.org>
-
- * bcc32/Makefile.sub: set PROCESSOR_LEVEL to 6 if it's too big value.
-
- * win32/Makefile.sub: ditto.
+Wed Dec 13 01:56:00 2013 Kenta Murata <mrkn@mrkn.jp>
-Tue Jun 11 12:37:46 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
+ * ext/bigdecimal/bigdecimal.c (VpAddAbs): put out a conditional branch from
+ the inside of while-loop.
- * bcc32/configure.bat fix.
+ * ext/bigdecimal/bigdecimal.c (VpSubAbs): ditto.
-Tue Jun 11 10:18:23 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
+Wed Dec 13 01:53:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * new platform [bccwin32] merged.
- - create new folder bcc32
- - modify any files for bccwin32
- error.c, file.c, hash.c, io.c, instruby.rb,
- ext/extmk.rb.in,
- lib/mkmf.rb, lib/ftools.rb,
- ext/digest/defs.h,
- ext/dl/depend, ext/dl/dl.c, ext/dl/sym.c, ext/dl/extconf.rb,
- ext/socket/extconf.rb,
- ext/pty/extconf.rb,
- ext/tcltklib/extconf.rb
- ext/Win32API/Win32API.c,
- win32/dir.h, win32/win32.c, win32/win32.h, win32/resource.rb
+ * ext/bigdecimal/bigdecimal.c (VPrint): be a static function, support another
+ dump formats, and add more information of the given bigdecimal.
-Mon Jun 10 19:02:19 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * ext/bigdecimal/bigdecimal.h: ditto.
- * numeric.c (fix_lshift): negative shift count means right shift.
- (ruby-bugs-ja:PR#248)
+Wed Dec 11 16:45:58 2013 Koichi Sasada <ko1@atdot.net>
- * numeric.c (fix_rshift): return -1 when left side operand is
- negative. (ruby-bugs-ja:PR#247)
+ * eval.c (rb_raise_jump): call c_return hook immediately after
+ popping `raise' frame.
+ Patches by deivid (David Rodriguez). [Bug #8886]
- * parse.y (yylex): `0_' should be an error. (ruby-bugs-ja:PR#249)
+ * test/ruby/test_settracefunc.rb: catch up this fix.
-Mon Jun 10 01:53:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Dec 11 16:01:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_eval): ruby_frame->last_func may be null, if it's
- called outside of a method.
+ * hash.c (rb_hash_reject): return a plain hash, without copying
+ the class, default value, instance variables, and taintedness.
+ they had been copied just by accident.
+ [ruby-core:59045] [Bug #9223]
- * parse.y (arg): use INT2NUM, not INT2FIX for tUMINUS.
+Wed Dec 11 15:36:15 2013 Aman Gupta <ruby@tmm1.net>
- * parse.y (arg): unnecessary negative tPOW treatment.
+ * compile.c (iseq_specialized_instruction): emit opt_aset instruction
+ to optimize Hash#[]= and Array#[]= when called with Fixnum argument.
+ [Bug #9227] [ruby-core:58956]
- * parse.y (tokadd_escape): wrong backslash escapement.
+Wed Dec 11 04:54:03 2013 Eric Hodel <drbrain@segment7.net>
-Sun Jun 9 17:40:41 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
+ * lib/rubygems: Update to RubyGems master ec8ed22. Notable changes
+ include:
- * ext/dl: change the callback mechanism.
+ * Renamed extension_install_dir to extension_dir (backwards
+ compatible).
-Sat Jun 8 00:48:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * Fixed creation of gem.deps.rb.lock file from
+ TestGemRequestSet#test_install_from_gemdeps_install_dir
- * parse.y (stmt,arg): too much void value check.
+ * Fixed a typo and some documentation.
- * parse.y (stmt,arg): need to check void value on rules which does
- not use node_assign().
+ * test/rubygems: ditto.
-Thu Jun 6 19:50:39 2002 KONISHI Hiromasa <H_Konishi@ruby-lang.org>
+Wed Dec 11 03:18:08 2013 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
- * sample/biorhythm.rb (getPosiiton,etc)
- fix at changing Date module ( Date is changed Fixnum to Rational )
+ * insns.def: Fix optimization bug of Float#/ [Bug #9238]
-Thu Jun 6 17:42:39 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Dec 10 23:58:30 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/socket/socket.c (ipaddr): need not to taint hostnames.
+ * ext/date/date_strptime.c (date__strptime_internal): unset
+ case-insensitive flag for [:alpha:], which already implies both
+ cases, to get rid of backtrack explosion. [ruby-core:58984]
+ [Bug #9221]
-Thu Jun 6 12:04:30 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+Tue Dec 10 23:44:42 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/Makefile.sub (config.status): use sub! instead of []= because
- []= causes exception.
+ * array.c (rb_ary_hash): add salt to differentiate false and empty
+ array. [ruby-core:58993] [Bug #9231]
-Thu Jun 6 11:42:15 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * hash.c (rb_any_hash, rb_hash_hash): ditto.
- * lib/thread.rb (Queue::pop): get rid of race condition.
+Tue Dec 10 18:16:09 2013 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
-Tue Jun 4 23:09:24 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * man/ruby.1: [DOC] Use www.ruby-toolbox.com instead of RAA.
- * range.c (range_include): should be based on "<=>", whereas
- member? still is based on "each".
+Tue Dec 10 17:21:30 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * range.c (range_min,range_max): redefine methods based on "<=>".
+ * gc.c (wmap_finalize, wmap_aset_update): use simple malloced array
+ instead of T_ARRAY, to reduce GC pressure.
-Tue Jun 4 18:28:37 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Tue Dec 10 15:56:48 2013 Aman Gupta <ruby@tmm1.net>
- * ext/socket/extconf.rb: The IPv6 stack of Cygwin is still incomplete.
+ * gc.c (reflist_add): revert changes from r44109. it is unnecessary
+ after r44113
+ * gc.c (allrefs_i): fix whitespace
+ * gc.c (allrefs_roots_i): fix whitespace
- * ext/Win32API/extconf.rb: refactoring.
+Tue Dec 10 15:46:03 2013 Koichi Sasada <ko1@atdot.net>
-Tue Jun 4 00:45:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * gc.c (allrefs_add): push obj only if allrefs table doesn't have
+ obj.
- * ext/socket/addrinfo.h: typo.
+ * gc.c (allrefs_roots_i): ditto.
- * ext/socket/getaddrinfo.c (gai_strerror): make literals const.
+Tue Dec 10 15:28:10 2013 Koichi Sasada <ko1@atdot.net>
- * ext/socket/socket.c (init_inetsock): ensures resources are
- freed at exceptions.
+ * gc.c (RGENGC_CHECK_MODE): separate checkers to different modes.
+ * 2: enable generational bits check (for debugging)
+ * 3: enable livness check
+ * 4: show all references
- * ext/socket/socket.c (init_unixsock): ditto.
+Tue Dec 10 15:15:37 2013 Koichi Sasada <ko1@atdot.net>
- * ext/socket/socket.c (udp_connect): ditto.
+ * gc.c (gc_marks_check): disable GC during checking and
+ restore malloc_increase info.
-Mon Jun 3 20:39:51 2002 Masaki Suketa <masaki.suketa@nifty.ne.jp>
+Tue Dec 10 14:41:53 2013 Aman Gupta <ruby@tmm1.net>
- * ext/win32ole/extconf.rb : change PLATFORM with RUBY_PLATFORM.
+ * gc.c (reflist_add): return 0 if reference already exists
+ * gc.c (allrefs_add): return 1 on newly added references
+ * gc.c (allrefs_i): follow references to construct complete object
+ graph. before this patch, RGENGC_CHECK could fail to verify some WB
+ miss issues. [Bug #9226] [ruby-core:58959]
-Mon Jun 3 07:07:07 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Tue Dec 10 11:20:56 2013 Aman Gupta <ruby@tmm1.net>
- * parse.y (here_document): check if identifier is terminated.
- (ruby-bugs-ja:PR#239)
+ * ext/objspace/objspace_dump.c (dump_object): include fstring flag on
+ strings. include gc flags (old, remembered, wb_protected) on all objects.
+ * ext/objspace/objspace_dump.c (Init_objspace_dump): initialize lazy
+ IDs before first use.
+ * gc.c (rb_obj_gc_flags): new function to retrieve object flags
+ * internal.h (RB_OBJ_GC_FLAGS_MAX): maximum flags allowed for one obj
+ * test/objspace/test_objspace.rb (test_dump_flags): test for above
+ * test/objspace/test_objspace.rb (test_trace_object_allocations):
+ resolve name before dump (for rb_class_path_cached)
- * parse.y (yylex): should pushback proper char after '**'.
- (ruby-bugs-ja:PR#240)
+Tue Dec 10 07:48:29 2013 Aman Gupta <ruby@tmm1.net>
-Mon Jun 3 05:56:17 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_method.c (rb_clear_method_cache_by_class): fire
+ ruby::method-cache-clear probe on global or klass-level method cache
+ clear [Bug #9190]
+ * probes.d (provider ruby): new dtrace probe
+ * doc/dtrace_probes.rdoc: docs for new probe
+ * test/dtrace/test_method_cache.rb: test for new probe
- * string.c (rb_str_aset): should raise error if an indexing string
- is not found in the receiver.
+Tue Dec 10 06:14:11 2013 Eric Hodel <drbrain@segment7.net>
- * sprintf.c (rb_f_sprintf): "%d" should convert objects into
- integers using Integer().
+ * ext/.document: Remove curses from documentable directories.
-Sat Jun 1 19:20:07 2002 Masaki Suketa <masaki.suketa@nifty.ne.jp>
+Tue Dec 10 04:55:36 2013 Zachary Scott <e@zzak.io>
- * ext/win32ole: merge from rough.
+ * ext/openssl/lib/openssl/digest.rb: Deprecate OpenSSL::Digest::Digest
+ [Fixes GH-446] https://github.com/ruby/ruby/pull/446
-Fri May 31 17:11:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Dec 10 00:41:42 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * lib/tempfile.rb (Tempfile::size): added.
+ * ext/thread/thread.c: [DOC] add call-seq alias for Queue#enq, #<<, etc.
-Thu May 30 12:52:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/thread/thread.c (Init_thread): use rb_define_alias instead of
+ rb_alias to document alias.
- * range.c (range_step): iteration done using "+" if elements are
- Numeric. Otherwise using "succ".
+Mon Dec 9 20:00:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * range.c (range_each): iteration done using "succ". If the
- elements does not respond to "succ", raise TypeError. As a
- result, all Enumerable methods, e.g. collect, require elements
- to respond to "succ".
+ * internal.h (RCLASS_SERIAL): Add RCLASS_SERIAL as a convenience
+ accessor for RCLASS_EXT(klass)->class_serial.
- * range.c (range_member): comparison done using "each", if
- elements are non-Numeric or no-"succ" objects. Otherwise
- compare using "<=>".
+ * class.c, vm_insnhelper.c, vm_method.c: Use RCLASS_SERIAL
- * range.c (Init_Range): remove "size" and "length".
+Mon Dec 9 19:50:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Thu May 30 09:16:36 2002 Wakou Aoyama <wakou@ruby-lang.org>
+ * compile.c, insns.def, test/ruby/test_rubyvm.rb, vm.c, vm_core.h,
+ vm_insnhelper.c, vm_insnhelper.h, vm_method.c: Rename method_serial
+ to global_method_state and constant_serial to global_constant_state
+ after discussion with ko1.
- * lib/cgi.rb: if StringIO is usable then use it.
+Mon Dec 9 18:50:43 2013 Aman Gupta <ruby@tmm1.net>
-Wed May 29 18:55:47 2002 KONISHI Hiromasa <H_Konishi@ruby-lang.org>
+ * hash.c (rb_hash_replace): fix segv on `{}.replace({})` introduced
+ in r44060 [Bug #9230] [ruby-core:58991]
+ * test/ruby/test_hash.rb: regression test for above
- * function renames my* and win32_* to rb_w32_* in win32/win32.c
- fixed files win32/win32.c, win32/win32.h, win32/dir.h,
- hash.c, rubysig.h, signal.c, ext/socket/socket.c
+Mon Dec 9 18:10:10 2013 Koichi Sasada <ko1@atdot.net>
-Wed May 29 17:32:55 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * vm.c (vm_stat): renamed from ruby_vm_stat.
+ Should not use ruby_ prefix here.
- * time.c (tmcmp, search_time_t): activate unless HAVE_TIMEGM.
+Mon Dec 9 16:13:31 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed May 29 13:45:15 2002 Wakou Aoyama <wakou@ruby-lang.org>
+ * gc.c (wmap_size): add ObjectSpace::WeakMap#size and #length.
- * lib/cgi.rb: not use const if GET, HEAD. check multipart form head.
+Mon Dec 9 15:26:17 2013 Shugo Maeda <shugo@ruby-lang.org>
-Tue May 28 17:56:02 2002 Sean Chittenden <sean@ruby-lang.org>
+ * test/test_curses.rb: removed.
- * parse.y: yyparse #defines moved from intern.h
+Mon Dec 9 13:36:55 2013 Shugo Maeda <shugo@ruby-lang.org>
- * ruby.c (proc_options): access prefixed "ruby_yydebug".
+ * ext/curses, sample/curses: removed curses.
- * applied modifies to pacify some of gcc -Wall warnings.
-
-Tue May 28 14:07:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * NEWS: added an entry for the above change.
- * parse.y (arg): no more ugly hack for "**", so that "-2**2" to be
- parsed as "(-2)**2", whereas "- 2**2" or "-(2)**2" to be parsed
- as "-(2**2)".
+Mon Dec 9 12:26:05 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (yylex): '-2' to be literal fixnum. [new]
+ * ext/objspace/object_tracing.c (newobj_i): use cached class path
+ only to get rid object allocation during NEWOBJ hook.
+ [ruby-core:58853] [Bug #9212]
-Tue May 28 12:13:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * variable.c (rb_class_path_cached): returns cached class path
+ only, without searching and allocating new class path string.
- * eval.c (scope_node): trick to keep the node has a scope.
+Mon Dec 9 11:14:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_eval): NODE_EVSTR: write back local_tbl to the node.
+ * ext/date/date_parse.c (parse_time): unset case-insensitive flag
+ for [:alpha:], which already implies both cases, to get rid of
+ backtrack explosion. [ruby-core:58876] [Bug #9221]
- * eval.c (rb_eval): NODE_SCOPE: hold the scope node in ruby_scope.
+Mon Dec 9 08:40:40 2013 Eric Hodel <drbrain@segment7.net>
- * eval.c (module_setup): ditto.
+ * lib/rubygems: Update to RubyGems master bf37240. Fixes useless
+ error message with `gem install -g` with no gem dependencies file.
+ * test/rubygems: ditto.
- * eval.c (rb_call0): ditto.
+Mon Dec 9 04:52:25 2013 Eric Hodel <drbrain@segment7.net>
- * node.h (NEW_DASGN, NEW_DASGN_CURR): remove surplus semicolons.
+ * NEWS: Update RubyGems entry with notable features.
-Fri May 24 09:06:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Dec 9 04:43:54 2013 Eric Hodel <drbrain@segment7.net>
- * time.c (time_arg): nil test against v[6] (usec).
+ * ext/.document: Add syslog/lib and thread/thread.c to documentable
+ items. [ruby-trunk - Bug #9228]
-Thu May 23 16:39:21 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Mon Dec 9 04:28:50 2013 Eric Hodel <drbrain@segment7.net>
- * ruby.c (proc_options): option parsing problem.
- (ruby-bugs-ja:PR#233)
+ * lib/rubygems: Update to RubyGems master 096db36. Changes include
+ support for PATH in Gemfile.lock and a typo fix from Akira Matsuda.
+ * test/rubygems: ditto.
-Thu May 23 09:13:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Dec 9 02:10:32 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * ruby.c (proc_options): removed "-*-" support for #! line.
+ * lib/net/http/responses.rb:
+ Add `HTTPIMUsed`, as it is also supported by rack/rails.
+ RFC - http://tools.ietf.org/html/rfc3229
+ by Vipul A M <vipulnsward@gmail.com>
+ https://github.com/ruby/ruby/pull/447 fix GH-447
- * io.c (rb_io_s_sysopen): new method to get a raw file
- descriptor. [new]
+Sun Dec 8 20:47:35 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/socket/socket.c (tcp_sysaccept): new method to return an
- accepted socket fd (integer). [new]
+ * class.c (rb_get_kwargs): when values is non-null, remove
+ extracted keywords from the rest keyword argument.
- * ext/socket/socket.c (unix_sysaccept,sock_sysaccept): ditto.
+Sun Dec 8 20:26:54 2013 Yutaka Kanemoto <kanemoto@ruby-lang.org>
-Wed May 22 21:26:47 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * common.mk (ruby.imp): avoid circular dependency on AIX
- * ruby.c (proc_options): -T consumes digits only.
+Sun Dec 8 20:21:00 2013 Kenta Murata <mrkn@mrkn.jp>
-Wed May 22 20:18:31 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * bigdecimal.c (BigDecimal_coerce): convert a Float to a BigDecimal instead
+ of converting the receiver to a Float. The reason is there are BigDecimal
+ instances with precisions that is smaller than the Float's precision.
+ [ruby-core:58756] [Bug #9192]
- * configure.in: need not link vsnprintf.o on MinGW.
+ * test/bigdecimal/test_bigdecimal.rb: add tests for the above change.
-Wed May 22 18:34:23 2002 Minero Aoki <aamine@loveruby.net>
+Sun Dec 8 18:28:20 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * parse.y (yylex): Here-document label ate '-'.
+ * NEWS: [DOC] update NEWS about GC.
-Tue May 21 13:25:18 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Sun Dec 8 17:52:24 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * misc/ruby-mode.el (ruby-font-lock-keywords): symbols end with
- '_'.
+ * object.c: [DOC] document Module#singleton_class?.
-Tue May 21 04:48:37 2002 Sean Chittenden <sean@chittenden.org>
+Sun Dec 8 16:19:28 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/cgi-lib.rb: Checking for constant MOD_RUBY instead of
- environment variable. Remove a mod_ruby warning and use
- Apache::request.headers_out[] instead.
+ * class.c (rb_get_kwargs): if optional is negative, unknown
+ keywords are allowed.
-Tue May 21 01:16:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * vm_insnhelper.c (vm_callee_setup_keyword_arg): check unknown
+ keywords.
- * parse.y (bodystmt): ensure clause was excuted on else clause
- without rescue clause.
+Sun Dec 8 14:55:12 2013 Kazuki Tsujimoto <kazuki@callcc.net>
-Tue May 21 00:20:25 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
+ * array.c (rb_ary_shuffle_bang, rb_ary_sample): rename local variables.
- * ext/dl/ptr.c: rename PtrData::alloc to PtrData::malloc.
+Sun Dec 8 13:59:38 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * ext/dl/lib/dl/struct.c: rename Struct#alloc to Struct#malloc.
+ * array.c (rb_ary_shuffle_bang, rb_ary_sample): check
+ unknown keywords.
-Mon May 20 14:29:14 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/ruby/test_array.rb (test_shuffle, test_sample): tests for
+ the above.
- * object.c (Init_Object): should do exact match for Module#==.
+Sun Dec 8 13:01:11 2013 Aman Gupta <ruby@tmm1.net>
- * compar.c (cmp_eq): returns 'false' if <=> returns 'nil'.
+ * vm.c (ruby_vm_stat): add RubyVM.stat() for access to internal cache
+ counters. this methods behaves like GC.stat, accepting an optional
+ hash or symbol argument. [Bug #9190] [ruby-core:58750]
+ * test/ruby/test_rubyvm.rb: test for new method
- * compar.c (cmp_gt,cmp_ge,cmp_lt,cmp_le,cmp_between): ditto.
+Sun Dec 8 11:59:40 2013 Aman Gupta <ruby@tmm1.net>
-Mon May 20 13:28:52 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * hash.c (rb_hash_replace): add a write barrier to fix GC mark miss on
+ hashes using Hash#replace [Bug #9226] [ruby-core:58948]
- * io.c (rb_io_clone): writing stream was not copied properly.
+Sun Dec 8 11:21:00 2013 Aman Gupta <ruby@tmm1.net>
-Sat May 18 21:38:11 2002 Tadayoshi Funaba <tadf@dotrb.org>
+ * include/ruby/ruby.h: add RGENGC_WB_PROTECTED_NODE_CREF setting
+ In a large app, this reduces the size of
+ remembered_shady_object_count by 80%. [Bug #9225] [ruby-core:58947]
+ * gc.c (rb_node_newnode): add FL_WB_PROTECTED flag to NODE_CREF
+ * class.c (rewrite_cref_stack): insert OBJ_WRITE for NODE_CREF
+ * iseq.c (set_relation): ditto
+ * iseq.c (rb_iseq_clone): ditto
+ * vm_eval.c (rb_yield_refine_block): ditto
+ * vm_insnhelper.c (vm_cref_push): ditto
+ * vm_insnhelper.h (COPY_CREF): ditto
- * lib/date.rb, lib/date/format.rb, lib/parsedate.rb:
- updated to the new version (based on date2 3.2.1).
+Sun Dec 8 10:45:05 2013 Aman Gupta <ruby@tmm1.net>
-Sat May 18 21:18:00 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+ * hash.c (hash_aset_str): revert r43870 due to performance issue
+ [Bug #9188] [ruby-core:58730]
+ * parse.y (assoc): convert literal string hash keys to fstrings
+ * test/ruby/test_hash.rb (class TestHash): expand test
- * win32/Makefile.sub (config.h): add VC++4/5 support about noreturn
- directive.
+Sun Dec 8 10:22:38 2013 Aman Gupta <ruby@tmm1.net>
-Sat May 18 02:16:41 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * parse.y (register_symid_str): use fstrings in symbol table
+ [Bug #9171] [ruby-core:58656]
+ * parse.y (rb_id2str): ditto
+ * string.c (rb_fstring): create frozen_strings on first usage. this
+ allows rb_fstring() calls from the parser (before cString is created)
+ * string.c (fstring_set_class_i): set klass on fstrings generated
+ before cString was defined
+ * string.c (Init_String): convert frozen_strings table to String
+ objects after boot
+ * ext/-test-/symbol/type.c (bug_sym_id2str): expose rb_id2str()
+ * test/-ext-/symbol/test_type.rb (module Test_Symbol): verify symbol
+ table entries are fstrings
- * pack.c (pack_pack): should propagate taintedness.
+Sun Dec 8 10:24:20 2013 Eric Hodel <drbrain@segment7.net>
- * pack.c (pack_unpack): ditto.
+ * lib/rubygems.rb: Update version for upcoming ruby 2.1.0 RC.
-Fri May 17 16:16:19 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Sun Dec 8 10:21:36 2013 Eric Hodel <drbrain@segment7.net>
- * sampl/test.rb: use eval instead of './miniruby -c',
- in order to check a syntax error.
+ * lib/rubygems: Update to RubyGems master 14749ce. This fixes bugs
+ handling of gem dependencies lockfiles (Gemfile.lock).
-Thu May 16 14:46:34 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * test/rubygems: ditto.
- * eval.c (rb_thread_select): cleanup conditional compilation.
+Sun Dec 8 09:40:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Wed May 15 06:13:35 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (rb_ary_or): use RHASH_TBL_RAW instead of RHASH_TBL
- * eval.c (rb_thread_schedule): need to preserve errno before
- calling rb_trap_exec().
+ * process.c (rb_execarg_fixup): use RHASH_TBL_RAW and insert write
+ barriers where appropriate
- * regex.c (calculate_must_string): a bug in charset/charset_not
- parsing.
+ * vm.c (kwmerge_i): use RHASH_TBL_RAW
-Tue May 14 18:17:44 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * vm.c (HASH_ASET): use rb_hash_aset instead of calling directly into
+ st_insert
- * win32/Makefile.sub: config.h inlined. and catch up with the
- latest change.
+Sat Dec 7 11:15:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/config.h.in: no longer used.
+ * hash.c (rb_hash_reject): copy unrejected elements only to new hash,
+ so that the change on the original receiver can affect.
+ [ruby-core:58914] [Bug #9223]
-Tue May 14 14:49:05 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Sat Dec 7 08:25:00 2013 Richo Healey <richo@psych0tik.net>
- * gc.c (is_pointer_to_heap): avoid GCC 3.1 warnings.
+ * test/ruby/test_struct.rb: Add regression test for question marks and
+ bangs in struct members. [Closes GH-468]
- * missing/strftime.c (timezone): it should take no argument on Cygwin.
+Fri Dec 6 19:33:39 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue May 14 03:07:35 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * class.c (rb_extract_keywords, rb_get_kwargs): move from
+ vm_insnhelper.c.
- * eval.c (rb_clear_cache_by_class): new function.
+Fri Dec 6 19:18:02 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (set_method_visibility): should have clear cache for
- updated visibility.
+ * gc.c: change oldmalloc meaning.
+ Increase oldmalloc_increase with malloc_increase
+ instead of using obj_memsize_of().
-Mon May 13 14:38:33 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ This change will avoid the danger of memory full without major GC.
- * djgpp/config.hin, djgpp/config.sed: catch up with the latest change.
+Fri Dec 6 19:08:48 2013 Koichi Sasada <ko1@atdot.net>
-Mon May 13 01:59:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (atomic_sub_nounderflow): not 0 but val itself.
- * numeric.c (flo_to_s): default format precision to be "%.16g".
+Fri Dec 6 18:37:11 2013 Koichi Sasada <ko1@atdot.net>
- * util.c (ruby_strtod): use own strtod(3) implementation to avoid
- locale hell. Due to this change "0xff".to_f no longer returns 255.0
+ * gc.c (rb_objspace_alloc, Init_heap): initialize
+ oldmalloc_increase_limit at Init_heap.
-Sun May 12 03:01:08 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ rb_objspace_alloc() is not called on some platforms.
- * missing.h: add for missing/*.c.
+Fri Dec 6 18:33:39 2013 Koichi Sasada <ko1@atdot.net>
- * ruby.h: add `#include "missing.h"'.
+ * gc.c (garbage_collect_body): bug fix.
+ initialize after recording.
- * Makefile.in: add the dependency of missing.h by gcc -MM.
+Fri Dec 6 17:49:46 2013 Koichi Sasada <ko1@atdot.net>
- * MANIFEST: add missing.h
+ * gc.c (atomic_sub_nounderflow): added to simplify atomic sub with
+ care about underflow.
-Sat May 11 23:24:52 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
+ * gc.c (objspace_malloc_increase): use it.
- * ext/dl: enable dl's stack emulation for constructing function call.
+Fri Dec 6 17:10:44 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sat May 11 10:52:09 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * vm_insnhelper.c (rb_get_kwargs): get keyword argument values from an
+ option hash, not only checking keys.
- * dir.c (glob_helper): remove escaping backslashes.
+ * dir.c (dir_initialize): use rb_get_kwargs.
-Sat May 11 02:46:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (gc_start_internal): ditto.
- * eval.c (avalue_to_yvalue): new function to distinguish yvalue
- (no-arg == Qundef) from svalue (no-arg == Qnil).
+Fri Dec 6 16:47:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_yield_0): use avalue_to_yvalue().
+ * misc/ruby-mode.el (ruby-brace-to-do-end): split single line block.
- * eval.c (assign): warn if val == Qundef where it means rhs is
- void (e.g. yield without value or call without argument).
+ * misc/ruby-mode.el (ruby-do-end-to-brace): shrink single line block
+ to one line.
-Fri May 10 19:00:47 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Fri Dec 6 16:16:30 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (here_document): preserve line number begins here
- document.
+ * gc.c (gc_start_internal): do not use rb_gc_start() and rb_gc().
-Fri May 10 01:55:44 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Fri Dec 6 15:24:30 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_thread_join): added an argument to limit time to wait
- the thread.
+ * gc.c (gc_start_internal, rb_gc): do not need
+ heap_pages_free_unused_pages() here.
+ It was done in after_sweep().
- * eval.c (rb_thread_join_m): new. and added optional argument.
+ * gc.c (rb_gc): The reason is now GPR_FLAG_CAPI.
-Wed May 8 23:48:40 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Dec 6 14:05:19 2013 Aman Gupta <ruby@tmm1.net>
- * parse.y (value_expr): need not to warn for WHILE and UNTIL,
- since they can have return value (via valued break).
+ * gc.c (gc_start_internal): GC.start() now accepts two optional
+ keyword arguments. These can be used to disable full_mark (minor
+ mark only) or disable immediate_sweep (use lazy sweep). These new
+ options are useful for benchmarking GC behavior, or performing minor
+ GC out-of-band.
+ * test/ruby/test_gc.rb (class TestGc): tests for new options.
-Tue May 7 17:13:40 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Fri Dec 6 11:51:28 2013 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
- * configure.in: forgot to add '-Wl,' to the gcc option on Cygwin/MinGW.
+ * lib/erb.rb: [DOC] fix broken link, Use rubygems.org and www.ruby-toolbox.com instead of RAA.
+ [Bug #9197]
-Tue May 7 15:41:33 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Fri Dec 6 10:50:54 2013 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
- * ext/iconv/iconv.c (iconv_try): should initialize exceptions
- properly. (ruby-bugs-ja:PR#232)
+ * lib/webrick/httprequest.rb: [DOC] Fix broken link of CGI specification by @udzura [fix GH-466]
-Tue May 7 15:28:03 2002 Minero Aoki <aamine@loveruby.net>
+Thu Dec 6 01:27:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * eval.c (rb_yield_0): The destination of the goto jump was wrong.
+ * ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec):
+ treat 0.0 and -0.0 of floating-point numbers specially for an optimization
+ and to correctly propagate its signbit to the result.
+ [Bug #9214] [ruby-core:58858]
-Tue May 7 09:17:51 2002 Minero Aoki <aamine@loveruby.net>
+ * test/bigdecimal/test_bigdecimal.rb: add tests case for the above change.
- * eval.c (superclass): undesirable "unexpected return" when the
- superclass is not a Class.
+ * test/bigdecimal/test_bigdecimal_util.rb: ditto.
-Sun May 5 06:53:45 2002 Akinori MUSHA <knu@iDaemons.org>
+Thu Dec 5 22:18:01 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/mkmf.rb: exclude topdir from the system configuration
- section and prevent it from being overridden.
+ * lib/mkmf.rb (configuration): strip destdir part from prefix to get
+ rid of duplication. a patch by arton at [ruby-core:58859].
+ [ruby-core:58856] [Bug #9213]
-Fri May 3 20:19:00 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Thu Dec 5 21:53:29 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * configure.in: add #include <errno.h> in AC_CHECK_DECLS().
+ * array.c (rb_ary_or): lhs elements are preferred, so should not
+ replace with rhs elements.
- * win32/config.h.in: define HAVE_DECL_SYS_NERR.
+ * test/ruby/test_array.rb (test_OR_in_order): import the test failed
+ by r43969 from rubyspec/core/array/union_spec.rb.
-Thu May 2 23:42:40 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Dec 5 21:05:42 2013 Koichi Sasada <ko1@atdot.net>
- * re.c (rb_reg_s_quote): # also should be quoted.
+ * gc.c (gc_info_decode): fix to avoid syntax error on VS2012.
-Thu May 2 18:27:13 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Thu Dec 5 19:35:35 2013 Martin Duerst <duerst@it.aoyama.ac.jp>
- * ext/extmk.rb.in, lib/mkmf.rb: use 'do...end' instead of '{}' for
- Borland make.
+ * st.c: tweaked comment
-Thu May 2 08:01:56 2002 Chris Thomas <kenshin@apple.com>
+Thu Dec 5 19:21:10 2013 Aman Gupta <ruby@tmm1.net>
- * error.c: use HAVE_DECL_SYS_NERR instead of platform names.
+ * gc.c (struct rb_objspace): rename internal last_collection_flags to
+ latest_gc_info
+ * gc.c (gc_latest_collection_info): add GC.latest_gc_info() with similar
+ behavior to GC.stat()
+ * gc.c (rb_gc_latest_gc_info): new c-api for above
+ * gc.c (gc_stat_internal): remove :last_collection_flags from GC.stat
+ * gc.c (gc_profile_decode_flags): remove GC::Profiler.decode_flags
+ * include/ruby/intern.h (rb_gc_latest_gc_info): export new c-api
+ * test/ruby/test_gc.rb (class TestGc): test for new behavior
+ * NEWS: note about new api
-Tue Apr 30 09:23:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (gc_stat_internal): raise TypeError on wrong type
+ * gc.c (gc_stat): fix error message
- * numeric.c (num_step): better iteration condition for float
- values; suggested by Masahiro TANAKA <masa@ir.isas.ac.jp>.
+Thu Dec 5 18:18:08 2013 Aman Gupta <ruby@tmm1.net>
-Tue Apr 30 05:59:42 2002 Michal Rokos <m.rokos@sh.cvut.cz>
+ * ext/objspace/gc_hook.c: remove this file
+ * ext/-test-/tracepoint/gc_hook.c: new filename for above
+ * ext/objspace/objspace.c: remove ObjectSpace.after_gc_start_hook=
+ * test/objspace/test_objspace.rb: remove test
+ * test/-ext-/tracepoint/test_tracepoint.rb: add above test for
+ tracepoint re-entry
- * range.c (range_step): step (for Range#step method) <= 0 makes no
- sence, thus ArgError will be raised.
+Thu Dec 5 17:44:53 2013 Koichi Sasada <ko1@atdot.net>
- * range.c (range_each): Range#each method is special case for
- Range#step(1)
+ * gc.c: change function names vm_ prefix to objspace_ prefix.
+ They are objspace_ functionality.
-Mon Apr 29 18:46:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Dec 5 16:11:04 2013 Aman Gupta <ruby@tmm1.net>
- * file.c (rb_find_file): load must be done from an abolute path if
- $SAFE >= 4.
+ * include/ruby/intern.h: add rb_gc_stat() for access to GC.stat
+ variables from c-api
+ * gc.c (rb_gc_stat): new c-api method. accepts either VALUE hash like
+ GC.stat, or VALUE symbol key and returns size_t directly. the second
+ form is useful to avoid allocations, i.e. for usage inside
+ INTERNAL_EVENT_GC tracepoints.
+ * gc.c (gc_stat): add GC.stat(:key) to return single value instead of hash
+ * gc.c (gc_stat_internal): helper method to retrieve single or all stat values
+ * test/ruby/test_gc.rb (class TestGc): test for new behavior
+ * NEWS: note about this new api
-Sun Apr 28 17:01:56 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Thu Dec 5 14:40:41 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/win32.c (insert): fix prototype for ANSI C.
+ * hash.c (rb_hash): revert r43981 and bail out to the outermost frame
+ when recursion is detected.
-Fri Apr 26 13:47:15 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Dec 5 13:47:15 2013 Koichi Sasada <ko1@atdot.net>
- * enum.c (enum_partition): new method. [new]
+ * gc.c (vm_malloc_size): added.
+ return malloc_usable_size() if possible.
-Fri Apr 26 13:41:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (MALLOC_ALLOCATED_SIZE): add new setting macro to enable
+ GC.allocated_size.
+ If platform supports `malloc_usable_size()' (or similar one),
+ GC.allocated_size can be implemented with this function.
+ Default is 0.
- * re.c (rb_reg_s_quote): quote whitespaces for /x cases.
+ * gc.c (vm_xmalloc, vm_xrealloc, vm_xfree): use vm_malloc_size()
+ to detect collect allocated size.
-Fri Apr 26 06:48:23 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
+ * gc.c (vm_malloc_increase): refactoring.
- * ext/dl/ptr.c (cary2ary): missing break in switch statements.
+Thu Dec 5 13:19:03 2013 Aman Gupta <ruby@tmm1.net>
-Fri Apr 26 09:35:47 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
-
- * eval.c (rb_proc_new): make Proc from C function. [new]
+ * include/ruby/ruby.h: remove INTERNAL_EVENT_GC_END and replace with
+ two new events: GC_END_MARK and GC_END_SWEEP
+ * gc.c (gc_after_sweep): emit GC_END_SWEEP after lazy sweep is done
+ * gc.c (gc_marks_body): emit GC_END_MARK at end of minor/major mark
+ * ext/-test-/tracepoint/tracepoint.c (struct tracepoint_track): tests
+ for new events.
+ * test/-ext-/tracepoint/test_tracepoint.rb (class TestTracepointObj):
+ ditto.
+ * NEWS: remove ObjectSpace.after_gc_*_hook. These are only a sample,
+ and will be removed before ruby 2.1.
+ * ext/objspace/gc_hook.c: remove ObjectSpace.after_gc_end_hook=
- * intern.h (rb_proc_new): prototype.
+Thu Dec 5 10:47:56 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Apr 24 14:56:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * ruby_atomic.h (ATOMIC_PTR_EXCHANGE): atomic exchange function for
+ a generic pointer.
- * eval.c (proc_to_proc): return self. [new]
+Thu Dec 5 10:47:09 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (block_pass): no need to convert if block is Proc.
+ * gc.c (finalize_deferred): flush all deferred finalizers while other
+ finalizers can get ready to run newly by lazy sweep.
+ [ruby-core:58833] [Bug #9205]
-Wed Apr 24 14:21:41 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Thu Dec 5 09:07:59 2013 Aman Gupta <ruby@tmm1.net>
- * configure.in: set size of the initial stack from
- 2MB to 32MB on MinGW/Cygwin.
+ * gc.c (ruby_gc_set_params): Accept safe_level argument so GC tuning
+ settings can be applied before rb_safe_level() is available.
+ * internal.h (rb_gc_set_params): ditto.
+ * ruby.c (process_options): Apply GC tuning early during boot process
+ so boot-time allocations can benefit. This also benefits any code
+ loaded in via `ruby -r`.
-Wed Apr 24 14:06:35 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Dec 4 13:02:13 2013 Aman Gupta <ruby@tmm1.net>
- * numeric.c (num_step): try to reduce residual on Float operations.
+ * vm_trace.c (rb_suppress_tracing): Fix initialization of stack
+ allocated rb_trace_arg_t structure. Without this patch, sometimes
+ INTERNAL_EVENT_GC would be skipped accidentally inside
+ rb_threadptr_exec_event_hooks_orig().
-Wed Apr 24 06:48:31 2002 Koji Arai <jca02266@nifty.ne.jp>
+Wed Dec 4 12:57:24 2013 Aman Gupta <ruby@tmm1.net>
- * io.c (rb_io_mode_flags): both 'r+b' and 'rb+' should be allowed.
+ * string.c (fstr_update_callback): Improve implementation in r43968
+ based on feedback from @nagachika. In the existing case, we can
+ return ST_STOP to prevent any hash modification. In the !existing
+ case, set both key and value to the fstr.
- * io.c (rb_io_mode_modenum): ditto.
+Wed Dec 4 12:47:54 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Apr 24 01:16:14 2002 Nobuyoshi Nakada <nobu@ruby-lang.org>
+ * lib/delegate.rb (Delegator#method_missing): ignore the target if not
+ set, and delegate to global methods. [ruby-core:58572] [Bug #9155]
- * ext/stringio/stringio.c (strio_mark): must check if ptr is NULL
- first. [ruby-talk:38873]
+ * lib/delegate.rb (Delegator#respond_to_missing): ditto.
- * lib/mkmf.rb (create_makefile): should print depend file when
- make is other than nmake.
+ * lib/delegate.rb (SimpleDelegator#__getobj__): yield and return if
+ not delegated but a block is given, like as Hash#fetch.
-Wed Apr 24 00:37:12 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+ * lib/delegate.rb (DelegateClass#__getobj__): ditto.
- * ext/extmk.rb.in (create_makefile): use `{$(srcdir)}' directive instead
- of `$(srcdir)/' when including depend file.
+Tue Dec 3 23:48:18 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/mkmf.rb (create_makefile): add `{$(srcdir)}' when including depend
- file.
+ * configure.in: check malloc_size() availability.
-Tue Apr 23 12:58:18 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: use malloc_size() with malloc/malloc.h if available.
- * gc.c (rb_memerror): rename from mem_error, and exported.
+Tue Dec 3 23:06:20 2013 Narihiro Nakamura <authornari@gmail.com>
- * gc.c (Init_GC): pre-allocate NoMemoryError instance.
+ * object.c (rb_obj_clone): don't copy FL_WB_PROTECTED of a
+ original object.
- * object.c (convert_type): error message changed from "failed to
- convert" to "cannot convert", since it does not try to convert
- if an object does not respond to the converting method.
+Tue Dec 3 22:32:18 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Apr 22 09:31:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * hash.c (rb_hash_recursive): make similar (recursive) constructs
+ return same hash value. execute recursively, and rewind to the
+ topmost frame with an object which .eql? to the recursive
+ object, if recursion is detected.
- * eval.c (block_pass): convert Method to Proc using
- rb_check_convert_type().
+ * hash.c (rb_hash): detect recursion for all `hash' methods. each
+ `hash' methods no longer need to use rb_exec_recursive().
- * object.c (rb_check_convert_type): always convert T_DATA
+Tue Dec 3 21:53:15 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_thread_cleanup): should not terminate main_thread by
- Fatal error.
+ * vm_eval.c (rb_catch_protect): new function similar to
+ rb_catch_obj(), but protect from all global jumps like as
+ rb_load_protect(), rb_protect(), etc.
- * regex.c (is_in_list): need to not exclude NUL and NEWLINE.
+Tue Dec 3 20:18:46 2013 Narihiro Nakamura <authornari@gmail.com>
-Sat Apr 20 00:19:13 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * object.c (rb_obj_clone): Protect FL_PROMOTED and FL_WB_PROTECTED
+ flags of a destination object.
- * re.c (rb_reg_expr_str): wrong backslash escapement.
+Tue Dec 3 20:16:38 2013 Masaki Matsushita <glass.saga@gmail.com>
- * re.c (rb_reg_expr_str): do not escape embedded space
- characters.
+ * array.c (rb_hash_rehash): use hash_alloc() instead of rb_hash_new(),
+ to hide temporary object from ObjectSpace. [Bug #9187]
-Fri Apr 19 22:03:40 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+Tue Dec 3 17:11:47 2013 Aman Gupta <ruby@tmm1.net>
- * win32/Makefile.sub: add -DNT to $CFLAGS instead of $CPPFLAGS.
+ * load.c (features_index_add_single): Move loaded_features_index array values off
+ the ruby heap. [Bug #9201] [ruby-core:58805]
+ * load.c (loaded_features_index_clear_i): Clean up off-heap array structure.
+ * vm.c (rb_vm_mark): Remove unnecessary mark_tbl for loaded_features_index.
+ This improves minor GC time by 15% in a large application.
- * win32/setup.mak: ditto.
+Tue Dec 3 17:01:45 2013 Aman Gupta <ruby@tmm1.net>
-Fri Apr 19 17:24:22 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * include/ruby/ruby.h (struct RClass): Add wrapper struct around
+ RClass->m_tbl with serial. This prevents double marking method
+ tables, since many classes/modules can share the same method table.
+ This improves minor mark time in a large application by 30%.
+ * internal.h (struct method_table_wrapper): Define new
+ wrapper struct with additional serial.
+ * internal.h (RCLASS_M_TBL_INIT): New macro for initializing method
+ table wrapper and st_table.
+ * method.h (void rb_sweep_method_entry): Rename rb_free_m_table to
+ rb_free_m_tbl for consistency
+ * .gdbinit (define rb_method_entry): Update rb_method_entry gdb helper
+ for new method table structure.
+ * class.c: Use RCLASS_M_TBL_WRAPPER and
+ RCLASS_M_TBL_INIT macros.
+ * class.c (rb_include_class_new): Share WRAPPER between module and
+ iclass, so serial can prevent double marking.
+ * eval.c (rb_prepend_module): ditto.
+ * eval.c (rb_using_refinement): ditto.
+ * gc.c: Mark and free new wrapper struct.
+ * gc.c (obj_memsize_of): Count size of additional wrapper struct.
- * marshal.c (w_object): T_DATA process patch from Joel VanderWerf
- <vjoel@PATH.Berkeley.EDU>. This is temporary hack; it remains
- undocumented, and it will be removed when marshaling is
- re-designed.
+Tue Dec 3 14:05:49 2013 Masaki Matsushita <glass.saga@gmail.com>
- * marshal.c (r_object): ditto.
+ * array.c (rb_ary_uniq_bang): remove duplicate code.
-Fri Apr 19 17:10:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Dec 3 13:40:42 2013 Masaki Matsushita <glass.saga@gmail.com>
- * numeric.c (num_step): Integer#step is moved to Numeric#step;
- Fixnum#step is merged into this method.
+ * array.c (ary_add_hash): set and return values because string keys
+ will be frozen. [ruby-core:58809] [Bug #9202]
- * numeric.c (int_dotimes): Fixnum#times is merged.
+ * array.c (rb_ary_uniq_bang): ditto.
- * numeric.c (int_upto): Fixnum#upto is merged.
+ * array.c (rb_ary_or): ditto.
- * numeric.c (int_downto): Fixnum#downto is merged.
+ * array.c (rb_ary_uniq): ditto.
-Fri Apr 19 16:22:55 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * test/ruby/test_array.rb: tests for above.
- * ext/socket/extconf.rb: include <windows.h>, <winsock.h> on _WIN32.
+ The patch is from normalperson (Eric Wong).
- * win32/win32.c: include <mswsock.h> on __MINGW32__.
+Tue Dec 3 12:20:21 2013 Aman Gupta <ruby@tmm1.net>
- * configure.in: cleanup for autoconf 2.5x.
+ * string.c (rb_fstring): Use st_update instead of st_lookup +
+ st_insert.
+ * string.c (fstr_update_callback): New callback for st_update.
- * configure.in: use gcc -shared instead of dllwrap on Cygwin/MinGW.
+Tue Dec 3 12:17:59 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/extmk.rb, lib/mkmf.rb: get rid of "--def=".
+ * lib/rdoc/constant.rb (RDoc::Constant#documented?): workaround for
+ NoMethodError when the original of alias is not found.
-Fri Apr 19 14:57:44 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Tue Dec 3 10:43:58 2013 Eric Hodel <drbrain@segment7.net>
- * re.c (rb_reg_to_s): remove redundant shy group.
+ * ext/openssl/lib/openssl/buffering.rb: Return ASCII-8BIT strings from
+ SSLSocket methods. [ruby-trunk - Bug #9028]
+ * test/openssl/test_ssl.rb: Test for the above.
-Fri Apr 19 01:08:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Dec 3 09:42:27 2013 Eric Hodel <drbrain@segment7.net>
- * eval.c (rb_thread_cleanup): current thread may be THREAD_STOPPED,
- for example when terminated from signal handler.
+ * lib/rdoc: Update to RDoc master 900de99. Changes include:
-Thu Apr 18 19:03:15 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ Fixed documentation display of constants
- * regex.c (re_compile_pattern): remove /p support.
+ Fixed handling of unknown parsers
- * regex.h: ditto.
+ * test/rdoc: ditto.
- * parse.y (parse_regx): ditto.
+Mon Dec 2 22:30:10 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Thu Apr 18 17:01:43 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
+ * hash.c (getenv): fixed test failures introduced by r43950.
+ [ruby-core:58774] [Bug #9195] reported by phasis68 (Heesob Park).
- * ext/dl/ptr.c (rb_dlptr_cast): removed.
+Mon Dec 2 21:49:19 2013 Masaki Matsushita <glass.saga@gmail.com>
-Thu Apr 18 17:01:43 2002 Tanaka Akira <akr@m17n.org>
+ * hash.c (rb_hash_rehash): make temporary st_table under the control
+ of GC. [Bug #9187]
- * re.c (rb_reg_to_s): new function for Regexp#to_s.
+ * test/ruby/test_hash.rb: add a test for above.
-Wed Apr 17 23:55:34 2002 Akinori MUSHA <knu@iDaemons.org>
+Mon Dec 2 17:23:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * ext/Setup*, ext/bigfloat/*: Back out the import of BigFloat in
- favor of its forthcoming successor, BigDecimal.
+ * variable.c (rb_mod_constants): when calling Module#constants with
+ inherit=false, there is no need to use a hashtable to deduplicate
+ constant names. [Feature #9196] [ruby-core:58786]
-Wed Apr 17 16:53:33 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Dec 2 14:16:52 2013 Eric Hodel <drbrain@segment7.net>
- * re.c (rb_reg_expr_str): should treat backslash specially in
- escaping.
+ * lib/net/smtp.rb (Net::SMTP#critical): Always return a
+ Net::SMTP::Response. Patch by Pawel Veselov.
+ [ruby-trunk - Bug #9125]
+ * test/net/smtp/test_smtp.rb: Test for the above.
-Wed Apr 17 08:16:41 2002 Michal Rokos <m.rokos@sh.cvut.cz>
+Mon Dec 2 05:52:33 2013 Eric Hodel <drbrain@segment7.net>
- * io.c: complete off_t handling; missing argument for
- fptr_finalize(); polished rb_scan_args call.
+ * lib/rubygems: Update to RubyGems master baa965b. Notable changes:
-Wed Apr 17 00:01:59 2002 Michal Rokos <m.rokos@sh.cvut.cz>
+ Copy directories to lib/ when installing extensions. This completes
+ the fix for [ruby-trunk - Bug #9106]
- * dir.c: wrap multi-statment macro by do { } while (0)
+ * test/rubygems: ditto.
- * eval.c, numeric,c, sprintf.c, util.c: ditto.
+Mon Dec 2 02:03:47 2013 Shota Fukumori <her@sorah.jp>
-Tue Apr 16 08:59:50 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * test/ruby/test_case.rb (test_nomethoderror):
+ Add test related to r43913, r43914
- * eval.c (assign): convert mrhs to mvalue.
+Mon Dec 2 00:53:01 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Mon Apr 15 18:12:57 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * hash.c (getenv): use ANSI codepage version of getenv() for miniruby
+ on Windows.
+ [ruby-core:58732] [Bug #9189] reported by phasis68 (Heesob Park).
- * bignum.c (rb_big_eq): check `y == x' if y is neither Fixnum,
- Bignum, nor Float.
+Sun Dec 1 22:14:27 2013 Zachary Scott <e@zzak.io>
-Mon Apr 15 09:27:31 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * doc/contributors.rdoc: [DOC] Import contributors from redmine wiki
+ Many wiki pages have become outdated and spam-ridden, we will import
+ these to trunk and begin maintaining them in ruby-trunk. This will
+ also allow new contributors to easily contribute patches to update
+ these pages, where previously a redmine account with wiki access was
+ required. Another bonus is having a contributors file to show thanks
+ to all of the people who have submitted a patch to Ruby.
- * pack.c (pack_unpack): should treat 'U' in character unit, not in
- byte unit.
+Sun Dec 1 18:03:26 2013 Zachary Scott <e@zzak.io>
- * error.c (exc_initialize): should clear backtrace information.
+ * doc/maintainers.rdoc: [DOC] Current maintainers of Ruby
-Sat Apr 13 23:42:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Dec 1 17:17:36 2013 Zachary Scott <e@zzak.io>
- * io.c (rb_io_fptr_cleanup): should close IO created by IO.new(fd).
+ * doc/contributing.rdoc: [DOC] Current branch maintainers
- * rubyio.h: remove FMODE_FDOPEN
+Sun Dec 1 17:16:36 2013 Zachary Scott <e@zzak.io>
-Fri Apr 12 12:54:04 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+ * doc/contributing.rdoc: [DOC] Reporting other (ruby-lang.org) issues
- * win32/Makefile.sub: use missing/acosh.c.
+Sun Dec 1 17:15:51 2013 Zachary Scott <e@zzak.io>
- * win32/config.h.in: define HAVE_COSH, HAVE_SINH, and HAVE_TANH.
+ * doc/contributing.rdoc: [DOC] Current platform maintainers
-Fri Apr 12 02:58:55 2002 Koji Arai <jca02266@nifty.ne.jp>
+Sun Dec 1 17:14:55 2013 Zachary Scott <e@zzak.io>
- * struct.c (rb_struct_select): fix typo.
+ * doc/contributing.rdoc: [DOC] Reporting downstream distro issues
-Fri Apr 12 00:34:17 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Sun Dec 1 14:37:20 2013 Masaki Matsushita <glass.saga@gmail.com>
- * MANIFEST (missing/acosh.c): added.
+ * hash.c (rb_hash_to_a): specify array capa.
- * Makefile.in (missing/acosh.c): ditto.
+Sun Dec 1 14:15:36 2013 Masaki Matsushita <glass.saga@gmail.com>
- * Makefile.in (missing/fileblocks.c): ditto.
+ * hash.c (rb_hash_rehash): fix to free new st_table when exception
+ is raised in do_hash(). [Bug #9187]
- * configure.in (AC_REPLACE_FUNCS): check acosh() on behalf of
- inverse hyperbolic functions, asinh() and atanh().
+Sun Dec 1 11:57:59 2013 Zachary Scott <e@zzak.io>
- * missing/acosh.c: added for acosh(), asinh() and atanh().
+ * ext/openssl/lib/openssl/buffering.rb: Fix warning in copyright
-Thu Apr 11 20:01:44 2002 Masahiro Tomita <tommy@tmtm.org>
+Sun Dec 1 08:27:28 2013 Eric Hodel <drbrain@segment7.net>
- * io.c (io_write): check error if written data is less than
- specified size to detect EPIPE.
+ * lib/rubygems: Update to RubyGems master 66e5c39. Notable changes:
-Thu Apr 11 19:10:37 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ Implement gem.deps.rb (Gemfile) .lock support
- * io.c (remain_size): IO#read returns "" if file.size == 0.
+ Fixed `gem uninstall` for a relative directory in GEM_HOME.
- * random.c (rand_init): add check for initstate(3).
+ * test/rubygems: ditto.
- * configure.in: ditto.
+Sun Dec 1 06:00:49 2013 Aman Gupta <ruby@tmm1.net>
-Thu Apr 11 09:31:19 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
+ * test/ruby/test_gc.rb (test_gc_reason): Force minor GC by consuming
+ free slots to fix test.
- * ext/dl/ptr.c: raise() -> rb_raise(). (Thanks Tetsuya Watanabe)
+Sat Nov 30 21:22:11 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/dl/sym.c: ditto.
+ * dir.c (dir_initialize): check unknown keywords. [ruby-dev:47152]
+ [Bug #8060]
-Thu Apr 11 07:57:48 2002 Michal Rokos <m.rokos@sh.cvut.cz>
+Sat Nov 30 18:05:38 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (assign): ruby_verbose should be surrounded by RTEST().
+ * ext/win32ole/win32ole.c (hash2named_arg): correct declaration to fix
+ build failure. a patch by phasis68 (Heesob Park) at
+ [ruby-core:58710]. [Bug #9184]
- * object.c (rb_str2cstr): ditto.
+Sat Nov 30 17:46:35 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (void_expr): ditto.
+ * eval.c (ruby_cleanup): determine exit status and signal to terminate
+ before finalization, to get rid of access destroyed T_DATA exception
+ object. [ruby-core:58643] [Bug #9167]
- * parse.y (void_stmts): ditto.
+Sat Nov 30 16:25:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * variable.c (rb_ivar_get): ditto.
+ * enumerator.c (enumerator_with_index): should not store local variable
+ address to memoize the arguments. it is invalidated after the return.
+ [ruby-core:58692] [Bug #9178]
- * variable.c (rb_cvar_set): ditto.
+Sat Nov 30 13:28:13 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * variable.c (rb_cvar_get): ditto.
+ * siphash.c (sip_hash24): fix for aligned word access little endian
+ platforms. [ruby-core:58658] [Bug #9172]
-Thu Apr 11 07:02:31 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
+Sat Nov 30 13:21:15 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/dl: Add dl.txt instead of README and README.html.
+ * vm_eval.c (rb_yield_block): implement non-nil block argument.
-Thu Apr 11 01:55:52 2002 Wakou Aoyama <wakou@fsinet.or.jp>
+Fri Nov 29 20:59:39 2013 Masaya Tarui <tarui@ruby-lang.org>
- * lib/cgi/session.rb: support for multipart form.
+ * vm_dump.c (rb_vmdebug_debug_print_pre): Bugfix. Get PC directly.
+ PC is cached into local stack and cfp->pc is incorrect at next of
+ branch or jump.
+ * vm_exec.h (DEBUG_ENTER_INSN): catch up this change.
+ * vm_core.h: update signature of rb_vmdebug_debug_print_pre.
-Wed Apr 10 18:42:23 2002 Tachino Nobuhiro <tachino@jp.fujitsu.com>
+Fri Nov 29 20:43:57 2013 Masaya Tarui <tarui@ruby-lang.org>
- * dir.c (glob_helper): should have proceed link when link->path
- was non existing symbolic link.
+ * compile.c: Bugsfix for dump_disasm_list.
+ rb_inspect denies a hidden object. So, insert wrapper that creates
+ the unhidden one.
+ adjust->label is null sometimes.
+ insn_data_line_no makes no sense at all.
-Wed Apr 10 17:30:19 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Nov 29 18:06:45 2013 Shota Fukumori <her@sorah.jp>
- * variable.c (rb_obj_remove_instance_variable): raise NameError if
- specified instance variable is not defined.
+ * test/ruby/test_case.rb (test_method_missing): Test for r43913.
- * variable.c (generic_ivar_remove): modified to check ivar
- existence.
+Fri Nov 29 17:53:22 2013 Shota Fukumori <her@sorah.jp>
-Wed Apr 10 14:16:45 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * vm_insnhelper.c (check_match): Fix SEGV with VM_CHECKMATCH_TYPE_CASE
+ and class of `pattern` has `method_missing`
+ [Bug #8872] [ruby-core:58606]
- * misc/ruby-mode.el (ruby-font-lock-keywords): fontify symbols for
- unary operators and aset.
+Fri Nov 29 17:06:09 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Apr 9 13:40:31 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * vm_eval.c (rb_yield_block): yield block with rb_block_call_func
+ arguments.
- * lib/mkmf.rb (try_link0): need expand macro in command, sync with
- ext/extmk.rb.in.
+ * range.c (range_each): use rb_yield_block.
- * lib/mkmf.rb (try_cpp): ditto.
+ * include/ruby/ruby.h (RB_BLOCK_CALL_FUNC_ARGLIST): constify argv.
- * lib/mkmf.rb (egrep_cpp): ditto.
+ * enum.c (rb_enum_values_pack): ditto.
-Tue Apr 9 12:44:59 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * vm_eval.c (rb_block_call, rb_check_block_call): ditto.
- * ext/stringio/stringio.c (check_modifiable): performance
- improvement. avoid calling rb_str_modify() twice.
+ * include/ruby/ruby.h (RB_BLOCK_CALL_FUNC_ARGLIST): for declaration
+ argument list of rb_block_call_func.
- * ext/stringio/stringio.c (strio_ungetc): ditto.
+Fri Nov 29 11:26:43 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/stringio/stringio.c (strio_putc): ditto.
+ * include/ruby/ruby.h (rb_block_call_func): add blockarg. block
+ function can take block argument, e.g., proc {|&blockarg| ...}.
- * ext/stringio/stringio.c (strio_write): ditto, and use
- rb_str_cat() as possible.
+Thu Nov 28 21:43:48 2013 Zachary Scott <e@zzak.io>
-Tue Apr 9 05:17:48 2002 Akinori MUSHA <knu@iDaemons.org>
+ * doc/dtrace_probes.rdoc: [DOC] Import dtrace probes doc from wiki
- * re.c (match_select): fix index references and make
- MatchData#select actually work.
+Thu Nov 28 21:17:32 2013 Zachary Scott <e@zzak.io>
-Tue Apr 9 00:20:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * doc/contributing.rdoc: [DOC] Add heading above ChangeLog tips to
+ setup entry for commits, its not required. Actually easier if
+ contributors don't include a ChangeLog entry.
- * file.c (rb_file_s_extname): new method based on the proposal
- (and patch) from Mike Hall. [new]
+Thu Nov 28 21:16:18 2013 Zachary Scott <e@zzak.io>
-Mon Apr 8 04:50:51 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * doc/contributing.rdoc: [DOC] Add coding style heading for patch
+ rules
- * eval.c (error_handle): default to 1 unless status is set.
+Thu Nov 28 21:15:45 2013 Zachary Scott <e@zzak.io>
- * eval.c (ruby_options): guard error_handle() with PROT_NONE.
+ * doc/contributing.rdoc: [DOC] Add notes about deciding what to patch
- * eval.c (ruby_stop): ditto.
+Thu Nov 28 19:43:45 2013 Masaki Matsushita <glass.saga@gmail.com>
-Mon Apr 8 01:22:24 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * benchmark/bm_hash_flatten.rb: added. r43896 is about 4 times faster
+ than 2.0.0p353.
- * math.c (math_acosh): added. [new]
+ * benchmark/bm_hash_keys.rb: added. r43896 is about 5 times faster
+ than 2.0.0p353.
- * math.c (math_asinh): ditto.
+ * benchmark/bm_hash_values.rb: added. r43896 is about 5 times faster
+ than 2.0.0p353.
- * math.c (math_atanh): ditto.
+Thu Nov 28 19:29:04 2013 Zachary Scott <e@zzak.io>
- * struct.c (rb_struct_each_pair): method added. [new]
+ * doc/contributing.rdoc: [DOC] Add notes about slideshow proposals
+ from wiki page: HowToRequestFeatures
-Sat Apr 6 02:04:49 2002 Guy Decoux <ts@moulon.inra.fr>
+Thu Nov 28 17:34:42 2013 Masaki Matsushita <glass.saga@gmail.com>
- * class.c (rb_singleton_class): wrong condition; was creating
- unnecessary singleton class.
+ * st.c: add st_values() and st_values_check().
-Sat Apr 6 01:09:41 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * include/ruby/st.h: add prototypes for above.
- * sprintf.c (remove_sign_bits): simplifies the condition.
+ * hash.c (rb_hash_values): use st_values_check() for performance
+ improvement if VALUE and st_data_t are compatible.
- * bignum.c (get2comp): calculate proper carry over.
+Thu Nov 28 17:14:14 2013 Masaki Matsushita <glass.saga@gmail.com>
-Fri Apr 5 05:07:28 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
+ * st.c (st_keys): fix not to use Qundef in st.c.
- * ext/dl: Add dl/struct.rb.
+ * include/ruby/st.h: define modified prototype.
-Thu Apr 4 14:08:52 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
+ * hash.c (rb_hash_keys): use modified st_keys().
- * ext/dl/lib/dl/import.rb: Get rid of ineffective
- encoding/decoding procedures.
+Thu Nov 28 16:34:43 2013 Aman Gupta <ruby@tmm1.net>
-Thu Apr 4 01:08:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: Expose details about last garbage collection via GC.stat.
+ * gc.c (gc_stat): Add :last_collection_flags for reason/trigger/type of
+ last GC run.
+ * gc.c (gc_prof_sweep_timer_stop): Record HAVE_FINALIZE GPR even
+ without GC_PROFILE_MORE_DETAIL.
+ * gc.c (gc_profile_flags): Add GC::Profiler.decode_flags to make sense
+ of GC.stat[:last_collection_flags]
+ * test/ruby/test_gc.rb (class TestGc): Test for above.
- * numeric.c (int_step): step may be a float less than 1.
+Thu Nov 28 16:15:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Apr 3 20:42:34 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
+ * win32/win32.c (rb_w32_dup2): extract from rb_cloexec_dup2() and
+ redirect_dup2().
- * ext/dl: Merge Nakada's patch.
+Tue Nov 28 14:40:00 2013 Akira Matsuda <ronnie@dio.jp>
- * ext/dl/dl.h: define StringValuePtr for ruby-1.6.
+ * lib/drb/ssl.rb: [Doc] Fix typo
-Wed Apr 3 15:37:24 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
+Thu Nov 28 13:56:05 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/dl: Add dl/types.rb.
+ * common.mk (Doxyfile): tool/file2lastrev.rb needs running with
+ BASERUBY since r43617. [ruby-dev:47823] [Bug #9169]
-Wed Apr 3 01:54:10 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Nov 28 09:18:39 2013 Koichi Sasada <ko1@atdot.net>
- * ext/extmk.rb.in (enable_config): follow lib/mkmf.rb.
+ * string.c (rb_fstring): fstrings should be ELTS_SHARED.
+ If we resurrect dying objects (non-marked, but not swept yet),
+ pointing shared string can be collected.
+ To avoid such issue, fstrings (recorded to fstring_table)
+ should not be ELTS_SHARED (should not have a shared string).
-Tue Apr 2 19:59:13 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
+Thu Nov 28 01:35:08 2013 Masaki Matsushita <glass.saga@gmail.com>
- * ext/dl: Merge from rough.
+ * st.c (st_keys): fix to use st_index_t for size of hash.
-Tue Apr 2 15:17:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Nov 28 00:36:52 2013 Masaki Matsushita <glass.saga@gmail.com>
- * Makefile.in (CPPFLAGS): remove @includedir@.
+ * st.c (st_keys): define st_keys(). it writes each key to buffer.
- * lib/mkmf.rb (create_makefile): ditto.
+ * hash.c (rb_hash_keys): use st_keys() for performance improvement
+ if st_data_t and VALUE are compatible.
- * ext/extmk.rb.in (create_makefile): ditto.
+ * include/ruby/st.h: define macro ST_DATA_COMPATIBLE_P() to predicate
+ whether st_data_t and passed type are compatible.
-Tue Apr 2 15:09:05 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * configure.in: check existence of builtin function to use in
+ ST_DATA_COMPATIBLE_P().
- * ext/socket/socket.c (sock_addrinfo): should clear addrinfo hints.
+Thu Nov 28 00:07:28 2013 Masaki Matsushita <glass.saga@gmail.com>
-Mon Apr 1 23:48:12 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp>
+ * ruby_atomic.h: remove duplicate definitions between ATOMIC_XXX
+ and ATOMIC_SIZE_XXX.
- * lib/mkmf.rb: install any files using $INSTALLFILES.
- (see also [ruby-dev:16683])
+Wed Nov 27 23:55:50 2013 Masaki Matsushita <glass.saga@gmail.com>
-Mon Apr 1 17:25:50 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ruby_atomic.h: define ATOMIC_SIZE_CAS() with
+ __atomic_compare_exchange_n() and refactoring.
- * io.c (rb_io_fptr_cleanup): need flush even when io will not be
- closed.
+Tue Nov 27 21:43:00 2013 Akira Matsuda <ronnie@dio.jp>
- * io.c (rb_io_initialize): was calling wrong function
- rb_io_mode_flags().
+ * lib/irb/notifier.rb: [Doc] Fix typo
+ * ext/json/lib/json/common.rb: Ditto.
-Mon Apr 1 16:52:00 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Tue Nov 27 18:04:57 2013 Akira Matsuda <ronnie@dio.jp>
- * ext/sdbm/init.c (each_pair): moved prototype before the
- definition.
+ * lib/irb/notifier.rb: Fix typo
- * ext/racc/cparse/cparse.c (call_scaniter): ditto.
+Wed Nov 27 17:54:57 2013 Koichi Sasada <ko1@atdot.net>
-Mon Apr 1 15:11:40 2002 NAKAMURA Usaku <usa@ruby-lang.org>
+ * gc.c (gc_mark_stacked_objects): check only when check_mode > 0.
- * ext/racc/cparse/cparse.c: prototype; call_scaniter().
+Wed Nov 27 16:07:19 2013 Aman Gupta <ruby@tmm1.net>
- * ext/sdbm/init.c: prototype; each_pair().
+ * test/ruby/test_gc.rb (class TestGc): Fix warning in
+ test_expand_heap.
- * ext/tcltklib/tcltklib.c: prototypes; _timer_for_tcl() and ip_ruby(),
- Nobu's patch at [ruby-dev:14483].
+Wed Nov 27 15:55:52 2013 Aman Gupta <ruby@tmm1.net>
-Mon Apr 1 10:56:40 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (Init_GC): Add new GC::INTERNAL_CONSTANTS for information about
+ GC heap/page/slot sizing.
+ * test/ruby/test_gc.rb (class TestGc): test for above.
- * re.c (match_setter): it's OK to assign nil to $~.
+Wed Nov 27 15:21:17 2013 Aman Gupta <ruby@tmm1.net>
-Mon Apr 1 03:55:46 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (gc_page_sweep): Fix compile warning from last commit.
+ * hash.c (hash_aset_str): Re-use existing variable to avoid
+ unnecessary pointer dereferencing.
- * io.c (rb_io_fptr_cleanup): do not close IO created by for_fd().
+Wed Nov 27 15:12:55 2013 Koichi Sasada <ko1@atdot.net>
- * io.c (rb_io_initialize): mark IO created by for_fd
+ * gc.c (gc_page_sweep): disable debug print.
- * ext/socket/socket.c (bsock_s_for_fd): ditto.
+Wed Nov 27 15:05:59 2013 Koichi Sasada <ko1@atdot.net>
-Fri Mar 29 20:21:58 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * gc.c (gc_stat): add new information heap_eden_page_length and
+ heap_tomb_page_length.
- * lib/mkmf.rb (create_makefile): default FLAGS to empty strings.
+ * test/ruby/test_gc.rb: fix to use GC.stat[:heap_eden_page_length]
+ instead of GC.stat[:heap_length].
+ This test expects `heap_eden_page_length' (used pages size).
-Fri Mar 29 16:36:52 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Wed Nov 27 15:02:53 2013 Aman Gupta <ruby@tmm1.net>
- * lib/mkmf.rb (arg_config): should use Shellwords::shellwords like
- ext/extmk.rb.in.
+ * test/ruby/test_eval.rb (class TestEval): Use assert_same instead of
+ assert_equal.
+ * test/ruby/test_hash.rb (class TestHash): ditto.
+ * test/ruby/test_iseq.rb (class TestISeq): ditto.
- * lib/mkmf.rb (enable_config): default had priority over command
- line options and configure_args.
+Wed Nov 27 14:50:02 2013 Eric Hodel <drbrain@segment7.net>
- * lib/mkmf.rb: support autoconf 2.53 style variables from
- environment.
+ * lib/rinda/ring.rb: Announce RingServer for the same process.
+ [ruby-trunk - Bug #9163]
+ * test/rinda/test_rinda.rb: Tests for the above.
- * lib/mkmf.rb: add directory options.
+Wed Nov 27 14:37:33 2013 Aman Gupta <ruby@tmm1.net>
-Fri Mar 29 15:49:29 2002 Usaku Nakamura <usa@ruby-lang.org>
+ * test/ruby/test_eval.rb (class TestEval): Add test for shared eval
+ filenames via rb_fstring().
+ * test/ruby/test_iseq.rb (class TestISeq): Add test for shared
+ iseq labels via rb_fstring(). [Bug #9159]
- * win32/README.win32: follow recent changes.
+Wed Nov 27 14:24:55 2013 Aman Gupta <ruby@tmm1.net>
-Fri Mar 29 14:44:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * hash.c (hash_aset_str): Use rb_fstring() to de-duplicate hash string
+ keys. Patch by Eric Wong. [Bug #8998] [ruby-core:57727]
+ * test/ruby/test_hash.rb (class TestHash): test for above.
- * io.c (io_fflush): DRY patch from /Christoph applied.
+Wed Nov 27 10:39:39 2013 Aman Gupta <ruby@tmm1.net>
-Thu Mar 28 18:58:13 2002 Usaku Nakamura <usa@ruby-lang.org>
+ * gc.c: Rename rb_heap_t members:
+ used -> page_length
+ limit -> total_slots
- * win32/Makefile.sub (config.status): reflect user defined $CC in
- config.status.
+Wed Nov 27 08:24:49 2013 Aman Gupta <ruby@tmm1.net>
-Thu Mar 28 18:03:51 2002 Minero Aoki <aamine@loveruby.net>
+ * compile.c: Use rb_fstring() to de-duplicate string literals in code.
+ [ruby-core:58599] [Bug #9159] [ruby-core:54405]
+ * iseq.c (prepare_iseq_build): De-duplicate iseq labels and source
+ locations.
+ * re.c (rb_reg_initialize): Use rb_fstring() for regex string.
+ * string.c (rb_fstring): Handle non-string and already-fstr arguments.
+ * vm_eval.c (eval_string_with_cref): De-duplicate eval source
+ filename.
- * ext/strscan/strscan.c: add taint check.
+Wed Nov 27 07:13:54 2013 Aaron Patterson <aaron@tenderlovemaking.com>
- * ext/strscan/strscan.c: #getch/#get_byte should set regexp
- registers.
+ * ext/psych/lib/psych.rb: psych version 2.0.2
+ * ext/psych/psych.gemspec: ditto
- * ext/strscan/strscan.c: remove useless #include directive.
+Wed Nov 27 06:40:18 2013 Aaron Patterson <aaron@tenderlovemaking.com>
- * ext/strscan/strscan.c: refactor struct strscanner.
+ * ext/psych/lib/psych/scalar_scanner.rb: fix support for negative
+ years.
+ * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
+ * test/psych/test_date_time.rb: test for change.
+ Fixes: https://github.com/tenderlove/psych/issues/168
-Thu Mar 28 14:51:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Nov 27 04:46:55 2013 Aaron Patterson <aaron@tenderlovemaking.com>
- * ext/socket/socket.c (sock_addrinfo): should specify socktype
- from outside.
+ * ext/psych/lib/psych/scalar_scanner.rb: fix regexp for matching TIME
+ strings.
+ * test/psych/test_date_time.rb: test for change.
+ Fixes: https://github.com/tenderlove/psych/issues/171
-Wed Mar 27 17:04:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Nov 27 02:26:58 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (argf_binmode): should call next_argv() to initialize ARGF.
+ * string.c (str_new4): copy the original capacity so that memsize of
+ frozen shared string returns correct size.
- * io.c (argf_filename): ditto.
+Wed Nov 27 02:20:13 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (argf_file): ditto.
+ * array.c (rb_ary_hash): should not ignore the rest of recursive
+ constructs.
-Wed Mar 27 14:47:32 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * hash.c (rb_hash_hash): ditto.
- * io.c (READ_DATA_PENDING): configure.in has supported for uClibc,
- so remove uClibc stuff.
+ * range.c (range_hash): ditto.
-Wed Mar 27 13:14:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * struct.c (rb_struct_hash): ditto.
- * io.c (rb_io_sysseek): new method based on a patch from Aristarkh
- A Zagorodnikov <xm@bolotov-team.ru>. [new]
+ * test/-ext-/test_recursion.rb (TestRecursion): separate from
+ test/ruby/test_thread.rb.
- * io.c (READ_DATA_PENDING): use !feof(fp) for default behavior.
+Tue Nov 26 22:43:36 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Mar 26 20:28:50 2002 Minero Aoki <aamine@loveruby.net>
+ * hash.c (rb_hash): cut off if recursion detected to get rid of stack
+ overflow. [ruby-core:58567] [Bug #9151]
- * lib/net/http.rb: HTTP.get accepts URI.
+Tue Nov 26 20:02:39 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/http.rb: new method HTTP.get_uri.
+ * test/ruby/test_settracefunc.rb: add tests for a_call/a_return
+ by Brandur <brandur@mutelight.org> [Feature #9120]
- * lib/net/http.rb: add some HTTP 1.1 response codes.
+Tue Nov 26 19:29:52 2013 Koichi Sasada <ko1@atdot.net>
-Tue Mar 26 20:25:28 2002 Minero Aoki <aamine@loveruby.net>
+ * common.mk: add useful config "set breakpoint pending on"
+ for run.gdb.
- * doc/net/protocol.rd.ja, smtp.rd.ja, pop.rd.ja: removed.
+Tue Nov 26 19:17:47 2013 Koichi Sasada <ko1@atdot.net>
- * MANIFEST: remove doc/net/* entries.
+ * ext/objspace/object_tracing.c (newobj_i): skip class_path if class
+ is frozen.
-Tue Mar 26 18:45:15 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ rb_class_path() can modify frozen classes (and causes errors).
+ This patch is temporary. We need no-modification/no-allocation
+ class path function.
- * configure.in (FILE_READPTR): check bufread instead of bufend
- for uClibc.
-
- * ext/extmk.rb.in (arg_config): should use Shellwords::shellwords.
+Tue Nov 26 18:12:13 2013 Koichi Sasada <ko1@atdot.net>
-Tue Mar 26 01:56:33 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_trace.c: skip "exception check" and "reentrant check (only normal
+ events) for internal events.
- * parse.y (primary): while/until statement modifiers to "begin"
- statement now work as "do .. while" even when begin statement
- has "rescue" or "ensure" [new].
+ Reentrant check for internal events are remaining.
- * parse.y (bodystmt): rescue/ensure is allowed at every bodies,
- i.e. method bodies, begin bodies, class bodies[new], and module
- bodies[new].
+Tue Nov 26 17:38:16 2013 Koichi Sasada <ko1@atdot.net>
-Mon Mar 25 22:10:04 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_trace.c: prohibit to specify normal events and internal events
+ simultaneously.
+ I will introduce special care for internal events later.
- * ext/socket/socket.c (sock_addrinfo): should specify ai_socktype
- for getaddrinfo hints.
+ * ext/-test-/tracepoint/tracepoint.c: test this behavior.
-Mon Mar 25 17:18:48 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * test/-ext-/tracepoint/test_tracepoint.rb: ditto.
- * dir.c (rb_push_glob): local variable 'maxnest' was
- uninitialized.
+Tue Nov 26 16:30:31 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Mar 25 16:53:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * file.c (rb_readlink): fix buffer overflow on a long symlink. since
+ rb_str_modify_expand() expands from its length but not its capacity,
+ need to set the length properly for each expansion.
+ [ruby-core:58592] [Bug #9157]
- * eval.c (rb_f_abort): embed aborting message into exception
- object [new].
+Tue Nov 26 14:23:17 2013 Aman Gupta <ruby@tmm1.net>
- * eval.c (terminate_process): utility function for exit and abort.
+ * ext/objspace/objspace_dump.c (dump_append_string_value): Escape
+ control characters for strict json parsers.
+ * ext/objspace/objspace_dump.c (objspace_dump): Document File/IO
+ output option.
-Tue Mar 26 14:04:47 2002 okabe katsuyuki <HGC02147@nifty.ne.jp>
+Tue Nov 26 11:43:19 2013 Masaki Matsushita <glass.saga@gmail.com>
- * win32/mkexports.rb: support VC++.NET.
+ * ruby_atomic.h: use __atomic builtin functions supported by GCC.
+ __sync family are legacy functions now and it is recommended
+ that new code use the __atomic functions.
+ http://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html
-Tue Mar 26 14:00:17 2002 Akinori MUSHA <knu@iDaemons.org>
+ * configure.in: check existence of __atomic functions.
- * ext/bigfloat/bigfloat.c: Fix the initializer's function name
- according to the new library name. (pointed out by nobu)
+Tue Nov 26 10:57:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Mar 26 11:12:01 2002 Minero Aoki <aamine@loveruby.net>
+ * ext/bigdecimal/bigdecimal.gemspec: revert Gem::Specification#date
+ for snapshot/release tarballs.
- * lib/fileutils.rb: new file.
+Tue Nov 26 06:42:50 2013 Aman Gupta <ruby@tmm1.net>
-Tue Mar 26 03:23:50 2002 Tanaka Akira <akr@m17n.org>
+ * NEWS: Add ObjectSpace.after_gc_{start,end}_hook=
+ * ext/objspace/objspace_dump.c: [DOC] catch up dump/dump_all to r43679
- * lib/pp.rb (pp): return nil like p.
+Tue Nov 26 04:12:10 2013 Eric Hodel <drbrain@segment7.net>
-Tue Mar 26 01:48:01 2002 Akinori MUSHA <knu@iDaemons.org>
+ * lib/rubygems: Update to RubyGems master 612f85a. Notable changes:
- * ext/bigfloat/extconf.rb: Downcase the library name. (BigFloat.so
- -> bigfloat.so)
+ Fixed installation and activation of git: and path: gems via
+ Gem.use_gemdeps
- * ext/bigfloat/bigfloat.c (BigFloat_inspect): Alter the inspect
- format not to look like an array. (pointed out by akr)
+ Improved documentation coverage
- * ext/bigfloat/bigfloat.c (BigFloat_hash): Implement BigFloat#hash.
+ * test/rubygems: ditto.
- * ext/bigfloat/bigfloat.c (BigFloat_dump, BigFloat_load):
- Support marshaling.
+Mon Nov 25 22:23:03 2013 Zachary Scott <e@zzak.io>
-Tue Mar 26 00:38:11 2002 Tanaka Akira <akr@m17n.org>
+ * lib/xmlrpc.rb: [DOC] Fix link to xmlrpc4r site [Bug #9148]
+ Patch by Giorgos Tsiftsis
- * configure.in (FILE_READPTR): check _p for 4.4BSD.
+Mon Nov 25 19:48:10 2013 Zachary Scott <e@zzak.io>
-Mon Mar 25 23:39:25 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * lib/uri/common.rb: [DOC] typo fixes by @vipulnsward [Fixes GH-456]
+ https://github.com/ruby/ruby/pull/456
+ * lib/uri/generic.rb: [DOC] ditto.
- * configure.in (FILE_READPTR): new. for IO#gets improvement.
+Mon Nov 25 14:34:42 2013 Zachary Scott <e@zzak.io>
- * io.c (READ_DATA_PENDING_PTR): ditto.
+ * ext/bigdecimal/bigdecimal.gemspec: bump BigDecimal to 1.2.3 for
+ proper release date in RubyGems
- * io.c (remain_size): separated from read_all().
+Mon Nov 25 14:25:08 2013 Zachary Scott <e@zzak.io>
- * io.c (read_all): argument chagend.
+ * ext/bigdecimal/bigdecimal.gemspec: Remove Gem::Specification#date
+ We should rely on rubygems to create the date the gem was released
+ for each version.
- * io.c (appendline): new. get a line and append to string.
+Mon Nov 25 06:53:30 2013 Koichi Sasada <ko1@atdot.net>
- * io.c (swallow): new. swallow continuous line delimiters.
+ * internal.h: do not use ruby_sized_xrealloc() and ruby_sized_xfree()
+ if HAVE_MALLOC_USABLE_SIZE (or _WIN32) is defined.
- * io.c (rb_io_getline_fast): add delimiter argument.
+ We don't need these function if malloc_usable_size() is available.
- * io.c (rb_io_getline): performance improvement.
+ * gc.c: catch up this change.
-Mon Mar 25 19:30:25 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * gc.c: define HAVE_MALLOC_USABLE_SIZE on _WIN32.
- * ext/extmk.rb.in (arg_config): get rid of single quotes
- for autoconf 2.53.
+ * array.c (ary_resize_capa): do not use ruby_sized_xfree() with
+ local variable to avoid "unused local variable" warning.
+ This change only has few impact.
-Mon Mar 25 17:49:41 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * string.c (rb_str_resize): ditto.
- * regex.c (mbc_startpos_func): VC6 seems to be unable to
- understand forward declaration for static variables.
+Mon Nov 25 05:05:04 2013 Koichi Sasada <ko1@atdot.net>
- * dir.c (rb_push_glob): local variable 'maxnest' was
- uninitialized.
+ * test/-ext-/tracepoint/test_tracepoint.rb: catch up GC.stat changes
+ at r43835.
-Mon Mar 25 13:24:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Nov 25 04:45:59 2013 Koichi Sasada <ko1@atdot.net>
- * ext/socket/socket.c (bsock_do_not_rev_lookup_set): should not be
- allowed when $SAFE > 3.
+ * gc.c: continue to change OLDSPACE -> OLDMALLOC.
+ RGENGC_ESTIMATE_OLDSPACE -> RGENGC_ESTIMATE_OLDMALLOC.
- * eval.c (rb_thread_ready): THREAD_TO_KILL threads should not turn
- into THREAD_RUNNABLE on wakeup.
+ * gc.c: add a new major GC reason GPR_FLAG_MAJOR_BY_OLDMALLOC.
- * eval.c (rb_thread_list): THREAD_TO_KILL threads should be in the
- list.
+Mon Nov 25 04:16:09 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (thgroup_list): ditto; by moving gid clearance from
- rb_thread_cleanup().
+ * gc.c: change terminology "..._num" to "..._slots" about slot operation.
+ * final_num -> final_slots
+ * objspace_live_num() -> objspace_live_slots()
+ * objspace_limit_num() -> objspace_limit_slots()
+ * objspace_free_num() -> objspace_free_slots()
-Mon Mar 25 11:06:19 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Mon Nov 25 04:03:12 2013 Koichi Sasada <ko1@atdot.net>
- * dln.c (dln_argv0): unused unless USE_DLN_A_OUT.
+ * gc.c (gc_stat): add internal information.
+ * heap_swept_slot
+ * malloc_increase
+ * malloc_limit
+ * remembered_shady_object
+ * remembered_shady_object_limit
+ * old_object
+ * old_object_limit
+ * oldmalloc_increase
+ * oldmalloc_limit
- * regex.c (mbc_startpos_func): should be static.
+ * gc.c (gc_stat): rename names.
+ * heap_live_num -> heap_live_slot
+ * heap_free_num -> heap_free_slot
+ * heap_final_slot -> heap_final_slot
-Sun Mar 24 12:19:09 2002 Koji Arai <jca02266@nifty.ne.jp>
+ Quote from RDoc of GC.stat():
+ "The contents of the hash are implementation specific and may
+ be changed in the future."
- * dir.c (fnmatch): "*/bar" (with FNM_PATHNAME flag) does not
- match "foo/bar".
+ * test/ruby/test_gc.rb: catch up this change.
-Sun Mar 24 00:46:05 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Mon Nov 25 03:59:45 2013 Koichi Sasada <ko1@atdot.net>
- * util.c (push_element): avoid warning for djgpp.
+ * test/ruby/test_gc.rb: catch up last commit.
+ Now RUBY_GC_OLDSPACE_LIMIT(...) is RUBY_GC_OLDMALLOC_LIMIT(...).
-Sat Mar 23 01:50:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Nov 25 03:10:46 2013 Koichi Sasada <ko1@atdot.net>
- * io.c (read_all): files on /proc filesystem with zero stat size,
- may have contents.
+ * gc.c: change terminology OLDSPACE -> OLDMALLOC.
+ (oldspace -> oldmalloc for variable names)
-Fri Mar 22 18:07:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ OLDSPACE is confusing because it is not includes slots.
+ To more clearly, rename such as (oldspace_limit -> oldmalloc_limit).
+ It is clear that it measures (estimates) malloc()'ed size.
- * ext/socket/socket.c (tcp_s_gethostbyname): refactored.
+Mon Nov 25 00:50:03 2013 Masaki Matsushita <glass.saga@gmail.com>
- * ext/socket/socket.c (sock_s_gethostbyname): ditto.
+ * internal.h: use __builtin_bswap16() if possible.
-Fri Mar 22 16:46:54 2002 Minero Aoki <aamine@loveruby.net>
+ * configure.in: check existence of __builtin_bswap16().
- * ext/extmk.rb.in: replace mkdir with mkpath to compile racc/cparse.
+Sun Nov 24 22:24:19 2013 Tanaka Akira <akr@fsij.org>
-Fri Mar 22 16:22:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (bigxor_int): Apply BIGLO for long in a BDIGIT expression.
+ (bigor_int): Ditto.
+ (bigand_int): Ditto.
- * the VMS support patch submitted by Akiyoshi, Masamichi
- <Masamichi.Akiyoshi@jp.compaq.com> is merged.
+Sun Nov 24 18:13:23 2013 Tanaka Akira <akr@fsij.org>
-Fri Mar 22 16:27:24 2002 Minero Aoki <aamine@loveruby.net>
+ * include/ruby/defines.h (SIZEOF_ACTUAL_BDIGIT): Defined.
- * lib/racc/parser.rb: new file.
+ * include/ruby/ruby.h (RBIGNUM_EMBED_LEN_MAX): Use
+ SIZEOF_ACTUAL_BDIGIT instead of SIZEOF_BDIGITS.
+ SIZEOF_BDIGITS can be different to sizeof(BDIGIT).
- * ext/racc/MANIFEST, cparse.c, depend, extconf.rb: new files.
+Sun Nov 24 13:49:08 2013 Tanaka Akira <akr@fsij.org>
- * lib/README: add racc/parser.rb.
+ * include/ruby/defines.h: Don't use int128_t for Bignum.
+ It's not always faster.
- * ext/Setup*: add racc/cparse.
+ * bignum.c: Ditto.
-Fri Mar 22 15:04:03 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Nov 24 10:18:15 2013 Aman Gupta <ruby@tmm1.net>
- * eval.c (exec_under): changing ruby_class is OK, but should not
- alter cbase.
+ * NEWS: Add details about new debugging features and APIs.
- * eval.c (yield_under_i): ditto.
+Sun Nov 24 09:37:20 2013 Andrew Vit <andrew@avit.ca>
-Fri Mar 22 15:44:38 2002 Minero Aoki <aamine@loveruby.net>
+ * lib/csv.rb: Optimize header hashes by freezing string keys.
+ [ruby-core:58510]
- * ext/strscan/MANIFEST, strscan.c, depend, extconf.rb: new files.
+Sun Nov 24 09:18:06 2013 Aman Gupta <ruby@tmm1.net>
- * ext/Setup*: add strscan entry.
+ * ext/objspace/objspace_dump.c (dump_object): Use PRIuSIZE to print
+ size_t for better win32 compatibility.
+ * test/objspace/test_objspace.rb (test_dump_all): Hold reference to
+ test string to avoid failure due to GC. Reduce size of failure message
+ using grep(/TEST STRING/).
-Fri Mar 22 14:32:14 2002 Minero Aoki <aamine@loveruby.net>
+Sun Nov 24 08:38:00 2013 Kyle Stevens <kstevens715@gmail.com>
- * lib/net/protocol.rb: Protocol#start should return self.
+ * lib/csv.rb: If skip_lines is set to a String, convert it to a Regexp
+ to prevent the alternative, which is that each line in the CSV gets
+ converted to a Regexp when calling skip_lines#match.
-Fri Mar 22 14:14:21 2002 Tanaka Akira <akr@m17n.org>
+Sun Nov 24 01:03:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * lib/resolv.rb: fix arguments to create exceptions.
- Patch from matt@lickey.com. (ruby-bugs:PR#278)
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_power): Use FIX2LONG instead
+ of FIX2INT to avoid conversion error.
-Fri Mar 22 13:51:11 2002 Akinori MUSHA <knu@iDaemons.org>
+Sun Nov 24 00:44:30 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/bigfloat/.cvsignore, ext/bigfloat/MANIFEST: BigFloat 1.1.8
- has been imported. Add .cvsignore and MANIFEST.
+ * include/ruby/ruby.h (RBIGNUM_EMBED_LEN_MAX): define by macros
+ defined in defines.h, instead of complex and repeated expression.
-Fri Mar 22 04:07:55 2002 Koji Arai <jca02266@nifty.ne.jp>
+Sat Nov 23 22:22:26 2013 Tanaka Akira <akr@fsij.org>
- * sprintf.c (rb_f_printf): discard meaningless prefix ".." for '%u'.
+ * include/ruby/ruby.h (RBIGNUM_EMBED_LEN_MAX): Limit the value to
+ less than 8.
-Thu Mar 21 01:11:37 2002 Usaku Nakamura <usa@ruby-lang.org>
+Sat Nov 23 19:52:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * win32/Makefile.sub (config.status): fix install path (prefix).
+ * ext/bigdecimal/lib/bigdecimal/math.rb (BigMath.E): Use BigMath.exp.
+ [Feature #6857] [ruby-core:47130]
-Thu Mar 21 01:03:05 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Sat Nov 23 19:46:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * ext/configsub.rb: latest autoconf style support.
+ * ext/bigdecimal/bigdecimal.c (BigMath_s_exp): Optimize the
+ calculation algorithm to reduce the number of divisions.
+ This optimization was proposed by Rafal Michalski.
+ [Feature #6857] [ruby-core:47130]
-Wed Mar 20 22:16:25 2002 Usaku Nakamura <usa@ruby-lang.org>
+Sat Nov 23 19:20:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * mkconfig.rb: close duplicated $stdout before renaming rbconfig.rb.
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_div2): The signature was
+ changed to allow us to pass arguments directly.
-Wed Mar 20 21:54:17 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_div3): Added for the role of
+ the old BigDecimal_div2.
- * win32/Makefile.sub: made variables configurable.
+Sat Nov 23 12:31:00 2013 Koichi Sasada <ko1@atdot.net>
- * win32/Makefile.sub (config.h): updates RUBY_PLATFORM from
- Makefile.
+ * gc.c: fix global variable name.
+ Now we have following environments (and related variable names).
- * win32/Makefile.sub (config.status): ditto. and use recent
- autoconf format.
+ * RUBY_GC_HEAP_INIT_SLOTS
+ * RUBY_GC_HEAP_FREE_SLOTS
+ * RUBY_GC_HEAP_GROWTH_FACTOR (new from 2.1)
+ * RUBY_GC_HEAP_GROWTH_MAX_SLOTS (new from 2.1)
- * win32/Makefile.sub (clean): separate ext and local clean up.
+ * obsolete
+ * RUBY_FREE_MIN -> RUBY_GC_HEAP_FREE_SLOTS (from 2.1)
+ * RUBY_HEAP_MIN_SLOTS -> RUBY_GC_HEAP_INIT_SLOTS (from 2.1)
- * win32/Makefile.sub (distclean): ditto.
+ * RUBY_GC_MALLOC_LIMIT
+ * RUBY_GC_MALLOC_LIMIT_MAX (new from 2.1)
+ * RUBY_GC_MALLOC_LIMIT_GROWTH_FACTOR (new from 2.1)
- * win32/config.status.in: no longer used.
+ * RUBY_GC_OLDSPACE_LIMIT (new from 2.1)
+ * RUBY_GC_OLDSPACE_LIMIT_MAX (new from 2.1)
+ * RUBY_GC_OLDSPACE_LIMIT_GROWTH_FACTOR (new from 2.1)
-Wed Mar 20 20:12:35 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * test/ruby/test_gc.rb: catch up this change.
- * variable.c (rb_const_list): a temporary table must be freed.
+Sat Nov 23 09:45:49 2013 Aman Gupta <ruby@tmm1.net>
-Wed Mar 20 19:44:09 2002 Tanaka Akira <akr@m17n.org>
+ * marshal.c (w_object): Use HASH_PROC_DEFAULT directly from internal.h
- * mkconfig.rb: don't touch rbconfig.rb if there is a trouble.
+Sat Nov 23 08:43:23 2013 Aman Gupta <ruby@tmm1.net>
-Wed Mar 20 16:05:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: Rename heap_pages_swept_num to heap_pages_swept_slots to
+ clarify meaning (number of slots, not pages).
- * eval.c (is_defined): should check receiver only once.
+Sat Nov 23 08:23:23 2013 Aman Gupta <ruby@tmm1.net>
- * eval.c (is_defined): should handle NODE_NEWLINE.
+ * lib/set.rb (class SortedSet): Fix source_location for methods
+ defined via eval.
-Wed Mar 20 11:29:25 2002 Aristarkh A Zagorodnikov <xm@xml-objects.com>
+Sat Nov 23 03:44:03 2013 Eric Hodel <drbrain@segment7.net>
- * file.c (rb_file_s_expand_path): memory leak fixed.
+ * lib/rubygems: Update to RubyGems master dcce4ff. Important changes
+ in this commit:
-Wed Mar 20 00:36:43 2002 Akinori MUSHA <knu@iDaemons.org>
+ Remove automatic detection of gem dependencies files. This prevents a
+ security hole as described in [ruby-core:58490]
- * util.c (ruby_getcwd): the content of buf is uncertain and must
- not be printed when getcwd(buf, size) has failed.
+ Fixed bugs for installing git gems.
-Mon Mar 18 22:19:52 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * test/rubygems: ditto.
- * ext/stringio/stringio.c (check_modifiable): wrong declaration.
+Fri Nov 22 22:30:00 2013 Kenta Murata <mrkn@mrkn.jp>
-Mon Mar 18 18:04:05 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_power):
+ Round the result value only if the precision is given.
- * ext/digest: add depend file.
+Fri Nov 22 17:20:50 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * ext/digest/md5: ditto.
+ * transcode.c (str_transcode0): don't scrub invalid chars if
+ str.encode doesn't have explicit invalid: :replace.
+ workaround fix for see #8995
- * ext/digest/rmd160: ditto.
+Fri Nov 22 17:11:26 2013 Narihiro Nakamura <authornari@gmail.com>
- * ext/digest/sha1: ditto.
+ * include/ruby/intern.h, internal.h: Expose rb_gc_count().
- * ext/digest/sha2: ditto.
+Fri Nov 22 17:07:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * ext/iconv/MANIFEST: ditto.
+ * ext/bigdecimal/bigdecimal.gemspec: version 1.2.2.
- * ext/stringio/MANIFEST: ditto.
+Fri Nov 22 17:04:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * ext/syslog: ditto.
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_data_type):
+ Use RUBY_TYPED_FREE_IMMEDIATELY only if it is available.
-Mon Mar 18 17:18:06 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Fri Nov 22 16:49:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * eval.c (rb_f_abort): should not bypass cleanup.
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_power): Round the result value.
+ [Bug #8818] [ruby-core:56802]
- * ext/stringio/stringio.c (check_modifiable): void function.
+ * test/bigdecimal/test_bigdecimal.rb: Add a test for the above fix.
-Mon Mar 18 12:52:01 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Fri Nov 22 16:25:43 2013 Koichi Sasada <ko1@atdot.net>
- * ext/iconv/extconf.rb: workaround for GNU libiconv.
+ * gc.c (heap_set_increment): accept minimum additional page number.
-Mon Mar 18 10:55:03 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * gc.c (gc_after_sweep): allocate pages to allocate at least
+ RUBY_HEAP_MIN_SLOTS.
+ [Bug #9137]
- * parse.y (parse_string): part of multi-byte sequence must not
- match to paren.
+Fri Nov 22 16:19:52 2013 Narihiro Nakamura <authornari@gmail.com>
- * parse.y (parse_qstring): ditto.
+ * include/ruby/intern.h (rb_gc_set_params): Deprecate
+ rb_gc_set_params because it's only used in ruby internal.
- * parse.y (parse_quotedwords): ditto.
+ * internal.h (ruby_gc_set_params): Declare rb_gc_set_params's
+ alias function.
- * parse.y (str_extend): handle multi-byte characters.
+ * gc.c: ditto.
-Mon Mar 18 10:31:20 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * ruby.c: use ruby_gc_set_params.
- * enum.c (enum_find): catch a value before recycle.
+Fri Nov 22 14:55:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * enum.c (enum_all): ditto.
+ * ext/bigdecimal/bigdecimal.c (BigMath_s_exp): Insert rb_thread_check_ints.
- * enum.c (enum_any): ditto.
+Fri Nov 22 14:35:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * enum.c (enum_min): ditto.
+ * ext/bigdecimal/bigdecimal.c (BigMath_s_exp): Fix the inserting points
+ of RB_GC_GUARDs.
- * enum.c (enum_max): ditto.
+Fri Nov 22 14:31:00 2013 Kenta Murata <mrkn@mrkn.jp>
-Sun Mar 17 20:08:04 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * ext/bigdecimal/bigdecimal.c: Fix indentation.
- * ext/iconv/depend: added.
+Fri Nov 22 14:03:00 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * ext/stringio/depend: added.
+ * ext/nkf: merge nkf 2.1.3 2a2f2c5.
-Sat Mar 16 22:43:53 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Fri Nov 22 12:43:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * missing/fileblocks.c: add for autoconf.
+ * util.c (ruby_strtod): ignore too long fraction part, which does not
+ affect the result.
-Sat Mar 16 15:30:40 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Nov 22 12:17:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * re.c (rb_reg_search): should clear last_match if pos is out of
- string range.
+ * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#initialize):
+ initialize of a module should pass arguments to super.
- * string.c (rb_str_index_m): ditto.
+Fri Nov 22 12:02:58 2013 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_rindex): ditto.
+ * test/ruby/test_settracefunc.rb: Ignore events from other threads.
-Sat Mar 16 09:04:58 2002 Koji Arai <JCA02266@nifty.ne.jp>
+Fri Nov 22 10:35:57 2013 Koichi Sasada <ko1@atdot.net>
- * enum.c (enum_inject): use the first iterated element as the
- initial value when omitted.
+ * vm.c (ruby_vm_destruct): do not use ruby_xfree() after freeing
+ objspace.
- * enum.c (inject_i): ditto.
+ * gc.c (ruby_mimfree): added. It is similar to ruby_mimmalloc().
- * enum.c (Init_Enumerable): Enumerable#inject now takes variable
- count arguments.
+ * internal.h: ditto.
-Fri Mar 15 19:47:31 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Fri Nov 22 09:42:35 2013 Zachary Scott <e@zzak.io>
- * win32/win32.c (StartSockets): remove duplicated lines.
+ * test/digest/test_digest.rb: Reverse order of assert_equal
+ Reported by @splattael
-Fri Mar 15 17:44:08 2002 Usaku Nakamura <usa@ruby-lang.org>
+Fri Nov 22 09:03:16 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * bignum.c, intern.h (rb_ull2big, rb_ll2big, rb_ull2inum, rb_ll2inum,
- big2ull, rb_big2ull, rb_big2ll): use LONG_LONG macro instead of
- long long.
+ * gc.c: fix build failure on FreeBSD introduced by r43763.
+ malloc_usable_size() is defined by malloc_np.h on FreeBSD.
- * numeric.c, intern.h, ruby.h (rb_num2ll, rb_num2ull): ditto.
+ * configure.in: check malloc.h and malloc_np.h.
- * ruby.h: use _I64_MAX and _I64_MIN if they are defined (for VC++).
+Fri Nov 22 08:27:13 2013 Eric Hodel <drbrain@segment7.net>
-Fri Mar 15 14:02:43 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * lib/rubygems: Update to RubyGems master 50a8210. Important changes
+ in this commit:
- * ext/iconv/iconv.c: fixed document, Iconv#new is no longer an
- iterator. thanks to Tanaka Akira <akr@m17n.org>.
+ RubyGems now automatically checks for gem.deps.rb or Gemfile when
+ running ruby executables. This behavior is similar to `bundle exec
+ rake`. This change may be reverted before Ruby 2.1.0 if too many bugs
+ are found.
-Thu Mar 14 22:17:45 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * test/rubygems: ditto.
- * ext/iconv: imported.
+Thu Nov 21 22:33:59 2013 Koichi Sasada <ko1@atdot.net>
-Thu Mar 14 16:42:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: RGENGC_CHECK_MODE should be 0.
- * class.c (rb_define_class): should handle autoload.
+Thu Nov 21 21:40:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * class.c (rb_define_module): ditto.
+ * ext/bigdecimal/bigdecimal.c (VpAlloc): Fix the expr to adjust the size
+ of the digit array.
-Thu Mar 14 16:18:12 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Thu Nov 21 21:36:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * configure.in: autoconf 2.53 support. use AC_LIBOBJ.
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_sqrt): Fix the precision of
+ the result BigDecimal of sqrt.
+ [Bug #5266] [ruby-dev:44450]
-Thu Mar 14 00:29:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/bigdecimal/test_bigdecimal.rb: add tests for the above changes.
- * re.c (rb_reg_match): should clear $~ if operand is nil.
+Thu Nov 21 18:49:02 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * re.c (rb_reg_match2): ditto.
+ * gc.c (vm_xrealloc, vm_xfree): use malloc_usable_size() to obtain old
+ size if available.
-Thu Mar 14 12:32:59 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Nov 21 18:47:29 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/stringio/stringio.c: fixed frozen string bug. ungetc no
- longer raises on readonly stream unless modifies actually.
+ * lib/delegate.rb (SimpleDelegator#__getobj__): target object must be set.
-Thu Mar 14 08:57:41 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * lib/delegate.rb (DelegateClass#__getobj__): ditto.
- * dir.c (rb_push_glob): avoid SEGV when a block given.
+Thu Nov 21 18:28:42 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Mar 14 00:16:02 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * lib/tempfile.rb (Tempfile#initialize): use class method to get rid
+ of warnings when $VERBOSE.
- * string.c (rb_str_subpat_set): must make str independent after
- rb_reg_search() matched.
+Thu Nov 21 17:43:29 2013 Koichi Sasada <ko1@atdot.net>
-Wed Mar 13 19:05:15 2002 Akinori MUSHA <knu@iDaemons.org>
+ * gc.c: rename initial_xxx variables to gc_params.xxx.
+ They are not only used initial values.
- * dir.c: FNM_PERIOD is obsoleted and FNM_DOTMATCH is introduced
- instead, which has the opposite meaning of FNM_PERIOD.
+ Chikanaga-san: Congratulations on RubyPrize!
- * dir.c: Dir::glob now accepts optional FNM_* flags via the second
- argument, whereas Dir::[] doesn't.
+Thu Nov 21 17:16:00 2013 Koichi Sasada <ko1@atdot.net>
-Wed Mar 13 18:36:55 2002 Akinori MUSHA <knu@iDaemons.org>
+ * gc.c: enable "RGENGC_ESTIMATE_OLDSPACE" option as default.
+ Without this option, some application consumes huge memory.
+ (and there are only a few performance down)
- * lib/getopts.rb: single_options can be nil[*], and is not not
- optional. ([*]Pointed out by gotoken)
+ Introduced new environment variables:
+ * RUBY_GC_HEAP_OLDSPACE (default 16MB)
+ * RUBY_GC_HEAP_OLDSPACE_MAX (default 128 MB)
+ * RUBY_GC_HEAP_OLDSPACE_GROWTH_FACTOR (default 1.2)
-Wed Mar 13 17:23:46 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (initial_malloc_limit): rename to initial_malloc_limit_min.
- * configure: merge Jonathan Baker's large file support patch
- [ruby-talk:35316], with read_all patch in [ruby-talk:35470].
+Thu Nov 21 16:51:34 2013 Zachary Scott <e@zzak.io>
-Wed Mar 13 04:06:48 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/digest/bubblebabble/bubblebabble.c: Teach RDoc digest/bubblebabble
- * eval.c (rb_f_abort): optional message argument that be printed
- on termination.
+Thu Nov 21 16:50:16 2013 Zachary Scott <e@zzak.io>
-Tue Mar 12 17:12:06 2002 Tanaka Akira <akr@m17n.org>
+ * test/digest/test_digest.rb: Add more tests for digest/bubblebabble
- * lib/resolv.rb: don't complete domains for absolute FQNs.
+Thu Nov 21 16:32:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Mar 11 23:08:48 2002 Tanaka Akira <akr@m17n.org>
+ * lib/delegate.rb (Delegator#method_missing): try private methods defined in
+ Kernel after the target. [Fixes GH-449]
- * lib/tsort.rb: new file.
+Thu Nov 21 16:25:08 2013 Akinori MUSHA <knu@iDaemons.org>
-Mon Mar 11 21:03:37 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * test/uri/test_generic.rb (URI#test_merge): Test uri + URI(path)
+ in addition to uri + path.
- * ext/stringio: new.
+Thu Nov 21 15:36:08 2013 Zachary Scott <e@zzak.io>
-Mon Mar 11 18:03:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/openssl/lib/openssl/buffering.rb: [DOC] Fix HEREDOC comment for
+ OpenSSL::Buffering which breaks overview because of RDoc bug
- * regex.c (re_compile_pattern): '\0111' should be '\011' plus '1',
- since octal literals are formed by three digits at most.
+Thu Nov 21 14:46:57 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Mon Mar 11 14:44:38 2002 Yukihiro Matsumoto <matz@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.
- * marshal.c (w_object): module inclusion using extend() should
- also be detected.
+ * signal.c (check_stack_overflow, CHECK_STACK_OVERFLOW): now defined on
+ Windows, too.
- * eval.c (rb_eval_cmd): cbase should not be NULL; it should be
- either ruby_wrapper or Object.
+ * thread_win32.c (ruby_stack_overflowed_p): ditto.
-Sun Mar 10 02:18:22 2002 Koji Arai <jca02266@nifty.ne.jp>
+Thu Nov 21 14:18:24 2013 Zachary Scott <e@zzak.io>
- * enum.c (enum_each_with_index): should return self.
+ * object.c: [DOC] Clarify Object#dup vs #clone [Bug #9128]
+ Moving existing doc for this comparison to separate section of #dup
+ Adding examples to document behavior of #dup with Module#extend.
+ Based on a patch by stevegoobermanhill
- * process.c (proc_setpgrp): should return value for non-void function.
+Thu Nov 21 14:06:02 2013 Koichi Sasada <ko1@atdot.net>
- * process.c (proc_getpgid): should raise exception if getpgid() return -1.
+ * gc.c (gc_marks_check): do not dump all refs.
- * string.c (rb_str_ljust): should return a duplicated string.
+ * gc.c (allrefs_dump_i): fix output format.
- * string.c (rb_str_rjust): ditto.
+Thu Nov 21 13:43:07 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (rb_str_center): ditto.
+ * gc.c: change RGENGC_CHECK_MODE (>= 2) logic.
+ Basically, make an object graph of all of living objects before and
+ after marking and check status.
-Sat Mar 9 08:45:58 2002 Tanaka Akira <akr@m17n.org>
+ [Before marking: check WB sanity]
+ If there is a non-old object `obj' pointed from old object
+ (`parent') then `parent' or `obj' should be remembered.
- * ext/socket/extconf.rb (have_struct_member): don't print checked
- result.
+ [After marking: check marking miss]
+ Traversible objects with the object graph should be marked.
+ (However, this alert about objects pointed by machine context
+ can be false positive. We only display alert.)
-Fri Mar 8 12:19:15 2002 Tanaka Akira <akr@m17n.org>
+ [Implementation memo]
+ objspace_allrefs() creates an object graph.
+ The object graph is represented by st_table, key is object (VALUE)
+ and value is referring objects. Referring objects are stored by
+ "struct reflist".
- * lib/resolv.rb: use its own thread group for background threads.
+ * gc.c (init_mark_stack): do not use push_mark_stack_chunk() at init.
+ This pre-allocation causes failure on is_mark_stack_empty()
+ without any pushing.
-Fri Mar 8 02:21:32 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Nov 21 13:40:20 2013 Zachary Scott <e@zzak.io>
- * eval.c (cvar_cbase): utility function to find innermost non
- singleton cbase.
+ * lib/observer.rb: [DOC] Clarify default observer method.
+ By @edward [Fixes GH-450] https://github.com/ruby/ruby/pull/450
- * eval.c (is_defined): adopt new cvar behavior.
+Thu Nov 21 13:32:53 2013 Zachary Scott <e@zzak.io>
- * eval.c (rb_eval): ditto.
+ * ext/openssl/ossl_engine.c: [DOC] Documentation for OpenSSL::Engine
+ This patch is based off work by @vbatts in GH-436 completing the
+ documentation for this class and its methods.
+ https://github.com/ruby/ruby/pull/436
- * eval.c (assign): ditto.
+Thu Nov 21 10:45:22 2013 Zachary Scott <e@zzak.io>
-Thu Mar 7 20:08:25 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * ext/openssl/lib/openssl/buffering.rb: Remove unused arguments from
+ OpenSSL::Buffering.new [Fixes GH-445]
- * gc.c (rb_source_filename): added. holds unique strings for file
- names with GC space.
+Thu Nov 21 10:30:47 2013 Zachary Scott <e@zzak.io>
- * gc.c (rb_gc_mark): mark source file name.
+ * test/digest/test_digest.rb: Add test for Digest::SHA256.bubblebabble
- * gc.c (gc_sweep): ditto.
+Wed Nov 20 20:54:01 2013 Masaya Tarui <tarui@ruby-lang.org>
- * gc.c (Init_GC): initialize source file name table.
+ * tool/instruction.rb : fix typo.
- * intern.h (rb_source_filename): added.
+Wed Nov 20 19:45:22 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_eval_string): use rb_source_filename().
+ * random.c (rand_init): Make it possible to specify arbitrary array
+ for init_genrand().
- * parse.y (yycompile): ditto.
+Wed Nov 20 17:34:13 2013 Koichi Sasada <ko1@atdot.net>
- * ruby.c (proc_options): ditto.
+ * parse.y (rb_gc_mark_symbols): set global_symbols.minor_marked only
+ when full_mark is 0.
+ rb_gc_mark_symbols() (with full_mark == 1) can be called by other
+ than GC (such as rb_objspace_reachable_objects_from_root()).
- * ruby.c (load_file): ditto.
+Wed Nov 20 11:46:38 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * ruby.c (ruby_script): ditto.
+ * ext/json: merge JSON 1.8.1.
+ https://github.com/nurse/json/compare/002ac2771ce32776b32ccd2d06e5604de6c36dcd...e09ffc0d7da25d0393873936c118c188c78dbac3
+ * Remove Rubinius exception since transcoding should be working now.
+ * Fix https://github.com/flori/json/issues/162 reported by Marc-Andre
+ Lafortune <github_rocks@marc-andre.ca>. Thanks!
+ * Applied patches by Yui NARUSE <naruse@airemix.jp> to suppress
+ warning with -Wchar-subscripts and better validate UTF-8 strings.
+ * Applied patch by ginriki@github to remove unnecessary if.
+ * Add load/dump interface to JSON::GenericObject to make
+ serialize :some_attribute, JSON::GenericObject
+ work in Rails active models for convenient
+ SomeModel#some_attribute.foo.bar access to serialised JSON data.
- * ruby.c (ruby_prog_init): ditto.
+Wed Nov 20 01:39:02 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Mar 6 17:58:08 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * lib/rdoc/constant.rb (RDoc::Constant#documented?): workaround for
+ NoMethodError when the original of alias is not found.
- * dln.c (dln_load): use LoadLibrary instead of LoadLibraryEx.
+Tue Nov 19 23:38:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Mar 6 16:50:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * configure.in (--with-os-version-style): option to transform target
+ OS version string.
- * class.c (rb_mod_clone): should not call rb_obj_clone(), since
- Module does not provide "allocate".
+Tue Nov 19 21:27:33 2013 Tanaka Akira <akr@fsij.org>
- * class.c (rb_singleton_class): should create new singleton class
- if obj is a class or module and attached object is different,
- which means metaclass of singleton class is sought.
+ * test/net/http/utils.rb (spawn_server): Specify zero for port to
+ avoid reusing an allocated port.
- * time.c (time_s_alloc): now follows allocation framework.
+ * test/net/http/test_http.rb: Don't specify port here.
-Tue Mar 5 05:56:29 2002 Akinori MUSHA <knu@iDaemons.org>
+ * test/net/http/test_https.rb: Ditto.
- * lib/getopts.rb: Rewrite to fix some bugs and complete features.
- - Accept options with the colon in the first argument;
- getopts("a:bcd:") is equivalent to getopts("bc", "a:", "d:").
- - Do not discard the argument that caused an error.
- - Do not discard '-', which commonly stands for stdin or stdout.
- - Allow specifying a long option with a value using '='.
- (command --long-option=value)
- - Stop reading options when it meets a non-option argument.
+Tue Nov 19 18:52:10 2013 Koichi Sasada <ko1@atdot.net>
-Mon Mar 4 13:19:18 2002 Akinori MUSHA <knu@iDaemons.org>
+ * gc.c (heap_is_swept_object): use heap_page::before_sweep flag.
- * ext/extmk.rb.in (dir_config): Sync with mkmf.rb: Fix a bug where
- --with-xx-{include,lib} is ignored when --with-xx-dir is
- specified.
+Tue Nov 19 18:49:32 2013 Koichi Sasada <ko1@atdot.net>
-Mon Mar 4 00:09:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (rb_objspace_reachable_objects_from_root): do major marking.
- * eval.c (rb_eval): should initialize outer class variables from
- methods in singleton class definitions.
+Tue Nov 19 18:45:40 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (assign): ditto.
+ * gc.c (rb_gc_resurrect): added.
+ rb_fstring() used rb_gc_mark() to avoid freeing used string.
+ However, rb_gc_mark() set mark bit *and* pushes mark_stack.
+ rb_gc_resurrect() does only set mark bit if it is before sweeping.
-Fri Mar 1 11:29:10 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * string.c (rb_fstring): use rb_gc_resurrect.
- * ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): add const
- qualifier only for uClibc.
+ * internal.h: add decl.
-Fri Mar 1 11:22:51 2002 Amos Gouaux <amos+ruby@utdallas.edu>
+Tue Nov 19 09:47:02 2013 Eric Hodel <drbrain@segment7.net>
- * lib/net/imap.rb: added document.
+ * lib/rdoc: Update to RDoc master a1195ce. Changes include:
- * lib/net/imap.rb (getquotaroot): new method.
+ Improved accessibility of the main sidebar navigation.
- * lib/net/imap.rb (setacl): remove the rights if the rights
- parameter is nil.
+ Fixed handling of regexp options in HTML source highlighting.
- * lib/net/imap.rb (getacl): return an array of MailboxACLItem.
+ * test/rdoc: ditto.
-Fri Mar 1 06:25:49 2002 Tanaka Akira <akr@m17n.org>
+Tue Nov 19 09:33:52 2013 Eric Hodel <drbrain@segment7.net>
- * ext/socket/extconf.rb (have_struct_member): new method.
- check msg_control and msg_accrights in struct msghdr. check
- sys/uio.h.
+ * lib/rubygems: Update to RubyGems master 6a3d9f9. Changes include:
- * ext/socket/socket.c: include sys/uio.h if available.
- (thread_read_select): new function.
- (unix_send_io): ditto.
- (unix_recv_io): ditto.
- (unix_s_socketpair): ditto.
- (Init_socket): define UNIXSocket#send_io, UNIXSocket#recv_io,
- UNIXSocket.socketpair and UNIXSocket.pair.
+ Compatibly renamed Gem::DependencyResolver to Gem::Resolver.
- * dln.c (dln_load): fix typo.
+ Added support for git gems in gem.deps.rb and Gemfile.
-Wed Feb 27 16:30:50 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ Fixed resolver bugs.
- * eval.c (rb_mod_include): load modules in argument order.
+ * test/rubygems: ditto.
- * st.c (st_init_table_with_size): num_bins should be prime numbers
- (no decrement).
+ * lib/rubygems/LICENSE.txt: Updated to license from RubyGems trunk.
+ [ruby-trunk - Bug #9086]
- * st.c (rehash): ditto.
+ * lib/rubygems/commands/which_command.rb: RubyGems now indicates
+ failure when any file is missing. [ruby-trunk - Bug #9004]
-Wed Feb 27 13:18:49 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * lib/rubygems/ext/builder: Extensions are now installed into the
+ extension install directory and the first directory in the require
+ path from the gem. This allows backwards compatibility with msgpack
+ and other gems that calculate full require paths.
+ [ruby-trunk - Bug #9106]
- * io.c (READ_DATA_PENDING): uClibc support.
- * random.c (rand_init): ditto.
+Tue Nov 19 07:21:56 2013 Tanaka Akira <akr@fsij.org>
- * ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): ditto.
+ * configure.in (LOCALTIME_OVERFLOW_PROBLEM): Define it for cross
+ compiling.
+ [ruby-core:58391] [Bug #9119] Reported by Luis Lavena.
+ Analyzed by Heesob Park.
-Wed Feb 27 07:05:17 2002 Akinori MUSHA <knu@iDaemons.org>
+Tue Nov 19 05:55:05 2013 Eric Hodel <drbrain@segment7.net>
- * ext/digest/sha2/sha2.c: Merge from rough. Fix a couple of
- off-by-one errors in Aaron Gifford's code.
+ * lib/rdoc/rubygems_hook.rb: Remove debugging puts committed by
+ accident.
- Obtained from: KAME via FreeBSD
- KAME PR: 393
- FreeBSD PR: kern/34242
+Mon Nov 18 22:47:54 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Feb 27 03:36:47 2002 Koji Arai <jca02266@nifty.ne.jp>
+ * eval_intern.h (TH_PUSH_TAG, TH_EXEC_TAG): refine stack overflow
+ detection. chain local tag after setjmp() successed on it, because
+ calling setjmp() also can overflow the stack.
+ [ruby-dev:47804] [Bug #9109]
- * ext/dbm/dbm.c (fdbm_select): 1.7 behavior.
+ * vm_eval.c (rb_catch_obj): now th->tag points previous tag until
+ TH_EXEC_TAG().
- * ext/gdbm/gdbm.c (fgdbm_select): ditto.
+ * thread_pthread.c (ruby_init_stack): set stack_start properly by
+ get_main_stack() if possible.
- * ext/sdbm/sdbm.c (fsdbm_select): ditto.
+Mon Nov 18 22:45:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/dbm/dbm.c (fdbm_delete): adopt Hash#delete behavior.
+ * eval_jump.c (rb_exec_end_proc): unlink and free procs data before
+ calling for each procs. [Bug #9110]
- * ext/sdbm/sdbm.c (fsdbm_delete): ditto.
+Sun Nov 17 06:33:32 2013 Shota Fukumori <her@sorah.jp>
- * ext/gdbm/gdbm.c: need not to dup key to the block.
+ * configure.in: Use $LIBS for base of $SOLIBS, also in darwin.
+ By this fix, environment that libgmp is located in $LIBS can build
+ ruby.
- * ext/sdbm/sdbm.c : replace RuntimeError with SDBMError.
+Sun Nov 17 01:56:32 2013 Tanaka Akira <akr@fsij.org>
-Tue Feb 26 21:34:07 2002 Usaku Nakamura <usa@ruby-lang.org>
+ * thread_pthread.c (rb_thread_create_timer_thread): Show error
+ message instead of error number.
+ (thread_create_core): Ditto.
- * bignum.c (rb_big_2comp): void function cannot return any value.
+ * cont.c (fiber_machine_stack_alloc): Ditto.
-Tue Feb 26 16:52:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Nov 16 18:28:08 2013 Kouhei Sutou <kou@cozmixng.org>
- * eval.c (rb_f_missing): NoMethod error messages for true, false,
- nil must respond visibility like for other objects.
+ * lib/rexml/parsers/ultralightparser.rb
+ (REXML::Parsers::UltraLightParser#parse): Fix wrong :start_doctype
+ position.
+ [Bug #9061] [ruby-dev:47778]
+ Patch by Ippei Obayashi. Thanks!!!
-Tue Feb 26 15:41:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/rexml/parser/test_ultra_light.rb: Add a test for this case.
- * eval.c (rb_eval): call trace_func for if/while conditions.
+Sat Nov 16 02:13:56 2013 Masaya Tarui <tarui@ruby-lang.org>
- * marshal.c (r_object): separate r_regist from proc calling.
+ * cont.c : Introduce ensure rollback mechanism. Please see below.
-Tue Feb 26 11:25:50 2002 akira yamada <akira@arika.org>
+ * internal.h (ruby_register_rollback_func_for_ensure): catch up above change.
+ Add rollback mechanism API.
- * lib/uri/generic.rb: merge0 shuld return [oth, oth] if oth is
- absolute URI.
+ * vm_core.h (typedef struct rb_vm_struct): catch up above change.
+ Introduce ensure-rollback relation table.
- * lib/uri/generic.rb: registry part must not be allowed for any
- schemes for the Internet. (RFC2396, section 3.2.2 and 3.2.1.)
+ * vm_core.h (typedef struct rb_thread_struct): catch up above change.
+ Introduce ensure stack.
-Mon Feb 25 21:22:41 2002 Akinori MUSHA <knu@iDaemons.org>
+ * eval.c (rb_ensure): catch up above change.
+ Introduce ensure stack.
- * ext/syslog/syslog.c: Merge from rough. Use SafeStringValue().
+ * hash.c : New function for rollback ensure, and register it to
+ ensure-rollback relation table. [ruby-dev:47803] [Bug #9105]
-Mon Feb 25 21:12:08 2002 Akinori MUSHA <knu@iDaemons.org>
+ Ensure Rollback Mechanism:
+ A rollback's function is a function to rollback a state before ensure's
+ function execution.
+ When the jump of callcc is across the scope of rb_ensure,
+ ensure's functions and rollback's functions are executed appropriately
+ for keeping consistency.
- * ext/syslog/syslog.c: Merge from rough. Turn Syslog into a
- module keeping backward compatibility intact.
+ Current API is unstable, and only internal use.
-Mon Feb 25 19:35:48 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ ruby_register_rollback_func_for_ensure(ensure_func,rollback_func)
+ This API create relation ensure's function to rollback's function.
+ By registered rollback's function, it is executed When jumping into
+ corresponding rb_ensure scope.
- * sample/test.rb (system): test with scripts under the source
- directory.
+Sat Nov 16 00:18:36 2013 Masaki Matsushita <glass.saga@gmail.com>
-Mon Feb 25 15:14:01 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * eval_jump.c (rb_exec_end_proc): fix double free or corruption error
+ when reentering by callcc. [ruby-core:58329] [Bug #9110]
- * eval.c (method_inspect): should not dump core for unbound
- singleton methods.
+ * test/ruby/test_beginendblock.rb: test for above.
- * object.c (rb_mod_to_s): better description.
+Fri Nov 15 01:06:04 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Feb 25 13:32:13 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * ext/objspace/objspace_dump.c (dump_output): allow IO object as
+ output, and use Tempfile.create and return open file instead of
+ mkstemp() and path name for :file output.
+ [ruby-core:58266] [Bug #9102]
- * lib/shell.rb (Shell::expand_path): relative to @cwd.
+ * test/objspace/test_objspace.rb (TestObjSpace#dump_my_heap_please):
+ remove temporary output file.
-Mon Feb 25 06:30:11 2002 Koji Arai <jca02266@nifty.ne.jp>
+Thu Nov 14 23:39:00 2013 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
- * hash.c (env_select): should path the assoc list.
+ * ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] remove example of
+ Rational#to_d without argument. [Bug #8958]
-Sun Feb 24 17:20:22 2002 Akinori MUSHA <knu@iDaemons.org>
+Thu Nov 14 20:24:15 2013 Naohisa Goto <ngotogenome@gmail.com>
- * ext/digest/*/*.h: Merge from rough.
- - Avoid namespace pollution. (MD5_* -> rb_Digest_MD5_*, etc.)
+ * ruby_atomic.h (ATOMIC_SIZE_CAS): fix compile error on Solaris
+ since r43460.
-Sat Feb 23 21:12:13 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Nov 14 19:53:00 2013 Tanaka Akira <akr@fsij.org>
- * process.c (rb_syswait): thread kludge; should be fixed to
- support native thread.
+ * test/openssl/test_cipher.rb (test_aes_gcm_wrong_tag): Don't use
+ String#succ because it can make modified (wrong) auth_tag longer
+ than 16 bytes. The longer auth_tag makes that
+ EVP_CIPHER_CTX_ctrl (and internally aes_gcm_ctrl) fail.
+ [ruby-core:55143] [Bug #8439] reported by Vit Ondruch.
-Fri Feb 22 21:20:53 2002 Minero Aoki <aamine@loveruby.net>
+Thu Nov 14 11:33:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/net/protocol.rb: set read_timeout dynamically.
+ * hash.c (foreach_safe_i, hash_foreach_iter): deal with error detected
+ by ST_CHECK.
- * lib/net/http.rb: @@newimpl is always true in the main trunk.
+ * st.c (st_foreach_check): call with non-error argument in normal case.
- * lib/net/http.rb: HTTP.port -> default_port
+Thu Nov 14 02:37:14 2013 Zachary Scott <e@zzak.io>
- * lib/net/http.rb: HTTPResponse.read_response_status ->
- read_status_line
+ * ext/thread/thread.c: [DOC] This patch accomplishes the following:
-Fri Feb 22 19:56:15 2002 Usaku Nakamura <usa@ruby-lang.org>
+ - Teach RDoc about ConditionVariable
+ - Teach RDoc about Queue
+ - Teach RDoc about SizedQueue
+ - Use fully-qualified namespace for Document-method
+ This is necessary to separate definitions between classes
+ - Fix rdoc bug in call_seq vs. call-seq
+ - Correct doc for SizedQueue#pop patch by @jackdanger [Bug #8988]
- * win32/config.status.in: set LIBRUBY_SO.
+Thu Nov 14 01:11:54 2013 Zachary Scott <e@zzak.io>
-Fri Feb 22 03:34:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] +precision+ is required
- * bignum.c (get2comp): need to specify to carry or not.
+Wed Nov 13 19:21:36 2013 Zachary Scott <e@zzak.io>
- * io.c (rb_io_inspect): embed path info.
+ * ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] Document the required
+ +precision+ argument for Rational#to_d [Bug #8958]
-Fri Feb 22 11:30:01 2002 Tanaka Akira <akr@m17n.org>
+Wed Nov 13 19:02:05 2013 Zachary Scott <e@zzak.io>
- * lib/prettyprint.rb: FillGroup implemented.
+ * ext/digest/*: [DOC] Fix several typos and broken http links.
+ Improved examples for Digest overview and fixed a broken example in
+ Digest::HMAC overview. This patch also adds a description of
+ Digest::SHA256.bubblebabble to the Digest overview.
-Thu Feb 21 21:40:18 2002 Usaku Nakamura <usa@ruby-lang.org>
+ Patched by @stomar [Bug #9027]
- * ext/extmk.rb.in (create_makefile): remove unnecessary -L option from
- LIBS macro.
+Wed Nov 13 18:32:12 2013 Zachary Scott <e@zzak.io>
-Thu Feb 21 02:49:12 2002 Koji Arai <jca02266@nifty.ne.jp>
+ * ext/openssl/ossl_config.c: [DOC] Document the following:
- * pack.c (pack_pack): wrong # comment treatment.
+ - OpenSSL::ConfigError
+ - OpenSSL::Config::DEFAULT_CONFIG_FILE
- * pack.c (pack_unpack): ditto.
+ Patched by @vbatts via GH-436
+ https://github.com/ruby/ruby/pull/436
-Wed Feb 20 15:15:03 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Wed Nov 13 18:03:00 2013 Zachary Scott <e@zzak.io>
- * intern.h: prototypes; rb_io_addstr(), rb_io_printf(),
- rb_io_print(), rb_io_puts()
+ * ext/openssl/ossl_asn1.c: [DOC] Document parts of
+ OpenSSL::ASN1::ObjectId included a fix for the class overview, which
+ previously showed the documentation for Constructive due to missing
+ ObjectId overview. This patch also includes a note for Primitive.
- * io.c (rb_io_addstr): make extern.
+ Based on a patch by @vbatts via GH-436
+ https://github.com/ruby/ruby/pull/436
- * io.c (rb_io_printf): ditto.
+Wed Nov 13 17:19:36 2013 Zachary Scott <e@zzak.io>
- * io.c (rb_io_print): ditto.
+ * ext/openssl/lib/openssl/config.rb: In #parse use +string+ for +str+
- * io.c (rb_io_puts): ditto.
+Wed Nov 13 17:09:45 2013 Zachary Scott <e@zzak.io>
-Wed Feb 20 13:41:35 2002 Usaku Nakamura <usa@ruby-lang.org>
+ * ext/openssl/lib/openssl/*.rb: [DOC] Document the following:
- * io.c (rb_io_close): return Qnil.
+ - Integer#to_bn
+ - OpenSSL::Buffering module
+ - Deprecated OpenSSL::Digest::Digest compatibility class
+ - OpenSSL::Config
-Wed Feb 20 12:41:59 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ These changes were based on a patch by @vbatts via GH-436
+ https://github.com/ruby/ruby/pull/436
- * hash.c (rb_any_cmp): should handle Qundef in keys.
+Wed Nov 13 10:55:43 2013 Zachary Scott <e@zzak.io>
- * eval.c (remove_method): should not remove a empty method to
- implement "undef".
+ * doc/regexp.rdoc: [DOC] Fix typo in Special global variables section.
+ Reported by Alex Johnson on ruby-doc.org
- * eval.c (rb_eval): should allow singleton class def for
- true/false/nil.
+Wed Nov 13 10:43:19 2013 Zachary Scott <e@zzak.io>
-Tue Feb 19 21:43:32 2002 Minero Aoki <aamine@loveruby.net>
+ * hash.c: [DOC] Adds an example for Hash#store
- * lib/net/protocol.rb: rename Protocol.port to default_port.
+Wed Nov 13 09:03:40 2013 Zachary Scott <e@zzak.io>
- * lib/net/smtp.rb: ditto.
+ * doc/regexp.rdoc: [DOC] add note about Bug #4044 as suggested by
+ duerst-san in [ruby-core:43612] [Fixes GH-443] Patched by @rosenfeld
+ https://github.com/ruby/ruby/pull/443
- * lib/net/pop.rb: ditto.
+Tue Nov 12 10:15:14 2013 Eric Hodel <drbrain@segment7.net>
- * lib/net/http.rb: ditto.
+ * test/rubygems/insure_session.rb: Remove unused test file.
- * lib/net/protocol.rb: rename BufferedSocket class to
- InternetMessageIO.
+Tue Nov 12 09:16:24 2013 Eric Hodel <drbrain@segment7.net>
- * lib/net/smtp.rb: ditto.
+ * lib/rubygems: Update to RubyGems master b9213d7. Changes include:
- * lib/net/pop.rb: ditto.
+ Fixed tests on Windows (I hope) by forcing platform for
+ platform-dependent tests.
- * lib/net/http.rb: ditto.
+ Fixed File.exists? warnings.
- * lib/net/protocol.rb: rename InternetMessageIO#write_pendstr to
- write_message.
+ Improved testing infrastructure.
- * lib/net/smtp.rb: ditto.
+ * test/rubygems: ditto.
- * lib/net/protocol.rb: new method
- InternetMessageIO#through_message.
+ * test/rdoc/test_rdoc_rubygems_hook.rb: Switch to util_spec like
+ RubyGems.
- * lib/net/smtp.rb: ditto.
+Mon Nov 11 18:31:12 2013 Aman Gupta <ruby@tmm1.net>
- * lib/net/protocol.rb: rename InternetMessageIO#read_pendstr to
- read_message_to.
+ * internal.h: move common string/hash flags to include file.
+ * ext/objspace/objspace_dump.c: remove flags shared above.
+ * hash.c: ditto.
+ * string.c: ditto.
- * lib/net/pop.rb: ditto.
+Mon Nov 11 04:36:14 2013 Eric Hodel <drbrain@segment7.net>
- * lib/net/protocol.rb: rename InternetMessageIO#read_pendlist to
- each_list_item
+ * lib/rubygems/specification.rb: Include 2.2.0.preview.2 when checking
+ if extensions should be built. Fixes a ruby-ci failure.
+ * test/rubygems/test_gem_specification.rb: Test for the above.
- * lib/net/pop.rb: ditto.
+Mon Nov 11 03:15:56 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/protocol.rb: Now block size is 1024.
+ * vm_trace.c (symbol2event_flag): add secret feature.
+ add a_call/a_return events.
+ a_call is call | b_call | c_call, and same as a_return.
- * lib/net/smtp.rb: new methods SMTP#esmtp? and #esmtp=.
+Mon Nov 11 02:51:17 2013 Eric Hodel <drbrain@segment7.net>
- * lib/net/http.rb: Using singleton method syntax instead of
- singleton class clause, to avoid behavior change of class
- variables in ruby 1.7.
+ * lib/rubygems: Update to RubyGems master 4bdc4f2. Important changes
+ in this commit:
- * lib/net/http.rb: HTTPResponse class does not inherit from
- Net::Response.
+ RubyGems now chooses the test server port reliably. Patch by akr.
- * lib/net/http.rb: devide HTTP#connecting into
- {begin,end}_transport.
+ Partial implementation of bundler's Gemfile format.
- * lib/net/http.rb: unused class Accumulator removed.
+ Refactorings to improve the new resolver.
- * lib/net/http.rb: Net::HTTP reads response. not HTTPRequest.
+ Fixes bugs in the resolver.
- * lib/net/http.rb: proxy related class-instance-variables are not
- initialized correctly.
+ * test/rubygems: Tests for the above.
-Tue Feb 19 20:20:12 2002 Ed Sinjiashvili <edsin@swes.saren.ru>
+Mon Nov 11 01:02:06 2013 Zachary Scott <e@zzak.io>
- * parse.y (str_extend): backslash escape was done wrong.
+ * lib/timeout.rb: [DOC] Add note about change from #8730 [Fixes GH-440]
+ * NEWS: [DOC] Improve grammar on change to Timeout
+ Patched by @srawlins in https://github.com/ruby/ruby/pull/440
-Tue Feb 19 17:10:25 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Sun Nov 10 23:47:05 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * file.c (path_check_1): do not fail on world writable *parent*
- directories too.
+ * gc.c (rb_gcdebug_print_obj_condition): catch up recent changes
+ to compile on GC_DEBUG.
-Tue Feb 19 15:51:41 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Nov 10 22:16:19 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * file.c (path_check_1): do not warn on world writable *parent*
- directories.
+ * error.c (exc_cause): captured previous exception.
- * class.c (rb_include_module): should preserve ancestor order in
- the included class/module.
+ * eval.c (make_exception): capture previous exception automagically.
+ [Feature #8257]
-Tue Feb 19 14:45:32 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Nov 10 08:37:20 2013 Zachary Scott <e@zzak.io>
- * file.c (path_check_1): should check directory sticky bits.
+ * thread.c: [DOC] Remove duplicate reference
- * process.c (security): need not to warn twice.
+Sun Nov 10 08:09:29 2013 Zachary Scott <e@zzak.io>
- * marshal.c (r_object): complete restoration before calling
- r_regist().
+ * lib/drb/drb.rb: [DOC] promote better windows-safe filename regular
+ expression in DRb Logger example. Reported by Chris Pheonix
+ [Bug #9074]
-Tue Feb 19 14:24:36 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Nov 10 08:03:05 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (yylex): operators in the "op" rule should make
- lex_state EXPR_ARG on EXPR_FNAME and EXPR_DOT.
+ * gc.c (rb_define_finalizer, rb_undefine_finalizer): rename and export
+ finalizer functions.
-Tue Feb 19 13:38:10 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Nov 10 07:41:22 2013 Zachary Scott <e@zzak.io>
- * eval.c (rb_eval_string_wrap): should hide the toplevel local
- variable bindings by PUSH_SCOPE().
+ * lib/weakref.rb: [DOC] fix typos by @xaviershay [Fixes GH-439]
+ https://github.com/ruby/ruby/pull/439
-Tue Feb 19 13:21:51 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Sun Nov 10 06:14:39 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * regex.c: fix prototypes of xmalloc(), xcalloc() and xrealloc().
+ * compile.c (iseq_compile_each): emit opt_str_freeze if the #freeze
+ method is called on a static string literal with no arguments.
-Tue Feb 19 13:16:08 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * defs/id.def (firstline): add freeze so idFreeze is available
- * io.c (rb_io_ungetc): don't fail pushed EOF back.
+ * insns.def (opt_str_freeze): add opt_str_freeze instruction which
+ pushes a frozen string literal without allocating a new object if
+ String#freeze is not overridden
-Mon Feb 18 20:48:40 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * string.c (Init_String): define String#freeze
- * pack.c (pack_pack): avoid infinite loop at comment.
+ * vm.c (vm_init_redefined_flag): define BOP_FREEZE on String class as
+ a basic operation
- * pack.c (pack_unpack): ditto.
+ * vm_insnhelper.h: ditto
-Mon Feb 18 14:06:28 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ [Feature #8992] [ruby-core:57705]
- * misc/ruby-mode.el (ruby-block-hanging-re): rescue block was too
- indented.
+Sun Nov 10 01:34:14 2013 Koichi Sasada <ko1@atdot.net>
-Mon Feb 18 13:56:44 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (vm_malloc_increase): sweep immediately on GC due to malloc().
+ To reduce memory usage, sweep as soon as possible.
+ This behavior is same as Ruby 2.0.0 and before.
- * parse.y (expr_value, arg_value, primary_value): value_expr()
- check in place.
+Sun Nov 10 00:39:26 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (block_pass): "&nil" should clear block given.
+ * benchmark/gc/gcbench.rb: output version description and GC::OPTS.
-Mon Feb 18 02:05:56 2002 Wolfgang Jahrling <wolfgang@pro-linux.de>
+Sun Nov 10 00:36:42 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * dir.c (push_braces): remove MAXPATHLEN dependency.
+ * gc.c (should_be_callable): allow private call since rb_eval_cmd
+ calls even private methods.
- * dir.c (dir_s_globd): ditto.
+Sun Nov 10 00:33:17 2013 Zachary Scott <e@zzak.io>
- * dln.c (init_funcname): ditto.
+ * lib/racc/rdoc/grammar.en.rdoc: [DOC] fix typo by Tsuyoshi Sawada
+ [Bug #9077]
- * dln.c (load_1): ditto.
+Sat Nov 9 22:35:35 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * dln.c (dln_load): ditto.
+ * tool/rbinstall.rb (Gem::Specification.load): obtain spec date from
+ VCS for the case using git, RUBY_RELEASE_DATE is the last resort.
+ probably fixes [Bug #9085].
- * configure.in: add GNU/Hurd switches.
+Sat Nov 9 20:56:12 2013 Narihiro Nakamura <authornari@gmail.com>
-Fri Feb 15 17:44:26 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/objspace/object_tracing.c: use declarations in internal.h.
- * pack.c (pack_pack): allows comment in template strings.
+ * ext/objspace/objspace.c: ditto
- * pack.c (pack_unpack): ditto.
+Sat Nov 9 20:32:59 2013 Tanaka Akira <akr@fsij.org>
-Sun Feb 17 23:41:37 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * test/objspace/test_objspace.rb (test_dump_all): Make the test string
+ shorter to be an embedded string on 32bit environment as well as
+ 64bit environment.
- * mkconfig.rb (Config::expand): expand ${} too.
+Sat Nov 9 15:00:16 2013 Zachary Scott <e@zzak.io>
- * ext/extmk.rb.in (try_link0): expand command.
+ * io.c: [DOC] ARGF.gets may return nil [Bug #9029] patch by znz
- * ext/extmk.rb.in (try_cpp): ditto.
+Sat Nov 9 14:54:52 2013 Zachary Scott <e@zzak.io>
- * ext/extmk.rb.in (extmake): default $LIBPATH to $libdir
+ * lib/rss/*: [DOC] document various constants @steveklabnik [Bug #8812]
-Sun Feb 17 21:39:24 2002 Tetsuya Watanabe <tetsuya.watanabe@nifty.com>
+Sat Nov 9 14:50:09 2013 Zachary Scott <e@zzak.io>
- * ext/digest/md5/md5init.c (Init_md5): rb_cvar_declare() is
- replaced by rb_cvar_set().
+ * lib/rss/rss.rb: [DOC] document Time#w3cdtf by @steveklabnik
+ [Bug #8821]
- * ext/digest/rmd160/rmd160init.c (Init_rmd160): ditto.
+Sat Nov 9 14:29:04 2013 Zachary Scott <e@zzak.io>
- * ext/digest/sha1/sha1init.c (Init_sha1): ditto.
+ * ext/dl/cfunc.c: [DOC] fix typo in example [Bug #8944]
+ Patched by Heesob Park
- * ext/digest/sha2/sha2init.c (Init_sha2): ditto.
+Sat Nov 9 13:59:58 2013 Zachary Scott <e@zzak.io>
-Sun Feb 17 18:10:09 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * lib/test/unit/assertions.rb: [DOC] better example for assert_send()
+ Patch by Andrew Grimm [Bug #8975]
- * class.c (rb_define_class): warn unless superclass is specified
- explicitly.
+Sat Nov 9 12:45:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * class.c (rb_define_class_under): ditto.
+ * insns.def: unify ic_constant_serial and ic_class_serial into one field
+ ic_serial. This is possible because these fields are only ever used
+ exclusively with each other.
-Thu Feb 16 02:11:08 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * insns.def: ditto
+ * vm_core.h: ditto
+ * vm_insnhelper.c: ditto
- * misc/ruby-mode.el (ruby-font-lock-keywords): fontify
- instance/class/global variables start with '_'.
+Sat Nov 9 12:31:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Fri Feb 15 14:40:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * class.c: unify names of vm state version counters to 'serial'.
+ This includes renaming 'vm_state_version_t' to 'rb_serial_t',
+ 'method_state' to 'method_serial', 'seq' to 'class_serial',
+ 'vmstat' to 'constant_serial', etc.
- * eval.c (rb_eval): replace rb_cvar_declare() by rb_cvar_set().
+ * insns.def: ditto
+ * internal.h: ditto
+ * vm.c: ditto
+ * vm_core.h: ditto
+ * vm_insnhelper.c: ditto
+ * vm_insnhelper.h: ditto
+ * vm_method.c: ditto
- * eval.c (assign): ditto.
+Sat Nov 9 09:22:29 2013 Masaya Tarui <tarui@ruby-lang.org>
- * variable.c (rb_cvar_set): 4th argument (warn) added; define new
- class variable if it's not defined yet.
+ * gc.c (gc_page_sweep, rgengc_rememberset_mark): Refactoring.
+ Get bitmaps directly.
- * variable.c (rb_cvar_declare): removed.
+Sat Nov 9 09:16:36 2013 Masaya Tarui <tarui@ruby-lang.org>
-Fri Feb 15 13:36:58 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (RVALUE_PROMOTE_INFANT): Refactoring. Remove duplicated nonsense
+ code.
- * bignum.c (rb_big_rshift): should properly convert the nagative
- value to 2's compliment.
+Sat Nov 9 09:04:48 2013 Masaya Tarui <tarui@ruby-lang.org>
-Thu Feb 14 17:38:35 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * gc.c (gc_marks_test): Bugfix. Fix a struct member name for build
+ with RGENGC_CHECK_MODE.
- * parse.y: avoid SEGV at OP_ASIGN to pseudo variable.
+Sat Nov 9 08:58:23 2013 Masaya Tarui <tarui@ruby-lang.org>
-Thu Feb 14 14:13:16 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c : Add GC_PROFILE_DETAIL_MEMORY option.
+ If GC_PROFILE_MORE_DETAIL && GC_PROFILE_DETAIL_MEMORY,
+ maxrss, minflt and majflt are added to each profile record.
- * struct.c (Init_Struct): should undefine "allocate" for Struct
- class (it's redefined in the subclasses).
+Sat Nov 9 07:41:41 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Feb 13 17:58:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * internal.h (rb_vm_backtrace_object, rb_gc_count): make prototype
+ declarations, not old-K&R style.
- * parse.y (stmt): local variable declaration order was changed
- since 1.6
+Sat Nov 9 06:11:14 2013 vo.x (Vit Ondruch) <vondruch@redhat.com>
- * parse.y (arg): ditto.
+ * tool/rbinstall.rb (Gem::Specification#collect): make stable
+ Gem::Specification.files in default .gemspecs the different order of
+ "files" in .gemspec files makes them different therefore possibly
+ conflicting in multilib scenario. patch by vo.x (Vit Ondruch) at
+ [ruby-core:57544] [Bug #8623].
- * pack.c (pack_pack): add templates 'q' and 'Q'.
+Sat Nov 9 01:59:18 2013 Aman Gupta <ruby@tmm1.net>
- * pack.c (pack_unpack): ditto.
+ * ext/objspace/objspace_dump.c: Add experimental methods to
+ dump objectspace as json: ObjectSpace.dump_all and
+ ObjectSpace.dump(obj). These methods are useful for debugging
+ reference leaks and memory growth in large ruby applications.
+ [Bug #9026] [ruby-core:57893] [Fixes GH-423]
+ * test/objspace/test_objspace.rb: tests for above.
- * bignum.c (rb_quad_pack): new utility function.
+Sat Nov 9 00:26:50 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * bignum.c (rb_quad_unpack): ditto.
+ * 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].
-Tue Feb 12 01:21:34 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Nov 8 18:35:31 2013 Masaki Matsushita <glass.saga@gmail.com>
- * parse.y (assignable): should emit CVASGN within the method
- body.
+ * lib/open3.rb: receive arguments as keyword arguments.
-Mon Feb 11 06:13:53 2002 Matt Armstrong <matt@lickey.com>
+Fri Nov 8 13:19:26 2013 Masaki Matsushita <glass.saga@gmail.com>
- * dir.c (dir_s_glob): should not warn even if no match found.
+ * io.c (rb_io_open_with_args): use RARRAY_CONST_PTR().
-Mon Feb 11 04:25:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * io.c (rb_scan_open_args): use const qualifier for above.
- * eval.c (rb_eval): clean up class variable behavior.
+ * io.c (rb_open_file): ditto.
- * eval.c (assign): ditto.
+ * io.c (rb_io_open_with_args): ditto.
- * eval.c (is_defined): ditto.
+Fri Nov 8 11:35:06 2013 Masaki Matsushita <glass.saga@gmail.com>
- * variable.c (rb_mod_class_variables): need not to call rb_cvar_singleton().
+ * dir.c, pack.c, ruby.c, struct.c, vm_eval.c: use RARRAY_CONST_PTR().
- * variable.c (rb_cvar_singleton): removed.
+Fri Nov 8 10:58:02 2013 Masaki Matsushita <glass.saga@gmail.com>
-Mon Feb 11 00:10:41 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * compile.c (iseq_build_from_ary_exception): use RARRAY_CONST_PTR().
- * regex.c (re_compile_fastmap): skip begpos.
+ * compile.c (iseq_build_from_ary_body): ditto.
-Sun Feb 10 16:52:53 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Fri Nov 8 10:49:34 2013 Masaki Matsushita <glass.saga@gmail.com>
- * ruby.c (load_file): avoid SEGV on '#' only input.
+ * enumerator.c (append_method): use RARRAY_CONST_PTR().
-Fri Feb 8 23:07:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * enumerator.c (lazy_init_iterator): ditto.
- * eval.c (rb_eval): singleton chech should be moved from yycompile
- to here.
+Fri Nov 8 02:44:29 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (is_defined): check should be added here too.
+ * gc.c (vm_malloc_increase): check GVL before gc_rest_sweep().
+ vm_malloc_increase() can be called without GVL.
+ However, gc_rest_sweep() assumes acquiring GVL.
+ To avoid this problem, check GVL before gc_rest_sweep().
+ [Bug #9090]
-Fri Feb 8 05:31:48 2002 Minero Aoki <aamine@loveruby.net>
+ This workaround introduces possibility to set malloc_limit as
+ wrong value (*1). However, this may be rare case. So I commit it.
- * lib/net/http.rb: HTTP.Proxy should use self for proxy-class's
- super class.
+ *1: Without rest_sweep() here, gc_rest_sweep() can decrease
+ malloc_increase due to ruby_sized_xfree().
- * lib/net/http.rb: initialize HTTP.proxy_port by HTTP.port.
+Fri Nov 8 02:50:25 2013 Zachary Scott <e@zzak.io>
-Fri Feb 8 01:27:33 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/securerandom.rb: [DOC] specify arguments passed to ::random_bytes
+ By @chastell [Fixes GH-412] https://github.com/ruby/ruby/pull/412
- * parse.y (yycompile): should inherit "in_single" if eval happened
- in a singleton method.
+Fri Nov 8 02:43:01 2013 Zachary Scott <e@zzak.io>
- * eval.c (rb_eval): class variables from singleton methods defined
- within singleton class statement should work like ones defined
- by sington def statements.
+ * ext/objspace/object_tracing.c: [DOC] trace_object_allocations_stop
+ By @srawlins [Fixes GH-421] https://github.com/ruby/ruby/pull/421
-Thu Feb 7 13:44:08 2002 akira yamada <akira@arika.org>
+Fri Nov 8 02:34:20 2013 Zachary Scott <e@zzak.io>
- * uri/common.rb (URI::join): new method.
+ * lib/net/ftp.rb: [DOC] Document Net::FTP.mdtm and .set_socket and fix
+ spelling typo, based on patch by @artfuldodger [Fixes GH-426]
+ https://github.com/ruby/ruby/pull/426
- * uri/generic.rb (Generic#merge): URI.parse("http://a/")+"b" should
- return "http://a/b" but it returned "http://a//b".
+Fri Nov 8 02:14:37 2013 Zachary Scott <e@zzak.io>
- * uri/generic.rb (Generic#check_path): corrected error message,
- @path -> v
+ * array.c: [DOC] Add note about negative indices in Array overview
+ By @ckaenzig [Fixes GH-427] https://github.com/ruby/ruby/pull/427
-Thu Feb 7 00:18:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Nov 8 02:09:12 2013 Zachary Scott <e@zzak.io>
- * io.c (io_write): flag when buffered write is done.
+ * lib/csv.rb: [DOC] Fix typo in CSV.parse_line by @funky-bibimbap
+ [Fixes GH-430] https://github.com/ruby/ruby/pull/430
- * io.c (fptr_finalize): do not raise error on EBADF if write
- buffer is empty.
+Fri Nov 8 01:01:54 2013 Zachary Scott <e@zzak.io>
-Wed Feb 6 17:18:54 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * golf_prelude.rb: syntax formatting for whitespace [Fixes GH-425]
+ Patch by @edward https://github.com/ruby/ruby/pull/425
- * configure.in: keep old config.h unless changed.
+Thu Nov 7 19:36:09 2013 Koichi Sasada <ko1@atdot.net>
-Wed Feb 6 13:28:53 2002 Amos Gouaux <amos+ruby@utdallas.edu>
+ * gc.c: modify malloc_limit strategy.
- * lib/net/imap.rb: OpenSSL support.
+ * fix default values:
+ GC_MALLOC_LIMIT_GROWTH_FACTOR
+ GC_MALLOC_LIMIT: 8MB -> 16MB
+ GC_MALLOC_LIMIT_MAX: 384MB -> 32MB
- * lib/net/imap.rb (setquota): unset quota if the second argument
- is nil.
+ * algorithm of malloc_limit increment.
+ if (malloc_increase < malloc_limit) {
+ next_malloc_limit = malloc_limit * factor
+ if (malloc_limit > malloc_limit_max) {
+ malloc_limit = malloc_increase
+ }
+ }
+ This algorithm change malloc_limit from
+ 16MB -> 32MB slowly.
+ If malloc_limit exceeds malloc_limit_max, then
+ increase with malloc_increase.
-Wed Feb 6 13:05:11 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Nov 7 11:06:05 2013 Masaki Matsushita <glass.saga@gmail.com>
- * io.c (rb_io_readlines): avoid calling GetOpenFile() repeatedly.
+ * array.c (rb_ary_shuffle_bang): use RARRAY_PTR_USE() without WB
+ because there are not new relations.
- * io.c (rb_io_each_line): ditto.
+Thu Nov 7 10:34:12 2013 Masaki Matsushita <glass.saga@gmail.com>
- * io.c (argf_getline): ditto.
+ * array.c (rb_ary_sample): use rb_ary_dup().
- * process.c: should include <time.h> to get proper CLK_TCK.
+Thu Nov 7 09:39:41 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Feb 6 02:10:30 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * vm_trace.c (rb_threadptr_exec_event_hooks_orig): errinfo should not
+ be propagated to trace blocks so that no argument raise does not
+ throw internal objects. [ruby-dev:47793] [Bug #9088]
- * io.c (fptr_finalize): ignore EBADF when f and f2 use same
- descriptor.
+Wed Nov 6 21:30:55 2013 Masaya Tarui <tarui@ruby-lang.org>
-Tue Feb 5 16:17:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (gc_before_sweep): Change algorithm of malloc_limit to
+ conservative for closing to memory consumption of ruby 2.0.
- * io.c (fptr_finalize): should raise error when fclose fails.
+ * gc.c (GC_MALLOC_LIMIT, GC_MALLOC_LIMIT_GROWTH_FACTOR):
+ Adjust parameters for new algorithm.
- * eval.c (method_inspect): proper output format to distinguish
- methods and singleton methods.
+Wed Nov 6 21:16:51 2013 Masaki Matsushita <glass.saga@gmail.com>
-Mon Feb 4 22:44:58 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * array.c (rb_ary_shift_m): use RARRAY_PTR_USE() without WB because
+ there are not new relations.
- * file.c (rb_file_s_expand_path): should terminate.
+Wed Nov 6 21:05:20 2013 Masaki Matsushita <glass.saga@gmail.com>
-Mon Feb 4 15:38:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (rb_ary_reverse): use RARRAY_PTR_USE().
- * object.c (rb_class_real): should not follow ICLASS link
+Wed Nov 6 19:30:44 2013 Masaya Tarui <tarui@ruby-lang.org>
- * variable.c (classname): should follow ICLASS link explicitly.
+ * common.mk (help): add texts about gcbench.
- * eval.c (rb_call): ditto.
+Wed Nov 6 16:32:32 2013 Martin Duerst <duerst@it.aoyama.ac.jp>
-Fri Feb 1 19:10:04 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * lib/open3.rb: tweaked grammar in comments
- * intern.h: prototypes for new functions; rb_cstr_to_inum(),
- rb_str_to_inum(), rb_cstr_to_dbl(), rb_str_to_dbl()
+Wed Nov 6 11:46:36 2013 Masaki Matsushita <glass.saga@gmail.com>
- * bignum.c (rb_cstr_to_inum): changed from rb_cstr2inum(), and
- added argument badcheck to be consistent with parser. [new]
+ * array.c (rb_ary_sample): use RARRAY_AREF() and RARRAY_PTR_USE()
+ instead of RARRAY_PTR().
- * bignum.c (rb_str_to_inum): ditto.
+Wed Nov 6 10:37:07 2013 Masaki Matsushita <glass.saga@gmail.com>
- * bignum.c (rb_cstr2inum): wapper of rb_cstr_to_inum() now.
+ * array.c (rb_ary_and): defer hash creation and some refactoring.
- * bignum.c (rb_str2inum): ditto.
+Wed Nov 6 09:14:31 2013 Koichi Sasada <ko1@atdot.net>
- * object.c (rb_cstr_to_dbl): float number parser. [new]
+ * benchmark/bm_vm1_gc_short_lived.rb: added.
+ These GC benchmarks do not reflect practical applications.
+ They are only for tuning.
- * object.c (rb_str_to_dbl): ditto.
+ * benchmark/bm_vm1_gc_short_with_complex_long.rb: added.
- * object.c (rb_Float): use rb_cstr_to_dbl() for strict check.
+ * benchmark/bm_vm1_gc_short_with_long.rb: added.
- * object.c (rb_Integer): use rb_str_to_inum() for strict check.
+ * benchmark/bm_vm1_gc_short_with_symbol.rb: added.
- * string.c (rb_str_to_f): use rb_str_to_dbl() with less check.
+ * benchmark/bm_vm1_gc_wb_ary.rb: added.
- * string.c (rb_str_to_i): use rb_str_to_inum() with less check.
+ * benchmark/bm_vm1_gc_wb_obj.rb: added.
- * string.c (rb_str_hex): ditto.
+ * benchmark/bm_vm_thread_queue.rb: added.
+ This benchmark is added to know how fast C version of thread.so.
- * string.c (rb_str_oct): ditto.
+Wed Nov 6 09:13:32 2013 Koichi Sasada <ko1@atdot.net>
- * sprintf.c (rb_f_sprintf): ditto.
+ * gc.c: define RGENGC_ESTIMATE_OLDSPACE == 0 if USE_RGENGC is 0.
- * time.c (obj2long): ditto.
+Wed Nov 6 07:13:18 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (yylex): use rb_cstr_to_inum() for strict check.
+ * gc.c (Init_GC): add GC::OPTS to show options.
-Fri Feb 1 17:46:39 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Wed Nov 6 07:12:17 2013 Koichi Sasada <ko1@atdot.net>
- * regex.c (mbc_startpos): become macro.
+ * benchmark/gc/gcbench.rb: add some options to make quiet.
- * regex.c (euc_startpos): added for improvement.
+Wed Nov 6 04:14:25 2013 Aaron Patterson <aaron@tenderlovemaking.com>
- * regex.c (sjis_startpos): ditto.
+ * ext/psych/lib/psych/visitors/to_ruby.rb: process merge keys before
+ reviving objects. Fixes GH psych #168
+ * test/psych/test_merge_keys.rb: test for change
+ https://github.com/tenderlove/psych/issues/168
- * regex.c (utf8_startpos): ditto.
+Tue Nov 5 21:21:47 2013 Tanaka Akira <akr@fsij.org>
-Fri Feb 1 00:03:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/ruby/test_thread.rb (test_thread_join_in_trap):
+ Run the test in a different process.
- * file.c (rb_stat_inspect): print dev, rdev in hexadecimal.
+Tue Nov 5 20:14:32 2013 Masaya Tarui <tarui@ruby-lang.org>
-Thu Jan 31 20:45:33 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * gc.c (is_live_object): A hidden object may be a live object.
+ [ruby-dev:47788] [Bug #9072]
- * lib/mkmf.rb (dir_config): prior --with flag.
+Tue Nov 5 13:37:19 2013 Koichi Sasada <ko1@atdot.net>
- * lib/mkmf.rb (arg_config): avoid special variables for
- font-lock-mode.
+ * gc.c: add support to estimate increase of oldspace memory usage.
+ This is another approach to solve an issue discussed at r43530.
+ This feature is disabled as default.
-Thu Jan 31 13:22:36 2002 Tanaka Akira <akr@m17n.org>
+ This feature measures an increment of memory consumption by oldgen
+ objects. It measures memory consumption for each objects when
+ the object is promoted. However, measurement of memory consumption
+ is not accurate now. So that this measurement is `estimation'.
- * lib/pp.rb (File::Stat#pretty_print): print rdev_major and rdev_minor.
+ To implement this feature, move memsize_of() function from
+ ext/objspace/objspace.c and expose rb_obj_memsize_of().
-Wed Jan 30 15:58:04 2002 K.Kosako <kosako@sofnec.co.jp>
+ Some memsize() functions for T_DATA (T_TYPEDDATA) have problem to
+ measure memory size, so that we ignores T_DATA objects now.
+ For example, some functions skip NULL check for pointer.
- * regex.c (re_adjust_startpos): fix for SJIS and UTF-8.
+ The macro RGENGC_ESTIMATE_OLDSPACE enables/disables this feature,
+ and turned off as default.
- * regex.c (mbc_startpos): ditto.
+ We need to compare 3gen GC and this feature carefully.
+ (it is possible to enable both feature)
+ We need a help to compare them.
-Wed Jan 30 13:37:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * internal.h: expose rb_obj_memsize_of().
- * re.c (rb_reg_search): should set regs.allocated.
+ * ext/objspace/objspace.c: use rb_obj_memsize_of() function.
-Wed Jan 30 02:25:38 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * cont.c (fiber_memsize): fix to check NULL.
- * regex.c (re_adjust_startpos): search start of multibyte
- backward.
+ * variable.c (autoload_memsize): ditto.
- * regex.c (mbc_startpos): ditto.
+ * vm.c (vm_memsize): ditto.
-Tue Jan 29 17:59:20 2002 Tanaka Akira <akr@m17n.org>
+Tue Nov 5 04:03:07 2013 Koichi Sasada <ko1@atdot.net>
- * file.c: `major' and `minor' macro needs sys/mkdev.h on SunOS 5.x.
+ * gc.c (GC_MALLOC_LIMIT_MAX): fix default value 512MB -> 384MB.
+ 512MB is huge.
- * configure.in: add check for `sys/mkdev.h'.
+Tue Nov 5 03:31:23 2013 Koichi Sasada <ko1@atdot.net>
- * lib/pp.rb: don't print a mode File::Stat as decimal number.
+ * gc.c: add 3gen GC patch, but disabled as default.
-Mon Jan 28 19:16:58 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ RGenGC is designed as 2 generational GC, young and old generation.
+ Young objects will be promoted to old objects after one GC.
+ Old objects are not collect until major (full) GC.
- * array.c (rb_ary_fill): shouldn't yield unless block given.
+ The issue of this approach is some objects can promoted as old
+ objects accidentally and not freed until major GC.
+ Major GC is not frequently so short-lived but accidentally becoming
+ old objects are not freed.
-Mon Jan 28 18:33:18 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ For example, the program "loop{Array.new(1_000_000)}" consumes huge
+ memories because short lived objects (an array which has 1M
+ elements) are promoted while GC and they are not freed before major
+ GC.
- * parse.y (yylex): strict check for numbers.
+ To solve this problem, generational GC with more generations
+ technique is known. This patch implements three generations gen GC.
-Mon Jan 28 18:01:01 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ At first, newly created objects are "Infant" objects.
+ After surviving one GC, "Infant" objects are promoted to "Young"
+ objects.
+ "Young" objects are promoted to "Old" objects after surviving
+ next GC.
+ "Infant" and "Young" objects are collected if it is not marked
+ while minor GC. So that this technique solves this problem.
- * file.c (rb_stat_rdev_major): added. [new]
+ Representation of generations:
+ * Infant: !FL_PROMOTED and !oldgen_bitmap [00]
+ * Young : FL_PROMOTED and !oldgen_bitmap [10]
+ * Old : FL_PROMOTED and oldgen_bitmap [11]
- * file.c (rb_stat_rdev_minor): added. [new]
+ The macro "RGENGC_THREEGEN" enables/disables this feature, and
+ turned off as default because there are several problems.
+ (1) Failed sometimes (Heisenbugs).
+ (2) Performance down.
+ Especially on write barriers. We need to detect Young or Old
+ object by oldgen_bitmap. It is slower than checking flags.
- * file.c (rb_stat_inspect): print mode in octal.
+ To evaluate this feature on more applications, I commit this patch.
+ Reports are very welcome.
-Mon Jan 28 13:29:41 2002 K.Kosako <kosako@sofnec.co.jp>
+ This patch includes some refactoring (renaming names, etc).
- * eval.c (is_defined): defined?(Foo::Baz) should check constants
- only, no methods.
+ * include/ruby/ruby.h: catch up 3gen GC.
- * eval.c (is_defined): should not dump core on defined?(a::b)
- where a is not a class nor a module.
+ * .gdbinit: fix to show a prompt "[PROMOTED]" for promoted objects.
-Mon Jan 28 02:50:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Nov 5 00:05:51 2013 Koichi Sasada <ko1@atdot.net>
- * object.c (Init_Object): remove dup and clone from TrueClass,
- FalseClass, and NilClass.
+ * node.h: catch up comments for last commit.
- * array.c (rb_ary_fill): Array#fill takes block to get the value to
- fill.
+Tue Nov 5 00:02:00 2013 Koichi Sasada <ko1@atdot.net>
-Sat Jan 26 20:05:18 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * include/ruby/ruby.h: rename FL_OLDGEN to FL_PROMOTED.
+ This flag represents that "this object is promoted at least once."
- * string.c (rb_str_to_i): to_i(0) auto-detects base radix.
+ * gc.c, debug.c, object.c: catch up this change.
- * array.c (rb_ary_initialize): fill by the block evaluation value
- if block is given.
+Mon Nov 4 22:20:16 2013 Tanaka Akira <akr@fsij.org>
-Fri Jan 25 17:48:43 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * test/xmlrpc: Don't use fixed ports: 8070 and 8071.
- * configure.in (solaris): add '-shared' only for GNU ld.
+Mon Nov 4 15:25:52 2013 Tanaka Akira <akr@fsij.org>
-Fri Jan 25 17:16:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/xmlrpc/webrick_testing.rb (start_server): Initialize the server
+ at main thread to fail early.
- * class.c (rb_include_module): detect cyclic module inclusion.
+Mon Nov 4 10:08:17 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jan 25 02:17:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * eval_intern.h (TH_EXEC_TAG, TH_JUMP_TAG): get rid of undefined
+ behavior of setjmp() in rhs of assignment expression.
+ [ISO/IEC 9899:1999] 7.13.1.1
- * eval.c (rb_thread_cleanup): need not to free thread stacks at
- process termination.
+Sun Nov 3 23:06:51 2013 Tanaka Akira <akr@fsij.org>
- * array.c (rb_ary_fetch): use the block to get the default value
- if the block is given.
+ * sample/test.rb: Make temporary file names unique.
- * eval.c (rb_thread_schedule): should check time only if BOTH
- WAIT_SELECT and WAIT_TIME.
+Sun Nov 3 20:41:17 2013 Tanaka Akira <akr@fsij.org>
-Thu Jan 24 11:49:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/xmlrpc: Wrap definitions by TestXMLRPC module.
- * eval.c (umethod_bind): should update rklass field.
+Sun Nov 3 20:23:38 2013 Tanaka Akira <akr@fsij.org>
- * hash.c (rb_hash_update): if a block is given, yields [key,
- value1, value2] to the block to resolve conflict.
+ * test/xmlrpc/webrick_testing.rb (stop_server): Don't try to shutdown
+ the server if the server is not started.
-Thu Jan 24 05:42:01 2002 Koji Arai <jca02266@nifty.ne.jp>
+Sun Nov 3 09:35:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (rb_str_split_m): no need to consider KANJI
- characters, if the length of separator is 1 (byte).
+ * load.c (rb_feature_p): deal with default loadable suffixes.
-Wed Jan 23 16:07:31 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * load.c (load_lock): initialize statically linked extensions.
- * array.c (Init_Array): remove Array#filter.
+ * load.c (search_required, rb_require_safe): deal with statically
+ linked extensions.
-Wed Jan 23 13:27:44 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * load.c (ruby_init_ext): defer initialization of statically linked
+ extensions until required actually. [Bug #8883]
- * eval.c (rb_yield_0): restore source file/line after yield.
+Sat Nov 2 15:14:33 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Jan 23 02:00:14 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/logger.rb (Logger::LogDevice::LogDeviceMutex#lock_shift_log):
+ open file can't be removed or renamed on Windows. [ruby-dev:47790]
+ [Bug #9046]
- * object.c (rb_mod_initialize): should accept zero argument.
+ * test/logger/test_logger.rb (TestLogDevice#run_children): don't use
+ fork.
- * object.c (rb_mod_cmp): should raise ArgumentError if
- inheritance/inclusion relation between two classes/modules is
- not defined. [new]
+Sat Nov 2 07:08:43 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Tue Jan 22 17:45:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/logger.rb: Inter-process locking for log rotation
+ Current implementation fails log rotation on multi process env.
+ by sonots <sonots@gmail.com>
+ https://github.com/ruby/ruby/pull/428 fix GH-428 [Bug #9046]
- * io.c (rb_io_fsync): new method. [new]
+Fri Nov 1 23:24:31 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Jan 21 22:57:18 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * gc.c (wmap_mark_map): mark live objects only, but delete zombies.
+ [ruby-dev:47787] [Bug #9069]
- * signal.c (ruby_signal): must define sighandler_t for every
- occasion.
+Fri Nov 1 22:45:54 2013 Masaya Tarui <tarui@ruby-lang.org>
-Mon Jan 21 08:25:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (struct heap_page, gc_page_sweep, gc_sweep): Refactoring for
+ performance. Add before_sweep condition to heap_page structure.
- * eval.c (ruby_stop): should not trace error handler.
+ * gc.c (rb_gc_force_recycle): Use before_sweep member.
- * signal.c (install_sighandler): do not install sighandler unless
- the old value is SIG_DFL.
+ * gc.c (heap_is_before_sweep, is_before_sweep): Remove. They have not
+ already been used.
- * io.c (io_write): should not raise exception on O_NONBLOCK io.
+Fri Nov 1 22:20:28 2013 Masaya Tarui <tarui@ruby-lang.org>
- * dir.c (dir_set_pos): seek should return dir, pos= should not.
+ * gc.c (make_deferred): Refactoring. Collect codes which should be
+ atomic.
-Sat Jan 19 02:31:45 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (make_io_deferred, obj_free, rb_objspace_call_finalizer,
+ gc_page_sweep): Correspond to the above.
- * eval.c (rb_eval): need not to clar method cache for NODE_CLASS,
- NODE_SCLASS.
+Fri Nov 1 21:40:35 2013 Masaya Tarui <tarui@ruby-lang.org>
- * gc.c (obj_free): need not to clear method cache on class/module
- finalization.
+ * gc.c (typedef struct rb_objspace): Refactoring. Move some members
+ into profile member.
-Fri Jan 18 23:38:03 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (newobj_of): Correspond to the above.
- * array.c (rb_ary_fetch): index out of range raises exception
- unless optional second argument is specified.
+ * gc.c (finalize_list): Ditto.
-Fri Jan 18 17:32:09 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (objspace_live_num): Ditto.
- * io.c (rb_io_s_new): block check moved from initialize to this
- method.
+ * gc.c (gc_page_sweep): Ditto.
- * io.c (rb_io_s_open): open should call initialize too. IO#for_fd
- also calls initialize. [new]
+ * gc.c (rb_gc_force_recycle): Ditto.
-Fri Jan 18 10:26:33 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (garbage_collect_body): Ditto.
- * error.c (rb_sys_fail): replace INT2FIX() by INT2NUM() since
- errno value may not fit in Fixnum size on Hurd.
+ * gc.c (rb_gc_count): Ditto.
- * error.c (set_syserr): ditto.
+ * gc.c (gc_stat): Ditto.
-Fri Jan 18 10:12:00 2002 Usaku Nakamura <usa@ruby-lang.org>
+ * gc.c (gc_prof_set_heap_info): Ditto.
- * ext/socket/socket.c (tcp_svr_s_open): fix typo.
+ * gc.c (gc_profile_dump_on): Ditto.
-Fri Jan 18 02:27:48 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Nov 1 20:53:56 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * dir.c (dir_s_glob): returns nil if block given.
+ * string.c (rb_str_scrub): fix typo, should yield invalid byte
+ sequence to be scrubbed. reported by znz at IRC.
- * io.c (rb_io_each_byte): should return self.
+Fri Nov 1 17:25:30 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (rb_io_close_m): close check added.
+ * gc.c (is_live_object): finalizer may not run because of lazy-sweep.
+ [ruby-dev:47786] [Bug #9069]
- * dir.c (dir_seek): should return pos.
+Fri Nov 1 16:55:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jan 18 01:21:53 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * string.c (rb_str_scrub): export with fixed length arguments, and
+ allow nil as replacement string instead of omitting.
- * parse.y (fixpos): orig may be (NODE*)1, which should not be
- dereferenced.
+Fri Nov 1 06:20:44 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Thu Jan 17 16:21:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * thread.c (rb_mutex_struct): reduce rb_mutex_t size by 8 bytes
+ on 64bit platform. Patch by Eric Wong. [Feature #9068][ruby-core:58114]
- * eval.c (block_pass): allow "retry" from within argument passed
- block. [new]
+Fri Nov 1 01:08:33 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (localjump_error): should preserve exit status in the
- exception object. [new]
+ * benchmark/gc/gcbench.rb: print HWM (high water mark) if possible.
- * eval.c (proc_invoke): should raise exception for "break" if it's
- yielding, not calling. [new]
+Thu Oct 31 21:48:31 2013 Kouhei Sutou <kou@cozmixng.org>
- * eval.c (block_pass): should NOT raise exception for "break". [new]
+ * lib/rexml/parsers/streamparser.rb: Add dependency file require.
+ [Bug #9062] [ruby-dev:47779]
+ Reported by Ippei Obayashi. Thanks!!!
- * eval.c (block_pass): should allow block argument relay even in
- the tainted mode.
+Thu Oct 31 14:09:32 2013 Koichi Sasada <ko1@atdot.net>
-Thu Jan 17 04:51:48 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_method.c (rb_method_entry_make): fix to pass an ISeq value.
+ OBJ_WRITTEN() accepts only VALUE.
- * ext/socket/socket.c: support subclassing by proper "initialize"
- calling convention. [new]
+Wed Oct 30 19:07:57 2013 Akinori MUSHA <knu@iDaemons.org>
-Wed Jan 16 18:25:08 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * misc/ruby-additional.el (ruby-brace-to-do-end)
+ (ruby-do-end-to-brace, ruby-toggle-block): Remove functions that
+ are already in the latest released version of Emacs (24.3).
+ [Bug #7565]
- * st.c: primes should be primes.
+Wed Oct 30 12:44:28 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Jan 16 12:29:14 2002 Tanaka Akira <akr@m17n.org>
+ * win32/Makefile.sub (config.status): add missing variables,
+ PLATFORM_DIR and THREAD_MODEL.
- * lib/timeout.rb (timeout): new optional argument to specify an
- exception class.
+Wed Oct 30 12:20:32 2013 Tanaka Akira <akr@fsij.org>
- * lib/resolv.rb: use Resolv::ResolvTimeout for internal timeout to
- avoid problem with timeout of application.
+ * time.c (v2w): Normalize a rational value to an integer if possible.
+ [ruby-core:58070] [Bug #9059] reported by Isaac Schwabacher.
-Wed Jan 16 11:12:30 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Wed Oct 30 12:08:41 2013 Masaki Matsushita <glass.saga@gmail.com>
- * object.c (rb_Float): remove underscores between digits.
+ * array.c (rb_ary_uniq_bang): use rb_ary_modify_check() instead of
+ rb_ary_modify() because the array will be unshared soon.
- * bignum.c (rb_cstr2inum): reject prefix followed by spaces only.
+Wed Oct 30 03:25:10 2013 Aaron Patterson <aaron@tenderlovemaking.com>
- * class.c (rb_class_inherited): should use Object when no super
- class.
+ * ext/psych/lib/psych/visitors/yaml_tree.rb: make less garbage when
+ testing if a string is binary.
-Tue Jan 15 01:11:44 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Oct 30 03:08:24 2013 Aaron Patterson <aaron@tenderlovemaking.com>
- * eval.c (is_defined): method defined? check should honor
- protected too.
+ * ext/psych/lib/psych/visitors/yaml_tree.rb: string subclasses should
+ not be considered to be binary. Fixes Psych / GH 166
+ https://github.com/tenderlove/psych/issues/166
-Mon Jan 14 13:06:02 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/psych/test_string.rb: test for fix
- * eval.c (block_pass): should not pass tainted block, if $SAFE > 0.
+Tue Oct 29 23:01:18 2013 Masaki Matsushita <glass.saga@gmail.com>
-Sun Jan 13 09:31:41 2002 Koji Arai <jca02266@nifty.ne.jp>
+ * array.c (rb_ary_zip): some refactoring.
- * variable.c (rb_mod_remove_cvar): should pass the char*.
+Tue Oct 29 22:11:37 2013 Masaki Matsushita <glass.saga@gmail.com>
-Fri Jan 11 05:06:25 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * array.c (rb_ary_uniq_bang): use st_foreach() instead of for loop.
- * class.c (rb_make_metaclass): [new]
+Tue Oct 29 20:01:58 2013 Koichi Sasada <ko1@atdot.net>
- * class.c (rb_define_class_id): use rb_make_metaclass(), don't
- call Class#inherited hook.
+ * add RUBY_TYPED_FREE_IMMEDIATELY to data types which only use
+ safe functions during garbage collection such as xfree().
- * class.c (rb_class_inherited): [new]
+ On default, T_DATA objects are freed at same points as finalizers.
+ This approach protects issues such as reported by [ruby-dev:35578].
+ However, freeing T_DATA objects immediately helps heap usage.
- * class.c (rb_define_class): call Class#inherited hook here.
+ Most of T_DATA (in other words, most of dfree functions) are safe.
+ However, we turned off RUBY_TYPED_FREE_IMMEDIATELY by default
+ for safety.
- * class.c (rb_define_class_under): ditto after class path is set.
+ * cont.c: ditto.
- * class.c (rb_singleton_class): use rb_make_metaclass().
+ * dir.c: ditto.
- * eval.c (rb_eval): same as rb_define_class_under().
+ * encoding.c: ditto.
- * intern.h: prototypes of rb_make_metaclass() and
- rb_class_inherited().
+ * enumerator.c: ditto.
- * object.c (rb_class_s_new): use rb_make_metaclass() and
- rb_class_inherited().
+ * error.c: ditto.
- * object.c (Init_Object): use rb_make_metaclass().
+ * file.c: ditto.
- * struct.c (make_struct): use rb_class_inherited().
+ * gc.c: ditto.
-Thu Jan 10 19:15:15 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * io.c: ditto.
- * eval.c (rb_add_method): should clear cache by id always.
+ * iseq.c: ditto.
- * eval.c (rb_disable_super): no longer need to clear cache before
- rb_add_method().
+ * marshal.c: ditto.
- * eval.c (rb_export_method): ditto.
+ * parse.y: ditto.
- * eval.c (rb_attr): ditto.
+ * proc.c: ditto.
- * eval.c (rb_undef): ditto.
+ * process.c: ditto.
- * eval.c (rb_eval): ditto.
+ * random.c: ditto.
- * eval.c (rb_mod_modfunc): ditto.
+ * thread.c: ditto.
- * eval.c (rb_mod_define_method): ditto.
+ * time.c: ditto.
-Thu Jan 10 11:42:47 2002 Usaku Nakamura <usa@ruby-lang.org>
+ * transcode.c: ditto.
- * win32/resource.rb: Modify copyright in resource script.
+ * variable.c: ditto.
-Thu Jan 10 07:15:44 2002 takuma ozawa <metal@mine.ne.jp>
+ * vm.c: ditto.
- * re.c (match_select): should propagate taintness.
+ * vm_backtrace.c: ditto.
-Thu Jan 10 00:54:57 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_trace.c: ditto.
- * hash.c (rb_hash_set_default): Hash#default= should return the
- new value.
+ * ext/bigdecimal/bigdecimal.c: ditto.
-Wed Jan 9 20:21:09 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * ext/objspace/objspace.c: ditto.
- * misc/ruby-mode.el (ruby-calculate-indent): indentation after
- comment at beginning of buffer failed.
+ * ext/stringio/stringio.c: ditto.
- * misc/ruby-mode.el (font-lock-defaults): unless XEmacs, set
- font-lock variables in ruby-mode-hook.
+ * ext/strscan/strscan.c: ditto.
-Tue Jan 8 15:56:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Oct 29 19:48:33 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (rb_str_to_i): accepts optional base argument. [new]
+ * include/ruby/ruby.h: fix typo (FL_WB_PROTECT -> FL_WB_PROTECTED).
- * numeric.c (rb_fix2str): should not handle negative fixnum values
- int32 via calling sprintf() directly.
+Tue Oct 29 18:45:08 2013 Koichi Sasada <ko1@atdot.net>
-Tue Jan 8 15:54:02 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * vm_trace.c (tp_free): removed because empty free function.
+ Use RUBY_TYPED_NEVER_FREE instead.
- * eval.c (rb_add_method): clear replaced method from the cache.
+Tue Oct 29 18:37:33 2013 Koichi Sasada <ko1@atdot.net>
-Mon Jan 7 12:38:47 2002 Tanaka Akira <akr@m17n.org>
+ * include/ruby/ruby.h: introduce new flags for T_TYPEDDATA.
+ * RUBY_TYPED_FREE_IMMEDIATELY: free the data given by DATA_PTR()
+ with dfree function immediately. Otherwise (default), the data
+ freed at finalization point.
+ * RUBY_TYPED_WB_PROTECTED: make this object with FL_WB_PROTECT
+ (not shady).
- * lib/time.rb (Time#xmlschema): new optional argument
- fractional_seconds to specify a number of digits of
- fractional part of the time.
+ * gc.c (obj_free): support RUBY_TYPED_FREE_IMMEDIATELY.
-Sat Jan 5 13:18:11 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Tue Oct 29 16:49:03 2013 Koichi Sasada <ko1@atdot.net>
- * range.c (range_member): beginning check was
- wrong. [ruby-talk:30252]
+ * gc.c (vm_malloc_increase): decrease it more carefully.
-Sat Jan 5 03:07:34 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Oct 29 16:24:52 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (rb_str_new2): NULL pointer check added.
+ * gc.c (heap_page_resurrect): return a page in tomb heap even if
+ freelist is NULL.
-Sat Jan 5 00:19:12 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Tue Oct 29 15:46:30 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (yycompile): strdup()'ed twice.
+ * ruby_atomic.h (ATOMIC_SIZE_CAS): new macro, compare and swap size_t.
-Fri Jan 4 18:29:10 2002 Michal Rokos <m.rokos@sh.cvut.cz>
+Tue Oct 29 12:08:05 2013 Tanaka Akira <akr@fsij.org>
- * class.c (rb_define_module_under): should locate predefined
- module using rb_const_defined_at().
+ * ext/readline/readline.c (readline_getc): Consider
+ NULL as input.
-Fri Jan 4 17:23:49 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Tue Oct 29 11:10:08 2013 Aman Gupta <ruby@tmm1.net>
- * misc/ruby-mode.el (ruby-forward-string): forward a string. [new]
+ * gc.c (gc_profile_total_time): fix off-by-one error in
+ GC::Profiler.total_time.
+ * test/ruby/test_gc.rb (class TestGc): test for above.
- * misc/ruby-mode.el (ruby-parse-region): handle nested parentheses
- in a string and terminators in #{}.
+Tue Oct 29 09:53:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * misc/ruby-mode.el (ruby-calculate-indent): ditto.
+ * insns.def, vm.c, vm_insnhelper.c, vm_insnhelper.h, vm_method.c: split
+ ruby_vm_global_state_version into two separate counters - one for the
+ global method state and one for the global constant state. This means
+ changes to constants do not affect method caches, and changes to
+ methods do not affect constant caches. In particular, this means
+ inclusions of modules containing constants no longer globally
+ invalidate the method cache.
-Wed Jan 2 23:34:25 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+ * class.c, eval.c, include/ruby/intern.h, insns.def, vm.c, vm_method.c:
+ rename rb_clear_cache_by_class to rb_clear_method_cache_by_class
- * lib/mkmf.rb (create_makefile): add -I. to CPPFLAGS.
+ * class.c, include/ruby/intern.h, variable.c, vm_method.c: add
+ rb_clear_constant_cache
- * lib/mkmf.rb (create_makefile): srcdir support(.def and depend file).
+ * compile.c, vm_core.h, vm_insnhelper.c: rename vmstat field in
+ rb_call_info_struct to method_state
-Wed Jan 2 11:51:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_method.c: rename vmstat field in struct cache_entry to method_state
- * process.c (rb_f_system): abandon vfork.
+Mon Oct 28 23:26:04 2013 Tanaka Akira <akr@fsij.org>
- * io.c (pipe_open): ditto.
+ * test/readline/test_readline.rb (teardown): Clear Readline.input and
+ Readline.output.
-Tue Jan 1 02:16:48 2002 WATANABE Hirofumi <eban@ruby-lang.org>
+Mon Oct 28 21:35:31 2013 Tanaka Akira <akr@fsij.org>
- * ext/curses/extconf.rb: add dir_config.
+ * ext/-test-/file/depend, ext/-test-/postponed_job/depend,
+ ext/-test-/tracepoint/depend: New files for dependencies.
- * Makefile.in (fake.rb): set RUBY_VERSION.
+Mon Oct 28 15:32:18 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Dec 31 14:20:46 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * ext/openssl/depend (ossl.o): work around of dependency of
+ thread_native.h, which depends on headers by THREAD_MODEL.
+ [ruby-dev:47777]
- * parse.y (yycompile): always store copy of filename.
+ * ext/openssl/extconf.rb: need THREAD_MODEL.
- * parse.y (rb_compile_file): no longer need to strdup() here.
+Mon Oct 28 14:57:01 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Dec 31 05:26:40 2001 Ferris McCormick <fmccor@inforead.com>
+ * load.c (ruby_init_ext): share feature names between frame name and
+ provided features.
- * defines.h: sparc linux needs different FLUSH_REGISTER_WINDOWS
+Mon Oct 28 14:41:27 2013 Akinori MUSHA <knu@iDaemons.org>
-Mon Dec 31 04:27:28 2001 Minero Aoki <aamine@mx.edit.ne.jp>
+ * misc/ruby-electric.el: Import ruby-electric.el 2.1 from
+ https://github.com/knu/ruby-electric.el.
- * lib/net/protocol.rb: Protocol#start returns the return value of
- block.
+ * Hitting the newline-and-indent key within a comment fires
+ comment-indent-new-line.
- * lib/net/protocol.rb: set timeout limit by default.
+ * Introduce a new feature
+ `ruby-electric-autoindent-on-closing-char`.
- * lib/net/protocol.rb: new methods WriteAdapter#write, puts,
- print, printf.
+ * Fix fallback behavior of ruby-electric-space/return that
+ caused error with auto-complete.
- * lib/net/http.rb: rename HTTP#get2 to request_get, post2 to
- request_post ...
+Mon Oct 28 13:17:17 2013 Or Cohen <orc@fewbytes.com>
- * lib/net/smtp.rb: should not resolve HELO domain automatically.
+ * error.c (name_err_to_s): remove no longer needed overriding, since
+ r30455 which made exc_to_s almost same. Fixes [GH-413].
-Sun Dec 30 00:59:16 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Mon Oct 28 12:42:11 2013 Tanaka Akira <akr@fsij.org>
- * ext/extmk.rb.in, lib/mkmf.rb (have_library): accept -lm
- unconditionally on mswin32/mingw32.
+ * common.mk, ext/objspace/depend, ext/coverage/depend,
+ ext/-test-/debug/depend, ext/date/depend: Update dependencies.
-Sat Dec 29 01:55:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Oct 28 09:29:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * regex.c (re_search): abandon stclass optimization.
+ * vm.c: vm_clear_all_cache is not necessary now we use a 64 bit counter
+ for global state version.
-Fri Dec 28 14:39:05 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * vm_insnhelper.h: ruby_vm_global_state_version overflow is unnecessary
- * array.c (rb_cmpint): fixed typo.
+Mon Oct 28 07:47:32 2013 Aman Gupta <ruby@tmm1.net>
-Thu Dec 27 18:43:04 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * vm_backtrace.c (rb_profile_frame_classpath): do not use rb_inspect
+ directly, since it might have a custom implementation or show ivars.
- * bignum.c (rb_cstr2inum): deny "0_".
+Mon Oct 28 04:10:41 2013 Aman Gupta <ruby@tmm1.net>
-Thu Dec 27 01:54:02 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * vm_backtrace.c (rb_profile_frame_classpath): handle singleton
+ methods defined directly on an object.
+ * test/-ext-/debug/test_profile_frames.rb: test for above.
- * bignum.c (rb_cstr2inum): allow "0\n" and so on.
+Mon Oct 28 00:52:36 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Dec 26 19:24:21 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * struct.c (new_struct): fix warning message, class name and encoding.
- * error.c (rb_invalid_str): utility function to show inspect()'ed
- string.
+Sun Oct 27 20:53:08 2013 Tanaka Akira <akr@fsij.org>
- * bignum.c (rb_cstr2inum): prints invalid strings in inspect()'ed
- format.
+ * ext/readline/readline.c: Include ruby/thread.h for
+ rb_thread_call_without_gvl2.
+ (readline_rl_instream, readline_rl_outstream): Record FILE
+ structures allocated by this extension.
+ (getc_body): New function extracted from readline_getc.
+ (getc_func): New function.
+ (readline_getc): Use rb_thread_call_without_gvl2 to invoke getc_func.
+ [ruby-dev:47033] [Bug #8749]
+ (clear_rl_instream, clear_rl_outstream): Close FILE structure
+ allocated by this extension reliably. [ruby-core:57951] [Bug #9040]
+ (readline_readline): Use clear_rl_instream and clear_rl_outstream.
+ (readline_s_set_input): Set readline_rl_instream.
+ (readline_s_set_output): Set readline_rl_outstream.
+ (Init_readline): Don't call readline_s_set_input because
+ readline_getc doesn't block other threads for any FILE structure now.
- * object.c (rb_Float): ditto.
+ [ruby-dev:47033] [Bug #8749] reported by Nobuhiro IMAI.
+ [ruby-core:57951] [Bug #9040] reported by Eamonn Webster.
-Wed Dec 26 02:41:29 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Oct 26 19:31:28 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * object.c (rb_convert_type): no longer use rb_rescue().
+ * gc.c: catch up recent changes to compile on GC_DEBUG,
+ RGENGC_CHECK_MODE.
-Tue Dec 25 18:32:16 2001 K.Kosako <kosako@sofnec.co.jp>
+Sat Oct 26 19:08:00 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * re.c (rb_reg_search): initialize taint status of match object.
+ * range.c (range_initialize_copy): disallow to modify after
+ initialized.
-Tue Dec 25 02:37:49 2001 Tanaka Akira <akr@m17n.org>
+Sat Oct 26 17:48:54 2013 Tanaka Akira <akr@fsij.org>
- * lib/pp.rb, lib/prettyprint.rb: new files.
+ * lib/open-uri.rb (meta_add_field): : Re-implemented.
+ [ruby-core:58017] [Bug #9051] patch by Eamonn Webster.
-Tue Dec 25 02:11:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Oct 26 14:35:09 2013 Koichi Sasada <ko1@atdot.net>
- * object.c (rb_convert_type): check method responce check before
- invoking rb_rescue().
+ * gc.c (gc_profile_dump_on): use "Page" terminology.
- * object.c (rb_check_convert_type): ditto.
+Sat Oct 26 13:25:45 2013 Koichi Sasada <ko1@atdot.net>
-Mon Dec 24 02:37:40 2001 Le Wang <lewang@bigfoot.com>
+ * gc.c (gc_sweep, gc_heap_lazy_sweep): fix measurement code.
+ We only need one sweep time measurement without lazy sweep.
- * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords):
- fix font-lock problem [ruby-talk:29296].
+Sat Oct 26 11:59:13 2013 Tanaka Akira <akr@fsij.org>
-Sat Dec 22 22:52:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * addr2line.c: Include ELF header after system headers (especially
+ sys/types.h) to avoid compilation failure,
+ "usr/include/sh3/elf_machdep.h:4:2: error: #error Define _BYTE_ORDER!",
+ on NetBSD/sh3 (dreamcast, hpcsh, landisk, mmeye).
- * time.c (time_timeval): wrong cast to time_t.
+Sat Oct 26 11:35:22 2013 Koichi Sasada <ko1@atdot.net>
- * time.c (time_plus): ditto.
+ * gc.c: tuning parameters.
-Fri Dec 21 20:33:34 2001 K.Kosako <kosako@sofnec.co.jp>
+ * gc.c (GC_MALLOC_LIMIT): change default value to 16MB.
- * parse.y (str_extend): make up "#$;" handling.
+ * gc.c (GC_MALLOC_LIMIT_GROWTH_FACTOR): change default value to 2.0.
-Fri Dec 21 16:18:17 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * gc.c (gc_before_sweep): change decrease ratio of `malloc_limit'
+ from 1/4 to 1/10.
- * dln.h, ruby.h, util.h: enable prototypes in C++.
+Sat Oct 26 11:30:07 2013 Koichi Sasada <ko1@atdot.net>
-Fri Dec 21 15:12:41 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (vm_malloc_increase): do gc_rest_sweep() before GC.
+ gc_rest_sweep() can reduce malloc_increase, so try it before GC.
+ Otherwise, malloc_increase can be less than malloc_limit at
+ gc_before_sweep(). This means that re-calculation of malloc_limit
+ may be wrong value.
- * time.c (time_plus): result should not be negative unless
- NEGATIVE_TIME_T is defined.
+Sat Oct 26 06:35:41 2013 Masaya Tarui <tarui@ruby-lang.org>
- * time.c (time_new_internal): should check tv_sec overflow too.
+ * gc.c (gc_before_heap_sweep): Restructure code to mean clearly.
+ heap->freelist is connected to end of list.
- * time.c (time_timeval): should check time_t range when time is
- initialized from float.
+Sat Oct 26 04:01:35 2013 Koichi Sasada <ko1@atdot.net>
- * time.c (time_plus): uses modf(3).
+ * gc.c (gc_before_heap_sweep): fix freelist management.
+ After rb_gc_force_recycle() for a object belonging to heap->freelist,
+ `heap->using_page->freelist' is not null.
-Fri Dec 21 03:15:52 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Oct 24 21:57:24 2013 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
- * eval.c (rb_mod_define_method): must not convert Method to Proc.
+ * parse.y: Remove +(binary) and -(binary) special cases
+ [Feature #9048]
-Fri Dec 21 01:17:57 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Oct 24 12:45:53 2013 Zachary Scott <e@zzak.io>
- * lib/mkmf.rb (with_destdir): new.
+ * object.c: [DOC] Document first argument also takes string for:
- * lib/mkmf.rb: prefix target directories with $(DESTDIR) all.
+ rb_mod_const_get, rb_mod_const_set, rb_mod_const_defined
- * lib/mkmf.rb: no need to mkdir $(libdir)
+ Also added note about NameError exception for invalid constant name
-Thu Dec 20 14:08:20 2001 Minero Aoki <aamine@loveruby.net>
+Thu Oct 24 12:23:58 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * lib/net/protocol.rb: rename Net::Socket to Net::BufferedSocket
+ * thread.c (rb_thread_terminate_all): add a comment why we need
+ state check and call terminate_i again.
-Thu Dec 20 13:51:52 2001 K.Kosako <kosako@sofnec.co.jp>
+Thu Oct 24 12:15:02 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * variable.c (rb_cvar_set): add frozen class/module check.
+ * thread.c (rb_thread_terminate_all): add a comment why infinite
+ sleep is safe.
- * variable.c (rb_cvar_declare): add frozen class/module check.
+Thu Oct 24 07:41:42 2013 Aman Gupta <ruby@tmm1.net>
-Thu Dec 20 01:01:50 2001 takuma ozawa <metal@mine.ne.jp>
+ * gc.c: add new initial_growth_max tuning parameter.
+ [ruby-core:57928] [Bug #9035]
+ * gc.c (heap_set_increment): when initial_growth_max is set,
+ do not grow number of slots by more than growth_max at a time.
+ * gc.c (rb_gc_set_params): load optional new tuning value from
+ RUBY_HEAP_SLOTS_GROWTH_MAX environment variable.
+ * test/ruby/test_gc.rb (class TestGc): test for above.
- * re.c (match_to_a): should propagate taint.
+Thu Oct 24 01:34:12 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * re.c (rb_reg_s_quote): ditto.
+ * include/ruby/win32.h (rb_infinity_float): suppress overflow in
+ constant arithmetic warnings. [ruby-core:57981] [Bug #9044]
-Wed Dec 19 16:58:29 2001 Shugo Maeda <shugo@ruby-lang.org>
+Thu Oct 24 00:11:24 2013 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
- * ext/readline/readline.c: new methods
- Readline::basic_word_break_characters,
- Readline::basic_word_break_characters=,
- Readline::completer_word_break_characters,
- Readline::completer_word_break_characters=,
- Readline::basic_quote_characters,
- Readline::basic_quote_characters=,
- Readline::completer_quote_characters,
- Readline::completer_quote_characters=,
- Readline::filename_quote_characters,
- Readline::filename_quote_characters=.
+ * lib/ostruct.rb: raise NoMethodError with a #name and #args.
+ Raise RuntimeError when modifying frozen instances
+ instead of TypeError.
+ (OpenStruct#each_pair): Return an enumerator with size
+ (OpenStruct#delete): Use the converted argument.
+ Patches by Kenichi Kamiya. [Fixes GH-383]
-Wed Dec 19 14:05:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/ostruct/test_ostruct.rb: Added tests for above.
- * eval.c (rb_mod_define_method): define_method should follow
- default method visibility.
+Thu Oct 24 00:10:22 2013 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
- * eval.c (rb_attr): should warn if the default method visibility
- is "module_function" (can be error).
+ * array.c: Add Array#to_h [Feature #7292]
- * eval.c (rb_mod_define_method): should define class/module method
- also if the visibility is "module_function".
+ * enum.c: Add Enumerable#to_h
- * eval.c (rb_mod_define_method): should call hook method
- "method_added", and "singleton_method_added".
+Wed Oct 23 23:48:28 2013 Aman Gupta <ruby@tmm1.net>
-Wed Dec 19 11:42:13 2001 K.Kosako <kosako@sofnec.co.jp>
+ * gc.c: Rename free_min to min_free_slots and free_min_page to
+ max_free_slots. The algorithm for heap growth is:
+ if (swept_slots < min_free_slots) pages++
+ if (swept_slots > max_free_slots) pages--
- * string.c: use RESIZE_CAPA for capacity change.
+Wed Oct 23 22:51:03 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Dec 19 03:08:40 2001 Tanaka Akira <akr@m17n.org>
+ * win32/Makefile.sub (config.h): VC 2013 supports C99 mathematics
+ functions. [ruby-core:57981] [Bug #9044]
- * lib/time.rb: date.rb is not required anymore.
+Wed Oct 23 19:13:18 2013 Koichi Sasada <ko1@atdot.net>
- * lib/resolv.rb: fix document. refine IPv6 regex.
+ * gc.c: move increment from heap to heap_pages.
+ Share `increment' information with heaps.
-Tue Dec 18 23:24:53 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: change ratio of heap_pages_free_min_page
+ to 0.80.
+ This change means slow down page freeing speed.
- * ext/socket/socket.c (Init_socket): add listen method to
- TCPServer and UNIXServer.
+Wed Oct 23 17:52:03 2013 Koichi Sasada <ko1@atdot.net>
-Tue Dec 18 17:54:53 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * gc.c (heap_pages_free_unused_pages): cast to (int) for size_t
+ variable `i'.
- * sample/test.rb: Hash#indexes -> Hash#select.
+Wed Oct 23 17:39:35 2013 Koichi Sasada <ko1@atdot.net>
-Tue Dec 18 01:02:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: introduce tomb heap.
+ Tomb heap is where zombie objects and ghost (freed slot) lived in.
+ Separate from other heaps (now there is only eden heap) at sweeping
+ helps freeing pages more efficiently.
+ Before this patch, even if there is an empty page at former phase
+ of sweeping, we can't free it.
- * eval.c (rb_thread_schedule): should not select a thread which is
- not yet initialized.
+ Algorithm:
+ (1) Sweeping all pages in a heap and move empty pages from the
+ heap to tomb_heap.
+ (2) Check all existing pages and free a page
+ if all slots of this page are empty and
+ there is enough empty slots (checking by swept_num)
-Mon Dec 17 18:53:49 2001 K.Kosako <kosako@sofnec.co.jp>
+ To introduce this patch, there are several tuning of GC parameters.
- * string.c (rb_str_replace): swap arguments of OBJ_INFECT.
+Wed Oct 23 14:20:56 2013 Koichi Sasada <ko1@atdot.net>
-Mon Dec 17 16:52:20 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * gc.c (gc_prof_sweep_timer_stop): catch up recent changes
+ to compile on GC_PROFILE_MORE_DETAIL=1.
- * intern.h: add prototypes.
- rb_gc_enable(), rb_gc_disable(), rb_gc_start(), rb_str_new5()
- rb_str_buf_append(), rb_str_buf_cat(), rb_str_buf_cat2(),
- rb_str_dup_frozen()
+Wed Oct 23 11:43:27 2013 Zachary Scott <e@zzak.io>
- * ruby.h: added declaration.
- rb_defout, rb_stdin, rb_stdout, rb_stderr, ruby_errinfo
+ * file.c: [DOC] fix rdoc format of File#expand_path from r43386
- * rubyio.h: changed double include guard macro to RUBYIO_H.
+Tue Oct 22 21:58:28 2013 URABE Shyouhei <shyouhei@ruby-lang.org>
- * array.c (inspect_call): make static.
+ * vm_core.h (enum): avoid syntax error.
- * eval.c (dvar_asgn): ditto.
+ * method.h: ditto.
- * io.c (rb_io_close_read): ditto.
+ * internal.h: ditto.
- * lex.c (rb_reserved_word): ditto.
+Tue Oct 22 19:53:16 2013 Koichi Sasada <ko1@atdot.net>
- * ruby.c: (req_list_head, req_list_last): ditto.
+ * gc.c (Init_heap): move logics from heap_pages_init() and remove
+ heap_pages_init().
- * ruby.c (require_libraries): ditto.
+Tue Oct 22 19:19:05 2013 Koichi Sasada <ko1@atdot.net>
-Mon Dec 17 15:41:24 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: allow multiple heaps.
+ Now, objects are managed by page. And a set of pages is called heap.
+ This commit supports multiple heaps in the object space.
- * time.c (time_plus): wrong boundary check.
+ * Functions heap_* and rb_heap_t manages heap data structure.
+ * Functions heap_page_* and struct heap_page manage page data
+ structure.
+ * Functions heap_pages_* and struct rb_objspace_t::heap_pages
+ maintains all pages.
+ For example, pages are allocated from the heap_pages.
- * time.c (time_minus): ditto.
+ See https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/GC_design
+ and https://bugs.ruby-lang.org/attachments/4015/data-heap_structure_with_multiple_heaps.png
+ for more details.
-Mon Dec 17 15:19:32 2001 Tanaka Akira <akr@m17n.org>
+ Now, there is only one heap called `eden', which is a space for all
+ new generated objects.
- * time.c: new method `gmtoff', `gmt_offset' and `utc_offset'.
- (time_utc_offset): new function.
- (Init_Time): bind above methods to `time_utc_offset'.
+Tue Oct 22 18:26:12 2013 Tanaka Akira <akr@fsij.org>
- * time.c: 64bit time_t support.
- (time_s_at): use NUM2LONG instead of NUM2INT for tv_sec.
- (time_arg): initialize tm_isdst correctly.
- use long to initialize tm_year.
- (search_time_t): renamed from `make_time_t'.
- (make_time_t): call `timegm' and `mktime' instead of `search_time_t'
- if available.
- (time_to_i): use LONG2NUM instead of INT2NUM.
- (time_localtime): check localtime failure.
- (time_gmtime): check gmtime failure.
- (time_year): use LONG2NUM instead of INT2FIX.
- (time_to_a): use long for tm_year.
- (time_dump): check tm_year which is not representable with 17bit.
- (time_load): initialize tm_isdst.
+ * lib/pp.rb (object_address_group): Use Kernel#to_s to obtain the class
+ name and object address.
+ This fix a problem caused by %p in C generates variable length
+ address.
+ Reported by ko1 via IRC.
- * configure.in: check existence of `mktime' and `timegm'.
- check existence of tm_gmtoff field of struct tm.
- fix negative time_t for 64bit time_t.
+Tue Oct 22 16:57:48 2013 Benoit Daloze <eregontp@gmail.com>
- * missing/strftime.c: fix overflow by tm_year + 1900.
+ * file.c (File#expand_path): [DOC] improve documentation of File#expand_path.
+ Based on patch by Prathamesh Sonpatki. [ruby-core:57734] [Bug #9002]
- * lib/time.rb: use Time#utc_offset.
+Tue Oct 22 15:59:51 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Dec 17 00:02:04 2001 Guy Decoux <ts@moulon.inra.fr>
+ * dir.c (glob_helper): don't skip current directories if FNM_DOTMATCH
+ is given. [ruby-core:53108] [Bug #8006]
- * variable.c (find_class_path): should initialize iv_tbl if it's
- NULL.
+Tue Oct 22 14:53:11 2013 Koichi Sasada <ko1@atdot.net>
-Fri Dec 14 04:23:36 2001 Minero Aoki <aamine@loveruby.net>
+ * vm_trace.c: exterminate Zombies.
+ There is a bug that T_ZOMBIE objects are not collected.
+ Because there is a pass to miss finalizer postponed job
+ with multi-threading. This patch solve this issue.
- * lib/net/pop.rb: new method Net::POP3.APOP
+ * vm_trace.c (rb_postponed_job_register_one): set
+ RUBY_VM_SET_POSTPONED_JOB_INTERRUPT(th) if another same job
+ is registered.
+ There is a possibility to remain a postponed job without
+ interrupt flag.
- * lib/net/http.rb: set default Content-Type to
- x-www-form-urlencoded (causes warning)
+ * vm_trace.c (rb_postponed_job_register_one): check interrupt
+ carefully.
- * lib/net/protocol.rb: remove Net::NetPrivate module.
+ * vm_trace.c (rb_postponed_job_register_one): use additional space
+ to avoid buffer full.
- * lib/net/smtp.rb: ditto.
+ * gc.c (gc_finalize_deferred_register): check failure.
- * lib/net/pop.rb: ditto.
+ * thread.c (rb_threadptr_execute_interrupts): check
+ `postponed_job_interrupt' immediately. There is a possibility
+ to miss this flag.
- * lib/net/http.rb: ditto.
+Tue Oct 22 12:11:16 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Dec 14 00:16:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * configure.in: check if the given CFLAGS and LDFLAGS are working, and
+ bail out early if not.
- * class.c (rb_define_class): should return the existing class if
- the class is already defined and its superclass is ideintical to
- the specified superclass.
+Tue Oct 22 00:06:57 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * class.c (rb_define_class_under): ditto.
+ * file.c (rb_file_exists_p): warn deprecated name. [Bug #9041]
- * class.c (rb_define_module): should return the existing module if
- the module is already defined.
+Mon Oct 21 23:57:53 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Dec 13 09:52:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * encoding.c (load_encoding): should preserve outer errinfo, so that
+ expected exception may not be lost. [ruby-core:57949] [Bug #9038]
- * time.c (time_new_internal): avoid loop to calculate negative
- div, mod.
+Sun Oct 20 15:41:22 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * time.c (time_cmp): should handle Bignums.
+ * 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]
-Tue Dec 11 17:39:16 2001 K.Kosako <kosako@sofnec.co.jp>
+Sun Oct 20 15:29:05 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_pop): should ELTS_SHARED flag check before
- REALLOC.
+ * error.c (rb_syserr_fail_path_in): new function split from
+ rb_sys_fail_path_in to raise SystemCallError without errno.
-Tue Dec 11 12:45:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * internal.h (rb_syserr_fail_path): like rb_sys_fail_path but without
+ errno.
- * string.c (rb_str_match_m): should convert an argument into
- regexp if it's a string.
+Sun Oct 20 13:58:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Dec 11 03:40:23 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * include/ruby/ruby.h (rb_obj_wb_unprotect, rb_obj_written),
+ (rb_obj_write): suppress unused-parameter warnings.
- * array.c (rb_ary_select): Array#select(n,m,...) now works like
- Array#indexes(n,m,..). [new, experimental]
+Sun Oct 20 10:32:48 2013 Eric Hodel <drbrain@segment7.net>
- * hash.c (rb_hash_select): ditto.
+ * lib/rubygems: Update RubyGems to master 0886307. This commit
+ improves documentation and should bring ruby above 75% documented on
+ rubyci.
- * hash.c (env_select): ditto.
+Sun Oct 20 09:30:56 2013 Eric Hodel <drbrain@segment7.net>
- * re.c (match_select): ditto.
+ * lib/rubygems: Update to RubyGems master 3de7e0f. Changes:
- * struct.c (rb_struct_select): ditto.
+ Only attempt to build extensions for newly-installed gems. This
+ prevents compilation attempts at gem activation time for gems that
+ already have extensions built.
-Tue Dec 11 03:17:19 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ Fix crash in the dependency resolver for dependencies that cannot be
+ resolved.
- * object.c (rb_class_real): follow included modules.
+ * test/rubygems: ditto.
-Mon Dec 10 23:37:51 2001 Usaku Nakamura <usa@ruby-lang.org>
+Sun Oct 20 05:24:29 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * util.h: change prototype of ruby_qsort() to accord with its
- definition.
+ * variable.c (rb_class2name): should return real class name, not
+ singleton class or iclass.
-Mon Dec 10 20:30:01 2001 K.Kosako <kosako@sofnec.co.jp>
+Sun Oct 20 04:18:48 2013 Aman Gupta <ruby@tmm1.net>
- * gc.c (STR_ASSOC): use FL_USER3 instead of FL_USER2.
+ * variable.c (rb_class2name): call rb_tmp_class_path() directly to
+ avoid extra rb_str_dup() from rb_class_name().
-Mon Dec 10 17:40:02 2001 K.Kosako <kosako@sofnec.co.jp>
+Sat Oct 19 19:59:02 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (str_extend): make up pushback call.
+ * win32/file.c (code_page): use simple array instead of st_table.
-Mon Dec 10 02:09:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * encoding.c (rb_locale_encindex): defer initialization of win32 code
+ page table until encoding db loaded.
- * array.c (rb_ary_modify): should copy the internal buffer if the
- modifying buffer is shared.
+Sat Oct 19 08:25:05 2013 Koichi Sasada <ko1@atdot.net>
- * array.c (ary_make_shared): make an internal buffer of an array
- to be shared.
+ * gc.c: fix rb_objspace_t.
+ * make "struct heap" and move most of variables
+ in rb_objspace_t::heap.
+ * rename rb_objspace_t::heap::sorted to
+ rb_objspace_t::heap_sorted_pages
+ and make a macro heap_sorted_pages.
+ * rename rb_objspace_t::heap::range to
+ rb_objspace_t::heap_range and rename macros
+ lomem/himem to heap_lomem/heap_himem.
- * array.c (rb_ary_shift): avoid sliding an internal buffer by
- using shared buffer.
+Sat Oct 19 07:14:40 2013 Eric Hodel <drbrain@segment7.net>
- * array.c (rb_ary_subseq): avoid copying the buffer.
+ * lib/rubygems: Update to RubyGems master 42543b6. Changes:
-Mon Dec 10 01:06:56 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ Fix `gem update` for gems with multiple platforms.
- * parse.y (gettable): should freeze __FILE__ string.
+ * test/rubygems: ditto.
-Sun Dec 9 18:06:26 2001 Minero Aoki <aamine@loveruby.net>
+Sat Oct 19 06:55:52 2013 Eric Hodel <drbrain@segment7.net>
- * lib/net/protocol.rb: calls on_connect before conn_command
+ * lib/rubygems: Update to RubyGems master 0a3814b. Changes:
-Sat Dec 8 23:27:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ Fixed extension directory in Gem::Specification#require_paths.
- * io.c (rb_io_puts): old behavoir restored. rationale: a) if you
- want to call to_s for arrays, you can just call print a, "\n".
- b) to_s wastes memory if array (and sum of its contents) is
- huge. c) now any object that has to_ary is treated as an array,
- using rb_check_convert_type().
+ Allow installation of gems when $HOME is nonexistent or unwritable.
-Sat Dec 8 22:40:38 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ Use proper API in InstallCommand.
- * hash.c (rb_hash_initialize): now accepts a block to calculate
- the default value. [new]
+ Improve support for path option in gem dependency files.
- * hash.c (rb_hash_aref): call "default" method to get the value
- corrensponding to the non existing key.
+ Remove warnings.
- * hash.c (rb_hash_default): get the default value based on the
- block given to 'new'. Now it takes an optinal "key" argument.
- "default" became the method to get the value for non existing
- key. Users may override "default" method to change the hash
- behavior.
+ * test/rubygems: ditto.
- * hash.c (rb_hash_set_default): clear the flag if a block is given
- to 'new'
+Fri Oct 18 15:23:34 2013 Koichi Sasada <ko1@atdot.net>
-Sat Dec 8 02:29:54 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: change terminology of heap.
+ Change "slot" to "page". "Slot" is a space of RVALUE.
+ 1. "Heap" consists of a set of "heap_page"s (pages).
+ 2. Each "heap_page" has "heap_page_body".
+ 3. "heap_page_body" has RVALUE (a.k.a. "slot") spaces.
+ 4. "sorted" is a sorted array of "heap_page"s, sorted
+ by address of heap_page_body (for "is_pointer_to_heap").
- * object.c (Init_Object): undef Data.allocate, left Data.new.
+ See https://bugs.ruby-lang.org/attachments/4008/data-heap_structure.png.
-Fri Dec 7 19:12:14 2001 Minero Aoki <aamine@loveruby.net>
+Fri Oct 18 09:40:43 2013 Eric Hodel <drbrain@segment7.net>
- * lib/net/smtp.rb: SMTP.new requires at least one arg.
+ * lib/rubygems: Update to RubyGems master cee6788. Changes:
- * lib/net/pop.rb: POP.new requires at least one arg.
+ Fix test failure on vc10-x64 Server on rubyci.org due to attempting
+ to File.chmod where it is not supported.
- * lib/net/pop.rb: uses "raise *Error.new" instead of simple raise.
+ Continuing work on improved gem dependencies file (Gemfile) support.
- * lib/net/http.rb: HTTP.new requires at least one arg.
+ * test: ditto.
- * lib/net/http.rb: changes implicit start algorithm.
+Fri Oct 18 06:02:49 2013 Eric Hodel <drbrain@segment7.net>
-Fri Dec 7 15:49:39 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * lib/rubygems: Update to RubyGems master f738c67. Changes:
- * ext/extmk.rb.in: ignore adding -Wl,-R to DLDFLAGS when the directory
- is $topdir.
+ Fixed test bug for ruby with ENABLE_SHARED = no
-Fri Dec 7 13:58:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/rubygems: ditto.
- * ext/curses/curses.c (window_scrollok): use RTEST().
+Fri Oct 18 00:57:07 2013 Tanaka Akira <akr@fsij.org>
- * ext/curses/curses.c (window_idlok): ditto.
+ * lib/tsort.rb (TSort.tsort): Extracted from TSort#tsort.
+ (TSort.tsort_each): Extracted from TSort#tsort_each.
+ (TSort.strongly_connected_components): Extracted from
+ TSort#strongly_connected_components.
+ (TSort.each_strongly_connected_component): Extracted from
+ TSort#each_strongly_connected_component.
- * ext/curses/curses.c (window_keypad): ditto.
+Thu Oct 17 18:50:08 2013 Koichi Sasada <ko1@atdot.net>
- * ext/curses/curses.c (window_idlok): idlok() may return void on
- some platforms; so don't use return value.
+ * gc.c (CALC_EXACT_MALLOC_SIZE_CHECK_OLD_SIZE): introduced.
+ This macro enable checker compare with allocated memory and
+ declared old_size of sized_xfree and sized_xrealloc.
- * ext/curses/curses.c (window_scrollok): ditto for consistency.
+Thu Oct 17 18:45:41 2013 Koichi Sasada <ko1@atdot.net>
- * ext/curses/curses.c: replace FIX2INT() by typechecking NUM2INT().
+ * string.c (STR_HEAP_SIZE): includes TERM_LEN(str).
-Fri Dec 7 09:51:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * string.c (rb_str_memsize): use STR_HEAP_SIZE().
- * parse.y (str_extend): should not process immature #$x and
- #@x interpolation, e.g #@#@ etc.
+Thu Oct 17 17:43:00 2013 Shugo Maeda <shugo@ruby-lang.org>
-Fri Dec 7 03:21:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_insnhelper.c (vm_call_method): set ci->me to 0 when the
+ original method of a refined method is undef to avoid SEGV.
- * enum.c (enum_sort_by): sort_by does not have to be stable always.
+ * vm_method.c (rb_method_entry_without_refinements): return 0 when
+ the original method of a refined method is undef to avoid SEGV.
- * enum.c (enum_sort_by): call qsort directly to gain performance.
+ * test/ruby/test_refinement.rb: related test.
-Thu Dec 6 18:52:28 2001 Usaku Nakamura <usa@ruby-lang.org>
+Thu Oct 17 17:38:36 2013 Koichi Sasada <ko1@atdot.net>
- * ext/extmk.rb.in: add -Wl,-R flags to DLDFLAGS on netbsdelf.
+ * gc.c, internal.h: rename ruby_xsizefree/realloc to
+ rb_sized_free/realloc.
- * lib/mkmf.rb: ditto.
+ * array.c: catch up these changes.
-Thu Dec 6 09:15:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * string.c: ditto.
- * util.c (ruby_qsort): ruby_qsort(qs6) is now native thread safe.
+Thu Oct 17 17:32:51 2013 Koichi Sasada <ko1@atdot.net>
- * error.c (rb_sys_fail): it must be a bug if it's called when
- errno == 0.
+ * array.c, string.c: use ruby_xsizedfree() and ruby_xsizedrealloc().
-Wed Dec 5 23:36:56 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * internal.h (SIZED_REALLOC_N): define a macro as REALLOC_N().
- * regex.c (WC2MBC1ST): should not pass through > 0x80 number in UTF-8.
+Thu Oct 17 17:11:17 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Dec 5 20:05:18 2001 Florian Frank <flori@ping.de>
+ * win32/win32.c (console_emulator_p): check by comparison between
+ module handle of WriteConsoleW and kernel32.dll.
- * ext/socket/socket.c (bsock_send): should raise EWOULDBLOCK
- exception.
+ * configure.in, win32/Makefile.sub, win32/setup.mak: no longer need
+ psapi.lib.
- * ext/socket/socket.c (s_recvfrom): ditto.
+Thu Oct 17 16:53:30 2013 Koichi Sasada <ko1@atdot.net>
- * ext/socket/socket.c (s_accept): ditto.
+ * gc.c, internal.h: add new internal memory management functions.
+ * void *ruby_xsizedrealloc(void *ptr, size_t new_size, size_t old_size)
+ * void ruby_xsizedfree(void *x, size_t size)
+ These functions accept additional size parameter to calculate more
+ accurate malloc_increase parameter which control GC timing.
+ [Feature #8985]
- * ext/socket/socket.c (udp_send): ditto.
+Thu Oct 17 14:21:34 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Dec 4 17:43:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * win32/file.c (rb_file_expand_path_internal): fix memory leaks at
+ a non-absolute home exception.
- * ruby.h (DUPSETUP): new SETUP macro for duplication.
+Thu Oct 17 14:06:39 2013 Koichi Sasada <ko1@atdot.net>
- * time.c (time_dup): implement in Time class using DUPSETUP.
+ * ext/objspace/object_tracing.c (newobj_i): fix memory leak.
+ There is possibility to remain info due to missing FREEOBJ event.
+ FREEOBJ events are skipped while suppress_tracing state, for example,
+ during trace events are invoking.
- * time.c (time_getlocaltime): new method; probably requires
- better name than getlocaltime. [new,experimental]
+Thu Oct 17 12:30:16 2013 Tanaka Akira <akr@fsij.org>
- * time.c (time_getgmtime): ditto.
+ * lib/tsort.rb (TSort.each_strongly_connected_component_from):
+ Extracted from TSort#each_strongly_connected_component_from.
- * array.c (rb_ary_dup): uses DUPSETUP.
+Thu Oct 17 11:07:06 2013 Eric Hodel <drbrain@segment7.net>
- * string.c (rb_str_dup): uses DUPSETUP. now properly copies
- instance variables too.
+ * lib/rubygems: Update to RubyGems master 941c21a. Changes:
-Tue Dec 4 03:49:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ Restored method bundler wants to remove for compatibility.
- * io.c (io_fread): EAGAIN/EWOULDBLOCK should not terminate and
- throw away the input.
+ Improvements to Gemfile compatibility.
- * time.c (time_new_internal): underflow adjustment must not use
- negative div/mod.
+ * test/rubygems: ditto.
- * time.c (time_cmp): should consider tv_usec on non Fixnum number
- comparison.
-Sun Dec 9 23:00:54 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
- * matrix.rb: Vector#* bug. reported from Massimiliano Mirra
- <info@chromatic-harp.com>.
-
-Sun Dec 9 22:15:59 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Oct 17 08:08:11 2013 Koichi Sasada <ko1@atdot.net>
- * enum.c (enum_sort_by): should replace with last elements.
+ * ext/objspace/object_tracing.c (newobj_i): add workaround.
+ some bugs hits this check.
-Mon Dec 3 16:06:57 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * ext/objspace/object_tracing.c (object_allocations_reporter_i): cast as pointer.
- * ext/socket/extconf.rb: remove -L/usr/local/lib.
+Thu Oct 17 07:36:53 2013 Eric Hodel <drbrain@segment7.net>
- * configure.in: add -Wl,-export-dynamic on NetBSD.
+ * lib/rubygems: Update to RubyGems master 2abce58. Changes:
-Mon Dec 3 16:04:16 2001 Usaku Nakamura <usa@ruby-lang.org>
+ Fixed documentation generation when sdoc and json are installed as
+ gems.
- * configure.in: not use X11BASE, since it's not always set.
+ Added some missing documentation.
-Mon Dec 3 13:53:49 2001 Tanaka Akira <akr@m17n.org>
+Thu Oct 17 07:10:26 2013 Zachary Scott <e@zzak.io>
- * time.c (rb_strftime): buffer length condition was wrong.
+ * ext/curses/curses.c: [DOC] Cleaned up formatting consistency of rdoc
+ comments for Curses, including period spacing and column width.
- * time.c (time_strftime): should backup buf to the original
- buffer.
+ This patch also fixed some typos. Thanks to @postmodern for the patch!
+ [Fixes GH-420] https://github.com/ruby/ruby/pull/420
-Mon Dec 3 09:59:08 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Oct 17 06:58:42 2013 Zachary Scott <e@zzak.io>
- * time.c (time_plus): must detect result overflow.
+ * ext/date/date_core.c: [DOC] plural grammar fixed by @scott113341
+ Contributed via documenting-ruby.org: documenting-ruby/ruby#16
+ https://github.com/documenting-ruby/ruby/pull/16
- * time.c (time_minus): ditto.
+Thu Oct 17 05:52:31 2013 Zachary Scott <e@zzak.io>
- * time.c (time_new_internal): round usec overflow and underflow
- here.
+ * ext/io/nonblock/nonblock.c: [DOC] Document io/nonblock by reprah
+ [Fixes GH-418] https://github.com/ruby/ruby/pull/418 based on the
+ original discussion from documenting-ruby/ruby#18
- * time.c (time_plus): move operand overflow/underflow check to
- time_new_internal().
+Thu Oct 17 05:40:33 2013 Koichi Sasada <ko1@atdot.net>
- * time.c (time_minus): ditto.
+ * gc.c (objspace_each_objects): do not skip empty RVALUEs.
- * time.c (time_cmp): should consider tv_usec too.
+Thu Oct 17 05:31:31 2013 Koichi Sasada <ko1@atdot.net>
-Mon Dec 3 03:32:22 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * error.c (rb_bug_reporter_add): return simply 0 if failed.
+ Please check return value.
- * configure.in: apply patch from NetBSD's pkgsrc (patch-aa).
+Thu Oct 17 05:17:33 2013 Koichi Sasada <ko1@atdot.net>
-Sun Dec 2 22:01:52 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * ext/objspace/object_tracing.c: add new method
+ ObjectSpace.trace_object_allocations_debug_start for GC debugging.
+ If you encounter the BUG "... is T_NONE" (and so on) on your
+ application, please try this method at the beginning of your app.
- * configure.in: use GCC, not without_gcc. remove without_gcc.
+Wed Oct 16 22:35:27 2013 Zachary Scott <e@zzak.io>
- * ext/curses/extconf.rb: check for curses.h.
+ * ext/io/nonblock/nonblock.c: use rb_cIO instead of VALUE
- * ext/dbm/extconf.rb: check if $CFLAGS includes DBM_HDR.
+Wed Oct 16 17:45:13 2013 Koichi Sasada <ko1@atdot.net>
-Sat Dec 1 12:13:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bootstraptest/runner.rb: check nil before calling `signal?'
+ for a process status.
- * time.c (time_gmtime): time_modify() should be called even if tm
- struct is not calculated yet.
+Wed Oct 16 17:37:17 2013 Koichi Sasada <ko1@atdot.net>
-Fri Nov 30 17:02:55 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * error.c, internal.h (rb_bug_reporter_add): add a new C-API.
+ rb_bug_reporter_add() allows to register a function which
+ is called at rb_bug() called.
- * configure.in: set target_cpu to i386 on cygwin and mingw32.
-
- * configure.in: default --enable-shared to yes on cygwin and mingw32.
+ * ext/-test-/bug_reporter/bug_reporter.c: add a test for this C-API.
-Fri Nov 30 00:25:28 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * ext/-test-/bug_reporter/extconf.rb: ditto.
- * README.EXT: Appendix B is duplicated.
+ * test/-ext-/bug_reporter/test_bug_reporter.rb: ditto.
- * README.EXT.ja: ditto.
+Wed Oct 16 15:14:21 2013 Koichi Sasada <ko1@atdot.net>
-Thu Nov 29 00:28:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * NEWS: add a line into NEWS for last commit.
- * string.c (rb_str_equal): object with to_str must be treated as a
- string.
+Wed Oct 16 15:09:14 2013 Koichi Sasada <ko1@atdot.net>
-Wed Nov 28 18:46:28 2001 Ville Mattila <mulperi@iki.fi>
+ * ext/objspace/objspace.c: add a new method `reachable_objects_from_root'.
+ ObjectSpace.reachable_objects_from_root returns all objects referred
+ from root (called "root objects").
+ This feature is for deep object analysis.
- * eval.c (rb_thread_select): should subtract timeofday() from
- limit, not reverse.
+ * test/objspace/test_objspace.rb: add a test.
-Wed Nov 28 16:03:28 2001 K.Kosako <kosako@sofnec.co.jp>
+Wed Oct 16 15:00:21 2013 Eric Hodel <drbrain@segment7.net>
- * util.c (scan_hex): x is not a hexadecimal digit.
+ * lib/rubygems: Update to RubyGems master b955554. Changes:
-Wed Nov 28 13:38:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ Fixed NameError for Gem::Ext due to re-entering file lookup in
+ RubyGems' overridden require. Bug by Koichi Sasada.
- * eval.c (rb_thread_schedule): should treat the case that
- select(2) returns 0, if a thread is under both WAIT_SELECT and
- WAIT_TIME. Jakub Travnik <J.Travnik@sh.cvut.cz> actually fixed
- this bug.
+ Fixed possible circular require warning in tests.
-Tue Nov 27 02:15:25 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ Used existing constant for `gem install -g` dependency file list.
- * marshal.c (w_float): must distinguish -0.0 from 0.0.
+ * test/rubygems: ditto.
-Mon Nov 26 20:57:24 2001 Akinori MUSHA <knu@iDaemons.org>
+Wed Oct 16 09:42:42 2013 Eric Hodel <drbrain@segment7.net>
- * ext/Setup*, ext/syslog/*: import the "syslog" module from the
- rough ruby project.
+ * lib/rubygems: Update to RubyGems master 278d00d. Changes:
-Mon Nov 26 16:14:42 2001 K.Kosako <kosako@sofnec.co.jp>
+ Fixes building extensions without a "clean" make rule
- * gc.c (gc_mark_all): tweak mark order for little bit better scan.
+ Adds gem dependency file autodetection to "gem install -g"
- * gc.c (rb_gc_mark): ditto.
+ * test/rubygems: Tests for the above.
- * gc.c (rb_gc): ditto.
+Wed Oct 16 09:12:23 2013 Eric Hodel <drbrain@segment7.net>
-Mon Nov 26 16:54:59 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * lib/rubygems: Update to RubyGems master commit 2a74263. This fixes
+ several bugs in RubyGems 2.2.0.preview.1.
- * win32/win32.c (mypopen): fixed that mypclose() didn't really close
- pipe.
+ * test/rubygems: ditto.
- * win32/win32.c (CreateChild): set STARTF_USESTDHANDLES flag only
- when some handles are passed.
+Wed Oct 16 07:25:02 2013 Aman Gupta <ruby@tmm1.net>
-Mon Nov 26 16:31:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (gc_mark_roots): rename roots to be categories
+ instead of function names.
- * enum.c (sort_by_i): slight performance boost.
+Tue Oct 15 19:18:13 2013 Koichi Sasada <ko1@atdot.net>
-Sun Nov 25 21:02:18 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * gc.h (rb_objspace_reachable_objects_from_root): added.
+ This API provides information which objects are root objects.
+ `category' shows what kind of root objects.
- * parse.y (str_extend): change types of second and third arguments
- from char to int.
+ * gc.c (gc_mark_roots): separate from gc_marks_body().
-Thu Nov 22 20:15:28 2001 TAMURA Takashi <sheepman@tcn.zaq.ne.jp>
+Tue Oct 15 17:47:59 2013 Tanaka Akira <akr@fsij.org>
- * gc.c (gc_mark_rest): should call gc_mark_children(), not gc_mark().
+ * process.c: Fix a typo. MacOS X doesn't have ENOTSUPP.
- * gc.c (rb_gc_mark): may cause infinite looop.
+Mon Oct 14 12:32:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Nov 22 00:28:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ruby.c (process_options): load statically linked extensions before
+ rubygems, because of ext/thread.
- * parse.y (str_extend): should check nesting parentheses in #{}.
+ * ruby.c (process_options): use gem_prelude instead of requiring
+ rubygems directly when --enable=gems is given.
-Wed Nov 21 12:22:52 2001 Shugo Maeda <shugo@ruby-lang.org>
+ * Makefile.in (DEFAULT_PRELUDES): always use gem_prelude regardless of
+ --disable-rubygems.
- * lib/cgi.rb: CGI#header: do not set Apache.request.status for
- Location: if Apache.request.status is already set.
+Mon Oct 14 11:07:51 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Nov 21 02:24:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/mkmf.rb (have_framework): should append framework options to
+ $LIBS, not $LDFLAGS. The former is propagated to exts.mk when
+ enable-static-linked-ext.
- * process.c (pst_wstopsig): returns nil unless WIFSTOPPED() is
- non-zero.
+ * lib/mkmf.rb (create_makefile): ranlib on static library, not DLLIB.
- * process.c (pst_wtermsig): returns nil unless WIFSIGNALED() is
- non-zero.
+Sun Oct 13 23:53:40 2013 Andrew Grimm <andrew.j.grimm@gmail.com>
- * process.c (pst_wexitstatus): returns nil unless WIFEXITED() is
- non-zero.
+ * vsnprintf.c: Fix spelling from compliment to complement.
+ Patch by @agrimm.
-Wed Nov 21 00:17:54 2001 Ville Mattila <mulperi@iki.fi>
+ * include/ruby/ruby.h: ditto
- * eval.c (rb_thread_select): tv_sec and tv_usec should not be
- negative.
+Sun Oct 13 20:59:27 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * signal.c (posix_signal): do not set SA_RESTART for SIGVTALRM.
+ * vm.c (Init_BareVM): initialize defined_module_hash here,
+ Init_top_self() is too late to register core classes/modules.
-Tue Nov 20 21:09:22 2001 Guy Decoux <ts@moulon.inra.fr>
+ * compile.c (compile_array_): no hash to merge if it is empty.
- * parse.y (call_args2): block_arg may follow the first argument in
- call_args2.
+ * vm.c (m_core_hash_merge_kwd): just check keys if only one argument
+ is given, without merging.
-Tue Nov 20 02:01:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Oct 12 06:35:01 2013-10-11 Eric Hodel <drbrain@segment7.net>
- * eval.c (stack_check): should avoid stack length check during
- raising SystemStackError exception.
+ * lib/rake: Update to rake 10.1.0
+ * bin/rake: ditto.
+ * test/rake: ditto.
-Tue Nov 20 01:07:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * NEWS: Update NEWS to include rake 10.1.0 and links to release notes.
- * parse.y (str_extend): should not terminate string interpolation
- with newlines in here-docs and newline terminated strings.
+Sat Oct 12 03:26:04 2013 Koichi Sasada <ko1@atdot.net>
-Mon Nov 19 17:58:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * class.c, variable.c, gc.c (rb_class_tbl): removed.
- * eval.c (rb_mod_modfunc): should follow NODE_ZSUPER link; based
- on Guy Decoux's patch in [ruby-talk:25478].
+ * vm.c, vm_core.h (rb_vm_add_root_module): added to register as a
+ defined root module or class.
+ This guard helps mark miss from defined classes/modules they are
+ only referred from C's global variables in C-exts.
+ Basically, it is extension's bug.
+ Register to hash object VM has.
+ Marking a hash objects allows generational GC supports.
-Mon Nov 19 16:09:33 2001 Tanaka Akira <akr@m17n.org>
+ * gc.c (RGENGC_PRINT_TICK): disable (revert).
- * string.c (rb_str_succ): there was buffer overrun.
+Sat Oct 12 03:24:49 2013 Koichi Sasada <ko1@atdot.net>
-Mon Nov 19 14:14:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_method.c (rb_gc_mark_unlinked_live_method_entries):
+ revert last commit to introduce debug prints.
- * parse.y (str_extend): term can be any character.
+Fri Oct 11 21:05:19 2013 Koichi Sasada <ko1@atdot.net>
-Mon Nov 19 04:58:42 2001 Wakou Aoyama <wakou@fsinet.or.jp>
+ * internal.h, parse.y: use `full_mark' instead of `full_marking'.
- * lib/cgi.rb (header): support for Apache. thanks to
- Shugo Maeda <shugo@ruby-lang.org>.
+Fri Oct 11 20:58:16 2013 Koichi Sasada <ko1@atdot.net>
-Sun Nov 18 19:37:55 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * gc.c: use terminology `full_mark' instead of `minor_gc'
+ in mark functions.
- * parse.y: needless conditionals.
+Fri Oct 11 20:46:09 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (parse_regx): parse error at unterminated regex /#{.
- (ruby-bugs-ja:PR#142)
+ * gc.c: use __GNUC__ instead of __GCC__.
-Sat Nov 17 12:37:39 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Oct 11 20:35:59 2013 Koichi Sasada <ko1@atdot.net>
- * pack.c (pack_unpack): should give length to utf8_to_uv().
+ * gc.c, parse.y: support generational Symbol related marking.
+ Each symbols has String objects respectively to represent
+ Symbols.
+ These objects are marked only when:
+ * full marking
+ * new symbols are added
+ This hack reduce symbols (related strings) marking time.
+ For example, on my Linux environment, the following code
+ "20_000_000.times{''}"
+ with 40k symbols (similar symbol number on Rails 3.2.14 app,
+ @jugyo tells me) boosts, from 7.3sec to 4.2sec.
- * pack.c (utf8_to_uv): add length check.
+ * internal.h: change prototype of rb_gc_mark_symbols().
-Sat Nov 17 01:41:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Oct 11 19:27:22 2013 Akinori MUSHA <knu@iDaemons.org>
- * massages: replace "wrong #" by "wrong number".
+ * misc/ruby-electric.el: Import ruby-electric.el 2.0.1 which fixes
+ a bug and a flaw with auto-end introduced in the revamp.
- * marshal.c (w_float): output Infinity and NaN explicitly.
+ * ruby-forward-sexp is inappropriate here because it moves the
+ cursor past the keyword.
- * marshal.c (r_object): support new explicit float format.
+ * Fix a reversed looking-back check in
+ ruby-electric--block-beg-keyword-at-point-p.
- * eval.c (rb_thread_wait_for): select may cause ERESTART on
- Solaris.
+ * Do not add end again if space or return is hit repeatedly
+ after a block beginning keyword.
- * eval.c (rb_thread_select): ditto.
+Fri Oct 11 18:12:47 2013 Koichi Sasada <ko1@atdot.net>
-Thu Nov 15 15:29:39 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * ext/objspace/gc_hook.c: prohibit reentrant.
- * array.c (rb_ary_join): non-nil separator must be converted to
- String. and separators' total length was wrong.
+Fri Oct 11 18:11:34 2013 Koichi Sasada <ko1@atdot.net>
-Thu Nov 15 03:37:17 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * vm_trace.c (rb_postponed_job_flush): fix bit operation.
- * hash.c (ruby_setenv): remove USE_WIN32_RTL_ENV block since it's
- obsoleted.
+Fri Oct 11 17:33:24 2013 Akinori MUSHA <knu@iDaemons.org>
- * win32/win32.c, win32/win32.h: sort out #if 0 - #endif or others.
+ * misc/ruby-electric.el: Import ruby-electric.el 2.0 from
+ https://github.com/knu/ruby-electric.el which integrates changes
+ from another fork by @qoobaa.
-Thu Nov 15 00:07:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * Allow ruby-electric-mode to be disabled by introducing a
+ dedicated key map. Electric key bindings are now defined in
+ ruby-electric-mode-map instead of overwriting ruby-mode-map.
- * array.c (rb_ary_to_s): if rb_output_fs is nil, insert newlines
- between array elements (use rb_default_rs as newline litral)
- [experimental].
+ * Add ruby-electric-mode-hook.
-Wed Nov 14 15:16:23 2001 K.Kosako <kosako@sofnec.co.jp>
+ * Use a remap in binding ruby-electric-delete-backward-char.
- * gc.c (init_mark_stack): no need to clear mark_stack.
+ * Totally revamp electric keywords and then introduce electric
+ return. Modifier keywords are now properly detected making
+ use of ruby-mode's indentation level calculator, and
- * gc.c (gc_mark_all): need to handle finalizer mark.
+ * block-mid keywords (then, else, elsif, when, rescue and
+ ensure) also become electric with automatic reindentation.
- * gc.c (gc_mark_rest): use MEMCPY instead of memcpy.
+ * Add standardized comments for ELPA integration.
- * gc.c (rb_gc_mark): earlier const check to avoid pusing special
- constants into mark stack.
+ * Fix interaction with smartparens-mode by disabling its end
+ keyword completion, since ruby-electric has become more clever
+ at it.
-Wed Nov 14 01:12:07 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * The custom variable `ruby-electric-keywords` is changed to
+ `ruby-electric-keywords-alist`, allowing user to fine-grained
+ configuration.
- * win32/win32.c (waitpid): fix wait count.
+Fri Oct 11 16:53:28 2013 Koichi Sasada <ko1@atdot.net>
- * win32/win32.c (poll_child_status): rename from wait_child().
+ * vm_trace.c (rb_postponed_job_flush): simplify.
-Wed Nov 14 01:33:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Oct 11 03:36:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * numeric.c (fix_to_s): 'to_s' now takes optional argument to
- specify radix. [new]
+ * thread.c (rb_threadptr_execute_interrupts): flush postponed job only
+ once at last.
- * bignum.c (rb_big_to_s): ditto. [new]
+ * vm_trace.c (rb_postponed_job_flush): defer calling postponed jobs
+ registered while flushing to get rid of infinite reentrance of
+ ObjectSpace.after_gc_start_hook. [ruby-dev:47400] [Bug #8492]
-Tue Nov 13 19:50:30 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Thu Oct 10 23:04:00 2013 Masaki Matsushita <glass.saga@gmail.com>
- * configure.in: do not override CC if set.
+ * array.c (rb_ary_or): remove unused variables.
-Tue Nov 13 16:49:16 2001 Usaku Nakamura <usa@ruby-lang.org>
+Thu Oct 10 23:01:16 2013 Masaki Matsushita <glass.saga@gmail.com>
- * win32/win32.c (mypopen): return error status instead of calling
- rb_sys_fail().
+ * array.c (rb_ary_or): use rb_hash_keys().
- * win32/win32.c (do_spawn): ditto.
+Thu Oct 10 21:36:16 2013 Masaki Matsushita <glass.saga@gmail.com>
-Tue Nov 13 14:39:11 2001 WATANABE Tetsuya <tetsu@jpn.hp.com>
+ * array.c (rb_ary_compact_bang): use ary_resize_smaller().
- * signal.c (sighandle): should not re-register sighandler if
- POSIX_SIGNAL is defined.
+Thu Oct 10 17:25:28 2013 Koichi Sasada <ko1@atdot.net>
-Tue Nov 13 12:55:59 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * vm.c (vm_exec): support :b_return event for "lambda{return}.call".
+ [Bug #8622]
- * win32/win32.c (do_spawn): use CreateChild() instead of calling
- CreateProcess() directly. Original patches comes from Patrick Cheng.
+ * test/ruby/test_settracefunc.rb: add a test.
- * win32/win32.c (mypopen): ditto.
+Thu Oct 10 13:52:37 2013 Koichi Sasada <ko1@atdot.net>
- * win32/win32.c (mypclose): use rb_syswait() instead of waiting in this
- function.
+ * vm_trace.c (postponed_job): use preallocated buffer.
+ Pre-allocate MAX_POSTPONED_JOB (1024) sized buffer
+ and use it.
+ If rb_postponed_job_register() cause overflow, simply it
+ fails and returns 0.
+ And maybe rb_postponed_job_register() is signal safe.
- * win32/win32.c (waitpid): use wait_child() instead of _cwait().
+ * vm_core.h: change data structure.
- * win32/win32.c (CreateChild): added. [new]
+Thu Oct 10 11:11:33 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/win32.c (wait_child): added. [new]
+ * vm.c (Init_VM): hide also the singleton class of frozen-core, not
+ only frozen-core itself.
- * win32/win32.c (FindFirstChildSlot): added. [new]
+Thu Oct 10 06:02:08 2013 Koichi Sasada <ko1@atdot.net>
- * win32/win32.c (FindChildSlot): added. [new]
+ * test/ruby/test_rand.rb: fix r43224. local variable `e' is
+ no longer available.
- * win32/win32.c (FindPipedChildSlot): added. [new]
+Thu Oct 10 00:02:35 2013 Yusuke Endoh <mame@tsg.ne.jp>
- * win32/win32.c (CloseChildHandle): added. [new]
+ * numeric.c (fix_aref): avoid a possible undefined behavior.
+ 1L << 63 on 64-bit platform is undefined, at least, according to
+ ISO/IEC 9899 (C99) 6.5.7.
- * win32/win32.c (FindFreeChildSlot): added. [new]
+Wed Oct 9 23:57:02 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Nov 13 12:38:12 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * object.c (id_for_attr): avoid inadvertent symbol creation.
- * hash.c (envix): use GET_ENVIRON and FREE_ENVIRON to get environment
- variables list.
+Wed Oct 9 18:03:01 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * hash.c (env_keys): ditto.
+ * vm_method.c (rb_attr): preserve encoding of the attribute ID in
+ error message.
- * hash.c (env_each_key): ditto.
+Wed Oct 9 17:40:16 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * hash.c (env_values): ditto.
+ * string.c (rb_fstring): because of lazy sweep, str may be unmarked
+ already and swept at next time, so mark it for the time being.
+ [ruby-core:57756]
- * hash.c (env_keys): ditto.
+Wed Oct 9 13:53:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * hash.c (env_each_value): ditto.
+ * compar.c (cmp_eq): fail if recursion. [ruby-core:57736] [Bug #9003]
- * hash.c (env_each): ditto.
+ * thread.c (rb_exec_recursive_paired_outer): new function which is
+ combination of paired and outer variants.
- * hash.c (env_inspect): ditto.
+Wed Oct 9 09:18:14 2013 Koichi Sasada <ko1@atdot.net>
- * hash.c (env_to_a): ditto.
+ * include/ruby/debug.h,
+ vm_backtrace.c (rb_profile_frame_full_label): add new C API
+ rb_profile_frame_full_label() which returns label with
+ qualified method name.
+ Note that in future version of Ruby label() may return
+ same return value of full_label().
- * hash.c (env_size): ditto.
+ * ext/-test-/debug/profile_frames.c,
+ test/-ext-/debug/test_profile_frames.rb: fix a test for this change.
- * hash.c (env_empty_p): ditto.
- * hash.c (env_has_value): ditto.
+Wed Oct 9 00:55:51 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * hash.c (env_index): ditto.
+ * load.c (load_lock): display backtrace to $stderr at circular
+ require.
- * hash.c (env_to_hash): ditto.
+ * vm_backtrace.c (rb_backtrace_print_to): new function to print
+ backtrace to the given output.
- * win32/win32.c (win32_getenv): use static buffer.
+Tue Oct 8 21:03:35 2013 Koichi Sasada <ko1@atdot.net>
- * win32/win32.c, win32/win32.h (win32_get_environ): get environment
- variables list. [new]
+ * vm_backtrace.c, include/ruby/debug.h: add new APIs
+ * VALUE rb_profile_frame_method_name(VALUE frame)
+ * VALUE rb_profile_frame_qualified_method_name(VALUE frame)
- * win32/win32.c, win32/win32.h (win32_free_environ): free environment
- variables list. [new]
+ * iseq.c (rb_iseq_klass), internal.h: add new internal function
+ rb_iseq_method_name().
-Mon Nov 12 16:48:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/-test-/debug/profile_frames.c (profile_frames),
+ test/-ext-/debug/test_profile_frames.rb: add a test.
- * eval.c (error_print): errat array may be empty.
+Tue Oct 8 16:11:11 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Nov 12 01:30:37 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (rb_ary_uniq): use rb_hash_values(), as well as the case no
+ block is given.
- * eval.c (rb_eval_cmd): should not upgrade safe level unless
- explicitly specified by argument newly added.
+ * internal.h: define rb_hash_values() as internal API.
- * signal.c (sig_trap): should not allow tainted trap closure.
+Tue Oct 8 13:53:21 2013 Masaki Matsushita <glass.saga@gmail.com>
- * variable.c (rb_f_trace_var): should not allow trace_var on safe
- level higher than 3.
+ * array.c (rb_ary_uniq): use rb_hash_keys().
- * variable.c (rb_f_trace_var): should not allow tainted trace
- closure.
+ * internal.h: define rb_hash_keys() as internal API.
-Sun Nov 11 00:12:23 2001 TAMURA Takashi <sheepman@tcn.zaq.ne.jp>
+ * hash.c (rb_hash_keys): ditto.
- * gc.c: do not use static stack until system stack overflows.
+Tue Oct 8 10:56:39 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Sat Nov 10 03:57:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * cont.c: disable FIBER_USE_NATIVE on GNU/Hurd because it doesn't
+ support a combination getcontext() and threads. Patch by
+ Gabriele Giacone (1o5g4r8o@gmail.com). [Bug #8990][ruby-core:57685]
- * eval.c (eval): should call Exception#exception instead of
- calling rb_exc_new3() directly.
+Tue Oct 8 05:58:12 2013 Tanaka Akira <akr@fsij.org>
- * error.c (exc_exception): set "mesg" directly to the clone. it
- might be better to set mesg via some method for flexibility.
+ * lib/time.rb (Time.strptime): Time.strptime('0', '%s') returns local
+ time Time object as Ruby 2.0 and before.
-Sat Nov 10 00:14:24 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Oct 8 05:40:37 2013 Eric Hodel <drbrain@segment7.net>
- * variable.c (cvar_override_check): should print original module
- name, if 'a' is T_ICLASS.
+ * .travis.yml: Rebuild Travis CI's "ruby-head" version on successful
+ build. Patch by Konstantin Haase. [Fixes GH-417]
+ https://github.com/ruby/ruby/pull/417
- * parse.y (yylex): float '1_.0' should not be allowed.
+Tue Oct 8 04:28:25 2013 Akinori MUSHA <knu@iDaemons.org>
- * variable.c (var_getter): should care about var as Qfalse
- (ruby-bugs#PR199).
+ * misc/ruby-mode.el: Use preceding-char/following-char
+ (returning 0 at BOF/EOF) instead of char-before/char-after
+ (returning nil at BOF/EOF) to avoid error from char-syntax when
+ at BOF/EOF.
-Fri Nov 9 13:50:06 2001 Usaku Nakamura <usa@ruby-lang.org>
+Tue Oct 8 04:12:45 2013 Akinori MUSHA <knu@iDaemons.org>
- * win32/config.status.in: make CFLAGS same as Makefile's one.
+ * misc/ruby-additional.el (ruby-mode-set-encoding): Add a missing
+ else clause to unbreak with `cp932`, etc.
-Thu Nov 8 20:20:37 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * misc/ruby-mode.el (ruby-mode-set-encoding): Ditto.
- * eval.c (rb_trap_eval): avoid annoying warning with signal.
- [ruby-talk:23225]
+Tue Oct 8 03:57:34 2013 Akinori MUSHA <knu@iDaemons.org>
- * eval.c (rb_call0): adjust caller source file/line while
- evaluating optional arguments.
+ * misc/ruby-additional.el (ruby-mode-set-encoding): Use
+ `default-buffer-file-coding-system` if the :prefer-utf-8
+ property is not available.
-Thu Nov 8 18:41:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * misc/ruby-mode.el (ruby-mode-set-encoding): Ditto.
- * array.c (cmpint): <=> or block for {min,max} may return bignum.
+ * misc/ruby-additional.el (ruby-encoding-map): Override the
+ default value.
- * array.c (sort_1): use rb_compint.
+Tue Oct 8 03:19:19 2013 Akinori MUSHA <knu@iDaemons.org>
- * array.c (sort_2): ditto.
+ * misc/ruby-additional.el (ruby-mode-set-encoding): Add support
+ for `prefer-utf-8` which was introduced in Emacs trunk.
- * enum.c (min_ii): ditto.
+ * misc/ruby-additional.el (ruby-encoding-map): Add a mapping from
+ `japanese-cp932` to `cp932` to fix the problem where saving a
+ source file written in Shift_JIS twice would end up having
+ `coding: japanese-cp932` which Ruby could not recognize.
- * enum.c (min_ii): ditto.
+ * misc/ruby-additional.el (ruby-mode-set-encoding): Add support
+ for encodings mapped to nil in `ruby-encoding-map`.
- * enum.c (max_i): ditto.
+ * misc/ruby-additional.el (ruby-encoding-map): Map `us-ascii` and
+ `utf-8` to nil by default, meaning they need not be explicitly
+ declared in magic comment.
- * enum.c (max_ii): ditto.
+ * misc/ruby-additional.el (ruby-encoding-map): Add type
+ declaration for better customize UI.
-Thu Nov 8 18:21:02 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * misc/ruby-mode.el: Ditto for the above.
- * file.c (path_check_1): forgot to initialize 'p'.
+Tue Oct 8 00:14:53 2013 Akinori MUSHA <knu@iDaemons.org>
-Thu Nov 8 14:52:15 2001 Tanaka Akira <akr@m17n.org>
+ * misc/ruby-additional.el: Add a standard header and footer,
+ including (provide 'ruby-additional).
- * mkconfig.rb: use String#dump to generate Ruby string literal.
+Mon Oct 7 22:52:45 2013 Akinori MUSHA <knu@iDaemons.org>
-Thu Nov 8 15:46:54 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * misc/ruby-electric.el (ruby-electric-space-can-be-expanded-p):
+ Return nil to avoid "end" insertion when in smartparens-mode
+ that is configured to insert "end" for the same keyword.
- * range.c (range_eql): should override 'eql?'
+ * misc/ruby-electric.el (ruby-electric-keywords): New custom
+ variable to replace `ruby-electric-simple-keywords-re` with.
- * array.c (rb_ary_hash): should override 'hash' too.
+Mon Oct 7 22:52:16 2013 Akinori MUSHA <knu@iDaemons.org>
-Tue Nov 6 14:38:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * misc/ruby-additional.el: Use preceding-char/following-char
+ (returning 0 at BOF/EOF) instead of char-before/char-after
+ (returning nil at BOF/EOF) to avoid error from char-syntax when
+ at BOF/EOF.
- * process.c (security): always give warning for insecure PATH.
+Mon Oct 7 22:45:20 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * dir.c (my_getcwd): do not rely on MAXPATHLEN.
+ * cont.c (FIBER_USE_NATIVE): split long conditions.
- * file.c (rb_file_s_readlink): ditto.
+Mon Oct 7 20:29:31 2013 Zachary Scott <e@zzak.io>
- * file.c (path_check_1): ditto.
+ * lib/time.rb: [DOC] typo in Time.rb overview by @srt32 [Fixes GH-416]
+ https://github.com/ruby/ruby/pull/416
-Tue Nov 6 14:17:14 2001 Amos Gouaux <amos+ruby@utdallas.edu>
+Mon Oct 7 20:07:20 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/imap.rb (getquota_response): use astring for mailbox
- names.
+ * lib/time.rb (Time.strptime): Use :offset.
+ Patch by Felipe Contreras. [ruby-core:57694]
- * lib/net/imap.rb (getacl_response): ditto.
+Mon Oct 7 16:47:27 2013 Koichi Sasada <ko1@atdot.net>
-Mon Nov 5 17:09:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/-ext-/debug/test_profile_frames.rb: rename class C to
+ something long name because one test depends on absence of
+ class ::C.
- * eval.c (rb_yield_0): should not call rb_f_block_given_p().
+Mon Oct 7 16:33:10 2013 Koichi Sasada <ko1@atdot.net>
-Sat Nov 3 23:33:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/-test-/debug/profile_frames.c:
+ test/-ext-/debug/test_profile_frames.rb: add a test for new C-APIs.
- * string.c (rb_str_chomp_bang): should terminate string by NUL.
+Mon Oct 7 16:12:36 2013 Koichi Sasada <ko1@atdot.net>
-Sat Nov 3 22:28:51 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
+ * include/ruby/debug.h: add backtrace collecting APIs for profiler.
+ * int rb_profile_frames(int start, int limit, VALUE *buff, int *lines);
+ Collect information of frame information.
- * matrix.rb (Matrix#column_vectors, Matrix#row_vectors): ditto bug.
- this bug report and fix by tsutomu@nucba.ac.jp.
-
- * forwardable.rb: change raise to Kernel::raise
-
-Sat Nov 3 10:11:57 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * VALUE rb_profile_frame_path(VALUE frame);
+ * VALUE rb_profile_frame_absolute_path(VALUE frame);
+ * VALUE rb_profile_frame_label(VALUE frame);
+ * VALUE rb_profile_frame_base_label(VALUE frame);
+ * VALUE rb_profile_frame_first_lineno(VALUE frame);
+ * VALUE rb_profile_frame_classpath(VALUE frame);
+ * VALUE rb_profile_frame_singleton_method_p(VALUE frame);
+ Get information about each frame.
- * eval.c (rb_yield_0): better error message.
+ These APIs are designed for profilers, for example, no object allocation,
+ and enough information for profilers.
+ In this version, this API collects only Ruby level frames.
+ This issue will be fixed after Ruby 2.1.
-Thu Nov 1 14:08:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_backtrace.c: implement above APIs.
- * bignum.c (rb_big_aref): idx may be a Bignum.
+ * iseq.c (rb_iseq_klass): return local_iseq's class.
- * numeric.c (fix_aref): negative index must return zero.
+Mon Oct 7 14:26:01 2013 Koichi Sasada <ko1@atdot.net>
-Thu Nov 1 13:23:50 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * proc.c: catch up last commit.
+ Type of return value of rb_iseq_first_lineno() is now VALUE.
- * gc.c (gc_mark_children): should NOT treat last element of
- structs and arrays specially.
+ * vm_insnhelper.c (argument_error): ditto.
-Wed Oct 31 16:59:25 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_method.c (rb_method_entry_make): ditto.
- * eval.c (exec_under): should initialize ruby_frame->self;
+Mon Oct 7 14:07:45 2013 Koichi Sasada <ko1@atdot.net>
-Wed Oct 31 15:09:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * iseq.c, internal.h: change to public (but internal) functions
+ * VALUE rb_iseq_path(VALUE iseqval);
+ * VALUE rb_iseq_absolute_path(VALUE iseqval);
+ * VALUE rb_iseq_label(VALUE iseqval);
+ * VALUE rb_iseq_base_label(VALUE iseqval);
+ * VALUE rb_iseq_first_lineno(VALUE iseqval);
+ And new (temporary) function:
+ * VALUE rb_iseq_klass(VALUE iseqval);
- * eval.c (POP_VARS): should not set DVAR_DONT_RECYCLE if _old
- ruby_vars is already force_recycled.
+ * iseq.c. vm_core.h (int rb_iseq_first_lineno): remove
+ function `int rb_iseq_first_lineno(const rb_iseq_t *iseq)'.
+ Use `VALUE rb_iseq_first_lineno(VALUE iseqval)' instead.
-Wed Oct 31 10:28:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * proc.c. vm_insnhelper.c, vm_method.c: catch up this change.
- * gc.c (rb_gc): handles mark stack overflow.
+Sun Oct 6 08:37:39 2013 Zachary Scott <e@zzak.io>
- * gc.c (PUSH_MARK): use static mark stack, no more recursion.
+ * lib/webrick.rb: [DOC] fix grammar in WEBrick overview [Fixes GH-413]
+ Based on patch by @chastell https://github.com/ruby/ruby/pull/413
-Wed Oct 31 02:44:06 2001 Wakou Aoyama <wakou@fsinet.or.jp>
+Sat Oct 5 11:21:01 2013 Aaron Pfeifer <aaron.pfeifer@gmail.com>
- * lib/cgi.rb: CGI::Cookie::parse(): Ignore duplicate keys caused by
- Netscape bug.
+ * thread.c (terminate_atfork_i): fix locking mutexes not unlocked in
+ forks when not tracked in thread. [ruby-core:55102] [Bug #8433]
-Tue Oct 30 18:21:51 2001 Usaku Nakamura <usa@ruby-lang.org>
+Fri Oct 4 19:54:09 2013 Zachary Scott <e@zzak.io>
- * win32/mkexports.rb: follow the change of rb_io_puts().
+ * ext/dbm/dbm.c: [DOC] Fix wrong constant name in DBM by @edward
+ [Fixes GH-409] https://github.com/ruby/ruby/pull/409
-Tue Oct 30 14:04:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Oct 4 19:49:42 2013 Aman Gupta <ruby@tmm1.net>
- * string.c (rb_str_chomp_bang): do smart chomp if $/ == '\n'. [new]
+ * gc.c: rename heap.free_num as heap.swept_num to clarify meaning and
+ avoid confusion with objspace_free_num().
- * io.c (rb_io_puts): don't treat Array specially.
+Fri Oct 4 19:02:01 2013 Aman Gupta <ruby@tmm1.net>
- * bignum.c (rb_big_cmp): should convert bignum to float.
+ * gc.c (objspace_free_num): new method for available/free slots on
+ heap. [ruby-core:57633] [Bug #8983]
+ * gc.c (gc_stat): change heap_free_num definition to use new method.
+ * test/ruby/test_gc.rb: test for above.
- * eval.c (rb_f_eval): can't modify untainted binding.
+Fri Oct 4 18:53:42 2013 Aman Gupta <ruby@tmm1.net>
-Mon Oct 29 16:08:30 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: add rb_objspace.limit to keep accurate count of total heap
+ slots [ruby-core:57633] [Bug #8983]
- * regex.c (re_compile_pattern): should preserve p0 value.
+Fri Oct 4 09:32:33 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Oct 29 14:56:44 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * lib/csv.rb (CSV.foreach): support enumerator. based on a patch by
+ Hanmac (Hans Mackowiak) at [ruby-core:57643]. [ruby-core:57283]
+ [Feature #8929]
- * intern.h (rb_protect_inspect): follow the change of array.c.
+Thu Oct 3 18:20:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_exec_end_proc): follow the change of rb_protect().
+ * win32/win32.c (console_emulator_p, constat_handle): disable built-in
+ console colorizing when console-emulator-like DLL is injected.
+ [Feature #8201]
- * eval.c (method_proc, umethod_proc, rb_catch): cast the first
- parameter of rb_iterate() to avoid VC++ warning.
+Thu Oct 3 18:01:44 2013 Koichi Sasada <ko1@atdot.net>
- * range.c (range_step): ditto.
+ * gc.c: define gc_profile_record::allocated_size if
+ CALC_EXACT_MALLOC_SIZE is true.
- * ext/sdbm/init.c (fsdbm_update, fsdbm_replace): ditto.
+Thu Oct 3 13:42:51 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Oct 29 07:57:31 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * common.mk (yes-test-sample): use RUNRUBY instead of MINIRUBY to set
+ runtime library path and run the built ruby. [Bug #8971]
- * parse.y (str_extend): should allow interpolation of $-x.
+Thu Oct 3 00:17:15 2013 Akinori MUSHA <knu@iDaemons.org>
- * variable.c (rb_cvar_set): empty iv_tbl may cause infinite loop.
+ * misc/ruby-additional.el: Properly quote the body. An unquoted
+ body given to eval-after-load is evaluated immediately!
- * variable.c (rb_cvar_get): ditto.
+Wed Oct 2 21:38:30 2013 Yusuke Endoh <mame@tsg.ne.jp>
- * variable.c (cvar_override_check): ditto.
+ * ext/socket/ifaddr.c (rsock_getifaddrs): fix possible memory leak.
+ When a system had no interface, this function used xmalloc for root
+ but did not return any reference to it. This patch fixes it by
+ immediately returning an empty array if no interface is found.
+ Coverity Scan found this bug.
-Sat Oct 27 23:01:19 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Oct 2 21:37:04 2013 Yusuke Endoh <mame@tsg.ne.jp>
- * bignum.c (rb_big_eq): convert Bignum to Float, instead of
- reverse.
+ * random.c (make_seed_value): a local array declaration was accessed
+ out of scope. Coverity Scan found this bug.
-Fri Oct 26 06:19:29 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Oct 2 18:52:40 2013 Koichi Sasada <ko1@atdot.net>
- * time.c (time_localtime): getting tm should not be prohibited for
- frozen time objects.
+ * gc.c: relax GC condition due to malloc_limit.
- * time.c (time_gmtime): ditto.
+ * gc.c (GC_MALLOC_LIMIT_MAX): change default value
+ (256MB -> 512MB) and permit zero to ignore max value.
- * version.c (Init_version): freeze RUBY_VERSION,
- RUBY_RELEASE_DATE, and RUBY_PLATFORM.
+ * gc.c (vm_malloc_increase, vm_xrealloc): do not cause GC on realloc.
- * file.c (Init_File): freeze File::SEPARATOR, ALT_SEPARATOR and
- PATH_SEPARATOR.
+ * gc.c (gc_before_sweep): change debug messages.
- * file.c (rb_stat_cmp): should check operand type before calling
- get_stat().
+Wed Oct 2 16:26:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Oct 25 10:28:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * io.c (rb_io_close_read): duplex IO should wait its child process
+ even after close_read.
- * eval.c (rb_eval_cmd): should not invoke "call" with a block on
- any occasion.
+Wed Oct 2 15:39:13 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Wed Oct 24 03:25:31 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_core.h: use __has_attribute() instead of __clang__major__ because
+ clang says "Note that marketing version numbers should not be used
+ to check for language features, as different vendors use different
+ numbering schemes. Instead, use the Feature Checking Macros."
+ http://clang.llvm.org/docs/LanguageExtensions.html
- * numeric.c (fix_aref): idx may be a Bignum.
+Wed Oct 2 14:19:57 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Oct 23 01:21:19 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * io.c (rb_io_close_write): detach tied IO for writing before closing
+ to get rid of race condition. [ruby-list:49598]
- * eval.c (proc_invoke): fix self switching in Proc#call
- (ruby-bugs-ja#PR108) and GC failure. use Qundef instead of 0
- to direct not switching self.
+ * io.c (rb_io_close_read): keep fptr in write_io to be discarded, to
+ fix freed pointer access when it is in use by other threads, and get
+ rid of potential memory/fd leak.
- * eval.c (call_trace_func): ditto.
+Tue Oct 1 23:44:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * eval.c (call_end_proc): ditto.
+ * vm_core.h: use __attribute__((unused)) in UNINITIALIZED_VAR on clang
+ 4.0+ instead of just on 4.2. Clang has supported the unused attribute
+ since before version 4, so this should be safe.
- * eval.c (proc_call): ditto.
+Tue Oct 1 22:03:48 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (proc_yield): ditto.
+ * lib/tempfile.rb (Tempfile#unlink): finalizer is no longer needed
+ after unlinking. patched by by normalperson (Eric Wong) at
+ [ruby-core:56521] [Bug #8768]
-Tue Oct 23 01:15:43 2001 K.Kosako <kosako@sofnec.co.jp>
+Tue Oct 1 20:54:33 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * variable.c (rb_global_entry): reconstruct global variable
- aliasing (sharing global_entry->var with other global_entry).
+ * file.c (stat_new_0): constify.
- * variable.c (undef_getter): ditto.
+ * file.c (rb_stat_new): constify and export. based on a patch by
+ Hanmac (Hans Mackowiak) at [ruby-core:53225]. [Feature #8050]
- * variable.c (undef_setter): ditto.
+Tue Oct 1 16:03:42 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * variable.c (val_setter): ditto.
+ * include/ruby/ruby.h (ruby_safe_level_4_warning): needed by extension
+ libraries which check safe level 4. [ruby-dev:47517] [Bug #8652]
- * variable.c (mark_global_entry): ditto.
+Mon Sep 30 23:14:36 2013 Zachary Scott <e@zzak.io>
- * variable.c (rb_define_hooked_variable): ditto.
+ * ext/objspace/objspace.c: [DOC] Cleaned up many rdoc formatting
+ issues and several duplicate grammar bugs.
- * variable.c (rb_f_trace_var): ditto.
+Mon Sep 30 23:01:01 2013 Zachary Scott <e@zzak.io>
- * variable.c (remove_trace): ditto.
+ * ext/objspace/object_tracing.c: [DOC] Adjust rdoc formatting and fix
+ small grammar typo
- * variable.c (rb_f_untrace_var): ditto.
+Mon Sep 30 17:28:39 2013 Koichi Sasada <ko1@atdot.net>
- * variable.c (rb_gvar_get): ditto.
+ * ext/objspace/object_tracing.c: [DOC] add some notes for
+ ObjectSpace::trace_object_allocations.
- * variable.c (trace_en): ditto.
+Mon Sep 30 16:46:58 2013 Koichi Sasada <ko1@atdot.net>
- * variable.c (rb_gvar_set): ditto.
+ * ext/objspace/object_tracing.c: add new 3 methods to control tracing.
+ * ObjectSpace::trace_object_allocations_start
+ * ObjectSpace::trace_object_allocations_stop
+ * ObjectSpace::trace_object_allocations_clear
+ And some refactoring.
- * variable.c (rb_gvar_defined): ditto.
+ * test/objspace/test_objspace.rb: add a test for new methods.
- * variable.c (rb_alias_variable): ditto.
+ * NEWS: add a description for new methods.
-Mon Oct 22 18:53:55 2001 Masahiro Tanaka <masa@stars.gsfc.nasa.gov>
+Mon Sep 30 11:18:04 2013 Koichi Sasada <ko1@atdot.net>
- * numeric.c (num_remainder): a bug in Numeric#remainder.
+ * gc.c (rb_gc_disable): do rest_sweep() before disable GC.
+ This fix may solve a failure of
+ TestTracepointObj#test_tracks_objspace_events
+ [test/-ext-/tracepoint/test_tracepoint.rb:43].
-Mon Oct 22 15:21:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Sep 30 10:40:20 2013 Shugo Maeda <shugo@ruby-lang.org>
- * eval.c (rb_exec_end_proc): END might be called within END
- block.
+ * vm_method.c (rb_undef): raise a NameError if the original method
+ of a refined method is not defined.
- * class.c (rb_mod_clone): should not copy class name, since clone
- should remain anonymous.
+ * vm_insnhelper.c (rb_method_entry_eq): added NULL check to avoid SEGV.
-Fri Oct 19 23:40:37 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * test/ruby/test_refinement.rb: related test.
- * variable.c (remove_trace): should not access already freed area.
+Sun Sep 29 23:45:42 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * variable.c (rb_f_untrace_var): fix memory leak.
+ * parse.y (rb_id_attrset, intern_str): allow junk attrset ID for
+ Struct.
-Fri Oct 19 17:55:14 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * 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.
- * marshal.c (w_uclass): cloned class is not user
- class. (ruby-bugs-ja#PR103)
+Sun Sep 29 18:45:05 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * marshal.c (r_object): Struct subclass couldn't
- load. (ruby-bugs-ja#PR104)
+ * vm_insnhelper.c (vm_callee_setup_arg_complex, vm_yield_setup_block_args):
+ clear keyword arguments to prevent GC bug which occurs
+ while marking VM stack.
+ [ruby-dev:47729] [Bug #8964]
-Wed Oct 17 14:12:50 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * test/ruby/test_keyword.rb: tests for the above.
- * variable.c (alias_fixup): added. ad hoc support for ordinary
- global variable aliasing. when original entry is set, make the
- alias to refer directly as possible.
+Sat Sep 28 23:25:56 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * variable.c (alias_getter, alias_setter): ditto.
+ * math.c (math_log, math_log2, math_log10): fix for Bignum argument.
+ numbits should be add only when right shifted.
- * variable.c (rb_alias_variable): ditto. and no need to mark alias
- variables.
+Sat Sep 28 14:30:29 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * variable.c (rb_gvar_defined): refer the original entry of an alias.
+ * test/dl/test_base.rb: {libc, libm} detection now handle GNU/Hurd
+ correctly. Patch by Gabriele Giacone (1o5g4r8o@gmail.com).
+ [Bug #8937][ruby-core:57311]
+ * test/fiddle/helper.rb: ditto.
-Tue Oct 16 23:29:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Sep 28 00:19:41 2013 Shugo Maeda <shugo@ruby-lang.org>
- * eval.c (rb_call0): self in a block given to define_method now be
- switched to the receiver of the method.
+ * ext/curses/extconf.rb: check the size of chtype.
- * eval.c (proc_invoke): added new parameter to allow self
- switching.
+ * ext/curses/curses.c (NUM2CH, CH2NUM): use proper macros for
+ the size of chtype.
-Tue Oct 16 21:38:15 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ [ruby-core:56090] [Bug #8659]
- * eval.c (rb_f_missing): check stack level with rb_stack_check().
+Fri Sep 27 18:33:23 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_call0): ditto.
+ * gc.c: add two GC tuning environment variables.
+ RUBY_GC_MALLOC_LIMIT_MAX and RUBY_GC_MALLOC_LIMIT_GROWTH_FACTOR.
+ See r43067 for details.
- * eval.c, intern.h (rb_stack_check): added. [new]
+ * gc.c (rb_gc_set_params): refactoring. And change verbose notation.
+ Mostly duplicated functions get_envparam_int/double is not cool.
+ Please rewrite it.
-Tue Oct 16 13:18:47 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * test/ruby/test_gc.rb: fix a test for this change.
- * object.c (rb_mod_initialize): optional block with
- Module.new. [new] (from 2001-10-10)
+Fri Sep 27 17:44:41 2013 Koichi Sasada <ko1@atdot.net>
-Tue Oct 16 00:07:06 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * gc.c (GC_MALLOC_LIMIT): 8,000,000 -> 8 * 1,024 * 1,024.
- * parse.y (yylex): disallow alpha-numeric and mbchar for
- terminator of %string.
+Fri Sep 27 17:19:39 2013 Koichi Sasada <ko1@atdot.net>
-Mon Oct 15 18:00:05 2001 Pit Capitain <pit@capitain.de>
+ * gc.c (gc_before_sweep): cast to size_t to suppress warnings.
- * string.c (rb_str_index): wrong increment for non alphanumeric
- string.
+Fri Sep 27 17:07:55 2013 Koichi Sasada <ko1@atdot.net>
-Mon Oct 15 05:23:02 2001 Koji Arai <JCA02266@nifty.ne.jp>
+ * gc.c: add some fine-grained profiling codes to tuning marking phase.
+ If you enable RGENGC_PRINT_TICK to 1, then profiling results by RDTSC
+ (on x86/amd64 environment) are printed at last.
+ Thanks Yoshii-san.
- * sprintf.c (rb_f_sprintf): support "%B".
+Fri Sep 27 16:32:27 2013 Koichi Sasada <ko1@atdot.net>
-Wed Oct 10 03:11:47 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: simplify threshold of GC caused by malloc_increase.
+ Now, malloc_limit is increased/decreased by mysterious logic.
+ This fix simplify malloc_limit increase/decrease logic such as:
+ if (malloc_increase > malloc_limit) /* so many malloc */
+ malloc_limit += malloc_limit * (GC_MALLOC_LIMIT_FACTOR-1);
+ else
+ malloc_limit -= malloc_limit * (GC_MALLOC_LIMIT_FACTOR-1)/4;
+ Default value of GC_MALLOC_LIMIT_FACTOR is 1.8.
+ malloc_limit is bounded by GC_MALLOC_LIMIT_MAX (256MB by default).
+ This logic runs at gc_before_sweep(). So there are no effect from
+ caused by lazy sweep. And we can remove malloc_increase2.
- * file.c (rb_stat_clone): should copy internal data too.
+ * gc.c (HEAP_MIN_SLOTS, FREE_MIN, HEAP_GROWTH_FACTOR): rename to
+ GC_HEAP_MIN_SLOTS, GC_FREE_MIN, GC_HEAP_GROWTH_FACTOR respectively.
+ Check them by `#ifndef' so you can specify these values outside gc.c.
- * numeric.c (num_clone): Numeric should not be copied by clone.
+ * gc.c (ruby_gc_params_t): add initial_malloc_limit_factor and
+ initial_malloc_limit_max.
- * object.c (rb_obj_clone): should check immediate values.
+ * gc.c (vm_malloc_prepare, vm_xrealloc): use vm_malloc_increase to
+ add and check malloc_increase.
- * parse.y (command): `yield' should take command_args.
+Fri Sep 27 01:05:00 2013 Zachary Scott <e@zzak.io>
- * parse.y (parse_quotedwords): %w(...) is not a string.
+ * re.c: [DOC] arguments of Regexp::union receive #to_regexp [Bug #8205]
-Tue Oct 9 18:40:35 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Fri Sep 27 00:39:27 2013 Zachary Scott <e@zzak.io>
- * process.c (Init_process): activate the case NT.
+ * struct.c: [DOC] grammar of ArgumentError in Struct.new [Bug #8936]
+ Patch by Prathamesh Sonpatki
-Tue Oct 9 17:08:00 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Sep 26 22:11:56 2013 Zachary Scott <e@zzak.io>
- * eval.c (thread_status_name): separated from
- rb_thread_inspect(). return string expression for thread status.
+ * ext/bigdecimal/bigdecimal.c: [DOC] several fixes by @chastell
+ This includes fixing the capitalization of Infinity, return value of
+ example "BigDecimal.new('NaN') == 0.0", and code style in example.
+ [Fixes GH-398] https://github.com/ruby/ruby/pull/398
- * eval.c (rb_thread_status, rb_thread_inspect): use
- thread_status_name().
+Thu Sep 26 22:08:11 2013 Zachary Scott <e@zzak.io>
- * eval.c (rb_thread_priority_set): return the priority not but
- self.
+ * lib/observer.rb: [DOC] syntax improvement in example by @chastell
+ [Fixes GH-400] https://github.com/ruby/ruby/pull/400
-Sat Oct 6 23:07:08 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Sep 26 22:03:15 2013 Zachary Scott <e@zzak.io>
- * eval.c (rb_eval): NODE_MATCH3 was confusing left and right. sigh.
+ * ext/digest/digest.c: [DOC] typo in overview by @chastell
+ [Fixes GH-399] https://github.com/ruby/ruby/pull/399
-Fri Oct 5 15:19:46 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Sep 26 22:00:42 2013 Zachary Scott <e@zzak.io>
- * marshal.c (w_unique): should not dump anonymous class.
+ * ext/openssl/ossl.c: [DOC] typo in example by @zoranzaric
+ [Fixes GH-401] https://github.com/ruby/ruby/pull/401
-Fri Oct 5 11:59:13 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Sep 26 21:07:49 2013 Akinori MUSHA <knu@iDaemons.org>
- * eval.c (proc_s_new): revived.
+ * misc/ruby-electric.el (ruby-electric-delete-backward-char): Add
+ support for smartparens-mode.
- * eval.c (Init_Proc): define Proc.new instead of Proc.allocate to
- inhibit from creating uninitialized Proc.
+ * misc/ruby-electric.el (ruby-electric-cua-replace-region-maybe)
+ (ruby-electric-cua-delete-region-maybe): New functions that
+ combine `ruby-electric-cua-*-region` with
+ `ruby-electric-cua-*-region-p`, using a slightly better way to
+ detect if it is in cua-mode.
-Thu Oct 4 14:11:03 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Thu Sep 26 16:51:00 2013 Shota Fukumori <her@sorah.jp>
- * ext/socket/socket.c (ruby_connect): EALREADY is the equivalent
- for EINPROGRESS in ws2_32.lib.
+ * insns.def (opt_regexpmatch2): Check String#=~ hasn't overridden
+ before calling rb_reg_match().
-Wed Oct 3 20:11:06 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * test/ruby/test_string.rb: Test for above.
- * re.c (rb_reg_s_alloc): avoid inifinte recursion.
+ * vm.c (vm_init_redefined_flag): Add BOP flag for String#=~
-Wed Oct 3 16:49:49 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ [ruby-core:57385] [Bug #8953]
- * ext/gdbm/gdbm.c (rb_gdbm_fetch): str is a VALUE now.
+Thu Sep 26 16:43:42 2013 Akinori MUSHA <knu@iDaemons.org>
-Wed Oct 3 13:32:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * misc/ruby-electric.el: Avoid use of the interactive function
+ `self-insert-command` which fires `post-self-insert-hook` and
+ `post-command-hook`, to make the ruby-electric commands work
+ nicely with those minor modes that make use of them to do
+ similar input assistance, such as electric-pair-mode,
+ autopair-mode and smartparens-mode.
- * marshal.c (r_object): better allocation type check for
- TYPE_UCLASS. usage of allocation framework is disabled for now.
+Thu Sep 26 16:24:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * variable.c (rb_class_path): Module may have subclass.
+ * insns.def (opt_regexpmatch1): check Regexp#=~ is not defined before
+ calling rb_reg_match()
- * string.c (rb_str_update): should maintain original negative
- offset.
+ * test/ruby/test_regexp.rb: add test
- * string.c (rb_str_subpat_set): ditto
+ * vm.c (ruby_vm_redefined_flag): change type to short[]
- * string.c (rb_str_aset): ditto.
+ * vm.c (vm_redefinition_check_flag): return REGEXP_REDEFINED_OP_FLAG if
+ klass == rb_cRegexp
- * re.c (rb_reg_nth_match): should check negative nth.
+ * vm.c (vm_init_redefined_flag): setup BOP flag for Regexp#=~
- * re.c (rb_reg_nth_defined): ditto.
+ * vm_insnhelper.h: add REGEXP_REDEFINED_OP_FLAG
-Tue Oct 2 19:12:47 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ [ruby-core:57385] [Bug #8953]
- * lib/ftools.rb (catname): allow trailing '/' for the destination.
+Thu Sep 26 14:46:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Oct 2 18:31:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (mark_locations_array): disable AddressSanitizer. based on a
+ patch by halfie (Ruby Guy) at [ruby-core:57372].
+ [ruby-core:56155] [Bug #8680]
- * eval.c (rb_eval): should override existing class.
+Wed Sep 25 17:41:29 2013 Koichi Sasada <ko1@atdot.net>
-Tue Oct 2 17:08:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * README.EXT, README.EXT.ja: remove description of RARRAY_PTR()
+ and add a caution of accessing internal data structure directly.
+ Also add a description of rb_ary_store().
+ [Bug #8399]
- * object.c (rb_obj_alloc): general instance allocation framework.
- use of NEWOBJ() is deprecated except within 'allocate' method.
+Wed Sep 25 17:12:08 2013 Koichi Sasada <ko1@atdot.net>
-Tue Oct 2 08:04:52 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * include/ruby/ruby.h: rename RARRAY_RAWPTR() to RARRAY_CONST_PTR().
+ RARRAY_RAWPTR(ary) returns (const VALUE *) type pointer and
+ usecase of this macro is not acquire raw pointer, but acquire
+ read-only pointer. So we rename to better name.
+ RSTRUCT_RAWPTR() is also renamed to RSTRUCT_CONST_PTR()
+ (I expect that nobody use it).
- * marshal.c (r_object): TYPE_UCLASS check should be inversed.
+ * array.c, compile.c, cont.c, enumerator.c, gc.c, proc.c, random.c,
+ string.c, struct.c, thread.c, vm_eval.c, vm_insnhelper.c:
+ catch up this change.
-Mon Oct 1 19:18:54 2001 Tanaka Akira <akr@m17n.org>
+Wed Sep 25 16:58:33 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/socket/socket.c (unix_addr): getsockname(2) may result len = 0.
+ * internal.h (rb_float_value, rb_float_new): move inline functions
+ from ruby/ruby.h.
- * ext/socket/socket.c (unix_peeraddr): getpeername(2) may result
- len = 0.
+ * numeric.c (rb_float_value, rb_float_new): define external functions
+ for extension libraries.
-Mon Oct 1 09:59:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Sep 25 15:37:02 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (rb_str_subpat_set): support function for new argument
- pattern String#[re,offset] = val. [new]
+ * test/rdoc/test_rdoc_generator_darkfish.rb: add a guard for windows.
-Sat Sep 29 02:30:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Sep 25 09:53:11 2013 Eric Hodel <drbrain@segment7.net>
- * eval.c (POP_BLOCK): rb_gc_force_recycle() was called too much.
- Should not be called if SCOPE_DONT_RECYCLE is set.
+ * lib/rubygems: Fix CVE-2013-4363. Miscellaneous minor improvements.
-Wed Sep 26 22:21:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/rubygems: Tests for the above.
- * string.c (rb_str_aref_m): new argument pattern
- String#[re,offset]. [new]
+Tue Sep 24 17:38:56 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Sep 26 19:02:39 2001 Guy Decoux <ts@moulon.inra.fr>
+ * string.c (rb_str_inspect): get rid of out-of-bound access.
- * parse.y: allow 'primary[] = arg'
+ * string.c (rb_str_inspect): when a UTF-16/32 string doesn't have a
+ BOM, inspect as a dummy encoding string.
-Tue Sep 25 10:46:42 2001 Usaku Nakamura <usa@ruby-lang.org>
+Tue Sep 24 17:15:10 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/win32.c (isInternalCmd): check return value of NtMakeCmdVector
- (Tietew <tietew@tietew.net>'s patch).
+ * enc/encdb.c (ENC_DUMMY_UNICODE): make BOM-encodings dummy.
-Mon Sep 24 00:55:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * encoding.c (enc_autoload): keep dummy encodings dummy.
- * string.c (rb_str_substr): should return an instance of
- receiver's class.
+Tue Sep 24 16:41:15 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (rb_str_succ): ditto.
+ * ext/win32/lib/win32/registry.rb (Win32::Registry#write): data size
+ is in bytes, not chars. terminators should be placed automatically.
- * array.c (rb_ary_subseq): ditto.
+Tue Sep 24 16:39:36 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_initialize): Array.new([1,2,3]) => [1,2,3]. [new]
+ * ext/win32/lib/win32/registry.rb (Win32::Registry#each_value): encode
+ name.
-Sat Sep 22 22:16:08 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/win32/lib/win32/registry.rb (Win32::Registry#each_key): ditto.
- * string.c (rb_str_reverse): should return an instance of
- receiver's class.
+ * ext/win32/lib/win32/registry.rb (Win32::Registry#export_string):
+ encode to locale encoding if default internal is not set.
- * string.c (rb_str_times): ditto.
+Tue Sep 24 16:35:09 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_times): ditto
+ * ext/win32/lib/win32/registry.rb (Win32::Registry::API#EnumKey):
+ size of the name is in WCHARs, not in bytes.
- * string.c (str_gsub): ditto.
+Tue Sep 24 14:07:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * string.c (rb_str_ljust): ditto.
+ * gc.c (free_method_cache_entry_i): unused function
- * string.c (rb_str_rjust): ditto.
+ * gc.c (rb_free_mc_table): ditto
- * string.c (rb_str_center): ditto.
+ * internal.h (method_cache_entry_t): unused struct
-Sat Sep 22 12:13:39 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_method.c (verify_method_cache): remove unused variable
- * eval.c (eval): retrieves file, line information from binding.
+ * vm_method.c (rb_method_entry): ditto
-Thu Sep 20 21:25:00 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Tue Sep 24 14:01:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * eval.c (MATCH_DATA): access via rb_svar().
+ * class.c (class_alloc): remove mc_tbl
-Thu Sep 20 15:20:00 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * gc.c (obj_free): ditto
- * eval.c, intern.h (rb_svar): return reference to special variable
- from local variable index. [new]
+ * internal.h (struct rb_classext_struct): ditto
- * eval.c (rb_eval): use rb_svar() for NODE_FLIP{2,3}.
+ * method.h (rb_method_entry): remove ent param
- * parse.y (rb_(backref|lastline)_(get|set)): access via rb_svar().
+ * vm_method.c: restore the global method cache. Per class cache tables
+ turned out to be far too slow.
- * eval.c (proc_invoke): push dynamic variables.
+ [ruby-core:57289] [Bug #8930]
- * eval.c (rb_thread_yield): push special variables as dynamic
- variables($_, $~ and FLIP states).
+Tue Sep 24 12:51:07 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Sep 20 15:20:00 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * ext/win32/lib/win32/registry.rb (Win32::Registry::API): need
+ Constants.
- * intern.h, parse.y (rb_is_local_id): return true if the ID is
- local symbol. [new]
+ * ext/win32/lib/win32/registry.rb (Win32::Registry::API#EnumValue):
+ size of the name is in WCHARs, not in bytes.
- * parse.y (internal_id): make new ID for internal use. [new]
+Mon Sep 23 22:16:09 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (cond0): allocate internal ID for NODE_FLIP{2,3}.
+ * enc/encdb.c, enc/utf_16_32.h (ENC_DUMMY_UNICODE): Unicode with BOM
+ must be based on big endian variants, so that actual encodings would
+ work. [ruby-core:57318] [Bug #8940]
- * eval.c (rb_f_local_variables): use rb_is_local_id() to select
- visible local variables.
+Mon Sep 23 12:11:26 2013 Masaki Matsushita <glass.saga@gmail.com>
-Thu Sep 20 15:20:00 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * hash.c (env_each_pair): do not call rb_assoc_new() if
+ it isn't needed.
- * eval.c (rb_thread_start_0): SCOPE_SHARED is removed.
+Mon Sep 23 10:42:30 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c, intern.h (rb_thread_scope_shared_p): removed. special
- variables are no longer shared by threads.
+ * test/ruby/test_module.rb (TestModule#test_include_toplevel): test
+ for top level main.include. based on a part of the patch by
+ kyrylo at [GH-395].
- * re.c (rb_reg_search): MATCHDATA is no longer shared by threads.
+Mon Sep 23 05:07:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Sep 18 11:44:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * include/ruby/intern.h (rb_ary_cat): move from internal.h, since it
+ is described in README.EXT.
- * string.c (rb_str_init): String.new() => "" [new]
+Sun Sep 22 20:55:20 2013 Kazuki Tsujimoto <kazuki@callcc.net>
-Tue Sep 11 20:53:56 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_insnhelper.c (vm_make_proc_with_iseq): fix bug message.
+ This is follow up to changes in r42637.
- * dir.c (dir_path): new method.
+Sun Sep 22 20:35:38 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * dir.c (dir_initialize): wrap DIR into struct, along with path
- information.
+ * ext/-test-/tracepoint/tracepoint.c (Init_tracepoint): prevent from GC.
-Sat Sep 8 07:13:42 2001 Wakou Aoyama <wakou@fsinet.or.jp>
+Sun Sep 22 19:00:28 2013 Benoit Daloze <eregontp@gmail.com>
- * lib/net/telnet.rb: waitfor(): improvement. thanks to
- nobu.nakada@nifty.ne.jp
+ * benchmark/bm_app_answer.rb: revert r42990, benchmark scripts should
+ be self-contained and avoid dependencies, especially such small one.
+ See https://github.com/ruby/ruby/pull/393#issuecomment-24861301.
-Sat Sep 8 04:34:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Sep 21 20:11:06 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_thread_restore_context): save current value of
- lastline and lastmatch in the thread struct for later restore.
+ * process.c (rb_fork_internal): remove cloexec setting on pipes
+ created by rb_cloexec_pipe. patch by normalperson (Eric Wong) at
+ [ruby-core:56523]. [Bug #8769]
- * eval.c (rb_thread_save_context): restore lastline and lastmatch.
+Sat Sep 21 01:04:25 2013 Zachary Scott <e@zzak.io>
-Fri Sep 7 11:27:56 2001 akira yamada <akira@ruby-lang.org>
+ * lib/benchmark.rb: [DOC] grammar of Benchmark#bm [Bug #8888]
+ Patch by Prathamesh Sonpatki
- * numeric.c (flo_to_s): should handle negative float value.
+Sat Sep 21 00:50:02 2013 Zachary Scott <e@zzak.io>
-Fri Sep 7 09:44:44 2001 Wakou Aoyama <wakou@fsinet.or.jp>
+ * enumerator.c: [DOC] Enumerator#each arguments documentation [GH-388]
+ Patch by @kachick https://github.com/ruby/ruby/pull/388
- * lib/net/telnet.rb: waitfor(): bug fix.
+Sat Sep 21 00:49:16 2013 Zachary Scott <e@zzak.io>
-Fri Sep 7 07:11:34 2001 Wakou Aoyama <wakou@fsinet.or.jp>
+ * enum.c: [DOC] Enumerable#to_a accepts arguments [GH-388]
+ Patch by @kachick https://github.com/ruby/ruby/pull/388
- * lib/cgi.rb: CGI#doctype(): bug fix (html4Fr).
+Sat Sep 21 00:47:44 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/net/telnet.rb, lib/cgi.rb: remove VERSION, RELEASE_DATE,
- VERSION_CODE, RELEASE_CODE. please use REVISION.
+ * string.c (rb_str_conv_enc_opts): make sure to scan coderange to get
+ rid of unnecessary conversion.
- * lib/cgi.rb: CGI#header(): bug fix.
+Sat Sep 21 00:21:08 2013 Zachary Scott <e@zzak.io>
- * lib/net/telnet.rb, lib/cgi.rb: concat --> +=
+ * ext/openssl/lib/openssl/ssl.rb: [DOC] Document OpenSSL::SSLServer
+ Based on a patch by Rafal Lisowski [Bug #8758]
-Thu Sep 6 17:38:18 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Fri Sep 20 23:54:03 2013 Zachary Scott <e@zzak.io>
- * dir.c (dir_s_chdir): raise if environment variable HOME/LOGDIR
- not set.
+ * lib/gserver.rb: [DOC] correct gserver.rb license [Bug #8913]
- * dir.c (glob_helper): avoid infinite loop on a file name with
- wildcard characters. (ruby-bugs#PR177)
+Fri Sep 20 23:48:34 2013 Zachary Scott <e@zzak.io>
-Thu Sep 6 14:25:15 2001 Akinori MUSHA <knu@iDaemons.org>
+ * ext/psych/yaml/yaml.h: [DOC] merge upstream typo fix by @GreenGeorge
+ https://github.com/tenderlove/psych/pull/161
- * ext/digest/digest.c (rb_digest_base_s_hexdigest): remove a debug
- print.
+Fri Sep 20 23:37:40 2013 Zachary Scott <e@zzak.io>
-Thu Sep 6 13:56:14 2001 Akinori MUSHA <knu@iDaemons.org>
+ * lib/securerandom.rb: [DOC] SecureRandom.hex length argument
+ [Fixes GH-394] Patch by @avdi https://github.com/ruby/ruby/pull/394
- * ext/digest/digest.c (rb_digest_base_s_digest,
- rb_digest_base_s_hexdigest): ensure that a string is given.
+Fri Sep 20 23:34:48 2013 Zachary Scott <e@zzak.io>
-Thu Sep 6 13:28:51 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * benchmark/bm_app_answer.rb: removed duplicate code [Fixes GH-393]
+ Patch by @gouravtiwari https://github.com/ruby/ruby/pull/393
- * lib/jcode.rb (_regexp_quote): fix quote handling, again.
+Fri Sep 20 23:24:08 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Sep 6 07:28:56 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * common.mk (btest, btest-ruby, test-knownbug): add $(RUN_OPTS) to
+ ruby to be run, so that tests are runnable before making exts.
- * file.c (rb_find_file_ext): add const qualifiers to ext.
+ * common.mk (test-sample): ditto, and use $(MINIRUBY) as rubytest.rb
+ does not need extension libraries.
- * intern.h (rb_find_file_ext): ditto.
+ * tool/rubytest.rb: pass $(RUN_OPTS) to testing ruby using --run-opt.
-Thu Sep 6 07:16:14 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Fri Sep 20 15:01:46 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/socket/socket.c (Init_socket): remove duplicating constants.
+ * parse.y (intern_str): sigil only names are junk, at least one
+ identifier character is needed. [ruby-dev:47723] [Bug #8928]
-Thu Sep 6 03:15:24 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * parse.y (rb_enc_symname_type): fix out of bound access.
- * class.c (rb_include_module): should check whole ancestors to
- avoid duplicate module inclusion.
+Fri Sep 20 14:14:32 2013 Tanaka Akira <akr@fsij.org>
-Wed Sep 5 20:02:27 2001 Shin'ya Adzumi <adzumi@denpa.org>
+ * ext/-test-/printf/printf.c (printf_test_call): Fix an end of buffer
+ argument.
- * string.c (trnext): should check backslash before updating "now"
- position.
+Thu Sep 19 16:59:02 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Sep 5 17:41:11 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * parse.y (lambda): adjust position to the beginning of the block.
- * lib/jcode.rb (_regexp_quote): fix quote handling.
+Thu Sep 19 16:25:06 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Sep 4 01:03:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vsnprintf.c (BSD_vfprintf): initialize cp so that size is 0 in the
+ commented case. fix an accidental bug at r16716.
- * re.c (Init_Regexp): to_s to be alias to inspect.
+Thu Sep 19 14:33:14 2013 Koichi Sasada <ko1@atdot.net>
-Mon Sep 3 22:46:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * NEWS: add a news for r42974.
- * parse.y (yylex): should support 'keyword='.
+Thu Sep 19 14:12:02 2013 Koichi Sasada <ko1@atdot.net>
-Mon Sep 3 20:26:08 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * include/ruby/ruby.h: make Symbol objects frozen.
+ [Feature #8906]
+ I want to freeze this good day, too.
- * intern.h (rb_find_file_ext): changed from rb_find_file_noext().
+ * test/ruby/test_eval.rb: catch up this change.
-Mon Sep 3 15:12:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/ruby/test_symbol.rb: add a test to check frozen symbols.
- * ruby.c (proc_options): should not adjust argc/argv if -e option
- is supplied.
+Thu Sep 19 09:11:33 2013 Eric Hodel <drbrain@segment7.net>
-Mon Sep 3 14:11:17 2001 Akinori MUSHA <knu@iDaemons.org>
+ * NEWS: Update for RDoc 4.1.0.preview.1 and RubyGems 2.2.0.preview.1
- * error.c: unbreak the build on *BSD with gcc 3.0.1 by removing
- the conflicting declaration of sys_nerr for *BSD.
+Thu Sep 19 08:59:41 2013 Eric Hodel <drbrain@segment7.net>
-Sat Sep 1 18:50:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/rdoc/markdown/literals_1_9.rb: Fix trailing whitespace.
- * ruby.c (proc_options): should not alter origargv[].
+ Previously kpeg (which generates this file) added trailing
+ whitespace, but this bug is now fixed.
- * ruby.c (set_arg0): long strings for $0 dumped core.
+ * lib/rdoc/markdown.rb: ditto.
-Sat Sep 1 09:50:54 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Sep 19 08:33:14 2013 Eric Hodel <drbrain@segment7.net>
- * ruby.c (set_arg0): prevent SEGV when val is longer than the
- original arguments.
+ * lib/rdoc: Update to RDoc 4.1.0.preview.1
- * ruby.c (ruby_process_options): initialize total length of
- original arguments at first.
+ RDoc 4.1.0 contains a number of enhancements including a new default
+ style and accessibility support. You can see the changelog here:
-Sat Sep 1 14:05:28 2001 Brian F. Feldman <green@FreeBSD.org>
+ https://github.com/rdoc/rdoc/blob/v4.1.0.preview.1/History.rdoc
- * ruby.c (set_arg0): use setprogtitle() if it's available.
+ * test/rdoc: ditto.
-Sat Sep 1 03:49:11 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Sep 19 07:16:26 2013 Aaron Patterson <aaron@tenderlovemaking.com>
- * io.c (rb_io_popen): accept integer flags as mode.
+ * ext/psych/lib/psych.rb: updating Psych version
-Fri Aug 31 19:46:05 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * ext/psych/psych.gemspec: ditto
- * file.c (rb_find_file_ext): extension table can be supplied from
- outside. renamed.
+Thu Sep 19 06:39:40 2013 Eric Hodel <drbrain@segment7.net>
- * eval.c (rb_f_require): replace rb_find_file_noext by
- rb_find_file_ext.
+ * lib/rubygems/dependency_resolver.rb: Switch the iterative resolver
+ algorithm from recursive to iterative to avoid possible
+ SystemStackError.
-Fri Aug 31 19:26:55 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Sep 19 06:29:30 2013 Eric Hodel <drbrain@segment7.net>
- * eval.c (rb_provided): should also check feature without
- extension.
+ * lib/rubygems: Update to RubyGems 2.2.0.preview.1
-Fri Aug 31 13:06:33 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ This brings several new features to RubyGems summarized here:
- * numeric.c (flo_to_s): do not rely on decimal point to be '.'
+ https://github.com/rubygems/rubygems/blob/v2.2.0.preview.1/History.txt
-Wed Aug 29 02:18:53 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/rubygems: ditto.
- * parse.y (yylex): ternary ? can be followed by newline.
+Wed Sep 18 23:14:58 2013 Masaki Matsushita <glass.saga@gmail.com>
-Tue Aug 28 00:40:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * string.c (rb_str_enumerate_lines): make String#each_line and
+ #lines not raise invalid byte sequence error when it is called
+ with an argument. The patch also causes performance improvement.
+ [ruby-dev:47549] [Bug #8698]
- * eval.c (rb_f_require): should check static linked libraries
- before raising exception.
+ * test/ruby/test_m17n_comb.rb (test_str_each_line): remove
+ assertions which check that String#each_line and #lines will
+ raise an error if the receiver includes invalid byte sequence.
-Fri Aug 24 15:17:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Sep 18 16:32:15 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_equal): check identiry equality first.
+ * proc.c (mnew_from_me): allocate structs after allocated wrapper
+ object successfully, to get rid of potential memory leak.
- * string.c (rb_str_equal): ditto.
+Tue Sep 17 15:54:03 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * struct.c (rb_struct_equal): ditto.
+ * lib/shell/command-processor.rb (Shell::CommandProcessor#find_system_command):
+ return executable file only, should ignore directories and
+ unexecutable files. [ruby-core:57235] [Bug #8918]
-Fri Aug 24 14:38:17 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_throw):
+ assertion for throw. MiniTest::Assertions#assert_throws discards
+ the caught value.
- * dln.c (dln_strerror): fix a bug that sometimes made null message on
- win32 (Tietew <tietew@tietew.net>'s patch).
+ * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_nothing_thrown):
+ returns the result of the given block.
- * win32/win32.c (mystrerror): ditto.
+Tue Sep 17 12:55:58 2013 Eric Hodel <drbrain@segment7.net>
-Fri Aug 24 03:15:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * doc/regexp.rdoc: [DOC] Replace paragraphs in verbatim sections with
+ plain paragraphs to improve readability as ri and HTML.
- * numeric.c (Init_Numeric): undef Integer::new.
+Mon Sep 16 07:32:35 2013 Tadayoshi Funaba <tadf@dotrb.org>
-Fri Aug 24 00:46:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * complex.c: removed meaningless lines.
+ * rational.c: ditto.
- * eval.c (rb_eval): NODE_WHILE should update result for each
- conditional evaluation.
+Mon Sep 16 00:44:23 2013 Masaki Matsushita <glass.saga@gmail.com>
- * eval.c (rb_eval): NODE_UNTIL should return last evaluated value
- (or value given to break).
+ * ext/socket/mkconstants.rb: define MSG_FASTOPEN.
+ [ruby-core:57138] [Feature #8897]
-Thu Aug 23 21:59:38 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Sun Sep 15 13:31:23 2013 Tadayoshi Funaba <tadf@dotrb.org>
- * enum.c (sort_by_i): fix typo.
+ * rational.c (nurat_div): reverted r28844, r28886 and r28887.
+ REASON: Nobuyoshi Nakada <nobu@ruby-lang.org>'s commits are buggy.
+ So Rational#/ may produce exact number with inexact number.
+ Moreover, without reducing.
+ REALLY NONSENSE COMMITS.
+ A bug report by me [ruby-dev:44710] is also caused by this behavior.
+ Kenta Murata <mrkn@mrkn.jp> patched it up.
+ But he did not fix the origin.
+ Today, the bug is still alive in ruby 1.9.3 and 2.0.0.
-Thu Aug 23 10:10:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Sep 14 06:08:10 2013 Eric Hodel <drbrain@segment7.net>
- * eval.c (is_defined): should not dump core for "defined?(())".
+ * dir.c (dir_s_glob): [DOC] Improve wording and layout.
- * eval.c (umethod_bind): recv can be an instance of descender of
- oklass if oklass is a Module.
+ * dir.c (file_s_fnmatch): ditto.
-Wed Aug 22 23:20:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * dir.c (Init_Dir): [DOC] Document File::Constants::FNM_XXX
+ constants. (These won't show up in RDoc until a new RDoc is
+ imported.)
- * hash.c (rb_hash_equal): check identiry equality first.
+Thu Sep 12 14:58:58 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Wed Aug 22 19:58:59 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * lib/uri/generic.rb (URI::Generic.find_proxy): return nil if
+ http_proxy environment variable is empty string.
+ [ruby-core:57140] [Bug #8898]
- * eval.c (intersect_fds): counts intersecting fds.
+Fri Sep 13 10:40:28 2013 Eric Hodel <drbrain@segment7.net>
- * eval.c (rb_thread_schedule): only fds requested by
- each thread count as select_value.
+ * lib/rubygems: Update to RubyGems 2.1.3
-Tue Aug 21 22:28:09 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ Fixed installing platform gems
- * file.c (group_member): should check real gid only.
+ Restored concurrent requires
- * file.c (eaccess): do not cache euid, since effective euid may be
- changed via Process.euid=().
+ Fixed installing gems with extensions with --install-dir
- * file.c (eaccess): return -1 unless every specified access mode
- is permitted.
+ Fixed `gem fetch -v` to install the latest version
-Tue Aug 21 16:09:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ Fixed installing gems with "./" in their files entries
- * eval.c (rb_eval): while/until returns the value which is given
- to break.
+ * test/rubygems/test_gem_package.rb: Tests for the above.
- * parse.y (value_expr): using while/until/class/def as an
- expression is now gives a warning, not an error.
+ * NEWS: Updated for RubyGems 2.1.3
-Tue Aug 21 11:56:02 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Sep 12 22:40:03 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * range.c (range_eqq): should compare strings based on magical
- increment (using String#upto), not dictionary order.
+ * configure.in (RUBY_CHECK_SIGNEDNESS): macro to check signedness of a
+ type.
-Mon Aug 20 19:53:16 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * configure.in (size_t): must be unsigned.
+ [ruby-core:57149] [Feature #8890]
- * ext/digest/sha2/extconf.rb: fix support for cross-compiling.
+Thu Sep 12 22:37:08 2013 Anton Ovchinnikov <revolver112@gmail.com>
- * mkconfig.rb: fix support for autoconf 2.52.
+ * ext/bigdecimal/bigdecimal.c, ext/digest/md5/md5.c,
+ ext/json/fbuffer/fbuffer.h, ext/json/generator/generator.c:
+ Eliminate less-than-zero checks for unsigned variables.
+ According to section 4.1.5 of C89 standard, size_t is an unsigned
+ type. These checks were found with 'cppcheck' static analysis tool.
+ [ruby-core:57117] [Feature #8890]
-Mon Aug 20 17:24:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Sep 12 21:35:46 2013 Naohisa Goto <ngotogenome@gmail.com>
- * enum.c (enum_sort_by): new method for Schewartzian transformed
- stable sort.
+ * Makefile.in (libruby-static.a): change LDFLAGS order. LDFLAGS may
+ include library path that should be specified before LIBS.
+ [ruby-dev:47707] [Bug #8901]
-Mon Aug 20 16:09:05 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Sep 12 20:07:29 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * variable.c (mod_av_set): detect constant overriding for built-in
- classes/modules.
+ * vsnprintf.c (MAXEXP, MAXFRACT): calculate depending on constants in
+ float.h.
-Mon Aug 20 15:14:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vsnprintf.c (BSD_vfprintf): limit length for cvt() to get rid of
+ buffer overflow. [ruby-core:57023] [Bug #8864]
- * parse.y (tokadd_escape): escaped backslashes too much.
+ * vsnprintf.c (exponent): make expbuf size more precise.
-Mon Aug 20 13:24:08 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Sep 11 17:30:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * range.c (range_step): 'iter' here should be an array.
+ * configure.in (RUNRUBY): append -- only after runruby.rb, not
+ cross-compiling baseruby, so that $(RUN_OPT) can be command line
+ options. [ruby-dev:47703] [Bug #8893]
-Mon Aug 20 12:43:08 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Sep 11 07:55:17 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * marshal.c (w_object): should retrieve __member__ data from
- non-singleton class.
+ * thread.c (rb_mutex_unlock): Mutex#unlock no longer raise
+ an exception even if uses on trap. [Bug #8891]
-Sat Aug 18 23:11:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Sep 10 14:37:01 2013 Shota Fukumori <sorah@tubusu.net>
- * variable.c (rb_cvar_get): class variable override check added.
+ * vm_backtrace.c (vm_backtrace_to_ary): Ignore the second argument if
+ it is nil. [Bug #8884] [ruby-core:57094]
- * variable.c (rb_cvar_set): ditto
+ * test/ruby/test_backtrace.rb (test_caller_with_nil_length):
+ Test for above.
- * variable.c (rb_cvar_declare): ditto.
+Tue Sep 10 12:39:17 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Aug 17 12:13:48 2001 Minero Aoki <aamine@loveruby.net>
+ * class.c (method_entry_i): should exclude refined methods from
+ instance method list. [ruby-core:57080] [Bug #8881]
- * lib/net/protocol.rb: Protocol.new requires at least one arg.
+Tue Sep 10 12:05:04 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
- * lib/net/smtp.rb: ditto.
+ * io.c (rb_f_printf): [DOC] add missing parenthesis in rdoc.
- * lib/net/pop.rb: ditto.
+Tue Sep 10 10:08:00 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
- * lib/net/http.rb: ditto.
+ * NEWS: Update RubyGems note.
-Fri Aug 17 00:49:51 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Sep 10 09:51:22 2013 Eric Hodel <drbrain@segment7.net>
- * parse.y (parse_regx): handle backslash escaping of delimiter here.
+ * lib/rubygems: Update to RubyGems 2.1.0. Fixes CVE-2013-4287.
-Thu Aug 16 23:03:40 2001 Koji Arai <JCA02266@nifty.ne.jp>
+ See http://rubygems.rubyforge.org/rubygems-update/CVE-2013-4287_txt.html
+ for CVE information.
- * io.c: prevent recursive malloc calls on NEC UX/4800.
+ See http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.1.0+%2F+2013-09-09
+ for release notes.
- * ext/socket/socket.c: ditto.
+ * test/rubygems: Tests for the above.
-Thu Aug 16 13:54:04 2001 Usaku Nakamura <usa@ruby-lang.org>
+Mon Sep 9 21:31:45 2013 Tanaka Akira <akr@fsij.org>
- * ext/socket/socket.c (s_recvfrom): fix typo.
+ * process.c: Remove spaces between SI prefix and unit to follow
+ SI brochure.
+ http://www.bipm.org/en/si/si_brochure/
+ https://www.nmij.jp/library/units/si/
-Thu Aug 16 09:53:28 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * time.c: Ditto.
- * ext/socket/socket.c (s_recvfrom): avoid VC++6 warning.
+ * ext/socket/ancdata.c: Ditto.
-Thu Aug 16 03:50:33 2001 Usaku Nakamura <usa@ruby-lang.org>
+Mon Sep 9 16:55:59 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/win32.c (NtCmdGlob): avoid VC++ warning.
+ * vm_method.c (rb_add_refined_method_entry): clear cache in the
+ refined class since refining a method entry is modifying the class.
+ [ruby-core:57079] [Bug #8880]
- * lib/mkmf.rb: add -I$(srcdir) to CPPFLAGS.
+Mon Sep 9 09:14:58 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Aug 15 04:59:15 2001 Akinori MUSHA <knu@iDaemons.org>
+ * tool/rbinstall.rb (Gem::Specification#initialize): default date to
+ RUBY_RELEASE_DATE. [ruby-core:57072] [Bug #8878]
- * ext/digest/*/extconf.rb: really fix so that they build from any
- directory.
+ * tool/rbinstall.rb (Gem::Specification#to_ruby): add date.
-Wed Aug 15 04:04:02 2001 Akinori MUSHA <knu@iDaemons.org>
+Sun Sep 8 16:01:54 2013 Tanaka Akira <akr@fsij.org>
- * ext/digest/sha2/extconf.rb: fix so that they build from any
- directory.
+ * rational.c (f_gcd): Relax the condition to use GMP.
-Wed Aug 15 01:59:19 2001 Akinori MUSHA <knu@iDaemons.org>
+Sun Sep 8 13:56:38 2013 Masaki Suketa <masaki.suketa@nifty.ne.jp>
- * ext/digest/defs.h: Define NO_UINT64_T instead of emitting an
- error to fail.
+ * ext/win32ole/win32ole.c (folevariant_initialize): check type of
+ element of array.
- * ext/digest/sha2/extconf.rb: Do not exit on error, and utilize
- NO_UINT64_T to detect if the system has a 64bit integer type.
+ * test/win32ole/test_win32ole_variant.rb (test_s_new_ary): ditto.
-Tue Aug 14 21:14:07 2001 Akinori MUSHA <knu@iDaemons.org>
+Sat Sep 7 21:33:10 2013 Tanaka Akira <akr@fsij.org>
- * ext/digest/sha2/extconf.rb: do not create Makefile when no 64bit
- integer type is detected.
+ * math.c (math_log): Test the sign for bignums.
+ (math_log2): Ditto.
+ (math_log10): Ditto.
-Tue Aug 14 17:09:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Sep 7 20:25:47 2013 Tanaka Akira <akr@fsij.org>
- * range.c (range_step): new method.
+ * math.c (math_log): Support bignums bigger than 2**1024.
+ (math_log2): Ditto.
+ (math_log10): Ditto.
-Tue Aug 14 11:49:00 2001 TOYOFUKU Chikanobu <toyofuku@juice.or.jp>
+Sat Sep 7 15:36:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * string.c (rb_str_cmp): remove needless conditional.
+ * vm_eval.c (vm_call0): fix prototype, the id parameter should be of
+ type ID, not VALUE
-Tue Aug 14 03:23:25 2001 Koji Arai <JCA02266@nifty.ne.jp>
+ * vm_insnhelper.c (check_match): the rb_funcall family of functions
+ does not care about refinements. We need to use
+ rb_method_entry_with_refinements instead to call === with
+ refinements. Thanks to Jon Conley for reporting this bug.
+ [ruby-core:57051] [Bug #8872]
- * string.c (rb_str_lstrip_bang) `return Qnil' was missing.
+ * test/ruby/test_refinement.rb: add test
-Mon Aug 13 14:16:46 2001 Akinori MUSHA <knu@iDaemons.org>
+Sat Sep 7 13:49:40 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * bignum.c, marshal.c: Detypo: s/SIZEOF_ING/SIZEOF_INT/.
+ * variable.c (classname): the name of class that has
+ non class id should not be nil. This bug was introduced
+ in r36577.
-Sun Aug 12 15:01:58 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * test/thread/test_cv.rb: test for change.
- * string.c (rb_str_cat): fix buffer overflow.
+Sat Sep 7 13:29:22 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * string.c (rb_str_append): nothing to append actually when `str2'
- is empty.
+ * lib/find.rb (Find.find): respect the encodings of arguments.
+ [ruby-dev:47530] [Feature #8657]
-Sat Aug 11 14:43:47 2001 Tanaka Akira <akr@m17n.org>
+ * test/test_find.rb: add tests.
- * array.c (rb_inspecting_p): initialize inspect_key if it is
- not initialized yet.
+Sat Sep 7 10:40:32 2013 Tanaka Akira <akr@fsij.org>
-Fri Aug 10 22:14:37 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/socket/mkconstants.rb (TCP_FASTOPEN): Defined for TCP fast open.
+ [ruby-core:57048] [Feature #8871] patch by Masaki Matsushita.
- * parse.y (cond0): operands of logical operators are not treated
- as conditional expresion anymore, but propagate conditional
- status if used in conditionals.
+Fri Sep 6 23:53:31 2013 Masaki Matsushita <glass.saga@gmail.com>
-Tue Aug 7 09:10:32 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * common.mk: use RUNRUBY instead of MINIRUBY because MINIRUBY can't
+ require extension libraries. The patch is from nobu
+ (Nobuyoshi Nakada).
- * win32/win32.h: fix problems with BC++ (ruby-bugs#PR161).
+ * ext/thread/extconf.rb: for build ext/thread/thread.c.
-Mon Aug 6 23:47:46 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * include/ruby/intern.h: ditto.
- * pack.c (pack_pack): associates p/P strings once at last
- (reverted to 1.26).
+ * thread.c: ditto.
- * string.c (rb_str_associate): associates an Array at once, not
- but a String. realloc's when str_buf.
+ * lib/thread.rb: removed and replaced by ext/thread/thread.c.
-Mon Aug 6 17:01:33 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/thread/thread.c: Queue, SizedQueue and ConditionVariable
+ implementations in C. This patch is based on patches from panaggio
+ (Ricardo Panaggio) and funny_falcon (Yura Sokolov) and ko1
+ (Koichi Sasada). [ruby-core:31513] [Feature #3620]
- * eval.c (rb_gc_mark_threads): should mark ruby_cref.
+ * test/thread/test_queue.rb (test_queue_thread_raise): add a test for
+ ensuring that killed thread should be removed from waiting threads.
+ It is based on a code by ko1 (Koichi Sasada). [ruby-core:45950]
-Mon Aug 6 14:31:37 2001 Usaku Nakamura <usa@ruby-lang.org>
+Fri Sep 6 22:47:12 2013 Tanaka Akira <akr@fsij.org>
- * numeric.c (num_divmod): fix typo.
+ * configure.in: Define ac_cv_func_clock_getres to yes for mingw*.
-Mon Aug 6 03:29:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Sep 6 21:04:10 2013 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_lstrip_bang): new method.
+ * rational.c: Include gmp.h if GMP is used.
+ (GMP_GCD_DIGITS): New macro.
+ (rb_gcd_gmp): New function.
+ (f_gcd_normal): Renamed from f_gcd.
+ (rb_gcd_normal): New function.
+ (f_gcd): Invoke rb_gcd_gmp or f_gcd_normal.
- * string.c (rb_str_rstrip_bang): new method.
+ * internal.h (rb_gcd_normal): Declared.
+ (rb_gcd_gmp): Ditto.
-Mon Aug 6 00:35:03 2001 Guy Decoux <decoux@moulon.inra.fr>
+ * ext/-test-/rational: New directory.
- * struct.c (rb_struct_modify): should check frozen and taint
- status.
+ * test/-ext-/rational: New directory.
-Sun Aug 5 19:28:39 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Fri Sep 6 14:23:22 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (rb_str_associate): should consider STR_ASSOC too.
+ * win32/win32.c (clock_getres): required as well as clock_gettime().
+ [ruby-dev:47699] [Bug #8869]
-Sun Aug 5 07:46:18 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Fri Sep 6 11:45:27 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_undefined): do not recurse if method_missing is
- undefined.
+ * transcode.c (rb_econv_append): new function to append a string data
+ with converting its encoding. split from rb_econv_substr_append.
-Thu Aug 2 21:37:32 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Sep 6 02:37:22 2013 Aaron Patterson <aaron@tenderlovemaking.com>
- * process.c (proc_waitpid): now all arguments are optional.
+ * ext/psych/lib/psych/visitors/yaml_tree.rb: use double quotes when
+ strings start with special characters.
+ https://github.com/tenderlove/psych/issues/157
- * process.c (Init_process): waitpid is now alias to wait.
+ * test/psych/test_string.rb: test for change.
- * process.c (Init_process): waitpid2 is now alias to wait2.
+Fri Sep 6 00:05:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * process.c (rb_waitpid): made public.
+ * class.c (rewrite_cref_stack): remove recursion.
- * ext/pty/pty.c (pty_getpty): avoid disturbing SIGCHLD using
- thread and rb_waitpid.
+Thu Sep 5 18:05:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Thu Aug 2 11:23:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * string.c (fstring_cmp): take string encoding into account when
+ comparing fstrings [ruby-core:57037] [Bug #8866]
- * process.c (proc_getpgrp): now takes no argument on all
- platforms.
+ * test/ruby/test_string.rb: add test
- * process.c (proc_setpgrp): ditto.
+Thu Sep 5 17:25:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Aug 2 01:29:42 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * string.c (rb_fstring, rb_str_free): use st_data_t instead of VALUE.
- * file.c (strrdirsep): removed meaningless code.
+ * string.c (rb_fstring): get rid of duplicating already frozen object.
- * file.c (rb_file_s_expand_path): reverted to 1.66.
+Thu Sep 5 14:01:22 2013 Eric Hodel <drbrain@segment7.net>
-Wed Aug 1 16:17:47 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/optparse.rb: The Integer acceptable now allows binary and
+ hexadecimal numbers per the documentation. [ruby-trunk - Bug #8865]
- * ext/socket/socket.c (sock_s_pack_sockaddr_in): added
- Socket::pack_sockaddr_in(). [new]
+ DecimalInteger, OctalInteger, DecimalNumeric now validate their input
+ before converting to a number. [ruby-trunk - Bug #8865]
- * ext/socket/socket.c (sock_s_pack_sockaddr_un): added
- Socket::pack_sockaddr_un(). [new]
+ * test/optparse/test_acceptable.rb: Tests for the above, tests for all
+ numeric acceptables for existing behavior.
- * ext/socket/socket.c (sock_s_pack_sockaddr_in): added
- Socket::unpack_sockaddr_in(). [new]
+Thu Sep 5 13:49:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * ext/socket/socket.c (sock_s_pack_sockaddr_un): added
- Socket::unpack_sockaddr_un(). [new]
+ * include/ruby/ruby.h: add RSTRING_FSTR flag
-Wed Aug 1 15:42:16 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * internal.h: add rb_fstring() prototype
- * eval.c (ruby_run): avoid VC++ warning.
+ * string.c (rb_fstring): deduplicate frozen string literals
-Tue Jul 31 17:30:53 2001 Usaku Nakamura <usa@ruby-lang.org>
+ * string.c (rb_str_free): delete fstrings from frozen_strings table when
+ they are GC'd
- * marshal.c (Init_marshal): fix typos.
+ * string.c (Init_String): initialize frozen_strings table
-Tue Jul 31 15:16:39 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Sep 5 12:48:00 2013 Kenta Murata <mrkn@cookpad.com>
- * process.c (last_status_set): nothing returned, should be void.
+ * configure.in (with_gmp): set with_gmp no if it is empty.
- * ext/socket/socket.c (load_addr_info): ditto.
+Thu Sep 5 10:41:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Tue Jul 31 12:11:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_insnhelper.c (vm_getivar): use class sequence to check class
+ identity, instead of pointer + vm state
- * marshal.c (Init_marshal): new constant Marshal::MAJOR_VERSION
- and Marshal::MINOR_VERSION.
+ * vm_insnhelper.c (vm_setivar): ditto
-Tue Jul 31 07:18:04 2001 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Thu Sep 5 08:20:58 2013 Tanaka Akira <akr@fsij.org>
- * file.c (rb_file_s_expand_path): scans per path element not per
- byte/character, including fix of [ruby-talk:18152] and
- multi-byte pathname support.
+ * bignum.c (GMP_DIV_DIGITS): New macro.
+ (bary_divmod_gmp): New function.
+ (rb_big_divrem_gmp): Ditto.
+ (bary_divmod_branch): Ditto.
+ (bary_divmod): Use bary_divmod_branch.
+ (bigdivrem): Ditto.
-Tue Jul 31 11:52:10 2001 akira yamada <akira@ruby-lang.org>
+ * internal.h (rb_big_divrem_gmp): Declared.
- * marshal.c (marshal_load): ruby_verbose test should be wrapped by
- RTEST().
+Thu Sep 5 06:22:42 2013 Tanaka Akira <akr@fsij.org>
-Mon Jul 30 17:54:23 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (bary_divmod_normal): Reduce temporary array allocations.
- * hash.c (rb_hash_index): should return nil (not the default
- value) if value is not in the hash.
+Thu Sep 5 02:17:06 2013 Tanaka Akira <akr@fsij.org>
-Mon Jul 30 12:55:47 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (rb_big_divrem_normal): Add GC guards.
- * numeric.c (num_div): new method added. alias to '/' which
- should be preserved even if '/' is redefined (e.g. by
- mathn). [new]
+Thu Sep 5 00:38:32 2013 Tanaka Akira <akr@fsij.org>
-Mon Jul 30 11:12:14 2001 Amos Gouaux <amos+ruby@utdallas.edu>
+ * bignum.c (rb_big_divrem_normal): New function.
- * lib/net/imap.rb: added new commands for managing folder quotas
- and folder ACLs.
+ * internal.h (rb_big_divrem_normal): Declared.
-Mon Jul 30 03:19:53 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/-test-/bignum/div.c: New file.
- * bignum.c (rb_cstr2inum): "0 ff".hex should return 0, not 255.
+ * test/-ext-/bignum/test_div.rb: New file.
-Fri Jul 27 22:29:41 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Sep 5 00:08:44 2013 Tanaka Akira <akr@fsij.org>
- * file.c (rb_file_s_expand_path): fixed using CharNext().
+ * bignum.c (bigdivrem_normal): Removed.
+ (bary_divmod_normal): New function.
+ (bary_divmod): Use bary_divmod_normal.
+ (bigdivrem): Use bary_divmod_normal.
-Fri Jul 27 18:07:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Sep 4 23:02:12 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_provided): extension should be guessed using
- rb_find_file_noext().
+ * bignum.c (bigdivrem): Useless declaration removed.
- * eval.c (rb_f_require): should call rb_feature_p() after
- extension completion.
+Wed Sep 4 22:56:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jul 27 16:25:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * numeric.c (NUM_STEP_GET_INF): split from NUM_STEP_SCAN_ARGS(), since
+ inf is not used in num_step_size().
- * eval.c (rb_eval): add CHECK_INTS before next, redo, retry to
- avoid potential uninterruptable infinite loop.
+Wed Sep 4 20:22:43 2013 Tanaka Akira <akr@fsij.org>
-Thu Jul 26 11:27:12 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * bignum.c (bigdivrem_normal): Add assertions.
- * file.c (rb_find_file_noext, rb_find_file): fix tilde expansion
- problem.
+Wed Sep 4 19:18:40 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Jul 25 17:54:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * internal.h (vm_state_version_t): prefer LONG_LONG to uint64_t.
- * file.c (rb_file_s_expand_path): use CharNext() to expand.
+Wed Sep 4 16:28:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Jul 25 17:16:26 2001 Akinori MUSHA <knu@iDaemons.org>
+ * internal.h (vm_state_version_t): use uint64_t when it is larger than
+ LONG_LONG, and fallback to unsigned long.
- * intern.h: add some missing function prototypes.
+Wed Sep 4 15:37:05 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Wed Jul 25 15:50:05 2001 Guy Decoux <decoux@moulon.inra.fr>
+ * enc/trans/utf8_mac-tbl.rb: fix r42789.
+ Fix conversion table and logic. [ruby-dev:47680]
- * file.c (rb_file_s_expand_path): should not expand "." and ".."
- not following dirsep.
+Wed Sep 4 14:08:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Wed Jul 25 12:15:32 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * class.c, compile.c, eval.c, gc.h, insns.def, internal.h, method.h,
+ variable.c, vm.c, vm_core.c, vm_insnhelper.c, vm_insnhelper.h,
+ vm_method.c: Implement class hierarchy method cache invalidation.
- * file.c (rb_find_file_noext): should update f by expanded path.
+ [ruby-core:55053] [Feature #8426] [GH-387]
- * file.c (rb_find_file): ditto.
+Wed Sep 4 11:13:40 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Jul 24 23:10:47 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * string.c (str_gsub): use BEG(0) for whole matched position not
+ return value from rb_reg_search(), for \K matching.
+ [ruby-dev:47694] [Bug #8856]
- * file.c (strrdirsep): multi-byte pathname and DOSish separator
- support. originally comes from Patrick Cheng. [new]
+Wed Sep 4 11:11:37 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * file.c (rb_file_s_basename, rb_file_s_dirname): use
- strrdirsep(). comes from Patrick Cheng.
+ * configure.in (SOLIBS): LIBRUBY_SO also needs linking with gmp, to
+ run worker processes in test-all on non-ELF platforms.
- * file.c (is_absolute_path): restricted in DOSish absolute path
- with drive letter, and UNC support. originally comes from
- Patrick Cheng.
+Tue Sep 3 23:01:41 2013 Kouhei Sutou <kou@cozmixng.org>
- * file.c (getcwd): define macro using getwd() unless provided.
+ * test/rexml/parser/test_tree.rb
+ (TestTreeParser::TestInvalid#test_unmatched_close_tag):
+ Compute expected value from test value.
-Tue Jul 24 19:23:15 2001 Akinori MUSHA <knu@iDaemons.org>
+Tue Sep 3 22:59:58 2013 Kouhei Sutou <kou@cozmixng.org>
- * ext/extmk.rb.in, lib/mkmf.rb: dig the target subdirectory for
- lib/* files properly in case of create_makefile("dir/name").
+ * lib/rexml/parsers/treeparser.rb (REXML::Parsers::TreeParser#parse):
+ Add source information to parse exception on no close tag error.
+ [Bug #8844] [ruby-dev:47672]
+ Patch by Ippei Obayashi. Thanks!!!
+ * test/rexml/parser/test_tree.rb: Add a test for the above case.
-Mon Jul 23 00:26:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Sep 3 22:57:57 2013 Kouhei Sutou <kou@cozmixng.org>
- * eval.c (rb_provide_feature): should not tweak extension used for
- loading.
+ * test/rexml/parser/test_tree.rb: Fix test name to describe test
+ content.
-Sun Jul 22 21:16:43 2001 Akinori MUSHA <knu@iDaemons.org>
+Tue Sep 3 22:54:46 2013 Kouhei Sutou <kou@cozmixng.org>
- * ext/extmk.rb.in, lib/mkmf.rb: introduce a couple of new make
- variables: CLEANFILES and DISTCLEANFILES. They'd typically be
- defined in a file "depend".
+ * lib/rexml/parsers/treeparser.rb (REXML::Parsers::TreeParser#parse):
+ Remove needless nested parse exception information.
+ [Bug #8844] [ruby-dev:47672]
+ Reported by Ippei Obayashi. Thanks!!!
+ * test/rexml/parser/test_tree.rb: Add a test for the above case.
-Sat Jul 21 09:40:10 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Tue Sep 3 22:03:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (io_fread): use fread(3) if PENDING_COUNT is available.
+ * string.c (rb_enc_str_new_cstr): new function to create a string from
+ the C-string pointer with the specified encoding.
-Fri Jul 20 22:55:01 2001 Akinori MUSHA <knu@iDaemons.org>
+Tue Sep 3 21:41:37 2013 Akira Matsuda <ronnie@dio.jp>
- * gc.c (ruby_xrealloc): fix a dangling bug which led memory
- reallocation to fail even though the second try after a GC
- succeeds.
+ * eval.c (Init_eval): Make Module#include and Module#prepend public
+ [Feature #8846]
-Fri Jul 20 03:00:46 2001 Akinori MUSHA <knu@iDaemons.org>
+ * test/ruby/test_module.rb (class TestModule): Test for above
- * class.c (rb_mod_include_p): Module#include? added. [new]
+Tue Sep 3 21:35:19 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jul 20 01:05:50 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * thread_pthread.c (sys/dyntune.h): for gettune().
- * re.c (ignorecase_setter): give warning on modifying $=.
+ * thread_pthread.c (hpux_attr_getstackaddr): fix missing *.
+ [ruby-core:56983] [Feature #8793]
- * string.c (rb_str_casecmp): new method. [new]
+Tue Sep 3 20:12:46 2013 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_eql): separated from rb_str_equal(), make it
- always be case sensitive. [new]
+ * bignum.c (GMP_STR2BIG_DIGITS): New macro.
+ (str2big_gmp): New function.
+ (rb_cstr_to_inum): Use str2big_gmp for big bignums.
+ (rb_str2big_gmp): New function.
- * string.c (rb_str_hash): made it always be case sensitive.
+ * internal.h (rb_str2big_gmp): Declared.
-Thu Jul 19 13:03:15 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Tue Sep 3 19:44:40 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * eval.c (rb_f_require): should not include path in $" value
+ * ext/win32/lib/win32/registry.rb (Win32::Registry#values): added.
+ [Feature #7763] [ruby-core:51783]
- * file.c (rb_find_file): should return 0 explicitly on failure.
+Tue Sep 3 18:26:00 2013 Akinori MUSHA <knu@iDaemons.org>
-Tue Jul 17 11:44:40 2001 Usaku Nakamura <usa@osb.att.ne.jp>
+ * misc/inf-ruby.el (inf-ruby-keys, run-ruby): Add magic autoload
+ comments.
- * ruby.h: enable volatile directive with VC++.
+ * misc/rdoc-mode.el (rdoc-mode): Ditto.
- * regex.c: ditto.
+ * misc/ruby-electric.el (ruby-electric-mode): Ditto.
-Tue Jul 17 06:01:12 2001 Minero Aoki <aamine@loveruby.net>
+ * misc/ruby-style.el (ruby-style-c-mode): Ditto.
- * doc/net/smtp.rd.ja, pop.rd.ja, http.rd.ja: new files.
+Tue Sep 3 17:06:15 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * MANIFEST: add doc/net/{http,pop,smtp}.rd.ja.
+ * test/ruby/test_rubyoptions.rb
+ (TestRubyOptions::SEGVTest::ExpectedStderr): the URL was changed at
+ r42800.
-Tue Jul 17 11:22:01 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Sep 3 14:48:25 2013 Zachary Scott <e@zzak.io>
- * regex.c (NUM_FAILURE_ITEMS): was confusing NUM_REG_ITEMS and
- NUM_NONREG_ITEMS, which have happened to be same value.
+ * lib/thread.rb: [DOC] CV#wait typo by @avdi [Fixes GH-386]
+ https://github.com/ruby/ruby/pull/386
-Tue Jul 17 11:08:34 2001 Usaku Nakamura <usa@osb.att.ne.jp>
+Tue Sep 3 14:37:53 2013 Zachary Scott <e@zzak.io>
- * ext/extmk.rb.in: modify RM macro because command.com/cmd.exe don't
- recognize single quotation as quote character.
+ * error.c: [DOC] Update bug tracker url by @ScotterC [Fixes GH-390]
+ https://github.com/ruby/ruby/pull/390
- * lib/mkmf.rb: ditto.
+Tue Sep 3 12:45:23 2013 Tanaka Akira <akr@fsij.org>
-Tue Jul 17 01:38:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (rb_str2big_poweroftwo): New function.
+ (rb_str2big_normal): Ditto.
+ (rb_str2big_karatsuba): Ditto.
- * class.c (rb_class_new): subclass check moved to this function.
+ * internal.h (rb_str2big_poweroftwo): Declared.
+ (rb_str2big_normal): Ditto.
+ (rb_str2big_karatsuba): Ditto.
- * class.c (rb_class_boot): check less version of rb_class_new().
+ * ext/-test-/bignum/str2big.c: New file.
-Man Jul 16 13:21:30 2001 Usaku Nakamura <usa@osb.att.ne.jp>
+ * test/-ext-/bignum/test_str2big.rb: New file.
- * file.c (file_load_ok): fix typo.
+ * ext/-test-/bignum/depend: Add the dependency for str2big.c.
-Mon Jul 16 12:58:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Sep 3 12:09:08 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (proc_invoke): should preserve iter status for embedded
- frame in the block.
+ * process.c (rb_clock_gettime): Support times() based monotonic clock.
+ (rb_clock_getres): Ditto.
-Mon Jul 16 00:04:39 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Sep 3 12:03:02 2013 Tanaka Akira <akr@fsij.org>
- * file.c (rb_file_s_expand_path): may overrun buffer on stack.
+ * bignum.c (str2big_scan_digits): Extracted from rb_cstr_to_inum.
-Sun Jul 15 01:38:28 2001 Guy Decoux <decoux@moulon.inra.fr>
+Tue Sep 3 11:23:57 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * string.c (rb_str_insert): forgot to call rb_str_modify().
+ * win32/win32.c (rb_w32_select_with_thread): rounding up the fraction of
+ tv_usec instead of rounding down.
+ this change is an experiment to get rid of failures on vc10-x64 CI.
-Sat Jul 14 12:26:30 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Tue Sep 3 11:00:28 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * ext/digest/*/extconf.rb: fix so that they build from any
- directory.
+ * win32/win32.c (do_select): constify timeout.
-Sat Jul 14 06:20:17 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * win32/win32.c (rb_w32_select_with_thread): constify 10ms wait and
+ 0ms wait structs.
- * lib/net/http.rb: HTTP#proxy? did not worked.
+Tue Sep 3 10:03:42 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Sat Jul 14 02:56:19 2001 Akinori MUSHA <knu@iDaemons.org>
+ * test/openssl/test_pair.rb
+ (OpenSSL::TestPair#test_write_nonblock_no_exceptions): on some CIs
+ such as Debian 6.0, Ubuntu 10.04, CentOS and vc10-x64 (maybe depend
+ on OpenSSL version), writing to SSLSocket after SSL_ERROR_WANT_WRITE
+ causes SSL_ERROR_SSL "bad write retry".
- * ext/extmk.rb.in: support multi-level ext/ directories.
- (e.g. you can have ext/foo, ext/foo/bar and ext/foo/baz)
+Tue Sep 3 08:20:46 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Sat Jul 14 02:55:02 2001 Akinori MUSHA <knu@iDaemons.org>
+ * enc/trans/utf8_mac-tbl.rb: update conversion table to recent OS X.
+ Previous table is used on Mac OS X 10.1 or prior.
+ This table is used on 10.2 or later. [ruby-dev:47680]
- * ext/.cvsignore: let cvs ignore extinit.c.
+Tue Sep 3 07:49:25 2013 Akinori MUSHA <knu@iDaemons.org>
-Fri Jul 13 23:47:35 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * numeric.c (NUM_STEP_SCAN_ARGS): On second thought, keep
+ Numeric#step backward compatible in that it raises TypeError
+ when nil is given as second argument.
- * regex.c (re_search): should consider reverse search.
+ * test/ruby/test_float.rb (TestFloat#test_num2dbl): Revert.
-Fri Jul 13 22:26:09 2001 Akinori MUSHA <knu@iDaemons.org>
+ * test/ruby/test_numeric.rb (TestNumeric#test_step): Fix test
+ cases for the above change.
- * lib/mkmf.rb: use File::split to split a target into a prefix and
- a module name. This also works around a just found bug of
- String#rindex.
+Tue Sep 3 07:39:58 2013 Tanaka Akira <akr@fsij.org>
- * ext/extmk.rb.in: ditto.
+ * bignum.c (bytes_2comp): Define it only for little endian
+ environment.
-Fri Jul 13 02:36:10 2001 Minero Aoki <aamine@loveruby.net>
+Tue Sep 3 07:31:29 2013 Akinori MUSHA <knu@iDaemons.org>
- * dir.c (dir_s_chdir): warn only when invoked from multiple
- threads or block is not given.
+ * numeric.c (NUM_STEP_SCAN_ARGS): Numeric#step should raise
+ TypeError if a non-numeric parameter is given.
-Thu Jul 12 15:11:48 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * test/ruby/test_float.rb (TestFloat#test_num2dbl): Allow nil as
+ step, as with the keyword argument.
- * ext/socket/socket.c (ruby_connect): workaround for the setup of
- Cygwin socket(EALREADY).
+ * test/ruby/test_numeric.rb (TestNumeric#test_step): Add tests for
+ nil as step or limit.
-Mon Jul 9 16:49:30 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Tue Sep 3 07:28:49 2013 Tanaka Akira <akr@fsij.org>
- * ext/extmk.rb.in: modify RM macro.
+ * internal.h (bit_length): Add casts to fix compilation error with
+ clang 3.0 -Werror,-Wshorten-64-to-32.
+ [ruby-dev:47687] reported by SASADA Koichi.
- * lib/mkmf.rb: ditto.
+Tue Sep 3 03:17:26 2013 Koichi Sasada <ko1@atdot.net>
-Sun Jul 8 20:52:02 2001 Akinori MUSHA <knu@iDaemons.org>
+ * vm_insnhelper.c (vm_search_super_method): use ci->argc instead of
+ ci->orig_argc. ci->argc can be changed by splat arguments.
+ [ruby-list:49575]
+ This fix should be applied to Ruby 2.0.0 series.
- * ruby.h: fix a wrong function name: rb_iglob() -> rb_globi().
+ * test/ruby/test_super.rb: add a test for above.
-Sun Jul 8 16:04:35 2001 Minero Aoki <aamine@loveruby.net>
+Mon Sep 2 23:46:29 2013 Akinori MUSHA <knu@iDaemons.org>
- * lib/net/http.rb: rename HTTP#request_by_name to send_request.
+ * numeric.c (num_step): Default the limit argument to infinity and
+ allow it to be omitted. Keyword arguments (by: and to:) are
+ introduced for ease of use. [Feature #8838] [ruby-dev:47662]
+ [ruby-dev:42194]
- * lib/net/protocol.rb (ProtoSocket#read): modify typo.
+ * numeric.c (num_step): Optimize for infinite loop.
-Sat Jul 7 17:45:35 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Sep 2 22:55:59 2013 Tanaka Akira <akr@fsij.org>
- * object.c (rb_convert_type): should use rb_rescue(), not rb_rescue2().
+ * bignum.c (ISDIGIT): Unused macro removed.
- * range.c (range_init): ditto.
+Mon Sep 2 22:49:15 2013 Tanaka Akira <akr@fsij.org>
-Fri Jul 6 18:01:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (str2big_poweroftwo): Extracted from rb_cstr_to_inum.
+ (str2big_normal): Ditto.
+ (str2big_karatsuba): Ditto.
- * object.c (rb_obj_dup): copies (actually does not free)
- generic_ivar on dupif original owns them.
+Mon Sep 2 14:39:29 2013 Akinori MUSHA <knu@iDaemons.org>
-Fri Jul 6 02:15:06 2001 Akinori MUSHA <knu@iDaemons.org>
+ * ruby.c (Process#setproctitle): [DOC] Fix and improve rdoc.
- * lib/tempfile.rb: a tempfile must be created with mode 0600.
+ * ruby.c (Process#argv0): [DOC] Improve rdoc.
-Thu Jul 5 20:28:53 2001 Tietew <tietew@tietew.net>
+Mon Sep 2 14:15:00 2013 Kenta Murata <mrkn@cookpad.com>
- * string.c (rb_str_each_line): should propagate taint mark.
+ * NEWS: fix description of number literal suffixes.
- * ext/nkf/nkf.c (rb_nkf_kconv): ditto.
+Mon Sep 2 14:01:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Fri Jul 6 14:54:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/rake/test_rake_rules.rb: add space after string literal to
+ prevent conflict with string options syntax "foo"opts
- * eval.c (rb_f_require): revamp for simpler implementation.
+ * test/rss/rss-assertions.rb: ditto
- * file.c (rb_find_file_noext): use String object, instead of
- passing char* around.
+Mon Sep 2 12:28:38 2013 Tanaka Akira <akr@fsij.org>
- * file.c (rb_find_file): ditto.
+ * test/ruby/test_bignum.rb (test_interrupt_during_to_s): Disable it
+ when GMP is used.
-Thu Jul 5 22:01:02 2001 Mitsuhiro Kondo <kondo@nik-prt.co.jp>
+Mon Sep 2 07:02:10 2013 Tanaka Akira <akr@fsij.org>
- * dln.c (dln_load): should use NSLINKMODULE_OPTION_BINDNOW.
+ * bignum.c (Init_Bignum): Define Bignum::GMP_VERSION when GMP is used.
-Thu Jul 5 13:44:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Sep 2 01:46:14 2013 Tanaka Akira <akr@fsij.org>
- * ruby.c (load_file): local variables 'c' remain uninitialized on
- xflag.
+ * bignum.c (big2str_generic): Reduce arguments.
+ (big2str_gmp): Ditto.
+ (rb_big2str1): Follow the above change.
-Thu Jul 5 10:00:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Sep 2 00:08:08 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (re_match): prefetched escaped character too early.
+ * process.c (get_mach_timebase_info): Extracted from rb_clock_gettime.
+ (rb_clock_gettime): Use get_mach_timebase_info.
+ (rb_clock_getres): Support MACH_ABSOLUTE_TIME_BASED_CLOCK_MONOTONIC.
-Wed Jul 4 08:58:30 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Sep 1 23:30:47 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_call0): add argument check for attr_readers.
+ * bignum.c (GMP_BIG2STR_DIGITS): New constant.
+ (big2str_gmp): New function.
+ (rb_big2str1): Use big2str_gmp for big bignums.
-Wed Jul 4 04:22:44 2001 Minero Aoki <aamine@loveruby.net>
+ * internal.h (rb_big2str_gmp): Declared.
- * lib/net/http.rb (HTTP#request_by_name): arg order changes.
+ * ext/-test-/bignum/big2str.c (big2str_gmp): New method.
-Wed Jul 4 04:07:36 2001 Minero Aoki <aamine@loveruby.net>
+Sun Sep 1 22:37:51 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/http.rb (HTTP#request_by_name): bug fix.
+ * bignum.c (bary_mul_gmp): Use mpz_init and mpz_clear instead of
+ mpz_inits and mpz_clears.
+ Older GMP don't have them.
- * lib/net/http.rb: does not write Connection: by default.
+Sun Sep 1 21:17:54 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/protocol.rb: "start" for started protocol is an error.
+ * test/net/http/test_http.rb (test_bind_to_local_port): Choose an open
+ port more reliably.
- * lib/net/protocol.rb: "finish" for finished protocol is an error.
+Sun Sep 1 20:32:40 2013 Tanaka Akira <akr@fsij.org>
-Wed Jul 4 03:17:31 2001 Minero Aoki <aamine@loveruby.net>
+ * bignum.c (big2str_base_poweroftwo): Renamed from
+ big2str_base_powerof2.
+ (rb_big2str_poweroftwo): New function for test.
+ (big2str_generic): Extracted from rb_big2str1.
+ (rb_big2str_generic): New function for test.
- * lib/net/http.rb: new method HTTP#request_by_name (test)
+ * internal.h (rb_big2str_poweroftwo): Declared.
+ (rb_big2str_generic): Ditto.
- * lib/net/http.rb: new class HTTPGenericRequest
+ * ext/-test-/bignum/big2str.c: New file.
-Tue Jul 3 23:58:29 2001 Akinori MUSHA <knu@iDaemons.org>
+ * test/-ext-/bignum/test_big2str.rb: New file.
- * lib/mkmf.rb: distclean should remove mkmf.log as well.
+Sun Sep 1 15:21:21 2013 Tanaka Akira <akr@fsij.org>
-Tue Jul 3 18:35:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (big2str_2bdigits): Renamed from big2str_orig.
- * eval.c (rb_eval_string_wrap): should push frame (and adjust
- cbase) before wrapped eval.
+Sun Sep 1 13:02:24 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_eval_cmd): ditto.
+ * bignum.c: Remove BITSPERDIG >= INT_MAX test. The static assertion,
+ SIZEOF_BDIGITS <= sizeof(BDIGIT) is enough.
- * eval.c (eval): should update ruby_class always after all.
+Sun Sep 1 11:38:26 2013 Tanaka Akira <akr@fsij.org>
-Tue Jul 3 14:56:27 2001 Shugo Maeda <shugo@ruby-lang.org>
+ * bignum.c (maxpow_in_bdigit): Removed.
- * eval.c (block_pass): do not change wrapper information.
+Sun Sep 1 10:30:42 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_yield_0): preserve wrapper information.
+ * numeric.c (rb_fix_bit_length): Moved from bignum.c.
-Tue Jul 3 08:59:50 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Sun Sep 1 09:55:45 2013 Tanaka Akira <akr@fsij.org>
- * error.c (rb_name_error): raise NameError instead of LoadError.
+ * internal.h (bit_length): Moved from bignum.c.
+ (nlz_int): Ditto.
+ (nlz_long): Ditto.
+ (nlz_long_long): Ditto.
+ (nlz_int128): Ditto.
-Mon Jul 2 17:22:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Sep 1 03:32:22 2013 Tanaka Akira <akr@fsij.org>
- * error.c (exc_exception): clone the receiver exception instead of
- creating brand new exception object of the receiver.
+ * bignum.c (bit_length): Renamed from bitsize.
-Mon Jul 2 09:53:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Sep 1 00:07:09 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_eval_string_wrap): extend new ruby_top_self, not
- original self.
+ * bignum.c (rb_big_bit_length): New method.
+ (rb_fix_bit_length): Ditto.
+ [ruby-core:56247] [Feature #8700]
- * eval.c (rb_eval_cmd): respect ruby_wrapper if set.
+Sat Aug 31 22:18:29 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (eval): do not update ruby_class unless scope is not
- provided.
+ * process.c (rb_clock_getres): New method.
+ (timetick2dblnum_reciprocal): New function.
-Sun Jul 1 10:51:15 2001 Shugo Maeda <shugo@ruby-lang.org>
+ * configure.in: Check clock_getres.
- * eval.c (eval): preserve wrapper information.
+ [ruby-core:56780] [Feature #8809] accepted as a CRuby feature at
+ DevelopersMeeting20130831Japan
+ https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130831Japan
- * eval.c (proc_invoke): ditto.
+Sat Aug 31 21:02:07 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (block_pass): ditto.
+ * bignum.c: Use GMP to accelerate big Bignum multiplication.
+ (bary_mul_gmp): New function.
+ (bary_mul): Use bary_mul_gmp.
+ (bigsq): Use different threshold with GMP.
-Sat Jun 30 02:55:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * configure.in: Detect GMP.
- * parse.y (void_expr): too much warnings for void context
- (e.g. foo[1] that can be mere Proc call).
+ [ruby-core:56658] [Feature #8796]
-Fri Jun 29 17:23:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Aug 31 15:03:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * error.c (rb_name_error): new function to raise NameError with
- name attribute set.
+ * compile.c (NODE_MATCH3): pass CALL_INFO to opt_regexpmatch2
- * eval.c (rb_f_missing): set name and args in the exception
- object. [new]
+ * insns.def (opt_regexpmatch2): use CALL_SIMPLE_METHOD to call =~ if
+ the receiver is not a T_STRING [Bug #8847] [ruby-core:56916]
- * error.c (name_name): NameError#name - new method.
+Sat Aug 31 14:07:11 2013 Tanaka Akira <akr@fsij.org>
- * error.c (nometh_args): NoMethodError#args - new method.
+ * lib/securerandom.rb (random_bytes): Use Process.clock_gettime.
-Fri Jun 29 15:29:31 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Aug 31 00:25:15 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lex.c (rb_reserved_word): lex_state after tRESCUE should be
- EXPR_MID.
+ * include/ruby/encoding.h (rb_{ascii8bit,utf8,usascii}_encindex): get
+ rid of conflict with macros defined in internal.h.
-Thu Jun 28 00:21:28 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
+Fri Aug 30 22:37:57 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/matrix.rb: resolve 'ruby -w' warnings.
+ * thread_pthread.c (native_thread_init_stack): wait the creator thread
+ to fill machine stack info, if get_stack_of() is available.
- * lib/irb/locale.rb: resolve 'ruby -w' warnings.
+ * thread_pthread.c (native_thread_create): fill the created thread
+ stack info after starting, if get_stack_of() is available.
- * lib/irb/multi-irb.rb: resolve 'ruby -w' warnings.
+ * thread_pthread.c (native_thread_create): define attr only if it is
+ used, and merge pthread_create() calls.
- * lib/irb/ruby-lex.rb: fix problem for "\\M-\\..." and "\\C-\\..."
- and resolve 'ruby -w' warnings.
+ * thread_pthread.c (get_main_stack): separate function to get stack of
+ main thread.
- * lib/irb/ruby-token.rb: fix typo
+Thu Aug 29 18:05:33 2013 Koichi Sasada <ko1@atdot.net>
- * lib/shell/command-processor.rb: resolve 'ruby -w' warnings.
-
-Wed Jun 27 08:53:26 2001 Minero Aoki <aamine@loveruby.net>
+ * struct.c (rb_struct_define_without_accessor_under): added.
+ This function is similar to rb_define_class_under() against
+ rb_define_class().
- * lib/net/pop.rb: new methods POP3.auth_only, POP3#auth_only
+ * include/ruby/intern.h: add a declaration of this function.
- * lib/net/http.rb: HTTP.Proxy returns self if ADDRESS is nil.
+Thu Aug 29 17:03:10 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/net/protocol.rb: new method ProtocolError#response
+ * vm_insnhelper.c (vm_call_method): a method entry refers the based
+ class/module, so should search superclass from the origin i-class
+ where the entry belongs to, to get rid of infinite loop when zsuper
+ in a prepended class/module. [ruby-core:54105] [Bug #8238]
- * lib/net/protocol.rb,smtp.rb,pop.rb,http.rb: add document.
+Thu Aug 29 05:35:58 2013 Eric Hodel <drbrain@segment7.net>
-Tue Jun 26 18:42:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/zlib/zlib.c (zstream_run): Fix handling of deflate streams that
+ need a dictionary but are being decompressed by Zlib::Inflate.inflate
+ (which has no option to set a dictionary). Now Zlib::NeedDict is
+ raised instead of crashing. [ruby-trunk - Bug #8829]
+ * test/zlib/test_zlib.rb (TestZlibInflate): Test for the above.
- * gc.c (add_heap): allocation size of the heap unit is doubled for
- each allocation.
+Thu Aug 29 02:40:45 2013 Aaron Patterson <aaron@tenderlovemaking.com>
-Mon Jun 25 09:54:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/psych/lib/psych/scalar_scanner.rb: invalid floats should be
+ treated as strings.
+ https://github.com/tenderlove/psych/issues/156
- * dir.c (isdelim): space, tab, and newline are no longer
- delimiters for glob patterns.
+ * test/psych/test_string.rb: test for change
-Sat Jun 23 22:28:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Aug 28 17:20:07 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (svalue_to_avalue): new conversion scheme between single
- value and array values.
+ * thread_pthread.c (hpux_attr_getstackaddr): basic support for the
+ get_stack() under HP-UX. based on the patch by michal@rokos.cz
+ (Michal Rokos) at [ruby-core:56645]. [Feature #8793]
- * eval.c (avalue_to_svalue): ditto.
+Wed Aug 28 11:24:20 2013 Michal Rokos <michal@rokos.cz>
- * eval.c (rb_eval): REXPAND now uses avalue_to_svalue(), return
- and yield too.
+ * configure.in (sys/pstat.h): fix missing header check for
+ missing/setproctitle.c on HP-UX. [ruby-core:56644] [Bug #8792]
- * eval.c (rb_yield_0): use avalue_to_svalue().
+Wed Aug 28 04:54:33 2013 Eric Hodel <drbrain@segment7.net>
- * eval.c (proc_invoke): Proc#call gives avaules, whereas
- Proc#yield gives mvalues.
+ * ext/openssl/ossl_ssl.c (ossl_ssl_read): Replace duplicate
+ wait_writable with wait_readable.
- * eval.c (bmcall): convert given value (svalue) to avalue.
+Tue Aug 27 17:18:40 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sat Jun 23 18:28:52 2001 Akinori MUSHA <knu@iDaemons.org>
+ * lib/timeout.rb (Timeout#timeout): skip rescue clause only when no
+ exception class is given.
- * ext/readline/readline.c (readline_event): a non-void function
- should return a value.
+Tue Aug 27 17:02:58 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jun 22 23:17:28 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * io.c (copy_stream_body): should write in binary mode. based on a
+ patch by godfat (Lin Jen-Shin) at [ruby-core:56556].
+ [ruby-core:56518] [Bug #8767]
- * ext/socket/socket.c (ruby_connect): workaround for the setup of
- Cygwin socket.
+Tue Aug 27 17:02:33 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jun 22 23:11:17 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
-
- * lib/irb/locale.rb: fix for require "kconv" problem
-
-Fri Jun 22 18:08:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * io.c (copy_stream_body): move common open flags.
- * eval.c (rb_yield_0): no mvalue_to_svalue conversion here.
+Tue Aug 27 16:56:50 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (massign): takes svalue, convert it to mvalue inside.
+ * enumerator.c (enumerator_size): use rb_check_funcall() instead of
+ respond_to? and call.
- * eval.c (rb_eval): parameters for yield/return are always
- svalues now.
+ * enumerator.c (enumerator_each): ensure that argument array size
+ does not overflow at appending.
- * eval.c (svalue_to_mvalue): more strict conversion.
+Tue Aug 27 16:46:05 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (mvalue_to_svalue): ditto.
+ * array.c (rb_ary_index, rb_ary_rindex): use optimized equality to
+ improve performance. [Feature #8820]
-Fri Jun 22 17:12:23 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_insnhelper.c (rb_equal_opt): optimized equality function.
- * st.c (new_size): prime hash size enabled.
+Tue Aug 27 16:11:05 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/socket/socket.c (Init_socket): SO_* constants added.
+ * vm_insnhelper.c (opt_eq_func): use RBASIC_CLASS() instead of HEAP_CLASS_OF().
-Tue Jun 19 22:24:07 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * insns.def (opt_plus, opt_minus, opt_mult, opt_div, opt_mod, opt_lt),
+ (opt_gt, opt_ltlt, opt_aref, opt_aset, opt_length, opt_size),
+ (opt_empty_p, opt_succ): ditto.
- * gc.c (rb_setjmp): avoid GCC 3.0 warnings.
+Tue Aug 27 16:08:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Jun 19 18:19:30 2001 Akinori MUSHA <knu@iDaemons.org>
+ * vm_eval.c (rb_check_funcall, rb_check_funcall_with_hook): constify
+ argv.
- * ext/readline/readline.c: add new methods:
- Readline::completion_append_character and
- Readline::completion_append_character=.
+Tue Aug 27 13:03:33 2013 Koichi Sasada <ko1@atdot.net>
-Tue Jun 19 16:29:50 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/stringio/stringio.c (strio_read_nonblock): declare local
+ variables at the first of function.
- * eval.c (svalue_to_mvalue): new function to convert from svalue
- to mvalue. [experimental]
+Tue Aug 27 11:51:37 2013 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
- * eval.c (mvalue_to_svalue): new function to convert from mvalue
- to svalue.
+ * enumerator.c: Allow Enumerator size argument to be any callable.
+ Patch by Avdi Grimm. [bug #8641] [ruby-core:56032] [fix GH-362]
- * eval.c (rb_eval): use mvalue_to_svalue().
+ * test/ruby/test_enumerator.rb: Test for above
- * eval.c (rb_yield_0): use mvalue_to_svalue().
+Tue Aug 27 11:46:31 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (proc_invoke): proper mvalue handling.
+ * gc.c (gc_profile_clear): do rest_sweep() before clearing
+ profile.current_record.
-Mon Jun 18 17:38:50 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Aug 27 07:35:05 2013 Aaron Patterson <aaron@tenderlovemaking.com>
- * eval.c (rb_f_require): searches ".rb" and ".so" at the same
- time. previous behavior (search ".rb", then ".so") has a
- security risk (ruby-bugs#PR140).
+ * io.c (io_read_nonblock): support non-blocking reads without raising
+ exceptions. As in: `io.read_nonblock(size, exception: false)`
+ [ruby-core:38666] [Feature #5138]
+ * ext/openssl/ossl_ssl.c (ossl_ssl_read_internal): ditto
+ * ext/stringio/stringio.c (strio_sysread): ditto
+ * io.c (rb_io_write_nonblock): support non-blocking writes without
+ raising an exception.
+ * ext/openssl/ossl_ssl.c (ossl_ssl_write_internal): ditto
+ * test/openssl/test_pair.rb (class OpenSSL): tests
+ * test/ruby/test_io.rb (class TestIO): ditto
+ * test/socket/test_nonblock.rb (class TestSocketNonblock): ditto
+ * test/stringio/test_stringio.rb (class TestStringIO): ditto
- * array.c (rb_ary_to_ary): new function to replace internal
- rb_Array(), which never calls to_a, but to_ary (rb_Array() might
- call both). [new]
+Tue Aug 27 05:24:34 2013 Eric Hodel <drbrain@segment7.net>
-Mon Jun 18 00:43:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/rubygems: Import RubyGems 2.1.0 Release Candidate
+ * test/rubygems: ditto.
- * regex.c (PUSH_FAILURE_POINT): push option status again.
+Mon Aug 26 16:24:58 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * regex.c (re_compile_pattern): avoid pushing unnecessary
- option_set.
+ * parse.y (parser_nextc): warn carriage return in middle of line.
+ [ruby-core:56240] [Feature #8699]
-Sat Jun 16 10:58:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Aug 26 15:27:39 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_load): tainted string is OK if wrapped *and*
- $SAFE >= 4.
+ * lib/timeout.rb (Timeout#timeout): should not be caught by rescue
+ clause. [Bug #8730]
-Thu Jun 14 16:27:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Aug 26 14:44:26 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_thread_start_0): should not nail down higher blocks
- before preserving original context (i.e. should not alter
- original context).
+ * array.c (rb_ary_splice): use RARRAY_PTR_USE() without WB because
+ there are not new relations.
-Wed Jun 13 19:34:59 2001 Akinori MUSHA <knu@iDaemons.org>
+ * enum.c (enum_sort_by): ditto.
- * dir.c (Init_Dir): add a new method File::fnmatch? along with
- File::Constants::FNM_*. While I am here, FNM_NOCASE is renamed
- to FNM_CASEFOLD which is commonly used by *BSD and GNU libc.
+ * struct.c (setup_struct): use RARRAY_RAWPTR().
-Wed Jun 13 09:33:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm_eval.c (yield_under): ditto.
- * eval.c (proc_yield): new method equivalent to Proc#call but no
- check for number of arguments. [new]
+ * ext/pathname/pathname.c (path_entries): use RARRAY_AREF().
-Tue Jun 12 14:21:28 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * ext/pathname/pathname.c (path_s_glob): ditto.
- * lib/mkmf.rb: target_prefix is only for installation, not for
- build.
+Mon Aug 26 13:11:10 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
-Tue Jun 12 00:41:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (ary_ensure_room_for_push): fix typo in r42658.
- * eval.c (method_eq): new method Method#==. [new]
+Mon Aug 26 12:37:10 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Jun 11 14:29:41 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * template/sizes.c.tmpl: generate automatically by extracting
+ RUBY_CHECK_SIZEOF from configure.in.
- * confgure.in: add RUBY_CANONICAL_BUILD.
+Mon Aug 26 10:16:59 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
-Sun Jun 10 17:31:47 2001 Guy Decoux <decoux@moulon.inra.fr>
+ * process.c (gcd_timetick_int): Renamed from gcd_timtick_int.
- * gc.c (STR_NO_ORIG): STR_NO_ORIG value was different between
- string.c and gc.c
+Sun Aug 25 21:02:15 2013 Tanaka Akira <akr@fsij.org>
-Sat Jun 9 22:10:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * sizes.c (Init_sizes): Define the size of clock_t.
- * eval.c (rb_eval): should convert *non-array at the end of
- arguments by using Array().
+Sun Aug 25 01:47:47 2013 Tanaka Akira <akr@fsij.org>
-Sat Jun 9 17:04:30 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * bignum.c (BARY_SHORT_MUL): Renamed from BARY_MUL1.
+ (bary_short_mul): Renamed from bary_mul1.
- * hash.c (ruby_setenv): readline library leaves their environment
- strings uncopied. "free" check revised.
+Sat Aug 24 10:35:09 2013 Tanaka Akira <akr@fsij.org>
-Sat Jun 9 16:31:03 2001 Usaku Nakamura <usa@osb.att.ne.jp>
+ * process.c (rb_clock_gettime): The emulated clock names changed.
- * ext/extmk.rb.in: Use -F and -T for mswin32 because cl.exe doesn't
- support -o officially and cl.exe considers that *.cc and *.cxx are
- OBJs.
+Fri Aug 23 22:22:07 2013 Tanaka Akira <akr@fsij.org>
- * lib/mkmf.rb: ditto.
+ * process.c (rb_clock_gettime): Add a cast to fix compile error by
+ -Werror,-Wshorten-64-to-32.
- * win32/Makefile.sub: Use del instead of rm.
- All these changes are derived from Nobuyoshi Nakada's patch.
- Thanks.
+Fri Aug 23 22:12:13 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jun 8 22:37:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * process.c (rb_intern): no symbol cache while initialization.
- * gc.c (Init_stack): avoid __builtin_frame_address(2) to retrieve
- stack bottom line.
+Fri Aug 23 22:07:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jun 8 18:14:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * configure.in (clock_t): needs time.h.
- * st.c (numhash): should shuffle bits by dividing by prime number.
+Fri Aug 23 21:37:28 2013 Tanaka Akira <akr@fsij.org>
-Fri Jun 8 17:05:21 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * process.c (reduce_factors): New function.
+ (timetick2dblnum): Use reduce_factors.
+ (timetick2integer): Ditto.
+ (make_clock_result): Follow the above change.
+ (rb_clock_gettime): Ditto.
- * eval.c (rb_eval): multiple assignment behavior fixed, which
- results "*a = nil" makes "a == []" now.
+Fri Aug 23 21:00:55 2013 Tanaka Akira <akr@fsij.org>
-Fri Jun 8 15:25:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * process.c (timetick_int_t): Renamed from timetick_giga_count_t.
+ (gcd_timtick_int): Renamed from gcd_ul and make the arguments
+ timetick_giga_count_t.
+ (reduce_fraction): Make the arguments timetick_int_t.
+ (timetick2integer): Ditto.
+ (make_clock_result): Ditto.
+ (timetick2dblnum): Fix the return type.
+ (rb_clock_gettime): Use timetick_int_t.
- * eval.c (rb_f_require): should set SCOPE_PUBLIC before calling
- dln_load().
+Fri Aug 23 20:50:40 2013 Tanaka Akira <akr@fsij.org>
-Thu Jun 7 17:28:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * process.c (gcd_ul): New function.
+ (reduce_fraction): Ditto.
+ (reduce_fraction): Ditto.
+ (timetick2dblnum): Ditto.
+ (timetick2integer): Ditto.
+ (make_clock_result): Use timetick2dblnum and timetick2integer.
+ (rb_clock_gettime): Follow the make_clock_result change.
- * parse.y (yylex): exclude kDO_BLOCK too much by false condition.
+Fri Aug 23 18:39:04 2013 Koichi Sasada <ko1@atdot.net>
-Wed Jun 6 23:02:36 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
+ * array.c (ary_make_shared): shared ary as shady. Need more effort to
+ make it normal object.
- * lib/sync.rb: bug fix if obj.initialize has parameters when
- obj.extend(Sync_m)
+ * array.c (rb_ary_modify): use RARRAY_PTR_USE() without WB because
+ there are not new relations.
- * lib/mutex_m.rb: modified bit
-
-Wed Jun 6 16:11:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (ary_ensure_room_for_unshift): use RARRAY_RAWPTR() because
+ there are not new relations.
- * eval.c (rb_load): should check if tainted even when wrap is
- specified.
+Fri Aug 23 11:25:57 2013 Koichi Sasada <ko1@atdot.net>
-Wed Jun 6 14:34:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c: introduce ARY_SHARED_OCCUPIED(shared).
- * parse.y (mrhs_basic): "*arg" should always be expanded by REXPAND.
+Fri Aug 23 11:07:08 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * regex.c (re_compile_pattern): too much optimization for the
- cases like /(.|a)b/.
+ * win32/Makefile.sub (config.h): now SIZEOF_CLOCK_T is needed for
+ unsigned_clock_t.
-Tue Jun 5 23:58:43 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Aug 22 22:01:04 2013 Tanaka Akira <akr@fsij.org>
- * variable.c (fc_i): removed vast string allocation.
+ * process.c (rb_clock_gettime): Strip "s" from unit names.
-Tue Jun 5 16:45:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Aug 22 20:14:59 2013 Tanaka Akira <akr@fsij.org>
- * error.c (Init_Exception): NameError went under StandardError,
- and NoMethodError went under NameError.
+ * process.c (unsigned_clock_t): Defined.
+ (rb_clock_gettime): Consider clock_t overflow for
+ ISO_C_CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID.
-Tue Jun 5 16:40:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * configure.in: Check the size of clock_t.
- * parse.y (rb_intern): non identifier symbols should be
- categorized as ID_JUNK. [new]
+Thu Aug 22 16:22:48 2013 Koichi Sasada <ko1@atdot.net>
-Tue Jun 5 16:15:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * compile.c (build_postexe_iseq): fix to setup the local table.
- * variable.c (rb_mod_const_at): use hash table as internal
- data. [new]
+Thu Aug 22 15:42:43 2013 Koichi Sasada <ko1@atdot.net>
- * variable.c (rb_mod_const_of): ditto.
+ * compile.c (rb_iseq_compile_node): accept NODE_IFUNC to support
+ custom compilation.
- * variable.c (rb_const_list): new function to convert internal
- data (hash table) to array of strings.
+ * compile.c (NODE_POSTEXE): compile to
+ "ONCE{ VMFrozenCore::core#set_postexe{...} }" with a new custom
+ compiler `build_postexe_iseq()'.
- * eval.c (rb_mod_s_constants): data handling scheme has changed.
+ * vm.c (m_core_set_postexe): remove parameters (passed by a block).
-Tue Jun 5 15:16:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Aug 22 06:54:15 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_add_method): should not call rb_secure(), for
- last_func may not be set.
+ * process.c (rb_clock_gettime): Change emulation symbols for
+ Process.clock_gettime.
- * io.c (rb_io_ctl): ioctl should accept any integer within C long
- range.
+Thu Aug 22 06:24:54 2013 Tanaka Akira <akr@fsij.org>
-Tue Jun 5 13:41:13 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * process.c (make_clock_result): Extracted from rb_clock_gettime.
- * ext/etc/extconf.rb: use egrep_cpp.
+Wed Aug 21 22:30:51 2013 Tanaka Akira <akr@fsij.org>
-Tue Jun 5 12:44:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * process.c (rb_clock_gettime): clock() based CLOCK_PROCESS_CPUTIME_ID
+ emulation implemented.
- * marshal.c (r_object): wrong type check for modules.
+Wed Aug 21 21:02:37 2013 Tanaka Akira <akr@fsij.org>
- * marshal.c (w_object): should not dump anonymous classes/modules.
+ * process.c (rb_proc_times): Use RB_GC_GUARD to guard objects from GC.
-Tue Jun 5 01:19:34 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Aug 21 20:33:01 2013 Tanaka Akira <akr@fsij.org>
- * io.c (rb_open_file): use rb_file_sysopen_internal() if the 3rd
- argument (permission flags) is given. [new, should be backported?]
+ * process.c (get_clk_tck): Extracted from rb_proc_times.
+ (rb_clock_gettime): times() based CLOCK_PROCESS_CPUTIME_ID emulation
+ is implemented.
- * io.c (rb_io_mode_binmode): mode string (e.g. "r+") to flags to
- open(2).
+Wed Aug 21 19:31:48 2013 Tanaka Akira <akr@fsij.org>
-Mon Jun 4 23:55:54 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * process.c: POSIX_GETTIMEOFDAY_CLOCK_REALTIME is renamed to
+ SUS_GETTIMEOFDAY_CLOCK_REALTIME.
- * eval.c (rb_eval): NODE_REXPAND expand an array of 1 element as
- the element itself. [new, should be backported?]
+Wed Aug 21 19:17:46 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (ret_args): should treat "*[a]" in rhs expression as
- "a", not "[a]".
+ * process.c (rb_clock_gettime): CLOCK_PROCESS_CPUTIME_ID emulation
+ using getrusage is implemented.
-Mon Jun 4 04:14:53 2001 Wakou Aoyama <wakou@fsinet.or.jp>
+Wed Aug 21 17:34:27 2013 Tanaka Akira <akr@fsij.org>
- * lib/shellwords.rb: don't destroy argument.
+ * gc.c (getrusage_time): Fallback clock_gettime to getrusage when
+ clock_gettime fails.
+ Reported by Eric Saxby. [ruby-core:56762] [Bug #8805]
-Sat Jun 2 23:23:05 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Aug 21 02:32:32 2013 Koichi Sasada <ko1@atdot.net>
- * regex.c (re_compile_pattern): should push option modifier at the
- right place.
+ * insns.def: fix regexp's once option behavior.
+ fix [ruby-trunk - Bug #6701]
-Sat Jun 2 23:05:20 2001 Shugo Maeda <shugo@ruby-lang.org>
+ * insns.def: remove `onceinlinecache' and introduce `once' instruction.
+ `once' doesn't use `setinlinecache' insn any more.
- * lib/cgi/session.rb: don't use module_function for Class.
+ * vm_core.h: `union iseq_inline_storage_entry' to store once data.
-Sat Jun 2 00:02:22 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
+ * compile.c: catch up above changes.
- * irb messages: fix typos.
-
-Fri Jun 1 17:26:24 2001 K.Kosako <kosako@sofnec.co.jp>
+ * iseq.c: ditto.
- * hash.c (replace_i): ignore when key == Qundef.
+ * vm.c, vm_insnhelper.c: ditto. fix `m_core_set_postexe()' which
+ is depend on `onceinlinecache' insn.
-Fri Jun 1 16:50:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/ruby/test_regexp.rb: add tests.
- * parse.y (call_args2): confusion with list_append() and
- list_concat() was fixed.
+ * iseq.c: ISEQ_MINOR_VERSION to 1 (should increment major?)
-Fri Jun 1 15:01:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Aug 21 02:30:15 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (yylex): fixed 'print CGI::bar() {}, "\n"' syntax
- breakage, adding new lex_state status. sigh. [new]
+ * gc.c (rb_gcdebug_print_obj_condition): add printing information.
-Fri Jun 1 11:21:04 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Tue Aug 20 13:38:00 2013 Naohisa Goto <ngotogenome@gmail.com>
- * configure.in: use waitpid on mingw32.
+ * test/gdbm/test_gdbm.rb: skip TestGDBM#test_s_open_lock on Solaris.
+ On Solaris (and platforms which do not have flock and have lockf),
+ with GDBM 1.10, gdbm_open(3) blocks when opening already locked
+ gdbm file. [Bug #8790] [ruby-dev:47631]
- * ext/dbm/extconf.rb: include <ndbm.h>, not <gdbm.h>.
+Tue Aug 20 02:32:52 2013 Zachary Scott <e@zzak.io>
-Thu May 31 18:34:57 2001 K.Kosako <kosako@sofnec.co.jp>
+ * lib/test/: [DOC] Document Test::Unit, hide most submodules and
+ classes from rdoc. Since lib/test is only present as a compatibility
+ layer with the legacy test suite many test/unit users will be using
+ minitest or the test/unit gem instead. It is recommended to use one
+ of these alternatives for writing new tests.
- * file.c (rb_file_s_unlink): should not allow if $SAFE >= 2.
+ This patch was based on a patch submitted by Steve Klabnik.
+ [ruby-core:56694] [Bug #8778]
-Thu May 31 17:23:25 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Aug 20 02:10:19 2013 Zachary Scott <e@zzak.io>
- * range.c (Init_Range): define "to_ary".
+ * lib/rss/rss.rb: [DOC] Document for constants by Steve Klabnik
+ [ruby-core:56705] [Bug #8798]
-Thu May 31 13:30:25 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Tue Aug 20 02:01:10 2013 Zachary Scott <e@zzak.io>
- * mkconfig.rb, ext/configsub.rb: VERSION -> RUBY_VERSION.
+ * lib/rss/xmlparser.rb: [DOC] Hide legacy constant from rdoc
+ Patch by Steve Klabnik [ruby-core:56708] [Bug #8799]
-Thu May 31 08:00:58 2001 Usaku Nakamura <usa@osb.att.ne.jp>
+Tue Aug 20 01:52:05 2013 Zachary Scott <e@zzak.io>
- * win32/dir.h: re-add.
+ * ext/socket/unixserver.c: [DOC] Document #accept
+ * ext/socket/tcpserver.c: ditto
+ * ext/socket/udpsocket.c: [DOC] Fix indentation of documentation
+ * ext/socket/socket.c: ditto
+ Patches by David Rodr'iguez [ruby-core:56734] [Bug #8802]
-Thu May 31 01:25:59 2001 Akinori MUSHA <knu@iDaemons.org>
+Tue Aug 20 01:19:22 2013 Tanaka Akira <akr@fsij.org>
- * configure.in: default --with-libc_r to `no' until the problem is
- fixed. (FreeBSD only)
+ * configure.in: Define ac_cv_func_clock_gettime to yes for mingw*.
-Tue May 29 17:24:23 2001 K.Kosako <kosako@sofnec.co.jp>
+Mon Aug 19 21:31:35 2013 Tanaka Akira <akr@fsij.org>
- * ruby.c (proc_options): unexpected SecurityError happens when -T4.
+ * include/ruby/defines.h: Fix a compilation error with
+ i586-mingw32msvc-gcc of gcc-mingw32 package on Debian squeeze.
+ ruby/missing.h should be included before include/ruby/win32.h
+ because struct timespec, used in the clock_gettime declaration in
+ include/ruby/win32.h, is defined in ruby/missing.h instead of
+ system headers.
-Tue May 29 18:46:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Aug 19 20:55:12 2013 Koichi Sasada <ko1@atdot.net>
- * regex.c (re_compile_pattern): * \1 .. \9 should be
- backreferences always.
+ * gc.c: fix around GC_DEBUG.
- * regex.c (re_match): backreferences corresponding to
- unclosed/unmatched parentheses should fail always.
+ * gc.c (RVALUE::line): should be VALUE. On some environment
+ (such as mswin64), `int' introduces alignment mismatch.
-Tue May 29 16:35:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (newobj_of): add an assertion to check VALUE alignment.
- * string.c (rb_str_cat): use rb_str_buf_cat() if possible. [new]
+ * gc.c (aligned_malloc): `&' is low priority than `=='.
- * string.c (rb_str_append): ditto.
+ * gc.c: define GC_DEBUG everytime and use it as value 0 or 1.
- * string.c (rb_str_buf_cat): remove unnecessary check (type,
- taint, modify) to gain performance.
+Mon Aug 19 17:43:44 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (rb_str_buf_append): ditto.
+ * test/ruby/test_fiber.rb: collect garbage fibers immediately.
- * string.c (rb_str_buf_finish): removed.
+Mon Aug 19 17:41:49 2013 Koichi Sasada <ko1@atdot.net>
-Tue May 29 02:05:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/profile_test_all.rb: add `failed?' information.
- * string.c (rb_str_buf_new): buffering string function. [new]
+Mon Aug 19 17:00:53 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (rb_str_buf_append): ditto.
+ * process.c (retry_fork): retry with GC if ENOMEM occurred, to free
+ swap/kernel space.
- * string.c (rb_str_buf_cat): ditto.
+Mon Aug 19 13:28:47 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * string.c (rb_str_buf_finish): ditto.
+ * include/ruby/win32.h (CLOCK_MONOTONIC): typo.
-Mon May 28 23:20:43 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * win32/win32.c: removed duplicated declarations.
- * configure.in: remove unnecessary AC_CANONICAL_BUILD
+Mon Aug 19 13:03:08 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * defins.h: #define HAVE_SETITIMER on Cygwin(bug fixed).
+ * configure.in (clock_gettime): should not overwrite cache variable
+ with different condition. otherwise -lrt is not linked and the link
+ fails, after reconfig.
- * ruby.c: use relative path from LIBRUBY_SO.
+Mon Aug 19 12:56:49 2013 Tanaka Akira <akr@fsij.org>
- * ruby.c: don't use -mwin32 option on Cygwin.
+ * process.c (Init_process): Add constants: CLOCK_REALTIME_ALARM and
+ CLOCK_BOOTTIME_ALARM.
- * cygwin/GNUmakefile.in: ditto.
+Sun Aug 18 20:17:41 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * ext/sdbm/_sdbm: ditto.
+ * variable.c, vm_method.c: remove dead code.
- * ext/tcltklib/extconf.rb: ditto.
+ * test/ruby/test_fiber.rb, test/ruby/test_thread.rb:
+ change accordingly.
- * ext/tcltklib/stubs.c: ditto.
+Sun Aug 18 19:32:26 2013 Kazuki Tsujimoto <kazuki@callcc.net>
-Mon May 28 22:12:01 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * error.c, file.c, gc.c, hash.c, thread.c, variable.c, vm_eval.c, bin/erb:
+ $SAFE=4 is obsolete.
- * ext/extconf.rb.in: make the priority of the make rule of .c
- higher than .C .
+Sun Aug 18 14:30:47 2013 Tanaka Akira <akr@fsij.org>
-Mon May 28 13:22:19 2001 Tanaka Akira <akr@m17n.org>
+ * process.c (rb_clock_gettime): Rename POSIX_TIME_CLOCK_REALTIME to
+ ISO_C_TIME_CLOCK_REALTIME.
- * time.c (make_time_t): local time adjustment revised.
+Sun Aug 18 14:22:45 2013 Tanaka Akira <akr@fsij.org>
-Mon May 28 02:20:38 2001 Akinori MUSHA <knu@iDaemons.org>
+ * configure.in: Revert r42604. It causes linking librt on systems
+ with newer glibc uselessly.
- * dir.c (glob_helper): teach has_magic() to handle flags and get
- glob_helper to properly support FNM_NOESCAPE.
+Sun Aug 18 13:18:38 2013 Tanaka Akira <akr@fsij.org>
- * dir.c (fnmatch): fix a bug when FNM_PATHNAME and FNM_PERIOD are
- specified at the same time.
+ * process.c (Init_process): Add constants: CLOCK_REALTIME_COARSE,
+ CLOCK_MONOTONIC_COARSE and CLOCK_BOOTTIME.
-Sat May 26 09:55:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Aug 18 12:41:50 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y: accomplish extended syntax described in [ruby-talk:14525]
- using tSPC token. [new, experimental]
+ * configure.in (clock_gettime): need to check with -lrt prior to check
+ for the function only. otherwise -lrt is not linked and the link
+ fails, when ac_cv_func_clock_gettime is cached as yes.
-Sat May 26 07:05:45 2001 Usaku Nakamura <usa@osb.att.ne.jp>
+Sun Aug 18 10:05:12 2013 Tanaka Akira <akr@fsij.org>
- * MANIFEST: add win32/dir.h .
+ * bignum.c (rb_big2str1): Make an expression more explicit.
-Fri May 25 20:03:51 2001 Pascal Rigaux <pixel@mandrakesoft.com>
+Sun Aug 18 03:18:45 2013 Tanaka Akira <akr@fsij.org>
- * dln.c (dln_find_1): should exclude directories in executable
- file lookup.
+ * bignum.c (rb_big2str1): Use power_level instead of bitsize(xn).
-Fri May 25 18:00:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Aug 18 00:44:58 2013 Tanaka Akira <akr@fsij.org>
- * class.c (rb_obj_singleton_methods): list methods in extended
- modules if optional argument is true. [new]
+ * bignum.c (BIGDIVREM_EXTRA_WORDS): Redefine to 1.
+ (bigdivrem_num_extra_words): Removed.
+ (bigdivrem_normal): Simplified.
+ (big2str_karatsuba): Ditto.
-Fri May 25 14:19:25 2001 K.Kosako <kosako@sofnec.co.jp>
+Sat Aug 17 23:25:19 2013 Benoit Daloze <eregontp@gmail.com>
- * string.c (rb_str_replace): add taint status infection
- (OBJ_INFECT()).
+ * test/ruby/test_time.rb: use the in_timezone() helper
+ and define it at the top with other helpers.
- * string.c (rb_str_crypt): ditto.
+Sat Aug 17 22:20:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (rb_str_ljust): ditto.
+ * time.c (time_mload): ignore auxiliary data, offset and zone, if
+ invalid. [ruby-core:56648] [Bug #8795]
- * string.c (rb_str_rjust): ditto.
+Sat Aug 17 20:11:49 2013 Benoit Daloze <eregontp@gmail.com>
- * string.c (rb_str_center): ditto.
+ * process.c: [DOC] MACH_ABSOLUTE_TIME_CLOCK_MONOTONIC is an
+ available emulation for a monotonic clock on Darwin.
+ https://developer.apple.com/library/mac/qa/qa1398/_index.html
-Fri May 25 05:39:03 2001 Akinori MUSHA <knu@iDaemons.org>
+Fri Aug 16 18:12:05 2013 Koichi Sasada <ko1@atdot.net>
- * ext/sha1/sha1-ruby.c (sha1_hexdigest): fix buffer overflow. The
- buffer for a SHA-1 hexdigest needs to be 41 bytes in length.
+ * test/profile_test_all.rb: fix typo.
-Fri May 25 01:47:39 2001 Akinori MUSHA <knu@iDaemons.org>
+Fri Aug 16 18:09:20 2013 Koichi Sasada <ko1@atdot.net>
- * MANIFEST: update the entries I forgot to add or remove.
+ * test/profile_test_all.rb: remove space characters from test names.
-Fri May 25 00:57:25 2001 Akinori MUSHA <knu@iDaemons.org>
+Fri Aug 16 17:32:02 2013 Koichi Sasada <ko1@atdot.net>
- * ext/sha1/sha1-ruby.c (sha1_new): separate initialize() from
- new().
+ * test/profile_test_all.rb: refactoring memory profiling tool for
+ test-all.
+ Add profiling targets /proc/meminfo and /proc/self/status.
- * ext/md5/md5init.c (md5i_new): ditto.
+ * test/runner.rb: accept other than 'true'.
-Fri May 25 00:53:41 2001 Akinori MUSHA <knu@iDaemons.org>
+Fri Aug 16 11:23:35 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * ext/dbm/extconf.rb: fix support for *BSD and set $CFLAGS
- properly.
+ * file.c (rb_file_size, rb_file_flock): improve performance of Windows.
-Thu May 24 16:10:33 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * file.c (rb_file_truncate): removed unnecessary #ifdef.
- * range.c (range_member): check based on "<=>" comparison. [new]
+ * test/test_file.rb (TestFile#test_truncate_size): added an assertion
+ for File#size.
- * range.c (range_check): add "succ" check if first end is not a
- numeric.
+Fri Aug 16 10:07:59 2013 Tanaka Akira <akr@fsij.org>
- * range.c (range_eqq): comparison should based on "<=>".
+ * bignum.c (bigdivrem_single1): Renamed from bigdivrem_single. Add
+ x_higher_bdigit argument.
+ (bigdivrem_single): Just call bigdivrem_single1.
+ (bigdivrem_restoring): Use bigdivrem_single1 to avoid memmove.
- * range.c (range_each): ditto.
+Fri Aug 16 09:17:00 2013 Tanaka Akira <akr@fsij.org>
-Thu May 24 16:08:21 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * bignum.c (bary_small_rshift): Specify the higher BDIGIT instead of
+ sign bit.
+ (big_shift3): Follow the above change.
- * mkconfig.rb: autoconf 2.50 support.
+Fri Aug 16 02:20:39 2013 Tanaka Akira <akr@fsij.org>
-Thu May 24 14:23:35 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (bary_mul_toom3): Reduce a branch.
- * eval.c (rb_yield_0): need argument adjustment for C defined
- blocks too.
+Fri Aug 16 02:14:09 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Thu May 24 01:11:30 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * process.c (rb_clock_gettime): add CLOCK_MONOTONIC support on OS X.
+ http://developer.apple.com/library/mac/qa/qa1398/_index.html
+ [Feature #8658]
- * ext/dbm/extconf.rb: header search added. [new]
+Fri Aug 16 01:37:43 2013 Tanaka Akira <akr@fsij.org>
-Wed May 23 02:58:21 2001 Tanaka Akira <akr@m17n.org>
+ * bignum.c (bigdivrem_single): Use shift when y is a power of two.
- * time.c (make_time_t): fix ad-hoc local time adjustment, using
- binary tree search.
+Fri Aug 16 01:09:33 2013 Tanaka Akira <akr@fsij.org>
-Tue May 22 17:10:35 2001 K.Kosako <kosako@sofnec.co.jp>
+ * bignum.c (bigdivrem_restoring): Use bigdivrem_single if non-topmost
+ BDIGITs of y are zero.
- * variable.c (rb_alias_variable): should not allow variable
- aliasing if $SAFE >= 4.
+Fri Aug 16 00:33:12 2013 Tanaka Akira <akr@fsij.org>
-Tue May 22 02:37:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (rb_big2str1): Truncate topmost zeros of x.
- * parse.y (expr): "break" and "next" to take optional expression,
- which is used as a value for termination. [new, experimental]
+Fri Aug 16 00:00:57 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_eval): "break" can give value to terminating method.
+ * bignum.c (bary_divmod): Simplify an expression.
- * eval.c (rb_eval): "break" and "next" to take optional expression.
+Thu Aug 15 23:26:12 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_yield_0): "next" can give value to terminating "yield".
+ * bignum.c (bigdivrem_normal): Remove a local variable.
- * eval.c (rb_iterate): "break" can give value to terminating method.
+Thu Aug 15 23:08:32 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (proc_call): ditto.
+ * bignum.c (big2str_karatsuba): Use bigdivrem_restoring directly to
+ reduce working buffer and memory copy.
+ (rb_big2str1): Allocate working buffer for big2str_karatsuba here.
-Mon May 21 13:15:25 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Aug 15 20:51:29 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * bignum.c (rb_big2str): t should be protected from GC.
+ * io.c, internal.h (rb_io_flush_raw): new function to select calling
+ fsync() (on Windows).
-Sat May 19 09:29:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * io.c (rb_io_flush_raw): use above function.
- * process.c (rb_proc_times): need not to check return value from
- times(2).
+ * file.c (rb_file_truncate): use above function.
-Fri May 18 05:36:08 2001 Akinori MUSHA <knu@iDaemons.org>
+ * test/ruby/test_file.rb (TestFile#test_truncate_size): test for
+ above changes.
- * ext/extmk.rb.in (xsystem): backout the previous fix which was
- bogus.
+Thu Aug 15 18:39:31 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Fri May 18 05:19:55 2001 Akinori MUSHA <knu@iDaemons.org>
+ * win32/win32.c (clock_gettime): improve precision when freq is less
+ than and nearly equals 10**9.
- * lib/mkmf.rb (xsystem): make a temporary fix to get $(...) macros
- properly expanded on a command execution.
+Thu Aug 15 17:43:15 2013 Koichi Sasada <ko1@atdot.net>
- * ext/extmk.rb.in (xsystem): ditto.
+ * gc.c (gc_lazy_sweep): remove heap_increment() here because heap_inc
+ may be 0.
-Fri May 18 03:45:55 2001 Brian F. Feldman <green@FreeBSD.org>
+Thu Aug 15 16:59:56 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * lib/mkmf.rb: unbreak "make install". lib/* must be installed
- under $rubylibdir, not under $libdir.
+ * io.c (rb_io_rewind): remove fsync() for Windows to improve the
+ performance.
-Fri May 18 01:28:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Aug 15 16:30:23 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * parse.y (expr): break, next, redo, retry are moved from primary.
+ * test/fileutils/test_fileutils.rb (TestFileUtils#test_rmdir):
+ FileUtils.rmdir ignores Errno::ENOTEMPTY, so, in such cases, this
+ assertion is nonsense.
-Fri May 18 01:11:02 2001 Usaku Nakamura <usa@osb.att.ne.jp>
+Thu Aug 15 15:49:35 2013 Tanaka Akira <akr@fsij.org>
- * ext/sha1/sha1-ruby.c (sha1_new): get rid of an unneeded
- rb_obj_call_init() call.
+ * process.c (rb_clock_gettime): [DOC] FreeBSD 7.1 supports
+ CLOCK_THREAD_CPUTIME_ID.
+ http://www.freebsd.org/releases/7.1R/relnotes.html
-Fri May 18 01:03:55 2001 Usaku Nakamura <usa@osb.att.ne.jp>
+Thu Aug 15 14:30:23 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * ext/sha1/sha1.txt, ext/sha1/sha1.txt.jp: fix typos.
+ * include/ruby/win32.h, win32/Makefile.sub, win32/win32.c
+ (clock_gettime): [experimental] emulates clock_gettime(2) of posix.
-Thu May 17 19:17:11 2001 Akinori MUSHA <knu@iDaemons.org>
+Thu Aug 15 02:32:40 2013 Zachary Scott <e@zzak.io>
- * lib/shell.rb, lib/shell/process-controller.rb,
- lib/shell/command-processor.rb: translate Japanese comments into
- English.
+ * hash.c (rb_hash_aset): [DOC] Document key dup patch by @kachick
+ [Fixes GH-382] https://github.com/ruby/ruby/pull/382
-Thu May 17 19:07:14 2001 Akinori MUSHA <knu@iDaemons.org>
+Wed Aug 14 14:28:39 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * doc/shell.rd.jp: RD'ify and make some fixes.
+ * proc.c (rb_mod_define_method): now they return the symbols of the
+ defined methods, not the methods/procs themselves.
+ [ruby-dev:42151] [Feature #3753]
- * doc/shell.rd: RD'ify, delete Japanese leftovers, make overall
- English fixes, and sync with doc/shell.rd.jp.
+ * NEWS: documents about above change and def-expr (see r42337).
-Thu May 17 17:35:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/ruby/test_module.rb: tests about above change.
- * eval.c (rb_call0): address of local_vars might change during eval.
+Wed Aug 14 00:51:14 2013 Tanaka Akira <akr@fsij.org>
-Thu May 17 07:27:09 2001 Akinori MUSHA <knu@iDaemons.org>
+ * bignum.c (bigdivrem_restoring): xn argument removed.
+ (bigdivrem_normal): Follow the above change.
- * ext/md5/md5.txt.jp, ext/sha1/sha1.txt.jp:
- s/SuperClass/Superclass/.
+Wed Aug 14 00:18:39 2013 Tanaka Akira <akr@fsij.org>
-Thu May 17 07:21:44 2001 Akinori MUSHA <knu@iDaemons.org>
+ * bignum.c (big_div_struct): Remove xn and j field. Add zn field.
+ (bigdivrem1): Follow the above change.
+ (bigdivrem_restoring): Ditto.
- * ext/Setup.dj, ext/Setup.emx, ext/Setup.nt, ext/Setup.x68:
- compile sha1 in as well as md5.
+Tue Aug 13 23:38:17 2013 Tanaka Akira <akr@fsij.org>
- * ext/Setup: put sha1 in a comment.
+ * bignum.c (big_div_struct): ynzero field removed.
+ (bigdivrem1): Follow the above change.
+ (bigdivrem_restoring): Ditto.
-Thu May 17 07:16:38 2001 Akinori MUSHA <knu@iDaemons.org>
+Tue Aug 13 23:01:16 2013 Tanaka Akira <akr@fsij.org>
- * ext/sha1/sha1.txt.jp: add the Japanese version derived from
- ext/md5/md5.txt.jp.
+ * bignum.c (bigdivrem_restoring): Extracted from bigdivrem_normal.
- * ext/sha1/sha1.txt: revise the copyright info and reduce the
- difference from ext/md5/md5.txt.
+Tue Aug 13 22:12:59 2013 Kenichi Kamiya <kachick1@gmail.com>
- * ext/md5/md5.txt: reduce the difference from ext/sha1/sha1.txt.
+ * random.c (rb_random_ulong_limited): coerce before check negative.
+ [Fixes GH-379]
-Thu May 17 07:11:35 2001 Akinori MUSHA <knu@iDaemons.org>
+Tue Aug 13 21:52:15 2013 Kenichi Kamiya <kachick1@gmail.com>
- * ext/sha1/extconf.rb, ext/sha1/sha1.c: use WORDS_BIGENDIAN to
- detect the platform's endian.
+ * object.c (Init_Object): undef Module#prepend_features on Class, as
+ well as Module#append_features. [Fixes GH-376]
-Thu May 17 06:31:30 2001 Akinori MUSHA <knu@iDaemons.org>
+ * test_class.rb: Added test for above. And ensure type checking
+ on similar methods as module_function.
- * ext/md5/md5.txt: make wording fixes, and mention the newly added
- method: "<<".
+Tue Aug 13 08:52:18 2013 Zachary Scott <e@zzak.io>
- * ext/md5/md5.txt.jp: ditto.
+ * doc/syntax/literals.rdoc: [DOC] String literal concat by @cknadler
+ [Fixes GH-380] https://github.com/ruby/ruby/pull/380
-Wed May 16 18:05:52 2001 Akinori MUSHA <knu@iDaemons.org>
+Mon Aug 12 23:07:21 2013 Masaya Tarui <tarui@ruby-lang.org>
- * ext/md5/md5init.c: add an instance method "<<" as an alias for
- "update". (inspired by Steve Coltrin's ruby-sha1)
+ * gc.c (gc_marks_test): inhibit gc for st's operation.
-Tue May 15 17:46:37 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Aug 12 15:59:50 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_and): should not push frozen key string.
+ * parse.y (parser_whole_match_p): treat CR in middle of a line as a
+ mere whitespace.
- * array.c (rb_ary_or): ditto.
+Mon Aug 12 15:16:58 2013 Koichi Sasada <ko1@atdot.net>
-Tue May 15 02:18:23 2001 Akinori MUSHA <knu@iDaemons.org>
+ * class.c (rb_prepend_module): make T_ICLASS object shady because
+ this T_ICLASS object seems to share method table with other class
+ objects. It was causes WB miss.
+ TODO: need to know the data structure.
- * lib/thread.rb: rescue ThreadError in case the thread is dead
- just before calling Thread#run.
+ * test/ruby/test_module.rb: add a test for WB miss.
-Mon May 14 13:50:22 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Aug 12 13:47:54 2013 Zachary Scott <e@zzak.io>
- * eval.c (rb_thread_schedule): should save context before raising
- deadlock, saved context for current thread might be obsolete.
+ * process.c: [DOC] RDoc formatting of Process.clock_gettime
- * time.c (make_time_t): non DST timezone shift supported (hopefully).
+Mon Aug 12 13:29:09 2013 Zachary Scott <e@zzak.io>
- * time.c (make_time_t): strict range detection for negative time_t.
+ * lib/yaml/dbm.rb: [DOC] Document call-seq for YAML::DBM
-Mon May 14 11:54:20 2001 Tanaka Akira <akr@m17n.org>
+Mon Aug 12 12:57:26 2013 Zachary Scott <e@zzak.io>
- * signal.c: SIGINFO added.
+ * ext/dbm/extconf.rb: [DOC] Hide from RDoc
+ Some libraries might want to document extconf.rb so RDoc treats it
+ like any other ruby program. However, DBM users shouldn't care about
+ these methods.
-Mon May 14 08:57:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Aug 12 12:53:39 2013 Zachary Scott <e@zzak.io>
- * eval.c (rb_ensure): should not SEGV when prot_tag is NULL.
+ * ext/dbm/dbm.c: [DOC] Reformat headings of DBM class
-Sun May 13 23:51:14 2001 Usaku Nakamura <usa@osb.att.ne.jp>
+Mon Aug 12 12:46:31 2013 Zachary Scott <e@zzak.io>
- * win32/resource.rb: Modify copyright in resource script.
+ * lib/yaml.rb, lib/yaml/: [DOC] Document YAML::DBM#key and add
+ references to similar methods with more detail. This patch brings
+ lib/yaml to 100% documentation coverage.
-Sun May 13 14:03:33 2001 Okada Jun <yun@be-in.org>
+Mon Aug 12 02:51:32 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * lib/thread.rb: fix Queue#pop and SizedQueue#max= to avoid
- deadlock.
+ * ext/readline/readline.c (readline_s_set_input): on OS X with editline,
+ Readline.readline doesn't work because readline_get doesn't use
+ rl_getc. The difference is introduced by r42402 [ruby-dev:47509]
+ [Bug #8644]. Before it rb_io_stdio_file set ifp->stdio_file.
+ Therefore add manually setting the value.
-Sat May 12 15:43:55 2001 Usaku Nakamura <usa@osb.att.ne.jp>
+ * ext/readline/readline.c (readline_s_set_output): ditto.
- * win32/win32.c (kill): add support of signal 9 on mswin32/mingw32.
+Sun Aug 11 23:27:00 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri May 11 15:09:52 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * file.c (rb_str_encode_ospath): OS path encoding on Mac OS X is also
+ fixed.
- * ruby.h (rb_string_value): add volatile to avoid compiler warning.
+Sun Aug 11 22:57:24 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (rb_string_value): ditto.
+ * test/ruby/test_require.rb (assert_require_nonascii_path): OS path
+ encoding on Windows is fixed, so encoding of __FILE__ should be it.
+ [ruby-core:56498] [Bug #8764]
-Fri May 11 03:35:33 2001 Akinori MUSHA <knu@iDaemons.org>
+Sun Aug 11 19:11:45 2013 Kouhei Sutou <kou@cozmixng.org>
- * README.EXT: Document find_library(), with_config() and
- dir_config().
+ * test/rexml/parser/test_sax2.rb: Expand abbreviated class name.
-Fri May 11 03:34:20 2001 Akinori MUSHA <knu@iDaemons.org>
+Sun Aug 11 19:06:03 2013 Kouhei Sutou <kou@cozmixng.org>
- * README.EXT.jp: Remove the description of find_header() because
- such a function does not actually exist.
-
- * README.EXT.jp: Update the description of dir_config().
+ * lib/rexml/sax2listener.rb (REXML::SAX2Listener#notationdecl): Fix
+ wrong number of arguments in the template listener.
+ [Bug #8731] [ruby-dev:47582]
+ Reported by Ippei Obayashi.
+ * test/rexml/parser/test_sax2.rb: Add tests for parsing notation
+ declarations with SAX2 API.
-Fri May 11 02:42:05 2001 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
+Sun Aug 11 18:44:04 2013 Kouhei Sutou <kou@cozmixng.org>
- * README, README.jp: Fix CVS access and mailing lists info.
+ * lib/rexml/sax2listener.rb (REXML::SAX2Listener#elementdecl): Fix wrong
+ examples. [Bug #8731] [ruby-dev:47582]
+ Reported by Ippei Obayashi.
-Fri May 11 02:00:44 2001 Ryo HAYASAKA <ryoh@jaist.ac.jp>
+Sun Aug 11 18:42:13 2013 Kouhei Sutou <kou@cozmixng.org>
- * bignum.c (bigdivrem): access boundary bug.
+ * lib/rexml/parsers/sax2parser.rb
+ (REXML::Parsers::SAX2Parser#handle_entitydecl): Extract.
-Thu May 10 02:40:47 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Aug 11 18:40:25 2013 Kouhei Sutou <kou@cozmixng.org>
- * marshal.c (w_object): prohibit dumping out singleton classes.
+ * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):
+ Fix wrong "%" position in parameter entity declaration event argument.
+ * test/rexml/parser/test_sax2.rb: Add tests for the above case.
- * object.c (rb_mod_to_s): distinguish singleton classes.
+Sun Aug 11 18:08:40 2013 Kouhei Sutou <kou@cozmixng.org>
- * variable.c (rb_class2name): it's ok to reveal NilClass,
- TrueClass, FalseClass.
+ * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):
+ Support NDATA in external ID entity declaration.
+ * test/rexml/parser/test_sax2.rb: Add tests for the above case.
-Wed May 9 14:38:33 2001 K.Kosako <kosako@sofnec.co.jp>
+Sun Aug 11 18:07:39 2013 Kouhei Sutou <kou@cozmixng.org>
- * eval.c (rb_yield_0): preserve and restore ruby_cref as well.
+ * lib/rexml/parsers/baseparser.rb
+ (REXML::Parsers::BaseParser#pull_event): Support optional NDATA
+ in external ID entity declaration.
-Tue May 8 18:28:19 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
+Sun Aug 11 17:54:07 2013 Kouhei Sutou <kou@cozmixng.org>
- * lib/irb.rb lib/irb/multi-irb.rb lib/irb/ruby-lex.rb
- lib/irb/version.rb resolve ctrl-c problem
+ * NEWS (REXML::Parsers::SAX2Parser): Add about this change.
+ * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):
+ Fix wrong number of arguments. Document says "an array of the
+ entity declaration" but it passes two or more arguments.
+ This is a bug but it break backward compatibility.
+ Reported by Ippei Obayashi. [Bug #8731] [ruby-dev:47582]
+ * lib/rexml/sax2listener.rb (REXML::SAX2Listener#entitydecl): ditto.
+ The listener template accepted two arguments.
+ * test/rexml/parser/test_sax2.rb: Add tests for external ID case.
-Tue May 8 17:12:43 2001 K.Kosako <kosako@sofnec.co.jp>
+Sun Aug 11 17:41:41 2013 Kouhei Sutou <kou@cozmixng.org>
- * eval.c (is_defined): core dumped during instance_eval for
- special constants.
+ * test/rexml/parser/test_sax2.rb: Add SAX2 API test.
- * eval.c (rb_eval): ditto.
+Sun Aug 11 15:10:40 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue May 8 08:52:57 2001 Akinori MUSHA <knu@iDaemons.org>
+ * parse.y (rb_enc_symname_type): allow ID_ATTRSET for ID_INSTANCE,
+ ID_GLOBAL, ID_CLASS, ID_JUNK too. [Bug #8756]
- * doc/forwardable.rd, doc/forwardable.rd.jp: Hit `=begin' and
- `=end' in proper places so rd2 can format them without a problem.
+Sun Aug 11 13:17:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * doc/irb/irb-tools.rd.jp, doc/irb/irb.rd, doc/irb/irb.rd.jp:
- ditto.
+ * include/ruby/encoding.h: Reduce ENCODING_INLINE_MAX to 127 as this
+ should be sufficient to represent all the encodings Ruby supports.
-Tue May 8 08:38:53 2001 Akinori MUSHA <knu@iDaemons.org>
+Sun Aug 11 11:54:38 2013 Tanaka Akira <akr@fsij.org>
- * doc/forwardable.rd, doc/forwardable.rd.jp, lib/forwardable.rb:
- Import forwardable 1.1.
+ * process.c (rb_clock_gettime): New method.
+ This is accepted in the meeting:
+ https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130809
+ This method is accepted as a CRuby feature.
+ I.e. Other Ruby implementations don't need to implement it.
+ [ruby-core:56087] [Feature #8658]
-Tue May 8 08:34:33 2001 Akinori MUSHA <knu@iDaemons.org>
+Sun Aug 11 10:40:48 2013 Zachary Scott <e@zzak.io>
- * doc/irb/irb-tools.rd.jp, doc/irb/irb.rd.jp: Convert from JIS to
- EUC.
+ * lib/time.rb: [DOC] Correcting rdoc visibility of time.rb constants
+ Reported by Tanaka Akira [ruby-core:56517]
-Tue May 8 03:46:39 2001 Akinori MUSHA <knu@iDaemons.org>
+Sun Aug 11 04:48:14 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * sample/rbc.rb: Obsoleted by IRB.
+ * file.c (rb_str_normalize_ospath):
+ HFS Plus (Mac OS Extended) uses a variant of Normal Form D in which
+ U+2000 through U+2FFF, U+F900 through U+FAFF, and U+2F800 through
+ U+2FAFF are not decomposed (this avoids problems with round trip
+ conversions from old Mac text encodings).
+ http://developer.apple.com/library/mac/qa/qa1173/_index.html
+ Therefore fix r42457 to exclude the range.
-Mon May 7 15:58:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Aug 11 03:26:07 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (arg): "||=" should not warn for uninitialized instance
- variables.
+ * bignum.c (bitsize): Fix a conditional expression.
- * eval.c (rb_eval): ditto.
+Sun Aug 11 02:44:03 2013 Zachary Scott <e@zzak.io>
- * eval.c (eval): preserve and restore ruby_cref as well.
+ * lib/time.rb: [DOC] Document constants by @markijbema [Fixes GH-377]
+ https://github.com/ruby/ruby/pull/377
-Mon May 7 15:45:48 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Sun Aug 11 01:28:52 2013 Tanaka Akira <akr@fsij.org>
- * lib/ftools.rb (syscopy): chmod destination file only if
- it does not exist.
+ * configure.in: Revert r42458.
+ It removes the HAVE_CLOCK_GETTIME from config.h.
+ http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130809T044800Z.diff.html.gz
-Mon May 7 14:35:57 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Aug 10 13:53:22 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * object.c (rb_obj_is_instance_of): takes only class/module as an
- argument.
+ * parse.y (rb_id_attrset): allow other than ID_ATTRSET.
-Sun May 6 16:27:29 2001 Koji Arai <JCA02266@nifty.ne.jp>
+ * parse.y (intern_str): ditto. try stem ID for ID_INSTANCE,
+ ID_GLOBAL, ID_CLASS, ID_JUNK too. [Bug #8756]
- * eval.c (is_defined): rb_reg_nth_defined() may return Qnil.
+Sat Aug 10 12:49:50 2013 Kouhei Sutou <kou@cozmixng.org>
-Thu May 3 03:15:06 2001 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
+ * lib/rexml/parsers/baseparser.rb
+ (REXML::Parsers::BaseParser::CDATA_END): Use "\A" instead of "^".
+ It is not an used constant but I fix it. (Or should I remove it?)
- * configure.in: get --enable-shared to work on MacOS X.
+Sat Aug 10 12:47:19 2013 Kouhei Sutou <kou@cozmixng.org>
- * Makefile.in: make $(LIBRUBY_SO) depend on miniruby properly.
- Now `make -jN' should work without a problem.
+ * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser):
+ Fix wrong constant name. "]>" pattern match is the same but
+ it is used for "<!DOCTYPE" end mark not "<![CDATA[" end mark.
-Thu May 3 02:07:45 2001 Usaku Nakamura <usa@osb.att.ne.jp>
+Sat Aug 10 12:43:15 2013 Kouhei Sutou <kou@cozmixng.org>
- * win32/config.h.in: add SIZEOF___INT64 definition.
+ * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser):
+ Use "\A" instead of "^" in document type declaration patterns
+ because they are used as the head match in content not the head
+ match in line. They don't cause any problems in the current code
+ but it should be fixed.
-Wed May 2 20:39:35 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Sat Aug 10 12:39:00 2013 Kouhei Sutou <kou@cozmixng.org>
- * dir.c (rb_glob, rb_globi): remove unnecessary FNM_PATHNAME.
+ * test/rexml/parse/test_document_type_declaration.rb: Add tests for
+ parsing document type declaration.
-Wed May 2 11:46:13 2001 K.Kosako <kosako@sofnec.co.jp>
+Sat Aug 10 12:00:45 2013 Kouhei Sutou <kou@cozmixng.org>
- * eval.c (block_pass): should not downgrade safe level.
+ * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::SYSTEM):
+ Fix loose "head" match regular expression. It doesn't cause any
+ problem in the current code but it should be fixed because readers
+ may confuse it.
+ Patch by Ippei Obayashi. Thanks!!!
-Wed May 2 03:07:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Aug 10 11:58:24 2013 Kouhei Sutou <kou@cozmixng.org>
- * ext/dbm/extconf.rb: allow specifying dbm-type explicitly.
+ * test/rexml/parse/test_notation_declaration.rb (#test_system_public):
+ Add a test for PUBLIC notation and SYSTEM notation order case.
- * ext/dbm/extconf.rb: avoid gdbm if possible, because it leaks
- memory, whereas gdbm.so doesn't. potential incompatibility.
+Sat Aug 10 11:31:35 2013 Kouhei Sutou <kou@cozmixng.org>
-Wed May 2 02:02:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::PUBLIC):
+ Fix loose "head" match regular expression.
+ [Bug #8701] [ruby-dev:47551]
+ Patch by Ippei Obayashi. Thanks!!!
+ * test/rexml/parse/test_notation_declaration.rb (#test_system_public):
+ Add a test for the above case.
- * string.c (rb_str_insert): new method.
+Sat Aug 10 09:20:21 2013 Zachary Scott <e@zzak.io>
-Tue May 1 17:55:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * NEWS: [DOC] typo in example reported by @moretea
+ https://github.com/ruby/ruby/commit/a39e724#commitcomment-3831489
- * parse.y (yylex): lex_state after RESCUE_MOD should be EXPR_BEG.
+Sat Aug 10 09:19:04 2013 Zachary Scott <e@zzak.io>
-Tue May 1 16:23:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * proc.c: [DOC] rdoc code formatting
- * array.c (rb_ary_insert): new method.
+Sat Aug 10 09:12:01 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_update): new utility function.
+ * parse.y (rb_id_attrset): check if the argument is valid type as an
+ attribute.
-Tue May 1 03:24:05 2001 Akinori MUSHA <knu@iDaemons.org>
+Sat Aug 10 05:44:08 2013 Zachary Scott <e@zzak.io>
- * lib/irb/completion.rb, lib/irb/frame.rb, lib/irb/xmp.rb,
- doc/irb/irb-tools.rd.jp: Merge from irb-tools 0.7.1.
+ * lib/rss/trackback.rb: [DOC] Hide RSS::Trackback from rdoc
+ Patch by Steve Klabnik [Bug #8755] [ruby-core:56456]
-Tue May 1 03:07:17 2001 Akinori MUSHA <knu@iDaemons.org>
+Sat Aug 10 04:52:21 2013 Tanaka Akira <akr@fsij.org>
- * sample/irb.rb, lib/irb.rb, lib/irb/*, doc/irb/*: Merge from irb
- 0.7.3.
+ * bignum.c (big_div_struct): Use size_t.
+ (bigdivrem1): Ditto.
+ (bigdivrem_num_extra_words): Ditto.
+ (bigdivrem_single): Ditto.
+ (bigdivrem_normal): Ditto.
+ (bary_divmod): Ditto.
- * instruby.rb: Install help-message's too.
+Fri Aug 9 23:47:15 2013 Kouhei Sutou <kou@cozmixng.org>
- * lib/irb/main.rb: This file is not needed anymore.
+ * lib/rss/rexmlparser.rb: Remove needless REXML version check.
+ Both RSS Parser and REXML are bundled in Ruby. RSS Parser can
+ always use the latest REXML. [Bug #8754] [ruby-core:56454]
+ Patch by Steve Klabnik. Thanks!!!
-Fri Apr 27 09:27:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Aug 9 22:51:10 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (set_outfile): should check if closed before assignment.
+ * configure.in (XLDFLAGS, LIBRUBYARG_STATIC): CoreFoundation framework
+ option is now needed always, regardless enable-shared.
+ [ruby-core:56467] [Bug #8759]
-Thu Apr 26 22:36:11 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Fri Aug 9 22:20:51 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * configure.in: don't use tzname on Cygwin 1.3.1+.
+ * ruby.c (load_file_internal): use rb_parser_compile_string_path and
+ rb_parser_compile_file_path, String path name versions. [Bug #8753]
- * configure.in: add -mieee/-ieee to CFLAGS on OSF1/Alpha
- to disable "DIVISION BY ZERO" exception.
+Fri Aug 9 07:16:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Thu Apr 26 22:30:43 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/io/console/console.c: delete redefinition of rb_cloexec_open.
+ drop support for 1.8 and 1.9 from the next release of io-console gem.
- * eval.c (rb_eval): should preserve value of ruby_errinfo.
+Fri Aug 9 19:13:54 2013 Koichi Sasada <ko1@atdot.net>
-Thu Apr 26 10:36:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * NEWS: update about new methods for Binding.
- * eval.c (rb_thread_schedule): infinite sleep should not cause
- dead lock.
+Fri Aug 9 18:48:09 2013 Koichi Sasada <ko1@atdot.net>
-Wed Apr 25 16:40:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * proc.c: add Binding#local_variable_get/set/defined?
+ to access local variables which a binding contains.
+ Most part of implementation by nobu.
- * array.c (rb_ary_flatten_bang): proper recursive detection.
+ * test/ruby/test_proc.rb: add a tests for above.
-Wed Apr 25 15:36:15 2001 K.Kosako <kosako@sofnec.co.jp>
+ * vm.c, vm_core.h (rb_binding_add_dynavars): add a new function
+ to add a new environment to create space for new local variables.
- * eval.c (yield_under): need not to prohibit at safe level 4.
+Fri Aug 9 14:02:01 2013 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
-Wed Apr 25 15:22:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * tool/make-snapshot: Fix order of priority for option parameter.
- * pack.c (pack_pack): p/P packs nil into NULL.
+Fri Aug 9 12:06:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * pack.c (pack_unpack): p/P unpacks NULL into nil.
+ * file.c (rb_str_normalize_ospath): normalize to Normalization Form C
+ using CFString.
-Tue Apr 24 15:35:32 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Aug 9 10:53:57 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * pack.c (pack_pack): size check for P template.
+ * time.c (get_timeval, get_new_timeval): use rb_obj_class()
+ instead of CLASS_OF() because CLASS_OF() may return
+ a singleton class.
- * ruby.c (set_arg0): wrong predicate when new $0 value is bigger
- than original space.
+Fri Aug 9 10:42:11 2013 Kazuki Tsujimoto <kazuki@callcc.net>
-Tue Apr 24 15:18:49 2001 Akinori MUSHA <knu@iDaemons.org>
+ * vm_insnhelper.c (vm_invoke_block): returning from lambda proc
+ now always exits from the Proc. [ruby-core:56193] [Feature #8693]
- * ext/extmk.rb.in, lib/mkmf.rb: (dir_config) do not add the
- specified include directory if already included in $CPPFLAGS.
+ * NEWS, test/ruby/test_lambda.rb: ditto. Patch by nobu.
- * ext/extmk.rb.in, lib/mkmf.rb: (dir_config) return a more useful
- value, [include_dir, lib_dir].
+Fri Aug 9 00:10:32 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Apr 23 14:43:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * enumerator.c (lazy_zip_func): fix non-single argument. fix
+ out-of-bound access and pack multiple yielded values.
+ [ruby-core:56383] [Bug #8735]
- * gc.c (id2ref): should use NUM2ULONG()
+Thu Aug 8 23:01:20 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * object.c (rb_mod_const_get): check whether name is a class
- variable name.
+ * object.c (rb_mod_singleton_p): new method Module#singleton_class? to
+ return whether the receiver is a singleton class or not.
+ [ruby-core:51087] [Feature #7609]
- * object.c (rb_mod_const_set): ditto.
+Thu Aug 8 21:56:44 2013 Tanaka Akira <akr@fsij.org>
- * object.c (rb_mod_const_defined): ditto.
+ * time.c (time_overflow_p): Avoid signed integer overflow.
+ (rb_time_new): Fix overflow condition.
-Sat Apr 21 22:33:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Aug 8 19:58:02 2013 Koichi Sasada <ko1@atdot.net>
- * marshal.c (w_float): precision changed to "%.16g"
+ * thread.c (rb_threadptr_pending_interrupt_check_mask):
+ use RARRAY_RAWPTR() instead of RARRAY_PTR() because
+ there is no new reference.
-Sat Apr 21 22:07:58 2001 Guy Decoux <decoux@moulon.inra.fr>
+Thu Aug 8 19:56:52 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_call0): wrong retry behavior.
+ * string.c (rb_str_format_m): use RARRAY_RAWPTR() instead of
+ RARRAY_PTR() because there is no new reference.
-Fri Apr 20 19:12:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Aug 8 19:55:51 2013 Koichi Sasada <ko1@atdot.net>
- * numeric.c (fix_aref): a bug on long>int architecture.
+ * include/ruby/ruby.h: define USE_RGENGC_LOGGING_WB_UNPROTECT.
-Fri Apr 20 14:57:15 2001 K.Kosako <kosako@sofnec.co.jp>
+Thu Aug 8 16:44:25 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_eval_string_wrap): should restore ruby_wrapper.
+ * include/ruby/ruby.h: add old macro name `RUBY_EVENT_SWITCH'.
+ This macro name is obsolete because it is renamed to
+ RUBY_INTERNAL_EVENT_SWITCH, but it has compatibility problem
+ using this macro name like ruby-prof.
+ I want to remove this macro after ruby 2.1.
-Sun Apr 22 17:44:37 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Thu Aug 8 15:37:53 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * configure.in: add -mieee to CFLAGS on Linux/Alpha
- to disable "DIVISION BY ZERO" exception.
+ * test/coverage/test_coverage.rb (TestCoverage#test_big_code): use `1'
+ instead of `p' to get rid of a side effect.
+ Kernel#p without any argument seems to do nothing, but flushes stdout.
+ and, if stdout is redirected to file, fsync() will be called on
+ Windows. so, when running test-all on Windows with redirection, such
+ as CI environment, this test took a lot of time.
- * configure.in: remove -ansi on OSF/1.
+Thu Aug 8 14:54:18 2013 Shugo Maeda <shugo@ruby-lang.org>
-Wed Apr 18 04:37:51 2001 Wakou Aoyama <wakou@fsinet.or.jp>
+ * NEWS: add description of incompatibility introduced by r42396.
+ [ruby-core:56329] [Bug #8722]
- * lib/cgi.rb: CGI::Cookie: no use PATH_INFO.
+Thu Aug 8 14:50:36 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Wed Apr 18 00:24:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * common.mk (mini): portable target to build miniruby
- * regex.c (re_compile_pattern): char class at either edge of range
- should be invalid.
+ * common.mk (bisect): run git-bisect with miniruby
-Tue Apr 17 17:33:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * common.mk (bisect-ruby): run git-bisect with ruby
- * eval.c (handle_rescue): use === to compare exception match.
+ * tool/bisect.sh: script for git-bisect
- * error.c (syserr_eqq): comparison between SytemCallErrors should
- based on their error numbers.
+Thu Aug 8 12:11:43 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Tue Apr 17 16:54:39 2001 K.Kosako <kosako@sofnec.co.jp>
+ * test/webrick/test_httpresponse.rb (test_send_body_*_chunked): these
+ expectations assumes that the IOs are binmode. fixed test failures
+ introduced at r42427 on Windows.
- * eval.c (safe_getter): should use INT2NUM().
+Thu Aug 8 10:27:18 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Apr 17 15:12:56 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * range.c (range_last): revert r42400. [Bug #8739]
- * bignum.c (rb_big2long): 2**31 cannot fit in 31 bit long.
+Thu Aug 8 10:26:25 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sat Apr 14 22:46:43 2001 Guy Decoux <decoux@moulon.inra.fr>
+ * file.c (rb_str_normalize_ospath): extract and move from dir.c.
- * regex.c (calculate_must_string): wrong length calculation.
+Thu Aug 8 05:59:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Sat Apr 14 13:37:32 2001 Usaku Nakamura <usa@osb.att.ne.jp>
+ * test/openssl/test_ssl.rb: Fix test for CVE-2013-4073.
+ Patch by Antonio Terceiro. [Bug #8750] [ruby-core:56437]
- * win32/config.status.in: no longer use missing/alloca.c.
+Thu Aug 8 03:37:38 2013 Eric Hodel <drbrain@segment7.net>
- * win32/Makefile.sub: ditto.
+ * lib/webrick/httpresponse.rb: Allow #body to be an IO-like object
+ that responds to #readpartial and #read.
+ [ruby-trunk - Feature #8155]
+ * NEWS: NEWS for above
+ * test/webrick/test_httpresponse.rb: Tests for above.
-Fri Apr 13 12:40:48 2001 K.Kosako <kosako@sofnec.co.jp>
+Wed Aug 7 23:06:26 2013 Akinori MUSHA <knu@iDaemons.org>
- * eval.c (rb_thread_start_0): fixed memory leak.
+ * ruby.c (Process.argv0): New method to return the original value
+ of $0. [Feature #8696]
-Fri Apr 13 16:41:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Aug 7 23:05:55 2013 Akinori MUSHA <knu@iDaemons.org>
- * parse.y (none): should clear cmdarg_stack too.
+ * ruby.c (Process.setproctitle): New method to change the title of
+ the running process that is shown in ps(1). [Feature #8696]
-Fri Apr 13 06:19:29 2001 GOTOU YUUZOU <gotoyuzo@notwork.org>
+Wed Aug 7 20:05:38 2013 Tanaka Akira <akr@fsij.org>
- * io.c (rb_fopen): use setvbuf() to avoid recursive malloc() on
- some platforms.
+ * bignum.c (rb_big_odd_p): Check the bignum length.
+ (rb_big_even_p): Ditto.
-Wed Apr 11 23:36:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Aug 7 19:29:26 2013 Tanaka Akira <akr@fsij.org>
- * file.c (rb_stat_dev): device functions should honor stat field
- types (except long long such as dev_t).
+ * bignum.c (dbl2big): A condition simplified.
-Wed Apr 11 18:07:53 2001 K.Kosako <kosako@sofnec.co.jp>
+Wed Aug 7 16:34:30 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * eval.c (rb_mod_nesting): should not push nil for nesting array.
+ * test/webrick/test_cgi.rb (TestWEBrickCGI#{start_cgi_server,test_cgi}):
+ mswin is not only mswin32 but also mswin64. [Bug #8746]
- * eval.c (rb_mod_s_constants): should not search array by
- rb_mod_const_at() for nil (happens for singleton class).
+Wed Aug 7 16:19:12 2013 Koichi Sasada <ko1@atdot.net>
-Wed Apr 11 13:29:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * cont.c (rb_fiber_start): use RARRAY_RAWPTR() instead of
+ RARRAY_PTR() because there is no new reference.
- * class.c (rb_singleton_class_attached): should modify iv_tbl by
- itself, no longer use rb_iv_set() to avoid freeze check error.
+ * proc.c (curry): ditto.
- * variable.c (rb_const_get): error message "uninitialized constant
- Foo at Bar::Baz" instead of "uninitialized constantBar::Baz::Foo".
+ * proc.c (rb_proc_call): remove line break.
-Tue Apr 10 17:52:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Aug 7 13:20:12 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_mod_included): new hook called from rb_mod_include().
+ * random.c (random_load): use RARRAY_RAWPTR() instead of
+ RARRAY_PTR() because there is no new reference.
-Tue Apr 10 02:24:40 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Wed Aug 7 12:58:23 2013 Koichi Sasada <ko1@atdot.net>
- * io.c (opt_i_set): should strdup() inplace_edit string.
+ * thread.c (thread_start_func_2): use RARRAY_RAWPTR() instead of
+ RARRAY_PTR() because there is no new reference.
-Mon Apr 9 23:29:54 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Aug 7 09:00:24 2013 Zachary Scott <e@zzak.io>
- * eval.c (exec_under): need to push cref too.
+ * string.c: [DOC] Description of rb_str_equal [Fixes GH-375]
+ Based on a patch by @markijbema
+ https://github.com/ruby/ruby/pull/375
-Mon Apr 9 15:20:21 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Aug 7 08:30:38 2013 Zachary Scott <e@zzak.io>
- * eval.c (rb_f_missing): raise NameError for "undefined local
- variable or method".
+ * ext/openssl/ossl_hmac.c: [DOC] Documentation for OpenSSL::HMAC
+ based on a patch by @repah documenting-ruby/ruby#14
+ https://github.com/documenting-ruby/ruby/pull/14
- * error.c (Init_Exception): new exception NoMethodError.
- NameError moved under ScriptError again.
+Wed Aug 7 07:46:23 2013 Zachary Scott <e@zzak.io>
- * eval.c (rb_f_missing): use NoMethodError instead of NameError.
+ * lib/rss/utils.rb: [DOC] RSS::Utils by Steve Klabnik [Bug #8745]
-Mon Apr 9 12:05:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Aug 7 07:38:39 2013 Tanaka Akira <akr@fsij.org>
- * file.c (Init_File): should redifine "new" class method.
+ * bignum.c (nlz16): Removed.
+ (nlz32): Ditto.
+ (nlz64): Ditto.
+ (nlz128): Ditto.
+ (nlz_int): New function.
+ (nlz_long): New function.
+ (nlz_long_long): New function.
+ (nlz_int128): New function.
+ (nlz): Follow above changes.
+ (bitsize): Follow above changes.
-Mon Apr 9 11:56:52 2001 Shugo Maeda <shugo@ruby-lang.org>
+Tue Aug 6 22:38:15 2013 Zachary Scott <e@zzak.io>
- * lib/net/imap.rb: fix typo.
+ * time.c: [DOC] Typo in Time overview by @sparr [Fixes GH-374]
+ https://github.com/ruby/ruby/pull/374
-Fri Apr 6 01:46:35 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Aug 6 22:35:32 2013 Zachary Scott <e@zzak.io>
- * eval.c (PUSH_CREF): sharing cref node was problematic. maintain
- runtime cref list instead.
+ * lib/rss/1.0.rb: [DOC] Document RSS10 by Steve Klabnik [Bug #8740]
- * eval.c (rb_eval): copy defn node before registering.
+Tue Aug 6 22:14:11 2013 Kouji Takao <kouji.takao@gmail.com>
- * eval.c (rb_load): clear ruby_cref before loading.
+ * ext/readline/readline.c (readline_s_delete_text): remove
+ checking "$SAFE == 4".
-Thu Apr 5 22:40:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/readline/readline.c: fix rdoc, remove "Raises SecurityError"
+ and add "Raises NotImplementedError".
- * variable.c (rb_const_get): no recursion to show full class path
- for modules.
+Tue Aug 6 22:04:38 2013 Kouji Takao <kouji.takao@gmail.com>
- * eval.c (rb_set_safe_level): should set safe level in curr_thread
- as well.
+ * ext/readline/readline.c, test/readline/test_readline.rb: fix
+ indent.
- * eval.c (safe_setter): ditto.
+Tue Aug 6 21:59:56 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Apr 5 13:46:06 2001 K.Kosako <kosako@sofnec.co.jp>
+ * range.c (range_last): return nil for empty range, or in the case the
+ predecessor is smaller than the begin. [Bug #8739]
- * object.c (rb_obj_is_instance_of): nil belongs to false, not true.
+Tue Aug 6 21:48:31 2013 Kouji Takao <kouji.takao@gmail.com>
-Thu Apr 5 02:19:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/readline/readline.c (readline_s_set_point, Init_readline):
+ add Readline.point=(pos). Patched by naruse. [ruby-dev:47535]
+ [Feature #8675]
- * time.c (make_time_t): proper (I hope) daylight saving time
- handling for both US and Europe. I HATE DST!
+Tue Aug 6 21:14:11 2013 Kouji Takao <kouji.takao@gmail.com>
- * eval.c (rb_thread_wait_for): non blocked signal interrupt should
- stop the interval.
+ * ext/readline/readline.c (Init_readline, readline_s_set_output)
+ (clear_rl_outstream, readline_s_set_input, clear_rl_instream)
+ (readline_readline): fix causing SEGV if closed IO object that is
+ set Readline.input or Readline.output. Patched by akr
+ [ruby-dev:47509] [Bug #8644]
-Wed Apr 4 03:47:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Aug 6 17:56:40 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (proc_eq): class check aded.
+ * vm_insnhelper.c (vm_push_frame): change type of stack_max to size_t.
- * eval.c (proc_eq): typo fixed ("return" was ommitted).
+Tue Aug 6 17:42:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * error.c (Init_Exception): move NameError under StandardError.
+ * range.c (range_last): exclude the last number of the exclusive range
+ if the end is Numeric. [ruby-dev:47587] [Bug #8739]
- * class.c (rb_mod_clone): should copy method bodies too.
+Tue Aug 6 17:42:21 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * bignum.c (bigdivrem): should trim trailing zero bdigits of
- remainder, even if dd == 0.
+ * win32/win32.c (rb_w32_conv_from_wchar): converted string to CP_UTF8
+ should have UTF-8 encoding. otherwise no conversion takes place
+ later.
- * file.c (check3rdbyte): safe string check moved here.
+Tue Aug 6 17:21:38 2013 Koichi Sasada <ko1@atdot.net>
-Tue Apr 3 09:56:20 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * vm_insnhelper.c (vm_push_frame): fix stack overflow check codes.
+ Stack overflow check should be done *after* pushing a stack frame.
+ However, some stack overflow checking codes checked *before*
+ pushing a stack frame with iseq->stack_max.
+ To solve this problem, add a new parameter `stack_max' to specify
+ a possible consuming stack size.
- * ext/extmk.rb.in (create_makefile): create def file only if
- it does not yet exist.
+ * vm_core.h (CHECK_VM_STACK_OVERFLOW0): add to share the stack overflow
+ checking code.
- * lib/mkmf.rb: ditto.
+ * insns.def: catch up this change.
-Tue Apr 3 00:05:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm.c, vm_eval.c: ditto.
- * time.c (make_time_t): remove HAVE_TM_ZONE code since it
- sometimes reports wrong time.
+ * test/ruby/test_exception.rb: add a stack overflow test.
+ This code is reported by nobu.
- * time.c (make_time_t): remove unnecessary range check for
- platforms where negative time_t is available.
+Tue Aug 6 17:02:17 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Apr 2 16:52:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * win32/win32.c (rb_w32_conv_from_wchar): use WideCharToMultiByte(),
+ as like as mbstr_to_wstr(), in the first step of the conversion from
+ WCHAR.
- * process.c (proc_waitall): should push Process::Status instead of
- Finuxm status.
+Tue Aug 6 16:14:32 2013 Shugo Maeda <shugo@ruby-lang.org>
- * process.c (waitall_each): should add all entries in pid_tbl.
- these changes are inspired by Koji Arai. Thanks.
+ * vm_eval.c (eval_string_with_cref): copy cref to limit the scope of
+ refinements in the eval string. [ruby-core:56329] [Bug #8722]
- * process.c (proc_wait): should not iterate if pid_tbl is 0.
+ * test/ruby/test_refinement.rb: related test.
- * process.c (proc_waitall): ditto.
+Tue Aug 6 12:23:12 2013 Tanaka Akira <akr@fsij.org>
-Mon Apr 2 14:25:49 2001 Shugo Maeda <shugo@ruby-lang.org>
+ * bignum.c (rb_big_realloc): Use VALGRIND_MAKE_MEM_UNDEFINED to
+ declare undefined memory area.
+ (bignew_1): Ditto.
- * lib/monitor.rb (wait): ensure reentrance.
+ * internal.h (VALGRIND_MAKE_MEM_DEFINED): Moved from gc.c
+ (VALGRIND_MAKE_MEM_UNDEFINED): Ditto.
- * lib/monitor.rb (wait): fix timeout support.
+Tue Aug 6 01:40:37 2013 Zachary Scott <e@zzak.io>
-Mon Apr 2 12:40:45 2001 Shugo Maeda <shugo@ruby-lang.org>
+ * process.c: [DOC] Document caveats of command form of Process.spawn
+ with regard to the shell and OS. Patched by Steve Klabnik [Bug #8550]
- * lib/net/imap.rb (media_subtype): return subtype.
+Tue Aug 6 01:28:35 2013 Zachary Scott <e@zzak.io>
-Mon Apr 2 12:01:15 2001 Shugo Maeda <shugo@ruby-lang.org>
+ * lib/rss/0.9.rb: [DOC] Typo in example [Bug #8732]
- * lib/net/imap.rb (flag_list): capitalize flags.
+Tue Aug 6 01:22:37 2013 Zachary Scott <e@zzak.io>
-Mon Apr 2 01:32:38 2001 Akinori MUSHA <knu@iDaemons.org>
+ * lib/rss/2.0.rb: [DOC] Document RSS::Rss by Steve Klabnik #8740
+ * lib/rss/atom.rb: [DOC] Typo in rdoc by Steve Klabnik
- * Makefile.in: Introduce MAINLIBS.
+Mon Aug 5 23:47:59 2013 Tanaka Akira <akr@fsij.org>
- * configure.in: Link libc_r against the ruby executable on
- FreeBSD, which is the first attempt to work around a certain
- problem regarding pthread on FreeBSD. It should make ruby/libruby
- happy when it loads an extension to a library compiled and linked
- with -pthread. Note, however, that libruby is _not_ linked with
- libc_r so as not to mess up pthread unfriendly stuff including
- apache+mod_ruby and vim6+ruby_interp.
+ * bignum.c: Rename local variables.
-Mon Apr 2 01:16:24 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Mon Aug 5 22:23:59 2013 Zachary Scott <e@zzak.io>
- * win32/win32.c: use ruby's opendir on mingw32.
+ * vm_trace.c: [DOC] Fix TracePoint return values in examples
+ Based on a patch by @sho-h [Fixes GH-373]
+ https://github.com/ruby/ruby/pull/373
- * win32/dir.h, dir.c, Makefile: ditto.
+Mon Aug 5 17:38:15 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Apr 1 23:26:14 2001 TOYOFUKU Chikanobu <toyofuku@juice.or.jp>
+ * win32/win32.c (rb_w32_write_console): use MultiByteToWideChar() for
+ the last step of conversion to WCHAR, to get rid of warnings from
+ rb_enc_find() in miniruby. [ruby-dev:47584] [Bug #8733]
- * numeric.c (flodivmod): a bug in no fmod case.
+ * win32/win32.c (wstr_to_mbstr, mbstr_to_wstr): fix wrong trimming.
+ WideCharToMultiByte() and MultiByteToWideChar() do not count
+ NUL-terminator in the size for conversion result, unless the input
+ length is -1.
-Sun Apr 1 18:36:14 2001 Koji Arai <JCA02266@nifty.ne.jp>
+Mon Aug 5 11:51:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * process.c (pst_wifsignaled): should apply WIFSIGNALED for status
- (int), not st (VALUE).
+ * include/ruby/encoding.h: document which user flags are used by
+ ENCODING_MASK for better greppability
-Sat Mar 31 04:47:55 2001 Shugo Maeda <shugo@ruby-lang.org>
+Mon Aug 5 10:01:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * lib/net/imap.rb: add document and example code.
+ * object.c (rb_class_inherited_p): allow iclasses to be tested for
+ inheritance. [Bug #8686] [ruby-core:56174]
-Sat Mar 31 03:24:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/ruby/test_method.rb: add test
- * io.c (Init_IO): value of $/ and $\ are no longer restricted to
- strings. type checks are done on demand.
+Mon Aug 5 06:13:48 2013 Zachary Scott <e@zzak.io>
- * class.c (rb_include_module): module inclusion should be check
- taints.
+ * enumerator.c: [DOC] Remove reference to Enumerator::Lazy#cycle
+ Patch by @kachick [Fixes GH-372]
+ https://github.com/ruby/ruby/pull/372
- * ruby.h (STR2CSTR): replace to StringType() and StringTypePtr().
+Mon Aug 5 03:57:16 2013 Zachary Scott <e@zzak.io>
- * ruby.h (rb_str2cstr): ditto.
+ * lib/rss/0.9.rb: [DOC] Document RSS09 by Steve Klabnik [Bug #8732]
-Fri Mar 30 23:37:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Aug 5 03:35:11 2013 Zachary Scott <e@zzak.io>
- * eval.c (rb_load): should not copy toplevel local variables. It
- cause variable/method ambiguity. Thanks to L. Peter Deutsch.
+ * lib/rexml/attribute.rb: [DOC] Update example for #namespace
+ Patch by Ippei Obayashi [Bug #8685] [ruby-core:56173]
-Fri Mar 30 22:56:56 2001 Shugo Maeda <shugo@ruby-lang.org>
+Sun Aug 4 21:08:29 2013 Masaki Matsushita <glass.saga@gmail.com>
- * lib/net/imap.rb: rename ContinueRequest to ContinuationRequest.
+ * array.c (rb_ary_zip): performance implement by using
+ ALLOCA_N() to allocate tmp buffer.
-Fri Mar 30 12:51:19 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Aug 4 07:14:49 2013 Tanaka Akira <akr@fsij.org>
- * class.c (rb_include_module): freeze check at first.
+ * README.EXT, README.EXT.ja: Mention rb_integer_pack and
+ rb_integer_unpack.
-Thu Mar 29 17:05:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Aug 4 01:54:45 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_attr): sprintf() and rb_intern() moved into
- conditional body.
+ * bignum.c (BARY_TRUNC): New macro.
+ (bary_cmp): Use BARY_TRUNC.
+ (bary_mul_toom3): Ditto.
+ (bary_divmod): Ditto.
+ (abs2twocomp): Ditto.
+ (bigfixize): Ditto.
+ (rb_cstr_to_inum): Ditto.
+ (big2str_karatsuba): Ditto.
+ (bigdivrem): Ditto.
-Wed Mar 28 23:43:00 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Sun Aug 4 00:57:58 2013 Tanaka Akira <akr@fsij.org>
- * ext/extmk.rb.in, lib/mkmf.rb: add C++ rules in addition to C
- rules for the mswin32 platforms.
+ * bignum.c (big2str_karatsuba): Don't allocate new temporary buffer
+ if the buffer is enough for current invocation.
-Wed Mar 28 19:29:21 2001 Akinori MUSHA <knu@iDaemons.org>
+Sun Aug 4 00:22:34 2013 Tanaka Akira <akr@fsij.org>
- * ext/extmk.rb.in, lib/mkmf.rb: move C++ rules to the right place.
+ * bignum.c (bary2bdigitdbl): New function.
+ (bdigitdbl2bary): Ditto.
+ (bary_mul_single): Use bdigitdbl2bary.
+ (power_cache_get_power): Ditto.
+ (bary_divmod): Use bary2bdigitdbl.
+ (big2str_orig): Ditto.
+ (bigdivrem): Ditto.
-Wed Mar 28 17:39:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Aug 3 22:47:11 2013 Tanaka Akira <akr@fsij.org>
- * object.c (rb_str2cstr): warn if string contains \0 and length
- value is ignored.
+ * bignum.c: The branch condition of selecting multiplication
+ algorithms should check smaller argument because Karatsuba and Toom3
+ is effective only if both arguments are big.
+ (bary_mul_toom3_branch): Compare the smaller argument to
+ TOOM3_MUL_DIGITS.
+ (bary_mul): Compare the smaller argument to KARATSUBA_MUL_DIGITS.
-Wed Mar 28 15:00:31 2001 K.Kosako <kosako@sofnec.co.jp>
+Sat Aug 3 22:23:31 2013 Tanaka Akira <akr@fsij.org>
- * class.c (rb_singleton_class_clone): should copy class constant
- table as well.
+ * bignum.c (big2str_orig): Receive the number to stringize as
+ BDIGIT array and size.
+ (big2str_karatsuba): Receive the number to stringize as BDIGIT array
+ and size. Use an temporary array of BDIGIT.
+ (rb_big2str1): Follow the above change.
-Wed Mar 28 14:23:23 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Aug 3 13:30:04 2013 Tanaka Akira <akr@fsij.org>
- * class.c (rb_include_module): sometimes cache was mistakenly left
- uncleared - based on the patch by K.Kosako.
+ * bignum.c (MAX_BASE36_POWER_TABLE_ENTRIES): Renamed from
+ MAX_BIG2STR_TABLE_ENTRIES.
+ (base36_power_cache): Renamed from big2str_power_cache.
+ (base36_numdigits_cache): Renamed from big2str_numdigits_cache.
- * ruby.h: all Check_SafeStr()'s are replaced by SafeStr() to
- ensure 'to_str' be always effective.
+Sat Aug 3 10:33:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Mar 28 09:52:33 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * parse.y (parser_set_integer_literal): use rb_rational_raw1() for
+ integral rational because no reduction is needed with 1.
- * win32/Makefile.sub: disable global optimization.
+Sat Aug 3 09:46:07 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Mar 27 15:00:54 2001 K.Kosako <kosako@sofnec.co.jp>
+ * ext/etc/etc.c (setup_passwd, setup_group): set proper encodings to
+ string members.
- * eval.c (rb_mod_define_method): should have clear method cache.
+Sat Aug 3 09:30:57 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_mod_define_method): should have raised exception for
- type error.
+ * struct.c (rb_struct_define_under): new function to define Struct
+ under the given namespace, not under Struct. [Feature #8264]
-Tue Mar 27 14:48:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/etc/etc.c: use rb_struct_define_under.
- * ruby.h: changed "extern INLINE" to "static inline".
+Sat Aug 3 06:55:29 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Mon Mar 26 23:19:33 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * parse.y (value_expr_gen): now NODE_DEFN and NODE_DEFS are not void
+ value expressions. get rid of wrong warning with -w, and make to
+ pass tests with chkbuild. ref. [Feature #3753]
- * time.c (rb_strftime): check whether strftime returns empty string.
+Sat Aug 3 04:23:48 2013 Eric Hodel <drbrain@segment7.net>
-Mon Mar 26 21:16:56 2001 Shugo Maeda <shugo@ruby-lang.org>
+ * doc/syntax/refinements.rdoc: Remove mention of instance_eval and
+ module_eval from scope section per:
+ http://twitter.com/shugomaeda/status/363219951336693761
- * lib/net/imap.rb: supports response handlers and multiple commands.
+Sat Aug 3 02:22:05 2013 Tanaka Akira <akr@fsij.org>
-Mon Mar 26 17:21:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (big2str_orig): Refactored.
- * eval.c: remove TMP_PROTECT_END to prevent C_ALLOCA crash.
+Sat Aug 3 01:20:19 2013 Tanaka Akira <akr@fsij.org>
-Mon Mar 26 14:04:41 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * bignum.c (bigadd_core): Removed.
+ (bigadd): Use bary_add instead of bigadd_core.
- * ext/Win32API/Win32API.c: remove Init_win32api().
+Sat Aug 3 00:52:43 2013 Tanaka Akira <akr@fsij.org>
-Sun Mar 25 16:52:48 2001 Koji Arai <JCA02266@nifty.ne.jp>
+ * bignum.c (rb_big2str1): Simplify power_level calculation.
- * file.c (rb_file_flock): do not trap EINTR.
+Sat Aug 3 00:34:20 2013 Masaki Matsushita <glass.saga@gmail.com>
- * missing/flock.c (flock): returns the value from lockf(2)
- directly.
+ * array.c (rb_ary_zip): use rb_ary_new2() to create buffer
+ if rb_block_arity() > 1.
-Sat Mar 24 23:44:50 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sat Aug 3 00:12:00 2013 Masaki Matsushita <glass.saga@gmail.com>
- * eval.c (ev_const_defined): should ignore toplevel cbase (Object).
+ * NEWS: Add the description that IO#seek supports SEEK_DATA
+ and SEEK_HOLE.
- * eval.c (ev_const_get): ditto.
+Fri Aug 2 23:57:57 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Fri Mar 23 17:37:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * vm.c (m_core_define_method, m_core_define_singleton_method): now
+ the value of def-expr is the Symbol of the name of the method, not
+ nil.
+ ref. [ruby-dev:42151] [Feature #3753]
- * ext/md5/md5.h: replace by independent md5 implementation
- contributed by L. Peter Deutsch (thanks).
+ * test/ruby/test_syntax.rb (TestSyntax#test_value_of_def): test for
+ above changes.
- * ext/md5/md5init.c: adopted to Deutsch's md5 implementation.
+Fri Aug 2 23:54:11 2013 Masaki Matsushita <glass.saga@gmail.com>
-Fri Mar 23 17:26:19 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (rb_ary_zip): performance improvement by avoiding
+ array creation if rb_block_arity() > 1.
- * pack.c (pack_unpack): string from P/p should be tainted.
+Fri Aug 2 23:50:53 2013 Tanaka Akira <akr@fsij.org>
-Fri Mar 23 12:18:44 2001 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
+ * bignum.c (power_cache_get_power): Apply bigtrunc to the result of
+ bigsq.
+ (big2str_karatsuba): Fix number of leading zero characters.
- * ext/curses/curses.c: curses on Mac OS X public beta does not
- have _maxx etc.
+Fri Aug 2 23:48:36 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Mar 23 10:50:31 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * parse.y (parser_yylex): calculate denominator directly as powers of
+ ten, not parsing string.
- * marshal.c (w_object): should truncate trailing zero short for
- bignums.
+ * parse.y (parser_number_literal_suffix): return bit set of found
+ suffixes.
-Fri Mar 23 09:49:02 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * parse.y (parser_set_number_literal, parser_set_integer_literal):
+ split from parser_number_literal_suffix to set yylval.
- * object.c (sym_intern): new method.
+ * parse.y (parser_yylex): parse rational number literal with decimal
+ point precisely.
-Thu Mar 22 22:15:45 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * parse.y (simple_numeric): integrate numeric literals and simplify
+ numeric rules.
- * ext/Win32API/extconf.rb: add -fno-omit-frame-pointer.
+ * ext/ripper/eventids2.c (ripper_init_eventids2): ripper support for
+ new literals, tRATIONAL and tIMAGINARY.
-Thu Mar 22 18:17:36 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Aug 2 18:33:28 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_mod_nesting): should not include Object at the
- toplevel.
+ * bignum.c (big2str_karatsuba): Reduce power_level more than one at
+ recursion, if possible.
+ (rb_big2str1): Follow the above change.
-Thu Mar 22 17:43:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Aug 2 12:25:15 2013 Tanaka Akira <akr@fsij.org>
- * ruby.h: better inline function support.
+ * bignum.c (bary_mul): Swap x and y for bary_mul1 if x is longer than y.
+ [ruby-dev:47565] [Bug #8719] Reported by Narihiro Nakamura.
- * configure.in (NO_C_INLINE): check if inline is available for the
- C compiler.
+Fri Aug 2 10:39:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Mon Mar 19 11:03:10 2001 Koji Arai <JCA02266@nifty.ne.jp>
+ * parse.y (negate_lit): add T_RATIONAL and T_COMPLEX to the switch
+ statement, and call rb_bug() if an unknown type is passed to
+ negate_lit(). [ruby-core:56316] [Bug #8717]
- * marshal.c (r_object): len calculation patch was wrong for
- machines SIZEOF_BDIGITS == SIZEOF_SHORT.
+ * bootstraptest/test_literal_suffix.rb (assert_equal): add test
- * gc.c: alloca prototype reorganized for C_ALLOCA machine.
+Fri Aug 2 09:14:47 2013 Eric Hodel <drbrain@segment7.net>
-Wed Mar 21 23:07:45 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * doc/syntax/refinements.rdoc: Improve description of where you may
+ activate refinements.
- * win32/win32.c (win32_stat): WinNT/2k "//host/share" support.
+Fri Aug 2 07:45:55 2013 Tanaka Akira <akr@fsij.org>
-Wed Mar 21 08:05:35 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * bignum.c (big2str_orig): Remove len argument.
+ (big2str_karatsuba): Ditto.
+ (rb_big2str1): Follow above change.
- * win32/dir.h: replace missing/dir.h .
+Thu Aug 2 02:32:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * win32/win32.h: ditto.
+ * NEWS: Add the description of number literal suffixes.
- * win32/win32.c: ditto.
+Thu Aug 2 00:02:00 2013 Kenta Murata <mrkn@mrkn.jp>
-Wed Mar 21 01:26:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bootstraptest/test_literal_suffix.rb: add two test cases to
+ examine that "1if true" and "1rescue nil" are recognized as 1.
- * gc.c (id2ref): sometimes confused symbol and reference.
+Thu Aug 1 23:45:00 2013 Kenta Murata <mrkn@mrkn.jp>
-Tue Mar 20 23:09:33 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * rational.c (rb_flt_rationalize_with_prec): new public C function
+ to rationalize a Float instance with a precision.
- * win32/win32.c (win32_stat): UNC support.
+ * rational.c (rb_flt_rationalize): new public C function to
+ rationalize a Float instance. A precision is calculated from
+ the given float number.
- * dir.c (extract_path): fix "./*" problem.
+ * include/ruby/intern.h: Add rb_flt_rationalize_with_prec and
+ rb_flt_rationalize.
-Tue Mar 20 15:10:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * parse.y: implement number literal suffixes, 'r' and 'i'.
+ [ruby-core:55096] [Feature #8430]
- * dir.c (glob_helper): breaks loop after calling recusive
- glob_helper; all wild cards should be consumed; no need for
- further match.
+ * bootstraptest/test_literal_suffix.rb: add tests for parser to scan
+ number literals with the above tsuffixes.
- * dir.c (dir_s_glob): gives warning if no match found.
+Thu Aug 1 23:55:08 2013 Tanaka Akira <akr@fsij.org>
-Tue Mar 20 14:13:45 Koji Arai <JCA02266@nifty.ne.jp>
+ * bignum.c (rb_big2str1): Remove a local variable.
- * object.c (sym_inspect): did allocate extra byte space.
+Thu Aug 1 23:33:01 2013 Tanaka Akira <akr@fsij.org>
-Mon Mar 19 19:14:47 2001 Guy Decoux <decoux@moulon.inra.fr>
+ * bignum.c (rb_cstr_to_inum): Use power_cache_get_power.
- * marshal.c (shortlen): shortlen should return number of bytes
- written.
+Thu Aug 1 21:02:48 2013 Tanaka Akira <akr@fsij.org>
-Mon Mar 19 16:52:23 2001 K.Kosako <kosako@sofnec.co.jp>
+ * bignum.c (rb_big2str1): Raise an error for too big number.
- * eval.c (ev_const_defined): need not to check if cbase->nd_class
- is rb_cObject.
+Thu Aug 1 20:46:29 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (ev_const_get): ditto.
+ * bignum.c (power_cache_get_power): Hide cached Bignum objects.
-Mon Mar 19 17:11:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Aug 1 19:15:05 2013 Tanaka Akira <akr@fsij.org>
- * time.c (time_zone): return "UTC" for UTC time objects.
+ * bignum.c (rb_big2str1): Remove non-trim mode.
+ (rb_big2str0): Non-trim mode implemented here.
+ (big2str_find_n1): Change the result type to long again.
+ (big2str_base_powerof2): Don't take arguments: len and trim.
+ (rb_big2str): Follow above change.
-Mon Mar 19 16:27:32 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Aug 1 12:37:58 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (THREAD_ALLOC): flags should be initialized.
+ * bignum.c (big2str_alloc): New function to allocate the result string.
+ It is called after actual length is calculated.
+ (big2str_struct): Add fields: negative, result and ptr.
+ (big2str_orig): Write out the result via b2s->ptr.
+ (big2str_orig): Ditto.
+ (rb_big2str1): Don't allocate the result string at beginning.
- * signal.c (rb_f_kill): should use FIX2INT, not FIX2UINT.
+Thu Aug 1 07:36:27 2013 Tanaka Akira <akr@fsij.org>
-Mon Mar 19 10:55:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (big2str_orig): Use temporary buffer when trim mode.
- * dir.c (glob_helper): replace lstat() by stat() to follow symlink
- in the case like 'symlink/*'.
+Thu Aug 1 06:28:48 2013 Tanaka Akira <akr@fsij.org>
- * dir.c (glob_helper): gave warning too much.
+ * bignum.c (big2str_orig): Simplified because RBIGNUM_LEN(x) <= 2 now.
+ (big2str_struct): Two fields added: hbase2, hbase2_numdigits.
+ (rb_big2str1): Initialize above fields.
-Sun Mar 18 08:58:18 2001 Wakou Aoyama <wakou@fsinet.or.jp>
+Thu Aug 1 04:06:17 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/cgi.rb: // === '' --> //.match('')
+ * lib/rdoc/options.rb (RDoc#finish): include root path in include
+ paths, to work in another directory than the source directory.
+ [ruby-core:56282] [Bug #8712]
- * lib/cgi.rb: cgi#header(): improvement for mod_ruby.
+ * test/test_rdoc_markup_pre_process.rb (TestRDocMarkupPreProcess#setup):
+ fix input_file_name, as the test script is not pre-processed.
- * lib/cgi.rb: cgi#rfc1123date(): improvement.
- thanks to TADA Tadashi <sho@spc.gr.jp>.
+Thu Aug 1 01:45:18 2013 Tanaka Akira <akr@fsij.org>
- * lib/cgi.rb: cgi#rfc1123date(): document bug fix.
- thanks to Kazuhiro NISHIYAMA <zn@mbf.nifty.com>.
+ * bignum.c (big2str_karatsuba): Fix a condition of power_level.
- * lib/cgi.rb: cgi#header(): bug fix.
- thanks to IWATSUKI Hiroyuki <don@na.rim.or.jp>.
+Thu Aug 1 01:09:02 2013 Tanaka Akira <akr@fsij.org>
-Sat Mar 17 11:11:24 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (LOG2_KARATSUBA_BIG2STR_DIGITS): Removed.
+ (KARATSUBA_BIG2STR_DIGITS): Removed.
+ (big2str_numdigits_cache): New variable.
+ (power_cache_get_power): Merged with power_cache_get_power0.
+ This function returns maxpow_in_bdigit_dbl(base)**(2**power_level).
+ (rb_big2str1): use power_cache_get_power.
- * dir.c (glob_helper): * should follow symlink, whereas ** should
- not follow.
+Wed Jul 31 23:59:28 2013 Tanaka Akira <akr@fsij.org>
-Thu Mar 15 01:28:02 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (big2str_find_n1): Change the return type to size_t.
+ (big2str_orig): Ditto.
+ (big2str_karatsuba): Ditto.
+ (rb_big2str1): Follow the above changes.
- * dir.c (dir_s_chdir): block form of Dir.chdir. (RCR#U016).
+Wed Jul 31 23:19:06 2013 Tanaka Akira <akr@fsij.org>
-Fri Mar 16 17:14:17 2001 Akinori MUSHA <knu@iDaemons.org>
+ * bignum.c (power_cache_get_power): Change numdigits_ret to size_t *.
+ (big2str_orig): Change len argument to size_t.
+ (big2str_karatsuba): Ditto.
+ (rb_big2str1): Follow the above changes.
- * configure.in: Set SOLIBS properly for all ELF and
- FreeBSD/NetBSD/OpenBSD a.out platforms so that the shlib
- dependencies are recorded in the libruby shlib.
+Wed Jul 31 22:59:47 2013 Kouhei Sutou <kou@cozmixng.org>
-Wed Mar 14 16:41:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/rexml/parse/test_notation_declaration.rb: Change class
+ name to follow file name change.
- * eval.c (rb_thread_schedule): raise FATAL just once to
- THREAD_TO_KILL.
+Wed Jul 31 22:57:50 2013 Kouhei Sutou <kou@cozmixng.org>
-Wed Mar 14 10:41:34 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/rexml/test_notationdecl_parsetest.rb: Rename to ...
+ * test/rexml/parse/test_notation_declaration.rb: ... this.
- * eval.c (rb_yield_0): 0 (= Qfalse) is a valid value, so that
- default self should be checked by klass == 0.
+Wed Jul 31 22:54:39 2013 Kouhei Sutou <kou@cozmixng.org>
- * bignum.c (rb_cstr2inum): should disallow '++1', '+-1', etc.
+ * test/rexml/test_notationdecl_mixin.rb: Remove duplicated tests.
-Tue Mar 13 17:51:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Jul 31 22:52:55 2013 Kouhei Sutou <kou@cozmixng.org>
- * eval.c (ev_const_defined): add new parameter self for special
- const fallback.
+ * test/rexml/test_notationdecl_parsetest.rb: Fix typos in expected
+ value.
+ pubilc ->
+ public
+ ^^
- * eval.c (ev_const_get): ditto.
+Wed Jul 31 22:50:51 2013 Kouhei Sutou <kou@cozmixng.org>
-Tue Mar 13 16:39:45 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * test/rexml/test_notationdecl_parsetest.rb: Add tests that focus
+ system literal in external ID system notation declaration.
- * dir.c (rb_glob_helper): fix drive letter handling on DOSISH.
+Wed Jul 31 22:36:21 2013 Tanaka Akira <akr@fsij.org>
-Tue Mar 13 14:54:39 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * bignum.c (bary_cmp): Extracted from rb_big_cmp.
+ (power_cache_get_power): Change n1 argument (number of digits) to
+ power_level which is just passed to power_cache_get_power0.
+ (big2str_karatsuba): Ditto.
+ (rb_big2str1): Calculate the initial power_level.
- * lib/net/http.rb: add HTTPRequest#basic_auth.
+Wed Jul 31 22:04:36 2013 Kouhei Sutou <kou@cozmixng.org>
- * lib/net/smtp.rb: raise if only account or password is given.
+ * test/rexml/test_notationdecl_parsetest.rb: Fix a typo.
+ Extern ID ->
+ ExternalID
+ ^^
- * lib/net/protocol.rb: WriteAdapter#<< returns self.
+Wed Jul 31 22:01:36 2013 Kouhei Sutou <kou@cozmixng.org>
-Tue Mar 13 14:41:16 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/rexml/test_notationdecl_parsetest.rb: Add tests that focus
+ public ID in external ID notation declaration.
- * io.c (argf_seek_m): wrong calling sequence of rb_io_seek().
+Wed Jul 31 22:01:24 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
-Tue Mar 13 09:14:19 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * parse.y: fix build error with bison-3.0.
- * parse.y (cond0): no special treatment of string literal in
- condition.
+Wed Jul 31 21:58:53 2013 Kouhei Sutou <kou@cozmixng.org>
-Mon Mar 12 18:59:38 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * test/rexml/test_notationdecl_parsetest.rb: Split test patterns.
- * lib/mkmf.rb (create_makefile): save/restore $libs and $LIBPATH.
+Wed Jul 31 21:42:33 2013 Kouhei Sutou <kou@cozmixng.org>
-Sun Mar 11 18:13:34 2001 Masahiro Tanaka <masa@stars.gsfc.nasa.gov>
+ * test/rexml/test_notationdecl_parsetest.rb: Group tests.
- * math.c: add acos, asin, atan, conh, sinh, tanh and hypot to Math.
+Wed Jul 31 21:37:51 2013 Kouhei Sutou <kou@cozmixng.org>
- * configure.in: check hypot availablility.
+ * test/rexml/test_notationdecl_mixin.rb (TestNotationDecl#test_name):
+ Move to ...
+ * test/rexml/test_notationdecl_parsetest.rb
+ (TestNotationDecl#test_name): ... here.
- * missing/hypot.c: public domain rewrite of hypot.
+Wed Jul 31 21:37:47 2013 Kouhei Sutou <kou@cozmixng.org>
-Sun Mar 11 13:21:04 2001 Koji Arai <JCA02266@nifty.ne.jp>
+Wed Jul 31 21:31:49 2013 Kouhei Sutou <kou@cozmixng.org>
- * parse.y (warn_unless_e_option): warning condition was wrong.
+ * test/rexml/test_notationdecl_parsetest.rb: Remove setup because it
+ doesn't share anything with other tests.
- * parse.y (warning_unless_e_option): ditto.
+Wed Jul 31 21:24:55 2013 Kouhei Sutou <kou@cozmixng.org>
-Sun Mar 11 00:55:31 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * test/rexml/test_attributes_mixin.rb: Remove a needless shebang.
+ * test/rexml/test_notationdecl_mixin.rb: ditto.
+ * test/rexml/test_doctype.rb: ditto.
+ * test/rexml/test_xml_declaration.rb: ditto.
+ * test/rexml/test_changing_encoding.rb: ditto.
- * lib/mkmf.rb (install_rb): fix handling of destination path.
+Wed Jul 31 21:20:08 2013 Kouhei Sutou <kou@cozmixng.org>
-Sat Mar 10 22:56:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/rexml/test_notationdecl_parsetest.rb: remove a needless shebang.
- * enum.c (enum_all): new method 'all?', which returns true if
- block returns true for all elements.
+Wed Jul 31 20:11:01 2013 Masaki Matsushita <glass.saga@gmail.com>
- * enum.c (enum_any): new method 'any?', which returns true if
- block returns true for any of elements.
+ * string.c (rb_str_rindex): fix bug introduced in r42269.
+ "".rindex("") should return 0.
+ (str_rindex): ditto.
-Sat Mar 10 02:34:18 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Wed Jul 31 19:55:33 2013 Tanaka Akira <akr@fsij.org>
- * math.c (math_log, math_log10): use nan() instead of 0.0/0.0 on Cygwin.
+ * bignum.c (MAX_BIG2STR_TABLE_ENTRIES): Use SIZEOF_SIZE_T.
+ (power_cache_get_power0): Add rb_bug call for too bit i argument.
+ (power_cache_get_power): Simplified.
-Fri Mar 9 09:56:19 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Jul 31 18:32:25 2013 Akinori MUSHA <knu@iDaemons.org>
- * marshal.c (marshal_load): do not give warning unless explicitly
- set to verbose.
+ * lib/uri/common.rb (URI.decode_www_form_component): Use String#b.
-Fri Mar 9 02:07:53 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Jul 31 18:24:02 2013 Shugo Maeda <shugo@ruby-lang.org>
- * eval.c (rb_exit): give string value "exit" to SystemExit.
+ * eval.c (rb_mod_refine, mod_using, top_using): don't show
+ warnings because Refinements are no longer experimental.
+ [ruby-core:55993] [Feature #8632]
- * ruby.c (proc_options): -v should not print version if
- proc_options called via moreswitches().
+ * test/ruby/test_refinement.rb: related test.
-Thu Mar 8 17:45:19 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * NEWS: fixes for the above change.
- * lib/net/protocol.rb: one write(2) per one line.
+Wed Jul 31 17:55:55 2013 Shota Fukumori <her@sorah.jp>
-Wed Mar 7 14:26:11 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * lib/uri/common.rb (URI.decode_www_form_component):
+ Don't raise error when str includes multibyte characters.
- * math.c (math_log, math_log10): should return NaN if x < 0.0
- on Cygwin.
+Wed Jul 31 17:45:39 2013 Masaki Matsushita <glass.saga@gmail.com>
-Thu Mar 7 10:31:26 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * string.c (rb_str_rindex): performance improvement by using
+ memrchr(3).
- * parse.y (stmt): while/until modifier must work for empty body.
+Wed Jul 31 16:43:30 2013 Masaki Matsushita <glass.saga@gmail.com>
-Tue Mar 6 22:53:58 2001 Kazuhiro Yoshida <moriq.kazuhiro@nifty.ne.jp>
+ * string.c (rb_str_rindex): refactoring and avoid to call str_nth() if
+ pos == 0.
- * ruby.c (ruby_set_argv): clear ARGV contents before adding args.
+Wed Jul 31 14:41:36 2013 Akinori MUSHA <knu@iDaemons.org>
-Tue Mar 6 10:50:29 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/set.rb: [DOC] Add a couple of notes on Hash as storage.
+ ref. [Feature #6589]
- * parse.y (primary): rescue and ensure clauses should be allowed
- to appear in singleton method body.
+Wed Jul 31 14:38:52 2013 Akinori MUSHA <knu@iDaemons.org>
-Mon Mar 5 17:25:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/set.rb: [DOC] Fix example result. Hash is now ordered.
- * eval.c (proc_eq): compare Procs using blocktag equality.
+Wed Jul 31 14:38:10 2013 Akinori MUSHA <knu@iDaemons.org>
- * eval.c (proc_to_s): stringify according to block tag address.
+ * lib/set.rb: [DOC] Use the term "sorted" instead of "ordered"
+ when mentioning SortSet.
-Mon Mar 5 17:19:56 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Wed Jul 31 12:18:47 2013 Tanaka Akira <akr@fsij.org>
- * win32/win32.c (gettimeofday): use GetLocalTime() instead of ftime()
- for high-resolution timing.
+ * bignum.c (big2str_struct): New structure.
+ (big2str_orig): Use big2str_struct.
+ (big2str_karatsuba): Ditto.
+ (rb_big2str1): Ditto.
-Sun Mar 4 17:01:09 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Wed Jul 31 12:02:16 2013 Zachary Scott <e@zzak.io>
- * string.c (trnext): support backslash escape in String#tr.
+ * lib/rubygems.rb: [DOC] typo in url patch by @Red54 [Fixes #369]
+ https://github.com/ruby/ruby/pull/369
-Sat Mar 3 16:15:16 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Jul 31 07:09:07 2013 Eric Hodel <drbrain@segment7.net>
- * eval.c (rb_eval): push cbase if ruby_cbase != ruby_class, for
- example in the case NODE_DEFN/NODE_DEFS are called within
- module_eval.
+ * lib/rubygems: Import RubyGems from master as of commit 523551c
+ * test/rubygems: ditto.
-Wed Feb 28 11:02:41 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Jul 30 22:21:54 2013 Masaki Matsushita <glass.saga@gmail.com>
- * string.c (rb_str_delete_bang): delete! should take at least 1
- argument.
+ * test/ruby/test_hash.rb: add a test for enumeration order of Hash.
- * ruby.c (load_file): add rb_gc() after loading to avoid
- extraordinary memory growth.
+Tue Jul 30 18:52:27 2013 Akinori MUSHA <knu@iDaemons.org>
-Wed Feb 28 05:01:40 2001 Koji Arai <JCA02266@nifty.ne.jp>
+ * lib/set.rb (Set#intersect?, Set#disjoint?): Add new methods for
+ testing if two sets have any element in common.
+ [ruby-core:45641] [Feature #6588] Based on the code by marcandre.
- * dir.c (rb_glob_helper): "./foo" should match "foo", not "./foo".
+Tue Jul 30 17:16:15 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Feb 27 16:38:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * sprintf.c (ruby__sfvextra): add QUOTE flag to escape unprintable
+ characters.
- * eval.c (ev_const_get): retrieve Object's constant if no current
- class is available (e.g. defining singleton class for Fixnums).
+Tue Jul 30 11:00:52 2013 Zachary Scott <e@zzak.io>
- * eval.c (ev_const_defined): check Object's constant if no current
- class is available (e.g. defining singleton class for Fixnums).
+ * ext/curses/extconf.rb: [DOC] nodoc to reduce Object pollution
- * time.c (time_timeval): negative time interval should not be
- allowed.
+Tue Jul 30 08:19:42 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (proc_call): ignore block to `call' always, despite of
- being orphan or not.
+ * sizes.c (Init_sizes): Define sizes only if the type actually exists.
-Wed Feb 27 10:16:32 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Mon Jul 29 22:55:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_yield_0): should check based on rb_block_given_p()
- and rb_f_block_given_p().
+ * sizes.c (Init_sizes): define RbConfig::SIZEOF. [Feature #8568]
-Tue Feb 27 04:13:45 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Mon Jul 29 22:25:20 2013 Zachary Scott <e@zzak.io>
- * configure.in (frame-address): --enable-frame-address to allow
- __builtin_frame_address() to be used.
+ * ext/curses/curses.c: [DOC] Update location of samples
+ * samples/curses/*: Move Curses samples and refactor from mixin
+ The samples are included in rdoc for module and use of mixin is
+ confusing
- * eval.c (stack_length): use __builtin_frame_address() based on
- the macro USE_BUILTIN_FRAME_ADDRESS.
+Mon Jul 29 22:16:11 2013 Tanaka Akira <akr@fsij.org>
- * gc.c (rb_gc): ditto.
+ * bignum.c (LOG2_KARATSUBA_BIG2STR_DIGITS): Renamed from
+ LOG2_KARATSUBA_DIGITS.
+ (KARATSUBA_BIG2STR_DIGITS): Renamed from KARATSUBA_DIGITS.
- * gc.c (Init_stack): ditto.
+Mon Jul 29 22:04:45 2013 Masaki Matsushita <glass.saga@gmail.com>
-Mon Feb 26 16:20:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * hash.c (rb_hash_compare_by_id): add function prototype.
- * ruby.c (proc_options): call ruby_show_version() just once.
+Mon Jul 29 21:53:41 2013 Masaki Matsushita <glass.saga@gmail.com>
- * dir.c (dir_s_open): returns the value from a block (if given).
+ * hash.c (rb_hash_compare_by_id): don't call rb_hash_rehash()
+ if self.compare_by_identity? == true.
-Mon Feb 26 14:29:04 2001 Akinori MUSHA <knu@iDaemons.org>
+Mon Jul 29 21:29:48 2013 Masaki Matsushita <glass.saga@gmail.com>
- * ext/extmk.rb.in, lib/mkmf.rb: add C++ rules in addition to C
- rules.
+ * hash.c (rb_hash_assoc): performance improvement by replacing
+ compare function in RHASH(hash)->ntbl->type temporarily like r42224.
+ it falls back to rb_hash_foreach() if st_lookup() doesn't find the key.
-Mon Feb 26 00:04:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/ruby/test_hash.rb: add a test for above.
- * eval.c (proc_call): should not modify ruby_block->frame.iter
- based on ruby_frame->iter altered by PUSH_ITER().
+Mon Jul 29 21:15:30 2013 Akinori MUSHA <knu@iDaemons.org>
-Mon Feb 26 05:27:52 2001 Wakou Aoyama <wakou@fsinet.or.jp>
+ * test/ruby/test_lazy_enumerator.rb
+ (TestLazyEnumerator#test_initialize): Make sure
+ Enumerator::Lazy#initialize raises error if the object is
+ frozen. The check was performed by rb_ivar_set() before
+ rb_check_frozen() was added to enumerator_init().
- * lib/net/telnet.rb: #telnetmode(), #binmode(): bug fix.
- thanks to nobu.nakada@nifty.ne.jp.
+Mon Jul 29 21:06:42 2013 Akinori MUSHA <knu@iDaemons.org>
-Mon Feb 26 04:55:50 2001 Wakou Aoyama <wakou@fsinet.or.jp>
+ * enumerator.c (enumerator_init): Add a frozenness check to
+ prevent a frozen Enumerator object from being reinitialized with
+ a different enumerable object. This is the least we should do,
+ and more fixes will follow. [Fixes GH-368] Patch by Kenichi
+ Kamiya.
- * lib/cgi.rb: CGI#form(): bug fix.
- thanks to MoonWolf <moonwolf@moonwolf.com>.
+ * enumerator.c (generator_init): Ditto.
- * lib/cgi.rb: CGI#rfc1123_date(): improvement.
- thanks to Tomoyasu Akita <genzo-@dm4lab.to>.
+Mon Jul 29 20:14:24 2013 Masaki Matsushita <glass.saga@gmail.com>
- * lib/cgi.rb: CGI#header(): improvement for mod_ruby.
- thanks to Shugo Maeda <shugo@ruby-lang.org>.
+ * hash.c (rb_hash_assoc): revert r42224. table->type->compare is
+ called only if hashes are matched.
-Sun Feb 25 02:45:30 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * test/ruby/test_hash.rb: add a test to check using #== to compare.
- * file.c (rb_file_s_rename): avoid Cygwin's bug.
+Mon Jul 29 17:00:31 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sat Feb 24 23:32:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * parse.y (yycompile): store file name as String to keep the encoding.
- * eval.c (rb_thread_fd_close): should save current context before
- raising exception.
+ * parse.y (rb_parser_compile_string_path, rb_parser_compile_file_path):
+ new functions to pass file name as a String.
-Sat Feb 24 22:14:00 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * parse.y (gettable_gen): return a copy of the original file name, not
+ a copy in filesystem encoding.
- * win32/win32.c (myrename): fix error handling.
+ * vm_eval.c (eval_string_with_cref): use Qundef instead of "(eval)".
-Sat Feb 24 13:58:48 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Mon Jul 29 16:53:18 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/net/http.rb: always close connection on request without
- body.
+ * hash.c (rb_hash_initialize_copy): copy st_table type even if empty.
+ [ruby-core:56256] [Bug #8703]
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: change copyright.
+Mon Jul 29 16:34:29 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sat Feb 24 03:15:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * hash.c (rb_hash_initialize_copy): clear old table before copy new
+ table.
- * io.c (set_stdin): preserve original stdin.
+Mon Jul 29 16:34:09 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (set_outfile): preserve original stdout/stderr.
+ * hash.c (rb_hash_assoc): aggregate object can be initialized only
+ with link time constants.
-Fri Feb 23 08:28:58 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Mon Jul 29 14:54:44 2013 Masaki Matsushita <glass.saga@gmail.com>
- * lib/net/protocol.rb: clear read buffer after reopen.
+ * hash.c (rb_hash_assoc): performance improvement by replacing
+ compare function in RHASH(hash)->ntbl->type temporarily.
- * lib/net/protocol.rb: refactoring.
+Mon Jul 29 14:52:46 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/net/http.rb: split module HTTPHeader from HTTPResponse.
+ * lib/mkmf.rb (xsystem): expand environment variable in all macros not
+ expanded with RbConfig. [Bug #8702]
-Tue Feb 20 23:45:35 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * test/mkmf/test_framework.rb (create_framework): replace all $@ not
+ only once.
- * process.c: add W* macro if not available.
+Mon Jul 29 06:54:30 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Feb 20 16:37:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * win32/win32.c (rb_w32_pipe): use enum for compile time constants,
+ instead of const int for debugging.
- * configure.in: add check for negative time_t for gmtime(3).
+Mon Jul 29 00:11:49 2013 Tanaka Akira <akr@fsij.org>
- * time.c (time_new_internal): no positive check if gmtime(3) can
- handle negative time_t.
+ * bignum.c (bigdivrem): Specialized implementation added for
+ nx == 2 && ny == 2
- * time.c (time_timeval): ditto.
+Sun Jul 28 20:28:41 2013 Masaki Matsushita <glass.saga@gmail.com>
- * bignum.c (rb_big2long): should not raise RangeError for Bignum
- LONG_MIN value.
+ * io.c (io_getpartial): use rb_str_locktmp_ensure().
+ [ruby-core:56121] [Bug #8669]
-Mon Feb 19 17:46:37 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * io.c (rb_io_sysread): ditto.
- * string.c (rb_str_substr): "a"[1,2] should return ""; need
- rubicon upgrade.
+ * test/ruby/test_io.rb: add tests for above.
-Mon Feb 19 12:10:36 2001 Triet H. Lai <thlai@mail.usyd.edu.au>
+Sun Jul 28 20:10:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * error.c (rb_sys_warning): new function to give warning with
- strerror() message.
+ * ext/extmk.rb (extmake): should make static libraries for extensions
+ to be statically linked. [Bug #7948]
- * dir.c (rb_glob_helper): better error handling, along with
- performance tune.
+Sun Jul 28 17:38:32 2013 Masaki Matsushita <glass.saga@gmail.com>
-Mon Feb 19 01:55:43 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * string.c: add internal API rb_str_locktmp_ensure().
- * eval.c (secure_visibility): visibility check for untainted modules.
+ * io.c (io_fread): use rb_str_locktmp_ensure().
+ [ruby-core:56121] [Bug #8669]
-Mon Feb 19 00:29:29 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * test/ruby/test_io.rb: add a test for above.
- * signal.c (sigpipe): sighandler which does nothing.
+Sun Jul 28 13:04:39 2013 Masaki Matsushita <glass.saga@gmail.com>
- * signal.c (trap): set sigpipe function for SIGPIPE.
+ * io.c (interpret_seek_whence): support SEEK_DATA and SEEK_HOLE.
+ These are whences for lseek(2) supported by Linux since version 3.1.
+ [ruby-core:56123] [Feature #8671]
- * signal.c (Init_signal): default SIGPIPE handler should be
- sigpipe function.
+ * test/ruby/test_io.rb: Add tests for above.
-Sun Feb 18 15:42:38 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Sun Jul 28 12:41:39 2013 Tanaka Akira <akr@fsij.org>
- * ext/curses/extconf.rb: add dir_config.
+ * bignum.c (absint_numwords_generic): The char_bit variable changed
+ to static constant.
- * missing/flock.c: use fcntl(2) instead of lockf(2).
+Sun Jul 28 12:03:23 2013 Tanaka Akira <akr@fsij.org>
-Sun Feb 18 05:46:03 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * bignum.c: Constify bary_* functions.
- * lib/net/http.rb: Response#range_length was not debugged.
+Sun Jul 28 11:12:07 2013 Tanaka Akira <akr@fsij.org>
-Sun Feb 18 04:02:03 2001 Yasushi Shoji <yashi@yashi.com>
+ * include/ruby/intern.h (rb_absint_size): Declaration moved from
+ internal.h to calculate required buffer size to pack integers.
+ (rb_absint_numwords): Ditto.
+ (rb_absint_singlebit_p): Ditto.
+ [ruby-core:42813] [Feature #6065]
- * array.c (rb_ary_subseq): wrong boundary check.
+Sun Jul 28 10:54:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Feb 18 00:09:50 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * win32/win32.c (rb_w32_pipe): fix pipe name formatting. as "%x" may
+ not contain '0' at all, fill at fixed position instead.
- * win32/win32.c: make file I/O faster on mswin32/mingw32.
+Sun Jul 28 00:35:14 2013 Tanaka Akira <akr@fsij.org>
- * win32/win32.h: ditto.
+ * bignum.c (rb_big_size): Return the bignum "bytewise" size.
+ [ruby-core:55578] [Feature #8553]
+ This is accepted by matz on DevelopersMeeting20130727Japan.
- * rubysig.h: ditto.
+Sun Jul 28 00:07:48 2013 Tanaka Akira <akr@fsij.org>
-Sat Feb 17 23:32:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * include/ruby/intern.h (rb_integer_pack): Declaration moved from
+ internal.h.
+ (rb_integer_unpack): Ditto.
+ [ruby-core:42813] [Feature #6065]
- * parse.y (cond0): integer literal in condition should not be
- compared to lineno ($.).
+Fri Jul 26 23:18:13 2013 Kouhei Sutou <kou@cozmixng.org>
-Fri Feb 16 01:44:56 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * NEWS: Add a new feature that REXML::Parsers::StreamParser
+ supports "entity" event.
- * io.c (set_outfile): f should be the FILE* from the assigning value.
+Fri Jul 26 23:14:31 2013 Kouhei Sutou <kou@cozmixng.org>
- * ext/socket/socket.c (tcp_s_open): should not give default value
- to local_host.
+ * lib/rexml/parsers/streamparser.rb
+ (REXML::Parsers::StreamParser#parse): Add "entity" event support to
+ listener. [Bug #8689] [ruby-dev:47542]
+ Reported by Ippei Obayashi.
+ * test/rexml/test_stream.rb (StreamTester#entity): Add a test for
+ the above case.
- * time.c (time_s_times): move to Process::times.
+Fri Jul 26 23:05:27 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * file.c (rb_file_s_lchmod): new method File::lchmod.
+ * parse.y (parser_yylex): separate numeric literal from succeeding
+ token, and treat 'e' as floating point number only if followed by
+ exponent part.
- * file.c (rb_file_s_lchown): new method File::lchown.
+Fri Jul 26 22:14:10 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Feb 15 11:33:49 2001 Shugo Maeda <shugo@ruby-lang.org>
+ * vm_exec.h (CHECK_VM_STACK_OVERFLOW_FOR_INSN): surround with
+ do/while (0), and remove unnecessary casts.
- * lib/cgi/session.rb (close): fixed reversed condition.
+Fri Jul 26 20:12:07 2013 Akinori MUSHA <knu@iDaemons.org>
-Thu Feb 15 08:34:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/syslog/lib/syslog/logger.rb (Syslog::Logger): Add facility
+ to Syslog::Logger. [Fixes GH-305] patch by Max Shytikov
+ https://github.com/ruby/ruby/pull/305
- * process.c (proc_waitall): new method based on a patch from Brian
- Fundakowski Feldman <green@green.dyndns.org>.
+Fri Jul 26 19:25:17 2013 Koichi Sasada <ko1@atdot.net>
- * process.c (last_status_set): objectify $? value (Process::Status).
+ * vm_exec.h, tool/instruction.rb: not an error, but a BUG if stack
+ overflow checking failed just before/after the beginning of an
+ instruction. It should be treated as a BUG.
+ Please tell us if your code cause BUG with this problem.
+ This check will removed soon (for performance).
-Wed Feb 14 17:28:24 2001 Shugo Maeda <shugo@ruby-lang.org>
+Fri Jul 26 18:30:14 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/imap.rb: supports unknown resp_text_code.
+ * array.c (ary_memcpy): cast to int to suppress a warning.
-Wed Feb 14 00:44:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Jul 26 18:21:58 2013 Koichi Sasada <ko1@atdot.net>
- * dir.c (dir_s_glob): support backslash escape of metacharacters
- and delimiters.
+ * array.c (ary_memcpy): try to enable optimization.
+ At least on my environments, I don't see any errors
+ with many trials. Please tell us if you find any GC bugs.
- * dir.c (remove_backslases): remove backslashes from path before
- calling stat(2).
+Fri Jul 26 17:49:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * dir.c (dir_s_glob): call rb_yield directly (via push_pattern) if
- block is given to the method.
+ * win32/file.c (fix_string_encoding): fix target encoding. the
+ parameter `encoding' is not the target encoding but the original
+ encoding.
- * dir.c (push_pattern): do not call rb_ary_push; yield directly.
+Fri Jul 26 14:05:19 2013 Zachary Scott <e@zzak.io>
- * eval.c (blk_copy_prev): reduced ALLOC_N too much.
+ * ext/fiddle/*: [DOC] More doc on dlopen and RTLD_DEFAULT from r42184
- * eval.c (frame_dup): ditto.
+Fri Jul 26 13:08:53 2013 Zachary Scott <e@zzak.io>
-Tue Feb 13 23:05:38 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * ext/fiddle/lib/fiddle.rb: [DOC] Document Fiddle.dlopen(nil)
+ * ext/fiddle/handle.c: [DOC] Document Fiddle::Handle.new(nil)
- * dir.c (lstat): should use rb_sys_stat if lstat(2) is not
- available.
+Fri Jul 26 13:04:15 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Feb 13 08:43:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * load.c (rb_load_internal): use rb_load_file_str() to keep path
+ encoding.
- * io.c (rb_io_ctl): do not call ioctl/fcntl for f2, if f and f2
- have same fileno.
+ * load.c (rb_require_safe): search in OS path encoding for Windows.
-Tue Feb 13 01:13:43 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ruby.c (rb_load_file_str): load file with keeping path encoding.
- * eval.c (rb_load): raise LocaJumpError if unexpected local jumps
- appear during load.
+ * win32/file.c (rb_file_load_ok): use WCHAR type API assuming incoming
+ path is encoded in UTF-8. [ruby-core:56136] [Bug #8676]
- * ext/socket/socket.c (bsock_close_read): don't call rb_thread_fd_close();
- it's supposed to be called by io_io_close().
+ * file.c (rb_str_encode_ospath): simplify using rb_str_conv_enc().
- * ext/socket/socket.c (bsock_close_read): do not modify f and f2.
+ * win32/file.c (fix_string_encoding): simplify with rb_str_conv_enc().
- * ext/socket/socket.c (bsock_close_write): ditto.
+ * win32/file.c (convert_mb_to_wchar): use bare pointer instead of
+ VALUE, and remove useless argument.
- * ext/socket/socket.c (sock_new): avoid dup(2) on sockets.
+Fri Jul 26 11:42:07 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (primary): preserve and clear in_single and in_def using
- stack to prevent nested method errors in singleton class bodies.
+ * rational.c (f_round_common): Rational is expected to be returned by
+ Rational#*, but mathn.rb breaks that assumption. [ruby-core:56177]
+ [Bug #8687]
-Sun Feb 11 16:00:30 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Fri Jul 26 01:37:45 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * eval.c (stack_length): use __builtin_frame_address() only if
- GCC and i386 CPU.
+ * include/ruby/ruby.h: check defined(USE_RGENGC_LOGGING_WB_UNPROTECT)
- * gc.c (rb_gc, Init_stack): ditto.
+Fri Jul 26 01:21:41 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * configure.in: add ac_cv_func_getpgrp_void=yes on DJGPP.
+ * file.c (rb_file_expand_path_internal): fix r42160; skip '~'.
-Sat Feb 10 23:43:49 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Jul 25 17:53:18 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * hash.c (rb_any_hash): dumped core on machines sizeof(int) != sizeof(long).
+ * lib/net/http.rb (Net::HTTP#connect): disable Nagle's algorithm on
+ HTTP connection. [ruby-core:56158] [Feature #8681]
-Sat Feb 10 23:07:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Jul 25 17:49:42 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * io.c (rb_io_s_for_fd): IO::for_fd(fd) - new method.
+ * re.c (rb_reg_to_s): convert closing parenthesis to the target encoding
+ if it is ASCII incompatible encoding. [ruby-core:56063] [Bug #8650]
- * regex.c (PREV_IS_A_LETTER): should not treat c>0x7f as a word
- character if -Kn.
+Thu Jul 25 17:21:21 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sat Feb 10 00:00:30 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * encoding.c (is_obj_encoding): new macro to check if obj is an
+ Encoding. obj can be any type while is_data_encoding expects T_DATA
+ only.
- * win32/win32.c (win32_stat): replace stat to enable when pathname
- ends with '/' or '\' for mswin32 on Win9X / Win2k.
+Thu Jul 25 17:17:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/win32.h: ditto.
+ * file.c (rb_file_expand_path_internal): should clear coderange after
+ copying user name as binary data.
- * ruby.h: ditto.
+Thu Jul 25 16:17:55 2013 Koichi Sasada <ko1@atdot.net>
- * dir.c (rb_glob_helper): ditto.
+ * encoding.c (check_encoding): Check T_DATA or not.
+ is_data_encoding(obj) assumes that `obj' is T_DATA.
- * file.c (rb_stat, rb_file_s_stat, eaccess, check3rdbyte): ditto.
+Thu Jul 25 13:06:46 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Feb 9 22:54:57 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * dir.c (dir_s_home): use rb_home_dir_of and rb_default_home_dir.
- * ruby.c (ruby_init_loadpath): convert '\\' to '/'
- before finding executable file path.
+ * file.c (rb_home_dir_of): split from rb_home_dir() for the home
+ directry of the given user, and the user name is a VALUE, not a bare
+ pointer. should raise if the user does not exist.
-Fri Feb 9 17:41:53 2001 Triet H. Lai <thlai@mail.usyd.edu.au>
+ * file.c (rb_default_home_dir): split from rb_home_dir() for the home
+ directry of the current user.
- * dir.c (rb_glob_helper): do not follow symbolic links.
+Thu Jul 25 12:32:11 2013 Koichi Sasada <ko1@atdot.net>
-Thu Feb 8 21:27:24 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * ext/openssl/ossl.c: support additional three thread synchronization
+ functions. [ruby-trunk - Bug #8386]
- * lib/mkmf.rb (install_rb): fix handling of relative path.
+Thu Jul 25 07:15:58 2013 Eric Hodel <drbrain@segment7.net>
- * lib/mkmf.rb (create_makefile): add srcdir.
+ * lib/rubygems: Import RubyGems from master as of commit 4ff70cc
+ * test/rubygems: ditto.
-Thu Feb 8 02:22:09 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Wed Jul 24 20:57:44 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/http.rb: join HTTPReadResponse into HTTPResponse again.
+ * compile.c (iseq_set_arguments): use RARRAY_RAWPTR() instead of
+ RARRAY_PTR() because there is no new reference.
- * lib/net/http.rb: move http_version() from HTTPRequest to
- HTTPResponse.
+ * compile.c (iseq_set_exception_table): ditto.
- * lib/net/protocol.rb: refactoring.
+Wed Jul 24 19:49:54 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Wed Feb 7 16:27:27 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * lib/uri/generic.rb (find_proxy): raise BadURIError if the URI is
+ a relative URI. [Bug #8645]
- * lib/net/http.rb: split HTTPResponse into HTTPReadResponse
- module.
+Wed Jul 24 18:56:06 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/protocol.rb: add Net::net_private.
+ * vm_insnhelper.c (vm_expandarray): use RARRAY_RAWPTR() instead of
+ RARRAY_PTR() because there is no new reference.
- * lib/net/protocol.rb: Socket#reopen takes arg, open_timeout.
+ * vm_insnhelper.c (vm_caller_setup_args): ditto.
-Wed Feb 7 16:05:22 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * vm_insnhelper.c (vm_yield_setup_block_args): ditto.
- * parse.y (parse_quotedwords): %w should allow parenthesis escape.
+Wed Jul 24 18:40:11 2013 Koichi Sasada <ko1@atdot.net>
-Wed Feb 7 00:57:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c, gc.c: move ary_unprotect_logging() into
+ rb_gc_unprotect_logging() which is general version
- * parse.y (parse_qstring): %q should allow terminator escape.
+ * include/ruby/ruby.h: add USE_RGENGC_LOGGING_WB_UNPROTECT
+ to enable.
- * re.c (rb_reg_options): new method to give an option values.
+Wed Jul 24 17:37:50 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (cond0): disable special treating of integer literal in
- conditional unless option -e is supplied. changes current
- behavior. experimental.
+ * file.c (rb_file_expand_path_internal): preserve the file name
+ encoding in an exception message.
- * parse.y (cond0): give warning for string/integer literals and
- dot operators in conditionals unless option -e is supplied.
+Wed Jul 24 08:04:49 2013 Koichi Sasada <ko1@atdot.net>
- * re.c (rb_reg_equal): all option flags should be same to be equal.
+ * test/-ext-/tracepoint/test_tracepoint.rb: add GC on/off to count
+ GC events strictly.
-Tue Feb 6 21:30:44 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Tue Jul 23 23:19:24 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * lib/net/http.rb: call on_connect() on re-opening socket.
+ * ext/openssl/extconf.rb (CRYPTO_THREADID): check exist or not.
- * lib/net/pop.rb: also POP3 can use APOP auth.
+ * ext/openssl/ossl.c (ossl_thread_id): use rb_nativethread_self()
+ implemented at r42137 to allow threads which doesn't associated with
+ Ruby thread to use openssl functions.
-Tue Feb 6 20:19:10 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * ext/openssl/ossl.c (Init_ossl_locks): If CRYPTO_THREADID is defined
+ (OpenSSL 1.0.0 or later has it) use CRYPTO_THREADID_set_callback()
+ instead of CRYPTO_set_id_callback() because its argument is
+ unsigned long; it may cause id collision on mswin64
+ whose sizeof(unsigned long) < sizeof(void*).
+ http://www.openssl.org/docs/crypto/threads.html
- * lib/net/http.rb: add HTTP#request.
+ * ext/openssl/ossl.c (ossl_threadid_func): defined for above.
- * lib/net/http.rb: take HTTP 1.0 server into account (incomplete).
+Tue Jul 23 20:47:36 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/protocol.rb: timeout for open/read.
+ * bignum.c: Move functions.
- * lib/net/protocol.rb: add Protocol#on_connect,on_disconnect.
+Tue Jul 23 20:14:55 2013 Tanaka Akira <akr@fsij.org>
-Mon Feb 5 23:15:46 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (bary_divmod): Add special cases for x < y easily detected
+ and nx == 2 && ny == 2.
- * error.c (Init_Exception): make Interrupt a subclass of
- SignalException.
+Tue Jul 23 19:48:38 2013 Koichi Sasada <ko1@atdot.net>
-Mon Feb 5 00:39:06 2001 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp>
+ * thread_(pthread|win32).h: rename rb_thread_cond_t to
+ rb_nativethread_cond_t.
- * dir.c: use ISXXX() instead of isxxx().
+ * thread.c, thread_pthread.c, thread_win32.c, vm_core.h: catch up
+ renaming.
- * dln.c (aix_loaderror): ditto.
+Tue Jul 23 19:44:32 2013 Koichi Sasada <ko1@atdot.net>
- * file.c (rb_file_s_expand_path): ditto.
+ * thread_native.h: add rb_nativethread_self() which returns
+ current running native thread identifier.
- * string.c (rb_str_upcase_bang): ditto.
+ * thread_[pthread|win32].c: implement rb_nativethread_self().
- * win32/win32.c (do_spawn): ditto.
+Tue Jul 23 19:34:11 2013 Koichi Sasada <ko1@atdot.net>
- * win32/win32.c (NtMakeCmdVector): ditto.
+ * thread_pthread.h, thread_win32.h: rename rb_thread_id_t to
+ rb_nativethread_id_t.
- * win32/win32.c (opendir): ditto.
+ * thread_pthread.c, vm_core.h: use rb_nativethread_id_t.
-Sat Feb 3 14:44:53 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Tue Jul 23 18:56:11 2013 Koichi Sasada <ko1@atdot.net>
- * configure.in (AC_C_INLINE): check inline attribute.
+ * ext/openssl/ossl.c: use system native (system provided)
+ thread locking APIs added by last commit.
+ This patch fixes [Bug #8386].
+ "rb_mutex_*" APIs control only "Ruby" threads.
+ Not for native threads.
- * gc.c (is_pointer_to_heap): use inline rather than __inline__.
+Tue Jul 23 18:44:15 2013 Koichi Sasada <ko1@atdot.net>
- * pack.c (hex2num): ditto.
+ * thread_native.h: added.
+ Move native thread related lines from vm_core.h.
+ And declare several functions "rb_nativethread_lock_*",
+ manipulate locking.
- * ruby.h (rb_class_of, rb_type, rb_special_const_p): ditto.
+ * common.mk: add thread_native.h.
- * util.c (rb_class_of, rb_type, rb_special_const_p): defined in
- ruby.h.
+ * thread.c: add functions "rb_nativethread_lock_*".
-Fri Feb 2 16:14:51 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * thread.c, thread_[pthread,win32].[ch]: rename rb_thread_lock_t
+ to rb_nativethread_lock_t to make it clear that this lock is for
+ native threads, not for ruby threads.
- * array.c (rb_ary_sort_bang): returns self, even if its length is
- less than 2.
+Tue Jul 23 16:14:57 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (POP_VARS): propagate DVAR_DONT_RECYCLE, if
- SCOPE_DONT_RECYCLE of ruby_scope is set.
+ * gc.c (gc_before_sweep): fix spacing.
-Wed Jan 31 22:27:29 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Tue Jul 23 15:57:11 2013 Koichi Sasada <ko1@atdot.net>
- * configure.in: gcc-2.95.2-7(Cygwin) support.
- add -mwin32 if available.
+ * gc.c (heap_get_freeobj): clear slot->freelist here.
+ This means that this slot doesn't have any free objects.
+ And store this slot with objspace->heap.using_slot.
- * cygwin/GNUmakefile: ditto.
+ * gc.c (gc_before_sweep): restore objspace->freelist
+ into objspace->heap.using_slot->freelist.
+ This means that using_slot has free objects which are
+ pointed from objspace->freelist.
-Tue Jan 30 17:56:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (gc_slot_sweep): do not need to clear slot->freelist.
- * array.c (rb_ary_fetch): new method.
+Tue Jul 23 09:34:49 2013 Zachary Scott <e@zzak.io>
-Mon Jan 29 17:36:19 2001 TOYOFUKU Chikanobu <toyofuku@juice.or.jp>
+ * sample/drb/README*.rdoc: [DOC] migrate DRb sample READMEs to rdoc
- * eval.c (rb_eval): nd_iter evaluation should be wrapped by
- BEGIN_CALLARGS and END_CALLARGS.
+Tue Jul 23 09:28:05 2013 Zachary Scott <e@zzak.io>
-Mon Jan 29 14:25:39 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/drb/invokemethod.rb: [DOC] nodoc InvokeMethod18Mixin
- * eval.c (block_pass): return from block jumps directory to
- block invoker.
+Tue Jul 23 08:44:37 2013 Eric Hodel <drbrain@segment7.net>
-Mon Jan 29 01:40:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/openssl/ossl_asn1.c (asn1time_to_time): Implement YYMMDDhhmmZ
+ format for ASN.1 UTCTime. [ruby-trunk - Bug #8664]
+ * test/openssl/test_asn1.rb: Test for the above.
- * string.c (str_independent): should not clear str->orig here.
- it's too early.
+Tue Jul 23 08:11:32 2013 Zachary Scott <e@zzak.io>
-Fri Jan 26 01:42:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/rexml/streamlistener.rb: [DOC] Fix examples in
+ REXML::StreamListener#entitydecl patch by Ippei Obayashi [Bug #8665]
- * parse.y: clarify do ambiguity, bit more complex but natural
- from my point of view.
+Tue Jul 23 07:44:59 2013 Eric Hodel <drbrain@segment7.net>
-Wed Jan 24 14:58:08 2001 Akinori MUSHA <knu@ruby-lang.org>
+ * lib/rubygems: Import RubyGems from master as of commit b165260
+ * test/rubygems: ditto.
- * lib/cgi.rb: fix the problem that when running under mod_ruby
- header() outputs only one Set-Cookie line.
+Tue Jul 23 07:14:31 2013 Tanaka Akira <akr@fsij.org>
-Wed Jan 24 01:45:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (bary_mulsub_1xN): New function.
+ (bary_mul_toom3): Use bary_mulsub_1xN.
- * eval.c (POP_BLOCK_TAG): call rb_gc_force_recycle() if block has
- not been objectified.
+Tue Jul 23 03:32:23 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_callcc): should nail down block->tag history to avoid
- rb_gc_force_recycle().
+ * bignum.c (KARATSUBA_BALANCED): New macro.
+ (TOOM3_BALANCED): Ditto.
+ (bary_mul_balance_with_mulfunc): Use KARATSUBA_BALANCED and
+ TOOM3_BALANCED.
+ (rb_big_mul_balance): Relax a condition.
+ (rb_big_mul_karatsuba): Use KARATSUBA_BALANCED.
+ (rb_big_mul_toom3): Use TOOM3_BALANCED.
+ (bary_mul_karatsuba_branch): Use KARATSUBA_BALANCED.
+ (bary_mul_toom3_branch): Use TOOM3_BALANCED.
-Tue Jan 23 18:51:57 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Jul 23 01:34:45 2013 Tanaka Akira <akr@fsij.org>
- * gc.c (rb_gc_call_finalizer_at_exit): should finalize objects in
- deferred_final_list too.
+ * bignum.c (bigdivrem_mulsub): Extracted from bigdivrem1.
+ (bigdivrem1): Use bary_add.
-Tue Jan 23 16:10:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Jul 22 18:39:52 2013 Masaki Matsushita <glass.saga@gmail.com>
- * gc.c (os_live_obj): do not list terminated object.
+ * string.c (rb_str_enumerate_chars): specify array capa
+ with str_strlen().
- * gc.c (os_obj_of): ditto.
+ * string.c (rb_str_enumerate_codepoints): ditto.
- * gc.c (rb_gc_mark): support new T_BLKTAG tag.
+Mon Jul 22 18:01:33 2013 Masaki Matsushita <glass.saga@gmail.com>
- * gc.c (obj_free): ditto.
+ * string.c (rb_str_enumerate_chars): specify array capa.
- * eval.c (new_blktag): creation of new block tag, which holds
- destination of global jump and orphan status.
+Mon Jul 22 17:24:14 2013 Masaki Matsushita <glass.saga@gmail.com>
- * eval.c (block_pass): break from orphan Proc object will raise a
- LocalJumpError exception.
+ * string.c (rb_str_each_char_size): performance improvement by
+ using rb_str_length().
-Mon Jan 22 16:33:16 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Mon Jul 22 16:32:48 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * mkconfig.rb: autoconf 2.49 support.
+ * vm_eval.c (eval_string_with_cref): check by Check_TypedStruct
+ instead of rb_obj_is_kind_of.
-Mon Jan 22 00:32:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Jul 22 13:19:22 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (block_pass): behavior consistency with proc_call(). do
- not propagate `break'.
+ * array.c (ary_resize_capa): use RARRAY_RAWPTR() because
+ this code creates no new references.
-Sat Jan 20 03:54:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Jul 22 12:58:18 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (yylex): fixed serious syntax misbehavior. do's
- preceding was too high. a block in `foo bar do .. end' should
- be passed to `foo', not `bar'.
+ * array.c (ary_memfill): added.
- * parse.y (block_call): syntax restructure.
+ * array.c (rb_ary_initialize): use ary_memfill().
-Thu Jan 18 04:28:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (rb_ary_fill): ditto.
- * io.c (rb_io_s_read): new method to call IO#read from
- pathname. In addition, it accepts third optional argument to
- specify starting point.
+ * array.c (rb_ary_slice_bang): use RARRAY_RAWPTR() because
+ this code creates no new references.
-Wed Jan 17 13:28:26 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Mon Jul 22 10:09:46 2013 Koichi Sasada <ko1@atdot.net>
- * configure.in: remove DEFS definition.
+ * gc.c (gc_slot_sweep): need to add empty RVALUE as freeobj.
- * mkconfig.rb: ditto.
+Mon Jul 22 09:48:31 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/config.status.in: ditto.
+ * vm_eval.c (eval_string_with_cref): use the given file name unless
+ eval even if scope is given. additional fix for [Bug #8436].
+ based on the patch by srawlins at [ruby-core:56099] [Bug #8662].
-Tue Jan 16 17:00:50 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Mon Jul 22 09:24:19 2013 Kouji Takao <kouji@takao7.net>
- * lib/net/protocol.rb: ignore EOFError for read.
+ * ext/readline/readline.c (Init_readline): added
+ Readline.delete_text. [ruby-dev:45789] [Feature #6626]
+ * ext/readline/extconf.rb: check for rl_delete_text() in Readline library.
- * lib/net/http.rb: user specified header was not used.
+ Thanks, Nobuyoshi Nakada, for the patch.
-Mon Jan 15 16:00:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Jul 22 03:15:54 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * pack.c (pack_unpack): should check associated pointer packed by
- pack("P"). Thus pointers can be retrieved only from pointer
- packed strings. restriction added.
+ * ext/date/date_parse.c (rfc2822_cb): check if wday is given, since it
+ can be omitted.
-Sun Jan 14 21:49:28 2001 Koji Arai <JCA02266@nifty.ne.jp>
+Mon Jul 22 00:15:20 2013 Tanaka Akira <akr@fsij.org>
- * sprintf.c (rb_f_sprintf): simple typo. binary base should be 2,
- not '2'.
+ * bignum.c (bary_sq_fast): Refine expressions.
- * re.c (rb_reg_s_last_match): should explicitly return nth match.
+Sun Jul 21 21:08:59 2013 Tanaka Akira <akr@fsij.org>
-Sun Jan 14 18:21:30 2001 Usaku Nakamura <usa@osb.att.ne.jp>
+ * bignum.c (bary_mul): Use simple multiplication if yl is small.
+ (rb_cstr_to_inum): Invoke bigsq instead of bigmul0.
+ (bigsq): Re-implemented.
+ (bigmul0): Invoke bigsq if two arguments are identical.
- * win32/config.status.in: add some field.
+Sun Jul 21 09:58:19 2013 Tanaka Akira <akr@fsij.org>
- * win32/win32.c (isInternalCmd): ignore case for shell's internal
- command.
+ * bignum.c (bary_mul_toom3): New function based on bigmul1_toom3.
+ (bary_mul_toom3_branch): Call bary_mul_toom3.
+ (rb_big_mul_toom3): Ditto.
+ (bigmul1_toom3): Removed.
+ (big_real_len): Ditto.
+ (big_split): Ditto.
+ (big_split3): Ditto.
- * win32/win32.c (do_spawn): recognize quoted command line.
+Sun Jul 21 08:12:16 2013 Kazuki Tsujimoto <kazuki@callcc.net>
-Sun Jan 14 04:10:27 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * proc.c (proc_to_s): use PRIsVALUE to preserve the result encoding.
- * lib/net/protocol.rb (adding): too few "yield" in case of arg is
- not String/File.
+Sun Jul 21 03:36:18 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * lib/net/http.rb: add http request object.
+ * hash.c (rb_hash_flatten): use NUM2INT to raise TypeError on 32bit
+ platform. it's introduced by r42039
-Sat Jan 13 19:39:30 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Sun Jul 21 01:07:45 2013 Benoit Daloze <eregontp@gmail.com>
- * re.c (rb_reg_desc): separate RE_OPTION_MULTILINE
+ * common.mk (help): Fix environment variable name and argument.
+ Actually it can also be a directory or any argument for
+ test/unit runner. [Fixes GH-363]
- * re.c (rb_reg_options): add RE_OPTION_{POSIXLINE,RE_OPTION_MULTILINE,
- RE_OPTION_EXTENDED}
+Sat Jul 20 22:44:50 2013 Zachary Scott <e@zzak.io>
-Thu Jan 11 10:45:04 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * common.mk: Document running a single test [Fixes GH-363]
+ Patch by Avdi Grimm https://github.com/ruby/ruby/pull/363
- * win32/win32.h, win32/config.h.in: move NORETURN from win32.h
- to config.h.in.
+Sat Jul 20 22:39:56 2013 Zachary Scott <e@zzak.io>
- * win32/config.h.in (inline): renamed from INLINE.
+ * sample/*: whitespace patch by Sergio Campama [Fixes GH-364]
+ https://github.com/ruby/ruby/pull/364
- * djgpp/config.hin (INLINE): removed.
+Sat Jul 20 22:33:13 2013 Zachary Scott <e@zzak.io>
-Thu Jan 11 06:45:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * doc/regexp.rdoc: [DOC] Fix typo in example [Fixes GH-365]
+ Patch by Juanito Fatas https://github.com/ruby/ruby/pull/365
- * object.c (rb_mod_dup): should propagate FL_SINGLETON.
+Sat Jul 20 17:46:03 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * object.c (inspect_obj): handles the case of no instance variable.
+ * string.c (rb_str_succ): add missing case NEIGHBOR_WRAPPED.
+ r42078 caused buggy behavior like "\xFF".b -> "\x01\xFF".b
-Wed Jan 10 16:15:08 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+Sat Jul 20 15:22:38 2013 Koichi Sasada <ko1@atdot.net>
- * ruby.h: NORETURN macro is changed for VC++ 6.0.
+ * array.c (rb_ary_resize): use simple memcpy because there are no new
+ references.
- * eval.c, intern.h: ditto.
+Sat Jul 20 15:02:51 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * djgpp/config.hin, win32/win32.h: ditto.
+ * safe.c (ruby_safe_level_4_warning): define for old extension
+ libraries. [Bug #8652]
- * configure.in: ditto.
+Sat Jul 20 14:38:00 2013 Koichi Sasada <ko1@atdot.net>
-Wed Jan 10 13:54:53 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * array.c (ary_make_shared): make shared array shady.
+ Making non-shady shared array causes SEGV (see rubyci).
+ It seems a bug around shared array.
- * process.c (proc_setuid): use setresuid() if available.
+Sat Jul 20 12:14:07 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * process.c (proc_setgid): use setresgid() if available.
+ * string.c (enc_succ_char, enc_pred_char): consider wchar case.
+ [ruby-core:56071] [Bug #8653]
- * configure.in: ditto.
+ * string.c (rb_str_succ): do not replace with invalid char.
-Wed Jan 10 01:50:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * encoding.c (rb_enc_code_to_mbclen): add new function which returns
+ mbclen from codepoint like as rb_enc_codelen() but 0 for invalid
+ char.
- * configure.in (AC_C_INLINE): check inline attribute.
+ * include/ruby/encoding.h (rb_enc_code_to_mbclen): declaration and
+ shortcut macro.
- * string.c (rb_str_reverse_bang): forgot to call rb_str_modify().
+Fri Jul 19 21:59:12 2013 Koichi Sasada <ko1@atdot.net>
-Tue Jan 9 17:41:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: declare type_name() at the beginning of file.
- * object.c (rb_obj_taint): check frozen status before modifying
- taint status.
+Fri Jul 19 21:35:09 2013 Koichi Sasada <ko1@atdot.net>
- * object.c (rb_obj_untaint): ditto.
+ * array.c: reduce shady operations.
-Tue Jan 9 16:22:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (rb_ary_modify, ary_make_partial, rb_ary_splice,
+ rb_ary_replace, rb_ary_eql, rb_ary_compact_bang):
+ use RARRAY_RAWPTR() instead of RARRAY_PTR().
- * enum.c (enum_inject): new method.
+ * array.c (rb_ary_shift): use RARRAY_PTR_USE() without WB because
+ there are not new relations.
-Tue Jan 9 02:16:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (ary_ensure_room_for_unshift): ditto.
- * gc.c (rb_gc_call_finalizer_at_exit): clear klass member of
- terminating object.
+ * array.c (rb_ary_sort_bang): ditto.
- * eval.c (rb_call): raise exception for terminated object.
+ * array.c (rb_ary_delete_at): ditto.
-Mon Jan 8 21:24:37 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (rb_ary_reverse_m): use RARRAY_RAWPTR() because
+ there are not new relations.
- * bignum.c (bigdivrem): t2 might be too big for signed long; do
- not use rb_int2big(), but rb_uint2big().
+Fri Jul 19 20:58:20 2013 Koichi Sasada <ko1@atdot.net>
-Mon Jan 8 21:35:10 2001 Guy Decoux <decoux@moulon.inra.fr>
+ * array.c: reduce shade operations.
- * file.c (path_check_1): should restore modified path.
+ * array.c (rb_ary_modify): use RARRAY_RAWPTR().
-Mon Jan 8 03:09:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (ary_make_substitution, rb_ary_s_create, ary_make_partial,
+ rb_ary_splice, rb_ary_resize, rb_ary_rotate_m, rb_ary_times):
+ use ary_memcpy().
- * error.c (rb_load_fail): new func to report LoadError.
+Fri Jul 19 19:55:28 2013 Koichi Sasada <ko1@atdot.net>
- * ruby.c (load_file): use rb_load_fail.
+ * array.c (ary_mem_clear): added. This operation doesn't need WB
+ because this operation creates a reference to Qnil.
-Sat Jan 6 00:17:18 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+ * array.c (ary_make_shared, rb_ary_store, rb_ary_shift_m,
+ rb_ary_splice, rb_ary_resize, rb_ary_fill): use ary_mem_clear()
+ instead of rb_mem_clear().
- * pack.c (pack_pack): avoid infinite loop(pack 'm2').
+ * array.c (ary_make_shared): use RARRAY_RAWPTR() instead of RARRAY_PTR().
-Fri Jan 5 01:02:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Jul 19 19:18:51 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (ruby_finalize): should enclosed by PUSH_TAG/POP_TAG.
+ * array.c: fix commit miss.
+ RGENGC_UNPROTECT_LOGGING should be 0.
- * gc.c (rb_gc_mark): link 2 of NODE_IFUNC should not be explicitly
- marked. it may contain non object pointer.
+Fri Jul 19 19:15:30 2013 Koichi Sasada <ko1@atdot.net>
-Tue Jan 2 00:20:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (rb_ary_resurrect): use RARRAY_RAWPTR() because there is no
+ writing.
- * re.c (reg_s_last_match): Regexp::last_match(nth) returns nth
- substring of the match (alternative for $& and $<digit>).
+ * array.c (rb_ary_new_from_values): use ary_memcpy().
-Sun Dec 31 01:39:16 2000 Guy Decoux <decoux@moulon.inra.fr>
+Fri Jul 19 19:07:31 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_mod_define_method): wrong comparison for blocks.
+ * array.c (ary_memcpy): add a function to copy VALUEs into ary
+ with write barrier. If ary is promoted, use write barrier correctly.
-Sat Dec 30 19:28:50 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (rb_ary_cat, rb_ary_unshift_m, rb_ary_dup,
+ rb_ary_sort_bang, rb_ary_replace, rb_ary_plus): use ary_memcpy().
- * gc.c (id2ref): should handle Symbol too.
+Fri Jul 19 15:32:57 2013 Koichi Sasada <ko1@atdot.net>
- * gc.c (id2ref): should print original ptr value
+ * array.c (rb_ary_store): use RARRAY_PTR_USE() instead of RARRAY_PTR().
+ Clearing memory space doesn't need WBs.
-Sat Dec 30 03:14:22 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Jul 19 15:19:37 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_iterate): NODE_CFUNC does not protect its data
- (nd_tval), so create new node NODE_IFUNC for iteration C
- function.
+ * array.c (ary_ensure_room_for_push): use RARRAY_RAWPTR() instead of
+ RARRAY_PTR. In this code, there are no "write" operation.
- * eval.c (rb_yield_0): use NODE_IFUNC.
+ * array.c (rb_ary_equal): ditto.
- * gc.c (rb_gc_mark): support NODE_IFUNC.
+ * array.c (recursive_equal): ditto.
-Fri Dec 29 11:41:55 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Jul 19 15:09:22 2013 Koichi Sasada <ko1@atdot.net>
- * gc.c (mem_error): prohibit recursive mem_error().
- (ruby-bugs-ja:PR#36)
+ * gc.c, internal.h (rb_gc_writebarrier_remember_promoted): add a new
+ function to remember an specified object. This api is only
+ experimental (strongly depend on WB/rgengc strategy).
-Fri Dec 29 11:05:41 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Jul 19 14:56:00 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_thread_fd_writable): should not switch context if
- rb_thread_critical is set.
+ * array.c (ary_unprotect_logging): use (void *) for first parameter
+ because VALUE is not defined before including ruby/ruby.h.
- * eval.c (rb_thread_wait_fd): ditto.
+Fri Jul 19 14:19:48 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * eval.c (rb_thread_wait_for): ditto.
+ * ext/pathname/pathname.c (path_inspect): use PRIsVALUE to preserve
+ the result encoding.
- * eval.c (rb_thread_select): ditto.
+Fri Jul 19 12:35:41 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_thread_join): join during critical section causes
- deadlock.
+ * test/socket/test_tcp.rb (test_initialize_failure): Use EADDRNOTAVAIL
+ to test an error message generated by bind() failure.
-Fri Dec 29 00:38:46 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Jul 19 11:27:38 2013 Zachary Scott <e@zzak.io>
- * m17n.c: new file - core functions of M17N.
+ * lib/racc/parser.rb: [DOC] Capitalize "Ruby" in documentation
+ Patch by Dave Worth https://github.com/ruby/ruby/pull/341
-Tue Dec 26 18:46:41 2000 NAKAMURA Hiroshi <nakahiro@sarion.co.jp>
+Fri Jul 19 11:26:28 2013 Zachary Scott <e@zzak.io>
- * lib/debug.rb: Avoid thread deadlock in debugging stopped thread.
+ * ext/psych/lib/psych*: [DOC] Capitalize "Ruby" in documentation
+ Patch by Dave Worth https://github.com/ruby/ruby/pull/341
- * lib/debug.rb: Uncleared 'finish' state.
+Fri Jul 19 11:25:12 2013 Zachary Scott <e@zzak.io>
-Tue Dec 26 16:53:55 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/rdoc/*: [DOC] Capitalize "Ruby" in documentation
+ Patch by Dave Worth https://github.com/ruby/ruby/pull/341
- * eval.c (rb_yield_0): remove dvar node by rb_gc_force_recycle()
- more eagerly.
+Fri Jul 19 11:23:55 2013 Zachary Scott <e@zzak.io>
- * eval.c (rb_f_binding): recycling should be stopped for outer
- scope too.
+ * lib/rubygems*: [DOC] Capitalize "Ruby" in documentation
+ Patch by Dave Worth https://github.com/ruby/ruby/pull/341
- * eval.c (proc_new): ditto.
+Fri Jul 19 11:16:54 2013 Akinori MUSHA <knu@iDaemons.org>
-Tue Dec 26 15:45:35 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/set.rb (Set#to_set): Define Set#to_set so that aSet.to_set
+ returns self. [Fixes GH-359]
- * string.c (rb_str_inspect): should treat multibyte chracters
- properly.
+Fri Jul 19 11:10:23 2013 Zachary Scott <e@zzak.io>
-Mon Dec 25 17:49:08 2000 K.Kosako <kosako@sofnec.co.jp>
+ * lib/rake/*: [DOC] Capitalize "Ruby" in documentation
+ Patch by Dave Worth https://github.com/ruby/ruby/pull/341
- * string.c (rb_str_replace_m): unexpected string share happens if
- replace is done for associated (STR_NO_ORIG) string.
+Fri Jul 19 01:04:14 2013 Tanaka Akira <akr@fsij.org>
-Tue Dec 26 15:01:53 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/-test-/bignum/intpack.c: Renamed from ext/-test-/bignum/pack.c.
+ (Init_intpack): Renamed from Init_pack.
+ Reported by Naohisa Goto. [ruby-dev:47526] [Bug #8655]
- * io.c (rb_f_p): should not call rb_io_flush() if rb_defout is not
- a IO (T_FILE).
+Fri Jul 19 00:54:27 2013 Benoit Daloze <eregontp@gmail.com>
-Mon Dec 25 15:52:39 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/ruby/test_array.rb (test_count): add a test case for #count
+ with an argument. See Bug #8654.
- * stable version 1.6.2 released.
+Thu Jul 18 23:45:06 2013 Masaki Matsushita <glass.saga@gmail.com>
-Mon Dec 25 05:11:04 2000 Wakou Aoyama <wakou@fsinet.or.jp>
+ * array.c (rb_ary_eql): compare RARRAY_PTR() for performance
+ improvement in case of that self and other are shared.
- * lib/cgi.rb: version 2.1.2 (some bug fixes).
+Thu Jul 18 22:46:42 2013 Zachary Scott <e@zzak.io>
- * lib/cgi.rb: Regexp::last_match[1] --> $1
+ * lib/cgi.rb: [DOC] Capitalize "Ruby" in documentation [Fixes GH-341]
+ Patch by Dave Worth https://github.com/ruby/ruby/pull/341
+ * lib/webrick.rb: ditto
+ * lib/scanf.rb: ditto
+ * lib/xmlrpc/config.rb: ditto
+ * lib/resolv.rb: ditto
+ * lib/e2mmap.rb: ditto
+ * lib/fileutils.rb: ditto
+ * lib/mkmf.rb: ditto
+ * lib/cgi/session.rb: ditto
+ * lib/yaml.rb: ditto
+ * lib/erb.rb: ditto
+ * lib/irb.rb: ditto
+ * lib/tracer.rb: ditto
+ * lib/net/http.rb: ditto
+ * ext/syslog/lib/syslog/logger.rb: ditto
+ * sample/pty/expect_sample.rb: ditto
- * lib/net/telnet.rb: ditto.
+Thu Jul 18 21:30:50 2013 Tanaka Akira <akr@fsij.org>
-Mon Dec 25 04:43:02 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * bignum.c (bary_sq_fast): Specialize the last iteration of the
+ outer loop.
+ (bigfixize): A condition simplified.
- * lib/net/http.rb: does not send HEAD on closing socket.
+Thu Jul 18 21:15:41 2013 Masaki Matsushita <glass.saga@gmail.com>
-Mon Dec 25 00:44:48 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * array.c (rb_ary_equal): compare RARRAY_PTR() for performance
+ improvement in case of that self and other are shared.
- * hash.c (rb_any_cmp): should use rb_str_cmp() if TYPE == T_STRING
- and CLASS_OF == rb_cString.
+Thu Jul 18 20:44:51 2013 Masaki Matsushita <glass.saga@gmail.com>
- * string.c (rb_str_new4): should copy class of original too.
+ * array.c (rb_ary_fill): use memfill().
-Mon Dec 25 00:04:54 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Jul 18 20:35:14 2013 Benoit Daloze <eregontp@gmail.com>
- * eval.c (rb_thread_schedule): initial value of `max' changed to -1.
+ * array.c (rb_ary_count): check length to avoid SEGV
+ while iterating. Remove other pointer loop when arg is given.
-Mon Dec 25 00:16:14 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/ruby/test_array.rb (test_count): add test for bug.
+ [ruby-core:56072] [Bug #8654]
- * string.c (rb_str_replace_m): copy-on-write replace.
+Thu Jul 18 18:14:36 2013 Masaki Matsushita <glass.saga@gmail.com>
- * parse.y (yylex): should handle => after identifier as well as ==
- and =~.
+ * array.c (rb_ary_count): iterate items appropriately.
+ [Bug #8654]
-Sat Dec 23 23:55:57 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Jul 18 17:35:41 2013 Masaki Matsushita <glass.saga@gmail.com>
- * bignum.c (rb_cstr2inum): Integer("") should not return 0.
+ * hash.c (rb_hash_flatten): performance improvement by not using
+ rb_hash_to_a() to avoid array creation with rb_assoc_new().
-Sat Dec 23 11:55:57 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Jul 18 16:16:17 2013 Koichi Sasada <ko1@atdot.net>
- * array.c (rb_ary_and): Array#& should preverve original order.
+ * array.c: add logging feature for RGenGC's write barrier unprotect
+ event.
-Sat Dec 23 03:44:16 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Thu Jul 18 15:45:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/net/protocol.rb: set @closed false in Socket#reopen.
+ * include/ruby/ruby.h (RUBY_SAFE_LEVEL_CHECK): make only
+ rb_set_safe_level(4) an error always but make rb_secure(4) an error
+ only in the core. [ruby-dev:47517] [Bug #8652]
- * lib/net/pop.rb: add POP3.foreach, delete_all.
+Thu Jul 18 15:42:01 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/pop.rb: add POP3#delete_all.
+ * include/ruby/ruby.h: fix spell miss.
- * lib/net/http.rb: add HTTP.version_1_1, version_1_2
+Thu Jul 18 15:11:11 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/net/http.rb: refactoring.
+ * include/ruby/ruby.h (ruby_safe_level_4): get rid of special
+ character. [ruby-dev:47512] [misc #8646]
-Fri Dec 22 23:11:12 2000 Ueno Katsuhiro <unnie@blue.sky.or.jp>
+Thu Jul 18 14:51:39 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_feature_p): ext might be null.
+ * array.c (ary_alloc): slim setup process.
-Fri Dec 22 17:04:12 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Jul 18 14:37:57 2013 Koichi Sasada <ko1@atdot.net>
- * win32/win32.c (myselect): avoid busy loop by adjusting fd_count.
+ * string.c (str_alloc): no need to clear RString (already cleared).
-Fri Dec 22 15:07:55 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Jul 18 12:57:47 2013 Tanaka Akira <akr@fsij.org>
- * bignum.c (rb_cstr2inum): prefix like '0x' had removed too much.
+ * bignum.c (BDIGITS_ZERO): Defined.
+ (bary_pack): Use BDIGITS_ZERO.
+ (bary_unpack): Ditto.
+ (bary_mul_single): Ditto.
+ (bary_mul_normal): Ditto.
+ (bary_sq_fast): Ditto.
+ (bary_mul_balance_with_mulfunc): Ditto.
+ (bary_mul_precheck): Ditto.
+ (bary_mul_toom3_branch): Ditto.
+ (rb_cstr_to_inum): Ditto.
+ (big_shift3): Ditto.
+ (bigmul1_toom3): Ditto.
+ (bary_divmod): Ditto.
-Thu Dec 21 13:01:46 2000 Tanaka Akira <akr@m17n.org>
+Thu Jul 18 06:30:02 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/ftp.rb (makeport): don't use TCPsocket.getaddress.
+ * gc.c: rename gc related functions with prefix "gc_".
+ * before_gc_sweep() -> gc_before_sweep().
+ * after_gc_sweep() -> gc_after_sweep().
+ * lazy_sweep() -> gc_lazy_sweep().
+ * rest_sweep() -> gc_rest_sweep().
+ * slot_sweep() -> gc_slot_sweep().
-Wed Dec 20 12:00:15 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: rename a heap management function with prefix "heap_".
+ * get_freeobj() -> heap_get_freeobj().
- * bignum.c (rb_big_lshift): should cast up to BDIGIT_DBL.
+ * gc.c: rename markable_object_p() to is_markable_object().
- * parse.y (yylex): disallow trailing '_' for numeric litrals.
+Wed Jul 17 22:57:40 2013 Masaki Matsushita <glass.saga@gmail.com>
- * bignum.c (rb_cstr2inum): allow `_' within converting string.
+ * hash.c (delete_if_i): use ST_DELETE.
- * eval.c (specific_eval): should take no argument if block is
- supplied.
+Wed Jul 17 22:34:47 2013 Tanaka Akira <akr@fsij.org>
-Tue Dec 19 13:44:50 2000 K.Kosako <kosako@sofnec.co.jp>
+ * bignum.c: An static assertion for relation of SIZEOF_LONG and
+ SIZEOF_BDIGITS is added.
+ (bary_mul_precheck): Reduce comparisons.
+ (bary_mul): Invoke bary_sq_fast or bary_mul1 if the bignum size is
+ small.
+ (bigfixize): Resize the argument bignum here.
+ (bignorm): Don't call bigtrunc after bigfixize.
- * io.c (rb_f_p): should flush rb_defout, not stdout.
+Wed Jul 17 22:13:26 2013 Masaki Matsushita <glass.saga@gmail.com>
-Tue Dec 19 00:57:10 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * hash.c (rb_hash_replace): performance improvement by using
+ st_copy().
- * time.c (time_minus): usec might overflow. (ruby-bugs-ja:PR#35)
+Wed Jul 17 17:19:54 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_obj_extend): Object#extend should take at least one
- argument.
+ * gc.c: rename heap management functions with prefix "heap_".
+ * allocate_sorted_array() -> heap_allocate_sorted_array().
+ * slot_add_freeobj() -> heap_slot_add_freeobj().
+ * assign_heap_slot() -> heap_assign_slot().
+ * add_heap_slots() -> heap_add_slots().
+ * init_heap() -> heap_init().
+ * set_heap_increment() -> heap_set_increment().
- * parse.y (mrhs_basic): should check value_expr($3), not $1.
+ * gc.c (initial_expand_heap): inlined in rb_gc_set_params().
-Mon Dec 18 23:18:39 2000 WATANABE Hirofumi <eban@ruby-lang.org>
+Wed Jul 17 17:12:23 2013 Matthew M. Boedicker <matthewm@boedicker.org>
- * util.c (mblen, __crt0_glob_function): add for multibyte
- on DJGPP 2.03.
+ * hash.c (env_fetch): Add key name to message on ENV.fetch KeyError,
+ as well as Hash#fetch. [ruby-core:56062] [Feature #8649]
-Mon Dec 18 18:10:30 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Jul 17 15:59:33 2013 Koichi Sasada <ko1@atdot.net>
- * time.c (time_plus): usec might underflow (ruby-bugs-ja:#PR33).
+ * gc.c: catch up last changes for debugging/checking mode.
-Mon Dec 18 08:11:20 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Jul 17 15:50:10 2013 Koichi Sasada <ko1@atdot.net>
- * hash.c (rb_hash_set_default): should call rb_hash_modify().
+ * gc.c (rb_objspace_free): free slot itself.
-Sat Dec 16 02:58:26 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * gc.c (objspace_each_objects): fix condition.
+ Use slot->body instead of slot.
- * eval.c (rb_eval): should clear ruby_errinfo on retry.
+ * gc.c (count_objects): use "slot" variable.
- * eval.c (rb_rescue2): ditto.
+Wed Jul 17 15:21:10 2013 Koichi Sasada <ko1@atdot.net>
-Thu Dec 14 13:06:18 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * gc.c (unlink_heap_slot): fix memory leak.
+ free slot itself at free_heap_slot().
- * class.c (rb_include_module): prohibit fronzen class/module.
+ Reproduce-able code is here:
+ N1 = 100_000; N2 = 1_000_000
+ N1.times{ary = []; N2.times{ary << ''}}
+ Maybe this problem is remaining in Ruby 2.0.0.
- * eval.c (rb_frozen_class_p): make external.
+ * gc.c (unlink_heap_slot): remove not working code.
- * intern.h (rb_frozen_class_p): prototyped.
+Wed Jul 17 14:31:13 2013 Koichi Sasada <ko1@atdot.net>
- * intern.h (rb_undef): prototyped not but rb_undef_method()
- which is also in ruby.h.
+ * gc.c: re-design the heap structure.
-Thu Dec 14 09:20:26 2000 Wakou Aoyama <wakou@fsinet.or.jp>
+ (1) The heap is consists of a set of slots.
+ (2) Each "slot" has a "slot_body".
+ slot::start and slot::limit specify RVALUE beginning address
+ and number of RVALUE in a "slot_body".
+ (3) "slot_body" contains a pointer to slot (slot_body::header::slot)
+ and an array of RVALUE.
+ (4) heap::sorted is an array of "slots", sorted by an address of
+ slot::body.
- * lib/cgi.rb: support -T1 on ruby 1.6.2
+ See https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/GC_design
+ for more details (figure).
- * lib/cgi.rb: $1 --> Regexp::last_match[1]
+ * gc.c: Avoid "heaps" terminology. It is ambiguous.
- * lib/net/telnet.rb: ditto.
+Wed Jul 17 13:29:16 2013 Koichi Sasada <ko1@atdot.net>
-Wed Dec 13 23:27:06 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: fix heaps_header and heaps_slot to reduce memory consumption.
+ (1) move heaps_header::start and limit to heaps_slot.
+ (2) remove heaps_header::end which can be calculated by start+limit.
- * eval.c (rb_eval): handles case statement without expr, which
- looks for any TRUE (non nil, non false) when expression.
+ * gc.c: catch up above change.
- * parse.y (primary): case expression should not be compstmt, but
- mere expr.
+Wed Jul 17 12:30:05 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (primary): case without following expression is now
- separated rule.
+ * include/ruby/st.h (st_strcasecmp): Macro defined for compatibility.
+ (st_strncasecmp): Ditto.
-Wed Dec 13 12:41:27 2000 WATANABE Hirofumi <eban@ruby-lang.org>
+Wed Jul 17 11:57:45 2013 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
- * ruby.c (proc_options): accept "--^M" for DOS line endings.
+ * lib/cgi/util.rb (CGI::Util#escape, unescape): Avoid use of regexp
+ special global variable. [Feature #8648] Thanks to fotos.
-Tue Dec 12 15:45:42 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Jul 17 11:57:10 2013 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
- * parse.y (newline_node): cancel newline unification.
+ * lib/erb.rb (ERB::Util#url_encode): Avoid use of regexp special global
+ variable. [Feature #8648] Thanks to fotos.
-Mon Dec 11 23:01:57 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Jul 17 08:12:41 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (yylex): supports cases `?' precedes EOF and newline.
+ * st.c (st_locale_insensitive_strcasecmp): Renamed from st_strcasecmp.
+ (st_locale_insensitive_strncasecmp): Renamed from st_strncasecmp.
-Mon Dec 11 12:11:25 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * include/ruby/st.h: Follow above changes.
- * eval.c (call_end_proc): some frame members were left
- uninitialized.
+ * include/ruby/ruby.h: Ditto.
-Mon Dec 11 01:14:58 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Jul 17 00:14:59 2013 Tanaka Akira <akr@fsij.org>
- * io.c (rb_io_fptr_finalize): do not fclose stdin, stdout and
- stderr at exit.
+ * bignum.c (bigmul1_toom3): Use bigdivrem_single instead of bigdivrem.
+ (big_three): Removed.
+ (Init_Bignum): Don't initialize big_three.
-Sat Dec 9 17:34:48 2000 Tachino Nobuhiro <tachino@open.nm.fujitsu.co.jp>
+Tue Jul 16 21:46:03 2013 Masaki Matsushita <glass.saga@gmail.com>
- * time.c (time_cmp): should check with kind_of?, not instance_of?
+ * configure.in: revert r42008. strcasecmp() uses the current locale.
- * time.c (time_eql): ditto.
+ * include/ruby/ruby.h: ditto.
- * time.c (time_minus): ditto.
+ * st.c (st_strcasecmp): ditto.
-Fri Dec 8 17:23:25 2000 Tachino Nobuhiro <tachino@open.nm.fujitsu.co.jp>
+Tue Jul 16 21:07:04 2013 Masaki Matsushita <glass.saga@gmail.com>
- * sprintf.c (rb_f_sprintf): proper string precision treat.
+ * configure.in: check strcasecmp().
-Fri Dec 8 10:44:05 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * include/ruby/ruby.h: use strcasecmp() as st_strcasecmp() if it
+ exists.
- * variable.c (rb_mod_remove_cvar): Module#remove_class_variable
- added.
+ * st.c (st_strcasecmp): define the function only if strcasecmp()
+ doesn't exist.
-Thu Dec 7 17:35:51 2000 Shugo Maeda <shugo@ruby-lang.org>
+Tue Jul 16 20:21:28 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (stack_length): don't use __builtin_frame_address() on alpha.
+ * bignum.c (bigsq): Renamed from bigsqr.
-Wed Dec 6 18:07:13 2000 WATANABE Hirofumi <eban@ruby-lang.org>
+Tue Jul 16 19:42:08 2013 Tanaka Akira <akr@fsij.org>
- * djgpp/config.sed, win32/Makefile.sub: typo.
+ * bignum.c (USHORT): Unused macro removed.
- * eval.c (rb_mod_define_method): avoid VC4.0 warnings.
+Tue Jul 16 19:18:51 2013 Koichi Sasada <ko1@atdot.net>
-Wed Dec 6 13:38:08 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c: slim a path of newobj_of().
- * array.c (rb_ary_and): tuning, make hash from shorter operand.
+ * gc.c (objspace): add a new field objspace::freelist, which contains
+ available RVALUEs.
-Wed Dec 6 01:28:50 2000 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
+ * gc.c (newobj_of): simply call new function `get_freeobj()'.
+ get_freeobj() returns objspace::freelist. If objspace::freelist
+ is not available, refill objspace::freelist with a slot pointed by
+ objspace::heap::free_slots.
- * gc.c (rb_gc): __builtin_frame_address() should not be used on
- MacOS X.
+ * gc.c (before_gc_sweep): clear objspace::freelist.
- * gc.c (Init_stack): ditto.
+ * gc.c (slot_sweep): clear slot::freelist.
-Mon Dec 4 13:44:01 2000 WATANABE Hirofumi <eban@ruby-lang.org>
+ * gc.c (heaps_prepare_freeslot): renamed to heaps_prepare_freeslot.
- * lib/jcode.rb: consider multibyte. not /n.
+ * gc.c (unlink_free_heap_slot): remove unused function.
-Mon Dec 4 09:49:36 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (rb_free_const_table): remove unused function.
- * string.c (rb_str_inspect): output whole string contents. no more `...'
+Tue Jul 16 19:05:12 2013 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_dump): should propagate taintness.
+ * bignum.c (big_shift3): Big shift width is not a problem for right
+ shift.
- * hash.c (env_inspect): hash like human readable output.
+Tue Jul 16 18:50:08 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * variable.c (rb_ivar_get): prohibiting instance variable access
- is too much restriction.
+ * array.c (rb_ary_count): [DOC] fix typo. Array#count uses ==, not
+ ===. a question at asakusa.rb ML.
- * class.c (method_list): retrieving information should not be
- restricted where $SAFE=4.
+Tue Jul 16 18:35:48 2013 Tanaka Akira <akr@fsij.org>
- * class.c (rb_obj_singleton_methods): ditto.
+ * bignum.c (bary_mul_karatsuba): Avoid duplicate calculation when
+ squaring.
+ (bary_mul_toom3_branch): Ditto.
- * eval.c (rb_thread_priority): ditto.
+Tue Jul 16 17:43:22 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_thread_local_aref): ditto.
+ * gc.c (link_free_heap_slot): removed.
- * variable.c (rb_obj_instance_variables): ditto.
+ * gc.c (slot_sweep): use `heaps_add_freeslot' instead of
+ `link_free_heap_slot'.
- * variable.c (rb_mod_const_at): ditto.
+ * gc.c (assign_heap_slot): use local variable `slot' instead of
+ `heaps'.
- * variable.c (rb_mod_class_variables): ditto.
+Tue Jul 16 17:21:39 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_exec_end_proc): end_proc should be preserved.
+ * gc.c (assign_heap_slot): refactoring variable names.
-Sat Dec 2 22:32:43 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * gc.c (slot_add_freeobj): added.
- * eval.c (rb_yield_0): || should accept exactly zero argument.
+ * gc.c (heaps_add_freeslot): added.
- * parse.y (stmt): multiple right hand side for single assignment
- (e.g. a = 1,2) is allowed.
+ * gc.c (finalize_list, rb_gc_force_recycle, slot_sweep): use
+ `slot_add_freeobj' instead of modifying linked list directly.
-Wed Nov 29 07:55:29 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Jul 16 16:30:58 2013 Koichi Sasada <ko1@atdot.net>
- * marshal.c (w_long): dumping long should be smaller than 32bit max.
+ * gc.c (lazy_sweep): refactoring.
- * marshal.c (w_long): shorter long format for small integers(-123..122).
+Tue Jul 16 13:32:06 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * marshal.c (r_long): ditto.
+ * encoding.c (enc_set_index): since r41967, old terminator is dealt
+ with in str_fill_term(). should not consider it here because this
+ function is called before any encoding is set.
-Tue Nov 28 18:10:51 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Jul 16 11:12:03 2013 Masaki Matsushita <glass.saga@gmail.com>
- * eval.c (rb_mod_define_method): quick hack to implement
- on-the-fly method definition. experimental.
+ * proc.c (rb_block_arity): raise ArgumentError if no block given.
-Mon Nov 27 17:00:35 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Jul 16 08:15:22 2013 Zachary Scott <e@zzak.io>
- * eval.c (rb_eval): should not redefine builtin classes/modules
- from within wrapped load.
+ * ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] document top-level
+ classes from BigDecimal utils native extensions
-Mon Nov 27 08:57:33 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Jul 16 03:23:03 2013 Zachary Scott <e@zzak.io>
- * eval.c (call_end_proc): should be isolated from outer block.
+ * numeric.c: [DOC] improve rdoc formatting for parameters and links
-Mon Nov 27 00:10:08 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Jul 15 14:40:00 2013 Tanaka Akira <akr@fsij.org>
- * io.c (rb_io_ctl): call ioctl/fcntl for fptr->f2 too.
+ * include/ruby/intern.h (rb_big2str0): Deprecated.
- * process.c (rb_f_fork): call rb_thread_atfork() after creating
- child process.
+ * bignum.c (rb_big2str1): Renamed from rb_big2str0.
+ (rb_big2str0): Deprecated wrapper for rb_big2str1.
+ (rb_big2str): Invoke rb_big2str1 instead of rb_big2str0.
- * eval.c (rb_thread_atfork): kill all other threads immediately,
- then turn the current thread into the main thread.
+Mon Jul 15 14:13:02 2013 Masaki Matsushita <glass.saga@gmail.com>
-Sat Nov 25 23:12:22 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * struct.c (rb_struct_each_pair): use rb_yield_values(2, key, value)
+ instead of rb_yield(rb_assoc_new(key, value)) if rb_block_arity()
+ is greater than 1.
- * eval.c (ruby_run): move calling point of rb_trap_exit after
- cleaning up threads.
+Mon Jul 15 13:46:26 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (ruby_finalize): new function to call EXIT trap, END
- procs and GC finalizers.
+ * bignum.c: Add static assertions.
- * eval.c (rb_exec_end_proc): prevent recursion.
+Mon Jul 15 13:36:02 2013 Masaki Matsushita <glass.saga@gmail.com>
- * gc.c (rb_gc_call_finalizer_at_exit): ditto.
+ * hash.c (rb_hash_each_pair): performance improvement by using
+ rb_block_arity().
- * signal.c (rb_trap_exit): ditto. made static.
+Mon Jul 15 13:15:37 2013 Masaki Matsushita <glass.saga@gmail.com>
- * process.c (rb_f_fork): should swallow all exceptions from block
- execution.
+ * proc.c (rb_block_arity): create internal API rb_block_arity().
+ it returns arity of given block.
- * process.c (fork_rescue): should call ruby_finalize().
+Mon Jul 15 13:07:27 2013 Yuki Yugui Sonoda <yugui@yugui.jp>
- * parse.y (yycompile): rb_gc() removed. I don't remember why I put
- this here. test code?
+ * lib/prime.rb (Prime::EratosthenesGenerator,
+ Prime::EratosthenesSieve): New implementation by
+ robertjlooby <robertjlooby AT gmail.com>.
-Fri Nov 24 22:03:48 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * test/test_prime.rb: updated with new method name
- * range.c (EXCL): exclusive infomation is now stored in an
- instance variable. this enables proper marshal dump.
+Mon Jul 15 11:32:46 2013 Zachary Scott <e@zzak.io>
- * process.c (proc_waitpid): should clear rb_last_status ($?) if
- no pid was given by waitpid(2).
+ * numeric.c (rb_cNumeric): [DOC] Added comment for Numeric to fix doc
-Thu Nov 23 01:35:38 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Jul 15 11:24:48 2013 Tanaka Akira <akr@fsij.org>
- * process.c (proc_waitpid2): returns nil if no pid found.
+ * bignum.c (maxpow_in_bdigit_dbl): Useless #if removed.
-Wed Nov 22 23:45:15 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Jul 15 11:10:46 2013 Zachary Scott <e@zzak.io>
- * range.c (range_eq): new method. Compares start and end of range
- respectively.
+ * bignum.c (rb_big_coerce): [DOC] Add docs for Bignum#coerce
+ Based on patch by Juanito Fatas [Fixes GH-360]
+ https://github.com/ruby/ruby/pull/360
-Wed Nov 22 11:01:32 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Mon Jul 15 10:56:01 2013 Zachary Scott <e@zzak.io>
- * variable.c (rb_mod_class_variables): should honor singleton
- class variable rule defined yesterday.
+ * thread.c (mutex_sleep): [DOC] Awake thread will reacquire lock
+ By Tim Abdulla [Fixes GH-342] https://github.com/ruby/ruby/pull/342
-Tue Nov 21 23:24:14 2000 Mitsuteru S Nakao <nakao@kuicr.kyoto-u.ac.jp>
+Mon Jul 15 10:45:09 2013 Tanaka Akira <akr@fsij.org>
- * numeric.c (flodivmod): missing second operand (typo).
+ * bignum.c (nlz16): Use __builtin_clz if possible.
+ (nlz32): Use __builtin_clz or __builtin_clzl if possible.
+ (nlz64): Use __builtin_clzl or __builtin_clzll if possible.
+ (nlz128): Use __builtin_clzll if possible.
-Tue Nov 21 03:39:41 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * configure.in: Check __builtin_clz, __builtin_clzl and
+ __builtin_clzll.
- * marshal.c (marshal_load): marshal format compatibility check
- revised. greater minor revision is UPWARD compatibile;
- downward compatibility is not assured.
+Mon Jul 15 09:39:07 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (is_defined): clarify class variable behavior for
- singleton classes. class variables within singleton class
- should be treated like within singleton method.
+ * bignum.c (power_cache_get_power): Use bitsize instead of ceil_log2.
+ (ones): Removed.
+ (next_pow2): Removed.
+ (floor_log2): Removed.
+ (ceil_log2): Removed.
-Mon Nov 20 13:45:21 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * configure.in (__builtin_popcountl): Don't check.
- * eval.c (rb_eval): set ruby_sourceline before evaluating
- exceptions.
+Mon Jul 15 02:47:09 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * gc.c (gc_sweep): defer finalization in GC during compilation or
- interrupt prohibit section.
+ * localeinit.c (rb_locale_charmap, Init_enc_set_filesystem_encoding):
+ move from encoding.c.
- * gc.c (gc_sweep): mark all nodes before sweeping if GC happened
- during compilation.
+ * miniinit.c (rb_locale_charmap, Init_enc_set_filesystem_encoding):
+ define miniruby specific functions only.
- * eval.c (rb_eval): should treat class variables specially in a
- method defined in the singleton class.
+Mon Jul 15 02:32:58 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Nov 20 10:20:21 2000 WATANABE Hirofumi <eban@ruby-lang.org>
+ * encoding.c (rb_enc_init): no longer needs NO_PRESERVED_ENCODING.
- * dir.c, win32/win32.c, ruby.h: add rb_iglob().
+ * encoding.c (enc_inspect): defer loading autoloaded encoding.
-Mon Nov 20 00:18:16 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * encoding.c (enc_check_encoding): use is_data_encoding() to check
+ type consistently.
- * array.c (rb_ary_subseq): should return nil for outbound start
+ * encoding.c (must_encoding): return rb_encoding* instead of encoding
index.
- * marshal.c (marshal_load): show format versions explicitly when
- format version mismatch happens.
-
-Sun Nov 19 06:13:24 2000 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
-
- * marshal.c: use long for string/array length.
-
- * pack.c (swaps): use bit-or(|) instead of plus(+).
-
- * pack.c (swapl): ditto.
-
-Sat Nov 18 15:18:16 2000 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
-
- * array.c (rb_ary_replace): array size should be in long.
-
- * array.c (rb_ary_concat): ditto.
-
- * array.c (rb_ary_hash): ditto.
-
-Sat Nov 18 14:07:20 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/http.rb: Socket#readline() reads until "\n", not "\r\n"
-
-Fri Nov 17 14:55:18 2000 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * string.c (rb_str_succ): output should be NUL terminated.
-
-Fri Nov 17 02:54:15 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * io.c (rb_io_close): need not to flush before closing.
-
- * eval.c (rb_thread_join): should preserve last thread status when
- THREAD_TO_KILL.
-
- * eval.c (rb_thread_stop): ditto.
-
- * io.c (io_fflush): wrap fflush by TRAP_BEG, TRAP_END.
-
- * eval.c (rb_eval): method defined within singleton class
- definition should behave like singleton method about class
- variables.
-
- * eval.c (is_defined): ditto.
-
-Thu Nov 16 23:06:07 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/http.rb: can call {old,new}_implementation any times.
-
- * lib/net/http.rb: HTTP#connecting, receive ->
- common_oper, connecting.
-
- * lib/net/http.rb: output warning if u_header includes
- duplicated header.
-
- * lib/net/http.rb: not check Connection:/Proxy-Connection;
- always read until eof.
-
- * lib/net/protocol.rb: detects and catches "break" from block.
-
-Thu Nov 16 16:32:45 2000 Masahiro Tanaka <masa@stars.gsfc.nasa.gov>
-
- * bignum.c (bigdivrem): should have incremented ny first.
-
-Thu Nov 16 14:58:00 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
-
- * ext/socket/socket.c (sock_new): duplicates file descriptor
- with myfddup() on mswin32/mingw32.
-
- * win32/win32.h: uses system original fdopen().
-
- * win32/win32.c (myfddup): newly added instead of myfdopen().
-
- * win32/win32.c (mybind, myconnect, mygetsockname, mygetsockopt,
- mylisten, mysetsockopt): now accept file descriptor only, not
- SOCKET.
-
- * win32/win32.c (myaccept, mysocket): return file descriptor,
- instead of SOCKET.
-
-Thu Nov 16 10:23:24 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (massign): too strict check for nameless rest argument.
-
- * eval.c (method_arity): mere * should return -1.
-
- * eval.c (intersect_fds): should check all FDs in the fd_set.
-
-Wed Nov 15 19:33:20 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
-
- * eval.c (rb_attr): should clear method cache before calling hook.
-
- * eval.c (rb_eval): ditto.
-
- * eval.c (rb_mod_modfunc): ditto.
-
-Mon Nov 13 22:44:52 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * error.c (rb_bug): print version to stderr.
-
-Mon Nov 13 19:02:08 2000 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * win32/win32.c, io.c, process.c: the exit status of program must be
- multiplied 256 on mswin32 and msdosdjgpp(system(), ``).
-
-Sat Nov 11 22:57:38 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * parse.y (arg): uniformed treatment of -a**b, where a is a
- number literal; hacky but behavior appears more consistent.
-
- * parse.y (newline_node): reduce newline node (one per line).
-
- * random.c (rb_f_srand): should be prohibited in safe level
- greater than 4.
-
-Sat Nov 11 22:37:36 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
-
- * rubysig.h: do not use rb_trap_immediate on win32.
-
- * rubysig.h: new macros, ATOMIC_TEST, ATOMIC_SET, ATOMIC_INC,
- ATOMIC_DEC, RUBY_CRITICAL and new definition of TRAP_BEG,
- TRAP_END.
-
- * gc.c (ruby_xmalloc): should wrap malloc() by RUBY_CRITICAL.
-
- * signal.c (sighandle): better win32 sig handling.
-
- * win32/win32.c (flock): better implementation.
-
- * win32/win32.c (myselect): ditto.
-
- * win32/win32.c (myaccept): ditto.
-
- * win32/win32.c (waitpid): ditto.
-
- * win32/win32.c (myrename): ditto.
-
- * win32/win32.c (wait_events): support function for win32 signal
- handling.
-
-Sat Nov 11 08:34:18 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.31.
-
- * lib/net/http.rb: initializes header in HTTP, not HTTPCommand.
-
- * lib/net/protocol.rb, http.rb: rewrites proxy code.
-
-Fri Nov 10 16:15:53 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * numeric.c (rb_num2long): use to_int, not to_i.
-
- * error.c: T_SYMBOL was misplaced by T_UNDEF.
-
- * parse.y (yylex): eval("^") caused infinite loop.
-
-Thu Nov 9 14:22:13 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * io.c (rb_io_taint_check): should check IO taintness; no
- operation for untainted IO should be allowed in the sandbox.
-
- * rubyio.h (GetOpenFile): check IO taintness inside using
- rb_io_taint_check().
-
-Wed Nov 8 03:08:53 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * io.c (io_fflush): ensure fflush(3) would not block by calling
- rb_thread_fd_writable().
-
-Tue Nov 7 20:29:56 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.30.
-
- * lib/net/protocol.rb, smtp.rb: Command#critical_ok -> error_ok
-
- * lib/net/http.rb: reads header when also "100 Continue".
-
-Tue Nov 7 04:32:19 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * bignum.c (bigdivrem): use bit shift to make y's MSB set.
-
-Mon Nov 6 1:22:49 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * error.c (warn_print): do not use err_append(), to ensure output
- to stderr.
-
- * error.c (rb_warn): use warn_print() instead of err_print().
-
- * error.c (rb_warning): ditto.
-
- * error.c (rb_bug): ditto.
-
- * eval.c (rb_load): re-raise exceptions during load.
-
- * time.c (make_time_t): remove useless adjust
-
-Thu Nov 2 18:01:16 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * random.c (rb_f_rand): half-baked float support fixed. This fix
- was originally proposed by K.Kosako <kosako@sofnec.co.jp>.
-
-Tue Oct 31 17:27:17 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * bignum.c: change digit size to `long|int' if long long is
- available.
-
- * marshal.c (w_object): support `long|int' digits.
-
- * marshal.c (r_object): ditto.
-
-Sat Oct 28 23:54:22 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * parse.y (yylex): allow =end at the end of file (without a
- newline at the end).
-
-Fri Oct 27 10:00:27 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * bignum.c (rb_cstr2inum): should ignore trailing white spaces.
+ * encoding.c (enc_check_encoding): use is_data_encoding() to check
+ type consistently.
- * bignum.c (rb_str2inum): string may not have sentinel NUL.
-
-Fri Oct 27 02:37:22 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * bignum.c (rb_cstr2inum): wrongly assigned base to c before
- badcheck check.
-
-Thu Oct 26 02:42:50 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/protocol.rb: Command#critical_ok
-
- * lib/net/smtp.rb: clear critical flag before go to SMTP
-
-Wed Oct 25 12:30:19 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * array.c (rb_ary_concat): replacing array might be the receiver
- itself. do not call rb_ary_push_m.
-
- * array.c (rb_ary_replace): replacing array might be the receiver
- itself. use memmove.
-
-Fri Oct 20 07:56:23 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_eval): ARGSPUSH should not modify args array.
-
-Thu Oct 19 14:58:17 2000 WATANABE Tetsuya <tetsu@jpn.hp.com>
-
- * pack.c (NUM2U32): should use NUM2ULONG().
-
-Tue Oct 17 17:30:34 2000 WATANABE Hirofumi <eban@ruby-lang.org>
-
- * eval.c (error_print): ruby_sourcefile may be NULL.
-
-Tue Oct 17 16:36:28 2000 Wes Nakamura <wknaka@pobox.com>
-
- * pack.c (NATINT_U32): wrong use of sizeof.
-
-Tue Oct 17 12:48:20 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * eval.c (rb_abort): nil check against ruby_errinfo.
-
- * eval.c (rb_thread_schedule): use FOREACH_THREAD_FROM instead of
- FOREACH_THREAD, since curr_thread may be removed from thread ring.
-
- * eval.c (THREAD_ALLOC): errinfo should be Qnil.
-
- * eval.c (rb_callcc): th->prev,th->next are now already
- initialized in THREAD_ALLOC.
-
-Mon Oct 16 15:37:33 2000 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
-
- * eval.c (rb_thread_inspect): tag size was shorter than required.
-
- * object.c (rb_obj_inspect): ditto.
-
-Mon Oct 16 14:25:18 2000 Shugo Maeda <shugo@ruby-lang.org>
-
- * object.c (sym_inspect): used `name' before initialization.
-
-Mon Oct 16 14:06:00 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * pack.c (pack_pack): use NATINT_U32 for 'l', 'L', and 'N'.
-
- * pack.c (I32,U32): 32 bit sized integer.
-
- * pack.c (OFF16,OFF32B): big endian offset for network byteorder.
-
-Mon Oct 16 06:39:32 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/http.rb: hex-alpha is not [a-h] but [a-f].
-
-Mon Oct 16 01:02:02 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_thread_start_0): should not abort on exception if
- $SAFE >= 4.
-
- * parse.y (sym): symbols for class variable names.
-
-Sun Oct 15 01:49:18 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * file.c (rb_file_flock): should accept interrupt.
-
- * process.c (rb_waitpid): ditto.
-
- * process.c (rb_waitpid): ditto.
-
- * process.c (proc_wait): ditto.
-
- * process.c (proc_waitpid2): wrong recursion.
-
-Sat Oct 14 03:32:13 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_thread_alloc): should not link a new thread in the
- live thread ring before initialization.
-
-Fri Oct 13 17:08:09 2000 Shugo Maeda <shugo@ruby-lang.org>
-
- * lib/net/imap.rb: new file.
-
-Thu Oct 12 18:56:28 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/pop.rb: POP3#reset
-
- * lib/net/http.rb: a code for "Switch Protocol" was wrongly 100.
-
-Thu Oct 12 01:23:38 2000 Wakou Aoyama <wakou@fsinet.or.jp>
-
- * lib/cgi.rb: bug fix: CGI::html(): PRETTY option didn't work.
-
-Thu Oct 12 00:03:02 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * object.c (sym_inspect): should adjust string length.
-
- * struct.c (rb_struct_to_s): ditto.
-
- * struct.c (rb_struct_inspect): ditto.
-
-Wed Oct 11 22:15:47 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * eval.c (rb_thread_inspect): should adjust string length.
-
- * object.c (rb_any_to_s): ditto.
-
- * object.c (rb_obj_inspect): ditto.
-
-Wed Oct 11 18:13:50 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_thread_start_0): should check insecure exit.
-
-Wed Oct 11 14:29:51 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/protocol.rb: 2nd arg for ProtocolError#initialize is
- optional.
-
- * lib/net/http.rb: code refining.
-
-Wed Oct 11 11:13:03 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * encoding.c (must_encoding): return rb_encoding* instead of encoding
+ index.
- * parse.y (primary): setter method (e.g. foo=) should always be
- public.
+Mon Jul 15 02:21:39 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_thread_raise): should not raise SecurityError if
- exception raised by the interpreter.
+ * string.c (str_fill_term): consider old terminator length, and should
+ not use rb_enc_ascget since it depends on the current encoding which
+ may not be compatible with the new terminator. [Bug #8634]
- * eval.c (rb_thread_cleanup): skip all THREAD_KILLED threads
- before FOREACH_THREAD.
+ * encoding.c (enc_inspect): use PRIsVALUE to preserve the result
+ encoding.
-Tue Oct 10 16:11:54 2000 WATANABE Hirofumi <eban@ruby-lang.org>
+Sun Jul 14 23:21:47 2013 Tanaka Akira <akr@fsij.org>
- * dln.c (dln_load): remove unused code for Cygwin.
+ * configure.in: Check __builtin_popcountl, __builtin_bswap32 and
+ __builtin_bswap64.
-Tue Oct 10 09:49:23 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * internal.h (swap32): Use the configure result for the condition to
+ use __builtin_bswap32.
+ (swap64): Use the configure result for the condition to use
+ __builtin_bswap64.
- * file.c (Init_File): FileTest.size should return 0 (not nil) for
- empty files.
+ * bignum.c (ones): Use the configure result for the condition to use
+ __builtin_popcountl.
+ (bary_unpack_internal): Use appropriate types for swap argument.
-Sun Oct 8 13:20:26 2000 Guy Decoux <decoux@moulon.inra.fr>
+Sun Jul 14 22:21:11 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (POP_SCOPE): not just set SCOPE_DONT_RECYCLE, but do
- scope_dup().
+ * bignum.c (bary_subb): Support xn < yn.
+ (bigsub_core): Removed.
+ (bigsub): Don't compare before subtraction. Just subtract and
+ get the two's complement if the subtraction causes a borrow.
-Sat Oct 7 15:10:50 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Sun Jul 14 00:36:03 2013 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_reverse_bang): unnecessary ALLOCA_N() was
- removed.
+ * bignum.c (DIGSPERLONG): Unused macro removed.
+ (DIGSPERLL): Ditto.
-Fri Oct 6 14:50:24 2000 WATANABE Hirofumi <eban@ruby-lang.org>
+Sun Jul 14 00:32:51 2013 Tanaka Akira <akr@fsij.org>
- * ext/extmk.rb.in, lib/mkmf.rb: remove "DESTDIR =".
+ * bignum.c (rb_big_aref): Less scan when the number is negative.
- * Makefile.in, win32/Makefile.sub, ruby.1: renamed -X to -C.
+Sun Jul 14 00:17:42 2013 Tanaka Akira <akr@fsij.org>
-Fri Oct 6 12:50:52 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (big_shift): Avoid signed integer overflow.
- * array.c (rb_ary_plus): use to_ary(), not Check_Type().
+Sun Jul 14 00:14:15 2013 Tanaka Akira <akr@fsij.org>
- * array.c (rb_ary_concat): ditto.
+ * bignum.c (bary_mul_precheck): Use bary_small_lshift or
+ bary_mul_normal if xl is 1.
- * gc.c (rb_gc): use __builtin_frame_address() for gcc.
+Sat Jul 13 22:58:16 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (stack_length): ditto.
+ * bignum.c (big_shift3): New function.
+ big_lshift and big_rshift are merged.
+ (big_shift2): New function.
+ (big_lshift): Use big_shift3.
+ (big_rshift): Ditto.
+ (check_shiftdown): Removed.
+ (rb_big_lshift): Use big_shift2 and big_shift3.
+ (rb_big_rshift): Ditto.
+ (big_lshift): Removed.
+ (big_rshift): Ditto.
- * parse.y (assign_in_cond): stop warning till some better warning
- condition will be found.
+Sat Jul 13 15:51:38 2013 Tanaka Akira <akr@fsij.org>
-Thu Oct 5 18:02:39 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (bary_small_lshift): Use size_t instead of long.
+ (bary_small_rshift): Ditto.
- * object.c (rb_obj_dup): should have propagated taint flag.
- (ruby-bugs:#PR64,65)
+Sat Jul 13 15:33:33 2013 Tanaka Akira <akr@fsij.org>
-Wed Oct 4 00:26:11 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (bary_small_lshift): Functions moved to remove
+ declaration.
+ (bary_small_rshift): Ditto.
- * eval.c (proc_arity): proc{|a|}'s arity should be -1.
+Sat Jul 13 12:27:34 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Oct 2 05:28:58 2000 akira yamada <akira@ruby-lang.org>
+ * encoding.c (rb_enc_associate_index): fill new terminator length, not
+ old one.
- * string.c (trnext): minus at the end of pattern.
+Sat Jul 13 12:24:24 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Oct 1 00:43:34 2000 WATANABE Hirofumi <eban@ruby-lang.org>
+ * ext/win32: move from ext/dl and ext/fiddle. since ext/extmk.rb
+ builds extensions in alphabetical order, compiled?('fiddle') under
+ ext/dl makes no sense.
- * configure.in: exp-name was wrong on cygwin and mingw32.
+Sat Jul 13 09:26:09 2013 Tanaka Akira <akr@fsij.org>
-Thu Sep 28 14:57:09 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (biglsh_bang): Removed.
+ (bigrsh_bang): Ditto.
+ (bigmul1_toom3): Use bary_small_lshift and bary_small_rshift.
- * regex.c (re_compile_pattern): should try must_string calculation
- every time.
+Sat Jul 13 01:04:43 2013 Zachary Scott <e@zzak.io>
-Tue Sep 19 23:47:44 2000 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
+ * lib/rubygems/psych_additions.rb: Ignore Psych docs here
- * configure.in, config.guess, config.sub: MacOS X support.
+Fri Jul 12 18:10:46 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Wed Sep 27 18:40:05 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/fiddle/win32/lib/win32/registry.rb
+ (Win32::Registry::API#make_wstr): same as r41922.
- * stable version 1.6.1 released.
+Fri Jul 12 16:28:37 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Sep 27 16:13:05 2000 WATANABE Hirofumi <eban@ruby-lang.org>
+ * encoding.c (rb_enc_associate_index): refill the terminator if it
+ becomes longer than before. [ruby-dev:47500] [Bug #8624]
- * mkconfig.rb: variables should be expanded only if /\$\{?\w+\}?/.
+ * string.c (str_null_char, str_fill_term): get rid of out of bound
+ access.
-Tue Sep 26 18:09:51 2000 WATANABE Hirofumi <eban@ruby-lang.org>
+ * string.c (rb_str_fill_terminator): add a parameter for the length of
+ new terminator.
- * string.c: include <math.h>
+Fri Jul 12 11:26:25 2013 Masaki Matsushita <glass.saga@gmail.com>
-Tue Sep 26 15:59:50 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * hash.c (rb_hash_reject_bang): do not call rb_hash_foreach() if RHash
+ has ntbl and it is empty.
- * object.c (rb_mod_dup): metaclasses of class/module should not be
- cleared by rb_obj_dup.
+Fri Jul 12 11:17:41 2013 Masaki Matsushita <glass.saga@gmail.com>
-Tue Sep 26 02:44:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * hash.c (recursive_hash): use RHASH_SIZE() to check hash size.
- * gc.c (GC_MALLOC_LIMIT): size extended.
+Fri Jul 12 00:20:00 2013 Masaki Matsushita <glass.saga@gmail.com>
- * regex.c (DOUBLE_STACK): use machine's stack region for regex
- stack if its size is small enough.
+ * hash.c (rb_hash_size): use RHASH_SIZE().
-Mon Sep 25 18:13:07 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Fri Jul 12 00:08:24 2013 Masaki Matsushita <glass.saga@gmail.com>
- * regex.c: include <defines.h>.
+ * hash.c (rb_hash_values): set array capa to RHASH_SIZE().
- * eval.c (rb_add_method): cache mismatch by method
- definition. need to clear_cache_by_id every time.
+Thu Jul 11 23:54:45 2013 Masaki Matsushita <glass.saga@gmail.com>
-Mon Sep 25 13:31:45 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * hash.c (rb_hash_keys): set array capa to RHASH_SIZE().
- * win32/win32.c (NtCmdGlob): substitute '\\' with '/'.
+Thu Jul 11 21:30:17 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Sep 25 00:35:01 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * win32/win32.c (rb_w32_pow): undef pow to get rid of infinite
+ recursive call. re-fix [Bug #8495]. [ruby-core:55923] [Bug #8621]
- * defines.h: #undef HAVE_SETITIMER on cygwin.
+Thu Jul 11 20:18:13 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Sep 24 03:01:53 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * ext/dl/win32/lib/win32/registry.rb (Win32::Registry::API#make_wstr):
+ remove workaround to append WCHAR terminator.
- * lib/net/protocol.rb, http.rb: typo.
+ * transcode.c (str_encode_associate): fill terminator after conversion.
-Sat Sep 23 07:33:20 2000 Aleksi Niemela <aleksi.niemela@cinnober.com>
+ * string.c (rb_enc_str_new, rb_str_set_len, rb_str_resize): fill
+ minimum length of the encoding as the terminator.
- * regex.c (re_compile_pattern): nicer regexp error messages for
- invalid patterns.
+ * string.c (str_buf_cat, rb_str_buf_append, rb_str_splice_0): ditto.
-Sat Sep 23 03:06:25 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * string.c (str_make_independent_expand, rb_str_modify_expand): make
+ the capacity enough for multi-byte terminator.
- * variable.c (rb_autoload_load): should not require already
- provided features.
+ * string.c (rb_string_value_cstr): fill minimum length of the encoding
+ as the terminator.
-Fri Sep 22 15:46:21 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * string.c (rb_string_value_cstr): check null char in char, not in
+ byte.
- * lib/net/http.rb: too early parameter expansion in string.
+Thu Jul 11 14:48:35 2013 Zachary Scott <e@zzak.io>
-Fri Sep 22 13:58:51 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * array.c: Replace confusing example for #reverse_each in overview
+ Patch by Earl St Sauver [Fixes documenting-ruby/ruby-12]
+ https://github.com/documenting-ruby/ruby/pull/12
- * ext/extmk.rb.in: don't use default $:
+Thu Jul 11 14:22:37 2013 Zachary Scott <e@zzak.io>
-Fri Sep 22 13:42:50 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * test/drb/ut_eq.rb: Use localhost for drb tests [Bug #7311]
+ Patch by Vit Ondruch [ruby-core:49101]
+ * test/drb/ut_array.rb: ditto
+ * test/drb/ut_array_drbssl.rb: ditto
- * regex.c (PUSH_FAILURE_COUNT): avoid casting warning on alpha.
+Thu Jul 11 13:48:03 2013 Zachary Scott <e@zzak.io>
- * regex.c (PUSH_FAILURE_POINT): ditto.
+ * sprintf.c: Fix typo patch by @hynkle [Fixes GH-357]
+ https://github.com/ruby/ruby/pull/357
-Fri Sep 22 10:16:21 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+Thu Jul 11 13:00:34 2013 Zachary Scott <e@zzak.io>
- * win32/config.h.in: add HAVE_TELLDIR, HAVE_SEEKDIR
+ * lib/securerandom.rb: Refactor conditions by Rafal Chmiel
+ [Fixes GH-326] https://github.com/ruby/ruby/pull/326
-Thu Sep 21 19:04:34 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+Thu Jul 11 12:04:47 2013 Tanaka Akira <akr@fsij.org>
- * ext/extmk.rb, lib/mkmf.rb (install_rb): check whether libdir is
- directory or not.
+ * bignum.c: Don't use toom3 after once karatsuba is chosen.
+ (mulfunc_t): New type.
+ (bary_mul_toom3_start): Renamed from bary_mul.
+ (bary_mul_karatsuba_start): Renamed from bary_mul.
+ (bary_mul_balance_with_mulfunc): Renamed from bary_mul_balance and
+ new argument, mulfunc, is added.
+ (rb_big_mul_balance): Invoke bary_mul_balance_with_mulfunc with
+ bary_mul_toom3_start.
+ (bary_mul_karatsuba): Invoke bary_mul_karatsuba_start instead of
+ bary_mul.
+ (bary_mul_precheck): Extracted from bary_mul.
+ (bary_mul_karatsuba_branch): Extracted from bary_mul.
+ (bary_mul_karatsuba_start): New function to call bary_mul_precheck
+ and bary_mul_karatsuba_branch.
+ (bary_mul_toom3_branch): Extracted from bary_mul.
+ (bary_mul_toom3_start): New function to call bary_mul_precheck and
+ bary_mul_toom3_branch.
+ (bary_mul): Just call bary_mul_toom3_start.
+ Arguments for work memory are removed.
+ (rb_cstr_to_inum): Follow the bary_mul change.
+ (bigmul0): Ditto.
-Thu Sep 21 17:23:05 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Thu Jul 11 10:46:38 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * file.c (rb_file_s_symlink): use HAVE_SYMLINK.
+ * tool/probes_to_wiki.rb: fix usage comment. use Enumerable#grep
+ which yields each elements to reduce unnecessary array.
- * file.c (rb_file_s_readlink): use HAVE_READLINK.
+Thu Jul 11 10:09:18 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * dir.c (dir_tell): use HAVE_TELLDIR.
+ * process.c (rb_daemon): daemon(3) is implemented with fork(2).
+ Therefore it needs rb_thread_atfork(). (and revert r41903)
- * dir.c (dir_seek): use HAVE_SEEKDIR.
+Thu Jul 11 03:22:10 2013 Aaron Patterson <aaron@tenderlovemaking.com>
- * configure.in (AC_CHECK_FUNCS): lstat, symlink, readlink,
- telldir, seekdir checks added.
+ * tool/probes_to_wiki.rb: adding a script to convert probes.d to wiki
+ format for easy wiki updates.
- * file.c (lstat): should use stat(2) if lstat(2) is not
- available.
+Thu Jul 11 00:54:07 2013 Zachary Scott <zachary@zacharyscott.net>
-Thu Sep 21 15:59:23 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * man/ri.1: Incorrect use of .Dd macro [Bug #8620] by Tristan Hill
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.29.
+Thu Jul 11 00:48:29 2013 Zachary Scott <zachary@zacharyscott.net>
- * lib/net/http.rb: HTTPReadAdapter -> HTTPResponseReceiver
+ * lib/delegate.rb: Add example for __setobj__ and __getobj__
+ [Bug #8615] Patch by Caleb Thompson
- * lib/net/http.rb (connecting): response is got in receive()
+Wed Jul 10 23:29:22 2013 Zachary Scott <zachary@zacharyscott.net>
-Thu Sep 21 15:49:07 2000 Wayne Scott <wscott@ichips.intel.com>
+ * lib/logger.rb: Use :call-seq: for method signature rdoc
- * lib/find.rb (find): should not follow symbolic links;
- tuned performance too.
+Wed Jul 10 23:23:18 2013 Zachary Scott <zachary@zacharyscott.net>
-Wed Sep 20 23:21:38 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/logger.rb (#add): Remove incorrect rdoc for return value
+ [Bug #8567] Reported by Tim Pease.
- * ruby.c (load_file): two Ctrl-D was required to stop ruby at the
- beginning of stdin script read.
+Wed Jul 10 23:12:00 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Sep 20 14:01:45 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * string.c (rb_str_subpos): make public function.
- * eval.c (rb_provided): detect infinite load loop.
+Wed Jul 10 22:44:19 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_provided): too weak filename comparison.
+ * bignum.c: Add a static assertion for RBIGNUM_EMBED_LEN_MAX.
- * eval.c (rb_thread_alloc): avoid recycling still referenced
- dvar structures.
+Wed Jul 10 22:31:25 2013 Masaki Matsushita <glass.saga@gmail.com>
- * eval.c (rb_callcc): ditto.
+ * string.c (rb_str_index): cache single byte flag and some
+ cosmetic changes.
- * eval.c (THREAD_ALLOC): fiil dyna_vars field by ruby_dyna_vars.
+Wed Jul 10 22:03:27 2013 Tanaka Akira <akr@fsij.org>
-Tue Sep 19 17:47:03 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (bary_2comp): Don't use bary_plus_one.
+ (bary_add_one): Replaced by the implementation of bary_plus_one.
- * stable version 1.6.0 released.
+Wed Jul 10 20:48:22 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Sep 19 16:24:52 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (sizeof_bdigit_dbl): check sizeof(BDIGIT_DBL).
- * marshal.c (Init_marshal): provide marshal.so no more.
+ * internal.h (STATIC_ASSERT): move from enum.c.
-Tue Sep 19 14:01:01 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+Wed Jul 10 20:08:21 2013 Tanaka Akira <akr@fsij.org>
- * configure.in, win32/setup.mak: include version number
- in RUBY_SO_NAME.
+ * bignum.c (SIZEOF_BDIGIT_DBL): Add a ifdef guard for test.
-Tue Sep 19 13:07:47 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Jul 10 14:18:59 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (yylex): was confusing $~ and $_.
+ * process.c (fork_daemon): kill the other threads all and abandon the
+ kept mutexes.
-Tue Sep 19 13:06:53 2000 GOTOU YUUZOU <gotoyuzo@notwork.org>
+Wed Jul 10 11:35:36 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * signal.c (rb_f_kill): signum may be a negative number, should be
- treated by signed number.
+ * test/net/http/test_http.rb (TestNetHTTP_v1_2#test_get,
+ TestNetHTTP_v1_2_chunked#test_get): shouldn't check
+ HttpResponse#decode_content if Zlib is not available.
+ ko1 complained via IRC.
-Tue Sep 19 01:14:56 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Wed Jul 10 10:20:07 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * eval.c (rb_provide): better feature handling.
+ * tool/rbinstall.rb: always require rubygems to stabilize rubygems
+ related status like whether Gem::Specification is defined or not.
- * eval.c (rb_f_require): loading ruby library may be partial
- state. checks in rb_thread_loading is integrated.
+ * tool/rbinstall.rb (Gem::Specification.unresolved_deps): define stub.
- * eval.c (rb_provided): better thread awareness.
+Wed Jul 10 08:21:15 2013 Eric Hodel <drbrain@segment7.net>
- * lib/irb/frame.rb: 6 (not 5) parameters for trace_func proc.
+ * lib/rubygems: Import RubyGems 2.1
+ * test/rubygems: Ditto.
- * eval.c (error_print): should print error position even if
- get_backtrace() failed.
+Wed Jul 10 07:34:34 2013 Eric Hodel <drbrain@segment7.net>
-Sat Sep 16 03:29:59 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/rubygems/ext/ext_conf_builder.rb: Remove siteconf file after
+ building the gem.
+ * test/rubygems/test_gem_ext_ext_conf_builder.rb: Test for the above.
- * eval.c (rb_f_require): rb_provided() was called too early; does
- not work well with threads.
+ * lib/rubygems/psych_tree.rb (module Gem): Add backward compatibility
+ for r41148
- * parse.y (ensure): should distinguish empty ensure and non
- existing ensure.
+ * test/rubygems/test_gem_package.rb: Add backward compatibility for
+ double-slash elimination.
- * file.c (Init_File): extending File by class of FileTest was
- serious mistake.
+Wed Jul 10 06:22:27 2013 Tadayoshi Funaba <tadf@dotrb.org>
-Thu Sep 14 02:46:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/date/date_parse.c (date_zone_to_diff): [ruby-core:55831].
- * eval.c (rb_thread_yield): array strip should be done in this
- function.
+Wed Jul 10 00:41:42 2013 Tanaka Akira <akr@fsij.org>
-Wed Sep 13 17:01:03 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (bary_mul): x*1 is x.
- * bignum.c (rb_big_eq): incomplete value comparison of bignums.
+Tue Jul 9 22:24:39 2013 Tanaka Akira <akr@fsij.org>
-Wed Sep 13 06:39:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * bignum.c (bary_mul1): No need to invoke MEMZERO at last.
+ (bary_mul_single): Invoke MEMZERO here.
- * variable.c (rb_mod_class_variables): Module#class_variables added.
+Tue Jul 9 21:40:01 2013 Kouhei Sutou <kou@cozmixng.org>
-Wed Sep 13 06:09:26 2000 Wakou Aoyama <wakou@fsinet.or.jp>
+ * test/rexml/test_text.rb: Add missing tests for Text#<<.
+ Reported by nagachika. Thanks!!!
- * lib/cgi.rb: bug fix: CGI::header(): output status header.
+Tue Jul 9 18:02:38 2013 Akinori MUSHA <knu@iDaemons.org>
-Wed Sep 13 01:09:12 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/fileutils.rb (FileUtils#chown_R): Do not skip traversal even
+ if user and group are both nil, to be consistent with #chown and
+ other commands.
- * parse.y (yylex): allow global variables like '$__a'.
+Tue Jul 9 17:58:26 2013 Akinori MUSHA <knu@iDaemons.org>
-Tue Sep 12 22:28:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * test/fileutils/test_fileutils.rb
+ (TestFileUtils#assert_output_lines): New utility assertion
+ method for testing verbose output.
- * ext/socket/extconf.rb: avoid using terrible <netinet/tcp.h>
- on cygwin 1.1.5.
+Tue Jul 9 17:43:57 2013 Koichi Sasada <ko1@atdot.net>
-Tue Sep 12 16:01:58 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * test/test_tracer.rb: catch up recent rubygems changes.
- * array.c (rb_ary_unshift_m): typo.
+Tue Jul 9 16:58:30 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Tue Sep 12 15:37:55 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * ext/{dl,fiddle}/win32/lib/win32/registry.rb: hope that the final
+ resolution to fix the failure of test-all. and includes Win64
+ support (fixed a potential bug).
- * eval.c (rb_yield_0): stripped array too much, should remove just
- for proc_call().
+Tue Jul 9 15:57:20 2013 Akinori MUSHA <knu@iDaemons.org>
-Tue Sep 12 07:05:24 2000 Wakou Aoyama <wakou@fsinet.or.jp>
+ * object.c: Fix rdoc for Kernel#<=>. [Fixes GH-352]
- * lib/cgi.rb: version 2.0.0: require ruby1.5.4 or later.
+Tue Jul 9 15:53:51 2013 Akinori MUSHA <knu@iDaemons.org>
- * lib/net/telnet.rb: version 1.6.0
+ * lib/fileutils.rb (FileUtils#mode_to_s): Define mode_to_s() also
+ as singleton method, or FileUtils.chmod fails in verbose mode.
-Tue Sep 12 03:26:07 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Jul 9 15:16:02 2013 Akinori MUSHA <knu@iDaemons.org>
- * eval.c (massign): use to_ary to get an array if available.
+ * test/fileutils/fileasserts.rb
+ (Test::Unit::FileAssertions#assert_not_symlink): Add a missing
+ optional argument "message".
- * object.c (rb_Array): ditto.
+Tue Jul 9 15:03:24 2013 Akinori MUSHA <knu@iDaemons.org>
-Mon Sep 11 14:24:47 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * lib/fileutils.rb (FileUtils#chown, FileUtils#chown_R): If user
+ and group are both nil, print ":".
- * hash.c (ruby_setenv): should not free the element of
- origenvironment.
+Tue Jul 9 12:47:08 2013 Masaki Matsushita <glass.saga@gmail.com>
- * parse.y (command_call): kYIELD moved to this rule to allow
- 'a = yield b'. (ruby-bugs-ja:#PR15)
+ * io.c (appendline): use READ_CHAR_PENDING_XXX macros and
+ RSTRING_END().
-Mon Sep 11 01:27:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+ * io.c (rb_io_getline_1): rewrite nested if statement into one
+ statement.
- * eval.c (rb_yield_0): proc#call([]) should pass single value to
- the block.
+Tue Jul 9 11:04:35 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * eval.c (callargs): reduce array allocation.
+ * ext/{dl,fiddle}/win32/lib/win32/registry.rb (Win32::Registry#check):
+ should report the position of the error.
- * eval.c (massign): precise check for argument number.
+ * ext/{dl,fiddle}/win32/lib/win32/registry.rb
+ (Win32::Registry#QueryValue): workaround for test-all crash.
-Fri Sep 8 10:05:17 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
+Tue Jul 9 10:27:56 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * gc.c (STR_NO_ORIG): should be FL_USER2.
-
-Thu Sep 7 14:17:51 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * string.c (rb_str_cat): should work even for concatenating same
+ * ext/{dl,fiddle}/win32/lib/win32/registry.rb
+ (Win32::Registry.expand_environ): use suitable encoding for the
string.
-Wed Sep 6 17:06:38 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * variable.c (rb_cvar_declare): should check superclass's class
- variable first.
-
-Wed Sep 6 10:42:02 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * misc/ruby-mode.el (ruby-calculate-indent): shift continuing line
- if previous line ends with modifier keyword.
-
- * misc/ruby-mode.el (ruby-parse-region): should not give up if
- modifiers are at the end of line.
-
- * misc/ruby-mode.el (ruby-expr-beg): indented wrongly if modified
- statement was size 1.
-
-Wed Sep 6 10:41:19 2000 Kenichi Komiya <kom@mail1.accsnet.ne.jp>
-
- * misc/ruby-mode.el (ruby-parse-region): modifier was not handled
- well on emacs19.
-
-Tue Sep 5 17:10:12 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * time.c (time_to_s): fixed zone string UTC for utc time object.
-
-Tue Sep 5 00:26:06 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * regex.c (re_search): range worked wrongly on bm_search().
-
-Mon Sep 4 13:40:40 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * configure.in: renamed libruby.a to libruby.{cygwin,mingw32}.a
- on cygwin and mingw32.
-
-Sun Sep 3 23:44:04 2000 Noriaki Harada <tenmei@maoh.office.ne.jp>
-
- * io.c (NO_SAFE_RENAME): for BeOS too.
-
-Sun Sep 3 11:31:53 2000 Takaaki Tateishi <ttate@jaist.ac.jp>
-
- * parse.y (rescue): no assignment was done if rescue body was
- empty.
-
-Sat Sep 2 10:52:21 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * parse.y (call_args,aref_args): block_call can be the last
- argument.
-
- * parse.y (COND_PUSH,COND_POP): maintain condition stack to allow
- kDO2 in parentheses in while/until/for conditions.
-
- * parse.y (yylex): generate kDO2 for EXPR_ARG outside of
- while/until/for condition.
-
-Fri Sep 1 10:36:29 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * parse.y (aref_args,opt_call_args): add block_call to allow a
- method without parentheses and with block as a last argument.
-
- * hash.c (rb_hash_sort): should not return nil.
-
- * re.c (match_aref): should use rb_reg_nth_match().
-
- * eval.c (POP_SCOPE): recycled scopes too much
-
- * eval.c (Init_eval): extend room for stack allowance.
-
- * eval.c (POP_SCOPE): frees scope too much.
-
-Thu Aug 31 14:28:39 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * gc.c (rb_gc_mark): T_SCOPE condition must be more precise.
-
- * eval.c (scope_dup): should not make all duped scope orphan.
-
-Thu Aug 31 10:11:47 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * parse.y (stmt): allow stmt_rhs to be right hand side of multiple
- assignment.
-
- * time.c (rb_time_timeval): type error should not mention the word
- 'interval'.
-
-Wed Aug 30 23:21:20 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * numeric.c (rb_num2long): use rb_Integer() instead of independent
- convert routine.
-
- * eval.c (rb_rescue2): now takes arbitrary number of exception types.
-
- * object.c (rb_convert_type): use rb_rescue2 now to handle NameError.
-
- * object.c (rb_convert_type): better error message.
-
-Wed Aug 30 17:09:14 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * ext/Win32API/Win32API.c (Win32API_initialize): AlphaNT support.
-
-Wed Aug 30 14:19:07 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * parse.y (node_assign): should support NODE_CVASGN2 too.
-
-Wed Aug 30 11:31:47 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
-
- * ext/Win32API/Win32API.c (Win32API_initialize): add the
- arguments checking.
-
- * ext/Win32API/Win32API.c (Win32API_initialize): add taint
- checking. allow String object in the third argument.
-
-Wed Aug 30 10:29:40 2000 Masahiro Tomita <tommy@tmtm.org>
-
- * io.c (rb_f_p): flush output buffer.
-
-Tue Aug 29 16:29:15 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * parse.y (assignable): remove NODE_CVASGN3.
-
- * parse.y (gettable): remove NODE_CVAR3.
-
-Tue Aug 29 02:02:14 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * lib/mkmf.rb (create_makefile): handles create_makefile("a/b").
-
- * ext/extmk.rb.in (create_makefile): ditto
-
-Mon Aug 28 18:43:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (is_defined): now handles class variables.
-
- * eval.c (rb_eval): class variable behavior revisited.
-
- * parse.y (assignable): ditto.
-
- * parse.y (gettable): ditto.
-
- * regex.c (PUSH_FAILURE_COUNT): push/pop interval count on failure
- stack. this fix is inspired by the Emacs21 patch from Stefan
- Monnier <monnier@cs.yale.edu>.
-
-Fri Aug 25 15:24:39 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * variable.c (rb_cvar_get): should not follow __attached__.
-
- * variable.c (rb_cvar_set): ditto.
-
- * variable.c (rb_cvar_declare): ditto.
-
- * variable.c (mod_av_set): second class variable assignment at the
- toplevel should not give warning.
-
-Fri Aug 25 01:18:36 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * io.c (next_argv): prepare path for open file.
-
- * string.c (rb_str_setter): moved from io.c.
-
- * io.c (next_argv): filename should be "-" for refreshed ARGF.
-
-Thu Aug 24 15:27:39 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * ext/socket/socketport.h: use `extern int h_errno' if needed.
-
-Sat Aug 19 01:34:02 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * ext/sdbm/_sdbm.c (sdbm_prep): flags should be or-ed by O_BINARY on
- Win32 too.
-
- * ext/sdbm/_sdbm.c (makroom): fill hole with 0 on Win32 too.
-
-Fri Aug 18 13:23:59 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_eval): should preserve and clear $! value before
- compilation.
-
- * eval.c (eval): ditto.
-
-Fri Aug 18 11:06:19 2000 Shugo Maeda <shugo@ruby-lang.org>
-
- * ext/socket/socket.c (s_accept): start GC on EMFILE/ENFILE.
-
-Thu Aug 17 16:04:48 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (is_defined): should clear ruby_errinfo.
-
-Thu Aug 17 04:26:31 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.27.
-
- * lib/net/protocol.rb: writing methods returns written byte size.
-
- * lib/net/smtp.rb: send_mail accepts many destinations.
-
-Wed Aug 16 00:43:47 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * time.c (time_s_times): use CLK_TCK for HZ if it's defined.
-
-Tue Aug 15 17:30:59 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (frame_dup): should set flag FRAME_MALLOC after
- argv allocation.
-
- * eval.c (blk_free): should not free argv if GC was called before
- frame_dup.
-
-Tue Aug 15 16:08:40 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * configure.in: add ac_cv_func_times=yes for mingw32.
-
- * win32/win32.c (mytimes): typo.
-
-Tue Aug 15 01:45:28 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * io.c (argf_eof): should return true at the end of ARGF without
- checking stdout if arguments are given.
-
-Mon Aug 14 10:34:32 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_thread_status): status should return false for normal
- termination, nil for termination by exception.
-
-Fri Aug 11 15:43:46 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_undef): give warning for undefining __id__, __send__.
-
-Thu Aug 10 08:05:03 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_callcc): returned current thread instead of
- continuation wrongly.
-
-Thu Aug 10 05:40:28 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * ext/extmk.rb.in: $CPPFLAGS should be initialized.
-
- * ext/tcltklib/depend: add stubs.o.
-
- * ext/tcltklib/extconf.rb: use $CPPFLAGS instead of $CFLAGS.
-
-Wed Aug 9 16:31:48 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * eval.c (rb_callcc): thread status for continuations must be
- THREAD_KILLED, otherwise thread_free() breaks other threads.
-
-Wed Aug 9 13:24:25 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * win32/win32.[ch]: emulate rename(2).
-
-Tue Aug 8 14:01:46 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * ext/tcltklib/tcltklib.c: support --enable-tcltk_stubs
-
- * ext/tcltklib/extconf.rb: ditto.
-
- * ext/tcltklib/stubs.c: created. examine candidate shared libraries.
-
-Mon Aug 7 13:59:12 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
-
- * ruby.h (CLONESETUP): should copy flags before any potential
- object allocation.
-
- * regex.c (re_match): check for stack depth was needed.
-
-Sat Aug 5 16:43:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * djgpp/*: convert DOS line endings to UNIX style.
-
- * djgpp/config.status: rename to config.sed for SFN.
-
- * lib/ftools.rb (compare, safe_unlink, chmod): avoid warnings.
-
- * lib/ftools.rb (move): typo. not `tpath', but `to'.
-
-Fri Aug 4 23:26:48 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (proc_call): gives warning if a block is supplied.
-
- * eval.c (rb_eval): no warning for discarding if an alias for the
- method is already made.
-
-Fri Aug 4 16:32:29 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * array.c (rb_ary_reject_bang): returns nil if no element removed.
-
- * hash.c (rb_hash_reject_bang): returns nil if no element removed.
-
-Thu Aug 3 19:44:26 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (rb_thread_fd_writable): should return integer value.
-
- * array.c (rb_ary_assoc): search array element whose length is
- longer than 0 (not 1).
-
-Wed Aug 2 18:27:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (rb_thread_wait_fd): prohibit thread context switch
- during compilation.
-
- * eval.c (rb_cont_call): prohibit Continuation#call across threads.
-
-Wed Aug 2 08:22:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * gc.c (rb_gc): clear malloc_memories to zero, to avoid potential
- super frequent GC invocation. (ruby-bugs:#PR48)
-
- * gc.c (rb_gc): only add_heap() if GC trigger condition is
- satisfied.
-
-Tue Aug 1 16:41:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * ruby.c (proc_options): global load path setting moved from
- ruby_prog_init().
-
- * ruby.c (incpush): renamed. push path entry at the END of the
- load path array. This makes -I directories sorted in order in
- the arguments.
-
-Sat Jul 29 23:42:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * dir.c (dir_each): should check whether dir is closed during the
- block execution. (ruby-bugs:#PR47)
-
-Sat Jul 29 21:57:30 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * ruby.c (rubylib_mangle): provide another buffer for the result.
-
-Wed Jul 26 10:09:01 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * configure.in: set SOLIBS to LIBS on Cygwin.
-
- * configure.in: LIBRUBY_SO='$(RUBY_INSTALL_NAME)'.$target_os.dll
- on cygwin and mingw32. ruby-cygwin.dll is bad. why?
-
-Wed Jul 26 10:04:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * gc.c (gc_sweep): avoid full scan during compilation.
-
- * gc.c (rb_gc): add heap during no gc period (including
- compilation).
-
-Tue Jul 25 19:03:04 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * cygwin/GNUmakefile: use puts instead of print, because
- Cygwin DLL's behavior is changed(or bug?).
-
- * configure.in: LIBRUBY_SO='$(RUBY_INSTALL_NAME)'-$target_os.dll
- on cygwin and mingw32.
+ * ext/{dl,fiddle}/win32/lib/win32/registry.rb (Win32::Registry#read):
+ should return REG_SZ, REG_EXPAND_SZ and REG_MULTI_SZ values with
+ the expected encoding -- assumed as the same encoding of name.
- * cygwin/GNUmakefile: ditto.
+Tue Jul 9 10:02:45 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * Makefile.in: $(SOLIBS) should be put after dmyext.@OBJEXT@.
-
- * instruby.rb: install $(LIBRUBY) to libdir
- if $(LIBRUBY) != $(LIBRUBY_A_).
-
-Tue Jul 25 15:16:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * io.c (rb_p): redirect to $defout.
-
-Mon Jul 24 18:52:55 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * win32/win32.c (win32_getenv): should remove `static'.
-
- * ruby.c (rubylib_mangle): support "/hoge;/foo"
-
-Mon Jul 24 10:28:55 2000 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp>
-
- * string.c (rb_str_count): raise exception if no argument is
- given.
-
-Sun Jul 23 12:55:04 2000 Dave Thomas <Dave@Thomases.com>
-
- * string.c (rb_str_rindex): Support negative end position.
-
-Fri Jul 21 17:35:01 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * parse.y (aref_args): command_call now be permitted as
- aref_args.
-
- * process.c (proc_getpriority): getpriority(2) may return valid
- negative number. use errno to detect error.
-
- * marshal.c (dump_ensure): dumped string should be tainted if
- any among target objects is tainted.
-
- * marshal.c (r_regist): restored object should be tainted if and
- only if the source is a file or a tainted string.
-
-Wed Jul 19 15:14:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * bignum.c (bigdivrem): should use rb_int2big(), not rb_uint2big().
-
-Tue Jul 18 14:58:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (ruby_options): should treat SystemExit etc. properly.
-
- * parse.y (yycompile): should check compile_for_eval, not
- ruby_in_eval.
-
-Mon Jul 17 04:29:50 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/mkmf.rb: converts extension of $objs into $OBJEXT.
-
-Sun Jul 16 03:02:34 2000 Dave Thomas <dave@thomases.com>
-
- * lib/weakref.rb: Change to use new ObjectSpace calls.
-
-Sat Jul 15 21:59:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (rb_eval): should not redefine __id__ nor __send__.
-
- * gc.c (define_final): integrate final.rb features into the
- interpreter. define_finalizer and undefine_finalizer was
- added to ObjectSpace. plus, add_finalizer, remove_finalizer,
- and call_finalizer are deprecated now.
-
-Sat Jul 15 01:32:34 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (rb_mod_method): implements unbound method.
-
- * eval.c (Init_eval): should prohibit `module_function' for class
- Class.
-
-Fri Jul 14 17:19:59 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * cygwin/GNUmakefile.in: use miniruby instead of sed.
-
-Fri Jul 14 12:49:50 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * io.c (argf_eof): need to check stdin, when next_p == -1.
-
- * io.c (read_all): use io_fread() instead of fread(3).
-
- * io.c (io_reopen): should clearerr FILE if fd < 3.
-
- * re.c (rb_reg_match_m): the result is exported, so it should be
- declared as busy.
-
- * eval.c (rb_eval): should preserve errinfo even if return, break,
- etc. is called in rescue clause.
-
- * instruby.rb: install irb too.
-
-Wed Jul 12 15:32:57 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * variable.c (rb_const_get): constants for builtin classes must
- have higher priority than constants from included modules at
- Object class.
-
- * bignum.c (bigdivrem): small embarrassing typo.
-
-Wed Jul 12 15:06:28 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (rb_eval): use rb_const_get_at().
-
- * variable.c (top_const_get): retrieve toplevel constants only,
- not ones of Object (and its included modules) in general.
-
-Wed Jul 12 15:04:11 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.26.
-
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb:
- add module Net::NetPrivate and its inner classes
- {Read,Write}Adapter, Command, Socket,
- SMTPCommand, POP3Command, APOPCommand, HTTPCommand
-
-Wed Jul 12 13:10:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * bignum.c (bigdivrem): defer bignorm().
-
- * bignum.c (bignorm): accepts accidental fixnums.
-
-Tue Jul 11 16:54:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * parse.y (yylex): `@<digit>' is no longer a valid instance
- variable name.
-
-Tue Jul 11 01:51:50 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * bignum.c (rb_big_divmod): should not use Integer(float) for
- the right operand.
-
- * bignum.c (rb_big_remainder): ditto.
-
- * bignum.c (rb_big_modulo): ditto.
-
-Mon Jul 10 15:27:16 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * io.c (pipe_finalize): should set rb_last_status when pclose().
-
-Mon Jul 10 09:07:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * error.c (rb_bug): print version number and such too.
-
-Sat Jul 8 23:08:40 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (rb_thread_start_0): should copy previous scopes to
- prevent rb_gc_force_recycle().
-
-Fri Jul 7 23:36:36 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * ext/socket/addrinfo.h: move IN_EXPERIMENTAL and IN_LOOPBACKNET
- definitions to ext/socket/sockport.h.
-
- * ext/socket/extconf.rb: add getservbyport() and arpa/inet.h check.
-
- * ext/socket/getaddrinfo.c (getaddrinfo): SOCK_RAW may not be
- defined (ex. BeOS, Palm OS 2.x or before).
-
- * ext/socket/getnameinfo.c (getnameinfo): getservbyport() may not
- exist (ex. BeOS, Palm OS).
-
- * ext/socket/sockport.h: add IN_EXPERIMENTAL, IN_CLASSA_NSHIFT,
- IN_LOOPBACKNET, AF_UNSPEC, PF_UNSPEC and PF_INET.
-
-Fri Jul 7 03:30:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * parse.y (aref_args): should allow Hash[:a=>2] etc.
-
- * numeric.c (fix_aref): convert index by NUM2INT, not FIX2INT.
- (ruby-bugs:#PR37)
-
- * time.c (time_localtime): should prohibit for frozen time.
-
- * time.c (time_gmtime): ditto.
-
-Thu Jul 6 19:12:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * io.c (rb_file_s_open): should not terminate fptr; just clear it.
-
- * ruby.c (proc_options): should not call require_libraries()
- twice.
-
- * ruby.c (require_libraries): clear req_list_head.next after
- execution.
-
-Thu Jul 6 13:51:57 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
-
- * object.c (rb_to_id): name may not be symbol nor fixnum.
-
- * struct.c (rb_struct_s_def): name may be nil.
-
-Thu Jul 6 02:09:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * bignum.c (bigdivrem): new function to return remainder.
-
- * numeric.c (fixdivmod): now returns modulo, not remainder.
-
- * numeric.c (flodivmod): ditto.
-
- * bignum.c (bigdivmod): ditto.
-
- * numeric.c (num_modulo): new method; alias to '%'.
-
-Thu Jul 6 00:51:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * win32/win32.c (NtCmdGlob): patterns should be separated and
- NUL terminated.
-
-Wed Jul 5 22:27:56 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * cygwin/GNUmakefile: use ruby.def to make rubycw.dll.
-
- * ext/extmk.rb.in: create target.def.
-
- * lib/mkmf.rb: ditto.
-
-Wed Jul 5 09:47:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * time.c (time_arg): Time::local, Time::gm now take 7th optional
- argument for usec.
-
- * numeric.c (num_ceil, etc): default ceil, floor, round, truncate
- implementation for Numeric, using `to_f'.
-
- * io.c (rb_io_reopen): clear fptr->path after free() to prevent
- potential GC crash.
-
- * io.c (rb_file_s_open): terminate fptr unless null.
-
- * io.c (rb_file_initialize): ditto.
-
- * lib/tempfile.rb: specify FILE::CREAT|File::EXCL to open for
- better security.
-
- * numeric.c (flo_truncate): new method.
-
-Wed Jul 5 01:02:53 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * ext/extmk.rb.in: join ' ' -> join(' ').
-
- * lib/mkmf.rb: ditto.
-
-Tue Jul 4 13:51:29 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * ext/dbm/dbm.c: add methods added to Hash in 1.5.x.
-
- * ext/gdbm/gdbm.c: ditto.
-
- * ext/sdbm/init.c: ditto.
-
- * eval.c (proc_call): args may be Qundef (means no argument), do
- not call TYPE() for args.
-
-Tue Jul 4 13:20:56 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * ext/extmk.rb.in: make command line must be single-quoted.
- $(RUBY_INSTALL_NAME) is command substitution in the POSIX sh.
-
-Tue Jul 4 13:16:02 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * util.c (rb_type): should add T_UNDEF.
-
-Tue Jul 4 09:30:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * parse.y (here_document): supports EOF right after terminator.
-
- * random.c (rb_f_rand): argument is now optional (rand(max=0)).
-
-Tue Jul 4 01:50:49 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * win32/ruby.def: remove ruby_mktemp.
-
-Tue Jul 4 01:27:13 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (rb_rescue2): new function to rescue arbitrary exception.
-
- * numeric.c (do_coerce): should catch NameError explicitly.
-
-Tue Jul 4 00:15:23 2000 Dave Thomas <Dave@thomases.com>
-
- * numeric.c (Init_Numeric): forgot to register Numeric#remainder.
-
-Mon Jul 3 23:46:56 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * win32/win32.c (myselect, myaccept): disable interrupt while
- executing accept() or select() to avoid Ctrl-C causes
- "unknown software exception (0xc0000029)".
-
-Mon Jul 3 18:35:41 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * lib/mkmf.rb: use null device if it exists for cross-compiling.
-
-Mon Jul 3 18:19:51 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.26.
-
- * lib/net/protocol.rb (finish): do nothing unless active.
-
- * lib/net/http.rb: HTTP#{get,post}2 again (for new impl).
-
-Mon Jul 3 16:47:22 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * cygwin/GNUmakefile: librubys.a -> lib$(RUBY_INSTALL_NAME)s.a
-
- * configure.in: use AC_CANONICAL_{HOST,TARGET,BUILD}.
-
-Mon Jul 3 13:15:02 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * numeric.c (fix_divmod): x * d + m = y where d, m = x.divmod(y).
-
- * bignum.c (rb_big_divmod): ditto.
-
- * numeric.c (fixdivmod): does not depend C's undefined %
- behavior. adopt to fmod(3m) behavior.
-
- * numeric.c (flo_mod): modulo now reserves fmod(3m) behavior.
-
- * numeric.c (num_remainder): 'deprecated' warning.
-
-Mon Jul 3 10:27:28 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * configure.in: use AC_CANONICAL_SYSTEM.
-
-Sun Jul 2 21:17:37 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * configure.in: support without --enable-shared for cygwin/mingw32.
-
- * cygwin/GNUmakefile: ditto.
-
- * ext/extmk.rb.in: use null device if it exists for cross-compiling.
-
- * lib/mkmf.rb: ditto.
-
- * util.c (ruby_mktemp): remove unused ruby_mktemp().
-
-Sun Jul 2 14:18:04 2000 Koji Arai <JCA02266@nifty.ne.jp>
-
- * eval.c (TMP_PROTECT_END): tmp__protect_tmp may be NULL.
-
-Sun Jul 2 03:37:50 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.25.
-
- * lib/net/protocol.rb (each_crlf_line): beg = 0 is needed in adding{}
-
- * lib/net/smtp.rb: allow String for to_addr of SMTP#sendmail
-
-Sat Jul 1 15:22:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * numeric.c (fix_rshift): should handle shift value more than
- sizeof(long).
-
-Sat Jul 1 15:22:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (rb_eval): the value from RTEST() is not valid Ruby
- object. result should be either true or false.
-
-Sat Jul 1 09:30:06 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * re.c (rb_reg_initialize): was freeing invalid pointer.
-
-Sat Jul 1 03:25:56 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * parse.y (call_args): command_call can be the last argument of
- call_args. It had to be the only argument.
-
- * re.c (rb_reg_s_quote): should not dump core even for unsane mbc
+ * ext/{dl,fiddle}/win32/lib/win32/registry.rb
+ (Win32::Registry::Error#initialize): use suitable encoding for the
string.
-Fri Jun 30 01:36:20 2000 Aleksi Niemela <aleksi.niemela@cinnober.com>
-
- * parse.y (f_norm_arg): better, nicer error message.
-
-Thu Jun 29 07:45:33 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * ext/socket/socket.c (udp_send): destination may be packed
- struct sockaddr.
-
- * object.c (rb_Integer): Integer(nil) should be invalid, on the
- other hand, nil.to_i is OK.
-
-Wed Jun 28 17:26:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * ext/socket/socket.c (ip_recvfrom): udp_recvfrom and tcp_recvfrom
- is merged and moved to IPSocket#recvfrom.
-
- * ext/socket/socket.c (sock_s_getaddrinfo): family can be a
- strings such as "AF_INET" etc.
-
- * ruby.c (require_libraries): . and RUBYLIB added to $load_path
- just before -r procedure.
-
- * ruby.c (proc_options): -e, - did not exec -r.
-
-Wed Jun 28 14:52:28 2000 Koga Youichirou <y-koga@mms.mt.nec.co.jp>
-
- * config.sub: NetBSD/hpcmips support.
-
-Wed Jun 28 10:11:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * gc.c: gc trigger threshold changed; GC_NEWOBJ_LIMIT removed,
- FREE_MIN is increased to 4096.
-
-Tue Jun 27 22:39:28 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.24.
-
- * lib/net/protocol.rb: modified each_crlf_line again.
-
- * lib/net/protocol.rb: do_write_beg,do_write_end -> writing{}
- do_write_do -> do_write
-
- * lib/net/http.rb: can make proxy connection by passing
- addresses to HTTP.new, start.
-
- * lib/net/http.rb: HTTP.new_implementation, old_implementation:
- can use 1.2 implementation of head, get, post, put.
- (see document)
-
-Tue Jun 27 12:05:10 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * win32.c (myfdclr): new function.
-
- * win32.h: add FD_CLR.
-
-Mon Jun 26 23:41:41 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * ruby.h: add cast for ANSI style.
-
- * gc.c (rb_data_object_alloc): use RUBY_DATA_FUNC.
-
-Mon Jun 26 22:20:03 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * win32/win32.c (is_socket, extract_file_fd): New function.
-
- * win32/win32.c (myfdopen): use is_socket().
-
- * win32/win32.c (myselect): return non socket files immediately
- if file and socket handles are mixed.
-
-Mon Jun 26 16:21:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (rb_thread_schedule): wait_for cleared too early.
-
-Mon Jun 26 09:15:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * pack.c: remove obsolete 'F', 'D' specifiers.
-
-Sun Jun 25 00:55:03 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * ext/socket/socket.c (sock_s_getnameinfo): `res' would not
- be assigned if TYPE(sa) == T_STRING.
-
-Sat Jun 24 14:36:29 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * config*.dj, configure.bat, top.sed: move to djgpp/.
-
-Sat Jun 24 02:34:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * ruby.c (load_file): call require_libraries() here to let
- debug.rb work properly.
-
-Fri Jun 23 22:34:51 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * bignum.c (rb_big_lshift): reorder xds assignment to avoid
- reusing `x' as `len' by VC++ 6.0 SP3 compiler with -Ox switch.
-
-Fri Jun 23 01:11:27 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * string.c (rb_str_substr): should return empty string (""),
- if beg == str.size and len == zero, mostly for convenience and
- backward compatibility.
-
- * parse.y (new_super): should tweak block_pass node for super too.
-
- * string.c (rb_str_split_m): last split element should not be nil,
- but "" when limit is specified.
-
-Thu Jun 22 17:27:46 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * string.c (rb_str_substr): str[n,m] now returns nil when n equals
- to str.size.
-
-Thu Jun 22 13:49:02 2000 Uechi Yasumasa <uechi@ryucom.ne.jp>
-
- * lib/net/ftp.rb: support resuming.
-
-Thu Jun 22 13:37:19 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * eval.c (rb_thread_sleep_forever): merge pause() macro.
-
-Wed Jun 21 08:49:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (rb_eval): should not raise exception just by defining
- singleton class.
-
-Wed Jun 21 01:18:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * ruby.h: two macros RUBY_DATA_FUNC and RUBY_METHOD_FUNC are added
- to make writing C++ extensions easier.
-
- * array.c (rb_ary_dup): internal classes should not be shared by dup.
-
- * hash.c (rb_hash_dup): ditto.
-
- * object.c (rb_obj_dup): ditto.
-
- * string.c (rb_str_dup): ditto.
+Tue Jul 9 09:46:53 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * error.c (Init_Exception): renamed NotImplementError to
- NotImplementedError.
+ * ext/dl/win32/lib/win32/registry.rb (Win32::Registry.expand_environ):
+ use suitable encoding for the string. fixed a test-all error of
+ r41838.
-Tue Jun 20 16:22:38 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/fiddle/win32/lib/win32/registry.rb: same changes of r41838 and
+ this revision of dl's win32/registry.rb.
- * time.c (make_time_t): bug in DST boundary.
+Tue Jul 9 07:39:45 2013 Eric Hodel <drbrain@segment7.net>
-Tue Jun 20 10:54:19 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * lib/rubygems: Update to RubyGems 2.0.4. See
+ https://github.com/rubygems/rubygems/blob/2.0/History.txt for changes
- * configure.in: add eval sitedir.
+Tue Jul 9 01:47:16 2013 Tanaka Akira <akr@fsij.org>
-Tue Jun 20 06:14:43 2000 Wakou Aoyama <wakou@fsinet.or.jp>
+ * bignum.c (biglsh_bang): Don't shift a BDIGIT with BITSPERDIG bits.
+ (bigrsh_bang): Ditto.
- * lib/cgi.rb: change: version syntax. old: x.yz, now: x.y.z
+Tue Jul 9 01:17:57 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/telnet.rb: ditto.
+ * bignum.c (bigrsh_bang): Fix bignum digits overrun.
-Tue Jun 20 00:37:45 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Jul 9 00:46:22 2013 Tanaka Akira <akr@fsij.org>
- * re.c (rb_reg_kcode_m): Regexp#kcode returns nil for code unfixed
- regexp object.
+ * bignum.c (biglsh_bang): Fix bignum digits under-run.
- * bignum.c (bigdivmod): bignum zero check was wrong.
+Mon Jul 8 23:36:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Jun 19 10:48:28 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/dl/win32/lib/win32/registry.rb (Error, API): use WCHAR
+ interfaces. c.f. [Bug #8508]
- * variable.c (rb_cvar_set): forgot to add security check for class
- variable assignment.
+Mon Jul 8 23:13:11 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Jun 18 22:49:13 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * win32/win32.c (rb_w32_pow): move from win32.h and disable strict
+ ANSI mode macro to let _controlfp() stuff defined.
+ [ruby-core:55312] [Bug #8495]
- * configure.in: single quoted sitedir.
+ * numeric.c (finite): add declaration for strict ANSI.
+ [ruby-core:55312] [Bug #8495]
- * mkconfig.rb: add DESTDIR for cross-compiling.
+ * thread_win32.c (w32_thread_start_func, thread_start_func_1),
+ (timer_thread_func): use __stdcall instead of _stdcall which is
+ unavailable in strict ANSI mode. [ruby-core:55312] [Bug #8495]
- * lib/mkmf.rb: add DESTDIR.
+ * win32/win32.c (gettimeofday): use __cdecl instead of _cdecl.
- * ruby.c (load_file): force binmode if fname includes ".exe"
- on DOSISH.
+Mon Jul 8 22:41:12 2013 Tanaka Akira <akr@fsij.org>
-Sat Jun 17 23:22:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (bary_mul): Arguments for work memory added.
+ (bary_mul_balance): Ditto.
+ (bary_mul_karatsuba): Ditto.
- * sprintf.c (rb_f_sprintf): should ignore negative precision given
- by <%.*>.
+Mon Jul 8 22:03:30 2013 Tanaka Akira <akr@fsij.org>
- * sprintf.c (rb_f_sprintf): should allow zero precision.
+ * bignum.c (rb_big_sq_fast): New function for testing.
+ (rb_big_mul_toom3): Ditto.
-Sat Jun 17 03:13:29 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * internal.h (rb_big_sq_fast): Declared.
+ (rb_big_mul_toom3): Ditto.
- * time.c (time_localtime): avoid unnecessary call of localtime.
+Mon Jul 8 21:59:34 2013 Tanaka Akira <akr@fsij.org>
- * time.c (time_gmtime): avoid unnecessary call of gmtime.
+ * bignum.c (bary_mul_balance): Initialize a local variable to suppress
+ a warning.
- * process.c (proc_wait2): new method.
+Mon Jul 8 20:55:22 2013 Tanaka Akira <akr@fsij.org>
- * process.c (proc_waitpid): second argument made optional.
+ * bignum.c (bary_mul_balance): Reduce work memory.
- * process.c (proc_waitpid2): new method.
+Mon Jul 8 08:26:15 2013 Martin Bosslet <Martin.Bosslet@gmail.com>
-Sat Jun 17 00:05:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/openssl/test_pkey_ec.rb: Skip tests for "Oakley" curves as
+ they are not suitable for ECDSA.
+ [ruby-core:54881] [Bug #8384]
- * re.c (rb_reg_clone): should initialize member fields.
+Mon Jul 8 08:03:01 2013 Tanaka Akira <akr@fsij.org>
-Fri Jun 16 22:49:34 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (bary_mul): Add a RB_GC_GUARD.
- * io.c (rb_io_rewind): set lineno to zero.
+Sun Jul 7 23:56:32 2013 Tanaka Akira <akr@fsij.org>
-Fri Jun 16 22:47:47 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * bignum.c (bary_mul_karatsuba): Unreachable code removed. Remove
+ several branches.
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.23.
+Sun Jul 7 22:59:06 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/protocol.rb: too many CRLF in last line.
+ * internal.h (rb_big_mul_normal): Declared.
+ (rb_big_mul_balance): Ditto.
+ (rb_big_mul_karatsuba): Ditto.
-Fri Jun 16 21:23:59 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * bignum.c (rb_big_mul_normal): New function for tests.
+ (rb_big_mul_balance): Ditto.
+ (rb_big_mul_karatsuba): Ditto.
- * configure.in: add pause(2) checking.
+Sun Jul 7 19:21:30 2013 Tanaka Akira <akr@fsij.org>
- * eval.c: define pause() if missing.
+ * bignum.c: Reorder functions to decrease forward reference.
-Fri Jun 16 18:41:58 2000 Koji Arai <JCA02266@nifty.ne.jp>
+Sun Jul 7 14:41:57 2013 Tanaka Akira <akr@fsij.org>
- * process.c (proc_setsid): BSD-style setpgrp() don't return
- process group ID, but 0 or -1.
+ * bignum.c: (bigsub_core): Use bary_sub.
+ (bary_sub): Returns a borrow flag. Use bary_subb.
+ (bary_subb): New function for actually calculating subtraction with
+ borrow.
+ (bary_sub_one): New function.
+ (bigadd_core): Use bary_add.
+ (bary_add): Returns a carry flag. Use bary_addc.
+ (bary_addc): New function for actually calculating addition with
+ carry.
+ (bary_add_one): New function.
+ (bary_muladd_1xN): Extracted from bary_mul_normal.
+ (bigmul1_normal): Removed.
+ (bary_mul_karatsuba): New function.
+ (bary_mul1): Invoke rb_thread_check_ints after bary_mul_normal.
+ (bary_mul): Remove most and least significant zeros before actual
+ multiplication. Use bary_sq_fast, bary_mul_balance,
+ bary_mul_karatsuba and bigmul1_toom3 as bigmul0.
+ (bigmul1_balance): Removed.
+ (bigmul1_karatsuba): Removed.
+ (bigsqr_fast): Removed.
+ (bary_sparse_p): Extracted from big_sparse_p.
+ (big_sparse_p): Removed.
+ (bigmul0): Use bary_mul.
-Fri Jun 16 16:23:35 2000 Koji Arai <JCA02266@nifty.ne.jp>
+Sun Jul 7 11:54:33 2013 Kouhei Sutou <kou@cozmixng.org>
- * file.c (rb_stat_inspect): gives detailed information;
- compatibility with ruby-1.4.x.
+ * NEWS: Add REXML::Text#<< related updates.
-Fri Jun 16 05:18:45 2000 Yasuhiro Fukuma <yasuf@bsdclub.org>
+Sun Jul 7 11:49:19 2013 Kouhei Sutou <kou@cozmixng.org>
- * configure.in: FreeBSD: do not link dummy libxpg4 which was
- merged into libc.
+ * lib/rexml/text.rb (REXML::Text#<<): Support appending in not
+ "raw" mode. [Bug #8602] [ruby-dev:47482]
+ Reported by Ippei Obayashi. Thanks!!!
-Fri Jun 16 03:17:36 2000 Satoshi Nojo <nojo@t-samukawa.or.jp>
+Sun Jul 7 11:43:13 2013 Kouhei Sutou <kou@cozmixng.org>
- * ext/dbm/dbm.c (fdbm_length): use GetDBM. empty?, [] too.
+ * lib/rexml/text.rb (REXML::Text#<<): Support method chain use by "<<"
+ like other objects.
- * ext/gdbm/gdbm.c (fgdbm_length): ditto.
+Sun Jul 7 11:34:18 2013 Kouhei Sutou <kou@cozmixng.org>
- * ext/sdbm/init.c (fsdbm_length): ditto.
+ * lib/rexml/text.rb (REXML::Text#clear_cache): Extract common
+ cache clear code.
-Fri Jun 16 01:57:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Jul 7 11:01:03 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_thread_sleep_forever): pause(2) instead of sleep(3).
+ * configure.in (RUBY_DTRACE_POSTPROCESS): dtrace version SUN D 1.11
+ introduces a check in the dtrace compiler to ensure that probes
+ actually exist. If there are no probes, then the -G step will
+ fail. As this test is only being used to determine whether -G is
+ necessary (for instance, on OSX it is not), adding a real probe to
+ the conftest allows it to succeed on newer versions of dtrace.
+ Patch by Eric Saxby <sax AT livinginthepast.org> at
+ [ruby-core:55826]. [Fixes GH-351], [Bug #8606].
-Thu Jun 15 10:46:36 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Jul 7 10:07:22 2013 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_sub_bang): should probagate taintness from
- replacement string.
+ * bignum.c (bary_sq_fast): Extracted from bigsqr_fast and
+ ensure not to access zds[2*xn].
+ (bigsqr_fast): Allocate the result bignum with 2*xn words.
-Wed Jun 14 17:01:41 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Sat Jul 6 07:37:43 2013 Martin Bosslet <Martin.Bosslet@gmail.com>
- * rubytest.rb: add CONFIG['EXEEXT'] to the executable file name.
+ * ext/openssl/ossl_pkey_ec.c: Ensure compatibility to builds of
+ OpenSSL with OPENSSL_NO_EC2M defined, but OPENSSL_NO_EC not
+ defined.
+ * test/openssl/test_pkey_ec.rb: Iterate over built-in curves
+ (and assert their non-emptiness!) instead of hard-coding them, as
+ this may cause problems with respect to the different availability
+ of individual curves in individual OpenSSL builds.
+ [ruby-core:54881] [Bug #8384]
-Wed Jun 14 14:50:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ Thanks to Vit Ondruch for providing the patch!
- * string.c (rb_f_sub): assign to $_ only if modification happens.
+Sat Jul 6 07:12:39 2013 Martin Bosslet <Martin.Bosslet@gmail.com>
- * string.c (rb_f_gsub): ditto.
+ * test/openssl/test_x509crl.rb: Remove unused variable.
+ [ruby-core:53501] [Bug #8114]
- * string.c (rb_f_chop): ditto.
+ Thanks, Vipul Amler, for pointing this out!
- * string.c (rb_f_chomp): ditto.
+Sat Jul 6 06:37:10 2013 Martin Bosslet <Martin.Bosslet@gmail.com>
- * io.c (io_reopen): preserve file position by ftell/fseek, if io
- is a seekable.
+ * ext/openssl/ossl.c: Provide CRYPTO_set_locking_callback() and
+ CRYPTO_set_id_callback() callback functions ossl_thread_id and
+ ossl_lock_callback to ensure the OpenSSL extension is usable in
+ multi-threaded environments.
+ [ruby-core:54900] [Bug #8386]
- * eval.c (method_arity): wrong arity number for the methods with
- optional arguments.
+ Thanks, Dirkjan Bussink, for the patch!
- * time.c (make_time_t): opposite timezone shift (should be negative).
+Sat Jul 6 06:06:16 2013 Martin Bosslet <Martin.Bosslet@gmail.com>
-Wed Jun 14 14:07:38 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * lib/openssl/ssl.rb: Fix SSL client connection crash for SAN marked
+ critical.
+ The patch for CVE-2013-4073 caused SSL crash when a SSL server returns
+ the certificate that has critical SAN value. X509 extension could
+ include 2 or 3 elements in it:
- * io.c: typo(ig/if).
+ [id, criticality, octet_string] if critical,
+ [id, octet_string] if not.
- * re.c: typo(re/reg). add rb_reg_check().
+ Making sure to pick the last element of X509 extension and use it as
+ SAN value.
+ [ruby-core:55685] [Bug #8575]
- * time.c: remove unneeded declare(daylight, timezone).
+ Thank you @nahi for providing the patch!
- * configure.in: add include <time.h> when daylight checking.
+Sat Jul 6 04:49:38 2013 Aaron Patterson <aaron@tenderlovemaking.com>
-Wed Jun 14 11:36:52 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * ext/psych/lib/psych/visitors/yaml_tree.rb: register time objects so
+ they are referenced as ids during output.
+ * test/psych/test_date_time.rb: corresponding test.
- * marshal.c (r_object): modified for symbols.
+Fri Jul 5 20:46:39 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * marshal.c (w_object): ditto.
+ * test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic): this
+ assertion doesn't seems to be checking the unicode string on command
+ line, but seems to be checking how to treat the unicode string from
+ stdin. so, should escape '\' before 'u'. this fixes a test failure
+ on Windows.
-Wed Jun 14 10:04:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jul 5 19:05:40 2013 Akinori MUSHA <knu@iDaemons.org>
- * re.c (rb_memcmp): should compare according to ruby_ignorecase.
+ * lib/fileutils.rb (FileUtils#chown, FileUtils#chown_R): Fix the
+ wrong output message when user is nil, which should be "chown
+ :group file" instead of "chown group file".
- * string.c (rb_str_cmp): use rb_memcmp.
+Fri Jul 5 16:21:56 2013 Akinori MUSHA <knu@iDaemons.org>
- * string.c (rb_str_index): ditto.
+ * test/ruby/test_regexp.rb
+ (TestRegexp#test_options_in_look_behind)
+ (TestRegexp#assert_match_at): Add tests for another problem
+ fixed in Onigmo 5.13.5. Previously Onigmo did not allow option
+ enclosures in look-behind, which makes it impossible to
+ interpolate a regexp into another in the middle of a look-behind
+ pattern. cf. https://github.com/k-takata/Onigmo/pull/17
- * string.c (rb_str_rindex): ditto.
+ * test/ruby/test_regexp.rb
+ (TestRegexp#test_options_in_look_behind)
+ (TestRegexp#assert_match_at): Parse regexps in run time rather
+ than in compile time.
- * string.c (rb_str_each_line): ditto.
+Fri Jul 5 12:14:40 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Wed Jun 14 04:58:53 2000 Dave Thomas <dave@thomases.com>
-
- * io.c (rb_io_set_lineno): should have returned VALUE, not
- integer.
-
-Wed Jun 14 09:29:42 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * string.c (rb_str_dup): dup should always propagate taintness.
-
-Wed Jun 14 00:50:14 2000 Wakou Aoyama <wakou@fsinet.or.jp>
-
- * lib/cgi.rb: read_multipart(): if no content body then raise EOFError.
-
-Tue Jun 13 11:46:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * process.c (proc_setsid): try implement it using setpgrp() and
- ioctl(fd, TIOCNOTTY, NULL).
-
- * re.c (rb_reg_prepare_re): magic variable $= should affect regex
- pattern match.
-
- * time.c (make_time_t): use tm.tm_gmtoff if possible.
-
- * time.c (time_zone): use tm.tm_zone if available.
-
-Tue Jun 13 01:50:57 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.22.
-
- * lib/net/http.rb: HTTPResponse#body returns body.
-
-Mon Jun 12 23:41:54 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * configure.in (daylight): avoid GCC optimization.
-
-Mon Jun 12 19:02:27 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * configure.in: cygwin has strange timezone.
-
- * time.c (time_zone): use tzname and daylight.
-
-Sat Jun 10 23:10:32 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * io.c (rb_io_seek): whence is optional, default is SEEK_SET.
-
-Fri Jun 9 17:00:29 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.21.
-
- * lib/net/http.rb: exception is raised with response object.
-
-Fri Jun 9 15:11:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * time.c (make_time_t): supports daylight saving time.
-
- * eval.c (rb_thread_safe_level): should retrieve current $SAFE
- value if a thread is the current thread.
-
-Thu Jun 8 14:25:45 2000 Hiroshi Igarashi <iga@ruby-lang.org>
-
- * lib/mkmf.rb: add target `distclean' in Makefile for extlib.
- target `clean' doesn't remove Makefile.
-
-Thu Jun 8 13:34:03 2000 Dave Thomas <dave@thomases.com>
-
- * numeric.c: add nan?, infinite?, and finite? to Float
-
-Thu Jun 8 00:31:04 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * regex.h: export re_mbctab properly on cygwin.
-
- * dln.c: use dlopen instead of LoadLibrary on cygwin.
-
-Thu Jun 8 13:41:34 2000 Tadayoshi Funaba <tadf@kt.rim.or.jp>
-
- * file.c (rb_file_s_basename): might dump core.
-
-Tue Jun 6 03:29:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * dir.c (dir_foreach): now returns nil for consistency.
-
- * bignum.c (bigdivmod): modulo by small numbers was wrong.
-
-Mon Jun 5 00:18:08 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * bignum.c: avoid conflict with USHORT on mingw32.
-
-Mon Jun 5 00:13:35 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * eval.c (rb_thread_schedule): =/== typo.
-
-Sun Jun 4 03:17:36 2000 Wakou Aoyama <wakou@fsinet.or.jp>
-
- * lib/cgi.rb: improve: CGI::pretty()
-
-Sun Jun 4 02:01:10 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * lib/mkmf.rb: do not need to add -L$(topdir) in --enable-shared case.
-
-Sat Jun 3 13:50:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * parse.y (rb_id2name): should support constant attrset
- identifiers.
-
- * bignum.c (rb_big_eq): Bignum#== should not raise exception.
-
-Fri Jun 2 11:24:48 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * io.c (rb_io_popen): open with a block returns the value from the
- block. old behavior was back.
-
-Fri Jun 2 00:42:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
-
- * eval.c (rb_thread_cleanup): should clear priority for thread
- termination.
-
-Thu Jun 1 22:39:41 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.20.
-
- * lib/net/http.rb: wrongly closed the socket twice
- when no Content-Length: was given.
-
-Thu Jun 1 00:59:15 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (rb_yield_0): convert Qundef to [].
-
-Wed May 31 20:45:59 2000 Dave Thomas <Dave@Thomases.com>
-
- * string.c (rb_str_slice_bang): wrong argument number.
-
-Wed May 31 12:37:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (rb_exec_end_proc): print error message from END procs.
-
-Wed May 31 04:06:41 2000 Wakou Aoyama <wakou@fsinet.or.jp>
-
- * lib/cgi.rb: change: CGI#out() if "HEAD" == REQUEST_METHOD then
- output only HTTP header.
-
-Wed May 31 01:54:21 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (rb_thread_schedule): set main_thread->status to
- THREAD_TO_KILL, before raising deadlock error.
-
- * eval.c (rb_thread_deadlock): if curr_thread == main_thread, do
- not call rb_thread_restore_context()
-
-Tue May 30 23:33:41 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * lib/mkmf.rb (create_makefile): add $(TARGET).ilk and *.pdb
- to cleanup files for mswin32.
-
-Mon May 29 10:41:10 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
-
- * file.c (rb_file_s_basename): should propagate taintness.
-
-Sun May 28 21:37:13 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * eval.c: bug fix: DLEXT2.
-
-Sun May 28 19:21:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * win32/win32.c: use ruby's glob.
-
- * dir.c: "glob" exported and renamed to "rb_glob".
-
- * ruby.h: ditto.
-
- * main.c: turn off command line mingw32's globbing.
-
-Wed May 25 22:25:13 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * ext/extmk.rb.in: use "ftools" instead of "rm -f".
-
- * lib/mkmf.rb: ditto.
-
-Thu May 25 22:01:32 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * defines.h: mswin32: remove obsolete USHORT definition.
-
- * re.h: mswin32: use EXTERN instead of extern.
-
- * regex.h: mswin32: export re_mbctab properly.
-
- * win32/ruby.def: add ruby_ignorecase and regex.c's exports.
-
-Thu May 25 21:28:44 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * re.c (rb_reg_expr_str): escape un-printable character.
-
-Thu May 25 01:35:15 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * parse.y (tokadd_escape): forgot to add `\x' to hexadecimal
- escape sequences.
-
- * object.c (rb_obj_dup): dup for normal object (T_OBJECT) copies
- instance variables only.
-
-Wed May 24 23:49:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * object.c (rb_mod_initialize): should provide initialize.
-
-Wed May 24 23:17:50 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * win32/Makefile: remove unnecessary mv and rm command call.
-
-Wed May 24 21:01:04 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * ext/pty/pty.c: use "" instead of <> to include ruby.h and rubyio.h
- for BeOS (PowerPC).
-
- * file.c (rb_find_file): should check dln_find_file() result.
-
- * win32/ruby.def: add rb_block_given_p.
-
-Wed May 24 16:32:45 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * io.c (rb_io_popen): popen does not take 3rd argument anymore.
-
- * re.c (rb_reg_desc): re may be zero, check before dereferencing.
-
-Wed May 24 16:03:06 2000 Wakou Aoyama <wakou@fsinet.or.jp>
-
- * lib/cgi.rb: bug fix: CGI::escape(), CGI::Cookie::new()
-
- * lib/net/telnet.rb: improve: binmode(), telnetmode() interface
-
-Wed May 24 13:12:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * misc/ruby-mode.el (ruby-parse-region): support `while .. do'
- etc. But corresponding keywords must be at the beginning of
- line.
-
-Tue May 23 23:50:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * re.c (rb_reg_initialize_m): wrong kcode value.
-
- * re.c (rb_reg_s_new): forgot to initialize re->ptr.
-
-Tue May 23 08:36:24 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * regex.c (re_compile_pattern): forgot to restore old option
- status by (?ix-ix).
-
- * regex.c (re_compile_fastmap): anychar may match newline if
- RE_OPTION_MULTILINE or RE_OPTION_POSIXLINE is set.
-
-Mon May 22 22:45:06 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.19.
-
- * lib/net/http.rb: do not use Regexp "p" option.
-
-Mon May 22 21:56:43 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
-
- * struct.c (rb_struct_getmember): should use ID2SYM, not INT2NUM.
-
-Mon May 22 15:07:37 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * file.c (rb_find_file): should check if the file really exists.
-
-Mon May 22 09:08:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * io.c (rb_io_popen): _exit(0) after processing block under the
- child process.
-
- * io.c (rb_io_popen): flush stdout/stderr before subprocess
- termination.
-
- * eval.c (rb_check_safe_str): insert rb_secure(4); operation
- requires untainted string should be prohibited in level 4.
-
-Sun May 21 21:17:00 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * configure.in: add Setup.dj for djgpp cross-compiling.
-
- * Setup.dj: add readline.
-
- * instruby.rb: copy win32/win32.h to archlibdir on mingw32.
-
-Sun May 21 20:58:08 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * pack.c: fix OFF16 and OFF32 definitions for Alpha and IRIX64.
-
-Sun May 21 17:31:37 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * instruby.rb: support "make install" for cross-compiling.
-
- * ext/extmk.rb.in: ditto.
-
-Sun May 21 14:22:49 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * Makefile.in: rename prep.rb to fake.rb.
-
- * configure.in: ditto.
-
-Sat May 20 23:29:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * dir.c (dir_s_new): does not take block; "open" does.
-
- * io.c (rb_io_s_new): ditto.
-
-Fri May 19 07:44:26 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * dir.c (dir_s_open): Dir#open does not returns closed Dir if a
- block is given to the method.
-
- * re.c (rb_reg_initialize_m): Regexp::new calls initialize now.
-
- * string.c (Init_String): String#delete_at removed.
-
- * string.c (rb_str_aset_m): should have checked argc != 2.
-
- * eval.c (rb_thread_schedule): select(2) was called too many.
-
- * regex.c (re_compile_pattern): a bug in (?m) support. Pointed
- out by Dave Thomas <Dave@thomases.com>.
-
-Thu May 18 23:55:26 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * dln.c (search_undef): st_lookup()'s 3rd parameter should be
- a pointer of the variable which has the same size and alignment
- as `char *'.
-
- * marshal.c (w_symbol, w_object): ditto.
-
- * parse.y (rb_intern): ditto.
-
-Thu May 18 18:00:35 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
-
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.18.
-
- * lib/net/protocol.rb: Net::Version was removed.
-
- * lib/net/smtp.rb: use Socket.gethostname to get local host name.
-
-Thu May 18 13:34:57 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * ext/socket/socket.c (ruby_connect): should not have replaced
- thread_write_select() by rb_thread_fd_writable().
-
-Thu May 18 09:01:25 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * configure.in, ext/extmk.rb.in, lib/mkmf.rb: remove BeOS R3 support.
- Make a shared library (libruby.so) only if the --enable-shared
- option is specified.
-
- * instruby.rb: no longer use libruby.so.LIB and import.h.
-
- * io.c: fix READ_DATA_PENDING definition for BeOS (PowerPC).
-
-Wed May 17 14:14:23 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * re.c (rb_reg_new_1): use /m instead of /p.
-
-Wed May 17 02:22:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * eval.c (rb_thread_polling): wait 0.06 second to let other
- processes run.
-
- * process.c (rb_waitpid): avoid busy wait using rb_thread_polling.
-
- * file.c (rb_thread_flock): ditto.
-
- * parse.y (expr): avoid calling value_expr() twice.
-
-Wed May 17 00:45:57 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
-
- * io.c (rb_io_binmode): should check PLATFORMs, not O_BINARY, sigh...
-
-Wed May 17 00:40:15 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * win32/config.h: add DLEXT2, now DLEXT on mswin32 is "so".
-
- * win32/config.status: ditto.
-
- * win32/ruby.def: add symbol "rb_big_divmod".
-
-Tue May 16 19:45:32 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
-
- * intern.h: use EXTERN instead of extern.
-
- * win32/ruby.def: add rb_defout, rb_stdout, ruby_errinfo,
- ruby_sourceline, ruby_sourcefile to work with eruby
- reported by Hiroshi Saito <HiroshiSaito@pob.org>.
- Export both ruby_xmalloc and xmalloc etc.
-
-Tue May 16 17:00:05 2000 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
-
- * eval.c (rb_thread_select): should check whether fds are null.
-
-Tue May 16 11:51:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * io.c (pipe_open): synchronize subprocess stdout/stderr.
-
-Mon May 15 15:38:09 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
-
- * ruby.h: exported symbols should be for xmalloc etc. are now
- prefixed by 'ruby_', e.g. ruby_xmalloc().
-
- * eval.c (rb_thread_select): remove busy wait for select.
-
- * dir.c (glob): trailing path may be null, e.g. glob("**").
-
-Mon May 15 14:48:41 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
-
- * io.c (rb_io_pid): new method; returns nil if no process attached
- to the IO.
-
-Mon May 15 01:18:20 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_notfound): after
+ r41710, the path of command uses backslash as the separator on
+ Windows.
- * io.c (rb_io_s_popen): _exit after Proc execution.
+Fri Jul 5 11:29:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun May 14 18:05:59 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * lib/test/unit/assertions.rb (assert_raise_with_message): move from
+ test/fileutils/test_fileutils.rb. this is still experimental and
+ the interface may be changed.
- * Makefile.in: missing/nt.c -> win32/win32.c
+Fri Jul 5 11:08:00 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * configure.in: bug fix; static linking on mingw32.
+ * win32/win32.c (w32_spawn): r41710 made that if the command starts with
+ a quote and includes slash, removed the top quote and NOT removed the
+ last quote.
+ this fixes test failures on test/ruby/test_process.rb and
+ test/webrick.
- * cygwin/GNUmakefile.in: remove VPATH.
+Fri Jul 5 09:53:15 2013 NARUSE, Yui <naruse@ruby-lang.org>
+ * lib/mkmf.rb (CONFIG['CPPOUTFILE']): fix r41769; CONFIG['CPPOUTFILE']
+ may be nil.
- * ext/extmk.rb.in: Makefile set binmode with mingw32 on cygwin32.
+Fri Jul 5 05:39:53 2013 Tanaka Akira <akr@fsij.org>
- * lib/mkmf.rb: ditto.
+ * bignum.c (BARY_MUL1): Renamed from BARY_MUL.
+ (bary_mul1): Renamed from bary_mul.
+ (bary_mul): Renamed from bary_mul2.
- * win32/config.h: undef HAVE_SYS_FILE_H.
+Fri Jul 5 04:58:05 2013 Tanaka Akira <akr@fsij.org>
-Sun May 14 02:02:48 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * bignum.c (bary_mul_balance): Extracted from bigmul1_balance and
+ use bary_mul2 and bary_add to decrease allocations.
- * lib/irb/ruby-lex.rb: '/' should be escaped in character class.
+Fri Jul 5 02:14:00 2013 Akinori MUSHA <knu@iDaemons.org>
-Sun May 14 00:54:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * lib/fileutils.rb (FileUtils#symbolic_modes_to_i): Fix the wrong
+ character class [+-=], which happened to match all desired
+ characters but also match undesired characters.
- * configure.in, ...: support mingw32.
+ * lib/fileutils.rb (FileUtils.chmod{,_R}): Enhance the symbolic
+ mode parser to support the permission symbols u/g/o and multiple
+ actions as defined in SUS, so that chmod("g=o+w", file) works as
+ expected. Invalid symbolic modes are now rejected with
+ ArgumentError.
- * defines.h: ditto. undef EXTERN for tcl/tk on cygwin.
+Fri Jul 5 00:25:39 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/*/extconf.rb: replace PLATFORM with RUBY_PLATFORM.
+ * lib/mkmf.rb (have_framework): allow header file to check.
+ [ruby-core:55745] [Bug #8593]
- * ext/socket/sockport.h: define IN_MULTICAST for missing IN_MULTICAST.
+Thu Jul 4 22:31:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * ext/tcltklib/tcltklib.c: remove declaration of rb_argv0.
+ * object.c (rb_obj_equal): Fixed an rb_obj_equal documentation typo
+ where "a" was used instead of "obj".
+ Fixes GH-349. Patch by @adnandoric
- * file.c: should check S_IXGRP, S_ISGID, not NT.
+Thu Jul 4 20:39:20 2013 Tanaka Akira <akr@fsij.org>
- * io.c (rb_io_binmode): should check _IOBIN, O_BINARY, not PLATFORMs.
+ * tool/make-snapshot: Exit with EXIT_FAILURE when it fails.
-Sat May 13 14:21:15 2000 Koji Arai <JCA02266@nifty.ne.jp>
+Thu Jul 4 20:20:23 2013 Tanaka Akira <akr@fsij.org>
- * io.c (rb_io_s_popen): should check whether a block is given.
+ * bignum.c (maxpow_in_bdigit_dbl): Use tables if available.
+ (maxpow_in_bdigit): Ditto.
+ (U16): New macro.
+ (U32): Ditto.
+ (U64): Ditto.
+ (U128): Ditto.
+ (maxpow16_exp): New table.
+ (maxpow16_num): New table.
+ (maxpow32_exp): New table.
+ (maxpow32_num): New table.
+ (maxpow64_exp): New table.
+ (maxpow64_num): New table.
+ (maxpow128_exp): New table.
+ (maxpow128_num): New table.
-Fri May 12 17:33:44 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Jul 4 18:25:25 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (re_compile_pattern): charset_not should not exclude
- newline from matching set.
+ * bignum.c (rb_cstr_to_inum): Avoid temporary buffer allocation except
+ very big base non-power-of-2 numbers.
-Thu May 11 22:51:05 2000 Ryunosuke Ohshima <ryu@jaist.ac.jp>
+Thu Jul 4 15:51:56 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * pack.c (pack_pack): Bignum support.
+ * string.c (rb_str_succ): use ONIGENC_MBCLEN_CHARFOUND_P correctly.
- * pack.c (pack_unpack): ditto.
+ * string.c (rb_str_dump): ditto.
-Thu May 11 21:19:29 2000 Hiroshi Igarashi <iga@ruby-lang.org>
+Thu Jul 4 10:04:11 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * intern.h: add missing declarations of ruby API functions.
+ * regcomp.c (): Merge Onigmo 5.13.5 23b523076d6f1161.
- * ruby.h: fix function name in declarations.
+ * [bug] (thanks Akinori MUSHA and Ippei Obayashi)
+ Fix a renumbering bug in condition regexp with a named
+ capture. [Bug #8583]
+ * [spec] (thanks Akinori MUSHA)
+ Allow ENCLOSE_OPTION in look-behind.
-Thu May 11 22:29:25 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Thu Jul 4 00:36:03 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/md5/depend: add $(topdir)/config.h dependency to md5c.o.
+ * internal.h (SIGNED_INTEGER_MAX): suppress warning C4146 on VC6.
+ seems a logical ORed expression becomes unsigned.
- * ext/md5/extconf.rb: new file to add -DHAVE_CONFIG_H flag for Alpha.
+Thu Jul 4 00:13:01 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu May 11 10:55:52 2000 Ryunosuke Ohshima <ryu@jaist.ac.jp>
+ * ruby_atomic.h (rb_w32_atomic_cas): call InterlockedCompareExchange
+ directly.
- * pack.c (pack_pack): packing BER compressed integer by `w'.
+ * ruby_atomic.h (ATOMIC_CAS): fix missing function call.
- * pack.c (pack_unpack): unpacking BER.
+Wed Jul 3 23:47:35 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu May 11 00:37:55 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ruby_atomic.h (ATOMIC_CAS): suppress C4022 and C4047 warnings in
+ VC6. only InterlockedCompareExchange is declared using PVOID.
- * parse.y (parse_regx): remove in_brack.
+Wed Jul 3 22:29:20 2013 Tanaka Akira <akr@fsij.org>
-Wed May 10 12:51:18 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * internal.h (ruby_digit36_to_number_table): Declared.
- * ruby.c (proc_options): move adding RUBYLIB and "." to the load
- path after #! line parsing.
+ * util.c (ruby_digit36_to_number_table): Moved from scan_digits.
- * parse.y (parse_regx): should parse backslash escape like `\c['
- here to avoid causing `unterminated regexp' error.
+ * bignum.c (conv_digit): Use ruby_digit36_to_number_table.
-Wed May 10 00:19:53 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * pack.c (hex2num): Ditto.
- * MANIFEST, beos/GNUmakefile.in, configure.in: no longer need
- beos/GNUmakefile.in to support BeOS R4.5.2 (Intel) as a result
- of eban's Makefile.in change.
+Wed Jul 3 18:12:56 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c: NOFILE is already defined on BeOS R4.5 (Intel) or later.
+ * lib/mkmf.rb (install_dirs): revert DESTDIR prefix by r39841, since
+ it is fixed by r41648. [ruby-core:55760] [Bug #8115]
- * lib/matrix.rb: remove debug print.
+Wed Jul 3 14:15:25 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * regex.c: don't use nested comment.
+ * dir.c (do_stat): use rb_w32_ustati64() in win32.c to get rid of
+ mysterious behavior of FindFirstFile() Windows API which treat "<"
+ and ">" like as wildcard characters. [ruby-core:55764] [Bug #8597]
-Tue May 9 17:08:43 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Jul 3 12:06:42 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (massign): no longer convert nil into empty array.
+ * bignum.c (maxpow_in_bdigit): Renamed from calc_hbase and return
+ maxpow.
- * io.c (rb_io_s_popen): optional 3rd argument to give proc, which
- will be executed in spawned child process.
+Tue Jul 2 23:47:50 2013 Tanaka Akira <akr@fsij.org>
-Mon May 8 23:47:39 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * bignum.c (roomof): Cast to long.
+ (rb_ull2big): Fix bignew arguments.
- * eval.c (rb_callcc): prev & next should be initialized to zero.
+Tue Jul 2 21:17:37 2013 Tanaka Akira <akr@fsij.org>
-Mon May 8 23:17:36 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (rb_cstr_to_inum): Merge two temporary buffers.
- * dln.c (dln_init): remove possible buffer overrun. This is
- suggested by Aleksi Niemela <aleksi.niemela@cinnober.com>.
+Tue Jul 2 20:25:04 2013 Tanaka Akira <akr@fsij.org>
- * dln.c (init_funcname): ditto.
+ * bignum.c (rb_cstr_to_inum): Use BDIGIT_DBL to collect adjacent digits.
+ (BDIGIT_DBL_MAX): New macro.
+ (maxpow_in_bdigit_dbl): New function.
-Sat May 6 23:35:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Jul 2 17:23:33 2013 Shugo Maeda <shugo@ruby-lang.org>
- * parse.y (lhs): should allow `obj.Attr = 5' type expression.
+ * doc/syntax/refinements.rdoc: add description of Module#using and
+ refinement inheritance by module inclusion.
-Sat May 6 15:46:08 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+Tue Jul 2 17:22:44 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/socket/extconf.rb: add a new configure option to force use
- of the WIDE Project's getaddrinfo(): --enbale-wide-getaddrinfo.
+ * internal.h: add EUC-JP and Windows-31J.
-Fri May 5 21:19:22 2000 MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
+ * re.c (rb_char_to_option_kcode): use built-in encoding indexes in
+ internal.h.
- * parse.y (yylex): allow '$1foo' and such.
+ * internal.h: add UTF8-MAC.
-Fri May 5 17:57:24 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * dir.c (rb_utf8mac_encoding): use built-in encoding indexes in
+ internal.h.
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.17.
+ * internal.h: add UTF-{16,32} dummy encodings.
- * lib/net/http.rb: write also port number in Host: field.
+ * string.c (rb_str_inspect, str_scrub0): use built-in encoding indexes
+ in internal.h.
- * lib/net/http.rb: see Proxy-Connection: to decide socket connection.
+ * internal.h: add UTF-{16,32}{BE,LE}.
-Fri May 5 03:25:15 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * io.c (io_strip_bom): use built-in encoding indexes in internal.h.
- * regex.c (re_compile_fastmap): charset_not for multibyte
- characters excluded too many characters.
+ * internal.h (rb_{ascii8bit,utf8,usascii}_encindex): use built-in
+ encoding indexes for optimization.
-Tue May 2 13:23:43 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * encoding.c (enc_inspect, rb_locale_encindex),
+ (enc_set_filesystem_encoding, rb_filesystem_encindex): use built-in
+ encoding indexes directly.
- * eval.c (rb_thread_schedule): little bit more impartial context
- switching.
+ * encoding.c (rb_enc_set_index, rb_enc_associate_index): validate
+ argument encoding index.
-Tue May 2 09:50:03 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * include/ruby/encoding.h (ENCODING_SET): use rb_enc_set_index()
+ instead of setting inlined bits directly.
- * configure.in: add DLDLIBS to set platform specific library
- for extensions.
+ * encoding.c (rb_enc_init): register preserved indexes.
- * ext/extmk.rb.in: use @DLDLIBS@ instead of RUBY_PLATFORM choice.
+ * internal.h (ruby_preserved_encindex): move from encoding.c.
- * lib/mkmf.rb: use CONFIG["DLDLIBS"] instead of RUBY_PLATFORM choice.
+Tue Jul 2 11:14:36 2013 Shota Fukumori <sorah@cookpad.com>
- * config_s.dj: add @DLDLIBS@.
+ * lib/mkmf.rb (try_config): Fix to not replace $LDFLAGS with $libs
+ (1.9.3 behavior) [ruby-core:55752] [Bug #8595]
- * win32/config.status: ditto.
+Tue Jul 2 00:39:59 2013 Tanaka Akira <akr@fsij.org>
- * win32/ruby.def: regular maintenance.
+ * ext/socket/ipsocket.c (init_inetsock_internal): Don't try mismatched
+ address family if already failed.
-Mon May 1 23:42:44 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+Mon Jul 1 23:07:38 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * configure.in, eval.c: add DLEXT2. now DLEXT on Cygwin is "so".
+ * template/encdb.h.tmpl: define encoding index macros to use the index
+ statically from C source.
- * defines.h: use dllimport, dllexport for Cygwin 1.1.x.
+Mon Jul 1 22:57:19 2013 Tanaka Akira <akr@fsij.org>
- * ruby.h: ditto.
+ * bignum.c (bary_mul2): New function.
+ (rb_cstr_to_inum): Use a better algorithm to compose the result
+ if input length is very long.
- * cygwin/GNUmakefile.in: ditto.
+Mon Jul 1 20:22:00 2013 Kenta Murata <mrkn@cookpad.com>
- * ext/Win32API/Win32API.c: directly "call" in asm statement for
- gcc 2.95.x or newer.
+ * ext/bigdecimal/bigdecimal.h (RB_UNUSED_VAR, UNREACHABLE):
+ import macros from ruby.h for 1.9.3.
+ [Bug #8588] [ruby-core:55730]
-Sat Apr 29 04:58:12 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * ext/bigdecimal/bigdecimal.gemspec: Bump version to 1.2.1.
- * array.c (rb_ary_unshift_m): performance improvement.
+Mon Jul 1 20:03:39 2013 Tanaka Akira <akr@fsij.org>
-Fri Apr 28 00:19:22 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * ext/socket/ipsocket.c (init_inetsock_internal): Use an address
+ family for local address which is different to the remote
+ address if no other choice.
- * array.c (rb_ary_unshift_m): takes items to push.
+Mon Jul 1 15:05:00 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Apr 26 15:23:02 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/csv.rb (CSV#<<): use StringIO#set_encoding instead of creating
+ new StringIO instance with String#force_encoding, forcing encoding
+ discards the cached coderange bits and can make further operations
+ very slow. [ruby-core:55714] [Bug #8585]
- * string.c (rb_str_succ): insert carrying character just before
- the leftmost alpha numeric character.
+ * ext/stringio/stringio.c (strio_write): keep coderange of
+ ptr->string.
- * string.c (rb_str_succ): proper behavior for "".succ and "\377".succ.
+ * string.c (rb_enc_cr_str_buf_cat, rb_str_append): consider an empty
+ string 7bit-clean and should not discard cached coderange of string
+ to be appended.
- * string.c (rb_str_succ): use realloc and memmove.
+Mon Jul 1 12:56:41 2013 Shugo Maeda <shugo@ruby-lang.org>
-Tue Apr 25 18:28:45 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * eval.c (rb_using_module): activate refinements in the ancestors of
+ the argument module to support refinement inheritance by
+ Module#include. [ruby-core:55671] [Feature #8571]
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.16.
+ * test/ruby/test_refinement.rb: related test.
- * lib/net/smtp.rb: add SMTP AUTH
+Mon Jul 1 12:02:39 2013 Tanaka Akira <akr@fsij.org>
-Tue Apr 25 14:30:13 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (rb_cstr_to_inum): Skip leading zeros.
- * io.c (rb_io_gets_internal): shortcut when rs == rb_default_rs.
+Mon Jul 1 00:59:23 2013 Tanaka Akira <akr@fsij.org>
-Sat Apr 22 23:14:41 2000 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
+ * bignum.c (nlz16): New function.
+ (nlz32): Ditto.
+ (nlz64): Ditto.
+ (nlz128): Ditto.
+ (nlz): Redefined using an above function.
+ (bitsize): New macro.
+ (rb_cstr_to_inum): Use bitsize instead of nlz.
- * configure.in: MacOS X support.
+Sun Jun 30 22:40:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Sat Apr 22 16:37:10 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * lib/prime.rb: Corrected a few comments. Patch by @Nullset14.
+ Fixes GH-346.
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.15.
+Sun Jun 30 21:53:38 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/http.rb: closing socket by watching both
- user header and server response
+ * bignum.c (rb_cstr_to_inum): Use rb_integer_unpack if base is a power
+ of 2.
-Fri Apr 21 21:44:34 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+Sun Jun 30 10:59:23 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (rb_io_s_pipe): should set FMODE_SYNC.
+ * win32/win32.c (join_argv): use backslash instead of slash in program
+ path, otherwise cannot invoke "./c\u{1ee7}a.exe" for some reason.
+ [ruby-core:24309] [Bug #1771]
-Thu Apr 20 16:59:22 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * io.c (spawnv, spawn): use UTF-8 spawn family. [Bug #1771]
- * eval.c (massign): `*lvalue = false' should assign `[false]' to
- lvalue.
+ * process.c (proc_exec_sh, proc_spawn_cmd, proc_spawn_sh): ditto.
-Wed Apr 19 08:35:08 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * win32/win32.c (translate_char, join_argv, has_redirection): make
+ codepage aware.
- * class.c (rb_singleton_class): generate singleton class for
- special constants: nil, true, false.
+ * win32/win32.c (rb_w32_udln_find_exe_r, rb_w32_udln_find_file_r):
+ codepage independent versions.
-Wed Apr 19 02:09:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * win32/win32.c (w32_spawn): extract codepage aware code from
+ rb_w32_spawn().
- * class.c (rb_singleton_class): singleton method for nil, true,
- false is possible now.
+ * win32/win32.c (rb_w32_uspawn): add UTF-8 version function.
- * eval.c (rb_eval): ditto.
+ * win32/win32.c (w32_aspawn_flags): extract codepage aware code from
+ rb_w32_aspawn_flags().
-Tue Apr 18 18:54:25 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * win32/win32.c (rb_w32_uaspawn_flags, rb_w32_uaspawn_flags): add
+ UTF-8 version functions.
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.14.
+ * win32/win32.c (w32_getenv): extract codepage aware code from
+ rb_w32_ugetenv() and rb_w32_getenv().
- * lib/net/http.rb: new method HTTP#head2.
+ * win32/win32.c (w32_stati64): extract codepage aware code from
+ rb_w32_ustati64() and rb_w32_stati64().
- * lib/net/http.rb: get2/post2 does not raise exceptions.
+ * dln.h (DLN_FIND_EXTRA_ARG, DLN_FIND_EXTRA_ARG_DECL): allow extra
+ arguments to dln_find_{exe,file}_r().
-Mon Apr 17 15:16:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * dln_find.c (dln_find_exe_r, dln_find_file_r): add extract arguments.
- * io.c (rb_io_close): to detect some exceptional status, writable
- IO should be flushed before close;
+ * process.c (EXPORT_STR, EXPORT_DUP): convert to default process
+ encoding if defined.
-Sat Apr 15 18:29:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * process.c (check_exec_env_i): convert environment variables too.
- * array.c (rb_ary_collect_bang): Array#filter renamed.
+ * process.c (rb_exec_fillarg): convert program path and arguments too.
-Fri Apr 14 19:47:11 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Sun Jun 30 01:57:08 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.13.
+ * bignum.c (big_rshift): Use abs2twocomp and twocomp2abs_bang.
- * lib/net/pop.rb: accept illegal timestamp
+Sun Jun 30 00:14:20 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/http.rb: when body was chunked, does not set Content-Length:
+ * bignum.c (RBIGNUM_SET_NEGATIVE_SIGN): New macro.
+ (RBIGNUM_SET_POSITIVE_SIGN): Ditto.
+ (rb_big_neg): Inline get2comp to avoid double negation.
-Tue Apr 11 21:14:42 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Sat Jun 29 23:26:41 2013 Tanaka Akira <akr@fsij.org>
- * config_s.dj: add @sitedir@.
- * configure.in: add --with-sitedir=DIR option.
- * instruby.rb: use CONFIG["sitedir"].
- * lib/mkmf.rb: support 'make site-install'.
- * win32/config.status: add @sitedir@.
+ * bignum.c (bary_neg): Extracted from bary_2comp.
+ (bary_plus_one): Extracted from bary_2comp.
+ (bary_2comp): Use bary_neg and bary_plus_one.
+ (big_extend_carry): Extracted from get2comp.
+ (get2comp): Use big_extend_carry.
+ (rb_integer_unpack): Use big_extend_carry.
+ (rb_big_neg): Use bary_neg.
-Tue Apr 11 16:25:15 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 29 22:31:59 2013 Tanaka Akira <akr@fsij.org>
- * bignum.c (rb_big_2comp): unnecessary lvalue cast removed.
+ * bignum.c (bary_2comp): Simplified.
-Tue Apr 11 02:25:53 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 29 09:33:53 2013 Tanaka Akira <akr@fsij.org>
- * hash.c (env_fetch): new method.
+ * bignum.c (bigor_int): Return -1 if y == -1.
- * marshal.c (marshal_dump): accepts depth = nil for unlimited depth.
+Sat Jun 29 09:07:16 2013 Tanaka Akira <akr@fsij.org>
-Sun Apr 9 20:49:19 2000 Dave Thomas <Dave@Thomases.com>
+ * bignum.c (bigor_int): Use RB_GC_GUARD.
+ (bigxor_int): Take xn and hibitsx arguments. Use twocomp2abs_bang.
+ (rb_big_xor): Use abs2twocomp and twocomp2abs_bang.
- * parse.y (str_extend): Allow class variables to be expanded.
+Sat Jun 29 08:19:58 2013 Tanaka Akira <akr@fsij.org>
-Fri Apr 7 02:03:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (bigand_int): Don't apply bitwise and for BDIGIT and long.
+ (bigor_int): Take xn and hibitsx arguments. Use twocomp2abs_bang.
+ (rb_big_or): Use abs2twocomp and twocomp2abs_bang.
- * error.c (rb_sys_fail): escape non-printable characters.
+Fri Jun 29 01:08:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Thu Apr 6 20:10:47 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * numeric.c (fix_mul): remove FIT_SQRT_LONG test as it was causing
+ fix_mul to return an incorrect result for -2147483648*-2147483648
+ on 64 bit platforms
- * ext/extmk.rb.in (create_makefile): BeOS --program-suffix support.
- * lib/mkmf.rb (create_makefile): ditto.
+ * test/ruby/test_integer_comb.rb (class TestIntegerComb): add test case
-Thu Apr 6 09:55:26 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Fri Jun 28 12:26:53 2013 Tanaka Akira <akr@fsij.org>
- * error.c (rb_sys_fail): need rb_exc_new2() call on BeOS.
+ * bignum.c (rb_big_and): Allocate new bignum with same size to shorter
+ argument if it's high bits are zero.
-Mon Apr 3 17:22:27 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 28 12:14:04 2013 Tanaka Akira <akr@fsij.org>
- * io.c (rb_io_reopen): support tempfile.
+ * ext/socket/ipsocket.c (init_inetsock_internal): Don't use local
+ addresses which address family is different to remote address.
- * eval.c (catch_i): should supply argument.
+Fri Jun 28 08:06:22 2013 Tanaka Akira <akr@fsij.org>
-Sat Apr 1 22:50:28 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (bigand_int): Add arguments, xn and hibitsx.
+ Use twocomp2abs_bang.
- * marshal.c (r_object): wrong symbol restoration.
+Thu Jun 27 23:58:13 2013 Tanaka Akira <akr@fsij.org>
-Sat Apr 1 21:30:53 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * bignum.c (abs2twocomp_bang): Removed.
+ (abs2twocomp): Take n_ret argument to return actual length.
+ (rb_big_and): Follow above change.
- * io.c (rb_io_printf, rb_f_printf): should use rb_io_write.
+Thu Jun 27 22:52:19 2013 Tanaka Akira <akr@fsij.org>
-Sat Apr 1 00:16:05 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (get2comp): Use bary_2comp.
+ (abs2twocomp_bang): New function.
+ (abs2twocomp): New function.
+ (twocomp2abs_bang): New function.
+ (rb_big_and): Use abs2twocomp and twocomp2abs_bang.
- * gc.c (rb_gc_call_finalizer_at_exit): should be clear flags
- before calling finalizers.
+Thu Jun 27 20:03:13 2013 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
- * eval.c (specific_eval): can be called without SecurityError, if
- $SAFE >= 4.
+ * ext/openssl/lib/openssl/ssl.rb (verify_certificate_identity): fix
+ hostname verification. Patched by nahi.
- * object.c (sym_inspect): inspect gives ":sym", to_s gives "sym".
+ * test/openssl/test_ssl.rb (test_verify_certificate_identity): test for
+ above.
-Fri Mar 31 22:07:04 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.12.
+Thu Jun 27 00:23:57 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/protocol.rb: update Net::Protocol::Proxy#connect
+ * bignum.c (rb_big_pow): Retry if y is a Bignum and it is
+ representable as a Fixnum.
+ Use rb_absint_numwords.
- * lib/net/protocol.rb: ReplyCode is not a class
+Wed Jun 26 23:53:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * lib/net/http.rb: header value format was change:
- values do not include header name
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_save_rounding_mode): fix typo.
+ Fixes GH-343. Patch by @jgarber.
- * lib/net/http.rb: header is not a Hash, but HTTPResponse
+Wed Jun 26 23:22:21 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Mar 30 12:19:44 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * enumerator.c (rb_enumeratorize_with_size): use strict definition
+ rb_enumerator_size_func.
- * enum.c (enum_find): rb_eval_cmd() should be called with array.
+Wed Jun 26 23:11:14 2013 Kouhei Sutou <kou@cozmixng.org>
-Tue Mar 28 13:57:05 2000 Clemens Hintze <c.hintze@gmx.net>
+ * gc.c (is_before_sweep): Add a missing space before a parenthesis.
+ * gc.c (rb_gc_force_recycle): Add a missing space around a parenthesis.
- * ext/dbm/dbm.c (fdbm_invert): should return new hash.
+Wed Jun 26 22:44:00 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/gdbm/gdbm.c (fgdbm_invert): ditto.
+ * include/ruby/intern.h (rb_enumeratorize_with_size): cast for
+ backward compatibility.
-Tue Mar 28 00:58:03 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * include/ruby/intern.h (rb_enumerator_size_func): define strict
+ function declaration for rb_enumeratorize_with_size().
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.11.
+Wed Jun 26 21:01:22 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: does not
- dispatch any commands while dispatching command.
+ * test/ruby/test_io.rb (TestIO#test_write_32bit_boundary): skip if
+ writing a file is slow.
+ [ruby-core:55541] [Bug #8519]
- * lib/net/protocol.rb: failed to get error class of
- inherited ReplyCode
+Wed Jun 26 16:42:11 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/net/http.rb: change feature of "get2", "post2"
+ * lib/mkmf.rb: should use expanded values for header directories
+ unless extmk. patch by vo.x (Vit Ondruch) at [ruby-core:55653]
+ [Bug #8115], rhbz#921650.
-Mon Mar 27 01:34:58 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Wed Jun 26 12:48:22 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.10.
+ * bignum.c (bigxor_int): Fix a buffer over read.
- * lib/net/http.rb: return value of 'head' was wrong.
+Wed Jun 26 12:13:12 2013 Tanaka Akira <akr@fsij.org>
-Sun Mar 26 17:47:35 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * bignum.c (bigand_int): Consider negative values.
+ (bigor_int): The allocated bignum should have enough size
+ to store long.
+ This fixes (bignum fits in a BDIGIT) | (fixnum bigger than BDIGIT)
+ on platforms which SIZEOF_BDIGITS < SIZEOF_LONG,
+ such as LP64 with 32bit BDIGIT (no int128).
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.9.
+Wed Jun 26 12:08:51 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/smtp.rb: SMTP#do_ready wrongly took no arguments
+ * test/socket/test_udp.rb: Close sockets explicitly.
+ Don't use fixed port number.
-Sat Mar 25 23:21:10 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Jun 26 07:27:17 2013 Tanaka Akira <akr@fsij.org>
- * marshal.c (w_object): symbols should be converted to ID before
- dumping out.
+ * bignum.c (bigand_int): Fix a buffer over read.
-Fri Mar 24 18:26:51 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Jun 26 06:48:07 2013 Tanaka Akira <akr@fsij.org>
- * file.c (test_check): should have checked exact number of arguments.
+ * bignum.c (bigadd_int): Fix a buffer over read.
-Fri Mar 24 21:02:11 2000 Koji Arai <JCA02266@nifty.ne.jp>
+Wed Jun 26 01:18:13 2013 Masaya Tarui <tarui@ruby-lang.org>
- * signal.c (trap): should treat some symbols as the signal.
+ * gc.c (is_before_sweep): Add new helper function that check the object
+ is before sweep?
+ * gc.c (rb_gc_force_recycle): Have to clear mark bit if object's slot
+ already ready to minor sweep.
-Fri Mar 24 06:58:03 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Wed Jun 26 01:17:29 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.8.
+ * bignum.c (bigsub_int): Fix a buffer over read.
- * lib/net/http.rb: post, get2, post2, get_body
+Tue Jun 25 22:45:43 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: separate
- Command/Socket documentation.
+ * bignum.c (rb_absint_singlebit_p): Use POW2_P.
+ (bary_pack): Ditto.
+ (rb_big2str0): Ditto.
+ (POW2_P): Moved to top.
-Thu Mar 23 02:26:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Jun 25 22:28:07 2013 Akinori MUSHA <knu@iDaemons.org>
- * io.c (rb_io_fptr_finalize): fptr may be null.
+ * lib/rubygems/ext/builder.rb (Gem::Ext::Builder.make): Pass
+ DESTDIR via command line to override what's in MAKEFLAGS. This
+ fixes an installation problem under a package building
+ environment where DESTDIR is specified in the (parent) command
+ line. [Fixes GH-327]
- * io.c (rb_io_s_new): now calls `initialize'.
+Tue Jun 25 21:43:13 2013 Tanaka Akira <akr@fsij.org>
- * io.c (rb_io_initialize): actual open done in this method.
+ * bignum.c (big2dbl): Use (BDIGIT)1 instead of 1UL.
+ (bary_mul_normal): Remove a useless cast.
- * io.c (rb_file_initialize): ditto.
+Tue Jun 25 21:26:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * eval.c (rb_eval): class variables in singleton class definition
- is now handled properly (I hope).
+ * ext/bigdecimal/bigdecimal.c (BigMath_s_exp): Fix for the cases when
+ the argument x is not a BigDecimal.
+ This change is based on the patch made by Heesob Park and Garth Snyder.
+ [Bug #6862] [ruby-core:47145]
+ [Fixes GH-332] https://github.com/ruby/ruby/pull/332
-Wed Mar 22 21:49:36 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Tue Jun 25 20:36:31 2013 Tanaka Akira <akr@fsij.org>
- * st.c (st_delete_safe): skip already deleted entry.
+ * bignum.c (big2ulong): "check" argument removed.
+ (rb_big2ulong): Follow above change.
+ (rb_big2long): Ditto.
+ (rb_big_rshift): Ditto.
+ (rb_big_aref): Ditto.
- * hash.c (rb_hash_delete): modify brace miss.
+Tue Jun 25 20:08:29 2013 Tanaka Akira <akr@fsij.org>
-Wed Mar 22 08:53:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (rb_big2ulong_pack): Use rb_integer_pack.
+ (rb_big_aref): Call big2ulong with TRUE for "check" argument.
+ It should be non-effective.
- * eval.c (exec_under): do not push cbase if ruby_cbase == under.
+Tue Jun 25 19:07:33 2013 Tanaka Akira <akr@fsij.org>
- * node.h (NEW_CREF0): preserve cbase nesting.
+ * bignum.c (LSHIFTX): Revert r41611.
+ The redundant expression suppresses a warning, C4293, by Visual
+ Studio.
+ http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20130625T072854Z.log.html.gz#miniruby
-Tue Mar 21 12:57:50 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Jun 25 19:03:00 2013 Tanaka Akira <akr@fsij.org>
- * object.c (rb_class_s_new): Class::new should call `inherited'.
+ * bignum.c (big2ulong): Add a cast.
+ (big2ull): Add a specialized code for SIZEOF_LONG_LONG <=
+ SIZEOF_BDIGITS.
-Sat Mar 18 12:36:09 2000 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Tue Jun 25 12:42:57 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_backtrace, make_backtrace): removed unused variable
- `lev'.
+ * bignum.c (integer_unpack_single_bdigit): Use "1 + ~u" instead of
+ "-u" to suppress warning (C4146) by Visual Studio.
+ Reported by ko1 via IRC.
- * eval.c (rb_attr): calls `method_added' at attribute definition.
+Tue Jun 25 12:28:57 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_mod_modfunc): calls `singleton_method_added' while
- `module_function'.
+ * bignum.c (big2ulong): Add code specialized for SIZEOF_LONG <=
+ SIZEOF_BDIGITS.
+ This prevents shift width warning from "num <<= BITSPERDIG".
- * eval.c (rb_eval): parameter to `method_added' and
- `singleton_method_added' is Symbol.
+Tue Jun 25 12:23:30 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (Init_eval): caches IDs for `method_added' and
- `singleton_method_added'.
+ * gc.c: fix oldgen/remembered_shady counting algorithm.
-Sat Mar 18 11:25:10 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (rgengc_check_shady): increment
+ `objspace->rgengc.remembered_shady_object_count' here.
- * parse.y (rescue): allows `rescue Error in foo'. experimental.
- which is better this or preparing alias `exception' for `$!'?
+ * gc.c (rgengc_remember): return FALSE if obj is already remembered.
-Fri Mar 17 15:02:45 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (rgengc_rememberset_mark): make it void.
- * variable.c (rb_autoload_id): defining new autoload should be
- prohibited for $SAFE > 4.
+ * gc.c (gc_mark_children): fix to double counting oldgen_object_count
+ at minor GC.
- * variable.c (rb_autoload_load): autoload should be possible for
- $SAFE > 4.
+Tue Jun 25 12:07:18 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (call_trace_func): should handle T_ICLASS properly.
+ * bignum.c (MSB): Removed.
+ (BDIGIT_MSB): Defined using BIGRAD_HALF.
+ (bary_2comp): Apply BIGLO after possible over flow of BDIGIT.
+ (get2comp): Ditto.
+ (bary_unpack_internal): Use BDIGIT_MSB.
+ Apply BIGLO after possible over flow of BDIGIT.
+ (rb_integer_unpack): Use BDIGIT_MSB.
+ (calc_hbase): Use BDIGMAX.
+ (big2dbl): Use BDIGMAX.
+ Apply BIGLO after possible over flow of BDIGIT.
+ (rb_big_neg): Apply BIGLO after possible over flow of BDIGIT.
+ (biglsh_bang): Ditto.
+ (bigrsh_bang): Ditto.
+ (bary_divmod): Use BDIGIT_MSB.
+ (bigdivrem): Ditto.
+ (bigxor_int): Apply BIGLO after possible over flow of BDIGIT.
-Fri Mar 17 14:34:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * marshal.c (shortlen): Use SIZEOF_BDIGITS instead of sizeof(BDIGIT).
- * string.c (str_gsub): forgot to initialize str->orig.
+ * ext/openssl/ossl_bn.c (ossl_bn_initialize): Use SIZEOF_BDIGITS
+ instead of sizeof(BDIGIT).
-Fri Mar 17 01:24:59 2000 Dave Thomas <Dave@thomases.com>
+Tue Jun 25 11:40:08 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (rb_str_clone): forgot to copy str->orig if STR_NO_ORIG
- is set by Array#pack.
+ * bignum.c (big2ulong): suppress shorten-64-to-32 warning. BDIGIT can
+ be bigger than long now.
-Wed Mar 15 21:25:04 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * bignum.c (LSHIFTX): remove redundant never-true expression.
- * array.c (rb_ary_join): 'result' is always duplicated
- before concat string.
+Tue Jun 25 00:55:54 2013 Masaya Tarui <tarui@ruby-lang.org>
-Wed Mar 15 17:26:05 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (typedef struct rb_objspace): Change members for monitor objects.
+ * gc.c (gc_marks_test): Check all WriteBarrier Errors and track them in obj-tree.
+ * gc.c (rgengc_check_shady): Ditto.
+ * gc.c (gc_marks): Move 2 function calls to gc_marks_test for test initialize.
- * hash.c (rb_hash_s_create): unexpected recursive call removed.
- this bug was found by Satoshi Nojo <nojo@t-samukawa.or.jp>.
+Mon Jun 24 23:30:31 2013 Tanaka Akira <akr@fsij.org>
-Wed Mar 15 13:12:39 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (integer_unpack_single_bdigit): Refine code to filling
+ higher bits and use BIGLO.
- * eval.c (Init_Thread): Thread.join removed finally.
+Mon Jun 24 22:26:31 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
- * string.c (rb_str_chomp_bang): forgot to call rb_str_modify().
+ * test/rinda/test_rinda.rb (RingIPv6#prepare_ipv6):
+ ifindex() function may not be implemented on Windows. We use another
+ check for the case.
-Mon Mar 13 16:12:13 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Jun 24 22:11:37 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
- * eval.c (block_pass): distinguish real orphan block and still
- on-stack block passed by block argument.
+ * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_nolock):
+ skip a failing test on Windows because flock() implementation is
+ different from Unix.
-Mon Mar 13 00:20:25 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Jun 24 22:06:14 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
- * parse.y (f_norm_arg): proper error message when constant comes
- in formal argument list. this message is suggested by Muvaw
- Pnazte <bugathlon@yahoo.com>.
+ * test/rubygems/test_gem_installer.rb (test_install_extension_flat):
+ use ruby in build directory in case ruby is not installed.
+ [ruby-core:53265] [Bug #8058]
- * eval.c (rb_f_raise): proper error message when the first
- argument is not an exception class/object.
+Mon Jun 24 22:04:02 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
- * string.c (rb_str_dup): dup now postpone buffer copy as long as
- possible. performance improved by lazy copying.
+ * ext/dl/cfunc.c (rb_dlcfunc_call): fix conversion from Bignum to
+ pointer. sizeof(DLSTACK_TYPE) is larger than sizeof(long) on
+ Windows x64 and higher bits over sizeof(long) of DLSTACK_TYPE was
+ zero even if a pointer value was over 32 bits which causes SEGV on
+ DL::TestCPtr#test_to_ptr_io. Adding a cast solves the bug.
-Sun Mar 12 13:58:52 2000 Koji Arai <JCA02266@nifty.ne.jp>
+Mon Jun 24 22:04:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * signal.c (rb_f_kill): should treat some symbols as the signal.
+ * 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
-Sat Mar 11 22:03:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Jun 24 20:31:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * string.c (rb_str_gsub): performance tune by avoiding buffer copy.
+ * compile.c (make_name_for_block): use PRIsVALUE in format string
+ instead of %s and RSTRING_PTR to protect objects from being garbage
+ collected too soon
+ * encoding.c (str_to_encindex): ditto
+ * hash.c (rb_hash_fetch_m): ditto
+ * io.c (rb_io_reopen): ditto
+ * parse.y (reg_fragment_check_gen): ditto
+ * parse.y (reg_compile_gen): ditto
+ * parse.y (ripper_assert_Qundef): ditto
+ * re.c (rb_reg_raise): ditto
+ * ruby.c (set_option_encoding_once): ditto
+ * vm_eval.c (rb_throw_obj): ditto
- * eval.c (rb_f_missing): check if argv[0] is ID.
+Mon Jun 24 07:57:18 2013 Masaya Tarui <tarui@ruby-lang.org>
-Sat Mar 11 15:49:41 2000 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+ * gc.c (after_gc_sweep): Have to record malloc info before reset.
+ * gc.c (gc_prof_timer_start): Pick out part of new record creation as gc_prof_setup_new_record.
+ * gc.c (gc_prof_set_malloc_info): Move point of recording allocation size to front of mark.
- * struct.c (rb_struct_aref): struct aref by symbol.
+Mon Jun 24 02:53:09 2013 Zachary Scott <zachary@zacharyscott.net>
-Sat Mar 11 05:07:11 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * array.c: Return value in Array overview example found by @PragTob
+ [Fixes GH-336] https://github.com/ruby/ruby/pull/336
- * process.c (proc_setpriority): should return 0, not nil.
+Mon Jun 24 02:45:51 2013 Zachary Scott <zachary@zacharyscott.net>
- * process.c (proc_setpgid): ditto.
+ * array.c (rb_ary_zip): typo by @PragTob [Fixes GH-337]
+ https://github.com/ruby/ruby/pull/337
-Fri Mar 10 18:14:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Jun 24 02:42:01 2013 Zachary Scott <zachary@zacharyscott.net>
- * file.c (path_check_1): confusing buf and path. this bug found
- by <decoux@moulon.inra.fr>.
+ * win32/README.win32: grammar typo by @blankenshipz [Fixes GH-334]
+ https://github.com/ruby/ruby/pull/334
-Fri Mar 10 09:37:49 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Mon Jun 24 00:59:35 2013 Tanaka Akira <akr@fsij.org>
- * MANIFEST: add beos/GNUmakefile.in.
- * configure.in: support BeOS R4.5.2 (Intel).
- * beos/GNUmakefile.in: new file to support BeOS R4.5.2 (Intel).
+ * bignum.c (BIGUP): Use LSHIFTX and avoid cast to consider the type
+ of x is bigger than BDIGIT_DBL.
+ (big2ulong): Use unsigned long to store the result.
+ (big2ull): Use unsigned LONG_LONG to store the result.
+ (bigand_int): Use long for num to avoid data loss.
+ (bigor_int): Ditto.
+ (bigxor_int): Ditto.
-Thu Mar 9 11:13:32 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Jun 23 23:05:58 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (re_compile_fastmap): fixed embarrassing brace bug.
+ * include/ruby/defines.h (BDIGIT): Define it only if it is not defined
+ yet. This eases tests and debug.
+ (SIZEOF_BDIGITS): Ditto.
+ (BDIGIT_DBL): Ditto.
+ (BDIGIT_DBL_SIGNED): Ditto.
+ (PRI_BDIGIT_PREFIX): Ditto.
+ (PRI_BDIGIT_DBL_PREFIX): Ditto.
+ (PRIdBDIGIT): Define it only if PRI_BDIGIT_PREFIX is defined.
+ (PRIiBDIGIT): Ditto.
+ (PRIoBDIGIT): Ditto.
+ (PRIuBDIGIT): Ditto.
+ (PRIxBDIGIT): Ditto.
+ (PRIXBDIGIT): Ditto.
+ (PRIdBDIGIT_DBL): Ditto.
+ (PRIiBDIGIT_DBL): Ditto.
+ (PRIoBDIGIT_DBL): Ditto.
+ (PRIuBDIGIT_DBL): Ditto.
+ (PRIxBDIGIT_DBL): Ditto.
+ (PRIXBDIGIT_DBL): Ditto.
-Thu Mar 9 01:36:32 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * include/ruby/ruby.h (RBIGNUM_EMBED_LEN_MAX): Define it only if it is
+ not defined yet.
- * missing/flock.c: emulate missing flock() with fcntl().
+Sun Jun 23 17:29:51 2013 Tanaka Akira <akr@fsij.org>
-Thu Mar 9 00:29:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (integer_unpack_single_bdigit): Use a cast.
- * object.c (sym_to_s): returns ":sym".
+Sun Jun 23 15:38:07 2013 Koichi Sasada <ko1@atdot.net>
- * object.c (sym_id2name): separated from to_s; returns "sym".
+ * bootstraptest/test_thread.rb: rescue resource limitation errors.
-Wed Mar 8 19:16:19 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Sun Jun 23 08:19:27 2013 Tanaka Akira <akr@fsij.org>
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.7.
+ * bignum.c (integer_unpack_single_bdigit): Extracted from
+ bary_unpack_internal.
- * lib/net/http.rb (connecting): returns header
+Sun Jun 23 07:41:52 2013 Tanaka Akira <akr@fsij.org>
-Wed Mar 8 02:08:43 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (bary_unpack_internal): Suppress warnings (C4146) on Visual Studio.
+ Reported by ko1 via IRC.
- * parse.y: escape expansion too early.
+Sun Jun 23 06:49:28 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (rb_f_scan): Kernel#scan added.
+ * include/ruby/ruby.h, gc.c: rename macros and functions:
+ OBJ_WB_GIVEUP() -> OBJ_WB_UNPROTECT(),
+ rb_obj_wb_giveup() -> rb_obj_wb_unprotect(),
+ rb_gc_giveup_promoted_writebarrier() ->
+ rb_gc_writebarrier_unprotect_promoted(),
- * regex.c (re_compile_pattern): support \cX et al.
+ * class.c, eval.c, hash.c: use OBJ_WB_UNPROTECT().
-Tue Mar 7 01:44:27 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Jun 23 05:41:32 2013 Koichi Sasada <ko1@atdot.net>
- * io.c (set_stdin): simplified procedure, allows $stdin = DATA;
- experimental.
+ * class.c (rb_include_class_new), eval.c (rb_using_refinement):
+ make classes/modules (who share method table) shady.
+ If module `a' and `b' shares method table m_tbl and new method
+ with iseq is added, then write barrier is applied only `a' or `b'.
+ To avoid this issue, shade such classes/modules.
- * io.c (set_outfile): ditto.
+ * vm_method.c (rb_method_entry_make): add write barriers.
- * re.c (Init_Regexp): new method Regexp#last_match added; it's an
- alternative for $~.
+Sun Jun 23 01:27:54 2013 Tanaka Akira <akr@fsij.org>
- * configure.in (DEFAULT_KCODE): KCODE_NONE should be the default.
+ * bignum.c (bytes_zero_p): Removed.
+ (bary_pack): Don't call bytes_zero_p.
- * dir.c (dir_s_rmdir): should return 0 on success.
+Sun Jun 23 00:51:29 2013 Tanaka Akira <akr@fsij.org>
- * signal.c: remove CWGUSI support.
+ * bignum.c (bytes_zero_p): Extracted from bary_pack.
+ (bary_pack): Use bytes_zero_p.
-Mon Mar 6 12:28:37 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Jun 23 00:16:57 2013 Tanaka Akira <akr@fsij.org>
- * marshal.c (w_symbol): support symbol object.
+ * bignum.c (MSB): New macro.
+ (bary_unpack_internal): Use MSB.
+ (bary_divmod): Ditto.
+ (bigdivrem): Ditto.
- * util.c: make symbol as separated class.
+Sat Jun 22 23:45:22 2013 Tanaka Akira <akr@fsij.org>
- * error.c (Init_Exception): new exception RangeError.
+ * bignum.c (bary_swap): New function.
+ (bary_pack): Use bary_swap.
+ (bary_unpack_internal): Ditto.
- * ext/socket/socket.c (ip_addrsetup): should check length of hostname.
+Sat Jun 22 23:18:39 2013 Tanaka Akira <akr@fsij.org>
- * ext/socket/socket.c (ip_addrsetup): check newline at the end of
- hostname. These fixes suggested by Muvaw Pnazte <bugathlon@yahoo.com>.
+ * bignum.c (bytes_2comp): Renamed from quad_buf_complement.
+ (bary_pack): Use bytes_2comp.
+ (rb_quad_pack): Use rb_integer_pack.
+ (rb_quad_unpack): Use rb_integer_unpack.
-Sun Mar 5 20:35:45 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+Sat Jun 22 21:46:18 2013 Tanaka Akira <akr@fsij.org>
- * ext/Win32API/Win32API.c (Win32API_initialize): should call
- LoadLibrary() everytime and should assign the hdll to Win32API
- object(protect the hdll from GC).
+ * bignum.c (rb_integer_unpack): Don't allocate a Bignum if possible.
-Sun Mar 5 18:49:06 2000 Nakada.Nobuyoshi <nobu.nokada@softhome.net>
+Sat Jun 22 21:03:58 2013 Tanaka Akira <akr@fsij.org>
- * misc/ruby-mode.el (ruby-parse-region): not treat method `begin'
- and `end' as reserved words.
+ * pack.c (pack_unpack): Remove specialized unpackers for integers.
- * misc/ruby-mode.el (ruby-font-lock-docs): ignore after `=begin'
- and `=end'.
+Sat Jun 22 20:36:50 2013 Tanaka Akira <akr@fsij.org>
- * misc/ruby-mode.el (ruby-font-lock-keywords, hilit-set-mode-patterns):
- added `yield' to keywords.
+ * bignum.c (bary_unpack_internal): Specialized unpacker implemented.
+ (bary_unpack): Support INTEGER_PACK_FORCE_GENERIC_IMPLEMENTATION.
+ (rb_integer_unpack): Support INTEGER_PACK_FORCE_GENERIC_IMPLEMENTATION.
- * misc/ruby-mode.el (ruby-font-lock-keywords, hilit-set-mode-patterns):
- matches keywords at end of buffer.
+Sat Jun 22 18:53:10 2013 Tanaka Akira <akr@fsij.org>
-Sun Mar 5 18:08:53 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * bignum.c (bary_pack): Support
+ INTEGER_PACK_FORCE_GENERIC_IMPLEMENTATION flag.
+ Fix byte order and word order handling in code specialized for
+ wordsize % SIZEOF_BDIGITS == 0.
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.6.
+ * internal.h (INTEGER_PACK_FORCE_GENERIC_IMPLEMENTATION): Defined.
- * lib/net/http.rb: allow to omit 'start'
+Sat Jun 22 15:41:25 2013 Koichi Sasada <ko1@atdot.net>
-Tue Feb 29 01:08:26 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (rgengc_check_shady): add new WB miss checking
+ on RGENGC_CHECK_MODE >= 2.
- * range.c (range_initialize): initialization done in `initialize';
- `initialize' should not be called more than once.
+ (1) Save bitmaps before marking
+ (2) Run full marking
+ (3) On each traceable object,
+ (a) object was not oldgen (== newly or shady object) &&
+ (b) parent object was oldgen &&
+ (c) parent object was not remembered &&
+ (d) object was not remembered
+ then, it should be WB miss.
- * object.c (Init_Object): default `initialize' should take zero
- argument.
+ This idea of this checker is by Masaya Tarui <tarui@ruby-lang.org>.
- * time.c (time_s_new): call `initialize' in Time::new.
+Sat Jun 22 15:25:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Sat Feb 26 22:39:31 2000 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ * ext/etc/etc.c (setup_passwd): revert r41560, unnecessary
- * string.c (rb_str_times): fix String#* with huge string.
+Sat Jun 22 14:39:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Sat Feb 26 00:14:59 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/etc/etc.c (Init_etc): omit 'passwd' from definition of Etc::Passwd
+ if HAVE_STRUCT_PASSWD_PW_PASSWD is not defined to prevent mismatch of
+ fields and values in setup_passwd
- * dir.c (dir_s_new): call `initialize' in Dir::new.
+Sat Jun 22 14:35:40 2013 Tanaka Akira <akr@fsij.org>
-Fri Feb 25 23:01:49 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * ext/dl/cfunc.c (rb_dlcfunc_call): Use rb_big_pack instead of
+ rb_big2ulong_pack and rb_big2ull.
- * ruby.h: export ruby_safe_level by EXTERN for mswin32.
- * win32/ruby.def: regular maintenance.
+ * include/ruby/intern.h (rb_big2ulong_pack): Deprecated.
-Fri Feb 25 22:12:46 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 22 14:31:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * io.c (rb_io_reopen): IO#reopen should accept path as well.
+ * ext/etc/etc.c (setup_passwd): pass 0 as VALUE to rb_struct_new to
+ prevent segfault if the compiler passes it as a 32 bit integer on
+ a 64 bit ruby
- * string.c (rb_str_s_new): call `initialize' in String::new.
+Sat Jun 22 13:47:13 2013 Tanaka Akira <akr@fsij.org>
- * hash.c (rb_hash_s_new): call `initialize' in Hash::new.
+ * bignum.c (bary_pack): MEMZERO can be used even if nails is not zero.
- * array.c (rb_ary_s_new): call `initialize' in Array::new.
+Sat Jun 22 13:43:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Fri Feb 25 12:50:20 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/etc/etc.c (etc_getpwnam): use PRIsVALUE in format string instead
+ of %s and RSTRING_PTR
- * eval.c (rb_thread_start_timer): interval changed to 10ms from 50ms.
+ * ext/etc/etc.c (etc_getgrnam): ditto
-Fri Feb 25 06:42:26 2000 GOTOU YUUZOU <gotoyuzo@notwork.org>
+Sat Jun 22 13:07:15 2013 Tanaka Akira <akr@fsij.org>
- * ext/socket/socket.c (ip_addrsetup): hostp should remain NULL if
- host is nil.
+ * bignum.c (CLEAR_LOWBITS): Rewritten without RSHIFTX.
+ (RSHIFTX): Removed.
-Thu Feb 24 16:53:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 22 10:38:03 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_thread_schedule): priority check for sleep expired
- threads needed.
+ * pack.c (num2i32): Removed.
+ (pack_pack): Don't use num2i32.
-Wed Feb 23 14:22:32 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 22 09:55:13 2013 Tanaka Akira <akr@fsij.org>
- * array.c (rb_ary_join): forgot to initialize a local variable
- `taint'.
+ * bignum.c (LSHIFTX): Defined to suppress a warning.
+ (RSHIFTX): Ditto.
+ (CLEAR_LOWBITS): Use LSHIFTX and RSHIFTX.
+ (FILL_LOWBITS): Use LSHIFTX.
+ Reported by ko1 via IRC.
-Tue Feb 22 07:40:55 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 22 09:11:33 2013 Ryan Davis <ryand-ruby@zenspider.com>
- * re.c (Init_Regexp): renamed to MatchData, old name MatchingData
- remain as alias.
+ * lib/minitest/*: Imported minitest 4.7.5 (r8724)
+ * test/minitest/*: ditto
-Tue Feb 22 00:20:21 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Sat Jun 22 07:20:30 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.5.
+ * gc.c (gc_prof_set_heap_info, after_gc_sweep): call
+ gc_prof_set_heap_info() just after sweeping to calculate
+ live object number correctly.
+ (live object number = total generated number (before marking) -
+ total freed number (after sweeping))
- * lib/net/session.rb: rename to protocol.rb
+ * gc.c (gc_marks): record `oldgen_object_count' into current profile`
+ record directly.
- * lib/net/protocol.rb: ProtocolSocket -> Net::Socket
+ * gc.c (rgengc_rememberset_mark): same for remembered_normal_objects
+ and remembered_shady_objects.
- * lib/net/protocol.rb: Net::Socket#write, write_pendstr
- can take block
+Sat Jun 22 06:46:04 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/smtp.rb: new methods SMTP#ready SMTPCommand#write_mail
+ * gc.c (rb_objspace::profile): rename rb_objspace::profile::record to
+ records (because it points a set of records) and add a field
+ rb_objspace::profile::current_record to point a current profiling
+ record.
- * lib/net/pop.rb: POPMail#pop can take block
+ * gc.c: use above fields.
-Sat Feb 19 23:58:51 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 22 06:05:36 2013 Koichi Sasada <ko1@atdot.net>
- * regex.c (re_match): pop_loop should not pop at forward jump.
+ * gc.c (rb_gc_giveup_promoted_writebarrier): remove `rest_sweep()'
+ because all of remembered objects are called for gc_mark_children().
-Fri Feb 18 17:15:40 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 22 05:08:03 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (method_clone): method objects are now clonable.
+ * gc.c (rgengc_rememberset_mark): call gc_mark_children() for
+ remembered objects directly instead of pushing on the mark stack.
-Fri Feb 18 00:27:34 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 22 04:48:53 2013 Koichi Sasada <ko1@atdot.net>
- * variable.c (rb_shared_variable_declare): shared variable (aka
- class/module variable) introduced. prefix `@@'. experimental.
+ * include/ruby/ruby.h (OBJ_WRITE): cast to (VALUE *) for second
+ parameter `slot'. You don't need to write a cast (VALUE *) any more.
- * class.c (rb_scan_args): new format char '&'.
+ * class.c, compile.c, hash.c, iseq.c, proc.c, re.c, variable.c,
+ vm.c, vm_method.c: remove cast expressions for OBJ_WRITE().
-Thu Feb 17 19:09:05 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Sat Jun 22 04:37:08 2013 Koichi Sasada <ko1@atdot.net>
- * win32/win32.c (mypopen): don't close handle if it is not assigned.
- * win32/win32.c (my_open_osfhandle): support O_NOINHERIT flag.
- * win32/win32.c (win32_getcwd): rename getcwd to win32_getcwd
- in order to avoid using the C/C++ runtime DLL's getcwd.
- Use CharNext() to process directory name.
- * win32/win32.h: map getcwd to win32_getcwd.
+ * gc.c (slot_sweep_body): rename to slot_sweep().
+ No need to separate major/minor GC.
-Wed Feb 16 00:32:49 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (gc_setup_mark_bits): remove gc_clear_mark_bits() and unify to
+ this function.
- * eval.c (method_arity): nd_rest is -1 for no rest argument.
+Sat Jun 22 04:20:21 2013 Koichi Sasada <ko1@atdot.net>
- * process.c (proc_waitpid): returns nil when waitpid(2) returns 0.
+ * gc.c (check_bitmap_consistency): add to check flag and bitmap consistency.
+ Use this function in several places.
-Tue Feb 15 01:47:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 22 02:18:07 2013 Tanaka Akira <akr@fsij.org>
- * process.c (rb_f_waitpid): pid_t should be signed.
+ * bignum.c (bary_pack): Specialized packers implemented.
+ (HOST_BIGENDIAN_P): New macro.
+ (ALIGNOF): New macro.
+ (CLEAR_LOWBITS): New macro.
+ (FILL_LOWBITS): New macro.
+ (swap_bdigit): New macro.
+ (bary_2comp): Returns an int.
-Mon Feb 14 13:59:01 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * internal.h (swap16): Moved from pack.c
+ (swap32): Ditto.
+ (swap64): Ditto.
- * parse.y (yylex): yylex yields wrong tokens for `:foo=~expr'.
+Fri Jun 21 21:29:49 2013 Masaya Tarui <tarui@ruby-lang.org>
- * ruby.c (load_file): exit if reading file is empty.
+ * gc.c (typedef enum): Introduce flags of major gc reason.
+ * gc.c (garbage_collect_body): Ditto.
+ * gc.c (gc_profile_flags): Ditto.
+ * gc.c (gc_profile_dump_on): Ditto.
-Mon Feb 14 03:34:52 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 21 21:11:53 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (yylex): `foo.bar=1' should be <foo><.><bar><=><1>,
- not <foo><.><bar=><1>.
+ * gc.c (allocate_sorted_heaps): remove unused variable `add'.
- * eval.c (rb_thread_restore_context): process according to
- RESTORE_* is moved after longjmp().
+Fri Jun 21 20:50:32 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (thread_switch): new function to process RESTORE_*.
+ * include/ruby/ruby.h: constify RArray::as::ary and RArray::heap::ptr.
+ Use RARRAY_ASET() or RARRAY_PTR_USE() to modify Array objects.
-Sun Feb 13 16:19:49 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * array.c, gc.c: catch up above changes.
- * ruby.c (require_libraries): don't access freed memory.
+Fri Jun 21 20:32:13 2013 Koichi Sasada <ko1@atdot.net>
- * ruby.c (add_modules): ditto.
+ * vm_eval.c (eval_string_with_cref): fix WB miss.
-Fri Feb 11 12:06:22 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 21 20:15:49 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (parse_quotedwords): %w() need to split not only by mere
- spaces, but by all whitespaces.
+ * include/ruby/ruby.h: support write barrier protection for T_STRUCT.
+ Introduce the following C APIs:
+ * RSTRUCT_RAWPTR(st) returns pointer (do WB on your risk).
+ The type of returned pointer is (const VALUE *).
+ * RSTRUCT_GET(st, idx) returns idx-th value of struct.
+ * RSTRUCT_SET(st, idx, v) set idx-th value by v with WB.
+ And
+ * RSTRUCT_PTR(st) returns pointer with shady operation.
+ The type of returned pointer is (VALUE *).
-Thu Feb 10 02:12:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * struct.c, re.c, gc.c, marshal.c: rewrite with above APIs.
- * string.c (rb_str_index_m): did not support negative offset.
+Fri Jun 21 19:38:37 2013 Tanaka Akira <akr@fsij.org>
-Wed Feb 9 21:54:26 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * bignum.c (BDIGMAX): Use BIGRAD.
+ (BIGLO): Use BDIGMAX.
+ (bigdivrem1): Ditto.
+ (bigor_int): Ditto.
+ (rb_big_or): Ditto.
- * ext/socket/getaddrinfo.c: gcc --traditional support.
- Rearrange headers to work AC_C_CONST.
- * ext/socket/getnameinfo.c: ditto.
- * ext/socket/socket.c: mswin32: use double instead of long long.
+Fri Jun 21 19:18:48 2013 Tanaka Akira <akr@fsij.org>
-Wed Feb 9 16:30:41 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * pack.c (pack_pack): Move the implementation for 'c' directive after
+ pack_integer label.
- * numeric.c (num_coerce): should return [y, x].
+Fri Jun 21 19:11:56 2013 Koichi Sasada <ko1@atdot.net>
-Wed Feb 9 11:07:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * include/ruby/ruby.h, re.c: support write barrier for T_REGEXP.
- * ruby.c (ruby_prog_init): loadpath structure changed.
+ Note: T_MATCH object is also easy to support write barriers.
+ However, most of T_MATCH objects are short-lived objects.
+ So I skipped to support non-shady T_MATCH.
-Tue Feb 8 02:07:33 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 21 18:56:58 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (re_search): optimize for \G at top.
+ * bignum.c (bigsub_int): Use bdigit_roomof.
+ (bigadd_int): Ditto.
+ (bigand_int): Ditto.
+ (bigor_int): Ditto.
+ (bigxor_int): Ditto.
- * regex.c (re_compile_pattern): \G introduced.
+Fri Jun 21 17:56:25 2013 Koichi Sasada <ko1@atdot.net>
- * regex.c (re_match): ditto.
+ * benchmark/gc/gcbench.rb: fix summary of benchmark result notation.
- * string.c (str_sub_bang): old behavior restored: bang method
- returns nil if string not changed.
+Fri Jun 21 16:38:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * regex.c (re_compile_pattern): support independent subexpression
- `(?>pattern)'.
+ * ext/openssl/ossl_x509attr.c: change OSSL_X509ATTR_IS_SINGLE and
+ OSSL_X509ATTR_SET_SINGLE macros to use ->value.set rather than
+ ->set to fix compile failure
- * regex.c (re_match): ditto.
+Fri Jun 21 15:26:45 2013 Koichi Sasada <ko1@atdot.net>
-Mon Feb 7 15:51:08 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (gc_sweep): profile sweep time correctly when LAZY_SWEEP is
+ disabled.
- * regex.c (re_match): now understands interrupts under Ruby.
+ * gc.c (gc_marks_test): store oldgen count and shady count
+ before test marking and restore them after marking.
-Mon Feb 7 07:51:52 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 21 15:07:42 2013 Koichi Sasada <ko1@atdot.net>
- * array.c (rb_ary_uniq_bang): always return an Array.
+ * gc.c: enable lazy sweep (commit miss).
- * array.c (rb_ary_compact_bang): ditto.
+Fri Jun 21 14:31:29 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_flatten_bang): ditto.
+ * hash.c (ruby_setenv): refine error message so include the variable
+ name.
- * hash.c (rb_hash_reject): returns a Hash, not an Array.
+Fri Jun 21 14:15:08 2013 Koichi Sasada <ko1@atdot.net>
- * hash.c (env_reject): ditto.
+ * gc.c: fix to use total_allocated_object_num and heaps_used
+ at the GC time for profiler.
-Fri Feb 4 10:20:25 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 21 12:35:35 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (scan_once): scan now leaves information about the last
- successful pattern match in $&.
+ * gc.c: RGENGC_CHECK_MODE should be 0.
- * io.c (rb_io_close): should not check closed IO.
+Fri Jun 21 11:18:25 2013 Koichi Sasada <ko1@atdot.net>
-Fri Feb 4 05:44:01 2000 Kentaro Inagaki <inagaki@tg.rim.or.jp>
+ * gc.c (gc_marks_body): fix to get `th' in this function.
- * ext/socket/socket.c (s_recv): TRAP_BEG after retry entry.
+Fri Jun 21 10:21:44 2013 Koichi Sasada <ko1@atdot.net>
-Wed Feb 2 22:33:45 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * gc.c (heaps_header/heaps_slot): embed bitmaps into heaps_slot.
+ no need to maintain allocation/free bitmaps.
- * eval.c (rb_thread_start): receives argument from outside, like
- `Thread::start(1,2,3){|a,b,c| ... }'.
+Fri Jun 21 09:22:16 2013 Koichi Sasada <ko1@atdot.net>
-Wed Feb 2 22:14:40 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (slot_sweep_body): add counters at a time.
- * re.c (rb_reg_regsub): should check regs->num_regs.
+ * gc.c (gc_profile_dump_on): fix line break position.
- * re.c (rb_reg_search): remove matchcache, use static struct
- re_register instead.
+Fri Jun 21 08:14:00 2013 Masaya Tarui <tarui@ruby-lang.org>
- * re.c (match_getter): avoid cloning match data.
+ * gc.c: refactoring bitmaps. introduce bits_t type and some Consts.
-Wed Feb 2 17:12:15 2000 Dave Thomas <Dave@Thomases.com>
+Fri Jun 21 08:04:32 2013 Koichi Sasada <ko1@atdot.net>
- * samples/eval.rb: Rescue new ScriptError exception
+ * gc.c: fix to support USE_RGENGC == 0 (disable RGenGC).
+ If USE_RGENGC==0, it caused compilation error.
-Wed Feb 2 02:06:07 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 21 08:08:11 2013 Masaya Tarui <tarui@ruby-lang.org>
- * string.c (str_gsub_bang): gsub! now leaves information about the
- last successful pattern match in $&.
+ * gc.c (lazy_sweep): Use is_lazy_sweeping()
+ * gc.c (rest_sweep): Ditto.
+ * gc.c (gc_prepare_free_objects): Ditto.
-Mon Jan 31 15:24:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 21 07:34:47 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (str_sub_bang): bang method returns string always.
- experimental.
+ * gc.c (gc_profile_record::oldgen_objects): added.
-Sun Jan 30 17:58:09 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * gc.c (gc_profile_dump_on): print the following information:
+ * Living object counts
+ * Free object counts
+ If RGENGC_PROFILE > 0 then
+ * Oldgen object counts
+ * Remembered normal object counts
+ * Remembered shady object counts
- * eval.c: arrange to use setitimer(2) for BOW, DJGPP
+Fri Jun 21 06:43:59 2013 Tanaka Akira <akr@fsij.org>
- * defines.h: ditto. use random(3) on cygwin b20.1.
+ * bignum.c (rb_ull2big): Refactored.
+ (rb_uint2big): Useless code removed.
-Sun Jan 30 17:20:16 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+Fri Jun 21 05:37:39 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c: use getrlimit(2) on DJGPP.
+ * gc.c (gc_prof_sweep_timer_stop): accumulate sweep time only when
+ record->gc_time > 0.
-Thu Jan 27 01:27:10 2000 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp>
+Fri Jun 21 00:37:31 2013 Tanaka Akira <akr@fsij.org>
- * dir.c (glob): glob pattern "/*" did not match.
+ * ext/bigdecimal: Workaround fix for bigdecimal test failures caused
+ by [ruby-dev:47413] [Feature #8509]
-Wed Jan 26 22:30:47 2000 Shigeo Kobayashi <shigeo@tinyforest.gr.jp>
+ * ext/bigdecimal/bigdecimal.h (BDIGIT): Make it independent from the
+ definition for bignum.c.
+ (SIZEOF_BDIGITS): Ditto.
+ (BDIGIT_DBL): Ditto.
+ (BDIGIT_DBL_SIGNED): Ditto.
+ (PRI_BDIGIT_PREFIX): Undefine the definition.
+ (PRI_BDIGIT_DBL_PREFIX): Ditto.
- * numeric.c (flo_modulo): wrong result for negative modulo.
+ * ext/bigdecimal/bigdecimal.c (RBIGNUM_ZERO_P): Use rb_bigzero_p.
+ (bigzero_p): Removed.
+ (is_even): Use rb_big_pack.
-Wed Jan 26 02:01:57 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Jun 20 22:52:42 2013 Tanaka Akira <akr@fsij.org>
- * file.c (test_c): should use S_ISCHR.
+ * bignum.c (bigmul1_toom3): Don't call bignorm twice.
- * file.c (rb_stat_c): ditto.
+Thu Jun 20 22:49:27 2013 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_each_line): should propagate tainting.
+ * bignum.c (bignorm): Don't call bigtrunc if the result is a fixnum.
-Tue Jan 25 04:01:34 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Jun 20 22:29:42 2013 Tanaka Akira <akr@fsij.org>
- * object.c (rb_obj_freeze): all objects made freezable.
+ * bignum.c (rb_uint2big): Refactored.
-Tue Jan 25 00:37:01 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+Thu Jun 20 22:24:41 2013 Tanaka Akira <akr@fsij.org>
- * configure.in: use AC_CHECK_TOOL for cross compiling.
+ * bignum.c (dump_bignum): Use SIZEOF_BDIGITS.
-Mon Jan 24 19:01:54 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Jun 20 22:22:46 2013 Tanaka Akira <akr@fsij.org>
- * array.c (rb_protect_inspect): should be checked by id of
- objects; not by object themselves.
+ * bignum.c (big2ulong): Change the return type to unsigned long.
+ (rb_big2ulong_pack): Follow the above change.
+ (rb_big2long): Ditto.
+ (rb_big_lshift): Ditto.
+ (rb_big_rshift): Ditto.
+ (rb_big_aref): Ditto.
-Mon Jan 24 18:48:08 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Thu Jun 20 22:02:46 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_eval): too many warnings; warned on every method
- overriding. should be on method discarding.
+ * bignum.c (bary_unpack_internal): Return -2 when negative overflow.
+ (bary_unpack): Set the overflowed bit if an extra BDIGIT exists.
+ (rb_integer_unpack): Set the overflowed bit.
-Mon Jan 24 02:56:44 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Jun 20 21:17:19 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (yylex): -2.abs should be `(-2).abs' to accomplish the
- principle of less surprise. `+2' too.
+ * gc.c (rgengc_rememberset_mark): record
+ (1) normal objects count in remember set
+ (2) shady objects count in remember set
+ each GC timing.
- * eval.c (rb_eval): when defining class is already there, and
- superclass differ, throw away the old class.
+ * gc.c (gc_profile_record_get): enable to access above information
+ and REMOVING_OBJECTS, EMPTY_OBJECTS.
- * variable.c (rb_const_set): gives warning again on constant
- redefinition.
+Thu Jun 20 18:29:26 2013 Koichi Sasada <ko1@atdot.net>
- * error.c (Init_Exception): SyntaxError, NameError, LoadError and
- NotImplementError are subclasses of ScriptError<Exception, not
- StandardError. experimental.
+ * benchmark/gc/gcbench.rb: Do not use GC::Profiler::disable because
+ GC::Profiler::disable prohibit to access profiling data. It should
+ be spec bug.
-Sat Jan 22 00:00:41 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ Skip GC::Profiler::report if RUBY_VERSION < '2.0.0'
- * parse.y (parse_quotedwords): no longer use `String#split'.
- and enable space escape within quoted word list.
- e.g. %w(a\ b\ c abc) => ["a b c", "abc"].
+Thu Jun 20 17:59:08 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (rb_str_slice_bang): new method `slice!'.
+ * benchmark/gc/gcbench.rb: stop GC::Profiler before output results.
+ Generating GC::Profiler result under profiling causes infinite loop.
-Fri Jan 21 21:56:08 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Thu Jun 20 17:24:24 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.4.
+ * benchmark/gc/gcbench.rb: don't use __dir__ to make compatible
+ with ruby 1.9.3.
- * lib/net/http.rb: can receive messages which have
- no Content-Length:.
+Thu Jun 20 16:57:19 2013 Koichi Sasada <ko1@atdot.net>
-Fri Jan 21 16:15:59 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * benchmark/bm_app_aobench.rb: use attr_accessor/reader instead of
+ defining methods.
- * eval.c (thgroup_s_new): new class ThreadGroup.
+Thu Jun 20 16:46:46 2013 Koichi Sasada <ko1@atdot.net>
-Tue Jan 18 12:24:28 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * benchmark/bm_app_aobench.rb: added.
- * struct.c (Init_Struct): remove Struct's own hash and eql?.
+ * benchmark/gc/aobench.rb: added.
-Sat Jan 15 22:21:08 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Thu Jun 20 16:28:33 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (search_method): argument klass may be 0.
+ * benchmark/bm_so_binary_trees.rb: disable `puts' method
+ and change iteration parameter to increase execution time.
-Sat Jan 15 15:03:46 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * benchmark/gc/binarytree.rb: added.
- * enum.c (enum_index): remove this method.
+Thu Jun 20 16:06:37 2013 Koichi Sasada <ko1@atdot.net>
- * enum.c: remove use of pointers to local variables. find,
- find_all, min, max, index, member?, each_with_index,
+ * benchmark/gc/pentomino.rb: added.
+ Simply load pentomino puzzle in the benchmark/ directory.
- * eval.c (massign): multiple assignment does not use to_a anymore.
- experimental.
+Thu Jun 20 15:32:56 2013 Koichi Sasada <ko1@atdot.net>
-Fri Jan 14 12:22:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * benchmark/gc/redblack.rb: import red black tree benchmark from
+ https://github.com/jruby/rubybench/blob/master/time/bench_red_black.rb
- * string.c (rb_str_replace): use memmove instead of memcpy for
- overwrapping strings (e.g. a[1] = a).
+ * benchmark/gc/ring.rb: add a benchmark. This benchmark create many
+ old objects.
-Thu Jan 13 11:12:40 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Jun 20 15:14:00 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (arg_add): use new node, ARGSPUSH.
+ * benchmark/gc: create a directory to store GC related benchmark.
-Mon Jan 10 18:32:28 2000 Koji Arai <JCA02266@nifty.ne.jp>
+ * benchmark/gc/gcbench.rb: moved from tool/gcbench.rb.
- * marshal.c (w_object): forgot an argument to call w_ivar().
+ * benchmark/gc/hash(1|2).rb: ditto.
-Sun Jan 9 18:13:51 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * benchmark/gc/rdoc.rb: ditto.
- * random.c: first was not defined unless HAVE_RANDOM.
+ * benchmark/gc/null.rb: added.
-Sat Jan 8 19:02:49 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * common.mk: fix rule.
- * io.c (rb_io_sysread): raise IOError for buffered IO.
+Thu Jun 20 14:09:54 2013 Koichi Sasada <ko1@atdot.net>
- * ext/socket/socket.c (s_recv): ditto.
+ * tool/hashbench1.rb: fix parameter too. Increase temporary objects.
-Fri Jan 7 00:59:29 2000 Masahiro Tomita <tommy@tmtm.org>
+Thu Jun 20 14:01:35 2013 Koichi Sasada <ko1@atdot.net>
- * io.c (io_fread): TRAP_BEG/TRAP_END added around getc().
+ * tool/hashbench1.rb: fix parameters.
-Thu Jan 6 00:39:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Jun 20 14:00:34 2013 Koichi Sasada <ko1@atdot.net>
- * random.c (rb_f_rand): should be initialized unless srand is
- called before.
+ * common.mk: remove dependency from ruby.
-Wed Jan 5 16:59:34 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Thu Jun 20 13:14:06 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.3.
+ * error.c (rb_check_backtrace): evaluate RARRAY_AREF only once.
+ the first argument of RB_TYPE_P is expanded twice for non-immediate
+ types.
- * lib/net/session.rb: Session -> Protocol, ...
+Thu Jun 20 08:09:29 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/http.rb: HTTPCommand implementation was changed.
+ * tool/gcbench.rb: Summary in one line.
-Wed Jan 5 02:14:46 2000 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ * common.mk: separate gcbench-hash to gcbench-hash1 and gcbench-hash2.
- * parse.y: Fix SEGV on empty parens with UMINUS or UPLUS.
+Thu Jun 20 08:07:23 2013 Tanaka Akira <akr@fsij.org>
-Tue Jan 4 22:25:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (BIGSIZE): New macro.
+ (bigfixize): Use BIGSIZE.
+ (big2ulong): Ditto.
+ (check_shiftdown): Ditto.
+ (rb_big_aref): Ditto.
- * parse.y (stmt): `() while cond' dumped core.
+Thu Jun 20 07:46:48 2013 Masaya Tarui <tarui@ruby-lang.org>
-Tue Jan 4 06:04:14 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * gc.c (rb_gc_writebarrier): give up rescan A and register B directly
+ if A has huge number of children.
- * configure.in: modify for cross-compiling.
- use target_* instead of host_*.
- use AC_CANONICAL_TARGET.
+Thu Jun 20 07:30:35 2013 Koichi Sasada <ko1@atdot.net>
- * Makefile.in: ditto.
+ * common.mk: add new rules `gcbench-rdoc', `gcbench-hash'.
- * cygwin/GNUmakefile.in: ditto.
+ * tool/gcbench.rb: separate GC bench framework and process.
-Sat Jan 1 13:26:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * tool/hashbench1.rb, tool/hashbench2.rb: add two types GC bench.
+ hashbench1: many temporal objects (GC by newobj)
+ hashbench2: hash size becomes bigger and bigger (GC by malloc)
+ Two benches are executed by `gcbench-hash' rule.
- * eval.c (rb_yield_0): force_recycle ruby_dyna_vars to gain
- performance.
+ * tool/rdocbench.rb: separated.
- * array.c (rb_ary_delete_at_m): takes same argument pattern with
- rb_ary_aref.
+Thu Jun 20 06:25:39 2013 Koichi Sasada <ko1@atdot.net>
-Sat Jan 1 10:12:26 2000 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * tool/rdocbench.rb: add summary.
- * ruby.h,util.c (rb_special_const_p): peep hole optimization.
+Thu Jun 20 06:18:01 2013 Koichi Sasada <ko1@atdot.net>
- * ruby.h,util.c (rb_test_false_or_nil): removed.
+ * gc.c (gc_profile_total_time): check objspace->profile.next_index > 0.
- * ruby.h (RTEST, SPECIAL_CONST_P): peep hole optimization.
+Thu Jun 20 05:47:41 2013 Koichi Sasada <ko1@atdot.net>
- * ruby.h (FL_ABLE, FL_SET, FL_UNSET, FL_REVERSE): made expressions
- not statements.
+ * gc.c (gc_prof_sweep_timer_start): fix merge miss.
- * ruby.h (OBJ_INFECT): newly added macro which copies taint from
- `s' to `x'.
+ * gc.c (GC_PROFILE_MORE_DETAIL): set it 0.
-Sat Jan 1 02:04:18 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Jun 20 05:38:56 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_thread_safe_level): new method.
+ * gc.c: Accumulate sweep time to GC time.
+ Now [GC time] is [mark time] + [sweep time] + [misc].
+ ([GC time] >= [mark time] + [sweep time])
- * eval.c (rb_yield_0): recycle dyna_var_map to reduce object
- allocation.
+ * gc.c (gc_prof_sweep_slot_timer_start/stop): rename to
+ gc_prof_sweep_timer_start/stop and locate at lazy_sweep().
-Fri Dec 31 00:52:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (elapsed_time_from): add a utility function.
- * eval.c: thread independent trace_func not needed.
+Thu Jun 20 05:08:53 2013 Koichi Sasada <ko1@atdot.net>
-Thu Dec 30 14:47:31 1999 akira yamada <akira@ruby-lang.org>
+ * gc.c (gc_marks): fix wrong option. FALSE means major/full GC.
+ It should be TRUE (minor marking).
- * configure.in: specifies -soname in LIBRUBY_DLDFLAGS on linux
- platforms.
+Thu Jun 20 02:44:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Dec 30 10:51:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * win32/win32.c (waitpid): should not return 0 but wait until exit
+ unless WNOHANG is given. waiting huge process may return while
+ active, for some reason.
- * array.c,io.c,hash,c,re.c,string.c: `_m' suffix instead of
- `_method' for wrapper functions to implement method,
- e.g. `rb_str_join_m()'.
+Thu Jun 20 01:34:15 2013 Tanaka Akira <akr@fsij.org>
-Thu Dec 30 02:08:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (bdigit_roomof): Use SIZEOF_BDIGITS.
+ (bigfixize): Refine an ifdef condition.
+ (rb_absint_size): Use bdigit_roomof.
+ (rb_absint_singlebit_p): Ditto.
+ (rb_integer_pack): Ditto.
+ (integer_pack_fill_dd): Use BITSPERDIG.
+ (integer_unpack_push_bits): Use BITSPERDIG, BIGLO and BIGDN.
- * bignum.c (rb_cstr2inum): non-numeric format check added.
- currently it works only with base == 0 (i.e. Integer()).
+Thu Jun 20 01:07:39 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * bignum.c (rb_str2inum): now takes VALUE to 1st argument. null
- byte check added.
+ * gc.c (MARKED_IN_BITMAP, FL_TEST2): return boolean value since always
+ used as boolean value.
- * array.c (rb_ary_replace): unless replacement is an array,
- replacement shall be converted to array by `[replacement]', not
- by `replacement.to_a'.
+ * gc.c (MARK_IN_BITMAP, CLEAR_IN_BITMAP): evaluate bits once.
- * array.c (rb_ary_plus): right operand must be an array.
+Thu Jun 20 00:05:07 2013 Koichi Sasada <ko1@atdot.net>
- * array.c (rb_ary_concat): argument must be an array.
+ * gc.c (RVALUE_PROMOTED): fix type.
-Mon Dec 27 12:35:47 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Wed Jun 19 23:39:01 2013 Koichi Sasada <ko1@atdot.net>
- * ext/socket/socket.c (sock_finalize): mswin32: fix socket handle leak.
+ * gc.c (gc_marks_test): rewrite checking code.
+ When RGENGC_CHECK_MODE >= 2, all minor marking, run normal minor
+ marking *and* major/full marking. After that, compare the results
+ and shows BUG if a object living with major/full marking but dead
+ with minor marking.
+ After detecting bugs, print references information.
+ (RGENGC_CHECK_MODE == 2, show references to dead object)
+ (RGENGC_CHECK_MODE == 3, show all references)
- * win32/win32.c (myfdclose): ditto.
+Wed Jun 19 23:51:48 2013 Tanaka Akira <akr@fsij.org>
-Sun Dec 26 23:15:13 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * bignum.c (bigfixize): Use rb_absint_size.
+ (check_shiftdown): Ditto.
+ (big2ulong): Use bdigit_roomof.
- * win32/win32.c (mypopen): raise catchable error instead of rb_fatal.
- * win32/win32.c (mypclose): fix process handle leak.
+Wed Jun 19 23:32:23 2013 Koichi Sasada <ko1@atdot.net>
-Sun Dec 26 16:17:11 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * gc.c (RVALUE_PROMOTED): check consistency between oldgen flag and
+ oldgen bitmap if RGENGC_CHECK_MODE > 0.
- * ext/Win32API/Win32API.c (Win32API_initialize): use UINT2NUM
- instead of INT2NUM to set __dll__ and __proc__.
+Wed Jun 19 23:29:29 2013 Koichi Sasada <ko1@atdot.net>
-Sat Dec 25 00:08:59 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp>
+ * gc.c (rb_gc_force_recycle): clear oldgen bitmap, too.
- * ext/Win32API/Win32API.c (Win32API_Call): remove 'dword ptr'
- from _asm.
+Wed Jun 19 21:02:13 2013 Tanaka Akira <akr@fsij.org>
-Fri Dec 24 10:26:47 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp>
+ * bignum.c (rb_uint2big): Consider environments BDIGIT is bigger than
+ long.
+ (big2ulong): Ditto.
+ (rb_big_aref): Ditto.
+ (rb_big_pack): Just call rb_integer_pack.
+ (rb_big_unpack): Just call rb_integer_unpack.
- * win32/win32.h: use "C++" linkage.
+Wed Jun 19 20:51:21 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
-Fri Dec 24 02:00:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (gc_stress_get): GC.stress can be Fixnum.
- * eval.c (THREAD_ALLOC): should initialize th->trace.
+Wed Jun 19 19:31:30 2013 Tanaka Akira <akr@fsij.org>
-Fri Dec 24 00:43:39 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp>
+ * bignum.c (DIGSPERLONG): Don't define if BDIGIT is bigger than long.
+ (DIGSPERLL): Don't define if BDIGIT is bigger than LONG_LONG
+ (rb_absint_size): Consider environments BDIGIT is bigger than long.
+ Use BIGLO and BIGDN.
+ (rb_absint_singlebit_p): Ditto.
+ (rb_integer_pack): Ditto.
+ (bigsub_int): Consider environments BDIGIT is bigger than long.
+ Use SIZEOF_BDIGITS instead of sizeof(BDIGIT).
+ (bigadd_int): Ditto.
+ (bigand_int): Ditto.
+ (bigor_int): Ditto.
+ (bigxor_int): Ditto.
- * io.c (pipe_open): check for `fptr->f == NULL'.
- * win32/win32.c (mypopen): STDERR does not work during ` function.
+Wed Jun 19 15:14:30 2013 Koichi Sasada <ko1@atdot.net>
-Wed Dec 22 22:50:40 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * include/ruby/ruby.h (struct rb_data_type_struct), gc.c: add
+ rb_data_type_struct::flags. Now, this flags is passed
+ at T_DATA object creation. You can specify FL_WB_PROTECTED
+ on this flag.
- * lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.2.
+ * iseq.c: making non-shady iseq objects.
- * lib/net/http.rb: HTTP support is enhanced a little
+ * class.c, compile.c, proc.c, vm.c: add WB for iseq objects.
- * lib/net/http.rb: support proxy
+ * vm_core.h, iseq.h: constify fields to detect WB insertion.
-Tue Dec 21 17:21:28 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp>
+Wed Jun 19 15:11:13 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/socket/socket.c (sock_finalize): mswin32: fix FILE* leak.
+ * gc.c (gc_mark_children): show more info for broken object.
-Tue Dec 21 05:33:56 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Wed Jun 19 14:04:41 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
- * lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.1.
+ * test/ruby/envutil.rb (EnvUtil#rubybin): remove unnecessary
+ unless expression.
- * lib/net/http.rb: support HTTP chunk
+Wed Jun 19 07:47:48 2013 Koichi Sasada <ko1@atdot.net>
-Mon Dec 20 19:08:12 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * gc.c (garbage_collect_body): use FIX2INT for ruby_gc_stress.
- * file.c (rb_file_s_expand_path): handle dir separator correctly.
+Wed Jun 19 07:44:31 2013 Koichi Sasada <ko1@atdot.net>
-Sun Dec 19 22:56:31 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp>
+ * gc.c (rb_objspace::gc_stress): int -> VALUE to store Fixnum object.
- * lib/find.rb: support dosish root directory.
- * win32/Makefile: ditto.
- * win32/config.status: ditto.
- * win32/win32.c (opendir): ditto.
- * win32/win32.c (opendir): use CharPrev() to get last character
- of the directory name.
+Wed Jun 19 07:25:35 2013 Koichi Sasada <ko1@atdot.net>
-Sat Dec 18 03:00:01 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (make_deferred): clear flags to T_ZOMBIE.
- * file.c (path_check_1): check should be done by absolute path.
+ * gc.c (slot_sweep_body): fix indent.
- * marshal.c (r_ivar): should restore generic_ivar too.
+Wed Jun 19 07:18:47 2013 Tanaka Akira <akr@fsij.org>
- * marshal.c (w_ivar): should dump generic_ivar too.
+ * bignum.c (rb_big_aref): Apply BIGLO to ~xds[i] for environment which
+ BDIGIT is 16bit.
-Fri Dec 17 22:46:46 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Wed Jun 19 07:09:26 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.0.
+ * gc.c (rgengc_remember): fix output level.
- * lib/net/http.rb: test release
+ * gc.c (rgengc_rememberset_mark): fix to output clear count.
+ (shady_object_count + clear_count = count of remembered objects)
- * lib/net/session.rb: support class swapping
+Wed Jun 19 07:06:21 2013 Koichi Sasada <ko1@atdot.net>
- * lib/net/session.rb: Socket#flush_rbuf
+ * gc.c (rgengc_remember): check T_NONE and T_ZOMBIE
+ if RGENGC_CHECK_MODE > 0.
- * lib/net/session.rb: doquote -> Net.quote
+Wed Jun 19 07:02:19 2013 Koichi Sasada <ko1@atdot.net>
-Fri Dec 17 19:27:43 1999 IWAMURO Motonori <iwa@mmp.fujitsu.co.jp>
+ * gc.c (RGENGC_CHECK_MODE): add new check mode `3'.
+ In this mode, show all references if there is
+ a miss-corrected object.
- * eval.c (rb_load): should initialize ruby_frame->last_class.
+Wed Jun 19 06:31:08 2013 Koichi Sasada <ko1@atdot.net>
-Wed Dec 15 01:35:29 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (gc_stress_set): add special option of GC.stress.
+ `GC.stress=(flag)' accepts integer to control behavior of GC.
+ See code for details. Of course, this feature is only for MRI.
- * ruby.c (proc_options): option to change directory changed to
- `-C' like tar.
+ You can debug RGenGC (WB) using `GC.stress = 1'.
+ Using this option, do minor marking at all possible places.
- * ruby.c (proc_options): argv boundary check for `-X'.
+ GC::STRESS_MINOR_MARK = 1 and GC::STRESS_LAZY_SWEEP = 2
+ seem good to add.
-Mon Dec 13 15:15:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Jun 19 06:29:31 2013 Koichi Sasada <ko1@atdot.net>
- * regex.c (re_adjust_startpos): separate startpos adjustment
- because of major performance drawback.
+ * vm.c (kwmerge_i): add WB.
- * class.c (rb_singleton_class): tainted status of the singleton
- class must be synchronized with the object.
+Wed Jun 19 06:26:49 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (rb_thread_schedule): implement thread priority.
+ * hash.c: `st_update()' also has same issue of last fix.
+ write barriers at callback function are too early.
+ All write barriers are executed after `st_update()'
-Sat Dec 11 03:34:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Jun 19 04:33:22 2013 Koichi Sasada <ko1@atdot.net>
- * gc.c (mark_hashentry): key should be VALUE, not ID.
+ * variable.c (rb_const_set): fix WB miss.
- * io.c (argf_eof): should check next_p too.
+ WBs had located before creating reference between a klass
+ and constant value. It causes GC bug.
-Thu Dec 9 18:09:13 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ # pseudo code:
+ WB(klass, value); # WB and remember klass
+ st_insert(klass->const_table, const_id, value);
- * error.c (exc_set_backtrace): forgot to declare a VALUE argument.
+ `st_insert()' can cause GC before inserting `value' and
+ forget `klass' from the remember set. After that, relationship
+ between `klass' and `value' are created with constant table.
+ Now, `value' can be young (shady) object and `klass' can be old
+ object, without remembering `klass' object.
+ At the next GC, old `klass' object will be skipped and
+ young (shady) `value' will be miss-collected. -> GC bug
-Thu Dec 9 14:19:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ Lesson: The place of a WB is important.
- * object.c (rb_obj_taint): explicit tainting must be prohibited at
- level 4 to prevent polluting trusted object by untrusted code.
+Tue Jun 18 22:01:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * file.c: file operations (stat, lstat, chmod, chown, umask,
- truncate, flock) are prohibited in level 2 (was level 4).
+ * vm_insnhelper.c (vm_call_method): ensure methods of type
+ VM_METHOD_TYPE_ATTR_SET are called with 1 argument
-Wed Dec 8 11:48:23 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/test_module.rb
+ (TestModule#test_attr_writer_with_no_arguments): add test
+ [ruby-core:55543] [Bug #8540]
- * eval.c (rb_f_require): prohibiting require() in the secure mode
- cause serious autoloading error.
+Tue Jun 18 22:36:23 2013 Masaya Tarui <tarui@ruby-lang.org>
- * variable.c (rb_obj_instance_variables): don't need to prohibit
- to get list of instance variable names of untainted objects.
+ * gc.c (gc_profile_record_flag): fix typo.
- * variable.c (rb_ivar_get): don't need to prohibit to get instance
- variables of untainted objects.
+Tue Jun 18 22:08:53 2013 Zachary Scott <zachary@zacharyscott.net>
- * variable.c (rb_mod_remove_const): should prohibit constant
- removals too.
+ * ext/objspace/object_tracing.c: Return for ::allocation_generation
-Wed Dec 8 09:23:01 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Jun 18 22:04:35 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (rb_eval): should try autoloading before defining
- class/module at the toplevel.
+ * ext/objspace/object_tracing.c: Document object_tracing methods.
-Tue Dec 7 22:15:30 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+Tue Jun 18 21:58:17 2013 Zachary Scott <zachary@zacharyscott.net>
- * configure.in: Modified rb_cv_rshift_sign detect routine and
- more simple/fast RSHIFT() for hpux-10.x.
+ * gc.c: Rename rb_mObSpace -> rb_mObjSpace
-Tue Dec 7 11:16:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Jun 18 20:55:05 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (Init_eval): calculate stack limit from rlimit where
- getrlimit(2) is available.
+ * ext/objspace/objspace.c: Document ObjectSpace::InternalObjectWrapper.
-Tue Dec 7 09:57:33 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Tue Jun 18 20:39:04 2013 Zachary Scott <zachary@zacharyscott.net>
- * file.c (rb_file_ftype): should have removed mode_t.
+ * ext/objspace/object_tracing.c: Teach rdoc object_tracing.c [Bug #8537]
-Mon Dec 6 15:55:30 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+Tue Jun 18 20:29:47 2013 Zachary Scott <zachary@zacharyscott.net>
- * numeric.c (fix_rshift): Fix -1 >> 32 returned 0 (should be -1).
+ * ext/.document: add object_tracing.c to document file
- * numeric.c (fix_rshift): Fix 1 >> -1 returned 0 (should be 2).
+Tue Jun 18 20:20:27 2013 Zachary Scott <zachary@zacharyscott.net>
-Mon Dec 6 11:47:23 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/objspace/objspace.c: rdoc on require to overview from r41355
- * sprintf.c (rb_f_sprintf): formatted string must be tainted if
- any of parameters is a tainted string.
+Tue Jun 18 18:39:58 2013 Tanaka Akira <akr@fsij.org>
- * file.c (rb_file_s_expand_path): expanded file path need not to
- be tainted always.
+ * configure.in: Check __int128.
-Sun Dec 5 20:25:29 1999 Katsuhiro Ueno <unnie@blue.sky.or.jp>
+ * include/ruby/defines.h (BDIGIT_DBL): Use uint128_t if it is available.
+ (BDIGIT): Use uint64_t if uint128_t is available.
+ (SIZEOF_BDIGITS): Defined for above case.
+ (BDIGIT_DBL_SIGNED): Ditto.
+ (PRI_BDIGIT_PREFIX): Ditto.
- * eval.c (Init_Proc): simple typo.
+ * include/ruby/ruby.h (PRI_64_PREFIX): Defined.
- * gc.c (add_heap): sizeof(RVALUE*), not sizeof(RVALUE).
+ * bignum.c (rb_big_pow): Don't use BITSPERDIG for the condition which
+ rb_big_pow returns Float or Bignum.
-Sat Dec 4 01:40:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ [ruby-dev:47413] [Feature #8509]
- * regex.c (re_search): adjust startpos for multibyte match unless
- the first pattern is forced byte match.
+Tue Jun 18 16:43:44 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * bignum.c (rb_big_rand): should not use rand/random where drand48
- may be available. RANDOM_NUMBER should be provided from outside.
+ * parse.y (parser_heredoc_restore): clear lex_strterm always to get
+ rid of marking recycled node. this bug is revealed by r41372 with
+ GC.stress=true.
-Fri Dec 3 09:54:59 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Jun 18 12:53:25 2013 Tanaka Akira <akr@fsij.org>
- * ruby.c (moreswitches): there may be trailing garbage at #!
- line.
+ * bignum.c (nlz): Cast the result explicitly.
+ (big2dbl): Don't assign BDIGIT values to int variable.
- * eval.c (rb_f_require): should check require 'feature.o' too.
+Tue Jun 18 12:25:16 2013 Tanaka Akira <akr@fsij.org>
-Thu Dec 2 11:58:15 1999 Koji Arai <JCA02266@nifty.ne.jp>
+ * bignum.c (rb_big_xor): Non-effective code removed.
- * eval.c (rb_thread_loading): should maintain loading_tbl.
+Tue Jun 18 11:26:05 2013 Koichi Sasada <ko1@atdot.net>
-Thu Dec 2 10:21:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (gc_stat): add `generated_normal_object_count_types' for
+ RGENGC_PROFILE >= 2.
- * eval.c (rb_thread_loading_done): wrong parameter to st_delete().
+Tue Jun 18 11:02:18 2013 Koichi Sasada <ko1@atdot.net>
-Wed Dec 1 11:24:06 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * gc.c (gc_mark_maybe): check to skip T_NONE.
- * ruby.c (process_sflag): process -s properly (should not force `--').
+ * gc.c (markable_object_p): do not need to check (flags == 0) here.
-Wed Dec 1 09:47:33 1999 Kazunori NISHI <kazunori@swlab.csce.kyushu-u.ac.jp>
+Tue Jun 18 10:17:37 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (rb_str_split_method): should increment end too.
+ * variable.c (rb_autoload): fix WB miss.
-Tue Nov 30 18:00:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Jun 18 04:20:18 2013 Koichi Sasada <ko1@atdot.net>
- * marshal.c: MARSHAL_MINOR incremented; format version is 4.2.
+ * gc.c (gc_mark_children): don't need to care about T_ZOMBIE here.
- * marshal.c (w_object): distinguish class and module.
+Mon Jun 17 22:16:02 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * marshal.c (w_object): save hash's default value.
+ * test/ruby/test_proc.rb (TestProc#test_block_given_method_to_proc):
+ run test for r41359.
- * marshal.c (r_object): restore hash's default value.
+Mon Jun 17 21:42:18 2013 Kazuki Tsujimoto <kazuki@callcc.net>
-Tue Nov 30 01:46:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * include/ruby/ruby.h, vm_eval.c (rb_funcall_with_block):
+ new function to invoke a method with a block passed
+ as an argument.
- * re.c (rb_reg_source): generated source string must be tainted if
- regex is tainted.
+ * string.c (sym_call): use the above function to avoid
+ a block sharing. [ruby-dev:47438] [Bug #8531]
- * file.c (rb_file_s_basename): basename should not be tainted
- unless the original path is tainted.
+ * vm_insnhelper.c (vm_yield_with_cfunc): don't set block
+ in the frame.
- * file.c (rb_file_s_dirname): ditto.
+ * test/ruby/test_symbol.rb (TestSymbol#test_block_given_to_proc):
+ run related tests.
-Mon Nov 29 20:42:13 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Mon Jun 17 21:33:27 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * file.c (stat_new): Struct::Stat -> File::Stat; Stat is no longer
- a Struct.
+ * include/ruby/intern.h, proc.c (rb_method_call_with_block):
+ new function to invoke a Method object with a block passed
+ as an argument.
-Mon Nov 29 15:28:52 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * proc.c (bmcall): use the above function to avoid a block sharing.
+ [ruby-core:54626] [Bug #8341]
- * variable.c (rb_path2class): evaluated value from path should be
- module or class.
+ * test/ruby/test_proc.rb (TestProc#test_block_persist_between_calls):
+ run related tests.
-Fri Nov 26 18:12:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Jun 17 20:53:21 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_exec_end_proc): should remove only end_procs defined
- within load wrapper.
+ * loadpath.c (RUBY_REVISION): Defined to suppress revision.h
+ inclusion actually. r41352 removes the dependency.
- * eval.c (rb_load): save and restore ruby_wrapper around loading.
+Mon Jun 17 18:15:57 2013 Benoit Daloze <eregontp@gmail.com>
- * eval.c (rb_mark_end_proc): mark end procs registered by END{} or
- at_exit{}.
+ * ext/objspace/objspace.c: let rdoc know about objspace methods.
+ Specify 'objspace' should be required. See #8537.
- * eval.c (rb_set_end_proc): should not call rb_global_variable()
- on heap address; it crashed mod_ruby.
+Mon Jun 17 17:44:31 2013 Benoit Daloze <eregontp@gmail.com>
-Mon Nov 22 14:07:24 1999 Koji Arai <JCA02266@nifty.ne.jp>
+ * gc.c (ObjectSpace): is a module not a class.
- * ruby.c (proc_options): variable e_script should be visited by
- garbage collector.
+ * ext/objspace/objspace.c: try to include overview in rdoc,
+ see #8537.
-Sat Nov 20 10:10:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Jun 17 17:38:24 2013 Benoit Daloze <eregontp@gmail.com>
- * hash.c (inspect_i): value may be nil, check revised.
+ * gc.c: fix example of ObjectSpace.define_finalizer in overview
-Fri Nov 19 18:06:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Jun 17 16:59:53 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * dir.c (glob): recursive wildcard match by `**' ala zsh.
+ * ext/tk/tkutil/tkutil.c: use rb_sprintf(), rb_id2str(), and
+ rb_intern_str() instead of rb_intern() and RSTRING_PTR() with
+ RB_GC_GUARD(), to prevent temporary objects from GC.
+ [ruby-core:39000] [Bug #5199]
-Fri Nov 19 11:44:26 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+Mon Jun 17 14:27:54 2013 Zachary Scott <zachary@zacharyscott.net>
- * variable.c: was returning void value.
+ * vm_backtrace.c: Update rdoc for Backtrace#label with @_ko1
-Fri Nov 19 03:57:22 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Mon Jun 17 13:04:01 2013 Akinori MUSHA <knu@iDaemons.org>
- * file.c: add methods Stat struct class to reduce stat(2).
+ * tool/ifchange (until): Fix the condition, although harmless in
+ this case.
-Thu Nov 18 16:18:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Jun 17 11:50:29 2013 Koichi Sasada <ko1@atdot.net>
- * lib/pstore.rb: mutual lock by flock(2).
+ * gc.c (gc_mark_maybe): added. check `is_pointer_to_heap()' and
+ type is not T_ZOMBIE.
-Thu Nov 18 11:44:13 1999 Masahiro Tomita <tommy@tmtm.org>
+ * gc.c: use `gc_mark_maybe()'. T_ZOMBIE objects should not be pushed
+ to the mark stack.
- * io.c (read_all): should check bytes too.
+Mon Jun 17 07:56:24 2013 Tanaka Akira <akr@fsij.org>
-Wed Nov 17 02:40:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (bary_small_lshift): Renamed from bdigs_small_lshift.
+ (bary_small_rshift): Renamed from bdigs_small_rshift.
- * io.c (Init_IO): $defout (alias of $>) added.
+Mon Jun 17 07:38:48 2013 Tanaka Akira <akr@fsij.org>
-Tue Nov 16 09:47:14 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (absint_numwords_bytes): Removed.
+ (rb_absint_numwords): Don't call absint_numwords_bytes.
- * lib/pstore.rb: add mutual lock using symlink.
+Sun Jun 16 23:14:58 2013 Tanaka Akira <akr@fsij.org>
-Mon Nov 15 16:50:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (BARY_ADD): New macro.
+ (BARY_SUB): Ditto.
+ (BARY_MUL): Ditto.
+ (BARY_DIVMOD): Ditto.
+ (BARY_ZERO_P): Ditto.
+ (absint_numwords_generic): Use these macros.
- * enum.c (enum_grep): non matching grep returns an empty array, no
- longer returns nil.
+Sun Jun 16 21:41:39 2013 Tanaka Akira <akr@fsij.org>
- * enum.c (enum_grep): grep with block returns collection of
- evaluated values of block over matched elements.
+ * bignum.c (bary_2comp): Extracted from get2comp.
+ (integer_unpack_num_bdigits): Extracted from
+ rb_integer_unpack_internal.
+ (bary_unpack_internal): Renamed from bary_unpack and support
+ INTEGER_PACK_2COMP.
+ (bary_unpack): New function to validate arguments and invoke
+ bary_unpack_internal.
+ (rb_integer_unpack_internal): Removed.
+ (rb_integer_unpack): Invoke bary_unpack_internal.
+ (rb_integer_unpack_2comp): Removed.
-Mon Nov 15 04:50:33 1999 Koji Arai <JCA02266@nifty.ne.jp>
+ * internal.h (rb_integer_unpack_2comp): Removed.
- * re.c (rb_reg_source): should not call rb_reg_expr_str()
- everytime.
+ * pack.c: Follow the above change.
-Sat Nov 13 07:34:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Jun 16 18:41:42 2013 Tanaka Akira <akr@fsij.org>
- * variable.c (rb_mod_constants): traverse superclasses to collect
- constants.
+ * internal.h (INTEGER_PACK_2COMP): Defined.
+ (rb_integer_pack_2comp): Removed.
- * eval.c (assign): modified for shared variables.
+ * bignum.c (bary_pack): Support INTEGER_PACK_2COMP.
+ (rb_integer_pack): Invoke bary_pack directly.
+ (rb_integer_pack_2comp): Removed.
+ (rb_integer_pack_internal): Ditto.
+ (absint_numwords_generic): Follow the above change.
- * eval.c (rb_eval): search nested scope, then superclasses to
- assign shared variables within methods.
+ * pack.c (pack_pack): Ditto.
- * eval.c (rb_eval): remove warnings from constants modification,
- because they are no longer constants.
+ * sprintf.c (rb_str_format): Ditto.
- * parse.y (node_assign): modified for shared variables.
+Sun Jun 16 17:48:14 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (assignable): allow constant assignment in methods;
- constants should be called `shared variable'.
+ * bignum.c (absint_numwords_generic): rb_funcall invocations removed.
-Fri Nov 12 23:52:19 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Sun Jun 16 16:04:38 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * process.c (rb_f_system): argument check for NT, __EMX__, DJGPP.
+ * tool/config_files.rb: use URI.read to allow it runs with Ruby 1.8.5.
-Wed Nov 10 21:54:11 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+Sun Jun 16 14:32:25 2013 Tanaka Akira <akr@fsij.org>
- * hash.c (rb_any_cmp): Fixed return without value.
+ * bignum.c (bary_pack) Extracted from rb_integer_pack_internal.
+ (absint_numwords_generic): Use bary_pack.
-Wed Nov 10 17:57:06 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Jun 16 11:01:57 2013 Kouhei Sutou <kou@cozmixng.org>
- * sprintf.c: incorporate <yasuf@big.or.jp>'s sprintf patch at
- [ruby-dev:7754].
+ * NEWS (XMLRPC::Client#http): Add.
+ [ruby-core:55197] [Feature #8461]
-Wed Nov 10 08:28:53 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Jun 16 10:38:45 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_call0): supply class parameter for each invocation.
+ * bignum.c (bary_add): New function.
+ (bary_zero_p): Extracted from bigzero_p.
+ (absint_numwords_generic): Use bary_zero_p and bary_add.
+ (bary_mul): Fix an argument for bary_mul_single.
+ (bary_divmod): Use size_t for arguments.
-Tue Nov 9 13:21:04 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+Sun Jun 16 08:55:22 2013 Tanaka Akira <akr@fsij.org>
- * configure.in: AC_MINIX move to before AC_EXEEXT and AC_OBJEXT.
+ * bignum.c (bigdivrem): Use a BDIGIT variable to store the return
+ value of bigdivrem_single.
-Mon Nov 8 19:52:29 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+Sun Jun 16 08:43:59 2013 Tanaka Akira <akr@fsij.org>
- * configure.in: Renamed AC_CHAR_UNSIGNED to AC_C_CHAR_UNSIGNED.
+ * bignum.c (bary_divmod): New function.
+ (absint_numwords_generic): Use bary_divmod.
+ (bigdivrem_num_extra_words): Extracted from bigdivrem.
+ (bigdivrem_single): Ditto.
+ (bigdivrem_normal): Ditto.
+ (BIGDIVREM_EXTRA_WORDS): Defined.
- * configure.in: Added default to AC_CHECK_SIZEOF().
+Sun Jun 16 05:51:51 2013 Masaya Tarui <tarui@ruby-lang.org>
-Mon Nov 8 14:28:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c: Fixup around GC by MALLOC.
+ Add allocate size to malloc_increase before GC
+ for updating limit in after_gc_sweep.
+ Reset malloc_increase into garbage_collect()
+ for preventing GC again soon.
- * parse.y (stmt): rescue modifier added to the syntax.
+Sun Jun 16 05:15:36 2013 Masaya Tarui <tarui@ruby-lang.org>
- * keywords: kRESCUE_MOD added.
+ * gc.c: Add some columns to more detail profile.
+ new columns: Allocated size, Prepare Time, Removing Objects, Empty Objects
- * eval.c (rb_f_eval): fake outer scope when eval() called without
- bindings.
+Sun Jun 16 02:04:40 2013 Masaya Tarui <tarui@ruby-lang.org>
- * eval.c (rb_f_binding): should copy last_class in the outer frame too.
+ * gc.c (gc_prof_timer_stop): Merge function codes of GC_PROFILE_MORE_DETAIL and !GC_PROFILE_MORE_DETAIL.
+ * gc.c (gc_prof_mark_timer_start): Ditto.
+ * gc.c (gc_prof_mark_timer_stop): Ditto.
+ * gc.c (gc_prof_sweep_slot_timer_start): Ditto.
+ * gc.c (gc_prof_sweep_slot_timer_stop): Ditto.
+ * gc.c (gc_prof_set_malloc_info): Ditto.
+ * gc.c (gc_prof_set_heap_info): Ditto.
-Sun Nov 7 18:31:04 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
+Sat Jun 15 23:50:24 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (is_defined): last_class may be 0.
+ * bignum.c (bary_sub): New function.
+ (absint_numwords_generic): Use bary_sub.
+ (bigsub_core): Skip unnecessary copy.
-Sat Nov 6 19:26:55 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+Sat Jun 15 22:05:30 2013 Tanaka Akira <akr@fsij.org>
- * Makefile.in: Added depend entry make parse.@OBJEXT@ from parse.c
- for UCB make
+ * bignum.c (bary_mul): New function.
+ (absint_numwords_generic): Use bary_mul.
+ (bary_mul_single): Extracted from bigmul1_single.
+ (bary_mul_normal): Extracted from bigmul1_normal.
-Thu Nov 4 17:41:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 15 20:13:46 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (re_compile_pattern): \< (wordbeg), \> (wordend) disabled.
+ * bignum.c (bary_unpack): Extracted from rb_integer_unpack_internal.
+ (absint_numwords_generic): Use bary_unpack.
+ (roomof): Defined.
+ (bdigit_roomof): Defined.
+ (BARY_ARGS): Defined.
+ (bary_unpack): Declared.
-Wed Nov 3 08:52:57 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
+Sat Jun 15 19:35:04 2013 Tanaka Akira <akr@fsij.org>
- * io.c (Init_IO): forgot to use INT2FIX() around SEEK_SET, etc.
+ * bignum.c (absint_numwords_bytes): Make it static.
+ (absint_numwords_small): Ditto.
+ (absint_numwords_generic): Ditto.
-Wed Nov 3 00:25:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 15 17:14:32 2013 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_split_method): use mbclen2() to handle kcode
- option of regexp objects.
+ * bignum.c (bigmul1_normal): Shrink the result Bignum length.
-Mon Nov 1 14:22:15 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+Sat Jun 15 10:19:42 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (rb_eval): reduce recursive calls to rb_eval()
- case of ||= and &&= .
+ * ext/bigdecimal/bigdecimal.c: Update overview formatting of headers
-Sun Oct 31 13:12:42 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
+Sat Jun 15 10:19:06 2013 Zachary Scott <zachary@zacharyscott.net>
- * regex.c (re_compile_pattern): wrong [\W] match.
+ * ext/bigdecimal/bigdecimal.gemspec: Update authors
-Fri Oct 29 16:57:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 15 10:02:26 2013 Tanaka Akira <akr@fsij.org>
- * ext/nkf/lib/kconv.rb: new String methods (kconv, tojis, toeuc,
- tosjis).
+ * bignum.c (bdigs_small_rshift): Extracted from big_rshift.
+ (bigdivrem): Use bdigs_small_rshift.
- * time.c (time_s_at): now accepts optional second argument to
- specify micro second.
+Sat Jun 15 08:37:28 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Oct 28 13:35:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * vm_eval.c (eval_string_with_cref): propagate absolute path from the
+ binding if it is given explicitly. patch by Gat (Dawid Janczak) at
+ [ruby-core:55123]. [Bug #8436]
- * string.c (rb_str_split_method): should be mbchar aware with
- single char separators.
+Sat Jun 15 02:40:18 2013 Tanaka Akira <akr@fsij.org>
-Wed Oct 27 12:57:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (bdigs_small_lshift): Extracted from big_lshift.
+ (bigdivrem): Use bdigs_small_lshift.
- * random.c (rb_f_srand): random seed should be unsigned.
+Fri Jun 14 20:47:41 2013 Tanaka Akira <akr@fsij.org>
-Tue Oct 26 23:58:15 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (bigdivrem): Reduce number of digits before bignew() for div.
- * array.c (rb_ary_collect): collect for better performance.
+Fri Jun 14 20:12:37 2013 Tanaka Akira <akr@fsij.org>
-Tue Oct 26 19:20:54 1999 Koji Arai <JCA02266@nifty.ne.jp>
+ * bignum.c (bigdivrem): Use bignew when ny == 1.
- * marshal.c (r_object): should register class/module objects.
+Fri Jun 14 18:52:51 2013 Koichi Sasada <ko1@atdot.net>
-Sat Oct 23 15:59:39 1999 Takaaki Tateishi <ttate@jaist.ac.jp>
+ * compile.c (rb_iseq_compile_node): fix location of a `trace'
+ instruction (b_return event).
+ [ruby-core:55305] [ruby-trunk - Bug #8489]
+ (need a backport to 2.0.0?)
- * process.c (rb_f_system): should require at least one argument.
+ * test/ruby/test_settracefunc.rb: add a test.
-Sat Oct 23 12:42:44 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Fri Jun 14 18:18:07 2013 Koichi Sasada <ko1@atdot.net>
- * enum.c (enum_collect): collect without block will collect
- elements in enumerable.
+ * class.c, include/ruby/ruby.h: add write barriers for T_CLASS,
+ T_MODULE, T_ICLASS.
-Thu Oct 21 16:14:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * constant.h: constify rb_const_entry_t::value and file to detect
+ assignment.
- * ruby.c (moreswitches): function to process string option;
- the name is stolen from perl (not implementation).
+ * variable.c, internal.h (rb_st_insert_id_and_value, rb_st_copy):
+ added. update table with write barrier.
- * ruby.c (proc_options): use RUBYOPT environment variable to
- retrieve the default options.
+ * method.h: constify some variables to detect assignment.
- * dir.c (fnmatch): use eban's fnmatch; do not depend on system's
- fnmatch (which may have portability problem) anymore.
+ * object.c (init_copy): add WBs.
-Wed Oct 20 15:14:24 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * variable.c: ditto.
- * marshal.c (marshal_load): should protect the generated object
- table (arg->data) from GC.
+ * vm_method.c (rb_add_method): ditto.
-Mon Oct 18 16:15:52 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 14 14:33:47 2013 Shugo Maeda <shugo@ruby-lang.org>
- * ext/nkf/nkf.c (rb_nkf_kconv): output should be NUL terminated.
+ * NEWS: add a note for Module#using.
-Mon Oct 18 09:03:01 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Fri Jun 14 13:40:27 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/net/session.rb, smtp.rb, pop.rb: 1.0.3
+ * .travis.yml (before_script): update config files.
- * lib/net/pop.rb: new methods POP3Command#uidl, POPMail#uidl.
+ * common.mk ($(srcdir)/tool/config.{guess,sub}): use get-config_files.
-Sun Oct 17 03:35:33 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
+ * tool/config_files.rb: split get-config_files.
- * array.c (rb_ary_pop): forgot some freeze checks.
+ * common.mk (update-config_files): rule to download config files.
-Sat Oct 16 12:57:53 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ * tool/config.guess, tool/config.sub: remove and download from the
+ upstream.
- * array.c (rb_ary_sort): always returns the copied array.
+ * tool/config_files.rb: download config files from GNU.
-Fri Oct 15 22:50:41 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
+Fri Jun 14 12:21:20 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * error.c (sys_nerr): on CYGWIN, it is _sys_nerr.
+ * include/ruby/ruby.h (RUBY_SAFE_LEVEL_CHECK): suppress warnings
+ "left-hand operand of comma expression has no effect", on gcc 4.4.
-Fri Oct 15 01:32:31 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
+Fri Jun 14 09:48:48 2013 Shugo Maeda <shugo@ruby-lang.org>
- * io.c (rb_io_ctl) :need to use NUM2ULONG, not NUM2INT.
+ * NEWS: add notes for $SAFE.
- * ext/Win32API/Win32API.c (Win32API_Call): need to use NUM2ULONG,
- not NUM2INT.
+ * doc/security.rdoc: remove the description of $SAFE=4.
-Fri Oct 15 00:22:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 14 00:14:29 2013 Tanaka Akira <akr@fsij.org>
- * re.c (Init_Regexp): super class of the MatchingData, which was
- Data, to be Object.
+ * bignum.c (bigdivrem): Zero test condition simplified.
- * eval.c (ruby_run): evaluate required libraries before load &
- compiling the script.
+Thu Jun 13 23:43:11 2013 Zachary Scott <zachary@zacharyscott.net>
- * parse.y (lex_getline): retrieve a line from the stream, saving
- lines in the table in debug mode.
+ * ext/bigdecimal/*: improve documentation, nodoc samples with @mrkn
- * eval.c (call_trace_func): treat the case ruby_sourcefile is null.
+Thu Jun 13 23:02:14 2013 Kouhei Sutou <kou@cozmixng.org>
-Thu Oct 14 02:00:10 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/xmlrpc/client.rb (XMLRPC::Client#http): Add reader for raw
+ Net::HTTP. [ruby-core:55197] [Feature #8461]
+ Reported by Herwin Weststrate. Thanks!!!
- * parse.y (string): compile time string concatenation.
+Thu Jun 13 22:44:52 2013 Kouhei Sutou <kou@cozmixng.org>
-Wed Oct 13 07:28:09 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Support
+ multiple names in a response. [ruby-core:41711] [Bug #5774]
+ Reported by Roman Riha. Thanks!!!
+ * test/xmlrpc/test_client.rb (XMLRPC::ClientTest#test_cookie_override):
+ Add a test of the above case.
- * lib/net/session.rb, smtp.rb, pop.rb: 1.0.2
+Thu Jun 13 22:35:50 2013 Kouhei Sutou <kou@cozmixng.org>
- * lib/net/session.rb: new method Session#set_pipe.
+ * lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Use
+ guard style.
- * lib/net/session.rb, smtp.rb, pop.rb: add RD documentation.
+Thu Jun 13 22:12:32 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Oct 13 02:17:05 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ * lib/fileutils.rb (FileUtils#rmdir): fix traversal loop, not trying
+ remove same directory only.
- * array.c (rb_ary_plus): remove recursion.
+Thu Jun 13 21:30:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_sort_bang): detect modify attempt.
+ * configure.in (opt-dir), tool/ifchange: get rid of "alternate value"
+ expansion for legacy sh. [ruby-dev:47420] [Bug #8524]
-Wed Oct 13 02:17:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Jun 13 21:24:09 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (block_pass): should copy block to prevent modifications.
- tag in the structure should be updated from latest prot_tag.
+ * bignum.c (bigdivrem): Refactored to use ALLOCV_N for temporary
+ buffers.
- * eval.c (proc_s_new): tag in struct BLOCK should not point into
- unused stack.
+Thu Jun 13 18:54:11 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * dir.c (dir_s_glob): iterate over generated matching filenames if
- the block is given to the method.
+ * bignum.c (integer_unpack_num_bdigits_generic): reorder terms (but not
+ changed the intention of the expression) because VC++ reports a
+ warning for it. reported by ko1 via IRC.
- * array.c (rb_ary_at): new methods; at, first, last.
+Thu Jun 13 18:53:14 2013 Tanaka Akira <akr@fsij.org>
- * hash.c (rb_hash_fetch): raises exception unless the default
- value is supplied.
+ * test/ruby/test_thread.rb (test_thread_local_security): Don't create
+ an unused thread.
- * hash.c (rb_hash_s_create): need not remove nil from value.
+Thu Jun 13 18:34:20 2013 Tanaka Akira <akr@fsij.org>
- * hash.c (rb_hash_aset): setting value to nil does not remove key
- anymore.
+ * bignum.c (bigdivrem): Use nlz.
-Tue Oct 12 22:29:04 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Jun 13 14:51:06 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (io_read): length may be 0 or negative.
+ * include/ruby/ruby.h (RUBY_SAFE_LEVEL_CHECK): check constant safe
+ level at compile time.
-Tue Oct 12 13:26:27 1999 Jun-ichiro itojun Hagino <itojun@itojun.org>
+Thu Jun 13 14:39:08 2013 Shugo Maeda <shugo@ruby-lang.org>
- * signal.c (posix_signal): RETSIGTYPE may be void.
+ * test/-ext-/test_printf.rb, test/rss/test_parser.rb,
+ test/ruby/test_array.rb, test/ruby/test_hash.rb,
+ test/ruby/test_m17n.rb, test/ruby/test_marshal.rb,
+ test/ruby/test_object.rb, test/ruby/test_string.rb: don't use
+ untrusted?, untrust, and trust to avoid warnings in case $VERBOSE is
+ true.
-Tue Oct 12 03:28:03 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+Thu Jun 13 10:47:16 2013 Shugo Maeda <shugo@ruby-lang.org>
- * array.c (rb_ary_delete_at): allows negative position.
+ * bootstraptest/test_autoload.rb, bootstraptest/test_method.rb:
+ remove tests for $SAFE=4.
-Mon Oct 11 17:42:25 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * lib/pp.rb: use taint instead of untrust to avoid warnings when
+ $VERBOSE is set to true.
- * parse.y (rb_intern): should generate distinct ID_ATTRSET symbols
- for the name with multiple `='s at the end.
+Thu Jun 13 06:12:18 2013 Tanaka Akira <akr@fsij.org>
- * Makefile.in (CPPFLAGS): separate cpp flags from CFLAGS.
+ * bignum.c (integer_unpack_num_bdigits_small): Fix a compile error on
+ clang -Werror,-Wshorten-64-to-32
+ Reported by Eric Hodel. [ruby-core:55467] [Bug #8522]
-Mon Oct 11 07:27:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Jun 13 05:32:13 2013 Eric Hodel <drbrain@segment7.net>
- * eval.c (rb_eval): should not execute the `else' clause on the
- case the exceptions are handled by the `rescue' clause.
+ * ext/socket/extconf.rb: Enable RFC 3542 IPV6 socket options for OS X
+ 10.7+. [ruby-trunk - Bug #8517]
- * signal.c (Init_signal): ignore SIGPIPE by default.
+Thu Jun 13 00:17:18 2013 Tanaka Akira <akr@fsij.org>
-Wed Oct 6 17:13:19 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+ * bignum.c (rb_integer_unpack_2comp): New function.
+ (rb_integer_unpack_internal): Extracted from rb_integer_unpack and
+ nlp_bits_ret argument added.
+ (integer_unpack_num_bdigits_small): nlp_bits_ret argument added to
+ return number of leading padding bits.
+ (integer_unpack_num_bdigits_generic): Ditto.
- * ruby.c (addpath): rubylib_mangled_path() modified.
+ * internal.h (rb_integer_unpack_2comp): Declared.
-Mon Oct 4 12:42:32 1999 Kazuhiko Izawa <izawa@erec.che.tohoku.ac.jp>
+ * pack.c (pack_unpack): Use rb_integer_unpack_2comp and
+ rb_integer_unpack.
- * pack.c (pack_unpack): % in printf format should be %%.
+Wed Jun 12 23:27:03 2013 Shugo Maeda <shugo@ruby-lang.org>
-Mon Oct 4 10:01:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * eval.c (mod_using): new method Module#using, which activates
+ refinements of the specified module only in the current class or
+ module definition. [ruby-core:55273] [Feature #8481]
- * variable.c (rb_obj_instance_variables): should always return
- array for all object can have instance variables now.
+ * test/ruby/test_refinement.rb: related test.
-Mon Oct 4 00:08:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Jun 12 22:58:48 2013 Shugo Maeda <shugo@ruby-lang.org>
- * pack.c (OFF16): need to adjust pointer address to pack/unpack on
- 64bit machines.
+ * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentError
+ when $SAFE is set to 4. $SAFE=4 is now obsolete.
+ [ruby-core:55222] [Feature #8468]
-Sun Oct 3 03:05:59 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * object.c (rb_obj_untrusted, rb_obj_untrust, rb_obj_trust):
+ Kernel#untrusted?, untrust, and trust are now deprecated.
+ Their behavior is same as tainted?, taint, and untaint,
+ respectively.
- * time.c (time_arg): mktime y2k problem.
+ * include/ruby/ruby.h (OBJ_UNTRUSTED, OBJ_UNTRUST): OBJ_UNTRUSTED()
+ and OBJ_UNTRUST() are aliases of OBJ_TAINTED() and OBJ_TAINT(),
+ respectively.
-Sun Sep 26 16:54:45 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * array.c, class.c, debug.c, dir.c, encoding.c, error.c, eval.c,
+ ext/curses/curses.c, ext/dbm/dbm.c, ext/dl/cfunc.c,
+ ext/dl/cptr.c, ext/dl/dl.c, ext/etc/etc.c, ext/fiddle/fiddle.c,
+ ext/fiddle/pointer.c, ext/gdbm/gdbm.c, ext/readline/readline.c,
+ ext/sdbm/init.c, ext/socket/ancdata.c, ext/socket/basicsocket.c,
+ ext/socket/socket.c, ext/socket/udpsocket.c,
+ ext/stringio/stringio.c, ext/syslog/syslog.c, ext/tk/tcltklib.c,
+ ext/win32ole/win32ole.c, file.c, gc.c, hash.c, io.c, iseq.c,
+ load.c, marshal.c, object.c, proc.c, process.c, random.c, re.c,
+ safe.c, string.c, thread.c, transcode.c, variable.c,
+ vm_insnhelper.c, vm_method.c, vm_trace.c: remove code for
+ $SAFE=4.
+
+ * test/dl/test_dl2.rb, test/erb/test_erb.rb,
+ test/readline/test_readline.rb,
+ test/readline/test_readline_history.rb, test/ruby/test_alias.rb,
+ test/ruby/test_array.rb, test/ruby/test_dir.rb,
+ test/ruby/test_encoding.rb, test/ruby/test_env.rb,
+ test/ruby/test_eval.rb, test/ruby/test_exception.rb,
+ test/ruby/test_file_exhaustive.rb, test/ruby/test_hash.rb,
+ test/ruby/test_io.rb, test/ruby/test_method.rb,
+ test/ruby/test_module.rb, test/ruby/test_object.rb,
+ test/ruby/test_pack.rb, test/ruby/test_rand.rb,
+ test/ruby/test_regexp.rb, test/ruby/test_settracefunc.rb,
+ test/ruby/test_struct.rb, test/ruby/test_thread.rb,
+ test/ruby/test_time.rb: remove tests for $SAFE=4.
+
+Wed Jun 12 22:18:23 2013 Tanaka Akira <akr@fsij.org>
+
+ * bignum.c (integer_unpack_num_bdigits_generic): Rewritten without
+ rb_funcall.
+ (integer_unpack_num_bdigits_bytes): Removed.
+ (rb_integer_unpack): integer_unpack_num_bdigits_bytes invocation
+ removed.
- * parse.y (here_document): `\r' handling for here documents.
+Wed Jun 12 20:18:03 2013 Kouhei Sutou <kou@cozmixng.org>
-Wed Sep 22 09:20:11 1999 Masahiro Tomita <tommy@tmtm.org>
+ * lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Extract.
- * ext/socket/socket.c: SOCKS5 support.
+Wed Jun 12 18:19:41 2013 Tanaka Akira <akr@fsij.org>
-Wed Sep 22 07:33:23 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * bignum.c (validate_integer_pack_format): supported_flags argument
+ added and validate given flags.
+ (rb_integer_pack_internal): Specify supported_flags.
+ (rb_integer_unpack): Ditto.
- * lib/net/session.rb, smtp.rb, pop.rb: 1.0.1
+Wed Jun 12 16:41:38 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/net/pop.rb: APOP did not work.
+ * array.c (rb_ary_sort_bang): remove duplicated assertions.
+ ARY_HEAP_PTR() implies ary not to be embedded. [ruby-dev:47419]
+ [Bug #8518]
- * lib/net/pop.rb: modify the way to make APOP challenge.
+Wed Jun 12 12:44:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Sep 22 00:35:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * io.c (io_getc): fix 7bit coderange condition, check if ascii read
+ data instead of read length. [ruby-core:55444] [Bug #8516]
- * string.c (rb_str_include): should return boolean value.
+Wed Jun 12 12:35:13 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (re_compile_fastmap): wrong comparison with mbc.
+ * pack.c (pack_pack): Use rb_integer_pack_2comp.
- * eval.c (specific_eval): default sourcefile name should be
- "(eval)" for module_eval etc.
+Wed Jun 12 12:07:04 2013 Tanaka Akira <akr@fsij.org>
-Wed Sep 22 00:06:07 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * sprintf.c (rb_str_format): Fix a dynamic format string.
- * win32/Makefile: update rules.
+Wed Jun 12 12:04:09 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (io_fread): should not assign in char, it maybe -1.
+ * array.c (rb_ary_uniq_bang): must not be modified once frozen even in
+ a callback method.
-Tue Sep 21 23:57:54 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Jun 12 12:03:43 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (call_trace_func): should not propagate retval in
- trace_func.
+ * array.c (rb_ary_sort_bang): must not be modified once frozen even in
+ a callback method.
-Mon Sep 20 21:35:39 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Wed Jun 12 12:00:15 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * win32/win32.c (myselect): assume non socket files are always
- readable/writable.
+ * array.c (FL_SET_EMBED): shared object is frozen even when get
+ unshared.
-Mon Sep 20 01:08:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * array.c (rb_ary_modify): ARY_SET_CAPA needs unshared array.
- * io.c (io_fread): should not block other threads.
+Wed Jun 12 07:32:01 2013 Tanaka Akira <akr@fsij.org>
- * io.c (rb_io_synchronized): renamed from rb_io_unbuffered(); do
- not call setbuf(NULL) anymore.
+ * random.c (rand_int): Use rb_big_uminus.
-Sat Sep 18 13:45:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Jun 12 07:12:54 2013 Eric Hodel <drbrain@segment7.net>
- * stable version 1.4.2 released.
+ * struct.c: Improve documentation: replace "instance variable" with
+ "member", recommend the use of a block to customize structs, note
+ that member accessors are created, general cleanup.
-Fri Sep 17 23:24:17 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Wed Jun 12 06:35:01 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_f_missing): dumped core if no argument given.
+ * internal.h (INTEGER_PACK_NEGATIVE): Defined.
+ (rb_integer_unpack): sign argument removed.
-Fri Sep 17 23:21:06 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * bignum.c (rb_integer_unpack): sign argument removed.
+ Non-negative integers generated by default.
+ INTEGER_PACK_NEGATIVE flag is used to generate non-positive integers.
- * win32/win32.c (myselect): translate WSAEINTR, WSAENOTSOCK into
- UNIX errno constants.
+ * pack.c (pack_unpack): Follow the above change.
-Fri Sep 17 00:52:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * random.c (int_pair_to_real_inclusive): Ditto.
+ (make_seed_value): Ditto.
+ (mt_state): Ditto.
+ (limited_big_rand): Ditto.
- * parse.y (arg): assignable() may return 0.
+ * marshal.c (r_object0): Ditto.
-Thu Sep 16 20:46:23 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Wed Jun 12 00:07:46 2013 Kouhei Sutou <kou@cozmixng.org>
- * eval.c (rb_eval): was doubly evaluating the return expression.
+ * test/xmlrpc/test_client.rb (XMLRPC::ClientTest#test_cookie_simple):
+ Add a test for the extracted method.
-Thu Sep 16 18:40:08 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Jun 11 23:56:24 2013 Kouhei Sutou <kou@cozmixng.org>
- * stable version 1.4.1 released.
+ * test/xmlrpc/test_client.rb (XMLRPC::ClientTest::Fake::HTTP#started):
+ Add a missing empty line.
-Thu Sep 16 11:33:22 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Tue Jun 11 23:37:19 2013 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_match): should return nil.
+ * bignum.c (validate_integer_pack_format): Don't require a word order
+ flag if numwords is 1 or less.
+ (absint_numwords_generic): Don't specify a word order for
+ rb_integer_pack.
-Wed Sep 15 22:46:37 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * hash.c (rb_hash): Ditto.
- * re.c (rb_reg_s_quote): should quote `-' too.
+ * time.c (v2w_bignum): Ditto.
-Tue Sep 14 15:23:22 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+Tue Jun 11 23:01:57 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (yylex): no need to ignore `\r' here.
+ * bignum.c (validate_integer_pack_format): Refine error messages.
- * parse.y (nextc): strip `\r' from text.
+Tue Jun 11 22:25:04 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (nextc): support `__END__\r\n' type terminator.
+ * bignum.c (validate_integer_pack_format): numwords argument added.
+ Move a varidation from rb_integer_pack_internal and rb_integer_unpack.
+ (rb_integer_pack_internal): Follow above change.
+ (rb_integer_unpack): Ditto.
-Mon Sep 13 10:49:19 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Tue Jun 11 20:52:43 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_eval): needless RTEST(ruby_verbose) removed.
+ * bignum.c (rb_integer_pack_internal): Renamed from rb_integer_pack
+ and overflow_2comp argument added.
+ (rb_integer_pack): Just call rb_integer_pack_internal.
+ (rb_integer_pack_2comp): New function.
-Mon Sep 13 09:10:11 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * internal.h (rb_integer_pack_2comp): Declared.
- * lib/net/session.rb, smtp.rb, pop.rb: 1.0.0
+ * sprintf.c (rb_str_format): Use rb_integer_pack and
+ rb_integer_pack_2comp to format binary/octal/hexadecimal integers.
+ (ruby_digitmap): Declared.
+ (remove_sign_bits): Removed.
+ (BITSPERDIG): Ditto.
+ (EXTENDSIGN): Ditto.
-Wed Sep 8 11:37:38 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+Tue Jun 11 16:15:03 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * time.c (make_time_t): bit more strict comparison.
+ * array.c (ary_shrink_capa): shrink the capacity so it fits just with
+ the length.
-Tue Sep 7 00:50:56 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * array.c (ary_make_shared): release never used elements from frozen
+ array to be shared. [ruby-dev:47416] [Bug #8510]
- * range.c (range_each): use rb_str_upto() for strings.
+Tue Jun 11 12:49:01 2013 Zachary Scott <zachary@zacharyscott.net>
- * string.c (rb_str_upto): set upper limit by comparing curr <= end.
+ * doc/re.rdoc: Rename to doc/regexp.rdoc
+ * re.c: Update rdoc include for rename of file
- * range.c (range_each): should check equality to handle magic
- increment.
+Tue Jun 11 07:13:13 2013 Masaya Tarui <tarui@ruby-lang.org>
-Mon Sep 6 22:43:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * eval_error.c (error_print): keep that errat is non-shady object.
+ and guard errat from GC.
- * eval.c (rb_eval): break/next/redo available within -n/-p loop.
+Tue Jun 11 05:04:25 2013 Benoit Daloze <eregontp@gmail.com>
-Fri Sep 3 11:14:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/racc/cparse/cparse.c: use rb_ary_entry() and
+ rb_ary_subseq() instead of RARRAY_PTR.
+ Based on a patch by Dirkjan Bussink. See Bug #8399.
- * compar.c (cmp_equal): should not raise exception; protect by
- rb_rescue().
+Mon Jun 10 23:51:51 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
-Thu Sep 2 05:23:05 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * array.c (rb_ary_new_from_values): fix a typo. pointed out by
+ nagachika.
+ http://d.hatena.ne.jp/nagachika/20130610/ruby_trunk_changes_41199_41220
- * file.c (rb_file_s_expand_path): use dirsep, instead of character
- literal '/'.
+Mon Jun 10 21:51:03 2013 Kouhei Sutou <kou@cozmixng.org>
- * file.c (rb_file_s_expand_path): reduce multiple dirsep at the top.
+ * ext/socket/raddrinfo.c (nogvl_getaddrinfo): Fix indent.
-Wed Sep 1 00:28:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Jun 10 21:49:43 2013 Kouhei Sutou <kou@cozmixng.org>
- * eval.c (rb_call): call rb_undefined() if a method appears not to
- be exist explicitly from cache.
+ * ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return
+ value assignment.
- * eval.c (rb_method_boundp): check method cache before calling
- rb_get_method_body().
+Mon Jun 10 20:58:11 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * eval.c (rb_get_method_body): store method non-existence
- information in the cache.
+ * ext/socket/raddrinfo.c (nogvl_getaddrinfo): work around for Ubuntu
+ 13.04's getaddrinfo issue with mdns4. [ruby-list:49420]
- * random.c (rb_f_srand): use getpid(2) to generate seed.
+Mon Jun 10 19:34:39 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (re_match): do not apply partial mbc match for
- charset_not.
+ * bignum.c (rb_integer_pack): Returns sign instead of words.
+ (absint_numwords_generic): Follow the above change.
+ (big2str_base_powerof2): Follow the above change.
- * regex.c (re_compile_pattern): put extended literal prefix (0xff)
- only before numeric literals, not before all >0x80 char.
+ * internal.h: Ditto.
- * regex.c (re_compile_pattern): put numeric literal in extended
- charset region, not normal charset bits.
+ * hash.c (rb_hash): Ditto.
- * regex.c (re_compile_fastmap): calculate fastmap for charset and
- charset_not to treat numeric literal (e.g. \246) specially.
+ * pack.c (pack_pack): Ditto.
-Fri Aug 28 17:32:55 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
+ * random.c (int_pair_to_real_inclusive): Ditto.
+ (rand_init): Ditto.
+ (random_load): Ditto.
+ (limited_big_rand): Ditto.
- * eval.c (rb_eval): should set return value (nil) explicitly if a
- value is omitted for return statement.
+ * time.c (v2w_bignum): Ditto.
-Sun Aug 26 20:26:40 2001 Koji Arai <JCA02266@nifty.ne.jp>
+Mon Jun 10 17:20:01 2013 Koichi Sasada <ko1@atdot.net>
- * ext/readline/readline.c: restore terminal mode
- even if readline() interrupted.
+ * gc.c (rgengc_remember): permit promoted object.
+ (rb_gc_writebarrier -> remember)
- * ext/readline/readline.c: returned string need to
- be tainted.
+Mon Jun 10 17:14:01 2013 Koichi Sasada <ko1@atdot.net>
- * ext/readline/readline.c: fixed memory leak.
+ * gc.c (RVALUE_PROMOTE): fix parameter name (`x' to `obj')
+ and make it inline function (like RVALUE_PROMOTE).
- * ext/readline/readline.c: allow negative index.
+Mon Jun 10 16:22:50 2013 Koichi Sasada <ko1@atdot.net>
- * ext/readline/readline.c: added Readline::HISTORY.size
- same as Readline::HISTORY.length
+ * array.c (rb_ary_new_from_values): add assertion
+ (ary should be young object).
- * ext/readline/readline.c: allow conditional parsing
- of the ~/.inputrc file by `$if Ruby'.
+Mon Jun 10 16:05:59 2013 Koichi Sasada <ko1@atdot.net>
- * ext/readline/extconf.rb: check whether the
- libreadline has the variable `rl_completion_append_character'
- (this feature was implemented from GNU readline 2.1).
+ * gc.c (wmap_mark): check allocation of `w->obj2wmap'.
+ (no-allocation `w->obj2wmap' will be NULL pointer reference)
-Thu Aug 26 15:06:11 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
+Mon Jun 10 15:36:00 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * gc.c (rb_gc): local variables may be placed beyond stack_end, so
- use an address from alloca(1) on non C_ALLOCA platforms.
+ * eval_error.c (error_print): use checking functions instead of
+ catching exceptions.
-Thu Aug 26 01:24:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * eval_error.c (error_print): restore errinfo for the case new
+ exception raised while printing the message. [ruby-core:55365]
+ [Bug #8501]
- * sprintf.c (rb_f_sprintf): "%%" is legal, but "%3.14%" is not.
+ * eval_error.c (error_print): reduce calling setjmp.
-Mon Aug 23 00:00:54 1999 Tsukada Takuya <tsukada@fminn.nagano.nagano.jp>
+Mon Jun 10 12:10:06 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (re_compile_fastmap): wrong macro caused memory leak.
+ * bignum.c (integer_unpack_num_bdigits_small: Extracted from
+ rb_integer_unpack.
+ (integer_unpack_num_bdigits_generic): Ditto.
+ (integer_unpack_num_bdigits_bytes): New function.
+ (rb_integer_unpack): Use above functions.
+ Return a Bignum for INTEGER_PACK_FORCE_BIGNUM even when the result
+ is zero.
-Sat Aug 21 11:30:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Jun 10 05:38:23 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (ADJ): should not adjust addresses to data on heap.
+ * bignum.c (absint_numwords_small): New function.
+ (absint_numwords_generic): Use absint_numwords_small if possible.
-Fri Aug 20 20:50:58 1999 Kenji Nagasawa <kenn@hma.att.ne.jp>
+Mon Jun 10 01:07:57 2013 Tanaka Akira <akr@fsij.org>
- * defines.h (PATH_SEP): path separator is ";" for OS/2.
+ * bignum.c (absint_numwords_bytes): New function.
+ (absint_numwords_generic): Extracted from rb_absint_numwords.
+ (rb_absint_numwords): Use absint_numwords_bytes if possible.
-Thu Aug 19 10:50:43 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
+Sun Jun 9 21:33:15 2013 Tanaka Akira <akr@fsij.org>
- * gc.c (rb_gc): add volatile to avoid GCC optimize bug(?).
+ * bignum.c (rb_absint_numwords): Return (size_t)-1 when overflow.
+ Refine variable names.
+ (rb_absint_size): Refine variable names.
-Wed Aug 18 23:48:10 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * internal.h (rb_absint_size): Refine an argument name.
+ (rb_absint_numwords): Ditto.
- * due to disk trouble, some change records were lost. several
- modification made to eval.c, gc.c, io.c, pack.c,
- ext/extmk.rb.in, and lib/mkmf.rb.
+Sun Jun 9 16:51:41 2013 Tanaka Akira <akr@fsij.org>
-Fri Aug 13 15:41:39 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (rb_absint_numwords): Renamed from rb_absint_size_in_word.
- * stable version 1.4.0 released.
+ * internal.h (rb_absint_numwords): Follow the above change.
-Fri Aug 13 03:16:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * pack.c (pack_pack): Ditto.
- * io.c (argf_forward): since $stdout may be non-IO, ARGF.file is
- not guaranteed to be IO. check and forwarding added to every ARGF
- method.
+ * random.c (rand_init): Ditto.
+ (limited_big_rand): Ditto.
- * io.c (set_outfile): $stdout/$stderr may not be IO now.
+Sun Jun 9 14:41:05 2013 Tanaka Akira <akr@fsij.org>
- * io.c (set_stdin): $stdin may not be IO now.
+ * bignum.c (rb_integer_pack): numwords_allocated argument removed.
- * range.c (rb_range_beg_len): round `end' to length as documented.
+ * internal.h (rb_integer_pack): Follow the above change.
- * io.c (Init_IO): preserve original stdin/stdout/stderr.
+ * hash.c (rb_hash): Ditto.
-Thu Aug 12 13:44:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * time.c (v2w_bignum): Ditto.
- * eval.c (Init_load): require receives 1 argument.
+ * pack.c (pack_pack): Ditto.
- * eval.c (frame_dup): should clear tmp to avoid dangling
- references.
+ * random.c (int_pair_to_real_inclusive): Ditto.
+ (rand_init): Ditto.
+ (random_load): Ditto.
+ (limited_big_rand): Ditto.
-Wed Aug 11 13:33:13 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Sun Jun 9 09:34:44 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_eval): no automatic aggregate initialization.
+ * bignum.c (big2str_base_powerof2): New function.
+ (rb_big2str0): Use big2str_base_powerof2 if base is 2, 4, 8, 16 or 32.
- * eval.c (module_setup): ditto.
+Sun Jun 9 00:59:04 2013 Tanaka Akira <akr@fsij.org>
-Wed Aug 11 18:18:41 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
+ * hash.c (rb_hash): Use rb_integer_pack to obtain least significant
+ long integer.
- * eval.c (yield_under_i): automatic aggregate initialization is an
- ANSI feature.
+Sat Jun 8 23:56:00 2013 Tanaka Akira <akr@fsij.org>
-Wed Aug 11 10:10:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * numeric.c (rb_num_to_uint): Use rb_absint_size instead of
+ RBIGNUM_LEN.
- * parse.y (yylex): parse `[].length==0' as `([].length)==0', not
- `([].length=)=0'
+Sat Jun 8 22:53:45 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (yylex): parse `[].length!=0' as `([].length)!=0', not
- `([].length!)=0'
+ * marshal.c (r_object0): Use rb_integer_unpack.
- * parse.y (peek): peek-in lexical buffer.
+Sat Jun 8 22:18:57 2013 Tanaka Akira <akr@fsij.org>
-Wed Aug 11 00:34:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * time.c (v2w): Use rb_absint_size instead of RBIGNUM_LEN.
- * regex.c (re_match): bug on backward jump adjustment concerning
- stop_paren.
+Sat Jun 8 21:47:33 2013 Tanaka Akira <akr@fsij.org>
-Tue Aug 10 14:54:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * time.c (v2w_bignum): Simplified using rb_integer_pack.
+ (rb_big_abs_find_maxbit): Removed.
- * ext/nkf/nkf.c (rb_nkf_guess): binary detection was wrong.
+Sat Jun 8 21:03:40 2013 Tanaka Akira <akr@fsij.org>
-Tue Aug 10 00:07:36 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (rb_absint_singlebit_p): New function.
- * io.c (rb_io_clone): should use CLONESETUP().
+ * internal.h (rb_absint_singlebit_p): Declared.
-Mon Aug 9 23:57:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * time.c (v2w_bignum): Use rb_absint_singlebit_p instead of
+ rb_big_abs_find_minbit.
+ (rb_big_abs_find_minbit): Removed.
- * ruby.h (CLONESETUP): should have copied generic instance
- variables too.
+Sat Jun 8 20:24:23 2013 Tanaka Akira <akr@fsij.org>
-Mon Aug 9 10:46:54 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * time.c (rb_big_abs_find_maxbit): Use rb_absint_size.
+ (bdigit_find_maxbit): Removed.
- * ext/socket/extconf.rb: add check for <arpa/nameser.h> and
- <resolv.h>.
+Sat Jun 8 19:47:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Sat Aug 7 13:19:06 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ * class.c (include_modules_at): invalidate method cache if included
+ module contains constants
- * numeric.c (flo_cmp): comparing NaN should not return value.
- raises FloatDomainError.
+ * test/ruby/test_module.rb: add test
-Sat Aug 7 03:09:08 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 8 19:31:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * eval.c (blk_free): free copied frames too.
+ * random.c (limited_big_rand): declare rnd, lim and mask as uint32_t
+ to avoid 64 bit to 32 bit shorten warnings.
- * eval.c (frame_dup): should copy previous frames from stack to
- heap to preserve frame information.
+Sat Jun 8 19:23:53 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Fri Aug 6 15:01:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * win32/Makefile.sub: r41163 changed win32/win32.c and configure.in
+ but it didn't treat about mswin32/mswin64, so fix it.
+ NOTE: this needs a review by usa whether additional condition is
+ required or not.
- * version 1.3.7 - version 1.4 beta
+Sat Jun 8 19:06:26 2013 Tanaka Akira <akr@fsij.org>
- * ext/socket/socket.c (s_recv): UDPsocket#recvfrom now returns
- IPsocket#addr information.
+ * random.c: Unused RBignum internal accessing macros removed.
- * array.c (rb_ary_subary): ary[-3,3] should not return nil.
+Sat Jun 8 19:04:15 2013 Tanaka Akira <akr@fsij.org>
-Thu Aug 5 10:58:01 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * random.c (limited_big_rand): The argument, limit, is changed to
+ VALUE. Use rb_integer_pack and rb_integer_unpack.
- * eval.c (thread_mark): protect old ruby_frame from GC during it
- replaced by eval().
+Sat Jun 8 17:15:18 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (eval): do not modify frame.prev; binding should preserve
- information about calling() too.
+ * random.c (make_seed_value): Fix the length given for
+ rb_integer_unpack.
- * eval.c (rb_yield_0): no arity check for mere yield; but only for
- Proc#call.
+Sat Jun 8 16:38:02 2013 Tanaka Akira <akr@fsij.org>
-Tue Aug 3 22:07:13 1999 Kazuhiro HIWADA <hiwada@kuee.kyoto-u.ac.jp>
+ * bignum.c (rb_integer_unpack): Don't use rb_funcall if possible.
- * object.c (rb_mod_clone): should check if iv_tbl, m_tbl are
- initialized.
+ * random.c: Use uint32_t for elements of seed.
+ (make_seed_value): Use rb_integer_unpack.
-Tue Aug 3 19:03:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 8 15:58:18 2013 Tanaka Akira <akr@fsij.org>
- * hash.c (rb_any_cmp): use rb_with_disable_interrupt() to ensure
- clearance of rb_prohibit_interrupt even on failure.
+ * random.c (rand_init): Add a cast to fix clang compile error:
+ random.c:410:32: error: implicit conversion loses integer precision:
+ 'size_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32]
+ This cast doesn't cause a problem because len is not bigger than
+ MT_MAX_STATE.
- * eval.c (rb_with_disable_interrupt): new function added.
+Sat Jun 8 15:30:03 2013 Tanaka Akira <akr@fsij.org>
-Sat Jul 31 23:23:44 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * random.c (rand_init): Use rb_integer_pack.
+ (roomof): Removed.
- * eval.c (rb_thread_create_0): set THREAD_RAISED flag on thread
- termination by exception.
+Sat Jun 8 14:58:32 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_thread_join): `$!' may not be nil for the threads
- created in rescue clause.
+ * internal.h (INTEGER_PACK_FORCE_BIGNUM): New flag constant.
- * eval.c (rb_thread_status): ditto.
+ * bignum.c (rb_integer_unpack): Support INTEGER_PACK_FORCE_BIGNUM.
- * eval.c (rb_thread_join): should re-raise exception for already
- dead threads too.
+ * random.c (int_pair_to_real_inclusive): Use
+ INTEGER_PACK_FORCE_BIGNUM to use rb_big_mul instead of rb_funcall.
-Fri Jul 30 17:56:54 1999 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp>
+Sat Jun 8 14:17:01 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * object.c (rb_mod_ge): wrong comparison.
+ * configure.in: check for NET_LUID. header macro varies across
+ compiler versions.
-Fri Jul 30 12:15:44 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * win32/win32.c: use configured macro.
- * ext/tcltklib/extconf.rb: win32 support.
+Sat Jun 8 11:59:55 2013 Tanaka Akira <akr@fsij.org>
- * lib/mkmf.rb: use append_library().
+ * random.c (int_pair_to_real_inclusive): Use rb_funcall instead of
+ rb_big_mul because rb_integer_unpack can return a Fixnum.
- * ext/extmk.rb.in: ditto.
+Sat Jun 8 11:17:39 2013 Tanaka Akira <akr@fsij.org>
-Fri Jul 30 02:11:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * random.c (int_pair_to_real_inclusive): Use rb_integer_pack.
- * array.c (rb_ary_delete): should return nil for deleting non
- existing item.
+Sat Jun 8 09:49:42 2013 Tanaka Akira <akr@fsij.org>
- * io.c (rb_io_close): call rb_sys_wait() on explicit close.
+ * random.c (int_pair_to_real_inclusive): Use rb_integer_unpack.
- * io.c (rb_io_fptr_close): do not call rb_sys_wait() on finalize.
+Sat Jun 8 08:12:22 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (yield_under_i): cbase context should be maintained for
- Module#module_eval(). suggested by <inaba@st.rim.or.jp>.
+ * random.c (random_load): Use rb_integer_pack.
-Wed Jul 28 01:18:28 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Sat Jun 8 06:15:46 2013 Tanaka Akira <akr@fsij.org>
- * Makefile.in: add -I$(hdrdir)/lib to install using ftools.
+ * random.c (numberof): Removed.
- * util.c: use HAVE_FCNTL_H, not HAVE_FCNTL
+Sat Jun 8 06:00:47 2013 Tanaka Akira <akr@fsij.org>
-Wed Jul 28 18:24:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * random.c: include internal.h.
+ (mt_state): Use rb_integer_unpack.
- * version 1.3.6 - version 1.4 alpha
+Sat Jun 8 00:55:51 2013 Tanaka Akira <akr@fsij.org>
-Tue Jul 27 09:38:08 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ * bignum.c (integer_pack_loop_setup): word_num_nailbytes_ret argument
+ removed.
+ (rb_integer_pack): Follow the above change.
+ (rb_integer_unpack): Follow the above change.
- * eval.c (rb_eval): reduce recursive rb_eval() calls by
- NODE_BLOCKs.
+Sat Jun 8 00:37:32 2013 Tanaka Akira <akr@fsij.org>
-Tue Jul 27 01:20:40 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * bignum.c (validate_integer_pack_format): Renamed from
+ validate_integer_format.
+ (integer_pack_loop_setup): Renamed from integer_format_loop_setup.
+ (integer_pack_fill_dd): Renamed from int_export_fill_dd.
+ (integer_pack_take_lowbits): Renamed from int_export_take_lowbits.
+ (integer_unpack_push_bits): Renamed from int_import_push_bits.
- * file.c (rb_file_s_expand_path): drive letter patch.
+Fri Jun 7 23:58:06 2013 Tanaka Akira <akr@fsij.org>
-Mon Jul 26 02:36:31 1999 Shugo Maeda <shugo@netlab.co.jp>
+ * bignum.c (rb_integer_pack): Arguments changed. Use flags to
+ specify word order and byte order.
+ (rb_integer_unpack): Ditto.
+ (validate_integer_format): Follow the above change.
+ (integer_format_loop_setup): Ditto.
- * eval.c (rb_load): should clear ruby_nerr.
+ * pack.c: Ditto.
- * eval.c (rb_thread_join): oldbt should not be empty to unshift.
+ * internal.h: Ditto.
+ (INTEGER_PACK_MSWORD_FIRST): Defined.
+ (INTEGER_PACK_LSWORD_FIRST): Ditto.
+ (INTEGER_PACK_MSBYTE_FIRST): Ditto.
+ (INTEGER_PACK_LSBYTE_FIRST): Ditto.
+ (INTEGER_PACK_NATIVE_BYTE_ORDER): Ditto.
+ (INTEGER_PACK_LITTLE_ENDIAN): Ditto.
+ (INTEGER_PACK_BIG_ENDIAN): Ditto.
-Sun Jul 25 12:09:16 1999 Koji Arai <JCA02266@nifty.ne.jp>
+Fri Jun 7 22:10:50 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * dir.c (push_braces): should treat nested braces.
+ * lib/rubygems/specification.rb (Gem::Specification#to_yaml):
+ use Gem::NoAliasYAMLTree.create instead of Gem::NoAliasYAMLTree.new
+ to suppress deprecated warnings.
-Fri Jul 23 02:49:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 7 21:39:39 2013 Tanaka Akira <akr@fsij.org>
- * hash.c (rb_hash_clear): dummy argument added; suggested by
- <eguchi@shizuokanet.ne.jp>. thanks.
+ * bignum.c (rb_integer_pack): Renamed from rb_int_export.
+ (rb_integer_unpack): Renamed from rb_int_import.
-Thu Jul 22 19:37:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * internal.h, pack.c: Follow the above change.
- * eval.c (rb_thread_join): get_backtrace() may return Qnil.
- typecheck added.
+Fri Jun 7 21:05:26 2013 Tanaka Akira <akr@fsij.org>
-Tue Jul 20 14:36:43 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * bignum.c (integer_format_loop_setup): Extracted from rb_int_export
+ and rb_int_import.
- * range.c (range_each): do not treat String specially (for future
- override).
+Fri Jun 7 19:48:38 2013 Tanaka Akira <akr@fsij.org>
-Tue Jul 20 02:28:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (validate_integer_format): Extracted from rb_int_export and
+ rb_int_import.
- * io.c (rb_gets): $_ should be nil, when get returns nil.
+Fri Jun 7 19:23:15 2013 Tanaka Akira <akr@fsij.org>
- * io.c (rb_f_gets): ditto.
+ * bignum.c (rb_absint_size): Use numberof.
+ (rb_int_export): Ditto.
-Mon Jul 19 17:13:09 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 7 18:58:56 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (re_compile_fastmap): should continue fastmap compile
- for anychar_repeat, for it's repeat anyway.
+ * internal.h (numberof): Gathered from various files.
-Mon Jul 26 13:33:45 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * array.c, math.c, thread_pthread.c, iseq.c, enum.c, string.c, io.c,
+ load.c, compile.c, struct.c, eval.c, gc.c, parse.y, process.c,
+ error.c, ruby.c: Remove the definitions of numberof.
- * lib/jcode.rb: replaced by faster code.
+Fri Jun 7 18:24:39 2013 Tanaka Akira <akr@fsij.org>
-Mon Jul 19 01:57:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (rb_absint_size): Declare a variable, i, just before used
+ to suppress a warning.
+ (rb_int_export): Ditto.
- * lib/mkmf.rb: no longer use install program.
+Fri Jun 7 17:41:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * ext/extmk.rb.in: use miniruby to install programs.
+ * bignum.c (rb_absint_size): explicit cast to BDIGIT to avoid implicit
+ 64 bit to 32 bit shortening warning
+ * bignum.c (rb_int_export): ditto
+ * bignum.c (int_import_push_bits): ditto
-Sat Jul 17 00:06:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 7 17:31:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * ext/socket/socket.c (ipaddr): don't do reverse lookup if
- attribute do_not_reverse_lookup is set for socket classes.
- Experimental. Note this is a global attribute.
+ * internal.h (RCLASS_SUPER): use descriptive variable name
+ * internal.h (RCLASS_SET_SUPER): ditto
-Fri Jul 16 22:18:29 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 7 13:25:27 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * io.c (rb_io_eof): use feof() to check EOF already met.
+ * ext/json/fbuffer/fbuffer.h (fbuffer_append_str): change the place of
+ RB_GC_GUARD. it should be after the object is used.
- * io.c (read_all): should return nil at EOF.
+Fri Jun 7 13:22:43 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Fri Jul 16 13:39:42 1999 Wakou Aoyama <wakou@fsinet.or.jp>
+ * gc.c (before_gc_sweep): noinline can also avoid the segv instead of
+ -O0 of r41084. this way is expected less slow.
- * lib/telnet.rb: version 0.231.
+Fri Jun 7 11:45:42 2013 Kenta Murata <mrkn@cookpad.com>
-Fri Jul 16 10:58:22 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
+ * rational.c (numeric_quo): move num_quo in numeric.c to numeric_quo
+ in rational.c to refer canonicalization state for mathn support.
+ [ruby-core:41575] [Bug #5736]
- * regex.c (re_match): debug print removed.
+ * numeric.c (num_quo): ditto.
-Fri Jul 16 09:58:15 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * test/test_mathn.rb: add a test for the change at r41109.
- * many files: clean up unused variables found by gcc -Wall.
+Fri Jun 7 11:41:42 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/mkmf.rb: better cygwin support etc.
+ * configure.in: revert r41106. size_t may not be unsigned
- * ext/extmk.rb.in: ditto.
+ * bignum.c (rb_absint_size_in_word, rb_int_export, rb_int_import): use
+ NUM2SIZET() and SIZET2NUM() already defined in ruby/ruby.h.
- * instruby.rb: ditto.
+Fri Jun 7 11:28:37 2013 Masaya Tarui <tarui@ruby-lang.org>
-Fri Jul 16 01:37:50 1999 Koji Arai <JCA02266@nifty.ne.jp>
+ * gc.c: use oldgen bitmap as initial mark bitmap when major gc.
+ so can skip oldgen bitmap check around mark & sweep.
+ * gc.c (slot_sweep_body): change scan algorithm for performance:
+ from object's pointer base to bitmap one.
- * string.c (rb_str_squeeze_bang): the type of local variable `c'
- should be int, not char.
+Fri Jun 7 11:25:56 2013 Masaya Tarui <tarui@ruby-lang.org>
- * string.c (rb_str_reverse): should always return copy.
+ * gc.c: introduce oldgen bitmap for preparing performance tuning.
-Thu Jul 15 23:25:57 1999 NAKAMURA Hiroshi <nakahiro@sarion.co.jp>
+Fri Jun 7 11:20:57 2013 Masaya Tarui <tarui@ruby-lang.org>
- * lib/debug.rb: better display & frame treatment.
+ * gc.c (MARKED_IN_BITMAP, MARK_IN_BITMAP, CLEAR_IN_BITMAP): bring
+ bitmap macros in one place, and introduce BITMAP_BIT.
-Thu Jul 15 21:16:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 7 11:18:35 2013 Masaya Tarui <tarui@ruby-lang.org>
- * array.c (rb_ary_each): returns self for normal termination;
- returns nil for break.
+ * array.c (ary_new): change order of allocation in order
+ to remove FL_OLDGEN operation.
- * string.c: non bang methods (e.g. String#sub) should always
- return copy of the receiver.
+Fri Jun 7 11:16:28 2013 Masaya Tarui <tarui@ruby-lang.org>
-Thu Jul 15 21:09:15 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
+ * tool/rdocbench.rb: add gc total time information.
- * eval.c (find_file): do not add empty string to the path.
+Fri Jun 7 10:12:01 2013 Koichi Sasada <ko1@atdot.net>
- * configure.in (with-search-path): should not add empty string if
- the option is not supplied.
+ * gc.c: remove "Sunny" terminology.
+ "Sunny" doesn't mean antonym of "Shady" (questionable, doubtful, etc).
+ Instead of "Sunny", use "non-shady" or "normal".
-Thu Jul 15 17:49:08 1999 Ryo HAYASAKA <hayasaka@univ21.u-aizu.ac.jp>
+Fri Jun 7 09:29:33 2013 Kenta Murata <mrkn@cookpad.com>
- * ext/tcltklib/tcltklib.c: move `#include "ruby.h"' forward.
+ * bignum.c (rb_int_import): explicitly casting BDIGIT_DBL to BDIGIT
+ to prevent warning.
-Thu Jul 15 16:54:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 7 07:29:33 2013 Tanaka Akira <akr@fsij.org>
- * version 1.3.5 - version 1.4 alpha
+ * internal.h (rb_int_export): countp argument is split into
+ wordcount_allocated and wordcount.
-Wed Jul 14 23:45:33 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * bignum.c (rb_int_export): Follow the above change.
- * eval.c (ruby_init): initialize for the first time only.
+ * pack.c (pack_pack): Ditto.
-Tue Jul 13 00:15:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Jun 7 07:17:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * hash.c (rb_hash_index): re-defined; method to retrieve a key
- from the value.
+ * NEWS: describe a compatibility issue of Numeric#quo
+ introduced at r41109.
- * hash.c (Init_Hash): member? should be re-defined for Hash.
+Fri Jun 7 07:15:00 2013 Kenta Murata <mrkn@mrkn.jp>
-Tue Jul 12 13:54:51 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ * NEWS: fix style.
- * io.c (rb_file_sysopen): wrong number of argument.
+Fri Jun 7 06:48:17 2013 Benoit Daloze <eregontp@gmail.com>
-Mon Jul 12 11:52:35 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * numeric.c: remove unused ID id_to_r introduced in r41109.
- * eval.c (rb_f_missing): class name included in message.
+Fri Jun 7 06:15:31 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (print_undef): better error message.
+ * bignum.c (rb_int_import): New function.
+ (int_import_push_bits): Ditto.
-Sun Jul 11 05:36:17 1999 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
+ * internal.h (rb_int_import): Declared.
- * lib/debug.rb: patch to show proper position.
+ * pack.c (pack_unpack): Use rb_int_import for BER compressed integer.
-Fri Jul 9 23:56:14 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
+Thu Jun 6 22:24:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * dln.c (dln_find_1): path conv. moved to conv_to_posix_path.
+ * numeric.c (num_quo): Use to_r method to convert the receiver to
+ rational. [ruby-core:41575] [Bug #5736]
- * dln.c (conv_to_posix_path): path conv. should be done.
+ * test/ruby/test_numeric.rb: add a test for the above change.
-Fri Jul 9 10:26:47 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Thu Jun 6 20:40:17 2013 Tanaka Akira <akr@fsij.org>
- * random.c (RANDOM_NUMBER): should place parentheses.
+ * configure.in: Invoke RUBY_REPLACE_TYPE for size_t.
+ Don't invoke RUBY_CHECK_PRINTF_PREFIX for size_t to avoid conflict
+ with RUBY_REPLACE_TYPE.
-Fri Jul 8 11:00:51 1999 Shugo Maeda <shugo@netlab.co.jp>
+ * internal.h (rb_absint_size): Declared.
+ (rb_absint_size_in_word): Ditto.
+ (rb_int_export): Ditto.
- * numeric.c (fix_div): division may be out of fixnum range.
+ * bignum.c (rb_absint_size): New function.
+ (rb_absint_size_in_word): Ditto.
+ (int_export_fill_dd): Ditto.
+ (int_export_take_lowbits): Ditto.
+ (rb_int_export): Ditto.
- * bignum.c (bigdivmod): proper sign calculation to result.
+ * pack.c (pack_pack): Use rb_int_export for BER compressed integer.
-Wed Jul 7 18:27:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Jun 6 19:31:33 2013 Tadayoshi Funaba <tadf@dotrb.org>
- * st.c (st_delete_safe): was modifying wrong slot.
+ * ext/date/date_core.c: fixed coding error [ruby-core:55337].
+ reported by Riley Lynch.
-Mon Jul 5 13:17:46 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Jun 6 14:16:37 2013 Narihiro Nakamura <authornari@gmail.com>
- * gc.c (rb_gc_call_finalizer_at_exit): close all files at exit.
+ * ext/objspace/object_tracing.c: rename allocation_info to
+ lookup_allocation_info. At times I confused "struct
+ allocation_info" with "function allocation_info".
-Fri Jul 2 18:00:21 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+Thu Jun 6 13:57:06 2013 Narihiro Nakamura <authornari@gmail.com>
- * lib/Mail/README: Mail-0.3.0 added to the distribution.
+ * ext/objspace/object_tracing.c: allocation_info function isn't
+ called by any other file.
-Fri Jul 2 01:45:32 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Jun 6 09:41:00 2013 Kenta Murata <mrkn@cookpad.com>
- * regex.c (re_compile_fastmap): avoid allocation of register
- variables for each invocation of re_match(). Suggested by
- Zasukhin Ruslan <ruslan@paradigmasoft.com>. Thanks.
+ * numeric.c (num_quo): should return a Float for a Float argument.
+ [ruby-dev:44710] [Bug #5515]
-Tue Jun 29 20:39:24 1999 Koji Arai <JCA02266@nifty.ne.jp>
+ * test/ruby/test_fixnum.rb: Add an assertion for the above change.
- * ext/tk/lib/tk.rb (TkVariable): bug fix; should value type check
- be added?
+ * test/ruby/test_bignum.rb: ditto.
- * string.c (rb_str_each_line): a bug in paragraph mode.
+Thu Jun 6 00:59:44 2013 Masaya Tarui <tarui@ruby-lang.org>
- * ruby.c (load_file): shifted too much to skip #!.
+ * gc.c (gc_mark): get rid of pushing useless objects.
+ * gc.c (rgengc_rememberset_mark): bypass gc_mark() in order to push
+ sunny old object at minor gc.
+ * gc.c (gc_mark_children): move sunny old check to gc_mark().
+ * gc.c (rgengc_check_shady): remove DEMOTE that already unnecessary.
+ * gc.c (rb_gc_writebarrier): ditto.
-Tue Jun 29 06:50:21 1999 Wakou Aoyama <wakou@fsinet.or.jp>
+ change sunny old check point in order to save mark stack and
+ remove unnatural rest_sweep & demote.
- * lib/CGI.rb: 0.30 - cleanup release, incompatible.
+Thu Jun 6 00:52:42 2013 Masaya Tarui <tarui@ruby-lang.org>
- * lib/telnet.rb: 0.22 - timeout added.
+ * gc.c (rgengc_rememberset_mark): change scan algorithm for performance:
+ from object's pointer base to bitmap one.
-Tue Jun 29 10:49:25 1999 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
+Thu Jun 6 00:30:04 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * configure.in: better Rhapsody support.
+ * win32/win32.c (NET_LUID): define it on MinGW32.
+ mingw-w64 has NET_LUID but mingw32 (mingw.org) still doesn't have
+ NET_LUID. reported by taco on IRC
- * lib/mkmf.rb: Rhapsody/NEXTSTEP support.
+Thu Jun 6 00:05:08 2013 Akinori MUSHA <knu@iDaemons.org>
-Tue Jun 29 01:42:13 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * string.c (String#b): Allow code range scan to happen later so
+ ascii_only? on a result string returns the correct value.
+ [ruby-core:55315] [Bug #8496]
- * ext/pty/pty.c (chld_changed): should use POSIX.1 style wait.
+Wed Jun 5 22:40:42 2013 Shugo Maeda <shugo@ruby-lang.org>
-Mon Jun 28 21:07:36 1999 KIMURA Koichi <kbk@kt.rim.or.jp>
+ * lib/net/imap.rb (capability_response): should ignore trailing
+ spaces. Thanks, Peter Kovacs. [ruby-core:55024] [Bug #8415]
- * ext/extmk.rb.nt: wrong result for have_library().
+ * test/net/imap/test_imap_response_parser.rb: related test.
-Mon Jun 28 15:24:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Jun 5 21:17:08 2013 Tanaka Akira <akr@fsij.org>
- * missing/isinf.c: OSF/1 raises SIGFPE on one()/zero().
+ * bignum.c (big_fdiv): Use nlz() instead of bdigbitsize().
+ (bdigbitsize): Removed.
- * regex.c (re_search): should search til EOS, for patterns may
- match beyond the end of range.
+Wed Jun 5 20:32:00 2013 Kenta Murata <mrkn@cookpad.com>
-Mon Jun 28 12:49:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * include/ruby/ruby.h: fix alignment in comment.
- * io.c (rb_f_select): should not accept Time objects as an
- argument for it is time interval.
+Wed Jun 5 20:05:29 2013 Tanaka Akira <akr@fsij.org>
- * process.c (rb_f_sleep): ditto.
+ * random.c (int_pair_to_real_inclusive): Add a cast to BDIGIT.
+ (random_load): Fix shift width for fixnums.
+ Re-implement bignum extraction without ifdefs.
- * file.c (test_s): should return nil for false condition.
+Wed Jun 5 15:26:10 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Mon Jun 28 12:23:52 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * gc.c (before_gc_sweep): don't optimize it to avoid segv on Ubuntu
+ 10.04 gcc 4.4.
+ http://u32.rubyci.org/~chkbuild/ruby-trunk/log/20130527T190301Z.diff.html.gz
- * bignum.c (rb_dbl2big): typo.
+Wed Jun 5 09:46:46 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * file.c (rb_f_test): ditto.
+ * test/fileutils/test_fileutils.rb (TestFileUtils#test_mkdir): add
+ EACCES for Windows.
- * string.c (rb_str_crypt): wrong message.
+Wed Jun 5 08:13:37 2013 Tanaka Akira <akr@fsij.org>
-Sun Jun 27 19:50:11 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+ * bignum.c (rb_big_pow): Don't need to multiply SIZEOF_BDIGITS.
+ Use nlz instead of bitlength_bdigit.
+ (bitlength_bdigit): Removed.
- * eval.c (rb_f_exit): should have treat signed integer status, not
- VALUE.
+Wed Jun 5 07:14:18 2013 Tadayoshi Funaba <tadf@dotrb.org>
- * process.c (rb_f_exit_bang): should work like exit().
+ * ext/date/date_core.c (d_lite_cmp, d_lite_equal): simplified.
-Sun Jun 27 16:21:32 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
+Wed Jun 5 07:07:01 2013 Tadayoshi Funaba <tadf@dotrb.org>
- * string.c (rb_str_rindex): wrong position to search.
+ * ext/date/date_core.c: fixed a bug [ruby-core:55295]. reported
+ by Riley Lynch.
-Sat Jun 26 04:05:30 1999 Takaaki Tateishi <ttate@jaist.ac.jp>
+Wed Jun 5 06:44:08 2013 Eric Hodel <drbrain@segment7.net>
- * configure.in (configure_args): --with-search-path to specify
- additional ruby search path.
+ * lib/rubygems: Update to RubyGems 2.0.3
- * ruby.c (ruby_prog_init): additional search path.
+ * test/rubygems: Tests for the above.
-Fri Jun 25 13:09:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * NEWS: Added RubyGems 2.0.3 note.
- * pack.c (pack_unpack): needed to initialize natint.
+Wed Jun 5 06:35:15 2013 Eric Hodel <drbrain@segment7.net>
- * regex.c (re_compile_pattern): add start_paren to avoid too much
- finalization on maybe_finalize_jump.
+ * doc/marshal.rdoc: Add description of Marshal format.
-Fri Jun 25 13:07:20 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp>
+Wed Jun 5 01:16:09 2013 Benoit Daloze <eregontp@gmail.com>
- * missing/isinf.c: include "config.h" added.
+ * array.c (Array#+): fix documentation example.
+ Patch by Logan Serman. [Fixes GH-324]
-Fri Jun 25 07:25:05 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Wed Jun 5 00:21:54 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
- * lib/mkmf.rb: initialize $(topdir).
+ * lib/irb/lc/ja/help-message: update help messages.
+ following r41028. [ruby-dev:46707] [Feature #7510]
- * ext/extmk.rb.in (install_rb): install lib/*.rb properly.
+Wed Jun 5 00:09:32 2013 Tanaka Akira <akr@fsij.org>
- * configure.in (linux): specifies -rpath on --enable-shared.
+ * marshal.c (r_object0): Generalize a round up expression.
+ Use BDIGIT instead of int.
- * configure.in (aix): ruby.imp must reside in $(topdir).
+Tue Jun 4 23:44:02 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
-Thu Jun 24 19:11:29 1999 Yoshida Masato <yoshidam@yoshidam.net>
+ * object.c (rb_Hash): fix docs. patched by Stefan Sch"ussler.
+ [ruby-core:55299] [Bug #8487]
- * parse.y (rb_str_extend): multi-byte identifier in expression
- interpolation in strings.
+Tue Jun 4 23:16:49 2013 Benoit Daloze <eregontp@gmail.com>
- * parse.y (yylex): support multi-byte char identifiers.
+ * lib/irb/completion.rb: Use %w literal construction for long lists.
+ Patch by Dave Goodchild. [Fixes GH-299]
-Thu Jun 24 15:27:13 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Jun 4 23:08:42 2013 Benoit Daloze <eregontp@gmail.com>
- * parse.y (f_arg): check duplicate argument names.
+ * ext/objspace/objspace.c: improve wording and remove duplicated comment.
+ Based on a patch by Dave Goodchild. [Fixes GH-299]
- * gc.c (rb_gc_mark): marking wrong member for NODE_ARGS.
+Tue Jun 4 18:41:47 2013 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_rindex): POSITION specifies start point, not
- end point.
+ * bignum.c (bitlength_bdigit): Fix an off-by-one error.
-Thu Jun 24 13:00:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Jun 4 15:30:00 2013 Kenta Murata <mrkn@cookpad.com>
- * regex.c (print_mbc): wrong boundary.
+ * ext/bigdecimal/lib/bigdecimal/util.rb (Float#to_d): fix the number
+ of figures. Patch by Vipul A M <vipulnsward@gmail.com>.
+ https://github.com/ruby/ruby/pull/323 fix GH-323
- * pack.c (uv_to_utf8): raises ArgError for too big value.
+ * test/bigdecimal/test_bigdecimal_util.rb: fix for the above change.
-Thu Jun 24 11:02:51 1999 Yoshida Masato <yoshidam@yoshidam.net>
+Tue Jun 4 00:44:27 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
- * pack.c (uv_to_utf8): mask needed.
+ * test/fileutils/test_fileutils.rb (TestFileUtils#test_mkdir): add
+ EEXIST for Linux. (suggested by nurse)
-Wed Jun 23 21:03:56 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+Mon Jun 3 23:58:19 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
- * ruby.h (struct RFile): remove iv_tbl from struct. instance
- variables are handled as generic ivs.
+ * lib/fileutils.rb (FileUtils.rmdir): use remove_tailing_slash.
+ * test/fileutils/test_fileutils.rb: test for above.
-Wed Jun 23 22:06:26 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+Mon Jun 3 23:47:55 2013 Tanaka Akira <akr@fsij.org>
- * pack.c (utf8_to_uv): pack to 7 bytes sequence.
+ * bignum.c (bitlength_bdigit): New function.
+ (rb_big_pow): Use bitlength_bdigit instead of ffs.
- * pack.c (uv_to_utf8): wrong boundary.
+Mon Jun 3 23:11:19 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
- * pack.c (pack_unpack): should treat as unsigned long.
+ * lib/fileutils.rb: fix behavior when mkdir/mkdir_p accepted "/".
+ * test/fileutils/test_fileutils.rb: add test for above change.
+ Patched by Mitsunori Komatsu. [GH-319]
-Wed Jun 23 15:10:11 1999 Inaba Hiroto <inaba@sdd.tokyo-sc.toshiba.co.jp>
+Mon Jun 3 19:02:20 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (parse_string): failed to parse nested braces.
+ * dir.c (is_hfs): use the file descriptor instead of a path.
- * parse.y (parse_regx): nested braces within #{} available.
+Mon Jun 3 07:15:17 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Wed Jun 23 11:18:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * configure.in: removes AC_CHECK_FUNCS(readdir_r). readdir_r()
+ is only used from dir.c and it doesn't need readdir_r().
+ * configure.in (SIZEOF_STRUCT_DIRENT_TOO_SMALL): removed. It is
+ only used for readdir_r.
+ * dir.c: removes NAME_MAX_FOR_STRUCT_DIRENT. It is not right way
+ to detect maximum length of path len. POSIX require to use
+ fpathconf(). IOW, it might have lead to make a vulnerability
+ using stack smashing. Moreover, readdir() works enough for our
+ usage.
+ * dir.c (READDIR): removes an implementation which uses
+ readdir_r() and parenthesize in a macro body correctly.
+ * dir.c (dir_read): removes IF_HAVE_READDIR_R(DEFINE_STRUCT_DIRENT
+ entry), it is used only for readdir_r().
+ * dir.c (dir_each): ditto.
+ * dir.c (glob_helper): ditto.
- * regex.c (slow_search): wrong shift width for mbcs.
+ * dir.c (READDIR): removes entry and dp argument.
+ * dir.c (dir_read): adjust for the above change.
+ * dir.c (dir_each): ditto.
+ * dir.c (glob_helper): ditto.
- * eval.c (rb_thread_save_context): should not clear th->locals.
+Mon Jun 3 03:40:29 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Wed Jun 23 02:06:14 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * vm_insnhelper.c (vm_yield_setup_block_args): partially revert r41019.
+ The code is not useless.
- * parse.y (yylex): UMINUS binds too tight with digits. changed so
- that -2**2 => -4.
+Mon Jun 3 01:25:25 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
- * parse.y (close_paren): `do' for expr termination now works it
- used to be.
+ * test/socket/test_sockopt.rb: change test name. follow r41037.
-Wed Jun 22 18:26:42 1999 Koji Arai <JCA02266@nifty.ne.jp>
+Mon Jun 3 01:08:43 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
- * pack.c (pack_pack): should initialize local variable `j'.
+ * test/rinda/test_rinda.rb: rename functions introduced in r41009.
-Wed Jun 22 15:24:59 1999 Koji Arai <JCA02266@nifty.ne.jp>
+Sun Jun 2 23:33:42 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * parse.y (here_document): a bug for multiline heredoc.
+ * enc/trans/japanese_euc.trans, test/ruby/test_transcode.rb,
+ tool/transcode-tblgen.rb: change EUC-JP-2004 to EUC-JIS-2004.
+ This is follow up to changes in r41024.
-Tue Jun 22 15:06:36 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Sun Jun 2 22:44:42 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * ext/socket/socket.c (ruby_socket): forgot to return fd
- explicitly.
+ * ext/socket/option.c: rename functions introduced in r41009
+ s/ip/ipv4/g because they are ipv4 functions.
+ (there's a policy that the name "ip" is for methods which supports
+ both ipv4 and ipv6)
-Tue Jun 22 13:34:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Jun 2 16:15:29 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * rubyio.h (MakeOpenFile): should initialize member `iv_tbl'.
+ * dln_find.c (dln_find_exe, dln_find_file): remove deprecated
+ non-reentrant functions.
-Wed Jun 22 10:35:51 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Sun Jun 2 15:04:35 2013 Zachary Scott <zachary@zacharyscott.net>
- * io.c (rb_io_gets_internal): getc(3) may not set errno on
- interrupt.
+ * lib/cgi/util.rb, lib/erb.rb: Use String#b [Feature #8394] by znz
-Mon Jun 21 22:39:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Jun 2 14:10:21 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (call_required_libraries): ruby_sourceline should be
- cleared before loading libraries.
+ * lib/irb/lc/help-message: Apply english updates for irb --help #7510
- * io.c (set_stdin): do not use reopen(), so that we don't need to
- dup original stdin before assigning $stdin.
+Sun Jun 2 12:03:58 2013 Zachary Scott <zachary@zacharyscott.net>
-Mon Jun 21 18:04:27 1999 Ryo HAYASAKA <hayasaka@univ21.u-aizu.ac.jp>
+ * range.c: Fix rdoc on Range#bsearch [Bug #8242] [ruby-core:54143]
- * ext/dbm/dbm.c: include <cdefs.h> for solaris 2.6.
+Sun Jun 2 02:08:37 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Mon Jun 21 15:59:47 1999 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+ * enc/euc_jp.c: fix typo: the name of EUC-JIS-2004.
- * ext/socket/socket.c (ip_addrsetup): forgot to put `else'.
+Sat Jun 1 23:17:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
-Mon Jun 21 15:38:37 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * vm_eval.c (rb_mod_module_eval): mention in docs that arguments passed
+ to the method are passed to the block
- * io.c (fptr_finalize): remove rb_syswait() invocation to avoid
- wait4(2) within GC. rb_syswait() moved to rb_io_fptr_close().
+Sat Jun 1 17:58:13 2013 Akinori MUSHA <knu@iDaemons.org>
-Mon Jun 21 12:05:59 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+ * lib/set.rb (Set#freeze, taint, untaint): Save a "self" by
+ utilizing super returning self, and add tests while at it.
- * dir.c (dir_s_glob): remove MAXPATHLEN restriction.
+Sat Jun 1 17:24:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/md5/md5init.c (md5_hexdigest): should have used "%02x".
+ * compile.c (iseq_set_arguments): not a simple single argument if any
+ keyword arguments exist. [ruby-core:55203] [Bug #8463]
-Sun Jun 20 19:50:38 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * vm_insnhelper.c (vm_yield_setup_block_args): split single parameter
+ if any keyword arguments exist, and then extract keyword arguments.
+ [ruby-core:55203] [Bug #8463]
- * string.c (rb_str_each_line): should have checked string
- boundary.
+Sat Jun 1 11:16:22 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sat Jun 19 22:24:12 1999 Kenji Nagasawa <kenn@hma.att.ne.jp>
+ * error.c (rb_exc_new_cstr): rename from rb_exc_new2.
- * OS/2 patch improved.
+ * error.c (rb_exc_new_str): rename from rb_exc_new3.
-Fri Jun 18 08:30:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 1 10:13:17 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * marshal.c (r_byte): add data length check.
+ * string.c (rb_str_new[2-5], rb_{tainted,usascii}_str_new2),
+ (rb_str_buf_new2): remove old interfaces.
- * ext/tcltklib/tcltklib.c (_timer_for_tcl): was doing busy-wait.
+Sat Jun 1 08:00:46 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Jun 15 10:01:21 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * ext/zlib/zlib.c (gzfile_read, gzfile_read_all, gzfile_getc),
+ (gzreader_gets): check EOF. [ruby-core:55220] [Bug #8467]
- * configure.in: remove trailing slash from interpreter embedded
- shared library path.
+Sat Jun 1 07:32:15 2013 Tanaka Akira <akr@fsij.org>
- * configure.in (INSTALL_DLLIB): install shared lib with 0555.
+ * bignum.c: Use BDIGIT type for hbase.
- * instruby.rb: changed mode for shared library into 0555.
+Sat Jun 1 02:37:35 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Fri Jun 11 23:27:00 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+ * ext/socket/option.c (sockopt_s_byte): constructor of the sockopt
+ whose value's is byte.
- * ext/etc/etc.c (etc_passwd): should return nil, not exception for
- call after last passwd entry.
+ * ext/socket/option.c (sockopt_byte): getter for above.
-Fri Jun 11 15:21:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/option.c (inspect_byte): inspect for above.
- * gc.c (rb_gc_mark_locations): add safety margin 1.
+ * ext/socket/option.c (sockopt_s_ip_multicast_loop): constructor of
+ the sockopt whose optname is IP_MULTICAST_LOOP.
- * eval.c (ruby_run): should protect toplevel node tree.
+ * ext/socket/option.c (sockopt_ip_multicast_loop): getter for above.
- * ext/etc/etc.c (etc_group): dumps core if there's no more group.
+ * ext/socket/option.c (sockopt_s_ip_multicast_ttl): constructor of
+ the sockopt whose optname is IP_MULTICAST_TTL.
-Fri Jun 11 01:50:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/option.c (sockopt_ip_multicast_ttl): getter for above.
- * eval.c (ruby_run): Init_stack() was called too late; local
- variables happened to be higher (or lower) than stack_start.
+ * ext/socket/option.c (sockopt_inspect): use above.
-Thu Jun 10 16:41:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Jun 01 01:50:00 2013 Kenta Murata <mrkn@mrkn.jp>
- * io.c: do not call `initialize' for IO objects. So with Array,
- Hash, Range, and Time objects.
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_power): use rb_dbl2big
+ to convert a double value to a Bignum.
- * ext/curses/curses.c (curses_getch): made thread aware using
- rb_read_check().
+Sat Jun 1 00:19:50 2013 Tanaka Akira <akr@fsij.org>
- * ext/curses/curses.c (window_getch): ditto.
+ * bignum.c (calc_hbase): Make hbase the maximum power of base
+ representable in BDIGIT.
- * ext/curses/curses.c (curses_getstr): made (partially) thread
- aware using rb_read_check().
+Fri May 31 23:56:13 2013 Tanaka Akira <akr@fsij.org>
- * ext/curses/curses.c (window_getstr): ditto.
+ * bignum.c (calc_hbase): Extracted from rb_big2str0.
- * io.c (rb_read_check): new function to help making something
- (like extension libraries) thread aware.
+Fri May 31 23:22:24 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (is_defined): `defined? super' should be true even for
- private superclass methods.
+ * bignum.c: Don't hard code SIZEOF_BDIGITS for log_base(hbase).
+ (big2str_orig): hbase_numdigits argument added.
+ (big2str_karatsuba): Ditto.
+ (rb_big2str0): Calculate hbase_numdigits.
-Fri Jun 10 13:42:10 1999 Koji Arai <JCA02266@nifty.ne.jp>
+Fri May 31 17:57:21 2013 Zachary Scott <zachary@zacharyscott.net>
- * pack.c (pack_pack): template `Z' should be allowed.
+ * process.c: Improve Process::exec documentation
-Wed Jun 9 13:26:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri May 31 17:26:42 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_thread_loading): modified to avoid nested race
- condition of require().
+ * vm_eval.c (rb_funcallv): add better names of rb_funcall2.
- * ext/tcltklib/tcltklib.c (ip_invoke): queue invocation on non
- main threads.
+ * vm_eval.c (rb_funcallv_public): ditto for rb_funcall3.
- * ext/tcltklib/tcltklib.c (lib_mainloop): flush invocation
- queues periodically.
+Fri May 31 17:04:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * version.c (ruby_show_version): now print the message to stdout.
+ * array.c (rb_ary_new_capa): add better names of rb_ary_new2.
- * version.c (ruby_show_copyright): ditto.
+ * array.c (rb_ary_new_from_args): ditto for rb_ary_new3.
-Tue Jun 8 00:00:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * array.c (rb_ary_new_from_values): ditto for rb_ary_new4.
- * pack.c (pack_unpack): append sentinel (NUL) to the string.
+Fri May 31 16:35:44 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/md5/md5init.c (md5_hexdigest): new method to obtain
- printable hash string.
+ * configure.in (HAVE_ATTRIBUTE_FUNCTION_ALIAS): define to tell if
+ alias attribute is available.
- * ext/md5/md5init.c (md5_update): should return self.
+Fri May 31 16:03:23 2013 Zachary Scott <zachary@zacharyscott.net>
- * pack.c (pack_pack): undocumented template 'U' for UTF8.
+ * object.c, proc.c: s/call_seq/call-seq in rdoc. [Fixes GH-322]
- * pack.c (pack_unpack): ditto.
+Fri May 31 15:56:36 2013 Zachary Scott <zachary@zacharyscott.net>
- * marshal.c (r_byte): should replace getc() with rb_getc().
+ * ext/openssl/ossl_ssl.c: Add missing paren in rdoc [Fixes GH-321]
- * io.c (rb_getc): getc() replacement uses READ_DATA_PENDING() and
- rb_thread_wait_fd().
+Fri May 31 11:58:24 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Jun 7 23:23:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * vm_method.c (set_visibility): extract from rb_mod_public(),
+ rb_mod_protected() and rb_mod_private().
- * object.c (rb_mod_clone): should call CLOSESETUP().
+Thu May 30 19:47:42 2013 Yusuke Endoh <mame@tsg.ne.jp>
- * eval.c (bind_clone): should call CLONESETUP() for new clone.
+ * vm_insnhelper.c (vm_callee_setup_keyword_arg,
+ vm_callee_setup_arg_complex): consider a hash argument for keyword
+ only when the number of arguments is more than the expected
+ mandatory parameters. [ruby-core:53199] [ruby-trunk - Bug #8040]
-Sat Jun 5 10:32:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/test_keyword.rb: update a test for above.
- * string.c (rb_str_oct): binary (e.g. 0b10111) support.
+Thu May 30 17:55:04 2013 Zachary Scott <zachary@zacharyscott.net>
- * variable.c (rb_const_set): raise warning, not exception.
+ * process.c: RDoc on Process.spawn
- * parse.y (yycompile): initialize parser internal variables.
+Thu May 30 00:08:14 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (close_paren): set lex_state to EXPR_PAREN after closing
- parenthesis.
+ * gc.c (gc_profile_enable): rest_sweep() to finish last GC.
+ Profiling record is allocated at first of marking phase.
+ Enable at lazy sweeping may cause an error (SEGV).
- * parse.y (yylex): returns kDO for `do' right after method_call.
+Wed May 29 10:33:27 2013 Koichi Sasada <ko1@atdot.net>
-Thu Jun 3 11:05:30 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * hash.c: fix WB bug.
+ (1) Hash's key also needs WB.
+ (2) callback parameter *key and *value of st_update() is not a
+ storage of st_table itself (only local variable). So that
+ OBJ_WRITE() is not suitable, especially for `!existing'.
+ OBJ_WRITTEN() is used instead of OBJ_WRITE().
- * regex.c (read_backslash): should decode \b within class.
+Tue May 28 12:31:21 2013 Koichi Sasada <ko1@atdot.net>
-Thu Jun 3 01:06:18 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * ext/objspace/object_tracing.c: fix a bug reported at
+ "[ruby-core:55182] [ruby-trunk - Bug #8456][Open] Sugfault in Ruby Head"
+ Care about the case TracePoint#path #=> `nil'.
- * dln.c (dln_load): AIX improvement (aix_findmain removed).
+ * ext/objspace/object_tracing.c: add two new methods:
+ * ObjectSpace.allocation_class_path(o)
+ * ObjectSpace.allocation_method_id(o)
+ They are not useful for Object.new because they are always
+ "Class" and :new.
+ To trace more useful information, we need to maintain call-tree
+ using call/return hooks, which is implemented by
+ ll-prof <http://sunagae.net/wiki/doku.php?id=software:llprof>
-Wed Jun 2 00:41:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/objspace/test_objspace.rb: add a test.
- * pack.c (pack_unpack): new undocumented template Z which strips
- stuff after first null.
+Tue May 28 11:30:02 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * pack.c (pack_pack): should preserve specified length of the
- resulting string.
+ * ext/extmk.rb (extmake): leave makefiles untouched if the content is
+ not changed, to get rid of unnecessary re-linking.
-Tue Jun 1 15:29:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue May 28 03:11:02 2013 Koichi Sasada <ko1@atdot.net>
- * ext/socket/socket.c (ruby_socket): retry after GC, if socket(2)
- failed on EMFILE or ENFILE.
+ * ext/objspace/gc_hook.c, ext/objspace/objspace.c: add new methods to
+ hook GC invocation.
+ * ObjectSpace.after_gc_start_hook=(proc)
+ * ObjectSpace.after_gc_end_hook=(proc)
- * ext/socket/socket.c (sock_s_socketpair): ditto.
+ Note that hooks are not kicked immediately. Procs are kicked
+ at postponed_job.
- * eval.c (module_setup): need to add PUSH_VAR/POP_VAR to clear
- dyna vars link list.
+ This feature is a sample of new internal event and
+ rb_postponed_job API.
- * version.h (RUBY_RELEASE_CODE): integer macro constant for source
- version detection.
+Tue May 28 02:56:15 2013 Koichi Sasada <ko1@atdot.net>
-Sun May 30 22:19:12 1999 Kenji Nagasawa <kenn@tcp-ip.or.jp>
+ * gc.c (gc_stat): remove wrong rest_sweep().
- * ext/socket/socket.c: emx/gcc 0.9d now fixes things about
- AF_UNIX.
+Tue May 28 02:44:23 2013 Koichi Sasada <ko1@atdot.net>
- * process.c: OS/2 EMX kludge.
+ * gc.c (garbage_collect_body): fix GC_ENABLE_LAZY_SWEEP condition.
- * Makefile.in (strncasecmp.o): added dependency.
+ * gc.c (GC_NOTIFY): move debug print location and use stderr instead
+ of stdout.
-Mon May 31 16:06:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue May 28 02:07:21 2013 Koichi Sasada <ko1@atdot.net>
- * version 1.3.4 - preliminary release for 1.4
+ * vm_trace.c (rb_postponed_job_register_one): fix iteration bug.
-Mon May 31 15:57:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/-test-/postponed_job/postponed_job.c,
+ test/-ext-/postponed_job/test_postponed_job.rb: add a test.
- * io.c (rb_io_fptr_close): close on IO which main_thread is
- waiting cause serious exception, that vanishes the actual fd
- closing. Invocation of rb_thread_fd_close() is deferred
- a little.
+Tue May 28 00:34:23 2013 Koichi Sasada <ko1@atdot.net>
-Sat May 29 18:27:13 1999 Koji Arai <JCA02266@nifty.ne.jp>
+ * include/ruby/ruby.h, gc.c: add new internal event
+ RUBY_INTERNAL_EVENT_GC_END. This event invokes at the end of
+ after_sweep().
+ Time chart with lazy sweep is:
+ (1) Kick RUBY_INTERNAL_EVENT_GC_START
+ (2) [gc_marks()]
+ (3) [lazy_sweep()]
+ (4) [... run Ruby program (mutator) with lazy_sweep() ...]
+ (5) [after_sweep()]
+ (6) Kick RUBY_INTERNAL_EVENT_GC_END
+ (7) [... run Ruby program (mutator), and go to (1) ...]
+ Time chart without lazy sweep (GC.start, etc) is:
+ (1) Kick RUBY_INTERNAL_EVENT_GC_START
+ (2) [gc_marks()]
+ (3) [gc_sweep()]
+ (4) [after_sweep()]
+ (5) Kick RUBY_INTERNAL_EVENT_GC_END
+ (6) [... run Ruby program (mutator), and go to (1) ...]
- * regex.c (re_match): stack boundary check needed.
+ * ext/-test-/tracepoint/tracepoint.c,
+ test/-ext-/tracepoint/test_tracepoint.rb: modify a test.
-Sat May 29 12:27:00 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue May 28 00:18:57 2013 Koichi Sasada <ko1@atdot.net>
- * ext/tcltklib/tcltklib.c (ip_invoke): proper ref count management
- to avoid leak. I HATE REF COUNTING!!
+ * vm_trace.c (rb_postponed_job_flush): remove a wrong comment.
- * eval.c (ruby_run): moved ruby_require_libraries() to handle `-r'
- from ruby_options() to avoid stack corruption for threads
- created in libraries.
+Mon May 27 22:09:33 2013 Tanaka Akira <akr@fsij.org>
-Sat May 29 02:22:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * include/ruby/ruby.h (RHASH_SIZE): Add a cast to suppress a
+ warning, comparison between signed and unsigned integer
+ expressions [-Wsign-compare], on ILP32.
- * eval.c (rb_yield_0): when `for' appeared in blocks, it
- introduced new scope for local variables.
+Mon May 27 19:25:47 2013 Koichi Sasada <ko1@atdot.net>
-Fri May 28 17:16:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * include/ruby/ruby.h: rename RUBY_INTERNAL_EVENT_FREE to
+ RUBY_INTERNAL_EVENT_FREEOBJ.
- * string.c (rb_str_squeeze_bang): squeeze AND of the arguments.
- UNDOCUMENTED.
+ * ext/-test-/tracepoint/tracepoint.c,
+ ext/objspace/object_tracing.c,
+ gc.c, vm_trace.c: catch up this change.
- * string.c (rb_str_count): new UNDOCUMENTED method.
+Mon May 27 18:57:28 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (rb_str_delete_bang): delete AND of the arg ranges.
- UNDOCUMENTED FEATURE for 1.3.x.
+ * ext/objspace/objspace.c: support ObjectSpace.trace_object_allocations.
+ Read the following test to know HOWTO.
+ This feature is a sample of RUBY_INTERNAL_EVENT.
- * ext/socket/socket.c (setipaddr): re-wrote using ip_addrsetup().
+ * test/objspace/test_objspace.rb: add a test.
- * ext/socket/socket.c (ip_addrsetup): decode symbolic address
- <broadcast>.
+ * ext/objspace/object_tracing.c: ditto.
-Thu May 27 12:27:42 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (rb_gc_count): add. This function returns GC count.
- * string.c (tr_trans): should handle NUL (\0) within strings.
+ * internal.h: add decl. of rb_gc_count(). Same as `GC.count'.
-Tue May 25 16:45:11 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon May 27 17:33:28 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (rb_f_syscall): syscall may return values other than zero
- on success.
+ * tool/rbinstall.rb (install_recursive): add maxdepth option.
- * regex.c (re_match): handle empty loop properly (hopefully).
+ * tool/rbinstall.rb (bin-comm): limit depth of bindir and reject empty
+ files. [ruby-core:55101] [Bug #8432]
- * regex.c (re_match): remove empty group check, because it does
- not help non-grouping parentheses (?:..).
+Mon May 27 16:16:18 2013 Koichi Sasada <ko1@atdot.net>
- * regex.c (re_compile_fastmap): treating try_next, finalize_push
- wrong way.
+ * vm_trace.c (rb_postponed_job_flush, rb_postponed_job_register): use
+ ruby_xmalloc/xfree. It is safe during GC.
- * regex.c: remove some obsolete functions such as
- group_match_null_string_p().
+Mon May 27 09:24:03 2013 Koichi Sasada <ko1@atdot.net>
-Mon May 24 14:47:54 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/-ext-/postponed_job/test_postponed_job.rb: fix typo and class name.
- * regex.c (read_backslash): read backslash by regex.
+Mon May 27 09:05:17 2013 Koichi Sasada <ko1@atdot.net>
-Sun May 23 19:44:58 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * include/ruby/ruby.h, gc.c, vm_trace.c: add internal events.
+ * RUBY_INTERNAL_EVENT_NEWOBJ: object created.
+ * RUBY_INTERNAL_EVENT_FREE: object freed.
+ * RUBY_INTERNAL_EVENT_GC_START: GC started.
+ And rename `RUBY_EVENT_SWITCH' to `RUBY_INTERNAL_EVENT_SWITCH'.
- * ext/pty/pty.c (getDevice): portability patch.
+ Internal events can not invoke any Ruby program because the tracing
+ timing may be critical (under huge restriction).
+ These events can be hooked only by C-extensions.
+ We recommend to use rb_postponed_job_register() API to call Ruby
+ program safely.
-Fri May 21 23:01:26 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ This change is mostly written by Aman Gupta (tmm1).
+ https://bugs.ruby-lang.org/issues/8107#note-12
+ [Feature #8107]
- * ext/socket/getaddrinfo.c (GET_AI): should set error code.
+ * include/ruby/debug.h, vm_trace.c: added two new APIs.
+ * rb_tracearg_event_flag() returns rb_event_flag_t of this event.
+ * rb_tracearg_object() returns created/freed object.
-Thu May 20 03:43:44 1999 Jun-ichiro itojun Hagino <itojun@itojun.org>
+ * ext/-test-/tracepoint/extconf.rb,
+ ext/-test-/tracepoint/tracepoint.c,
+ test/-ext-/tracepoint/test_tracepoint.rb: add a test.
- * ext/socket/socket.c: you should use sockaddr_storage to handle
- IPv6 addresses.
+Mon May 27 08:38:21 2013 Koichi Sasada <ko1@atdot.net>
- * ext/socket/getaddrinfo.c (getaddrinfo): prevent retrieving
- AF_INET6 address if hints.ai_flags == AI_PASSIVE.
+ * ext/-test-/postponed_job/postponed_job.c: fix `init' function name.
-Wed May 19 12:27:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon May 27 06:22:41 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (exec_end_proc): should protect exceptions.
+ * include/ruby/debug.h, vm_trace.c: add rb_postponed_job API.
+ Postponed jobs are registered with this API. Registered jobs
+ are invoked at `ruby-running-safe-point' as soon as possible.
+ This timing is completely same as finalizer timing.
- * gc.c (run_final): ditto.
+ There are two APIs:
+ * rb_postponed_job_register(flags, func, data): register a
+ postponed job with data. flags are reserved.
+ * rb_postponed_job_register_one(flags, func, data): same as
+ `rb_postponed_job_register', but only one `func' job is
+ registered (skip if `func' is already registered).
- * parse.y (f_rest_arg): allow just * for rest arg.
+ This change is mostly written by Aman Gupta (tmm1).
+ https://bugs.ruby-lang.org/issues/8107#note-15
+ [Feature #8107]
- * parse.y (mlhs_basic): allow * without formal argument.
+ * gc.c: use postponed job API for finalizer.
- * regex.c (re_match): the variable `part' should be initialized.
+ * common.mk: add dependency from vm_trace.c to debug.h.
-Tue May 18 15:25:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/-test-/postponed_job/extconf.rb, postponed_job.c,
+ test/-ext-/postponed_job/test_postponed_job.rb: add a test.
- * regex.c (re_search): a bug in range adjustment.
+ * thread.c: implement postponed API.
-Tue May 18 11:35:59 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * vm_core.h: ditto.
- * dln.c (conv_to_posix_path): path_len argument added.
+Mon May 27 02:26:02 2013 Koichi Sasada <ko1@atdot.net>
-Mon May 17 12:26:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (gc_stat): collect promote_operation_count and
+ types (RGENGC_PROFILE >= 2).
- * numeric.c (fix_rev): should treat Fixnum as signed long.
+Mon May 27 01:40:58 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (massign): add strict number check for yield (and call).
+ * gc.c (gc_stat): collect shade_operation_count,
+ remembered_sunny_object_count and remembered_shady_object_count
+ for each types when RGENGC_PROFILE >= 2.
+ They are informative for optimization.
- * eval.c (proc_arity): new method to return number of arguments.
+Mon May 27 01:15:22 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (method_arity): new method to return number of arguments.
+ * hash.c (rb_hash_tbl_raw), internal.h: added.
+ Returns st_table without shading hash.
- * parse.y (read_escape): char may be unsigned.
+ * array.c: use rb_hash_tbl_raw() for read-only purpose.
- * string.c (rb_str_succ): ditto.
+ * compile.c (iseq_compile_each): ditto.
- * string.c (tr_trans): ditto.
+ * gc.c (count_objects): ditto.
- * object.c (Init_Object): methods `&', `|', `^' are added to nil.
+ * insns.def: ditto.
- * range.c (rb_range_beg_len): it should be OK for [0..-len-1].
+ * process.c: ditto.
- * regex.c (re_search): search for byte literal within mbcs.
+ * thread.c (clear_coverage): ditto.
- * regex.c (is_in_list): parsh
+ * vm_insnhelper.c: ditto.
- * regex.c (re_compile_fastmap): should have not alter the loop
- variable `j' if TRASLATE_P().
+Mon May 27 00:31:09 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * regex.c (re_compile_pattern): escaped characters should be read
- by PATFETCH_RAW(c).
+ * tool/make-snapshot: use ENV["AUTOCONF"] instead of directly using
+ literal "autoconf".
-Sat May 15 11:23:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun May 26 21:31:46 2013 Koichi Sasada <ko1@atdot.net>
- * regex.c (re_match): endline2 (\Z) should not match at the point
- between a newline and end-of-line, like endline ($).
+ * hash.c, include/ruby/ruby.h: support WB protected hash.
+ * constify RHash::ifnone and make new macro RHASH_SET_IFNONE().
+ * insert write barrier for st_update().
- * class.c (include_class_new): should initialize iv_tbl to share
- between module and iclass.
+ * include/ruby/intern.h: declare rb_hash_set_ifnone(hash, ifnone).
-Fri May 14 08:50:27 1999 Akira Endo <akendo@t3.rim.or.jp>
+ * marshal.c (r_object0): use RHASH_SET_IFNONE().
- * regex.c (re_compile_fastmap): it should be k != 0 to skip.
+ * ext/openssl/ossl_x509name.c (Init_ossl_x509name): ditto.
-Fri May 14 12:46:56 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat May 25 23:22:38 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * time.c (time_load): a bug in old marshal format support.
+ * 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.
- * instruby.rb: make site_ruby directory.
+Sat May 25 21:29:34 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Fri May 14 10:18:02 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
+ * ext/pty/pty.c (get_device_once): FreeBSD 10-current and 9-stable
+ added O_CLOEXEC support to posix_openpt, so assume FreeBSD 9.2 or
+ later supports it.
+ http://www.freebsd.org/cgi/query-pr.cgi?pr=162374
- * regex.c (re_match): a bug in inline `.*' etc.
+Sat May 25 18:46:23 2013 Yusuke Endoh <mame@tsg.ne.jp>
-Fri May 14 09:58:46 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
+ * proc.c (rb_method_entry_min_max_arity): fix missing break in switch.
+ This was introduced in r38236, which is not intentional apparently.
+ This has caused no actual harm because VM_METHOD_TYPE_OPTIMIZED is
+ not used except for OPTIMIZED_METHOD_TYPE_SEND, but may do in
+ future. Coverity Scan found this inadequacy.
- * ruby.c (addpath): should have specified string length.
+Sat May 25 18:08:06 2013 Yusuke Endoh <mame@tsg.ne.jp>
-Thu May 13 10:40:44 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * dir.c (bracket): fix copy-paste error. When the first and last
+ characters of fnmatch range have different length, fnmatch may
+ have wrongly matched a path that does not really match.
+ Coverity Scan found this bug.
- * eval.c (rb_eval_string_wrap): new function.
+Sat May 25 17:06:25 2013 Koichi Sasada <ko1@atdot.net>
- * regex.c (re_compile_pattern): POSIX line match should alter
- behavior for `^' and `$' to begbuf and endbuf2 respectively.
+ * gc.c (after_gc_sweep): reduce full GC timing.
- * ext/pty/pty.c: un-ANSI-fy function arguments.
+Sat May 25 11:28:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed May 12 14:19:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * variable.c (set_const_visibility): return without clearing method
+ cache if no arguments.
- * struct.c (iv_get): in case of inheritance of generated struct
- class, __member__ and __size__ should also be inherited.
- Thanks for Pros Yeboah <yeboah@tu-harburg.de>.
+ * vm_method.c (set_method_visibility): ditto.
- * io.c (rb_f_gets_internal): should check number of arguments
- before checking rb_rs == rb_default_rs. Thanks for Koji Arai
- <JCA02266@nifty.ne.jp>.
+Sat May 25 11:27:32 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue May 11 08:29:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * vm_method.c (set_method_visibility): quote unprintable method name.
- * regex.c (re_compile_pattern): .?, .+ did not work.
+Sat May 25 11:24:24 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon May 10 00:59:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * eval.c (rb_frame_callee): returns the called name of the current
+ frame, not the previous frame.
- * lib/jcode.rb: forgot to squeeze on reverse (complement) case.
+ * eval.c (prev_frame_callee, prev_frame_func): rename and make static,
+ as these are used by rb_f_method_name() and rb_f_callee_name() only.
- * string.c (tr_squeeze): should not set modify flag to be honest,
- if the string is not modified.
+ * variable.c (set_const_visibility): use the called name.
- * signal.c (Init_signal): SIGTERM should not be handled.
+Sat May 25 08:58:23 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * regex.c (re_match): seeking for longest match is now optional,
- which can be set using RE_OPTION_POSIXMATCH. This satisfies
- POSIX longest match as much as Emacs's posix-* functions, which
- are known to be incomplete.
+ * string.c (rb_str_quote_unprintable): check if argument is a string.
-Sun May 9 13:04:01 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Fri May 24 19:32:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * ext/socket/socket.c (sock_s_getaddrinfo): conversion from
- Fixnums to C integers needed.
+ * variable.c (set_const_visibility): use rb_frame_this_func() instead
+ of rb_frame_callee() for getting the name of the called method
-Sun May 9 11:51:43 1999 Koji Arai <JCA02266@nifty.ne.jp>
+ * test/ruby/test_module.rb: add test for private_constant with no args
- * range.c (range_eqq): reverse condition.
+Fri May 24 18:53:10 2013 Koichi Sasada <ko1@atdot.net>
- * range.c (range_s_new): default should be end inclusive.
+ * gc.c: do major/full GC when:
+ * number of oldgen object is bigger than twice of
+ number of oldgen object at last full GC.
+ * number of remembered shady object is bigger than twice of
+ number of remembered shady object at last full GC.
+ * number of oldgen object and remembered shady object is bigger
+ than half of total object space.
+ (please fix my English!)
-Sat May 8 03:27:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri May 24 17:07:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
- * ext/socket/socket.c (thread_connect): replace nasty
- rb_thread_fd_writable() with rb_thread_select().
+ * intern.h: remove dangling rb_class_init_copy declaration
+ [ruby-core:55120] [Bug #8434]
-Fri May 7 20:49:00 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+Fri May 24 16:31:23 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * ext/socket/getaddrinfo.c (inet_pton): wrong parameter to
- inet_aton().
+ * ext/strscan/strscan.c (strscan_aref): raise error if given
+ name reference is not found.
- * ext/socket/addrinfo.h (__P): silly cut and paste typo.
+Fri May 24 15:48:18 2013 Koichi Sasada <ko1@atdot.net>
-Fri May 7 17:03:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (after_gc_sweep, garbage_collect_body): do major GC (full GC)
+ before extending heaps.
+ TODO: do major GC when there are many old (promoted) objects.
- * dir.c (glob): removed GPL'ed glob.c completely.
+ * gc.c (after_gc_sweep): remove TODO comments.
-Fri May 7 08:17:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri May 24 11:04:00 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/sdbm/extconf.rb: sdbm extension added to the distribution.
+ * configure.in (LIBRUBY_RPATHFLAGS): do not append -L option with
+ runtime library directory if cross compiling, but only -R option.
+ runtime path makes no sense on the host system. [ruby-dev:47363]
+ [Bug #8443]
-Fri May 7 01:42:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri May 24 02:57:17 2013 Koichi Sasada <ko1@atdot.net>
- * ext/socket/socket.c (tcp_s_gethostbyname): avoid using struct
- sockaddr_storage.
+ * object.c (rb_obj_clone): should not propagate OLDGEN status.
+ This propagation had caused WB miss for class.
-Thu May 6 13:21:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu May 23 17:35:30 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_indexes): should not use rb_ary_concat().
+ * load.c (loaded_feature_path): fix invalid read by index underflow.
+ the beginning of name is also a boundary as well as just after '/'.
-Thu May 4 12:34:18 1999 Koji Arai <JCA02266@nifty.ne.jp>
+Thu May 23 17:21:22 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (parse_string): there should be newline escape by
- backslashes in strings.
+ * gc.c (gc_profile_dump_on): revert r40898. ok to show the record
+ accumulating while lazy_sweep().
- * parse.y (parse_qstring): ditto.
+Wed May 22 16:50:18 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon May 3 04:37:20 1999 Koji Arai <JCA02266@nifty.ne.jp>
+ * gc.c (gc_profile_dump_on): use size_t to get rid of overflow and
+ show the header when next_index > 0, instead of next_index != 1.
- * ext/tcltklib/extconf.rb: better search for libX11.
+Wed May 22 15:18:59 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * range.c (range_s_new): embarrassing =/== typo.
+ * win32/win32.c (setup_overlapped): check the error code in addition
+ to the result of SetFilePointer() to determine if an error occurred,
+ because INVALID_SET_FILE_POINTER is a valid value.
+ [ruby-core:55098] [Bug #8431]
- * re.c (Init_Regexp): failed to set default kcode.
+ * win32/win32.c (setup_overlapped, finish_overlapped): extract from
+ rb_w32_read() and rb_w32_write().
-Mon May 3 02:39:55 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
+Wed May 22 14:19:56 2013 Koichi Sasada <ko1@atdot.net>
- * ext/socket/socket.c (open_inet): typo (res and res0).
+ * gc.c (gc_prepare_free_objects, rest_sweep, lazy_sweep): fix position
+ of `during_gc' setting.
-Tue May 4 02:07:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed May 22 07:36:08 2013 Koichi Sasada <ko1@atdot.net>
- * mkconfig.rb: leave undefined $(VARIABLE) unexpanded in the
- Config::CONFIG hash table.
+ * gc.c (garbage_collect): all GC is start from garbage_collect()
+ (or garbage_collect_body()). `garbage_collect()' accept additional
+ two parameters `full_mark' and `immediate_sweep'.
+ If `full_mark' is TRUE, then force it full gc (major gc), otherwise,
+ it depends on status of object space. Now, it will be minor gc.
+ If `immediate_sweep' is TRUE, then disable lazy sweep.
+ To allocate free memory, `full_mark' and `immediate_sweep' should be
+ TRUE. Otherwise, they should be FALSE.
-Mon May 3 09:37:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (gc_prepare_free_objects): use `garbage_collect_body()'.
- * regex.c (re_compile_pattern): expand exactn{n} at compile time.
- handles stop_paren specially.
+ * gc.c (slot_sweep, before_gc_sweep, after_gc_sweep): add logging code.
- * regex.c (re_compile_pattern): expand x{n} at compile time.
+Tue May 21 22:47:06 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * regex.c (re_search): posix line match should be checked.
+ * ext/strscan/strscan.c (strscan_aref): support named captures.
+ patched by Konstantin Haase [ruby-core:54664] [Feature #8343]
- * regex.c (re_search): a bug in anchor condition.
+Tue May 21 21:48:44 2013 Kouhei Sutou <kou@cozmixng.org>
-Fri Apr 30 18:57:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/test_dir_m17n.rb (TestDir_M17N#test_entries_compose):
+ Use #each instead of #map just for iteration.
- * version 1.3.3
+Tue May 21 19:57:22 2013 Akinori MUSHA <knu@iDaemons.org>
- * string.c (rb_str_rindex): position should be END point, not
- START point.
+ * ext/digest/lib/digest.rb (Digest::Class.file): Take optional
+ arguments that are passed to the constructor of the digest
+ class.
- * re.c (rb_reg_search): pos means end point on reverse now.
+Tue May 21 17:21:12 2013 Koichi Sasada <ko1@atdot.net>
- * array.c (rb_ary_s_create): should clear ary->ptr to avoid
- potential gc crash.
+ * gc.c: remove gc_profile_record::is_marked. always true.
-Fri Apr 30 15:24:58 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue May 21 17:13:40 2013 Koichi Sasada <ko1@atdot.net>
- * ext/socket/addrinfo.h: compatibility hack for ipv4.
+ * gc.c: fix to collect additional information for GC::Profiler.
+ * major/minor GC
+ * trigger reason of GC
- * ext/socket/socket.c: itojun's ipv6 patches applied.
+ * gc.c (gc_profile_dump_on): change reporting format with
+ added information.
- * ext/socket/extconf.rb: detect ipv6 features based on itojun's
- ipv6 patches.
+ * gc.c (gc_profile_record_get): return added information by
+ :GC_FLAGS => array.
- * ext/extmk.rb.in (enable_config): can handle --enable-xxx now.
+Tue May 21 16:45:31 2013 Koichi Sasada <ko1@atdot.net>
- * lib/mkmf.rb (enable_config): ditto.
+ * gc.c: GC::Profiler's sweeping time is accumulated all slot
+ sweeping time. At lazy GC, GC::Profiler makes new record entry
+ for each lazy_sweep(). In this change, accumulating all
+ slot_sweep() time.
+ And change indentation.
-Fri Apr 30 05:22:23 1999 Shugo Maeda <shugo@netlab.co.jp>
+Tue May 21 16:29:09 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (rb_str_aset): last index should not append.
+ * common.mk (rdoc-bench): add a benchmark rule
+ using RDoc. Generate all rdoc related files
+ (same as `make rdoc') in temporary directory
+ and remove them. Execution time, GC::Profiler
+ and results of GC.stat are printed.
-Thu Apr 29 18:55:31 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * tool/rdocbench.rb: added for `rdoc-bench'.
- * dln.c (conv_to_posix_path): remove const from args.
+Tue May 21 16:25:05 2013 Koichi Sasada <ko1@atdot.net>
- * ruby.c (rubylib_mangle): remove Fatal(), the obsolete function.
+ * gc.c (gc_profile_dump_on): `count' should be (int) because it
+ can be negative number.
+ And use pointer for `record' (don't copy).
-Tue Apr 27 14:11:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue May 21 03:11:18 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (fname): lazy workaround for keywords did not work well.
+ * dir.c (dir_each): compose HFS file names from
+ UTF8-MAC. [ruby-core:48745] [Bug #7267]
- * ext/extmk.rb.in: `--with-xxx=yyy' argument configuration.
+Tue May 21 03:08:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/mkmf.rb: ditto.
+ * test/ruby/envutil.rb (assert_separately): require envutil in the
+ child process too.
- * misc/ruby-mode.el: forgot to handle $`.
+Tue May 21 03:07:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/extmk.rb.in: better AIX link support proposed by
- <komatsu@sarion.co.jp>.
+ * string.c (rb_str_conv_enc_opts): should infect.
-Mon Apr 26 16:46:59 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon May 20 22:24:45 2013 Akinori MUSHA <knu@iDaemons.org>
- * ext/extmk.rb.in: AIX shared library support modified.
+ * lib/set.rb (Set#delete_if, Set#keep_if): Avoid blockless call of
+ proc, which is not portable to JRuby. Replace &method() with
+ faster and simpler literal blocks while at it.
- * ext/aix_mksym.rb: ditto.
+Mon May 20 22:00:31 2013 Zachary Scott <zachary@zacharyscott.net>
- * configure.in: ditto.
+ * lib/e2mmap.rb: Format of E2MM documentation
- * sprintf.c (rb_f_sprintf): should allocate proper sized buffer
- for float numbers.
+Mon May 20 21:41:15 2013 Zachary Scott <zachary@zacharyscott.net>
-Sat Apr 24 00:00:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/extmk.rb: nodoc this file
- * parse.y (operation): syntax like `a.[]=(1,2)' is allowed.
+Mon May 20 20:43:32 2013 Zachary Scott <zachary@zacharyscott.net>
-Fri Apr 23 23:54:09 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/cmath.rb: Remove duplicate RDoc heading from overview
- * io.c (argf_binmode): binmode method added to ARGF.
+Mon May 20 20:36:19 2013 Zachary Scott <zachary@zacharyscott.net>
-Fri Apr 23 13:55:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/securerandom.rb: Update position of overview for RDoc
- * string.c (rb_f_chomp): should assign the result to $_. or maybe
- sub/gsub/chop/chomp should NOT assign $_ altogether.
+Mon May 20 19:33:55 2013 Benoit Daloze <eregontp@gmail.com>
-Thu Apr 22 16:50:54 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * math.c: improve and fix documentation of sin, tan and log
- * eval.c (rb_callcc): call scope_dup() for all scopes in
- the interpreter stack.
+Mon May 20 19:31:49 2013 Benoit Daloze <eregontp@gmail.com>
-Tue Apr 20 11:24:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/logger.rb (Logger::Application): show namespace in documentation
- * string.c (rb_str_dump): `#' should be escaped.
+Mon May 20 11:50:12 2013 Zachary Scott <zachary@zacharyscott.net>
-Tue Apr 20 02:32:42 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/pp.rb: Revert part of r40834 and nodoc PP::ObjectMixin
+ [ruby-core:55068]
- * parse.y (parse_regx): option /p for posix match added.
+Mon May 20 10:40:21 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * re.c (rb_reg_desc): did not print options properly.
+ * lib/webrick/htmlutils.rb (WEBrick::HTMLUtils#escape): replace HTML
+ meta chars even in non-ascii string. [Bug #8425] [ruby-core:55052]
- * io.c (rb_file_s_open): initialize was called twice.
+ * lib/webrick/httputils.rb (WEBrick::HTTPUtils#{_escape,_unescape}):
+ fix %-escape encodings. [Bug #8425] [ruby-core:55052]
-Mon Apr 19 18:56:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/webrick/httpservlet/filehandler.rb (set_dir_list): revert r20152
+ partially and fix misuse of bytesize and regexp repetition operator.
- * configure.in (DEFAULT_KCODE): can specify default code for
- $KCODE by --with-default-kcode=(euc|sjis|utf8|none).
+Mon May 20 08:03:51 2013 Zachary Scott <zachary@zacharyscott.net>
- * regex.c (IS_A_LETTER): a byte sequence shorter than mbc should
- not match with \w etc.
+ * lib/profiler.rb: Document Profiler__ methods
-Mon Apr 19 13:49:11 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon May 20 08:02:13 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (eval): should restore ruby_dyna_vars.
+ * lib/tempfile.rb: nodoc Tempfile#inspect
-Fri Apr 16 21:40:43 1999 Nobuyoshi Nakada <gea02117@nifty.ne.jp>
+Mon May 20 07:48:24 2013 Zachary Scott <zachary@zacharyscott.net>
- * io.c (f_backquote): pipe_open may return nil.
+ * ext/stringio/stringio.c: Correct position of method rdoc
- * io.c (f_open): rb_io_open may return nil.
+Mon May 20 07:27:41 2013 Zachary Scott <zachary@zacharyscott.net>
- * io.c (io_s_foreach): ditto.
+ * math.c: RDoc formatting of Math core docs with domains and codomains
+ Patch by @eLobato [Fixes GH-309]
- * io.c (io_s_readlines): ditto.
+Mon May 20 05:58:12 2013 Zachary Scott <zachary@zacharyscott.net>
- * io.c (io_defset): wrong message.
+ * ext/bigdecimal/bigdecimal.c: Formatting for BigMath [Fixes GH-306]
+ Based on a patch by @eLobato.
+ * ext/bigdecimal/lib/bigdecimal/math.rb: ditto
-Fri Apr 16 15:09:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon May 20 04:56:59 2013 Zachary Scott <zachary@zacharyscott.net>
- * bignum.c (rb_str2inum): strtoul() returns long, not int.
+ * lib/forwardable.rb: Forwardable examples in overview were broken
+ Based on patch by @joem [Fixes GH-303] [Bug #8392]
- * eval.c (rb_load): size of VALUE and ID may be different.
+Mon May 20 03:35:26 2013 Zachary Scott <zachary@zacharyscott.net>
- * util.c (mmprepare): int is too small to cast from pointers.
+ * lib/optparse.rb: nodoc OptionParser::Version and SPLAT_PROC
- * config.guess: avoid 'linux-gnu' for alpha-unknown-linux.
+Mon May 20 03:16:52 2013 Zachary Scott <zachary@zacharyscott.net>
-Thu Apr 15 23:46:20 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * lib/pp.rb: Document PP::ObjectMixin [Fixes GH-312]
- * ruby.c (rubylib_mangle): mangle path by RUBYLIB_PREFIX.
+Sun May 19 23:52:22 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
-Wed Apr 14 23:52:51 1999 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
+ * test/webrick/test_htmlutils.rb: add test for WEBrick::HTMLUtils.
- * node.h (NODE_LMASK): should be long to avoid overflow.
+Sun May 19 23:12:07 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
-Wed Apr 14 13:14:35 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
+ * encoding.c: document fix, change default script encoding.
+ patched by @windwiny [Fixes GH-310]
- * dln.c: AIX dynamic link.
+Sun May 19 17:29:07 2013 Akinori MUSHA <knu@iDaemons.org>
- * ext/aix_ld.rb: ditto.
+ * lib/set.rb (Set#delete_if, Set#keep_if): Add comments.
-Wed Apr 14 12:19:09 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun May 19 11:37:36 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * lib/thread.rb: Queue#{enq,deq} added.
+ * ext/fiddle/extconf.rb: ignore rc version of libffi to fix build failure.
-Tue Apr 13 17:43:56 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun May 19 10:38:50 2013 Akinori MUSHA <knu@iDaemons.org>
- * hash.c (rb_hash_s_create): Hash::[] acts more like casting.
+ * misc/ruby-electric.el (ruby-electric-delete-backward-char): Use
+ delete-char instead of delete-backward-char, which is an
+ interactive function.
-Tue Apr 13 00:33:52 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun May 19 03:59:29 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * io.c (rb_io_stdio_set): warning for assignment to the variables
- $std{in,out,err}.
+ * string.c (str_scrub0): added for refactoring.
-Mon Apr 12 23:12:32 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun May 19 03:48:26 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * io.c (rb_io_reopen): check for reopening same IO.
+ * lib/uri/common.rb (URI.decode_www_form): scrub string if decoded
+ bytes are invalid for the encoding.
-Fri Apr 9 17:45:11 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun May 19 02:46:32 2013 Akinori MUSHA <knu@iDaemons.org>
- * parse.y (rb_compile_string): bug for nested eval().
+ * lib/set.rb (Set#delete_if, Set#keep_if): Make Set#delete_if and
+ Set#keep_if more space and time efficient by avoiding to_a.
- * regex.c (re_match): should pop non-greedy stack items on
- failure, after best_regs are fixed.
+Sun May 19 02:33:09 2013 Akinori MUSHA <knu@iDaemons.org>
-Thu Apr 8 17:30:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * misc/ruby-electric.el (ruby-electric-setup-keymap): Make
+ backquotes electric as well. It was listed in
+ ruby-electric-expand-delimiters-list but not activated.
- * pack.c (PACK_LENGTH_ADJUST): need to adjust for `*' length.
+ * misc/ruby-electric.el (ruby-electric-delete-backward-char):
+ Introduce electric DEL that deletes what the previous electric
+ command has input.
-Tue Apr 6 23:28:44 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * misc/ruby-electric.el (ruby-electric-matching-char): Make
+ electric quotes work again at the end of buffer.
- * parse.y (void_check): add void context checks.
+Sun May 19 01:39:50 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Apr 5 12:23:42 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * configure.in (setjmp-type): check if setjmpex() is really available.
+ workaround for i686-w64-mingw32 which declares it but lacks its
+ definition.
- * time.c (time_s_at): should copy gmt-mode.
+ * include/ruby/defines.h: include setjmpex.h only if also setjmpex()
+ is available.
- * eval.c (eval_node): preserve ruby_eval_tree.
+Sat May 18 23:57:46 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Apr 2 14:00:34 1999 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
+ * configure.in (setjmp-type): use setjmpex() on w64-mingw32 to get rid
+ of -Wclobbered warnings.
- * lib/debug.rb: wrong command interpreting.
+ * include/ruby/defines.h: include setjmpex.h here becase setjmp.h is
+ included from win32.h via intrin.h, winnt.h, and so on.
-Fri Apr 2 11:46:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat May 18 20:28:12 2013 Tanaka Akira <akr@fsij.org>
- * version 1.3.2
+ * ext/socket/mkconstants.rb (INTEGER2NUM): Make less comparisons.
-Fri Apr 2 10:40:04 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat May 18 20:15:28 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * io.c (rb_io_s_pipe): forgot to define IO::pipe.
+ * string.c (str_scrub_bang): add String#scrub!. [Feature #8414]
-Thu Apr 1 14:40:46 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat May 18 16:59:52 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (assign): modified for rhs change.
+ * ext/socket/mkconstants.rb (INTEGER2NUM): Renamed from INTEGER2VALUE.
- * parse.y (stmt): unparenthesisized method calls can be right hand
- side expression of the assignment.
+Sat May 18 16:57:58 2013 Tanaka Akira <akr@fsij.org>
-Sat Mar 27 22:42:47 1999 Koji Arai <JCA02266@nifty.ne.jp>
+ * ext/socket/mkconstants.rb (INTEGER2VALUE): Suppress a warning:
+ comparison between signed and unsigned integer expressions
- * ext/nkf/nkf.c (rb_nkf_kconv): check size output_ctr before
- decrement.
+Sat May 18 16:38:39 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Mar 25 09:11:03 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * compile.c (iseq_compile_each): forward anonymous and first keyword
+ rest argument one. [ruby-core:55033] [Bug #8416].
- * time.c (time_s_at): preserve gmt-mode for result.
+Sat May 18 15:49:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (rb_compile_string): do not use cur_mid, use
- compile_for_eval instead.
+ * vm_core.h (rb_vm_tag): move jmpbuf between tag and prev so ensure to
+ be accessible.
- * st.c (PTR_NOT_EQUAL): wrong logical condition.
+Sat May 18 11:05:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Mar 24 13:06:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * enumerator.c (inspect_enumerator): use VALUE instead of mere char*
+ by using rb_sprintf() and rb_id2str().
- * parse.y (yycompile): should clear cur_mid after compilation.
+ * enumerator.c (append_method): extract from inspect_enumerator().
- * io.c (next_argv): need to check type for ARGV.shift.
+Sat May 18 09:00:32 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (blk_copy_prev): need to preserve outer scope as well as
- outer frames.
+ * ext/socket/mkconstants.rb (INTEGER2VALUE): Use LONG2FIX if possible.
- * parse.y (rb_compile_string): return can appear within eval().
+Sat May 18 00:38:47 2013 Tanaka Akira <akr@fsij.org>
-Tue Mar 23 10:15:07 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ * ext/socket/mkconstants.rb: Convert integer constants bigger than int
+ correctly.
- * configure.in: AC_C_CONST check added.
+Fri May 17 22:02:15 2013 Tanaka Akira <akr@fsij.org>
-Tue Mar 23 02:07:35 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/ifaddr.c: Use unsigned LONG_LONG to represent flags
+ because SunOS 5.11 (OpenIndiana) defines ifa_flags as uint64_t.
- * time.c (time_plus): preserve gmt-mode for result.
+Fri May 17 21:47:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Mon Mar 22 01:32:37 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * cont.c: Typo in constant MAX_MACHINE_STACK_CACHE from '..MAHINE..'
+ patch by @schmurfy [Fixes GH-307]
- * eval.c (rb_eval): adjust line numbers before expression
- interpolation within strings.
+Fri May 17 19:18:24 2013 Akinori MUSHA <knu@iDaemons.org>
- * eval.c (rb_eval): defined? returns nil for false condition.
+ * misc/ruby-electric.el (ruby-electric-matching-char): Do not put
+ a closing quote when the quote typed does not start a string, as
+ in $', ?\' or ?\".
- * numeric.c (num_nonzero_p): returns nil for false condition.
+Fri May 17 18:06:15 2013 Tanaka Akira <akr@fsij.org>
-Sat Mar 20 13:07:43 1999 Keiju Ishitsuka <keiju@rational.com>
+ * configure.in: Consider error messages to find out version option of
+ C compiler.
+ The C compiler of Sun Studio C emits "Warning: Option -qversion
+ passed to ld, if ld is invoked, ignored otherwise" and exit
+ successfully.
- * lib/weakref.rb: avoid leak for two weakrefs for one object.
+Fri May 17 17:34:48 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Mar 19 11:26:45 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * gc.c (rb_gc_guarded_ptr): unoptimize on other compilers than gcc and
+ msvc.
- * eval.c (ruby_run): needed to eval END{} on exit.
+Fri May 17 11:06:48 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_exit): ditto.
+ * eval_intern.h (TH_PUSH_TAG): ensure jmpbuf to be accessible before
+ pushing tag to get rid of unaccessible tag by stack overflow.
-Fri Mar 19 02:17:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu May 16 17:15:32 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * signal.c (Init_signal): handles terminating signals HUP, TERM,
- QUIT, PIPE, etc.
+ * vm_eval.c (rb_catch_obj): add volatile to tag to prevent crash
+ experimentally.
+ http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130515T133500Z.log.html.gz
-Thu Mar 18 15:47:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu May 16 16:19:50 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * bignum.c (rb_big_and): bug in sign calculation.
+ * win32/Makefile.sub (verconf.in): no longer used.
- * bignum.c (rb_big_or): ditto.
+ * win32/Makefile.sub (config.status): fix typo.
- * io.c (rb_f_select): forgot to use to_io to retrieve IO, after
- calling select(2).
+ * configure.in, template/verconf.h.in (RUBY_EXEC_PREFIX): fix for
+ default prefix.
-Tue Mar 16 19:54:31 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Thu May 16 13:12:27 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/extmk.rb.in: static linking cause infinite make loop.
+ * template/verconf.h.in: generate verconf.h from the template and
+ rbconfig.rb.
-Tue Mar 16 18:50:04 1999 Yoshida Masato <yoshidam@yoshidam.net>
+Thu May 16 05:47:18 2013 Aaron Patterson <aaron@tenderlovemaking.com>
- * ext/socket/socket.c (tcp_s_gethostbyname): typo, not NUM2INT(),
- but INT2NUM().
+ * ext/psych/lib/psych/visitors/yaml_tree.rb: fix syntax error.
+ Thanks @spastorino! [ruby-core:55011]
- * ext/socket/socket.c (mkhostent): ditto.
+Thu May 16 03:05:45 2013 Koichi Sasada <ko1@atdot.net>
-Tue Mar 16 12:31:44 1999 Ryo HAYASAKA <hayasaka@cheer.u-aizu.ac.jp>
+ * gc.c (rb_node_newnode): use newobj_of() instead of rb_newobj().
- * file.c (utime_internal): suppress warning by const.
+Thu May 16 02:03:39 2013 Tanaka Akira <akr@fsij.org>
- * time.c (time_gmtime): ditto.
+ * ext/socket/depend: Add a dependency for ifaddr.o.
-Tue Mar 16 10:23:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu May 16 01:44:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * time.c (time_clone): Time object can be cloned.
+ * common.mk (verconf.h): $< cannot be used in explicit rules with
+ nmake.
-Tue Mar 16 03:13:10 1999 Koji Arai <JCA02266@nifty.ne.jp>
+ * win32/Makefile.sub (CONFIG_H): create verconf.in instead of
+ verconf.h.
- * ruby.c (load_file): argv[argc] should be NULL.
+Thu May 16 01:25:07 2013 Aaron Patterson <aaron@tenderlovemaking.com>
-Mon Mar 15 22:12:08 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+ * ext/psych/lib/psych/visitors/yaml_tree.rb: only emit warnings when
+ -w is enabled.
- * sprintf.c (rb_f_sprintf): typo in arg_num check at exit.
+Wed May 15 18:58:17 2013 Koichi Sasada <ko1@atdot.net>
-Mon Mar 15 16:42:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (newobj): rename to `newobj_of' and accept additional
+ three parameters v1, v2, v3. newobj_of() do OBJSETUP() and
+ fill values with v1, v2, v3.
- * array.c (rb_ary_dup): dup2 should copy class too.
+ * gc.c (rb_data_object_alloc, rb_data_typed_object_alloc):
+ use newobj_of().
-Mon Mar 15 15:12:53 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
+Wed May 15 17:55:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/mkmf.rb: install program relative path check.
+ * configure.in (RUBY_PLATFORM): move to config.h as needed by
+ version.c.
-Mon Mar 15 14:05:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed May 15 17:04:11 2013 Koichi Sasada <ko1@atdot.net>
- * re.c (rb_reg_s_new): 2nd argument is now option.
- Regexp::EXTENDED can be specified.
+ * gc.c: add an additional RGENGC_PROFILE mode (2).
+ Profiling result can be check by GC.stat.
-Fri Mar 12 10:47:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (type_name): separate from obj_type_name().
- * string.c (rb_str_index): str.index("") should always match at
- offset point.
+Wed May 15 16:58:24 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (rb_str_upto): can specify end point exclusion.
+ * configure.in: save configured load path values into verconf.in.
- * string.c (rb_str_index): negative offset.
+ * common.mk (verconf.h): create from verconf.in with shvar_to_cpp.rb.
- * regex.c (re_match): begline should not match at the point
- between a newline and end-of-string. endline neither.
+ * tool/shvar_to_cpp.rb: turn shell variables into C macros.
+ [Bug #7959]
- * regex.c (re_compile_pattern): context_indep_anchors .
+ * loadpath.c: split load path staffs from version.c.
- * parse.y (parse_regx): need not to push backslashes before
- escaped characters.
+ * dmyloadpath.c: miniruby has no builtin load paths, so verconf.h is
+ not needed.
- * eval.c (rb_thread_join): re-raises exception within target.
+Wed May 15 03:56:09 2013 Aaron Patterson <aaron@tenderlovemaking.com>
-Fri Mar 12 01:09:36 1999 Koji Arai <JCA02266@nifty.ne.jp>
+ * ext/psych/lib/psych/visitors/yaml_tree.rb: adding backwards
+ compatible YAMLTree.new method
- * ext/readline/readline.c (readline_s_vi_editing_mode): wrong
- number of arguments.
+Wed May 15 02:22:16 2013 Aaron Patterson <aaron@tenderlovemaking.com>
-Fri Mar 12 02:12:50 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/psych/lib/psych.rb: Adding Psych.safe_load for loading a user
+ defined, restricted subset of Ruby object types.
+ * ext/psych/lib/psych/class_loader.rb: A class loader for
+ encapsulating the logic for which objects are allowed to be
+ deserialized.
+ * ext/psych/lib/psych/deprecated.rb: Changes to use the class loader
+ * ext/psych/lib/psych/exception.rb: ditto
+ * ext/psych/lib/psych/json/stream.rb: ditto
+ * ext/psych/lib/psych/nodes/node.rb: ditto
+ * ext/psych/lib/psych/scalar_scanner.rb: ditto
+ * ext/psych/lib/psych/stream.rb: ditto
+ * ext/psych/lib/psych/streaming.rb: ditto
+ * ext/psych/lib/psych/visitors/json_tree.rb: ditto
+ * ext/psych/lib/psych/visitors/to_ruby.rb: ditto
+ * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
+ * ext/psych/psych_to_ruby.c: ditto
+ * test/psych/helper.rb: ditto
+ * test/psych/test_safe_load.rb: tests for restricted subset.
+ * test/psych/test_scalar_scanner.rb: ditto
+ * test/psych/visitors/test_to_ruby.rb: ditto
+ * test/psych/visitors/test_yaml_tree.rb: ditto
- * pack.c (PACK_ITEM_ADJUST): "a".unpack("C3") => [97, nil, nil]
+Wed May 15 02:06:35 2013 Aaron Patterson <aaron@tenderlovemaking.com>
-Thu Mar 11 18:23:50 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
+ * test/psych/helper.rb: envutil is not available outside Ruby, so
+ port the functions from envutil to the test helper.
- * ext/socket/socket.c (Init_socket): UDPsocket was omitted.
+ * test/psych/test_deprecated.rb: ditto
-Thu Mar 11 16:43:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/psych/test_encoding.rb: ditto
- * pack.c (PACK_LENGTH_ADJUST): push fixed number of items per
- template to result array.
+Wed May 15 00:42:54 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * pack.c (pack_unpack): I/N/C etc. push nil in the array for "".
+ * signal.c: need to include unistd.h for write(2).
+ unistd.h is now included via ruby/defines.h, but should explicitly
+ include here. (suggested by kosaki)
-Tue Mar 9 00:19:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue May 14 23:43:05 2013 Tanaka Akira <akr@fsij.org>
- * hash.c (ruby_unsetenv): use ruby_setenv(name, 0).
+ * ext/socket/.document: Add ifaddr.c.
- * hash.c (env_delete): ditto.
+Tue May 14 23:24:31 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (rb_str_upto): do not check `beg<end' to generate
- strings for the pattern like "a".upto("#a").
+ * ext/socket/extconf.rb: check for if_nametoindex() for
+ i686-w64-mingw32, and check for declarations of if_indextoname() and
+ if_nametoindex().
- * range.c (range_each): treat strings as special case.
+ * ext/socket/ifaddr.c (ifaddr_ifindex): not-implement unless
+ if_nametoindex() is available.
- * range.c (range_each): no longer use upto for generic cases.
+ * ext/socket/rubysocket.h: declare if_indextoname() and
+ if_nametoindex() if available but not declared.
-Sun Mar 7 14:21:32 1999 IKARASHI Akira <ikarashi@itlb.te.noda.sut.ac.jp>
+Tue May 14 19:58:17 2013 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
- * string.c (rb_str_index): wrong end point calculation.
+ * ext/dl/lib/dl/func.rb (DL::Function#call): check tainted when
+ $SAFE > 0.
+ * ext/fiddle/function.c (function_call): check tainted when $SAFE > 0.
+ * test/fiddle/test_func.rb (module Fiddle): add test for above.
-Sat Mar 6 02:19:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
- * re.c (match_index): MatchingData#index(n) added.
+Tue May 14 14:51:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_subseq): ary[n..-1] returns an sub-array unless
- n is too small negative index.
+ * include/ruby/win32.h (INTPTR_MAX, INTPTR_MIN, UINTPTR_MAX): split
+ from intptr_t and uintptr_t, since VC9 defines the latter only in
+ crtdefs.h.
- * re.c (rb_reg_match_method): Regexp#match(str) added.
+Tue May 14 12:21:28 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * array.c (rb_ary_indexes): understands ranges as indexes.
+ * win32/win32.c (NET_LUID): mingw may have NET_LUID and not defined
+ _IFDEF_.
- * re.c (match_size): MatchingData#size added.
+Tue May 14 03:33:17 2013 Koichi Sasada <ko1@atdot.net>
-Fri Mar 5 01:04:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * string.c (rb_str_new_frozen): remove debug print.
- * array.c (rb_ary_fill): modified for range.
+Tue May 14 03:22:51 2013 Koichi Sasada <ko1@atdot.net>
- * array.c (rb_ary_aset): a[n..m] revisited.
+ * include/ruby/ruby.h: enable to generate write barrier protected
+ arrays (T_ARRAY).
-Thu Mar 4 14:23:29 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue May 14 03:21:42 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (rb_str_subseq): a[n..m] revisited.
+ * include/ruby/ruby.h: enable to generate write barrier protected
+ strings (T_STRING).
- * parse.y (method_call): allow Const::method{}.
+Tue May 14 03:19:59 2013 Koichi Sasada <ko1@atdot.net>
- * array.c (rb_ary_replace_method): should replace original array.
+ * include/ruby/ruby.h: enable to generate write barrier protected
+ objects (T_OBJECT).
-Thu Mar 4 02:30:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue May 14 03:17:15 2013 Koichi Sasada <ko1@atdot.net>
- * configure.in: remove --disable-thread, thread feature is no
- longer optional.
+ * include/ruby/ruby.h: enable to generate write barrier protected
+ objects for numeric types (Float, Complex, Rational, Bignum).
-Thu Mar 4 00:32:17 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
+Tue May 14 03:10:59 2013 Koichi Sasada <ko1@atdot.net>
- * parse.y (read_escape): wrong arguments for scan_oct,scan_hex.
+ * include/ruby/ruby.h: enable RGENGC (USE_RGENGC)
+ but no type creates write protected (sunny) objects
+ (RGENGC_WB_PROTECTED_* == 0).
-Wed Mar 3 11:51:53 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue May 14 02:47:30 2013 Koichi Sasada <ko1@atdot.net>
- * ext/socket/socket.c (Init_socket): rename class names as
- TCPsocket -> TCPSocket etc.
+ * gc.c: support RGENGC. [ruby-trunk - Feature #8339]
+ See this ticket about RGENGC.
-Tue Mar 2 19:46:42 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * gc.c: Add several flags:
+ * RGENGC_DEBUG: if >0, then prints debug information.
+ * RGENGC_CHECK_MODE: if >0, add assertions.
+ * RGENGC_PROFILE: if >0, add profiling features.
+ check GC.stat and GC::Profiler.
- * configure.in (LDSHARED): use gcc -Wl,-G for solaris with gcc.
+ * include/ruby/ruby.h: disable RGENGC by default (USE_RGENGC == 0).
-Tue Mar 2 17:04:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * array.c: add write barriers for T_ARRAY and generate sunny objects.
- * parse.y (yylex): backslashes do not concatenate comment lines
- anymore.
+ * include/ruby/ruby.h (RARRAY_PTR_USE): added. Use this macro if
+ you want to access raw pointers. If you modify the contents which
+ pointer pointed, then you need to care write barrier.
-Mon Mar 1 14:05:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c, marshal.c, random.c: generate T_BIGNUM sunny objects.
- * eval.c (rb_call0): adjust argv for optional arguments. super
- without arguments emit superclass method with the value from
- optional arguments. enabled as experiment.
+ * complex.c, include/ruby/ruby.h: add write barriers for T_COMPLEX
+ and generate sunny objects.
-Sun Feb 28 14:04:07 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * rational.c (nurat_s_new_internal), include/ruby/ruby.h: add write
+ barriers for T_RATIONAL and generate sunny objects.
- * parse.y (nextc): backslash at the eof cause infinite loop
+ * internal.h: add write barriers for RBasic::klass.
-Sun Feb 28 11:01:26 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+ * numeric.c (rb_float_new_in_heap): generate sunny T_FLOAT objects.
- * time.c (make_time_t): month range check added.
+ * object.c (rb_class_allocate_instance), range.c:
+ generate sunny T_OBJECT objects.
-Sat Feb 27 02:36:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * string.c: add write barriers for T_STRING and generate sunny objects.
- * re.c (Init_Regexp): add escape as alias of quote.
+ * variable.c: add write barriers for ivars.
- * re.c (rb_reg_s_quote): char-code can be specified now.
+ * vm_insnhelper.c (vm_setivar): ditto.
-Fri Feb 26 18:45:36 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
+ * include/ruby/ruby.h, debug.c: use two flags
+ FL_WB_PROTECTED and FL_OLDGEN.
- * eval.c (error_print): bug for error message with newlines.
+ * node.h (NODE_FL_CREF_PUSHED_BY_EVAL, NODE_FL_CREF_OMOD_SHARED):
+ move flag bits.
-Fri Feb 26 12:00:04 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue May 14 01:54:48 2013 Koichi Sasada <ko1@atdot.net>
- * time.c (make_time_t): future check modified to allow 1969-12-31
- at certain timezone.
+ * gc.c: remove rb_objspace_t::marked_num.
+ We can use `objspace_live_num()' instead of removed `marked_num'
+ if it is after `after_gc_sweep()' function call.
- * time.c (time_arg): year >= 1000 should be past.
+ * gc.c (after_gc_sweep): use objspace_live_num() instead of removed
+ rb_objspace_t::marked_num.
- * version.c (Init_version): constant RELEASE_DATE added.
+ * gc.c (gc_mark_ptr, gc_marks): remove rb_objspace_t::marked_num code.
-Fri Feb 26 01:08:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (gc_prepare_free_objects): do not call set_heaps_increment()
+ with checking objspace->heap.marked_num. At this point, we only
+ need to check availability of free-cell.
- * string.c (rb_str_substr): returns nil for out-of-range access.
+ * gc.c (lazy_sweep): call after_gc_sweep() if there are no sweep_able entry.
- * array.c (rb_ary_subseq): returns nil for out-of-range access.
+ * gc.c (rest_sweep, gc_prepare_free_objects): remove after_gc_sweep() call.
- * array.c (rb_ary_store): negative index message has changed.
+Tue May 14 01:50:41 2013 Koichi Sasada <ko1@atdot.net>
- * string.c (rb_str_aset): reallocation needed.
+ * gc.c: disable GC_PROFILE_MORE_DETAIL (fix last commit).
- * string.c (rb_str_aset): allow char append to the string.
+ * gc.c (gc_prof_set_malloc_info): fix "objspace->heap.live_num" to
+ "objspace_live_num(objspace)". There is no such member variable.
-Thu Feb 25 23:30:17 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+Tue May 14 01:25:55 2013 Koichi Sasada <ko1@atdot.net>
- * time.c (time_load): tm_year should be packed in 17 bits, not 18.
+ * gc.c: refactoring GC::Profiler.
-Thu Feb 25 12:50:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (gc_prof_sweep_timer_start/stop): removed because
+ they doesn't support lazy sweep.
- * missing/dup2.c: replaced by public domain version.
+ * gc.c (gc_prof_sweep_slot_timer_start/stop): added.
+ redefine `sweeping time' to accumulated time of all of
+ slot_sweep().
- * time.c (make_time_t): add `future check' in loops.
+ * gc.c (rb_objspace_t::profile::count): renamed to
+ rb_objspace_t::profile::next_index. `counter' seems ambiguous.
+ increment it when next record is acquired.
- * object.c (rb_num2dbl): forbid implicit conversion from nil, or
- strings. thus `Time.now + str' should raise error.
+Tue May 14 00:48:55 2013 Koichi Sasada <ko1@atdot.net>
- * object.c (rb_Float): convert nil into 0.0.
+ * include/ruby/ruby.h: constify RRational::(num,den) and
+ RComplex::(real,imag).
+ Add macro to set these values:
+ * RRATIONAL_SET_NUM()
+ * RRATIONAL_SET_DEN()
+ * RCOMPLEX_SET_REAL()
+ * RCOMPLEX_SET_IMAG()
+ This change is a part of RGENGC branch [ruby-trunk - Feature #8339].
- * object.c (rb_Integer): conversion method improved.
+ TODO: API design. RRATIONAL_SET(rat,num,den) is enough?
+ TODO: Setting constify variable with cast has same issue of r40691.
-Thu Feb 25 03:27:50 1999 Shugo Maeda <shugo@netlab.co.jp>
+ * complex.c, rational.c: use above macros.
- * eval.c (rb_call): should handle T_ICLASS properly.
+Mon May 13 21:49:17 2013 Tanaka Akira <akr@fsij.org>
-Thu Feb 25 00:04:00 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/extconf.rb: Check socketpair again.
+ It is required on Unix.
- * error.c (Init_Exception): global function Exception() removed.
+Mon May 13 21:20:32 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * variable.c (rb_class2name): returns "nil"/"true"/"false" for them.
+ * win32/win32.c (getipaddrs): use alternative interface name if
+ available, because if_nametoindex() requires them.
- * time.c (time_dump): time marshaling format compressed size from
- 11 bytes to 8 bytes. thanx to tadf@kt.rim.or.jp.
+Mon May 13 20:23:24 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * eval.c (rb_obj_call_init): should specify arguments explicitly.
+ * win32/win32.c, include/ruby/win32.h (getipaddrs): [experimental]
+ emulate getipaddrs(3) on Unix.
-Wed Feb 24 15:43:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * win32/Makefile.sub, configure.in (LIBS): need iphlpapi.lib for above
+ function.
- * parse.y (yylex): comment concatenation requires preceding space
- before backslash at the end of line.
+ * include/ruby/win32.h (socketpair): rb_w32_socketpair() doesn't
+ substitute for any function, so use non-prefixed name.
- * io.c (rb_f_pipe): global pipe is obsolete now.
+ * ext/socket/extconf.rb (socketpair); follow above change.
- * object.c (Init_Object): remove true.to_i, false.to_i.
+Mon May 13 20:11:06 2013 Koichi Sasada <ko1@atdot.net>
-Tue Feb 23 14:21:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * iseq.c (prepare_iseq_build): remove additional line break.
- * parse.y (yylex): warn if identifier! immediately followed by `='.
+Mon May 13 19:29:54 2013 Koichi Sasada <ko1@atdot.net>
-Tue Feb 23 12:32:41 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * include/ruby/ruby.h: constify RBasic::klass and add
+ RBASIC_CLASS(obj) macro which returns a class of `obj'.
+ This change is a part of RGENGC branch [ruby-trunk - Feature #8339].
- * eval.c (rb_load): tilde expansion moved to find_file.
+ * object.c: add new function rb_obj_reveal().
+ This function reveal internal (hidden) object by rb_obj_hide().
+ Note that do not change class before and after hiding.
+ Only permitted example is:
+ klass = RBASIC_CLASS(obj);
+ rb_obj_hide(obj);
+ ....
+ rb_obj_reveal(obj, klass);
- * eval.c (find_file): tilde expansion added.
+ TODO: API design. rb_obj_reveal() should be replaced with others.
-Tue Feb 23 10:50:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ TODO: modify constified variables using cast may be harmful for
+ compiler's analysis and optimization.
+ Any idea to prohibit inserting RBasic::klass directly?
+ If rename RBasic::klass and force to use RBASIC_CLASS(obj),
+ then all codes such as `RBASIC(obj)->klass' will be
+ compilation error. Is it acceptable? (We have similar
+ experience at Ruby 1.9,
+ for example "RARRAY(ary)->ptr" to "RARRAY_PTR(ary)".
- * eval.c (require_method): require can handle multiple fnames.
+ * internal.h: add some macros.
+ * RBASIC_CLEAR_CLASS(obj) clear RBasic::klass to make it internal
+ object.
+ * RBASIC_SET_CLASS(obj, cls) set RBasic::klass.
+ * RBASIC_SET_CLASS_RAW(obj, cls) same as RBASIC_SET_CLASS
+ without write barrier (planned).
+ * RCLASS_SET_SUPER(a, b) set super class of a.
- * hash.c (rb_hash_foreach_iter): hash key may be nil.
+ * array.c, class.c, compile.c, encoding.c, enum.c, error.c, eval.c,
+ file.c, gc.c, hash.c, io.c, iseq.c, marshal.c, object.c,
+ parse.y, proc.c, process.c, random.c, ruby.c, sprintf.c,
+ string.c, thread.c, transcode.c, vm.c, vm_eval.c, win32/file.c:
+ Use above macros and functions to access RBasic::klass.
-Mon Feb 22 17:44:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/coverage/coverage.c, ext/readline/readline.c,
+ ext/socket/ancdata.c, ext/socket/init.c,
+ * ext/zlib/zlib.c: ditto.
- * regex.c (re_match): should not pop failure point on success for
- non-greedy matches.
+Mon May 13 18:44:14 2013 Koichi Sasada <ko1@atdot.net>
- * io.c (Init_IO): remove global_functions getc, readchar, ungetc,
- seek, tell, rewind.
+ * *.c, parse.y, insns.def: use RARRAY_AREF/ASET macro
+ instead of using RARRAY_PTR().
-Sat Feb 20 22:54:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon May 13 16:53:53 2013 Koichi Sasada <ko1@atdot.net>
- * numeric.c (rb_num2long): no implicit conversion from boolean.
+ * include/ruby/ruby.h: add new utility macros to access
+ Array's element.
+ * RARRAY_AREF(a, i) returns i-th element of an array `a'
+ * RARRAY_ASET(a, i, v) set i-th element of `a' to `v'
+ This change is a part of RGENGC branch [ruby-trunk - Feature #8339].
-Sat Feb 20 09:58:42 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+Mon May 13 15:31:10 2013 Koichi Sasada <ko1@atdot.net>
- * numeric.c (flo_to_s): portable Infinity and NaN support.
+ * object.c (rb_obj_setup): added.
-Sat Feb 20 07:13:31 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
+ * include/ruby/ruby.h (OBJSETUP): use rb_obj_setup() instead of
+ a macro.
- * io.c (rb_file_sysopen): forgot to initialize a local variable.
+Mon May 13 15:24:16 2013 Koichi Sasada <ko1@atdot.net>
-Fri Feb 19 23:05:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c (rb_data_object_alloc): check klass only if klass is not 0.
+ klass==0 means internal object.
- * string.c (rb_str_subseq): range check changed.
+Mon May 13 14:57:28 2013 Koichi Sasada <ko1@atdot.net>
- * marshal.c: increment MARSHAL_MINOR for Time format change.
+ * gc.c (rb_data_object_alloc, rb_data_typed_object_alloc):
+ use NEWOBJ_OF() instead of NEWOBJ().
- * time.c (time_old_load): support old marshal format.
+Mon May 13 14:51:59 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * time.c (time_load): changed for new format Y/M/D/h/m/s/usec.
+ * proc.c (rb_obj_singleton_method): new method Kernel#singleton_method
+ which returns a Method object of the singleton method.
+ non-singleton method causes NameError, but not aliased or zsuper
+ method, right now.
+ [ruby-core:54914] [Feature #8391]
- * time.c (time_dump): marshal dump format has changed.
+ * vm_method.c (rb_method_entry_at): return the method entry for id at
+ klass, without ancestors.
-Fri Feb 19 00:25:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * class.c (rb_singleton_class_get): get the singleton class if exists,
+ or nil.
- * time.c (time_arg): should reject "sep\0" and such.
+Mon May 13 10:20:59 2013 Yuki Yugui Sonoda <yugui@google.com>
- * time.c (time_plus): Time#+ should not receive Time object
- operand.
+ * ext/openssl/ossl_ssl.c: Disabled OpenSSL::SSL::SSLSocket if
+ defined(OPENSSL_NO_SOCK).
- * string.c (rb_str_substr): negative length raises exception now.
+ This fixes a linkage error on platforms which do not have socket.
+ OpenSSL itself is still useful as a set of cryptographic functions
+ even on such platforms.
- * array.c (beg_len): if end == -1, it points end of the array.
+Mon May 13 10:30:04 2013 Zachary Scott <zachary@zacharyscott.net>
- * array.c (rb_ary_subseq): negative length raises exception now.
+ * hash.c: Hash[] and {} are not equivalent by @eam [Fixes GH-301]
-Thu Feb 18 20:57:04 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+Mon May 13 10:04:22 2013 Zachary Scott <zachary@zacharyscott.net>
- * time.c (rb_strftime): strftime() may return 0 on success too.
+ * random.c: Document Random::DEFAULT by @eLobato [Fixes GH-304]
- * time.c (time_strftime): `\0' within format string should not be
- omitted in the result.
+Sun May 12 21:12:42 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * time.c (rb_strftime): zero length format.
+ * include/ruby/ruby.h (OFFT2NUM): RUBY_REPLACE_TYPE also defines macro
+ to convert int type to VALUE if found.
- * time.c (time_to_a): yday start with 1 now.
+Wed May 8 13:46:52 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * time.c (time_zone): support for long timezone name.
+ * include/ruby/intern.h (rb_iv_set, rb_iv_get): removed. Because
+ ruby.h has a declaration for that.
- * time.c (time_yday): yday start with 1 now.
+Wed May 8 13:49:06 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * time.c (time_minus): minus calculation was wrong.
+ * include/ruby/intern.h (rb_uint2big, rb_int2big, rb_uint2inum)
+ (rb_int2inum, rb_ll2inum, rb_ull2inum): removed because ruby.h
+ has a declaration for these.
- * time.c (time_minus): sec, usec should be at least `long', maybe
- they should be `time_t'.
+Sun May 12 17:52:23 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * time.c (time_plus): addition with float was wrong.
+ * configure.in: removes 'ac_cv_func_fseeko=yes' form MinGW
+ specific definitions.
- * time.c (time_to_s): support for long timezone name.
+Sun May 12 17:25:46 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * time.c (time_gm_or_local): too far future check moved.
+ * file.c (rb_file_s_truncate): use correct type. chsize takes
+ a long.
- * time.c (time_arg): treat 2 digit year as 69-99 => 1969-1999,
- 00-68 => 2000-2068
+Sun May 12 17:18:46 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Thu Feb 18 03:56:47 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * process.c: move '#define HAVE_SPAWNV 1' to win32/Makefile.sub.
+ * win32/Makefile.sub: see above.
- * missing/fnmatch.c: moved to missing directory.
+Sun May 12 17:13:32 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Wed Feb 17 16:22:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * configure.in: removes AC_CHECK_FUNCS(setitimer) because it's
+ unused.
- * struct.c (rb_struct_alloc): actual initialization now be done in
- `initialize'.
+Sun May 12 17:08:16 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Wed Feb 17 09:47:15 1999 okabe katsuyuki <hgc02147@nifty.ne.jp>
+ * configure.in: removes AC_CHECK_FUNCS(pause) because it's unused.
- * regex.c (re_search): use mbclen() instead of ismbchar().
+Sun May 12 17:05:18 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * re.c (rb_reg_s_quote): should handle mbchars properly.
+ * signal.c (rb_f_kill): fixes typo. s/HAS_KILLPG/HAVE_KILLPG/.
-Wed Feb 17 01:25:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun May 12 17:03:27 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * parse.y (yylex): stop comment concatenation by backslash follows
- after >= 0x80 char. may cause problem with Latin chars.
+ * configure.in: abort if gettimeofday doesn't exist.
- * eval.c (error_print): exception in rb_obj_as_string() caused
- SEGV. protect it by PUSH_TAG/POP_TAG.
+Sun May 12 16:31:27 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * error.c (exc_exception): `Exception#exception' should return self.
+ * configure.in: adds RUBY_REPLACE_TYPE(off_t) for creating
+ NUM2OFFT.
+ * file.c (rb_file_truncate): use correct type. chsize() take
+ a long.
+ * include/ruby/ruby.h (NUM2OFFT): use a definition created by
+ a configure script by default.
-Wed Feb 17 01:12:22 1999 Hirotaka Ichikawa <hirotaka.ichikawa@tosmec.toshiba.co.jp>
+Sun May 12 16:03:41 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * configure.in: BeOS patch.
+ * configure.in: removes AC_CHECK_FUNC(fseeko, fseeko64, ftello,
+ ftello64). They are not used from anywhere.
-Tue Feb 16 14:25:00 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * win32/win32.c (fseeko): removes.
+ * win32/win32.c (rb_w32_ftello): removes.
+ * include/ruby/win32.h: removes declarations of rb_w32_ftello and
+ rb_w32_fseeko.
+ * win32/Makefile.sub: removes '#define HAVE_FTELLO 1'.
- * regex.c (re_compile_pattern): should reallocate mbc space for
- character class unless current_mbctype is ASCII.
+Sun May 12 15:51:47 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Mon Feb 15 15:48:30 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * configure.in: remove AC_CHECK_FUNC(close). It is not used from
+ anywhere.
- * configure.in: specify `-Wl,-E' only for GNU ld.
+Sun May 12 15:50:45 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Mon Feb 15 11:43:22 1999 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp>
+ * configure.in: adds comments for setjmp check.
- * array.c (rb_inspecting_p): should return Qfalse.
+Sun May 12 15:38:09 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Sun Feb 14 22:36:40 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ * configure.in: move clock_gettime() check into regular place.
- * sprintf.c (rb_f_sprintf): `%G' was omitted.
+Wed May 8 13:45:53 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Sun Feb 14 12:47:48 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ * configure.in: add getenv() declaration check.
+ * dln_find.c: add HAVE_DECL_GETENV test.
- * numeric.c (Init_Numeric): allow divide by zero on FreeBSD.
+Sun May 12 15:33:18 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * numeric.c (Init_Numeric): FloatDomainError added.
+ * configure.in: sorts AC_CHECK_FUNCS()s as alphabetical order.
- * configure.in (AC_REPLACE_FUNCS): add checks for functions
- isinf, isnan, and finite.
+Wed May 8 13:41:57 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Sat Feb 13 01:24:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c: remove redundant decl for big_lshift() big_rshift().
- * eval.c (rb_thread_create_0): should protect th->thread.
+Sun May 12 16:06:43 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Fri Feb 12 16:16:47 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
+ * ext/socket/rubysocket.h (rsock_inspect_sockaddr): as r40646
+ check HAVE_TYPE_STRUCT_SOCKADDR_DL.
- * string.c (rb_str_inspect): wrong mbc position.
+Sat May 11 23:01:58 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Fri Feb 12 16:21:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/rubysocket.h (HAVE_TYPE_STRUCT_SOCKADDR_DL):
+ MSVC has struct sockaddr_dl, but its content is broken.
+ http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20130511T103938Z.log.html.gz
- * eval.c (rb_thread_fd_close):
+Sat May 11 22:07:42 2013 Tanaka Akira <akr@fsij.org>
- * io.c (rb_io_fptr_close): tell scheduler that fd is closed.
+ * test/rinda/test_rinda.rb: Socket.getifaddrs may returns an interface
+ which #addr method returns nil for venet0 in OpenVZ.
- * io.c (rb_io_reopen): ditto.
+Sat May 11 21:56:34 2013 Tanaka Akira <akr@fsij.org>
- * io.c (READ_CHECK): check if closed after thread context switch.
+ * ext/socket/raddrinfo.c (rsock_inspect_sockaddr): Add casts to
+ suppress warnings.
- * ext/socket/socket.c (bsock_close_read): do not check
- the return value from shutdown(2).
+Sat May 11 17:28:51 2013 Tanaka Akira <akr@fsij.org>
- * ext/socket/socket.c (bsock_close_write): ditto.
+ * ext/socket: New method, Socket.getifaddrs, implemented.
+ [ruby-core:54777] [Feature #8368]
- * ext/socket/socket.c (sock_new): need to dup(fd) for close_read
- and close_write.
+Sat May 11 00:47:22 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (here_document): handle newlines within #{}.
+ * gc.h (SET_MACHINE_STACK_END): Add !defined(_ILP32) to a defining
+ condition to avoid compilation error on x32.
+ https://sites.google.com/site/x32abi/
- * regex.h: should replace symbols for ruby.
+Fri May 10 23:56:34 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Feb 12 00:46:28 1999 Shugo Maeda <shugo@netlab.co.jp>
+ * parse.y (parser_peek_variable_name): treat invalid global, class,
+ and instance variable names as mere strings rather than errors.
+ [ruby-core:54885] [Bug #8375]
- * marshal.c (r_object): should update the method name in message.
+Fri May 10 20:22:40 2013 Tanaka Akira <akr@fsij.org>
- * marshal.c (w_object): limit should be converted into Fixnum.
+ * configure.in: Move library checks into "Checks for libraries." part.
-Wed Feb 10 15:20:03 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri May 10 19:32:01 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (re_match): empty pattern should not cause infinite
- pattern match loop.
+ * configure.in: Reformat arguments of AC_CHECK_HEADERS and
+ AC_CHECK_FUNCS to track modifications easily.
- * regex.c (re_compile_pattern): RE_OPTIMIZE_ANCHOR for /.*/, not
- for /(.|\n)/.
+Fri May 10 12:01:36 2013 Tanaka Akira <akr@fsij.org>
- * numeric.c (fix_pow): `fixnum**nil' should raise TypeError.
+ * configure.in: Don't link librt if clock_gettime is available in
+ the main C library.
+ glibc 2.17 moves clock_* from librt to the main C library.
+ http://sourceware.org/ml/libc-announce/2012/msg00001.html
- * bignum.c (rb_big_pow): need to normalize results.
+Thu May 9 22:00:35 2013 Tanaka Akira <akr@fsij.org>
-Wed Feb 10 01:42:41 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ * ext/socket/ancdata.c (bsock_sendmsg_internal): controls_num should
+ not be negative.
- * numeric.c (fix_pow): `(5**1).type' should be Integer.
+Thu May 9 21:09:57 2013 Tanaka Akira <akr@fsij.org>
-Tue Feb 9 01:22:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * file.c, ext/etc/etc.c, ext/socket/unixsocket.c,
+ ext/openssl/ossl.h, ext/openssl/openssl_missing.c: Use
+ HAVE_AGGREGATE_MEMBER instead of HAVE_ST_MEMBER.
- * parse.y (yylex): do not ignore newlines in mbchars.
+Thu May 9 20:43:41 2013 Tanaka Akira <akr@fsij.org>
- * io.c (rb_file_s_open): mode can be specified by flags like
- open(2), e.g. File::open(path, File::CREAT|File::WRONLY).
+ * ext/socket/ancdata.c (bsock_sendmsg_internal): Always set
+ controls_num to raise NotImplementedError appropriately.
+ (bsock_recvmsg_internal): Raise NotImplementedError if
+ :scm_rights=>true is given on platforms which don't have
+ 4.4BSD style control message.
- * io.c (rb_f_open): bit-wise mode flags for pipes
+Thu May 9 12:06:07 2013 Tanaka Akira <akr@fsij.org>
- * io.c (Init_IO): bit flags for open.
+ * ext/socket/rubysocket.h, ext/socket/unixsocket.c,
+ ext/socket/ancdata.c: Use HAVE_STRUCT_MSGHDR_MSG_CONTROL instead
+ of HAVE_ST_MSG_CONTROL.
-Sat Feb 6 22:56:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu May 9 11:30:02 2013 Zachary Scott <zachary@zacharyscott.net>
- * string.c (rb_str_sub_bang): should not overwrite match data by
- regexp match within the block.
+ * string.c: Add call-seq alias for String#=== [Bug #8381]
- * string.c (rb_str_gsub_bang): ditto.
+Thu May 9 11:14:18 2013 Zachary Scott <zachary@zacharyscott.net>
-Sat Feb 6 03:06:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * doc/contributing.rdoc: Add guide for contributing to CRuby
- * re.c (match_getter): accessing $~ without matching caused SEGV.
+Thu May 9 04:55:49 2013 Tanaka Akira <akr@fsij.org>
-Fri Feb 5 22:11:08 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ * configure.in: Check socket library again. shutdown() is used in
+ io.c.
- * parse.y (yylex): binary literal support, like 0b01001.
+Thu May 9 01:52:31 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (yylex): octal numbers can contain `_'s.
+ * configure.in: Don't check socketpair. socketpair is not used in
+ ruby command itself.
- * parse.y (yylex): warns if non-octal number follows immediately
- after octal literal.
+Thu May 9 01:05:41 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (yylex): now need at least one digit after prefix such
- as 0x, or 0b.
+ * class.c (rb_mod_included_modules): should not include non-modules.
+ [ruby-core:53158] [Bug #8025]
- * bignum.c (rb_str2inum): recognize binary numbers like 0b0101.
+Wed May 8 22:46:59 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Feb 5 03:26:56 1999 Yasuhiro Fukuma <yasuf@big.or.jp>
+ * class.c (rb_mod_included_modules): should not include the original
+ module itself. [ruby-core:53158] [Bug #8025]
- * ruby.c (proc_options): -e without program prints error.
+Wed May 8 17:43:55 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Fri Feb 5 00:01:50 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * io.c (rb_io_ext_int_to_encs): ignore internal encoding if external
+ encoding is ASCII-8BIT. [Bug #8342]
- * parse.y (terms): needed to clear heredoc_end.
+Wed May 8 13:49:38 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * numeric.c (flo_div): allow float division by zero.
+ * ext/json/generator/generator.c (isArrayOrObject): cast char to
+ unsigned char. [Bug #8378]
-Thu Feb 4 11:56:24 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed May 8 13:46:10 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * missing/strtod.c: for compatibility.
+ * ext/json/generator/depend: fix dependencies [Bug #8379]
- * configure.in (strtod): add strtod compatible check.
+ * ext/json/parser/depend: ditto.
- * numeric.c (rb_num2long): missing/vsnprintf.c does not support
- floating points.
+Wed May 8 13:07:17 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * numeric.c (flo_to_s): ditto.
+ * parse.y (parser_yylex): fail if $, @, @@ are not followed by a valid
+ name character. [ruby-core:54846] [Bug #8375].
-Wed Feb 3 23:02:12 1999 Yoshida Masato <yoshidam@yoshidam.net>
+Wed May 8 13:06:31 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * regex.c (re_compile_pattern): use ismbchar() to get next char.
+ * include/ruby/ruby.h (ISGRAPH): add missing macro.
- * regex.c (re_search): wrong mbchar shift.
+Wed May 8 06:42:56 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * re.c (rb_reg_search): needed to reset $KCODE after match.
+ * ext/socket/socket.c (socket_s_ip_address_list): fix wrongly filled
+ sin6_scope_id on KAME introduced by r40593 for OpenIndiana.
+ KAME uses fe80:<scope_id>::<interface id> for link-local address
+ internally.
+ Setting sin6_scope_id causes it leaked.
+ see also comments of sockaddr_obj().
- * regex.c (re_compile_fastmap): mbchars should match with \w.
+Tue May 7 22:12:34 2013 Tanaka Akira <akr@fsij.org>
-Wed Feb 3 22:35:12 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ * ext/readline/readline.c (insert_ignore_escape): Add a cast to
+ unsigned char * before dereference.
+ This suppress a warning on Cygwin.
- * parse.y (yylex): too big float raise warning, not error.
+Tue May 7 12:15:24 2013 Tanaka Akira <akr@fsij.org>
-Tue Feb 2 23:41:42 1999 Yoshida Masato <yoshidam@yoshidam.net>
+ * ext/socket/ancdata.c (bsock_recvmsg_internal): Add a cast to
+ suppress warning.
+ Bionic defines socklen_t as int.
+ Bionic defines msg_controllen as unsigned int (__kernel_size_t)
+ instead of socklen_t as POSIX.
- * regex.c (re_match): wrong boundary.
+Tue May 7 12:12:42 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (IS_A_LETTER): re_mbctab[c] may not be 1 for mbc.
+ * ext/socket/ancdata.c (ancillary_inspect): Don't call
+ anc_inspect_ipv6_pktinfo if !HAVE_TYPE_STRUCT_IN6_PKTINFO.
+ anc_inspect_ipv6_pktinfo is not defined in the case.
- * regex.c (re_search): mbchar support for shifting ranges.
+Tue May 7 12:10:52 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (MBC2WC): wrong conversion.
+ * ext/socket/socket.c (socket_s_ip_address_list): Cast EXTRA_SPACE as
+ int. This suppress a warning.
-Wed Feb 3 15:03:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue May 7 12:09:29 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (parse_regx): need to escape parens if terminators are
- not any kind of parenthesis.
+ * ext/socket/extconf.rb: Set close_fds false for Cygwin.
+ Cygwin doesn't support fd passing.
+ This enables socket extension library cross-compilable by default.
- * parse.y (parse_qstring): ditto.
+Tue May 7 12:07:35 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (parse_string): ditto.
+ * pack.c (swap32): Don't redefine it if it is already defined.
+ Bionic defines it.
+ (swap64): Ditto.
-Tue Feb 2 17:11:26 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
+Mon May 6 20:50:37 2013 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_gsub_bang): too small realloc condition.
+ * ext/socket/socket.c (socket_s_ip_address_list): Fill sin6_scope_id
+ if getifaddrs() returns an IPv6 link local address which
+ sin6_scope_id is zero, such as on OpenIndiana SunOS 5.11.
-Mon Feb 1 10:01:17 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+Sun May 5 18:56:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (yylex): range check for the float literal.
+ * insns.def (defined): use vm_search_superclass() like as normal super
+ call. based on a patch <https://gist.github.com/wanabe/5520026> by
+ wanabe.
-Sat Jan 30 18:34:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * vm_insnhelper.c (vm_search_superclass): return error but not raise
+ exceptions.
- * ruby.c (usage): -h option to show brief command description.
+ * vm_insnhelper.c (vm_search_super_method): check the result of
+ vm_search_superclass and raise exceptions on error.
-Sat Jan 30 08:45:16 1999 IKARASHI Akira <ikarashi@itlb.te.noda.sut.ac.jp>
+Sun May 5 16:29:41 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * lib/cgi-lib.rb: cookie support added.
+ * insns.def (defined): get method entry from the method top level
+ frame, not block frame. [ruby-core:54769] [Bug #8367]
-Sat Jan 30 13:38:24 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun May 5 13:28:54 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * regex.c (re_compile_pattern): mbchars should match with \w
- within character class. Was matching with \W.
+ * template/ruby.pc.in (Cflags): use rubyarchhdrdir for multiarch.
+ [Bug #7874]
- * regex.c (re_match): \w should match with multi byte characters,
- not its first byte.
+Sat May 4 07:20:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Sat Jan 30 10:06:41 1999 Yoshida Masato <yoshidam@yoshidam.net>
+ * doc/security.rdoc: Add note about reporting security vulns
- * re.c (rb_reg_s_new): UTF-8 flag handle (/u, /U).
+Sat May 4 04:13:27 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * re.c (rb_kcode): $KCODE handle for UTF-8.
+ * include/ruby/defines.h (RUBY_ATTR_ALLOC_SIZE): New for
+ attribute((alloc_size(params))).
-Sat Jan 30 01:51:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * include/ruby/defines.h (xmalloc, xmalloc2, xcalloc)
+ (xrealloc, xrealloc2): Annotated by RUBY_ATTR_ALLOC_SIZE.
+ * include/ruby/ruby.h (rb_alloc_tmp_buffer): ditto.
- * array.c (rb_ary_delete_if): RTEST() missing.
+Fri May 3 19:32:13 2013 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
- * hash.c (delete_if_i): ditto.
+ * lib/cgi/util.rb: All class methods modulized.
+ We can use these methods like a function when "include CGI::Util".
+ [Feature #8354]
- * enum.c (Init_Enumerable): select (=find_all), detect (=find)
- added as aliases.
+Fri May 3 14:09:45 2013 Tanaka Akira <akr@fsij.org>
-Fri Jan 29 21:32:19 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
+ * ext/socket/extconf.rb: Make default_ipv6 true for Cygwin.
+ Cygwin supports IPv6 since Cygwin 1.7.1 (2009-12).
+ http://cygwin.com/ml/cygwin-announce/2009-12/msg00027.html
- * hash.c (rb_f_setenv): SEGV caused by small typo.
+Fri May 3 13:35:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jan 29 00:15:58 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/{getaddrinfo,getnameinfo}.c: define socklen_t if not
+ defined, e.g., older VC.
- * lib/parsedate.rb (parsedate): support date format like
- 23-Feb-93, which is required by HTTP/1.1.
+Fri May 3 13:29:11 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * variable.c (find_class_path): avoid calling rb_iv_set().
+ * include/ruby/win32.h (INTPTR_MAX, INTPTR_MIN, UINTPTR_MAX): also
+ should be defined when defining intptr_t and uintptr_t.
+ bigdecimal.c requires the former two now.
- * eval.c (backtrace): do not need to modify $SAFE internally.
+Fri May 3 13:22:12 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * variable.c (classname): inline __classid__ access.
+ * win32/win32.c (poll_child_status): fix build error on older mingw.
- * eval.c (THREAD_ALLOC): needed to initialize wrapper.
+Fri May 3 00:15:58 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
- * lib/ftools.rb (makedirs): allows slash at the end of the path.
+ * common.mk: remove timestamps in distclean-ext realclean-ext.
- * numeric.c (rb_fix_induced_from): ensure result to be Fixnum.
+Thu May 2 23:23:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Jan 28 17:31:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * object.c (rb_obj_is_kind_of): skip prepending modules.
+ [ruby-core:54742] [Bug #8357]
- * numeric.c (flo_to_s): float format changed to "%16.10g".
+ * object.c (rb_class_inherited_p): ditto.
+ [ruby-core:54736] [Bug #8357]
-Thu Jan 28 02:13:11 1999 Yoshinori Toki <toki@freedom.ne.jp>
+Thu May 2 22:11:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_store): expand allocated buffer by 3/2.
+ * bin/irb: remove dead code from sample/irb.rb.
-Wed Jan 27 17:50:02 1999 Kazuhiro HIWADA <hiwada@kuee.kyoto-u.ac.jp>
+Thu May 2 17:32:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * bignum.c (dbl2big): raised error if double is too big to cast
- into long. check added.
+ * marshal.c (copy_ivar_i): get rid of overwriting already copied
+ instance variables. c.f. [Bug #8276]
-Wed Jan 27 03:16:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu May 2 16:55:43 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * variable.c (rb_mod_const_at): can't list constants of the
- untainted objects in safe mode.
+ * thread.c (id_locals): use cached ID.
- * class.c (method_list): can't list methods of untainted objects
- in safe mode.
+ * vm.c (ruby_thread_init): ditto.
-Tue Jan 26 02:40:41 1999 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp>
+ * defs/id.def: add more predefined IDs used in core.
- * prec.c: Precision support for numbers.
+Thu May 2 13:42:42 2013 Ryan Davis <ryand-ruby@zenspider.com>
-Thu Jan 21 19:08:14 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/minitest/*: Imported minitest 4.7.4 (r8483)
+ * test/minitest/*: ditto
- * eval.c (rb_f_raise): calls `exception' method, not `new'.
+Thu May 2 11:32:22 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * error.c (exc_exception): renamed from `new'.
+ * win32/win32.c (poll_child_status): [experimental] set the cause of
+ a child's death to status if its exitcode seems to be an error.
-Wed Jan 20 03:39:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/test_process.rb (TestProcess#test_no_curdir): maybe now
+ we can test it.
- * parse.y (yycompile): rb_in_compile renamed to ruby_in_compile.
+ * test/ruby/test_thread.rb (TestThread#test_thread_timer_and_interrupt):
+ ditto.
- * ruby.c (load_file): define DATA if __END__ appeared in script.
+Thu May 2 11:24:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Tue Jan 19 14:57:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/yaml.rb: nodoc EngineManager, add History doc #8344
- * parse.y (here_document): need to protect lex_lastline.
+Wed May 1 21:11:17 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (yylex): disable %//, %'', %``.
+ * time.c (localtime_with_gmtoff_zone): musl libc may return NULL for
+ tm_zone.
-Tue Jan 19 05:01:16 1999 Koji Arai <JCA02266@nifty.ne.jp>
+Wed May 1 18:59:36 2013 Benoit Daloze <eregontp@gmail.com>
- * array.c (beg_len): round range value too much.
+ * enum.c (Enumerable#chunk): fix grammar of error message
+ for symbols beginning with an underscore [Bug #8351]
-Mon Jan 18 13:02:27 1999 Kuroda Jun <jkuro@dwe.co.jp>
+Wed May 1 16:47:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * hash.c (env_keys): strchr() may return NULL.
+ * ext/curses/extconf.rb (curses_version): try once for each tests, a
+ function or a variable. fallback to variable for old SVR4.
-Mon Jan 18 17:51:47 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed May 1 16:17:46 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * instruby.rb (wdir): install libruby.a in archdir.
+ * ext/extmk.rb (extmake): extensions not to be installed should not
+ make static libraries, but make dynamic libraries always.
- * lib/ftools.rb (install): removes file before installing.
+Wed May 1 12:20:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Mon Jan 18 16:55:31 1999 MAEDA shugo <shugo@aianet.ne.jp>
+ * lib/rake/version.rb: Fix RDoc warning with :include: [Bug #8347]
- * eval.c (rb_callcc): experimental continuation support.
+Wed May 1 11:40:25 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Jan 17 19:45:37 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * defs/id.def (predefined): add "idProc".
- * pack.c (pack_pack): nil packing caused SEGV.
+ * eval.c (frame_func_id): use predefined IDs.
-Sat Jan 16 13:18:03 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * proc.c (mnew, mproc, mlambda): use predefined IDs.
- * string.c (rb_str_concat): character (fixnum) can be append to
- strings
+ * vm.c (rb_vm_control_frame_id_and_class): ditto.
- * array.c (rb_ary_unshift): unshift returns array.
+ * vm.c (Init_VM): ditto.
-Sat Jan 16 01:39:19 1999 Yoshida Masato <yoshidam@tau.bekkoame.ne.jp>
+Tue Apr 30 23:18:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * string.c (rb_str_split_method): UTF-8 support.
+ * lib/benchmark.rb: Update Benchmark results on newer CPU
- * regex.c: UTF-8 support.
+Tue Apr 30 12:31:40 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Jan 14 00:42:55 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * proc.c (mproc, mlambda): use frozen core methods instead of plain
+ global methods, so that methods cannot be overridden.
+ [ruby-core:54687] [Bug #8345]
- * string.c (rb_str_gsub_bang): forget to add offset for null match.
+ * vm.c (Init_VM): define proc and lambda on the frozen core object.
- * eval.c (rb_thread_local_aset): can't modify in tainted mode.
+ * include/ruby/intern.h (rb_block_lambda): add declaration instead of
+ deprecated rb_f_lambda.
- * hash.c (env_each_key): avoid generating temporary array.
+Mon Apr 29 17:02:30 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Wed Jan 13 23:58:50 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/nkf/nkf-utf8/nkf.h: Bionic libc doesn't have locale.
+ [Feature #8338]
- * hash.c (rb_f_setenv): name and value can be tainted.
-Wed Jan 6 02:42:08 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Apr 29 06:58:30 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * bignum.c (Init_Bignum): forgot to define Bignum#===.
+ * ext/openssl/ossl_bn.c (ossl_bn_initialize): no need of alloca for
+ small fixed size array.
- * gc.c (gc_sweep): if add_heap() is called during GC, objects on
- allocated heap page(s) are not marked, should not be recycled.
+ * ext/openssl/ossl_bn.c (ossl_bn_initialize): check overflow first,
+ and use alloca for small size input.
- * gc.c (gc_sweep): should refer latest freelist.
+Mon Apr 29 00:40:13 2013 Benoit Daloze <eregontp@gmail.com>
- * gc.c (id2ref): modified to support performance patch.
+ * lib/yaml.rb: Clarify documentation about YAML being always Psych.
+ Give a tip about using Syck. See #8344.
- * object.c (rb_obj_id): performance patch (no bignum for id).
+Sun Apr 28 23:34:01 2013 Benoit Daloze <eregontp@gmail.com>
-Tue Jan 5 01:56:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/yaml.rb: Use another trick to define the YAML module.
+ https://twitter.com/n0kada/status/328342207511801856
- * config.guess: merge up-to-date from autoconf 2.12.
+Sun Apr 28 23:19:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * array.c (rb_ary_join): avoid calling rb_protect_inspect() till
- it is really needed.
+ * lib/pp.rb: Update PP module overview by @geopet
- * object.c (rb_obj_inspect): show detailed information for the
- instance variables (infinite loop can avoid now).
+Sun Apr 28 22:04:37 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
- * struct.c (rb_struct_inspect): avoid infinite loop.
+ * ext/openssl/ossl_bn.c (ossl_bn_initialize): fix buffer overflow on
+ x64 Windows and memory leak when initializing with integer.
+ [ruby-core:54615] [Bug #8337]
-Sun Jan 3 01:37:58 1999 Takao KAWAMURA <kawamura@ike.tottori-u.ac.jp>
+Sun Apr 28 12:38:04 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * misc/ruby-mode.el (ruby-end-of-defun): moved too much.
+ * README.EXT: correct method name to be used. [Bug #7982]
- * misc/ruby-mode.el (ruby-mode-variables): set paragraph-separator
- for the mode.
+ * README.EXT.ja: add notes too.
- * misc/ruby-mode.el: proper font-lock for `def' and `nil' etc.
+Sun Apr 28 10:35:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Sat Jan 2 17:09:06 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * object.c: With feedback from Steve Klabnik, reverted a change to
+ #untrusted? and #tainted?. Also adjusted grammar for $SAFE levels
- * eval.c (rb_jump_tag): new api to invoke JUMP_TAG. tag values
- can obtained from rb_eval_string_protect()/rb_load_protect().
+Sun Apr 28 10:10:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (rb_rescue): now catches all exceptions but SystemExit.
+ * lib/yaml.rb: Disable setting YAML const twice [ruby-core:54642]
- * eval.c (rb_eval_string_protect): eval string with protection.
+Sun Apr 28 09:50:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (rb_load_protect): load file with protection.
+ * object.c: Documentation for taint and trust [Bug #8162]
- * io.c (rb_io_puts): avoid infinite loop for cyclic arrays.
+Sun Apr 28 09:40:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (rb_thread_local_aref): thread local hash tables.
+ * README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982]
- * object.c (rb_equal): check exact equal before calling `=='.
+Sun Apr 28 08:28:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Thu Dec 31 22:28:53 1998 MAEDA shugo <shugo@aianet.ne.jp>
+ * ext/curses/curses.c: Update Curses::Window example for nicer output
+ Patch by Michal Suchanek [Bug #8121] [ruby-core:53520]
- * eval.c (rb_f_require): feature names should be provided with
- DLEXT extension.
+Sun Apr 28 08:10:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * marshal.c (Init_marshal): need to provide `marshal.so'.
+ * README.EXT: Update note from r40504, by Jeremy Evans [Bug #7982]
-Wed Dec 30 02:29:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Apr 28 08:02:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * variable.c (classname): do not call rb_ivar_set().
+ * README.EXT: Add note to warn use of %i in Exceptions [Bug #7982]
- * eval.c (ruby_run): finalizers were called too early.
+Sun Apr 28 02:41:05 2013 Tanaka Akira <akr@fsij.org>
-Fri Dec 25 12:19:30 1998 Fukuda Masaki <fukuda@wni.co.jp>
+ * configure.in: Fix a typo. Should check endgrent() instead of
+ endgrnam().
- * gc.c (rb_gc_mark): should not return on FL_EXIVAR.
+Sun Apr 28 00:35:45 2013 Tanaka Akira <akr@fsij.org>
-Fri Dec 25 11:56:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * process.c (obj2gid): Don't call endgrent() if not exist.
+ Bionic (Android's libc) don't have endgrent().
- * gc.c (gc_mark): proper scanning for temporary region.
+ * configure.in: Check endgrnam function.
- * eval.c (TMP_ALLOC): protection for C_ALLOCA was broken.
+Sat Apr 27 23:53:00 2013 Charlie Somerville <charlie@charliesomerville.com>
-Thu Dec 24 18:26:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/yaml.rb: add security warning to YAML documentation
- * development version 1.3 released.
+Sat Apr 27 23:25:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Thu Dec 24 00:17:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/yaml.rb: Documentation for YAML module [Bug #8213]
- * eval.c (rb_load): top self should be set properly.
+Sat Apr 27 20:19:21 2013 Tanaka Akira <akr@fsij.org>
- * variable.c (classname): check __classpath__ if it is defined.
+ * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
+ This fixes a compilation failure while cross-compiling for Tensilica
+ Xtensa Processor.
- * variable.c (classname): invalid warning at -v with static linked
- ruby interpreter.
+Sat Apr 27 19:32:44 2013 Benoit Daloze <eregontp@gmail.com>
- * eval.c (is_defined): modified for expr::Const support.
+ * thread.c: fix typos and documentation
- * eval.c (rb_eval): invoke method expr::Const if expr is not class
- nor module.
+Sat Apr 27 19:04:55 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (primary): enable expr::identifier as method
- invocation.
+ * sparc.c: Use __asm__ instead of asm for gcc.
+ gcc doesn't provide asm keyword if -ansi option is given.
+ http://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html
-Wed Dec 23 03:04:36 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Apr 27 17:22:50 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (re_match): avoid too many loop pops for (?:..).
+ * ext/socket/extconf.rb: Redundant test removed.
-Tue Dec 22 18:01:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Apr 27 16:00:10 2013 Tanaka Akira <akr@fsij.org>
- * experimental version 1.1d1 released.
+ * ext/socket/extconf.rb (test_recvmsg_with_msg_peek_creates_fds):
+ Extracted.
-Mon Dec 21 01:33:03 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Apr 27 15:50:40 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (TMP_PROTECT): add volatile to ensure GC protection.
+ * internal.h (SIGNED_INTEGER_TYPE_P): New macro.
+ (SIGNED_INTEGER_MAX): Ditto.
+ (SIGNED_INTEGER_MIN): Ditto.
+ (UNSIGNED_INTEGER_MAX): Ditto.
+ (TIMET_MAX): Use SIGNED_INTEGER_MAX and UNSIGNED_INTEGER_MAX.
+ (TIMET_MIN): Use SIGNED_INTEGER_MIN.
- * string.c (rb_str_gsub_bang): calculate buffer size properly.
+ * thread.c (TIMEVAL_SEC_MAX): Use SIGNED_INTEGER_MAX.
+ (TIMEVAL_SEC_MIN): Use SIGNED_INTEGER_MIN.
- * parse.y (lex_get_str): needed to return Qnil at EOS.
+Sat Apr 27 10:52:52 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (find_file): check policy modified, raise exception
- immediately for tainted load_path.
+ * thread.c (TIMEVAL_SEC_MAX, TIMEVAL_SEC_MIN): Consider environments,
+ sizeof(time_t) is smaller than sizeof(tv_sec), such as
+ OpenBSD 5.2 (amd64).
- * hash.c (rb_f_setenv): do not depend on setenv() nor putenv().
+Fri Apr 26 23:34:59 2013 Kouhei Sutou <kou@cozmixng.org>
-Thu Dec 17 06:29:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/rexml/text.rb (REXML::Text.normalize): Fix a bug that all
+ entity filters are ignored. [ruby-dev:47278] [Bug #8302]
+ Patch by Ippei Obayashi. Thanks!!!
+ * test/rexml/test_entity.rb (EntityTester#test_entity_filter): Add
+ a test of the above change.
- * ext/tk/tkutil.c (tk_s_new): use rb_obj_instance_eval(), instead
- of rb_yield_0().
+Fri Apr 26 22:53:55 2013 Kouhei Sutou <kou@cozmixng.org>
- * eval.c (rb_f_require): forgot to call find_file in some cases.
+ * lib/rexml/element.rb (REXML::Attributes#to_a): Support
+ namespaced attributes. [ruby-dev:47277] [Bug #8301]
+ Patch by Ippei Obayashi. Thanks!!!
+ * test/rexml/test_attributes.rb
+ (AttributesTester#test_to_a_with_namespaces): Add a test of the
+ above change.
- * eval.c (rb_f_require): `require "feature.so"' to load dynamic
- libraries. old `require "feature.o"' is still OK.
+Fri Apr 26 21:48:29 2013 Kouhei Sutou <kou@cozmixng.org>
- * eval.c (rb_eval): yield without value dumped core.
+ * lib/rss/atom.rb (RSS::Atom::Entry): Fix indent of document comment.
-Wed Dec 16 16:28:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Apr 26 21:21:17 2013 Kouhei Sutou <kou@cozmixng.org>
- * experimental version 1.1d0 (pre1.2) released.
+ * lib/rss/maker.rb (RSS::Maker): Fix indent of document comment.
-Wed Dec 16 10:43:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Apr 26 18:41:04 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (re_search): bound check before calling re_match().
+ * ext/socket/extconf.rb: Use a block of enable_config() for
+ --{enable,disable}-close-fds-by-recvmsg-with-peek configure option
-Tue Dec 15 13:59:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Apr 26 18:08:08 2013 Tanaka Akira <akr@fsij.org>
- * error.c (exc_to_s): returns class name for unset mesg.
+ * dir.c (dir_set_pos): Fix a compilation error when seekdir() is not
+ exist.
- * error.c (exc_initialize): do not initialize @mesg by "".
+Fri Apr 26 17:41:17 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (nextc): __END__ should handle CR+LF newlines.
+ * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
+ This fixes a compilation failure while cross-compiling for ARM.
-Wed Dec 9 13:37:12 1998 MAEDA shugo <shugo@aianet.ne.jp>
+Fri Apr 26 14:35:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * pack.c (encodes): use buffering for B-encoding.
+ * lib/rss/atom.rb: Documentation for RSS::Atom based on a patch by
+ Michael Denomy
+ * lib/rss/maker.rb: Documentation for RSS::Maker also by @mdenomy
- * pack.c (pack_pack): Q-encoding by 'M'.
+Fri Apr 26 12:41:22 2013 Tanaka Akira <akr@fsij.org>
-Tue Dec 8 14:10:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/curses/extconf.rb: Test linkability of curses_version at first.
- * variable.c (generic_ivar_get): any object can have instance
- variables now. great improvement.
+ * ext/socket/extconf.rb: Test the behavior of fd passing with MSG_PEEK
+ only if recvmsg(), msg_control member, AF_UNIX and SCM_RIGHTS are
+ available.
- * variable.c (rb_name_class): do not set __classpath__ by default,
- use __classid__ instead.
+Fri Apr 26 00:07:52 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
-Mon Dec 7 22:08:22 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/rinda/ring.rb (Rinda::RingServer#initialize): accept array
+ arguments of address to specify multicast interface.
- * ruby.h (struct RFile): IO objects can have instance variables now.
+ * lib/rinda/ring.rb (Rinda::RingServer#make_socket): add optional
+ arguments for multicast interface.
- * parse.y (primary): allows `def obj::foo; .. end'.
+ * test/rinda/test_rinda.rb
+ (TestRingFinger#test_ring_server_ipv4_multicast,
+ TestRingFinger#test_ring_server_ipv6_multicast): add tests for
+ above change.
-Mon Dec 7 18:24:50 1998 WATANABE Tetsuya <tetsu@jpn.hp.com>
+ * test/rinda/test_rinda.rb
+ (TestRingServer#test_make_socket_ipv4_multicast,
+ TestRingServer#test_make_socket_ipv6_multicast): change bound
+ interface address because multicast address is not allowed on Linux
+ or Windows.
+ [ruby-core:53692] [Bug #8159]
- * ruby.c (set_arg0): $0 support for HP-UX.
+Thu Apr 25 23:45:02 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
-Mon Dec 7 01:30:28 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * lib/rinda/ring.rb (Rinda::RingServer#initialize): add a socket
+ to @sockets in make_socket() to close sockets on shutdown even if
+ make_socket() is called after initialize.
- * dln.c (dln_strerror): better error messages on win32.
+ * lib/rinda/ring.rb (Rinda::RingServer#make_socket): ditto.
-Sat Dec 5 23:27:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Apr 25 23:39:42 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
- * parse.y (here_document): indentable here-doc delimiter by
- `<<-'. Proposed by Clemens <c.hintze@gmx.net>. Thanks.
+ * test/rinda/test_rinda.rb (TupleSpaceProxyTest#test_take_bug_8215):
+ use KILL on Windows since TERM doen't work and ruby process remains
+ after test-all on Windows.
-Thu Dec 3 16:50:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Apr 25 23:16:28 2013 Tanaka Akira <akr@fsij.org>
- * ext/extmk.rb.in (realclean): trouble on install.
+ * ext/curses/extconf.rb: Implement
+ --with-curses-version={function,variable} configure option for
+ cross-compiling.
-Sun Nov 29 22:25:39 1998 Takaaki Tateishi <ttate@jaist.ac.jp>
+Thu Apr 25 18:15:46 2013 Tanaka Akira <akr@fsij.org>
- * process.c (f_exec): check number of argument.
+ * ext/socket/extconf.rb: Don't use WIDE getaddrinfo by default.
-Thu Nov 26 17:27:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Apr 25 17:56:39 2013 Tanaka Akira <akr@fsij.org>
- * version 1.1c9 released.
+ * ext/socket/extconf.rb: Remove obsolete options: ---with-ipv6-lib and
+ --with-ipv6-libdir.
-Wed Nov 25 13:07:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Apr 25 17:43:49 2013 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_dup): do not copy additional data (STR_NO_ORIG).
+ * ext/socket/extconf.rb: Implement
+ --{enable,disable}-close-fds-by-recvmsg-with-peek configure option
+ for cross-compiling.
+ Make --{enable,disable}-wide-getaddrinfo configure option
+ cross-compiling friendly.
- * parse.y (yycompile): reduce known memory leak (hard to remove).
+Thu Apr 25 16:11:06 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Nov 25 03:41:21 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * io.c (rb_io_ext_int_to_encs, parse_mode_enc): bom-prefixed name is
+ not a real encoding name, just a fallback. so the proper conversion
+ should take place even if if the internal encoding is equal to the
+ bom-prefixed name, unless actual encoding is equal to the internal
+ encoding. [ruby-core:54563] [Bug #8323]
- * st.c (st_init_table_with_size): round size up to prime number.
+ * io.c (io_set_encoding_by_bom): reset extenal encoding if no BOM
+ found. [ruby-core:54569]
-Sat Nov 21 23:27:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Apr 25 14:35:01 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * hash.c (rb_hash_aset): reduce copying key strings.
+ * ext/openssl/ossl_bn.c (ossl_bn_initialize): allow Fixnum and Bignum.
+ [ruby-core:53986] [Feature #8217]
- * gc.c (looks_pointerp): declare as inline function if possible.
+Thu Apr 25 14:26:32 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * st.c (PTR_NOT_EQUAL): compare hash values first before calling
- comparing function.
+ * lib/uri/common.rb (URI.decode_www_form): follow current URL Standard.
+ It gets encoding argument to specify the character encoding.
+ It now allows loose percent encoded strings, but denies ;-separator.
+ [ruby-core:53475] [Bug #8103]
- * st.c (ADD_DIRECT): save hash value in entries to reduce hash
- calculation.
+ * lib/uri/common.rb (URI.decode_www_form): follow current URL Standard.
+ It gets encoding argument to convert before percent encode.
+ Now UTF-16 strings aren't converted to UTF-8 before percent encode
+ by default.
- * string.c (rb_str_gsub_bang): avoid rb_scan_args() to speed-up.
+Wed Apr 25 14:26:00 2013 Charlie Somerville <charlie@charliesomerville.com>
- * string.c (rb_str_sub_bang): ditto.
+ * benchmark/bm_hash_shift.rb: add benchmark for Hash#shift
-Sat Nov 21 18:44:06 1998 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
+ * hash.c (rb_hash_shift): use st_shift if hash is not being iterated to
+ delete element without iterating the whole hash.
- * time.c (time_s_now): had memory leak.
+ * hash.c (shift_i): remove function
- * ext/md5/md5init.c (md5_new): had memory leak.
+ * include/ruby/st.h (st_shift): add st_shift function
- * ext/md5/md5init.c (md5_clone): ditto.
+ * st.c (st_shift): ditto
-Fri Nov 20 23:23:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ [Bug #8312] [ruby-core:54524] Patch by funny-falcon
- * lib/delegate.rb: do not propagate hash and eql?.
+Thu Apr 25 12:03:38 2013 Tanaka Akira <akr@fsij.org>
-Thu Nov 19 01:40:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/extconf.rb: Extract C programs as toplevel constants.
- * sample/ruby-mode.el (ruby-expr-beg): failed to find reserved
- word boundary.
+Thu Apr 25 02:23:28 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_eval): avoid calling `concat' method. calls
- rb_ary_concat() directly for efficiency.
+ * configure.in (RUBY_RM_RECURSIVE): this hack is needed by only
+ autoconf 2.69 or earlier on darwin.
- * eval.c (rb_eval): actual rest arguments extended arrays too much.
+Thu Apr 25 01:22:41 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Nov 18 14:30:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/tracer.rb (get_line): simply read by File.readlines.
- * class.c (rb_define_global_function): global functions now be
- module function of the Kernel.
+ * lib/debug.rb (script_lines): get source lines from SCRIPT_LINES__ or
+ read from the file.
-Wed Nov 18 10:48:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/debug.rb (display_list): use script_lines instead of recursion.
+ [Bug #8318]
- * io.c (read_all): SEGV on large files.
+ * lib/debug.rb (line_at): use script_lines same as display_list.
-Tue Nov 17 18:11:20 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/debug.rb (display_list): Fix debug listing when called from the
+ same file it has been required. patch by Dario Bertini <berdario AT
+ gmail.com> [Bug #8318] [fix GH-280]
- * version 1.1c8 released.
+Wed Apr 24 21:51:13 2013 Tanaka Akira <akr@fsij.org>
-Tue Nov 17 16:58:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * configure.in: Check mblen().
+ mblen() is optional in uClibc.
- * parse.y (arg): assignment to attribute name start with capital
- should be allowed.
+ * eval_intern.h (CharNext): Don't use mblen() is not available.
- * eval.c (thread_alloc): needed to mark terminated threads too.
+Wed Apr 24 15:55:06 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Tue Nov 17 12:33:48 1998 Motoyuki Kasahara <m-kasahr@sra.co.jp>
+ * io.c (rb_fd_fix_cloexec): use rb_update_max_fd().
- * ext/extmk.rb.in (create_makefile): Set `libdir' to `@libdir@',
- Set `pkglibdir' to `$libdir/$(RUBY_INSTALL_NAME)'.
+Wed Apr 24 14:08:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Tue Nov 17 10:30:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * numeric.c: Fix wiki link on Float imprecision in overview, patched
+ by Makoto Kishimoto [Bug #8304] [ruby-dev:47280]
- * sprintf.c (f_sprintf): %l%%c -> %%l%c
+Wed Apr 24 14:03:59 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Nov 17 01:08:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * parse.y (parser_yylex): disallow $- without following identifier
+ character. [ruby-talk:406969]
- * parse.y (ret_args): distinguish `a' and `*a' for the arguments
- of yield and return.
+ * parse.y (is_special_global_name): mere $- is not a valid global
+ variable name.
- * eval.c (rb_eval): flip3 should work like sed.
+Wed Apr 24 13:54:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (rb_eval): flip{2,3} now have independent state for each
- scope to work fine with thread.
+ * string.c: Document String#setbyte return value by @gjmurakami-10gen
+ [Fixes GH-294]
-Mon Nov 16 23:26:29 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Apr 24 13:45:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * parse.y (primary): exec else clause if no exception raised.
+ * class.c: Example of Object#methods by @windwiny [Fixes GH-293]
+ * ruby.c: Document return values of Kernel #sub, #gsub, and #chop
-Sun Nov 15 15:44:07 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+Wed Apr 24 12:54:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * ext/extmk.rb.in (install): bug in target.
+ * ext/socket/lib/socket.rb: Doc typos by @vipulnsward [Fixes GH-292]
-Sat Nov 14 11:02:05 1998 Motoyuki Kasahara <m-kasahr@sra.co.jp>
- * Makefile.in (install): Give the argument `$(DESTDIR)' to
- `instruby.rb'.
+Wed Apr 24 12:54:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * instruby.rb: Recognize ARG[0] as `destdir'.
+ * ext/socket/lib/socket.rb: Doc typos by @vipulnsward [Fixes GH-292]
- * instruby.rb: Give the argument `destdir' to `extmk.rb'.
+Wed Apr 24 12:27:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * ext/extmk.rb.in: Recognize ARG[1] as `$destdir'.
+ * array.c: Fix documentation for Array#index and #replace aliases
+ Based on a patch by @phiggins [Fixes GH-282]
- * instruby.rb: Create the installation directories (bindir, libdir,
- archdir, pkglibdir, archdir, and mandir) under `destdir', and
- install all files under there.
+Tue Apr 23 21:14:38 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * ext/extmk.rb.in: Likewise.
+ * string.c (rb_str_inspect): refix r40413, on Ruby 1.9 usual character
+ escape uses hex/Unicode escapes, so fix to use Unicode escape on
+ Unicode strings and hex on others. [ruby-core:54458] [Bug #8290]
-Sat Nov 14 10:56:55 1998 Motoyuki Kasahara <m-kasahr@sra.co.jp>
+Tue Apr 23 20:10:02 2013 Tanaka Akira <akr@fsij.org>
- * instruby.rb: Add the variable `pkglibdir'.
+ * missing/isnan.c (isnan): Don't define if isnan() macro is defined.
+ This fixes a compilation failure on uClibc based Gentoo system.
- * instruby.rb: Set the variable `libdir' to `$(libdir)', not
- `$(libdir)/$(ruby_install_name)'. `libruby.so' and `libruby.so.LIB'
- are installed at `libdir'.
+Tue Apr 23 17:40:40 2013 Martin Duerst <duerst@it.aoyama.ac.jp>
- * instruby.rb: Set the variable `archdir' to `$(pkglibdir)/$(arch)'.
+ * lib/rexml/document.rb, lib/rexml/element.rb,
+ lib/rexml/formatters/pretty.rb: remove opinionated
+ language in documentation. [Bug #8309],
+ reported by Charles Beckmann
-Fri Nov 13 19:43:29 1998 KIMURA Koichi <kbk@kt.rim.or.jp>
+Tue Apr 23 14:04:44 2013 Shugo Maeda <shugo@ruby-lang.org>
- * missing/nt.c (SafeFree): wrong free offset.
+ * lib/net/imap.rb (getacl_response): parse the mailbox of an ACL
+ response correctly. [ruby-core:54365] [Bug #8281]
-Thu Nov 12 20:11:53 1998 Koji Arai <JCA02266@nifty.ne.jp>
+Tue Apr 23 11:58:46 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * sample/ruby-mode.el: wrong highlight.
+ * string.c (rb_str_scrub): fix for UTF-32. strlen() on strings
+ contain NUL returns wrong result, use sizeof operator instead.
+ [ruby-dev:45975] [Feature #6752]
- * parse.y (parse_regx): newline in regexp was ignored.
+Tue Apr 23 10:26:50 2013 Akinori MUSHA <knu@iDaemons.org>
-Wed Nov 11 10:54:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/test_module.rb
+ (TestModule#test_const_get_invalid_name)
+ (test_const_defined_invalid_name): Fix expected values.
- * parse.y (here_document): <<'FOO' should not escape anything.
+Tue Apr 23 09:51:26 2013 Akinori MUSHA <knu@iDaemons.org>
- * parse.y (here_document): bare << here-doc available, even though
- it's deprecated.
+ * string.c (rb_str_inspect): NUL should not be represented as "\0"
+ when octal digits may follow. [ruby-core:54458] [Bug #8290]
- * file.c (rb_file_s_readlink): return value should be tainted.
+Mon Apr 22 22:54:00 2013 Charlie Somerville <charlie@charliesomerville.com>
- * ext/etc/etc.c (setup_passwd): information (eg. GCOS name) should
- be tainted (modified at Perl Conference).
+ * insns.def (opt_mod): Use % operator if both operands are positive for
+ a significant performance improvement. Thanks to @samsaffron.
-Tue Nov 10 00:22:11 1998 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+Mon Apr 22 17:09:37 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * configure.in: elf support for FreeBSD 3.x
+ * marshal.c (r_object0): copy all instance variables not only generic
+ ivars, before calling post proc. [ruby-core:51163] [Bug #7627]
-Tue Nov 10 00:05:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Apr 22 10:25:21 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * parse.y (yylex): here document available in eval.
+ * util.c (ruby_hdtoa): revert r29729.
+ If you want ruby to behave as before on x86, specify to use SSE like
+ -msse2 -mfpmath=sse for gcc.
-Mon Nov 9 17:55:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Apr 21 23:19:00 2013 Charlie Somerville <charlie@charliesomerville.com>
- * version 1.1c7 released.
+ * configure.in: Revert using sigsetjmp by default due to performance
+ problems on some systems (eg. older Linux)
-Fri Nov 6 19:25:27 1998 Takao KAWAMURA <kawamura@ike.tottori-u.ac.jp>
+Sun Apr 21 21:35:00 2013 Charlie Somerville <charlie@charliesomerville.com>
- * sample/ruby-mode.el: font-lock patch.
+ * configure.in: Use sigsetjmp by default so jumping out of signal
+ handlers properly restores the signal mask and SS_ONSTACK flag.
+ [ruby-core:54175] [Bug #8254]
-Thu Nov 5 15:42:22 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * configure.in: Manually check for presence of sigsetjmp. It is not a
+ function on some systems, so AC_CHECK_FUNCS cannot be used.
- * sample/README, lib/README: simple description for each file.
+Sun Apr 21 08:00:55 2013 Tanaka Akira <akr@fsij.org>
-Wed Nov 4 18:14:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/csv/test_features.rb, test/logger/test_logger.rb
+ test/mkmf/test_have_macro.rb, test/net/http/test_http.rb,
+ test/openssl/test_config.rb, test/psych/test_encoding.rb,
+ test/psych/test_exception.rb, test/psych/test_psych.rb,
+ test/psych/test_tainted.rb, test/readline/test_readline.rb,
+ test/rexml/test_contrib.rb, test/ruby/test_autoload.rb,
+ test/ruby/test_beginendblock.rb, test/ruby/test_exception.rb,
+ test/ruby/test_file.rb, test/ruby/test_io.rb,
+ test/ruby/test_marshal.rb, test/ruby/test_process.rb,
+ test/ruby/test_require.rb, test/ruby/test_rubyoptions.rb,
+ test/syslog/test_syslog_logger.rb, test/webrick/test_httpauth.rb,
+ test/zlib/test_zlib.rb: Use Tempfile.create.
- * eval.c (assign): attribute assignment should be called as public.
+Sun Apr 21 00:15:36 2013 Tanaka Akira <akr@fsij.org>
-Tue Nov 3 23:36:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/tempfile.rb (Tempfile.create): Close when the block exits.
- * string.c (rb_str_dump): dumps core for negative char value.
+Sat Apr 20 23:38:14 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (re_compile_pattern): out of boundary access for empty
- regexp.
+ * lib/webrick/httpauth/htpasswd.rb: Use Tempfile.create to avoid
+ unintentional unlink() by the finalizer.
+ lib/webrick/httpauth/htdigest.rb: Ditto.
-Mon Nov 2 22:54:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Apr 20 22:47:48 2013 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_aset): `str[str]' replaces first match.
+ * lib/tempfile.rb (Tempfile.create): New method.
+ The method name is proposed by Shugo Maeda. [ruby-dev:47220]
+ [ruby-core:41478] [Feature #5707]
-Mon Nov 2 18:24:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Apr 20 14:22:10 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (thread_create): was accessing modified status.
+ * marshal.c (w_object): dump no ivars to the original by marshal_dump.
+ [ruby-core:54334] [Bug #8276]
-Sun Nov 1 01:18:52 1998 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+ * marshal.c (r_object0): copy all ivars of marshal_dump data to the
+ result object instead. [ruby-core:51163] [Bug #7627]
- * gc.c (xrealloc): size 0 needs round up to 1.
+Sat Apr 20 02:33:27 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Sat Oct 31 23:18:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * string.c (str_scrub): add ruby method String#scrub which verify and
+ fix invalid byte sequence. [ruby-dev:45975] [Feature #6752]
- * string.c (rb_str_split_method): negative LIMIT means number of
- split fields are unlimited, as in perl.
+ * string.c (str_compat_and_valid): check given string is compatible
+ and valid with given encoding.
- * string.c (rb_str_split_method): if LIMIT is unspecified,
- trailing null fields are stripped.
+ * transcode.c (str_transcode0): If invalid: :replace is specified for
+ String#encode, replace invalid byte sequence even if the destination
+ encoding equals to the source encoding.
-Sat Oct 31 04:16:14 1998 Inaba Hiroto <inaba@st.rim.or.jp>
+Fri Apr 19 21:55:40 2013 Kouhei Sutou <kou@cozmixng.org>
- * string.c (str_aref): regexp index SEGVed.
+ * README.EXT.ja (Data_Wrap_Struct): Remove a description about
+ orphan argument. Oh, I renamed the argument name without
+ changing description at r36180... Sorry....
+ Patch by Makoto Kishimoto. Thanks!!! [ruby-dev:47269] [Bug #8292]
+ * README.EXT.ja (Data_Make_Struct): Add a sample code that describes
+ how it works.
+ Patch by Makoto Kishimoto. Thanks!!! [ruby-dev:47269] [Bug #8292]
-Fri Oct 30 14:33:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Apr 19 17:54:57 2013 Shugo Maeda <shugo@ruby-lang.org>
- * re.c (reg_match): returns nil for unmatch.
+ * lib/net/imap.rb (body_type_msg): should accept
+ message/delivery-status with extra data.
+ [ruby-core:53741] [Bug #8167]
- * dir.c (dir_entries): new method.
+ * test/net/imap/test_imap_response_parser.rb: related test.
- * eval.c (block_pass): do not push block, substitute it.
+Fri Apr 19 13:03:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Oct 30 01:28:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * marshal.c (w_object): do not dump encoding which is dumped with
+ marshal_dump data. [ruby-core:54334] [Bug #8276]
- * range.c (range_check): avoid <=> check for Fixnums.
+Fri Apr 19 11:36:53 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * array.c (rb_ary_aset): accept negative index.
+ * configure.in (stack_protector): control use of -fstack-protector.
-Wed Oct 28 22:00:54 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * configure.in (debugflags): let -fstack-protector precede and disable
+ debugflags, because they can't work together on SmartOS. [Bug #8268]
- * regex.c (re_match): access out of boundary fixed.
+Fri Apr 19 07:43:52 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Wed Oct 28 11:37:42 1998 TAMITO <tommy@valley.ne.jp>
+ * test/openssl/test_cipher.rb: Correct a typo
+ by jgls <joerg@joergleis.com>
+ https://github.com/ruby/ruby/pull/291 fix GH-291
- * io.c (f_select): fd number comparison bug.
+Thu Apr 18 16:58:51 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Oct 27 23:07:11 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * vm_method.c (rb_mod_public_method): fix visibility on anonymous
+ module. set visibility of singleton method, not method in base
+ class. [ruby-core:54404] [Bug #8284]
- * sample/ruby-mode.el (ruby-parse-region): forgot to support %w()
- style array literal.
+Thu Apr 18 16:20:51 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_eval): unused block raises warning.
+ * dir.c (glob_helper): should skip dot directories only for recursion,
+ but should not if matching to the given pattern. [ruby-core:54387]
+ [Bug #8283]
-Mon Oct 26 09:37:53 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Apr 18 16:20:21 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (dvar_asgn_push): dvar pushed too many times if
- variable-in-block first appear in loops.
+ * pack.c (pack_unpack): increase buffer size to fix buffer overflow,
+ and fix garbage just after unpacking without missing paddings.
+ [Bug #8286]
-Sun Oct 25 22:59:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Apr 18 13:35:54 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * regex.c (set_list_bits): was using wrong offset.
+ * pack.c (pack_unpack): output characters even if the input doesn't
+ have paddings. [Bug #8286]
-Thu Oct 22 00:07:11 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Apr 18 08:20:48 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * eval.c (rb_obj_method): method retrieved from tainted object
- should be tainted too.
+ * common.mk (clean-ext): remove timestamps.
- * eval.c (method_call): safe_level should be restored during
- Method#call.
+Wed Apr 17 22:07:50 2013 Tanaka Akira <akr@fsij.org>
-Wed Oct 21 14:21:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/rubysocket.h (SOCKLEN_MAX): Expression simplified.
- * io.c (Init_IO): new constants IO::SEEK_{SET,CUR,END}.
+Wed Apr 17 20:09:19 2013 Aman Gupta <ruby@tmm1.net>
- * io.c (rb_f_ungetc): ungetc pushes a char back into STDIN.
+ * compile.c (iseq_add_mark_object): Use new rb_iseq_add_mark_object().
-Mon Oct 19 11:50:00 1998 Motoyuki Kasahara <m-kasahr@sra.co.jp>
+ * insns.def (setinlinecache): Ditto.
- * ext/extmk.rb: Load '@top_srcdir@/lib/find.rb', not
- '../lib/find.rb'.
+ * iseq.c (rb_iseq_add_mark_object): New function to allocate
+ iseq->mark_ary on demand. [Bug #8142]
- * ext/extmk.rb: Distinguish between `top_srcdir' and `topdir'.
+ * iseq.h (rb_iseq_add_mark_object): Ditto.
- * Makefile.in (CFLAGS): Add `-I.'.
+ * iseq.c (prepare_iseq_build): Avoid allocating mark_ary until needed.
- * Makefile.in (lex.c): Give `@srcdir@/keywords' to gperf, not
- `keywords'.
+ * iseq.c (rb_iseq_build_for_ruby2cext): Ditto.
- * instruby.rb: Use `CONFIG["bindir"]', instead of `prefix + "/bin"'.
+Wed Apr 17 20:00:18 2013 Tanaka Akira <akr@fsij.org>
- * instruby.rb: Use `CONFIG["libdir"]', instead of `prefix + "/lib"'.
+ * ext/socket/rubysocket.h (SOCKLEN_MAX): Defined.
- * instruby.rb Use `CONFIG["mandir"]', instead of `prefix + "/man"'.
+ * ext/socket/raddrinfo.c (ext/socket/raddrinfo.c): Reject too long
+ Linux abstract socket name.
- * instruby.rb (wdir): Add the variable to preserve the current
- working directory.
+Wed Apr 17 19:45:27 2013 Aman Gupta <tmm1@ruby-lang.org>
- * instruby.rb: Chdir to wdir before install `config.h' and
- `rbconfig.rb'.
+ * iseq.c (iseq_location_setup): re-use existing string when iseq has
+ the same path and absolute_path. [Bug #8149]
-Mon Oct 19 10:07:01 1998 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
+Wed Apr 17 11:38:37 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_eval): reduce recursive calls to rb_eval().
+ * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
+ UNASSIGNED is not a valid message.
-Fri Oct 16 15:31:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Apr 17 10:58:18 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * time.c (time_new_internal): timeval must be positive.
+ * thread.c (sleep_timeval): get rid of overflow on Windows where
+ timeval.tv_sec is not time_t but mere long.
-Thu Oct 15 13:54:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Apr 16 23:07:12 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (arg): local variables can be accessed within right side
- expression in assignment, notably in blocks.
+ * ext/socket/unixsocket.c (unix_send_io): Suppress a warning by clang.
+ (unix_recv_io): Ditto.
-Wed Oct 14 00:18:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Apr 16 12:27:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * array.c (Init_Array): Array#=== is now for equal check, not
- inclusion check.
+ * ext/sdbm/init.c: Fix comment indentation, by windwiny [Fixes GH-277]
- * parse.y (when_args): `when a, *b' style new syntax for array
- expansion in `case'.
+Tue Apr 16 12:25:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Tue Oct 13 14:30:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/option.c: Document synonymous methods, by windwiny [GH-277]
+ * ext/stringio/stringio.c: ditto
+ * ext/io/wait/wait.c: ditto
+ * ext/gdbm/gdbm.c: ditto
+ * ext/dl/cfunc.c: ditto
+ * ext/zlib/zlib.c: ditto
+ * ext/win32ole/win32ole.c: ditto
+ * ext/dbm/dbm.c: ditto
+ * ext/json/generator/generator.c: ditto
+ * ext/date/date_core.c: ditto
- * object.c (rb_obj_untaint): taint marks can be unset.
+Tue Apr 16 11:23:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (rb_eval): taint propagation for embedded strings.
+ * ext/openssl/*: Document synonymous methods, by windwiny [GH-277]
-Mon Oct 12 13:27:15 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Apr 15 22:21:42 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_call0): check stack depth more frequently.
+ * ext/fiddle/depend: New file.
-Mon Oct 12 08:08:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Apr 15 22:01:02 2013 Akinori MUSHA <knu@iDaemons.org>
- * io.c (rb_p): can print even in secure mode.
+ * misc/ruby-electric.el (ruby-electric-insert): Check
+ ruby-electric-is-last-command-char-expandable-punct-p here.
-Sun Oct 11 22:50:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * misc/ruby-electric.el (ruby-electric-closing-char): New
+ interactive function bound to closing characters. Typing one of
+ those closing characters right after the matching counterpart
+ cancels the effect of automatic closing. For example, typing
+ "{" followed by "}" simply makes "{}" instead of "{ } }".
- * variable.c (rb_const_set): taint check for modification.
+Mon Apr 15 12:54:42 2013 Martin Bosslet <Martin.Bosslet@gmail.com>
- * variable.c (rb_ivar_set): taint check for modification.
+ * ext/openssl/ossl_ssl.c: Correct shutdown behavior w.r.t GC.
- * string.c (rb_str_modify): taint check for modification.
+ * test/openssl/test_ssl.rb: Add tests to verify correct behavior.
- * hash.c (rb_hash_modify): taint check for modification.
+ [Bug #8240] Patch provided by Shugo Maeda. Thanks!
- * array.c (rb_ary_modify): taint check for modification.
+Mon Apr 15 10:23:39 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * ruby.h (FL_TAINT): taint for all objects, not only strings.
+ * ext/coverage/depend: fix id.h place as r40283.
-Fri Oct 9 17:01:14 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/coverage/extconf.rb: add topdir and topsrcdir to VPATH.
- * io.c (read_all): read() returns "" at immediate EOF.
+Sun Apr 14 19:46:14 2013 Tanaka Akira <akr@fsij.org>
- * io.c (io_read): read(nil) read all until EOF.
+ * ext/-test-/debug/depend: New file.
-Thu Oct 8 13:32:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/-test-/exception/depend: Ditto.
- * time.c (time_dump): marshal can dump Time object now.
+ * ext/-test-/printf/depend: Ditto.
- * marshal.c (Init_marshal): rename marshal methods `_dump_to' to
- `_dump', `_load_from' to `_load'.
+ * ext/-test-/string/depend: Ditto.
- * parse.y (rb_intern): "+=".intern generates proper symbol.
+ * ext/coverage/depend: Ditto.
-Mon Oct 5 18:31:53 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/io/console/depend: Ditto.
- * version 1.1c6 released.
+ * ext/io/nonblock/depend: Ditto.
-Fri Oct 2 14:22:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/io/wait/depend: Ditto.
- * regex.c (re_search): `/\s*(--)$/ =~ "- --"' did not match,
- because of wrong optimize condition.
+ * ext/openssl/depend: Ditto.
-Mon Oct 1 01:55:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/pathname/depend: Ditto.
- * parse.y (rb_intern): should not raise exceptions.
+ * ext/psych/depend: Ditto.
- * parse.y (yylex): symbol like `:foo?=' should not be allowed.
+ * ext/zlib/depend: Ditto.
- * ext/extmk.rb.in: makes *.a for static link modules.
+Sun Apr 14 02:46:50 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Wed Sep 30 14:13:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/mkmf.rb (MakeMakefile#create_makefile): remove {$(VPATH)} other
+ than nmake.
- * eval.c (rb_thread_start): supports making a subclass of the
- Thread class.
+ * ext/ripper/depend: use VPATH expecting removed by above.
-Tue Sep 29 17:46:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Apr 13 23:06:20 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_thread_join): join is now an instance method.
+ * lib/mkmf.rb (timestamp_file): gather timestamp files in one
+ directory from each extension directories.
-Fri Sep 25 12:01:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Apr 13 21:09:02 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * parse.y (yylex): `@foo!' should be an error.
+ * lib/mkmf.rb (MakeMakefile#create_makefile): output new macro
+ disthdrdir to specify the path of id.h, parse.h and etc.
-Thu Sep 24 14:55:06 1998 WATANABE Tetsuya <tetsu@jpn.hp.com>
+ * ext/ripper/depend: use above macro.
- * ext/etc/etc.c (Init_etc): wrong field definition.
+Sat Apr 13 20:28:08 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Thu Sep 17 17:09:05 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * Merge Onigmo 5.13.4 f22cf2e566712cace60d17f84d63119d7c5764ee.
+ [bug] fix problem with optimization of \z (Issue #16) [Bug #8210]
- * io.c (io_reopen): was creating FILE* for wrong fd.
+Sat Apr 13 18:56:15 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Tue Sep 15 05:28:11 1998 Koji Arai <JCA02266@nifty.ne.jp>
+ * ext/ripper/depend: parse.h and id.h may be created on topdir.
- * regex.c (re_compile_pattern): forgot to fixup for the pattern
- like (?=(A)|(B)).
+Sat Apr 13 12:08:16 2013 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
-Tue Sep 15 01:06:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/matrix.rb: Add Vector#cross_product, patch by Luis Ezcurdia
+ [fix GH-276] [rubyspec:81eec89a124]
- * io.c (rb_io_gets_internal): do not set $_ by default, only
- gets/readline set the variable.
+Sat Apr 13 10:20:37 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_f_load): load toplevel class is set to anonymous
- module if safe_level >= 5, to encapsulate modification.
+ * struct.c (rb_struct_define_without_accessor, rb_struct_define),
+ (rb_struct_s_def): hide member names array.
- * eval.c (rb_f_load): set frame properly.
+ * struct.c (anonymous_struct, new_struct, setup_struct): split
+ make_struct() for each purpose.
- * string.c (rb_str_each_line): do not set $_.
+Sat Apr 13 09:34:31 2013 Tanaka Akira <akr@fsij.org>
-Mon Sep 14 14:42:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h,
+ ruby/st.h and ruby/subst.h for ruby_headers in generated Makefile.
- * regex.c (re_match): beginning and end of the string, do not
- automatically match `\b'.
+ * ext/-test-/old_thread_select/depend: Update dependencies.
- * string.c (scan_once): consume at least on character.
+ * ext/-test-/wait_for_single_fd/depend: Ditto.
- * regex.c (re_search): wrong behavior for negative range.
+ * ext/bigdecimal/depend: Ditto.
-Sat Sep 12 21:21:26 1998 Koji Arai <JCA02266@nifty.ne.jp>
+ * ext/curses/depend: Ditto.
- * regex.c (re_search): range value should be maintained.
+ * ext/digest/bubblebabble/depend: Ditto.
-Thu Sep 10 10:55:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/digest/depend: Ditto.
- * parse.y (backref_error): yyerror does not understand formats.
+ * ext/digest/md5/depend: Ditto.
-Tue Sep 8 18:05:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/digest/rmd160/depend: Ditto.
- * version 1.1c5 released.
+ * ext/digest/sha1/depend: Ditto.
-Tue Sep 8 10:03:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/digest/sha2/depend: Ditto.
- * string.c (str_each_line): wrong line splitting with newline at
- top of the string.
+ * ext/dl/callback/depend: Ditto.
- * string.c: non bang methods return copied string.
+ * ext/dl/depend: Ditto.
- * eval.c (f_END): needed to initialize frame->argc;
+ * ext/etc/depend: Ditto.
-Fri Sep 4 11:27:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/nkf/depend: Ditto.
- * bignum.c (bigadd): proper sign combination.
+ * ext/objspace/depend: Ditto.
- * regex.c (re_search): wrong return value for \A.
+ * ext/pty/depend: Ditto.
-Thu Sep 3 14:08:14 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/readline/depend: Ditto.
- * version 1.1c4 released.
+ * ext/ripper/depend: Ditto.
-Tue Sep 1 10:47:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/sdbm/depend: Ditto.
- * regex.c (slow_search): do not compare llen and blen. llen may
- be longer than blen, if little contains 0xff.
+ * ext/socket/depend: Ditto.
- * regex.c (mbctab_euc): set 0x8e as multibyte character.
+ * ext/stringio/depend: Ditto.
- * string.c (str_inspect): mask character for octal output.
+ * ext/strscan/depend: Ditto.
-Mon Aug 31 15:32:41 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/syslog/depend: Ditto.
- * regex.c (re_search): use calculated offset if exactn is the
- first opcode in the compiled regexp.
+ * ext/-test-/num2int/depend: Removed.
- * regex.c (bm_search): use Boyer-Moore search for simple search.
+ * ext/dbm/depend: Ditto.
- * regex.c (must_instr): wrong length check if pattern includes
- byte escape by 0xff.
+ * ext/fcntl/depend: Ditto.
- * regex.c (re_compile_pattern): need not to check current_mbctype.
+ * ext/gdbm/depend: Ditto.
-Sat Aug 29 16:31:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/racc/cparse/depend: Ditto.
- * eval.c (rb_check_safe_str): avoid calling rb_id2name() in normal
- cases to speed-up.
+Sat Apr 13 00:15:54 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (thread_raise): do not save context of terminated thread.
+ * ext/etc/etc.c (Init_etc): move Passwd and Group under Etc namespace
+ as primary names.
- * regex.c (re_compile_pattern): mask \nnn over 256.
+Fri Apr 12 21:06:55 2013 Tanaka Akira <akr@fsij.org>
-Sat Aug 29 02:09:46 1998 Koji Arai <JCA02266@nifty.ne.jp>
+ * common.mk: pack.o depends on internal.h.
- * sprintf.c (f_sprintf): wrong buffer size check.
+Fri Apr 12 20:59:24 2013 Tanaka Akira <akr@fsij.org>
-Fri Aug 28 01:57:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (ones): Use __builtin_popcountl if available.
- * regex.c (re_compile_pattern): accepts (?ix-ix) and (?ix-ix:...).
+ * internal.h (GCC_VERSION_SINCE): Macro moved from pack.c.
-Fri Aug 28 12:25:33 1998 Hiroshi Igarashi <igarashi@ueda.info.waseda.ac.jp>
+ * pack.c: Include internal.h for GCC_VERSION_SINCE.
- * ruby.c (ruby_require_modules): load modules in appearing order.
+Fri Apr 12 18:29:42 2013 Tanaka Akira <akr@fsij.org>
-Fri Aug 28 01:57:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * common.mk: version.o depends on $(srcdir)/include/ruby/version.h
+ instead of {$(VPATH)}version.h to avoid confusion by VPATH between
+ top level version.h and include/ruby/version.h for build in-place.
+ [ruby-dev:47249] [Bug #8256]
- * regex.c (re_compile_pattern): accepts (?ix-ix) and (?ix-ix:...).
+Fri Apr 12 15:21:24 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Aug 27 12:54:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * vm_insnhelper.c (vm_callee_setup_keyword_arg): non-symbol key is not
+ a keyword argument, keep it as a positional argument.
- * version 1.1c3 released.
+Fri Apr 12 11:58:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Wed Aug 26 14:40:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * array.c: Document synonymous methods, by windwiny [GH-277]
+ * bignum.c: ditto
+ * complex.c: ditto
+ * dir.c: ditto
+ * encoding.c: ditto
+ * enumerator.c: ditto
+ * numeric.c: ditto
+ * proc.c: ditto
+ * re.c: ditto
+ * string.c: ditto
- * eval.c (rb_eval): check whether ruby_class is properly set,
- before accessing it.
+Thu Apr 11 23:41:46 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_obj_instance_eval): ruby_class should be Qnil for
- special objects like Fixnums.
+ * common.mk: Add dependencies for include/ruby.h
- * ext/tkutil/tkutil.c (Init_tkutil): removes calls to
- rb_yield_0(). used instance_eval() instead in the tk.rb.
+ * tool/update-deps: Use "make -p all miniruby ruby golf" to extract
+ dependencies in makefiles.
-Wed Aug 26 11:47:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Apr 11 23:21:17 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (re_match): pop non-greedy stack elements on success.
+ * tool/update-deps: Use "make -p all golf" to extract dependencies in
+ makefiles.
-Wed Aug 26 09:25:35 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Thu Apr 11 21:02:19 2013 Tanaka Akira <akr@fsij.org>
- * ruby.h: add #define environ for cygwin32.
+ * common.mk: Dependency updated.
-Tue Aug 25 08:57:41 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * tool/update-deps: Rewritten.
- * array.c (rb_ary_sort_bang): temporarily freeze sorting array.
+Thu Apr 11 19:59:48 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Mon Aug 24 18:46:44 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * common.mk: partially revert r40183, which breaks building on
+ other than source directory. (its commit log also says the same
+ thing, but such failure is not reproducible on my environment
+ and the commit breaks build on my environment)
- * dln.c (dln_find_1): path check was too strict.
+Thu Apr 11 16:10:01 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Mon Aug 24 15:28:11 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * ext/fiddle/closure.c (USE_FFI_CLOSURE_ALLOC): define 0 on
+ Mac OS X and Linux [Bug #3371]
- * parse.y (f_arglist): opt_nl added after f_args.
+Thu Apr 11 13:19:22 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Fri Aug 21 01:06:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/drb/drbtest.rb (Drb{Core,Ary}#teardown): retry Process.kill
+ if it fails with Errno::EPERM on Windows (workaround).
+ [ruby-dev:47245] [Bug #8251]
- * ext/socket/socket.c: grand renaming on socket.c.
+Thu Apr 11 11:11:38 2013 Akinori MUSHA <knu@iDaemons.org>
- * ext/socket/socket.c (inet_aton): supply inet_aton for those
- systems that do not have it.
+ * dir.c: Fix a typo.
- * ext/socket/socket.c (setipaddr): use inet_aton instead of
- inet_addr.
+Thu Apr 11 10:39:34 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * ext/socket/socket.c (tcp_s_gethostbyname): new method: works
- like Socket.gethostbyname but returning array contains ip-addrs
- as octet decimal string format like "127.0.0.1".
+ * ext/fiddle/closure.c (USE_FFI_CLOSURE_ALLOC): add missing case:
+ RUBY_LIBFFI_MODVERSION is not defined (usually on Windows).
- * ext/socket/socket.c (mkhostent): return format changed to
- [host, aliases, type, ipaddr..] as documented.
+Thu Apr 11 09:27:04 2013 Konstantin Haase <me@rkh.im>
-Wed Aug 19 00:31:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * dir.c (file_s_fnmatch): Document File::FNM_EXTGLOB flag.
- * io.c (io_ctl): forgot to place TRAP_END at right position.
+Thu Apr 11 09:17:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Fri Aug 14 11:01:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * README: Fix typo by Benjamin Winkler [Fixes GH-281]
- * eval.c (call_trace_func): save __FILE__, __LINE__ before
- executing trace_func, since trace function should not corrupt
- line number information.
+Thu Apr 11 06:15:51 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Thu Aug 13 15:09:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * regint.h: fix typo: _M_AMD86 -> _M_AMD64.
- * array.c (ary_s_new): was marking unallocated region on GC.
+ * siphash.c: ditto.
-Tue Aug 11 11:57:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * st.c: ditto.
- * version 1.1c2 released.
+Thu Apr 11 06:09:57 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Mon Aug 10 14:05:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/fiddle/extconf.rb: define RUBY_LIBFFI_MODVERSION macro.
- * process.c (f_system): removed fflush(stdin).
+ * ext/fiddle/closure.c (USE_FFI_CLOSURE_ALLOC): define 0 or 1
+ with platform and libffi's version. [Bug #3371]
-Fri Aug 7 17:44:44 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Apr 11 05:30:43 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * error.c (err_snprintf): replace sprintf for fixed sized buffer,
- with snprintf to avoid buffer over-run. For systems which does
- dot provide snprintf, missing/snprintf.c added.
+ * lib/mkmf.rb (pkg_config): Add optional argument "option".
+ If it is given, it returns the result of
+ `pkg-config --<option> <pkgname>`.
-Wed Aug 5 00:47:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Apr 11 03:33:05 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * re.c (rb_reg_search): recycle match object.
+ * ext/fiddle/closure.c (initialize): check mprotect's return value.
+ If mprotect is failed because of PaX or something, its function call
+ will cause SEGV.
+ http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20130401T210301Z.diff.html.gz
-Mon Aug 3 09:17:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Apr 10 17:39:13 2013 Tanaka Akira <akr@fsij.org>
- * string.c (rb_str_gsub_bang): do not allocate temporary string.
+ * ext/bigdecimal/bigdecimal.c (VpCtoV): Initialize a local variable
+ even when overflow.
- * string.c (rb_str_sub_bang): use inline replace.
+Wed Apr 10 12:32:37 2013 Tanaka Akira <akr@fsij.org>
-Wed Jul 29 00:36:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * bignum.c (rb_ll2big): Don't overflow on signed integer negation.
- * hash.c (hash_s_new): the default value can be specified.
+ * ext/bigdecimal/bigdecimal.c (MUL_OVERFLOW_SIGNED_VALUE_P): New
+ macro.
+ (AddExponent): Don't overflow on signed integer multiplication.
+ (VpCtoV): Don't overflow on signed integer arithmetic.
+ (VpCtoV): Don't overflow on signed integer arithmetic.
- * hash.c (hash_default): method to set the default value.
+Wed Apr 10 06:32:12 2013 Tanaka Akira <akr@fsij.org>
- * hash.c (hash_aref): now returns the default value.
+ * internal.h (MUL_OVERFLOW_INT_P): New macro.
-Tue Jul 28 13:03:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * sprintf.c (GETNUM): Don't overflow on signed integer multiplication.
- * array.c (ary_s_new): argument to specify initial value is added.
+Tue Apr 9 20:38:20 2013 Tanaka Akira <akr@fsij.org>
- * array.c (ary_s_new): specifies size, not capacity.
+ * internal.h (MUL_OVERFLOW_SIGNED_INTEGER_P): New macro.
+ (MUL_OVERFLOW_FIXNUM_P): Ditto.
+ (MUL_OVERFLOW_LONG_P): Ditto.
-Mon Jul 27 12:39:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * array.c (rb_ary_product): Don't overflow on signed integer
+ multiplication.
- * string.c (str_replace): zero fill for expansion gap.
+ * numeric.c (fix_mul): Ditto.
+ (int_pow): Ditto.
- * regex.c (mbctab_euc): set flags on for 0xA1-0xFE. suggested by
- <inaba@st.rim.or.jp>.
+ * rational.c (f_imul): Ditto.
- * string.c (str_inspect): consider current_mbctype.
+ * insns.def (opt_mult): Ditto.
-Sun Jul 26 15:37:11 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+ * thread.c (sleep_timeval): Don't overflow on signed integer addition.
- * array.c (ary_s_new): Array.new(1<<30) dumps core.
+ * bignum.c (rb_int2big): Don't overflow on signed integer negation.
+ (rb_big2ulong): Ditto.
+ (rb_big2long): Ditto.
+ (rb_big2ull): Ditto.
+ (rb_big2ll): Ditto.
-Fri Jul 24 13:40:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Apr 9 19:45:44 2013 Tanaka Akira <akr@fsij.org>
- * version 1.1c1 released.
+ * lib/open-uri.rb: Support multiple fields with same field
+ name (like Set-Cookie).
+ (OpenURI::Meta#metas): New accessor to obtain fields as a Hash from
+ field name (string) to field values (array of strings).
+ [ruby-core:37734] [Bug #4964] reported by ren li.
-Fri Jul 24 02:10:22 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Apr 9 15:26:12 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * marshal.c (r_bytes2): allocated buffer size was too short.
+ * compile.c (iseq_compile_each): append keyword hash to argument array
+ to splat if needed. [ruby-core:54094] [Bug #8236]
- * marshal.c (w_object): saves all options, not only casefold flag.
+Tue Apr 9 10:02:39 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * re.c (reg_clone): now copies options properly.
+ * lib/mkmf.rb (timestamp_file): gather timestamp files in one
+ directory from each extension directories, with considering
+ target_prefix.
- * re.c (reg_get_kcode): code number was wrong.
+Tue Apr 9 04:57:59 JST 2013 Charles Oliver Nutter <headius@headius.com>
-Thu Jul 23 13:11:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * error.c: Capture EAGAIN, EWOULDBLOCK, EINPROGRESS exceptions and
+ export them for use in WaitReadable/Writable exceptions.
+ * io.c: Create versions of EAGAIN, EWOULDBLOCK, EINPROGRESS that
+ include WaitReadable and WaitWritable. Add rb_readwrite_sys_fail
+ for nonblocking failures using those exceptions. Use that
+ function in io_getpartial and io_write_nonblock instead of
+ rb_mod_sys_fail
+ * ext/openssl/ossl_ssl.c: Add new SSLError subclasses that include
+ WaitReadable and WaitWritable. Use those classes for
+ write_would_block and read_would_block instead of rb_mod_sys_fail.
+ * ext/socket/ancdata.c: Use rb_readwrite_sys_fail instead of
+ rb_mod_sys_fail in bsock_sendmsg_internal and
+ bsock_recvmsg_internal.
+ * ext/socket/init.c: Use rb_readwrite_sys_fail instead of
+ rb_mod_sys_fail in rsock_s_recvfrom_nonblock and
+ rsock_s_connect_nonblock.
+ * ext/socket/socket.c: Use rb_readwrite_sys_fail instead of
+ rb_mod_sys_fail in sock_connect_nonblock.
+ * include/ruby/ruby.h: Export rb_readwrite_sys_fail for use instead
+ of rb_mod_sys_fail. Introduce new constants RB_IO_WAIT_READABLE and
+ RB_IO_WAIT_WRITABLE for first arg to rb_readwrite_sys_fail.
- * eval.c (rb_attr): argument should be symbol or string.
+Tue Apr 9 02:44:32 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Jul 22 11:59:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/extconf.rb: $defs needs -D or -U. nothing is added
+ otherwize.
- * regex.c (calculate_must_string): wrong offset added.
+ * ext/socket/extconf.rb: check struct in_addr6, which is defined in
+ VC6 instead of in6_addr.
-Wed Jul 22 11:59:59 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/option.c (optname_to_sym): fix macro name.
- * st.c (rehash): still had a GC problem. fixed.
+ * ext/socket/constants.c (rsock_cmsg_type_arg): fix macro name.
-Tue Jul 21 13:19:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Apr 8 23:57:21 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (gc_mark_threads): crashed on GC before thread allocation.
+ * object.c (id_for_setter): extract common code from const, class
+ variable, instance variable setters.
- * st.c (rehash): GC during rehash caused SEGV.
+Mon Apr 8 23:55:53 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Jul 21 01:25:10 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/depend (ENCOBJS, TRANSOBJS): use explicit path to ruby.h for
+ nmake.
- * sprintf.c (f_sprintf): integer formatter totally re-written.
+ * ext/depend (ENCOBJS, TRANSOBJS): fix header dependency, VPATH has
+ $(srcdir)/include/ruby but not $(srcdir)/include, so cannot find out
+ ruby/ruby.h. use ruby.h instead and ../ruby for include/ruby.h.
- * sprintf.c (remove_sign_bits): support uppercase hexadecimal.
+Mon Apr 8 20:30:37 2013 Yuki Yugui Sonoda <yugui@google.com>
-Sat Jul 18 00:14:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/depend (ENCOBJS, TRANSOBJS): Add missing dependencies.
- * sprintf.c (f_sprintf): proper sign position for %X and %O.
+Mon Apr 8 17:19:28 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jul 17 14:10:20 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/win32ole/win32ole.c (fole_missing): should check actual argument
+ count before accessing.
- * version 1.1c0 released.
+Mon Apr 8 16:03:55 2013 Yuki Yugui Sonoda <yugui@google.com>
-Fri Jul 17 08:01:49 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+ Fixes a build failure of ext/ripper/ripper.c on building out of place.
+ * common.mk (id.h, id.c): Always generated in $(srcdir).
+ (ext/ripper/ripper.c): Passes $(PATH_SEPARATOR) too to the sub make.
- * process.c (f_exec): Check_SafeStr() added.
+Mon Apr 8 12:05:02 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * process.c (f_system): Check_SafeStr() moved before fork().
+ * object.c (rb_obj_ivar_set): call to_str for string only once.
+ to_str was called from rb_is_const_name and rb_to_id before.
-Thu Jul 16 22:58:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * object.c (rb_mod_const_set): ditto.
- * string.c (scan_once): substrings to the block should not be
- tainted. use reg_nth_match(), not str_substr().
+ * object.c (rb_mod_cvar_set): ditto.
- * string.c (str_substr): needed to transfer taint.
+Sun Apr 7 13:56:16 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
-Thu Jul 16 16:15:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/test_require.rb (TestRequire#test_require_nonascii_path):
+ RUBY_PLATFORM should escape as Regexp,
+ because RUBY_PLATFORM may contain '.'.
- * gc.c (xmalloc): object allocation count added to GC trigger.
+Sun Apr 7 10:44:01 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (thread_save_context): avoid marking uninitialized stack
- in thread_mark. GC may be triggered by REALLOC_N().
+ * include/ruby/defines.h: Simplify the logic to include sys/select.h.
+ This fixes a compilation error on Haiku (gcc2 and gcc4).
-Wed Jul 15 15:11:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * configure.in: Use shared linker as $(CC) for Haiku.
+ This fixes a build error on Haiku (gcc2).
- * experimental release 1.1b9_31.
+Sun Apr 7 10:41:30 2013 Tanaka Akira <akr@fsij.org>
-Wed Jul 15 15:05:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/resolv.rb (MDNSOneShot#sender): Delete an unused variable.
- * eval.c (thread_create): exit() and abort() in threads now
- forwarded to main_thread.
+Sun Apr 7 03:24:36 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Tue Jul 14 14:03:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * addr2line.c: use more generic type:
+ * u_char -> unsigned char
+ * u_short -> unsigned short
+ * u_int -> unsigned int
+ * u_long -> unsigned long
+ * quad_t -> int64_t
+ * u_quad_t -> uint64_t
- * variable.c (obj_instance_variables): list names that is not
- instance variables.
+ * addr2line.c (imax): inline is defined by configure.
- * gc.c (GC_MALLOC_LIMIT): choose smaller limit value.
+Sun Apr 7 01:40:39 2013 Akinori MUSHA <knu@iDaemons.org>
-Mon Jul 13 12:39:38 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * misc/ruby-electric.el (ruby-electric-hash): New electric
+ function that expands a hash sign inside a string or regexp to
+ "#{}".
- * object.c (str2cstr): should not return NULL.
+ * misc/ruby-electric.el (ruby-electric-curlies): Do not insert
+ spaces inside when the curly brace is a delimiter of %r, %w,
+ etc.
-Fri Jul 10 11:51:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * misc/ruby-electric.el (ruby-electric-curlies): Insert another
+ space before a closing curly brace when
+ ruby-electric-newline-before-closing-bracket is nil.
- * parse.y (gettable): needed to add dyna_in_block() check.
+Sun Apr 7 01:01:26 2013 Tanaka Akira <akr@fsij.org>
-Thu Jul 9 17:38:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * strftime.c (rb_strftime_with_timespec): Test yday range.
+ [ruby-core:44088] [Bug #6247] reported by Ruby Submit.
- * experimental release 1.1b9_30.
+Sat Apr 6 23:46:54 2013 Naohisa Goto <ngotogenome@gmail.com>
-Thu Jul 9 16:01:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * configure.in (AC_CHECK_HEADERS): atomic.h for Solaris atomic_ops.
- * sprintf.c (fmt_setup): format specifier for long needed.
+ * ruby_atomic.h: Skip using Solaris10 atomic_ops on Solaris 9 or
+ earlier if atomic.h is not available. [ruby-dev:47229] [Bug #8228]
- * sprintf.c (f_sprintf): ditto.
+Sat Apr 6 23:40:40 2013 Tanaka Akira <akr@fsij.org>
- * numeric.c (fix2str): ditto.
+ * lib/resolv.rb: Support LOC resources.
+ [ruby-core:23361] [Feature #1436] by JB Smith.
- * eval.c (thread_create): no more ITIMER_REAL.
+Sat Apr 6 23:38:09 2013 Naohisa Goto <ngotogenome@gmail.com>
- * eval.c (thread_create): thread finalization needed before
- aborting thread if thread_abort is set.
+ * addr2line.c: quad_t and u_quad_t is not available on Solaris.
+ __inline is not available with old compilers on Solaris.
+ [ruby-dev:47229] [Bug #8227]
-Wed Jul 8 18:17:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Apr 6 23:31:38 2013 Tanaka Akira <akr@fsij.org>
- * bignum.c (big_pow): abandon power by bignum (too big).
+ * lib/resolv.rb: Add one-shot multicast DNS support.
+ [ruby-core:53387] [Feature #8089] by Eric Hodel.
-Tue Jul 7 13:58:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Apr 6 22:12:01 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_catch): add C level catch/throw feature.
+ * lib/resolv.rb (Resolv::DNS.fetch_resource): New method to obtain
+ full result.
+ [ruby-dev:43587] [Feature #4788] proposed by Makoto Kishimoto.
-Mon Jul 6 15:18:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Apr 6 20:17:51 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (arg): proper return values for `||=' and `&&='.
+ * ext/socket/socket.c (rsock_sys_fail_raddrinfo): Renamed from
+ rsock_sys_fail_addrinfo.
+ (rsock_sys_fail_raddrinfo_or_sockaddr): Renamed from
+ rsock_sys_fail_addrinfo_or_sockaddr.
-Fri Jul 3 16:05:11 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/rubysocket.h: Follow the above change.
- * experimental release 1.1b9_29.
+Sat Apr 6 19:24:59 2013 Tanaka Akira <akr@fsij.org>
-Fri Jul 3 11:20:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/socket.c (rsock_sys_fail_sockaddr): Takes struct sockaddr
+ and socklen_t instead of String object.
+ (rsock_sys_fail_addrinfo_or_sockaddr): Follow the above change.
- * marshal.c (r_byte): byte should not extend sign bit.
+ * ext/socket/rubysocket.h (rsock_sys_fail_sockaddr): Follow the above
+ change.
- * numeric.c (fix_mul): use FIX2LONG() instead of FIX2INT() for
- 64bit architectures.
+Sat Apr 6 14:28:23 2013 Tanaka Akira <akr@fsij.org>
- * marshal.c (r_bytes): remove weird casting between pointer and int.
+ * ext/socket/rubysocket.h (SockAddrStringValueWithAddrinfo): New macro.
+ (rsock_sockaddr_string_value_with_addrinfo): New declaration.
+ (rsock_addrinfo_inspect_sockaddr): Ditto.
+ (rsock_sys_fail_addrinfo): Ditto.
+ (rsock_sys_fail_sockaddr_or_addrinfo): Ditto.
- * process.c (proc_setsid): new method Process#setsid().
+ * ext/socket/raddrinfo.c (rsock_addrinfo_inspect_sockaddr): Renamed
+ from addrinfo_inspect_sockaddr and exported.
+ (rsock_sockaddr_string_value_with_addrinfo): New function to obtain
+ string and possibly addrinfo object.
-Thu Jul 2 12:49:21 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/socket.c (rsock_sys_fail_sockaddr): Don't use
+ rsock_sys_fail_host_port which is IP dependent. Invoke
+ rsock_sys_fail_addrinfo.
+ (rsock_sys_fail_addrinfo): New function using
+ rsock_addrinfo_inspect_sockaddr.
+ (rsock_sys_fail_addrinfo_or_sockaddr): New function.
+ (sock_connect): Use SockAddrStringValueWithAddrinfo and
+ rsock_sys_fail_addrinfo_or_sockaddr.
+ (sock_connect_nonblock): Ditto.
+ (sock_bind): Ditto.
- * marshal.c (w_object): remove `write_bignum' label for 64bit
- architectures.
+Sat Apr 6 13:34:20 2013 Tanaka Akira <akr@fsij.org>
- * marshal.c (r_bytes): needs int, not long.
+ * ext/socket/socket.c (rsock_sys_fail_sockaddr): Delete 2nd argument.
-Wed Jul 1 14:21:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/rubysocket.h (rsock_sys_fail_sockaddr): Follow above
+ change.
- * numeric.c (flo_plus): should not allow addition with strings.
+Sat Apr 6 13:13:39 2013 Tanaka Akira <akr@fsij.org>
-Wed Jul 1 13:09:01 1998 Keiju ISHITSUKA <keiju@rational.com>
+ * ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect only
+ for String to avoid SEGV.
- * numeric.c (num_uminus): wrong coerce direction.
+Sat Apr 6 12:40:16 2013 Tanaka Akira <akr@fsij.org>
-Tue Jun 30 10:13:44 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/rubysocket.h (rsock_sys_fail_host_port): Wrap by NORETURN.
+ (rsock_sys_fail_path): Ditto.
+ (rsock_sys_fail_sockaddr): Ditto.
- * io.c (f_p): accepts arbitrary number of arguments.
+Sat Apr 6 11:49:35 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_yield_0): there's some case that iterator_p() returns
- true even if the_block was not set. check added.
+ * ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect if the
+ path contains a NUL.
-Tue Jun 30 01:05:20 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Apr 6 11:39:19 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (BEGIN_CALLARGS): adjust the_block before evaluating the
- receiver's value and the arguments.
+ * ext/socket: Improve socket exception message to show socket address.
+ [ruby-core:45617] [Feature #6583] proposed Eric Hodel.
-Fri Jun 26 18:02:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/rubysocket.h (rsock_sys_fail_host_port): Declared.
+ (rsock_sys_fail_path): Ditto.
+ (rsock_sys_fail_sockaddr): Ditto.
- * experimental release 1.1b9_28.
+ * ext/socket/udpsocket.c (udp_connect): Use rsock_sys_fail_host_port.
+ (udp_bind): Ditto.
+ (udp_send): Ditto.
-Fri Jun 26 11:01:26 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * ext/socket/init.c (rsock_init_sock): Specify a string for rb_sys_fail
+ argument.
+ (make_fd_nonblock): Ditto.
+ (rsock_s_accept): Ditto.
- * string.c (str_aset_method): needed to convert to string.
+ * ext/socket/ipsocket.c (init_inetsock_internal): Use
+ rsock_sys_fail_host_port.
-Thu Jun 25 02:05:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/socket.c (rsock_sys_fail_host_port): Defined.
+ (rsock_sys_fail_path): Ditto.
+ (rsock_sys_fail_sockaddr): Ditto.
+ (setup_domain_and_type): Use rsock_sys_fail_sockaddr.
+ (sock_connect_nonblock): Ditto.
+ (sock_bind): Ditto.
+ (sock_gethostname): Specify a string for rb_sys_fail argument.
+ (socket_s_ip_address_list): Ditto.
- * regex.c (re_search): optimize for `.*' at beginning of the
- pattern.
+ * ext/socket/basicsocket.c (bsock_shutdown): Specify a string for
+ rb_sys_fail argument.
+ (bsock_setsockopt): Use rsock_sys_fail_path.
+ (bsock_getsockopt): Ditto.
+ (bsock_getpeereid): Refine the argument for rb_sys_fail.
- * regex.c (re_search): optimize for character class repeat at
- beginning of the pattern.
+ * ext/socket/unixsocket.c (rsock_init_unixsock): Use
+ rsock_sys_fail_path.
+ (unix_path): Ditto.
+ (unix_send_io): Ditto.
+ (unix_recv_io): Ditto.
+ (unix_addr): Ditto.
+ (unix_peeraddr): Ditto.
- * regex.c (re_compile_pattern): detect optimization potential for
- the compiled patterns.
+Sat Apr 6 11:23:18 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
-Thu Jun 25 00:02:26 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * test/ruby/test_require.rb (TestRequire#test_require_nonascii_path):
+ fix load path for encoding to run the test as stand-alone.
- * re.c (reg_s_new): flag value was wrong.
+Sat Apr 6 09:54:20 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Jun 24 23:45:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * pack.c (NATINT_LEN): fix definition order, must be after
+ NATINT_PACK.
- * regex.c (re_search): wrong anchor handling for reverse search.
+Sat Apr 6 03:11:07 2013 Aaron Patterson <aaron@tenderlovemaking.com>
-Wed Jun 24 02:18:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/psych/lib/psych/visitors/yaml_tree.rb: fix symbol keys in coder
+ emission. Thanks @tjwallace
+ * test/psych/test_coder.rb: test for change
- * parse.y (mlhs): `((a,b)),c = [[1,2]],3' assigns a=1,b=2,c=3.
+Sat Apr 6 02:54:08 2013 Aaron Patterson <aaron@tenderlovemaking.com>
-Tue Jun 23 11:46:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/psych/lib/psych/exception.rb: there should be only one exception
+ base class. Fixes tenderlove/psych #125
+ * ext/psych/lib/psych.rb: require the correct exception class
+ * ext/psych/lib/psych/syntax_error.rb: ditto
+ * ext/psych/lib/psych/visitors/to_ruby.rb: ditto
- * parse.y (yylex): `&&=' and `||=' added.
+Sat Apr 6 02:30:28 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sat Jun 20 02:53:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * parse.y (new_defined): remove all extra parentheses, and return
+ "nil" for defined? with empty expression.
+ [ruby-core:54024] [Bug #8224]
- * parse.y (assignable): nesting local variables should have higher
- priority than normal local variables for assignment too.
+Sat Apr 6 02:06:04 2013 Aaron Patterson <aaron@tenderlovemaking.com>
-Fri Jun 19 18:28:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/psych/lib/psych/visitors/to_ruby.rb: correctly register
+ self-referential strings. Fixes tenderlove/psych #135
- * experimental release 1.1b9_27.
+ * test/psych/test_string.rb: appropriate test.
-Fri Jun 19 14:34:49 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Apr 6 01:21:56 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (assign): support hack for nested multiple assignment.
+ * ext/socket/init.c (cloexec_accept): Fix a compile error on
+ Debian GNU/kFreeBSD. Consider HAVE_ACCEPT4 is defined
+ but SOCK_CLOEXEC is not defined.
- * parse.y (mlhs): nested multiple assignment.
+Sat Apr 6 00:19:30 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
- * eval.c (rb_eval): in-block variables now honors static scope.
+ * load.c (features_index_add): use rb_str_subseq() to specify C string
+ position properly to fix require non ascii path.
+ [ruby-core:53733] [Bug #8165]
- * configure.in: RSHIFT check moved to configure.
+ * test/ruby/test_require.rb (TestRequire#test_require_nonascii_path):
+ a test for the above.
-Thu Jun 18 16:46:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Apr 5 20:41:49 2013 Tanaka Akira <akr@fsij.org>
- * experimental release 1.1b9_26.
+ * include/ruby/defines.h (HAVE_TRUE_LONG_LONG): Defined to distinguish
+ availability of long long and availability of 64bit integer type.
-Thu Jun 18 13:37:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * pack.c: Use HAVE_TRUE_LONG_LONG to distinguish q! and Q! support.
- * file.c (file_s_ftype): uses lstat(2) instead of stat(2).
+Fri Apr 5 20:19:42 2013 Tanaka Akira <akr@fsij.org>
- * dir.c (dir_s_glob): there can be buffer overrun, check added.
+ * addr2line.c: Include ruby/missing.h to fix compile error on Debian.
- * eval.c (f_binding): handles in-block variables declared after
- binding's generation.
+Fri Apr 5 19:39:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * numeric.c (flo_floor): floor, ceil, round added to Float.
+ * compile.c (iseq_compile_each): fix of defined? with empty
+ expression. [ruby-core:53999] [Bug #8220]
-Wed Jun 17 11:20:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Apr 5 13:22:59 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (gettable): nesting local variables should have higher
- priority than normal local variables.
+ * ext/curses/curses.c (Init_curses): fix implementation function,
+ crmode should be same as cbreak. [ruby-core:54013] [Bug #8222]
-Tue Jun 16 12:30:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Apr 5 12:06:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * bignum.c (str2inum): handles `+ddd'.
+ * ext/curses/hello.rb: Typo in Curses example by Drew Blas
+ [Fixes GH-273]
- * struct.c (make_struct): name parameter can be nil for unnamed
- structures.
+Thu Apr 4 23:45:13 2013 Tanaka Akira <akr@fsij.org>
-Mon Jun 15 16:30:10 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/resolv.rb (bind_random_port): Rescue EACCES for SunOS.
+ bind() on SunOS for port 2049 (nfs) and 4045 (lockd) causes
+ EACCES with unprivileged process. cf. PRIV_SYS_NFS in privileges(5)
+ [ruby-core:48064] [Bug #7183] reported by Frank Meier.
- * object.c (class_s_inherited): prohibiting to make subclass of
- class Class.
+Thu Apr 4 23:24:45 2013 Tanaka Akira <akr@fsij.org>
- * object.c (module_s_new): support for making subclass of Module.
+ * ext/socket/extconf.rb: Remove condition for bcc.
- * parse.y (yycompile): clear eval_tree before compiling.
+Thu Apr 4 22:53:23 2013 Tanaka Akira <akr@fsij.org>
-Fri Jun 12 17:58:18 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * include/ruby/ruby.h (FIX2LONG): Parenthesize the macro body.
- * eval.c (eval): write back the_dyna_var into the block.
+Thu Apr 4 22:32:32 2013 Tanaka Akira <akr@fsij.org>
-Thu Jun 11 18:19:18 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * time.c (time_strftime): Describe %L and %N truncates digits under
+ the specified length.
+ [ruby-core:52130] [Bug #7829]
- * experimental release 1.1b9_25.
+Thu Apr 4 22:08:46 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (dvar_add_compiling): register dyna_var at compile time.
+ * object.c (rb_mod_cvar_set): Reverted "avoid inadvertent
+ symbol creation" to avoid SEGV by
+ Class.new.class_variable_set(1, 2).
- * regex.c (re_compile_pattern): RE_DUP_MAX iteration is too big.
+Thu Apr 4 20:07:19 2013 Tanaka Akira <akr@fsij.org>
-Wed Jun 10 15:12:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/pathname/pathname.c (path_write): New method.
+ (path_binwrite): Ditto.
+ [ruby-core:49468] [Feature #7378]
- * io.c (io_eof): do not block other threads.
+Thu Apr 4 16:51:29 2013 Yuki Yugui Sonoda <yugui@google.com>
- * signal.c (trap): reserve SIGALRM for thread.
+ * thread_pthread.c: Fixes wrong scopes of #if USE_SLEEPY_TIMER_THREAD
+ .. #endif sections. This fixes a build error on NativeClient.
- * eval.c (thread_create): use ITIMER_REAL also to avoid system
- call blocking.
+Wed Apr 3 17:25:31 2013 Yuki Yugui Sonoda <yugui@google.com>
- * io.c (f_syscall): add TRAP_BEG, TRAP_END around system calls.
+ * thread_pthread.c (ruby_init_stack): Avoid using uninitialized value.
+ stackaddr and size are not set if get_stack() fails.
- * io.c (io_ctl): add TRAP_BEG, TRAP_END around system calls.
+Thu Apr 4 16:55:08 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * enum.c (enum_collect): did not collect false values.
+ * struct.c (make_struct): avoid inadvertent symbol creation.
+ (rb_struct_aref): ditto.
+ (rb_struct_aset): ditto.
- * array.c (ary_new2): forgot to initialize capa field.
+Thu Apr 4 16:54:40 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Jun 9 18:36:15 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * object.c (rb_mod_const_set): avoid inadvertent symbol creation.
+ (rb_obj_ivar_set): ditto.
+ (rb_mod_cvar_set): ditto.
- * string.c (str_split_method): split dumped core for "\xff".
+Thu Apr 4 15:46:48 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Jun 9 16:22:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * enum.c (enum_inject): avoid inadvertent symbol creation.
- * experimental release 1.1b9_24.
+Thu Apr 4 14:37:07 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Jun 9 16:04:07 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * thread.c (rb_thread_aref): avoid inadvertent symbol creation.
+ (rb_thread_variable_get): ditto.
+ (rb_thread_key_p): ditto.
+ (rb_thread_variable_p): ditto.
- * ext/kconv/kconv.c (kconv_guess): more precise decision for EUC,
- using jless algorithm (3 sequential EUC hiragana characters).
+Thu Apr 4 11:33:57 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Tue Jun 9 15:12:44 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/openssl/ossl_bn.c (ossl_bn_to_i): Use bn2hex to speed up.
+ In general, binary to/from decimal needs extra cost.
- * ext/kconv/kconv.c (kconv_guess): wrong guess for EUC as SJIS in
- some cases (0xe0 - 0xef).
+Thu Apr 4 07:24:18 2013 Tanaka Akira <akr@fsij.org>
- * gc.c (xmalloc): insert size check for big (negative in signed)
- allocation size.
+ * ext/socket/extconf.rb: Specify arguments to test functions.
-Tue Jun 9 02:54:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Apr 4 03:25:09 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * lib/parsedate.rb: wday moved to the last in the return values.
+ * ext/openssl/ossl_bn.c (ossl_bn_initialize): fix can't create from bn.
-Mon Jun 8 10:40:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Apr 3 22:09:25 2013 Tanaka Akira <akr@fsij.org>
- * string.c (str_split_method): split dumped core for "\0".
+ * ext/socket/extconf.rb: Test functions and libraries after headers.
-Sat Jun 6 22:50:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Apr 3 21:23:29 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (calculate_must_string): wrong condition for
- {start,stop}_nowidth.
+ * io.c (rb_io_seek_m): Accept :CUR, :END, :SET as "whence" argument.
+ (interpret_seek_whence): New function.
+ [ruby-dev:45818] [Feature #6643]
- * regex.c (re_match): various features imported from GNU regex.c
- 0.12, such as nested grouping, avoiding infinite loop with empty
- match, etc.
+Wed Apr 3 20:52:49 2013 Tanaka Akira <akr@fsij.org>
- * regex.c (register_info_type): now use union.
+ * process.c: Describe the behavior which Ruby invokes a commandline
+ directly without shell if the commandline is simple enough.
+ [ruby-core:50459] [Bug #7489]
- * regex.c (re_search): more precise anchor(^) check.
+Wed Apr 3 20:27:37 2013 Tanaka Akira <akr@fsij.org>
-Wed Jun 3 18:07:54 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/extmk.rb (extmake): Invoke Logging::log_close in a ensure
+ clause.
- * re.c (reg_raise): check rb_in_compile, not rb_in_eval.
+Wed Apr 3 18:53:58 2013 Tanaka Akira <akr@fsij.org>
-Mon Jun 1 05:26:06 1998 WATANABE Tetsuya <tetsu@jpn.hp.com>
+ * ext/extmk.rb (extmake): Use Logging.open to switch stdout and
+ stderr. Delay Logging::log_close until the failure message is
+ written. Write the failure message only if log file is opened.
- * string.c (trnext): casting to signed char* needed.
+ * lib/mkmf.rb (Logging.log_opened?): New method.
-Tue Jun 2 16:00:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ [ruby-dev:47215] [Bug #8209]
- * ext/socket/socket.c (udp_addrsetup): error check enhanced.
+Wed Apr 3 17:11:15 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/socket/socket.c (sock_s_getservbyaname): use strtoul(), if
- possible.
+ * win32/win32.c (constat_apply): pass through unknown sequence which
+ starts with ESC but is not followed by a bracket. [ruby-core:53879]
+ [Bug #8201]
-Sat May 30 07:10:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Apr 3 16:35:32 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * re.c (reg_prepare_re): no more needless regular expression
- recompile on casefold conditions.
+ * bignum.c (rb_big_eq): hide intermediate Bignums not just freeing
+ memory. [ruby-core:53893] [Bug #8204]
-Thu May 28 18:02:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * object.c (rb_obj_hide): hide an object by clearing klass.
- * object.c (nil_plus): no more `+' method for nil.
+ * bignum.c (rb_big_eq): test as Fixnum if possible and get rid of zero
+ length Bignum. [ruby-core:53893] [Bug #8204]
-Wed May 27 17:33:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Apr 2 23:56:03 2013 Tanaka Akira <akr@fsij.org>
- * hash.c (hash_fetch): new method.
+ * lib/securerandom.rb (SecureRandom.random_bytes): Use
+ OpenSSL::Random.random_add instead of OpenSSL::Random.seed and
+ specify 0.0 as the entropy.
+ [ruby-core:47308] [Bug #6928]
- * regex.c (re_search): check whether translate table is set.
+Tue Apr 2 20:24:52 2013 Tanaka Akira <akr@fsij.org>
-Tue May 26 11:39:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * pack.c: Support Q! and q! for long long.
+ (natstr): Moved to toplevel. Add q and Q if there is long long type.
+ (endstr): Moved to toplevel.
+ (NATINT_PACK): Consider long long.
+ (NATINT_LEN_Q): New macro.
+ (pack_pack): Support Q! and q!.
+ (pack_unpack): Ditto.
+ [ruby-dev:43970] [Feature #3946]
- * experimental release 1.1b9_23.
+Tue Apr 2 19:24:26 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (yylex): no UPLUS/UMINUS for 1st argument if
- parenthesises are omitted.
+ * ext/-test-/num2int/num2int.c: Define utility methods
+ as module methods of Num2int.
-Tue May 26 01:09:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/-ext-/num2int/test_num2int.rb: Follow the above change.
- * regex.c (re_compile_pattern): (?XI) for turns off the
- corresponding option.
+Tue Apr 2 18:49:01 2013 Tanaka Akira <akr@fsij.org>
-Mon May 25 12:38:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/securerandom.rb: Don't use Array#to_s.
+ [ruby-core:52058] [Bug #7811] fixed by zzak (Zachary Scott).
- * regex.c (re_compile_pattern): inline i option (?i).
+Tue Apr 2 17:38:20 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * regex.c (re_compile_pattern): inline x option (?x).
+ * re.c (rb_reg_to_s): suppress duplicated charclass warning.
+ Regexp#to_s suppress extra its whole regexp options by calling
+ onig_new with its source, but it doesn't call rb_reg_preprocess.
+ Therefore its Unicode escapes (\u{XXXX}) are given as is,
+ and it may cause duplicated charclass warning for example
+ "[\u{33}]" (3 is duplicated) or "[\u{a}\u{b}]" (u is duplicated).
+ [ruby-core:53649] [Bug #8151]
- * regex.c (re_compile_pattern): x option for regexp.
+Tue Apr 2 16:00:06 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * dir.c (dir_s_open): returns block's evaluated value.
+ * vm_dump.c (rb_print_backtrace): separate to ease showing C backtrace.
- * io.c (f_open): returns block's evaluated value.
+ * internal.h (rb_print_backtrace): ditto.
- * ext/curses/curses.c (curses_addstr): nil argument caused SEGV.
+Tue Apr 2 15:22:09 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Fri May 22 11:52:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/envutil.rb (assert_separately): stop_auto_run of
+ Test::Unit::Runner to prevent auto runner use ARGV.
- * regex.c (re_compile_pattern): push mark on (?:), so that
- laststart check for {a,b} can be done.
+ * test/ruby/envutil.rb (assert_separately): add $: to separate process.
-Thu May 21 17:31:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/envutil.rb (assert_separately): fail if stderr is not
+ empty and ignore_stderr is false.
- * regex.c (re_match): wrong match (too non-greedy) for `{a,b}?'.
+Tue Apr 2 06:46:59 2013 Tanaka Akira <akr@fsij.org>
- * io.c (io_lineno): new method IO#lineno, IO#lineno=.
+ * ext/-test-/num2int/num2int.c: Rename utility methods
+ to global functions to ease manual experiments.
-Wed May 20 06:04:43 1998 MAEDA shugo <shugo@aianet.ne.jp>
+ * test/-ext-/num2int/test_num2int.rb: Follow the above change.
- * BeOS patch.
+Mon Apr 1 22:26:17 2013 Tanaka Akira <akr@fsij.org>
-Wed May 20 16:32:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/zlib/zlib.c (rb_gzfile_set_mtime): Use NUM2UINT.
+ The old logic doesn't work well on LP64 platforms as:
+ .. -2**63-1 => error,
+ -2**63 .. -2**62-1 => success,
+ -2**62 .. -2**31-1 => error,
+ -2**31 .. 2**31-1 => success,
+ 2**31 .. 2**62-1 => error,
+ 2**62 .. 2**64-1 => success,
+ 2**64 .. => error.
- * bignum.c (BIGDN): use RSHIFT(), instead of mere `>>'.
+Mon Apr 1 22:08:02 2013 Benoit Daloze <eregontp@gmail.com>
-Tue May 19 16:36:26 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/zlib/zlib.c (Zlib::Inflate.new):
+ Fix documentation syntax and naming errors.
+ Based on patch by Robin Dupret. Fix GH-271.
- * experimental release 1.1b9_22.
+Mon Apr 1 21:22:31 2013 Tanaka Akira <akr@fsij.org>
-Tue May 19 16:31:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/-ext-/num2int/test_num2int.rb: Test small bignums.
- * parse.y (assignable): specification changed for in-block
- variable definition.
+Mon Apr 1 21:10:56 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (dyna_var_asgn): error in in-block variables' compile
- time definition.
+ * numeric.c (rb_num2ulong_internal): Don't cast a negative double value
+ into unsigned long, which is undefined behavior.
+ (rb_num2ull): Don't cast a value bigger than LLONG_MAX into
+ long long, which is undefined behavior.
- * parse.y (str_extend): wrong nesting detection.
+Mon Apr 1 20:57:57 2013 Tanaka Akira <akr@fsij.org>
-Tue May 19 09:47:55 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * ext/-test-/num2int/num2int.c: Return string for result, instead of
+ printing.
- * numeric.c (num2int): re-defined (extensions may use this).
+ * test/-ext-/num2int/test_num2int.rb: updated to follow above change.
-Mon May 18 16:40:50 1998 MAEDA shugo <shugo@aianet.ne.jp>
+Mon Apr 1 20:08:07 2013 Tanaka Akira <akr@fsij.org>
- * error.c (get_syserr): BeOS support.
+ * numeric.c (rb_num2long): Don't use SIGNED_VALUE uselessly.
+ (check_int): Ditto.
+ (check_short): Ditto.
+ (rb_num2fix): Ditto.
+ (rb_num2ulong_internal): Add a cast.
- * configure.in: modified for BeOS.
+Mon Apr 1 18:41:35 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (str_dump): do not call isascii().
+ * configure.in: skip autoconf 2.64 and 2.66, 2.67 seems short-lived
+ but stick on it for Debian Squeeze.
- * sprintf.c (remove_sign_bits): forgot to initialize end pointer.
+Mon Apr 1 14:22:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * glob.c: #include <alloca.h> added.
+ * configure.in: check clang version by predefined macro values.
+ [Bug #8192]
-Mon May 18 14:52:21 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Apr 1 12:05:15 2013 Tanaka Akira <akr@fsij.org>
- * experimental release 1.1b9_21.
+ * numeric.c (check_uint): Take the 1st argument as unsigned long,
+ instead of VALUE. Refine the validity test conditions.
+ (check_ushort): Ditto.
-Mon May 18 03:27:57 1998 MAEDA shugo <shugo@aianet.ne.jp>
+Mon Apr 1 07:15:03 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
- * file.c (file_s_expand_path): optional second argument
- `default_directory' added.
+ * configure.in: use quadrigraph to put '[' or ']'. [Bug #8192]
-Sat May 16 22:06:52 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Mon Apr 1 04:16:41 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * error.c (RAISE_ERROR): wrong error message
+ * configure.in: kick old clang. [ruby-dev:47204] [Bug #8192]
-Fri May 15 14:43:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Apr 1 01:12:46 2013 Tanaka Akira <akr@fsij.org>
- * experimental release 1.1b9_20.
+ * include/ruby/ruby.h (FIX2ULONG): Make it consistent with NUM2ULONG.
-Thu May 14 14:44:21 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * ext/-test-/num2int/num2int.c: Add utility methods for FIX2XXX tests.
- * sun4 cc patches for intern.h and regex.h.
+ * test/-ext-/num2int/test_num2int.rb: Add tests for FIX2XXX.
-Thu May 14 14:03:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Mar 31 17:17:56 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * random.c (RANDOM_MAX): guessing proper maximum value for random
- numbers.
+ * proc.c (rb_mod_define_method): consider visibility in define_method.
+ patch by mashiro <mail AT mashiro.org>. fix GH-268.
- * random.c (f_rand): use drand48 if possible.
+Sun Mar 31 15:40:30 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed May 13 19:05:20 1998 MAEDA shugo <shugo@aianet.ne.jp>
+ * win32/configure.bat: try to fix option arguments split by commas and
+ equals here. this batch file no longer run with old command.com.
- * BeOS patches for io.c, error.c and config.guess.
+ * tool/mkconfig.rb: no hacks for cmd.exe.
-Wed May 13 14:56:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Mar 31 13:47:04 2013 Tanaka Akira <akr@fsij.org>
- * experimental release 1.1b9_19.
+ * numeric.c (rb_num2ulong_internal): New function similar to
+ rb_num2ulong but integer wrap around flag is also returned.
+ (rb_num2ulong): Use rb_num2ulong_internal.
+ (rb_num2uint): Use rb_num2ulong_internal and the wrap around flag is
+ used instead of negative_int_p(val).
+ (rb_num2ushort): ditto.
- * most of the Mac and BeOS patches merged, except path separators.
+Sun Mar 31 06:27:17 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * error.c (err_append): generated SyntaxError was String.
+ * class.c (HAVE_METACLASS_P): should check FL_SINGLETON flag before get
+ instance variable to get rid of wrong warning about __attached__.
+ [ruby-core:53839] [Bug #8188]
- * ruby.h: xxx2INT, xxx2UINT checks values as int, not long.
+Sat Mar 30 14:11:28 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
- * ruby.h: remove typedef's. INT, UINT, UCHAR, USHORT.
+ * bcc32: removed. agreed at
+ http://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130223Japan
-Tue May 12 17:38:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Mar 30 03:58:00 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * experimental release 1.1b9_18.
+ * win32/file.c (code_page): use cp1252 instead of cp20127 as US-ASCII.
+ fix [ruby-core:53079] [Bug #7996]
+ reported and patched by mmeltner (Michael Meltner).
-Tue May 12 11:38:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Mar 30 03:49:21 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * error.c (syserr_errno): returns errno of the SystemCallError.
+ * win32/win32.c (wrename): use MoveFileExW instead of MoveFileW,
+ because the latter fails on cross device file move of some
+ environments.
+ fix [ruby-core:53492] [Bug #8109]
+ reported by mitchellh (Mitchell Hashimoto).
- * error.c (rb_sys_fail): saves errno in the Exception.
+Fri Mar 29 22:09:46 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * error.c (set_syserr): no need to protect syserr_list.
+ * thread.c (rb_mutex_synchronize_m): yield no block params. patch by
+ splattael (Peter Suschlik) in [ruby-core:53773] [Bug #8097].
+ fix GH-266.
- * error.c (rb_sys_fail): no more bufsize limit.
+Fri Mar 29 16:51:39 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * error.c (set_syserr): integer value of errno can be accessed by
- Errno::EXXX::Errno.
+ * io.c (argf_next_argv): set init flag if succeeded to forward, after
+ skipping.
-Sun May 10 03:10:33 1998 WATANABE Tetsuya <tetsu@jpn.hp.com>
+ * io.c (argf_block_call_i, argf_block_call): no more forwarding if
+ forwarded after skipping. [ruby-list:49185]
- * io.c (io_tell etc.): moved from File class to IO class.
+ * io.c (argf_close): deal with init flag.
-Fri May 8 12:26:37 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * io.c (argf_block_call_i, argf_block_call): forward next file if
+ skipped while iteration, to get rid of IOError. [ruby-list:49185]
- * pack.c (pack_unpack): should be unsigned int (was signed int).
+Fri Mar 29 11:09:48 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu May 7 16:34:10 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/mkmf.rb (configuration): not include all CFLAGS in CXXFLAGS, to
+ use different set than C for C++. [ruby-core:45273] [Bug #6504]
- * pack.c (pack_pack): `V', `N' uses newly created NUM2UINT().
+Fri Mar 29 10:24:10 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ruby.h (NUM2UINT): new macro.
+ * include/ruby/io.h: undef POSIX compliant names on AIX, which are no
+ longer needed. patch suggested by edelsohn (David Edelsohn) in
+ [ruby-core:53815]. [Bug #8174]
- * bignum.c (big2uint): try to convert bignum into UINT.
+Fri Mar 29 06:39:42 2013 Tanaka Akira <akr@fsij.org>
- * re.c (reg_match): needed to return false for match with nil.
+ * numeric.c (rb_num2ull): Cast double to unsigned LONG_LONG via
+ LONG_LONG instead of double to unsigned LONG_LONG directly.
+ This is a challenge to fix a test_num2ull(TestNum2int)
+ failure (NUM2ULL(-1.0) should be "18446744073709551615" but was "0")
+ on Mac OS X with 32bit clang.
+ http://a.mrkn.jp/~mrkn/chkbuild/mountain_lion/ruby-trunk-m32-o0/log/20130328T191100Z.diff.html.gz
- * gc.c (obj_free): wrong condition to free string.
+Fri Mar 29 00:54:54 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed May 6 21:08:08 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * lib/mkmf.rb (MAIN_DOES_NOTHING): ensure symbols for tests to be
+ preserved. [ruby-core:53745] [Bug #8169]
- * ruby.c (ruby_process_options): modified for DJGPP.
+Thu Mar 28 23:11:25 2013 Tanaka Akira <akr@fsij.org>
-Wed May 6 15:48:03 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/resolv.rb: Test Windows platform by detecting LoadError when
+ require 'win32/resolv' suggested by Nobuyoshi Nakada [ruby-core:53389].
+ [ruby-core:53388] [Feature #8090] Reported by Charles Nutter.
- * experimental release 1.1b9_17.
+Thu Mar 28 23:10:10 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed May 6 01:37:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * include/ruby/io.h: rename SVR3,4 member names as POSIX compliant,
+ to get rid of conflict on AIX. [ruby-core:53765] [Bug #8174]
- * eval.c: remove global variable `errat'.
+Thu Mar 28 18:22:21 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_longjmp): embed error position information in the
- exception object.
+ * test/-ext-/num2int/test_num2int.rb: extract
+ assert_num2i_success_internal and assert_num2i_error_internal and
+ provide assertion messages as "NUM2XXX(NNN)".
-Sat May 2 12:20:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Mar 28 07:05:25 2013 Tanaka Akira <akr@fsij.org>
- * re.c (reg_search): supports reverse search.
+ * include/ruby/intern.h: Delete redundant inclusions caused by
+ AC_INCLUDES_DEFAULT in defines.h.
- * string.c (str_index_method): does update $~ etc.
+ * include/ruby/defines.h: Ditto.
- * eval.c (f_load): needed to clear the_dyna_vars.
+ * include/ruby/ruby.h: Ditto.
- * eval.c (dyna_var_asgn): do not push dyna_var, which is id == 0.
+ * include/ruby/st.h: Ditto.
- * error.c (Init_Exception): NotImplementError is no longer
- StandardError, which is not handled by default rescue.
+Thu Mar 28 06:51:31 2013 Tanaka Akira <akr@fsij.org>
-Fri May 1 00:35:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * include/ruby/defines.h: Fix a compilation error on NetBSD,
+ "type of formal parameter 1 is incomplete" for the rb_thread_wait_for
+ invocation in rb_file_flock, by including header files as
+ AC_INCLUDES_DEFAULT of autoconf.
- * ruby.c (proc_options): `-d' turns on verbose flag too.
+Wed Mar 27 22:09:14 2013 Tanaka Akira <akr@fsij.org>
- * error.c (exception): last argument may be the superclass of the
- defining exception(s).
+ * numeric.c (LONG_MIN_MINUS_ONE_IS_LESS_THAN): New macro.
+ (LLONG_MIN_MINUS_ONE_IS_LESS_THAN): Ditto.
+ (rb_num2long): Use LONG_MIN_MINUS_ONE_IS_LESS_THAN.
+ (rb_num2ulong): Ditto.
+ (rb_num2ll): Use LLONG_MIN_MINUS_ONE_IS_LESS_THAN.
+ (rb_num2ull): Ditto.
- * io.c (Init_IO): EOFError is now subclass of the IOError.
+ * test/-ext-/num2int/test_num2int.rb (assert_num2i_success): Test the
+ value converted into a Float if Float can represent the value
+ exactly.
+ (assert_num2i_error): Ditto.
- * io.c (Init_IO): forgot to define IOError.
+Wed Mar 27 20:59:47 2013 Tanaka Akira <akr@fsij.org>
- * error.c (Init_Exception): old Exception class renamed to
- StandardError. Exception now replaces old GlobalExit.
+ * test/-ext-/num2int/test_num2int.rb (assert_num2i_success): New
+ utility method.
+ (assert_num2i_error): Ditto.
- * error.c (Init_Exception): Exception is now the root of the
- Global Exits. There's no longer GlobalExit class.
+Wed Mar 27 20:37:59 2013 Tanaka Akira <akr@fsij.org>
- * util.c (ruby_mktemp): check TMP, TMPDIR first.
+ * time.c (num_exact): Use to_r method only if to_int method is
+ available.
+ [ruby-core:53764] [Bug #8173] Reported by Hiro Asari.
-Thu Apr 30 01:08:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Mar 27 12:07:40 2013 Tanaka Akira <akr@fsij.org>
- * lib/tk.rb: call 'unknown', if proc not defined.
+ * test/-ext-/num2int/test_num2int.rb (test_num2ll): test LLONG_MIN,
+ not LONG_MIN.
- * eval.c (handle_rescue): default rescue handles `Exceptional' not
- only the instance of the `Exception's.
+Wed Mar 27 12:02:45 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (f_raise): exception can be any object.
+ * internal.h (TIMET_MAX_PLUS_ONE): definition simplified.
- * time.c (time_gm_or_local): call time_gmtime or time_localtime.
+Wed Mar 27 06:39:41 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (f_raise): raises TypeError if the class which is not a
- subclass of String is specified (checked in exc_new()).
+ * lib/mkmf.rb (MAIN_DOES_NOTHING): force to refer symbols for tests
+ to be preserved. [ruby-core:53745] [Bug #8169]
- * error.c (exc_new): need to check whether invalid class (not a
- subclass of String) is specified.
+Wed Mar 27 05:15:37 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Apr 29 21:05:44 1998 WATANABE Hirofumi <eban@os.rim.or.jp>
+ * configure.in (RUBY_REPLACE_TYPE): define SIGNEDNESS_OF_type same as
+ check_signedness of mkmf.rb.
- * ruby.c (proc_options): option '-e' via tempfile.
+ * internal.h (TIMET_MAX, TIMET_MIN, TIMET_MAX_PLUS_ONE): use
+ SIGNEDNESS_OF_TIME_T.
-Tue Apr 28 15:27:58 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Mar 27 00:28:45 2013 Tanaka Akira <akr@fsij.org>
- * experimental release 1.1b9_16.
+ * internal.h (TIMET_MAX_PLUS_ONE): Defined.
-Tue Apr 28 00:07:38 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * thread.c (double2timeval): Saturate out-of-range values.
- * eval.c (obj_is_proc): type check predicate.
+Tue Mar 26 23:41:18 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (obj_is_block): ditto.
+ * internal.h: Define TIMET_MAX and TIMET_MIN here.
-Mon Apr 27 16:59:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * time.c: Remove TIMET_MAX and TIMET_MIN definitions.
- * ext/gtk/gtk.c (Init_gtk): use timeout, not idle to avoid
- consuming CPU too much.
+ * thread.c: Ditto.
- * lib/tk.rb: use tcltklib#_invoke instead of `_eval'.
+ * thread_pthread.c: Remove TIMET_MAX definition.
-Mon Apr 27 16:59:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * thread_win32.c: Ditto.
- * array.c (ary_sort): use dup, not clone.
+Tue Mar 26 22:31:10 2013 Tanaka Akira <akr@fsij.org>
-Mon Apr 27 13:46:27 1998 Tadahiro Maebashi <maebashi@iij.ad.jp>
+ * ext/socket/socket.c (sockaddr_len): return the shortest length for
+ unknown socket address.
- * ext/tcltklib/tcltklib.c (ip_invoke): invoke tcl command
- directly. need not worry about escaping tcl characters.
+Tue Mar 26 22:14:46 2013 Tanaka Akira <akr@fsij.org>
-Mon Apr 27 12:04:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * thread.c (double2timeval): convert the infinity to TIME_MAX to avoid
+ SEGV by Thread.new {}.join(Float::INFINITY) on
+ Debian GNU/Linux (amd64).
- * random.c (f_rand): do not call srand() implicitly.
+Mon Mar 25 07:09:20 2013 Eric Hodel <drbrain@segment7.net>
-Fri Apr 24 14:35:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/rinda/tuplespace.rb: Only return tuple entry once on move,
+ either through port or regular return, not both. This results in a
+ 120% speedup when combined with #8125. Patch by Joel VanderWerf.
+ [ruby-trunk - Feature #8119]
- * experimental release 1.1b9_15.
+Mon Mar 25 06:59:01 2013 Eric Hodel <drbrain@segment7.net>
- * parse.y (assignable): dyna_var_asgn actually defines nested
- local variables in outer context.
+ * test/rinda/test_rinda.rb: Skip IPv6 tests if no IPv6 addresses
+ exist. Skip fork-dependent test if fork is not available.
+ [ruby-trunk - Bug #8159]
- * random.c (f_rand): call srand(), if it has not called yet.
+Sun Mar 24 10:38:24 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * random.c (f_srand): use tv_usec as the default seed.
+ * addr2line.c (putce): suppress unused return value warning.
- * eval.c (rb_eval): values of nested local variables should be
- independent.
+Mon Mar 25 02:01:03 2013 Narihiro Nakamura <authornari@gmail.com>
- * eval.c (rb_yield_0): local variables wrong nested conditions.
+ * proc.c (bm_free): need to clean up the mark flag of a free and
+ unlinked method entry. [Bug #8100] [ruby-core:53439]
-Wed Apr 22 23:27:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Mar 24 22:13:51 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * io.c (select_get_io): get IO object by `to_io'.
+ * string.c (rb_str_rpartition): revert r39903, and convert byte offset
+ to char offset; the return value of rb_reg_search is byte offset,
+ but other than it of rb_str_rpartition expects char offset.
+ [Bug #8138] [ruby-dev:47183]
- * io.c (io_to_io): method to retrieve IO object, from delegating
- object for example.
+Sun Mar 24 18:29:46 2013 Akinori MUSHA <knu@iDaemons.org>
-Wed Apr 22 16:52:37 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * string.c (rb_str_rpartition): Fix String#rpartition(/re/)
+ against a multibyte string. [Bug #8138] [ruby-dev:47183]
- * experimental release 1.1b9_14.
+Sun Mar 24 13:42:24 2013 Narihiro Nakamura <authornari@gmail.com>
- * string.c (str_modify): check for embedded pointer reference.
+ * gc.c (GC_ENABLE_LAZY_SWEEP): new macro to switch lazy sweeping
+ for debugging. [Feature #8024] [ruby-dev:47135]
- * gc.c (obj_free): ditto.
+Sun Mar 24 12:55:47 2013 Narihiro Nakamura <authornari@gmail.com>
- * pack.c (pack_pack): p/P template to embed pointers.
+ * gc.c: We have no chance to expand the heap when lazy sweeping is
+ restricted. So collecting is often invoked if there is not
+ enough free space in the heap. Try to expand heap when this is
+ the case.
-Wed Apr 22 00:07:10 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+Sun Mar 24 11:03:31 2013 Tanaka Akira <akr@fsij.org>
- * array.c (ary_rindex): embarrassing typo.
+ * test/ruby/test_require.rb: Remove temporally files in the tests.
-Tue Apr 21 12:31:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/test_rubyoptions.rb: Ditto.
- * experimental release 1.1b9_13.
+ * test/logger/test_logger.rb: Ditto.
- * configure.in (RUBY_LIB): supports --program-{prefix,suffix}.
+ * test/psych/test_psych.rb: Ditto.
- * array.c (ary_rindex): new method.
+ * test/readline/test_readline.rb: Ditto.
- * io.c (io_binmode): should return self.
+ * test/syslog/test_syslog_logger.rb: Ditto.
-Tue Apr 21 08:23:04 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+ * test/webrick/test_httpauth.rb: Ditto.
- * parse.y (here_document): calling parse_string with wrong
- arguments.
+ * test/zlib/test_zlib.rb: Ditto.
- * struct.c (struct_aset): problem member assignment with name.
+Sun Mar 24 05:36:29 2013 Eric Hodel <drbrain@segment7.net>
-Mon Apr 20 14:47:49 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/rinda/ring.rb: Added documentation for multicast support.
- * experimental release 1.1b9_12.
+ * NEWS: Point to above documentation.
- * time.c (time_arg): args may be string (support for reduced
- implicit type conversion).
+Sun Mar 24 05:32:39 2013 Eric Hodel <drbrain@segment7.net>
- * lib/base64.rb: changed to use pack/unpack with `m' template.
+ * test/rinda/test_rinda.rb: Restore tests commented out while fixing
+ test slowdown bug before r39895.
-Mon Apr 20 06:23:20 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Mar 24 05:03:36 2013 Eric Hodel <drbrain@segment7.net>
- * variable.c (mod_remove_const): new method.
+ * lib/rinda/ring.rb: Add multicast support to Rinda::RingFinger and
+ Rinda::RingServer. [ruby-trunk - Bug #8073]
+ * test/rinda/test_rinda.rb: Test for the above.
-Sat Apr 18 03:53:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * NEWS: Update with Rinda multicast support
- * hash.c (hash_each_with_index): removed. use Enumerable's
- each_with_index instead.
+Sun Mar 24 04:13:27 2013 Eric Hodel <drbrain@segment7.net>
- * class.c (rb_include_module): check for super modules, since
- module's included modules may be changed.
+ * test/rinda/test_rinda.rb: Fixed test failures in r39890 and r39891
+ due to stopping DRb service.
-Fri Apr 17 21:50:47 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Sun Mar 24 03:34:02 2013 Eric Hodel <drbrain@segment7.net>
- * marshal.c (r_long): r_byte() may return signed byte.
+ * lib/rinda/rinda.rb: Fixed loss of tuple when remote is alive but the
+ call stack was unwound. Patch by Joel VanderWerf.
+ [ruby-trunk - Bug #8125]
+ * test/rinda/test_rinda.rb: Test for the above.
-Fri Apr 17 11:58:30 1998 NAGAI Hidetoshi <nagai@dumbo.ai.kyutech.ac.jp>
+Sun Mar 24 02:14:53 2013 Tanaka Akira <akr@fsij.org>
- * ext/tcltklib/tcltklib.c (lib_mainloop): thread and interrupt check.
+ * test/mkmf/test_have_macro.rb: remove temporally files in the tests.
-Fri Apr 17 11:06:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Mar 23 23:50:04 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * eval.c (find_file): try to fopen() to check whether file exists.
+ * addr2line.c (kprintf): added from FreeBSD libstand's printf.
+ this is consided as async signal safe function.
- * ruby.c (load_file): ditto.
+ * addr2line.c (rb_dump_backtrace_with_lines): use kfprintf.
+ [Bug #8144] [ruby-core:53632]
- * struct.c (struct_aset): struct member can be set by member name.
+Sat Mar 23 23:28:00 2013 Kenta Murata <mrkn@mrkn.jp>
-Fri Apr 17 00:47:19 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_divide): Use Qnil and NIL_P
+ instead of (VALUE)0 as a return value.
- * ext/extmk.rb.in: added m68k-human support
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_div): ditto.
- * file.c (LOCK_SH): defines moved.
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_divremain): ditto.
- * array.c (ary_flatten_bang): simplified loop.
+ * ext/bigdecimal/bigdecimal.c (BigDecimal_remainder): ditto.
-Thu Apr 16 16:52:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Mar 23 17:39:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * experimental release 1.1b9_11.
+ * vm_eval.c (check_funcall_respond_to): preserve passed_block, which
+ is modified in vm_call0_body() via vm_call0(), and caused a bug of
+ rb_check_funcall() by false negative result of rb_block_given_p().
+ re-fix [ruby-core:53650] [Bug #8153].
+ [ruby-core:53653] [Bug #8154]
- * lib/tk.rb: thread support (experimental - maybe slow).
+Fri Mar 22 17:48:34 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_longjmp): trace event on exception in raising
- context, just before raising exception.
+ * lib/forwardable.rb (Forwardable::FILE_REGEXP): create regexp object
+ outside sources for eval, to reduce allocations in def_delegators
+ wrappers. //o option does not make each regexps shared. patch by
+ tmm1 (Aman Gupta) in [ruby-core:53620] [Bug #8143].
- * struct.c (struct_s_members): forgot to check singletons.
+Fri Mar 22 17:38:42 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * struct.c (struct_aref): members can be accessed by names too.
+ * load.c (rb_feature_p), vm_core.h (rb_vm_struct): turn
+ loaded_features_index into st_table. patches by tmm1 (Aman Gupta)
+ in [ruby-core:53251] and [ruby-core:53274] [Bug #8048]
- * array.c (ary_flatten): new method.
+Fri Mar 22 10:29:00 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_longjmp): prints exception information with `-d'.
+ * ext/bigdecimal/bigdecimal.c: Fix style.
- * object.c (any_to_s): remove class name restriction.
+Fri Mar 22 05:30:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Apr 16 01:38:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * parse.y (ambiguous_operator): refine warning message, since this
+ warning is shown after literal too.
- * file.c (thread_flock): do not block other threads.
+Fri Mar 22 04:51:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (thread_trap_eval): signals are now delivered to the
- current thread again. In case that the current thread is dead,
- signals are forwarded to the main thread.
+ * vm_insnhelper.c (vm_callee_setup_keyword_arg): should check required
+ keyword arguments even if rest hash is defined. [ruby-core:53608]
+ [Bug #8139]
- * string.c (str_new4): need not to duplicate frozen strings.
+Fri Mar 22 01:00:17 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
-Wed Apr 15 08:33:47 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+ * process.c (rb_execarg_addopt, run_exec_pgroup): use rb_pid_t
+ instead of pid_t.
- * struct.c (struct_inspect): remove restriction for struct names.
+ * ext/pty/pty.c (raise_from_check, pty_check): ditto.
-Wed Apr 15 02:55:02 1998 Kazuya 'Sharl' Masuda <sharl@www.ufo.co.jp>
+Fri Mar 22 00:04:15 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * x68 patches to config.sub, ext/extmk.rb.in
+ * addr2line.c (rb_dump_backtrace_with_lines): output line at once.
-Wed Apr 15 01:22:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Mar 21 23:17:08 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (str_dup_frozen): do not duplicate frozen strings.
+ * thread.c (ruby_kill): get rid of deadlock on signal 0.
+ [ruby-dev:47182] [Bug #8137]
- * parse.y (yylex): allow nested parenthesises.
+Thu Mar 21 22:39:46 2013 Naohisa Goto <ngotogenome@gmail.com>
- * io.c (obj_displayln): prints newline after `display'ing the
- receiver.
+ * marshal.c (marshal_dump, marshal_load): workaround for segv on
+ Intel Solaris compiled with Oracle SolarisStudio 12.3.
+ Partly revert r38174. [ruby-core:52042] [Bug #7805]
- * io.c (io_puts): avoid generating "\n" each time. use RS_default
- instead.
+Thu Mar 21 16:48:06 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (f_p): ditto.
+ * parse.y (simple_re_meta): escape all closing characters, not only
+ round parenthesis. [ruby-core:53578] [Bug #8133]
-Tue Apr 14 22:18:17 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+Thu Mar 21 13:50:46 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * struct.c (struct_aref): should not subtract negative index.
+ * vm_core.h (UNINITIALIZED_VAR): suppress warnings by clang 4.2.
+ [ruby-core:51742] [Bug #7756]
-Tue Apr 14 11:34:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Mar 21 07:34:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * experimental release 1.1b9_10.
+ * ext/date/date_core.c: Typo in Date::MONTHNAMES by Matt Gauger
+ [GH fixes #261]
- * parse.y: token names prefixed by `t'.
+Wed Mar 20 22:53:14 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * struct.c (struct_s_def): supports subclassing of Struct.
+ * lib/mkmf.rb (find_library): fix to format message.
+ [ruby-core:53568] [Bug #8130]
- * io.c (io_s_new): supports subclassing of IO.
+Wed Mar 20 22:52:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Apr 13 11:07:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/mkmf.rb (install_dirs, with_destdir): prefix with DESTDIR
+ directories to install only unless bundled extension libraries.
+ [ruby-core:53502] [Bug #8115]
- * eval.c (f_binding): need to restore method name.
+Wed Mar 20 17:47:53 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * eval.c (rb_call0): raises SystemStackError, not Fatal.
+ * test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup):
+ allow using different root for source and build directories.
+ this may fixes a minor problem of r39834.
- * io.c (obj_display): same as `print self'.
+Wed Mar 20 16:40:48 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
- * io.c (f_p): can now be called in the method form.
+ * test/ruby/test_signal.rb (test_hup_me): skip if HUP isn't supported.
+ On Windows this test causes ArgumentError.
- * re.c (reg_regsub): needed to be mbchar aware.
+Wed Mar 20 16:24:12 2013 Hiroshi Shirosaki <h.shirosaki@gmail.com>
-Mon Apr 13 13:18:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/rubygems/test_gem_installer.rb (test_install_extension_flat):
+ use ruby in build directory in case ruby is not installed.
+ [ruby-core:53265] [Bug #8058]
- * eval.c (thread_trap_eval): all signals delivered to main_thread.
+Wed Mar 20 15:22:07 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Mon Apr 13 12:47:03 1998 TAKAHASHI Masayoshi <maki@inac.co.jp>
+ * test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup): use
+ relative path to get rid of "too long commandline" error.
- * re.c (kcode_set_option): did not set SJIS on SJIS condition.
+Wed Mar 20 04:27:42 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
-Sun Apr 12 22:14:07 1998 Kazunori NISHI <kazunori@swlab.csce.kyushu-u.ac.jp>
+ * test/rinda/test_rinda.rb: remove unused variables.
+ patched by Vipul A M <vipulnsward@gmail.com>
- * array.c (ary_uniq_bang): should be `==', not `='. embarrassing.
+Wed Mar 20 04:15:32 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
-Sat Apr 11 02:13:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/bigdecimal/bigdecimal.c: fixed typo.
+ patched by Vipul A M <vipulnsward@gmail.com>
- * array.c (ary_subseq): SEGVed for `[][1,1]'.
+Sat Mar 16 03:40:49 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Fri Apr 10 21:29:06 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+ * test/ruby/test_signal.rb (test_hup_me): added a few comments.
- * array.c (ary_subseq): add check for beg larger than array length.
+Sat Mar 16 03:39:38 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Wed Apr 8 17:24:11 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
+ * thread.c (ruby_kill): added a few comments.
- * dir.c (dir_s_open): can be called with block (like IO#open).
+Sat Mar 16 03:36:56 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * dir.c (dir_s_chdir): print directory path on error.
+ * thread.c (ruby_kill): release GVL while waiting signal delivered.
- * dir.c (dir_s_chroot): ditto
+Tue Mar 19 19:50:48 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * dir.c (Init_Dir): needed to override `new'.
+ * ruby_kill (internal.h, thread.c): use rb_pid_t instead of pid_t.
+ this fixes the build failure of mswin introduced at r39819.
-Thu Apr 9 18:24:58 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Mar 19 17:09:30 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * experimental release 1.1b9_09.
+ * string.c (rb_str_conv_enc_opts): convert with one converter, instead
+ of re-creating converters for each buffer expansion.
- * string.c (str_cmp): do not depend on sentinel at the end of the
- strings.
+Tue Mar 19 17:06:50 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (str_chomp_bang): forgot to set the sentinel.
+ * dir.c (glob_helper): compose HFS file names from UTF8-MAC.
+ [ruby-core:48745] [Bug #7267]
-Wed Apr 8 00:59:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Mar 16 01:44:29 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * bignum.c (big2int): converted int may be too big to fit in
- signed int.
+ * internal.h: added a declaration of ruby_kill().
+ * thread.c (ruby_kill): helper function of kill().
- * parse.y (arg): `foo += 1' should not cause an error.
+ * signal.c (rb_f_kill): use ruby_kill() instead of kill().
+ * signal.c (rb_f_kill): call rb_thread_execute_interrupts()
+ to ensure that make SignalException if sent a signal
+ to myself. [Bug #7951] [ruby-core:52864]
- * variable.c (rb_const_defined): returned false even if the
- constant is defined at the top level.
+ * vm_core.h (typedef struct rb_thread_struct): added
+ th->interrupt_cond.
+ * thread.c (rb_threadptr_interrupt_common): added to
+ initialization of th->interrupt_cond.
+ * thread.c (thread_create_core): ditto.
- * eval.c (f_local_variables): dyna_var->id may be null. should
- have checked before calling str_new2().
+ * test/ruby/test_signal.rb (TestSignal#test_hup_me): test for
+ the above.
-Tue Apr 7 01:15:15 1998 Kaneko Naoshi <wbs01621@mail.wbs.or.jp>
+Sat Mar 16 00:42:39 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * re.c (reg_regsub): need to check string boundary.
+ * io.c (linux_iocparm_len): enable only exist _IOC_SIZE().
+ Because musl libc doesn't have it. [Bug #8051] [ruby-core:53229]
-Tue Apr 7 19:19:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Mar 19 10:05:04 2013 Shota Fukumori <her@sorah.jp>
- * string.c (str_cmp): returns either 1, 0, -1.
+ * ext/objspace/objspace.c: Fix typo in doc. Patch by Sho Hashimoto.
+ [Bug #8116] [ruby-dev:47177]
- * array.c (ary_cmp): should check array length, too
+Tue Mar 19 02:13:00 2013 Kenta Murata <mrkn@mrkn.jp>
-Tue Apr 7 18:50:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * configure.in: set ac_cv_prog_cxx if CXX is supplied.
- * experimental release 1.1b9_08.
+Tue Mar 19 01:18:00 2013 Kenta Murata <mrkn@mrkn.jp>
-Tue Apr 7 18:31:27 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * configure.in: Fix c++ compiler auto-selection not only for
+ Darwin 11.x, but also the other versions of Darwin.
- * instruby.rb (mandir): dll installation for cygwin32
+Tue Mar 19 00:26:22 2013 Narihiro Nakamura <authornari@gmail.com>
-Tue Apr 7 01:16:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.c: Improve accuracy of objspace_live_num() and
+ allocated/freed counters. patched by tmm1(Aman Gupta).
+ [Bug #8092] [ruby-core:53392]
- * config.sub (maybe_os): TOWNS support?
+Mon Mar 18 21:42:48 2013 Narihiro Nakamura <authornari@gmail.com>
- * config.guess: too strict check for libc versions on linuxes.
+ * gc.c: Avoid unnecessary heap growth. patched by tmm1(Aman Gupta).
+ [Bug #8093] [ruby-core:53393]
- * experimental release 1.1b9_07.
+Mon Mar 18 17:58:36 2013 Narihiro Nakamura <authornari@gmail.com>
- * array.c (ary_cmp): compare each element using `<=>'.
+ * gc.c: Fix unlimited memory growth with large values of
+ RUBY_FREE_MIN. patched by tmm1(Aman Gupta).
+ [Bug #8095] [ruby-core:53405]
- * hash.c (hash_each_with_index): yields [value, key] pair.
+Mon Mar 18 14:46:19 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * class.c (class_protected_instance_methods): list protected
- method names.
+ * test/win32ole/test_err_in_callback.rb
+ (TestErrInCallBack#test_err_in_callback): shouldn't create a file in
+ the top of build directory.
- * class.c (ins_methods_i): exclude protected methods.
+Mon Mar 18 13:29:52 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * eval.c (PUSH_BLOCK): dynamic variables can be accessed from
- eval() with bindings.
+ * vm_dump.c (backtrace): on darwin use custom backtrace() to trace
+ beyond _sigtramp. darwin's backtrace can't trace beyond signal
+ trampoline with sigaltstack.
-Mon Apr 6 14:49:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * configure.in: check execinfo.h on darwin.
- * eval.c (thread_yield): must return evaluated value.
+Mon Mar 18 11:03:23 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Fri Apr 3 13:07:29 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * vm_exec.h (END_INSN): revert r39517 because the segv seems fixed by
+ r39806.
- * eval.c (thread_schedule): context switch bypassed on wrong
- conditions.
+Mon Mar 18 10:41:06 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * variable.c (rb_name_class): set classname by id before String
- class is initialized (1.0 behavior restored).
+ * vm_exec.c: Correct predefined macro name. This typo is introduced by
+ r36534 and should be backported to ruby_2_0_0.
-Fri Apr 3 11:25:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Mar 18 03:18:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * numeric.c (num2int): no implicit conversion from string.
+ * array.c: Typo in Array#delete by Timo Sand [GH fixes #258]
- * numeric.c (num2int): check whether `to_i' returns an Integer.
+Mon Mar 18 01:14:56 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * numeric.c (num_zero_p): new method.
+ * io.c (io_fillbuf): show fd number on failure to debug.
+ http://c5632.rubyci.org/~chkbuild/ruby-trunk/log/20130316T050302Z.diff.html.gz
- * numeric.c (num_nonzero_p): new method. returns the receiver if
- it's not zero.
+Sun Mar 17 02:38:21 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * eval.c (obj_instance_eval): the_class should be the object's
- singleton class.
+ * ext/date/date_core.c: include sys/time.h for avoiding implicit
+ declaration of gettimeofday().
- * error.c (exc_s_new): message is converted into a string.
+Sun Mar 17 00:55:31 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Thu Apr 2 18:31:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * include/ruby/missing.h: removed __linux__. it's unnecessary.
- * eval.c (obj_call_init): every object call `initialize'.
+Fri Mar 15 14:57:16 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Wed Apr 1 08:51:53 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+ * thread.c: disabled _FORTIFY_SOURCE for avoid to hit glibc bug.
+ [Bug #8080] [ruby-core:53349]
+ * test/ruby/test_io.rb (TestIO#test_io_select_with_many_files):
+ test for the above.
- * parse.y (stmt): UNTIL_MOD should be for stmt, not only for expr.
+Wed Mar 13 15:16:35 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Wed Apr 1 01:20:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * include/ruby/missing.h (__syscall): moved to...
+ * io.c: here. because __syscall() is only used from io.c.
- * object.c (true_and): boolean operators &, | and ^.
+ * include/ruby/missing.h: move "#include <sys/type.h>" to ....
+ * include/ruby/intern.h: here. because it was introduced for
+ fixing NFDBITS issue. [ruby-core:05179].
-Tue Mar 31 13:23:58 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Mar 13 14:38:53 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * array.c (ary_compact_bang): returns nil, if it does not modify
- the array like String's bang methods.
+ * include/ruby/missing.h (struct timespec): include <sys/time.h>
- * array.c (ary_uniq_bang): new method to remove duplicate items.
+Wed Mar 13 13:54:45 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * eval.c (bind_s_new): new method.
+ * configure.in: check struct timeval exist or not.
+ * include/ruby/missing.h (struct timeval): check HAVE_STRUCT_TIMEVAL
+ properly. and don't include sys/time.h if struct timeval exist.
- * numeric.c (num2int): raise exception if Fixnums too big to
- convert into `int' in case that sizeof(int) < sizeof(INT).
+ * file.c: include sys/time.h explicitly.
+ * random.c: ditto.
+ * thread_pthread.c: ditto.
+ * time.c: ditto.
+ * ext/date/date_strftime.c: ditto.
- * string.c (str_center): SEGV on negative width.
+Fri Mar 15 14:45:02 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * eval.c (eval): forgot to set sourcefile.
+ * configure.in (_FORTIFY_SOURCE): added a few comments.
-Mon Mar 30 11:12:29 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Mar 15 14:17:55 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * file.c (f_test): raises exception for unknown command.
+ * thread_pthread.c (numberof): renamed from ARRAY_SIZE() because
+ other all files use numberof().
- * eval.c (Init_eval): `class_eval': alias to the module_eval.
+Say Mar 15 01:33:00 2013 Charles Oliver Nutter <headius@headius.com>
-Mon Mar 30 18:50:42 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+ * test/ruby/test_lazy_enumerator.rb (TestLazyEnumerator#test_drop_while):
+ Modify while condition to show dropping remains off after first false
+ value. This change was made in 39711.
- * string.c (str_capitalize_bang): did not check string modification.
+Fri Mar 15 23:06:18 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (str_delete_bang): wrong conversion.
+ * time.c (GetTimeval): check if already initialized instance.
- * string.c (str_intern): typo in error message.
+ * time.c (GetNewTimeval): check if newly created instance.
-Mon Mar 30 01:44:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * time.c (time_init_0, time_init_1, time_init_copy, time_mload): must
+ be newly created instance. [ruby-core:53436] [Bug #8099]
- * eval.c (obj_instance_eval): accepts block as evaluation body.
- No compilation needed each time.
+Fri Mar 15 14:51:33 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (mod_module_eval): ditto
+ * file.c (rb_sys_fail_path_with_func): share same function, and path
+ may be nil.
- * file.c (file_s_umask): umask did not return old values, if no
- argument given.
+Fri Mar 15 08:24:51 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Sun Mar 29 00:54:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * io.c (rb_sys_fail_path): define & use rb_sys_fail_path0 like r39752
- * eval.c (f_throw): nil returned always.
+Fri Mar 15 04:08:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Sat Mar 28 20:40:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * proc.c: Typo in Proc.arity found by Jack Nagel [Bug #8094]
- * experimental release 1.1b9_06.
+Thu Mar 14 16:59:09 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sat Mar 28 16:07:11 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * configure.in (rb_cv_function_name_string): macro for function name
+ string predefined identifier, __func__ in C99, or __FUNCTION__ in
+ gcc.
- * io.c (io_closed): should not cause exception for closed IO.
+ * file.c (rb_sys_fail_path): use RUBY_FUNCTION_NAME_STRING.
- * string.c (str_tr): returned nil for success.
+Thu Mar 14 14:12:34 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Sat Mar 28 00:47:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * file.c (rb_sys_fail_path): use rb_sys_fail_path0 only on GCC.
+ __func__ is C99 feature.
- * eval.c (f_local_variables): new method to return an array of
- local variable names.
+Thu Mar 14 12:59:59 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * variable.c (obj_instance_variables): now returns an array of
- variable names, as described in the reference.
+ * file.c (rb_sys_fail_path0): add to append the name of called function
+ to ease debugging for example blow umask_spec failure.
+ http://fbsd.rubyci.org/~chkbuild/ruby-trunk/log/20130309T010202Z.diff.html.gz
- * eval.c (rb_attr): honors default method visibility of the
- current scope.
+ * file.c (rb_sys_fail_path): use rb_sys_fail_path0.
-Fri Mar 27 13:49:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Mar 14 12:53:15 2013 Luis Lavena <luislavena@gmail.com>
- * experimental release 1.1b9_05.
+ * win32/file.c (get_user_from_path): add internal function that retrieves
+ username from supplied path (refactored).
+ * win32/file.c (rb_file_expand_path_internal): refactor expansion of user
+ home to use get_user_from_path and cover dir_string corner cases.
+ [ruby-core:53168] [Bug #8034]
- * ruby.c (ruby_prog_init): `site_ruby' added to load_path.
+Thu Mar 14 11:53:01 2013 Narihiro Nakamura <authornari@gmail.com>
- * ruby.c (ruby_prog_init): load-path order changed. Paths in
- the RUBYLIB environment variable comes first in non-tainted
- mode.
+ * NEWS: describe RUBY_HEAP_SLOTS_GROWTH_FACTOR.
-Thu Mar 26 11:51:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Mar 14 10:01:12 2013 Eric Hodel <drbrain@segment7.net>
- * eval.c (rb_call): new feature: `protected' methods.
+ * doc/globals.rdoc: $? is thread-local
- * string.c (str_dump): new method.
+Wed Mar 13 23:25:59 2013 Narihiro Nakamura <authornari@gmail.com>
- * eval.c (block_pass): block argument can be nil, which means no
- block is supplied for the method.
+ * gc.c: allow to tune growth of heap by environment variable
+ RUBY_HEAP_SLOTS_GROWTH_FACTOR. patched by tmm1(Aman Gupta).
+ [Feature #8015] [ruby-core:53131]
-Wed Mar 25 21:20:13 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+Wed Mar 13 19:43:46 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
- * string.c (str_reverse_bang): string copied to wrong place.
+ * doc/irb/irb.rd.ja: fix typo
-Wed Mar 25 08:12:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/tk/MANUAL_tcltklib.eng: fix typos
- * numeric.c (flo_modulo): caused SEGV if left operand is not a
- float value.
+ * ext/tk/sample/tktextframe.rb (Tk#component_delegates): fix typo
- * eval.c (f_eval): optional third and fourth argument to specify
- file-name and line-number.
+Wed Mar 13 15:13:04 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (eval): file-name and line-number set properly.
+ * class.c (rb_obj_singleton_methods): collect methods from the origin
+ class. [ruby-core:53207] [Bug #8044]
- * parse.y (assign_in_cond): literal assignment is now warning, not
- compile error.
+Wed Mar 13 14:51:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * error.c (Warn): Warn() always print message, OTOH Waring()
- prints when verbose flag is set.
+ * vm_method.c (rb_export_method): directly override the flag of method
+ defined in prepending class too, not adding zsuper entry.
+ [ruby-core:53106] [Bug #8005]
-Tue Mar 24 12:50:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Mar 13 13:06:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ruby.c (ruby_prog_init): `.' should come last in the load-path.
+ * configure.in (rm, shvar_to_cpp, unexpand_shvar): local is not
+ available on old shells.
- * eval.c (Init_eval): `__send__', alias for `send'.
+ * configure.in (shvar_to_cpp): escape quotes for old shells.
+ [Bug #7959] [Bug #8071]
-Mon Mar 23 12:44:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Mar 13 11:11:07 2013 Shugo Maeda <shugo@ruby-lang.org>
- * string.c (str_chomp_bang): now takes `rs' as an argument.
+ * object.c (Init_Object): remove Module#used, which has been
+ introduced in Ruby 2.0 by mistake. [Bug #7916] [ruby-core:52719]
- * eval.c (thread_free): main_thread should not be freed.
+Wed Mar 13 05:49:29 2013 Eric Hodel <drbrain@segment7.net>
-Fri Mar 20 16:40:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/irb.rb: Fix typo
- * string.c (str_chomp_bang): chomp! (and other ! methods) returns
- nil if it does not modify the string.
+Tue Mar 12 22:20:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (str_sub_iter_s): should check last pattern since it
- may be matched to null.
+ * compile.c (iseq_set_arguments, iseq_compile_each): support required
+ keyword arguments. [ruby-core:51454] [Feature #7701]
-Thu Mar 19 13:48:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * iseq.c (rb_iseq_parameters): ditto.
- * experimental release 1.1b9_04.
+ * parse.y (f_kw, f_block_kw): ditto. this syntax is still
+ experimental, the notation may change.
- * parse.y (yylex): `10e0.9' should cause syntax error.
+ * vm_core.h (rb_iseq_struct): ditto.
-Wed Mar 18 17:46:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * vm_insnhelper.c (vm_callee_setup_keyword_arg): ditto.
- * ruby.c (load_file): new file object constant DATA. Only
- available for the script from the file.
+Tue Mar 12 17:02:53 2013 TAKANO Mitsuhiro <tak@no32.tk>
- * regex.c (re_match): forwarding failure point popped too much.
+ * date_core.c: clearly specify operator precedence.
-Tue Mar 17 18:23:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Mar 12 17:00:45 2013 TAKANO Mitsuhiro <tak@no32.tk>
- * math.c (math_frexp): newly added.
+ * insns.def: fix condition.
- * math.c (math_ldexp): ditto.
+Tue Mar 12 16:48:19 2013 TAKANO Mitsuhiro <tak@no32.tk>
- * bignum.c (bigdivmod): calculates modulo.
+ * rational.c: fix dangling if, else-if and else.
- * numeric.c (fix_remainder): returns reminder, formerly introduced
- as modulo.
+Tue Mar 12 06:27:59 2013 Eric Hodel <drbrain@segment7.net>
- * numeric.c (fix_modulo): calculates proper `modulo'.
+ * lib/rubygems/commands/setup_command.rb: Don't delete non-rubygems
+ files when installing RubyGems.
+ * test/rubygems/test_gem_commands_setup_command.rb: Test for the
+ above.
- * bignum.c (bigdivmod): wrong sign for reminder.
+ * lib/rubygems/ext/ext_conf_builder.rb: Use full path to siteconf.rb
+ in case the extconf.rb changes directories (like memcached does).
-Mon Mar 16 17:07:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/rubygems/package.rb: Remove double slash from path.
+ * test/rubygems/test_gem_package.rb: Test for the above.
+ * test/rubygems/test_gem_package_old.rb: ditto.
- * experimental release 1.1b9_03.
+ * lib/rubygems/source.rb: Revert automatic HTTPS upgrade
+ * lib/rubygems/spec_fetcher.rb: ditto.
+ * test/rubygems/test_gem_remote_fetcher.rb: ditto.
+ * test/rubygems/test_gem_source.rb: ditto.
+ * test/rubygems/test_gem_spec_fetcher.rb: ditto.
-Mon Mar 16 16:33:53 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Tue Mar 12 02:25:19 2013 Eric Hodel <drbrain@segment7.net>
- * io.c (pipe_finalize): needed to add pipe_finalize to pipes on
- cygwin32.
+ * lib/net/smtp.rb: Added Net::SMTP#rset method to implement the SMTP
+ RSET command. [ruby-trunk - Feature #5373]
+ * NEWS: ditto.
+ * test/net/smtp/test_smtp.rb: Test for the above.
-Mon Mar 16 14:11:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Mar 11 22:44:57 2013 Tanaka Akira <akr@fsij.org>
- * class.c (ins_methods_i): needed to consider NOEX_UNDEF.
+ * lib/resolv-replace.rb (TCPSocket#initialize): resolve the 3rd
+ argument only if non-nil value is given.
+ [ruby-dev:47150] [ruby-trunk - Bug #8054] reported and analyzed by
+ mrkn.
-Mon Mar 16 13:23:53 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Mon Mar 11 19:22:54 2013 NAKAMURA Usaku <usa@ruby-lang.org>
- * io.c (io_check_closed): check for `fptr->f2 == NULL'.
+ * test/mkmf/base.rb: class name conflict.
- * io.c (io_fptr_close): ditto.
+Mon Mar 11 18:45:09 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Mon Mar 16 11:49:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * enumerator.c (enumerator_with_index): try to convert given offset to
+ integer. fix bug introduced in r39594.
- * io.c (pipe_atexit): free()ing referencing pipe_list.
+Mon Mar 11 17:27:57 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * range.c (range_length): returns zero, if the first is greater
- than the last.
+ * test/ruby/envutil.rb (EnvUtil.with_default_external): add for
+ changing Encoding.default_external without warnings.
- * signal.c (trap_restore_mask): restore signal mask before raising
- exceptions and throws.
+ * test/ruby/envutil.rb (EnvUtil.with_default_internal): ditto.
-Fri Mar 13 13:49:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/test_io_m17n.rb: use above with_default_external.
- * experimental release 1.1b9_02.
+Mon Mar 11 16:57:00 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * object.c (mod_clone): need to dups constants and instance
- variables.
+ * io.c (extract_binmode): raise error even if binmode and textmode
+ don't conflict. [Bug #5918] [ruby-core:42199]
- * eval.c (rb_eval): forgot to initialize body for NODE_DEFS.
+Mon Mar 11 12:25:12 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * eval.c (rb_eval): retrieve self from calling frame, since self
- changes sometimes.
+ * Merge Onigmo d4bad41e16e3eccd97ccce6f1f96712e557c4518.
+ fix lookbehind assertion fails with /m mode enabled. [Bug #8023]
+ fix \Z matches where it shouldn't. [Bug #8001]
- * env.h (FRAME): need to save self in the calling frame.
+Mon Mar 11 11:53:35 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (f_gets_method): rs should be initialized by RS.
+ * lib/mkmf.rb (MakeMakefile#dir_config, MakeMakefile#_libdir_basename):
+ defer use of instance variable until needed. [Bug #8074]
-Thu Mar 12 15:33:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Mar 7 10:42:28 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * experimental release 1.1b9_01.
+ * lib/thread.rb (Queue#clear): return self.
+ Patch by Cubing Cube. Thank you! [Bug #7947] [ruby-dev:47098]
+ * lib/thread.rb (Queue#push): ditto.
+ * lib/thread.rb (SizedQueue#push): ditto.
+ * test/thread/test_queue.rb: add tests for the above.
- * range.c (range_s_new): check values by `first <= last'.
+Thu Mar 7 10:40:49 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * parse.y (lastline_set): fixed offset for $_ and $~ in the local
- variable space.
+ * tool/change_maker.rb (#diff2index): check Encoding::BINARY.
+ BASERUBY may still be 1.8.x.
-Wed Mar 11 02:14:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Mar 7 08:47:42 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * io.c (io_gets): handle normal case specially for speed.
+ * NEWS (Mutex#owned?): no longer experimental.
- * eval.c (rb_disable_super): function to disable superclass's
- method explicitly.
+Sun Mar 10 23:38:15 2013 Luis Lavena <luislavena@gmail.com>
- * eval.c (rb_eval): inherits previous method definition's
- NOEX_UNDEF-ness, if exists.
+ * win32/file.c (rb_file_expand_path_internal): Expand home directory when
+ used as second parameter (dir_string). [ruby-core:53168] [Bug #8034]
+ * test/ruby/test_file_exhaustive.rb: add test to verify.
- * class.c (rb_define_method): disables superclass's overriding
- method by default.
+Sun Mar 10 23:27:05 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Mar 11 01:40:48 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
+ * lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
+ it is impossible to predict which file will be installed to where,
+ by the arguments, so use intermediate destination directory always.
+ [Bug #7698]
- * numeric.c (flo_gt,etc.): do not depend on `<=>', to handle NaN.
+Sun Mar 10 17:00:22 2013 Tadayoshi Funaba <tadf@dotrb.org>
-Tue Mar 10 00:03:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * complex.c: edited rdoc.
+ * rational.c: ditto.
- * ruby.c (load_file): understands multiple options in #! line.
+Sun Mar 10 15:02:39 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * regex.c (re_compile_pattern): support for [:alpha:] etc.
+ * process.c (setup_communication_pipe): remove unused function.
+ it was unintentionally added r39683.
-Mon Mar 9 16:53:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Mar 6 00:30:40 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * io.h (GetOpenFile): embed io_check_closed in GetOpenFile.
+ * tool/gen_ruby_tapset.rb: add tapset generator.
- * sprintf.c (f_sprintf): zero padding failed for negative
- integers.
+Wed Mar 6 03:27:43 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * sprintf.c (remove_sign_bits): failed to remove some bits.
+ * probes.d (symbol-create): change argument name `string' to
+ `str'. `string' is a keyword for systemtap.
-Sat Mar 7 21:51:46 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
+Tue Mar 5 22:23:01 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * class.c (ins_methods_i): body may be NULL for some case.
+ * probes.d: added argument name
-Fri Mar 6 17:23:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Mar 7 01:17:00 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * regex.c (mbcinit): table driven mbchar detection.
+ * test/thread/test_queue.rb (TestQueue#test_thr_kill): reduce
+ iterations from 2000 to 250. When running on uniprocessor
+ systems, every th.kill needs TIME_QUANTUM_USEC time (i.e.
+ 100msec on posix systems). Because, "r.read 1" is 3 steps
+ operations that 1) release GVL 2) read 3) acquire gvl and
+ (1) invoke context switch to main thread. and then, main
+ thread's th.kill resume (1), but not (2). Thus read interrupt
+ need TIME_QUANTUM_USEC. Then maximum iteration is 30sec/100msec
+ = 300.
- * object.c (obj_alloc): check for allocating instance for the
- primitive classes (mostly perfect).
+Thu Mar 7 00:14:51 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * ext/curses/curses.c (curses_finalize): restore original state at
- interpreter termination.
+ * io.c (rb_update_max_fd): use ATOMIC_CAS because this function
+ is used from timer thread too.
- * ext/curses/curses.c (curses_addstr): forgot to check argument
- type (caused SEGV). now uses STR2CSTR() macro.
+Wed Mar 6 23:30:21 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Thu Mar 5 13:47:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * thread_pthread.c (ARRAY_SIZE): new.
+ * thread_pthread.c (gvl_acquire_common): use low priority
+ notification for avoiding timer thread interval confusion.
+ If we use timer_thread_pipe[1], every gvl_yield() request
+ one more gvl_yield(). It lead to thread starvation.
+ [Bug #7999] [ruby-core:53095]
+ * thread_pthread.c (rb_reserved_fd_p): adds timer_thread_pipe_low
+ to reserved fds.
- * eval.c (block_pass): accepts method object as block args.
+Wed Mar 6 22:36:19 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * eval.c (f_missing): use any_to_s() for stringify.
+ * thread_pthread.c (rb_thread_wakeup_timer_thread_fd): add fd
+ argument and remove hardcoded dependency of timer_thread_pipe[1].
+ * thread_pthread.c (consume_communication_pipe): add fd argument.
+ * thread_pthread.c (close_communication_pipe): ditto.
-Wed Mar 4 01:39:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * thread_pthread.c (timer_thread_sleep): adjust the above changes.
- * parse.y (block_arg): new syntax - block argument in the
- calling arglist.
+ * thread_pthread.c (setup_communication_pipe_internal): factor
+ out pipe initialize logic.
- * eval.c (rb_call): no module search. simplified a lot.
+Wed Mar 6 22:56:14 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * eval.c (rb_eval): block arg support.
+ * thread_pthread.c (ubf_select): add to small comments why we
+ need to call rb_thread_wakeup_timer_thread().
- * parse.y (f_block_arg): new syntax - block argument in the
- formal arglist.
+Wed Mar 6 21:42:24 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Tue Mar 3 14:20:15 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * thread_pthread.c (rb_thread_create_timer_thread): factor out
+ creating communication pipe logic into separate function.
+ * thread_pthread.c (setup_communication_pipe): new helper function.
+ * thread_pthread.c (set_nonblock): moves a definition before
+ setup_communication_pipe.
- * eval.c (obj_method): returns bound method object.
+Sun Mar 3 02:42:29 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * eval.c (rb_call): argument check for empty methods.
+ * thread_pthread.c (consume_communication_pipe): retry when
+ read returned CCP_READ_BUFF_SIZE.
- * ruby.h (NUM2CHR): new macro, originally from curses module.
+Wed Mar 6 21:31:35 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Tue Mar 3 13:03:35 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
+ * thread_pthread.c (timer_thread_sleep): use poll() instead of
+ select(). select doesn't work if timer_thread_pipe[0] is
+ greater than FD_SETSIZE.
+ * thread_pthread.c (USE_SLEEPY_TIMER_THREAD): add a dependency
+ against poll.
- * io.c (io_putc): new method.
+Wed Mar 6 21:00:23 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Tue Mar 3 11:21:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * thread_pthread.c (USE_SLEEPY_TIMER_THREAD): use more accurate
+ ifdef conditions.
- * string.c (str_inspect): more strict charcode detection.
+Sun Mar 3 02:30:36 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * eval.c (thread_stop): stopping only thread raises ThreadError
- exception.
+ * thread_pthread.c (set_nonblock): new helper function for set
+ O_NONBLOCK.
+ * thread_pthread.c (rb_thread_create_timer_thread): set O_NONBLOCK
+ to timer_thread_pipe[0] too.
-Tue Mar 3 08:04:56 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp>
+Sun Mar 10 09:12:51 2013 Tadayoshi Funaba <tadf@dotrb.org>
- * struct.c (struct_alloc): incomplete struct initialization made
- GC to access unallocated addresses.
+ * complex.c: described syntax of string form.
+ * rational.c: ditto.
-Mon Mar 2 16:28:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Mar 9 11:58:39 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (thread_stop_method): remove Thread#stop.
+ * marshal.c (w_extended): check for prepended object.
+ [ruby-core:53206] [Bug #8043]
-Fri Feb 27 18:16:26 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Mar 9 08:36:58 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * version 1.1b9 released.
+ * load.c (features_index_add_single, rb_feature_p): store single index
+ as Fixnum to reduce the number of arrays for the indexes. based on
+ the patch by tmm1 (Aman Gupta) in [ruby-core:53216] [Bug #8048].
-Fri Feb 27 09:36:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Mar 9 00:25:57 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * hash.c (hash_delete_nil): needed to compare value to nil, since
- nil is the valid key for hashes.
+ * marshal.c (r_object0): load prepended objects. treat the class of
+ extended object in the included modules as prepended singleton
+ class. [ruby-core:53202] [Bug #8041]
- * hash.c (hash_foreach_iter): rehashing causes IndexError.
+Fri Mar 8 19:44:00 2013 Akinori MUSHA <knu@iDaemons.org>
- * hash.c (hash_foreach_iter): rehash check by pointer comparison.
+ * man/rake.1, man/ruby.1: Use the Pa macro to make URLs stand out.
-Thu Feb 26 17:22:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Mar 8 13:20:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * parse.y (fname): convert reswords into symbols.
+ * ext/pathname/pathname.c (path_f_pathname): rdoc for Pathname()
- * parse.y (reswords): reserved words are now embedded in the
- syntax (sigh).
+Fri Mar 8 12:00:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * parse.y: now reserved words can be method names safely.
+ * man/rake.1: Document ENVIRONMENT variables on RAKE(1) manpage
-Wed Feb 25 15:50:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Mar 8 10:44:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (mod_module_eval): clear the_scope's PRIVATE flag before
- calling eval().
+ * lib/webrick/httpproxy.rb: Fix typos in HTTPProxyServer [Bug #8013]
+ Patch by Nobuhiro IMAI [ruby-core:53127]
- * gc.c (gc_call_finalizer_at_exit): run finalizers before any data
- object being freed.
+Fri Mar 8 03:16:15 2013 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
- * eval.c (rb_eval): needed to keep prot_tag->retval before
- evaluating the ensure clause.
+ * class.c (rb_mod_ancestors): Include singleton_class in ancestors
+ list [Feature #8035]
-Tue Feb 24 11:16:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/test_module.rb (class): test for above
- * parse.y (yylex): reserved words can be appear as method names at
- right after 'def' and `.'(dot), like foo.next.
+ * test/ruby/marshaltestlib.rb (module): adapt test
- * eval.c (return_check): checks for return out of thread (formerly
- done in return_value).
+ * NEWS: list change
- * eval.c (POP_TAG): copy retval to outer level.
+Thu Mar 7 14:21:37 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (return_value): just set retval, no check, no unwinding.
+ * compile.c (iseq_compile_each): pass keyword arguments to zsuper,
+ with current values. [ruby-core:53114] [Bug #8008]
- * parse.y (nextc): line continuation by backslash at end of line.
+Thu Mar 7 12:53:47 2013 Eric Hodel <drbrain@segment7.net>
- * regex.c (re_compile_pattern): forgot to clear pending_exact on
- closing parentheses.
+ * lib/rubygems/commands/setup_command.rb: Install .pem files.
+ * test/rubygems/test_gem_commands_setup_command.rb: Test for the
+ above.
- * parse.y (assignable): should not assign dyna_var to true, if it
- is already defined.
+ * lib/rubygems/spec_fetcher.rb: Test HTTPS upgrade with URI::HTTPS,
+ not URI::HTTP. Fixes bug in automatic HTTPS upgrade.
+ * test/rubygems/test_gem_spec_fetcher.rb: Test for the above.
-Mon Feb 23 14:35:03 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/rubygems.rb: Version 2.0.2
- * object.c (obj_is_kind_of): no longer accepts true/false/nil.
+ * lib/rubygems/test_utilities.rb: Ensure scheme and uri class match.
- * object.c ({true,false,nil}_to_i): can be converted into integers.
+Thu Mar 7 10:39:04 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Mon Feb 23 12:11:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * tool/rbinstall.rb (gem): Gem.ensure_gem_subdirectories now has mode
+ option since r39607. refix of r38870.
- * re.c (reg_s_quote): needed to be mbchar aware.
+Wed Mar 6 13:14:28 2013 Eric Hodel <drbrain@segment7.net>
- * eval.c (proc_s_new): wrong iter mark.
+ * test/rubygems/test_gem_spec_fetcher.rb: Removed unused variable.
-Sat Feb 21 22:59:30 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
+Wed Mar 6 08:10:15 2013 Eric Hodel <drbrain@segment7.net>
- * io.c (f_syscall): no argument check.
+ * test/rubygems/test_require.rb: Fix tests when 'a.rb' exists.
+ [ruby-trunk - Bug #7749]
-Fri Feb 20 10:17:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Mar 6 08:00:59 2013 Eric Hodel <drbrain@segment7.net>
- * version 1.1b8 released.
+ * lib/rubygems.rb: Allow specification of directory permissions.
+ [ruby-trunk - Bug #7713]
+ * test/rubygems/test_gem.rb: Test for the above.
- * ext/kconv/kconv.c (kconv_kconv): default output code now be
- determined according to the value of $KCODE.
+Wed Mar 6 07:40:21 2013 Eric Hodel <drbrain@segment7.net>
- * re.c (rb_get_kcode): can retrieve $KCODE from C code.
+ * lib/rubygems/commands/query_command.rb: Only fetch remote specs when
+ showing details. [ruby-trunk - Bug #8019] RubyGems bug #487
+ * lib/rubygems/remote_fetcher.rb: ditto.
+ * lib/rubygems/security/policy.rb: ditto.
+ * test/rubygems/test_gem_commands_query_command.rb: Test for the
+ above.
- * parse.y (stmt): if/unless modifiers returns nil, if condition is
- not established.
+ * lib/rubygems/security.rb: Make OpenSSL optional for RubyGems.
+ * lib/rubygems/commands/cert_command.rb: ditto.
-Thu Feb 19 11:06:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/rubygems/config_file.rb: Display file with YAML error, not
+ ~/.gemrc
- * ext/kconv/kconv.c (kconv_kconv): charcode can be specified by
- code name (JIS, SJIS, EUC like value of $KCODE).
+ * lib/rubygems/remote_fetcher.rb: Only create gem subdirectories when
+ installing gems.
+ * lib/rubygems/dependency_resolver.rb: ditto.
+ * lib/rubygems/test_utilities.rb: ditto.
+ * test/rubygems/test_gem_commands_fetch_command.rb: Test for the
+ above.
- * regex.c (re_compile_pattern): forgot to fixup_jump for (?:..).
+ * lib/rubygems/spec_fetcher.rb: Only try to upgrade
+ http://rubygems.org to HTTPS
+ * test/rubygems/test_gem_spec_fetcher.rb: Test for the above.
- * regex.c (re_compile_pattern): needed to clear pending_exact on
- non-registering grouping (?:...).
+ * lib/rubygems.rb: Update win_platform? check for JRuby compatibility.
-Wed Feb 18 19:54:21 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/rubygems/test_gem_installer.rb: Update for Ruby 1.9.2
+ compatibility
- * parse.y (here_document): needed to set lex_state to EXPR_END.
+Wed Mar 6 01:19:28 2013 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
-Wed Feb 18 18:45:10 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * enumerator.c (enumerator_with_index, lazy_take): use INT2FIX(0)
+ instead of INT2NUM(0).
- * patches for cygwin32 applied.
+ * ext/bigdecimal/bigdecimal.c (BigMath_s_exp): ditto.
-Wed Feb 18 00:41:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/fiddle/function.c (function_call): ditto.
- * string.c (str_sub_s): needed to be mbchar aware to increment one
- character.
+ * ext/openssl/ossl_x509store.c (ossl_x509store_initialize): ditto.
- * regex.c (re_match): \Z matches newline just before the end of
- the string.
+ * process.c (proc_getsid): ditto.
-Tue Feb 17 00:04:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * transcode.c (econv_finish): ditto.
- * time.c (time_arg): Time.gm and Time.local now understands
- Time#to_a format.
+Tue Mar 5 21:36:43 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (str_sub_s): replace happened twice for null pattern.
+ * class.c (rb_prepend_module): check redefinition of built-in optimized
+ methods. [ruby-dev:47124] [Bug #7983]
- * regex.c (re_search): null pattern should not match after newline
- at the end of string.
+ * vm.c (rb_vm_check_redefinition_by_prepend): ditto.
- * time.c (time_isdst): now returns boolean value.
+Tue Mar 5 20:29:25 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * error.c (rb_check_type): treat special constants in messages.
+ * proc.c (mnew): revert r39224. [ruby-core:53038] [Bug #7988]
- * parse.y (yylex): new form `::Const' to see toplevel constants.
+Tue Mar 5 20:23:54 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (cond): SEGV on `if ()'.
+ * include/ruby/intern.h (rb_check_arity): make a static inline
+ function so it can be used as an expression and argc would be
+ evaluated only once.
- * gc.c (obj_free): some data needed explicit free().
+Tue Mar 5 12:30:55 2013 Eric Hodel <drbrain@segment7.net>
-Mon Feb 16 23:55:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/rubygems.rb: Bump version to 2.0.1 for upcoming bugfix release
- * eval.c (blk_free): release duplicated block informations.
+ * lib/rubygems/ext/ext_conf_builder.rb: Restore ruby 1.8 compatibility
+ for [Bug #7698]
+ * test/rubygems/test_gem_installer.rb: Ditto.
- * eval.c (blk_copy_prev): duplicate outer block information into
- the heap, when proc/binding created.
+ * lib/rubygems/package.rb: Restore ruby 1.8 compatibility.
-Mon Feb 16 14:38:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/rubygems/test_gem_dependency_installer.rb: Fix warnings
- * time.c (time_mon): now 1 for January and so on.
+Tue Mar 5 12:24:23 2013 Eric Hodel <drbrain@segment7.net>
- * time.c (time_year): year in 19xx (no + 1900 needed anymore).
+ * enumerator.c (enumerator_with_index): Restore handling of a nil memo
+ from r39594.
-Mon Feb 16 13:28:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Mar 5 10:40:22 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * regex.c (re_compile_pattern): need to fetch mbchar's second byte
- without translation.
+ * ext/objspace/objspace.c (count_nodes): count also newly added nodes,
+ and fix key for unknown node. patch by tmm1 (Aman Gupta) in
+ [ruby-core:53130] [Bug #8014]
-Mon Feb 16 12:29:27 1998 MAEDA shugo <shugo@po.aianet.ne.jp>
+Tue Mar 5 10:20:16 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (f_pass_block): pass iterator block to other method.
+ * enumerator.c (enumerator_with_index_i): allow Bignum as offset, to
+ get rid of conversion exception and integer overflow.
+ [ruby-dev:47131] [Bug #8010]
-Fri Feb 13 08:16:11 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * numeric.c (rb_int_succ, rb_int_pred): shortcut optimization for
+ Bignum.
- * parse.y (parse_regx): handle \s before read_escape().
+Tue Mar 5 10:02:48 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (read_escape): `\s' in strings as space.
+ * lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
+ clear DESTDIR so RUBYARCHDIR and RUBYLIBDIR are not be overridden.
+ [Bug #7698]
-Tue Feb 10 17:29:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Mar 4 15:33:40 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * version 1.1b7 released.
+ * lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
+ fix for unusual cases again. install to a temporary directory once
+ and move installed files to the destination directory, if it is same
+ as the current directory. [Bug #7698]
- * string.c (str_aset): string insertion by `str[n] = str2'.
+Mon Mar 4 14:13:36 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (str_oct): does recognize `0x'.
+ * Makefile.in (miniruby, ruby): move MAINLIBC because linker arguments
+ must appear after object files with newer versions of gcc. patch by
+ tmm1 (Aman Gupta) in [ruby-core:53121] [Bug #8009]
- * sprintf.c (f_sprintf): use base 10 for conversion from string to
- integer.
+Mon Mar 4 10:23:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Mon Feb 9 14:51:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * encoding.c: Typo in Encoding overview by Tom Wardrop [GH fixes #255]
- * numeric.c (do_coerce): proper error message.
+Sun Mar 3 12:35:08 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (str_sum): bug - masked by wrong value. (sigh..)
+ * lib/mkmf.rb (MakeMakefile#libpath_env): set runtime library path for
+ the case rpath is disabled.
-Sat Feb 7 15:11:14 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Mar 3 12:17:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (str_empty): new method
+ * lib/rubygems/ext/ext_conf_builder.rb
+ (Gem::Ext::ExtConfBuilder.hack_for_obsolete_style_gems): remove
+ circular dependencies in install-so too. [ruby-core:52882]
+ [Bug #7698]
-Fri Feb 6 01:42:15 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Mar 3 07:33:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * time.c (time_asctime): use asctime(3), not strftime(3).
+ * ext/socket/tcpserver.c: Grammar for TCPServer.new from r39554
-Thu Feb 5 18:58:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Mar 3 01:17:20 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (io_fptr_close): do not free path on close().
+ * lib/rubygems/ext/ext_conf_builder.rb
+ (Gem::Ext::ExtConfBuilder.hack_for_obsolete_style_gems): remove
+ circular dependencies for old style gems which locate extconf.rb on
+ the toplevel. [ruby-core:53059] [ruby-trunk - Bug #7698]
- * array.c (ary_filter): new method.
+ * lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
+ use RUBYOPT instead of -r option, and revert some tests. [Bug #7698]
- * enum.c (enum_each_with_index): new method.
+ * lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
+ revert use of temporary directory for build, to work some buggy
+ extconf.rb which cannot build outside the source directory.
+ [ruby-core:53056] [Bug #7698]
-Thu Feb 5 14:10:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Mar 3 00:04:20 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (primary): singleton class def can be appeared inside
- method bodies.
+ * enc/depend (CPPFLAGS), lib/mkmf.rb (MakeMakefile#create_makefile):
+ define RUBY_EXPORT for static-linked-ext mswin. [Bug #7960]
- * hash.c (hash_replace): replace content.
+Sat Mar 2 22:49:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (str_replace_method): replace content.
+ * win32/Makefile.sub (ENCOBJS, EXTOBJS, config.h): definitions for
+ static-linked-ext. [Bug #7960]
- * array.c (ary_replace_method): replace elements.
+Sat Mar 2 17:34:19 2013 Tanaka Akira <akr@fsij.org>
- * string.c (str_succ_bang): String#succ!
+ * lib/webrick/utils.rb: use Socket.tcp_server_sockets to create server
+ sockets.
+ fix [Bug #7100] https://bugs.ruby-lang.org/issues/7100
+ reported by sho-h (Sho Hashimoto).
-Thu Feb 5 18:20:30 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Sat Mar 2 02:45:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * string.c (str_upcase_bang): multi byte character support.
+ * array.c: typo in comment patch by Nami-Doc [Github fixes #253]
-Wed Feb 4 13:55:26 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Mar 2 01:33:17 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * array.c (ary_reverse): SEGV on empty array reverse.
+ * Merge Onigmo 0fe387da2fee089254f6b04990541c731a26757f
+ v5.13.3 [Bug#7972] [Bug#7974]
-Tue Feb 3 12:24:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Mar 1 11:09:06 2013 Eric Hodel <drbrain@segment7.net>
- * re.c (match_to_a): non matching element should be nil.
+ * lib/fileutils.rb: Revert r34669 which altered the way
+ metaprogramming in FileUtils occurred. [ruby-trunk - Bug #7958]
- * ruby.c (ruby_load_script): load script after all initialization.
+ * test/fileutils/visibility_tests.rb: Refactored tests of FileUtils
+ options modules to expose bug found in #7958
+ * test/fileutils/test_dryrun.rb: ditto.
+ * test/fileutils/test_nowrite.rb: ditto.
+ * test/fileutils/test_verbose.rb: ditto.
- * bignum.c (str2inum): need to interpret prefix `0' of `0x'.
+Fri Mar 1 09:18:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Tue Feb 3 10:00:18 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * lib/psych.rb: specify in rdoc what object is returned in parser
+ By Adam Stankiewicz [Github tenderlove/psych#133]
- * numeric.c (fix_rshift): use `sizeof(INT)*8' instead of 32.
+Fri Mar 1 07:21:41 2013 Eric Hodel <drbrain@segment7.net>
-Mon Feb 2 14:09:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/rubygems/ext/builder.rb: Fix incompatibilities when installing
+ extensions. Patch by Nobu.
+ [ruby-trunk - Bug #7698] [ruby-trunk - Bug #7971]
+ * lib/rubygems/ext/ext_conf_builder.rb: ditto.
+ * lib/rubygems/installer.rb: ditto.
+ * test/rubygems/test_gem_ext_ext_conf_builder.rb: Test for the above.
+ * test/rubygems/test_gem_installer.rb: ditto.
- * ruby.c (set_arg0): grab environment region too.
+ * lib/rubygems/commands/sources_command.rb: Prefer HTTPS over HTTP.
+ * lib/rubygems/defaults.rb: ditto
+ * lib/rubygems/dependency_resolver.rb: Ditto.
+ * lib/rubygems/source.rb: ditto.
+ * lib/rubygems/spec_fetcher.rb: ditto.
+ * lib/rubygems/specification.rb: ditto.
+ * lib/rubygems/test_utilities.rb: ditto.
+ * test/rubygems/test_gem.rb: Test for the above.
+ * test/rubygems/test_gem_commands_sources_command.rb: ditto.
+ * test/rubygems/test_gem_dependency_resolver_api_set.rb: ditto.
+ * test/rubygems/test_gem_remote_fetcher.rb: ditto.
+ * test/rubygems/test_gem_source.rb: ditto.
+ * test/rubygems/test_gem_spec_fetcher.rb: ditto.
-Thu Jan 29 18:36:25 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Fri Mar 1 03:25:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * process.c (rb_proc_exec): check `sh' to be exist.
+ * ext/psych/lib/psych.rb: rdoc for Psych overview by Adam Stankiewicz
+ [Github tenderlove/psych#134]
-Thu Jan 29 18:18:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Feb 28 22:57:48 2013 Koichi Sasada <ko1@atdot.net>
- * io.c (io_stdio_set): assignment to $stdin or $stdout does
- reopen() as well as $stderr.
+ * compile.c (iseq_compile_each): remove redundant trace(line)
+ instruction. for example, at the following script
+ def m()
+ p:xyzzy
+ 1
+ 2
+ end
+ compiler ignores `1' because there is no effect. However,
+ `trace(line)' instruction remains in bytecode.
+ This modification removes such redundant trace(line) instruction.
-Thu Jan 29 14:18:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/test_iseq.rb: add a test.
- * class.c (mod_ancestors): should not include singleton classes.
+Thu Feb 28 22:23:27 2013 Tanaka Akira <akr@fsij.org>
- * object.c (obj_type): should not return internal class.
+ * ext/socket/raddrinfo.c (inspect_sockaddr): don't show that Unix
+ domain socket filename is bigger than sizeof(sun_path).
+ This limit is not rigid on some platforms such as Darwin and SunOS.
- * io.c (io_reopen): unwillingly closes stdio streams.
+Thu Feb 28 21:33:01 2013 WATANABE Hirofumi <eban@ruby-lang.org>
-Thu Jan 29 11:50:35 1998 Toshihiko SHIMOKAWA <toshi@csce.kyushu-u.ac.jp>
+ * configure.in(AC_DISABLE_OPTION_CHECKING): avoid warning "WARNING:
+ Unrecognized options: --with-PACKAGE".
- * ext/socket/socket.c (udp_addrsetup): forgot to use htons().
+Thu Feb 28 20:22:04 2013 Koichi Sasada <ko1@atdot.net>
-Tue Jan 27 23:15:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * iseq.c (iseq_data_to_ary): fix condition.
+ r34303 introduces a bug to avoid all line information from
+ a result of ISeq#to_a. This is a regression problem from 2.0.0p0.
- * keywords: __FILE__, __LINE__ are available again.
+ * test/ruby/test_iseq.rb: add a test of lines after ISeq#to_a.
-Fri Jan 23 14:19:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Feb 28 08:20:33 2013 Eric Hodel <drbrain@segment7.net>
- * version 1.1b6 released.
+ * lib/rubygems/available_set.rb: Undent for style
- * object.c (mod_to_s): need to duplicate classpath.
+ * lib/rubygems/dependency_installer.rb: Pick latest prerelease gem to
+ install. Fixes RubyGems bug #468.
+ * test/rubygems/test_gem_dependency_installer.rb: Test for the above.
- * error.c (exc_inspect): need to duplicate classpath.
+ * lib/rubygems/dependency_installer.rb: Don't display "Done installing
+ documentation" if documentation will not be installed.
+ * lib/rubygems/rdoc.rb: ditto
-Thu Jan 22 00:37:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/rubygems/dependency_list.rb: Use Array#concat for Ruby 1.x
+ performance.
- * ruby.h (STR2CSTR): new macro to retrieve char*.
+ * lib/rubygems/installer.rb: Use formatted program name when comparing
+ executables. RubyGems pull request #471
+ * test/rubygems/test_gem_installer.rb: Test for the above.
- * class.c (rb_define_method): `initialize' should always be
- private, even if it defined by C extensions.
+ * lib/rubygems/package.rb: Use more explicit feature check to work
+ around JRuby bug #552
- * eval.c (rb_eval): `initialize' should always be private.
+ * lib/rubygems/ssl_certs/GeoTrust_Global_CA.pem: Added GeoTrust root
+ certificate.
-Thu Jan 22 16:21:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/rubygems/test_gem_source_list.rb: Use "example" instead of real
+ hostname
- * eval.c (rb_eval): some singleton class def cause SEGV.
+Thu Feb 28 05:57:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (TMP_ALLOC): replace ALLOCA_N, where thread context
- switch may happen.
+ * thread.c: rdoc formatting for Thread, ThreadGroup, and ThreadError
-Wed Jan 21 01:43:42 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Feb 28 02:42:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (PUSH_FRAME): do not use ALLOCA_N(). crash on some
- platforms that use missing/alloca.c.
+ * vm.c: Typo in overview for example of Thread#status returning false
+ Reported by Lee Jarvis
- * regex.c (re_compile_pattern): too many pops for non register
- subexpr.
+Wed Feb 27 22:54:27 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (yylex): open parentheses after identifiers are argument
- list, even if whitespaces have seen.
+ * ext/socket/rubysocket.h (union_sockaddr): make it longer for SunOS
+ and Darwin.
-Tue Jan 20 15:19:59 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Feb 27 21:14:34 2013 Kouhei Sutou <kou@cozmixng.org>
- * parse.y (terms): quoted word list by %w(a b c).
+ * lib/rexml/security.rb (REXML::Security): create.
+ * lib/rexml/rexml.rb: move entity_expansion_limit and
+ entity_expansion_text_limit accessors to ...
+ * lib/rexml/security.rb: ... here.
+ * lib/rexml/document.rb: use REXML::Security.
+ * lib/rexml/text.rb: use REXML::Security.
+ * test/rexml/test_document.rb: use REXML::Security.
- * ext/tcltklib/extconf.rb: more accurate check for tcl/tk libs.
+Wed Feb 27 19:53:32 2013 Benoit Daloze <eregontp@gmail.com>
- * file.c (rb_stat): most of the FileTest methods (and function
- `test') accept File objects as the argument.
+ * vm.c (Thread): fix typos in overview
-Tue Jan 19 18:19:24 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Wed Feb 27 13:21:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * ext/extmk.rb.in (install): there should be no newline after install:
+ * vm.c (Thread): Typo in overview, swap setting and getting
- * re.c (MIN): renamed from min(). there's a local variable named
- min in the file, so that some cpp will raise an error.
+Wed Feb 27 13:02:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Mon Jan 19 16:30:05 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * vm.c (Thread): Documentation overview of Thread class
- * version 1.1b5 released.
+Wed Feb 27 12:57:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * process.c (rb_syswait): no exception raised.
+ * thread.c (rb_thread_wakeup): rdoc formatting
-Fri Jan 16 00:43:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Feb 27 12:53:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * ruby.h (CLONESETUP): copies its singleton classes too.
+ * thread.c (rb_thread_group): rdoc formatting
- * class.c (singleton_class_attached): saves binded object in the
- singleton classes.
+Wed Feb 27 12:33:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (rb_eval): calls singleton_method_added even in the
- singleton class clauses.
+ * lib/ostruct.rb: Typo in OpenStruct overview [Github Fixes #251]
+ Patch by Chun-wei Kuo
-Fri Jan 15 23:22:43 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Wed Feb 27 12:13:32 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * ruby.c (proc_options): -S does not recognize PATH.
+ * vm_exec.h (END_INSN): llvm-gcc may optimize out reg_cfp and cause
+ Stack/cfp consistency error when the instruction doesn't use reg_cfp.
+ Usually instructions use PUSH() but for example trace doesn't.
+ This hack cause speed down but you shouldn't use llvm-gcc, use clang.
+ [Bug #7938]
-Thu Jan 15 02:03:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Feb 27 10:23:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (rb_clear_cache_by_id): clear only affected cache
- entries.
+ * thread.c (thread_raise_m): rdoc formatting
-Wed Jan 14 02:14:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Feb 26 23:32:44 2013 Kouhei Sutou <kou@cozmixng.org>
- * ext/socket/socket.c: new UDP/IP socket classes.
+ * lib/rexml/document.rb: move entity_expansion_limit accessor to ...
+ * lib/rexml/rexml.rb: ... here for consistency.
+ * lib/rexml/document.rb (REXML::Document.entity_expansion_limit):
+ deprecated.
+ * lib/rexml/document.rb (REXML::Document.entity_expansion_limit=):
+ deprecated.
-Tue Jan 13 10:00:18 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Feb 26 23:26:13 2013 Kouhei Sutou <kou@cozmixng.org>
- * string.c (str_cmp): ignorecase($=) works wrong.
+ * lib/rexml/document.rb: move entity_expansion_text_limit accessor to ...
+ * lib/rexml/rexml.rb: ... here to make rexml/text independent from
+ REXML::Document. It causes circular require.
+ * lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
+ deprecated.
+ * lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit=):
+ deprecated.
+ * lib/rexml/text.rb: add missing require "rexml/rexml" for
+ REXML.entity_expansion_text_limit.
+ Reported by Robert Ulejczyk. Thanks!!! [ruby-core:52895] [Bug #7961]
-Fri Jan 9 13:19:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Feb 26 15:12:11 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * version 1.1b4 released.
+ * tool/mkconfig.rb: reconstruct comma separated list values. a
+ command line to Windows batch file is split not only by spaces
+ and equal signs but also by commas and semicolons.
- * eval.c (f_missing): class name omitted from the error message.
+Tue Feb 26 15:04:19 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * error.c (exc_inspect): description changed.
+ * configure.in (unexpand_shvar): get rid of non-portable shell
+ behavior on OpenBSD, so no extra quotes. [Bug #7959]
- * string.c (Init_String): GlobalExit's superclass did not filled,
- since GlobalExit created earlier than String.
+Tue Feb 26 10:24:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Jan 8 12:10:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * parse.y (IS_LABEL_POSSIBLE): allow labels for keyword arguments just
+ after method definition without a parenthesis. [ruby-core:52820]
+ [Bug #7942]
- * parse.y (aryset): expr in the brackets can be null.
+Tue Feb 26 04:50:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Wed Jan 7 21:13:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * error.c: clarify reason for sleep in SignalException example
- * io.c (io_reopen): keep stderr unclosed.
+Tue Feb 26 03:47:00 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * io.c (io_errset): keep stderr unclosed.
+ * error.c: clarify a document of SignalException. Process.kill()
+ doesn't have any guarantee when signal will be delivered.
+ [Bug #7951] [ruby-core:52864]
-Tue Jan 6 00:27:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Feb 25 23:51:04 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y: syntax modified for `while expr do .. end' etc.
+ * include/ruby/version.h: bump RUBY_API_VERSION same as RUBY_VERSION.
- * process.c (f_exec,f_system): can supply arbitrary name for the
- new process.
+Mon Feb 25 21:03:34 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Mon Jan 5 16:59:13 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * string.c (str_byte_substr): don't set coderange if it's not known.
+ [Bug #7954] [ruby-dev:47108]
- * file.c (file_s_basename): removes any extension by ".*".
+Mon Feb 25 16:47:02 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Jan 4 19:36:22 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * common.mk (realclean-local): miniprelude.c is made by srcs, so it
+ should not removed by distclean but by realclean. [Bug #6807]
- * parse.y (yylex): needed to update lex_p (reading point).
+Mon Feb 25 16:30:30 2013 Eric Hodel <drbrain@segment7.net>
-Sat Jan 3 19:14:14 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * lib/rubygems/config_file.rb: Lazily load .gem/credentials to only
+ check permissions when necessary. RubyGems bug #465
+ * test/rubygems/test_gem_config_file.rb: Test for the above.
- * class.c,object.c: duplicate defines mKernel and cFinxnum.
+ * test/rubygems/test_gem_commands_push_command.rb: Remove duplicated
+ test.
-Fri Jan 2 20:38:59 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Feb 25 15:47:18 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/curses/curses.c (NUM2CHAR): uses the first character for
- string arguments.
+ * enc/depend (ARFLAGS): VisualC++ linker does not allow spaces between
+ output option and the output file name. [Bug #7950]
- * array.c (ary_fill): did not extend array for ranges.
+ * enc/depend (RANLIB): set default command to do nothing, or make the
+ entire line a label on Windows.
- * array.c (beg_len): did not return end pos bigger than size.
+Mon Feb 25 14:41:07 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Fri Jan 2 02:09:16 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * lib/mkmf.rb (MakeMakefile#init_mkmf): default libdirname to libdir.
- * dir.c (dir_s_chdir): bug in nil check.
+ * tool/rbinstall.rb: ditto.
- * array.c (ary_fill): bug in nil check.
+Mon Feb 25 13:12:39 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Dec 30 11:46:23 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * configure.in (setup): find Setup file from target_os 1. by
+ suffix (e.g. Setup.nacl, Setup.atheos), 2. by "platform"
+ option (e.g. Setup.nt, Setup.emx), and 3. default Setup. And
+ Setup.dj had been removed.
- * hash.c (env_path_tainted): checks directories in PATH
- environment variable are not world writable.
+Mon Feb 25 12:48:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * ruby.c (load_file): invoke specified interpreter if the #! line
- does not contain the word `ruby'.
+ * thread.c: Document Thread::new, clean up ::fork and mention calling
+ super if subclassing Thread
-Fri Dec 26 03:26:41 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Feb 25 12:38:50 2013 Tanaka Akira <akr@fsij.org>
- * string.c (uscore_get): type information included in the error
- message.
+ * ext/socket/extconf.rb: don't test ss_family and ss_len member of
+ struct sockaddr_storage. They are not used now except SunOS
+ specific code.
- * variable.c (f_untrace_var): does not free trace-data within
- trace procedure.
+Mon Feb 25 11:03:38 2013 Akinori MUSHA <knu@iDaemons.org>
-Thu Dec 25 02:50:29 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * configure.in (unexpand_shvar): Use the numeric comparison
+ operator instead of '==' which is a ksh extension. [Bug #7941]
- * version 1.1b3 released.
+Mon Feb 25 02:37:56 2013 Tanaka Akira <akr@fsij.org>
- * ruby.h: inlining some functions on gcc 2.x
+ * ext/socket: define and use union_sockaddr instead of struct
+ sockaddr_storage for less casts.
-Tue Dec 23 02:47:33 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/rubysocket.h (union_sockaddr): defined.
- * eval.c (rb_eval): public/private information kept in the current
- scope, to remove undesired state from the class/module.
+ * ext/socket/socket.c (sock_accept): use union_sockaddr.
+ (sock_accept_nonblock): ditto.
+ (sock_sysaccept): ditto.
+ (sock_s_getnameinfo): ditto.
- * time.c (time_strftime): remove hidden limit of 100 bytes of
- result string, using malloc'ed buffer.
+ * ext/socket/basicsocket.c (bsock_getsockname): ditto.
+ (bsock_getpeername): ditto.
+ (bsock_local_address): ditto.
+ (bsock_remote_address): ditto.
- * hash.c (hash_update): merges the contents of another hash,
- overriding existing keys.
+ * ext/socket/ancdata.c (bsock_recvmsg_internal): ditto.
- * regex.c (must_instr): totally re-written.
+ * ext/socket/init.c (recvfrom_arg): ditto.
+ (recvfrom_blocking): ditto.
+ (rsock_s_recvfrom): ditto.
+ (rsock_s_recvfrom_nonblock): ditto.
+ (rsock_getfamily): ditto.
- * io.c (read_all): try to allocate proper sized buffer using
- fstat(2) for speedup.
+ * ext/socket/raddrinfo.c (rb_addrinfo_t): ditto.
+ (ai_get_afamily): ditto.
+ (inspect_sockaddr): ditto.
+ (addrinfo_mdump): ditto.
+ (addrinfo_mload): ditto.
+ (addrinfo_getnameinfo): ditto.
+ (addrinfo_ip_port): ditto.
+ (extract_in_addr): ditto.
+ (addrinfo_ipv6_to_ipv4): ditto.
+ (addrinfo_unix_path): ditto.
-Sat Dec 20 00:27:28 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/tcpserver.c (tcp_accept): ditto.
+ (tcp_accept_nonblock): ditto.
+ (tcp_sysaccept): ditto.
- * regex.c (must_instr): need to skip 2 bytes for mbchars.
+ * ext/socket/ipsocket.c (ip_addr): ditto.
+ (ip_peeraddr): ditto.
+ (ip_s_getaddress): ditto.
-Fri Dec 19 01:18:29 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Feb 24 21:15:05 2013 Tadayoshi Funaba <tadf@dotrb.org>
- * version 1.1b2 released.
+ * ext/date/date_core.c: [ruby-core:52303]
- * eval.c (check_errat): check and convert (if necessary) traceback
- information before assigning to the variable $@.
+Sun Feb 24 15:33:46 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (f_raise): optional third argument to specify traceback
- information.
+ * random.c (rb_random_ulong_limited): limit is inclusive, but generic
+ rand method should return a number less than it, so increase for the
+ difference. [ruby-core:52779] [Bug #7935]
- * io.c (f_open): prevent infinite recursive call.
+Sun Feb 24 15:32:36 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Dec 18 19:33:47 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * random.c (rb_random_ulong_limited): limit is inclusive, but generic
+ rand method should return a number less than it, so increase for the
+ difference. [ruby-core:52779] [Bug #7935]
- * string.c (str_rindex): now accepts regexp as index.
+Sun Feb 24 15:14:43 2013 Eric Hodel <drbrain@segment7.net>
-Thu Dec 18 18:42:50 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * lib/net/http.rb: Removed duplicate Accept-Encoding in Net::HTTP#get.
+ [ruby-trunk - Bug #7924]
+ * test/net/http/test_http.rb: Test for the above.
- * ext/socket/extconf.rb: modified to detect win32 socket lib.
+Wed Feb 20 14:28:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Thu Dec 18 00:25:03 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * thread.c: Document ThreadGroup::Default
- * re.c (reg_equal): checks for source and casefold and kcode matching.
+Wed Feb 20 14:23:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * marshal.c: became built-in module.
+ * thread.c: Grammar for #backtrace_locations and ::handle_interrupt
- * ext/marshal/marshal.c (r_object): displays struct name for
- non-compatible struct.
+Sun Feb 24 13:35:57 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * string.c (str_index_method): now searches character (fixnum) in
- the string.
+ * vm_insnhelper.c (vm_call_method): block level control frame does not
+ have method entry, so obtain the method entry from method top-level
+ control frame to be compared with refined method entry.
+ [ruby-core:52750] [Bug #7925]
- * string.c (str_include): redefine `include?'.
+Wed Feb 20 13:23:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * regex.c (re_match): start_nowidth saves current stack position
- to stop_nowidth.
+ * object.c: Document methods receiving string and convert to symbol
+ Patch by Stefan Rusterholz
+ * vm_eval.c: ditto
+ * vm_method.c: ditto
- * regex.c (re_compile_pattern): add space to stop_nowidth to save
- runtime stack position.
+Wed Feb 20 07:20:56 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Tue Dec 16 14:57:43 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * signal.c (sigsegv): suppress unused result warning. Because
+ write(2) is marked __warn_unused_result__ on Linux glibc.
- * string.c (scan_once): wrong exception for regexp that match with
- null string (use substr instead of subseq).
+Sun Feb 24 07:50:53 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sat Dec 13 00:13:32 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * compile.c (iseq_set_arguments): no keyword check if any keyword rest
+ argument exists, even unnamed. [ruby-core:52744] [Bug #7922]
- * parse.y (expr): remove bare assocs from expr rule.
+Sat Feb 23 16:51:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * rbconfig.rb: renamed from config.rb (it was too generic name).
+ * thread.c: Documentation for Thread#backtrace_locations
-Fri Dec 12 00:50:25 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Feb 23 16:05:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * parse.y (expr): warns if BEGIN or END appear in the method
- bodies.
+ * vm.c: Typo in ObjectSpace::WeakMap overview
- * string.c (str_match): calls y =~ x if y is neither String nor
- Regexp so that eregex.rb works.
+Sat Feb 23 16:00:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * eval.c (f_at_exit): to register end proc.
+ * thread.c: Improved rdoc for ::handle_interrupt, ::pending_interrupt?
+ and #pending_interrupt?
- * class.c (rb_define_module_function): define 'function' method
- for the Module, not private method.
+Sat Feb 23 12:26:43 2013 Akinori MUSHA <knu@iDaemons.org>
- * class.c (rb_define_function): function to define `function' method.
+ * misc/ruby-electric.el (ruby-electric-curlies)
+ (ruby-electric-matching-char, ruby-electric-bar): Avoid electric
+ insertion when there is a prefix argument.
- * eval.c (rb_eval): inherit visibility from superclass's method
- except when it is set to `function'
+ * misc/ruby-electric.el (ruby-electric-insert)
+ (ruby-electric-cua-replace-region-p)
+ (ruby-electric-cua-replace-region): Avoid electric insertion and
+ fall back when cua-mode is enabled and a region is active.
- * eval.c (rb_eval): new visibility status `function'.
+Sat Feb 23 12:35:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * parse.y (yycompile): do not clear eval_tree. thus enable multiple
- command line script by option `-e'.
+ * array.c: Document #<=> return values and formatting
+ * bignum.c: ditto
+ * file.c: ditto
+ * object.c: ditto
+ * numeric.c: ditto
+ * rational.c: ditto
+ * string.c: ditto
+ * time.c: ditto
- * eval.c (rb_eval): END execute just once.
+Sat Feb 23 10:50:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * parse.y (expr): BEGIN/END built in the syntax.
+ * array.c (rb_ary_diff, rb_ary_and, rb_ary_or): Document return order
+ [RubySpec #7803]
-Thu Dec 11 13:14:35 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Feb 23 10:17:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * object.c (mod_le): Module (or Class) comparison.
+ * object.c (rb_obj_comp): Documenting Object#<=> return values
+ Patch by Stefan Rusterholz
- * eval.c (rb_remove_method): raises NameError if named method does
- not exist.
+Sat Feb 23 09:48:41 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/curses/curses.c: remove CHECK macro for BSD curses.
+ * dir.c (file_s_fnmatch, fnmatch_brace): encoding-incompatible pattern
+ and string do not match, instead of exception. [ruby-dev:47069]
+ [Bug #7911]
-Thu Dec 11 12:44:01 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Sat Feb 23 08:57:46 2013 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
- * pack.c: sun4 cc patch
+ * doc/NEWS-*: Update NEWS from their respective branches
-Wed Dec 10 15:21:36 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Feb 23 08:14:43 2013 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
- * ext/marshal/marshal.c (marshal_load): can supply evolution proc
- object as optional second argument.
+ * NEWS: many additions for Ruby 2.0.0
- * re.c (reg_source): get source string of the regular expression.
+ * object.c: Add doc for Module.prepended
-Tue Dec 9 10:05:17 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Feb 23 07:52:53 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * version 1.1b1 released.
+ * template/ruby.pc.in: reorder library flags which may refer library
+ names. [Bug #7913]
- * parse.y (tokadd): token buffer overrun.
+Fri Feb 22 23:46:20 2013 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
- * ruby.c (ruby_prog_init): forgot to protect rb_argv0 from gc.
+ * lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
+ fix a typo in comment in r39384.
- * eval.c (ruby_run): call finalizers at process termination.
+Fri Feb 22 18:31:46 2013 Aaron Patterson <aaron@tenderlovemaking.com>
- * gc.c (gc_call_finalizer_at_exit): call free proc for every Data
- Wrapper, and finalizer for specified objects at termination.
+ * lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
+ new attribute to read/write entity expansion text limit. the default
+ limit is 10Kb.
- * version.c (show_version): version format changed.
+ * lib/rexml/text.rb (REXML::Text.unnormalize): check above attribute.
- * regex.c (re_match): wrong match with non-greedy if they appear
- more than once in regular expressions.
+Fri Feb 22 17:36:23 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * sample/ruby-mode.el (ruby-expr-beg): forgot to handle modifiers.
+ * test/test_rbconfig.rb (TestRbConfig): fix r39372.
+ It must see RbConfig::CONFIG instead of CONFIG.
-Mon Dec 8 19:00:15 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Feb 22 14:55:41 2013 Naohisa Goto <ngotogenome@gmail.com>
- * io.c (io_puts): just put a newline if no argument given.
+ * signal.c (ruby_abort): fix typo in r39354 [Bug #5014]
- * ext/tcltklib/tcltklib.c (lib_mainloop): thread-aware tk handle
- when $tk_thread_safe is set.
+Fri Feb 22 12:46:41 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * ext/tcltklib/tcltklib.c (lib_mainloop): use Tcl_DoOneEvent()
- instead of Tk_MainLoop().
+ * random.c (rb_random_ulong_limited): fix error message for negative
+ value. [ruby-dev:47061] [Bug #7903]
-Mon Dec 6 07:11:16 1997 MAEDA shugo <shugo@po.aianet.ne.jp>
+Fri Feb 22 11:36:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * io.c (io_puts): core dumped without any argument.
+ * test/test_rbconfig.rb (TestRbConfig): skip user defined values by
+ configuration options. [Bug #7902]
-Fri Dec 5 18:17:17 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Feb 22 11:33:42 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (mod_remove_method): remove (not undef) a method from the
- class/module.
+ * lib/mkmf.rb (MakeMakefile#init_mkmf): adjust default library path
+ for multiarch. [Bug #7874]
- * variable.c (obj_remove_instance_variable): method to remove
- instance variables.
+Fri Feb 22 11:10:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Thu Dec 4 13:50:29 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * enum.c (Enumerable#chunk: Improved examples, grammar, and formatting
+ Patch by Dan Bernier and Rich Bruchal of newhaven.rb
+ [Github documenting-ruby/ruby#8]
- * version 1.1b0 released.
+Fri Feb 22 11:00:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * string.c (str_aref): called str_index for regexp.
+ * numeric.c: Examples and formatting for Numeric and Float
+ Based on a patch by Zach Morek and Oren K of newhaven.rb
+ [Github documenting-ruby/ruby#5]
-Mon Dec 1 15:24:41 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Feb 22 07:04:41 2013 Eric Hodel <drbrain@segment7.net>
- * compar.c (cmp_between): wrong comparison made.
+ * lib/rubygems/installer.rb (build_extensions): Create extension
+ install destination before building extension. Patch by Kenta Murata.
+ [ruby-trunk - Bug #7897]
+ * test/rubygems/test_gem_installer.rb: Test for the above.
-Wed Nov 26 18:18:05 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Feb 22 06:30:57 2013 Eric Hodel <drbrain@segment7.net>
- * lib/mkmf.rb: generate Makefile for extension modules out of ruby
- source tree. use like `ruby -r mkmf extconf.rb'.
+ * doc/globals.rdoc: Document what setting $DEBUG does.
- * numeric.c (fix2str): enlarge buffer to prevent overflow on some
- machines.
+ * doc/globals.rdoc: Added pointer to $-d for full documentation.
- * parse.y (here_document): wrong line number generated after here-doc.
+Fri Feb 22 06:27:07 2013 Eric Hodel <drbrain@segment7.net>
-Fri Nov 21 13:17:12 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * doc/globals.rdoc: Document what setting $VERBOSE does. [Bug #7899]
- * parse.y (yylex): skip multibyte characters in comments.
+ * doc/globals.rdoc: Added pointer to $-w and $-v for full
+ documentation.
-Wed Nov 19 17:19:20 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Feb 22 02:33:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * object.c (nil_to_a): nil.to_a => [].
+ * lib/abbrev.rb: Add words parameter to Abbrev::abbrev
+ Patch by Devin Weaver [Github documenting-ruby/ruby#7]
- * parse.y (call_args): wrong node generation.
+Thu Feb 21 17:28:14 2013 NARUSE, Yui <naruse@ruby-lang.org>
-Tue Nov 18 10:13:08 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * tool/merger.rb: add interaction when only ChangeLog is modified.
- * array.c (Init_Array): Array#=== works as Array#include?
+Thu Feb 21 16:34:46 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * regex.c (re_compile_pattern): insert initialize code for jump_n,
- before entering loops.
+ * signal.c (check_stack_overflow): extract duplicated code and get rid
+ of declaration-after-statement. [Bug #5014]
- * re.c (reg_search): does not save registers unless $& etc appear
- in the script.
+Thu Feb 21 14:14:13 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Mon Nov 17 13:01:43 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * signal.c (sigsegv): avoid to use async signal unsafe functions
+ when nested sigsegv is happen.
+ [Bug #5014] [ruby-dev:44082]
- * eval.c (is_defined): add defined? check for receivers and
- arguments for calls.
+Thu Feb 21 13:47:59 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * re.c (reg_search): cache last match object.
+ * file.c (rb_group_member): added an error check. SUS says,
+ getgroups(small_value) may return EINVAL.
- * re.c (match_aref): $[0] etc. are available.
+Thu Feb 21 13:37:07 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Sat Nov 15 00:11:36 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * process.c (RB_MAX_GROUPS): moved to
+ * internal.h (RB_MAX_GROUPS): here.
- * io.c (io_s_popen): "rb" detection
+ * file.c (rb_group_member): use RB_MAX_GROUPS instead of
+ RUBY_GROUP_MAX. They are the same.
-Fri Nov 14 18:28:40 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Feb 21 13:15:40 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * string.c (scan_once): returns whole match if the pattern does
- not contain any parentheses.
+ * file.c (access_internal): removed.
+ * file.c (rb_file_readable_real): use access() instead of
+ access_internal().
+ * file.c (rb_file_writable_real): ditto.
+ * file.c (rb_file_executable_real): ditto.
-Thu Nov 13 14:39:06 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Feb 21 13:04:59 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
- * string.c (str_sub): returns copy of the receiver string, even if
- any substitution occurred.
+ * file.c (eaccess): use access() when not using setuid nor setgid.
+ This is minor optimization.
- * regex.c (re_compile_pattern): no-width match by (?=..), (?!..).
+Thu Feb 21 12:56:19 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Wed Nov 12 13:44:47 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * file.c (rb_group_member): get rid of NGROUPS dependency.
+ [Bug #7886] [ruby-core:52537]
- * time.c: remove coerce from Time class.
+Thu Feb 21 12:45:03 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * regex.c (re_match): non-greedy match by ??, *? +?, {n,m}?.
+ * ruby.c (ruby_init_loadpath_safe): try two levels upper for stripping
+ libdir name. [Bug #7874]
-Mon Nov 10 11:24:51 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * configure.in (libdir_basename): expand with multiarch in configure,
+ not to defer the expansion till ruby.pc.in and mkmf.rb. [Bug #7874]
- * regex.c (re_compile_pattern): non-registering parens (?:..).
+ * configure.in (libdir_basename): also -rpath and -install_name flags
+ are affected when libruby directory changes. [Bug #7874]
- * regex.c (re_compile_pattern): new meta character \< (wordbeg)
- and \> (wordend).
+Wed Feb 20 19:27:02 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * regex.c (re_compile_pattern): embedded comment for regular
- expression by (?#...).
+ * include/ruby/ruby.h (HAVE_RB_SCAN_ARGS_OPTIONAL_HASH): for
+ rb_scan_args() optional hash feature. [Bug #7861]
-Fri Nov 7 16:58:24 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Feb 20 18:02:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * regex.c (re_compile_pattern): perl5 regxp \A and \Z available.
+ * configure.in (target_os): do not strip -gnu suffix on Linux if
+ --target is given explicitly. [Bug #7874]
- * regex.c (re_compile_pattern): can expand compile stack dynamically.
+ * configure.in (libdirname): adjust library path name which libruby
+ files will be installed. [Bug #7874]
- * regex.c (PUSH_FAILURE_POINT): wrong compare condition.
+ * tool/rbinstall.rb (libdir): ditto.
-Wed Nov 2 16:00:00 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Wed Feb 20 13:37:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * string.c (str_sub_s): "".sub! "", "" => "\000"
+ * ext/pty/pty.c: Documentation for the PTY module
-Fri Oct 31 15:52:10 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Feb 20 12:18:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * parse.y (assoc): keyword assoc like {fg->"black"}.
+ * object.c: Document Data class [Bug #7890] [ruby-core:52549]
+ Patch by Matthew Mongeau
-Thu Oct 30 17:33:38 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Feb 20 11:50:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * io.c (io_println): print with newline, which is not affected by
- the values of $/ and $\.
+ * lib/mutex_m.rb: Add rdoc for Mutex_m module
-Thu Oct 30 16:54:01 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Wed Feb 20 09:34:43 2013 Eric Hodel <drbrain@segment7.net>
- * string.c (str_chop_bang): "".chop caused SEGV.
+ * lib/rubygems/commands/update_command.rb: Create the installer after
+ options are processed. [ruby-trunk - Bug #7779]
+ * test/rubygems/test_gem_commands_update_command.rb: Test for the
+ above.
- * string.c (str_chomp_bang): method to chop out last newline.
+Wed Feb 20 07:51:19 2013 Eric Hodel <drbrain@segment7.net>
-Mon Oct 27 13:49:13 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/rubygems/installer.rb: Use gsub instead of gsub! to avoid
+ altering @bin_dir. Fixes tests on windows. [ruby-trunk - Bug #7885]
- * ext/extmk.rb.in: library may have pathname contains `.'
+Tue Feb 19 20:50:00 2013 Kenta MURATA <mrkn@mrkn.jp>
- * eval.c (rb_rescue): should not protect SystemError.
+ * ext/bigdecimal/bigdecimal.gemspec: bump to 1.2.0.
+ [ruby-core:51777] [Bug #7761]
-Fri Oct 24 10:58:53 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Feb 19 13:07:25 2013 Akinori MUSHA <knu@iDaemons.org>
- * io.c (io_s_with_open_stream): ensures to close stream.
+ * ext/syslog/syslog.c (Init_syslog): Define inspect as a singleton
+ method and remove it as an instance method. [Bug #6502]
-Thu Oct 23 11:17:44 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Feb 19 12:30:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * io.c (io_errset): value of $stderr can be changed (to any IO
- object).
+ * object.c: rdoc formatting for Kernel#Array()
+ * array.c: Add rdoc for Array() method to Creating Arrays section
- * io.c (next_argv): $< can be anything that responds to `write'.
+Tue Feb 19 10:35:52 2013 Eric Hodel <drbrain@segment7.net>
- * file.c (file_s_with_open_file): ensures to close file.
+ * ext/openssl/ossl.c (class OpenSSL): Use only inner parenthesis in
+ create_extension examples.
- * error.c (exception): create error under the current class/module.
+Tue Feb 19 10:27:12 2013 Eric Hodel <drbrain@segment7.net>
- * range.c (range_eqq): fixnum check for last needed too.
+ * ext/openssl/ossl.c (class OpenSSL): Fixed ExtensionFactory example.
+ Patch by Richard Bradley. [ruby-trunk - Bug #7551]
-Wed Oct 22 12:52:30 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Feb 19 08:32:11 2013 Koichi Sasada <ko1@atdot.net>
- * ext/socket/socket.c: Socket::Constants added.
+ * vm_eval.c (vm_call0_body): check interrupts after method dispatch
+ from C methods. [Bug #7878]
- * file.c: File::Constants added for inclusion.
+Tue Feb 19 08:14:40 2013 Eric Hodel <drbrain@segment7.net>
- * array.c (ary_join): call ary_join() recursively for the 1st
- array element.
+ * lib/rubygems/installer.rb: Fixed placement of executables with
+ --user-install. [ruby-trunk - Bug #7779]
+ * test/rubygems/test_gem_installer.rb: Test for above.
-Mon Oct 20 12:18:29 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Tue Feb 19 06:04:06 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * ruby.c (load_file): wrong condition for #! check with -x.
+ * vm_dump: FreeBSD ports' libexecinfo's backtrace(3) can't trace
+ beyond signal trampoline, and as described in r38342 it can't
+ trace on -O because it see stack frame pointers.
+ libunwind unw_backtrace see dwarf information in the binary
+ and it works with -O (without frame pointers).
- * file.c (file_s_dirname): did return "" for "/a".
+ * configure.in: remove r38342's hack and check libunwind.
-Fri Oct 17 14:29:09 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Tue Feb 19 04:26:29 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * ruby.c: now works on alpha-linux.
+ * configure.in: check whether backtrace(3) works well or not.
- * bignum.c (bigadd): some undefined side effect order assumed.
+ * vm_dump.c: set HAVE_BACKTRACE 0 if BROKEN_BACKTRACE.
-Wed Oct 15 17:49:24 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Feb 18 16:30:18 2013 Akinori MUSHA <knu@iDaemons.org>
- * intern.h: function prototypes added.
+ * lib/ipaddr.rb (IPAddr#in6_addr): Fix a typo with the closing
+ parenthesis.
-Mon Oct 13 16:54:18 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Feb 18 12:32:24 2013 Akinori MUSHA <knu@iDaemons.org>
- * class.c (rb_define_class_id): call superclass's `inherited'
- method when making subclasses.
+ * lib/ipaddr.rb (IPAddr#in6_addr): Fix the parser so that it can
+ recognize IPv6 addresses with only one edge 16-bit piece
+ compressed, like [::2:3:4:5:6:7:8] or [1:2:3:4:5:6:7::].
+ [Bug #7477]
- * parse.y (nextc): clear lex_lastline at the end of file.
+Mon Feb 18 10:09:54 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * object.c (Init_Object): need to undef Class#append_features.
+ * configure.in (unexpand_shvar): regularize a shell variable by
+ unexpanding shell variables in it.
- * eval.c (rb_eval): no warning on extending classes or modules.
+Sun Feb 17 20:55:44 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Thu Oct 9 11:17:50 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * compar.c (rb_invcmp): compare by inversed comparison, with preventing
+ from infinite recursion. [ruby-core:52305] [Bug #7870]
- * eval.c (error_print): the exception name follows after the error
- message.
+ * string.c (rb_str_cmp_m), time.c (time_cmp): get rid of infinite
+ recursion.
- * eval.c (compile_error): error message slightly changed.
+Sun Feb 17 17:23:22 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (nextc): script parsing will be terminated by __END__ at
- beginning of line.
+ * lib/mkmf.rb: remove extra topdir in VPATH, which was in
+ win32/Makefile.sub for some reason and moved from there.
+ [ruby-dev:46998] [Bug #7864]
- * eval.c (compile_error): `__END__' is no longer a keyword.
+Sun Feb 17 01:19:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * parse.y (nextc): protect lastline read from script stream.
+ * ext/psych/lib/psych/y.rb: Document Kernel#y by Adam Stankiewicz
+ [Github tenderlove/psych#127]
-Tue Oct 7 14:06:06 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sun Feb 17 00:52:14 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * version 1.1 alpha9 released.
+ * tool/mkconfig.rb: remove prefix from rubyarchdir.
+ r39267 expands variables, it changes expansion timing,
+ breaks RbConfig::CONFIG["includedir"] and building
+ extension libraries with installed ruby.
- * eval.c (mod_append_features): renamed from extend_class.
+Sat Feb 16 20:51:17 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * eval.c (rb_eval): defining method calls `method_added'.
+ * vm.c (ENV_IN_HEAP_P): fix off-by-one error.
- * eval.c (ruby_options): exception while processing options must
- terminate the interpreter.
+Sat Feb 16 20:47:16 2013 Akinori MUSHA <knu@iDaemons.org>
- * error.c (Init_Exception): wrong method configuration. `new'
- should have been a singleton method.
+ * configure.in (LIBRUBY_DLDFLAGS): Fix a bug where --with-opt-dir
+ options given were not reflected to LIBRUBY_DLDFLAGS on many
+ platforms including Linux and other GNU-based systems, NetBSD,
+ AIX and BeOS.
-Mon Oct 6 18:55:38 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Feb 16 20:43:20 2013 Tanaka Akira <akr@fsij.org>
- * ext/kconv/kconv.c (kconv_guess): code to guess character code
- from string.
+ * ext/socket/ancdata.c (rsock_recvmsg): ignore truncated part of
+ socket address returned from recvmsg().
-Mon Oct 6 18:38:17 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * ext/socket/init.c (recvfrom_blocking): ignore truncated part of
+ socket address returned from recvfrom().
+ (rsock_s_recvfrom_nonblock): ditto.
- * pack.c: now encode/decode base64 by `m' template.
+Sat Feb 16 20:05:26 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
-Fri Oct 3 10:51:10 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/test_thread.rb: fixed typo
+ patched by Hiroki Matsue via https://github.com/ruby/ruby/pull/248
- * MANIFEST: needed to include lex.c in the distribution.
+Sat Feb 16 16:08:35 2013 Koichi Sasada <ko1@atdot.net>
- * eval.c (ruby_options): f_require() called too early.
+ * vm.c (rb_thread_mark): mark a working Proc of bmethod
+ (a method defined by define_method) even if the method was removed.
+ We could not trace working Proc object which represents the body
+ of bmethod if the method was removed (alias/undef/overridden).
+ Simply, it was mark miss.
+ This patch by Kazuki Tsujimoto. [Bug #7825]
- * eval.c (rb_provide): module extensions should always be `.o'.
+ NOTE: We can brush up this marking because we do not need to mark
+ `me' on each living control frame. We need to mark `me's
+ only if `me' was free'ed. This is future work after Ruby 2.0.0.
-Thu Oct 2 11:38:31 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/test_method.rb: add a test.
- * version 1.1 alpha8 released.
+Sat Feb 16 15:45:56 2013 Koichi Sasada <ko1@atdot.net>
- * ext/marshal/marshal.c (r_object): remove temporal regist for
- structs. (caused problem if structs form cycles.)
+ * proc.c (rb_binding_new_with_cfp): create binding object even if
+ the frame is IFUNC. But return a ruby-level binding to keep
+ compatibility.
+ This patch fix degradation introduced from r39067.
+ [Bug #7774] [ruby-dev:46960]
- * parse.y (match_gen): static binding for match(=~) calls
- with regexp literals.
+ * test/ruby/test_settracefunc.rb: add a test.
-Wed Oct 1 15:26:55 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Feb 16 13:40:13 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c: protect retval in struct tag from GC for C_ALLOCA.
+ * configure.in (shvar_to_cpp): do not substitute exec_prefix itself
+ with RUBY_EXEC_PREFIX, which cause recursive definition.
+ [ruby-core:52296] [Bug #7860]
- * eval.c: no more pointer value from setjmp/longjmp.
+Sat Feb 16 13:13:04 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Wed Oct 1 14:01:49 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * ext/io/console/io-console.gemspec: bump to 0.4.2. now explicitly
+ requires ruby 1.9.3 or later. [Bug #7847]
- * ext/marshal/marshal.c (w_byte): argument must be char.
+ * ext/io/console/console.c (console_dev): compatibility with ruby 1.8.
-Wed Oct 1 10:30:22 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/io/console/console.c (rawmode_opt, console_dev): compatibility
+ with ruby 1.9. [ruby-core:52220] [Bug #7847]
- * variable.c (mod_const_at): global constants now belongs to the
- class Object.
+Sat Feb 16 12:45:50 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * object.c (Init_Object): new global constant NIL.
+ * configure.in: unexpand arch sitearch and exec_prefix values, so
+ directly specified bindir, libdir, rubyprefix, etc can be properly
+ substituted. [ruby-core:52296] [Bug #7860]
- * ext/marshal/marshal.c (marshal_dump): try to set binmode.
+Sat Feb 16 12:15:20 2013 Aaron Patterson <aaron@tenderlovemaking.com>
- * ext/marshal/marshal.c (r_object): forgot to re-regist structs in
- the object table.
+ * parse.y: add dtrace probe for symbol create.
- * eval.c (ruby_options): call Init_ext() before any require()
- calls by `-r'.
+ * probes.d: ditto
-Fri Sep 30 14:29:22 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Sat Feb 16 09:27:37 2013 Tanaka Akira <akr@fsij.org>
- * ext/marshal/marshal.c (w_object): marshal dumped core.
+ * ext/socket/extconf.rb: don't test sys/feature_tests.h which is not
+ used now.
+ It was included in r7901 as "bug of gcc 3.0 on Solaris 8 ?".
-Tue Sep 30 10:27:39 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Feb 16 09:24:37 2013 Tanaka Akira <akr@fsij.org>
- * sample/test.rb: bignum test suits added.
+ * ext/socket/extconf.rb: reorder header tests to consider inclusion
+ order in rubysocket.h.
- * eval.c (rb_eval): new pseudo variable `true' and `false'.
+Sat Feb 16 08:42:58 2013 Tanaka Akira <akr@fsij.org>
- * parse.y: new keywords `true' and `false' added.
+ * configure.in, ext/socket/extconf.rb: test netinet/in_systm.h in
+ ext/socket/extconf.rb instead of configure.in.
-Mon Sep 29 13:37:58 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ Originally, netinet/in_systm.h is included for NextStep, OpenStep,
+ and Rhapsody. [ruby-core:1596]
- * ruby.c (forbid_setid): forbid some options in suid mode.
+Sat Feb 16 07:55:40 2013 Tanaka Akira <akr@fsij.org>
- * ruby.h (NUM2DBL): new macro to convert into doubles.
+ * configure.in: don't test xti.h here.
-Mon Sep 27 09:53:48 1997 EGUCHI Osamu <eguchi@shizuokanet.or.jp>
+ * ext/socket/extconf.rb: test xti.h here.
- * bignum.c: modified for speeding.
+ Originally, xti.h is included for IRIX [ruby-core:14447].
-Fri Sep 26 18:27:59 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Sat Feb 16 07:16:49 2013 Tanaka Akira <akr@fsij.org>
- * sample/from.rb: some extensions.
+ * ext/socket/extconf.rb: test struct sockaddr_un and its member,
+ sun_len.
-Mon Sep 29 13:15:56 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/sockport.h (INIT_SOCKADDR_UN): new macro defined.
- * parse.y (lhs): no more syntax error on `obj.CONSTANT = value'.
+ * ext/socket/socket.c (sock_s_pack_sockaddr_un): use INIT_SOCKADDR_UN.
-Fri Sep 26 14:41:46 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/unixsocket.c (rsock_init_unixsock): ditto.
- * eval.c (ruby_run): deferred calling Init_ext() just before eval_node.
+ * ext/socket/raddrinfo.c (init_unix_addrinfo): ditto.
+ (addrinfo_mload): ditto.
-Fri Sep 26 13:27:24 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Sat Feb 16 07:05:59 2013 Tanaka Akira <akr@fsij.org>
- * io.c (io_isatty): forgot to return TRUE value.
+ * ext/socket/sockport.h (INIT_SOCKADDR_IN): don't need family
+ argument. it is always AF_INET.
-Fri Sep 25 11:10:58 1997 EGUCHI Osamu <eguchi@shizuokanet.or.jp>
+ * ext/socket/raddrinfo.c (make_inetaddr): follow INIT_SOCKADDR_IN
+ change.
+ (addrinfo_ipv6_to_ipv4): ditto.
- * eval.c: use _setjmp/_longjmp instead of setjmp/longjmp on some
- platforms.
+Sat Feb 16 04:21:07 2013 NAKAMURA Usaku <usa@ruby-lang.org>
-Wed Sep 24 17:43:13 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/extconf.rb: workaround for mswin/mingw build problem.
+ sendmsg emulation in win32/win32.c is not enough.
- * string.c (Init_String): String#taint and String#taint? added.
+Sat Feb 16 00:19:20 2013 Tanaka Akira <akr@fsij.org>
- * class.c (mod_ancestors): ancestors include the class itself.
+ * ext/socket/extconf.rb: use all all tested available headers for
+ have_func.
-Wed Sep 24 00:57:00 1997 Katsuyuki Okabe <HGC02147@niftyserve.or.jp>
+Fri Feb 15 22:21:37 2013 Akinori MUSHA <knu@iDaemons.org>
- * X68000 patch.
+ * configure.in: Fix a bug introduced in r38342 that the cflagspat
+ substitution is messed up by the way CFLAGS and optflags are
+ modified, which affected FreeBSD and NetBSD/amd64 when
+ configured to use libexecinfo. This bug resulted in CFLAGS and
+ CXXFLAGS in RbConfig::CONFIG having warnflags expanded in them,
+ forcing third-party C/C++ extensions to follow what warnflags
+ demands, like ANSI/ISO-C90 conformance. ref [Bug #7101]
-Tue Sep 23 20:42:30 1997 EGUCHI Osamu <eguchi@shizuokanet.or.jp>
+Fri Feb 15 20:29:11 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (node_newnode): SEGV on null node setup.
+ * ext/socket/sockport.h (SET_SIN_LEN): defined for strict-aliasing
+ rule.
+ (INIT_SOCKADDR_IN): ditto.
-Mon Sep 22 11:22:46 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/raddrinfo.c (make_inetaddr): use INIT_SOCKADDR_IN.
+ (addrinfo_ipv6_to_ipv4): ditto.
- * ruby.c (ruby_prog_init): wrong safe condition check.
+Fri Feb 15 18:24:48 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Sun Sep 21 14:46:02 1997 MAEDA shugo <shugo@po.aianet.ne.jp>
+ * lib/mkmf.rb (MakeMakefile#try_run): bail out explicitly if cross
+ compiling, because it cannot work of course.
- * error.c (exc_inspect): garbage added to classpath.
+Fri Feb 15 12:34:58 2013 Tanaka Akira <akr@fsij.org>
-Fri Sep 19 11:49:23 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/extconf.rb: test struct sockaddr_storage directly.
- * parse.y (newtok): forgot to adjust buffer size when shrinking
- the token buffer.
+ * ext/socket/rubysocket.h: use HAVE_TYPE_STRUCT_SOCKADDR_STORAGE.
- * enum.c (enum_find): rb_eval_cmd() does not return value.
+Fri Feb 15 12:26:13 2013 Tanaka Akira <akr@fsij.org>
- * io.c (pipe_open): close fds on pipe exec. fcntl(fd, F_SETFD, 1)
- no longer used.
+ * ext/socket/getaddrinfo.c (GET_AI): don't cast 1st argument for
+ INIT_SOCKADDR.
-Tue Sep 16 17:54:25 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Fri Feb 15 08:12:11 2013 Tanaka Akira <akr@fsij.org>
- * file.c (f_test): problem if wrong command specified.
+ * ext/socket/sockport.h (SET_SS_LEN): removed.
+ (SET_SIN_LEN): removed.
+ (INIT_SOCKADDR): new macro.
- * ruby.c (ruby_prog_init): close stdaux and stdprn for MSDOS.
+ * ext/socket/ancdata.c (extract_ipv6_pktinfo): use INIT_SOCKADDR.
- * ruby.c (ruby_prog_init): should not add path from environment
- variable, if ruby is running under setuid.
+ * ext/socket/raddrinfo.c (make_inetaddr): use INIT_SOCKADDR.
+ (addrinfo_ipv6_to_ipv4): ditto.
- * process.c (init_ids): check suid check for setuid/seteuid etc.
+ * ext/socket/getaddrinfo.c (GET_AI): use INIT_SOCKADDR.
-Mon Sep 15 00:42:04 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Fri Feb 15 07:49:27 2013 Eric Hodel <drbrain@segment7.net>
- * regex.c (re_compile_pattern): \w{3} and \W{3} did not work.
+ * lib/rdoc.rb: Update to release version of 4.0.0
-Thu Sep 11 10:31:48 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/rubygems.rb: Update to release version of 2.0.0
- * version 1.1 alpha7 released.
+Fri Feb 15 07:07:27 2013 Tanaka Akira <akr@fsij.org>
- * ext/socket/socket.c (sock_new): no setbuf() for NT.
+ * ext/socket/sockport.h (SA_LEN): removed because unused now.
+ (SS_LEN): ditto.
+ (SIN_LEN): ditto.
- * io.c (rb_fopen,rb_fdopen): set close-on-exec for every fd.
+Thu Feb 14 10:45:31 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Wed Sep 10 15:55:31 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/ruby/test_process.rb (test_setsid): Added a workaround for
+ MacOS X. Patch by nagachika. [Bug #7826] [ruby-core:52126]
- * ext/marshal/marshal.c (r_bytes0): extra big length check.
+Fri Feb 15 00:15:31 2013 Tanaka Akira <akr@fsij.org>
-Tue Sep 9 16:27:14 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/sockport.h (VALIDATE_SOCKLEN): new macro to validate
+ sa_len member of 4.4BSD socket address.
- * io.c (pipe_fptr_atexit): clean up popen()'ed fptr.
+ * ext/socket/getnameinfo.c (getnameinfo): use VALIDATE_SOCKLEN,
+ instead of SA_LEN.
- * error.c (set_syserr): some system has error code that is bigger
- than sys_nerr. grrr.
+ * ext/socket/socket.c (sock_s_getnameinfo): use VALIDATE_SOCKLEN
+ instead of SS_LEN.
-Mon Sep 8 18:33:33 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Feb 14 22:25:54 2013 Tanaka Akira <akr@fsij.org>
- * io.c (io_s_new): dereferenced nil for optional mode.
+ * ext/socket/socket.c (sockaddr_len): extracted from sockaddr_obj.
+ (sockaddr_obj): add an argument to length of socket address.
+ (socket_s_ip_address_list): call sockaddr_obj with actual socket
+ address length if given, use sockaddr_len otherwise.
-Fri Sep 5 10:26:03 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Thu Feb 14 20:11:23 2013 Tanaka Akira <akr@fsij.org>
- * class.c (class_instance_methods): do not include methods which
- are changed to private in subclasses.
+ * ext/socket: always operate length of socket address companion with
+ socket address.
-Thu Sep 4 12:38:53 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/rubysocket.h (rsock_make_ipaddr): add an argument for
+ socket address length.
+ (rsock_ipaddr): ditto.
- * variable.c (f_global_variables): list name of the global
- variables.
+ * ext/socket/ipsocket.c (ip_addr): pass length to rsock_ipaddr.
+ (ip_peeraddr): ditto.
+ (ip_s_getaddress): pass length to rsock_make_ipaddr.
- * object.c (obj_id): returns unique integer.
+ * 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.
-Wed Sep 3 14:05:16 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/init.c (rsock_s_recvfrom): pass length to rsock_ipaddr.
+ (rsock_s_recvfrom_nonblock): ditto.
- * version 1.1 alpha6 released.
+ * ext/socket/tcpsocket.c (tcp_sockaddr): pass length to
+ rsock_make_ipaddr.
- * eval.c (mod_s_constants): context sensitive constant list.
+ * 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.
- * variable.c (mod_constants): no more `all' option.
+Thu Feb 14 14:31:43 2013 Eric Hodel <drbrain@segment7.net>
- * variable.c (mod_const_of): the values for autoload classes are
- their name strings.
+ * lib/net/http.rb: Removed OpenSSL dependency from Net::HTTP.
- * class.c (class_instance_methods): no special treatment for
- singleton classes.
+ * test/net/http/test_http.rb: Remove Zlib dependency from tests.
+ * test/net/http/test_http_request.rb: ditto.
- * object.c (obj_singleton_methods): returns list of singleton
- method names.
+Thu Feb 14 11:08:15 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (yylex): no here document after `class' keyword.
+ * class.c (include_modules_at): detect cyclic prepend with original
+ method table. [ruby-core:52205] [Bug #7841]
- * eval.c (f_load): expand path if fname begins with `~'.
+Thu Feb 14 10:30:41 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
-Tue Sep 2 13:19:48 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * vm_method.c: call method_removed hook on called class, not on
+ prepending iclass. [ruby-core:52207] [Bug #7843]
- * class.c (ins_methods_i): do not list undef'ed methods.
+Thu Feb 14 10:05:57 2013 Eric Hodel <drbrain@segment7.net>
-Mon Sep 1 13:42:48 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/net/http: Do not handle Content-Encoding when the user sets
+ Accept-Encoding. This allows users to handle Content-Encoding for
+ themselves. This restores backwards-compatibility with Ruby 1.x.
+ [ruby-trunk - Bug #7831]
+ * lib/net/http/generic_request.rb: ditto.
+ * lib/net/http/response.rb: ditto
+ * test/net/http/test_http.rb: Test for the above.
+ * test/net/http/test_http_request.rb: ditto.
+ * test/net/http/test_httpresponse.rb: ditto.
- * version 1.1 alpha5 released.
+Thu Feb 14 08:18:47 2013 Tanaka Akira <akr@fsij.org>
- * object.c (mod_attr_reader): create methods to define attribute
- reader/write/accessor.
+ * ext/socket/extconf.rb: don't define HAVE_SA_LEN and HAVE_SA_LEN.
+ use HAVE_STRUCT_SOCKADDR_SA_LEN and HAVE_STRUCT_SOCKADDR_IN_SIN_LEN
+ instead.
- * class.c (rb_define_attr): always defines accessors.
+Wed Feb 13 20:59:48 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_call): alias occurred in the module body caused SEGV.
+ * ext/socket/extconf.rb: don't define socklen_t here, just test.
- * parse.y: did not generate here document strings properly.
+ * ext/socket/rubysocket.h: define socklen_t if not available.
-Mon Sep 1 11:43:57 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Wed Feb 13 18:37:50 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * parse.y (yylex): heredoc dropped an extra character.
+ * proc.c (mnew): skip prepending modules and return the method bound
+ on the given class. [ruby-core:52160] [Bug #7836]
-Fri Aug 29 11:10:21 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Feb 13 18:11:59 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * class.c (class_instance_methods): same method names should not
- appear more than once.
+ * proc.c (method_original_name): new methods Method#original_name and
+ UnboundMethod#original_name. [ruby-core:52048] [Bug #7806]
+ [EXPERIMENTAL]
- * parse.y (yylex): spaces can follow =begin/=end.
+ * proc.c (method_inspect): show the given name primarily, and
+ original_id if aliased. [ruby-core:52048] [Bug #7806]
- * variable.c (find_class_path): look for class_tbl also for
- unnamed fundamental classes, such as Object, String, etc.
+Wed Feb 13 17:56:39 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * variable.c (rb_name_class): can't name class before String class
- is initialized.
+ * configure.in (warnflags): disable -Werror by default unless
+ development. [ruby-core:52131] [Bug #7830]
- * inits.c (rb_call_inits): unrecognized dependency from GC to
- Array.
+Wed Feb 13 06:05:52 2013 Eric Hodel <drbrain@segment7.net>
- * variable.c (find_class_path): could not find class if Object's
- iv_tbl is NULL.
+ * lib/rubygems.rb: Return BINARY strings from Gem.gzip and Gem.gunzip.
+ Fixes intermittent test failures. RubyGems issue #450 by Jeremey
+ Kemper.
+ * test/rubygems/test_gem.rb: Test for the above.
-Thu Aug 28 13:12:05 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Wed Feb 13 05:49:21 2013 Tanaka Akira <akr@fsij.org>
- * version 1.1 alpha4 released.
+ * ext/socket/extconf.rb: test functions just after struct members.
- * variable.c (mod_constants): wrong condition for singleton
- class.
+Tue Feb 12 12:02:35 2013 NARUSE, Yui <naruse@ruby-lang.org>
- * parse.y (yylex): revised `=begin' skip code.
+ * ext/json: merge JSON 1.7.7.
+ This includes security fix. [CVE-2013-0269]
+ https://github.com/flori/json/commit/d0a62f3ced7560daba2ad546d83f0479a5ae2cf2
+ https://groups.google.com/d/topic/rubyonrails-security/4_YvCpLzL58/discussion
- * parse.y (here_document): forgot to free(eos).
+Mon Feb 11 23:08:48 2013 Tanaka Akira <akr@fsij.org>
- * parse.y (yylex): spaces after `<<' prohibited for here
- documents to avoid confusing with operator `<<'.
+ * configure.in: enable rb_cv_page_size_log test for MirOS BSD.
- * eval.c (is_defined): separated from rb_eval().
+Mon Feb 11 20:06:38 2013 Tanaka Akira <akr@fsij.org>
-Wed Aug 27 11:32:42 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * configure.in: use -pthread on mirbsd*.
- * version 1.1 alpha3 released.
+Mon Feb 11 16:07:09 2013 Tanaka Akira <akr@fsij.org>
- * variable.c (mod_name): returns name of the class/module.
+ * configure.in: add SOLIBS and LIBRUBY_SO definition for mirbsd*.
- * parse.y (here_document): finally here document available now.
+Mon Feb 11 13:17:20 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * variable.c (fc_i): some classes/modules does not have iv_tbl.
+ * configure.in (rubysitearchprefix): sitearchdir and vendorarchdir
+ should use sitearch, not arch. [ruby-dev:46964] [Bug #7823]
- * variable.c (find_class_path): avoid infinite loop.
+ * win32/Makefile.sub (config.status): site and vendor directories
+ should use sitearch, not arch. [ruby-dev:46964] [Bug #7823]
-Tue Aug 26 13:43:47 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Mon Feb 11 12:31:25 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (rb_eval): undef'ing non-existing method will raise
- NameError exception.
+ * configure.in: move OS specific header/function knowledge before
+ automatic header tests.
- * object.c (class_s_new): needed to create metaclass too.
+Mon Feb 11 11:04:29 2013 Tanaka Akira <akr@fsij.org>
- * eval.c (error_print): no class name print for anonymous class.
+ * configure.in: move the test for -march=i486 just after
+ RUBY_UNIVERSAL_ARCH/RUBY_DEFAULT_ARCH.
- * eval.c (rb_longjmp): proper exception raised if raise() called
- without arguments, with $! or $@ set.
+Sun Feb 10 23:42:26 2013 Tanaka Akira <akr@fsij.org>
- * object.c (Init_Object): superclass()'s method argument setting
- was wrong again.
+ * ext/socket/extconf.rb: test structure members just after types test.
- * class.c (mod_ancestors): list superclasses and included modules
- in priority order.
+Sun Feb 10 20:58:17 2013 Tanaka Akira <akr@fsij.org>
-Mon Aug 25 11:53:11 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/extconf.rb: test types just after headers test.
- * version 1.1 alpha2 released.
+Sun Feb 10 16:00:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * sample/ruby-mode.el (ruby-parse-region): auto-indent now
- supports "\\" in the strings.
+ * lib/rake/doc/MIT-LICENSE: Add license file from upstream
+ * lib/rake/doc/README.rdoc: Link to license file from Rake README
+ * lib/rake/version.rb: Include README rdoc for Rake module overview
- * struct.c (struct_getmember): new API to get member value from C
- language side.
+Sun Feb 10 15:26:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Sat Aug 23 21:39:05 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/rake/doc/*: Sync Rake rdoc files from upstream
- * parse.y (assignable): remove unnecessary local variable
- initialize by nil.
+Sun Feb 10 15:50:02 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Fri Aug 22 14:26:40 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * vm_exec.h (DISPATCH_ARCH_DEPEND_WAY): use __asm__ __volatile__
+ instead of asm volatile.
- * eval.c (error_print): modified exception print format.
+Sun Feb 10 15:50:02 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
-Thu Aug 21 16:10:58 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * gc.h (SET_MACHINE_STACK_END): use __volatile__ instead of volatile.
- * sample/ruby-mode.el (ruby-calculate-indent): wrong indent level
- calculated with keyword operators.
+Sun Feb 10 14:25:00 2013 Zachary Scott <zachary@zacharyscott.net>
-Thu Aug 21 11:36:58 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+ * doc/rake/, lib/rake/doc/: Move Rake rdoc files to lib/rake
- * parse.y (arg): ary[0] += 1 cause SEGV
+Sun Feb 10 12:10:25 2013 Tanaka Akira <akr@fsij.org>
-Wed Aug 20 17:28:50 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * ext/socket/extconf.rb: test headers at first.
- * ruby.c (ruby_process_options): require() all modules after
- processing all options
+Sun Feb 10 12:00:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * process.c (rb_proc_exec): more security checks added.
+ * doc/rake/*: Removed stale Rake static files
- * process.c (rb_proc_exec): insecure path on exec.
+Sun Feb 10 09:10:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * hash.c (f_getenv): PATH modification security check.
+ * lib/pp.rb, lib/prettyprint.rb: Documentation for PP and PrettyPrint
+ Based on a patch by Vincent Batts [ruby-core:51253] [Bug #7656]
-Tue Aug 19 00:15:38 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Feb 9 21:11:21 2013 Tanaka Akira <akr@fsij.org>
- * version 1.1 alpha1 released.
+ * configure.in: move header files check to the beginning of
+ "header and library section".
+ test rlim_t with sys/types.h and sys/time.h for MirOS BSD.
+ sys/types.h and sys/time.h is guarded by #ifdef and the above
+ move is required for this change.
- * eval.c (mod_eval): work as normal eval() if second binding
- argument given.
+Sat Feb 9 17:45:58 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (rb_call): did not raise ArgumentError if too many
- arguments more than optional arguments (without rest arg).
+ * configure.in, version.c: prevent duplicated load paths by empty
+ version string, it does not work right now.
- * eval.c (rb_eval): did not work well for op_asgn2 (attribute
- self assignment).
+Sat Feb 9 17:38:41 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (Init_Thread): returns main thread.
+ * configure.in: fix arch parameters in help message. [Bug #7804]
-Mon Aug 18 09:25:56 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+Sat Feb 9 13:13:00 2013 Zachary Scott <zachary@zacharyscott.net>
- * object.c (inspect_i): did not display T_DATA instance variables.
+ * vm_trace.c: Note about TracePoint events set, and comment on
+ Kernel#set_trace_func to prefer new TracePoint API
- * parse.y: provides more accurate line number information.
+Sat Feb 9 10:07:47 2013 Kazuki Tsujimoto <kazuki@callcc.net>
- * eval.c (thread_value): include value's backtrace information in
- the variable `$@'.
+ * BSDL: update copyright notice for 2013.
- * eval.c (f_abort): print backtrace and exit.
+Sat Feb 9 09:24:38 2013 Eric Hodel <drbrain@segment7.net>
-Sat Aug 16 00:17:44 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * lib/rubygems/package/old.rb: Fix behavior only on ruby 1.8.
- * eval.c (class_new_instance): do not make instance from virtual
- classes.
+ * lib/rubygems/package.rb: Include checksums.yaml.gz signatures for
+ verification.
+ * test/rubygems/test_gem_package.rb: Test for the above.
- * object.c (class_s_new): do not make subclass of singleton class.
+Sat Feb 9 01:23:24 2013 Tanaka Akira <akr@fsij.org>
-Fri Aug 15 15:49:46 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+ * test/fiddle/helper.rb: specify libc and libm locations for MirOS BSD.
- * eval.c (call_trace_func): block context switch in the trace
- function.
+ * test/dl/test_base.rb: ditto.
- * eval.c (rb_eval): clear method cache at class extension.
+Fri Feb 8 23:25:33 2013 Tanaka Akira <akr@fsij.org>
- * object.c (obj_type): returns object's class even if it defines
- singleton methods.
+ * configure.in: change CFLAGS temporally to test
+ ARCH_FLAG="-march=i486".
-Fri Aug 15 19:40:43 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
+Fri Feb 8 21:19:41 2013 Tanaka Akira <akr@fsij.org>
- * ext/socket/socket.c (Init_socket): small typo caused SEGV.
+ * configure.in: don't define ARCH_FLAG="-march=i486" if it causes
+ compilation problem.
-Wed Aug 13 17:51:46 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
+For the changes before 2.0.0, see doc/ChangeLog-2.0.0
+For the changes before 1.9.3, see doc/ChangeLog-1.9.3
+For the changes before 1.8.0, see doc/ChangeLog-1.8.0
- * version 1.1 alpha0 released.
+Local variables:
+coding: us-ascii
+add-log-time-format: (lambda ()
+ (let* ((time (current-time))
+ (system-time-locale "C")
+ (diff (+ (cadr time) 32400))
+ (lo (% diff 65536))
+ (hi (+ (car time) (/ diff 65536))))
+ (format-time-string "%a %b %e %H:%M:%S %Y" (list hi lo) t)))
+indent-tabs-mode: t
+tab-width: 8
+change-log-indent-text: 2
+end:
+vim: tabstop=8 shiftwidth=2
diff --git a/GPL b/GPL