- 08 May, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Use `mrb_string_value_cstr` in `mrb_str_to_dbl`
-
KOBAYASHI Shuji authored
-
- 07 May, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Refactor `mrb_str_to_cstr` and `mrb_string_value_cstr`
-
KOBAYASHI Shuji authored
- Extract null byte check to function. - Avoid string allocation if null byte is included. - Use `str_new` instead of `mrb_str_dup` + `mrb_str_modify`
-
- 06 May, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Avoid using `mrb_str_to_cstr` if possible
-
KOBAYASHI Shuji authored
Because it always allocate new string. Replace with the followings: - Use `RSRING_PTR` if string is guaranteed to be null-terminated. - Use `mrb_string_value_cstr` or `mrb_get_args("z")` if return value isn't modified.
-
- 05 May, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Use `mrb_fixnum_to_str()` instead of `Fixnum#to_s`
-
KOBAYASHI Shuji authored
-
- 04 May, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
ossfuzz: Add simple mruby compile test harness
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4422 from shuujii/check-whether-object-is-immediate-in-mrb_gc_register-unregister Check whether object is immediate in `mrb_gc_(register|unregister)`
-
KOBAYASHI Shuji authored
-
- 03 May, 2019 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
Simplify conversion process for `i` in `mrb_get_args()`
-
Yukihiro "Matz" Matsumoto authored
Fix `FLAG_SRC_STATIC` always set in `mrb_read_irep()` with `MRB_USE_CUSTOM_RO_DATA_P`
-
Yukihiro "Matz" Matsumoto authored
Clean duplicate code
-
KOBAYASHI Shuji authored
-
dearblue authored
-
dearblue authored
Removed duplicates in the code entered for "Concatenate string literal".
-
- 02 May, 2019 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4417 from shuujii/unify-overflow-error-class-for-conversion-to-integer-to-RangeError Unify overflow error class for conversion to integer to `RangeError`
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Small fix in `mruby-bin-mruby`
-
Yukihiro "Matz" Matsumoto authored
Remove unneeded `argc` check in `mrb_str_aref_m()`
-
KOBAYASHI Shuji authored
-
- 01 May, 2019 2 commits
-
-
KOBAYASHI Shuji authored
- Modify some error messages for consistency. - Add test for codegen error. - Use regular expression for error message matching in test.
-
KOBAYASHI Shuji authored
-
- 30 Apr, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Refine error message output for `mruby` command
-
KOBAYASHI Shuji authored
- Write message to stderr instead of stdout. - Avoid duplicate message output (`SyntaxError`, `ScriptError` etc). - Refine invalid option message. - Suppress redundant usage output. - Fix some incorrect exit code.
-
- 29 Apr, 2019 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix missing assertions in `mruby-io` test
-
Yukihiro "Matz" Matsumoto authored
Refine the default values of `flunk`
-
KOBAYASHI Shuji authored
The default message for the second argument should be set to the first argument because only one argument is normally specified.
-
KOBAYASHI Shuji authored
-
- 28 Apr, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Commented out "Struct.new removes existing constant" test
-
KOBAYASHI Shuji authored
Because this test is always skipped.
-
- 27 Apr, 2019 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
Update document for `MRB_USE_CUSTOM_RO_DATA_P` and some configurations
-
dearblue authored
-
dearblue authored
- (Modify) `MRB_INT16` - (Add) `MRB_INT32` - (Modify) `MRB_INT64` - (Add) `MRB_USE_ETEXT_EDATA` - (Add) `MRB_NO_INIT_ARRAY_START - (Add) `MRB_WITHOUT_FLOAT` - (Add) `MRB_METHOD_CACHE` - (Add) `MRB_METHOD_CACHE_SIZE` - (Add) `MRB_METHOD_TABLE_INLINE - (Add) `MRB_ENABLE_ALL_SYMBOLS`
-
Yukihiro "Matz" Matsumoto authored
Remove duplicated `String#each_char`
-
KOBAYASHI Shuji authored
-
- 26 Apr, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Add customized `mrb_ro_data_p()`
-
dearblue authored
User definable `mrb_ro_data_p()` functions are available by defining `MRB_USE_CUSTOM_RO_DATA_P`. (Limitation) It can not be defined as an inline function.
-