- 19 May, 2019 8 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove "LINE" section reader
-
Yukihiro "Matz" Matsumoto authored
Fix `Rational#<=>(Numeric)`
-
Yukihiro "Matz" Matsumoto authored
Move `Kernel#instance_eval` to `BasicObject`
-
Yukihiro "Matz" Matsumoto authored
Move `Kernel#equal? to `BasicObject`
-
Yukihiro "Matz" Matsumoto authored
Move `Kernel#instance_exec` to `BasicObject`
-
Yukihiro "Matz" Matsumoto authored
The former should contain function like methods, and the latter should contain methods shared by all objects.
-
KOBAYASHI Shuji authored
Reported by Sergey Ukrainskiy: https://github.com/mruby/mruby/commit/f5fb1307b017fb972c12b4ec4b1866d789b0ca09#r33590698
-
dearblue authored
Because it is not currently output by `mrbc`.
-
- 18 May, 2019 10 commits
-
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Move `Object#(Rational|Complex)` to `Kernel`
-
Yukihiro "Matz" Matsumoto authored
Move `Numeric#__coerce_step_counter` to `Integral`
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
This method is only used in `Integral#step`
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 17 May, 2019 22 commits
-
-
Yukihiro "Matz" Matsumoto authored
I assume there's no realistic usage of `Rational` with `MRB_WITHOUT_FLOAT`. But just for consistency.
-
Yukihiro "Matz" Matsumoto authored
(Proof of Concept) mruby tuning profiles [ci skip]
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
This reverts commit d5c88683.
-
dearblue authored
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.
-
Yukihiro "Matz" Matsumoto authored
Add/Edit ossfuzz config options
-
Yukihiro "Matz" Matsumoto authored
Move `Integral#(zero|nonzero|positive|negative)?` to `Numeric`
-
Yukihiro "Matz" Matsumoto authored
proto fuzzer: Add source files necessary to compile proto fuzzer
-
Bhargava Shastry authored
-
Yukihiro "Matz" Matsumoto authored
Drop dependency from `mruby-rational` to `mruby-numeric-ext`
-
Yukihiro "Matz" Matsumoto authored
Fix `Numeric#to_r`
-
Bhargava Shastry authored
-
Yukihiro "Matz" Matsumoto authored
Add support for CC="gcc --option ..." again
-
KOBAYASHI Shuji authored
Because these methods work if object is `Comparable`, and `Numeric` is `Comparable`.
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
-
Kouhei Sutou authored
If $rake_root_fiber is used, sh runs command in another Fiber. If command is ran in another Fiber, "rescue RuntimEerror" can't rescue exception for system(...) failure. How to reproduce: $ CC="gcc -std=gnu99" ./minirake (in /home/kou/work/ruby/mruby.kou) CC mrbgems/mruby-compiler/core/codegen.c -> build/test/mrbgems/mruby-compiler/core/codegen.o sh: 1: gcc -std=gnu99: not found rake aborted! Command Failed: ["gcc -std=gnu99" -g -std=gnu99 ...]
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
`float op rational` should return `float`, since float is an inexact value.
-
Yukihiro "Matz" Matsumoto authored
* mrb_fixnum_plus() * mrb_fixnum_minus() * mrb_fixnum_mul()
-
Yukihiro "Matz" Matsumoto authored
-