| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-05-29 | `Kernel#itself` should not be a module function | KOBAYASHI Shuji | |
| 2019-05-29 | Slightly simplify `Rational#==`; ref #4475 | Yukihiro "Matz" Matsumoto | |
| 2019-05-29 | Merge pull request #4475 from shuujii/fix-Rational-eq-Complex | Yukihiro "Matz" Matsumoto | |
| Fix `Rational#==(Complex)` | |||
| 2019-05-28 | Fix missing assertions in `mruby-pack` test | KOBAYASHI Shuji | |
| 2019-05-27 | Fix `Rational#==(Complex)` | KOBAYASHI Shuji | |
| Consider a Numreic class like `Complex` that does not have `<=>` but `==` works (`0i == 0r` is `true`). | |||
| 2019-05-27 | Make some functions static in `mrbgems/mruby-metaprog/src/metaprog.c` | KOBAYASHI Shuji | |
| 2019-05-27 | Merge pull request #4472 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/move-mrb_mod_s_nesting-to-mruby-metaprog-gem-from-the-core Move `mrb_mod_s_nesting()` to `mruby-metaprog` gem from the core | |||
| 2019-05-26 | Move `mrb_mod_s_nesting()` to `mruby-metaprog` gem from the core | KOBAYASHI Shuji | |
| 2019-05-26 | Add `Complex.rect` | KOBAYASHI Shuji | |
| 2019-05-26 | Remove some overhead from methods defined in Ruby in Complex. | Yukihiro "Matz" Matsumoto | |
| 2019-05-25 | Name the return value of `mrb_range_beg_len()` | dearblue | |
| 2019-05-24 | Fix the order of "expected" and "actual" in `mruby-time` test | KOBAYASHI Shuji | |
| 2019-05-23 | Freeze `Rational` and `Complex` objects | KOBAYASHI Shuji | |
| 2019-05-22 | `Kernel#Rational` requires numerator | KOBAYASHI Shuji | |
| 2019-05-21 | Use `MRB_TT_ISTRUCT` for `Complex` numbers if possible. | Yukihiro "Matz" Matsumoto | |
| 2019-05-21 | Implements part of `Complex` class in C. | Yukihiro "Matz" Matsumoto | |
| 2019-05-21 | Remove `Complex(string)` complex generation. | Yukihiro "Matz" Matsumoto | |
| It should raise an error. | |||
| 2019-05-21 | Should not refer `Float` class in case of `MRB_WITHOUT_FLOAT`. | Yukihiro "Matz" Matsumoto | |
| This commit removes `Float` from `rational.c`. | |||
| 2019-05-21 | Move `**`,`/`,`quo`,`div` and comparison methods to Integral from Numeric | KOBAYASHI Shuji | |
| Having these methods in Numeric can get in the way of creating subclasses of Numeric because they only support Fixnum and Float. | |||
| 2019-05-21 | Revert part of #4457 | KOBAYASHI Shuji | |
| 2019-05-21 | Merge pull request #4457 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/change-the-order-of-expected-and-actual-in-mruby-rational-test Change the order of "expected" and "actual" in `mruby-rational` test | |||
| 2019-05-20 | Drop dependency from `mruby-rational` to `mruby-object-ext` | KOBAYASHI Shuji | |
| 2019-05-20 | Change the order of "expected" and "actual" in `mruby-rational` test | KOBAYASHI Shuji | |
| 2019-05-19 | Merge pull request #4454 from shuujii/fix-Rational-cmp-Numeric | Yukihiro "Matz" Matsumoto | |
| Fix `Rational#<=>(Numeric)` | |||
| 2019-05-19 | Merge pull request #4453 from shuujii/move-Kernel-instance_eval-to-BasicObject | Yukihiro "Matz" Matsumoto | |
| Move `Kernel#instance_eval` to `BasicObject` | |||
| 2019-05-19 | Merge pull request #4450 from shuujii/move-Kernel-instance_exec-to-BasicObject | Yukihiro "Matz" Matsumoto | |
| Move `Kernel#instance_exec` to `BasicObject` | |||
| 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-19 | Fix `Rational#<=>(Numeric)` | KOBAYASHI Shuji | |
| Reported by Sergey Ukrainskiy: https://github.com/mruby/mruby/commit/f5fb1307b017fb972c12b4ec4b1866d789b0ca09#r33590698 | |||
| 2019-05-18 | Move `Kernel#instance_eval` to `BasicObject` | KOBAYASHI Shuji | |
| 2019-05-18 | Move `Kernel#instance_exec` to `BasicObject` | KOBAYASHI Shuji | |
| 2019-05-18 | Move `Object#(Rational|Complex)` to `Kernel` | KOBAYASHI Shuji | |
| 2019-05-18 | Implement `Rational._new` in C. | Yukihiro "Matz" Matsumoto | |
| 2019-05-18 | Support `MRB_WITHOUT_FLOAT`. | Yukihiro "Matz" Matsumoto | |
| I assume there's no realistic usage of `Rational` with `MRB_WITHOUT_FLOAT`. But just for consistency. | |||
| 2019-05-17 | Merge pull request #4443 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/move-Integral-zero-nonzero-positive-negative-to-Numeric Move `Integral#(zero|nonzero|positive|negative)?` to `Numeric` | |||
| 2019-05-17 | Merge pull request #4442 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/drop-dependency-from-mruby-rational-to-mruby-numeric-ext Drop dependency from `mruby-rational` to `mruby-numeric-ext` | |||
| 2019-05-17 | Move `Integral#(zero|nonzero|positive|negative)?` to `Numeric` | KOBAYASHI Shuji | |
| Because these methods work if object is `Comparable`, and `Numeric` is `Comparable`. | |||
| 2019-05-17 | Drop dependency from `mruby-rational` to `mruby-numeric-ext` | KOBAYASHI Shuji | |
| 2019-05-17 | Fix `Numeric#to_r` | KOBAYASHI Shuji | |
| 2019-05-17 | Implement part of `Rational` in C. | Yukihiro "Matz" Matsumoto | |
| 2019-05-17 | Avoid direct access to instance variables in `rational.rb`. | Yukihiro "Matz" Matsumoto | |
| 2019-05-17 | Fixed wrong overloading. | Yukihiro "Matz" Matsumoto | |
| `float op rational` should return `float`, since float is an inexact value. | |||
| 2019-05-17 | Use `div` (integer divition) instead of `/` for rational numbers. | Yukihiro "Matz" Matsumoto | |
| 2019-05-17 | Move `Numeric#div` to the core. | Yukihiro "Matz" Matsumoto | |
| 2019-05-16 | Refactor `time.c` regarding memory allocation. | Yukihiro "Matz" Matsumoto | |
| 2019-05-16 | Fix `Rational#==` | KOBAYASHI Shuji | |
| 2019-05-16 | Enable `YYSTACK_USE_ALLOCA`. | Yukihiro "Matz" Matsumoto | |
| It used heap allocated memory for the parser stack, but there's possibility of parser termination by exceptions. In that case, the parser stack memory is leaked. We were afraid of stack consumption, but parser stack size is only 4KB, so we don't have to worry about it (at least for the parser). | |||
| 2019-05-16 | Avoid potential type mismatch warnings in `pack.c`. | Yukihiro "Matz" Matsumoto | |
| 2019-05-16 | Avoid potential integer overflow. | Yukihiro "Matz" Matsumoto | |
| 2019-05-15 | Merge pull request #4435 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-typo-in-mrbgems-mruby-io-src-file_test.c Fix typo in `mrbgems/mruby-io/src/file_test.c` [ci skip] | |||
| 2019-05-15 | Fix | Ukrainskiy Sergey | |
