Age | Commit message (Collapse) | Author |
|
|
|
Fixes [Bug #17025]
Notes:
Merged: https://github.com/ruby/ruby/pull/3362
|
|
|
|
|
|
|
|
|
|
On case-insensitive filesystem, generated Net/FTP.html is
overwritten by Net/Ftp.html.
https://github.com/ruby/net-ftp/commit/14a6ff5134
|
|
... in addition to normal iseq frames.
It is sometimes useful to point the bottleneck more precisely.
Notes:
Merged: https://github.com/ruby/ruby/pull/3299
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3070
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3308
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3351
|
|
|
|
|
|
This patch changes local table memory to be managed by a linked list
rather than via the garbage collector. It reduces allocations from the
GC and also fixes a use-after-free bug in the concurrent-with-sweep
compactor I'm working on.
Notes:
Merged: https://github.com/ruby/ruby/pull/3360
|
|
|
|
Without this, if a refinement defines a method that calls super and
includes a module with a module that calls super and has a activated
refinement at the point super is called, the module method super call
will end up calling back into the refinement method, creating a loop.
Fixes [Bug #17007]
Notes:
Merged: https://github.com/ruby/ruby/pull/3309
|
|
|
|
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3355
Merged-By: nobu <nobu@ruby-lang.org>
|
|
|
|
As splitting by NUL means to allow the file names to contain
newlines, path names should match at beginning-of-string instead
of beginning-of-line.
https://github.com/ruby/optparse/commit/df3933aa2b
|
|
|
|
https://github.com/ruby/observer/commit/62a94e3799
|
|
| |compare-ruby|built-ruby|
|:-------------------|-----------:|---------:|
|first_ary | 290.514k| 296.331k|
| | -| 1.02x|
|first_nonary | 166.954k| 169.178k|
| | -| 1.01x|
|first_noarg | 299.547k| 305.358k|
| | -| 1.02x|
|take3_ary | 129.388k| 188.360k|
| | -| 1.46x|
|take3_nonary | 90.684k| 112.688k|
| | -| 1.24x|
|take3_noarg | 131.940k| 189.471k|
| | -| 1.44x|
|chain-first_ary | 195.913k| 286.194k|
| | -| 1.46x|
|chain-first_nonary | 127.483k| 168.716k|
| | -| 1.32x|
|chain-first_noarg | 201.252k| 298.562k|
| | -| 1.48x|
|chain-take3_ary | 101.189k| 183.188k|
| | -| 1.81x|
|chain-take3_nonary | 75.381k| 112.301k|
| | -| 1.49x|
|chain-take3_noarg | 101.483k| 192.148k|
| | -| 1.89x|
|block | 296.696k| 292.877k|
| | 1.01x| -|
Notes:
Merged: https://github.com/ruby/ruby/pull/3339
|
|
| |compare-ruby|built-ruby|
|:-------|-----------:|---------:|
|num3 | 96.333k| 160.732k|
| | -| 1.67x|
|num10 | 96.615k| 159.150k|
| | -| 1.65x|
|ary2 | 103.836k| 172.787k|
| | -| 1.66x|
|ary10 | 109.249k| 177.252k|
| | -| 1.62x|
|ary20 | 106.628k| 177.371k|
| | -| 1.66x|
|ary50 | 107.135k| 162.282k|
| | -| 1.51x|
|ary100 | 106.513k| 177.626k|
| | -| 1.67x|
Notes:
Merged: https://github.com/ruby/ruby/pull/3339
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3339
|
|
|
|
defines.h already has them. Also __cplusplus can never be defined here.
Notes:
Merged: https://github.com/ruby/ruby/pull/3348
|
|
- util.h includes defines.h,
- ... which includes ruby/backward/2/stdarg.h,
- ... which always defines _.
This `#ifndef _` must never happen.
Notes:
Merged: https://github.com/ruby/ruby/pull/3348
|
|
This was introduced in 191ce5344ec42c91571f8f47c85be9138262b1c7
and has been unused since beae6cbf0fd8b6619e5212552de98022d4c4d4d4
Notes:
Merged: https://github.com/ruby/ruby/pull/3353
|
|
|
|
Fix Time#strftime with timezone [Bug #17042]
Notes:
Merged-By: nobu <nobu@ruby-lang.org>
|
|
|
|
https://github.com/ruby/optparse/commit/4c0021b5b2
|
|
Now needs `DidYouMean#formatter` which is provided since
did_you_mean 1.2, which requires ruby 2.5.
https://github.com/ruby/optparse/commit/d44bb5c715
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3349
|
|
* Enhanced RDoc for Array
Methods:
==
eql?
hash
include?
<=>
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
98286e9850936e27e8ae5e4f20858cc9c13d2dde made it so that
`Module#include` allocates an origin iclass on each use. Since `include`
is widely used, the extra allocation can contribute significantly to
memory usage.
Instead of always allocating in anticipation of prepend, this change
takes a different approach. The new setup inserts a origin iclass into
the super chains of all the children of the module when prepend happens
for the first time.
rb_ensure_origin is made static again since now that adding an origin
now means walking over all usages, we want to limit the number of places
where we do it.
Notes:
Merged: https://github.com/ruby/ruby/pull/3331
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3163
|
|
|
|
The RubyVM uses C macro defines to feature detect whether
`backtrace(2)` support is available, and if so it includes C level backtraces
when the RubyVM itself crashes.
But on my machine, C level backtraces from `vm_dump.c` didn't work when
using a version of Ruby buillt on the machine, but worked fine when using a
version of Ruby built on another machine and copied to my machine.
The default autoconf test for backtraces uses a sigaltstack size that is
too small, so the SIGSEGV signal handler itself causes a SIGSEGV).
I noticed that signal.c uses a larger sigaltstack size:
https://github.com/ruby/ruby/blob/v2_6_5/signal.c#L568
The specific variables it looks at:
- `HAVE_BACKTRACE`
this is a macro defined by autoconf because there is a line in the
configure script like `AC_CHECK_FUNCS(backtrace)` (see the autoconf
docs for more).
- `BROKEN_BACKTRACE`
this comes from a custom program that Ruby's configure script runs to
attempt to figure out whether actually using backtrace(2) in a real
program works. You can see the autoconf program here.
<https://github.com/ruby/ruby/blob/v2_6_5/configure.ac#L2817-L2863>
It uses sigaltstack and SA_ONSTACK to create a seperate stack for
handling signals.
The problem was: SIGSTKSZ (which comes from a system header!) was not
suggesting a large enough stack size. When checking on an Ubuntu 16.04
box, we found that SIGSTKSZ was 8192 and MINSIGSTKSZ was 2048.
Notes:
Merged: https://github.com/ruby/ruby/pull/3307
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3318
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3318
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3318
|
|
|