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

70323 Коммитов

Автор SHA1 Сообщение Дата
Matheus Richard b8f7fc361d
Add examples for Integer.try_convert [ci skip] 2021-12-15 02:12:37 +09:00
Matheus Richard b32b755ea2
Fix typo on Integer.try_convert [ci skip] 2021-12-15 02:05:41 +09:00
Nobuyoshi Nakada 637c3cfc5d Turn SET_LEX_STATE macro into an inline function call 2021-12-15 01:52:15 +09:00
Nobuyoshi Nakada a3934cd1e5
Fix indent [ci skip] 2021-12-15 00:50:39 +09:00
git 67b6a22263 * 2021-12-15 [ci skip] 2021-12-15 00:43:38 +09:00
Jean Boussier 9e00f8267d NEWS.md document String#unpack offset and Marshal.load freeze arguments 2021-12-14 16:42:53 +01:00
Peter Zhu 0e7d073914 Remove compaction support detection using sysconf
Except on Windows and MinGW, we can only use compaction on systems that
use mmap (only systems that use mmap can use the read barrier that
compaction requires). We don't need to separately detect whether we can
support compaction or not.
2021-12-14 09:16:18 -05:00
Nobuyoshi Nakada 6daec46014 ripper: refine test to show expected states 2021-12-14 20:06:51 +09:00
Takashi Kokubun 1a63468831
Prepare for removing RubyVM::JIT (#5262) 2021-12-13 23:07:46 -08:00
Kazuhiro NISHIYAMA a2839d7178
Update stdlib version [ci skip] 2021-12-14 16:06:50 +09:00
git 14c8dca6d1 Update bundled_gems at 2021-12-14 2021-12-14 06:59:58 +00:00
Koichi Sasada 1578421962 reduce `rb_clear_attr_ccs()` call
`rb_clear_attr_ccs()` should be called only when c_call or c_return
is activated.
2021-12-14 12:31:57 +09:00
Kazuhiro NISHIYAMA 10eda60e8b
Merge to one regexp 2021-12-14 12:19:44 +09:00
Nobuyoshi Nakada 900e0c8c39 [ruby/securerandom] Use String#unpack1
https://github.com/ruby/securerandom/commit/5460a18c35
2021-12-14 11:59:22 +09:00
Nobuyoshi Nakada 0ebbab23ba [ruby/securerandom] Drop support for old ruby versions
https://github.com/ruby/securerandom/commit/46943a991c
2021-12-14 11:59:20 +09:00
Nobuyoshi Nakada 40b0d69dad
[DOC] Fix a type [ci skip] 2021-12-14 11:52:26 +09:00
Kazuhiro NISHIYAMA 877160121a
NEWS.md: Mention colorize command of un.rb
https://github.com/ruby/un/pull/1
2021-12-14 09:28:09 +09:00
Takashi Kokubun 11b8aaa26a
Rename --jit to --mjit (#5248)
* Rename --jit to --mjit

[Feature #18349]

* Fix a few more --jit references

* Fix MJIT Actions

* More s/jit/mjit/ and re-introduce --disable-jit

* Update NEWS.md

* Fix test_bug_reporter_add
2021-12-13 16:08:01 -08:00
Peter Zhu 94494a565d [ci skip] NEWS.md: Update Variable Width Allocation 2021-12-13 10:20:13 -05:00
git 845edc067c * 2021-12-14 [ci skip] 2021-12-14 00:03:55 +09:00
Nobuyoshi Nakada 4926647bf2
NEWS.md: sort [ci skip] 2021-12-14 00:03:37 +09:00
Peter Zhu 774b04408f [ci skip] NEWS.md: Add Variable Width Allocation 2021-12-13 09:53:31 -05:00
Nobuyoshi Nakada a08d8180e2
NEWS.md: One more surrounding brackets for the ticket 2021-12-13 21:20:55 +09:00
aycabta 8411e8449b [ruby/reline] Remove unnecessary variables, lower_space
The number of lines below the cursor position was known by
"@rest_height" alone, but the problem was caused by adding
"lower_space". Remove "lower_space" as it is unnecessary.

https://github.com/ruby/reline/commit/a575cef6a3
2021-12-13 20:44:21 +09:00
Nobuyoshi Nakada 446a11f2c1
[DOC] Add call sequences of Random using a range 2021-12-13 19:56:11 +09:00
Nobuyoshi Nakada dc490aced3
[DOC] Improve Random::Formatter description and example 2021-12-13 19:55:44 +09:00
Nobuyoshi Nakada 6859d175ba
[DOC] Exclude Bundler only [ci skip] 2021-12-13 19:47:52 +09:00
Nobuyoshi Nakada 7ececae453
NEWS.md: move of Random::Formatter [Feature #18190] 2021-12-13 19:15:31 +09:00
Nobuyoshi Nakada 93f0beca5e
Appveyor: Skip tests on if only document files changed [ci skip] 2021-12-13 19:14:50 +09:00
Kentaro Goto 914563ae87 NEWS.md: `ruby -run -e httpd` displays URLs to access [Feature #17847] 2021-12-13 18:08:35 +09:00
Nobuyoshi Nakada c81d7d7c60
NEWS.md: RFC 3339 UTC for unknown offset local time [Feature #17544] 2021-12-13 14:28:59 +09:00
Yusuke Endoh 47a12c8888 LEGAL: mention error_highlight 2021-12-13 14:21:29 +09:00
Nobuyoshi Nakada 4ffb0bd641
NEWS.md: Mention `in:` option of Time.new [Feature #17485] 2021-12-13 14:20:42 +09:00
Yusuke Endoh 2c0de39287 NEWS.md: `--disable-gems` is now just for debugging. [Feature #17684] 2021-12-13 14:19:21 +09:00
Nobuyoshi Nakada ff029f25ca
[DOC] Get rid of headings in list items
The current RDoc Markdown parser parses the list item starting
with `#` as a heading line.
2021-12-13 14:16:46 +09:00
Koichi Sasada 0ee127e5bb add a NEWS entry for `TracePoint.allow_reenter` 2021-12-13 14:02:42 +09:00
Yusuke Endoh 1da1d74730 NEWS.md: `def foo = puts "Hello"` is now allowed [Feature #17398] 2021-12-13 14:01:40 +09:00
Yusuke Endoh d463b407e6 NEWS.md: Mention suspendatble coverage [Feature #18176] 2021-12-13 13:53:34 +09:00
Yusuke Endoh a6fb63d2a0 NEWS.md: Use more descriptive example for error_highlight 2021-12-13 13:49:39 +09:00
Nobuyoshi Nakada 9ad34da47f
[DOC] Mention RBOOL in extension.rdoc [Feature #13125] 2021-12-13 13:21:53 +09:00
Nobuyoshi Nakada 54f0e63a8c Remove `NODE_DASGN_CURR` [Feature #18406]
This `NODE` type was used in pre-YARV implementation, to improve
the performance of assignment to dynamic local variable defined at
the innermost scope.  It has no longer any actual difference with
`NODE_DASGN`, except for the node dump.
2021-12-13 12:53:03 +09:00
Kazuhiro NISHIYAMA d3c8f7b1cd
Fix a typo [ci skip] 2021-12-13 11:11:57 +09:00
Yusuke Endoh a692a1597f ruby.c: Fix typo 2021-12-13 10:29:08 +09:00
Yusuke Endoh 8613c0c675 Introduce an option "--dump=insns_without_opt" for debugging purposes 2021-12-13 10:29:08 +09:00
git 84cd3964d9 * 2021-12-13 [ci skip] 2021-12-13 10:24:10 +09:00
Koichi Sasada 5164c2b36f Pass UnboundMethod to 2nd arg of define_method 2021-12-13 10:23:52 +09:00
Koichi Sasada fdfb43b2b1 fix Struct's setter arity
https://github.com/ruby/ruby/pull/5131/files#diff-b2553d23e6b1fe76e20608d06c25f6acca06279100f1a9c24febcd79a82fac3cR2689
2021-12-13 10:23:52 +09:00
Koichi Sasada 6659253cc6 Struct setter's parameters == `[:req, :_]`
fix [Bug #18405]

Note that the parameter name `_` is not a spec, so we shouldn't
rely on this behavior.
2021-12-13 10:23:52 +09:00
Koichi Sasada 4d0cb1a54b add `method_def_aritry()` 2021-12-13 10:23:52 +09:00
git 2f79d6d3f2 Update bundled_gems at 2021-12-12 2021-12-12 07:12:13 +00:00