| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-07-03 | Fix up [Feature #15974] | Nobuyoshi Nakada | |
| * Fixed warning condition * Fixed function signature * Use ident hash | |||
| 2019-07-03 | Revert "Avoid corrupting VM stack on inlined setlocal" | Koichi Sasada | |
| This reverts commit ea30dd702512ff9df34fe8c71c825f8f901bf5b1. because it fails when VM_CHECK_MODE=1. | |||
| 2019-07-02 | Check that String#scrub block does not modify receiver | Jeremy Evans | |
| Similar to the check used for String#gsub. Can fix possible segfault. Fixes [Bug #15941] | |||
| 2019-07-02 | Make String#-@ not freeze receiver if called on unfrozen subclass instance | Jeremy Evans | |
| rb_fstring behavior in this case is to freeze the receiver. I'm not sure if that should be changed, so this takes the conservative approach of duping the receiver in String#-@ before passing to rb_fstring. Fixes [Bug #15926] | |||
| 2019-07-02 | Implement Array#minmax | Jeremy Evans | |
| Array#minmax was previous not implemented, so calling #minmax on array was actually calling Enumerable#minmax. This is a simple implementation of #minmax by just calling rb_ary_min and rb_ary_max, which improves performance significantly. Fixes [Bug #15929] | |||
| 2019-07-02 | Avoid corrupting VM stack on inlined setlocal | Takashi Kokubun | |
| setlocal relies on cfp->ep, and frame-omitted method inlining introduced in Ruby 2.7 kept it wrong. This change might slow down frame-omitted method inlining for cfp->ep manipulation, and it obviously complicates the implementaion more. By introducing an optimization that changes Ruby's local variable to C local variable, we could optimize it and simplify the cfp->ep manipulation later. [Bug #15971] | |||
| 2019-07-02 | The behavior of statx(2) depends on the filesystem | Nobuyoshi Nakada | |
| birthtime may not be supported on some filesystems, and NotImplementedError can be raised. [Bug #15972] | |||
| 2019-07-02 | Adjust jit_support file path. | Hiroshi SHIBATA | |
| 2019-07-02 | Renamed to get rid of name clash | Nobuyoshi Nakada | |
| 2019-07-01 | Raise TypeError if calling ENV.freeze | Jeremy Evans | |
| Previously, you could call ENV.freeze, but it would not have the desired effect, as you could still modify ENV. Fixes [Bug #15920] | |||
| 2019-07-01 | marshal.c: check instance variable count | Nobuyoshi Nakada | |
| * marshal.c (w_ivar_each): ensure that no instance variable was removed while dumping other instance variables. [Bug #15968] | |||
| 2019-07-01 | marshal.c: check instance variable count | Nobuyoshi Nakada | |
| * marshal.c (w_obj_each): ensure that no instance variable was added while dumping other instance variables. [Bug #15968] | |||
| 2019-06-30 | Producer threads check is the primary condition | Nobuyoshi Nakada | |
| 2019-06-30 | Suppress "statement not reached" warning | Nobuyoshi Nakada | |
| 2019-06-30 | Suppress method redefinition warnings | Nobuyoshi Nakada | |
| 2019-06-30 | Suppress "literal in condition" warnings | Nobuyoshi Nakada | |
| 2019-06-30 | Suppress void context warnings in verbose mode | Nobuyoshi Nakada | |
| 2019-06-30 | Skip instead of return | Nobuyoshi Nakada | |
| 2019-06-30 | Fixed non-working test | Nobuyoshi Nakada | |
| 2019-06-30 | Fixed ClosedQueueError by a timing issue | Nobuyoshi Nakada | |
| 2019-06-30 | Reset the result between assertions | Nobuyoshi Nakada | |
| 2019-06-30 | Fixed an assertion | Nobuyoshi Nakada | |
| 2019-06-30 | Suppress unused variable warnings | Nobuyoshi Nakada | |
| 2019-06-30 | Wait for the helper thread to terminate | Nobuyoshi Nakada | |
| 2019-06-30 | Removed unused variables | Nobuyoshi Nakada | |
| 2019-06-29 | Escape control codes in regexp warning message | Nobuyoshi Nakada | |
| 2019-06-29 | Should not warn massign parameters as unused | Nobuyoshi Nakada | |
| 2019-06-29 | Rmove old TestTimeTZ::TZ#abbr attribute | Nobuyoshi Nakada | |
| 2019-06-29 | Fixed String#grapheme_clusters with wide encodings | Nobuyoshi Nakada | |
| * string.c (get_reg_grapheme_cluster): make regexp from properly encoded sources fro wide-char encodings. [Bug #15965] * regparse.c (node_extended_grapheme_cluster): suppress false duplicated range warning for the time being. | |||
| 2019-06-29 | Hoisted out WIDE_ENCODINGS | Nobuyoshi Nakada | |
| 2019-06-29 | Set file name and line number | Nobuyoshi Nakada | |
| 2019-06-29 | Adjust caller's line number, expect the next line as here-doc | Nobuyoshi Nakada | |
| 2019-06-28 | Removed unused variables | Nobuyoshi Nakada | |
| 2019-06-28 | Removed excess spaces | Nobuyoshi Nakada | |
| 2019-06-28 | Fixed name conflict between helper classes | Nobuyoshi Nakada | |
| 2019-06-28 | Skip instead of return | Nobuyoshi Nakada | |
| 2019-06-28 | Suppress unused variable warnings | Nobuyoshi Nakada | |
| 2019-06-28 | Use assert_separately instead of invoke_ruby | Nobuyoshi Nakada | |
| 2019-06-28 | Suppress redefinition and void context warnings | Nobuyoshi Nakada | |
| 2019-06-28 | Use assigned local variable | Nobuyoshi Nakada | |
| 2019-06-28 | Suppress void context warning in verbose mode | Nobuyoshi Nakada | |
| 2019-06-26 | test/ruby/test_array.rb (test_sort_with_replace): run in a subprocess | Yusuke Endoh | |
| This test invokes GC.start 100 times, which takes approx. six minutes in Solaris. This change runs the test in a separated process, which makes GC.start faster. | |||
| 2019-06-24 | Add new encoding CESU-8 [Feature #15931] | NARUSE, Yui | |
| 2019-06-23 | array.c: always check frozenness in Array#unshift. Fixes [Bug #15952] | Luke Gruber | |
| Closes: https://github.com/ruby/ruby/pull/2251 | |||
| 2019-06-23 | Module#constant_source_location [Feature #10771] | Nobuyoshi Nakada | |
| 2019-06-23 | Fix issue with Array#rindex when rb_equal modifies receiver array | Luke Gruber | |
| Fixes [Bug #15951] Closes: https://github.com/ruby/ruby/pull/2250 | |||
| 2019-06-23 | Frozen objects in WeakMap | Nobuyoshi Nakada | |
| * gc.c (wmap_aset): bypass check for frozen and allow frozen object in WeakMap. [Bug #13498] | |||
| 2019-06-21 | Remove a duplicate test | Shugo Maeda | |
| 2019-06-21 | Enumerator::Lazy should support filter_map | Shugo Maeda | |
| Fixes [Bug #15949] | |||
| 2019-06-21 | Add an optional `inherit` argument to Module#autoload? | Jean Boussier | |
| [Feature #15777] Closes: https://github.com/ruby/ruby/pull/2173 | |||
