| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-11-30 | Integrate the output of the catch handler table into iseq | dearblue | |
| Alleviates confusingness. ref #5203 | |||
| 2020-11-30 | Fixed irep size measurement by dump; ref #5203 | dearblue | |
| 2020-11-30 | Fixed print catch handler address in codedump; ref #5200 | dearblue | |
| It became 32 bits in #5200, but only the upper 16 bits were printed. | |||
| 2020-11-29 | Merge pull request #5204 from shuujii/use-MRB_SYM-in-src-gc.c | Yukihiro "Matz" Matsumoto | |
| Use `MRB_SYM` in `src/gc.c` | |||
| 2020-11-29 | Use `MRB_SYM` in `src/gc.c` | KOBAYASHI Shuji | |
| 2020-11-29 | Merge pull request #5203 from komainu8/fix-heap-buffer-overflow | Yukihiro "Matz" Matsumoto | |
| Fix heap buffer overflow when dump irep | |||
| 2020-11-29 | Fix heap buffer overflow when dump irep | Horimoto Yasuhiro | |
| Currently, the size of writing in heap by write_irep_record() is bigger than The size that is calculated by get_irep_record_size. Therefore, irep is dumped over the size of allocating memory when we execute dump_irep(). | |||
| 2020-11-29 | Merge pull request #5200 from dearblue/catchhandler32 | Yukihiro "Matz" Matsumoto | |
| Change the catch handler address to 32 bits | |||
| 2020-11-29 | Change the catch handler address to 32 bits | dearblue | |
| Follow commit 7150c6753933f12a2ba63769fb7b3a44cfcddd3d . | |||
| 2020-11-28 | Remove unused Rake rules | KOBAYASHI Shuji | |
| Currently, the source file language in the core is C only, and C++, Objective-C, and Assembly are not used, so Rake rules for them are removed. | |||
| 2020-11-27 | Merge pull request #5197 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-incorrect-regexp-creation-in-tasks-presym.rake Fix incorrect regexp creation in `tasks/presym.rake` | |||
| 2020-11-27 | Fix incorrect regexp creation in `tasks/presym.rake` | KOBAYASHI Shuji | |
| 2020-11-27 | Merge pull request #5196 from shuujii/fix-build-failure | Yukihiro "Matz" Matsumoto | |
| Fix build failure; ref #5194 | |||
| 2020-11-27 | Fix build failure; ref #5194 | KOBAYASHI Shuji | |
| Fix the following two issues: 1. Compile failure when external gem is specified. * https://github.com/mruby/mruby/pull/5194#issuecomment-734303442 2. When there are multiple build targets, presym parsing sometimes fails or output result of presym is broken. * https://github.com/mruby/mruby/pull/5194#issuecomment-734322142 The root cause of 2 is unknown, but it seems to occur when presym parsing is performed in parallel, therefore I change them so that they are not run in parallel. | |||
| 2020-11-26 | Merge pull request #5195 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/add-tools-to-target-directory-for-presym-parsing Add `tools/*` to target directory for presym parsing | |||
| 2020-11-26 | Add `tools/*` to target directory for presym parsing | KOBAYASHI Shuji | |
| 2020-11-26 | Merge pull request #5194 from shuujii/create-presym-files-for-each-build-target | Yukihiro "Matz" Matsumoto | |
| Create presym files for each build target | |||
| 2020-11-26 | Use `__builtin_setjmp()`, `__builtin_longjmp()` on MinGW; fix #5133 | Yukihiro "Matz" Matsumoto | |
| 2020-11-26 | Avoid integer overflow in `rational_new`. | Yukihiro "Matz" Matsumoto | |
| 2020-11-26 | Create presym files for each build target | KOBAYASHI Shuji | |
| Previously, presym files were always created in `build/{presym,presym.inc}`. However, this constraint is inconvenient because it is common to use multiple build configurations and build targets in a single mruby tree. Therefore, change to create presym file for each build target. | |||
| 2020-11-26 | Merge pull request #5193 from shuujii/fix-loop-condition-in-mrb_sym_all_symbols | Yukihiro "Matz" Matsumoto | |
| Fix loop condition in `mrb_sym_all_symbols` | |||
| 2020-11-26 | Fix loop condition in `mrb_sym_all_symbols` | KOBAYASHI Shuji | |
| 2020-11-26 | Fix a bug in `find_symbol()`; fix #5192 | Yukihiro "Matz" Matsumoto | |
| 2020-11-26 | Make `OP_JMP*` operand address to be relative. | Yukihiro "Matz" Matsumoto | |
| Jump target address is `operand (16bit)` + `address of next instruction`. In addition, `ilen` was made `uint32_t` so that `iseq` length limitation of 65536 is removed. Only jump target address should be within signed 16bit (-32768 .. 32767). | |||
| 2020-11-26 | Fix `Symbol.all_symbols` to include preallocated symbols; ref #5116 | Yukihiro "Matz" Matsumoto | |
| 2020-11-26 | Symbols should work with `MRB_USE_ALL_SYMBOLS`; fix #5116 | Yukihiro "Matz" Matsumoto | |
| 2020-11-26 | Small refactoring regarding symbols for clarity. | Yukihiro "Matz" Matsumoto | |
| 2020-11-26 | Include `mruby.h` instead of `mrbconf.h` directly. | Yukihiro "Matz" Matsumoto | |
| 2020-11-26 | Avoid memory leak when `mrb_read_irep()` fails. | Yukihiro "Matz" Matsumoto | |
| 2020-11-25 | Move inline `iseq` in `array.c` to `array.rb`. | Yukihiro "Matz" Matsumoto | |
| There's no efficiency difference since `cdump` is implemented. | |||
| 2020-11-25 | Replace mere `enable_debug` by clearer `conf.enable_debug` [ci skip] | Yukihiro "Matz" Matsumoto | |
| 2020-11-25 | Merge pull request #5190 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/allow-compiler-name-in-build-log-to-be-customized Allow compiler name in build log to be customized | |||
| 2020-11-25 | Allow compiler name in build log to be customized | KOBAYASHI Shuji | |
| For example, in the case of the C++ compiler, it is output as `CXX build/host/src/gc.cxx -> build/host/src/gc.cxx.o` (FYI, in the case of `enable_cxx_abi`, it outputs `CC ...` because the option to compile as C++ is added to C compiler). | |||
| 2020-11-25 | Merge pull request #5189 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-C-source-compilation-with-MRB_USE_ALL_SYMBOLS Fix C source compilation with `MRB_USE_ALL_SYMBOLS`; ref #5187 | |||
| 2020-11-25 | Fix C source compilation with `MRB_USE_ALL_SYMBOLS`; ref #5187 | KOBAYASHI Shuji | |
| However, compiling by `mrbc` fails with another issue (#5116). | |||
| 2020-11-25 | Remove no longer used `MRB_IV_SEGMENT_SIZE; close #5188 [ci skip] | Yukihiro "Matz" Matsumoto | |
| 2020-11-24 | Use more `mrb_int_value()` instead of `mrb_fixnum_value()`. | Yukihiro "Matz" Matsumoto | |
| 2020-11-24 | Move `MRB_NO_FLOAT` detection in `mruby-math`; #5185 | Yukihiro "Matz" Matsumoto | |
| 2020-11-24 | Add `#include <mrbconf.h>` at the head of `fmt_fp.c`; #5185 | Yukihiro "Matz" Matsumoto | |
| 2020-11-24 | Merge pull request #5186 from shuujii/optimize-presym_find | Yukihiro "Matz" Matsumoto | |
| Optimize `presym_find` | |||
| 2020-11-24 | Fix compiler errors from `MRB_NO_FLOAT`; #5185 | Yukihiro "Matz" Matsumoto | |
| Also added `no-float.rb` target in `build_config`. | |||
| 2020-11-24 | Optimize `presym_find` | KOBAYASHI Shuji | |
| Chang to compare string length first. ### Benchmark #### Code * https://github.com/shuujii/mruby-presym_find-benchmark #### Result ```console Previous: 10.240772M i/s (25M times in 2.441222s) New: 16.412985M i/s (25M times in 1.523184s) ``` | |||
| 2020-11-24 | Should not use `mrb_float` if `MRB_NO_FLOAT` is defined; fix #5185 | Yukihiro "Matz" Matsumoto | |
| 2020-11-24 | Merge pull request #5178 from abinoam/fix_mruby_config_setting | Yukihiro "Matz" Matsumoto | |
| Fix #5177 by setting MRUBY_CONFIG early | |||
| 2020-11-23 | Fix #5177 - set MRUBY_CONFIG early | Abinoam Praxedes Marques Junior | |
| 2020-11-23 | Merge pull request #5184 from dearblue/embedded-directive | Yukihiro "Matz" Matsumoto | |
| Avoid warnings from clang's "-Wembedded-directive" | |||
| 2020-11-23 | Avoid warnings from clang's "-Wembedded-directive" | dearblue | |
| If it gives clang-11.0 `-Wembedded-directive`, a warning will be reported in `include/mruby/boxing_nan.h`. ``` include/mruby/boxing_nan.h:48:2: warning: embedding a directive within macro arguments has undefined behavior [-Wembedded-directive] include/mruby/boxing_nan.h:52:2: warning: embedding a directive within macro arguments has undefined behavior [-Wembedded-directive] ``` The cause of this is #5117. ref. e993b83c509912f2d90ffece32c969a642f5df01 | |||
| 2020-11-23 | Merge pull request #5180 from wataash/fix-unintended-variable-shadowing | Yukihiro "Matz" Matsumoto | |
| Fix unintended variable shadowing | |||
| 2020-11-23 | Merge pull request #5181 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/raise-an-exception-instead-of-exiting-when-mrbc-fails Raise an exception instead of exiting when `mrbc` fails | |||
| 2020-11-23 | Merge pull request #5183 from shuujii/change-output-condition-in-_pp | Yukihiro "Matz" Matsumoto | |
| Change output condition in `_pp` | |||
