Project

General

Profile

Activity

From 04/11/2017 to 04/17/2017

04/17/2017

11:47 PM Revision 0644c4ef (git): * 2017-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:47 PM Revision c29e8a02 (git): should not return.
* test/ruby/test_settracefunc.rb (test_throwing_return_with_finish_frame):
should not use `return`, but should use ...
ko1 (Koichi Sasada)
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)
01:38 PM Revision cc68af3d (git): string.c: improve insertion performace
* string.c (rb_str_splice_0): improve performace of single byte
optimizable cases, insertion 7bit string to 7bit st...
nobu (Nobuyoshi Nakada)
01:23 PM Revision 97819765 (git): thread_win32.c: fix index
* thread_win32.c (w32_wait_events): fix wait object index in the
case of interrupt_event is not usable.
git-svn-id...
nobu (Nobuyoshi Nakada)
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)
02:41 AM Revision 61ea519d (git): eval.c: copy before cause setup
* eval.c (setup_exception): copy frozen exception before setting
up a cause not only a backtrace.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
02:31 AM Revision e601e775 (git): eval.c: copy special exceptions before raise
* eval.c (setup_exception): consider if the exception is frozen,
but not one of special exception objects.
* gc.c ...
nobu (Nobuyoshi Nakada)
02:08 AM Revision e97ac02f (git): vm_insnhelper.c: rb_threadptr_stack_overflow
* vm_insnhelper.c (rb_threadptr_stack_overflow): move from
thread.c and integrate with vm_stackoverflow.
git-svn-i...
nobu (Nobuyoshi Nakada)
01:35 AM Revision 158c742b (git): parse.y: fix for empty `__VA_ARGS__`
* parse.y (WARN_CALL, WARNING_CALL): need `##` between a comman
and `__VA_ARGS__` in the case it is empty, not to e...
nobu (Nobuyoshi Nakada)
01:23 AM Revision 26942108 (git): vm_backtrace.c: backtrace functions per threads
* vm_backtrace.c (rb_threadptr_backtrace_object): rename and
extern.
* vm_backtrace.c (rb_threadptr_backtrace_str_...
nobu (Nobuyoshi Nakada)
12:25 AM Revision a0219e2f (git): eval.c: share rb_longjmp
* eval.c (rb_longjmp, rb_raise_jump): parameterize thread, and
share rb_longjmp.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
12:10 AM Revision 61d9da25 (git): gc.c: rb_threadptr_stack_check
* gc.c (rb_threadptr_stack_check): check probability of stack
overflow for the given thread, not the current thread...
nobu (Nobuyoshi Nakada)
12:10 AM Revision b0d36494 (git): gc.c: PREVENT_STACK_OVERFLOW
* gc.c (PREVENT_STACK_OVERFLOW): define TRUE to try preventing
stack overflow before actually happens.
* gc.c (sta...
nobu (Nobuyoshi Nakada)

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)
03:54 PM Revision d2b68234 (git): * 2017-04-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:54 PM Revision 4027f415 (git): test_integer.rb: simplify test
* test/ruby/test_integer.rb: simplify test for Integer.sqrt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58372...
stomar (Marcus Stollsteimer)
02:54 PM Revision e326045a (git): rbinstall.rb: ignore skipped exts
* tool/rbinstall.rb (default-gems): skip gemspec if corresponding
Makefile does not exist.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
02:27 PM Revision 7206ac54 (git): thread_win32.c: no GVL for interrupt_event
* thread_win32.c (w32_wait_events): do not acquire GVL, to fix
deadlock at read/close race condition. instead, jus...
nobu (Nobuyoshi Nakada)
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)
04:16 AM Revision 04b618e5 (git): test/ruby/test_io.rb: use Thread.stop? to wait
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
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)
02:00 AM Revision d8ea05c1 (git): * test/ruby/test_io.rb (test_race_closed_stream): separate because it stops
entire test process on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58368 b2dd03c8-39d4-4d8f-98ff-823...
U.Nakamura

04/15/2017

07:11 PM Bug #13441: building - GIT variable, ruby, rubygems tests
nobu,
Thank you for the info. A hardcoded string (full path) worked with the RubyGems tests. Now, I need to try ...
MSP-Greg (Greg L)
05:40 PM Bug #13441: building - GIT variable, ruby, rubygems tests
nobu (Nobuyoshi Nakada) wrote:
> Try `--with-git=git.exe` configuration option.
Thanks. I'll try, just started a...
MSP-Greg (Greg L)
05:32 PM Bug #13441: building - GIT variable, ruby, rubygems tests
I think rather `Gem::TestCase#in_path?` should consider `RbConfig::CONFIG['EXECUTABLE_EXTS']`, or `RbConfig::CONFIG['... nobu (Nobuyoshi Nakada)
05:24 PM Bug #13441 (Feedback): building - GIT variable, ruby, rubygems tests
Try `--with-git=git.exe` configuration option. nobu (Nobuyoshi Nakada)
04:13 PM Bug #13441: building - GIT variable, ruby, rubygems tests
These changes cause 37 RubyGems tests to be skipped. MSP-Greg (Greg L)
02:24 PM Bug #13441 (Closed): building - GIT variable, ruby, rubygems tests
As I've mentioned before, I've been building and using MinGW trunk builds for several months. I've needed a few patc... MSP-Greg (Greg L)
06:11 PM Bug #13440: Integer.sqrt produces wrong results
@nobu
Do you mind when I simplify the test and also reduce the number of tested values (50.000 seems more than nec...
stomar (Marcus Stollsteimer)
03:29 PM Bug #13440 (Closed): Integer.sqrt produces wrong results
Applied in changeset trunk|r58366.
----------
bignum.c: fix inexact estimation
* bignum.c (estimate_initial_sqrt): ...
nobu (Nobuyoshi Nakada)
01:19 PM Bug #13440 (Closed): Integer.sqrt produces wrong results
The new `Integer.sqrt` method produces wrong results, e.g. for
38815036599065022652481536
389045144994280...
stomar (Marcus Stollsteimer)
03:29 PM Revision c747848d (git): * 2017-04-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:29 PM Revision df76f366 (git): bignum.c: fix inexact estimation
* bignum.c (estimate_initial_sqrt): estimated square root is
inexact if it is not equal to its ceil, needs Newton's...
nobu (Nobuyoshi Nakada)
10:12 AM Bug #13341: Improve performance of implicit type conversion
normalperson (Eric Wong) wrote:
> I'm not sure if including new APIs in ruby/intern.h is a good
> idea right away...
watson1978 (Shizuo Fujita)
07:51 AM Bug #13341: Improve performance of implicit type conversion
+cc ruby-core since this post was English

[email protected] wrote:
> Issue #13341 has been reported by watson...
normalperson (Eric Wong)
07:51 AM Bug #13341: Improve performance of implicit type conversion
+cc ruby-core since this post was English

[email protected] wrote:
> Issue #13341 has been reported by watson...
normalperson (Eric Wong)
07:21 AM Feature #13382: [PATCH] Options for FTP PORT command
Thank you so much for your survey.
If we translate java's `setReportActiveExternalIPAddress()` into Ruby method li...
osa (Shunsuke OSA)
07:13 AM Revision 5fb0f3f0 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:13 AM Revision d6a69712 (git): fix ext/-test-/struct/ dependencies
I started writing a template for auto-generation and
let "tool/update-deps --fix" fill in the rest.
Hopefully this f...
Eric Wong
05:41 AM Bug #13438: Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
ko1 (Koichi Sasada) wrote:
> Just for confirmation.
> Your patch doesn't solve memory problem, but for configuratio...
jeremyevans0 (Jeremy Evans)
02:10 AM Bug #13438: Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
Thank you for your survey. Great help.
Just for confirmation.
Your patch doesn't solve memory problem, but for co...
ko1 (Koichi Sasada)
02:37 AM Revision 5e635a36 (git): signal.c: last tag page condition
* signal.c (check_stack_overflow): drop the last tag when it is
close to the fault page, not same as sp page.
git-...
nobu (Nobuyoshi Nakada)
02:09 AM Revision 0472578b (git): ruby.h: check argc to rb_funcall
* include/ruby/ruby.h (rb_funcall): check if argc matches the
number of variadic arguments, and replace with rb_fun...
nobu (Nobuyoshi Nakada)
02:07 AM Revision 6f1fbfd6 (git): signal.c: prefer pthread_sigmask
* signal.c (raise_stack_overflow): prefer pthread_sigmask to
sigprocmask, for multithreading.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
12:46 AM Bug #13439 (Closed): [PATCH] fix RSTRUCT_LEN macro in public C API
Applied in changeset trunk|r58359.
----------
fix RSTRUCT_LEN macro in public C API
rb_struct_size returns an Integ...
Anonymous
12:34 AM Bug #13439 (Closed): [PATCH] fix RSTRUCT_LEN macro in public C API
rb_struct_size returns an Integer VALUE, so it must be converted
to a `long` for compatibility with previous Ruby C ...
normalperson (Eric Wong)
12:46 AM Revision fd421a9a (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:46 AM Revision 8e64799c (git): fix RSTRUCT_LEN macro in public C API
rb_struct_size returns an Integer VALUE, so it must be converted
to a `long` for compatibility with previous Ruby C A...
Eric Wong

04/14/2017

11:14 PM Bug #13438 (Closed): Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
An OpenBSD user reported that ruby 2.4.1 fails on OpenBSD when malloc canaries are enabled. I verified this is true,... jeremyevans0 (Jeremy Evans)
07:12 PM Bug #11684 (Closed): Pack#unpack test failure on Solaris 10 with Oracle Solaris Studio 12.4
Applied in changeset trunk|r58358.
----------
Workaround for optimization bug of Oracle Solaris Studio 12.4 and 12.5...
ngoto (Naohisa Goto)
07:07 PM Bug #11684 (Open): Pack#unpack test failure on Solaris 10 with Oracle Solaris Studio 12.4
The bug is also observed with Oracle Developer Studio 12.5 (the next version of Oracle Solaris Studio 12.4). ngoto (Naohisa Goto)
07:12 PM Revision f687a147 (git): Workaround for optimization bug of Oracle Solaris Studio 12.4 and 12.5
* pack.c (pack_unpack, AVOID_CC_BUG): Very ugly workaround for
optimization bug of Oracle Solaris Studio 12.4 and 1...
ngoto (Naohisa Goto)
06:19 PM Revision db2822a5 (git): sync certainly.
* test/ruby/test_io.rb (test_race_closed_stream): awit for 'sleep' state.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
ko1 (Koichi Sasada)
06:14 PM Revision 2ad7a741 (git): more explicit synchronization.
* test/ruby/test_io.rb (test_race_closed_stream): wait for blocking by r.gets.
On some systems (for example, high l...
ko1 (Koichi Sasada)
05:12 PM Feature #13437 (Closed): Improve performance of Enumerable#{sort_by,min_by,max_by,minmax_by}
Improve performance of Enumerable#{sort_by,min_by,max_by,minmax_by}
### Before
~~~
user syst...
watson1978 (Shizuo Fujita)
04:07 PM Revision e4c2f4fa (git): * 2017-04-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:07 PM Revision f7b51fd2 (git): signal.c: add sigprocmask guard
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:32 PM Feature #13436 (Open): Improve performance of Array#<=> with Fixnum/Float/String elements
Array#<=> will be ~7.5 times faster with Fixnum elements.
### Before
~~~
user system tot...
watson1978 (Shizuo Fujita)
01:05 PM Bug #13164 (Open): A second `SystemStackError` exception results in `Segmentation fault (core dumped)`
On Linux, fixed by unblocking the received signal.
But it has no effect on mac OS and seems to need `--with-setjmp-t...
nobu (Nobuyoshi Nakada)
01:00 PM Bug #13164 (Closed): A second `SystemStackError` exception results in `Segmentation fault (core dumped)`
Applied in changeset trunk|r58353.
----------
signal.c: unblock signal
* signal.c (raise_stack_overflow): unblock t...
nobu (Nobuyoshi Nakada)
12:59 PM Revision 1e1a5853 (git): signal.c: unblock signal
* signal.c (raise_stack_overflow): unblock the received signal, to
receive the same signal again. [ruby-core:79285...
nobu (Nobuyoshi Nakada)
12:51 PM Revision d005ada1 (git): configure.in: sigsetjmp sivesigs flag
* configure.in (RUBY_SETJMP_TYPE): optional flag to save signal
mask.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
10:03 AM Revision 8c84803d (git): IPSocket#inspect
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:04 AM Feature #13368: Improve performance of Array#sum with float elements
naruse (Yui NARUSE) wrote:
> Hmm, the result shows clang is not efficient as gcc yet this time.
> And improvement s...
watson1978 (Shizuo Fujita)
07:30 AM Feature #13368: Improve performance of Array#sum with float elements
watson1978 (Shizuo Fujita) wrote:
> When I filed this ticket, I tried to run benchmark on macOS + clang only.
> The...
naruse (Yui NARUSE)
06:45 AM Feature #13368: Improve performance of Array#sum with float elements
When I filed this ticket, I tried to run benchmark on macOS + clang only.
Then, I tried to do on 2 environments in a...
watson1978 (Shizuo Fujita)
08:40 AM Feature #13342: Improve yielding block performance
When I filed this ticket, I tried to run benchmark on macOS + clang only.
Then, I tried to do on 2 environments in a...
watson1978 (Shizuo Fujita)
08:33 AM Revision cb52dda1 (git): ruby.h: check argc to rb_yield_values
* include/ruby/ruby.h (rb_yield_values): check if argc matches the
number of variadic arguments, and replace with r...
nobu (Nobuyoshi Nakada)
07:46 AM Revision c50afaa1 (git): disable rewind hooks.
* vm.c (hook_before_rewind): skip rewind hooks if err is SystemStackError
because rewind hooks can cause stack over...
ko1 (Koichi Sasada)
07:39 AM Feature #13374: Fix one of performance regressions in method calling
When I filed this ticket, I tried to run benchmark on macOS + clang only.
Then, I tried to do on 2 environments in a...
watson1978 (Shizuo Fujita)
05:19 AM Bug #13426 (Closed): Improve performance of implicit type conversion using #to_r
Applied in changeset trunk|r58347.
----------
Improve performance of type conversion using to_r
* object.c: Add to_...
mrkn (Kenta Murata)
05:19 AM Revision 3eb7a6eb (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:19 AM Revision 8561baf3 (git): Improve performance of type conversion using to_r
* object.c: Add to_r in conv_method_tbl.
* defs/id.def: add to_r.
* benchmark/bm_int_quo.rb: added.
* benchmark/bm...
Kenta Murata
02:22 AM Bug #13435 (Third Party's Issue): Raspberry PI gitlab configuration ruby vm failure
> /opt/gitlab/embedded/lib/ruby/2.3.0/armv7l-linux-eabihf/openssl.so: [BUG] Illegal instruction at 0xb65fec18
> ...
...
shyouhei (Shyouhei Urabe)
01:25 AM Bug #13435 (Third Party's Issue): Raspberry PI gitlab configuration ruby vm failure
Getting the following error message when running
'sudo gitlab-ctl reconfigure'
on a Raspberry PI model B af...
serberoth (Nicola DiPasquale)
02:19 AM Revision 3c547e11 (git): increase timeout seconds.
* test/ruby/test_trace.rb (test_trace_stackoverflow): on some platforms
this test fails because of timeout.
git-s...
ko1 (Koichi Sasada)
01:07 AM Feature #13434 (Open): better method definition in C API
Current ways to define and parse arguments in the Ruby C API are clumsy,
slow, and impede potential optimizations.
...
normalperson (Eric Wong)
12:45 AM Bug #13428 (Closed): rbinstall should not use Spec#files anymore
Applied in changeset trunk|r58345.
----------
rbinstall.rb: no file list for default gems
* tool/rbinstall.rb (defa...
nobu (Nobuyoshi Nakada)
12:39 AM Bug #13428 (Open): rbinstall should not use Spec#files anymore
Nice point. nobu (Nobuyoshi Nakada)
12:45 AM Bug #13433 (Closed): Solaris10上で make update-rubyspec が失敗
Applied in changeset trunk|r58344.
----------
git-refresh: fix abort by cd failure
* tool/git-refresh: try `cd -P` ...
nobu (Nobuyoshi Nakada)
12:45 AM Revision 5bca8051 (git): rbinstall.rb: no file list for default gems
* tool/rbinstall.rb (default-gems): no file list is used now.
all files should be installed as standard libraries.
...
nobu (Nobuyoshi Nakada)
12:45 AM Revision 03421631 (git): git-refresh: fix abort by cd failure
* tool/git-refresh: try `cd -P` in a subshell, because Solaris10
sh dies if it fails, not only the command.
[ruby...
nobu (Nobuyoshi Nakada)

04/13/2017

07:10 PM Feature #13383: [PATCH] Module#source_location
I am also for this if it is easily possible.
I remember many years ago in the ruby 1.8.x days, before pry,
I twi...
shevegen (Robert A. Heiler)
04:32 PM Revision 197ebcb0 (git): fix last commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:19 PM Revision e2d68989 (git): * 2017-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:19 PM Revision 4032f45d (git): Terminate created threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
03:04 PM Bug #13433 (Closed): Solaris10上で make update-rubyspec が失敗
Bug #13424 と類似ですが原因が異なるので別チケットにします。
Solaris 10 上にて、 make update-rubyspec が以下のように失敗します。
~~~
$ make update-rubys...
ngoto (Naohisa Goto)
02:07 PM Bug #13432 (Closed): set_trace_funcにproc->is_from_method = TRUEのオブジェクトを渡し、SystemStackErrorを発生させるとRubyVMが停止する
以下のコードのように、Method#to_procで作成したProcオブジェクトをset_trace_funcに設定しSystemStackErrorを発生させるとRubyVMが停止する。
```ruby
def trace_...
masato_hi (Masato Hi)
01:09 PM Bug #13431 (Closed): sample/drb/http0*.rb is not working.
I tried to use drb over http with the sample code *sample/drb/http0*.rb*
I wrote the code as following.
*server.r...
youchan (瑶 大崎)
11:21 AM Bug #13428: rbinstall should not use Spec#files anymore
But the spec.files is not used anywhere, since the .gemspec is installed via gemspec.to_ruby_for_cache, which does no... vo.x (Vit Ondruch)
08:45 AM Bug #13428 (Rejected): rbinstall should not use Spec#files anymore
It's used only for default gems, `spec.files` are for separated gem releases, but just garbage there. nobu (Nobuyoshi Nakada)
09:25 AM Bug #13344 (Closed): Improve performance of Array#sort with block
Applied in changeset trunk|r58339.
----------
array.c: improve performance of Array#sort with block
* array.c (sort...
mrkn (Kenta Murata)
09:25 AM Revision f8bb720e (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:25 AM Revision cb8012f5 (git): array.c: improve performance of Array#sort with block
* array.c (sort_1): improve performance of Array#sort with block
* benchmark/bm_array_sort_block.rb: added for Array...
Kenta Murata
08:49 AM Bug #13427 (Third Party's Issue): gemspec might be treat as binary - probably bug?
nobu (Nobuyoshi Nakada)
08:09 AM Revision 53430e35 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:09 AM Revision c1211715 (git): Add a benchmark script for Array#sort of float array
[Bug #13340]
[ruby-dev:50023]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58337 b2dd03c8-39d4-4d8f-98ff-823fe6...
Kenta Murata
08:08 AM Revision 57108574 (git): git-refresh: for symlink srcdir
* tool/git-refresh: use `cd -P` for symlink srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58336 b2dd03c8...
nobu (Nobuyoshi Nakada)
07:52 AM Bug #13424 (Closed): Solaris10上で make update-rubyspec が bad substitution で失敗
Applied in changeset trunk|r58335.
----------
git-refresh: fix expr
* tool/git-refresh (dir): surround by slashes t...
nobu (Nobuyoshi Nakada)
07:52 AM Revision e1557424 (git): git-refresh: fix expr
* tool/git-refresh (dir): surround by slashes to extract base
name. [ruby-dev:50070] [Bug #13424]
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
07:38 AM Bug #13425 (Closed): Tracer.onにした状態でSystemStackErrorを発生させるとSegmentation fault
Applied in changeset trunk|r58334.
----------
thread.c: disable VM events when stack overflow
* thread.c (ruby_thre...
nobu (Nobuyoshi Nakada)
07:38 AM Revision 38174633 (git): thread.c: disable VM events when stack overflow
* thread.c (ruby_thread_stack_overflow): disable VM events when
stack overflow occurred; it causes another stack ov...
nobu (Nobuyoshi Nakada)
07:22 AM Bug #13340 (Closed): Improve performance of Array#sort with float elements
Applied in changeset trunk|r58333.
----------
array.c: Improve performance of Array#sort with float elements
* arra...
mrkn (Kenta Murata)
07:07 AM Bug #13340 (Assigned): Improve performance of Array#sort with float elements
mrkn (Kenta Murata)
07:22 AM Revision 1b5acc87 (git): array.c: Improve performance of Array#sort with float elements
* array.c (sort_2): improve performance of Array#sort with float elements.
* internal.h (cmp_opt_Float, cmp_opt_data...
Kenta Murata
07:12 AM Feature #13137: Hash Shorthand
Note: such culture seems to come from SGML. naruse (Yui NARUSE)
06:43 AM Revision 4e85feed (git): array.c: report correct memsize for shared root arrays
For a shared array root, struct RArray::as.heap.aux.capa stores the
number of Arrays holding reference to that T_ARRA...
rhenium (Kazuki Yamaguchi)
06:20 AM Bug #13430 (Rejected): JSON.parse(nil.to_json) throws exception.
I believe recent version (>= 2.0.0 maybe?) of that library does accept "null" and renders nil. Try upgrading your li... shyouhei (Shyouhei Urabe)
05:57 AM Bug #13421 (Feedback): problem rails c
Thank you for a report, but it seems your log seems laking the problematic part. Can you show us the full log since ... shyouhei (Shyouhei Urabe)
05:42 AM Feature #13396: Net::HTTP has no write timeout
Let me turn it to be a feature request. Will ask matz about it. shyouhei (Shyouhei Urabe)
05:34 AM Bug #13277 (Closed): Ruby 2.4.0 gem server 2.6.8
Closing. Thank you for the report. shyouhei (Shyouhei Urabe)

04/12/2017

07:49 PM Revision 55d0da51 (git): unicode_normalize.rb: improve docs
* lib/unicode_normalize.rb: [DOC] improve docs for
String#{unicode_normalize,unicode_normalized?}: rdoc formatting,...
stomar (Marcus Stollsteimer)
06:48 PM Bug #13427: gemspec might be treat as binary - probably bug?
Hanmac (Hans Mackowiak) wrote:
> there is a open ticket in the repo of rubygems opend in "14 Apr 2014" but it is una...
vo.x (Vit Ondruch)
01:16 PM Bug #13427 (Closed): gemspec might be treat as binary - probably bug?
while getting latest ruby sources i noticed that json.gemspec is treated as binary by git.
and while looking why t...
Hanmac (Hans Mackowiak)
06:37 PM Bug #11078: 2.2 String#unicode_normalize method does not appear in generated API docs
duerst (Martin Dürst) wrote:
> [...] it doesn't make much sense for these (or anything else from UnicodeNormalize) t...
stomar (Marcus Stollsteimer)
06:31 PM Bug #13430 (Rejected): JSON.parse(nil.to_json) throws exception.
Perhaps JSON.parse("null") should return nil instead of throwing an exception. That's just stupid.
ruby-has-bugs (John McMack)
06:07 PM Revision 5a555505 (git): * 2017-04-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:07 PM Revision 0c10564d (git): nodoc UnicodeNormalize module
* lib/unicode_normalize/normalize.rb: [DOC] nodoc the
internal UnicodeNormalize module.
* lib/unicode_normalize/tab...
stomar (Marcus Stollsteimer)
05:50 PM Bug #13429 (Closed): Net::SMTP has no read timeout when connexion over TLS
Hello,
When connecting using TLS to an unresponsive SMTP server, Net::SMTP can hang until 10 minutes.
The iss...
keysen (Jérémy Carlier)
03:13 PM Bug #13428 (Closed): rbinstall should not use Spec#files anymore
I'd like to clarify this line [1].
Just two days ago, it was removed by my PR [2] in r58317 and now it is back in ...
vo.x (Vit Ondruch)
02:47 PM Revision a1caed95 (git): thread.c: during GC for thread
* thread.c (ruby_thread_stack_overflow): check if the given thread
is during GC.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
12:59 PM Bug #13426 (Closed): Improve performance of implicit type conversion using #to_r
This patch will improve performance in implicit type conversion using #to_r
At least, Integer#quo will be faster aro...
watson1978 (Shizuo Fujita)
12:38 PM Bug #13424 (Open): Solaris10上で make update-rubyspec が bad substitution で失敗
r58327 で確認しましたが失敗したので再オープンします。
~~~
$ make update-rubyspec V=1
./tool/git-ref...
ngoto (Naohisa Goto)
05:22 AM Bug #13424 (Closed): Solaris10上で make update-rubyspec が bad substitution で失敗
Applied in changeset trunk|r58325.
----------
git-refresh: for old sh
* tool/git-refresh: get rid of matching prefi...
nobu (Nobuyoshi Nakada)
10:38 AM Bug #13416: 405 "Method Not Allowed" when installing Vagrant Plugins
Good Day,
Trying to understand the issue a bit more, I've tried to install a gem:
~~~ ruby
$ gem install rail
...
TrayWeb (Romain BEZY)
08:39 AM Bug #13423 (Closed): error in etc.gemspec
Applied in changeset trunk|r58327.
----------
rbinstall.rb: purge `git ls-files`
* tool/rbinstall.rb (load_gemspec)...
nobu (Nobuyoshi Nakada)
08:39 AM Revision 796e9950 (git): rbinstall.rb: purge `git ls-files`
* tool/rbinstall.rb (load_gemspec): purge `git ls-files` generated
by bundle. it is not available always everywher...
nobu (Nobuyoshi Nakada)
08:35 AM Bug #13029 (Closed): Update doc/contributors.rdoc
stomar (Marcus Stollsteimer)
08:12 AM Revision fa3a612e (git): Import latest gemspec from ruby/fileutils.
* Bump version to 0.7.1. Beucause fileutils-0.7 is alread reserverd
on rubygems.org.
git-svn-id: svn+ssh://ci.ru...
hsbt (Hiroshi SHIBATA)
07:14 AM Bug #13203: mysql2-0.4.1/mysql2/mysql2.so: [BUG] Segmentation fault
I experience exactly the same problem, I'm not able to install Redmine on our server running OpenSUSE 42.2.
Any solu...
rmtron (Reidar Tronstad)
05:31 AM Bug #13425 (Closed): Tracer.onにした状態でSystemStackErrorを発生させるとSegmentation fault
Ruby2.4.0, 2.4.1の環境にて以下のコードのように SystemStackError: stack level too deep が発生するコードをTracerを有効化した状態で実行するとSegmentation faul... masato_hi (Masato Hi)
05:22 AM Revision f91985b3 (git): git-refresh: for old sh
* tool/git-refresh: get rid of matching prefix pattern removal for
old sh. [ruby-dev:50069] [Bug #13424]
git-svn-...
nobu (Nobuyoshi Nakada)
02:17 AM Feature #12589: VM performance improvement proposal
normalperson (Eric Wong) wrote:
>
> One optimization I'd like to add while remaining 100% compatible
> with ex...
vmakarov (Vladimir Makarov)
01:33 AM Bug #13311: Segmentation fault while running rspec
Maybe try to run against 2.4.1 now? PikachuEXE (Pikachu EXE)
12:21 AM Revision d9df358e (git): Use `assert_raise` instead of `assert_raises`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:21 AM Revision 83735ba2 (git): Merge json-2.0.4.
* https://github.com/flori/json/releases/tag/v2.0.4
* https://github.com/flori/json/blob/09fabeb03e73ed88dc8ce8f19d...
hsbt (Hiroshi SHIBATA)

04/11/2017

10:41 PM Revision 76ab146c (git): * 2017-04-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:41 PM Revision ffa55136 (git): Merge upstream of ruby/etc.
* Do not use `git ls-files` for file listing.
* Fix extconf.rb path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
hsbt (Hiroshi SHIBATA)
06:08 PM Bug #13422: etc.gemspec is invalid (typo)
I see... I guess it would work for release tarballs; but e.g. not for `make install` in a subversion working copy of ... stomar (Marcus Stollsteimer)
05:10 PM Bug #13422: etc.gemspec is invalid (typo)
stomar (Marcus Stollsteimer) wrote:
> On a side note: will `spec.files` with `git ls-files ...` work in all installa...
vo.x (Vit Ondruch)
05:07 PM Bug #13422 (Closed): etc.gemspec is invalid (typo)
This was resolved by trunk|r58316 vo.x (Vit Ondruch)
12:09 PM Bug #13422 (Closed): etc.gemspec is invalid (typo)
The gemspec for etc is invalid (and lets `rvm install ruby-head` fail):
``` diff
diff --git a/ext/etc/etc.gemspec...
stomar (Marcus Stollsteimer)
02:56 PM Revision abc5e896 (git): Socket.udp_server_sockets: use symbol proc
Symbol proc is shorter human and machine code;
and also avoids needing to name variables.
* ext/socket/lib/socket.rb...
Eric Wong
02:39 PM Bug #13424 (Closed): Solaris10上で make update-rubyspec が bad substitution で失敗
おそらく r58217 以降、Solaris 10 上にて、 make update-rubyspec が以下のように失敗します。
~~~
$ make update-rubyspec V=1
./tool/git-refr...
ngoto (Naohisa Goto)
02:11 PM Bug #13423 (Closed): error in etc.gemspec
`git` コマンドがないと `make install` が `etc.gemspec` でエラーになります。
```
Invalid gemspec in [/path/to/ruby/ext/etc/etc.gemspe...
znz (Kazuhiro NISHIYAMA)
12:28 PM Revision e042dd0e (git): Parenthesized CHECK_CFP_CONSISTENCY [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:20 PM Bug #13417 (Closed): exts.mk installed into bundled gems
Applied in changeset trunk|r58318.
----------
Install only files explicitly referenced by bundled gems.
[Bug #13417...
nobu (Nobuyoshi Nakada)
11:35 AM Bug #13417: exts.mk installed into bundled gems
I put together this patch [1], which should avoid installation of the exts.mk.
The idea is, that only the files wh...
vo.x (Vit Ondruch)
12:20 PM Revision 7965327d (git): Install only files explicitly referenced by bundled gems.
[Bug #13417]
[Fix GH-1580]
Author: Vít Ondruch <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
12:20 PM Revision 8913e294 (git): Spec#files are not used anymore.
[Fix GH-1579]
Author: Vít Ondruch <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58317 b...
nobu (Nobuyoshi Nakada)
12:19 PM Revision 82993d5c (git): Fix a typo.
Patch by @voxik. [fix GH-1581]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58316 b2dd03c8-39d4-4d8f-98ff-823fe...
hsbt (Hiroshi SHIBATA)
11:20 AM Bug #13421 (Closed): problem rails c
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin16]
Rails 5.0.0
when I use
rails c ,
after this...
hofffman (hofffman ho)
09:46 AM Revision 83dc0660 (git): Import gemspec from ruby/etc.
* Update configuraiton for gem release.
* Bump version to 0.2.1. Because 0.2.0 is already reserved on rubygems.org
...
hsbt (Hiroshi SHIBATA)
08:49 AM Revision adaffdd1 (git): Import gemspec from ruby/dbm
* Update gemspec version of beta release.
* Bump version to 0.5.1. Because 0.5 is already reserved another implemen...
hsbt (Hiroshi SHIBATA)
06:32 AM Feature #13420: Integer#{round,floor,ceil,truncate} should always return an integer, not a float
Patch updated to include doc fixes. stomar (Marcus Stollsteimer)
03:21 AM Feature #13420: Integer#{round,floor,ceil,truncate} should always return an integer, not a float
Indeed.
And documents?
nobu (Nobuyoshi Nakada)
06:13 AM Bug #13409: UDPSocket#send breaks when using sockaddr
naruse (Yui NARUSE) wrote:
> `UDPSocket.new` receives an optional argument address family, whose default is AF_INET....
naruse (Yui NARUSE)
05:52 AM Bug #13412: Infinite recursion with define_method may cause silent SEGV or cfp consistency error
This ticket concerns two different issues, silent SEGV and cfp consistency error.
nobu (Nobuyoshi Nakada)
03:44 AM Bug #13412: Infinite recursion with define_method may cause silent SEGV or cfp consistency error
It's by `check_stack_overflow()` in signal.c:
```c
if ((uintptr_t)th->tag->buf / pagesize == sp_page) {
/*...
nobu (Nobuyoshi Nakada)
04:17 AM Revision bb66691e (git): vm_insnhelper.c: CHECK_CFP_CONSISTENCY
* vm_insnhelper.c (CHECK_CFP_CONSISTENCY): make [BUG] messages
consistent.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
02:48 AM Bug #13419 (Third Party's Issue): Segmentation fault, using byebug in Solidus framework
Segmentation fault happens here.
Ask the author of this gem.
```
/box/gems/debase-0.2.1/lib/debase_internals.so(...
nobu (Nobuyoshi Nakada)
02:40 AM Revision 2cb399af (git): time.c: rename div as divv
* time.c (divv): add suffix to get rid of the name in C standard
library, and others together.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
02:40 AM Revision 1c2724ab (git): configure.in: need GIT to check if using git
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:24 AM Revision 2d9f80af (git): enc/unicode/data: no files under version control now
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
 

Also available in: Atom