summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-07Rename to `Fiber#set_scheduler`.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/3742
2020-11-07* 2020-11-07 [ci skip]git
2020-11-06Add docs for some C extension GC APIsAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/3733
2020-11-06Added dependency for net-protocolHiroshi SHIBATA
2020-11-06a part of T_DATA object can Ractor#sendKoichi Sasada
T_DATA objects can refer unshareable objects and they should be copied recursively, however there is no way to replace with copied unshareable objects. However, if a T_DATA object refers only shareable objects, there is no need to replace. So this kind of T_DATA object (such as Time, Dir, File::Status and so on) can be sent by Ractor.send. Notes: Merged: https://github.com/ruby/ruby/pull/3739
2020-11-06Update TypeProf to 0.4.2Yusuke Endoh
2020-11-05gc_rest can change the total pages, so we need to do that firstAaron Patterson
2020-11-05add asserts to find crashAaron Patterson
2020-11-05Refactor verification methodAaron Patterson
Combine everything in to one C function
2020-11-05take VM lock when mutating the heapAaron Patterson
2020-11-06* 2020-11-06 [ci skip]git
2020-11-06Update RBS & TypeProf (#3732)Soutaro Matsumoto
* Bundle rbs 0.16.0 * Bundle typeprof 0.4.1 Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2020-11-05Revert "Prefer #send over #__send__ when it is clear there is no possible ↵NARUSE, Yui
conflict" This reverts commit 4dba0c1a8e3cc08664872e637099c4e7d58d24d3. Matz's comment is "send is not deprecated. __send__ is safer". But "Prefer #send over #__send__" is not reasonable.
2020-11-05Add description __send__ is saferNARUSE, Yui
2020-11-05Promote un.rb to the default gems. It's preparation for 3.0.0-preview2.Hiroshi SHIBATA
2020-11-05Prefer #send over #__send__ when it is clear there is no possible conflictBenoit Daloze
* Reverts part of 3198e7abd70bd2af977f2bb6c967e9df8f91adb0. * If the rule is #send should be deprecated, that should be ruled by matz, there is no such rule currently and gems seem to prefer #send overwhelmingly.
2020-11-04[ruby/ostruct] Update versionMarc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/3736
2020-11-04[ruby/ostruct] Restore `ostruct` docMarc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/3736
2020-11-04Revert "Make `marshal_load` public"Marc-Andre Lafortune
This reverts commit ee7cc6ac35cfb056b3946b1dcd6d4d5a140ccacf. I'm not sure I agree with the spec, but I just tweaked it. Notes: Merged: https://github.com/ruby/ruby/pull/3736
2020-11-05* 2020-11-05 [ci skip]git
2020-11-04Simplify setting instance variablesAaron Patterson
Since T_OBJECT objects come to life as embedded objects, that means that ROBJECT_NUMIV will always return a _minimum_ of ROBJECT_EMBED_LEN_MAX. If ivup.index is *greater* than ROBJECT_NUMIV, then we know that the object *must not* be an embedded object. Thus we can skip the ROBJECT_EMBED_LEN_MAX check as well as initializing internals of embedded objects. Notes: Merged: https://github.com/ruby/ruby/pull/3734
2020-11-04ensure T_OBJECT objects have internals initializedAaron Patterson
Notes: Merged: https://github.com/ruby/ruby/pull/3734
2020-11-04Suppress a warningKazuhiro NISHIYAMA
``` transient_heap.c: In function ‘transient_heap_allocatable_header’: transient_heap.c:347:37: warning: comparison of integer expressions of different signedness: ‘int16_t’ {aka ‘short int’} and ‘long unsigned int’ [-Wsign-compare] 347 | TH_ASSERT(block->info.index <= TRANSIENT_HEAP_USABLE_SIZE); | ^~ ```
2020-11-04Bundle TypeProf 0.4.0Yusuke Endoh
2020-11-04use httpsHiroshi SHIBATA
2020-11-04.travis.yml: delete x86_64卜部昌平
Is already covered by Github Actions. Notes: Merged: https://github.com/ruby/ruby/pull/3731
2020-11-04.travis.yml: delete sanitizer tests卜部昌平
They were not working. Notes: Merged: https://github.com/ruby/ruby/pull/3731
2020-11-04.github/workflows/baseruby.yml: add卜部昌平
Translate a part of .travis.yml into a Github Actions workflow. Notes: Merged: https://github.com/ruby/ruby/pull/3731
2020-11-03Update NEWS for Array methods changeJeremy Evans
2020-11-03Make Array methods return Array instances instead of subclass instancesJeremy Evans
This changes the following methods to return Array instances instead of subclass instances: * Array#drop * Array#drop_while * Array#flatten * Array#slice! * Array#slice/#[] * Array#take * Array#take_while * Array#uniq * Array#* Fixes [Bug #6087] Notes: Merged: https://github.com/ruby/ruby/pull/3690 Merged-By: jeremyevans <code@jeremyevans.net>
2020-11-04* 2020-11-04 [ci skip]git
2020-11-04Rightward assignment is replaced by one-line pattern matchingKazuki Tsujimoto
2020-11-03test/ruby/test_gc_compact.rb: suppress "assigned but unused variable"Yusuke Endoh
2020-11-03Add links to the tickets [ci skip]Kazuhiro NISHIYAMA
2020-11-02Fix typo in the auto compact announcement [ci-skip]Luciano Sousa
I'm sorry, but I think there is a typo here. This fix will help folks who are trying to translate this announcement to other languages. I hope this is not a joke and I didn't get it 🙏 Notes: Merged: https://github.com/ruby/ruby/pull/3730
2020-11-03* 2020-11-03 [ci skip]git
2020-11-02Add `GC.auto_compact= true/false` and `GC.auto_compact`Aaron Patterson
* `GC.auto_compact=`, `GC.auto_compact` can be used to control when compaction runs. Setting `auto_compact=` to true will cause compaction to occurr duing major collections. At the moment, compaction adds significant overhead to major collections, so please test first! [Feature #17176]
2020-11-02ripper: Invalid pragma value warningNobuyoshi Nakada
2020-11-02Compare boolean values for parser pragma locale-insensitivelyNobuyoshi Nakada
2020-11-02strip trailing spaces [ci skip]Nobuyoshi Nakada
2020-11-02Copy for Ractor.send() without marshal.Koichi Sasada
Now copying objects do not need marshal protocol. Notes: Merged: https://github.com/ruby/ruby/pull/3728
2020-11-02* 2020-11-02 [ci skip]git
2020-11-02suppport Ractor.send(move: true) for more detaKoichi Sasada
This patch allows to move more data types. Notes: Merged: https://github.com/ruby/ruby/pull/3727
2020-11-01Use the suppress_warning helper instead of doing it manuallyKazuki Tsujimoto
2020-11-01Suppress "One-line pattern matching is experimental" warningKazuki Tsujimoto
2020-11-01Fix Rubyspec (ruby-2.7) failuresKazuki Tsujimoto
https://github.com/ruby/ruby/runs/1337845174
2020-11-01Change NODE layout for pattern matchingKazuki Tsujimoto
I prefer pconst to be the first element of NODE. Before: | ARYPTN | FNDPTN | HSHPTN ---+--------+--------+----------- u1 | imemo | imemo | pkwargs u2 | pconst | pconst | pconst u3 | apinfo | fpinfo | pkwrestarg After: | ARYPTN | FNDPTN | HSHPTN ---+--------+--------+----------- u1 | pconst | pconst | pconst u2 | imemo | imemo | pkwargs u3 | apinfo | fpinfo | pkwrestarg
2020-11-01ext/socket/rubysocket.h: avoid the conflict of T_DATA definition in AIXRei Odaira
2020-11-01use one-line pattern matching for warning testsKoichi Sasada
2020-11-01* 2020-11-01 [ci skip]git