summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2022-04-02[ruby/zlib] Use `z_size_t` version functionsNobuyoshi Nakada
https://github.com/ruby/zlib/commit/1ce6625fff
2022-04-02[ruby/zlib] Mask checksums to lower 32bits on also IL32 platformsNobuyoshi Nakada
https://github.com/ruby/zlib/commit/e1ead85113
2022-04-02[ruby/zlib] Mask checksums to lower 32bitsNobuyoshi Nakada
Upper bits affect the result of `crc32` in zlib 1.2.12. https://github.com/ruby/zlib/commit/9ab6d04af1
2022-04-01[ruby/psych] Output libyaml configure logNobuyoshi Nakada
https://github.com/ruby/psych/commit/c2e3c8579c
2022-03-31[ruby/psych] Make a static library from PIC object filesNobuyoshi Nakada
On some platforms, PIC and non-PIC code are incompatible and the latter cannot be used for shared objects. https://github.com/ruby/psych/commit/5652e32733
2022-03-31[ruby/psych] Remove `unknown` vendor for cross-compiling tool prefixNobuyoshi Nakada
https://github.com/ruby/psych/commit/a4ffa06646
2022-03-30[ruby/psych] Propagate the host configuration to libyamlNobuyoshi Nakada
https://github.com/ruby/psych/commit/0e37e19707
2022-03-30[ruby/psych] Configure libyaml from the original sourceNobuyoshi Nakada
https://github.com/ruby/psych/commit/54a9ba9d10
2022-03-29[ruby/psych] Try bundled libyaml source if pre-installed is unavailableNobuyoshi Nakada
https://github.com/ruby/psych/commit/f78e1dba89
2022-03-29Merge psych masterHiroshi SHIBATA
https://github.com/ruby/psych/commit/c386ecb0c24eeb9693cc4ad3b1f263b2622c4f1e Notes: Merged: https://github.com/ruby/ruby/pull/5729
2022-03-27ext/psych/extconf.rb: Fail when libyaml is unavailableYusuke Endoh
WHen libyaml is not installed, make fails with the following cryptic message: ``` gmake[2]: Entering directory '/home/chkbuild/chkbuild-crossruby/tmp/build/20220325T045825Z/ruby/ext/psych' gmake[2]: *** No rule to make target 'yaml/yaml.h', needed by 'psych.o'. Stop. gmake[2]: Leaving directory '/home/chkbuild/chkbuild-crossruby/tmp/build/20220325T045825Z/ruby/ext/psych' ``` I think it should give up building psych with a clear message. Notes: Merged: https://github.com/ruby/ruby/pull/5713
2022-03-26[ruby/psych] Added condition for macOS homebrewHiroshi SHIBATA
https://github.com/ruby/psych/commit/a876de5a82 Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
2022-03-25[ruby/readline-ext] Removed the duplicated dependenciesHiroshi SHIBATA
https://github.com/ruby/readline-ext/commit/324d324427
2022-03-25Removed libyaml object files from dependsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5693
2022-03-25Try to remove yaml sources from dependHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5693
2022-03-25Merge psych master: Removed the bundled libyamlHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5693
2022-03-17Fix broken links of rdocKazuhiro NISHIYAMA
- `www.ruby-lang.org` links to `./www.ruby-lang.org` - `cgi['field_name']` links to `./'field_name'`
2022-03-16Suppress warnings by OpenSSL 3Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5667
2022-03-15[ruby/win32ole] Get rid of potential undefined behaviorxtkoba
See https://bugs.llvm.org/show_bug.cgi?id=50236 https://github.com/ruby/win32ole/commit/019ec2b3cb
2022-03-15[ruby/win32ole] Rename toplevel WIN32OLE_* classesNobuyoshi Nakada
https://github.com/ruby/win32ole/commit/bc7deb6a6a
2022-03-10[ruby/io-wait] Update version to 0.2.2.pre1 for testingCharles Oliver Nutter
https://github.com/ruby/io-wait/commit/12e26f574e
2022-03-01Show embed status of array when len is 0 in objspace dumpPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/5609
2022-02-25[ruby/date] Suppress declaration-after-statement warningsNobuyoshi Nakada
https://github.com/ruby/date/commit/60bd16009d
2022-02-25[ruby/date] Deprecate the unintentional ability to parse `Symbol`Nobuyoshi Nakada
https://github.com/ruby/date/commit/d57818f3b3
2022-02-25[ruby/date] Anchor at beginning of numbersNobuyoshi Nakada
https://hackerone.com/reports/1254844 https://github.com/ruby/date/commit/2f7814cc22
2022-02-25[ruby/date] Anchor at beginning of numbersNobuyoshi Nakada
https://hackerone.com/reports/1254844 https://github.com/ruby/date/commit/7ffe25e458
2022-02-25[ruby/date] Separate era from preceding wordNobuyoshi Nakada
https://github.com/ruby/date/commit/017149e53e
2022-02-25[ruby/date] Use possessive matchNobuyoshi Nakada
Reduce backtracks at the same character classes arounding an optional pattern. https://github.com/ruby/date/commit/1fd15f7c49
2022-02-25[ruby/date] Extracted common leading patternNobuyoshi Nakada
https://github.com/ruby/date/commit/ec86dbbdc1
2022-02-23Never call kind_of with klass=0John Hawthorn
Notes: Merged: https://github.com/ruby/ruby/pull/5568
2022-02-22Update ext/-test-/dln/empty/dependPeter Zhu
Dependencies was not updated in 06dab12717a05bf49e4c6dff1d6f5458678d0e00.
2022-02-22Include ruby.h in empty.c to have ABI versionPeter Zhu
I forgot to include this as part of 638fd8774bed27b997f3b634ba8be7aa304be3c3.
2022-02-22[Feature #18249] Update dependenciesPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/5474
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