| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-10-13 | Introduce endless range (a part of #5085) | taiyoslime | |
| Co-Authored-By: n4o847 <[email protected]> Co-Authored-By: smallkirby <[email protected]> | |||
| 2019-12-11 | Fix behavior of `Kernel#Integer` to numbers ending with `_` and spaces | KOBAYASHI Shuji | |
| #### Before this patch: ```ruby Integer("1_ ") #=> 1 ``` #### After this patch (same as Ruby): ```ruby Integer("1_ ") #=> ArgumentError ``` | |||
| 2019-12-10 | Fix behavior of `String#to_i`/`Kernel#Integer` to numbers starting with `_` | KOBAYASHI Shuji | |
| #### Before this patch: ```ruby Integer("_1") #=> 1 "_1".to_i #=> 1 ``` #### After this patch (same as Ruby): ```ruby Integer("_1") #=> ArgumentError "_1".to_i #=> 0 ``` | |||
| 2019-12-09 | Fix that `String#to_f` accepts consecutive `_` as a numeric expression | KOBAYASHI Shuji | |
| Consecutive `_` is not allowed as a numeric expression: 1_2__3 #=> SyntaxError Float("1_2__3") #=> ArgumentError Integer("1_2__3") #=> ArgumentError "1_2__3".to_i #=> 12 But `String#to_f` accept it, so I fixed the issue. Before this patch: "1_2__3".to_f #=> 123 After this patch: "1_2__3".to_f #=> 12 | |||
| 2019-10-10 | Integrate `mrb_str_inspect` and `mrb_str_dump` | KOBAYASHI Shuji | |
| 2019-09-27 | Simplify arguments check in `String#rindex` | KOBAYASHI Shuji | |
| Also fix document about type of the first argument. | |||
| 2019-09-19 | Simplify arguments check in `String#index` | KOBAYASHI Shuji | |
| Also fix document about type of the first argument. | |||
| 2019-09-11 | Move tests related to `getbyte`, `setbyte`, byteslice` to core. | Yukihiro "Matz" Matsumoto | |
| 2019-08-17 | Add `String#rindex` test for invalid UTF-8 string | dearblue | |
| 2019-08-17 | Fix `String#rindex` test for UTF-8 string | dearblue | |
| 2019-07-18 | Fix `String#*` test with `MRB_WITHOUT_FLOAT` | KOBAYASHI Shuji | |
| 2019-07-17 | Fix `String#[]` test | KOBAYASHI Shuji | |
| 2019-07-11 | Add UTF-8 test for `String#index` | dearblue | |
| 2019-06-29 | Add test for `String#[]=` | dearblue | |
| 2019-06-28 | Use `__ENCODING__` in tests | KOBAYASHI Shuji | |
| It cannot be used for `String#size` test if judging whether or not `MRB_UTF8_STRING` is defined by result of `String#size`. | |||
| 2019-06-22 | Add test for one UTF-8 charactor | dearblue | |
| 2019-06-08 | Remove "Check the usage of a NUL character" test | KOBAYASHI Shuji | |
| Because there is not assertion in this test and NUL character literal is used in other tests. | |||
| 2019-05-03 | Simplify conversion process for `i` in `mrb_get_args()` | KOBAYASHI Shuji | |
| 2019-04-21 | Commented out `String#scan` because it is not implemented yet | KOBAYASHI Shuji | |
| 2019-04-19 | Add type check (conversion) in `String#[]=` | KOBAYASHI Shuji | |
| Before this patch: 'a'[0] = 1 #=> 1 'a'[:a] = '1' #=> ArgumentError 'a'[:a, 0] = '1' #=> ArgumentError 'a'[0, :a] = '1' #=> ArgumentError 'a'[0, 1] = 1 #=> 1 After this patch / Ruby: 'a'[0] = 1 #=> TypeError 'a'[:a] = '1' #=> TypeError 'a'[:a, 0] = '1' #=> TypeError 'a'[0, :a] = '1' #=> TypeError 'a'[0, 1] = 1 #=> TypeError | |||
| 2019-03-19 | Use `FrozenError` instead of `RuntimeError` in frozen object modification test | KOBAYASHI Shuji | |
| 2019-02-28 | Remove `?A` style string literals from string tests; #4303 | Yukihiro "Matz" Matsumoto | |
| We have a plan to obsolete this style in the future. | |||
| 2019-02-27 | Add test for string literal concatenation | dearblue | |
| 2019-01-22 | Fix tests for `String#reverse` with `MRB_UTF8_STRING` | KOBAYASHI Shuji | |
| 2019-01-05 | Add `assert_same` and `assert_not_same` | KOBAYASHI Shuji | |
| 2019-01-03 | Remove `Kernel#class_defined?` which is not available in CRuby; #3829 | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Remove implicit conversion using `to_str` method; fix #3854 | Yukihiro "Matz" Matsumoto | |
| We have added internal convenience method `__to_str` which does string type check. The issue #3854 was fixed but fundamental flaw of lack of stack depth check along with fibers still remains. Use `MRB_GC_FIXED_ARENA` for workaround. | |||
| 2018-03-24 | Return nil if type differ in `String#<=>`. | Takeshi Watanabe | |
| 2018-02-12 | `String#inspect` to use hexadecimal, not octal to print unprintable. | Yukihiro "Matz" Matsumoto | |
| 2017-11-22 | Some cosmetic changes | Yukihiro "Matz" Matsumoto | |
| 2017-10-11 | Test for MRB_WITHOUT_FLOAT | YAMAMOTO Masaya | |
| 2017-03-22 | Fix result if pattern is empty | ksss | |
| 2017-03-19 | Callback should yield with pattern every time | ksss | |
| 2017-03-15 | Suuport custom separator | ksss | |
| 2017-03-11 | Merge branch 'master' into string-gsub | Yukihiro "Matz" Matsumoto | |
| 2017-03-10 | \1 sequences as empty strings | ksss | |
| 2017-03-10 | Avoid infinity loop when empty string pattern | ksss | |
| 2017-03-05 | String#index shouldn't return nil when "".index "" | ksss | |
| 2016-12-15 | Fix crash when exponent is -2147483648 | Clayton Smith | |
| 2016-11-24 | Get String length after args in String#chomp! | Clayton Smith | |
| Fixes RCE issue Reported by @bouk | |||
| 2016-11-17 | String#include? does not take integers | Yukihiro "Matz" Matsumoto | |
| 2015-10-01 | clarify asserts to UTF-8 test suites; ref #2971 | Yukihiro "Matz" Matsumoto | |
| 2015-09-30 | fix tests | Yasuhiro Matsumoto | |
| 2015-09-29 | chop with utf-8. fix #2967 | Yasuhiro Matsumoto | |
| 2015-09-24 | UTF-8 string support in core | Yukihiro "Matz" Matsumoto | |
| define MRB_UTF8_STRING (in mrbconf.h) to enable UTF-8 support. | |||
| 2015-09-23 | String#rindex should no longer take integer argument | Yukihiro "Matz" Matsumoto | |
| 2015-09-16 | support String#[]= with 3 args | takahashim | |
| 2015-08-27 | Add String#freeze test | Jun Hiroe | |
| 2015-06-08 | gsub/sub supports back references in substitutes. fixes #2816. | Tomoyuki Sahara | |
| This implementation is compatible with CRuby's String#gsub/sub except \1 ... \9 and \+. They are useless without Regexp library. | |||
| 2014-12-17 | String#[] should reject nil index | h2so5 | |
