summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-15Use prototype definition instead of old K&R styleNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5263
2021-12-15Update dependenciesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5263
2021-12-15Adjust styles [ci skip]Nobuyoshi Nakada
* --braces-after-func-def-line * --space-after-for Notes: Merged: https://github.com/ruby/ruby/pull/5263
2021-12-15Removed traling spaces [ci skip]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5263
2021-12-15Symbols closed to env should be staticNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5263
2021-12-15Make ENV shareableRohit Menon
Notes: Merged: https://github.com/ruby/ruby/pull/5263
2021-12-15Add Ractor tests for ENVRohit Menon
Notes: Merged: https://github.com/ruby/ruby/pull/5263
2021-12-15Move exception-raising functions out of mutex; Refactor env-copyingRohit Menon
Notes: Merged: https://github.com/ruby/ruby/pull/5263
2021-12-15Add locks for ENVRohit Menon
Notes: Merged: https://github.com/ruby/ruby/pull/5263
2021-12-15[DOC] Improve Thread::Queue.new docs [ci skip]Victor Shepelev
Notes: Merged: https://github.com/ruby/ruby/pull/5273 Merged-By: nobu <[email protected]>
2021-12-14YJIT: Fix unexpected truncation when outputing VALUEAlan Wu
Previously, YJIT incorrectly discarded the upper 32 bits of the object pointer when writing out VALUEs to setup default keyword arguments. In addition to incorrectly truncating, the output pointers were not properly tracked for handling GC compaction moving the referenced objects. YJIT previously attempted to encode a mov instruction with a memory destination and a 64 bit immediate when there is no such encoding possible in the ISA. Add an assert to mitigate not being able to catch this at build time. Notes: Merged: https://github.com/ruby/ruby/pull/5274 Merged-By: XrXr
2021-12-15[ruby/cgi] Extract CGI::Session#new_store_fileNobuyoshi Nakada
https://github.com/ruby/cgi/commit/b3e2ff9164
2021-12-14Don't invalidate BOPs when aliases redefinedJohn Hawthorn
Previously when redefining an alias of a BOP, we would unnecessarily invalidate the bop. For example: class String alias len length private :len end This commit avoids this by checking that the called_id on the method entry matches the original_id on the definition. Notes: Merged: https://github.com/ruby/ruby/pull/5271
2021-12-14YJIT: Avoid unnecessary BOP invalidationJohn Hawthorn
Previously we would invalidate BOPs in YJIT when the method registered as a BOP was redefined on a subclass. Notes: Merged: https://github.com/ruby/ruby/pull/5271
2021-12-15[DOC] Fix docs rendering for Process._fork [ci skip]Matheus Richard
Co-authored-by: Nobuyoshi Nakada <[email protected]> Notes: Merged: https://github.com/ruby/ruby/pull/5270 Merged-By: nobu <[email protected]>
2021-12-15Fix arg_forward without parentheses [Bug #18267]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5269
2021-12-15Revert "Rename `in_kwarg` as `in_argdef` as unrelated to keywords"Nobuyoshi Nakada
This reverts commit b7f7117bdc78a4a342a57dad1a340b158492ccf3, to separate `in_argdef` from `in_kwarg`. Notes: Merged: https://github.com/ruby/ruby/pull/5269
2021-12-15prohibit load by `autoload` on non-main RactorKoichi Sasada
fix [Bug #18120] Notes: Merged: https://github.com/ruby/ruby/pull/5267
2021-12-15fix local TP memory leakKoichi Sasada
It free `rb_hook_list_t` itself if needed. To recognize the need, this patch introduced `rb_hook_list_t::is_local` flag. This patch is succession of https://github.com/ruby/ruby/pull/4652 Notes: Merged: https://github.com/ruby/ruby/pull/5253
2021-12-15Add examples for Integer.try_convert [ci skip]Matheus Richard
Notes: Merged: https://github.com/ruby/ruby/pull/5268 Merged-By: nobu <[email protected]>
2021-12-15Fix typo on Integer.try_convert [ci skip]Matheus Richard
2021-12-15Turn SET_LEX_STATE macro into an inline function callNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5266
2021-12-15Fix indent [ci skip]Nobuyoshi Nakada
2021-12-15* 2021-12-15 [ci skip]git
2021-12-14NEWS.md document String#unpack offset and Marshal.load freeze argumentsJean Boussier
Notes: Merged: https://github.com/ruby/ruby/pull/5256
2021-12-14Remove compaction support detection using sysconfPeter Zhu
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. Notes: Merged: https://github.com/ruby/ruby/pull/5260
2021-12-14ripper: refine test to show expected statesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5264
2021-12-13Prepare for removing RubyVM::JIT (#5262)Takashi Kokubun
Notes: Merged-By: k0kubun <[email protected]>
2021-12-14Update stdlib version [ci skip]Kazuhiro NISHIYAMA
2021-12-14Update bundled_gems at 2021-12-14git
2021-12-14reduce `rb_clear_attr_ccs()` callKoichi Sasada
`rb_clear_attr_ccs()` should be called only when c_call or c_return is activated. Notes: Merged: https://github.com/ruby/ruby/pull/5261
2021-12-14Merge to one regexpKazuhiro NISHIYAMA
2021-12-14[ruby/securerandom] Use String#unpack1Nobuyoshi Nakada
https://github.com/ruby/securerandom/commit/5460a18c35
2021-12-14[ruby/securerandom] Drop support for old ruby versionsNobuyoshi Nakada
https://github.com/ruby/securerandom/commit/46943a991c
2021-12-14[DOC] Fix a type [ci skip]Nobuyoshi Nakada
2021-12-14NEWS.md: Mention colorize command of un.rbKazuhiro NISHIYAMA
https://github.com/ruby/un/pull/1
2021-12-13Rename --jit to --mjit (#5248)Takashi Kokubun
* 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 Notes: Merged-By: k0kubun <[email protected]>
2021-12-13[ci skip] NEWS.md: Update Variable Width AllocationPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/5258
2021-12-14* 2021-12-14 [ci skip]git
2021-12-14NEWS.md: sort [ci skip]Nobuyoshi Nakada
2021-12-13[ci skip] NEWS.md: Add Variable Width AllocationPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/5257
2021-12-13NEWS.md: One more surrounding brackets for the ticketNobuyoshi Nakada
2021-12-13[ruby/reline] Remove unnecessary variables, lower_spaceaycabta
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[DOC] Add call sequences of Random using a rangeNobuyoshi Nakada
2021-12-13[DOC] Improve Random::Formatter description and exampleNobuyoshi Nakada
2021-12-13[DOC] Exclude Bundler only [ci skip]Nobuyoshi Nakada
2021-12-13NEWS.md: move of Random::Formatter [Feature #18190]Nobuyoshi Nakada
2021-12-13Appveyor: Skip tests on if only document files changed [ci skip]Nobuyoshi Nakada
2021-12-13NEWS.md: `ruby -run -e httpd` displays URLs to access [Feature #17847]Kentaro Goto
Notes: Merged: https://github.com/ruby/ruby/pull/5254
2021-12-13NEWS.md: RFC 3339 UTC for unknown offset local time [Feature #17544]Nobuyoshi Nakada