| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | |
| 2018-10-20 | Need to freeze string keys. | Yukihiro "Matz" Matsumoto | |
| 2018-10-12 | Should not compare `undef` (deleted) key in hashes; fix #4136 | Yukihiro "Matz" Matsumoto | |
| 2018-10-12 | Add `NULL` check in `sg_compact()`; fix #4139 | Yukihiro "Matz" Matsumoto | |
| 2018-10-12 | `Hash#delete` should return the deleted value; fix #4133 | Yukihiro "Matz" Matsumoto | |
| 2018-09-26 | Implement `Hash#rehash` in C using `sg_compact()`. | Yukihiro "Matz" Matsumoto | |
| 2018-09-26 | Add index to larger segment lists for performance | Yukihiro "Matz" Matsumoto | |
| 2018-09-26 | Use `mrb_undef_value` for delete mark instead of shifting Hash entry table. | Yukihiro "Matz" Matsumoto | |
| That means entry table should be compacted periodically by `sg_compact()`. | |||
| 2018-09-26 | Use segmented list to implement `Hash` [Experimental] | Yukihiro "Matz" Matsumoto | |
| I know it's not hash at all, but reduce memory consumption. | |||
| 2018-09-26 | Small refactoring in vm.c | Yukihiro "Matz" Matsumoto | |
| 2018-09-21 | Add compiler flag to disable direct threading (#4075) | sbsoftware | |
| * Add option to disable direct threading * Prepend MRB_ to option name | |||
| 2018-09-21 | Fixed a top-level local variable bug in `mirb`. | Yukihiro "Matz" Matsumoto | |
| `OP_STOP` returned a wrong value. | |||
| 2018-09-20 | Renamed `is_namespace()` to `namespace_p()`. | Yukihiro "Matz" Matsumoto | |
