| Age | Commit message (Collapse) | Author |
|
Rmoved optional parameter `printed_exceptions`, and clear
`exceptions` just after printing each exception, instead.
Notes:
Merged: https://github.com/ruby/ruby/pull/2649
|
|
Let the method of `DottedFormatter` subclasses have the same
arity.
Notes:
Merged: https://github.com/ruby/ruby/pull/2649
|
|
This reverts commit 6ffc045a817fbdf04a6945d3c260b55b0fa1fd1e.
|
|
Ruby master branch currently fails on win32 MINGW at this spec:
https://github.com/ruby/spec/blob/master/core/thread/element_set_spec.rb
MINGW makes use of setjmp3() implemented in MSVCRT.DLL.
This function traverses the SEH list up to a terminating pointer 0xFFFFFFFF.
It therefore currently segfaults on NULL.
The SEH linked list must be terminated by 0xFFFFFFFF instead of NULL.
This fixes the issue mentioned here:
https://github.com/ruby/ruby/pull/2279#issuecomment-509508810
Notes:
Merged: https://github.com/ruby/ruby/pull/2645
|
|
ISO/IEC 9899:1999 section 6.7.8 specifies the values of static
storage which are not explicitly initialized. According to that
these initializers can be omitted. Doing so improvoes future
compatibility against addition / deletion of the fields of this
struct.
|
|
Noticed that rb_method_basic_definition_p is frequently called.
Its callers include vm_caller_setup_args_block(),
rb_hash_default_value(), rb_num_neative_int_p(), and a lot more.
It seems worth caching the method resolution part. Majority of
rb_method_basic_definion_p() usages take fixed class and fixed
method id combinations.
Calculating -------------------------------------
ours trunk
so_matrix 2.379 2.115 i/s - 1.000 times in 0.420409s 0.472879s
Comparison:
so_matrix
ours: 2.4 i/s
trunk: 2.1 i/s - 1.12x slower
Notes:
Merged: https://github.com/ruby/ruby/pull/2629
|
|
|
|
|
|
|
|
Instead run test-bundled-gems.rb by `ENV['RUBY']`, which should be
set by runruby.rb.
Notes:
Merged: https://github.com/ruby/ruby/pull/2646
|
|
We track recursion in order to not infinite loop in ==, inspect, and
similar methods by keeping a thread-local 1 or 2 level hash. This allows
us to track when we have seen the same object (ex. using inspect) or
same pair of objects (ex. using ==) in this stack before and to treat
that differently.
Previously both levels of this Hash used the object's memory_id as a key
(using object_id would be slow and wasteful). Unfortunately, prettyprint
(pp.rb) uses this thread local variable to "pretend" to be inspect and
inherit its same recursion behaviour.
This commit changes the top-level hash to be an identity hash and to use
objects as keys instead of their object_ids.
I'd like to have also converted the 2nd level hash to an ident hash, but
it would have prevented an optimization which avoids allocating a 2nd
level hash for only a single element, which we want to keep because it's
by far the most common case.
So the new format of this hash is:
{ object => true } (not paired)
{ lhs_object => rhs_object_memory_id } (paired, single object)
{ lhs_object => { rhs_object_memory_id => true, ... } } (paired, many objects)
We must also update pp.rb to match this (using identity hashes).
Notes:
Merged: https://github.com/ruby/ruby/pull/2644
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2641
|
|
|
|
Removed `if` conditions separating `test-bundled-gems`, and pass
`TESTOPTS` and `TEST_BUNDLED_GEMS_ALLOW_FAILURES` via `env`.
Notes:
Merged: https://github.com/ruby/ruby/pull/2643
|
|
|
|
This commit is to attempt fixing this error:
http://ci.rvm.jp/results/trunk-gc-asserts@ruby-sky1/2353281
Each non-full heap_page struct contains a reference to the next page
that contains free slots. Compaction could fill any page, including
pages that happen to be linked to as "pages which contain free slots".
To fix this, we'll iterate each page, and rebuild the "free page list"
depending on the number of actual free slots on that page. If there are
no free slots on the page, we'll set the free_next pointer to NULL.
Finally we'll pop one page off the "free page list" and set it as the
"using page" for the next allocation.
|
|
|
|
|
|
|
|
|
|
It is unnatural and probably a typo.
|
|
This reverts commit ba35c14325ebbf1da8f200df83c45ee9937ff8a1.
This is because ripper fails symbol lookup error.
|
|
It is unnatural and probably a typo.
|
|
|
|
|
|
It looks like hanging up when fetching from a remote first time.
|
|
https://github.com/ruby/racc/commit/a887ebe529
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
https://github.com/ruby/ruby/pull/2637#discussion_r341812475
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2637
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2539
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2538
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2538
|
|
I think this meant to mention `MatchData`? This is a breaking change, but
should be a minor one.
Notes:
Merged: https://github.com/ruby/ruby/pull/2608
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2510
|
|
https://github.com/ruby/date/commit/9bc6e30a82
|
|
https://github.com/ruby/date/commit/ae14e5f293
|
|
This gets the time zone abbreviations from
https://www.timeanddate.com/time/zones/, and adds unambiguous time
zones not already present in zonetab.list. See bin/update-abbr
for the program used.
This regenerates zonetab.h using prereq.mk (requires gperf).
Only one test line is added, just to make sure a new time zone
abbreviation is picked up.
Fixes Ruby Bug 16286
https://github.com/ruby/date/commit/702e8b3033
|