- 06 May, 2020 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
`mrb_run` requires to push callinfo stack before calling, which is very hard from outside of `vm.c`. So there should be virtually no correct usage of the function, hence the cause of #4488. We removed it. You can use `mrb_top_run(mrb, proc, self, 0)` instead of `mrb_run(mrb, proc self)`.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 05 May, 2020 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Enable MRB_METHOD_T_STRUCT by default on 32bit GUN/Linux
-
- 04 May, 2020 1 commit
-
-
Horimoto Yasuhiro authored
Because we can't use the highest 2 bits of function pointers.
-
- 30 Apr, 2020 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Avoid changing directory in `mruby-io` test
-
Yukihiro "Matz" Matsumoto authored
Refine `.travis.yml`
-
KOBAYASHI Shuji authored
* Disable automatic update and clean up on `brew install` (install time 160 sec -> 5 sec). * Avoid using deprecated keys.
-
- 29 Apr, 2020 7 commits
-
-
Yukihiro "Matz" Matsumoto authored
Sorting the list of gems at build time by name
-
Yukihiro "Matz" Matsumoto authored
Avoid comparing pointers and integers
-
Yukihiro "Matz" Matsumoto authored
Makes `mrb_any_to_s()` accept an object whose class is `NULL`
-
KOBAYASHI Shuji authored
-
dearblue authored
-
dearblue authored
When using `mrb_any_to_s()` for debugging purposes, giving an object whose class is `NULL` no longer causes a SIGSEGV and no crash. This is achieved by making `mrb_class_name()` and `mrb_str_cat_cstr()` null safe.
-
dearblue authored
Printing them in sorted order makes it easier to find the desired gem. But it has come to completely ignore the dependency.
-
- 28 Apr, 2020 14 commits
-
-
Yukihiro "Matz" Matsumoto authored
`assert()` can be completely removed when `NDEBUG` is set.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Ref #4982 #4983
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
The behavior is different from CRuby, but we believe this is a right behavior for mruby, which only supports either ASCII or UTF-8 exclusively; fix #4983, ref #4982 ``` $ printf '\xe3\x81' | ruby -e 'p STDIN.readchar' "\xE3\x81" ``` ``` $ printf '\xe3\x81' | mruby -e 'p STDIN.readchar' "\xE3" ```
-
Yukihiro "Matz" Matsumoto authored
This fix only effective when `MRB_UTF8_STRING` is set.
-
Yukihiro "Matz" Matsumoto authored
- mrb_utf8len() - returns the size of a UTF-8 char (in bytes) - mrb_utf8_strlen() - returns the length of a UTF-8 string (in char)
-
Yukihiro "Matz" Matsumoto authored
The bug was introduced by #4712. The `getc' problem resurrected. It should be addressed soon.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Test mruby-io in tmpdir when AF_UNIX cannot be created on cwd
-
- 27 Apr, 2020 9 commits
-
-
Uchio Kondo authored
-
Uchio Kondo authored
-
Uchio Kondo authored
-
Uchio Kondo authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
This reverts commit 682a31f9. Unfortunately, I couldn't run newer `bison` on TravisCI. Maybe next time.
-
Yukihiro "Matz" Matsumoto authored
If it doesn't work, I will revert the last update to `parse.y`.
-
Yukihiro "Matz" Matsumoto authored
Recent `bison` warns for `%pure-parser`. We kept it since MacOS only provide ancient `bison`, but the warning is noisy and there's no hope that Apple will upgrade `bison`. MacOS users must install the newer version of `bison`, by typing `brew install bison` for example. Note that `brew` does not overwrite the `bison` execution path automatically, so you need to update your `.bash_profile` as instructed by `brew`.
-
Yukihiro "Matz" Matsumoto authored
Integrate class `EnsureYieldBreak` under test
-
- 26 Apr, 2020 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Reduce `struct mrb_context`
-