aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Update fiber scheduler documentation.Samuel Williams2020-12-222-17/+73
|
* Prepare to release json-2.5.0Hiroshi SHIBATA2020-12-226-8/+6
|
* [ruby/date] Make Ractor-compatibleMarc-Andre Lafortune2020-12-222-1/+31
|
* [ruby/date] Deep-freeze internal constants.Marc-Andre Lafortune2020-12-223-23/+27
| | | | Probably not strictly necessary, but good principle anyways.
* rb_cData: no longer exists卜部昌平2020-12-221-1/+0
| | | | | | | | | | | Commit 8918a9cf6c65409ae1ffcdea324a1b97c6e5bb70 introduced macro `#define rb_cData rb_cData()`. This deleting `VALUE rb_cData;` declaration was then macro-expanded into `VALUE rb_cData();`. This worked by accident because the expanded expression happen to be a K&R style function declaration. This is rather complicated and I guess unintended. Just delete the line to keep things simple straight forward.
* rb_cCont: no longer exists卜部昌平2020-12-221-1/+0
| | | | Deleted well over a decade ago in commit 977d66ec993b0f1892fb3e4cd8ac.
* MJIT is enabled whenever an MJIT header is usedTakashi Kokubun2020-12-211-1/+5
| | | | | | | | | | | | | | | ``` $ benchmark-driver -v --rbenv 'before --jit;after --jit' --repeat-count=4 --alternate --output=all benchmark.yml before --jit: ruby 3.0.0dev (2020-12-22T05:16:39Z master 692af8e8f8) +JIT [x86_64-linux] after --jit: ruby 3.0.0dev (2020-12-22T06:05:59Z master d2ca23fdbc) +JIT [x86_64-linux] last_commit=MJIT is enabled whenever an MJIT header is used Calculating ------------------------------------- before --jit after --jit Optcarrot 180 frames 86.61115328062763 91.49245232931852 fps 90.18653732453176 92.31139517827663 91.29817884736318 93.84437713805814 92.76118222412521 93.91929147901106 ```
* Sync did_you_meanYuki Nishijima2020-12-221-1/+1
|
* Prefer stdbool in vm_execTakashi Kokubun2020-12-216-15/+15
| | | | Make the code a bit modern and consistent with some other places.
* NEWS.md: fix the formatYusuke Endoh2020-12-221-3/+5
|
* Struct::Tms: delete卜部昌平2020-12-221-3/+0
| | | | Has been deprecated since 44c53ee473d3b3973cb5c3ce03fbf4f280fd75ff.
* Enumerator.new: raise unless block given卜部昌平2020-12-224-83/+69
| | | | | Has been deprecated since c73b6bd7ebd01133538c645566944132dbde4d13. [Feature #17116] [ruby-dev:50945]
* fix to use rb_ractor_id()Koichi Sasada2020-12-221-1/+1
| | | | Catch up recent changes on USE_RUBY_DEBUG_LOG=1.
* add a NEWS entry about ractor C APIKoichi Sasada2020-12-221-0/+2
|
* Add entries for set 1.0.0Akinori MUSHA2020-12-221-0/+12
|
* Import set 1.0.0Akinori MUSHA2020-12-226-2/+70
| | | | | | | | - SortedSet has been removed for dependency and performance reasons. - Set#join is added as a shorthand for `.to_a.join`. - Set#<=> is added. https://github.com/ruby/set/blob/v1.0.0/CHANGELOG.md
* Prepare for importing the set gemAkinori MUSHA2020-12-221-0/+3
|
* Update Fiber#backtrace doc [See bug #17408]Marc-Andre Lafortune2020-12-211-2/+2
|
* Document Fiber#backtrace and #backtrace_locationszverok2020-12-211-0/+65
|
* Document Proc#==zverok2020-12-211-0/+26
|
* Random instance methodszverok2020-12-211-0/+7
|
* Add Symbol#name and freezing explanation to #to_szverok2020-12-211-0/+23
|
* NEWS.md: mention the behavior change of Binding#evalYusuke Endoh2020-12-221-0/+5
| | | | [Bug #17419]
* Remove debugging codeMarc-Andre Lafortune2020-12-211-1/+0
|
* [DOC] Fix typo in Ractor.make_shareable documentation.nagachika2020-12-221-1/+1
|
* Remvoed no longer needed version guardsNobuyoshi Nakada2020-12-223-16/+0
|
* fix ractor's doc. [ci skip]Koichi Sasada2020-12-222-23/+50
|
* reset cache before iteratingKoichi Sasada2020-12-222-10/+43
| | | | | | | | cee02d754d76563635c1db90d2ab6c01f8492470 resets pCMC and `me` will be a invalidated and continuing the invalidated `me`, it will break the data structure. This patch tris to clear all methods of specified class before manipulating the `me`s. [Issue #17417]
* add Ractor.mainKoichi Sasada2020-12-222-0/+14
| | | | | It returns main Ractor, like Thread.main. [Feature #17418]
* add Ractor#[]/#[]= for ractor local storageKoichi Sasada2020-12-224-0/+71
| | | | | This API is similar to plain old Thread#[]/Fiber#[] interface with symbol key.
* Ractor#to_s as #inspectMarc-Andre Lafortune2020-12-211-0/+2
|
* Removed rb_cData entityNobuyoshi Nakada2020-12-2211-31/+24
| | | | | | | * Use the wrapper of rb_cObject instead of data access * Replaced rest of extentions * Updated the version guard for Data * Added the version guard of rb_cData
* Data: delete卜部昌平2020-12-225-18/+34
| | | | | | | | Has been deprecated since 684bdf6171b76f5bc5e4f05926a5ab01ec2b4fd5. Matz says in [ruby-core:83954] that Data should be an alias of Object. Because rb_cData has not been deprecated, let us deprecate the constant to make it a C-level synonym of rb_cObject.
* Update documentation for pattern matchingKazuki Tsujimoto2020-12-221-18/+37
|
* * 2020-12-22 [ci skip]git2020-12-221-1/+1
|
* separate rb_ractor_pub from rb_ractor_tKoichi Sasada2020-12-229-67/+62
| | | | | | | | | separate some fields from rb_ractor_t to rb_ractor_pub and put it at the beggining of rb_ractor_t and declare it in vm_core.h so vm_core.h can access rb_ractor_pub fields. Now rb_ec_ractor_hooks() is a complete inline function and no MJIT related issue.
* TracePoint.new(&block) should be ractor-localKoichi Sasada2020-12-228-17/+48
| | | | | TracePoint should be ractor-local because the Proc can violate the Ractor-safe.
* Replaced magic numbers tr tableNobuyoshi Nakada2020-12-211-14/+15
|
* On Solaris, _XOPEN_SOURCE should be undefined for C++ sources.Naohisa Goto2020-12-211-0/+2
|
* export rb_eRactorIsolationError for MJITKoichi Sasada2020-12-211-2/+3
| | | | | | | | | | | | https://ci.appveyor.com/project/ruby/ruby/builds/36942168/job/7ugrpk0pndoly9wp ``` _ruby_mjit_p11920u0.c C:\Users\appveyor\AppData\Local\Temp\1/_ruby_mjit_p11920u0.c(14) : warning C4005: 'GET_SELF' : macro redefinition c:\projects\ruby\vm_insnhelper.h(111) : see previous definition of 'GET_SELF' Creating library C:\Users\appveyor\AppData\Local\Temp\1/_ruby_mjit_p11920u0.lib and object C:\Users\appveyor\AppData\Local\Temp\1/_ruby_mjit_p11920u0.exp _ruby_mjit_p11920u0.obj : error LNK2001: unresolved external symbol rb_eRactorIsolationError C:\Users\appveyor\AppData\Local\Temp\1/_ruby_mjit_p11920u0.so : fatal error LNK1120: 1 unresolved externals ```
* [json] Avoid method redefinitionKenta Murata2020-12-211-9/+9
|
* Introduce Ractor::IsolationErrorKoichi Sasada2020-12-215-24/+20
| | | | | | | | | | | Ractor has several restrictions to keep each ractor being isolated and some operation such as `CONST="foo"` in non-main ractor raises an exception. This kind of operation raises an error but there is confusion (some code raises RuntimeError and some code raises NameError). To make clear we introduce Ractor::IsolationError which is raised when the isolation between ractors is violated.
* NEWS: JSON is Ractor compatible [ci skip]Kenta Murata2020-12-211-0/+2
|
* [json] Make json Ractor safeKenta Murata2020-12-214-1/+52
|
* [json] JSON_parse_float: Fix how to convert numberKenta Murata2020-12-212-50/+72
| | | | | | | | | | | Stop BigDecimal-specific optimization. Instead, it tries the conversion methods in the following order: 1. `try_convert`, 2. `new`, and 3. class-named function, e.g. `Foo::Bar.Baz` function for `Foo::Bar::Baz` class If all the above candidates are unavailable, it fallbacks to Float.
* [json] Make JSON.create_id thread-safeKenta Murata2020-12-211-1/+14
|
* [json] Stop using prototype objectsKenta Murata2020-12-213-49/+18
|
* Fixed a typo in an error class nameNobuyoshi Nakada2020-12-211-1/+1
|
* Enable escape sequence on Windows10 console via pager tooNobuyoshi Nakada2020-12-211-2/+19
|
* [ruby/digest] Remove .gitignore and .travis.yml from gemspecKenta Murata2020-12-211-6/+8
| | | | https://github.com/ruby/digest/commit/7b57b73f46