| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-12-15 | Make mrb_ary_clear() function callable from C again | Takashi Sawanaka | |
| 2018-12-11 | Avoid using floating point number for HT_SEG_INCREASE_RATIO; ref #4182 | Yukihiro "Matz" Matsumoto | |
| 2018-12-11 | Rename `ht_foreach_func` to `mrb_hash_foreach_func`. | Yukihiro "Matz" Matsumoto | |
| 2018-12-11 | Add `mrb_` prefix to `iv_foreach_func`. | Yukihiro "Matz" Matsumoto | |
| 2018-12-11 | Add new API `mrb_iv_foreach()` to iterate over instance variables. | Yukihiro "Matz" Matsumoto | |
| 2018-12-11 | Update `iv_foreach()` function. | Yukihiro "Matz" Matsumoto | |
| * return `void` instead of `mrb_bool'. * non zero return value from `func` breaks the loop. * no longer remove items on negative return value from `func`. | |||
| 2018-12-11 | Update comments. | Yukihiro "Matz" Matsumoto | |
| 2018-12-11 | Add API function `mrb_hash_foreach()` to iterate over items in a hash. | Yukihiro "Matz" Matsumoto | |
| 2018-12-10 | Need to clear stack before invoking a block; fix #4181 | Yukihiro "Matz" Matsumoto | |
| 2018-11-20 | Restrict total recursion number of `ecall()`; fix #3789 | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Call `mrb_str_to_str` from `mrb_string_value_ptr` for compatibility. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Restore `mrb_string_type` function for compatibility. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Add Hash type check for `OP_KARG` and `OP_KEY_P`; ref #4166 | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Adjust codedump output format; ref #4166 | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Use type checking `mrb_to_str` instead of converting `mrb_str_to_str`. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Removed `to_hash` conversion method. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Removed `to_ary` conversion method. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Remove implicit conversion using `to_str` method; fix #3854 | Yukihiro "Matz" Matsumoto | |
| We have added internal convenience method `__to_str` which does string type check. The issue #3854 was fixed but fundamental flaw of lack of stack depth check along with fibers still remains. Use `MRB_GC_FIXED_ARENA` for workaround. | |||
| 2018-11-19 | Remove implicit conversion using `to_int` method. | Yukihiro "Matz" Matsumoto | |
| The ISO standard does not include implicit type conversion using `to_int`. This implicit conversion often causes vulnerability. There will be no more attacks like #4120. In addition, we have added internal convenience method `__to_int` which does type check and conversion (from floats). | |||
| 2018-11-19 | The current context may be changed in `mrb_vm_exec`; ref #3668 #4104 | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Protect Fiber from GC in `ecall()`; fix #4104 | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Improve Hash table using variable sized segments. | Yukihiro "Matz" Matsumoto | |
| 2018-11-16 | The key or value object could be reclaimed by GC; fix #4164 | Yukihiro "Matz" Matsumoto | |
| The GC may occur between `sg_shift` and `mrb_assoc_new`, in which case `key` and `value` could be freed even tough they are still alive. The issue is found and fixed by https://hackerone.com/hexodus | |||
| 2018-11-15 | The saved `pc` from `ERR_PC_SET` was wrong; fix #4138 | Yukihiro "Matz" Matsumoto | |
| The saving `pc` position should be beginning of the instruction. But after `mruby 2.0` byte code modification, the `pc` variable points the beginning of the next instruction. We save the previous position in a local variable `pc0`. | |||
| 2018-11-15 | Rename local variables in `mrb_debug_info_append_file` | Yukihiro "Matz" Matsumoto | |
| 2018-11-15 | Simplify argument parsing; ref #4161 | Yukihiro "Matz" Matsumoto | |
| 2018-11-15 | Silence `-fsanitize=undefined` warning in `src/enum.c`; fix #4161 | Yukihiro "Matz" Matsumoto | |
| 2018-11-15 | Remove `filename`&`lines` from `mrb_irep` struct. | Yukihiro "Matz" Matsumoto | |
| This patch slightly reduce memory consumption (2% for my test). | |||
| 2018-11-15 | Small renaming refactor in `dump.c` | Yukihiro "Matz" Matsumoto | |
| 2018-11-07 | Wrong pool data length for negative floating value in a mrb file. | Hiroshi Mimaki | |
| 2018-11-05 | Fixed wrong `ArgumentError` with keyword arguments; fix #4159 | Yukihiro "Matz" Matsumoto | |
| 2018-11-05 | Fixed a bug in argument number check with kwargs; fix #4159 | Yukihiro "Matz" Matsumoto | |
| 2018-11-02 | Remove reserved symbols for now. | Yukihiro "Matz" Matsumoto | |
| It should be done by planned embedded symbols. | |||
| 2018-11-02 | Merge pull request #4151 from take-cheeze/remove_op_symidx | Yukihiro "Matz" Matsumoto | |
| Reduce instruction size | |||
| 2018-11-02 | Suppress warning | take-cheeze | |
| 2018-11-02 | Fix dump and load with endianess | take-cheeze | |
| 2018-11-02 | Add `NULL` checks for `mrb->ci` and `proc->upeer`; #4024 | Yukihiro "Matz" Matsumoto | |
| 2018-11-01 | Silence Appveyor's VC compilation warnings. | Yukihiro "Matz" Matsumoto | |
| 2018-11-01 | The `env` object referenced from fibers may be freed; fix #4154 | Yukihiro "Matz" Matsumoto | |
| By dffa203 that reclaim `env` objects from heaps, there's more chance for `env` objects referenced from fibers may be freed from heap pages. | |||
| 2018-11-01 | Fixed a bug in INIT_DISPATCH for non direct threading; fix #4153 | Hiroshi Mimaki | |
| 2018-10-29 | Fix codedumper | take-cheeze | |
| 2018-10-29 | Fix operator | take-cheeze | |
| 2018-10-29 | Fix SEGV | take-cheeze | |
| 2018-10-29 | Define null symbol | take-cheeze | |
| 2018-10-29 | Reduce instruction size | take-cheeze | |
| 2018-10-29 | Rename libmruby stuff to avoid confusion | take-cheeze | |
| 2018-10-29 | We need no write barrier here; ref #4143 | Yukihiro "Matz" Matsumoto | |
| 2018-10-29 | Marking from terminated fibers are not needed; ref #4143 | Yukihiro "Matz" Matsumoto | |
| The old condition marks the top-level callinfo even after the fiber is terminated. | |||
| 2018-10-29 | Need to mark shared env objects as `MRB_TT_FREE`; fix #4143 | Yukihiro "Matz" Matsumoto | |
| The following code mistakenly exits from the function without marking the env object as `MRB_TT_FREE`. ``` ruby if (MRB_ENV_STACK_SHARED_P(e)) { /* cannot be freed */ return; // <- should be `break` } ``` | |||
| 2018-10-29 | Add argument check to `Array#clear`; fix #4144 | Yukihiro "Matz" Matsumoto | |
