summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-16Add `rb_parser_set_pos` functionS.H
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Co-authored-by: Marivaldo Cavalheiro <marivaldo@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/5089 Merged-By: nobu <nobu@ruby-lang.org>
2021-12-16Improve wording on NEWS.mdMatheus Richard
Notes: Merged: https://github.com/ruby/ruby/pull/5277
2021-12-16[DOC] random number by rangeNobuyoshi Nakada
2021-12-16[DOC] Skip tests if only documents change [ci skip]Nobuyoshi Nakada
Run only checks for source code. Currently, our CIs do almost nothing about the documents.
2021-12-16Restore the global random seedNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5281
2021-12-16Fix Kernel#srand and Kernel#rand descriptions [ci skip]Nobuyoshi Nakada
Actually used methods are all instance method, not the singleton method. Notes: Merged: https://github.com/ruby/ruby/pull/5281
2021-12-16Refine wording about the default random seed [ci skip]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5281
2021-12-16Install gemspec even though no .rb and no .soYuta Saito
When building with --with-static-linked-ext, some exts without rb file doesn't produce neither .so or .rb under .ext/common. Therefore, change rbinstall.rb to install gemspec even if there is no .so or .rb for that case. Notes: Merged: https://github.com/ruby/ruby/pull/5206
2021-12-16btest: assign $stderr = STDOUT instead of IO#reopen to be more portableYuta Saito
`IO#reopen` internally uses dup syscall but some platforms don't support the syscall. re-assigning `$stderr` is enough to capture the interpreter's errors and warnings. Notes: Merged: https://github.com/ruby/ruby/pull/5255
2021-12-16Use `to_s` and `puts` in testsNobuyoshi Nakada
`to_s` has the explict specification while `inspect` is often vague.
2021-12-16Suppress empty-body warningNobuyoshi Nakada
2021-12-15Remove RubyVM::JIT (#5275)Takashi Kokubun
[Feature #18349] reverts [Feature #17490] Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2021-12-16* 2021-12-16 [ci skip]git
2021-12-15YJIT: Remove unused branch_t::src_ctx fieldAlan Wu
No one reads it at the moment and it's heap allocated. Notes: Merged: https://github.com/ruby/ruby/pull/5278 Merged-By: XrXr
2021-12-15Update stdlib version at 333865e56f594f365f2b3b4ef0f86f [ci skip]git
2021-12-15Workaround for reline.gemspecNobuyoshi Nakada
This file searches "lib/reline/version.rb" in the same directory, "lib/reline". As no such path, the file in the default load path is loaded unexpectedly.
2021-12-15Skip test_operating_system_customizing_default_dir for failing with rubyciHiroshi SHIBATA
2021-12-15Update stdlib version at 9f87c0cc6dff70e8a1c4d204d1d459 [ci skip]git
2021-12-15[rubygems/rubygems] Pass `:bimode` explicitly to `File.open`David Rodríguez
The `File::BINARY` flag is apparently ignored due to a ruby bug, and thus writing can cause encoding issues. https://github.com/rubygems/rubygems/commit/db4efbebf2
2021-12-15[rubygems/rubygems] Extract a helper to temporarily modify internal encodingDavid Rodríguez
https://github.com/rubygems/rubygems/commit/93051fd2aa
2021-12-15[rubygems/rubygems] Unify duplicated helperDavid Rodríguez
https://github.com/rubygems/rubygems/commit/c6ef75424d
2021-12-15Update stdlib version [ci skip]Kazuhiro NISHIYAMA
2021-12-15Skip s390x because Travis CI was failing with unknown reasonHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5265
2021-12-15Merge RubyGems and Bundler masterHiroshi SHIBATA
Merge from https://github.com/rubygems/rubygems/commit/793ad95ecb40e84a1dcb4cb60f2686843ed90de5 Notes: Merged: https://github.com/ruby/ruby/pull/5265
2021-12-15Update stdlib version at ded33ed5b8d923b0bb707b4e617ba0 [ci skip]git
2021-12-15Update stdlib in NEWSNobuyoshi Nakada
2021-12-15Remove unused footnote [ci skip]Kazuhiro NISHIYAMA
2021-12-15Update bundled_gems at 2021-12-15git
2021-12-15Adjust indents [ci skip]Nobuyoshi Nakada
2021-12-15ucrt can raise `Errno::EINVAL`Koichi Sasada
`ENV[key] = long_str` can raise `Errno::EINVAL` also on ucrt env. Notes: Merged: https://github.com/ruby/ruby/pull/5263
2021-12-15fix testKoichi Sasada
Notes: Merged: https://github.com/ruby/ruby/pull/5263
2021-12-15use `RB_VM_LOCK_ENTER()`Koichi Sasada
We found that we need to make Ruby objects while locking the environ to ENV operation atomically, so we decided to use `RB_VM_LOCK_ENTER()` instead of `env_lock`. Notes: Merged: https://github.com/ruby/ruby/pull/5263
2021-12-15Removed no longer used variablesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5263
2021-12-15Fixed env_pairs array typesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5263
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 <nobu@ruby-lang.org>
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 <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/5270 Merged-By: nobu <nobu@ruby-lang.org>
2021-12-15Fix arg_forward without parentheses [Bug #18267]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5269