summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-08Promote pp to default gemsHiroshi SHIBATA
2020-10-08* 2020-10-08 [ci skip]git
2020-10-07Add missing WB for iseqAaron Patterson
The write barrier wasn't being called for this object, so add the missing WB. Automatic compaction moved the reference because it didn't know about the relationship (that's how I found the missing WB).
2020-10-07Revert "Don't export rb_callable_receiver"Nobuyoshi Nakada
This reverts commit c839168b1141db53bedef771d1bc78908b6ac782. `rb_callable_receiver` does not need to be exposed under include.
2020-10-06Prevent objects from moving while iterating the heapAaron Patterson
This iterator uses an st_table, but if objects move the references in the st table won't be updated. This patch just changes the st table to an identity hash. Notes: Merged: https://github.com/ruby/ruby/pull/3634
2020-10-06Don't export rb_callable_receiverChris Seaton
Notes: Merged: https://github.com/ruby/ruby/pull/3629
2020-10-06Use proc_binding rather than rb_funcallChris Seaton
FIX Notes: Merged: https://github.com/ruby/ruby/pull/3629
2020-10-06Make `marshal_load` publicAaron Patterson
Ruby specs expected this method to be public
2020-10-06[lib/ostruct] Fix Marshal loadingMarc-Andre Lafortune
2020-10-07* 2020-10-07 [ci skip]git
2020-10-06No longer need libtoolNobuyoshi Nakada
As debug_counter.c has had a global symbol since cdc614cd0a21, ranlib should no longer complain that it has no symbols.
2020-10-06Appended a newline to suppress newline-eof warningNobuyoshi Nakada
2020-10-06include/ruby/memory_view.h: annotate functions卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/3631
2020-10-06rb_memory_view_is_contiguous: convert into an inline function卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/3631
2020-10-06STRUCT_ALIGNOF: use RUBY_ALIGNOF卜部昌平
This was a workaround for RUBY_ALIGNOF's glitch, which has already been fixed. See also https://github.com/ruby/ruby/pull/3570 Notes: Merged: https://github.com/ruby/ruby/pull/3631
2020-10-06memory_view.h: use bool卜部昌平
Because `bool` is already used in the header there is no reason to hesitate. Notes: Merged: https://github.com/ruby/ruby/pull/3631
2020-10-06RB_RANDOM_DATA_INIT_PARENT: convert into an inline function卜部昌平
Bit readable to me. Notes: Merged: https://github.com/ruby/ruby/pull/3631
2020-10-06rb_rand_if: convert into an inline function卜部昌平
This adds more room for assertions. Notes: Merged: https://github.com/ruby/ruby/pull/3631
2020-10-06include/ruby/random.h: eliminate extern "C"卜部昌平
cf: https://github.com/ruby/ruby/pull/2991/commits/99add258571bf103c6d942bf0e4d510763b73918 Notes: Merged: https://github.com/ruby/ruby/pull/3631
2020-10-06Use $GITHUB_ENV instead of set-envKazuhiro NISHIYAMA
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ Notes: Merged: https://github.com/ruby/ruby/pull/3630
2020-10-06Remove unused commit_infoKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/3630
2020-10-06Moved rb_callable_receiver internalNobuyoshi Nakada
2020-10-06Add missing fileutils requireDavid Rodríguez
On my system, the error was being hidden by the presence of a YARD rubygems plugin that was providing the require and making things work.
2020-10-06* 2020-10-06 [ci skip]git
2020-10-05[ruby/tempfile] Improve the documentation for Tempfile.create and recommend ↵Benoit Daloze
Tempfile.open instead https://github.com/ruby/tempfile/commit/8bac025065
2020-10-05Fix traditional Ring example in Actor-modelSvyatoslav Kryukov
Notes: Merged: https://github.com/ruby/ruby/pull/3625
2020-10-05Remove system method for E2E testing because depends on ruby commandaycabta
Notes: Merged: https://github.com/ruby/ruby/pull/3628
2020-10-05Put an empty line before the original URLNobuyoshi Nakada
Even if the raw commit log does not end with a newline. Suggested to use `grep` by znz. Co-Authored-By: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2020-10-05* 2020-10-05 [ci skip]git
2020-10-05Show stdout and stderr when history tests failaycabta
2020-10-04* 2020-10-04 [ci skip]git
2020-10-04Adjusted default gems pathsNobuyoshi Nakada
* sync_default_gems.rb (sync_lib): sync from the same directory as sync_default_gems.
2020-10-03add NULL check.Koichi Sasada
DATA_PTR(ractor) can be NULL just after creation.
2020-10-03Update example to handle keywords passed to Warning.warnBenoit Daloze
2020-10-03Added the room for builtin inline prefixNobuyoshi Nakada
2020-10-03Check builtin inline function index overflowNobuyoshi Nakada
2020-10-02mark regex internal to string scannerAaron Patterson
Notes: Merged: https://github.com/ruby/ruby/pull/3623
2020-10-03Fix assert_ruby_status usage in 174ae0f5775cc7af7d197963a8f87b7d1972c268Kazuhiro NISHIYAMA
2020-10-02Improve docs of the Warning moduleBenoit Daloze
Notes: Merged: https://github.com/ruby/ruby/pull/3621
2020-10-03Remove known use-after-poison bugNobuyoshi Nakada
9eda6547812cbda23a73ba3b2620520b0de2bdd6 was fixed by b9488accf9e2cbf5f7c47b42b3eb23469f0aa58d.
2020-10-03* 2020-10-03 [ci skip]git
2020-10-03Fix ObjectSpace.dump(obj, output: :stdout)Kazuhiro NISHIYAMA
RDoc says `ObjectSpace.dump(obj, output: :stdout) # => nil`, but it returns STDOUT since fbba6bd4e3dff7a61965208fecae908f10c4edbe. I think it is unintentional change. Notes: Merged: https://github.com/ruby/ruby/pull/3620
2020-10-02Hoisted out ensure_cmp which checks the comparison succeededNobuyoshi Nakada
2020-10-02Update marshal.rdocGwitr
Notes: Merged: https://github.com/ruby/ruby/pull/3568
2020-10-02Ensure that the comparison succeeded [Bug #17205]Nobuyoshi Nakada
2020-10-01Update the thread's self / wrapper addressAaron Patterson
Threads can move, and if they do, their self pointer may go bad. We need to update it.
2020-10-02Put same frozen Range literal if possibleKoichi Sasada
Range literal is now frozen so we can reuse same Range object if the begin and the last are Numeric (frozen), such as `(1..2)`. Notes: Merged: https://github.com/ruby/ruby/pull/3587
2020-10-02Removed meaningless system dependent testsNobuyoshi Nakada
As [Bug #16662] lchmod available in linux since glibc 2.31.9000, a system call may exist or not exist depending on the version. It is not a spec nor responsibility of Ruby.
2020-10-02memory_view.c: Use ssize_t for ndim in memory_view (#3615)Kenta Murata
* memory_view.c: Use ssize_t for ndim in memory_view * include/ruby/memory_view.h: Fix the type of item_size argument Notes: Merged-By: mrkn <mrkn@ruby-lang.org>
2020-10-01Make minor improvements to supereileencodes
The changes here include: * Using `FL_TEST_RAW` instead of `FL_TEST` in the first check in `vm_search_super_method`. While the profile showed us spending a fair amount of time here, the subsequent benchmarks didn't show much improvement when adding this. Regardless, we know this does less work than `FL_TEST` and we know that `FL_TEST_RAW` is safe due to the previous check so it's a small but accurate optimization. * Set `mid` only once. Both `vm_ci_new_runtime` and `vm_ci_mid` were getting the `original_id` for the method entry. We can do this once and pass the variable to the 2 callers that need it. This also doesn't have a huge performance improvement but cleans up the code a bit. Benchmark: ``` | |compare-ruby|built-ruby| |:----------------|-----------:|---------:| |vm_iclass_super | 3.540M| 3.940M| | | -| 1.11x| ``` Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/3614