Activity
From 03/22/2020 to 03/28/2020
03/28/2020
-
10:23 PM Revision cf191872 (git): Increase the number of Process.times attempts
- CI of 5806c54447439f2ba22892e4045e78dd80f96f0c did not succeed
https://travis-ci.org/github/ruby/ruby/jobs/668072714 -
10:19 PM Revision 92c25114 (git): Clean up /tmp leftovers in ci.rvm.jp
- 07:45 PM Revision addf43d7 (git): * 2020-03-29 [ci skip]
-
07:44 PM Revision 2b6848af (git): [ruby/irb] Require jruby lib to get JRuby.compile_ir
- https://github.com/ruby/irb/commit/dc59afe4f6
-
06:16 PM Feature #16741 (Open): Implement Shellwords.shellescape correctly for Windows
- `shellwords` module was originally designed and developed for *NIX, and currently works like this:
```ruby
require 'shellwords'
Shellwords.shellescape("/home/me/test with space.txt")
# => "/home/me/test\\ with\\ space.txt"
She... -
02:31 PM Revision f432b5e5 (git): Fixed relative paths for test-spec
-
01:39 PM Revision 5806c544 (git): Improve reliability of the Process.times spec
-
01:32 PM Revision 6413a26b (git): Do not check that #stime changes in Process.times spec
- * Since the spec might not spend any time in system calls.
-
01:27 PM Revision 11a38194 (git): Remove debugging code
-
12:03 PM Revision 5fa12daf (git): The last argument of rb_rescue2() should always be (VALUE)0
- * Otherwise it might segfault, since C has no idea of the type of varargs,
and the C code must assume all varargs are VALUE. -
11:49 AM Revision 5b486866 (git): Remove Process.clock_getres "matches the resolution in practice" specs
- * Almost all platforms return incorrect values for Process.clock_getres,
it should be removed: https://bugs.ruby-lang.org/issues/16740 -
11:47 AM Feature #8809: Process.clock_getres
- In #16740 I propose to remove this API because it almost always returns incorrect and useless values.
-
11:46 AM Bug #16740 (Rejected): Deprecating and removing the broken Process.clock_getres
- clock_getres(2) is incorrect (doesn't match the actual resolution for many clocks), buggy (e.g. can return negative values) on almost all platforms and for almost all clock_id.
This is an observation based running specs for it:
https... -
11:34 AM Revision 282c9d1b (git): Remove spec which is an incorrect usage of rb_rescue2()
- * It segfaults on MRI.
-
10:31 AM Revision 34b0a7be (git): spec/ruby/library/rbconfig/rbconfig_spec.rb: restore "not windows" guard
- https://github.com/ruby/ruby/runs/541455267
```
1)
RbConfig::CONFIG libdir/LIBRUBY_SO is the path to libruby and it exists if and only if ENABLE_SHARED FAILED
Expected File.exist? "d:/Ruby26-x64/lib/x64-msvcrt-ruby260.dll"
to be truthy b... -
09:09 AM Revision 476ac00e (git): Deal with bundled gems by BASERUBY
- As the currently released/snapshot tarballs should contain the
bundled gems extracted already, RUNRUBY is not required when
building from them with GNU make. -
07:27 AM Revision 8c80922c (git): Fixed RbConfig spec for multiarch
-
05:57 AM Revision 7072e032 (git): Guard RbConfig spec unless installed
-
02:12 AM Revision 6eb3820a (git): spec/ruby/optional/capi/kernel_spec.rb: stop a spec that causes SEGV
- I think the wrong terminating argument cannot work.
To stop the noisy CI failures, the spec is tentatively suspended.
03/27/2020
-
11:22 PM Revision f234d51e (git): Update to ruby/spec@ec84479
-
11:22 PM Revision 296f6881 (git): Update to ruby/mspec@16b5a0a
-
10:59 PM Bug #16195 (Closed): Invalid certificate on https://ruby-lang.org/
- ruby-lang.org no longer has a DNS A record. And https://www.ruby-lang.org now has a valid SSL certificate. So I think this can be closed.
-
10:52 PM Bug #14541: Class variables have broken semantics, let's fix them
- matz (Yukihiro Matsumoto) wrote in #note-8:
> Although the use of class variables is not recommended (like global variables), proposed behavior changes introduce huge incompatibility.
> ...
I've submitted a pull request to convert the ... - 09:14 PM Revision ecf874ed (git): * 2020-03-28 [ci skip]
-
09:12 PM Bug #16738: RbConfig::CONFIG["SDKROOT"] not frozen on macOS
- ruby_2_7 5ccf57f23eb7a35ac699edc2fc598c47fa1844a0.
-
07:01 PM Revision 22c3014e (git): Suppress an "assigned but unused variable" warning
- (cherry picked from commit 501f2c44e6ae79c02a5c4d0f872fc7fa77258fcf)
-
07:01 PM Revision 44f7e388 (git): Preserve `kwarg` flag and fix up f5c904c2a9
- (cherry picked from commit c8d0bf0156878df03a71fffc97c44abf7333d5d7)
-
06:43 PM Bug #16620 (Closed): [BUG] Segmentation fault at 0x0000000103bae000
-
06:31 PM Bug #16737 (Closed): File::BINARY doesn't work
- Applied in changeset commit:git|e1e4ea8fa91a0c62dea69977d989d0bb2b526b64.
----------
Set external encoding correctly for File.open('f', FILE::BINARY) on Windows
Previously, the external encoding was only set correctly for
File::BINARY ... -
05:33 PM Bug #16737: File::BINARY doesn't work
- I agree with @nobu that this isn't a bug on !Windows. The documentation for `File::Constants::BINARY` states "disable line code conversion", nothing about setting binary mode. I guess the constant name is a bit misleading, but due to b...
- 06:31 PM Revision d214c188 (git): * 2020-03-28 [ci skip]
-
06:31 PM Revision e1e4ea8f (git): Set external encoding correctly for File.open('f', FILE::BINARY) on Windows
- Previously, the external encoding was only set correctly for
File::BINARY if keyword arguments were provided. This copies
the logic for the keyword arguments case to the no keyword
arguments case. Possibly it should be refactored into ... -
04:29 PM Bug #16692 (Closed): net/http SNI not RFC 6066 compliant & wrong certificate hit
- commit:54072e329cab7207fba133caba4fc12b45add8f9 was added as a feature in Ruby 2.7, and we only backport bug fixes to released versions, not features. You will have to upgrade to Ruby 2.7 if you would like this to work, using the new `:...
-
04:25 PM Bug #16690 (Rejected): [BUG] Set of sets: containing set no longer believes member set is a member after mutating its member set
-
04:23 PM Bug #16687 (Closed): Ripper.slice FrozenError in ruby 2.5
- This is the related commit for backporting: commit:67bb95936d241bd452f3bcfb76276e0ab61234f0.
Note that Ruby 2.5 will be moving from the normal maintenance phase to the security maintenance phase in about 4 days. -
10:04 AM Revision 3486a460 (git): [ruby/reline] Suppress $/ warnings
- https://github.com/ruby/reline/commit/f4eac8c76f
-
06:32 AM Revision 16c90f06 (git): test/digest/test_digest.rb: Apply EnvUtil.apply_timeout_scale to timeout
- The test seems to fail sometimes due to a warning message of circular
require on very slow machine.
```
1) Failure:
TestDigest::TestDigestParen#test_race_mixed [/export/home/rubyci/unstable10s/tmp/build/20200326T091911Z/ruby/test/dige... -
05:57 AM Revision aeda3a7f (git): Suppress "assigned but unused variable" warnings
- (cherry picked from commit 65dd50fc25f6522536d5c4749055384bde1f9371)
-
05:57 AM Revision 004c2987 (git): Allow newlines inside braced pattern
- (cherry picked from commit f5c904c2a907013e22ff74bc3686952c5448d493)
-
05:57 AM Revision 93aaa0bc (git): Allow trailing comma in hash pattern
- (cherry picked from commit d25a4f413dce6ad3a8baaf61591415b9a8cce082)
-
05:51 AM Revision 5ccf57f2 (git): Make RbConfig::CONFIG values mutable [Bug #16738]
- As `RbConfig.expand` modifies the argument and involved `CONFIG`
values, its values should be mutable.
(cherry picked from commit 4adb2d655dcd54b28366b4d17e86b21e2b622cd1) -
05:43 AM Revision 7b513380 (git): Merge bundler-2.1.4
-
03:33 AM Revision 39c965f2 (git): [ci skip] Doc-only enhancements for Hash
- About the defalut values.
-
02:43 AM Bug #15499: Breaking behavior on ruby 2.6: rb_thread_call_without_gvl doesn't invoke unblock_function when used on the main thread
- The ff98931dac is the fix for 23444302d9 and the 23444302d9 have not been backported into ruby_2_6 branch. 23444302d9 seems a kind of performance improvement.
I will restore Backport field to 2.6: DONE. -
02:24 AM Bug #16676: `#hash` can change Hash object from ar_table to st_table
- I created the patch for ruby_2_6 branch (attatched file).
But the test_ar2st failed.
```
1) Failure:
TestHash#test_ar2st [/Users/nagachika/opt/ruby-2.6/src/ruby_2_6/test/ruby/test_hash.rb:1749]:
<"{0=>0, 1=>1, 2=>2, 3=>3, 4=>4...
03/26/2020
- 05:14 PM Revision 18aff426 (git): * 2020-03-27 [ci skip]
-
05:14 PM Revision 0d5db771 (git): Fix AppVeyor pull request CI (#2983)
-
02:59 PM Bug #16676: `#hash` can change Hash object from ar_table to st_table
- ruby_2_7 ab6f78bc926f6fc12dc8d7846056fc9c04d63ead.
-
02:57 PM Bug #12392: configure --with-sitedir=no --with-sitearchdir=no --with-vendordir=no --with-vendorarchdir=no が機能しない
- ruby_2_7 95c3bb6c426a11253644a86137bb67c542fd5799.
- 02:51 PM Revision 572021c6 (git): * 2020-03-26 [ci skip]
-
02:51 PM Bug #16689: [BUG] try to mark T_NONE object
- ruby_2_7 2a3027b7b54a3118731f70c9e88aabbd495bb9fe.
-
01:17 PM Revision c9a7643a (git): test/openssl/test_ssl.rb: ignore SSLError when the connection is closed
- "test_close_after_socket_close" checks if ssl.close is no-op even after
the wrapped socket is closed. The test itself is fair, but the other
endpoint that is reading the SSL connection may fail with SSLError:
"SSL_read: unexpected eof w... -
12:18 PM Revision 897d4e31 (git): check ar_table first.
- RHASH_AR_TABLE_SIZE() has assertion that it is a ar_talbe.
The last commit breaks this assumption so check ar_table first.
(cherry picked from commit c3584dfacce4d0f2058d8403de6fdce4fd4d686b) -
12:18 PM Revision ab6f78bc (git): check ar_table after `#hash` call
- ar_table can be converted to st_table just after `ar_do_hash()`
function which calls `#hash` method. We need to check
the representation to detect this mutation.
[Bug #16676]
(cherry picked from commit 4c019f5a626523e99e2827ed917802e309... -
12:18 PM Revision e4efca87 (git): check flags passed to rb_nogvl()
- RB_NOGVL_UBF_ASYNC_SAFE is wrongly specified because flags
is not checked.
[Bug #15499] 23444302
(cherry picked from commit ff98931daca1265e5bd33025d160c77e452c399e) -
12:18 PM Revision 2a3027b7 (git): Add missing write barrier for Hash#transform_values{,!}
- 21994b7fd686f263544fcac1616ecf3189fb78b3 removed the write barrier that
was present in rb_hash_aset(). Re-insert it to not crash during GC.
[Bug #16689]
(cherry picked from commit 713dc619f5372a645b66bef9dacee217c4101cb4) -
12:18 PM Revision 95c3bb6c (git): Do not make disabled directories at installation [Bug #12392]
- (cherry picked from commit 8a6ba10f9dd456cf54de800203cf04bbe42271fb)
-
12:18 PM Revision 1853efc4 (git): Use power_assert 1.1.7
- Mainly for pry compatibility in test
https://github.com/k-tsj/power_assert/commit/dcc14cbef48d9790187fa400a5df7531d81a5971
Also include "Show full_message if available"
https://github.com/k-tsj/power_assert/commit/53ce0400bf47f722830d66... -
11:28 AM Revision b94f50ed (git): Added implictily require for URI::HTTP
- 09:06 AM Revision b0b6d0a6 (git): * remove trailing spaces. [ci skip]
-
09:06 AM Revision 9e8d75e8 (git): [ruby/uri] Remove RCS keywords
- https://github.com/ruby/uri/commit/1bcb1203ad
- 09:06 AM Revision 5e9e1629 (git): [ruby/uri] Remove revision lines from comments
- https://github.com/ruby/uri/commit/f1c133a7d6
- 09:06 AM Revision 92a238a2 (git): [ruby/uri] Add support for WebSockets
- https://github.com/ruby/uri/commit/805a95786a
- 09:06 AM Revision 844ff7ea (git): [ruby/uri] Simplify construction of URI instances using parser interface.
- https://github.com/ruby/uri/commit/c145017dd7
-
09:06 AM Revision e460c2d0 (git): [ruby/uri] Prefer `require_relative` for loading internal code
- So that we don't need to search the LOAD_PATH, given that we know which
files we want to load in advance.
https://github.com/ruby/uri/commit/cbecefb788 -
08:41 AM Revision 69cd27c9 (git): [ruby/reline] Suppress error when check ambiguous char width in LANG=C
- https://github.com/ruby/reline/commit/623dffdd75
-
08:41 AM Revision 8911b3d3 (git): [ruby/reline] Add a comment why rescue yamatanooroti loading error on the test
- https://github.com/ruby/reline/commit/2a8061daec
-
08:41 AM Revision 467b665a (git): [ruby/reline] Rename test suite name of yamatanooroti test
- https://github.com/ruby/reline/commit/b0f32f5de4
-
08:41 AM Revision 9339a7d9 (git): [ruby/reline] Add yamatanooroti rendering test
- https://github.com/ruby/reline/commit/f092519525
-
08:41 AM Revision 90913bfa (git): [ruby/reline] Suppress error in case INPUTRC env is empty
- https://github.com/ruby/reline/commit/bce7e7562b
-
08:41 AM Revision f245fb1a (git): [ruby/reline] Work with wrong $/ value correctly
- https://github.com/ruby/reline/commit/962ebf5a1b
-
08:41 AM Revision 22477128 (git): [ruby/irb] Suppress crashing when EncodingError has occurred without lineno
- https://github.com/ruby/irb/commit/13572d8cdc
-
08:41 AM Revision ffbb162f (git): [ruby/irb] Detect multiple lines output simplify
- The old implementation performance test code:
require 'objspace'
puts "%.5g MB" % (ObjectSpace.memsize_of_all * 0.001 * 0.001)
/\A.*\Z/ !~ ('abc' * 20_000_000)
puts "%.5g MB" % (ObjectSpace.memsize_of_all * 0.001 * 0.001... -
08:41 AM Revision b08c1bea (git): [ruby/irb] Unnamed groups are not captured when named groups are used
- https://github.com/ruby/irb/commit/0a641a69b0
-
05:54 AM Revision ba04678c (git): Ignore test_getbinaryfile for --jit-wait
- To fix this properly, we'd need to configure timeout for the server and
the client because waiting for compilation takes time.
Until we figure out how to do it, let me skip this.
03/25/2020
-
06:38 PM Feature #14718: Use jemalloc by default?
- I just tried this and saw dramatic reduction in memory use per time. Why isn't this the default??
-
06:28 PM Feature #16739: Allow Hash#keys and Hash#values to accept a block for filtering output
- Thank you for the examples and links.
`filter_map` looks good enough for this to me.
In general I think we avoid adding blocks to core methods, because indeed it's not clear if people expect #map, #select or #filter_map behavior, a... -
03:31 PM Feature #16739: Allow Hash#keys and Hash#values to accept a block for filtering output
- > All it does is saves you from typing `select`. It does not look like the proposed feature makes much difference unless such situation is frequently met. Do you have any use case?
I see code that could be improved with this all the tim... -
03:14 PM Feature #16739: Allow Hash#keys and Hash#values to accept a block for filtering output
- I doubt if it is obvious. See the following code. I believe that many people expect `.map`.
```ruby
hash.keys {|k| k.to_s }
```
If you want to avoid an intermediate array, you may want to use `.each_key` or `.filter_map`.
``... -
03:31 AM Feature #16739: Allow Hash#keys and Hash#values to accept a block for filtering output
- All it does is saves you from typing `select`. It does not look like the proposed feature makes much difference unless such situation is frequently met. Do you have any use case?
Also, the purpose of a block following the methods `keys`... - 04:19 PM Revision eaf06f45 (git): * 2020-03-26 [ci skip]
-
04:19 PM Revision ff98931d (git): check flags passed to rb_nogvl()
- RB_NOGVL_UBF_ASYNC_SAFE is wrongly specified because flags
is not checked.
[Bug #15499] 23444302 -
02:32 PM Revision 34d881cb (git): Fix AppVeyor CI sometimes fail
-
01:49 PM Feature #14788: `Hash#keys` Could Accept a Block
- Just noting that I have a similar (but different) proposal in #16739.
-
01:10 PM Bug #16738 (Closed): RbConfig::CONFIG["SDKROOT"] not frozen on macOS
- Applied in changeset commit:git|4adb2d655dcd54b28366b4d17e86b21e2b622cd1.
----------
Make RbConfig::CONFIG values mutable [Bug #16738]
As `RbConfig.expand` modifies the argument and involved `CONFIG`
values, its values should be mutable. -
01:09 PM Revision 4adb2d65 (git): Make RbConfig::CONFIG values mutable [Bug #16738]
- As `RbConfig.expand` modifies the argument and involved `CONFIG`
values, its values should be mutable. -
12:39 PM Revision 48a5c155 (git): Import racc-1.5.0 from upstream repository.
-
05:50 AM Bug #16737: File::BINARY doesn't work
- It's rather misleading to get `f.binmode? #=> true` and `f.external_encoding #=> #<Encoding:ASCII-8BIT>` with `'wb'` on unix-family OS.
-
05:30 AM Bug #16737: File::BINARY doesn't work
- Binary mode makes sense only on Windows.
Just ignore it. -
04:58 AM Feature #1089: Stable sorting for sort and sort_by
- "sad"
It's just surprising that "depending on OS" sometimes sort is always stable. Then occasionally isn't. Without it nested `sort_by`'s don't work as you'd expect (secondary, tertiary sort), without high performance hit of the #wi...
03/24/2020
-
09:16 PM Bug #16736: Prepending blank module breaks super call in aliased method
- Pull request submitted: https://github.com/ruby/ruby/pull/2978
This includes a GC change to prevent a use-after-free, but I'm not sure if the change introduces a memory leak. Someone that knows more about GC and in what cases iclasse... -
05:30 PM Bug #16736: Prepending blank module breaks super call in aliased method
- This is due to the origin pointers on the module iclasses being incorrectly set to the module's origin instead of the iclass origin. Setting the origin pointers correctly requires using a stack, as the origin iclasses are created after ...
-
03:25 PM Bug #16736 (Assigned): Prepending blank module breaks super call in aliased method
-
03:25 PM Bug #16736: Prepending blank module breaks super call in aliased method
- According to bisect, the behavior was changed by commit:5069c5f5214ce68df8b3954321ad9114c5368dc3.
@jeremyevans0 Could you please check it out? -
02:09 PM Bug #16736 (Closed): Prepending blank module breaks super call in aliased method
- Here is the test script:
```
class A
def key
["some_key"]
end
end
module M
prepend Module.new
def self.included(base)
base.alias_method :base_key, :key
end
def key
super + ["new_key"]
end
... -
09:00 PM Feature #16739 (Open): Allow Hash#keys and Hash#values to accept a block for filtering output
- I often see code like the following:
``` ruby
hash.select { |_, v| v == :some_value }.keys
hash.keys.select { |k| k.nil? || k.even? }
hash.select { |k, v| valid_key?(k) && valid_value?(v) }.values
```
Each of these code snippet... -
05:13 PM Bug #16738: RbConfig::CONFIG["SDKROOT"] not frozen on macOS
- The reason RbConfig entries cannot be frozen currently is because RbConfig.expand which calls String#replace.
So I think this is a bug, and we should ensure all RbConfig entries are mutable, hence the spec.
Alternatively, one could t... -
03:57 PM Bug #16738 (Closed): RbConfig::CONFIG["SDKROOT"] not frozen on macOS
- The `RbConfig::CONFIG["SDKROOT"]` is not frozen on macOS when the `SDKROOT` environment variable is set which causes the kernel spec (https://github.com/ruby/ruby/blob/1b3339528c0804aa0e673bd3f15be8b087d17bd8/spec/ruby/library/rbconfig/r...
- 04:45 PM Revision edffe78a (git): * 2020-03-25 [ci skip]
-
04:23 PM Revision c7d66880 (git): Fixed crash when argument array is modified
-
02:24 PM Bug #16737 (Closed): File::BINARY doesn't work
- `File.open` takes a `mode` argument which can be given as a string or as an integer using `File::Constants`.
When using the latter, the constant `File::BINARY` doesn't have any effect:
```ruby
# this works:
File.open('foo', 'wb')... -
08:43 AM Revision 1b333952 (git): Skip a test that attempts to remove the current directory on Solaris
-
08:21 AM Revision 12a3671a (git): test/rubygems: Try not only /usr/bin/env but also /bin/env
- RubyGems chooses available one from the two: /usr/bin/env or /bin/env
https://github.com/rubygems/rubygems/blob/20b0d609484df2b514954ba9ef890a7cbdd01d18/lib/rubygems/installer.rb#L38
So, it is good not to hard-code /usr/bin/env in test... -
06:39 AM Revision 96064e6f (git): Sync rubygems with current master (#2889)
- 06:36 AM Revision 930b012a (git): Add rexml to fix rss of test-bundled-gems (#2976)
-
05:56 AM Revision f6b6a7ad (git): Show failed times
-
05:53 AM Revision eff0c5bf (git): Try to avoid random failures on clock_getres_spec.rb
- This spec fails too often
https://github.com/ruby/ruby/runs/529546249
https://github.com/ruby/ruby/runs/524933256 -
05:44 AM Revision 5c4847f1 (git): Use miniruby to run tool/mjit_tabs.rb
- hoping to fix https://github.com/ruby/actions/runs/527422022
-
05:33 AM Revision 5b3157a5 (git): Make file names and variable names consistent
-
04:46 AM Revision 6ab36646 (git): Moved MJIT_WITHOUT_TABS default to configure.ac
- And then the environment variable.
- 01:56 AM Revision 448c76be (git): * 2020-03-24 [ci skip]
-
01:45 AM Revision c565dfb0 (git): test/json/test_helper.rb: Do not add a relative path to $LOAD_PATH
- ... because it conflicts with test/ruby/test_m17n.rb.
An exception `incompatible character encodings: UTF-8 and UTF-16BE`
occurs when:
* a non-existence relative path is added to $LOAD_PATH,
* ASCII-incompatible encoding is set to defa...
03/23/2020
-
01:59 PM Bug #16702 (Closed): test-all failure - JIT tests - mswin
-
01:10 PM Bug #16702: test-all failure - JIT tests - mswin
- The last cron build of mswin passed. Haven't looked thru the commits yet.
```
Passed: ruby 2.8.0dev (2020-03-23T06:15:50Z master 13e9551b97) [x64-mswin64_140]
```
Ok to close... -
03:55 AM Bug #16702 (Closed): test-all failure - JIT tests - mswin
- The ruby-loco mswin build has been passing for quite a while (done three times a day).
It failed as below on test-all. Appears to be JIT related tests.
```
Failed: ruby 2.8.0dev (2020-03-23T02:32:20Z master 21d8e69248) [x64-mswin64... -
10:57 AM Feature #16703 (Open): Namespace parameter for `Module#name`
- I often see code that intends to remove a portion of the namespace from a module/class name like this:
```ruby
class A; class B class C; end end end
A::B::C.name.delete_prefix("A::") # => "B::C"
A::B::C.name.delete_prefix("A::B::")... -
06:15 AM Revision 13e9551b (git): Change the filename like make variable
- for consistency
-
06:14 AM Revision 3bd7d561 (git): Make the first argument slightly more robust
-
06:12 AM Revision d578f1d3 (git): Change the run_without_tabs switching to dedicated
- variable of make instead of d059714746 as requested.
You can disable this like `make MJIT_WITHOUT_TABS=false` or
`export MJIT_WITHOUT_TABS=false`. -
03:20 AM Revision d0597147 (git): Disable run_without_tabs when there's no -ggdb3
- in debugflags, as requested by nobu
I actually wanted to check debugflags directly rather than MJIT_DEBUGFLAGS
because debugflags is always used but MJIT_DEBUGFLAGS may not be always used.
But I couldn't find a better way to check debug... -
02:32 AM Revision 21d8e692 (git): disable to show the maximum number of threads.
- On Deiban 9 environment, the thread tests failed and
this maximum threads information can finish up the machine
resources. To check it, I turned-off showing this information. -
01:55 AM Revision 1d996fe7 (git): test/ruby/test_m17n.rb: Update the debugging code to get C stacktrace
03/22/2020
-
11:37 PM Revision c4e3d9e9 (git): Expand tabs of include/ruby/ruby.h in MJIT header
- rb_class_of is indented with tabs
-
10:49 PM Revision 3cf3427c (git): Try asserting no static decl rather than warning
- This didn't exist in my machine, but it may exist in some CI
environments. -
10:46 PM Revision a55f6707 (git): Reduce the number of lines used by transform_mjit_header
-
07:19 PM Revision dec0f582 (git): Workaround an encoding problem in run_without_tabs
- It's to be fixed properly later. But this should be able to avoid the failure.
https://travis-ci.org/github/ruby/ruby/jobs/665580361
https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20200322T190003Z.fail.htm... -
06:50 PM Revision 9ebf74fd (git): Expand tabs for rb_mjit_header.h (#2975)
- This is necessary to avoid converting a hard tab to just 1 space in
preprocessor to generate rb_mjit_header.h, which is helpful when using
gdb or perf report.
See also: [Misc #16112]
This reverts commit 91acdd17c4b4bb69a8fa3ada46e09dad... -
05:13 PM Revision 1c056829 (git): test/ruby/test_m17n.rb: Make the debugging code print to stderr
- The test is executed with -j8, so printing someting to stdout may break.
-
04:33 PM Bug #16701 (Rejected): Odd output when using _1 ("ordinary parameter is defined")
- This is expected behavior. You can't use both named block parameters and numbered block parameters in the same block. You either need:
```ruby
i.each {|first_argument, second_argument|
pp first_argument
pp second_argume... -
04:17 PM Bug #16701: Odd output when using _1 ("ordinary parameter is defined")
- Yikes, small copy/paste typo from me above; should be
def foobar(i = @hash)
-
04:16 PM Bug #16701 (Rejected): Odd output when using _1 ("ordinary parameter is defined")
- I have tried to reproduce this issue into a small script, so first the code, to ease
copy/pasting (don't mind the quality; I encountered this in a larger script, so I
just tried to narrow this down):
@hash = {}
@hash['abc']... - 04:30 PM Revision f7573303 (git): * 2020-03-23 [ci skip]
-
04:30 PM Feature #16175 (Closed): Object#clone(freeze: true) is inconsistent with Object#clone(freeze: false)
- Applied in changeset commit:git|4f7b435c955792af780fe9e94f98d3dde839e056.
----------
Support obj.clone(freeze: true) for freezing clone
This freezes the clone even if the receiver is not frozen. It
is only for consistency with freeze:... -
04:30 PM Revision adecd431 (git): Merge pull request #2721 from jeremyevans/method-inspect-chain-alias-11188
- Correctly show defined class for aliases of aliases
-
04:30 PM Revision 4f7b435c (git): Support obj.clone(freeze: true) for freezing clone
- This freezes the clone even if the receiver is not frozen. It
is only for consistency with freeze: false not freezing the clone
even if the receiver is frozen.
Because Object#clone is now partially implemented in Ruby and
not fully imp... -
01:34 PM Revision 095e9f57 (git): test/ruby/test_m17n.rb: Add a temporal code for debugging
- http://ci.rvm.jp/logfiles/brlog.trunk-test-random.20200322-221411
```
I, [2020-03-22T22:15:50.761950 #23076] INFO -- : 1) Error:
I, [2020-03-22T22:15:50.761963 #23076] INFO -- : TestM17N#test_object_inspect_external:
I, [2020-03-22T2... -
12:58 PM Revision 6ab7d439 (git): test/ruby/test_fiber.rb (test_many_fibers_with_threads): relax timeout
- This test takes 40..50 seconds under Solaris 11, so the timeout (60
seconds) was too strict. This change increases it to 180 seconds.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11-gcc/ruby-master/log/20200322T100007Z.fail.h... -
07:53 AM Revision 91acdd17 (git): Revert "Expand tabs for rb_mjit_header.h"
- This reverts commit 57119dd561418c917b885db5f5af7f129a96d1ec.
Temporarily reverting for Travis failures -
07:37 AM Revision 57119dd5 (git): Expand tabs for rb_mjit_header.h
- I can't live without this when using gdb or perf report.
See also: [Misc #16112] - 04:09 AM Revision 0bed561f (git): * 2020-03-22 [ci skip]
-
04:07 AM Revision 355c27d2 (git): Update power_assert to 1.1.7
- This update fixes test-bundled-gems failures:
https://github.com/ruby/actions/actions/runs/60272820
https://github.com/ruby/actions/actions/runs/60273425 -
02:23 AM Bug #16694: JIT vs hardened GCC with PCH
- On 03/21/2020 03:13 PM, takashikkbn@gmail.com wrote:
> Issue #16694 has been updated by k0kubun (Takashi Kokubun).
>
>
>> But how about performance? It has to lead to slower compilation (at least the second time). I worry about ...