summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-23* 2021-10-23 [ci skip]git
2021-10-23update doc/ractor.md about ivarsKoichi Sasada
Notes: Merged: https://github.com/ruby/ruby/pull/5006
2021-10-23add vm_ivar_of_class_setKoichi Sasada
benchmark for a class's ivar setter Notes: Merged: https://github.com/ruby/ruby/pull/5006
2021-10-23allow to access ivars of classes/modulesKoichi Sasada
if an ivar of a class/module refer to a shareable object, this ivar can be read from non-main Ractors. Notes: Merged: https://github.com/ruby/ruby/pull/5006
2021-10-22'uri/https' is neededKoichi Sasada
`URI.parse('https://a.b.c/')` needs 'uri/https'.
2021-10-22Fix simple test on platforms where compaction is not supportedAlan Wu
844588f9157b364244a7d34ee0fcc70ccc2a7dd9 made it so that trying to call gc_verify_compaction_references on unsupported platform result in an exception rather than a crash. Rescue the exception in a YJIT btest that uses gc_verify_compaction_references. Notes: Merged: https://github.com/ruby/ruby/pull/5004 Merged-By: XrXr
2021-10-22[ruby/mutex_m] Make VERSION shareablerm155
https://github.com/ruby/mutex_m/commit/a839e29d04
2021-10-22[ruby/uri] URI#HTTP#origin and URI#HTTP#authority ↵Tiago
(https://github.com/ruby/uri/pull/30) https://github.com/ruby/uri/commit/bf13946c32 Co-authored-by: Samuel Williams <samuel.williams@oriontransfer.co.nz>
2021-10-22[ruby/delegate] gemspec: Drop unused executables directivesOlle Jonsson
https://github.com/ruby/delegate/commit/81a3c32140
2021-10-22Reduce YJIT runs on macOS [ci skip]Nobuyoshi Nakada
MacOs concurrency on GitHub Actions is limited, and the performance is relatively poor.
2021-10-22Import bigdecimal-3.1.0.devHiroshi SHIBATA
2021-10-22Refinement#include and Refinement#prepend have been deprecatedNobuyoshi Nakada
2021-10-22debug.gem 1.3.1Koichi Sasada
2021-10-22Refinement#include and Refinement#prepend have been deprecatedNobuyoshi Nakada
2021-10-22Extract UNPACK_FETCHNobuyoshi Nakada
2021-10-21Fix TestRubyOptions#test_enable for -DMJIT_FORCE_ENABLETakashi Kokubun
--enable=all didn't work when cppflags=-DMJIT_FORCE_ENABLE was given.
2021-10-21Push compaction page alignment check downAaron Patterson
It seems like `gc_verify_compaction_references` is not protected in case alignment is wrong. This commit pushes the alignment check down to `gc_start_internal` so that anyone trying to compact will check page alignment I think this method may be getting called on PowerPC and the alignment might be wrong. http://rubyci.s3.amazonaws.com/ppc64le/ruby-master/log/20211021T190006Z.fail.html.gz Notes: Merged: https://github.com/ruby/ruby/pull/5001
2021-10-21YJIT: don't compile attr_accessor methods when tracing (#4998)Alan Wu
2d98593bf54a37397c6e4886ccc7e3654c2eaf85 made it so that attr_accessor methods fire C method tracing events. Previously, we weren't checking for whether we are tracing before compiling, leading to missed events. Since global invalidation invalidates all code, and that attr_accessor methods can never enable tracing while running, events are only dropped when YJIT tries to compile when tracing is already enabled. Factor out the code for checking tracing and check it before generating code for attr_accessor methods. This change fixes TestSetTraceFunc#test_tracepoint_attr when it's ran in isolation. Notes: Merged-By: maximecb
2021-10-22[rubygems/rubygems] Re-enable `default_ignores` option for standard Justin Searls
I am not sure why this flag was turned off (it wasn't explained in my commit message in 0365dc852767ae589376a7aad1fb129738e408b0 or in my PR in #4411). Whatever the reason, without `default_ignores` turned on, most default CI configurations will immediately fail, as they most likely vendor and cache their dependencies under `vendor`, which will cause standard to run against all the vendored gems and (most likely) fail. I think we should remove this before this feature is released. https://github.com/rubygems/rubygems/commit/677f74be48
2021-10-21Add link to YJIT blog post to NEWS.mdMaxime Chevalier-Boisvert
Requested by @nurse
2021-10-22* 2021-10-22 [ci skip]git
2021-10-21Force disable yjit on OpenBSDJeremy Evans
TestRubyOptions#test_enable was broken on OpenBSD after the yjit merge. --yjit (and --enable-all, which enables --yjit) fails on OpenBSD because yjit uses an insecure mmap call (both writable and executable), in alloc_exec_mem, which OpenBSD does not allow. This can probably be reverted if yjit switches to a more secure mmap design (writable xor executable). This would involve initially calling mmap with PROT_READ | PROT_WRITE, and after writing of executable code has finished, using mprotect to switch to PROT_READ | PROT_EXEC. I believe Firefox uses this approach for their Javascript engine since Firefox 46.
2021-10-21Added version of readline-extHiroshi SHIBATA
2021-10-21Bump up readline-ext version to 0.1.3Hiroshi SHIBATA
2021-10-21Update the merged versions of default gems.Hiroshi SHIBATA
2021-10-21[ruby/prettyprint] Bump up prettyprint version to 0.1.1Hiroshi SHIBATA
https://github.com/ruby/prettyprint/commit/0e8eee5f5f
2021-10-21[ruby/pp] Bump up pp version to 0.2.1Hiroshi SHIBATA
https://github.com/ruby/pp/commit/06b839b9ca
2021-10-21[ruby/securerandom] Bump up securerandom version to 0.1.1Hiroshi SHIBATA
https://github.com/ruby/securerandom/commit/5f9d3d1dfa
2021-10-21[ruby/rinda] Bump up rinda version to 0.1.1Hiroshi SHIBATA
https://github.com/ruby/rinda/commit/d394ba107e
2021-10-21[ruby/optparse] Bump up optparse version to 0.2.0Hiroshi SHIBATA
https://github.com/ruby/optparse/commit/1226b670e6
2021-10-21[ruby/net-http] Bump up net-http version to 0.2.0Hiroshi SHIBATA
https://github.com/ruby/net-http/commit/f3e65e2a31
2021-10-21[ruby/net-protocol] Bump up net-protocol version to 0.1.2Hiroshi SHIBATA
https://github.com/ruby/net-protocol/commit/088e52609a
2021-10-21[ruby/uri] Bump up uri version to 0.11.0Hiroshi SHIBATA
https://github.com/ruby/uri/commit/1619f713e6
2021-10-21[ruby/ostruct] Bump up ostruct version to 0.5.0Hiroshi SHIBATA
https://github.com/ruby/ostruct/commit/c535a406f8
2021-10-21[ruby/io-wait] Bump up io-wait version to 0.2.0Hiroshi SHIBATA
https://github.com/ruby/io-wait/commit/f6a1b10a59
2021-10-21[ruby/stringio] Bump up stringio version to 3.0.1Hiroshi SHIBATA
https://github.com/ruby/stringio/commit/f7c40aa339
2021-10-21[ruby/fileutils] Bump up fileutils version to 1.6.0Hiroshi SHIBATA
https://github.com/ruby/fileutils/commit/918d19e4f2
2021-10-21Deprecate include/prepend in refinements and add Refinement#import_methods ↵Shugo Maeda
instead Refinement#import_methods imports methods from modules. Unlike Module#include, it copies methods and adds them into the refinement, so the refinement is activated in the imported methods. [Bug #17429] [ruby-core:101639]
2021-10-21freeze (make shareable) script_linesKoichi Sasada
Notes: Merged: https://github.com/ruby/ruby/pull/4913
2021-10-21`RubyVM.keep_script_lines`Koichi Sasada
`RubyVM.keep_script_lines` enables to keep script lines for each ISeq and AST. This feature is for debugger/REPL support. ```ruby RubyVM.keep_script_lines = true RubyVM::keep_script_lines = true eval("def foo = nil\ndef bar = nil") pp RubyVM::InstructionSequence.of(method(:foo)).script_lines ``` Notes: Merged: https://github.com/ruby/ruby/pull/4913
2021-10-20Fix test_version again for RUBY_YJIT_ENABLE=1Takashi Kokubun
2021-10-20Reduce the amount of false positive notificationsTakashi Kokubun
While f6048e592c520e20ba498ba4d553f07f02213a61 tried to approach the instability mentioned there, unfortunately the Travis arm32 environment seems unstable by itself. I already saw 2 different failures in the last 4 builds: https://app.travis-ci.com/github/ruby/ruby/jobs/544382885 https://app.travis-ci.com/github/ruby/ruby/jobs/544361370 Let's revisit this when this kind of thing stops happening.
2021-10-21[ruby/psych] Bump up psych version to 4.0.2Hiroshi SHIBATA
https://github.com/ruby/psych/commit/69a713f860
2021-10-21Move the test fileNobuyoshi Nakada
2021-10-21Fix for out-of-place buildNobuyoshi Nakada
2021-10-21Suppress warningsNobuyoshi Nakada
2021-10-20Fix tests with cppflags=-DYJIT_FORCE_ENABLETakashi Kokubun
https://github.com/ko1/build-ruby/commit/0dbd95c6250594b6ddadc3c4424b071704083187
2021-10-20Add bit about YJIT to NEWS.mdMaxime Chevalier-Boisvert
Notes: Merged: https://github.com/ruby/ruby/pull/4997
2021-10-21* append newline at EOF. [ci skip]git
2021-10-20YJIT: Show GCC that the mmap probing loop runs at least onceAlan Wu
Fixes: ./src/yjit_asm.c:196:8: warning: 'mem_block' may be used uninitialized [-Wmaybe-uninitialized]