Project

General

Profile

Activity

From 01/30/2013 to 02/05/2013

02/05/2013

11:56 PM Bug #7774: IFUNC上のbinding呼び出しでSEGV
rb_callccから呼ばれるrb_vm_stack_to_heapでも、
同様にIFUNCの対応が必要ということのようです。
以下のパッチで直りましたがどうでしょうか。
~~~diff
diff --git a/vm...
ktsj (Kazuki Tsujimoto)
05:23 PM Bug #7774: IFUNC上のbinding呼び出しでSEGV
(2013/02/05 16:47), ktsj (Kazuki Tsujimoto) wrote:
> が、次のコードがSEGVするようになってしまいました。

がーん.callcc 使ったコードなんて知らん,とは言え...
ko1 (Koichi Sasada)
04:47 PM Bug #7774: IFUNC上のbinding呼び出しでSEGV
ご対応ありがとうございます。
が、次のコードがSEGVするようになってしまいました。
~~~ruby
require 'continuation'

tp = TracePoint.new(:raise) do ...
ktsj (Kazuki Tsujimoto)
03:23 PM Bug #7774: IFUNC上のbinding呼び出しでSEGV
> Issue #7774 has been reported by ktsj (Kazuki Tsujimoto).
>
> ----------------------------------------
> Bu...
ko1 (Koichi Sasada)
03:05 PM Bug #7774 (Closed): IFUNC上のbinding呼び出しでSEGV
This issue was solved with changeset r39067.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is...
ko1 (Koichi Sasada)
10:50 PM Bug #7784 (Assigned): [mingw] r39055 creates test failures and functionality loss
luislavena (Luis Lavena)
03:19 PM Bug #7784: [mingw] r39055 creates test failures and functionality loss
it doesn't solve the issue, but why is the permissions check not being isolated to only gem push? jonforums (Jon Forums)
02:54 PM Bug #7784 (Closed): [mingw] r39055 creates test failures and functionality loss
The r39055 patch for rubygems security (lib/rubygems/config_file.rb) causes 11 `make test-all` failures
http://c...
jonforums (Jon Forums)
09:06 PM Revision ee074d4b (git): Missed comment from r39079
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
08:58 PM Revision dfb30ef5 (git): * lib/racc/parser.rb: Hide copyright notice from Racc doc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
08:52 PM Revision afea6f47 (git): * doc/rubygems/*: Removed outdated documentation files
* lib/rubygems/LICENSE.txt: Include license file
* lib/rubygems.rb: Move Gem module documentation so rdoc can parse i...
zzak (zzak _)
06:44 PM Revision 55f11348 (git): * doc/security.rdoc: Remove documentation for unsafe CSV.load which
was deleted in r39077
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
06:28 PM Revision b614d782 (git): * lib/csv.rb: Remove the dangerous serialization feature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e James Edward Gray II
05:14 PM Bug #7781: Ruby fails make test on Cygwin for test_io.rb.
I am sorry to say that cygwin is not supported currently.
Of course, we always welcome patches for cygwin (and its m...
usa (Usaku NAKAMURA)
03:10 AM Bug #7781: Ruby fails make test on Cygwin for test_io.rb.
I also get these stack errors when I run rails -v (inside any app directory) or bundle install:
Chloe@dumbopc /cyg...
starrychloe (Chloe S)
04:50 PM Revision 3221e7d2 (git): add contributor to ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:25 PM Bug #7722 (Closed): [rubyspec] failure in core/marshal/dump_spec.rb
This issue was solved with changeset r39069.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby...
nobu (Nobuyoshi Nakada)
03:58 PM Bug #7722: [rubyspec] failure in core/marshal/dump_spec.rb
The issue is that `rb_obj_respond_to` sends a second argument (include private) even when the user method doesn't acc... marcandre (Marc-Andre Lafortune)
03:57 PM Revision 5b15e5a3 (git): * lib/irb.rb: Remove example from restrictions, it works [Github #246]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
03:55 PM Revision 1e32d0fc (git): * 2013-02-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:55 PM Revision ca016c70 (git): * vm.c (rb_vm_stack_to_heap): call rb_vm_get_binding_creatable_next_cfp
instead of rb_vm_get_ruby_level_next_cfp to prevent a segfault by
calling Kernel#callcc. See r39067 for more detail...
ktsj (Kazuki Tsujimoto)
02:43 PM Bug #7777 (Closed): wrong use of "Raise" method in matrix.rb
This issue was solved with changeset r39065.
py, thank you for reporting this issue.
Your contribution to Ruby is gre...
marcandre (Marc-Andre Lafortune)
02:39 PM Bug #5715 (Closed): +/-1 ** Bignum returns different results than +/-1 ** Fixnum
This issue was solved with changeset r39063.
John, thank you for reporting this issue.
Your contribution to Ruby is g...
marcandre (Marc-Andre Lafortune)
02:39 PM Bug #5713 (Closed): Fixnum#** returns Infinity for 0 ** negative Bignum
This issue was solved with changeset r39063.
John, thank you for reporting this issue.
Your contribution to Ruby is g...
marcandre (Marc-Andre Lafortune)
12:50 PM Bug #7715 (Closed): Lazy enumerators should want to stay lazy.
This issue was solved with changeset r39058.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
marcandre (Marc-Andre Lafortune)
07:32 AM Bug #7715: Lazy enumerators should want to stay lazy.
Patch updated, rdoc improved too.
Makes for a clean API for Lazy#new also, and there's even less code (~20 loc).
...
marcandre (Marc-Andre Lafortune)
12:49 PM Bug #7248 (Closed): Shouldn't Enumerator::Lazy.new be private?
This issue was solved with changeset r39057.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
marcandre (Marc-Andre Lafortune)
11:13 AM Bug #7782: Struct both has and does not have an allocator
I am not positive about adding exception classes. So far, TypeError only caused by inexistence of allocator.
Matz.
matz (Yukihiro Matsumoto)
10:54 AM Bug #7782: Struct both has and does not have an allocator
So you think rescuing the error is good enough. Ok, I'll handle it that way. Would it be prudent to make the error ve... trans (Thomas Sawyer)
09:41 AM Bug #7782 (Closed): Struct both has and does not have an allocator
"allocator" in the error message does not mean #allocate method, but internal C function (thus TypeError not NoMethod... matz (Yukihiro Matsumoto)
01:33 AM Bug #7782 (Closed): Struct both has and does not have an allocator
=begin
One the one hand:
>> Struct.allocate
TypeError: allocator undefined for Struct
from (irb...
trans (Thomas Sawyer)
11:03 AM Bug #7656: Handful of documentations
interesting, doing a little bootleg debugging
<patch>
diff --git a/lib/pp.rb b/lib/pp.rb
index 6e0c797..681956d 10...
vbatts (Vincent Batts)
09:56 AM Bug #7780: Marshal & YAML should deserialize only basic types by default.
Thanks.
Note that I was proposing to issue a warning once, not for every call.
Also, the most pressing issue is...
marcandre (Marc-Andre Lafortune)
09:28 AM Bug #7780 (Assigned): Marshal & YAML should deserialize only basic types by default.
Oh, I am sorry, I have misread your proposal. You have posted migration path.
But still numerous warning messages ...
matz (Yukihiro Matsumoto)
09:49 AM Revision 81f9052c (git): * doc/security.rdoc: add regex, eval and drb sections
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Charlie Somerville
08:24 AM Revision bd5efa7f (git): * lib/rdoc/servlet.rb: Fixed root search paths, filesystem paths
instead of HTTP paths were returned.
* test/rdoc/test_rdoc_servlet.rb: Test for above.
git-svn-id: svn+ssh://ci.ru...
drbrain (Eric Hodel)
07:37 AM Revision 627a0825 (git): * lib/rubygems/config_file.rb: Ignore permissions check on windows.
Windows writes 0600 file as 0644 permissions making the check
useless.
git-svn-id: svn+ssh://ci.ruby-lang...
drbrain (Eric Hodel)
07:25 AM Revision a106b310 (git): vm_method.c: drop include_all flag
* vm_method.c (rb_obj_respond_to): drop optional include_all flag if
respond_to? method is defined in old style. [...
nobu (Nobuyoshi Nakada)
06:24 AM Revision 8efeb603 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:04 AM Revision 88101695 (git): * proc.c (rb_binding_new_with_cfp): permit to create binding object
of IFUNC frame.
When `rb_binding_new_with_cfp()' is called, VM finds out the first
normal (has iseq) frame and cr...
ko1 (Koichi Sasada)
05:52 AM Revision 757bbe87 (git): * enumerator.c: Remove rdoc that is obsolete because of lazy
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:43 AM Revision 9a912c66 (git): * lib/matrix.rb: Fix error message, patch by pypypy [Bug #7777]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:39 AM Revision d22ce4a5 (git): * numeric.c (fix_pow): Handle special cases when base is 0, -1 or +1
[Bug #5713] [Bug #5715]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:39 AM Revision 8797ebd6 (git): * rational.c (nurat_expt): Deal with special cases for rationals 0, ±1
[bug #5713] [bug #5715]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:39 AM Revision 075ae295 (git): * numeric.c: Fix rdoc for Fixnum#**
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:23 AM Feature #7783: Add support for sqrt of very large numbers
Anytime! zzak (zzak _)
05:01 AM Feature #7783 (Closed): Add support for sqrt of very large numbers
Nice find, Zachary!
I happened to talk with Santiago about this. Closing...
MartinBosslet (Martin Bosslet)
04:58 AM Feature #7783: Add support for sqrt of very large numbers
Hey zzak, had no idea about that. Thanks!
So we can close this one.
spastorino (Santiago Pastorino)
04:47 AM Feature #7783: Add support for sqrt of very large numbers
=begin
Hello Mr. Pastorino!
It seems to work when I use the mathn library, which implements sqrt(3)
(({irb(mai...
zzak (zzak _)
04:36 AM Feature #7783: Add support for sqrt of very large numbers
/RSA the/when/ spastorino (Santiago Pastorino)
04:35 AM Feature #7783 (Closed): Add support for sqrt of very large numbers
Currently ...
irb(main):001:0> Math.sqrt(2**6456)
=> Infinity
I wanted to do something like this to show an ex...
spastorino (Santiago Pastorino)
04:45 AM Revision 55f0fa5a (git): test_range.rb: refine message
* test/ruby/test_range.rb (TestRange#test_bsearch_with_mathn): refine
failure messages.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
04:27 AM Revision 490f1fc0 (git): console.c: default by stty raw
* ext/io/console/console.c (rawmode_opt): use default values by `stty
raw`.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
04:23 AM Feature #6362: Modular exponentiation/inverse
This would be a great thing to have +1000 spastorino (Santiago Pastorino)
03:51 AM Revision e29e4b55 (git): * range.c: Use div instead of / for bsearch
* test/ruby/test_range.rb: Test showing bug when requiring mathn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3...
Marc-Andre Lafortune
03:49 AM Revision 1677cbce (git): * enumerator.c: Use to_enum for Enumerable methods returning Enumerators.
This makes Lazy#cycle no longer needed, so it was removed.
Make Enumerator#chunk and slice_before return lazy Enume...
Marc-Andre Lafortune
03:49 AM Revision 44cd5f21 (git): * enumerator.c: Finalize and document Lazy.new. [Bug #7248]
Add Lazy#to_enum and simplify Lazy#size.
* test/ruby/test_lazy_enumerator.rb: tests for above
git-svn-id: svn+ssh:/...
Marc-Andre Lafortune
03:49 AM Revision 5af821c6 (git): * enumerator.c: Fix and improve rdoc for to_enum
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
02:37 AM Revision 1633e543 (git): * lib/rubygems/commands/push_command.rb: Fixed credential download for
`gem push --host`
* lib/rubygems/gemcutter_utilities.rb: ditto.
* test/rubygems/test_gem_commands_push_command.rb: ...
drbrain (Eric Hodel)
01:18 AM Revision 6dfd5669 (git): * doc/security.rdoc: Wrap security guide at 80 columns
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
01:14 AM Revision 47da37b0 (git): * doc/security.rdoc: Grammatical error on security guide
Patch by Josh Bassett [Github fixes #245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39053 b2dd03c8-39d4-4d8...
zzak (zzak _)
01:13 AM Revision acd3f3e7 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:01 AM Revision c50b3288 (git): * lib/racc/parser.rb: Update #do_parse and #yyparse from upstream
See [Github tenderlove/racc@7d954b5]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39051 b2dd03c8-39d4-4d8f-98f...
zzak (zzak _)
12:56 AM Revision 941ea371 (git): * lib/racc: Merge Racc documentation downstream, add grammar ref file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)

02/04/2013

11:04 PM Revision f11ff34d (git): * lib/irb.rb, lib/irb/ext/save-history.rb: Add documentation on how to
enabled irb history [ruby-core:51347] [Bug #7679]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39049 b2dd03c8-...
zzak (zzak _)
10:36 PM Revision e195e181 (git): * lib/irb.rb, lib/irb/context.rb: Add documentation on how to enable
auto-indentation and autocompletion using irbrc and irb_context
[ruby-core:51209] [Bug #7642] and [ruby-core:51348]...
zzak (zzak _)
08:20 PM Revision 9cfc40ab (git): * doc/standard_library.rdoc: Document list of libraries and extensions
and their purpose or short description
* lib/README: Remove lib/README in favor of doc/standard_library.rdoc
git-sv...
zzak (zzak _)
07:39 PM Revision 53bc3490 (git): * ext/json/lib/json.rb: Move module overview definition for rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
05:59 PM Revision f691d4a5 (git): * 2013-02-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:59 PM Revision 2a970150 (git): * lib/tracer.rb: Move class overview definition and reformat
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
05:01 PM Bug #7781 (Rejected): Ruby fails make test on Cygwin for test_io.rb.
When compiling Ruby on Cygwin.com, it fails 'make test' for test_io.rb.
Chloe@dumbopc ~/ruby-1.9.3-p374
$ uname ...
starrychloe (Chloe S)
04:52 PM Bug #7715: Lazy enumerators should want to stay lazy.
Patch almost done, which also fixes #7248
https://github.com/marcandre/ruby/compare/marcandre:master...marcandre...
marcandre (Marc-Andre Lafortune)
09:12 AM Bug #7715: Lazy enumerators should want to stay lazy.
I believe I have found the key to resolve this issue, Lazy.new issue [#7248] and others.
We simply need to special...
marcandre (Marc-Andre Lafortune)
03:26 PM Bug #7780: Marshal & YAML should deserialize only basic types by default.
matz (Yukihiro Matsumoto) wrote:
> Your proposed change will crash many programs including dRuby.
Could you pleas...
marcandre (Marc-Andre Lafortune)
02:54 PM Bug #7780 (Rejected): Marshal & YAML should deserialize only basic types by default.
Your proposed change will crash many programs including dRuby.
So it's too late for 2.0.0.
Don't get me wrong by ...
matz (Yukihiro Matsumoto)
01:45 PM Bug #7780: Marshal & YAML should deserialize only basic types by default.
What about using load for the safe method and load! for the non-safe method? That would be the Ruby way.
Otherwise, ...
duerst (Martin Dürst)
01:05 PM Bug #7780: Marshal & YAML should deserialize only basic types by default.
Just read the comments in the post I referred to (http://nedbatchelder.com/blog/201302/war_is_peace.html)
There's ...
marcandre (Marc-Andre Lafortune)
12:54 PM Bug #7780: Marshal & YAML should deserialize only basic types by default.
mame (Yusuke Endoh) wrote:
> I think that this issue is not a bug, but a new feature.
I would rather not argue ab...
marcandre (Marc-Andre Lafortune)
12:33 PM Bug #7780: Marshal & YAML should deserialize only basic types by default.
mame (Yusuke Endoh) wrote:
> I agree with charliesome; I think that this issue is not a bug, but a new feature.
> W...
Anonymous
12:29 PM Bug #7780 (Assigned): Marshal & YAML should deserialize only basic types by default.
Is this related to #7759?
charliesome (Charlie Somerville) wrote:
> Please note that I do not consider this a vul...
mame (Yusuke Endoh)
12:05 PM Bug #7780: Marshal & YAML should deserialize only basic types by default.
For reference, the vulnerabilities I'm referring to are the two major Rails vulnerabilities CVE-2013-0156, CVE-2013-0... marcandre (Marc-Andre Lafortune)
11:30 AM Bug #7780 (Closed): Marshal & YAML should deserialize only basic types by default.
YAML is a wonderful, powerful and expressive format to serialize data in a human readable way.
It can be used, for...
marcandre (Marc-Andre Lafortune)
02:11 PM Feature #7639: More freedom for location of comments
It was meant to be and has been an experimental feature, so let's not take it for granted as established one.
We alr...
knu (Akinori MUSHA)
11:20 AM Feature #7639: More freedom for location of comments
> alexeymuranov (Alexey Muranov)
Allowing a line to start with a period was a change introduced in Ruby 1.9. It is...
sawa (Tsuyoshi Sawada)
03:44 AM Feature #7639: More freedom for location of comments
As for me, i do not like to continue a line by starting the following one with a dot: it is not clear immediately if ... alexeymuranov (Alexey Muranov)
12:23 PM Revision d06141cd (git): io-console.gemspec: 0.4.1
* ext/io/console/io-console.gemspec: bump to 0.4.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39043 b2dd03c8...
nobu (Nobuyoshi Nakada)
12:17 PM Bug #6967 (Closed): Vector#inner_product は複素数ベクトルのとき不適切
Fixed with r38983 (not sure why redmine didn't link the commit & close the issue).
ありがとうございます。
marcandre (Marc-Andre Lafortune)
12:15 PM Revision 1a15c377 (git): io-console.gemspec: limit date length
* ext/io/console/io-console.gemspec: limit Date keyword length to get rid of locale format.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
12:09 PM Revision 36ed400f (git): io-console.gemspec: update
* ext/io/console/io-console.gemspec: use Date keyword and add licenses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
10:15 AM Bug #7779 (Closed): embedded rubygems 2.0.0.rc.2 mangles --user-install
This is low priority for my usage, and while I'm not investigating the issue anytime soon, I'm surfacing it here in c... jonforums (Jon Forums)
06:19 AM Revision a9cbe8c7 (git): init.c: declaration-after-statement
* ext/socket/init.c (cloexec_accept): fix declaration-after-statement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
06:10 AM Revision 523292d6 (git): console.c: initialize
* ext/io/console/console.c (rawmode_opt): initialize options for the
case all options are not given.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
04:36 AM Bug #7778 (Rejected): Irb loading generates 17x more open/stat system calls when a locale is set
Hello,
I did just found out that when I have a locale set (e.g. cs_CZ in my case), irb does some extra finding for...
lzap (Lukas Zapletal)
04:31 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
Ok the above looks like bug in lib/irb/locale.rb:
LC_ALL=C strace irb < /dev/null 2>&1 | grep ENOENT | wc -l
293
...
lzap (Lukas Zapletal)
04:24 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
Hello,
I am trying Ruby 2.0 RC1 which should contain this fix, but I think I still see many stat and open syscalls w...
lzap (Lukas Zapletal)
03:46 AM Revision 4cb4c929 (git): * vm_dump.c (control_frame_dump): capitalize prefix of `ep'
if `ep' points an env object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39038 b2dd03c8-39d4-4d8f-98ff-823f...
ko1 (Koichi Sasada)
02:50 AM Revision 9e5167c3 (git): English.rb: no set
* lib/English.rb (English): disable setting instead of removing after set.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
12:28 AM Bug #7777 (Closed): wrong use of "Raise" method in matrix.rb
=begin
"Raise" method added by e2mmap library shows customized error messages according to pre-registered formats:
...
pypypy567 (py _)
12:16 AM Revision e7d6a048 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

02/03/2013

10:33 PM Feature #7639: More freedom for location of comments
Indeed, method chains do seem to continue beyond empty lines. The following two work:
```ruby
[1, 2, 3].
map{|...
sawa (Tsuyoshi Sawada)
10:10 PM Feature #7639 (Feedback): More freedom for location of comments
Comments are equivalent to white spaces syntactically now, so do you expect that a method chain will continue beyond... nobu (Nobuyoshi Nakada)
02:29 PM Feature #7639: More freedom for location of comments
I would like to add another argument for such feature. It is common that you put each step of a chain in a new line. ... sawa (Tsuyoshi Sawada)
10:32 PM Bug #7737: problem with generated rbconfig.rb for Haiku
paul0 (Paulo Geyer) wrote:
> fixed that, changed to $(srcdir)/complex.o the line where tells where the object to be ...
nobu (Nobuyoshi Nakada)
06:11 AM Bug #7737: problem with generated rbconfig.rb for Haiku
paul0 (Paulo Geyer) wrote:
> fixed that, changed to $(srcdir)/complex.o the line where tells where the object to be ...
paul0 (Paulo Geyer)
03:15 AM Bug #7737: problem with generated rbconfig.rb for Haiku
fixed that, changed to $(srcdir)/complex.o the line where tells where the object to be linked is in the ext/mathn/com... paul0 (Paulo Geyer)
02:53 AM Bug #7737: problem with generated rbconfig.rb for Haiku
nobu (Nobuyoshi Nakada) wrote:
> Seems RPATHFLAG unnecessary for extconf.rb.
>
> Attaching newer patch.
tried ...
paul0 (Paulo Geyer)
09:53 PM Bug #7774: IFUNC上のbinding呼び出しでSEGV
2013年2月3日 18:35 SASADA Koichi <[email protected]>:
>  RC2 っていつ頃出します?

連絡してなくてすみません。

rubygems.org の事件に関連して Eri...
mame (Yusuke Endoh)
06:53 PM Bug #7774: IFUNC上のbinding呼び出しでSEGV
(2013/02/03 18:14), ktsj (Kazuki Tsujimoto) wrote:
> binding呼び出しによって環境がヒープに移されますが、
> IFUNC上のepがそれに追随できていないのが原因です...
ko1 (Koichi Sasada)
06:14 PM Bug #7774 (Closed): IFUNC上のbinding呼び出しでSEGV
=begin
辻本です。
以下のコードでSEGVします。
tp = TracePoint.new(:raise) do |tp|
tp.binding
end
tp.enable

@obj =...
ktsj (Kazuki Tsujimoto)
07:21 PM Revision 6d32920e (git): * lib/English.rb: Add English module for RDoc to parse, then
remove_const to avoid confusion. Include full list of aliases and
their associated global variable.
git-svn-id: s...
zzak (zzak _)
07:05 PM Bug #7522: Non-core "Type()" Kernel methods return new objects
No apology necessary. Thanks for the help! jballanc (Joshua Ballanco)
06:01 PM Bug #7762: io-console version should be bumped
nobu (Nobuyoshi Nakada) wrote:
> I had uploaded io-console gem generated from the trunk.
> How do they differ?
T...
vo.x (Vit Ondruch)
04:54 PM Bug #7762 (Closed): io-console version should be bumped
This issue was solved with changeset r39031.
Vit, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
11:40 AM Bug #7762 (Feedback): io-console version should be bumped
I had uploaded io-console gem generated from the trunk.
How do they differ?
nobu (Nobuyoshi Nakada)
05:41 PM Bug #7773 (Closed): Calling send("attribute=", value) returns nil instead of value
When calling an attribute writer created using either attr_accessor or attr_writer via send nil is returned from the ... gaffneyc (Chris Gaffney)
05:40 PM Revision 63bedf5d (git): * 2013-02-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:40 PM Revision 110a545d (git): * lib/yaml.rb (YAML::EngineManager): Documentation for #yamler and
#yamler= for using the removed Syck gem as the YAML::ENGINE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39033...
zzak (zzak _)
05:24 PM Feature #7748: Contextual send
Ah, so this has been thought of before. I agree it should not replace behaviour of private #send (although, how much ... trans (Thomas Sawyer)
01:34 PM Feature #7748: Contextual send
#send had been implemented in that manner once, but reverted and #public_send was separated instead. nobu (Nobuyoshi Nakada)
04:28 PM Bug #7772: Consider bumping stack size in ruby_qsort
Sorry, I should have had a look at the patch. It makes indeed sense to apply this patch. duerst (Martin Dürst)
04:26 PM Bug #7772: Consider bumping stack size in ruby_qsort
It's very well known that Quicksort may create stack overflows. But it's also very well known how to deal with them: ... duerst (Martin Dürst)
04:07 PM Bug #7772: Consider bumping stack size in ruby_qsort
Patch to bump size to 64 Conrad.Irwin (Conrad Irwin)
04:06 PM Bug #7772 (Closed): Consider bumping stack size in ruby_qsort
At the moment the maximum size of the stack is 32. The comment implies this should be enough for arrays with up to 2*... Conrad.Irwin (Conrad Irwin)
10:30 AM Bug #7753 (Closed): Module#attr_reader documentation uses an undefined variable
Thank you Narsimham Chelluri, this issue was resolved by r38976. zzak (zzak _)
10:26 AM Bug #7770 (Closed): rand(range) is not document
This issue was solved with changeset r39025.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby ...
zzak (zzak _)
09:59 AM Bug #7709 (Closed): constants on Float aren't documented
This issue was solved with changeset r39024.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is ...
zzak (zzak _)
08:22 AM Revision 80455c0d (git): * ext/io/console/io-console.gemspec: fix date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:54 AM Revision b3d12956 (git): io-console.gemspec: bump
* ext/io/console/io-console.gemspec: bump. [Bug #7762]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39031 b2d...
nobu (Nobuyoshi Nakada)
07:54 AM Revision b381a662 (git): test_io_console.rb: descriptive assertions
* test/io/console/test_io_console.rb (test_stringio_getch): use more
descriptive assertions.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
07:54 AM Revision f050b223 (git): console.c: fix unit of min
* ext/io/console/console.c (rawmode_opt): min is minimum characters,
not tenths.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
07:51 AM Revision 47dc049f (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:48 AM Revision 8c821761 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:14 AM Revision cac38cd0 (git): * doc/security.rdoc: add first cut at a Ruby security document
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Charlie Somerville
01:25 AM Revision ec720303 (git): * random.c: Document range argument for Kernel#rand.
[ruby-core:51794] [Bug #7770]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39025 b2dd03c8-39d4-4d8f-98ff-823fe...
zzak (zzak _)
12:59 AM Revision a954def1 (git): * numeric.c: Document Float constants [ruby-core:51484] [Bug #7709]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
12:38 AM Revision 9ed4d1ab (git): profiler.rb: block calls
* lib/profiler.rb (PROFILE_CALL_PROC, PROFILE_RETURN_PROC): add b_call
and b_return to profile block calls.
git-s...
nobu (Nobuyoshi Nakada)
12:37 AM Revision 0d7a1971 (git): * 2013-02-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:37 AM Revision f87614d7 (git): profiler.rb: split PROFILE_PROC
* lib/profiler.rb (PROFILE_CALL_PROC, PROFILE_RETURN_PROC): split
PROFILE_PROC for call and return events.
git-sv...
nobu (Nobuyoshi Nakada)

02/02/2013

07:23 PM Bug #7771 (Rejected): method 'gets' crashed
Anonymous
07:23 PM Bug #7771: method 'gets' crashed
=begin
This is by design, (({gets})) will read from (({ARGV})) by default. If you want to read from the standard inp...
Anonymous
07:17 PM Bug #7771 (Rejected): method 'gets' crashed
method 'gets' crashed when pass arguments like "ruby test.rb hello"
example
#file test.rb only one method
gets
...
jjyr (Jinyang Jiang)
02:09 PM Bug #7656 (Feedback): Handful of documentations
Hello Vincent,
I've committed your patch for lib/debug. as r39019, I was reviewing your patch for lib/pp.rb and no...
zzak (zzak _)
01:13 PM Bug #7081 (Closed): GServer orphaned threads lead to resource exhaustion
This issue was solved with changeset r39016.
stephen, thank you for reporting this issue.
Your contribution to Ruby i...
mame (Yusuke Endoh)
01:12 PM Bug #6756 (Open): FileUtils.rm_rf がアクセス権のない空ディレクトリを削除しない
まあ一応反対が出たのでコミットしません。
内容的には小崎さんに全面賛成で、「あの環境でできないから」とか言ってたら
File/FileUtils 関係はほとんど何も出来なくなるんじゃないかと思いますが、
まあ今から議論す...
mame (Yusuke Endoh)
12:57 PM Bug #7373 (Closed): FileUtils#chmod verbose gives error when mode is string
Applied at r39011.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:54 PM Bug #7246 (Closed): FileUtils.cp_r does not preserve attributes of directories
This issue was solved with changeset r39015.
Jan, thank you for reporting this issue.
Your contribution to Ruby is gr...
mame (Yusuke Endoh)
12:18 PM Bug #7301 (Closed): URI::FTP.new2()の引数typecodeを省略するとNoMethodErrorが発生します。
This issue was solved with changeset r39013.
Yoshifumi, thank you for reporting this issue.
Your contribution to Ruby...
mame (Yusuke Endoh)
12:04 PM Bug #7522 (Assigned): Non-core "Type()" Kernel methods return new objects
Sorry but let me postpone this to the next minor.
I'm afraid if the existing code depends on the traditional behavio...
mame (Yusuke Endoh)
11:47 AM Bug #7406 (Closed): English.rb says that $_ is thread-local, but it is frame-local
This issue was solved with changeset r39010.
Charles, thank you for reporting this issue.
Your contribution to Ruby i...
mame (Yusuke Endoh)
07:46 AM Bug #5747 (Closed): Proc#curry doesn't always detect too many arguments
This issue was solved with changeset r39008.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
marcandre (Marc-Andre Lafortune)
07:46 AM Bug #7765 (Closed): Proc#arity bug with optional argument
This issue was solved with changeset r39007.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
marcandre (Marc-Andre Lafortune)
05:32 AM Revision f5b8e90a (git): * lib/minitest/mock.rb, lib/minitest/hell.rb: nodoc top-level module
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
05:04 AM Revision 32e754c8 (git): * lib/debug.rb: Documentation for DEBUGGER__ class methods based on
patch by Vincent Batts [ruby-core:51253]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39019 b2dd03c8-39d4-4d8f...
zzak (zzak _)
04:49 AM Bug #7766 (Closed): Marshal.dump corrupts Hash data when serializing
vo.x (Vit Ondruch)
04:32 AM Bug #7766: Marshal.dump corrupts Hash data when serializing
It only corrupted the output, although a few mins ago I realized I was on the preview and there was an RC1 out.
I ju...
zapotek (Tasos Laskos)
04:37 AM Revision e91fb5eb (git): * lib/net/smtp.rb: Fix rdoc title for Net::SMTP
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:32 AM Revision 94839d4a (git): * lib/net/pop.rb: Fix rdoc title for Net::POP3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:13 AM Revision 1d23123c (git): * lib/gserver.rb (GServer#start): fix a timing issue. patch from
Charles Nutter. [Bug #7081]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39016 b2dd03c8-39d4-4d8f-98ff-823fe69...
mame (Yusuke Endoh)
03:54 AM Revision 7dc77be2 (git): * lib/fileutils.rb (copy_entry, wrap_traverse): preserve attributes of
directories on FileUtils.cp_r. The fix was proposed by Jan
Wedekind. [Bug #7246]
* test/fileutils/test_fileutils...
mame (Yusuke Endoh)
03:31 AM Revision 87d3c2d6 (git): * lib/uri/ftp.rb (URI::FTP.new2): nodoc method from r39013 [Bug #7301]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
03:18 AM Revision a60a562c (git): * lib/uri/ftp.rb (URI::FTP.new2): remove the rdoc because it is not
well tested yet. [Bug #7301]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39013 b2dd03c8-39d4-4d8f-98ff-823fe6...
mame (Yusuke Endoh)
03:09 AM Revision 8b54e050 (git): * ChangeLog: Forgot to add a reference to the ChangeLog of the
previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:07 AM Revision 4077b9b8 (git): * lib/fileutils.rb: chmod/chmod_R with a string mode (e.g., "+x")
caused error in verbose mode.
* test/fileutils/test_fileutils.rb: add a test for above.
git-svn-id: svn+ssh://ci.ru...
mame (Yusuke Endoh)
02:47 AM Revision 2ae0c4c4 (git): * lib/English.rb: Remove some confusing words from rdoc. [Bug #7406]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
01:38 AM Bug #7625: Arrayを継承したオブジェクトのcompactがArrayを返す
r39004 (#7768) で uniq は修正されたようですね。 mrkn (Kenta Murata)
01:35 AM Bug #7768: Inherited Array class missing
#7625 is related to this issue. mrkn (Kenta Murata)
01:21 AM Revision d127e92b (git): * NEWS: add keyword arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)

02/01/2013

11:57 PM Bug #7750: GC中にオブジェクトが割り当てられる
OSはWindows8で、CPUは、Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz 3.30GHzです。5分程度でスクリプト自体は死にます。再度手元で、10回程度実行してみたところ前述したメッセージが出... konishi_takurou (瀧澤 悠介)
11:52 PM Bug #7770 (Closed): rand(range) is not document
Random#rand(range) is written in RDoc of random_rand, but rand(range) is not written in RDoc of rb_f_rand. znz (Kazuhiro NISHIYAMA)
11:05 PM Bug #7768 (Closed): Inherited Array class missing
This issue was solved with changeset r39004.
Roman, thank you for reporting this issue.
Your contribution to Ruby is ...
Anonymous
09:56 PM Bug #7768: Inherited Array class missing
=begin
Looks like a regression introduced in r26987
=end
Anonymous
09:43 PM Bug #7768 (Closed): Inherited Array class missing
Hello. I apologize if I missed something.
I found strange behavior in ruby 1.9:
```ruby
class Custom < Array; e...
england (Roman Ivanilov)
10:46 PM Revision f810d180 (git): * proc.c (proc_curry): Fix arity check [Bug #5747]
* test/ruby/test_proc.rb: Test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39008 b2dd03c8-39d4-4d8f-...
Marc-Andre Lafortune
10:46 PM Revision 83610815 (git): * proc.c: Add {*}_min_max_arity and refactor.
[Bug #7765]
* test/ruby/test_proc.rb: Fix wrong test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39007 b2dd03...
Marc-Andre Lafortune
09:59 PM Feature #7767: Tempfileで自動的にファイルを削除する
2013/2/1 kyanagi (Kouhei Yanagita) <[email protected]>:
>
> しかし、Tempfile.openにブロックを渡すと自動的にcloseするところまではやってくれ...
akr (Akira Tanaka)
09:27 PM Feature #7767 (Closed): Tempfileで自動的にファイルを削除する
ソースコードのコメント(tempfile.rbのGood practicesの項)にも書かれている通り、
Tempfileは使用後、明示的に削除することが推奨されています。
しかし、Tempfile.openにブロックを渡すと...
kyanagi (Kouhei Yanagita)
09:07 PM Bug #7766: Marshal.dump corrupts Hash data when serializing
=begin
Does it only corrupt the output, or does it break the actual Hash object passed to it?
=end
Anonymous
12:57 PM Bug #7766 (Closed): Marshal.dump corrupts Hash data when serializing
=begin
Marshal.dump seems to corrupt a Hash object during serialization.
The problem is that this does not happen w...
zapotek (Tasos Laskos)
08:29 PM Bug #7752: Rational/Float/Fixnum/Bignum `.to_s.encoding` is US-ASCII
On 2013/01/31 18:07, coffeejunk (Maximilian Haack) wrote:
>
> Issue #7752 has been updated by coffeejunk (Maximi...
duerst (Martin Dürst)
03:17 PM Bug #7752 (Rejected): Rational/Float/Fixnum/Bignum `.to_s.encoding` is US-ASCII
On current policy, strings which always include only US-ASCII characters are US-ASCII.
If there is a practical issue...
naruse (Yui NARUSE)
03:46 PM Revision 4b4d889f (git): * 2013-02-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:46 PM Revision ba5ff937 (git): * marshal.c: add security considerations to marshal overview, refer to
overview from Marshal.load documentation [#7759]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39005 b2dd03c8-39...
Charlie Somerville
03:19 PM Feature #7763 (Assigned): add Win32::Registry#values
usa (Usaku NAKAMURA)
02:31 AM Feature #7763 (Closed): add Win32::Registry#values
hello.
In today's Win32::Registry objects, we have
#num_keys, #keys, #num_values
(and no #values method, but ...
rogerdpack (Roger Pack)
02:47 PM Feature #6626: Readline.delete_text
feature requestだと思うのでnext minorにしておきます。
shugo (Shugo Maeda)
02:44 PM Bug #6332 (Feedback): Error compiling readline due username_completion_function being undeclared (GCC 4.6)
luislavena (Luis Lavena) wrote:
> Attempting to compile trunk (r35415) against GCC 4.6 (4.6.3, OSX 10.6, MacPorts pr...
shugo (Shugo Maeda)
02:37 PM Bug #7397 (Closed): Fix detection of RL_PROMPT_*_IGNORE macros
This issue was solved with changeset r39002.
Zachary, thank you for reporting this issue.
Your contribution to Ruby i...
shugo (Shugo Maeda)
02:05 PM Revision 86aa98fe (git): * array.c (rb_ary_dup): make returned array the same class as the original
array [Bug #7768] [ruby-core:51792]
* test/ruby/test_array.rb (class TestArray): add test
git-svn-id: svn+ssh://ci.r...
Charlie Somerville
07:35 AM Revision 3fe93956 (git): marshal.c: prohibit_ivar
* marshal.c (r_object0): prohibit setting instance variables of
exising class/module.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
05:38 AM Bug #7765 (Closed): Proc#arity bug with optional argument
We have:
Proc.new{|a, b, c, d, e|}.arity # => 5
Matz decided [ruby-core:46515] we also have:
Proc.ne...
marcandre (Marc-Andre Lafortune)
05:37 AM Revision 46ea3f65 (git): * ext/readline/extconf.rb, ext/readline/readline.c: check
RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE directly in
readline.c. Patch by Zachary Scott. [Bug #7397] [ruby...
shugo (Shugo Maeda)
12:50 AM Bug #7172: [[Ruby 1.9:]] fix rbconfig for --enable-load-relative (v2)
So running:
rvm install ruby-head --debug --movable
Executes:
autoreconf
./configure --disable-...
mpapis (Michal Papis)
12:47 AM Revision 8df20dd7 (git): * 2013-02-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:47 AM Revision c58d8c30 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

01/31/2013

10:57 PM Feature #5481: Gemifying Ruby standard library
BTW there should be process in place which ensures, that the libraries are properly versioned, i.e. if something is c... vo.x (Vit Ondruch)
10:52 PM Bug #7762 (Closed): io-console version should be bumped
The io-console shipped with Ruby 2.0 claims it is version 0.3, although it is definitely different code from io-conso... vo.x (Vit Ondruch)
10:08 PM Bug #7752: Rational/Float/Fixnum/Bignum `.to_s.encoding` is US-ASCII
US-ASCII is a strict subset of UTF-8, so I don't think there's necessarily any lying involved. jballanc (Joshua Ballanco)
06:07 PM Bug #7752: Rational/Float/Fixnum/Bignum `.to_s.encoding` is US-ASCII
The only problem I see is that ruby is lying to the user. It is not severe since, as you said, there are no non-ascii... coffeejunk (Maximilian Haack)
09:55 PM Bug #7759 (Closed): Marshal.load is not documented to be dangerous
This issue was solved with changeset r38999.
Charlie, thank you for reporting this issue.
Your contribution to Ruby i...
Anonymous
11:23 AM Bug #7759: Marshal.load is not documented to be dangerous
(2013/01/31 8:59), charliesome (Charlie Somerville) wrote:
> Unfortunately, many developers use it inappropriately...
ko1 (Koichi Sasada)
11:15 AM Bug #7759: Marshal.load is not documented to be dangerous
> I've thought it's a common sense, isn't it?
You would imagine so, however I have seen a lot of code that does un...
Anonymous
11:07 AM Bug #7759: Marshal.load is not documented to be dangerous
charliesome (Charlie Somerville) wrote:
> Unfortunately, many developers use it inappropriately and unmarshal user i...
nobu (Nobuyoshi Nakada)
09:53 AM Bug #7759: Marshal.load is not documented to be dangerous
> Marshal.load is incredibly powerful, and also incredibly dangerous.
>
> Unfortunately, many developers use it ...
kosaki (Motohiro KOSAKI)
08:59 AM Bug #7759 (Closed): Marshal.load is not documented to be dangerous
=begin
Marshal.load is incredibly powerful, and also incredibly dangerous.
Unfortunately, many developers use it ...
Anonymous
04:58 PM Bug #7722: [rubyspec] failure in core/marshal/dump_spec.rb
I am not that confident that I understand all the detail, but I vote for drop include_all flags.
Matz.
matz (Yukihiro Matsumoto)
03:59 PM Bug #7760 (Closed): "-\n2000-01-02 03:04:05".to_yaml raise ArgumentError
1.9.3's psych raises ArgumentError.
2.0.0's psych doesn't.
% ruby -v -r yaml -e '"-\n2000-01-02 03:04:05".to_yaml...
znz (Kazuhiro NISHIYAMA)
12:55 PM Revision f8823475 (git): marshal.c: warn against using Marshal.load on untrusted data
* marshal.c (marshal_load): Add documentation warning against using
Marshal.load on untrusted data [Bug #7759] [rub...
Charlie Somerville
12:12 PM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
I confirmed this bug occurs on Windows 7 with ruby 1.9.3p374 and 2.0 trunk.
I tested with MinGW32 gcc compiled ver...
phasis68 (Heesob Park)
06:18 AM Bug #7758 (Feedback): Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
Can you tell us more about the specific version of Windows that you're using?
Nowhere in your output says which ve...
luislavena (Luis Lavena)
05:22 AM Bug #7758 (Closed): Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
=begin
I have a script that contains the unicode BOX_DRAWINGS_LIGHT_VERTICAL_AND_RIGHT character (http://www.filefor...
joshc (Josh C)
07:33 AM Revision 20af032e (git): parse.y: no assigned but unused warnings in eval
* parse.y (local_push_gen): no assigned but unused variable warnings
in eval as well as -e. [Feature #7730] [ruby-...
nobu (Nobuyoshi Nakada)
07:08 AM Revision b10e6b69 (git): * test/ruby/test_signal.rb (test_trap_puts): Fix typo. "sync"
should be "STDOUT.sync".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
06:38 AM Revision e56c7878 (git): * string.c (rb_str_aset_m): Documentation for String#[]= fix
Raises an IndexError if Regexp match is out of range.
Github fixes #243 Patch by Dmtiriy Budnik
git-svn-id: svn+s...
zzak (zzak _)
04:59 AM Revision 625119a3 (git): * 2013-01-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:59 AM Revision 4ccfb274 (git): * ext/socket/raddrinfo.c (rsock_unix_sockaddr_len): return
sizeof(sa_familiy_t) if path is empty. see "Autobind Feature" in
unix(7) for details.
* ext/socket/lib/socket.rb ...
shugo (Shugo Maeda)
01:23 AM Bug #7757 (Closed): String#start_with? and end_with? should accept Regexp
Dupe, see #3388, sorry.
Need a ram upgrade.
marcandre (Marc-Andre Lafortune)
01:22 AM Bug #7757 (Closed): String#start_with? and end_with? should accept Regexp
As suggested by Ilya in #5536, the following should work:
"hello".start_with? /h/ # => true, not a TypeError
marcandre (Marc-Andre Lafortune)
01:19 AM Bug #5536: String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
prijutme4ty (Ilya Vorontsov) wrote:
> =begin
> Can you please explain, why not just make (({"str".start_with(/s/)})...
Eregon (Benoit Daloze)
12:30 AM Bug #5536: String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
=begin
Can you please explain, why not just make (({"str".start_with(/s/)})) behave as (({"str".match(/^s/)})) ?
=e...
prijutme4ty (Ilya Vorontsov)

01/30/2013

06:41 PM Bug #7703 (Feedback): Segfault in 1.9.3-p362, possibly threads related
p374 will help you. usa (Usaku NAKAMURA)
06:39 PM Bug #7689: Crash @enumerator.so with ruby 1.9.3/thin/RoR 3.2.11
Use p374 instead of p362.
It's the version for you, I guess.
usa (Usaku NAKAMURA)
06:38 PM Bug #7689 (Feedback): Crash @enumerator.so with ruby 1.9.3/thin/RoR 3.2.11
usa (Usaku NAKAMURA)
06:09 PM Bug #7750: GC中にオブジェクトが割り当てられる
とりあえず、現時点ではRubyのどのバージョンでも再現できていません。
が、非常に時間のかかるスクリプトのようですので、そもそも落ちるところまで我慢できずに実行を打ち切ってしまっているため、という感もあります。
参考までに、ど...
usa (Usaku NAKAMURA)
05:08 PM Bug #7276 (Closed): TestFile#test_utime failure
This issue was solved with changeset r38992.
Jon, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
04:59 PM Bug #7276: TestFile#test_utime failure
I don't remember the reason well, probably some mingw failed to link the dll or extension libraries.
But I can't fin...
nobu (Nobuyoshi Nakada)
03:04 PM Bug #7725 (Closed): bsearch should return enumerator when called without a block
Fixed with r38984. marcandre (Marc-Andre Lafortune)
03:02 PM Bug #7726 (Closed): bsearch should handle block result in a consistent way
Fixed with r38986. marcandre (Marc-Andre Lafortune)
02:48 PM Bug #7728 (Closed): Range#bsearch on other Numerics?
Resolved with r38985. marcandre (Marc-Andre Lafortune)
01:29 PM Feature #7751: How to encapsulate File.delete and File.rename into one 'transaction'?
> What a great function! I've confirm it is true.
>
> irb(main):001:0> File.write('src', '000')
> => 3
> irb...
kosaki (Motohiro KOSAKI)
10:03 AM Feature #7751: How to encapsulate File.delete and File.rename into one 'transaction'?
What a great function! I've confirm it is true.
irb(main):001:0> File.write('src', '000')
=> 3
irb(main):002:0> ...
mghomn (Justin Peal)
01:22 PM Feature #7730 (Closed): Top level variables aren't checked for assigned but unused behavior
This issue was solved with changeset r38982.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
01:18 PM Bug #7678 (Closed): $_ and $~ are shared across Fibers halfway
This issue was solved with changeset r38981.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby...
nobu (Nobuyoshi Nakada)
12:01 PM Revision 1ff38a5b (git): * ext/socket/basicsocket.c (bsock_getsockname): ignore truncated
part of socket address.
(bsock_getpeername): ditto.
(bsock_local_address): ditto.
(bsock_remote_address): ditto...
akr (Akira Tanaka)
09:53 AM Feature #7525: How to avoid memory leak when something gets wrong and throw exception when using win32api?
Thank you for the resource release schema! mghomn (Justin Peal)
08:53 AM Bug #7756: clang 4.2 sees through UNINITIALIZED_VAR macro, gives warning
=begin
This patch works:
Index: vm_core.h
================================================================...
drbrain (Eric Hodel)
05:32 AM Bug #7756: clang 4.2 sees through UNINITIALIZED_VAR macro, gives warning
Hm, maybe we need another workaround.
Does __attribute__ (unused) works on your compiler?
likes
#ifdef __GNU...
kosaki (Motohiro KOSAKI)
05:05 AM Bug #7756 (Closed): clang 4.2 sees through UNINITIALIZED_VAR macro, gives warning
=begin
In clang 3.2, the UNINITIALIZED_VAR macro does not prevent the compiler from producing a warning.
Apple ...
drbrain (Eric Hodel)
08:08 AM Revision 111b8614 (git): win32.h: revert r37337
* include/ruby/win32.h (fstat): revert r37337, which uses _fstati64()
instead of fstati64() on mingw32. [Bug #7276...
nobu (Nobuyoshi Nakada)
07:01 AM Bug #7539 (Closed): Misleading error message "can't convert nil into string"
This issue was solved with changeset r38979.
Chris, thank you for reporting this issue.
Your contribution to Ruby is ...
marcandre (Marc-Andre Lafortune)
07:00 AM Bug #7724 (Closed): 6 bugs with Range#bsearch over floats
This issue was solved with changeset r38978.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
marcandre (Marc-Andre Lafortune)
06:30 AM Bug #7474 (Rejected): I am getting undefined symbol: rb_enable_interrupt when running event machine
No response. I'll close this then.
kosaki (Motohiro KOSAKI)
06:30 AM Revision e16b8482 (git): * ext/socket/unixsocket.c (rsock_init_unixsock): use rb_inspect()
because rb_sys_fail_str() fails if its argument contains NUL.
* test/socket/test_unix.rb: related test.
git-svn-id:...
shugo (Shugo Maeda)
06:21 AM Revision 5efb130d (git): vm_dump.c: important message first
* vm_dump.c (rb_vm_bugreport): show the most important message, Crash
Report log information, first.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
06:20 AM Revision e449d06f (git): ChangeLog, range.c: adjust indent and style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:07 AM Revision 69adf990 (git): * array.c (rb_ary_bsearch): Fix r38986 (typo) [Bug #7726]
* range.c (range_bsearch): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38988 b2dd03c8-39d4-4d8f-98ff-823...
Marc-Andre Lafortune
06:01 AM Revision a7938af1 (git): * array.c (rb_ary_bsearch): Fix r38986 (missing whitespace)
* range.c (range_bsearch): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38987 b2dd03c8-39d4-4d8f-98ff-823...
Marc-Andre Lafortune
06:00 AM Revision 20c0fb69 (git): * array.c (rb_ary_bsearch): Raise TypeError on bad return from block
* range.c (range_bsearch): ditto
* test/ruby/test_array.rb (class): Test for above
* test/ruby/test_range.rb (class...
Marc-Andre Lafortune
05:46 AM Revision 00d6bb51 (git): * range.c: Restrict bsearch to integers [#7728]
* test/ruby/test_range.rb: Test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38985 b2dd03c8-39d4-4d8f...
Marc-Andre Lafortune
05:11 AM Bug #7752: Rational/Float/Fixnum/Bignum `.to_s.encoding` is US-ASCII
This behavior matches Time#to_s, see #5226
Since there are no non-US-ASCII characters in the result of to_s on Rat...
drbrain (Eric Hodel)
01:14 AM Bug #7752 (Rejected): Rational/Float/Fixnum/Bignum `.to_s.encoding` is US-ASCII
=begin
When converting an instance of Rational/Float/Fixnum/Bignum to a string with the (({.to_s})) method, the resu...
coffeejunk (Maximilian Haack)
05:11 AM Revision 39048aca (git): * array.c (rb_ary_bsearch): Return enumerator if no block [#7725]
* range.c (range_bsearch): ditto
* test/ruby/test_array.rb: Test for above
* test/ruby/test_range.rb: ditto
git-sv...
Marc-Andre Lafortune
04:53 AM Revision ddea0c82 (git): * lib/matrix.rb: Take conjugate for inner product
[rubyspec:5a01ad5719f2] [ruby-dev:46101]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38983 b2dd03c8-39d4-4d8f-...
Marc-Andre Lafortune
04:48 AM Bug #7755: JSON::Generate#configure's argument conversion
There's some more unreachable code in ext/json/parser/parser.rl:629 marcandre (Marc-Andre Lafortune)
04:33 AM Bug #7755 (Closed): JSON::Generate#configure's argument conversion
I notice a tiny bug in ext/json/generator/generator.c:514
tmp = rb_convert_type(opts, T_HASH, "Hash", "to_hash...
marcandre (Marc-Andre Lafortune)
04:22 AM Revision 71eddb1d (git): parse.y: warn assigned but unused in toplevel
* parse.y (local_push_gen): warn assigned but unused variables also in
toplevel, except for -e option. [Feature #7...
nobu (Nobuyoshi Nakada)
04:17 AM Revision 29707c1d (git): cont.c: fiber local svar
* cont.c (cont_restore_thread): svar should be separate per fibers.
[ruby-core:51331] [Bug #7678]
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
03:44 AM Bug #7753 (Closed): Module#attr_reader documentation uses an undefined variable
Current text is:
-- Cut here --
attr_writer(symbol, ...) → nil
Creates an accessor method to allow assignment to...
nchelluri (Narsimham Chelluri)
03:23 AM Bug #7699: rubyspec failed: BigDecimal#divmod Can be reversed with * and +
(2013/01/27 15:04), mrkn (Kenta Murata) wrote:
> I cannot reproduce it with ruby 2.0.0dev (2013-01-27 trunk 38957)...
ko1 (Koichi Sasada)
 

Also available in: Atom