Project

General

Profile

Activity

From 02/11/2013 to 02/17/2013

02/17/2013

11:54 PM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
I expect:
~~~ruby
module P
def m; puts "P"; super; end
end
class A
def m; puts "A"; end
end
class B < A
def m; puts "B"; end
alias m2 m
prepend P
alias m3 m
end
B.new.m2
#=> expe...
matz (Yukihiro Matsumoto)
10:48 PM Bug #6751 (Closed): remove tempfiles early.
チケットの更新し忘れでした。
akrさんの言う通り、パッチはすでに当たっています。
xibbar (Takeyuki FUJIOKA)
09:23 PM Bug #6751: remove tempfiles early.
2013年2月17日 19:10 ko1 (Koichi Sasada) <redmine@ruby-lang.org>:
>
> Issue #6751 has been updated by ko1 (Koichi Sasada).
>
> Target version changed from 2.0.0 to 2.1.0

r37471 でパッチが当たっているような気がします。
--
[田中 哲][たなか あきら][Tanak...
akr (Akira Tanaka)
10:46 PM Bug #7778: Irb loading generates 17x more open/stat system calls when a locale is set
Irb search directories of RUBY_PATH for irb message locale files, if LC_ALL etc. is set.
Therefore, this is not a bug.
keiju (Keiju Ishitsuka)
02:22 PM Bug #7778: Irb loading generates 17x more open/stat system calls when a locale is set
Is it only for irb?
Same as Ruby command?
ko1 (Koichi Sasada)
09:53 PM Feature #7510: irb --help が古い
けいじゅ@いしつかです.

ko1 (Koichi Sasada) <redmine@ruby-lang.org> wrote:

> Issue #7510 has been updated by ko1 (Koichi Sasada).
> Target version changed from 2.0.0 to 2.1.0
>
> 2.0.0 にはもう間に合わないと思いますが、keiju さん、こちらいかがでしょ
> うか。
...
keiju (Keiju Ishitsuka)
07:05 PM Feature #7510: irb --help が古い
2.0.0 にはもう間に合わないと思いますが、keiju さん、こちらいかがでしょうか。 ko1 (Koichi Sasada)
09:26 PM Feature #7872: `block_given?` does not work inside `define_method`
Ok. Is it actually possible to somehow force `def ... end` for instance methods behave identically with `define_method` method with a block? alexeymuranov (Alexey Muranov)
01:16 PM Feature #7872: `block_given?` does not work inside `define_method`
=begin
The behavior in 1.9:
$ ruby19 -ve 'class C; define_method :x do p block_given? end; end; C.new.x { }'
ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.2.1]
false
Is the same as in 2.0:
$ ruby20 -ve ...
drbrain (Eric Hodel)
10:40 AM Feature #7872 (Rejected): `block_given?` does not work inside `define_method`
=begin
Is this the expected behavior?
define_method :try do
block_given? ? yield : 'no block'
end
try { 'block' } # => "no block"
However:
def try_again
block_given? ? yield : 'no block'
end
try_again { 'b...
alexeymuranov (Alexey Muranov)
09:20 PM Feature #7684 (Rejected): Net::HTTPHeader#set_form_data should accept a String
Such backdoor breaks the convention that this method returns a valid application/x-www-form-urlencoded string.
You should set it directly to body.
naruse (Yui NARUSE)
05:34 PM Feature #7684: Net::HTTPHeader#set_form_data should accept a String
If it didn't work this way before I think it is a feature request. drbrain (Eric Hodel)
02:25 PM Feature #7684: Net::HTTPHeader#set_form_data should accept a String
Is it a feature request?
ko1 (Koichi Sasada)
09:06 PM Bug #4439 (Closed): TestBeginEndBlock#test_should_propagate_signaled が必ず1度失敗する
sorah (Sorah Fukumori)
07:59 PM Bug #4439: TestBeginEndBlock#test_should_propagate_signaled が必ず1度失敗する
Also can't reproduce at "ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-darwin12.2.0]" sorah (Sorah Fukumori)
07:45 PM Bug #4439 (Feedback): TestBeginEndBlock#test_should_propagate_signaled が必ず1度失敗する
=begin
Can't reproduce on OS X 10.8 with both ruby_2_0_0 and trunk:
* ruby 2.0.0dev (2013-02-17 trunk 39291) [x86_64-darwin12.2.0]
* ruby 2.0.0dev (2013-02-16 trunk 39280) [x86_64-darwin12.2.0]
Maybe able to reproduce on Linux?
...
sorah (Sorah Fukumori)
08:55 PM Bug #7870 (Closed): Time.now == "" causes an infinite loop
This issue was solved with changeset r39292.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
compar.c: inversed comarison without infinite recursion
* compar...
nobu (Nobuyoshi Nakada)
07:35 PM Bug #7870 (Assigned): Time.now == "" causes an infinite loop
drbrain, thank you! That is terrible.
Nobu, please check and fix it!
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
05:41 PM Bug #7870: Time.now == "" causes an infinite loop
Fog breaks due to this change (it is how I discovered it):
https://github.com/fog/fog/blob/master/lib/fog/core/attributes.rb#L53-L62
This compares a Time with the empty string leading to the infinite loop.
Fog provides an API fo...
drbrain (Eric Hodel)
03:05 PM Bug #7870: Time.now == "" causes an infinite loop
I don't think that this is a showstopper, unless there is many or famous application depending on this behavior. Do you know anything?
After it is fixed in trunk, we may backport the patch to 2.0.0, but don't necessarily have to do s...
mame (Yusuke Endoh)
09:22 AM Bug #7870: Time.now == "" causes an infinite loop
r38044 is the culprit.
Previously Ruby would return nil if the other object did not have to_str, now ruby calls other <=> self when other is not a String and does not have <=> leading to the infinite loop.
drbrain (Eric Hodel)
08:46 AM Bug #7870 (Closed): Time.now == "" causes an infinite loop
=begin
This is a regression from 1.9.
2.0.0 branch:
$ ./ruby20 -v ../branches/ruby_2_0_0/test.rb
ruby 2.0.0dev (2013-02-08) [x86_64-darwin12.2.1]
../branches/ruby_2_0_0/test.rb:1: warning: possibly useless use of == in voi...
drbrain (Eric Hodel)
08:48 PM Bug #7817 (Rejected): (Unable to compile Ruby 2.0.0-rc2 on OSX (clang version 2.1)
As I wrote in #5076, CRuby requires "Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)" or later.
It is bundled with Xcode 4.2.
If you want to build old Xcode, use --with-gcc=gcc-4.2.
Old clang has many bugs...
naruse (Yui NARUSE)
02:42 PM Bug #7817: (Unable to compile Ruby 2.0.0-rc2 on OSX (clang version 2.1)
mrkn, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
07:52 PM Bug #7755: JSON::Generate#configure's argument conversion
Could you report it to upstream?
https://github.com/flori/json
naruse (Yui NARUSE)
07:51 PM Bug #7200 (Rejected): Setting external encoding with BOM|
naruse (Yui NARUSE)
07:12 PM Feature #6003: test/unit/parallel.rb
What's the status of this issue?
ko1 (Koichi Sasada)
07:08 PM Bug #5418: Some properties of WEBrick::HTTPRequest could be malformed
Time up for 2.0.0.
Nahi-san, how about this ticket?
ko1 (Koichi Sasada)
07:06 PM Bug #5199: ext/tk: RB_GC_GUARD seems to be needed in several places
Time up for 2.0.0.
Nagai-san, how about it?
ko1 (Koichi Sasada)
05:35 PM Bug #5060: Executables in bin folder conflict with their gem versions.
This is too risky to fix for 2.0.0, sorry I did not have time. drbrain (Eric Hodel)
03:50 PM Bug #7696 (Assigned): Lazy enumerators with state can't be rewound
mame (Yusuke Endoh)
03:25 PM Bug #7774: IFUNC上のbinding呼び出しでSEGV
了解です。ありがとうございます。バックポートお願いします。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
03:23 PM Bug #7871: exec_prefix regression breaks mingw
my build failed with r39287 so r39284 doesn't fix it. I suspect tweaks from r39267 and/or r39273. jonforums (Jon Forums)
03:15 PM Bug #7871: exec_prefix regression breaks mingw
mame (Yusuke Endoh) wrote:
> Luis, do you know anything?
> ...
Issue got introduced in r39107 by Nobu and appears to be solved in trunk by r39267 and r39284 (nobu and naruse commits).
Trunk is building right now, going to confirm if...
luislavena (Luis Lavena)
02:37 PM Bug #7871 (Assigned): exec_prefix regression breaks mingw
Luis, do you know anything?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:49 AM Bug #7871 (Closed): exec_prefix regression breaks mingw
Recent `exec_prefix` mods cause problems with the rubyinstaller build recipes as the new value points to the temporary build install path. Rubyinstaller build recipes build in a sandbox dir, and install in a different sandbox dir. Both s... jonforums (Jon Forums)
03:22 PM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
Time up for 2.0.0.
Matz, could you check this ticket?
ko1 (Koichi Sasada)
03:22 PM Feature #7644: In refinements, change "using" keyword to a less generic word.
Obviously too late for 2.X ;-(
You had to raise your voice during the preview period.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
03:19 PM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
2.1 で結論を付けたいところ。
多分、まつもとさんはこの辺気にしないと思うので、小崎さん、たるいさん(と私かなぁ)で決めると良いと思います。
ko1 (Koichi Sasada)
03:17 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
time up. 2.0.0 was fixed.
Matz, could you consider it on 2.1.0?
Or please reject it.
ko1 (Koichi Sasada)
02:58 PM Bug #5556 (Closed): SIGHUP no longer ignored when sent to process group from a subprocess
No feedback. Close it. kosaki (Motohiro KOSAKI)
02:48 PM Bug #5556: SIGHUP no longer ignored when sent to process group from a subprocess
I don't think that this issue is ready for determining a backport to 2.0.0.
Kosaki-san, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:55 PM Bug #7824: [PATCH] Fix FileUtils.rmdir :parents option
It should be fixed in trunk first. Setting the target to 2.1.0.
Whether we backport to 2.0.0 or not, is due tp Nagachika-san.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:39 PM Bug #7824: [PATCH] Fix FileUtils.rmdir :parents option
Please do not mark it as a showstopper unless you don't know.
It makes my S/N ratio low.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:48 PM Bug #7824: [PATCH] Fix FileUtils.rmdir :parents option
Is this patch critical for stopping ruby 2.0.0 release?
There is no explanation.
ko1 (Koichi Sasada)
02:50 PM Bug #7350 (Rejected): Segmentation fault with ruby 1.9.3p328 (2012-11-13) [x86_64-linux]
Marking as rejected due to no response from OP.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:50 PM Feature #7508: Clean up some more calls to rb_intern()
I have an opinion.
I want to move all static IDs move to defs/id.def. I have no objection with this patch. But all of replace can be replaced after that.
What do you think about?
ko1 (Koichi Sasada)
02:40 PM Feature #7508: Clean up some more calls to rb_intern()
Whoops I forgot about this ticket.
I'll commit it soon.
Anonymous
02:44 PM Bug #7756: clang 4.2 sees through UNINITIALIZED_VAR macro, gives warning
It emits just a warning, not an error, right?
Looks not significant.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:50 PM Bug #7756: clang 4.2 sees through UNINITIALIZED_VAR macro, gives warning
mame-san, how about it?
ko1 (Koichi Sasada)
02:26 PM Bug #7489: Kernel.spawn sometimes executes string directly
Akr-san, could you add a documentation?
ko1 (Koichi Sasada)
02:25 PM Bug #7731: Segmentation fault when trying to start rails server
No feedback.
ko1 (Koichi Sasada)
02:24 PM Bug #7772: Consider bumping stack size in ruby_qsort
Nobu, could you check, and introduce it?
I think it should be included with 2.0.0-p???.
ko1 (Koichi Sasada)
02:21 PM Bug #7801 (Third Party's Issue): Segfault with block called from continuation
Simply, do not use continuation.
It is difficult to make an extension library with continuation.
ko1 (Koichi Sasada)
02:17 PM Bug #7808: [PATCH] Allow to install arch specific code into different location then nonarch
critical for 2.0.0?
If it is critical, then please change target version.
ko1 (Koichi Sasada)
02:11 PM Feature #7848: Restore default state for core ruby objects
I don't think this proposal can be accepted.
ko1 (Koichi Sasada)
02:05 PM Bug #7855 (Feedback): Rare segfault within yielding block
Could you give us more small reproduce-able code?
I'm not sure it is core's matter or 3rd party issue.
ko1 (Koichi Sasada)
02:03 PM Bug #7865: A required file is not added to $LOADED_FEATURES until after it has run
Matz issue?
or other can judge it?
This behavior is same as 1.9.3 or before. So it is not a compatibility issue.
ko1 (Koichi Sasada)
02:00 PM Bug #7867: enable-multiach installs pkgconfig file into wrong dir
I'm not sure it is critical or not for 2.0.0 release.
So I labeled it as "next minor".
Please change this label if it is very important.
ko1 (Koichi Sasada)
03:44 AM Bug #7867 (Closed): enable-multiach installs pkgconfig file into wrong dir
currently the pc file is installed under:
/usr/local/lib/pkgconfig/ruby-2.0.pc
but with multiarch it should be (for sample) installed under:
/usr/local/lib/x86_64-linux-gnu/pkgconfig/ruby-2.0.pc
Hanmac (Hans Mackowiak)
01:55 PM Bug #7156: Invalid byte sequence in US-ASCII when using URI from std lib
No feedback.
ko1 (Koichi Sasada)
01:53 PM Bug #7425: Execute a script by active record, the console is crash.
No feedback. ko1 (Koichi Sasada)
01:51 PM Bug #7648: GServer does not close cleanly from signal interrupt context
No response here.
ko1 (Koichi Sasada)
01:51 PM Feature #7652: Add FreeMiNT support to Ruby
No feedback. It should be next minor (if there is a feedback).
ko1 (Koichi Sasada)
01:45 PM Bug #7850 (Third Party's Issue): Gem::Dependency.new( Symbol ) is deprecated?
3rd party かわからなかったのですが、とりあえずこれで閉じておきます。 ko1 (Koichi Sasada)
01:13 PM Bug #7873 (Rejected): StringIO does not respond to to_io
It is intended. StringIO only pretends to be an IO, it is not backed by a socket or file like an IO is. drbrain (Eric Hodel)
10:50 AM Bug #7873 (Rejected): StringIO does not respond to to_io
In my project, I'm using "object.respond_to? :to_io" to check if the object is IO-ish[1].
(I heard that this is the preferred way to do that some time ago.)
However, StringIO does not seem to define to_io. Is this intended?
[1] h...
ueno (Daiki Ueno)
12:46 PM Revision c4d41074 (git): Revert r39289
* "configure.in: unexpand_shvar"
it breaks $LOAD_PATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:55 AM Revision 44c5c2a3 (git): compar.c: inversed comarison without infinite recursion
* compar.c (rb_invcmp): compare by inversed comarison, with preventing
from infinite recursion. [ruby-core:52305] [Bug #7870]
* string.c (rb_str_cmp_m), time.c (time_cmp): get rid of infinite
recursion.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
09:41 AM Revision c9283b5c (git): * configure.in: remove debug print.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:23 AM Revision 1264600d (git): mkmf.rb: remove extra topdir in VPATH
* 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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39290 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nobu (Nobuyoshi Nakada)
07:57 AM Revision 17b898e1 (git): configure.in: unexpand_shvar
* configure.in (unexpand_shvar): regularize a shell variable by
unexpanding shell variables in it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:56 AM Revision e2bd72d5 (git): .gdbinit: revert colored prompt
* .gdbinit: revert colored prompt because incremental search does not
work well with invisible sequence in prompt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/16/2013

10:29 PM Bug #7865 (Closed): A required file is not added to $LOADED_FEATURES until after it has run
=begin
Required files are not added to $LOADED_FEATURES until after they have been executed.
This is easily demonstrated with two files, a.rb and b.rb:
# a.rb
require "./b"
p $LOADED_FEATURES.grep(/b\.rb/).any?
# b.rb...
Anonymous
07:32 PM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
charliesome (Charlie Somerville) wrote:
> I have updated my patch to not clear the cache when a class is garbage collected.
> ...
That is not the true: occasionally a new class could be placed at the same object slot. Then method cache...
funny_falcon (Yura Sokolov)
06:31 PM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
I have updated my patch to not clear the cache when a class is garbage collected.
My reasoning is that if a class is garbage collected, then no objects of that class could possibly exist, so the method cache would never be hit.
Anonymous
04:25 PM Revision 91696db4 (git): wrong github issue from r39286
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:19 PM Revision e39caa75 (git): * ext/psych/lib/psych/y.rb: Document Kernel#y by Adam Stankiewicz
[Github tenderlove/psych#118]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
04:11 PM Revision 25575b7c (git): * 2013-02-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:10 PM Revision 16d775d9 (git): * 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39284 b2dd03c8-39d4-4d8f-98ff-823fe...
naruse (Yui NARUSE)
03:53 PM Bug #7774 (Assigned): IFUNC上のbinding呼び出しでSEGV
反応が悪くて申し訳ないです。
先ほどコミットした r39275 になります。
SEGV はしませんが、若干の非互換となります。
ko1 (Koichi Sasada)
03:51 PM Bug #7774 (Closed): IFUNC上のbinding呼び出しでSEGV
This issue was solved with changeset r39275.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* proc.c (rb_binding_new_with_cfp): create binding object even ...
ko1 (Koichi Sasada)
01:22 PM Bug #7859 (Assigned): Readline: Incorrect arrow key behavior in vi_editing_mode insert mode with Readline 6.2
nobu (Nobuyoshi Nakada)
04:20 AM Bug #7859 (Closed): Readline: Incorrect arrow key behavior in vi_editing_mode insert mode with Readline 6.2
=begin
I've discovered what I think is a bug in the (({Readline})) module in the standard library. When I am using (({vi_editing_mode})) in insert mode (rather than command mode), I am unable to use the up arrow to go up through history...
davidbalbert (David Albert)
12:46 PM Bug #7847 (Closed): gem release of io-console is broken on Windows
This issue was solved with changeset r39268.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
io/console: compatibility with 1.9
* ext/io/console/console.c (r...
nobu (Nobuyoshi Nakada)
12:45 PM Bug #7860 (Closed): Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
This issue was solved with changeset r39267.
Chris, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
configure.in: unexpand exec_prefix etc
* configure.in: unexpand...
nobu (Nobuyoshi Nakada)
08:31 AM Bug #7860 (Closed): Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
How I reproduce:
------------------------------------
```
# git clone git://github.com/ruby/ruby.git
# autoreconf
# ./configure --libdir=/usr/local/lib64
# make clean && make && make install
# /usr/local/bin/ruby -e 'puts Gem.ru...
cwgem (Chris White)
12:11 PM Revision 11498d9b (git): * .gdbinit (iseq): rename dummy_gdb_enums to ruby_dummy_gdb_enums.
This is follow up to changes in r24407.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
11:58 AM Revision 16aedfe0 (git): * vm.c (ENV_IN_HEAP_P): fix off-by-one error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
11:52 AM Revision b38334e2 (git): Properly reflect --with-opt-dir to LIBRUBY_DLDFLAGS on all platforms.
* 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.
git-svn-id: svn+ssh://c...
Akinori MUSHA
11:45 AM Revision 6c10ebe2 (git): * 2013-02-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:45 AM Revision cd391985 (git): * backport r39276 from trunk. [ruby-dev:46997] [Bug #7825]
* 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 (alia...
ktsj (Kazuki Tsujimoto)
11:44 AM Revision 75a5be37 (git): * ext/socket/ancdata.c (rsock_recvmsg): ignore truncated part of
socket address returned from recvmsg().
* ext/socket/init.c (recvfrom_blocking): ignore truncated part of
socket address returned from recvfrom().
(rsock_s_recvfrom_nonblock): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
akr (Akira Tanaka)
11:14 AM Revision 1061371f (git): * test/ruby/test_thread.rb: fixed typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
07:41 AM Revision b4add2ac (git): * 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 pa...
ko1 (Koichi Sasada)
06:51 AM Revision 7cbeff90 (git): * 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]
* test/ruby/test_settracefunc.rb: add a test.
git-svn-id: svn+ssh://ci.ru...
ko1 (Koichi Sasada)
05:46 AM Revision 3d490d20 (git): .gdbinit: colorize
* .gdbinit: colorize prompt and output headers, so boundaries get
clearer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:55 AM Feature #7849: Symbol#to_str
The purpose of to_str, to_int, to_ary and to_sym are to convert string, integer, array and symbol representations to objects of that class.
For example:
The rope data structure (which supports insertion, deletion and random access)...
drbrain (Eric Hodel)
04:40 AM Revision bb7e19c8 (git): configure.in: don't substitute exec_prefix itself
* configure.in (shvar_to_cpp): do not substitute exec_prefix itself
with RUBY_EXEC_PREFIX, which cause recursive definition.
[ruby-core:52296] [Bug #7860]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39273 b2dd03c8-39d4-4d8f-98...
nobu (Nobuyoshi Nakada)
04:13 AM Revision 78b50f26 (git): io/console: 0.4.2
* ext/io/console/io-console.gemspec: bump to 0.4.2. now explicitly
requires ruby 1.9.3 or later. [Bug #7847]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:00 AM Revision 923b8c4e (git): io/console: set HAVE_RB_SCAN_ARGS_OPTIONAL_HASH
* ext/io/console/extconf.rb: obtain optional hash by rb_scan_args() by
default right now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:58 AM Revision 2a62ca66 (git): io/console: fix configuration failure
* ext/io/console/extconf.rb: fix configuration failure by missing
cpp_include.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:47 AM Revision 6ba2001d (git): io/console: compatibility with 1.8
* ext/io/console/console.c (console_dev): compatibility with ruby 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:46 AM Revision 44c24d44 (git): io/console: compatibility with 1.9
* ext/io/console/console.c (rawmode_opt, console_dev): compatibility
with ruby 1.9. [ruby-core:52220] [Bug #7847]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:45 AM Revision 62711da2 (git): configure.in: unexpand exec_prefix etc
* 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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3926...
nobu (Nobuyoshi Nakada)
03:23 AM Feature #7701: Non-optional (required) keyword args
On Sat, Feb 16, 2013 at 01:18:03AM +0900, nobu (Nobuyoshi Nakada) wrote:
>
> Issue #7701 has been updated by nobu (Nobuyoshi Nakada).
>
> File 0001-required-keyword-arguments.patch added
> Description updated
>
> Just i...
Anonymous
01:18 AM Feature #7701: Non-optional (required) keyword args
Just implemented to escape from reality. nobu (Nobuyoshi Nakada)
03:16 AM Revision 53f97f1c (git): * parse.y: add dtrace probe for symbol create.
* probes.d: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
12:59 AM Revision 733d65df (git): * 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 ?".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:25 AM Revision 4b5b88ec (git): * ext/socket/extconf.rb: reorder header tests to consider inclusion
order in rubysocket.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)

02/15/2013

11:46 PM Revision d6d0e853 (git): * configure.in, ext/socket/extconf.rb: test netinet/in_systm.h in
ext/socket/extconf.rb instead of configure.in.
Originally, netinet/in_systm.h is included for NextStep, OpenStep,
and Rhapsody. [ruby-core:1596]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39263 b2dd03c8-39d4-4d8f-98ff-823...
akr (Akira Tanaka)
10:59 PM Revision 899ba99b (git): * configure.in: don't test xti.h here.
* ext/socket/extconf.rb: test xti.h here.
Originally, xti.h is included for IRIX [ruby-core:14447].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:53 PM Revision 35f8072e (git): preprocessor directives indented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:19 PM Revision cb31e783 (git): * ext/socket/extconf.rb: test struct sockaddr_un and its member,
sun_len.
* ext/socket/sockport.h (INIT_SOCKADDR_UN): new macro defined.
* ext/socket/socket.c (sock_s_pack_sockaddr_un): use INIT_SOCKADDR_UN.
* ext/socket/unixsocket.c (rsock_init_unixsock): ditto.
* ext/socket/raddrinfo.c (init_uni...
akr (Akira Tanaka)
10:08 PM Revision 84a525bc (git): * ext/socket/sockport.h (INIT_SOCKADDR_IN): don't need family
argument. it is always AF_INET.
* ext/socket/raddrinfo.c (make_inetaddr): follow INIT_SOCKADDR_IN
change.
(addrinfo_ipv6_to_ipv4): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:58 PM Feature #7849: Symbol#to_str
=begin
@charliesome Actually, that's exactly what my proposal attempts to address. You don't always have a choice in what type of object you receive, but you want it to become a string. Consider a DSL like Rake's. One could use:
...
trans (Thomas Sawyer)
09:24 PM Feature #7849: Symbol#to_str
> You cannot gsub, enumerate characters in or alter encoding of a Symbol, so it is not a string representation.
That the official spec on the definition of a Stringy-thing? That's the "problem" with #to_str, #to_ary, etc. isn't it? Th...
trans (Thomas Sawyer)
07:23 PM Revision cd63b84c (git): * ext/socket/extconf.rb: workaround for mswin/mingw build problem.
sendmsg emulation in win32/win32.c is not enough.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:07 PM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
Seems nice.
nobu (Nobuyoshi Nakada)
02:29 PM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
Here is an equivalent patch for win32.c:
~~~diff
diff --git a/win32.c b/win32.c.new
index 984e03b..70af7f8 100644
--- a/win32.c
+++ b/win32.c.new
@@ -6052,6 +6052,14 @@ rb_w32_write(int fd, const void *buf, size_t size)

...
phasis68 (Heesob Park)
01:38 PM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
Although I can't reproduce it at all, I think it would be in
win32/win32.c but not in io.c.
nobu (Nobuyoshi Nakada)
05:05 PM Feature #7791: Let symbols be garbage collected
My definition of complicating the life of the core team is undertaking projects that are likely to cause bugs.
That also complicates the life of everyone using Ruby.
Garbage collection only secures one part of the to_sym problem, t...
Student (Nathan Zook)
03:25 PM Feature #7791: Let symbols be garbage collected
I don't think the goal is to simplify the life of ruby-core people.
I feel the goal is to have the best language possible be reasonably secure by default.
It would be sad if Ruby and its community suffered because of a reputation o...
marcandre (Marc-Andre Lafortune)
08:57 AM Feature #7791: Let symbols be garbage collected
It seems to me that the motivation behind this proposal is to allow the interning of untrusted data to not affect the system. It seems to me that the proposal to garbage collect some symbols is complicated, and as such, likely to genera... Student (Nathan Zook)
03:20 PM Revision 49a009bb (git): * 2013-02-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:20 PM Revision 41b2a6f0 (git): * ext/socket/extconf.rb: use all all tested available headers for
have_func.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:58 PM Feature #7854: New method Symbol[string]
=begin
Ticket #7839 requires the manipulation of global state. I'm not sure why I have to explain that this is a REALLY bad idea.
Ticket #7791 has two possible implementations. One is to GC symbols globally. This would require tre...
Student (Nathan Zook)
12:58 PM Feature #7854: New method Symbol[string]
To make this proposal useful all existing libraries must be updated to use the method to create symbols.
Other proposals such as #7839 or #7791 allow rubyists to avoid a symbol creation DoS without forcing them to ask for new releases...
drbrain (Eric Hodel)
10:55 AM Feature #7854: New method Symbol[string]
It could, but it would be extraordinarily slow, as all_symbols returns an array which is quite large in many applications.
Student (Nathan Zook)
10:34 AM Feature #7854: New method Symbol[string]
Note that this is closely related to #7795 (Symbol.defined? and/or to_existing_symbol)
In existing code, Symbol.[] could be implemented as:
class Symbol
def self.[](string)
all_symbols.find{|sym| sym.to_s == str...
phluid61 (Matthew Kerwin)
08:53 AM Feature #7854 (Closed): New method Symbol[string]
I propose a new class method [] on Symbol. If a symbol s already exists such that s.to_s == string, then s is returned. If not, nil is returned.
The inspiration for this method is a question I was asked, and the answer I was given: ...
Student (Nathan Zook)
01:25 PM Revision aeac90e6 (git): Fix CFLAGS and CXXFLAGS in RbConfig::CONFIG on FreeBSD and NetBSD/amd64.
* 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...
Akinori MUSHA
12:20 PM Bug #7856: The usage of try_run in extconf.rb is broken when crosscompiling
The problem was reported here:
https://dev.openwrt.org/ticket/9873
The mkmf.log just shows that the "checking wide getaddrinfo failed". The c code it generates is OK. The executable it compiles is also ok. However, the arch that is...
luizluca (Luiz Angelo Daros de Luca)
11:16 AM Bug #7856 (Feedback): The usage of try_run in extconf.rb is broken when crosscompiling
Hello,
Can you tell us more details about the platform you're targeting? The compiler you're using and what platform are you running it in?
Also, can you provide the exact output of mkmf.log and the error you're getting?
I can t...
luislavena (Luis Lavena)
11:10 AM Bug #7856 (Closed): The usage of try_run in extconf.rb is broken when crosscompiling
Hello,
Every "try_run" inside extconf.rb (found in some ext/*/extconf.rb) tries to compile and run the generated binary. However,
when crosscompiling, this simply can't work.
Please, make try_run be ignored (or just test the compi...
luizluca (Luiz Angelo Daros de Luca)
11:30 AM Revision e41b789c (git): * ext/socket/sockport.h (SET_SIN_LEN): defined for strict-aliasing
rule.
(INIT_SOCKADDR_IN): ditto.
* ext/socket/raddrinfo.c (make_inetaddr): use INIT_SOCKADDR_IN.
(addrinfo_ipv6_to_ipv4): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:40 AM Feature #7839: Symbol.freeze_symbols
Student (Nathan Zook) wrote:
> +1 to prohibiting interning of tainted strings. Probably $SAFE >= 1, though. Currently, this is a problem for $SAFE <= 2.
$SAFE is not implemented in other implementations, so this issue should be add...
shugo (Shugo Maeda)
08:58 AM Feature #7839: Symbol.freeze_symbols
Would my proposal #7854 not allow an easy and clean solution to this problem?
Student (Nathan Zook)
10:26 AM Bug #7855 (Closed): Rare segfault within yielding block
I'm getting a segfault every few days inside an enumerator yield block:
Enumerator.new do |y|
cache.each do |k,v|
y << v if yield(v) #segfaulting here every million executions or so
e...
nathanaeljones (Nathanael Jones)
09:31 AM Revision 140934c6 (git): win32.c: style
* win32/win32.c (rb_w32_fd_is_text): adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:24 AM Revision b0488c5b (git): mkmf.rb: fail if cross compiling
* lib/mkmf.rb (MakeMakefile#try_run): bail out explicitly if cross
compiling, because it cannot work of course.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:54 AM Revision 66c1e796 (git): socket: ai_addrlen is socklen_t
* ext/socket/raddrinfo.c (rsock_make_hostent): ai_addrlen is not
size_t but socklen_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:05 AM Feature #7836: Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
@ marcandre. Another possible approach is to provide `UnboundMethod#super`. We do something similar in our Method wrapper for Pry: https://github.com/pry/pry/blob/master/lib/pry/method.rb#L394-L402
While we're at it, other useful meth...
banister (john mair)
12:57 AM Feature #7836 (Open): Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
Matz, could you please confirm?
I'm not sure what is the right approach. What should A.instance_method(:hello) return:
1. the method that `A.new.hello` will execute, or
2. the method defined in A?
I feel that 1) a more accurate...
marcandre (Marc-Andre Lafortune)
03:36 AM Revision a60e2e58 (git): * ext/socket/extconf.rb: test struct sockaddr_storage directly.
* ext/socket/rubysocket.h: use HAVE_TYPE_STRUCT_SOCKADDR_STORAGE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:27 AM Revision 0cc9cea3 (git): * ext/socket/getaddrinfo.c (GET_AI): don't cast 1st argument for
INIT_SOCKADDR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:25 AM Bug #7844: include/prepend satisfiable module dependencies are not satisfied
As I stated before (#1586), I feel that the solution is easy:
~~~ruby
A.ancestors = [*A.prepended_modules.flat_map(&:ancestors), A, *A.included_modules.flat_map(&:ancestors), *A.superclass.ancestors]
~~~
In the given example, thi...
marcandre (Marc-Andre Lafortune)
01:01 AM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
nobu (Nobuyoshi Nakada) wrote:
> Rather I expect [B, A] in this case.
You do?
There would be no way to safely monkey patch this method without using Prepend! So any 1.9.x library that uses monkey patching like alias_method_chain c...
marcandre (Marc-Andre Lafortune)

02/14/2013

11:59 PM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
> Rather I expect [B, A] in this case.

Fine. I just wanted to point out the weird skipping.
(Actually, I expect nothing for such a code :-)


2013/2/14, SASADA Koichi <ko1@atdot.net>:
> (2013/02/14 16:14), nobu (Nobuyosh...
mame (Yusuke Endoh)
04:14 PM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
Rather I expect [B, A] in this case. nobu (Nobuyoshi Nakada)
07:28 AM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
I agree, this can only be a bug. marcandre (Marc-Andre Lafortune)
11:14 PM Revision 1ff71083 (git): * ext/socket/sockport.h (SET_SS_LEN): removed.
(SET_SIN_LEN): removed.
(INIT_SOCKADDR): new macro.
* ext/socket/ancdata.c (extract_ipv6_pktinfo): use INIT_SOCKADDR.
* ext/socket/raddrinfo.c (make_inetaddr): use INIT_SOCKADDR.
(addrinfo_ipv6_to_ipv4): ditto.
* ext/socket/getadd...
akr (Akira Tanaka)
10:49 PM Revision dfbb5b67 (git): * lib/rdoc.rb: Update to release version of 4.0.0
* lib/rubygems.rb: Update to release version of 2.0.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:08 PM Revision 4faef960 (git): * ext/socket/sockport.h (SA_LEN): removed because unused now.
(SS_LEN): ditto.
(SIN_LEN): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:01 PM Revision e4b77588 (git): * test/ruby/test_process.rb (test_setsid): Added a workaround for
MacOS X. Patch by nagachika. [Bug #7826] [ruby-core:52126]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
06:59 PM Feature #4840 (Feedback): Allow returning from require
yhara (Yutaka HARA)
04:59 PM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
I think the above patch is problematic.
Here is another possible patch:
~~~diff
diff --git a/io.c b/io.c.new
index a50d362..e393691 100644
--- a/io.c
+++ b/io.c.new
@@ -1326,6 +1326,7 @@ do_writeconv(VALUE str, rb_io_t *fptr)
...
phasis68 (Heesob Park)
10:17 AM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
phasis68 (Heesob Park) wrote:
> ~~~diff
> ...
Above patch will change newline from CRLF to LF. Is it good to change?
ruby 2.0.0dev (2013-02-14 trunk 39231) [i386-mingw32] with the patch.
~~~
$ miniruby.exe test65001.rb |od -t x1...
h.shirosaki (Hiroshi Shirosaki)
03:51 PM Revision ddddf044 (git): merge revision(s) 39232,39233,39238: [Backport #7831][Backport #7852]
* 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.
* lib/ne...
naruse (Yui NARUSE)
03:17 PM Revision 09faab67 (git): * 2013-02-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision 792cfa3f (git): * ext/socket/sockport.h (VALIDATE_SOCKLEN): new macro to validate
sa_len member of 4.4BSD socket address.
* ext/socket/getnameinfo.c (getnameinfo): use VALIDATE_SOCKLEN,
instead of SA_LEN.
* ext/socket/socket.c (sock_s_getnameinfo): use VALIDATE_SOCKLEN
instead of SS_LEN.
git-svn-id: svn+ssh:/...
akr (Akira Tanaka)
02:46 PM Revision 93c819aa (git): remove trailing spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:27 PM Revision 1cc445fb (git): * 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39...
akr (Akira Tanaka)
01:19 PM Bug #7815 (Closed): Backport: Warning about TracePoint events to 2.0.0
Resolved by r39237 zzak (zzak _)
01:08 PM Feature #7849 (Rejected): Symbol#to_str
You cannot gsub, enumerate characters in or alter encoding of a Symbol, so it is not a string representation. drbrain (Eric Hodel)
10:36 AM Feature #7849: Symbol#to_str
Symbols are not Strings. I'm afraid this would only serve to blur the line even more.
Rubyists need to stop using Symbols where they actually want a String, and vice versa.
Strong -1 from me.
Anonymous
10:14 AM Feature #7849: Symbol#to_str
> If, for your needs, you were to define to_st on String & on Symbol, you could have the utility you desire.
Yes, I thought about that. But concluded it was most likely unnecessary complexity when #to_str would work fine.
You say "...
trans (Thomas Sawyer)
09:49 AM Feature #7849: Symbol#to_str
Bad idea. to_str should only be defined on things that really are Strings, and Symbol are most definitely not Strings.
I agree that Symbol is unusually close to String. If, for your needs, you were to define to_st on String & on Sym...
Student (Nathan Zook)
04:46 AM Feature #7849 (Rejected): Symbol#to_str
Even though a Symbol is not technically an honest-to-goodness String, from the standpoint of simple practicality it would help to have Symbol#to_str defined.
There are times when we want an argument to accept a String or a Symbol, but...
trans (Thomas Sawyer)
11:53 AM Bug #7806: inconsistency between Method#inspect and Method#name
(13/02/14 10:38), ko1 (Koichi Sasada) wrote:
> Nobu, you add new method Method#original_name on r39223.
>
> Could you explain about it, why and what?

To obtain original method name, when the name is an alias.

> I make t...
nobu (Nobuyoshi Nakada)
10:38 AM Bug #7806 (Open): inconsistency between Method#inspect and Method#name
Nobu, you add new method Method#original_name on r39223.
Could you explain about it, why and what?
I make the target version of this ticket `next minor'.
If it should be applied to 2.0.0, please change it and make backport ticket.
ko1 (Koichi Sasada)
11:28 AM Revision 18a8046d (git): * ext/socket: always operate length of socket addess companion with
socket address.
* ext/socket/rubysocket.h (rsock_make_ipaddr): add an argument for
socket address length.
(rsock_ipaddr): ditto.
* ext/socket/ipsocket.c (ip_addr): pass length to rsock_ipaddr.
(ip_peeraddr): ditto.
(ip_s_getadd...
akr (Akira Tanaka)
09:53 AM Feature #7839: Symbol.freeze_symbols
On Thursday, 14 February 2013 at 11:30 AM, Aaron Patterson wrote:
> Yes, this is probably not thread safe, but if people *know* it's not
> thread safe, then they can lock:
>
> begin
> Symbol.lock
> Symbol.freeze_symbols
>...
Anonymous
09:53 AM Feature #7839: Symbol.freeze_symbols
On Wed, Feb 13, 2013 at 10:08:28AM +0900, Eric Wong wrote:
> "tenderlovemaking (Aaron Patterson)" <aaron@tenderlovemaking.com> wrote:
> > I'd like to be able to call a method like `Symbol.freeze_symbols`
> > which would essentiall...
Anonymous
09:53 AM Feature #7839: Symbol.freeze_symbols
On Wed, Feb 13, 2013 at 01:10:24PM +0900, shugo (Shugo Maeda) wrote:
>
> Issue #7839 has been updated by shugo (Shugo Maeda).
>
>
> > > If this is a main use case of Symbol.freeze_symbols, it might be better to have String...
Anonymous
09:53 AM Feature #7839: Symbol.freeze_symbols
On Wed, Feb 13, 2013 at 05:15:25PM +0900, alexeymuranov (Alexey Muranov) wrote:
>
> Issue #7839 has been updated by alexeymuranov (Alexey Muranov).
>
>
> Sorry about a naïve idea, but what would you say about prohibiting in...
Anonymous
09:00 AM Feature #7839: Symbol.freeze_symbols
+1 to prohibiting interning of tainted strings. Probably $SAFE >= 1, though. Currently, this is a problem for $SAFE <= 2.
Student (Nathan Zook)
08:23 AM Feature #7791: Let symbols be garbage collected
(2013/02/14 1:38), Evan Phoenix wrote:
> I have a worry about Koichi's approach. There are going to have to be
> places where (b) type Symbols are converted into (a) type Symbols. All
> those places will turn into DOS vectors. Thi...
ko1 (Koichi Sasada)
01:53 AM Feature #7791: Let symbols be garbage collected
I have a worry about Koichi's approach. There are going to have to be places where (b) type Symbols are converted into (a) type Symbols. All those places will turn into DOS vectors. This is because SYMBOL_P() will have to detect both ty... evanphx (Evan Phoenix)
07:31 AM Bug #7850: Gem::Dependency.new( Symbol ) is deprecated?
すいません、rubygems自体は別のコードベースなのですね。rubygemsのほうで調べる/報告してみます。
お騒がせいたしました・・・
konh (Makoto HARADA)
05:30 AM Bug #7850 (Third Party's Issue): Gem::Dependency.new( Symbol ) is deprecated?
Gem::Dependency.new の第一引数が Symbol だった場合、1.9だと問題ありませんが2.0だと例外が投げられます。
これは、想定された非互換でしょうか?
以下が再現コードです。
$ ruby2.0 -v -e 'Gem::Dependency.new(:hoge)'
ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-darwin12.2.0]
/***/2.0.0-rc2/lib/rub...
konh (Makoto HARADA)
07:13 AM Bug #7784 (Closed): [mingw] r39055 creates test failures and functionality loss
drbrain (Eric Hodel)
07:10 AM Bug #7838 (Closed): Backport r39213 to Ruby 2.0.0 which fixes intermittent test failures
Fixed by r39229 drbrain (Eric Hodel)
07:10 AM Bug #7809 (Closed): Backport RubyGems fixes in r39166 to ruby 2.0.0
Fixed by r39227 drbrain (Eric Hodel)
05:32 AM Revision 64db9dcb (git): * lib/net/http.rb: Removed OpenSSL dependency from Net::HTTP.
* test/net/http/test_http.rb: Remove Zlib dependency from tests.
* test/net/http/test_http_request.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
04:41 AM Feature #7848 (Assigned): Restore default state for core ruby objects
Hi.
Consider:
class String
def lala
puts 'Running lala() from class String.'
end
end
This is possible.
My question is - is there a reason why we can not restore
to the default ruby state again?
For i...
shevegen (Robert A. Heiler)
04:17 AM Revision aea2c7ca (git): * Backport r39168 Warning about TracePoint events to 2.0.0
[ruby-core:52073] [Bug #7815]
* vm_trace.c: note about TracePoint events set
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
03:33 AM Feature #7846: [ext/openssl] Disable TLS/SSL compression by default?
mame (Yusuke Endoh) wrote:
> Thank you for contacting me.
> ...
Thank you, I fully understand - I wasn't entirely sure about introducing it at this point either. Even if it looks unsuspicious, one never knows :)
> As you may be conc...
MartinBosslet (Martin Bosslet)
03:02 AM Feature #7846 (Assigned): [ext/openssl] Disable TLS/SSL compression by default?
Thank you for contacting me.
Sorry, but it is too late for 2.0.0. Marking the target to next minor.
I'm not against the idea itself; this is not a question of "if" but "when".
Changing the default configuration now looks to me da...
mame (Yusuke Endoh)
01:24 AM Feature #7846 (Closed): [ext/openssl] Disable TLS/SSL compression by default?
I'd like to disable TLS compression for all TLS connections by default using SSL_OP_NO_COMPRESSION
to effectively disable CRIME-like attacks [1].
The patch would be relatively easy to write, but I'm aware that I'm well beyond the dea...
MartinBosslet (Martin Bosslet)
03:06 AM Bug #7847 (Closed): gem release of io-console is broken on Windows
Nobu-san,
Lot of folks are having issues with latest io-console gem that got released:
https://github.com/nobu/io-console/issues/6
https://groups.google.com/d/topic/rubyinstaller/9qbj5HKN7w4/discussion
The code in the GitHub ...
luislavena (Luis Lavena)
02:08 AM Revision 632ab19c (git): class.c: cyclic prepend
* class.c (include_modules_at): detect cyclic prepend with original
method table. [ruby-core:52205] [Bug #7841]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:38 AM Revision bd255c46 (git): vm_method.c: fix method_removed
* vm_method.c: call method_removed hook on called class, not on
prepending iclass. [ruby-core:52207] [Bug #7843]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:30 AM Revision 01e43fb0 (git): vm_method.c: fix method_removed
* vm_method.c: call method_removed hook on called class, not on
prepending iclass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:09 AM Revision 8c5a6fb6 (git): * 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.
* lib/net/http/generic_request.rb: ditto.
* lib/net/http/response.rb: ditto
* test/net/http/test_htt...
drbrain (Eric Hodel)
01:08 AM Revision f58d3980 (git): * 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.
* lib/net/http/generic_request.rb: ditto.
* lib/net/http/response.rb: ditto
* test/net/http/test_htt...
drbrain (Eric Hodel)
12:48 AM Bug #7541: Can't use Ruby 2.0.0 as as BASERUBY
=begin
I was able to build ruby:
$ tool/make-snapshot tmp branches/ruby_2_0_0
using
ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-linux]
So this is probably resolved. Can anybody confirm?
=end
vo.x (Vit Ondruch)
12:27 AM Feature #7845 (Open): Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
Strip and associated methods in ruby 1.9.2 and 1.9.3 do not remove leading/trailing unicode space characters (such as non-breaking space \u00A0 and ideographic space \u3000) unlike ruby 1.9.1. I'd expect the 1.9.1 behavior. Looking at ... timothyg56 (Timothy Garnett)

02/13/2013

11:38 PM Bug #7844: include/prepend satisfiable module dependencies are not satisfied
matz (Yukihiro Matsumoto) wrote:
> I believe the behavior is undefined (or implementation defined) when module dependency has contradiction.
> ...
Thank you, I agree with the policy.
However, is there any 'contradiction' in this cas...
mame (Yusuke Endoh)
11:23 PM Bug #7844: include/prepend satisfiable module dependencies are not satisfied
I believe the behavior is undefined (or implementation defined) when module dependency has contradiction.
And preferably error should be raised when contradiction detected.
Matz.
matz (Yukihiro Matsumoto)
10:55 PM Bug #7844 (Closed): include/prepend satisfiable module dependencies are not satisfied
Hello,
~~~ruby
module P
def m; puts "P"; super; end
end
module Q
def m; puts "Q"; super; end
include P
end
module R
def m; puts "R"; super; end
prepend Q
end
module S
def m; puts "S"; super; end
include R
...
mame (Yusuke Endoh)
11:28 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
Hi,
ko1 (Koichi Sasada) wrote:
>
> ...
Ah, I finally understand now. Thank you for explaining! :-)
> I agree to add another interface to tell the stack range. But
> ...
Very well; that is reasonable. I agree with your decisio...
sunaku (Suraj Kurapati)
03:53 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
Hi,

(2013/02/13 14:49), sunaku (Suraj Kurapati) wrote:
> ko1 (Koichi Sasada) wrote:
>>> 1. Cannot bind Ruby to a pre-allocated stack address range.
>>
>> I'm not sure what you are saying.
>
> Changeset r38905 did not ...
ko1 (Koichi Sasada)
02:49 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
ko1 (Koichi Sasada) wrote:
> > 1. Cannot bind Ruby to a pre-allocated stack address range.
> ...
Changeset r38905 did not include my ruby_bind_stack() function.
Without that function (or something similar), I cannot tell Ruby 2.0.0...
sunaku (Suraj Kurapati)
08:45 AM Feature #2294 (Assigned): [PATCH] ruby_bind_stack() to embed Ruby in coroutine
> 1. Cannot bind Ruby to a pre-allocated stack address range.
I'm not sure what you are saying. `ucontext' version do `pre-allocation'.
> ...
I checked pthread and it okay...
I'll check again soon. Please wait.
> Sorry for t...
ko1 (Koichi Sasada)
07:28 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
Hello ko1,
Thanks for committing changeset r38905 into Ruby 2.0.0-rc2.
But, I am seeing the following problems with that changeset:
1. Cannot bind Ruby to a pre-allocated stack address range.
2. In my coroutine example, onl...
sunaku (Suraj Kurapati)
11:20 PM Revision d266423f (git): * 2013-02-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:20 PM Revision ed193c50 (git): * 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:53 PM Bug #7842 (Closed): An alias of a "prepend"ed method skips the original method when calling super
Hello,
~~~ruby
module P
def m; puts "P"; super; end
end
class A
def m; puts "A"; end
end
class B < A
def m; puts "B"; end
prepend P
alias m2 m
end
B.new.m2
#=> expected: P, B, A
...
mame (Yusuke Endoh)
10:19 PM Bug #7840 (Closed): -Wdeclaration-after-statement is valid for C/ObjC but not for C++
because of the new flags in warnflags i get this following errors:
cc1plus: warning: command line option '-Wdeclaration-after-statement' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '...
Hanmac (Hans Mackowiak)
10:07 PM Revision e256dca8 (git): * Backport r39213 from trunk [ruby-trunk - Bug #7383]
* 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.
git-svn-id: svn+ssh://ci.ruby-lang....
drbrain (Eric Hodel)
10:02 PM Revision 9476346e (git): * 2013-02-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:02 PM Revision ceff56c7 (git): * Backport part of r39166 from trunk [ruby-trunk - Bug #7809]
* lib/rubygems/package.rb: Include checksums.yaml.gz signatures for
verification.
* test/rubygems/test_gem_package.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39227 b2dd03c8-39d4-4d8f-98f...
drbrain (Eric Hodel)
07:28 PM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
Usa-san, thank you for the information!
Luis, could you please commit it to both trunk and ruby_2_0_0 branch?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
04:30 PM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
Sorry for late reply, luis.
Please commit it to trunk.
mame-san, this is reproducible SEGV bug.
So I think we need to backport it into ruby_2_0_0 (and ruby_1_9_3).
usa (Usaku NAKAMURA)
06:53 PM Bug #7820: Let's decide Ruby 2.0 supported platform list
Hello,

In message "[ruby-core:52116] [ruby-trunk - Bug #7820] Let&#x27;s decide Ruby 2.0 supported platform list"
on Feb.11,2013 03:09:46, <redmine@ruby-lang.org> wrote:
> Luis, are you saying the listing should look like t...
usa (Usaku NAKAMURA)
06:46 PM Bug #7833 (Assigned): DRb has problems with BasicObject
usa (Usaku NAKAMURA)
06:38 PM Feature #7836 (Closed): Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
This issue was solved with changeset r39224.
john, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
proc.c: skip prepends
* proc.c (mnew): skip prepending modules a...
nobu (Nobuyoshi Nakada)
06:32 PM Feature #7836: Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
It's a bug. nobu (Nobuyoshi Nakada)
02:40 AM Feature #7836 (Closed): Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
See the following code:
~~~ruby
module P
def hello
puts "from P"
super
end
end
class A
def hello
puts 'from A'
end
prepend P
end
A.instance_method(:hello).source_location == P.instance_method(:...
banister (john mair)
06:28 PM Bug #7822 (Assigned): Dir.mkdir can't handle long Windows Unicode paths (\\?\UNC\)
usa (Usaku NAKAMURA)
06:28 PM Bug #7821 (Assigned): FileUtils.mkdir_p fails on Windows Unicode paths (\\?\UNC\) if dir already exists
usa (Usaku NAKAMURA)
06:18 PM Bug #7838 (Assigned): Backport r39213 to Ruby 2.0.0 which fixes intermittent test failures
Eric,
I don't know the issue at all, but I believe you. Please go ahead.
(I'm happy if you provided the ticket # of the issue if any)
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
06:09 AM Bug #7838 (Closed): Backport r39213 to Ruby 2.0.0 which fixes intermittent test failures
r39213 sets the encoding of strings returned by Gem.gzip and Gem.gunzip to BINARY.
This fixes intermittent test failures on ruby 2.0.0.
I believe this could cause failures in real code too.
drbrain (Eric Hodel)
06:10 PM Bug #7806 (Closed): inconsistency between Method#inspect and Method#name
This issue was solved with changeset r39222.
Hans, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
proc.c: show the given name
* proc.c (method_inspect): show the ...
nobu (Nobuyoshi Nakada)
05:59 PM Feature #6111: Request for making ruby multiarchable

it seems to be broken:
make[2]: Entering directory `/home/hanmac/Downloads/ruby/ext/mathn/complex'
linking shared-object mathn/complex.so
gcc: error: complex.o: No such file or directory
make[2]: *** [../../../.ext/x86_64-linux...
Hanmac (Hans Mackowiak)
05:38 PM Bug #7774 (Assigned): IFUNC上のbinding呼び出しでSEGV
ko1 (Koichi Sasada)
05:14 PM Feature #7839: Symbol.freeze_symbols
Sorry about a naïve idea, but what would you say about prohibiting interning tainted strings instead? alexeymuranov (Alexey Muranov)
02:15 PM Feature #7839: Symbol.freeze_symbols
Creating global state has global implications. Yes, there are threading implications. Yes, there are issues with called libraries. But what really annoys me is yet again some software providers (again from the Rails team) that thinks ... Student (Nathan Zook)
01:10 PM Feature #7839: Symbol.freeze_symbols
> > If this is a main use case of Symbol.freeze_symbols, it might be better to have String#intern's option to control whether a symbol creation is allowed and to make YAML.safe_load to use it.
(snip)
> ...
Hmm.... I'm worried that the...
shugo (Shugo Maeda)
12:23 PM Feature #7839: Symbol.freeze_symbols
On Wed, Feb 13, 2013 at 11:16:31AM +0900, shugo (Shugo Maeda) wrote:
>
> Issue #7839 has been updated by shugo (Shugo Maeda).
>
>
> phluid61 (Matthew Kerwin) wrote:
> > Also, would you expect to be able to thaw it out aga...
Anonymous
11:16 AM Feature #7839: Symbol.freeze_symbols
phluid61 (Matthew Kerwin) wrote:
> Also, would you expect to be able to thaw it out again? It might be enough in the short term to, e.g.
> ...
If this is a main use case of Symbol.freeze_symbols, it might be better to have String#inte...
shugo (Shugo Maeda)
10:39 AM Feature #7839: Symbol.freeze_symbols
normalperson (Eric Wong) wrote:
> "tenderlovemaking (Aaron Patterson)" <aaron@tenderlovemaking.com> wrote:
> ...
Also, would you expect to be able to thaw it out again? It might be enough in the short term to, e.g.
begin
S...
phluid61 (Matthew Kerwin)
10:25 AM Feature #7839: Symbol.freeze_symbols
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> yeah, but if Rails calls Symbol.freeze_symbols it could break all Rails applications relying on YAML#load as an unmarshall method. Are you suggesting that Rails shouldn't care about breaking ...
phluid61 (Matthew Kerwin)
10:23 AM Feature #7839: Symbol.freeze_symbols
"tenderlovemaking (Aaron Patterson)" <aaron@tenderlovemaking.com> wrote:
> I'd like to be able to call a method like `Symbol.freeze_symbols`
> which would essentially freeze the symbol hash, such that if any new
> symbols are crea...
normalperson (Eric Wong)
09:55 AM Feature #7839: Symbol.freeze_symbols
yeah, but if Rails calls Symbol.freeze_symbols it could break all Rails applications relying on YAML#load as an unmarshall method. Are you suggesting that Rails shouldn't care about breaking existing Rails apps but that Ruby should care ... rosenfeld (Rodrigo Rosenfeld Rosas)
09:36 AM Feature #7839: Symbol.freeze_symbols
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Could you please explain better why do you think it is ok to freeze symbols in Rails and break existing apps but it is not ok to make YAML#load safe (preferring a new safe_load method instead...
phluid61 (Matthew Kerwin)
08:56 AM Feature #7839: Symbol.freeze_symbols
I really believe that letting the symbols to be garbage collected (#7791) is the way to go here.
You have mentioned that changing YAML#load to be safe by default would break existing apps and now you suggest that it would be safe to f...
rosenfeld (Rodrigo Rosenfeld Rosas)
06:37 AM Feature #7839 (Rejected): Symbol.freeze_symbols
Hi,
On team Rails, we're having troubles with Symbol creation DoS attacks. From our perspective, there should be a point in the application where symbols should stabilize, meaning we don't expect the number of symbols to increase whi...
tenderlovemaking (Aaron Patterson)
04:00 PM Feature #4614 (Closed): [RFC/PATCH] thread_pthread.c: lower RUBY_STACK_MIN_LIMIT to 64K
Sorry I missed your comment.
And the `if false' sentences may be removed.
ko1 (Koichi Sasada)
03:58 PM Feature #7473 (Closed): new events for TracePoint thread_begin/end, b_call/b_end
No feedback and it is already in rc2.
ko1 (Koichi Sasada)
03:57 PM Bug #7416 (Closed): test-all crashes with mysterious message
No feedback. ko1 (Koichi Sasada)
03:57 PM Bug #7212 (Closed): "stack level too deep" in Fiber much earlier in new versions of 1.9.3
No feedback. ko1 (Koichi Sasada)
03:55 PM Bug #7356: ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
放っておいてすみません。
もうちょっと見ないとわからんですねぇ。
というわけで、次のバージョンで頑張りましょう。
ko1 (Koichi Sasada)
02:41 PM Revision eb4ae6bc (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:39 PM Bug #7837 (Rejected): IO.open with three arguments where third argument is bogus reports an arity problem instead of type problem
=begin
It's common behavior to keyword arguments,
$ ruby -e 'def foo(a, b, c:1);end' -e 'foo(2,3,42)'
-e:1:in `foo': wrong number of arguments (3 for 2) (ArgumentError)
from -e:2:in `<main>'
The optional argument hash is strippe...
nobu (Nobuyoshi Nakada)
05:14 AM Bug #7837: IO.open with three arguments where third argument is bogus reports an arity problem instead of type problem
=begin
Since Ruby 1.9.3p374 has the same behavior I have marked this for next minor:
$ ruby19 -ve 'f = File.open("tmp"); IO.open(f.fileno, "r", :heh)'
ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.2.1]
-e:1:in `...
drbrain (Eric Hodel)
03:44 AM Bug #7837 (Rejected): IO.open with three arguments where third argument is bogus reports an arity problem instead of type problem
I am reporting this against 2.0.rc2 but it also applies to mri 1.9.3. If I run the following one-liner:
mri20 -e 'f = File.open("tmp"); IO.open(f.fileno, "r", :heh)'
I get the error:
-e:1:in `initialize': wrong number of argume...
enebo (Thomas Enebo)
12:01 PM Revision 22a04e57 (git): * ext/socket/extconf.rb: don't define socklen_t here, just test.
* ext/socket/rubysocket.h: define socklen_t if not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:38 AM Revision 4b751452 (git): proc.c: skip prepends
* proc.c (mnew): skip prepending modules and return the method bound
on the given class. [ruby-core:52160] [Bug #7836]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:12 AM Revision aae1d28b (git): proc.c: original_name
* proc.c (method_original_name): new methods Method#original_name and
UnboundMethod#original_name. [ruby-core:52048] [Bug #7806]
[EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39223 b2dd03c8-39d4-4d8f-98ff-823fe69...
nobu (Nobuyoshi Nakada)
09:10 AM Revision d40ef8a8 (git): proc.c: show the given name
* proc.c (method_inspect): show the given name primarily, and
original_id if aliased. [ruby-core:52048] [Bug #7806]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:56 AM Revision 4e5d0cee (git): configure.in: no Werror
* configure.in (warnflags): disable -Werror by default unless
development. [ruby-core:52131] [Bug #7830]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:51 AM Revision 391d6911 (git): io.c: FOREACH_ARGF
* io.c (FOREACH_ARGF): loop for ARGF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:51 AM Revision dfd0cbec (git): io.c: simplify
* io.c (rb_io_getline_fast, rb_io_each_{byte,codepoint}): simplify
loops.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:18 AM Revision e9e9ec43 (git): * ext/json: Import JSON 1.5.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:35 AM Revision 0b0316f3 (git): merge revision(s) 39210:
Suppress warnings: setting Encoding.default_external
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:35 AM Revision 4f05e726 (git): merge revision(s) 39209:
Get libc's path by ldd [Bug #7828] [ruby-core:52129]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:34 AM Revision b7b9aa66 (git): merge revision(s) 39208:
* 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/...
naruse (Yui NARUSE)
02:59 AM Bug #7829: Rounding error in Ruby Time
On Feb 12, 2013, at 12:51 AM, loirotte (Philippe Dosch) wrote:

> Improve the documentation makes sense, but is there really a good reason to floor this value instead of rounding it? I'm searching for examples where floor could be int...
david_macmahon (David MacMahon)
01:34 AM Revision 9f2e85a3 (git): configure.in: Werror-implicit-function-declaration
* configure.in (warnflags): -Werror-implicit-function-declaration
haven't been used as-is, but always replaced with -Werror= or -W.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/12/2013

10:38 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
+1 for removing autoload. It not only has troubles with thread safety, which I believe is fixable (although I confess I haven't thought much about it).
There is a more serious issue in my opinion that is unfixable with current specs.
...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:37 PM Feature #7835: autoload will be dead
Thanks, Yusuke! I tried to search it on Redmine but I couldn't easily find it nor I could filter for issues created by matz, for instance... rosenfeld (Rodrigo Rosenfeld Rosas)
10:32 PM Feature #7835 (Rejected): autoload will be dead
Matz created #5653 by himself. Please reply into that ticket :-)
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
10:26 PM Feature #7835: autoload will be dead
+1 for removing autoload. It not only has troubles with thread safety, which I believe is fixable (although I confess I haven't thought much about it).
There is a more serious issue in my opinion that is unfixable with current specs.
...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:26 PM Feature #7835 (Rejected): autoload will be dead
A while ago matz declared his intention to remove the autoload feature from the Ruby language. It was sent to the ruby-core mailing list but no ticket has been created for it.
I'm creating the ticket now so that we could discuss the i...
rosenfeld (Rodrigo Rosenfeld Rosas)
09:06 PM Revision 7266d24a (git): * 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
08:51 PM Revision d1691db9 (git): * 2013-02-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:51 PM Revision d7923c82 (git): * ext/socket/extconf.rb: test functions just after struct members.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:48 PM Bug #7833 (Closed): DRb has problems with BasicObject
I realized some problems with DRb and BasicObject
1) I cannot create front object of BasicObject class because DRb tries to call private_methods class
2) Call to DRb can't return instance of BasicObject class, instead it hangs.
#...
prijutme4ty (Ilya Vorontsov)
05:58 PM Bug #7829: Rounding error in Ruby Time
akr (Akira Tanaka) wrote:
> 2. Time.strftime("%L") doesn't round, but floor.
> ...
Understood, except for your sentence "rounding is not appropriate here". The example clearly shows the opposite! Just surprised that floor is used inste...
loirotte (Philippe Dosch)
05:51 PM Bug #7829: Rounding error in Ruby Time
drbrain (Eric Hodel) wrote:
> Seems like %L uses floor, not rounding should be documented so I'll switch this to a DOC ticket.
Improve the documentation makes sense, but is there really a good reason to floor this value instead of ro...
loirotte (Philippe Dosch)
10:48 AM Bug #7829: Rounding error in Ruby Time
Seems like %L uses floor, not rounding should be documented so I'll switch this to a DOC ticket. drbrain (Eric Hodel)
09:53 AM Bug #7829: Rounding error in Ruby Time
2013/2/12 loirotte (Philippe Dosch) <loirotte@gmail.com>:

> Bug #7829: Rounding error in Ruby Time
> https://bugs.ruby-lang.org/issues/7829

> Even if I know the precision errors related to the implementation of IEEE 754 floa...
akr (Akira Tanaka)
05:52 AM Bug #7829 (Closed): Rounding error in Ruby Time
Even if I know the precision errors related to the implementation of IEEE 754 floating values, I'm very surprised of:
irb(main):001:0> Time.utc(1970,1,1,0,0,12.860).strftime("%H:%M:%S,%L")
=> "00:00:12,859"
The fact is that I obta...
loirotte (Philippe Dosch)
12:18 PM Bug #7828 (Closed): invalid glibcver in test_m17n_comb.rb:test_str_crypt fails 2.17 system
This issue was solved with changeset r39209.
Jon, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Get libc's path by ldd [Bug #7828] [ruby-core:52129]
naruse (Yui NARUSE)
04:31 AM Bug #7828 (Closed): invalid glibcver in test_m17n_comb.rb:test_str_crypt fails 2.17 system
On my Arch 3.7.6 32bit system with a 2.17 libc, the following line in `test_m17n_comb.rb:test_str_crypt` causes the test to fail
glibcver = `#{RbConfig::CONFIG["libdir"]}/libc.so.6`[/\AGNU C Library.*version ([0-9.]+)/, 1].split('.'...
jonforums (Jon Forums)
11:19 AM Bug #5811 (Closed): Ruby Process Deadlocks With Fork on Mac OS X Lion
OK. then I will close this ticket.
Please reopen this if anyone hit the same issue on 2.0 or trunk.
kosaki (Motohiro KOSAKI)
09:50 AM Bug #7827 (Rejected): Allow users to yield a block in string format
Adding it as a standard feature requires Ruby to hold source information, that leads to memory consumption.
You might be interested in ruby2ruby for the purpose.
Matz.
matz (Yukihiro Matsumoto)
02:47 AM Bug #7827 (Rejected): Allow users to yield a block in string format
Hi.
Not long ago I realized that you can use "invalid" syntax inside a ruby block.
For instance:
def foo; end
foo() { ABC } # ABC is not known.
This works, until you yield that.
And if you yield it, that would fail, unl...
shevegen (Robert A. Heiler)
09:23 AM Feature #7792: Make symbols and strings the same thing
On Feb 8, 2013, at 4:50 PM, Eric Hodel wrote:

> On Feb 7, 2013, at 17:37, David MacMahon <davidm@astro.berkeley.edu> wrote:
>> Just to play Devil's advocate, could that not be separated into two different hashes: one for config opti...
david_macmahon (David MacMahon)
03:22 AM Revision caa0e40f (git): Suppress warnings: setting Encoding.default_external
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:18 AM Revision edacc7d2 (git): Get libc's path by ldd [Bug #7828] [ruby-core:52129]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:05 AM Revision 062d2ee6 (git): * 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
git-svn-id: svn+ssh://ci.ruby-la...
naruse (Yui NARUSE)

02/11/2013

10:23 PM Bug #7823: sitelibへのsoのコピー (2.0.0)
artonです。

trunk(r39202)で試してみました。
以下のように、i386-msvcr100がsitearchdirとなり、(当然ですが一応試した)
setup.rbでインストールしたsoがrequireできることを確認しました。

どうもありがとうございます。

----
2.0.0/i386-mswin32_100/2013-02-11

RbConfig::CONFIG
sitearchdir=/li...
arton (Akio Tajima)
10:17 PM Bug #7823: sitelibへのsoのコピー (2.0.0)
arton さん、確認ありがとうございます。
なかださん、ruby_2_0_0 にバックポートしてくださいますでしょうか。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
03:23 PM Bug #7823: sitelibへのsoのコピー (2.0.0)
arton さん、
r39201 と r39202 で望みの挙動になっているか一応確認してもらえませんでしょうか。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:20 PM Bug #7823 (Assigned): sitelibへのsoのコピー (2.0.0)
nobu (Nobuyoshi Nakada)
01:15 PM Bug #7823 (Closed): sitelibへのsoのコピー (2.0.0)
This issue was solved with changeset r39201.
Akio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Makefile.sub: sitearch
* win32/Makefile.sub (config.status): sit...
nobu (Nobuyoshi Nakada)
07:53 PM Bug #7807: [PATCH] Remove duplicated load paths when empty version string is configured
Note that in 1.8.7 days, there was used also different, more generic approach [1] to remove duplicated load paths. However I don't think it is better solution.
[1] http://pkgs.fedoraproject.org/cgit/ruby.git/tree/ruby-1.8.7-p352-pat...
vo.x (Vit Ondruch)
08:07 AM Bug #7807 (Open): [PATCH] Remove duplicated load paths when empty version string is configured
Could you please explain? Why r39171 instead of applying my patch? Why there should be version in the path? Actually it is not Ruby version but Ruby ABI version, so it will not help you to install Ruby 1.9.1, 1.9.2 and 1.9.3 side by side... vo.x (Vit Ondruch)
04:40 PM Revision f1194eb9 (git): * 2013-02-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:40 PM Revision 17df7363 (git): add ML ref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:26 PM Revision cbacc5d5 (git): * configure.in: enable rb_cv_page_size_log test for MirOS BSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:07 AM Revision c586d820 (git): * configure.in: use -pthread on mirbsd*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:43 AM Bug #7781: Ruby fails make test on Cygwin for test_io.rb.
I found a solution to the stack error: http://stackoverflow.com/a/14790573/148844
starrychloe (Chloe S)
07:08 AM Revision a378fa0d (git): * configure.in: add SOLIBS and LIBRUBY_SO definition for mirbsd*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:53 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
"mame (Yusuke Endoh)" <mame@tsg.ne.jp> wrote:
> * maintained
> * CentOS5 (Eric Wong)

Sorry I can't guarantee much support for CentOS5 anymore.
I'm mainly using Debian 6/7 and CentOS6 nowadays.
Fortunately, the platforms a...
normalperson (Eric Wong)
06:23 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
Dne 10.2.2013 21:50, Luis Lavena napsal(a):
> On Sun, Feb 10, 2013 at 4:19 PM, Vít Ondruch <v.ondruch@gmail.com> wrote:
>> Dne 10.2.2013 13:01, mame (Yusuke Endoh) napsal(a):
>>
>> Speaking of Fedora, we would be happy to have R...
Anonymous
05:53 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
On Sun, Feb 10, 2013 at 4:19 PM, Vít Ondruch <v.ondruch@gmail.com> wrote:
> Dne 10.2.2013 13:01, mame (Yusuke Endoh) napsal(a):
>
> Speaking of Fedora, we would be happy to have Ruby SIG [1] listed on Ruby's
> supported platform lis...
luislavena (Luis Lavena)
04:23 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
Dne 10.2.2013 13:01, mame (Yusuke Endoh) napsal(a):
> > * 3rd Party: best-effort support by members of the ruby community (e.g. - https://fedoraproject.org/wiki/Ruby_SIG)
> >
> > Note that the 3rd Party tier is an opportun...
Anonymous
03:09 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
> Actually:
> ...
Luis, are you saying the listing should look like this?
* Windows 7 32/64bit using mingw/mingw-w64 toolchain (nobu, shirosaki, lavena)

Is the idea to list
(a) a single committer who's ultimately responsi...
jonforums (Jon Forums)
01:42 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
Actually:
* mingw (nobu)
Is more nobu, h.shirosaki and myself (luislavena) who care about Ruby be stable and compatible with MinGW/mingw-w64 projects.
luislavena (Luis Lavena)
12:21 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
> I've created a draft page of the supported list:
> ...
Suggested mods given ci.rubyinstaller.org currently has only win7 build slave(s):
Tier 1
- * mingw (nobu)
- * Windows 7/8 32/64bit (nobu)
+ * Windows 7 32/64bit using ...
jonforums (Jon Forums)
04:50 AM Bug #7824 (Closed): [PATCH] Fix FileUtils.rmdir :parents option
This patch also applies cleanly against ruby_1_9_3 and ruby_1_9_2. iosctr (Brian Burns)
04:17 AM Revision 0d467210 (git): configure.in: sitearch
* configure.in (rubysitearchprefix): sitearchdir and vendorarchdir
should use sitearch, not arch. [ruby-dev:46964] [Bug #7823]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:15 AM Revision 507477af (git): Makefile.sub: sitearch
* win32/Makefile.sub (config.status): site and vendor directories
should use sitearch, not arch. [ruby-dev:46964] [Bug #7823]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:33 AM Revision f882c4c5 (git): * configure.in: move OS specific header/function knowledge before
automatic header tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:30 AM Bug #7817: (Unable to compile Ruby 2.0.0-rc2 on OSX (clang version 2.1)
I believe I did compile rc1 successfully but I can't reproduce since I have updated clang, chances are it probably doesn't compile properly, though.
I understand using an older version of clang would be an issue and that's fine, but w...
injekt (Lee Jarvis)
02:06 AM Revision 798e32a1 (git): * 2013-02-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:06 AM Revision 0a8fc937 (git): * configure.in: move the test for -march=i486 just after
RUBY_UNIVERSAL_ARCH/RUBY_DEFAULT_ARCH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
 

Also available in: Atom