Project

General

Profile

Activity

From 06/15/2019 to 06/21/2019

06/21/2019

11:52 PM Feature #15947: ENV.merge!
Thank you! kachick (Kenichi Kamiya)
04:26 PM Feature #15947 (Closed): ENV.merge!
Applied in changeset commit:git|d01fd821875b989affc36e54e98f5dd67f47062e.
----------
Alias ENV.merge! as ENV.update
...
kachick (Kenichi Kamiya)
04:23 PM Feature #15947: ENV.merge!
This looks good to me, I'll merge it.
Thank you for the PR.
Eregon (Benoit Daloze)
03:51 AM Feature #15947 (Closed): ENV.merge!
ENV basically has hash like methods.
So I would like to apply an alias `ENV.merge!` that behavior is same as `ENV.up...
kachick (Kenichi Kamiya)
05:48 PM Bug #14241 (Assigned): Time.strptime() doesn't support the directive "%W".
I agree this is a bug that should be fixed. Attached is a patch that implements support for %U/%W/%u/%w in `Time#str... jeremyevans0 (Jeremy Evans)
04:37 PM Bug #14252 (Closed): Refined Method Visibility Lost with Dynamic Dispatch and Reflection
Ruby 2.6.0 started honoring refinements in `Kernel#public_send`. jeremyevans0 (Jeremy Evans)
04:25 PM Revision d01fd821 (git): Alias ENV.merge! as ENV.update
[Feature #15947]
Closes: https://github.com/ruby/ruby/pull/2246
kachick (Kenichi Kamiya)
04:21 PM Revision 3b2d11ad (git): Use different names for autoload constants in specs for clarity
Eregon (Benoit Daloze)
04:21 PM Revision e5e811e4 (git): Add extra spec from https://github.com/ruby/ruby/pull/2173
byroot (Jean Boussier)
04:16 PM Revision 2f2fc939 (git): Always define RUBY_RELEASE_DATETIME
nobu (Nobuyoshi Nakada)
03:31 PM Revision c79131df (git): Treat closing token with starting token at head of 2nd line correctly
v =
if true # starting token at head of 2nd line
3
end # closing token
aycabta (aycabta .)
03:31 PM Revision 5e208866 (git): Do auto indent only when closing token at first of line
if true
3; end # this isn't auto-indented
aycabta (aycabta .)
03:03 PM Revision d1fa0f61 (git): * 2019-06-22
git[bot]
02:48 PM Revision 8a1dd9b8 (git): Revert RUBY_RELEASE_DATE to date only
nobu (Nobuyoshi Nakada)
02:04 PM Revision 1c7e303b (git): Constified unusable chars
nobu (Nobuyoshi Nakada)
01:48 PM Bug #15946 (Closed): Undefined behavior can occur with memcpy in String#sub!
Applied in changeset commit:git|8f51da5d41f0642d5a971e4223d1ba14643c6398.
----------
Get rid of undefined behavior
...
nobu (Nobuyoshi Nakada)
01:48 PM Bug #15946: Undefined behavior can occur with memcpy in String#sub!
Thank you.
`s3` doesn't seem to need to share `s`.
nobu (Nobuyoshi Nakada)
12:37 AM Bug #15946 (Closed): Undefined behavior can occur with memcpy in String#sub!
Hi, I've found an overlapping memcpy in an odd situation:
```ruby
s = "hello there this is a long string and cant...
luke-gru (Luke Gruber)
01:48 PM Revision 551ef274 (git): * expand tabs.
git[bot]
01:42 PM Revision 8f51da5d (git): Get rid of undefined behavior
* string.c (rb_str_sub_bang): str and repl can be same.
[Bug #15946]
nobu (Nobuyoshi Nakada)
12:35 PM Revision 50841eca (git): Support irregular auto indent
v =
if true
3
end # this "end" is auto-indented correctly
aycabta (aycabta .)
09:02 AM Revision 38ccb8f7 (git): Remove a duplicate test
shugo (Shugo Maeda)
08:53 AM Revision 16729f64 (git): Remove duplicate functions
nobu (Nobuyoshi Nakada)
08:43 AM Bug #15949 (Closed): Enumerator::Lazy should support filter_map
Applied in changeset commit:git|702cf3ec9051914c8ef5a353580e0e74f7ec7005.
----------
Enumerator::Lazy should support...
shugo (Shugo Maeda)
08:39 AM Bug #15949 (Closed): Enumerator::Lazy should support filter_map
filter_map has been added to Enumerable, but it's not supported by Enumerator::Lazy.
```
p (1..).lazy.filter_map ...
shugo (Shugo Maeda)
08:43 AM Revision 432b28af (git): * expand tabs.
git[bot]
08:42 AM Revision 702cf3ec (git): Enumerator::Lazy should support filter_map
Fixes [Bug #15949] shugo (Shugo Maeda)
08:40 AM Revision 35392ff0 (git): Fix an example [ci skip]
nobu (Nobuyoshi Nakada)
08:29 AM Feature #15777 (Closed): autoload?(cname, inherit=true)
Applied in changeset commit:git|fb85a428605265a8fd449b0702a4dd88cb6f3b20.
----------
Add an optional `inherit` argum...
byroot (Jean Boussier)
08:13 AM Feature #15777: autoload?(cname, inherit=true)
The new patch looks fine to me.
@nobu I'll let you merge it since you did most of the review.
Eregon (Benoit Daloze)
08:29 AM Revision c997f7da (git): * expand tabs.
git[bot]
08:28 AM Revision 5b7cc63d (git): Turned `recur` into `int` [Feature #15777]
nobu (Nobuyoshi Nakada)
08:28 AM Revision fb85a428 (git): Add an optional `inherit` argument to Module#autoload?
[Feature #15777]
Closes: https://github.com/ruby/ruby/pull/2173
byroot (Jean Boussier)
08:11 AM Revision 887163be (git): Fix call-seq of lazy.filter_map [ci skip]
znz (Kazuhiro NISHIYAMA)
07:35 AM Feature #15948 (Open): ENV.update takes multiple hashes as Hash#update
Follow https://bugs.ruby-lang.org/issues/15111
For consistency, I'd like ENV.update takes multiple hashes.
github...
kachick (Kenichi Kamiya)
07:31 AM Revision 0174285e (git): * expand tabs.
git[bot]
07:28 AM Revision 06a622b7 (git): Lazy filter_map
nobu (Nobuyoshi Nakada)
06:29 AM Revision 4149fd60 (git): Fix small typo on block_scanf example [ci-skip]
Closes: https://github.com/ruby/ruby/pull/2247 esparta (Espartaco Palma)

06/20/2019

11:53 PM Bug #14317 (Rejected): Date.strptime(..., "%U") fails if first day of the week is not in the 0th week.
I do not think this is a bug. It is reasonable for `Date.strptime` to assume a value of 0/Sunday for `:cwday`/`%u` i... jeremyevans0 (Jeremy Evans)
11:36 PM Feature #14278: Ambiguous Exception for OpenSSL::HMAC.digest
I do not think the current error message is a bug, and changing the message would be considered a feature. In genera... jeremyevans0 (Jeremy Evans)
11:09 PM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
Eric do you mind explaining where we got to with this and how to move forward? ioquatix (Samuel Williams)
09:50 PM Bug #14358 (Assigned): URI.encode_www_form_component doesn't encode bad chars properly
I agree this is a bug that should be fixed, and the patch is a proper way to fix it. Attached is an updated patch th... jeremyevans0 (Jeremy Evans)
08:27 PM Bug #14429 (Assigned): Overzealous escaping of + in Shellwords
While the current code is not really a bug (Shellwords.escape does not guarantee to only escape when required), I agr... jeremyevans0 (Jeremy Evans)
08:07 PM Bug #14376 (Closed): OpenSSL::X509::Store#verify_callback= requires Qtrue, not just truthy
jeremyevans0 (Jeremy Evans)
08:04 PM Bug #14466 (Assigned): Errno::ECONNRESET or Errno::EPIPE raised instead of HTTPResponse returned when POSTing with large body
I tried this example against an nginx instance, and received normal HTTP error codes (413 or 404 depending on payload... jeremyevans0 (Jeremy Evans)
07:20 PM Feature #15777: autoload?(cname, inherit=true)
> Is it necessary to export rb_autoload_at_p?
> Do you have the plan to use it in extension libraries?
~~No I hav...
byroot (Jean Boussier)
06:49 AM Feature #15777: autoload?(cname, inherit=true)
byroot (Jean Boussier) wrote:
> Let me know if you desire further changes.
Fix the bug first.
In `rb_autoload_at...
nobu (Nobuyoshi Nakada)
05:22 AM Feature #15777: autoload?(cname, inherit=true)
Is it necessary to export `rb_autoload_at_p`?
Do you have the plan to use it in extension libraries?
nobu (Nobuyoshi Nakada)
07:18 PM Feature #15936: on_error in lieu of rescue, raise
duerst (Martin Dürst) wrote:
> kylemacey (Kyle Macey) wrote:
>
> > This is coming from a need that I personally f...
kylemacey (Kyle Macey)
07:17 PM Feature #15936: on_error in lieu of rescue, raise
jeremyevans0 (Jeremy Evans) wrote:
> kylemacey (Kyle Macey) wrote:
> > What would be a thought on using another key...
kylemacey (Kyle Macey)
07:00 PM Bug #14485: For File#path.tainted? and File#to_path.tainted? should match original.tainted?
I agree that `File#path` should not be tainted unless the path given was tainted. Attached is a patch that fixes the... jeremyevans0 (Jeremy Evans)
06:26 PM Bug #14539 (Closed): Duplicate range in character class warning
This spurious warning appears in ruby 2.5.5, but not in ruby 2.6.3. Please upgrade to Ruby 2.6.3. This should be fi... jeremyevans0 (Jeremy Evans)
06:20 PM Revision fde842fe (git): Clean coroutine and timestamp directories
nobu (Nobuyoshi Nakada)
06:14 PM Bug #14569 (Feedback): Ruby dumps core involving XML file
Can you try 2.5.5? It seems likely the problem is fixed there. jeremyevans0 (Jeremy Evans)
06:00 PM Bug #14612 (Assigned): IPv6 address inconsistency (downcase vs. upcase)
I agree that Ruby should consistently use lowercase for IPv6 addresses. However, I don't think we should introduce a... jeremyevans0 (Jeremy Evans)
05:45 PM Bug #14614 (Feedback): Error when running `make update-gems`
The error indicates `executable host ruby is required. use --with-baseruby option.` Does the error happen if you use... jeremyevans0 (Jeremy Evans)
05:35 PM Bug #12289 (Third Party's Issue): Segmentation fault at 0x00000000000020 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
This was a bug in `curb`, apparently fixed by https://github.com/taf2/curb/commit/01b715a59fbd4914713104dbf04c1aece2b... jeremyevans0 (Jeremy Evans)
05:35 PM Bug #14774 (Third Party's Issue): Segmentation fault with Curb gem
This was a bug in `curb`, apparently fixed by https://github.com/taf2/curb/commit/01b715a59fbd4914713104dbf04c1aece2b... jeremyevans0 (Jeremy Evans)
05:30 PM Bug #14795 (Closed): Should 'net/http' require 'net/http/status' ?
jeremyevans0 (Jeremy Evans)
05:28 PM Bug #14822 (Closed): [POP3/SSL] net/protocol.rb:44: warning: verify_hostname requires hostname to be set
Applied in changeset commit:git|4a5e07d8e17a0f62810f983114a88cb1011f971b.
----------
Avoid verbose warning when usin...
jeremyevans (Jeremy Evans)
05:27 PM Bug #14822: [POP3/SSL] net/protocol.rb:44: warning: verify_hostname requires hostname to be set
I can reproduce this issue, and have confirmed your fix removes the warning. It would have been helpful to mention t... jeremyevans0 (Jeremy Evans)
05:28 PM Revision 2ee1c762 (git): * 2019-06-21
git[bot]
05:22 PM Revision 4a5e07d8 (git): Avoid verbose warning when using Net::POP3 with SSL
Patch from Jos Kamphorst.
Fixes [Bug #14822]
jeremyevans (Jeremy Evans)
04:59 PM Bug #14848 (Rejected): Net/HTTP doesn't take verify_callback into account when OpenSSL::SSL::VERIFY_NONE
I believe this is expected behavior and not a bug. From the man page for `SSL_CTX_set_verify` (https://www.openssl.o... jeremyevans0 (Jeremy Evans)
03:35 PM Bug #15152 (Closed): Thread Crashes
jeremyevans0 (Jeremy Evans)
03:34 PM Bug #15159 (Third Party's Issue): Some options of win32screenshot gem not working with Ruby 2.5.1.
The segfault is in a external gem (rautomation) that uses FFI: https://github.com/jarmo/RAutomation/blob/7314a7e6f8bb... jeremyevans0 (Jeremy Evans)
03:27 PM Bug #15191 (Closed): Segfault in bignum.c bigtrunc()
jeremyevans0 (Jeremy Evans)
02:39 PM Feature #15945: Option to truncate in `String#ljust`, `String#rjust`, and `String#center`
I do not have any particular pro/con opinion per se as far as the feature itself
is suggested; if anything then I am...
shevegen (Robert A. Heiler)
12:00 PM Feature #15945 (Open): Option to truncate in `String#ljust`, `String#rjust`, and `String#center`
Sometimes, I need to adjust a string to an exact length: Pad if shorter, and truncate if longer. To do that, I need t... sawa (Tsuyoshi Sawada)
01:27 PM Revision 93356576 (git): Revert "Removed needless file with the upstream repository."
This reverts commit 5bbfca7b1d4be89d4728203b4610de17bccbefd7. hsbt (Hiroshi SHIBATA)
11:51 AM Revision 1f0762ad (git): Suppress messages from mkmf
nobu (Nobuyoshi Nakada)
11:12 AM Revision 9e7a8a43 (git): Only ignore build directories.
Samuel Williams
10:39 AM Bug #15841: SegFault in OpenSSL::PKey::RSA#private_encrypt
I creaated a PR, https://github.com/ruby/openssl/pull/258 , about remaining issues.
> 2. if rsa.set_key had called...
thekuwayama (tomoya kuwayama)
10:36 AM Revision f607e433 (git): Transition root fiber into state FIBER_TERMINATED.
During fork, it's possible that threads with root fibers are terminated,
but fiber state is not updated. `fiber_verif...
Samuel Williams
09:20 AM Revision 3077cb69 (git): Restore $VERBOSE
nobu (Nobuyoshi Nakada)
08:41 AM Revision e31602b7 (git): Suppress warnings
nobu (Nobuyoshi Nakada)
08:40 AM Revision e6fbdde2 (git): Fix a typo [ci skip]
znz (Kazuhiro NISHIYAMA)
07:37 AM Feature #9456 (Closed): Include bin/racc with ruby
I merged bin/racc at https://github.com/ruby/ruby/compare/1a2546c...754df26. hsbt (Hiroshi SHIBATA)
07:11 AM Revision 3aa8691d (git): Added and update the racc entries on doc/*.
hsbt (Hiroshi SHIBATA)
07:11 AM Revision 557bcd87 (git): Added racc entry to NEWS.
hsbt (Hiroshi SHIBATA)
07:11 AM Revision 5bbfca7b (git): Removed needless file with the upstream repository.
hsbt (Hiroshi SHIBATA)
07:11 AM Revision 71ebf6d8 (git): Update sync task for the directory structure of cparse and ignore JRuby files.
hsbt (Hiroshi SHIBATA)
07:11 AM Revision 45e939f5 (git): Added gemspec of racc generated from upstream for the default gems.
1.4.16.pre.1 is the teemporary version. It may be changed 1.5.0 or others. hsbt (Hiroshi SHIBATA)
07:00 AM Revision c4c47b79 (git): Disable auto indent when move cursor up or down
This commit suppresses a strange behavior below:
if true
1[cursor]
end
and press down key
if true
1
end
aycabta (aycabta .)
04:48 AM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
I think this change makes a lot of sense, not only because of the memory savings, but also because of the streamlinin... duerst (Martin Dürst)
04:44 AM Revision e4cafa39 (git): Ensure that vm_stack is cleared in `thread_cleanup_func_before_exec`.
If `vm_stack` is left dangling in a forked process, the gc attempts to scan
it, but it is invalid and will cause a se...
Samuel Williams
04:32 AM Feature #15942 (Third Party's Issue): gem: Warn on known vulnerable packages
What @shevegen says: raise it at https://github.com/rubygems/rubygems, please. duerst (Martin Dürst)
04:25 AM Bug #15944 (Closed): Simultaneous line feeding and scrolling doesn't work well with irb on tmux
See attached capture.
I just entered `1+1` repeatedly.
(`1+1` doesn't matter, whatever can cause the same behavio...
hasumikin (hitoshi hasumi)
03:30 AM Revision c26c5144 (git): Revert failed attempt at fixing invalid usage of vm_stack.
Samuel Williams
02:55 AM Revision 7d9d1ed4 (git): Don't clear cfp, it causes problems.
Samuel Williams
02:16 AM Revision 15c4f6ae (git): Skip `rb_ec_clear_vm_stack` for now.
Samuel Williams
01:41 AM Revision 19931099 (git): * remove trailing spaces.
git[bot]
01:41 AM Revision dbc2b89b (git): Ensure `vm_stack` is cleared after fork.
Samuel Williams
12:07 AM Revision 6bf1285b (git): Fix typo in VM_ASSERT.
Samuel Williams

06/19/2019

11:56 PM Revision 62648372 (git): Set `cfp` to null (along with vm_stack) in `rb_fiber_close`.
Samuel Williams
11:32 PM Revision 25049a6e (git): Extra assertions around thread.
Samuel Williams
11:31 PM Revision 91c4ef01 (git): Don't try to dereference NULL cfp.
Samuel Williams
10:35 PM Misc #15943 (Closed): Add Bug Triaging Guide
I would like to add a bug triaging guide to the repository at `doc/bug_triaging.rdoc`, giving recommendations for tri... jeremyevans0 (Jeremy Evans)
09:46 PM Bug #15938: Error thrown undeterministically: `RegexpError: empty range in char class`
dlee (David Lee) wrote:
> Thank you for the update. We know that Ruby 2.5+ has fixed this issue, but we were hoping ...
jeremyevans0 (Jeremy Evans)
08:46 PM Bug #15938: Error thrown undeterministically: `RegexpError: empty range in char class`
Jeremy,
Thank you for the update. We know that Ruby 2.5+ has fixed this issue, but we were hoping the fix could be...
dlee (David Lee)
12:10 PM Bug #15938 (Rejected): Error thrown undeterministically: `RegexpError: empty range in char class`
`\w` cannot be an edge of range in char-class, as it is not a single char. nobu (Nobuyoshi Nakada)
01:38 AM Bug #15938 (Closed): Error thrown undeterministically: `RegexpError: empty range in char class`
I was able to reproduce your issue. However, Ruby 2.4 is in security maintenance phase. As this does not appear to be... jeremyevans0 (Jeremy Evans)
01:30 AM Bug #15938: Error thrown undeterministically: `RegexpError: empty range in char class`
FYI, these errors are deterministically thrown in ruby versions 2.5+, albeit with a different error message: `unmatch... dlee (David Lee)
01:17 AM Bug #15938 (Rejected): Error thrown undeterministically: `RegexpError: empty range in char class`
When instantiating a Regexp, we only sometimes see `RegexpError: empty range in char class`.
To reproduce:
`100.t...
dlee (David Lee)
09:38 PM Bug #14563: irb in irb raises a FATAL error
I was able to reproduce this issue with the current master branch. I'm not sure why it occurs, though. The thread t... jeremyevans0 (Jeremy Evans)
09:23 PM Feature #15942: gem: Warn on known vulnerable packages
I think this may be better to raise at https://github.com/rubygems/rubygems - while some
ruby core members contribut...
shevegen (Robert A. Heiler)
06:44 PM Feature #15942 (Third Party's Issue): gem: Warn on known vulnerable packages
In comparison to RubyGems, NPM offers builtin warnings when users attempt to install packages with known vulnerabilit... mcandre (Andrew Pennebaker)
07:55 PM Bug #14879: Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
Using Ruby 2.6's new timezone support for Time, I think you can get the behavior you want, so that time calculations ... jeremyevans0 (Jeremy Evans)
07:36 PM Bug #15941: Issue with String#scrub when given block and receiver is modified in block
Patch lgtm, thanks! luke-gru (Luke Gruber)
05:48 PM Bug #15941: Issue with String#scrub when given block and receiver is modified in block
I can confirm this issue, and agree that handling it similarly to `String#gsub` makes sense. Attached is a patch tha... jeremyevans0 (Jeremy Evans)
04:10 PM Bug #15941: Issue with String#scrub when given block and receiver is modified in block
I guess the solution here would be something similar to `String#gsub`, with `str_mod_check`. luke-gru (Luke Gruber)
04:00 PM Bug #15941 (Closed): Issue with String#scrub when given block and receiver is modified in block
This should cause a segmentation fault:
```ruby
s = "abc\u3042\xE3\x80"
loop do
s.scrub{|bytes| s << "more ...
luke-gru (Luke Gruber)
07:31 PM Bug #14894 (Closed): Segfault loading iseqs
jeremyevans0 (Jeremy Evans)
07:21 PM Bug #15432 (Closed): Float の NaN のみを含む配列比較のテスト
Applied in changeset commit:git|a0af60c7f2d852faa6d3263874224dd7950bda43.
----------
Remove spec testing undefined b...
jeremyevans (Jeremy Evans)
07:20 PM Revision a0af60c7 (git): Remove spec testing undefined behavior
Fixes [Bug #15432] jeremyevans (Jeremy Evans)
07:07 PM Bug #15857 (Closed): <=> の右辺が <=> を実装していない場合の振る舞い
Applied in changeset commit:git|b9ef35e4c6325864e013ab6e45df6fe00f759a47.
----------
Implement Complex#<=>
Implemen...
jeremyevans (Jeremy Evans)
07:07 PM Revision 208cc6e3 (git): * 2019-06-20
git[bot]
07:07 PM Revision fdfe51d1 (git): * expand tabs.
git[bot]
07:04 PM Bug #14960 (Closed): Segmentation fault
jeremyevans0 (Jeremy Evans)
06:58 PM Bug #15120 (Third Party's Issue): Segfault when using ActiveRecord
This appears to be an issue in the mysql2 gem. It is similar to https://github.com/brianmario/mysql2/issues/1036#iss... jeremyevans0 (Jeremy Evans)
06:53 PM Bug #15021 (Closed): Segfault when compiling certain code on Ruby 2.5.1
jeremyevans0 (Jeremy Evans)
06:46 PM Bug #14965 (Third Party's Issue): Segmentation fault at 0x0000000000000000
This segfault occurs in a 3rd party C extension: https://github.com/ruby-gnome2/ruby-gnome2/blob/master/glib2/ext/gli... jeremyevans0 (Jeremy Evans)
06:00 PM Bug #15935 (Closed): Memory leak triggered by String#encode, possibly elsewhere too
jeremyevans0 (Jeremy Evans)
05:50 PM Revision b9ef35e4 (git): Implement Complex#<=>
Implement Complex#<=> so that it is usable as an argument when
calling <=> on objects of other classes (since #coerce...
jeremyevans (Jeremy Evans)
05:04 PM Bug #15926: Edge case issue with String#uminus
luke-gru (Luke Gruber) wrote:
> Hi Jeremy, thanks for the patch. I agree with the strategy of just dealing with this...
jeremyevans0 (Jeremy Evans)
01:33 PM Bug #15926: Edge case issue with String#uminus
Hi Jeremy, thanks for the patch. I agree with the strategy of just dealing with this in `str_uminus` directly instead... luke-gru (Luke Gruber)
02:07 AM Bug #15926: Edge case issue with String#uminus
I agree that this is a bug. I'm not sure if `rb_fstring`'s behavior should be changed (hopefully a more knowledgeabl... jeremyevans0 (Jeremy Evans)
03:55 PM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
In order to provide some data, I counted the duplicates in a Redmine heap dump (`ObjectSpace.dump_all`):
Here the ...
byroot (Jean Boussier)
03:00 PM Feature #15940 (Assigned): Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
Patch: https://github.com/ruby/ruby/pull/2242
It's not uncommon for symbols to have literal string counterparts, e...
byroot (Jean Boussier)
02:24 PM Feature #15777: autoload?(cname, inherit=true)
@nobu I edited the patch the way you suggested. Let me know if you desire further changes. byroot (Jean Boussier)
02:10 PM Revision 65944e96 (git): test/racc/test_racc_command.rb: Extend the timeout
test_opal, test_ruby18, and test_ruby22 are slow tests.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-ad7f67/r...
mame (Yusuke Endoh)
02:05 PM Revision 2abe548f (git): Don't change vm_stack/cfp without acquiring gvl first.
Samuel Williams
12:59 PM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
Updated patch attached gareth (Gareth Adams)
12:52 PM Feature #15939 (Assigned): Dump symbols reference to their fstr in ObjectSpace.dump()
Patch: https://github.com/ruby/ruby/pull/2240
Symbols wether they are dynamic or static do hold a reference onto t...
byroot (Jean Boussier)
11:40 AM Revision ab6d8d0b (git): Adjust indent
nobu (Nobuyoshi Nakada)
11:34 AM Feature #15894 (Closed): Remove support for IA64
Okay, it was merged. ioquatix (Samuel Williams)
09:16 AM Feature #15894: Remove support for IA64
Here is PR: https://github.com/ruby/ruby/pull/2241 ioquatix (Samuel Williams)
05:51 AM Feature #15894: Remove support for IA64
Sounds reasonable.
Matz.
matz (Yukihiro Matsumoto)
11:33 AM Revision 659eda7f (git): * expand tabs.
git[bot]
11:30 AM Revision d17344cf (git): Remove IA64 support.
Samuel Williams
09:35 AM Revision 40f8c82b (git): Partly revert directory structure for cparse.
It break the some build environment. hsbt (Hiroshi SHIBATA)
09:19 AM Revision b93508b3 (git): * remove trailing spaces, append newline at EOF.
git[bot]
09:18 AM Revision 754df262 (git): Added binstub for racc executables.
hsbt (Hiroshi SHIBATA)
09:18 AM Revision 2b4024da (git): Temporary disabled to invoke assert_output_unchanged.
Because some environment created the different results from test fixtures. hsbt (Hiroshi SHIBATA)
09:18 AM Revision e892c2f9 (git): Restore ruby/ruby change for extconf.rb.
hsbt (Hiroshi SHIBATA)
09:18 AM Revision d7103218 (git): Workaround for the external file for racc test
hsbt (Hiroshi SHIBATA)
09:17 AM Revision 8a3bd06d (git): use TEMP_DIR.
hsbt (Hiroshi SHIBATA)
09:17 AM Revision 4cca8c4d (git): Use Test::Unit instead of Minitest and fixed test error with ruby repo.
Co-authored-by: Nobuyoshi Nakada <[email protected]> hsbt (Hiroshi SHIBATA)
09:17 AM Revision 2272d6ae (git): Restore test_dir and update prefix for Dir.mktmpdir.
hsbt (Hiroshi SHIBATA)
09:17 AM Revision 9ea1fc27 (git): Try to use Dir.mktmpdir.
hsbt (Hiroshi SHIBATA)
09:17 AM Revision 4e218282 (git): Added sync task for racc
hsbt (Hiroshi SHIBATA)
09:17 AM Revision c110b59a (git): Fixed path for ruby core repository.
hsbt (Hiroshi SHIBATA)
09:17 AM Revision 1a2546c2 (git): Backport racc-1.4.15 from upstream.
hsbt (Hiroshi SHIBATA)
08:39 AM Revision cbe06cd3 (git): * remove trailing spaces, expand tabs.
git[bot]
08:39 AM Revision 3e5b885c (git): Rework debug conditional.
Samuel Williams
08:39 AM Revision cb5da39f (git): Use shared implementation of `rb_ec_initialize_vm_stack`.
Samuel Williams
08:39 AM Revision 71470380 (git): Update `stack_start` and `stack_maxsize` according to stack direction.
Samuel Williams
08:39 AM Revision dee0cfbb (git): Specify that size is non-committed memory.
Samuel Williams
08:39 AM Revision 561c9bcf (git): Make sure `alloca` fast path is used (inline assembler).
Samuel Williams
08:39 AM Revision 7cc7269b (git): Use default stack size for worker thread (no th pointer available).
Samuel Williams
08:39 AM Revision 9cb4e772 (git): Handle (empty) backtrace when thread is not born yet.
Samuel Williams
08:39 AM Revision 5855af73 (git): Basic assertions for thread initialization.
Samuel Williams
08:39 AM Revision 8121a523 (git): Use stack size defaults for win32 threads.
Samuel Williams
08:39 AM Revision b8e4bea7 (git): Track how stack was allocated for `cont_free`.
Samuel Williams
08:39 AM Revision 4b3b781c (git): Ensure execution context is cleared after thread is finished.
Samuel Williams
08:39 AM Revision 38791145 (git): Better handling of root fiber.
Samuel Williams
08:39 AM Revision 7c7a1c22 (git): Fix handling of vm_stack_size and avoid trying to deallocate it.
Samuel Williams
08:39 AM Revision b24603ad (git): Move vm stack init into thread.
Samuel Williams
08:39 AM Revision 69195fd9 (git): Show thread and fiber limits as part of bootstrap tests.
Samuel Williams
08:39 AM Revision 3fd83cb6 (git): Improve benchmarks and tests for threads.
Samuel Williams
08:39 AM Revision a6a4e860 (git): Ignore `/build*`.
Samuel Williams
07:15 AM Feature #15936: on_error in lieu of rescue, raise
kylemacey (Kyle Macey) wrote:
> This is coming from a need that I personally face often on the utilities I work on...
duerst (Martin Dürst)
02:31 AM Feature #15936: on_error in lieu of rescue, raise
kylemacey (Kyle Macey) wrote:
> What would be a thought on using another keyword that doesn't actually _rescue_ an e...
jeremyevans0 (Jeremy Evans)
01:56 AM Feature #15936: on_error in lieu of rescue, raise
shevegen (Robert A. Heiler) wrote:
> Hmmm.
>
> I have not made up my mind so I can not even say whether this may ...
kylemacey (Kyle Macey)
07:04 AM Bug #15160 (Closed): ArgumentError: year too big to marshal
Applied in changeset commit:git|e690df1f1ef4f791295448f9192d6e027400ee72.
----------
Marshal distant past/future
[F...
nobu (Nobuyoshi Nakada)
06:26 AM Revision e690df1f (git): Marshal distant past/future
[Feature #15160] nobu (Nobuyoshi Nakada)
05:39 AM Revision 8797f483 (git): New buffer for shared string
* string.c (rb_str_init): allocate new buffer if the string is
shared. [Bug #15937]
nobu (Nobuyoshi Nakada)
01:45 AM Bug #15937: Segmentation fault when String#initialize given same string with capacity field
I no longer get the segfault if in `rb_str_init`, `return str` is added right after existing check of `(orig == str)`... luke-gru (Luke Gruber)
01:37 AM Bug #15937: Segmentation fault when String#initialize given same string with capacity field
Sorry, I forgot `puts s` in second script. I still get the segfault even in trunk with your patch, but the embedded s... luke-gru (Luke Gruber)
12:57 AM Bug #15937 (Closed): Segmentation fault when String#initialize given same string with capacity field
Applied in changeset commit:git|28678997e40869f5591eae60edd9757334426ffb.
----------
Preserve the string content at ...
nobu (Nobuyoshi Nakada)
12:48 AM Bug #15937: Segmentation fault when String#initialize given same string with capacity field
I can't reproduce the buffer corruption nor the segfault, but found the content was cleared on a short string.
Which...
nobu (Nobuyoshi Nakada)
01:09 AM Revision 148f50fc (git): Update homebrew on Travis
because Travis is crashing like "Error: Your Homebrew is outdated.
Please run `brew update`."
https://travis-ci.org/r...
k0kubun (Takashi Kokubun)
12:44 AM Revision 28678997 (git): Preserve the string content at self-copying
* string.c (rb_str_init): preserve the embedded content when
self-copying with a capacity. [Bug #15937]
nobu (Nobuyoshi Nakada)
12:19 AM Revision d009e321 (git): Use IRB.conf[:AUTO_INDENT] setting in multiline mode
aycabta (aycabta .)

06/18/2019

11:29 PM Revision c9729329 (git): * 2019-06-19
git[bot]
11:28 PM Revision 85ff2d74 (git): Avoid auto indent in prompt when dynamic auto indent
aycabta (aycabta .)
10:23 PM Feature #15936: on_error in lieu of rescue, raise
Hmmm.
I have not made up my mind so I can not even say whether this may be interesting
or not.
But I think jus...
shevegen (Robert A. Heiler)
06:28 PM Feature #15936 (Open): on_error in lieu of rescue, raise
A common bad pattern in ruby is to rescue any exception and accidentally clobber the exception.
```
begin
som...
kylemacey (Kyle Macey)
07:48 PM Bug #15937: Segmentation fault when String#initialize given same string with capacity field
NOTE: I didn't attach a patch or proof of concept fix because I don't know how you want to handle this edge case. The... luke-gru (Luke Gruber)
07:41 PM Bug #15937 (Closed): Segmentation fault when String#initialize given same string with capacity field
Reproduction steps:
string buffer corruption:
```ruby
s = "mystring"
s.__send__(:initialize, s, capacity: 1000)...
luke-gru (Luke Gruber)
03:48 PM Feature #5400: Remove flip-flops in 2.0
rovf (Ronald Fischer) wrote:
> Do NOT remove this useful feature!!! I used it a lot already in Perl, and now using...
CodeGnome (Todd Jacobs)
12:47 PM Feature #5400: Remove flip-flops in 2.0
judofyr (Magnus Holm) wrote:
> Nobody knows them. Nobody uses them. Let's just get rid of flip-flops, shall we?
D...
rovf (Ronald Fischer)
03:41 PM Misc #15930: DevelopersMeeting20190711Japan
* [Feature #5400] Remove flip-flops in 2.0
* Strong objections.
nobu (Nobuyoshi Nakada)
02:08 PM Bug #15807: Range#minmax is slow and never returns for endless ranges
I think it would make sense for `Enumerable#minmax` to just be `[min, max]`, and be overridden on some classes if use... Eregon (Benoit Daloze)
12:58 PM Revision 84903b31 (git): Fix auto indent crash when blank input
aycabta (aycabta .)
12:58 PM Revision 32e65e9e (git): Print starting debug message with RELINE_STDERR_TTY
aycabta (aycabta .)
12:22 PM Revision af800b8c (git): Now test-bundler is not working on macOS either
Let's stop reporting the failure until it gets stable.
We can see the build status on console with this config anyway.
k0kubun (Takashi Kokubun)
12:20 PM Feature #15665: Cannot compile socket extension on Mojave
@nobu Please update, or is there any reason that this should be a feature instead of a bug? franklinyu (Franklin Yu)
12:02 PM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
phluid61 (Matthew Kerwin) wrote:
>
> The entire registry is available as [XML](https://www.iana.org/assignments/me...
gareth (Gareth Adams)
09:24 AM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
gareth (Gareth Adams) wrote:
>
> The [IANA registry](https://www.iana.org/assignments/media-types/media-types.xhtm...
phluid61 (Matthew Kerwin)
08:13 AM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
Thanks Matthew,
I've now paid more attention to which RFCs are obsolete and which are still active.
phluid61 (M...
gareth (Gareth Adams)
11:58 AM Revision 235e72f1 (git): Implement auto indent for multiline
aycabta (aycabta .)
08:42 AM Bug #15929: Array#minmax is much slower than calling both #min and #max
jeremyevans0 (Jeremy Evans) wrote:
> We cannot use this approach. [...]
I see, thanks for the explanation!
janosch-x (Janosch Müller)
08:39 AM Misc #15925: Speed up SortedSet#min, #max, #sum etc.?
jeremyevans0 (Jeremy Evans) wrote:
> Your recommended implementation greatly improves performance.
I fear this b...
janosch-x (Janosch Müller)
08:31 AM Revision e6aa0a61 (git): [DOC] non-nil `$,`,`$;` will be deprecated [ci skip]
```
% ruby -e '$,=""; $;=""'
-e:1: warning: non-nil $, will be deprecated
-e:1: warning: non-nil $; will be deprecate...
znz (Kazuhiro NISHIYAMA)
04:40 AM Revision 8b3774be (git): Fix memory leak
* string.c (str_make_independent_expand): free independent buffer.
[Bug# 15935]
Co-Authored-By: luke-gru (Luke Gru...
nobu (Nobuyoshi Nakada)
03:21 AM Bug #15934 (Closed): String#b can lead to memory corruption
Applied in changeset commit:git|9dec4e8fc3a6018261834b5ac9b9877f787b97ca.
----------
String#b: Don't depend on depen...
alanwu (Alan Wu)
03:21 AM Revision c770c98a (git): * expand tabs.
git[bot]
03:18 AM Revision 9dec4e8f (git): String#b: Don't depend on dependent string
Registering a string that depend on a dependent string as fstring
can lead to use-after-free. See c06ddfe and 3f95620...
alanwu (Alan Wu)

06/17/2019

11:58 PM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
phluid61 (Matthew Kerwin) wrote:
> So it seems if you're making a change, it should be: ignore the protocol, and def...
phluid61 (Matthew Kerwin)
11:44 PM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
A lot of those quoted specs are very, very old, and in some cases obsoleted by newer specs.
HTTP/1.1 Semantics and...
phluid61 (Matthew Kerwin)
08:40 PM Bug #15933 (Assigned): OpenURI: Assign default charset for HTTPS as well as HTTP
I think this change makes sense and the patch is the simplest way to implement it. jeremyevans0 (Jeremy Evans)
07:14 PM Bug #15933 (Closed): OpenURI: Assign default charset for HTTPS as well as HTTP
Using `open-uri` to load a document in the following circumstances:
* The `Content-Type` header is `text/*` and *d...
gareth (Gareth Adams)
11:46 PM Bug #14194 (Feedback): --enable-frozen-string-literal ruby runner.rb cgi
Now that it has been decided that Ruby 3 will not use frozen string literals by default, I think we should not assume... jeremyevans0 (Jeremy Evans)
11:34 PM Bug #14630 (Closed): DON'T IGNORE ME!!! Uncaught exception: SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
jeremyevans0 (Jeremy Evans)
11:33 PM Bug #14657 (Closed): Fix build error with LibreSSL 2.7
jeremyevans0 (Jeremy Evans)
11:31 PM Bug #14810 (Feedback): Segfault during travis build (Ruby trunk 63545)
Can you reproduce this segfault with 2.6.3 or the master branch? jeremyevans0 (Jeremy Evans)
11:25 PM Bug #14875 (Closed): /bin/sh: bad substitution
jeremyevans0 (Jeremy Evans)
11:13 PM Bug #15082 (Feedback): Memory leak in net/http/response and net/http/header
alexis (Alexis Bernard) wrote:
> I kept to investigate the memory leak issue. It seems it comes when OpenSSL::SSL::V...
jeremyevans0 (Jeremy Evans)
10:52 PM Bug #14886: ChangeLog section is obsolete
I agree, we should fix this. The attached patch is my attempt to do so, removing ChangeLog-specific parts and keepin... jeremyevans0 (Jeremy Evans)
10:31 PM Bug #14923 (Closed): Segmentation fault when running tests
jeremyevans0 (Jeremy Evans)
09:29 PM Misc #15925 (Assigned): Speed up SortedSet#min, #max, #sum etc.?
Your recommended implementation greatly improves performance. From the benchmark in the attached patch:
```
Ca...
jeremyevans0 (Jeremy Evans)
09:05 PM Bug #15664 (Closed): File.executable returns incorrect results in Windows 10
Applied in changeset commit:git|c8edf70cd20b9ff72ebd1e9402a556089f6ff204.
----------
Update documentation for File.e...
jeremyevans (Jeremy Evans)
09:05 PM Revision 39a8c714 (git): * 2019-06-18
git[bot]
08:57 PM Revision c8edf70c (git): Update documentation for File.executable{,_real}? to mention Windows issues
Fixes [Bug #15664] jeremyevans (Jeremy Evans)
08:04 PM Bug #15935 (Closed): Memory leak triggered by String#encode, possibly elsewhere too
Hi, I've found a leak that can be reproduced in the following way:
```ruby
loop do
puts "running..."
...
luke-gru (Luke Gruber)
07:50 PM Bug #15934 (Closed): String#b can lead to memory corruption
The following script triggers use-after-free on trunk(801d0d9), 2.4.6, 2.5.5
and 2.6.3.
```ruby
a = ('j' * 24)....
alanwu (Alan Wu)
06:48 PM Bug #15929: Array#minmax is much slower than calling both #min and #max
janosch-x (Janosch Müller) wrote:
> possible solutions:
> - a) change `Enumerable#minmax` and let it `rb_funcall` `...
jeremyevans0 (Jeremy Evans)
05:37 PM Feature #15797: Use realpath(3) instead of custom realpath implementation if available
After discussion with some OpenBSD developers, the non-POSIX behavior of realpath(3) in OpenBSD will be removed in th... jeremyevans0 (Jeremy Evans)
04:49 PM Bug #9606 (Closed): Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
jeremyevans0 (Jeremy Evans)
03:17 PM Bug #11174: threads memory leak
The problem remains on a manually built glibc 2.28 with ruby 2.7.0dev (2019-06-17T14:25:47Z trunk 801d0d9dd7) [x86_64... cvss (Kirill Vechera)
02:25 PM Revision 801d0d9d (git): Support Bison 3 in ripper
nobu (Nobuyoshi Nakada)
01:30 PM Revision c8e9e0b7 (git): Fix wrong "void value expression" error
* parse.y (value_expr_check): `then` or `else` only `if` is not a
void value expression, as the counterpart is eval...
nobu (Nobuyoshi Nakada)
12:56 PM Feature #15921: R-assign (rightward-assignment) operator
ioquatix (Samuel Williams) wrote:
> If it's not clear, previous statement is evaluated like:
>
> ```ruby
> (User...
nobu (Nobuyoshi Nakada)
12:47 PM Bug #15932 (Closed): wrong "void value expression" error for 'next' or 'break' statements inside an 'if' assignment
Applied in changeset commit:git|01b3a3804334be19d013526d3edde2b84399ae43.
----------
Fix wrong "void value expressio...
nobu (Nobuyoshi Nakada)
09:27 AM Bug #15932 (Closed): wrong "void value expression" error for 'next' or 'break' statements inside an 'if' assignment
When a 'next' or 'break' statement for block/loop control is placed inside an 'if' assignment, the parser outputs an ... cvss (Kirill Vechera)
12:44 PM Revision 01b3a380 (git): Fix wrong "void value expression" error
* parse.y (value_expr_check): if either of `then` or `else`
statements is not a void value expression, the whole `i...
nobu (Nobuyoshi Nakada)
10:56 AM Revision 09a84608 (git): * 2019-06-17
git[bot]
10:44 AM Feature #15897: `it` as a default block parameter
Don't think that this proposal can be applied to any words. A common name is much more dangerous than a pronoun like... mame (Yusuke Endoh)
09:03 AM Feature #15897: `it` as a default block parameter
sawa (Tsuyoshi Sawada) wrote:
> I propose to use a new keyword `item`.
I think that is a great proposal.
`it` ...
janosch-x (Janosch Müller)
08:38 AM Feature #15897: `it` as a default block parameter
I propose to use a new keyword `item`.
* I feel that using a keyword spelt in letters is the right way here since ...
sawa (Tsuyoshi Sawada)
08:01 AM Feature #15897: `it` as a default block parameter
Eregon (Benoit Daloze) wrote:
> shugo (Shugo Maeda) wrote:
> > > I think we should never purposefully introduce som...
shugo (Shugo Maeda)
09:40 AM Misc #15930: DevelopersMeeting20190711Japan
* [Feature #15903] Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
* matz: Could you decide betwee...
Eregon (Benoit Daloze)
03:20 AM Misc #15930: DevelopersMeeting20190711Japan
Carry-over tickets.
* [Feature #14912] Introduce pattern matching syntax ([pitr.ch](https://twitter.com/pitr_ch))
...
mame (Yusuke Endoh)
03:20 AM Misc #15930 (Closed): DevelopersMeeting20190711Japan
Please comment on your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(you...
mame (Yusuke Endoh)
07:20 AM Feature #15931 (Assigned): encoding for CESU-8
RubyとJavaのブリッジを開発していて、文字列の変換処理で困っています。
現象)
JavaのUTF-8は非標準的な形式 (https://docs.oracle.com/javase/8/docs/technotes/guid...
arton (Akio Tajima)
07:13 AM Feature #15927: Allow string keys to be used for String#% and sprintf methods
In my own custom, hand-written yaml files I tend to use e. g:
!ruby/symbol foo: bar
for symbols as keys. Th...
shevegen (Robert A. Heiler)
04:16 AM Feature #15588: String#each_chunk and #chunks
Is size in characters or bytes? ioquatix (Samuel Williams)
04:13 AM Feature #15588: String#each_chunk and #chunks
I wonder if we should have consistency with `slice` and `each_slice` from `Array`. But honestly, I don't care, just i... ioquatix (Samuel Williams)
04:11 AM Feature #15588: String#each_chunk and #chunks
Here is a usecase
https://github.com/socketry/protocol-http2/blob/12875a97e0f82315682191e3bbbaba8b59cb3432/lib/pro...
ioquatix (Samuel Williams)
03:15 AM Misc #15874 (Closed): DevelopersMeeting20190613Japan
mame (Yusuke Endoh)

06/16/2019

08:11 PM Bug #15929 (Closed): Array#minmax is much slower than calling both #min and #max
this is similar to [issue 15807 about Ranges](https://bugs.ruby-lang.org/issues/15807) and maybe also to [13917](http... janosch-x (Janosch Müller)
06:09 PM Revision a064e467 (git): Support Bison 3
nobu (Nobuyoshi Nakada)
03:29 PM Feature #15799: pipeline operator
Seeing `|>` my assumption would be that you could use it in the functional style, so you could do:
``` ruby
42 |>...
shan (Shannon Skipper)
08:11 AM Feature #15799: pipeline operator
The operator doesn't bother me, though I can't think of any time I'd use it.
Several suggested alternatives seem t...
josh.cheek (Josh Cheek)
12:49 AM Feature #15799: pipeline operator
At first, I wasn't so sure about how to use such an operator, and honestly, the ASCII symbol `|>` is a bit jarring, b... ioquatix (Samuel Williams)
12:17 AM Feature #15799: pipeline operator
I investigated history of pipeline operator. It is very long, so I wrote [an article in my blog](https://mamememo.bl... mame (Yusuke Endoh)
02:52 PM Bug #15916 (Closed): Memory leak in Regexp literal interpolation
Applied in changeset commit:git|53e9908d8afc7f03109b0aafd1698ab35f512b05.
----------
Fix memory leak
* string.c (st...
nobu (Nobuyoshi Nakada)
12:15 AM Bug #15916: Memory leak in Regexp literal interpolation
I managed to track down the leak, and it's related to rb_fstring().
reg_set_source() calls rb_fstring() with the ...
luke-gru (Luke Gruber)
02:51 PM Revision 53e9908d (git): Fix memory leak
* string.c (str_replace_shared_without_enc): free previous buffer
before replaced.
* parse.y (gettable): make sure...
nobu (Nobuyoshi Nakada)
02:37 PM Bug #15928: Constant declaration does not conform to JIS 3017:2013
IMO, for `expr::C = lhs`, it should first evaluate `expr` and then do `lhs` because `expr` is left to `lhs`. But I'm... mame (Yusuke Endoh)
02:30 PM Bug #15928: Constant declaration does not conform to JIS 3017:2013
There are specs that cover this, so at least it is how Ruby implementors understand that it is intended to be, and it... chrisseaton (Chris Seaton)
02:28 PM Bug #15928: Constant declaration does not conform to JIS 3017:2013
s/lhs/rhs/ yugui (Yuki Sonoda)
02:25 PM Bug #15928 (Closed): Constant declaration does not conform to JIS 3017:2013
The order of evaluation in constant declaration does not conform to JIS 3017:2013 11.4.2.2.3.
# Problem
Suppose...
yugui (Yuki Sonoda)
02:01 PM Revision d4929f51 (git): * expand tabs.
git[bot]
02:00 PM Revision 1ff26dc4 (git): Revert "Make constant assignments more conforming to JIS X 3017:2013 11.4.2.2.3"
This reverts commit 44caca11cfa6bea01a1ef738846183f1a56d5658.
The change caused a build failure.
http://ci.rvm.jp/re...
mame (Yusuke Endoh)
01:48 PM Revision 11f8c891 (git): * expand tabs.
git[bot]
01:48 PM Bug #15924: Ripper::Lexer RuntimeError - Ripper FATAL - master/trunk
@nobu
Thanks. Actually, YARD doesn't use the Lexer, but I switched to using it a long time ago, and all the repos...
MSP-Greg (Greg L)
10:18 AM Bug #15924: Ripper::Lexer RuntimeError - Ripper FATAL - master/trunk
It is an example of syntax error, cannot be fallen back?
YARD itself just warns it but succeeds.
```
$ echo $'...
nobu (Nobuyoshi Nakada)
01:43 PM Revision 44caca11 (git): Make constant assignments more conforming to JIS X 3017:2013 11.4.2.2.3
compile.c (NODE_CDECL): Evaluate the module before the value
test/ruby/test_const.rb (test_evaluation_order): added a...
yugui (Yuki Sonoda)
01:27 PM Feature #15927: Allow string keys to be used for String#% and sprintf methods
Whether it's YAML or another data format like JSON, I've found it useful on occasion to treat `sprintf()` like a mini... luke-gru (Luke Gruber)
11:41 AM Feature #15927: Allow string keys to be used for String#% and sprintf methods
ashmaroli (Ashwin Maroli) wrote:
> One use-case would be where the Data used by `sprintf` is generated at runtime:
...
sawa (Tsuyoshi Sawada)
06:46 AM Feature #15927: Allow string keys to be used for String#% and sprintf methods
> Can you give us some actual use case(s) where such rewriting would not be possible, or very tedious?
One use-cas...
ashmaroli (Ashwin Maroli)
03:04 AM Feature #15927: Allow string keys to be used for String#% and sprintf methods
I agree with @sawa that there's a difference between gsub (where strings are replaced by strings) and sprintf, where ... duerst (Martin Dürst)
01:26 PM Bug #15807: Range#minmax is slow and never returns for endless ranges
Thinking about this a bit more generally, I'm wondering whether `Enumerable#minmax` should actually use `rb_funcall` ... janosch-x (Janosch Müller)
01:11 PM Feature #15923: New independent string without memcpy
Thank you Nobu, I thought that might be the case but was unaware as I'm not familiar with the GC subsystem. Also I th... luke-gru (Luke Gruber)
06:32 AM Feature #15923: New independent string without memcpy
`ruby_xfree` != `free`.
Using the former on malloc'ed buffer can cause a crash.
nobu (Nobuyoshi Nakada)
10:45 AM Feature #15920: Check frozen state of ENV
jeremyevans0 (Jeremy Evans) wrote:
> Eregon (Benoit Daloze) wrote:
> > One potential concern here is that even if `...
Eregon (Benoit Daloze)
10:35 AM Feature #15920: Check frozen state of ENV
jeremyevans0 (Jeremy Evans) wrote:
> * Disallow modifying `ENV` after `ENV.freeze` (my original patch).
I don't o...
nobu (Nobuyoshi Nakada)
05:46 AM Revision 2fb1564c (git): Implement line_no correctly
aycabta (aycabta .)
03:21 AM Bug #15801: [BACKPORT] ChangeLogs of 2.5 and 2.6 begin before the 2.4 release
ruby_2_6 r67711 merged revision(s) af1e487e9bb763b939dc6704c9a343c9eafa1637,6f8ac2cb28f99a4b2588c59ec44eff6ed38c4d3b. nagachika (Tomoyuki Chikanaga)
03:20 AM Revision accd7f69 (git): merge revision(s) af1e487e9bb763b939dc6704c9a343c9eafa1637,6f8ac2cb28f99a4b2588c59ec44eff6ed38c4d3b: [Backport #15801]
Updated marked commits for ChangeLog
Include the beginning commit in ChangeLog
git-svn-id: svn+ssh://ci.r...
nagachika (Tomoyuki Chikanaga)
02:59 AM Revision 17e6536f (git): tool/redmine-backporter.rb: Change redmine git revisions URL path.
nagachika (Tomoyuki Chikanaga)
02:46 AM Revision 72cc5cf0 (git): * 2019-06-16
git[bot]
02:39 AM Revision ee7999bb (git): tool/redmine-backporter.rb: Add parens to fix condition for svn revision search.
nagachika (Tomoyuki Chikanaga)
12:55 AM Feature #15921: R-assign (rightward-assignment) operator
If it's not clear, previous statement is evaluated like:
```ruby
(Users.where(active: true) => active_users).wher...
ioquatix (Samuel Williams)
12:55 AM Feature #15921: R-assign (rightward-assignment) operator
There are two areas where I think this is a great addition:
```ruby
x = if foo
bar
else
baz
end
if foo
...
ioquatix (Samuel Williams)

06/15/2019

06:08 PM Feature #15927: Allow string keys to be used for String#% and sprintf methods
> My argument for this feature is that String#gsub() and family works with string keys if given a Hash
That is be...
sawa (Tsuyoshi Sawada)
02:28 PM Feature #15927 (Closed): Allow string keys to be used for String#% and sprintf methods
Right now, in the methods sprintf() and String#%, only symbol keys can be used for named interpolation. For example (... luke-gru (Luke Gruber)
05:31 PM Feature #15920: Check frozen state of ENV
Eregon (Benoit Daloze) wrote:
> One potential concern here is that even if `ENV` is frozen, C extensions, or native ...
jeremyevans0 (Jeremy Evans)
05:01 PM Feature #15920: Check frozen state of ENV
One potential concern here is that even if `ENV` is frozen, C extensions, or native libraries linked by C extensions,... Eregon (Benoit Daloze)
12:07 AM Feature #15920: Check frozen state of ENV
nobu (Nobuyoshi Nakada) wrote:
> I don't think this behavior a bug.
> `ENV` is an interface to the system environme...
jeremyevans0 (Jeremy Evans)
03:58 PM Bug #15924: Ripper::Lexer RuntimeError - Ripper FATAL - master/trunk
Found the issue, below is a repo, which in MinGW master, generates RuntimeError...
```ruby
require 'ripper'
te...
MSP-Greg (Greg L)
04:54 AM Bug #15924 (Closed): Ripper::Lexer RuntimeError - Ripper FATAL - master/trunk
YARD based docs systems use Ripper for highlighting both source code and 'code snippets' in comments and rdoc/md file... MSP-Greg (Greg L)
01:42 PM Feature #15923: New independent string without memcpy
I think what puchuu is asking is if he can pass a malloc'd string to a ruby function that will create a new string ob... luke-gru (Luke Gruber)
01:19 PM Bug #15926 (Closed): Edge case issue with String#uminus
I was working on issue related to code in `rb_fstring`(https://github.com/ruby/ruby/pull/2233) and saw some weird beh... luke-gru (Luke Gruber)
11:10 AM Misc #15925 (Closed): Speed up SortedSet#min, #max, #sum etc.?
this issue is somewhat similar to https://bugs.ruby-lang.org/issues/15807
current situation, using the example of ...
janosch-x (Janosch Müller)
10:38 AM Feature #15897: `it` as a default block parameter
Kotlin has implemented `it` like this ([docs](https://kotlinlang.org/docs/reference/lambdas.html#it-implicit-name-of-... janosch-x (Janosch Müller)
09:50 AM Bug #15807: Range#minmax is slow and never returns for endless ranges
jeremyevans0 (Jeremy Evans) wrote:
> I think this is a bug we should fix, even if it breaks code relying on this bug...
janosch-x (Janosch Müller)
03:04 AM Revision 5d790549 (git): Revert github/pull/2230, commit miss
nobu (Nobuyoshi Nakada)
02:58 AM Revision 6fa4c904 (git): Prefer `enum yytokentype` to int
nobu (Nobuyoshi Nakada)
02:25 AM Revision 46527e1b (git): Test for blank lines between leadinig dot method chains
josh.cheek (Josh Cheek)
02:25 AM Revision b8730f12 (git): Multiline method chain with leading dot works for blank lines
josh.cheek (Josh Cheek)
02:25 AM Revision 2240de98 (git): Remove blank line I accidentally added
josh.cheek (Josh Cheek)
02:25 AM Revision 162bfa1c (git): Test comments between multiline method chain
josh.cheek (Josh Cheek)
02:25 AM Revision cc180e93 (git): Rename LINEND to EMPTYLN
josh.cheek (Josh Cheek)
02:25 AM Revision 5af5dd46 (git): Omg, it works!
I'll rename it and squash this commit later,
just wanted to make sure I couldn't lose it
(took a long time to come up...
josh.cheek (Josh Cheek)
02:09 AM Revision e6aefe2a (git): * 2019-06-15
git[bot]
02:06 AM Revision 5dd8fdd3 (git): test/net/imap/test_imap.rb: wait for the server thread to start
In some slow CI environments, the invocation of a thread seems very
slow. This causes a test failure to attempt to c...
mame (Yusuke Endoh)
01:53 AM Bug #15763: Segmentation fault in timeout.rb / sleep
A valid workaround until this is fixed in MacOS - if you can get away without ipv6 - is to have your web server like ... alexagranov (Alex Agranov)
01:00 AM Feature #15919: Offset parameter for `Integer#times`
I agree with all the commenters that using keyword arguments is crucial (and I prefer `start_at:` (or maybe just `sta... duerst (Martin Dürst)
12:56 AM Bug #15199: scanf.rb broken with io from IO.pipe (MinGW or Windows?)
I've tested on Windows and confirmed this is a bug.
I added a pull request upstream to fix this: https://github.co...
jeremyevans0 (Jeremy Evans)
12:18 AM Bug #15200 (Closed): RubyVM::InstructionSequence can not compile to binary from method call with hash in 'if false' expression
jeremyevans0 (Jeremy Evans)
12:18 AM Bug #15221 (Closed): Segfault in Ruby VM
jeremyevans0 (Jeremy Evans)
12:15 AM Bug #15246 (Closed): Invalid read (SEGV on indeterminate address) in id_table.c
jeremyevans0 (Jeremy Evans)
12:11 AM Bug #15308 (Closed): SegFault in GC under Ruby 2.5.3 on OS X
jeremyevans0 (Jeremy Evans)
 

Also available in: Atom