Age | Commit message (Collapse) | Author |
|
This reverts commit 0b8c73aa65add5c57b46b0cfdf4e661508802172, which
seems breaking RVALUE consistency check.
|
|
|
|
|
|
and rename from b.rb
[ruby-core:95055] [Bug #16177]
|
|
|
|
TAG_FATAL represents interpreter closing state and ec->errinfo
contains FIXNUM (eTerminateSignal, etc). If we need to change the
state, then errinfo is also changed because TAG_RAISE assumes that
ec->errinfo contains a Exception object.
Without this patch, TAG_FATAL is ignored and no ec->errinfo change
so that it causes critical issue.
[Bug #16177]
|
|
Get rid of races in parallel configuration when using the
ext/Setup file.
|
|
Some minor optimizations.
Calculating -------------------------------------
ours trunk
vm2_regexp 8.479M 8.346M i/s - 6.000M times in 0.707612s 0.718916s
vm2_regexp_invert 8.605M 8.350M i/s - 6.000M times in 0.697298s 0.718576s
Comparison:
vm2_regexp
ours: 8479223.3 i/s
trunk: 8345893.8 i/s - 1.02x slower
vm2_regexp_invert
ours: 8604647.4 i/s
trunk: 8349852.8 i/s - 1.03x slower
Calculating -------------------------------------
ours+jit trunk+jit
Optcarrot Lan_Master.nes 68.603 64.167 fps
Comparison:
Optcarrot Lan_Master.nes
ours+jit: 68.6 fps
trunk+jit: 64.2 fps - 1.07x slower
|
|
https://github.com/seattlerb/minitest/pull/798 is closed
|
|
These functions are used from within a compilation unit so we can
make them static, for better binary size. This changeset reduces
the size of generated ruby binary from 26,590,128 bytes to
26,584,472 bytes on my macihne.
Notes:
Merged: https://github.com/ruby/ruby/pull/2682
|
|
We incorrectly assumed that the `file` argument should be the file name and
caused https://github.com/scoutapp/scout_apm_ruby/issues/307 because
exception backtrace did not contain correct path. This documentation
clarifies the role of the different arguments and provides extra
examples.
|
|
`stty` called in `Reline::ANSI.deprep` command shows the following
error message on macOS Apple Terminal, with some settings.
```
$ LANG=C irb
irb(main):001:0>
stty: 'standard input': unable to perform all requested operations
stty: 'standard input': unable to perform all requested operations
```
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2683
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2683
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2683
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Suppress compiler warnings.
|
|
|
|
|
|
add casts to avoid compile error.
http://ci.rvm.jp/results/trunk_clang_39@silicon-docker/2402215
|
|
Array#pack uses `opt_invokebuiltin_delegate_leave` now.
|
|
opt_invokebuiltin_delegate and opt_invokebuiltin_delegate_leave
invokes builtin functions with same parameters of the method.
This technique eliminate stack push operations. However, delegation
parameters should be completely same as given parameters.
(e.g. `def foo(a, b, c) __builtin_foo(a, b, c)` is okay, but
__builtin_foo(b, c) is not allowed)
This patch relaxes this restriction. ISeq has a local variables
table which includes parameters. For example, the method defined
as `def foo(a, b, c) x=y=nil`, then local variables table contains
[a, b, c, x, y]. If calling builtin-function with arguments which
are sub-array of the lvar table, use opt_invokebuiltin_delegate
instruction with start index. For example, `__builtin_foo(b, c)`,
`__builtin_bar(c, x, y)` is okay, and so on.
|
|
https://travis-ci.org/ruby/ruby/jobs/613242256#L2205
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
rb_eval_cmd takes a safe level, and now that $SAFE is deprecated,
it should be deprecated as well.
Replace with rb_eval_cmd_kw, which takes a keyword flag. Switch
the two callers to this function.
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
previous Ruby versions.
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
previous Ruby versions.
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
previous Ruby versions.
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
previous Ruby versions.
Still untaint the tmpdir object on Ruby <2.7, as returning
a tainted string there could cause problems.
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
Ruby 2.7 deprecates taint and it no longer has an effect.
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
Ruby 2.7 deprecates taint and it no longer has an effect.
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
This removes the related tests, and puts the related specs behind
version guards. This affects all code in lib, including some
libraries that may want to support older versions of Ruby.
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
This removes the security features added by $SAFE = 1, and warns for access
or modification of $SAFE from Ruby-level, as well as warning when calling
all public C functions related to $SAFE.
This modifies some internal functions that took a safe level argument
to no longer take the argument.
rb_require_safe now warns, rb_require_string has been added as a
version that takes a VALUE and does not warn.
One public C function that still takes a safe level argument and that
this doesn't warn for is rb_eval_cmd. We may want to consider
adding an alternative method that does not take a safe level argument,
and warn for rb_eval_cmd.
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
|
|
|
|
https://github.com/ruby/irb/commit/0180dc74bc
|
|
https://github.com/ruby/irb/commit/4945d0e676
|
|
https://github.com/ruby/reline/commit/d57c7ea252
|