summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-02need to restore $stdin.Koichi Sasada
2020-03-02* 2020-03-02 [ci skip]git
2020-03-02show debug info.Koichi Sasada
https://gist.github.com/ko1/a71f7cbcfbd61ba004bffdfedab9f5f2#file-brlog-trunk-random0-20200302-020213-L2127
2020-03-01Allow trailing comma in hash patternKazuki Tsujimoto
2020-03-01require enc/trans/single_byte in advance.Koichi Sasada
enc/trans/single_byte is needed to run some tests, however it will fail to require because $: is empty.
2020-03-01* 2020-03-01 [ci skip]git
2020-03-01show backtrace.Koichi Sasada
assert_nothing_raised doesn't show the backtrace if an exception is thrown in a block. This patch shows this backtrace.
2020-02-29Adjust typesNobuyoshi Nakada
2020-02-29Named `tLABEL` tokenNobuyoshi Nakada
2020-02-28Prevent unloading methods used in root_fiber while calling another Fiber (#2939)Takashi Kokubun
Fixing SEGVs like: http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2744905 http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2744420 http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2741400 Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2020-02-28Avoid infinite loop on --jit-waitTakashi Kokubun
2020-02-29Added more benchmarks for StringNobuyoshi Nakada
2020-02-29Fix a typo [ci skip]Kazuhiro NISHIYAMA
2020-02-28Suppress security alertsTakashi Kokubun
https://github.com/advisories/GHSA-jppv-gw3r-w3q8
2020-02-29Fix up mark-ups in NEWS [ci skip]Nobuyoshi Nakada
2020-02-29Missing links in NEWS [ci skip]Nobuyoshi Nakada
2020-02-28Update NEWS [ci skip]Jeremy Evans
2020-02-29should not expose hidden object.Koichi Sasada
Hidden object (T_CLASS) can be exposed (BUG). Also rename rb_mInternalObjectWrapper to rb_cInternalObjectWrapper because it is a class.
2020-02-29Set Readline.completion_append_character = nil alwaysaycabta
GNU Readline add a white space when Readline.completion_append_character is not initialized.
2020-02-28Bump rake from 10.5.0 to 12.3.3 in /spec/mspec (#2942)dependabot[bot]
Bumps [rake](https://github.com/ruby/rake) from 10.5.0 to 12.3.3. - [Release notes](https://github.com/ruby/rake/releases) - [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc) - [Commits](https://github.com/ruby/rake/compare/v10.5.0...v12.3.3) Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2020-02-28Update to ruby/spec@41bf282Benoit Daloze
2020-02-28Update to ruby/mspec@a514ad7Benoit Daloze
2020-02-29* 2020-02-29 [ci skip]git
2020-02-29restore server[:DocumentRootOptions] setting.Koichi Sasada
Surprisingly (at least for me), `server[:DocumentRootOptions]` on Webrick is global information and it affect the result of test_short_filename. Random order test fails because of global information change. I doubt it is bug, but to fix random order test, I restore the value.
2020-02-28support random order test.Koichi Sasada
test_readline: HISTORY should be empty. test_using_quoting_detection_proc: test_using_quoting_detection_proc_with_multibyte_input: Readline.completer_quote_characters= and Readline.completer_word_break_characters= doesn't accept nil, so skip if previous values are nil.
2020-02-28Moved not-implemented method tests [Bug #16662]Nobuyoshi Nakada
Test not-implemented method with the dedicated methods, instead of platform dependent features.
2020-02-28Refined argument nameNobuyoshi Nakada
2020-02-28Omit test_using_quoting_detection_proc_with_multibyte_input temporarily for ↵aycabta
random order test
2020-02-28setup Other class.Koichi Sasada
Some tests need to setup Other class with OtherSetup proc.
2020-02-28respect --test-order=randomKoichi Sasada
Now --test-order=random is simply ignored. This patch respect this option. Notes: Merged: https://github.com/ruby/ruby/pull/2932
2020-02-28Fix wrong RegExp.Vít Ondruch
The missing `\` in PR #2922 causes the default gems to be installed from the .gem packages instead from the expanded sources. Notes: Merged: https://github.com/ruby/ruby/pull/2933
2020-02-27Make Module#include affect the iclasses of the moduleJeremy Evans
When calling Module#include, if the receiver is a module, walk the subclasses list and include the argument module in each iclass. This does not affect Module#prepend, as fixing that is significantly more involved. Fixes [Bug #9573] Notes: Merged: https://github.com/ruby/ruby/pull/2936
2020-02-28* 2020-02-28 [ci skip]git
2020-02-27Remove support for passing nil to IO#ungetcJeremy Evans
Fixes [Bug #13675] Notes: Merged: https://github.com/ruby/ruby/pull/2935
2020-02-27Merge racc from upstream repository.Hiroshi SHIBATA
* Support Ruby 2.4's frozen string literals. * Remove VCS revisions headers.
2020-02-27Update docs for Time#at method [ci skip]प्रथमेश Sonpatki
Add docs about all possible options for the `in` argument. Notes: Merged: https://github.com/ruby/ruby/pull/2929 Merged-By: nobu <nobu@ruby-lang.org>
2020-02-27check imemo_typeKoichi Sasada
check imemo_type to debug http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2744755
2020-02-27st.c: remove variables that are no longer usedYusuke Endoh
to suppress a warning "variable 'check' set but not used"
2020-02-27MiniTest::Unit.options has default :seedKoichi Sasada
MiniTest::Unit (superclass of Test::Unit::Runner) does not has default seed parameter, but assigned after initializing. However some tests use MiniTest::Unit without setup of seed option and it cases unexpected test failures. To solve this issue, add default seed parameter 42.
2020-02-27`srand($seed)` at the beginning of each testKoichi Sasada
To avoid `srand(0)` effect in the other tests, call `srand($seed)` at the beginning of each test (setup). [Feature #16655]
2020-02-27Revert "`srand($seed)` at the beginning of each test"Koichi Sasada
This reverts commit 7c1553e91db07fed4fed3287b50304f1c69a685d. It breaks some tests.
2020-02-27* 2020-02-27 [ci skip]git
2020-02-27`srand($seed)` at the beginning of each testKoichi Sasada
To avoid `srand(0)` effect in the other tests, call `srand($seed)` at the beginning of each test (setup). [Feature #16655]
2020-02-27don't ignore `--seed` optionKoichi Sasada
`--seed N` option is just ignored so respect this option. [Feature #16655] Also making "Run options" display pretty.
2020-02-26Add missing free on cc_entriesTakashi Kokubun
Looks like an oversight in b9007b6c548f91e88fd3f2ffa23de740431fa969 and 7ec23593746c8ccabd6c005cc34dde77d564c6c9.
2020-02-26Eliminate unnecessary mjit_iseq_cc_entries callsTakashi Kokubun
just in case.
2020-02-26Internalize rb_mjit_unit definition againTakashi Kokubun
Fixed a TODO in b9007b6c548f91e88fd3f2ffa23de740431fa969
2020-02-25Explain the situation of inner cc_entries [ci skip]Takashi Kokubun
Add a little more details in 7ec23593746c8ccabd6c005cc34dde77d564c6c9
2020-02-25Note a situation around xmalloc vs free in MJIT [ci skip]Takashi Kokubun
shared by ko1
2020-02-26Simplified single script caseNobuyoshi Nakada
Simply use `File.basename` to remove the directory name (and suffix), instead of `gsub` which can replace unintended parts.