| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | |||
| 2019-06-21 | Lazy filter_map | Nobuyoshi Nakada | |
| 2019-06-19 | Implement Complex#<=> | Jeremy Evans | |
| Implement Complex#<=> so that it is usable as an argument when calling <=> on objects of other classes (since #coerce will coerce such numbers to Complex). If the complex number has a zero imaginary part, and the other argument is a real number (or complex number with zero imaginary part), return -1, 0, or 1. Otherwise, return nil, indicating the objects are not comparable. Fixes [Bug #15857] | |||
| 2019-06-19 | Marshal distant past/future | Nobuyoshi Nakada | |
| [Feature #15160] | |||
| 2019-06-19 | New buffer for shared string | Nobuyoshi Nakada | |
| * string.c (rb_str_init): allocate new buffer if the string is shared. [Bug #15937] | |||
| 2019-06-19 | Preserve the string content at self-copying | Nobuyoshi Nakada | |
| * string.c (rb_str_init): preserve the embedded content when self-copying with a capacity. [Bug #15937] | |||
| 2019-06-18 | String#b: Don't depend on dependent string | Alan Wu | |
| Registering a string that depend on a dependent string as fstring can lead to use-after-free. See c06ddfe and 3f95620 for details. The following script triggers use-after-free on trunk, 2.4.6, 2.5.5 and 2.6.3. Credits to @wanabe for using eval as a cross-version way of registering a fstring. ```ruby a = ('j' * 24).b.b eval('', binding, a) p a 4.times { GC.start } p a ``` - string.c (str_replace_shared_without_enc): when given a dependent string, depend on the root of the dependent string. [Bug #15934] | |||
| 2019-06-17 | Fix wrong "void value expression" error | Nobuyoshi Nakada | |
| * parse.y (value_expr_check): `then` or `else` only `if` is not a void value expression, as the counterpart is evaluated as `nil`. [Bug #15932] | |||
| 2019-06-17 | Fix wrong "void value expression" error | Nobuyoshi Nakada | |
| * parse.y (value_expr_check): if either of `then` or `else` statements is not a void value expression, the whole `if` is not also a void value expression. [Bug #15932] | |||
| 2019-06-16 | Revert "Make constant assignments more conforming to JIS X 3017:2013 11.4.2.2.3" | Yusuke Endoh | |
| This reverts commit 44caca11cfa6bea01a1ef738846183f1a56d5658. The change caused a build failure. http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2102153 | |||
| 2019-06-16 | Make constant assignments more conforming to JIS X 3017:2013 11.4.2.2.3 | Yuki Yugui Sonoda | |
| compile.c (NODE_CDECL): Evaluate the module before the value test/ruby/test_const.rb (test_evaluation_order): added a test case | |||
| 2019-06-15 | Revert github/pull/2230, commit miss | Nobuyoshi Nakada | |
| 2019-06-15 | Test for blank lines between leadinig dot method chains | Josh Cheek | |
| 2019-06-15 | Multiline method chain with leading dot works for blank lines | Josh Cheek | |
| 2019-06-15 | Test comments between multiline method chain | Josh Cheek | |
| 2019-06-14 | An operator is not allowed just after `|>` | Nobuyoshi Nakada | |
| https://twitter.com/yukihiro_matz/status/1139454774640726019 | |||
| 2019-06-13 | Continue to the next line beginning with a pipeline | Nobuyoshi Nakada | |
| 2019-06-13 | parse.y: moved pipeline to expr | Nobuyoshi Nakada | |
| To allow arguments without parentheses. | |||
| 2019-06-13 | Add pipeline operator [Feature #15799] | Nobuyoshi Nakada | |
| 2019-06-13 | IO#set_encoding_by_bom | Nobuyoshi Nakada | |
| * io.c (rb_io_set_encoding_by_bom): IO#set_encoding_by_bom to set the encoding by BOM if exists. [Bug #15210] | |||
| 2019-06-11 | Fix SystemStackError when calling a method in an unused refinement | Jeremy Evans | |
| Fixes [Bug #15720] | |||
| 2019-06-11 | assert_cpu_usage_low with timeout scale | Nobuyoshi Nakada | |
| * test/lib/test/unit/assertions.rb (assert_cpu_usage_low): apply the timeout scale to measuring period. this assertion is very runtime environment dependent. | |||
| 2019-06-11 | Refined syntax error messages | Nobuyoshi Nakada | |
| 2019-06-11 | &. is not allowed inside LHS of massign | Nobuyoshi Nakada | |
| https://hackerone.com/reports/605262 | |||
| 2019-06-09 | Split test_strip_bom for each encoding | Nobuyoshi Nakada | |
| 2019-06-09 | Add tests of the encoding with BOM | Nobuyoshi Nakada | |
| 2019-06-07 | compile.c: Partially revert r63870 which caused wrong optimization | Yusuke Endoh | |
| [Bug #15906] | |||
| 2019-06-05 | error.c: avoid infinite recursion at inspecting the frozen object | Nobuyoshi Nakada | |
| 2019-06-05 | Test for f1f04caf60e4fc9dc3b12109e0be831f2d692810 | Nobuyoshi Nakada | |
| 2019-06-04 | Include inspect value of object in FrozenError messages | Jeremy Evans | |
| FrozenError#receiver was added recently for getting the related object programmatically. However, there are cases where FrozenError is raised and not handled, and in those cases the resulting error messages lack detail, which makes debugging the error more difficult, especially in cases where the error is not easily reproducible. This includes the inspect value of the frozen object in FrozenError messages, which should make debugging simpler. | |||
| 2019-06-03 | Fix the error token on "invalid hex escape" | Nobuyoshi Nakada | |
| * parse.y (tok_hex): flush token after dispatching the "invalid hex escape" parse error. | |||
| 2019-06-02 | Make size on an infinite each_slice enumerator return Infinity | Jeremy Evans | |
| Fixes [Bug #15889] | |||
| 2019-06-01 | Update String#crypt tests to work on OpenBSD | Jeremy Evans | |
| Skip the webrick httpauth tests that use crypt when testing on OpenBSD. Fixes [Bug #11363] | |||
| 2019-06-01 | Ignore warnings about mismatched indentations. | Hiroshi SHIBATA | |
