Project

General

Profile

Activity

From 09/21/2009 to 09/27/2009

09/27/2009

04:32 PM Revision ea229a85 (git): * Makefile.in (miniruby): suppress duplication warning on AIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Yutaka Kanemoto
04:26 PM Revision 16286278 (git): * 2009-09-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:26 PM Revision 10806f14 (git): * common.mk (ruby.imp): add text section [Bug #2064].
* common.mk (ruby.imp): do not export Init_*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Yutaka Kanemoto
02:44 PM Revision 9278fab6 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:47 AM Bug #2075 (Closed): ext/json/ext/generator/generator.c のドキュメントへの小さなパッチ
=begin
Applied in changeset r25114.
=end
naruse (Yui NARUSE)
05:37 AM Feature #2102 (Closed): String#inspect as default_internal encoding
=begin
r25113で反映しました。
=end
naruse (Yui NARUSE)
04:08 AM Revision 4319c023 (git): * lib/pp.rb (PP:ObjectMixin#pretty_print): delegates has no inspect
method. [ruby-core:25804]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:12 AM Bug #2144 (Rejected): Split functionality of Float#inspect and Float#to_s
=begin
Hi

1) I believe the current trunk always return what I think you the "pretty float" style.

0.1.to_s # ==> "0.1"

Note that 0.1 is not stored (on most platforms) as exactly 0.1 because it can't be expressed as fixnu...
marcandre (Marc-Andre Lafortune)
03:01 AM Revision 37c552e5 (git): * string.c (str_buf_cat2): optimize since all second arguments are
constant literals.
* string.c (str_cat_char): unused now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:58 AM Revision fd58dba9 (git): * string.c (rb_hash_{uint{32,},end}): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:58 AM Revision 59358185 (git): * configure.in (optflags): add -fomit-frame-pointer by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:28 AM Revision 50bbca9d (git): * enum.c (enum_minmax): use struct for memo.
(enum_minmax_by): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:58 AM Revision 0ff9cf36 (git): fix rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:21 AM Revision 810775bb (git): * configure.in (warnflags): check all flags if each are available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:17 AM Revision 6bf6f3d4 (git): * vm_method.c (rb_method_entry_eq): suppressed a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:07 AM Bug #1898 (Closed): Method#== for Methods with the Same Body
=begin
Applied in changeset r25107.
=end
matz (Yukihiro Matsumoto)

09/26/2009

11:52 PM Bug #2144 (Rejected): Split functionality of Float#inspect and Float#to_s
=begin
Currently the Float#to_s and Float#inspect return an "accurate" representation of the internal float, to help alert users of floating point inconsistencies.

This is better than the old way, however some have pointed out that...
rogerdpack (Roger Pack)
08:50 PM Bug #1898: Method#== for Methods with the Same Body
=begin
Hi,

In message "Re: [ruby-core:25755] [Bug #1898] Method#== for Methods with the Same Body"
on Fri, 25 Sep 2009 06:08:40 +0900, Marc-Andre Lafortune <redmine@ruby-lang.org> writes:

|# OK so far. The following currently...
matz (Yukihiro Matsumoto)
08:49 PM Feature #2102: String#inspect as default_internal encoding
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39343] [Feature #2102] String#inspect as default_internal encoding"
on Wed, 16 Sep 2009 01:11:39 +0900, Yui NARUSE <redmine@ruby-lang.org> writes:

|String#inspect の結果は特定のエンコーディングに揃...
matz (Yukihiro Matsumoto)
08:37 PM Revision e662770d (git): * ext/json/ext/generator/generator.c: Documention patch by okkez.
[Bug #2075]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:17 PM Revision 036c701b (git): String#inspect's encoding should be fixed.
* string.c (rb_str_inspect): result's encoding should be fixed.
If default_internal is not nil, the encoding is default_internal.
Else if default_external is not nil, the encoding is default_external.
But the encoding is not ASCII-...
naruse (Yui NARUSE)
07:39 PM Revision 45dc99ae (git): Symbian build update to work with the latest PIPS version 1.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
07:35 PM Revision 71501822 (git): Update to work with the latest PIPS version 1.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
07:34 PM Revision 6b294268 (git): Update to work with the latest PIPS version 1.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
07:34 PM Revision 92d4a6d5 (git): Update to work with the latest PIPS version 1.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
05:02 PM Revision 6ed425d5 (git): * string.c: use rename-macro instead of RUBY_ALIAS_FUNCTION_TYPE.
Because build causes failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:59 PM Revision 3ca245a5 (git): * vm_method.c (rb_method_entry_eq): method defined from same
block/proc should be equal. [ruby-core:25755] [ruby-core:24791]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
02:29 PM Bug #1404 (Closed): Net::HTTP::Post failing when a post field contains ":"
=begin

=end
marcandre (Marc-Andre Lafortune)
02:29 PM Revision f2103ee4 (git): * st.c: moved murmur hash from string.c. [ruby-dev:39376]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:27 PM Revision e860f30b (git): * symbian/setup: Updated .mmp file generation due to blockinlining.c removal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
02:26 PM Revision 38473866 (git): * symbian/setup: Updated .mmp file generation due to blockinlining.c removal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
01:42 PM Revision 0ed8771a (git): * Makefile.in(test-rubyspec): explicitly executes run subcommand of
mspec.
* spec/README: typo fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:53 AM Revision 25f43f4a (git): * st.c (COLLISION): improved collision log feature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:48 AM Revision bf4ab7f6 (git): * string.c (hash): updated to MurmurHash 2.0 2009-09-19.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:32 AM Revision 83672458 (git): * string.c (rb_hash_start): fixed shift width on 128bit platform.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:26 AM Revision f2348659 (git): * include/ruby/intern.h (rb_hash_{start,uint32,uint,end}): fixed
prototypes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:37 AM Feature #1125 (Assigned): [*x] (array consisting only of a splat) does not necessarily return a new array
=begin

=end
marcandre (Marc-Andre Lafortune)
04:33 AM Revision 8cdc1fca (git): * lib/net/http.rb (transport_request): Handle timeout error by closing socket if exception raised. [ruby-core:20976]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
04:27 AM Revision 3a4e1d76 (git): * lib/net/http.rb (transport_request): Handle timeout error by closing socket if exception raised. [ruby-core:20976]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune

09/25/2009

11:45 PM Revision 4460a5e1 (git): * lib: updated keywords.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:45 PM Revision dd7490d5 (git): * lib: updated keywords.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:36 PM Revision f833dd2e (git): * iseq.c (compile_string): rename to parse_string(), because
this function only parse String to NODE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:34 PM Bug #2129: Rational can't be coerced into BigDecimal (TypeError)
=begin
BigDecimal can represent Infinity and NaN.

main@192-20090925> Rational(1,3) * BigDecimal('NaN')
TypeError: BigDecimal can't be coerced into Rational
=end
tadf (tadayoshi funaba)
07:23 PM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin

=end
tadf (tadayoshi funaba)
06:29 PM Revision 5cc06ae8 (git): * 2009-09-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:29 PM Revision fdb3e278 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:32 PM Bug #921 (Closed): autoload is not thread-safe
=begin

=end
nobu (Nobuyoshi Nakada)
03:05 PM Bug #2142 (Closed): DL::Handle#initialize should call rb_secure(2)
=begin
DL::Handle#initialize should call rb_secure(2)
=end
tenderlovemaking (Aaron Patterson)
02:45 PM Bug #2135: File.executable? returns spurious true's in windows
=begin
for workaround, use File.stat('hanna').executable?
=end
usa (Usaku NAKAMURA)
02:37 PM Bug #2137: Dir.glob does not support unicode on Windows
=begin

=end
usa (Usaku NAKAMURA)
07:04 AM Revision d70e9a55 (git): * win32/win32.c, include/ruby/win32.h (rb_w32_access): new function to
replace MSVCRT's access().
[ruby-core:25761]
* file.c (eaccess): workaround for recent MSVCRT is no longer needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:08 AM Bug #1898: Method#== for Methods with the Same Body
=begin
I think you raise a couple of interesting questions, one of which due to the recent addition of respond_to_missing?

class A
def f1
42
end

def f2
42
end

alias_method :alias_f1, :f1

...
marcandre (Marc-Andre Lafortune)
04:53 AM Feature #1880: Hash#flatten Doesn't Operate Recursively for Hash Values
=begin
Moving this from 'bug' to 'feature request' as behavior corresponds to doc. Currently it converts to an array and (if given an argument) calls flatten on it. Array#flatten leaves hashes alone.

The question remaining: should ...
marcandre (Marc-Andre Lafortune)
04:48 AM Revision 9d72cb26 (git): * proc.c (missing_wrap): reverted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:05 AM Revision a943745a (git): * proc.c (missing_wrap): new_arg is already given if argc > 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:04 AM Revision 66a97945 (git): * proc.c (mnew): fix for instance method of Module, BasicObject
and subclass of a class which overrides respond_to_missing?.
based on a patch from Nikolai Lugovoi <nlugovoi AT gmail.com> in
[ruby-core:25748].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25089 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
03:57 AM Feature #994 (Closed): Hash-order preservation should be declared a feature; documentation needs to be adapted
=begin
Applied in changeset r25081.
=end
marcandre (Marc-Andre Lafortune)
03:49 AM Feature #994 (Assigned): Hash-order preservation should be declared a feature; documentation needs to be adapted
=begin

=end
marcandre (Marc-Andre Lafortune)
03:36 AM Revision 8be423f5 (git): * vm_method.c (check_definition): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:33 AM Revision 44f7a340 (git): * vm_method.c (obj_respond_to_missing): added rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:56 AM Revision 2c549ad5 (git): * vm_method.c (rb_mod_method_defined): should return true or false.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:51 AM Revision bc7123e4 (git): * vm_method.c (rb_mod_method_defined): should return true or false.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

09/24/2009

09:05 PM Revision ff54193c (git): Fixed heredoc to play with emacs better. Added :startdoc: to fix broken rdoc processing
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
08:59 PM Revision 608267e0 (git): * proc.c (Method#== doc): Fix doc, cf [ruby-core:24791]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
07:34 PM Revision 1874a8a3 (git): * lib/rational.rb (#+, #-, #/, #**, #<=>): Return correct error message in case coercion fails. Based on a patch by Run Paint Run Run [ruby-core:23903]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:56 PM Revision 0618ca3d (git): * hash.c (Hash#each): Fix documentation to reflect insertion order. A patch by Run Paint Run Run [ruby-core:23644] and [ruby-core:21231]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:36 PM Revision 64588c64 (git): * 2009-09-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:36 PM Revision fc01d426 (git): * hash.c (doc): doc fix, patch by Run Paint Run Run [ruby-core:23644]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:36 PM Revision b7e29355 (git): * hash.c (doc): doc fix, patch by Run Paint Run Run [ruby-core:23644]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:25 PM Revision 4c54973e (git): * 2009-09-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:25 PM Revision 01f7f0f3 (git): * hash.c (rehash doc): doc fix [ruby-core:23628]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
10:48 AM Bug #883 (Assigned): Failure: test_handle_special_CROSSREF_no_underscore(TestRDocMarkupToHtmlCrossref)
=begin

=end
marcandre (Marc-Andre Lafortune)
10:35 AM Revision e6f44733 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:37 AM Bug #2140 (Closed): Bignum#** broken by lib/mathn
=begin
ruby -r mathn -e 'p (1<<66)**2'
/usr/local/ruby19/lib/ruby/1.9.1/mathn.rb:50:in `**': undefined method `power!' for 73786976294838206464:Bignum (NoMethodError)
from -e:1:in `<main>'


Fixed in r25067
=end
marcandre (Marc-Andre Lafortune)
07:30 AM Bug #2134 (Rejected): Inspect Output for Rational and Complex
=begin
i don't know why we should track your questions here.
why not post them to list or forum?
anyway this is not a bug.
=end
tadf (tadayoshi funaba)
06:58 AM Bug #2134: Inspect Output for Rational and Complex
=begin
> this is not a bug report.
> this is not a matter for rational and complex.
> close by yourself.

It was not my intention to cause offense or annoyance... :-/ In my experience the BTS is the most efficient and expedient...
runpaint (Run Paint Run Run)
06:54 AM Revision f3525ac1 (git): * instruby.rb: win32/win32.h exists in srcdir.
reported by arton ( http://www.artonx.org/diary/20090919.html#p01 )
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:42 AM Revision c4b0b4c9 (git): * proc.c (mnew): generate method object that wraps method_missing,
when #respond_to_missing? is defined.
* test/ruby/test_object.rb (test_respond_to_missing): add test
suites for #respond_to_missing? changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:31 AM Revision a3940033 (git): * win32/win32.c (subtract): if the parameters are same value, should
return zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:11 AM Revision 52479771 (git): * win32/win32.c (rb_w32_select): of course, need to initialize rest.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:02 AM Revision 1ee81341 (git): * win32/win32.c (rb_w32_select): of course, need to initialize rest.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:45 AM Feature #2117: Binding to a class, a method from the class's superclass's metaclass, fails
=begin
Hi!
Yes, I hesitated before making the change but my reasoning was:
- past behavior contradicted the doc & intuition (at least mine! ;-)
- no apparent valid reason for past behavior (either for MRI or the language)
- p...
marcandre (Marc-Andre Lafortune)
01:26 AM Revision bd43f037 (git): * ext/openssl/ossl_config.c (ossl_config_add_value_m, ossl_config_set_section): Check if frozen (or untainted for $SECURE >= 4) [ruby-core:18377]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
01:07 AM Revision 23c8ba8c (git): * lib/mathn.rb (Fixnum#**, Float#**, Bignum#**): Allow fractional power for negative numbers when 'mathn' is required [redmine:783]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
12:42 AM Revision 399dace5 (git): * lib/mathn.rb (Bignum#**): Fixed bignum**fixnum that was broken when requiring lib/mathn
[ruby-core:25740]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune

09/23/2009

10:48 PM Bug #2139: backquotes method modifies unexpectedly returned content
=begin
Even default external encoding is not respected if you'd like to argue about:

irb(main):008:0> Encoding.default_external
=> #<Encoding:CP852>
irb(main):009:0> Encoding.default_external = Encoding.find 'utf-16le'
=> #<E...
vo.x (Vit Ondruch)
10:32 PM Bug #2139 (Rejected): backquotes method modifies unexpectedly returned content
=begin
irb(main):002:0> `cmd /c dir /b`
=> "folder1\nfolder2\n"
irb(main):003:0> `cmd /u /c dir /b`
=> "f\x00o\x00l\x00d\x00e\x00r\x001\x00\n\x00\n\x00f\x00o\x00l\x00d\x00e\x00r\x002\x00\n\x00\n\x00"

Notice the '\n\x00\n\x00'...
vo.x (Vit Ondruch)
09:16 PM Bug #2137 (Closed): Dir.glob does not support unicode on Windows
=begin
Although there are some methods which support wide characters (e.g. open_dir_handle), at the end, the directory listing does not work or returns array with corrupted entry names. This applies to both, trunk and also win32-unicod...
vo.x (Vit Ondruch)
07:45 PM Revision 089494fc (git): * load.c (Kernel#autoload?, Module#autoload?): added doc [ruby-core:19983]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:25 PM Revision d09ca418 (git): * 2009-09-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:25 PM Revision 5d3affad (git): * eval.c (Kernel#autoload?): doc fix by Jeremy Henty [ruby-core:19983]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:21 PM Revision 39ea1c8c (git): * ext/bigdecimal/lib/bigdecimal/math.rb (atan): atan(Infinity) is
PI/2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:17 PM Bug #2136 (Closed): 警告が正しくない
=begin
Applied in changeset r25053.
=end
nobu (Nobuyoshi Nakada)
11:04 AM Bug #2136 (Closed): 警告が正しくない
=begin
Bug #1950 と殆ど同じ現象です。

$ cat x.rb
if a = 1
end
$ cat y.rb
require 'x'

$ ./ruby -w -I. x.rb
$ ./ruby -w -I. y.rb
x.rb:1: warning: found = in conditional, should be ==
=end
tadf (tadayoshi funaba)
05:15 PM Feature #2126: ruby_init_stack() - add ability to specify or query max_stack_size
=begin
Hi,

In message "Re: [ruby-core:25674] [Feature #2126] ruby_init_stack() - add ability to specify or query max_stack_size"
on Mon, 21 Sep 2009 02:42:14 +0900, Suraj Kurapati <redmine@ruby-lang.org> writes:

| This way, ...
matz (Yukihiro Matsumoto)
05:08 PM Revision 1ef3ac47 (git): * ext/bigdecimal/lib/bigdecimal/math.rb (atan): reduce loop with
the formula of the double corner. based on a patch from
Masahiro Kanai (CanI) in [ruby-dev:39367].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:18 PM Revision 12fcef88 (git): * dln.c (aix_loaderror): fixed typo. suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Yutaka Kanemoto
03:19 PM Revision 8a52a566 (git): * 2009-09-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:19 PM Revision fc58a6c5 (git): * enum.c (enum_minmax): reduce comparison.
(enum_minmax_by): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:01 PM Revision 7728a17a (git): * lib/thread.rb (ConditionVariable#wait): add timeout argument.
[ruby-talk:346154]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:17 PM Bug #2132 (Closed): ("00".."00").to_a => ["0"]
=begin
Applied in changeset r25050.
=end
nobu (Nobuyoshi Nakada)
12:25 PM Revision 8c3926ae (git): * ext/bigdecimal/lib/bigdecimal/math.rb (atan): refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:41 AM Feature #2117: Binding to a class, a method from the class's superclass's metaclass, fails
=begin
Hi,

At Wed, 23 Sep 2009 06:04:42 +0900,
Marc-Andre Lafortune wrote in [ruby-core:25719]:
> Thank you for your patch.
> Applied in http://redmine.ruby-lang.org/repositories/revision/ruby-19?rev=25046
>
> Also fixed 1.8
>...
nobu (Nobuyoshi Nakada)
11:32 AM Feature #2117 (Assigned): Binding to a class, a method from the class's superclass's metaclass, fails
=begin

=end
nobu (Nobuyoshi Nakada)
06:04 AM Feature #2117 (Closed): Binding to a class, a method from the class's superclass's metaclass, fails
=begin
Thank you for your patch.
Applied in http://redmine.ruby-lang.org/repositories/revision/ruby-19?rev=25046

Also fixed 1.8
http://redmine.ruby-lang.org/repositories/revision/ruby-19?rev=25047

Rubyspecs updated.
=end
marcandre (Marc-Andre Lafortune)
02:51 AM Feature #2117: Binding to a class, a method from the class's superclass's metaclass, fails
=begin

=end
marcandre (Marc-Andre Lafortune)
11:37 AM Bug #2133 (Closed): Segfault When Eval'ing Large Hash Literals
=begin
Applied in changeset r25048.
=end
nobu (Nobuyoshi Nakada)
12:22 AM Bug #2133 (Closed): Segfault When Eval'ing Large Hash Literals
=begin
I can reproduce a segfault on ruby 1.9.2dev (2009-09-11) [i686-linux] by creating a hash with many thousands of keys, then eval'ing the result.

$ cat /tmp/large-hash.rb
hash = {}
IO.foreach('/usr/share/dict/words')...
runpaint (Run Paint Run Run)
11:34 AM Bug #2134 (Assigned): Inspect Output for Rational and Complex
=begin

=end
nobu (Nobuyoshi Nakada)
11:14 AM Bug #2134: Inspect Output for Rational and Complex
=begin
this is not a bug report.
this is not a matter for rational and complex.
close by yourself.

i believe inspect is for debug.
to eval any ouput of inspect is bad manner.

$ ./ruby -e 'p 0.0/0'
NaN
$ ./ruby -e 'p ...
tadf (tadayoshi funaba)
12:50 AM Bug #2134 (Rejected): Inspect Output for Rational and Complex
=begin
The inspect output of both Rational and Complex does not eval to the original number:

>> Rational(3,5).inspect
=> "(3/5)"
>> Complex(3,5).inspect
=> "(3+5i)"

In [ruby-core:23856] matz explained that the Rational o...
runpaint (Run Paint Run Run)
11:30 AM Revision 98b0d9f9 (git): cosmetic change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:24 AM Revision d3c64627 (git): describe Enumerable#chunk and Enumerable#slice_before.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:45 AM Bug #2135: File.executable? returns spurious true's in windows
=begin
Last I heard the IronRuby folks punted and simply went with checking for an .exe extension.
=end
djberg96 (Daniel Berger)
02:38 AM Bug #2135 (Closed): File.executable? returns spurious true's in windows
=begin
install hanna gem

C:\ruby\bin>irb
irb(main):001:0> File.executable? 'hanna'
=> true

though this file is not actually executable.
Same thing results thing with all versions of ruby.
Thanks!
=end
rogerdpack (Roger Pack)
08:46 AM Revision 945f4df6 (git): * vm_method.c (basic_obj_respond_to): new function to fundamental
behavior for #respond_to?
* vm_method.c (basic_obj_respond_to): calls #respond_to_missing
method if overridden, to check responsiveness of methods
implemented by #method_missing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25...
matz (Yukihiro Matsumoto)
08:08 AM Revision bda0b012 (git): * parse.y (assign_in_cond): also should warn assignment to dvar in
conditional. [ruby-dev:39363]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:17 AM Revision eb5692ab (git): * sprintf.c: fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:16 AM Revision bb099046 (git): * time.c: fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:14 AM Revision 1b541acd (git): * string.c (rb_str_upto): keep first width. [ruby-dev:39361]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:39 AM Revision 5a993c5d (git): * range.c: fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:28 AM Revision a97e80ba (git): * tool/instruction.rb (make_header_prepare_stack): check stack
overflow. [ruby-core:25714]
* tool/instruction.rb (make_footer_stack_val): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:07 AM Bug #1984: unable to require '.so' files with full directory path
=begin
Hmm. I can't reproduce with 1.9 either, I thought I had been able to but apparently not.

With 1.8 it's

C:\dev\ruby\recr>irb
>> require "\\dev\\ruby\\recr\\mytest"
LoadError: 127: The specified procedure could not ...
rogerdpack (Roger Pack)

09/22/2009

10:14 PM Bug #2132 (Closed): ("00".."00").to_a => ["0"]
=begin
いまいです。

r24562 以降、("00".."00").to_a が ["0"] になります。それ以前は ["00"]
でした。String#upto の変更による影響のようです。

$ ./miniruby -ve 'p(("00".."00").to_a)'
ruby 1.9.2dev (2009-08-17 trunk 24561) [i686-linux]
["00"]
$ ./miniruby -ve 'p(("00".....
no6v (Nobuhiro IMAI)
08:37 PM Revision a4c105c3 (git): * eval.c (umethod_bind): Fix bug that disallowed methods from singleton classes to be used for UnboundMethod#bind and Module#define_method, even when that singleton class was of the right kind_of [ruby-core:25632]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
08:04 PM Revision 92304aa3 (git): * proc.c (umethod_bind, rb_mod_define_method): Fix bug that disallowed methods from singleton classes to be used for UnboundMethod#bind, Kernel#define_singleton_method and Module#define_method, even when that singleton class was of the right kind_of. A patch by Shane O'Brien [ruby-core:25632]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
07:02 PM Revision 78ddb4f6 (git): * proc.c (rb_mod_define_method): doc fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:56 PM Revision d67008b4 (git): * 2009-09-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:56 PM Revision 7c63ba4e (git): * eval.c (rb_mod_define_method): Doc fix (accepts UnboundMethod too)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:53 PM Revision e12b255c (git): * 2009-09-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:53 PM Revision 8b871e67 (git): * eval.c (rb_mod_define_method): Doc fix (accepts UnboundMethod too)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
01:11 PM Revision aa78c979 (git): * variable.c: fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:16 PM Revision 7fd7e4a9 (git): * regint.h: commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:44 AM Bug #2129: Rational can't be coerced into BigDecimal (TypeError)
=begin
Thanks for the fix not to raise a TypeError.

Well, ruby svn trunk 25031 calculate Rational and BigDecimal as follows:
Rational + BigDecimal -> Rational
BigDecimal + Rational -> BigDecimal

I think that it shoul...
kubo (Takehiro Kubo)
04:57 AM Bug #2129 (Closed): Rational can't be coerced into BigDecimal (TypeError)
=begin
Applied in changeset r25025.
=end
nobu (Nobuyoshi Nakada)
07:34 AM Revision fe92b9a7 (git): * st.c (st_table_entry, st_get_key): use st_index_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:28 AM Revision 46970b2d (git): * regenc.h (PosixBracketEntryType): constified.
* regenc.h (PosixBracketEntryInit): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:27 AM Revision 01f3f864 (git): * regerror.c (onig_error_code_to_str, onig_snprintf_with_pattern):
fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:26 AM Revision 62f073a3 (git): * regparse.c (st_str_end_key, str_end_cmp, str_end_hash):
constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:14 AM Revision 476b3d8f (git): * process.c (proc_setgroups): fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:11 AM Revision bf3edb97 (git): * tool/transcode-tblgen.rb (transcode_generated_code): fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:24 AM Feature #1081: add File::write() convenience method
=begin
To summarize Roger's comment, we prefer this API:

File::write(path, string, mode='wb', opt={})

Thanks for your consideration.
=end
sunaku (Suraj Kurapati)
02:59 AM Bug #585 (Closed): BigDecimal#remainder is not correct with small divisors
=begin

=end
marcandre (Marc-Andre Lafortune)
02:59 AM Bug #585 (Open): BigDecimal#remainder is not correct with small divisors
=begin
Documentation was incorrect.

x.remainder(y) = x - (x/y).truncate

Among other things, if y divides x, then modulo == remainder == 0 no matter what the signs involved.
=end
marcandre (Marc-Andre Lafortune)
02:47 AM Bug #585 (Closed): BigDecimal#remainder is not correct with small divisors
=begin
Applied in changeset r25020.
=end
marcandre (Marc-Andre Lafortune)
01:35 AM Revision 475074d5 (git): * enum.c (enum_chunk): new method Enumerable#chunk.
* enum.c (enum_slice_before): new method Enumerable#slice_before.
[ruby-dev:38392] [ruby-dev:39240]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:17 AM Bug #514 (Closed): OpenSSL::OCSP::Response's to_der always returns an empty string
=begin
Applied in changeset r25019.
=end
marcandre (Marc-Andre Lafortune)

09/21/2009

09:40 PM Bug #2129 (Closed): Rational can't be coerced into BigDecimal (TypeError)
=begin
Rational + BigDecimal makes a Rational as follows:

$ ruby -rbigdecimal -e "puts Rational(1) + BigDecimal.new('1')"
2/1

But BigDecimal + Rationl raises a TypeError as follows:

$ ruby -rbigdecimal -e "puts Bi...
kubo (Takehiro Kubo)
09:08 PM Revision 089beb67 (git): * process.c (run_exec_dup2): fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:58 PM Revision fe1ce93f (git): * compile.c, cont.c, gc.c, insns.def, iseq.c, iseq.h, process.c,
thread.c, vm.c, vm_core.h, vm_dump.c, vm_eval.c,
vm_insnhelper.c, vm_method.c, template/insns_info.inc.tmpl,
tool/instruction.rb: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25030 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nobu (Nobuyoshi Nakada)
08:04 PM Revision 2c34b66e (git): * ext/bigdecimal/lib/bigdecimal/{ludcmp,math}.rb: depend on
bigdecimal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:00 PM Revision 51132a8a (git): * ext/bigdecimal/lib/bigdecimal/newton.rb: rdoc needs to be
followed by the definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:56 PM Revision c1f1b452 (git): * ext/bigdecimal/lib/bigdecimal/*.rb: made module functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:49 PM Revision 178dafef (git): * ext/bigdecimal/lib/*.rb: fixed indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:47 PM Revision d9bfa822 (git): * ext/bigdecimal/bigdecimal.c (GetVpValue): support conversion from
Rational. [ruby-core:25697]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:43 PM Revision 92fd1940 (git): * Makefile.in, win32/Makefile.sub (INSNS): depend on tools.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:42 PM Revision c3cd2816 (git): * tool/instruction.rb (make_insn_operand_optimized): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:34 PM Bug #2128 (Rejected): sample/test.rb:gc failure & unknown encoding messages OS X 10.6.1 (25015)
=begin
Recently I have been getting build failures from ruby 1.9.2 on OS X 10.6.1. Here is the end of the output from version 25015:

sample/test.rb:assignment ..........................................................................
mikestok (Mike Stok)
05:47 PM Revision bd7d5e5e (git): * 2009-09-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:46 PM Revision 28d64191 (git): * numeric.c: Fix doc for #remainder [ruby-core:18796]
* ext/bigdecimal/bigdecimal.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:46 PM Bug #2127: Fiber#resume - segfault inside C extension
=begin
Hi,

Nobu Nakada wrote:
> Maybe safe, maybe dangerous, noone has confirmed, nor
> considered it yet. There is no cross-thread violation like
> checks right now, but it might be figured out that the check is
> necessa...
sunaku (Suraj Kurapati)
05:06 PM Bug #2127: Fiber#resume - segfault inside C extension
=begin
Hi,

At Mon, 21 Sep 2009 16:26:17 +0900,
Suraj Kurapati wrote in [ruby-core:25691]:
> > I don't think it's guaranteed to resume a fiber in different
> > rb_protect scope.
>
> Why is that? Does each rb_protect scope have ...
nobu (Nobuyoshi Nakada)
04:26 PM Bug #2127: Fiber#resume - segfault inside C extension
=begin
Hi,

Nobu Nakada wrote:
> Regardless of fiber, uncaught exception causes a segfault.

Thanks, this is good to know.

> I don't think it's guaranteed to resume a fiber in different
> rb_protect scope.

Why is t...
sunaku (Suraj Kurapati)
03:29 PM Bug #2127: Fiber#resume - segfault inside C extension
=begin
Hi,

At Mon, 21 Sep 2009 13:34:31 +0900,
Suraj Kurapati wrote in [ruby-core:25689]:
> The trick is to always work with the Fiber inside the environment
> (a running thread?) provided by rb_protect(). If you try to do
> a...
nobu (Nobuyoshi Nakada)
01:34 PM Bug #2127: Fiber#resume - segfault inside C extension
=begin
I found an answer to my question:

The trick is to always work with the Fiber inside the environment
(a running thread?) provided by rb_protect(). If you try to do
anything to the Fiber (other than #inspect) outside of...
sunaku (Suraj Kurapati)
12:29 PM Bug #2127: Fiber#resume - segfault inside C extension
=begin
I have one small question about the example code:

I want to pause the execution of run_body() and return
control to main(). Later, main() will resume run_body().
In other words, I want to make run_body() like a Fiber.
...
sunaku (Suraj Kurapati)
11:52 AM Bug #2127: Fiber#resume - segfault inside C extension
=begin
Wow, thanks for the quick response! The corrections
you made to my C code are very helpful and instructive.

Thanks for your help! Cheers. :-)
=end
sunaku (Suraj Kurapati)
10:57 AM Bug #2127 (Rejected): Fiber#resume - segfault inside C extension
=begin

=end
nobu (Nobuyoshi Nakada)
10:57 AM Bug #2127 (Open): Fiber#resume - segfault inside C extension
=begin

=end
nobu (Nobuyoshi Nakada)
10:22 AM Bug #2127: Fiber#resume - segfault inside C extension
=begin
Hi,

At Mon, 21 Sep 2009 09:12:52 +0900,
Suraj Kurapati wrote in [ruby-core:25681]:
> Both Fiber#resume and rb_fiber_resume() are causing a segfault
> when called from inside a very simple C extension (see below).

Don't c...
nobu (Nobuyoshi Nakada)
10:17 AM Bug #2127 (Closed): Fiber#resume - segfault inside C extension
=begin
Applied in changeset r25014.
=end
nobu (Nobuyoshi Nakada)
09:12 AM Bug #2127 (Rejected): Fiber#resume - segfault inside C extension
Hi,

I am using ruby 1.9.2dev (2009-09-14 trunk 24923) [i686-linux].

Both Fiber#resume and rb_fiber_resume() are causing a segfault
when called from inside a very simple C extension (see below).

Thanks for your considera...
sunaku (Suraj Kurapati)
05:42 PM Revision 52999632 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_remainder): Doc fix [ruby-core:18796]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:16 PM Bug #1984 (Feedback): unable to require '.so' files with full directory path
=begin

=end
nobu (Nobuyoshi Nakada)
05:16 PM Bug #1984: unable to require '.so' files with full directory path
=begin
Hi,

At Mon, 24 Aug 2009 14:01:17 +0900,
Roger Pack wrote in [ruby-core:25075]:
> Author: Roger Pack
> Status: Open, Priority: Normal
> ruby -v: 1.9.2 mingw

What revision?

> where c:\dev\go.rb exists
> you can requir...
nobu (Nobuyoshi Nakada)
04:13 PM Revision ae86e152 (git): * ossl_ocsp.c (ossl_ocspres_to_der): Bug fix in Response#to_def. Patch by Chris Chandler [ruby-core:18411]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
04:12 PM Revision 3eb37951 (git): * 2009-09-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:12 PM Revision cf69eeab (git): * ossl_config.c (ossl_config_add_value_m, ossl_config_set_section): Check if frozen (or untrusted for $SECURE >= 4) [ruby-core:18377]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:06 AM Revision 2d8a79fa (git): * cont.c, proc.c: added rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:12 AM Revision f331b558 (git): * proc.c (proc_binding): allow proc from method. [ruby-core:25589]
* vm.c (collect_local_variables_in_env): block iseq can be NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:56 AM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin
> Run Paint Run suggested that 1.9 SHOULD produce a Rational or maybe a
> float as the result of dividing two integers, because "that what Guido
> would do."

He said, of course, no such thing. I suggest that when your s...
runpaint (Run Paint Run Run)
05:18 AM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin
On Sun, Sep 20, 2009 at 3:51 PM, brian ford <brixen@gmail.com> wrote:
> Hi,
>
> On Sun, Sep 20, 2009 at 9:19 AM, Rick DeNatale <rick.denatale@gmail.com> wrote:
>>
>> Actually in most languages which I've encountered, and tha...
RickDeNatale (Rick DeNatale)
04:52 AM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin
Hi,

On Sun, Sep 20, 2009 at 9:19 AM, Rick DeNatale <rick.denatale@gmail.com> wrote:
>
> Actually in most languages which I've encountered, and that's quite a
> few. Mixed mode arithmetic has been implemented by having some ...
brixen (Brian Shirai)
04:22 AM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin
I agree that _mathn_ constitutes a problem, but due to the means it employs rather than the end it achieves. In Ruby 1.8 the expectation is that '/' performs integer division, and having such a fundamental be subverted is untenab...
runpaint (Run Paint Run Run)
04:11 AM Bug #496: DRb.start_service(nil) is very slow
=begin

=end
marcandre (Marc-Andre Lafortune)
03:30 AM Bug #340: 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1)
=begin

=end
marcandre (Marc-Andre Lafortune)
02:42 AM Feature #2126: ruby_init_stack() - add ability to specify or query max_stack_size
=begin
Sigh, yet another mistake. Below is my corrected request. Sorry for
the trouble.

Add a max_stack_size parameter to ruby_init_stack():

void ruby_init_stack(VALUE* stack_start, size_t max_stack_size);

Ad...
sunaku (Suraj Kurapati)
02:35 AM Feature #2126: ruby_init_stack() - add ability to specify or query max_stack_size
=begin
Whoops, I assumed that the native machine's stack direction grows from
high to low. That is not protable, so here is my corrected request:


Add a max_stack_size parameter to ruby_init_stack():

void ruby_init...
sunaku (Suraj Kurapati)
01:54 AM Bug #1142: /opt/ruby19/lib/ruby19/1.9.1/openssl/ssl.rb:31: [BUG] Bus Error
=begin

=end
marcandre (Marc-Andre Lafortune)
01:13 AM Revision 3a7c1e25 (git): * cont.c (cont_new, cont_capture, fiber_t_alloc): needs already
running thread. cf. [ruby-core:25681]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:32 AM Bug #2063: Core dump on AIX
=begin
Try again... sorry
=end
pedz (Perry Smith)
12:04 AM Bug #2050 (Closed): Abbreviated Assignment Operators No Longer Return rvalue
=begin
Applied in changeset r24999.
=end
nobu (Nobuyoshi Nakada)
 

Also available in: Atom