summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-26Stop downloading Unicode files twiceNobuyoshi Nakada
These files should have been downloaded in update-remote.
2021-03-25[ruby/irb] Cache completion files to requireaycabta
https://github.com/ruby/irb/commit/612ebcb311
2021-03-25Use XRUBY to expand path instead of platform dependentKazuhiro NISHIYAMA
2021-03-25Generate encoding header before enc.mkNobuyoshi Nakada
As some encodings need the corresponding header.
2021-03-25Keep unicode_normalize/tables.rb as-isNobuyoshi Nakada
Define no dependency unless ALWAYS_UPDATE_UNICODE is set to yes, so that `make prog` works in a just-checkedout working directory.
2021-03-25Fix test-bundler-parallel errors when out-of-place buildKazuhiro NISHIYAMA
2021-03-24Change heap walking to be safe for object allocationPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4263
2021-03-24Ensure that caller respects the start argumentJeremy Evans
Previously, if there were ignored frames (iseq without pc), we could go beyond the requested start frame. This has two changes: 1) Ensure that we don't look beyond the start frame by using last_cfp = RUBY_VM_PREVIOUS_CONTROL_FRAME(last_cfp) until the desired start frame is reached. 2) To fix the failures caused by change 1), which occur when a limited number of frames is requested, scan the VM stack before allocating backtrace frames, looking for ignored frames. This is complicated if there are ignored frames before and after the start, in which case we need to scan until the start frame, and then scan backwards, decrementing the start value until we get to the point where start will result in the number of requested frames. This fixes a Rails test failure. Jean Boussier was able to to produce a failing test case outside of Rails. Co-authored-by: Jean Boussier <jean.boussier@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/4237
2021-03-25* 2021-03-25 [ci skip]git
2021-03-25Update bundled_gemsKazuhiro NISHIYAMA
2021-03-24Removed dln_a_outNobuyoshi Nakada
a.out format is considered extinct nowadays. Notes: Merged: https://github.com/ruby/ruby/pull/4317 Merged-By: nobu <nobu@ruby-lang.org>
2021-03-24[ruby/irb] fix completion test when out-of-place buildNobuyoshi Nakada
2021-03-24[ruby/reline] Suppress crashing when completer_{quote,word_break}_characters ↵aycabta
is empty https://github.com/ruby/reline/commit/c6f1164942
2021-03-24[ruby/reline] Support preposing and postposing for Reline.completion_procaycabta
https://github.com/ruby/reline/commit/1f469de90c
2021-03-24[ruby/reline] Reline.delete_text removes the current line in multilineaycabta
https://github.com/ruby/reline/commit/da90c094a1
2021-03-24[ruby/reline] Add Reline.ungetc to control bufferaycabta
https://github.com/ruby/reline/commit/43ac03c624
2021-03-24Fix test-bundler failures when XDG_CONFIG_HOME is not writableKazuhiro NISHIYAMA
https://github.com/ruby/actions/runs/2175399707?check_suite_focus=true ``` Errno::EACCES: Permission denied @ dir_s_mkdir - /home/runner/.config/irb ```
2021-03-24[ruby/irb] Complete require and require_relativeaycabta
https://github.com/ruby/irb/commit/1c61178b4c
2021-03-24[ruby/irb] Change ripper_lex_without_warning to a class methodaycabta
https://github.com/ruby/irb/commit/d9f8abc17e
2021-03-24Fixed compilation errors when USE_DLN_A_OUTNobuyoshi Nakada
2021-03-24Fix leaked file descriptor in passwd testPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4312
2021-03-24* 2021-03-24 [ci skip]git
2021-03-23Free iv index tableAaron Patterson
IV index tables weren't being freed. This program would leak memory: ```ruby loop do k = Class.new do def initialize @a = 1 @b = 1 @c = 1 @d = 1 @e = 1 @f = 1 @g = 1 end end k.new end ``` This commit fixes the leak. Notes: Merged: https://github.com/ruby/ruby/pull/4314
2021-03-23Ignore useless separators preceding a file encoding commentNobuyoshi Nakada
2021-03-23Assertion for colon-separated encoding pragmaNobuyoshi Nakada
2021-03-23Refined failure messages in TestFileExhaustive#test_testNobuyoshi Nakada
2021-03-23test/zlib/test_zlib.rb: stop a failure on armv7lYusuke Endoh
The platform defines a constant File::TMPFILE, but it seems unavailable (maybe depending on the file system?). http://rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20210322T171707Z.fail.html.gz This change adds some rescue cluases to the test, copied from test/ruby/test_file.rb.
2021-03-23test/ruby/test_fiber.rb: relax timeout on SolarisYusuke Endoh
... of test_many_fibers_with_threads because the test seems to take about 180 sec. on Solaris. This change extends the limit to 300 sec on Solaris. BTW, 180 sec. is too long for other normal environments, so this reverts Related to 6ab7d439f8d43234004e1760aa88a98c29129006 for them.
2021-03-23Suppress verbose messagesNobuyoshi Nakada
Get rid of warnings in the parallel test. ``` unknown command: "Switch to inspect mode." ```
2021-03-23* 2021-03-23 [ci skip]git
2021-03-23[Doc] Standardize wording s/sweeped/swept/Kenichi Kamiya
Notes: Merged: https://github.com/ruby/ruby/pull/4307
2021-03-22coroutine mac m1 update.David CARLIER
using proper link register and frame pointer which equal x30/x29. Notes: Merged: https://github.com/ruby/ruby/pull/4243
2021-03-22vm dump display return address in the abscence of X30 in Mac ARM64.David CARLIER
Notes: Merged: https://github.com/ruby/ruby/pull/4243
2021-03-22solaris/illumos build fix.David Carlier
Notes: Merged: https://github.com/ruby/ruby/pull/4301
2021-03-22rb_enc_interned_str: handle autoloaded encodingsJean Boussier
If called with an autoloaded encoding that was not yet initialized, `rb_enc_interned_str` would crash with a NULL pointer exception. See: https://github.com/ruby/ruby/pull/4119#issuecomment-800189841 Notes: Merged: https://github.com/ruby/ruby/pull/4290
2021-03-22[Doc] Fix a typo around Hash#compare_by_identityKenichi Kamiya
Notes: Merged: https://github.com/ruby/ruby/pull/4303
2021-03-22[DOC] some methods of Fiber do not need to require anymore [Feature #17407]Kazuhiro NISHIYAMA
2021-03-22[Doc] Fix a typo s/interseting/interesting/Kenichi Kamiya
Notes: Merged: https://github.com/ruby/ruby/pull/4304
2021-03-22Hash#transform_values! ensures receiver modifiable in block [Bug #17736]Kenichi Kamiya
Notes: Merged: https://github.com/ruby/ruby/pull/4302 Merged-By: nobu <nobu@ruby-lang.org>
2021-03-22* 2021-03-22 [ci skip]git
2021-03-22Add `RbConfig::CONFIG["platform"]`Nobuyoshi Nakada
Means the platform with the actual CPU info on universal binary. The CPU in "arch" is fixed as "universal" to refer the header and library paths. Notes: Merged: https://github.com/ruby/ruby/pull/4300 Merged-By: nobu <nobu@ruby-lang.org>
2021-03-21Share variables defined in common GNUmakefile also in cygwin/mingwNobuyoshi Nakada
2021-03-21[ruby/irb] Have some right paddingTakashi Kokubun
instead of filling out an entire line https://github.com/ruby/irb/commit/6ac8f45f5f
2021-03-21[ruby/irb] Deal with different screen sizesTakashi Kokubun
e.g. http://rubyci.s3.amazonaws.com/centos8/ruby-master/log/20210321T063003Z.fail.html.gz https://github.com/ruby/irb/commit/ddb3472ba2
2021-03-21[ruby/irb] Fix step's argumentTakashi Kokubun
cols.size was calling Integer#size, which returns 8. Fixing a bug of https://github.com/ruby/irb/pull/209 https://github.com/ruby/irb/commit/c93ae4be71
2021-03-21[ruby/irb] Fix column overflow on ls outputTakashi Kokubun
https://github.com/ruby/irb/commit/6115754623
2021-03-21Pattern matching pin operator against expression [Feature #17411]Kazuki Tsujimoto
This commit is based on the patch by @nobu.
2021-03-21[ruby/irb] Add whereami commandTakashi Kokubun
https://github.com/ruby/irb/commit/bc822e4aac
2021-03-21[ruby/irb] Implement ls commandTakashi Kokubun
https://github.com/ruby/irb/commit/19b6c20604
2021-03-21Ensure the receiver hash modifiable before updating [Bug #17736]Nobuyoshi Nakada
Close https://github.com/ruby/ruby/pull/4298 Notes: Merged: https://github.com/ruby/ruby/pull/4299