Project

General

Profile

Activity

From 01/13/2019 to 01/19/2019

01/19/2019

09:15 PM Feature #15549: Enumerable#to_reader (or anything enumerable, Enumerator, lazy enums, enum_for results)
I do not have any major pro or con opinion on the functionality as such; I think the
name #to_reader may not be ideal, though. People may confuse or think about
**attr_reader** ; or they may think about **.to_s** , **.to_i** and so for...
shevegen (Robert A. Heiler)
03:38 PM Feature #15549 (Open): Enumerable#to_reader (or anything enumerable, Enumerator, lazy enums, enum_for results)
This is a feature proposal for something I've had to implement before multiple times.
For a lot of IO-related APIs, there is this unspoken (because ruby doesn't have official interfaces) notion of a reader/writer protocol, that is, yo...
chucke (Tiago Cardoso)
11:42 AM Feature #11639 (Assigned): Refactor some description of `Forwardable`
hsbt (Hiroshi SHIBATA)
10:38 AM Feature #15547: deprecate iterator?
I did not even know that iterator? exists - at first I thought it was something new. :)
I agree with nobu's comment.
shevegen (Robert A. Heiler)
02:36 AM Feature #15547 (Closed): deprecate iterator?
`block_given?` has been added since 1.6, and `iterator?` is almost never used these days.
I think we can deprecate the latter before Ruby 3.
nobu (Nobuyoshi Nakada)
10:37 AM Bug #11602 (Rejected): Compile error on CentOS: Segmentation fault after "linking miniruby"
CentOS 5 and Ruby 2.1 are EOL. hsbt (Hiroshi SHIBATA)
10:28 AM Bug #15545: Backport r58403
r58403 was included in ruby_2_5.
#15500 seems related and r66867 may fix this issue.
nagachika (Tomoyuki Chikanaga)
09:34 AM Bug #9610 (Rejected): Report by terminal error
The versions of Ruby and Rails are outdated today. hsbt (Hiroshi SHIBATA)
09:08 AM Revision 46549d6b (git): Revert "mjit_worker.c: try to simplify CC_DLDFLAGS_ARGS"
This reverts commit 405940234eb7876a063eb7129ca61fcc318a633c.
Not working on MinGW
https://ci.appveyor.com/project/ruby/ruby/builds/21737578/job/09a2tr94vof6fstt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66872 b2dd03c8-39d4-4d8...
k0kubun (Takashi Kokubun)
07:49 AM Revision e90d826d (git): Indented here document (<<~) is Ruby 2.3 feature
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:35 AM Revision 40594023 (git): mjit_worker.c: try to simplify CC_DLDFLAGS_ARGS
assuming that -nostartfiles is just optional for mingw, cygwin, and AIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
07:30 AM Misc #15462: DevelopersMeeting20190110Japan
>Off topic: can someone give me the grant to copy issues around? It seems disabled for this account.
Enabled it to Developer role now.
hsbt (Hiroshi SHIBATA)
12:29 AM Misc #15462 (Closed): DevelopersMeeting20190110Japan
@shevegen Here you are https://bugs.ruby-lang.org/issues/15546
Off topic: can someone give me the grant to copy issues around? It seems disabled for this account.
shyouhei (Shyouhei Urabe)
12:06 AM Misc #15462: DevelopersMeeting20190110Japan
Could someone add a date + issue for the next developer meeting, please?
I looked at https://bugs.ruby-lang.org/projects/ruby-trunk/issues for when the next
meeting may be, but was unable to find it (assumingly so it may be in Februa...
shevegen (Robert A. Heiler)
07:27 AM Bug #15548: Fix MJIT on OpenBSD when GCC is used to compile
Applied your patch. Thanks for your help! k0kubun (Takashi Kokubun)
07:27 AM Bug #15548 (Closed): Fix MJIT on OpenBSD when GCC is used to compile
Applied in changeset trunk|r66869.
----------
mjit_worker.c: do not use GCC_NOSTDLIB_FLAGS for OpenBSD
OpenBSD's GCC compiler has local extensions that break when
`-nostartfiles -nodefaultlibs -nostdlib` is used.
From: Jeremy Evans <m...
k0kubun (Takashi Kokubun)
07:12 AM Bug #15548 (Closed): Fix MJIT on OpenBSD when GCC is used to compile
OpenBSD's GCC compiler has local extensions that break when `-nostartfiles -nodefaultlibs -nostdlib` is used. If you leave those flags in, MJIT doesn't work. `--jit-verbose=2` output on OpenBSD/amd64 with gcc forced as the compiler show... jeremyevans0 (Jeremy Evans)
07:26 AM Revision a5de8d1c (git): mjit_worker.c: do not use GCC_NOSTDLIB_FLAGS for OpenBSD
OpenBSD's GCC compiler has local extensions that break when
`-nostartfiles -nodefaultlibs -nostdlib` is used.
From: Jeremy Evans <merch-redmine@jeremyevans.net>
[Bug #15548]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66869 b2dd...
k0kubun (Takashi Kokubun)
05:58 AM Feature #4475: default variable name for parameter
matz (Yukihiro Matsumoto) wrote:
> This is a very interesting idea but at the same time, it's difficult to keep compatibility.
> ...
If we want to support implicit block arguments, in order to best keep compatibility, we would probably...
jeremyevans0 (Jeremy Evans)
05:50 AM Bug #15469: Ruby2.6 included `bundler` does not handle specified `csv` gem.
I could reproduce too with "Test code".
Also, I could reproduce with simpler code below.
### Gemfile
``` ruby
source "https://rubygems.org"
gem "csv", "1.0.0"
```
### test.rb
```ruby
require "csv"
p csv: CSV::VERS...
tad (Tadashi Saito)
05:24 AM Misc #15546: DevelopersMeeting20190207Japan
* [Feature #4475] default variable name for parameter (aycabta)
* In #15483, matz said "I feel the expression `ary.map(&(:to_i << :chr))` is far less readable than `ary.map{|x|x.to_i.chr}`.", and "And this can lead to the default bloc...
aycabta (aycabta .)
12:21 AM Misc #15546 (Closed): DevelopersMeeting20190207Japan
Please comment your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(your summary/comment will help us because we don't need to read all of ticket comments)
*DO NOT* discuss then on this ticke...
shyouhei (Shyouhei Urabe)
03:37 AM Bug #15500: Behavior of require method in 2.5 is different from 2.4 and 2.6
@mrkn
Can you try with Ruby 2.5 applied r66867?
hsbt (Hiroshi SHIBATA)
03:36 AM Bug #15500 (Closed): Behavior of require method in 2.5 is different from 2.4 and 2.6
Applied in changeset trunk|r66867.
----------
Revert r58345 and r58371.
These changes break the behavior of default gems. Bug #13428 says
r58345 is reasonable because gemspec file is installed by `to_ruby_for_cache`
method. But I...
hsbt (Hiroshi SHIBATA)
03:36 AM Revision 31c862a7 (git): * 2019-01-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:36 AM Revision c52ca1f2 (git): Revert r58345 and r58371.
These changes break the behavior of default gems. Bug #13428 says
r58345 is reasonable because gemspec file is installed by `to_ruby_for_cache`
method. But I revert `to_ruby_for_cache` in rbinstall.rb at r58403.
There is no reason ...
hsbt (Hiroshi SHIBATA)
03:30 AM Feature #15517: Net::HTTP not recognizing valid UTF-8
I'm not sure I think this is exactly the same as https://bugs.ruby-lang.org/issues/2567, as that one has focused on using the HTTP headers to guess the content type. Here I'm pointing out that ASCII-only strings are recognized as UTF8, b... cohen (Cohen Carlisle)
12:07 AM Misc #15530: [ANN] Upgrading bugs.ruby-lang.org to Redmine 4.0
\o/
I noticed a few differences, or I think I noticed it (I am not entirely sure).
For example, I did not notice "Actions" on the very right hand side before.
I also think there may have been another one or two minor changes in ...
shevegen (Robert A. Heiler)

01/18/2019

09:52 AM Revision c20aae96 (git): Prefer block_given? to iterator?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:31 AM Revision 17aeff3e (git): make-snapshot: get rid of circular dependency
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:13 AM Revision c4e832bf (git): configure.ac: fix build_os name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:14 AM Revision 3859b77b (git): configure.ac: use MINIRUBY as BOOTSTRAPRUBY on msys
Msys shell may not be able to run a command with a drive letter?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:19 AM Bug #15525: Complex(nil, exception: false) and Rational(nil, exception: false) raises an error
ruby_2_6 r66862 merged revision(s) 66796,66797. naruse (Yui NARUSE)
04:19 AM Revision 283b3d8f (git): merge revision(s) 66796,66797: [Backport #15525]
No TypeError at nil if exception: false
[ruby-core:91021] [Bug #15525]
No FloatDomainError at non-finitive number if exception: false
[ruby-core:91021] [Bug #15525]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
naruse (Yui NARUSE)
02:43 AM Bug #15543: rb_str_set_len should clear code range
`rb_str_set_len` is not the true problem.
Should `RSTRING_PTR` make the object unshared and clear the code range?
Or enclose it only for the core and prohibit in extension libraries?
Hmmm, the last choice may be the best, I think.
nobu (Nobuyoshi Nakada)
02:36 AM Revision 7a86165d (git): [DOC] mention rb_str_modify
[ruby-core:91134] [Bug #15543]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:12 AM Bug #15545 (Closed): Backport r58403
I'll fill Backport field and close this ticket for backport.
Thank you for notice.
nagachika (Tomoyuki Chikanaga)
02:05 AM Bug #15545 (Closed): Backport r58403
The change in r58403 should be backported in 2.5.
https://github.com/ruby/ruby/commit/cd8f9904427e6db858a4dcc1dabff60a76cad445
mrkn (Kenta Murata)
02:04 AM Revision b4ab9c0e (git): support older BASERUBY for btest.
* bootstraptest/test_insns.rb: check RbConfig::LIMITS to support
older BASERUBY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:55 AM Revision 3c55a0b9 (git): configure.ac: use BASERUBY as BOOTSTRAPRUBY if available
MINIRUBY may not be stable enough to run btest, in developing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

01/17/2019

11:52 PM Revision 6b5695fe (git): make-snapshot: make permissions uniform
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:23 PM Revision dabbdcfd (git): * 2019-01-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:23 PM Revision 92c6072e (git): rbinstall.rb: add --exclude option for install-nodoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:09 PM Revision b9289589 (git): bump up teeny version to 2.6.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:08 PM Bug #15491: r62701 introduced the incompatibility of Complex#+, #-, and #* removing #ifndef PRESERVE_SIGNEDZERO
ruby_2_6 r66854 merged revision(s) 66681,66682,66684,66688,66697,66751,66693,66694. naruse (Yui NARUSE)
11:08 PM Revision 94db3129 (git): merge revision(s) 66681,66682,66684,66688,66697,66751,66693,66694: [Backport #15491]
complex.c: Optimize Complex#+ for some conditions
Optimize f_add defined in complex.c for some specific conditions.
It makes Complex#+ about 1.4x faster than r66678.
Compared to r66678:
```
mrkn...
naruse (Yui NARUSE)
10:44 PM Bug #15544 (Rejected): sprintf returns an unexpected string
Please visit https://bugs.ruby-lang.org/ and read the FAQ part.
Next time consider doing so before posting an issue.
shyouhei (Shyouhei Urabe)
10:28 PM Bug #15544: sprintf returns an unexpected string
You should use the bugtracker primarily for ruby-related problems, issues and so forth. For questions
about C not directly related to the ruby implementation, stackoverflow may be a better site.
shevegen (Robert A. Heiler)
07:52 PM Bug #15544 (Rejected): sprintf returns an unexpected string
Hello,
I've a little problem with the sprintf function. It returns unexpected results ( in my opinion )
``` ruby
sprintf("%.16g", 8.78)
# returns "8.779999999999999"
# my expected result is "8.78"
```
Can somebody explain th...
areman01 (André Kullmann)
10:09 PM Bug #15536: Crash on merging specific hashes using keyword splat
ruby_2_6 r66853 merged revision(s) 66832. naruse (Yui NARUSE)
10:08 PM Revision a5dae936 (git): merge revision(s) 66832: [Backport #15536]
st.c (rb_hash_bulk_insert_into_st_table): avoid out-of-bounds write
"hash_bulk_insert" first expands the table, but the target size was
wrong: it was calculated by "num_entries + (size to buld insert)", but
it wa...
naruse (Yui NARUSE)
10:07 PM Bug #15520: [patch] configure should refuse to build with jemalloc when headers are missing
ruby_2_6 r66852 merged revision(s) 66779. naruse (Yui NARUSE)
10:07 PM Revision d79405ff (git): merge revision(s) 66779: [Backport #15520]
configure: refuse to build with jemalloc when header is missing
[ruby-core:90964] [Bug #15520]
Freom: Misty De Meo <mistydemeo@github.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66852 b2dd03c8-39...
naruse (Yui NARUSE)
10:03 PM Bug #15532: Backport r66819 (ast.c: fix missing head part in dynamic literal)
ruby_2_6 r66851 merged revision(s) 66819. naruse (Yui NARUSE)
10:03 PM Revision fb70fc4a (git): merge revision(s) 66819: [Backport #15532]
ast.c: fix missing head part in dynamic literal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:55 PM Bug #15513: MJIT compilation terminated due to -Wfatal-errors on GCC 7.3.0
ruby_2_6 r66850 merged revision(s) 66817. naruse (Yui NARUSE)
09:55 PM Revision fea28863 (git): merge revision(s) 66817: [Backport #15513]
mjit_worker.c: pass -nostdlib when making pch as well
[Bug #15513]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:54 PM Bug #15522: TestJIT#test_compile_insn_local fails on aarch64 RHEL7
ruby_2_6 r66849 merged revision(s) 66811,66812,66816. naruse (Yui NARUSE)
09:54 PM Revision b2f102d1 (git): merge revision(s) 66811,66812,66816: [Backport #15522]
mjit_worker.c: untangle CC_LIBS nesting
This should have no impact.
The CC_LIBS was too hard to read for human.
I don't remember whether the order of -lmsvcrt and -lgcc matters or not,
but I kept that fo...
naruse (Yui NARUSE)
09:47 PM Bug #15540: 2.6.0 Dir#glob regression
ruby_2_6 r66848 merged revision(s) 66838. naruse (Yui NARUSE)
09:46 PM Revision 0fe64561 (git): merge revision(s) 66838: [Backport #15540]
dir.c: fix Dir.glob with braces and matching dir
* dir.c (join_path_from_pattern): add the last slash for directory
matching.
* test/ruby/test_dir.rb (test_glob_recursive_directory): add a test
for a...
naruse (Yui NARUSE)
09:39 PM Bug #15479: Array#reject! modifies literal Array
ruby_2_6 r66847 merged revision(s) 66756. naruse (Yui NARUSE)
09:39 PM Revision ddffaf52 (git): merge revision(s) 66756: [Backport #15479]
Mark array as "going to be modified" in `Array#reject!`
Before this patch, if `reject!` is called on a shared array it can
mutate the shared array rather than a copy. This patch marks the array
as "going to be m...
naruse (Yui NARUSE)
09:36 PM Bug #15460: Behaviour of String#setbyte changed
ruby_2_6 r66845 merged revision(s) 66760,66761,66824. naruse (Yui NARUSE)
09:36 PM Revision 01b6b589 (git): * 2019-01-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:36 PM Revision 4cb618e7 (git): merge revision(s) 66760,66761,66824: [Backport #15460]
Follow behaviour of IO#ungetbyte
see r65802 and [Bug #14359]
* expand tabs.
setbyte / ungetbyte allow out-of-range integers
* string.c: String#setbyte to accept arbitrary integers [Bug #15460]
...
naruse (Yui NARUSE)
01:45 PM Bug #12764 (Closed): rubygems with multi default gem problem
Applied in changeset trunk|r66844.
----------
Removed old gemspecs of default gems for the Ruby committers.
[Bug #12764][ruby-core:77284]
hsbt (Hiroshi SHIBATA)
01:45 PM Revision f550da51 (git): Removed old gemspecs of default gems for the Ruby committers.
[Bug #12764][ruby-core:77284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:52 PM Bug #15500: Behavior of require method in 2.5 is different from 2.4 and 2.6
I could reproduce them. But I also reproduce it with Ruby 2.5.3 with RubyGems 2.6.14.3 bundled with Ruby 2.4.
```
~ > ruby -v
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18]
~ > gem -v
2.6.14.3
~ > gem list bigdecima...
hsbt (Hiroshi SHIBATA)
11:15 AM Bug #15368 (Feedback): Crash Report log information
Can you try it with Ruby 2.6.0? hsbt (Hiroshi SHIBATA)
10:10 AM Misc #15534 (Closed): Is there reliable way to check for new Ruby releases?
I updated the URL to the index.txt and the release-monitoring.org picked up the Ruby 2.6.0 just using the default RegExp. So it seems to work right now. I'll keep monitoring the situation with future releases. Until then, this is resolve... vo.x (Vit Ondruch)
04:01 AM Misc #15534 (Assigned): Is there reliable way to check for new Ruby releases?
>What is the most reliable version information
Use https://cache.ruby-lang.org/pub/ruby/index.txt. It's generated the latest package information every day by our system.
> ...
I removed "stable" directory and preview versions of Ru...
hsbt (Hiroshi SHIBATA)
09:07 AM Misc #15530: [ANN] Upgrading bugs.ruby-lang.org to Redmine 4.0
@hsbt Does the new version have a markup settings? Previously, the markup was Markdown-compatible, so `_underscores_` were rendered as italic. Now, it rendered as _underscored_, and while it can be said "logical", but a lot of old texts ... zverok (Victor Shepelev)
03:24 AM Misc #15530: [ANN] Upgrading bugs.ruby-lang.org to Redmine 4.0
After Redmine 4.0, We found the breaking change for api endpoint.
Example:
Redmine 3.x: https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions.atom
Redmine 4.x: https://bugs.ruby-lang.org/projects/ruby-trunk/reposito...
hsbt (Hiroshi SHIBATA)
07:52 AM Revision 367fdd1a (git): reset bound if the size is 0.
* hash.c (RHASH_AR_TABLE_SIZE_DEC): generally, we need to check all
entries to calculate exact "bound" in ar_table, but if size == 0,
we can clear bound because there are no active entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
ko1 (Koichi Sasada)
01:36 AM Revision 07298ea2 (git): support btest on older ruby.
* bootstraptest/runner.rb (assert_normal_exit): check MJIT first
to support btest with ruby ~2.5. btest (bootstraptest) should be
enable to run with stable ruby interpreter because modified ruby
may not able to run runner.rb and we...
ko1 (Koichi Sasada)
12:36 AM Revision 0280bef3 (git): * 2019-01-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:36 AM Revision d25a27ab (git): call rb_str_modify to make a copy unshared
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:18 AM Feature #15438: Threads can't switch faster than TIME_QUANTUM_(NSEC|USEC|MSEC)
sylvain.joyeux (Sylvain Joyeux) wrote:
> Here's the patch for 2.6. I would be glad if you could consider also applying the other patch to 2.5.
Thank you so much.
In thread_win32.c:
```diff
-#define TIME_QUANTUM_USEC (10 * 1000...
nobu (Nobuyoshi Nakada)
12:03 AM Bug #15543: rb_str_set_len should clear code range
I think few people know about this, and `rb_str_modify` isn't documented in doc/extension.rdoc.
I guess some C extensions ignore this requirement and could have bugs because of it.
Isn't it simpler and safer to clear the coderange, a...
Eregon (Benoit Daloze)

01/16/2019

11:27 PM Bug #15543 (Rejected): rb_str_set_len should clear code range
It isn't an issue of `rb_str_set_len`.
The string isn't valid encoding by `@s.RSTRING_PTR_set(@str, 2, 0x80)`.
You should call `rb_str_modify` before modifying a string object.
nobu (Nobuyoshi Nakada)
04:35 PM Bug #15543 (Rejected): rb_str_set_len should clear code range
Calling `rb_str_set_len` on a `String` could alter the code range. I think this hasn't been much of an issue because of pure luck rather than anything that was deliberately designed. If called on a string that already has a `CR_UNKNOWN` ... nirvdrum (Kevin Menard)
08:49 PM Feature #6801 (Rejected): String#~ for a here document
Indeed. Eregon (Benoit Daloze)
05:14 PM Feature #6801: String#~ for a here document
Since this exact behavior was added as "indented here document" with `<<~` in Ruby 2.3.0 (discussed in #9098), I believe this issue can be closed out. jsc (Justin Collins)
07:36 PM Feature #15438: Threads can't switch faster than TIME_QUANTUM_(NSEC|USEC|MSEC)
Quick question ... what is the preferred method to provide patches now ? I'm seeing that there are PR on GitHub ... Should I propose the patch here instead ? sylvain.joyeux (Sylvain Joyeux)
04:32 PM Feature #15353: Support client certificates with TLS 1.3 and OpenSSL 1.1.1
> Hello, openssl library now has its own tracker. Is it possible to report this issue at ruby/openssl? https://github.com/ruby/openssl/issues
Thank you for explaining that ruby/openssl has its own bug tracker!
I have created an is...
mkauf (Michael Kaufmann)
04:00 PM Bug #15542 (Third Party's Issue): Segmentation fault when Interrupted on rabbit.gem for ruby 2.7.0dev
I previewed my slide using rabbit.gem and stopped by crtl+c...then core dumped.
reproduction scenario
* gem install rabbit
* rabbit REAME.md (and open slide window)
* crtl+c #=> segmantaition fault
I attached output lo...
emorima (Mayumi Emori)
03:32 PM Bug #15340: Time.local behaving inconsistently for excess days after 2038
ruby_2_5 r66839 merged revision(s) 65974. nagachika (Tomoyuki Chikanaga)
03:32 PM Revision 11a64cea (git): merge revision(s) 65974: [Backport #15340]
Normalize month-mday before finding epoch
Especially over the year 2038, 30 Feb and so on may cause odd behavior
on validating found epoch with given year-month-day [Bug #15340]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nagachika (Tomoyuki Chikanaga)
02:06 PM Bug #15540 (Closed): 2.6.0 Dir#glob regression
Applied in changeset trunk|r66838.
----------
dir.c: fix Dir.glob with braces and matching dir
* dir.c (join_path_from_pattern): add the last slash for directory
matching.
* test/ruby/test_dir.rb (test_glob_recursive_directory): add...
Anonymous
05:56 AM Bug #15540: 2.6.0 Dir#glob regression
Thanks for report. I attached a patch for the issue. h.shirosaki (Hiroshi Shirosaki)
02:06 PM Revision d1417ff8 (git): dir.c: fix Dir.glob with braces and matching dir
* dir.c (join_path_from_pattern): add the last slash for directory
matching.
* test/ruby/test_dir.rb (test_glob_recursive_directory): add a test
for above.
[ruby-core:91110] [Bug #15540]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
h.shirosaki (Hiroshi Shirosaki)
12:55 PM Feature #15538: Erb indenting / unindenting
Thanks for the update. You didn't answer 2 but I guess you're using `trim_mode: '-'` or something including "-". Note that your "extra indentation" result is still not valid one since it should have 4 spaces in the real world. Do not tre... k0kubun (Takashi Kokubun)
12:27 PM Feature #15538: Erb indenting / unindenting
How about following style?
```
1
<%- [2, 3, 4].each do |num| -%>
<%- unless num == 3 -%>
<%= num %>
<%- end -%>
<%- end -%>
5
```
znz (Kazuhiro NISHIYAMA)
09:58 AM Feature #15538: Erb indenting / unindenting
(missing closing parenthesis) kke (Kimmo Lehto)
09:55 AM Feature #15538: Erb indenting / unindenting
Clarified and added some examples
kke (Kimmo Lehto)
12:05 PM Bug #15084: Backport r64476
ruby_2_5 r66837 merged revision(s) 64476. nagachika (Tomoyuki Chikanaga)
12:04 PM Revision 9ab19d79 (git): merge revision(s) 64476: [Backport #15084]
thread_sync.c (rb_mutex_sleep): disable interrupt checking in ensure
This is needed to reliably fix ConditionVariable#wait on Thread#kill
[Bug #14999] because there is still a chance an interrupt could fire
and p...
nagachika (Tomoyuki Chikanaga)
10:20 AM Bug #15539: Proc.new with no block shouldn't always warn
I always thought Proc.new working without an explicit block was an unintended feature in MRI, and indeed fairly magical, so I support taking a more explicit way in 2.7. Eregon (Benoit Daloze)
10:12 AM Bug #15539 (Rejected): Proc.new with no block shouldn't always warn
> makes it no longer possible to have a default value for a positional argument that uses the block
Surprisingly, we can:
```
def foo o = binding.local_variable_get(:b), &b
p o.class
end
foo{} #=> Proc
```
(of course it...
ko1 (Koichi Sasada)
01:33 AM Bug #15539: Proc.new with no block shouldn't always warn
ko1 (Koichi Sasada) wrote:
> I'll file the reason soon.
> ...
I also ran into this issue as `Proc.new` was used in a few places in Sequel. Removing implicit block support for `Proc.new` makes it no longer possible to have a default val...
jeremyevans0 (Jeremy Evans)
01:03 AM Bug #15539: Proc.new with no block shouldn't always warn
ko1 (Koichi Sasada) wrote:
> I'll file the reason soon.
> ...
Ok, no problem! I'll update Rails and reference the feature when posted. 😊
tenderlovemaking (Aaron Patterson)
12:25 AM Bug #15539: Proc.new with no block shouldn't always warn
I'll file the reason soon.
Anyway, I recommend you to rewrite it with a block parameter:
```
def foo bar = nil, &b
(b || bar).call
end
# or
def foo bar = nil, &b
bar ||= b
bar.call
end
```
ko1 (Koichi Sasada)
02:09 AM Revision 74477ec2 (git): Strip warnflags
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:04 AM Feature #15541: Add alias symbolize_keys for symbolize_names kwarg for JSON.parse
Personally I think that alias name would make sense. With a new alias the backwards
behaviour would also be retained.
shevegen (Robert A. Heiler)
01:44 AM Feature #15541 (Third Party's Issue): Add alias symbolize_keys for symbolize_names kwarg for JSON.parse
https://github.com/ruby/psych/issues/341
When trying to symbolize keys on JSON parsing, it's really hard to remember the name `symbolize_names`:
```
JSON.parse(data, symbolize_names: true)
```
I would like to propose that we c...
baweaver (Brandon Weaver)
01:35 AM Revision d0318b8c (git): Revert r65800
"Makefile.in: reconfig with the original warnflags"
It would be unnecessary since r65803 and r65805.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:48 AM Revision 98e218b6 (git): * 2019-01-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:48 AM Revision 923d03e1 (git): Fixed a typo, missing `$`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:19 AM Bug #15503: Error in Ruby 2.6 when trying to shell out to invoke `irb` while in a `bundle exec` session
schneems (Richard Schneeman) wrote:
> Hello. This script fails on Ruby 2.6 but works successfully with Ruby 2.5:
I believe that's because irb was not a gem in Ruby 2.5 and was part of the stdlib, but in 2.6 it's a gem.
segiddins (Samuel Giddins)

01/15/2019

11:15 PM Bug #15540 (Closed): 2.6.0 Dir#glob regression
in an empty base folder create the following structure
```
.
└── c
├── d
│   └── a
│   ├── a.file
│   └── b
│   ├── b.file
│   └── c
│   └── c.file
└── e
...
bughit (bug hit)
11:04 PM Bug #15539 (Rejected): Proc.new with no block shouldn't always warn
Hi,
r66772 introduced a warning for the following code:
``` ruby
def foo bar = Proc.new
bar.call
end
foo { p "block" } # warn
foo ->() { p "block" } # no warn
```
I don't think this case of `Proc.new` should warn....
tenderlovemaking (Aaron Patterson)
05:52 PM Feature #14915: Deprecate String#crypt
If we want to remove a feature, we deprecate and warn first, that has always been the case in MRI.
@shyouhei Please add the warning. Otherwise, no users will consider it deprecated.
@normalperson If you disagree, please start a gen...
Eregon (Benoit Daloze)
03:34 PM Bug #15536: Crash on merging specific hashes using keyword splat
That was fast, thank you. decuplet (Nikita Shilnikov)
02:19 PM Bug #15536 (Closed): Crash on merging specific hashes using keyword splat
Applied in changeset trunk|r66832.
----------
st.c (rb_hash_bulk_insert_into_st_table): avoid out-of-bounds write
"hash_bulk_insert" first expands the table, but the target size was
wrong: it was calculated by "num_entries + (size to b...
mame (Yusuke Endoh)
01:47 PM Bug #15536: Crash on merging specific hashes using keyword splat
Good catch. The following code still crashes on trunk.
```
{
**{
a0: nil,
a1: nil,
a2: nil,
a3: nil,
a4: nil,
a5: nil,
a6: nil,
a7: nil,
a8: nil,
},
a0: nil,
a1: nil,
a2: n...
mame (Yusuke Endoh)
08:42 AM Bug #15536 (Closed): Crash on merging specific hashes using keyword splat
Here's a snippet that leads to a crash on ruby 2.5.3. I tried to make it as small as possible.
```ruby
1000.times do
{
**{
a1: nil,
a2: nil,
a3: nil,
a4: nil,
a5: nil,
a6: nil,
a...
decuplet (Nikita Shilnikov)
03:21 PM Feature #15538: Erb indenting / unindenting
kke (Kimmo Lehto) wrote:
> In `Erb`, would it be possible to add a new trim mode that would indent the following content to match the depth of the tag? The tag could for example be `<%|` and it would be enabled using `Erb.new(template, ...
jeremyevans0 (Jeremy Evans)
02:10 PM Feature #15538 (Feedback): Erb indenting / unindenting
It's hard to understand your proposal for me. Could you fix the following two parts first?
1. Do not use "...." in the template. We are talking about a feature to change indentation and the indentation you imagine in "...." is not cle...
k0kubun (Takashi Kokubun)
01:35 PM Feature #15538 (Third Party's Issue): Erb indenting / unindenting
In `Erb`, would it be possible to add a new tag that would indent the following content to match the depth of the tag? The tag could be `<%~` (to resemble the `<<~EOS` squiggy heredoc).
## Reason
Something like this would be easy t...
kke (Kimmo Lehto)
02:19 PM Revision ab2547d7 (git): st.c (rb_hash_bulk_insert_into_st_table): avoid out-of-bounds write
"hash_bulk_insert" first expands the table, but the target size was
wrong: it was calculated by "num_entries + (size to buld insert)", but
it was wrong when "num_entries < entries_bound", i.e., it has a deleted
entry. "hash_bulk_insert"...
mame (Yusuke Endoh)
01:52 PM Revision 10d85b19 (git): Clarify Array#- and Array#difference documentation
Currently we are not explicit enough regarding the potentially confusing
behavior of `Array#-` and `Array#difference` when it comes to duplicate items
within receiver arrays.
Although the original documentation for these methods does us...
nobu (Nobuyoshi Nakada)
12:08 PM Feature #15438: Threads can't switch faster than TIME_QUANTUM_(NSEC|USEC|MSEC)
Hi nobu. Thanks for looking into this !
Here's the patch for 2.6. I would be glad if you could consider also applying the other patch to 2.5.
sylvain.joyeux (Sylvain Joyeux)
12:05 PM Revision d7976d14 (git): Use `&` instead of `modulo`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:17 AM Bug #15537 (Closed): Numeric#step doesn't iterate under some conditions
Numeric#step doesn't iterate under the following conditions:
- receiver and/or `by` are `Float`
- `by` is negative
- `to` is default
- without block
### Example:
Good:
~~~ruby
p 1.step(by: 3).take(2) ...
shuujii (Shuji KOBAYASHI)
09:08 AM Bug #15399: [PATCH] insns.def (duparray, duphash): add dtrace hooks
ruby_2_6 r66829 merged revision(s) 66767. naruse (Yui NARUSE)
09:06 AM Revision b3b786c5 (git): merge revision(s) 66767: [Backport #15399]
insns.def (duparray, duphash): add dtrace hooks
They are considered Array and Hash creation events, so
allow dtrace (and systemtap) to track those creations.
Co-Authored-By: Eric Wong <e@80x24.org>
git-svn-id: ...
naruse (Yui NARUSE)
09:00 AM Bug #15498: Update Refinements documentation
ruby_2_6 r66828 merged revision(s) 66788. naruse (Yui NARUSE)
09:00 AM Revision 3dd20673 (git): merge revision(s) 66788: [Backport #15498]
Update refinements docs
Co-Authored-By: Vladimir Dementyev <dementiev.vm@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:56 AM Bug #15511: RubyVM::AbstractSyntaxTree.parse segfault
ruby_2_6 r66827 merged revision(s) 66736. naruse (Yui NARUSE)
08:55 AM Revision 402906e2 (git): merge revision(s) 66736: [Backport #15511]
ast.c: argument must be a string
[ruby-core:90904] [Bug #15511]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:55 AM Bug #15512: Backport r66745
ruby_2_6 r66826 merged revision(s) 66745. naruse (Yui NARUSE)
08:55 AM Revision da7dedec (git): merge revision(s) 66745: [Backport #15512]
Bump version to date-2.0.0.
I forgot to change it when Ruby 2.6.0 was released.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:54 AM Bug #15506: ArgumentError on some ordinal dates
ruby_2_6 r66825 merged revision(s) 66735. naruse (Yui NARUSE)
08:53 AM Revision a88f8e34 (git): merge revision(s) 66735: [Backport #15506]
Fix mday overflow
[ruby-core:90897] [Bug #15506]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:38 AM Feature #11741: Migrate Ruby to Git from Subversion
Thumbs up for this incredible discussion of yours. I've truly appreciated perusing this discussion today and I figure this may be extraordinary compared to other discussions that I've perused yet. If it's not too much trouble prop this w... steve102 (steve smith)
06:42 AM Bug #15460 (Closed): Behaviour of String#setbyte changed
Applied in changeset trunk|r66824.
----------
setbyte / ungetbyte allow out-of-range integers
* string.c: String#setbyte to accept arbitrary integers [Bug #15460]
* io.c: ditto for IO#ungetbyte
* ext/strringio/stringio.c: ditto for S...
shyouhei (Shyouhei Urabe)
06:41 AM Revision d154bec0 (git): setbyte / ungetbyte allow out-of-range integers
* string.c: String#setbyte to accept arbitrary integers [Bug #15460]
* io.c: ditto for IO#ungetbyte
* ext/strringio/stringio.c: ditto for StringIO#ungetbyte
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66824 b2dd03c8-39d4-4d8f-...
shyouhei (Shyouhei Urabe)
06:01 AM Bug #15513: MJIT compilation terminated due to -Wfatal-errors on GCC 7.3.0
バージョンがかわってしまったので元にもどしました。 kajisha (Hiroshi Kajisha)
06:00 AM Bug #15513: MJIT compilation terminated due to -Wfatal-errors on GCC 7.3.0
下記のとおりコンパイルされることが確認できました!ありがとうございます。
~~~
$ time ruby -v --jit-verbose=2 --jit-save-temps --disable-gems /tmp/t.rb
ruby 2.7.0dev (2019-01-15 trunk 66823) +JIT [x86_64-linux]
MJIT: CC defaults to /usr/bin/gcc
MJIT: tmp_dir is /tmp
...
kajisha (Hiroshi Kajisha)
04:02 AM Revision 5e84537d (git): Revert "mjit_worker.c: try passing -nostdlib to AIX"
This reverts commit b32fb23083912c37a2601c66531ed786a7c9f3e5.
This didn't work on AIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:53 AM Feature #15523: Let `Range#begin` and `Range#end` be aliases of Range#first and Range#last
mame (Yusuke Endoh) wrote:
> I understand that "your problem" is confusion between a keyword "begin" and "Range#begin". First, I have never been confused by the fact. Then,
Actually, that was a minor point (I, myself, have not be...
sawa (Tsuyoshi Sawada)
03:43 AM Revision a01f2f0a (git): * 2019-01-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:43 AM Revision 01d63239 (git): Suppress warning: ambiguous first argument; put parentheses or a space even after `/' operator
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:22 AM Feature #15301 (Closed): Symbol#call, returning method bound with arguments
nagachika (Tomoyuki Chikanaga)
12:15 AM Feature #15393: Add compilation flags to freeze Array and Hash literals
Eregon (Benoit Daloze) wrote:
> tenderlovemaking (Aaron Patterson) wrote:
> ...
Yes, I totally agree. I think `deep_freeze` is going to be necessary for adoption of Guilds, and the code I'm proposing in this patch would be an optimiza...
tenderlovemaking (Aaron Patterson)

01/14/2019

11:34 PM Bug #15535 (Rejected): Optional arguments for definition - Syntax Error is not the correct Error type
Required arguments cannot be placed between optional arguments **syntactically**, so it must be a `SyntaxError`.
`ArgumentError` is a runtime error.
nobu (Nobuyoshi Nakada)
07:52 PM Bug #15535 (Rejected): Optional arguments for definition - Syntax Error is not the correct Error type
The below definition throws a Syntax Error, while there is no syntax error and I'm not sure what is the intention behind the Syntax Error
``` ruby
def hello(foo="bar", bar, yanko="me")
p "Hello"
end
```
The same definition be...
waheedi (Waheed Barghouthi)
11:30 PM Feature #15438: Threads can't switch faster than TIME_QUANTUM_(NSEC|USEC|MSEC)
Your patch can't apply to the latest code.
Could you rebase it?
nobu (Nobuyoshi Nakada)
06:49 PM Feature #15438: Threads can't switch faster than TIME_QUANTUM_(NSEC|USEC|MSEC)
Anyone interested on the subject ? sylvain.joyeux (Sylvain Joyeux)
11:15 PM Bug #8059 (Closed): Unrelated block value returned by String#match(regex) when regex is returned by a method that uses define_method and super
Thank you for the confirmation. nobu (Nobuyoshi Nakada)
05:26 PM Bug #8059: Unrelated block value returned by String#match(regex) when regex is returned by a method that uses define_method and super
The example appears to have been a little mangled on Redmine.
This code reproduces the issue on 1.9.3-p327 and 1.9.3-p551:
~~~
class Superclass
define_method :regex do
/^(\d)$/
end
end
class Subclass < Superclass
...
jsc (Justin Collins)
06:40 PM Feature #15527: Redesign of timezone object requirements
> Note that a timezone system requires two API.
Sorry for my arrogance, but can you please explain this a bit?..
From what I can understand from code, `local_to_utc` is used only from `Time.new`, but I am not quite sure why exactly.
...
zverok (Victor Shepelev)
05:37 PM Bug #8297: extend & inherited class variable issue
This appears to still be an issue with Ruby 2.6.0 (ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-linux]):
Example:
~~~
module M
@@xyz = 123
end
puts "M.class_variables: #{M.class_variables.inspect}"
puts "M.class_variable...
jsc (Justin Collins)
03:45 PM Feature #15526: New way to destruct an object hash
Related/duplicate https://bugs.ruby-lang.org/issues/11758 elia (Elia Schito)
02:34 PM Misc #15534 (Closed): Is there reliable way to check for new Ruby releases?
In Fedora, we are using https://release-monitoring.org/ to check for packages updates. Unfortunately, the content of https://cache.ruby-lang.org/pub/ruby/ is a bit inconsistent which makes this service unuseful.
If I open the page, th...
vo.x (Vit Ondruch)
02:15 PM Feature #15523: Let `Range#begin` and `Range#end` be aliases of Range#first and Range#last
@sawa Sorry, please don't mind my previous comment. I confused the behavior of Range and one of ArithmeticSequence. mrkn (Kenta Murata)
12:52 PM Feature #15523: Let `Range#begin` and `Range#end` be aliases of Range#first and Range#last
@sawa Please tell us how can we get both the end-value of the exclude-end range and the last element of the sequence generated by the range if your proposal were accepted? mrkn (Kenta Murata)
11:58 AM Bug #15522: TestJIT#test_compile_insn_local fails on aarch64 RHEL7
k0kubun (Takashi Kokubun) wrote:
> @vo.x Could you check if r66812 works?
Actually it is r66811 + r66812. Applying these two patches, the test suite passes on RHEL7 on all supported architectures and it keeps passing on Fedora Rawhid...
vo.x (Vit Ondruch)
06:32 AM Bug #15522: TestJIT#test_compile_insn_local fails on aarch64 RHEL7
@vo.x Could you check if r66812 works? k0kubun (Takashi Kokubun)
06:18 AM Bug #15522 (Closed): TestJIT#test_compile_insn_local fails on aarch64 RHEL7
Applied in changeset trunk|r66812.
----------
mjit_worker.c: pass -lgcc to GCC platforms
using `-nodefaultlibs -nostdlib`.
I assume libgcc is needed when we use -nostdlib, and it's linked on some
platforms but not linked on some platf...
k0kubun (Takashi Kokubun)
11:40 AM Bug #15385: Ruby process hang in ensure
Memo: r61591, r61592, r66324 are related. nagachika (Tomoyuki Chikanaga)
11:27 AM Bug #15219: Backport: Ruby 2.5.X to support OpenSSL 1.1.1 and TLS 1.3
> Maybe this patch too.
> ...
Hmm, these two pull requests are not merged yet in ruby/openssl and neither committed into ruby trunk.
We can backport them only after they are committed into trunk according to our stable branch managemen...
nagachika (Tomoyuki Chikanaga)
11:17 AM Bug #15533 (Third Party's Issue): Segmentation fault: mysql2 client
Started GET "/" for 127.0.0.1 at 2019-01-14 10:55:17 +0000
/../../.rvm/gems/ruby-2.6.0/gems/mysql2-0.5.2/lib/mysql2/client.rb:90: [BUG] Segmentation fault at 0x0000000000000000
ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin17]
abhi.cerner (abhishek singh)
11:09 AM Bug #15532 (Closed): Backport r66819 (ast.c: fix missing head part in dynamic literal)
This is a ticket for backport management.
r66819 contains bug fix for RubyVM::AbstractSyntax.parse/.parse_tree.
nagachika (Tomoyuki Chikanaga)
11:04 AM Revision ad10418e (git): update redmine-backporter to catch up Redmine 4.0. [ci skip]
tool/redmine-backporter.rb: change revision resource URL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
10:16 AM Revision 4d727639 (git): ast.c: fix missing head part in dynamic literal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:48 AM Bug #15498 (Closed): Update Refinements documentation
Fixed at r66788 hsbt (Hiroshi SHIBATA)
09:23 AM Bug #15041: [PATCH] cont.c: set th->root_fiber to current fiber at fork
ruby_2_5 r66818 merged revision(s) 64589,64593. nagachika (Tomoyuki Chikanaga)
09:23 AM Revision b9f11b12 (git): merge revision(s) 64589,64593: [Backport #15041]
cont.c: set th->root_fiber to current fiber at fork
Otherwise, th->root_fiber can point to an invalid Fiber,
because Fibers do not live across fork. So consider
whatever Fiber is running the root fiber.
...
nagachika (Tomoyuki Chikanaga)
07:35 AM Feature #15408: Deprecate ObjectSpace._id2ref
Target version is used by release engineering; don't use this as just a goal.
In this case set target version after drb removes `ObjectSpace._id2ref`.
naruse (Yui NARUSE)
07:32 AM Bug #595: Fiber ignores ensure clause
Target version is used by release engineering; don't use this as just a goal. naruse (Yui NARUSE)
07:30 AM Bug #15513: MJIT compilation terminated due to -Wfatal-errors on GCC 7.3.0
@kajisha 多分 r66817 で直ると思うのですが、最新のtrunkでMJITが動くかご確認いただけないでしょうか。 k0kubun (Takashi Kokubun)
07:28 AM Bug #15513 (Closed): MJIT compilation terminated due to -Wfatal-errors on GCC 7.3.0
Applied in changeset trunk|r66817.
----------
mjit_worker.c: pass -nostdlib when making pch as well
[Bug #15513]
k0kubun (Takashi Kokubun)
07:28 AM Revision ec3cdb34 (git): mjit_worker.c: pass -nostdlib when making pch as well
[Bug #15513]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
06:45 AM Revision b32fb230 (git): mjit_worker.c: try passing -nostdlib to AIX
r66812 might have allowed this. Testing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
06:38 AM Bug #15471: -e and specified file does not kick script_compiled TracePoint event
ruby_2_6 r66815 merged revision(s) 66595. naruse (Yui NARUSE)
06:38 AM Revision 6e7f3982 (git): merge revision(s) 66595: [Backport #15471]
fix missed script_compiled events. [Bug #15471]
* ruby.c (process_options): script_compiled events are missed on
command line -e or specified file. this commit fix it.
[Bug #15471]
This patch shoul...
naruse (Yui NARUSE)
06:34 AM Bug #15476: Branch coverage: Failing to load trivial sample when branch coverage is on
ruby_2_6 r66813 merged revision(s) 66670,66676. naruse (Yui NARUSE)
06:34 AM Revision 8e2c6c16 (git): * 2019-01-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:34 AM Revision aed655c0 (git): merge revision(s) 66670,66676: [Backport #15476]
compile.c: support branch coverage for `a&.foo = 1`
[Bug #15476]
compile.c (iseq_set_sequence): fix branch coverage table
Not only TRACE_ELEMENT but also INSN_ELEMENT may have events.
The old pc2branchi...
naruse (Yui NARUSE)
06:18 AM Revision d14089fb (git): mjit_worker.c: pass -lgcc to GCC platforms
using `-nodefaultlibs -nostdlib`.
I assume libgcc is needed when we use -nostdlib, and it's linked on some
platforms but not linked on some platforms (like aarch64, and possibly
AIX as well) as said in https://wiki.osdev.org/Libgcc :
>...
k0kubun (Takashi Kokubun)
05:50 AM Revision d89d1d46 (git): mjit_worker.c: untangle CC_LIBS nesting
This should have no impact.
The CC_LIBS was too hard to read for human.
I don't remember whether the order of -lmsvcrt and -lgcc matters or not,
but I kept that for the best safety.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@668...
k0kubun (Takashi Kokubun)
04:49 AM Revision b4bc6ccb (git): * 2019-01-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:49 AM Revision 4840771a (git): vm_insnhelper.c: make VM helpers inline
In r66597, both VM and JIT seem to be made slower:
```
$ benchmark-driver benchmark.yml --rbenv 'r66596::before --disable-gems;r66597::after --disable-gems;r66596+JIT::before --disable-gems --jit;r66597+JIT::after --disable-gems --jit' ...
k0kubun (Takashi Kokubun)

01/13/2019

01:49 PM Bug #15531 (Closed): Ignore gemspec files for rdoc.
Applied in changeset trunk|r66808.
----------
rdoc: ignore gemspec files
[ruby-core:91067] [Bug #15531]
nobu (Nobuyoshi Nakada)
12:07 PM Bug #15531 (Closed): Ignore gemspec files for rdoc.
Followed up https://bugs.ruby-lang.org/issues/14163#note-5.
The current documentation generated by rdoc shows gemspec files like:
https://docs.ruby-lang.org/en/2.6.0/lib/csv/csv_gemspec.html
It should be ignored.
hsbt (Hiroshi SHIBATA)
01:49 PM Revision edb65a62 (git): rdoc: ignore gemspec files
[ruby-core:91067] [Bug #15531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:41 PM Revision 71d2695d (git): rdoc: fixup the test for r66806
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:17 PM Feature #15523: Let `Range#begin` and `Range#end` be aliases of Range#first and Range#last
Objection.
I understand that "your problem" is confusion between a keyword "begin" and "Range#begin". First, I have never been confused by the fact. Then,
> * Let Range#begin and Range#end be aliases of Range#first and Range#last...
mame (Yusuke Endoh)
01:16 PM Revision 0fb782ea (git): rdoc: ignore garbage files
* lib/rdoc/options.rb (RDoc::Options#init_ivars): exclude backup
files by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:16 PM Revision 6feee125 (git): common.mk: common rdoc variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:56 AM Bug #14163 (Closed): Pages of rdoc include files which are not documents
Do not reuse the existence issue and modify status by yourself without maintainers. Because We use status is backport workflow for stable versions.
Please open another issue.
hsbt (Hiroshi SHIBATA)
11:42 AM Bug #14163 (Open): Pages of rdoc include files which are not documents
And here they are again: https://docs.ruby-lang.org/en/2.6.0/ (seems the problem is related to new default gems?) zverok (Victor Shepelev)
09:53 AM Feature #15527: Redesign of timezone object requirements
Sounds interesting, but `zone.utc_offset(time)` can only be a partial alternative of `utc_to_local` with using `gmtime(3).
Note that a timezone system requires two API.
One is an API which converts from [year, month, day, hour, minut...
naruse (Yui NARUSE)
08:37 AM Feature #12208 (Assigned): Improve ri command
hsbt (Hiroshi SHIBATA)
08:09 AM Bug #10422 (Assigned): RDoc for BasicObject has methods that do not exist
hsbt (Hiroshi SHIBATA)
08:06 AM Bug #11746 (Assigned): RDoc incorrect example call method on heredoc
hsbt (Hiroshi SHIBATA)
08:05 AM Bug #12888 (Rejected): Require 'thread' crash on recent 2.2.x
Ruby 2.2.x is EOL status. hsbt (Hiroshi SHIBATA)
08:03 AM Feature #15415 (Assigned): [PATCH] fileutils (mv): fall back to copy + unlink on EPERM
hsbt (Hiroshi SHIBATA)
07:50 AM Bug #15390: Error installing nokogiri on ruby-2.6.0-rc1
Possibly related: https://github.com/Homebrew/brew/issues/5068
Also this section from Nokogiri documentation: https://nokogiri.org/tutorials/installing_nokogiri.html#unable-to-find-libraries-on-macos-mojave
franklinyu (Franklin Yu)
05:56 AM Bug #15428: Refactor Proc#>> and #<<
zverok (Victor Shepelev) wrote:
> Now, from what I can understand, you followed this rule of thumb:
> ...
Right.
> So, in fact, it is my "option 2": "codify that `#call` from now on has a special meaning in Ruby", and considering your a...
nobu (Nobuyoshi Nakada)
04:36 AM Revision 665d9a43 (git): time.c: separate sign argument
* time.c (vtm_add_offset): separate sign argument to get rid of
repeated negations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:37 AM Misc #15530: [ANN] Upgrading bugs.ruby-lang.org to Redmine 4.0
I fixed the mail-bomb issue [ruby-core:91051](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/91051) - [ruby-core:91056](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/91056). hsbt (Hiroshi SHIBATA)
03:17 AM Misc #15530 (Assigned): [ANN] Upgrading bugs.ruby-lang.org to Redmine 4.0
hsbt (Hiroshi SHIBATA)
01:36 AM Misc #15530 (Closed): [ANN] Upgrading bugs.ruby-lang.org to Redmine 4.0
Now, I did upgrade bugs.ruby-lang.org to Redmine 4.0 from 3.2.
See, notable changes via official announcement.
https://www.redmine.org/news/119
I migrated our custom plugins for Redmine 4.0 and Rails 5.2. When you encountered th...
hsbt (Hiroshi SHIBATA)
03:31 AM Revision 019c8915 (git): time.c: do not set utc_offset in vtm_add_offset
* time.c (vtm_add_offset): just add offset to other components
only. removed subtraction of utc_offset as it is overwritten
always immediately in callers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66803 b2dd03c8-39d4-4d8f-9...
nobu (Nobuyoshi Nakada)
03:27 AM Revision 128b6577 (git): * 2019-01-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:27 AM Revision 6d181873 (git): Fix remaining syntax errors in Binding#irb docs
Apologies for catching those so late.
[Fix GH-2067] [ci skip]
From: Olivier Lacan <hi@olivierlacan.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom