Age | Commit message (Collapse) | Author | |
---|---|---|---|
8 days | Update to ruby/spec@6b04c1d | Andrew Konchin | |
2024-05-02 | Declare as NORETURN | Nobuyoshi Nakada | |
2024-04-02 | Update to ruby/spec@573cf97 | Andrew Konchin | |
2024-03-14 | Update to ruby/spec@89175b2 | Benoit Daloze | |
2024-03-14 | [Feature #20265] Remove rb_newobj_of and RB_NEWOBJ_OF | Peter Zhu | |
2024-03-03 | [Bug #20322] Fix rb_enc_interned_str_cstr null encoding | Thomas Marshall | |
The documentation for `rb_enc_interned_str_cstr` notes that `enc` can be a null pointer, but this currently causes a segmentation fault when trying to autoload the encoding. This commit fixes the issue by checking for NULL before calling `rb_enc_autoload`. | |||
2024-02-26 | Update to ruby/spec@3a510bb | Benoit Daloze | |
2024-02-23 | Stop using rb_fstring publicly | Peter Zhu | |
rb_fstring is a private API, so we should use rb_str_to_interned_str instead, which is a public API. | |||
2024-02-12 | Update to ruby/spec@ce834ad | Benoit Daloze | |
2024-02-05 | Update to ruby/spec@3fc4444 | Benoit Daloze | |
2023-12-25 | Move non-portable pragmas to rubyspec.h | Nobuyoshi Nakada | |
In the extension libraries in spec/ruby/optional/capi, do not care about deprecated declarations. | |||
2023-11-27 | Update to ruby/spec@c3206f6 | Benoit Daloze | |
2023-10-31 | Missing format string | Nobuyoshi Nakada | |
Do not use a variable as a format string. Also we usually don't expect non-ascii data in C string literals. | |||
2023-10-30 | Update to ruby/spec@bd7017f | Benoit Daloze | |
2023-08-02 | Update to ruby/spec@9e278f5 | Benoit Daloze | |
2023-06-26 | Update to ruby/spec@30e1c35 | Benoit Daloze | |
2023-06-01 | rb_io_descriptor() is available since 3.1 | Benoit Daloze | |
2023-06-01 | Hide the usage of `rb_io_t` where possible. (#7880) | Samuel Williams | |
This retries the compatible parts of the previously reverted PR so we can continue to update related code without breaking backwards compatibility. Notes: Merged-By: ioquatix <samuel@codeotaku.com> | |||
2023-06-01 | Revert "Hide most of the implementation of `struct rb_io`. (#6511)" | NARUSE, Yui | |
This reverts commit 18e55fc1e1ec20e8f3166e3059e76c885fc9f8f2. fix [Bug #19704] https://bugs.ruby-lang.org/issues/19704 This breaks compatibility for extension libraries. Such changes need a discussion. | |||
2023-05-30 | Hide most of the implementation of `struct rb_io`. (#6511) | Samuel Williams | |
* Add rb_io_path and rb_io_open_descriptor. * Use rb_io_open_descriptor to create PTY objects * Rename FMODE_PREP -> FMODE_EXTERNAL and expose it FMODE_PREP I believe refers to the concept of a "pre-prepared" file, but FMODE_EXTERNAL is clearer about what the file descriptor represents and aligns with language in the IO::Buffer module. * Ensure that rb_io_open_descriptor closes the FD if it fails If FMODE_EXTERNAL is not set, then it's guaranteed that Ruby will be responsible for closing your file, eventually, if you pass it to rb_io_open_descriptor, even if it raises an exception. * Rename IS_EXTERNAL_FD -> RUBY_IO_EXTERNAL_P * Expose `rb_io_closed_p`. * Add `rb_io_mode` to get IO mode. --------- Co-authored-by: KJ Tsanaktsidis <ktsanaktsidis@zendesk.com> Notes: Merged-By: ioquatix <samuel@codeotaku.com> | |||
2023-05-24 | Fix "runs a C function with the global lock unlocked and unlocks IO with the ↵ | Samuel Williams | |
generic RUBY_UBF_IO" on Windows. (#7848) * Enable borked spec. * Ensure win32 wrappers are visible and used. * Reorganise `read`/`write`/`pipe` in `thread_spec.c`. Notes: Merged-By: ioquatix <samuel@codeotaku.com> | |||
2023-04-25 | Update to ruby/spec@7f69c86 | Benoit Daloze | |
2023-04-07 | [Bug #19584] Register global variables before assignment | Nobuyoshi Nakada | |
2023-01-18 | Define RUBY_VERSION_IS_3_3 macro in rubyspec.h | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/7145 | |||
2023-01-05 | Update to ruby/spec@9d69b95 | Benoit Daloze | |
2022-11-07 | Update to ruby/spec@740ccc8 | Benoit Daloze | |
2022-09-28 | Update to ruby/spec@1d9d5c6 | Benoit Daloze | |
2022-08-29 | Update to ruby/spec@d01709f | Benoit Daloze | |
2022-07-27 | Update to ruby/spec@cbfaf51 | Benoit Daloze | |
2022-06-26 | Update to ruby/spec@ab32a1a | Benoit Daloze | |
2022-04-07 | Get rid of type aliasing | Nobuyoshi Nakada | |
2022-04-07 | Suppress an unused function | Nobuyoshi Nakada | |
2022-03-28 | Update to ruby/spec@aaf998f | Benoit Daloze | |
2022-03-03 | Update to ruby/spec@82cd3a3 | Benoit Daloze | |
2022-01-28 | Update to ruby/spec@902ab83 | Benoit Daloze | |
2022-01-10 | Update to ruby/spec@226cfdc | Benoit Daloze | |
2021-12-26 | Remove tainted and trusted features | Nobuyoshi Nakada | |
Already these had been announced to be removed in 3.2. Notes: Merged: https://github.com/ruby/ruby/pull/5348 | |||
2021-11-29 | Update to ruby/spec@7f22a0b | Benoit Daloze | |
2021-10-05 | Update to ruby/spec@ccf0d85 | Benoit Daloze | |
2021-09-25 | FL_USER flags on ohter than T_DATA are reserved [Misc #18059] | Nobuyoshi Nakada | |
2021-09-20 | Add C interface spec. | Samuel Williams | |
Notes: Merged: https://github.com/ruby/ruby/pull/4649 | |||
2021-09-12 | Add printf attribute to functions call va_list format functions | Nobuyoshi Nakada | |
2021-09-10 | spec/ruby/optional/capi/ext: must support GCC 5 | 卜部昌平 | |
What a silly bug. Notes: Merged: https://github.com/ruby/ruby/pull/4815 | |||
2021-09-10 | spec/ruby/optional/capi/ext: support ruby < 3 | 卜部昌平 | |
RBIMPL_WARNING_PUSH is a 3.0 feature. Rubyspec OTOH has to support 2.x. Notes: Merged: https://github.com/ruby/ruby/pull/4815 | |||
2021-09-10 | spec/ruby/optional/capi/ext: suppress warnings | 卜部昌平 | |
These warnings are okay here. Notes: Merged: https://github.com/ruby/ruby/pull/4815 | |||
2021-09-07 | Update to ruby/spec@b1e93a2 | Benoit Daloze | |
2021-08-30 | Fix dllimport attribute | Nobuyoshi Nakada | |
2021-08-07 | Suppress unused-result warnings | S.H | |
* Hide read function warning in string_spec_RSTRING_PTR_read function * The type of `read` may be `ssize_t` Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/4703 Merged-By: nobu <nobu@ruby-lang.org> | |||
2021-07-30 | Tweak rb_str_modify_expand() + read() spec to try to find out why it fails ↵ | Benoit Daloze | |
on some platforms * Use a longer string as <= 23 characters it's embedded on CRuby and the value of rb_str_capacity() is implementation-specific. | |||
2021-07-29 | Update to ruby/spec@b65d01f | Benoit Daloze | |