Project

General

Profile

Activity

From 04/19/2017 to 04/25/2017

04/25/2017

08:20 PM Revision 6e5e1b37 (git): thread_sync.c (rb_mutex_lock): spelling fix [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
07:34 PM Revision c0fff4e0 (git): Use require to load rbconfig in default.mspec
* Otherwise it would be loaded twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58484 b2dd03c8-39d4-4d8f-98f...
Eregon (Benoit Daloze)
07:13 PM Revision 8a66d135 (git): suppress_warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:50 PM Revision 301d669a (git): add timeout.
* test/ruby/test_trace.rb (test_trace_stackoverflow): sometimes this test
was stopped forever and killed by test pr...
ko1 (Koichi Sasada)
05:24 PM Revision 44011ee0 (git): * 2017-04-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:24 PM Revision de1a9d65 (git): revert r58478 and r58479 because they do not support not in-place build
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
03:12 PM Feature #13495: add Range#count as an alias to Range#size
Sorry, I got confused. `Enumerator` has a `size` method, not `Enumerable`. marcandre (Marc-Andre Lafortune)
02:49 PM Feature #13495: add Range#count as an alias to Range#size
> PS: "Enumerable does not have size" is incorrect. Enumerable have a size method, although it may return nil if the ... AaronLasseigne (Aaron Lasseigne)
05:14 AM Feature #13495: add Range#count as an alias to Range#size
PS: "Enumerable does not have size" is incorrect. `Enumerable` have a `size` method, although it may return `nil` if ... marcandre (Marc-Andre Lafortune)
05:11 AM Feature #13495 (Rejected): add Range#count as an alias to Range#size
`size` calculates the size lazily, without enumerating. If it can't, it returns `nil`.
`count` calculates the size b...
marcandre (Marc-Andre Lafortune)
12:45 PM Revision fc8a2c2f (git): Use require_relative to load rbconfig in default.mspec
* Otherwise it would load it twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58479 b2dd03c8-39d4-4d8f-98ff-...
Eregon (Benoit Daloze)
12:45 PM Revision 6d989921 (git): No need to pass the config file to mspec as mspec finds it itself
* It would also #load (because .mspec cannot be #require'd) it twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
Eregon (Benoit Daloze)
12:45 PM Revision 7a7744a4 (git): Remove useless else which produced a warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
12:10 PM Feature #12944: Change Kernel#warn to call Warning.warn
I attach a patch based on Jeremy "Use rb_ary_join" patch, rebased to current trunk.
I think using args.join("\n") ...
Eregon (Benoit Daloze)
11:47 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
All rb_rescue() hiding user exceptions and/or re-raising a generic errors (mentioned above) have now been removed.
...
Eregon (Benoit Daloze)
11:42 AM Feature #7688 (Closed): Error hiding with rb_rescue() on Comparable#==, #coerce and others
Applied in changeset trunk|r58474.
----------
no longer rescue exceptions in numeric comparison operations
* numeri...
Eregon (Benoit Daloze)
11:42 AM Revision ead61f4a (git): no longer rescue exceptions of #<=> when initializing a Range
* range.c (range_init): no longer hide the user exception
with a ArgumentError, just let the user exception go thro...
Eregon (Benoit Daloze)
11:42 AM Revision 413cece5 (git): no longer rescue exceptions of #coerce in Integer#step
* numeric.c (num_step_negative_p): no more error hiding.
* test/ruby/test_float.rb, test/ruby/test_numeric.rb:
foll...
Eregon (Benoit Daloze)
11:42 AM Revision bc1827e8 (git): no longer rescue exceptions in numeric comparison operations
* numeric.c (do_coerce): no more error hiding.
* test/ruby/test_numeric.rb: follow the change.
[Feature #7688]
git...
Eregon (Benoit Daloze)
09:23 AM Revision 33f66084 (git): Import gemspec
Import gemspec and test file from ruby/webrick.
* webrick.gemspec: Update files and dependency for standalone gem....
hsbt (Hiroshi SHIBATA)
09:10 AM Feature #13504 (Closed): Document the Warning module and warn method
Applied in changeset trunk|r58472.
----------
Document the Warning module and warn method
* error.c (Warning): add ...
Eregon (Benoit Daloze)
09:10 AM Revision 905d5277 (git): Document the Warning module and warn method
* error.c (Warning): add documentation. [Feature #13504]
Author: Jeremy Evans <[email protected]>
git-svn-id: s...
Eregon (Benoit Daloze)
08:17 AM Bug #13505 (Closed): circular require prints the backtrace directly to stderr
Applied in changeset trunk|r58471.
----------
load.c: backtrace of circular require
* load.c (load_lock): print bac...
nobu (Nobuyoshi Nakada)
08:17 AM Revision 5ad56e7c (git): load.c: backtrace of circular require
* load.c (load_lock): print backtrace of circular require via
`Warning.warn` [ruby-core:80850] [Bug #13505]
git-sv...
nobu (Nobuyoshi Nakada)
07:55 AM Revision 0adeb1c8 (git): Import gemspec and test file changes from ruby/gdbm.
* gdbm.gemspec: Update basic configuraiton for standalone gdbm gem.
* test/gdbm/test_gdbm.rb: In standalone environ...
hsbt (Hiroshi SHIBATA)
07:23 AM Feature #13508 (Assigned): How remove/refactor code related mathn library.
I removed mathn library at r58413 and r58432.
I have some concerns related mathn library. This issue is reminder f...
hsbt (Hiroshi SHIBATA)
07:20 AM Feature #13507 (Open): Improve performance of some Complex methods where call Numeric#real? internally
Some Complex methods call Numeric#real? at f_real_p() using rb_funcall().
This patch will provide optimization in f_...
watson1978 (Shizuo Fujita)
06:51 AM Revision 3c778545 (git): * 2017-04-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:51 AM Revision 76686416 (git): fix macro expansion bug
This previous "key" macro argument accidentally replaced `(ptr)->key` part.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
shyouhei (Shyouhei Urabe)
05:33 AM Feature #13502: remove unused Array#to_s implementation
Thanks for the feedback Eric. I'll work on that. colby (Colby Swandale)
05:25 AM Feature #13506 (Open): Improve performance of Complex#{+,-,*,/,**,abs2}
At the internal calculation in Complex methods,
it will just call Ruby #{+,-,*,/} methods via rb_funcall().
This ...
watson1978 (Shizuo Fujita)

04/24/2017

08:59 PM Feature #13504: Document the Warning module and warn method
Thank you, this looks great.
I'll be happy to commit this tomorrow.
Eregon (Benoit Daloze)
06:44 PM Feature #13504 (Closed): Document the Warning module and warn method
When I originally added the Warning module, I neglected to added RDoc documentation for it. Apologies for that, here... jeremyevans0 (Jeremy Evans)
08:49 PM Feature #12944: Change Kernel#warn to call Warning.warn
Also, similar to #13505, I think a single warning String (containing newlines) should be sent to Warning.warn.
Other...
Eregon (Benoit Daloze)
08:40 PM Feature #12944: Change Kernel#warn to call Warning.warn
It seems it is a compatibility issue.
For instance Thread.exclusive warning is now printed incorrectly:
~~~
$ ru...
Eregon (Benoit Daloze)
08:45 PM Bug #13505 (Closed): circular require prints the backtrace directly to stderr
The "loading in progress, circular require considered harmful" warning prints the caller backtrace directly to stderr... Eregon (Benoit Daloze)
06:29 PM Feature #13495: add Range#count as an alias to Range#size
I should have considered that. I was focused on the use case at hand. :(
I still feel like there needs to be a way...
AaronLasseigne (Aaron Lasseigne)
07:22 AM Feature #13495: add Range#count as an alias to Range#size
we can't do that.
Enumerable#count does can take a block with you can define that you want to count.
~~~ ruby
(1...
Hanmac (Hans Mackowiak)
06:12 PM Feature #12299: Add Warning module for customized warning handling
> Precisely because it makes it easier to define Warning.warn manually and call super to get default behavior.
I s...
Eregon (Benoit Daloze)
12:38 AM Feature #12299: Add Warning module for customized warning handling
Eregon (Benoit Daloze) wrote:
> This feature is great, thank you for introducing it!
>
> A couple things I notice...
jeremyevans0 (Jeremy Evans)
04:40 PM Bug #13500: MinGW TestArity#test_proc_err_mess stops testing
This morning, a MinGW build of
```
ruby 2.5.0dev (2017-04-24 trunk 58467) [x64-mingw32]
```
completed `test-a...
MSP-Greg (Greg L)
03:46 PM Bug #13489: "make test-all" fails on macOS with case-sensitive filesystem
パッチをあててみましたが、状況は変わらないようです。
Kernel.open が呼び出す rb_file_open_generic() の rb_sysopen() で「例外が発生する/発生しない」というのが
問題なのかと思っ...
watson1978 (Shizuo Fujita)
02:26 PM Bug #13489: "make test-all" fails on macOS with case-sensitive filesystem
これでどうでしょうか。
```diff
diff --git i/dir.c w/dir.c
index e3099f4973..b02640e912 100644
--- i/dir.c
+++ w/dir.c
@@...
nobu (Nobuyoshi Nakada)
11:52 AM Revision 4cf6302d (git): tool/git-refresh: fix branch operations
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:07 AM Bug #13503: Improve performance of some Time & Rational methods
### Pull Req
https://github.com/ruby/ruby/pull/1596
watson1978 (Shizuo Fujita)
08:36 AM Bug #13503 (Closed): Improve performance of some Time & Rational methods
Some Time methods will call internal quov() function.
quov() calls Rational#quo -> f_muldiv() -> i_gcd() in rational...
watson1978 (Shizuo Fujita)
06:17 AM Revision 80f50674 (git): parse.y: args tail at error
* parse.y (new_args_tail_gen): abandon parsing arguments after
error. reported by ilsani Martino Sani (ilsani) at
...
nobu (Nobuyoshi Nakada)
06:17 AM Revision 7c23609e (git): parse.y: rb_parser_fatal
* parse.y (rb_parser_fatal): abort compilation on internal parser
error. rb_bug() is generic use but not useful fo...
nobu (Nobuyoshi Nakada)
05:08 AM Feature #13502: remove unused Array#to_s implementation
Thanks for the report. I think we need to keep an alias for
rb_ary_to_s in intern.h for backwards-compatibility. ...
normalperson (Eric Wong)
04:53 AM Feature #13502 (Open): remove unused Array#to_s implementation
Hello Ruby Team!
First time i've make a commit request, hopefully not the last :)
While browsing the src of rub...
colby (Colby Swandale)
04:20 AM Revision 5b3c9fc9 (git): Get rid of unnecessary GCC extension
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:40 AM Revision a15fd1d9 (git): revert newhash refactoring
We need to fix GC bug before merging this. Revert revisions
58452, 58435, 58434, 58428, 58427 in this order.
git-s...
shyouhei (Shyouhei Urabe)

04/23/2017

11:05 PM Bug #13501 (Closed): Process.kill behaviour for negative pid is not documented and may be wrong
Following code will not fail and will print "TERM caught by NN" both for spawned and forked processes:
~~~ ruby
p...
toy (Ivan Kuchin)
10:30 PM Bug #13500 (Closed): MinGW TestArity#test_proc_err_mess stops testing
With MinGW build of `ruby 2.5.0dev (2017-04-24 trunk 58462) [x64-mingw32]`, both test-all and an external test stop i... MSP-Greg (Greg L)
08:22 PM Feature #12299: Add Warning module for customized warning handling
This feature is great, thank you for introducing it!
A couple things I noticed while using it for ruby/spec:
http...
Eregon (Benoit Daloze)
04:56 PM Bug #13499 (Closed): need to backport r58453
バックポート管理用チケットです。
(ついでに r58454 も、かな)
usa (Usaku NAKAMURA)
04:19 PM Feature #12921 (Closed): Retrieve user and password for proxy from env
Applied in changeset trunk|r58461.
----------
Allow Net::HTTP to fetch user/pass from http_proxy
Note that this fea...
naruse (Yui NARUSE)
04:19 PM Revision b3209c25 (git): * 2017-04-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:19 PM Revision c7ec1b1f (git): Allow Net::HTTP to fetch user/pass from http_proxy
Note that this feature is enabled only on environment variables are
multi-user safe. In this time the list includes L...
naruse (Yui NARUSE)
04:19 PM Revision ece9698d (git): suppress warning: shadowing outer local variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:51 PM Revision 93955c75 (git): Add diagnostic reports section header [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:47 PM Revision 8284de59 (git): assert_syntax_error returns the exception [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:16 AM Bug #13498 (Closed): Weakref, Weakmap and define_finalizer don't work on frozen objects
I'm just creating a single ticket for these issues, I guess they're actually all the same (I've seen weakref uses wea... herwin (Herwin W)
06:37 AM Bug #13489: "make test-all" fails on macOS with case-sensitive filesystem
`Kernel.open` で使用している POSIX `open` が case-sensitive と非 case-sensitive で振る舞いが違うようです。`Kernel.open` の処理を抜き出したもので試してみました。... watson1978 (Shizuo Fujita)
04:27 AM Misc #13497 (Open): Docs, code samples, Ripper example
I think it's fair to say that virtually all Ruby documentation today is created by doc generation systems based eithe... MSP-Greg (Greg L)
02:47 AM Bug #13496: Patches for MinGW builds - gnu_printf in 'config' & defines.h
Just noticed the 2nd line of the 1st patch should be --
```
+++ b/configure.in Thu Apr 20 13:44:41 2017
```
MSP-Greg (Greg L)
12:51 AM Bug #13496 (Closed): Patches for MinGW builds - gnu_printf in 'config' & defines.h
Thanks to Nobu for [58448](https://github.com/ruby/ruby/commit/27ed9f1d290a6ff6b788976ea7139c608920ee1e), which led m... MSP-Greg (Greg L)
01:31 AM Revision 0ae219f0 (git): Document parse.y instead of ext/ripper/ripper.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:31 AM Revision 9778c8da (git): ext/dl has been removed already [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:23 AM Revision 41e6fd89 (git): use $(srcdir).
* win32/Makefile.sub (enc/jis/props.h): build it in not builddir,
but in srcdir.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
01:04 AM Revision be7309dd (git): Refactor "%f" % Inf/NaN
* sprintf.c (rb_str_format): as for non-finite float, calculate
the exact needed size with the space flag.
git-svn...
nobu (Nobuyoshi Nakada)
01:04 AM Revision 6f8f950c (git): Fix space flag when Inf/NaN and width==3
* sprintf.c (rb_str_format): while `"% 2f"` and `"% 4f"` result in
`" Inf"` and `" Inf"` respectively, `"% 3f"` res...
nobu (Nobuyoshi Nakada)
12:20 AM Revision a6f0ec21 (git): mark Hash keys correctly.
* hash.c (rb_hash_new_from_object): same as r58434.
Newly created frozen objects are not referred from any roots/ob...
ko1 (Koichi Sasada)

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 Revision 3aa95e78 (git): Ignore enc/jis/props.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
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)
04:19 PM Revision aeb7f801 (git): * 2017-04-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:19 PM Revision fe378f03 (git): test/test_prime.rb: update method name in comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 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)
08:32 AM Revision 27ed9f1d (git): parse.y: fix compile_error format
* parse.y (ripper_compile_error, parser_compile_error): declare as
PRINTF_ARGS attribute.
* parse.y (id_is_var_gen...
nobu (Nobuyoshi Nakada)
08:19 AM Revision 9c5c31c8 (git): test_file_exhaustive.rb: check case-sensitive fs
* test/ruby/test_file_exhaustive.rb (test_expand_path): dump
expanded file name, not only appended char, for case-s...
nobu (Nobuyoshi Nakada)
08:19 AM Revision 0749e7be (git): adjust indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:29 AM Revision d86d283f (git): merge revision(s) 58323,58324:
Merge json-2.0.4.
* https://github.com/flori/json/releases/tag/v2.0.4
* https://github.com/flori...
nagachika (Tomoyuki Chikanaga)
07:20 AM Revision 4138651b (git): bump teeny version to 2.4.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@58444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
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)
02:04 AM Revision 8baadf66 (git): Remove nonexistent files and rename some files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
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)
01:08 AM Revision 7e5462b3 (git): define PACKED_STRUCT_UNALIGNED correctly
Defining PACKED_STRUCT_UNALIGNED to a noop in ruby/config.h (via
`configure') prevents the definition in include/ruby...
Eric Wong
12:27 AM Revision 966bfb07 (git): Add sha512
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:18 AM Revision ee691fea (git): Update sources and include files after update
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:10 AM Revision 9e1ab6ce (git): use $(srcdir).
* Makefile.in (enc/jis/props.h): build it in not builddir, but in srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
ko1 (Koichi Sasada)

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)
11:16 PM Revision d97f7009 (git): clean autogenerated files
* enc/depend (clean, clean-srcs): fix path of name2ctype.h, and
remove casefold.h too.
* enc/jis/props.h: autogene...
nobu (Nobuyoshi Nakada)
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)
08:38 PM Revision e79ecc54 (git): test/socket/test_basicsocket: handle :wait_readable on read_nonblock
On some systems with slower local sockets, :wait_readable may
happen and we should wait on it to drain the socket.
Th...
Eric Wong
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)
03:00 PM Revision 581c447f (git): * 2017-04-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision 5f5bc068 (git): insert WB correctly.
* hash.c (hash_insert_raw): should insert WB.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58435 b2dd03c8-39d4...
ko1 (Koichi Sasada)
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)
11:02 AM Revision a7db6320 (git): mark created frozen strings.
* hash.c (rb_hash_new_from_values_with_klass): before this fix,
only a st table are filled with passed values. Howe...
ko1 (Koichi Sasada)
11:00 AM Revision 34f14888 (git): Remove empty directories
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
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:16 AM Revision 7a856b11 (git): Removed mathn.rb from stdlib. It's deprecated from Ruby 2.2.
[Feature #10169][[ruby-core:64553]]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58432 b2dd03c8-39d4-4d8f-98ff-...
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:12 AM Revision 20d81b42 (git): test_framework.rb: for case-sensitive filesystem
* test/mkmf/test_framework.rb (test_single_framework): fix header
file name for case-sensitive filesystem. it may ...
nobu (Nobuyoshi Nakada)
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)
06:03 AM Revision 70c9bb4b (git): Remove missing/strtol.c
It is never used. We don't need it anyway as it's part of C89 which is
our current minimum requirement.
git-svn-id: ...
rhenium (Kazuki Yamaguchi)
05:35 AM Revision 16ffd476 (git): NEWS entry for [Feature #13302]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
04:42 AM Revision 0c082fe6 (git): typo fix (sorry!)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
04:21 AM Revision 4ee09d91 (git): refactor hash literal
Same as rb_ary_tmp_new_from_values(), it reduces vm_exec_core binary
size from 26,176 bytes to 26,080 bytes. But thi...
shyouhei (Shyouhei Urabe)
03:01 AM Revision bdc6d416 (git): ext/extmk.rb: colorize notes [Feature #13302]
* common.mk (build-ext): pass variables to colorize.
* ext/extmk.rb: colorize notes with tool/colorize.rb.
* tool/c...
nobu (Nobuyoshi Nakada)
02:43 AM Revision 3ca61bb0 (git): exts.mk: refine notes [Feature #13302]
* ext/extmk.rb: split notes into header and footer, which are
common, from bodies which are unique for each extensi...
nobu (Nobuyoshi Nakada)
12:53 AM Revision 5651313b (git): vm_dump.c: non-scalar thread_id
* vm_dump.c (rb_vmdebug_stack_dump_all_threads): fix for
non-scalar thread_id platforms. c.f. [Bug #9884]
git-svn...
nobu (Nobuyoshi Nakada)
12:11 AM Revision c483ae65 (git): Suppress a warning in ruby/win32.h [Fix GH-1591]
Fix a warning in ruby/win32.h which can cause failures with mkmf
The return value is implicit type casted from 'long...
nobu (Nobuyoshi Nakada)

04/20/2017

10:52 PM Revision 8b31febd (git): use correct synchronization.
* test/ruby/test_thread.rb (make_handle_interrupt_test_thread1): use Queue
to use correct synchronization.
git-sv...
ko1 (Koichi Sasada)
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)
03:58 PM Revision 8934082e (git): * vm_dump.c (rb_vmdebug_stack_dump_all_threads): cast to `void*`.
Pointed out at
<https://github.com/ruby/ruby/commit/fbc1deca89595e60af21e58b7e164f376e4bd2fc#commitcomment-21839826...
ko1 (Koichi Sasada)
03:02 PM Revision df53b325 (git): * 2017-04-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision 1721dfa0 (git): release monitor correctly.
* lib/rubygems/core_ext/kernel_require.rb: sometimes
`Kernel.send(:gem, spec.name)` can raise some errors
(Gem::M...
ko1 (Koichi Sasada)
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 (瑶 大崎)
11:07 AM Revision f14f0d34 (git): ruby-lex.rb: fix continued line conditions
* lib/irb/ruby-lex.rb (RubyLex#lex): fix conditions for continued
line; empty lines, a semicolon, first line in `be...
nobu (Nobuyoshi Nakada)
11:07 AM Revision 716ce651 (git): ruby-lex.rb: merge regexps
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:32 AM Revision 5069122a (git): refactor torexp to use routine in array.c
Found a part where copy&paste can be eliminated. Reduces vm_exec_core
from 26,228 bytes to 26,176 bytes in size on m...
shyouhei (Shyouhei Urabe)
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)
09:11 AM Revision 6a08beef (git): Removed math mode from irb.
mathn is deprecated from Ruby 2.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58415 b2dd03c8-39d4-4d8f-98ff-8...
hsbt (Hiroshi SHIBATA)
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:31 AM Revision 23e481e3 (git): common.mk: separate note
* common.mk (build-ext): separate note from building extensions,
not to be intermingled. [ruby-core:80759] [Featur...
nobu (Nobuyoshi Nakada)
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:21 AM Revision 7b3ac077 (git): Removed deprecated extensions of mathn.
* ext/mathn/{complex,rational}: Removed from ruby core.
[fix GH-1542][Feature #13334][ruby-core:80247]
git-svn-i...
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)
08:13 AM Revision b58a30e1 (git): extmk.rb: fail for mandatory libraries
* ext/extmk.rb: fail if a mandatory extension library failed to
configure. [ruby-core:80759] [Feature #13302]
* t...
nobu (Nobuyoshi Nakada)
07:46 AM Revision cafa438f (git): improve man pages
* man/ruby.1, man/erb.1, man/goruby.1, man/irb.1:
fix document title formatting and volume name,
improve "REPORTI...
stomar (Marcus Stollsteimer)
07:44 AM Revision 76047234 (git): ri.1: rewrite ri man page
* man/ri.1: update the (very outdated) ri man page:
* update document date
* fix document title formatting and vo...
stomar (Marcus Stollsteimer)
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)
07:44 AM Revision 3d709948 (git): ri.1: fix errors in ri man page
* man/ri.1: fix some errors in ri man page (add missing options,
remove options that do not exist, fix formatter li...
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)
04:50 AM Revision fbc1deca (git): add a debug function.
* vm_dump.c (rb_vmdebug_stack_dump_all_threads): dump stack dump
for all living threads.
git-svn-id: svn+ssh://ci...
ko1 (Koichi Sasada)
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)
01:36 AM Revision abbabbf8 (git): Move test_extlibs.rb because it's not the test of ruby itself
* test/test_extlibs.rb: moved from test/ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58407 b2dd03c8-39d4...
U.Nakamura

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)
03:14 PM Revision edd063ab (git): * 2017-04-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision f0e5e056 (git): fix infinite recursion
* vm_insnhelper.c (vm_once_dispatch): no guarantee that tail call
is always optimized away.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
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)
02:05 PM Revision 826f16d4 (git): extmk.rb: improve message printed when configuring extensions fails
Point to the mkmf.log if configuring an extension fails so that people
can find and fix the culprit easily. [ruby-co...
rhenium (Kazuki Yamaguchi)
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)
11:50 AM Revision cd8f9904 (git): Rervert r58304. Because Rubygems have specialized finder for default gems.
We need to list library entries for default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58403 b2dd03c8-3...
hsbt (Hiroshi SHIBATA)
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)
07:27 AM Revision 524fb013 (git): refactor extract binop dispatcher
Those opt_something instructions are worth refactoring. They tend to
have similar ways of executions. By extracting ...
shyouhei (Shyouhei Urabe)
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
01:08 AM Revision 0848b68a (git): * 2017-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:08 AM Revision c32fc82d (git): socket: avoid fcntl for read/write_nonblock on Linux
On platforms where MSG_DONTWAIT works reliably on all sockets
(so far, I know of Linux), we can avoid fcntl syscalls ...
Eric Wong
12:21 AM Bug #13338 (Closed): MinGW SEGV in test/ruby/test_keyword.rb svn 58034, ok in svn 58021.
hsbt (Hiroshi SHIBATA)
 

Also available in: Atom