summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2022-02-22[Feature #18249] Include ruby.h in extensions to have ABI versionPeter Zhu
All shared libraries must have `include/ruby/internal/abi.h` to include the ABI version. Including `ruby.h` will guarantee that. Notes: Merged: https://github.com/ruby/ruby/pull/5474
2022-02-22[Feature #18249] Implement ABI checkingPeter Zhu
Header file include/ruby/internal/abi.h contains RUBY_ABI_VERSION which is the ABI version. This value should be bumped whenever an ABI incompatible change is introduced. When loading dynamic libraries, Ruby will compare its own `ruby_abi_version` and the `ruby_abi_version` of the loaded library. If these two values don't match it will raise a `LoadError`. This feature can also be turned off by setting the environment variable `RUBY_RUBY_ABI_CHECK=0`. This feature will prevent cases where previously installed native gems fail in unexpected ways due to incompatibility of changes in header files. This will force the developer to recompile their gems to use the same header files as the built Ruby. In Ruby, the ABI version is exposed through `RbConfig::CONFIG["ruby_abi_version"]`. Notes: Merged: https://github.com/ruby/ruby/pull/5474
2022-02-22[ruby/zlib] [DOC] Fix typo in Zlib.adler32_combineMau Magnaguagno
https://github.com/ruby/zlib/commit/5e8f0b4164
2022-02-09objspace: Hide identhash containing internal objsJohn Hawthorn
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. Notes: Merged: https://github.com/ruby/ruby/pull/5542
2022-02-03Add the size pool slot size to the output of ObjectSpace.dump/dump_allMatt Valentine-House
Notes: Merged: https://github.com/ruby/ruby/pull/5520
2022-02-01[ruby/io-wait] Exclude rake files from packagesNobuyoshi Nakada
https://github.com/ruby/io-wait/commit/7be58cd7f4
2022-02-01[ruby/io-wait] Make the gem a noop on Rubies older than 2.6Jean Boussier
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
2022-02-01[ruby/io-wait] bump up to 0.2.2Nobuyoshi Nakada
https://github.com/ruby/io-wait/commit/e15a2486b2
2022-01-26Do not need to print to stderrKoichi Sasada
2022-01-25[ruby/pathname] Officially drop support for ruby 2.6 or olderDavid Rodríguez
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
2022-01-24[ruby/io-wait] [DOC] Fix the return values [ci skip]Nobuyoshi Nakada
Even since 0.1.0, other than +true+ or +false+ may be returned. https://github.com/ruby/io-wait/commit/d0721e300a
2022-01-24[ruby/io-wait] Document mandatory require for using io/wait methodsapatniv
https://github.com/ruby/io-wait/commit/2beb05bd48
2022-01-24[ruby/bigdecimal] Version 3.1.2Kenta Murata
https://github.com/ruby/bigdecimal/commit/57e2194135
2022-01-24[ruby/bigdecimal] Fix the maximum precision of the quotientKenta Murata
Fixes https://github.com/ruby/bigdecimal/pull/220 https://github.com/ruby/bigdecimal/commit/127a1b5a31
2022-01-22[ruby/psych] Add strict_integer option to parse numbers with commas as stringsSeth Boyles
Authored-by: Seth Boyles <sethboyles@gmail.com> https://github.com/ruby/psych/commit/75bebb37b8
2022-01-21[ruby/etc] Exclude change logs for pre 1.0Nobuyoshi Nakada
https://github.com/ruby/etc/commit/c8a133fe95
2022-01-21[ruby/etc] Derive extra_rdoc_files from filesNobuyoshi Nakada
https://github.com/ruby/etc/commit/e8ecce3442
2022-01-21[ruby/etc] Move development dependencies to GemfileNobuyoshi Nakada
https://github.com/ruby/etc/commit/5cabc3996a
2022-01-20[ruby/psych] Remove alias of load to unsafe_loadMichael Nikitochkin
https://github.com/ruby/psych/commit/39e23cc86f
2022-01-18[Feature #18491] Drop support for HP-UXPeter Zhu
IA64 support was dropped in ticket #15894, so we can drop support for HP-UX. Notes: Merged: https://github.com/ruby/ruby/pull/5457
2022-01-15[ruby/fcntl] adding few FreeBSD specific flags.David CARLIER
https://github.com/ruby/fcntl/commit/03d9a7937d
2022-01-14[ruby/psych] Don't require `strscan` unnecessarilyDavid Rodríguez
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
2022-01-07[ruby/pathname] Make Pathname#each_entry return enumerator if called without ↵Jeremy Evans
block Fixes [Bug #18158] https://github.com/ruby/pathname/commit/914c726aa2
2022-01-02[ruby/etc] Note for rb_deprecate_constant [ci skip]Nobuyoshi Nakada
https://github.com/ruby/etc/commit/f87fe7ad93
2022-01-02[ruby/etc] Remove deprecate constants under StructNobuyoshi Nakada
https://github.com/ruby/etc/commit/143edbd215
2022-01-02[ruby/etc] bump up to 1.4.0Nobuyoshi Nakada
https://github.com/ruby/etc/commit/ca41f182f6
2022-01-02[ruby/etc] bump up to 1.3.1Nobuyoshi Nakada
https://github.com/ruby/etc/commit/82dd69a4cf
2022-01-02[ruby/etc] [DOC] Refine Etc::Passwd#passwd descriptionNobuyoshi Nakada
https://github.com/ruby/etc/commit/17b99fe42e
2022-01-02[ruby/etc] [DOC] Document Etc::Passwd and Etc::Group as classesNobuyoshi Nakada
https://github.com/ruby/etc/commit/106429f10b
2022-01-02[ruby/etc] [DOC] Add document taskNobuyoshi Nakada
https://github.com/ruby/etc/commit/8c8c6198e2
2022-01-02[ruby/etc] Update ruby versionsNobuyoshi Nakada
https://github.com/ruby/etc/commit/959416b18a
2021-12-30[ruby/win32ole] Undefine allocator of WIN32OLE_VARIABLE to get rid of warningNobuyoshi Nakada
https://github.com/ruby/win32ole/commit/27d0fdc622
2021-12-29[ruby/io-console] bump up to 0.5.11Nobuyoshi Nakada
https://github.com/ruby/io-console/commit/ad3805200c
2021-12-29Sync io-console gem.Samuel Williams
2021-12-25Prevent installing zlib libraryNARUSE, Yui
2021-12-25[ruby/io-console] bump up to 0.5.10Nobuyoshi Nakada
https://github.com/ruby/io-console/commit/806c65e22b
2021-12-25[ruby/io-console] No longer support dead versionsNobuyoshi Nakada
https://github.com/ruby/io-console/commit/e9478509e9
2021-12-25[ruby/openssl] Ruby/OpenSSL 3.0.0Kazuki Yamaguchi
https://github.com/ruby/openssl/commit/bff4080091
2021-12-25Prefer to use RTEST when checking result of `rb_io_wait`. (#5341)Samuel Williams
* 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>
2021-12-24Import digest v3.1.0 from ruby/digestAkinori MUSHA
2021-12-24[ruby/readline-ext] Bump version to 0.1.4Hiroshi SHIBATA
https://github.com/ruby/readline-ext/commit/6f86713b19
2021-12-24[ruby/bigdecimal] Remove unused variableKenta Murata
https://github.com/ruby/bigdecimal/commit/ac7daa5f15
2021-12-24[ruby/bigdecimal] Version 3.1.1Kenta Murata
https://github.com/ruby/bigdecimal/commit/2ef67c2cc7
2021-12-24[ruby/bigdecimal] Fix the result precision of BigDecimal#divmodKenta Murata
https://github.com/ruby/bigdecimal/commit/a32f6cb9e2
2021-12-24[ruby/bigdecimal] Version 3.1.0Kenta Murata
https://github.com/ruby/bigdecimal/commit/c3453d2b97
2021-12-24[ruby/bigdecimal] Enhanced RDoc for BigDecimal ↵Burdette Lamar
(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>
2021-12-24[ruby/bigdecimal] Let BigDecimal#quo accept precisionKenta Murata
Fix GH-214. https://github.com/ruby/bigdecimal/commit/13e0e93f37
2021-12-24[ruby/bigdecimal] Add TODO commentKenta Murata
https://github.com/ruby/bigdecimal/commit/ef9cf4e69e
2021-12-24[ruby/bigdecimal] Allow passing both float and precision in BigDecimal#divKenta Murata
Fix GH-212. https://github.com/ruby/bigdecimal/commit/900bb7fcf5
2021-12-24[ruby/bigdecimal] Improve extconf to allow using bigdecimal as a git gemJean Boussier
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