summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-03* 2021-02-03 [ci skip]git
2021-02-03[ruby/irb] follow up the actual line numberNobuhiro IMAI
https://github.com/ruby/irb/commit/7aed8fe3b1
2021-02-02NetBSD build update. (#4079)David CARLIER
Notes: Merged-By: nurse <naruse@airemix.jp>
2021-02-02add debug code for timer_posixKoichi Sasada
timer_posix mode is managed by timer_posix.state. This patch adds some debug code for the transition of the state. Notes: Merged: https://github.com/ruby/ruby/pull/4145
2021-02-02Pass revision by hand if the commit message lacks the ticket numberNARUSE, Yui
2021-02-02Use local repository instead of remoteNARUSE, Yui
to improve performance
2021-02-02Drop pushing local repoNARUSE, Yui
I want to push another repo/branch to run CI before pushing it to official branch.
2021-02-02Use the lateset winflexbison3Nobuyoshi Nakada
The installation script fault seems fixed at 2.5.23.20200904.
2021-02-02Add some git configurations in CIsNobuyoshi Nakada
2021-02-02Set git config in global instead of systemNobuyoshi Nakada
2021-02-01Fix GC compatibility: Don't stash encodings in global constantsAaron Patterson
This value should either be pinned, or looked up when needed at runtime. Without pinning, the GC may move the encoding object, and that could cause a crash. In this case it is easier to find the value at runtime, and there is no performance penalty (as Ruby caches encoding indexes). We can shorten the code, be compaction friendly, and incur no performance penalty.
2021-02-02* 2021-02-02 [ci skip]git
2021-02-01Use RCLASS_EXT macro instead of directly accessing ptrMatt Valentine-House
Notes: Merged: https://github.com/ruby/ruby/pull/4124
2021-02-01Add RCLASS_SUBCLASSES MacroMatt Valentine-House
Notes: Merged: https://github.com/ruby/ruby/pull/4124
2021-02-01Add RCLASS_ALLOCATOR MacroMatt Valentine-House
Notes: Merged: https://github.com/ruby/ruby/pull/4124
2021-02-01Add PARENT_MODULE_SUBCLASSES MacroMatt Valentine-House
Notes: Merged: https://github.com/ruby/ruby/pull/4124
2021-02-01Add RCLASS_PARENT_SUBMODULES MacroMatt Valentine-House
Notes: Merged: https://github.com/ruby/ruby/pull/4124
2021-02-01Implement NameError::message#clone for RactorNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4142
2021-02-01Ignore warnings when transforming preprocessed headerNobuyoshi Nakada
For already preprocessed header, -Werror=misleading-indentation doesn't make sense.
2021-02-01Fix for windres 2.36 [Bug #17602]Nobuyoshi Nakada
Add --preprocessor and --preprocessor-arg for each preprocessor command arguments, as windres 2.36 requires preprocessor name and arguments to be separated to respect spaces in these paths.
2021-02-01Add File.absolute_path? to NEWS-2.7.0 [ci skip]Masataka Pocke Kuwabara
`File.absolute_path?` has been added since Ruby 2.7.0, but it isn't mentioned in the NEWS. So this patch adds a NEWS entry. ref: https://bugs.ruby-lang.org/issues/15868 Co-authored-by: nagachika <nagachika@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/4139 Merged-By: nobu <nobu@ruby-lang.org>
2021-02-01* 2021-02-01 [ci skip]git
2021-02-01Fixed varargs in `rb_bug_without_die` [Bug #17603]xtkoba (Tee KOBAYASHI)
2021-01-31Split `mnew` into unbound and callableNobuyoshi Nakada
It always branches by `obj` is `Qundef` or not, which is invariant for each functions; `obj_method` is the latter, and the other two are the former.
2021-01-31Removed static assertion about size of `RVALUE`Nobuyoshi Nakada
It is unable where unaligned word access is disallowed and `double` is wider than pointers.
2021-01-31MSys is a variant of CygwinNobuyoshi Nakada
2021-01-31Narrowed down the condition to pack RValueNobuyoshi Nakada
Because of `double` in `RFloat`, `RValue` would be packed by `sizeof(double)` by default, on platforms where `double` is wider than `VALUE`. Size of `RValue` is multiple of 5 now.
2021-01-31Update bundled_gemsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4137
2021-01-31vm_dump: dump registers for Mac M1David CARLIER
Notes: Merged: https://github.com/ruby/ruby/pull/4134
2021-01-31Update TypeProf to 0.12.0 (#4132)Yusuke Endoh
Notes: Merged-By: mame <mame@ruby-lang.org>
2021-01-31Move rb_big_isqrt declarationS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/4135
2021-01-31* 2021-01-31 [ci skip]git
2021-01-31Bundle RBS 1.0.4 (#4136)Soutaro Matsumoto
Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2021-01-30* 2021-01-30 [ci skip]git
2021-01-30Constified pointers in str_casecmpNobuyoshi Nakada
2021-01-29refactoring rb_method_call_status()Koichi Sasada
Notes: Merged: https://github.com/ruby/ruby/pull/4129
2021-01-29global call-cache cache table for rb_funcall*Koichi Sasada
rb_funcall* (rb_funcall(), rb_funcallv(), ...) functions invokes Ruby's method with given receiver. Ruby 2.7 introduced inline method cache with static memory area. However, Ruby 3.0 reimplemented the method cache data structures and the inline cache was removed. Without inline cache, rb_funcall* searched methods everytime. Most of cases per-Class Method Cache (pCMC) will be helped but pCMC requires VM-wide locking and it hurts performance on multi-Ractor execution, especially all Ractors calls methods with rb_funcall*. This patch introduced Global Call-Cache Cache Table (gccct) for rb_funcall*. Call-Cache was introduced from Ruby 3.0 to manage method cache entry atomically and gccct enables method-caching without VM-wide locking. This table solves the performance issue on multi-ractor execution. [Bug #17497] Ruby-level method invocation does not use gccct because it has inline-method-cache and the table size is limited. Basically rb_funcall* is not used frequently, so 1023 entries can be enough. We will revisit the table size if it is not enough. Notes: Merged: https://github.com/ruby/ruby/pull/4129
2021-01-29Forward keyword arguments for Pathname#each_line [Bug #17589]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4128
2021-01-29Fix failure when build in srcdir/buildKazuhiro NISHIYAMA
If `build` directory exists, `rake build` is `Rake::FileTask`. So skip if exists.
2021-01-29Fixed Kernel#rand specNobuyoshi Nakada
Float should not be compared by identity. Notes: Merged: https://github.com/ruby/ruby/pull/4126
2021-01-29Fix absolute path predicate on WindowsNobuyoshi Nakada
A path starts with '/' is not an absolute path on Windows, because of drive letter or UNC. Notes: Merged: https://github.com/ruby/ruby/pull/4127
2021-01-29* 2021-01-29 [ci skip]git
2021-01-28Update to ruby/spec@8cafaa5Benoit Daloze
2021-01-28Add fallback when PWD is not setKazuhiro NISHIYAMA
2021-01-28Use PWD instead of source_rootKazuhiro NISHIYAMA
Because `.ext/common` is not relative from top source directory. Fix failures with out-of-place build directory.
2021-01-28Remove require_path from $LOADED_FEATURESKazuhiro NISHIYAMA
because some features are already loaded.
2021-01-28Delete path including `/../` tooKazuhiro NISHIYAMA
2021-01-28* 2021-01-28 [ci skip]git
2021-01-27[Fixes #17538] Fix assertion failure when rincgc is turned offPeter Zhu
Co-Authored-By: Matt Valentine-House <31869+eightbitraptor@users.noreply.github.com> Notes: Merged: https://github.com/ruby/ruby/pull/4064
2021-01-27In test, need to pass a context to IRB::WorkSpace.new explicitlyaycabta