Project

General

Profile

Activity

From 08/22/2019 to 08/28/2019

08/28/2019

11:46 PM Bug #15613: Enumerator::Chain#each doesn't relay block signature
Attached is a patch that fixes this issue by switching from `rb_block_call` to `rb_funcall_with_block`. jeremyevans0 (Jeremy Evans)
06:55 PM Bug #15583 (Closed): Regex: ? on quantified group {n} is interpreted as optional, should be lazy
Applied in changeset commit:git|cd0e208963bdf9ee2fec30e83bdc8f6bc77a7b8d.
----------
Document {n}? regexp pattern is optional and not non-greedy [ci skip]
While not consistent with {n,}?, {,m}?, and {n,m}?, it is arguably
more useful, ...
jeremyevans (Jeremy Evans)
06:50 PM Revision cd0e2089 (git): Document {n}? regexp pattern is optional and not non-greedy [ci skip]
While not consistent with {n,}?, {,m}?, and {n,m}?, it is arguably
more useful, as otherwise the ? would have no effect.
Fixes [Bug #15583]
jeremyevans (Jeremy Evans)
06:32 PM Bug #15509 (Closed): TCPServer#accept isn't interrupted
This problem appears fixed in 2.6.4 and 2.7.0-preview1 in my environment (OpenBSD-amd64). It still occurs in 2.5.6. If it still occurs for you in 2.6.4, please reopen. jeremyevans0 (Jeremy Evans)
01:27 PM Misc #15996: DevelopersMeeting20190829Japan
@zverok Thank you! mame (Yusuke Endoh)
11:44 AM Misc #15996: DevelopersMeeting20190829Japan
@mame OK, sorry. I was not sure how the process looks internally (e.g. should I save the space and attention of the reader in agenda by just listing things shortly, or provide the full context in-place). Here are updated descriptions, ju... zverok (Victor Shepelev)
08:17 AM Misc #15996: DevelopersMeeting20190829Japan
zverok (Victor Shepelev) wrote:
> * [Feature #14781] `Enumerator.generate`. Patch provided; Matz seem to have liked the idea and name proposed, can we have it in 2.7?
> ...
The two tickets were discussed at the past meetings. Next tim...
mame (Yusuke Endoh)
03:07 AM Misc #15996: DevelopersMeeting20190829Japan
Looks like we have too many topics at the next meeting. Please do not expect all tickets to be discussed. Thank you for your understanding. mame (Yusuke Endoh)
10:58 AM Bug #15900: Resolv::DNS#each_name doesn't accept Resolv::IPv{4,6} against documents
Could you please backport to 2.5 and 2.6? Tietew (Toru Iwase)
10:47 AM Revision e82719c6 (git): Remove jquery.js from file list of rdoc.gemspec
aycabta (aycabta .)
07:51 AM Revision c1d0b6ad (git): Revert "Treat RUBY_REVISION as an integer on old rubies"
This reverts commit 6454808c52fff445ff09fefb0fb96988f82aaa3c.
It is no longer needed, as `VCS::SVN#get_revisions` now returns
`Integer` as revision numbers, and `short_revision` should deal
with it.
nobu (Nobuyoshi Nakada)
07:51 AM Revision b11d7394 (git): Fix warnings
`_FILE_OFFSET_BITS` should be defined before system headers. nobu (Nobuyoshi Nakada)
07:36 AM Revision 0b9c6f69 (git): merge revision(s) f308ab2131ee675000926540cbb8c13c91dc3be5,989e8ad322afdfa3aa06e74b89fc42aef42895d0:
Remove jquery.js
Remove debug print [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
07:08 AM Revision a506b7f3 (git): Adjusted indents and supplied last commas
Fixed unmatched indent of the closing bracket for
`:irb_current_working_workspace`, and adjusted following elements.
nobu (Nobuyoshi Nakada)
06:57 AM Revision 2b55df73 (git): `revision` might be an Integer
U.Nakamura
06:45 AM Revision aca4e654 (git): merge revision(s): f308ab2131ee675000926540cbb8c13c91dc3be5
Remove jquery.js
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@67794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:43 AM Revision 32aca3dd (git): merger revision(s): f308ab2131ee675000926540cbb8c13c91dc3be5
Remove jquery.js
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:50 AM Revision ed8d2e1c (git): tool/merger.rb: fix tag existence check with subversion.
nagachika (Tomoyuki Chikanaga)
05:42 AM Feature #5400: Remove flip-flops in 2.0
I backported 4e038a7e into ruby_2_6 at r67792. nagachika (Tomoyuki Chikanaga)
05:41 AM Revision aae25ddb (git): merge revision(s) 4e038a7e64a9d52eed59b8f05647d4e58d265ec3: [Backport #5400]
Revert "parse.y: Deprecate flip-flops"
This reverts commit bae638ad5b782c44c80efe33834cb9039279af46.
[Feature #5400]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:00 AM Revision 47403b71 (git): merge revision(s) 989e8ad322afdfa3aa06e74b89fc42aef42895d0:
Remove debug print [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@67791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:57 AM Revision 73eb2984 (git): merge revision(s) 989e8ad322afdfa3aa06e74b89fc42aef42895d0:
Remove debug print [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:32 AM Revision c9dc569a (git): Ensure the last and changed revisions as Integers
nobu (Nobuyoshi Nakada)
03:30 AM Bug #15397 (Rejected): Ruby process doesn't release memory back to os on CentOS
This isn't a bug. It is not in Ruby's control to release memory to the operating system. Ruby just calls `free` on the underlying memory pointer. If the libc `free` function does not end up releasing the memory to the operating system... jeremyevans0 (Jeremy Evans)
03:08 AM Feature #15631 (Closed): Let round_capa for ID table not allocate excess capacity for power of 2 ints >= 4
Applied in changeset commit:git|8e13da1ee83028000e5d7f9f9526379e32765a81.
----------
optimize get_power2 [Feature #15631]
Merged: https://github.com/ruby/ruby/pull/2292
Anonymous
02:29 AM Revision 8e13da1e (git): optimize get_power2 [Feature #15631]
Merged: https://github.com/ruby/ruby/pull/2292 pavel
02:20 AM Bug #15392 (Closed): Crash in RubyVM::InstructionSequence#to_binary
jeremyevans0 (Jeremy Evans)
02:19 AM Bug #15375 (Closed): Crash report for Ruby 2.5.3p105
jeremyevans0 (Jeremy Evans)
02:12 AM Feature #15357: Proc#parameters returns incomplete type information
I don't think the current behavior is a bug, as the parameters for a non-lambda proc are optional. Also, changing the behavior could be backwards incompatible.
I propose instead a `lambda` keyword to `Proc#parameters`, which would re...
jeremyevans0 (Jeremy Evans)
01:34 AM Revision 989e8ad3 (git): Remove debug print [ci skip]
znz (Kazuhiro NISHIYAMA)
01:16 AM Bug #15273 (Feedback): Ruby crashing after updating Mac OS to Mojave (10.14)
jeremyevans0 (Jeremy Evans)
01:14 AM Bug #15273: Ruby crashing after updating Mac OS to Mojave (10.14)
Does this issue still occur with 2.5.5 or 2.6.3? jeremyevans0 (Jeremy Evans)
01:15 AM Bug #15355 (Feedback): Random segmentation faults in development environment
Does this issue still occur with 2.5.5 or 2.6.3? jeremyevans0 (Jeremy Evans)
01:12 AM Bug #15255 (Rejected): Change in protected handling 2.3 -> 2.4,2.5
Testing Ruby versions from 1.9 to 2.7, only Ruby 2.3 does not raise a `NoMethodError` for the example code. I think that can be considered a bug in Ruby 2.3. As Ruby 2.3 is no longer supported, the bug will not be fixed. jeremyevans0 (Jeremy Evans)
01:07 AM Revision 624a0ad4 (git): Use `set-env` instead of `grep` in each step
znz (Kazuhiro NISHIYAMA)
01:05 AM Bug #15241 (Rejected): net/pop fix to use mutable strings was too eager
I don't think that this should be considered a bug. Going from immutable to mutable should not break things, while going from mutable to immutable can. It is true that the using `String#+` can decrease performance slightly, but that sh... jeremyevans0 (Jeremy Evans)
12:45 AM Revision 108dbb38 (git): Use JOBS again like macos.yml
znz (Kazuhiro NISHIYAMA)
12:41 AM Revision 330c2f75 (git): Change name to `Tests (test-bundled-gems)`
znz (Kazuhiro NISHIYAMA)
12:38 AM Revision 230f4054 (git): Add name to autoconf
znz (Kazuhiro NISHIYAMA)
12:20 AM Revision 17c0ce37 (git): Remove GITHUB_SHA from jobs.<job_id>.steps.env
because default value overrides it.
https://help.github.com/en/articles/virtual-environments-for-github-actions#environment-variables
znz (Kazuhiro NISHIYAMA)
12:15 AM Revision 76799232 (git): Allow missing projectnumber [ci skip]
znz (Kazuhiro NISHIYAMA)
12:13 AM Revision d4de5e64 (git): Show projectnumber in current index.html and GITHUB_SHA
znz (Kazuhiro NISHIYAMA)

08/27/2019

08:12 PM Feature #15240: Set operations check for is_a?(Set), rather than allowing duck typing
I do not think the current behavior is a bug. However, supporting implicit conversion seems like a useful feature to add. I've implemented ivoanjo's proposal of `to_st` as an implicit conversion method in the attached patch. jeremyevans0 (Jeremy Evans)
07:26 PM Feature #5400: Remove flip-flops in 2.0
Fyi this currently causes `ri` tab completion to display a warning (https://github.com/scop/bash-completion/issues/343)
```
$ ri mktmpd-e:1: warning: flip-flop is deprecated
Nothing known about RSS::Maker::RSS09::Channel
Did you me...
graywolf (Gray Wolf)
07:23 PM Feature #15226 (Rejected): Resolv::DNS unable to handle responses larger than default size
RFC 1035 Section 2.3.4 specifies that UDP messages are limited to 512 octets or less. RFC 6891 confirms this number unless you are using EDNS(0) extensions. It does not appear that `Resolv::DNS` supports EDNS(0), therefore the limit of... jeremyevans0 (Jeremy Evans)
07:02 PM Bug #15188: Incorrect warning "assigned but unused variable" when using ripper with $VERBOSE = true
Ripper doesn't track usage of local variables as far as I can see. In `parse.y`, `LVAR_USED` is used to mark local variables as being used. In normal compilation mode, this is set by `mark_lvar_used`, called by `value_expr_check`, call... jeremyevans0 (Jeremy Evans)
06:43 PM Revision 932a471d (git): Directly mark compile options from the AST object
`rb_ast_t` holds a reference to this object, so it should mark the
object. Currently it is relying on the `mark_ary` on `node_buffer` to
ensure that the object stays alive. But since the array internals can
move, this could cause a seg...
tenderlovemaking (Aaron Patterson)
06:40 PM Bug #2718: DRb mixing up function return values between PIDs after fork()
This issue still occurs in the master branch. Attached is a patch that fixes it by detecting changes in pid. jeremyevans0 (Jeremy Evans)
06:20 PM Bug #2339: DRb leaves connections half-open
This issue still occurs in the master branch. The originally submitted patch needs a small change to apply. An updated patch is attached. jeremyevans0 (Jeremy Evans)
05:36 PM Feature #16120: Omitted block argument if block starts with dot-method call
Hanmac (Hans Mackowiak) wrote:
> @Dan0042 in your list about implicit and explicit you forgot `{ foo }` depending on the method who gets the block, it might does an instance_eval thing where the block self is the block variable
There...
Dan0042 (Daniel DeLorme)
03:13 PM Feature #16120: Omitted block argument if block starts with dot-method call
@Dan0042 in your list about implicit and explicit you forgot `{ foo }` depending on the method who gets the block, it might does an instance_eval thing where the block self is the block variable
i know that would need to change of the...
Hanmac (Hans Mackowiak)
02:43 PM Feature #16120: Omitted block argument if block starts with dot-method call
@nobu, wow, thank you so much. I never imagined it would be THAT simple to implement.
`O_O @_@ m(_ _)m`
But I do think it would be better with `(parser_numbered_param(p, 0))` in the commit [here](https://github.com/ruby/ruby/commit...
Dan0042 (Daniel DeLorme)
02:16 AM Feature #16120: Omitted block argument if block starts with dot-method call
Dan0042 (Daniel DeLorme) wrote:
> @mame, The motivation of *this* proposal is related to the **side-by-side** proximity/repetition of `x` in `{|x|x.foo}`. Other proposals may be different. I can only guess at their true motivations. It ...
jeremyevans0 (Jeremy Evans)
01:39 AM Feature #16120: Omitted block argument if block starts with dot-method call
@mame, The motivation of *this* proposal is related to the **side-by-side** proximity/repetition of `x` in `{|x|x.foo}`. Other proposals may be different. I can only guess at their true motivations. It just *seems* to me that the people ... Dan0042 (Daniel DeLorme)
12:18 AM Feature #16120: Omitted block argument if block starts with dot-method call
https://github.com/nobu/ruby/tree/feature/implicit-block-param nobu (Nobuyoshi Nakada)
05:16 PM Revision cbcad667 (git): Fix doxygen action
- Fix checkout error: `fatal: destination path '.' already exists and is not an empty directory.`
- Remove `GITHUB_SHA` in env, because set automatically
https://help.github.com/en/articles/virtual-environments-for-github-actions#envir...
znz (Kazuhiro NISHIYAMA)
04:48 PM Revision 71e5871c (git): Run on schedule only and skip if not modified
znz (Kazuhiro NISHIYAMA)
04:26 PM Bug #7655 (Rejected): range interval test does not consider string length
jeremyevans0 (Jeremy Evans)
04:25 PM Bug #5051 (Closed): r26838 should be backported to 1.8.6
jeremyevans0 (Jeremy Evans)
04:25 PM Bug #3882 (Closed): REGRESSION: File.extname() broken (at least >= 1.8.7)
jeremyevans0 (Jeremy Evans)
04:25 PM Bug #3713 (Closed): Ruby 1.8.6 fails to build against Tk >= 8.5
jeremyevans0 (Jeremy Evans)
04:25 PM Bug #3302 (Closed): segfault in 1.8.6 p398 in Ruby::DL
jeremyevans0 (Jeremy Evans)
04:24 PM Bug #3118 (Closed): backport r25230 and r25995 to fix segfault
jeremyevans0 (Jeremy Evans)
04:24 PM Bug #3382 (Closed): cannot cross-compile socket.so for winsock2 (mingw32)
jeremyevans0 (Jeremy Evans)
04:23 PM Bug #2789 (Closed): segfault in DL callbacks with mingw32
jeremyevans0 (Jeremy Evans)
04:23 PM Bug #2589 (Closed): mkmf.rb bug on "make distclean" if build fails
jeremyevans0 (Jeremy Evans)
04:22 PM Bug #2578 (Closed): Requiring a relative path with an empty $LOAD_PATH raises LoadError on 1.8
jeremyevans0 (Jeremy Evans)
04:22 PM Bug #2459 (Closed): Cannot statically link ext/digest/sha2
jeremyevans0 (Jeremy Evans)
04:21 PM Feature #2456 (Closed): It is better to let user to select particular ssl protocol easily.
jeremyevans0 (Jeremy Evans)
04:20 PM Bug #2434 (Rejected): Ruby gem update --system /gem install [any_gem_name] ERROR
jeremyevans0 (Jeremy Evans)
04:20 PM Bug #2433 (Rejected): Ruby gem update --system /gem install [any_gem_name] ERROR
jeremyevans0 (Jeremy Evans)
04:19 PM Bug #2423 (Rejected): REXML edge case with <a>A &gt; B</a>
jeremyevans0 (Jeremy Evans)
04:18 PM Bug #1978 (Closed): fixed crash in lib/logger.rb from dependency on svn keywork expansion
jeremyevans0 (Jeremy Evans)
04:17 PM Bug #1960 (Closed): errors in configure on AIX
jeremyevans0 (Jeremy Evans)
04:17 PM Bug #1883 (Closed): REXML hash sometimes computes a value that is too large
jeremyevans0 (Jeremy Evans)
04:16 PM Bug #1814 (Closed): unrecognized option --with-openssl-dir with 1.8.6-p369 (Solaris 10)
jeremyevans0 (Jeremy Evans)
04:15 PM Bug #1795 (Closed): Provide SMTP STARTTLS support
jeremyevans0 (Jeremy Evans)
04:12 PM Revision f308ab21 (git): Remove jquery.js
aycabta (aycabta .)
04:08 PM Bug #1753 (Closed): non success open client socket not detected on windows
jeremyevans0 (Jeremy Evans)
04:07 PM Feature #1724 (Rejected): Support for "&*uml;"-HTML-codes in ERB::Util.html_escape (solution included)
jeremyevans0 (Jeremy Evans)
04:06 PM Bug #1696 (Closed): http downloads are unuseably slow
jeremyevans0 (Jeremy Evans)
04:06 PM Bug #1633 (Closed): ARGF#close and ARGF#skip are Often Fatal on 1.9
jeremyevans0 (Jeremy Evans)
04:05 PM Bug #1562 (Closed): r22674 should be backported to 1.8.6
jeremyevans0 (Jeremy Evans)
04:05 PM Bug #1557 (Closed): Memory leak in DRb
jeremyevans0 (Jeremy Evans)
04:04 PM Bug #1445 (Closed): win32 debug build broken
jeremyevans0 (Jeremy Evans)
04:04 PM Bug #1418 (Closed): File.join repeats recursive array contents
jeremyevans0 (Jeremy Evans)
04:04 PM Bug #1396 (Closed): Kernel.sleep fails with some Float values
jeremyevans0 (Jeremy Evans)
04:04 PM Bug #1329 (Closed): Ruby 1.8.8 で "p eval('0' + '+0.1'*n)" が Segmentation Fault を発生させる
jeremyevans0 (Jeremy Evans)
04:03 PM Bug #1322 (Closed): define_method scope bug
jeremyevans0 (Jeremy Evans)
04:03 PM Bug #1306 (Closed): exception when exiting from IRB if test/unit is loaded
jeremyevans0 (Jeremy Evans)
04:02 PM Bug #1297 (Closed): Pathname#subの挙動について
jeremyevans0 (Jeremy Evans)
04:02 PM Bug #1225 (Closed): Curses::getmouse
jeremyevans0 (Jeremy Evans)
04:02 PM Bug #1162 (Closed): Build Assertion Failure with VC+++ - Incorrect flushing of stdout/stderr
jeremyevans0 (Jeremy Evans)
04:01 PM Bug #963 (Closed): /opt/local/lib/ruby/1.8/drb/drb.rb:852:in `initialize': getaddrinfo: nodename nor servname provided, or not known (SocketError)
jeremyevans0 (Jeremy Evans)
04:00 PM Misc #16130: [Discussion / Ideas] Finding a good name for the concept of/behind guilds - primarily the NAME
A Braid of Threads also makes sense in that metaphor. Twine is another option similar to Rope or Yarn.
I do like the name Guild since it's a thing than can be joined to cooperate for a common purpose.
What would the terminology equ...
shan (Shannon Skipper)
01:27 PM Misc #16130: [Discussion / Ideas] Finding a good name for the concept of/behind guilds - primarily the NAME
If Fiber composes Thread, then Thread composes Yarn, or Rope. sawa (Tsuyoshi Sawada)
11:59 AM Misc #16130: [Discussion / Ideas] Finding a good name for the concept of/behind guilds - primarily the NAME
(1) The name "Guilds":
To me the name guild implies something that is related to one another.
In medieval days, the concept of a guild was mostly used to refer e. g.
to the "guild of mastersmiths", that is people of a certain prof...
shevegen (Robert A. Heiler)
11:59 AM Misc #16130 (Open): [Discussion / Ideas] Finding a good name for the concept of/behind guilds - primarily the NAME
In recent presentions this year, and perhaps prior to that as well if I
remember correctly, matz mentioned that the core team (and matz) may be
looking for a good name to the concept of/behind guilds.
The thread here, this issue, is...
shevegen (Robert A. Heiler)
03:56 PM Revision 88a37dc6 (git): Stop passing CC_LIBS in compile_c_to_o
To fix "gcc: -lgcc: linker input file unused because linking not done" in
https://rubyci.org/logs/rubyci.s3.amazonaws.com/openbsd65/ruby-master/log/20190826T200009Z.log.html.gz
Still I'm intentionally leaving CC_DLDFLAGS_ARGS because ma...
k0kubun (Takashi Kokubun)
03:48 PM Revision d8fa8829 (git): Version 6.2.0
aycabta (aycabta .)
03:48 PM Revision 39810b40 (git): Good bye jQuery
aycabta (aycabta .)
03:19 PM Revision 6454808c (git): Treat RUBY_REVISION as an integer on old rubies
U.Nakamura
03:16 PM Revision dd032a5f (git): Make doxygen / coverage torelant to clone race
a little.
Doing both `git clone --depth=1` and `git reset --hard ${sha}` does not
make sense (the latter command either does nothing or just fails), so I
added non-1 value as a depth.
Maybe we don't need depth=50 for pull_request and s...
k0kubun (Takashi Kokubun)
03:12 PM Revision 9928a6a3 (git): * 2019-08-28 [ci skip]
git[bot]
03:10 PM Revision 24316a78 (git): Bump version to 2.5.7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:09 PM Revision 6a0d2bc2 (git): Follows callback declaration updates
nobu (Nobuyoshi Nakada)
02:56 PM Misc #15996: DevelopersMeeting20190829Japan
My apologies if I did something inappropriate. I *did* realize there was some duplication, I just thought these issues should be considered part of a single "package". 100% agree with @duerst, what he describes is what I was trying to do. Dan0042 (Daniel DeLorme)
11:04 AM Misc #15996: DevelopersMeeting20190829Japan
> I know I shouldn't comment on individual issues here
While I agree, one problem is that e. g. Dan0042 did not read the prior comments here - in
particular he linked in "[Misc #15723] Reconsider numbered parameters", which already w...
shevegen (Robert A. Heiler)
10:23 AM Misc #15996: DevelopersMeeting20190829Japan
Dan0042 (Daniel DeLorme) wrote:
> * [Feature #10829] Add to_proc method to the Array class
> ...
I know I shouldn't comment on individual issues here, but I haven't found a better way of commenting on this group of issues (maybe we sho...
duerst (Martin Dürst)
02:52 PM Revision 4209066f (git): Drop more unused configs from doxygen and coverage
workflows, because mame said he has never seen it. k0kubun (Takashi Kokubun)
02:49 PM Revision 3bed468e (git): Omit unused matrix strategy from doxygen workflow
k0kubun (Takashi Kokubun)
02:43 PM Revision 2cd68a38 (git): Short revision of SVN should be an Integer
nobu (Nobuyoshi Nakada)
02:41 PM Revision eaff19de (git): Fix rb_thread_create argument type
in response to the declaration change in
e3fc30564e9466d6926f9d25a090dcf787bd5c33.
Fixing the AppVeyor mswin CI failure:
https://ci.appveyor.com/project/ruby/ruby/builds/26980881/job/2j6h1qwjnbc8cpop
ref: https://github.com/ruby/ruby/p...
k0kubun (Takashi Kokubun)
01:00 PM Revision 6ec05f6c (git): bump up teeny version to 2.6.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:55 PM Revision 03c737f3 (git): Update rdoc version from 5.0.0 to 5.0.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@67781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:54 PM Revision 8ce4286d (git): Update rdoc version from 6.1.0 to 6.1.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:53 PM Revision 8c57255f (git): Update rdoc version from 6.0.1 to 6.0.1.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
11:33 AM Feature #15902: Add a specialized instruction for `.nil?`
ned (Ned Hadzo) wrote:
> This was reverted, right? https://github.com/ruby/ruby/commit/a0980f2446c0db735b8ffeb37e241370c458a626
It has been re-introduced. The Mojave issue was also fixed.
mame (Yusuke Endoh)
07:50 AM Feature #15902: Add a specialized instruction for `.nil?`
This was reverted, right? https://github.com/ruby/ruby/commit/a0980f2446c0db735b8ffeb37e241370c458a626 ned (Ned Hadzo)
10:20 AM Bug #14591: Files with invalid multi-byte characters will cause Find::find() to raise EINVAL exception
It's a result of treating file names as sequences of characters rather than as binary garbage. For some operations, one doesn't really care about the filename itself, so treating it as binary garbage would be okay. But for other operatio... duerst (Martin Dürst)
09:46 AM Revision d8060782 (git): Add graphviz for dot command
znz (Kazuhiro NISHIYAMA)
09:04 AM Revision e5810659 (git): Skip test_gc_stress_at_startup because it causes SEGV on some platforms
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
07:39 AM Revision 3ac0b75c (git): Doxygen in GitHub Actions (#2406)
* .github/workflows/doxygen.yml: add a workflow for doxygen in Actions mame (Yusuke Endoh)
06:52 AM Revision 1663d347 (git): delete `$` sign from C identifiers
They lack portability. See also
https://travis-ci.org/shyouhei/ruby/jobs/577164015
shyouhei (Shyouhei Urabe)
06:52 AM Revision 19b66781 (git): rb_uninterruptible now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This function has only one call site
so adding appropriate prototype is trivial.
shyouhei (Shyouhei Urabe)
06:52 AM Revision bd8dc256 (git): struct MEMO now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. There is only one usage of
MEMO::u3::func in load.c (where void Init_Foobar(vodi) is registered)
so why not just be explicit.
shyouhei (Shyouhei Urabe)
06:52 AM Revision 79d280a5 (git): rb_ivar_foreach now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit adds a function
prototype for rb_ivar_foreach. Luckily this change revealed no
problematic usage of the function.
shyouhei (Shyouhei Urabe)
06:52 AM Revision 50f5a0a8 (git): rb_hash_foreach now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit adds function prototypes
for rb_hash_foreach / st_foreach_safe. Also fixes some prototype
mismatches.
shyouhei (Shyouhei Urabe)
06:52 AM Revision ae2dc3f2 (git): rb_define_hooked_variable now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit uses rb_gvar_getter_t /
rb_gvar_setter_t for rb_define_hooked_variable /
rb_define_virtual_variable which revealed lots ...
shyouhei (Shyouhei Urabe)
06:52 AM Revision 78628618 (git): struct st_hash_type now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit adds function prototypes
for struct st_hash_type. Honestly I don't understand why they were
commented out at the first ...
shyouhei (Shyouhei Urabe)
06:52 AM Revision 6dd60cf1 (git): st_foreach now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit deletes ANYARGS from
st_foreach. I strongly believe that this commit should have had come
with b0af0592fdd9e9d4e4b863fd...
shyouhei (Shyouhei Urabe)
06:52 AM Revision e3fc3056 (git): rb_thread_create now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit deletes ANYARGS from
rb_thread_create, which seems very safe to do.
shyouhei (Shyouhei Urabe)
06:52 AM Revision bc3e7924 (git): rb_proc_new / rb_fiber_new now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit deletes ANYARGS from
rb_proc_new / rb_fiber_new, and applies RB_BLOCK_CALL_FUNC_ARGLIST
wherever necessary.
shyouhei (Shyouhei Urabe)
06:52 AM Revision af5e2566 (git): rb_catch now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit deletes ANYARGS from
rb_catch, and fixes some bugs revealed by that.
shyouhei (Shyouhei Urabe)
06:52 AM Revision 70378332 (git): rb_ensure now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit deletes ANYARGS from
rb_ensure, which also revealed many arity / type mismatches.
shyouhei (Shyouhei Urabe)
06:52 AM Revision 5c7c2d99 (git): rb_rescue / rb_rescue2 now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit deletes ANYARGS from
rb_rescue / rb_rescue2, which revealed many arity / type mismatches.
shyouhei (Shyouhei Urabe)
06:52 AM Revision 3cae7313 (git): rb_iterate now takes rb_block_call_func_t
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit makes rb_iterate free
from ANYARGS.
shyouhei (Shyouhei Urabe)
06:52 AM Revision b8fd2e83 (git): decouple compile.c usage of imemo_ifunc
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit deletes ANYARGS from
struct vm_ifunc, but in doing so we also have to decouple the usage
of this struct in compile.c, wh...
shyouhei (Shyouhei Urabe)
06:52 AM Revision 7329b333 (git): #define RB_BLOCK_CALL_FUNC_STRICT 1
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. Let's start from making
rb_block_call_func_t strict, and apply RB_BLOCK_CALL_FUNC_ARGLIST liberally.
shyouhei (Shyouhei Urabe)
06:52 AM Revision 0c8592b9 (git): fix function prototype mismatch of rb_block_call
Nobu missed it in f0e73fc9862c8d2c57a89349fb79012b826b8245. shyouhei (Shyouhei Urabe)
06:52 AM Revision 6007c7c3 (git): delete rb_method_defined_by declaration.
Ko1 missed this in d5893b91faa7dc77ca6c9728d1054dabd757aead. shyouhei (Shyouhei Urabe)
06:11 AM Revision 2fb723b8 (git): Revert "Explain which test task"
This reverts commit 9bc1667a188392b94971b9b96507af76cbd5f413.
`name` lines are not expanded.
nobu (Nobuyoshi Nakada)
05:40 AM Revision 0c8525ec (git): .github/workflows/coverage.yml: add a cron job for coverage in Actions
mame (Yusuke Endoh)
05:30 AM Revision 9bc1667a (git): Explain which test task
nobu (Nobuyoshi Nakada)
05:28 AM Revision 8536f671 (git): merge revision(s) 1613917ae64: [Backport #15784]
Defer setting gc_stress instead of setting dont_gc
[Bug #15784]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:25 AM Revision 2789bddd (git): Use array indexing with considering clang's feeling
```
In file included from sprintf.c:1256:
./vsnprintf.c:833:8: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
IS_PRI_EXTRA_MARK(fmt)) {
^~~~~~~~...
nobu (Nobuyoshi Nakada)
05:24 AM Bug #15187: IPv6 x-forwarded-host results in "bad URI" error
I've submitted a pull request to fix this: https://github.com/ruby/webrick/pull/26 jeremyevans0 (Jeremy Evans)
05:05 AM Revision d53b6699 (git): compile.c: remove const from the first argument of dladdr
Unfortunately, dladdr accepts void*, not const void*, in Solaris. mame (Yusuke Endoh)
05:02 AM Revision b67fae37 (git): Revert a part of r67767
it was not necessary for ruby_2_5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:59 AM Revision 8eee3f3a (git): signal.c: Don't mark ruby_abort as NORETURN on Solaris
to suppress a warning.
```
signal.c: In function 'ruby_abort':
signal.c:987:1: warning: 'noreturn' function does return
}
^
```
mame (Yusuke Endoh)
04:46 AM Bug #15173 (Feedback): Segmentation fault
Can you reproduce this bug in 2.5.5 or 2.6.3? jeremyevans0 (Jeremy Evans)
04:45 AM Feature #15170: Allow WEBrick::HTTPServlet::initialize to accept an array in server[:CGIInterpreter]
I agree that this is a feature request and not a bug report. I think this is a useful feature, and have submitted a pull request to implement it: https://github.com/ruby/webrick/pull/25 jeremyevans0 (Jeremy Evans)
04:23 AM Bug #15045 (Feedback): Test suite fails/hangs with stronger cryptography enforcement
Do these tests still fail after commit:1e54903684aa3c9ea3fe54520157846a1b1f07be? jeremyevans0 (Jeremy Evans)
04:19 AM Bug #15067 (Closed): library/socket/socket/getnameinfo_spec.rb always errors with multiple IP addresses hostname
Spec was removed in commit:c4cc4725ec08f26b9f46b99e38b0eba18f733ddc. jeremyevans0 (Jeremy Evans)
03:40 AM Bug #14961 (Closed): Segfault when running RSpec / Capybara / Rails
jeremyevans0 (Jeremy Evans)
03:38 AM Feature #14922: Resolv getaddresses ignores AAAA records for IPv6
I think this is not a bug, but a feature request for IPv6 resolution when no public IPv6 address is present. I think you can only consider this a bug if you think the default behavior should be to return IPv6 addresses in such cases.
...
jeremyevans0 (Jeremy Evans)
03:08 AM Revision 00a7d49b (git): merge revision(s) f1a52d96a59c63d46cb23af60cdcaf38e30e0512 [Backport #15784]
Defer setting gc_stress until inits done
[Bug #15784]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:43 AM Revision 76abd796 (git): Fix the appropriate C++ compiler in OS X selection
Merge space and slash to character class and add missing `CXX=` before `=g++-4.2`
at 5e10cb04e88c8a95ee44f6cad2bdf264e0dff92a
znz (Kazuhiro NISHIYAMA)
12:08 AM Bug #10436: ruby -c and ripper inconsistency: m(&nil) {}
I'm overhauling ripper to multiplex the callback values and the parser union.
https://github.com/nobu/ruby/tree/ripper.value
nobu (Nobuyoshi Nakada)

08/26/2019

11:49 PM Feature #16120: Omitted block argument if block starts with dot-method call
I believe that `map(&JSON.:parse)` must be considered together because it is strongly related to the motivation of your proposal. Note that `map(&JSON.:parse)` is incomplete. People will next want to omit a parameter of `map {|x| JSON.... mame (Yusuke Endoh)
07:34 PM Feature #16120: Omitted block argument if block starts with dot-method call
The syntax I propose is definitely not *meant* to absorb all styles. I think any attempt to be everything to everyone is doomed to failure. I do not believe this is a race where only one of the various proposals can win; considering the ... Dan0042 (Daniel DeLorme)
10:59 PM Revision 22834112 (git): Added license comment [Bug #12230] [ci skip]
nobu (Nobuyoshi Nakada)
10:22 PM Bug #15992: An exception breaks monitor state and cause deadlock
Should `mon_enter` and `mon_exit` use `Thread.handle_interrupt` inside their method definitions, so they are safe when called directly too?
`Thread.handle_interrupt(Exception => :never)` seems too much for `mon_enter`, I think `Thread...
Eregon (Benoit Daloze)
05:03 PM Bug #15992: An exception breaks monitor state and cause deadlock
ruby_2_5 r67774 merged revision(s) f91879a7b548284c93743168acfd11e3d2aeefac,9557069299ac3b96691040a541afa65761a724ad. usa (Usaku NAKAMURA)
10:11 PM Misc #15996: DevelopersMeeting20190829Japan
* [Feature #10829] Add to_proc method to the Array class
* [Feature #12115] Add Symbol#call to allow to_proc shorthand with arguments
* [Feature #15302] Proc#with and Proc#by, for partial function application and currying
* [Misc #157...
Dan0042 (Daniel DeLorme)
09:30 PM Revision 744be55f (git): Remove duplicated delegation
aycabta (aycabta .)
08:59 PM Revision fd0a4a64 (git): Delegete an instance method to a class method correctly
aycabta (aycabta .)
08:42 PM Revision 9f0f7771 (git): this iv table should also use the new update function
tenderlovemaking (Aaron Patterson)
08:33 PM Revision f13db4ad (git): Save value to @ambiguous_width because of a accessor
aycabta (aycabta .)
08:24 PM Revision 978ff1ff (git): Pick lib/readline.rb from ruby/reline
aycabta (aycabta .)
08:18 PM Revision f2a5c50f (git): The "private" doesn't make sence for class methods and a constant
aycabta (aycabta .)
08:18 PM Revision 68207bb4 (git): Use preposing "private" to define methods
aycabta (aycabta .)
08:18 PM Revision d8bcede9 (git): Adjust method forwardings of Reline
aycabta (aycabta .)
07:48 PM Bug #14752 (Closed): abort during build full build log
jeremyevans0 (Jeremy Evans)
07:37 PM Bug #14714 (Closed): Ruby 2.5.1 Segmentation Fault in GC
jeremyevans0 (Jeremy Evans)
07:37 PM Bug #14682 (Feedback): Error [BUG] unexpected THREAD_KILLED
Does this issue still occur with 2.5.5 or 2.6.3? jeremyevans0 (Jeremy Evans)
07:35 PM Bug #14667 (Closed): Segmentation fault in Ruby during iOS automation
jeremyevans0 (Jeremy Evans)
07:33 PM Bug #14659 (Closed): segfault in ConditionVariable#broadcast and ConditionVariable#signal
jeremyevans0 (Jeremy Evans)
07:32 PM Bug #14616 (Feedback): Segmentation fault in net/http/response
Can you try again with 2.5.5 or 2.6.3? jeremyevans0 (Jeremy Evans)
06:45 PM Bug #14591: Files with invalid multi-byte characters will cause Find::find() to raise EINVAL exception
This issue started in Ruby 2.5 and is still present in 2.6. It appears to be related to the code page. If I have a directory with Japanese characters (テスト), the error occurs with my default code page (437), but does not occur if I swit... jeremyevans0 (Jeremy Evans)
06:31 PM Revision 09d8e06b (git): Try only updating hash value references
I'm afraid the keys to this hash are just integers, and those integers
may look like VALUE pointers when they are not. Since we don't mark the
keys to this hash, it's probably safe to say that none of them have
moved, so we shouldn't tr...
tenderlovemaking (Aaron Patterson)
06:14 PM Revision d9bfbe36 (git): Make `gc_update_table_refs` match `mark_tbl_no_pin` a little more closely
This commit just makes `gc_update_table_refs` match `mark_tbl_no_pin`
more closely.
tenderlovemaking (Aaron Patterson)
05:38 PM Bug #14573 (Closed): rb_ary_or doesn't check objects hash when the array contains less than SMALL_ARRAY_LEN
I don't think this is a bug. If `eql?` returns true, `hash` must return the same value. Class `X` in this example violates that constraint, resulting in undefined behavior. If you fix class `X`, the behavior is correct in all ruby ver... jeremyevans0 (Jeremy Evans)
05:28 PM Bug #14560 (Feedback): Segmentation fault near the end of large Rails test suite
Can you try 2.5.5 or 2.6.3 and see if this problem has been fixed? jeremyevans0 (Jeremy Evans)
05:26 PM Bug #14488 (Closed): Unicode characters prevent [[:punct:]] character class from matching certain characters in subsequent matches
jeremyevans0 (Jeremy Evans)
05:03 PM Revision 4d9c5875 (git): merge revision(s) f91879a7b548284c93743168acfd11e3d2aeefac,9557069299ac3b96691040a541afa65761a724ad: [Backport #15992]
handle_interrupt to defend monitor state [Bug #15992]
If an exception is raised from another thread for example Timeout
and this thread is just after `mon_exit`'s `@mon_owner = nil`,
the exception breaks the stat...
U.Nakamura
04:49 PM Bug #16105: heap-use-after-free in String#sub!
ruby_2_5 r67773 merged revision(s) d5c33364e3c0efb15e11df417c925afee2cdb9c9. usa (Usaku NAKAMURA)
04:49 PM Revision 416249b3 (git): merge revision(s) d5c33364e3c0efb15e11df417c925afee2cdb9c9: [Backport #16105]
Fixed heap-use-after-free
* string.c (rb_str_sub_bang): retrieves a pointer to the
replacement string buffer just before using it, for the case of
replacement with the receiver string itself. [Bug #16105]
...
U.Nakamura
04:46 PM Bug #14334 (Closed): Segmentation fault after running rspec (ruby/2.5.0/erb.rb:885 / simplecov/source_file.rb:85)
jeremyevans0 (Jeremy Evans)
04:44 PM Bug #16099: UTF-16LE BOM followed by '\0' is missed
ruby_2_5 r67772 merged revision(s) 5b1bf8dd2d08ae7371ecf025967376bb794ed651. usa (Usaku NAKAMURA)
04:44 PM Revision f8efd7f9 (git): merge revision(s) 5b1bf8dd2d08ae7371ecf025967376bb794ed651: [Backport #16099]
UTF LE is fixed at least the first 2 bytes
* io.c (io_strip_bom): if the first 2 bytes are 0xFF0xFE, it
should be a little-endian UTF, 16 or 32. [Bug #16099]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby...
U.Nakamura
04:42 PM Revision 3a4a58e2 (git): Fix use_lib_reline for test/readline
aycabta (aycabta .)
04:23 PM Revision 344f507e (git): Remove .freeze.
osyo (manga osyo)
04:23 PM Revision 50d4a770 (git): Add test with encoding.
osyo (manga osyo)
04:23 PM Revision 0295bffc (git): Change to test file path.
osyo (manga osyo)
04:23 PM Revision 1ee9299b (git): Add support Windows in CI.
osyo (manga osyo)
04:23 PM Revision f33117fb (git): Add test reline.
osyo (manga osyo)
04:23 PM Revision 195f545c (git): Fix `Reline::Windows`.
osyo (manga osyo)
04:23 PM Revision 298ac047 (git): Refactoring Reline.
osyo (manga osyo)
04:23 PM Revision afed2668 (git): Fix reference core method.
osyo (manga osyo)
04:23 PM Revision f60e5a1f (git): Remove test_mode in `lib/reline`.
osyo (manga osyo)
04:23 PM Revision 9c0cd6a0 (git): Refactoring Reline accessor.
osyo (manga osyo)
04:20 PM Bug #15952: Issue with Array#unshift, sometimes doesn't respect frozenness of array
ruby_2_5 r67771 merged revision(s) ec8e5f5aa64e2a54cf1e303f2b012c98e8d521ba,5a187e26adc8aa32367f294c1496935c7356d386. usa (Usaku NAKAMURA)
04:20 PM Revision ef626cd0 (git): merge revision(s) ec8e5f5aa64e2a54cf1e303f2b012c98e8d521ba,5a187e26adc8aa32367f294c1496935c7356d386: [Backport #15952]
array.c: always check frozenness in Array#unshift. Fixes [Bug #15952]
Closes: https://github.com/ruby/ruby/pull/2251
array.c add back shared array optimization to
ary_ensure_room_for_unshift
Bug fix in...
U.Nakamura
04:17 PM Bug #15946: Undefined behavior can occur with memcpy in String#sub!
ruby_2_5 r67770 merged revision(s) 8f51da5d41f0642d5a971e4223d1ba14643c6398. usa (Usaku NAKAMURA)
04:17 PM Revision 080e04e8 (git): merge revision(s) 8f51da5d41f0642d5a971e4223d1ba14643c6398: [Backport #15946]
Get rid of undefined behavior
* string.c (rb_str_sub_bang): str and repl can be same.
[Bug #15946]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:16 PM Bug #15937: Segmentation fault when String#initialize given same string with capacity field
ruby_2_5 r67769 merged revision(s) 28678997e40869f5591eae60edd9757334426ffb,8797f48373dcfa3ff8e748667732dea8aea4347e. usa (Usaku NAKAMURA)
04:16 PM Revision 6b7ebe83 (git): merge revision(s) 28678997e40869f5591eae60edd9757334426ffb,8797f48373dcfa3ff8e748667732dea8aea4347e: [Backport #15937]
Preserve the string content at self-copying
* string.c (rb_str_init): preserve the embedded content when
self-copying with a capacity. [Bug #15937]
New buffer for shared string
* string.c (rb_str_ini...
U.Nakamura
04:12 PM Bug #16051: Backport 43730256e800dd8e0c5cc482e9861868590ae037 and 1e54903684aa3c9ea3fe54520157846a1b1f07be
ruby_2_5 r67768 merged revision(s) ae2a904ce9bffedee7d110dc60fd51c0a2879a5b,165ddfda20f6db8a3149d14c4f431fc242ddab70,fa7a768fdfe5223a29db4fa71b3e6101fb02ad51. usa (Usaku NAKAMURA)
04:12 PM Revision 2b97b8e0 (git): merge revision(s) ae2a904ce9bffedee7d110dc60fd51c0a2879a5b,165ddfda20f6db8a3149d14c4f431fc242ddab70,fa7a768fdfe5223a29db4fa71b3e6101fb02ad51: [Backport #16051]
Update the certificate files to make the test pass on Debian 10
The old certificate files (for example, test/rubygems/ca_cert.pem) were
signed by SHA1. This message digest is considered too weak and rejected
by ...
U.Nakamura
04:09 PM Bug #15934: String#b can lead to memory corruption
ruby_2_5 r67767 merged revision(s) 9dec4e8fc3a6018261834b5ac9b9877f787b97ca. usa (Usaku NAKAMURA)
04:09 PM Revision b49b1d76 (git): merge revision(s) 9dec4e8fc3a6018261834b5ac9b9877f787b97ca: [Backport #15934]
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 for details.
The following script triggers use-aft...
U.Nakamura
03:59 PM Bug #15792: GC can leave strings used as hash keys in a corrupted state
ruby_2_5 r67766 merged revision(s) 3f9562015e651735bfc2fdd14e8f6963b673e22a,c06ddfee878524168e4af07443217ed2f8d0954b,3b3b4a44e5. usa (Usaku NAKAMURA)
03:58 PM Revision 689a6a0a (git): merge revision(s) 3f9562015e651735bfc2fdd14e8f6963b673e22a,c06ddfee878524168e4af07443217ed2f8d0954b,3b3b4a44e5: [Backport #15792]
Get rid of indirect sharing
* string.c (str_duplicate): share the root shared string if the
original string is already sharing, so that all shared strings
refer the root shared string directly. indirect shar...
U.Nakamura
03:40 PM Bug #15720: SystemStackError when referencing a refinement in a module that isn't used
ruby_2_5 r67765 merged revision(s) 5e018214e7435030727a97ac49db038d96438e74. usa (Usaku NAKAMURA)
03:40 PM Revision 470dae33 (git): merge revision(s) 5e018214e7435030727a97ac49db038d96438e74: [Backport #15720]
Fix SystemStackError when calling a method in an unused refinement
Fixes [Bug #15720]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:39 PM Bug #15360: "ThreadError: deadlock; recursive locking" error when recursive lock shouldn't be possible
ruby_2_5 r67764 merged revision(s) c1d78a7f0ece2004822193a0c1f1fd3dc38c2fdf. usa (Usaku NAKAMURA)
03:39 PM Revision 33151275 (git): merge revision(s) c1d78a7f0ece2004822193a0c1f1fd3dc38c2fdf: [Backport #15360]
do_mutex_lock: release mutex before checking for interrupts (fixes
issue 15360)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:36 PM Bug #15839: mixed encoding heredoc should be a syntax error regardless the order
ruby_2_5 r67763 merged revision(s) 6375c68f8851e1e0fee8a95afba91c4555097127,c05eaa93258ddc01e685b6cc3a0da82998a2af48. usa (Usaku NAKAMURA)
03:36 PM Revision a9a37695 (git): merge revision(s) 6375c68f8851e1e0fee8a95afba91c4555097127,c05eaa93258ddc01e685b6cc3a0da82998a2af48: [Backport #15839]
parse.y: function parser_mixed_error & parser_mixed_escape
Fix mixed encoding in heredoc
Heredocs are parsed line-by-line, so we need to keep track of the
temporary encoding of the string. Previously, a heredoc...
U.Nakamura
03:13 PM Bug #15847: SecureRandom#gen_random becomes private after first invocation
ruby_2_5 r67762 merged revision(s) 5bab1304af25a843728dbcd2f3594913740aecb0. usa (Usaku NAKAMURA)
03:13 PM Revision 7cdacb99 (git): merge revision(s) 5bab1304af25a843728dbcd2f3594913740aecb0: [Backport #15847]
fix visibility of SecureRandom.gen_random
Aliasing a method preserves its visibility. These aliases turn
formerly-public methods into private. Should make them public
again. [Bug #15847]
git-svn-id: svn+ssh:/...
U.Nakamura
03:11 PM Revision d5b23732 (git): * 2019-08-27 [ci skip]
git[bot]
03:10 PM Bug #15887: Process.argv0 can return bad values in Ruby 2.5
ruby_2_5 r67761 merged revision(s) ea42423908ed055f9039b1dce6e9a232a3b2dd90. usa (Usaku NAKAMURA)
03:10 PM Revision 7d9c3a57 (git): Handle binding.irb for frozen objects and BasicObjects using a delegate
Fixes Ruby Bug 13264 jeremyevans (Jeremy Evans)
03:10 PM Revision caeafbe8 (git): Move private call without arguments inside method
This code did not have the desired effect. I'm not sure if
irb_binding is supposed to be private or not. If not, the private
call can just be removed.
jeremyevans (Jeremy Evans)
03:10 PM Revision 6e5e5df1 (git): merge revision(s) ea42423908ed055f9039b1dce6e9a232a3b2dd90: [Backport #15887]
Keep vm->orig_progname alive
`vm->orig_progname` can be different from `vm->progname` when user
code assigns to `$0`. While `vm->progname` is kept alive by the
global table, nothing marked `vm->orig_progname`.
...
U.Nakamura
03:02 PM Bug #15821: ruby_process_options() may cause "WB miss (O->Y)"
ruby_2_5 r67759 merged revision(s) ac00bdc8a8ac2c62a94dd36a7784d15bbcb7df19. usa (Usaku NAKAMURA)
03:02 PM Revision 522bc8ad (git): * 2019-08-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision 2576b8b2 (git): merge revision(s) ac00bdc8a8ac2c62a94dd36a7784d15bbcb7df19: [Backport #15821]
Do not modify shared array
[Bug #15821]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:54 PM Bug #12356 (Rejected): Vector covector incorrect multiplication with another vector.
Thanks Jeremy for updating this issue. I double checked and never received the original email notification...
> `Vector` does not have distinction between row and column, there's no column vector notion in the language.
Actually, i...
marcandre (Marc-Andre Lafortune)
02:54 PM Bug #15786: numbered parameterを使ったprocのparametersに記号が現れる
ruby_2_5 r67758 merged revision(s) d0ba4abf1a00339ebbb5d405db3240a8bdb7b68b,54eac83b2ad77ddea84fa6d66c09e0bb014cf61e. usa (Usaku NAKAMURA)
02:54 PM Revision 401da791 (git): merge revision(s) d0ba4abf1a00339ebbb5d405db3240a8bdb7b68b,54eac83b2ad77ddea84fa6d66c09e0bb014cf61e: [Backport #15786]
Add RB_ID_SERIAL_MAX
Hide internal IDs
* parse.y (internal_id): number the ID serial for internal use by
counting down from the neary maximum value, not to accidentally
match permanent IDs.
...
U.Nakamura
02:45 PM Bug #15906: a=a のような式をもつ条件分岐が意図しない挙動をする
ruby_2_5 r67757 merged revision(s) a6a26e42b15c46f117f4fce07a2050e9d727355d. usa (Usaku NAKAMURA)
02:45 PM Revision 235e64c2 (git): merge revision(s) a6a26e42b15c46f117f4fce07a2050e9d727355d: [Backport #15906]
compile.c: Partially revert r63870 which caused wrong optimization
[Bug #15906]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:39 PM Bug #15775: Update broken URL in Float documentation
ruby_2_5 r67756 merged revision(s) b72623012d74abdb06210153ed48c9e2fa075bbd. usa (Usaku NAKAMURA)
02:39 PM Revision 5586497b (git): merge revision(s) b72623012d74abdb06210153ed48c9e2fa075bbd: [Backport #15775]
Update broken URL in Float documentation.
[Misc #15775][ruby-core:92332]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:37 PM Bug #15803: File.realpath should always return a tainted string
ruby_2_5 r67755 merged revision(s) a15f7dd1fb1148c3d586238ee6907875f2e40379. usa (Usaku NAKAMURA)
02:37 PM Revision 920b6e15 (git): merge revision(s) a15f7dd1fb1148c3d586238ee6907875f2e40379: [Backport #15803]
Always mark the string returned by File.realpath as tainted
This string can include elements that were not in either string
passed to File.realpath, even if one of the strings is an
absolute path, due to symlinks...
U.Nakamura
02:19 PM Bug #15199: scanf.rb broken with io from IO.pipe (MinGW or Windows?)
ruby_2_5 r67754 merged revision(s) d118c84b0b9110462e479487ffaf175a75e5718e. usa (Usaku NAKAMURA)
02:18 PM Revision 662a3ca8 (git): merge revision(s) d118c84b0b9110462e479487ffaf175a75e5718e: [Backport #15199]
Fix IO#scanf on pipes on Windows
IO.seek on a pipe on Windows raises Errno::EINVAL instead of
Errno::ESPIPE.
Fixes Ruby Bug #15199
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67754 b2dd03c8-39...
U.Nakamura
02:16 PM Bug #15820: Backport 5e23b1138f1 (Fix potential memory leak)
ruby_2_5 r67753 merged revision(s) 5e23b1138f16af0defb184d7deeffadfd2ce3c04. usa (Usaku NAKAMURA)
02:15 PM Revision d65f9463 (git): merge revision(s) 5e23b1138f16af0defb184d7deeffadfd2ce3c04 [backport #15820]
Fix potential memory leak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:06 PM Bug #14539: Duplicate range in character class warning
ruby_2_5 r67752 merged revision(s) 179045acaf5de8398c321ada86a76f1afb77a796. usa (Usaku NAKAMURA)
02:06 PM Revision 59ed372b (git): merge revision(s) 179045acaf5de8398c321ada86a76f1afb77a796: [Backport #14539]
regparse.c: Suppress duplicated range warning by mere \X
* regparse.c (node_extended_grapheme_cluster): as Unicode 10 has
added Grapheme_Cluster_Break properties to some characters,
remove duplicated ranges f...
U.Nakamura
02:00 PM Bug #14657: Fix build error with LibreSSL 2.7
already fixed on ruby_2_5 at r64428. usa (Usaku NAKAMURA)
01:49 PM Bug #15801: [BACKPORT] ChangeLogs of 2.5 and 2.6 begin before the 2.4 release
ruby_2_5 r67751 merged revision(s) af1e487e9bb763b939dc6704c9a343c9eafa1637. usa (Usaku NAKAMURA)
01:49 PM Revision ed7b68a2 (git): merge revision(s) af1e487e9bb763b939dc6704c9a343c9eafa1637: [Backport #15801]
Updated marked commits for ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:32 PM Bug #13264 (Closed): Binding#irb does not work in context of frozen object
This was fixed by the Pull Request above. aycabta (aycabta .)
12:09 PM Revision ccc5b22a (git): Expand JOBS instead of meaningless export (#2402)
* Expand JOBS instead of meaningless export
* Remove -j option in TESTOPTS of test-bundled-gems
https://github.com/ruby/ruby/runs/203129516#step:10:167
> invalid option: -j3
Kazuhiro NISHIYAMA
09:56 AM Feature #16128: Would it be possible for ruby to warn about case/when menu options separated by a trailing, but accidental ','?
Comparing indents is easy in very simple cases, but it will harder in complex cases, for instance, after a multiple line expression.
And I suspect this can be found by editors auto-indent.
nobu (Nobuyoshi Nakada)
07:36 AM Feature #16128: Would it be possible for ruby to warn about case/when menu options separated by a trailing, but accidental ','?
the problem is that the case body can be empty, that doesn't mean the code is wrong.
and like sawa said, it probably needs to check all other braches too, which i don't know is possible there
Hanmac (Hans Mackowiak)
06:23 AM Feature #16128: Would it be possible for ruby to warn about case/when menu options separated by a trailing, but accidental ','?
In fact, even indentation level in this particular code does not seem to tell that it was a mistake. The `print_foobar` line is aligned with the other conditions. I would take it that they all belong to the condition.
However, you can...
sawa (Tsuyoshi Sawada)
03:37 AM Feature #16128: Would it be possible for ruby to warn about case/when menu options separated by a trailing, but accidental ','?
shevegen (Robert A. Heiler) wrote:
> Perhaps the above can still be reported based on additional information,
> ...
There is no way to distinguish these cases syntactically.
Only what I think of is the indent level, too.
nobu (Nobuyoshi Nakada)
09:27 AM Revision 48f1a38f (git): Limit ChangeLog entries
Since the previous release date, when the starting message is not
found.
nobu (Nobuyoshi Nakada)
08:45 AM Revision 972222c0 (git): Show MFLAGS to check `Set ENV` in .github/workflows/ubuntu.yml
znz (Kazuhiro NISHIYAMA)
07:54 AM Revision 44bead39 (git): CPPFLAGS is not needed for link
nobu (Nobuyoshi Nakada)
07:54 AM Revision 26146536 (git): Moved INCFLAGS to XCFLAGS from CPPFLAGS as well as mswin
Rules which have used CPPFLAGS will need XCFLAGS or INCFLAGS now. nobu (Nobuyoshi Nakada)
07:11 AM Revision fafabe2f (git): Add INCFLAGS for fake.rb
INCFLAGS is not included in CPPFLAGS on mswin, not to be exported
to rbconfig.rb.
nobu (Nobuyoshi Nakada)
04:58 AM Bug #16117 (Rejected): ruby2.6.3(x86) use fiddle faild to load dll in windows7
nagachika (Tomoyuki Chikanaga)
04:33 AM Feature #14240: warn four special variables: $; $, $/ $\
jeremyevans0 (Jeremy Evans) wrote:
> nobu (Nobuyoshi Nakada) wrote:
> ...
Another point is that compile warnings are for the names.
Use of aliases of them like English.rb will be still silent.
So, [this question](https://bugs.ruby-...
nobu (Nobuyoshi Nakada)
12:58 AM Feature #14240: warn four special variables: $; $, $/ $\
nobu (Nobuyoshi Nakada) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> ...
Agreed. I'm fine dropping these compile warnings if the run-time warnings are considered sufficient.
> > One problem with the implementation in my previous p...
jeremyevans0 (Jeremy Evans)
04:23 AM Feature #16129 (Closed): Call initialize_clone with freeze: false if clone called with freeze: false
This makes it possible for `initialize_clone` to correctly not freeze internal state if the `freeze: false` keyword is passed to `clone`.
If `clone` is called with `freeze: true` or no keyword, do not pass a second argument to `initia...
jeremyevans0 (Jeremy Evans)
04:14 AM Revision b4d6d9c1 (git): Removed unnecessary flags for fake.rb
Flags for ruby core such as warning and `_FORTIFY_SOURCE` macro
are not necessary to make fake.rb, except for `RUBY_EXPORT` macro
which prevents to include ruby/backward.h.
nobu (Nobuyoshi Nakada)
04:13 AM Revision 1581249d (git): Added in-srcdir macro [ci skip]
nobu (Nobuyoshi Nakada)
04:01 AM Revision 5e86b005 (git): uid_t and gid_t are narrower than VALUE.
Often uid / gid are 16 bit or 32 bit integers, while VALUE are 32
to 64 bits. They tend to differ in size. Because rb_ensure expects
its callbacks to take VALUE arguments, narrowing must be done by
hand, otherwise data corruption can h...
shyouhei (Shyouhei Urabe)
04:01 AM Revision 48131a46 (git): rb_mjit_header.h is not worth documenting [ci skip]
This is an auto-generated header file that does not include anything
interesting. Should skip generating CAPI documents.
shyouhei (Shyouhei Urabe)
03:17 AM Bug #16028: Backport r67563: SNI is not enabled in Net::IMAP
already backported into ruby_2_5 at r67717 usa (Usaku NAKAMURA)
03:00 AM Revision fa6c1b06 (git): Suppress a "clobbered" warning
nobu (Nobuyoshi Nakada)
02:08 AM Revision 4448d586 (git): * 2019-08-26 [ci skip]
git[bot]
02:07 AM Revision 5e10cb04 (git): Refined the appropriate C++ compiler in OS X selection
Allows CC to be prefixed another path or command, e.g., ccache. nobu (Nobuyoshi Nakada)
12:25 AM Bug #14160: JSON#generate documentation wrong/misleading
I added a pull request to fix the first issue: https://github.com/flori/json/pull/384
There is an existing pull request to fix the second issue: https://github.com/flori/json/pull/347
jeremyevans0 (Jeremy Evans)

08/25/2019

08:47 PM Bug #14121 (Closed): test-all - rename duplicate classes for consistent test count
Commited in commit:dd3851d2786412de019350a11e749c56fa5a07cc. jeremyevans0 (Jeremy Evans)
08:45 PM Bug #14102 (Rejected): Date.strptime ignores constraints provided by day name
jeremyevans0 (Jeremy Evans)
08:41 PM Bug #14069 (Rejected): Document order of elements in Set
jeremyevans0 (Jeremy Evans)
08:40 PM Bug #14053 (Closed): Problem with case/when menus in ruby 2.5.0dev (2017-10-25) [x86_64-linux] - semi-random tracebook of different errors (NODE_STR, NODE_ARGS etc...) and also segfaults sometimes
jeremyevans0 (Jeremy Evans)
08:36 PM Bug #13970 (Rejected): Base64 urlsafe_decode64 unsafe use of tr.
I don't think this is a bug. Most pure Ruby code assumes and does not check that method arguments respond to all methods that the code expects them to respond to. It's generally considered a smell to take code like:
```ruby
def foo(...
jeremyevans0 (Jeremy Evans)
08:24 PM Bug #14028 (Closed): RubyVM logic backported into Ruby 2.3 tests
jeremyevans0 (Jeremy Evans)
08:20 PM Bug #14010 (Closed): RubyVM logic in forwardable backported to 2.3, not removed
jeremyevans0 (Jeremy Evans)
08:20 PM Bug #13980: Rounding failure on i686 (i386).
Does this rounding error still occur on Fedora i686? jeremyevans0 (Jeremy Evans)
08:16 PM Bug #13917 (Rejected): Comparable#clamp is slower than using Array#min,max.
jeremyevans0 (Jeremy Evans)
08:02 PM Bug #13700 (Closed): Enumerable#sum may not work for Ranges subclasses due to optimization
Applied in changeset commit:git|e496e96547b64c3a2fa6f285c3bc9bd21a245ac6.
----------
Document that Enumerable#sum may not respect redefinition of Range#each
It already documented that it may not respect redefinition
of Integer#+.
Fixe...
jeremyevans (Jeremy Evans)
07:53 PM Revision b4dfac2c (git): Fix ArgumentError in expand_tabs.rb
This fixes the following in my environment:
misc/expand_tabs.rb:29:in `=~': invalid byte sequence in US-ASCII (ArgumentError)
This switches from =~ to start_with? as a regular expression is
not actually needed here.
jeremyevans (Jeremy Evans)
07:50 PM Revision e496e965 (git): Document that Enumerable#sum may not respect redefinition of Range#each
It already documented that it may not respect redefinition
of Integer#+.
Fixes [Bug #13700]
jeremyevans (Jeremy Evans)
07:17 PM Bug #13688: Thread overflow hangs ruby (not responding ^C)
This bug still occurs in the master branch. Attached is a patch that fixes it by checking for interrupts before calling the thread's proc. jeremyevans0 (Jeremy Evans)
06:28 PM Bug #13675: Should Zlib::GzipReader#ungetc accept nil?
If we want to fix `IO#ungetc`, attached is a patch that will fix it. jeremyevans0 (Jeremy Evans)
06:19 PM Bug #13674 (Closed): BigDecimal comparison with Float::INFINITY is erroneous in 2.2.x and 2.3.x
jeremyevans0 (Jeremy Evans)
06:13 PM Bug #13612 (Closed): Segmentation Fault
jeremyevans0 (Jeremy Evans)
06:06 PM Bug #13441 (Closed): building - GIT variable, ruby, rubygems tests
jeremyevans0 (Jeremy Evans)
06:05 PM Bug #13171 (Rejected): URI::FTP path has a trailing slash when just hostname and scheme provided
This doesn't appear to be a bug, even if the behavior is slightly inconsistent between URI::HTTP and URI::FTP. If you can show an actual problem caused by the inconsistency, please reply. jeremyevans0 (Jeremy Evans)
06:00 PM Bug #13431 (Closed): sample/drb/http0*.rb is not working.
Applied in changeset commit:git|71d97a5ef80a23b0bb1005570ed059580981a467.
----------
Fix sample/drb/http0serv.rb
Previously, trying to use this would result in:
undefined method `uri' for #<DRb::HTTP0::ServerSide:0x00000aec9f1637f8> (...
jeremyevans (Jeremy Evans)
05:56 PM Revision 71d97a5e (git): Fix sample/drb/http0serv.rb
Previously, trying to use this would result in:
undefined method `uri' for #<DRb::HTTP0::ServerSide:0x00000aec9f1637f8> (NoMethodError)
Also, use a relative require to load sample/drb/http0.rb.
Fixes [Bug #13431]
jeremyevans (Jeremy Evans)
05:11 PM Bug #12961: Bad value for range using infinity for Date or Time
I've submitted a pull request to allow `-Float::Infinity...Date.today`: https://github.com/ruby/date/pull/13 jeremyevans0 (Jeremy Evans)
03:52 PM Feature #16128 (Open): Would it be possible for ruby to warn about case/when menu options separated by a trailing, but accidental ','?
I was not sure whether the following behaviour is a bug or not, so I filed this under "feature", mostly because
this may change existing behaviour; and even if I think the current behaviour in this context may not make a
lot of sense, ...
shevegen (Robert A. Heiler)
02:08 PM Revision 365e5b38 (git): configure.ac: Improve icc_version guessing for non-icc environment
icc_version was wrongly defined as "__ICC" on non-icc C compiler, which
caused a warning:
```
./configure: line 8211: test: __ICC: integer expression expected
```
This change adds a sed commend to delete "__ICC".
mame (Yusuke Endoh)
01:16 PM Revision 11f7c30f (git): configure.ac: fix the guess of icc_version
The icc_version guessing was accidentally disabled because of
61885c9b7ca8ccdaf53d7c365fbb86bad3294d88; `AC_PROG_CC_C99` changes
CC like "icc -std=c99", and `AS_CASE(["x$CC"], [xicc],` does not match.
The variable `icc_version` is event...
mame (Yusuke Endoh)
11:44 AM Misc #16125: Remove the reserved member from rb_data_type_t as the addition of the compactor callback pushed it over a single cache line
nobu (Nobuyoshi Nakada) wrote:
> methodmissing (Lourens Naudé) wrote:
> ...
Thanks for the clarification Nobu - I was thrown off by the `pahole` report which did not recognize the consumed element. Would it still make sense to formally...
methodmissing (Lourens Naudé)
11:10 AM Revision fa5f7771 (git): Drop duration from AppVeyor notification
The format is a little weird, and not so helpful either. k0kubun (Takashi Kokubun)
10:29 AM Revision 6944a1aa (git): lib/webrick.rb: use require_relative for webrick/utils.rb
`require "webrick/utils.rb"` should load `lib/webrick/utils.rb`, but on
some CI machines, it wrongly loads `test/webrick/utils.rb`, which caused
circular require warning:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu/ruby-maste...
mame (Yusuke Endoh)
09:27 AM Revision c775ab5e (git): `local_path?` is a class method [ci skip]
nobu (Nobuyoshi Nakada)
07:59 AM Revision cc6fe152 (git): tool/lib/vcs.rb: explicitly fail when notes/commits is not available
mame (Yusuke Endoh)
07:10 AM Bug #16127 (Closed): Delegates to BasicObject do not work
The delegate library does not currently handle BasicObject targets, since it assumes the target responds to `respond_to?`. The attached patch works around the issue by binding the Kernel `respond_to?` instance method to the target and t... jeremyevans0 (Jeremy Evans)
07:06 AM Bug #13264: Binding#irb does not work in context of frozen object
This is still a bug in the master branch of irb. I've submitted a pull request to fix it by using a delegate: https://github.com/ruby/irb/pull/24 jeremyevans0 (Jeremy Evans)
04:58 AM Revision 1b03d2d7 (git): Revert workaround
znz (Kazuhiro NISHIYAMA)
02:39 AM Revision 5decf66a (git): Inspect dynamic symbol as well as static symbol
nobu (Nobuyoshi Nakada)
02:38 AM Revision b341e98b (git): Simplified f13a00f5b4 [ci skip]
nobu (Nobuyoshi Nakada)
02:24 AM Revision f13a00f5 (git): Export all commits as ChangeLog when no starting commit is found [ci skip]
nobu (Nobuyoshi Nakada)
12:23 AM Bug #13249: Access modifiers don't have an effect inside class methods in Ruby >= 2.3
The warning discussed has not been added yet. Attached is a patch that implements it. While it passes `make check`, there may be corner cases it doesn't handle. I would appreciate review of the changes to `vm_cref_set_visibility`.
...
jeremyevans0 (Jeremy Evans)

08/24/2019

09:51 PM Misc #16125: Remove the reserved member from rb_data_type_t as the addition of the compactor callback pushed it over a single cache line
methodmissing (Lourens Naudé) wrote:
> I'm wondering what the `reserved` member was originally intended for, given introducing the `dcompact` member basically already broke binary compatibility by changing the struct size from `64` -> `...
nobu (Nobuyoshi Nakada)
12:45 PM Misc #16125 (Rejected): Remove the reserved member from rb_data_type_t as the addition of the compactor callback pushed it over a single cache line
References PR https://github.com/ruby/ruby/pull/2396
I noticed that since the introduction of the `GC.compact` API, struct `rb_data_type_t` spans multiple cache lines with the introduction of the `dcompact` function pointer / callback...
methodmissing (Lourens Naudé)
09:08 PM Misc #16126 (Closed): Fix small docs inconsistencies
Applied in changeset commit:git|04735c48ab44c97cbfd5a5cd37f9a1696e2f5a2b.
----------
Minor documentation fixes [ci skip]
From zverok (Victor Shepelev)
Fixes [Misc #16126]
jeremyevans (Jeremy Evans)
09:07 PM Misc #16126: Fix small docs inconsistencies
Thanks for the patch, I will merge it shortly. jeremyevans0 (Jeremy Evans)
05:35 PM Misc #16126 (Closed): Fix small docs inconsistencies
The patch with some small-ish fixes:
* Enumerator refers to `#enum_for`/`#to_enum` under `Kernel`, while in fact they are documented under `Object`;
* `Kernel#warn` has outdated call sequence;
* `ClosedQueueError` is not mentioned in ...
zverok (Victor Shepelev)
09:05 PM Revision 04735c48 (git): Minor documentation fixes [ci skip]
From zverok (Victor Shepelev)
Fixes [Misc #16126]
jeremyevans (Jeremy Evans)
04:09 PM Revision e1c991f8 (git): Move Object#hash rdoc to hash.c [ci skip]
This gets RDoc to pick up the documentation correctly.
Problem pointed out by zverok (Victor Shepelev).
jeremyevans (Jeremy Evans)
03:51 PM Revision cf5516de (git): * 2019-08-25 [ci skip]
git[bot]
03:50 PM Revision 03ee12a3 (git): Add workaround (2nd try)
https://rubyci.org/logs/rubyci.s3.amazonaws.com/gentoo/ruby-master/log/20190824T153002Z.fail.html.gz
```
/home/gentoo/chkbuild/tmp/build/20190824T153002Z/ruby/tool/lib/vcs.rb:577:in `export_changelog': cannot find the beginning revision ...
znz (Kazuhiro NISHIYAMA)
03:04 PM Misc #16124 (Assigned): Let the transient heap belong to objspace
mame (Yusuke Endoh)
12:43 PM Misc #16124: Let the transient heap belong to objspace
The global method cache note references PR https://github.com/ruby/ruby/pull/2302 methodmissing (Lourens Naudé)
12:41 PM Misc #16124 (Rejected): Let the transient heap belong to objspace
As per comment from Nobu in https://github.com/ruby/ruby/pull/2303#issuecomment-523248875 , I took an initial stab @ a tighter integration between objspace and the transient heap in https://github.com/ruby/ruby/pull/2400
### Benefits
...
methodmissing (Lourens Naudé)
02:56 PM Bug #13102: Confusing method name: Set#delete?
Eregon (Benoit Daloze) wrote:
> This is at least inconsistent with Array#delete, which could be used for the same case as above but doesn't end with a `?`.
This is not exactly true, as `Set#delete?` returns self and not the item if d...
jeremyevans0 (Jeremy Evans)
06:45 AM Bug #13102: Confusing method name: Set#delete?
This is at least inconsistent with Array#delete, which could be used for the same case as above but doesn't end with a `?`.
I don't think there are many good examples for predicates with side effects, is it?
A good part of the Set AP...
Eregon (Benoit Daloze)
03:27 AM Bug #13102 (Rejected): Confusing method name: Set#delete?
I don't think this is a bug, I believe it is intentional. Using `?` for mutating methods is uncommon, but not wrong. You can use these like predicate methods, which is probably why they end in `?`:
```ruby
if set.delete?(object)
...
jeremyevans0 (Jeremy Evans)
02:17 PM Revision df348310 (git): Add workaround for some CIs
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian8/ruby-master/log/20190824T093005Z.fail.html.gz
```
branches:
* trunk
remotes/origin/trunk
```
and
```
fatal: Remote branch master not found in upstream origin
```
znz (Kazuhiro NISHIYAMA)
12:26 PM Revision 5d5502dc (git): Fix typos
znz (Kazuhiro NISHIYAMA)
11:31 AM Revision 571ffcd6 (git): ext/psych/yaml/api.c: Suppress a "variable set but not used" warning
```
compiling ../.././ext/psych/yaml/api.c
../.././ext/psych/yaml/api.c: In function 'yaml_document_delete':
../.././ext/psych/yaml/api.c:1122:7: warning: variable 'context' set but not used [-Wunused-but-set-variable]
} context;
...
mame (Yusuke Endoh)
10:57 AM Feature #16113: Partial application
> If `#curry` gets support for keyword arguments, would it suffice for this case
I don't think so, unfortunately.
1. Of my examples, it covers only `JSON.parse`
* It doesn't cover non-keyword arguments, which, I believe, it sho...
zverok (Victor Shepelev)
10:37 AM Feature #16122: Data: simple immutable value object
> What would a simple implementation of `Struct::Value.new` look like in Ruby code?
Oh, I've probably answered the wrong question... But I am not quite sure I understand yours.
Theoretically, it is just something like this (ignorin...
zverok (Victor Shepelev)
10:17 AM Feature #16122: Data: simple immutable value object
@Eregon, here is rendered version of class' docs: https://zverok.github.io/ruby-rdoc/Struct-Value.html
Basically, it is what is said on the tin: like Struct, just leaner.
zverok (Victor Shepelev)
06:55 AM Feature #16122: Data: simple immutable value object
This sounds interesting to me.
What would a simple implementation of Struct::Value.new look like in Ruby code?
I'm not quite sure what the available API is since it's all described as Struct - some methods.
Eregon (Benoit Daloze)
07:22 AM Revision 97ad7862 (git): Add debug print
matser branch not found on some CIs
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20190824T063005Z.fail.html.gz
```
fatal: Remote branch master not found in upstream origin
```
znz (Kazuhiro NISHIYAMA)
06:14 AM Bug #13948 (Closed): Segfault instead of recursion depth error
jeremyevans0 (Jeremy Evans)
05:10 AM Feature #12093: Eval InstructionSequence with binding
> does this suffice your use case?
Interesting, I'll need to investigate this - it certainly has potential.
My use case is for experimental tracing work, and I basically want to be
able to pre-compile original source with added in...
dalehamel (Dale Hamel)
03:21 AM Bug #12702 (Rejected): DRb client fails when calling out-of-process remote method with a block
This is a bug in your code, you are not calling `DRb.start_service` in the client program. The client program needs a DRb server running in order to handle the sending-block-to-remote-method case. See the example in the "Client code" s... jeremyevans0 (Jeremy Evans)
02:36 AM Bug #12649 (Third Party's Issue): DateTime method calls hang
jeremyevans0 (Jeremy Evans)
02:35 AM Bug #12615 (Closed): Pathname#rename does not work across filesystem boundaries.
jeremyevans0 (Jeremy Evans)
02:34 AM Bug #12494 (Closed): win32/resolv.rb may add outdated nameservers
jeremyevans0 (Jeremy Evans)
02:28 AM Bug #12453 (Closed): 2.3.1p112 version running demo of array methods about 3x slower than running it with 2.2.0p0 version
jeremyevans0 (Jeremy Evans)
01:57 AM Feature #16120: Omitted block argument if block starts with dot-method call
Hi,
> So I strongly believe all these feature requests should to be considered together in order to make a decision.
Agreed. And, #15723 (a numbered parameter) is only one proposal that is all-purpose, though I don't like it so mu...
mame (Yusuke Endoh)
12:59 AM Feature #16120: Omitted block argument if block starts with dot-method call
I think there's a misunderstanding because this proposal doesn't collide with existing parser behavior. `[].each{ .method }` is currently a SyntaxError.
@osyo wrote:
> However, I think it is difficult to parse in the following cases....
Dan0042 (Daniel DeLorme)
01:20 AM Revision fe83ed47 (git): Try to fix `make dist` error on chkbuild
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20190823T213004Z.fail.html.gz
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian8/ruby-master/log/20190824T003006Z.fail.html.gz
znz (Kazuhiro NISHIYAMA)
12:30 AM Feature #16123: Allow calling a private method with `self.`
Here is a script to help demonstrate the inconsistency, where `self.bar = 123` is allowed by `self.bar` is not.
```ruby
class Foo
def foo
self.bar = 123 # allowed
self.bar # raises
end
private
attr_accessor ...
dylants (Dylan Thacker-Smith)

08/23/2019

11:51 PM Feature #16113: Partial application
I like Hanmac's idea.
``` ruby
Klass.:meth.curry.()
```
Seems very close to:
``` ruby
Klass.:meth.w()
```

I know it has previously been said that `#curry` is a bit of an easter egg. Would it be acceptable to add keyword...
shan (Shannon Skipper)
11:42 PM Feature #16120: Omitted block argument if block starts with dot-method call
A bit of an aside, but it's often just as fast to do two iterations with small collections, since the shorthand parses faster.
posts.map(&:author).map(&:name)
I agree with osyo that it seems this proposal collides with existing...
shan (Shannon Skipper)
03:36 PM Feature #16120: Omitted block argument if block starts with dot-method call
hi.
Its soo good idea.
However, I think it is difficult to parse in the following cases.
```ruby
[10, 20, 30].map{
# 42.to_s(16)
# or
# pp 42
# argument1.to_s(16)
pp 42
.to_s(16)
}
```
osyo (manga osyo)
03:22 PM Feature #16120 (Rejected): Omitted block argument if block starts with dot-method call
How about considering this syntax for implicit block parameter:
```
[10, 20, 30].map{ .to_s(16) } #=> ["a", "14", "1e"]
```
Infinite thanks to @maedi for [the idea](https://bugs.ruby-lang.org/issues/15723#note-19)
This proposal i...
Dan0042 (Daniel DeLorme)
11:06 PM Feature #16123: Allow calling a private method with `self.`
I may not completely understand the issue description. What is the inconsistency? (That is a honest
question, by the way; I am not fully understanding the issue domain.)
I am not even entirely sure what a private attribute writer is ...
shevegen (Robert A. Heiler)
09:03 PM Feature #16123 (Closed): Allow calling a private method with `self.`
## Problem
There is an inconsistency between calling a private attribute writer being allowed with `self.value =` syntax and `self.value` not being allowed on a private attribute writer.
Calling a private method in this way can be ...
dylants (Dylan Thacker-Smith)
10:41 PM Feature #15815: Add option to raise NoMethodError for OpenStruct
Personally I found the proposed signature confusing, more when taking in account that OpenStruct calls:
```ruby
os = OpenStruct.new(a: 1, exception: true)
# vs
os = OpenStruct.new({a: 1}, exception: true)
```
> I'd like t...
esparta (Espartaco Palma)
10:35 PM Bug #12356 (Assigned): Vector covector incorrect multiplication with another vector.
I don't think this is a bug, but I'll let marcandre make the determination. `Vector` can't be multipled with `Vector`, you get an error. You can multiple a `Vector` by a `Matrix` and vice-versa by design, and `Vector#covector` returns ... jeremyevans0 (Jeremy Evans)
10:10 PM Bug #12353 (Closed): Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
jeremyevans0 (Jeremy Evans)
10:06 PM Bug #12123 (Open): FileUtils.ln_s create a '.symlink' file not a symbolic link on windows
This is still a bug in master. I have filed a pull request upstream to fix it: https://github.com/ruby/fileutils/pull/39. jeremyevans0 (Jeremy Evans)
08:52 PM Bug #12112 (Closed): Resolv.getname with IPv6 noop
jeremyevans0 (Jeremy Evans)
08:47 PM Bug #11935 (Closed): Date.new returns inconsistent errors when passed invalid arguments
jeremyevans0 (Jeremy Evans)
08:47 PM Misc #15298 (Closed): Inconsistent date errors
jeremyevans0 (Jeremy Evans)
08:42 PM Bug #11667 (Closed): Ruby process crashes when TracePoint.new(:raise) is enabled and SystemStackError is raised
jeremyevans0 (Jeremy Evans)
08:16 PM Bug #16121: Stop making a redundant hash copy in Hash#dup
I split up the patch into the 4 attached patches, because I realized there were a few changes that could be emphasized independently, each with their own description of the change. Hopefully that will make the optimization itself in the... dylants (Dylan Thacker-Smith)
05:11 PM Bug #16121 (Closed): Stop making a redundant hash copy in Hash#dup
## Problem
I noticed while profiling object allocations that Hash#dup was allocating 2 objects instead of only 1 as expected. I looked for alternatives for comparison and found that `Hash[hash]` created a copy with only a single obje...
dylants (Dylan Thacker-Smith)
05:43 PM Misc #15996: DevelopersMeeting20190829Japan
* [Feature #16113] Partial application: `fetch(urls).map(&JSON.:parse.w(symbolize_names: true))`
* [Feature #16122] `Struct::Value`: simple immutable value object
zverok (Victor Shepelev)
09:13 AM Misc #15996: DevelopersMeeting20190829Japan
* [Feature #15991] Allow questionmarks in variable names
* Proposal: Allow `?` in variable names
* In #5781, matz is explicitly against an instance variable that ends with `?`
* How about allowing only local variables ?
osyo (manga osyo)
02:44 AM Misc #15996: DevelopersMeeting20190829Japan
* [Feature #15955] UnboundMethod#apply
* The ticket proposes a shortcut to `unbound_method.bind(obj).call(args...)` without allocation of a Method object. There are some use cases, and looks reasonable to me. What do you think?
mame (Yusuke Endoh)
12:56 AM Misc #15996: DevelopersMeeting20190829Japan
* [Feature #16115] Keyword arguments from method calls or ignore extra hash keys in splat
* It proposes a triple splat (`foo(***opt)`) to pass a keyword hash with filtering out unknown keywords. What do you think?
mame (Yusuke Endoh)
05:40 PM Feature #16122 (Closed): Data: simple immutable value object
## Intro (original theoretical part of the proposal)
**Value Object** is a useful concept, introduced by Martin Fowler ([his post](https://martinfowler.com/bliki/ValueObject.html), [Wikipedia Entry](https://en.wikipedia.org/wiki/Value...
zverok (Victor Shepelev)
04:41 PM Revision b38ab0a3 (git): * 2019-08-24 [ci skip]
git[bot]
04:10 PM Revision d5b917d5 (git): Named numbered parameter indexes
nobu (Nobuyoshi Nakada)
03:38 PM Feature #16119: Optimize Array#flatten and flatten! for already flattened arrays
Hanmac (Hans Mackowiak) wrote:
> i see in your patch that you not only check for `Array` but for `to_ary` too, which is nice
Right, but that is just preserving the current behaviour. So the `ary.flatten! if ary.any?(Array)` workarou...
dylants (Dylan Thacker-Smith)
03:32 PM Feature #16119: Optimize Array#flatten and flatten! for already flattened arrays
duerst (Martin Dürst) wrote:
> However, I expect this to be slower on arrays that are 'almost flat', i.e.
> ...
The optimization handles this case by doing a quick `ary_memcpy` of everything up to the first nested array to avoid redund...
dylants (Dylan Thacker-Smith)
07:41 AM Feature #16119: Optimize Array#flatten and flatten! for already flattened arrays
i see in your patch that you not only check for `Array` but for `to_ary` too, which is nice
@shevegen :
instead of `[input]` i would use `Array(input)` that doesn't create an extra array if input is already one
Hanmac (Hans Mackowiak)
06:31 AM Feature #16119: Optimize Array#flatten and flatten! for already flattened arrays
I use .flatten and .flatten! quite a lot in my ruby code, often setting the
initial input from ARGV but also from other sources, such as used from other
ruby classes, w hen I need to have an array - often something like:
def foo...
shevegen (Robert A. Heiler)
02:02 AM Feature #16119: Optimize Array#flatten and flatten! for already flattened arrays
I was afraid that this would be an optimization for flat arrays, but increase time for nested arrays. But that's not the case, because at the bottom, there will be flat arrays, and flattening these will be faster.
However, I expect th...
duerst (Martin Dürst)
03:21 PM Feature #15915: `@1` cannot be achieved in meta-programming
I'm negative to add `ID_NUMPARAM`.
As `rb_is_numparam_id` is not used, and `rb_is_numparam_name` can be implemented without `rb_symname_type`.
nobu (Nobuyoshi Nakada)
04:41 AM Feature #15915: `@1` cannot be achieved in meta-programming
Here is an experimental patch. mame (Yusuke Endoh)
11:52 AM Revision 2e28b367 (git): [ruby/stringio] Fixed a typo
https://github.com/ruby/stringio/commit/b249631c433f800c979be2705bf63555075db2fc#commitcomment-34804150
https://github.com/ruby/stringio/commit/998d6257fb
nobu (Nobuyoshi Nakada)
09:05 AM Revision d9b73dcc (git): Remove github_action_linux tag from bundler examples.
Maybe it has fixed at 5a384e2c08704dc7af9d8d3bdfc475eb8c0723aa hsbt (Hiroshi SHIBATA)
08:20 AM Revision 3b55394b (git): Ensure all default gems have an gem folder
Even if they don't ship with any executables. This makes rbinstall
behaviour consistent with rubygems `gem install --default` command.
deivid (David Rodríguez)
07:54 AM Bug #16117: ruby2.6.3(x86) use fiddle faild to load dll in windows7
Problem solved:
the dll i used compiled by MinGW, the dll need libstdc++-6.dll, after I add **-static-libgcc -static-libstdc++** compile flag to the dll, problem solved!
whdukewu (Kewu DU)
04:57 AM Revision 1c5a2682 (git): Simplify expand_tabs.rb file selection
k0kubun (Takashi Kokubun)
04:00 AM Revision a5b809e9 (git): Check metadata a bit more
nobu (Nobuyoshi Nakada)
03:28 AM Feature #15955: UnboundMethod#apply
Here is a benchmark:
```
class Foo
def foo
end
end
meth = Foo.instance_method(:foo)
obj = Foo.new
10000000.times { meth.bind(obj).call } # 1.84 sec
10000000.times { meth.apply(obj) } # 1.04 sec
```
mame (Yusuke Endoh)
02:40 AM Feature #15955: UnboundMethod#apply
Hi @nelhage and @darkdimius :-)
I'm attaching a patch for `UnboundMethod#apply(obj, *args, &blk)` as a shortcut to `.bind(obj).call(*args, &blk)` without allocation of a Method object.
I have heard the same situation as Sorbet for ...
mame (Yusuke Endoh)
03:27 AM Revision 650cd245 (git): Hoisted out get_digest_obj_metadata
nobu (Nobuyoshi Nakada)
01:11 AM Bug #11466 (Closed): Memory leak in win32 fill_random_bytes_syscall
If `fill_random_bytes_syscall` were to leak memory, then this Ruby code should show the leak:
```ruby
i = 0; while true; puts i if (i+=1) % 10000000; SecureRandom.bytes(1) end
```
As this shows no leak even with with 600000000 it...
jeremyevans0 (Jeremy Evans)
12:53 AM Feature #16115: Keyword arguments from method calls or ignore extra hash keys in splat
Thank you for proposing ideas. They are interesting to me.
As you said in your second example, it is only possible in callee side: changing the method definition to accept a dummy `**` argument.
```
def hello(who:, **)
end
he...
mame (Yusuke Endoh)
12:47 AM Feature #11322: OpenUri: RuntimeError: HTTP redirection loop
I don't think this is a bug. As 0x0dea (D.E. Akers) pointed out, other programs work the same way. However, I think cookie handling in open_uri could be a useful feature. Attached is a patch that implements the necessary support.
I...
jeremyevans0 (Jeremy Evans)
12:46 AM Revision 9ffb0548 (git): * 2019-08-23 [ci skip]
git[bot]
12:45 AM Revision 1d6a31f3 (git): Make AppVeyor notification similar to Travis
k0kubun (Takashi Kokubun)

08/22/2019

11:58 PM Feature #16119 (Closed): Optimize Array#flatten and flatten! for already flattened arrays
## Problem
When doing an object profile from stackprof, I noticed object allocations being made from `Array#flatten!` which was unlike other in-place methods like `Array#uniq!` and `Array#compact!`. In this case, I wanted to optimize...
dylants (Dylan Thacker-Smith)
08:26 PM Feature #16118 (Open): Array .difference allow custom comparison
Hello!
I wanted to know if there's any plan to implement the ability to define comparison between individual items in arrays.
Here is where I originally asked the question on Stack Overflow: https://stackoverflow.com/questions/5731...
ngomez (Nancy Gomez)
07:56 PM Feature #16115: Keyword arguments from method calls or ignore extra hash keys in splat
> I think this could open up some possibilities (or a can of worms).
Some can call it a feature, other may call it a bug. :-)
In regards to keyword arguments, though, I would wait a bit and see
how/if https://bugs.ruby-lang.org/is...
shevegen (Robert A. Heiler)
12:01 PM Feature #16115 (Open): Keyword arguments from method calls or ignore extra hash keys in splat
Just a thought, feel free to insta-close as stupid.
Currently you can do this:
```
def hello(who:)
puts "Hello, #{who}"
end
opts = { who: 'world' }
hello(who)
```
Or:
```
def hello(who:, **_extra_opts) # without e...
kke (Kimmo Lehto)
03:32 PM Bug #11152 (Closed): Resolv::DNS should use Search Domains provided in /etc/resolv.conf by default
jeremyevans0 (Jeremy Evans)
03:27 PM Bug #10965 (Feedback): logger.rb may not daily rotate
jeremyevans0 (Jeremy Evans)
02:10 PM Revision fd20b321 (git): Make GitHub Actions Slack notification consistent
with Travis, rather than AppVeyor.
Formerly it was made similar to AppVeyor to provide some normal set of
CI failure notification. But for some reason people preferred a shorter
variant and introduced a1d606c079f6c3d1779d885e0bf2e399125...
k0kubun (Takashi Kokubun)
01:47 PM Revision efc89703 (git): * expand tabs. [ci skip]
Tabs are expanded because previously the file did not have any tab indentation.
Please update your editor config, and use misc/expand_tabs.rb in the pre-commit hook.
git[bot]
01:46 PM Revision a4d389d8 (git): Improve the description of MJIT cancel-all [ci skip]
k0kubun (Takashi Kokubun)
01:13 PM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
This ticket was resolved with commit:15eaedf805fb2727c79a6c59af6d5f6c2a6d634b.
In addition to that, since people have often objected to "expand tabs" against files which are not related to VM / MJIT (debugging MJIT needs to see prepro...
k0kubun (Takashi Kokubun)
12:30 PM Misc #16112 (Closed): Reduce the possibility of "expand tabs" commit occurrences
Applied in changeset commit:git|15eaedf805fb2727c79a6c59af6d5f6c2a6d634b.
----------
Add misc/expand_tabs.rb ported from auto-style.rb
This is implemented to close [Misc #16112] because all other options got
at least one objection, and...
k0kubun (Takashi Kokubun)
11:24 AM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
> I like option 3 because it is optional and something I would use. I don't personally like using tabs.
Okay, I'm going to implement this one because nobody has objected to it and all other options had objections from somebody.
> ....
k0kubun (Takashi Kokubun)
05:03 AM Misc #16112: Reduce the possibility of "expand tabs" commit occurrences
k0kubun (Takashi Kokubun) wrote:
> * It would reduce the number of problems for editors like Sublime Text, VSCode, and Atom.
I'm surprised some of the currently most popular editors can't handle such situations. I'm not using one o...
duerst (Martin Dürst)
12:24 PM Revision 15eaedf8 (git): Add misc/expand_tabs.rb ported from auto-style.rb
This is implemented to close [Misc #16112] because all other options got
at least one objection, and nobody has objected to this solution.
This code is a little complicated for the purpose, but that's just
because it includes some histo...
k0kubun (Takashi Kokubun)
12:22 PM Bug #16117: ruby2.6.3(x86) use fiddle faild to load dll in windows7
**testmml_win.rb code:**
```ruby
require 'fiddle'
require 'fiddle/import'
if ARGV.length < 1
puts "Missing libPath argument..."
puts "Usage: ruby HostTest2.rb libPath"
puts "Sample: ruby HostTest2.rb /home/Protocol...
whdukewu (Kewu DU)
12:21 PM Bug #16117 (Rejected): ruby2.6.3(x86) use fiddle faild to load dll in windows7
I have a dll build by MinGW32 in windows7, in ruby2.2, I could use fiddle dlload this dll success, but in the same system, use 2.6.3 failed to dlload this dll, always report No such file or direcoty.
**///////// Ruby2.2 success load t...
whdukewu (Kewu DU)
12:01 PM Bug #16116 (Closed): ruby2.6.3(x86/x64) use win32ole could not new Object, return 0x80070057
I build a RubyTest.dll by C#, In ruby2.2, I could use WIN32OLE.new to create ole object, but in the same system under ruby2.6.3, it failed to create ole object by WIN32OLE.new, is there any different between ruby 2.2 and ruby 2.6.3 in WI... whdukewu (Kewu DU)
11:59 AM Bug #14716: SecureRandom throwing an error in Ruby 2.5.1
I have the same issue running ruby 2.6.3 on MacOS 10.14.6 while using guard on a rails project:
```
13:43:07 - INFO - Running: spec/features/foo_spec.rb
Running via Spring preloader in process 17829
Randomized with seed 57737
Ca...
fa11enangel (Konstantin Filtschew)
11:39 AM Revision 0a74fac9 (git): merge revision(s) fd0e3bd2497d4e796b719c7b7154dc3c945f87b1: [Backport #14834]
fix VC 2013 compile error
It seems the compiler does not support VLAs.
See also: https://ci.appveyor.com/project/ruby/ruby/builds/26392589/job/px6nuiuw4e78weg1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2...
nagachika (Tomoyuki Chikanaga)
11:28 AM Bug #15992: An exception breaks monitor state and cause deadlock
ruby_2_6 r67749 merged revision(s) 9557069299ac3b96691040a541afa65761a724ad. nagachika (Tomoyuki Chikanaga)
11:28 AM Revision fbb96f1b (git): merge revision(s) 9557069299ac3b96691040a541afa65761a724ad: [Backport #15992]
Avoid creating Hash objects per each mon_synchronize call (#2393)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
08:04 AM Misc #16114: Naming of "beginless range"
This shows that there are only two real problems in computer science:
- Giving things proper names
- Documenting code after the code has been written
- Off by one errors
:P
From the candidates, I somewhat like mrkn's suggestio...
shevegen (Robert A. Heiler)
04:58 AM Misc #16114: Naming of "beginless range"
duerst (Martin Dürst) wrote:
> mrkn (Kenta Murata) wrote:
> ...
Oops! The correct candidates are "a range unbounded below" and "a range unbounded above".
Thanks.
mrkn (Kenta Murata)
03:49 AM Misc #16114: Naming of "beginless range"
mrkn (Kenta Murata) wrote:
> Other candidates from mathematics:
> ...
Shouldn't this be "a range not bounded below"?
> - lower-unbounded range
> ...
Same thing here.
duerst (Martin Dürst)
12:01 AM Misc #16114: Naming of "beginless range"
I know that it is an awkward word, but it came from `Range#begin` and `Range#end`. IMO, you can call it as you like. mame (Yusuke Endoh)
07:36 AM Feature #15864: Proposal: Add methods to determine if it is an infinite range
> Having `begin?` and `end?` instead of `beginless?` and `endless?` would be more natural, and easy to comprehend.
Agreed. Moreover, `Range#begin` and `#end` just work.
mame (Yusuke Endoh)
03:23 AM Feature #15864: Proposal: Add methods to determine if it is an infinite range
Having negative meaning in the method name would make it complicated. Having `begin?` and `end?` instead of `beginless?` and `endless?` would be more natural, and easy to comprehend.
In fact, the given use case:
```ruby
def search...
sawa (Tsuyoshi Sawada)
12:07 AM Feature #15864: Proposal: Add methods to determine if it is an infinite range
Other candidates from mathematical terms:
- `unbounded?` for checking whether `begin` or `end` is `nil`
- `lower_unbounded?`, `left_unbounded?`, or `unbounded_below?` for checking whether `begin` is `nil`
- `upper_unbounded?`, `righ...
mrkn (Kenta Murata)
12:47 AM Misc #15996: DevelopersMeeting20190829Japan
* [Feature#14183] "Real" keyword argument
* Jeremy and I agreed with Jeremy's proposal. I'd like to ask for matz's final confirmation.
mame (Yusuke Endoh)
12:09 AM Misc #15996: DevelopersMeeting20190829Japan
- [Feature #15864] Proposal: Add methods to determine if it is an infinite range
- I proposed some candidates from mathematical terms
mrkn (Kenta Murata)
12:24 AM Revision d8d8015b (git): Remove footer from message to Slack
aycabta (aycabta .)
 

Also available in: Atom