- 22 Nov, 2020 1 commit
-
-
KOBAYASHI Shuji authored
Because `_pp` is originally defined in `lib/mruby/core_ext.rb`, other global functions are moved to the file.
-
- 21 Nov, 2020 28 commits
-
-
Yukihiro "Matz" Matsumoto authored
Improved `Object#define_singleton_method`
-
Yukihiro "Matz" Matsumoto authored
Rename `MRB_{ENABLE,DISABLE}_` to `MRB_{USE,NO}_`; close #5163
-
dearblue authored
Integrate the implementation with `Module#define_method`. - Introduce the internal function `mrb_mod_define_method_m()` (no static) - The `Object#define_singleton_method` method can now accept a second argument
-
KOBAYASHI Shuji authored
| Previous Name | New Name | |------------------------------|-------------------------| | MRB_ENABLE_ALL_SYMBOLS | MRB_USE_ALL_SYMBOLS | | MRB_ENABLE_SYMBOLL_ALL | MRB_USE_ALL_SYMBOLS | | MRB_ENABLE_CXX_ABI | MRB_USE_CXX_ABI | | MRB_ENABLE_CXX_EXCEPTION | MRB_USE_CXX_EXCEPTION | | MRB_ENABLE_DEBUG_HOOK | MRB_USE_DEBUG_HOOK | | MRB_DISABLE_DIRECT_THREADING | MRB_NO_DIRECT_THREADING | | MRB_DISABLE_STDIO | MRB_NO_STDIO | | ENABLE_LINENOISE | MRB_USE_LINENOISE | | ENABLE_READLINE | MRB_USE_READLINE | | DISABLE_MIRB_UNDERSCORE | MRB_NO_MIRB_UNDERSCORE | | DISABLE_GEMS | MRB_NO_GEMS | * `MRB_ENABLE_SYMBOLL_ALL` seems to be a typo, so it is fixed. * `MRB_` prefix is added to those without. * The previous names can also be used for compatibility.
-
Yukihiro "Matz" Matsumoto authored
Allow to mixed and specify `*.rb` and `*.mrb` in `bin/mruby`
-
dearblue authored
It is not decides by the extension. In order to be recognized as a `.mrb` file, the following three points must be satisfied: - File starts with "RITE" - At least `sizeof(struct rite_binary_header)` bytes can be read - `NUL` is included in the first 64 bytes of the file If these are not met, it is judged as a text file and it is processed as a Ruby script. The `bin/mruby -b` switch is still available which treats the given file as a `.mrb` file. New `MRB_API` function: - `include/mruby/compile.h` and `mrbgems/mruby-compiler/core/parse.y` - `mrb_load_detect_file_cxt()` (remove with `MRB_DISABLE_STDIO`) NOTE: - Even script files now always open in binary mode for `bin/mruby`. The `\r\n` is handled by the `nextc()` function already, so there is no problem even on Windows. - The `nextc0()` function in `mrbgems/mruby-compiler/core/parse.y` can now specify a string buffer and a file pointer at the same time. In this case, get it from the string buffer first. This patch includes modifies by comment of https://github.com/mruby/mruby/pull/5157.
-
Yukihiro "Matz" Matsumoto authored
Fix incorrect build name and simplify `build_config/boxing.rb` [ci skip]
-
KOBAYASHI Shuji authored
`boxing-nan-m64` was duplicated.
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #5164 from shuujii/automatically-enable-MRB_ENABLE_DEBUG_HOOK-if-mruby-bin-debugger-is-used Automatically enable `MRB_ENABLE_DEBUG_HOOK` if `mruby-bin-debugger` is used
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
* Allow mixed declarations, especially loop variables * Allow C++ style commends `//`
-
Yukihiro "Matz" Matsumoto authored
Fix documents for `mrb_ary_splice()` [ci skip]
-
Yukihiro "Matz" Matsumoto authored
Move some `.rake` files to `tasks` directory for consistency
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Unable for the `MRB_TT_CPTR` object to have a singleton class
-
Yukihiro "Matz" Matsumoto authored
Fix typo "overfow" to "overflow" [ci skip]
-
dearblue authored
-
dearblue authored
This object is treated as an immediate value.
-
KOBAYASHI Shuji authored
-
dearblue authored
-
Yukihiro "Matz" Matsumoto authored
Boxing: * `MRB_NO_BOXING` (`mrb_value` packed in `struct`) * `MRB_WORD_BOXING` (`mrb_value` packed in `struct`) default * `MRB_NAN_BOXING` (`mrb_value` packed in `double`) `mrb_int` size * `MRB_INT32` (`int32_t` as `mrb_int`) * `MRB_INT64` (`int64` as `mrb_int`) conflict with `MRB_NAN_BOXING' Architecture * `MRB_64BIT` (`sizeof(void*)` is 64 bits) * `MRB_32BIT` (`sizeof(void*)` is 32 bits)
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Improve determining C++ compiler in `tasks/toolchains/gcc.rake`
-
KOBAYASHI Shuji authored
* Consider CC envvar as C compiler on which to make the decision. * Consider the case where C compiler is `ccache gcc`, etc.
-
- 20 Nov, 2020 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
Refactor `mrblib/mrblib.rake`
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Refactor `src/mruby_core.rake`
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #5152 from shuujii/move-lib-mruby-core-ext.rb-to-lib-mruby-core_ext.rb-for-consistency Move `lib/mruby-core-ext.rb` to `lib/mruby/core_ext.rb` for consistency
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
-
- 19 Nov, 2020 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Allow `bintest` even if build name is not `host`
-
KOBAYASHI Shuji authored
-
- 18 Nov, 2020 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix integer overflow error in mrdb test
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Revert "Check if irep->reps is NULL in lv_defined_p"
-