Project

General

Profile

Activity

From 04/27/2017 to 05/03/2017

05/03/2017

06:50 PM Misc #13541 (Closed): [PATCH] test/thread: relax checks for internal implementation
Queue, SizedQueue, and ConditionVariable internal implementation
should not be tied to using arrays. Implementation details can
change and I am working on a change to remove the dependency on
arrays (as others may attempt, too) by us...
normalperson (Eric Wong)
01:33 PM Bug #13524: miniruby: [BUG] Segmentation fault at 0x0055e487e00230 ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-li
shyouhei (Shyouhei Urabe) wrote:
> Is it possible for you to show us how to reproduce this?
Please, build it with this [[https://github.com/docker-library/ruby/blob/master/2.4/alpine/Dockerfile]]
rtacconi (Riccardo Tacconi)
10:24 AM Bug #13524: miniruby: [BUG] Segmentation fault at 0x0055e487e00230 ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-li
shyouhei (Shyouhei Urabe) wrote:
> Is it possible for you to show us how to reproduce this?
If you try to build it with this Dockerfile it works: https://github.com/docker-library/ruby/blob/master/2.4/alpine/Dockerfile. However I mod...
rtacconi (Riccardo Tacconi)
12:25 PM Bug #13531 (Closed): RSS: a feed with empty channel description has completely empty '#to_xml' conversion
Applied in changeset trunk|r58552.
----------
rss: Accept empty text element as valid element
Parser has been accepted it but XML serializer wasn't accepted.
Reported by stefano frabetti. Thanks!!!
[ruby-core:80965] [Bug #13531]
kou (Kouhei Sutou)
12:25 PM Revision 6faa8408 (git): rss: Accept empty text element as valid element
Parser has been accepted it but XML serializer wasn't accepted.
Reported by stefano frabetti. Thanks!!!
[ruby-core:80965] [Bug #13531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
12:18 PM Revision 7abf8bae (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:18 PM Revision 5fee67c9 (git): move definition of String#unicode_normalize to C to make sure it is documented
* lib/unicode_normalize.rb: Remove definition of String#unicode_normalize
(including documentation)
* string.c: Define String#unicode_normalize in rb_str_unicode_normalize in C,
(including documentation)
* lib/unicode_normalize/norma...
duerst (Martin Dürst)
11:35 AM Feature #13379: [PATCH] safe IMAP connections
I've merged your patch. Thank you.
Create another ticket for resolv if it's ready.
shugo (Shugo Maeda)
11:32 AM Feature #13379 (Closed): [PATCH] safe IMAP connections
Applied in changeset trunk|r58549.
----------
net/imap: handle timeouts
Patch by Pavel Rosický. [Feature #13379] [ruby-core:80440]
shugo (Shugo Maeda)
11:32 AM Revision 8b51a725 (git): net/imap: handle timeouts
Patch by Pavel Rosický. [Feature #13379] [ruby-core:80440]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
06:29 AM Bug #13540 (Closed): can't set length of shared string (RuntimeError) when interpolating __FILE__ in a heredoc
There appears to be a bug in Ruby 2.4.0 and 2.4.1 when interpolating `__FILE__` inside of a heredoc. In fact, no code in this file executes when this interpolation is present. Almost as if it's a syntax error, but it's reported as a Runt... kylerippey (Kyle Rippey)
05:08 AM Bug #13539 (Closed): uninitialized class variable @@accept_charset in #<Class:CGI> when calling CGI.unescape
When I execute this script:
~~~ ruby
require "cgi/util"
CGI.unescape("foo")
~~~
On Ruby 2.3.0 this will execute just fine, but on 2.4.1 this throws an error:
~~~
`unescape': uninitialized class variable @@accept_charset in #...
janko (Janko Marohnić)
03:51 AM Bug #13503: Improve performance of some Time & Rational methods
Eric Wong <[email protected]> wrote:
> Maybe CPU and compiler differences can account for this.
> What CPU and compiler are you using?
> I tested with AMD FX-8320 @ 3.5GHz + gcc (via Debian 4.9.2-10)

Here is my Pentium M lapto...
normalperson (Eric Wong)
03:51 AM Bug #13503: Improve performance of some Time & Rational methods
Eric Wong <[email protected]> wrote:
> (+Cc tadf, I guess he has been inactive, lately)

<[email protected]> (expanded from <[email protected]>): host
dotrb.org[219.94.129.152] said: 553 5.3.0 <[email protected]>... User unknown,
no...
normalperson (Eric Wong)
03:41 AM Bug #13503: Improve performance of some Time & Rational methods
[email protected] wrote:
> Bug #13503: Improve performance of some Time & Rational methods
> https://bugs.ruby-lang.org/issues/13503#change-64447
> ----------------------------------------
> Some Time methods will call internal q...
normalperson (Eric Wong)
03:02 AM Bug #13519: Improve performance of some Time methods
[email protected] wrote:
> Bug #13519: Improve performance of some Time methods
> https://bugs.ruby-lang.org/issues/13519

> Some Time methods will call internal quov() function and
> quov() calls Numeric#quo -> Rational#quo -> ...
normalperson (Eric Wong)
02:02 AM Bug #13538 (Closed): head: illegal option -- c
Applied in changeset trunk|r58548.
----------
Use `dd` instead of `head -c`
[Bug #13538] [ruby-dev:50106]
Anonymous
02:01 AM Bug #13538 (Closed): head: illegal option -- c
[Solaris 11.3でビルドを試した](http://blog.n-z.jp/blog/2017-05-02-ruby-sample.html)ところ、configure の最後で以下のようなエラーが出ました。
---
Configuration summary for ruby version 2.5.0

head: illegal option -- c
usage: head [-n #] [-#] [...
znz (Kazuhiro NISHIYAMA)
02:02 AM Revision 929807a9 (git): Use `dd` instead of `head -c`
[Bug #13538] [ruby-dev:50106]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
01:44 AM Revision 5c10fb41 (git): Fix NoMethodError [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

05/02/2017

10:46 PM Bug #13496: Patches for MinGW builds - gnu_printf in 'config' & defines.h
Hiroshi,
Today, I updated [ruby-loco](https://github.com/MSP-Greg/ruby-loco) to work with current builds.
I've added a page to my doc site, [Ruby MinGW test-all](https://msp-greg.github.io/file.mingw_test-all.html), it contains a b...
MSP-Greg (Greg L)
05:48 PM Bug #13536 (Closed): Ripper fails to tokenize nested squiggly heredoc
Applied in changeset trunk|r58545.
----------
ripper/lexer.rb: nested indented heredoc
* ext/ripper/lib/ripper/lexer.rb (on_heredoc_dedent): fix for
nested indedented here documents, where `Elem`s are nested too.
[ruby-core:80977] ...
nobu (Nobuyoshi Nakada)
02:05 PM Bug #13536 (Closed): Ripper fails to tokenize nested squiggly heredoc
```ruby
require 'ripper'
str = \
<<~'end'
<<~"do"
#{
<<~"begin"
this must be a valid ruby
begin
}
do
end
puts eval(str)
str == Ripper.tokenize(str)
```
This program fails at the last line.
shyouhei (Shyouhei Urabe)
05:48 PM Revision 7e73e70d (git): * 2017-05-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:48 PM Revision d24c4683 (git): ripper/lexer.rb: nested indented heredoc
* ext/ripper/lib/ripper/lexer.rb (on_heredoc_dedent): fix for
nested indedented here documents, where `Elem`s are nested too.
[ruby-core:80977] [Bug #13536]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58545 b2dd03c8-39d4-4d8f-...
nobu (Nobuyoshi Nakada)
05:44 PM Feature #13201: Gemify dbm
Could you please provide "Source Code" location information on rubygems.org? That would be helpful. Thx. vo.x (Vit Ondruch)
01:08 AM Feature #13201 (Closed): Gemify dbm
I shipped dbm gem implemented CRuby.
https://rubygems.org/gems/dbm
And update its gemspec on ruby core repository at r58314
hsbt (Hiroshi SHIBATA)
03:09 PM Bug #13537: ruby crash in rb_gc_mark
It should be marking miss failure.
Could you give us the way to reproduce it?
ko1 (Koichi Sasada)
02:28 PM Bug #13537 (Closed): ruby crash in rb_gc_mark
ruby crashes on me fairly regularly while working on a rails app. It happens after a file has changed and the guard gem fires up some tests. It appears to be happening when running rubycritic via guard:
```
running flay smells
run...
viamin (Bart Agapinan)
01:16 PM Revision 3692fd69 (git): .travis.yml: tweek after-update
* .travis.yml (before_script): get rid of making miniruby at
after-update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:45 PM Revision d5c776ad (git): mkconfig.rb: remove cross_compiling
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:45 PM Revision 842a05d2 (git): common.mk: BOOTSTRAPRUBY for enc.mk
* common.mk ($(ENC_MK)): use $(BOOTSTRAPRUBY) as well as $(RBCONFIG),
instead of $(MINIRUBY).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:26 AM Revision 2430822b (git): Use `\A` and `\z` instead of `^` and `$` [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:56 AM Bug #13535: Installing Ruby2.4.1 on Solaris 10
Thank you, but version 1.9.1 is too old (relased 7 years ago maybe?). We no longer maintain.
Can you try a newer version? If it still happens let us know.
shyouhei (Shyouhei Urabe)
09:40 AM Bug #13535 (Closed): Installing Ruby2.4.1 on Solaris 10
Hello
When we install Ruby 1.9.1 on Solaris 10, we execute these commands.
```
# gunzip -c ruby-1.9.1-p0.tar.gz | tar xf –
# cd ruby-1.9.1-p0
# ./configure –prefix=/opt/local –enable-pthread –includedir=/opt/local/include
# mak...
usukere (高橋 佑典)
09:21 AM Feature #13517: [PATCH] reduce rb_mutex_t size from 160 to 80 bytes on 64-bit
At a glance, it seems nice.
But I need to time to check deeply.
I'll check with 'Misc #13514'.
Please wait these days. In Japan, now we have holiday week. I'll check on these days.
Thanks,
Koichi
ko1 (Koichi Sasada)
09:12 AM Feature #13517: [PATCH] reduce rb_mutex_t size from 160 to 80 bytes on 64-bit
[email protected] wrote:
> Feature #13517: [PATCH] reduce rb_mutex_t size from 160 to 80 bytes on 64-bit
> https://bugs.ruby-lang.org/issues/13517

Any comment? I would like to commit this, soon.

Thanks.
normalperson (Eric Wong)
07:35 AM Revision 6519aba3 (git): internal.h: rb_raise_static
* internal.h (rb_raise_static): raise with a static message string
literal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:46 AM Revision 107f1572 (git): remove unnecessary conditions in lib/unicode_normalize.rb
Because the methods in lib/unicode_normalize.rb are overwritten
by those in lib/unicode_normalize/normalize.rb as soon as one
of them is called, the check for whether UnicodeNormalized is
defined or not is no longer necessary.
git-svn-i...
duerst (Martin Dürst)
05:34 AM Revision 8001dae8 (git): rework definition of String#unicode_normalize! and #unicode_normalized?
simplify String#unicode_normalize! and #unicode_normalized?
in lib/unicode_normalize.rb by redefining them
in lib/unicode_normalize/normalize.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
05:15 AM Revision 42b87137 (git): rework definition of String#unicode_normalize
simplify String#unicode_normalize in lib/unicode_normalize.rb
by redefining it in lib/unicode_normalize/normalize.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
02:44 AM Feature #13534 (Closed): Checking installation results of default gems
It's a reminder.
I merged rubygems-2.6.12 at r58530. But it backports was removed `test_realworld_default_gem` from original release.
Because `test_realworld_default_gem` verifies installation results of default gems. So ruby test su...
hsbt (Hiroshi SHIBATA)
02:40 AM Revision 43ae954f (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:40 AM Revision 7ef49716 (git): more benchmarks for SizedQueue and ConditionVariable
I'm working on patches to improve everything in thread_sync.c,
add these to track progress.
* benchmark/bm_vm_thread_sized_queue.rb: add description
* benchmark/bm_vm_thread_condvar1.rb: new benchmark
* benchmark/bm_vm_thread_condvar2.r...
Eric Wong
02:37 AM Bug #13533 (Closed): please backport r58534
closing to trigger backport request
normalperson (Eric Wong)
02:37 AM Bug #13533 (Closed): please backport r58534
```
This bug causes busy wait (100% CPU usage) on IO.copy_stream
with sockets/pipes with O_NONBLOCK set.
In other words, the following code should not cause 100% CPU usage,
just hang forever w/o burning CPU:
require 'io/nonbloc...
normalperson (Eric Wong)
02:19 AM Revision ca8f454f (git): nogvl_wait_for_single_fd must wait as its name
poll(fds, n, 0) mean no timeout and immediately return. If you want to
wait something, you need to use -1 instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:16 AM Feature #13532 (Assigned): Enable :encoding key or open-uri (open()) similar as to how File.read() and File.readlines() already allow for
FYI bare (non-uri) open has encoding: option.
```
irb(main):001:0> File.open("tmp.txt", encoding: Encoding::Windows_31J) {|fp| fp.external_encoding }
=> #<Encoding:Windows-31J>
```
shyouhei (Shyouhei Urabe)

05/01/2017

11:57 PM Bug #13531 (Assigned): RSS: a feed with empty channel description has completely empty '#to_xml' conversion
Thanks for your report.
I'll consider how rss handles the case. I'll change rss to accept empty `<description>`. I must keep backward compatibility.
kou (Kouhei Sutou)
05:30 PM Bug #13531 (Closed): RSS: a feed with empty channel description has completely empty '#to_xml' conversion
With the rss standard library, a feed with **empty channel description** is correctly parsed, but its conversion to xml (`#to_xml`) results in an **empty string**.
(The expected result being a string representation of the full xml tre...
mala (stefano frabetti)
08:29 PM Bug #13526: Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
wanabe (_ wanabe) wrote:
> I'm sorry to reproduce with trunk at my environment.
Oh, thank you.
usa (Usaku NAKAMURA)
02:01 PM Bug #13526: Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
I'm sorry to reproduce with trunk at my environment.
Log attached.
wanabe (_ wanabe)
01:33 PM Bug #13526: Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
It seems that the HEAD of ruby_2_3 still has this problem but trunk nor ruby_2_4 don't. usa (Usaku NAKAMURA)
01:22 PM Bug #13526: Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
vlad-leonov (Vladislav Leonov) wrote:
>-- Ruby level backtrace information ----------------------------------------
> ...
Ruby level backtrace shows there are some threads.
> -- C level backtrace information ------------------------...
wanabe (_ wanabe)
06:10 PM Feature #13532 (Closed): Enable :encoding key or open-uri (open()) similar as to how File.read() and File.readlines() already allow for
Hello ruby core team and everyone else.
I lately had some odd behaviour and mixing of Encodings in my
scripts.
I had a better look and realized that open-uri would return
UTF-8 whereas my other scripts would use another encoding....
shevegen (Robert A. Heiler)
03:17 PM Revision bad2570a (git): * 2017-05-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision ff2422d7 (git): thread.c: suppress warnings [ci skip]
* thread.c (fill_thread_id_string): cast to void pointer to
suppress warnings when pthread_t is not pointer type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:55 AM Bug #13530 (Closed): backport r58370 and r58382
バックポート管理用のチケットです。 usa (Usaku NAKAMURA)
11:40 AM Revision 8fabb5f5 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:40 AM Revision 708a10d3 (git): Merge rubygems-2.6.12 from rubygems/rubygems.
* Details of changes:
https://github.com/rubygems/rubygems/blob/009080040279282d7b8ddd09acab41719cb4ba00/History.txt#L3
* I kept ko1's commmit related thread issue. It's not merged 2.6 branch on rubygems.
https://github.com/ru...
hsbt (Hiroshi SHIBATA)
11:22 AM Feature #13488: Set Encoding.default_external to UTF-8 on Windows
naruse (Yui NARUSE) wrote:
> If you want to change them, you should just change ruby as if it runs on `chcp 65001`:
In the trunk, you don't have to change ruby source code.
Just configure with `--enable-debug-env`, and include `code...
nobu (Nobuyoshi Nakada)
09:51 AM Feature #13488: Set Encoding.default_external to UTF-8 on Windows
larskanis (Lars Kanis) wrote:
> Currently Encoding.default_external is set to the local ANSI encoding of the Windows installation unless changed per option `-E`. This is cp850 for Western Europe. It should be changed to UTF-8.
> ...
I ...
duerst (Martin Dürst)
10:20 AM Revision abb8b330 (git): Merge gemspec from ruby/webrick.
* Bump version to 1.4.0.beta1. Because https://rubygems.org/gems/webrick
is already reserved old version of webrick.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
09:32 AM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
OK, so I think my patch for [Feature #13517] will be fine
and this one can be dropped. I may add a return value for
native_sleep to indicate it is interrupted, though...
normalperson (Eric Wong)
08:41 AM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
normalperson (Eric Wong) wrote:
> > However, I can't understand well about changing native_sleep(). Before
> ...
Perhaps, I first introduced such a preservation code for rb_mutex_lock at r17435. But sorry, I cannot remeber the reason...
mame (Yusuke Endoh)
08:11 AM Bug #13529 (Closed): Warning when compiling io.c
This seems to have been a temporary issue. For the commands above, I get the same results now. Closing. duerst (Martin Dürst)
07:23 AM Bug #13529 (Feedback): Warning when compiling io.c
How did you configure it?
I can't reproduce it, and `rb_cv_off_t_convertible` seems properly configured as `LONG`.
```
$ sed -i /off_t/d config.cache
$ make reconfig | grep off_t
checking for off_t... yes
checking size of of...
nobu (Nobuyoshi Nakada)
05:48 AM Bug #13529 (Closed): Warning when compiling io.c
I get the warning below when trying to compile trunk on cygwin:
```
compiling io.c
io.c: In function ‘do_io_advise’:
io.c:8869:29: warning: format ‘%lld’ expects argument of type ‘long long int’, b ut a...
duerst (Martin Dürst)
08:05 AM Misc #13525: Expand HTTPS to lists.ruby-lang.org
Just entering https://lists.ruby-lang.org as URL however redirects to the non-HTTPS version. I don't know whether this is expected behaviour, but I just wanted to let you know. Using https://lists.ruby-lang.org/cgi-bin/mailman/listinfo d... Quintus (Marvin Gülker)
08:02 AM Misc #13525: Expand HTTPS to lists.ruby-lang.org
I can confirm that the site is now reachable via HTTPS as well. Firefox now accepts the login field without a warning.
Thank you again!
Marvin
Quintus (Marvin Gülker)
02:05 AM Misc #13525: Expand HTTPS to lists.ruby-lang.org
I enabled HTTPS of lists.ruby-lang.org
https://lists.ruby-lang.org/cgi-bin/mailman/admin/ruby-de
Can you confirm that behavior?
hsbt (Hiroshi SHIBATA)
01:05 AM Misc #13525 (Assigned): Expand HTTPS to lists.ruby-lang.org
hsbt (Hiroshi SHIBATA)
08:04 AM Feature #13518: Indented multiline comments
Nobu can correct me if I'm wrong, but he meant the feature when he said "not a big fan". Same for me. `=begin`/`=end` are rare, and it's better to make them stick out. duerst (Martin Dürst)
08:03 AM Bug #13510: Problems with dependency resolution - Molinillo algo
The current rubygems does not provide support for multiple versions, or branches at installation time.
All dependencies are resolved at the gem building time, and gem files contain static values only.
Rubygems needs improvements.
nobu (Nobuyoshi Nakada)
07:50 AM Feature #6721 (Closed): Object#yield_self
Applied in changeset trunk|r58528.
----------
object.c: Kernel#yield_self
* object.c (rb_obj_yield_self): new method which yields the
receiver and returns the result.
[ruby-core:46320] [Feature #6721]
nobu (Nobuyoshi Nakada)
07:50 AM Feature #10095 (Closed): Object#as
Applied in changeset trunk|r58528.
----------
object.c: Kernel#yield_self
* object.c (rb_obj_yield_self): new method which yields the
receiver and returns the result.
[ruby-core:46320] [Feature #6721]
nobu (Nobuyoshi Nakada)
07:50 AM Feature #10095: Object#as
I think that `#convert` suggests something is changed by the method itself.
( I like `#let`)
Anyway, since Matz has accepted `#yield_self` months ago already[1], now introduce it.
[1]: https://bugs.ruby-lang.org/issues/12760#chang...
nobu (Nobuyoshi Nakada)
07:50 AM Feature #11717 (Closed): Object#trap -- pass object to block and return result
Applied in changeset trunk|r58528.
----------
object.c: Kernel#yield_self
* object.c (rb_obj_yield_self): new method which yields the
receiver and returns the result.
[ruby-core:46320] [Feature #6721]
nobu (Nobuyoshi Nakada)
07:50 AM Feature #12760 (Closed): Optional block argument for `itself`
Applied in changeset trunk|r58528.
----------
object.c: Kernel#yield_self
* object.c (rb_obj_yield_self): new method which yields the
receiver and returns the result.
[ruby-core:46320] [Feature #6721]
nobu (Nobuyoshi Nakada)
07:50 AM Feature #13172 (Closed): Method that yields object to block and returns result
Applied in changeset trunk|r58528.
----------
object.c: Kernel#yield_self
* object.c (rb_obj_yield_self): new method which yields the
receiver and returns the result.
[ruby-core:46320] [Feature #6721]
nobu (Nobuyoshi Nakada)
07:50 AM Revision cec06682 (git): object.c: Kernel#yield_self
* object.c (rb_obj_yield_self): new method which yields the
receiver and returns the result.
[ruby-core:46320] [Feature #6721]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:42 AM Revision dabaaafd (git): Fix typo in documentation [ci skip]
[Fix GH-1599]
Author: Liam Sean Brady <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
02:01 AM Revision d70e47dc (git): zlib.c: no buf_filled in zstream
* ext/zlib/zlib.c (zstream): manage capacity and size of `buf`
instead of size and separated member `buf_filled`. reported by
Christian Jalio (jalio) at https://hackerone.com/reports/211958
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
01:06 AM Bug #13524 (Feedback): miniruby: [BUG] Segmentation fault at 0x0055e487e00230 ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-li
Is it possible for you to show us how to reproduce this?
shyouhei (Shyouhei Urabe)
12:59 AM Feature #13527 (Assigned): Accept IO object as stdin data in Open3.capture
shyouhei (Shyouhei Urabe)
12:35 AM Revision c4c3d86a (git): zlib.c: zstream_buffer_ungetbyte
* ext/zlib/zlib.c (zstream_buffer_ungetbyte): simplify by using
zstream_buffer_ungets().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:35 AM Revision 5f8ae917 (git): zlib.c: zstream_expand_buffer_non_stream
* ext/zlib/zlib.c (zstream_expand_buffer_non_stream): rename from
zstream_expand_buffer_without_gvl() and replace duplicate code
in zstream_expand_buffer().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58524 b2dd03c8-39d4-4d8f-...
nobu (Nobuyoshi Nakada)
12:33 AM Bug #13528 (Closed): Calling #denominator on a whole number floating point number causes segfault with mathn loaded.
Applied in changeset trunk|r58523.
----------
rational.c: canonicalization case
* rational.c (float_numerator, float_denominator): fix for
canonicalization case where `Float#to_r` could return an Integer
not a Rational. although m...
nobu (Nobuyoshi Nakada)
12:32 AM Revision fbb38d6d (git): rational.c: canonicalization case
* rational.c (float_numerator, float_denominator): fix for
canonicalization case where `Float#to_r` could return an Integer
not a Rational. although mathn.rb has been removed in the
trunk, fix for the backport purpose.
[ruby-cor...
nobu (Nobuyoshi Nakada)

04/30/2017

09:39 PM Revision 6aac7635 (git): * parse.y (parser_parse_string): set the mark of term to `nd_func`
because in this version `u2.id` is not used for this purpose.
fixed failure of ruby/spec introduced at r58518.
see also [Backport #13363]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@58522 b2dd03c8-39d4-4d8f-98ff-...
U.Nakamura
09:18 PM Revision 55e99ef5 (git): * 2017-05-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:18 PM Revision eb7817ad (git): setup.mak have to handle `GIT` and `HAVE_GIT`
* win32/setup.mak: seems to be forgotten to commit at r58295.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:23 PM Feature #10095: Object#as
The weakness of "as" is that it is not a verb. This puts it at odds with the majority of core methods and makes it confusing when followed up by more method calls.
Without a follow-up it is indeed quite readable:
```ruby
number.as...
janosch-x (Janosch Müller)
06:41 PM Bug #13528 (Closed): Calling #denominator on a whole number floating point number causes segfault with mathn loaded.
Code to reproduce.
~~~ ruby
require "mathn"
(2.0).denominator
~~~
Repeatable in isolated docker container
~~~
docker run -it ruby:slim ruby -e 'require "mathn"; p (2.0).denominator;'
~~~
Stacktrace follows
~~~
-e:1...
burningpony (Russell Osborne)
02:05 PM Bug #13236: Ruby segfault
ruby_2_3 r58519 merged revision(s) 58082,58083. usa (Usaku NAKAMURA)
02:05 PM Revision 6334ff38 (git): merge revision(s) 58082,58083: [Backport #13236]
class.c: ensure_includable
* class.c (ensure_includable): extract checks to include and
prepend.
class.c: prohibit refinement module
* class.c (ensure_includable): cannot include refinement
m...
U.Nakamura
01:59 PM Bug #13363: Backport ripper location fix
ruby_2_3 r58518 merged revision(s) 58080,58138. usa (Usaku NAKAMURA)
01:59 PM Revision c884cbd8 (git): merge revision(s) 58080,58138: [Backport #13363]
keep line number after unterminated string literal
* parse.y (parser_parse_string): keep line number even after an
unterminated string literal. it does not matter in the parser,
ripper needs this value after...
U.Nakamura
01:53 PM Bug #13306: [DOC] rdoc for IO#puts
ruby_2_3 r58517 merged revision(s) 58062. usa (Usaku NAKAMURA)
01:53 PM Revision 410c048a (git): merge revision(s) 58062: [Backport #13306]
io.c: [DOC] expand docs for IO#puts
[ruby-core:80081] [Bug #13306]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@58517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:40 PM Bug #13191: sample/pty/shl.rb がうまく動かない
ruby_2_3 r58516 merged revision(s) 57531,57532,57533,57537. usa (Usaku NAKAMURA)
01:40 PM Revision 657a8067 (git): merge revision(s) 57531,57532,57533,57537: [Backport #13191]
pty/shl.rb: update [ci skip]
* sample/pty/shl.rb: stop writer loop when the child exited.
PTY::ChildExited no longer raises asynchronously since r20298.
[ruby-dev:49974] [Bug #13191]
pty/shl.rb: updat...
U.Nakamura
01:35 PM Bug #13175: Building --with-jemalloc on FreeBSD fails
ruby_2_3 r58515 merged revision(s) 57490. usa (Usaku NAKAMURA)
01:35 PM Revision bf34bdf5 (git): merge revision(s) 57490: [Backport #13175]
configure.in: use AC_SEARCH_LIBS
* configure.in (--with-gmp, --with-jemalloc): use AC_SEARCH_LIBS
to check if no library is required, instead of AC_CHECK_LIB.
[ruby-core:79368] [Bug #13175]
git-svn-id: svn+s...
U.Nakamura
01:34 PM Revision 235a8214 (git): Typo
* tool/generate-backport-changelog.rb: fixed a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:27 PM Bug #13138: Rounding bug
ruby_2_3 r58513 merged revision(s) 55604,55612. usa (Usaku NAKAMURA)
01:27 PM Revision 2dfde7e8 (git): merge revision(s) 55604,55612: [Backport #13138]
* numeric.c (flo_round): [EXPERIMENTAL] adjust the case that the
receiver is close to the exact but unrepresentable middle value
of two values in the given precision.
http://d.hatena.ne.jp/hnw/20160702
...
U.Nakamura
01:10 PM Bug #13509 (Third Party's Issue): Ruby 2.4.1 Fails to Compile on Raspberry Pi 3, Raspbian
usa (Usaku NAKAMURA)
01:09 PM Bug #13510 (Third Party's Issue): Problems with dependency resolution - Molinillo algo
usa (Usaku NAKAMURA)
12:20 PM Bug #13398 (Rejected): segfault: Thread.new(foo, &:bar)
usa (Usaku NAKAMURA)
11:49 AM Feature #13527 (Closed): Accept IO object as stdin data in Open3.capture
Currently Open3.capture3, Open3.capture2, Open3.capture2e accept a :stdin_data option, which allows you to write a String into subprocess' standard input. This patch adds the ability to also pass in an IO-like object (any object that res... janko (Janko Marohnić)
10:53 AM Bug #13522 (Closed): Solaris10上で make update-rubyspec が bad substitution で失敗
Applied in changeset trunk|r58512.
----------
git-refresh: fix for Solaris
* tool/git-refresh: expand for each words.
[ruby-dev:50102] [Bug #13522]
nobu (Nobuyoshi Nakada)
07:49 AM Bug #13522 (Open): Solaris10上で make update-rubyspec が bad substitution で失敗
bad substitution でエラーになるのは変わらないため再オープンします。
Solaris の /bin/sh では、以下のように、`${branch+echo}` のようにスペースが入っていなければOK、`${branch+echo abc}` のようにスペースが入っていると bad substitution でアウト、になります。説明不足ですみませんでした。
つまり、r58507 では本質ではない場所が変更されていますが、肝心の「`${branch...
ngoto (Naohisa Goto)
03:52 AM Bug #13522 (Closed): Solaris10上で make update-rubyspec が bad substitution で失敗
Applied in changeset trunk|r58507.
----------
git-refresh: fix for Solaris
* tool/git-refresh: unset variable `branch` if it is null, to get
rid of substitutions which are not supported old Solaris.
[ruby-dev:50102] [Bug #13522]
nobu (Nobuyoshi Nakada)
10:53 AM Revision e97e093a (git): git-refresh: fix for Solaris
* tool/git-refresh: expand for each words.
[ruby-dev:50102] [Bug #13522]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:06 AM Revision c4378e0f (git): thread_sync.c: document SizedQueue#clear correctly [ci skip]
* thread_sync.c (rb_szqueue_clear): fix class name in RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
07:24 AM Revision 2e486d8b (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:24 AM Revision 8e147f1b (git): new benchmark for SizedQueue
The performance of SizedQueue is a bit more complex than
regular Queue, so it deserves a separate benchmark.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
03:52 AM Revision 5a2c1ee3 (git): * 2017-04-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:52 AM Revision eeed8b96 (git): git-refresh: fix for Solaris
* tool/git-refresh: unset variable `branch` if it is null, to get
rid of substitutions which are not supported old Solaris.
[ruby-dev:50102] [Bug #13522]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58507 b2dd03c8-39d4-4d8f-98f...
nobu (Nobuyoshi Nakada)
12:17 AM Feature #13518: Indented multiline comments
nobu (Nobuyoshi Nakada) wrote:
> Possible of course, but I'm not a big fan of this.
Respect for your ability to quickly modify the code for what I suggested.
Just to clarify: are you not a big fan of the feature request in general...
tscheingeld (Terry Scheingeld)

04/29/2017

08:41 PM Feature #13211: Hash#delete taking a splat
I've attached a patch of what I'm talking about, which should hopefully be more clear. The idea is that you could delete multiple values from a hash at once, which is valuable in its own right. Additionally, the return value is changed t... kddnewton (Kevin Newton)
10:50 AM Revision b7ad5496 (git): load.c: remove a redundant rb_str_freeze call
rb_file_expand_path_fast already performs the buffer shrinking
rb_str_freeze does (via expand_path macro in file.c); the
result of rb_fstring is always frozen, and that rb_fstring
call is the last use of `expanded_path` in its scope.
lo...
Eric Wong
10:27 AM Revision 8a741981 (git): proc.c: recursion loop
* proc.c (rb_block_min_max_arity, rb_method_entry_min_max_arity):
turn loop by recursion into goto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:39 AM Feature #13518: Indented multiline comments
Possible of course, but I'm not a big fan of this.
```diff
diff --git i/misc/ruby-mode.el w/misc/ruby-mode.el
index b1abd18a9e..5e8a6a1646 100644
--- i/misc/ruby-mode.el
+++ w/misc/ruby-mode.el
@@ -135,7 +135,7 @@
(concat "[?...
nobu (Nobuyoshi Nakada)
02:58 AM Bug #13523 (Closed): negative line numbers in instance_eval are misinterpreted in 32-bit ruby-trunk
Applied in changeset trunk|r58503.
----------
node.h: sign-extend
* node.h (nd_line): should sign-extend. shifting `VALUE` extends
with zero bits if `sizeof(VALUE)` equals to `sizeof(int)`. the
zero bits are truncated if `sizeof(...
nobu (Nobuyoshi Nakada)
02:58 AM Revision 4bf532ad (git): * 2017-04-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:58 AM Revision c6c55bb7 (git): node.h: sign-extend
* node.h (nd_line): should sign-extend. shifting `VALUE` extends
with zero bits if `sizeof(VALUE)` equals to `sizeof(int)`. the
zero bits are truncated if `sizeof(VALUE)` is bigger enough.
[ruby-core:80920] [Bug #13523]
git-svn-...
nobu (Nobuyoshi Nakada)

04/28/2017

10:47 PM Bug #13496: Patches for MinGW builds - gnu_printf in 'config' & defines.h
Hiroshi,
Good morning.
Definitely pre-release. See [ruby-loco](https://github.com/MSP-Greg/ruby-loco).
Re pgp, I haven't worked with it much. My KeyID is 77D8FA18. I don't recall whether you need that or the truncated public ...
MSP-Greg (Greg L)
02:30 PM Bug #13496: Patches for MinGW builds - gnu_printf in 'config' & defines.h
Good evening Hiroshi,
I've been thinking of putting it on GitHub, but I've been dividing my OSS time between it and my doc site.
I'll try to get something by Sunday or earlier. It will probably require some setup/editing of config...
MSP-Greg (Greg L)
01:29 PM Bug #13496: Patches for MinGW builds - gnu_printf in 'config' & defines.h
Hi, Greg.
Thanks always about MinGW.
Can you give instructions to build your MinGW environment on Windows?
I will prepare MinGW environment for build ruby source.
hsbt (Hiroshi SHIBATA)
07:47 PM Feature #6284: Add composition for procs
matz (Yukihiro Matsumoto) wrote:
> I want to make sure if everyone agrees with "*" instead of OP's "<<".
> ...
+1 for #*
Initially I thought of the F# convention #<< and it's counter part #>> as intuitive. But after giving it some t...
RichOrElse (Ritchie Buitre)
07:31 PM Bug #13526 (Closed): Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
see attached log vlad-leonov (Vladislav Leonov)
06:58 PM Feature #13518: Indented multiline comments
I have no particular pro or con opinion here (I do not use =begin or =end anyway,
only '#') but would this even be possible?
shevegen (Robert A. Heiler)
02:47 AM Feature #13518 (Rejected): Indented multiline comments
I'd like to submit the idea that multiline comments could be indented. That is, `=begin` and `=end` do not have to start at column zero. That would allow for more flexibility in documenting and commenting code. tscheingeld (Terry Scheingeld)
06:57 PM Feature #13516: Improve the text of the circular require warning
I am not sure if this particular message is better or not - but I agree with you in
general. To me this was a source of frustration for a long time transitioning from
ruby 1.8.x to a higher ruby version, until I started to change the w...
shevegen (Robert A. Heiler)
05:57 PM Bug #13523: negative line numbers in instance_eval are misinterpreted in 32-bit ruby-trunk
Actually this also happens on older release, there are just less 32-bit builders on older versions:
http://rubyci.org/logs/www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20170428T070500Z.fail.html.gz
Eregon (Benoit Daloze)
12:15 PM Bug #13523 (Closed): negative line numbers in instance_eval are misinterpreted in 32-bit ruby-trunk
As can be seen on http://rubyci.org/, 32-bit ruby-trunk seems to have regressed and no longer handles negative line number in #instance_eval correctly.
Specifically, this spec fails:
~~~ ruby
it "evaluates string with given file...
Eregon (Benoit Daloze)
04:54 PM Misc #13525 (Closed): Expand HTTPS to lists.ruby-lang.org
Hi ruby-lang.org admins,
while managing the new `ruby-de` list I noticed that `lists.ruby-lang.org` is not reachable via HTTPS properly. If one tries, the browser first displays a TLS certificate domain mismatch warning, and after dis...
Quintus (Marvin Gülker)
04:26 PM Bug #13524 (Third Party's Issue): miniruby: [BUG] Segmentation fault at 0x0055e487e00230 ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-li
Linux: Alpine Linux 3.5
./miniruby: [BUG] Segmentation fault at 0x0055e487e00230
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0001 p:0000...
rtacconi (Riccardo Tacconi)
01:45 PM Feature #13508 (Assigned): How remove/refactor code related mathn library.
shyouhei (Shyouhei Urabe)
01:45 PM Feature #13494 (Assigned): [PATCH] pack rb_method_definition_t struct
shyouhei (Shyouhei Urabe)
01:45 PM Feature #13483 (Assigned): TracePoint#enable with block for thread-local trace
shyouhei (Shyouhei Urabe)
01:45 PM Bug #13438 (Assigned): Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
shyouhei (Shyouhei Urabe)
01:45 PM Bug #13431 (Assigned): sample/drb/http0*.rb is not working.
shyouhei (Shyouhei Urabe)
01:45 PM Feature #13382 (Assigned): [PATCH] Options for FTP PORT command
shyouhei (Shyouhei Urabe)
01:45 PM Feature #13379 (Assigned): [PATCH] safe IMAP connections
shyouhei (Shyouhei Urabe)
01:45 PM Bug #13315 (Assigned): Single "%" at the end of `printf` format string appears in the result
shyouhei (Shyouhei Urabe)
01:45 PM Feature #13221 (Assigned): [PATCH] gems/bundled_gems: add "curses" RubyGem
shyouhei (Shyouhei Urabe)
01:45 PM Feature #13201 (Assigned): Gemify dbm
shyouhei (Shyouhei Urabe)
01:45 PM Bug #12763 (Assigned): Performance regression in bm_securerandom.rb
shyouhei (Shyouhei Urabe)
01:45 PM Bug #12725 (Assigned): Trying to use ./miniruby before it exists
shyouhei (Shyouhei Urabe)
01:45 PM Bug #12642 (Assigned): Net::HTTP populates host header incorrectly when using an IPv6 Address
shyouhei (Shyouhei Urabe)
01:45 PM Bug #12582 (Assigned): OpenSSL Authenticated Encryption should check for tag length
shyouhei (Shyouhei Urabe)
01:45 PM Bug #12547 (Assigned): Remove ONIG_UNICODE_VERSION_... in enc/unicode/case-folding.rb, casefold.h
shyouhei (Shyouhei Urabe)
01:45 PM Bug #12506 (Assigned): On cygwin, Feature #5994 does not work
shyouhei (Shyouhei Urabe)
01:45 PM Bug #12473 (Assigned): Test failure on fedora with TestTimeExtension#test_huge_precision
shyouhei (Shyouhei Urabe)
01:45 PM Bug #12445 (Assigned): Testing TestIO#test_open_fifo_does_not_block_other_threads results in deadlock on cygwin
shyouhei (Shyouhei Urabe)
01:45 PM Bug #12444 (Assigned): Segmentation fault when running TestException#test_machine_stackoverflow on cygwin
shyouhei (Shyouhei Urabe)
01:45 PM Bug #12442 (Assigned): TestArgf#test_textmode fails on cygwin
shyouhei (Shyouhei Urabe)
01:45 PM Misc #12439 (Assigned): [PATCH cleanup] process.c (disable_child_handler_fork_child): simplify
shyouhei (Shyouhei Urabe)
01:45 PM Bug #11953 (Assigned): ThreadError in 2.3 on code that works on 2.2.4
shyouhei (Shyouhei Urabe)
01:45 PM Feature #11322 (Assigned): OpenUri: RuntimeError: HTTP redirection loop
shyouhei (Shyouhei Urabe)
01:45 PM Bug #11078 (Assigned): 2.2 String#unicode_normalize method does not appear in generated API docs
shyouhei (Shyouhei Urabe)
01:45 PM Feature #8576 (Assigned): Add optimized method type for constant value methods
shyouhei (Shyouhei Urabe)
01:45 PM Bug #4443 (Assigned): odd evaluation order in a multiple assignment
shyouhei (Shyouhei Urabe)
01:44 PM Bug #13397: #object_id should not be signed
The patch is missing documentation, otherwise I love it! vo.x (Vit Ondruch)
07:46 AM Bug #13397: #object_id should not be signed
Such feature would be nice, but can't help libraries which support older versions.
```diff
commit 1f7154a4ae0e480774dbfe79905b21d26d5b4cbc
Author: Nobuyoshi Nakada <[email protected]>
Date: Fri Apr 28 16:35:48 2017
`%I` f...
nobu (Nobuyoshi Nakada)
12:14 PM Revision eb486f24 (git): Bump version to gdbm-2.0.0.beta1
* Merge from ruby/gdbm.
* gdbm gem is already registered in rubygems.org. I skip shipped
version of 0.x and 1.x. Therefore We need to use 2.x.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58502 b2dd03c8-39d4-4d8f-98ff-823fe69...
hsbt (Hiroshi SHIBATA)
12:13 PM Bug #13522 (Closed): Solaris10上で make update-rubyspec が bad substitution で失敗
おそらく r58467 以降、またもやSolaris 10上にて make update-rubyspec が bad substitution で失敗します。
現象は [Bug #13424] と同一ですが、原因は r58467 の変更にあると思いますので新チケットにしました。
```
$ make update-rubyspec V=1
./tool/git-refresh -C ./spec \
git://github.com/r...
ngoto (Naohisa Goto)
11:42 AM Revision 99a105c8 (git): sprintf.c: remove unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:50 AM Revision 191be805 (git): parse.y: set_line_body is not used in ripper
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:21 AM Bug #13521 (Third Party's Issue): [PATCH] Add fallback for DNS resolver registry key on Wine
Wine doesn't initialize the registry key per default:
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DataBasePath
Therefore `gem install` fails with `Win32::Registry::Error`.
This patch uses the default path for the hos...
larskanis (Lars Kanis)
08:08 AM Feature #13517: [PATCH] reduce rb_mutex_t size from 160 to 80 bytes on 64-bit
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/13517

For who care about 32-bit, single-core x86, here are my
Pentium M (Centrino) @ 1.6GHz numbers:

Size reduction of Mutex on 32-bit is 112 => 40 bytes

minimu...
normalperson (Eric Wong)
02:21 AM Feature #13517 (Closed): [PATCH] reduce rb_mutex_t size from 160 to 80 bytes on 64-bit
```
Instead of relying on a native condition variable and mutex for
every Ruby Mutex object, use a doubly linked-list to implement a
waiter queue in the Mutex. The immediate benefit of this is
reducing the size of every Mutex object...
normalperson (Eric Wong)
08:06 AM Bug #13181 (Closed): Unexpected line in rescue backtrace
Applied in changeset trunk|r58499.
----------
parse.y: fix line in rescue
* parse.y (set_line_body, primary): fix line number of bodystmt as
the beginning of the block. [ruby-core:79388] [Bug #13181]
nobu (Nobuyoshi Nakada)
08:06 AM Revision 7d085cca (git): parse.y: fix line in rescue
* parse.y (set_line_body, primary): fix line number of bodystmt as
the beginning of the block. [ruby-core:79388] [Bug #13181]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:03 AM Bug #13520 (Rejected): backport r58495
と思ったら、trunk側の変更が誤謬によるものだとのこと。 usa (Usaku NAKAMURA)
05:36 AM Bug #13520 (Rejected): backport r58495
バックポート管理用のチケットです。 usa (Usaku NAKAMURA)
05:16 AM Feature #13507: Improve performance of some Complex methods where call Numeric#real? internally
Could your patch
```
-fun1(real_p)
+
+inline static VALUE
+f_real_p(VALUE x)
+{
+ if (RB_INTEGER_TYPE_P(x)) {
+ return Qtrue;
+ }
+ else if (RB_FLOAT_TYPE_P(x)) {
+ return Qtrue;
+ }
+ return r...
jzakiya (Jabari Zakiya)
05:08 AM Revision efdc6d78 (git): sprintf.c: ruby_ultoa
* sprintf.c (ruby_ultoa): prefixed to get rid of conflict with
a MSVC library function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:07 AM Bug #13519 (Closed): Improve performance of some Time methods
This is related to https://bugs.ruby-lang.org/issues/13503
Some Time methods will call internal quov() function and
quov() calls Numeric#quo -> Rational#quo -> ...
This patch will add rb_numeric_quo() as internal C API to call Num...
watson1978 (Shizuo Fujita)
02:10 AM Revision fb7c7d1e (git): sprintf.c: format by utility functions
* sprintf.c (rb_str_format, fmt_setup): format by utility
functions in vsnprintf.c instead of `snprintf`.
* sprintf.c (rb_str_format): format and append by `rb_str_catf`
instead of formatting by `snprintf` and then copy.
git-svn-id...
nobu (Nobuyoshi Nakada)
02:05 AM Revision cd946384 (git): * 2017-04-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:05 AM Revision be2e146a (git): sprintf.c: fix one-off bug
* sprintf.c (rb_str_format): `CHECK` just before `FILL_`, but
after another `PUSH`. fix one-off bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

04/27/2017

10:41 PM Feature #13516 (Assigned): Improve the text of the circular require warning
The warning currently reads:
`loading in progress, circular require considered harmful - /my/file.rb`
I think it would be more helpful like:
`Circular require: Loading of /my/file.rb is already in progress, but require was calle...
jaredbeck (Jared Beck)
05:51 PM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
SASADA Koichi <[email protected]> wrote:
> On 2017/04/27 12:57, Eric Wong wrote:
> > https://80x24.org/spew/[email protected]/raw
>
> Thank you. I understand the idea. My understanding is "Do not rely on
> native cond...
normalperson (Eric Wong)
05:12 AM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
On 2017/04/27 12:57, Eric Wong wrote:
> https://80x24.org/spew/[email protected]/raw

Thank you. I understand the idea. My understanding is "Do not rely on
native cond, but manage sleeping threads by ourselves (mana...
ko1 (Koichi Sasada)
04:12 AM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
Eric Wong <[email protected]> wrote:
> This is my work-in-progress patch:
>
> https://80x24.org/spew/[email protected]/raw
>
> I am still working on fixing the failing test (but I am
> distracted by another...
normalperson (Eric Wong)
03:42 AM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
SASADA Koichi <[email protected]> wrote:
> On 2017/04/27 8:58, Eric Wong wrote:
> > I am looking to replace lock_func in thread_sync.c with
> > native_sleep or similar. This is to reduce Mutex size and
> > complexity by using a similar...
normalperson (Eric Wong)
03:32 AM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
On 2017/04/27 12:13, SASADA Koichi wrote:
> I'm afraid that the assumptions for native_sleep() (and other functions)
> will be break and can't control.

I don't mean we should keep current assumption. But we need to update
assumpti...
ko1 (Koichi Sasada)
03:22 AM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
On 2017/04/27 8:58, Eric Wong wrote:
> I am looking to replace lock_func in thread_sync.c with
> native_sleep or similar. This is to reduce Mutex size and
> complexity by using a similar method to what I did in r52332
> with ccan/l...
ko1 (Koichi Sasada)
12:09 AM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
[email protected] wrote:
> Issue #13514 has been updated by ko1 (Koichi Sasada).
>
>
> Do you expect such situation?

Not right now. I am looking at making changes related to
threading, and I noticed this weirdness.

> (1) run r...
normalperson (Eric Wong)
03:12 PM Bug #9907: Abbreviated method assignment with private attr_writer/attr_reader does not work.
Intentional fix. nobu (Nobuyoshi Nakada)
12:19 PM Bug #9907: Abbreviated method assignment with private attr_writer/attr_reader does not work.
This issue seems to have resurfaced. The issue is fixed in 2.2, but broken in both 2.3 and 2.4. siimliiser (Siim Liiser)
03:12 PM Bug #13509 (Closed): Ruby 2.4.1 Fails to Compile on Raspberry Pi 3, Raspbian
It seems that the problem was the CFLAGS value
-mtune=native
which also caused the build of other applications to fail.
I'll try to report it to Raspbian.
I'm sorry for making this noise here.
martin_vahi (Martin Vahi)
01:55 PM Bug #13397: #object_id should not be signed
I created PR fixing the projects listed above.
But still, this seems so generic and unexpected issue, possibly influencing libraries which are part of StdLib [3, 4], I'd like to see this improved. Couldn't the #format accept "object_i...
vo.x (Vit Ondruch)
12:30 PM Revision 74a5dc58 (git): fix ripper prereq
* common.mk (ext/ripper/ripper.c): fix VPATH when out-of-place
build, and id.h was created in the build directory too. it has
to include the build directory, i.e., the current directory
before `cd`.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
12:10 PM Bug #13505: circular require prints the backtrace directly to stderr
Thank you for the fix nobu.
I believe it should also send everything (message + backtrace) as a single String to Warning.warn.
I did that in r58493.
It would be nice to backport this to 2.4 for easier exception filtering,
but I gue...
Eregon (Benoit Daloze)
12:07 PM Revision acde5520 (git): Send the backtrace of the circular require warning as a single String to Warning.warn
* load.c: send as a single string.
* error.c: expose the string formatted by rb_warning as rb_warning_string().
* test/ruby/test_exception.rb: update tests.
[ruby-core:80850] [Bug #13505]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
Eregon (Benoit Daloze)
12:04 PM Bug #6825 (Closed): forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
This bug report is on a unsupported Ruby version, closing. Eregon (Benoit Daloze)
11:47 AM Feature #12886: URI#merge doesn't handle paths correctly
I'm giving up on this ever being improved. But for anyone who is interested in what I wanted, I ended up making a gem.
https://github.com/ioquatix/build-uri
It solves all my problems - correct, transparent, handling of absolute URL...
ioquatix (Samuel Williams)
11:24 AM Feature #12944: Change Kernel#warn to call Warning.warn
Thank you nobu for fixing this, r58490 solves all my concerns for Kernel#warn. Eregon (Benoit Daloze)
10:00 AM Feature #9116: String#rsplit missing
I find a use case.
>```
> ...
On PostgreSQL, I can retrieve databases information by SQL, and its ACL data is "datacl" column as key-value.
Its key is rolename (user/group name) and the value is the privilege, with separated "=".
T...
naruse (Yui NARUSE)
09:47 AM Bug #13511: gem install fails on UNIX accounts with limited process count.
Hello, libv8 maintainer here. This really does not look like an issue with Ruby itself. Seems to me it's due to Google's `depot_tools` spawning a bunch of processes to fetch `v8` and its dependencies' sources. Further discussion: https:/... ignisf (Petko Bordjukov)
06:09 AM Bug #13515 (Closed): Pathname#join doesn't add separator on UNC paths
When using `Pathname#join` on Windows, I have no problems when working with normal paths:
`irb(main):008:0> Pathname.new('C:/selenium').join('common')
=> #<Pathname:C:/selenium/common>`
However, when doing the same thing on UNC sh...
p0deje (Alex Rodionov)
04:21 AM Revision 29ca20de (git): refactor newhash (revision 58463 another try) [fix GH-1600]
* st.c (rb_hash_bulk_insert): new API to bulk insert entries
into a hash. Given arguments are first inserted into the
table at once, then reindexed. This is faster than inserting
things using rb_hash_aset() ...
shyouhei (Shyouhei Urabe)
03:16 AM Revision 42c2df99 (git): load.c: make fstrings from C strings sooner
The underlying string objects will become fstrings anyways,
so create the fstring directly from the C string to reduce
intermediate garbage.
* load.c (rb_provide, rb_provide): create fstring
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
Eric Wong
 

Also available in: Atom