Project

General

Profile

Activity

From 02/13/2013 to 02/19/2013

02/19/2013

11:57 PM Revision 71fc3463 (git): * 2013-02-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:57 PM Revision 0558cc52 (git): Merge revision 39292:
* 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.r...
drbrain (Eric Hodel)
11:51 PM Feature #7882 (Assigned): Allow rescue/else/ensure in do..end
I have suggested the same proposal (in Japanese [ruby-dev:31393]).
Matz said in [ruby-dev:31423] that it is not clear (to him) whether:
```ruby
loop do
:
rescue
:
ensure
:
end
```
should behave like:
```ruby
begi...
mame (Yusuke Endoh)
10:54 PM Feature #7882: Allow rescue/else/ensure in do..end
I don't find it that odd, Nobu, although I think most developers would tend to use do-end anyway as we usually do in Ruby when the block span multiple lines.
I like the idea very much actually.
rosenfeld (Rodrigo Rosenfeld Rosas)
10:48 PM Feature #7882: Allow rescue/else/ensure in do..end
I remember I've seen the same proposal.
What do you think about {} block?
```ruby
foo {
...
rescue
...
}
```
seems odd to me a little.
Or improve `do`...`end` only?
nobu (Nobuyoshi Nakada)
03:00 PM Feature #7882 (Closed): Allow rescue/else/ensure in do..end
The keywords `rescue`, `else` and `ensure` can be used when defining methods like so:
```ruby
def foo
#
rescue
#
else
#
ensure
#
end
```
However when using a block delimited by do..end, you must use `begin`..`end`...
Anonymous
11:23 PM Feature #7883: Add Regex#to_proc
> ~~~ruby
> ...
A more general case:
~~~ruby
class Object
def to_proc
lambda { |other| self === other }
end
end
~~~
(Not that I think this is going to be accepted…)
judofyr (Magnus Holm)
11:06 PM Feature #7883: Add Regex#to_proc
Cool idea. +1 prijutme4ty (Ilya Vorontsov)
08:47 PM Feature #7883: Add Regex#to_proc
nobu (Nobuyoshi Nakada) wrote:
> You can use `/\Ab/.method(:=~)`.
Yes, but that's not the point. In that case I'd prefer the real block as Charlie suggested.
rklemme (Robert Klemme)
07:53 PM Feature #7883: Add Regex#to_proc
On 19/02/2013 07:58, rklemme (Robert Klemme) wrote:
>
> ...
Lovely. Definite +1 from me (for whatever that's worth).
--
Alex
regularfry (Alex Young)
07:41 PM Feature #7883: Add Regex#to_proc
> You can use `/\Ab/.method(:=~)`.
This is more typing than just using '`{ |x| x =~ /\Ab/ }`'.
I like this idea, it's something I have to do quite often.
I've also wanted a 'grep_v' method before, but reject with `Regexp#to_proc...
Anonymous
07:24 PM Feature #7883: Add Regex#to_proc
You can use `/\Ab/.method(:=~)`. nobu (Nobuyoshi Nakada)
04:58 PM Feature #7883 (Assigned): Add Regex#to_proc
Just a small addition to the standard library:
~~~ruby
class Regexp
def to_proc; lambda {|s| self =~ s} end
end
~~~
With that one can use a `Regexp` everywhere a `Proc` is used as filtering criteria saving a bit of typing. W...
rklemme (Robert Klemme)
11:19 PM Bug #7874: multiarch support enhancements
As for the second patch, I guess it would be:
AC_SUBST(ENABLE_MULTIARCH, ${multiarch:-no})
Note the colon.
nobu (Nobuyoshi Nakada)
10:55 PM Bug #7874: multiarch support enhancements
The arch name is taken from --target option, not --host. nobu (Nobuyoshi Nakada)
03:35 AM Bug #7874: multiarch support enhancements
mame (Yusuke Endoh) wrote:
> Hello Antoino,
> ...
I tried --host= but it does not have any effect on the paths used in the installation. In this case we really need to use the standard architecture name for $arch.
> And please attac...
terceiro (Antonio Terceiro)
01:35 AM Bug #7874: multiarch support enhancements
Hello Antoino,
Doesn't Vit's comment help you?
And please attach the patch for "another issue" into the ticket #7867.
Thanks!
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
11:07 PM Bug #7884 (Rejected): Tkで,コマンドにforkを入れると,イベント実行時にクラッシュする
題名の通りです.
MacPortsからインストールした
1.9.3-p327+mactk
1.9.3-p385+mactk
で同じ症状でした.
以下,ソースです.forkブロック中の,p 'forked process'は表示されます.ウィンドウ終了しませんでした.
require 'tk'
tkroot = TkRoot.new
content = Tk::Tile::Frame.new( tkroot ).grid
Tk::Tile::...
hirura (Hiroyuki URANISHI)
10:51 PM Revision cd8ef79d (git): * lib/rubygems/installer.rb: Use gsub instead of gsub! to avoid
altering @bin_dir. Fixes tests on windows. [ruby-trunk - Bug #7885]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:17 PM Bug #7860: Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
The former 4 commits are needed, and the last is fix of commit miss in Changelog.
And, I've backported them for [Bug #7871].
Please revert it if wrong.
nobu (Nobuyoshi Nakada)
09:29 PM Bug #7860: Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
Too many! Are they all essential?
Could you please show me one minimum and clean patch?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:26 PM Bug #7860: Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
Sorry, patches for tool/mkconfig.rb are not necessary as long as libdir is under exec_prefix.
And the case libdir is outside exec_prefix is not supported in trunk.
TMP_RUBY_PREFIX would be needed to fix it.
nobu (Nobuyoshi Nakada)
01:13 PM Bug #7860: Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
And r39284,r39297. nobu (Nobuyoshi Nakada)
01:03 PM Bug #7860 (Assigned): Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
I think this will be necessary for 2.0.0.
revisions are r39267,39273,39294,39298,39313.
nobu (Nobuyoshi Nakada)
09:20 PM Bug #7878: E::Lazy#grep ignores ^C
ko1 (Koichi Sasada) wrote:
> なぜ私が、と思ったんですが、遠藤さんいい読みですね。
RUBY_VM_CHECK_INTS なんだから笹田さんでしょう。
ko1 (Koichi Sasada) wrote:
> ...
RUBY_VM_CHECK_INTS したらまずいところで RUBY_VM_CHECK_INTS してしまう副作用がないかが大変気になる(具体的に心当たりがあるわけではない)のですが、大丈夫ですかね? 自信が...
mame (Yusuke Endoh)
08:54 AM Bug #7878 (Assigned): E::Lazy#grep ignores ^C
r39308 で取り急ぎ対応しました。
mameさん
backport してもいいでしょうか。
ko1 (Koichi Sasada)
08:53 AM Bug #7878 (Closed): E::Lazy#grep ignores ^C
This issue was solved with changeset r39308.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_eval.c (vm_call0_body): check interrupts after method di...
ko1 (Koichi Sasada)
08:22 AM Bug #7878: E::Lazy#grep ignores ^C
なぜ私が、と思ったんですが、遠藤さんいい読みですね。
これは、
c_method_foo(){
while(1){ rb_funcall(c_method_bar); }
}
のように、foo, bar が両方とも C メソッドで、foo が bar を無限に呼ぶ、という段階で CHECK_INTS が入る余地がありませんでした。これは、ちょっと不味いバグなので直します。ううん、このタイミングでこれか。
ko1 (Koichi Sasada)
01:40 AM Bug #7878 (Assigned): E::Lazy#grep ignores ^C
mame (Yusuke Endoh)
08:43 PM Bug #7877: E::Lazy#with_index should be lazy
OK, so @marcandre is interested in. I re-wrote the description in English. shyouhei (Shyouhei Urabe)
04:16 PM Bug #7877: E::Lazy#with_index should be lazy
See #7696 on how to handle state... marcandre (Marc-Andre Lafortune)
08:41 PM Bug #7699: rubyspec failed: BigDecimal#divmod Can be reversed with * and +
I think I cannot fix this until the deadline... mrkn (Kenta Murata)
01:15 AM Bug #7699: rubyspec failed: BigDecimal#divmod Can be reversed with * and +
mrkn, can you fix this issue?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
04:19 PM Revision b6cdc439 (git): * 2013-02-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:19 PM Revision 92abfcca (git): * array.c: Fix typo in class documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
02:55 PM Bug #7774 (Closed): IFUNC上のbinding呼び出しでSEGV
ko1 (Koichi Sasada)
02:54 PM Bug #7774: IFUNC上のbinding呼び出しでSEGV
r39305 で backport しました。
が、redmine のほうには backport issue にしていないから
自動的に close されてないんかな。
ko1 (Koichi Sasada)
01:14 PM Bug #6502 (Closed): include Syslog
This issue was solved with changeset r39316.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Remove Syslog#inspect and have only Syslog.inspect.
* ext/sysl...
knu (Akinori MUSHA)
11:50 AM Revision c42cf83f (git): * ext/bigdecimal/bigdecimal.gemspec: bump to 1.2.0.
[ruby-core:51777] [Bug #7761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
11:39 AM Bug #7879 (Rejected): File.readable? fails when ruby runs as root
When run as root, access(2) ignore permission and always return success. That's UNIX filesystem semantics.
In the other words, this is completely your script bug.
You need specific concern when opening /proc, /sys and similar pseudo ...
kosaki (Motohiro KOSAKI)
02:44 AM Bug #7879 (Rejected): File.readable? fails when ruby runs as root
I have the following script to find sysfs (linux) files which are readable but throw an exception when read:
Dir.glob("/sys/**/*").each do |file|
next if File.directory?(file)
if File.world_writable?(file)
...
balbi (Feliple Balbi)
11:37 AM Bug #7881 (Closed): Windows でパスに日本語を含むスクリプトからの require が失敗する
=begin
Windows でパスに日本語を含むスクリプトからの require が失敗します。
Ruby 1.9.3 の p374,p385 でこの現象が起こりますが,p125 では起こりません。
p286 あたりから起こるようになったと思います。
【再現手順】
(1) d:/テスト というフォルダーを作る。
(2) d:/テスト/a.rb を下記のように書く。
(3) d:/テスト/b.rb を下記のように書く。
(4) cd /テスト
...
5.5 (5 5)
11:04 AM Bug #7172 (Closed): [[Ruby 1.9:]] fix rbconfig for --enable-load-relative (v2)
Try --with-opt-dir='${prefix}'.
r39176 is needed for `make reconfig' to work, though.
nobu (Nobuyoshi Nakada)
12:07 AM Bug #7172: [[Ruby 1.9:]] fix rbconfig for --enable-load-relative (v2)
Sorry but I don't understand both the issue and the status at all.
Any action needed for 2.0.0-p0?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
08:15 AM Bug #7779 (Closed): embedded rubygems 2.0.0.rc.2 mangles --user-install
This issue was solved with changeset r39307.
Jon, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems/installer.rb: Fixed placement of executables with
...
drbrain (Eric Hodel)
03:24 AM Bug #7779: embedded rubygems 2.0.0.rc.2 mangles --user-install
haven't made it past looking at defaults...
jon@ubusvr:~/downloads$ ruby -ve '%w(bindir default_bindir user_dir).each {|i| p "#{i} -> #{Gem.send(i)}"}'
ruby 2.0.0dev (2013-02-18 trunk 39300) [i686-linux]
"bindir -> /usr/local/...
jonforums (Jon Forums)
01:51 AM Bug #7779 (Assigned): embedded rubygems 2.0.0.rc.2 mangles --user-install
drbrain, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
06:50 AM Revision 855f9720 (git): merge revision(s) 39267,39273,39294,39298,39313:
* 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]
* configure.in (shvar_to_cpp): ...
nobu (Nobuyoshi Nakada)
06:15 AM Bug #7584: Ruby hangs when shutting down an ssl connection in gc finalization
For what it's worth, we were able to work around this by explicitly shutting down ssl connections instead of letting it happen during GC. bpot (Bob Potter)
12:58 AM Bug #7584: Ruby hangs when shutting down an ssl connection in gc finalization
I'm not sure how significant this is.
Martin, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
06:15 AM Bug #7311: DRb test suite fails when hostname cannot be reached
It is not just test suite issue. See 0001-Fallback-to-localhost-if-hostname-is-not-associated-.patch
Although it is pretty minor issue, due to other bugs in Gnome 3, it forces me to reboot quite often :/ But anyway, it is not blocker.
vo.x (Vit Ondruch)
12:31 AM Bug #7311: DRb test suite fails when hostname cannot be reached
Just an issue of test.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
05:09 AM Revision ccd431e2 (git): * backport r39307 from trunk. [Bug #7880]
* lib/rubygems/installer.rb: Fixed placement of executables with
--user-install. [ruby-trunk - Bug #7779]
* test/rubygems/test_gem_installer.rb: Test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@3931...
drbrain (Eric Hodel)
05:06 AM Revision 463c1ad1 (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/branches/ruby_2_0_0@39318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
04:40 AM Revision 7ffd5405 (git): fix typo and remove trailing space
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:13 AM Revision e3897235 (git): Remove Syslog#inspect and have only Syslog.inspect.
* ext/syslog/syslog.c (Init_syslog): Define inspect as a singleton
method and remove it as an instance method. [Bug #6502]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:49 AM Revision 1955ac9e (git): * tool/mkconfig.rb: exclude variables to just build libruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:49 AM Revision a168db1c (git): * tool/mkrunnable.rb: needs rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:49 AM Revision bbd9223f (git): * ChangeLog: remove duplicated entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:33 AM Bug #7867: enable-multiach installs pkgconfig file into wrong dir
the attached patch fixes the installation path for pkgconfig data with multiarch enabled, as well as the path for installation of libraries terceiro (Antonio Terceiro)
03:32 AM Revision 281e6e1b (git): * object.c: rdoc formatting for Kernel#Array()
* array.c: Add rdoc for Array() method to Creating Arrays section
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
03:25 AM Revision fc23f8c6 (git): merge revision(s) 39201,39202:
* win32/Makefile.sub (config.status): site and vendor directories
should use sitearch, not arch. [ruby-dev:46964] [Bug #7823]
* configure.in (rubysitearchprefix): sitearchdir and vendorarchdir
should use sit...
nobu (Nobuyoshi Nakada)
01:53 AM Feature #6265: Remove 'useless' 'concatenation' syntax
drbrain, thanks!
But sorry, it is too late to change 2.0.0. My bad.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:49 AM Bug #7615 (Assigned): assignment to context variable changes the precedence order of function call with followed by ' (' (whitespace-bracket)
Interesting, but I'm reluctant to fix this in 2.0.0 because it looks impractical and incompatible to 1.9.X.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:44 AM Bug #6120: Float and BigDecimal bug in remainder in corner cases
Didn't get around fixing it for 2.0.0. Will fix and then assign to mrkn for BigDecimal. marcandre (Marc-Andre Lafortune)
01:37 AM Bug #7737: problem with generated rbconfig.rb for Haiku
Looks similar to #7864. Does r39290 help you?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:36 AM Revision 2163738f (git): * ext/openssl/ossl.c (class OpenSSL): Use only inner parenthesis in
create_extension examples.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
01:30 AM Bug #7823: sitelibへのsoのコピー (2.0.0)
なかださん、お忙しい?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:27 AM Revision b043b059 (git): * ext/openssl/ossl.c (class OpenSSL): Fixed ExtensionFactory example.
Patch by Richard Bradley. [ruby-trunk - Bug #7551]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
01:12 AM Bug #7821: FileUtils.mkdir_p fails on Windows Unicode paths (\\?\UNC\) if dir already exists
Usa-san, how significant is this issue?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:49 AM Feature #7526: infinit loop in Registry::each_value
Let me know if there is any popular application that suffers from this issue.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:46 AM Bug #7512: Test for HMAC signing with UTF-8 String
Just an issue of test.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:39 AM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
Just an issue of test.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:37 AM Feature #7476: missing "IP_TRANSPARENT" constant for IP sockets.
Looks a feature request.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:34 AM Feature #7412: Pathname#relative_path_from does not support mixed directory separators on windows
Looks a feature request.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:32 AM Bug #7398: Modify TestSSL#test_read_and_write to handle partial sysreads
Just an issue of test.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:11 AM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
Should we close this ticket?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)

02/18/2013

11:57 PM Bug #7171: test-all failure on OS X (RubyCI)
CI 環境の問題ということみたいなんで、先送りします。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
11:54 PM Bug #7100: WEBrick::HTTPServer.new で BindAddress を指定しない場合に必ず警告が記録される
ちょっと今からだと怖すぎるのと、BindAddress を指定するという workaround があるようなので、
すみませんが一旦 next minor に。
2.0.0-pXXX で直すかどうかは nagachika さんにお任せします。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
11:53 PM Revision cc16b213 (git): * vm_eval.c (vm_call0_body): check interrupts after method dispatch
from C methods. [Bug #7878]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
11:50 PM Bug #6928: SecureRandom.random_bytes: assume zero entropy for seed value
Martin, may I postpone this to next minor?
Or must it be fixed immediately?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
11:39 PM Bug #6360: Debug information build even without requesting it
I don't think that this is a showstopper; it actually works.
But if trunk can be fixed soon by an assured patch, I'm not against backporting it.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
10:23 PM Bug #6360: Debug information build even without requesting it
Can you create a patch and get "ok" from nobu or any reliable person?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
10:14 PM Bug #6360: Debug information build even without requesting it
mame (Yusuke Endoh) wrote:
> Sorry, but postponing it to 2.1.0.
> ...
Sorry, but as I mentioned in this, the change to default compile debug symbols is a bug and a regression.
Revisions in 1.9.3 prior 194 didn't suffer this.
Ruby...
luislavena (Luis Lavena)
09:42 PM Bug #6360: Debug information build even without requesting it
Sorry, but postponing it to 2.1.0.
I believe that Luis can work around the issue,
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
11:36 PM Bug #7878 (Closed): E::Lazy#grep ignores ^C
このタイミングでバグかよとお思いでしょうが見つけちまったもんはしょうがない、
[0].lazy.cycle.grep(1).first
が^Cに反応しません。どこかでRUBY_VM_CHECK_INTSしてください。
shyouhei (Shyouhei Urabe)
11:15 PM Revision aec0735f (git): * lib/rubygems/installer.rb: Fixed placement of executables with
--user-install. [ruby-trunk - Bug #7779]
* test/rubygems/test_gem_installer.rb: Test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:12 PM Revision 2e4dfbca (git): * 2013-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:12 PM Revision 885f2da8 (git): * backport r39275 from trunk. [ruby-dev:46994] [Bug #7774]
* 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/r...
ko1 (Koichi Sasada)
10:39 PM Bug #7683 (Rejected): Rjb::load Segmentation fault windows
So, this is not Ruby's bug.
arton (Akio Tajima)
09:29 PM Bug #7683: Rjb::load Segmentation fault windows
Thanks for using Ruby and Rjb and sorry for the inconvenience.
This was caused Rjb's gem packagging problem.
Detail: Rjb 1.4.5 was bundled with Java-Ruby proxy class compiled by JDK 1.7. So Rjb was internally crashed with version mi...
arton (Akio Tajima)
09:02 AM Bug #7683: Rjb::load Segmentation fault windows
arton-san, could you check this issue?
ko1 (Koichi Sasada)
10:01 PM Bug #6867 (Closed): super in a Mutex#synchronize block
The patch was applied at r36784.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:55 PM Feature #6744: ruby unable to run system commands that require elevated privileges
Looks a feature request rather than a bug?
Anyway I postpone this ticket to next minor.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:46 PM Revision 10103e8c (git): Correct condition of r39302
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:45 PM Bug #6386: URI.parse should raise an error for invalid uri 'http:/'
The URI maintainer, akira, is inactive for a long time.
I think that he should be discharged.
http://bugs.ruby-lang.org/projects/ruby/wiki/MaintainerDischargingProcess
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:34 PM Bug #6332 (Assigned): Error compiling readline due username_completion_function being undeclared (GCC 4.6)
Oops sorry. I didn't intend to close this ticket.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:34 PM Bug #6332 (Rejected): Error compiling readline due username_completion_function being undeclared (GCC 4.6)
No feedback.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:30 PM Bug #6121: [[Ruby 1.9:]] Etc.sysconfdir hides sysconfdir on windows
Postponing it to next minor.
Usa-san, let me know if you think it is a significant issue.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:24 PM Bug #6120: Float and BigDecimal bug in remainder in corner cases
Should it be assigned to mrkn?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:23 PM Bug #5600: OpenSSL::X509::Request can't sign() an OpenSSL::PKey::EC
It is too late for "an overhaul". Postponing to next minor.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:21 PM Bug #5317: rubyのヘッダファイルを使った拡張を行う際にoff_tの宣言回避をする事が出来ない。
残念ながら何ともしてもらえなかったですかね。まあ回避策あるので先送りにします。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:21 PM Revision 52b01813 (git): * 2013-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:21 PM Revision 0b261c37 (git): * vm_dump: FreeBSD ports' libexecinfo's backtrace(3) can't trace
beyond signal trampoline, and as described in r38342 it can't
trace on -O because it see stack frame pointers.
libunwind unw_backtrace see dwarf information in the binary
and it works with -O (without frame pointers).
* configure....
naruse (Yui NARUSE)
09:20 PM Revision e233ca15 (git): * configure.in: check whether backtrace(3) works well or not.
* vm_dump.c: set HAVE_BACKTRACE 0 if BROKEN_BACKTRACE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:17 PM Bug #4434: make test-all "-j10000" のように大きな並列数を与えると異常終了
テストの問題に過ぎない (ですよね?) ので先送り。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:15 PM Bug #3784: Seg fault in IO.select from webrick
Nahi-san, can you reproduce this issue?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:10 PM Feature #3348: rubyspec: Kernel.spawn redirects both STDERR and STDOUT to the given name ERROR
ちゃんとチケット整理しなかったからまた直す機会を逸してしまった。すみません。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:07 PM Bug #1771: system()/popen()/popen3() & windows & unicode is not working
Usa-san, what's the status?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:07 PM Bug #1685: Some windows unicode path issues remain
Usa-san, what's the status?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:06 PM Bug #1342 (Rejected): signal handling on HP-UX
Marking as rejected due to no feedback from OP.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
08:52 PM Bug #7282: Invalid UTF-8 from emoji allowed through silently
headius (Charles Nutter) wrote:
> duerst (Martin Dürst) wrote:
> ...
On string index access, Ruby doesn't raise error even if it is invalid byte sequence.
> > > system ~/projects/jruby $ ruby-2.0.0 -e '"Hello, \x96 world!".match /....
naruse (Yui NARUSE)
08:27 PM Bug #7877 (Closed): E::Lazy#with_index should be lazy
So I wanted some real benefit of being lazy. I wrote a Leibniz formula:
```ruby
def leibniz(n)
(0..Float::INFINITY).lazy.with_index {|i, j| (-1 ** j) / (2*i+1).to_f }.take(n).reduce(:+)
end
```
But it doesn't work (well, it ...
shyouhei (Shyouhei Urabe)
07:59 PM Feature #7876 (Assigned): Add method for accessing Class from within Singleton Class
=begin
I'm quite surprised I haven't run into this sooner, but I seem to have just discovered that there's no means by which you can access the outer Class object once inside the context of the Singleton Class. Take the following exampl...
wardrop (Tom Wardrop)
06:43 PM Feature #7872: `block_given?` does not work inside `define_method`
@ko1 thanks for the explanations, i will think about them. alexeymuranov (Alexey Muranov)
09:15 AM Feature #7872: `block_given?` does not work inside `define_method`
(a) def...end and (b) define_method(...){...} is completely different.
(1) On (b), outer scope
a = 1
define_method(:foo) do
p a # access to outer scope
end
(2) (1) means that the passed block is outer block
cla...
ko1 (Koichi Sasada)
01:53 PM Bug #7871 (Closed): exec_prefix regression breaks mingw
nobu (Nobuyoshi Nakada)
01:04 PM Bug #7871: exec_prefix regression breaks mingw
As of r39298 test and test-all are 100% pass, and these quick tests look Ok.
Hm, DESTDIR looks strange...I thought it should be empty.
C:\>ruby -rrbconfig -ve "puts %Q(TOPDIR -> #{RbConfig::TOPDIR}); %w(DESTDIR prefix exec_prefix...
jonforums (Jon Forums)
01:53 PM Bug #5199: ext/tk: RB_GC_GUARD seems to be needed in several places
From: "ko1 (Koichi Sasada)" <redmine@ruby-lang.org>
Subject: [ruby-core:52367] [ruby-trunk - Bug #5199] ext/tk: RB_GC_GUARD seems to be needed in several places
Date: Sun, 17 Feb 2013 19:06:43 +0900
Message-ID: <redmine.journal-36...
nagai (Hidetoshi Nagai)
01:30 PM Feature #6019 (Closed): Revision r34582 significantly slows down rails app
Thanks for the followup. This change was meant to be a fix for a misfeature, and it's great Rails followed it quickly.
As for a feature request, I think we need a little more consideration and details. Please submit one again when y...
knu (Akinori MUSHA)
01:22 PM Bug #6502: include Syslog
これ、Syslogをクラスからモジュールに変えた大昔のコードですね。
もはやSyslogは継承できないのでそれが正しそうです。2.1.0までに直します。
knu (Akinori MUSHA)
12:21 PM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
phluid61 (Matthew Kerwin) wrote:
> I'm sorry, but this ticket confuses me. Why does "A" ever get output, if
> ...
You're right to be confused, there's a missing `super` in the examples that everyone assumed was there.
So here's the ...
marcandre (Marc-Andre Lafortune)
06:23 AM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
I'm sorry, but this ticket confuses me. Why does "A" ever get output, if
B#m does not also call super?
phluid61 (Matthew Kerwin)
12:05 PM Bug #7755: JSON::Generate#configure's argument conversion
Filed as https://github.com/flori/json/issues/162 marcandre (Marc-Andre Lafortune)
11:50 AM Feature #7510: irb --help が古い
英語のパッチは省略しました。4 月以降でよければ作りますよ。 sho-h (Sho Hashimoto)
10:07 AM Bug #6756: FileUtils.rm_rf がアクセス権のない空ディレクトリを削除しない
これはUNIXの挙動に合わせてもいいと思いました。
なので、
kosaki さんに +1
です。
反対の度合いはどうですか? > ayumin
xibbar (Takeyuki FUJIOKA)
08:56 AM Bug #6756: FileUtils.rm_rf がアクセス権のない空ディレクトリを削除しない
fileutils のメンテナさんは居ないようですが、
http://bugs.ruby-lang.org/projects/ruby/wiki/Maintainers
こういうチケットはどうしておけばいいでしょうか...。
とりあえず nobu に振っておきます。
ko1 (Koichi Sasada)
08:56 AM Bug #7750: GC中にオブジェクトが割り当てられる
見た感じ、メモリが無いとかそういう状況でオブジェクトを生成した、
というような気がしますが、果てどうしたものか。
ストレステストが足りてないんですよね。
なりさんに振っておこう。
ko1 (Koichi Sasada)
08:48 AM Bug #7475: Unexpected behavior of Module#append_features on singleton class
Matz, could you check it?
ko1 (Koichi Sasada)
07:31 AM Revision a16c76f7 (git): * lib/ipaddr.rb (IPAddr#in6_addr): Fix a typo with the closing
parenthesis.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
07:30 AM Bug #7867: enable-multiach installs pkgconfig file into wrong dir
Hi, it would be nice if you could get this fixed soon so that we get full multiarch support when 2.0.0 is released. I have attached a patch that fixes this to bug #7874
http://bugs.ruby-lang.org/issues/7874
terceiro (Antonio Terceiro)
07:28 AM Bug #7874: multiarch support enhancements
Attaching a patch that fixes the path for installing both the libraries and the pkg-config data. It supersedes 0002-Install-pkgconfig-data-to-architecture-specific-path.patch attached before. terceiro (Antonio Terceiro)
04:35 AM Bug #7874: multiarch support enhancements
Ad 1) You can use --host=x86_64-linux-gnu if I am not mistaken.
Ad 2) It seems to duplicate #7867
vo.x (Vit Ondruch)
04:20 AM Bug #7874: multiarch support enhancements
Hi,
there is also another problem: when --enabled-shared is used, the shared libraries are not installed in the multiarch path. I am working on a patch for that.
terceiro (Antonio Terceiro)
03:57 AM Bug #7874 (Closed): multiarch support enhancements
Hi, I am one the maintainers of Ruby in Debian, thanks a lot for adding multiarch support.
While preparing packages for Ruby 2.0, I found two issues:
1) On a x86_64 Debian system with Linux kernel, Ruby will say that the architectu...
terceiro (Antonio Terceiro)
04:19 AM Bug #3434: Specs for coercion?
=begin
Regarding the coercion spec, I had need of coercion for Array the other day while implementing a set logic system. So I wondered if coercion can't be more general and not just isolated to Numerics. Is there a necessary reason coe...
trans (Thomas Sawyer)
03:46 AM Bug #7216: object.c defines clone method for objects that cannot be cloned.
This is true for class method #allocate too. trans (Thomas Sawyer)
03:45 AM Revision 7d63004f (git): Fix the IPv6 parser.
* lib/ipaddr.rb (IPAddr#in6_addr): Fix the parser so that it can
recognize IPv6 addresses with only one edge 16-bit piece
compressed, like [::2:3:4:5:6:7:8] or [1:2:3:4:5:6:7::].
[Bug #7477]
git-svn-id: svn+ssh://ci.ruby-lang.or...
Akinori MUSHA
02:31 AM Bug #7756: clang 4.2 sees through UNINITIALIZED_VAR macro, gives warning
It is only a warning drbrain (Eric Hodel)
01:49 AM Revision e8c57cd8 (git): configure.in: unexpand exec_prefix
* configure.in (exec_prefix): unexpand after RUBY_EXEC_PREFIX is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:49 AM Revision 3f1a3345 (git): mkconfig.rb: clear exec_prefix
* tool/mkconfig.rb: clear exec_prefix which may differ from prefix,
before expanding rubyarchdir to remove prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:11 AM Revision 46cdc66f (git): version.c: move ruby_exec_prefix
* version.c (ruby_exec_prefix): move all path configuration stuffs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:11 AM Bug #7850: Gem::Dependency.new( Symbol ) is deprecated?
ご報告ありがとうございます。
確かに RubyGems は github にリポジトリがあるのでそちらで報告したほうが早いかもしれません。
もう報告されましたか?
実際に困る gem があるのであれば、何かしらの対応をしたほうが良いのではないかと思います。利用側で対処するという結論になる可能性もありますけど。
nagachika (Tomoyuki Chikanaga)
01:10 AM Revision 97ef7189 (git): * 2013-02-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:09 AM Revision f8530342 (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@39294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:28 AM Feature #7845 (Rejected): Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
The behavior is intended.
see also http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/19379
naruse (Yui NARUSE)

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)
 

Also available in: Atom