| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-12-24 | Check integer overflow in float bit operations. | Yukihiro "Matz" Matsumoto | |
| 2020-12-23 | Fix the integer overflow in `mrb_str_len_to_inum()`. | Yukihiro "Matz" Matsumoto | |
| 2020-12-15 | Merge pull request #5223 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/ensure-initialization-of-RVALUE_zero-in-mrb_obj_alloc Ensure initialization of `RVALUE_zero` in `mrb_obj_alloc` | |||
| 2020-12-15 | refactor: remove trailing whitespace from C, Header, Ruby and YAML files | John Bampton | |
| Lint | |||
| 2020-12-15 | Ensure initialization of `RVALUE_zero` in `mrb_obj_alloc` | KOBAYASHI Shuji | |
| Union initialization initializes the first member. The first member of `RVALUE` is `struct free_obj`, but because it is only 4-words, it seems that initialization after the 5th word is not ensured. Therefore, I created 6-words `struct RVALUE_initializer` for initialization and made it the first member. | |||
| 2020-12-13 | Fix spelling | John Bampton | |
| 2020-12-12 | Remove positive check for unsigned integer; close #5218 | Yukihiro "Matz" Matsumoto | |
| 2020-12-07 | Make type of `pc` arguments in `debug.c` consistent; close #5218 | Yukihiro "Matz" Matsumoto | |
| They used to be `size_t`, `uint32_t` and `ptrdiff_t`. Now all of them made to be `uint32_t`. | |||
| 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-02 | Print implicit operands for some instructions. | Yukihiro "Matz" Matsumoto | |
| 2020-12-02 | Remove a newline. | Yukihiro "Matz" Matsumoto | |
| 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 | 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 | 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 | Change the catch handler address to 32 bits | dearblue | |
| Follow commit 7150c6753933f12a2ba63769fb7b3a44cfcddd3d . | |||
| 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 | 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 | 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 | Fix C source compilation with `MRB_USE_ALL_SYMBOLS`; ref #5187 | KOBAYASHI Shuji | |
| However, compiling by `mrbc` fails with another issue (#5116). | |||
| 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-23 | Fix unintended variable shadowing | Wataru Ashihara | |
| 2020-11-22 | Remove `mrb_str_buf_new()` and `MRB_STR_BUF_MIN_SIZE`; close #5171 | Yukihiro "Matz" Matsumoto | |
| 2020-11-22 | Fix GC mark leaks for `MRB_TT_BREAK`; fix #5168 | dearblue | |
| 2020-11-22 | Fix size of local variable array in struct dumped file | KOBAYASHI Shuji | |
| 2020-11-22 | Merge pull request #5167 from dearblue/singleton-method | Yukihiro "Matz" Matsumoto | |
| Improved `Object#define_singleton_method` | |||
| 2020-11-21 | Improved `Object#define_singleton_method` | dearblue | |
| 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 | |||
| 2020-11-21 | Rename `MRB_{ENABLE,DISABLE}_` to `MRB_{USE,NO}_`; close #5163 | KOBAYASHI Shuji | |
| | 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. | |||
| 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 | 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 | Update `Float#to_s` to keep trailing zero as CRuby does; ref 68cebb6 | Yukihiro "Matz" Matsumoto | |
| 2020-11-20 | Refactor `src/mruby_core.rake` | KOBAYASHI Shuji | |
| 2020-11-18 | Revert "Check if irep->reps is NULL in lv_defined_p" | Yukihiro "Matz" Matsumoto | |
