summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken links of rdocKazuhiro NISHIYAMA2022-03-171-7/+7
| | | | | - `www.ruby-lang.org` links to `./www.ruby-lang.org` - `cgi['field_name']` links to `./'field_name'`
* Suppress warnings by OpenSSL 3Nobuyoshi Nakada2022-03-161-0/+7
|
* [ruby/win32ole] Get rid of potential undefined behaviorxtkoba2022-03-151-1/+1
| | | | | | See https://bugs.llvm.org/show_bug.cgi?id=50236 https://github.com/ruby/win32ole/commit/019ec2b3cb
* [ruby/win32ole] Rename toplevel WIN32OLE_* classesNobuyoshi Nakada2022-03-158-8/+16
| | | | https://github.com/ruby/win32ole/commit/bc7deb6a6a
* [ruby/io-wait] Update version to 0.2.2.pre1 for testingCharles Oliver Nutter2022-03-101-1/+1
| | | | https://github.com/ruby/io-wait/commit/12e26f574e
* Show embed status of array when len is 0 in objspace dumpPeter Zhu2022-03-011-1/+1
|
* [ruby/date] Suppress declaration-after-statement warningsNobuyoshi Nakada2022-02-251-30/+31
| | | | https://github.com/ruby/date/commit/60bd16009d
* [ruby/date] Deprecate the unintentional ability to parse `Symbol`Nobuyoshi Nakada2022-02-252-1/+10
| | | | https://github.com/ruby/date/commit/d57818f3b3
* [ruby/date] Anchor at beginning of numbersNobuyoshi Nakada2022-02-251-1/+1
| | | | | | https://hackerone.com/reports/1254844 https://github.com/ruby/date/commit/2f7814cc22
* [ruby/date] Anchor at beginning of numbersNobuyoshi Nakada2022-02-251-7/+9
| | | | | | https://hackerone.com/reports/1254844 https://github.com/ruby/date/commit/7ffe25e458
* [ruby/date] Separate era from preceding wordNobuyoshi Nakada2022-02-251-4/+12
| | | | https://github.com/ruby/date/commit/017149e53e
* [ruby/date] Use possessive matchNobuyoshi Nakada2022-02-251-2/+2
| | | | | | | Reduce backtracks at the same character classes arounding an optional pattern. https://github.com/ruby/date/commit/1fd15f7c49
* [ruby/date] Extracted common leading patternNobuyoshi Nakada2022-02-251-10/+13
| | | | https://github.com/ruby/date/commit/ec86dbbdc1
* Never call kind_of with klass=0John Hawthorn2022-02-231-8/+1
|
* Update ext/-test-/dln/empty/dependPeter Zhu2022-02-221-0/+159
| | | | | Dependencies was not updated in 06dab12717a05bf49e4c6dff1d6f5458678d0e00.
* Include ruby.h in empty.c to have ABI versionPeter Zhu2022-02-221-0/+2
| | | | | I forgot to include this as part of 638fd8774bed27b997f3b634ba8be7aa304be3c3.
* [Feature #18249] Update dependenciesPeter Zhu2022-02-2290-13/+421
|
* [Feature #18249] Include ruby.h in extensions to have ABI versionPeter Zhu2022-02-221-0/+2
| | | | | All shared libraries must have `include/ruby/internal/abi.h` to include the ABI version. Including `ruby.h` will guarantee that.
* [Feature #18249] Implement ABI checkingPeter Zhu2022-02-222-0/+14
| | | | | | | | | | | | | | | | | | | | 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"]`.
* [ruby/zlib] [DOC] Fix typo in Zlib.adler32_combineMau Magnaguagno2022-02-221-1/+1
| | | | https://github.com/ruby/zlib/commit/5e8f0b4164
* 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