Project

General

Profile

Activity

From 03/11/2014 to 03/17/2014

03/17/2014

08:39 PM Feature #9647: File::Stat#birthtimeの追加
更に雑談をつづけてしまうと Windowsには file system tunnelling という機能があり、われわれが birthtimeという文脈で
話すファイル作成日とは若干セマンティクスが違う
http://stac...
kosaki (Motohiro KOSAKI)
07:01 PM Feature #9647: File::Stat#birthtimeの追加
Linuxの場合、媒体にはbirthtimeが記録されていて、syscallの追加が自転車置き場の議論で進まないという感じなのでctimeが帰ってくるのはうれしくないなあ。将来的に混乱が予想されるので。
いまでもrootならde...
kosaki (Motohiro KOSAKI)
05:13 AM Feature #9647 (Closed): File::Stat#birthtimeの追加
File::Stat#birthtimeを追加しませんか。
以下の様なシステムの stat(2) には st_birthtimespec があり、
(ctime = change time ではなく) ファイルを作成した日時を...
naruse (Yui NARUSE)
08:05 PM Bug #9521: [Doc] Fix error in Time.parse documentation (in lib/time)
@zzak I suggest adding the return value of Time.parse("Thu ...") to make the examples a little more clear:
```
no...
stomar (Marcus Stollsteimer)
07:55 PM Bug #9521: [Doc] Fix error in Time.parse documentation (in lib/time)
I agree, the behaviour of Time.parse *is* confusing, at least when different time zones are involved.
It can be un...
stomar (Marcus Stollsteimer)
06:52 PM Bug #9521: [Doc] Fix error in Time.parse documentation (in lib/time)
Marcus Stollsteimer wrote:
> @zak Just to consider: I used EST because
>
> * the docs for `Time` state: _All of t...
naruse (Yui NARUSE)
07:05 PM Bug #8358: TestSprintf#test_float test failure
I maintain ruby package in Linux Arch and our users reported an issue with it https://bugs.archlinux.org/task/39470
...
anatolik (Anatol Pomozov)
05:49 PM Feature #9650: String#size versus String#length
It would probably cause a lot of breakage.
More importantly, why would it be an improvement? What's wrong with usi...
marcandre (Marc-Andre Lafortune)
04:01 PM Feature #9650 (Rejected): String#size versus String#length
Hi guys !
A quick idea for the next major version :
String#size => bytes length
String#length => chars length ...
Anonymous
10:27 AM Bug #9648 (Closed): Dir.glob('../*') shows unexpected result in a symbolic linked directory on Windows
`Dir.glob('../*')` shows unexpected result if current directory is a symbolic linked directory on Windows.
This issu...
h.shirosaki (Hiroshi Shirosaki)
08:21 AM Revision d64ba37a (git): process.c: constify
* process.c (rb_execarg_new, rb_execarg_init): constify argv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4535...
nobu (Nobuyoshi Nakada)
07:42 AM Bug #4008: Rails 3::declarative_authorization::authorization_rules request => segvault ruby 1.9.2
I am concerned about what Nahi said regarding infinite recursion handling. Also, after 2.0 Koichi asked for reproduce... zzak (zzak _)
01:52 AM Bug #4008: Rails 3::declarative_authorization::authorization_rules request => segvault ruby 1.9.2
Seems stack overflow, probably.
1.9.2 has died long ago, and there are many changes for it.
I think there is no cha...
nobu (Nobuyoshi Nakada)
04:59 AM Bug #9646 (Closed): Infinite loop at Hash#each
Hashでキーを同じにすると、無限ループしてしまいます。
再現コードは
ruby -e 'h={};h[a=[]]=1;a<<1;h[[]] = 2;a.clear;h.each{|i| p i}'
です。
`st_f...
tarui (Masaya Tarui)
04:57 AM Revision d90075cb (git): json/parser/prereq.mk: use enum
* ext/json/parser/prereq.mk (parser.c): use `enum` instead of
`static const int` to get rid of unused-const-variabl...
nobu (Nobuyoshi Nakada)
04:57 AM Revision 77f3da02 (git): complex.c: remove f_inspect and f_to_s
* complex.c (nucomp_to_s): use rb_String.
* complex.c (nucomp_inspect): use rb_inspect.
* complex.c: use PRIsVALUE ...
nobu (Nobuyoshi Nakada)
04:57 AM Revision 62242162 (git): unused functions and variables
* complex.c, rational.c: remove unused functions, which are warned
by clang 5.1, and also variables only used by re...
nobu (Nobuyoshi Nakada)
04:20 AM Revision 57e55790 (git): * enumerator.c (enumerator_block_call): use PARRAY_CONST_PTR()
instead of RARRAY_PTR().
* io.c (rb_io_s_popen): ditto.
* numeric.c (num_step_size): ditto.
* vm_eval.c (rb_apply): d...
ko1 (Koichi Sasada)
04:09 AM Bug #9607: Change the full GC timing
Eric Wong wrote:
> Running this (on top of current trunk) to serve my (mostly static sites)
> on yhbt.net. Memo...
ko1 (Koichi Sasada)
04:05 AM Revision 664ee1a8 (git): configure.in: default os_version_style
* configure.in (os_version_style): get default style from
`/usr/bin/ruby` if possible.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
01:36 AM Bug #9644 (Assigned): ssl hostname verification security bug: verify_certificate_identity wildcard matching allows to much
Seems no wildcard tests. nobu (Nobuyoshi Nakada)
01:24 AM Bug #9645 (Closed): [PATCH] variable.c: avoid memory leak on const redefinition
Applied in changeset r45350.
----------
variable.c: avoid memory leak on const redefinition
* variable.c (rb_const_...
Anonymous
01:10 AM Bug #9645 (Closed): [PATCH] variable.c: avoid memory leak on const redefinition
I noticed this leak because I was making constants use ihash from Feature 9614.
I hope nobody is really affected by ...
normalperson (Eric Wong)
01:24 AM Revision c7e88f76 (git): * 2014-03-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:24 AM Revision 3e6fe414 (git): variable.c: avoid memory leak on const redefinition
* variable.c (rb_const_set): delete existing entry on redefinition
[Bug #9645]
* test/ruby/test_const.rb (test_rede...
Eric Wong
01:23 AM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
I uploaded the patch for the trunk. phasis68 (Heesob Park)

03/16/2014

10:46 PM Bug #9644 (Closed): ssl hostname verification security bug: verify_certificate_identity wildcard matching allows to much
Hi,
I'm not a ruby developer but the maintainer of the IO::Socket::SSL module in Perl. While comparing the state of ...
noxxi (Steffen Ullrich)
09:19 PM Bug #9607: Change the full GC timing
[email protected] wrote:
> File gc.patch added

Running this (on top of current trunk) to serve my (mostly static sit...
normalperson (Eric Wong)
09:00 PM Bug #9521 (Feedback): [Doc] Fix error in Time.parse documentation (in lib/time)
You raise a good point, I was only trying to avoid extra work :)
To be honest, these examples are confusing.. I'm ...
zzak (zzak _)
01:00 PM Bug #9521: [Doc] Fix error in Time.parse documentation (in lib/time)
@zak Just to consider: I used EST because
* the docs for `Time` state: _All of these examples were done using the ...
stomar (Marcus Stollsteimer)
12:34 PM Bug #9521 (Closed): [Doc] Fix error in Time.parse documentation (in lib/time)
Applied in changeset r45349.
----------
* lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521]
Bas...
zzak (zzak _)
08:52 PM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
@heesob Could you reupload your patch?
It seems the RTE migration ate your old patch :(
zzak (zzak _)
08:51 PM Bug #4008: Rails 3::declarative_authorization::authorization_rules request => segvault ruby 1.9.2
No feedback for over a year, should we close this? zzak (zzak _)
08:49 PM Feature #9642 (Assigned): Allow CCM as an authenticated encryption mode in OpenSSL::Cipher
zzak (zzak _)
02:59 AM Feature #9642 (Third Party's Issue): Allow CCM as an authenticated encryption mode in OpenSSL::Cipher
Support for GCM authenticated encryption mode has already been introduced (https://bugs.ruby-lang.org/issues/6980#cha... louism (Louis Mullie)
12:34 PM Revision 2be728c4 (git): * lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521]
Based on patch by @stomar [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45349 b2dd03c8-39d4-4d8f-98ff...
zzak (zzak _)
11:09 AM Feature #9625: Define `Pathname#/` to append to the path
I am not sure, however, if the type conversion `.to_s` is a good idea: i think it will be easier to remember if `#/` ... alexeymuranov (Alexey Muranov)
10:15 AM Bug #9505: Bug that should cause SystemStackError segfaults under Ruby 2.1
I can reproduce almost exactly this issue on 2.1.1p~~97~~ p76. Full details and steps I used to reproduce are in http... danielfone (Daniel Fone)
10:00 AM Bug #9624: Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
Mika Mannermaa wrote:
> Yup, installed rbenv and compiled ruby 2.1.1 from source.
>
> $ ruby -e 'p RbConfig::...
mmannerm (Mika Mannermaa)
09:55 AM Bug #9624: Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
Nobuyoshi Nakada wrote:
> Mika Mannermaa wrote:
> > Please note that the ruby is the system ruby compiled and insta...
mmannerm (Mika Mannermaa)
09:42 AM Bug #9624 (Third Party's Issue): Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
Mika Mannermaa wrote:
> Please note that the ruby is the system ruby compiled and installed by Apple before the clan...
nobu (Nobuyoshi Nakada)
09:23 AM Bug #9624: Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
Mika Mannermaa wrote:
>
> Would I need to compile the ruby from source to verify if this issue is detecting the cl...
mmannerm (Mika Mannermaa)
09:11 AM Bug #9624: Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
Nobuyoshi Nakada wrote:
> I might have misread this issue.
>
> Doesn't `DLDFLAGS` in rbconfig.rb start with "-Wl,...
mmannerm (Mika Mannermaa)
04:26 AM Bug #9624 (Feedback): Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
nobu (Nobuyoshi Nakada)
04:21 AM Bug #9624 (Closed): Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
Applied in changeset r45348.
----------
configure.in: insert a space for non-GCC
* configure.in (DLDFLAGS): insert ...
nobu (Nobuyoshi Nakada)
04:11 AM Bug #9624 (Feedback): Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
I might have misread this issue.
Doesn't `DLDFLAGS` in rbconfig.rb start with "-Wl,"?
Then it means CLANG 5.1 is ...
nobu (Nobuyoshi Nakada)
08:09 AM Bug #9643: error on install dir contain space .
If `build` never accept `-C` option, just `"-r#{siteconf.path}"` is enough. nobu (Nobuyoshi Nakada)
07:57 AM Bug #9643 (Assigned): error on install dir contain space .
Seems it is caused by `Gem::Ext::ExtConfBuilder.build`.
It insert `-r#{siteconf_path}` to `RUBYOPT`, and the path is...
nobu (Nobuyoshi Nakada)
06:00 AM Bug #9643 (Closed): error on install dir contain space .
invalid switch in RUBYOPT: -F (RuntimeError)
error on install dir contain space .
http://stackoverflow.com/ques...
sevk (kk kk)
04:21 AM Revision a1bb3797 (git): configure.in: insert a space for non-GCC
* configure.in (DLDFLAGS): insert a space between option and its
argument for non-GCC compilers. [ruby-core:61429]...
nobu (Nobuyoshi Nakada)

03/15/2014

11:06 PM Revision f5c2e89c (git): gc.c (objspace_xcalloc): fix GC accounting
This hopefully works on all platforms with malloc_usable_size.
This may also trigger bugs in places which did not exp...
Eric Wong
10:15 PM Revision 35664468 (git): * addr2line.c (fill_lines): return address is just after calling
address. Therefore noreturn function with tail call's return
address may be in another function.
git-svn-id: svn+s...
naruse (Yui NARUSE)
08:52 PM Bug #9543 (Closed): [Doc] Fix example in GServer documentation (lib/gserver)
Applied in changeset r45344.
----------
* lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543] [ci skip]
zzak (zzak _)
08:52 PM Revision cfab6e0f (git): * 2014-03-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:52 PM Revision 1cefad43 (git): * lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
08:17 PM Bug #9544: Ruby resolver not using autoport
Just a little follow-up:
I still think that OS should take care of that, this is a wrong layer for me.
For inst...
samu (Jakub Szafranski)
04:49 PM Feature #9585: Add Object#in? to make ruby easier to read
This probably would not be a big addition and not bother many.
I think it can be readable:
array = [1,2,3,4,5...
shevegen (Robert A. Heiler)
04:00 PM Revision 516881a1 (git): merge revision(s) r45342:
* ext/.document: remove refinement from documentable directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
nagachika (Tomoyuki Chikanaga)
02:41 PM Bug #9617: Windows7 issue with Kernel.spawn close_others => false
Documentation patch is welcome. akr (Akira Tanaka)
02:40 PM Bug #9618: Pathname#cleanpath creates mixed path separators
I like normalization in cleanpath only.
I feel normalization in initialize is too drastic.
I feel mixed separat...
akr (Akira Tanaka)
02:37 PM Feature #9625: Define `Pathname#/` to append to the path
I feel this proposal is acceptable. akr (Akira Tanaka)
12:45 PM Bug #9641 (Closed): Digest libraries are built incorrectly due to ambiguous location of "extconf.h"
This is essentially the same issue as bug #3231, "Digest Does Not Build", which has reappeared for me on CentOS 6.5 u... simonsouth (Simon South)
12:09 PM Bug #9636 (Closed): Fiddle::Importer で Segmentation fault が発生する
nobu (Nobuyoshi Nakada)
11:19 AM Bug #9636: Fiddle::Importer で Segmentation fault が発生する
Nobuyoshi Nakada wrote:
> Integerからポインタへはそのまま渡されます。
> Array#packでStringにしないと、参照渡しにはできません。
>
> ~~~ruby
> r...
kiyoteru.inoue (Kiyoteru Inoue)
10:42 AM Bug #9636 (Feedback): Fiddle::Importer で Segmentation fault が発生する
Integerからポインタへはそのまま渡されます。
Array#packでStringにしないと、参照渡しにはできません。
~~~ruby
result = @@synthe.call(input, ispeed...
nobu (Nobuyoshi Nakada)
09:56 AM Revision 1cde3077 (git): * ext/.document: remove refinement from documentable directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
04:21 AM Feature #9634: [PATCH]Symbol GC
Eric Wong wrote:
> volatile is not always enough, and tends to generate bad code.
It make sense for me.
I've re...
authorNari (Narihiro Nakamura)
02:19 AM Revision 053ead36 (git): vm_method.c: cast via VALUE
* vm_method.c (rb_add_method, rb_attr): cast between pointer and
ID via VALUE.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
02:19 AM Revision 47aa0056 (git): configure.in: fix typo
* configure.in (DLDFLAGS): fix typo, missing comma.
[ruby-core:61429] [Bug #9624]
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
02:08 AM Bug #9637 (Third Party's Issue): File "ruby.h" includes "config.h" which is not in proper location
It needs architecture dependent header files directory.
Seems an issue in `Makefile` generated by swig.
nobu (Nobuyoshi Nakada)
02:03 AM Bug #9624 (Closed): Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
Applied in changeset r45339.
----------
configure.in: check symbol resolution options
* configure.in (DLDFLAGS): ch...
nobu (Nobuyoshi Nakada)
02:03 AM Revision 1eaddcaf (git): configure.in: check symbol resolution options
* configure.in (DLDFLAGS): check for each options to control
symbol resolution. [ruby-core:61429] [Bug #9624]
git...
nobu (Nobuyoshi Nakada)
12:08 AM Revision 1b9ff04f (git): object.c: [DOC] merge rdoc
* gc.c (rb_obj_id): remove unused rdoc.
* object.c (rb_obj_hash): [DOC] merge unused rdoc from rb_obj_id()
in gc.c...
nobu (Nobuyoshi Nakada)

03/14/2014

11:02 PM Feature #9047: Alternate hash key syntax for symbols
Looks like there is a patch already for this:
https://bugs.ruby-lang.org/issues/4276
jamonholmgren (Jamon Holmgren)
10:26 PM Revision 1784c9a0 (git): * 2014-03-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:25 PM Revision b50780ea (git): * st.c (st_update): remove unnecessary assignment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
09:53 PM Bug #9639 (Rejected): libyaml not found, rubygems not functional on freebsd with ruby 2.1.0
Please see the full report here: https://github.com/sstephenson/ruby-build/issues/509
Note that ruby -v is not fun...
sharklasers (Shark Lasers)
08:44 PM Bug #9629: GC::Profiler.total_time under-reports GC time compared to dtrace GC probe measurement
One minor follow-up: it's actually not that getrusage takes a 'long' time (relative to the cost of each lazy sweep in... benweint (Ben Weintraub)
07:08 PM Feature #9638: [PATCH] limit IDs to 32-bits on 64-bit systems
sparse array is described in ruby-core:55079 normalperson (Eric Wong)
07:07 PM Feature #9638 (Rejected): [PATCH] limit IDs to 32-bits on 64-bit systems
This should allow better use of cache-friendly lookup mechanisms such as
funny_falcon's sparse array in [ruby-core:5...
normalperson (Eric Wong)
06:14 PM Bug #9637: File "ruby.h" includes "config.h" which is not in proper location
I am afraid this is by design. On Fedora, we have overcome this issue by adding header [1] and renaming the original ... vo.x (Vit Ondruch)
05:36 PM Bug #9637 (Third Party's Issue): File "ruby.h" includes "config.h" which is not in proper location
In Ruby 2.0.0p451, I using SWIG to convert some C/C++ code into Ruby. However, when using GCC to compile the C++ code... kkincade (Kameron Kincade)
05:38 PM Bug #9636: Fiddle::Importer で Segmentation fault が発生する
Fiddle::Impoter で、 Segmentation fault が発生します。
Ruby 1.8.7-p375
Ruby 1.9.3-p545
Ruby 2.1.1-p76
いずれのバージョ...
kiyoteru.inoue (Kiyoteru Inoue)
05:29 PM Bug #9636 (Rejected): Fiddle::Importer で Segmentation fault が発生する
kiyoteru.inoue (Kiyoteru Inoue)
05:14 PM Bug #8358: TestSprintf#test_float test failure
@naruse could you verify that r44896 fixed this on 32bit linux? zzak (zzak _)
04:08 PM Bug #9624 (Assigned): Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
luislavena (Luis Lavena)
10:07 AM Feature #9634: [PATCH]Symbol GC
Narihiro Nakamura wrote:
> Thank you! I fixed it and rebased.
> https://github.com/authorNari/ruby/commit/9cd060aab...
ktsj (Kazuki Tsujimoto)
06:38 AM Feature #9634: [PATCH]Symbol GC
Cool! I benchmarked your original version and it didn't notice obvious
regressions.

I noticed rb_check_id_witho...
normalperson (Eric Wong)
05:08 AM Feature #9634: [PATCH]Symbol GC
Kazuki Tsujimoto wrote:
> `make test-all` sometimes causes segmentation fault.
> I attached the backtrace log.
T...
authorNari (Narihiro Nakamura)
06:29 AM Revision 6c08032d (git): * addr2line.c (fill_lines): fetch symbol names from ELF binary's
symbol table if it is built with cc -g and not stripped.
Now ruby can show static symbols on Linux though glibc's
...
naruse (Yui NARUSE)
04:29 AM Revision 81ed2d65 (git): NEWS: change at r45327
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:29 AM Revision a6c8346d (git): rdoc-mode.el: fill indented block
* misc/rdoc-mode.el (rdoc-fill-paragraph): fill indented block by
list.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
03:09 AM Revision cac997eb (git): * doc/syntax/literals.rdoc: [DOC] Single quote strings allows escape
of backslash as well, patch by @idupree [Fixes GH-553] [ci skip]
https://github.com/ruby/ruby/pull/553
git-svn-id...
zzak (zzak _)
03:08 AM Bug #7743: protected なメソッドを respond_to? で評価した時の結果が 1.9 と異なる
おおっと、間違えて変な変更をSubmitしてしまいました。無視してください kosaki (Motohiro KOSAKI)
03:07 AM Bug #7743: protected なメソッドを respond_to? で評価した時の結果が 1.9 と異なる
Shugo Maeda wrote:
> hsbt (Hiroshi SHIBATA) wrote:
> > 以下のようなコードを 1.9.3 と 2.0.0 で実行した時の結果が異なるようです。
> (snip)
> > こ...
kosaki (Motohiro KOSAKI)
02:08 AM Feature #5825: Sweet instance var assignment in the object initializer
Does anyone have a link to discussions/logs that lead to the decision to remove instance/global variables from block ... phluid61 (Matthew Kerwin)
12:33 AM Feature #5825: Sweet instance var assignment in the object initializer
Tyler Rick wrote:
> I think CoffeeScript solved this problem quite nicely. Many constructors in CoffeeScript end up...
nobu (Nobuyoshi Nakada)
01:27 AM Revision 4a91fb7a (git): range.c: unused function
* range.c (SET_EXCL): remove no longer used function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45331 b2dd03...
nobu (Nobuyoshi Nakada)
01:27 AM Revision 3008ea28 (git): bignum.c: adjust condtions
* bignum.c (maxpow{16,32,64,128}_{exp,num}): adjust preprocessor
condtions to maxpow_in_bdigit_dbl().
git-svn-id: ...
nobu (Nobuyoshi Nakada)
01:27 AM Revision fc23374f (git): [DOC] add links to `Object#hash`
add links to `Object#hash` to each #`hash` methods rdocs.
[Fixes GH-567]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
01:27 AM Revision f53c291a (git): string.c: [DOC] rb_str_hash_m
* string.c (rb_str_hash_m): [DOC] hash value depends on the
encoding too.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
12:44 AM Feature #8572 (Closed): Fiber should be a Enumerable
nobu (Nobuyoshi Nakada)
12:08 AM Feature #8572: Fiber should be a Enumerable
Koichi Sasada wrote:
> Can I close it?
Sorry for delay. Close this please.
mattn (Yasuhiro Matsumoto)

03/13/2014

10:53 PM Bug #9629: GC::Profiler.total_time under-reports GC time compared to dtrace GC probe measurement
I think I've figured out the discrepancy here: the dtrace probes wrap around the getrusage(2) calls that GC::Profiler... benweint (Ben Weintraub)
04:57 AM Bug #9629: GC::Profiler.total_time under-reports GC time compared to dtrace GC probe measurement
I realized that these are actually measuring different things: dtrace's timestamps measure wall clock time, whereas G... benweint (Ben Weintraub)
12:40 AM Bug #9629: GC::Profiler.total_time under-reports GC time compared to dtrace GC probe measurement
Worth noting: a quick read through gc.c suggested that the missing GC sweep time might be due to me not having built ... benweint (Ben Weintraub)
12:31 AM Bug #9629: GC::Profiler.total_time under-reports GC time compared to dtrace GC probe measurement
Uploading the two files from that gist, just to keep everything in one place. benweint (Ben Weintraub)
12:30 AM Bug #9629 (Closed): GC::Profiler.total_time under-reports GC time compared to dtrace GC probe measurement
I'm trying to square the numbers that I'm getting from GC::Profiler.total_time against those that I'm getting out of ... benweint (Ben Weintraub)
09:29 PM Bug #9573: descendants of a module don't gain its future ancestors, but descendants of a class, do
Jeremy Evans wrote:
>
> Ruby doesn't have multiple inheritance. Ruby method lookup uses a linked listed, not a tree...
rits (First Last)
08:34 PM Bug #9573: descendants of a module don't gain its future ancestors, but descendants of a class, do
First Last wrote:
> What is the objection to explaining how this works?
nobu explained how it works. However, as he...
jeremyevans0 (Jeremy Evans)
07:45 PM Bug #9573: descendants of a module don't gain its future ancestors, but descendants of a class, do
First Last wrote:
> First Last wrote:
> > First Last wrote:
> > > Nobuyoshi Nakada wrote:
> > > >
> > > > `Clas...
rits (First Last)
09:08 PM Bug #9627: SMTP does not properly dot-stuff an unterminated last line
If I'm understanding this properly I think this monkey-patch is all it takes to fix it:
```
module Net
class I...
yyyc514 (Josh Goebel)
09:07 PM Bug #9594: Segfault in 2.1.1 follows cont from debugger (Rails 4.0.3, debugger 1.6.6, rspec, os x mavericks 1.9.2)
This is also happening to me when using debugger
Ruby 2.1.0, Mavericks 10.9.3 (Build 13D12), rails 4.0.3, debugger 1...
acrogenesis (Adrian Rangel)
07:10 PM Feature #5825: Sweet instance var assignment in the object initializer
I would *love* to see this feature in Ruby. Assigning an argument to an instance variable in a constructor is someth... TylerRick (Tyler Rick)
06:05 PM Bug #9593: Keyword arguments default argument assignment behaviour not consistent with optional argument
Yes, it's a very old bug.
Optional arguments have same semantics as assignments.
nobu (Nobuyoshi Nakada)
05:52 PM Bug #9593: Keyword arguments default argument assignment behaviour not consistent with optional argument
Nobu, are you *sure* this is a bug? This test has worked since 1.9.3, and this code was committed in 2008:
https...
tenderlovemaking (Aaron Patterson)
05:22 PM Bug #9593: Keyword arguments default argument assignment behaviour not consistent with optional argument
Ok! I will fix the code in Rails. Thank you! tenderlovemaking (Aaron Patterson)
07:26 AM Bug #9593: Keyword arguments default argument assignment behaviour not consistent with optional argument
Aaron Patterson wrote:
> Was this expected to break?
Yes. It was a bug.
An assignment creates a variable and it...
nobu (Nobuyoshi Nakada)
04:18 PM Revision 163f9abe (git): vm_insnhelper.c: relax arity check
* vm.c (invoke_block_from_c): add splattable argument.
* vm.c (vm_invoke_proc): disallow to splat when directly invok...
nobu (Nobuyoshi Nakada)
04:18 PM Revision 2deb6e8e (git): * 2014-03-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:18 PM Revision 03787200 (git): test/dl, test/fiddle: relax criteria
* test/dl/test_{cptr,handle}.rb, test/fiddle/test_{handle,pointer}.rb:
relax memory leak criteria.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
02:53 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
If I understand correctly what you're saying is that it would behave as below.
~~~ruby
plus = ->(x,y) {puts x+y}
...
alexrothenberg (Alex Rothenberg)
01:55 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
Today, matz and I chatted about this issue, and he decided to relax the arity check of lambda blocks.
Iff:
* just...
nobu (Nobuyoshi Nakada)
12:46 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
I created a jruby issue https://github.com/jruby/jruby/issues/1559 to track the odd "lambda" vs "->" difference. alexrothenberg (Alex Rothenberg)
12:34 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
Finally found another implementation that behaves identically to MRI. RubyMotion acts the same with "each_with_index.... alexrothenberg (Alex Rothenberg)
12:24 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
A little more digging and I found Rubinius is consistent with the lambda and -> syntax but neither raises the Argumen... alexrothenberg (Alex Rothenberg)
12:20 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
Wow this gets weirder and weirder. It seems to be happening when jruby turns a lambda created with "->" syntax into a... alexrothenberg (Alex Rothenberg)
06:50 AM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
Hmmm, in JRuby, `->(){}` and `lambda{}` are different?
~~~
$ jruby -v -e '[1].each(&lambda{p :ng})'
jruby 1.7.4 ...
nobu (Nobuyoshi Nakada)
02:54 AM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
Ruby raises `ArgumentError` at arity mismatch when yielding to a lambda, as `test/ruby/test_lambda.rb`.
```sh
$ r...
nobu (Nobuyoshi Nakada)
02:52 PM Revision 8851056b (git): * 2014-03-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:52 PM Revision 1df0e183 (git): * ext/-test-/win32/dln/libdlntest.c (dlntest_ordinal): no need to
specify export in the source file because .def file do it.
get rid of warning on linking.
git-svn-id: svn+ssh://c...
U.Nakamura
02:20 PM Feature #9634: [PATCH]Symbol GC
`make test-all` sometimes causes segmentation fault.
I attached the backtrace log.
ktsj (Kazuki Tsujimoto)
09:41 AM Feature #9634: [PATCH]Symbol GC
Wow, great work! Congrats :-) rosenfeld (Rodrigo Rosenfeld Rosas)
08:02 AM Feature #9634 (Closed): [PATCH]Symbol GC
I've written a patch to collect most symbols.
PATCH: https://github.com/authorNari/ruby/compare/4a91fb7a45f0e3c......
authorNari (Narihiro Nakamura)
01:29 PM Feature #9635: Map a hash directly to a hash
At the risk of being terse, https://bugs.ruby-lang.org/issues/7793 phluid61 (Matthew Kerwin)
12:59 PM Feature #9635: Map a hash directly to a hash
Ok, what i suggest is not a valid Ruby syntax. It should be
~~~
.hashy_map { |key, value| {key => value} }
~~~
...
lolmaus (Andrey Mikhaylov)
12:42 PM Feature #9635 (Closed): Map a hash directly to a hash
There should be a way to directly map a hash to a hash.
The current way to do it is not very graceful:
~~~
{fo...
lolmaus (Andrey Mikhaylov)
09:11 AM Bug #9618: Pathname#cleanpath creates mixed path separators
No problem, I'm glad to help.
To be honest I'm a little concerned that my report of such a minor problem might res...
daniel-rikowski (Daniel Rikowski)
08:05 AM Feature #9633 (Closed): [PATCH]Symbol GC
すみません、 ruby-devに投げちゃいました。
#9634 移動します…。
authorNari (Narihiro Nakamura)
07:59 AM Feature #9633 (Closed): [PATCH]Symbol GC
I've written a patch to collect most symbols.
PATCH: https://github.com/authorNari/ruby/compare/13834fb3c...symbol...
authorNari (Narihiro Nakamura)
03:26 AM Feature #9632 (Closed): [PATCH 0/2] speedup IO#close with linked-list from ccan
This imports the ccan linked-list (BSD-MIT licensed version of the Linux kernel
linked list). I cut out some of the...
normalperson (Eric Wong)
02:29 AM Bug #9628: Simple and isolated segfault in 2.1.0 and 2.1.1 on Mac OS X 10.9.2 (via rbenv)
Hello,
Thank you for your report.
I can shrink the reproducible script.
And I've confirmed that this issue was r...
nagachika (Tomoyuki Chikanaga)

03/12/2014

10:54 PM Bug #9628: Simple and isolated segfault in 2.1.0 and 2.1.1 on Mac OS X 10.9.2 (via rbenv)
Example code and output for 2.0.0-p451, 2.1.0 and 2.1.1:
https://gist.github.com/tmornini/9518056
Code:
~~~
...
tmornini (Tom Mornini)
10:52 PM Bug #9628 (Closed): Simple and isolated segfault in 2.1.0 and 2.1.1 on Mac OS X 10.9.2 (via rbenv)
Example code and output for 2.0.0-p451, 2.1.0 and 2.1.1:
https://gist.github.com/tmornini/9518056
Code:
#!...
tmornini (Tom Mornini)
08:10 PM Bug #9627 (Closed): SMTP does not properly dot-stuff an unterminated last line
```
str = "Date: Wed, 12 Mar 2014 16:02:26 -0400\r\nFrom: [email protected]\r\nTo: [email protected]\r\nMessage-ID: <532...
yyyc514 (Josh Goebel)
06:17 PM Bug #9593: Keyword arguments default argument assignment behaviour not consistent with optional argument
Hi,
Before r45272 this code worked:
~~~ruby
require 'minitest/autorun'
class DefaultArg < MiniTest::Unit::T...
tenderlovemaking (Aaron Patterson)
04:59 PM Bug #9622: Extra method arguments are magically swallowed after first successful call, possible method cache bug
just for memorandum. r45320 is also required to be backported. nagachika (Tomoyuki Chikanaga)
02:19 AM Bug #9622 (Closed): Extra method arguments are magically swallowed after first successful call, possible method cache bug
Applied in changeset r45321.
----------
vm_insnhelper.c: disable fastpath if splat
* vm_insnhelper.c (vm_callee_set...
nobu (Nobuyoshi Nakada)
03:49 PM Bug #9618: Pathname#cleanpath creates mixed path separators
Thanks for both of your answers!
Indeed I think I met the fact it did not work in Explorer, but if it works with t...
Eregon (Benoit Daloze)
03:14 PM Bug #9626 (Rejected): alias, prepend and super cause unexpected SystemStackError
```ruby
module M
def foo
super
end
end
class C
def foo
'C#foo'
end
prepend M
alias...
eagletmt (Kohei Suzuki)
12:58 PM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
Nobuyoshi Nakada wrote:
> It conflicts with existing behaviors too much.
I'm not surprised this caused other prob...
alexrothenberg (Alex Rothenberg)
08:31 AM Bug #9605 (Rejected): Chaining "each_with_index.detect &lambda" raises ArgumentError
It conflicts with existing behaviors too much. nobu (Nobuyoshi Nakada)
10:58 AM Feature #9625: Define `Pathname#/` to append to the path
Didn't this exist once and was later taken out? I have a dim (possibly
false) memory of this.

--
Avdi Grimm
ht...
avdi (Avdi Grimm)
09:12 AM Feature #9625 (Closed): Define `Pathname#/` to append to the path
How about borrowing this definition from *Homebrew* project:
class Pathname
def / that
join th...
alexeymuranov (Alexey Muranov)
08:33 AM Bug #9624: Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
Adding a link to a specific commit instead of trunk to prevent further commits from changing the line number: [config... mmannerm (Mika Mannermaa)
08:25 AM Bug #9624 (Third Party's Issue): Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
Currently there is a single unrecognized command-line option [configure.in:L2707](https://github.com/ruby/ruby/blob/t... mmannerm (Mika Mannermaa)
08:16 AM Revision 3be926db (git): revert [Bug #9605]
* enum.c: revert r45284, r45286, r45292. it conflicts with
existing behaviors. [Bug #9605]
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
02:19 AM Revision c28b5723 (git): vm_insnhelper.c: disable fastpath if splat
* vm_insnhelper.c (vm_callee_setup_arg): disable fastpath if splat
argument, since argc may differ for each calls.
...
nobu (Nobuyoshi Nakada)
02:18 AM Revision ab9e4d11 (git): vm_insnhelper.c: inline function
* vm_insnhelper.c (vm_callee_setup_arg): turn a macro into an
inline function.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)

03/11/2014

11:46 PM Bug #9592: Fix segfault with old OpenSSL
security fixではないですが、明らかなregressionなので1.9.3にも必要かもしれません。 nobu (Nobuyoshi Nakada)
11:37 PM Bug #9623 (Closed): warning: "named capture conflicts a local variable" does not allow loops with named captures
Given the following example:
args = []

remaining = 'a,b,c'

begin
/(?<token>[^,]*)...
drbrain (Eric Hodel)
10:28 PM Bug #9581 (Closed): `=~` defined on a subclass of `String` is sometimes ignored, and `String#=~` is called instead
Applied in changeset r45318.
----------
insns.def (opt_regexpmatch2): respect redefined match op
* insns.def (opt_r...
Anonymous
10:28 PM Revision b3a613c8 (git): * 2014-03-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:28 PM Revision 4101a569 (git): insns.def (opt_regexpmatch2): respect redefined match op
* insns.def (opt_regexpmatch2): respect redefined match op
Thanks to Sam Rawlins for the fix.
* test/ruby/test_stri...
Eric Wong
10:08 PM Bug #9622 (Closed): Extra method arguments are magically swallowed after first successful call, possible method cache bug
The following code behaviour totally change since ruby 2.0.0
~~~
class Foo
def bar(*args)
attribute(:ba...
byroot (Jean Boussier)
07:34 PM Feature #2567: Net::HTTP does not handle encoding correctly
This still seems to be a problem in Ruby 2.1.1p76. Data ends up as ASCII-8BIT even if the server specifies that it's ... meta (mathew murphy)
06:28 PM Bug #9618: Pathname#cleanpath creates mixed path separators
I could not find anything official regarding UNC paths with forward slashes in the Win32 documentation for paths (htt... daniel-rikowski (Daniel Rikowski)
05:42 PM Bug #9618: Pathname#cleanpath creates mixed path separators
It works. nobu (Nobuyoshi Nakada)
05:25 PM Bug #9618: Pathname#cleanpath creates mixed path separators
There might be the special case of UNC paths, does anyone know if UNC paths with forward slashes work on Windows? Eregon (Benoit Daloze)
11:07 AM Bug #9618: Pathname#cleanpath creates mixed path separators
I'm not sure if converting the separators in `#initialize` is the best way to go. I can see the advantages, but I can... daniel-rikowski (Daniel Rikowski)
01:02 AM Bug #9618: Pathname#cleanpath creates mixed path separators
Agree.
~~~diff
diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c
index 3db97fc..a68ecd2 100644
---...
nobu (Nobuyoshi Nakada)
04:52 PM Feature #9620: Rename "curry" to "schönfinkelize"
+1 to mame's proposal Anonymous
03:59 PM Feature #9620: Rename "curry" to "schönfinkelize"
http://en.wikipedia.org/wiki/Moses_Sch%C3%B6nfinkel
> While Curry attributed the concept to Schönfinkel, it had al...
mame (Yusuke Endoh)
02:11 PM Feature #9620: Rename "curry" to "schönfinkelize"
The deep benefit of this improvement would be that in this way, the real first author of this operation, Moses Schönf... Anonymous
01:59 PM Feature #9620 (Rejected): Rename "curry" to "schönfinkelize"
I have just been able to understand the difference between currying and partial application. With this newly acquired... Anonymous
02:00 PM Feature #9548: Module curry
Having studied up the theory, I have added a feature request that would enable to misuse `curry` for partial applicat... Anonymous
01:33 PM Revision c1f1b931 (git): * ext/.document: add objspace/objspace_dump.c to document file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
01:23 PM Revision b204fe18 (git): * test/objspace/test_objspace.rb (TestObjSpace#test_dump_uninitialized_file):
remove dependency on json library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45316 b2dd03c8-39d4-4d8f-98ff-8...
ktsj (Kazuki Tsujimoto)
11:43 AM Bug #9617: Windows7 issue with Kernel.spawn close_others => false
Lionel PERRIN wrote:
> * Is there a technical reason why it is not supported ?
>
> I've looked at the ruby source...
usa (Usaku NAKAMURA)
11:14 AM Bug #9617: Windows7 issue with Kernel.spawn close_others => false
Thanks for the answer.
Two last questions:
* Is there a technical reason why it is not supported ?
I've look...
lionel_perrin (Lionel PERRIN)
05:23 AM Bug #8860: 64-bit x86 ruby 1.9.3-p448 on Solaris core dumps on bug4950 test case
The latest version is Ruby 1.9.3-p545. Please try the latest version.
https://www.ruby-lang.org/en/news/2014/02/24/r...
ngoto (Naohisa Goto)
05:16 AM Revision d4ab41e3 (git): test_hash.rb: refine a test
* test/ruby/test_hash.rb (test_exception_in_rehash): do not run twice
since this test does not use @cls. making a ...
nobu (Nobuyoshi Nakada)
05:16 AM Revision dc527256 (git): envutil.rb: do not check RSS by default
* test/ruby/envutil.rb (Test::Test#assert_no_memory_leak): do not
check RSS by default, enabled by rss optional key...
nobu (Nobuyoshi Nakada)
04:22 AM Revision 5543a55b (git): * test: get rid of warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:55 AM Bug #9619 (Closed): Fix README.EXT
Applied in changeset r45312.
----------
README.EXT{,.ja}: update ruby_options and ruby_run_node
* README.EXT{,.ja} ...
nobu (Nobuyoshi Nakada)
01:55 AM Revision af59443a (git): README.EXT{,.ja}: update ruby_options and ruby_run_node
* README.EXT{,.ja} (Appendix B): update contents of `ruby_options`
and replace `ruby_run` with `ruby_run_node`. ba...
nobu (Nobuyoshi Nakada)
01:25 AM Revision 89dff271 (git): r45298 fix trivial bug
$initial_size must be a size, not a status
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45311 b2dd03c8-39d4-4d8...
naruse (Yui NARUSE)
01:18 AM Revision ef0ce95d (git): fix typo on previous commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:02 AM Revision e30a140d (git): fix configure for r45306
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
 

Also available in: Atom