- 31 Mar, 2021 11 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Add support for partial backtraces
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
When argument information is not available. So it should not happen for `yield` (error). In contrast, the error from `super` should be handled in run time (ignored).
-
Yukihiro "Matz" Matsumoto authored
mrbc: Dump debug info with -g option
-
fundamental authored
-
- 30 Mar, 2021 2 commits
-
-
fundamental authored
Adds debug source information (line/file) when mrbc uses -g. This commit results in usable backtraces for all gems when build_config is setup with enable_debug.
-
fundamental authored
When debug information is omitted within ireps, show that a stack frame existed rather than silently hiding it.
-
- 29 Mar, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Revert "Fix `SIGSEGV` with mruby-method + mruby-catch"
-
Yukihiro "Matz" Matsumoto authored
-
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 17 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
-