Age | Commit message (Collapse) | Author |
|
When I shared srcdir as read-only in lima-vm,
`make install` causes following error:
```
Update rbs to 33813a60752624d58dfe5ae770b39bfaf29fbaf1
error: cannot open .git/FETCH_HEAD: Read-only file system
```
I cannot find any ignore option for `git checkout --detach`
when already checked out. So I add `if`.
|
|
|
|
GNU Make prior to 4.4 just ignores the prerequisites, and runs
everything in serial.
|
|
And add special treats only for old GNU make.
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/8224
|
|
|
|
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/8049
|
|
https://bugs.ruby-lang.org/issues/19637
Co-authored-by: Nobuyoshi Nakada <[email protected]>
Notes:
Merged: https://github.com/ruby/ruby/pull/7798
Merged-By: yui-knk <[email protected]>
|
|
This commit introduces a new instruction `opt_newarray_send` which is
used when there is an array literal followed by either the `hash`,
`min`, or `max` method.
```
[a, b, c].hash
```
Will emit an `opt_newarray_send` instruction. This instruction falls
back to a method call if the "interested" method has been monkey
patched.
Here are some examples of the instructions generated:
```
$ ./miniruby --dump=insns -e '[@a, @b].max'
== disasm: #<ISeq:<main>@-e:1 (1,0)-(1,12)> (catch: FALSE)
0000 getinstancevariable :@a, <is:0> ( 1)[Li]
0003 getinstancevariable :@b, <is:1>
0006 opt_newarray_send 2, :max
0009 leave
$ ./miniruby --dump=insns -e '[@a, @b].min'
== disasm: #<ISeq:<main>@-e:1 (1,0)-(1,12)> (catch: FALSE)
0000 getinstancevariable :@a, <is:0> ( 1)[Li]
0003 getinstancevariable :@b, <is:1>
0006 opt_newarray_send 2, :min
0009 leave
$ ./miniruby --dump=insns -e '[@a, @b].hash'
== disasm: #<ISeq:<main>@-e:1 (1,0)-(1,13)> (catch: FALSE)
0000 getinstancevariable :@a, <is:0> ( 1)[Li]
0003 getinstancevariable :@b, <is:1>
0006 opt_newarray_send 2, :hash
0009 leave
```
[Feature #18897] [ruby-core:109147]
Co-authored-by: John Hawthorn <[email protected]>
Notes:
Merged: https://github.com/ruby/ruby/pull/6090
|
|
|
|
The current BundledGem.dummy_spec always called from master branch.
It caused to CI faiulres like
http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20230305T001003Z.fail.html.gz
Notes:
Merged: https://github.com/ruby/ruby/pull/7475
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7462
|
|
RJIT doesn't need this.
Notes:
Merged-By: k0kubun <[email protected]>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7347
|
|
Minitest repository does not commit its gemspec file.
Notes:
Merged: https://github.com/ruby/ruby/pull/7347
|
|
https://github.com/mame/ruby/actions/runs/4208869556/jobs/7305356097
```
WARNING: open-ended dependency on irb (>= 1.5.0) is not recommended
if irb is semantically versioned, use:
add_runtime_dependency 'irb', '~> 1.5', '>= 1.5.0'
WARNING: open-ended dependency on reline (>= 0.3.1) is not recommended
if reline is semantically versioned, use:
add_runtime_dependency 'reline', '~> 0.3', '>= 0.3.1'
WARNING: See http://guides.rubygems.org/specification-reference/ for help
/usr/lib/ruby/2.7.0/rubygems/specification_policy.rb:418:in `error': specification has warnings (Gem::InvalidSpecificationException)
```
Notes:
Merged: https://github.com/ruby/ruby/pull/7339
|
|
Given that signleton classes don't have an allocator,
we can re-use these bytes to store the attached object
in `rb_classext_struct` without making it larger.
Notes:
Merged: https://github.com/ruby/ruby/pull/7309
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7186
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7146
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7146
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7146
|
|
Build temporary gem package from cloned repository if test revision is
set.
Notes:
Merged: https://github.com/ruby/ruby/pull/7146
|
|
|
|
Both of `$(srcdir)/revision.h` and `revision.h` exist because they are
the same file when in-place build.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7009
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7009
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7022
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7022
|
|
Prepare for test-syntax-suggest after other tests finished.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7010
|
|
On a hash miss we need to call default if it is redefined in order to
return the default value to be used. Previously we checked this with
rb_method_basic_definition_p, which avoids the method call but requires
a method lookup.
This commit replaces the previous check with BASIC_OP_UNREDEFINED_P and
a new BOP_DEFAULT. We still need to fall back to
rb_method_basic_definition_p when called on a subclasss of hash.
| |compare-ruby|built-ruby|
|:---------------|-----------:|---------:|
|hash_aref_miss | 2.692| 3.531|
| | -| 1.31x|
Co-authored-by: Daniel Colson <[email protected]>
Co-authored-by: "Ian C. Anderson" <[email protected]>
Co-authored-by: Jack McCracken <[email protected]>
Notes:
Merged: https://github.com/ruby/ruby/pull/6945
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6899
|
|
It should depends on only existing data files (except for the tools),
unless `ALWAYS_UPDATE_UNICODE=yes`.
Notes:
Merged: https://github.com/ruby/ruby/pull/6898
|
|
Notes:
Merged-By: ioquatix <[email protected]>
|
|
Extract new gems then remove outdated gem directories.
|
|
|
|
|
|
|
|
The reason why this was commented out was because of gperf 3.0 vs 3.1
differences (see [Feature #13883]). Five years passed, I am pretty
confident that we can drop support of old versions here.
Ditto for uniname2ctype_p(), onig_jis_property(), and zonetab().
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
Non-GNU make seems to generate empty revision.h, but it doesn't make
sense since https://github.com/ruby/ruby/pull/6382.
Also the $(HAVE_BASERUBY:yes=tmp) hack doesn't seem to be working on
OpenBSD. I'll remove it to focus on fixing RubyCI first, and then deal
with baseruby-missing environments. At least a snapshot should have
revision.h and it might work fine though.
|
|
This reverts commit b8c376cb9d91854fd40f6e06f07773404899b54f, as it
seems no longer needed probably.
Notes:
Merged: https://github.com/ruby/ruby/pull/6356
|
|
Separate the logic accross the tables from the template view for
id.h.
|
|
|