| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-11-21 | Allow to mixed and specify `*.rb` and `*.mrb` in `bin/mruby` | dearblue | |
| 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. | |||
| 2020-11-21 | Merge pull request #5165 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-incorrect-build-name-and-simplify-build_config-boxing.rb Fix incorrect build name and simplify `build_config/boxing.rb` [ci skip] | |||
| 2020-11-21 | Fix incorrect build name and simplify `build_config/boxing.rb` [ci skip] | KOBAYASHI Shuji | |
| `boxing-nan-m64` was duplicated. | |||
| 2020-11-21 | Merge pull request #5164 from ↵ | Yukihiro "Matz" Matsumoto | |
| 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 | |||
| 2020-11-21 | Automatically enable `MRB_ENABLE_DEBUG_HOOK` if `mruby-bin-debugger` is used | KOBAYASHI Shuji | |
| 2020-11-21 | Remove `-Wdeclaration-after-statement` from gcc options; #5159 | Yukihiro "Matz" Matsumoto | |
| 2020-11-21 | Remove 2 restrictions from `CONTRIBUTING.md`; close #5159 | Yukihiro "Matz" Matsumoto | |
| * Allow mixed declarations, especially loop variables * Allow C++ style commends `//` | |||
| 2020-11-21 | Merge pull request #5161 from dearblue/ary-splice | Yukihiro "Matz" Matsumoto | |
| Fix documents for `mrb_ary_splice()` [ci skip] | |||
| 2020-11-21 | Merge pull request #5162 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/move-some-.rake-files-to-tasks-directory-for-consistency Move some `.rake` files to `tasks` directory for consistency | |||
| 2020-11-21 | Reserve `OP_SENDVK` for the future keyword arguments like Ruby3.0. | Yukihiro "Matz" Matsumoto | |
| 2020-11-21 | Fix infinite loop bug from `super` when method is prepended. | Yukihiro "Matz" Matsumoto | |
| 2020-11-21 | Fix module order of `#include`; ruby-bug:7844 | Yukihiro "Matz" Matsumoto | |
| 2020-11-21 | Merge pull request #5160 from dearblue/cptr-obj | Yukihiro "Matz" Matsumoto | |
| Unable for the `MRB_TT_CPTR` object to have a singleton class | |||
| 2020-11-21 | Merge pull request #5158 from dearblue/typo | Yukihiro "Matz" Matsumoto | |
| Fix typo "overfow" to "overflow" [ci skip] | |||
| 2020-11-21 | Fix documents for `mrb_ary_splice()` [ci skip] | dearblue | |
| 2020-11-21 | Unable for the `MRB_TT_CPTR` object to have a singleton class | dearblue | |
| This object is treated as an immediate value. | |||
| 2020-11-21 | Move some `.rake` files to `tasks` directory for consistency | KOBAYASHI Shuji | |
| 2020-11-21 | Fix typo "overfow" to "overflow" [ci skip] | dearblue | |
| 2020-11-21 | Test each combination of boxing, `mrb_int` size, and archtecture. | Yukihiro "Matz" Matsumoto | |
| 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) | |||
| 2020-11-21 | Specify `conf` explicitly for `enable_debug`. | Yukihiro "Matz" Matsumoto | |
| 2020-11-21 | Update `Float#to_s` to keep trailing zero as CRuby does; ref 68cebb6 | Yukihiro "Matz" Matsumoto | |
| 2020-11-21 | Merge pull request #5156 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/improve-determining-C++-compiler-in-tasks-toolchains-gcc.rake Improve determining C++ compiler in `tasks/toolchains/gcc.rake` | |||
| 2020-11-21 | Improve determining C++ compiler in `tasks/toolchains/gcc.rake` | KOBAYASHI Shuji | |
| * Consider CC envvar as C compiler on which to make the decision. * Consider the case where C compiler is `ccache gcc`, etc. | |||
| 2020-11-20 | Merge pull request #5155 from shuujii/refactor-mrblib-mrblib.rake | Yukihiro "Matz" Matsumoto | |
| Refactor `mrblib/mrblib.rake` | |||
| 2020-11-20 | Refactor `mrblib/mrblib.rake` | KOBAYASHI Shuji | |
| 2020-11-20 | Merge pull request #5153 from shuujii/refactor-src-mruby_core.rake | Yukihiro "Matz" Matsumoto | |
| Refactor `src/mruby_core.rake` | |||
| 2020-11-20 | Merge pull request #5152 from ↵ | Yukihiro "Matz" Matsumoto | |
| 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 | |||
| 2020-11-20 | Refactor `src/mruby_core.rake` | KOBAYASHI Shuji | |
| 2020-11-20 | Move `lib/mruby-core-ext.rb` to `lib/mruby/core_ext.rb` for consistency | KOBAYASHI Shuji | |
| 2020-11-19 | Merge pull request #5150 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/allow-bintest-even-if-build-name-is-not-host Allow `bintest` even if build name is not `host` | |||
| 2020-11-19 | Allow `bintest` even if build name is not `host` | KOBAYASHI Shuji | |
| 2020-11-18 | Merge pull request #5146 from shuujii/fix-integer-overflow-error-in-mrdb-test | Yukihiro "Matz" Matsumoto | |
| Fix integer overflow error in mrdb test | |||
| 2020-11-18 | Fix integer overflow error in mrdb test | KOBAYASHI Shuji | |
| 2020-11-18 | Merge pull request #5149 from mruby/revert-5147-patch1 | Yukihiro "Matz" Matsumoto | |
| Revert "Check if irep->reps is NULL in lv_defined_p" | |||
| 2020-11-18 | Revert "Check if irep->reps is NULL in lv_defined_p" | Yukihiro "Matz" Matsumoto | |
| 2020-11-18 | Use `mrb_int_value()` instead of `mrb_fixnum_value()`; fix #5142 | Yukihiro "Matz" Matsumoto | |
| 2020-11-18 | Merge pull request #5147 from hifoolno/patch1 | Yukihiro "Matz" Matsumoto | |
| Check if irep->reps is NULL in lv_defined_p | |||
| 2020-11-18 | Check if irep->reps is NULL in lv_defined_p | Zhang Xiaohui | |
| 2020-11-18 | Merge pull request #5143 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/use-mrb_int_value-instead-of-mrb_fixnum_value-in-src-hash.c Use `mrb_int_value` instead of `mrb_fixnum_value` in `src/hash.c` | |||
| 2020-11-18 | Merge pull request #5145 from shuujii/remove-unused-MRubyBuild-enable_bintest= | Yukihiro "Matz" Matsumoto | |
| Remove unused `MRuby::Build#enable_{bin,}test=` | |||
| 2020-11-18 | Merge pull request #5144 from hifoolno/master | Yukihiro "Matz" Matsumoto | |
| Check if irep->reps is NULL | |||
| 2020-11-18 | Remove unused `MRuby::Build#enable_{bin,}test=` | KOBAYASHI Shuji | |
| The writers seem to be unnecessary because `MRuby::Build#enable_{bin,}test` are used from the beginning. | |||
| 2020-11-18 | Check if irep->reps is NULL | Zhang Xiaohui | |
| 2020-11-18 | Use `mrb_int_value` instead of `mrb_fixnum_value` in `src/hash.c` | KOBAYASHI Shuji | |
| 2020-11-18 | Retrieve `irep` from `proc` after `MRB_PROC_CFUNC_P` check; ref #5140 | Yukihiro "Matz" Matsumoto | |
| 2020-11-17 | Revert half of 9fbf0ef8. | Yukihiro "Matz" Matsumoto | |
| I misunderstand the meaning of #4483. Sorry. | |||
| 2020-11-17 | Check division overflow (`MRB_INT_MIN` and `-1`). | Yukihiro "Matz" Matsumoto | |
| 2020-11-17 | Merge pull request #5141 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-deprecated-set-env-command-error-on-GitHub-Actions Fix deprecated `set-env` command error on GitHub Actions [ci skip] | |||
| 2020-11-17 | Fix deprecated `set-env` command error on GitHub Actions [ci skip] | KOBAYASHI Shuji | |
| I tried `$GITHUB_PATH` and `$GITHUB_ENV` instead of `set-env`, but for some reason path was not recognized, so I changed to using `ACTIONS_ALLOW_UNSECURE_COMMANDS`. | |||
| 2020-11-17 | Overflown integers should not be fall back to float values. | Yukihiro "Matz" Matsumoto | |
