summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-19[DOC] Fixed markups in dtrace_probes.rdoc [ci skip]Nobuyoshi Nakada
* `+` can enclose just a word. * TIDYLINK with braces gets confused when other braces even inside code precede.
2020-12-19Fix `warning: instance variable @head not initialized` and remove unused ↵Kazuhiro NISHIYAMA
instance variable
2020-12-19NEWS: Add an entry of Digest 3.0.0 [ci skip]Kenta Murata
2020-12-19[digest] Version 3.0.0Kenta Murata
https://github.com/ruby/digest/commit/4bbd247a32
2020-12-19[digest] Make digest Ractor safeKenta Murata
https://github.com/ruby/digest/commit/c13a024b85 https://github.com/ruby/digest/commit/9edca3f8be https://github.com/ruby/digest/commit/378b56b6ca
2020-12-19[digest] Added rb_digest_make_metadata to wrap metadataNobuyoshi Nakada
https://github.com/ruby/digest/commit/7046fe6005
2020-12-19Partially reintroduce e042e8460bb9a63c05f938d51e8c7c5345a6f3a4 and ...Yusuke Endoh
34f06062174882a98ebef998c50ad8d4f7fc0f2e Add a test for alias_method
2020-12-19Feature 17314: alias_method returns symbolRadosław Bułat
2020-12-19Use rb_id_attrset without intermediate stringsNobuyoshi Nakada
2020-12-19Added missing tests for public, private, protected and alias_methodNobuyoshi Nakada
2020-12-19Feature 17314: update docs and NEWS about attr* methods returning array of ↵Radosław Bułat
symbols
2020-12-19unfreeze Ractor::MovedObjectKoichi Sasada
Matz prefers to unfreeze the class. [Feature #17401]
2020-12-19add "copy: true" option for Ractor.make_shareableKoichi Sasada
Ractor.make_shareable(obj) tries to make obj a shareable object by changing the attribute of obj and traversable objects from obj (mainly freeze them). "copy: true" option is more conservative approach by make deep copied object and make it sharable. It doesn't affect any existing objects.
2020-12-19fix refinements/prepend bugKoichi Sasada
replaced method entry should be invalidated. [Bug #17386]
2020-12-19fix method cache debug toolKoichi Sasada
2020-12-19Added tests for [Feature #17314]Yusuke Endoh
Partially reintroduce 34f06062174882a98ebef998c50ad8d4f7fc0f2e
2020-12-19Revert "Revert "Use rb_id_attrset without intermediate strings""Yusuke Endoh
This reverts commit 41c208d4a463183fddca250026e5f1cd759d2604. Reintroduce 66090b9d10cdaed917b525225e59d1c19e399248.
2020-12-19spec/ruby/core/module/attr_*: Add version guardsYusuke Endoh
2020-12-19attr_reader, attr_writer, attr_accessor and attr methods returns array of ↵Radosław Bułat
symbols (#3935) Co-authored-by: Yusuke Endoh <mame@ruby-lang.org> Notes: Merged-By: mame <mame@ruby-lang.org>
2020-12-19NEWS: Add an entry of StringScanner 3.0.0 [ci skip]Kenta Murata
2020-12-19NEWS: Add an entry of StringIO 3.0.0 [ci skip]Kenta Murata
2020-12-19NEWS: fiddle 1.0.4 [ci skip]Kenta Murata
2020-12-18Use category: :experimental in warnings that are related to experimental ↵Jeremy Evans
features This adds rb_category_compile_warn in order to emit compiler warnings with categories. Note that Ripper currently ignores the category for these warnings, but by default it ignores the warnings completely, so this shouldn't matter. Notes: Merged: https://github.com/ruby/ruby/pull/3917
2020-12-18Use category: :deprecated in warnings that are related to deprecationJeremy Evans
Also document that both :deprecated and :experimental are supported :category option values. The locations where warnings were marked as deprecation warnings was previously reviewed by shyouhei. Comment a couple locations where deprecation warnings should probably be used but are not currently used because deprecation warning enablement has not occurred at the time they are called (RUBY_FREE_MIN, RUBY_HEAP_MIN_SLOTS, -K). Add assert_deprecated_warn to test assertions. Use this to simplify some tests, and fix failing tests after marking some warnings with deprecated category. Notes: Merged: https://github.com/ruby/ruby/pull/3917
2020-12-18Make warning_categories a map of category symbols to category numbersJeremy Evans
Use this to simplify rb_warning_category_from_name. This also adds support for using the :experimental category in Kernel#warn and Warning.warn. Notes: Merged: https://github.com/ruby/ruby/pull/3917
2020-12-18Switch rb_category_warn{,ing} to accept an rb_warning_category_tJeremy Evans
Since we decided to only allowing specific warning categories, there is no reason to have an API that accepts a general string, as it is more error-prone. Switch to only allowing the specific warning categories. As rb_category_warn{,ing} are public API, this requires making rb_warning_category_t public API as well. Notes: Merged: https://github.com/ruby/ruby/pull/3917
2020-12-19[bigdecimal] Fix test for d5ab8e8562Kenta Murata
2020-12-19[bigdecimal] Use rb_undef_alloc_func to undefine allocateKenta Murata
2020-12-19[ruby/reline] Use cached prompt list when just moved the cursoraycabta
https://github.com/ruby/reline/commit/cfe619460b
2020-12-19[ruby/reline] Yank by em-kill-region correctlyaycabta
This closes ruby/reline#106. https://github.com/ruby/reline/commit/2549a52e15
2020-12-19[ruby/reline] Bind yank-pop correctlyaycabta
https://github.com/ruby/reline/commit/3c74beac65
2020-12-19[ruby/reline] Add Enumerable to KillRing for debuggingaycabta
https://github.com/ruby/reline/commit/d208874152
2020-12-19[ruby/reline] [ruby/irb] Call ripper only once when generating dynamic promptaycabta
https://github.com/ruby/irb/commit/babb122a48 https://github.com/ruby/reline/commit/e6dbcb3b42
2020-12-19support Ruby 2.x for opensslKoichi Sasada
2020-12-19Update TypeProf to 0.10.0Yusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/3933
2020-12-19Fixed not to make non-literal expression shareable [Feature #17273]Nobuyoshi Nakada
Non-literal expression which is not a part of a literal expression is not a subject of `shareable_literal_value: literal`.
2020-12-19* 2020-12-19 [ci skip]git
2020-12-19Remove unused variableRadosław Bułat
Notes: Merged: https://github.com/ruby/ruby/pull/3934
2020-12-18[stringio] Version 3.0.0Kenta Murata
https://github.com/ruby/stringio/commit/831be01071
2020-12-18[stringio] Add test-unit in the development dependenciesKenta Murata
https://github.com/ruby/stringio/commit/de010fc0e9
2020-12-18[stringio] Make stringio Ractor safeKenta Murata
https://github.com/ruby/stringio/commit/ee3fec7512 https://github.com/ruby/stringio/commit/18dcd045ef https://github.com/ruby/stringio/commit/18dcd045ef
2020-12-18[openssl] Fix dependenciesKenta Murata
2020-12-18openssl is ractor-safeKoichi Sasada
ossl_bn_ctx is C's global variable and it should be ractor-local to make it ractor-safe.
2020-12-18finalizing should be checked before VM lockKoichi Sasada
2020-12-18Removed a moved local variableNobuyoshi Nakada
2020-12-18need to sync gc_finalize_deferredKoichi Sasada
gc_finalize_deferred() runs finalizers and it accesses objspace, so it need to sync.
2020-12-18Removed old GC.stat keys deprecated since 2.2Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3921
2020-12-18Removed old GC tuning environment variables deprecated since 2.1Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3921
2020-12-18Revert "Better cooperation between public/protected/private with attr* and ↵Yusuke Endoh
alias_method" This reverts commit 81739ad4fdfcc86a769056fec352f27c686fba1b.
2020-12-18Revert "Use rb_id_attrset without intermediate strings"Yusuke Endoh
This reverts commit 66090b9d10cdaed917b525225e59d1c19e399248.