summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [Doc] Update regex engine to Onigumo in doc/extension.* [ci skip]Kenichi Kamiya2021-03-272-4/+2
| | | regex.c has been removed in 8e65234086a15f90585bc09cce82dbad2aa647d7
* Add rb_exc_exception functionS.H2021-03-271-8/+13
| | | | | `rb_exc_raise` and `rb_fatal` func have similar code(in `eval.c`). I think that better cut out and replace these code like `rb_exc_exception` function.
* Fix Enumerable#tally with some arguments pattern [Feature #17744]Kenichi Kamiya2021-03-273-3/+54
| | | | | | | | | | | | | | * Add test cases for Enumerable#tally with hash argument * Add ruby/spec for Enumerable#tally with hash argument * Fix Enumerable#tally does not update given frozen hash * Add test cases for Enumerable#tally with hash convertible arguments * Fix SEGV when Enumerable#tally takes non Hash convertible * FIx cosmetic damage enum.c
* * 2021-03-27 [ci skip]git2021-03-271-1/+1
|
* No codesign in testsNobuyoshi Nakada2021-03-271-0/+1
|
* Enumerable#tally with the resulting hash [Feature #17744]Nobuyoshi Nakada2021-03-264-6/+64
|
* [ruby/erb] Version 2.2.3Takashi Kokubun2021-03-261-1/+1
| | | | https://github.com/ruby/erb/commit/03bc4a8274
* [ruby/erb] Clarify supported ruby versions in gemspecKenichi Kamiya2021-03-261-1/+1
| | | | https://github.com/ruby/erb/commit/b40db4114a
* * 2021-03-26 [ci skip]git2021-03-261-1/+1
|
* Stop downloading Unicode files twiceNobuyoshi Nakada2021-03-261-1/+1
| | | | These files should have been downloaded in update-remote.
* [ruby/irb] Cache completion files to requireaycabta2021-03-252-12/+33
| | | | https://github.com/ruby/irb/commit/612ebcb311
* Use XRUBY to expand path instead of platform dependentKazuhiro NISHIYAMA2021-03-251-3/+5
|
* Generate encoding header before enc.mkNobuyoshi Nakada2021-03-251-2/+3
| | | | As some encodings need the corresponding header.
* Keep unicode_normalize/tables.rb as-isNobuyoshi Nakada2021-03-251-3/+3
| | | | | Define no dependency unless ALWAYS_UPDATE_UNICODE is set to yes, so that `make prog` works in a just-checkedout working directory.
* Fix test-bundler-parallel errors when out-of-place buildKazuhiro NISHIYAMA2021-03-251-1/+2
|
* Change heap walking to be safe for object allocationPeter Zhu2021-03-242-44/+93
|
* Ensure that caller respects the start argumentJeremy Evans2021-03-242-2/+66
| | | | | | | | | | | | | | | | | | | | | | | 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>
* * 2021-03-25 [ci skip]git2021-03-251-1/+1
|
* Update bundled_gemsKazuhiro NISHIYAMA2021-03-251-1/+1
|
* Removed dln_a_outNobuyoshi Nakada2021-03-245-1069/+16
| | | a.out format is considered extinct nowadays.
* [ruby/irb] fix completion test when out-of-place buildNobuyoshi Nakada2021-03-241-1/+3
|
* [ruby/reline] Suppress crashing when completer_{quote,word_break}_characters ↵aycabta2021-03-242-4/+16
| | | | | | is empty https://github.com/ruby/reline/commit/c6f1164942
* [ruby/reline] Support preposing and postposing for Reline.completion_procaycabta2021-03-242-2/+86
| | | | https://github.com/ruby/reline/commit/1f469de90c
* [ruby/reline] Reline.delete_text removes the current line in multilineaycabta2021-03-242-4/+39
| | | | https://github.com/ruby/reline/commit/da90c094a1
* [ruby/reline] Add Reline.ungetc to control bufferaycabta2021-03-241-0/+4
| | | | https://github.com/ruby/reline/commit/43ac03c624
* Fix test-bundler failures when XDG_CONFIG_HOME is not writableKazuhiro NISHIYAMA2021-03-242-0/+5
| | | | | | | https://github.com/ruby/actions/runs/2175399707?check_suite_focus=true ``` Errno::EACCES: Permission denied @ dir_s_mkdir - /home/runner/.config/irb ```
* [ruby/irb] Complete require and require_relativeaycabta2021-03-243-2/+71
| | | | https://github.com/ruby/irb/commit/1c61178b4c
* [ruby/irb] Change ripper_lex_without_warning to a class methodaycabta2021-03-242-11/+9
| | | | https://github.com/ruby/irb/commit/d9f8abc17e
* Fixed compilation errors when USE_DLN_A_OUTNobuyoshi Nakada2021-03-241-37/+66
|
* Fix leaked file descriptor in passwd testPeter Zhu2021-03-241-0/+1
|
* * 2021-03-24 [ci skip]git2021-03-241-1/+1
|
* Free iv index tableAaron Patterson2021-03-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Ignore useless separators preceding a file encoding commentNobuyoshi Nakada2021-03-232-0/+9
|
* Assertion for colon-separated encoding pragmaNobuyoshi Nakada2021-03-231-0/+9
|
* Refined failure messages in TestFileExhaustive#test_testNobuyoshi Nakada2021-03-231-25/+25
|
* test/zlib/test_zlib.rb: stop a failure on armv7lYusuke Endoh2021-03-231-0/+6
| | | | | | | | | | 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.
* test/ruby/test_fiber.rb: relax timeout on SolarisYusuke Endoh2021-03-231-1/+1
| | | | | | | | ... 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.
* Suppress verbose messagesNobuyoshi Nakada2021-03-231-0/+2
| | | | | | | | Get rid of warnings in the parallel test. ``` unknown command: "Switch to inspect mode." ```
* * 2021-03-23 [ci skip]git2021-03-231-1/+1
|
* [Doc] Standardize wording s/sweeped/swept/Kenichi Kamiya2021-03-231-1/+1
|
* coroutine mac m1 update.David CARLIER2021-03-221-0/+5
| | | | using proper link register and frame pointer which equal x30/x29.
* vm dump display return address in the abscence of X30 in Mac ARM64.David CARLIER2021-03-221-0/+1
|
* solaris/illumos build fix.David Carlier2021-03-222-1/+3
|
* rb_enc_interned_str: handle autoloaded encodingsJean Boussier2021-03-226-16/+53
| | | | | | | | 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
* [Doc] Fix a typo around Hash#compare_by_identityKenichi Kamiya2021-03-221-2/+2
|
* [DOC] some methods of Fiber do not need to require anymore [Feature #17407]Kazuhiro NISHIYAMA2021-03-221-8/+3
|
* [Doc] Fix a typo s/interseting/interesting/Kenichi Kamiya2021-03-221-1/+1
|
* Hash#transform_values! ensures receiver modifiable in block [Bug #17736]Kenichi Kamiya2021-03-222-0/+10
|
* * 2021-03-22 [ci skip]git2021-03-221-1/+1
|
* Add `RbConfig::CONFIG["platform"]`Nobuyoshi Nakada2021-03-221-1/+3
| | | | | | 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.