Marc-Andre Lafortune
6343a81129
[ruby/ostruct] Add Ractor test
2020-12-19 17:13:08 -05:00
Marc-Andre Lafortune
67e062b523
[ruby/matrix] Add Ractor test
...
This reverts commit cacdf2681d
.
2020-12-19 17:13:08 -05:00
Marc-Andre Lafortune
70f20234b2
Add `assert_ractor` [Feature #17367 ]
2020-12-19 17:13:08 -05:00
Koichi Sasada
7f8108eeff
fix indent
2020-12-20 04:51:00 +09:00
Koichi Sasada
bcf4b236e4
ext/racc/cparse is ractor-safe
2020-12-20 04:22:29 +09:00
Koichi Sasada
846c4b03b8
ext/monitor is ractor-safe
2020-12-20 04:22:29 +09:00
Koichi Sasada
c1461c927b
cgi/escape is ractor-safe
2020-12-20 04:22:29 +09:00
Yusuke Endoh
3621380046
NEWS.md: remove nonsense caveat
...
3.0 will be released in a few days (hopefully), so remove a caution: "it
may be reverted until 3.0 release."
2020-12-20 04:14:05 +09:00
Nobuyoshi Nakada
ed4381d941
BigDecimal#precs is deprecated
2020-12-20 03:14:58 +09:00
Nobuyoshi Nakada
c01ad11f90
bigdecimal: initialize conditionally assigned variable
2020-12-20 03:13:33 +09:00
Nobuyoshi Nakada
b2acae3274
Reduced ID caches
...
NEW_GASGN and NEW_GVAR evaluate `id` argument twice.
2020-12-20 03:10:30 +09:00
Marc-Andre Lafortune
a273171ca8
Tweak Ractor doc [doc] [ci skip]
2020-12-19 13:08:24 -05:00
Victor Shepelev
1f565ac6d9
Add documentation for Ractor ( #3895 )
2020-12-19 13:04:40 -05:00
Nobuyoshi Nakada
d44671c819
Revived the getenv macro for dln_find.c
...
This partially reverts commit "Windows: Improve readablity of
getenv() encoding" 14453a256d
.
The `getenv` macro defined here is to also substitute the function
in dln_find.c, not only in this file.
2020-12-20 01:57:51 +09:00
Kenta Murata
50f1e7eb23
NEWS: Add an entry of Pathname [ci skip]
2020-12-20 00:42:21 +09:00
git
48bd5a3d57
* 2020-12-20 [ci skip]
2020-12-20 00:41:06 +09:00
Kenta Murata
de80b92891
[pathname] Make Pathname Ractor safe ( #3940 )
2020-12-20 00:40:47 +09:00
Kenta Murata
d62414b48f
NEWS: Update BigDecimal version [ci skip]
2020-12-19 22:15:48 +09:00
Kenta Murata
8355a3e17b
[bigdecimal] Fix deprecation warning test
2020-12-19 22:13:59 +09:00
Kenta Murata
8986f948e0
[bigdecimal] Version 3.0.0
...
https://github.com/ruby/bigdecimal/commit/e68f1eb33a
2020-12-19 22:13:59 +09:00
Kenta Murata
df3deb3baa
[bigdecimal] Add BigDecimal#n_significant_digits
...
https://github.com/ruby/bigdecimal/commit/981dc48f95
https://github.com/ruby/bigdecimal/commit/9ecf880ec04
2020-12-19 22:13:59 +09:00
Kenta Murata
654f6fbf19
[bigdecimal] Make BigDecimal#precs deprecated
...
https://github.com/ruby/bigdecimal/commit/7e80e6e145
https://github.com/ruby/bigdecimal/commit/0ed7846e8c
2020-12-19 22:13:58 +09:00
Kenta Murata
ff9e40811c
[bigdecimal] Add BigDecimal#precision
...
https://github.com/ruby/bigdecimal/commit/458eb66c49
2020-12-19 22:13:58 +09:00
Kenta Murata
928a06723d
[bigdecimal] Make bigdecimal Ractor safe
...
https://github.com/ruby/bigdecimal/commit/93fc392640
https://github.com/ruby/bigdecimal/commit/a90d13c4d0
2020-12-19 22:13:57 +09:00
Kenta Murata
97d4e72e0b
[bigdecimal] Use DBLE_FIG
...
https://github.com/ruby/bigdecimal/commit/12296dcb90
2020-12-19 22:13:57 +09:00
Kenta Murata
e1424c3501
[bigdecimal] Fix the default precision of Float#to_d
...
Fix https://github.com/ruby/bigdecimal/issues/70
[Bug #13331 ]
https://github.com/ruby/bigdecimal/commit/aa536cd4b5
2020-12-19 22:13:53 +09:00
Yusuke Endoh
4735a5b9d2
test/ruby/test_module.rb: Avoid "warning: method redefined"
2020-12-19 21:19:16 +09:00
Yusuke Endoh
1ba8d63b49
Recommit 34f0606217
2020-12-19 18:22:44 +09:00
Radosław Bułat
eb8ea336d3
Feature 17314: allow to pass array to public, protected and private methods
2020-12-19 18:19:49 +09:00
Nobuyoshi Nakada
8148f88b92
ALWAYS_INLINE implies inline
2020-12-19 18:04:47 +09:00
Marc-Andre Lafortune
0d3dc2ec80
Make `Hash#except` always return a Hash
...
[Feature #15822 ]
2020-12-19 03:59:51 -05:00
Takashi Kokubun
5611066e03
Prefer RB_OBJ_FROZEN_RAW
...
following the original implementation's change.
RB_TYPE_P(obj, T_OBJECT) is already checked in these places.
```
$ benchmark-driver -v --rbenv 'before --jit;after --jit' --repeat-count=12 --alternate --output=all benchmark.yml
before --jit: ruby 3.0.0dev (2020-12-19T08:27:44Z master 52b1716c78
) +JIT [x86_64-linux]
after --jit: ruby 3.0.0dev (2020-12-19T08:27:44Z master 52b1716c78
) +JIT [x86_64-linux]
Calculating -------------------------------------
before --jit after --jit
Optcarrot Lan_Master.nes 88.04551460097873 84.38303800957766 fps
88.25194345156318 85.31098251408059
88.34143982084871 86.60491582339496
88.63486879856976 88.23675694701865
88.85392212902701 88.23696283371444
89.05739427483194 88.97185459567562
89.08141031147311 90.16373192658857
89.11359420883423 90.61655686444394
89.80323392966130 90.77044959019291
90.58912189625207 90.88534596330966
90.59847996970350 91.34314801302897
90.61180456415137 93.11599164249547
```
2020-12-19 00:34:33 -08:00
Nobuhiro IMAI
e33eb09b76
ripper: fix `#tok` on some error events [Bug 17345]
...
sorting alias target by event arity, and setup suitable `Elem` for error.
2020-12-19 17:32:39 +09:00
Takashi Kokubun
52b1716c78
Fix vm_search_invokeblock
...
call_ needs to be vm_invokeblock_i, and flags is also not empty.
2020-12-19 00:27:44 -08:00
Takashi Kokubun
8ec8f37566
discourage inlining for vm_sendish()
...
reversing 9213771817
only for JIT, because it made JIT slower.
$ benchmark-driver -v --rbenv 'before;after;before --jit;after --jit' --repeat-count=36 --alternate --output=all benchmark.yml
before: ruby 3.0.0dev (2020-12-19T07:38:17Z master a139318538
) [x86_64-linux]
after: ruby 3.0.0dev (2020-12-19T07:52:01Z master ce9faaeff5) [x86_64-linux]
last_commit=discourage inlining for vm_sendish()
before --jit: ruby 3.0.0dev (2020-12-19T07:38:17Z master a139318538
) +JIT [x86_64-linux]
after --jit: ruby 3.0.0dev (2020-12-19T07:52:01Z master ce9faaeff5) +JIT [x86_64-linux]
last_commit=discourage inlining for vm_sendish()
Calculating -------------------------------------
before after before --jit after --jit
Optcarrot Lan_Master.nes 42.83365858987760 42.68912456143848 76.50136803552716 65.74704713379785 fps
42.87724738609940 42.89045158177300 79.72624911659534 81.26221749201044
43.34963955708526 42.95431841174180 80.18085951039328 82.86458983313545
43.56786038452823 43.57563008888242 80.45933051716041 83.09150550702445
43.83219269706004 43.60748924115331 80.67164125046142 83.39458202043882
43.99035062888973 43.62050459554573 80.93204435712701 83.56303651352751
44.25176047881120 44.04822899344536 81.15051082548314 83.58166141398522
44.41978060794512 44.06521657912991 81.35651907376140 83.80036752456826
44.46864790591856 44.09325484326153 81.53456531520031 83.87502933718609
45.54712020644544 44.70693952869038 81.97738413452767 83.95818356402224
45.84292299382878 44.77704345873913 82.35118338199700 83.95966387450966
45.89411137280815 45.41425773286726 83.01052538434648 84.12812994632024
45.93130099197283 46.16884439916935 83.50833510120576 84.26276094927231
46.13648038236674 46.66645417860622 84.88757531920830 85.41732546800056
46.74873798919658 46.71790568883760 84.90953097036886 85.56340808970482
47.11273577214855 46.74581938882115 84.93196765297411 85.57603396455576
47.17870777128640 46.82414166607185 84.97178445888456 86.63510466280221
47.19338055580042 46.83645774240446 85.43536447262163 86.74129103462393
47.25761413477774 46.86834469505590 85.59822430471097 86.85376073363715
47.53327847102834 46.90228589364909 85.76446609620548 87.26108400015282
47.64308771617673 47.02814519551055 85.79904863600991 87.72293541243303
47.80286861846863 47.44672838168050 85.88640862064263 87.86803587836525
47.86455937950740 47.65301489003541 85.88750199172448 88.16881051171814
47.90065455321760 47.73425082354376 85.94295700508701 88.71267004066843
47.90727961241468 47.86377917424705 85.94674546805844 88.77726627283683
47.93243954623904 47.88720812998766 86.51872778134982 88.78993962536994
47.95062952008558 47.88774830879015 86.63116771614249 88.88085054889298
47.95097849989396 47.89825669442417 86.77387990931732 89.72021826461126
48.04730571166697 47.89981045730949 86.95084011077047 89.75804193954582
48.08042611622322 48.03246661737583 87.87239147980547 90.05949240088842
48.08999523258601 48.15253490344558 88.31289344498016 90.36439442190294
48.25670456430854 48.26904755214532 88.33999433286937 90.54253266759406
48.25947200597002 48.41894159956091 88.35502296938638 90.72591894564106
48.30826210577268 48.43125201523194 88.58311746582939 90.77173035874087
48.31514124187375 48.53932287546499 88.89099681179805 91.07747476133886
48.44349281318267 48.58969411593706 89.34043973691581 91.08545627378257
2020-12-19 00:03:46 -08:00
Hiroshi SHIBATA
349e79bae0
Try to test with rake-13.0.2 again.
...
[ruby/fileutils] Make verbose output go to stdout instead of stderr
This reverts commit 510df47f5f
.
2020-12-19 16:53:18 +09:00
Hiroshi SHIBATA
bdd18090ad
Bump bundled rake version to 13.0.2
2020-12-19 16:52:56 +09:00
Nobuyoshi Nakada
a139318538
Added macros for headers which are not included by ruby.h
2020-12-19 16:38:17 +09:00
Nobuyoshi Nakada
042c3e91fb
Check macros for headers
2020-12-19 16:38:17 +09:00
Nobuyoshi Nakada
197550c956
Renamed check_encoding.yml as check_misc.yml [ci skip]
2020-12-19 16:38:16 +09:00
Nobuyoshi Nakada
5c9d6ea6b4
Strip trailing spaces [ci skip]
2020-12-19 15:34:37 +09:00
Nobuyoshi Nakada
553d6fa0a0
[DOC] Marked dtrace arguments as description list [ci skip]
2020-12-19 15:34:37 +09:00
Nobuyoshi Nakada
a5832c9a37
[DOC] Fixed markups in dtrace_probes.rdoc [ci skip]
...
* `+` can enclose just a word.
* TIDYLINK with braces gets confused when other braces even inside
code precede.
2020-12-19 15:34:37 +09:00
Kazuhiro NISHIYAMA
144b11e03e
Fix `warning: instance variable @head not initialized` and remove unused instance variable
2020-12-19 15:24:09 +09:00
Kenta Murata
e64af7d5ad
NEWS: Add an entry of Digest 3.0.0 [ci skip]
2020-12-19 15:08:54 +09:00
Kenta Murata
0cb556b457
[digest] Version 3.0.0
...
https://github.com/ruby/digest/commit/4bbd247a32
2020-12-19 15:08:01 +09:00
Kenta Murata
b66f52b0e3
[digest] Make digest Ractor safe
...
https://github.com/ruby/digest/commit/c13a024b85
https://github.com/ruby/digest/commit/9edca3f8be
https://github.com/ruby/digest/commit/378b56b6ca
2020-12-19 15:08:01 +09:00
Nobuyoshi Nakada
feacae193c
[digest] Added rb_digest_make_metadata to wrap metadata
...
https://github.com/ruby/digest/commit/7046fe6005
2020-12-19 15:08:01 +09:00
Yusuke Endoh
5b2cf7eac8
Partially reintroduce e042e8460b
and ...
...
34f0606217
Add a test for alias_method
2020-12-19 12:24:41 +09:00
Radosław Bułat
51bcd50915
Feature 17314: alias_method returns symbol
2020-12-19 12:23:58 +09:00