Project

General

Profile

Activity

From 12/12/2016 to 12/18/2016

12/18/2016

10:49 PM Feature #13050 (Closed): Readline: expose rl_completion_quote_character variable
This patch makes the GNU Readline variable `rl_completion_quote_character` available to Ruby users via a method called `Readline.completion_quote_character`.
`rl_completion_quote_character` returns the character used to quote the argu...
georgebrock (George Brocklehurst)
12:29 PM Revision 1b45e533 (git): doc/standard_library.rdoc: Tk is removed from stdlib
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
11:43 AM Revision 9fc44b87 (git): re.c: use name_to_backref_number
* re.c (match_backref_number): use name_to_backref_number for
casts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:28 AM Revision 86f229ec (git): Increase timeout
http://rubyci.s3.amazonaws.com/unstable10s/ruby-trunk/log/20161215T021909Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:04 AM Feature #13017: Switch SipHash from SipHash24 to SipHash13
Correction: not 'best' but *single* known attack is distinguisher. funny_falcon (Yura Sokolov)
09:29 AM Feature #13017: Switch SipHash from SipHash24 to SipHash13
But you can read what SipHash author (Jean-Philippe Aumasson) said about this in Rust discussion (link in issue text).
And Vladimir cites the best known attack is just "distinguisher" ie "attacker may differentiate output of SipHash13...
funny_falcon (Yura Sokolov)
05:02 AM Feature #13017: Switch SipHash from SipHash24 to SipHash13
Sorry I can't get a ball because
* I can't evaluate security strength.
* I have no time to do that.
Could someone take over this issue?
I'm not sure it should be in 2.4 or 2.5. If only a few impact, I suggest to introduce this ...
ko1 (Koichi Sasada)
04:37 AM Bug #13049 (Closed): Backport r57108 (sprintf.c: fix width underflow)
バックポート管理用チケットです。 nagachika (Tomoyuki Chikanaga)
02:34 AM Feature #9846: Regexp#to_regexp
```ruby
case
when ary = Array.try_convert(o)
# do something with ary
when str = String.try_convert(o)
# do something with str
when re = Regexp.try_convert(o)
# do something with re
else
# do other thing
end
```
nobu (Nobuyoshi Nakada)
02:23 AM Feature #13048: Better way to do Regexp.new(Regexp.escape("some string"))
A known hack, ` Regexp.union("some string")`. nobu (Nobuyoshi Nakada)

12/17/2016

11:29 PM Feature #9846: Regexp#to_regexp
I know this is an old issues, but this also surprised me. justcolin (Colin Fulton)
11:28 PM Feature #13048 (Open): Better way to do Regexp.new(Regexp.escape("some string"))
It is relatively common to call `Regexp.new(Regexp.escape("some string"))` or `Regexp.new(Regexp.quote("some string"))` in Ruby (a quick search turns up over half a million matches in Github). However, these seems rather cumbersome. It w... justcolin (Colin Fulton)
06:04 PM Revision 0854193a (git): sprintf.c: fix width underflow
* sprintf.c (rb_str_format): fix memory corruption by width
underflow. https://github.com/mruby/mruby/issues/3347
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:26 PM Bug #10613: SNI is not optional when using TLS
Ben Schmeckpeper wrote:
> I am connecting over an SSH tunnel, so the hostname being used for SNI is 127.0.0.1. The server simply returns a 400; my best guess is that it's not configured to use a default certificate for unknown hostnames...
rhenium (Kazuki Yamaguchi)
04:21 PM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
On Sat, Dec 17, 2016 at 09:09:49AM +0000, Eric Wong wrote:
> Kazuki Yamaguchi <k@rhe.jp> wrote:
> > On Sat, Dec 17, 2016 at 01:31:12AM +0000, Eric Wong wrote:
> > > k@rhe.jp wrote:
> > > > Feature #12324: Support OpenSSL 1.1.0 (and ...
rhenium (Kazuki Yamaguchi)
09:11 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
Kazuki Yamaguchi <k@rhe.jp> wrote:
> On Sat, Dec 17, 2016 at 01:31:12AM +0000, Eric Wong wrote:
> > k@rhe.jp wrote:
> > > Feature #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
> > > https://bugs.ruby-lang.org/issu...
normalperson (Eric Wong)
07:42 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
On Sat, Dec 17, 2016 at 01:31:12AM +0000, Eric Wong wrote:
> k@rhe.jp wrote:
> > Feature #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
> > https://bugs.ruby-lang.org/issues/12324
> >
> rhe: did you commit all of ...
rhenium (Kazuki Yamaguchi)
01:32 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
k@rhe.jp wrote:
> Feature #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
> https://bugs.ruby-lang.org/issues/12324
>
rhe: did you commit all of these?

I notice SSL_CTX_clear_options is still missing on an ancien...
normalperson (Eric Wong)
04:10 PM Revision e03c771d (git): * 2016-12-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:10 PM Revision f5b1f760 (git): Increase timeout
http://rubyci.org/logs/13.78.52.201/vc12-x64/ruby-trunk/log/20161217T103523Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:45 PM Feature #13045: Passing a Hash with String keys as keyword arguments
I would agree with a **way/method to convert string-keys into symbol-keys**.
I have no idea if this should be Hash#symbolize_keys or another name - perhaps
#transform_keys and allow either to_string or to_symbol conversion - but I
a...
shevegen (Robert A. Heiler)
12:20 PM Feature #13045: Passing a Hash with String keys as keyword arguments
Nobuyoshi Nakada wrote:
> I'm not a fun for this idea, since `Symbol` and `String` are different.
They are different. However, sometimes they are treated as the same(for example, when passed as a method name to `BasicObject#send`).
...
ch1c0t (Anatoly Chernow)
02:19 AM Feature #13045: Passing a Hash with String keys as keyword arguments
I'm not a fun for this idea, since `Symbol` and `String` are different. nobu (Nobuyoshi Nakada)
02:11 AM Feature #13045 (Rejected): Passing a Hash with String keys as keyword arguments
To the following method
~~~ ruby
def new request:, response:
end
~~~
I'd like to be able to pass both
~~~ ruby
hash_with_symbol_keys = { request: another_hash, response: another_hash2 }
hash_with_string_keys = { 'request' => ...
ch1c0t (Anatoly Chernow)
03:18 PM Bug #13046: make -j fails when --enable-install-capi is specified to configure
Sorry, false alarm. This used to happen, but seems not to any more. swills (Steve Wills)
01:40 PM Bug #13046 (Closed): make -j fails when --enable-install-capi is specified to configure
When ruby is configured with the --enable-install-capi flag, the build will fail if make -j is used because the build tries to generate docs for objects that don't exist yet. swills (Steve Wills)
02:21 PM Feature #13047 (Assigned): Use String literal instead of `String#+` for multiline pretty-printing of multiline strings
Multiline pretty-printing of multiline strings is introduced. (https://bugs.ruby-lang.org/issues/12664)
~~~ ruby
> pp "bundler.rb"=> "module Bundler\n BundlerError = Class.new(Exception)\n def self.setup\n end\nend\n"
{"bundler.r...
mtsmfm (Fumiaki Matsushima)
01:32 PM Bug #13041: ruby 2.4 rc1 dtrace build fixes
Looks like r57101 r57102 r57103 and r57104 fixed this. Thanks! swills (Steve Wills)
02:50 AM Bug #13041: ruby 2.4 rc1 dtrace build fixes
Tried everything I could, but still can't get things to link, on 11.0 or 12-CURRENT. If I'm doing something wrong, please let me know. swills (Steve Wills)
09:14 AM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
> Status changed from Open to Closed
So I apologize if this is a stupid question, but does this mean this change has been implemented now?
If so, is there a reference to a particular commit somewhere on this ticket?
MikeVastola (Mike Vastola)
02:23 AM Feature #12979 (Closed): Avoid exception for #dup on Integer (and similar cases)
nobu (Nobuyoshi Nakada)
08:25 AM Revision 451e0a6e (git): compile.c: do not emit numeric literal range in void context
A fix-up for r56316. Fix stack consistency error on '1..3; nil'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
rhenium (Kazuki Yamaguchi)
07:48 AM Revision c49060b1 (git): Reapply r57093,r57094,r57097 "dtrace build fixes on FreeBSD"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:48 AM Revision 6f406893 (git): Reapply r57092 "configure.in: repeated checks"
Needs DTRACE_OBJ when "$rb_cv_prog_dtrace_g" = rebuild, too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:27 AM Revision 860b42cf (git): Revert r57092 "configure.in: repeated checks"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:14 AM Revision ccdaec2f (git): Revert r57093,r57094,r57097 "dtrace build fixes on FreeBSD"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:04 AM Bug #13039: build warning on 2.4-rc1
Looks like the docs say to use configure.ac:
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Writing-Autoconf-Input.html#Writing-Autoconf-Input
Or am I misunderstanding something?
Thanks!
swills (Steve Wills)
01:52 AM Bug #13044 (Rejected): ruby unless bug with plural conditions
`unless a && b` equals to `if !(a && b)`.
See https://en.wikipedia.org/wiki/De_Morgan%27s_laws for more info.
nobu (Nobuyoshi Nakada)
12:58 AM Revision ba71a687 (git): test_mailto.rb: overwritten methods
* test/uri/test_mailto.rb (URI::TestMailTo#test_to_mailtext):
merge overwritten methods. [Bug #10774]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:58 AM Revision a37cc2d4 (git): test_mailto.rb: adjust scope
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:52 AM Bug #13042 (Closed): gsub segfaults when the pattern is a matching string and the replacement has an unmatched named capture
Applied in changeset r57098.
----------
re.c: non-regexp name reference
* re.c (rb_reg_regsub): other than regexp has no name references.
[ruby-core:78686] [Bug #13042]
nobu (Nobuyoshi Nakada)
12:52 AM Revision 7f4dc817 (git): re.c: non-regexp name reference
* re.c (rb_reg_regsub): other than regexp has no name references.
[ruby-core:78686] [Bug #13042]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:01 AM Revision d4ff516f (git): configure.in: fix r57093
* configure.in (RUBY_DTRACE_AVAILABLE): try -xnolibs first.
[ruby-core:78676] [Bug #13041]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/16/2016

11:59 PM Bug #13041: ruby 2.4 rc1 dtrace build fixes
Naohisa Goto wrote:
> On Solaris 10, the origin of dtrace, it seems "-xnolibs" is not supported.
> ...
Unfortunately, that page is a bit out of date. Here's one page which has examples with -xnolibs:
http://dtrace.org/blogs/dap/2011...
swills (Steve Wills)
09:50 PM Bug #13041: ruby 2.4 rc1 dtrace build fixes
According to my testing, the patch committed r57093 works just fine even when the "-xnolibs" is not supported. So thanks to Nobu. vo.x (Vit Ondruch)
09:25 PM Bug #13041: ruby 2.4 rc1 dtrace build fixes
On Solaris 10, the origin of dtrace, it seems "-xnolibs" is not supported.
List of available options that can be specified with "-x" on Solaris: http://docs.oracle.com/cd/E19253-01/817-6223/chp-opt/index.html
ngoto (Naohisa Goto)
04:27 PM Bug #13041: ruby 2.4 rc1 dtrace build fixes
Vit Ondruch wrote:
> Steve Wills wrote:
> ...
It may provide a program with the same name, but it is not equivalent. If it did, this fix wouldn't break it for you.
swills (Steve Wills)
04:26 PM Bug #13041: ruby 2.4 rc1 dtrace build fixes
I suspect the build failure is due to the fact that dtrace -G modifies the .o files to remove the dtrace symbols. swills (Steve Wills)
04:25 PM Bug #13041: ruby 2.4 rc1 dtrace build fixes
Steve Wills wrote:
> Vit Ondruch wrote:
> ...
SystemTap is Linux equivalent of DTrace and provides the dtrace tool with the same purpose of DTrace one ...
vo.x (Vit Ondruch)
04:20 PM Bug #13041: ruby 2.4 rc1 dtrace build fixes
This fails to build now:
~~~
array.o: In function `ary_new':
/usr/local/poudriere/ports/default/lang/ruby24/work/ruby-2.4.0-rc1/array.c:472: undefined reference to `__dtraceenabled_ruby___array__create'
/usr/local/poudriere/ports/d...
swills (Steve Wills)
04:01 PM Bug #13041: ruby 2.4 rc1 dtrace build fixes
Vit Ondruch wrote:
> The "-xnolibs" is not supported by SystemTap :/
SystemTap is not DTrace.
swills (Steve Wills)
12:16 PM Bug #13041 (Closed): ruby 2.4 rc1 dtrace build fixes
Applied in changeset r57093.
----------
dtrace build fixes on FreeBSD
* configure.in (RUBY_DTRACE_AVAILABLE, RUBY_DTRACE_POSTPROCESS):
incorporate dtrace build fix on FreeBSD, dtrace needs -xnolibs
in a jail. [ruby-core:78676] [Bu...
nobu (Nobuyoshi Nakada)
09:06 AM Bug #13041: ruby 2.4 rc1 dtrace build fixes
The "-xnolibs" is not supported by SystemTap :/
```
$ dtrace -xnolibs
/usr/bin/dtrace invalid option -xnolibs
Usage /usr/bin/dtrace [--help] [-h | -G] [-C [-I<Path>]] -s File.d [-o <File>]
```
Not sure if Nobu's patch covers th...
vo.x (Vit Ondruch)
05:09 AM Bug #13041 (Feedback): ruby 2.4 rc1 dtrace build fixes
Does this patch work?
```diff
diff --git c/Makefile.in i/Makefile.in
index 9c8748aa4d..52618232b0 100644
--- c/Makefile.in
+++ i/Makefile.in
@@ -174,7 +174,7 @@ OBJDUMP = @OBJDUMP@
OBJCOPY = @OBJCOPY@
VCS ...
nobu (Nobuyoshi Nakada)
03:25 AM Bug #13041: ruby 2.4 rc1 dtrace build fixes
Sorry, forgot the configure fix as well:
https://svnweb.freebsd.org/ports/head/lang/ruby20/files/patch-configure.in?view=markup&pathrev=369732
(first part only, rest is other fixes)
swills (Steve Wills)
03:22 AM Bug #13041 (Closed): ruby 2.4 rc1 dtrace build fixes
In FreeBSD before 11.0, using dtrace -G or -h will not work in a jail or without dtrace kernel modules loaded unless the -xnolibs flag is passed as well. Since we build in jails, this is needed during our build, so we have this patch:
...
swills (Steve Wills)
10:57 PM Revision c24ed0dd (git): * 2016-12-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:57 PM Revision 9c898126 (git): fix r57089
* parse.y (parser_heredoc_identifier): fix multiline here document
identifier condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:09 PM Bug #13044 (Rejected): ruby unless bug with plural conditions
I am working on an app where I need to process various data-items based upon different ruby types. While setting up conditonal-checks, I discovered that "unless" fails to handle plural conditions.
Please consider the following example...
imran (Imran Ashraf)
09:37 PM Bug #13043 (Closed): Exception#cause can become recursive/infinite
In a certain situation, Exception#cause can become an infinite list:
```ruby
def raise_errors
begin
raise "error 1"
ensure
orig_error = $!
begin
raise "error 2"
rescue => err
raise orig_er...
ccutrer (Cody Cutrer)
07:36 PM Bug #13042 (Closed): gsub segfaults when the pattern is a matching string and the replacement has an unmatched named capture
Ruby segfaults for all code of the form
~~~ ruby
string.gsub(pattern, replacement)
~~~
where `pattern` is a substring of `string` (not a regex) and `replacement` includes a "named capture", such as `\k<>`. For example:
~~~ rub...
vindvaki (Hordur Freyr Yngvason)
12:28 PM Revision 681c22eb (git): garbage space [ci skip]
* configure.in (RUBY_DTRACE_AVAILABLE): remove a garbage space.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:16 PM Revision 756895dd (git): dtrace build fixes on FreeBSD
* configure.in (RUBY_DTRACE_AVAILABLE, RUBY_DTRACE_POSTPROCESS):
incorporate dtrace build fix on FreeBSD, dtrace needs -xnolibs
in a jail. [ruby-core:78676] [Bug #13041]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57093 b2dd0...
nobu (Nobuyoshi Nakada)
11:59 AM Revision e341a672 (git): configure.in: repeated checks
* configure.in (enable_dtrace): reduce repeated
RUBY_DTRACE_AVAILABLE checks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:05 AM Revision 5d629280 (git): no crypt.h on FreeBSD 12
* string.c (crypt.h): crypt_r() was added in FreeBSD 12.0 but is
declared in unistd.h. [ruby-core:78664] [Bug #13038]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:30 AM Bug #13038 (Closed): ruby 2.4 rc1 fails to build on FreeBSD due to failure to find crypt.h
Applied in changeset r57090.
----------
configure.in: no crypt.h on FreeBSD 12
* configure.in (crypt.h): crypt_r() was added in FreeBSD 12.0 but
is declared in unistd.h. [ruby-core:78664] [Bug #13038]
nobu (Nobuyoshi Nakada)
03:16 AM Bug #13038: ruby 2.4 rc1 fails to build on FreeBSD due to failure to find crypt.h
Now that you mention it, I am only seeing the issue on 12.0-CURRENT (r306554, which is about 2 months old at this point, need to update). swills (Steve Wills)
01:00 AM Bug #13038 (Feedback): ruby 2.4 rc1 fails to build on FreeBSD due to failure to find crypt.h
What version of FreeBSD?
[FreeBSD 10.1] and [FreeBSD 11.0] seem fine.
[FreeBSD 10.1]: http://rubyci.org/logs/rubyci.s3.amazonaws.com/freebsd82-32/ruby-trunk/log/20161215T230301Z.fail.html.gz
[FreeBSD 11.0]: http://rubyci.org/logs/ru...
nobu (Nobuyoshi Nakada)
03:30 AM Revision 6b1e24ea (git): configure.in: no crypt.h on FreeBSD 12
* configure.in (crypt.h): crypt_r() was added in FreeBSD 12.0 but
is declared in unistd.h. [ruby-core:78664] [Bug #13038]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:53 AM Bug #13033: 2.4.0-rc1, build error with VS2015
I've just confirmed the patch fixed this issue. Many thanks. Anonymous
01:27 AM Revision d25faa4e (git): multiline heredoc identifier
* parse.y (parser_heredoc_identifier): reject multiline here
document identifier, which never matches single line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:15 AM Bug #13040 (Feedback): syslog/logger uses "require 'logger'" which is interpreted as circular dependency
nobu (Nobuyoshi Nakada)
01:15 AM Bug #13040: syslog/logger uses "require 'logger'" which is interpreted as circular dependency
'syslog/logger.rb' and 'logger.rb' are different files.
What do you mean by "test"?
nobu (Nobuyoshi Nakada)
01:12 AM Bug #13037 (Closed): Segmentation fault on "\n".lines(chomp: true)
Applied in changeset r57088.
----------
fix chomping newline only line
* string.c (chomp_newline): fix chomping newline only line.
rb_enc_prev_char return NULL if no previous character and must
not call rb_enc_ascget on it. a patc...
nobu (Nobuyoshi Nakada)
01:12 AM Revision 75755ef1 (git): fix chomping newline only line
* string.c (chomp_newline): fix chomping newline only line.
rb_enc_prev_char return NULL if no previous character and must
not call rb_enc_ascget on it. a patch by Ary Borenszweig
<asterite AT gmail.com> at [ruby-core:78666]. [Bu...
nobu (Nobuyoshi Nakada)
01:10 AM Bug #13039 (Rejected): build warning on 2.4-rc1
Use `autoconf`, not `autoreconf`. nobu (Nobuyoshi Nakada)
01:00 AM Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
Benoit Daloze wrote:
> Maybe this functionality should just be an extra keyword argument to these methods?
> ...
We already use that feature for another purpose.
```ruby
p "emdash".gsub(/md/, "md" => true) #=> "etrueash"
```
shyouhei (Shyouhei Urabe)

12/15/2016

10:05 PM Feature #6647: Exceptions raised in threads should be logged
Shyouhei Urabe wrote:
> We looked at this issue at developer meeting today and John's proposal sounded reasonable. So there quite are possibilities to accept it I think.
Fantastic! Any chance this will make it into the 2.4 release?
backus (John Backus)
07:11 PM Bug #13040 (Rejected): syslog/logger uses "require 'logger'" which is interpreted as circular dependency
while using the 'syslog/logger' require from Ruby it works well, however if one tries to use it via "test" it complaints about circular require and the constant "Logger" not defined. After a little digging, I realized that 'syslog/logger... lemsx1 (Luis Mondesi)
07:02 PM Bug #13039 (Rejected): build warning on 2.4-rc1
When calling autoreconf -f -i, the following warning is generated:
aclocal-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Renaming configure.in to configure.ac should do it and should be harmless.
swills (Steve Wills)
06:46 PM Bug #13037: Segmentation fault on "\n".lines(chomp: true)
I believe a fix for this is:
~~~
Index: string.c
===================================================================
--- string.c (revision 57085)
+++ string.c (working copy)
@@ -7409,8 +7409,9 @@
if (rb_enc_is_newline(prev...
asterite (Ary Borenszweig)
02:35 PM Bug #13037 (Closed): Segmentation fault on "\n".lines(chomp: true)
$ irb
irb(main):001:0> RUBY_DESCRIPTION
=> "ruby 2.4.0dev (2016-12-15 trunk 57084) [x86_64-darwin15]"
irb(main):002:0> "\n".lines(chomp: true)
(irb):2: [BUG] Segmentation fault at 0x00000000000000
ruby 2.4.0dev (2016-12-15 trunk 570...
asterite (Ary Borenszweig)
04:28 PM Bug #13038: ruby 2.4 rc1 fails to build on FreeBSD due to failure to find crypt.h
I think this may have been initially introduced in r55237. swills (Steve Wills)
03:50 PM Bug #13038 (Closed): ruby 2.4 rc1 fails to build on FreeBSD due to failure to find crypt.h
When trying to build ruby 2.4 on FreeBSD, it fails with error:
string.c:33:11: fatal error: 'crypt.h' file not found
swills (Steve Wills)
04:08 PM Revision 17c28285 (git): * 2016-12-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:08 PM Revision 9f5a161d (git): NEWS: Fix the default rounding mode
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
02:56 PM Bug #13036: Date.parse mishandling spanish months "Abril y Agosto"
AFAIK, Date.parse was NEVER intending to parse anything except English/American dates in English/American formats. Parsing dates internationally is waaaay harder than making dictionaries of month names: different cultures have different ... zverok (Victor Shepelev)
02:52 PM Bug #13036: Date.parse mishandling spanish months "Abril y Agosto"
I don't think this is a bug, Ruby only parses English month names, it can't possibly try to check all languages in the world. When it can't deduce a month, it uses the current month, which right now is december. asterite (Ary Borenszweig)
02:49 PM Bug #13036: Date.parse mishandling spanish months "Abril y Agosto"
## UPDATE:
I tracked the problem to dates_international.rb (https://gist.github.com/jackrg/2927162)
The problem is solved replacing line 37.
From:
37: month_from = string[/[^\s\d,]+/i]
To:
37: month_from = string[/[a-...
greutter (Gonzalo Reutter)
02:11 PM Bug #13036 (Rejected): Date.parse mishandling spanish months "Abril y Agosto"
### Steps to reproduce
$ irb
2.3.0 :003 > Date.parse("01-Agosto-2016")
=> 01 Dec 2016
2.3.0 :004 > Date.parse("01-Abril-2016")
=> 01 Dec 2016
### Expected behavior
2.3.0 :003 > Date.parse("01-Agosto-2016")
=> 01 Aug 201...
greutter (Gonzalo Reutter)
12:58 PM Revision 2d6538a7 (git): parse.y: newline in heredoc identifier
* parse.y (parser_heredoc_identifier): warn newline in here
document identifier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:00 AM Revision def2a2cb (git): Added entry of psych 2.2.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:00 AM Revision f9ee1409 (git): Update psych-2.2.2
* It fixed only JRuby dependency issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
10:41 AM Feature #12719: `Struct#merge` for partial updates
Scala has "copy" for this purpose: some_case_class_object.copy(field: new_value) Eregon (Benoit Daloze)
10:34 AM Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
Maybe this functionality should just be an extra keyword argument to these methods?
Like
str.gsub!(/\[(\w+)\]/, md: true)
Not as concise, but much better on compatibility and clarity of the intent.
Eregon (Benoit Daloze)
09:41 AM Feature #13017: Switch SipHash from SipHash24 to SipHash13
@ko1 , I think, a ball is yours. funny_falcon (Yura Sokolov)
05:48 AM Feature #13017: Switch SipHash from SipHash24 to SipHash13
Who has a ball? ko1 (Koichi Sasada)
07:00 AM Bug #13035 (Third Party's Issue): Segmentation fault when using Rails 5.0.0.1 console
Thank you reporting, this is a known 3rd party issue. shyouhei (Shyouhei Urabe)
06:52 AM Bug #13035 (Third Party's Issue): Segmentation fault when using Rails 5.0.0.1 console
Following along with the new Rails blog intro, I ran into a segfault when I attempted to run a query from the Rails console.
2.3.3 :001 > Post.first.comments
/Users/ksapp/.rvm/gems/ruby-2.3.3@blog/gems/activerecord-5.0.0.1/lib/activ...
kevinsapp (Kevin Sapp)
06:22 AM Revision b5345673 (git): parse.y: one warning, one line [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:40 AM Feature #13009: Implement fetch for Thread.current
2.4? 2.5? ko1 (Koichi Sasada)
04:25 AM Bug #10613: SNI is not optional when using TLS
Unfortunately, I don't know any details about the server. It's not a box that we own.
I am connecting over an SSH tunnel, so the hostname being used for SNI is 127.0.0.1. The server simply returns a 400; my best guess is that it's n...
bschmeck (Ben Schmeckpeper)

12/14/2016

05:53 PM Revision 836794f2 (git): Removed the obstacle to running test-all with VC14.
* test/fiddle/test_import.rb (LIBC.fprintf): VC14's `fprintf` is very distinct
name, then, just ignore this test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:49 PM Bug #13033 (Closed): 2.4.0-rc1, build error with VS2015
Applied in changeset r57079.
----------
Fixed link error with VC14.
* win32/mkexports.rb (Exports::Mswin#each_exports): should ignore `vsprintf_s_l`
and the like just like `vsprintf_l`.
[ruby-dev:49899] [Bug #13033]
usa (Usaku NAKAMURA)
05:45 PM Bug #13033: 2.4.0-rc1, build error with VS2015
Yui NARUSE wrote:
> Could you try following patch?
I'd tried same patch and it seemed OK.
I'll commit it later.
usa (Usaku NAKAMURA)
05:15 PM Bug #13033: 2.4.0-rc1, build error with VS2015
Could you try following patch?
```diff
diff --git a/win32/mkexports.rb b/win32/mkexports.rb
index d26acbb107..8fc7d9ddb5 100755
--- a/win32/mkexports.rb
+++ b/win32/mkexports.rb
@@ -114,7 +114,7 @@ def each_export(objs)
...
naruse (Yui NARUSE)
02:37 AM Bug #13033 (Closed): 2.4.0-rc1, build error with VS2015
I got following error message when building 2.4.0-rc1 with Visual Studio 2015 update 3. Attached "rc1_output.txt" is full-length nmake output.
2.4.0-preview3 doesn't have this error.
`linking shared-library x64-vcruntime140-ruby240.d...
Anonymous
05:49 PM Revision 7fd3da32 (git): * 2016-12-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:49 PM Revision ca25a970 (git): Fixed link error with VC14.
* win32/mkexports.rb (Exports::Mswin#each_exports): should ignore `vsprintf_s_l`
and the like just like `vsprintf_l`.
[ruby-dev:49899] [Bug #13033]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57079 b2dd03c8-39d4-4d8f-98ff-823...
U.Nakamura
03:42 PM Feature #12944: Change Kernel#warn to call Warning.warn
In order to handle embedded arrays (similar to how puts handles them), the attached patch flattens the array, processes each string individually making sure it ends in a newline, then joins the array with the empty string. jeremyevans0 (Jeremy Evans)
07:56 AM Feature #12944: Change Kernel#warn to call Warning.warn
Seems `warn ["foo\n", "bar"]` would print `"foo\n\nbar\n"`. nobu (Nobuyoshi Nakada)
12:32 PM Bug #13034 (Closed): rb_enc_ascget() does not handle 'needmore' error from rb_enc_procise_mbclen()
Applied in changeset r57078.
----------
encoding.c: handle needmore error from rb_enc_precise_mbclen()
rb_enc_ascget() erroneously reports success even if the given byte
sequence is incomplete, for non-ASCII compatible encoding strings...
Anonymous
12:20 PM Bug #13034 (Closed): rb_enc_ascget() does not handle 'needmore' error from rb_enc_procise_mbclen()
rb_enc_ascget() stores the return value from rb_enc_procise_mbclen() that may return a negative value on error to 'unsigned int', and thus it overlooks errors due to incomplete UTF-16/32 byte sequence.
This bug is visible from Ruby; f...
rhenium (Kazuki Yamaguchi)
12:32 PM Revision 201972ac (git): encoding.c: handle needmore error from rb_enc_precise_mbclen()
rb_enc_ascget() erroneously reports success even if the given byte
sequence is incomplete, for non-ASCII compatible encoding strings.
rb_enc_precise_mbclen() may return a negative value on error, and thus
rb_enc_ascget() must not store ...
rhenium (Kazuki Yamaguchi)
08:26 AM Bug #13032 (Closed): building capi docs with doxygen seems broken in 2.4-rc1
Applied in changeset r57077.
----------
vcs.rb: no ext/date in vcs.rb
* tool/vcs.rb (VCS::GIT#export_changelog): do not require date
extension library so that miniruby can run.
[ruby-core:78641] [Bug #13032]
nobu (Nobuyoshi Nakada)
02:54 AM Bug #13032: building capi docs with doxygen seems broken in 2.4-rc1
This looks to be a recurrence of bug 10161, which was created by r43888 then reverted in r47248 and now triggered again in r56670. swills (Steve Wills)
02:18 AM Bug #13032 (Closed): building capi docs with doxygen seems broken in 2.4-rc1
When building 2.4-rc1 with the --enable-install-capi option passed to configure, I get lots of messages of this form:
~~~
Version of /wrkdirs/usr/ports/lang/ruby24/work/ruby-2.4.0-rc1/id.c : /wrkdirs/usr/ports/lang/ruby24/work/ruby-2...
swills (Steve Wills)
08:25 AM Revision 72c1b322 (git): vcs.rb: no ext/date in vcs.rb
* tool/vcs.rb (VCS::GIT#export_changelog): do not require date
extension library so that miniruby can run.
[ruby-core:78641] [Bug #13032]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:06 AM Revision 1407e52b (git): constify
* vm_dump.c (rb_vmdebug_debug_print_pre): constify pc argument for
VMDEBUG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:30 AM Revision 07e7981d (git): parse.y: curtail scanning
* parse.y (parser_yyerror): curtail scanning range, not to exceed
the max margin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:35 AM Revision 2027ad60 (git): * 2016-12-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:35 AM Revision bc44acb5 (git): parse.y: fix yyerror message
* parse.y (parser_yyerror): show the error line even if the error
is at the end.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:11 AM Bug #12548 (Open): Rounding modes inconsistency between round versus sprintf
Reopening.
The fix was reverted due to issue #12958. This issue is now back alive.
shyouhei (Shyouhei Urabe)
12:33 AM Bug #13031: Error in Ruby on Rails
Hiroshi SHIBATA wrote:
> >c:0005 p:0115 s:0022 e:000021 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55
> ...
What does that mean?
higginni (Niall Higgins)
12:21 AM Bug #13031 (Rejected): Error in Ruby on Rails
>c:0005 p:0115 s:0022 e:000021 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55
You mixed Ruby 2.0 and 2.2 on rvm.
hsbt (Hiroshi SHIBATA)

12/13/2016

11:31 PM Bug #13031 (Rejected): Error in Ruby on Rails
Below is the error found in the terminal. I usually would not copy and paste the entire error message but it told me to do so.
I didn't update anything, I just found it like this after logging in after roughly 2 weeks away.
My Ra...
higginni (Niall Higgins)
08:25 PM Bug #13030 (Closed): Unexpected T_IMEMO object when building with VMDEBUG
Hello,
I'm trying to build Ruby 2.4.0-rc1 with VMDEBUG=3 for research purposes, but I'm getting this error.
~~~
/home/user/.rubies/ruby-2.4.0-rc1/lib/fileutils.rb:90:in `<module:FileUtils>': method `inspect' called on unexpected T_I...
jesus_castello (Jesus Castello)
08:23 PM Bug #13029 (Closed): Update doc/contributors.rdoc
As the file says "Feel free to add your name if your patch was accepted into Ruby".
Some of my patches:
HTML5 tag maker patch: #6637 and #7110
documentation patches: #12311, #12246, #12228, #10576, and others;
and main committer ...
stomar (Marcus Stollsteimer)
04:27 PM Feature #12944: Change Kernel#warn to call Warning.warn
The attached patch uses `rb_ary_join` to create the string to pass to `Warning.warn`, which should do a better job of handling corner cases such as `warn ["foo", "bar"]`. jeremyevans0 (Jeremy Evans)
05:34 AM Feature #12944: Change Kernel#warn to call Warning.warn
One thing to be confirmed, this patch lets `warn ["foo", "bar"]` print one line while two lines are printed now.
Is this OK?
nobu (Nobuyoshi Nakada)
05:08 AM Feature #12944: Change Kernel#warn to call Warning.warn
Jeremy Evans wrote:
> This didn't make 2.4.0rc1, but as matz has already accepted it, it should probably be committed before 2.4.0 final. If further changes are needed to the patch, please let me know.
OK.
nobu, could you handle this?
naruse (Yui NARUSE)
02:27 PM Bug #13028 (Closed): Binding#irb upon exiting makes _ retain the value of the last expression and never change it
Given an open `irb` session. After exiting from `binding.irb` the `_`, which is the last value of the current context, somehow retains the value of the last expression evaluated in the context of `binding.irb` and then doesn't change it.... dskecse (Dzianis Dashkevich)
08:21 AM Bug #12997: Out-of-bounds read in regcomp.c
Sure, created https://github.com/k-takata/Onigmo/issues/81. rhenium (Kazuki Yamaguchi)
05:17 AM Bug #12994 (Closed): Embedded ruby vs2015 build crashes
Applied in changeset r57072.
----------
declare `rb_w32_sysinit` in header.
* include/ruby/win32.h (rb_w32_sysinit): declare.
[ruby-core:78444] [Bug #12994]
* ruby.c (ruby_sysinit): follow above change.
usa (Usaku NAKAMURA)
05:17 AM Revision 42d9712e (git): declare `rb_w32_sysinit` in header.
* include/ruby/win32.h (rb_w32_sysinit): declare.
[ruby-core:78444] [Bug #12994]
* ruby.c (ruby_sysinit): follow above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:55 AM Revision 5dad4ef8 (git): require "irb/output-method" for StdioOutputMethod
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:55 AM Revision 8270a493 (git): make-snapshot: fix circular dependency
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:01 AM Revision 910848f2 (git): Update description of XMLRPC section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

12/12/2016

10:54 PM Bug #12830 (Closed): OpenSSL 1.1.0+ support?
Yes, I don't expect any further action. vo.x (Vit Ondruch)
06:00 PM Bug #12830: OpenSSL 1.1.0+ support?
This looks resolved. naruse (Yui NARUSE)
06:39 PM Bug #12852: URI.parse can't handle non-ascii URIs
Matthew Kerwin wrote:
> Your thinking here seems confused. If a String contains non-ASCII characters then it's not a URI. If it is a URI then it strictly matches the definition of a URI. If a String contains a valid IRI, then yeah, you'...
naruse (Yui NARUSE)
06:05 PM Bug #12997: Out-of-bounds read in regcomp.c
Could you report it to Onigmo?
https://github.com/k-takata/Onigmo
naruse (Yui NARUSE)
06:04 PM Bug #12994 (Assigned): Embedded ruby vs2015 build crashes
naruse (Yui NARUSE)
06:02 PM Bug #9974 (Rejected): Regression: URI.parse allows invalid URIs
Larry Kyrala wrote:
> The URI abstraction speaks to RFC3986 (DNS) more directly than RFC952 (hostnames). The confusion is understandable.
> ...
JavaScript's `new URL("http://test_example")` accepts underscore.
Therefore I don't think...
naruse (Yui NARUSE)
04:18 PM Revision e12265da (git): get rid of a test failure with VC10.
* numeric.c (round_half_up, round_half_down): use `round` always because it's
defined in this file even if doesn't exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:43 PM Feature #12802: Add BLAKE2 support to Digest
> Nobuyoshi Nakada wrote:
> ...
Kazuki Yamaguchi wrote:
> Is there still a supported environment without 64-bit integer support? ext/digest/sha2/sha2.c is already using 64-bit integers. It is compiled only when OpenSSL (or CommonCrypto...
naruse (Yui NARUSE)
03:36 PM Bug #12666: Fatal error: glibc detected an invalid stdio handle
George Koehler wrote:
> For both BSD and Linux, I want to suggest
> ...
It breaks FreeBSD.
```
irb(main):001:0> require"fiddle"
=> true
irb(main):002:0> Fiddle.dlopen("libc.so")
Fiddle::DLError: /usr/lib/libc.so: invalid file fo...
naruse (Yui NARUSE)
03:33 PM Feature #12882: Add caller/file/line information to internal Kernel#warn calls
matz, can you update this ticket and let me know which of these four options you prefer:
1) Add :caller keyword argument to Kernel#warn (not backwards compatible API-wise).
2) Change Kernel#warn to automatically prepend caller(1,1) (...
jeremyevans0 (Jeremy Evans)
03:24 PM Bug #10774 (Closed): Regression: URI::MAilTo#to_mailtext - undefined method unescape for URI::RFC3986_Parser
Applied in changeset r57066.
----------
Use URI.decode_www_form_component [Bug #10774]
`parser` refered RFC2396_Parser, but it is separated.
test is contributed by Dominik Menke
naruse (Yui NARUSE)
03:24 PM Revision e29f932c (git): * 2016-12-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:24 PM Revision 6c0aece5 (git): Use URI.decode_www_form_component [Bug #10774]
`parser` refered RFC2396_Parser, but it is separated.
test is contributed by Dominik Menke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:24 PM Feature #12944: Change Kernel#warn to call Warning.warn
This didn't make 2.4.0rc1, but as matz has already accepted it, it should probably be committed before 2.4.0 final. If further changes are needed to the patch, please let me know. jeremyevans0 (Jeremy Evans)
03:05 PM Bug #13024: Confusing error message matching a non-ASCII string with ASCII-regex
Hmm, maybe the error message express /.../n is ASCII-8BIT (binary) regexp... naruse (Yui NARUSE)
02:55 PM Revision 31f17f88 (git): st: Add 'static const'
patched by Ken Takata [ruby-core:78558]
https://github.com/k-takata/Onigmo/commit/44e3c0a16da1116be641ea807c1202434b743ace
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:43 PM Misc #13027 (Closed): Release Engineering 2.4
META ticket for Release Engineering 2.4.
see also version#33
* current status: feature freeze
* Q: Can I add a new feature?
* A: No. Its status is already "feature freeze".
* Q: Can I fix a bug?
* A: Yes
* Q: I want to com...
naruse (Yui NARUSE)
01:37 PM Revision 8f21d921 (git): fix command
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:20 PM Revision 325c8362 (git): Use 7z if exist
7z can compress with higher ratio than gzip/zip.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:12 PM Revision c45bf662 (git): NEWS: Add String#match? and Symbol#match? [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:12 PM Revision 908edb0d (git): NEWS: Use spaces instead of tab [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:12 PM Revision aa91e864 (git): NEWS: Sort entries [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:30 AM Feature #8158: lightweight structure for loaded features index
I've tried to simplify patch: remove `struct feature_str` and use just pointer with len.
https://bugs.ruby-lang.org/attachments/download/6295/load.c-loaded_features_numindex.patch
https://github.com/ruby/ruby/compare/trunk...funny-...
funny_falcon (Yura Sokolov)
10:44 AM Feature #8158: lightweight structure for loaded features index
I've uploaded fixed patch:
https://bugs.ruby-lang.org/attachments/download/6293/0001-load.c-reduce-memory-usage-of-loaded_features_index.patch
Github branch and diff:
https://github.com/funny-falcon/ruby/tree/loaded_features_strings...
funny_falcon (Yura Sokolov)
08:05 AM Feature #8158: lightweight structure for loaded features index
I'll fix patch today. funny_falcon (Yura Sokolov)
07:20 AM Feature #8158: lightweight structure for loaded features index
Usaku NAKAMURA wrote:
> In message "[ruby-core:78595] Re: [Ruby trunk Feature#8158] lightweight structure for loaded features index"
> ...
Other compilers fail, IIRC, Solaris, AIX, HP-UX, or something.
nobu (Nobuyoshi Nakada)
06:41 AM Feature #8158: lightweight structure for loaded features index
Hi,

In message "[ruby-core:78595] Re: [Ruby trunk Feature#8158] lightweight structure for loaded features index"
on Mon, 12 Dec 2016 06:06:13 +0000, normalperson@yhbt.net wrote:
> I'm not sure about the portability of initializing ...
usa (Usaku NAKAMURA)
06:09 AM Feature #8158: lightweight structure for loaded features index
funny.falcon@gmail.com wrote:
> So patch now is shorter.
> https://bugs.ruby-lang.org/attachments/download/6182/0001-load.c-reduce-memory-usage-of-loaded_features_index.patch

Thanks; this got broken by trivial whitespace change in ...
normalperson (Eric Wong)
11:03 AM Feature #13026 (Open): Public singleton methods
Abstract
---------
I would like to propose the implementation of:
```
Object#public_singleton_methods
```
`Object#public_singleton_methods` should return a list of public singleton methods.
Background
------------
Curr...
subtileos (Daniel Ferreira)
07:18 AM Feature #13025 (Feedback): String equality operator does not perform implicit conversion
What documentation do you refer?
The document of 2.3 says:
> If `obj` is not an instance of String but responds to `to_str`, then the
> ...
(the method to be called is wrong, though)
Do you suggest changing the fallback method?
nobu (Nobuyoshi Nakada)
06:03 AM Feature #13025 (Feedback): String equality operator does not perform implicit conversion
According to the documentation, String#== should perform implicit conversion of non-strings, but this is not happening.
~~~ruby
class SomeClass
def initialize(value)
@value = value
end
def to_str
@value.to_s
e...
johncarney (John Carney)
07:12 AM Revision c95388a5 (git): string.c: fix method name in rdoc [ci skip]
* string.c (rb_str_equal): [DOC] fix fallback method name. the
peer's == method will be used, not ===.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:39 AM Misc #12976 (Closed): Update example of Hash#value? and Hash#has_value?
Thank you. shyouhei (Shyouhei Urabe)
03:19 AM Revision 9f379854 (git): test for Symbol#match? [Feature #12898]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:07 AM Revision e2583b17 (git): test_m17n.rb: escape
* test/ruby/test_m17n.rb (test_regexp_ascii_none): escape regexp
meta characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:56 AM Feature #12898 (Closed): String#match? method in addition to Regexp#match?
Applied in changeset r57053.
----------
String#match? and Symbol#match?
* string.c (rb_str_match_m_p): inverse of Regexp#match?. based on
the patch by Herwin Weststrate <herwin@snt.utwente.nl>.
[Fix GH-1483] [Feature #12898]
nobu (Nobuyoshi Nakada)
02:56 AM Revision 6dd5ee75 (git): String#match? and Symbol#match?
* string.c (rb_str_match_m_p): inverse of Regexp#match?. based on
the patch by Herwin Weststrate <herwin@snt.utwente.nl>.
[Fix GH-1483] [Feature #12898]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57053 b2dd03c8-39d4-4d8f-98f...
nobu (Nobuyoshi Nakada)
02:38 AM Revision 3f3fc018 (git): * 2016-12-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:38 AM Revision 2800e6a0 (git): re.c: char boundary
* re.c (rb_reg_match_m_p): consider char boundary. rb_str_subpos
does not adjust to the boundary if len == 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom