| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-06-20 | Add `mrb_get_arg1()` that retrieves single (and only) argument. | Yukihiro "Matz" Matsumoto | |
| `mrb_get_arg1()` raises `ArgumentError` if the method does not receive one argument. And replaces all `mrb_get_args(mrb, "o", &arg)` by the new function. | |||
| 2020-01-06 | Fix `mrb_str_len_to_dbl` to support Hexadecimal like `0x10`. | Yukihiro "Matz" Matsumoto | |
| 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-11-15 | Fix argument specs to `Kernel` | KOBAYASHI Shuji | |
| 2019-09-26 | Use type predicate macros instead of `mrb_type` if possible | KOBAYASHI Shuji | |
| For efficiency with `MRB_WORD_BOXING` (implement type predicate macros for all `enum mrb_vtype`). | |||
| 2019-08-05 | Use new specifiers/modifiers of `mrb_vfromat()` | KOBAYASHI Shuji | |
| The binary sizes (gems are only `mruby-bin-mruby`) are reduced slightly in my environment than before the introduction of new specifiers/modifiers (5116789a) with this change. ------------+-------------------+-------------------+-------- BINARY | BEFORE (5116789a) | AFTER (This PR) | RATIO ------------+-------------------+-------------------+-------- mruby | 593416 bytes | 593208 bytes | -0.04% libmruby.a | 769048 bytes | 767264 bytes | -0.23% ------------+-------------------+-------------------+-------- BTW, I accidentally changed `tasks/toolchains/visualcpp.rake` at #4613, so I put it back. | |||
| 2019-06-06 | Clarify `mruby-(kernel|object)-ext` gem summary; ref 8e637bdd [ci skip] | KOBAYASHI Shuji | |
| 2019-05-25 | Name the return value of `mrb_range_beg_len()` | dearblue | |
| 2019-05-19 | Should clarify the role of `mruby-kernel-ext` and `mruby-object-ext`; close ↵ | Yukihiro "Matz" Matsumoto | |
| #4449 The former should contain function like methods, and the latter should contain methods shared by all objects. | |||
| 2019-05-08 | Use `mrb_string_value_cstr` in `mrb_str_to_dbl` | KOBAYASHI Shuji | |
| 2019-01-03 | Remove `Kernel#class_defined?` which is not available in CRuby; #3829 | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Removed `to_hash` conversion method. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Removed `to_ary` conversion method. | 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-11-19 | Remove implicit conversion using `to_int` method. | Yukihiro "Matz" Matsumoto | |
| The ISO standard does not include implicit type conversion using `to_int`. This implicit conversion often causes vulnerability. There will be no more attacks like #4120. In addition, we have added internal convenience method `__to_int` which does type check and conversion (from floats). | |||
| 2018-05-23 | Add `then` alias to `yield_self`. | Yukihiro "Matz" Matsumoto | |
| `then' was added in CRuby 2.6. | |||
| 2017-11-04 | Merge branch 'master' of github.com:mruby/mruby | YAMAMOTO Masaya | |
| 2017-10-18 | Add `Kernel#itself`; CRuby2.2 | Yukihiro "Matz" Matsumoto | |
| 2017-10-17 | Add `Kernel#yield_self`; CRuby2.5 | Yukihiro "Matz" Matsumoto | |
| 2017-10-16 | Support MRB_WIHTOUT_FLOAT to mruby-kernel-ext | YAMAMOTO Masaya | |
| 2017-05-23 | Remove class info from backtrace lines. | Yukihiro "Matz" Matsumoto | |
| 2017-03-25 | Fix lost lineno | ksss | |
| 2017-02-12 | Fixed aspec for Kernel#caller | Tomasz Dabrowski | |
| 2017-01-23 | Changed the behavior of mrb_range_beg_len(); close #3411 | Yukihiro "Matz" Matsumoto | |
| The new API is: int mrb_range_beg_len(mrb, range, &beg, &len, len, trunc) The new argument `trunc` is a boolean value that specifies whether the function truncates the range. The new return value is an integer instead of a boolean, that is: 0: not a range 1: range with proper edges 2: out of range To get the old behavior, you have to rewrite: mrb_range_beg_len(mrb, range, &beg, &len, len) to: mrn_range_beg_len(mrb, range, &beg, &len, len, TRUE) == 1 [Breaking Change] | |||
| 2017-01-14 | Skip when backtrace doesn't get | ksss | |
| 2017-01-14 | Implement Kernel.#caller | ksss | |
| 2016-09-28 | Removed trailing spaces | Nobuyoshi Nakada | |
| 2016-01-14 | Add tests which passes all zero string to Kernel#Integer | Syohei YOSHIDA | |
| 2015-11-27 | include changed from by quotes ("") to by brackets (<>); close #3032 | Yukihiro "Matz" Matsumoto | |
| 2015-10-21 | Revert "Mark core gems with mrbgem tag" | Seba Gamboa | |
| This reverts commit 5cdcce8dbddd94ecb9503a0a1d47370c4ef97177. | |||
| 2015-10-20 | Remove obvious warnings from docs | Seba Gamboa | |
| 2015-10-20 | Mark core gems with mrbgem tag | Seba Gamboa | |
| 2015-06-28 | Rename extended xxxx class or module to xxxx class or module extension | Jun Hiroe | |
| 2015-06-28 | Fix typo; Replace extensional with extended | Jun Hiroe | |
| 2014-10-29 | use mrb_get_args to parse Integer() option; ref #2625 | Yukihiro "Matz" Matsumoto | |
| 2014-10-29 | Add Kernel.Integer | Jun Hiroe | |
| 2014-10-24 | Add Kernel.Float | Jun Hiroe | |
| 2014-10-21 | Add Kernel.Hash | Jun Hiroe | |
| 2014-10-20 | Add Kernel.String | Jun Hiroe | |
| 2014-10-19 | Refactor mrb_f_array func | Jun Hiroe | |
| 2014-10-19 | refactoring C part of #2611 | Yukihiro "Matz" Matsumoto | |
| 2014-10-19 | Add Kernel.Array | Jun Hiroe | |
| 2014-06-05 | update Kernel#raise/fail argument description | Yukihiro "Matz" Matsumoto | |
| 2014-05-09 | Move `__method__` to mruby-kernel-ext since it's not ISO method. | take_cheeze | |
| 2014-05-08 | Replace from include <>, to include "". | yui-knk | |
| 2014-05-07 | Move Kernel#fail definition to mruby-kernel-ext mrbgem. | take_cheeze | |
