summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2022-05-24[ruby/date] Constify gperf-generated tableNobuyoshi Nakada
https://github.com/ruby/date/commit/6d7ab08ffc
2022-05-20Merge JRuby implementation for stringio and io-waitHiroshi SHIBATA
2022-05-20Merge https://github.com/ruby/pathname/pull/8 for pathnameHiroshi SHIBATA
2022-05-20[ruby/io-nonblock] Remove unnecessary files from the gemNobuyoshi Nakada
https://github.com/ruby/io-nonblock/commit/3850a4c7ac
2022-05-20[ruby/io-nonblock] Rename `io_nonblock_mode` and extract `set_fcntl_flags`Nobuyoshi Nakada
https://github.com/ruby/io-nonblock/commit/22f08574df
2022-05-20[flori/json] Bump version to 2.6.2Florian Frank
https://github.com/flori/json/commit/5de358f655
2022-05-20[flori/json] Fix parser bug for empty string allocationAndrew Bromwich
When `HAVE_RB_ENC_INTERNED_STR` is enabled it is possible to pass through a null pointer to `rb_enc_interned_str` resulting in a segfault Fixes #495 https://github.com/flori/json/commit/b59368a8c2
2022-05-20[flori/json] Doc: Improve documentation on JSON#parse and JSON#parse!Hiroshi SHIBATA
https://github.com/flori/json/commit/75ada77b96 Co-authored-by: Bruno Gomes da Silva <brunojabs@gmail.com>
2022-05-18[ruby/psych] Prepare to develop 5.0.0Hiroshi SHIBATA
https://github.com/ruby/psych/commit/c3b5183f42
2022-05-18[ruby/psych] [CI] Add/update 'rake install', update Psych version for Ruby ↵MSP-Greg
3.1 gem install https://github.com/ruby/psych/commit/2fa5e190b5
2022-05-10[ruby/psych] tr is typically 4 to 5 times faster than gsubMSP-Greg
https://github.com/ruby/psych/commit/8533be8fe7
2022-05-09[ruby/io-wait] bump up to 0.2.3Hiroshi SHIBATA
https://github.com/ruby/io-wait/commit/f59d1d12e0
2022-05-09[ruby/stringio] bump up to 3.0.3Sutou Kouhei
https://github.com/ruby/stringio/commit/64f225bf00
2022-05-09[ruby/stringio] Bump versionSutou Kouhei
https://github.com/ruby/stringio/commit/b79152d08f
2022-04-27Rust YJITAlan Wu
In December 2021, we opened an [issue] to solicit feedback regarding the porting of the YJIT codebase from C99 to Rust. There were some reservations, but this project was given the go ahead by Ruby core developers and Matz. Since then, we have successfully completed the port of YJIT to Rust. The new Rust version of YJIT has reached parity with the C version, in that it passes all the CRuby tests, is able to run all of the YJIT benchmarks, and performs similarly to the C version (because it works the same way and largely generates the same machine code). We've even incorporated some design improvements, such as a more fine-grained constant invalidation mechanism which we expect will make a big difference in Ruby on Rails applications. Because we want to be careful, YJIT is guarded behind a configure option: ```shell ./configure --enable-yjit # Build YJIT in release mode ./configure --enable-yjit=dev # Build YJIT in dev/debug mode ``` By default, YJIT does not get compiled and cargo/rustc is not required. If YJIT is built in dev mode, then `cargo` is used to fetch development dependencies, but when building in release, `cargo` is not required, only `rustc`. At the moment YJIT requires Rust 1.60.0 or newer. The YJIT command-line options remain mostly unchanged, and more details about the build process are documented in `doc/yjit/yjit.md`. The CI tests have been updated and do not take any more resources than before. The development history of the Rust port is available at the following commit for interested parties: https://github.com/Shopify/ruby/commit/1fd9573d8b4b65219f1c2407f30a0a60e537f8be Our hope is that Rust YJIT will be compiled and included as a part of system packages and compiled binaries of the Ruby 3.2 release. We do not anticipate any major problems as Rust is well supported on every platform which YJIT supports, but to make sure that this process works smoothly, we would like to reach out to those who take care of building systems packages before the 3.2 release is shipped and resolve any issues that may come up. [issue]: https://bugs.ruby-lang.org/issues/18481 Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com> Co-authored-by: Noah Gibbs <the.codefolio.guy@gmail.com> Co-authored-by: Kevin Newton <kddnewton@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/5826
2022-04-26io.nonblock returns the block's value [ci skip]Kazuhiro NISHIYAMA
2022-04-24add description for IO.nonblock=.Tanaka Akira
2022-04-21[ruby/pathname] Implement Pathname#lutimeAkinori MUSHA
https://github.com/ruby/pathname/commit/268cb5acff
2022-04-18[ruby/bigdecimal] Fix docsPeter Zhu
rdoc parses f[i] as a link, which results in a broken link. https://github.com/ruby/bigdecimal/commit/a18522e9ca
2022-04-18[ruby/bigdecimal] Adjust a local variable type to exponentNobuyoshi Nakada
https://github.com/ruby/bigdecimal/commit/70146fb6ad
2022-04-17Get rid of doubly cachingNobuyoshi Nakada
2022-04-17Get rid of magic numbersNobuyoshi Nakada
2022-04-16[ruby/stringio] bump up to 3.0.2.pre1Sutou Kouhei
https://github.com/ruby/stringio/commit/14ec9bc193
2022-04-15[ruby/nkf] Fix docsPeter Zhu
rdoc parses "Z[0-3]" as a link to "0-3", this commit escapes these so that they don't become links. https://github.com/ruby/nkf/commit/269c10061b
2022-04-13Update PTY.spawn's documentStan Lo
Passing the optional env hash to PTY.spawn has been supported for years, but it's never documented. More info: https://bugs.ruby-lang.org/issues/12312 Notes: Merged: https://github.com/ruby/ruby/pull/5786
2022-04-07[ruby/psych] Update autoconf files bundled with yaml-2.5Nobuyoshi Nakada
https://github.com/ruby/psych/commit/e28f17ac18
2022-04-07Move the target directory of bundled gems like as rubygemsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5774
2022-04-07Bundled gems are expanded under `.bundle/gems` nowNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5774
2022-04-05Ignore yaml sourceHiroshi SHIBATA
2022-04-05Removed mswin patch for zlib-1.2.11Hiroshi SHIBATA
2022-04-05[ruby/psych] Improve libyaml source downloading error messagesAlan Wu
People trying to build CRuby by following the instructions in its [README] have been running into [errors] due to missing `libyaml` on their system. Let's try to present a better error message when it happens. [README]: https://github.com/ruby/ruby/tree/fb5aa31e2d20ea8e1425432672f4de4c8ca2c26b#how-to-compile-and-install [errors]: https://github.com/ruby/psych/issues/552 https://github.com/ruby/psych/commit/20a633028e
2022-04-04[ruby/psych] Propagate `CC` to libyamlNobuyoshi Nakada
It is needed for cross-compiling to set properly. Just `--target`/`--host`/`--build` seems insufficient on some platforms. https://github.com/ruby/psych/commit/2d00c0c203
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