Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Restore support library for only test files. | Hiroshi SHIBATA | 2019-07-09 | 3 | -3/+3 | |
| | ||||||
* | Check indent of `end` against `else` if present | Nobuyoshi Nakada | 2019-07-08 | 1 | -5/+6 | |
| | ||||||
* | Message to pipe should end with a newline | Nobuyoshi Nakada | 2019-07-07 | 1 | -10/+14 | |
| | ||||||
* | Enable indentation warning against `if` just after `else` | Nobuyoshi Nakada | 2019-07-07 | 1 | -5/+8 | |
| | | | | | | | | | | | | | ```ruby if false puts 'false' else if true puts 'true' end # -:5: warning: mismatched indentations at 'end' with 'if' at 3 end ``` [Feature #15990] | |||||
* | Fix segfault when using method reference operator without using result | Jeremy Evans | 2019-07-05 | 1 | -0/+7 | |
| | | | | Fixes [Bug #15985] | |||||
* | Multiple codepoints are not allowed at single character literal | Nobuyoshi Nakada | 2019-07-05 | 1 | -0/+1 | |
| | | | | It has unintentionally passed since 2.5. | |||||
* | Revert self-referencing finalizer warning [Feature #15974] | Nobuyoshi Nakada | 2019-07-04 | 1 | -29/+3 | |
| | | | | | | | | | | | | | | | | | | | | It has caused CI failures. * d0cd0866d82a58933e5dccd073c753c0c2ad4eb5 Disable GC during rb_objspace_reachable_object_p * 89cef1c56b3a0f9c5e6ccc22a5044477a4fd16c1 Version guard for [Feature #15974] * 796eeb6339952d92ae1b353d450c7883e589852d. Fix up [Feature #15974] * 928260c2a613bbdd4402c300e0bf86ae7562e52a. Warn in verbose mode on defining a finalizer that captures the object | |||||
* | Just disable inlining with local varaible for now | Takashi Kokubun | 2019-07-03 | 1 | -0/+14 | |
| | | | | | | | | | | | This partially reverts commit 712a66b0741605f5b2db670a292b9bb352f8a716. The previous fix made CI strange like: http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2124178 Let me just downgrade the behavior for now and deal with it later. [Bug #15971] | |||||
* | Fix up [Feature #15974] | Nobuyoshi Nakada | 2019-07-03 | 1 | -3/+29 | |
| | | | | | | * Fixed warning condition * Fixed function signature * Use ident hash | |||||
* | Revert "Avoid corrupting VM stack on inlined setlocal" | Koichi Sasada | 2019-07-03 | 1 | -14/+0 | |
| | | | | | This reverts commit ea30dd702512ff9df34fe8c71c825f8f901bf5b1. because it fails when VM_CHECK_MODE=1. | |||||
* | Check that String#scrub block does not modify receiver | Jeremy Evans | 2019-07-02 | 1 | -0/+13 | |
| | | | | | | | Similar to the check used for String#gsub. Can fix possible segfault. Fixes [Bug #15941] | |||||
* | Make String#-@ not freeze receiver if called on unfrozen subclass instance | Jeremy Evans | 2019-07-02 | 1 | -0/+16 | |
| | | | | | | | | | 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] | |||||
* | Implement Array#minmax | Jeremy Evans | 2019-07-02 | 1 | -0/+19 | |
| | | | | | | | | | 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] | |||||
* | Avoid corrupting VM stack on inlined setlocal | Takashi Kokubun | 2019-07-02 | 1 | -0/+14 | |
| | | | | | | | | | | | | | 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] | |||||
* | The behavior of statx(2) depends on the filesystem | Nobuyoshi Nakada | 2019-07-02 | 1 | -1/+1 | |
| | | | | | birthtime may not be supported on some filesystems, and NotImplementedError can be raised. [Bug #15972] | |||||
* | Adjust jit_support file path. | Hiroshi SHIBATA | 2019-07-02 | 3 | -3/+3 | |
| | ||||||
* | Renamed to get rid of name clash | Nobuyoshi Nakada | 2019-07-02 | 1 | -1/+1 | |
| | ||||||
* | Raise TypeError if calling ENV.freeze | Jeremy Evans | 2019-07-01 | 1 | -0/+4 | |
| | | | | | | | Previously, you could call ENV.freeze, but it would not have the desired effect, as you could still modify ENV. Fixes [Bug #15920] | |||||
* | marshal.c: check instance variable count | Nobuyoshi Nakada | 2019-07-01 | 1 | -1/+13 | |
| | | | | | * marshal.c (w_ivar_each): ensure that no instance variable was removed while dumping other instance variables. [Bug #15968] | |||||
* | marshal.c: check instance variable count | Nobuyoshi Nakada | 2019-07-01 | 1 | -0/+32 | |
| | | | | | * marshal.c (w_obj_each): ensure that no instance variable was added while dumping other instance variables. [Bug #15968] | |||||
* | Producer threads check is the primary condition | Nobuyoshi Nakada | 2019-06-30 | 1 | -1/+1 | |
| | ||||||
* | Suppress "statement not reached" warning | Nobuyoshi Nakada | 2019-06-30 | 1 | -1/+1 | |
| | ||||||
* | Suppress method redefinition warnings | Nobuyoshi Nakada | 2019-06-30 | 1 | -1/+2 | |
| | ||||||
* | Suppress "literal in condition" warnings | Nobuyoshi Nakada | 2019-06-30 | 1 | -4/+4 | |
| | ||||||
* | Suppress void context warnings in verbose mode | Nobuyoshi Nakada | 2019-06-30 | 2 | -6/+12 | |
| | ||||||
* | Skip instead of return | Nobuyoshi Nakada | 2019-06-30 | 1 | -1/+2 | |
| | ||||||
* | Fixed non-working test | Nobuyoshi Nakada | 2019-06-30 | 1 | -6/+10 | |
| | ||||||
* | Fixed ClosedQueueError by a timing issue | Nobuyoshi Nakada | 2019-06-30 | 1 | -2/+5 | |
| | ||||||
* | Reset the result between assertions | Nobuyoshi Nakada | 2019-06-30 | 1 | -0/+1 | |
| | ||||||
* | Fixed an assertion | Nobuyoshi Nakada | 2019-06-30 | 1 | -1/+1 | |
| | ||||||
* | Suppress unused variable warnings | Nobuyoshi Nakada | 2019-06-30 | 12 | -7/+19 | |
| | ||||||
* | Wait for the helper thread to terminate | Nobuyoshi Nakada | 2019-06-30 | 1 | -0/+1 | |
| | ||||||
* | Removed unused variables | Nobuyoshi Nakada | 2019-06-30 | 6 | -8/+3 | |
| | ||||||
* | Escape control codes in regexp warning message | Nobuyoshi Nakada | 2019-06-29 | 1 | -0/+2 | |
| | ||||||
* | Should not warn massign parameters as unused | Nobuyoshi Nakada | 2019-06-29 | 1 | -4/+6 | |
| | ||||||
* | Rmove old TestTimeTZ::TZ#abbr attribute | Nobuyoshi Nakada | 2019-06-29 | 1 | -1/+1 | |
| | ||||||
* | Fixed String#grapheme_clusters with wide encodings | Nobuyoshi Nakada | 2019-06-29 | 1 | -4/+11 | |
| | | | | | | | | * 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. | |||||
* | Hoisted out WIDE_ENCODINGS | Nobuyoshi Nakada | 2019-06-29 | 1 | -8/+8 | |
| | ||||||
* | Set file name and line number | Nobuyoshi Nakada | 2019-06-29 | 1 | -3/+3 | |
| | ||||||
* | Adjust caller's line number, expect the next line as here-doc | Nobuyoshi Nakada | 2019-06-29 | 1 | -1/+1 | |
| | ||||||
* | Removed unused variables | Nobuyoshi Nakada | 2019-06-28 | 2 | -6/+3 | |
| | ||||||
* | Removed excess spaces | Nobuyoshi Nakada | 2019-06-28 | 2 | -2/+2 | |
| | ||||||
* | Fixed name conflict between helper classes | Nobuyoshi Nakada | 2019-06-28 | 2 | -2/+8 | |
| | ||||||
* | Skip instead of return | Nobuyoshi Nakada | 2019-06-28 | 1 | -2/+1 | |
| | ||||||
* | Suppress unused variable warnings | Nobuyoshi Nakada | 2019-06-28 | 1 | -16/+15 | |
| | ||||||
* | Use assert_separately instead of invoke_ruby | Nobuyoshi Nakada | 2019-06-28 | 1 | -10/+13 | |
| | ||||||
* | Suppress redefinition and void context warnings | Nobuyoshi Nakada | 2019-06-28 | 1 | -1/+1 | |
| | ||||||
* | Use assigned local variable | Nobuyoshi Nakada | 2019-06-28 | 1 | -1/+1 | |
| | ||||||
* | Suppress void context warning in verbose mode | Nobuyoshi Nakada | 2019-06-28 | 1 | -1/+1 | |
| | ||||||
* | test/ruby/test_array.rb (test_sort_with_replace): run in a subprocess | Yusuke Endoh | 2019-06-26 | 1 | -7/+15 | |
| | | | | | | 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. |