Kenta Murata
38e98cbdb7
[ruby/bigdecimal] Keep obj-to-Real link when VpReallocReal returns different pointer
...
https://github.com/ruby/bigdecimal/commit/252748de17
2021-12-24 02:28:56 +09:00
Kenta Murata
75f552e973
[ruby/bigdecimal] Fix the precision of the adjusted quotient
...
https://github.com/ruby/bigdecimal/commit/8dc8cd339d
2021-12-24 02:28:56 +09:00
Kenta Murata
7b2cfce543
[ruby/bigdecimal] Let BigDecimal_DoDivmod use the same precision calculation as BigDecimal_divide
...
https://github.com/ruby/bigdecimal/commit/11cb2c8840
2021-12-24 02:28:55 +09:00
Kenta Murata
e1265c8198
[ruby/bigdecimal] Use larger precision in divide for irrational or recurring results
...
Just in case for irrational or recurring results, the precision of the
quotient is set to at least more than 2*Float::DIG plus alpha.
[Bug #13754 ] [Fix GH-94]
https://github.com/ruby/bigdecimal/commit/99442c75d3
2021-12-24 02:28:55 +09:00
Kenta Murata
8ee8ac6423
[ruby/bigdecimal] Fix trailing zeros handling in rb_uint64_convert_to_BigDecimal
...
Fix GH-192
https://github.com/ruby/bigdecimal/commit/eebc98b85a
2021-12-24 02:28:55 +09:00
Kenta Murata
b2a74948b6
[ruby/bigdecimal] Add tests for the issue GH-192
...
https://github.com/ruby/bigdecimal/commit/e864828b47
2021-12-24 02:28:54 +09:00
BurdetteLamar
ed7f4c24d7
[ruby/bigdecimal] Respond to review
...
https://github.com/ruby/bigdecimal/commit/f528a0006e
2021-12-24 02:28:54 +09:00
BurdetteLamar
ed8ec5dcb3
[ruby/bigdecimal] Respond to review
...
https://github.com/ruby/bigdecimal/commit/4eadcdf0a6
2021-12-24 02:28:54 +09:00
BurdetteLamar
44acab76af
[ruby/bigdecimal] Respond to review
...
https://github.com/ruby/bigdecimal/commit/6d69422e37
2021-12-24 02:28:53 +09:00
BurdetteLamar
973e508472
[ruby/bigdecimal] Respond to review for #precision
...
https://github.com/ruby/bigdecimal/commit/681cd2d81d
2021-12-24 02:28:53 +09:00
BurdetteLamar
5888d3030d
[ruby/bigdecimal] Enhanced RDoc for bigdecimal.c
...
https://github.com/ruby/bigdecimal/commit/3a35f92f8b
2021-12-24 02:28:53 +09:00
BurdetteLamar
01b2ccaa95
[ruby/bigdecimal] Enhanced RDoc for bigdecimal.c
...
https://github.com/ruby/bigdecimal/commit/31a7a37426
2021-12-24 02:28:52 +09:00
Kenta Murata
70f2b62dfe
[ruby/bigdecimal] Use values in RbConfig::LIMITS in test
...
https://github.com/ruby/bigdecimal/commit/14e35f5a70
2021-12-24 02:28:52 +09:00
Kenta Murata
247d8d2815
[ruby/bigdecimal] Fix the style in test/bigdecimal/test_bigdecimal.rb
...
https://github.com/ruby/bigdecimal/commit/aa31ef2f33
2021-12-24 02:28:51 +09:00
Jean Boussier
ec478d947f
[ruby/bigdecimal] Fix negative Bignum conversion
...
Introduced in https://github.com/ruby/bigdecimal/commit/4792a917d806
`rb_absint_size` return the number of bytes needed to fit
the absolute integer, but negative integers need the sign, so one more
bit, and potentially one more byte.
https://github.com/ruby/bigdecimal/commit/0f3d5d0eb7
2021-12-24 02:28:51 +09:00
Kenta Murata
c539cfd235
[ruby/bigdecimal] Fix test against #196
...
https://github.com/ruby/bigdecimal/commit/a834eb92a2
2021-12-24 02:28:51 +09:00
Olle Jonsson
03507498b6
[ruby/bigdecimal] VpCheckException: improve grammar
...
I added a space before the parenthesis, too.
https://github.com/ruby/bigdecimal/commit/159af10b17
2021-12-24 02:28:47 +09:00
Burdette Lamar
a8f4cc2bfa
[DOC] Enhanced RDoc for IO ( #5324 )
...
Treats #gets.
2021-12-23 10:27:10 -06:00
git
2f2aa21238
* 2021-12-24 [ci skip]
2021-12-24 00:52:06 +09:00
aycabta
547c27e9e7
[ruby/reline] Add a test for halfwidth kana width dakuten
...
https://github.com/ruby/reline/commit/0895a0d4a1
2021-12-24 00:51:48 +09:00
aycabta
4bb65ee4fe
[ruby/reline] Character merging may increase the character width
...
Even if the number of graphemes doesn't change owing to character
merging, the character width may increase.
https://github.com/ruby/reline/commit/fbcd5f56a7
2021-12-24 00:51:48 +09:00
aycabta
726cc8122e
[ruby/reline] "Halfwidth char + halfwidth (han)dakuten" is a single grapheme.
...
When a halfwidth character is followed by a halfwidth dakuten or a
halfwidth handakuten character, it should be treated as a single
grapheme.
https://github.com/ruby/reline/commit/9f20b9ec28
2021-12-24 00:51:47 +09:00
aycabta
daf4a8884b
[ruby/reline] Add comment for a following char of combined char
...
https://github.com/ruby/reline/commit/d465667f57
2021-12-24 00:51:46 +09:00
Nobuyoshi Nakada
40a1af6151
Install ruby/digest.h when from ext/digest
2021-12-23 20:12:45 +09:00
Nobuyoshi Nakada
bf1444e500
[DOC] Do not push NEWS update to pull-request
2021-12-23 18:43:59 +09:00
git
1eafa85206
Update bundled gems list at a6b2757d0572db1dc3f079a9cdd42c [ci skip]
2021-12-23 18:25:48 +09:00
Yusuke Endoh
8f3b5a28d6
Update TypeProf to 0.21.1
2021-12-23 18:25:48 +09:00
Nobuyoshi Nakada
c6cf19340a
[ruby/pp] [DOC] Update for PP.width_for [Feature #12913 ]
...
https://github.com/ruby/pp/commit/cad3cc762c
2021-12-23 18:00:56 +09:00
Koichi Sasada
2da53b1468
`finalize_deferred` doesn't need VM lock
...
`finalize_list()` acquires VM lock to manipulate objspace state.
2021-12-23 16:50:17 +09:00
Koichi Sasada
ca032d5eea
undef `rb_vm_lookup_overloaded_cme()`
...
Some callable method entries (cme) can be a key of `overloaded_cme_table`
and the keys should be pinned because the table is numtable (VALUE is a key).
Before the patch GC checks the cme is in `overloaded_cme_table` by looking up
the table, but it needs VM locking.
It works well in normal GC marking because it is protected by the VM lock,
but it doesn't work on `rb_objspace_reachable_objects_from` because it doesn't
use VM lock.
Now, the number of target cmes are small enough, I decide to pin down
all possible cmes instead of using looking up the table.
2021-12-23 16:49:49 +09:00
Nobuyoshi Nakada
25e417b773
Separate cache key from primary key [ci skip]
2021-12-23 14:59:25 +09:00
Nobuyoshi Nakada
95da41ee0a
Get stdgems JSON files only if modified [ci skip]
2021-12-23 14:30:12 +09:00
git
ddfbf531de
Update default gems list at d5019949b5
[ci skip]
2021-12-23 04:01:26 +00:00
Yusuke Endoh
d5019949b5
[ruby/error_highlight] Bump version
...
https://github.com/ruby/error_highlight/commit/ae3053686f
2021-12-23 12:56:07 +09:00
Yuki Nishijima
1527f7569b
Revert "Replace an deprecated constant with a new one in did_you_mean"
...
This reverts commit 573d9d3a4a
.
2021-12-23 10:48:27 +09:00
git
1f94ae019f
Update default gems list at de841e2e28
[ci skip]
2021-12-23 01:10:18 +00:00
Yuki Nishijima
de841e2e28
Revert the commits for did_you_mean
...
This reverts commit feaf4fbc3f
.
This reverts commit 0d4bfbdbe1
.
This reverts commit ac4e0978ee
.
2021-12-23 10:09:10 +09:00
git
c529014b9d
Update default gems list at 231f2c26b8efd14ce3fd8961292db8 [ci skip]
2021-12-23 09:44:45 +09:00
Hiroshi SHIBATA
fb1ab27f53
Merge RubyGems-3.3.1 and Bundler-2.3.1
2021-12-23 09:44:45 +09:00
Yuki Nishijima
feaf4fbc3f
Remove test that activates Ractor unexpectedly
2021-12-23 09:43:39 +09:00
Samuel Williams
bed920f073
Add fiber scheduler hooks for `pread`/`pwrite`, and add support to `IO::Buffer`.
2021-12-23 12:20:09 +13:00
git
91c5c1c132
* 2021-12-23 [ci skip]
2021-12-23 05:41:57 +09:00
Burdette Lamar
243ecd176d
[DOC] Enhanced RDoc for IO ( #5321 )
...
Treats:
#readpartial
#read
2021-12-22 14:41:39 -06:00
Yuki Nishijima
573d9d3a4a
Replace an deprecated constant with a new one in did_you_mean
2021-12-22 21:21:27 +09:00
Yuki Nishijima
0d4bfbdbe1
* gems/default_gems: Fix typos
2021-12-22 21:02:07 +09:00
git
2c31f325f5
Update default gems list at ac4e0978ee
[ci skip]
2021-12-22 11:30:17 +00:00
Yuki Nishijima
ac4e0978ee
* gems/default_gems: Sync did_you_mean
2021-12-22 20:29:18 +09:00
Nobuyoshi Nakada
fdf3996349
Empty and return the buffer if zero size is given [Bug #18421 ]
...
In `IO#readpartial` and `IO#read_nonblock`, as well as `IO#read`.
2021-12-22 15:45:59 +09:00
Nobuyoshi Nakada
9902398d86
Split too long line
...
I don't have a display enough for 170 columns, and it is hard to
use small fonts for my eyes. :(
2021-12-22 14:27:33 +09:00
Sutou Kouhei
c9396a3520
Show the target Proc on Ractor::IsolationError
...
It's useful for debug.
2021-12-22 11:10:20 +09:00