| Age | Commit message (Collapse) | Author |
|
|
|
Routines that are called from YJIT's output code can call methods, and
calling methods mean they can capture and change the environment of the
calling frame.
Discard type info whenever we perform routine calls. This is more
conservative than strictly necessary as some routines need to perform GC
allocation but can never call methods and so should never be able to
change local variables. However, manually analyzing C functions for
whether they have code paths that call methods is error prone and can go
out of date as changes land in the codebase.
Closes: shopify/yjit#300
Notes:
Merged: https://github.com/ruby/ruby/pull/5416
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5415
|
|
Improve rb_raw_obj_info to output additional into about strings
including the length, capacity, and whether or not it is embedded.
Notes:
Merged: https://github.com/ruby/ruby/pull/5414
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5413
|
|
|
|
After changing the encoding, we should update the terminator length.
Notes:
Merged: https://github.com/ruby/ruby/pull/5411
|
|
|
|
|
|
block
Fixes [Bug #18158]
https://github.com/ruby/pathname/commit/914c726aa2
|
|
Get rid of depending on using $/ internally in String#chomp!, and
chomp the separator at once.
Notes:
Merged: https://github.com/ruby/ruby/pull/5403
|
|
Get rid of depending on using $/ internally in ARGF.gets.
Notes:
Merged: https://github.com/ruby/ruby/pull/5403
|
|
This reverts commit 44368b5f8bc21e19fa06a0fc0625923fc41293e6.
Notes:
Merged: https://github.com/ruby/ruby/pull/5406
|
|
This reverts commit d4a95428bb244ca8c4a97ad50f3837f191f1f0c3.
Notes:
Merged: https://github.com/ruby/ruby/pull/5405
|
|
Frozen strings should have the same termlen as the original string when
copy_encoding is true.
Notes:
Merged: https://github.com/ruby/ruby/pull/5399
|
|
If we set encoding after the call to rb_str_buf_cat, then rb_str_buf_cat
will not set the correct terminator length.
Notes:
Merged: https://github.com/ruby/ruby/pull/5399
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5399
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5399
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5399
|
|
some libc implementations (e.g. wasi-libc) define MREMAP_MAYMOVE, but
don't have mremap itself, so guard the use of mremap by HAVE_MREMAP
Notes:
Merged: https://github.com/ruby/ruby/pull/5401
|
|
Treats:
#ungetc
#isatty
#close_on_exec?
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5400
|
|
|
|
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Notes:
Merged: https://github.com/ruby/ruby/pull/5398
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5398
|
|
This is to allow Module subclasses that include modules before
calling super in the subclass's initialize.
Remove rb_module_check_initializable from Module#initialize.
Module#initialize only calls module_exec if a block is passed,
it doesn't have other issues that would cause problems if
called multiple times or with an already initialized module.
Move initialization of super to Module#allocate, though I'm not
sure it is required there. However, it's needed to be removed
from Module#initialize for this to work.
Fixes [Bug #18292]
Notes:
Merged: https://github.com/ruby/ruby/pull/5398
|
|
https://github.com/rubygems/rubygems/commit/b55a1393ca
|
|
Fix version error message
Add tests to fetch error messages
Fix default version since is not necessary
https://github.com/rubygems/rubygems/commit/070620ebe4
|
|
Before:
```
$ gem install sfdsfdsfsdide --force
ERROR: While executing gem ... (NoMethodError)
undefined method `spec' for nil:NilClass
@always_install << newest.spec
^^^^^
```
After:
```
$ gem install sfdsfdsfsdide --force
ERROR: Could not find a valid gem 'sfdsfdsfsdide' (>= 0) in any repository
```
https://github.com/rubygems/rubygems/commit/4e2bfd1101
|
|
windows can't create too narrow and tall window.
https://github.com/ruby/reline/commit/20b5f2f6fc
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5370
|
|
|
|
|
|
|
|
RMODULE_SUPER is initialized to 0, as the uninitialized module
flag is used since b929af430c39df6597d2f3f53b82c38b1d76217b.
|
|
Because https://github.com/ruby/ruby/pull/5148 merged after Ruby 3.1.0 released.
13241b71a50dded0a7b021ec4f2fb6a995daace9 did not fix proc spec yet.
https://github.com/ruby/actions/runs/4718820699?check_suite_focus=true#step:18:173
```
1)
Proc#parameters adds * rest arg for "star" argument FAILED
Expected [[:req, :x], [:rest]] == [[:req, :x], [:rest, :*]]
to be truthy but was false
/home/runner/work/actions/actions/snapshot-ruby_3_1/spec/ruby/core/proc/parameters_spec.rb:85:in `block (3 levels) in <top (required)>'
/home/runner/work/actions/actions/snapshot-ruby_3_1/spec/ruby/core/proc/parameters_spec.rb:3:in `<top (required)>'
```
|
|
Treats:
#getc
#readchar
#getbyte
#readbyte
#ungetbyte
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
|
|
Also make include, prepend, and extend raise a TypeError if one
of the modules is a refinement.
Implements [Feature #18270]
Notes:
Merged: https://github.com/ruby/ruby/pull/5358
|
|
|
|
GET_HEAP_PAGE reads the page. If during compaction there is a read
barrier on the page, it causes the read barrier to trigger.
Notes:
Merged: https://github.com/ruby/ruby/pull/5394
|
|
contains only development script
https://github.com/rubygems/rubygems/commit/01017ee8ca
|
|
|
|
|
|
|
|
|
|
`response_body_permitted?` is a method of request.
|
|
A little more about the classes that include or extend Enumerable.
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
```
Leaked file descriptor: TestIO_Console#test_console_kw: 10 : #<File:/dev/tty>
```
|
|
Because https://github.com/ruby/ruby/pull/5148 merged after Ruby 3.1.0 released.
https://github.com/ruby/actions/runs/4705986643?check_suite_focus=true#step:18:144
```
1)
Method#parameters adds * rest arg for "star" argument FAILED
Expected [[:rest]] == [[:rest, :*]]
to be truthy but was false
/home/runner/work/actions/actions/snapshot-ruby_3_1/spec/ruby/core/method/parameters_spec.rb:228:in `block (3 levels) in <top (required)>'
/home/runner/work/actions/actions/snapshot-ruby_3_1/spec/ruby/core/method/parameters_spec.rb:4:in `<top (required)>'
2)
Proc#parameters adds * rest arg for "star" argument FAILED
Expected [[:req, :x], [:rest]] == [[:req, :x], [:rest, :*]]
to be truthy but was false
/home/runner/work/actions/actions/snapshot-ruby_3_1/spec/ruby/core/proc/parameters_spec.rb:85:in `block (3 levels) in <top (required)>'
/home/runner/work/actions/actions/snapshot-ruby_3_1/spec/ruby/core/proc/parameters_spec.rb:3:in `<top (required)>'
```
|