Project

General

Profile

Activity

From 04/16/2017 to 04/22/2017

04/22/2017

07:04 PM Feature #13495 (Rejected): add Range#count as an alias to Range#size
For infinite ranges you can't call `count`, you have to call `size`.
~~~
irb> (1..Float::INFINITY).count # have t...
AaronLasseigne (Aaron Lasseigne)
04:26 PM Bug #13492: Integer#prime? and Prime.each might produce false positives
The proposed change breaks an essentially unrelated test.
A test for Prime::EratosthenesSieve redefines `Integer()...
stomar (Marcus Stollsteimer)
03:41 PM Bug #13493: `make realclean` removes aclocal.m4 and enc/jis/props.h
What about aclocal.m4? `make realclean` still removes the file. stomar (Marcus Stollsteimer)
11:05 AM Bug #13489 (Open): "make test-all" fails on macOS with case-sensitive filesystem
まだ、以下のテストが case-sensitive filesystem で通らないのでチケットを再オープンいたします。
(該当箇所は https://github.com/ruby/ruby/blob/9c5c31c8b7010...
watson1978 (Shizuo Fujita)
04:08 AM Bug #13491: MinGW 58400 - TestSocket_BasicSocket#test_read_write_nonblock
[email protected] wrote:
> I got same error, too.
> And it seems that r58437 has fixed it.
> I still doubt th...
normalperson (Eric Wong)
03:50 AM Bug #13491 (Closed): MinGW 58400 - TestSocket_BasicSocket#test_read_write_nonblock
I got same error, too.
And it seems that r58437 has fixed it.
I still doubt that there is something wrong with `IO#...
usa (Usaku NAKAMURA)
01:21 AM Feature #13494 (Closed): [PATCH] pack rb_method_definition_t struct
```
We only have 12 method types, so 4 bits is enough for
rb_method_type_t.
Size reductions:
- x86-64 48 ...
normalperson (Eric Wong)

04/21/2017

11:16 PM Bug #13493 (Closed): `make realclean` removes aclocal.m4 and enc/jis/props.h
Applied in changeset trunk|r58438.
----------
clean autogenerated files
* enc/depend (clean, clean-srcs): fix path ...
nobu (Nobuyoshi Nakada)
07:24 PM Bug #13493 (Closed): `make realclean` removes aclocal.m4 and enc/jis/props.h
`make realclean` removes aclocal.m4 and enc/jis/props.h, which both are under version control, and probably should be... stomar (Marcus Stollsteimer)
09:00 PM Bug #13491: MinGW 58400 - TestSocket_BasicSocket#test_read_write_nonblock
normalperson (Eric Wong) wrote:
> Can you try r58437?
Works. I guess I was staring at the case statement, I shou...
MSP-Greg (Greg L)
08:42 PM Bug #13491: MinGW 58400 - TestSocket_BasicSocket#test_read_write_nonblock
Can you try r58437? I made it call IO.select on :wait_readable
instead of using your change.
Thanks.
normalperson (Eric Wong)
05:08 PM Bug #13491: MinGW 58400 - TestSocket_BasicSocket#test_read_write_nonblock
[email protected] wrote:
> The test `TestSocket_BasicSocket#test_read_write_nonblock` was recently add via [58400...
normalperson (Eric Wong)
03:16 PM Bug #13491 (Closed): MinGW 58400 - TestSocket_BasicSocket#test_read_write_nonblock
The test `TestSocket_BasicSocket#test_read_write_nonblock` was recently add via [58400](https://bugs.ruby-lang.org/pr... MSP-Greg (Greg L)
07:12 PM Bug #13492: Integer#prime? and Prime.each might produce false positives
By monkey patching Math.sqrt to be extremely imprecise, the general effect can be seen better, i.e. for low numbers.
...
stomar (Marcus Stollsteimer)
07:06 PM Bug #13492 (Closed): Integer#prime? and Prime.each might produce false positives
There is a bug in Integer#prime? that might result in the method returning `true` for (very big) numbers that are not... stomar (Marcus Stollsteimer)
04:47 PM Feature #13420: Integer#{round,floor,ceil,truncate} should always return an integer, not a float
Nice. nobu (Nobuyoshi Nakada)
02:35 PM Feature #13420: Integer#{round,floor,ceil,truncate} should always return an integer, not a float
The patch has been updated to also include doc changes.
Any thoughts on this?
stomar (Marcus Stollsteimer)
03:27 PM Misc #13486: Using rb_thread_call_without_gvl{2}
Thinking more on this, I'm wondering if maybe I would still like to be in a situation where the compilation thread is... magaudet (Matthew Gaudet)
03:01 PM Bug #13262 (Closed): Docs of core classes (Math and others) are shadowed by mathn.rb docs
Closing. Fixed with r58432 (removing of mathn). stomar (Marcus Stollsteimer)
01:11 PM Bug #13397: #object_id should not be signed
vo.x (Vit Ondruch) wrote:
> Is there a chance to find some generic reliable solution to this? Or is it just feature ...
nobu (Nobuyoshi Nakada)
09:04 AM Bug #13397: #object_id should not be signed
Last CI build of concurrent-ruby in Fedora failed again:
https://apps.fedoraproject.org/koschei/package/rubygem-co...
vo.x (Vit Ondruch)
12:21 PM Bug #13490 (Feedback): segmentation fault while parsing object to time and adding to array
Could you try 2.4.1 (with debugging info if possible)? nobu (Nobuyoshi Nakada)
11:59 AM Bug #13490 (Closed): segmentation fault while parsing object to time and adding to array
While parsing Github API with Octokit.rb I get a reproducible segmentation fault.
I'm running Arch Linux 4.10.10:...
5chdn (Afri 5chdn)
06:16 AM Feature #10169 (Closed): It might be better to make Mathn class deprecated
Applied in changeset trunk|r58432.
----------
Removed mathn.rb from stdlib. It's deprecated from Ruby 2.2.
[Featu...
hsbt (Hiroshi SHIBATA)
06:12 AM Bug #13489 (Closed): "make test-all" fails on macOS with case-sensitive filesystem
Applied in changeset trunk|r58431.
----------
test_framework.rb: for case-sensitive filesystem
* test/mkmf/test_fra...
nobu (Nobuyoshi Nakada)
05:36 AM Bug #13489: "make test-all" fails on macOS with case-sensitive filesystem
watson1978 (Shizuo Fujita) wrote:
> 以下の変更をテストに加え `#include <Ruby/ruby.h>` を生成することで、`conftest.c` のコンパイルエラーは解消しました。
...
nobu (Nobuyoshi Nakada)
03:20 AM Bug #13489: "make test-all" fails on macOS with case-sensitive filesystem
以下の変更をテストに加え `#include <Ruby/ruby.h>` を生成することで、`conftest.c` のコンパイルエラーは解消しました。
```diff
diff --git a/test/mkmf/test...
watson1978 (Shizuo Fujita)
06:05 AM Feature #13488 (Rejected): Set Encoding.default_external to UTF-8 on Windows
Though it should be changed into UTF-8 in the future, I don't plan it in 2.5 too.
(If many people want to change, I ...
naruse (Yui NARUSE)

04/20/2017

06:44 PM Bug #13489: "make test-all" fails on macOS with case-sensitive filesystem
まだテスト内容を誤解しているようで
```
/System/Library/Frameworks/Ruby.framework/Headers/ruby.h
```
を include することは意図されていて、`#i...
watson1978 (Shizuo Fujita)
06:03 PM Bug #13489: "make test-all" fails on macOS with case-sensitive filesystem
clang はデフォルトで
- `/System/Library/Frameworks`
- `/Library/Frameworks`
の中からフレームワークを探索します。(以下のように確認できます)
```
$ cl...
watson1978 (Shizuo Fujita)
05:13 PM Bug #13489: "make test-all" fails on macOS with case-sensitive filesystem
nobu (Nobuyoshi Nakada) wrote:
> Frameworkが有効な場合は `<Foo/bar.h>` は `$(FRAMEWORKSDIR)/Foo.framework/Headers/bar.h` が読ま...
watson1978 (Shizuo Fujita)
04:42 PM Bug #13489 (Feedback): "make test-all" fails on macOS with case-sensitive filesystem
Frameworkが有効な場合は `<Foo/bar.h>` は `$(FRAMEWORKSDIR)/Foo.framework/Headers/bar.h` が読まれるものと理解しているのですが、以下のソースは `clang -Ob... nobu (Nobuyoshi Nakada)
01:53 PM Bug #13489 (Closed): "make test-all" fails on macOS with case-sensitive filesystem
普段使用している macOS は HFS+ case-sensitive でフォーマットしています。
"make test-all" をそのマシン上で実行すると以下のようなエラーが発生し、
どうやら conftest.c でのコン...
watson1978 (Shizuo Fujita)
04:02 PM Misc #13486 (Closed): Using rb_thread_call_without_gvl{2}
ko1 (Koichi Sasada)
12:54 PM Misc #13486: Using rb_thread_call_without_gvl{2}
Ok. That makes sense.
Thanks for the tip. This can probably get closed (I can't seem to do it myself).
magaudet (Matthew Gaudet)
12:40 PM Feature #13488: Set Encoding.default_external to UTF-8 on Windows
larskanis (Lars Kanis) wrote:
> The current setting is a major interoperability issue and it is neither useful nor e...
usa (Usaku NAKAMURA)
11:32 AM Feature #13488 (Closed): Set Encoding.default_external to UTF-8 on Windows
Currently Encoding.default_external is set to the local ANSI encoding of the Windows installation unless changed per ... larskanis (Lars Kanis)
11:38 AM Bug #13431: sample/drb/http0*.rb is not working.
That is different from my case.
I forgot telling you the important fact.
* I copied files `http0.rb`, `http0ser...
youchan (瑶 大崎)
10:18 AM Bug #13487 (Closed): Update ri man page (and others)
stomar (Marcus Stollsteimer)
10:12 AM Bug #13487 (Closed): Update ri man page (and others)
Backport ticket. stomar (Marcus Stollsteimer)
08:38 AM Feature #10169: It might be better to make Mathn class deprecated
Note: We need to remove Math mode from irb before unbundling mathn. So it uses mathn library.
After that, We can r...
hsbt (Hiroshi SHIBATA)
08:21 AM Feature #13334 (Closed): Removed deprecated mathn extentions.
Applied in changeset trunk|r58413.
----------
Removed deprecated extensions of mathn.
* ext/mathn/{complex,ration...
hsbt (Hiroshi SHIBATA)
08:13 AM Feature #13302 (Closed): Provide a (force) --enable-openssl switch for ruby ./configure (or similar)
Applied in changeset trunk|r58412.
----------
extmk.rb: fail for mandatory libraries
* ext/extmk.rb: fail if a mand...
nobu (Nobuyoshi Nakada)
07:44 AM Bug #10838 (Closed): ri's man page and options are wrong
Applied in changeset trunk|r58409.
----------
ri.1: fix errors in ri man page
* man/ri.1: fix some errors in ri man...
stomar (Marcus Stollsteimer)
05:56 AM Bug #13447: Improve performance of rb_eql()
Unfortunately, I'm just one of Ruby users.
Could you please commit it if you agreed the changing ?
watson1978 (Shizuo Fujita)
03:20 AM Bug #13481 (Closed): MinGW, test-all SEGV in TestLambdaParameters#test_call_simple
Glad to hear that. Thank you for your cooperation. shyouhei (Shyouhei Urabe)

04/19/2017

11:13 PM Misc #13486: Using rb_thread_call_without_gvl{2}
I'm not sure what is the problem on your situation, but you can't call `rb_thread_wait_for` when you don't holding GV... ko1 (Koichi Sasada)
08:08 PM Misc #13486 (Closed): Using rb_thread_call_without_gvl{2}
I'm currently working on adding asynchronous compilation to [Ruby+OMR][1], and I'm trying to use the existing Ruby th... magaudet (Matthew Gaudet)
07:49 PM Bug #13481: MinGW, test-all SEGV in TestLambdaParameters#test_call_simple
Building `ruby 2.5.0dev (2017-04-20 trunk 58406) [x64-mingw32]`, the issue with `TestLambdaParameters#test_call_simpl... MSP-Greg (Greg L)
05:40 PM Bug #10838: ri's man page and options are wrong
The help screen was fixed hier: https://github.com/rdoc/rdoc/pull/448
The man page is WIP and will be fixed soon.
stomar (Marcus Stollsteimer)
04:17 PM Bug #13485 (Closed): MinGW TestEnumerable#test_callcc SEGV info
Re the patch needed in MinGW builds for [TestEnumerable#test_callcc](https://github.com/ruby/ruby/blob/d6873af4bdc999... MSP-Greg (Greg L)
02:49 PM Bug #13484 (Closed): Please backport r54575 ("tkutil.c: ary can be nil") to 2.3
r54575 fixes a bug in ext/tk of Ruby 2.3, which was introduced by r53077.
Reference:
https://github.com/ruby/tk/p...
rhenium (Kazuki Yamaguchi)
02:07 PM Feature #13302 (Open): Provide a (force) --enable-openssl switch for ruby ./configure (or similar)
shyouhei (Shyouhei Urabe) wrote:
> We looked at this issue in yesterday's developer meeting.
>
> Kazuki's improve...
rhenium (Kazuki Yamaguchi)
02:05 PM Feature #13302 (Closed): Provide a (force) --enable-openssl switch for ruby ./configure (or similar)
Applied in changeset trunk|r58404.
----------
extmk.rb: improve message printed when configuring extensions fails
P...
Anonymous
12:48 PM Feature #13302: Provide a (force) --enable-openssl switch for ruby ./configure (or similar)
rhenium (Kazuki Yamaguchi) wrote:
> This is not informative about what exactly caused the failure. Actually, everyth...
nobu (Nobuyoshi Nakada)
12:05 PM Feature #12573: Introduce a straightforward way to discover whether a process is running
Ah, I see what you are saying.
`/var` isn't always available to an application, especially in a shared server situ...
will_in_wi (William Johnston)
03:54 AM Feature #12573: Introduce a straightforward way to discover whether a process is running
will_in_wi (William Johnston) wrote:
> Yup, sometimes you have access to an NFS volume, but not enough system access...
shyouhei (Shyouhei Urabe)
12:42 AM Feature #12573: Introduce a straightforward way to discover whether a process is running
Yup, sometimes you have access to an NFS volume, but not enough system access to mount things. will_in_wi (William Johnston)
12:39 AM Feature #12573: Introduce a straightforward way to discover whether a process is running
will_in_wi (William Johnston) wrote:
> Thanks for looking at this!
>
> Locking is less reliable than kill(0) in s...
shyouhei (Shyouhei Urabe)
09:35 AM Feature #13482: Improve performance of "set instance variable"
It has already ensured inlining in where vm_getivar()
(https://github.com/ruby/ruby/blob/524fb0138b773f2ed01441abbcf...
watson1978 (Shizuo Fujita)
04:31 AM Feature #13482 (Open): Improve performance of "set instance variable"
"set instance variable" will be faster around 14%.
## macOS 10.12 + clang-802.0.41
### Before
~~~
user ...
watson1978 (Shizuo Fujita)
07:38 AM Feature #13483 (Rejected): TracePoint#enable with block for thread-local trace
# Summary
`TracePoint#enable` with block should enable thread-local trace.
# Current behavior
`TracePoint#en...
ko1 (Koichi Sasada)
06:26 AM Feature #12921: Retrieve user and password for proxy from env
kosaki (Motohiro KOSAKI) wrote:
> Linux kernel expert is here.
Hi. What do your think about this:
shyouhei (Sh...
wolfer (Sergey Fedosov)
12:47 AM Feature #12921: Retrieve user and password for proxy from env
Hi
Linux kernel expert is here.
wolfer (Sergey Fedosov) wrote:
> akr (Akira Tanaka) wrote:
> > environment vari...
kosaki (Motohiro KOSAKI)
02:20 AM Bug #13319 (Closed): GC issues seen with GCC7
nobu (Nobuyoshi Nakada)
02:06 AM Feature #11302: Dir.entries and Dir.foreach without [".", ".."]
red (Arnaud Rouyer) wrote:
> Basing myself on the GNU ls util, I propose supporting an `:ignore` key in the optional...
nobu (Nobuyoshi Nakada)
01:22 AM Feature #13362: [PATCH] socket: avoid fcntl for read/write_nonblock on Linux
[email protected] wrote:
> I think we can try it to see the incompatibility is really minor or not.
> So, it should be ...
normalperson (Eric Wong)
01:08 AM Feature #13362 (Closed): [PATCH] socket: avoid fcntl for read/write_nonblock on Linux
Applied in changeset trunk|r58400.
----------
socket: avoid fcntl for read/write_nonblock on Linux
On platforms whe...
Anonymous
12:21 AM Bug #13338 (Closed): MinGW SEGV in test/ruby/test_keyword.rb svn 58034, ok in svn 58021.
hsbt (Hiroshi SHIBATA)

04/18/2017

11:55 PM Bug #13481 (Closed): MinGW, test-all SEGV in TestLambdaParameters#test_call_simple
A MinGW build of `ruby 2.5.0dev (2017-04-18 trunk 58397) [x64-mingw32]` had a silent SEGV when running [`TestLambdaP... MSP-Greg (Greg L)
11:50 PM Bug #13438: Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
ko1 (Koichi Sasada) wrote:
> On 2017/04/19 1:23, [email protected] wrote:
> > I think it should be bac...
jeremyevans0 (Jeremy Evans)
11:21 PM Bug #13438: Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
On 2017/04/19 1:23, [email protected] wrote:
> I think it should be backported to 2.4, to ensure that r...
ko1 (Koichi Sasada)
04:23 PM Bug #13438: Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
jeremyevans0 (Jeremy Evans) wrote:
> After some more analysis and research, I don't think this patch to gc.c is nece...
jeremyevans0 (Jeremy Evans)
02:09 AM Bug #13438: Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
ko1 (Koichi Sasada) wrote:
> > I think this is a problem on OpenBSD when calling posix_memalign with allocations ove...
jeremyevans0 (Jeremy Evans)
12:42 AM Bug #13438: Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
> I think this is a problem on OpenBSD when calling posix_memalign with allocations over 4KB that are slightly less t... ko1 (Koichi Sasada)
12:33 AM Bug #13438: Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
jeremyevans0 (Jeremy Evans) wrote:
> I tried increasing the size passed to `aligned_malloc` to see if I could determ...
jeremyevans0 (Jeremy Evans)
11:09 PM Feature #13362: [PATCH] socket: avoid fcntl for read/write_nonblock on Linux
I think we can try it to see the incompatibility is really minor or not.
So, it should be described in NEWS.
akr (Akira Tanaka)
07:42 PM Feature #13362: [PATCH] socket: avoid fcntl for read/write_nonblock on Linux
[email protected] wrote:
> Issue #13362 has been updated by akr (Akira Tanaka).
>
> Status changed from Open to Feedb...
normalperson (Eric Wong)
10:47 PM Bug #13367 (Closed): Fix issue for MinGW / MSYS2 builds and testing
hsbt (Hiroshi SHIBATA)
10:33 PM Bug #13338: MinGW SEGV in test/ruby/test_keyword.rb svn 58034, ok in svn 58021.
As of recent builds (2017-04-18 trunk 58397), this SEGV no longer occurs.
PLease close.
MSP-Greg (Greg L)
09:14 PM Bug #13141: Spurious Net::FTPReplyError
shugo (Shugo Maeda) wrote:
> Please retry on FTPReplyError as a workaround.
I have implemented this workaround an...
Phrogz (Gavin Kistner)
08:41 PM Bug #13390: MinGW build test-all SEGV, issue in test framework or error recovery?
This patch is no longer needed as of builds around `ruby 2.5.0dev (2017-04-17 trunk 58383) [x64-mingw32]`. It may re... MSP-Greg (Greg L)
08:32 PM Feature #13434: better method definition in C API
Also, this is a bit far off; but a potential future optimization
is even being able to use readonly markers in C me...
normalperson (Eric Wong)
08:13 PM Feature #13434: better method definition in C API
[email protected] wrote:
> Issue #13434 has been updated by naruse (Yui NARUSE).
>
>
> I agree with the concept...
normalperson (Eric Wong)
09:14 AM Feature #13434: better method definition in C API
I agree with the concept.
From r55102, rb_scan_args is statically resolved by C compilers on some environment, rb_...
naruse (Yui NARUSE)
07:16 PM Bug #13447: Improve performance of rb_eql()
Would you commit it by yourself? nobu (Nobuyoshi Nakada)
07:50 AM Bug #13447 (Closed): Improve performance of rb_eql()
This is similar with https://github.com/ruby/ruby/pull/1552
At least, Array#eql? will be faster around 30% with foll...
watson1978 (Shizuo Fujita)
06:32 PM Feature #13303: String#any? as !String#empty?
After some more thought (and the desire for a method name that could be used with other objects), I think
`#each?`...
MSP-Greg (Greg L)
04:23 PM Feature #13303: String#any? as !String#empty?
shyouhei (Shyouhei Urabe) wrote:
> Any other ideas?
Assuming we want to stay away from prefixed or concatenated...
MSP-Greg (Greg L)
06:04 AM Feature #13303: String#any? as !String#empty?
possible name of this method:
- #present? is NG because that conflicts with ActiveSupport (AS's #present? have di...
shyouhei (Shyouhei Urabe)
03:10 PM Bug #13412: Infinite recursion with define_method may cause silent SEGV or cfp consistency error
wanabe (_ wanabe) wrote:
> nobu (Nobuyoshi Nakada) wrote:
> > `ALLOCA` would be useful.
>
> Is it platform depen...
nobu (Nobuyoshi Nakada)
01:14 PM Bug #13444 (Closed): compatibility breaking change: backticks is not evalueted as shell script call while in "unless" operator context
Applied in changeset trunk|r58398.
----------
compile.c: wrong optimization
* compile.c (compile_branch_condition):...
nobu (Nobuyoshi Nakada)
11:44 AM Bug #13444: compatibility breaking change: backticks is not evalueted as shell script call while in "unless" operator context
Or putting a warning, because optimization actually changes behavior. dikderoy (Roman Bulgakov)
03:04 AM Bug #13444: compatibility breaking change: backticks is not evalueted as shell script call while in "unless" operator context
Might be worth documenting. shyouhei (Shyouhei Urabe)
12:46 AM Bug #13444: compatibility breaking change: backticks is not evalueted as shell script call while in "unless" operator context
yes, You are right, it was my mistake to use it in this way, as this example is actually pointless and always True. a... dikderoy (Roman Bulgakov)
12:36 AM Bug #13444: compatibility breaking change: backticks is not evalueted as shell script call while in "unless" operator context
`ruby` does not evaluate specific kinds of expressions at `if`/`unless` cond after r54775.
NODE_XSTR is one of them.
wanabe (_ wanabe)
12:46 PM Bug #13480 (Closed): Build error since r58390 on macOS
ko1 (Koichi Sasada)
12:39 PM Bug #13480: Build error since r58390 on macOS
Seems that this was fixed at r58394.
Thank you for quickly fixing and please close this ticket.
watson1978 (Shizuo Fujita)
12:30 PM Bug #13480 (Closed): Build error since r58390 on macOS
~~~
$ make
CC = clang
LD = ld
LDSHARED = clang -dynamic -bundle
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -We...
watson1978 (Shizuo Fujita)
12:35 PM Bug #13431: sample/drb/http0*.rb is not working.
以下のようにサーバーを起動して別端末で `ruby -e '$LOAD_PATH.push "sample"' -e 'require "drb/http0"' -e 'remote = DRbObject.new_with_uri ... znz (Kazuhiro NISHIYAMA)
11:53 AM Feature #12573: Introduce a straightforward way to discover whether a process is running
Thanks for looking at this!
Locking is less reliable than kill(0) in situations such as NFS filesystems. Not all f...
will_in_wi (William Johnston)
05:24 AM Feature #12573: Introduce a straightforward way to discover whether a process is running
We looked at this issue in yesterday's developer meeting.
Agreed that a locked pidfile is the best to achieve your...
shyouhei (Shyouhei Urabe)
09:04 AM Feature #12921: Retrieve user and password for proxy from env
akr (Akira Tanaka) wrote:
> environment variables are not visible from other users?
As far as I know, in almost e...
wolfer (Sergey Fedosov)
03:09 AM Feature #12921: Retrieve user and password for proxy from env
akr (Akira Tanaka) wrote:
> How about make white-list of OSs which environment variables are not visible from other ...
shyouhei (Shyouhei Urabe)
08:58 AM Feature #13382: [PATCH] Options for FTP PORT command
shugo (Shugo Maeda) wrote:
> The name data_listening_address= seems misleading because it doesn't
> change the addr...
osa (Shunsuke OSA)
05:52 AM Feature #13302: Provide a (force) --enable-openssl switch for ruby ./configure (or similar)
We looked at this issue in yesterday's developer meeting.
Kazuki's improved log seems good so please go ahead.
...
shyouhei (Shyouhei Urabe)
04:54 AM Bug #12834: `prepend` getting prepended even if it already exists in the ancestors chain
We looked at this issue in yesterday's developer meeting.
While discussing, we learned that prepended ancestors ar...
shyouhei (Shyouhei Urabe)
04:38 AM Bug #13249 (Assigned): Access modifiers don't have an effect inside class methods in Ruby >= 2.3
We looked at this issue in yesterday's developer meeting.
The use of private in evolve75/RubyTree shown in the des...
shyouhei (Shyouhei Urabe)
04:31 AM Bug #11567 (Closed): Segmentation fault CFUNC :gets
It seems fixed already. Try a newer version. Tell us if it still happens. shyouhei (Shyouhei Urabe)
04:29 AM Feature #13211: Hash#delete taking a splat
We looked at this issue in yesterday's developer meeting.
While extending Hash#delete is still a valid feature req...
shyouhei (Shyouhei Urabe)
04:20 AM Bug #13163: Uncaught exceptions may not be reported when Thread#report_on_exception=true and Thread#abort_on_exception=true
No objection. shyouhei (Shyouhei Urabe)
03:55 AM Bug #13445 (Closed): MinGW, GIT, revision.h, vcs.rb
hsbt (Hiroshi SHIBATA)
03:35 AM Bug #13445: MinGW, GIT, revision.h, vcs.rb
Please close.
I fixed the issue based on looking into [tool/vsc.rb](https://github.com/ruby/ruby/blob/2103197ccebe...
MSP-Greg (Greg L)
01:17 AM Bug #13446 (Closed): refinements with prepend for module has strange behavior
~~~ruby
using Module.new {
refine Enumerable do
alias :orig_sum :sum
end
}
module Enumerable
def s...
mtsmfm (Fumiaki Matsushima)

04/17/2017

11:21 PM Feature #12886: URI#merge doesn't handle paths correctly
> In other words, in the end, only absolute URIs are actionable. So we need an absolute URI eventually. The way relat... ioquatix (Samuel Williams)
09:17 AM Feature #12886: URI#merge doesn't handle paths correctly
naruse (Yui NARUSE) wrote:
> [URL Standard](https://url.spec.whatwg.org/) defines partially merging, but it is base ...
duerst (Martin Dürst)
07:34 AM Feature #12886: URI#merge doesn't handle paths correctly
[URL Standard](https://url.spec.whatwg.org/) defines partially merging, but it is base (absolute URL) + relative as y... naruse (Yui NARUSE)
06:46 AM Feature #12886: URI#merge doesn't handle paths correctly
> I wonder whether there are any other languages/libraries that implement anything like the operation you propose.
...
ioquatix (Samuel Williams)
06:07 AM Feature #12886: URI#merge doesn't handle paths correctly
I'm not suggesting that the operation is defined for all URIs, just ones where it makes sense. ioquatix (Samuel Williams)
05:34 AM Feature #12886 (Rejected): URI#merge doesn't handle paths correctly
I agree with Martin-sensei.
Defining hierarchical path operation for all URIs (including non-hierarchical URI such a...
akr (Akira Tanaka)
05:28 AM Feature #12886: URI#merge doesn't handle paths correctly
note: https://github.com/ruby/ruby/pull/1469 hsbt (Hiroshi SHIBATA)
09:42 PM Bug #13445: MinGW, GIT, revision.h, vcs.rb
PR is 1587, but link is correct... MSP-Greg (Greg L)
09:39 PM Bug #13445 (Closed): MinGW, GIT, revision.h, vcs.rb
When generating a MinGW build from a local repo, the revision.h file does not exist, and is create by [`tool/file2las... MSP-Greg (Greg L)
09:14 PM Bug #13444 (Closed): compatibility breaking change: backticks is not evalueted as shell script call while in "unless" operator context
Ruby versions from 2.0 to 2.3.x while executing shell script via backticks inside of "unless" construction had it exe... dikderoy (Roman Bulgakov)
08:36 PM Bug #13438: Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
jeremyevans0 (Jeremy Evans) wrote:
> 1) The heap overflow only happens when the operating system uses <16kb pages an...
jeremyevans0 (Jeremy Evans)
12:57 PM Bug #13412: Infinite recursion with define_method may cause silent SEGV or cfp consistency error
nobu (Nobuyoshi Nakada) wrote:
> `ALLOCA` would be useful.
Is it platform dependent?
`__builtin_alloca()` of gcc...
wanabe (_ wanabe)
03:15 AM Bug #13412: Infinite recursion with define_method may cause silent SEGV or cfp consistency error
wanabe (_ wanabe) wrote:
> 2. Ensure enough stack before `rb_vm_push_frame()` or control SIGSEGV point
> ensure_sta...
nobu (Nobuyoshi Nakada)
12:14 AM Bug #13412: Infinite recursion with define_method may cause silent SEGV or cfp consistency error
There are some choices for this "cfp consistency error".
All patches are just for description and incomplete.
1...
wanabe (_ wanabe)
11:07 AM Bug #11078: 2.2 String#unicode_normalize method does not appear in generated API docs
stomar (Marcus Stollsteimer) wrote:
> The docs _do_ appear in the generated documentation. However, **ruby-doc.org...
duerst (Martin Dürst)
09:39 AM Bug #13228 (Rejected): s[i]=c(assigning a character) for String is slower than Array on Linux
It's natural because String index access requires character counting.
If you need performance and the string is ASCI...
naruse (Yui NARUSE)
09:36 AM Bug #13228: s[i]=c(assigning a character) for String is slower than Array on Linux
Difference of locale configuration, not OS?
~~~
sorah@yuuki ~ $ uname -a
Linux yuuki 4.9.6-gentoo-r1 #1 SMP Sun ...
sorah (Sorah Fukumori)
09:33 AM Bug #13264 (Assigned): Binding#irb does not work in context of frozen object
shyouhei (Shyouhei Urabe)
09:21 AM Feature #12921: Retrieve user and password for proxy from env
How about make white-list of OSs which environment variables are not visible from other users?
If ruby runs on OS ...
akr (Akira Tanaka)
09:12 AM Feature #13303: String#any? as !String#empty?
I want to use this with &.
Therefore String#empty? is not suitable.
It must returns false if it is empty.
Note t...
naruse (Yui NARUSE)
08:29 AM Feature #9453: Return symbols of defined methods for `attr` and friends
Yes, `def` and `define_method` returns symbols now.
But it does not mean `attr_*` should return symbols. Since they ...
matz (Yukihiro Matsumoto)
07:59 AM Bug #7976 (Assigned): TracePoint call is at call point, not call site
shyouhei (Shyouhei Urabe)
07:43 AM Bug #13406 (Rejected): URI.parse
Unfortunately RFC3986 allows "'" in host.
```
authority = [ userinfo "@" ] host [ ":" port ]
host ...
naruse (Yui NARUSE)
07:36 AM Feature #12760: Optional block argument for `itself`
I believe the situation **should** be addressed just by somebody's authority.
What do you think about appointing t...
zverok (Victor Shepelev)
06:47 AM Feature #12760: Optional block argument for `itself`
how about `alter`?
at dev meeting, someone said `reform`.
ko1 (Koichi Sasada)
07:35 AM Feature #13265 (Assigned): TracePoint for basic operation redefinition
shyouhei (Shyouhei Urabe)
07:22 AM Feature #13252 (Assigned): C API for creating strings without copying
shyouhei (Shyouhei Urabe)
07:03 AM Feature #13252: C API for creating strings without copying
normalperson (Eric Wong) wrote:
> We can maybe use FL_USER{3,4,5}, and STR_NOFREE flags for
> non-embed strings a...
nobu (Nobuyoshi Nakada)
06:53 AM Misc #13230 (Rejected): Better Do ... while structure
You haven't explained the reason behind the proposal. We don't understand why you think it's "better".
If you think ...
matz (Yukihiro Matsumoto)
06:50 AM Feature #13224: Add FrozenError as a subclass of RuntimeError
OK, accepted.
Matz.
matz (Yukihiro Matsumoto)
06:47 AM Feature #13172: Method that yields object to block and returns result
I don't think "pass" is a good name for it.
Matz.
matz (Yukihiro Matsumoto)
06:30 AM Feature #13257: Symbol#singleton_class should be undef
I guess a some method such as Kernel#ancestor_modules, which returns all class/modules to search methods, supports yo... akr (Akira Tanaka)
05:58 AM Feature #2740: Extend const_missing to pass in the nesting
A long time has passed. I am a bit concerned about the situation.
Do we still need this, regarding the fact I am not...
matz (Yukihiro Matsumoto)
05:43 AM Feature #13362 (Feedback): [PATCH] socket: avoid fcntl for read/write_nonblock on Linux
I think it's possible on such platforms.
If some non-Ruby application depend on nonblocking flag set by Ruby,
suc...
akr (Akira Tanaka)
05:39 AM Bug #13188 (Assigned): Reinitialize Ruby VM.
shyouhei (Shyouhei Urabe)
05:36 AM Feature #8263 (Assigned): Support discovering yield state of individual Fibers
shyouhei (Shyouhei Urabe)
05:30 AM Bug #13443 (Closed): Improve performance of Range#{min,max}
Range#{min,max} will be faster around 30%.
### Before
~~~
user system total real...
watson1978 (Shizuo Fujita)
05:24 AM Feature #13334: Removed deprecated mathn extentions.
OK, now is the time to go.
Matz.
matz (Yukihiro Matsumoto)
05:09 AM Feature #13382: [PATCH] Options for FTP PORT command
osa (Shunsuke OSA) wrote:
> Thank you so much for your survey.
>
> If we translate java's `setReportActiveExterna...
shugo (Shugo Maeda)

04/16/2017

11:18 PM Bug #13441: building - GIT variable, ruby, rubygems tests
As long as we're discussing git and the build system, do you believe the following would help (or not break) builds o... MSP-Greg (Greg L)
09:11 AM Bug #13442 (Closed): Please backport r57359
cf. https://github.com/ruby/ruby/commit/556e3da4216c926e71dea9ce4ea4a08dcfdc1275 shyouhei (Shyouhei Urabe)
06:27 AM Bug #13440: Integer.sqrt produces wrong results
stomar (Marcus Stollsteimer) wrote:
> Do you mind when I simplify the test and also reduce the number of tested valu...
nobu (Nobuyoshi Nakada)
05:35 AM Bug #13412: Infinite recursion with define_method may cause silent SEGV or cfp consistency error
Here is another stat for association between first SEGV point and process result.
```
ruby 2.5.0dev (2017-04-16 t...
wanabe (_ wanabe)
03:16 AM Bug #13412: Infinite recursion with define_method may cause silent SEGV or cfp consistency error
I have checked the patterns with attached .patch and .sh and .rb.
This is the result at r58331.
```
ruby 2.5.0...
wanabe (_ wanabe)
03:43 AM Bug #13438: Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
jeremyevans0 (Jeremy Evans) wrote:
> ko1 (Koichi Sasada) wrote:
> > Just for confirmation.
> > Your patch doesn't ...
jeremyevans0 (Jeremy Evans)
 

Also available in: Atom