aboutsummaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* objspace: Hide identhash containing internal objsJohn Hawthorn2022-02-091-15/+19
| | | | | | | | | | | | Inside ObjectSpace.reachable_objects_from we keep an internal identhash in order to de-duplicate reachable objects when wrapping them as InternalObject. Previously this hash was not hidden, making it possible to leak references to those internal objects to Ruby if using ObjectSpace.each_object. This commit solves this by hiding the hash. To simplify collection of values, we instead now just use the hash as a set of visited objects, and collect an Array (not hidden) of values to be returned.
* Add the size pool slot size to the output of ObjectSpace.dump/dump_allMatt Valentine-House2022-02-031-0/+9
|
* [ruby/io-wait] Exclude rake files from packagesNobuyoshi Nakada2022-02-011-1/+1
| | | | https://github.com/ruby/io-wait/commit/7be58cd7f4
* [ruby/io-wait] Make the gem a noop on Rubies older than 2.6Jean Boussier2022-02-012-15/+18
| | | | | | | | | | | Ref: https://github.com/mikel/mail/pull/1439 Some gems depend on io-wait, but still support older rubies, so they have to chose between droping support or not listing io-wait. But io-wait could act a a noop on older rubies. https://github.com/ruby/io-wait/commit/75fcb74c32
* [ruby/io-wait] bump up to 0.2.2Nobuyoshi Nakada2022-02-011-1/+1
| | | | https://github.com/ruby/io-wait/commit/e15a2486b2
* Do not need to print to stderrKoichi Sasada2022-01-261-1/+1
|
* [ruby/pathname] Officially drop support for ruby 2.6 or olderDavid Rodríguez2022-01-251-1/+1
| | | | | | | | | | | | | | | | | The gem doesn't even install on old rubies, but since the gemspec claims it's supported, `gem install pathname` will try to install it and print an error. This commit doesn't fix the above issue. The only way to fix it would be to restore support and release a new version that actually supports old rubies. However, such a change has been proposed and ignored for a long time. So this issue proposes to leave that broken but at least bring the gemspec manifest and the CI matrix in sync to hopefully avoid this issue from happening again in the future. https://github.com/ruby/pathname/commit/3ee010b538
* [ruby/io-wait] [DOC] Fix the return values [ci skip]Nobuyoshi Nakada2022-01-241-19/+20
| | | | | | Even since 0.1.0, other than +true+ or +false+ may be returned. https://github.com/ruby/io-wait/commit/d0721e300a
* [ruby/io-wait] Document mandatory require for using io/wait methodsapatniv2022-01-241-0/+12
| | | | https://github.com/ruby/io-wait/commit/2beb05bd48
* [ruby/bigdecimal] Version 3.1.2Kenta Murata2022-01-241-1/+1
| | | | https://github.com/ruby/bigdecimal/commit/57e2194135
* [ruby/bigdecimal] Fix the maximum precision of the quotientKenta Murata2022-01-241-8/+7
| | | | | | Fixes https://github.com/ruby/bigdecimal/pull/220 https://github.com/ruby/bigdecimal/commit/127a1b5a31
* [ruby/psych] Add strict_integer option to parse numbers with commas as stringsSeth Boyles2022-01-224-17/+26
| | | | | | Authored-by: Seth Boyles <sethboyles@gmail.com> https://github.com/ruby/psych/commit/75bebb37b8
* [ruby/etc] Exclude change logs for pre 1.0Nobuyoshi Nakada2022-01-211-1/+1
| | | | https://github.com/ruby/etc/commit/c8a133fe95
* [ruby/etc] Derive extra_rdoc_files from filesNobuyoshi Nakada2022-01-211-7/+3
| | | | https://github.com/ruby/etc/commit/e8ecce3442
* [ruby/etc] Move development dependencies to GemfileNobuyoshi Nakada2022-01-211-5/+0
| | | | https://github.com/ruby/etc/commit/5cabc3996a
* [ruby/psych] Remove alias of load to unsafe_loadMichael Nikitochkin2022-01-201-1/+0
| | | | https://github.com/ruby/psych/commit/39e23cc86f
* [Feature #18491] Drop support for HP-UXPeter Zhu2022-01-184-13/+5
| | | | | IA64 support was dropped in ticket #15894, so we can drop support for HP-UX.
* [ruby/fcntl] adding few FreeBSD specific flags.David CARLIER2022-01-151-0/+17
| | | | https://github.com/ruby/fcntl/commit/03d9a7937d
* [ruby/psych] Don't require `strscan` unnecessarilyDavid Rodríguez2022-01-141-1/+0
| | | | | | | | | It does not seem needed, and it's causing issues on Windows when uninstalling `strscan`, because strscan's shared library being used when RubyGems tries to remove it (because its loaded through Psych, which RubyGems uses for loading configuration). https://github.com/ruby/psych/commit/3911356ec1
* [ruby/pathname] Make Pathname#each_entry return enumerator if called without ↵Jeremy Evans2022-01-071-0/+1
| | | | | | | | block Fixes [Bug #18158] https://github.com/ruby/pathname/commit/914c726aa2
* [ruby/etc] Note for rb_deprecate_constant [ci skip]Nobuyoshi Nakada2022-01-021-0/+1
| | | | https://github.com/ruby/etc/commit/f87fe7ad93
* [ruby/etc] Remove deprecate constants under StructNobuyoshi Nakada2022-01-021-4/+0
| | | | https://github.com/ruby/etc/commit/143edbd215
* [ruby/etc] bump up to 1.4.0Nobuyoshi Nakada2022-01-021-1/+1
| | | | https://github.com/ruby/etc/commit/ca41f182f6
* [ruby/etc] bump up to 1.3.1Nobuyoshi Nakada2022-01-021-1/+1
| | | | https://github.com/ruby/etc/commit/82dd69a4cf
* [ruby/etc] [DOC] Refine Etc::Passwd#passwd descriptionNobuyoshi Nakada2022-01-021-2/+1
| | | | https://github.com/ruby/etc/commit/17b99fe42e
* [ruby/etc] [DOC] Document Etc::Passwd and Etc::Group as classesNobuyoshi Nakada2022-01-021-6/+5
| | | | https://github.com/ruby/etc/commit/106429f10b
* [ruby/etc] [DOC] Add document taskNobuyoshi Nakada2022-01-021-0/+8
| | | | https://github.com/ruby/etc/commit/8c8c6198e2
* [ruby/etc] Update ruby versionsNobuyoshi Nakada2022-01-021-1/+1
| | | | https://github.com/ruby/etc/commit/959416b18a
* [ruby/win32ole] Undefine allocator of WIN32OLE_VARIABLE to get rid of warningNobuyoshi Nakada2021-12-301-0/+1
| | | | https://github.com/ruby/win32ole/commit/27d0fdc622
* [ruby/io-console] bump up to 0.5.11Nobuyoshi Nakada2021-12-291-1/+1
| | | | https://github.com/ruby/io-console/commit/ad3805200c
* Sync io-console gem.Samuel Williams2021-12-291-2/+6
|
* Prevent installing zlib libraryNARUSE, Yui2021-12-251-8/+0
|
* [ruby/io-console] bump up to 0.5.10Nobuyoshi Nakada2021-12-251-1/+1
| | | | https://github.com/ruby/io-console/commit/806c65e22b
* [ruby/io-console] No longer support dead versionsNobuyoshi Nakada2021-12-251-1/+1
| | | | https://github.com/ruby/io-console/commit/e9478509e9
* [ruby/openssl] Ruby/OpenSSL 3.0.0Kazuki Yamaguchi2021-12-253-2/+104
| | | | https://github.com/ruby/openssl/commit/bff4080091
* Prefer to use RTEST when checking result of `rb_io_wait`. (#5341)Samuel Williams2021-12-251-1/+1
| | | | | * Prefer to use RTEST when checking result of `rb_io_wait`. * Consistently use false for signifying no events ready.
* Import digest v3.1.0 from ruby/digestAkinori MUSHA2021-12-243-19/+6
|
* [ruby/readline-ext] Bump version to 0.1.4Hiroshi SHIBATA2021-12-241-1/+1
| | | | https://github.com/ruby/readline-ext/commit/6f86713b19
* [ruby/bigdecimal] Remove unused variableKenta Murata2021-12-241-1/+1
| | | | https://github.com/ruby/bigdecimal/commit/ac7daa5f15
* [ruby/bigdecimal] Version 3.1.1Kenta Murata2021-12-241-1/+1
| | | | https://github.com/ruby/bigdecimal/commit/2ef67c2cc7
* [ruby/bigdecimal] Fix the result precision of BigDecimal#divmodKenta Murata2021-12-241-4/+17
| | | | https://github.com/ruby/bigdecimal/commit/a32f6cb9e2
* [ruby/bigdecimal] Version 3.1.0Kenta Murata2021-12-241-1/+1
| | | | https://github.com/ruby/bigdecimal/commit/c3453d2b97
* [ruby/bigdecimal] Enhanced RDoc for BigDecimal ↵Burdette Lamar2021-12-241-102/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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>
* [ruby/bigdecimal] Let BigDecimal#quo accept precisionKenta Murata2021-12-241-24/+72
| | | | | | Fix GH-214. https://github.com/ruby/bigdecimal/commit/13e0e93f37
* [ruby/bigdecimal] Add TODO commentKenta Murata2021-12-241-0/+3
| | | | https://github.com/ruby/bigdecimal/commit/ef9cf4e69e
* [ruby/bigdecimal] Allow passing both float and precision in BigDecimal#divKenta Murata2021-12-241-1/+5
| | | | | | Fix GH-212. https://github.com/ruby/bigdecimal/commit/900bb7fcf5
* [ruby/bigdecimal] Improve extconf to allow using bigdecimal as a git gemJean Boussier2021-12-242-7/+2
| | | | | | | | | | | | 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
* [ruby/bigdecimal] Add BigDecimal#precision_scaleKenta Murata2021-12-241-0/+19
| | | | https://github.com/ruby/bigdecimal/commit/c019caeaba
* [ruby/bigdecimal] [Doc] Add documentation of BigDecimal#n_significant_digitsKenta Murata2021-12-241-0/+16
| | | | https://github.com/ruby/bigdecimal/commit/ceaf16b03e
* [ruby/bigdecimal] Add BigDecimal#scaleKenta Murata2021-12-241-59/+142
| | | | | | Fixes GH-198. https://github.com/ruby/bigdecimal/commit/4fbec55680