summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-22[ruby/bigdecimal] [Doc] Fix the comment of BigDecimal_div2 [ci skip]Kenta Murata
https://github.com/ruby/bigdecimal/commit/a109d0984f
2021-01-22[ruby/bigdecimal] Stop using GetVpValue in rb_big_convert_to_BigDecimalKenta Murata
https://github.com/ruby/bigdecimal/commit/034fd2b25e
2021-01-22fix Ractor.yield(obj, move: true)Koichi Sasada
Ractor.yield(obj, move: true) and Ractor.select(..., yield_value: obj, move: true) tried to yield a value with move semantices, but if the trial is faild, the obj should not become a moved object. To keep this rule, `wait_moving` wait status is introduced. New yield/take process: (1) If a ractor tried to yield (move:true), make taking racotr's wait status `wait_moving` and make a moved object by `ractor_move(obj)` and wakeup taking ractor. (2) If a ractor tried to take a message from a ractor waiting fo yielding (move:true), wakeup the ractor and wait for (1). Notes: Merged: https://github.com/ruby/ruby/pull/4105
2021-01-22alen should be actions number on ractor_select()Koichi Sasada
alen was number of rs, but it should be actions number (taking ractors + receiving + yielding). Notes: Merged: https://github.com/ruby/ruby/pull/4105
2021-01-22[ruby/irb] Delete a doodle-level memo comment...aycabta
https://github.com/ruby/irb/commit/fc3e1d9e0c
2021-01-21Fix more assumptions about the read barrierAaron Patterson
This is a continuation of 0130e17a410d60a10e7041ce98748b8de6946971. We need to always use the read barrier
2021-01-21[ruby/matrix] Replace "iff" with "whether" [doc]Gannon McGibbon
iff means if and only if, but readers without that knowledge might assume this to be a spelling mistake. To me, this seems like exclusionary language that is unnecessary. Simply using "whether" when describing return values should suffice.
2021-01-21[ruby/matrix] Add `Matrix#rotate_entries` [#19]Felix Wolfsteller
Co-authored-by: Marc-André Lafortune <github@marc-andre.ca>
2021-01-21Always enabled read barrier even on GC.compactAaron Patterson
Some objects can survive the GC before compaction, but get collected in the second compaction. This means we could have objects reference T_MOVED during "free" in the second, compacting GC. If that is the case, we need to invalidate those "moved" addresses. Invalidation is done via read barrier, so we need to make sure the read barrier is active even during `GC.compact`. This also means we don't actually need to do one GC before compaction, we can just do the compaction and GC in one step.
2021-01-22* 2021-01-22 [ci skip]git
2021-01-22use ractor_wakeup()Koichi Sasada
Use ractor_wakeup() for same code.
2021-01-21[ruby/net-http] RubyVM::MJIT is deprecated, prefer RubyVM::JIT nowNobuyoshi Nakada
https://github.com/ruby/net-http/commit/abc6ea1877
2021-01-21[ruby/erb] Version 2.2.2Takashi Kokubun
https://github.com/ruby/erb/commit/3d84ea83bc
2021-01-21[ruby/erb] Let ERB.version just return a versionTakashi Kokubun
and deprecate ERB::Revision. `'$Date:: $'` has not been working since Git migration from SVN. I'm sorry. Because it has been already broken, I'd like to take this opportunity to make `ERB.version` compatible with `Gem::Version.new`. https://github.com/ruby/erb/commit/2b4182eb10
2021-01-20Update NEWS.md about deprecationTakashi Kokubun
2021-01-21[ruby/erb] Version 2.2.1Takashi Kokubun
https://github.com/ruby/erb/commit/c8aa019c26
2021-01-20Fix the relative path for Ruby coreTakashi Kokubun
2021-01-20[ruby/erb] Unify ERB version definitionsTakashi Kokubun
https://github.com/ruby/erb/commit/5df06b8473
2021-01-20[ruby/erb] Make styles consistent throught the projectTakashi Kokubun
https://github.com/ruby/erb/commit/c68c9470b0
2021-01-21[ruby/erb] Warn safe_level and later args even without -wTakashi Kokubun
because, when Ruby 3.1 is released, Ruby 2.5, the last version with the old method signature, will have been EOL. Therefore we can safely warn the old interface from Ruby 3.1. https://github.com/ruby/erb/commit/c3a753f49f
2021-01-21[ruby/erb] Make sure erb.rb in this repository is testedTakashi Kokubun
https://github.com/ruby/erb/commit/012faba2e5
2021-01-20objspace_dump.c: Handle allocation path and line missingJean Boussier
Notes: Merged: https://github.com/ruby/ruby/pull/4078
2021-01-20Explicit references to EnumerableBurdetteLamar
2021-01-21* 2021-01-21 [ci skip]git
2021-01-21Support `i` command in log-fixNobuyoshi Nakada
2021-01-20Skip freezing check on setting temporary class path [Bug #17563]Nobuyoshi Nakada
Co-authored-by: ryannevell (Ryan Nevell) <ryan.nevell@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/4101
2021-01-20[ruby/irb] Remove pp-specific stub from TestColorTakashi Kokubun
because it was for TestColorPrinter https://github.com/ruby/irb/commit/7569206fd4
2021-01-20[ruby/irb] Undefine unused constantsTakashi Kokubun
https://github.com/ruby/irb/commit/eea9c16804
2021-01-20[ruby/irb] Split test files for IRB::Color and IRB::ColorPrinterTakashi Kokubun
https://github.com/ruby/irb/commit/d95e8daab3
2021-01-20[ruby/erb] Prefer __dir__ to reduce ../Takashi Kokubun
https://github.com/ruby/erb/commit/cb59f11ec8
2021-01-20Pend erb command tests for Ruby 2.5 for nowTakashi Kokubun
2021-01-19Replace "iff" with "if and only if"Gannon McGibbon
iff means if and only if, but readers without that knowledge might assume this to be a spelling mistake. To me, this seems like exclusionary language that is unnecessary. Simply using "if and only if" instead should suffice. Notes: Merged: https://github.com/ruby/ruby/pull/4035
2021-01-20* 2021-01-20 [ci skip]git
2021-01-19[ruby/irb] Rescue Errno::EINVAL on IRB ppTakashi Kokubun
http://rubyci.s3.amazonaws.com/solaris11-gcc/ruby-master/log/20210119T070008Z.log.html.gz is caused by: /export/home/chkbuild/chkbuild-gcc/tmp/build/20210119T150010Z/ruby/lib/reline/ansi.rb:157:in `winsize': Invalid argument - <STDIN> (Errno::EINVAL) from /export/home/chkbuild/chkbuild-gcc/tmp/build/20210119T150010Z/ruby/lib/reline/ansi.rb:157:in `get_screen_size' from /export/home/chkbuild/chkbuild-gcc/tmp/build/20210119T150010Z/ruby/lib/reline.rb:168:in `get_screen_size' from /export/home/chkbuild/chkbuild-gcc/tmp/build/20210119T150010Z/ruby/lib/forwardable.rb:238:in `get_screen_size' from /export/home/chkbuild/chkbuild-gcc/tmp/build/20210119T150010Z/ruby/lib/irb/color_printer.rb:7:in `pp' from -e:1:in `<main>' https://github.com/ruby/irb/commit/1719514598
2021-01-19Fixed premature returnNobuyoshi Nakada
After setting ruby2_keywords for bmethod, the rest of arguments had been ignored. [Bug #17558] Notes: Merged: https://github.com/ruby/ruby/pull/4096
2021-01-19[ruby/irb] Stub a screen size for test_contextTakashi Kokubun
http://ci.rvm.jp/logfiles/brlog.trunk-random1.20210119-074232 https://github.com/ruby/irb/commit/ea87592d4a
2021-01-18[ruby/irb] Support GitHub ActionsTakashi Kokubun
https://github.com/ruby/irb/commit/8e9e6c4037
2021-01-18[ruby/irb] Stub a screen size for testsTakashi Kokubun
https://github.com/ruby/irb/commit/6663057083
2021-01-18[ruby/irb] Use a real screen size for pp by defaultTakashi Kokubun
https://github.com/ruby/irb/commit/9b9300dec2
2021-01-19fix conditon of vm_cc_invalidated_p()Koichi Sasada
vm_cc_invalidated_p() returns false when the cme is *NOT* invalidated. Notes: Merged: https://github.com/ruby/ruby/pull/4091
2021-01-18Avoid suppressing unrelated warningsTakashi Kokubun
2021-01-19test/ruby/test_jit.rb: Avoid a warningYusuke Endoh
http://rubyci.s3.amazonaws.com/ubuntu2004/ruby-master/log/20210119T033003Z.log.html.gz ``` /home/chkbuild/chkbuild/tmp/build/20210119T033003Z/ruby/test/ruby/test_jit.rb:781: warning: -e:5: warning: possibly useless use of -@ in void context ```
2021-01-19test/ruby/test_pattern_matching.rb: Avoid a warningYusuke Endoh
http://rubyci.s3.amazonaws.com/ubuntu2004/ruby-master/log/20210119T033003Z.log.html.gz ``` /home/chkbuild/chkbuild/tmp/build/20210119T033003Z/ruby/test/ruby/test_pattern_matching.rb:798: warning: assigned but unused variable - x ```
2021-01-19Use real-case version number for the result of `gem list`Hiroshi SHIBATA
2021-01-19Mark pattern labels as unremoveableVladimir Dementyev
Peephole optimization doesn't play well with find pattern at least. The only case when a pattern matching could have unreachable patterns is when we have lasgn/dasgn node, which shouldn't happen in real-life. Fixes https://bugs.ruby-lang.org/issues/17534
2021-01-18Fix JIT link failuresTakashi Kokubun
forgotten in https://github.com/ruby/ruby/pull/4018
2021-01-18Fix typo: invaldate -> invalidateAlan Wu
2021-01-19Added empty ruby2_keywords gem to suffice dependenciesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4090
2021-01-18Revert "[Document][Array] Add missing call-seq for Array#append"Marc-Andre Lafortune
This reverts commit ac1a4bccbda4358436a7a907a7f09d047f562740. See https://github.com/ruby/ruby/pull/4088
2021-01-19* 2021-01-19 [ci skip]git