- 29 Mar, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Fix `SIGSEGV` with mruby-method + mruby-catch
-
- 27 Mar, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
- `mrb_num_div_int(mrb,x,y)` -> `mrb_div_int(mrb,x,y)` - `mrb_num_div_flo(mrb,x,y)` -> `mrb_div_flo(x,y)` They are internal function not supposed to be used outside of the core.
-
dearblue authored
Previously, the following code would cause a `SIGSEGV`. ```ruby mm = method(:throw) define_method(:throw, ->(*args) { mm.call(*args) }) catch { |tag| throw tag } ``` I think the reason is in the `mrb_yield_with_class()` function: - Even if a C function is called, `CI_ACC_SKIP` is used - `cipop()` is not done if globally jumping from a C function
-
Yukihiro "Matz" Matsumoto authored
-
- 26 Mar, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Tests for (`Float` or `Integer`) `op` `Complex`. Also added test dependency to `mruby-rational` since `int_div` definition relies on `Rational` when `MRB_USE_RATIONAL` is defined.
-
- 25 Mar, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Tests for (`Float` or `Integer`) `op` `Rational`.
-
Yukihiro "Matz" Matsumoto authored
-
- 24 Mar, 2021 19 commits
-
-
Yukihiro "Matz" Matsumoto authored
It removes non-static function, so that strictly saying, it's an incompatible change. But the function was added recently and I am sure no one uses it yet.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
This function takes `struct mrb_rational*` and returns converted `mrb_float` value.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
This change relies that `mrb_num_div_flo` does not use `mrb` inside.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
This function handles zero division properly. Also fixed bugs that multiply numbers instead of division.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Use `NaN*i` as CRuby does.
-
- 23 Mar, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 22 Mar, 2021 10 commits
-
-
Yukihiro "Matz" Matsumoto authored
Use global defines for `mruby-bin-debugger`
-
Yukihiro "Matz" Matsumoto authored
Reorganize types for `ObjectSpace.count_objects`
-
Yukihiro "Matz" Matsumoto authored
-
KOBAYASHI Shuji authored
#### Addition - T_COMPLEX - T_RATIONAL #### Deletion - T_FALSE - T_FREE - T_TRUE - T_SYMBOL - T_UNDEF
-
Yukihiro "Matz" Matsumoto authored
Add example for cross-compiling to Nintendo Switch
-
Yukihiro "Matz" Matsumoto authored
Add configuration for MinGW cross compilation [ci skip]
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
along with repeated calls of `strlen()`.
-
- 21 Mar, 2021 3 commits
-
-
Lanza authored
Cross Compiling configuration for the Nintendo Switch, it requires Nintendo SDK
-
KOBAYASHI Shuji authored
With this cross compiler configuration, all tests for full-core gembox on Windows on GitHub Actions were successful.
-
Yukihiro "Matz" Matsumoto authored
-