Граф коммитов

60527 Коммитов

Автор SHA1 Сообщение Дата
Koichi Sasada 0bfee2397b show debug info.
https://gist.github.com/ko1/a71f7cbcfbd61ba004bffdfedab9f5f2#file-brlog-trunk-random0-20200302-020213-L2127
2020-03-02 11:43:17 +09:00
Kazuki Tsujimoto d25a4f413d
Allow trailing comma in hash pattern 2020-03-01 14:35:48 +09:00
Koichi Sasada 356e032e1a require enc/trans/single_byte in advance.
enc/trans/single_byte is needed to run some tests, however
it will fail to require because $: is empty.
2020-03-01 04:59:27 +09:00
git a70aa5998c * 2020-03-01 [ci skip] 2020-03-01 03:03:16 +09:00
Koichi Sasada 413c98003b show backtrace.
assert_nothing_raised doesn't show the backtrace if an exception
is thrown in a block. This patch shows this backtrace.
2020-03-01 03:02:05 +09:00
Nobuyoshi Nakada af1863734c
Adjust types 2020-02-29 21:42:38 +09:00
Nobuyoshi Nakada 403675e8dc
Named `tLABEL` token 2020-02-29 21:42:38 +09:00
Takashi Kokubun adcf0316d1
Prevent unloading methods used in root_fiber while calling another Fiber (#2939)
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
2020-02-28 23:58:33 -08:00
Takashi Kokubun a8dcab7233
Avoid infinite loop on --jit-wait 2020-02-28 23:20:44 -08:00
Nobuyoshi Nakada 5e897227ff
Added more benchmarks for String 2020-02-29 15:42:24 +09:00
Kazuhiro NISHIYAMA f5b7896921
Fix a typo [ci skip] 2020-02-29 15:14:01 +09:00
Takashi Kokubun 7da11ed738
Suppress security alerts
https://github.com/advisories/GHSA-jppv-gw3r-w3q8
2020-02-28 21:05:08 -08:00
Nobuyoshi Nakada 2b85591943
Fix up mark-ups in NEWS [ci skip] 2020-02-29 13:24:29 +09:00
Nobuyoshi Nakada 0333f3c03c
Missing links in NEWS [ci skip] 2020-02-29 12:20:49 +09:00
Jeremy Evans 99ff4d61ec Update NEWS [ci skip] 2020-02-28 16:12:13 -08:00
Koichi Sasada b3983c68dd should not expose hidden object.
Hidden object (T_CLASS) can be exposed (BUG).
Also rename rb_mInternalObjectWrapper to rb_cInternalObjectWrapper
because it is a class.
2020-02-29 04:22:17 +09:00
aycabta b621c9abd1 Set Readline.completion_append_character = nil always
GNU Readline add a white space when Readline.completion_append_character is
not initialized.
2020-02-29 03:32:36 +09:00
dependabot[bot] 02a3e27608
Bump rake from 10.5.0 to 12.3.3 in /spec/mspec (#2942)
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>
2020-02-28 10:13:28 -08:00
Benoit Daloze a0f5ff4c3c Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
Benoit Daloze 5d21050182 Update to ruby/mspec@a514ad7 2020-02-28 19:07:14 +01:00
git a8687f3ef8 * 2020-02-29 [ci skip] 2020-02-29 00:49:01 +09:00
Koichi Sasada cb681c20c0 restore server[:DocumentRootOptions] setting.
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-29 00:43:41 +09:00
Koichi Sasada f7be85a2b7 support random order test.
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-28 23:32:56 +09:00
Nobuyoshi Nakada 72c02aa4b7
Moved not-implemented method tests [Bug #16662]
Test not-implemented method with the dedicated methods, instead of
platform dependent features.
2020-02-28 21:15:37 +09:00
Nobuyoshi Nakada 07f27383b7
Refined argument name 2020-02-28 20:10:46 +09:00
aycabta 6df8cfb771 Omit test_using_quoting_detection_proc_with_multibyte_input temporarily for random order test 2020-02-28 19:28:11 +09:00
Koichi Sasada 6787ccf238 setup Other class.
Some tests need to setup Other class with OtherSetup proc.
2020-02-28 17:58:30 +09:00
Koichi Sasada 28399e4e0f respect --test-order=random
Now --test-order=random is simply ignored. This patch respect
this option.
2020-02-28 17:44:23 +09:00
Vít Ondruch 9bede6e942 Fix wrong RegExp.
The missing `\` in PR #2922 causes the default gems to be installed from
the .gem packages instead from the expanded sources.
2020-02-28 14:32:20 +09:00
Jeremy Evans 3556a834a2 Make Module#include affect the iclasses of the module
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]
2020-02-27 11:03:13 -08:00
git 1ca3a22117 * 2020-02-28 [ci skip] 2020-02-28 03:18:15 +09:00
Jeremy Evans 54499d7810 Remove support for passing nil to IO#ungetc
Fixes [Bug #13675]
2020-02-27 10:17:54 -08:00
Hiroshi SHIBATA 229ba1215f
Merge racc from upstream repository.
* Support Ruby 2.4's frozen string literals.
  * Remove VCS revisions headers.
2020-02-27 13:33:51 +09:00
प्रथमेश Sonpatki 9a422fc010
Update docs for Time#at method [ci skip]
Add docs about all possible options for the `in` argument.
2020-02-27 11:08:49 +09:00
Koichi Sasada 18674aef0d check imemo_type
check imemo_type to debug
http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2744755
2020-02-27 10:50:20 +09:00
Yusuke Endoh 1d81baf3c1 st.c: remove variables that are no longer used
to suppress a warning "variable 'check' set but not used"
2020-02-27 09:49:24 +09:00
Koichi Sasada 6b30638bdb MiniTest::Unit.options has default :seed
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 04:06:28 +09:00
Koichi Sasada 14f1790807 `srand($seed)` at the beginning of each test
To avoid `srand(0)` effect in the other tests, call `srand($seed)`
at the beginning of each test (setup).
[Feature #16655]
2020-02-27 03:47:41 +09:00
Koichi Sasada f9d314245b Revert "`srand($seed)` at the beginning of each test"
This reverts commit 7c1553e91d.
It breaks some tests.
2020-02-27 02:45:09 +09:00
git 8296da883c * 2020-02-27 [ci skip] 2020-02-27 02:32:56 +09:00
Koichi Sasada 7c1553e91d `srand($seed)` at the beginning of each test
To avoid `srand(0)` effect in the other tests, call `srand($seed)`
at the beginning of each test (setup).
[Feature #16655]
2020-02-27 02:29:57 +09:00
Koichi Sasada 116c632095 don't ignore `--seed` option
`--seed N` option is just ignored so respect this option.
[Feature #16655]

Also making "Run options" display pretty.
2020-02-27 02:26:14 +09:00
Takashi Kokubun 83705c42ce
Add missing free on cc_entries
Looks like an oversight in b9007b6c54 and
7ec2359374.
2020-02-26 00:37:37 -08:00
Takashi Kokubun 33b78b89ac
Eliminate unnecessary mjit_iseq_cc_entries calls
just in case.
2020-02-26 00:34:02 -08:00
Takashi Kokubun 69f377a3d6
Internalize rb_mjit_unit definition again
Fixed a TODO in b9007b6c54
2020-02-26 00:27:29 -08:00
Takashi Kokubun daf7c48d88
Explain the situation of inner cc_entries [ci skip]
Add a little more details in 7ec2359374
2020-02-25 23:55:54 -08:00
Takashi Kokubun 55923ba883
Note a situation around xmalloc vs free in MJIT [ci skip]
shared by ko1
2020-02-25 23:48:49 -08:00
Nobuyoshi Nakada 8dab71b9d0
Simplified single script case
Simply use `File.basename` to remove the directory name (and
suffix), instead of `gsub` which can replace unintended parts.
2020-02-26 16:45:35 +09:00
Takashi Kokubun eb75f0d134
Remove an unused declaration
It was unnecessary in b9007b6c54
2020-02-25 23:24:25 -08:00
卜部昌平 fbd7f08e92 kill ST_DEBUG [Bug #16521]
This compile-time option has been broken for years (at least since
commit 4663c224fa, according to git
bisect). Let's delete codes that no longer work.
2020-02-26 16:00:57 +09:00