| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-10-12 | Reorganize `Integer` system. | Yukihiro "Matz" Matsumoto | |
| - Integrate `Fixnum` and `Integer` - Remove `Integral` - `int / int -> int` - Replace `mrb_fixnum()` to `mrb_int()` - Replace `mrb_fixnum_value()` to `mrb_int_value()`. - Use `mrb_integer_p()` instead of `mrb_fixnum_p()` | |||
| 2020-10-12 | Generate C struct from `irep` instead of binary dump. | Yukihiro "Matz" Matsumoto | |
| 2019-09-16 | Merge pull request #4255 from shuujii/enumerator-size-is-not-supported | Yukihiro "Matz" Matsumoto | |
| `Enumerator#size` is not supported [ci skip] | |||
| 2019-09-14 | Replace `loop` method with `while true` loop to gain performance. | Yukihiro "Matz" Matsumoto | |
| 2019-09-13 | Update `assert_take` for zero size take. | Yukihiro "Matz" Matsumoto | |
| 2019-09-13 | Add `Enumerator.produce` from Ruby2.7 | Yukihiro "Matz" Matsumoto | |
| 2019-07-28 | Drop dependency from `mruby-enumerator` to `mruby-enum-ext` | KOBAYASHI Shuji | |
| 2019-04-21 | Commented out `String#scan` because it is not implemented yet | KOBAYASHI Shuji | |
| 2019-02-08 | Add `NoMethodError` tests to `mruby-enumerator` | KOBAYASHI Shuji | |
| 2019-02-08 | Update `mruby-enumerator` test to conform the last update. | Yukihiro "Matz" Matsumoto | |
| 2019-02-08 | Update #4265 patch. | Yukihiro "Matz" Matsumoto | |
| * Update doc comment to clarify `Enumerator.new` without a block is deprecated and left only for internal use. * Fixed some cases `mruby` raise `ArgumentError` too eagerly compared with `CRuby`. | |||
| 2019-02-08 | Fix `Enumerator#(initialize|inspect)` for `nil`/`false` | KOBAYASHI Shuji | |
| 2019-01-31 | `Enumerator#size` is not supported [ci skip] | KOBAYASHI Shuji | |
| 2019-01-30 | Remove unneeded `dup` in `Enumerator#initialize` | KOBAYASHI Shuji | |
| 2018-12-30 | mruby-enumerator: Refine accessors (obj/meth/args/fib). | KOBAYASHI Shuji | |
| - `fib=` writer is not used. - All accessors are used as public (e.g. in `initialized_copy`). | |||
| 2018-11-19 | Removed `to_ary` conversion method. | Yukihiro "Matz" Matsumoto | |
| 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-11-19 | Check method existence for Enumerators; fix #3920 | Yukihiro "Matz" Matsumoto | |
| The issue #3920 was fixed but the fundamental flaw of lack of stack depth check along with fibers still remains, even though it's not easy to cause the issue. Use `MRB_GC_FIXED_ARENA` to avoid the issue for workaround. After this patch, `obj.to_enum` raises `ArgumentError` if the object does not respond to the enumerating method. This is incompatible to CRuby but I think this behavior is better and CRuby should be updated to behave like this. | |||
| 2018-03-27 | Reimplement `Enumerable#zip` with Enumerator | ksss | |
| for fix some specs - [passes each element of the result array to a block and return nil if a block is given](https://github.com/ruby/spec/blob/a585ec35d185435e5c11f371ba4ed2a29d8817bd/core/enumerable/zip_spec.rb#L11-L17) - [converts arguments to arrays using #to_ary](https://github.com/ruby/spec/blob/a585ec35d185435e5c11f371ba4ed2a29d8817bd/core/enumerable/zip_spec.rb#L23-L27) - [converts arguments to enums using #to_enum](https://github.com/ruby/spec/blob/a585ec35d185435e5c11f371ba4ed2a29d8817bd/core/enumerable/zip_spec.rb#L29-L34) - [gathers whole arrays as elements when each yields multiple](https://github.com/ruby/spec/blob/a585ec35d185435e5c11f371ba4ed2a29d8817bd/core/enumerable/zip_spec.rb#L36-L39) | |||
| 2017-11-22 | Some cosmetic changes | Yukihiro "Matz" Matsumoto | |
| 2017-10-28 | Change the order of "expected" and "actual" in test | Yukihiro "Matz" Matsumoto | |
| 2017-08-11 | Check method existence in `to_enum'; ref #3773 | Yukihiro "Matz" Matsumoto | |
| 2017-07-30 | Improved speed of enumeration methods | Christopher Aue | |
| 2017-06-21 | Use `alias enum_for to_enum` instead of `alias :enum_for :to_enum`. | Yukihiro "Matz" Matsumoto | |
| 2017-03-30 | Fix Enumerator#each_with_index with block | Kenji Okimoto | |
| In previous version, ``` a = [3, 2, 1] e = a.each e.sort_by(&:to_i) # => [] ``` In this version, ``` a = [3, 2, 1] e = a.each e.sort_by(&:to_i) # => [1, 2, 3] ``` | |||
| 2016-12-01 | Support svalue | ksss | |
| 2016-12-01 | Support nil argument as no argument | ksss | |
| 2016-12-01 | Support Enumerable methods | ksss | |
| 2015-10-22 | Merge pull request #2999 from sagmor/better-docs | Yukihiro "Matz" Matsumoto | |
| More Docs | |||
| 2015-10-21 | Revert "Mark core gems with mrbgem tag" | Seba Gamboa | |
| This reverts commit 5cdcce8dbddd94ecb9503a0a1d47370c4ef97177. | |||
| 2015-10-21 | loop may return StopIteration#result; [ruby-bugs#11498] | Yukihiro "Matz" Matsumoto | |
| 2015-10-20 | Remove obvious warnings from docs | Seba Gamboa | |
| 2015-10-20 | Fix enumerator doc errors | Seba Gamboa | |
| 2015-10-20 | Mark core gems with mrbgem tag | Seba Gamboa | |
| 2014-08-08 | move StopIteration to core; close #2518 | Yukihiro "Matz" Matsumoto | |
| 2014-07-12 | Run mrbgem and core tests on minimum dependencies. | take_cheeze | |
| Solves #2355. In test drivers: * Uses `mrb_t_pass_result` to check and pass test result to main `mrb_state`. * Adds `mrb_init_test_driver` to init test `mrb_state`. | |||
| 2014-05-13 | add dependency information based on #2239; fix #2236, close #2239 | Yukihiro "Matz" Matsumoto | |
| 2014-05-13 | should not use String#<< which is defined in mruby-string-ext; use ↵ | Yukihiro "Matz" Matsumoto | |
| Array#join instead; ref #2239 | |||
| 2014-04-30 | remove trailing spaces | Nobuyoshi Nakada | |
| 2014-04-06 | wrap args by parens | Yukihiro "Matz" Matsumoto | |
| 2014-04-06 | Add args in Enumerator#inspect | Jun Hiroe | |
| 2014-03-30 | revert #1974; ref #1979 | Yukihiro "Matz" Matsumoto | |
| 2014-03-29 | Enumerator#initialize support duck-type | ksss | |
| 2014-03-29 | Fix a typo | Jun Hiroe | |
| 2014-03-27 | Enumerable#zip to use enumerator if mruby-enumerator gem is available | Yukihiro "Matz" Matsumoto | |
| 2014-03-27 | use __svalue instead of ary2sv | Yukihiro "Matz" Matsumoto | |
| 2014-03-23 | Hash#{reject,reject!} fix yield value | ksss | |
| 2014-03-23 | Hash#{select,select!} fix yield value | ksss | |
| 2014-03-23 | Hash#each_{key,value} support return Enumerator | ksss | |
| if non block given | |||
| 2014-03-19 | Merge pull request #1882 from ksss/enum-find_all | Yukihiro "Matz" Matsumoto | |
| Enumerable#find_all return Enumerator if non block given | |||
