summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-24[ruby/irb] Try not to register the exact same measuring method twiceaycabta
https://github.com/ruby/irb/commit/cc66b5573e
2020-12-24Fix a typo [ci skip]Kazuhiro NISHIYAMA
2020-12-24Store errno in struct rb_process_statusNobuyoshi Nakada
To propagate errno in the fiber thread scheduler hook. Returns nil when no terminated process. Notes: Merged: https://github.com/ruby/ruby/pull/3998
2020-12-24Bundle RBS 1.0.0 (#3994)Soutaro Matsumoto
Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2020-12-24doc/syntax/pattern_matching.rdoc: fix typos, grammar, styleMarcus Stollsteimer
2020-12-24doc/extension.ja.rdoc: remove trailing whitespaceMarcus Stollsteimer
2020-12-24doc/keywords.rdoc: fix typoMarcus Stollsteimer
2020-12-24Remove unneeded codeMarc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/3993
2020-12-24doc/maintainers.rdoc: typoYusuke Endoh
2020-12-24update doc/ractor.mdKoichi Sasada
2020-12-24gen-release-note.rb: Avoid to depend release metadatav3_0_0_rc2NARUSE, Yui
Because it doesn't have metadata when I edit draft.
2020-12-24Add tag keyNARUSE, Yui
Release note will use tag value when I write GitHub URLs with release tags.
2020-12-24Add release engineering related toolsNARUSE, Yui
2020-12-24Revert "remove bz2"NARUSE, Yui
This reverts commit 7856da5fe75a76bec909778e411270c10a04ca3a. For other branches
2020-12-24Bundle RBS 1.0.0.pre2 (#3991)Soutaro Matsumoto
Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2020-12-24doc/keywords.rdoc: mention pattern matching in the `in` keyword sectionYusuke Endoh
2020-12-24Redocument non-blocking Fibers and schedulerzverok
* Document Fiber's method related to scheduling; * Extend Fiber's class docs with concepts of non-blocking fibers; * Introduce "imaginary" (documentation-only) class Fiber::SchedulerInterface to properly document how scheduler's methods should look. Notes: Merged: https://github.com/ruby/ruby/pull/3891
2020-12-24doc/contributing.rdoc: remove outdated contentYusuke Endoh
2020-12-24README.md: Haiku is currently unsupportedYusuke Endoh
2020-12-24Use RBIMPL_COMPILER_{SINCE,BEFORE} for MSVCNobuyoshi Nakada
Pointed out by @shyouhei. NOTE: Already we have dropped the support for older MSVCs, probably prior to 1300 or 1400. Remove the conditional code, especially in win32/Makefile.sub.
2020-12-24Add call-seq to Ractor doc; improve wording [doc]Marc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/3992
2020-12-23Let's be more accurate [ci skip]Takashi Kokubun
2020-12-23Add NEWS entries about JIT in Jul ~ DecTakashi Kokubun
* Instance variables * Merge ivar guards on JIT https://github.com/ruby/ruby/commit/a69dd699ee630dd1086627dbca15a218a8538b6f https://github.com/ruby/ruby/commit/e4f7eee009ebe1f23ee3e5ea69ccd9ea1530bc6f * Prefer RB_OBJ_FROZEN_RAW https://github.com/ruby/ruby/commit/5611066e03fe73bdbb08cc46f79530c69975cf17 * Skip checking ROBJECT_EMBED https://github.com/ruby/ruby/commit/81a8d1cf09d59f0d69143d7896545f849f580a4e * Method inlining * Mark some Integer methods as inline https://github.com/ruby/ruby/commit/0703e014713ae92f4c8a2b31e385718dc2452eac * Allow inlining Integer#-@ and #~ https://github.com/ruby/ruby/commit/dbb4f1996939d0ce977e6b37579e28dd886428ff * Inline builtin struct aref https://github.com/ruby/ruby/commit/167d139487d67613bd02522e24476f06ffa137b7 * Make Kernel#then, #yield_self, #frozen? builtin https://github.com/ruby/ruby/commit/24fa37d87a24dc932c1d778bcaf91204f5c12a76 * (For future) Rewrite Kernel#tap with Ruby https://github.com/ruby/ruby/commit/f3a0d7a2035e9f5e0c70effd55732607e3def263 * Other optimizations * Inline constant references https://github.com/ruby/ruby/commit/53babf35ef5b643774636550ea23851e2607e076 * Lazily move PC with RUBY_VM_CHECK_INTS https://github.com/ruby/ruby/commit/5d74894f2bc4a3a18aec952d946ead3d784cb4b4 * Cache access to reg_cfp->self on JIT https://github.com/ruby/ruby/commit/d40983772966938828a28c6e89752a3e76447b9e * JIT compaction * Shrink the blocking region for compile_compact_jit_code https://github.com/ruby/ruby/commit/ed8e552d4d2c825a3f780ac8bd898eaaca7c21e7 * Stop leaving .c files for JIT compaction in /tmp https://github.com/ruby/ruby/commit/fa1250a506e9b6a1bcbf664f6b7b9c06e045d9b9 * GC of JIT-ed code * Run unload_units in the JIT worker thread https://github.com/ruby/ruby/commit/16dab6b69263ed9c816bc0283c8c1f2f95dc1027 * Avoid unloading units which have enough total_calls https://github.com/ruby/ruby/commit/d80226e7bd801fcbccf71f19ba373b7baf71a49e * Throttle unload_units https://github.com/ruby/ruby/commit/122cd35939ddf8ef7bfa17ad75570c01d0cf06ab * Throttle JIT compaction https://github.com/ruby/ruby/commit/096f54428d8000cccce430022784cb0e7cd31cb4 * Compilation speed * Eliminate IVC sync between JIT and Ruby threads https://github.com/ruby/ruby/commit/0960f56a1d773c5417e9de729e159d346aec17ca * Lazily move units from active_units to stale_units https://github.com/ruby/ruby/commit/5d8f227d0edd3c542fcac465eb82005a5f852d34 Please see https://github.com/ruby/ruby/commit/200c5f4075cb1d179c2eba5b30b5b0a500870f67 for other improvements in Jan ~ Jun.
2020-12-24Tweak magic comments [doc]Marc-Andre Lafortune
2020-12-24NEWS.md: grammatical improvementYusuke Endoh
2020-12-24Review commentszverok
Notes: Merged: https://github.com/ruby/ruby/pull/3981
2020-12-24Redocument Fiber#transferzverok
Notes: Merged: https://github.com/ruby/ruby/pull/3981
2020-12-24dir.c: chdir conflict should raise only when called in different threadYusuke Endoh
... and keep it as a warning (like 2.7) when it is called in the same thread. [Bug #15661] Notes: Merged: https://github.com/ruby/ruby/pull/3990
2020-12-24remove redundant example.Koichi Sasada
pointed by @marcandre.
2020-12-24shareable_constant_value: experimental_copyKoichi Sasada
"experimental_everything" makes the assigned value, it means the assignment change the state of assigned value. "experimental_copy" tries to make a deep copy and make copyied object sharable. Notes: Merged: https://github.com/ruby/ruby/pull/3989
2020-12-23Fix class of method in Method#inspect for singleton classes of classesJeremy Evans
Previously, due to a change to fix bug 15608, Method#inspect output changed for class methods: Ruby 2.7 "#<Method: String.prepend(*)>" Before change: "#<Method: #<Class:Object>(Module)#prepend(*)>" This is wrong because the Method object was created from String and not Object. This is because the fix for bug 15608 assumed it was being called on the singleton class of a instance, and would skip the first singleton class until it got to the class itself. For class methods, this results in always using the superclass. Fix behavior to not skip until the superclass if the singleton class is the singleton class of a module or class. After change: "#<Method: #<Class:Object>(Module)#prepend(*)>" Fixes [Bug #17428] Notes: Merged: https://github.com/ruby/ruby/pull/3984
2020-12-24add about Ractor into extension.rdoc [ci skip]Koichi Sasada
2020-12-24etc: use atomic operation instead of mutexNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3983
2020-12-24Expose atomic operation macros with RUBY prefixNobuyoshi Nakada
Now we need atomic operations, which are lighter than mutex, more widely for extension libraries because of Ractor. Notes: Merged: https://github.com/ruby/ruby/pull/3983
2020-12-24test/ruby/test_module.rb: not depend on the order of method definitionsYusuke Endoh
2020-12-24[memory_view] Fix some grammar issues in a commentKenta Murata
2020-12-23doc/fiber.md: fix typosMarcus Stollsteimer
2020-12-24introduce rb_ractor_atfork()Koichi Sasada
to reset main ractor at fork().
2020-12-24fix ractor-locking around rb_ractor_thread_list()Koichi Sasada
With locking a ractor, rb_ary_push() can call RB_VM_LOCK_ENTER() and it violates an assertion: should not acquire ractor-lock.
2020-12-23Small improvements in magic comments docsMarcus Stollsteimer
* remove a duplicate statement * fix rdoc markup * fix typos
2020-12-24remove method__cache__clearKoichi Sasada
DTrace probe method__cache__clear is no longer used. [Bug #16658]
2020-12-24sample/trick2015/kinaba/entry.rb: The constant "Data" has been removedYusuke Endoh
Instead, use "Proc" as a 4-letter constant.
2020-12-23Document shareable_constant_value and other magic constants [doc]Marc-Andre Lafortune
2020-12-24Reset paren_nest at tAREF and tASET [Bug #17431]Nobuyoshi Nakada
2020-12-24Pass keyword options in assert_syntax_errorNobuyoshi Nakada
2020-12-24* 2020-12-24 [ci skip]git
2020-12-24Module#public_class_method also accepts a symbol array as an argumentYusuke Endoh
I'm unsure if this is intentional, but add a document anyway. [Feature #17314]
2020-12-23[fiddle] Update to 1.0.6Kenta Murata
2020-12-23[ruby/irb] Change StdioInputMethod#eof? to non-blockingaycabta
This fixes --inf-ruby-mode. https://github.com/ruby/irb/commit/0e4a818955
2020-12-23[ruby/irb] Fix error_message for assert_dynamic_promptaycabta
https://github.com/ruby/irb/commit/b12dfb6298