| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | |
| 2019-05-18 | Move `Numeric#__coerce_step_counter` to `Integral` | KOBAYASHI Shuji | |
| This method is only used in `Integral#step` | |||
| 2019-05-18 | Add ISO section number to `Module#===`. | Yukihiro "Matz" Matsumoto | |
| 2019-05-18 | Implement `Rational._new` in C. | Yukihiro "Matz" Matsumoto | |
| 2019-05-18 | Rename `struct RIstruct` to `struct RIStruct`. | 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 #4446 from dearblue/PoC-tuning-profiles | Yukihiro "Matz" Matsumoto | |
| (Proof of Concept) mruby tuning profiles [ci skip] | |||
| 2019-05-17 | Stop wrapping the filename by double quotes; ref #4440 | Yukihiro "Matz" Matsumoto | |
| 2019-05-17 | Revert "Add support for CC="gcc --option ..." again" | Yukihiro "Matz" Matsumoto | |
| This reverts commit d5c8868346b49e2b2228cb8733398d88f744985b. | |||
| 2019-05-17 | (Proof of Concept) mruby tuning profiles [ci skip] | dearblue | |
| Not only mruby, it is one of the difficult things to adjust the performance vs. memory efficiency of the software. If the approximate target device is divided and the adjustment value for it is prepared by default, it is a good indicator to do fine adjustment. This PR divides into four profiles. ***Caution: There is no basis for the definitions in the patch.*** - `MRB_CONSTRAINED_BASELINE_PROFILE` - for microprocessors. Reduce memory consumption. - `MRB_BASELINE_PROFILE` - Default value of mruby. - `MRB_MAIN_PROFILE` - For desktop computers. Assume that a huge amount of RAM, 10 MiB or more, is on board. - `MRB_HIGH_PROFILE` - for servers. Assume that mruby VM has a long life. As you can see the profile name has been ~~stolen~~ imitated from H.264. | |||
