| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-12-05 | Fixed a bug with modules prepended many times. | Yukihiro "Matz" Matsumoto | |
| Adjust insertion point in `fix_prepend_module()`. | |||
| 2020-12-04 | Make `Module#include` and `Module#prepend` behave like Ruby3.0. | Yukihiro "Matz" Matsumoto | |
| Module#include and Module#prepend now affect classes and modules that have already included or prepended the receiver, mirroring the behavior if the arguments were included in the receiver before the other modules and classes included or prepended the receiver. ```ruby class C; end module M1; end module M2; end C.include M1 M1.include M2 p C.ancestors #=> [C, M1, M2, Object, Kernel, BasicObject] ``` | |||
| 2020-12-04 | Merge pull request #5211 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/move-mrbc-test-to-mruby-bin-mrbc-gem-from-mruby-compiler-gem Move `mrbc` test to `mruby-bin-mrbc` gem from `mruby-compiler` gem | |||
| 2020-12-04 | Move `mrbc` test to `mruby-bin-mrbc` gem from `mruby-compiler` gem | KOBAYASHI Shuji | |
| 2020-12-03 | Merge pull request #5209 from shuujii/remove-build-presym.inc-by-rake-clean | Yukihiro "Matz" Matsumoto | |
| Remove `build/presym{,.inc}` by `rake clean` [ci skip] | |||
| 2020-12-02 | Remove `build/presym{,.inc}` by `rake clean` [ci skip] | KOBAYASHI Shuji | |
| Currently, adding gems to build configuration and rebuilding does not regenerate `presym`, which can lead to build errors. Therefore in this case we need to remove the `presym` file and then rebuild mruby, but when the` presym` file is regenerated we will need to recompile most of the files, so it seems useful to have the `presym` file deleted by `rake clean`. | |||
| 2020-12-02 | Merge pull request #5208 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-build-for-C++11-when-enable_cxx_exception Fix build for C++ version >= C++11 when `enable_cxx_exception`; close #5199 | |||
| 2020-12-02 | Fix build for C++ version >= C++11 when `enable_cxx_exception`; close #5199 | KOBAYASHI Shuji | |
| 2020-12-02 | Merge pull request #5198 from shuujii/remove-unused-Rake-rules | Yukihiro "Matz" Matsumoto | |
| Remove unused Rake rules | |||
| 2020-12-02 | Use `JMPLINK_START` instead of zero for a link start marker. | Yukihiro "Matz" Matsumoto | |
| 2020-12-02 | Remove assertions to check catch handler offset to be in 16bits. | Yukihiro "Matz" Matsumoto | |
| 2020-12-02 | Fixed memory leaks from `codegen_error`. | Yukihiro "Matz" Matsumoto | |
| 2020-12-02 | Print implicit operands for some instructions. | Yukihiro "Matz" Matsumoto | |
| 2020-12-02 | Remove a newline. | Yukihiro "Matz" Matsumoto | |
| 2020-12-01 | Fix a ``OP_JMP` bug from `0` marker and address `0`. | Yukihiro "Matz" Matsumoto | |
| 2020-12-01 | Merge pull request #5207 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/revert-Create-presym-files-for-each-build-target Revert "Create presym files for each build target" (58ba883e) | |||
| 2020-12-01 | Revert "Create presym files for each build target" (58ba883e) | KOBAYASHI Shuji | |
| Due to the above changes, it may not work with the existing build configurations in cross-compilation (even if we can build without presym), therefore revert it once (ref https://github.com/mruby/mruby/pull/5202#issuecomment-735412643). Sorry for the lack of consideration. | |||
| 2020-12-01 | Fix `OP_JMPUW` address bug. | Yukihiro "Matz" Matsumoto | |
| 2020-11-30 | Merge pull request #5206 from dearblue/dumpirep | Yukihiro "Matz" Matsumoto | |
| Improves dump irep | |||
| 2020-11-30 | Merge pull request #5205 from dearblue/codedump | Yukihiro "Matz" Matsumoto | |
| Fixed print catch handler address in codedump; ref #5200 | |||
| 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. | |||
