Benoit Daloze
c8172d0b96
rb_iterate is no longer used in ruby/spec
2021-07-26 13:24:38 +02:00
Nobuyoshi Nakada
b8386f7f7f
Prepend DebugSystem to VCS class only
...
And revert 24e5f1c982
, pepending to
Kernel did not affect the top level methods before 3.0.
2021-07-26 15:44:40 +09:00
Nobuyoshi Nakada
24e5f1c982
Ignore 7z unless available
...
`DebugSystem#system` is prepended in vcs.rb and defaulted to
`exception: true`.
2021-07-26 14:17:30 +09:00
git
165a098ffc
* 2021-07-26 [ci skip]
2021-07-26 05:09:20 +09:00
Nobuyoshi Nakada
070557afc4
Distinguish signal and timeout [Bug #16608 ]
2021-07-25 13:09:03 -07:00
Kazuhiro NISHIYAMA
8897098b5c
Update bundled_gems
2021-07-25 20:58:58 +09:00
git
02facb86da
* 2021-07-25 [ci skip]
2021-07-25 20:07:55 +09:00
Nobuyoshi Nakada
b360588cd3
Sort feature index arrays by the priority of file types [Bug #15856 ]
...
When looking for libraries to load with a feature name without
extension, `.rb` files are given priority. However, since the
feature index arrays were not in that order of priority, but in
the order in which they were loaded, a lower priority extension
library might be returned. In that case, the `.rb` file had to be
searched for again from the `$LOAD_PATH`, resulting in poor
performance.
2021-07-24 23:59:07 +09:00
git
971d24cd97
* 2021-07-24 [ci skip]
2021-07-24 17:58:57 +09:00
Nobuyoshi Nakada
eec45a93ef
Escape unprintable chars only, without surrounding quotes
2021-07-24 14:31:41 +09:00
Nobuyoshi Nakada
8cc18703cf
[NEWS] added [Feature #17798 ] [ci skip]
2021-07-23 12:43:51 +09:00
Nobuyoshi Nakada
5385731374
[NEWS] adjusted formats [ci skip]
2021-07-23 12:41:01 +09:00
Nobuyoshi Nakada
377995035a
Suppress exception message in finalizer [Feature #17798 ]
2021-07-23 12:01:15 +09:00
Nobuyoshi Nakada
fc4dd45d01
Show exception in finalizer [Feature #17798 ]
2021-07-23 12:01:15 +09:00
Nobuyoshi Nakada
63e5f4df38
Access rb_execution_context_t::errinfo directly
2021-07-23 12:01:15 +09:00
Nobuyoshi Nakada
b726c4ee38
Use rb_equal
...
It can be optimized and handles Qnil properly.
2021-07-23 10:25:37 +09:00
Nobuyoshi Nakada
4da07ac2f3
Finalizers no longer store the safe level
2021-07-23 10:25:37 +09:00
git
fc78a08904
* 2021-07-23 [ci skip]
2021-07-23 03:13:31 +09:00
manga_osyo
86e0eecc84
[ruby/irb] Fix #256
...
Support int that follow on symbeg in IRB
90cb27b1bd
2021-07-23 03:13:14 +09:00
Peter Zhu
62661dd9e4
Don't recompute the heap page
...
We already page the page of the zombie calculated. Don't recalculate the
page.
2021-07-22 10:10:23 -04:00
Peter Zhu
018f3961ae
Don't set flags in finalize_list
...
The call after it to `heap_page_add_freeobj` will set the flags.
2021-07-22 10:10:23 -04:00
Nobuyoshi Nakada
75f60e5a46
Sort out quad_t related macros
2021-07-22 15:41:42 +09:00
S.H
fc50b2eae5
Remove unneeded function declarations
2021-07-22 15:41:03 +09:00
Ulysses Zhan
e4b68ab700
[DOC] Fixed the description of regexp alternations [ci skip]
2021-07-22 14:10:57 +09:00
S-H-GAMELINKS
d6b8819b79
Refactor rb_proc_call_with_block function
2021-07-22 14:02:54 +09:00
S-H-GAMELINKS
e882905d0d
Refactor sym_each_i function
2021-07-22 14:02:23 +09:00
Nobuyoshi Nakada
e3cda75436
Remove useless casts
2021-07-22 09:58:23 +09:00
Nobuyoshi Nakada
a4e39112a8
Cast to size_t instead of int
...
len and *retlen are size_t since r22957
(commit:4de12b6ae9a7fc1e28ada4b62291a78f28ae7528).
2021-07-22 09:52:29 +09:00
Peter Zhu
31144fe987
Change GC verification to walk all pages
...
`gc_verify_internal_consistency_` does not walk pages in the tomb heap
so numbers were off. This commit changes it to walk all allocated pages.
2021-07-21 14:40:44 -04:00
git
f5f7010613
* 2021-07-22 [ci skip]
2021-07-22 02:06:59 +09:00
eileencodes
b940a45357
Fix interpolated heredoc
...
This fixes https://bugs.ruby-lang.org/issues/18038 . The provided
reproduction showed that this happens in heredocs with double
interpolation. In this case `DSTR` was getting returned but needs to be
convered to a `EVSTR` which is what is returned by the function. There
may be an additional bug here that we weren't able to produce. It seems
odd that `STR` returns `DSTR` while everything else should return
`EVSTR` since the function is `new_evstr`.
[Bug #18038 ][ruby-core:104597]
Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org>
2021-07-21 10:06:33 -07:00
Nobuyoshi Nakada
fa308a683d
Update bundled_gems
2021-07-21 20:44:34 +09:00
Nobuyoshi Nakada
c25cf1eaaa
Drop optional commit hash when updated
2021-07-21 20:44:13 +09:00
Nobuyoshi Nakada
04b5e85bfd
Look up ruby_digit36_to_number_table
...
Instead of scanning ruby_hexdigits.
2021-07-21 19:32:18 +09:00
git
b2749e0026
* 2021-07-21 [ci skip]
2021-07-21 17:40:23 +09:00
Nobuyoshi Nakada
1c80e0e6b0
Use typeprof supporting rbs 1.3
2021-07-21 16:28:04 +09:00
Nobuyoshi Nakada
42745ecae3
Remove meaningless IO#close_on_exec= spec [Feature #17745 ]
2021-07-20 21:45:11 +09:00
Nobuyoshi Nakada
bc1323ce5c
Use RB_INTEGER_TYPE_P
2021-07-20 21:45:11 +09:00
aycabta
261dca2ee2
[ruby/irb] Support non-English code page message
...
e7d71fea46
2021-07-20 20:36:19 +09:00
git
5e7675d442
* 2021-07-20 [ci skip]
2021-07-20 14:47:50 +09:00
Kazuhiro NISHIYAMA
2e67043041
Use UNREACHABLE instead of fall through
2021-07-20 14:46:46 +09:00
Kazuhiro NISHIYAMA
036f26a4e2
Add fall through
...
Pointed out by Coverity Scan
```
** CID 1487522: Control flow issues (MISSING_BREAK)
/error.c: 1273 in exc_full_message()
```
2021-07-19 17:21:45 +09:00
Nobuyoshi Nakada
fa239e0479
Remove unneeded quotes [ci skip]
2021-07-19 17:18:51 +09:00
Hiroshi SHIBATA
95dd461387
[ruby/racc] Removed pre-setup from gemspec
...
2f6f02e5c1
2021-07-19 11:59:42 +09:00
Hiroshi SHIBATA
dbcfc8d499
[ruby/racc] Removed needless files from gemspec
...
d044ae883f
2021-07-19 11:59:42 +09:00
Hiroshi SHIBATA
b5b3cd2722
[ruby/racc] Move document from library directory
...
2e8d7d286d
2021-07-19 11:59:41 +09:00
Hiroshi SHIBATA
7217f60bb3
[ruby/racc] Removed generate code from parser.rb. It's already migrated by rake task
...
ec7d01980a
2021-07-19 11:54:35 +09:00
Yusuke Endoh
ab2bd3ff35
test/openssl/test_x509cert.rb: Prevent "unused variable" warning
2021-07-19 10:57:56 +09:00
Yusuke Endoh
91ffce8f24
[ruby/did_you_mean] Prevent "warning: ambiguity between regexp and two divisions"
...
```
test/did_you_mean/spell_checking/test_uncorrectable_name_check.rb:13: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
```
20210630
T033005Z.log.html.gz#test-all
842ede4186
2021-07-19 10:34:38 +09:00
git
bac5ec0f06
* 2021-07-19 [ci skip]
2021-07-19 07:43:56 +09:00