Project

General

Profile

Activity

From 04/29/2017 to 05/05/2017

05/05/2017

02:16 PM Bug #13543: local variable declaration
true, the parser detects the local variable early on, but it does not ignore the method until the point of assignment:
~~~ ruby
def foo
@foo ||= "foo"
end
p local_variables #=> [:foo]
p foo.size #=> 3
foo = foo.size #=> ...
eiko (eiko kokuma)
07:25 AM Bug #13543: local variable declaration
the problem: the parser does find: `foo = foo.size`
and detect that foo is a local variable, and does ignore it was defined as method before.
this can be shown in the code below:
~~~ ruby
def foo
@foo ||= "foo"
end
def tes...
Hanmac (Hans Mackowiak)
01:34 PM Feature #13420: Integer#{round,floor,ceil,truncate} should always return an integer, not a float
nobu, does this mean "Nice. Go ahead and apply!"?
(I fear I'm not too familiar with the ways around here, yet.)
And I noticed that while Integer#{floor,ceil,truncate} accept an `ndigits` argument only since recently (Ruby 2.4), Int...
stomar (Marcus Stollsteimer)
09:19 AM Bug #13536 (Open): Ripper fails to tokenize nested squiggly heredoc
Thank you, the exception disappeared.
But it seems incomplete. Look at this slightly different example:
```
require 'ripper'
str = \
<<~'end'
<<~"do"
#{
<<~"begin"
this must be a valid ruby
begin
}
do
end
puts eval(...
shyouhei (Shyouhei Urabe)
07:48 AM Bug #11078: 2.2 String#unicode_normalize method does not appear in generated API docs
@duerst (Martin Dürst):
i see your changes with unicode_normalize_common,
i only asking because i think that rb_scan_args would be better for that, because:
1. it does check for the args better
1. also it might be easier to use r...
Hanmac (Hans Mackowiak)
12:35 AM Bug #13545 (Closed): Ruby built by clang 4.0.0 parses Float literal wrongly
~~~
$ ./configure --prefix=/home/mame/work/local CC=clang
$ make -j 4 miniruby
$ ./miniruby -e 'p 1.1851510441583988e+30'
1.1851510441583981e+30
~~~
See the last digit. While the original literal ends with "8e+30", the result en...
mame (Yusuke Endoh)
12:32 AM Feature #13544: Allow loading an ISeqs sequence directly from a C extension without requiring buffer is in an RVALUE
On 2017/05/05 5:36, Eric Wong wrote:
> Maybe adding mmap support (at least read-only) to IO objects can
> support this...

FYI:
https://github.com/ko1/yomikomu gem use mmap
(https://github.com/ko1/mmapped_string).
(but no big imp...
ko1 (Koichi Sasada)
12:16 AM Misc #13541: [PATCH] test/thread: relax checks for internal implementation
It seems no problem.
I think you can write that this change is related to "error message" in commit log (dependencies caused by error message). Because I can't imagine these dependencies with your report (this ticket) before I check y...
ko1 (Koichi Sasada)

05/04/2017

08:41 PM Feature #13544: Allow loading an ISeqs sequence directly from a C extension without requiring buffer is in an RVALUE
sam.saffron@gmail.com wrote:
> https://bugs.ruby-lang.org/issues/13544

> Currently the only way to load an InstructionSequence is to load the data into a Ruby RVALUE and then pass it to #load_from_binary
>
> This is inefficient a...
normalperson (Eric Wong)
08:39 PM Feature #13544 (Closed): Allow loading an ISeqs sequence directly from a C extension without requiring buffer is in an RVALUE
I agree. mruby has such feature and CRuby also should implement it.
For example, we should use it for rubygems and didyoumean gem which loaded at all load-time.
I close it and will make new ticket when I (or someone smart) make this ...
ko1 (Koichi Sasada)
06:35 PM Feature #13544 (Closed): Allow loading an ISeqs sequence directly from a C extension without requiring buffer is in an RVALUE
Currently the only way to load an InstructionSequence is to load the data into a Ruby RVALUE and then pass it to #load_from_binary
This is inefficient as it forces one extra potentially very large RVALUE slot.
It would be nice if ...
sam.saffron (Sam Saffron)
06:08 PM Bug #13543 (Rejected): local variable declaration
The following code snippet generates a strange error:
~~~ ruby
def foo
@foo ||= "foo"
end
foo = foo.size
#=> undefined method 'size' for nil:NilClass (NoMethodError)
~~~
I expect the code to create a local variable `foo...
eiko (eiko kokuma)
04:47 PM Revision cf1844f9 (git): * 2017-05-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:47 PM Revision 1267dad8 (git): benchmark/bm_vm_thread_pass_flood.rb: add comment
I was about to write off this benchmark while working on GVL
improvements on multi-core systems.
However I noticed it exposes a weakness in my work-in-progress
code when I tested on an old single CPU system. Further testing
reveals set...
Eric Wong
04:33 PM Bug #13542 (Closed): MinGW trunk Builds - Summary of Issues
It appears that 64 bit MinGW trunk build results in `test-all` are stable . The only inconsistent item is the number of reported assertions. See [Ruby MinGW 'test-all' Results](https://msp-greg.github.io/file.mingw_test-all.html) for d... MSP-Greg (Greg L)
01:42 PM Revision fd6dd50f (git): time.c: avoid taking a pointer to a member of packed struct
clang 4.0.0 emitted a warning: "taking address of packed member
'subsecx' of class or structure 'vtm' may result in an unaligned
pointer value [-Waddress-of-packed-member]".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58570 b2dd03...
mame (Yusuke Endoh)
01:19 PM Revision 6ae3cf02 (git): string.c: [DOC] improve docs for String.new
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
10:17 AM Revision 93a6178f (git): internal.h (rb_gc_resurrect): remove stale declaration
rb_gc_resurrect is no longer defined since r47444.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
08:59 AM Revision 4e6daedc (git): string.c: [DOC] Properly refer to keyword argument by its name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
08:58 AM Revision 5c8edab9 (git): dir.c: [DOC] Properly refer to keyword argument by its name [Fix GH-1543]
enc is the name of the variable used in the example, not the name of the
keyword argument (encoding).
The documentation used to wrongly suggest that the keyword argument name was
"enc" which could cause people try try to call `Dir.open(...
ktsj (Kazuki Tsujimoto)
08:55 AM Revision 9f9d9e50 (git): benchmark/bm_vm1_gc_wb_*.rb: fix GC.start args for invalid keyword
"lazy_sweep" does not appear to have ever been a valid kwarg
for GC.start, however the opposite of "lazy_sweep" appears
to be "immediate_sweep". So use immediate_sweep, and flip
the boolean value of each arg.
I guess this only started ...
Eric Wong
08:13 AM Revision c20bba2c (git): gems/bundled_gems: Update to power_assert 1.0.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
07:18 AM Revision 2cdc26f8 (git): .gitignore: ignore benchmark/bm_require.data
Followup-to r58562 in SVN
* .gitignore: ignore benchmark/bm_require.data
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
07:08 AM Revision e58f5801 (git): benchmark: ignore bm_require.data/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
06:54 AM Bug #13540 (Closed): can't set length of shared string (RuntimeError) when interpolating __FILE__ in a heredoc
Applied in changeset trunk|r58561.
----------
parse.y: make shared string modifiable
* parse.y (dedent_string): ensure that the string is modifiable,
not to set the length of shared string.
[ruby-core:80987] [Bug #13540]
nobu (Nobuyoshi Nakada)
06:54 AM Revision 9133f664 (git): parse.y: make shared string modifiable
* parse.y (dedent_string): ensure that the string is modifiable,
not to set the length of shared string.
[ruby-core:80987] [Bug #13540]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:07 AM Revision 05e82555 (git): revert 58559, because it fails on travis (rubyspec problem)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
04:53 AM Revision 1e793b64 (git): remove enc/prelude.rb from list of prelude files in common.mk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
02:31 AM Bug #11078 (Closed): 2.2 String#unicode_normalize method does not appear in generated API docs
Fixed in r58555 and related revisions, by converting Ruby code in lib/unicode_normalize.rb to C code in string.c. duerst (Martin Dürst)
02:16 AM Revision f47033e2 (git): refactor common parts of unicode normalization functions into unicode_normalize_common
In string.c, refactor the common parts (requiring of unicode_normalize/normalize.rb,
check of number of arguments) of the unicode normalization functions
(rb_str_unicode_normalize, rb_str_unicode_normalize_bang, rb_str_unicode_normalized...
duerst (Martin Dürst)
02:13 AM Revision a0d4491f (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:13 AM Revision cbd34360 (git): benchmark: new single-threaded read/write benchmark with pipe
This is currently for testing GVL performance in the uncontended
case: IO#write and IO#read unconditionally release GVL for
blocking I/O with pipe.
It will also be interesting to see how this changes if we switch
to M:N threading model....
Eric Wong
02:00 AM Revision 140560e4 (git): move definition of String#unicode_normalized? to C to make sure it is documented
* lib/unicode_normalize.rb: Remove definition of String#unicode_normalized?
(including documentation). Leave a comment explaining that the file is now empty.
* string.c: Define String#unicode_normalized? in rb_str_unicode_normalized_p ...
duerst (Martin Dürst)
01:36 AM Revision 0efb15cd (git): * 2017-05-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:36 AM Revision 90ab1ee0 (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_bang in C,
(including documentation)
* lib/unicode_normaliz...
duerst (Martin Dürst)

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 <normalperson@yhbt.net> 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 <normalperson@yhbt.net> wrote:
> (+Cc tadf, I guess he has been inactive, lately)

<tadf@dotrb.org> (expanded from <tadf@ruby-lang.org>): host
dotrb.org[219.94.129.152] said: 553 5.3.0 <tadf@dotrb.org>... User unknown,
no...
normalperson (Eric Wong)
03:41 AM Bug #13503: Improve performance of some Time & Rational methods
watson1978@gmail.com 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
watson1978@gmail.com 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
normalperson@yhbt.net 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 <liamseanbrady@gmail.com>
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)
 

Also available in: Atom