Age | Commit message (Collapse) | Author |
|
(cherry picked from commit 82c8acbcfd3197e19620dc6024d08c85ea99a05b)
|
|
https://github.com/ruby/io-console/commit/806c65e22b
(cherry picked from commit 8247b193c0dd06db9ea56812954dda8fed89458d)
|
|
https://github.com/ruby/io-console/commit/e9478509e9
(cherry picked from commit 9368fa6c3073d5fe4380a5e84eb59f7cec2ce62c)
|
|
https://github.com/ruby/openssl/commit/bff4080091
|
|
* Prefer to use RTEST when checking result of `rb_io_wait`.
* Consistently use false for signifying no events ready.
Notes:
Merged-By: ioquatix <samuel@codeotaku.com>
|
|
|
|
https://github.com/ruby/readline-ext/commit/6f86713b19
|
|
https://github.com/ruby/bigdecimal/commit/ac7daa5f15
|
|
https://github.com/ruby/bigdecimal/commit/2ef67c2cc7
|
|
https://github.com/ruby/bigdecimal/commit/a32f6cb9e2
|
|
https://github.com/ruby/bigdecimal/commit/c3453d2b97
|
|
(https://github.com/ruby/bigdecimal/pull/209)
* Enhanced RDoc for BigDecimal
* Update ext/bigdecimal/bigdecimal.c
Remove the instance number of `Float::DIG`.
* Update ext/bigdecimal/bigdecimal.c
Add BigDecimal call-seq without ndigits.
* Update ext/bigdecimal/bigdecimal.c
Replace the word sum with value or result in the description of BigDecimal().
* Update ext/bigdecimal/bigdecimal.c
Remove the instance value of Float::DIG.
* Update ext/bigdecimal/bigdecimal.c
Fix mis-description of precision
* Update ext/bigdecimal/bigdecimal.c
Fix the description of precision determination
* Update ext/bigdecimal/bigdecimal.c
Add the description of the precision in the Rational case.
https://github.com/ruby/bigdecimal/commit/acabb132a4
Co-authored-by: Kenta Murata <3959+mrkn@users.noreply.github.com>
|
|
Fix GH-214.
https://github.com/ruby/bigdecimal/commit/13e0e93f37
|
|
https://github.com/ruby/bigdecimal/commit/ef9cf4e69e
|
|
Fix GH-212.
https://github.com/ruby/bigdecimal/commit/900bb7fcf5
|
|
e.g.
```
gem "bigdecimal", github: "ruby/bigdecimal"
```
It would fail because bundler regenerates the `gemspec`,
so `bigdecimal_version` is gone.
https://github.com/ruby/bigdecimal/commit/bccaa66f2c
|
|
https://github.com/ruby/bigdecimal/commit/c019caeaba
|
|
https://github.com/ruby/bigdecimal/commit/ceaf16b03e
|
|
Fixes GH-198.
https://github.com/ruby/bigdecimal/commit/4fbec55680
|
|
https://github.com/ruby/bigdecimal/commit/8fc83dd2fe
|
|
https://github.com/ruby/bigdecimal/commit/42c999f728
|
|
https://github.com/ruby/bigdecimal/commit/0de9298d15
|
|
https://github.com/ruby/bigdecimal/commit/6139ea1092
|
|
Fix GH-205
https://github.com/ruby/bigdecimal/commit/7d198394a2
|
|
pointer
https://github.com/ruby/bigdecimal/commit/252748de17
|
|
https://github.com/ruby/bigdecimal/commit/8dc8cd339d
|
|
as BigDecimal_divide
https://github.com/ruby/bigdecimal/commit/11cb2c8840
|
|
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
|
|
Fix GH-192
https://github.com/ruby/bigdecimal/commit/eebc98b85a
|
|
https://github.com/ruby/bigdecimal/commit/f528a0006e
|
|
https://github.com/ruby/bigdecimal/commit/4eadcdf0a6
|
|
https://github.com/ruby/bigdecimal/commit/6d69422e37
|
|
https://github.com/ruby/bigdecimal/commit/681cd2d81d
|
|
https://github.com/ruby/bigdecimal/commit/3a35f92f8b
|
|
https://github.com/ruby/bigdecimal/commit/31a7a37426
|
|
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
|
|
I added a space before the parenthesis, too.
https://github.com/ruby/bigdecimal/commit/159af10b17
|
|
|
|
Replace EVP_PKEY_CTX_new_id() with the new EVP_PKEY_CTX_new_from_name()
which takes the algorithm name in a string instead of in an NID.
https://github.com/ruby/openssl/commit/d6535d13d1
|
|
OpenSSL 3.0
OpenSSL 3.0's EVP_PKEY_get0() returns NULL for provider-backed pkeys.
This causes segfault because it was supposed to never return NULL
before.
We can't check the existence of public key components in this way on
OpenSSL 3.0. Let's just skip it for now.
https://github.com/ruby/openssl/commit/ccdb6f7bfa
|
|
Add all SSL_OP_* constants defined in OpenSSL 3.0.0 which are not
specific to DTLS.
https://github.com/ruby/openssl/commit/b1ee2f23b2
|
|
The entire ENGINE API is deprecated in OpenSSL 3.0 in favor of the new
"Provider" concept.
OpenSSL::Engine will not be defined when compiled with OpenSSL 3.0.
We would need a way to interact with providers from Ruby programs, but
since the concept is completely different from the ENGINE API, it will
not be through the current OpenSSL::Engine interface.
https://github.com/ruby/openssl/commit/69a27d8de4
|
|
According to the manpage, the "siglen" parameter must be initialized
beforehand.
https://github.com/ruby/openssl/commit/6a60c7b2e7
|
|
OpenSSL 3.0 made EVP_PKEY immutable. This means we can only have a const
pointer of the low level struct and the following methods can no longer
be provided when linked against OpenSSL 3.0:
- OpenSSL::PKey::RSA#set_key
- OpenSSL::PKey::RSA#set_factors
- OpenSSL::PKey::RSA#set_crt_params
- OpenSSL::PKey::DSA#set_pqg
- OpenSSL::PKey::DSA#set_key
- OpenSSL::PKey::DH#set_pqg
- OpenSSL::PKey::DH#set_key
- OpenSSL::PKey::EC#group=
- OpenSSL::PKey::EC#private_key=
- OpenSSL::PKey::EC#public_key=
There is no direct replacement for this functionality at the moment.
I plan to introduce a wrapper around EVP_PKEY_fromdata(), which takes
all key components at once to construct an EVP_PKEY.
https://github.com/ruby/openssl/commit/6848d2d969
|
|
OpenSSL::PKey::EC#generate_key! will not work on OpenSSL 3.0 because
keys are made immutable. Users should use OpenSSL::PKey.generate_key
instead.
https://github.com/ruby/openssl/commit/5e2e66cce8
|
|
OpenSSL::PKey::DH#generate_key! will not work on OpenSSL 3.0 because
keys are made immutable. Users should use OpenSSL::PKey.generate_key
instead.
https://github.com/ruby/openssl/commit/8ee6a582c7
|
|
Similarly to DH#compute_key, work around it by constructing a
SubjectPublicKeyInfo. This should be considered as a temporary
implementation.
https://github.com/ruby/openssl/commit/fc9aabc18d
|
|
DH#set_key will not work on OpenSSL 3.0 because keys are immutable.
For now, let's reimplement DH#compute_key by manually constructing a
DER-encoded SubjectPublicKeyInfo structure and feeding it to
OpenSSL::PKey.read.
Eventually, we should implement a new method around EVP_PKEY_fromdata()
and use it instead.
https://github.com/ruby/openssl/commit/46ca47060c
|
|
We can use it to implement OpenSSL::PKey::PKey#initialize_copy. This
should work on all key types, not just DH/DSA/EC/RSA types.
https://github.com/ruby/openssl/commit/66cd8cbaaf
|
|
Allocate an EVP_PKEY when the content is ready: when #initialize
or #initialize_copy is called, rather than when a T_DATA is allocated.
This is more natural because the lower level API has been deprecated
and an EVP_PKEY is becoming the minimum unit of handling keys.
https://github.com/ruby/openssl/commit/74f6c61756
|