- 16 Oct, 2020 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
mruby 3.0.0-preview.
-
Hiroshi Mimaki authored
-
- 15 Oct, 2020 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Mruby3
-
- 14 Oct, 2020 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Files under `test/t` and `mrbgem/*/test` are for tests, not for actual execution. So symbols in those files need not to be pre-allocated. This change slightly reduce the memory consumption.
-
- 13 Oct, 2020 1 commit
-
-
taiyoslime authored
Co-Authored-By: n4o847 <22975590+n4o847@users.noreply.github.com> Co-Authored-By: smallkirby <ssmallkirby@gmail.com>
-
- 12 Oct, 2020 31 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove unnecessary assignment in String#upto
-
Yukihiro "Matz" Matsumoto authored
This reverts commit 8746a6fe4e7bda8a0fbc0eaece9314ec51a0c255. We already have `mrb_protect()`, `mrb_ensure()` and `mrb_rescue()` functions. If you need to handle exceptions from C functions, use those functions above.
-
Yukihiro "Matz" Matsumoto authored
`mrb_exc_protect()` takes two C functions, `body` to be executed first, and `resc` to be executed when an error happens during `body` execution. Since `mrb_exc_protect()` should be compiled with the proper compiler, we will not see the problem like #5088 that was caused by `setjmp()` and `throw` mixture.
-
Yukihiro "Matz" Matsumoto authored
`MRB_TRY()` does not work when compiled by C compiler with `cxx_exception` configuration. We should explicitly warn.
-
Yukihiro "Matz" Matsumoto authored
`MRB_TRY()` does not work when compiled by C compiler with `cxx_exception`, due to the mixture of `setjmp()` used by `mirb.c` and `throw` used by the core. The original intension of e2e6554b is to protect code from signal interruption, but the signal interruption is not well-defined in mruby anyway.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Also fixed the size calculation of `irep` dump, that could cause memory corruption.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
To allow C++ compilation. Fix suggested by @dearblue.
-
Yukihiro "Matz" Matsumoto authored
Redirect `mrb_str_to_str` to `mrb_obj_as_string` via C macro. Inspired by #5082
-
Yukihiro "Matz" Matsumoto authored
Those types are `uint16_t` in definition. Also we no longer need padding for `iseq`.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
The fix was proposed by @dearblue
-
Yukihiro "Matz" Matsumoto authored
The fix was proposed by @dearblue
-
Yukihiro "Matz" Matsumoto authored
The fix was proposed by @dearblue
-
Yukihiro "Matz" Matsumoto authored
Need to support `int / int -> int` update.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Target `host-debug` to use `host` internal target with debugging configuration.
-
Yukihiro "Matz" Matsumoto authored
The PR was from @cubicdaiya.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Kondo Uchio authored
-
Uchio Kondo authored
-
Kondo Uchio authored
-
Uchio Kondo authored
e.g. symbols like "foo[]=" make invalid C codes
-
Yukihiro "Matz" Matsumoto authored
The original PR was skipping Ruby comments as well, but caused some issues in test suites.
-
Yukihiro "Matz" Matsumoto authored
- `mrb_check_intern()` to return `mrb_value` - `mrb_intern_check()` to return `mrb_sym` [NEW] Other new functions: - `mrb_intern_check_cstr()` - `mrb_intern_check_str()`
-