Project

General

Profile

Activity

From 01/31/2013 to 02/06/2013

02/06/2013

11:58 PM Feature #7792: Make symbols and strings the same thing
I'd just like to highlight what performance impact we may be referring to:
https://gist.github.com/rosenfeld/47230...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:53 PM Feature #7792: Make symbols and strings the same thing
Em 06-02-2013 12:36, Yorick Peterse escreveu:
> You don't need to hijack any code for it, you'd just use it as
>...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:53 PM Feature #7792: Make symbols and strings the same thing
You don't need to hijack any code for it, you'd just use it as
following:

require 'hashie'

par...
yorickpeterse (Yorick Peterse)
11:33 PM Feature #7792: Make symbols and strings the same thing
@yorickpeterse, your suggestion wouldn't work for my case. The hash is created by JSON.parse where I don't control th... rosenfeld (Rodrigo Rosenfeld Rosas)
11:29 PM Feature #7792: Make symbols and strings the same thing
Although I'd really prefer that symbols and strings were the same there is an alternative that would satisfy me as we... rosenfeld (Rodrigo Rosenfeld Rosas)
11:23 PM Feature #7792: Make symbols and strings the same thing
Symbols and Strings both have different use cases and that's actually a
good thing. If you want to be able to use ...
yorickpeterse (Yorick Peterse)
11:22 PM Feature #7792: Make symbols and strings the same thing
Mmm, it sounds too big to me.
@rosenfeld I know your situation. But is it really a right solution for you? How a...
shyouhei (Shyouhei Urabe)
11:20 PM Feature #7792: Make symbols and strings the same thing
rosenfeld: see #5964 for similar discussion. luislavena (Luis Lavena)
11:13 PM Feature #7792: Make symbols and strings the same thing
I'm not sure that's even possible. If String#hash produced the same number as Symbol#hash, then that would do the tri... trans (Thomas Sawyer)
10:48 PM Feature #7792 (Rejected): Make symbols and strings the same thing
Recently I had to replace several of my symbols to plain strings in my project. Here is what happened:
I generated...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:53 PM Feature #7791: Let symbols be garbage collected
I'd don't think the problem is an error being raised. Just handle the exception. The issue is having a process eat up... trans (Thomas Sawyer)
11:53 PM Feature #7791: Let symbols be garbage collected
Em 06-02-2013 12:35, SASADA Koichi escreveu:
> (2013/02/06 23:21), SASADA Koichi wrote:
>> One rough idea (but n...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:53 PM Feature #7791: Let symbols be garbage collected
Em 06-02-2013 12:21, SASADA Koichi escreveu:
> (2013/02/06 22:50), shyouhei (Shyouhei Urabe) wrote:
>> @rosenfel...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:53 PM Feature #7791: Let symbols be garbage collected
(2013/02/06 23:21), SASADA Koichi wrote:
> One rough idea (but not verified) is:
>
> Separated Symbols into t...
ko1 (Koichi Sasada)
11:45 PM Feature #7791: Let symbols be garbage collected
trans (Thomas Sawyer) wrote:
> An error would be raised.
So you would have a successful DoS attack, right? Becaus...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:26 PM Feature #7791: Let symbols be garbage collected
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> At least now I know that you're willing to accept any patch to make the...
shyouhei (Shyouhei Urabe)
11:23 PM Feature #7791: Let symbols be garbage collected
Garbage collecting Symbols would most likely do more harm than good.
Sure, a ddos based on Symbols may no longer b...
yorickpeterse (Yorick Peterse)
11:23 PM Feature #7791: Let symbols be garbage collected
(2013/02/06 22:50), shyouhei (Shyouhei Urabe) wrote:
> @rosenfeld do you have any conceptual patch to implement it...
ko1 (Koichi Sasada)
11:14 PM Feature #7791: Let symbols be garbage collected
An error would be raised. trans (Thomas Sawyer)
11:09 PM Feature #7791: Let symbols be garbage collected
There is already a limit (memory bounded) and the problems begin after the limit is reached. If you just limit the am... rosenfeld (Rodrigo Rosenfeld Rosas)
11:04 PM Feature #7791: Let symbols be garbage collected
Is it possible to set a maximum size to the number of symbols allowed? An error would be raised if the limit was hit.... trans (Thomas Sawyer)
10:58 PM Feature #7791: Let symbols be garbage collected
Sorry @shyouhei, but I don't know Ruby's code base. But I believe I won't be able to understand how this could work i... rosenfeld (Rodrigo Rosenfeld Rosas)
10:57 PM Feature #7791: Let symbols be garbage collected
Adding to shyouhei's comment, Symbols are actually used for quite a specific purpose inside MRI. Because they are ess... Anonymous
10:48 PM Feature #7791 (Feedback): Let symbols be garbage collected
@rosenfeld do you have any conceptual patch to implement it? The reason Symbols aren't GCed is simply because the co... shyouhei (Shyouhei Urabe)
10:37 PM Feature #7791 (Closed): Let symbols be garbage collected
Lots of Denial-of-Service security vulnerabilities exploited in Ruby programs rely on symbols not being collected by ... rosenfeld (Rodrigo Rosenfeld Rosas)
10:59 PM Bug #7780: Marshal & YAML should deserialize only basic types by default.
Em 05-02-2013 23:57, Aaron Patterson escreveu:
>> I really don't see this as a problem.
>>
>> What I see as a ...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:59 AM Bug #7780: Marshal & YAML should deserialize only basic types by default.
On Wed, Feb 06, 2013 at 06:05:24AM +0900, marcandre (Marc-Andre Lafortune) wrote:
> I'll repeat that the proposal ...
Anonymous
06:05 AM Bug #7780: Marshal & YAML should deserialize only basic types by default.
> serialized objects in the database. I am very against changing this
> behavior.
>
> making `load` "safe" by d...
marcandre (Marc-Andre Lafortune)
05:23 AM Bug #7780: Marshal & YAML should deserialize only basic types by default.
Em 05-02-2013 16:20, Aaron Patterson escreveu:
> On Mon, Feb 04, 2013 at 12:54:50PM +0900, marcandre (Marc-Andre L...
rosenfeld (Rodrigo Rosenfeld Rosas)
03:23 AM Bug #7780: Marshal & YAML should deserialize only basic types by default.
On Mon, Feb 04, 2013 at 12:54:50PM +0900, marcandre (Marc-Andre Lafortune) wrote:
>
> Issue #7780 has been upda...
Anonymous
02:13 AM Bug #7780: Marshal & YAML should deserialize only basic types by default.
After refactoring Psych to handle Tag Schema, I have to concur with @marcandre. I don't think people realize the exte... trans (Thomas Sawyer)
10:29 PM Bug #5278: REXML -- Malformed comment
須藤です。

In <[email protected]>
"[ruby-dev:46931] Re: [ruby-changes:27041] ...
kou (Kouhei Sutou)
09:53 PM Bug #5278: REXML -- Malformed comment
こんにちは、なかむら(う)です。

In message "[ruby-dev:46929] Re: [ruby-changes:27041] usa:r39093 (ruby_1_9_3): merge revision(...
usa (Usaku NAKAMURA)
08:53 PM Bug #5278: REXML -- Malformed comment
須藤です。

私がお願いしていたこのバックポートなんですが、
https://bugs.ruby-lang.org/issues/7764

ChangeLogの変更だけがバックポートされていて、実際の変更
...
kou (Kouhei Sutou)
09:59 PM Bug #7773 (Feedback): Calling send("attribute=", value) returns nil instead of value
Why do you consider it a bug? nobu (Nobuyoshi Nakada)
08:51 PM Revision 90eb265f (git): * doc/pty/README: Remove static documentation file
* ext/pty/pty.c: Add License to PTY module overview
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39122 b2dd03c...
zzak (zzak _)
05:33 PM Feature #6111 (Closed): Request for making ruby multiarchable
This issue was solved with changeset r39109.
Hans, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
05:31 PM Revision 6851ad47 (git): * vm_insnhelper.c: attr_writer should return its argument [Bug #7773]
* test/ruby/test_basicinstructions.rb: Test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39121 b2dd03...
Marc-Andre Lafortune
05:16 PM Revision 4f74d59b (git): * doc/security.rb: Translate japanese kanji to english
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:35 PM Revision efcc536b (git): * 2013-02-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:35 PM Revision a99dc841 (git): * doc/security.rdoc: Link to japanese version of CVE page patch by
nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
03:53 PM Bug #7625: Arrayを継承したオブジェクトのcompactがArrayを返す
> Enumerableで定義されていないArray独自のメソッドはサブクラスを返したほうが良いと思います。
> 直すタイミングはいつがいいのかな。

いまから2.0にspecレベルの変更が入るのは反対します。念のため。
kosaki (Motohiro KOSAKI)
03:38 PM Bug #7625: Arrayを継承したオブジェクトのcompactがArrayを返す
Enumerableで定義されていないArray独自のメソッドはサブクラスを返したほうが良いと思います。
直すタイミングはいつがいいのかな。
Matz.
matz (Yukihiro Matsumoto)
03:51 PM Bug #7787 (Feedback): ruby 1.9 regexp quantifiers behave unpredictably when stacked
It is not considered as a bug, but if there is a reasonable patch I'll merge it. naruse (Yui NARUSE)
04:29 AM Bug #7787 (Rejected): ruby 1.9 regexp quantifiers behave unpredictably when stacked
Ruby (1.8 and 1.9) allows for stacked quantifiers such as /x{2}{5}/ and appears to treat them more or less as expecte... calfeld (Christopher Alfeld)
03:37 PM Bug #7789 (Closed): test_setsid fails for OpenBSD
This issue was solved with changeset r39097.
George, thank you for reporting this issue.
Your contribution to Ruby is...
kosaki (Motohiro KOSAKI)
03:37 PM Bug #7789: test_setsid fails for OpenBSD
> The only fix is to skip the Process::getsid(pid) in the test. I wrote a patch for this.
OK. I agree with skippin...
kosaki (Motohiro KOSAKI)
09:21 AM Bug #7789 (Assigned): test_setsid fails for OpenBSD
kosaki (Motohiro KOSAKI)
08:31 AM Bug #7789 (Closed): test_setsid fails for OpenBSD
=begin
TestProcess#test_setsid always fails because OpenBSD doesn't allow Process::getsid(pid) when the pid is in a ...
kernigh (George Koehler)
02:31 PM Revision a493ec03 (git): * doc/pty/README.expect: Removed static documentation file
* ext/pty/lib/expect.rb: Documentation for IO#expect
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39117 b2dd03...
zzak (zzak _)
02:11 PM Bug #7790: documentation about exception in Comparable#==
英語をなんとかしました metanest (Makoto Kishimoto)
12:12 PM Bug #7790 (Closed): documentation about exception in Comparable#==
[ruby-dev:46910] に書いた Comparable#== の、例外に関する仕様の文書化です。 metanest (Makoto Kishimoto)
01:46 PM Revision e45e0641 (git): * hash.c (env_reject_bang): hide keys array from ObjectSpace
* hash.c (env_select_bang): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39116 b2dd03c8-39d4-4d8f-98ff-82...
Charlie Somerville
01:03 PM Revision e52527a4 (git): merge miss of r39093.
I don't understand why svn merge didn't merge any files and reported no errors.
terrible...
git-svn-id: svn+ssh://c...
U.Nakamura
08:40 AM Revision e5938a11 (git): * ChangeLog: forgotten to commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:33 AM Revision 834fd50a (git): configure.in: multiarch option
* configure.in (multiarch): add option to move architecture dependent
directories. [Feature #6111]
* template/ruby...
nobu (Nobuyoshi Nakada)
08:32 AM Revision 67db06ba (git): configure.in: arch dependent header directory options
* configure.in (rubyarchhdrdir, sitearchhdrdir, vendorarchhdrdir): add
options to customize architecture dependent ...
nobu (Nobuyoshi Nakada)
08:32 AM Revision 29c214e4 (git): configure.in: arch dependent library directory options
* configure.in (rubyarchprefix, sitearchdir, vendorarchdir): add
options to customize architecture dependent librar...
nobu (Nobuyoshi Nakada)
08:32 AM Revision d32b1229 (git): configure.in: RUBY_VERSION_NAME
* configure.in (RUBY_VERSION_NAME), template/ruby.pc.in: add
substitution and define.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
08:32 AM Revision 85aae4c6 (git): configure.in: architecture name
* configure.in, version.c: parametric architecture name for paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nobu (Nobuyoshi Nakada)
08:32 AM Revision a8795e35 (git): configure.in: shvar_to_cpp
* configure.in (shvar_to_cpp): convert sh variable references
by replacing with string literal forms in cpp.
git-...
nobu (Nobuyoshi Nakada)
08:05 AM Revision 6d0647c3 (git): * lib/rdoc: Import RDoc 4.0.0.rc.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
08:00 AM Revision fd061353 (git): * lib/rdoc: Import RDoc 3.9.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
07:47 AM Revision b99c3e74 (git): mkconfig.rb: fix anchor
* tool/mkconfig.rb: should match whole word.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39100 b2dd03c8-39d4-4...
nobu (Nobuyoshi Nakada)
06:49 AM Revision b7d6d06a (git): fixed commit miss of previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:37 AM Revision 6cd1e11d (git): * test/ruby/test_process.rb (test_setsid): ensure to call
Process.wait(). Reported by George Koehler. Thanks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39098 b2dd03c8...
kosaki (Motohiro KOSAKI)
06:37 AM Revision 88903e23 (git): * test/ruby/test_process.rb (test_setsid): skip when platform is
OpenBSD. Contributed from George Koehler.
[Bug #7789] [ruby-core:51889]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
kosaki (Motohiro KOSAKI)
06:27 AM Bug #7782: Struct both has and does not have an allocator
Ok. One last comment on this:
> I am not positive about adding exception classes. So far, TypeError only caused by...
trans (Thomas Sawyer)
05:40 AM Bug #7782: Struct both has and does not have an allocator
=begin
Ah, `else`. I've never used that, and forgotten about it.
So I should be able to write instead:
begin
...
trans (Thomas Sawyer)
04:38 AM Bug #7782: Struct both has and does not have an allocator
Sounds like you are reinventing begin; rescue; else; end: https://github.com/ruby/ruby/blob/trunk/doc/syntax/exceptio... drbrain (Eric Hodel)
03:31 AM Bug #7782: Struct both has and does not have an allocator
=begin
But is not so nice to have to write code like this:
success = begin
object = type.allocate
tr...
trans (Thomas Sawyer)
05:30 AM Revision ee6e1db1 (git): merge revision(s) 35474,35479,38939,38943,38963,38991,38994: [Backport #7786]
* ext/socket/raddrinfo.c (init_unix_addrinfo): support the longest
path in sockaddr_un.
(inspect_...
U.Nakamura
05:25 AM Revision 42b13375 (git): * README: Fix typo, patch by zzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:21 AM Revision 2618ffc5 (git): merge revision(s) 38993: [Backport #7775]
* ext/socket/basicsocket.c (bsock_getsockname): ignore truncated
part of socket address.
(bsock_g...
U.Nakamura
05:19 AM Revision 0297247f (git): merge revision(s) 33210,33212: [Backport #5278]
* lib/rexml/parsers/baseparser.rb, test/rexml/test_comment.rb:
allow a single hyphen in comment. [Bug 5278]...
U.Nakamura
05:14 AM Revision 326ce405 (git): merge revision(s) 37174: [Backport #7754]
* file.c (realpath_rec): prevent link from GC while link_names refers
the content.
git-svn-id: svn+ssh://...
U.Nakamura
05:13 AM Revision 4be94836 (git): merge revision(s) 36151: [Backport #7746]
* missing/setproctitle.c (environ): use (*_NSGetEnviron()) instead of
environ on Darwin for namespace clean...
U.Nakamura
05:06 AM Revision 10d2b5ec (git): merge revision(s) 36905: [Backport #6977]
* dir.c (glob_make_pattern): names under recursive need to be single
basenames to match for each name. [ru...
U.Nakamura
05:05 AM Feature #7788 (Assigned): YAML Tag Schema Support
=begin
I have endeavoured to add proper Schema support to Psych (see ((<YAML Spec|URL:http://www.yaml.org/spec/1.2/s...
trans (Thomas Sawyer)
04:43 AM Bug #7784 (Closed): [mingw] r39055 creates test failures and functionality loss
Fixed by r39070 which removes the check on windows. If writing a file as 0600 works on windows someday we can reintro... drbrain (Eric Hodel)
04:35 AM Revision 6eb76ba6 (git): vm_method.c: show respond_to location
* proc.c (rb_method_entry_location, rb_{mod,obj}_method_location): new
functions to obtain source location of metho...
nobu (Nobuyoshi Nakada)
04:03 AM Revision fe072cef (git): * doc/security.rdoc: Add link to CVEs on ruby-lang.org/en/security
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
03:49 AM Revision a77af99a (git): * NEWS: Add note about removal of CSV::load and CSV::dump from r39077
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
03:39 AM Revision 4ce8ede2 (git): Update README to direct questions & bug reports adequately
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
02:17 AM Revision 5e9648be (git): test_require.rb: shared drive
* test/ruby/test_require.rb (TestRequire#test_require_with_unc):
cannot test unless the local drive is shared.
git...
nobu (Nobuyoshi Nakada)
01:56 AM Bug #7656: Handful of documentations
I see, the example added to the methods is misleading. I'll revamp the docs for PP, and create a new issue. vbatts (Vincent Batts)
12:33 AM Revision f5c616f0 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:33 AM Revision 585af39c (git): * ChangeLog: fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:30 AM Revision 50cdfe2d (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

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)
 

Also available in: Atom