| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 #4470 from dearblue/remove-mrb_alloca | Yukihiro "Matz" Matsumoto | |
| Remove `mrb_alloca()` function | |||
| 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 | Merge pull request #4471 from shuujii/add-Complex.rect | Yukihiro "Matz" Matsumoto | |
| Add `Complex.rect` | |||
| 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-26 | Merge pull request #4469 from dearblue/double-rounds | Yukihiro "Matz" Matsumoto | |
| Fix double rounded by negative index for `String#[]` | |||
| 2019-05-25 | Remove `mrb_alloca()` function | dearblue | |
| When I found this function, I expected it to behave the same as the `alloca(3)` function, but it is accually the `mrb_alloca()` function does not free the heap until the `mrb_close()` function is called. Also, even if it is deleted, it can be replaced with the combination of the `MRB_TT_DATA` object and the `mrb_gv_set()` function if it is sure necessary. | |||
| 2019-05-25 | Fix double rounded by negative index | dearblue | |
| - Before patched: ``` $ mruby -e 'p (-12..-1).map { |i| "Hello"[i] }.join' "HelloHello" ``` - After patched: ``` $ mruby -e 'p (-12..-1).map { |i| "Hello"[i] }.join' "Hello" ``` | |||
| 2019-05-25 | Merge pull request #4467 from dearblue/naming-mrb_range_beg_len | Yukihiro "Matz" Matsumoto | |
| Name the return value of `mrb_range_beg_len()` | |||
| 2019-05-25 | Name the return value of `mrb_range_beg_len()` | dearblue | |
| 2019-05-25 | Merge pull request #4466 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-the-order-of-expected-and-actual-in-mruby-time-test Fix the order of "expected" and "actual" in `mruby-time` test | |||
| 2019-05-24 | Fix the order of "expected" and "actual" in `mruby-time` test | KOBAYASHI Shuji | |
| 2019-05-23 | Merge pull request #4463 from shuujii/freeze-Rational-and-Complex-objects | Yukihiro "Matz" Matsumoto | |
| Freeze `Rational` and `Complex` objects | |||
| 2019-05-23 | Freeze `Rational` and `Complex` objects | KOBAYASHI Shuji | |
| 2019-05-22 | Merge pull request #4462 from shuujii/kernel-Rational-requires-numerator | Yukihiro "Matz" Matsumoto | |
| `Kernel#Rational` requires numerator | |||
| 2019-05-22 | `Kernel#Rational` requires numerator | KOBAYASHI Shuji | |
| 2019-05-22 | Merge pull request #4403 from dearblue/read-irep-from-buf | Yukihiro "Matz" Matsumoto | |
| Read irep from buffers | |||
| 2019-05-21 | Update ISO section number for some Numeric methods. | Yukihiro "Matz" Matsumoto | |
| 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 | Export `mrb_int_value` that converts `mrb_float` to `Fixnum`. | Yukihiro "Matz" Matsumoto | |
| Or `Float` if `mrb_float` value is too big (or too small) to fit in `mrb_int`. The `_int_` in `mrb_int_value` means `Integral` module, which represents integer-like values in mruby. | |||
| 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 | Silence the return value warnings from gcc; ref 237a57b | Yukihiro "Matz" Matsumoto | |
| 2019-05-21 | Merge pull request #4461 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/move-comparision-methods-to-Integral-from-Numeric Move `**`,`/`,`quo`,`div` and comparison methods to Integral from Numeric | |||
| 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 | Merge pull request #4459 from shuujii/revert-part-of-4457 | Yukihiro "Matz" Matsumoto | |
| Revert part of #4457 | |||
| 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-21 | Merge pull request #4458 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/drop-dependency-from-mruby-rational-to-mruby-object-ext Drop dependency from `mruby-rational` to `mruby-object-ext` | |||
| 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-20 | Add new functions for numerical operation; ref 237a57b | Yukihiro "Matz" Matsumoto | |
| New functions: * mrb_num_plus(mrb, x, y) * mrb_num_minus(mrb, x, y) * num_num_mul(mrb, x, y) | |||
| 2019-05-19 | Merge pull request #4455 from dearblue/remove-LINE-section | Yukihiro "Matz" Matsumoto | |
| Remove "LINE" section reader | |||
| 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 #4452 from shuujii/move-Kernel-equal-to-BasicObject | Yukihiro "Matz" Matsumoto | |
| Move `Kernel#equal? 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-19 | Remove "LINE" section reader | dearblue | |
| Because it is not currently output by `mrbc`. | |||
| 2019-05-18 | Move `Kernel#instance_eval` to `BasicObject` | KOBAYASHI Shuji | |
| 2019-05-18 | Move `Kernel#equal? to `BasicObject` | KOBAYASHI Shuji | |
| 2019-05-18 | Move `Kernel#instance_exec` to `BasicObject` | KOBAYASHI Shuji | |
| 2019-05-18 | Merge pull request #4448 from shuujii/move-Object-Rational-Complex-to-Kernel | Yukihiro "Matz" Matsumoto | |
| Move `Object#(Rational|Complex)` to `Kernel` | |||
| 2019-05-18 | Merge pull request #4447 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/move-Numeric-__coerce_step_counter-to-Integral Move `Numeric#__coerce_step_counter` to `Integral` | |||
| 2019-05-18 | Move `Object#(Rational|Complex)` to `Kernel` | KOBAYASHI Shuji | |
