Project

General

Profile

Activity

From 10/07/2014 to 10/13/2014

10/13/2014

10:38 PM Feature #9379 (Closed): Support for using libxml-ruby as XML parser in xmlrpc-libs
all StreamParser have no tests. hsbt (Hiroshi SHIBATA)
08:23 PM Feature #9379 (Assigned): Support for using libxml-ruby as XML parser in xmlrpc-libs
Needs tests zzak (zzak _)
08:53 AM Feature #9379 (Closed): Support for using libxml-ruby as XML parser in xmlrpc-libs
Applied in changeset r47902.
----------
* lib/xmlrpc/parser.rb: added new parser class using libxml-ruby gem.
[Fea...
hsbt (Hiroshi SHIBATA)
10:36 PM Revision 2f83b32f (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:47 PM Feature #8246 (Closed): Hash#traverse
Yeah, sorry, this is a duplicate of #5531 with just a different method name zzak (zzak _)
08:44 PM Bug #9869 (Third Party's Issue): Rubygems tests fail in test-all
zzak (zzak _)
08:40 PM Bug #10162: Error while installing ruby 2.1.2 on freebsd
No feedback after 1 month, maybe we should close it zzak (zzak _)
08:16 PM Revision 2f00c56e (git): * ext/date/lib/date.rb: fix indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
08:13 PM Misc #10375: [Redmine] Optimal viewing across a wide range of devices
@Eric Wong
Thank you for letting me know! I'm gonna subscribe right away.
But sometimes I wanna read past disc...
gogotanaka (Kazuki Tanaka)
04:39 AM Misc #10375: [Redmine] Optimal viewing across a wide range of devices
I follow by subscribing to the ruby-core mailing list:
mailto:[email protected]?subject=subscribe
Th...
normalperson (Eric Wong)
02:50 AM Misc #10375: [Redmine] Optimal viewing across a wide range of devices
Ops, I didn't make it clear enough.
I mean, I wanna read and catch up https://bugs.ruby-lang.org, even though usin...
gogotanaka (Kazuki Tanaka)
02:46 AM Misc #10375 (Rejected): [Redmine] Optimal viewing across a wide range of devices
Priority might not be high, I'd be glad if I could read and catch up great discussion here.
If there's anything I ...
gogotanaka (Kazuki Tanaka)
07:51 PM Feature #10378 (Open): [PATCH 0/3] It's better (1 + 0i).real? return true
Right now, `Complex#real?` return `false` anytime.
I suppose `#is_a?(Complex)` is enough to check whether a objec...
gogotanaka (Kazuki Tanaka)
05:35 PM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
I was not interested in adding IPv6 support to my application, only in binding a port with a fallback mechanism. I wo... lucas (Lucas Nussbaum)
05:10 PM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
Ruby uses getaddrinfo() to obtain addresses to bind.
```
% ./ruby -rsocket -e 'p Addrinfo.getaddrinfo(nil, 10001,...
akr (Akira Tanaka)
04:50 PM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
Indeed, bindv6only=1 seems to change this. However, bindv6only=1 is kind-of the default on all systems (except some L... lucas (Lucas Nussbaum)
12:41 PM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
It seems net.ipv6.bindv6only affect the behavior.
```
% sudo sysctl net.ipv6.bindv6only=0
net.ipv6.bindv6only = ...
akr (Akira Tanaka)
11:41 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
correct copy/paste:
$ ./ruby -vrsocket -e 'p TCPServer::new(10001); system("netstat -ln|grep 10001"); p TCPSe...
lucas (Lucas Nussbaum)
11:37 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
I built Ruby 2.2 from source, and still encountered the same problem as the original report, with the exception that ... lucas (Lucas Nussbaum)
09:01 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
Hm.
Ruby 2.1.3 causes the wrong error message:
```
% ./ruby -vrsocket -e 'p TCPServer::new(10001); p TCPServer...
akr (Akira Tanaka)
08:40 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
[email protected] wrote:
> It might be fixed in Ruby 2.2... I don't have an easy way to test. Akira, do you ...
normalperson (Eric Wong)
07:10 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
It might be fixed in Ruby 2.2... I don't have an easy way to test. Akira, do you have an easy way to test with Ruby 2... lucas (Lucas Nussbaum)
06:59 AM Bug #10203 (Feedback): TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
It doesn't reproduce on my environment.
```
% lsb_release -idrc
Distributor ID: Debian
Description: Debian GNU/...
akr (Akira Tanaka)
05:32 PM Revision 7ce520e9 (git): * ext/tk/tcltklib.c: (experimental) support Tcl/Tk8.6.2.
* ext/tk/extconf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47908 b2dd03c8-39d4-4d8f-98ff-823fe69...
nagai (Hidetoshi Nagai)
05:16 PM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
I can reproduce it on 2.0.0-p576 when compiled with `-Os`, but not `-O2`:
```
$ make clean && ./configure --disab...
Anonymous
07:37 AM Bug #10290 (Feedback): segfault when calling a lambda recursively after rescuing SystemStackError
I can't reproduce following versions:
```
ruby 1.9.3p548 (2014-09-06) [x86_64-darwin13.4.0]
ruby 2.0.0p576 (2014...
hsbt (Hiroshi SHIBATA)
04:30 PM Revision 450307e3 (git): * enum.c (nmin_run): max(n) and max_by(n) returns an array in
descending order.
[ruby-core:65452] Suggested by David Grayson.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
akr (Akira Tanaka)
04:00 PM Bug #10035: Find.find no longer accepts Pathname type as argument
`ruby_2_1` branch has same problem. nagachika (Tomoyuki Chikanaga)
07:34 AM Bug #10035 (Closed): Find.find no longer accepts Pathname type as argument
Applied in changeset r47900.
----------
* lib/find.rb (Find.find): Call to_path for arguments to obtain
strings.
...
akr (Akira Tanaka)
03:49 PM Revision 63fa57e9 (git): * 2014-10-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:49 PM Revision 1f6fa320 (git): ChangeLog: fix a typo for r47897.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
03:03 PM Feature #10351: [PATCH] prevent CVE-2014-6277
Shyouhei Urabe wrote:
> Akira, isn't it obvious this patch introduce a backward incompatibility?
>
> I'd be sur...
akr (Akira Tanaka)
02:49 PM Feature #8887: min(n), max(n), min_by(n), max_by(n)
David Grayson wrote:
> Hello. I think the Ruby team should reconsider the ordering of the array returned by `max` a...
akr (Akira Tanaka)
01:00 PM Bug #10372: Problem with relative paths in update-gems makefile rule (common.mk)
I got same error with ruby trunk. hsbt (Hiroshi SHIBATA)
11:44 AM Bug #10372 (Closed): Problem with relative paths in update-gems makefile rule (common.mk)
Applied in changeset r47904.
----------
common.mk: update-gems for older BASERUBY
* common.mk (update-gems): chdir ...
nobu (Nobuyoshi Nakada)
11:23 AM Bug #10372 (Open): Problem with relative paths in update-gems makefile rule (common.mk)
Which version of ruby are you using to download the files?
Since 1.9, `-I` directories are expanded to absolute paths.
nobu (Nobuyoshi Nakada)
06:42 AM Bug #10372 (Closed): Problem with relative paths in update-gems makefile rule (common.mk)
Applied in changeset r47899.
----------
* common.mk: use relative load path for bundled_gems directory.
[Bug #1037...
hsbt (Hiroshi SHIBATA)
11:58 AM Feature #4938: Add Random.bytes [patch]
I update this patch on Ruby 2.2. hsbt (Hiroshi SHIBATA)
11:44 AM Revision f77d22d1 (git): common.mk: update-gems for older BASERUBY
* common.mk (update-gems): chdir to the target directory and then
add the tool directory to load paths, for older B...
nobu (Nobuyoshi Nakada)
11:27 AM Revision caa54c17 (git): Revert r47899
* common.mk: $(srcdir)/../tool is an invalid path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47903 b2dd03c8-...
nobu (Nobuyoshi Nakada)
10:22 AM Feature #5458: DL should be removed
Hi, tenderlove.
Please remove DL from trunk.
hsbt (Hiroshi SHIBATA)
10:10 AM Feature #10017: Add `Hash#fetch_values`
Should we get some more votes here, or should I just change my patch to use fetch_values? wojtekmach (Wojtek Mach)
10:05 AM Feature #10327: Bool/False/True module for '==='
nil も含むなら False/True よりも Falsy/Truthy の方が良いのではないでしょうか。
case で使うだけなら `:!.to_proc` と `:itself.to_proc` を使うという方法もありそう...
znz (Kazuhiro NISHIYAMA)
09:41 AM Bug #9010: ./configure --prefix= cannot handle directories with spaces
I can't reproduce with trunk and ruby_2_1 branch. hsbt (Hiroshi SHIBATA)
09:03 AM Bug #9359 (Rejected): indirect require of OpenSSL issues warning: assigned but unused variable - id
Ruby 2.0.0 was fixed at r41812. Ruby 1.9.3 was fixed at r42016.
Please use latest version of Ruby.
hsbt (Hiroshi SHIBATA)
08:53 AM Revision 8d7fa229 (git): * lib/xmlrpc/parser.rb: added new parser class using libxml-ruby gem.
[Feature #9379][ruby-core:59633]
* lib/xmlrpc/config.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47...
hsbt (Hiroshi SHIBATA)
08:31 AM Bug #9389 (Feedback): ruby crashed when crash in gsub function on LARGE string.
Ruby 1.9 is EOL status now.
Please try with Ruby 2.0 or 2.1
hsbt (Hiroshi SHIBATA)
08:10 AM Misc #10271 (Rejected): Drop exec bits from bundled gems
Thank you for your report. This issue was fixed at r47693. hsbt (Hiroshi SHIBATA)
08:08 AM Revision 22e26d35 (git): fix typo and spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:05 AM Bug #10246 (Feedback): CSV.parse(csv_string, headers: col_headers) reports undefined method `table'
hsbt (Hiroshi SHIBATA)
08:00 AM Bug #10045 (Feedback): SegFault in BigDecimal in 2.1.2p95
Could you try with latest version of Ruby 2.1? hsbt (Hiroshi SHIBATA)
07:52 AM Bug #7699 (Rejected): rubyspec failed: BigDecimal#divmod Can be reversed with * and +
I can't reproduce this issue on linux and osx.
If you still have this issue, please reopen this.
hsbt (Hiroshi SHIBATA)
07:41 AM Bug #10364 (Assigned): Malformed CSV Header Causes NoMethodError
hsbt (Hiroshi SHIBATA)
07:34 AM Revision c66506ef (git): * lib/find.rb (Find.find): Call to_path for arguments to obtain
strings.
[ruby-core:63713] [Bug #10035] Reported by Herwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47...
akr (Akira Tanaka)
07:24 AM Bug #10292 (Feedback): Rails server suddenly crashes sometimes
Could you try with latest version of Ruby 2.1? hsbt (Hiroshi SHIBATA)
06:52 AM Feature #10298 (Feedback): Array#float_sum (like math.fsum of Python)
akr (Akira Tanaka)
06:46 AM Feature #10298: Array#float_sum (like math.fsum of Python)
It is not fit to Array class because Array is not only for Float.
I think it is better to implement it as an optim...
akr (Akira Tanaka)
06:43 AM Bug #10276 (Feedback): nil/true/false に singleton メソッドを定義できてしまう
開発者会議のときに、奇妙だがそういうものとしようということになった覚えがあります。 akr (Akira Tanaka)
06:42 AM Revision 89322aaf (git): * common.mk: use relative load path for bundled_gems directory.
[Bug #10372][ruby-core:65630]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47899 b2dd03c8-39d4-4d8f-98ff-823fe6...
hsbt (Hiroshi SHIBATA)
04:46 AM Feature #10376 (Closed): [PATCH 2/2] Remove comment-out about Nuby's method
As long as I know about Nuby,
(I can suppose first rational and complex implementation from http://blade.nagaokaut...
gogotanaka (Kazuki Tanaka)
03:48 AM Feature #10225: [PATCH] *math.c: New method Math.normcdf
On Oct 11, 2014, at 11:18 PM, [email protected] wrote:

> Sorry for my late. It's hard to say but.. ruby-gsl d...
david_macmahon (David MacMahon)
12:49 AM Feature #10084: Add Unicode String Normalization to String class
Not getting any feedback on implementation details, I'm assuming that nobody cares too much, and will therefore proce... duerst (Martin Dürst)
12:40 AM Revision 4a883ff9 (git): parse.y: keep nodes linking
* parse.y (remove_duplicate_keys): should keep nodes linking not
to be collected. [Bug #10315]
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)

10/12/2014

11:45 PM Revision d5526c66 (git): * README.EXT: [DOC] fix example missing typedef with patch by
@steveklabnik [Fixes GH-739] https://github.com/ruby/ruby/pull/739
* README.EXT.jp: ditto.
git-svn-id: svn+ssh://c...
zzak (zzak _)
11:44 PM Bug #10374 (Closed): FileUtils.mv can't move broken symlinks
FileUtils.mv raises Errno::ENOENT when invoked on a broken symlink, even though the symlink does exist. Polyergic (Shad Sterling)
09:53 PM Bug #10369 (Closed): [PATCH] array.c: missing RB_GC_GUARDs
Applied in changeset r47896.
----------
array.c: swap volatile for RB_GC_GUARD
* array.c (ary_recycle_hash): add RB...
Anonymous
09:53 PM Revision eb514777 (git): array.c: swap volatile for RB_GC_GUARD
* array.c (ary_recycle_hash): add RB_GC_GUARD
(rb_ary_diff): remove volatile
[Bug #10369]
The RB_GC_GUARD seems ...
Eric Wong
08:44 PM Feature #10354: Optimize Integer#prime?
I rewrote #prime? again using a better algorithm. It's about 2x faster. This version is for `Integer`, but could be ... Anonymous
06:21 PM Revision 6769d5d5 (git): * ext/date/date_core.c: [DOC] Clean up whitespace, examples, and typos
in date_core based on a patch by @vipulnsward [Fixes GH-724]
https://github.com/ruby/ruby/pull/724
git-svn-id: sv...
zzak (zzak _)
05:39 PM Revision 37d0c873 (git): parse.y: should not eliminate value nodes
* parse.y (remove_duplicate_keys): should not simply eliminate all
value nodes, which may have side effects.
[rub...
nobu (Nobuyoshi Nakada)
05:35 PM Revision 7fa39b27 (git): * 2014-10-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:35 PM Revision cd55ddb0 (git): .gdbinit: nd_tree
* .gdbinit (nd_tree): dump node tree by dump_node().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47892 b2dd03c...
nobu (Nobuyoshi Nakada)
01:46 PM Bug #10373 (Closed): add RB_GC_GUARD in rb_mod_define_method() (r47891)
This ticket is for backport management.
r47891 added RB_GC_GUARD() in rb_mod_define_method() to protect method ent...
nagachika (Tomoyuki Chikanaga)
01:24 PM Revision e9c5e762 (git): proc.c: method body GC guard
* proc.c (rb_mod_define_method): guard method body to prevent its
method entry from GC.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
12:41 PM Bug #9890 (Closed): Empty Date class
Fixed upstream by my commit https://github.com/rubygems/rubygems/pull/948.
And now merged on trunk.
Eregon (Benoit Daloze)
09:06 AM Bug #10372 (Closed): Problem with relative paths in update-gems makefile rule (common.mk)
When I do
> make update-gems
I get the following error:
~~~
-e:1:in `require': cannot load such file -- downloa...
duerst (Martin Dürst)
07:05 AM Feature #10056: [PATCH 0/1]Add #adjugate method to matrix class
@Tomoyuki Chikanaga san
Sorry for my delay. I was little bit puzzled about how to test well.
I suppose it's bet...
gogotanaka (Kazuki Tanaka)
06:44 AM Feature #10371: Use Thread#handle_interrupt in MonitorMixin
There was an old bug that might have been related: https://bugs.ruby-lang.org/issues/4266 nerdrew (Andrew Lazarus)
06:41 AM Feature #10371 (Open): Use Thread#handle_interrupt in MonitorMixin
Now that ruby has Thread#handle_interrupt, MonitorMixin can always unlock the mutex even when a timeout exception is ... nerdrew (Andrew Lazarus)
06:18 AM Feature #10225: [PATCH] *math.c: New method Math.normcdf
@David MacMahon
Sorry for my late. It's hard to say but.. ruby-gsl doesn't look good enough.
And I suppose we'...
gogotanaka (Kazuki Tanaka)
04:48 AM Feature #10370 (Open): [PATCH] We don't need to check whether rb_block_call exists
As far as I know, `rb_iterate` replaced by `rb_block_call` API between Ruby 1.8 and 1.9.
And maintenance of Ruby v...
gogotanaka (Kazuki Tanaka)
01:39 AM Revision 13dd738d (git): * vm.c: [DOC] fix typo by @yui-knk [Fixes GH-738]
https://github.com/ruby/ruby/pull/738
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47890 b2dd03c8-39d4-4d8f-98...
zzak (zzak _)
01:18 AM Bug #10315: Override policy for duplicated keywords
Nobuyoshi Nakada wrote:
> Applied in changeset r47877.
>
> ----------
> parse.y: precedence of duplicated keys
...
whitequark (whitequark *)
12:29 AM Feature #10341: Fiber switch performance improvements
Thanks. I'll wait a few days for others to look and try it out
before committing.
normalperson (Eric Wong)
12:24 AM Revision 178bc9a0 (git): * test/lib/test/unit.rb: Hide skips by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

10/11/2014

09:00 PM Bug #10369 (Closed): [PATCH] array.c: missing RB_GC_GUARDs
~~~
[PATCH] array.c: swap volatile for RB_GC_GUARD
* array.c (ary_recycle_hash): add RB_GC_GUARD
(rb_ary_diff)...
normalperson (Eric Wong)
08:58 PM Feature #10341: Fiber switch performance improvements
Attached a revised version of patch 5 with fiber_mark_self replaced by rb_fiber_mark_self. Thanks for the hint. nome (Knut Franke)
06:09 PM Bug #10367 (Rejected): Net::HTTP read_timeout value behaves unexpectedly.
John Thomas wrote:
> I would think that the expected behavior of the Net::HTTP.new().read_timeout property be that i...
naruse (Yui NARUSE)
07:49 AM Bug #10367: Net::HTTP read_timeout value behaves unexpectedly.
This should be assigned to NARUSE, Yui (naruse) it looks like. thomas07vt (John Thomas)
07:47 AM Bug #10367 (Rejected): Net::HTTP read_timeout value behaves unexpectedly.
I would think that the expected behavior of the Net::HTTP.new().read_timeout property be that if that timeout was hit... thomas07vt (John Thomas)
05:06 PM Feature #10365: `Rational#to_a` and `Array#to_r`
Nobuyoshi Nakada wrote:
> Just a memo:
>
> ~~~ruby
> [1, 2].inject(:quo) #=> (1/2)
> ~~~
Thanks for the info...
sawa (Tsuyoshi Sawada)
03:28 PM Feature #10365: `Rational#to_a` and `Array#to_r`
Just a memo:
~~~ruby
[1, 2].inject(:quo) #=> (1/2)
~~~
nobu (Nobuyoshi Nakada)
01:17 PM Feature #10365 (Rejected): `Rational#to_a` and `Array#to_r`
And without having Rational#to_a, Array#to_r does not mean much.
So I reject this.
Matz.
matz (Yukihiro Matsumoto)
04:51 AM Feature #10365: `Rational#to_a` and `Array#to_r`
I think Nobuyoshi Nakada and Jeremy Evans are right. I will withdraw `to_a` from the proposal. sawa (Tsuyoshi Sawada)
04:39 AM Feature #10365: `Rational#to_a` and `Array#to_r`
Wouldn't the proposed Rational#to_a break backwards compatibility, as well as consistency with other numeric classes:... jeremyevans0 (Jeremy Evans)
04:34 AM Feature #10365: `Rational#to_a` and `Array#to_r`
IMHO, splatting a rational doesn't feel to make sense, so `to_a` doesn't feel appropriate. nobu (Nobuyoshi Nakada)
12:38 AM Feature #10365: `Rational#to_a` and `Array#to_r`
Sorry, I meant
2/51r.to_a # => [2, 51]
sawa (Tsuyoshi Sawada)
12:37 AM Feature #10365 (Rejected): `Rational#to_a` and `Array#to_r`
I guess people would want to extract the numerator and the denominator of an array. `to_a` would perhaps be a good na... sawa (Tsuyoshi Sawada)
04:39 PM Revision 8980a9b4 (git): * file.c: include sys/time.h only if HAVE_SYS_TIME_H
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
04:28 PM Feature #10344: [PATCH] Implement Fiber#raise
For some more sophisticated examples, see https://github.com/nome/coroutines. The library does work with vanilla Ruby... nome (Knut Franke)
03:13 PM Revision 23abeeb7 (git): * 2014-10-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:13 PM Revision 0d43e148 (git): file.c: fix compile error on Linux
* file.c (sys/time.h): include after unistd.h to get rid of
mismatch on struct stat and some system call functions ...
nobu (Nobuyoshi Nakada)
01:33 PM Revision 0d1b2755 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:33 PM Revision 916fff3b (git): * file.c (HAVE_UTIMENSAT): disabled for NativeClient.
Fixes build error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:33 PM Revision 4883d125 (git): * ext/extmk.rb: generates the rule for extinit.$(OBJEXT).
extinit.$(OBJEXT) used to be generated by the builtin rule, thus
didn't accept custom $(CC) and caused linkage erro...
yugui (Yuki Sonoda)
01:33 PM Revision 57bc5eaf (git): Fixes build failures on Portable Native Client.
Note: Some of the fixes are for newlib in general but not NaCl-specific.
* include/ruby/intern.h (rb_fd_select): dec...
yugui (Yuki Sonoda)
10:58 AM Bug #10368 (Closed): GC mark miss on bindings
以下のコードでSEGVすることがあります。
mに渡したブロックがGCされてしまうのが原因です。
~~~ruby
def m
binding
end
GC.stress = true
b = nil
tap ...
ktsj (Kazuki Tsujimoto)
06:33 AM Revision 3fedb512 (git): compile.c: fix RB_GC_GUARD usage
* compile.c (iseq_build_from_ary_exception): move RB_GC_GUARD
(iseq_build_from_ary_body): use PRIsVALUE instead of ...
Eric Wong
06:02 AM Revision 58a73d96 (git): string.c (rb_str_intern): remove unnecessary RB_GC_GUARD
Incorrectly placed, and no longer needed since r25351
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47880 b2dd03...
Eric Wong
05:50 AM Bug #10362: spawn doesn't raise exception on redirection error
On the other hand, maybe we should allow Ruby-level options to `system'
to raise, but continue hiding errors when r...
normalperson (Eric Wong)
05:02 AM Bug #10362: spawn doesn't raise exception on redirection error
Yes, it's intentional spec, but to raise errors `Process.spawn` and `Process.wait` are needed.
It may be good to add...
nobu (Nobuyoshi Nakada)
04:47 AM Revision 5fa4d562 (git): parse.y: remove duplicate keys
* parse.y (remove_duplicate_keys): remove duplicate literal keys,
i.e., symbols and strings. [ruby-core:65368] [Bu...
nobu (Nobuyoshi Nakada)
04:46 AM Revision 8771d1a0 (git): vm.c: precedence of duplicated keys
* vm.c (kwmerge_i): override existing keys by new keys.
[ruby-core:65368] [Bug #10315]
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
04:46 AM Bug #10315 (Closed): Override policy for duplicated keywords
Applied in changeset r47877.
----------
parse.y: precedence of duplicated keys
* parse.y (assocs): concatenate spla...
nobu (Nobuyoshi Nakada)
04:46 AM Revision 15716827 (git): parse.y: precedence of duplicated keys
* parse.y (assocs): concatenate splatted literal hashes. the
former key has precedence even if duplicated literal ...
nobu (Nobuyoshi Nakada)
03:57 AM Revision 81ce0e38 (git): configure.in: fix typo
* configure.in: remove extra right-bracket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47876 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)
03:35 AM Revision 377ad103 (git): Support build for Portable Native Client outside of naclports tree.
* configure.in (RUBY_NACL): automatically locate pnacl-clang.
(RUBY_PLATFORM): pnacl instead of le32-nacl.
git-svn...
yugui (Yuki Sonoda)
02:29 AM Revision e4ac591a (git): * io.c: fix issues in the last two commits. don't disable cloexec for
platforms other than NativeClient.
* ChangeLog: ditto. add entries for the last two commits.
Sat Oct 11 11:12:00 2014...
yugui (Yuki Sonoda)
02:12 AM Revision 1a14a7a1 (git): Allow failure of sighandler installation on NativeClient.
* signal.c (install_signalhandler, init_sigchld): allow failure because it
always fails with ENOSYS on NaCl.
git-s...
yugui (Yuki Sonoda)
02:11 AM Revision 69ac654c (git): Merges a patch form naclports.
* configure.in (RUBY_NACL and others): Supports PNaCl.
* dln.c: replace the old hacky dynamic loading over HTTP with ...
yugui (Yuki Sonoda)
12:50 AM Feature #10366 (Open): New inspection form for rational
Currently, rational inspection is expressed with parentheses:
(2/51)
If this were taken as a Ruby expressio...
sawa (Tsuyoshi Sawada)
12:33 AM Revision f21431e5 (git): * ext/socket/unixsocket.c: [DOC] Fix example to render in HTML
properly, with a patch by @eval [Fixes GH-733]
https://github.com/ruby/ruby/pull/733
git-svn-id: svn+ssh://ci.rub...
zzak (zzak _)

10/10/2014

11:55 PM Feature #10342: Module#deprecate_constant
Yes, `autoload` can do the trick, but it needs a separated file and warns only once. nobu (Nobuyoshi Nakada)
11:21 PM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
Eric Wong <[email protected]> wrote:
> http://80x24.org/spew/m/opt-str-lit-v1%40m.txt

Benchmark suite so fa...
normalperson (Eric Wong)
01:04 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
Current patch (named "opt_str_lit" insn):

http://80x24.org/spew/m/opt-str-lit-v1%40m.txt

One VM instruction n...
normalperson (Eric Wong)
09:59 PM Bug #9681: miniruby Bus Error at 0x3d44c4
Hello, are there any plans to fix this issue in Ruby 2.1.4? nichogl (Geoff Nichols)
07:16 PM Feature #10361 (Closed): Support open_timeout option in open-uri
Applied in changeset r47869.
----------
open-uri: accept :open_timeout option
* lib/open-uri.rb (OpenURI::Options):...
Anonymous
09:46 AM Feature #10361 (Closed): Support open_timeout option in open-uri
I found it weird that open-uri accepts read_timeout option, but not open_timeout.
I believe this option should be ad...
kirs (Kir Shatrov)
07:16 PM Revision b394484a (git): * 2014-10-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:15 PM Revision 9559b04e (git): open-uri: accept :open_timeout option
* lib/open-uri.rb (OpenURI::Options): add :open_timeout default
* (def OpenURI.open_http): check :open_timeout option...
Eric Wong
06:50 PM Bug #10362: spawn doesn't raise exception on redirection error
[email protected] wrote:
> irb(main):013:0* system 'cmd', '/c', 'echo', 'aaa', :out => File.open('bad/file.txt', 'w'...
normalperson (Eric Wong)
10:04 AM Bug #10362 (Closed): spawn doesn't raise exception on redirection error
~~~
irb(main):002:0*
irb(main):003:0*
irb(main):004:0* system 'cmd', '/c', 'echo', 'aaa'
aaa
=> true
irb(main):...
bdimych (Dmitry Bolshakov)
03:53 PM Bug #10364 (Rejected): Malformed CSV Header Causes NoMethodError
The method CSV#readline raises a "NoMethodError: undefined method 'encode' for nil:NilClass" exception when the CSV f... jisraelson (Jon Israelson)
02:31 PM Revision adfce27e (git): thread.c: fix for older gcc
* thread.c (only_if_constant): get rid of __builtin_choose_expr()
on older gcc.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
02:20 PM Revision 97d3b04c (git): ruby/ruby.h: fix for older gcc
* configure.in (__builtin_choose_expr_constant_p): in gcc 4.8 or
earlier, __builtin_choose_expr() does not consider...
nobu (Nobuyoshi Nakada)
12:45 PM Revision 50b78ebb (git): ruby/ruby.h: eliminate disabled function call
* include/ruby/ruby.h (RUBY_SAFE_LEVEL_CHECK): eliminate function
call for warning/error if not match to get rid of...
nobu (Nobuyoshi Nakada)
11:26 AM Revision 12088a7e (git): io.c: fix typo
* io.c (rb_io_make_open_file): remove useless backslash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47865 b2d...
nobu (Nobuyoshi Nakada)
09:42 AM Revision 5a77a4e7 (git): Update doc. and warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:16 AM Feature #10355: Feature request: Module#prepended?(mod)
提案する名前について `prepended?` は正しくありませんでした。`prepend?` が正しいです。訂正します。 tagomoris (Satoshi Tagomori)
05:36 AM Feature #10355: Feature request: Module#prepended?(mod)
メソッド定義が上書きされているかどうかを調べたいというより、誰がownerでもいいけど確実にprependされていてほしい、という方が要求として正確なように思います。 tagomoris (Satoshi Tagomori)
04:34 AM Feature #10355 (Feedback): Feature request: Module#prepended?(mod)
このメソッドに反対なわけではないですが、メソッド定義が上書きされているかどうかを調べたいのであれば、`UnboundMethod#owner`などを使うほうがいいのではないでしょうか。 nobu (Nobuyoshi Nakada)
04:15 AM Feature #10355: Feature request: Module#prepended?(mod)
特定メソッドの出力のフィルタをprependによって実現したい場合、親クラスで既にprependされていても子クラスでメソッド定義が上書きされればprependが実際には効かないことになります。
このような状態が起きてないかどうかを...
tagomoris (Satoshi Tagomori)
03:56 AM Feature #10355: Feature request: Module#prepended?(mod)
ある機能が prepend によって追加されているかどうかを調べたいときに Module#include? では不十分です。
継承関係の親クラスにおいて prepend されたモジュールのメソッドは、子クラスでも定義が存在する場合、...
tagomoris (Satoshi Tagomori)
03:32 AM Feature #10355 (Feedback): Feature request: Module#prepended?(mod)
あるモジュール X に対してモジュール P1 がprependされているかどうかを調べる方法があると嬉しく思います。
`Module#include?` を使うと継承関係に含まれているかどうかはわかりますが、それが対象モジュールに対...
tagomoris (Satoshi Tagomori)
05:24 AM Feature #10356: [PATCH 2/2] Remove unused internal functions
@Nobuyoshi Nakada san
I'm so sorry... I just did grep by `rb_math_cos`, `rb_math_sin`, and so on... forgot C-lang ...
gogotanaka (Kazuki Tanaka)
04:28 AM Feature #10356 (Feedback): [PATCH 2/2] Remove unused internal functions
Aren't they used in complex.c? nobu (Nobuyoshi Nakada)
03:50 AM Feature #10356 (Feedback): [PATCH 2/2] Remove unused internal functions
I wondering which is preferred, remove or comment-out.
I came to the conclusion that we can invoke such a function...
gogotanaka (Kazuki Tanaka)
03:40 AM Feature #10354: Optimize Integer#prime?
Oups, it would help if I gave the right implementation for Bignum#prime? See below
Here are some benchmarks:
Be...
marcandre (Marc-Andre Lafortune)
03:22 AM Feature #10354 (Closed): Optimize Integer#prime?
Nick Slocum shows in https://github.com/ruby/ruby/pull/736 that Integer#prime? can be optimized quite a bit.
First...
marcandre (Marc-Andre Lafortune)
03:31 AM Feature #10351: [PATCH] prevent CVE-2014-6277
On 10/10/2014 02:16 AM, Eric Wong wrote:
> [email protected] wrote:
>> This patch does not add a new feature,...
shyouhei (Shyouhei Urabe)
03:11 AM Feature #10351: [PATCH] prevent CVE-2014-6277
Akira, isn't it obvious this patch introduce a backward incompatibility?

I'd be surprised if it could passed the ...
shyouhei (Shyouhei Urabe)
03:24 AM Bug #10353 (Closed): weird behavior when dynamically adding method using instance_eval
nobu (Nobuyoshi Nakada)
02:58 AM Bug #10353 (Closed): weird behavior when dynamically adding method using instance_eval
Earlier this week I cross by a weird bug using a gem and after digging into the problem I found this issue with MRI.
...
dyegocosta (Dyego Costa)
02:34 AM Revision b44c47d1 (git): io.c: move RFile initialization
* io.c (rb_io_make_open_file): move from include/ruby/io.h, and
hide too detailed implementations.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
02:27 AM Revision 0d3d17b9 (git): * 2014-10-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:27 AM Revision 91e305bc (git): ruby/io.h: deprecate old macros
* include/ruby/io.h (rb_io_mode_flags, rb_io_modenum_flags):
deprecate old macros for compatibility for ruby 1.8 an...
nobu (Nobuyoshi Nakada)

10/09/2014

11:44 PM Bug #8543: new rb_iseq_load crash
Eric Wong wrote:
>
> Thanks for that data point, it was before I started mucking with iseq.
> Can you try inst...
spatulasnout (B Kelly)
07:51 AM Bug #8543: new rb_iseq_load crash
[email protected] wrote:
> Sorry to be the squeaky wheel, but I was wondering if there still
> might be a chance to lo...
normalperson (Eric Wong)
07:18 AM Bug #8543: new rb_iseq_load crash
Hi,
Koichi Sasada wrote:
> Thank you for your report.
>
> I'll check it (best effort. I ask my boss about prio...
spatulasnout (B Kelly)
10:38 PM Feature #10351 (Feedback): [PATCH] prevent CVE-2014-6277
akr (Akira Tanaka)
05:22 PM Feature #10351: [PATCH] prevent CVE-2014-6277
[email protected] wrote:
> This patch does not add a new feature, nor delete anything. It just
> changes the...
normalperson (Eric Wong)
05:02 PM Feature #10351: [PATCH] prevent CVE-2014-6277
It is very aggressive.
At least, you should try "make check".
```
% make check
...
./miniruby -I./lib -I. -I...
akr (Akira Tanaka)
03:44 PM Feature #10351 (Feedback): [PATCH] prevent CVE-2014-6277
~~~
From 4636ca0308f1933c9b191f36e808a8d3bcf5e88e Mon Sep 17 00:00:00 2001
From: "Urabe, Shyouhei" <shyouhei@ruby-l...
shyouhei (Shyouhei Urabe)
07:44 PM Feature #10352 (Closed): Give alias Vector#inner_product and Vector#cross_product
Give alias Vector#inner_product and Vector#cross_product which are of two method used frequently.
Vector#inner_pro...
gogotanaka (Kazuki Tanaka)
02:50 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
To generalize further, is it even necessary to do platform tests? Could the simple change:
+ Tcl_Eval(interp, "...
codebykevin (Kevin Walzer)
02:37 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
If this patch fixes the crash on Ubuntu, can it be generalized to support Ti 8.6 across platforms? Tk 8.5 is going to... codebykevin (Kevin Walzer)
02:36 PM Bug #10350 (Closed): compile error in bignum.c line 3297 with old fcc on Solaris
Applied in changeset r47860.
----------
* bignum.c (absint_numwords_generic): set an array element after
definitio...
ngoto (Naohisa Goto)
02:28 PM Bug #10350 (Closed): compile error in bignum.c line 3297 with old fcc on Solaris
Solaris上の古い fcc (Fujitsu C compiler) 5.6 にて、以下のコンパイルエラーが発生します。
~~~
"bignum.c", line 3297: error: initialization: ...
ngoto (Naohisa Goto)
02:36 PM Revision 9631e3e7 (git): * bignum.c (absint_numwords_generic): set an array element after
definition of a variable to fix compile error with older version
of fcc (Fujitsu C Compiler) 5.6 on Solaris 10 on S...
ngoto (Naohisa Goto)
10:16 AM Feature #10344: [PATCH] Implement Fiber#raise
Yes: it is missing piece to make "greenlet" port, in other words - green threads that mimics real threads.
To accomp...
funny_falcon (Yura Sokolov)
02:58 AM Feature #10344: [PATCH] Implement Fiber#raise
Do you have good example to use it?
ko1 (Koichi Sasada)
12:29 AM Feature #10344 (Closed): [PATCH] Implement Fiber#raise
While it is possible to implement this in pure Ruby (by wrapping Fiber.yield and Fiber#resume), this feels like a low... nome (Knut Franke)
07:53 AM Revision a9c42d10 (git): tcltklib.c: typed data
* ext/tk/tcltklib.c (tcltkip_type): use typed data.
* ext/tk/tcltklib.c ({call,eval,invoke}_queue_handler): hide
i...
nobu (Nobuyoshi Nakada)
07:53 AM Revision 795b8b47 (git): internal.h: optimize rb_ary_new_from_args
* internal.h (rb_ary_new_from_args): optimization by expanding
arguments in caller to get rid of va_list if possibl...
nobu (Nobuyoshi Nakada)
07:16 AM Feature #10321 (Closed): [PATCH] test st_foreach{,_check} for packed-to-unpack change
Applied in changeset r47856.
----------
st: test packed-to-unpacked transitions during iteration
The st_foreach and...
Anonymous
07:16 AM Revision 9629e7ef (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:16 AM Revision f8b219e4 (git): st: test packed-to-unpacked transitions during iteration
The st_foreach and st_foreach_check functions support transitioning
from a packed to an unpacked state during iterati...
Eric Wong
05:01 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
SASADA Koichi <[email protected]> wrote:
> On 2014/10/09 11:04, Eric Wong wrote:
> > A new putstring_for instruction m...
normalperson (Eric Wong)
04:42 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
On 2014/10/09 11:04, Eric Wong wrote:
> A new putstring_for instruction may replace all current uses of:

Sorry, ...
ko1 (Koichi Sasada)
04:11 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
Eric Wong <[email protected]> wrote:
> > Maybe start moving existing iseq_compile_each optimizations to the
> ...
normalperson (Eric Wong)
04:00 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
[email protected] wrote:
> Mine is https://github.com/nobu/ruby/tree/peephole-opt

Thanks. I also noticed your ...
normalperson (Eric Wong)
02:12 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
Eric Wong <[email protected]> wrote:
> Maybe start moving existing iseq_compile_each optimizations to the
> pee...
normalperson (Eric Wong)
04:35 AM Revision 4adfbab3 (git): array.c: fix potential memory leak
* array.c (ary_new): allocate buffer in heap after new object get
allocated successfully, to get rid of potential m...
nobu (Nobuyoshi Nakada)
03:44 AM Revision 098b0ba5 (git): benchmark/bm_hash_aref_sym*.rb: force static symbols
Dynamic symbols hash more slowly because they need extra method
dispatch in rb_any_hash. I am not sure if dynamic sy...
Eric Wong
03:39 AM Revision 3cb39668 (git): hash.c (rb_any_hash): remove unnecessary dsym check
gcc (Debian 4.7.2-5) 4.7.2 on x86 generates smaller code this
way, as it does not seem to be able to reuse the result...
Eric Wong

10/08/2014

11:41 PM Feature #10341: Fiber switch performance improvements
Cool, I can confirm the performance results on one of my systems.
I do not know the fiber code well, but it seems c...
normalperson (Eric Wong)
12:16 PM Feature #10341 (Closed): Fiber switch performance improvements
The attached patches increase performance of switches between Fibers by ~17% on my test system (Linux, gcc 4.8.2).
...
nome (Knut Franke)
10:34 PM Feature #10090: Display of program name in process listing under AIX
Ryan,
The previous patch was slightly (but critically) wrong, so please apply r47852.
ReiOdaira (Rei Odaira)
10:05 PM Feature #10090: Display of program name in process listing under AIX
Rei,
I can confirm that this patch works as expected and that `ps auxww` now reports all of argv, as expected!
Th...
mckern (Ryan McKern)
04:42 PM Feature #10090: Display of program name in process listing under AIX
Rei,
thank you for that patch! I will test it on AIX today.
mckern (Ryan McKern)
08:56 AM Feature #10090: Display of program name in process listing under AIX
Ah, I almost understood. After Process.setproctitle is called, argv[1], argv[2], etc. are no longer valid, so we must... ReiOdaira (Rei Odaira)
08:01 AM Feature #10090: Display of program name in process listing under AIX
I would like to fix this problem. It seems there is no reason this line is necessary (`missing/setproctitle.c:compat_... ReiOdaira (Rei Odaira)
10:31 PM Revision f3754f57 (git): missing/setproctitle.c: Avoid invalidating argv[1], argv[2], etc. until the first call to Process.setproctitle, because the ps command of AIX refers to the argv array. [Bug #10090]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Rei Odaira
06:43 PM Misc #10339: normalize reference to Timeout::Error
> The doc/ChangeLog-1.9.3 modification is incorrect.
Whoops, sloppy of me!
> I will remove it and commit the re...
jjb (John Bachir)
05:54 PM Feature #10077: [PATCH] Implement Matrix#row_merge and Matrix#column_merge
@Marc-Andre Lafortune
Thank you for the thorough explanation.
OK, I understand what you said, this satisfied me...
gogotanaka (Kazuki Tanaka)
04:09 PM Feature #10077: [PATCH] Implement Matrix#row_merge and Matrix#column_merge
Thank you for your comments.
I want to point out that I've added both `x.hstack(y)` and `Matrix.hstack(x, y)`, so ...
marcandre (Marc-Andre Lafortune)
04:33 AM Feature #10077: [PATCH] Implement Matrix#row_merge and Matrix#column_merge
@Marc-Andre Lafortune san
It’s hard for me to say this, but I have confidence in my implementation more than merge...
gogotanaka (Kazuki Tanaka)
05:27 PM Feature #10342: Module#deprecate_constant
The same effect can already be achieved using `autoload`, right? marcandre (Marc-Andre Lafortune)
03:54 PM Feature #10342 (Closed): Module#deprecate_constant
Proposal for `Module#deprecate_constant`, which marks constants referred by arguments as deprecated.
~~~ruby
clas...
nobu (Nobuyoshi Nakada)
05:25 PM Feature #10343: Postfix notations for `when` and `else` inside `case` statement
I'm not sure how we can implement this.. but it looks not bad for me.
What I afraid of most is ..being able to par...
gogotanaka (Kazuki Tanaka)
04:42 PM Feature #10343 (Rejected): Postfix notations for `when` and `else` inside `case` statement
In a `case` statement, the condition part (`when ...`) in the branches do not have the same length in general, and es... sawa (Tsuyoshi Sawada)
04:16 PM Bug #10248: Possible missing test or bug for Module#include and Module#prepend
I've created a patch to the MRI test suite used in JRuby to check for this behavior.
https://github.com/tduehr/jru...
tduehr (Timur Duehr)
04:10 PM Feature #9112: Make module lookup more dynamic (Including modules into a module after it has already been included)
Thanks for the input. I think that's enough that I can start working on it.
Porting the implementation I have for ...
tduehr (Timur Duehr)
04:02 AM Feature #9112: Make module lookup more dynamic (Including modules into a module after it has already been included)
The reasons behind the current behavior are as you have guessed. Besides that, it was quite difficult to implement th... matz (Yukihiro Matsumoto)
03:39 AM Feature #9112: Make module lookup more dynamic (Including modules into a module after it has already been included)
Are you just looking for the following test to pass then for 2?
~~~
def test_simple_include
obj = Object.n...
tduehr (Timur Duehr)
03:06 AM Feature #9112: Make module lookup more dynamic (Including modules into a module after it has already been included)
No.
`Module#include` doesn't change superclass of the receiver's metaclass.
nobu (Nobuyoshi Nakada)
03:53 PM Revision ecb57e43 (git): * 2014-10-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:53 PM Bug #10294 (Closed): Dir[] cannot be called with an array argument
Applied in changeset r47850.
----------
dir.c: fix rdoc [ci skip]
* dir.c (dir_s_aref): fix rdoc. `Dir.glob` allo...
nobu (Nobuyoshi Nakada)
03:47 PM Bug #10294 (Open): Dir[] cannot be called with an array argument
nobu (Nobuyoshi Nakada)
03:53 PM Revision abafe335 (git): dir.c: fix rdoc [ci skip]
* dir.c (dir_s_aref): fix rdoc. `Dir.glob` allows an array but
`Dir[]` not. the former accepts an optional parame...
nobu (Nobuyoshi Nakada)
02:49 PM Revision 26a29ffb (git): variable.c: use st_update
* variable.c (generic_ivar_set): use st_update to insert object
which does not have generic instance variables yet....
nobu (Nobuyoshi Nakada)
12:44 PM Revision b61cb94e (git): ext/win32ole/win32ole_variable.c: use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
08:44 AM Bug #10335: ssl connect using net/http on solaris x86 fails with core dump
Naohisa Goto wrote:
> FYI, in my environment (SPARC Enterprise M5000), compiling OpenSSL 1.0.1i with "-xO5" and with...
tosmi (Toni Schmidbauer)
08:27 AM Revision c8d7d587 (git): variable.c: use st_update
* variable.c (sv_i, cv_i): use st_update to insert non-existing
entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
08:27 AM Revision 02fe713b (git): constant.h: constant visibilities
* constant.h (RB_CONST_PRIVATE_P, RB_CONST_PUBLIC_P): macros to
predicate constant visibilities.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
08:23 AM Revision 1ba17d0e (git): ChangeLog: fix name and address
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:37 AM Feature #10340 (Closed): [PATCH] Improve test_syntax.rb in terms of underscore arg
Applied in changeset r47844.
----------
* test/ruby/test_syntax.rb: added syntax tests of underscore arguments.
[F...
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 34b1a991 (git): * test/ruby/test_syntax.rb: added syntax tests of underscore arguments.
[Feature #10340][ruby-core:65496]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47844 b2dd03c8-39d4-4d8f-98ff-82...
hsbt (Hiroshi SHIBATA)
07:11 AM Feature #7793: New methods on Hash
> the block for these methods should take a hash rather than an array.
Do you mean the input should be a single ar...
avit (Andrew Vit)
04:17 AM Feature #7793: New methods on Hash
Just like there are `map` and `map!`, there should be both a non-desctructive and a destructive version for this meth... sawa (Tsuyoshi Sawada)
04:42 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
Mine is https://github.com/nobu/ruby/tree/peephole-opt nobu (Nobuyoshi Nakada)
02:02 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > Another idea is to make more general approach ...
normalperson (Eric Wong)
01:52 AM Bug #8348 (Rejected): ruby hangs randomly in daemonized processes on Debian GNU/kFreeBSD
hsbt (Hiroshi SHIBATA)
01:48 AM Bug #8348: ruby hangs randomly in daemonized processes on Debian GNU/kFreeBSD
I can't reproduce this bug with ruby 2.1.3 anymore. Feel free to close it. JoeKun (Joel Lopes Da Silva)
01:38 AM Revision c88c049e (git): mkmf.rb: translate to assembler
* lib/mkmf.rb (create_makefile): add rules to translate to
assembler sources.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)

10/07/2014

10:57 PM Feature #10072: [PATCH] Implement Vector.basis
@Martin Dürst @Marc-Andre Lafortune
I agree it. Thank you so much.
gogotanaka (Kazuki Tanaka)
07:59 PM Feature #10072 (Closed): [PATCH] Implement Vector.basis
Martin Dürst wrote:
> Why not allow both? Ruby is flexible.
Indeed.
In this case though, it would be a bit of a...
marcandre (Marc-Andre Lafortune)
10:52 PM Feature #10077: [PATCH] Implement Matrix#row_merge and Matrix#column_merge
Sure, no problem. gogotanaka (Kazuki Tanaka)
08:03 PM Feature #10077 (Closed): [PATCH] Implement Matrix#row_merge and Matrix#column_merge
I've used hstack and vstack, as suggested in https://github.com/ruby/ruby/pull/344
I hope this satisfied everyone ...
marcandre (Marc-Andre Lafortune)
10:51 PM Feature #10068: [PATCH] Implement monadic operator for Vector
Thank you, too. gogotanaka (Kazuki Tanaka)
08:19 PM Feature #10068 (Closed): [PATCH] Implement monadic operator for Vector
Done.
Thanks for catching this omission, and for the patch.
marcandre (Marc-Andre Lafortune)
10:48 PM Revision 6041af45 (git): * lib/uri/generic.rb (URI#inspect): remove Object id.
URI is considered that it doesn't require id.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47842 b2dd03c8-39d4-...
naruse (Yui NARUSE)
10:44 PM Feature #10340 (Closed): [PATCH] Improve test_syntax.rb in terms of underscore arg
Add some examples in terms of underscore given as argument.
Please check it, whenever you want.
gogotanaka (Kazuki Tanaka)
08:25 PM Revision 7fcf5741 (git): ext/etc/etc.c (etc_systmpdir): set default tmplen correctly
Fixup r47826.
This fixes the following test failure for me:
TestRequire#test_tainted_loadpath [test/ruby/test_requir...
Eric Wong
08:19 PM Feature #10069 (Closed): [PATCH] Implement monadic operator for Matrix
Done.
Thanks for catching this omission, and for the patch.
marcandre (Marc-Andre Lafortune)
08:18 PM Revision a2ae7bcc (git): * lib/matrix.rb: Add @- and @+ for Matrix and Vector.
patch by gogo tanaka [#10068] [#10069]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47840 b2dd03c8-39d4-4d8f-98...
Marc-Andre Lafortune
08:16 PM Revision 49e9f471 (git): * NEWS: Move Matrix changes to the right place
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
08:08 PM Bug #10113 (Rejected): Ruby memoization behaving oddly when using hash keys with spaces
No feedback, so closing.
I can't see how this could possibly "fail".
marcandre (Marc-Andre Lafortune)
08:00 PM Feature #10073 (Closed): [PATCH] Implement Laplace expansion for matrix.
Great, thanks for the updated patch.
marcandre (Marc-Andre Lafortune)
08:00 PM Revision 9bb7dfa2 (git): normalize reference to Timeout::Error
From: John Bachir <[email protected]>
* bootstraptest/test_io.rb (assert_finish):
normalize rescue for Timeout::Error
* lib...
Eric Wong
07:56 PM Bug #10291 (Closed): Strange behaviour of splat in Ruby 2.0.0
Better test with latest releases before making a bug report...
Duplicate of #9622.
marcandre (Marc-Andre Lafortune)
07:40 PM Revision 55457701 (git): test/ruby/test_process.rb (TestProcess#test_setsid): AIX does not allow Process::getsid(pid) when pid is in a different session
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Rei Odaira
07:33 PM Revision 185c85b2 (git): test/ruby/test_rubyoptions.rb (TestRubyOptions#test_encoding): On AIX, locale_charmap is ISO-8859-1 with LANG=C. This means the source encoding of stdin is ISO-8859-1, so "invalid multibyte char" error does not occur
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Rei Odaira
07:30 PM Revision 56d57285 (git): * lib/matrix.rb: Add Matrix#laplace_expansion.
patch by gogo tanaka [#10073]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47835 b2dd03c8-39d4-4d8f-98ff-823fe6...
Marc-Andre Lafortune
07:30 PM Revision 19a1257d (git): * 2014-10-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:29 PM Revision eb9c3e71 (git): * lib/matrix.rb: Add Vector.basis.
Based on patch by gogo tanaka [#10072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47833 b2dd03c8-39d4-4d8f-98...
Marc-Andre Lafortune
07:15 PM Feature #8887: min(n), max(n), min_by(n), max_by(n)
If descending order is to adopted, a thing that has to be made clear is how to order different objects that are in a ... sawa (Tsuyoshi Sawada)
05:39 PM Feature #8887: min(n), max(n), min_by(n), max_by(n)
A strong case can be made for returning the elements in their original order. That ordering information is otherwise... jhettich (Jan Hettich)
03:20 AM Feature #8887: min(n), max(n), min_by(n), max_by(n)
Hello. I think the Ruby team should reconsider the ordering of the array returned by `max` and `max_by` when the `n`... DavidEGrayson (David Grayson)
06:52 PM Misc #10339: normalize reference to Timeout::Error
The doc/ChangeLog-1.9.3 modification is incorrect. I will remove it and
commit the rest:

normalize reference to...
normalperson (Eric Wong)
06:23 PM Misc #10339 (Closed): normalize reference to Timeout::Error
normalize references to Timeout::Error
TimeoutError is a legacy constant, Timeout::Error is the canonical constant...
jjb (John Bachir)
06:48 PM Feature #9112: Make module lookup more dynamic (Including modules into a module after it has already been included)
I understand 1. I'm missing something on 2. Does that mean my example code above should raise on including `m2`? tduehr (Timur Duehr)
06:37 PM Feature #9112: Make module lookup more dynamic (Including modules into a module after it has already been included)
See #1586
~~~
1. allow multiple inclusion
1. propagate when a module includes a module
Both have been (basica...
bitsweat (Jeremy Daer)
03:28 PM Feature #9112: Make module lookup more dynamic (Including modules into a module after it has already been included)
I'm working on a patch for this to use a live tree for module ancestry. I had already implemented this as part of Mod... tduehr (Timur Duehr)
03:30 PM Bug #10338 (Third Party's Issue): ruby script running gnome-open will crash vim, if the file open by gnome-open is handled by vim
I hit this bug recently.
Code to reproduce the error under my environment:...
chrisliaw (Chris Liaw)
02:43 PM Bug #10337 (Third Party's Issue): sqlite3/statement.rb:37: [BUG] Segmentation fault
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/sqlite3-1.3.9-x64-mingw32/lib/sqlite3/statement.rb:37: [BUG] Segmentation fau... fitmap (Justin Peal)
02:40 PM Revision 2ebafed8 (git): signal.c: get rid of deadlock by discarded signals
* signal.c (rb_f_kill): get rid of deadlock as unhandled and
discarded signals do not make interrupt_cond signaled....
nobu (Nobuyoshi Nakada)
02:34 PM Bug #10335 (Third Party's Issue): ssl connect using net/http on solaris x86 fails with core dump
Thanks.
FYI, in my environment (SPARC Enterprise M5000), compiling OpenSSL 1.0.1i with "-xO5" and with "-m64" by u...
ngoto (Naohisa Goto)
01:54 PM Bug #10335: ssl connect using net/http on solaris x86 fails with core dump
Toni Schmidbauer wrote:
> i still have to verify this with a more recent openssl version.
so i'm able to confirm ...
tosmi (Toni Schmidbauer)
01:15 PM Bug #10335: ssl connect using net/http on solaris x86 fails with core dump
Naohisa Goto wrote:
> The function "tls1_PRF" exists in libssl.so, and I still doubt if the OpenSSL is correctly ins...
tosmi (Toni Schmidbauer)
12:41 PM Bug #10335: ssl connect using net/http on solaris x86 fails with core dump
The function "tls1_PRF" exists in libssl.so, and I still doubt if the OpenSSL is correctly installed.
Could you plea...
ngoto (Naohisa Goto)
11:54 AM Bug #10335: ssl connect using net/http on solaris x86 fails with core dump
Naohisa Goto wrote:
> % ldd /opt/puppet/lib/ruby/2.1.0/i386-solaris2.10/openssl.so
libssl.so.1.0.0 => ...
tosmi (Toni Schmidbauer)
11:43 AM Bug #10335 (Feedback): ssl connect using net/http on solaris x86 fails with core dump
Could you please provide results of the following commands and
check if these are linked with intended OpenSSL and z...
ngoto (Naohisa Goto)
11:21 AM Bug #10335 (Third Party's Issue): ssl connect using net/http on solaris x86 fails with core dump
we tried to compile ruby 2.1.3 on solaris x86 with the current sun studio compiler 12.3 (for running puppet).
we ...
tosmi (Toni Schmidbauer)
02:02 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
> なかださん
修正ありがとうございます。
ただ、gdbでProcess.kill(:TRAP, $$)によるシグナルを受けた後にcontinueすると
ruby_kill内のnative_cond_waitで待機したままに...
ktsj (Kazuki Tsujimoto)
01:50 PM Feature #10320: require into module
So Wieso wrote:
> Nobuyoshi Nakada wrote:
> > It's ambiguous if Lib is a module or a class, when only the name is p...
nobu (Nobuyoshi Nakada)
12:27 PM Feature #10320: require into module
Michael Gee wrote:
> I don't like changing `require` with one argument to mean something else. It would break too m...
sowieso (So Wieso)
01:44 PM Revision 1bb2721e (git): ext/win32ole/win32ole_method.c: use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
01:37 PM Bug #10336: limit of number of arguments passed to system
OS's limitation.
Not Ruby's limitation.
akr (Akira Tanaka)
01:34 PM Bug #10336: limit of number of arguments passed to system
fine, however is the limitation imposed by my system (and tunable) or by ruby? vpereira (Victor Pereira)
12:53 PM Bug #10336 (Rejected): limit of number of arguments passed to system
POSIX systems can have a limitation on the size of arguments.
Use spawn() to raise the execption on the error of e...
akr (Akira Tanaka)
12:15 PM Bug #10336: limit of number of arguments passed to system
just adding the join() to my example.
~~~
system("ls #{files_to_be_p_as_a.join(' ')}")
# => nil
system("ls #...
vpereira (Victor Pereira)
11:36 AM Bug #10336 (Rejected): limit of number of arguments passed to system
The following code snipped stops to work with argument bigger than 2274:
~~~
files_to_be_p_as_a = Dir[File.join(...
vpereira (Victor Pereira)
12:47 PM Revision ab73066c (git): ext/win32ole/win32ole_param.c: refactoring
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
12:45 PM Revision cfd359ca (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:44 PM Revision abd78343 (git): ext/win32ole/win32ole_method.c: refactoring. add
olemethod_data_get_struct to wrap Data_Get_Struct.
ext/win32ole/win32ole_method.h: ditto.
ext/win32ole/win32ole_para...
suke (Masaki Suketa)
12:28 PM Bug #10334 (Feedback): Installation Error
Can you try `configure` with `--with-setjmp-type=setjmp`? nobu (Nobuyoshi Nakada)
06:18 AM Bug #10334 (Closed): Installation Error
Trying to install ... jjuhuajo1 (User name)
11:00 AM Feature #10084: Add Unicode String Normalization to String class
This feature is going to add one or more methods to class String (String#unicode_normalize and probably String#unicod... duerst (Martin Dürst)
08:02 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
[email protected] wrote:
> Comments for this ticket and the following tickets:
>
> > 1) [Feature #10326] optimize...
normalperson (Eric Wong)
06:14 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
How about to add .freeze to string literals?
```
i = 0
foo = "literal"
while i<6_000_000 # benchmark loop 2
...
akr (Akira Tanaka)
03:14 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
Comments for this ticket and the following tickets:
> 1) [Feature #10326] optimize: recv << "literal string"
> 2)...
ko1 (Koichi Sasada)
01:11 AM Feature #10333 (Rejected): [PATCH 3/1] optimize: "yoda literal" == string
This is a follow-up-to:
1) [Feature #10326] optimize: recv << "literal string"
2) [Feature #10329] optimize: foo ...
normalperson (Eric Wong)
03:25 AM Feature #10328: [PATCH] make OPT_SUPPORT_JOKE a proper VM option
BTW, we provide "bitblt" and "answer" insturctions as a official (joke) instructions without enabling SUPPORT_JOKE fl... ko1 (Koichi Sasada)
02:28 AM Revision aabdfeac (git): configure.in: remove arch options from CXXFLAGS
* configure.in (RUBY_UNIVERSAL_ARCH): remove arch options from
CXXFLAGS, not only CFLAGS.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
02:17 AM Revision f18065f4 (git): etc.c: try confstr on Mac OS X
* ext/etc/etc.c (etc_systmpdir): try user temporary directory by
confstr() on Mac OS X.
c.f. http://www.opensourc...
nobu (Nobuyoshi Nakada)
01:48 AM Revision 9b6a8da0 (git): configure.in: off_t for struct stat.st_size
* configure.in (struct stat.st_size): prefer off_t over int, long,
and so on. inspired by
http://www.opensource....
nobu (Nobuyoshi Nakada)
01:37 AM Revision 8a0b7f64 (git): * 2014-10-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:37 AM Revision 14ae8f63 (git): configure.in: fix quoting brackets
* configure.in (RUBY_UNIVERSAL_ARCH): fix missing quoting
brackets. incorporated from
http://www.opensource.appl...
nobu (Nobuyoshi Nakada)
01:21 AM Feature #10326: [PATCH] optimize: recv << "literal string"
[email protected] wrote:
> Future optimizations:
>
> * recv << "interpolated #{dstr}"
> (immediate free +...
normalperson (Eric Wong)
 

Also available in: Atom